lightrun 1.52.2 → 1.52.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.d.ts +1 -0
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x394eb5=a15_0x4006;(function(_0x1cfcfe,_0x3d3f91){const _0x181361=a15_0x4006,_0x2b786e=_0x1cfcfe();while(!![]){try{const _0x5b9bfd=-parseInt(_0x181361(0x1d3))/0x1+parseInt(_0x181361(0x1f1))/0x2*(-parseInt(_0x181361(0x1c7))/0x3)+parseInt(_0x181361(0x1d1))/0x4*(-parseInt(_0x181361(0x1c4))/0x5)+-parseInt(_0x181361(0x1dc))/0x6*(parseInt(_0x181361(0x1df))/0x7)+-parseInt(_0x181361(0x1db))/0x8*(-parseInt(_0x181361(0x1f6))/0x9)+-parseInt(_0x181361(0x1ca))/0xa+parseInt(_0x181361(0x1cf))/0xb;if(_0x5b9bfd===_0x3d3f91)break;else _0x2b786e['push'](_0x2b786e['shift']());}catch(_0x2b9133){_0x2b786e['push'](_0x2b786e['shift']());}}}(a15_0x586d,0x9c73f));const a15_0x15a12b=(function(){let _0x223e4d=!![];return function(_0x38be59,_0x2e6576){const _0x33535e=_0x223e4d?function(){if(_0x2e6576){const _0x565254=_0x2e6576['apply'](_0x38be59,arguments);return _0x2e6576=null,_0x565254;}}:function(){};return _0x223e4d=![],_0x33535e;};}()),a15_0x192d6b=a15_0x15a12b(this,function(){const _0x432c51=a15_0x4006;return a15_0x192d6b[_0x432c51(0x1e9)]()[_0x432c51(0x1e4)]('(((.+)+)+)+$')[_0x432c51(0x1e9)]()[_0x432c51(0x1fc)](a15_0x192d6b)[_0x432c51(0x1e4)](_0x432c51(0x1cb));});function a15_0x4006(_0x54b2c6,_0x1dd422){const _0x18e7e2=a15_0x586d();return a15_0x4006=function(_0x192d6b,_0x15a12b){_0x192d6b=_0x192d6b-0x1c3;let _0x586d9f=_0x18e7e2[_0x192d6b];return _0x586d9f;},a15_0x4006(_0x54b2c6,_0x1dd422);}a15_0x192d6b();'use strict';Object['defineProperty'](exports,a15_0x394eb5(0x1d8),{'value':!![]}),exports[a15_0x394eb5(0x1f4)]=exports[a15_0x394eb5(0x1ce)]=void 0x0;const extend=require('extend'),config_1=require('../config'),utils_1=require(a15_0x394eb5(0x1c9)),getAgentConfig_1=require(a15_0x394eb5(0x1d2)),validateConfig=_0x34a962=>{const _0x3fc4ab=a15_0x394eb5,_0x1b0743={};try{config_1[_0x3fc4ab(0x1e5)][_0x3fc4ab(0x1e1)](_0x34a962,{'abortEarly':![]});}catch(_0x217ebb){_0x217ebb['inner'][_0x3fc4ab(0x1c3)](_0xc9953e=>_0xc9953e[_0x3fc4ab(0x1d6)]&&_0xc9953e['message'])['forEach'](_0x5477a5=>{const _0x2dcbc1=_0x3fc4ab;_0x1b0743[_0x5477a5[_0x2dcbc1(0x1d6)]]=_0x5477a5[_0x2dcbc1(0x1de)];});}return _0x1b0743;};exports['validateConfig']=validateConfig;const normalizeConfig=_0x1503d8=>{const _0x55b1e0=a15_0x394eb5,_0x19e282={'serviceContext':{'service':process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1e6)]||process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1e8)]||process[_0x55b1e0(0x1c6)]['K_SERVICE'],'version':process['env'][_0x55b1e0(0x1d4)]||process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1f3)]||process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1ef)],'minorVersion_':process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1ec)]||process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1fb)]},'metadata':{'filename':process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1f9)],'registration':{}},'lightrunSecret':process[_0x55b1e0(0x1c6)]['LIGHTRUN_SECRET'],'apiEndpoint':process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1fe)],'noCheckCertificate':(0x0,utils_1[_0x55b1e0(0x1ee)])(process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1e2)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x55b1e0(0x1ee)])(process['env']['FETCH_BREAKPOINTS_ONCE']),'lightrunWaitForInit':(0x0,utils_1[_0x55b1e0(0x1ee)])(process[_0x55b1e0(0x1c6)]['LIGHTRUN_WAIT_FOR_INIT']),'lightrunInitWaitTimeMs':process['env'][_0x55b1e0(0x1d9)],'agentLog':_0x1503d8?.[_0x55b1e0(0x1eb)]||{},'proxy':{'host':process[_0x55b1e0(0x1c6)]['LIGHTRUN_PROXY_HOST'],'port':parseInt(process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1d0)]||'')||undefined,'username':process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1f2)],'password':process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1ea)]}};process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1c5)]!==undefined&&(_0x19e282['agentLog'][_0x55b1e0(0x1e0)]=process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1c5)]);process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1c8)]!==undefined&&(_0x19e282['agentLog']['agentLogLevel']=process['env'][_0x55b1e0(0x1c8)]);process['env'][_0x55b1e0(0x1ed)]!==undefined&&(_0x19e282[_0x55b1e0(0x1eb)]['agentLogTargetDir']=process['env'][_0x55b1e0(0x1ed)]);process[_0x55b1e0(0x1c6)]['AGENT_LOG_MAX_FILE_COUNT']!==undefined&&(_0x19e282[_0x55b1e0(0x1eb)][_0x55b1e0(0x1f7)]=parseInt(process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1dd)]));process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1d7)]!==undefined&&(_0x19e282[_0x55b1e0(0x1eb)][_0x55b1e0(0x1fd)]=parseInt(process[_0x55b1e0(0x1c6)]['AGENT_LOG_MAX_FILE_SIZE_MB']));process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1cc)]&&(_0x19e282[_0x55b1e0(0x1f5)][_0x55b1e0(0x1cd)]=process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1cc)],_0x19e282[_0x55b1e0(0x1f5)][_0x55b1e0(0x1da)]=_0x55b1e0(0x1d5));process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1f0)]&&(_0x19e282[_0x55b1e0(0x1e7)]['registration']={'tags':process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1f0)]['split'](',')});const _0x10ce88=(0x0,getAgentConfig_1['getAgentConfig'])(process[_0x55b1e0(0x1c6)][_0x55b1e0(0x1e3)]||_0x1503d8?.[_0x55b1e0(0x1f8)]||config_1['defaultConfig']['agentConfigFile']),_0x566f8d=extend(!![],{},config_1[_0x55b1e0(0x1fa)],_0x10ce88,_0x1503d8,_0x19e282),_0x4451a7=(0x0,exports['validateConfig'])(_0x566f8d);return{..._0x566f8d,'errors':_0x4451a7};};function a15_0x586d(){const _0xbf71c6=['agentLogMaxFileCount','agentConfigFile','LIGHTRUN_METADATA_FILE','defaultConfig','GAE_MINOR_VERSION','constructor','agentLogMaxFileSizeMb','LIGHTRUN_API_ENDPOINT','filter','520EZsOqj','LIGHTRUN_STD_ERR_THRESHOLD','env','946263lpUnzk','AGENT_LOG_LEVEL','../util/utils','1401050WYWkBz','(((.+)+)+)+$','FUNCTION_NAME','service','validateConfig','10224819xAZxdM','LIGHTRUN_PROXY_PORT','428nMvWDT','./getAgentConfig','333736thflQH','GAE_VERSION','unversioned','path','AGENT_LOG_MAX_FILE_SIZE_MB','__esModule','LIGHTRUN_INIT_WAIT_TIME_MS','version','184XVtdCK','99906lTwiKU','AGENT_LOG_MAX_FILE_COUNT','message','77pQREru','stdErrThreshold','validateSync','NO_CHECK_CERTIFICATE','LIGHTRUN_AGENT_CONFIG','search','configSchema','GAE_SERVICE','metadata','GAE_MODULE_NAME','toString','LIGHTRUN_PROXY_PASSWORD','agentLog','GAE_DEPLOYMENT_ID','AGENT_LOG_TARGET_DIR','getBooleanValue','K_REVISION','LIGHTRUN_TAGS','2MNvWHh','LIGHTRUN_PROXY_USERNAME','GAE_MODULE_VERSION','normalizeConfig','serviceContext','271899pKeERL'];a15_0x586d=function(){return _0xbf71c6;};return a15_0x586d();}exports[a15_0x394eb5(0x1f4)]=normalizeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a16_0x4e08ab=a16_0x1c09;(function(_0x2c061a,_0x5dc10d){const _0x1d3e79=a16_0x1c09,_0x284e99=_0x2c061a();while(!![]){try{const _0x4993f1=-parseInt(_0x1d3e79(0x130))/0x1*(-parseInt(_0x1d3e79(0x137))/0x2)+-parseInt(_0x1d3e79(0x12e))/0x3*(parseInt(_0x1d3e79(0x139))/0x4)+-parseInt(_0x1d3e79(0x12c))/0x5*(parseInt(_0x1d3e79(0x135))/0x6)+-parseInt(_0x1d3e79(0x12d))/0x7+-parseInt(_0x1d3e79(0x13c))/0x8+parseInt(_0x1d3e79(0x131))/0x9+parseInt(_0x1d3e79(0x132))/0xa;if(_0x4993f1===_0x5dc10d)break;else _0x284e99['push'](_0x284e99['shift']());}catch(_0xaadf3a){_0x284e99['push'](_0x284e99['shift']());}}}(a16_0x4cf6,0x57651));const a16_0x1e4e2d=(function(){let _0x54bbac=!![];return function(_0x4a60e3,_0x3735c4){const _0x447262=_0x54bbac?function(){const _0x311bdd=a16_0x1c09;if(_0x3735c4){const _0x29d92c=_0x3735c4[_0x311bdd(0x136)](_0x4a60e3,arguments);return _0x3735c4=null,_0x29d92c;}}:function(){};return _0x54bbac=![],_0x447262;};}()),a16_0x420e5d=a16_0x1e4e2d(this,function(){const _0x317e2b=a16_0x1c09;return a16_0x420e5d['toString']()[_0x317e2b(0x12f)]('(((.+)+)+)+$')[_0x317e2b(0x138)]()['constructor'](a16_0x420e5d)['search']('(((.+)+)+)+$');});function a16_0x4cf6(){const _0xd9583b=['188wXxGSy','tokenize','length','1559440IJMRdL','255570cPRcaZ','3556700jsMAzd','13767ZqERre','search','230516UoXmWn','511821ELGCQv','10404110THjmxY','delimit','push','6TBCrAx','apply','2uCKxZd','toString'];a16_0x4cf6=function(){return _0xd9583b;};return a16_0x4cf6();}a16_0x420e5d();'use strict';function a16_0x1c09(_0xcb97ba,_0x2e6eb1){const _0x2ee61d=a16_0x4cf6();return a16_0x1c09=function(_0x420e5d,_0x1e4e2d){_0x420e5d=_0x420e5d-0x12c;let _0x4cf699=_0x2ee61d[_0x420e5d];return _0x4cf699;},a16_0x1c09(_0xcb97ba,_0x2e6eb1);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a16_0x4e08ab(0x13a)]=void 0x0;const delimit_1=require('./delimit'),tokenize=(_0x1f8458,_0x2ec3f2)=>{const _0x4d3790=a16_0x4e08ab;let _0x5255b7=(0x0,delimit_1[_0x4d3790(0x133)])(_0x1f8458,'$$');for(let _0x2df1aa=_0x2ec3f2-0x1;_0x2df1aa>=0x0;_0x2df1aa--){const _0x20e054=[];for(let _0x326105=0x0;_0x326105<_0x5255b7[_0x4d3790(0x13b)];_0x326105++){_0x5255b7[_0x326105]['v']?_0x20e054['push'](_0x5255b7[_0x326105]):_0x20e054[_0x4d3790(0x134)](...(0x0,delimit_1[_0x4d3790(0x133)])(_0x5255b7[_0x326105],'$'+_0x2df1aa));}_0x5255b7=_0x20e054;}return _0x5255b7;};exports[a16_0x4e08ab(0x13a)]=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0x565824=a17_0xa9ab;(function(_0x49b102,_0x1934c0){const _0x5f00b0=a17_0xa9ab,_0x5ca46c=_0x49b102();while(!![]){try{const _0xe659ce=-parseInt(_0x5f00b0(0x1c5))/0x1*(parseInt(_0x5f00b0(0x26e))/0x2)+-parseInt(_0x5f00b0(0x19d))/0x3*(-parseInt(_0x5f00b0(0x19a))/0x4)+parseInt(_0x5f00b0(0x1c3))/0x5*(parseInt(_0x5f00b0(0x200))/0x6)+parseInt(_0x5f00b0(0x202))/0x7+parseInt(_0x5f00b0(0x1a8))/0x8+parseInt(_0x5f00b0(0x184))/0x9*(-parseInt(_0x5f00b0(0x242))/0xa)+-parseInt(_0x5f00b0(0x1e9))/0xb;if(_0xe659ce===_0x1934c0)break;else _0x5ca46c['push'](_0x5ca46c['shift']());}catch(_0x393aaa){_0x5ca46c['push'](_0x5ca46c['shift']());}}}(a17_0x2088,0x873d1));const a17_0x3d6688=(function(){let _0x2e1066=!![];return function(_0x5f35a0,_0x114401){const _0x11b8ef=_0x2e1066?function(){const _0x194fa5=a17_0xa9ab;if(_0x114401){const _0x539958=_0x114401[_0x194fa5(0x23c)](_0x5f35a0,arguments);return _0x114401=null,_0x539958;}}:function(){};return _0x2e1066=![],_0x11b8ef;};}()),a17_0x462cf2=a17_0x3d6688(this,function(){const _0x29221b=a17_0xa9ab;return a17_0x462cf2['toString']()[_0x29221b(0x26b)](_0x29221b(0x1b7))[_0x29221b(0x24f)]()[_0x29221b(0x186)](a17_0x462cf2)['search']('(((.+)+)+)+$');});a17_0x462cf2();'use strict';var __classPrivateFieldSet=this&&this[a17_0x565824(0x1b3)]||function(_0x46b855,_0x3aaf4c,_0x516c72,_0x29ad53,_0x3b0d66){const _0x581d0e=a17_0x565824;if(_0x29ad53==='m')throw new TypeError(_0x581d0e(0x19b));if(_0x29ad53==='a'&&!_0x3b0d66)throw new TypeError(_0x581d0e(0x1b1));if(typeof _0x3aaf4c===_0x581d0e(0x18a)?_0x46b855!==_0x3aaf4c||!_0x3b0d66:!_0x3aaf4c['has'](_0x46b855))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x29ad53==='a'?_0x3b0d66[_0x581d0e(0x1ff)](_0x46b855,_0x516c72):_0x3b0d66?_0x3b0d66['value']=_0x516c72:_0x3aaf4c[_0x581d0e(0x1c7)](_0x46b855,_0x516c72),_0x516c72;},__classPrivateFieldGet=this&&this[a17_0x565824(0x207)]||function(_0x4e14b3,_0x331583,_0x80ff60,_0x3fd77f){const _0x3d8146=a17_0x565824;if(_0x80ff60==='a'&&!_0x3fd77f)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x331583===_0x3d8146(0x18a)?_0x4e14b3!==_0x331583||!_0x3fd77f:!_0x331583[_0x3d8146(0x24a)](_0x4e14b3))throw new TypeError(_0x3d8146(0x1a9));return _0x80ff60==='m'?_0x3fd77f:_0x80ff60==='a'?_0x3fd77f['call'](_0x4e14b3):_0x3fd77f?_0x3fd77f[_0x3d8146(0x236)]:_0x331583[_0x3d8146(0x250)](_0x4e14b3);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a17_0x565824(0x1b6)](exports,a17_0x565824(0x26f),{'value':!![]}),exports['Debuglet']=exports[a17_0x565824(0x246)]=void 0x0;const assert=require('assert'),events_1=require(a17_0x565824(0x237)),extend=require(a17_0x565824(0x1a0)),fs=require('fs'),path=require(a17_0x565824(0x1f0)),util=require(a17_0x565824(0x1e2)),status_message_1=require(a17_0x565824(0x210)),stackdriver_1=require(a17_0x565824(0x257)),agent_logger_1=require('./agent-logger'),config_1=require('./config'),controller_1=require(a17_0x565824(0x231)),SourceMapper=require('./io/sourcemapper'),debugapi=require(a17_0x565824(0x1bc)),piping_manager_1=require('./piping-manager'),quota_manager_1=require(a17_0x565824(0x1aa)),patterns_blocklist_manager_1=require(a17_0x565824(0x247)),scanner_1=require(a17_0x565824(0x22b)),environment_metadata_1=require(a17_0x565824(0x244)),file_index_1=require('./io/file-index'),utils_1=require(a17_0x565824(0x256)),redaction_manager_1=require(a17_0x565824(0x1e8)),configuration_provider_1=require(a17_0x565824(0x26a)),normalizeConfig_1=require(a17_0x565824(0x23f)),mapSubtract_1=require(a17_0x565824(0x1cc)),format_1=require(a17_0x565824(0x1c4)),createDebuggee_1=require(a17_0x565824(0x1cd)),readFilep=util[a17_0x565824(0x180)](fs[a17_0x565824(0x255)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x22be90,_0x13ff74)=>{const _0x376fd1=a17_0x565824;let _0x1f136=_0x22be90+util[_0x376fd1(0x23d)](_0x376fd1(0x270),_0x13ff74['id'],_0x13ff74['action'],util[_0x376fd1(0x201)](_0x13ff74[_0x376fd1(0x272)]));if(_0x13ff74['createTime']){const _0xbe48e6=Number(_0x13ff74[_0x376fd1(0x17f)]['seconds']),_0x1c1236=new Date(_0xbe48e6*0x3e8);_0x1f136+=_0x376fd1(0x20f)+_0x1c1236[_0x376fd1(0x24f)]();}return _0x13ff74[_0x376fd1(0x1ca)]&&(_0x1f136+='\x0a\x09condition:\x20'+util[_0x376fd1(0x201)](_0x13ff74['condition'])),_0x13ff74[_0x376fd1(0x241)]&&(_0x1f136+=_0x376fd1(0x234)+util[_0x376fd1(0x201)](_0x13ff74['expressions'])),_0x1f136;},formatBreakpoints=(_0x332ae7,_0x5cfdc8)=>{const _0x37155b=a17_0x565824;return _0x332ae7+Object[_0x37155b(0x22d)](_0x5cfdc8)['map'](_0x561a27=>{return formatBreakpoint('',_0x5cfdc8[_0x561a27]);})[_0x37155b(0x1bb)]('\x0a');};class CachedPromise{constructor(){const _0x22bc91=a17_0x565824;this['promiseResolve']=null,this[_0x22bc91(0x225)]=new Promise(_0x191f57=>{this['promiseResolve']=_0x191f57;});}[a17_0x565824(0x250)](){const _0xedd32b=a17_0x565824;return this[_0xedd32b(0x225)];}[a17_0x565824(0x1eb)](){const _0x3707c9=a17_0x565824;this[_0x3707c9(0x218)]&&(this['promiseResolve'](),this[_0x3707c9(0x218)]=null);}}exports['CachedPromise']=CachedPromise;function a17_0xa9ab(_0x16699e,_0x533915){const _0x5d5813=a17_0x2088();return a17_0xa9ab=function(_0x462cf2,_0x3d6688){_0x462cf2=_0x462cf2-0x17d;let _0x208801=_0x5d5813[_0x462cf2];return _0x208801;},a17_0xa9ab(_0x16699e,_0x533915);}class IsReadyImpl{constructor(_0x485bdc){this['debuglet']=_0x485bdc;}[a17_0x565824(0x1b9)](){const _0x47ef5d=a17_0x565824;return this[_0x47ef5d(0x232)][_0x47ef5d(0x1b9)]();}}function a17_0x2088(){const _0x23fb77=['(((.+)+)+)+$','REDACTED_PLACEHOLDER','isReady','getProps','join','./v8/debugapi','pipingManager','length','Working\x20directory:\x20','Expiring\x20breakpoint','then','emit','116710qfgZFW','./debuglet-helpers/format','4lxifwt','collectLogRequestId','set','Breakpoint','Failed\x20to\x20register\x20debuggee:\x20','condition','\x09adding\x20breakpoint','./debuglet-helpers/mapSubtract','./debuglet-helpers/createDebuggee','maxRequestRetryDelaySeconds','warn','stringify','selectFiles','type','action','SIGINT','selectStats','UNSPECIFIED','js.map','concat','create','prettyError','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','source-context.json','info','seconds','Malformed\x20source-context.json\x20file:\x20','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','ALLOW_EXPRESSIONS_MESSAGE','util','quota','quotaCheck','Debuggee\x20is\x20not\x20registered','logger','stop','./reduction/redaction-manager','10859981cBdqtB','stdErrThreshold','resolve','Starting\x20debuggee','status','NODE_VERSION_MESSAGE','satisfies','path','createPerBreakpointConditionQuota','default','ignoreQuota','\x20caseInsensitive:\x20','Disabled\x20by\x20the\x20server','description','pipingStatus','getSourceContextFromFile','jsFileIndex','SIGTERM','isRedactionActive','QuotaManager','activeBreakpointMap','all','call','216cMNLOC','inspect','4060623MUIQll','map','isRunning','backoff','normalizeConfig','__classPrivateFieldGet','Controller','\x09remove\x20breakpoint','\x20(type:\x20','javascriptFileExtensions','.\x20Error:\x20','push','mapFiles','\x0a\x09createdTime:\x20','../client/stackdriver/status-message','LOG','>=12','BREAKPOINT_ACTION_MESSAGE','now','Breakpoint\x20hit!:\x20','LOGPOINT:\x20','split','promiseResolve','StatusMessage','pattern','extraPaths','packageInfo','debuggee','message','stopped','Failed\x20to\x20re-register\x20debuggee\x20','scan','expirationTime','EventEmitter','workingDirectory','promise','entries','bind','parameters','\x20completed.','isFinalState','./io/scanner','breakpoints_fetched','keys','isDisabled','name','config','./controller','debuglet','errors','\x0a\x09expressions:\x20','initError','value','events','sendAgentLogsToServer','name:\x20','\x09successfully\x20added\x20breakpoint','hash','apply','format','FileIndex','./debuglet-helpers/normalizeConfig','isReadyManager','expressions','17590ItUiFt','Active\x20Breakpoints:\x20\x0a','./environment-metadata','blacklist','CachedPromise','./blocklisting/patterns-blocklist-manager','replace','Error\x20scanning\x20the\x20filesystem.','has','posix','agentLogMaxFileSizeMb','\x09Got\x20error\x20from\x20server.\x20status:\x20','isOutOfQuota','toString','get','CAPTURE','existsSync','sep','EnvironmentMetadata','readFile','./util/utils','../types/stackdriver','agentLogMaxFileCount','GAE-','version','Stopping\x20Debuglet','clientConnectionTimeoutInSeconds','filter','log','./reduction/redaction-manager-re2js','listBreakpoints','fetcherActive','NOT_SET','caseInsensitive','Error\x20processing\x20the\x20sourcemaps.','SIGQUIT','Scheduling\x20registration\x20in\x20','registered','pid','disable','./configuration-provider','search','):\x20pattern:\x20','parse','303500lIHbwC','__esModule','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','location','blacklist_exception','env','mapSubtract','undefined','breakpointUpdateIntervalSec','object','logLevel','\x09Notifying\x20server\x20about\x20error\x20for\x20','globalPipingStatus','enable','remotelyDisabled','Blacklist\x20Exceptions:\x20\x0a\x09','createTime','promisify','Found\x20breakpoint\x20with\x20invalid\x20action:','remainingHits','Fetching\x20breakpoints','837Lpqlti','Debuglet','constructor','logMainConfigParams','waitExpired','.\x20Retrying\x20in\x20','function','cwd','breakpointExpirationSec','Initializing\x20Node.js\x20agent\x20version:\x20','sourceContext','GAE_MINOR_VERSION','wait','Blacklist:\x20\x0a\x09','collectAndSendLog','isArray','agentLogTargetDir','\x20because\x20','debug','.\x20message:\x20','once','removeBreakpoint','8mEbwSa','Private\x20method\x20is\x20not\x20writable','deregister','1334916EcxFgg','5.2\x20||\x20<4','addAndPipeLog','extend','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','error','Switching\x20globalPiping\x20status\x20from\x20','fetchBreakpointsOnce','values','agentLogLevel','started','11600BySlME','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','./quota-manager','>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12','pipeLogs','agentLog','forEach','breakpoints','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','getRedactions','__classPrivateFieldSet','findFiles','Unique\x20ID\x20for\x20this\x20Application:\x20','defineProperty'];a17_0x2088=function(){return _0x23fb77;};return a17_0x2088();}class Debuglet extends events_1[a17_0x565824(0x223)]{constructor(_0x316b7c,_0x411962){const _0x362a9e=a17_0x565824;super(),_Debuglet_instances['add'](this),_Debuglet_debug[_0x362a9e(0x1c7)](this,void 0x0),_Debuglet_v8debug['set'](this,void 0x0),_Debuglet_running[_0x362a9e(0x1c7)](this,void 0x0),_Debuglet_controller[_0x362a9e(0x1c7)](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x362a9e(0x1c7)](this,void 0x0),_Debuglet_breakpointFetched[_0x362a9e(0x1c7)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x362a9e(0x1c7)](this,void 0x0),_Debuglet_nextEnableTimeout['set'](this,null),this[_0x362a9e(0x240)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner[_0x362a9e(0x1c7)](this,void 0x0),_Debuglet_quotaManager[_0x362a9e(0x1c7)](this,void 0x0),_Debuglet_blocklistManager[_0x362a9e(0x1c7)](this,void 0x0),_Debuglet_redactionManager[_0x362a9e(0x1c7)](this,void 0x0),_Debuglet_configProvider[_0x362a9e(0x1c7)](this,void 0x0),this[_0x362a9e(0x230)]=(0x0,normalizeConfig_1[_0x362a9e(0x206)])(_0x411962),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1['ConfigurationProvider'](this[_0x362a9e(0x230)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x316b7c,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0x362a9e(0x1e6)]=agent_logger_1[_0x362a9e(0x1f2)]['createLogger'](this['config']['agentLog'][_0x362a9e(0x194)],this[_0x362a9e(0x230)]['agentLog'][_0x362a9e(0x24c)],this[_0x362a9e(0x230)][_0x362a9e(0x1ad)][_0x362a9e(0x258)],this[_0x362a9e(0x230)][_0x362a9e(0x1ad)][_0x362a9e(0x1a6)],this[_0x362a9e(0x230)][_0x362a9e(0x1ad)][_0x362a9e(0x1ea)]),(0x0,config_1[_0x362a9e(0x187)])(this[_0x362a9e(0x230)],this[_0x362a9e(0x1e6)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x362a9e(0x254))](this[_0x362a9e(0x1e6)])[_0x362a9e(0x1ba)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x362a9e(0x208))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this[_0x362a9e(0x1e6)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1['Scanner'](this[_0x362a9e(0x1e6)]),'f'),this['debuggee']=null,this[_0x362a9e(0x1fd)]={},__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[(_0x362a9e(0x1fc))](this[_0x362a9e(0x1e6)],this[_0x362a9e(0x230)]),'f'),this[_0x362a9e(0x1bd)]=new piping_manager_1['PipingManager']('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x362a9e(0x230)]);}async[a17_0x565824(0x1b4)](_0x460020,_0x13e606){const _0x3b656f=a17_0x565824,_0x4b8394=_0x460020[_0x3b656f(0x224)],_0xef5021=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x3b656f(0x221)](_0x4b8394,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x3b656f(0x1ff)](_a,_0x460020[_0x3b656f(0x20b)][_0x3b656f(0x1d8)](_0x3b656f(0x1d7))),_0x13e606,_0x460020[_0x3b656f(0x21b)]),_0x357ec4=_0xef5021[_0x3b656f(0x1d5)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x3b656f(0x1ff)](_a,_0x460020[_0x3b656f(0x20b)])),_0x309941=file_index_1[_0x3b656f(0x23e)]['fromFileStats'](_0x357ec4),_0x3e6ade=_0xef5021[_0x3b656f(0x1d1)](/.js.map$/,process[_0x3b656f(0x18b)]()),_0x2481c1=_0xef5021[_0x3b656f(0x233)]();return{'mapFiles':_0x3e6ade,'errors':_0x2481c1,'jsFileIndex':_0x309941,'hash':_0xef5021[_0x3b656f(0x23b)]};}async['start'](){const _0x2102c4=a17_0x565824,_0x5d68d8=this,_0x3c1482=_0x5d68d8['config']['workingDirectory'];if(!_0x5d68d8[_0x2102c4(0x230)]['allowRootAsWorkingDirectory']&&path[_0x2102c4(0x1bb)](_0x3c1482,'..')===_0x3c1482){const _0x4f2ee3='The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20'+_0x2102c4(0x1e0)+_0x2102c4(0x1a1)+'do\x20this.';_0x5d68d8['logger'][_0x2102c4(0x1a2)](_0x4f2ee3),_0x5d68d8['emit']('initError',new Error(_0x4f2ee3));return;}let _0x54e1f1;process[_0x2102c4(0x274)][_0x2102c4(0x18f)]&&(_0x54e1f1=_0x2102c4(0x259)+process['env'][_0x2102c4(0x18f)]);let _0x5a3287,_0x4bf29e=_0x54e1f1||'';try{_0x5a3287=await this['findFiles'](_0x5d68d8[_0x2102c4(0x230)],_0x54e1f1),_0x5a3287[_0x2102c4(0x233)][_0x2102c4(0x1ae)](_0x5d68d8[_0x2102c4(0x1e6)]['warn']);}catch(_0x3c190b){_0x5d68d8[_0x2102c4(0x1e6)][_0x2102c4(0x1a2)](_0x2102c4(0x249),_0x3c190b),_0x5d68d8[_0x2102c4(0x1c2)]('initError',_0x3c190b);return;}try{const _0x52befa=await SourceMapper[_0x2102c4(0x1d9)](_0x5a3287[_0x2102c4(0x20e)]);__classPrivateFieldSet(_0x5d68d8,_Debuglet_v8debug,debugapi[_0x2102c4(0x1d9)](_0x5d68d8[_0x2102c4(0x1e6)],_0x5d68d8['config'],_0x5a3287[_0x2102c4(0x1f9)],_0x52befa,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x4bf29e=_0x54e1f1||_0x5a3287[_0x2102c4(0x23b)];}catch(_0x51b450){_0x5d68d8[_0x2102c4(0x1e6)][_0x2102c4(0x1a2)](_0x2102c4(0x264),_0x51b450),_0x5d68d8[_0x2102c4(0x1c2)](_0x2102c4(0x235),_0x51b450);}_0x5d68d8['logger']['info'](_0x2102c4(0x1b5)+_0x4bf29e);const _0xb25008=(0x0,utils_1['readFullVersion'])(_0x5d68d8[_0x2102c4(0x1e6)])[_0x2102c4(0x248)]('\x0a','');_0x5d68d8[_0x2102c4(0x1e6)][_0x2102c4(0x1dd)](_0x2102c4(0x18d)+_0xb25008);let _0x4904e3;try{_0x4904e3=_0x5d68d8['config'][_0x2102c4(0x18e)]||await _a['getSourceContextFromFile']();}catch(_0x1b3def){}this[_0x2102c4(0x230)]['capture']&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')['getMaxSnapshotBufferSize']()===0x0&&(0x0,utils_1[_0x2102c4(0x1ef)])(process[_0x2102c4(0x25a)],_0x2102c4(0x1ab))&&_0x5d68d8[_0x2102c4(0x1e6)][_0x2102c4(0x1cf)](utils_1[_0x2102c4(0x233)]['NODE_10_CIRC_REF_MESSAGE']),_0x5d68d8[_0x2102c4(0x1e6)][_0x2102c4(0x1dd)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process['mainModule']?.['filename']),_0x5d68d8['logger'][_0x2102c4(0x196)](_0x2102c4(0x1bf)+_0x3c1482),_0x5d68d8['logger'][_0x2102c4(0x196)](_0x2102c4(0x1ec)),__classPrivateFieldSet(_0x5d68d8,_Debuglet_running,!![],'f'),_0x5d68d8[_0x2102c4(0x21d)]=(0x0,createDebuggee_1['createDebuggee'])(_0x4bf29e,_0x5d68d8[_0x2102c4(0x230)],_0x4904e3,__classPrivateFieldGet(_0x5d68d8,_Debuglet_debug,'f')[_0x2102c4(0x21c)],_0xb25008,_0x5d68d8['logger'],__classPrivateFieldGet(_0x5d68d8,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x5d68d8,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x2102c4(0x1ff)](_0x5d68d8),__classPrivateFieldGet(_0x5d68d8,_Debuglet_instances,'m',_Debuglet_register_)[_0x2102c4(0x1ff)](_0x5d68d8),_0x5d68d8[_0x2102c4(0x1c2)](_0x2102c4(0x1a7));}[a17_0x565824(0x1b9)](){const _0x31b227=a17_0x565824;if(Date[_0x31b227(0x214)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x31b227(0x1eb)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x31b227(0x250)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['get']()[_0x31b227(0x1c1)](()=>{const _0x176b80=_0x31b227;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x176b80(0x1ff)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x31b227(0x250)]();}}static async[a17_0x565824(0x1f8)](){const _0x2a8dca=a17_0x565824,_0x4e5bcf=await readFilep(_0x2a8dca(0x1dc),'utf8');try{return JSON[_0x2a8dca(0x26d)](_0x4e5bcf);}catch(_0x36e486){throw new Error(_0x2a8dca(0x1df)+_0x36e486);}}[a17_0x565824(0x204)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a17_0x565824(0x1e7)](){const _0x1e9d77=a17_0x565824;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x1e9d77(0x1e6)][_0x1e9d77(0x196)](_0x1e9d77(0x1db));return;}this[_0x1e9d77(0x1e6)]['debug'](_0x1e9d77(0x25b)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.['clearTransmissionTimeout'](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x1e9d77(0x1c2)](_0x1e9d77(0x21f));}}exports[a17_0x565824(0x185)]=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(_0x57addf){const _0x1a700c=a17_0x565824;return new RegExp(_0x57addf['map'](_0x4b1fb4=>_0x4b1fb4+'$')[_0x1a700c(0x1bb)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x2a4243=a17_0x565824,_0x55b35d=[_0x2a4243(0x1fa),_0x2a4243(0x1d4),_0x2a4243(0x265)];_0x55b35d['forEach'](_0x57aed3=>{const _0x4b4f43=_0x2a4243;process[_0x4b4f43(0x198)](_0x57aed3,()=>{const _0x3a8896=_0x4b4f43;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3a8896(0x19c)](this[_0x3a8896(0x21d)],()=>{const _0x426cc0=_0x3a8896;process['kill'](process[_0x426cc0(0x268)],_0x57aed3);});});}),process['once']('beforeExit',()=>{const _0x54c034=_0x2a4243;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x54c034(0x21d)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x1b4e5d=a17_0x565824;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x1b4e5d(0x1ff)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x2e81e7){const _0x5a172a=a17_0x565824,_0x3cf9dd=this;_0x3cf9dd[_0x5a172a(0x1e6)][_0x5a172a(0x196)](_0x2e81e7?_0x5a172a(0x266)+_0x2e81e7+'s':'Registering\x20debuggee');function _0xc4c02d(_0x3d6a03,_0x4d9c79,_0x130bab=![]){const _0x45a5eb=_0x5a172a,_0x5f32f5=_0x3cf9dd['debuggee']?.['id']?_0x45a5eb(0x220)+_0x3cf9dd[_0x45a5eb(0x21d)]?.['id']+':\x20'+(0x0,utils_1['prettyError'])(_0x3d6a03):_0x45a5eb(0x1c9)+(0x0,utils_1[_0x45a5eb(0x1da)])(_0x3d6a03);_0x3cf9dd[_0x45a5eb(0x1e6)]['error'](_0x5f32f5),_0x4d9c79&&!_0x130bab&&_0x3cf9dd[_0x45a5eb(0x1e6)][_0x45a5eb(0x1a2)]('Result:\x20\x0a',_0x4d9c79),__classPrivateFieldGet(_0x3cf9dd,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x45a5eb(0x1ff)](_0x3cf9dd,(0x0,utils_1[_0x45a5eb(0x205)])(_0x2e81e7,_0x3cf9dd[_0x45a5eb(0x230)]['internal'][_0x45a5eb(0x1ce)]));}setTimeout(()=>{const _0x2a1373=_0x5a172a;if(!__classPrivateFieldGet(_0x3cf9dd,_Debuglet_running,'f')){_0xc4c02d(new Error('Debuglet\x20not\x20running'));return;}__classPrivateFieldGet(_0x3cf9dd,_Debuglet_controller,'f')['register'](_0x3cf9dd[_0x2a1373(0x21d)],(_0x769945,_0x23a141,_0x366684=![])=>{const _0x4766fc=_0x2a1373;if(_0x769945){_0xc4c02d(_0x769945,_0x23a141,_0x366684);return;}if(_0x23a141[_0x4766fc(0x21d)][_0x4766fc(0x22e)]){_0xc4c02d(new Error(_0x4766fc(0x1f5))),_0x3cf9dd[_0x4766fc(0x1c2)](_0x4766fc(0x17d));return;}const _0x1497e3=_0x23a141[_0x4766fc(0x21d)]['id'];_0x3cf9dd['logger'][_0x4766fc(0x1dd)]('Registered\x20as\x20debuggee:\x20'+_0x1497e3),_0x3cf9dd['debuggee']['id']=_0x1497e3;const _0x2106cb=[__classPrivateFieldGet(_0x3cf9dd,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x4766fc(0x227)](_0x3cf9dd)(_0x3cf9dd[_0x4766fc(0x21d)]['id'])];_0x3cf9dd[_0x4766fc(0x230)]['redactionEnabled']&&_0x2106cb[_0x4766fc(0x20d)](__classPrivateFieldGet(_0x3cf9dd,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](_0x3cf9dd)(_0x3cf9dd[_0x4766fc(0x21d)]['id'])),Promise[_0x4766fc(0x1fe)](_0x2106cb)[_0x4766fc(0x1c1)](()=>{const _0x41793d=_0x4766fc;_0x3cf9dd[_0x41793d(0x1c2)](_0x41793d(0x267),_0x1497e3),__classPrivateFieldGet(_0x3cf9dd,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(_0x3cf9dd,_Debuglet_v8debug,'f')?.['setBlocklistManager'](__classPrivateFieldGet(_0x3cf9dd,_Debuglet_blocklistManager,'f')),!_0x3cf9dd[_0x41793d(0x261)]&&__classPrivateFieldGet(_0x3cf9dd,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x41793d(0x1ff)](_0x3cf9dd,0x0,this[_0x41793d(0x230)][_0x41793d(0x1a4)],_0x23a141?.[_0x41793d(0x25c)]);},_0x54f281=>{_0xc4c02d(_0x54f281);});});},_0x2e81e7*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x361215,_0x106a39,_0x87fc91){const _0x4343ae=this;!_0x106a39&&(_0x4343ae['fetcherActive']=!![]),setTimeout(()=>{const _0x597314=a17_0xa9ab;if(!__classPrivateFieldGet(_0x4343ae,_Debuglet_running,'f'))return;!_0x106a39&&assert(_0x4343ae[_0x597314(0x261)]),_0x4343ae[_0x597314(0x1e6)][_0x597314(0x196)](_0x597314(0x183)),__classPrivateFieldGet(_0x4343ae,_Debuglet_controller,'f')[_0x597314(0x260)](_0x4343ae[_0x597314(0x21d)],(_0xa8bca1,_0x20e1e4,_0x213d4f)=>{const _0x53acb0=_0x597314;if(_0x20e1e4?.[_0x53acb0(0x1ed)]===0x194){_0x4343ae[_0x53acb0(0x1e6)]['info'](_0x53acb0(0x1e5)),_0x4343ae[_0x53acb0(0x261)]=![],__classPrivateFieldGet(_0x4343ae,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x53acb0(0x1ff)](_0x4343ae),__classPrivateFieldGet(_0x4343ae,_Debuglet_instances,'m',_Debuglet_register_)[_0x53acb0(0x1ff)](_0x4343ae);return;}if(_0xa8bca1){const _0x27c32c=(0x0,utils_1[_0x53acb0(0x205)])(_0x361215,_0x4343ae[_0x53acb0(0x230)]['internal'][_0x53acb0(0x1ce)]);_0x4343ae[_0x53acb0(0x1e6)][_0x53acb0(0x1a2)](_0x53acb0(0x24d)+_0x20e1e4?.[_0x53acb0(0x1ed)]+_0x53acb0(0x197)+_0xa8bca1[_0x53acb0(0x21e)]+_0x53acb0(0x189)+_0x27c32c+'s'),__classPrivateFieldGet(_0x4343ae,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](_0x4343ae,_0x27c32c,_0x106a39,_0x87fc91);return;}_0x4343ae[_0x53acb0(0x1e6)][_0x53acb0(0x196)]('\x09'+_0x20e1e4['status']+_0x53acb0(0x229));if(!_0x213d4f){const _0x1005e9=_0x4343ae[_0x53acb0(0x230)][_0x53acb0(0x277)];_0x4343ae[_0x53acb0(0x1e6)]['error']('\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20'+_0x1005e9+'s'),__classPrivateFieldGet(_0x4343ae,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x53acb0(0x1ff)](_0x4343ae,_0x1005e9,_0x106a39,_0x87fc91);return;}if(_0x213d4f[_0x53acb0(0x188)]){_0x4343ae['logger'][_0x53acb0(0x1dd)]('\x09Long\x20poll\x20completed.'),__classPrivateFieldGet(_0x4343ae,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x53acb0(0x1ff)](_0x4343ae,0x0,_0x106a39,_0x87fc91);return;}if(_0x213d4f['pipeLogs']&&_0x213d4f[_0x53acb0(0x1ac)]!==_0x53acb0(0x262)){const _0x5efe0a=this['pipingManager'][_0x53acb0(0x27b)];_0x5efe0a!==_0x213d4f[_0x53acb0(0x1ac)]&&(this[_0x53acb0(0x1e6)][_0x53acb0(0x196)](_0x53acb0(0x1a3)+_0x5efe0a+'\x20to\x20'+_0x213d4f[_0x53acb0(0x1ac)]),this[_0x53acb0(0x1bd)][_0x53acb0(0x27b)]=_0x213d4f['pipeLogs']);}if(_0x213d4f[_0x53acb0(0x192)]&&_0x213d4f[_0x53acb0(0x1c6)]!==_0x4343ae[_0x53acb0(0x1c6)]){_0x4343ae[_0x53acb0(0x1c6)]=_0x213d4f[_0x53acb0(0x1c6)];const _0xf06da8=_0x4343ae['config'][_0x53acb0(0x1ad)][_0x53acb0(0x194)]&&path['join'](_0x4343ae[_0x53acb0(0x230)][_0x53acb0(0x1ad)]['agentLogTargetDir'],agent_logger_1[_0x53acb0(0x1f2)]['AGENT_LOG_FILE']);_0xf06da8&&fs[_0x53acb0(0x252)](_0xf06da8)?setTimeout(()=>__classPrivateFieldGet(_0x4343ae,_Debuglet_controller,'f')[_0x53acb0(0x238)](_0x4343ae[_0x53acb0(0x21d)],_0x213d4f['collectLogRequestId'],_0xf06da8)):_0x4343ae['logger'][_0x53acb0(0x1dd)]('Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20'+_0x213d4f[_0x53acb0(0x1c6)]+_0x53acb0(0x195)+_0x53acb0(0x271));}const _0x518c3a=(_0x213d4f[_0x53acb0(0x1af)]||[])['map'](_0x121e88=>new stackdriver_1[(_0x53acb0(0x1c8))](_0x121e88))[_0x53acb0(0x25d)](_0x596af0=>{const _0x472a93=_0x53acb0,_0x5c59b7=_0x596af0[_0x472a93(0x1d3)]||_0x472a93(0x251);if(__classPrivateFieldGet(_0x4343ae,_Debuglet_completedBreakpointMap,'f')[_0x596af0['id']])return![];if(_0x5c59b7!==_0x472a93(0x251)&&_0x5c59b7!=='LOG')return _0x4343ae[_0x472a93(0x1e6)][_0x472a93(0x1cf)](_0x472a93(0x181),_0x5c59b7),_0x596af0[_0x472a93(0x1ed)]=new status_message_1[(_0x472a93(0x219))](status_message_1[_0x472a93(0x219)]['UNSPECIFIED'],utils_1['errors'][_0x472a93(0x213)],!![]),__classPrivateFieldGet(_0x4343ae,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](_0x4343ae,_0x596af0),![];return!![];}),_0x28cab3=__classPrivateFieldGet(_0x4343ae,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x53acb0(0x1ff)](_0x4343ae);let _0x1d1411=_0x28cab3[_0x53acb0(0x1be)]>0x0;__classPrivateFieldGet(_0x4343ae,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x53acb0(0x1ff)](_0x4343ae,_0x28cab3),_0x1d1411=_0x1d1411||__classPrivateFieldGet(_0x4343ae,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](_0x4343ae,_0x518c3a),_0x4343ae[_0x53acb0(0x1c2)](_0x53acb0(0x22c),_0x518c3a['length']);_0x1d1411&&_0x4343ae['logger']['debug'](formatBreakpoints(_0x53acb0(0x243),_0x4343ae[_0x53acb0(0x1fd)]));__classPrivateFieldSet(_0x4343ae,_Debuglet_breakpointFetchedTimestamp,Date[_0x53acb0(0x214)](),'f');_0x106a39?__classPrivateFieldGet(_0x4343ae,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x4343ae,_Debuglet_breakpointFetched,'f')[_0x53acb0(0x1eb)](),__classPrivateFieldSet(_0x4343ae,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x4343ae,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x53acb0(0x1ff)](_0x4343ae,0x0,_0x106a39,_0x87fc91);return;},_0x87fc91);},_0x361215*0x3e8)['unref']();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x436cc3=a17_0x565824;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x436cc3(0x1eb)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x5ef573){const _0x205496=a17_0x565824,_0x52edee=this,_0x135bbf=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x205496(0x1ff)](this,_0x5ef573);let _0x7d186d=![];return _0x5ef573[_0x205496(0x1ae)](_0x358d97=>{const _0x5a08a4=_0x205496;!__classPrivateFieldGet(_0x52edee,_Debuglet_completedBreakpointMap,'f')[_0x358d97['id']]&&!_0x52edee['activeBreakpointMap'][_0x358d97['id']]&&(__classPrivateFieldGet(_0x52edee,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](_0x52edee,_0x358d97,_0x16ec6e=>{const _0x4f9660=a17_0xa9ab;_0x16ec6e&&__classPrivateFieldGet(_0x52edee,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x4f9660(0x1ff)](_0x52edee,_0x358d97,!![],![]);}),_0x7d186d=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x5a08a4(0x1f1)](_0x358d97['id'])),__classPrivateFieldGet(_0x52edee,_Debuglet_quotaManager,'f')['setIgnoreQuota'](_0x358d97['id'],_0x358d97[_0x5a08a4(0x1f3)]),_0x52edee['pipingManager']['setPipingStatus'](_0x358d97['id'],_0x358d97[_0x5a08a4(0x1f7)]);}),(0x0,mapSubtract_1[_0x205496(0x275)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x135bbf)[_0x205496(0x1ae)](_0x217a78=>{delete __classPrivateFieldGet(_0x52edee,_Debuglet_completedBreakpointMap,'f')[_0x217a78['id']],_0x7d186d=!![];}),(0x0,mapSubtract_1['mapSubtract'])(this[_0x205496(0x1fd)],_0x135bbf)[_0x205496(0x1ae)](_0x40f073=>{const _0x168270=_0x205496;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x168270(0x1ff)](this,_0x40f073,!![]),_0x7d186d=!![];}),_0x7d186d&&_0x52edee['logger'][_0x205496(0x196)](formatBreakpoints('Server\x20breakpoints:\x0a',_0x135bbf)),_0x7d186d;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x275669){const _0x3e2f9a={};return _0x275669['forEach'](_0x3e837a=>{_0x3e2f9a[_0x3e837a['id']]=_0x3e837a;}),_0x3e2f9a;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x4347ca,_0x1333a2){const _0x173860=a17_0x565824;this[_0x173860(0x1e6)]['info'](_0x173860(0x209),_0x4347ca),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['removePerBreakpointQuota'](_0x4347ca['id']),this[_0x173860(0x1bd)][_0x173860(0x199)](_0x4347ca['id']),delete this[_0x173860(0x1fd)][_0x4347ca['id']],_0x1333a2&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['clear'](_0x4347ca,_0x3f32ee=>{const _0x5d0565=_0x173860;if(_0x3f32ee)this[_0x5d0565(0x1e6)][_0x5d0565(0x1a2)](_0x3f32ee);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x590112,_0x506267){const _0x500d49=a17_0x565824,_0x37cd9a=this;_0x37cd9a['logger'][_0x500d49(0x1dd)](_0x500d49(0x1cb),_0x590112);if(!_0x37cd9a[_0x500d49(0x230)]['allowExpressions']&&(_0x590112[_0x500d49(0x1ca)]||_0x590112['expressions'])){_0x37cd9a[_0x500d49(0x1e6)][_0x500d49(0x1a2)](utils_1[_0x500d49(0x233)][_0x500d49(0x1e1)][_0x500d49(0x1f6)]||''),_0x590112['status']=new status_message_1[(_0x500d49(0x219))](status_message_1['StatusMessage']['UNSPECIFIED'],utils_1['errors']['ALLOW_EXPRESSIONS_MESSAGE'],!![]),setImmediate(()=>{const _0x410610=_0x500d49;_0x506267(utils_1[_0x410610(0x233)][_0x410610(0x1e1)]);});return;}if((0x0,utils_1[_0x500d49(0x1ef)])(process[_0x500d49(0x25a)],_0x500d49(0x19e))){const _0x1ff92b=utils_1[_0x500d49(0x233)][_0x500d49(0x1ee)];_0x37cd9a[_0x500d49(0x1e6)][_0x500d49(0x1a2)](_0x1ff92b),_0x590112[_0x500d49(0x1ed)]=new status_message_1[(_0x500d49(0x219))](status_message_1[_0x500d49(0x219)][_0x500d49(0x1d6)],_0x1ff92b,!![]),setImmediate(()=>{_0x506267(_0x1ff92b);});return;}const _0x4ec1b5=_0x590112['createTime']?Number(_0x590112['createTime'][_0x500d49(0x1de)]):Date[_0x500d49(0x214)]()/0x3e8,_0xe9db35=_0x590112['expirationSeconds']||_0x37cd9a[_0x500d49(0x230)][_0x500d49(0x18c)];_0x590112[_0x500d49(0x222)]=_0x4ec1b5+_0xe9db35,_0x590112[_0x500d49(0x272)]?.[_0x500d49(0x1f0)]&&(_0x590112[_0x500d49(0x272)][_0x500d49(0x1f0)]=path['normalize'](_0x590112['location'][_0x500d49(0x1f0)]),path['sep']===path[_0x500d49(0x24b)][_0x500d49(0x253)]&&(_0x590112[_0x500d49(0x272)][_0x500d49(0x1f0)]=_0x590112[_0x500d49(0x272)][_0x500d49(0x1f0)][_0x500d49(0x217)]('\x5c')[_0x500d49(0x1bb)](path['sep']))),__classPrivateFieldGet(_0x37cd9a,_Debuglet_v8debug,'f')[_0x500d49(0x1c7)](_0x590112,_0x12a1e7=>{const _0x39c46a=_0x500d49;if(_0x12a1e7){_0x506267(_0x12a1e7);return;}_0x37cd9a['logger']['info'](_0x39c46a(0x23a),_0x590112),_0x37cd9a[_0x39c46a(0x1fd)][_0x590112['id']]=_0x590112,_0x590112[_0x39c46a(0x1d3)]===_0x39c46a(0x211)?__classPrivateFieldGet(_0x37cd9a,_Debuglet_v8debug,'f')[_0x39c46a(0x25e)](_0x590112,(_0x4305e7,_0xb937bd)=>{const _0x1c1ed1=_0x39c46a,_0x53ca14=_0xb937bd[_0x1c1ed1(0x203)](_0x593e0a=>__classPrivateFieldGet(_0x37cd9a,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1c1ed1(0x1ff)](_0x37cd9a,_0x593e0a)),_0xde2730=(0x0,format_1[_0x1c1ed1(0x23d)])(_0x4305e7,_0x53ca14),_0x46be37=_0x1c1ed1(0x216)+(__classPrivateFieldGet(_0x37cd9a,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0xde2730)||_0xde2730),_0x2be811=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1c1ed1(0x1e4)](_0x46be37,_0x590112['id']);if(_0x2be811){const _0x20cc81=_0x2be811['message'],_0x3da298=_0x2be811[_0x1c1ed1(0x24e)];let _0x4f9d81,_0x204d66;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1c1ed1(0x1fb)]()&&!_0x3da298&&(_0x4f9d81=_0x1c1ed1(0x216)+_0x4305e7,_0x204d66=_0x53ca14);_0x37cd9a['pipingManager'][_0x1c1ed1(0x19f)](_0x37cd9a['debuggee'],_0x590112['id'],_0x20cc81,_0x590112[_0x1c1ed1(0x279)],_0x4f9d81,_0x204d66);if(_0x3da298)__classPrivateFieldGet(_0x37cd9a,_Debuglet_v8debug,'f')?.[_0x1c1ed1(0x269)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x5d6ff7=_0x1c1ed1;__classPrivateFieldGet(_0x37cd9a,_Debuglet_v8debug,'f')?.[_0x5d6ff7(0x27c)](),__classPrivateFieldSet(_0x37cd9a,_Debuglet_nextEnableTimeout,null,'f');},_0x37cd9a[_0x1c1ed1(0x230)][_0x1c1ed1(0x1e3)]['quotaRecoverySeconds']*0x3e8),'f');else _0x20cc81?.[_0x1c1ed1(0x1be)]===0x0&&__classPrivateFieldGet(_0x37cd9a,_Debuglet_v8debug,'f')?.[_0x1c1ed1(0x269)]();}},()=>{return __classPrivateFieldGet(_0x37cd9a,_Debuglet_completedBreakpointMap,'f')[_0x590112['id']];},_0x5ab4b3=>{const _0x392c45=_0x39c46a;if(_0x5ab4b3){_0x37cd9a[_0x392c45(0x1e6)]['error'](_0x5ab4b3),_0x506267(_0x5ab4b3);return;}}):__classPrivateFieldGet(_0x37cd9a,_Debuglet_v8debug,'f')[_0x39c46a(0x190)](_0x590112,_0x582177=>{const _0x33799b=_0x39c46a;if(_0x582177){setImmediate(()=>{const _0x391b5a=a17_0xa9ab;_0x37cd9a['logger'][_0x391b5a(0x1a2)](_0x582177),_0x506267(_0x582177);});return;}_0x37cd9a[_0x33799b(0x1e6)][_0x33799b(0x1dd)](_0x33799b(0x215),_0x590112),__classPrivateFieldGet(_0x37cd9a,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x33799b(0x1ff)](_0x37cd9a,_0x590112,__classPrivateFieldGet(_0x37cd9a,_Debuglet_v8debug,'f')[_0x33799b(0x182)](_0x590112['id'])<=0x0);}),__classPrivateFieldGet(_0x37cd9a,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x39c46a(0x1ff)](_0x37cd9a,_0x590112);}),this[_0x500d49(0x1c2)]('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x34c1,_0x3d9217,_0x5c132d=!![]){const _0x3f67ec=a17_0x565824,_0x1928e6=this;if(_0x34c1[_0x3f67ec(0x1ed)]&&_0x34c1[_0x3f67ec(0x1ed)]['isError']){let _0xaa43a6=_0x34c1[_0x3f67ec(0x1ed)]?.[_0x3f67ec(0x1f6)]?.[_0x3f67ec(0x23d)]||'';_0x34c1[_0x3f67ec(0x1ed)]?.[_0x3f67ec(0x1f6)]?.[_0x3f67ec(0x228)]&&(_0xaa43a6+=':\x20'+_0x34c1[_0x3f67ec(0x1ed)]?.[_0x3f67ec(0x1f6)]?.['parameters'][_0x3f67ec(0x24f)]()),_0x1928e6[_0x3f67ec(0x1e6)]['warn'](_0x3f67ec(0x27a)+_0x34c1+_0x3f67ec(0x20c)+_0xaa43a6);}else _0x1928e6[_0x3f67ec(0x1e6)][_0x3f67ec(0x1dd)](_0x3f67ec(0x1b0),_0x34c1);_0x3d9217&&(__classPrivateFieldGet(_0x1928e6,_Debuglet_completedBreakpointMap,'f')[_0x34c1['id']]=!![],__classPrivateFieldGet(_0x1928e6,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3f67ec(0x1ff)](_0x1928e6,_0x34c1,_0x5c132d)),__classPrivateFieldGet(_0x1928e6,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x1928e6[_0x3f67ec(0x21d)],extend(!![],{},_0x34c1));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x21e43f){const _0x232823=a17_0x565824,_0x54b2d0=this;_0x54b2d0[_0x232823(0x1e6)]['debug']('reporting\x20breakpoint\x20'+_0x21e43f+'\x20accepted\x20by\x20agent');const _0x381a07=extend(!![],{},_0x21e43f);_0x381a07[_0x232823(0x22a)]=![],_0x381a07[_0x232823(0x1ed)]=new status_message_1['StatusMessage'](status_message_1[_0x232823(0x219)]['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(_0x54b2d0,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x54b2d0[_0x232823(0x21d)],_0x381a07);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x5560c0){const _0x48c856=a17_0x565824,_0x438c24=this;this[_0x48c856(0x1e6)][_0x48c856(0x1dd)]('rejecting\x20breakpoint',_0x5560c0),__classPrivateFieldGet(_0x438c24,_Debuglet_completedBreakpointMap,'f')[_0x5560c0['id']]=!![],__classPrivateFieldGet(_0x438c24,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](_0x438c24[_0x48c856(0x21d)],_0x5560c0);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x4d7a4a){const _0x1eb8c9=a17_0x565824,_0x279b38=this;_0x4d7a4a[_0x1eb8c9(0x1ae)](_0x3e350d=>{const _0x510692=_0x1eb8c9;_0x279b38[_0x510692(0x1e6)][_0x510692(0x1dd)](_0x510692(0x1c0),_0x3e350d),__classPrivateFieldGet(_0x279b38,_Debuglet_completedBreakpointMap,'f')[_0x3e350d['id']]=!![],__classPrivateFieldGet(_0x279b38,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x510692(0x1ff)](_0x279b38,_0x3e350d,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x1962ce=a17_0x565824,_0x5ac14f=Date[_0x1962ce(0x214)]()/0x3e8;return Object[_0x1962ce(0x1a5)](this[_0x1962ce(0x1fd)])[_0x1962ce(0x25d)](_0x13c41a=>_0x13c41a[_0x1962ce(0x222)]?_0x13c41a[_0x1962ce(0x222)]<_0x5ac14f:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x5d4b99){const _0x266cc2=a17_0x565824,_0xf53b6f=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x5d4b99),_0x2c75e1=_0xf53b6f[_0x266cc2(0x245)],_0x1bb236=_0xf53b6f[_0x266cc2(0x273)];_0x2c75e1&&_0x2c75e1[_0x266cc2(0x1be)]&&this[_0x266cc2(0x1e6)][_0x266cc2(0x196)](_0x266cc2(0x191),_0x2c75e1[_0x266cc2(0x1bb)]('\x0a\x09')),_0x1bb236&&_0x1bb236[_0x266cc2(0x1be)]&&this[_0x266cc2(0x1e6)][_0x266cc2(0x196)](_0x266cc2(0x17e),_0x1bb236['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1['PatternsBlocklistManager'](_0x2c75e1,_0x1bb236,this[_0x266cc2(0x230)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0xc86900){const _0x1bd0ac=a17_0x565824,_0xdc08c5=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1bd0ac(0x1b2)](_0xc86900);_0xdc08c5?.[_0x1bd0ac(0x1be)]&&this['logger'][_0x1bd0ac(0x196)]('Redactions:\x20\x0a\x09',_0xdc08c5[_0x1bd0ac(0x203)](_0x440329=>_0x1bd0ac(0x239)+_0x440329[_0x1bd0ac(0x22f)]+_0x1bd0ac(0x20a)+_0x440329[_0x1bd0ac(0x1d2)]+_0x1bd0ac(0x26c)+_0x440329[_0x1bd0ac(0x21a)]+_0x1bd0ac(0x1f4)+_0x440329[_0x1bd0ac(0x263)])[_0x1bd0ac(0x1bb)]('\x0a\x09'));if((0x0,utils_1[_0x1bd0ac(0x1ef)])(process[_0x1bd0ac(0x25a)],_0x1bd0ac(0x212))){const {RedactionManagerRE2JS:_0x330e4b}=await Promise['resolve']()[_0x1bd0ac(0x1c1)](()=>require(_0x1bd0ac(0x25f)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x330e4b(this[_0x1bd0ac(0x1e6)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['setPatterns'](_0xdc08c5);}},_Debuglet_stringify=function _Debuglet_stringify(_0x2a303d){const _0x4e2ac8=a17_0x565824;if(!_0x2a303d)return JSON[_0x4e2ac8(0x1d0)](_0x2a303d,(_0x47b61a,_0x5abe9a)=>_0x5abe9a===undefined?_0x4e2ac8(0x276):_0x5abe9a);if(Array[_0x4e2ac8(0x193)](_0x2a303d)){const _0x1c6912=[];for(const _0x349dec of _0x2a303d){_0x1c6912[_0x4e2ac8(0x20d)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x4e2ac8(0x1ff)](this,_0x349dec));}return'['+_0x1c6912[_0x4e2ac8(0x1bb)](',\x20')+']';}if(typeof _0x2a303d===_0x4e2ac8(0x278)){const _0x559359=Object[_0x4e2ac8(0x226)](_0x2a303d)['map'](([_0x188a45,_0x1015af])=>{const _0x9fff40=_0x4e2ac8,_0xf81ab3=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['shouldRedactByName'](_0x188a45)?redaction_manager_1[_0x9fff40(0x1b8)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x1015af);return JSON[_0x9fff40(0x1d0)](_0x188a45)+':\x20'+_0xf81ab3;})[_0x4e2ac8(0x1bb)](',\x20');return'{'+_0x559359+'}';}return JSON['stringify'](_0x2a303d);});
|
|
1
|
+
const a17_0x51156b=a17_0x15d8;(function(_0x4817f1,_0x3de4f9){const _0x386764=a17_0x15d8,_0x26d511=_0x4817f1();while(!![]){try{const _0xdfbc1=parseInt(_0x386764(0x1b2))/0x1+-parseInt(_0x386764(0x151))/0x2+-parseInt(_0x386764(0x203))/0x3*(parseInt(_0x386764(0x20d))/0x4)+parseInt(_0x386764(0x1d4))/0x5*(-parseInt(_0x386764(0x1bc))/0x6)+-parseInt(_0x386764(0x1ac))/0x7+-parseInt(_0x386764(0x1f1))/0x8+parseInt(_0x386764(0x24e))/0x9;if(_0xdfbc1===_0x3de4f9)break;else _0x26d511['push'](_0x26d511['shift']());}catch(_0x11676e){_0x26d511['push'](_0x26d511['shift']());}}}(a17_0x1993,0xc557b));function a17_0x1993(){const _0x5035d0=['removeBreakpoint','location','stopped','events','pid','started','\x0a\x09condition:\x20','create','__classPrivateFieldSet','pattern','mainModule','expressions','fetcherActive','Malformed\x20source-context.json\x20file:\x20','promise','length','warn','toString','Blacklist:\x20\x0a\x09','object','isReadyManager','utf8','./configuration-provider','breakpoints','debuggee','\x09successfully\x20added\x20breakpoint','name','Controller','wait','isOutOfQuota','FileIndex','expirationSeconds','forEach','1813434NlrhQS','then','./piping-manager','stdErrThreshold','.\x20Error:\x20','existsSync','887386ebjMyT','quotaRecoverySeconds','\x09adding\x20breakpoint','logLevel','logger','Failed\x20to\x20register\x20debuggee:\x20','LOG','Private\x20method\x20is\x20not\x20writable','./agent-logger','clientConnectionTimeoutInSeconds','6828PbYzKQ','\x09remove\x20breakpoint','isReady','Result:\x20\x0a','debuglet','caseInsensitive','function','fetchBreakpointsOnce','createLogger','./v8/debugapi','registered','expirationTime','Error\x20scanning\x20the\x20filesystem.','promisify','prettyError','concat','\x20completed.','backoff','APP_ONLY','EventEmitter','createPerBreakpointConditionQuota','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','isArray','agentLog','3340VKiBPi','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','./config','SIGINT','GAE-','set','kill','packageInfo','Registering\x20debuggee','isError','./debuglet-helpers/normalizeConfig','parameters','./debuglet-helpers/mapSubtract','pipingManager','satisfies','name:\x20','./io/sourcemapper','action','description','StatusMessage','AGENT_LOG_FILE','\x09Got\x20error\x20from\x20server.\x20status:\x20','default','setBlocklistManager','Starting\x20debuggee','5.2\x20||\x20<4','breakpoints_fetched','readFile','UNSPECIFIED','87176ygKTgO','maxRequestRetryDelaySeconds','breakpointUpdateIntervalSec','format','createTime','selectStats','getSourceContextFromFile','entries','join','unref','listBreakpoints','removePerBreakpointQuota','LOGPOINT:\x20','all','message','getBlocklist','filter','blacklist','3OtOYee','../types/stackdriver','REDACTED_PLACEHOLDER','isRunning','error','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','enqueueBreakpointUpdate','Found\x20breakpoint\x20with\x20invalid\x20action:','Breakpoint','resolve','633044gVohtR','setIgnoreQuota','info','initError','pipeLogs','seconds','push','createDebuggee','./util/utils','apply','__esModule','ALLOW_EXPRESSIONS_MESSAGE','GAE_MINOR_VERSION','isDisabled','once','PatternsBlocklistManager','deregister','Active\x20Breakpoints:\x20\x0a','undefined','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','extraPaths','sourceContext','enable','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','QuotaManager','Fetching\x20breakpoints','\x20to\x20','disable','Failed\x20to\x20re-register\x20debuggee\x20','emit','workingDirectory','(((.+)+)+)+$','stringify','Disabled\x20by\x20the\x20server','SIGTERM','isFinalState','findFiles','waitExpired','collectLogRequestId','now','internal','remainingHits','log','__classPrivateFieldGet','hash','constructor','has','mapFiles','agentLogTargetDir','PipingManager','javascriptFileExtensions','split','mapSubtract','shouldRedactByName','isRedactionActive','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','errors','\x20(type:\x20','promiseResolve','Working\x20directory:\x20','globalPipingStatus','replace','map','activeBreakpointMap','defineProperty','13169898IRPQFl','BREAKPOINT_ACTION_MESSAGE','value','inspect','debug','Redactions:\x20\x0a\x09','707978Iihoth','redactionEnabled','\x09Notifying\x20server\x20about\x20error\x20for\x20','logMainConfigParams','reporting\x20breakpoint\x20','version','breakpoint_set','Debuglet','Stopping\x20Debuglet','readFullVersion','NODE_VERSION_MESSAGE','\x0a\x09expressions:\x20','normalizeConfig','quota','Initializing\x20Node.js\x20agent\x20version:\x20','assert','values','./debuglet-helpers/format','./quota-manager','agentLogMaxFileCount','call','Debuglet\x20not\x20running','rejecting\x20breakpoint','getMaxSnapshotBufferSize','\x0a\x09createdTime:\x20','):\x20pattern:\x20','filename','setPatterns','config','ConfigurationProvider','Switching\x20globalPiping\x20status\x20from\x20','path','replaceRedactedByValue','addAndPipeLog','Blacklist\x20Exceptions:\x20\x0a\x09','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','get','normalize','breakpointExpirationSec','CAPTURE','status','Breakpoint\x20hit!:\x20','condition','Scheduling\x20registration\x20in\x20','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','capture','add','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','scan','beforeExit','bind','CachedPromise','./reduction/redaction-manager-re2js','sep','./reduction/redaction-manager','sendAgentLogsToServer','search','SIGQUIT'];a17_0x1993=function(){return _0x5035d0;};return a17_0x1993();}function a17_0x15d8(_0x4e1bcf,_0x5564c9){const _0x51344f=a17_0x1993();return a17_0x15d8=function(_0x34b8a8,_0x3a87d5){_0x34b8a8=_0x34b8a8-0x14c;let _0x19932b=_0x51344f[_0x34b8a8];return _0x19932b;},a17_0x15d8(_0x4e1bcf,_0x5564c9);}const a17_0x3a87d5=(function(){let _0x4b95b6=!![];return function(_0x114d7b,_0xd2b9af){const _0x4acce5=_0x4b95b6?function(){const _0x1d4796=a17_0x15d8;if(_0xd2b9af){const _0x19f3bf=_0xd2b9af[_0x1d4796(0x216)](_0x114d7b,arguments);return _0xd2b9af=null,_0x19f3bf;}}:function(){};return _0x4b95b6=![],_0x4acce5;};}()),a17_0x34b8a8=a17_0x3a87d5(this,function(){const _0x3dfda2=a17_0x15d8;return a17_0x34b8a8[_0x3dfda2(0x19c)]()[_0x3dfda2(0x189)](_0x3dfda2(0x22c))[_0x3dfda2(0x19c)]()[_0x3dfda2(0x23a)](a17_0x34b8a8)[_0x3dfda2(0x189)](_0x3dfda2(0x22c));});a17_0x34b8a8();'use strict';var __classPrivateFieldSet=this&&this[a17_0x51156b(0x193)]||function(_0x5b2792,_0x3603b7,_0x14ef79,_0x49bb3a,_0x401692){const _0x3f35d1=a17_0x51156b;if(_0x49bb3a==='m')throw new TypeError(_0x3f35d1(0x1b9));if(_0x49bb3a==='a'&&!_0x401692)throw new TypeError(_0x3f35d1(0x174));if(typeof _0x3603b7===_0x3f35d1(0x1c2)?_0x5b2792!==_0x3603b7||!_0x401692:!_0x3603b7[_0x3f35d1(0x23b)](_0x5b2792))throw new TypeError(_0x3f35d1(0x17d));return _0x49bb3a==='a'?_0x401692['call'](_0x5b2792,_0x14ef79):_0x401692?_0x401692[_0x3f35d1(0x14d)]=_0x14ef79:_0x3603b7['set'](_0x5b2792,_0x14ef79),_0x14ef79;},__classPrivateFieldGet=this&&this[a17_0x51156b(0x238)]||function(_0x54904a,_0x2ad203,_0x44857c,_0x11fef2){const _0x13fd91=a17_0x51156b;if(_0x44857c==='a'&&!_0x11fef2)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter');if(typeof _0x2ad203===_0x13fd91(0x1c2)?_0x54904a!==_0x2ad203||!_0x11fef2:!_0x2ad203[_0x13fd91(0x23b)](_0x54904a))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x44857c==='m'?_0x11fef2:_0x44857c==='a'?_0x11fef2['call'](_0x54904a):_0x11fef2?_0x11fef2[_0x13fd91(0x14d)]:_0x2ad203[_0x13fd91(0x175)](_0x54904a);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_register_,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a17_0x51156b(0x24d)](exports,a17_0x51156b(0x217),{'value':!![]}),exports[a17_0x51156b(0x158)]=exports[a17_0x51156b(0x184)]=void 0x0;const assert=require(a17_0x51156b(0x160)),events_1=require(a17_0x51156b(0x18e)),extend=require('extend'),fs=require('fs'),path=require(a17_0x51156b(0x170)),util=require('util'),status_message_1=require('../client/stackdriver/status-message'),stackdriver_1=require(a17_0x51156b(0x204)),agent_logger_1=require(a17_0x51156b(0x1ba)),config_1=require(a17_0x51156b(0x1d6)),controller_1=require('./controller'),SourceMapper=require(a17_0x51156b(0x1e4)),debugapi=require(a17_0x51156b(0x1c5)),piping_manager_1=require(a17_0x51156b(0x1ae)),quota_manager_1=require(a17_0x51156b(0x163)),patterns_blocklist_manager_1=require('./blocklisting/patterns-blocklist-manager'),scanner_1=require('./io/scanner'),environment_metadata_1=require('./environment-metadata'),file_index_1=require('./io/file-index'),utils_1=require(a17_0x51156b(0x215)),redaction_manager_1=require(a17_0x51156b(0x187)),configuration_provider_1=require(a17_0x51156b(0x1a1)),normalizeConfig_1=require(a17_0x51156b(0x1de)),mapSubtract_1=require(a17_0x51156b(0x1e0)),format_1=require(a17_0x51156b(0x162)),createDebuggee_1=require('./debuglet-helpers/createDebuggee'),readFilep=util[a17_0x51156b(0x1c9)](fs[a17_0x51156b(0x1ef)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,formatBreakpoint=(_0x114367,_0x1eb51b)=>{const _0x569848=a17_0x51156b;let _0x2e4c88=_0x114367+util['format'](_0x569848(0x1d5),_0x1eb51b['id'],_0x1eb51b['action'],util['inspect'](_0x1eb51b[_0x569848(0x18c)]));if(_0x1eb51b[_0x569848(0x1f5)]){const _0x233b7f=Number(_0x1eb51b['createTime'][_0x569848(0x212)]),_0x4495f4=new Date(_0x233b7f*0x3e8);_0x2e4c88+=_0x569848(0x169)+_0x4495f4[_0x569848(0x19c)]();}return _0x1eb51b[_0x569848(0x17b)]&&(_0x2e4c88+=_0x569848(0x191)+util[_0x569848(0x14e)](_0x1eb51b[_0x569848(0x17b)])),_0x1eb51b[_0x569848(0x196)]&&(_0x2e4c88+=_0x569848(0x15c)+util[_0x569848(0x14e)](_0x1eb51b[_0x569848(0x196)])),_0x2e4c88;},formatBreakpoints=(_0x3987f3,_0x1b9b45)=>{const _0x272a11=a17_0x51156b;return _0x3987f3+Object['keys'](_0x1b9b45)[_0x272a11(0x24b)](_0x270ef6=>{return formatBreakpoint('',_0x1b9b45[_0x270ef6]);})['join']('\x0a');};class CachedPromise{constructor(){const _0x38b3a8=a17_0x51156b;this['promiseResolve']=null,this[_0x38b3a8(0x199)]=new Promise(_0x1eca74=>{const _0x3a2f0f=_0x38b3a8;this[_0x3a2f0f(0x247)]=_0x1eca74;});}[a17_0x51156b(0x175)](){const _0x3ec06e=a17_0x51156b;return this[_0x3ec06e(0x199)];}['resolve'](){const _0x3c4444=a17_0x51156b;this[_0x3c4444(0x247)]&&(this[_0x3c4444(0x247)](),this['promiseResolve']=null);}}exports[a17_0x51156b(0x184)]=CachedPromise;class IsReadyImpl{constructor(_0x1418d0){const _0x42cc78=a17_0x51156b;this[_0x42cc78(0x1c0)]=_0x1418d0;}[a17_0x51156b(0x1be)](){const _0x47519a=a17_0x51156b;return this[_0x47519a(0x1c0)][_0x47519a(0x1be)]();}}class Debuglet extends events_1[a17_0x51156b(0x1cf)]{constructor(_0x3899c1,_0x1cea40){const _0x4884b1=a17_0x51156b;super(),_Debuglet_instances[_0x4884b1(0x17f)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug['set'](this,void 0x0),_Debuglet_running[_0x4884b1(0x1d9)](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap[_0x4884b1(0x1d9)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x4884b1(0x1d9)](this,void 0x0),_Debuglet_breakpointFetched['set'](this,void 0x0),_Debuglet_debuggeeRegistered[_0x4884b1(0x1d9)](this,void 0x0),_Debuglet_nextEnableTimeout['set'](this,null),this[_0x4884b1(0x19f)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x4884b1(0x1d9)](this,void 0x0),_Debuglet_scanner[_0x4884b1(0x1d9)](this,void 0x0),_Debuglet_quotaManager[_0x4884b1(0x1d9)](this,void 0x0),_Debuglet_blocklistManager[_0x4884b1(0x1d9)](this,void 0x0),_Debuglet_redactionManager[_0x4884b1(0x1d9)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),this['config']=(0x0,normalizeConfig_1[_0x4884b1(0x15d)])(_0x1cea40),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x4884b1(0x16e))](this['config']),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x3899c1,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this['logger']=agent_logger_1[_0x4884b1(0x1ea)][_0x4884b1(0x1c4)](this[_0x4884b1(0x16d)][_0x4884b1(0x1d3)][_0x4884b1(0x23d)],this['config'][_0x4884b1(0x1d3)]['agentLogMaxFileSizeMb'],this['config']['agentLog'][_0x4884b1(0x164)],this[_0x4884b1(0x16d)][_0x4884b1(0x1d3)]['agentLogLevel'],this['config'][_0x4884b1(0x1d3)][_0x4884b1(0x1af)]),(0x0,config_1[_0x4884b1(0x154)])(this[_0x4884b1(0x16d)],this['logger']),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0x4884b1(0x1b6)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x4884b1(0x1a6))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1['Scanner'](this[_0x4884b1(0x1b6)]),'f'),this[_0x4884b1(0x1a3)]=null,this[_0x4884b1(0x24c)]={},__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[(_0x4884b1(0x225))](this[_0x4884b1(0x1b6)],this[_0x4884b1(0x16d)]),'f'),this[_0x4884b1(0x1e1)]=new piping_manager_1[(_0x4884b1(0x23e))](_0x4884b1(0x1ce),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x4884b1(0x16d)]);}async[a17_0x51156b(0x231)](_0x287969,_0x1bf041){const _0x5657e5=a17_0x51156b,_0x255dba=_0x287969[_0x5657e5(0x22b)],_0x38f40d=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x5657e5(0x181)](_0x255dba,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x287969[_0x5657e5(0x23f)][_0x5657e5(0x1cb)]('js.map')),_0x1bf041,_0x287969[_0x5657e5(0x221)]),_0x1340dd=_0x38f40d[_0x5657e5(0x1f6)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x287969[_0x5657e5(0x23f)])),_0x5a23c7=file_index_1[_0x5657e5(0x1a9)]['fromFileStats'](_0x1340dd),_0x40728a=_0x38f40d['selectFiles'](/.js.map$/,process['cwd']()),_0x55023f=_0x38f40d[_0x5657e5(0x245)]();return{'mapFiles':_0x40728a,'errors':_0x55023f,'jsFileIndex':_0x5a23c7,'hash':_0x38f40d[_0x5657e5(0x239)]};}async['start'](){const _0x15581a=a17_0x51156b,_0x53b984=this,_0x5e80ac=_0x53b984['config'][_0x15581a(0x22b)];if(!_0x53b984[_0x15581a(0x16d)]['allowRootAsWorkingDirectory']&&path[_0x15581a(0x1f9)](_0x5e80ac,'..')===_0x5e80ac){const _0x45aa57='The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20'+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x15581a(0x224)+'do\x20this.';_0x53b984[_0x15581a(0x1b6)]['error'](_0x45aa57),_0x53b984['emit'](_0x15581a(0x210),new Error(_0x45aa57));return;}let _0x11ebea;process['env']['GAE_MINOR_VERSION']&&(_0x11ebea=_0x15581a(0x1d8)+process['env'][_0x15581a(0x219)]);let _0x2fe816,_0x349351=_0x11ebea||'';try{_0x2fe816=await this[_0x15581a(0x231)](_0x53b984[_0x15581a(0x16d)],_0x11ebea),_0x2fe816['errors']['forEach'](_0x53b984[_0x15581a(0x1b6)]['warn']);}catch(_0x22d939){_0x53b984['logger'][_0x15581a(0x207)](_0x15581a(0x1c8),_0x22d939),_0x53b984[_0x15581a(0x22a)]('initError',_0x22d939);return;}try{const _0x4e97c2=await SourceMapper[_0x15581a(0x192)](_0x53b984['logger'],_0x2fe816[_0x15581a(0x23c)],_0x53b984[_0x15581a(0x16d)][_0x15581a(0x235)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(_0x53b984,_Debuglet_v8debug,debugapi[_0x15581a(0x192)](_0x53b984[_0x15581a(0x1b6)],_0x53b984[_0x15581a(0x16d)],_0x2fe816['jsFileIndex'],_0x4e97c2,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x349351=_0x11ebea||_0x2fe816[_0x15581a(0x239)];}catch(_0x354abb){_0x53b984['logger'][_0x15581a(0x207)]('Error\x20processing\x20the\x20sourcemaps.',_0x354abb),_0x53b984['logger']['info'](JSON['stringify'](_0x354abb)),_0x53b984['emit'](_0x15581a(0x210),_0x354abb);}_0x53b984[_0x15581a(0x1b6)]['info']('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x349351);const _0x15ac24=(0x0,utils_1[_0x15581a(0x15a)])(_0x53b984[_0x15581a(0x1b6)])[_0x15581a(0x24a)]('\x0a','');_0x53b984['logger'][_0x15581a(0x20f)](_0x15581a(0x15f)+_0x15ac24);let _0x4cf279;try{_0x4cf279=_0x53b984[_0x15581a(0x16d)][_0x15581a(0x222)]||await _a[_0x15581a(0x1f7)]();}catch(_0x2167f7){}this[_0x15581a(0x16d)][_0x15581a(0x17e)]&&__classPrivateFieldGet(this,_Debuglet_configProvider,'f')[_0x15581a(0x168)]()===0x0&&(0x0,utils_1[_0x15581a(0x1e2)])(process[_0x15581a(0x156)],'>=10\x20<10.15.3\x20||\x20>=11\x20<11.7\x20||\x20>=12')&&_0x53b984[_0x15581a(0x1b6)][_0x15581a(0x19b)](utils_1[_0x15581a(0x245)]['NODE_10_CIRC_REF_MESSAGE']),_0x53b984['logger']['info'](_0x15581a(0x208)+process[_0x15581a(0x195)]?.[_0x15581a(0x16b)]),_0x53b984[_0x15581a(0x1b6)][_0x15581a(0x14f)](_0x15581a(0x248)+_0x5e80ac),_0x53b984[_0x15581a(0x1b6)][_0x15581a(0x14f)](_0x15581a(0x1ec)),__classPrivateFieldSet(_0x53b984,_Debuglet_running,!![],'f'),_0x53b984[_0x15581a(0x1a3)]=(0x0,createDebuggee_1[_0x15581a(0x214)])(_0x349351,_0x53b984[_0x15581a(0x16d)],_0x4cf279,__classPrivateFieldGet(_0x53b984,_Debuglet_debug,'f')[_0x15581a(0x1db)],_0x15ac24,_0x53b984[_0x15581a(0x1b6)],__classPrivateFieldGet(_0x53b984,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(_0x53b984,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x15581a(0x165)](_0x53b984),__classPrivateFieldGet(_0x53b984,_Debuglet_instances,'m',_Debuglet_register_)['call'](_0x53b984),_0x53b984['emit'](_0x15581a(0x190));}[a17_0x51156b(0x1be)](){const _0x4c7b17=a17_0x51156b;if(Date[_0x4c7b17(0x234)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x4c7b17(0x20c)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4c7b17(0x175)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x4c7b17(0x175)]()['then'](()=>{const _0x45c589=_0x4c7b17;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x45c589(0x165)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();}}static async['getSourceContextFromFile'](){const _0x1dea8b=a17_0x51156b,_0x4fe3b4=await readFilep('source-context.json',_0x1dea8b(0x1a0));try{return JSON['parse'](_0x4fe3b4);}catch(_0x4a1661){throw new Error(_0x1dea8b(0x198)+_0x4a1661);}}[a17_0x51156b(0x206)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0x5b1e2b=a17_0x51156b;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x5b1e2b(0x1b6)][_0x5b1e2b(0x14f)](_0x5b1e2b(0x180));return;}this[_0x5b1e2b(0x1b6)]['debug'](_0x5b1e2b(0x159)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.['clearTransmissionTimeout'](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x5b1e2b(0x22a)](_0x5b1e2b(0x18d));}}exports[a17_0x51156b(0x158)]=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(_0x2c5516){const _0x1da059=a17_0x51156b;return new RegExp(_0x2c5516['map'](_0x2621d1=>_0x2621d1+'$')[_0x1da059(0x1f9)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x3854f8=a17_0x51156b,_0xae3d23=[_0x3854f8(0x22f),_0x3854f8(0x1d7),_0x3854f8(0x18a)];_0xae3d23[_0x3854f8(0x1ab)](_0x14832c=>{const _0x4ce94c=_0x3854f8;process[_0x4ce94c(0x21b)](_0x14832c,()=>{const _0x47e203=_0x4ce94c;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x47e203(0x21d)](this[_0x47e203(0x1a3)],()=>{const _0x34b95e=_0x47e203;process[_0x34b95e(0x1da)](process[_0x34b95e(0x18f)],_0x14832c);});});}),process[_0x3854f8(0x21b)](_0x3854f8(0x182),()=>{const _0x58774f=_0x3854f8;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x58774f(0x21d)](this[_0x58774f(0x1a3)],()=>{});});},_Debuglet_register_=function _Debuglet_register_(){const _0x5cd4e3=a17_0x51156b;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x5cd4e3(0x165)](this,0x0);},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x260f79){const _0x45a158=a17_0x51156b,_0x15d8aa=this;_0x15d8aa[_0x45a158(0x1b6)][_0x45a158(0x14f)](_0x260f79?_0x45a158(0x17c)+_0x260f79+'s':_0x45a158(0x1dc));function _0x3de2c5(_0x17911a,_0x4c9b86,_0x5076b4=![]){const _0x1c4358=_0x45a158,_0xafabac=_0x15d8aa['debuggee']?.['id']?_0x1c4358(0x229)+_0x15d8aa[_0x1c4358(0x1a3)]?.['id']+':\x20'+(0x0,utils_1[_0x1c4358(0x1ca)])(_0x17911a):_0x1c4358(0x1b7)+(0x0,utils_1['prettyError'])(_0x17911a);_0x15d8aa[_0x1c4358(0x1b6)][_0x1c4358(0x207)](_0xafabac),_0x4c9b86&&!_0x5076b4&&_0x15d8aa[_0x1c4358(0x1b6)][_0x1c4358(0x207)](_0x1c4358(0x1bf),_0x4c9b86),__classPrivateFieldGet(_0x15d8aa,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x1c4358(0x165)](_0x15d8aa,(0x0,utils_1[_0x1c4358(0x1cd)])(_0x260f79,_0x15d8aa[_0x1c4358(0x16d)][_0x1c4358(0x235)][_0x1c4358(0x1f2)]));}setTimeout(()=>{const _0x5f589b=_0x45a158;if(!__classPrivateFieldGet(_0x15d8aa,_Debuglet_running,'f')){_0x3de2c5(new Error(_0x5f589b(0x166)));return;}__classPrivateFieldGet(_0x15d8aa,_Debuglet_controller,'f')['register'](_0x15d8aa[_0x5f589b(0x1a3)],(_0x24c5ee,_0x287797,_0x57abdf=![])=>{const _0x102ae8=_0x5f589b;if(_0x24c5ee){_0x3de2c5(_0x24c5ee,_0x287797,_0x57abdf);return;}if(_0x287797['debuggee'][_0x102ae8(0x21a)]){_0x3de2c5(new Error(_0x102ae8(0x22e))),_0x15d8aa[_0x102ae8(0x22a)]('remotelyDisabled');return;}const _0x19a254=_0x287797[_0x102ae8(0x1a3)]['id'];_0x15d8aa[_0x102ae8(0x1b6)][_0x102ae8(0x20f)]('Registered\x20as\x20debuggee:\x20'+_0x19a254),_0x15d8aa[_0x102ae8(0x1a3)]['id']=_0x19a254;const _0x116fc8=[__classPrivateFieldGet(_0x15d8aa,_Debuglet_instances,'m',_Debuglet_getBlocklist)['bind'](_0x15d8aa)(_0x15d8aa[_0x102ae8(0x1a3)]['id'])];_0x15d8aa[_0x102ae8(0x16d)][_0x102ae8(0x152)]&&_0x116fc8[_0x102ae8(0x213)](__classPrivateFieldGet(_0x15d8aa,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x102ae8(0x183)](_0x15d8aa)(_0x15d8aa['debuggee']['id'])),Promise[_0x102ae8(0x1fe)](_0x116fc8)[_0x102ae8(0x1ad)](()=>{const _0x97a558=_0x102ae8;_0x15d8aa[_0x97a558(0x22a)](_0x97a558(0x1c6),_0x19a254),__classPrivateFieldGet(_0x15d8aa,_Debuglet_debuggeeRegistered,'f')[_0x97a558(0x20c)](),__classPrivateFieldGet(_0x15d8aa,_Debuglet_v8debug,'f')?.[_0x97a558(0x1eb)](__classPrivateFieldGet(_0x15d8aa,_Debuglet_blocklistManager,'f')),!_0x15d8aa[_0x97a558(0x197)]&&__classPrivateFieldGet(_0x15d8aa,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x97a558(0x165)](_0x15d8aa,0x0,this['config'][_0x97a558(0x1c3)],_0x287797?.[_0x97a558(0x1bb)]);},_0x38b0bc=>{_0x3de2c5(_0x38b0bc);});});},_0x260f79*0x3e8)[_0x45a158(0x1fa)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x206534,_0x4517a6,_0x49cbe6){const _0x2482c5=this;!_0x4517a6&&(_0x2482c5['fetcherActive']=!![]),setTimeout(()=>{const _0x3b7535=a17_0x15d8;if(!__classPrivateFieldGet(_0x2482c5,_Debuglet_running,'f'))return;!_0x4517a6&&assert(_0x2482c5[_0x3b7535(0x197)]),_0x2482c5[_0x3b7535(0x1b6)]['debug'](_0x3b7535(0x226)),__classPrivateFieldGet(_0x2482c5,_Debuglet_controller,'f')[_0x3b7535(0x1fb)](_0x2482c5[_0x3b7535(0x1a3)],(_0x157047,_0x299c0f,_0x3c3a03)=>{const _0x877f5b=_0x3b7535;if(_0x299c0f?.['status']===0x194){_0x2482c5[_0x877f5b(0x1b6)][_0x877f5b(0x20f)]('Debuggee\x20is\x20not\x20registered'),_0x2482c5[_0x877f5b(0x197)]=![],__classPrivateFieldGet(_0x2482c5,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x877f5b(0x165)](_0x2482c5),__classPrivateFieldGet(_0x2482c5,_Debuglet_instances,'m',_Debuglet_register_)[_0x877f5b(0x165)](_0x2482c5);return;}if(_0x157047){const _0x5f4e40=(0x0,utils_1[_0x877f5b(0x1cd)])(_0x206534,_0x2482c5[_0x877f5b(0x16d)][_0x877f5b(0x235)][_0x877f5b(0x1f2)]);_0x2482c5[_0x877f5b(0x1b6)][_0x877f5b(0x207)](_0x877f5b(0x1e9)+_0x299c0f?.[_0x877f5b(0x179)]+'.\x20message:\x20'+_0x157047[_0x877f5b(0x1ff)]+'.\x20Retrying\x20in\x20'+_0x5f4e40+'s'),__classPrivateFieldGet(_0x2482c5,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x877f5b(0x165)](_0x2482c5,_0x5f4e40,_0x4517a6,_0x49cbe6);return;}_0x2482c5[_0x877f5b(0x1b6)][_0x877f5b(0x14f)]('\x09'+_0x299c0f['status']+_0x877f5b(0x1cc));if(!_0x3c3a03){const _0x558a3c=_0x2482c5['config'][_0x877f5b(0x1f3)];_0x2482c5['logger']['error'](_0x877f5b(0x244)+_0x558a3c+'s'),__classPrivateFieldGet(_0x2482c5,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x877f5b(0x165)](_0x2482c5,_0x558a3c,_0x4517a6,_0x49cbe6);return;}if(_0x3c3a03[_0x877f5b(0x232)]){_0x2482c5[_0x877f5b(0x1b6)][_0x877f5b(0x20f)]('\x09Long\x20poll\x20completed.'),__classPrivateFieldGet(_0x2482c5,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x877f5b(0x165)](_0x2482c5,0x0,_0x4517a6,_0x49cbe6);return;}if(_0x3c3a03[_0x877f5b(0x211)]&&_0x3c3a03[_0x877f5b(0x211)]!=='NOT_SET'){const _0x4fe4b2=this[_0x877f5b(0x1e1)][_0x877f5b(0x249)];_0x4fe4b2!==_0x3c3a03[_0x877f5b(0x211)]&&(this['logger'][_0x877f5b(0x14f)](_0x877f5b(0x16f)+_0x4fe4b2+_0x877f5b(0x227)+_0x3c3a03[_0x877f5b(0x211)]),this[_0x877f5b(0x1e1)]['globalPipingStatus']=_0x3c3a03[_0x877f5b(0x211)]);}if(_0x3c3a03['collectAndSendLog']&&_0x3c3a03[_0x877f5b(0x233)]!==_0x2482c5['collectLogRequestId']){_0x2482c5[_0x877f5b(0x233)]=_0x3c3a03[_0x877f5b(0x233)];const _0x2bad95=_0x2482c5['config'][_0x877f5b(0x1d3)][_0x877f5b(0x23d)]&&path[_0x877f5b(0x1f9)](_0x2482c5[_0x877f5b(0x16d)][_0x877f5b(0x1d3)][_0x877f5b(0x23d)],agent_logger_1[_0x877f5b(0x1ea)][_0x877f5b(0x1e8)]);_0x2bad95&&fs[_0x877f5b(0x1b1)](_0x2bad95)?setTimeout(()=>__classPrivateFieldGet(_0x2482c5,_Debuglet_controller,'f')[_0x877f5b(0x188)](_0x2482c5['debuggee'],_0x3c3a03[_0x877f5b(0x233)],_0x2bad95)):_0x2482c5[_0x877f5b(0x1b6)][_0x877f5b(0x20f)](_0x877f5b(0x220)+_0x3c3a03['collectLogRequestId']+'\x20because\x20'+'logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits');}const _0x5af46f=(_0x3c3a03[_0x877f5b(0x1a2)]||[])[_0x877f5b(0x24b)](_0x4c9863=>new stackdriver_1[(_0x877f5b(0x20b))](_0x4c9863))[_0x877f5b(0x201)](_0x5c8a52=>{const _0x1be8b2=_0x877f5b,_0x1e9b19=_0x5c8a52['action']||_0x1be8b2(0x178);if(__classPrivateFieldGet(_0x2482c5,_Debuglet_completedBreakpointMap,'f')[_0x5c8a52['id']])return![];if(_0x1e9b19!==_0x1be8b2(0x178)&&_0x1e9b19!==_0x1be8b2(0x1b8))return _0x2482c5['logger'][_0x1be8b2(0x19b)](_0x1be8b2(0x20a),_0x1e9b19),_0x5c8a52[_0x1be8b2(0x179)]=new status_message_1['StatusMessage'](status_message_1[_0x1be8b2(0x1e7)][_0x1be8b2(0x1f0)],utils_1['errors'][_0x1be8b2(0x14c)],!![]),__classPrivateFieldGet(_0x2482c5,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x1be8b2(0x165)](_0x2482c5,_0x5c8a52),![];return!![];}),_0x5d09e1=__classPrivateFieldGet(_0x2482c5,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x877f5b(0x165)](_0x2482c5);let _0x14b274=_0x5d09e1[_0x877f5b(0x19a)]>0x0;__classPrivateFieldGet(_0x2482c5,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](_0x2482c5,_0x5d09e1),_0x14b274=_0x14b274||__classPrivateFieldGet(_0x2482c5,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](_0x2482c5,_0x5af46f),_0x2482c5['emit'](_0x877f5b(0x1ee),_0x5af46f[_0x877f5b(0x19a)]);_0x14b274&&_0x2482c5[_0x877f5b(0x1b6)]['debug'](formatBreakpoints(_0x877f5b(0x21e),_0x2482c5['activeBreakpointMap']));__classPrivateFieldSet(_0x2482c5,_Debuglet_breakpointFetchedTimestamp,Date[_0x877f5b(0x234)](),'f');_0x4517a6?__classPrivateFieldGet(_0x2482c5,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(_0x2482c5,_Debuglet_breakpointFetched,'f')[_0x877f5b(0x20c)](),__classPrivateFieldSet(_0x2482c5,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(_0x2482c5,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x877f5b(0x165)](_0x2482c5,0x0,_0x4517a6,_0x49cbe6);return;},_0x49cbe6);},_0x206534*0x3e8)['unref']();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x4a29ba=a17_0x51156b;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4a29ba(0x20c)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x14e2f6){const _0x5e4265=a17_0x51156b,_0xed9084=this,_0x5c553a=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x5e4265(0x165)](this,_0x14e2f6);let _0x520a91=![];return _0x14e2f6[_0x5e4265(0x1ab)](_0x3e67e4=>{const _0xa7a432=_0x5e4265;!__classPrivateFieldGet(_0xed9084,_Debuglet_completedBreakpointMap,'f')[_0x3e67e4['id']]&&!_0xed9084[_0xa7a432(0x24c)][_0x3e67e4['id']]&&(__classPrivateFieldGet(_0xed9084,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0xa7a432(0x165)](_0xed9084,_0x3e67e4,_0x8c9b40=>{const _0x129e9c=_0xa7a432;_0x8c9b40&&__classPrivateFieldGet(_0xed9084,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x129e9c(0x165)](_0xed9084,_0x3e67e4,!![],![]);}),_0x520a91=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0xa7a432(0x1d0)](_0x3e67e4['id'])),__classPrivateFieldGet(_0xed9084,_Debuglet_quotaManager,'f')[_0xa7a432(0x20e)](_0x3e67e4['id'],_0x3e67e4['ignoreQuota']),_0xed9084[_0xa7a432(0x1e1)]['setPipingStatus'](_0x3e67e4['id'],_0x3e67e4['pipingStatus']);}),(0x0,mapSubtract_1[_0x5e4265(0x241)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x5c553a)[_0x5e4265(0x1ab)](_0x199262=>{delete __classPrivateFieldGet(_0xed9084,_Debuglet_completedBreakpointMap,'f')[_0x199262['id']],_0x520a91=!![];}),(0x0,mapSubtract_1[_0x5e4265(0x241)])(this[_0x5e4265(0x24c)],_0x5c553a)[_0x5e4265(0x1ab)](_0x3f95e9=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x3f95e9,!![]),_0x520a91=!![];}),_0x520a91&&_0xed9084[_0x5e4265(0x1b6)]['debug'](formatBreakpoints('Server\x20breakpoints:\x0a',_0x5c553a)),_0x520a91;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x4c39f4){const _0x22699f=a17_0x51156b,_0x168983={};return _0x4c39f4[_0x22699f(0x1ab)](_0x30333a=>{_0x168983[_0x30333a['id']]=_0x30333a;}),_0x168983;},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x1e6f77,_0x528718){const _0x52a4e8=a17_0x51156b;this[_0x52a4e8(0x1b6)]['info'](_0x52a4e8(0x1bd),_0x1e6f77),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x52a4e8(0x1fc)](_0x1e6f77['id']),this[_0x52a4e8(0x1e1)][_0x52a4e8(0x18b)](_0x1e6f77['id']),delete this[_0x52a4e8(0x24c)][_0x1e6f77['id']],_0x528718&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['clear'](_0x1e6f77,_0x3794d9=>{const _0x35642c=_0x52a4e8;if(_0x3794d9)this[_0x35642c(0x1b6)][_0x35642c(0x207)](_0x3794d9);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x1d73c7,_0x137889){const _0x4f9792=a17_0x51156b,_0x22f629=this;_0x22f629[_0x4f9792(0x1b6)][_0x4f9792(0x20f)](_0x4f9792(0x1b4),_0x1d73c7);if(!_0x22f629[_0x4f9792(0x16d)]['allowExpressions']&&(_0x1d73c7[_0x4f9792(0x17b)]||_0x1d73c7[_0x4f9792(0x196)])){_0x22f629[_0x4f9792(0x1b6)][_0x4f9792(0x207)](utils_1['errors']['ALLOW_EXPRESSIONS_MESSAGE'][_0x4f9792(0x1e6)]||''),_0x1d73c7['status']=new status_message_1[(_0x4f9792(0x1e7))](status_message_1[_0x4f9792(0x1e7)][_0x4f9792(0x1f0)],utils_1[_0x4f9792(0x245)]['ALLOW_EXPRESSIONS_MESSAGE'],!![]),setImmediate(()=>{const _0x58bd3b=_0x4f9792;_0x137889(utils_1[_0x58bd3b(0x245)][_0x58bd3b(0x218)]);});return;}if((0x0,utils_1[_0x4f9792(0x1e2)])(process[_0x4f9792(0x156)],_0x4f9792(0x1ed))){const _0x3bd32b=utils_1[_0x4f9792(0x245)][_0x4f9792(0x15b)];_0x22f629['logger'][_0x4f9792(0x207)](_0x3bd32b),_0x1d73c7[_0x4f9792(0x179)]=new status_message_1[(_0x4f9792(0x1e7))](status_message_1[_0x4f9792(0x1e7)]['UNSPECIFIED'],_0x3bd32b,!![]),setImmediate(()=>{_0x137889(_0x3bd32b);});return;}const _0x5e12ad=_0x1d73c7[_0x4f9792(0x1f5)]?Number(_0x1d73c7[_0x4f9792(0x1f5)][_0x4f9792(0x212)]):Date[_0x4f9792(0x234)]()/0x3e8,_0x4d8c2f=_0x1d73c7[_0x4f9792(0x1aa)]||_0x22f629[_0x4f9792(0x16d)][_0x4f9792(0x177)];_0x1d73c7[_0x4f9792(0x1c7)]=_0x5e12ad+_0x4d8c2f,_0x1d73c7[_0x4f9792(0x18c)]?.[_0x4f9792(0x170)]&&(_0x1d73c7[_0x4f9792(0x18c)]['path']=path[_0x4f9792(0x176)](_0x1d73c7['location'][_0x4f9792(0x170)]),path['sep']===path['posix'][_0x4f9792(0x186)]&&(_0x1d73c7[_0x4f9792(0x18c)][_0x4f9792(0x170)]=_0x1d73c7[_0x4f9792(0x18c)][_0x4f9792(0x170)][_0x4f9792(0x240)]('\x5c')[_0x4f9792(0x1f9)](path[_0x4f9792(0x186)]))),__classPrivateFieldGet(_0x22f629,_Debuglet_v8debug,'f')[_0x4f9792(0x1d9)](_0x1d73c7,_0x2bebeb=>{const _0x15f18c=_0x4f9792;if(_0x2bebeb){_0x137889(_0x2bebeb);return;}_0x22f629[_0x15f18c(0x1b6)][_0x15f18c(0x20f)](_0x15f18c(0x1a4),_0x1d73c7),_0x22f629[_0x15f18c(0x24c)][_0x1d73c7['id']]=_0x1d73c7,_0x1d73c7[_0x15f18c(0x1e5)]===_0x15f18c(0x1b8)?__classPrivateFieldGet(_0x22f629,_Debuglet_v8debug,'f')[_0x15f18c(0x237)](_0x1d73c7,(_0x44992f,_0x328bc6)=>{const _0x2326e3=_0x15f18c,_0x344f65=_0x328bc6[_0x2326e3(0x24b)](_0x26b9f8=>__classPrivateFieldGet(_0x22f629,_Debuglet_instances,'m',_Debuglet_stringify)[_0x2326e3(0x165)](_0x22f629,_0x26b9f8)),_0x1a2680=(0x0,format_1[_0x2326e3(0x1f4)])(_0x44992f,_0x344f65),_0x4e7b72=_0x2326e3(0x1fd)+(__classPrivateFieldGet(_0x22f629,_Debuglet_redactionManager,'f')?.[_0x2326e3(0x171)](_0x1a2680)||_0x1a2680),_0x8df190=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['quotaCheck'](_0x4e7b72,_0x1d73c7['id']);if(_0x8df190){const _0x552b45=_0x8df190[_0x2326e3(0x1ff)],_0x581786=_0x8df190[_0x2326e3(0x1a8)];let _0x559364,_0x596779;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x2326e3(0x243)]()&&!_0x581786&&(_0x559364=_0x2326e3(0x1fd)+_0x44992f,_0x596779=_0x344f65);_0x22f629[_0x2326e3(0x1e1)][_0x2326e3(0x172)](_0x22f629[_0x2326e3(0x1a3)],_0x1d73c7['id'],_0x552b45,_0x1d73c7[_0x2326e3(0x1b5)],_0x559364,_0x596779);if(_0x581786)__classPrivateFieldGet(_0x22f629,_Debuglet_v8debug,'f')?.[_0x2326e3(0x228)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x359232=_0x2326e3;__classPrivateFieldGet(_0x22f629,_Debuglet_v8debug,'f')?.[_0x359232(0x223)](),__classPrivateFieldSet(_0x22f629,_Debuglet_nextEnableTimeout,null,'f');},_0x22f629[_0x2326e3(0x16d)][_0x2326e3(0x15e)][_0x2326e3(0x1b3)]*0x3e8),'f');else _0x552b45?.[_0x2326e3(0x19a)]===0x0&&__classPrivateFieldGet(_0x22f629,_Debuglet_v8debug,'f')?.[_0x2326e3(0x228)]();}},()=>{return __classPrivateFieldGet(_0x22f629,_Debuglet_completedBreakpointMap,'f')[_0x1d73c7['id']];},_0xa3cca3=>{const _0x37af41=_0x15f18c;if(_0xa3cca3){_0x22f629[_0x37af41(0x1b6)][_0x37af41(0x207)](_0xa3cca3),_0x137889(_0xa3cca3);return;}}):__classPrivateFieldGet(_0x22f629,_Debuglet_v8debug,'f')[_0x15f18c(0x1a7)](_0x1d73c7,_0x1072c1=>{const _0x305cfc=_0x15f18c;if(_0x1072c1){setImmediate(()=>{const _0x4dcf01=a17_0x15d8;_0x22f629[_0x4dcf01(0x1b6)][_0x4dcf01(0x207)](_0x1072c1),_0x137889(_0x1072c1);});return;}_0x22f629['logger']['info'](_0x305cfc(0x17a),_0x1d73c7),__classPrivateFieldGet(_0x22f629,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x305cfc(0x165)](_0x22f629,_0x1d73c7,__classPrivateFieldGet(_0x22f629,_Debuglet_v8debug,'f')[_0x305cfc(0x236)](_0x1d73c7['id'])<=0x0);}),__classPrivateFieldGet(_0x22f629,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)['call'](_0x22f629,_0x1d73c7);}),this[_0x4f9792(0x22a)](_0x4f9792(0x157));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x5292d5,_0x1b90ea,_0x1308f3=!![]){const _0x270b0d=a17_0x51156b,_0x3f3546=this;if(_0x5292d5['status']&&_0x5292d5[_0x270b0d(0x179)][_0x270b0d(0x1dd)]){let _0x1652df=_0x5292d5[_0x270b0d(0x179)]?.['description']?.[_0x270b0d(0x1f4)]||'';_0x5292d5[_0x270b0d(0x179)]?.[_0x270b0d(0x1e6)]?.[_0x270b0d(0x1df)]&&(_0x1652df+=':\x20'+_0x5292d5['status']?.[_0x270b0d(0x1e6)]?.[_0x270b0d(0x1df)][_0x270b0d(0x19c)]()),_0x3f3546['logger'][_0x270b0d(0x19b)](_0x270b0d(0x153)+_0x5292d5+_0x270b0d(0x1b0)+_0x1652df);}else _0x3f3546[_0x270b0d(0x1b6)][_0x270b0d(0x20f)](_0x270b0d(0x1d1),_0x5292d5);_0x1b90ea&&(__classPrivateFieldGet(_0x3f3546,_Debuglet_completedBreakpointMap,'f')[_0x5292d5['id']]=!![],__classPrivateFieldGet(_0x3f3546,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x270b0d(0x165)](_0x3f3546,_0x5292d5,_0x1308f3)),__classPrivateFieldGet(_0x3f3546,_Debuglet_controller,'f')[_0x270b0d(0x209)](_0x3f3546[_0x270b0d(0x1a3)],extend(!![],{},_0x5292d5));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x41c9d2){const _0xb1e0e9=a17_0x51156b,_0x28f0c8=this;_0x28f0c8[_0xb1e0e9(0x1b6)][_0xb1e0e9(0x14f)](_0xb1e0e9(0x155)+_0x41c9d2+'\x20accepted\x20by\x20agent');const _0x2ca574=extend(!![],{},_0x41c9d2);_0x2ca574[_0xb1e0e9(0x230)]=![],_0x2ca574[_0xb1e0e9(0x179)]=new status_message_1[(_0xb1e0e9(0x1e7))](status_message_1['StatusMessage'][_0xb1e0e9(0x1f0)],undefined,![],!![]),__classPrivateFieldGet(_0x28f0c8,_Debuglet_controller,'f')[_0xb1e0e9(0x209)](_0x28f0c8[_0xb1e0e9(0x1a3)],_0x2ca574);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x348279){const _0x5d68b9=a17_0x51156b,_0x38769a=this;this[_0x5d68b9(0x1b6)][_0x5d68b9(0x20f)](_0x5d68b9(0x167),_0x348279),__classPrivateFieldGet(_0x38769a,_Debuglet_completedBreakpointMap,'f')[_0x348279['id']]=!![],__classPrivateFieldGet(_0x38769a,_Debuglet_controller,'f')[_0x5d68b9(0x209)](_0x38769a[_0x5d68b9(0x1a3)],_0x348279);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x5a56ef){const _0x4e5367=a17_0x51156b,_0x310e1f=this;_0x5a56ef[_0x4e5367(0x1ab)](_0x239130=>{const _0x5d1b90=_0x4e5367;_0x310e1f[_0x5d1b90(0x1b6)][_0x5d1b90(0x20f)]('Expiring\x20breakpoint',_0x239130),__classPrivateFieldGet(_0x310e1f,_Debuglet_completedBreakpointMap,'f')[_0x239130['id']]=!![],__classPrivateFieldGet(_0x310e1f,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x5d1b90(0x165)](_0x310e1f,_0x239130,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x3fba35=a17_0x51156b,_0x2604c7=Date[_0x3fba35(0x234)]()/0x3e8;return Object[_0x3fba35(0x161)](this['activeBreakpointMap'])[_0x3fba35(0x201)](_0x27ccf6=>_0x27ccf6[_0x3fba35(0x1c7)]?_0x27ccf6[_0x3fba35(0x1c7)]<_0x2604c7:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x540f3b){const _0x245f93=a17_0x51156b,_0x838f0f=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x245f93(0x200)](_0x540f3b),_0x1f3577=_0x838f0f[_0x245f93(0x202)],_0x3975e1=_0x838f0f['blacklist_exception'];_0x1f3577&&_0x1f3577[_0x245f93(0x19a)]&&this[_0x245f93(0x1b6)][_0x245f93(0x14f)](_0x245f93(0x19d),_0x1f3577[_0x245f93(0x1f9)]('\x0a\x09')),_0x3975e1&&_0x3975e1[_0x245f93(0x19a)]&&this['logger'][_0x245f93(0x14f)](_0x245f93(0x173),_0x3975e1[_0x245f93(0x1f9)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x245f93(0x21c))](_0x1f3577,_0x3975e1,this[_0x245f93(0x16d)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x568318){const _0xceeece=a17_0x51156b,_0x16751a=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getRedactions'](_0x568318);_0x16751a?.[_0xceeece(0x19a)]&&this[_0xceeece(0x1b6)][_0xceeece(0x14f)](_0xceeece(0x150),_0x16751a[_0xceeece(0x24b)](_0x2fe171=>_0xceeece(0x1e3)+_0x2fe171[_0xceeece(0x1a5)]+_0xceeece(0x246)+_0x2fe171['type']+_0xceeece(0x16a)+_0x2fe171[_0xceeece(0x194)]+'\x20caseInsensitive:\x20'+_0x2fe171[_0xceeece(0x1c1)])[_0xceeece(0x1f9)]('\x0a\x09'));if((0x0,utils_1[_0xceeece(0x1e2)])(process['version'],'>=12')){const {RedactionManagerRE2JS:_0x18afa2}=await Promise[_0xceeece(0x20c)]()['then'](()=>require(_0xceeece(0x185)));__classPrivateFieldSet(this,_Debuglet_redactionManager,new _0x18afa2(this['logger']),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0xceeece(0x16c)](_0x16751a);}},_Debuglet_stringify=function _Debuglet_stringify(_0x300ef1){const _0x561ee3=a17_0x51156b;if(!_0x300ef1)return JSON[_0x561ee3(0x22d)](_0x300ef1,(_0x113ff6,_0x4af784)=>_0x4af784===undefined?_0x561ee3(0x21f):_0x4af784);if(Array[_0x561ee3(0x1d2)](_0x300ef1)){const _0x590e73=[];for(const _0x59ca3d of _0x300ef1){_0x590e73[_0x561ee3(0x213)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x59ca3d));}return'['+_0x590e73[_0x561ee3(0x1f9)](',\x20')+']';}if(typeof _0x300ef1===_0x561ee3(0x19e)){const _0x24fa50=Object[_0x561ee3(0x1f8)](_0x300ef1)[_0x561ee3(0x24b)](([_0x420ff9,_0x45fa54])=>{const _0x55a254=_0x561ee3,_0x46bdf2=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x55a254(0x242)](_0x420ff9)?redaction_manager_1[_0x55a254(0x205)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x45fa54);return JSON[_0x55a254(0x22d)](_0x420ff9)+':\x20'+_0x46bdf2;})[_0x561ee3(0x1f9)](',\x20');return'{'+_0x24fa50+'}';}return JSON[_0x561ee3(0x22d)](_0x300ef1);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a18_0x415d0b=a18_0x3131;(function(_0x83c842,_0x5bd319){const _0x279b85=a18_0x3131,_0x7100df=_0x83c842();while(!![]){try{const _0x12a358=-parseInt(_0x279b85(0xe4))/0x1*(parseInt(_0x279b85(0xbd))/0x2)+parseInt(_0x279b85(0xc9))/0x3+-parseInt(_0x279b85(0xe7))/0x4*(-parseInt(_0x279b85(0xb5))/0x5)+parseInt(_0x279b85(0xe9))/0x6+parseInt(_0x279b85(0xb3))/0x7*(-parseInt(_0x279b85(0xd7))/0x8)+parseInt(_0x279b85(0xdc))/0x9*(parseInt(_0x279b85(0xca))/0xa)+-parseInt(_0x279b85(0xe2))/0xb*(parseInt(_0x279b85(0xeb))/0xc);if(_0x12a358===_0x5bd319)break;else _0x7100df['push'](_0x7100df['shift']());}catch(_0x5a7f1b){_0x7100df['push'](_0x7100df['shift']());}}}(a18_0x1a8d,0x8d3d0));function a18_0x1a8d(){const _0x1db6b7=['1446312ntLhfj','10WVaIMt','linux','x32','runtimeEnvironmentInfo','\x20on\x20','constructor','version','env','procArch','versions','readFileSync','windows','warn','16lPYtRa','getProps','search','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','existsSync','134991QJJJIL','isInK8s','replace','host','linuxDistroName','Windows','295383EZnHlF','platform','119528CxcnvC','get','error','696AvMWHv','release','4524486rrjmix','/.dockerenv','264bLIZZH','systemTotalMemoryBytes','_logger','pid','totalmem','mac','1412852eQJQlq','osVersion','22985SkLBMv','(((.+)+)+)+$','Linux','isInDocker','forEach','Node.js\x20','arm64','arch','8xANfKm','split','utf-8','agentOS','MacOS','toString','node','KUBERNETES_SERVICE_HOST','x64','apply','_osRelease','arm'];a18_0x1a8d=function(){return _0x1db6b7;};return a18_0x1a8d();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['EnvironmentMetadata']=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require('assert');var OS;(function(_0x2d1fb7){const _0x4f7474=a18_0x3131,_0x1720dd=(function(){let _0x21a255=!![];return function(_0x44cff8,_0x2931f8){const _0x400456=_0x21a255?function(){const _0x2e097d=a18_0x3131;if(_0x2931f8){const _0x44efc8=_0x2931f8[_0x2e097d(0xc6)](_0x44cff8,arguments);return _0x2931f8=null,_0x44efc8;}}:function(){};return _0x21a255=![],_0x400456;};}()),_0x3c45a9=_0x1720dd(this,function(){const _0x31342a=a18_0x3131;return _0x3c45a9[_0x31342a(0xc2)]()['search'](_0x31342a(0xb6))['toString']()[_0x31342a(0xcf)](_0x3c45a9)[_0x31342a(0xd9)]('(((.+)+)+)+$');});_0x3c45a9(),_0x2d1fb7[_0x4f7474(0xb7)]=_0x4f7474(0xcb),_0x2d1fb7[_0x4f7474(0xe1)]=_0x4f7474(0xd5),_0x2d1fb7[_0x4f7474(0xc1)]=_0x4f7474(0xb2);}(OS||(OS={})));function a18_0x3131(_0x2f96d4,_0x1326b1){const _0x1e4f75=a18_0x1a8d();return a18_0x3131=function(_0x399e8e,_0x6b6554){_0x399e8e=_0x399e8e-0xae;let _0x1a8d6c=_0x1e4f75[_0x399e8e];return _0x1a8d6c;},a18_0x3131(_0x2f96d4,_0x1326b1);}var ProcArch;(function(_0x5b999a){const _0x4cf9c5=a18_0x3131;_0x5b999a[_0x4cf9c5(0xc5)]=_0x4cf9c5(0xc5),_0x5b999a[_0x4cf9c5(0xcc)]=_0x4cf9c5(0xcc),_0x5b999a[_0x4cf9c5(0xc8)]=_0x4cf9c5(0xc8),_0x5b999a[_0x4cf9c5(0xbb)]='arm64';}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS['Linux'],'win32':OS[a18_0x415d0b(0xe1)],'darwin':OS['MacOS']},ArchToProcArchMap={'x32':ProcArch[a18_0x415d0b(0xcc)],'x64':ProcArch[a18_0x415d0b(0xc5)],'arm':ProcArch[a18_0x415d0b(0xc8)],'arm64':ProcArch[a18_0x415d0b(0xbb)]};class EnvironmentMetadata{constructor(_0xaadc35){assert(_0xaadc35!==null),this['_logger']=_0xaadc35;}get['runtimeEnvironmentVersion'](){const _0x119109=a18_0x415d0b;try{const _0x1b7ec2=process[_0x119109(0xd3)][_0x119109(0xc3)]['match'](/(\d+\.\d+)\..*/);if(_0x1b7ec2)return _0x1b7ec2[0x1];}catch(_0x1b6b1a){this['_logger'][_0x119109(0xe6)](_0x1b6b1a);}return;}get[a18_0x415d0b(0xcd)](){const _0x210405=a18_0x415d0b;return _0x210405(0xba)+process[_0x210405(0xd0)]+_0x210405(0xce)+(0x0,os_1[_0x210405(0xe3)])()+'\x20'+(0x0,os_1['release'])();}get[a18_0x415d0b(0xb0)](){const _0x3153d6=a18_0x415d0b;return process[_0x3153d6(0xb0)][_0x3153d6(0xc2)]();}get[a18_0x415d0b(0xd2)](){const _0x659ff4=a18_0x415d0b;return ArchToProcArchMap[process[_0x659ff4(0xbc)]]||process[_0x659ff4(0xbc)];}get['cpuCoreCount'](){return(0x0,os_1['cpus'])()['length'];}get[a18_0x415d0b(0xae)](){const _0x57d9df=a18_0x415d0b;return(0x0,os_1[_0x57d9df(0xb1)])();}get['host'](){return(0x0,os_1['hostname'])();}get[a18_0x415d0b(0xc0)](){const _0x3886ae=a18_0x415d0b;return PlatformToOsMap[(0x0,os_1['platform'])()]||(0x0,os_1[_0x3886ae(0xe3)])();}get['osVersion'](){const _0x4efdd7=a18_0x415d0b;try{if(this[_0x4efdd7(0xc0)]===OS[_0x4efdd7(0xb7)])return this[_0x4efdd7(0xc7)][_0x4efdd7(0xe5)]('VERSION_ID')||(0x0,os_1[_0x4efdd7(0xe8)])();return(0x0,os_1[_0x4efdd7(0xe8)])();}catch(_0x18308c){this[_0x4efdd7(0xaf)][_0x4efdd7(0xe6)](_0x18308c);}return;}get[a18_0x415d0b(0xe0)](){const _0x437c2d=a18_0x415d0b;return this['agentOS']===OS[_0x437c2d(0xb7)]&&this['_osRelease'][_0x437c2d(0xe5)]('ID')||'';}get[a18_0x415d0b(0xb8)](){const _0xa54d56=a18_0x415d0b;return this[_0xa54d56(0xc0)]===OS['Linux']?(0x0,fs_1[_0xa54d56(0xdb)])(_0xa54d56(0xea)):![];}get[a18_0x415d0b(0xdd)](){const _0x2ed0d9=a18_0x415d0b;return!!process[_0x2ed0d9(0xd1)][_0x2ed0d9(0xc4)];}get[a18_0x415d0b(0xc7)](){const _0x581f1c=a18_0x415d0b;if(!this['_cachedOsRelease']){this['_cachedOsRelease']=new Map();try{if(this['agentOS']===OS[_0x581f1c(0xb7)]){const _0x3ed8fe=(0x0,fs_1[_0x581f1c(0xd4)])('/etc/os-release',_0x581f1c(0xbf));_0x3ed8fe[_0x581f1c(0xbe)](/\r?\n/)[_0x581f1c(0xb9)](_0x48fc98=>{const _0x435bdf=_0x581f1c,[_0x1afb16,_0x55b6b4]=_0x48fc98['trim']()['split']('=');this['_cachedOsRelease']?.['set'](_0x1afb16,_0x55b6b4?.[_0x435bdf(0xde)](/^"|"$/g,'')||'');});}}catch(_0x9364c){this[_0x581f1c(0xaf)][_0x581f1c(0xd6)](_0x581f1c(0xda),_0x9364c);}}return this['_cachedOsRelease'];}[a18_0x415d0b(0xd8)](){const _0x52b15f=a18_0x415d0b;return{'runtimeEnvironmentVersion':this['runtimeEnvironmentVersion'],'runtimeEnvironmentInfo':this[_0x52b15f(0xcd)],'pid':this[_0x52b15f(0xb0)],'cpuCoreCount':this['cpuCoreCount'],'systemTotalMemoryBytes':this[_0x52b15f(0xae)],'host':this[_0x52b15f(0xdf)],'agentOS':this[_0x52b15f(0xc0)],'osVersion':this[_0x52b15f(0xb4)],'linuxDistroName':this[_0x52b15f(0xe0)]||undefined,'isInDocker':this['isInDocker'],'isInK8s':this[_0x52b15f(0xdd)],'procArch':this['procArch']};}}exports['EnvironmentMetadata']=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a19_0xf1f2(_0x54516b,_0x1c7c53){const _0x5105fc=a19_0x3fde();return a19_0xf1f2=function(_0x22c2a1,_0x3bbe5d){_0x22c2a1=_0x22c2a1-0xb7;let _0x3fde8f=_0x5105fc[_0x22c2a1];return _0x3fde8f;},a19_0xf1f2(_0x54516b,_0x1c7c53);}const a19_0x377797=a19_0xf1f2;(function(_0x3b658b,_0x41eeaf){const _0x55d77f=a19_0xf1f2,_0x4139a8=_0x3b658b();while(!![]){try{const _0x4b675e=parseInt(_0x55d77f(0xd7))/0x1+-parseInt(_0x55d77f(0xca))/0x2+parseInt(_0x55d77f(0xcf))/0x3*(-parseInt(_0x55d77f(0xc2))/0x4)+-parseInt(_0x55d77f(0xcb))/0x5+parseInt(_0x55d77f(0xc8))/0x6*(parseInt(_0x55d77f(0xbf))/0x7)+parseInt(_0x55d77f(0xd4))/0x8+parseInt(_0x55d77f(0xb9))/0x9;if(_0x4b675e===_0x41eeaf)break;else _0x4139a8['push'](_0x4139a8['shift']());}catch(_0x3eba22){_0x4139a8['push'](_0x4139a8['shift']());}}}(a19_0x3fde,0x7000d));const a19_0x3bbe5d=(function(){let _0x55a508=!![];return function(_0x2aa3fe,_0x51ccff){const _0x1a9a82=_0x55a508?function(){const _0x218796=a19_0xf1f2;if(_0x51ccff){const _0x508c2a=_0x51ccff[_0x218796(0xb8)](_0x2aa3fe,arguments);return _0x51ccff=null,_0x508c2a;}}:function(){};return _0x55a508=![],_0x1a9a82;};}()),a19_0x22c2a1=a19_0x3bbe5d(this,function(){const _0x3ea3cb=a19_0xf1f2;return a19_0x22c2a1[_0x3ea3cb(0xda)]()[_0x3ea3cb(0xd3)]('(((.+)+)+)+$')[_0x3ea3cb(0xda)]()[_0x3ea3cb(0xd5)](a19_0x22c2a1)[_0x3ea3cb(0xd3)](_0x3ea3cb(0xd1));});a19_0x22c2a1();'use strict';Object['defineProperty'](exports,a19_0x377797(0xbc),{'value':!![]}),exports[a19_0x377797(0xc9)]=void 0x0;const path=require('path');function a19_0x3fde(){const _0x3fcb9d=['69765mrJLCu','push','min','toString','add','set','fileStats','apply','7500924IcKAcf','has','fromFileList','__esModule','size','generateSubPaths','1977787TJagYy','filter','get','685416nuADeO','_fileStats','stripStartingSep','findShortestFuzzyMatches','keys','substr','18hutCfb','FileIndex','1066224chaMbO','3953845DjDpZy','map','buildIndex','fileIndex','6NnGXrb','indexOf','(((.+)+)+)+$','length','search','2996240qhRKSk','constructor','sep'];a19_0x3fde=function(){return _0x3fcb9d;};return a19_0x3fde();}class FileIndex{constructor(_0x1f8874){const _0x518b05=a19_0x377797;this[_0x518b05(0xc3)]=_0x1f8874,this['fileIndex']=new Map();}static['fromFileStats'](_0x4fd846){const _0xbab770=a19_0x377797,_0x1e9e7b=new FileIndex(_0x4fd846);return _0x1e9e7b[_0xbab770(0xcd)](Object[_0xbab770(0xc6)](_0x4fd846)||[]),_0x1e9e7b;}static[a19_0x377797(0xbb)](_0xed5c61){const _0x31582b=a19_0x377797,_0x226949=new FileIndex(undefined);return _0x226949[_0x31582b(0xcd)](_0xed5c61||[]),_0x226949;}get[a19_0x377797(0xb7)](){const _0x5ccc41=a19_0x377797;return this[_0x5ccc41(0xc3)]||{};}[a19_0x377797(0xc5)](_0xf32b4b){const _0x4939e0=a19_0x377797,_0x29778f=this['search'](_0xf32b4b);if(!_0x29778f||_0x29778f[_0x4939e0(0xbd)]===0x0)return[];const _0x3ecf46=[..._0x29778f][_0x4939e0(0xcc)](_0x55331a=>_0x55331a[_0x4939e0(0xd2)]),_0x515982=Math[_0x4939e0(0xd9)](..._0x3ecf46),_0x370dce=[..._0x29778f][_0x4939e0(0xc0)](_0x1d9998=>_0x1d9998['length']===_0x515982);return _0x370dce;}[a19_0x377797(0xcd)](_0x309882){const _0x3fdf04=a19_0x377797;for(const _0xd7802c of _0x309882){for(const _0x343d2b of this[_0x3fdf04(0xbe)](_0xd7802c)){let _0x5f16f0=this[_0x3fdf04(0xce)][_0x3fdf04(0xc1)](_0x343d2b);_0x5f16f0===undefined&&(_0x5f16f0=new Set(),this[_0x3fdf04(0xce)][_0x3fdf04(0xdc)](_0x343d2b,_0x5f16f0)),_0x5f16f0[_0x3fdf04(0xdb)](_0xd7802c);}}}[a19_0x377797(0xbe)](_0x4376fd){const _0x367109=a19_0x377797;_0x4376fd=this[_0x367109(0xc4)](_0x4376fd);const _0xaebb0c=[_0x4376fd];while(_0x4376fd[_0x367109(0xd0)](path['sep'])>=0x0){_0x4376fd=_0x4376fd['substring'](_0x4376fd[_0x367109(0xd0)](path['sep'])+path[_0x367109(0xd6)]['length'],_0x4376fd['length']),_0xaebb0c[_0x367109(0xd8)](_0x4376fd);}return _0xaebb0c;}[a19_0x377797(0xd3)](_0xd32d82){const _0x5ae7a1=a19_0x377797;if(!_0xd32d82)return undefined;_0xd32d82=this['stripStartingSep'](_0xd32d82);for(const _0x56e612 of this[_0x5ae7a1(0xbe)](_0xd32d82)){if(this['fileIndex'][_0x5ae7a1(0xba)](_0x56e612))return this['fileIndex'][_0x5ae7a1(0xc1)](_0x56e612);}return undefined;}[a19_0x377797(0xc4)](_0x4bb51e){const _0x3c0eac=a19_0x377797;if(_0x4bb51e&&(_0x4bb51e[0x0]==='/'||_0x4bb51e[0x0]==='\x5c'))return _0x4bb51e[_0x3c0eac(0xc7)](0x1);return _0x4bb51e;}}exports[a19_0x377797(0xc9)]=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0xe1655d=a20_0x4836;function a20_0x4011(){const _0x2b8e2a=['all','normalize','path','221740SUtTlH','__esModule','sep','defineProperty','(((.+)+)+)+$','toString','ScanResultsImpl','filter','16qdpsEM','611zMaCEr','constructor','errorMap','240231uXXRRe','44429GzyFSW','786Uxomlk','8QShKvF','171afTnKK','keys','29685JdUOKc','6055DRsoYZ','4188iKCszG','379047TvzOxH','790258reVziU','map','errors','selectStats','apply','forEach','stats','hash','5312gKrNVC','test'];a20_0x4011=function(){return _0x2b8e2a;};return a20_0x4011();}(function(_0xed1a73,_0x4eaf9e){const _0x3c83d0=a20_0x4836,_0x219cb3=_0xed1a73();while(!![]){try{const _0x3bf73b=parseInt(_0x3c83d0(0x179))/0x1*(parseInt(_0x3c83d0(0x173))/0x2)+-parseInt(_0x3c83d0(0x193))/0x3*(-parseInt(_0x3c83d0(0x18f))/0x4)+-parseInt(_0x3c83d0(0x176))/0x5*(parseInt(_0x3c83d0(0x172))/0x6)+parseInt(_0x3c83d0(0x177))/0x7*(parseInt(_0x3c83d0(0x182))/0x8)+parseInt(_0x3c83d0(0x174))/0x9*(parseInt(_0x3c83d0(0x187))/0xa)+-parseInt(_0x3c83d0(0x194))/0xb*(-parseInt(_0x3c83d0(0x178))/0xc)+parseInt(_0x3c83d0(0x190))/0xd*(-parseInt(_0x3c83d0(0x17a))/0xe);if(_0x3bf73b===_0x4eaf9e)break;else _0x219cb3['push'](_0x219cb3['shift']());}catch(_0x1e0598){_0x219cb3['push'](_0x219cb3['shift']());}}}(a20_0x4011,0xc6009));const a20_0x342c65=(function(){let _0x447240=!![];return function(_0xf65237,_0x506372){const _0x236ae3=_0x447240?function(){const _0x21e6d4=a20_0x4836;if(_0x506372){const _0x135184=_0x506372[_0x21e6d4(0x17e)](_0xf65237,arguments);return _0x506372=null,_0x135184;}}:function(){};return _0x447240=![],_0x236ae3;};}()),a20_0x294892=a20_0x342c65(this,function(){const _0xf1e9e8=a20_0x4836;return a20_0x294892['toString']()['search'](_0xf1e9e8(0x18b))[_0xf1e9e8(0x18c)]()[_0xf1e9e8(0x191)](a20_0x294892)['search'](_0xf1e9e8(0x18b));});function a20_0x4836(_0x24eaad,_0x13e158){const _0x104411=a20_0x4011();return a20_0x4836=function(_0x294892,_0x342c65){_0x294892=_0x294892-0x172;let _0x401120=_0x104411[_0x294892];return _0x401120;},a20_0x4836(_0x24eaad,_0x13e158);}a20_0x294892();'use strict';Object[a20_0xe1655d(0x18a)](exports,a20_0xe1655d(0x188),{'value':!![]}),exports[a20_0xe1655d(0x18d)]=void 0x0;const path=require(a20_0xe1655d(0x186));class ScanResultsImpl{constructor(_0x292a18,_0x26a36e,_0xbcdbb){const _0x3c2585=a20_0xe1655d;this['stats']=_0x292a18,this['errorMap']=_0x26a36e,this[_0x3c2585(0x181)]=_0xbcdbb;}[a20_0xe1655d(0x17c)](){const _0xaee712=a20_0xe1655d;return this[_0xaee712(0x192)];}[a20_0xe1655d(0x184)](){const _0x5589dc=a20_0xe1655d;return this[_0x5589dc(0x180)];}[a20_0xe1655d(0x17d)](_0x54182b){const _0x2b8d33=a20_0xe1655d,_0x5166b8={};return Object['keys'](this[_0x2b8d33(0x180)])[_0x2b8d33(0x17f)](_0x263014=>{const _0x248a95=_0x2b8d33;_0x54182b[_0x248a95(0x183)](_0x263014)&&(_0x5166b8[_0x263014]=this[_0x248a95(0x180)][_0x263014]);}),_0x5166b8;}['selectFiles'](_0x4aa458,_0x516992){const _0x4808ea=a20_0xe1655d;return _0x516992=path[_0x4808ea(0x185)](_0x516992+path[_0x4808ea(0x189)]),Object[_0x4808ea(0x175)](this['stats'])[_0x4808ea(0x18e)](_0x2d22fc=>{const _0x5a84f4=_0x4808ea;return _0x2d22fc&&_0x4aa458[_0x5a84f4(0x183)](_0x2d22fc);})[_0x4808ea(0x17b)](_0x19a585=>{const _0xc9ce88=_0x4808ea;return path[_0xc9ce88(0x185)](_0x19a585)['replace'](_0x516992,'');});}}exports[a20_0xe1655d(0x18d)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21_0x37c76f=a21_0x4803;(function(_0x2a64dc,_0x33143e){const _0x4fe502=a21_0x4803,_0x2001fc=_0x2a64dc();while(!![]){try{const _0x1b199b=parseInt(_0x4fe502(0x155))/0x1*(-parseInt(_0x4fe502(0x163))/0x2)+-parseInt(_0x4fe502(0x13e))/0x3*(parseInt(_0x4fe502(0x141))/0x4)+parseInt(_0x4fe502(0x14a))/0x5*(-parseInt(_0x4fe502(0x162))/0x6)+-parseInt(_0x4fe502(0x157))/0x7*(parseInt(_0x4fe502(0x15c))/0x8)+parseInt(_0x4fe502(0x158))/0x9+-parseInt(_0x4fe502(0x15b))/0xa*(-parseInt(_0x4fe502(0x14b))/0xb)+parseInt(_0x4fe502(0x151))/0xc;if(_0x1b199b===_0x33143e)break;else _0x2001fc['push'](_0x2001fc['shift']());}catch(_0x2a60b0){_0x2001fc['push'](_0x2001fc['shift']());}}}(a21_0x1f6a,0x5eefc));const a21_0x4220ba=(function(){let _0x4c012d=!![];return function(_0x4e406d,_0x522110){const _0x146d43=_0x4c012d?function(){const _0x5921a4=a21_0x4803;if(_0x522110){const _0x4712eb=_0x522110[_0x5921a4(0x14d)](_0x4e406d,arguments);return _0x522110=null,_0x4712eb;}}:function(){};return _0x4c012d=![],_0x146d43;};}()),a21_0x501364=a21_0x4220ba(this,function(){const _0x20f794=a21_0x4803;return a21_0x501364[_0x20f794(0x147)]()[_0x20f794(0x12e)](_0x20f794(0x142))[_0x20f794(0x147)]()[_0x20f794(0x140)](a21_0x501364)[_0x20f794(0x12e)]('(((.+)+)+)+$');});a21_0x501364();'use strict';function a21_0x1f6a(){const _0x35bf12=['hex','2576075DoLxjZ','6622BdxZsl','R_OK','apply','hasReadAccess','createHash','data','8837760WTwTcm','defineProperty','directory','createReadStream','2ikmcnw','EMPTY-no-js-files','251237wItIez','6591267bGWLSz','SHA1-','findit2','6240yddUFM','24nprNxb','file','update','test','join','addFilesFromDir','6JeJxOR','572296EhEwUf','computeStats','Scanner','logger','from','error','pipe','resolve','length','./scan-results','can\x27t\x20access\x20path:\x20[','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','search','accessSync','hash','basename','end','ScanResultsImpl','path','add','__esModule','scan','Specified\x20extraPaths\x20does\x20not\x20exist!','startsWith','findFiles','statsForFile','digest','info','3dPEgln','set','constructor','1041788CrxYNd','(((.+)+)+)+$','crypto','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','node_modules','warn','toString','sha1'];a21_0x1f6a=function(){return _0x35bf12;};return a21_0x1f6a();}Object[a21_0x37c76f(0x152)](exports,a21_0x37c76f(0x136),{'value':!![]}),exports[a21_0x37c76f(0x124)]=void 0x0;const crypto=require(a21_0x37c76f(0x143)),fs=require('fs'),path=require(a21_0x37c76f(0x134)),scan_results_1=require(a21_0x37c76f(0x12b));class Scanner{constructor(_0x4f6ddb){const _0x1de636=a21_0x37c76f;this[_0x1de636(0x125)]=_0x4f6ddb;}async[a21_0x37c76f(0x137)](_0x3e0a76,_0x37439d,_0x14cf84,_0x4f16af){const _0x2bc71d=a21_0x37c76f,_0x21eb3f=await this[_0x2bc71d(0x13a)](_0x3e0a76,_0x37439d,_0x4f16af);return this[_0x2bc71d(0x123)](_0x21eb3f,_0x14cf84);}['computeStats'](_0x288aac,_0x1da2cf){return new Promise(async _0x54f4fb=>{const _0x4a8cc9=a21_0x4803;if(_0x288aac[_0x4a8cc9(0x12a)]===0x0){_0x54f4fb(new scan_results_1[(_0x4a8cc9(0x133))]({},new Map(),_0x4a8cc9(0x156)));return;}const _0xf55952=[],_0x3552b2={},_0x15b109=new Map();for(const _0x5a277f of _0x288aac){try{const _0x54665d=await this['statsForFile'](_0x5a277f,!_0x1da2cf);!_0x1da2cf&&_0xf55952['push'](_0x54665d[_0x4a8cc9(0x130)]),_0x3552b2[_0x5a277f]=_0x54665d;}catch(_0x3c423e){_0x15b109[_0x4a8cc9(0x13f)](_0x5a277f,_0x3c423e);}}let _0x2e07f8;if(!_0x1da2cf){const _0x40f5ec=_0xf55952['sort']()[_0x4a8cc9(0x160)](),_0x37674b=crypto['createHash'](_0x4a8cc9(0x148))[_0x4a8cc9(0x15e)](_0x40f5ec)[_0x4a8cc9(0x13c)]('hex');_0x2e07f8=_0x4a8cc9(0x159)+_0x37674b;}else _0x2e07f8=_0x1da2cf;_0x54f4fb(new scan_results_1['ScanResultsImpl'](_0x3552b2,_0x15b109,_0x2e07f8));});}async[a21_0x37c76f(0x13a)](_0x56b9dc,_0xa7701f,_0x5910f7){const _0x371e3d=a21_0x37c76f,_0x15ccef=new Set();await this[_0x371e3d(0x161)](_0x15ccef,_0x56b9dc,_0xa7701f);for(const _0x4a53f1 of _0x5910f7??[]){if(_0x4a53f1){const _0x5e191f=path[_0x371e3d(0x129)](_0x4a53f1);try{await this['addFilesFromDir'](_0x15ccef,_0x5e191f,_0xa7701f);}catch(_0x1a655e){this['logger'][_0x371e3d(0x127)](_0x371e3d(0x138),_0x1a655e);continue;}}}return Array[_0x371e3d(0x126)](_0x15ccef);}static[a21_0x37c76f(0x14e)](_0x53f58c){const _0xefa8af=a21_0x37c76f;try{return fs[_0xefa8af(0x12f)](_0x53f58c,fs['constants'][_0xefa8af(0x14c)]),!![];}catch(_0x46792b){return![];}}async['addFilesFromDir'](_0x2aa62f,_0x4e6e93,_0x39c592){return new Promise((_0xbc11e6,_0x1074eb)=>{const _0x558658=a21_0x4803;let _0x254302;if(!_0x4e6e93){_0x1074eb(new Error(_0x558658(0x144)));return;}this['logger'][_0x558658(0x13d)]('Indexing\x20files\x20in\x20'+path['resolve'](_0x4e6e93));const _0x394719=findit(_0x4e6e93);_0x394719['on'](_0x558658(0x127),_0x151318=>{_0x254302=_0x151318;return;}),_0x394719['on'](_0x558658(0x153),(_0x37bd00,_0xaa90d9,_0x3809a3)=>{const _0x141fc5=_0x558658,_0x5ab762=path[_0x141fc5(0x131)](_0x37bd00);!Scanner[_0x141fc5(0x14e)](_0x37bd00)&&(this[_0x141fc5(0x125)][_0x141fc5(0x146)](_0x141fc5(0x12c)+path[_0x141fc5(0x129)](_0x37bd00)+_0x141fc5(0x12d)),_0x3809a3()),(_0x5ab762==='.git'||_0x5ab762===_0x141fc5(0x145))&&(!path['resolve'](_0x4e6e93)[_0x141fc5(0x139)](path[_0x141fc5(0x129)](_0x37bd00))&&_0x3809a3());}),_0x394719['on'](_0x558658(0x15d),_0x55bfe5=>{const _0x5be72a=_0x558658;_0x39c592[_0x5be72a(0x15f)](_0x55bfe5)&&_0x2aa62f[_0x5be72a(0x135)](_0x55bfe5);}),_0x394719['on'](_0x558658(0x132),()=>{_0x254302?_0x1074eb(_0x254302):_0xbc11e6();});});}async[a21_0x37c76f(0x13b)](_0x219b42,_0x1dae4e){return new Promise((_0x189173,_0x159c29)=>{const _0x51fd16=a21_0x4803,_0x490971=fs[_0x51fd16(0x154)](_0x219b42);_0x490971['on'](_0x51fd16(0x127),_0x165455=>{_0x159c29(_0x165455);}),_0x490971['on']('open',()=>{const _0x2dc797=_0x51fd16;let _0xad4c00;_0x1dae4e&&(_0xad4c00=crypto[_0x2dc797(0x14f)](_0x2dc797(0x148)));let _0x340fe0=0x0,_0x35a87f;const _0xf255a=_0x490971[_0x2dc797(0x128)](split());_0xf255a['on'](_0x2dc797(0x127),_0x17105d=>{_0x35a87f=_0x17105d;}),_0xf255a['on'](_0x2dc797(0x150),_0x3814b8=>{_0x1dae4e&&_0xad4c00['update'](_0x3814b8),_0x340fe0++;}),_0xf255a['on'](_0x2dc797(0x132),()=>{const _0x39e442=_0x2dc797;if(_0x35a87f)_0x159c29(_0x35a87f);else{const _0x146b93=_0x1dae4e?_0xad4c00[_0x39e442(0x13c)](_0x39e442(0x149)):undefined;_0x189173({'hash':_0x146b93,'lines':_0x340fe0});}});});});}}exports[a21_0x37c76f(0x124)]=Scanner;function a21_0x4803(_0x18cf83,_0x7e6436){const _0x5c45dc=a21_0x1f6a();return a21_0x4803=function(_0x501364,_0x4220ba){_0x501364=_0x501364-0x123;let _0x1f6aa2=_0x5c45dc[_0x501364];return _0x1f6aa2;},a21_0x4803(_0x18cf83,_0x7e6436);}const findit=require(a21_0x37c76f(0x15a)),split=require('split');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a22_0x4040(_0x3494d5,_0x568d60){const _0x3f4a9e=a22_0x1a4e();return a22_0x4040=function(_0x231c70,_0x2a6e6f){_0x231c70=_0x231c70-0xbe;let _0x1a4ec7=_0x3f4a9e[_0x231c70];return _0x1a4ec7;},a22_0x4040(_0x3494d5,_0x568d60);}const a22_0x232caa=a22_0x4040;function a22_0x1a4e(){const _0x2989c0=['infoMap','constructor','debug','620524IWCuFM','promisify','.map','endsWith','map','webpack://','FileIndex','FOUND\x20IN','search','SourceMapper','toLowerCase','all','replace','9PPPSFW','595529JIxnxY','Creating\x20SourceMapper','3471440tqTNfk','allGeneratedPositionsFor','get','reduce','findInSources','utf8','length','create','Processing\x20','basename','Failed\x20to\x20parse\x20source\x20map\x20file\x20','outputFile','fromFileList','An\x20error\x20occurred\x20while\x20reading\x20the\x20','119FuAskH','4708500xZXmaI','4SvuhXd','apply','476478clcKYi','util','Parsing\x20source\x20map\x20files','source-map','DONE\x20','getMappingInfo','(((.+)+)+)+$','__esModule','startsWith','logger','./file-index','mapFile','normalize','stringify','filter','findShortestFuzzyMatches','p-limit','toString','join','sources','keys','hasMappingInfo','sort','No\x20sources\x20listed\x20in\x20the\x20sourcemap\x20file\x20','column','sourcemap\x20file\x20','dirname','2294920zfRZUy','info','mappingInfo','error','Could\x20not\x20read\x20sourcemap\x20file\x20','substring','19230940ZdIWXl','line','\x20does\x20not\x20specify\x20a\x20sourcemap\x20file'];a22_0x1a4e=function(){return _0x2989c0;};return a22_0x1a4e();}(function(_0x456780,_0x4c004b){const _0xb2353d=a22_0x4040,_0x2719d7=_0x456780();while(!![]){try{const _0x1759ff=-parseInt(_0xb2353d(0xcc))/0x1*(parseInt(_0xb2353d(0xde))/0x2)+parseInt(_0xb2353d(0xdd))/0x3+-parseInt(_0xb2353d(0xbe))/0x4+parseInt(_0xb2353d(0xfb))/0x5+-parseInt(_0xb2353d(0xe0))/0x6*(parseInt(_0xb2353d(0xdc))/0x7)+-parseInt(_0xb2353d(0xce))/0x8+parseInt(_0xb2353d(0xcb))/0x9*(parseInt(_0xb2353d(0x101))/0xa);if(_0x1759ff===_0x4c004b)break;else _0x2719d7['push'](_0x2719d7['shift']());}catch(_0x27ffba){_0x2719d7['push'](_0x2719d7['shift']());}}}(a22_0x1a4e,0xc88be));const a22_0x2a6e6f=(function(){let _0x1db4a6=!![];return function(_0x1ea76d,_0x2c1562){const _0x1d2571=_0x1db4a6?function(){const _0x3126e2=a22_0x4040;if(_0x2c1562){const _0x190565=_0x2c1562[_0x3126e2(0xdf)](_0x1ea76d,arguments);return _0x2c1562=null,_0x190565;}}:function(){};return _0x1db4a6=![],_0x1d2571;};}()),a22_0x231c70=a22_0x2a6e6f(this,function(){const _0x3264b9=a22_0x4040;return a22_0x231c70[_0x3264b9(0xf1)]()['search']('(((.+)+)+)+$')['toString']()[_0x3264b9(0x105)](a22_0x231c70)[_0x3264b9(0xc6)](_0x3264b9(0xe6));});a22_0x231c70();'use strict';Object['defineProperty'](exports,a22_0x232caa(0xe7),{'value':!![]}),exports[a22_0x232caa(0xd5)]=exports[a22_0x232caa(0xc7)]=void 0x0;const fs=require('fs'),pLimit=require(a22_0x232caa(0xf0)),path=require('path'),util_1=require(a22_0x232caa(0xe1)),sourceMap=require(a22_0x232caa(0xe3)),file_index_1=require(a22_0x232caa(0xea)),CONCURRENCY=0xa,WEBPACK_PREFIX=a22_0x232caa(0xc3),readFilep=(0x0,util_1[a22_0x232caa(0xbf)])(fs['readFile']),MAP_EXT=a22_0x232caa(0xc0);async function processSourcemap(_0x53d330,_0x5ce6f2,_0x5deba5,_0xc5fef8){const _0x55debb=a22_0x232caa;_0xc5fef8&&_0x53d330[_0x55debb(0x106)](_0x55debb(0xd6),_0x5deba5);if(!_0x5deba5||!_0x5deba5[_0x55debb(0xc1)](MAP_EXT))throw new Error('The\x20path\x20'+_0x5deba5+_0x55debb(0x103));_0x5deba5=path[_0x55debb(0xec)](_0x5deba5);let _0x587bb4;try{_0x587bb4=await readFilep(_0x5deba5,_0x55debb(0xd3));}catch(_0x10ca5a){throw new Error(_0x55debb(0xff)+_0x5deba5+':\x20'+_0x10ca5a);}let _0x3cad26;try{_0x3cad26=new sourceMap['SourceMapConsumer'](_0x587bb4);}catch(_0x192a0b){_0x53d330['error'](_0x55debb(0xd8)+_0x5deba5+':\x20'+_0x192a0b),_0x53d330[_0x55debb(0xfe)](JSON[_0x55debb(0xed)](_0x192a0b)),_0xc5fef8&&_0x53d330[_0x55debb(0x106)]('CONTENT',_0x587bb4);throw new Error(_0x55debb(0xdb)+_0x55debb(0xf9)+_0x5deba5+':\x20'+_0x192a0b);}const _0x115b31=_0x3cad26['file']?_0x3cad26['file']:path[_0x55debb(0xd7)](_0x5deba5,_0x55debb(0xc0)),_0x448c7d=path[_0x55debb(0xfa)](_0x5deba5),_0x50e22d=path[_0x55debb(0xec)](path[_0x55debb(0xf2)](_0x448c7d,_0x115b31)),_0x1f7e72=_0x3cad26['sources'][_0x55debb(0xee)](_0x56f442=>!!_0x56f442)[_0x55debb(0xf6)]((_0x286772,_0x1f6750)=>_0x286772['length']-_0x1f6750[_0x55debb(0xd4)]),_0x2c191a=_0x1f7e72['map'](_0x1a9bda=>{const _0x593740=_0x55debb;if(_0x1a9bda[_0x593740(0xc8)]()[_0x593740(0xe8)](WEBPACK_PREFIX))return _0x1a9bda[_0x593740(0x100)](WEBPACK_PREFIX[_0x593740(0xd4)]);return _0x1a9bda;})[_0x55debb(0xc2)](_0x1920e9=>{const _0x50ead2=_0x55debb;return path[_0x50ead2(0xec)](path[_0x50ead2(0xf2)](_0x448c7d,_0x1920e9));});if(_0x2c191a[_0x55debb(0xd4)]===0x0)throw new Error(_0x55debb(0xf7)+_0x5deba5);for(const _0x5594ea of _0x2c191a){_0xc5fef8&&_0x53d330[_0x55debb(0xfc)](path['normalize'](_0x5594ea),_0x55debb(0xc5),_0x5deba5),_0x5ce6f2['set'](path['normalize'](_0x5594ea),{'outputFile':_0x50e22d,'mapFile':_0x5deba5,'mapConsumer':_0x3cad26,'sources':_0x1f7e72});}_0x53d330['debug'](_0x55debb(0xe4),_0x5deba5);}class SourceMapper{constructor(_0x231149){const _0x1aad3d=a22_0x232caa;this[_0x1aad3d(0xe9)]=_0x231149,this[_0x1aad3d(0x104)]=new Map();}[a22_0x232caa(0xe5)](_0xf087f4){const _0x5cd3ec=a22_0x232caa;if(this['infoMap']['has'](path[_0x5cd3ec(0xec)](_0xf087f4)))return{'entry':this[_0x5cd3ec(0x104)][_0x5cd3ec(0xd0)](_0xf087f4),'matchedPath':path[_0x5cd3ec(0xec)](_0xf087f4)};const _0x84edc=file_index_1[_0x5cd3ec(0xc4)][_0x5cd3ec(0xda)](Array['from'](this[_0x5cd3ec(0x104)][_0x5cd3ec(0xf4)]()))[_0x5cd3ec(0xef)](_0xf087f4);if(_0x84edc[_0x5cd3ec(0xd4)]===0x1)return{'entry':this[_0x5cd3ec(0x104)][_0x5cd3ec(0xd0)](_0x84edc[0x0]),'matchedPath':_0x84edc[0x0]};return null;}[a22_0x232caa(0xf5)](_0x4bcccf){return this['getMappingInfo'](_0x4bcccf)!==null;}[a22_0x232caa(0xfd)](_0x57e579,_0x183572,_0xb3b02b){const _0x38d485=a22_0x232caa;_0x57e579=path[_0x38d485(0xec)](_0x57e579);const _0x5f1167=this[_0x38d485(0xe5)](_0x57e579);if(!_0x5f1167)return null;const {entry:_0x1b0051,matchedPath:_0x2327e5}=_0x5f1167,_0x493c63=path['relative'](path['dirname'](_0x1b0051[_0x38d485(0xeb)]),_0x2327e5)[_0x38d485(0xca)](/\\/g,'/');let _0x494b4c=this[_0x38d485(0xd2)](_0x1b0051,_0x493c63);_0x494b4c=_0x494b4c||this[_0x38d485(0xd2)](_0x1b0051,_0x57e579);const _0x3f7032={'source':_0x494b4c||_0x493c63,'line':_0x183572+0x1,'column':_0xb3b02b},_0x1592e3=_0x1b0051['mapConsumer'],_0x5c41b1=_0x1592e3[_0x38d485(0xcf)](_0x3f7032),_0xef2083=_0x5c41b1&&_0x5c41b1[_0x38d485(0xd4)]>0x0?_0x5c41b1[_0x38d485(0xd1)]((_0x312f09,_0x3abd07)=>{const _0x23092c=_0x38d485;return _0x3abd07[_0x23092c(0x102)]<_0x312f09[_0x23092c(0x102)]?_0x3abd07:_0x312f09;}):_0x1592e3['generatedPositionFor'](_0x3f7032);return{'file':_0x1b0051[_0x38d485(0xd9)],'line':_0xef2083[_0x38d485(0x102)],'column':_0xef2083[_0x38d485(0xf8)]};}[a22_0x232caa(0xd2)](_0x4b16bd,_0xe03c2d){const _0x114507=a22_0x232caa;for(const _0x1164f1 of _0x4b16bd[_0x114507(0xf3)]){if(_0x1164f1[_0x114507(0xc1)](_0xe03c2d))return _0x1164f1;}return undefined;}}exports[a22_0x232caa(0xc7)]=SourceMapper;async function create(_0x5cd86a,_0x5c742c,_0x14c553){const _0x556e03=a22_0x232caa;_0x5cd86a[_0x556e03(0x106)](_0x556e03(0xcd));const _0x1c8fff=_0x14c553?pLimit(0x1):pLimit(CONCURRENCY),_0x36efb7=new SourceMapper(_0x5cd86a);_0x5cd86a[_0x556e03(0x106)](_0x556e03(0xe2),_0x5c742c[_0x556e03(0xd4)]);const _0xfdcf49=_0x5c742c[_0x556e03(0xc2)](_0x1454a5=>_0x1c8fff(()=>processSourcemap(_0x5cd86a,_0x36efb7['infoMap'],_0x1454a5,_0x14c553)));try{await Promise[_0x556e03(0xc9)](_0xfdcf49);}catch(_0x4fd848){_0x5cd86a[_0x556e03(0xfe)]('Failed\x20to\x20process\x20a\x20source\x20map\x20file',_0x4fd848),_0x5cd86a[_0x556e03(0xfe)](JSON[_0x556e03(0xed)](_0x4fd848));throw new Error('An\x20error\x20occurred\x20while\x20processing\x20the\x20sourcemap\x20files'+_0x4fd848);}return _0x36efb7;}exports[a22_0x232caa(0xd5)]=create;
|