lightrun 1.50.0 → 1.50.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x462f4d=a15_0x4531;(function(_0x676cf4,_0xf03fea){const _0x57a24d=a15_0x4531,_0x127f6c=_0x676cf4();while(!![]){try{const _0x54dc2a=parseInt(_0x57a24d(0x85))/0x1*(-parseInt(_0x57a24d(0x8d))/0x2)+-parseInt(_0x57a24d(0x64))/0x3+-parseInt(_0x57a24d(0x6b))/0x4+-parseInt(_0x57a24d(0x9c))/0x5+parseInt(_0x57a24d(0x77))/0x6+parseInt(_0x57a24d(0x95))/0x7*(-parseInt(_0x57a24d(0x66))/0x8)+parseInt(_0x57a24d(0x71))/0x9;if(_0x54dc2a===_0xf03fea)break;else _0x127f6c['push'](_0x127f6c['shift']());}catch(_0x25cf03){_0x127f6c['push'](_0x127f6c['shift']());}}}(a15_0x2440,0xefaf4));const a15_0x4c393c=(function(){let _0x4724a6=!![];return function(_0x593820,_0x682892){const _0x3747c5=_0x4724a6?function(){const _0x5d505a=a15_0x4531;if(_0x682892){const _0x183867=_0x682892[_0x5d505a(0x72)](_0x593820,arguments);return _0x682892=null,_0x183867;}}:function(){};return _0x4724a6=![],_0x3747c5;};}()),a15_0x4b7ea6=a15_0x4c393c(this,function(){const _0x531b0e=a15_0x4531;return a15_0x4b7ea6[_0x531b0e(0x92)]()[_0x531b0e(0x6a)]('(((.+)+)+)+$')['toString']()[_0x531b0e(0x7b)](a15_0x4b7ea6)[_0x531b0e(0x6a)](_0x531b0e(0x80));});a15_0x4b7ea6();function a15_0x2440(){const _0x32a4c8=['GAE_SERVICE','LIGHTRUN_PROXY_PASSWORD','toString','GAE_VERSION','AGENT_LOG_TARGET_DIR','49hQSAcG','agentLogMaxFileSizeMb','LIGHTRUN_TAGS','unversioned','metadata','service','serviceContext','4929285dwxSME','agentLog','inner','1858563uBgAKF','normalizeConfig','1306016ruIfrC','FUNCTION_NAME','forEach','../config','search','1995144qLlIEm','GAE_DEPLOYMENT_ID','validateSync','LIGHTRUN_INIT_WAIT_TIME_MS','LIGHTRUN_AGENT_CONFIG','GAE_MINOR_VERSION','37698849DPZudJ','apply','K_SERVICE','LIGHTRUN_PROXY_HOST','LIGHTRUN_API_ENDPOINT','getBooleanValue','10173402IJRmxJ','AGENT_LOG_LEVEL','validateConfig','AGENT_LOG_MAX_FILE_COUNT','constructor','registration','LIGHTRUN_PROXY_PORT','agentConfigFile','path','(((.+)+)+)+$','agentLogMaxFileCount','NO_CHECK_CERTIFICATE','extend','agentLogLevel','4UfGEIC','defaultConfig','FETCH_BREAKPOINTS_ONCE','GAE_MODULE_NAME','AGENT_LOG_MAX_FILE_SIZE_MB','version','env','split','827826aQVvBh','LIGHTRUN_PROXY_USERNAME','agentLogTargetDir'];a15_0x2440=function(){return _0x32a4c8;};return a15_0x2440();}'use strict';function a15_0x4531(_0x4994db,_0x1e280d){const _0x34465d=a15_0x2440();return a15_0x4531=function(_0x4b7ea6,_0x4c393c){_0x4b7ea6=_0x4b7ea6-0x64;let _0x244056=_0x34465d[_0x4b7ea6];return _0x244056;},a15_0x4531(_0x4994db,_0x1e280d);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['normalizeConfig']=exports['validateConfig']=void 0x0;const extend=require(a15_0x462f4d(0x83)),config_1=require(a15_0x462f4d(0x69)),utils_1=require('../util/utils'),getAgentConfig_1=require('./getAgentConfig'),validateConfig=_0x20d7ef=>{const _0x1eadbf=a15_0x462f4d,_0x89ce9a={};try{config_1['configSchema'][_0x1eadbf(0x6d)](_0x20d7ef,{'abortEarly':![]});}catch(_0x177a6c){_0x177a6c[_0x1eadbf(0x9e)]['filter'](_0x58e916=>_0x58e916['path']&&_0x58e916['message'])[_0x1eadbf(0x68)](_0x5b083a=>{const _0x571909=_0x1eadbf;_0x89ce9a[_0x5b083a[_0x571909(0x7f)]]=_0x5b083a['message'];});}return _0x89ce9a;};exports[a15_0x462f4d(0x79)]=validateConfig;const normalizeConfig=_0x23089e=>{const _0xd21963=a15_0x462f4d,_0x51b353={'serviceContext':{'service':process[_0xd21963(0x8b)][_0xd21963(0x90)]||process['env'][_0xd21963(0x88)]||process[_0xd21963(0x8b)][_0xd21963(0x73)],'version':process[_0xd21963(0x8b)][_0xd21963(0x93)]||process[_0xd21963(0x8b)]['GAE_MODULE_VERSION']||process[_0xd21963(0x8b)]['K_REVISION'],'minorVersion_':process[_0xd21963(0x8b)][_0xd21963(0x6c)]||process[_0xd21963(0x8b)][_0xd21963(0x70)]},'metadata':{'filename':process[_0xd21963(0x8b)]['LIGHTRUN_METADATA_FILE'],'registration':{}},'lightrunSecret':process[_0xd21963(0x8b)]['LIGHTRUN_SECRET'],'apiEndpoint':process[_0xd21963(0x8b)][_0xd21963(0x75)],'noCheckCertificate':(0x0,utils_1['getBooleanValue'])(process[_0xd21963(0x8b)][_0xd21963(0x82)]),'fetchBreakpointsOnce':(0x0,utils_1['getBooleanValue'])(process['env'][_0xd21963(0x87)]),'lightrunWaitForInit':(0x0,utils_1[_0xd21963(0x76)])(process[_0xd21963(0x8b)]['LIGHTRUN_WAIT_FOR_INIT']),'lightrunInitWaitTimeMs':process[_0xd21963(0x8b)][_0xd21963(0x6e)],'agentLog':_0x23089e?.[_0xd21963(0x9d)]||{},'proxy':{'host':process[_0xd21963(0x8b)][_0xd21963(0x74)],'port':parseInt(process[_0xd21963(0x8b)][_0xd21963(0x7d)]||'')||undefined,'username':process[_0xd21963(0x8b)][_0xd21963(0x8e)],'password':process[_0xd21963(0x8b)][_0xd21963(0x91)]}};process[_0xd21963(0x8b)]['LIGHTRUN_STD_ERR_THRESHOLD']!==undefined&&(_0x51b353[_0xd21963(0x9d)]['stdErrThreshold']=process[_0xd21963(0x8b)]['LIGHTRUN_STD_ERR_THRESHOLD']);process['env']['AGENT_LOG_LEVEL']!==undefined&&(_0x51b353['agentLog'][_0xd21963(0x84)]=process[_0xd21963(0x8b)][_0xd21963(0x78)]);process[_0xd21963(0x8b)][_0xd21963(0x94)]!==undefined&&(_0x51b353[_0xd21963(0x9d)][_0xd21963(0x8f)]=process[_0xd21963(0x8b)][_0xd21963(0x94)]);process[_0xd21963(0x8b)][_0xd21963(0x7a)]!==undefined&&(_0x51b353[_0xd21963(0x9d)][_0xd21963(0x81)]=parseInt(process[_0xd21963(0x8b)][_0xd21963(0x7a)]));process['env'][_0xd21963(0x89)]!==undefined&&(_0x51b353['agentLog'][_0xd21963(0x96)]=parseInt(process['env'][_0xd21963(0x89)]));process[_0xd21963(0x8b)][_0xd21963(0x67)]&&(_0x51b353[_0xd21963(0x9b)][_0xd21963(0x9a)]=process[_0xd21963(0x8b)][_0xd21963(0x67)],_0x51b353[_0xd21963(0x9b)][_0xd21963(0x8a)]=_0xd21963(0x98));process[_0xd21963(0x8b)][_0xd21963(0x97)]&&(_0x51b353[_0xd21963(0x99)][_0xd21963(0x7c)]={'tags':process['env'][_0xd21963(0x97)][_0xd21963(0x8c)](',')});const _0x36460b=(0x0,getAgentConfig_1['getAgentConfig'])(process[_0xd21963(0x8b)][_0xd21963(0x6f)]||_0x23089e?.[_0xd21963(0x7e)]||config_1[_0xd21963(0x86)][_0xd21963(0x7e)]),_0x45e5ae=extend(!![],{},config_1[_0xd21963(0x86)],_0x36460b,_0x23089e,_0x51b353),_0x2fe0c7=(0x0,exports[_0xd21963(0x79)])(_0x45e5ae);return{..._0x45e5ae,'errors':_0x2fe0c7};};exports[a15_0x462f4d(0x65)]=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a16_0x2a1997=a16_0x389b;(function(_0x129d0c,_0x370582){const _0x24e585=a16_0x389b,_0x101867=_0x129d0c();while(!![]){try{const _0x422693=parseInt(_0x24e585(0xa1))/0x1+parseInt(_0x24e585(0x99))/0x2*(-parseInt(_0x24e585(0xa3))/0x3)+-parseInt(_0x24e585(0xa9))/0x4*(-parseInt(_0x24e585(0xa5))/0x5)+parseInt(_0x24e585(0xa7))/0x6+parseInt(_0x24e585(0xac))/0x7*(parseInt(_0x24e585(0x9f))/0x8)+-parseInt(_0x24e585(0xa4))/0x9+parseInt(_0x24e585(0x9b))/0xa*(-parseInt(_0x24e585(0x9c))/0xb);if(_0x422693===_0x370582)break;else _0x101867['push'](_0x101867['shift']());}catch(_0x220c4a){_0x101867['push'](_0x101867['shift']());}}}(a16_0x20e1,0x71305));function a16_0x389b(_0x5f4cdc,_0x463fd4){const _0x35d035=a16_0x20e1();return a16_0x389b=function(_0x501ce2,_0x55e349){_0x501ce2=_0x501ce2-0x99;let _0x20e173=_0x35d035[_0x501ce2];return _0x20e173;},a16_0x389b(_0x5f4cdc,_0x463fd4);}function a16_0x20e1(){const _0x4a12c5=['2149008hYprDs','tokenize','688087yiSnJV','defineProperty','5331jrFFEI','1852002sdycUd','10ctkAyI','delimit','1864584ERigom','toString','1212076wNQveH','__esModule','search','7fCpjdt','986zXVnkc','(((.+)+)+)+$','6370KyyeRa','5665oErLTg','./delimit','push'];a16_0x20e1=function(){return _0x4a12c5;};return a16_0x20e1();}const a16_0x55e349=(function(){let _0x23d6b8=!![];return function(_0x2ae15d,_0x1361df){const _0x575d97=_0x23d6b8?function(){if(_0x1361df){const _0x19a93b=_0x1361df['apply'](_0x2ae15d,arguments);return _0x1361df=null,_0x19a93b;}}:function(){};return _0x23d6b8=![],_0x575d97;};}()),a16_0x501ce2=a16_0x55e349(this,function(){const _0x29c4dc=a16_0x389b;return a16_0x501ce2[_0x29c4dc(0xa8)]()[_0x29c4dc(0xab)](_0x29c4dc(0x9a))[_0x29c4dc(0xa8)]()['constructor'](a16_0x501ce2)[_0x29c4dc(0xab)](_0x29c4dc(0x9a));});a16_0x501ce2();'use strict';Object[a16_0x2a1997(0xa2)](exports,a16_0x2a1997(0xaa),{'value':!![]}),exports[a16_0x2a1997(0xa0)]=void 0x0;const delimit_1=require(a16_0x2a1997(0x9d)),tokenize=(_0x902b0e,_0x3d9dda)=>{const _0x1fee05=a16_0x2a1997;let _0x2c85e6=(0x0,delimit_1[_0x1fee05(0xa6)])(_0x902b0e,'$$');for(let _0xd765d0=_0x3d9dda-0x1;_0xd765d0>=0x0;_0xd765d0--){const _0x2a901d=[];for(let _0x5ac713=0x0;_0x5ac713<_0x2c85e6['length'];_0x5ac713++){_0x2c85e6[_0x5ac713]['v']?_0x2a901d[_0x1fee05(0x9e)](_0x2c85e6[_0x5ac713]):_0x2a901d[_0x1fee05(0x9e)](...(0x0,delimit_1[_0x1fee05(0xa6)])(_0x2c85e6[_0x5ac713],'$'+_0xd765d0));}_0x2c85e6=_0x2a901d;}return _0x2c85e6;};exports['tokenize']=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0x4222b4=a17_0x4724;(function(_0x231bc6,_0x340f9a){const _0x29f66a=a17_0x4724,_0x29c9ca=_0x231bc6();while(!![]){try{const _0x42f67d=parseInt(_0x29f66a(0x1f3))/0x1*(parseInt(_0x29f66a(0x28e))/0x2)+parseInt(_0x29f66a(0x271))/0x3*(-parseInt(_0x29f66a(0x20f))/0x4)+parseInt(_0x29f66a(0x254))/0x5*(-parseInt(_0x29f66a(0x2b8))/0x6)+parseInt(_0x29f66a(0x21d))/0x7*(parseInt(_0x29f66a(0x257))/0x8)+-parseInt(_0x29f66a(0x1ec))/0x9+parseInt(_0x29f66a(0x2ac))/0xa*(-parseInt(_0x29f66a(0x298))/0xb)+parseInt(_0x29f66a(0x277))/0xc;if(_0x42f67d===_0x340f9a)break;else _0x29c9ca['push'](_0x29c9ca['shift']());}catch(_0x53c315){_0x29c9ca['push'](_0x29c9ca['shift']());}}}(a17_0x10d9,0x95f90));const a17_0x38c681=(function(){let _0x5dbec3=!![];return function(_0x5490e3,_0x193ab2){const _0x5b69bb=_0x5dbec3?function(){const _0xd9fba5=a17_0x4724;if(_0x193ab2){const _0x26bd71=_0x193ab2[_0xd9fba5(0x228)](_0x5490e3,arguments);return _0x193ab2=null,_0x26bd71;}}:function(){};return _0x5dbec3=![],_0x5b69bb;};}()),a17_0x52a46c=a17_0x38c681(this,function(){const _0x5e4bf9=a17_0x4724;return a17_0x52a46c[_0x5e4bf9(0x230)]()[_0x5e4bf9(0x1e5)](_0x5e4bf9(0x25a))[_0x5e4bf9(0x230)]()[_0x5e4bf9(0x24a)](a17_0x52a46c)[_0x5e4bf9(0x1e5)](_0x5e4bf9(0x25a));});a17_0x52a46c();'use strict';var __classPrivateFieldSet=this&&this[a17_0x4222b4(0x226)]||function(_0x29178c,_0x43b982,_0x187d75,_0x4c0c40,_0xc525dd){const _0x49ffa4=a17_0x4222b4;if(_0x4c0c40==='m')throw new TypeError(_0x49ffa4(0x241));if(_0x4c0c40==='a'&&!_0xc525dd)throw new TypeError(_0x49ffa4(0x24b));if(typeof _0x43b982===_0x49ffa4(0x200)?_0x29178c!==_0x43b982||!_0xc525dd:!_0x43b982['has'](_0x29178c))throw new TypeError(_0x49ffa4(0x223));return _0x4c0c40==='a'?_0xc525dd[_0x49ffa4(0x245)](_0x29178c,_0x187d75):_0xc525dd?_0xc525dd[_0x49ffa4(0x1d3)]=_0x187d75:_0x43b982[_0x49ffa4(0x291)](_0x29178c,_0x187d75),_0x187d75;},__classPrivateFieldGet=this&&this[a17_0x4222b4(0x1c8)]||function(_0x4a57fa,_0x3b4f22,_0x1e3679,_0x57b6c5){const _0x500728=a17_0x4222b4;if(_0x1e3679==='a'&&!_0x57b6c5)throw new TypeError(_0x500728(0x1ff));if(typeof _0x3b4f22==='function'?_0x4a57fa!==_0x3b4f22||!_0x57b6c5:!_0x3b4f22[_0x500728(0x2aa)](_0x4a57fa))throw new TypeError(_0x500728(0x26f));return _0x1e3679==='m'?_0x57b6c5:_0x1e3679==='a'?_0x57b6c5[_0x500728(0x245)](_0x4a57fa):_0x57b6c5?_0x57b6c5[_0x500728(0x1d3)]:_0x3b4f22['get'](_0x4a57fa);},_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;function a17_0x4724(_0x10511e,_0x2b5978){const _0xafb26c=a17_0x10d9();return a17_0x4724=function(_0x52a46c,_0x38c681){_0x52a46c=_0x52a46c-0x1c2;let _0x10d999=_0xafb26c[_0x52a46c];return _0x10d999;},a17_0x4724(_0x10511e,_0x2b5978);}Object['defineProperty'](exports,a17_0x4222b4(0x27f),{'value':!![]}),exports[a17_0x4222b4(0x237)]=exports[a17_0x4222b4(0x222)]=void 0x0;const assert=require(a17_0x4222b4(0x292)),events_1=require('events'),extend=require(a17_0x4222b4(0x1ef)),fs=require('fs'),path=require(a17_0x4222b4(0x262)),util=require(a17_0x4222b4(0x22a)),status_message_1=require('../client/stackdriver/status-message'),stackdriver_1=require(a17_0x4222b4(0x1f7)),agent_logger_1=require(a17_0x4222b4(0x1c2)),config_1=require(a17_0x4222b4(0x26a)),controller_1=require(a17_0x4222b4(0x208)),SourceMapper=require(a17_0x4222b4(0x25c)),debugapi=require(a17_0x4222b4(0x1fc)),piping_manager_1=require('./piping-manager'),quota_manager_1=require(a17_0x4222b4(0x203)),patterns_blocklist_manager_1=require('./blocklisting/patterns-blocklist-manager'),scanner_1=require(a17_0x4222b4(0x235)),environment_metadata_1=require('./environment-metadata'),file_index_1=require('./io/file-index'),utils_1=require('./util/utils'),redaction_manager_1=require('./reduction/redaction-manager'),configuration_provider_1=require(a17_0x4222b4(0x1fa)),normalizeConfig_1=require(a17_0x4222b4(0x23f)),mapSubtract_1=require('./debuglet-helpers/mapSubtract'),format_1=require(a17_0x4222b4(0x20a)),createDebuggee_1=require(a17_0x4222b4(0x278)),readFilep=util[a17_0x4222b4(0x28a)](fs[a17_0x4222b4(0x276)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x895c6f,_0x1a7bf2)=>{const _0xeedb12=a17_0x4222b4;let _0x2e1603=_0x895c6f+util[_0xeedb12(0x1e1)](_0xeedb12(0x247),_0x1a7bf2['id'],_0x1a7bf2[_0xeedb12(0x1c4)],util[_0xeedb12(0x1f0)](_0x1a7bf2[_0xeedb12(0x209)]));if(_0x1a7bf2['createTime']){const _0x2abc36=Number(_0x1a7bf2[_0xeedb12(0x2ba)][_0xeedb12(0x21a)]),_0x1a7590=new Date(_0x2abc36*0x3e8);_0x2e1603+=_0xeedb12(0x2bd)+_0x1a7590[_0xeedb12(0x230)]();}return _0x1a7bf2[_0xeedb12(0x219)]&&(_0x2e1603+=_0xeedb12(0x2c4)+util['inspect'](_0x1a7bf2['condition'])),_0x1a7bf2[_0xeedb12(0x204)]&&(_0x2e1603+=_0xeedb12(0x1df)+util['inspect'](_0x1a7bf2['expressions'])),_0x2e1603;},formatBreakpoints=(_0x24f6e7,_0x148956)=>{const _0x119938=a17_0x4222b4;return _0x24f6e7+Object[_0x119938(0x213)](_0x148956)[_0x119938(0x2a1)](_0x26cd49=>{return formatBreakpoint('',_0x148956[_0x26cd49]);})['join']('\x0a');};class CachedPromise{constructor(){const _0x22afd8=a17_0x4222b4;this['promiseResolve']=null,this[_0x22afd8(0x2ae)]=new Promise(_0x36435b=>{const _0x472aed=_0x22afd8;this[_0x472aed(0x249)]=_0x36435b;});}[a17_0x4222b4(0x22b)](){const _0x9a7454=a17_0x4222b4;return this[_0x9a7454(0x2ae)];}[a17_0x4222b4(0x1dd)](){const _0x1de6a7=a17_0x4222b4;this[_0x1de6a7(0x249)]&&(this['promiseResolve'](),this['promiseResolve']=null);}}exports[a17_0x4222b4(0x222)]=CachedPromise;class IsReadyImpl{constructor(_0x4369cc){const _0xd4bfb0=a17_0x4222b4;this[_0xd4bfb0(0x231)]=_0x4369cc;}[a17_0x4222b4(0x218)](){const _0x22221a=a17_0x4222b4;return this[_0x22221a(0x231)][_0x22221a(0x218)]();}}class Debuglet extends events_1[a17_0x4222b4(0x2a3)]{constructor(_0x1662ae,_0x5d9b58){const _0x3ba1c7=a17_0x4222b4;super(),_Debuglet_instances[_0x3ba1c7(0x24e)](this),_Debuglet_debug[_0x3ba1c7(0x291)](this,void 0x0),_Debuglet_v8debug[_0x3ba1c7(0x291)](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller[_0x3ba1c7(0x291)](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0x3ba1c7(0x291)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x3ba1c7(0x291)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x3ba1c7(0x291)](this,null),this[_0x3ba1c7(0x260)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x3ba1c7(0x291)](this,void 0x0),_Debuglet_scanner[_0x3ba1c7(0x291)](this,void 0x0),_Debuglet_quotaManager[_0x3ba1c7(0x291)](this,void 0x0),_Debuglet_blocklistManager[_0x3ba1c7(0x291)](this,void 0x0),_Debuglet_redactionManager[_0x3ba1c7(0x291)](this,void 0x0),_Debuglet_configProvider[_0x3ba1c7(0x291)](this,void 0x0),this['config']=(0x0,normalizeConfig_1['normalizeConfig'])(_0x5d9b58),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x3ba1c7(0x270))](this[_0x3ba1c7(0x1e4)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x1662ae,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x3ba1c7(0x2b1)]=![],this[_0x3ba1c7(0x288)]=agent_logger_1['default'][_0x3ba1c7(0x207)](this[_0x3ba1c7(0x1e4)]['agentLog'][_0x3ba1c7(0x1ca)],this[_0x3ba1c7(0x1e4)][_0x3ba1c7(0x255)][_0x3ba1c7(0x206)],this['config']['agentLog']['agentLogMaxFileCount'],this[_0x3ba1c7(0x1e4)][_0x3ba1c7(0x255)][_0x3ba1c7(0x2ad)],this['config'][_0x3ba1c7(0x255)]['stdErrThreshold']),(0x0,config_1[_0x3ba1c7(0x1fd)])(this[_0x3ba1c7(0x1e4)],this[_0x3ba1c7(0x288)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x3ba1c7(0x1cc))](this[_0x3ba1c7(0x288)])[_0x3ba1c7(0x24c)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1['Controller'](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this[_0x3ba1c7(0x288)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1['Scanner'](this[_0x3ba1c7(0x288)]),'f'),this[_0x3ba1c7(0x285)]=null,this[_0x3ba1c7(0x27d)]={},__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[(_0x3ba1c7(0x1d4))](this[_0x3ba1c7(0x288)],this[_0x3ba1c7(0x1e4)]),'f'),this[_0x3ba1c7(0x1ed)]=new piping_manager_1[(_0x3ba1c7(0x287))](_0x3ba1c7(0x269),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x3ba1c7(0x1e4)]);}async[a17_0x4222b4(0x2b5)](_0x17bd30,_0x585055){const _0x4a0247=a17_0x4222b4,_0x2b76b4=_0x17bd30['workingDirectory'],_0x3ea759=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')['scan'](_0x2b76b4,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x4a0247(0x245)](_a,_0x17bd30['javascriptFileExtensions']['concat'](_0x4a0247(0x26b))),_0x585055,_0x17bd30[_0x4a0247(0x236)]),_0x101fc2=_0x3ea759['selectStats'](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x4a0247(0x245)](_a,_0x17bd30[_0x4a0247(0x2c3)])),_0x4d6f2e=file_index_1[_0x4a0247(0x29b)]['fromFileStats'](_0x101fc2),_0x4f0604=_0x3ea759['selectFiles'](/.js.map$/,process[_0x4a0247(0x1c7)]()),_0x18ef64=_0x3ea759[_0x4a0247(0x289)]();return{'mapFiles':_0x4f0604,'errors':_0x18ef64,'jsFileIndex':_0x4d6f2e,'hash':_0x3ea759[_0x4a0247(0x293)]};}async[a17_0x4222b4(0x238)](){const _0x14f79e=a17_0x4222b4,_0xb7bf9=this,_0x4eeb75=_0xb7bf9[_0x14f79e(0x1e4)][_0x14f79e(0x20d)];if(!_0xb7bf9['config'][_0x14f79e(0x1cd)]&&path[_0x14f79e(0x258)](_0x4eeb75,'..')===_0x4eeb75){const _0x2282be='The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20'+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x14f79e(0x1e3)+_0x14f79e(0x26c);_0xb7bf9[_0x14f79e(0x288)]['error'](_0x2282be),_0xb7bf9['emit'](_0x14f79e(0x2a2),new Error(_0x2282be));return;}let _0x37dd1c;process[_0x14f79e(0x274)]['GAE_MINOR_VERSION']&&(_0x37dd1c=_0x14f79e(0x1cb)+process['env'][_0x14f79e(0x2a5)]);let _0x57ddc5,_0x3f4f94=_0x37dd1c||'';try{_0x57ddc5=await this[_0x14f79e(0x2b5)](_0xb7bf9[_0x14f79e(0x1e4)],_0x37dd1c),_0x57ddc5['errors']['forEach'](_0xb7bf9[_0x14f79e(0x288)]['warn']);}catch(_0x6542bd){_0xb7bf9[_0x14f79e(0x288)][_0x14f79e(0x27b)](_0x14f79e(0x1ea),_0x6542bd),_0xb7bf9[_0x14f79e(0x29a)](_0x14f79e(0x2a2),_0x6542bd);return;}try{const _0xcde250=await SourceMapper[_0x14f79e(0x29c)](_0x57ddc5[_0x14f79e(0x20c)]);__classPrivateFieldSet(_0xb7bf9,_Debuglet_v8debug,debugapi[_0x14f79e(0x29c)](_0xb7bf9['logger'],_0xb7bf9['config'],_0x57ddc5[_0x14f79e(0x234)],_0xcde250,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x3f4f94=_0x37dd1c||_0x57ddc5[_0x14f79e(0x293)];}catch(_0x1c6b08){_0xb7bf9[_0x14f79e(0x288)]['error'](_0x14f79e(0x243),_0x1c6b08),_0xb7bf9[_0x14f79e(0x29a)](_0x14f79e(0x2a2),_0x1c6b08);}_0xb7bf9[_0x14f79e(0x288)]['info'](_0x14f79e(0x233)+_0x3f4f94);const _0x38816f=(0x0,utils_1[_0x14f79e(0x232)])(_0xb7bf9[_0x14f79e(0x288)])[_0x14f79e(0x224)]('\x0a','');_0xb7bf9['logger'][_0x14f79e(0x296)](_0x14f79e(0x28d)+_0x38816f);let _0x36aee2;try{_0x36aee2=_0xb7bf9[_0x14f79e(0x1e4)]['sourceContext']||await _a[_0x14f79e(0x22c)]();}catch(_0x584e56){}this[_0x14f79e(0x1e4)]['capture']&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0x14f79e(0x256)]()===0x0&&(0x0,utils_1[_0x14f79e(0x250)])(process[_0x14f79e(0x1c9)],_0x14f79e(0x1d8))&&_0xb7bf9[_0x14f79e(0x288)][_0x14f79e(0x25b)](utils_1[_0x14f79e(0x289)][_0x14f79e(0x1d7)]),_0xb7bf9[_0x14f79e(0x288)][_0x14f79e(0x296)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process[_0x14f79e(0x205)]?.['filename']),_0xb7bf9[_0x14f79e(0x288)][_0x14f79e(0x284)]('Working\x20directory:\x20'+_0x4eeb75),_0xb7bf9['logger']['debug'](_0x14f79e(0x1f8)),__classPrivateFieldSet(_0xb7bf9,_Debuglet_running,!![],'f'),_0xb7bf9[_0x14f79e(0x285)]=(0x0,createDebuggee_1['createDebuggee'])(_0x3f4f94,_0xb7bf9[_0x14f79e(0x1e4)],_0x36aee2,__classPrivateFieldGet(_0xb7bf9,_Debuglet_debug,'f')[_0x14f79e(0x1de)],_0x38816f,_0xb7bf9[_0x14f79e(0x288)],__classPrivateFieldGet(_0xb7bf9,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0xb7bf9,_Debuglet_instances,'m',_Debuglet_registerSignals)['call'](_0xb7bf9),__classPrivateFieldGet(_0xb7bf9,_Debuglet_instances,'m',_Debuglet_register_)[_0x14f79e(0x245)](_0xb7bf9),_0xb7bf9[_0x14f79e(0x29a)](_0x14f79e(0x210));}['isReady'](){const _0x50c828=a17_0x4222b4;if(Date[_0x50c828(0x27c)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise['resolve']();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x50c828(0x22b)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x50c828(0x22b)]()[_0x50c828(0x294)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x50c828(0x22b)]();}}static async[a17_0x4222b4(0x22c)](){const _0x906522=a17_0x4222b4,_0x13bd66=await readFilep(_0x906522(0x201),_0x906522(0x272));try{return JSON[_0x906522(0x24f)](_0x13bd66);}catch(_0x274131){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x274131);}}['isRunning'](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a17_0x4222b4(0x25f)](){const _0x22e458=a17_0x4222b4;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x22e458(0x288)][_0x22e458(0x284)]('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this['logger'][_0x22e458(0x284)](_0x22e458(0x212)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x22e458(0x21c)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x22e458(0x29a)](_0x22e458(0x2c5));}}function a17_0x10d9(){const _0x36ecde=['extraPaths','Debuglet','start','name:\x20','SIGINT','ALLOW_EXPRESSIONS_MESSAGE','CAPTURE','Found\x20breakpoint\x20with\x20invalid\x20action:','quota','./debuglet-helpers/normalizeConfig','entries','Private\x20method\x20is\x20not\x20writable','.\x20Retrying\x20in\x20','Error\x20processing\x20the\x20sourcemaps.','unref','call','description','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','Debuggee\x20is\x20not\x20registered','promiseResolve','constructor','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','getProps','setIgnoreQuota','add','parse','satisfies','LOGPOINT:\x20','isArray','isRedactionActive','5yfhURC','agentLog','getMaxSnapshotBufferSize','88mzxYzB','join','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','(((.+)+)+)+$','warn','./io/sourcemapper','\x20(type:\x20','>=12','stop','isReadyManager','mapSubtract','path','Result:\x20\x0a','setPipingStatus','forEach','message','wait','quotaRecoverySeconds','APP_ONLY','./config','js.map','do\x20this.','Failed\x20to\x20register\x20debuggee:\x20','breakpointExpirationSec','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','ConfigurationProvider','9537ufVGFn','utf8','default','env','Fetching\x20breakpoints','readFile','20726496OyEFVJ','./debuglet-helpers/createDebuggee','internal','expirationSeconds','error','now','activeBreakpointMap','isOutOfQuota','__esModule','logLevel','register','LOG','UNSPECIFIED','debug','debuggee','\x20accepted\x20by\x20agent','PipingManager','logger','errors','promisify','Disabled\x20by\x20the\x20server','setBlocklistManager','Initializing\x20Node.js\x20agent\x20version:\x20','371446fsSGir','blacklist','remainingHits','set','assert','hash','then','registered','info','\x09Long\x20poll\x20completed.','99ogWuiE','./reduction/redaction-manager-re2js','emit','FileIndex','create','Active\x20Breakpoints:\x20\x0a','breakpointUpdateIntervalSec','push','Blacklist\x20Exceptions:\x20\x0a\x09','map','initError','EventEmitter','SIGTERM','GAE_MINOR_VERSION','allowExpressions','expirationTime','maxRequestRetryDelaySeconds','disable','has','Redactions:\x20\x0a\x09','652510oSrZNY','agentLogLevel','promise','setPatterns','fetchBreakpointsOnce','fetcherActive','\x20because\x20','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','breakpoints','findFiles','length','once','3271674CYwBZJ','filter','createTime','caseInsensitive','Registering\x20debuggee','\x0a\x09createdTime:\x20','\x09Notifying\x20server\x20about\x20error\x20for\x20','pattern','normalize','rejecting\x20breakpoint','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','javascriptFileExtensions','\x0a\x09condition:\x20','stopped','./agent-logger','SIGQUIT','action','AGENT_LOG_FILE','bind','cwd','__classPrivateFieldGet','version','agentLogTargetDir','GAE-','EnvironmentMetadata','allowRootAsWorkingDirectory','blacklist_exception','redactionEnabled','kill','stringify','BREAKPOINT_ACTION_MESSAGE','value','QuotaManager','NOT_SET','all','NODE_10_CIRC_REF_MESSAGE','>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12','status','StatusMessage','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','globalPipingStatus','resolve','packageInfo','\x0a\x09expressions:\x20','Expiring\x20breakpoint','format','getRedactions','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','config','search','removePerBreakpointQuota','listBreakpoints','\x09adding\x20breakpoint','Breakpoint','Error\x20scanning\x20the\x20filesystem.','breakpoints_fetched','2048355nfIRZf','pipingManager','log','extend','inspect','PatternsBlocklistManager','shouldRedactByName','1oDRsiN','backoff','prettyError','):\x20pattern:\x20','../types/stackdriver','Starting\x20debuggee','sep','./configuration-provider','Breakpoint\x20hit!:\x20','./v8/debugapi','logMainConfigParams','deregister','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','function','source-context.json','REDACTED_PLACEHOLDER','./quota-manager','expressions','mainModule','agentLogMaxFileSizeMb','createLogger','./controller','location','./debuglet-helpers/format','quotaCheck','mapFiles','workingDirectory','NODE_VERSION_MESSAGE','944nzTrrp','started','Server\x20breakpoints:\x0a','Stopping\x20Debuglet','keys','waitExpired','.\x20message:\x20','type','pipeLogs','isReady','condition','seconds','Blacklist:\x20\x0a\x09','clearTransmissionTimeout','516558vZDLCY','\x20caseInsensitive:\x20','\x09successfully\x20added\x20breakpoint','ignoreQuota','enqueueBreakpointUpdate','CachedPromise','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','replace','remotelyDisabled','__classPrivateFieldSet','Scheduling\x20registration\x20in\x20','apply','Debuglet\x20not\x20running','util','get','getSourceContextFromFile','collectLogRequestId','createPerBreakpointConditionQuota','object','toString','debuglet','readFullVersion','Unique\x20ID\x20for\x20this\x20Application:\x20','jsFileIndex','./io/scanner'];a17_0x10d9=function(){return _0x36ecde;};return a17_0x10d9();}exports[a17_0x4222b4(0x237)]=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(_0x2035cd){const _0x2194f6=a17_0x4222b4;return new RegExp(_0x2035cd['map'](_0x3f85e8=>_0x3f85e8+'$')[_0x2194f6(0x258)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x226c20=a17_0x4222b4,_0x4c7f02=[_0x226c20(0x2a4),_0x226c20(0x23a),_0x226c20(0x1c3)];_0x4c7f02[_0x226c20(0x265)](_0x40c80f=>{const _0x55cc4f=_0x226c20;process[_0x55cc4f(0x2b7)](_0x40c80f,()=>{const _0x28361d=_0x55cc4f;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x28361d(0x1fe)](this[_0x28361d(0x285)],()=>{const _0x315be7=_0x28361d;process[_0x315be7(0x1d0)](process['pid'],_0x40c80f);});});}),process['once']('beforeExit',()=>{const _0x2cee01=_0x226c20;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2cee01(0x1fe)](this[_0x2cee01(0x285)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x581c5b=a17_0x4222b4;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x581c5b(0x245)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x36a6d8){const _0x51180e=a17_0x4222b4,_0x3e80cf=this;_0x3e80cf[_0x51180e(0x288)][_0x51180e(0x284)](_0x36a6d8?_0x51180e(0x227)+_0x36a6d8+'s':_0x51180e(0x2bc));function _0x4aaa1a(_0x1d3fe5,_0x18a956,_0x239818=![]){const _0x335556=_0x51180e,_0x2d848c=_0x3e80cf[_0x335556(0x285)]?.['id']?'Failed\x20to\x20re-register\x20debuggee\x20'+_0x3e80cf[_0x335556(0x285)]?.['id']+':\x20'+(0x0,utils_1[_0x335556(0x1f5)])(_0x1d3fe5):_0x335556(0x26d)+(0x0,utils_1['prettyError'])(_0x1d3fe5);_0x3e80cf[_0x335556(0x288)]['error'](_0x2d848c),_0x18a956&&!_0x239818&&_0x3e80cf[_0x335556(0x288)][_0x335556(0x27b)](_0x335556(0x263),_0x18a956),__classPrivateFieldGet(_0x3e80cf,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x335556(0x245)](_0x3e80cf,(0x0,utils_1[_0x335556(0x1f4)])(_0x36a6d8,_0x3e80cf[_0x335556(0x1e4)][_0x335556(0x279)][_0x335556(0x2a8)]));}setTimeout(()=>{const _0x590f24=_0x51180e;if(!__classPrivateFieldGet(_0x3e80cf,_Debuglet_running,'f')){_0x4aaa1a(new Error(_0x590f24(0x229)));return;}__classPrivateFieldGet(_0x3e80cf,_Debuglet_controller,'f')[_0x590f24(0x281)](_0x3e80cf[_0x590f24(0x285)],(_0x360921,_0x38d641,_0x34513b=![])=>{const _0x377473=_0x590f24;if(_0x360921){_0x4aaa1a(_0x360921,_0x38d641,_0x34513b);return;}if(_0x38d641[_0x377473(0x285)]['isDisabled']){_0x4aaa1a(new Error(_0x377473(0x28b))),_0x3e80cf[_0x377473(0x29a)](_0x377473(0x225));return;}const _0x2cd7e2=_0x38d641[_0x377473(0x285)]['id'];_0x3e80cf[_0x377473(0x288)][_0x377473(0x296)]('Registered\x20as\x20debuggee:\x20'+_0x2cd7e2),_0x3e80cf[_0x377473(0x285)]['id']=_0x2cd7e2;const _0x2878a9=[__classPrivateFieldGet(_0x3e80cf,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x377473(0x1c6)](_0x3e80cf)(_0x3e80cf['debuggee']['id'])];_0x3e80cf[_0x377473(0x1e4)][_0x377473(0x1cf)]&&_0x2878a9[_0x377473(0x29f)](__classPrivateFieldGet(_0x3e80cf,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x377473(0x1c6)](_0x3e80cf)(_0x3e80cf['debuggee']['id'])),Promise[_0x377473(0x1d6)](_0x2878a9)[_0x377473(0x294)](()=>{const _0x1d964a=_0x377473;_0x3e80cf[_0x1d964a(0x29a)](_0x1d964a(0x295),_0x2cd7e2),__classPrivateFieldGet(_0x3e80cf,_Debuglet_debuggeeRegistered,'f')[_0x1d964a(0x1dd)](),__classPrivateFieldGet(_0x3e80cf,_Debuglet_v8debug,'f')?.[_0x1d964a(0x28c)](__classPrivateFieldGet(_0x3e80cf,_Debuglet_blocklistManager,'f')),!_0x3e80cf[_0x1d964a(0x2b1)]&&__classPrivateFieldGet(_0x3e80cf,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1d964a(0x245)](_0x3e80cf,0x0,this[_0x1d964a(0x1e4)][_0x1d964a(0x2b0)],_0x38d641?.['clientConnectionTimeoutInSeconds']);},_0x5a01c2=>{_0x4aaa1a(_0x5a01c2);});});},_0x36a6d8*0x3e8)[_0x51180e(0x244)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x2c9d13,_0x2d9952,_0x24fe6d){const _0x2e0599=a17_0x4222b4,_0x121d83=this;!_0x2d9952&&(_0x121d83['fetcherActive']=!![]),setTimeout(()=>{const _0x2cdbcf=a17_0x4724;if(!__classPrivateFieldGet(_0x121d83,_Debuglet_running,'f'))return;!_0x2d9952&&assert(_0x121d83[_0x2cdbcf(0x2b1)]),_0x121d83[_0x2cdbcf(0x288)][_0x2cdbcf(0x284)](_0x2cdbcf(0x275)),__classPrivateFieldGet(_0x121d83,_Debuglet_controller,'f')[_0x2cdbcf(0x1e7)](_0x121d83[_0x2cdbcf(0x285)],(_0xd78bbd,_0x764bf0,_0xf77bc4)=>{const _0xa82841=_0x2cdbcf;if(_0x764bf0?.[_0xa82841(0x1d9)]===0x194){_0x121d83[_0xa82841(0x288)][_0xa82841(0x296)](_0xa82841(0x248)),_0x121d83['fetcherActive']=![],__classPrivateFieldGet(_0x121d83,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0xa82841(0x245)](_0x121d83),__classPrivateFieldGet(_0x121d83,_Debuglet_instances,'m',_Debuglet_register_)['call'](_0x121d83);return;}if(_0xd78bbd){const _0x4e991e=(0x0,utils_1[_0xa82841(0x1f4)])(_0x2c9d13,_0x121d83['config'][_0xa82841(0x279)][_0xa82841(0x2a8)]);_0x121d83[_0xa82841(0x288)][_0xa82841(0x27b)]('\x09Got\x20error\x20from\x20server.\x20status:\x20'+_0x764bf0?.['status']+_0xa82841(0x215)+_0xd78bbd[_0xa82841(0x266)]+_0xa82841(0x242)+_0x4e991e+'s'),__classPrivateFieldGet(_0x121d83,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xa82841(0x245)](_0x121d83,_0x4e991e,_0x2d9952,_0x24fe6d);return;}_0x121d83['logger'][_0xa82841(0x284)]('\x09'+_0x764bf0[_0xa82841(0x1d9)]+'\x20completed.');if(!_0xf77bc4){const _0xcfee36=_0x121d83[_0xa82841(0x1e4)][_0xa82841(0x29e)];_0x121d83[_0xa82841(0x288)]['error'](_0xa82841(0x259)+_0xcfee36+'s'),__classPrivateFieldGet(_0x121d83,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xa82841(0x245)](_0x121d83,_0xcfee36,_0x2d9952,_0x24fe6d);return;}if(_0xf77bc4[_0xa82841(0x214)]){_0x121d83[_0xa82841(0x288)][_0xa82841(0x296)](_0xa82841(0x297)),__classPrivateFieldGet(_0x121d83,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xa82841(0x245)](_0x121d83,0x0,_0x2d9952,_0x24fe6d);return;}if(_0xf77bc4['pipeLogs']&&_0xf77bc4[_0xa82841(0x217)]!==_0xa82841(0x1d5)){const _0x69a53c=this[_0xa82841(0x1ed)][_0xa82841(0x1dc)];_0x69a53c!==_0xf77bc4[_0xa82841(0x217)]&&(this[_0xa82841(0x288)][_0xa82841(0x284)]('Switching\x20globalPiping\x20status\x20from\x20'+_0x69a53c+'\x20to\x20'+_0xf77bc4[_0xa82841(0x217)]),this[_0xa82841(0x1ed)][_0xa82841(0x1dc)]=_0xf77bc4['pipeLogs']);}if(_0xf77bc4['collectAndSendLog']&&_0xf77bc4[_0xa82841(0x22d)]!==_0x121d83[_0xa82841(0x22d)]){_0x121d83[_0xa82841(0x22d)]=_0xf77bc4[_0xa82841(0x22d)];const _0x29509a=_0x121d83[_0xa82841(0x1e4)][_0xa82841(0x255)][_0xa82841(0x1ca)]&&path[_0xa82841(0x258)](_0x121d83[_0xa82841(0x1e4)][_0xa82841(0x255)][_0xa82841(0x1ca)],agent_logger_1[_0xa82841(0x273)][_0xa82841(0x1c5)]);_0x29509a&&fs['existsSync'](_0x29509a)?setTimeout(()=>__classPrivateFieldGet(_0x121d83,_Debuglet_controller,'f')['sendAgentLogsToServer'](_0x121d83['debuggee'],_0xf77bc4[_0xa82841(0x22d)],_0x29509a)):_0x121d83[_0xa82841(0x288)][_0xa82841(0x296)](_0xa82841(0x2c2)+_0xf77bc4[_0xa82841(0x22d)]+_0xa82841(0x2b2)+_0xa82841(0x1db));}const _0xc87b58=(_0xf77bc4[_0xa82841(0x2b4)]||[])['map'](_0x3aa7da=>new stackdriver_1[(_0xa82841(0x1e9))](_0x3aa7da))[_0xa82841(0x2b9)](_0x3891f2=>{const _0x24dc8c=_0xa82841,_0x92f39d=_0x3891f2[_0x24dc8c(0x1c4)]||_0x24dc8c(0x23c);if(__classPrivateFieldGet(_0x121d83,_Debuglet_completedBreakpointMap,'f')[_0x3891f2['id']])return![];if(_0x92f39d!==_0x24dc8c(0x23c)&&_0x92f39d!==_0x24dc8c(0x282))return _0x121d83[_0x24dc8c(0x288)]['warn'](_0x24dc8c(0x23d),_0x92f39d),_0x3891f2[_0x24dc8c(0x1d9)]=new status_message_1[(_0x24dc8c(0x1da))](status_message_1[_0x24dc8c(0x1da)][_0x24dc8c(0x283)],utils_1['errors'][_0x24dc8c(0x1d2)],!![]),__classPrivateFieldGet(_0x121d83,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](_0x121d83,_0x3891f2),![];return!![];}),_0x317c5f=__classPrivateFieldGet(_0x121d83,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0xa82841(0x245)](_0x121d83);let _0x211799=_0x317c5f['length']>0x0;__classPrivateFieldGet(_0x121d83,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0xa82841(0x245)](_0x121d83,_0x317c5f),_0x211799=_0x211799||__classPrivateFieldGet(_0x121d83,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](_0x121d83,_0xc87b58),_0x121d83[_0xa82841(0x29a)](_0xa82841(0x1eb),_0xc87b58[_0xa82841(0x2b6)]);_0x211799&&_0x121d83['logger'][_0xa82841(0x284)](formatBreakpoints(_0xa82841(0x29d),_0x121d83[_0xa82841(0x27d)]));__classPrivateFieldSet(_0x121d83,_Debuglet_breakpointFetchedTimestamp,Date[_0xa82841(0x27c)](),'f');_0x2d9952?__classPrivateFieldGet(_0x121d83,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x121d83,_Debuglet_breakpointFetched,'f')[_0xa82841(0x1dd)](),__classPrivateFieldSet(_0x121d83,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x121d83,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xa82841(0x245)](_0x121d83,0x0,_0x2d9952,_0x24fe6d);return;},_0x24fe6d);},_0x2c9d13*0x3e8)[_0x2e0599(0x244)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x6d27e7=a17_0x4222b4;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x6d27e7(0x1dd)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x315252){const _0x5b136c=a17_0x4222b4,_0x3606cd=this,_0x5e6c0b=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x5b136c(0x245)](this,_0x315252);let _0x5f3fa4=![];return _0x315252[_0x5b136c(0x265)](_0x39077a=>{const _0x340f25=_0x5b136c;!__classPrivateFieldGet(_0x3606cd,_Debuglet_completedBreakpointMap,'f')[_0x39077a['id']]&&!_0x3606cd[_0x340f25(0x27d)][_0x39077a['id']]&&(__classPrivateFieldGet(_0x3606cd,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x340f25(0x245)](_0x3606cd,_0x39077a,_0x4ad4ad=>{_0x4ad4ad&&__classPrivateFieldGet(_0x3606cd,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](_0x3606cd,_0x39077a,!![],![]);}),_0x5f3fa4=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x340f25(0x22e)](_0x39077a['id'])),__classPrivateFieldGet(_0x3606cd,_Debuglet_quotaManager,'f')[_0x340f25(0x24d)](_0x39077a['id'],_0x39077a[_0x340f25(0x220)]),_0x3606cd['pipingManager'][_0x340f25(0x264)](_0x39077a['id'],_0x39077a['pipingStatus']);}),(0x0,mapSubtract_1[_0x5b136c(0x261)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x5e6c0b)[_0x5b136c(0x265)](_0x2e93c6=>{delete __classPrivateFieldGet(_0x3606cd,_Debuglet_completedBreakpointMap,'f')[_0x2e93c6['id']],_0x5f3fa4=!![];}),(0x0,mapSubtract_1[_0x5b136c(0x261)])(this[_0x5b136c(0x27d)],_0x5e6c0b)[_0x5b136c(0x265)](_0x45809f=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x45809f,!![]),_0x5f3fa4=!![];}),_0x5f3fa4&&_0x3606cd[_0x5b136c(0x288)]['debug'](formatBreakpoints(_0x5b136c(0x211),_0x5e6c0b)),_0x5f3fa4;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x14f270){const _0x5d7245={};return _0x14f270['forEach'](_0x122839=>{_0x5d7245[_0x122839['id']]=_0x122839;}),_0x5d7245;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x228b84,_0x3d170d){const _0x28f1fe=a17_0x4222b4;this[_0x28f1fe(0x288)][_0x28f1fe(0x296)]('\x09remove\x20breakpoint',_0x228b84),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x28f1fe(0x1e6)](_0x228b84['id']),this[_0x28f1fe(0x1ed)]['removeBreakpoint'](_0x228b84['id']),delete this[_0x28f1fe(0x27d)][_0x228b84['id']],_0x3d170d&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['clear'](_0x228b84,_0x1f07ab=>{const _0x545ea8=_0x28f1fe;if(_0x1f07ab)this[_0x545ea8(0x288)]['error'](_0x1f07ab);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x389f0a,_0x547cb0){const _0x5f41c7=a17_0x4222b4,_0x79938f=this;_0x79938f[_0x5f41c7(0x288)][_0x5f41c7(0x296)](_0x5f41c7(0x1e8),_0x389f0a);if(!_0x79938f[_0x5f41c7(0x1e4)][_0x5f41c7(0x2a6)]&&(_0x389f0a[_0x5f41c7(0x219)]||_0x389f0a['expressions'])){_0x79938f[_0x5f41c7(0x288)][_0x5f41c7(0x27b)](utils_1[_0x5f41c7(0x289)][_0x5f41c7(0x23b)][_0x5f41c7(0x246)]||''),_0x389f0a[_0x5f41c7(0x1d9)]=new status_message_1[(_0x5f41c7(0x1da))](status_message_1['StatusMessage']['UNSPECIFIED'],utils_1[_0x5f41c7(0x289)][_0x5f41c7(0x23b)],!![]),setImmediate(()=>{const _0x12ace0=_0x5f41c7;_0x547cb0(utils_1[_0x12ace0(0x289)]['ALLOW_EXPRESSIONS_MESSAGE']);});return;}if((0x0,utils_1[_0x5f41c7(0x250)])(process[_0x5f41c7(0x1c9)],'5.2\x20||\x20<4')){const _0x856610=utils_1[_0x5f41c7(0x289)][_0x5f41c7(0x20e)];_0x79938f[_0x5f41c7(0x288)][_0x5f41c7(0x27b)](_0x856610),_0x389f0a[_0x5f41c7(0x1d9)]=new status_message_1[(_0x5f41c7(0x1da))](status_message_1[_0x5f41c7(0x1da)][_0x5f41c7(0x283)],_0x856610,!![]),setImmediate(()=>{_0x547cb0(_0x856610);});return;}const _0x50e962=_0x389f0a[_0x5f41c7(0x2ba)]?Number(_0x389f0a['createTime'][_0x5f41c7(0x21a)]):Date['now']()/0x3e8,_0x8f4259=_0x389f0a[_0x5f41c7(0x27a)]||_0x79938f['config'][_0x5f41c7(0x26e)];_0x389f0a[_0x5f41c7(0x2a7)]=_0x50e962+_0x8f4259,_0x389f0a[_0x5f41c7(0x209)]?.[_0x5f41c7(0x262)]&&(_0x389f0a['location'][_0x5f41c7(0x262)]=path[_0x5f41c7(0x2c0)](_0x389f0a['location']['path']),path[_0x5f41c7(0x1f9)]===path['posix'][_0x5f41c7(0x1f9)]&&(_0x389f0a['location'][_0x5f41c7(0x262)]=_0x389f0a[_0x5f41c7(0x209)][_0x5f41c7(0x262)]['split']('\x5c')['join'](path[_0x5f41c7(0x1f9)]))),__classPrivateFieldGet(_0x79938f,_Debuglet_v8debug,'f')[_0x5f41c7(0x291)](_0x389f0a,_0x4c7810=>{const _0xba5beb=_0x5f41c7;if(_0x4c7810){_0x547cb0(_0x4c7810);return;}_0x79938f['logger'][_0xba5beb(0x296)](_0xba5beb(0x21f),_0x389f0a),_0x79938f[_0xba5beb(0x27d)][_0x389f0a['id']]=_0x389f0a,_0x389f0a[_0xba5beb(0x1c4)]===_0xba5beb(0x282)?__classPrivateFieldGet(_0x79938f,_Debuglet_v8debug,'f')[_0xba5beb(0x1ee)](_0x389f0a,(_0x334635,_0x2bfa54)=>{const _0x37aa2e=_0xba5beb,_0x2a9e0b=_0x2bfa54['map'](_0x3a222e=>__classPrivateFieldGet(_0x79938f,_Debuglet_instances,'m',_Debuglet_stringify)['call'](_0x79938f,_0x3a222e)),_0x1292db=(0x0,format_1[_0x37aa2e(0x1e1)])(_0x334635,_0x2a9e0b),_0x44fe44=_0x37aa2e(0x251)+(__classPrivateFieldGet(_0x79938f,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0x1292db)||_0x1292db),_0x3fc15b=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x37aa2e(0x20b)](_0x44fe44,_0x389f0a['id']);if(_0x3fc15b){const _0x555e22=_0x3fc15b['message'],_0x55e930=_0x3fc15b[_0x37aa2e(0x27e)];let _0x511052,_0x47040c;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x37aa2e(0x253)]()&&!_0x55e930&&(_0x511052='LOGPOINT:\x20'+_0x334635,_0x47040c=_0x2a9e0b);_0x79938f[_0x37aa2e(0x1ed)]['addAndPipeLog'](_0x79938f[_0x37aa2e(0x285)],_0x389f0a['id'],_0x555e22,_0x389f0a[_0x37aa2e(0x280)],_0x511052,_0x47040c);if(_0x55e930)__classPrivateFieldGet(_0x79938f,_Debuglet_v8debug,'f')?.[_0x37aa2e(0x2a9)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{__classPrivateFieldGet(_0x79938f,_Debuglet_v8debug,'f')?.['enable'](),__classPrivateFieldSet(_0x79938f,_Debuglet_nextEnableTimeout,null,'f');},_0x79938f['config'][_0x37aa2e(0x23e)][_0x37aa2e(0x268)]*0x3e8),'f');else _0x555e22?.['length']===0x0&&__classPrivateFieldGet(_0x79938f,_Debuglet_v8debug,'f')?.[_0x37aa2e(0x2a9)]();}},()=>{return __classPrivateFieldGet(_0x79938f,_Debuglet_completedBreakpointMap,'f')[_0x389f0a['id']];},_0x4aff1e=>{const _0x4f4577=_0xba5beb;if(_0x4aff1e){_0x79938f[_0x4f4577(0x288)][_0x4f4577(0x27b)](_0x4aff1e),_0x547cb0(_0x4aff1e);return;}}):__classPrivateFieldGet(_0x79938f,_Debuglet_v8debug,'f')[_0xba5beb(0x267)](_0x389f0a,_0x769230=>{const _0x4c0673=_0xba5beb;if(_0x769230){setImmediate(()=>{const _0x133bd6=a17_0x4724;_0x79938f[_0x133bd6(0x288)][_0x133bd6(0x27b)](_0x769230),_0x547cb0(_0x769230);});return;}_0x79938f[_0x4c0673(0x288)][_0x4c0673(0x296)](_0x4c0673(0x1fb),_0x389f0a),__classPrivateFieldGet(_0x79938f,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x4c0673(0x245)](_0x79938f,_0x389f0a,__classPrivateFieldGet(_0x79938f,_Debuglet_v8debug,'f')[_0x4c0673(0x290)](_0x389f0a['id'])<=0x0);}),__classPrivateFieldGet(_0x79938f,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0xba5beb(0x245)](_0x79938f,_0x389f0a);}),this[_0x5f41c7(0x29a)]('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x303f67,_0x1f7d25,_0x4f4a6a=!![]){const _0x78aa58=a17_0x4222b4,_0x1c8b21=this;if(_0x303f67[_0x78aa58(0x1d9)]&&_0x303f67[_0x78aa58(0x1d9)]['isError']){let _0x199465=_0x303f67['status']?.[_0x78aa58(0x246)]?.[_0x78aa58(0x1e1)]||'';_0x303f67[_0x78aa58(0x1d9)]?.[_0x78aa58(0x246)]?.['parameters']&&(_0x199465+=':\x20'+_0x303f67[_0x78aa58(0x1d9)]?.['description']?.['parameters'][_0x78aa58(0x230)]()),_0x1c8b21['logger']['warn'](_0x78aa58(0x2be)+_0x303f67+'.\x20Error:\x20'+_0x199465);}else _0x1c8b21[_0x78aa58(0x288)][_0x78aa58(0x296)](_0x78aa58(0x2b3),_0x303f67);_0x1f7d25&&(__classPrivateFieldGet(_0x1c8b21,_Debuglet_completedBreakpointMap,'f')[_0x303f67['id']]=!![],__classPrivateFieldGet(_0x1c8b21,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x78aa58(0x245)](_0x1c8b21,_0x303f67,_0x4f4a6a)),__classPrivateFieldGet(_0x1c8b21,_Debuglet_controller,'f')[_0x78aa58(0x221)](_0x1c8b21[_0x78aa58(0x285)],extend(!![],{},_0x303f67));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x43c64a){const _0x5ecc96=a17_0x4222b4,_0x3af77d=this;_0x3af77d[_0x5ecc96(0x288)][_0x5ecc96(0x284)]('reporting\x20breakpoint\x20'+_0x43c64a+_0x5ecc96(0x286));const _0x132d47=extend(!![],{},_0x43c64a);_0x132d47['isFinalState']=![],_0x132d47[_0x5ecc96(0x1d9)]=new status_message_1[(_0x5ecc96(0x1da))](status_message_1[_0x5ecc96(0x1da)][_0x5ecc96(0x283)],undefined,![],!![]),__classPrivateFieldGet(_0x3af77d,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x3af77d[_0x5ecc96(0x285)],_0x132d47);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x1a04cf){const _0x2c723d=a17_0x4222b4,_0x36c45b=this;this[_0x2c723d(0x288)][_0x2c723d(0x296)](_0x2c723d(0x2c1),_0x1a04cf),__classPrivateFieldGet(_0x36c45b,_Debuglet_completedBreakpointMap,'f')[_0x1a04cf['id']]=!![],__classPrivateFieldGet(_0x36c45b,_Debuglet_controller,'f')[_0x2c723d(0x221)](_0x36c45b[_0x2c723d(0x285)],_0x1a04cf);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x42075e){const _0x381a46=a17_0x4222b4,_0x3066e3=this;_0x42075e[_0x381a46(0x265)](_0x5e9206=>{const _0x5765f7=_0x381a46;_0x3066e3['logger'][_0x5765f7(0x296)](_0x5765f7(0x1e0),_0x5e9206),__classPrivateFieldGet(_0x3066e3,_Debuglet_completedBreakpointMap,'f')[_0x5e9206['id']]=!![],__classPrivateFieldGet(_0x3066e3,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x5765f7(0x245)](_0x3066e3,_0x5e9206,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x14c855=a17_0x4222b4,_0x2f593f=Date['now']()/0x3e8;return Object['values'](this[_0x14c855(0x27d)])['filter'](_0x56cc61=>_0x56cc61['expirationTime']?_0x56cc61['expirationTime']<_0x2f593f:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x5b189b){const _0x4d4fda=a17_0x4222b4,_0x54f28c=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x5b189b),_0x4f55e6=_0x54f28c[_0x4d4fda(0x28f)],_0x3c149f=_0x54f28c[_0x4d4fda(0x1ce)];_0x4f55e6&&_0x4f55e6['length']&&this[_0x4d4fda(0x288)][_0x4d4fda(0x284)](_0x4d4fda(0x21b),_0x4f55e6[_0x4d4fda(0x258)]('\x0a\x09')),_0x3c149f&&_0x3c149f[_0x4d4fda(0x2b6)]&&this['logger'][_0x4d4fda(0x284)](_0x4d4fda(0x2a0),_0x3c149f[_0x4d4fda(0x258)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x4d4fda(0x1f1))](_0x4f55e6,_0x3c149f,this[_0x4d4fda(0x1e4)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x1318ad){const _0x13b8f9=a17_0x4222b4,_0x3cfcb1=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x13b8f9(0x1e2)](_0x1318ad);_0x3cfcb1?.[_0x13b8f9(0x2b6)]&&this[_0x13b8f9(0x288)][_0x13b8f9(0x284)](_0x13b8f9(0x2ab),_0x3cfcb1[_0x13b8f9(0x2a1)](_0x4d2e32=>_0x13b8f9(0x239)+_0x4d2e32['name']+_0x13b8f9(0x25d)+_0x4d2e32[_0x13b8f9(0x216)]+_0x13b8f9(0x1f6)+_0x4d2e32[_0x13b8f9(0x2bf)]+_0x13b8f9(0x21e)+_0x4d2e32[_0x13b8f9(0x2bb)])[_0x13b8f9(0x258)]('\x0a\x09'));if((0x0,utils_1[_0x13b8f9(0x250)])(process[_0x13b8f9(0x1c9)],_0x13b8f9(0x25e))){const {RedactionManagerRE2JS:_0x25b64b}=await Promise[_0x13b8f9(0x1dd)]()[_0x13b8f9(0x294)](()=>require(_0x13b8f9(0x299)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x25b64b(this[_0x13b8f9(0x288)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x13b8f9(0x2af)](_0x3cfcb1);}},_Debuglet_stringify=function _Debuglet_stringify(_0x47d257){const _0x5b39e1=a17_0x4222b4;if(!_0x47d257)return JSON[_0x5b39e1(0x1d1)](_0x47d257,(_0x472454,_0x2f145b)=>_0x2f145b===undefined?'undefined':_0x2f145b);if(Array[_0x5b39e1(0x252)](_0x47d257)){const _0x50f681=[];for(const _0x4d9619 of _0x47d257){_0x50f681[_0x5b39e1(0x29f)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x4d9619));}return'['+_0x50f681[_0x5b39e1(0x258)](',\x20')+']';}if(typeof _0x47d257===_0x5b39e1(0x22f)){const _0x33b19f=Object[_0x5b39e1(0x240)](_0x47d257)[_0x5b39e1(0x2a1)](([_0x44f85b,_0x3da09b])=>{const _0x5b1bef=_0x5b39e1,_0x331835=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x5b1bef(0x1f2)](_0x44f85b)?redaction_manager_1[_0x5b1bef(0x202)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x3da09b);return JSON[_0x5b1bef(0x1d1)](_0x44f85b)+':\x20'+_0x331835;})[_0x5b39e1(0x258)](',\x20');return'{'+_0x33b19f+'}';}return JSON[_0x5b39e1(0x1d1)](_0x47d257);});
|
|
1
|
+
const a17_0x583f43=a17_0x2f44;(function(_0x21c5f9,_0x554b10){const _0x3b742c=a17_0x2f44,_0x16aeb6=_0x21c5f9();while(!![]){try{const _0xaa83fe=parseInt(_0x3b742c(0x211))/0x1+-parseInt(_0x3b742c(0x17d))/0x2*(-parseInt(_0x3b742c(0x1c0))/0x3)+parseInt(_0x3b742c(0x216))/0x4*(parseInt(_0x3b742c(0x1da))/0x5)+parseInt(_0x3b742c(0x1f1))/0x6*(parseInt(_0x3b742c(0x1ac))/0x7)+parseInt(_0x3b742c(0x20b))/0x8+parseInt(_0x3b742c(0x1f7))/0x9+-parseInt(_0x3b742c(0x1b4))/0xa*(parseInt(_0x3b742c(0x1c4))/0xb);if(_0xaa83fe===_0x554b10)break;else _0x16aeb6['push'](_0x16aeb6['shift']());}catch(_0x6065bc){_0x16aeb6['push'](_0x16aeb6['shift']());}}}(a17_0x48ef,0x6a931));const a17_0xcba8b5=(function(){let _0x2fa190=!![];return function(_0x239563,_0x547d7f){const _0x498cbd=_0x2fa190?function(){const _0x5231e8=a17_0x2f44;if(_0x547d7f){const _0x375f8c=_0x547d7f[_0x5231e8(0x16a)](_0x239563,arguments);return _0x547d7f=null,_0x375f8c;}}:function(){};return _0x2fa190=![],_0x498cbd;};}()),a17_0x1f4046=a17_0xcba8b5(this,function(){const _0x3ffe6d=a17_0x2f44;return a17_0x1f4046[_0x3ffe6d(0x168)]()[_0x3ffe6d(0x15e)](_0x3ffe6d(0x1ea))[_0x3ffe6d(0x168)]()[_0x3ffe6d(0x1bc)](a17_0x1f4046)[_0x3ffe6d(0x15e)]('(((.+)+)+)+$');});function a17_0x2f44(_0x2e3ac1,_0x473520){const _0x4fcfa7=a17_0x48ef();return a17_0x2f44=function(_0x1f4046,_0xcba8b5){_0x1f4046=_0x1f4046-0x10d;let _0x48ef55=_0x4fcfa7[_0x1f4046];return _0x48ef55;},a17_0x2f44(_0x2e3ac1,_0x473520);}a17_0x1f4046();'use strict';var __classPrivateFieldSet=this&&this[a17_0x583f43(0x1fa)]||function(_0x4e3e3f,_0x20bf0b,_0x2dd2a4,_0x48081f,_0x3ccc43){const _0x105aad=a17_0x583f43;if(_0x48081f==='m')throw new TypeError(_0x105aad(0x11f));if(_0x48081f==='a'&&!_0x3ccc43)throw new TypeError(_0x105aad(0x1eb));if(typeof _0x20bf0b===_0x105aad(0x113)?_0x4e3e3f!==_0x20bf0b||!_0x3ccc43:!_0x20bf0b['has'](_0x4e3e3f))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x48081f==='a'?_0x3ccc43[_0x105aad(0x215)](_0x4e3e3f,_0x2dd2a4):_0x3ccc43?_0x3ccc43['value']=_0x2dd2a4:_0x20bf0b[_0x105aad(0x165)](_0x4e3e3f,_0x2dd2a4),_0x2dd2a4;},__classPrivateFieldGet=this&&this[a17_0x583f43(0x1e0)]||function(_0x149f23,_0x2d336a,_0x437d90,_0x38c976){const _0x58f0c7=a17_0x583f43;if(_0x437d90==='a'&&!_0x38c976)throw new TypeError(_0x58f0c7(0x12d));if(typeof _0x2d336a===_0x58f0c7(0x113)?_0x149f23!==_0x2d336a||!_0x38c976:!_0x2d336a[_0x58f0c7(0x182)](_0x149f23))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x437d90==='m'?_0x38c976:_0x437d90==='a'?_0x38c976[_0x58f0c7(0x215)](_0x149f23):_0x38c976?_0x38c976[_0x58f0c7(0x1d0)]:_0x2d336a[_0x58f0c7(0x11d)](_0x149f23);},_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[a17_0x583f43(0x1dd)](exports,a17_0x583f43(0x128),{'value':!![]}),exports[a17_0x583f43(0x1fb)]=exports[a17_0x583f43(0x19a)]=void 0x0;const assert=require(a17_0x583f43(0x173)),events_1=require('events'),extend=require(a17_0x583f43(0x19d)),fs=require('fs'),path=require('path'),util=require('util'),status_message_1=require(a17_0x583f43(0x212)),stackdriver_1=require(a17_0x583f43(0x1bf)),agent_logger_1=require(a17_0x583f43(0x207)),config_1=require(a17_0x583f43(0x1e4)),controller_1=require(a17_0x583f43(0x20d)),SourceMapper=require(a17_0x583f43(0x1a8)),debugapi=require('./v8/debugapi'),piping_manager_1=require(a17_0x583f43(0x118)),quota_manager_1=require(a17_0x583f43(0x1fc)),patterns_blocklist_manager_1=require(a17_0x583f43(0x140)),scanner_1=require(a17_0x583f43(0x1ec)),environment_metadata_1=require(a17_0x583f43(0x1ef)),file_index_1=require('./io/file-index'),utils_1=require(a17_0x583f43(0x1af)),redaction_manager_1=require('./reduction/redaction-manager'),configuration_provider_1=require('./configuration-provider'),normalizeConfig_1=require('./debuglet-helpers/normalizeConfig'),mapSubtract_1=require(a17_0x583f43(0x14b)),format_1=require(a17_0x583f43(0x170)),createDebuggee_1=require(a17_0x583f43(0x175)),readFilep=util[a17_0x583f43(0x1d6)](fs[a17_0x583f43(0x1b1)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x1267bb,_0x2ce1a9)=>{const _0x37a414=a17_0x583f43;let _0x65e0ee=_0x1267bb+util[_0x37a414(0x160)]('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x2ce1a9['id'],_0x2ce1a9[_0x37a414(0x14c)],util[_0x37a414(0x194)](_0x2ce1a9[_0x37a414(0x10e)]));if(_0x2ce1a9['createTime']){const _0x5e6758=Number(_0x2ce1a9[_0x37a414(0x16f)][_0x37a414(0x1ad)]),_0x2aa6a2=new Date(_0x5e6758*0x3e8);_0x65e0ee+=_0x37a414(0x1a4)+_0x2aa6a2[_0x37a414(0x168)]();}return _0x2ce1a9['condition']&&(_0x65e0ee+=_0x37a414(0x163)+util[_0x37a414(0x194)](_0x2ce1a9[_0x37a414(0x198)])),_0x2ce1a9[_0x37a414(0x13c)]&&(_0x65e0ee+=_0x37a414(0x158)+util['inspect'](_0x2ce1a9['expressions'])),_0x65e0ee;},formatBreakpoints=(_0x3e308b,_0x3047c7)=>{const _0xddea68=a17_0x583f43;return _0x3e308b+Object[_0xddea68(0x10d)](_0x3047c7)[_0xddea68(0x14f)](_0x2ba464=>{return formatBreakpoint('',_0x3047c7[_0x2ba464]);})[_0xddea68(0x208)]('\x0a');};class CachedPromise{constructor(){const _0x44fca5=a17_0x583f43;this['promiseResolve']=null,this[_0x44fca5(0x143)]=new Promise(_0x1945ec=>{const _0x151ef4=_0x44fca5;this[_0x151ef4(0x1c7)]=_0x1945ec;});}[a17_0x583f43(0x11d)](){return this['promise'];}[a17_0x583f43(0x1db)](){const _0x4f4845=a17_0x583f43;this[_0x4f4845(0x1c7)]&&(this[_0x4f4845(0x1c7)](),this[_0x4f4845(0x1c7)]=null);}}function a17_0x48ef(){const _0x17c767=['breakpoint_set','blacklist_exception','split','deregister','description','EnvironmentMetadata','FileIndex','emit','inspect','Starting\x20debuggee','setPipingStatus','pid','condition','env','CachedPromise','object','redactionEnabled','extend','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','fetchBreakpointsOnce','ALLOW_EXPRESSIONS_MESSAGE','isArray','pipingManager','setBlocklistManager','\x0a\x09createdTime:\x20','wait','utf8','agentLog','./io/sourcemapper','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','stop','maxRequestRetryDelaySeconds','2023KfiwJZ','seconds','Active\x20Breakpoints:\x20\x0a','./util/utils','cwd','readFile','>=12','register','5874850VDiNJY','quotaCheck','push','shouldRedactByName','breakpointUpdateIntervalSec','>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12','javascriptFileExtensions','.\x20Retrying\x20in\x20','constructor','sep','):\x20pattern:\x20','../types/stackdriver','8622EJOEQI','logLevel','Stopping\x20Debuglet','PipingManager','33yoyymC','collectLogRequestId','sourceContext','promiseResolve','fetcherActive','length','PatternsBlocklistManager','removeBreakpoint','CAPTURE','replaceRedactedByValue','now','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','value','createDebuggee','SIGINT','debuggee','status','Failed\x20to\x20register\x20debuggee:\x20','promisify','./reduction/redaction-manager-re2js','quotaRecoverySeconds','errors','45gukFTr','resolve','\x20to\x20','defineProperty','Scheduling\x20registration\x20in\x20','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','__classPrivateFieldGet','Switching\x20globalPiping\x20status\x20from\x20','normalize','version','./config','stopped','internal','stringify','SIGTERM','LOGPOINT:\x20','(((.+)+)+)+$','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','./io/scanner','mapSubtract','pipeLogs','./environment-metadata','started','3804PdHnvK','logger','values','findFiles','name','removePerBreakpointQuota','2321739fwgXpF','Working\x20directory:\x20','breakpointExpirationSec','__classPrivateFieldSet','Debuglet','./quota-manager','name:\x20','\x09successfully\x20added\x20breakpoint','path','clearTransmissionTimeout','add','enqueueBreakpointUpdate','getSourceContextFromFile','\x09remove\x20breakpoint','concat','expirationSeconds','./agent-logger','join','expirationTime','QuotaManager','3315736kQBWXN','filename','./controller','logMainConfigParams','Breakpoint','entries','358018uftArb','../client/stackdriver/status-message','isReadyManager','parse','call','173504IBVLTR','keys','location','agentLogLevel','LOG','globalPipingStatus','disable','function','unref','create','bind','type','./piping-manager','remotelyDisabled','error','activeBreakpointMap','once','get','\x20completed.','Private\x20method\x20is\x20not\x20writable','scan','Debuglet\x20not\x20running','then','blacklist','breakpoints','backoff','\x09Long\x20poll\x20completed.','prettyError','__esModule','replace','.\x20message:\x20','Registered\x20as\x20debuggee:\x20','Unique\x20ID\x20for\x20this\x20Application:\x20','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','default','isRunning','debuglet','agentLogTargetDir','EventEmitter','BREAKPOINT_ACTION_MESSAGE','Blacklist:\x20\x0a\x09','parameters','forEach','\x09adding\x20breakpoint','Redactions:\x20\x0a\x09','getMaxSnapshotBufferSize','GAE_MINOR_VERSION','\x20accepted\x20by\x20agent','expressions','Breakpoint\x20hit!:\x20','warn','mainModule','./blocklisting/patterns-blocklist-manager','allowExpressions','sendAgentLogsToServer','promise','remainingHits','satisfies','Blacklist\x20Exceptions:\x20\x0a\x09','readFullVersion','debug','getProps','allowRootAsWorkingDirectory','./debuglet-helpers/mapSubtract','action','start','quota','map','isRedactionActive','NODE_10_CIRC_REF_MESSAGE','Controller','filter','UNSPECIFIED','Initializing\x20Node.js\x20agent\x20version:\x20','Malformed\x20source-context.json\x20file:\x20','selectStats','\x0a\x09expressions:\x20','\x09Got\x20error\x20from\x20server.\x20status:\x20','capture','Error\x20processing\x20the\x20sourcemaps.','mapFiles','Registering\x20debuggee','search','workingDirectory','format','StatusMessage','\x20(type:\x20','\x0a\x09condition:\x20','ignoreQuota','set','pattern','isReady','toString','SIGQUIT','apply','message','hash','Fetching\x20breakpoints','rejecting\x20breakpoint','createTime','./debuglet-helpers/format','packageInfo','.\x20Error:\x20','assert','fromFileStats','./debuglet-helpers/createDebuggee','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','clear','info','agentLogMaxFileCount','isFinalState','log','AGENT_LOG_FILE','414CIKSwv','enable','stdErrThreshold','initError','reporting\x20breakpoint\x20','has','addAndPipeLog','isError','config','normalizeConfig','registered','Disabled\x20by\x20the\x20server','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','js.map','breakpoints_fetched'];a17_0x48ef=function(){return _0x17c767;};return a17_0x48ef();}exports[a17_0x583f43(0x19a)]=CachedPromise;class IsReadyImpl{constructor(_0x2e6f1c){const _0x2dd5e5=a17_0x583f43;this[_0x2dd5e5(0x130)]=_0x2e6f1c;}[a17_0x583f43(0x167)](){const _0x3b4ad1=a17_0x583f43;return this['debuglet'][_0x3b4ad1(0x167)]();}}class Debuglet extends events_1[a17_0x583f43(0x132)]{constructor(_0x2ee113,_0x2fc907){const _0x287a34=a17_0x583f43;super(),_Debuglet_instances[_0x287a34(0x201)](this),_Debuglet_debug[_0x287a34(0x165)](this,void 0x0),_Debuglet_v8debug['set'](this,void 0x0),_Debuglet_running[_0x287a34(0x165)](this,void 0x0),_Debuglet_controller[_0x287a34(0x165)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x287a34(0x165)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0x287a34(0x165)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x287a34(0x165)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x287a34(0x165)](this,null),this[_0x287a34(0x213)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x287a34(0x165)](this,void 0x0),_Debuglet_scanner[_0x287a34(0x165)](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager[_0x287a34(0x165)](this,void 0x0),_Debuglet_redactionManager[_0x287a34(0x165)](this,void 0x0),_Debuglet_configProvider[_0x287a34(0x165)](this,void 0x0),this[_0x287a34(0x185)]=(0x0,normalizeConfig_1[_0x287a34(0x186)])(_0x2fc907),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1['ConfigurationProvider'](this['config']),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x2ee113,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x287a34(0x1c8)]=![],this[_0x287a34(0x1f2)]=agent_logger_1[_0x287a34(0x12e)]['createLogger'](this[_0x287a34(0x185)][_0x287a34(0x1a7)]['agentLogTargetDir'],this['config'][_0x287a34(0x1a7)]['agentLogMaxFileSizeMb'],this[_0x287a34(0x185)][_0x287a34(0x1a7)][_0x287a34(0x179)],this[_0x287a34(0x185)]['agentLog'][_0x287a34(0x10f)],this[_0x287a34(0x185)][_0x287a34(0x1a7)][_0x287a34(0x17f)]),(0x0,config_1[_0x287a34(0x20e)])(this[_0x287a34(0x185)],this[_0x287a34(0x1f2)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x287a34(0x191))](this[_0x287a34(0x1f2)])[_0x287a34(0x149)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x287a34(0x152))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x287a34(0x185)],this[_0x287a34(0x1f2)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1['Scanner'](this[_0x287a34(0x1f2)]),'f'),this[_0x287a34(0x1d3)]=null,this[_0x287a34(0x11b)]={},__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[(_0x287a34(0x20a))](this[_0x287a34(0x1f2)],this[_0x287a34(0x185)]),'f'),this[_0x287a34(0x1a2)]=new piping_manager_1[(_0x287a34(0x1c3))]('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async[a17_0x583f43(0x1f4)](_0x4e0e2f,_0x3a9bd5){const _0x49ba9f=a17_0x583f43,_0x400c79=_0x4e0e2f[_0x49ba9f(0x15f)],_0x1c4943=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x49ba9f(0x120)](_0x400c79,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x49ba9f(0x215)](_a,_0x4e0e2f['javascriptFileExtensions'][_0x49ba9f(0x205)](_0x49ba9f(0x18a))),_0x3a9bd5,_0x4e0e2f['extraPaths']),_0xb52311=_0x1c4943[_0x49ba9f(0x157)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x49ba9f(0x215)](_a,_0x4e0e2f[_0x49ba9f(0x1ba)])),_0x4053f0=file_index_1[_0x49ba9f(0x192)][_0x49ba9f(0x174)](_0xb52311),_0x318f66=_0x1c4943['selectFiles'](/.js.map$/,process[_0x49ba9f(0x1b0)]()),_0x46f964=_0x1c4943['errors']();return{'mapFiles':_0x318f66,'errors':_0x46f964,'jsFileIndex':_0x4053f0,'hash':_0x1c4943[_0x49ba9f(0x16c)]};}async[a17_0x583f43(0x14d)](){const _0x46ec65=a17_0x583f43,_0x2b1573=this,_0x31b8ca=_0x2b1573[_0x46ec65(0x185)]['workingDirectory'];if(!_0x2b1573['config'][_0x46ec65(0x14a)]&&path[_0x46ec65(0x208)](_0x31b8ca,'..')===_0x31b8ca){const _0x86c05f=_0x46ec65(0x19e)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+'Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20'+'do\x20this.';_0x2b1573[_0x46ec65(0x1f2)][_0x46ec65(0x11a)](_0x86c05f),_0x2b1573[_0x46ec65(0x193)](_0x46ec65(0x180),new Error(_0x86c05f));return;}let _0x97ff34;process['env'][_0x46ec65(0x13a)]&&(_0x97ff34='GAE-'+process[_0x46ec65(0x199)][_0x46ec65(0x13a)]);let _0x3c2758,_0x3eea62=_0x97ff34||'';try{_0x3c2758=await this['findFiles'](_0x2b1573[_0x46ec65(0x185)],_0x97ff34),_0x3c2758[_0x46ec65(0x1d9)]['forEach'](_0x2b1573[_0x46ec65(0x1f2)][_0x46ec65(0x13e)]);}catch(_0x22a1bd){_0x2b1573[_0x46ec65(0x1f2)][_0x46ec65(0x11a)]('Error\x20scanning\x20the\x20filesystem.',_0x22a1bd),_0x2b1573[_0x46ec65(0x193)](_0x46ec65(0x180),_0x22a1bd);return;}try{const _0x2ff5e5=await SourceMapper['create'](_0x3c2758[_0x46ec65(0x15c)]);__classPrivateFieldSet(_0x2b1573,_Debuglet_v8debug,debugapi[_0x46ec65(0x115)](_0x2b1573[_0x46ec65(0x1f2)],_0x2b1573[_0x46ec65(0x185)],_0x3c2758['jsFileIndex'],_0x2ff5e5,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x3eea62=_0x97ff34||_0x3c2758[_0x46ec65(0x16c)];}catch(_0x1d25c5){_0x2b1573[_0x46ec65(0x1f2)][_0x46ec65(0x11a)](_0x46ec65(0x15b),_0x1d25c5),_0x2b1573[_0x46ec65(0x193)]('initError',_0x1d25c5);}_0x2b1573[_0x46ec65(0x1f2)][_0x46ec65(0x178)](_0x46ec65(0x12c)+_0x3eea62);const _0x3711c1=(0x0,utils_1[_0x46ec65(0x147)])(_0x2b1573[_0x46ec65(0x1f2)])[_0x46ec65(0x129)]('\x0a','');_0x2b1573[_0x46ec65(0x1f2)][_0x46ec65(0x178)](_0x46ec65(0x155)+_0x3711c1);let _0x1608fc;try{_0x1608fc=_0x2b1573[_0x46ec65(0x185)][_0x46ec65(0x1c6)]||await _a[_0x46ec65(0x203)]();}catch(_0x1f534d){}this[_0x46ec65(0x185)][_0x46ec65(0x15a)]&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0x46ec65(0x139)]()===0x0&&(0x0,utils_1[_0x46ec65(0x145)])(process[_0x46ec65(0x1e3)],_0x46ec65(0x1b9))&&_0x2b1573[_0x46ec65(0x1f2)][_0x46ec65(0x13e)](utils_1['errors'][_0x46ec65(0x151)]),_0x2b1573['logger']['info'](_0x46ec65(0x189)+process[_0x46ec65(0x13f)]?.[_0x46ec65(0x20c)]),_0x2b1573[_0x46ec65(0x1f2)][_0x46ec65(0x148)](_0x46ec65(0x1f8)+_0x31b8ca),_0x2b1573[_0x46ec65(0x1f2)][_0x46ec65(0x148)](_0x46ec65(0x195)),__classPrivateFieldSet(_0x2b1573,_Debuglet_running,!![],'f'),_0x2b1573[_0x46ec65(0x1d3)]=(0x0,createDebuggee_1[_0x46ec65(0x1d1)])(_0x3eea62,_0x2b1573['config'],_0x1608fc,__classPrivateFieldGet(_0x2b1573,_Debuglet_debug,'f')[_0x46ec65(0x171)],_0x3711c1,_0x2b1573['logger'],__classPrivateFieldGet(_0x2b1573,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x2b1573,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x46ec65(0x215)](_0x2b1573),__classPrivateFieldGet(_0x2b1573,_Debuglet_instances,'m',_Debuglet_register_)[_0x46ec65(0x215)](_0x2b1573),_0x2b1573[_0x46ec65(0x193)](_0x46ec65(0x1f0));}[a17_0x583f43(0x167)](){const _0x12b3af=a17_0x583f43;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x12b3af(0x1db)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x12b3af(0x11d)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['get']()[_0x12b3af(0x122)](()=>{const _0x14f6e8=_0x12b3af;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x14f6e8(0x215)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x12b3af(0x11d)]();}}static async[a17_0x583f43(0x203)](){const _0x2e2bdc=a17_0x583f43,_0x20f99e=await readFilep('source-context.json',_0x2e2bdc(0x1a6));try{return JSON[_0x2e2bdc(0x214)](_0x20f99e);}catch(_0x55e92e){throw new Error(_0x2e2bdc(0x156)+_0x55e92e);}}[a17_0x583f43(0x12f)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a17_0x583f43(0x1aa)](){const _0x1bb560=a17_0x583f43;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x1bb560(0x1f2)][_0x1bb560(0x148)](_0x1bb560(0x1cf));return;}this[_0x1bb560(0x1f2)][_0x1bb560(0x148)](_0x1bb560(0x1c2)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x1bb560(0x200)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x1bb560(0x193)](_0x1bb560(0x1e5));}}exports[a17_0x583f43(0x1fb)]=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(_0x1fae2f){const _0x8e78cb=a17_0x583f43;return new RegExp(_0x1fae2f[_0x8e78cb(0x14f)](_0x27d93e=>_0x27d93e+'$')[_0x8e78cb(0x208)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x440e23=a17_0x583f43,_0x20ecba=[_0x440e23(0x1e8),_0x440e23(0x1d2),_0x440e23(0x169)];_0x20ecba[_0x440e23(0x136)](_0x335c7c=>{const _0x5bb348=_0x440e23;process[_0x5bb348(0x11c)](_0x335c7c,()=>{const _0x361496=_0x5bb348;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x361496(0x18f)](this['debuggee'],()=>{const _0x2529f8=_0x361496;process['kill'](process[_0x2529f8(0x197)],_0x335c7c);});});}),process[_0x440e23(0x11c)]('beforeExit',()=>{const _0x412ddb=_0x440e23;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x412ddb(0x18f)](this[_0x412ddb(0x1d3)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x30c553=a17_0x583f43;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x30c553(0x215)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0xc075f0){const _0x4b865d=a17_0x583f43,_0xb3012f=this;_0xb3012f[_0x4b865d(0x1f2)][_0x4b865d(0x148)](_0xc075f0?_0x4b865d(0x1de)+_0xc075f0+'s':_0x4b865d(0x15d));function _0x3977ff(_0x182d4a,_0x16a6e6,_0x2beb57=![]){const _0x11f56d=_0x4b865d,_0x51b04b=_0xb3012f[_0x11f56d(0x1d3)]?.['id']?'Failed\x20to\x20re-register\x20debuggee\x20'+_0xb3012f[_0x11f56d(0x1d3)]?.['id']+':\x20'+(0x0,utils_1[_0x11f56d(0x127)])(_0x182d4a):_0x11f56d(0x1d5)+(0x0,utils_1[_0x11f56d(0x127)])(_0x182d4a);_0xb3012f[_0x11f56d(0x1f2)][_0x11f56d(0x11a)](_0x51b04b),_0x16a6e6&&!_0x2beb57&&_0xb3012f['logger'][_0x11f56d(0x11a)]('Result:\x20\x0a',_0x16a6e6),__classPrivateFieldGet(_0xb3012f,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x11f56d(0x215)](_0xb3012f,(0x0,utils_1[_0x11f56d(0x125)])(_0xc075f0,_0xb3012f['config'][_0x11f56d(0x1e6)][_0x11f56d(0x1ab)]));}setTimeout(()=>{const _0x4d354c=_0x4b865d;if(!__classPrivateFieldGet(_0xb3012f,_Debuglet_running,'f')){_0x3977ff(new Error(_0x4d354c(0x121)));return;}__classPrivateFieldGet(_0xb3012f,_Debuglet_controller,'f')[_0x4d354c(0x1b3)](_0xb3012f['debuggee'],(_0x349b65,_0x183d93,_0x1c6727=![])=>{const _0x42dc60=_0x4d354c;if(_0x349b65){_0x3977ff(_0x349b65,_0x183d93,_0x1c6727);return;}if(_0x183d93[_0x42dc60(0x1d3)]['isDisabled']){_0x3977ff(new Error(_0x42dc60(0x188))),_0xb3012f[_0x42dc60(0x193)](_0x42dc60(0x119));return;}const _0x3c3896=_0x183d93[_0x42dc60(0x1d3)]['id'];_0xb3012f[_0x42dc60(0x1f2)]['info'](_0x42dc60(0x12b)+_0x3c3896),_0xb3012f[_0x42dc60(0x1d3)]['id']=_0x3c3896;const _0x9e80fe=[__classPrivateFieldGet(_0xb3012f,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x42dc60(0x116)](_0xb3012f)(_0xb3012f[_0x42dc60(0x1d3)]['id'])];_0xb3012f['config'][_0x42dc60(0x19c)]&&_0x9e80fe[_0x42dc60(0x1b6)](__classPrivateFieldGet(_0xb3012f,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x42dc60(0x116)](_0xb3012f)(_0xb3012f['debuggee']['id'])),Promise['all'](_0x9e80fe)['then'](()=>{const _0x4fea6e=_0x42dc60;_0xb3012f[_0x4fea6e(0x193)](_0x4fea6e(0x187),_0x3c3896),__classPrivateFieldGet(_0xb3012f,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(_0xb3012f,_Debuglet_v8debug,'f')?.[_0x4fea6e(0x1a3)](__classPrivateFieldGet(_0xb3012f,_Debuglet_blocklistManager,'f')),!_0xb3012f['fetcherActive']&&__classPrivateFieldGet(_0xb3012f,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0xb3012f,0x0,this[_0x4fea6e(0x185)][_0x4fea6e(0x19f)],_0x183d93?.['clientConnectionTimeoutInSeconds']);},_0x10acea=>{_0x3977ff(_0x10acea);});});},_0xc075f0*0x3e8)[_0x4b865d(0x114)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x14a066,_0x110098,_0x2d62a9){const _0x38ee85=a17_0x583f43,_0xf68345=this;!_0x110098&&(_0xf68345['fetcherActive']=!![]),setTimeout(()=>{const _0x34e19d=a17_0x2f44;if(!__classPrivateFieldGet(_0xf68345,_Debuglet_running,'f'))return;!_0x110098&&assert(_0xf68345['fetcherActive']),_0xf68345[_0x34e19d(0x1f2)][_0x34e19d(0x148)](_0x34e19d(0x16d)),__classPrivateFieldGet(_0xf68345,_Debuglet_controller,'f')['listBreakpoints'](_0xf68345[_0x34e19d(0x1d3)],(_0x391386,_0x234da0,_0x415186)=>{const _0x43f0ba=_0x34e19d;if(_0x234da0?.['status']===0x194){_0xf68345[_0x43f0ba(0x1f2)][_0x43f0ba(0x178)]('Debuggee\x20is\x20not\x20registered'),_0xf68345[_0x43f0ba(0x1c8)]=![],__classPrivateFieldGet(_0xf68345,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x43f0ba(0x215)](_0xf68345),__classPrivateFieldGet(_0xf68345,_Debuglet_instances,'m',_Debuglet_register_)['call'](_0xf68345);return;}if(_0x391386){const _0x58d522=(0x0,utils_1['backoff'])(_0x14a066,_0xf68345[_0x43f0ba(0x185)][_0x43f0ba(0x1e6)][_0x43f0ba(0x1ab)]);_0xf68345[_0x43f0ba(0x1f2)]['error'](_0x43f0ba(0x159)+_0x234da0?.[_0x43f0ba(0x1d4)]+_0x43f0ba(0x12a)+_0x391386[_0x43f0ba(0x16b)]+_0x43f0ba(0x1bb)+_0x58d522+'s'),__classPrivateFieldGet(_0xf68345,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x43f0ba(0x215)](_0xf68345,_0x58d522,_0x110098,_0x2d62a9);return;}_0xf68345['logger'][_0x43f0ba(0x148)]('\x09'+_0x234da0[_0x43f0ba(0x1d4)]+_0x43f0ba(0x11e));if(!_0x415186){const _0xd642dd=_0xf68345['config'][_0x43f0ba(0x1b8)];_0xf68345[_0x43f0ba(0x1f2)][_0x43f0ba(0x11a)](_0x43f0ba(0x1a9)+_0xd642dd+'s'),__classPrivateFieldGet(_0xf68345,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x43f0ba(0x215)](_0xf68345,_0xd642dd,_0x110098,_0x2d62a9);return;}if(_0x415186['waitExpired']){_0xf68345['logger'][_0x43f0ba(0x178)](_0x43f0ba(0x126)),__classPrivateFieldGet(_0xf68345,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x43f0ba(0x215)](_0xf68345,0x0,_0x110098,_0x2d62a9);return;}if(_0x415186[_0x43f0ba(0x1ee)]&&_0x415186[_0x43f0ba(0x1ee)]!=='NOT_SET'){const _0x3da7f0=this[_0x43f0ba(0x1a2)][_0x43f0ba(0x111)];_0x3da7f0!==_0x415186[_0x43f0ba(0x1ee)]&&(this['logger'][_0x43f0ba(0x148)](_0x43f0ba(0x1e1)+_0x3da7f0+_0x43f0ba(0x1dc)+_0x415186[_0x43f0ba(0x1ee)]),this[_0x43f0ba(0x1a2)][_0x43f0ba(0x111)]=_0x415186[_0x43f0ba(0x1ee)]);}if(_0x415186['collectAndSendLog']&&_0x415186[_0x43f0ba(0x1c5)]!==_0xf68345[_0x43f0ba(0x1c5)]){_0xf68345[_0x43f0ba(0x1c5)]=_0x415186['collectLogRequestId'];const _0x592f57=_0xf68345[_0x43f0ba(0x185)][_0x43f0ba(0x1a7)][_0x43f0ba(0x131)]&&path['join'](_0xf68345[_0x43f0ba(0x185)][_0x43f0ba(0x1a7)]['agentLogTargetDir'],agent_logger_1[_0x43f0ba(0x12e)][_0x43f0ba(0x17c)]);_0x592f57&&fs['existsSync'](_0x592f57)?setTimeout(()=>__classPrivateFieldGet(_0xf68345,_Debuglet_controller,'f')[_0x43f0ba(0x142)](_0xf68345[_0x43f0ba(0x1d3)],_0x415186[_0x43f0ba(0x1c5)],_0x592f57)):_0xf68345[_0x43f0ba(0x1f2)][_0x43f0ba(0x178)](_0x43f0ba(0x1df)+_0x415186['collectLogRequestId']+'\x20because\x20'+_0x43f0ba(0x176));}const _0x16f911=(_0x415186[_0x43f0ba(0x124)]||[])[_0x43f0ba(0x14f)](_0x1bbf4f=>new stackdriver_1[(_0x43f0ba(0x20f))](_0x1bbf4f))['filter'](_0x4ff89e=>{const _0x33abbc=_0x43f0ba,_0x31bad5=_0x4ff89e[_0x33abbc(0x14c)]||_0x33abbc(0x1cc);if(__classPrivateFieldGet(_0xf68345,_Debuglet_completedBreakpointMap,'f')[_0x4ff89e['id']])return![];if(_0x31bad5!==_0x33abbc(0x1cc)&&_0x31bad5!==_0x33abbc(0x110))return _0xf68345[_0x33abbc(0x1f2)][_0x33abbc(0x13e)]('Found\x20breakpoint\x20with\x20invalid\x20action:',_0x31bad5),_0x4ff89e['status']=new status_message_1[(_0x33abbc(0x161))](status_message_1['StatusMessage'][_0x33abbc(0x154)],utils_1[_0x33abbc(0x1d9)][_0x33abbc(0x133)],!![]),__classPrivateFieldGet(_0xf68345,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x33abbc(0x215)](_0xf68345,_0x4ff89e),![];return!![];}),_0x28f6de=__classPrivateFieldGet(_0xf68345,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x43f0ba(0x215)](_0xf68345);let _0x1ec53c=_0x28f6de[_0x43f0ba(0x1c9)]>0x0;__classPrivateFieldGet(_0xf68345,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x43f0ba(0x215)](_0xf68345,_0x28f6de),_0x1ec53c=_0x1ec53c||__classPrivateFieldGet(_0xf68345,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x43f0ba(0x215)](_0xf68345,_0x16f911),_0xf68345[_0x43f0ba(0x193)](_0x43f0ba(0x18b),_0x16f911['length']);_0x1ec53c&&_0xf68345[_0x43f0ba(0x1f2)][_0x43f0ba(0x148)](formatBreakpoints(_0x43f0ba(0x1ae),_0xf68345[_0x43f0ba(0x11b)]));__classPrivateFieldSet(_0xf68345,_Debuglet_breakpointFetchedTimestamp,Date[_0x43f0ba(0x1ce)](),'f');_0x110098?__classPrivateFieldGet(_0xf68345,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0xf68345,_Debuglet_breakpointFetched,'f')[_0x43f0ba(0x1db)](),__classPrivateFieldSet(_0xf68345,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0xf68345,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x43f0ba(0x215)](_0xf68345,0x0,_0x110098,_0x2d62a9);return;},_0x2d62a9);},_0x14a066*0x3e8)[_0x38ee85(0x114)]();},_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_(_0x1eaa40){const _0x57949c=a17_0x583f43,_0x3fc193=this,_0xd9723=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)['call'](this,_0x1eaa40);let _0x77934d=![];return _0x1eaa40[_0x57949c(0x136)](_0xb699b0=>{const _0x23f55b=_0x57949c;!__classPrivateFieldGet(_0x3fc193,_Debuglet_completedBreakpointMap,'f')[_0xb699b0['id']]&&!_0x3fc193[_0x23f55b(0x11b)][_0xb699b0['id']]&&(__classPrivateFieldGet(_0x3fc193,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x23f55b(0x215)](_0x3fc193,_0xb699b0,_0x214655=>{const _0x45c46d=_0x23f55b;_0x214655&&__classPrivateFieldGet(_0x3fc193,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x45c46d(0x215)](_0x3fc193,_0xb699b0,!![],![]);}),_0x77934d=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0xb699b0['id'])),__classPrivateFieldGet(_0x3fc193,_Debuglet_quotaManager,'f')['setIgnoreQuota'](_0xb699b0['id'],_0xb699b0[_0x23f55b(0x164)]),_0x3fc193['pipingManager'][_0x23f55b(0x196)](_0xb699b0['id'],_0xb699b0['pipingStatus']);}),(0x0,mapSubtract_1[_0x57949c(0x1ed)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0xd9723)[_0x57949c(0x136)](_0x3b54ce=>{delete __classPrivateFieldGet(_0x3fc193,_Debuglet_completedBreakpointMap,'f')[_0x3b54ce['id']],_0x77934d=!![];}),(0x0,mapSubtract_1['mapSubtract'])(this[_0x57949c(0x11b)],_0xd9723)[_0x57949c(0x136)](_0x16cb4c=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x16cb4c,!![]),_0x77934d=!![];}),_0x77934d&&_0x3fc193[_0x57949c(0x1f2)][_0x57949c(0x148)](formatBreakpoints('Server\x20breakpoints:\x0a',_0xd9723)),_0x77934d;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x2475cb){const _0x39d4d1=a17_0x583f43,_0x1c42ed={};return _0x2475cb[_0x39d4d1(0x136)](_0x35eaa3=>{_0x1c42ed[_0x35eaa3['id']]=_0x35eaa3;}),_0x1c42ed;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x1da7ba,_0xfd9eec){const _0x211db1=a17_0x583f43;this['logger']['info'](_0x211db1(0x204),_0x1da7ba),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x211db1(0x1f6)](_0x1da7ba['id']),this['pipingManager'][_0x211db1(0x1cb)](_0x1da7ba['id']),delete this[_0x211db1(0x11b)][_0x1da7ba['id']],_0xfd9eec&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x211db1(0x177)](_0x1da7ba,_0x5d28e1=>{const _0x4e51e7=_0x211db1;if(_0x5d28e1)this[_0x4e51e7(0x1f2)][_0x4e51e7(0x11a)](_0x5d28e1);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x10e34a,_0x5228d4){const _0x544604=a17_0x583f43,_0x53e012=this;_0x53e012[_0x544604(0x1f2)]['info'](_0x544604(0x137),_0x10e34a);if(!_0x53e012[_0x544604(0x185)][_0x544604(0x141)]&&(_0x10e34a[_0x544604(0x198)]||_0x10e34a[_0x544604(0x13c)])){_0x53e012[_0x544604(0x1f2)][_0x544604(0x11a)](utils_1[_0x544604(0x1d9)][_0x544604(0x1a0)]['description']||''),_0x10e34a[_0x544604(0x1d4)]=new status_message_1[(_0x544604(0x161))](status_message_1[_0x544604(0x161)]['UNSPECIFIED'],utils_1[_0x544604(0x1d9)][_0x544604(0x1a0)],!![]),setImmediate(()=>{const _0x1721ea=_0x544604;_0x5228d4(utils_1[_0x1721ea(0x1d9)][_0x1721ea(0x1a0)]);});return;}if((0x0,utils_1[_0x544604(0x145)])(process[_0x544604(0x1e3)],'5.2\x20||\x20<4')){const _0x36be08=utils_1[_0x544604(0x1d9)]['NODE_VERSION_MESSAGE'];_0x53e012['logger'][_0x544604(0x11a)](_0x36be08),_0x10e34a[_0x544604(0x1d4)]=new status_message_1[(_0x544604(0x161))](status_message_1[_0x544604(0x161)]['UNSPECIFIED'],_0x36be08,!![]),setImmediate(()=>{_0x5228d4(_0x36be08);});return;}const _0x221eed=_0x10e34a[_0x544604(0x16f)]?Number(_0x10e34a['createTime'][_0x544604(0x1ad)]):Date[_0x544604(0x1ce)]()/0x3e8,_0x48693b=_0x10e34a[_0x544604(0x206)]||_0x53e012[_0x544604(0x185)][_0x544604(0x1f9)];_0x10e34a[_0x544604(0x209)]=_0x221eed+_0x48693b,_0x10e34a[_0x544604(0x10e)]?.[_0x544604(0x1ff)]&&(_0x10e34a[_0x544604(0x10e)][_0x544604(0x1ff)]=path[_0x544604(0x1e2)](_0x10e34a[_0x544604(0x10e)][_0x544604(0x1ff)]),path[_0x544604(0x1bd)]===path['posix'][_0x544604(0x1bd)]&&(_0x10e34a[_0x544604(0x10e)]['path']=_0x10e34a[_0x544604(0x10e)][_0x544604(0x1ff)][_0x544604(0x18e)]('\x5c')[_0x544604(0x208)](path[_0x544604(0x1bd)]))),__classPrivateFieldGet(_0x53e012,_Debuglet_v8debug,'f')['set'](_0x10e34a,_0x1b4753=>{const _0x1b7a75=_0x544604;if(_0x1b4753){_0x5228d4(_0x1b4753);return;}_0x53e012[_0x1b7a75(0x1f2)][_0x1b7a75(0x178)](_0x1b7a75(0x1fe),_0x10e34a),_0x53e012[_0x1b7a75(0x11b)][_0x10e34a['id']]=_0x10e34a,_0x10e34a[_0x1b7a75(0x14c)]===_0x1b7a75(0x110)?__classPrivateFieldGet(_0x53e012,_Debuglet_v8debug,'f')[_0x1b7a75(0x17b)](_0x10e34a,(_0x4667e5,_0x15d363)=>{const _0x2df152=_0x1b7a75,_0x452d6c=_0x15d363[_0x2df152(0x14f)](_0x55ae3e=>__classPrivateFieldGet(_0x53e012,_Debuglet_instances,'m',_Debuglet_stringify)['call'](_0x53e012,_0x55ae3e)),_0xfb5b12=(0x0,format_1['format'])(_0x4667e5,_0x452d6c),_0xf53afb=_0x2df152(0x1e9)+(__classPrivateFieldGet(_0x53e012,_Debuglet_redactionManager,'f')?.[_0x2df152(0x1cd)](_0xfb5b12)||_0xfb5b12),_0x9eaba4=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x2df152(0x1b5)](_0xf53afb,_0x10e34a['id']);if(_0x9eaba4){const _0x334766=_0x9eaba4['message'],_0x1078fc=_0x9eaba4['isOutOfQuota'];let _0x146991,_0x123055;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x2df152(0x150)]()&&!_0x1078fc&&(_0x146991=_0x2df152(0x1e9)+_0x4667e5,_0x123055=_0x452d6c);_0x53e012[_0x2df152(0x1a2)][_0x2df152(0x183)](_0x53e012[_0x2df152(0x1d3)],_0x10e34a['id'],_0x334766,_0x10e34a[_0x2df152(0x1c1)],_0x146991,_0x123055);if(_0x1078fc)__classPrivateFieldGet(_0x53e012,_Debuglet_v8debug,'f')?.['disable'](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x1c8863=_0x2df152;__classPrivateFieldGet(_0x53e012,_Debuglet_v8debug,'f')?.[_0x1c8863(0x17e)](),__classPrivateFieldSet(_0x53e012,_Debuglet_nextEnableTimeout,null,'f');},_0x53e012['config'][_0x2df152(0x14e)][_0x2df152(0x1d8)]*0x3e8),'f');else _0x334766?.[_0x2df152(0x1c9)]===0x0&&__classPrivateFieldGet(_0x53e012,_Debuglet_v8debug,'f')?.[_0x2df152(0x112)]();}},()=>{return __classPrivateFieldGet(_0x53e012,_Debuglet_completedBreakpointMap,'f')[_0x10e34a['id']];},_0x1e0295=>{const _0x1a47e0=_0x1b7a75;if(_0x1e0295){_0x53e012['logger'][_0x1a47e0(0x11a)](_0x1e0295),_0x5228d4(_0x1e0295);return;}}):__classPrivateFieldGet(_0x53e012,_Debuglet_v8debug,'f')[_0x1b7a75(0x1a5)](_0x10e34a,_0x1c8bf1=>{const _0x3dfd68=_0x1b7a75;if(_0x1c8bf1){setImmediate(()=>{const _0x1b9c9f=a17_0x2f44;_0x53e012[_0x1b9c9f(0x1f2)][_0x1b9c9f(0x11a)](_0x1c8bf1),_0x5228d4(_0x1c8bf1);});return;}_0x53e012[_0x3dfd68(0x1f2)]['info'](_0x3dfd68(0x13d),_0x10e34a),__classPrivateFieldGet(_0x53e012,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x3dfd68(0x215)](_0x53e012,_0x10e34a,__classPrivateFieldGet(_0x53e012,_Debuglet_v8debug,'f')[_0x3dfd68(0x144)](_0x10e34a['id'])<=0x0);}),__classPrivateFieldGet(_0x53e012,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x1b7a75(0x215)](_0x53e012,_0x10e34a);}),this[_0x544604(0x193)](_0x544604(0x18c));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x258066,_0x5b25ed,_0x97899e=!![]){const _0x3df048=a17_0x583f43,_0xa71ed5=this;if(_0x258066[_0x3df048(0x1d4)]&&_0x258066[_0x3df048(0x1d4)][_0x3df048(0x184)]){let _0x3e1723=_0x258066['status']?.[_0x3df048(0x190)]?.['format']||'';_0x258066[_0x3df048(0x1d4)]?.['description']?.[_0x3df048(0x135)]&&(_0x3e1723+=':\x20'+_0x258066[_0x3df048(0x1d4)]?.[_0x3df048(0x190)]?.[_0x3df048(0x135)]['toString']()),_0xa71ed5[_0x3df048(0x1f2)][_0x3df048(0x13e)]('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x258066+_0x3df048(0x172)+_0x3e1723);}else _0xa71ed5['logger'][_0x3df048(0x178)]('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',_0x258066);_0x5b25ed&&(__classPrivateFieldGet(_0xa71ed5,_Debuglet_completedBreakpointMap,'f')[_0x258066['id']]=!![],__classPrivateFieldGet(_0xa71ed5,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3df048(0x215)](_0xa71ed5,_0x258066,_0x97899e)),__classPrivateFieldGet(_0xa71ed5,_Debuglet_controller,'f')[_0x3df048(0x202)](_0xa71ed5[_0x3df048(0x1d3)],extend(!![],{},_0x258066));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x59984c){const _0x41b181=a17_0x583f43,_0x9f300=this;_0x9f300[_0x41b181(0x1f2)]['debug'](_0x41b181(0x181)+_0x59984c+_0x41b181(0x13b));const _0x234c6b=extend(!![],{},_0x59984c);_0x234c6b[_0x41b181(0x17a)]=![],_0x234c6b[_0x41b181(0x1d4)]=new status_message_1[(_0x41b181(0x161))](status_message_1['StatusMessage'][_0x41b181(0x154)],undefined,![],!![]),__classPrivateFieldGet(_0x9f300,_Debuglet_controller,'f')[_0x41b181(0x202)](_0x9f300['debuggee'],_0x234c6b);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x4592a8){const _0x4a67fb=a17_0x583f43,_0x3c4306=this;this[_0x4a67fb(0x1f2)][_0x4a67fb(0x178)](_0x4a67fb(0x16e),_0x4592a8),__classPrivateFieldGet(_0x3c4306,_Debuglet_completedBreakpointMap,'f')[_0x4592a8['id']]=!![],__classPrivateFieldGet(_0x3c4306,_Debuglet_controller,'f')[_0x4a67fb(0x202)](_0x3c4306[_0x4a67fb(0x1d3)],_0x4592a8);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x30cc04){const _0x4f9e61=a17_0x583f43,_0x22fc51=this;_0x30cc04[_0x4f9e61(0x136)](_0xefb528=>{const _0x5173bc=_0x4f9e61;_0x22fc51[_0x5173bc(0x1f2)][_0x5173bc(0x178)]('Expiring\x20breakpoint',_0xefb528),__classPrivateFieldGet(_0x22fc51,_Debuglet_completedBreakpointMap,'f')[_0xefb528['id']]=!![],__classPrivateFieldGet(_0x22fc51,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x5173bc(0x215)](_0x22fc51,_0xefb528,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x3f1ff5=a17_0x583f43,_0x3701c7=Date[_0x3f1ff5(0x1ce)]()/0x3e8;return Object[_0x3f1ff5(0x1f3)](this[_0x3f1ff5(0x11b)])[_0x3f1ff5(0x153)](_0x12c907=>_0x12c907['expirationTime']?_0x12c907[_0x3f1ff5(0x209)]<_0x3701c7:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x3e0995){const _0x3142ac=a17_0x583f43,_0x1c75fb=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x3e0995),_0x1e7a2f=_0x1c75fb[_0x3142ac(0x123)],_0x3d0bae=_0x1c75fb[_0x3142ac(0x18d)];_0x1e7a2f&&_0x1e7a2f[_0x3142ac(0x1c9)]&&this[_0x3142ac(0x1f2)][_0x3142ac(0x148)](_0x3142ac(0x134),_0x1e7a2f['join']('\x0a\x09')),_0x3d0bae&&_0x3d0bae['length']&&this['logger'][_0x3142ac(0x148)](_0x3142ac(0x146),_0x3d0bae[_0x3142ac(0x208)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x3142ac(0x1ca))](_0x1e7a2f,_0x3d0bae,this[_0x3142ac(0x185)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x13e861){const _0x119d68=a17_0x583f43,_0x492dfd=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getRedactions'](_0x13e861);_0x492dfd?.[_0x119d68(0x1c9)]&&this['logger'][_0x119d68(0x148)](_0x119d68(0x138),_0x492dfd['map'](_0xe2bacd=>_0x119d68(0x1fd)+_0xe2bacd[_0x119d68(0x1f5)]+_0x119d68(0x162)+_0xe2bacd[_0x119d68(0x117)]+_0x119d68(0x1be)+_0xe2bacd[_0x119d68(0x166)]+'\x20caseInsensitive:\x20'+_0xe2bacd['caseInsensitive'])['join']('\x0a\x09'));if((0x0,utils_1[_0x119d68(0x145)])(process['version'],_0x119d68(0x1b2))){const {RedactionManagerRE2JS:_0x3148ba}=await Promise[_0x119d68(0x1db)]()[_0x119d68(0x122)](()=>require(_0x119d68(0x1d7)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x3148ba(this[_0x119d68(0x1f2)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['setPatterns'](_0x492dfd);}},_Debuglet_stringify=function _Debuglet_stringify(_0x12de43){const _0x4136c2=a17_0x583f43;if(!_0x12de43)return JSON[_0x4136c2(0x1e7)](_0x12de43,(_0x29d899,_0x4ea83a)=>_0x4ea83a===undefined?'undefined':_0x4ea83a);if(Array[_0x4136c2(0x1a1)](_0x12de43)){const _0x5a679c=[];for(const _0x549371 of _0x12de43){_0x5a679c[_0x4136c2(0x1b6)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x4136c2(0x215)](this,_0x549371));}return'['+_0x5a679c[_0x4136c2(0x208)](',\x20')+']';}if(typeof _0x12de43===_0x4136c2(0x19b)){const _0x26fc2b=Object[_0x4136c2(0x210)](_0x12de43)[_0x4136c2(0x14f)](([_0x1186f2,_0x2a0242])=>{const _0x5850bb=_0x4136c2,_0x146bc9=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x5850bb(0x1b7)](_0x1186f2)?redaction_manager_1['REDACTED_PLACEHOLDER']:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x2a0242);return JSON[_0x5850bb(0x1e7)](_0x1186f2)+':\x20'+_0x146bc9;})[_0x4136c2(0x208)](',\x20');return'{'+_0x26fc2b+'}';}return JSON['stringify'](_0x12de43);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a18_0xfe42(){const _0x86276=['readFileSync','linuxDistroName','runtimeEnvironmentInfo','_logger','11613960zzNDST','split','host','arm64','123944HOATOL','apply','1315gIeZEh','isInK8s','node','version','platform','procArch','getProps','2KZFcVA','1942701ZJtSfa','__esModule','VERSION_ID','runtimeEnvironmentVersion','pid','linux','MacOS','search','x32','KUBERNETES_SERVICE_HOST','hostname','cpuCoreCount','cpus','set','Node.js\x20','agentOS','osVersion','arch','match','(((.+)+)+)+$','toString','\x20on\x20','systemTotalMemoryBytes','error','existsSync','mac','env','91bzlPgq','_cachedOsRelease','_osRelease','5839128gmhaja','1069926xpRoMR','Linux','1244etQyiY','x64','versions','671011siiJbm','arm','length','assert','release','/etc/os-release','isInDocker','warn','get'];a18_0xfe42=function(){return _0x86276;};return a18_0xfe42();}function a18_0x570e(_0x38a748,_0x59c1c9){const _0x4c7dae=a18_0xfe42();return a18_0x570e=function(_0x29ae5d,_0x2a0a5e){_0x29ae5d=_0x29ae5d-0x166;let _0xfe429f=_0x4c7dae[_0x29ae5d];return _0xfe429f;},a18_0x570e(_0x38a748,_0x59c1c9);}const a18_0x456aac=a18_0x570e;(function(_0x37e80d,_0x144bbd){const _0x18d746=a18_0x570e,_0x54dfd5=_0x37e80d();while(!![]){try{const _0x1f0c16=-parseInt(_0x18d746(0x176))/0x1+-parseInt(_0x18d746(0x190))/0x2*(parseInt(_0x18d746(0x191))/0x3)+parseInt(_0x18d746(0x173))/0x4*(-parseInt(_0x18d746(0x189))/0x5)+-parseInt(_0x18d746(0x171))/0x6+parseInt(_0x18d746(0x16d))/0x7*(parseInt(_0x18d746(0x187))/0x8)+parseInt(_0x18d746(0x170))/0x9+parseInt(_0x18d746(0x183))/0xa;if(_0x1f0c16===_0x144bbd)break;else _0x54dfd5['push'](_0x54dfd5['shift']());}catch(_0x338e49){_0x54dfd5['push'](_0x54dfd5['shift']());}}}(a18_0xfe42,0x69b09));Object['defineProperty'](exports,a18_0x456aac(0x192),{'value':!![]}),exports['EnvironmentMetadata']=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a18_0x456aac(0x179));var OS;(function(_0x1497af){const _0x523524=a18_0x456aac;_0x1497af[_0x523524(0x172)]=_0x523524(0x196),_0x1497af['Windows']='windows',_0x1497af[_0x523524(0x197)]=_0x523524(0x16b);}(OS||(OS={})));var ProcArch;(function(_0x243f7e){const _0x476787=a18_0x456aac,_0x33eb8a=(function(){let _0x17b100=!![];return function(_0x5a0c0d,_0xd81b74){const _0x355e75=_0x17b100?function(){const _0x450a9b=a18_0x570e;if(_0xd81b74){const _0x58215a=_0xd81b74[_0x450a9b(0x188)](_0x5a0c0d,arguments);return _0xd81b74=null,_0x58215a;}}:function(){};return _0x17b100=![],_0x355e75;};}()),_0x487362=_0x33eb8a(this,function(){const _0x4a605f=a18_0x570e;return _0x487362[_0x4a605f(0x166)]()[_0x4a605f(0x198)]('(((.+)+)+)+$')[_0x4a605f(0x166)]()['constructor'](_0x487362)[_0x4a605f(0x198)](_0x4a605f(0x1a4));});_0x487362(),_0x243f7e[_0x476787(0x174)]='x64',_0x243f7e['x32']=_0x476787(0x199),_0x243f7e[_0x476787(0x177)]=_0x476787(0x177),_0x243f7e['arm64']=_0x476787(0x186);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a18_0x456aac(0x172)],'win32':OS['Windows'],'darwin':OS[a18_0x456aac(0x197)]},ArchToProcArchMap={'x32':ProcArch['x32'],'x64':ProcArch[a18_0x456aac(0x174)],'arm':ProcArch[a18_0x456aac(0x177)],'arm64':ProcArch[a18_0x456aac(0x186)]};class EnvironmentMetadata{constructor(_0x140eb1){const _0x3b769f=a18_0x456aac;assert(_0x140eb1!==null),this[_0x3b769f(0x182)]=_0x140eb1;}get[a18_0x456aac(0x194)](){const _0x57a02b=a18_0x456aac;try{const _0x16f6b5=process[_0x57a02b(0x175)][_0x57a02b(0x18b)][_0x57a02b(0x1a3)](/(\d+\.\d+)\..*/);if(_0x16f6b5)return _0x16f6b5[0x1];}catch(_0x5392ab){this[_0x57a02b(0x182)]['error'](_0x5392ab);}return;}get['runtimeEnvironmentInfo'](){const _0x34187f=a18_0x456aac;return _0x34187f(0x19f)+process[_0x34187f(0x18c)]+_0x34187f(0x167)+(0x0,os_1[_0x34187f(0x18d)])()+'\x20'+(0x0,os_1[_0x34187f(0x17a)])();}get[a18_0x456aac(0x195)](){const _0x5c07de=a18_0x456aac;return process[_0x5c07de(0x195)][_0x5c07de(0x166)]();}get['procArch'](){const _0x5b1ccb=a18_0x456aac;return ArchToProcArchMap[process['arch']]||process[_0x5b1ccb(0x1a2)];}get[a18_0x456aac(0x19c)](){const _0x194c1f=a18_0x456aac;return(0x0,os_1[_0x194c1f(0x19d)])()[_0x194c1f(0x178)];}get[a18_0x456aac(0x168)](){return(0x0,os_1['totalmem'])();}get[a18_0x456aac(0x185)](){const _0x2ab756=a18_0x456aac;return(0x0,os_1[_0x2ab756(0x19b)])();}get[a18_0x456aac(0x1a0)](){const _0x5ac38f=a18_0x456aac;return PlatformToOsMap[(0x0,os_1['platform'])()]||(0x0,os_1[_0x5ac38f(0x18d)])();}get[a18_0x456aac(0x1a1)](){const _0x220dce=a18_0x456aac;try{if(this[_0x220dce(0x1a0)]===OS[_0x220dce(0x172)])return this['_osRelease'][_0x220dce(0x17e)](_0x220dce(0x193))||(0x0,os_1[_0x220dce(0x17a)])();return(0x0,os_1['release'])();}catch(_0x208c2f){this[_0x220dce(0x182)][_0x220dce(0x169)](_0x208c2f);}return;}get['linuxDistroName'](){const _0x2f8561=a18_0x456aac;return this['agentOS']===OS[_0x2f8561(0x172)]&&this[_0x2f8561(0x16f)][_0x2f8561(0x17e)]('ID')||'';}get[a18_0x456aac(0x17c)](){const _0x4c89f6=a18_0x456aac;return this[_0x4c89f6(0x1a0)]===OS[_0x4c89f6(0x172)]?(0x0,fs_1[_0x4c89f6(0x16a)])('/.dockerenv'):![];}get[a18_0x456aac(0x18a)](){const _0x558881=a18_0x456aac;return!!process[_0x558881(0x16c)][_0x558881(0x19a)];}get[a18_0x456aac(0x16f)](){const _0x20bf3b=a18_0x456aac;if(!this[_0x20bf3b(0x16e)]){this[_0x20bf3b(0x16e)]=new Map();try{if(this['agentOS']===OS[_0x20bf3b(0x172)]){const _0x23a79f=(0x0,fs_1[_0x20bf3b(0x17f)])(_0x20bf3b(0x17b),'utf-8');_0x23a79f['split'](/\r?\n/)['forEach'](_0x483cc3=>{const _0x5a864=_0x20bf3b,[_0xb51202,_0xd018e3]=_0x483cc3['trim']()[_0x5a864(0x184)]('=');this[_0x5a864(0x16e)]?.[_0x5a864(0x19e)](_0xb51202,_0xd018e3?.['replace'](/^"|"$/g,'')||'');});}}catch(_0x543cd6){this[_0x20bf3b(0x182)][_0x20bf3b(0x17d)]('Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release',_0x543cd6);}}return this[_0x20bf3b(0x16e)];}[a18_0x456aac(0x18f)](){const _0x26ba21=a18_0x456aac;return{'runtimeEnvironmentVersion':this[_0x26ba21(0x194)],'runtimeEnvironmentInfo':this[_0x26ba21(0x181)],'pid':this['pid'],'cpuCoreCount':this[_0x26ba21(0x19c)],'systemTotalMemoryBytes':this[_0x26ba21(0x168)],'host':this[_0x26ba21(0x185)],'agentOS':this[_0x26ba21(0x1a0)],'osVersion':this[_0x26ba21(0x1a1)],'linuxDistroName':this[_0x26ba21(0x180)]||undefined,'isInDocker':this['isInDocker'],'isInK8s':this['isInK8s'],'procArch':this[_0x26ba21(0x18e)]};}}exports['EnvironmentMetadata']=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a19_0x82638=a19_0x4930;(function(_0x12878d,_0x1230a1){const _0x49ccf5=a19_0x4930,_0x481f85=_0x12878d();while(!![]){try{const _0x18f58d=parseInt(_0x49ccf5(0xf5))/0x1+-parseInt(_0x49ccf5(0x101))/0x2+-parseInt(_0x49ccf5(0xe8))/0x3+-parseInt(_0x49ccf5(0xe5))/0x4*(-parseInt(_0x49ccf5(0xfe))/0x5)+-parseInt(_0x49ccf5(0xe7))/0x6*(-parseInt(_0x49ccf5(0xf8))/0x7)+-parseInt(_0x49ccf5(0xee))/0x8*(parseInt(_0x49ccf5(0xf3))/0x9)+parseInt(_0x49ccf5(0xe2))/0xa;if(_0x18f58d===_0x1230a1)break;else _0x481f85['push'](_0x481f85['shift']());}catch(_0xcc6a41){_0x481f85['push'](_0x481f85['shift']());}}}(a19_0x17a8,0xee0fd));function a19_0x17a8(){const _0x1cba14=['FileIndex','8824135uhVoie','size','path','183696lkgMIQ','fileStats','search','add','sep','6862810NXVXvp','defineProperty','fileIndex','4cVvabm','buildIndex','6eidKJa','3216918NFmEkM','findShortestFuzzyMatches','_fileStats','generateSubPaths','apply','constructor','17944vHUhoD','indexOf','(((.+)+)+)+$','min','set','2313CCSKFp','length','165536dRIXlV','has','substring','693434TyrUsY','stripStartingSep','keys','__esModule','toString'];a19_0x17a8=function(){return _0x1cba14;};return a19_0x17a8();}const a19_0x5c1b3a=(function(){let _0x2c1155=!![];return function(_0xa8f18,_0x4ba7f1){const _0x5a4d26=_0x2c1155?function(){const _0x312be7=a19_0x4930;if(_0x4ba7f1){const _0x859810=_0x4ba7f1[_0x312be7(0xec)](_0xa8f18,arguments);return _0x4ba7f1=null,_0x859810;}}:function(){};return _0x2c1155=![],_0x5a4d26;};}()),a19_0x549c07=a19_0x5c1b3a(this,function(){const _0x29393a=a19_0x4930;return a19_0x549c07[_0x29393a(0xfc)]()[_0x29393a(0x103)](_0x29393a(0xf0))[_0x29393a(0xfc)]()[_0x29393a(0xed)](a19_0x549c07)[_0x29393a(0x103)](_0x29393a(0xf0));});a19_0x549c07();'use strict';Object[a19_0x82638(0xe3)](exports,a19_0x82638(0xfb),{'value':!![]}),exports[a19_0x82638(0xfd)]=void 0x0;const path=require(a19_0x82638(0x100));class FileIndex{constructor(_0x4eb819){const _0x3fb53c=a19_0x82638;this['_fileStats']=_0x4eb819,this[_0x3fb53c(0xe4)]=new Map();}static['fromFileStats'](_0x23b96a){const _0x3adfb0=a19_0x82638,_0x4c1752=new FileIndex(_0x23b96a);return _0x4c1752[_0x3adfb0(0xe6)](Object[_0x3adfb0(0xfa)](_0x23b96a)||[]),_0x4c1752;}static['fromFileList'](_0x3500ee){const _0x2dc2c8=a19_0x82638,_0x2a4d22=new FileIndex(undefined);return _0x2a4d22[_0x2dc2c8(0xe6)](_0x3500ee||[]),_0x2a4d22;}get[a19_0x82638(0x102)](){const _0x3ce64e=a19_0x82638;return this[_0x3ce64e(0xea)]||{};}[a19_0x82638(0xe9)](_0x24e57c){const _0x509310=a19_0x82638,_0x89ea0d=this[_0x509310(0x103)](_0x24e57c);if(!_0x89ea0d||_0x89ea0d[_0x509310(0xff)]===0x0)return[];const _0x159337=[..._0x89ea0d]['map'](_0x11f84f=>_0x11f84f['length']),_0x154292=Math[_0x509310(0xf1)](..._0x159337),_0x3f663a=[..._0x89ea0d]['filter'](_0x508dc2=>_0x508dc2['length']===_0x154292);return _0x3f663a;}[a19_0x82638(0xe6)](_0x2f90ac){const _0x344b5b=a19_0x82638;for(const _0x6d8505 of _0x2f90ac){for(const _0x47d7a7 of this[_0x344b5b(0xeb)](_0x6d8505)){let _0x4678dc=this['fileIndex']['get'](_0x47d7a7);_0x4678dc===undefined&&(_0x4678dc=new Set(),this[_0x344b5b(0xe4)][_0x344b5b(0xf2)](_0x47d7a7,_0x4678dc)),_0x4678dc[_0x344b5b(0xe0)](_0x6d8505);}}}[a19_0x82638(0xeb)](_0x58e0ac){const _0x6400ae=a19_0x82638;_0x58e0ac=this[_0x6400ae(0xf9)](_0x58e0ac);const _0x50a310=[_0x58e0ac];while(_0x58e0ac[_0x6400ae(0xef)](path['sep'])>=0x0){_0x58e0ac=_0x58e0ac[_0x6400ae(0xf7)](_0x58e0ac[_0x6400ae(0xef)](path[_0x6400ae(0xe1)])+path[_0x6400ae(0xe1)][_0x6400ae(0xf4)],_0x58e0ac['length']),_0x50a310['push'](_0x58e0ac);}return _0x50a310;}[a19_0x82638(0x103)](_0x4e757f){const _0x1768ef=a19_0x82638;if(!_0x4e757f)return undefined;_0x4e757f=this[_0x1768ef(0xf9)](_0x4e757f);for(const _0x652256 of this[_0x1768ef(0xeb)](_0x4e757f)){if(this[_0x1768ef(0xe4)][_0x1768ef(0xf6)](_0x652256))return this[_0x1768ef(0xe4)]['get'](_0x652256);}return undefined;}[a19_0x82638(0xf9)](_0x299f55){if(_0x299f55&&(_0x299f55[0x0]==='/'||_0x299f55[0x0]==='\x5c'))return _0x299f55['substr'](0x1);return _0x299f55;}}function a19_0x4930(_0x5db966,_0x16380b){const _0x317557=a19_0x17a8();return a19_0x4930=function(_0x549c07,_0x5c1b3a){_0x549c07=_0x549c07-0xe0;let _0x17a8ee=_0x317557[_0x549c07];return _0x17a8ee;},a19_0x4930(_0x5db966,_0x16380b);}exports[a19_0x82638(0xfd)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x41b09b=a20_0x33d2;function a20_0x33d2(_0x3eba77,_0x1b9958){const _0xf70bf0=a20_0x1d8f();return a20_0x33d2=function(_0x34b364,_0xbf7a3){_0x34b364=_0x34b364-0x17a;let _0x1d8f7e=_0xf70bf0[_0x34b364];return _0x1d8f7e;},a20_0x33d2(_0x3eba77,_0x1b9958);}(function(_0x5e09a4,_0x195463){const _0x37d24f=a20_0x33d2,_0x97e846=_0x5e09a4();while(!![]){try{const _0x5ccb09=-parseInt(_0x37d24f(0x191))/0x1+parseInt(_0x37d24f(0x18c))/0x2+parseInt(_0x37d24f(0x187))/0x3+-parseInt(_0x37d24f(0x17b))/0x4*(parseInt(_0x37d24f(0x196))/0x5)+-parseInt(_0x37d24f(0x17d))/0x6+-parseInt(_0x37d24f(0x182))/0x7*(-parseInt(_0x37d24f(0x18b))/0x8)+-parseInt(_0x37d24f(0x197))/0x9*(-parseInt(_0x37d24f(0x186))/0xa);if(_0x5ccb09===_0x195463)break;else _0x97e846['push'](_0x97e846['shift']());}catch(_0x13603b){_0x97e846['push'](_0x97e846['shift']());}}}(a20_0x1d8f,0xbdd19));const a20_0xbf7a3=(function(){let _0x29e12a=!![];return function(_0x43fa0e,_0x59832c){const _0x5db1b8=_0x29e12a?function(){const _0x577d3f=a20_0x33d2;if(_0x59832c){const _0x2ea0d9=_0x59832c[_0x577d3f(0x181)](_0x43fa0e,arguments);return _0x59832c=null,_0x2ea0d9;}}:function(){};return _0x29e12a=![],_0x5db1b8;};}()),a20_0x34b364=a20_0xbf7a3(this,function(){const _0x370b56=a20_0x33d2;return a20_0x34b364[_0x370b56(0x190)]()[_0x370b56(0x198)](_0x370b56(0x188))[_0x370b56(0x190)]()[_0x370b56(0x180)](a20_0x34b364)[_0x370b56(0x198)](_0x370b56(0x188));});function a20_0x1d8f(){const _0xf4aa7=['apply','8577786vVgaLT','sep','errorMap','replace','10SWkdsH','500391YDtaJM','(((.+)+)+)+$','defineProperty','keys','8KcjBRT','2283208DCMioz','hash','stats','errors','toString','636799VfkUTe','filter','path','test','selectStats','5680785juHhps','1064241kqWEPm','search','forEach','4HeGDqm','selectFiles','609570RhMtCX','normalize','ScanResultsImpl','constructor'];a20_0x1d8f=function(){return _0xf4aa7;};return a20_0x1d8f();}a20_0x34b364();'use strict';Object[a20_0x41b09b(0x189)](exports,'__esModule',{'value':!![]}),exports['ScanResultsImpl']=void 0x0;const path=require(a20_0x41b09b(0x193));class ScanResultsImpl{constructor(_0x53cbc1,_0x3d68a0,_0x300f77){const _0x2a984b=a20_0x41b09b;this[_0x2a984b(0x18e)]=_0x53cbc1,this[_0x2a984b(0x184)]=_0x3d68a0,this[_0x2a984b(0x18d)]=_0x300f77;}[a20_0x41b09b(0x18f)](){const _0x41774b=a20_0x41b09b;return this[_0x41774b(0x184)];}['all'](){return this['stats'];}[a20_0x41b09b(0x195)](_0x3daa4e){const _0x3851fe=a20_0x41b09b,_0x54429b={};return Object[_0x3851fe(0x18a)](this[_0x3851fe(0x18e)])[_0x3851fe(0x17a)](_0xe1f93=>{const _0x4f4cf9=_0x3851fe;_0x3daa4e[_0x4f4cf9(0x194)](_0xe1f93)&&(_0x54429b[_0xe1f93]=this[_0x4f4cf9(0x18e)][_0xe1f93]);}),_0x54429b;}[a20_0x41b09b(0x17c)](_0x2ef8d5,_0x495419){const _0x34ff9d=a20_0x41b09b;return _0x495419=path[_0x34ff9d(0x17e)](_0x495419+path[_0x34ff9d(0x183)]),Object[_0x34ff9d(0x18a)](this[_0x34ff9d(0x18e)])[_0x34ff9d(0x192)](_0x240523=>{const _0x55509e=_0x34ff9d;return _0x240523&&_0x2ef8d5[_0x55509e(0x194)](_0x240523);})['map'](_0x358695=>{const _0x2a8818=_0x34ff9d;return path['normalize'](_0x358695)[_0x2a8818(0x185)](_0x495419,'');});}}exports[a20_0x41b09b(0x17f)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x2a6e31=a21_0x57db;function a21_0x1543(){const _0x244bfe=['9wCVPTu','directory','constructor','node_modules','findit2','can\x27t\x20access\x20path:\x20[','(((.+)+)+)+$','33111612XnWWDH','warn','hex','computeStats','crypto','Scanner','info','306dABVJw','SHA1-','length','Specified\x20extraPaths\x20does\x20not\x20exist!','findFiles','4435016GiTgpu','file','createHash','addFilesFromDir','join','constants','add','.git','basename','digest','data','end','set','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','2087665fCodgf','602033hBoFOm','update','51667DzcdmR','toString','sort','apply','sha1','ScanResultsImpl','search','pipe','statsForFile','Indexing\x20files\x20in\x20','error','EMPTY-no-js-files','path','hasReadAccess','resolve','2462858iDYoxx','1121448EOFElg','from','startsWith','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','logger','defineProperty'];a21_0x1543=function(){return _0x244bfe;};return a21_0x1543();}(function(_0x2e2255,_0xef65d9){const _0x13eeab=a21_0x57db,_0x94502d=_0x2e2255();while(!![]){try{const _0x76383f=parseInt(_0x13eeab(0x1a0))/0x1+-parseInt(_0x13eeab(0x177))/0x2+parseInt(_0x13eeab(0x17e))/0x3*(-parseInt(_0x13eeab(0x178))/0x4)+-parseInt(_0x13eeab(0x19f))/0x5+parseInt(_0x13eeab(0x18c))/0x6*(-parseInt(_0x13eeab(0x1a2))/0x7)+-parseInt(_0x13eeab(0x191))/0x8+parseInt(_0x13eeab(0x185))/0x9;if(_0x76383f===_0xef65d9)break;else _0x94502d['push'](_0x94502d['shift']());}catch(_0x13bcf1){_0x94502d['push'](_0x94502d['shift']());}}}(a21_0x1543,0xd2055));const a21_0x351d01=(function(){let _0x50af21=!![];return function(_0x2fdd8c,_0x37de78){const _0x1cf3a6=_0x50af21?function(){const _0x3cd8c5=a21_0x57db;if(_0x37de78){const _0x336a2f=_0x37de78[_0x3cd8c5(0x1a5)](_0x2fdd8c,arguments);return _0x37de78=null,_0x336a2f;}}:function(){};return _0x50af21=![],_0x1cf3a6;};}()),a21_0x5e2c62=a21_0x351d01(this,function(){const _0x139e29=a21_0x57db;return a21_0x5e2c62[_0x139e29(0x1a3)]()['search'](_0x139e29(0x184))['toString']()[_0x139e29(0x180)](a21_0x5e2c62)[_0x139e29(0x16e)]('(((.+)+)+)+$');});a21_0x5e2c62();function a21_0x57db(_0x2a90bf,_0x1e5748){const _0x10cad3=a21_0x1543();return a21_0x57db=function(_0x5e2c62,_0x351d01){_0x5e2c62=_0x5e2c62-0x16c;let _0x154329=_0x10cad3[_0x5e2c62];return _0x154329;},a21_0x57db(_0x2a90bf,_0x1e5748);}'use strict';Object[a21_0x2a6e31(0x17d)](exports,'__esModule',{'value':!![]}),exports[a21_0x2a6e31(0x18a)]=void 0x0;const crypto=require(a21_0x2a6e31(0x189)),fs=require('fs'),path=require(a21_0x2a6e31(0x174)),scan_results_1=require('./scan-results');class Scanner{constructor(_0x5bdebb){const _0x3a3d50=a21_0x2a6e31;this[_0x3a3d50(0x17c)]=_0x5bdebb;}async['scan'](_0x51c3f7,_0x2f78b4,_0x1c8394,_0x471c99){const _0x53932d=a21_0x2a6e31,_0x343165=await this[_0x53932d(0x190)](_0x51c3f7,_0x2f78b4,_0x471c99);return this['computeStats'](_0x343165,_0x1c8394);}[a21_0x2a6e31(0x188)](_0x13cf7d,_0x43fb02){return new Promise(async _0x1b90ff=>{const _0x49aa2c=a21_0x57db;if(_0x13cf7d[_0x49aa2c(0x18e)]===0x0){_0x1b90ff(new scan_results_1['ScanResultsImpl']({},new Map(),_0x49aa2c(0x173)));return;}const _0x33aaa4=[],_0x38b5be={},_0x3d020b=new Map();for(const _0x5b14cf of _0x13cf7d){try{const _0x3ea383=await this[_0x49aa2c(0x170)](_0x5b14cf,!_0x43fb02);!_0x43fb02&&_0x33aaa4['push'](_0x3ea383['hash']),_0x38b5be[_0x5b14cf]=_0x3ea383;}catch(_0xf53baa){_0x3d020b[_0x49aa2c(0x19d)](_0x5b14cf,_0xf53baa);}}let _0x22d042;if(!_0x43fb02){const _0x4b5dd0=_0x33aaa4[_0x49aa2c(0x1a4)]()[_0x49aa2c(0x195)](),_0x22482=crypto[_0x49aa2c(0x193)](_0x49aa2c(0x16c))[_0x49aa2c(0x1a1)](_0x4b5dd0)[_0x49aa2c(0x19a)](_0x49aa2c(0x187));_0x22d042=_0x49aa2c(0x18d)+_0x22482;}else _0x22d042=_0x43fb02;_0x1b90ff(new scan_results_1[(_0x49aa2c(0x16d))](_0x38b5be,_0x3d020b,_0x22d042));});}async[a21_0x2a6e31(0x190)](_0x2b0e5f,_0x1bf6fc,_0x22698f){const _0x10c38f=a21_0x2a6e31,_0x141c40=new Set();await this[_0x10c38f(0x194)](_0x141c40,_0x2b0e5f,_0x1bf6fc);for(const _0x589fe5 of _0x22698f??[]){if(_0x589fe5){const _0x2ca867=path[_0x10c38f(0x176)](_0x589fe5);try{await this[_0x10c38f(0x194)](_0x141c40,_0x2ca867,_0x1bf6fc);}catch(_0x152c57){this[_0x10c38f(0x17c)][_0x10c38f(0x172)](_0x10c38f(0x18f),_0x152c57);continue;}}}return Array[_0x10c38f(0x179)](_0x141c40);}static[a21_0x2a6e31(0x175)](_0x29c22f){const _0x57a125=a21_0x2a6e31;try{return fs['accessSync'](_0x29c22f,fs[_0x57a125(0x196)]['R_OK']),!![];}catch(_0x4462a0){return![];}}async['addFilesFromDir'](_0x222719,_0x13cc98,_0x5ec341){return new Promise((_0x5dbf04,_0x29a2f5)=>{const _0x300b3e=a21_0x57db;let _0x518699;if(!_0x13cc98){_0x29a2f5(new Error(_0x300b3e(0x19e)));return;}this[_0x300b3e(0x17c)][_0x300b3e(0x18b)](_0x300b3e(0x171)+path['resolve'](_0x13cc98));const _0x3c0ae5=findit(_0x13cc98);_0x3c0ae5['on'](_0x300b3e(0x172),_0x1b93dc=>{_0x518699=_0x1b93dc;return;}),_0x3c0ae5['on'](_0x300b3e(0x17f),(_0x537d30,_0xeb9d50,_0x373778)=>{const _0x101b23=_0x300b3e,_0x10309b=path[_0x101b23(0x199)](_0x537d30);!Scanner[_0x101b23(0x175)](_0x537d30)&&(this[_0x101b23(0x17c)][_0x101b23(0x186)](_0x101b23(0x183)+path[_0x101b23(0x176)](_0x537d30)+_0x101b23(0x17b)),_0x373778()),(_0x10309b===_0x101b23(0x198)||_0x10309b===_0x101b23(0x181))&&(!path[_0x101b23(0x176)](_0x13cc98)[_0x101b23(0x17a)](path[_0x101b23(0x176)](_0x537d30))&&_0x373778());}),_0x3c0ae5['on'](_0x300b3e(0x192),_0x316b9a=>{const _0x20810b=_0x300b3e;_0x5ec341['test'](_0x316b9a)&&_0x222719[_0x20810b(0x197)](_0x316b9a);}),_0x3c0ae5['on']('end',()=>{_0x518699?_0x29a2f5(_0x518699):_0x5dbf04();});});}async[a21_0x2a6e31(0x170)](_0x591553,_0x39378e){return new Promise((_0x1a42b6,_0x499653)=>{const _0x3465e3=a21_0x57db,_0x56e840=fs['createReadStream'](_0x591553);_0x56e840['on'](_0x3465e3(0x172),_0x5ad83f=>{_0x499653(_0x5ad83f);}),_0x56e840['on']('open',()=>{const _0x1cc2ff=_0x3465e3;let _0x1df2e6;_0x39378e&&(_0x1df2e6=crypto['createHash'](_0x1cc2ff(0x16c)));let _0x3f8838=0x0,_0x5810c7;const _0x4a6403=_0x56e840[_0x1cc2ff(0x16f)](split());_0x4a6403['on'](_0x1cc2ff(0x172),_0x502f89=>{_0x5810c7=_0x502f89;}),_0x4a6403['on'](_0x1cc2ff(0x19b),_0x430438=>{const _0x54ee88=_0x1cc2ff;_0x39378e&&_0x1df2e6[_0x54ee88(0x1a1)](_0x430438),_0x3f8838++;}),_0x4a6403['on'](_0x1cc2ff(0x19c),()=>{if(_0x5810c7)_0x499653(_0x5810c7);else{const _0x982413=_0x39378e?_0x1df2e6['digest']('hex'):undefined;_0x1a42b6({'hash':_0x982413,'lines':_0x3f8838});}});});});}}exports[a21_0x2a6e31(0x18a)]=Scanner;const findit=require(a21_0x2a6e31(0x182)),split=require('split');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x159231=a22_0x5595;function a22_0x5595(_0x1d7431,_0x3f238a){const _0x113237=a22_0x40db();return a22_0x5595=function(_0x54bb8d,_0x5115ff){_0x54bb8d=_0x54bb8d-0x144;let _0x40db38=_0x113237[_0x54bb8d];return _0x40db38;},a22_0x5595(_0x1d7431,_0x3f238a);}(function(_0x4a99c4,_0x5eb658){const _0xb89241=a22_0x5595,_0xd45cf9=_0x4a99c4();while(!![]){try{const _0x6a2ea0=parseInt(_0xb89241(0x154))/0x1*(parseInt(_0xb89241(0x15b))/0x2)+-parseInt(_0xb89241(0x15e))/0x3*(-parseInt(_0xb89241(0x17d))/0x4)+-parseInt(_0xb89241(0x178))/0x5*(-parseInt(_0xb89241(0x152))/0x6)+parseInt(_0xb89241(0x14d))/0x7+-parseInt(_0xb89241(0x17b))/0x8*(-parseInt(_0xb89241(0x161))/0x9)+-parseInt(_0xb89241(0x169))/0xa*(parseInt(_0xb89241(0x157))/0xb)+-parseInt(_0xb89241(0x165))/0xc;if(_0x6a2ea0===_0x5eb658)break;else _0xd45cf9['push'](_0xd45cf9['shift']());}catch(_0x77a078){_0xd45cf9['push'](_0xd45cf9['shift']());}}}(a22_0x40db,0x78e0e));const a22_0x5115ff=(function(){let _0x44e054=!![];return function(_0x1d1235,_0x1c4f32){const _0x2fc8e4=_0x44e054?function(){if(_0x1c4f32){const _0x501caa=_0x1c4f32['apply'](_0x1d1235,arguments);return _0x1c4f32=null,_0x501caa;}}:function(){};return _0x44e054=![],_0x2fc8e4;};}()),a22_0x54bb8d=a22_0x5115ff(this,function(){const _0x5d347c=a22_0x5595;return a22_0x54bb8d[_0x5d347c(0x14c)]()['search'](_0x5d347c(0x14f))[_0x5d347c(0x14c)]()[_0x5d347c(0x155)](a22_0x54bb8d)['search']('(((.+)+)+)+$');});a22_0x54bb8d();function a22_0x40db(){const _0x51aa03=['.map','create','8pTLDwQ','mappingInfo','3887668CHaTUv','substring','replace','getMappingInfo','SourceMapper','keys','relative','has','__esModule','findInSources','FileIndex','An\x20error\x20occurred\x20while\x20reading\x20the\x20','The\x20path\x20','startsWith','dirname','toString','4844560qwGnjn','sources','(((.+)+)+)+$','mapFile','from','1888776vsSwhP','\x20does\x20not\x20specify\x20a\x20sourcemap\x20file','5256GFSzZK','constructor','get','664499Rsjtuo','basename','endsWith','set','128KdsZOv','util','column','3oMIOua','line','Could\x20not\x20read\x20sourcemap\x20file\x20','4584258irFEnh','file','filter','An\x20error\x20occurred\x20while\x20processing\x20the\x20sourcemap\x20files','31158708KFxJpU','normalize','infoMap','promisify','60qyFCVP','sort','webpack://','outputFile','reduce','findShortestFuzzyMatches','mapConsumer','sourcemap\x20file\x20','allGeneratedPositionsFor','join','length','map','p-limit','toLowerCase','source-map','15YRhhus'];a22_0x40db=function(){return _0x51aa03;};return a22_0x40db();}'use strict';Object['defineProperty'](exports,a22_0x159231(0x145),{'value':!![]}),exports[a22_0x159231(0x17a)]=exports[a22_0x159231(0x181)]=void 0x0;const fs=require('fs'),pLimit=require(a22_0x159231(0x175)),path=require('path'),util_1=require(a22_0x159231(0x15c)),sourceMap=require(a22_0x159231(0x177)),file_index_1=require('./file-index'),CONCURRENCY=0xa,WEBPACK_PREFIX=a22_0x159231(0x16b),readFilep=(0x0,util_1[a22_0x159231(0x168)])(fs['readFile']),MAP_EXT=a22_0x159231(0x179);async function processSourcemap(_0x151bca,_0x31fe47){const _0x4dbd91=a22_0x159231;if(!_0x31fe47||!_0x31fe47[_0x4dbd91(0x159)](MAP_EXT))throw new Error(_0x4dbd91(0x149)+_0x31fe47+_0x4dbd91(0x153));_0x31fe47=path[_0x4dbd91(0x166)](_0x31fe47);let _0x198a3e;try{_0x198a3e=await readFilep(_0x31fe47,'utf8');}catch(_0x22833d){throw new Error(_0x4dbd91(0x160)+_0x31fe47+':\x20'+_0x22833d);}let _0x4f8bf6;try{_0x4f8bf6=new sourceMap['SourceMapConsumer'](_0x198a3e);}catch(_0x3e4837){throw new Error(_0x4dbd91(0x148)+_0x4dbd91(0x170)+_0x31fe47+':\x20'+_0x3e4837);}const _0x23c37d=_0x4f8bf6[_0x4dbd91(0x162)]?_0x4f8bf6[_0x4dbd91(0x162)]:path[_0x4dbd91(0x158)](_0x31fe47,_0x4dbd91(0x179)),_0x250ec5=path[_0x4dbd91(0x14b)](_0x31fe47),_0x7a99ed=path[_0x4dbd91(0x166)](path[_0x4dbd91(0x172)](_0x250ec5,_0x23c37d)),_0x2d7a07=_0x4f8bf6[_0x4dbd91(0x14e)][_0x4dbd91(0x163)](_0x354a63=>!!_0x354a63)[_0x4dbd91(0x16a)]((_0x3f79e8,_0x51ca17)=>_0x3f79e8[_0x4dbd91(0x173)]-_0x51ca17[_0x4dbd91(0x173)]),_0x5b50fc=_0x2d7a07[_0x4dbd91(0x174)](_0x4d5cb2=>{const _0xe393df=_0x4dbd91;if(_0x4d5cb2[_0xe393df(0x176)]()[_0xe393df(0x14a)](WEBPACK_PREFIX))return _0x4d5cb2[_0xe393df(0x17e)](WEBPACK_PREFIX[_0xe393df(0x173)]);return _0x4d5cb2;})['map'](_0x380dfa=>{const _0x4c7e64=_0x4dbd91;return path['normalize'](path[_0x4c7e64(0x172)](_0x250ec5,_0x380dfa));});if(_0x5b50fc['length']===0x0)throw new Error('No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20'+_0x31fe47);for(const _0x4f9385 of _0x5b50fc){_0x151bca[_0x4dbd91(0x15a)](path[_0x4dbd91(0x166)](_0x4f9385),{'outputFile':_0x7a99ed,'mapFile':_0x31fe47,'mapConsumer':_0x4f8bf6,'sources':_0x2d7a07});}}class SourceMapper{constructor(){const _0x316f42=a22_0x159231;this[_0x316f42(0x167)]=new Map();}['getMappingInfo'](_0xf7678b){const _0x56bcde=a22_0x159231;if(this[_0x56bcde(0x167)][_0x56bcde(0x144)](path[_0x56bcde(0x166)](_0xf7678b)))return{'entry':this['infoMap']['get'](_0xf7678b),'matchedPath':path['normalize'](_0xf7678b)};const _0x470d59=file_index_1[_0x56bcde(0x147)]['fromFileList'](Array[_0x56bcde(0x151)](this['infoMap'][_0x56bcde(0x182)]()))[_0x56bcde(0x16e)](_0xf7678b);if(_0x470d59['length']===0x1)return{'entry':this[_0x56bcde(0x167)][_0x56bcde(0x156)](_0x470d59[0x0]),'matchedPath':_0x470d59[0x0]};return null;}['hasMappingInfo'](_0x62824a){const _0xeec140=a22_0x159231;return this[_0xeec140(0x180)](_0x62824a)!==null;}[a22_0x159231(0x17c)](_0x415e72,_0x3e7ba0,_0x2b019d){const _0x2a4735=a22_0x159231;_0x415e72=path['normalize'](_0x415e72);const _0x215fde=this[_0x2a4735(0x180)](_0x415e72);if(!_0x215fde)return null;const {entry:_0x5a0134,matchedPath:_0x2ef602}=_0x215fde,_0x5c6ec2=path[_0x2a4735(0x183)](path[_0x2a4735(0x14b)](_0x5a0134[_0x2a4735(0x150)]),_0x2ef602)[_0x2a4735(0x17f)](/\\/g,'/');let _0x215908=this[_0x2a4735(0x146)](_0x5a0134,_0x5c6ec2);_0x215908=_0x215908||this[_0x2a4735(0x146)](_0x5a0134,_0x415e72);const _0x3ad15d={'source':_0x215908||_0x5c6ec2,'line':_0x3e7ba0+0x1,'column':_0x2b019d},_0x1402f0=_0x5a0134[_0x2a4735(0x16f)],_0x20a21e=_0x1402f0[_0x2a4735(0x171)](_0x3ad15d),_0x3419a9=_0x20a21e&&_0x20a21e[_0x2a4735(0x173)]>0x0?_0x20a21e[_0x2a4735(0x16d)]((_0x51ef5e,_0x2f1c06)=>{const _0x257453=_0x2a4735;return _0x2f1c06[_0x257453(0x15f)]<_0x51ef5e[_0x257453(0x15f)]?_0x2f1c06:_0x51ef5e;}):_0x1402f0['generatedPositionFor'](_0x3ad15d);return{'file':_0x5a0134[_0x2a4735(0x16c)],'line':_0x3419a9[_0x2a4735(0x15f)],'column':_0x3419a9[_0x2a4735(0x15d)]};}[a22_0x159231(0x146)](_0x1e70de,_0x5e39aa){const _0xa00125=a22_0x159231;for(const _0x46dfce of _0x1e70de[_0xa00125(0x14e)]){if(_0x46dfce[_0xa00125(0x159)](_0x5e39aa))return _0x46dfce;}return undefined;}}exports[a22_0x159231(0x181)]=SourceMapper;async function create(_0x30a048){const _0x4c82a8=a22_0x159231,_0x49fc7d=pLimit(CONCURRENCY),_0x4b793e=new SourceMapper(),_0x324396=_0x30a048[_0x4c82a8(0x174)](_0x385cf8=>_0x49fc7d(()=>processSourcemap(_0x4b793e[_0x4c82a8(0x167)],_0x385cf8)));try{await Promise['all'](_0x324396);}catch(_0x4d2bc6){throw new Error(_0x4c82a8(0x164)+_0x4d2bc6);}return _0x4b793e;}exports[a22_0x159231(0x17a)]=create;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a23_0x11fc0b=a23_0x169b;(function(_0x4f5cf0,_0x5223c5){const _0x2032ff=a23_0x169b,_0x3e5185=_0x4f5cf0();while(!![]){try{const _0x4bf184=-parseInt(_0x2032ff(0x90))/0x1+parseInt(_0x2032ff(0x8a))/0x2*(parseInt(_0x2032ff(0x8f))/0x3)+-parseInt(_0x2032ff(0x83))/0x4*(parseInt(_0x2032ff(0x7d))/0x5)+parseInt(_0x2032ff(0x87))/0x6*(parseInt(_0x2032ff(0x8b))/0x7)+-parseInt(_0x2032ff(0x8c))/0x8*(-parseInt(_0x2032ff(0x7a))/0x9)+parseInt(_0x2032ff(0x7f))/0xa*(-parseInt(_0x2032ff(0x94))/0xb)+parseInt(_0x2032ff(0x78))/0xc*(parseInt(_0x2032ff(0x86))/0xd);if(_0x4bf184===_0x5223c5)break;else _0x3e5185['push'](_0x3e5185['shift']());}catch(_0x30b0ca){_0x3e5185['push'](_0x3e5185['shift']());}}}(a23_0x4bef,0x36dff));const a23_0x2be5ef=(function(){let _0x270003=!![];return function(_0x35b80a,_0x48111a){const _0x1798f2=_0x270003?function(){const _0x16edc0=a23_0x169b;if(_0x48111a){const _0x1325c8=_0x48111a[_0x16edc0(0x8e)](_0x35b80a,arguments);return _0x48111a=null,_0x1325c8;}}:function(){};return _0x270003=![],_0x1798f2;};}()),a23_0xf22fc6=a23_0x2be5ef(this,function(){const _0x72ff54=a23_0x169b;return a23_0xf22fc6[_0x72ff54(0x84)]()['search'](_0x72ff54(0x75))[_0x72ff54(0x84)]()[_0x72ff54(0x8d)](a23_0xf22fc6)[_0x72ff54(0x7e)]('(((.+)+)+)+$');});a23_0xf22fc6();'use strict';Object['defineProperty'](exports,a23_0x11fc0b(0x77),{'value':!![]}),exports[a23_0x11fc0b(0x81)]=void 0x0;const NANOSECONDS_CONVERSION=0x3b9aca00;function a23_0x4bef(){const _0x397bc5=['416468BuZfIu','4518YqrBXN','fillTime','requestTokens','74170GlAVmU','581LAvwAU','16ySVOOb','constructor','apply','12sfeHnY','248994fvGRLg','tokens','takeTokens','nowInNanoSeconds','407RvrwqD','(((.+)+)+)+$','fractionalTokens','__esModule','96hWhlmu','capacity','923931ljyjvG','floor','fillRate','35615gKfyIT','search','5570OeiGhp','requestTokensSlow','LeakyBucket','min','100qYSXHm','toString','refillBucket'];a23_0x4bef=function(){return _0x397bc5;};return a23_0x4bef();}class LeakyBucket{constructor(_0x489bd0,_0xb53ab){const _0x5e3561=a23_0x11fc0b;this['tokens']=_0x489bd0,this[_0x5e3561(0x79)]=_0x489bd0,this[_0x5e3561(0x76)]=0x0,this[_0x5e3561(0x7c)]=_0xb53ab,this['fillTime']=this[_0x5e3561(0x93)]();}[a23_0x11fc0b(0x93)](){const _0x15d165=process['hrtime']();return _0x15d165[0x0]*NANOSECONDS_CONVERSION+_0x15d165[0x1];}[a23_0x11fc0b(0x85)](_0x4c9f6e){const _0x5d8117=a23_0x11fc0b,_0x404930=this['nowInNanoSeconds']()-this[_0x5d8117(0x88)];this[_0x5d8117(0x76)]+=Math[_0x5d8117(0x82)](_0x404930*(this[_0x5d8117(0x7c)]/NANOSECONDS_CONVERSION),this['capacity']);const _0x1a855b=Math[_0x5d8117(0x7b)](this['fractionalTokens']),_0x51e9e9=Math['floor'](this[_0x5d8117(0x79)]-_0x4c9f6e);let _0x4a7867=0x0;return _0x51e9e9<_0x1a855b?(this[_0x5d8117(0x76)]=0x0,_0x4a7867=_0x51e9e9):(_0x4a7867=_0x1a855b,this['fractionalTokens']-=_0x4a7867),this['tokens']+=_0x4a7867,this[_0x5d8117(0x88)]=this[_0x5d8117(0x93)](),_0x4a7867;}[a23_0x11fc0b(0x80)](_0x53d29e){const _0x467b39=a23_0x11fc0b;if(this[_0x467b39(0x91)]>0x0)return!![];const _0x58e441=this[_0x467b39(0x85)](this['tokens']+_0x53d29e);if(_0x58e441>0x0)return!![];return this[_0x467b39(0x91)]+=_0x53d29e,![];}[a23_0x11fc0b(0x92)](_0x4c0fe0){const _0xa7a87a=a23_0x11fc0b;this[_0xa7a87a(0x91)]-=_0x4c0fe0,this[_0xa7a87a(0x91)]<0x0&&this[_0xa7a87a(0x85)](this['tokens']);}[a23_0x11fc0b(0x89)](_0x36d45f){const _0x4566d5=a23_0x11fc0b;if(_0x36d45f>this[_0x4566d5(0x79)])return![];this[_0x4566d5(0x91)]-=_0x36d45f;if(this[_0x4566d5(0x91)]>=0x0)return!![];return this[_0x4566d5(0x80)](_0x36d45f);}}function a23_0x169b(_0x4aeb49,_0x59800b){const _0x52d706=a23_0x4bef();return a23_0x169b=function(_0xf22fc6,_0x2be5ef){_0xf22fc6=_0xf22fc6-0x75;let _0x4befad=_0x52d706[_0xf22fc6];return _0x4befad;},a23_0x169b(_0x4aeb49,_0x59800b);}exports[a23_0x11fc0b(0x81)]=LeakyBucket;
|