lightrun 1.58.0 → 1.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a16_0xdd4f(){const _0xcee8b=['LIGHTRUN_AGENT_CONFIG','LIGHTRUN_PROXY_USERNAME','split','message','validateSync','version','../config','57186zTtvrz','configSchema','AGENT_LOG_TARGET_DIR','LIGHTRUN_STD_ERR_THRESHOLD','AGENT_LOG_LEVEL','forEach','__esModule','621392XWvFvc','agentLogMaxFileSizeMb','env','stdErrThreshold','path','AGENT_LOG_MAX_FILE_COUNT','1760652UsZIWX','normalizeConfig','LIGHTRUN_TAGS','(((.+)+)+)+$','service','6vRNpMo','749850wPqTNK','inner','K_SERVICE','LIGHTRUN_API_ENDPOINT','GAE_SERVICE','agentLog','limitConfig','3442122ZKQUwj','apply','GAE_MODULE_VERSION','constructor','LIGHTRUN_PROXY_PASSWORD','GAE_VERSION','agentLogMaxFileCount','getAgentConfig','defaultConfig','registration','toString','624332epwDQQ','agentLogLevel','LIGHTRUN_PROXY_HOST','GAE_MINOR_VERSION','search','agentConfigFile','FETCH_BREAKPOINTS_ONCE','7XKwXoH','GAE_DEPLOYMENT_ID','validateConfig','1698824XHYubk','agentLogTargetDir','LIGHTRUN_INIT_WAIT_TIME_MS','LIGHTRUN_WAIT_FOR_INIT','FUNCTION_NAME','getBooleanValue','unversioned','filter','AGENT_LOG_MAX_FILE_SIZE_MB','K_REVISION'];a16_0xdd4f=function(){return _0xcee8b;};return a16_0xdd4f();}const a16_0x311a86=a16_0x283d;(function(_0x5cc1d8,_0x447de2){const _0x41e6ec=a16_0x283d,_0x3c74aa=_0x5cc1d8();while(!![]){try{const _0x771594=-parseInt(_0x41e6ec(0x170))/0x1+-parseInt(_0x41e6ec(0x195))/0x2+-parseInt(_0x41e6ec(0x182))/0x3*(-parseInt(_0x41e6ec(0x177))/0x4)+parseInt(_0x41e6ec(0x183))/0x5+parseInt(_0x41e6ec(0x17d))/0x6+-parseInt(_0x41e6ec(0x19c))/0x7*(-parseInt(_0x41e6ec(0x19f))/0x8)+-parseInt(_0x41e6ec(0x18a))/0x9;if(_0x771594===_0x447de2)break;else _0x3c74aa['push'](_0x3c74aa['shift']());}catch(_0x36c14e){_0x3c74aa['push'](_0x3c74aa['shift']());}}}(a16_0xdd4f,0x3467b));const a16_0x43c2f2=(function(){let _0x4f63ec=!![];return function(_0x482a21,_0x169a5c){const _0x1c40f1=_0x4f63ec?function(){const _0x294861=a16_0x283d;if(_0x169a5c){const _0x9e475d=_0x169a5c[_0x294861(0x18b)](_0x482a21,arguments);return _0x169a5c=null,_0x9e475d;}}:function(){};return _0x4f63ec=![],_0x1c40f1;};}()),a16_0x3896eb=a16_0x43c2f2(this,function(){const _0x46e7de=a16_0x283d;return a16_0x3896eb[_0x46e7de(0x194)]()[_0x46e7de(0x199)](_0x46e7de(0x180))[_0x46e7de(0x194)]()[_0x46e7de(0x18d)](a16_0x3896eb)[_0x46e7de(0x199)](_0x46e7de(0x180));});function a16_0x283d(_0x232da9,_0x3d92bc){const _0x2ab579=a16_0xdd4f();return a16_0x283d=function(_0x3896eb,_0x43c2f2){_0x3896eb=_0x3896eb-0x170;let _0xdd4fd8=_0x2ab579[_0x3896eb];return _0xdd4fd8;},a16_0x283d(_0x232da9,_0x3d92bc);}a16_0x3896eb();'use strict';Object['defineProperty'](exports,a16_0x311a86(0x176),{'value':!![]}),exports['normalizeConfig']=exports[a16_0x311a86(0x19e)]=void 0x0;const extend=require('extend'),config_1=require(a16_0x311a86(0x1af)),utils_1=require('../util/utils'),getAgentConfig_1=require('./getAgentConfig'),limitConfig_1=require('./limitConfig'),validateConfig=_0x2f97a7=>{const _0x3d5da2=a16_0x311a86,_0x13f052={};try{config_1[_0x3d5da2(0x171)][_0x3d5da2(0x1ad)](_0x2f97a7,{'abortEarly':![]});}catch(_0x1dfb24){_0x1dfb24[_0x3d5da2(0x184)][_0x3d5da2(0x1a6)](_0x3dc749=>_0x3dc749[_0x3d5da2(0x17b)]&&_0x3dc749[_0x3d5da2(0x1ac)])[_0x3d5da2(0x175)](_0x1923aa=>{const _0x34be91=_0x3d5da2;_0x13f052[_0x1923aa[_0x34be91(0x17b)]]=_0x1923aa[_0x34be91(0x1ac)];});}return _0x13f052;};exports[a16_0x311a86(0x19e)]=validateConfig;const normalizeConfig=_0x1415e6=>{const _0x38d3a8=a16_0x311a86,_0x35a94f={'serviceContext':{'service':process['env'][_0x38d3a8(0x187)]||process['env']['GAE_MODULE_NAME']||process[_0x38d3a8(0x179)][_0x38d3a8(0x185)],'version':process[_0x38d3a8(0x179)][_0x38d3a8(0x18f)]||process[_0x38d3a8(0x179)][_0x38d3a8(0x18c)]||process[_0x38d3a8(0x179)][_0x38d3a8(0x1a8)],'minorVersion_':process['env'][_0x38d3a8(0x19d)]||process[_0x38d3a8(0x179)][_0x38d3a8(0x198)]},'metadata':{'filename':process['env']['LIGHTRUN_METADATA_FILE'],'registration':{}},'lightrunSecret':process['env']['LIGHTRUN_SECRET'],'apiEndpoint':process['env'][_0x38d3a8(0x186)],'noCheckCertificate':(0x0,utils_1[_0x38d3a8(0x1a4)])(process[_0x38d3a8(0x179)]['NO_CHECK_CERTIFICATE']),'fetchBreakpointsOnce':(0x0,utils_1[_0x38d3a8(0x1a4)])(process['env'][_0x38d3a8(0x19b)]),'lightrunWaitForInit':(0x0,utils_1[_0x38d3a8(0x1a4)])(process['env'][_0x38d3a8(0x1a2)]),'lightrunInitWaitTimeMs':process[_0x38d3a8(0x179)][_0x38d3a8(0x1a1)],'agentLog':_0x1415e6?.[_0x38d3a8(0x188)]||{},'proxy':{'host':process['env'][_0x38d3a8(0x197)],'port':parseInt(process[_0x38d3a8(0x179)]['LIGHTRUN_PROXY_PORT']||'')||undefined,'username':process['env'][_0x38d3a8(0x1aa)],'password':process[_0x38d3a8(0x179)][_0x38d3a8(0x18e)]}};process['env'][_0x38d3a8(0x173)]!==undefined&&(_0x35a94f[_0x38d3a8(0x188)][_0x38d3a8(0x17a)]=process[_0x38d3a8(0x179)][_0x38d3a8(0x173)]);process['env'][_0x38d3a8(0x174)]!==undefined&&(_0x35a94f[_0x38d3a8(0x188)][_0x38d3a8(0x196)]=process[_0x38d3a8(0x179)][_0x38d3a8(0x174)]);process[_0x38d3a8(0x179)][_0x38d3a8(0x172)]!==undefined&&(_0x35a94f['agentLog'][_0x38d3a8(0x1a0)]=process[_0x38d3a8(0x179)][_0x38d3a8(0x172)]);process[_0x38d3a8(0x179)][_0x38d3a8(0x17c)]!==undefined&&(_0x35a94f[_0x38d3a8(0x188)][_0x38d3a8(0x190)]=parseInt(process[_0x38d3a8(0x179)][_0x38d3a8(0x17c)]));process['env'][_0x38d3a8(0x1a7)]!==undefined&&(_0x35a94f['agentLog'][_0x38d3a8(0x178)]=parseInt(process[_0x38d3a8(0x179)][_0x38d3a8(0x1a7)]));process[_0x38d3a8(0x179)][_0x38d3a8(0x1a3)]&&(_0x35a94f['serviceContext'][_0x38d3a8(0x181)]=process['env'][_0x38d3a8(0x1a3)],_0x35a94f['serviceContext'][_0x38d3a8(0x1ae)]=_0x38d3a8(0x1a5));process[_0x38d3a8(0x179)][_0x38d3a8(0x17f)]&&(_0x35a94f['metadata'][_0x38d3a8(0x193)]={'tags':process['env'][_0x38d3a8(0x17f)][_0x38d3a8(0x1ab)](',')});const _0x1aa860=(0x0,getAgentConfig_1[_0x38d3a8(0x191)])(process['env'][_0x38d3a8(0x1a9)]||_0x1415e6?.['agentConfigFile']||config_1[_0x38d3a8(0x192)][_0x38d3a8(0x19a)]),_0x22f623=(0x0,limitConfig_1[_0x38d3a8(0x189)])(extend(!![],{},config_1[_0x38d3a8(0x192)],_0x1aa860,_0x1415e6,_0x35a94f)),_0x29d1b6=(0x0,exports[_0x38d3a8(0x19e)])(_0x22f623);return{..._0x22f623,'errors':_0x29d1b6};};exports[a16_0x311a86(0x17e)]=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a17_0x1832(_0x1aa227,_0x4f80fc){const _0x177490=a17_0xafd0();return a17_0x1832=function(_0x127ad0,_0x1d66f0){_0x127ad0=_0x127ad0-0xc3;let _0xafd074=_0x177490[_0x127ad0];return _0xafd074;},a17_0x1832(_0x1aa227,_0x4f80fc);}const a17_0x4c86e1=a17_0x1832;function a17_0xafd0(){const _0x480d93=['8dxxAby','(((.+)+)+)+$','423BTGloA','643980lFUiFr','664aZIMnf','291162xGPHOD','20OHeSqw','defineProperty','__esModule','88YFINnX','apply','tokenize','1701740yBfHTs','71030XvePCD','17808BuuvhO','374772YipSnf','constructor','push','length','129421dqPggm','search'];a17_0xafd0=function(){return _0x480d93;};return a17_0xafd0();}(function(_0x5b0acb,_0x377707){const _0x4b7176=a17_0x1832,_0xf014fa=_0x5b0acb();while(!![]){try{const _0x25fe7e=parseInt(_0x4b7176(0xd4))/0x1+-parseInt(_0x4b7176(0xd6))/0x2*(parseInt(_0x4b7176(0xc6))/0x3)+parseInt(_0x4b7176(0xcd))/0x4+parseInt(_0x4b7176(0xc7))/0x5*(parseInt(_0x4b7176(0xc4))/0x6)+parseInt(_0x4b7176(0xcf))/0x7*(parseInt(_0x4b7176(0xc5))/0x8)+parseInt(_0x4b7176(0xc3))/0x9*(-parseInt(_0x4b7176(0xce))/0xa)+parseInt(_0x4b7176(0xca))/0xb*(-parseInt(_0x4b7176(0xd0))/0xc);if(_0x25fe7e===_0x377707)break;else _0xf014fa['push'](_0xf014fa['shift']());}catch(_0xcffc43){_0xf014fa['push'](_0xf014fa['shift']());}}}(a17_0xafd0,0x368bf));const a17_0x1d66f0=(function(){let _0x580e72=!![];return function(_0x13f934,_0x16bec2){const _0x50f801=_0x580e72?function(){const _0x313634=a17_0x1832;if(_0x16bec2){const _0x1a6a5b=_0x16bec2[_0x313634(0xcb)](_0x13f934,arguments);return _0x16bec2=null,_0x1a6a5b;}}:function(){};return _0x580e72=![],_0x50f801;};}()),a17_0x127ad0=a17_0x1d66f0(this,function(){const _0x846ee9=a17_0x1832;return a17_0x127ad0['toString']()[_0x846ee9(0xd5)]('(((.+)+)+)+$')['toString']()[_0x846ee9(0xd1)](a17_0x127ad0)['search'](_0x846ee9(0xd7));});a17_0x127ad0();'use strict';Object[a17_0x4c86e1(0xc8)](exports,a17_0x4c86e1(0xc9),{'value':!![]}),exports[a17_0x4c86e1(0xcc)]=void 0x0;const delimit_1=require('./delimit'),tokenize=(_0x1daaa7,_0x2d29ba)=>{const _0x21633d=a17_0x4c86e1;let _0x1d80ba=(0x0,delimit_1['delimit'])(_0x1daaa7,'$$');for(let _0x4c4174=_0x2d29ba-0x1;_0x4c4174>=0x0;_0x4c4174--){const _0x54888a=[];for(let _0x554c44=0x0;_0x554c44<_0x1d80ba[_0x21633d(0xd3)];_0x554c44++){_0x1d80ba[_0x554c44]['v']?_0x54888a[_0x21633d(0xd2)](_0x1d80ba[_0x554c44]):_0x54888a[_0x21633d(0xd2)](...(0x0,delimit_1['delimit'])(_0x1d80ba[_0x554c44],'$'+_0x4c4174));}_0x1d80ba=_0x54888a;}return _0x1d80ba;};exports[a17_0x4c86e1(0xcc)]=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18_0x508592=a18_0x93dc;(function(_0x5a9652,_0x4c72a3){const _0x229435=a18_0x93dc,_0x1f75ad=_0x5a9652();while(!![]){try{const _0x1c3b58=parseInt(_0x229435(0x124))/0x1+parseInt(_0x229435(0x1ec))/0x2*(parseInt(_0x229435(0x172))/0x3)+parseInt(_0x229435(0x1bf))/0x4+parseInt(_0x229435(0x17e))/0x5+parseInt(_0x229435(0x1c1))/0x6*(-parseInt(_0x229435(0x157))/0x7)+-parseInt(_0x229435(0x145))/0x8*(parseInt(_0x229435(0x1ee))/0x9)+parseInt(_0x229435(0x1f0))/0xa;if(_0x1c3b58===_0x4c72a3)break;else _0x1f75ad['push'](_0x1f75ad['shift']());}catch(_0x176cf0){_0x1f75ad['push'](_0x1f75ad['shift']());}}}(a18_0x21e5,0x62682));const a18_0x33a80f=(function(){let _0x61d3b3=!![];return function(_0x41b0da,_0x49d98e){const _0x253e9e=_0x61d3b3?function(){const _0x1df7a4=a18_0x93dc;if(_0x49d98e){const _0x1ae954=_0x49d98e[_0x1df7a4(0x14c)](_0x41b0da,arguments);return _0x49d98e=null,_0x1ae954;}}:function(){};return _0x61d3b3=![],_0x253e9e;};}()),a18_0x1ad7d4=a18_0x33a80f(this,function(){const _0x359904=a18_0x93dc;return a18_0x1ad7d4[_0x359904(0x102)]()[_0x359904(0x132)](_0x359904(0x1be))[_0x359904(0x102)]()[_0x359904(0x1ed)](a18_0x1ad7d4)[_0x359904(0x132)]('(((.+)+)+)+$');});a18_0x1ad7d4();'use strict';var __classPrivateFieldSet=this&&this['__classPrivateFieldSet']||function(_0x1ee470,_0x5a59e8,_0xa9cb0,_0xda3c7,_0x1affd2){const _0x4d5b6b=a18_0x93dc;if(_0xda3c7==='m')throw new TypeError(_0x4d5b6b(0x10c));if(_0xda3c7==='a'&&!_0x1affd2)throw new TypeError(_0x4d5b6b(0x17d));if(typeof _0x5a59e8==='function'?_0x1ee470!==_0x5a59e8||!_0x1affd2:!_0x5a59e8[_0x4d5b6b(0x190)](_0x1ee470))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0xda3c7==='a'?_0x1affd2[_0x4d5b6b(0x1cf)](_0x1ee470,_0xa9cb0):_0x1affd2?_0x1affd2['value']=_0xa9cb0:_0x5a59e8[_0x4d5b6b(0x18f)](_0x1ee470,_0xa9cb0),_0xa9cb0;},__classPrivateFieldGet=this&&this[a18_0x508592(0x1e2)]||function(_0x49bb6a,_0xd797ed,_0x2da892,_0x5b6009){const _0x384600=a18_0x508592;if(_0x2da892==='a'&&!_0x5b6009)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0xd797ed===_0x384600(0x1c0)?_0x49bb6a!==_0xd797ed||!_0x5b6009:!_0xd797ed[_0x384600(0x190)](_0x49bb6a))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x2da892==='m'?_0x5b6009:_0x2da892==='a'?_0x5b6009[_0x384600(0x1cf)](_0x49bb6a):_0x5b6009?_0x5b6009['value']:_0xd797ed[_0x384600(0x1f3)](_0x49bb6a);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a18_0x508592(0x146)](exports,a18_0x508592(0x12a),{'value':!![]}),exports[a18_0x508592(0x141)]=exports[a18_0x508592(0x119)]=void 0x0;const assert=require(a18_0x508592(0x168)),events_1=require(a18_0x508592(0x1ea)),extend=require(a18_0x508592(0x10a)),fs=require('fs'),path=require(a18_0x508592(0x164)),util=require(a18_0x508592(0x1ba)),status_message_1=require(a18_0x508592(0x1d6)),stackdriver_1=require(a18_0x508592(0x15d)),agent_logger_1=require('./agent-logger'),config_1=require('./config'),controller_1=require(a18_0x508592(0x173)),SourceMapper=require(a18_0x508592(0x104)),debugapi=require(a18_0x508592(0x170)),piping_manager_1=require(a18_0x508592(0x139)),quota_manager_1=require('./quota-manager'),patterns_blocklist_manager_1=require('./blocklisting/patterns-blocklist-manager'),scanner_1=require(a18_0x508592(0x1cb)),environment_metadata_1=require('./environment-metadata'),file_index_1=require('./io/file-index'),utils_1=require(a18_0x508592(0x138)),redaction_manager_1=require(a18_0x508592(0x1f5)),configuration_provider_1=require('./configuration-provider'),normalizeConfig_1=require(a18_0x508592(0x144)),mapSubtract_1=require(a18_0x508592(0xf7)),format_1=require(a18_0x508592(0x19a)),createDebuggee_1=require(a18_0x508592(0x19f)),readFilep=util[a18_0x508592(0x1de)](fs[a18_0x508592(0x1d3)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x4ba530,_0x1085f3)=>{const _0x205ef2=a18_0x508592;let _0x51503b=_0x4ba530+util[_0x205ef2(0x19c)](_0x205ef2(0x108),_0x1085f3['id'],_0x1085f3['action'],util[_0x205ef2(0x130)](_0x1085f3['location']));if(_0x1085f3['createTime']){const _0x1d72a6=Number(_0x1085f3['createTime'][_0x205ef2(0x11c)]),_0x5ce5e3=new Date(_0x1d72a6*0x3e8);_0x51503b+='\x0a\x09createdTime:\x20'+_0x5ce5e3[_0x205ef2(0x102)]();}return _0x1085f3[_0x205ef2(0x1ae)]&&(_0x51503b+=_0x205ef2(0x1a1)+util['inspect'](_0x1085f3[_0x205ef2(0x1ae)])),_0x1085f3[_0x205ef2(0x1a9)]&&(_0x51503b+=_0x205ef2(0x18b)+util[_0x205ef2(0x130)](_0x1085f3[_0x205ef2(0x1a9)])),_0x51503b;},formatBreakpoints=(_0x5c508f,_0x2c7b3a)=>{const _0x3a425d=a18_0x508592;return _0x5c508f+Object[_0x3a425d(0x1e7)](_0x2c7b3a)[_0x3a425d(0x142)](_0x156176=>{return formatBreakpoint('',_0x2c7b3a[_0x156176]);})[_0x3a425d(0x140)]('\x0a');};function a18_0x93dc(_0x290dc,_0x53f372){const _0x319341=a18_0x21e5();return a18_0x93dc=function(_0x1ad7d4,_0x33a80f){_0x1ad7d4=_0x1ad7d4-0xf4;let _0x21e5b8=_0x319341[_0x1ad7d4];return _0x21e5b8;},a18_0x93dc(_0x290dc,_0x53f372);}class CachedPromise{constructor(){const _0x1d4ef6=a18_0x508592;this[_0x1d4ef6(0x1d8)]=null,this[_0x1d4ef6(0x150)]=new Promise(_0x72569d=>{const _0x124a58=_0x1d4ef6;this[_0x124a58(0x1d8)]=_0x72569d;});}[a18_0x508592(0x1f3)](){const _0x4029a3=a18_0x508592;return this[_0x4029a3(0x150)];}[a18_0x508592(0x11b)](){const _0x2ba06d=a18_0x508592;this[_0x2ba06d(0x1d8)]&&(this[_0x2ba06d(0x1d8)](),this['promiseResolve']=null);}}function a18_0x21e5(){const _0x3e0ba0=['js.map','Error\x20processing\x20the\x20sourcemaps.','Breakpoint\x20hit!:\x20','Active\x20Breakpoints:\x20\x0a','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','isOutOfQuota','CachedPromise','clear','resolve','seconds','default','mapSubtract','addAndPipeLog','stdErrThreshold','\x20to\x20','Switching\x20globalPiping\x20status\x20from\x20','ALLOW_EXPRESSIONS_MESSAGE','20584BJDImT','stringify','cwd','type','PatternsBlocklistManager','pattern','__esModule','caseInsensitive','getSourceContextFromFile','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','shouldRedactByName','error','inspect','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','search','replace','started','setCustomLogLevel','agentLogMaxFileSizeMb','selectStats','./util/utils','./piping-manager','hash','getLevel','info','parameters','prettyError','AGENT_LOG_FILE','join','Debuglet','map','quota','./debuglet-helpers/normalizeConfig','1608IjNdHZ','defineProperty','isReady','LOGPOINT:\x20','bind','wait','Debuglet\x20not\x20running','apply','.\x20message:\x20','\x09Got\x20error\x20from\x20server.\x20status:\x20','\x20because\x20','promise','selectFiles','Found\x20breakpoint\x20with\x20invalid\x20action:','PipingManager','SIGQUIT','StatusMessage','satisfies','138047wMLgIx','isFinalState','remotelyDisabled','kill','expirationTime','setIgnoreQuota','../types/stackdriver','FileIndex','NOT_SET','):\x20pattern:\x20','setLevel','readFullVersion','logMainConfigParams','path','enable','isRedactionActive','Scanner','assert','collectAndSendLog','agentLogLevel','Server\x20breakpoints:\x0a','expirationSeconds','collectLogRequestId','utf8','workingDirectory','./v8/debugapi','allowExpressions','9VYKPuw','./controller','getRedactions','.\x20Retrying\x20in\x20','start','createPerBreakpointConditionQuota','\x20caseInsensitive:\x20','DEBUG','.\x20Error:\x20','Redactions:\x20\x0a\x09','sep','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','310235eMYTHZ','disable','SIGINT','registered','listBreakpoints','LOG','logger','Unknown\x20agentLogLevel\x20','removePerBreakpointQuota','concat','UNSPECIFIED','all','Starting\x20debuggee','\x0a\x09expressions:\x20','EventEmitter','emit','breakpointExpirationSec','set','has','Malformed\x20source-context.json\x20file:\x20','deregister','setBlocklistManager','enqueueBreakpointUpdate','name:\x20','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','APP_ONLY','debuggee','add','./debuglet-helpers/format','>=12','format','quotaRecoverySeconds','warn','./debuglet-helpers/createDebuggee','Disabled\x20by\x20the\x20server','\x0a\x09condition:\x20','GAE_MINOR_VERSION','source-context.json','fetcherActive','unref','Controller','Scheduling\x20registration\x20in\x20','values','expressions','errors','jsFileIndex','beforeExit','Blacklist\x20Exceptions:\x20\x0a\x09','condition','filename','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','setPipingStatus','allowRootAsWorkingDirectory','maxRequestRetryDelaySeconds','config','length','setPatterns','normalizeConfig','backoff','util','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','activeBreakpointMap','parse','(((.+)+)+)+$','2835056qANYuj','function','204ZntIbC','fromFileStats','SIGTERM','isDisabled','blacklist','agentLog','Debuggee\x20is\x20not\x20registered','posix','\x09Long\x20poll\x20completed.','Breakpoint','./io/scanner','pipeLogs','CAPTURE','globalPipingStatus','call','message','EnvironmentMetadata','\x09adding\x20breakpoint','readFile','extraPaths','pid','../client/stackdriver/status-message','redactionEnabled','promiseResolve','getInitialLevel','findFiles','remainingHits','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','createLogger','promisify','create','description','createDebuggee','__classPrivateFieldGet','initError','Fetching\x20breakpoints','name','then','keys','removeBreakpoint','breakpointUpdateIntervalSec','events','now','260450qYMPnA','constructor','7497HLblgw','BREAKPOINT_ACTION_MESSAGE','589510GGPLtS','undefined','isReadyManager','get','mapFiles','./reduction/redaction-manager','Failed\x20to\x20register\x20debuggee:\x20','internal','createTime','pipingManager','agentLogTargetDir','location','./debuglet-helpers/mapSubtract','object','waitExpired','QuotaManager','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','NODE_VERSION_MESSAGE','version','javascriptFileExtensions','env','Expiring\x20breakpoint','breakpoints','toString','split','./io/sourcemapper','\x20accepted\x20by\x20agent','forEach','action','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','stopped','extend','clearTransmissionTimeout','Private\x20method\x20is\x20not\x20writable','./reduction/redaction-manager-re2js','status','quotaCheck','debug','blacklist_exception','push'];a18_0x21e5=function(){return _0x3e0ba0;};return a18_0x21e5();}exports[a18_0x508592(0x119)]=CachedPromise;class IsReadyImpl{constructor(_0x4fb38b){this['debuglet']=_0x4fb38b;}['isReady'](){const _0x3e8068=a18_0x508592;return this['debuglet'][_0x3e8068(0x147)]();}}class Debuglet extends events_1[a18_0x508592(0x18c)]{constructor(_0x162c8f,_0x585eb2){const _0x248467=a18_0x508592;super(),_Debuglet_instances[_0x248467(0x199)](this),_Debuglet_debug[_0x248467(0x18f)](this,void 0x0),_Debuglet_v8debug[_0x248467(0x18f)](this,void 0x0),_Debuglet_running[_0x248467(0x18f)](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x248467(0x18f)](this,void 0x0),_Debuglet_breakpointFetched['set'](this,void 0x0),_Debuglet_debuggeeRegistered[_0x248467(0x18f)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x248467(0x18f)](this,null),this[_0x248467(0x1f2)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner['set'](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager[_0x248467(0x18f)](this,void 0x0),_Debuglet_redactionManager['set'](this,void 0x0),_Debuglet_configProvider[_0x248467(0x18f)](this,void 0x0),this[_0x248467(0x1b5)]=(0x0,normalizeConfig_1[_0x248467(0x1b8)])(_0x585eb2),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1['ConfigurationProvider'](this['config']),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x162c8f,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0x248467(0x184)]=agent_logger_1[_0x248467(0x11d)][_0x248467(0x1dd)](this[_0x248467(0x1b5)][_0x248467(0x1c6)][_0x248467(0xf5)],this[_0x248467(0x1b5)][_0x248467(0x1c6)][_0x248467(0x136)],this['config'][_0x248467(0x1c6)]['agentLogMaxFileCount'],this[_0x248467(0x1b5)][_0x248467(0x1c6)][_0x248467(0x16a)],this[_0x248467(0x1b5)][_0x248467(0x1c6)][_0x248467(0x120)]),(0x0,config_1[_0x248467(0x163)])(this[_0x248467(0x1b5)],this[_0x248467(0x184)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x248467(0x1d1))](this[_0x248467(0x184)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x248467(0x1a6))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x248467(0x1b5)],this[_0x248467(0x184)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x248467(0x167))](this[_0x248467(0x184)]),'f'),this[_0x248467(0x198)]=null,this['activeBreakpointMap']={},__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[(_0x248467(0xfa))](this[_0x248467(0x184)],this['config']),'f'),this[_0x248467(0xf4)]=new piping_manager_1[(_0x248467(0x153))](_0x248467(0x197),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x248467(0x1b5)]);}async['findFiles'](_0x52ee3f,_0x36fea4){const _0x300dd7=a18_0x508592,_0x2b2570=_0x52ee3f[_0x300dd7(0x16f)],_0x307864=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')['scan'](_0x2b2570,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x300dd7(0x1cf)](_a,_0x52ee3f[_0x300dd7(0xfe)][_0x300dd7(0x187)](_0x300dd7(0x113))),_0x36fea4,_0x52ee3f[_0x300dd7(0x1d4)]),_0x3f6f10=_0x307864[_0x300dd7(0x137)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x52ee3f[_0x300dd7(0xfe)])),_0x4d784c=file_index_1[_0x300dd7(0x15e)][_0x300dd7(0x1c2)](_0x3f6f10),_0x52d04c=_0x307864[_0x300dd7(0x151)](/.js.map$/,process[_0x300dd7(0x126)]()),_0x4b28e3=_0x307864['errors']();return{'mapFiles':_0x52d04c,'errors':_0x4b28e3,'jsFileIndex':_0x4d784c,'hash':_0x307864['hash']};}async[a18_0x508592(0x176)](){const _0x22f424=a18_0x508592,_0x1f616c=this,_0x1ce87b=_0x1f616c['config'][_0x22f424(0x16f)];if(!_0x1f616c['config'][_0x22f424(0x1b3)]&&path[_0x22f424(0x140)](_0x1ce87b,'..')===_0x1ce87b){const _0x225315=_0x22f424(0x117)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x22f424(0x1b0)+'do\x20this.';_0x1f616c[_0x22f424(0x184)][_0x22f424(0x12f)](_0x225315),_0x1f616c['emit'](_0x22f424(0x1e3),new Error(_0x225315));return;}let _0x3517ae;process[_0x22f424(0xff)][_0x22f424(0x1a2)]&&(_0x3517ae='GAE-'+process[_0x22f424(0xff)][_0x22f424(0x1a2)]);let _0x453f9b,_0xaf6264=_0x3517ae||'';try{_0x453f9b=await this[_0x22f424(0x1da)](_0x1f616c['config'],_0x3517ae),_0x453f9b[_0x22f424(0x1aa)][_0x22f424(0x106)](_0x1f616c[_0x22f424(0x184)][_0x22f424(0x19e)]);}catch(_0x3b04fd){_0x1f616c[_0x22f424(0x184)][_0x22f424(0x12f)]('Error\x20scanning\x20the\x20filesystem.',_0x3b04fd),_0x1f616c[_0x22f424(0x18d)](_0x22f424(0x1e3),_0x3b04fd);return;}try{const _0x1f9277=await SourceMapper['create'](_0x1f616c[_0x22f424(0x184)],_0x453f9b[_0x22f424(0x1f4)],_0x1f616c[_0x22f424(0x1b5)][_0x22f424(0x1f7)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(_0x1f616c,_Debuglet_v8debug,debugapi[_0x22f424(0x1df)](_0x1f616c['logger'],_0x1f616c[_0x22f424(0x1b5)],_0x453f9b[_0x22f424(0x1ab)],_0x1f9277,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0xaf6264=_0x3517ae||_0x453f9b[_0x22f424(0x13a)];}catch(_0x3d9433){_0x1f616c[_0x22f424(0x184)][_0x22f424(0x12f)](_0x22f424(0x114),_0x3d9433),_0x1f616c[_0x22f424(0x184)][_0x22f424(0x13c)](JSON[_0x22f424(0x125)](_0x3d9433)),_0x1f616c[_0x22f424(0x18d)](_0x22f424(0x1e3),_0x3d9433);}_0x1f616c['logger'][_0x22f424(0x13c)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0xaf6264);const _0x4d5b93=(0x0,utils_1[_0x22f424(0x162)])(_0x1f616c['logger'])[_0x22f424(0x133)]('\x0a','');_0x1f616c['logger'][_0x22f424(0x13c)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x4d5b93);let _0x4c20ed;try{_0x4c20ed=_0x1f616c['config']['sourceContext']||await _a[_0x22f424(0x12c)]();}catch(_0x326aa4){}_0x1f616c[_0x22f424(0x184)]['info']('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process['mainModule']?.[_0x22f424(0x1af)]),_0x1f616c[_0x22f424(0x184)]['debug']('Working\x20directory:\x20'+_0x1ce87b),_0x1f616c[_0x22f424(0x184)][_0x22f424(0x110)](_0x22f424(0x18a)),__classPrivateFieldSet(_0x1f616c,_Debuglet_running,!![],'f'),_0x1f616c['debuggee']=(0x0,createDebuggee_1[_0x22f424(0x1e1)])(_0xaf6264,_0x1f616c['config'],_0x4c20ed,__classPrivateFieldGet(_0x1f616c,_Debuglet_debug,'f')['packageInfo'],_0x4d5b93,_0x1f616c['logger'],__classPrivateFieldGet(_0x1f616c,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x1f616c,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x22f424(0x1cf)](_0x1f616c),__classPrivateFieldGet(_0x1f616c,_Debuglet_instances,'m',_Debuglet_register_)[_0x22f424(0x1cf)](_0x1f616c),_0x1f616c[_0x22f424(0x18d)](_0x22f424(0x134));}[a18_0x508592(0x147)](){const _0x3c01a2=a18_0x508592;if(Date[_0x3c01a2(0x1eb)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x3c01a2(0x11b)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3c01a2(0x1f3)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x3c01a2(0x1f3)]()[_0x3c01a2(0x1e6)](()=>{const _0x4bff6e=_0x3c01a2;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4bff6e(0x1cf)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3c01a2(0x1f3)]();}}static async[a18_0x508592(0x12c)](){const _0x43cdc0=a18_0x508592,_0x44a828=await readFilep(_0x43cdc0(0x1a3),_0x43cdc0(0x16e));try{return JSON[_0x43cdc0(0x1bd)](_0x44a828);}catch(_0x5ba66e){throw new Error(_0x43cdc0(0x191)+_0x5ba66e);}}['isRunning'](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0x1acf6b=a18_0x508592;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this['logger'][_0x1acf6b(0x110)](_0x1acf6b(0x196));return;}this[_0x1acf6b(0x184)]['debug']('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x1acf6b(0x10b)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x1acf6b(0x18d)](_0x1acf6b(0x109));}[a18_0x508592(0x135)](_0x19b3fb){const _0x15c524=a18_0x508592,_0x176462=this['logger'][_0x15c524(0x1d9)]();if(_0x176462===_0x15c524(0x110))return;switch(_0x19b3fb){case _0x15c524(0x179):this[_0x15c524(0x184)][_0x15c524(0x13b)]()!==_0x15c524(0x110)&&(this[_0x15c524(0x184)]['setLevel'](_0x15c524(0x110)),this['logger'][_0x15c524(0x110)](_0x15c524(0x1dc)));break;case _0x15c524(0x15f):case undefined:this[_0x15c524(0x184)]['getLevel']()===_0x15c524(0x110)&&(this['logger'][_0x15c524(0x161)](_0x176462),this[_0x15c524(0x184)][_0x15c524(0x13c)](_0x15c524(0x12d)+_0x176462+')'));break;default:this[_0x15c524(0x184)][_0x15c524(0x19e)](_0x15c524(0x185)+_0x19b3fb);}}}exports[a18_0x508592(0x141)]=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(_0x5ec4f6){const _0x56e09c=a18_0x508592;return new RegExp(_0x5ec4f6[_0x56e09c(0x142)](_0x3a50ca=>_0x3a50ca+'$')['join']('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x5e9592=a18_0x508592,_0x245017=[_0x5e9592(0x1c3),_0x5e9592(0x180),_0x5e9592(0x154)];_0x245017[_0x5e9592(0x106)](_0x5e410a=>{process['once'](_0x5e410a,()=>{const _0xfe8435=a18_0x93dc;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xfe8435(0x192)](this[_0xfe8435(0x198)],()=>{const _0x114bd0=_0xfe8435;process[_0x114bd0(0x15a)](process[_0x114bd0(0x1d5)],_0x5e410a);});});}),process['once'](_0x5e9592(0x1ac),()=>{__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this['debuggee'],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x3c375b=a18_0x508592;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x3c375b(0x1cf)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x355499){const _0x12e7cc=a18_0x508592,_0x4dc4af=this;_0x4dc4af[_0x12e7cc(0x184)][_0x12e7cc(0x110)](_0x355499?_0x12e7cc(0x1a7)+_0x355499+'s':'Registering\x20debuggee');function _0x20353f(_0x7b5fe2,_0x17bf06,_0x33395e=![]){const _0x4c45a7=_0x12e7cc,_0x1af42d=_0x4dc4af[_0x4c45a7(0x198)]?.['id']?'Failed\x20to\x20re-register\x20debuggee\x20'+_0x4dc4af[_0x4c45a7(0x198)]?.['id']+':\x20'+(0x0,utils_1[_0x4c45a7(0x13e)])(_0x7b5fe2):_0x4c45a7(0x1f6)+(0x0,utils_1[_0x4c45a7(0x13e)])(_0x7b5fe2);_0x4dc4af[_0x4c45a7(0x184)][_0x4c45a7(0x12f)](_0x1af42d),_0x17bf06&&!_0x33395e&&_0x4dc4af['logger'][_0x4c45a7(0x12f)]('Result:\x20\x0a',_0x17bf06),__classPrivateFieldGet(_0x4dc4af,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x4c45a7(0x1cf)](_0x4dc4af,(0x0,utils_1[_0x4c45a7(0x1b9)])(_0x355499,_0x4dc4af[_0x4c45a7(0x1b5)][_0x4c45a7(0x1f7)][_0x4c45a7(0x1b4)]));}setTimeout(()=>{const _0x4830ae=_0x12e7cc;if(!__classPrivateFieldGet(_0x4dc4af,_Debuglet_running,'f')){_0x20353f(new Error(_0x4830ae(0x14b)));return;}__classPrivateFieldGet(_0x4dc4af,_Debuglet_controller,'f')['register'](_0x4dc4af[_0x4830ae(0x198)],(_0x5f543d,_0x196cce,_0x161203=![])=>{const _0x434e0a=_0x4830ae;if(_0x5f543d){_0x20353f(_0x5f543d,_0x196cce,_0x161203);return;}if(_0x196cce['debuggee'][_0x434e0a(0x1c4)]){_0x20353f(new Error(_0x434e0a(0x1a0))),_0x4dc4af[_0x434e0a(0x18d)](_0x434e0a(0x159));return;}const _0x40bde0=_0x196cce[_0x434e0a(0x198)]['id'];_0x4dc4af['logger'][_0x434e0a(0x13c)]('Registered\x20as\x20debuggee:\x20'+_0x40bde0),_0x4dc4af[_0x434e0a(0x198)]['id']=_0x40bde0;const _0x3d7eca=[__classPrivateFieldGet(_0x4dc4af,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x434e0a(0x149)](_0x4dc4af)(_0x4dc4af[_0x434e0a(0x198)]['id'])];_0x4dc4af['config'][_0x434e0a(0x1d7)]&&_0x3d7eca[_0x434e0a(0x112)](__classPrivateFieldGet(_0x4dc4af,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x434e0a(0x149)](_0x4dc4af)(_0x4dc4af[_0x434e0a(0x198)]['id'])),Promise[_0x434e0a(0x189)](_0x3d7eca)['then'](()=>{const _0x1860b0=_0x434e0a;_0x4dc4af[_0x1860b0(0x18d)](_0x1860b0(0x181),_0x40bde0),__classPrivateFieldGet(_0x4dc4af,_Debuglet_debuggeeRegistered,'f')[_0x1860b0(0x11b)](),__classPrivateFieldGet(_0x4dc4af,_Debuglet_v8debug,'f')?.[_0x1860b0(0x193)](__classPrivateFieldGet(_0x4dc4af,_Debuglet_blocklistManager,'f')),!_0x4dc4af[_0x1860b0(0x1a4)]&&__classPrivateFieldGet(_0x4dc4af,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1860b0(0x1cf)](_0x4dc4af,0x0,this[_0x1860b0(0x1b5)]['fetchBreakpointsOnce'],_0x196cce?.['clientConnectionTimeoutInSeconds']);},_0x49cfcc=>{_0x20353f(_0x49cfcc);});});},_0x355499*0x3e8)[_0x12e7cc(0x1a5)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x26032b,_0x3958fc,_0x133116){const _0x305f94=a18_0x508592,_0x4e95dd=this;!_0x3958fc&&(_0x4e95dd[_0x305f94(0x1a4)]=!![]),setTimeout(()=>{const _0x363a30=_0x305f94;if(!__classPrivateFieldGet(_0x4e95dd,_Debuglet_running,'f'))return;!_0x3958fc&&assert(_0x4e95dd[_0x363a30(0x1a4)]),_0x4e95dd[_0x363a30(0x184)][_0x363a30(0x110)](_0x363a30(0x1e4)),__classPrivateFieldGet(_0x4e95dd,_Debuglet_controller,'f')[_0x363a30(0x182)](_0x4e95dd[_0x363a30(0x198)],(_0x5ecaa9,_0x297573,_0x12d89d)=>{const _0x111f09=_0x363a30;if(_0x297573?.[_0x111f09(0x10e)]===0x194){_0x4e95dd[_0x111f09(0x184)][_0x111f09(0x13c)](_0x111f09(0x1c7)),_0x4e95dd[_0x111f09(0x1a4)]=![],__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x111f09(0x1cf)](_0x4e95dd),__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_register_)[_0x111f09(0x1cf)](_0x4e95dd);return;}if(_0x5ecaa9){const _0x1a1535=(0x0,utils_1[_0x111f09(0x1b9)])(_0x26032b,_0x4e95dd[_0x111f09(0x1b5)]['internal']['maxRequestRetryDelaySeconds']);_0x4e95dd[_0x111f09(0x184)][_0x111f09(0x12f)](_0x111f09(0x14e)+_0x297573?.[_0x111f09(0x10e)]+_0x111f09(0x14d)+_0x5ecaa9[_0x111f09(0x1d0)]+_0x111f09(0x175)+_0x1a1535+'s'),__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x111f09(0x1cf)](_0x4e95dd,_0x1a1535,_0x3958fc,_0x133116);return;}_0x4e95dd[_0x111f09(0x184)][_0x111f09(0x110)]('\x09'+_0x297573['status']+'\x20completed.');if(!_0x12d89d){const _0x398976=_0x4e95dd[_0x111f09(0x1b5)][_0x111f09(0x1e9)];_0x4e95dd[_0x111f09(0x184)][_0x111f09(0x12f)](_0x111f09(0x1bb)+_0x398976+'s'),__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x111f09(0x1cf)](_0x4e95dd,_0x398976,_0x3958fc,_0x133116);return;}this[_0x111f09(0x135)](_0x12d89d['agentLogLevel']);if(_0x12d89d[_0x111f09(0xf9)]){_0x4e95dd['logger']['info'](_0x111f09(0x1c9)),__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x111f09(0x1cf)](_0x4e95dd,0x0,_0x3958fc,_0x133116);return;}if(_0x12d89d[_0x111f09(0x1cc)]&&_0x12d89d['pipeLogs']!==_0x111f09(0x15f)){const _0x332f12=this['pipingManager'][_0x111f09(0x1ce)];_0x332f12!==_0x12d89d[_0x111f09(0x1cc)]&&(this[_0x111f09(0x184)][_0x111f09(0x110)](_0x111f09(0x122)+_0x332f12+_0x111f09(0x121)+_0x12d89d['pipeLogs']),this[_0x111f09(0xf4)][_0x111f09(0x1ce)]=_0x12d89d[_0x111f09(0x1cc)]);}if(_0x12d89d[_0x111f09(0x169)]&&_0x12d89d['collectLogRequestId']!==_0x4e95dd[_0x111f09(0x16d)]){_0x4e95dd[_0x111f09(0x16d)]=_0x12d89d[_0x111f09(0x16d)];const _0x27420=_0x4e95dd[_0x111f09(0x1b5)][_0x111f09(0x1c6)][_0x111f09(0xf5)]&&path[_0x111f09(0x140)](_0x4e95dd[_0x111f09(0x1b5)][_0x111f09(0x1c6)][_0x111f09(0xf5)],agent_logger_1['default'][_0x111f09(0x13f)]);_0x27420&&fs['existsSync'](_0x27420)?setTimeout(()=>__classPrivateFieldGet(_0x4e95dd,_Debuglet_controller,'f')['sendAgentLogsToServer'](_0x4e95dd[_0x111f09(0x198)],_0x12d89d[_0x111f09(0x16d)],_0x27420)):_0x4e95dd[_0x111f09(0x184)][_0x111f09(0x13c)](_0x111f09(0xfb)+_0x12d89d[_0x111f09(0x16d)]+_0x111f09(0x14f)+_0x111f09(0x131));}const _0x306972=(_0x12d89d[_0x111f09(0x101)]||[])['map'](_0x18d0d1=>new stackdriver_1[(_0x111f09(0x1ca))](_0x18d0d1))['filter'](_0x5144ad=>{const _0x40133b=_0x111f09,_0x1766c3=_0x5144ad[_0x40133b(0x107)]||_0x40133b(0x1cd);if(__classPrivateFieldGet(_0x4e95dd,_Debuglet_completedBreakpointMap,'f')[_0x5144ad['id']])return![];if(_0x1766c3!==_0x40133b(0x1cd)&&_0x1766c3!==_0x40133b(0x183))return _0x4e95dd['logger'][_0x40133b(0x19e)](_0x40133b(0x152),_0x1766c3),_0x5144ad[_0x40133b(0x10e)]=new status_message_1[(_0x40133b(0x155))](status_message_1[_0x40133b(0x155)][_0x40133b(0x188)],utils_1[_0x40133b(0x1aa)][_0x40133b(0x1ef)],!![]),__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x40133b(0x1cf)](_0x4e95dd,_0x5144ad),![];return!![];}),_0x348712=__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x111f09(0x1cf)](_0x4e95dd);let _0x3ed46d=_0x348712[_0x111f09(0x1b6)]>0x0;__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x111f09(0x1cf)](_0x4e95dd,_0x348712),_0x3ed46d=_0x3ed46d||__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](_0x4e95dd,_0x306972),_0x4e95dd[_0x111f09(0x18d)]('breakpoints_fetched',_0x306972[_0x111f09(0x1b6)]);_0x3ed46d&&_0x4e95dd[_0x111f09(0x184)][_0x111f09(0x110)](formatBreakpoints(_0x111f09(0x116),_0x4e95dd[_0x111f09(0x1bc)]));__classPrivateFieldSet(_0x4e95dd,_Debuglet_breakpointFetchedTimestamp,Date[_0x111f09(0x1eb)](),'f');_0x3958fc?__classPrivateFieldGet(_0x4e95dd,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x4e95dd,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(_0x4e95dd,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x4e95dd,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x111f09(0x1cf)](_0x4e95dd,0x0,_0x3958fc,_0x133116);return;},_0x133116);},_0x26032b*0x3e8)['unref']();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x47d734){const _0x3a9c06=a18_0x508592,_0x3999d1=this,_0x4ee920=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x3a9c06(0x1cf)](this,_0x47d734);let _0x294dad=![];return _0x47d734[_0x3a9c06(0x106)](_0x54af80=>{const _0x5aed0c=_0x3a9c06;!__classPrivateFieldGet(_0x3999d1,_Debuglet_completedBreakpointMap,'f')[_0x54af80['id']]&&!_0x3999d1[_0x5aed0c(0x1bc)][_0x54af80['id']]&&(__classPrivateFieldGet(_0x3999d1,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](_0x3999d1,_0x54af80,_0x1c671d=>{const _0x259393=_0x5aed0c;_0x1c671d&&__classPrivateFieldGet(_0x3999d1,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x259393(0x1cf)](_0x3999d1,_0x54af80,!![],![]);}),_0x294dad=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x5aed0c(0x177)](_0x54af80['id'])),__classPrivateFieldGet(_0x3999d1,_Debuglet_quotaManager,'f')[_0x5aed0c(0x15c)](_0x54af80['id'],_0x54af80['ignoreQuota']),_0x3999d1[_0x5aed0c(0xf4)][_0x5aed0c(0x1b2)](_0x54af80['id'],_0x54af80['pipingStatus']);}),(0x0,mapSubtract_1[_0x3a9c06(0x11e)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x4ee920)[_0x3a9c06(0x106)](_0x5e215a=>{delete __classPrivateFieldGet(_0x3999d1,_Debuglet_completedBreakpointMap,'f')[_0x5e215a['id']],_0x294dad=!![];}),(0x0,mapSubtract_1[_0x3a9c06(0x11e)])(this['activeBreakpointMap'],_0x4ee920)[_0x3a9c06(0x106)](_0x5cd951=>{const _0x397586=_0x3a9c06;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x397586(0x1cf)](this,_0x5cd951,!![]),_0x294dad=!![];}),_0x294dad&&_0x3999d1[_0x3a9c06(0x184)][_0x3a9c06(0x110)](formatBreakpoints(_0x3a9c06(0x16b),_0x4ee920)),_0x294dad;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0xefe217){const _0x937daf={};return _0xefe217['forEach'](_0x543825=>{_0x937daf[_0x543825['id']]=_0x543825;}),_0x937daf;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x738979,_0x3f360f){const _0x31f143=a18_0x508592;this[_0x31f143(0x184)][_0x31f143(0x13c)]('\x09remove\x20breakpoint',_0x738979),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x31f143(0x186)](_0x738979['id']),this[_0x31f143(0xf4)][_0x31f143(0x1e8)](_0x738979['id']),delete this['activeBreakpointMap'][_0x738979['id']],_0x3f360f&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x31f143(0x11a)](_0x738979,_0x374a8f=>{const _0x1606c8=_0x31f143;if(_0x374a8f)this['logger'][_0x1606c8(0x12f)](_0x374a8f);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x852ebf,_0x308f8d){const _0x2490c1=a18_0x508592,_0x5a046c=this;_0x5a046c['logger'][_0x2490c1(0x13c)](_0x2490c1(0x1d2),_0x852ebf);if(!_0x5a046c[_0x2490c1(0x1b5)][_0x2490c1(0x171)]&&(_0x852ebf['condition']||_0x852ebf['expressions'])){_0x5a046c[_0x2490c1(0x184)][_0x2490c1(0x12f)](utils_1[_0x2490c1(0x1aa)]['ALLOW_EXPRESSIONS_MESSAGE']['description']||''),_0x852ebf[_0x2490c1(0x10e)]=new status_message_1[(_0x2490c1(0x155))](status_message_1['StatusMessage'][_0x2490c1(0x188)],utils_1[_0x2490c1(0x1aa)][_0x2490c1(0x123)],!![]),setImmediate(()=>{const _0x2cb3ae=_0x2490c1;_0x308f8d(utils_1[_0x2cb3ae(0x1aa)][_0x2cb3ae(0x123)]);});return;}if((0x0,utils_1[_0x2490c1(0x156)])(process['version'],'5.2\x20||\x20<4')){const _0x360400=utils_1[_0x2490c1(0x1aa)][_0x2490c1(0xfc)];_0x5a046c[_0x2490c1(0x184)]['error'](_0x360400),_0x852ebf[_0x2490c1(0x10e)]=new status_message_1[(_0x2490c1(0x155))](status_message_1[_0x2490c1(0x155)]['UNSPECIFIED'],_0x360400,!![]),setImmediate(()=>{_0x308f8d(_0x360400);});return;}const _0x53b183=_0x852ebf[_0x2490c1(0x1f8)]?Number(_0x852ebf['createTime']['seconds']):Date[_0x2490c1(0x1eb)]()/0x3e8,_0x44c90c=_0x852ebf[_0x2490c1(0x16c)]||_0x5a046c['config'][_0x2490c1(0x18e)];_0x852ebf[_0x2490c1(0x15b)]=_0x53b183+_0x44c90c,_0x852ebf[_0x2490c1(0xf6)]?.[_0x2490c1(0x164)]&&(_0x852ebf[_0x2490c1(0xf6)][_0x2490c1(0x164)]=path['normalize'](_0x852ebf['location']['path']),path[_0x2490c1(0x17c)]===path[_0x2490c1(0x1c8)][_0x2490c1(0x17c)]&&(_0x852ebf[_0x2490c1(0xf6)][_0x2490c1(0x164)]=_0x852ebf[_0x2490c1(0xf6)][_0x2490c1(0x164)][_0x2490c1(0x103)]('\x5c')[_0x2490c1(0x140)](path[_0x2490c1(0x17c)]))),__classPrivateFieldGet(_0x5a046c,_Debuglet_v8debug,'f')[_0x2490c1(0x18f)](_0x852ebf,_0x348a10=>{const _0x235c60=_0x2490c1;if(_0x348a10){_0x308f8d(_0x348a10);return;}_0x5a046c[_0x235c60(0x184)][_0x235c60(0x13c)]('\x09successfully\x20added\x20breakpoint',_0x852ebf),_0x5a046c[_0x235c60(0x1bc)][_0x852ebf['id']]=_0x852ebf,_0x852ebf[_0x235c60(0x107)]===_0x235c60(0x183)?__classPrivateFieldGet(_0x5a046c,_Debuglet_v8debug,'f')['log'](_0x852ebf,(_0x12efac,_0x19ba0a)=>{const _0x1b15b5=_0x235c60,_0x5a73b1=_0x19ba0a['map'](_0x2ff665=>__classPrivateFieldGet(_0x5a046c,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1b15b5(0x1cf)](_0x5a046c,_0x2ff665)),_0x2286fb=(0x0,format_1['format'])(_0x12efac,_0x5a73b1),_0x3e1be6=_0x1b15b5(0x148)+(__classPrivateFieldGet(_0x5a046c,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0x2286fb)||_0x2286fb),_0x2ae6a9=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1b15b5(0x10f)](_0x3e1be6,_0x852ebf['id']);if(_0x2ae6a9){const _0x5119ec=_0x2ae6a9[_0x1b15b5(0x1d0)],_0x2d2df7=_0x2ae6a9[_0x1b15b5(0x118)];let _0x276865,_0x312434;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1b15b5(0x166)]()&&!_0x2d2df7&&(_0x276865=_0x1b15b5(0x148)+_0x12efac,_0x312434=_0x5a73b1);_0x5a046c[_0x1b15b5(0xf4)][_0x1b15b5(0x11f)](_0x5a046c[_0x1b15b5(0x198)],_0x852ebf['id'],_0x5119ec,_0x852ebf['logLevel'],_0x276865,_0x312434);if(_0x2d2df7)__classPrivateFieldGet(_0x5a046c,_Debuglet_v8debug,'f')?.[_0x1b15b5(0x17f)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x53fe22=_0x1b15b5;__classPrivateFieldGet(_0x5a046c,_Debuglet_v8debug,'f')?.[_0x53fe22(0x165)](),__classPrivateFieldSet(_0x5a046c,_Debuglet_nextEnableTimeout,null,'f');},_0x5a046c[_0x1b15b5(0x1b5)][_0x1b15b5(0x143)][_0x1b15b5(0x19d)]*0x3e8),'f');else _0x5119ec?.[_0x1b15b5(0x1b6)]===0x0&&__classPrivateFieldGet(_0x5a046c,_Debuglet_v8debug,'f')?.[_0x1b15b5(0x17f)]();}},()=>{return __classPrivateFieldGet(_0x5a046c,_Debuglet_completedBreakpointMap,'f')[_0x852ebf['id']];},_0x400de0=>{const _0xbd794a=_0x235c60;if(_0x400de0){_0x5a046c[_0xbd794a(0x184)][_0xbd794a(0x12f)](_0x400de0),_0x308f8d(_0x400de0);return;}}):__classPrivateFieldGet(_0x5a046c,_Debuglet_v8debug,'f')[_0x235c60(0x14a)](_0x852ebf,_0x5d7f25=>{const _0x1819ef=_0x235c60;if(_0x5d7f25){setImmediate(()=>{const _0x4a9fe7=a18_0x93dc;_0x5a046c[_0x4a9fe7(0x184)][_0x4a9fe7(0x12f)](_0x5d7f25),_0x308f8d(_0x5d7f25);});return;}_0x5a046c['logger'][_0x1819ef(0x13c)](_0x1819ef(0x115),_0x852ebf),__classPrivateFieldGet(_0x5a046c,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x1819ef(0x1cf)](_0x5a046c,_0x852ebf,__classPrivateFieldGet(_0x5a046c,_Debuglet_v8debug,'f')[_0x1819ef(0x1db)](_0x852ebf['id'])<=0x0);}),__classPrivateFieldGet(_0x5a046c,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)['call'](_0x5a046c,_0x852ebf);}),this[_0x2490c1(0x18d)]('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x16df70,_0x513b54,_0x448d7a=!![]){const _0x350cb7=a18_0x508592,_0x18c721=this;if(_0x16df70[_0x350cb7(0x10e)]&&_0x16df70[_0x350cb7(0x10e)]['isError']){let _0x18f8c3=_0x16df70['status']?.['description']?.[_0x350cb7(0x19c)]||'';_0x16df70['status']?.[_0x350cb7(0x1e0)]?.[_0x350cb7(0x13d)]&&(_0x18f8c3+=':\x20'+_0x16df70[_0x350cb7(0x10e)]?.['description']?.[_0x350cb7(0x13d)][_0x350cb7(0x102)]()),_0x18c721[_0x350cb7(0x184)]['warn']('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x16df70+_0x350cb7(0x17a)+_0x18f8c3);}else _0x18c721['logger'][_0x350cb7(0x13c)](_0x350cb7(0x1b1),_0x16df70);_0x513b54&&(__classPrivateFieldGet(_0x18c721,_Debuglet_completedBreakpointMap,'f')[_0x16df70['id']]=!![],__classPrivateFieldGet(_0x18c721,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x350cb7(0x1cf)](_0x18c721,_0x16df70,_0x448d7a)),__classPrivateFieldGet(_0x18c721,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x18c721[_0x350cb7(0x198)],extend(!![],{},_0x16df70));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0xe2dafe){const _0x12639c=a18_0x508592,_0x2cced3=this;_0x2cced3[_0x12639c(0x184)]['debug']('reporting\x20breakpoint\x20'+_0xe2dafe+_0x12639c(0x105));const _0x1f6292=extend(!![],{},_0xe2dafe);_0x1f6292[_0x12639c(0x158)]=![],_0x1f6292['status']=new status_message_1[(_0x12639c(0x155))](status_message_1['StatusMessage'][_0x12639c(0x188)],undefined,![],!![]),__classPrivateFieldGet(_0x2cced3,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x2cced3['debuggee'],_0x1f6292);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x104162){const _0xaacfed=a18_0x508592,_0x3a2c01=this;this[_0xaacfed(0x184)][_0xaacfed(0x13c)]('rejecting\x20breakpoint',_0x104162),__classPrivateFieldGet(_0x3a2c01,_Debuglet_completedBreakpointMap,'f')[_0x104162['id']]=!![],__classPrivateFieldGet(_0x3a2c01,_Debuglet_controller,'f')[_0xaacfed(0x194)](_0x3a2c01[_0xaacfed(0x198)],_0x104162);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x3caeb8){const _0x50b334=a18_0x508592,_0x5583f6=this;_0x3caeb8[_0x50b334(0x106)](_0x38b73f=>{const _0x3a6950=_0x50b334;_0x5583f6['logger'][_0x3a6950(0x13c)](_0x3a6950(0x100),_0x38b73f),__classPrivateFieldGet(_0x5583f6,_Debuglet_completedBreakpointMap,'f')[_0x38b73f['id']]=!![],__classPrivateFieldGet(_0x5583f6,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3a6950(0x1cf)](_0x5583f6,_0x38b73f,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x118c1a=a18_0x508592,_0x250fdc=Date[_0x118c1a(0x1eb)]()/0x3e8;return Object[_0x118c1a(0x1a8)](this[_0x118c1a(0x1bc)])['filter'](_0x4a9b84=>_0x4a9b84[_0x118c1a(0x15b)]?_0x4a9b84[_0x118c1a(0x15b)]<_0x250fdc:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x26e3d){const _0x5a0886=a18_0x508592,_0x34e913=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x26e3d),_0x26a0ec=_0x34e913[_0x5a0886(0x1c5)],_0x2d0f2c=_0x34e913[_0x5a0886(0x111)];_0x26a0ec&&_0x26a0ec[_0x5a0886(0x1b6)]&&this[_0x5a0886(0x184)][_0x5a0886(0x110)]('Blacklist:\x20\x0a\x09',_0x26a0ec['join']('\x0a\x09')),_0x2d0f2c&&_0x2d0f2c[_0x5a0886(0x1b6)]&&this['logger'][_0x5a0886(0x110)](_0x5a0886(0x1ad),_0x2d0f2c[_0x5a0886(0x140)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x5a0886(0x128))](_0x26a0ec,_0x2d0f2c,this[_0x5a0886(0x1b5)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x25db60){const _0x417c07=a18_0x508592,_0x5cbc36=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x417c07(0x174)](_0x25db60);_0x5cbc36?.[_0x417c07(0x1b6)]&&this[_0x417c07(0x184)][_0x417c07(0x110)](_0x417c07(0x17b),_0x5cbc36['map'](_0x4247b1=>_0x417c07(0x195)+_0x4247b1[_0x417c07(0x1e5)]+'\x20(type:\x20'+_0x4247b1[_0x417c07(0x127)]+_0x417c07(0x160)+_0x4247b1[_0x417c07(0x129)]+_0x417c07(0x178)+_0x4247b1[_0x417c07(0x12b)])[_0x417c07(0x140)]('\x0a\x09'));if((0x0,utils_1[_0x417c07(0x156)])(process[_0x417c07(0xfd)],_0x417c07(0x19b))){const {RedactionManagerRE2JS:_0xffbafa}=await Promise[_0x417c07(0x11b)]()[_0x417c07(0x1e6)](()=>require(_0x417c07(0x10d)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0xffbafa(this[_0x417c07(0x184)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x417c07(0x1b7)](_0x5cbc36);}},_Debuglet_stringify=function _Debuglet_stringify(_0xce1fdc){const _0x5f20ba=a18_0x508592;if(!_0xce1fdc)return JSON[_0x5f20ba(0x125)](_0xce1fdc,(_0x1be378,_0x237070)=>_0x237070===undefined?_0x5f20ba(0x1f1):_0x237070);if(Array['isArray'](_0xce1fdc)){const _0x447e32=[];for(const _0x1593f3 of _0xce1fdc){_0x447e32[_0x5f20ba(0x112)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x1593f3));}return'['+_0x447e32['join'](',\x20')+']';}if(typeof _0xce1fdc===_0x5f20ba(0xf8)){const _0x13fda6=Object['entries'](_0xce1fdc)[_0x5f20ba(0x142)](([_0x20c5d0,_0x4cd6ea])=>{const _0x4e8de8=_0x5f20ba,_0x250a64=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x4e8de8(0x12e)](_0x20c5d0)?redaction_manager_1['REDACTED_PLACEHOLDER']:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x4e8de8(0x1cf)](this,_0x4cd6ea);return JSON[_0x4e8de8(0x125)](_0x20c5d0)+':\x20'+_0x250a64;})['join'](',\x20');return'{'+_0x13fda6+'}';}return JSON['stringify'](_0xce1fdc);});
|
|
1
|
+
const a18_0x1663be=a18_0x5a4f;function a18_0x5a4f(_0x3f80bb,_0x3762b0){const _0x4fecc2=a18_0x1cc0();return a18_0x5a4f=function(_0x32ee3a,_0x1946cf){_0x32ee3a=_0x32ee3a-0x162;let _0x1cc078=_0x4fecc2[_0x32ee3a];return _0x1cc078;},a18_0x5a4f(_0x3f80bb,_0x3762b0);}(function(_0x44ff5b,_0x57d447){const _0x4ee4a4=a18_0x5a4f,_0x26feeb=_0x44ff5b();while(!![]){try{const _0x1c805e=parseInt(_0x4ee4a4(0x1ac))/0x1*(-parseInt(_0x4ee4a4(0x236))/0x2)+parseInt(_0x4ee4a4(0x187))/0x3+-parseInt(_0x4ee4a4(0x222))/0x4*(parseInt(_0x4ee4a4(0x20d))/0x5)+-parseInt(_0x4ee4a4(0x231))/0x6*(parseInt(_0x4ee4a4(0x25a))/0x7)+-parseInt(_0x4ee4a4(0x24b))/0x8+-parseInt(_0x4ee4a4(0x17e))/0x9*(-parseInt(_0x4ee4a4(0x22c))/0xa)+-parseInt(_0x4ee4a4(0x263))/0xb*(-parseInt(_0x4ee4a4(0x209))/0xc);if(_0x1c805e===_0x57d447)break;else _0x26feeb['push'](_0x26feeb['shift']());}catch(_0x49a114){_0x26feeb['push'](_0x26feeb['shift']());}}}(a18_0x1cc0,0x44f4e));const a18_0x1946cf=(function(){let _0x312086=!![];return function(_0x329bc4,_0x38d1f5){const _0x34c52b=_0x312086?function(){const _0x3e4898=a18_0x5a4f;if(_0x38d1f5){const _0x8fff16=_0x38d1f5[_0x3e4898(0x1f4)](_0x329bc4,arguments);return _0x38d1f5=null,_0x8fff16;}}:function(){};return _0x312086=![],_0x34c52b;};}()),a18_0x32ee3a=a18_0x1946cf(this,function(){const _0x34f460=a18_0x5a4f;return a18_0x32ee3a[_0x34f460(0x23f)]()[_0x34f460(0x217)]('(((.+)+)+)+$')[_0x34f460(0x23f)]()['constructor'](a18_0x32ee3a)[_0x34f460(0x217)]('(((.+)+)+)+$');});a18_0x32ee3a();'use strict';var __classPrivateFieldSet=this&&this[a18_0x1663be(0x204)]||function(_0x1791a1,_0x564b2d,_0x29cf10,_0x497d3e,_0x4bf1fb){const _0x337ac5=a18_0x1663be;if(_0x497d3e==='m')throw new TypeError(_0x337ac5(0x1a0));if(_0x497d3e==='a'&&!_0x4bf1fb)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x564b2d===_0x337ac5(0x182)?_0x1791a1!==_0x564b2d||!_0x4bf1fb:!_0x564b2d[_0x337ac5(0x24f)](_0x1791a1))throw new TypeError(_0x337ac5(0x237));return _0x497d3e==='a'?_0x4bf1fb[_0x337ac5(0x17c)](_0x1791a1,_0x29cf10):_0x4bf1fb?_0x4bf1fb['value']=_0x29cf10:_0x564b2d[_0x337ac5(0x25e)](_0x1791a1,_0x29cf10),_0x29cf10;},__classPrivateFieldGet=this&&this[a18_0x1663be(0x254)]||function(_0x3edc61,_0x419c24,_0x157e17,_0x2e539b){const _0x994551=a18_0x1663be;if(_0x157e17==='a'&&!_0x2e539b)throw new TypeError(_0x994551(0x24c));if(typeof _0x419c24===_0x994551(0x182)?_0x3edc61!==_0x419c24||!_0x2e539b:!_0x419c24[_0x994551(0x24f)](_0x3edc61))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x157e17==='m'?_0x2e539b:_0x157e17==='a'?_0x2e539b['call'](_0x3edc61):_0x2e539b?_0x2e539b[_0x994551(0x22d)]:_0x419c24['get'](_0x3edc61);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a18_0x1663be(0x192)](exports,a18_0x1663be(0x238),{'value':!![]}),exports[a18_0x1663be(0x22f)]=exports[a18_0x1663be(0x1db)]=void 0x0;const assert=require(a18_0x1663be(0x1d5)),events_1=require(a18_0x1663be(0x22e)),extend=require('extend'),fs=require('fs'),path=require('path'),util=require(a18_0x1663be(0x1a9)),status_message_1=require(a18_0x1663be(0x199)),stackdriver_1=require(a18_0x1663be(0x206)),agent_logger_1=require(a18_0x1663be(0x225)),config_1=require(a18_0x1663be(0x261)),controller_1=require(a18_0x1663be(0x1f7)),SourceMapper=require(a18_0x1663be(0x1b0)),debugapi=require('./v8/debugapi'),piping_manager_1=require('./piping-manager'),quota_manager_1=require('./quota-manager'),patterns_blocklist_manager_1=require('./blocklisting/patterns-blocklist-manager'),scanner_1=require(a18_0x1663be(0x19d)),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a18_0x1663be(0x174)),utils_1=require(a18_0x1663be(0x20a)),redaction_manager_1=require(a18_0x1663be(0x234)),configuration_provider_1=require(a18_0x1663be(0x23d)),normalizeConfig_1=require(a18_0x1663be(0x1b7)),mapSubtract_1=require(a18_0x1663be(0x1c4)),format_1=require(a18_0x1663be(0x21b)),createDebuggee_1=require(a18_0x1663be(0x215)),readFilep=util['promisify'](fs[a18_0x1663be(0x177)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x587012,_0x30b56d)=>{const _0x168ab4=a18_0x1663be;let _0x6d8d33=_0x587012+util[_0x168ab4(0x1e7)](_0x168ab4(0x17b),_0x30b56d['id'],_0x30b56d[_0x168ab4(0x243)],util[_0x168ab4(0x1c7)](_0x30b56d[_0x168ab4(0x220)]));if(_0x30b56d[_0x168ab4(0x23b)]){const _0x23e65a=Number(_0x30b56d[_0x168ab4(0x23b)][_0x168ab4(0x162)]),_0x567144=new Date(_0x23e65a*0x3e8);_0x6d8d33+=_0x168ab4(0x21e)+_0x567144[_0x168ab4(0x23f)]();}return _0x30b56d['condition']&&(_0x6d8d33+='\x0a\x09condition:\x20'+util['inspect'](_0x30b56d[_0x168ab4(0x1f6)])),_0x30b56d[_0x168ab4(0x1a7)]&&(_0x6d8d33+='\x0a\x09expressions:\x20'+util[_0x168ab4(0x1c7)](_0x30b56d[_0x168ab4(0x1a7)])),_0x6d8d33;},formatBreakpoints=(_0x400f34,_0x370c22)=>{const _0x5b962d=a18_0x1663be;return _0x400f34+Object[_0x5b962d(0x227)](_0x370c22)['map'](_0x19d22e=>{return formatBreakpoint('',_0x370c22[_0x19d22e]);})[_0x5b962d(0x224)]('\x0a');};class CachedPromise{constructor(){const _0x2dda07=a18_0x1663be;this[_0x2dda07(0x207)]=null,this[_0x2dda07(0x249)]=new Promise(_0x578708=>{const _0x3e9cdf=_0x2dda07;this[_0x3e9cdf(0x207)]=_0x578708;});}['get'](){return this['promise'];}[a18_0x1663be(0x1aa)](){const _0x15ffdc=a18_0x1663be;this[_0x15ffdc(0x207)]&&(this[_0x15ffdc(0x207)](),this[_0x15ffdc(0x207)]=null);}}exports['CachedPromise']=CachedPromise;class IsReadyImpl{constructor(_0x19acbb){this['debuglet']=_0x19acbb;}[a18_0x1663be(0x18a)](){const _0x4c569f=a18_0x1663be;return this[_0x4c569f(0x1ff)][_0x4c569f(0x18a)]();}}class Debuglet extends events_1[a18_0x1663be(0x219)]{constructor(_0x45a289,_0x42b1ac){const _0x1e1c7b=a18_0x1663be;super(),_Debuglet_instances[_0x1e1c7b(0x1a5)](this),_Debuglet_debug[_0x1e1c7b(0x25e)](this,void 0x0),_Debuglet_v8debug[_0x1e1c7b(0x25e)](this,void 0x0),_Debuglet_running[_0x1e1c7b(0x25e)](this,void 0x0),_Debuglet_controller[_0x1e1c7b(0x25e)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x1e1c7b(0x25e)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp['set'](this,void 0x0),_Debuglet_breakpointFetched[_0x1e1c7b(0x25e)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x1e1c7b(0x25e)](this,void 0x0),_Debuglet_nextEnableTimeout['set'](this,null),this[_0x1e1c7b(0x180)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x1e1c7b(0x25e)](this,void 0x0),_Debuglet_scanner[_0x1e1c7b(0x25e)](this,void 0x0),_Debuglet_quotaManager[_0x1e1c7b(0x25e)](this,void 0x0),_Debuglet_blocklistManager[_0x1e1c7b(0x25e)](this,void 0x0),_Debuglet_redactionManager['set'](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),this[_0x1e1c7b(0x1a2)]=(0x0,normalizeConfig_1[_0x1e1c7b(0x1d1)])(_0x42b1ac),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1['ConfigurationProvider'](this[_0x1e1c7b(0x1a2)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x45a289,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0x1e1c7b(0x262)]=agent_logger_1[_0x1e1c7b(0x253)][_0x1e1c7b(0x16e)](this[_0x1e1c7b(0x1a2)]['agentLog'][_0x1e1c7b(0x19c)],this[_0x1e1c7b(0x1a2)][_0x1e1c7b(0x21f)]['agentLogMaxFileSizeMb'],this['config'][_0x1e1c7b(0x21f)][_0x1e1c7b(0x185)],this[_0x1e1c7b(0x1a2)]['agentLog'][_0x1e1c7b(0x1b5)],this[_0x1e1c7b(0x1a2)]['agentLog'][_0x1e1c7b(0x228)]),(0x0,config_1[_0x1e1c7b(0x246)])(this['config'],this[_0x1e1c7b(0x262)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x1e1c7b(0x1a4))](this[_0x1e1c7b(0x262)])[_0x1e1c7b(0x16d)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x1e1c7b(0x178))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x1e1c7b(0x1a2)],this[_0x1e1c7b(0x262)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x1e1c7b(0x1b9))](this['logger']),'f'),this[_0x1e1c7b(0x1d7)]=null,this['activeBreakpointMap']={},__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[(_0x1e1c7b(0x233))](this[_0x1e1c7b(0x262)],this[_0x1e1c7b(0x1a2)]),'f'),this[_0x1e1c7b(0x1b8)]=new piping_manager_1[(_0x1e1c7b(0x260))]('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x1e1c7b(0x1a2)]);}async[a18_0x1663be(0x1e9)](_0x48ecfa,_0x4de029){const _0x125d2f=a18_0x1663be,_0x19a258=_0x48ecfa[_0x125d2f(0x1e0)],_0x2874c8=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x125d2f(0x200)](_0x19a258,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x125d2f(0x17c)](_a,_0x48ecfa[_0x125d2f(0x173)]['concat']('js.map')),_0x4de029,_0x48ecfa[_0x125d2f(0x235)]),_0xf57c3a=_0x2874c8['selectStats'](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x125d2f(0x17c)](_a,_0x48ecfa['javascriptFileExtensions'])),_0x5a8c8b=file_index_1[_0x125d2f(0x1a8)][_0x125d2f(0x16f)](_0xf57c3a),_0x64596f=_0x2874c8[_0x125d2f(0x1fb)](/.js.map$/,process[_0x125d2f(0x1ab)]()),_0x5ead67=_0x2874c8[_0x125d2f(0x1f3)]();return{'mapFiles':_0x64596f,'errors':_0x5ead67,'jsFileIndex':_0x5a8c8b,'hash':_0x2874c8['hash']};}async[a18_0x1663be(0x1e2)](){const _0x19cf7=a18_0x1663be,_0x209020=this,_0x25f5e3=_0x209020['config'][_0x19cf7(0x1e0)];if(!_0x209020[_0x19cf7(0x1a2)][_0x19cf7(0x198)]&&path[_0x19cf7(0x224)](_0x25f5e3,'..')===_0x25f5e3){const _0x3e70a7=_0x19cf7(0x17f)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x19cf7(0x1c3)+_0x19cf7(0x255);_0x209020[_0x19cf7(0x262)]['error'](_0x3e70a7),_0x209020['emit'](_0x19cf7(0x169),new Error(_0x3e70a7));return;}let _0x191225;process[_0x19cf7(0x197)][_0x19cf7(0x212)]&&(_0x191225=_0x19cf7(0x1e8)+process['env'][_0x19cf7(0x212)]);let _0xbc5a75,_0x40f163=_0x191225||'';try{_0xbc5a75=await this['findFiles'](_0x209020[_0x19cf7(0x1a2)],_0x191225),_0xbc5a75['errors'][_0x19cf7(0x1cb)](_0x209020['logger'][_0x19cf7(0x1f1)]);}catch(_0x505e13){_0x209020[_0x19cf7(0x262)][_0x19cf7(0x1d4)](_0x19cf7(0x1f8),_0x505e13),_0x209020[_0x19cf7(0x20f)](_0x19cf7(0x169),_0x505e13);return;}try{const _0x47ba9c=await SourceMapper[_0x19cf7(0x21c)](_0x209020[_0x19cf7(0x262)],_0xbc5a75[_0x19cf7(0x1dd)],_0x209020['config']['internal']?.['sourceMapDiagnostics']);__classPrivateFieldSet(_0x209020,_Debuglet_v8debug,debugapi[_0x19cf7(0x21c)](_0x209020['logger'],_0x209020['config'],_0xbc5a75[_0x19cf7(0x1cd)],_0x47ba9c,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x40f163=_0x191225||_0xbc5a75[_0x19cf7(0x1f0)];}catch(_0x29d324){_0x209020[_0x19cf7(0x262)][_0x19cf7(0x1d4)](_0x19cf7(0x1c5),_0x29d324),_0x209020[_0x19cf7(0x262)][_0x19cf7(0x1eb)](JSON['stringify'](_0x29d324)),_0x209020[_0x19cf7(0x20f)](_0x19cf7(0x169),_0x29d324);}_0x209020[_0x19cf7(0x262)][_0x19cf7(0x1eb)](_0x19cf7(0x1fa)+_0x40f163);const _0x25a2cb=(0x0,utils_1[_0x19cf7(0x188)])(_0x209020[_0x19cf7(0x262)])['replace']('\x0a','');_0x209020[_0x19cf7(0x262)]['info']('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x25a2cb);let _0x34dd89;try{_0x34dd89=_0x209020['config'][_0x19cf7(0x226)]||await _a['getSourceContextFromFile']();}catch(_0x470463){}_0x209020['logger'][_0x19cf7(0x1eb)](_0x19cf7(0x21a)+process[_0x19cf7(0x20e)]?.['filename']),_0x209020['logger'][_0x19cf7(0x176)]('Working\x20directory:\x20'+_0x25f5e3),_0x209020[_0x19cf7(0x262)][_0x19cf7(0x176)](_0x19cf7(0x223)),__classPrivateFieldSet(_0x209020,_Debuglet_running,!![],'f'),_0x209020['debuggee']=(0x0,createDebuggee_1['createDebuggee'])(_0x40f163,_0x209020[_0x19cf7(0x1a2)],_0x34dd89,__classPrivateFieldGet(_0x209020,_Debuglet_debug,'f')[_0x19cf7(0x1a6)],_0x25a2cb,_0x209020['logger'],__classPrivateFieldGet(_0x209020,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x209020,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x19cf7(0x17c)](_0x209020),__classPrivateFieldGet(_0x209020,_Debuglet_instances,'m',_Debuglet_register_)[_0x19cf7(0x17c)](_0x209020),_0x209020[_0x19cf7(0x20f)](_0x19cf7(0x1c2));}[a18_0x1663be(0x18a)](){const _0x474e84=a18_0x1663be;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x474e84(0x1aa)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x474e84(0x1fe)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x474e84(0x1fe)]()[_0x474e84(0x18c)](()=>{const _0x1cf636=_0x474e84;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1cf636(0x17c)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x474e84(0x1fe)]();}}static async['getSourceContextFromFile'](){const _0xafa0e7=a18_0x1663be,_0x1b1d66=await readFilep(_0xafa0e7(0x1bc),_0xafa0e7(0x1ae));try{return JSON[_0xafa0e7(0x196)](_0x1b1d66);}catch(_0x23f9e2){throw new Error(_0xafa0e7(0x24e)+_0x23f9e2);}}[a18_0x1663be(0x242)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x1663be(0x18e)](){const _0x485d2e=a18_0x1663be;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x485d2e(0x262)][_0x485d2e(0x176)](_0x485d2e(0x18d));return;}this[_0x485d2e(0x262)][_0x485d2e(0x176)](_0x485d2e(0x23e)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x485d2e(0x165)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x485d2e(0x20f)](_0x485d2e(0x1e5));}['setCustomLogLevel'](_0x2351e4){const _0x34abce=a18_0x1663be,_0x7555c=this['logger'][_0x34abce(0x218)]();if(_0x7555c===_0x34abce(0x176))return;switch(_0x2351e4){case _0x34abce(0x251):this[_0x34abce(0x262)][_0x34abce(0x1ef)]()!==_0x34abce(0x176)&&(this[_0x34abce(0x262)]['setLevel'](_0x34abce(0x176)),this['logger']['debug'](_0x34abce(0x20c)));break;case'NOT_SET':case undefined:this[_0x34abce(0x262)][_0x34abce(0x1ef)]()===_0x34abce(0x176)&&(this[_0x34abce(0x262)][_0x34abce(0x203)](_0x7555c),this[_0x34abce(0x262)][_0x34abce(0x1eb)](_0x34abce(0x175)+_0x7555c+')'));break;default:this[_0x34abce(0x262)][_0x34abce(0x1f1)](_0x34abce(0x1f9)+_0x2351e4);}}}exports[a18_0x1663be(0x22f)]=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(_0x118469){const _0x1fce8b=a18_0x1663be;return new RegExp(_0x118469[_0x1fce8b(0x1da)](_0xcd6d31=>_0xcd6d31+'$')[_0x1fce8b(0x224)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x885288=a18_0x1663be,_0x1558c0=[_0x885288(0x1ce),_0x885288(0x1ad),_0x885288(0x164)];_0x1558c0[_0x885288(0x1cb)](_0x189769=>{const _0x5c3a95=_0x885288;process[_0x5c3a95(0x1fc)](_0x189769,()=>{const _0x29cc2c=_0x5c3a95;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x29cc2c(0x245)](this[_0x29cc2c(0x1d7)],()=>{const _0x3aa73e=_0x29cc2c;process['kill'](process[_0x3aa73e(0x170)],_0x189769);});});}),process[_0x885288(0x1fc)](_0x885288(0x186),()=>{const _0x171777=_0x885288;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x171777(0x245)](this[_0x171777(0x1d7)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0xd3925d){const _0x2d6293=a18_0x1663be,_0x56f5b9=this;_0x56f5b9[_0x2d6293(0x262)]['debug'](_0xd3925d?_0x2d6293(0x22a)+_0xd3925d+'s':'Registering\x20debuggee');function _0x1a7f65(_0x2a33c9,_0x316cbc,_0x495ec6=![]){const _0x4ae86c=_0x2d6293,_0x587d17=_0x56f5b9[_0x4ae86c(0x1d7)]?.['id']?_0x4ae86c(0x1dc)+_0x56f5b9[_0x4ae86c(0x1d7)]?.['id']+':\x20'+(0x0,utils_1[_0x4ae86c(0x205)])(_0x2a33c9):_0x4ae86c(0x1be)+(0x0,utils_1[_0x4ae86c(0x205)])(_0x2a33c9);_0x56f5b9[_0x4ae86c(0x262)]['error'](_0x587d17),_0x316cbc&&!_0x495ec6&&_0x56f5b9[_0x4ae86c(0x262)]['error'](_0x4ae86c(0x1b3),_0x316cbc),__classPrivateFieldGet(_0x56f5b9,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x4ae86c(0x17c)](_0x56f5b9,(0x0,utils_1[_0x4ae86c(0x18f)])(_0xd3925d,_0x56f5b9[_0x4ae86c(0x1a2)][_0x4ae86c(0x1fd)]['maxRequestRetryDelaySeconds']));}setTimeout(()=>{const _0x4e8a60=_0x2d6293;if(!__classPrivateFieldGet(_0x56f5b9,_Debuglet_running,'f')){_0x1a7f65(new Error(_0x4e8a60(0x25f)));return;}__classPrivateFieldGet(_0x56f5b9,_Debuglet_controller,'f')[_0x4e8a60(0x16b)](_0x56f5b9[_0x4e8a60(0x1d7)],(_0x5ddb2f,_0x4d4b88,_0x354266=![])=>{const _0x1cd3ae=_0x4e8a60;if(_0x5ddb2f){_0x1a7f65(_0x5ddb2f,_0x4d4b88,_0x354266);return;}if(_0x4d4b88[_0x1cd3ae(0x1d7)][_0x1cd3ae(0x232)]){_0x1a7f65(new Error(_0x1cd3ae(0x25b))),_0x56f5b9[_0x1cd3ae(0x20f)]('remotelyDisabled');return;}const _0x1506ca=_0x4d4b88[_0x1cd3ae(0x1d7)]['id'];_0x56f5b9[_0x1cd3ae(0x262)][_0x1cd3ae(0x1eb)]('Registered\x20as\x20debuggee:\x20'+_0x1506ca),_0x56f5b9[_0x1cd3ae(0x1d7)]['id']=_0x1506ca;const _0x1e446a=[__classPrivateFieldGet(_0x56f5b9,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x1cd3ae(0x191)](_0x56f5b9)(_0x56f5b9['debuggee']['id'])];_0x56f5b9['config']['redactionEnabled']&&_0x1e446a[_0x1cd3ae(0x252)](__classPrivateFieldGet(_0x56f5b9,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x1cd3ae(0x191)](_0x56f5b9)(_0x56f5b9[_0x1cd3ae(0x1d7)]['id'])),Promise[_0x1cd3ae(0x1e1)](_0x1e446a)[_0x1cd3ae(0x18c)](()=>{const _0x1e2f03=_0x1cd3ae;_0x56f5b9[_0x1e2f03(0x20f)]('registered',_0x1506ca),__classPrivateFieldGet(_0x56f5b9,_Debuglet_debuggeeRegistered,'f')[_0x1e2f03(0x1aa)](),__classPrivateFieldGet(_0x56f5b9,_Debuglet_v8debug,'f')?.[_0x1e2f03(0x216)](__classPrivateFieldGet(_0x56f5b9,_Debuglet_blocklistManager,'f')),!_0x56f5b9[_0x1e2f03(0x1e3)]&&__classPrivateFieldGet(_0x56f5b9,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1e2f03(0x17c)](_0x56f5b9,0x0,this[_0x1e2f03(0x1a2)]['fetchBreakpointsOnce'],_0x4d4b88?.['clientConnectionTimeoutInSeconds']);},_0x274eb2=>{_0x1a7f65(_0x274eb2);});});},_0xd3925d*0x3e8)[_0x2d6293(0x168)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x175dbd,_0x20ff49,_0x2bfb47){const _0x2a0f32=a18_0x1663be,_0x2168bb=this;!_0x20ff49&&(_0x2168bb[_0x2a0f32(0x1e3)]=!![]),setTimeout(()=>{const _0x4a015c=_0x2a0f32;if(!__classPrivateFieldGet(_0x2168bb,_Debuglet_running,'f'))return;!_0x20ff49&&assert(_0x2168bb[_0x4a015c(0x1e3)]),_0x2168bb[_0x4a015c(0x262)][_0x4a015c(0x176)](_0x4a015c(0x16a)),__classPrivateFieldGet(_0x2168bb,_Debuglet_controller,'f')['listBreakpoints'](_0x2168bb[_0x4a015c(0x1d7)],(_0x289d1d,_0x1dae0e,_0x33291f)=>{const _0x32a2b8=_0x4a015c;if(_0x1dae0e?.[_0x32a2b8(0x19f)]===0x194){_0x2168bb[_0x32a2b8(0x262)]['info'](_0x32a2b8(0x201)),_0x2168bb[_0x32a2b8(0x1e3)]=![],__classPrivateFieldGet(_0x2168bb,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x32a2b8(0x17c)](_0x2168bb),__classPrivateFieldGet(_0x2168bb,_Debuglet_instances,'m',_Debuglet_register_)['call'](_0x2168bb);return;}if(_0x289d1d){const _0x4ddc06=(0x0,utils_1[_0x32a2b8(0x18f)])(_0x175dbd,_0x2168bb[_0x32a2b8(0x1a2)]['internal'][_0x32a2b8(0x1d9)]);_0x2168bb[_0x32a2b8(0x262)][_0x32a2b8(0x1d4)]('\x09Got\x20error\x20from\x20server.\x20status:\x20'+_0x1dae0e?.[_0x32a2b8(0x19f)]+_0x32a2b8(0x195)+_0x289d1d[_0x32a2b8(0x241)]+_0x32a2b8(0x211)+_0x4ddc06+'s'),__classPrivateFieldGet(_0x2168bb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x32a2b8(0x17c)](_0x2168bb,_0x4ddc06,_0x20ff49,_0x2bfb47);return;}_0x2168bb['logger'][_0x32a2b8(0x176)]('\x09'+_0x1dae0e[_0x32a2b8(0x19f)]+_0x32a2b8(0x19b));if(!_0x33291f){const _0x4f6f2e=_0x2168bb[_0x32a2b8(0x1a2)][_0x32a2b8(0x194)];_0x2168bb['logger'][_0x32a2b8(0x1d4)]('\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20'+_0x4f6f2e+'s'),__classPrivateFieldGet(_0x2168bb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x32a2b8(0x17c)](_0x2168bb,_0x4f6f2e,_0x20ff49,_0x2bfb47);return;}this[_0x32a2b8(0x244)](_0x33291f[_0x32a2b8(0x1b5)]);if(_0x33291f[_0x32a2b8(0x250)]){_0x2168bb[_0x32a2b8(0x262)]['info'](_0x32a2b8(0x1c9)),__classPrivateFieldGet(_0x2168bb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x32a2b8(0x17c)](_0x2168bb,0x0,_0x20ff49,_0x2bfb47);return;}if(_0x33291f[_0x32a2b8(0x259)]&&_0x33291f[_0x32a2b8(0x259)]!=='NOT_SET'){const _0x290c38=this[_0x32a2b8(0x1b8)][_0x32a2b8(0x1f5)];_0x290c38!==_0x33291f[_0x32a2b8(0x259)]&&(this[_0x32a2b8(0x262)][_0x32a2b8(0x176)]('Switching\x20globalPiping\x20status\x20from\x20'+_0x290c38+_0x32a2b8(0x1bf)+_0x33291f[_0x32a2b8(0x259)]),this[_0x32a2b8(0x1b8)][_0x32a2b8(0x1f5)]=_0x33291f[_0x32a2b8(0x259)]);}if(_0x33291f[_0x32a2b8(0x24a)]&&_0x33291f[_0x32a2b8(0x183)]!==_0x2168bb['collectLogRequestId']){_0x2168bb[_0x32a2b8(0x183)]=_0x33291f[_0x32a2b8(0x183)];const _0x2d7c0b=_0x2168bb[_0x32a2b8(0x1a2)][_0x32a2b8(0x21f)][_0x32a2b8(0x19c)]&&path[_0x32a2b8(0x224)](_0x2168bb[_0x32a2b8(0x1a2)][_0x32a2b8(0x21f)][_0x32a2b8(0x19c)],agent_logger_1[_0x32a2b8(0x253)][_0x32a2b8(0x1b6)]);_0x2d7c0b&&fs['existsSync'](_0x2d7c0b)?setTimeout(()=>__classPrivateFieldGet(_0x2168bb,_Debuglet_controller,'f')[_0x32a2b8(0x239)](_0x2168bb[_0x32a2b8(0x1d7)],_0x33291f[_0x32a2b8(0x183)],_0x2d7c0b)):_0x2168bb[_0x32a2b8(0x262)][_0x32a2b8(0x1eb)](_0x32a2b8(0x264)+_0x33291f['collectLogRequestId']+_0x32a2b8(0x258)+'logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits');}const _0x4d292a=(_0x33291f[_0x32a2b8(0x240)]||[])['map'](_0x4688c0=>new stackdriver_1[(_0x32a2b8(0x17a))](_0x4688c0))[_0x32a2b8(0x166)](_0x5e549e=>{const _0x2aeb3=_0x32a2b8,_0x1ccaa7=_0x5e549e[_0x2aeb3(0x243)]||'CAPTURE';if(__classPrivateFieldGet(_0x2168bb,_Debuglet_completedBreakpointMap,'f')[_0x5e549e['id']])return![];if(_0x1ccaa7!==_0x2aeb3(0x21d)&&_0x1ccaa7!==_0x2aeb3(0x1b2))return _0x2168bb['logger']['warn'](_0x2aeb3(0x22b),_0x1ccaa7),_0x5e549e[_0x2aeb3(0x19f)]=new status_message_1[(_0x2aeb3(0x181))](status_message_1[_0x2aeb3(0x181)][_0x2aeb3(0x1b4)],utils_1[_0x2aeb3(0x1f3)][_0x2aeb3(0x1df)],!![]),__classPrivateFieldGet(_0x2168bb,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x2aeb3(0x17c)](_0x2168bb,_0x5e549e),![];return!![];}),_0x49cd7d=__classPrivateFieldGet(_0x2168bb,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x32a2b8(0x17c)](_0x2168bb);let _0x491211=_0x49cd7d[_0x32a2b8(0x1cc)]>0x0;__classPrivateFieldGet(_0x2168bb,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x32a2b8(0x17c)](_0x2168bb,_0x49cd7d),_0x491211=_0x491211||__classPrivateFieldGet(_0x2168bb,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](_0x2168bb,_0x4d292a),_0x2168bb[_0x32a2b8(0x20f)]('breakpoints_fetched',_0x4d292a[_0x32a2b8(0x1cc)]);_0x491211&&_0x2168bb[_0x32a2b8(0x262)][_0x32a2b8(0x176)](formatBreakpoints('Active\x20Breakpoints:\x20\x0a',_0x2168bb[_0x32a2b8(0x1a1)]));__classPrivateFieldSet(_0x2168bb,_Debuglet_breakpointFetchedTimestamp,Date['now'](),'f');_0x20ff49?__classPrivateFieldGet(_0x2168bb,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x2168bb,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(_0x2168bb,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x2168bb,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x32a2b8(0x17c)](_0x2168bb,0x0,_0x20ff49,_0x2bfb47);return;},_0x2bfb47);},_0x175dbd*0x3e8)[_0x2a0f32(0x168)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x2c6187=a18_0x1663be;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x2c6187(0x1aa)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x3132d6){const _0x2d8f79=a18_0x1663be,_0x8cc736=this,_0x5cd276=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x2d8f79(0x17c)](this,_0x3132d6);let _0x5bcc4e=![];return _0x3132d6[_0x2d8f79(0x1cb)](_0x5dd63b=>{const _0x45a67f=_0x2d8f79;!__classPrivateFieldGet(_0x8cc736,_Debuglet_completedBreakpointMap,'f')[_0x5dd63b['id']]&&!_0x8cc736['activeBreakpointMap'][_0x5dd63b['id']]&&(__classPrivateFieldGet(_0x8cc736,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x45a67f(0x17c)](_0x8cc736,_0x5dd63b,_0x5b28da=>{_0x5b28da&&__classPrivateFieldGet(_0x8cc736,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](_0x8cc736,_0x5dd63b,!![],![]);}),_0x5bcc4e=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x5dd63b['id'])),__classPrivateFieldGet(_0x8cc736,_Debuglet_quotaManager,'f')[_0x45a67f(0x208)](_0x5dd63b['id'],_0x5dd63b[_0x45a67f(0x167)]),_0x8cc736['pipingManager']['setPipingStatus'](_0x5dd63b['id'],_0x5dd63b[_0x45a67f(0x202)]);}),(0x0,mapSubtract_1[_0x2d8f79(0x1e4)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x5cd276)[_0x2d8f79(0x1cb)](_0x46dbbc=>{delete __classPrivateFieldGet(_0x8cc736,_Debuglet_completedBreakpointMap,'f')[_0x46dbbc['id']],_0x5bcc4e=!![];}),(0x0,mapSubtract_1['mapSubtract'])(this[_0x2d8f79(0x1a1)],_0x5cd276)[_0x2d8f79(0x1cb)](_0x1e25a2=>{const _0x434aed=_0x2d8f79;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x434aed(0x17c)](this,_0x1e25a2,!![]),_0x5bcc4e=!![];}),_0x5bcc4e&&_0x8cc736[_0x2d8f79(0x262)][_0x2d8f79(0x176)](formatBreakpoints(_0x2d8f79(0x23a),_0x5cd276)),_0x5bcc4e;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x509761){const _0xd269dc={};return _0x509761['forEach'](_0x21291a=>{_0xd269dc[_0x21291a['id']]=_0x21291a;}),_0xd269dc;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x720a15,_0x7ffa69){const _0x1fe022=a18_0x1663be;this['logger'][_0x1fe022(0x1eb)](_0x1fe022(0x16c),_0x720a15),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['removePerBreakpointQuota'](_0x720a15['id']),this[_0x1fe022(0x1b8)]['removeBreakpoint'](_0x720a15['id']),delete this[_0x1fe022(0x1a1)][_0x720a15['id']],_0x7ffa69&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x1fe022(0x230)](_0x720a15,_0x22dc54=>{const _0x293424=_0x1fe022;if(_0x22dc54)this[_0x293424(0x262)][_0x293424(0x1d4)](_0x22dc54);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x121dc9,_0x184d21){const _0x10f638=a18_0x1663be,_0x5c1a6a=this;_0x5c1a6a['logger'][_0x10f638(0x1eb)]('\x09adding\x20breakpoint',_0x121dc9);if(!_0x5c1a6a['config'][_0x10f638(0x25c)]&&(_0x121dc9['condition']||_0x121dc9[_0x10f638(0x1a7)])){_0x5c1a6a[_0x10f638(0x262)]['error'](utils_1[_0x10f638(0x1f3)]['ALLOW_EXPRESSIONS_MESSAGE']['description']||''),_0x121dc9[_0x10f638(0x19f)]=new status_message_1[(_0x10f638(0x181))](status_message_1['StatusMessage']['UNSPECIFIED'],utils_1['errors'][_0x10f638(0x247)],!![]),setImmediate(()=>{const _0x3c8173=_0x10f638;_0x184d21(utils_1[_0x3c8173(0x1f3)][_0x3c8173(0x247)]);});return;}if((0x0,utils_1[_0x10f638(0x18b)])(process[_0x10f638(0x1e6)],_0x10f638(0x1c6))){const _0x19289b=utils_1['errors'][_0x10f638(0x1af)];_0x5c1a6a[_0x10f638(0x262)][_0x10f638(0x1d4)](_0x19289b),_0x121dc9[_0x10f638(0x19f)]=new status_message_1['StatusMessage'](status_message_1[_0x10f638(0x181)][_0x10f638(0x1b4)],_0x19289b,!![]),setImmediate(()=>{_0x184d21(_0x19289b);});return;}const _0x363163=_0x121dc9[_0x10f638(0x23b)]?Number(_0x121dc9[_0x10f638(0x23b)][_0x10f638(0x162)]):Date['now']()/0x3e8,_0x459a89=_0x121dc9['expirationSeconds']||_0x5c1a6a['config']['breakpointExpirationSec'];_0x121dc9[_0x10f638(0x1d0)]=_0x363163+_0x459a89,_0x121dc9['location']?.[_0x10f638(0x210)]&&(_0x121dc9[_0x10f638(0x220)][_0x10f638(0x210)]=path[_0x10f638(0x214)](_0x121dc9[_0x10f638(0x220)][_0x10f638(0x210)]),path[_0x10f638(0x1ca)]===path['posix']['sep']&&(_0x121dc9['location'][_0x10f638(0x210)]=_0x121dc9['location'][_0x10f638(0x210)][_0x10f638(0x1b1)]('\x5c')[_0x10f638(0x224)](path['sep']))),__classPrivateFieldGet(_0x5c1a6a,_Debuglet_v8debug,'f')['set'](_0x121dc9,_0x52e538=>{const _0x5c1d50=_0x10f638;if(_0x52e538){_0x184d21(_0x52e538);return;}_0x5c1a6a[_0x5c1d50(0x262)][_0x5c1d50(0x1eb)](_0x5c1d50(0x190),_0x121dc9),_0x5c1a6a[_0x5c1d50(0x1a1)][_0x121dc9['id']]=_0x121dc9,_0x121dc9[_0x5c1d50(0x243)]===_0x5c1d50(0x1b2)?__classPrivateFieldGet(_0x5c1a6a,_Debuglet_v8debug,'f')[_0x5c1d50(0x23c)](_0x121dc9,(_0x5eb641,_0x1017c7)=>{const _0x3abab8=_0x5c1d50,_0x33f65d=_0x1017c7[_0x3abab8(0x1da)](_0x3de693=>__classPrivateFieldGet(_0x5c1a6a,_Debuglet_instances,'m',_Debuglet_stringify)[_0x3abab8(0x17c)](_0x5c1a6a,_0x3de693)),_0x68d9ea=(0x0,format_1['format'])(_0x5eb641,_0x33f65d),_0x5287d4=_0x3abab8(0x172)+(__classPrivateFieldGet(_0x5c1a6a,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0x68d9ea)||_0x68d9ea),_0x4b673d=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x5287d4,_0x121dc9['id']);if(_0x4b673d){const _0x47922e=_0x4b673d[_0x3abab8(0x241)],_0x3f4c61=_0x4b673d[_0x3abab8(0x1d8)];let _0x5a5c53,_0x543873;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x3abab8(0x179)]()&&!_0x3f4c61&&(_0x5a5c53=_0x3abab8(0x172)+_0x5eb641,_0x543873=_0x33f65d);_0x5c1a6a[_0x3abab8(0x1b8)]['addAndPipeLog'](_0x5c1a6a['debuggee'],_0x121dc9['id'],_0x47922e,_0x121dc9[_0x3abab8(0x1c1)],_0x5a5c53,_0x543873);if(_0x3f4c61)__classPrivateFieldGet(_0x5c1a6a,_Debuglet_v8debug,'f')?.[_0x3abab8(0x1f2)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{__classPrivateFieldGet(_0x5c1a6a,_Debuglet_v8debug,'f')?.['enable'](),__classPrivateFieldSet(_0x5c1a6a,_Debuglet_nextEnableTimeout,null,'f');},_0x5c1a6a['config'][_0x3abab8(0x193)]['quotaRecoverySeconds']*0x3e8),'f');else _0x47922e?.[_0x3abab8(0x1cc)]===0x0&&__classPrivateFieldGet(_0x5c1a6a,_Debuglet_v8debug,'f')?.[_0x3abab8(0x1f2)]();}},()=>{return __classPrivateFieldGet(_0x5c1a6a,_Debuglet_completedBreakpointMap,'f')[_0x121dc9['id']];},_0x215fe8=>{const _0x349a90=_0x5c1d50;if(_0x215fe8){_0x5c1a6a[_0x349a90(0x262)][_0x349a90(0x1d4)](_0x215fe8),_0x184d21(_0x215fe8);return;}}):__classPrivateFieldGet(_0x5c1a6a,_Debuglet_v8debug,'f')[_0x5c1d50(0x1d3)](_0x121dc9,_0xa68905=>{const _0x1890d0=_0x5c1d50;if(_0xa68905){setImmediate(()=>{const _0x9dc10d=a18_0x5a4f;_0x5c1a6a[_0x9dc10d(0x262)][_0x9dc10d(0x1d4)](_0xa68905),_0x184d21(_0xa68905);});return;}_0x5c1a6a[_0x1890d0(0x262)][_0x1890d0(0x1eb)]('Breakpoint\x20hit!:\x20',_0x121dc9),__classPrivateFieldGet(_0x5c1a6a,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x1890d0(0x17c)](_0x5c1a6a,_0x121dc9,__classPrivateFieldGet(_0x5c1a6a,_Debuglet_v8debug,'f')[_0x1890d0(0x1ea)](_0x121dc9['id'])<=0x0);}),__classPrivateFieldGet(_0x5c1a6a,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x5c1d50(0x17c)](_0x5c1a6a,_0x121dc9);}),this[_0x10f638(0x20f)](_0x10f638(0x20b));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0xbe5f7a,_0x2e7338,_0x529f97=!![]){const _0x18447e=a18_0x1663be,_0x29f6aa=this;if(_0xbe5f7a[_0x18447e(0x19f)]&&_0xbe5f7a[_0x18447e(0x19f)]['isError']){let _0x1742ef=_0xbe5f7a[_0x18447e(0x19f)]?.[_0x18447e(0x1c0)]?.[_0x18447e(0x1e7)]||'';_0xbe5f7a[_0x18447e(0x19f)]?.[_0x18447e(0x1c0)]?.[_0x18447e(0x171)]&&(_0x1742ef+=':\x20'+_0xbe5f7a[_0x18447e(0x19f)]?.[_0x18447e(0x1c0)]?.[_0x18447e(0x171)][_0x18447e(0x23f)]()),_0x29f6aa[_0x18447e(0x262)][_0x18447e(0x1f1)](_0x18447e(0x1d6)+_0xbe5f7a+_0x18447e(0x256)+_0x1742ef);}else _0x29f6aa[_0x18447e(0x262)][_0x18447e(0x1eb)](_0x18447e(0x1bb),_0xbe5f7a);_0x2e7338&&(__classPrivateFieldGet(_0x29f6aa,_Debuglet_completedBreakpointMap,'f')[_0xbe5f7a['id']]=!![],__classPrivateFieldGet(_0x29f6aa,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](_0x29f6aa,_0xbe5f7a,_0x529f97)),__classPrivateFieldGet(_0x29f6aa,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x29f6aa['debuggee'],extend(!![],{},_0xbe5f7a));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x47d0b6){const _0x35f9d0=a18_0x1663be,_0x3a817d=this;_0x3a817d['logger'][_0x35f9d0(0x176)]('reporting\x20breakpoint\x20'+_0x47d0b6+_0x35f9d0(0x24d));const _0x220281=extend(!![],{},_0x47d0b6);_0x220281['isFinalState']=![],_0x220281[_0x35f9d0(0x19f)]=new status_message_1[(_0x35f9d0(0x181))](status_message_1[_0x35f9d0(0x181)]['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(_0x3a817d,_Debuglet_controller,'f')[_0x35f9d0(0x1ec)](_0x3a817d[_0x35f9d0(0x1d7)],_0x220281);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x460a15){const _0x50a285=a18_0x1663be,_0xae4f51=this;this[_0x50a285(0x262)][_0x50a285(0x1eb)](_0x50a285(0x1de),_0x460a15),__classPrivateFieldGet(_0xae4f51,_Debuglet_completedBreakpointMap,'f')[_0x460a15['id']]=!![],__classPrivateFieldGet(_0xae4f51,_Debuglet_controller,'f')[_0x50a285(0x1ec)](_0xae4f51[_0x50a285(0x1d7)],_0x460a15);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x5c16d8){const _0x4b0d11=a18_0x1663be,_0x3a60d5=this;_0x5c16d8[_0x4b0d11(0x1cb)](_0x4c43d6=>{const _0x4fe407=_0x4b0d11;_0x3a60d5['logger'][_0x4fe407(0x1eb)](_0x4fe407(0x1ed),_0x4c43d6),__classPrivateFieldGet(_0x3a60d5,_Debuglet_completedBreakpointMap,'f')[_0x4c43d6['id']]=!![],__classPrivateFieldGet(_0x3a60d5,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x4fe407(0x17c)](_0x3a60d5,_0x4c43d6,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x5a87a9=a18_0x1663be,_0x35a346=Date['now']()/0x3e8;return Object[_0x5a87a9(0x248)](this[_0x5a87a9(0x1a1)])[_0x5a87a9(0x166)](_0x5e093d=>_0x5e093d[_0x5a87a9(0x1d0)]?_0x5e093d[_0x5a87a9(0x1d0)]<_0x35a346:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0xa08ab6){const _0x1d1019=a18_0x1663be,_0x3d8728=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1d1019(0x229)](_0xa08ab6),_0x201d83=_0x3d8728[_0x1d1019(0x1bd)],_0x25d725=_0x3d8728['blacklist_exception'];_0x201d83&&_0x201d83[_0x1d1019(0x1cc)]&&this[_0x1d1019(0x262)][_0x1d1019(0x176)](_0x1d1019(0x17d),_0x201d83[_0x1d1019(0x224)]('\x0a\x09')),_0x25d725&&_0x25d725['length']&&this['logger'][_0x1d1019(0x176)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0x25d725[_0x1d1019(0x224)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x1d1019(0x163))](_0x201d83,_0x25d725,this[_0x1d1019(0x1a2)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x298e0c){const _0x3a05b2=a18_0x1663be,_0x1322f=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3a05b2(0x189)](_0x298e0c);_0x1322f?.[_0x3a05b2(0x1cc)]&&this['logger']['debug'](_0x3a05b2(0x257),_0x1322f[_0x3a05b2(0x1da)](_0x5b9734=>_0x3a05b2(0x213)+_0x5b9734[_0x3a05b2(0x1a3)]+'\x20(type:\x20'+_0x5b9734[_0x3a05b2(0x1cf)]+'):\x20pattern:\x20'+_0x5b9734[_0x3a05b2(0x1ee)]+'\x20caseInsensitive:\x20'+_0x5b9734[_0x3a05b2(0x1d2)])[_0x3a05b2(0x224)]('\x0a\x09'));if((0x0,utils_1['satisfies'])(process['version'],_0x3a05b2(0x19e))){const {RedactionManagerRE2JS:_0x5972da}=await Promise[_0x3a05b2(0x1aa)]()[_0x3a05b2(0x18c)](()=>require(_0x3a05b2(0x25d)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x5972da(this[_0x3a05b2(0x262)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x3a05b2(0x19a)](_0x1322f);}},_Debuglet_stringify=function _Debuglet_stringify(_0x1710f8){const _0x5400b8=a18_0x1663be;if(!_0x1710f8)return JSON[_0x5400b8(0x1ba)](_0x1710f8,(_0x38da4d,_0x4a42f6)=>_0x4a42f6===undefined?'undefined':_0x4a42f6);if(Array[_0x5400b8(0x184)](_0x1710f8)){const _0x574635=[];for(const _0x23cf1c of _0x1710f8){_0x574635[_0x5400b8(0x252)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x23cf1c));}return'['+_0x574635[_0x5400b8(0x224)](',\x20')+']';}if(typeof _0x1710f8==='object'){const _0x3ba341=Object[_0x5400b8(0x1c8)](_0x1710f8)[_0x5400b8(0x1da)](([_0x192aa0,_0x585b67])=>{const _0x129512=_0x5400b8,_0x1cad67=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x129512(0x221)](_0x192aa0)?redaction_manager_1['REDACTED_PLACEHOLDER']:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x585b67);return JSON[_0x129512(0x1ba)](_0x192aa0)+':\x20'+_0x1cad67;})[_0x5400b8(0x224)](',\x20');return'{'+_0x3ba341+'}';}return JSON[_0x5400b8(0x1ba)](_0x1710f8);});function a18_0x1cc0(){const _0x45a622=['\x09Notifying\x20server\x20about\x20error\x20for\x20','debuggee','isOutOfQuota','maxRequestRetryDelaySeconds','map','CachedPromise','Failed\x20to\x20re-register\x20debuggee\x20','mapFiles','rejecting\x20breakpoint','BREAKPOINT_ACTION_MESSAGE','workingDirectory','all','start','fetcherActive','mapSubtract','stopped','version','format','GAE-','findFiles','remainingHits','info','enqueueBreakpointUpdate','Expiring\x20breakpoint','pattern','getLevel','hash','warn','disable','errors','apply','globalPipingStatus','condition','./controller','Error\x20scanning\x20the\x20filesystem.','Unknown\x20agentLogLevel\x20','Unique\x20ID\x20for\x20this\x20Application:\x20','selectFiles','once','internal','get','debuglet','scan','Debuggee\x20is\x20not\x20registered','pipingStatus','setLevel','__classPrivateFieldSet','prettyError','../types/stackdriver','promiseResolve','setIgnoreQuota','597420ITCLLy','./util/utils','breakpoint_set','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','231590dgxLVb','mainModule','emit','path','.\x20Retrying\x20in\x20','GAE_MINOR_VERSION','name:\x20','normalize','./debuglet-helpers/createDebuggee','setBlocklistManager','search','getInitialLevel','EventEmitter','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','./debuglet-helpers/format','create','CAPTURE','\x0a\x09createdTime:\x20','agentLog','location','shouldRedactByName','32NYWWqF','Starting\x20debuggee','join','./agent-logger','sourceContext','keys','stdErrThreshold','getBlocklist','Scheduling\x20registration\x20in\x20','Found\x20breakpoint\x20with\x20invalid\x20action:','30kTLtBt','value','events','Debuglet','clear','30soeezD','isDisabled','QuotaManager','./reduction/redaction-manager','extraPaths','1418UOZCMV','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','__esModule','sendAgentLogsToServer','Server\x20breakpoints:\x0a','createTime','log','./configuration-provider','Stopping\x20Debuglet','toString','breakpoints','message','isRunning','action','setCustomLogLevel','deregister','logMainConfigParams','ALLOW_EXPRESSIONS_MESSAGE','values','promise','collectAndSendLog','1058536zvLfHA','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','\x20accepted\x20by\x20agent','Malformed\x20source-context.json\x20file:\x20','has','waitExpired','DEBUG','push','default','__classPrivateFieldGet','do\x20this.','.\x20Error:\x20','Redactions:\x20\x0a\x09','\x20because\x20','pipeLogs','119805rJrncA','Disabled\x20by\x20the\x20server','allowExpressions','./reduction/redaction-manager-re2js','set','Debuglet\x20not\x20running','PipingManager','./config','logger','77MpPXef','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','seconds','PatternsBlocklistManager','SIGQUIT','clearTransmissionTimeout','filter','ignoreQuota','unref','initError','Fetching\x20breakpoints','register','\x09remove\x20breakpoint','getProps','createLogger','fromFileStats','pid','parameters','LOGPOINT:\x20','javascriptFileExtensions','./io/file-index','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','debug','readFile','Controller','isRedactionActive','Breakpoint','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','call','Blacklist:\x20\x0a\x09','2061asXbUg','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','isReadyManager','StatusMessage','function','collectLogRequestId','isArray','agentLogMaxFileCount','beforeExit','1601259QRDFau','readFullVersion','getRedactions','isReady','satisfies','then','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','stop','backoff','\x09successfully\x20added\x20breakpoint','bind','defineProperty','quota','breakpointUpdateIntervalSec','.\x20message:\x20','parse','env','allowRootAsWorkingDirectory','../client/stackdriver/status-message','setPatterns','\x20completed.','agentLogTargetDir','./io/scanner','>=12','status','Private\x20method\x20is\x20not\x20writable','activeBreakpointMap','config','name','EnvironmentMetadata','add','packageInfo','expressions','FileIndex','util','resolve','cwd','17zYBoVy','SIGINT','utf8','NODE_VERSION_MESSAGE','./io/sourcemapper','split','LOG','Result:\x20\x0a','UNSPECIFIED','agentLogLevel','AGENT_LOG_FILE','./debuglet-helpers/normalizeConfig','pipingManager','Scanner','stringify','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','source-context.json','blacklist','Failed\x20to\x20register\x20debuggee:\x20','\x20to\x20','description','logLevel','started','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','./debuglet-helpers/mapSubtract','Error\x20processing\x20the\x20sourcemaps.','5.2\x20||\x20<4','inspect','entries','\x09Long\x20poll\x20completed.','sep','forEach','length','jsFileIndex','SIGTERM','type','expirationTime','normalizeConfig','caseInsensitive','wait','error','assert'];a18_0x1cc0=function(){return _0x45a622;};return a18_0x1cc0();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a19_0x5211d5=a19_0x3290;(function(_0x40bc42,_0x3cc30a){const _0x36785c=a19_0x3290,_0x1ca4a3=_0x40bc42();while(!![]){try{const _0x566e77=parseInt(_0x36785c(0xe1))/0x1*(parseInt(_0x36785c(0x102))/0x2)+parseInt(_0x36785c(0xec))/0x3+parseInt(_0x36785c(0xfc))/0x4+parseInt(_0x36785c(0xfb))/0x5*(parseInt(_0x36785c(0xe5))/0x6)+-parseInt(_0x36785c(0xe6))/0x7+-parseInt(_0x36785c(0x10b))/0x8+parseInt(_0x36785c(0xfd))/0x9*(-parseInt(_0x36785c(0xcc))/0xa);if(_0x566e77===_0x3cc30a)break;else _0x1ca4a3['push'](_0x1ca4a3['shift']());}catch(_0xceab0e){_0x1ca4a3['push'](_0x1ca4a3['shift']());}}}(a19_0x2ae3,0x68bf4));Object[a19_0x5211d5(0xf8)](exports,a19_0x5211d5(0x100),{'value':!![]}),exports[a19_0x5211d5(0x10a)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0x5211d5(0xfa));function a19_0x2ae3(){const _0x185ff1=['systemTotalMemoryBytes','arm64','release','Linux','osVersion','pid','x32','match','defineProperty','isInDocker','assert','5njUdAz','763504fLKkdZ','18oglyle','mac','split','__esModule','length','122hJyxAb','constructor','linux','_osRelease','Windows','(((.+)+)+)+$','MacOS','toString','EnvironmentMetadata','4119960IPZUhP','warn','set','Node.js\x20','2458180zEDfev','linuxDistroName','node','/.dockerenv','versions','search','x64','cpuCoreCount','getProps','\x20on\x20','runtimeEnvironmentInfo','runtimeEnvironmentVersion','isInK8s','host','arm','error','procArch','_cachedOsRelease','windows','platform','replace','6552vXpwSr','version','/etc/os-release','_logger','304758mCEeiO','335559oAFXLe','cpus','apply','KUBERNETES_SERVICE_HOST','agentOS','existsSync','2526813IVTcaE','arch','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','get'];a19_0x2ae3=function(){return _0x185ff1;};return a19_0x2ae3();}var OS;(function(_0x42b002){const _0x2c2a27=a19_0x5211d5;_0x42b002[_0x2c2a27(0xf3)]=_0x2c2a27(0x104),_0x42b002[_0x2c2a27(0x106)]=_0x2c2a27(0xde),_0x42b002['MacOS']=_0x2c2a27(0xfe);}(OS||(OS={})));var ProcArch;function a19_0x3290(_0x43bf41,_0x1053cf){const _0x510307=a19_0x2ae3();return a19_0x3290=function(_0x2e892a,_0x343bd9){_0x2e892a=_0x2e892a-0xcb;let _0x2ae3a6=_0x510307[_0x2e892a];return _0x2ae3a6;},a19_0x3290(_0x43bf41,_0x1053cf);}(function(_0x1516a5){const _0x440fff=a19_0x5211d5,_0x31cf66=(function(){let _0x2807a5=!![];return function(_0x289028,_0x576b6e){const _0x44ee94=_0x2807a5?function(){const _0x3f1ce1=a19_0x3290;if(_0x576b6e){const _0x5c2514=_0x576b6e[_0x3f1ce1(0xe8)](_0x289028,arguments);return _0x576b6e=null,_0x5c2514;}}:function(){};return _0x2807a5=![],_0x44ee94;};}()),_0x1318ff=_0x31cf66(this,function(){const _0x3076a6=a19_0x3290;return _0x1318ff[_0x3076a6(0x109)]()[_0x3076a6(0xd1)]('(((.+)+)+)+$')[_0x3076a6(0x109)]()[_0x3076a6(0x103)](_0x1318ff)[_0x3076a6(0xd1)](_0x3076a6(0x107));});_0x1318ff(),_0x1516a5[_0x440fff(0xd2)]=_0x440fff(0xd2),_0x1516a5[_0x440fff(0xf6)]=_0x440fff(0xf6),_0x1516a5[_0x440fff(0xda)]=_0x440fff(0xda),_0x1516a5[_0x440fff(0xf1)]=_0x440fff(0xf1);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a19_0x5211d5(0xf3)],'win32':OS[a19_0x5211d5(0x106)],'darwin':OS[a19_0x5211d5(0x108)]},ArchToProcArchMap={'x32':ProcArch['x32'],'x64':ProcArch['x64'],'arm':ProcArch[a19_0x5211d5(0xda)],'arm64':ProcArch[a19_0x5211d5(0xf1)]};class EnvironmentMetadata{constructor(_0x2d6f1c){assert(_0x2d6f1c!==null),this['_logger']=_0x2d6f1c;}get['runtimeEnvironmentVersion'](){const _0x49c35a=a19_0x5211d5;try{const _0x88016a=process[_0x49c35a(0xd0)][_0x49c35a(0xce)][_0x49c35a(0xf7)](/(\d+\.\d+)\..*/);if(_0x88016a)return _0x88016a[0x1];}catch(_0x2fe64f){this[_0x49c35a(0xe4)][_0x49c35a(0xdb)](_0x2fe64f);}return;}get[a19_0x5211d5(0xd6)](){const _0x1c877b=a19_0x5211d5;return _0x1c877b(0xcb)+process[_0x1c877b(0xe2)]+_0x1c877b(0xd5)+(0x0,os_1[_0x1c877b(0xdf)])()+'\x20'+(0x0,os_1[_0x1c877b(0xf2)])();}get[a19_0x5211d5(0xf5)](){const _0x32763c=a19_0x5211d5;return process[_0x32763c(0xf5)][_0x32763c(0x109)]();}get[a19_0x5211d5(0xdc)](){const _0x2f54f8=a19_0x5211d5;return ArchToProcArchMap[process[_0x2f54f8(0xed)]]||process[_0x2f54f8(0xed)];}get[a19_0x5211d5(0xd3)](){const _0x148042=a19_0x5211d5;return(0x0,os_1[_0x148042(0xe7)])()[_0x148042(0x101)];}get[a19_0x5211d5(0xf0)](){return(0x0,os_1['totalmem'])();}get[a19_0x5211d5(0xd9)](){return(0x0,os_1['hostname'])();}get[a19_0x5211d5(0xea)](){const _0x4dc27a=a19_0x5211d5;return PlatformToOsMap[(0x0,os_1[_0x4dc27a(0xdf)])()]||(0x0,os_1[_0x4dc27a(0xdf)])();}get['osVersion'](){const _0x5f2fe2=a19_0x5211d5;try{if(this[_0x5f2fe2(0xea)]===OS[_0x5f2fe2(0xf3)])return this[_0x5f2fe2(0x105)][_0x5f2fe2(0xef)]('VERSION_ID')||(0x0,os_1[_0x5f2fe2(0xf2)])();return(0x0,os_1['release'])();}catch(_0x53f2f4){this[_0x5f2fe2(0xe4)]['error'](_0x53f2f4);}return;}get[a19_0x5211d5(0xcd)](){const _0x5f0792=a19_0x5211d5;return this[_0x5f0792(0xea)]===OS[_0x5f0792(0xf3)]&&this[_0x5f0792(0x105)][_0x5f0792(0xef)]('ID')||'';}get[a19_0x5211d5(0xf9)](){const _0x4e9090=a19_0x5211d5;return this[_0x4e9090(0xea)]===OS[_0x4e9090(0xf3)]?(0x0,fs_1[_0x4e9090(0xeb)])(_0x4e9090(0xcf)):![];}get[a19_0x5211d5(0xd8)](){const _0x58186e=a19_0x5211d5;return!!process['env'][_0x58186e(0xe9)];}get[a19_0x5211d5(0x105)](){const _0x245d1e=a19_0x5211d5;if(!this[_0x245d1e(0xdd)]){this[_0x245d1e(0xdd)]=new Map();try{if(this['agentOS']===OS[_0x245d1e(0xf3)]){const _0x3c9e34=(0x0,fs_1['readFileSync'])(_0x245d1e(0xe3),'utf-8');_0x3c9e34[_0x245d1e(0xff)](/\r?\n/)['forEach'](_0x23587c=>{const _0x2640b3=_0x245d1e,[_0x448591,_0x1b2b88]=_0x23587c['trim']()['split']('=');this[_0x2640b3(0xdd)]?.[_0x2640b3(0x10d)](_0x448591,_0x1b2b88?.[_0x2640b3(0xe0)](/^"|"$/g,'')||'');});}}catch(_0x3c60b5){this[_0x245d1e(0xe4)][_0x245d1e(0x10c)](_0x245d1e(0xee),_0x3c60b5);}}return this[_0x245d1e(0xdd)];}[a19_0x5211d5(0xd4)](){const _0x5e1c6b=a19_0x5211d5;return{'runtimeEnvironmentVersion':this[_0x5e1c6b(0xd7)],'runtimeEnvironmentInfo':this[_0x5e1c6b(0xd6)],'pid':this[_0x5e1c6b(0xf5)],'cpuCoreCount':this[_0x5e1c6b(0xd3)],'systemTotalMemoryBytes':this['systemTotalMemoryBytes'],'host':this[_0x5e1c6b(0xd9)],'agentOS':this[_0x5e1c6b(0xea)],'osVersion':this[_0x5e1c6b(0xf4)],'linuxDistroName':this[_0x5e1c6b(0xcd)]||undefined,'isInDocker':this['isInDocker'],'isInK8s':this[_0x5e1c6b(0xd8)],'procArch':this[_0x5e1c6b(0xdc)]};}}exports['EnvironmentMetadata']=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x17206d=a20_0x5e67;(function(_0x2ba11e,_0x293725){const _0x2a2cb9=a20_0x5e67,_0x4b385e=_0x2ba11e();while(!![]){try{const _0x37becd=parseInt(_0x2a2cb9(0xc6))/0x1*(-parseInt(_0x2a2cb9(0xc3))/0x2)+parseInt(_0x2a2cb9(0xcb))/0x3*(-parseInt(_0x2a2cb9(0xda))/0x4)+-parseInt(_0x2a2cb9(0xd5))/0x5*(-parseInt(_0x2a2cb9(0xd3))/0x6)+parseInt(_0x2a2cb9(0xd4))/0x7+-parseInt(_0x2a2cb9(0xde))/0x8*(parseInt(_0x2a2cb9(0xcd))/0x9)+-parseInt(_0x2a2cb9(0xb9))/0xa*(-parseInt(_0x2a2cb9(0xd8))/0xb)+parseInt(_0x2a2cb9(0xc2))/0xc;if(_0x37becd===_0x293725)break;else _0x4b385e['push'](_0x4b385e['shift']());}catch(_0xc34ff5){_0x4b385e['push'](_0x4b385e['shift']());}}}(a20_0x4f50,0x812ee));const a20_0x53b11d=(function(){let _0x1f44bb=!![];return function(_0x424a2b,_0x10fdc7){const _0x51e7fd=_0x1f44bb?function(){if(_0x10fdc7){const _0x386ac2=_0x10fdc7['apply'](_0x424a2b,arguments);return _0x10fdc7=null,_0x386ac2;}}:function(){};return _0x1f44bb=![],_0x51e7fd;};}()),a20_0x30a643=a20_0x53b11d(this,function(){const _0x3e7c09=a20_0x5e67;return a20_0x30a643['toString']()[_0x3e7c09(0xd2)](_0x3e7c09(0xc1))[_0x3e7c09(0xc0)]()[_0x3e7c09(0xcf)](a20_0x30a643)[_0x3e7c09(0xd2)]('(((.+)+)+)+$');});function a20_0x4f50(){const _0x177c6f=['20jFRzen','size','defineProperty','push','fileIndex','FileIndex','path','toString','(((.+)+)+)+$','21276600LtIfmu','2QhMuEO','stripStartingSep','_fileStats','518189GKfmmB','buildIndex','indexOf','fromFileList','findShortestFuzzyMatches','990723SVrDCf','fromFileStats','9fxAmgQ','filter','constructor','keys','fileStats','search','101850DJEpXq','2263828mbnrrK','25HmApHG','substr','length','569459NVajJB','add','4rIEqAC','map','has','generateSubPaths','7258424ALCJyr','sep','get'];a20_0x4f50=function(){return _0x177c6f;};return a20_0x4f50();}a20_0x30a643();'use strict';Object[a20_0x17206d(0xbb)](exports,'__esModule',{'value':!![]}),exports[a20_0x17206d(0xbe)]=void 0x0;const path=require(a20_0x17206d(0xbf));class FileIndex{constructor(_0x250be7){const _0x5a044a=a20_0x17206d;this[_0x5a044a(0xc5)]=_0x250be7,this[_0x5a044a(0xbd)]=new Map();}static[a20_0x17206d(0xcc)](_0xa4696c){const _0x3ffe3c=a20_0x17206d,_0x578a6f=new FileIndex(_0xa4696c);return _0x578a6f[_0x3ffe3c(0xc7)](Object[_0x3ffe3c(0xd0)](_0xa4696c)||[]),_0x578a6f;}static[a20_0x17206d(0xc9)](_0x2d8514){const _0x73633c=a20_0x17206d,_0x223bdf=new FileIndex(undefined);return _0x223bdf[_0x73633c(0xc7)](_0x2d8514||[]),_0x223bdf;}get[a20_0x17206d(0xd1)](){const _0x88b2cf=a20_0x17206d;return this[_0x88b2cf(0xc5)]||{};}[a20_0x17206d(0xca)](_0x235f61){const _0x491d11=a20_0x17206d,_0x58a802=this['search'](_0x235f61);if(!_0x58a802||_0x58a802[_0x491d11(0xba)]===0x0)return[];const _0x65b548=[..._0x58a802][_0x491d11(0xdb)](_0x3fb1aa=>_0x3fb1aa[_0x491d11(0xd7)]),_0xbba3be=Math['min'](..._0x65b548),_0x5650fe=[..._0x58a802][_0x491d11(0xce)](_0xbd7d6c=>_0xbd7d6c[_0x491d11(0xd7)]===_0xbba3be);return _0x5650fe;}['buildIndex'](_0x3537ff){const _0x24b9b3=a20_0x17206d;for(const _0x33bb15 of _0x3537ff){for(const _0x4557f6 of this['generateSubPaths'](_0x33bb15)){let _0x45050b=this[_0x24b9b3(0xbd)][_0x24b9b3(0xe0)](_0x4557f6);_0x45050b===undefined&&(_0x45050b=new Set(),this[_0x24b9b3(0xbd)]['set'](_0x4557f6,_0x45050b)),_0x45050b[_0x24b9b3(0xd9)](_0x33bb15);}}}[a20_0x17206d(0xdd)](_0x4c31dc){const _0x4e5755=a20_0x17206d;_0x4c31dc=this[_0x4e5755(0xc4)](_0x4c31dc);const _0x1410be=[_0x4c31dc];while(_0x4c31dc['indexOf'](path[_0x4e5755(0xdf)])>=0x0){_0x4c31dc=_0x4c31dc['substring'](_0x4c31dc[_0x4e5755(0xc8)](path[_0x4e5755(0xdf)])+path[_0x4e5755(0xdf)][_0x4e5755(0xd7)],_0x4c31dc[_0x4e5755(0xd7)]),_0x1410be[_0x4e5755(0xbc)](_0x4c31dc);}return _0x1410be;}[a20_0x17206d(0xd2)](_0x26e793){const _0x17f965=a20_0x17206d;if(!_0x26e793)return undefined;_0x26e793=this[_0x17f965(0xc4)](_0x26e793);for(const _0x5350f2 of this[_0x17f965(0xdd)](_0x26e793)){if(this['fileIndex'][_0x17f965(0xdc)](_0x5350f2))return this['fileIndex'][_0x17f965(0xe0)](_0x5350f2);}return undefined;}[a20_0x17206d(0xc4)](_0x40a2b4){const _0x58cb55=a20_0x17206d;if(_0x40a2b4&&(_0x40a2b4[0x0]==='/'||_0x40a2b4[0x0]==='\x5c'))return _0x40a2b4[_0x58cb55(0xd6)](0x1);return _0x40a2b4;}}function a20_0x5e67(_0x5d7ac2,_0x215746){const _0x45c858=a20_0x4f50();return a20_0x5e67=function(_0x30a643,_0x53b11d){_0x30a643=_0x30a643-0xb9;let _0x4f504c=_0x45c858[_0x30a643];return _0x4f504c;},a20_0x5e67(_0x5d7ac2,_0x215746);}exports['FileIndex']=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a21_0x254d(){const _0x4ba975=['apply','12NsYdzX','map','all','selectStats','740024LZLdwi','9BMdYYQ','15359669oUqWYK','2639UzAYsy','defineProperty','hash','7CxGhNL','test','7725130DIwNlW','484zgFGza','4760HXZhpg','keys','forEach','normalize','path','sep','174yBfqAV','errors','(((.+)+)+)+$','103654miuyRt','toString','ScanResultsImpl','44665iAVcto','__esModule','75588KiuIKU','stats','constructor'];a21_0x254d=function(){return _0x4ba975;};return a21_0x254d();}const a21_0x56b2f7=a21_0x1892;(function(_0x4797df,_0x379c41){const _0x3e3dc6=a21_0x1892,_0x1aac1f=_0x4797df();while(!![]){try{const _0x461fda=-parseInt(_0x3e3dc6(0x1db))/0x1*(-parseInt(_0x3e3dc6(0x1e8))/0x2)+parseInt(_0x3e3dc6(0x1f1))/0x3*(parseInt(_0x3e3dc6(0x1f5))/0x4)+-parseInt(_0x3e3dc6(0x1eb))/0x5*(-parseInt(_0x3e3dc6(0x1e5))/0x6)+parseInt(_0x3e3dc6(0x1f8))/0x7*(-parseInt(_0x3e3dc6(0x1df))/0x8)+parseInt(_0x3e3dc6(0x1f6))/0x9*(parseInt(_0x3e3dc6(0x1dd))/0xa)+-parseInt(_0x3e3dc6(0x1de))/0xb*(parseInt(_0x3e3dc6(0x1ed))/0xc)+-parseInt(_0x3e3dc6(0x1f7))/0xd;if(_0x461fda===_0x379c41)break;else _0x1aac1f['push'](_0x1aac1f['shift']());}catch(_0x4d38be){_0x1aac1f['push'](_0x1aac1f['shift']());}}}(a21_0x254d,0x6e347));const a21_0x586321=(function(){let _0x2aec4a=!![];return function(_0x12b36d,_0x7e9549){const _0x51d919=_0x2aec4a?function(){const _0x3dc589=a21_0x1892;if(_0x7e9549){const _0x188731=_0x7e9549[_0x3dc589(0x1f0)](_0x12b36d,arguments);return _0x7e9549=null,_0x188731;}}:function(){};return _0x2aec4a=![],_0x51d919;};}()),a21_0x88d614=a21_0x586321(this,function(){const _0x31dee5=a21_0x1892;return a21_0x88d614['toString']()['search']('(((.+)+)+)+$')[_0x31dee5(0x1e9)]()[_0x31dee5(0x1ef)](a21_0x88d614)['search'](_0x31dee5(0x1e7));});a21_0x88d614();'use strict';Object[a21_0x56b2f7(0x1f9)](exports,a21_0x56b2f7(0x1ec),{'value':!![]}),exports[a21_0x56b2f7(0x1ea)]=void 0x0;const path=require(a21_0x56b2f7(0x1e3));class ScanResultsImpl{constructor(_0x5d6a8c,_0x2191c0,_0x2fe426){const _0x3d9b6e=a21_0x56b2f7;this['stats']=_0x5d6a8c,this['errorMap']=_0x2191c0,this[_0x3d9b6e(0x1da)]=_0x2fe426;}[a21_0x56b2f7(0x1e6)](){return this['errorMap'];}[a21_0x56b2f7(0x1f3)](){const _0x415b90=a21_0x56b2f7;return this[_0x415b90(0x1ee)];}[a21_0x56b2f7(0x1f4)](_0x4d3c9c){const _0x533744=a21_0x56b2f7,_0x33b811={};return Object[_0x533744(0x1e0)](this[_0x533744(0x1ee)])[_0x533744(0x1e1)](_0x287d18=>{const _0x1a38cc=_0x533744;_0x4d3c9c[_0x1a38cc(0x1dc)](_0x287d18)&&(_0x33b811[_0x287d18]=this[_0x1a38cc(0x1ee)][_0x287d18]);}),_0x33b811;}['selectFiles'](_0x27880a,_0x84a9f2){const _0x3e52f6=a21_0x56b2f7;return _0x84a9f2=path[_0x3e52f6(0x1e2)](_0x84a9f2+path[_0x3e52f6(0x1e4)]),Object[_0x3e52f6(0x1e0)](this['stats'])['filter'](_0x375eb9=>{return _0x375eb9&&_0x27880a['test'](_0x375eb9);})[_0x3e52f6(0x1f2)](_0x486bef=>{const _0x1de1a8=_0x3e52f6;return path[_0x1de1a8(0x1e2)](_0x486bef)['replace'](_0x84a9f2,'');});}}function a21_0x1892(_0x498b8d,_0x2a0aa9){const _0xce6780=a21_0x254d();return a21_0x1892=function(_0x88d614,_0x586321){_0x88d614=_0x88d614-0x1da;let _0x254d3d=_0xce6780[_0x88d614];return _0x254d3d;},a21_0x1892(_0x498b8d,_0x2a0aa9);}exports[a21_0x56b2f7(0x1ea)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x2551d7=a22_0x5db1;(function(_0x1daaf2,_0x304004){const _0x48a10a=a22_0x5db1,_0x43985a=_0x1daaf2();while(!![]){try{const _0x16b5aa=parseInt(_0x48a10a(0x161))/0x1+parseInt(_0x48a10a(0x187))/0x2*(parseInt(_0x48a10a(0x194))/0x3)+parseInt(_0x48a10a(0x16b))/0x4+-parseInt(_0x48a10a(0x18c))/0x5*(parseInt(_0x48a10a(0x18f))/0x6)+parseInt(_0x48a10a(0x17e))/0x7*(-parseInt(_0x48a10a(0x18d))/0x8)+parseInt(_0x48a10a(0x174))/0x9*(parseInt(_0x48a10a(0x193))/0xa)+parseInt(_0x48a10a(0x18a))/0xb*(parseInt(_0x48a10a(0x197))/0xc);if(_0x16b5aa===_0x304004)break;else _0x43985a['push'](_0x43985a['shift']());}catch(_0x480a59){_0x43985a['push'](_0x43985a['shift']());}}}(a22_0x56c3,0x9e38b));function a22_0x5db1(_0x5435d4,_0x13a13c){const _0xd01c61=a22_0x56c3();return a22_0x5db1=function(_0x476e1b,_0x3be6c8){_0x476e1b=_0x476e1b-0x15f;let _0x56c392=_0xd01c61[_0x476e1b];return _0x56c392;},a22_0x5db1(_0x5435d4,_0x13a13c);}const a22_0x3be6c8=(function(){let _0x1eb474=!![];return function(_0x4bf696,_0x17c998){const _0x3cf70e=_0x1eb474?function(){const _0x1413e6=a22_0x5db1;if(_0x17c998){const _0x385457=_0x17c998[_0x1413e6(0x183)](_0x4bf696,arguments);return _0x17c998=null,_0x385457;}}:function(){};return _0x1eb474=![],_0x3cf70e;};}()),a22_0x476e1b=a22_0x3be6c8(this,function(){const _0x2b3591=a22_0x5db1;return a22_0x476e1b[_0x2b3591(0x186)]()[_0x2b3591(0x166)](_0x2b3591(0x17f))[_0x2b3591(0x186)]()[_0x2b3591(0x17b)](a22_0x476e1b)[_0x2b3591(0x166)](_0x2b3591(0x17f));});a22_0x476e1b();function a22_0x56c3(){const _0x1dfa29=['end','28XdReUu','(((.+)+)+)+$','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','test','from','apply','join','statsForFile','toString','596782nBMube','directory','update','55YhtMNP','Scanner','15kQweMU','2050408dArkxB','path','1919826hQmrrM','SHA1-','sha1','resolve','10eLOKFF','3VlhBco','./scan-results','file','2433204cyyjKy','createHash','.git','set','findit2','addFilesFromDir','findFiles','287178XPVIDe','computeStats','push','hasReadAccess','split','search','error','createReadStream','Indexing\x20files\x20in\x20','info','3437216yIMFrj','can\x27t\x20access\x20path:\x20[','length','digest','data','Specified\x20extraPaths\x20does\x20not\x20exist!','hex','__esModule','sort','1570356loQuFS','logger','scan','defineProperty','node_modules','R_OK','hash','constructor','crypto'];a22_0x56c3=function(){return _0x1dfa29;};return a22_0x56c3();}'use strict';Object[a22_0x2551d7(0x177)](exports,a22_0x2551d7(0x172),{'value':!![]}),exports[a22_0x2551d7(0x18b)]=void 0x0;const crypto=require(a22_0x2551d7(0x17c)),fs=require('fs'),path=require(a22_0x2551d7(0x18e)),scan_results_1=require(a22_0x2551d7(0x195));class Scanner{constructor(_0x572fda){const _0x2bd7b7=a22_0x2551d7;this[_0x2bd7b7(0x175)]=_0x572fda;}async[a22_0x2551d7(0x176)](_0x50f28c,_0xc7e802,_0x2b4ccd,_0x2092eb){const _0x23c889=a22_0x2551d7,_0x1c7368=await this[_0x23c889(0x160)](_0x50f28c,_0xc7e802,_0x2092eb);return this[_0x23c889(0x162)](_0x1c7368,_0x2b4ccd);}[a22_0x2551d7(0x162)](_0x21f586,_0x4bf7f4){return new Promise(async _0x2512af=>{const _0x4400a2=a22_0x5db1;if(_0x21f586[_0x4400a2(0x16d)]===0x0){_0x2512af(new scan_results_1['ScanResultsImpl']({},new Map(),'EMPTY-no-js-files'));return;}const _0x43bd74=[],_0x198dc3={},_0x16fcac=new Map();for(const _0x39a66d of _0x21f586){try{const _0x3f9538=await this['statsForFile'](_0x39a66d,!_0x4bf7f4);!_0x4bf7f4&&_0x43bd74[_0x4400a2(0x163)](_0x3f9538[_0x4400a2(0x17a)]),_0x198dc3[_0x39a66d]=_0x3f9538;}catch(_0x1251eb){_0x16fcac[_0x4400a2(0x19a)](_0x39a66d,_0x1251eb);}}let _0x22bdc4;if(!_0x4bf7f4){const _0x3e7846=_0x43bd74[_0x4400a2(0x173)]()[_0x4400a2(0x184)](),_0x1f8e7c=crypto[_0x4400a2(0x198)](_0x4400a2(0x191))[_0x4400a2(0x189)](_0x3e7846)[_0x4400a2(0x16e)]('hex');_0x22bdc4=_0x4400a2(0x190)+_0x1f8e7c;}else _0x22bdc4=_0x4bf7f4;_0x2512af(new scan_results_1['ScanResultsImpl'](_0x198dc3,_0x16fcac,_0x22bdc4));});}async[a22_0x2551d7(0x160)](_0x21b2ac,_0x1a349e,_0x4cad6f){const _0x586566=a22_0x2551d7,_0x3b4c98=new Set();await this['addFilesFromDir'](_0x3b4c98,_0x21b2ac,_0x1a349e);for(const _0x279445 of _0x4cad6f??[]){if(_0x279445){const _0x4923a4=path['resolve'](_0x279445);try{await this[_0x586566(0x15f)](_0x3b4c98,_0x4923a4,_0x1a349e);}catch(_0x5ab123){this[_0x586566(0x175)][_0x586566(0x167)](_0x586566(0x170),_0x5ab123);continue;}}}return Array[_0x586566(0x182)](_0x3b4c98);}static[a22_0x2551d7(0x164)](_0x3db53f){const _0x2c5ce4=a22_0x2551d7;try{return fs['accessSync'](_0x3db53f,fs['constants'][_0x2c5ce4(0x179)]),!![];}catch(_0x4cbc7d){return![];}}async[a22_0x2551d7(0x15f)](_0x1b842d,_0x416caa,_0x849c5){return new Promise((_0x26d3f7,_0x18e5fb)=>{const _0x500c7e=a22_0x5db1;let _0x48cf78;if(!_0x416caa){_0x18e5fb(new Error(_0x500c7e(0x180)));return;}this[_0x500c7e(0x175)][_0x500c7e(0x16a)](_0x500c7e(0x169)+path[_0x500c7e(0x192)](_0x416caa));const _0x25e5e5=findit(_0x416caa);_0x25e5e5['on'](_0x500c7e(0x167),_0x442ea1=>{_0x48cf78=_0x442ea1;return;}),_0x25e5e5['on'](_0x500c7e(0x188),(_0x2d126b,_0x4c402b,_0x207174)=>{const _0xaa42a7=_0x500c7e,_0x4a8560=path['basename'](_0x2d126b);!Scanner[_0xaa42a7(0x164)](_0x2d126b)&&(this[_0xaa42a7(0x175)]['warn'](_0xaa42a7(0x16c)+path['resolve'](_0x2d126b)+'],\x20due\x20to\x20lack\x20of\x20read\x20permissions'),_0x207174()),(_0x4a8560===_0xaa42a7(0x199)||_0x4a8560===_0xaa42a7(0x178))&&(!path[_0xaa42a7(0x192)](_0x416caa)['startsWith'](path['resolve'](_0x2d126b))&&_0x207174());}),_0x25e5e5['on'](_0x500c7e(0x196),_0x422e0c=>{const _0x2f665e=_0x500c7e;_0x849c5[_0x2f665e(0x181)](_0x422e0c)&&_0x1b842d['add'](_0x422e0c);}),_0x25e5e5['on'](_0x500c7e(0x17d),()=>{_0x48cf78?_0x18e5fb(_0x48cf78):_0x26d3f7();});});}async[a22_0x2551d7(0x185)](_0x39d433,_0xd0c6cf){return new Promise((_0x172aff,_0x572ff4)=>{const _0xeb688c=a22_0x5db1,_0xaf1485=fs[_0xeb688c(0x168)](_0x39d433);_0xaf1485['on'](_0xeb688c(0x167),_0x29fef5=>{_0x572ff4(_0x29fef5);}),_0xaf1485['on']('open',()=>{const _0x5c9cf0=_0xeb688c;let _0x316840;_0xd0c6cf&&(_0x316840=crypto[_0x5c9cf0(0x198)](_0x5c9cf0(0x191)));let _0x2f7de4=0x0,_0x5e89de;const _0x503ccc=_0xaf1485['pipe'](split());_0x503ccc['on'](_0x5c9cf0(0x167),_0x1df232=>{_0x5e89de=_0x1df232;}),_0x503ccc['on'](_0x5c9cf0(0x16f),_0x339c80=>{const _0x1112e2=_0x5c9cf0;_0xd0c6cf&&_0x316840[_0x1112e2(0x189)](_0x339c80),_0x2f7de4++;}),_0x503ccc['on'](_0x5c9cf0(0x17d),()=>{const _0xd1766d=_0x5c9cf0;if(_0x5e89de)_0x572ff4(_0x5e89de);else{const _0x5dfdda=_0xd0c6cf?_0x316840[_0xd1766d(0x16e)](_0xd1766d(0x171)):undefined;_0x172aff({'hash':_0x5dfdda,'lines':_0x2f7de4});}});});});}}exports[a22_0x2551d7(0x18b)]=Scanner;const findit=require(a22_0x2551d7(0x19b)),split=require(a22_0x2551d7(0x165));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a23_0x39dac5=a23_0x46fc;(function(_0x54feb3,_0x3b5c87){const _0x1be9a8=a23_0x46fc,_0x1641bb=_0x54feb3();while(!![]){try{const _0x2f5c2a=-parseInt(_0x1be9a8(0xb8))/0x1+parseInt(_0x1be9a8(0xc5))/0x2+parseInt(_0x1be9a8(0xb4))/0x3+-parseInt(_0x1be9a8(0x97))/0x4*(parseInt(_0x1be9a8(0x99))/0x5)+parseInt(_0x1be9a8(0x86))/0x6*(-parseInt(_0x1be9a8(0x84))/0x7)+-parseInt(_0x1be9a8(0xc3))/0x8*(parseInt(_0x1be9a8(0x8f))/0x9)+parseInt(_0x1be9a8(0x96))/0xa;if(_0x2f5c2a===_0x3b5c87)break;else _0x1641bb['push'](_0x1641bb['shift']());}catch(_0x1d74a4){_0x1641bb['push'](_0x1641bb['shift']());}}}(a23_0xbb27,0x565b7));const a23_0x3fbfd7=(function(){let _0x12d745=!![];return function(_0x9ee850,_0x388059){const _0x3d5f54=_0x12d745?function(){const _0x3d7f5f=a23_0x46fc;if(_0x388059){const _0xbbb94e=_0x388059[_0x3d7f5f(0xb9)](_0x9ee850,arguments);return _0x388059=null,_0xbbb94e;}}:function(){};return _0x12d745=![],_0x3d5f54;};}()),a23_0x2f453c=a23_0x3fbfd7(this,function(){const _0xc64a13=a23_0x46fc;return a23_0x2f453c[_0xc64a13(0x82)]()[_0xc64a13(0xa7)]('(((.+)+)+)+$')['toString']()[_0xc64a13(0xa2)](a23_0x2f453c)[_0xc64a13(0xa7)]('(((.+)+)+)+$');});function a23_0x46fc(_0x48c20d,_0x141ef5){const _0x101998=a23_0xbb27();return a23_0x46fc=function(_0x2f453c,_0x3fbfd7){_0x2f453c=_0x2f453c-0x80;let _0xbb27be=_0x101998[_0x2f453c];return _0xbb27be;},a23_0x46fc(_0x48c20d,_0x141ef5);}a23_0x2f453c();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['create']=exports[a23_0x39dac5(0x9d)]=void 0x0;const fs=require('fs'),pLimit=require(a23_0x39dac5(0x90)),path=require(a23_0x39dac5(0x9b)),util_1=require(a23_0x39dac5(0xbe)),sourceMap=require(a23_0x39dac5(0xa4)),file_index_1=require(a23_0x39dac5(0xac)),CONCURRENCY=0xa,WEBPACK_PREFIX=a23_0x39dac5(0xad),readFilep=(0x0,util_1[a23_0x39dac5(0xbc)])(fs['readFile']),MAP_EXT=a23_0x39dac5(0xa9);async function processSourcemap(_0x3ffb98,_0x41ebef,_0x1624a7,_0x47827f){const _0x4a8d7f=a23_0x39dac5;_0x47827f&&_0x3ffb98['debug'](_0x4a8d7f(0x85),_0x1624a7);if(!_0x1624a7||!_0x1624a7['endsWith'](MAP_EXT))throw new Error(_0x4a8d7f(0xa0)+_0x1624a7+_0x4a8d7f(0xb1));_0x1624a7=path['normalize'](_0x1624a7);let _0x2cb799;try{_0x2cb799=await readFilep(_0x1624a7,_0x4a8d7f(0xb3));}catch(_0x2cad79){throw new Error(_0x4a8d7f(0x92)+_0x1624a7+':\x20'+_0x2cad79);}let _0x3b0546;try{_0x3b0546=new sourceMap[(_0x4a8d7f(0x9f))](_0x2cb799);}catch(_0x1db8d7){_0x3ffb98[_0x4a8d7f(0xa8)](_0x4a8d7f(0xc2)+_0x1624a7+':\x20'+_0x1db8d7),_0x3ffb98['error'](JSON['stringify'](_0x1db8d7)),_0x47827f&&_0x3ffb98[_0x4a8d7f(0xb6)]('CONTENT',_0x2cb799);throw new Error(_0x4a8d7f(0xbd)+'sourcemap\x20file\x20'+_0x1624a7+':\x20'+_0x1db8d7);}const _0x12dc1d=_0x3b0546[_0x4a8d7f(0x88)]?_0x3b0546[_0x4a8d7f(0x88)]:path[_0x4a8d7f(0x8d)](_0x1624a7,_0x4a8d7f(0xa9)),_0x1e9f74=path[_0x4a8d7f(0xc4)](_0x1624a7),_0x5456c5=path[_0x4a8d7f(0xba)](path[_0x4a8d7f(0x81)](_0x1e9f74,_0x12dc1d)),_0x39524d=_0x3b0546[_0x4a8d7f(0xb7)][_0x4a8d7f(0x8c)](_0x581488=>!!_0x581488)[_0x4a8d7f(0x80)]((_0x2d858b,_0x3377bb)=>_0x2d858b[_0x4a8d7f(0xb0)]-_0x3377bb[_0x4a8d7f(0xb0)]),_0x402377=_0x39524d[_0x4a8d7f(0xaf)](_0x545e56=>{const _0x590490=_0x4a8d7f;if(_0x545e56[_0x590490(0x89)]()[_0x590490(0xaa)](WEBPACK_PREFIX))return _0x545e56[_0x590490(0xb2)](WEBPACK_PREFIX['length']);return _0x545e56;})[_0x4a8d7f(0xaf)](_0x39fab6=>{const _0x2e1371=_0x4a8d7f;return path['normalize'](path[_0x2e1371(0x81)](_0x1e9f74,_0x39fab6));});if(_0x402377[_0x4a8d7f(0xb0)]===0x0)throw new Error('No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20'+_0x1624a7);for(const _0x5bb44a of _0x402377){_0x47827f&&_0x3ffb98['info'](path['normalize'](_0x5bb44a),_0x4a8d7f(0x8b),_0x1624a7),_0x41ebef['set'](path['normalize'](_0x5bb44a),{'outputFile':_0x5456c5,'mapFile':_0x1624a7,'mapConsumer':_0x3b0546,'sources':_0x39524d});}_0x3ffb98['debug'](_0x4a8d7f(0x91),_0x1624a7);}class SourceMapper{constructor(_0x58c264){const _0x11e2fa=a23_0x39dac5;this[_0x11e2fa(0xa5)]=_0x58c264,this[_0x11e2fa(0xbf)]=new Map();}[a23_0x39dac5(0x8a)](_0x6e2ea4){const _0x8b6c55=a23_0x39dac5;if(this[_0x8b6c55(0xbf)][_0x8b6c55(0xc0)](path[_0x8b6c55(0xba)](_0x6e2ea4)))return{'entry':this[_0x8b6c55(0xbf)][_0x8b6c55(0x83)](_0x6e2ea4),'matchedPath':path[_0x8b6c55(0xba)](_0x6e2ea4)};const _0x173dbc=file_index_1[_0x8b6c55(0xa3)][_0x8b6c55(0x94)](Array[_0x8b6c55(0xc1)](this[_0x8b6c55(0xbf)]['keys']()))[_0x8b6c55(0xab)](_0x6e2ea4);if(_0x173dbc[_0x8b6c55(0xb0)]===0x1)return{'entry':this[_0x8b6c55(0xbf)][_0x8b6c55(0x83)](_0x173dbc[0x0]),'matchedPath':_0x173dbc[0x0]};return null;}[a23_0x39dac5(0x9a)](_0x59cc87){const _0x49e7df=a23_0x39dac5;return this[_0x49e7df(0x8a)](_0x59cc87)!==null;}[a23_0x39dac5(0x8e)](_0x58720e,_0xc39e18,_0x582fda){const _0x7decbd=a23_0x39dac5;_0x58720e=path[_0x7decbd(0xba)](_0x58720e);const _0x5e9bd7=this[_0x7decbd(0x8a)](_0x58720e);if(!_0x5e9bd7)return null;const {entry:_0x3273b2,matchedPath:_0x3e6526}=_0x5e9bd7,_0x22ff35=path['relative'](path[_0x7decbd(0xc4)](_0x3273b2['mapFile']),_0x3e6526)[_0x7decbd(0x9e)](/\\/g,'/');let _0x3620aa=this[_0x7decbd(0xa6)](_0x3273b2,_0x22ff35);_0x3620aa=_0x3620aa||this['findInSources'](_0x3273b2,_0x58720e);const _0x32a788={'source':_0x3620aa||_0x22ff35,'line':_0xc39e18+0x1,'column':_0x582fda},_0x1925e1=_0x3273b2['mapConsumer'],_0x1ffa0e=_0x1925e1[_0x7decbd(0x87)](_0x32a788),_0x28f9f8=_0x1ffa0e&&_0x1ffa0e[_0x7decbd(0xb0)]>0x0?_0x1ffa0e[_0x7decbd(0xb5)]((_0x5cdcc1,_0x4a177e)=>{const _0x475a25=_0x7decbd;return _0x4a177e[_0x475a25(0x9c)]<_0x5cdcc1[_0x475a25(0x9c)]?_0x4a177e:_0x5cdcc1;}):_0x1925e1['generatedPositionFor'](_0x32a788);return{'file':_0x3273b2['outputFile'],'line':_0x28f9f8[_0x7decbd(0x9c)],'column':_0x28f9f8[_0x7decbd(0x98)]};}['findInSources'](_0x50dad0,_0x3f8065){const _0x3789a7=a23_0x39dac5;for(const _0x3559ad of _0x50dad0[_0x3789a7(0xb7)]){if(_0x3559ad[_0x3789a7(0xae)](_0x3f8065))return _0x3559ad;}return undefined;}}function a23_0xbb27(){const _0x1691a2=['Creating\x20SourceMapper','sort','join','toString','get','735399MQePFH','Processing\x20','12JkWyFP','allGeneratedPositionsFor','file','toLowerCase','getMappingInfo','FOUND\x20IN','filter','basename','mappingInfo','2714922YLCpcP','p-limit','Map\x20file\x20processed:\x20','Could\x20not\x20read\x20sourcemap\x20file\x20','Parsing\x20source\x20map\x20files','fromFileList','create','13940580FZhWys','516548WWDQPL','column','25aVRtcw','hasMappingInfo','path','line','SourceMapper','replace','SourceMapConsumer','The\x20path\x20','Failed\x20to\x20process\x20a\x20source\x20map\x20file','constructor','FileIndex','source-map','logger','findInSources','search','error','.map','startsWith','findShortestFuzzyMatches','./file-index','webpack://','endsWith','map','length','\x20does\x20not\x20specify\x20a\x20sourcemap\x20file','substring','utf8','569538EIwvZE','reduce','debug','sources','621574MFOJds','apply','normalize','all','promisify','An\x20error\x20occurred\x20while\x20reading\x20the\x20','util','infoMap','has','from','Failed\x20to\x20parse\x20source\x20map\x20file\x20','8mxCTGb','dirname','1097692XBOtbA'];a23_0xbb27=function(){return _0x1691a2;};return a23_0xbb27();}exports[a23_0x39dac5(0x9d)]=SourceMapper;async function create(_0x5e15c7,_0x34bf2a,_0xe98224){const _0x3b074a=a23_0x39dac5;_0x5e15c7['debug'](_0x3b074a(0xc6));const _0x1283c5=new SourceMapper(_0x5e15c7);_0x5e15c7['debug'](_0x3b074a(0x93),_0x34bf2a[_0x3b074a(0xb0)]);const _0xf72319=async _0x3e2408=>{const _0x3da40b=_0x3b074a;try{await processSourcemap(_0x5e15c7,_0x1283c5[_0x3da40b(0xbf)],_0x3e2408,_0xe98224);}catch(_0x2ac93f){_0x5e15c7[_0x3da40b(0xa8)](_0x3da40b(0xa1),_0x3e2408,_0x2ac93f),_0x5e15c7['error'](JSON['stringify'](_0x2ac93f));}};if(_0xe98224)for(const _0x28ef3f of _0x34bf2a){await _0xf72319(_0x28ef3f);}else{const _0x26c04d=pLimit(CONCURRENCY),_0x11a47d=_0x34bf2a[_0x3b074a(0xaf)](_0xd25bb2=>_0x26c04d(()=>_0xf72319(_0xd25bb2)));await Promise[_0x3b074a(0xbb)](_0x11a47d);}return _0x1283c5;}exports[a23_0x39dac5(0x95)]=create;
|