lightrun 1.77.0 → 1.77.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/serverless.js +1 -1
- package/build/src/agent/state/inspector-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/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_0x355c68=a15_0xb580;function a15_0xb580(_0x29f519,_0x4be43b){const _0x37e24d=a15_0x37ff();return a15_0xb580=function(_0x2e57d4,_0x26fd9d){_0x2e57d4=_0x2e57d4-0x98;let _0x37ff97=_0x37e24d[_0x2e57d4];return _0x37ff97;},a15_0xb580(_0x29f519,_0x4be43b);}(function(_0x5512f0,_0x53522f){const _0x335d5=a15_0xb580,_0x5e7a3b=_0x5512f0();while(!![]){try{const _0x6fed41=-parseInt(_0x335d5(0xa6))/0x1+-parseInt(_0x335d5(0xa2))/0x2+parseInt(_0x335d5(0x9d))/0x3+-parseInt(_0x335d5(0xa5))/0x4+-parseInt(_0x335d5(0x98))/0x5+-parseInt(_0x335d5(0xa0))/0x6*(parseInt(_0x335d5(0x9e))/0x7)+parseInt(_0x335d5(0xa3))/0x8*(parseInt(_0x335d5(0x9c))/0x9);if(_0x6fed41===_0x53522f)break;else _0x5e7a3b['push'](_0x5e7a3b['shift']());}catch(_0x1ad0fc){_0x5e7a3b['push'](_0x5e7a3b['shift']());}}}(a15_0x37ff,0x32fa6));function a15_0x37ff(){const _0x3476c3=['constructor','defineProperty','toString','751455mRHvcI','870168HUEnMe','18949XmboRI','mapSubtract','552yOehhU','search','818058JErEqu','104bJhmrC','(((.+)+)+)+$','879432IowshX','156747UgVkaC','660035AkUHjG'];a15_0x37ff=function(){return _0x3476c3;};return a15_0x37ff();}const a15_0x26fd9d=(function(){let _0x13b5e4=!![];return function(_0x24713b,_0x1d1c0a){const _0x5dc69d=_0x13b5e4?function(){if(_0x1d1c0a){const _0x38bf70=_0x1d1c0a['apply'](_0x24713b,arguments);return _0x1d1c0a=null,_0x38bf70;}}:function(){};return _0x13b5e4=![],_0x5dc69d;};}()),a15_0x2e57d4=a15_0x26fd9d(this,function(){const _0x1545d6=a15_0xb580;return a15_0x2e57d4['toString']()['search']('(((.+)+)+)+$')[_0x1545d6(0x9b)]()[_0x1545d6(0x99)](a15_0x2e57d4)[_0x1545d6(0xa1)](_0x1545d6(0xa4));});a15_0x2e57d4();'use strict';Object[a15_0x355c68(0x9a)](exports,'__esModule',{'value':!![]}),exports[a15_0x355c68(0x9f)]=void 0x0;const mapSubtract=(_0x478b16,_0x2d4cbc)=>{const _0x331ca1=[];for(const _0x14a6a9 in _0x478b16){!_0x2d4cbc[_0x14a6a9]&&_0x331ca1['push'](_0x478b16[_0x14a6a9]);}return _0x331ca1;};exports['mapSubtract']=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a16_0x59e16c=a16_0x1c36;(function(_0x4a7524,_0xb2a521){const _0x2cfaf5=a16_0x1c36,_0x1dd853=_0x4a7524();while(!![]){try{const _0x340944=parseInt(_0x2cfaf5(0xdc))/0x1+parseInt(_0x2cfaf5(0xd3))/0x2+parseInt(_0x2cfaf5(0x101))/0x3*(-parseInt(_0x2cfaf5(0xfe))/0x4)+parseInt(_0x2cfaf5(0xe9))/0x5*(parseInt(_0x2cfaf5(0xcc))/0x6)+-parseInt(_0x2cfaf5(0xc7))/0x7*(-parseInt(_0x2cfaf5(0xd7))/0x8)+-parseInt(_0x2cfaf5(0xe5))/0x9*(parseInt(_0x2cfaf5(0xff))/0xa)+-parseInt(_0x2cfaf5(0xef))/0xb*(parseInt(_0x2cfaf5(0xda))/0xc);if(_0x340944===_0xb2a521)break;else _0x1dd853['push'](_0x1dd853['shift']());}catch(_0x1ddf24){_0x1dd853['push'](_0x1dd853['shift']());}}}(a16_0x449f,0x63be6));function a16_0x1c36(_0x3651f2,_0x56aefe){const _0x12abe5=a16_0x449f();return a16_0x1c36=function(_0x2a9d32,_0x6116af){_0x2a9d32=_0x2a9d32-0xc7;let _0x449fca=_0x12abe5[_0x2a9d32];return _0x449fca;},a16_0x1c36(_0x3651f2,_0x56aefe);}const a16_0x6116af=(function(){let _0x1c55bc=!![];return function(_0x220c42,_0x1a3989){const _0x373230=_0x1c55bc?function(){const _0x352927=a16_0x1c36;if(_0x1a3989){const _0x43c42f=_0x1a3989[_0x352927(0xe4)](_0x220c42,arguments);return _0x1a3989=null,_0x43c42f;}}:function(){};return _0x1c55bc=![],_0x373230;};}()),a16_0x2a9d32=a16_0x6116af(this,function(){const _0x2de5ec=a16_0x1c36;return a16_0x2a9d32[_0x2de5ec(0xe8)]()['search'](_0x2de5ec(0xcd))[_0x2de5ec(0xe8)]()[_0x2de5ec(0xed)](a16_0x2a9d32)[_0x2de5ec(0xf4)](_0x2de5ec(0xcd));});a16_0x2a9d32();'use strict';Object[a16_0x59e16c(0x100)](exports,'__esModule',{'value':!![]}),exports[a16_0x59e16c(0xf2)]=exports[a16_0x59e16c(0xe6)]=void 0x0;const extend=require(a16_0x59e16c(0xf3)),config_1=require('../config'),utils_1=require('../util/utils'),getAgentConfig_1=require(a16_0x59e16c(0xde)),limitConfig_1=require(a16_0x59e16c(0xdd)),validateConfig=_0x34f5ff=>{const _0x3f6669=a16_0x59e16c,_0x1e1414={};try{config_1['configSchema'][_0x3f6669(0xf0)](_0x34f5ff,{'abortEarly':![]});}catch(_0x4c9a57){_0x4c9a57[_0x3f6669(0xc8)][_0x3f6669(0xce)](_0x48ad5c=>_0x48ad5c[_0x3f6669(0xd6)]&&_0x48ad5c[_0x3f6669(0xfb)])[_0x3f6669(0xf7)](_0x39f21c=>{_0x1e1414[_0x39f21c['path']]=_0x39f21c['message'];});}return _0x1e1414;};exports[a16_0x59e16c(0xe6)]=validateConfig;const normalizeConfig=_0x8ca6c9=>{const _0x2a8abc=a16_0x59e16c,_0x38d70b={'serviceContext':{'service':process['env'][_0x2a8abc(0xcb)]??process[_0x2a8abc(0x103)][_0x2a8abc(0xd1)]??process[_0x2a8abc(0x103)][_0x2a8abc(0x105)],'version':process[_0x2a8abc(0x103)][_0x2a8abc(0xca)]??process[_0x2a8abc(0x103)][_0x2a8abc(0x104)]??process[_0x2a8abc(0x103)][_0x2a8abc(0xdf)],'minorVersion_':process[_0x2a8abc(0x103)]['GAE_DEPLOYMENT_ID']??process[_0x2a8abc(0x103)][_0x2a8abc(0xdb)]},'metadata':{'filename':process['env']['LIGHTRUN_METADATA_FILE'],'registration':{}},'lightrunSecret':process[_0x2a8abc(0x103)][_0x2a8abc(0xd0)],'apiEndpoint':process[_0x2a8abc(0x103)]['LIGHTRUN_API_ENDPOINT'],'noCheckCertificate':(0x0,utils_1[_0x2a8abc(0xf6)])(process['env'][_0x2a8abc(0xe3)]),'fetchBreakpointsOnce':(0x0,utils_1['getBooleanValue'])(process[_0x2a8abc(0x103)]['FETCH_BREAKPOINTS_ONCE']),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process[_0x2a8abc(0x103)][_0x2a8abc(0xe1)]),'lightrunInitWaitTimeMs':process['env']['LIGHTRUN_INIT_WAIT_TIME_MS'],'agentLog':_0x8ca6c9?.[_0x2a8abc(0xd2)]??{},'proxy':{'host':process[_0x2a8abc(0x103)][_0x2a8abc(0xeb)],'port':parseInt(process[_0x2a8abc(0x103)][_0x2a8abc(0xc9)]??'')||undefined,'username':process[_0x2a8abc(0x103)][_0x2a8abc(0xd5)],'password':process[_0x2a8abc(0x103)]['LIGHTRUN_PROXY_PASSWORD']}};process[_0x2a8abc(0x103)][_0x2a8abc(0xd8)]!==undefined&&(_0x38d70b['agentLog']['stdErrThreshold']=process[_0x2a8abc(0x103)]['LIGHTRUN_STD_ERR_THRESHOLD']);process['env']['AGENT_LOG_LEVEL']!==undefined&&(_0x38d70b[_0x2a8abc(0xd2)][_0x2a8abc(0xfd)]=process[_0x2a8abc(0x103)]['AGENT_LOG_LEVEL']);process[_0x2a8abc(0x103)][_0x2a8abc(0xee)]!==undefined&&(_0x38d70b['agentLog'][_0x2a8abc(0x106)]=process[_0x2a8abc(0x103)]['AGENT_LOG_TARGET_DIR']);process[_0x2a8abc(0x103)]['AGENT_LOG_MAX_FILE_COUNT']!==undefined&&(_0x38d70b[_0x2a8abc(0xd2)][_0x2a8abc(0xcf)]=parseInt(process['env']['AGENT_LOG_MAX_FILE_COUNT']));process[_0x2a8abc(0x103)][_0x2a8abc(0xe7)]!==undefined&&(_0x38d70b[_0x2a8abc(0xd2)]['agentLogMaxFileSizeMb']=parseInt(process[_0x2a8abc(0x103)]['AGENT_LOG_MAX_FILE_SIZE_MB']));process['env'][_0x2a8abc(0xf5)]&&(_0x38d70b[_0x2a8abc(0xf9)]['service']=process['env'][_0x2a8abc(0xf5)],_0x38d70b[_0x2a8abc(0xf9)][_0x2a8abc(0xe0)]=_0x2a8abc(0xfa));process[_0x2a8abc(0x103)]['LIGHTRUN_TAGS']&&(_0x38d70b[_0x2a8abc(0xd9)][_0x2a8abc(0xf1)]={'tags':process['env'][_0x2a8abc(0xec)][_0x2a8abc(0xf8)](',')});const _0x5d652f=(0x0,getAgentConfig_1[_0x2a8abc(0xfc)])(process[_0x2a8abc(0x103)][_0x2a8abc(0xe2)]??_0x8ca6c9?.[_0x2a8abc(0xd4)]??config_1[_0x2a8abc(0x102)][_0x2a8abc(0xd4)]),_0x1ca716=(0x0,limitConfig_1[_0x2a8abc(0xea)])(extend(!![],{},config_1[_0x2a8abc(0x102)],_0x5d652f,_0x8ca6c9,_0x38d70b)),_0x9f55b6=(0x0,exports[_0x2a8abc(0xe6)])(_0x1ca716);return{..._0x1ca716,'errors':_0x9f55b6};};exports[a16_0x59e16c(0xf2)]=normalizeConfig;function a16_0x449f(){const _0x47c840=['unversioned','message','getAgentConfig','agentLogLevel','124eBtBAJ','8570dWoqKY','defineProperty','51618UfHBKF','defaultConfig','env','GAE_MODULE_VERSION','K_SERVICE','agentLogTargetDir','16737QwLBal','inner','LIGHTRUN_PROXY_PORT','GAE_VERSION','GAE_SERVICE','19452buMrPU','(((.+)+)+)+$','filter','agentLogMaxFileCount','LIGHTRUN_SECRET','GAE_MODULE_NAME','agentLog','837738DUhOta','agentConfigFile','LIGHTRUN_PROXY_USERNAME','path','2624qNflHw','LIGHTRUN_STD_ERR_THRESHOLD','metadata','10488GDoNmJ','GAE_MINOR_VERSION','28698bfYHGW','./limitConfig','./getAgentConfig','K_REVISION','version','LIGHTRUN_WAIT_FOR_INIT','LIGHTRUN_AGENT_CONFIG','NO_CHECK_CERTIFICATE','apply','5067YWtVMB','validateConfig','AGENT_LOG_MAX_FILE_SIZE_MB','toString','1215UKMVjz','limitConfig','LIGHTRUN_PROXY_HOST','LIGHTRUN_TAGS','constructor','AGENT_LOG_TARGET_DIR','7491Wjkmob','validateSync','registration','normalizeConfig','extend','search','FUNCTION_NAME','getBooleanValue','forEach','split','serviceContext'];a16_0x449f=function(){return _0x47c840;};return a16_0x449f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a17_0x52dffd=a17_0x2702;(function(_0x5e201c,_0x5ca4db){const _0x19b711=a17_0x2702,_0x5bdb88=_0x5e201c();while(!![]){try{const _0x43264b=parseInt(_0x19b711(0x16f))/0x1+-parseInt(_0x19b711(0x17d))/0x2*(parseInt(_0x19b711(0x17a))/0x3)+-parseInt(_0x19b711(0x178))/0x4+parseInt(_0x19b711(0x17f))/0x5*(parseInt(_0x19b711(0x171))/0x6)+parseInt(_0x19b711(0x175))/0x7*(parseInt(_0x19b711(0x177))/0x8)+-parseInt(_0x19b711(0x172))/0x9+parseInt(_0x19b711(0x174))/0xa;if(_0x43264b===_0x5ca4db)break;else _0x5bdb88['push'](_0x5bdb88['shift']());}catch(_0xf674de){_0x5bdb88['push'](_0x5bdb88['shift']());}}}(a17_0x1ce4,0x1f7de));const a17_0x2ae5c8=(function(){let _0x4dd60f=!![];return function(_0x2f2114,_0x344ba8){const _0x24d42d=_0x4dd60f?function(){const _0x4f6ad2=a17_0x2702;if(_0x344ba8){const _0x5af036=_0x344ba8[_0x4f6ad2(0x173)](_0x2f2114,arguments);return _0x344ba8=null,_0x5af036;}}:function(){};return _0x4dd60f=![],_0x24d42d;};}()),a17_0x1bed13=a17_0x2ae5c8(this,function(){const _0x1f1011=a17_0x2702;return a17_0x1bed13['toString']()[_0x1f1011(0x17b)](_0x1f1011(0x179))[_0x1f1011(0x16e)]()[_0x1f1011(0x180)](a17_0x1bed13)[_0x1f1011(0x17b)]('(((.+)+)+)+$');});a17_0x1bed13();'use strict';function a17_0x2702(_0x43b1a8,_0x1c8cf7){const _0x2a31a5=a17_0x1ce4();return a17_0x2702=function(_0x1bed13,_0x2ae5c8){_0x1bed13=_0x1bed13-0x16c;let _0x1ce4c4=_0x2a31a5[_0x1bed13];return _0x1ce4c4;},a17_0x2702(_0x43b1a8,_0x1c8cf7);}Object[a17_0x52dffd(0x16c)](exports,a17_0x52dffd(0x176),{'value':!![]}),exports[a17_0x52dffd(0x17e)]=void 0x0;const delimit_1=require(a17_0x52dffd(0x170)),tokenize=(_0x4354b0,_0x78ca81)=>{const _0x41a47b=a17_0x52dffd;let _0x307fbb=(0x0,delimit_1['delimit'])(_0x4354b0,'$$');for(let _0x1d3931=_0x78ca81-0x1;_0x1d3931>=0x0;_0x1d3931--){const _0x2b4cdb=[];for(const _0x2338af of _0x307fbb){_0x2338af['v']?_0x2b4cdb[_0x41a47b(0x16d)](_0x2338af):_0x2b4cdb[_0x41a47b(0x16d)](...(0x0,delimit_1[_0x41a47b(0x17c)])(_0x2338af,'$'+_0x1d3931));}_0x307fbb=_0x2b4cdb;}return _0x307fbb;};function a17_0x1ce4(){const _0x3b7e1b=['apply','2178370fqxLPg','464954MIyFpf','__esModule','8xWrGWg','446592bBNsOU','(((.+)+)+)+$','3xtbhRV','search','delimit','334238fdqnhm','tokenize','305aCRXGt','constructor','defineProperty','push','toString','141930dtBciz','./delimit','2274lraJbD','373959FEjvtv'];a17_0x1ce4=function(){return _0x3b7e1b;};return a17_0x1ce4();}exports[a17_0x52dffd(0x17e)]=tokenize;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a18_0x541a(){const _0x5e6022=['clear','call','sourceContext','agentLog','breakpoints_fetch_registration_required','getRedactions','quotaRecoverySeconds','do\x20this.','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','mapFiles','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','breakpoints','collectAndSendLog','pid','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','promisify','\x09successfully\x20added\x20breakpoint\x20id\x20','has','location','Result:\x20\x0a','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','breakpoint_set','breakpoints_fetch_failed','__classPrivateFieldGet','parse','maxRequestRetryDelaySeconds','removeBreakpoint','deregister','isReady','ConfigurationProvider','remotelyDisabled','Registered\x20as\x20debuggee:\x20','hash','../types/stackdriver','scan','./environment-metadata','warn','breakpointUpdateIntervalSec','condition','waitForBreakpoints','normalizeConfig','function','quotaCheck','backoff','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','reporting\x20breakpoint\x20','StatusMessage','utf8','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','initError','redactionEnabled','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','readFile','once','errors','\x09Got\x20error\x20from\x20server.\x20status:\x20','push','forEach','format','Debuggee\x20is\x20not\x20registered','FileIndex','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','SIGQUIT','1644186euWbRl','waitForTransmissionQueueDrain','EventEmitter','Switching\x20globalPiping\x20status\x20from\x20','message','search','debuglet','isAtLeastInfo','Breakpoint','SIGINT','DEBUG','isLambda','UNSPECIFIED','REDACTED_PLACEHOLDER','all','stop','map','2380091YoJNuV','internal','sep','PatternsBlocklistManager','start','blacklist_exception','env','(((.+)+)+)+$','setIgnoreQuota','Registering\x20debuggee','APP_ONLY','expirationSeconds','Failed\x20to\x20','__esModule','keys','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','beforeExit','__classPrivateFieldSet','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','./io/file-index','agentLogTargetDir','debuggee','breakpoints_fetched','isRunning','stringifyBreakpointForInfoLog','events','scheduleBreakpointFetch_\x20','CachedPromise','./io/scanner','isError','logger','fetcherActive','setBlocklistManager','promise','replaceRedactedByValue','fromFileStats','join','\x09Notifying\x20server\x20about\x20error\x20for\x20','GAE-','Initializing\x20Node.js\x20agent\x20version:\x20','substring','normalize','defineProperty','\x20(type:\x20','workingDirectory','108774ylQtoU','mapSubtract','action','path','prettyError','globalPipingStatus','EnvironmentMetadata','CAPTURE','promiseResolve','logMainConfigParams','setPipingStatus','parameters','Scanner','.\x20Retrying\x20in\x20','1806678CILPGu','\x0a\x09createdTime:\x20','\x09Long\x20poll\x20completed.','activeBreakpointMap','ALLOW_EXPRESSIONS_MESSAGE','fromEntries','...\x20[truncated]','setPatterns','concat','4404692RWIUXb','resolve','stopped','removeListener','allowExpressions','\x09adding\x20breakpoint','isRedactionActive','split','stringify','./util/utils','kill','default','quota','bind','clientConnectionTimeoutInSeconds','apply','Server\x20breakpoints:\x0a','logLevel','findFiles','name','NOT_SET','enqueueBreakpointUpdate','./io/sourcemapper','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','Error\x20processing\x20the\x20sourcemaps.','\x20to\x20','\x20completed.','isDisabled','expirationTime','\x20caseInsensitive:\x20','setLevel','description','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','debug','selectFiles','now','js.map','get','entries','./debuglet-helpers/normalizeConfig','collectLogRequestId','createTime','./debuglet-helpers/mapSubtract','extend','jsFileIndex','./debuglet-helpers/format','Stopping\x20Debuglet','name:\x20','posix','listBreakpoints','PipingManager','createLogger','expressions','object','value','line','\x0a\x09condition:\x20','pipingStatus','re-register\x20debuggee\x20','1033927WqZGvD','agentLogMaxFileSizeMb','info','length','readFullVersion','cwd','inspect','QuotaManager','registration_failed','waitFor','sendAgentLogsToServer','register','Active\x20Breakpoints:\x20\x0a','Unknown\x20agentLogLevel\x20','wait','setCustomLogLevel','log','started','emit','source-context.json','blacklist','disable','status','then','getSourceContextFromFile','create','unref','RedactionManagerRE2JS','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','toString','constructor','add','.\x20message:\x20','shouldRedactByName','caseInsensitive','Controller','type','getProps','config','pipingManager','pipeLogs','register\x20debuggee','enable','./reduction/redaction-manager','ignoreQuota','./config','fetchBreakpointsOnce','Debuglet','agentLogMaxFileCount','packageInfo','agentLogLevel','4917080kpnSXo','GAE_MINOR_VERSION','pattern','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','\x20accepted\x20by\x20agent','295UfoSCq','values','../client/stackdriver/status-message','BREAKPOINT_ACTION_MESSAGE','error','set','javascriptFileExtensions','Error\x20scanning\x20the\x20filesystem.','./reduction/redaction-manager-re2js'];a18_0x541a=function(){return _0x5e6022;};return a18_0x541a();}const a18_0x34b10b=a18_0x588b;(function(_0x295305,_0x1dcf73){const _0x28b509=a18_0x588b,_0x451abd=_0x295305();while(!![]){try{const _0x207b99=parseInt(_0x28b509(0x17a))/0x1+parseInt(_0x28b509(0x136))/0x2+parseInt(_0x28b509(0x1fa))/0x3+-parseInt(_0x28b509(0x13f))/0x4+parseInt(_0x28b509(0x1b2))/0x5*(-parseInt(_0x28b509(0x128))/0x6)+-parseInt(_0x28b509(0x20b))/0x7+parseInt(_0x28b509(0x1ad))/0x8;if(_0x207b99===_0x1dcf73)break;else _0x451abd['push'](_0x451abd['shift']());}catch(_0x2f3716){_0x451abd['push'](_0x451abd['shift']());}}}(a18_0x541a,0x8fd6e));const a18_0x2eb9cf=(function(){let _0x9a9b9c=!![];return function(_0x2cc303,_0x118fa2){const _0x4aa0f7=_0x9a9b9c?function(){const _0x4b6ba1=a18_0x588b;if(_0x118fa2){const _0x491b76=_0x118fa2[_0x4b6ba1(0x14e)](_0x2cc303,arguments);return _0x118fa2=null,_0x491b76;}}:function(){};return _0x9a9b9c=![],_0x4aa0f7;};}()),a18_0x5c7303=a18_0x2eb9cf(this,function(){const _0x5d9013=a18_0x588b;return a18_0x5c7303[_0x5d9013(0x197)]()[_0x5d9013(0x1ff)](_0x5d9013(0x212))['toString']()[_0x5d9013(0x198)](a18_0x5c7303)[_0x5d9013(0x1ff)]('(((.+)+)+)+$');});a18_0x5c7303();'use strict';var __classPrivateFieldSet=this&&this[a18_0x34b10b(0x21d)]||function(_0x14e100,_0x1a107b,_0x553d1a,_0x3f66b8,_0x2d9584){const _0x2123d6=a18_0x34b10b;if(_0x3f66b8==='m')throw new TypeError('Private\x20method\x20is\x20not\x20writable');if(_0x3f66b8==='a'&&!_0x2d9584)throw new TypeError(_0x2123d6(0x21b));if(typeof _0x1a107b===_0x2123d6(0x1e4)?_0x14e100!==_0x1a107b||!_0x2d9584:!_0x1a107b['has'](_0x14e100))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x3f66b8==='a'?_0x2d9584[_0x2123d6(0x1bc)](_0x14e100,_0x553d1a):_0x2d9584?_0x2d9584[_0x2123d6(0x175)]=_0x553d1a:_0x1a107b[_0x2123d6(0x1b7)](_0x14e100,_0x553d1a),_0x553d1a;},__classPrivateFieldGet=this&&this[a18_0x34b10b(0x1d2)]||function(_0x160f39,_0x17dcb0,_0x3b93f1,_0x5e66c){const _0x14732f=a18_0x34b10b;if(_0x3b93f1==='a'&&!_0x5e66c)throw new TypeError(_0x14732f(0x1c9));if(typeof _0x17dcb0===_0x14732f(0x1e4)?_0x160f39!==_0x17dcb0||!_0x5e66c:!_0x17dcb0[_0x14732f(0x1cc)](_0x160f39))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x3b93f1==='m'?_0x5e66c:_0x3b93f1==='a'?_0x5e66c[_0x14732f(0x1bc)](_0x160f39):_0x5e66c?_0x5e66c[_0x14732f(0x175)]:_0x17dcb0[_0x14732f(0x164)](_0x160f39);},_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_clientConnectionTimeoutInSeconds,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a18_0x34b10b(0x125)](exports,a18_0x34b10b(0x218),{'value':!![]}),exports[a18_0x34b10b(0x1a9)]=exports[a18_0x34b10b(0x116)]=void 0x0;const assert=require('assert'),events_1=require(a18_0x34b10b(0x114)),extend=require(a18_0x34b10b(0x16a)),fs=require('fs'),path=require(a18_0x34b10b(0x12b)),util=require('util'),status_message_1=require(a18_0x34b10b(0x1b4)),stackdriver_1=require(a18_0x34b10b(0x1dc)),agent_logger_1=require('./agent-logger'),patterns_blocklist_manager_1=require('./blocklisting/patterns-blocklist-manager'),config_1=require(a18_0x34b10b(0x1a7)),configuration_provider_1=require('./configuration-provider'),controller_1=require('./controller'),createDebuggee_1=require('./debuglet-helpers/createDebuggee'),format_1=require(a18_0x34b10b(0x16c)),mapSubtract_1=require(a18_0x34b10b(0x169)),normalizeConfig_1=require(a18_0x34b10b(0x166)),environment_metadata_1=require(a18_0x34b10b(0x1de)),file_index_1=require(a18_0x34b10b(0x10e)),scanner_1=require(a18_0x34b10b(0x117)),SourceMapper=require(a18_0x34b10b(0x155)),piping_manager_1=require('./piping-manager'),quota_manager_1=require('./quota-manager'),redaction_manager_1=require(a18_0x34b10b(0x1a5)),utils_1=require(a18_0x34b10b(0x148)),debugapi=require('./v8/debugapi'),redaction_manager_re2js_1=require(a18_0x34b10b(0x1ba)),readFilep=util[a18_0x34b10b(0x1ca)](fs[a18_0x34b10b(0x1ef)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x42553e,_0x2f987d)=>{const _0x1d2cb0=a18_0x34b10b;let _0x2f12c0=_0x42553e+util[_0x1d2cb0(0x1f5)](_0x1d2cb0(0x21a),_0x2f987d['id'],_0x2f987d[_0x1d2cb0(0x12a)],util[_0x1d2cb0(0x180)](_0x2f987d[_0x1d2cb0(0x1cd)]));if(_0x2f987d[_0x1d2cb0(0x168)]){const _0x7cc4a4=Number(_0x2f987d[_0x1d2cb0(0x168)]['seconds']),_0x5c9093=new Date(_0x7cc4a4*0x3e8);_0x2f12c0+=_0x1d2cb0(0x137)+_0x5c9093[_0x1d2cb0(0x197)]();}return _0x2f987d[_0x1d2cb0(0x1e1)]&&(_0x2f12c0+=_0x1d2cb0(0x177)+util[_0x1d2cb0(0x180)](_0x2f987d[_0x1d2cb0(0x1e1)])),_0x2f987d['expressions']&&(_0x2f12c0+='\x0a\x09expressions:\x20'+util[_0x1d2cb0(0x180)](_0x2f987d[_0x1d2cb0(0x173)])),_0x2f12c0;},formatBreakpoints=(_0x1ec019,_0x43f2cf)=>_0x1ec019+Object[a18_0x34b10b(0x219)](_0x43f2cf)[a18_0x34b10b(0x20a)](_0x45b5ea=>formatBreakpoint('',_0x43f2cf[_0x45b5ea]))[a18_0x34b10b(0x11f)]('\x0a');class CachedPromise{constructor(){const _0x54d238=a18_0x34b10b;this[_0x54d238(0x130)]=null,this[_0x54d238(0x11c)]=new Promise(_0x56deb6=>{const _0x20d885=_0x54d238;this[_0x20d885(0x130)]=_0x56deb6;});}[a18_0x34b10b(0x164)](){const _0x398f81=a18_0x34b10b;return this[_0x398f81(0x11c)];}[a18_0x34b10b(0x140)](){const _0x1f6103=a18_0x34b10b;this[_0x1f6103(0x130)]&&(this[_0x1f6103(0x130)](),this['promiseResolve']=null);}}exports[a18_0x34b10b(0x116)]=CachedPromise;function a18_0x588b(_0x843c1d,_0x321a71){const _0x2d5347=a18_0x541a();return a18_0x588b=function(_0x5c7303,_0x2eb9cf){_0x5c7303=_0x5c7303-0x10e;let _0x541ae5=_0x2d5347[_0x5c7303];return _0x541ae5;},a18_0x588b(_0x843c1d,_0x321a71);}class IsReadyImpl{constructor(_0x260497){const _0x1db485=a18_0x34b10b;this[_0x1db485(0x200)]=_0x260497;}['isReady'](){const _0x48a8e5=a18_0x34b10b;return this[_0x48a8e5(0x200)][_0x48a8e5(0x1d7)]();}}class Debuglet extends events_1[a18_0x34b10b(0x1fc)]{constructor(_0x36eff3,_0x18efe){const _0x175a56=a18_0x34b10b;super(),_Debuglet_instances[_0x175a56(0x199)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_breakpointFetched[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x175a56(0x1b7)](this,null),this['isReadyManager']=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_scanner[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_redactionManager[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_configProvider[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds['set'](this,void 0x0),this['config']=(0x0,normalizeConfig_1[_0x175a56(0x1e3)])(_0x18efe),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x175a56(0x1d8))](this[_0x175a56(0x1a0)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x36eff3,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0x175a56(0x119)]=agent_logger_1[_0x175a56(0x14a)][_0x175a56(0x172)](this[_0x175a56(0x1a0)]['agentLog'][_0x175a56(0x10f)],this[_0x175a56(0x1a0)][_0x175a56(0x1be)][_0x175a56(0x17b)],this[_0x175a56(0x1a0)][_0x175a56(0x1be)][_0x175a56(0x1aa)],this[_0x175a56(0x1a0)][_0x175a56(0x1be)][_0x175a56(0x1ac)],this[_0x175a56(0x1a0)][_0x175a56(0x1be)]['stdErrThreshold']),(0x0,config_1[_0x175a56(0x131)])(this[_0x175a56(0x1a0)],this[_0x175a56(0x119)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x175a56(0x12e))](this[_0x175a56(0x119)])[_0x175a56(0x19f)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x175a56(0x19d))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x175a56(0x1a0)],this[_0x175a56(0x119)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x175a56(0x134))](this[_0x175a56(0x119)]),'f'),this[_0x175a56(0x110)]=null,this[_0x175a56(0x139)]={},__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[(_0x175a56(0x181))](this[_0x175a56(0x119)],this[_0x175a56(0x1a0)]),'f'),this[_0x175a56(0x1a1)]=new piping_manager_1[(_0x175a56(0x171))](_0x175a56(0x215),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x175a56(0x1a0)]);}async['waitForTransmissionQueueDrain'](_0x164322){const _0x211d33=a18_0x34b10b;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x211d33(0x1fb)](_0x164322);}['getClientConnectionTimeoutInSeconds'](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x34b10b(0x1e2)](_0x4d0f44){const _0x31b7b2=a18_0x34b10b,_0x23360c=0x32;let _0x54ff78=null;const _0x1168ee=()=>_0x54ff78=!![],_0x18828e=()=>_0x54ff78=![],_0x42d531=_0x337d1d=>{if(_0x337d1d)return;_0x1168ee();};let _0x2d9ebb=![];const _0x227cd0=_0x1055e9=>{const _0x456f4e=a18_0x588b;_0x2d9ebb&&_0x18828e(),_0x2d9ebb=!![],this[_0x456f4e(0x185)]();};this[_0x31b7b2(0x1f0)](_0x31b7b2(0x111),_0x42d531),this[_0x31b7b2(0x1f0)](_0x31b7b2(0x1d0),_0x1168ee);this[_0x31b7b2(0x1a0)][_0x31b7b2(0x20c)]?.[_0x31b7b2(0x205)]&&(this[_0x31b7b2(0x1f0)](_0x31b7b2(0x182),_0x18828e),this[_0x31b7b2(0x1f0)](_0x31b7b2(0x1d1),_0x18828e),this['once']('breakpoints_fetch_registration_required',_0x227cd0));if(_0x4d0f44){const _0x5a006a=Date[_0x31b7b2(0x162)]();while(_0x54ff78===null&&Date[_0x31b7b2(0x162)]()-_0x5a006a<_0x4d0f44){await(0x0,utils_1[_0x31b7b2(0x183)])(_0x23360c);}}return this['removeListener'](_0x31b7b2(0x111),_0x42d531),this[_0x31b7b2(0x142)](_0x31b7b2(0x1d0),_0x1168ee),this[_0x31b7b2(0x1a0)][_0x31b7b2(0x20c)]?.[_0x31b7b2(0x205)]&&(this['removeListener'](_0x31b7b2(0x182),_0x18828e),this[_0x31b7b2(0x142)](_0x31b7b2(0x1d1),_0x18828e),this[_0x31b7b2(0x142)](_0x31b7b2(0x1bf),_0x227cd0)),_0x54ff78===!![];}[a18_0x34b10b(0x1a8)](){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}['isRegistered'](){const _0x13026d=a18_0x34b10b;return this[_0x13026d(0x110)]?.['id']!==undefined;}async[a18_0x34b10b(0x151)](_0x288931,_0x5b5446){const _0x1716a6=a18_0x34b10b,_0x5bee35=_0x288931[_0x1716a6(0x127)],_0x448ec8=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x1716a6(0x1dd)](_0x5bee35,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x1716a6(0x1bc)](_a,_0x288931[_0x1716a6(0x1b8)][_0x1716a6(0x13e)](_0x1716a6(0x163))),_0x5b5446,_0x288931['extraPaths']),_0x32a2f1=_0x448ec8['selectStats'](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x288931[_0x1716a6(0x1b8)])),_0x23a77a=file_index_1[_0x1716a6(0x1f7)][_0x1716a6(0x11e)](_0x32a2f1),_0x12e1b2=_0x448ec8[_0x1716a6(0x161)](/.js.map$/,process[_0x1716a6(0x17f)]()),_0x2843e0=_0x448ec8[_0x1716a6(0x1f1)]();return{'mapFiles':_0x12e1b2,'errors':_0x2843e0,'jsFileIndex':_0x23a77a,'hash':_0x448ec8[_0x1716a6(0x1db)]};}async[a18_0x34b10b(0x20f)](){const _0x434fa2=a18_0x34b10b,_0x3bbba7=this[_0x434fa2(0x1a0)][_0x434fa2(0x127)];if(!this[_0x434fa2(0x1a0)]['allowRootAsWorkingDirectory']&&path[_0x434fa2(0x11f)](_0x3bbba7,'..')===_0x3bbba7){const _0x501381=_0x434fa2(0x196)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x434fa2(0x156)+_0x434fa2(0x1c2);this[_0x434fa2(0x119)][_0x434fa2(0x1b6)](_0x501381),this['emit'](_0x434fa2(0x1ec),new Error(_0x501381));return;}let _0x1bcb32;process['env'][_0x434fa2(0x1ae)]&&(_0x1bcb32=_0x434fa2(0x121)+process[_0x434fa2(0x211)][_0x434fa2(0x1ae)]);let _0x3f3ebc,_0x438043=_0x1bcb32??'';try{_0x3f3ebc=await this['findFiles'](this[_0x434fa2(0x1a0)],_0x1bcb32),_0x3f3ebc['errors'][_0x434fa2(0x1f4)](this[_0x434fa2(0x119)][_0x434fa2(0x1df)]);}catch(_0x2cee34){this[_0x434fa2(0x119)][_0x434fa2(0x1b6)](_0x434fa2(0x1b9),_0x2cee34),this[_0x434fa2(0x18c)](_0x434fa2(0x1ec),_0x2cee34);return;}try{const _0x5b203f=await SourceMapper[_0x434fa2(0x193)](this[_0x434fa2(0x119)],_0x3f3ebc[_0x434fa2(0x1c4)],this['config'][_0x434fa2(0x20c)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x434fa2(0x193)](this['logger'],this['config'],_0x3f3ebc[_0x434fa2(0x16b)],_0x5b203f,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x438043=_0x1bcb32??_0x3f3ebc[_0x434fa2(0x1db)];}catch(_0x34054d){this['logger']['error'](_0x434fa2(0x157),_0x34054d),this['logger'][_0x434fa2(0x17c)](JSON[_0x434fa2(0x147)](_0x34054d)),this[_0x434fa2(0x18c)]('initError',_0x34054d);}this[_0x434fa2(0x119)][_0x434fa2(0x17c)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x438043);const _0x554a27=(0x0,utils_1[_0x434fa2(0x17e)])(this[_0x434fa2(0x119)])['replace']('\x0a','');this[_0x434fa2(0x119)][_0x434fa2(0x17c)](_0x434fa2(0x122)+_0x554a27);let _0x392359;try{_0x392359=this[_0x434fa2(0x1a0)][_0x434fa2(0x1bd)]||await _a[_0x434fa2(0x192)]();}catch{}this['logger']['info'](_0x434fa2(0x15f)+process['mainModule']?.['filename']),this[_0x434fa2(0x119)][_0x434fa2(0x160)]('Working\x20directory:\x20'+_0x3bbba7),this[_0x434fa2(0x119)][_0x434fa2(0x160)]('Starting\x20debuggee'),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x434fa2(0x110)]=(0x0,createDebuggee_1['createDebuggee'])(_0x438043,this['config'],_0x392359,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x434fa2(0x1ab)],_0x554a27,this[_0x434fa2(0x119)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x434fa2(0x1bc)](this),this[_0x434fa2(0x185)](),this[_0x434fa2(0x18c)](_0x434fa2(0x18b));}[a18_0x34b10b(0x1d7)](){const _0x3415bc=a18_0x34b10b;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise['resolve']();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3415bc(0x164)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x3415bc(0x164)]()[_0x3415bc(0x191)](()=>{const _0x4957fd=_0x3415bc;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4957fd(0x1bc)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3415bc(0x164)]();}}static async['getSourceContextFromFile'](){const _0x314cd3=a18_0x34b10b,_0x40b72b=await readFilep(_0x314cd3(0x18d),_0x314cd3(0x1ea));try{return JSON[_0x314cd3(0x1d3)](_0x40b72b);}catch(_0x54dff8){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x54dff8);}}['register'](){const _0x5bf326=a18_0x34b10b;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x5bf326(0x1bc)](this,0x0);}[a18_0x34b10b(0x112)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x34b10b(0x209)](){const _0x21dd52=a18_0x34b10b;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x21dd52(0x119)][_0x21dd52(0x160)](_0x21dd52(0x1eb));return;}this[_0x21dd52(0x119)][_0x21dd52(0x160)](_0x21dd52(0x16d)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x21dd52(0x209)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x21dd52(0x18c)](_0x21dd52(0x141));}[a18_0x34b10b(0x113)](_0x5bd0e7){const _0x589789=a18_0x34b10b;if(!this['logger'][_0x589789(0x201)]())return _0x5bd0e7['id'];try{const _0x5181d5=JSON[_0x589789(0x147)](_0x5bd0e7);if(_0x5181d5[_0x589789(0x17d)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x5181d5;return _0x5181d5[_0x589789(0x123)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x589789(0x13c);}catch(_0x3407b5){return this['logger']['error'](_0x589789(0x1c3),_0x3407b5),_0x5bd0e7['id'];}}[a18_0x34b10b(0x189)](_0x39520a){const _0x279fdc=a18_0x34b10b,_0x4b9ea6=this[_0x279fdc(0x119)]['getInitialLevel']();if(_0x4b9ea6===_0x279fdc(0x160))return;switch(_0x39520a){case _0x279fdc(0x204):this[_0x279fdc(0x119)]['getLevel']()!==_0x279fdc(0x160)&&(this[_0x279fdc(0x119)][_0x279fdc(0x15d)](_0x279fdc(0x160)),this['logger']['debug'](_0x279fdc(0x1cf)));break;case _0x279fdc(0x153):case undefined:this[_0x279fdc(0x119)]['getLevel']()===_0x279fdc(0x160)&&(this[_0x279fdc(0x119)][_0x279fdc(0x15d)](_0x4b9ea6),this[_0x279fdc(0x119)][_0x279fdc(0x17c)](_0x279fdc(0x1f8)+_0x4b9ea6+')'));break;default:this[_0x279fdc(0x119)][_0x279fdc(0x1df)](_0x279fdc(0x187)+_0x39520a);}}}exports['Debuglet']=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_clientConnectionTimeoutInSeconds=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x4190f9){const _0x47b2a4=a18_0x34b10b;return new RegExp(_0x4190f9['map'](_0x1da703=>_0x1da703+'$')[_0x47b2a4(0x11f)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x7936aa=a18_0x34b10b,_0x5396a2=['SIGTERM',_0x7936aa(0x203),_0x7936aa(0x1f9)];_0x5396a2[_0x7936aa(0x1f4)](_0x56e0fb=>{const _0xfdc8e0=_0x7936aa;process[_0xfdc8e0(0x1f0)](_0x56e0fb,()=>{const _0x2917e3=_0xfdc8e0;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2917e3(0x1d6)](this[_0x2917e3(0x110)],()=>{const _0x5a4208=_0x2917e3;process[_0x5a4208(0x149)](process[_0x5a4208(0x1c8)],_0x56e0fb);});});}),process[_0x7936aa(0x1f0)](_0x7936aa(0x21c),()=>{const _0x26e40d=_0x7936aa;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x26e40d(0x1d6)](this[_0x26e40d(0x110)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0xdf7815){const _0x2aabef=a18_0x34b10b;this['logger']['debug'](_0xdf7815?'Scheduling\x20registration\x20in\x20'+_0xdf7815+'s':_0x2aabef(0x214));const _0x42f8c4=(_0x27f201,_0x36d17e,_0x2be71b=![])=>{const _0x1d9183=_0x2aabef;this[_0x1d9183(0x18c)]('registration_failed');const _0x1d7f96=this[_0x1d9183(0x110)]?.['id'],_0x1bbeb1=_0x1d7f96?_0x1d9183(0x179)+_0x1d7f96:_0x1d9183(0x1a3),_0x377e09=_0x1d9183(0x217)+_0x1bbeb1+':\x20'+(0x0,utils_1[_0x1d9183(0x12c)])(_0x27f201);this[_0x1d9183(0x119)][_0x1d9183(0x1b6)](_0x377e09),_0x36d17e&&!_0x2be71b&&this[_0x1d9183(0x119)]['error'](_0x1d9183(0x1ce),_0x36d17e),!this[_0x1d9183(0x1a0)][_0x1d9183(0x20c)]?.[_0x1d9183(0x205)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x1d9183(0x1bc)](this,(0x0,utils_1[_0x1d9183(0x1e6)])(_0xdf7815,this[_0x1d9183(0x1a0)][_0x1d9183(0x20c)][_0x1d9183(0x1d4)]));};setTimeout(()=>{const _0x453716=_0x2aabef;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x42f8c4(new Error('Debuglet\x20not\x20running'));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')['register'](this[_0x453716(0x110)],(_0x928b6c,_0x2295c4,_0x39771c=![])=>{const _0x1f4eb9=_0x453716;if(_0x928b6c){_0x42f8c4(_0x928b6c,_0x2295c4,_0x39771c);return;}if(_0x2295c4[_0x1f4eb9(0x110)][_0x1f4eb9(0x15a)]){_0x42f8c4(new Error('Disabled\x20by\x20the\x20server')),this[_0x1f4eb9(0x18c)](_0x1f4eb9(0x1d9));return;}const _0x36c4de=_0x2295c4[_0x1f4eb9(0x110)]['id'];this[_0x1f4eb9(0x119)]['info'](_0x1f4eb9(0x1da)+_0x36c4de),this[_0x1f4eb9(0x110)]['id']=_0x36c4de;const _0x1287f1=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x1f4eb9(0x14c)](this)(this[_0x1f4eb9(0x110)]['id'])];this[_0x1f4eb9(0x1a0)][_0x1f4eb9(0x1ed)]&&_0x1287f1[_0x1f4eb9(0x1f3)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x1f4eb9(0x14c)](this)(this[_0x1f4eb9(0x110)]['id'])),Promise[_0x1f4eb9(0x208)](_0x1287f1)[_0x1f4eb9(0x191)](()=>{const _0x381f88=_0x1f4eb9;this[_0x381f88(0x18c)]('registered',_0x36c4de),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x381f88(0x140)](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x381f88(0x11b)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x2295c4?.[_0x381f88(0x14d)],'f'),!this[_0x381f88(0x11a)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x381f88(0x1bc)](this,0x0,this['config'][_0x381f88(0x1a8)],_0x2295c4?.[_0x381f88(0x14d)]);},_0x31bc11=>{_0x42f8c4(_0x31bc11);});});},_0xdf7815*0x3e8)[_0x2aabef(0x194)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x51be00,_0x349879,_0x15da92){const _0x1dc68e=a18_0x34b10b;this[_0x1dc68e(0x119)][_0x1dc68e(0x160)](_0x1dc68e(0x115)+_0x51be00+'\x20'+_0x349879+'\x20'+_0x15da92),!_0x349879&&(this[_0x1dc68e(0x11a)]=!![]),setTimeout(()=>{const _0x5ee812=_0x1dc68e;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x349879&&assert(this[_0x5ee812(0x11a)]),this['logger']['debug']('Fetching\x20breakpoints'),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5ee812(0x170)](this['debuggee'],(_0x2960ff,_0x1b8b9c,_0x4d8db7)=>{const _0x459d7d=_0x5ee812;if(_0x4d8db7?.[_0x459d7d(0x190)]===0x194){this[_0x459d7d(0x119)]['info'](_0x459d7d(0x1f6)),this[_0x459d7d(0x11a)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x459d7d(0x1bc)](this);this['config']['internal']?.[_0x459d7d(0x205)]?this[_0x459d7d(0x18c)](_0x459d7d(0x1bf)):this[_0x459d7d(0x185)]();return;}if(_0x2960ff){if(this[_0x459d7d(0x1a0)][_0x459d7d(0x20c)]?.['isLambda'])this[_0x459d7d(0x18c)](_0x459d7d(0x1d1)),this[_0x459d7d(0x119)][_0x459d7d(0x1b6)]('\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20'+_0x4d8db7?.[_0x459d7d(0x190)]+_0x459d7d(0x19a)+_0x2960ff[_0x459d7d(0x1fe)]);else{const _0x584c6e=(0x0,utils_1[_0x459d7d(0x1e6)])(_0x51be00,this['config'][_0x459d7d(0x20c)][_0x459d7d(0x1d4)]);this[_0x459d7d(0x119)]['error'](_0x459d7d(0x1f2)+_0x4d8db7?.['status']+_0x459d7d(0x19a)+_0x2960ff[_0x459d7d(0x1fe)]+_0x459d7d(0x135)+_0x584c6e+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x459d7d(0x1bc)](this,_0x584c6e,_0x349879,_0x15da92);}return;}this[_0x459d7d(0x119)]['debug']('\x09'+_0x4d8db7[_0x459d7d(0x190)]+_0x459d7d(0x159));if(!_0x1b8b9c){const _0x59e1d6=this['config'][_0x459d7d(0x1e0)];this['logger'][_0x459d7d(0x1b6)](_0x459d7d(0x1c5)+_0x59e1d6+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,_0x59e1d6,_0x349879,_0x15da92);return;}this['setCustomLogLevel'](_0x1b8b9c[_0x459d7d(0x1ac)]);if(_0x1b8b9c['waitExpired']){this['logger'][_0x459d7d(0x17c)](_0x459d7d(0x138)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0x349879,_0x15da92);return;}if(_0x1b8b9c[_0x459d7d(0x1a2)]&&_0x1b8b9c[_0x459d7d(0x1a2)]!==_0x459d7d(0x153)){const _0x2e46c2=this[_0x459d7d(0x1a1)]['globalPipingStatus'];_0x2e46c2!==_0x1b8b9c[_0x459d7d(0x1a2)]&&(this['logger'][_0x459d7d(0x160)](_0x459d7d(0x1fd)+_0x2e46c2+_0x459d7d(0x158)+_0x1b8b9c[_0x459d7d(0x1a2)]),this[_0x459d7d(0x1a1)][_0x459d7d(0x12d)]=_0x1b8b9c['pipeLogs']);}if(_0x1b8b9c[_0x459d7d(0x1c7)]&&_0x1b8b9c[_0x459d7d(0x167)]!==this[_0x459d7d(0x167)]){this[_0x459d7d(0x167)]=_0x1b8b9c[_0x459d7d(0x167)];const _0x265f18=this[_0x459d7d(0x1a0)][_0x459d7d(0x1be)]['agentLogTargetDir']&&path[_0x459d7d(0x11f)](this[_0x459d7d(0x1a0)][_0x459d7d(0x1be)][_0x459d7d(0x10f)],agent_logger_1[_0x459d7d(0x14a)]['AGENT_LOG_FILE']);_0x265f18&&fs['existsSync'](_0x265f18)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x459d7d(0x184)](this[_0x459d7d(0x110)],_0x1b8b9c['collectLogRequestId'],_0x265f18)):this[_0x459d7d(0x119)][_0x459d7d(0x17c)](_0x459d7d(0x1ee)+_0x1b8b9c[_0x459d7d(0x167)]+'\x20because\x20'+_0x459d7d(0x1b0));}const _0x2b875c=(_0x1b8b9c[_0x459d7d(0x1c6)]||[])['map'](_0x4207cc=>new stackdriver_1[(_0x459d7d(0x202))](_0x4207cc))['filter'](_0x4dc3f4=>{const _0x3ad303=_0x459d7d,_0x280c3a=_0x4dc3f4['action']??_0x3ad303(0x12f);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4dc3f4['id']])return![];if(_0x280c3a!==_0x3ad303(0x12f)&&_0x280c3a!=='LOG')return this[_0x3ad303(0x119)][_0x3ad303(0x1df)]('Found\x20breakpoint\x20with\x20invalid\x20action:',_0x280c3a),_0x4dc3f4[_0x3ad303(0x190)]=new status_message_1['StatusMessage'](status_message_1[_0x3ad303(0x1e9)][_0x3ad303(0x206)],utils_1[_0x3ad303(0x1f1)][_0x3ad303(0x1b5)],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x3ad303(0x1bc)](this,_0x4dc3f4),![];return!![];}),_0x3ca3a6=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x459d7d(0x1bc)](this);let _0xfdfe07=_0x3ca3a6[_0x459d7d(0x17d)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x459d7d(0x1bc)](this,_0x3ca3a6),_0xfdfe07=_0xfdfe07||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](this,_0x2b875c),this['emit'](_0x459d7d(0x111),_0x2b875c['length']);_0xfdfe07&&this['logger'][_0x459d7d(0x160)](formatBreakpoints(_0x459d7d(0x186),this['activeBreakpointMap']));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x459d7d(0x162)](),'f');_0x349879?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x459d7d(0x140)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x459d7d(0x1bc)](this,0x0,_0x349879,_0x15da92);return;},_0x15da92);},_0x51be00*0x3e8)[_0x1dc68e(0x194)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x19316=a18_0x34b10b;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x19316(0x140)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x3edeaa){const _0x2ae4fb=a18_0x34b10b,_0x44a6e3=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x2ae4fb(0x1bc)](this,_0x3edeaa);let _0x25b7a1=![];return _0x3edeaa[_0x2ae4fb(0x1f4)](_0x3c5af0=>{const _0xf8c913=_0x2ae4fb;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x3c5af0['id']]&&!this[_0xf8c913(0x139)][_0x3c5af0['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0xf8c913(0x1bc)](this,_0x3c5af0,_0x1a8f16=>{const _0x396b03=_0xf8c913;_0x1a8f16&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x396b03(0x1bc)](this,_0x3c5af0,!![],![]);}),_0x25b7a1=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x3c5af0['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0xf8c913(0x213)](_0x3c5af0['id'],_0x3c5af0[_0xf8c913(0x1a6)]),this[_0xf8c913(0x1a1)][_0xf8c913(0x132)](_0x3c5af0['id'],_0x3c5af0[_0xf8c913(0x178)]);}),(0x0,mapSubtract_1[_0x2ae4fb(0x129)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x44a6e3)[_0x2ae4fb(0x1f4)](_0x8dbef=>{const {id:_0x58e980}=_0x8dbef;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x58e980],_0x25b7a1=!![];}),(0x0,mapSubtract_1[_0x2ae4fb(0x129)])(this['activeBreakpointMap'],_0x44a6e3)['forEach'](_0x4149a2=>{const _0x477fbd=_0x2ae4fb;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x477fbd(0x1bc)](this,_0x4149a2,!![]),_0x25b7a1=!![];}),_0x25b7a1&&this[_0x2ae4fb(0x119)][_0x2ae4fb(0x160)](formatBreakpoints(_0x2ae4fb(0x14f),_0x44a6e3)),_0x25b7a1;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x24932d){const _0x54640b=a18_0x34b10b;return Object[_0x54640b(0x13b)](_0x24932d['map'](_0x4c072c=>[_0x4c072c['id'],_0x4c072c]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x5011dc,_0x255605){const _0x94a381=a18_0x34b10b;this[_0x94a381(0x119)][_0x94a381(0x17c)]('\x09remove\x20breakpoint\x20id\x20'+_0x5011dc['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['removePerBreakpointQuota'](_0x5011dc['id']),this[_0x94a381(0x1a1)][_0x94a381(0x1d5)](_0x5011dc['id']),delete this[_0x94a381(0x139)][_0x5011dc['id']],_0x255605&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x94a381(0x1bb)](_0x5011dc,_0x422568=>{const _0x5198e0=_0x94a381;if(_0x422568)this['logger'][_0x5198e0(0x1b6)](_0x422568);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x43749f,_0x593f39){const _0x1d47ce=a18_0x34b10b;this[_0x1d47ce(0x119)][_0x1d47ce(0x17c)](_0x1d47ce(0x144),this['stringifyBreakpointForInfoLog'](_0x43749f));if(!this[_0x1d47ce(0x1a0)][_0x1d47ce(0x143)]&&(_0x43749f[_0x1d47ce(0x1e1)]||_0x43749f[_0x1d47ce(0x173)])){this[_0x1d47ce(0x119)][_0x1d47ce(0x1b6)](utils_1[_0x1d47ce(0x1f1)][_0x1d47ce(0x13a)][_0x1d47ce(0x15e)]??''),_0x43749f['status']=new status_message_1[(_0x1d47ce(0x1e9))](status_message_1['StatusMessage'][_0x1d47ce(0x206)],utils_1[_0x1d47ce(0x1f1)][_0x1d47ce(0x13a)],!![]),setImmediate(()=>{_0x593f39(utils_1['errors']['ALLOW_EXPRESSIONS_MESSAGE']);});return;}const _0x1ef83f=_0x43749f[_0x1d47ce(0x168)]?Number(_0x43749f[_0x1d47ce(0x168)]['seconds']):Date[_0x1d47ce(0x162)]()/0x3e8,_0x244e7a=_0x43749f[_0x1d47ce(0x216)]??this[_0x1d47ce(0x1a0)]['breakpointExpirationSec'];_0x43749f[_0x1d47ce(0x15b)]=_0x1ef83f+_0x244e7a,_0x43749f[_0x1d47ce(0x1cd)]?.[_0x1d47ce(0x12b)]&&(_0x43749f[_0x1d47ce(0x1cd)]['path']=path[_0x1d47ce(0x124)](_0x43749f[_0x1d47ce(0x1cd)][_0x1d47ce(0x12b)]),path[_0x1d47ce(0x20d)]===path[_0x1d47ce(0x16f)][_0x1d47ce(0x20d)]&&(_0x43749f['location'][_0x1d47ce(0x12b)]=_0x43749f[_0x1d47ce(0x1cd)]['path'][_0x1d47ce(0x146)]('\x5c')['join'](path[_0x1d47ce(0x20d)]))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x1d47ce(0x1b7)](_0x43749f,_0x1607aa=>{const _0x5eb1ef=_0x1d47ce;if(_0x1607aa){_0x593f39(_0x1607aa);return;}this[_0x5eb1ef(0x119)]['info'](_0x5eb1ef(0x1cb)+_0x43749f['id']),this[_0x5eb1ef(0x139)][_0x43749f['id']]=_0x43749f,_0x43749f[_0x5eb1ef(0x12a)]==='LOG'?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x5eb1ef(0x18a)](_0x43749f,(_0x48144d,_0x1c52ab)=>{const _0x64c0=_0x5eb1ef,_0x4c737b=_0x1c52ab['map'](_0x3440c9=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x3440c9)),_0x3c9716=(0x0,format_1[_0x64c0(0x1f5)])(_0x48144d,_0x4c737b),_0x5bf832='LOGPOINT:\x20'+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x64c0(0x11d)](_0x3c9716)??_0x3c9716),_0x229946=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x64c0(0x1e5)](_0x5bf832,_0x43749f['id']);if(_0x229946){const _0x70bf9e=_0x229946[_0x64c0(0x1fe)],{isOutOfQuota:_0xd3b8a1}=_0x229946;let _0xd96837,_0x204bdd;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x64c0(0x145)]()&&!_0xd3b8a1&&(_0xd96837='LOGPOINT:\x20'+_0x48144d,_0x204bdd=_0x4c737b);this[_0x64c0(0x1a1)]['addAndPipeLog'](this[_0x64c0(0x110)],_0x43749f['id'],_0x70bf9e,_0x43749f[_0x64c0(0x150)],_0xd96837,_0x204bdd);if(_0xd3b8a1)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x64c0(0x18f)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x29e43c=_0x64c0;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x29e43c(0x1a4)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this['config'][_0x64c0(0x14b)][_0x64c0(0x1c1)]*0x3e8),'f');else _0x70bf9e?.[_0x64c0(0x17d)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable']();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x43749f['id']],_0x10f667=>{const _0xee9c8a=_0x5eb1ef;if(_0x10f667){this[_0xee9c8a(0x119)]['error'](_0x10f667),_0x593f39(_0x10f667);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x5eb1ef(0x188)](_0x43749f,_0x3fe966=>{const _0x1ce826=_0x5eb1ef;if(_0x3fe966){setImmediate(()=>{const _0xc8bb4d=a18_0x588b;this['logger'][_0xc8bb4d(0x1b6)](_0x3fe966),_0x593f39(_0x3fe966);});return;}this[_0x1ce826(0x119)][_0x1ce826(0x17c)](_0x1ce826(0x1e7)+_0x43749f['id'],_0x43749f[_0x1ce826(0x1cd)]?.[_0x1ce826(0x12b)],_0x43749f[_0x1ce826(0x1cd)]?.[_0x1ce826(0x176)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x1ce826(0x1bc)](this,_0x43749f,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['remainingHits'](_0x43749f['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x5eb1ef(0x1bc)](this,_0x43749f);}),this['emit'](_0x1d47ce(0x1d0));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x4f0ac2,_0x40f8a0,_0x3a5c8f=!![]){const _0x3ab248=a18_0x34b10b;if(_0x4f0ac2[_0x3ab248(0x190)]?.[_0x3ab248(0x118)]){let _0x37cdcc=_0x4f0ac2[_0x3ab248(0x190)]?.['description']?.[_0x3ab248(0x1f5)]||'';_0x4f0ac2[_0x3ab248(0x190)]?.[_0x3ab248(0x15e)]?.[_0x3ab248(0x133)]&&(_0x37cdcc+=':\x20'+_0x4f0ac2['status']?.[_0x3ab248(0x15e)]?.[_0x3ab248(0x133)][_0x3ab248(0x197)]()),this[_0x3ab248(0x119)][_0x3ab248(0x1df)](_0x3ab248(0x120)+_0x4f0ac2+'.\x20Error:\x20'+_0x37cdcc);}else this[_0x3ab248(0x119)]['info'](_0x3ab248(0x21e),this[_0x3ab248(0x113)](_0x4f0ac2));_0x40f8a0&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4f0ac2['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3ab248(0x1bc)](this,_0x4f0ac2,_0x3a5c8f)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3ab248(0x154)](this[_0x3ab248(0x110)],extend(!![],{},_0x4f0ac2));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x585a27){const _0x12d490=a18_0x34b10b;this[_0x12d490(0x119)][_0x12d490(0x160)](_0x12d490(0x1e8)+_0x585a27+_0x12d490(0x1b1));const _0x4f13e3=extend(!![],{},_0x585a27);_0x4f13e3['isFinalState']=![],_0x4f13e3[_0x12d490(0x190)]=new status_message_1[(_0x12d490(0x1e9))](status_message_1[_0x12d490(0x1e9)]['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x12d490(0x154)](this['debuggee'],_0x4f13e3);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x152feb){const _0x2a842d=a18_0x34b10b;this[_0x2a842d(0x119)][_0x2a842d(0x17c)]('rejecting\x20breakpoint\x20id\x20'+_0x152feb),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x152feb['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2a842d(0x154)](this[_0x2a842d(0x110)],_0x152feb);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x364830){const _0x5aeef3=a18_0x34b10b;_0x364830[_0x5aeef3(0x1f4)](_0x15b9c7=>{const _0x3c6e94=_0x5aeef3;this[_0x3c6e94(0x119)][_0x3c6e94(0x17c)]('Expiring\x20breakpoint\x20id\x20'+_0x15b9c7['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x15b9c7['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3c6e94(0x1bc)](this,_0x15b9c7,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x1051b0=a18_0x34b10b,_0xb835f=Date[_0x1051b0(0x162)]()/0x3e8;return Object[_0x1051b0(0x1b3)](this['activeBreakpointMap'])['filter'](_0x25d5a6=>_0x25d5a6['expirationTime']?_0x25d5a6['expirationTime']<_0xb835f:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x4b5f40){const _0x4cb052=a18_0x34b10b,_0x1a8c5c=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x4b5f40),_0x7384c=_0x1a8c5c[_0x4cb052(0x18e)],_0x4d8807=_0x1a8c5c[_0x4cb052(0x210)];_0x7384c?.['length']&&this['logger'][_0x4cb052(0x160)]('Blacklist:\x20\x0a\x09',_0x7384c['join']('\x0a\x09')),_0x4d8807?.['length']&&this[_0x4cb052(0x119)][_0x4cb052(0x160)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0x4d8807[_0x4cb052(0x11f)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x4cb052(0x20e))](_0x7384c,_0x4d8807,this[_0x4cb052(0x1a0)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x1f3e0f){const _0x1dc299=a18_0x34b10b,_0x276fe5=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1dc299(0x1c0)](_0x1f3e0f);_0x276fe5?.[_0x1dc299(0x17d)]&&this['logger'][_0x1dc299(0x160)]('Redactions:\x20\x0a\x09',_0x276fe5['map'](_0x11061d=>_0x1dc299(0x16e)+_0x11061d[_0x1dc299(0x152)]+_0x1dc299(0x126)+_0x11061d[_0x1dc299(0x19e)]+'):\x20pattern:\x20'+_0x11061d[_0x1dc299(0x1af)]+_0x1dc299(0x15c)+_0x11061d[_0x1dc299(0x19c)])[_0x1dc299(0x11f)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x1dc299(0x195))](this[_0x1dc299(0x119)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1dc299(0x13d)](_0x276fe5);},_Debuglet_stringify=function _Debuglet_stringify(_0x1bfccf){const _0x28d5f2=a18_0x34b10b;if(!_0x1bfccf)return JSON[_0x28d5f2(0x147)](_0x1bfccf,(_0x114d0c,_0xc19911)=>_0xc19911===undefined?'undefined':_0xc19911);if(Array['isArray'](_0x1bfccf)){const _0x1915ac=_0x1bfccf[_0x28d5f2(0x20a)](_0x3e2a60=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x28d5f2(0x1bc)](this,_0x3e2a60));return'['+_0x1915ac[_0x28d5f2(0x11f)](',\x20')+']';}if(typeof _0x1bfccf===_0x28d5f2(0x174)){const _0x348291=Object[_0x28d5f2(0x165)](_0x1bfccf)[_0x28d5f2(0x20a)](([_0x750965,_0x4d5055])=>{const _0x23ee51=_0x28d5f2,_0x2d403b=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x23ee51(0x19b)](_0x750965)?redaction_manager_1[_0x23ee51(0x207)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x23ee51(0x1bc)](this,_0x4d5055);return JSON['stringify'](_0x750965)+':\x20'+_0x2d403b;})[_0x28d5f2(0x11f)](',\x20');return'{'+_0x348291+'}';}return JSON[_0x28d5f2(0x147)](_0x1bfccf);});
|
|
1
|
+
const a18_0x20e1db=a18_0x4e3c;(function(_0x317c12,_0x5c549f){const _0x47f08a=a18_0x4e3c,_0x6c31ab=_0x317c12();while(!![]){try{const _0x15356c=-parseInt(_0x47f08a(0x229))/0x1*(-parseInt(_0x47f08a(0x1d0))/0x2)+parseInt(_0x47f08a(0x202))/0x3+-parseInt(_0x47f08a(0x1e8))/0x4+parseInt(_0x47f08a(0x1a8))/0x5+-parseInt(_0x47f08a(0x25a))/0x6+-parseInt(_0x47f08a(0x1fc))/0x7*(-parseInt(_0x47f08a(0x19c))/0x8)+-parseInt(_0x47f08a(0x1f7))/0x9;if(_0x15356c===_0x5c549f)break;else _0x6c31ab['push'](_0x6c31ab['shift']());}catch(_0x3a8063){_0x6c31ab['push'](_0x6c31ab['shift']());}}}(a18_0x1403,0xc1f8b));const a18_0x2d6262=(function(){let _0x25d960=!![];return function(_0x418863,_0x7636a){const _0x19e624=_0x25d960?function(){const _0x33b04b=a18_0x4e3c;if(_0x7636a){const _0x189260=_0x7636a[_0x33b04b(0x251)](_0x418863,arguments);return _0x7636a=null,_0x189260;}}:function(){};return _0x25d960=![],_0x19e624;};}()),a18_0x169b52=a18_0x2d6262(this,function(){const _0x113246=a18_0x4e3c;return a18_0x169b52[_0x113246(0x185)]()[_0x113246(0x1ab)]('(((.+)+)+)+$')[_0x113246(0x185)]()['constructor'](a18_0x169b52)[_0x113246(0x1ab)](_0x113246(0x241));});a18_0x169b52();'use strict';function a18_0x4e3c(_0x283c8c,_0x341814){const _0x593afb=a18_0x1403();return a18_0x4e3c=function(_0x169b52,_0x2d6262){_0x169b52=_0x169b52-0x159;let _0x140369=_0x593afb[_0x169b52];return _0x140369;},a18_0x4e3c(_0x283c8c,_0x341814);}var __classPrivateFieldSet=this&&this[a18_0x20e1db(0x25c)]||function(_0x5bbcc2,_0x4af5ee,_0x506217,_0xe83dc9,_0x1c7201){const _0x2e75f9=a18_0x20e1db;if(_0xe83dc9==='m')throw new TypeError(_0x2e75f9(0x245));if(_0xe83dc9==='a'&&!_0x1c7201)throw new TypeError(_0x2e75f9(0x236));if(typeof _0x4af5ee===_0x2e75f9(0x21f)?_0x5bbcc2!==_0x4af5ee||!_0x1c7201:!_0x4af5ee[_0x2e75f9(0x1c8)](_0x5bbcc2))throw new TypeError(_0x2e75f9(0x246));return _0xe83dc9==='a'?_0x1c7201['call'](_0x5bbcc2,_0x506217):_0x1c7201?_0x1c7201[_0x2e75f9(0x222)]=_0x506217:_0x4af5ee[_0x2e75f9(0x190)](_0x5bbcc2,_0x506217),_0x506217;},__classPrivateFieldGet=this&&this[a18_0x20e1db(0x21a)]||function(_0x210a2f,_0x5aae9d,_0x1c7e38,_0xb9a7cf){const _0x3c27c8=a18_0x20e1db;if(_0x1c7e38==='a'&&!_0xb9a7cf)throw new TypeError(_0x3c27c8(0x239));if(typeof _0x5aae9d===_0x3c27c8(0x21f)?_0x210a2f!==_0x5aae9d||!_0xb9a7cf:!_0x5aae9d['has'](_0x210a2f))throw new TypeError(_0x3c27c8(0x242));return _0x1c7e38==='m'?_0xb9a7cf:_0x1c7e38==='a'?_0xb9a7cf['call'](_0x210a2f):_0xb9a7cf?_0xb9a7cf[_0x3c27c8(0x222)]:_0x5aae9d['get'](_0x210a2f);},_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_clientConnectionTimeoutInSeconds,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a18_0x20e1db(0x1cd)](exports,a18_0x20e1db(0x234),{'value':!![]}),exports[a18_0x20e1db(0x24f)]=exports['CachedPromise']=void 0x0;const assert=require(a18_0x20e1db(0x176)),events_1=require(a18_0x20e1db(0x1f4)),extend=require(a18_0x20e1db(0x1ba)),fs=require('fs'),path=require(a18_0x20e1db(0x15f)),util=require('util'),status_message_1=require(a18_0x20e1db(0x171)),stackdriver_1=require(a18_0x20e1db(0x17e)),agent_logger_1=require(a18_0x20e1db(0x1b1)),patterns_blocklist_manager_1=require('./blocklisting/patterns-blocklist-manager'),config_1=require(a18_0x20e1db(0x1ac)),configuration_provider_1=require(a18_0x20e1db(0x258)),controller_1=require(a18_0x20e1db(0x172)),createDebuggee_1=require(a18_0x20e1db(0x240)),format_1=require(a18_0x20e1db(0x25e)),mapSubtract_1=require(a18_0x20e1db(0x160)),normalizeConfig_1=require(a18_0x20e1db(0x1f1)),environment_metadata_1=require(a18_0x20e1db(0x1f0)),file_index_1=require('./io/file-index'),scanner_1=require(a18_0x20e1db(0x261)),SourceMapper=require(a18_0x20e1db(0x20b)),piping_manager_1=require(a18_0x20e1db(0x24a)),quota_manager_1=require('./quota-manager'),redaction_manager_1=require(a18_0x20e1db(0x1bb)),utils_1=require('./util/utils'),debugapi=require('./v8/debugapi'),redaction_manager_re2js_1=require(a18_0x20e1db(0x213)),readFilep=util[a18_0x20e1db(0x1cf)](fs['readFile']),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x35291a,_0x5b0766)=>{const _0x3958a2=a18_0x20e1db;let _0x2a3437=_0x35291a+util['format']('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x5b0766['id'],_0x5b0766[_0x3958a2(0x164)],util[_0x3958a2(0x194)](_0x5b0766['location']));if(_0x5b0766[_0x3958a2(0x15e)]){const _0x59aa0c=Number(_0x5b0766[_0x3958a2(0x15e)][_0x3958a2(0x1c5)]),_0x2c4d16=new Date(_0x59aa0c*0x3e8);_0x2a3437+=_0x3958a2(0x16d)+_0x2c4d16['toString']();}return _0x5b0766['condition']&&(_0x2a3437+='\x0a\x09condition:\x20'+util[_0x3958a2(0x194)](_0x5b0766[_0x3958a2(0x255)])),_0x5b0766[_0x3958a2(0x216)]&&(_0x2a3437+=_0x3958a2(0x1ee)+util[_0x3958a2(0x194)](_0x5b0766['expressions'])),_0x2a3437;},formatBreakpoints=(_0x3603da,_0x38e54c)=>_0x3603da+Object[a18_0x20e1db(0x1db)](_0x38e54c)[a18_0x20e1db(0x1b2)](_0x4971cd=>formatBreakpoint('',_0x38e54c[_0x4971cd]))[a18_0x20e1db(0x26c)]('\x0a');class CachedPromise{constructor(){const _0x3f7c93=a18_0x20e1db;this[_0x3f7c93(0x1f2)]=null,this[_0x3f7c93(0x1e3)]=new Promise(_0x56dafc=>{const _0x2fc786=_0x3f7c93;this[_0x2fc786(0x1f2)]=_0x56dafc;});}[a18_0x20e1db(0x247)](){const _0x40880a=a18_0x20e1db;return this[_0x40880a(0x1e3)];}[a18_0x20e1db(0x1e6)](){const _0x9a67d9=a18_0x20e1db;this['promiseResolve']&&(this[_0x9a67d9(0x1f2)](),this[_0x9a67d9(0x1f2)]=null);}}exports[a18_0x20e1db(0x184)]=CachedPromise;class IsReadyImpl{constructor(_0x364f35){const _0x39add2=a18_0x20e1db;this[_0x39add2(0x1e7)]=_0x364f35;}[a18_0x20e1db(0x177)](){const _0xe26e91=a18_0x20e1db;return this[_0xe26e91(0x1e7)][_0xe26e91(0x177)]();}}class Debuglet extends events_1[a18_0x20e1db(0x23f)]{constructor(_0x590c53,_0x2f8b64){const _0x455cda=a18_0x20e1db;super(),_Debuglet_instances['add'](this),_Debuglet_debug[_0x455cda(0x190)](this,void 0x0),_Debuglet_v8debug['set'](this,void 0x0),_Debuglet_running[_0x455cda(0x190)](this,void 0x0),_Debuglet_controller[_0x455cda(0x190)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x455cda(0x190)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x455cda(0x190)](this,void 0x0),_Debuglet_breakpointFetched[_0x455cda(0x190)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x455cda(0x190)](this,void 0x0),_Debuglet_nextEnableTimeout['set'](this,null),this['isReadyManager']=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner[_0x455cda(0x190)](this,void 0x0),_Debuglet_quotaManager[_0x455cda(0x190)](this,void 0x0),_Debuglet_blocklistManager[_0x455cda(0x190)](this,void 0x0),_Debuglet_redactionManager[_0x455cda(0x190)](this,void 0x0),_Debuglet_configProvider[_0x455cda(0x190)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds['set'](this,void 0x0),this[_0x455cda(0x17a)]=(0x0,normalizeConfig_1[_0x455cda(0x263)])(_0x2f8b64),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x455cda(0x182))](this[_0x455cda(0x17a)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x590c53,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x455cda(0x1e5)]=![],this[_0x455cda(0x161)]=agent_logger_1['default'][_0x455cda(0x1de)](this['config'][_0x455cda(0x1d3)]['agentLogTargetDir'],this[_0x455cda(0x17a)][_0x455cda(0x1d3)][_0x455cda(0x205)],this[_0x455cda(0x17a)][_0x455cda(0x1d3)][_0x455cda(0x19a)],this[_0x455cda(0x17a)][_0x455cda(0x1d3)][_0x455cda(0x18f)],this['config'][_0x455cda(0x1d3)][_0x455cda(0x215)]),(0x0,config_1['logMainConfigParams'])(this[_0x455cda(0x17a)],this[_0x455cda(0x161)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0x455cda(0x161)])[_0x455cda(0x18c)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x455cda(0x1d8))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x455cda(0x17a)],this[_0x455cda(0x161)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x455cda(0x188))](this[_0x455cda(0x161)]),'f'),this['debuggee']=null,this[_0x455cda(0x1c9)]={},__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[(_0x455cda(0x265))](this[_0x455cda(0x161)],this[_0x455cda(0x17a)]),'f'),this[_0x455cda(0x18a)]=new piping_manager_1[(_0x455cda(0x262))]('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x455cda(0x17a)]);}async[a18_0x20e1db(0x20e)](_0x2123f8){return __classPrivateFieldGet(this,_Debuglet_controller,'f')['waitForTransmissionQueueDrain'](_0x2123f8);}[a18_0x20e1db(0x217)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x20e1db(0x1eb)](_0x262808){const _0x7898d7=a18_0x20e1db,_0x242365=0x32;let _0x4328aa=null;const _0x3139fa=()=>_0x4328aa=!![],_0x166a47=()=>_0x4328aa=![],_0x19db4e=_0x58daa3=>{if(_0x58daa3)return;_0x3139fa();};let _0x3fcdb0=![];const _0x219243=_0x3af74d=>{const _0x47f180=a18_0x4e3c;_0x3fcdb0&&_0x166a47(),_0x3fcdb0=!![],this[_0x47f180(0x228)]();};this['once'](_0x7898d7(0x254),_0x19db4e),this[_0x7898d7(0x191)]('breakpoint_set',_0x3139fa);this['config'][_0x7898d7(0x233)]?.[_0x7898d7(0x175)]&&(this[_0x7898d7(0x191)](_0x7898d7(0x1da),_0x166a47),this[_0x7898d7(0x191)]('breakpoints_fetch_failed',_0x166a47),this[_0x7898d7(0x191)](_0x7898d7(0x271),_0x219243));if(_0x262808){const _0x34d9ec=Date[_0x7898d7(0x173)]();while(_0x4328aa===null&&Date[_0x7898d7(0x173)]()-_0x34d9ec<_0x262808){await(0x0,utils_1['waitFor'])(_0x242365);}}return this['removeListener']('breakpoints_fetched',_0x19db4e),this[_0x7898d7(0x206)](_0x7898d7(0x1e2),_0x3139fa),this[_0x7898d7(0x17a)][_0x7898d7(0x233)]?.[_0x7898d7(0x175)]&&(this[_0x7898d7(0x206)]('registration_failed',_0x166a47),this[_0x7898d7(0x206)](_0x7898d7(0x264),_0x166a47),this[_0x7898d7(0x206)](_0x7898d7(0x271),_0x219243)),_0x4328aa===!![];}[a18_0x20e1db(0x270)](){const _0x2c1ad8=a18_0x20e1db;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x2c1ad8(0x1d2)](this,0x0,!![]);}[a18_0x20e1db(0x1b3)](){const _0x3eba47=a18_0x20e1db;return this[_0x3eba47(0x23b)]?.['id']!==undefined;}async['findFiles'](_0x446dca,_0x364f62){const _0x1b87ca=a18_0x20e1db,_0x46eb3b=_0x446dca[_0x1b87ca(0x179)],_0x38d776=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x1b87ca(0x24e)](_0x46eb3b,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x446dca[_0x1b87ca(0x1fd)][_0x1b87ca(0x214)](_0x1b87ca(0x180))),_0x364f62,_0x446dca[_0x1b87ca(0x163)]),_0x2f69c4=_0x38d776['selectStats'](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x446dca[_0x1b87ca(0x1fd)])),_0x3df592=file_index_1[_0x1b87ca(0x24b)]['fromFileStats'](_0x2f69c4),_0x158042=_0x38d776[_0x1b87ca(0x203)](/.js.map$/,process[_0x1b87ca(0x1a4)]()),_0x4b8ff9=_0x38d776[_0x1b87ca(0x19b)]();return{'mapFiles':_0x158042,'errors':_0x4b8ff9,'jsFileIndex':_0x3df592,'hash':_0x38d776['hash']};}async[a18_0x20e1db(0x232)](){const _0x9a850c=a18_0x20e1db,_0x542dc5=this['config'][_0x9a850c(0x179)];if(!this[_0x9a850c(0x17a)][_0x9a850c(0x1ed)]&&path[_0x9a850c(0x26c)](_0x542dc5,'..')===_0x542dc5){const _0x291c2a=_0x9a850c(0x211)+_0x9a850c(0x22b)+'Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20'+_0x9a850c(0x1fe);this[_0x9a850c(0x161)]['error'](_0x291c2a),this[_0x9a850c(0x17f)]('initError',new Error(_0x291c2a));return;}let _0x3bbde7;process[_0x9a850c(0x1cc)]['GAE_MINOR_VERSION']&&(_0x3bbde7=_0x9a850c(0x1ef)+process[_0x9a850c(0x1cc)]['GAE_MINOR_VERSION']);let _0x257f80,_0x17a046=_0x3bbde7??'';try{_0x257f80=await this[_0x9a850c(0x19d)](this[_0x9a850c(0x17a)],_0x3bbde7),_0x257f80[_0x9a850c(0x19b)]['forEach'](this['logger'][_0x9a850c(0x1a9)]);}catch(_0x47f43f){this[_0x9a850c(0x161)][_0x9a850c(0x252)](_0x9a850c(0x235),_0x47f43f),this[_0x9a850c(0x17f)](_0x9a850c(0x1ca),_0x47f43f);return;}try{const _0xef7353=await SourceMapper[_0x9a850c(0x25b)](this[_0x9a850c(0x161)],_0x257f80[_0x9a850c(0x274)],this[_0x9a850c(0x17a)][_0x9a850c(0x233)]?.[_0x9a850c(0x1b4)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x9a850c(0x25b)](this['logger'],this[_0x9a850c(0x17a)],_0x257f80[_0x9a850c(0x174)],_0xef7353,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x17a046=_0x3bbde7??_0x257f80[_0x9a850c(0x15b)];}catch(_0x24707f){this[_0x9a850c(0x161)]['error']('Error\x20processing\x20the\x20sourcemaps.',_0x24707f),this['logger'][_0x9a850c(0x1c7)](JSON[_0x9a850c(0x162)](_0x24707f)),this['emit'](_0x9a850c(0x1ca),_0x24707f);}this[_0x9a850c(0x161)]['info'](_0x9a850c(0x225)+_0x17a046);const _0x480208=(0x0,utils_1['readFullVersion'])(this[_0x9a850c(0x161)])[_0x9a850c(0x1c1)]('\x0a','');this[_0x9a850c(0x161)][_0x9a850c(0x1c7)](_0x9a850c(0x17d)+_0x480208);let _0xbf7d77;try{_0xbf7d77=this[_0x9a850c(0x17a)][_0x9a850c(0x26a)]||await _a[_0x9a850c(0x1ae)]();}catch{}this['logger'][_0x9a850c(0x1c7)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process[_0x9a850c(0x269)]?.[_0x9a850c(0x1e4)]),this[_0x9a850c(0x161)][_0x9a850c(0x16f)](_0x9a850c(0x186)+_0x542dc5),this[_0x9a850c(0x161)]['debug']('Starting\x20debuggee'),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this['debuggee']=(0x0,createDebuggee_1[_0x9a850c(0x250)])(_0x17a046,this[_0x9a850c(0x17a)],_0xbf7d77,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x9a850c(0x165)],_0x480208,this[_0x9a850c(0x161)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)['call'](this),this['register'](),this[_0x9a850c(0x17f)](_0x9a850c(0x24d));}[a18_0x20e1db(0x177)](){const _0x3c7331=a18_0x20e1db;if(Date[_0x3c7331(0x173)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x3c7331(0x1e6)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3c7331(0x247)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x3c7331(0x247)]()[_0x3c7331(0x24c)](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3c7331(0x247)]();}}static async[a18_0x20e1db(0x1ae)](){const _0x29be42=a18_0x20e1db,_0x2d9b8f=await readFilep(_0x29be42(0x212),_0x29be42(0x21e));try{return JSON[_0x29be42(0x230)](_0x2d9b8f);}catch(_0x5def42){throw new Error(_0x29be42(0x23a)+_0x5def42);}}[a18_0x20e1db(0x228)](){const _0x5892df=a18_0x20e1db;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x5892df(0x1d2)](this,0x0);}[a18_0x20e1db(0x204)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0x1ea6ed=a18_0x20e1db;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x1ea6ed(0x161)][_0x1ea6ed(0x16f)](_0x1ea6ed(0x1d5));return;}this[_0x1ea6ed(0x161)][_0x1ea6ed(0x16f)](_0x1ea6ed(0x256)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x1ea6ed(0x276)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x1ea6ed(0x17f)](_0x1ea6ed(0x266));}[a18_0x20e1db(0x16b)](_0x255b97){const _0x4bfbc0=a18_0x20e1db;if(!this[_0x4bfbc0(0x161)][_0x4bfbc0(0x23c)]())return _0x255b97['id'];try{const _0x524f71=JSON[_0x4bfbc0(0x162)](_0x255b97);if(_0x524f71[_0x4bfbc0(0x1d6)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x524f71;return _0x524f71[_0x4bfbc0(0x20a)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x4bfbc0(0x1bf);}catch(_0x4fdd54){return this[_0x4bfbc0(0x161)][_0x4bfbc0(0x252)](_0x4bfbc0(0x178),_0x4fdd54),_0x255b97['id'];}}[a18_0x20e1db(0x22c)](_0x19713e){const _0x2ca9f5=a18_0x20e1db,_0x3f7c73=this[_0x2ca9f5(0x161)][_0x2ca9f5(0x1be)]();if(_0x3f7c73===_0x2ca9f5(0x16f))return;switch(_0x19713e){case'DEBUG':this[_0x2ca9f5(0x161)][_0x2ca9f5(0x16c)]()!==_0x2ca9f5(0x16f)&&(this['logger'][_0x2ca9f5(0x167)](_0x2ca9f5(0x16f)),this[_0x2ca9f5(0x161)]['debug'](_0x2ca9f5(0x189)));break;case _0x2ca9f5(0x1bc):case undefined:this[_0x2ca9f5(0x161)][_0x2ca9f5(0x16c)]()==='debug'&&(this[_0x2ca9f5(0x161)]['setLevel'](_0x3f7c73),this[_0x2ca9f5(0x161)]['info'](_0x2ca9f5(0x15c)+_0x3f7c73+')'));break;default:this[_0x2ca9f5(0x161)][_0x2ca9f5(0x1a9)](_0x2ca9f5(0x1ff)+_0x19713e);}}}function a18_0x1403(){const _0x311ec8=['breakpoints_fetch_registration_required','clear','normalize','mapFiles','.\x20Retrying\x20in\x20','stop','UNSPECIFIED','breakpointExpirationSec','hash','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','maxRequestRetryDelaySeconds','createTime','path','./debuglet-helpers/mapSubtract','logger','stringify','extraPaths','action','packageInfo','replaceRedactedByValue','setLevel','Disabled\x20by\x20the\x20server','\x09remove\x20breakpoint\x20id\x20','blacklist_exception','stringifyBreakpointForInfoLog','getLevel','\x0a\x09createdTime:\x20','disable','debug','collectLogRequestId','../client/stackdriver/status-message','./controller','now','jsFileIndex','isLambda','assert','isReady','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','workingDirectory','config','unref','.\x20Error:\x20','Initializing\x20Node.js\x20agent\x20version:\x20','../types/stackdriver','emit','js.map','StatusMessage','ConfigurationProvider','remainingHits','CachedPromise','toString','Working\x20directory:\x20','Registering\x20debuggee','Scanner','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','pipingManager','createPerBreakpointConditionQuota','getProps','PatternsBlocklistManager','enable','agentLogLevel','set','once','object','Expiring\x20breakpoint\x20id\x20','inspect','logLevel','breakpoints','removePerBreakpointQuota','isFinalState','undefined','agentLogMaxFileCount','errors','1987728zBrwFA','findFiles','SIGTERM','type','agentLogTargetDir','location','AGENT_LOG_FILE','scheduleBreakpointFetch_\x20','cwd','setBlocklistManager','pipingStatus','getBlocklist','4402255xbnsso','warn','setPatterns','search','./config','sep','getSourceContextFromFile','parameters','SIGINT','./agent-logger','map','isRegistered','sourceMapDiagnostics','format','RedactionManagerRE2JS','push','Result:\x20\x0a','SIGQUIT','extend','./reduction/redaction-manager','NOT_SET','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','getInitialLevel','...\x20[truncated]','removeBreakpoint','replace','pattern','blacklist','existsSync','seconds','expirationSeconds','info','has','activeBreakpointMap','initError','entries','env','defineProperty','sendAgentLogsToServer','promisify','462ZqLDuN','\x09successfully\x20added\x20breakpoint\x20id\x20','call','agentLog','description','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','length','LOG','Controller','filter','registration_failed','keys','CAPTURE','quotaCheck','createLogger','isDisabled','Server\x20breakpoints:\x0a','.\x20message:\x20','breakpoint_set','promise','filename','fetcherActive','resolve','debuglet','4413516uSmCJF','remotelyDisabled','message','waitForBreakpoints','enqueueBreakpointUpdate','allowRootAsWorkingDirectory','\x0a\x09expressions:\x20','GAE-','./environment-metadata','./debuglet-helpers/normalizeConfig','promiseResolve','Found\x20breakpoint\x20with\x20invalid\x20action:','events','addAndPipeLog','line','11595951faSWep','fromEntries','REDACTED_PLACEHOLDER','redactionEnabled','Blacklist\x20Exceptions:\x20\x0a\x09','21oCKJmx','javascriptFileExtensions','do\x20this.','Unknown\x20agentLogLevel\x20','Blacklist:\x20\x0a\x09','\x20accepted\x20by\x20agent','3839856IvgMrG','selectFiles','isRunning','agentLogMaxFileSizeMb','removeListener','):\x20pattern:\x20','\x20because\x20','values','substring','./io/sourcemapper','split','Scheduling\x20registration\x20in\x20','waitForTransmissionQueueDrain','all','name:\x20','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','source-context.json','./reduction/redaction-manager-re2js','concat','stdErrThreshold','expressions','getClientConnectionTimeoutInSeconds','shouldRedactByName','Active\x20Breakpoints:\x20\x0a','__classPrivateFieldGet','\x20(type:\x20','pipeLogs','kill','utf8','function','log','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','value','setPipingStatus','expirationTime','Unique\x20ID\x20for\x20this\x20Application:\x20','ALLOW_EXPRESSIONS_MESSAGE','deregister','register','3569MRNHya','mapSubtract','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','setCustomLogLevel','\x09Notifying\x20server\x20about\x20error\x20for\x20','bind','backoff','parse','wait','start','internal','__esModule','Error\x20scanning\x20the\x20filesystem.','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','isError','\x20caseInsensitive:\x20','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','Malformed\x20source-context.json\x20file:\x20','debuggee','isAtLeastInfo','\x20to\x20','quota','EventEmitter','./debuglet-helpers/createDebuggee','(((.+)+)+)+$','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','setIgnoreQuota','clientConnectionTimeoutInSeconds','Private\x20method\x20is\x20not\x20writable','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','get','beforeExit','breakpointUpdateIntervalSec','./piping-manager','FileIndex','then','started','scan','Debuglet','createDebuggee','apply','error','forEach','breakpoints_fetched','condition','Stopping\x20Debuglet','Switching\x20globalPiping\x20status\x20from\x20','./configuration-provider','isArray','3263490mKpvDV','create','__classPrivateFieldSet','status','./debuglet-helpers/format','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','./io/scanner','PipingManager','normalizeConfig','breakpoints_fetch_failed','QuotaManager','stopped','LOGPOINT:\x20','globalPipingStatus','mainModule','sourceContext','\x09Got\x20error\x20from\x20server.\x20status:\x20','join','\x09adding\x20breakpoint','Redactions:\x20\x0a\x09','caseInsensitive','fetchBreakpointsOnce'];a18_0x1403=function(){return _0x311ec8;};return a18_0x1403();}exports['Debuglet']=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_clientConnectionTimeoutInSeconds=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x597489){const _0xf7cddc=a18_0x20e1db;return new RegExp(_0x597489['map'](_0x2fe69a=>_0x2fe69a+'$')[_0xf7cddc(0x26c)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0xc8c3d0=a18_0x20e1db,_0x26e8cc=[_0xc8c3d0(0x19e),_0xc8c3d0(0x1b0),_0xc8c3d0(0x1b9)];_0x26e8cc[_0xc8c3d0(0x253)](_0x57c005=>{const _0x2e97c3=_0xc8c3d0;process[_0x2e97c3(0x191)](_0x57c005,()=>{const _0x1cb3c9=_0x2e97c3;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1cb3c9(0x227)](this['debuggee'],()=>{const _0x33fecf=_0x1cb3c9;process[_0x33fecf(0x21d)](process['pid'],_0x57c005);});});}),process['once'](_0xc8c3d0(0x248),()=>{const _0x54b1f1=_0xc8c3d0;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x54b1f1(0x227)](this['debuggee'],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x5bfeb1){const _0x9b76f2=a18_0x20e1db;this[_0x9b76f2(0x161)][_0x9b76f2(0x16f)](_0x5bfeb1?_0x9b76f2(0x20d)+_0x5bfeb1+'s':_0x9b76f2(0x187));const _0x45ffa2=(_0x18276e,_0x2bfdc8,_0x3cbe5b=![])=>{const _0x921e20=_0x9b76f2;this[_0x921e20(0x17f)](_0x921e20(0x1da));const _0x41f9e=this[_0x921e20(0x23b)]?.['id'],_0x204b48=_0x41f9e?'re-register\x20debuggee\x20'+_0x41f9e:'register\x20debuggee',_0x1d8d3e='Failed\x20to\x20'+_0x204b48+':\x20'+(0x0,utils_1['prettyError'])(_0x18276e);this['logger'][_0x921e20(0x252)](_0x1d8d3e),_0x2bfdc8&&!_0x3cbe5b&&this[_0x921e20(0x161)][_0x921e20(0x252)](_0x921e20(0x1b8),_0x2bfdc8),!this[_0x921e20(0x17a)]['internal']?.[_0x921e20(0x175)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x921e20(0x1d2)](this,(0x0,utils_1[_0x921e20(0x22f)])(_0x5bfeb1,this[_0x921e20(0x17a)][_0x921e20(0x233)][_0x921e20(0x15d)]));};setTimeout(()=>{const _0x4c465d=_0x9b76f2;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x45ffa2(new Error('Debuglet\x20not\x20running'));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4c465d(0x228)](this[_0x4c465d(0x23b)],(_0x4a0b24,_0x3953dc,_0x1ba064=![])=>{const _0x579ac2=_0x4c465d;if(_0x4a0b24){_0x45ffa2(_0x4a0b24,_0x3953dc,_0x1ba064);return;}if(_0x3953dc['debuggee'][_0x579ac2(0x1df)]){_0x45ffa2(new Error(_0x579ac2(0x168))),this[_0x579ac2(0x17f)](_0x579ac2(0x1e9));return;}const _0x186367=_0x3953dc[_0x579ac2(0x23b)]['id'];this[_0x579ac2(0x161)]['info']('Registered\x20as\x20debuggee:\x20'+_0x186367),this[_0x579ac2(0x23b)]['id']=_0x186367;const _0xc081df=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x579ac2(0x22e)](this)(this[_0x579ac2(0x23b)]['id'])];this['config'][_0x579ac2(0x1fa)]&&_0xc081df[_0x579ac2(0x1b7)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](this)(this['debuggee']['id'])),Promise[_0x579ac2(0x20f)](_0xc081df)[_0x579ac2(0x24c)](()=>{const _0x562f89=_0x579ac2;this[_0x562f89(0x17f)]('registered',_0x186367),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x562f89(0x1a5)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x3953dc?.['clientConnectionTimeoutInSeconds'],'f'),!this['fetcherActive']&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x562f89(0x1d2)](this,0x0,this[_0x562f89(0x17a)][_0x562f89(0x270)],_0x3953dc?.[_0x562f89(0x244)]);},_0x16acdf=>{_0x45ffa2(_0x16acdf);});});},_0x5bfeb1*0x3e8)[_0x9b76f2(0x17b)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x31c7a5,_0x437cbf,_0x3a7328){const _0x39d9ae=a18_0x20e1db;this[_0x39d9ae(0x161)][_0x39d9ae(0x16f)](_0x39d9ae(0x1a3)+_0x31c7a5+'\x20'+_0x437cbf+'\x20'+_0x3a7328),!_0x437cbf&&(this['fetcherActive']=!![]),setTimeout(()=>{const _0x5c7b3c=_0x39d9ae;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x437cbf&&assert(this[_0x5c7b3c(0x1e5)]),this[_0x5c7b3c(0x161)][_0x5c7b3c(0x16f)]('Fetching\x20breakpoints'),__classPrivateFieldGet(this,_Debuglet_controller,'f')['listBreakpoints'](this['debuggee'],(_0x500eb6,_0x28e5ae,_0x468ee1)=>{const _0x215a5a=_0x5c7b3c;if(_0x468ee1?.[_0x215a5a(0x25d)]===0x194){this['logger'][_0x215a5a(0x1c7)]('Debuggee\x20is\x20not\x20registered'),this[_0x215a5a(0x1e5)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)['call'](this);this[_0x215a5a(0x17a)]['internal']?.['isLambda']?this[_0x215a5a(0x17f)](_0x215a5a(0x271)):this['register']();return;}if(_0x500eb6){if(this[_0x215a5a(0x17a)][_0x215a5a(0x233)]?.[_0x215a5a(0x175)])this[_0x215a5a(0x17f)](_0x215a5a(0x264)),this['logger'][_0x215a5a(0x252)]('\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20'+_0x468ee1?.[_0x215a5a(0x25d)]+'.\x20message:\x20'+_0x500eb6[_0x215a5a(0x1ea)]);else{const _0x19c0c4=(0x0,utils_1['backoff'])(_0x31c7a5,this[_0x215a5a(0x17a)][_0x215a5a(0x233)]['maxRequestRetryDelaySeconds']);this[_0x215a5a(0x161)]['error'](_0x215a5a(0x26b)+_0x468ee1?.[_0x215a5a(0x25d)]+_0x215a5a(0x1e1)+_0x500eb6[_0x215a5a(0x1ea)]+_0x215a5a(0x275)+_0x19c0c4+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x215a5a(0x1d2)](this,_0x19c0c4,_0x437cbf,_0x3a7328);}return;}this[_0x215a5a(0x161)][_0x215a5a(0x16f)]('\x09'+_0x468ee1[_0x215a5a(0x25d)]+'\x20completed.');if(!_0x28e5ae){const _0x2ec38d=this[_0x215a5a(0x17a)][_0x215a5a(0x249)];this[_0x215a5a(0x161)][_0x215a5a(0x252)](_0x215a5a(0x25f)+_0x2ec38d+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x215a5a(0x1d2)](this,_0x2ec38d,_0x437cbf,_0x3a7328);return;}this[_0x215a5a(0x22c)](_0x28e5ae[_0x215a5a(0x18f)]);if(_0x28e5ae['waitExpired']){this['logger'][_0x215a5a(0x1c7)]('\x09Long\x20poll\x20completed.'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x215a5a(0x1d2)](this,0x0,_0x437cbf,_0x3a7328);return;}if(_0x28e5ae[_0x215a5a(0x21c)]&&_0x28e5ae['pipeLogs']!==_0x215a5a(0x1bc)){const _0x1a4e7f=this[_0x215a5a(0x18a)][_0x215a5a(0x268)];_0x1a4e7f!==_0x28e5ae[_0x215a5a(0x21c)]&&(this['logger'][_0x215a5a(0x16f)](_0x215a5a(0x257)+_0x1a4e7f+_0x215a5a(0x23d)+_0x28e5ae[_0x215a5a(0x21c)]),this[_0x215a5a(0x18a)]['globalPipingStatus']=_0x28e5ae[_0x215a5a(0x21c)]);}if(_0x28e5ae['collectAndSendLog']&&_0x28e5ae[_0x215a5a(0x170)]!==this[_0x215a5a(0x170)]){this[_0x215a5a(0x170)]=_0x28e5ae[_0x215a5a(0x170)];const _0x30e626=this[_0x215a5a(0x17a)][_0x215a5a(0x1d3)]['agentLogTargetDir']&&path[_0x215a5a(0x26c)](this[_0x215a5a(0x17a)][_0x215a5a(0x1d3)][_0x215a5a(0x1a0)],agent_logger_1['default'][_0x215a5a(0x1a2)]);_0x30e626&&fs[_0x215a5a(0x1c4)](_0x30e626)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x215a5a(0x1ce)](this[_0x215a5a(0x23b)],_0x28e5ae[_0x215a5a(0x170)],_0x30e626)):this[_0x215a5a(0x161)][_0x215a5a(0x1c7)](_0x215a5a(0x260)+_0x28e5ae[_0x215a5a(0x170)]+_0x215a5a(0x208)+_0x215a5a(0x221));}const _0x16b667=(_0x28e5ae[_0x215a5a(0x196)]||[])['map'](_0x2e3bc2=>new stackdriver_1['Breakpoint'](_0x2e3bc2))[_0x215a5a(0x1d9)](_0x2d1c1b=>{const _0x16b7d3=_0x215a5a,_0x16c0ec=_0x2d1c1b['action']??_0x16b7d3(0x1dc);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2d1c1b['id']])return![];if(_0x16c0ec!==_0x16b7d3(0x1dc)&&_0x16c0ec!==_0x16b7d3(0x1d7))return this['logger'][_0x16b7d3(0x1a9)](_0x16b7d3(0x1f3),_0x16c0ec),_0x2d1c1b[_0x16b7d3(0x25d)]=new status_message_1['StatusMessage'](status_message_1[_0x16b7d3(0x181)][_0x16b7d3(0x159)],utils_1['errors']['BREAKPOINT_ACTION_MESSAGE'],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x16b7d3(0x1d2)](this,_0x2d1c1b),![];return!![];}),_0x4b6884=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)['call'](this);let _0x467a83=_0x4b6884[_0x215a5a(0x1d6)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x215a5a(0x1d2)](this,_0x4b6884),_0x467a83=_0x467a83||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x215a5a(0x1d2)](this,_0x16b667),this[_0x215a5a(0x17f)](_0x215a5a(0x254),_0x16b667[_0x215a5a(0x1d6)]);_0x467a83&&this['logger'][_0x215a5a(0x16f)](formatBreakpoints(_0x215a5a(0x219),this[_0x215a5a(0x1c9)]));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x215a5a(0x173)](),'f');_0x437cbf?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x215a5a(0x1d2)](this,0x0,_0x437cbf,_0x3a7328);return;},_0x3a7328);},_0x31c7a5*0x3e8)[_0x39d9ae(0x17b)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x43e125){const _0x557719=a18_0x20e1db,_0xe276e1=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x557719(0x1d2)](this,_0x43e125);let _0xf3db8=![];return _0x43e125['forEach'](_0x14a854=>{const _0x3d2321=_0x557719;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x14a854['id']]&&!this[_0x3d2321(0x1c9)][_0x14a854['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](this,_0x14a854,_0xe5b16=>{const _0x3f76fc=_0x3d2321;_0xe5b16&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x3f76fc(0x1d2)](this,_0x14a854,!![],![]);}),_0xf3db8=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3d2321(0x18b)](_0x14a854['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3d2321(0x243)](_0x14a854['id'],_0x14a854['ignoreQuota']),this['pipingManager'][_0x3d2321(0x223)](_0x14a854['id'],_0x14a854[_0x3d2321(0x1a6)]);}),(0x0,mapSubtract_1[_0x557719(0x22a)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0xe276e1)[_0x557719(0x253)](_0x924654=>{const {id:_0x56cc97}=_0x924654;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x56cc97],_0xf3db8=!![];}),(0x0,mapSubtract_1[_0x557719(0x22a)])(this[_0x557719(0x1c9)],_0xe276e1)[_0x557719(0x253)](_0x2d34b7=>{const _0x5aba63=_0x557719;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x5aba63(0x1d2)](this,_0x2d34b7,!![]),_0xf3db8=!![];}),_0xf3db8&&this['logger'][_0x557719(0x16f)](formatBreakpoints(_0x557719(0x1e0),_0xe276e1)),_0xf3db8;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x106c67){const _0x996707=a18_0x20e1db;return Object[_0x996707(0x1f8)](_0x106c67[_0x996707(0x1b2)](_0x5ce1e2=>[_0x5ce1e2['id'],_0x5ce1e2]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x217012,_0x24447c){const _0x2588e5=a18_0x20e1db;this[_0x2588e5(0x161)][_0x2588e5(0x1c7)](_0x2588e5(0x169)+_0x217012['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x2588e5(0x197)](_0x217012['id']),this['pipingManager'][_0x2588e5(0x1c0)](_0x217012['id']),delete this[_0x2588e5(0x1c9)][_0x217012['id']],_0x24447c&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x2588e5(0x272)](_0x217012,_0x4a9850=>{const _0xa8996a=_0x2588e5;if(_0x4a9850)this[_0xa8996a(0x161)][_0xa8996a(0x252)](_0x4a9850);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x4e2246,_0x4caf98){const _0x21095b=a18_0x20e1db;this[_0x21095b(0x161)][_0x21095b(0x1c7)](_0x21095b(0x26d),this['stringifyBreakpointForInfoLog'](_0x4e2246));if(!this[_0x21095b(0x17a)]['allowExpressions']&&(_0x4e2246['condition']||_0x4e2246[_0x21095b(0x216)])){this[_0x21095b(0x161)][_0x21095b(0x252)](utils_1[_0x21095b(0x19b)][_0x21095b(0x226)][_0x21095b(0x1d4)]??''),_0x4e2246[_0x21095b(0x25d)]=new status_message_1[(_0x21095b(0x181))](status_message_1[_0x21095b(0x181)][_0x21095b(0x159)],utils_1['errors']['ALLOW_EXPRESSIONS_MESSAGE'],!![]),setImmediate(()=>{const _0x34d006=_0x21095b;_0x4caf98(utils_1[_0x34d006(0x19b)]['ALLOW_EXPRESSIONS_MESSAGE']);});return;}const _0x29b131=_0x4e2246[_0x21095b(0x15e)]?Number(_0x4e2246[_0x21095b(0x15e)][_0x21095b(0x1c5)]):Date[_0x21095b(0x173)]()/0x3e8,_0xee3b8d=_0x4e2246[_0x21095b(0x1c6)]??this['config'][_0x21095b(0x15a)];_0x4e2246[_0x21095b(0x224)]=_0x29b131+_0xee3b8d,_0x4e2246['location']?.[_0x21095b(0x15f)]&&(_0x4e2246['location']['path']=path[_0x21095b(0x273)](_0x4e2246[_0x21095b(0x1a1)][_0x21095b(0x15f)]),path[_0x21095b(0x1ad)]===path['posix'][_0x21095b(0x1ad)]&&(_0x4e2246[_0x21095b(0x1a1)][_0x21095b(0x15f)]=_0x4e2246[_0x21095b(0x1a1)][_0x21095b(0x15f)][_0x21095b(0x20c)]('\x5c')[_0x21095b(0x26c)](path['sep']))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x21095b(0x190)](_0x4e2246,_0x2c6914=>{const _0x895d0b=_0x21095b;if(_0x2c6914){_0x4caf98(_0x2c6914);return;}this[_0x895d0b(0x161)]['info'](_0x895d0b(0x1d1)+_0x4e2246['id']),this[_0x895d0b(0x1c9)][_0x4e2246['id']]=_0x4e2246,_0x4e2246[_0x895d0b(0x164)]===_0x895d0b(0x1d7)?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x895d0b(0x220)](_0x4e2246,(_0x5df921,_0x6a611b)=>{const _0x20f652=_0x895d0b,_0xd8718c=_0x6a611b[_0x20f652(0x1b2)](_0x357d07=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x20f652(0x1d2)](this,_0x357d07)),_0xa5e65b=(0x0,format_1[_0x20f652(0x1b5)])(_0x5df921,_0xd8718c),_0x14f3d7=_0x20f652(0x267)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x20f652(0x166)](_0xa5e65b)??_0xa5e65b),_0x1d9aa2=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x20f652(0x1dd)](_0x14f3d7,_0x4e2246['id']);if(_0x1d9aa2){const _0x9767=_0x1d9aa2[_0x20f652(0x1ea)],{isOutOfQuota:_0xe98c91}=_0x1d9aa2;let _0x1c4f85,_0x3958c0;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['isRedactionActive']()&&!_0xe98c91&&(_0x1c4f85=_0x20f652(0x267)+_0x5df921,_0x3958c0=_0xd8718c);this[_0x20f652(0x18a)][_0x20f652(0x1f5)](this[_0x20f652(0x23b)],_0x4e2246['id'],_0x9767,_0x4e2246[_0x20f652(0x195)],_0x1c4f85,_0x3958c0);if(_0xe98c91)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x20f652(0x16e)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x46a953=_0x20f652;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x46a953(0x18e)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this['config'][_0x20f652(0x23e)]['quotaRecoverySeconds']*0x3e8),'f');else _0x9767?.[_0x20f652(0x1d6)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x20f652(0x16e)]();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4e2246['id']],_0x169a9b=>{const _0x43de12=_0x895d0b;if(_0x169a9b){this[_0x43de12(0x161)][_0x43de12(0x252)](_0x169a9b),_0x4caf98(_0x169a9b);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x895d0b(0x231)](_0x4e2246,_0xef89e6=>{const _0x4ca2b2=_0x895d0b;if(_0xef89e6){setImmediate(()=>{const _0xefd6cd=a18_0x4e3c;this[_0xefd6cd(0x161)][_0xefd6cd(0x252)](_0xef89e6),_0x4caf98(_0xef89e6);});return;}this[_0x4ca2b2(0x161)][_0x4ca2b2(0x1c7)](_0x4ca2b2(0x1bd)+_0x4e2246['id'],_0x4e2246[_0x4ca2b2(0x1a1)]?.[_0x4ca2b2(0x15f)],_0x4e2246['location']?.[_0x4ca2b2(0x1f6)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x4e2246,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x4ca2b2(0x183)](_0x4e2246['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x895d0b(0x1d2)](this,_0x4e2246);}),this[_0x21095b(0x17f)](_0x21095b(0x1e2));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0xf07ef7,_0x413c8,_0xeebd7b=!![]){const _0x178230=a18_0x20e1db;if(_0xf07ef7[_0x178230(0x25d)]?.[_0x178230(0x237)]){let _0x829212=_0xf07ef7[_0x178230(0x25d)]?.[_0x178230(0x1d4)]?.['format']||'';_0xf07ef7[_0x178230(0x25d)]?.[_0x178230(0x1d4)]?.[_0x178230(0x1af)]&&(_0x829212+=':\x20'+_0xf07ef7[_0x178230(0x25d)]?.[_0x178230(0x1d4)]?.[_0x178230(0x1af)][_0x178230(0x185)]()),this[_0x178230(0x161)][_0x178230(0x1a9)](_0x178230(0x22d)+_0xf07ef7+_0x178230(0x17c)+_0x829212);}else this[_0x178230(0x161)][_0x178230(0x1c7)]('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',this[_0x178230(0x16b)](_0xf07ef7));_0x413c8&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0xf07ef7['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x178230(0x1d2)](this,_0xf07ef7,_0xeebd7b)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x178230(0x1ec)](this[_0x178230(0x23b)],extend(!![],{},_0xf07ef7));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x140fb2){const _0x76c349=a18_0x20e1db;this['logger'][_0x76c349(0x16f)]('reporting\x20breakpoint\x20'+_0x140fb2+_0x76c349(0x201));const _0x3e8180=extend(!![],{},_0x140fb2);_0x3e8180[_0x76c349(0x198)]=![],_0x3e8180['status']=new status_message_1['StatusMessage'](status_message_1['StatusMessage'][_0x76c349(0x159)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x76c349(0x23b)],_0x3e8180);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x438b2e){const _0xf0b7df=a18_0x20e1db;this[_0xf0b7df(0x161)]['info']('rejecting\x20breakpoint\x20id\x20'+_0x438b2e),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x438b2e['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xf0b7df(0x1ec)](this[_0xf0b7df(0x23b)],_0x438b2e);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x2235bb){_0x2235bb['forEach'](_0x2d28ce=>{const _0x5ba58a=a18_0x4e3c;this[_0x5ba58a(0x161)][_0x5ba58a(0x1c7)](_0x5ba58a(0x193)+_0x2d28ce['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2d28ce['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x5ba58a(0x1d2)](this,_0x2d28ce,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x48e4e5=a18_0x20e1db,_0x209760=Date[_0x48e4e5(0x173)]()/0x3e8;return Object[_0x48e4e5(0x209)](this[_0x48e4e5(0x1c9)])[_0x48e4e5(0x1d9)](_0x4083a9=>_0x4083a9[_0x48e4e5(0x224)]?_0x4083a9[_0x48e4e5(0x224)]<_0x209760:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0xcafa2){const _0x32e681=a18_0x20e1db,_0x18beef=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x32e681(0x1a7)](_0xcafa2),_0x5684b3=_0x18beef[_0x32e681(0x1c3)],_0x4a8dfe=_0x18beef[_0x32e681(0x16a)];_0x5684b3?.[_0x32e681(0x1d6)]&&this[_0x32e681(0x161)]['debug'](_0x32e681(0x200),_0x5684b3[_0x32e681(0x26c)]('\x0a\x09')),_0x4a8dfe?.['length']&&this[_0x32e681(0x161)][_0x32e681(0x16f)](_0x32e681(0x1fb),_0x4a8dfe['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x32e681(0x18d))](_0x5684b3,_0x4a8dfe,this[_0x32e681(0x17a)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x442aa6){const _0x1acac1=a18_0x20e1db,_0x4fff84=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getRedactions'](_0x442aa6);_0x4fff84?.[_0x1acac1(0x1d6)]&&this['logger']['debug'](_0x1acac1(0x26e),_0x4fff84[_0x1acac1(0x1b2)](_0x45758a=>_0x1acac1(0x210)+_0x45758a['name']+_0x1acac1(0x21b)+_0x45758a[_0x1acac1(0x19f)]+_0x1acac1(0x207)+_0x45758a[_0x1acac1(0x1c2)]+_0x1acac1(0x238)+_0x45758a[_0x1acac1(0x26f)])[_0x1acac1(0x26c)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x1acac1(0x1b6))](this[_0x1acac1(0x161)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1acac1(0x1aa)](_0x4fff84);},_Debuglet_stringify=function _Debuglet_stringify(_0x441623){const _0x3fa35a=a18_0x20e1db;if(!_0x441623)return JSON[_0x3fa35a(0x162)](_0x441623,(_0x467b9d,_0x3a8d24)=>_0x3a8d24===undefined?_0x3fa35a(0x199):_0x3a8d24);if(Array[_0x3fa35a(0x259)](_0x441623)){const _0x394d76=_0x441623[_0x3fa35a(0x1b2)](_0x390322=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x3fa35a(0x1d2)](this,_0x390322));return'['+_0x394d76[_0x3fa35a(0x26c)](',\x20')+']';}if(typeof _0x441623===_0x3fa35a(0x192)){const _0x26722f=Object[_0x3fa35a(0x1cb)](_0x441623)[_0x3fa35a(0x1b2)](([_0x3e7817,_0x425382])=>{const _0x3e987d=_0x3fa35a,_0x5385df=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x3e987d(0x218)](_0x3e7817)?redaction_manager_1[_0x3e987d(0x1f9)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x3e987d(0x1d2)](this,_0x425382);return JSON[_0x3e987d(0x162)](_0x3e7817)+':\x20'+_0x5385df;})[_0x3fa35a(0x26c)](',\x20');return'{'+_0x26722f+'}';}return JSON[_0x3fa35a(0x162)](_0x441623);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a19_0x683e(){const _0x4e4948=['/.dockerenv','1079926dGhIAJ','Linux','_osRelease','pid','length','replace','get','5FFBdMz','linux','constructor','existsSync','apply','isInK8s','VERSION_ID','windows','version','search','trim','defineProperty','3502992VmvDzQ','1770092ZntrGU','error','Windows','EnvironmentMetadata','forEach','release','systemTotalMemoryBytes','mac','linuxDistroName','arm64','osVersion','_cachedOsRelease','platform','810446MHXNZF','readFileSync','\x20on\x20','procArch','getProps','MacOS','split','cpuCoreCount','toString','env','_logger','6227543iXFjQv','arch','3191676nyYqjb','runtimeEnvironmentInfo','cpus','agentOS','Node.js\x20','arm','runtimeEnvironmentVersion','node','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','(((.+)+)+)+$','isInDocker','x32','x64','12585200pPugQk','host','__esModule'];a19_0x683e=function(){return _0x4e4948;};return a19_0x683e();}const a19_0x364216=a19_0x1ab9;(function(_0x54e917,_0x241863){const _0x4d72ee=a19_0x1ab9,_0x3fd233=_0x54e917();while(!![]){try{const _0xc0bda3=-parseInt(_0x4d72ee(0x9f))/0x1+parseInt(_0x4d72ee(0x7e))/0x2+-parseInt(_0x4d72ee(0x91))/0x3+parseInt(_0x4d72ee(0x92))/0x4*(parseInt(_0x4d72ee(0x85))/0x5)+-parseInt(_0x4d72ee(0xac))/0x6+parseInt(_0x4d72ee(0xaa))/0x7+parseInt(_0x4d72ee(0x7a))/0x8;if(_0xc0bda3===_0x241863)break;else _0x3fd233['push'](_0x3fd233['shift']());}catch(_0x3beae2){_0x3fd233['push'](_0x3fd233['shift']());}}}(a19_0x683e,0xe453d));Object[a19_0x364216(0x90)](exports,a19_0x364216(0x7c),{'value':!![]}),exports['EnvironmentMetadata']=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require('assert');var OS;(function(_0x1fcbd0){const _0x1e9c38=a19_0x364216,_0x5e6f2f=(function(){let _0x3bd414=!![];return function(_0x284dbc,_0x451af9){const _0x4dbd5d=_0x3bd414?function(){const _0xd20820=a19_0x1ab9;if(_0x451af9){const _0x1469d7=_0x451af9[_0xd20820(0x89)](_0x284dbc,arguments);return _0x451af9=null,_0x1469d7;}}:function(){};return _0x3bd414=![],_0x4dbd5d;};}()),_0x21a05a=_0x5e6f2f(this,function(){const _0xc39746=a19_0x1ab9;return _0x21a05a['toString']()[_0xc39746(0x8e)]('(((.+)+)+)+$')[_0xc39746(0xa7)]()[_0xc39746(0x87)](_0x21a05a)['search'](_0xc39746(0x76));});_0x21a05a(),_0x1fcbd0[_0x1e9c38(0x7f)]=_0x1e9c38(0x86),_0x1fcbd0[_0x1e9c38(0x94)]=_0x1e9c38(0x8c),_0x1fcbd0[_0x1e9c38(0xa4)]=_0x1e9c38(0x99);}(OS||(OS={})));var ProcArch;(function(_0x114223){const _0x34c69b=a19_0x364216;_0x114223[_0x34c69b(0x79)]='x64',_0x114223['x32']='x32',_0x114223[_0x34c69b(0x72)]='arm',_0x114223[_0x34c69b(0x9b)]='arm64';}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS['Linux'],'win32':OS[a19_0x364216(0x94)],'darwin':OS[a19_0x364216(0xa4)]},ArchToProcArchMap={'x32':ProcArch[a19_0x364216(0x78)],'x64':ProcArch[a19_0x364216(0x79)],'arm':ProcArch[a19_0x364216(0x72)],'arm64':ProcArch['arm64']};function a19_0x1ab9(_0x448948,_0x92341d){const _0x270cce=a19_0x683e();return a19_0x1ab9=function(_0x52d70a,_0x478858){_0x52d70a=_0x52d70a-0x70;let _0x683eff=_0x270cce[_0x52d70a];return _0x683eff;},a19_0x1ab9(_0x448948,_0x92341d);}class EnvironmentMetadata{constructor(_0x1f30a4){const _0x311ae2=a19_0x364216;assert(_0x1f30a4!==null),this[_0x311ae2(0xa9)]=_0x1f30a4;}get['runtimeEnvironmentVersion'](){const _0x3f475b=a19_0x364216;try{const _0x165fd0=process['versions'][_0x3f475b(0x74)]['match'](/(\d+\.\d+)\..*/);if(_0x165fd0)return _0x165fd0[0x1];}catch(_0x2927fc){this[_0x3f475b(0xa9)][_0x3f475b(0x93)](_0x2927fc);}return;}get[a19_0x364216(0xad)](){const _0x2303db=a19_0x364216;return _0x2303db(0x71)+process[_0x2303db(0x8d)]+_0x2303db(0xa1)+(0x0,os_1[_0x2303db(0x9e)])()+'\x20'+(0x0,os_1[_0x2303db(0x97)])();}get[a19_0x364216(0x81)](){const _0x2eb3a5=a19_0x364216;return process[_0x2eb3a5(0x81)][_0x2eb3a5(0xa7)]();}get[a19_0x364216(0xa2)](){const _0x37e8fb=a19_0x364216;return ArchToProcArchMap[process[_0x37e8fb(0xab)]]||process[_0x37e8fb(0xab)];}get[a19_0x364216(0xa6)](){const _0x3324d1=a19_0x364216;return(0x0,os_1[_0x3324d1(0xae)])()[_0x3324d1(0x82)];}get[a19_0x364216(0x98)](){return(0x0,os_1['totalmem'])();}get[a19_0x364216(0x7b)](){return(0x0,os_1['hostname'])();}get['agentOS'](){const _0x1eb860=a19_0x364216;return PlatformToOsMap[(0x0,os_1[_0x1eb860(0x9e)])()]||(0x0,os_1[_0x1eb860(0x9e)])();}get['osVersion'](){const _0x1e9092=a19_0x364216;try{if(this[_0x1e9092(0x70)]===OS[_0x1e9092(0x7f)])return this[_0x1e9092(0x80)][_0x1e9092(0x84)](_0x1e9092(0x8b))??(0x0,os_1[_0x1e9092(0x97)])();return(0x0,os_1[_0x1e9092(0x97)])();}catch(_0x49283d){this[_0x1e9092(0xa9)][_0x1e9092(0x93)](_0x49283d);}return;}get[a19_0x364216(0x9a)](){const _0x34eb70=a19_0x364216;return this['agentOS']===OS[_0x34eb70(0x7f)]&&this[_0x34eb70(0x80)][_0x34eb70(0x84)]('ID')||'';}get['isInDocker'](){const _0x4e8656=a19_0x364216;return this['agentOS']===OS[_0x4e8656(0x7f)]?(0x0,fs_1[_0x4e8656(0x88)])(_0x4e8656(0x7d)):![];}get[a19_0x364216(0x8a)](){const _0x27b57f=a19_0x364216;return!!process[_0x27b57f(0xa8)]['KUBERNETES_SERVICE_HOST'];}get[a19_0x364216(0x80)](){const _0x567cb3=a19_0x364216;if(!this[_0x567cb3(0x9d)]){this[_0x567cb3(0x9d)]=new Map();try{if(this['agentOS']===OS['Linux']){const _0x2b86c5=(0x0,fs_1[_0x567cb3(0xa0)])('/etc/os-release','utf-8');_0x2b86c5['split'](/\r?\n/)[_0x567cb3(0x96)](_0x37e166=>{const _0x3e0eed=_0x567cb3,[_0x467d17,_0x2255e8]=_0x37e166[_0x3e0eed(0x8f)]()[_0x3e0eed(0xa5)]('=');this[_0x3e0eed(0x9d)]?.['set'](_0x467d17,_0x2255e8?.[_0x3e0eed(0x83)](/^"|"$/g,'')||'');});}}catch(_0x13fe23){this[_0x567cb3(0xa9)]['warn'](_0x567cb3(0x75),_0x13fe23);}}return this['_cachedOsRelease'];}[a19_0x364216(0xa3)](){const _0x4a7691=a19_0x364216;return{'runtimeEnvironmentVersion':this[_0x4a7691(0x73)],'runtimeEnvironmentInfo':this[_0x4a7691(0xad)],'pid':this[_0x4a7691(0x81)],'cpuCoreCount':this['cpuCoreCount'],'systemTotalMemoryBytes':this[_0x4a7691(0x98)],'host':this['host'],'agentOS':this['agentOS'],'osVersion':this[_0x4a7691(0x9c)],'linuxDistroName':this[_0x4a7691(0x9a)]||undefined,'isInDocker':this[_0x4a7691(0x77)],'isInK8s':this[_0x4a7691(0x8a)],'procArch':this[_0x4a7691(0xa2)]};}}exports[a19_0x364216(0x95)]=EnvironmentMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0x1147a6=a20_0x53e7;function a20_0x53e7(_0x1ddf2c,_0x2c3831){const _0x3da65e=a20_0x14bd();return a20_0x53e7=function(_0x49d941,_0x43d58b){_0x49d941=_0x49d941-0xb4;let _0x14bd18=_0x3da65e[_0x49d941];return _0x14bd18;},a20_0x53e7(_0x1ddf2c,_0x2c3831);}(function(_0x21d939,_0x1861ff){const _0x1ccabc=a20_0x53e7,_0x12c8b0=_0x21d939();while(!![]){try{const _0x226410=parseInt(_0x1ccabc(0xb9))/0x1+parseInt(_0x1ccabc(0xcd))/0x2*(-parseInt(_0x1ccabc(0xc9))/0x3)+parseInt(_0x1ccabc(0xba))/0x4+-parseInt(_0x1ccabc(0xcf))/0x5+parseInt(_0x1ccabc(0xd9))/0x6*(parseInt(_0x1ccabc(0xb5))/0x7)+parseInt(_0x1ccabc(0xc4))/0x8+parseInt(_0x1ccabc(0xca))/0x9*(parseInt(_0x1ccabc(0xbc))/0xa);if(_0x226410===_0x1861ff)break;else _0x12c8b0['push'](_0x12c8b0['shift']());}catch(_0x34aff1){_0x12c8b0['push'](_0x12c8b0['shift']());}}}(a20_0x14bd,0xd3bf8));const a20_0x43d58b=(function(){let _0x2fb2e7=!![];return function(_0xccbce9,_0x4bcab0){const _0x360c2a=_0x2fb2e7?function(){const _0x3fe4b5=a20_0x53e7;if(_0x4bcab0){const _0x3d84fe=_0x4bcab0[_0x3fe4b5(0xbb)](_0xccbce9,arguments);return _0x4bcab0=null,_0x3d84fe;}}:function(){};return _0x2fb2e7=![],_0x360c2a;};}()),a20_0x49d941=a20_0x43d58b(this,function(){const _0x1f06e8=a20_0x53e7;return a20_0x49d941['toString']()['search'](_0x1f06e8(0xd0))[_0x1f06e8(0xd1)]()[_0x1f06e8(0xd4)](a20_0x49d941)[_0x1f06e8(0xb8)](_0x1f06e8(0xd0));});a20_0x49d941();'use strict';Object[a20_0x1147a6(0xc7)](exports,a20_0x1147a6(0xbd),{'value':!![]}),exports['FileIndex']=void 0x0;const path=require('path');function a20_0x14bd(){const _0x3f0432=['_fileStats','15994KIFKdr','map','4319200kMYdHK','(((.+)+)+)+$','toString','generateSubPaths','fromFileList','constructor','size','push','length','stripStartingSep','366gXJhKe','startsWith','sep','40691xGgaDd','substr','indexOf','search','194342xDAoUd','830308IrFSRG','apply','82070ScwSYm','__esModule','buildIndex','fileStats','substring','fromFileStats','get','set','233304ATboLB','add','fileIndex','defineProperty','includes','24ASRhbT','1107JKotDv','filter'];a20_0x14bd=function(){return _0x3f0432;};return a20_0x14bd();}class FileIndex{constructor(_0x2ece00){const _0x3c7b52=a20_0x1147a6;this[_0x3c7b52(0xcc)]=_0x2ece00,this[_0x3c7b52(0xc6)]=new Map();}static[a20_0x1147a6(0xc1)](_0x47ac68){const _0x534205=a20_0x1147a6,_0x242bdb=new FileIndex(_0x47ac68);return _0x242bdb[_0x534205(0xbe)](Object['keys'](_0x47ac68)||[]),_0x242bdb;}static[a20_0x1147a6(0xd3)](_0x9dcd46){const _0x5db985=a20_0x1147a6,_0x262dfb=new FileIndex(undefined);return _0x262dfb[_0x5db985(0xbe)](_0x9dcd46||[]),_0x262dfb;}get[a20_0x1147a6(0xbf)](){const _0x5598ba=a20_0x1147a6;return this[_0x5598ba(0xcc)]??{};}['findShortestFuzzyMatches'](_0x21d4d9){const _0x33192d=a20_0x1147a6,_0x6fd71e=this[_0x33192d(0xb8)](_0x21d4d9);if(!_0x6fd71e||_0x6fd71e[_0x33192d(0xd5)]===0x0)return[];const _0x34936d=[..._0x6fd71e][_0x33192d(0xce)](_0x16249f=>_0x16249f['length']),_0x187b8c=Math['min'](..._0x34936d),_0x4e7717=[..._0x6fd71e][_0x33192d(0xcb)](_0x47cb1c=>_0x47cb1c[_0x33192d(0xd7)]===_0x187b8c);return _0x4e7717;}[a20_0x1147a6(0xbe)](_0x52c119){const _0x6b58a6=a20_0x1147a6;for(const _0x2342a9 of _0x52c119){for(const _0x175484 of this[_0x6b58a6(0xd2)](_0x2342a9)){let _0x5c8973=this['fileIndex'][_0x6b58a6(0xc2)](_0x175484);_0x5c8973===undefined&&(_0x5c8973=new Set(),this[_0x6b58a6(0xc6)][_0x6b58a6(0xc3)](_0x175484,_0x5c8973)),_0x5c8973[_0x6b58a6(0xc5)](_0x2342a9);}}}[a20_0x1147a6(0xd2)](_0x2270fb){const _0x173ac6=a20_0x1147a6;_0x2270fb=this['stripStartingSep'](_0x2270fb);const _0x32f2a8=[_0x2270fb];while(_0x2270fb[_0x173ac6(0xc8)](path['sep'])){_0x2270fb=_0x2270fb[_0x173ac6(0xc0)](_0x2270fb[_0x173ac6(0xb7)](path[_0x173ac6(0xb4)])+path[_0x173ac6(0xb4)][_0x173ac6(0xd7)],_0x2270fb['length']),_0x32f2a8[_0x173ac6(0xd6)](_0x2270fb);}return _0x32f2a8;}[a20_0x1147a6(0xb8)](_0xd4a543){const _0x477a3e=a20_0x1147a6;if(!_0xd4a543)return undefined;_0xd4a543=this[_0x477a3e(0xd8)](_0xd4a543);for(const _0x42cdad of this[_0x477a3e(0xd2)](_0xd4a543)){if(this[_0x477a3e(0xc6)]['has'](_0x42cdad))return this[_0x477a3e(0xc6)][_0x477a3e(0xc2)](_0x42cdad);}return undefined;}[a20_0x1147a6(0xd8)](_0xc064dd){const _0x3df1f2=a20_0x1147a6;if(_0xc064dd&&(_0xc064dd[_0x3df1f2(0xda)]('/')||_0xc064dd[_0x3df1f2(0xda)]('\x5c')))return _0xc064dd[_0x3df1f2(0xb6)](0x1);return _0xc064dd;}}exports['FileIndex']=FileIndex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a21_0xb9f1(){const _0x59192d=['14240592iBmJTK','sep','9iJXwSg','errorMap','6205003yQxmBQ','search','selectStats','743221MTbOtH','map','ScanResultsImpl','keys','errors','filter','defineProperty','8560LfxGZm','all','selectFiles','hash','toString','replace','3TRoSfR','196632eJEVlw','apply','normalize','15POnrSx','(((.+)+)+)+$','48411HlXmdG','test','stats','path','1504586BitjmU','969366VTBKUL'];a21_0xb9f1=function(){return _0x59192d;};return a21_0xb9f1();}const a21_0x128aef=a21_0x3504;function a21_0x3504(_0x160fb3,_0xc544d0){const _0x4b74ea=a21_0xb9f1();return a21_0x3504=function(_0x3fef28,_0x241a44){_0x3fef28=_0x3fef28-0xa8;let _0xb9f15c=_0x4b74ea[_0x3fef28];return _0xb9f15c;},a21_0x3504(_0x160fb3,_0xc544d0);}(function(_0x251b17,_0x2dbc96){const _0x1241f6=a21_0x3504,_0x3476bf=_0x251b17();while(!![]){try{const _0x5f4b5f=-parseInt(_0x1241f6(0xbb))/0x1+-parseInt(_0x1241f6(0xb2))/0x2+-parseInt(_0x1241f6(0xa8))/0x3*(-parseInt(_0x1241f6(0xa9))/0x4)+-parseInt(_0x1241f6(0xac))/0x5*(parseInt(_0x1241f6(0xb3))/0x6)+parseInt(_0x1241f6(0xb8))/0x7+-parseInt(_0x1241f6(0xb4))/0x8*(parseInt(_0x1241f6(0xb6))/0x9)+-parseInt(_0x1241f6(0xc2))/0xa*(-parseInt(_0x1241f6(0xae))/0xb);if(_0x5f4b5f===_0x2dbc96)break;else _0x3476bf['push'](_0x3476bf['shift']());}catch(_0x24a0f4){_0x3476bf['push'](_0x3476bf['shift']());}}}(a21_0xb9f1,0xe61ec));const a21_0x241a44=(function(){let _0x25dec6=!![];return function(_0x24175e,_0x42dcae){const _0x5783ff=_0x25dec6?function(){const _0x5d182b=a21_0x3504;if(_0x42dcae){const _0x181161=_0x42dcae[_0x5d182b(0xaa)](_0x24175e,arguments);return _0x42dcae=null,_0x181161;}}:function(){};return _0x25dec6=![],_0x5783ff;};}()),a21_0x3fef28=a21_0x241a44(this,function(){const _0x569e1c=a21_0x3504;return a21_0x3fef28['toString']()[_0x569e1c(0xb9)]('(((.+)+)+)+$')[_0x569e1c(0xc6)]()['constructor'](a21_0x3fef28)['search'](_0x569e1c(0xad));});a21_0x3fef28();'use strict';Object[a21_0x128aef(0xc1)](exports,'__esModule',{'value':!![]}),exports[a21_0x128aef(0xbd)]=void 0x0;const path=require(a21_0x128aef(0xb1));class ScanResultsImpl{constructor(_0x11dabd,_0x1cd9ec,_0x1ca46c){const _0x3b0bdc=a21_0x128aef;this[_0x3b0bdc(0xb0)]=_0x11dabd,this[_0x3b0bdc(0xb7)]=_0x1cd9ec,this[_0x3b0bdc(0xc5)]=_0x1ca46c;}[a21_0x128aef(0xbf)](){const _0x4cb566=a21_0x128aef;return this[_0x4cb566(0xb7)];}[a21_0x128aef(0xc3)](){const _0x4e9677=a21_0x128aef;return this[_0x4e9677(0xb0)];}[a21_0x128aef(0xba)](_0x1354ae){const _0x4883ef=a21_0x128aef,_0x506953={};return Object[_0x4883ef(0xbe)](this[_0x4883ef(0xb0)])['forEach'](_0x4b4c70=>{_0x1354ae['test'](_0x4b4c70)&&(_0x506953[_0x4b4c70]=this['stats'][_0x4b4c70]);}),_0x506953;}[a21_0x128aef(0xc4)](_0x546387,_0x41a00b){const _0x1a8842=a21_0x128aef;return _0x41a00b=path[_0x1a8842(0xab)](_0x41a00b+path[_0x1a8842(0xb5)]),Object[_0x1a8842(0xbe)](this['stats'])[_0x1a8842(0xc0)](_0x2a1899=>_0x2a1899&&_0x546387[_0x1a8842(0xaf)](_0x2a1899))[_0x1a8842(0xbc)](_0x510ade=>path['normalize'](_0x510ade)[_0x1a8842(0xc7)](_0x41a00b,''));}}exports[a21_0x128aef(0xbd)]=ScanResultsImpl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x84efec=a22_0x4911;(function(_0x5b144b,_0x4dd5e6){const _0x358879=a22_0x4911,_0x15c68c=_0x5b144b();while(!![]){try{const _0x22452b=-parseInt(_0x358879(0x159))/0x1*(parseInt(_0x358879(0x131))/0x2)+parseInt(_0x358879(0x13c))/0x3+-parseInt(_0x358879(0x146))/0x4*(-parseInt(_0x358879(0x13e))/0x5)+parseInt(_0x358879(0x142))/0x6*(-parseInt(_0x358879(0x158))/0x7)+parseInt(_0x358879(0x12c))/0x8*(-parseInt(_0x358879(0x149))/0x9)+-parseInt(_0x358879(0x14f))/0xa*(parseInt(_0x358879(0x135))/0xb)+parseInt(_0x358879(0x152))/0xc;if(_0x22452b===_0x4dd5e6)break;else _0x15c68c['push'](_0x15c68c['shift']());}catch(_0x5cf1d8){_0x15c68c['push'](_0x15c68c['shift']());}}}(a22_0x42e5,0x37c29));const a22_0x8d168e=(function(){let _0x4bcbc2=!![];return function(_0x426dc4,_0x32ea13){const _0x16dd7b=_0x4bcbc2?function(){if(_0x32ea13){const _0x44b7eb=_0x32ea13['apply'](_0x426dc4,arguments);return _0x32ea13=null,_0x44b7eb;}}:function(){};return _0x4bcbc2=![],_0x16dd7b;};}()),a22_0x245aba=a22_0x8d168e(this,function(){const _0xfdab8a=a22_0x4911;return a22_0x245aba[_0xfdab8a(0x143)]()[_0xfdab8a(0x145)]('(((.+)+)+)+$')[_0xfdab8a(0x143)]()[_0xfdab8a(0x141)](a22_0x245aba)[_0xfdab8a(0x145)](_0xfdab8a(0x14a));});function a22_0x4911(_0x18d5ee,_0x553dd4){const _0x477796=a22_0x42e5();return a22_0x4911=function(_0x245aba,_0x8d168e){_0x245aba=_0x245aba-0x128;let _0x42e57c=_0x477796[_0x245aba];return _0x42e57c;},a22_0x4911(_0x18d5ee,_0x553dd4);}a22_0x245aba();function a22_0x42e5(){const _0x556ce3=['R_OK','22tqwOGo','addFilesFromDir','info','file','createHash','from','Scanner','384045BkdVSW','./scan-results','1115PEOHNs','Indexing\x20files\x20in\x20','Specified\x20extraPaths\x20does\x20not\x20exist!','constructor','971862dXLEsr','toString','update','search','7496qQacTt','EMPTY-no-js-files','__esModule','378675SEIvEq','(((.+)+)+)+$','length','hex','crypto','path','180130PxoWkl','end','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','2917668OtSvSL','scan','findFiles','basename','test','constants','7qcxlxZ','1ilNrPc','accessSync','computeStats','ScanResultsImpl','warn','set','error','hasReadAccess','statsForFile','24EPjJHA','resolve','sha1','open','directory','472870omXmjb','defineProperty','digest'];a22_0x42e5=function(){return _0x556ce3;};return a22_0x42e5();}'use strict';Object[a22_0x84efec(0x132)](exports,a22_0x84efec(0x148),{'value':!![]}),exports[a22_0x84efec(0x13b)]=void 0x0;const crypto=require(a22_0x84efec(0x14d)),fs=require('fs'),path=require(a22_0x84efec(0x14e)),scan_results_1=require(a22_0x84efec(0x13d));class Scanner{constructor(_0xd18a3a){this['logger']=_0xd18a3a;}async[a22_0x84efec(0x153)](_0x39bfdf,_0x6dc04f,_0x54843d,_0x1a3348){const _0x1163ff=await this['findFiles'](_0x39bfdf,_0x6dc04f,_0x1a3348);return this['computeStats'](_0x1163ff,_0x54843d);}async[a22_0x84efec(0x15b)](_0x2bd9f6,_0x34063a){const _0x16fe99=a22_0x84efec;if(_0x2bd9f6[_0x16fe99(0x14b)]===0x0)return new scan_results_1[(_0x16fe99(0x15c))]({},new Map(),_0x16fe99(0x147));const _0x150bf5=[],_0x597cf8={},_0x347e76=new Map();for(const _0x3e9be3 of _0x2bd9f6){try{const _0x5e951c=await this[_0x16fe99(0x12b)](_0x3e9be3,!_0x34063a);!_0x34063a&&_0x150bf5['push'](_0x5e951c['hash']),_0x597cf8[_0x3e9be3]=_0x5e951c;}catch(_0x2b31e4){_0x347e76[_0x16fe99(0x128)](_0x3e9be3,_0x2b31e4);}}let _0x4849de;if(!_0x34063a){const _0x116c27=_0x150bf5['sort']()['join'](),_0x5354fa=crypto[_0x16fe99(0x139)](_0x16fe99(0x12e))[_0x16fe99(0x144)](_0x116c27)[_0x16fe99(0x133)](_0x16fe99(0x14c));_0x4849de='SHA1-'+_0x5354fa;}else _0x4849de=_0x34063a;return new scan_results_1[(_0x16fe99(0x15c))](_0x597cf8,_0x347e76,_0x4849de);}async[a22_0x84efec(0x154)](_0x16a3b9,_0x48aad,_0x569d09){const _0x18b277=a22_0x84efec,_0x59c7c5=new Set();await this[_0x18b277(0x136)](_0x59c7c5,_0x16a3b9,_0x48aad);for(const _0x2b6b96 of _0x569d09??[]){if(_0x2b6b96){const _0x138d34=path[_0x18b277(0x12d)](_0x2b6b96);try{await this[_0x18b277(0x136)](_0x59c7c5,_0x138d34,_0x48aad);}catch(_0x1cac13){this['logger'][_0x18b277(0x129)](_0x18b277(0x140),_0x1cac13);}}}return Array[_0x18b277(0x13a)](_0x59c7c5);}static[a22_0x84efec(0x12a)](_0x4de88b){const _0x3d2bfb=a22_0x84efec;try{return fs[_0x3d2bfb(0x15a)](_0x4de88b,fs[_0x3d2bfb(0x157)][_0x3d2bfb(0x134)]),!![];}catch{return![];}}async[a22_0x84efec(0x136)](_0x18655e,_0x24979a,_0x63b388){return new Promise((_0x44ed57,_0x370cee)=>{const _0x319d0e=a22_0x4911;let _0x55e50e;if(!_0x24979a){_0x370cee(new Error('addFilesFromDir\x20requires\x20a\x20searchDir\x20argument'));return;}this['logger'][_0x319d0e(0x137)](_0x319d0e(0x13f)+path['resolve'](_0x24979a));const _0x2a9edf=findit(_0x24979a);_0x2a9edf['on']('error',_0x37efb4=>{_0x55e50e=_0x37efb4;return;}),_0x2a9edf['on'](_0x319d0e(0x130),(_0x372495,_0x4c4790,_0x33f22f)=>{const _0x5bf1b0=_0x319d0e,_0xce5146=path[_0x5bf1b0(0x155)](_0x372495);!Scanner[_0x5bf1b0(0x12a)](_0x372495)&&(this['logger'][_0x5bf1b0(0x15d)]('can\x27t\x20access\x20path:\x20['+_0x372495+_0x5bf1b0(0x151)),_0x33f22f()),(_0xce5146==='.git'||_0xce5146==='node_modules')&&(!path[_0x5bf1b0(0x12d)](_0x24979a)['startsWith'](path[_0x5bf1b0(0x12d)](_0x372495))&&_0x33f22f());}),_0x2a9edf['on'](_0x319d0e(0x138),_0x71344=>{const _0x1e3b41=_0x319d0e;_0x63b388[_0x1e3b41(0x156)](_0x71344)&&_0x18655e['add'](_0x71344);}),_0x2a9edf['on']('end',()=>{_0x55e50e?_0x370cee(_0x55e50e):_0x44ed57();});});}async[a22_0x84efec(0x12b)](_0x5bd082,_0x32b68a){return new Promise((_0x9f5fac,_0x511899)=>{const _0x4d84be=a22_0x4911,_0x2f0660=fs['createReadStream'](_0x5bd082);_0x2f0660['on'](_0x4d84be(0x129),_0x31c062=>{_0x511899(_0x31c062);}),_0x2f0660['on'](_0x4d84be(0x12f),()=>{const _0x56596a=_0x4d84be;let _0x4800eb;_0x32b68a&&(_0x4800eb=crypto[_0x56596a(0x139)]('sha1'));let _0x116cc3=0x0,_0x4d1566;const _0x2375dd=_0x2f0660['pipe'](split());_0x2375dd['on'](_0x56596a(0x129),_0x4d78fa=>{_0x4d1566=_0x4d78fa;}),_0x2375dd['on']('data',_0x363ed8=>{_0x32b68a&&_0x4800eb['update'](_0x363ed8),_0x116cc3++;}),_0x2375dd['on'](_0x56596a(0x150),()=>{const _0x215290=_0x56596a;if(_0x4d1566)_0x511899(_0x4d1566);else{const _0x5c3d1b=_0x32b68a?_0x4800eb[_0x215290(0x133)](_0x215290(0x14c)):undefined;_0x9f5fac({'hash':_0x5c3d1b,'lines':_0x116cc3});}});});});}}exports[a22_0x84efec(0x13b)]=Scanner;const findit=require('findit2'),split=require('split');
|