lightrun 1.85.0 → 1.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/build/src/agent/agent-logger.js +1 -1
  2. package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
  3. package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
  4. package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
  5. package/build/src/agent/config.js +1 -1
  6. package/build/src/agent/configuration-provider.js +1 -1
  7. package/build/src/agent/controller.js +1 -1
  8. package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
  9. package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
  10. package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
  11. package/build/src/agent/debuglet-helpers/delimit.js +1 -1
  12. package/build/src/agent/debuglet-helpers/format.js +1 -1
  13. package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
  14. package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
  15. package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
  16. package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
  17. package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
  18. package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
  19. package/build/src/agent/debuglet.js +1 -1
  20. package/build/src/agent/environment-metadata.js +1 -1
  21. package/build/src/agent/io/file-index.js +1 -1
  22. package/build/src/agent/io/scan-results.js +1 -1
  23. package/build/src/agent/io/scanner.js +1 -1
  24. package/build/src/agent/io/sourcemapper.js +1 -1
  25. package/build/src/agent/leaky-bucket.js +1 -1
  26. package/build/src/agent/log-data.js +1 -1
  27. package/build/src/agent/piping-manager.js +1 -1
  28. package/build/src/agent/quota-manager.js +1 -1
  29. package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
  30. package/build/src/agent/reduction/redaction-manager.js +1 -1
  31. package/build/src/agent/serverless.js +1 -1
  32. package/build/src/agent/state/inspector-state.js +1 -1
  33. package/build/src/agent/util/debug-assert.js +1 -1
  34. package/build/src/agent/util/utils.js +1 -1
  35. package/build/src/agent/util/validator.js +1 -1
  36. package/build/src/agent/v8/debugapi.js +1 -1
  37. package/build/src/agent/v8/inspector-debugapi.js +1 -1
  38. package/build/src/agent/v8/v8inspector.js +1 -1
  39. package/build/src/client/stackdriver/debug.js +1 -1
  40. package/build/src/client/stackdriver/status-message.js +1 -1
  41. package/build/src/debuggee.js +1 -1
  42. package/build/src/gcp.js +1 -1
  43. package/build/src/index.js +1 -1
  44. package/build/src/lambda.js +1 -1
  45. package/build/src/resources/version.txt +1 -1
  46. package/build/src/types/lightrun.js +1 -1
  47. package/build/src/types/stackdriver.js +1 -1
  48. package/build/src/types/v8.js +1 -1
  49. package/package.json +2 -2
@@ -1 +1 @@
1
- const a15_0x30dece=a15_0x5e4a;function a15_0x4bc1(){const _0x3d5314=['330920jMDTol','__esModule','push','(((.+)+)+)+$','mapSubtract','search','constructor','248054igIhcc','3876qfQojV','332iigeVW','117bgDSIe','115634xffPXF','toString','defineProperty','apply','170DanLPw','88ZJOkhn','1917377CyQTgR','3486zJbnDE','173384cqNHRt'];a15_0x4bc1=function(){return _0x3d5314;};return a15_0x4bc1();}(function(_0x4577a7,_0xa8c113){const _0x331027=a15_0x5e4a,_0x5138db=_0x4577a7();while(!![]){try{const _0xf91876=parseInt(_0x331027(0x1f9))/0x1+-parseInt(_0x331027(0x1f5))/0x2+parseInt(_0x331027(0x1ec))/0x3*(-parseInt(_0x331027(0x1f7))/0x4)+-parseInt(_0x331027(0x1e9))/0x5*(parseInt(_0x331027(0x1f6))/0x6)+-parseInt(_0x331027(0x1eb))/0x7+-parseInt(_0x331027(0x1ed))/0x8*(-parseInt(_0x331027(0x1f8))/0x9)+-parseInt(_0x331027(0x1ee))/0xa*(-parseInt(_0x331027(0x1ea))/0xb);if(_0xf91876===_0xa8c113)break;else _0x5138db['push'](_0x5138db['shift']());}catch(_0x54f203){_0x5138db['push'](_0x5138db['shift']());}}}(a15_0x4bc1,0x2396b));const a15_0x108f0b=(function(){let _0x8e2e43=!![];return function(_0x5de61b,_0x3ac043){const _0x1c5f68=_0x8e2e43?function(){const _0x873ec=a15_0x5e4a;if(_0x3ac043){const _0x452adc=_0x3ac043[_0x873ec(0x1e8)](_0x5de61b,arguments);return _0x3ac043=null,_0x452adc;}}:function(){};return _0x8e2e43=![],_0x1c5f68;};}()),a15_0x3fa7af=a15_0x108f0b(this,function(){const _0x142481=a15_0x5e4a;return a15_0x3fa7af[_0x142481(0x1fa)]()[_0x142481(0x1f3)](_0x142481(0x1f1))['toString']()[_0x142481(0x1f4)](a15_0x3fa7af)[_0x142481(0x1f3)](_0x142481(0x1f1));});a15_0x3fa7af();'use strict';Object[a15_0x30dece(0x1e7)](exports,a15_0x30dece(0x1ef),{'value':!![]}),exports[a15_0x30dece(0x1f2)]=void 0x0;function a15_0x5e4a(_0x32fe68,_0x1aee3f){const _0x4c984e=a15_0x4bc1();return a15_0x5e4a=function(_0x3fa7af,_0x108f0b){_0x3fa7af=_0x3fa7af-0x1e7;let _0x4bc1d7=_0x4c984e[_0x3fa7af];return _0x4bc1d7;},a15_0x5e4a(_0x32fe68,_0x1aee3f);}const mapSubtract=(_0x438f68,_0x2bbec0)=>{const _0x335a9b=a15_0x30dece,_0x4a5e7b=[];for(const _0x106cfa in _0x438f68){!_0x2bbec0[_0x106cfa]&&_0x4a5e7b[_0x335a9b(0x1f0)](_0x438f68[_0x106cfa]);}return _0x4a5e7b;};exports[a15_0x30dece(0x1f2)]=mapSubtract;
1
+ const a15_0x181e14=a15_0x4d5b;(function(_0x463468,_0x2b93ed){const _0x58848c=a15_0x4d5b,_0x166ae1=_0x463468();while(!![]){try{const _0x6230c=parseInt(_0x58848c(0xc7))/0x1+parseInt(_0x58848c(0xce))/0x2+-parseInt(_0x58848c(0xd3))/0x3*(-parseInt(_0x58848c(0xd0))/0x4)+parseInt(_0x58848c(0xca))/0x5*(parseInt(_0x58848c(0xcd))/0x6)+-parseInt(_0x58848c(0xd7))/0x7*(-parseInt(_0x58848c(0xcb))/0x8)+-parseInt(_0x58848c(0xd9))/0x9*(-parseInt(_0x58848c(0xc8))/0xa)+-parseInt(_0x58848c(0xd2))/0xb;if(_0x6230c===_0x2b93ed)break;else _0x166ae1['push'](_0x166ae1['shift']());}catch(_0x1e1f77){_0x166ae1['push'](_0x166ae1['shift']());}}}(a15_0x46d5,0x34a76));const a15_0x32e444=(function(){let _0xde953e=!![];return function(_0x343102,_0x4b684e){const _0x5722ef=_0xde953e?function(){const _0x3e20db=a15_0x4d5b;if(_0x4b684e){const _0x1f9196=_0x4b684e[_0x3e20db(0xcf)](_0x343102,arguments);return _0x4b684e=null,_0x1f9196;}}:function(){};return _0xde953e=![],_0x5722ef;};}()),a15_0x21cfec=a15_0x32e444(this,function(){const _0x31d28a=a15_0x4d5b;return a15_0x21cfec[_0x31d28a(0xd5)]()[_0x31d28a(0xcc)](_0x31d28a(0xd4))[_0x31d28a(0xd5)]()[_0x31d28a(0xc9)](a15_0x21cfec)[_0x31d28a(0xcc)](_0x31d28a(0xd4));});a15_0x21cfec();'use strict';Object[a15_0x181e14(0xd8)](exports,a15_0x181e14(0xc6),{'value':!![]}),exports[a15_0x181e14(0xd6)]=void 0x0;function a15_0x4d5b(_0x319afc,_0x56a726){const _0x96f3a7=a15_0x46d5();return a15_0x4d5b=function(_0x21cfec,_0x32e444){_0x21cfec=_0x21cfec-0xc6;let _0x46d545=_0x96f3a7[_0x21cfec];return _0x46d545;},a15_0x4d5b(_0x319afc,_0x56a726);}function a15_0x46d5(){const _0x50dede=['420772TmbvvA','apply','24516sCPqEe','push','15311681PKoRGz','153IQTgwN','(((.+)+)+)+$','toString','mapSubtract','2269729wsQBaE','defineProperty','7497gKJGGi','__esModule','315973RQUSVm','2540FYtKeL','constructor','582185GmpfUq','8AVAArl','search','12zjkAuT'];a15_0x46d5=function(){return _0x50dede;};return a15_0x46d5();}const mapSubtract=(_0x52def2,_0x4d0799)=>{const _0x2839e3=a15_0x181e14,_0x593546=[];for(const _0x4ca78b in _0x52def2){!_0x4d0799[_0x4ca78b]&&_0x593546[_0x2839e3(0xd1)](_0x52def2[_0x4ca78b]);}return _0x593546;};exports['mapSubtract']=mapSubtract;
@@ -1 +1 @@
1
- const a16_0x121750=a16_0x5c44;(function(_0x80e827,_0x229b37){const _0xfd7403=a16_0x5c44,_0x207699=_0x80e827();while(!![]){try{const _0x549089=-parseInt(_0xfd7403(0x1b4))/0x1+parseInt(_0xfd7403(0x19e))/0x2+-parseInt(_0xfd7403(0x1a1))/0x3*(-parseInt(_0xfd7403(0x1c5))/0x4)+parseInt(_0xfd7403(0x1b2))/0x5+parseInt(_0xfd7403(0x19b))/0x6+parseInt(_0xfd7403(0x1b7))/0x7+parseInt(_0xfd7403(0x1a5))/0x8*(-parseInt(_0xfd7403(0x19d))/0x9);if(_0x549089===_0x229b37)break;else _0x207699['push'](_0x207699['shift']());}catch(_0x545bf2){_0x207699['push'](_0x207699['shift']());}}}(a16_0x4ef1,0xf3ab3));const a16_0x533f04=(function(){let _0x5b046b=!![];return function(_0x11ade7,_0x495ae8){const _0x3cb914=_0x5b046b?function(){const _0x190e91=a16_0x5c44;if(_0x495ae8){const _0x2d3331=_0x495ae8[_0x190e91(0x1c3)](_0x11ade7,arguments);return _0x495ae8=null,_0x2d3331;}}:function(){};return _0x5b046b=![],_0x3cb914;};}()),a16_0x5c6c9d=a16_0x533f04(this,function(){const _0x2a2ce0=a16_0x5c44;return a16_0x5c6c9d['toString']()[_0x2a2ce0(0x191)](_0x2a2ce0(0x1b8))[_0x2a2ce0(0x1b5)]()[_0x2a2ce0(0x1ab)](a16_0x5c6c9d)[_0x2a2ce0(0x191)](_0x2a2ce0(0x1b8));});a16_0x5c6c9d();'use strict';Object[a16_0x121750(0x1b6)](exports,'__esModule',{'value':!![]}),exports['normalizeConfig']=exports[a16_0x121750(0x199)]=void 0x0;const extend=require(a16_0x121750(0x194)),config_1=require(a16_0x121750(0x19a)),utils_1=require(a16_0x121750(0x1a2)),getAgentConfig_1=require(a16_0x121750(0x1ca)),limitConfig_1=require(a16_0x121750(0x193)),validateConfig=_0x3a3e3a=>{const _0x313519=a16_0x121750,_0x37c510={};try{config_1['configSchema'][_0x313519(0x1a4)](_0x3a3e3a,{'abortEarly':![]});}catch(_0x1de137){_0x1de137['inner'][_0x313519(0x1cc)](_0x871d4e=>_0x871d4e[_0x313519(0x1cf)]&&_0x871d4e[_0x313519(0x1c1)])[_0x313519(0x1b0)](_0x698ba2=>{const _0x1fa90e=_0x313519;_0x37c510[_0x698ba2[_0x1fa90e(0x1cf)]]=_0x698ba2[_0x1fa90e(0x1c1)];});}return _0x37c510;};exports[a16_0x121750(0x199)]=validateConfig;const normalizeConfig=_0x26afcd=>{const _0x506c1c=a16_0x121750,_0x180546={'serviceContext':{'service':process['env'][_0x506c1c(0x1a3)]??process[_0x506c1c(0x1ba)][_0x506c1c(0x1bd)]??process['env'][_0x506c1c(0x1af)],'version':process['env'][_0x506c1c(0x192)]??process['env'][_0x506c1c(0x1c7)]??process[_0x506c1c(0x1ba)][_0x506c1c(0x1c9)],'minorVersion_':process[_0x506c1c(0x1ba)][_0x506c1c(0x197)]??process[_0x506c1c(0x1ba)][_0x506c1c(0x1b9)]},'metadata':{'filename':process[_0x506c1c(0x1ba)][_0x506c1c(0x1ac)],'registration':{}},'lightrunSecret':process[_0x506c1c(0x1ba)]['LIGHTRUN_SECRET'],'apiEndpoint':process['env'][_0x506c1c(0x1a6)],'noCheckCertificate':(0x0,utils_1[_0x506c1c(0x1aa)])(process[_0x506c1c(0x1ba)][_0x506c1c(0x1ce)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x506c1c(0x1aa)])(process[_0x506c1c(0x1ba)][_0x506c1c(0x1a7)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process['env']['LIGHTRUN_WAIT_FOR_INIT']),'lightrunInitWaitTimeMs':process[_0x506c1c(0x1ba)][_0x506c1c(0x196)],'agentLog':_0x26afcd?.[_0x506c1c(0x1c0)]??{},'proxy':{'host':process[_0x506c1c(0x1ba)][_0x506c1c(0x1a9)],'port':parseInt(process[_0x506c1c(0x1ba)]['LIGHTRUN_PROXY_PORT']??'')||undefined,'username':process[_0x506c1c(0x1ba)][_0x506c1c(0x19f)],'password':process['env'][_0x506c1c(0x1c4)]}};process['env']['LIGHTRUN_STD_ERR_THRESHOLD']!==undefined&&(_0x180546[_0x506c1c(0x1c0)][_0x506c1c(0x1b1)]=process['env'][_0x506c1c(0x190)]);process['env'][_0x506c1c(0x18f)]!==undefined&&(_0x180546[_0x506c1c(0x1c0)][_0x506c1c(0x1bb)]=process[_0x506c1c(0x1ba)]['AGENT_LOG_LEVEL']);process['env'][_0x506c1c(0x1bc)]!==undefined&&(_0x180546[_0x506c1c(0x1c0)][_0x506c1c(0x1a0)]=process['env'][_0x506c1c(0x1bc)]);process[_0x506c1c(0x1ba)][_0x506c1c(0x19c)]!==undefined&&(_0x180546[_0x506c1c(0x1c0)]['agentLogMaxFileCount']=parseInt(process[_0x506c1c(0x1ba)][_0x506c1c(0x19c)]));process[_0x506c1c(0x1ba)]['AGENT_LOG_MAX_FILE_SIZE_MB']!==undefined&&(_0x180546[_0x506c1c(0x1c0)][_0x506c1c(0x1d0)]=parseInt(process[_0x506c1c(0x1ba)]['AGENT_LOG_MAX_FILE_SIZE_MB']));process[_0x506c1c(0x1ba)]['FUNCTION_NAME']&&(_0x180546['serviceContext'][_0x506c1c(0x1a8)]=process[_0x506c1c(0x1ba)]['FUNCTION_NAME'],_0x180546['serviceContext'][_0x506c1c(0x1cb)]=_0x506c1c(0x1b3));process[_0x506c1c(0x1ba)][_0x506c1c(0x195)]&&(_0x180546[_0x506c1c(0x1cd)][_0x506c1c(0x1be)]={'tags':process[_0x506c1c(0x1ba)][_0x506c1c(0x195)][_0x506c1c(0x198)](',')});const _0x3fe3f4=(0x0,getAgentConfig_1[_0x506c1c(0x1ae)])(process['env'][_0x506c1c(0x1bf)]??_0x26afcd?.['agentConfigFile']??config_1[_0x506c1c(0x1c8)][_0x506c1c(0x1c2)]),_0x5a003b=(0x0,limitConfig_1[_0x506c1c(0x1c6)])(extend(!![],{},config_1['defaultConfig'],_0x3fe3f4,_0x26afcd,_0x180546)),_0x35d8a2=(0x0,exports['validateConfig'])(_0x5a003b);return{..._0x5a003b,'errors':_0x35d8a2};};function a16_0x4ef1(){const _0x89d25a=['AGENT_LOG_LEVEL','LIGHTRUN_STD_ERR_THRESHOLD','search','GAE_VERSION','./limitConfig','extend','LIGHTRUN_TAGS','LIGHTRUN_INIT_WAIT_TIME_MS','GAE_DEPLOYMENT_ID','split','validateConfig','../config','6780342DilfUo','AGENT_LOG_MAX_FILE_COUNT','27183105aZToHJ','1782242kbLdiw','LIGHTRUN_PROXY_USERNAME','agentLogTargetDir','279uRATcy','../util/utils','GAE_SERVICE','validateSync','8SyEpwn','LIGHTRUN_API_ENDPOINT','FETCH_BREAKPOINTS_ONCE','service','LIGHTRUN_PROXY_HOST','getBooleanValue','constructor','LIGHTRUN_METADATA_FILE','normalizeConfig','getAgentConfig','K_SERVICE','forEach','stdErrThreshold','865775YiJPMC','unversioned','1120492WHLpUL','toString','defineProperty','7700714gkXImq','(((.+)+)+)+$','GAE_MINOR_VERSION','env','agentLogLevel','AGENT_LOG_TARGET_DIR','GAE_MODULE_NAME','registration','LIGHTRUN_AGENT_CONFIG','agentLog','message','agentConfigFile','apply','LIGHTRUN_PROXY_PASSWORD','79332wdJmKA','limitConfig','GAE_MODULE_VERSION','defaultConfig','K_REVISION','./getAgentConfig','version','filter','metadata','NO_CHECK_CERTIFICATE','path','agentLogMaxFileSizeMb'];a16_0x4ef1=function(){return _0x89d25a;};return a16_0x4ef1();}function a16_0x5c44(_0x5b9e7c,_0x37a83f){const _0x2114e6=a16_0x4ef1();return a16_0x5c44=function(_0x5c6c9d,_0x533f04){_0x5c6c9d=_0x5c6c9d-0x18f;let _0x4ef14f=_0x2114e6[_0x5c6c9d];return _0x4ef14f;},a16_0x5c44(_0x5b9e7c,_0x37a83f);}exports[a16_0x121750(0x1ad)]=normalizeConfig;
1
+ const a16_0x30a6a9=a16_0x57f7;function a16_0x222e(){const _0x1f20d7=['__esModule','LIGHTRUN_STD_ERR_THRESHOLD','validateConfig','filter','message','GAE_DEPLOYMENT_ID','env','LIGHTRUN_TAGS','LIGHTRUN_PROXY_USERNAME','K_REVISION','LIGHTRUN_WAIT_FOR_INIT','LIGHTRUN_PROXY_PORT','1750SXDUli','1979596gFAqoL','toString','21558BNtZaU','AGENT_LOG_MAX_FILE_COUNT','split','LIGHTRUN_INIT_WAIT_TIME_MS','agentLogTargetDir','LIGHTRUN_METADATA_FILE','search','agentLogMaxFileCount','10190632QSnzxp','agentLog','6rcNExj','./getAgentConfig','version','AGENT_LOG_LEVEL','service','validateSync','getAgentConfig','defaultConfig','NO_CHECK_CERTIFICATE','FETCH_BREAKPOINTS_ONCE','GAE_MODULE_NAME','AGENT_LOG_MAX_FILE_SIZE_MB','LIGHTRUN_SECRET','metadata','3469336CFuiIY','constructor','4657JZWiKM','getBooleanValue','agentLogMaxFileSizeMb','LIGHTRUN_PROXY_PASSWORD','GAE_VERSION','AGENT_LOG_TARGET_DIR','stdErrThreshold','extend','unversioned','normalizeConfig','GAE_MINOR_VERSION','(((.+)+)+)+$','apply','60651feQZlO','4063941RcqNGK','FUNCTION_NAME','serviceContext','../config','agentConfigFile','../util/utils','./limitConfig','path','registration','1900ETsDuK'];a16_0x222e=function(){return _0x1f20d7;};return a16_0x222e();}(function(_0x4a1964,_0x94f2db){const _0x1db20f=a16_0x57f7,_0x7521af=_0x4a1964();while(!![]){try{const _0x30d0fe=-parseInt(_0x1db20f(0x166))/0x1+parseInt(_0x1db20f(0x14a))/0x2+parseInt(_0x1db20f(0x156))/0x3*(parseInt(_0x1db20f(0x164))/0x4)+-parseInt(_0x1db20f(0x149))/0x5*(parseInt(_0x1db20f(0x14c))/0x6)+-parseInt(_0x1db20f(0x174))/0x7+parseInt(_0x1db20f(0x154))/0x8+parseInt(_0x1db20f(0x173))/0x9*(-parseInt(_0x1db20f(0x17d))/0xa);if(_0x30d0fe===_0x94f2db)break;else _0x7521af['push'](_0x7521af['shift']());}catch(_0x24e6b0){_0x7521af['push'](_0x7521af['shift']());}}}(a16_0x222e,0xd5a6b));const a16_0x309e8d=(function(){let _0x4fd5f5=!![];return function(_0xe11311,_0x32acf1){const _0x5ed9c2=_0x4fd5f5?function(){const _0x3ceb47=a16_0x57f7;if(_0x32acf1){const _0x5a2c49=_0x32acf1[_0x3ceb47(0x172)](_0xe11311,arguments);return _0x32acf1=null,_0x5a2c49;}}:function(){};return _0x4fd5f5=![],_0x5ed9c2;};}()),a16_0x2e6103=a16_0x309e8d(this,function(){const _0x5e4392=a16_0x57f7;return a16_0x2e6103[_0x5e4392(0x14b)]()[_0x5e4392(0x152)]('(((.+)+)+)+$')[_0x5e4392(0x14b)]()[_0x5e4392(0x165)](a16_0x2e6103)[_0x5e4392(0x152)](_0x5e4392(0x171));});a16_0x2e6103();'use strict';Object['defineProperty'](exports,a16_0x30a6a9(0x17e),{'value':!![]}),exports[a16_0x30a6a9(0x16f)]=exports[a16_0x30a6a9(0x180)]=void 0x0;const extend=require(a16_0x30a6a9(0x16d)),config_1=require(a16_0x30a6a9(0x177)),utils_1=require(a16_0x30a6a9(0x179)),getAgentConfig_1=require(a16_0x30a6a9(0x157)),limitConfig_1=require(a16_0x30a6a9(0x17a)),validateConfig=_0x3a8947=>{const _0x5d27f8=a16_0x30a6a9,_0x4d4f85={};try{config_1['configSchema'][_0x5d27f8(0x15b)](_0x3a8947,{'abortEarly':![]});}catch(_0x20713d){_0x20713d['inner'][_0x5d27f8(0x181)](_0x354101=>_0x354101[_0x5d27f8(0x17b)]&&_0x354101[_0x5d27f8(0x182)])['forEach'](_0x419a59=>{const _0x5a8e32=_0x5d27f8;_0x4d4f85[_0x419a59[_0x5a8e32(0x17b)]]=_0x419a59[_0x5a8e32(0x182)];});}return _0x4d4f85;};exports[a16_0x30a6a9(0x180)]=validateConfig;const normalizeConfig=_0x4e69e8=>{const _0x48abdf=a16_0x30a6a9,_0x1717ad={'serviceContext':{'service':process[_0x48abdf(0x184)]['GAE_SERVICE']??process[_0x48abdf(0x184)][_0x48abdf(0x160)]??process['env']['K_SERVICE'],'version':process[_0x48abdf(0x184)][_0x48abdf(0x16a)]??process[_0x48abdf(0x184)]['GAE_MODULE_VERSION']??process['env'][_0x48abdf(0x187)],'minorVersion_':process[_0x48abdf(0x184)][_0x48abdf(0x183)]??process[_0x48abdf(0x184)][_0x48abdf(0x170)]},'metadata':{'filename':process['env'][_0x48abdf(0x151)],'registration':{}},'lightrunSecret':process[_0x48abdf(0x184)][_0x48abdf(0x162)],'apiEndpoint':process[_0x48abdf(0x184)]['LIGHTRUN_API_ENDPOINT'],'noCheckCertificate':(0x0,utils_1[_0x48abdf(0x167)])(process[_0x48abdf(0x184)][_0x48abdf(0x15e)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x48abdf(0x167)])(process[_0x48abdf(0x184)][_0x48abdf(0x15f)]),'lightrunWaitForInit':(0x0,utils_1[_0x48abdf(0x167)])(process[_0x48abdf(0x184)][_0x48abdf(0x188)]),'lightrunInitWaitTimeMs':process[_0x48abdf(0x184)][_0x48abdf(0x14f)],'agentLog':_0x4e69e8?.[_0x48abdf(0x155)]??{},'proxy':{'host':process[_0x48abdf(0x184)]['LIGHTRUN_PROXY_HOST'],'port':parseInt(process[_0x48abdf(0x184)][_0x48abdf(0x148)]??'')||undefined,'username':process[_0x48abdf(0x184)][_0x48abdf(0x186)],'password':process['env'][_0x48abdf(0x169)]}};process['env'][_0x48abdf(0x17f)]!==undefined&&(_0x1717ad[_0x48abdf(0x155)][_0x48abdf(0x16c)]=process[_0x48abdf(0x184)][_0x48abdf(0x17f)]);process[_0x48abdf(0x184)][_0x48abdf(0x159)]!==undefined&&(_0x1717ad[_0x48abdf(0x155)]['agentLogLevel']=process['env'][_0x48abdf(0x159)]);process[_0x48abdf(0x184)][_0x48abdf(0x16b)]!==undefined&&(_0x1717ad[_0x48abdf(0x155)][_0x48abdf(0x150)]=process[_0x48abdf(0x184)][_0x48abdf(0x16b)]);process[_0x48abdf(0x184)][_0x48abdf(0x14d)]!==undefined&&(_0x1717ad[_0x48abdf(0x155)][_0x48abdf(0x153)]=parseInt(process[_0x48abdf(0x184)][_0x48abdf(0x14d)]));process[_0x48abdf(0x184)][_0x48abdf(0x161)]!==undefined&&(_0x1717ad[_0x48abdf(0x155)][_0x48abdf(0x168)]=parseInt(process[_0x48abdf(0x184)][_0x48abdf(0x161)]));process['env'][_0x48abdf(0x175)]&&(_0x1717ad['serviceContext'][_0x48abdf(0x15a)]=process[_0x48abdf(0x184)][_0x48abdf(0x175)],_0x1717ad[_0x48abdf(0x176)][_0x48abdf(0x158)]=_0x48abdf(0x16e));process[_0x48abdf(0x184)][_0x48abdf(0x185)]&&(_0x1717ad[_0x48abdf(0x163)][_0x48abdf(0x17c)]={'tags':process['env'][_0x48abdf(0x185)][_0x48abdf(0x14e)](',')});const _0x3c6857=(0x0,getAgentConfig_1[_0x48abdf(0x15c)])(process[_0x48abdf(0x184)]['LIGHTRUN_AGENT_CONFIG']??_0x4e69e8?.[_0x48abdf(0x178)]??config_1[_0x48abdf(0x15d)][_0x48abdf(0x178)]),_0x2ad5e0=(0x0,limitConfig_1['limitConfig'])(extend(!![],{},config_1[_0x48abdf(0x15d)],_0x3c6857,_0x4e69e8,_0x1717ad)),_0x3dcc4e=(0x0,exports[_0x48abdf(0x180)])(_0x2ad5e0);return{..._0x2ad5e0,'errors':_0x3dcc4e};};function a16_0x57f7(_0x590def,_0x3e844f){const _0x8f52d8=a16_0x222e();return a16_0x57f7=function(_0x2e6103,_0x309e8d){_0x2e6103=_0x2e6103-0x148;let _0x222e94=_0x8f52d8[_0x2e6103];return _0x222e94;},a16_0x57f7(_0x590def,_0x3e844f);}exports['normalizeConfig']=normalizeConfig;
@@ -1 +1 @@
1
- const a17_0x577c05=a17_0x593b;(function(_0x1df983,_0x263d4f){const _0x1d7be1=a17_0x593b,_0x5315bc=_0x1df983();while(!![]){try{const _0x331d76=-parseInt(_0x1d7be1(0xa6))/0x1+parseInt(_0x1d7be1(0xa2))/0x2*(-parseInt(_0x1d7be1(0xa7))/0x3)+-parseInt(_0x1d7be1(0x97))/0x4+-parseInt(_0x1d7be1(0xa5))/0x5*(parseInt(_0x1d7be1(0x9a))/0x6)+parseInt(_0x1d7be1(0x98))/0x7+-parseInt(_0x1d7be1(0x9c))/0x8+parseInt(_0x1d7be1(0xa4))/0x9;if(_0x331d76===_0x263d4f)break;else _0x5315bc['push'](_0x5315bc['shift']());}catch(_0x59677e){_0x5315bc['push'](_0x5315bc['shift']());}}}(a17_0x9599,0xc3dd9));const a17_0x4a640e=(function(){let _0x2e4e93=!![];return function(_0x5d9b84,_0x445881){const _0x146c35=_0x2e4e93?function(){if(_0x445881){const _0x4a6aa1=_0x445881['apply'](_0x5d9b84,arguments);return _0x445881=null,_0x4a6aa1;}}:function(){};return _0x2e4e93=![],_0x146c35;};}()),a17_0x53fd58=a17_0x4a640e(this,function(){const _0x24e91a=a17_0x593b;return a17_0x53fd58[_0x24e91a(0xa1)]()['search']('(((.+)+)+)+$')['toString']()[_0x24e91a(0x99)](a17_0x53fd58)[_0x24e91a(0x9b)]('(((.+)+)+)+$');});a17_0x53fd58();'use strict';Object[a17_0x577c05(0xa0)](exports,'__esModule',{'value':!![]}),exports['tokenize']=void 0x0;const delimit_1=require(a17_0x577c05(0x9e)),tokenize=(_0x3180e3,_0x2fab98)=>{const _0xe25acc=a17_0x577c05;let _0x48dfda=(0x0,delimit_1[_0xe25acc(0x9f)])(_0x3180e3,'$$');for(let _0x1568ad=_0x2fab98-0x1;_0x1568ad>=0x0;_0x1568ad--){const _0x12a69b=[];for(const _0x2ec607 of _0x48dfda){_0x2ec607['v']?_0x12a69b[_0xe25acc(0x9d)](_0x2ec607):_0x12a69b[_0xe25acc(0x9d)](...(0x0,delimit_1[_0xe25acc(0x9f)])(_0x2ec607,'$'+_0x1568ad));}_0x48dfda=_0x12a69b;}return _0x48dfda;};function a17_0x593b(_0x176062,_0x511413){const _0x170df5=a17_0x9599();return a17_0x593b=function(_0x53fd58,_0x4a640e){_0x53fd58=_0x53fd58-0x97;let _0x959987=_0x170df5[_0x53fd58];return _0x959987;},a17_0x593b(_0x176062,_0x511413);}exports[a17_0x577c05(0xa3)]=tokenize;function a17_0x9599(){const _0x302297=['defineProperty','toString','183340GBKMcH','tokenize','45595062OWTUju','10FUqYyV','1277518droacm','45iLnfVw','848620lgDOBB','5749877mWBEhk','constructor','1950324kSlYPR','search','12563464rdYbny','push','./delimit','delimit'];a17_0x9599=function(){return _0x302297;};return a17_0x9599();}
1
+ function a17_0x3a3a(){const _0x587a95=['12198FblRuM','search','push','6zOomMA','8887823amuvJR','defineProperty','2623822HhDDAQ','7744728NZzNBV','21632090jkNwUn','./delimit','3QsUrvv','11ipwolf','apply','delimit','(((.+)+)+)+$','toString','9NDKOzU','4119645ciLrHo','tokenize','1161396LGfLmP'];a17_0x3a3a=function(){return _0x587a95;};return a17_0x3a3a();}const a17_0x3b80b7=a17_0x439b;(function(_0x2def90,_0x20aedd){const _0x2a5216=a17_0x439b,_0x14cf47=_0x2def90();while(!![]){try{const _0x4c6d59=-parseInt(_0x2a5216(0xa6))/0x1+-parseInt(_0x2a5216(0xac))/0x2*(-parseInt(_0x2a5216(0x9c))/0x3)+parseInt(_0x2a5216(0xa5))/0x4+-parseInt(_0x2a5216(0xa3))/0x5+-parseInt(_0x2a5216(0xa9))/0x6*(parseInt(_0x2a5216(0xaa))/0x7)+-parseInt(_0x2a5216(0xad))/0x8*(parseInt(_0x2a5216(0xa2))/0x9)+-parseInt(_0x2a5216(0xae))/0xa*(-parseInt(_0x2a5216(0x9d))/0xb);if(_0x4c6d59===_0x20aedd)break;else _0x14cf47['push'](_0x14cf47['shift']());}catch(_0x3176b5){_0x14cf47['push'](_0x14cf47['shift']());}}}(a17_0x3a3a,0xa8d6a));function a17_0x439b(_0x350ca7,_0x2820aa){const _0x1c3094=a17_0x3a3a();return a17_0x439b=function(_0x4dc1dd,_0x15a802){_0x4dc1dd=_0x4dc1dd-0x9b;let _0x3a3a3e=_0x1c3094[_0x4dc1dd];return _0x3a3a3e;},a17_0x439b(_0x350ca7,_0x2820aa);}const a17_0x15a802=(function(){let _0x86c9f6=!![];return function(_0x461b82,_0x5035b1){const _0x5cc2c9=_0x86c9f6?function(){const _0x48a9c2=a17_0x439b;if(_0x5035b1){const _0x16fdc8=_0x5035b1[_0x48a9c2(0x9e)](_0x461b82,arguments);return _0x5035b1=null,_0x16fdc8;}}:function(){};return _0x86c9f6=![],_0x5cc2c9;};}()),a17_0x4dc1dd=a17_0x15a802(this,function(){const _0x3aed6c=a17_0x439b;return a17_0x4dc1dd[_0x3aed6c(0xa1)]()[_0x3aed6c(0xa7)](_0x3aed6c(0xa0))['toString']()['constructor'](a17_0x4dc1dd)[_0x3aed6c(0xa7)](_0x3aed6c(0xa0));});a17_0x4dc1dd();'use strict';Object[a17_0x3b80b7(0xab)](exports,'__esModule',{'value':!![]}),exports['tokenize']=void 0x0;const delimit_1=require(a17_0x3b80b7(0x9b)),tokenize=(_0x1df457,_0x45ad96)=>{const _0x5b9a34=a17_0x3b80b7;let _0x429a76=(0x0,delimit_1[_0x5b9a34(0x9f)])(_0x1df457,'$$');for(let _0x5993f1=_0x45ad96-0x1;_0x5993f1>=0x0;_0x5993f1--){const _0x338787=[];for(const _0x35f0b9 of _0x429a76){_0x35f0b9['v']?_0x338787['push'](_0x35f0b9):_0x338787[_0x5b9a34(0xa8)](...(0x0,delimit_1[_0x5b9a34(0x9f)])(_0x35f0b9,'$'+_0x5993f1));}_0x429a76=_0x338787;}return _0x429a76;};exports[a17_0x3b80b7(0xa4)]=tokenize;
@@ -1 +1 @@
1
- const a18_0x2d0531=a18_0x1fb0;function a18_0x14bd(){const _0x4cd4f5=['stopped','.\x20Error:\x20','fetchBreakpointsOnce','LOGPOINT:\x20','internal','fromEntries','./io/scanner','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','isReadyManager','5759424JLninb','Active\x20Breakpoints:\x20\x0a','apply','seconds','\x20because\x20','\x09remove\x20breakpoint\x20id\x20','replace','then','constructor','fetcherActive','selectStats','errors','Failed\x20to\x20','status','1303150OTNprw','logLevel','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','allowExpressions','\x09Notifying\x20server\x20about\x20error\x20for\x20','map','replaceRedactedByValue','agentLogTargetDir','Registering\x20debuggee','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','search','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','mapSubtract','pipingStatus','stdErrThreshold','setLevel','waitForTransmissionQueueDrain','packageInfo','reporting\x20breakpoint\x20','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','concat','stringify','events','beforeExit','sourceContext','redactionEnabled','sep','path','Debuggee\x20is\x20not\x20registered','Result:\x20\x0a','./quota-manager','4WzWehv','quotaCheck','./debuglet-helpers/format','breakpoints_fetched','logger','utf8','.\x20message:\x20','isLambda','Debuglet','register','message','Malformed\x20source-context.json\x20file:\x20','quotaRecoverySeconds','type','SIGINT','parse','deregister','SIGTERM','join','isReady','listBreakpoints','getClientConnectionTimeoutInSeconds','mapFiles','Blacklist\x20Exceptions:\x20\x0a\x09','normalize','./io/file-index','Debuglet\x20not\x20running','removeListener','breakpointExpirationSec','registration_failed','parameters','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','activeFeatures','promisify','Stopping\x20Debuglet','ignoreQuota','CachedPromise','warn','toString','breakpointUpdateIntervalSec','Working\x20directory:\x20','info','maxRequestRetryDelaySeconds','disable','__classPrivateFieldGet','../types/stackdriver','keys','...\x20[truncated]','../client/stackdriver/status-message','location','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','scan','started','emit','set','UNSPECIFIED','./agent-logger','Blacklist:\x20\x0a\x09','breakpoints_fetch_registration_required','error','undefined','defineProperty','removeBreakpoint','sourceMapDiagnostics','Server\x20breakpoints:\x0a','blacklist','isRunning','FileIndex','clientConnectionTimeoutInSeconds','promise','pipeLogs','createTime','./blocklisting/patterns-blocklist-manager','debuggee','function','assert','re-register\x20debuggee\x20','Expiring\x20breakpoint\x20id\x20','action','AGENT_LOG_FILE','config','globalPipingStatus','logMainConfigParams','271481gTpvEo','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','env','add','agentLogLevel','Breakpoint','unref','condition','pipingManager','debug','Scanner','Switching\x20globalPiping\x20status\x20from\x20','extend','849360aURqJk','Redactions:\x20\x0a\x09','(((.+)+)+)+$','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','isRedactionActive','Registered\x20as\x20debuggee:\x20','\x20completed.','findFiles','RedactionManagerRE2JS','workingDirectory','activeBreakpointMap','LOG','./debuglet-helpers/createDebuggee','js.map','1005rycfLP','BREAKPOINT_ACTION_MESSAGE','SIGQUIT','registered','DEBUG','enqueueBreakpointUpdate','agentLog','kill','EventEmitter','stop','line','breakpoints_fetch_failed','register\x20debuggee','expirationSeconds','./v8/debugapi','ALLOW_EXPRESSIONS_MESSAGE','cwd','Error\x20scanning\x20the\x20filesystem.','PipingManager','has','stringifyBreakpointForInfoLog','filter','resolve','posix','setIgnoreQuota','2069394fkbADS','createDebuggee','CAPTURE','):\x20pattern:\x20','value','call','Private\x20method\x20is\x20not\x20writable','waitFor','getProps','getLevel','QuotaManager','length','isError','31369221VlaEfu','do\x20this.','get','getSourceContextFromFile','waitForBreakpoints','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','initError','expressions','isAtLeastInfo','enable','Controller','./environment-metadata','breakpoint_set','setBlocklistManager','GAE-','now','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','isArray','\x0a\x09condition:\x20','isRegistered','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','createLogger','setCustomLogLevel','format','once','bind','normalizeConfig','readFile','.\x20Retrying\x20in\x20','StatusMessage','split','inspect','name','filename','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','./reduction/redaction-manager-re2js','collectLogRequestId','jsFileIndex','\x20(type:\x20','setPatterns','\x09Got\x20error\x20from\x20server.\x20status:\x20','forEach','GAE_MINOR_VERSION','push','pid','rejecting\x20breakpoint\x20id\x20','hash','32556kvrbnA','promiseResolve','caseInsensitive','expirationTime','shouldRedactByName','APP_ONLY','isDisabled','entries','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','removePerBreakpointQuota','clear','javascriptFileExtensions','\x09successfully\x20added\x20breakpoint\x20id\x20','util','description','Disabled\x20by\x20the\x20server','./config','REDACTED_PLACEHOLDER','backoff','debuglet','./debuglet-helpers/mapSubtract','__classPrivateFieldSet','waitExpired','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','source-context.json'];a18_0x14bd=function(){return _0x4cd4f5;};return a18_0x14bd();}(function(_0x523cea,_0x45563f){const _0x386eed=a18_0x1fb0,_0x5c2e5d=_0x523cea();while(!![]){try{const _0x159cdb=-parseInt(_0x386eed(0x189))/0x1+-parseInt(_0x386eed(0x10a))/0x2+parseInt(_0x386eed(0x1b0))/0x3*(-parseInt(_0x386eed(0x129))/0x4)+parseInt(_0x386eed(0x197))/0x5*(-parseInt(_0x386eed(0x1ec))/0x6)+-parseInt(_0x386eed(0x17c))/0x7+parseInt(_0x386eed(0x20e))/0x8+parseInt(_0x386eed(0x1bd))/0x9;if(_0x159cdb===_0x45563f)break;else _0x5c2e5d['push'](_0x5c2e5d['shift']());}catch(_0x54b1c5){_0x5c2e5d['push'](_0x5c2e5d['shift']());}}}(a18_0x14bd,0xd8207));const a18_0x220098=(function(){let _0x1cb3a0=!![];return function(_0x5c87b0,_0x1ac43f){const _0x518807=_0x1cb3a0?function(){const _0x5ddd0f=a18_0x1fb0;if(_0x1ac43f){const _0x105e85=_0x1ac43f[_0x5ddd0f(0x210)](_0x5c87b0,arguments);return _0x1ac43f=null,_0x105e85;}}:function(){};return _0x1cb3a0=![],_0x518807;};}()),a18_0x49cb20=a18_0x220098(this,function(){const _0x373756=a18_0x1fb0;return a18_0x49cb20[_0x373756(0x14f)]()[_0x373756(0x114)]('(((.+)+)+)+$')[_0x373756(0x14f)]()[_0x373756(0x216)](a18_0x49cb20)[_0x373756(0x114)](_0x373756(0x18b));});a18_0x49cb20();'use strict';var __classPrivateFieldSet=this&&this[a18_0x2d0531(0x201)]||function(_0x53eb10,_0x19fc4e,_0x42854e,_0x27e997,_0x5c1905){const _0x4b9821=a18_0x2d0531;if(_0x27e997==='m')throw new TypeError(_0x4b9821(0x1b6));if(_0x27e997==='a'&&!_0x5c1905)throw new TypeError(_0x4b9821(0x1c2));if(typeof _0x19fc4e===_0x4b9821(0x173)?_0x53eb10!==_0x19fc4e||!_0x5c1905:!_0x19fc4e[_0x4b9821(0x1aa)](_0x53eb10))throw new TypeError(_0x4b9821(0x115));return _0x27e997==='a'?_0x5c1905[_0x4b9821(0x1b5)](_0x53eb10,_0x42854e):_0x5c1905?_0x5c1905[_0x4b9821(0x1b4)]=_0x42854e:_0x19fc4e[_0x4b9821(0x15f)](_0x53eb10,_0x42854e),_0x42854e;},__classPrivateFieldGet=this&&this[a18_0x2d0531(0x155)]||function(_0xc2e129,_0x22a06c,_0x9fc801,_0x54e77d){const _0x9ef80f=a18_0x2d0531;if(_0x9fc801==='a'&&!_0x54e77d)throw new TypeError(_0x9ef80f(0x11d));if(typeof _0x22a06c===_0x9ef80f(0x173)?_0xc2e129!==_0x22a06c||!_0x54e77d:!_0x22a06c['has'](_0xc2e129))throw new TypeError(_0x9ef80f(0x148));return _0x9fc801==='m'?_0x54e77d:_0x9fc801==='a'?_0x54e77d[_0x9ef80f(0x1b5)](_0xc2e129):_0x54e77d?_0x54e77d[_0x9ef80f(0x1b4)]:_0x22a06c['get'](_0xc2e129);},_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_0x2d0531(0x166)](exports,'__esModule',{'value':!![]}),exports[a18_0x2d0531(0x131)]=exports[a18_0x2d0531(0x14d)]=void 0x0;const assert=require(a18_0x2d0531(0x174)),events_1=require(a18_0x2d0531(0x120)),extend=require(a18_0x2d0531(0x188)),fs=require('fs'),path=require('path'),util=require(a18_0x2d0531(0x1f9)),status_message_1=require(a18_0x2d0531(0x159)),stackdriver_1=require(a18_0x2d0531(0x156)),agent_logger_1=require(a18_0x2d0531(0x161)),patterns_blocklist_manager_1=require(a18_0x2d0531(0x171)),config_1=require(a18_0x2d0531(0x1fc)),configuration_provider_1=require('./configuration-provider'),controller_1=require('./controller'),createDebuggee_1=require(a18_0x2d0531(0x195)),format_1=require(a18_0x2d0531(0x12b)),mapSubtract_1=require(a18_0x2d0531(0x200)),normalizeConfig_1=require('./debuglet-helpers/normalizeConfig'),environment_metadata_1=require(a18_0x2d0531(0x1c8)),file_index_1=require(a18_0x2d0531(0x142)),scanner_1=require(a18_0x2d0531(0x20b)),SourceMapper=require('./io/sourcemapper'),piping_manager_1=require('./piping-manager'),quota_manager_1=require(a18_0x2d0531(0x128)),redaction_manager_1=require('./reduction/redaction-manager'),utils_1=require('./util/utils'),debugapi=require(a18_0x2d0531(0x1a5)),redaction_manager_re2js_1=require(a18_0x2d0531(0x1e0)),readFilep=util[a18_0x2d0531(0x14a)](fs[a18_0x2d0531(0x1d8)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x56a4f4,_0xb6ddfd)=>{const _0x1dbdac=a18_0x2d0531;let _0x24c7eb=_0x56a4f4+util[_0x1dbdac(0x1d4)](_0x1dbdac(0x15b),_0xb6ddfd['id'],_0xb6ddfd['action'],util[_0x1dbdac(0x1dc)](_0xb6ddfd[_0x1dbdac(0x15a)]));if(_0xb6ddfd[_0x1dbdac(0x170)]){const _0x2c588c=Number(_0xb6ddfd[_0x1dbdac(0x170)][_0x1dbdac(0x211)]),_0x20f815=new Date(_0x2c588c*0x3e8);_0x24c7eb+='\x0a\x09createdTime:\x20'+_0x20f815[_0x1dbdac(0x14f)]();}return _0xb6ddfd['condition']&&(_0x24c7eb+=_0x1dbdac(0x1cf)+util['inspect'](_0xb6ddfd[_0x1dbdac(0x183)])),_0xb6ddfd[_0x1dbdac(0x1c4)]&&(_0x24c7eb+='\x0a\x09expressions:\x20'+util[_0x1dbdac(0x1dc)](_0xb6ddfd['expressions'])),_0x24c7eb;},formatBreakpoints=(_0x36c469,_0x9e468d)=>_0x36c469+Object[a18_0x2d0531(0x157)](_0x9e468d)['map'](_0x38df94=>formatBreakpoint('',_0x9e468d[_0x38df94]))[a18_0x2d0531(0x13b)]('\x0a');function a18_0x1fb0(_0x2ed737,_0x32ddd2){const _0xcac141=a18_0x14bd();return a18_0x1fb0=function(_0x49cb20,_0x220098){_0x49cb20=_0x49cb20-0x10a;let _0x14bd34=_0xcac141[_0x49cb20];return _0x14bd34;},a18_0x1fb0(_0x2ed737,_0x32ddd2);}class CachedPromise{constructor(){const _0x367a6b=a18_0x2d0531;this['promiseResolve']=null,this[_0x367a6b(0x16e)]=new Promise(_0x3d8df4=>{const _0x2a8a57=_0x367a6b;this[_0x2a8a57(0x1ed)]=_0x3d8df4;});}[a18_0x2d0531(0x1bf)](){const _0x5da18d=a18_0x2d0531;return this[_0x5da18d(0x16e)];}[a18_0x2d0531(0x1ad)](){const _0x2b8ef5=a18_0x2d0531;this[_0x2b8ef5(0x1ed)]&&(this[_0x2b8ef5(0x1ed)](),this[_0x2b8ef5(0x1ed)]=null);}}exports[a18_0x2d0531(0x14d)]=CachedPromise;class IsReadyImpl{constructor(_0x2cdc75){this['debuglet']=_0x2cdc75;}[a18_0x2d0531(0x13c)](){const _0xb4cae7=a18_0x2d0531;return this[_0xb4cae7(0x1ff)][_0xb4cae7(0x13c)]();}}class Debuglet extends events_1[a18_0x2d0531(0x19f)]{constructor(_0x24a9ae,_0x14796d){const _0x497dde=a18_0x2d0531;super(),_Debuglet_instances[_0x497dde(0x17f)](this),_Debuglet_debug[_0x497dde(0x15f)](this,void 0x0),_Debuglet_v8debug[_0x497dde(0x15f)](this,void 0x0),_Debuglet_running[_0x497dde(0x15f)](this,void 0x0),_Debuglet_controller[_0x497dde(0x15f)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x497dde(0x15f)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x497dde(0x15f)](this,void 0x0),_Debuglet_breakpointFetched[_0x497dde(0x15f)](this,void 0x0),_Debuglet_debuggeeRegistered['set'](this,void 0x0),_Debuglet_nextEnableTimeout[_0x497dde(0x15f)](this,null),this[_0x497dde(0x20d)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties['set'](this,void 0x0),_Debuglet_scanner['set'](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager[_0x497dde(0x15f)](this,void 0x0),_Debuglet_redactionManager['set'](this,void 0x0),_Debuglet_configProvider[_0x497dde(0x15f)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds['set'](this,void 0x0),this['config']=(0x0,normalizeConfig_1[_0x497dde(0x1d7)])(_0x14796d),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1['ConfigurationProvider'](this[_0x497dde(0x179)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x24a9ae,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x497dde(0x217)]=![],this[_0x497dde(0x12d)]=agent_logger_1['default'][_0x497dde(0x1d2)](this['config'][_0x497dde(0x19d)]['agentLogTargetDir'],this[_0x497dde(0x179)][_0x497dde(0x19d)]['agentLogMaxFileSizeMb'],this['config'][_0x497dde(0x19d)]['agentLogMaxFileCount'],this[_0x497dde(0x179)][_0x497dde(0x19d)][_0x497dde(0x180)],this[_0x497dde(0x179)][_0x497dde(0x19d)][_0x497dde(0x118)]),(0x0,config_1[_0x497dde(0x17b)])(this['config'],this[_0x497dde(0x12d)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1['EnvironmentMetadata'](this[_0x497dde(0x12d)])[_0x497dde(0x1b8)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x497dde(0x1c7))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x497dde(0x179)],this[_0x497dde(0x12d)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x497dde(0x186))](this[_0x497dde(0x12d)]),'f'),this['debuggee']=null,this[_0x497dde(0x193)]={},__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[(_0x497dde(0x1ba))](this[_0x497dde(0x12d)],this[_0x497dde(0x179)]),'f'),this['pipingManager']=new piping_manager_1[(_0x497dde(0x1a9))](_0x497dde(0x1f1),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async[a18_0x2d0531(0x11a)](_0x5b12fe){const _0xa29ce7=a18_0x2d0531;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xa29ce7(0x11a)](_0x5b12fe);}[a18_0x2d0531(0x13e)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x2d0531(0x1c1)](_0x589e7d){const _0x38bb66=a18_0x2d0531,_0x35f8d3=0x32;let _0x2a0609=null;const _0x92d51=()=>_0x2a0609=!![],_0x26edf9=()=>_0x2a0609=![],_0x488a69=_0x34912e=>{if(_0x34912e)return;_0x92d51();};let _0x1bdb6b=![];const _0x21b47d=_0x488580=>{const _0x4b0665=a18_0x1fb0;_0x1bdb6b&&_0x26edf9(),_0x1bdb6b=!![],this[_0x4b0665(0x132)]();};this[_0x38bb66(0x1d5)]('breakpoints_fetched',_0x488a69),this[_0x38bb66(0x1d5)](_0x38bb66(0x1c9),_0x92d51);this[_0x38bb66(0x179)][_0x38bb66(0x209)]?.[_0x38bb66(0x130)]&&(this[_0x38bb66(0x1d5)](_0x38bb66(0x146),_0x26edf9),this[_0x38bb66(0x1d5)](_0x38bb66(0x1a2),_0x26edf9),this['once'](_0x38bb66(0x163),_0x21b47d));if(_0x589e7d){const _0xf17843=Date[_0x38bb66(0x1cc)]();while(_0x2a0609===null&&Date[_0x38bb66(0x1cc)]()-_0xf17843<_0x589e7d){await(0x0,utils_1[_0x38bb66(0x1b7)])(_0x35f8d3);}}return this['removeListener'](_0x38bb66(0x12c),_0x488a69),this[_0x38bb66(0x144)]('breakpoint_set',_0x92d51),this[_0x38bb66(0x179)][_0x38bb66(0x209)]?.['isLambda']&&(this[_0x38bb66(0x144)](_0x38bb66(0x146),_0x26edf9),this[_0x38bb66(0x144)]('breakpoints_fetch_failed',_0x26edf9),this[_0x38bb66(0x144)](_0x38bb66(0x163),_0x21b47d)),_0x2a0609===!![];}[a18_0x2d0531(0x207)](){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}[a18_0x2d0531(0x1d0)](){return this['debuggee']?.['id']!==undefined;}async[a18_0x2d0531(0x190)](_0x433248,_0x59a83f){const _0x3be0d6=a18_0x2d0531,_0x44c29b=_0x433248[_0x3be0d6(0x192)],_0x23ecfe=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x3be0d6(0x15c)](_0x44c29b,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x433248[_0x3be0d6(0x1f7)][_0x3be0d6(0x11e)](_0x3be0d6(0x196))),_0x59a83f,_0x433248['extraPaths']),_0x1b2710=_0x23ecfe[_0x3be0d6(0x218)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x3be0d6(0x1b5)](_a,_0x433248[_0x3be0d6(0x1f7)])),_0x38c78f=file_index_1[_0x3be0d6(0x16c)]['fromFileStats'](_0x1b2710),_0x470a36=_0x23ecfe['selectFiles'](/.js.map$/,process[_0x3be0d6(0x1a7)]()),_0x18ed0f=_0x23ecfe[_0x3be0d6(0x219)]();return{'mapFiles':_0x470a36,'errors':_0x18ed0f,'jsFileIndex':_0x38c78f,'hash':_0x23ecfe[_0x3be0d6(0x1eb)]};}async['start'](){const _0x2085ae=a18_0x2d0531,_0x12e875=this[_0x2085ae(0x179)][_0x2085ae(0x192)];if(!this[_0x2085ae(0x179)]['allowRootAsWorkingDirectory']&&path[_0x2085ae(0x13b)](_0x12e875,'..')===_0x12e875){const _0x11fb3d=_0x2085ae(0x1f4)+_0x2085ae(0x1df)+_0x2085ae(0x203)+_0x2085ae(0x1be);this[_0x2085ae(0x12d)]['error'](_0x11fb3d),this[_0x2085ae(0x15e)](_0x2085ae(0x1c3),new Error(_0x11fb3d));return;}let _0x28bdf3;process[_0x2085ae(0x17e)][_0x2085ae(0x1e7)]&&(_0x28bdf3=_0x2085ae(0x1cb)+process[_0x2085ae(0x17e)][_0x2085ae(0x1e7)]);let _0x50e2f8,_0x4ff4e0=_0x28bdf3??'';try{_0x50e2f8=await this[_0x2085ae(0x190)](this[_0x2085ae(0x179)],_0x28bdf3),_0x50e2f8[_0x2085ae(0x219)][_0x2085ae(0x1e6)](this[_0x2085ae(0x12d)][_0x2085ae(0x14e)]);}catch(_0x235845){this['logger'][_0x2085ae(0x164)](_0x2085ae(0x1a8),_0x235845),this[_0x2085ae(0x15e)](_0x2085ae(0x1c3),_0x235845);return;}try{const _0x2de917=await SourceMapper['create'](this[_0x2085ae(0x12d)],_0x50e2f8[_0x2085ae(0x13f)],this[_0x2085ae(0x179)][_0x2085ae(0x209)]?.[_0x2085ae(0x168)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi['create'](this['logger'],this[_0x2085ae(0x179)],_0x50e2f8[_0x2085ae(0x1e2)],_0x2de917,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x4ff4e0=_0x28bdf3??_0x50e2f8[_0x2085ae(0x1eb)];}catch(_0x14933d){this['logger'][_0x2085ae(0x164)]('Error\x20processing\x20the\x20sourcemaps.',_0x14933d),this['logger'][_0x2085ae(0x152)](JSON[_0x2085ae(0x11f)](_0x14933d)),this['emit']('initError',_0x14933d);}this[_0x2085ae(0x12d)]['info']('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x4ff4e0);const _0x7e6dcd=(0x0,utils_1['readFullVersion'])(this[_0x2085ae(0x12d)])[_0x2085ae(0x214)]('\x0a','');this[_0x2085ae(0x12d)][_0x2085ae(0x152)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x7e6dcd);let _0x25ab5e;try{_0x25ab5e=this[_0x2085ae(0x179)][_0x2085ae(0x122)]||await _a[_0x2085ae(0x1c0)]();}catch{}this[_0x2085ae(0x12d)][_0x2085ae(0x152)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process['mainModule']?.[_0x2085ae(0x1de)]),this[_0x2085ae(0x12d)][_0x2085ae(0x185)](_0x2085ae(0x151)+_0x12e875),this[_0x2085ae(0x12d)][_0x2085ae(0x185)]('Starting\x20debuggee'),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x2085ae(0x172)]=(0x0,createDebuggee_1[_0x2085ae(0x1b1)])(_0x4ff4e0,this[_0x2085ae(0x179)],_0x25ab5e,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x2085ae(0x11b)],_0x7e6dcd,this['logger'],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x2085ae(0x1b5)](this),this[_0x2085ae(0x132)](),this[_0x2085ae(0x15e)](_0x2085ae(0x15d));}[a18_0x2d0531(0x13c)](){const _0x357f2f=a18_0x2d0531;if(Date[_0x357f2f(0x1cc)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x357f2f(0x1ad)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x357f2f(0x1bf)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['get']()['then'](()=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x357f2f(0x1bf)]();}}static async[a18_0x2d0531(0x1c0)](){const _0x457aff=a18_0x2d0531,_0x24a613=await readFilep(_0x457aff(0x204),_0x457aff(0x12e));try{return JSON[_0x457aff(0x138)](_0x24a613);}catch(_0x1c4838){throw new Error(_0x457aff(0x134)+_0x1c4838);}}[a18_0x2d0531(0x132)](){const _0x49914b=a18_0x2d0531;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x49914b(0x1b5)](this,0x0);}[a18_0x2d0531(0x16b)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x2d0531(0x1a0)](){const _0x558e62=a18_0x2d0531;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x558e62(0x12d)][_0x558e62(0x185)](_0x558e62(0x18c));return;}this[_0x558e62(0x12d)][_0x558e62(0x185)](_0x558e62(0x14b)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.['stop'](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x558e62(0x15e)](_0x558e62(0x205));}[a18_0x2d0531(0x1ab)](_0x35b11f){const _0x62326d=a18_0x2d0531;if(!this[_0x62326d(0x12d)][_0x62326d(0x1c5)]())return _0x35b11f['id'];try{const _0xa56ef4=JSON[_0x62326d(0x11f)](_0x35b11f);if(_0xa56ef4[_0x62326d(0x1bb)]<=BREAKPOINT_LOG_MAX_CHARS)return _0xa56ef4;return _0xa56ef4['substring'](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x62326d(0x158);}catch(_0x2dd189){return this[_0x62326d(0x12d)][_0x62326d(0x164)](_0x62326d(0x113),_0x2dd189),_0x35b11f['id'];}}[a18_0x2d0531(0x1d3)](_0x4f5923){const _0x5da4f0=a18_0x2d0531,_0x2071fe=this[_0x5da4f0(0x12d)]['getInitialLevel']();if(_0x2071fe===_0x5da4f0(0x185))return;switch(_0x4f5923){case _0x5da4f0(0x19b):this[_0x5da4f0(0x12d)][_0x5da4f0(0x1b9)]()!==_0x5da4f0(0x185)&&(this[_0x5da4f0(0x12d)][_0x5da4f0(0x119)](_0x5da4f0(0x185)),this[_0x5da4f0(0x12d)][_0x5da4f0(0x185)](_0x5da4f0(0x17d)));break;case'NOT_SET':case undefined:this[_0x5da4f0(0x12d)]['getLevel']()===_0x5da4f0(0x185)&&(this[_0x5da4f0(0x12d)][_0x5da4f0(0x119)](_0x2071fe),this[_0x5da4f0(0x12d)][_0x5da4f0(0x152)]('Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20('+_0x2071fe+')'));break;default:this[_0x5da4f0(0x12d)][_0x5da4f0(0x14e)]('Unknown\x20agentLogLevel\x20'+_0x4f5923);}}}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(_0x206b9d){const _0x92bff6=a18_0x2d0531;return new RegExp(_0x206b9d[_0x92bff6(0x10f)](_0x2496da=>_0x2496da+'$')[_0x92bff6(0x13b)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x592a40=a18_0x2d0531,_0xba6f47=[_0x592a40(0x13a),_0x592a40(0x137),_0x592a40(0x199)];_0xba6f47['forEach'](_0x3ddbd8=>{const _0xc56865=_0x592a40;process[_0xc56865(0x1d5)](_0x3ddbd8,()=>{const _0x4493ac=_0xc56865;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4493ac(0x139)](this[_0x4493ac(0x172)],()=>{const _0xfbd8d7=_0x4493ac;process[_0xfbd8d7(0x19e)](process[_0xfbd8d7(0x1e9)],_0x3ddbd8);});});}),process[_0x592a40(0x1d5)](_0x592a40(0x121),()=>{const _0x51316a=_0x592a40;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x51316a(0x172)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x41b263){const _0x439d2e=a18_0x2d0531;this[_0x439d2e(0x12d)][_0x439d2e(0x185)](_0x41b263?'Scheduling\x20registration\x20in\x20'+_0x41b263+'s':_0x439d2e(0x112));const _0x3ec149=(_0x9c1f28,_0xadfabb,_0x306455=![])=>{const _0x39cd79=_0x439d2e;this['emit']('registration_failed');const _0x5ae328=this['debuggee']?.['id'],_0x4d2839=_0x5ae328?_0x39cd79(0x175)+_0x5ae328:_0x39cd79(0x1a3),_0x4a4f42=_0x39cd79(0x21a)+_0x4d2839+':\x20'+(0x0,utils_1['prettyError'])(_0x9c1f28);this[_0x39cd79(0x12d)]['error'](_0x4a4f42),_0xadfabb&&!_0x306455&&this[_0x39cd79(0x12d)][_0x39cd79(0x164)](_0x39cd79(0x127),_0xadfabb),!this[_0x39cd79(0x179)][_0x39cd79(0x209)]?.[_0x39cd79(0x130)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x39cd79(0x1b5)](this,(0x0,utils_1[_0x39cd79(0x1fe)])(_0x41b263,this[_0x39cd79(0x179)]['internal'][_0x39cd79(0x153)]));};setTimeout(()=>{const _0x477cba=_0x439d2e;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x3ec149(new Error(_0x477cba(0x143)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x477cba(0x132)](this[_0x477cba(0x172)],(_0x29c171,_0xb6e335,_0x33c2f3=![])=>{const _0x389026=_0x477cba;if(_0x29c171){_0x3ec149(_0x29c171,_0xb6e335,_0x33c2f3);return;}if(_0xb6e335['debuggee'][_0x389026(0x1f2)]){_0x3ec149(new Error(_0x389026(0x1fb))),this[_0x389026(0x15e)]('remotelyDisabled');return;}const _0x233bf8=_0xb6e335[_0x389026(0x172)]['id'];this[_0x389026(0x12d)][_0x389026(0x152)](_0x389026(0x18e)+_0x233bf8),this[_0x389026(0x172)]['id']=_0x233bf8;const _0x3233a6=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x389026(0x1d6)](this)(this[_0x389026(0x172)]['id'])];this[_0x389026(0x179)][_0x389026(0x123)]&&_0x3233a6[_0x389026(0x1e8)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x389026(0x1d6)](this)(this[_0x389026(0x172)]['id'])),Promise['all'](_0x3233a6)[_0x389026(0x215)](()=>{const _0x1dea8f=_0x389026;this[_0x1dea8f(0x15e)](_0x1dea8f(0x19a),_0x233bf8),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x1dea8f(0x1ad)](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x1dea8f(0x1ca)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0xb6e335?.[_0x1dea8f(0x16d)],'f'),!this[_0x1dea8f(0x217)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x1dea8f(0x1b5)](this,0x0,this[_0x1dea8f(0x179)]['fetchBreakpointsOnce'],_0xb6e335?.['clientConnectionTimeoutInSeconds']);},_0x48544c=>{_0x3ec149(_0x48544c);});});},_0x41b263*0x3e8)[_0x439d2e(0x182)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x5e9a8b,_0x4d5117,_0x206fcc){const _0x2fe68a=a18_0x2d0531;this['logger']['debug']('scheduleBreakpointFetch_\x20'+_0x5e9a8b+'\x20'+_0x4d5117+'\x20'+_0x206fcc),!_0x4d5117&&(this['fetcherActive']=!![]),setTimeout(()=>{const _0x9902fa=a18_0x1fb0;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x4d5117&&assert(this['fetcherActive']),this[_0x9902fa(0x12d)]['debug']('Fetching\x20breakpoints'),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x9902fa(0x13d)](this[_0x9902fa(0x172)],(_0x3d4c81,_0x4efb3b,_0x2688a9)=>{const _0x39aedd=_0x9902fa;if(_0x2688a9?.['status']===0x194){this[_0x39aedd(0x12d)][_0x39aedd(0x152)](_0x39aedd(0x126)),this[_0x39aedd(0x217)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x39aedd(0x1b5)](this);this[_0x39aedd(0x179)]['internal']?.[_0x39aedd(0x130)]?this[_0x39aedd(0x15e)](_0x39aedd(0x163)):this[_0x39aedd(0x132)]();return;}if(_0x3d4c81){if(this[_0x39aedd(0x179)][_0x39aedd(0x209)]?.[_0x39aedd(0x130)])this[_0x39aedd(0x15e)](_0x39aedd(0x1a2)),this[_0x39aedd(0x12d)][_0x39aedd(0x164)](_0x39aedd(0x1cd)+_0x2688a9?.['status']+_0x39aedd(0x12f)+_0x3d4c81['message']);else{const _0x4a2d9a=(0x0,utils_1['backoff'])(_0x5e9a8b,this['config']['internal'][_0x39aedd(0x153)]);this['logger'][_0x39aedd(0x164)](_0x39aedd(0x1e5)+_0x2688a9?.[_0x39aedd(0x21b)]+_0x39aedd(0x12f)+_0x3d4c81[_0x39aedd(0x133)]+_0x39aedd(0x1d9)+_0x4a2d9a+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x39aedd(0x1b5)](this,_0x4a2d9a,_0x4d5117,_0x206fcc);}return;}this[_0x39aedd(0x12d)][_0x39aedd(0x185)]('\x09'+_0x2688a9['status']+_0x39aedd(0x18f));if(!_0x4efb3b){const _0x15d971=this['config'][_0x39aedd(0x150)];this[_0x39aedd(0x12d)][_0x39aedd(0x164)]('\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20'+_0x15d971+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x39aedd(0x1b5)](this,_0x15d971,_0x4d5117,_0x206fcc);return;}this['setCustomLogLevel'](_0x4efb3b[_0x39aedd(0x180)]);if(_0x4efb3b[_0x39aedd(0x202)]){this['logger']['info']('\x09Long\x20poll\x20completed.'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0x4d5117,_0x206fcc);return;}if(_0x4efb3b[_0x39aedd(0x16f)]&&_0x4efb3b[_0x39aedd(0x16f)]!=='NOT_SET'){const _0x5a646d=this['pipingManager']['globalPipingStatus'];_0x5a646d!==_0x4efb3b[_0x39aedd(0x16f)]&&(this[_0x39aedd(0x12d)][_0x39aedd(0x185)](_0x39aedd(0x187)+_0x5a646d+'\x20to\x20'+_0x4efb3b['pipeLogs']),this[_0x39aedd(0x184)][_0x39aedd(0x17a)]=_0x4efb3b['pipeLogs']);}if(_0x4efb3b['collectAndSendLog']&&_0x4efb3b[_0x39aedd(0x1e1)]!==this[_0x39aedd(0x1e1)]){this['collectLogRequestId']=_0x4efb3b['collectLogRequestId'];const _0x4cec1d=this[_0x39aedd(0x179)][_0x39aedd(0x19d)][_0x39aedd(0x111)]&&path[_0x39aedd(0x13b)](this[_0x39aedd(0x179)][_0x39aedd(0x19d)][_0x39aedd(0x111)],agent_logger_1['default'][_0x39aedd(0x178)]);_0x4cec1d&&fs['existsSync'](_0x4cec1d)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')['sendAgentLogsToServer'](this[_0x39aedd(0x172)],_0x4efb3b[_0x39aedd(0x1e1)],_0x4cec1d)):this['logger'][_0x39aedd(0x152)](_0x39aedd(0x1d1)+_0x4efb3b[_0x39aedd(0x1e1)]+_0x39aedd(0x212)+_0x39aedd(0x10c));}__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x39aedd(0x149)]=_0x4efb3b[_0x39aedd(0x149)]??[];const _0xd1e49e=(_0x4efb3b['breakpoints']||[])[_0x39aedd(0x10f)](_0x30b88d=>new stackdriver_1[(_0x39aedd(0x181))](_0x30b88d))['filter'](_0x56f1ab=>{const _0x2aa4a2=_0x39aedd,_0x5905b6=_0x56f1ab[_0x2aa4a2(0x177)]??_0x2aa4a2(0x1b2);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x56f1ab['id']])return![];if(_0x5905b6!==_0x2aa4a2(0x1b2)&&_0x5905b6!==_0x2aa4a2(0x194))return this[_0x2aa4a2(0x12d)][_0x2aa4a2(0x14e)]('Found\x20breakpoint\x20with\x20invalid\x20action:',_0x5905b6),_0x56f1ab[_0x2aa4a2(0x21b)]=new status_message_1[(_0x2aa4a2(0x1da))](status_message_1[_0x2aa4a2(0x1da)][_0x2aa4a2(0x160)],utils_1[_0x2aa4a2(0x219)][_0x2aa4a2(0x198)],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x2aa4a2(0x1b5)](this,_0x56f1ab),![];return!![];}),_0x6646b4=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x39aedd(0x1b5)](this);let _0x19f521=_0x6646b4['length']>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x39aedd(0x1b5)](this,_0x6646b4),_0x19f521=_0x19f521||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x39aedd(0x1b5)](this,_0xd1e49e),this[_0x39aedd(0x15e)]('breakpoints_fetched',_0xd1e49e['length']);_0x19f521&&this[_0x39aedd(0x12d)][_0x39aedd(0x185)](formatBreakpoints(_0x39aedd(0x20f),this[_0x39aedd(0x193)]));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x39aedd(0x1cc)](),'f');_0x4d5117?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x39aedd(0x1ad)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x39aedd(0x1b5)](this,0x0,_0x4d5117,_0x206fcc);return;},_0x206fcc);},_0x5e9a8b*0x3e8)[_0x2fe68a(0x182)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x50c3ae=a18_0x2d0531;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x50c3ae(0x1ad)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x47c554){const _0x5a6410=a18_0x2d0531,_0x508202=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x5a6410(0x1b5)](this,_0x47c554);let _0x22352d=![];return _0x47c554[_0x5a6410(0x1e6)](_0x1b81a2=>{const _0x43b0e8=_0x5a6410;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1b81a2['id']]&&!this['activeBreakpointMap'][_0x1b81a2['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x43b0e8(0x1b5)](this,_0x1b81a2,_0x14f4bc=>{_0x14f4bc&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x1b81a2,!![],![]);}),_0x22352d=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x1b81a2['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x43b0e8(0x1af)](_0x1b81a2['id'],_0x1b81a2[_0x43b0e8(0x14c)]),this[_0x43b0e8(0x184)]['setPipingStatus'](_0x1b81a2['id'],_0x1b81a2[_0x43b0e8(0x117)]);}),(0x0,mapSubtract_1[_0x5a6410(0x116)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x508202)[_0x5a6410(0x1e6)](_0x2a740d=>{const {id:_0x3c9726}=_0x2a740d;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x3c9726],_0x22352d=!![];}),(0x0,mapSubtract_1[_0x5a6410(0x116)])(this['activeBreakpointMap'],_0x508202)['forEach'](_0x102ae9=>{const _0x19bf46=_0x5a6410;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x19bf46(0x1b5)](this,_0x102ae9,!![]),_0x22352d=!![];}),_0x22352d&&this['logger'][_0x5a6410(0x185)](formatBreakpoints(_0x5a6410(0x169),_0x508202)),_0x22352d;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x242a6a){const _0x37a5ba=a18_0x2d0531;return Object[_0x37a5ba(0x20a)](_0x242a6a[_0x37a5ba(0x10f)](_0x14e8ba=>[_0x14e8ba['id'],_0x14e8ba]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x529294,_0x238ea7){const _0x3f4617=a18_0x2d0531;this[_0x3f4617(0x12d)][_0x3f4617(0x152)](_0x3f4617(0x213)+_0x529294['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x3f4617(0x1f5)](_0x529294['id']),this['pipingManager'][_0x3f4617(0x167)](_0x529294['id']),delete this[_0x3f4617(0x193)][_0x529294['id']],_0x238ea7&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x3f4617(0x1f6)](_0x529294,_0x11e096=>{if(_0x11e096)this['logger']['error'](_0x11e096);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x51e7b5,_0x4aadba){const _0x33df9c=a18_0x2d0531;this[_0x33df9c(0x12d)]['info']('\x09adding\x20breakpoint',this['stringifyBreakpointForInfoLog'](_0x51e7b5));if(!this[_0x33df9c(0x179)][_0x33df9c(0x10d)]&&(_0x51e7b5[_0x33df9c(0x183)]||_0x51e7b5[_0x33df9c(0x1c4)])){this[_0x33df9c(0x12d)][_0x33df9c(0x164)](utils_1[_0x33df9c(0x219)][_0x33df9c(0x1a6)][_0x33df9c(0x1fa)]??''),_0x51e7b5[_0x33df9c(0x21b)]=new status_message_1[(_0x33df9c(0x1da))](status_message_1['StatusMessage']['UNSPECIFIED'],utils_1[_0x33df9c(0x219)][_0x33df9c(0x1a6)],!![]),setImmediate(()=>{const _0x51d07a=_0x33df9c;_0x4aadba(utils_1['errors'][_0x51d07a(0x1a6)]);});return;}const _0x488a3c=_0x51e7b5[_0x33df9c(0x170)]?Number(_0x51e7b5[_0x33df9c(0x170)]['seconds']):Date[_0x33df9c(0x1cc)]()/0x3e8,_0x431282=_0x51e7b5[_0x33df9c(0x1a4)]??this[_0x33df9c(0x179)][_0x33df9c(0x145)];_0x51e7b5[_0x33df9c(0x1ef)]=_0x488a3c+_0x431282,_0x51e7b5[_0x33df9c(0x15a)]?.['path']&&(_0x51e7b5[_0x33df9c(0x15a)][_0x33df9c(0x125)]=path[_0x33df9c(0x141)](_0x51e7b5[_0x33df9c(0x15a)][_0x33df9c(0x125)]),path[_0x33df9c(0x124)]===path[_0x33df9c(0x1ae)][_0x33df9c(0x124)]&&(_0x51e7b5['location'][_0x33df9c(0x125)]=_0x51e7b5[_0x33df9c(0x15a)][_0x33df9c(0x125)][_0x33df9c(0x1db)]('\x5c')[_0x33df9c(0x13b)](path[_0x33df9c(0x124)]))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x33df9c(0x15f)](_0x51e7b5,_0x38c368=>{const _0x407292=_0x33df9c;if(_0x38c368){_0x4aadba(_0x38c368);return;}this[_0x407292(0x12d)][_0x407292(0x152)](_0x407292(0x1f8)+_0x51e7b5['id']),this['activeBreakpointMap'][_0x51e7b5['id']]=_0x51e7b5,_0x51e7b5[_0x407292(0x177)]===_0x407292(0x194)?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['log'](_0x51e7b5,(_0xa21df8,_0x5609d9)=>{const _0x524c1c=_0x407292,_0x4c04de=_0x5609d9[_0x524c1c(0x10f)](_0x3cf700=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x524c1c(0x1b5)](this,_0x3cf700)),_0x434dc3=(0x0,format_1[_0x524c1c(0x1d4)])(_0xa21df8,_0x4c04de),_0x7692b0=_0x524c1c(0x208)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x524c1c(0x110)](_0x434dc3)??_0x434dc3),_0x2e93b2=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x524c1c(0x12a)](_0x7692b0,_0x51e7b5['id']);if(_0x2e93b2){const _0x8db458=_0x2e93b2[_0x524c1c(0x133)],{isOutOfQuota:_0xd8f797}=_0x2e93b2;let _0xd94b7a,_0x26324f;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x524c1c(0x18d)]()&&!_0xd8f797&&(_0xd94b7a=_0x524c1c(0x208)+_0xa21df8,_0x26324f=_0x4c04de);this[_0x524c1c(0x184)]['addAndPipeLog'](this[_0x524c1c(0x172)],_0x51e7b5['id'],_0x8db458,_0x51e7b5[_0x524c1c(0x10b)],_0xd94b7a,_0x26324f);if(_0xd8f797)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x524c1c(0x154)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x3a753b=_0x524c1c;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x3a753b(0x1c6)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this['config']['quota'][_0x524c1c(0x135)]*0x3e8),'f');else _0x8db458?.[_0x524c1c(0x1bb)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable']();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x51e7b5['id']],_0x25aa6d=>{if(_0x25aa6d){this['logger']['error'](_0x25aa6d),_0x4aadba(_0x25aa6d);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['wait'](_0x51e7b5,_0x566e6a=>{const _0x2cc4ab=_0x407292;if(_0x566e6a){setImmediate(()=>{const _0x4f0dfa=a18_0x1fb0;this['logger'][_0x4f0dfa(0x164)](_0x566e6a),_0x4aadba(_0x566e6a);});return;}this[_0x2cc4ab(0x12d)][_0x2cc4ab(0x152)](_0x2cc4ab(0x20c)+_0x51e7b5['id'],_0x51e7b5['location']?.[_0x2cc4ab(0x125)],_0x51e7b5[_0x2cc4ab(0x15a)]?.[_0x2cc4ab(0x1a1)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x2cc4ab(0x1b5)](this,_0x51e7b5,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['remainingHits'](_0x51e7b5['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x407292(0x1b5)](this,_0x51e7b5);}),this[_0x33df9c(0x15e)]('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x1b56b4,_0x303f55,_0x484978=!![]){const _0x4d2afb=a18_0x2d0531;if(_0x1b56b4[_0x4d2afb(0x21b)]?.[_0x4d2afb(0x1bc)]){let _0xb15b1e=_0x1b56b4[_0x4d2afb(0x21b)]?.[_0x4d2afb(0x1fa)]?.[_0x4d2afb(0x1d4)]||'';_0x1b56b4[_0x4d2afb(0x21b)]?.[_0x4d2afb(0x1fa)]?.[_0x4d2afb(0x147)]&&(_0xb15b1e+=':\x20'+_0x1b56b4[_0x4d2afb(0x21b)]?.[_0x4d2afb(0x1fa)]?.[_0x4d2afb(0x147)][_0x4d2afb(0x14f)]()),this[_0x4d2afb(0x12d)][_0x4d2afb(0x14e)](_0x4d2afb(0x10e)+_0x1b56b4+_0x4d2afb(0x206)+_0xb15b1e);}else this[_0x4d2afb(0x12d)][_0x4d2afb(0x152)]('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',this[_0x4d2afb(0x1ab)](_0x1b56b4));_0x303f55&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1b56b4['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x4d2afb(0x1b5)](this,_0x1b56b4,_0x484978)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4d2afb(0x19c)](this['debuggee'],extend(!![],{},_0x1b56b4));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x54ffb1){const _0x549f49=a18_0x2d0531;this[_0x549f49(0x12d)][_0x549f49(0x185)](_0x549f49(0x11c)+_0x54ffb1+'\x20accepted\x20by\x20agent');const _0x44cca5=extend(!![],{},_0x54ffb1);_0x44cca5['isFinalState']=![],_0x44cca5[_0x549f49(0x21b)]=new status_message_1[(_0x549f49(0x1da))](status_message_1['StatusMessage'][_0x549f49(0x160)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x549f49(0x19c)](this[_0x549f49(0x172)],_0x44cca5);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x30b981){const _0xde3b2a=a18_0x2d0531;this[_0xde3b2a(0x12d)][_0xde3b2a(0x152)](_0xde3b2a(0x1ea)+_0x30b981),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x30b981['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xde3b2a(0x19c)](this[_0xde3b2a(0x172)],_0x30b981);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x910e89){const _0x4dbd2f=a18_0x2d0531;_0x910e89[_0x4dbd2f(0x1e6)](_0x3dc493=>{const _0x211b0c=_0x4dbd2f;this[_0x211b0c(0x12d)][_0x211b0c(0x152)](_0x211b0c(0x176)+_0x3dc493['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x3dc493['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x211b0c(0x1b5)](this,_0x3dc493,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x11073a=a18_0x2d0531,_0x3e9386=Date[_0x11073a(0x1cc)]()/0x3e8;return Object['values'](this[_0x11073a(0x193)])[_0x11073a(0x1ac)](_0x795d98=>_0x795d98[_0x11073a(0x1ef)]?_0x795d98[_0x11073a(0x1ef)]<_0x3e9386:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0xf5a963){const _0x1aeddd=a18_0x2d0531,_0x5a0fd5=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0xf5a963),_0x3140ac=_0x5a0fd5[_0x1aeddd(0x16a)],_0x37313b=_0x5a0fd5['blacklist_exception'];_0x3140ac?.['length']&&this[_0x1aeddd(0x12d)][_0x1aeddd(0x185)](_0x1aeddd(0x162),_0x3140ac['join']('\x0a\x09')),_0x37313b?.[_0x1aeddd(0x1bb)]&&this['logger'][_0x1aeddd(0x185)](_0x1aeddd(0x140),_0x37313b[_0x1aeddd(0x13b)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1['PatternsBlocklistManager'](_0x3140ac,_0x37313b,this[_0x1aeddd(0x179)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x38df6d){const _0x334906=a18_0x2d0531,_0x38929f=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getRedactions'](_0x38df6d);_0x38929f?.[_0x334906(0x1bb)]&&this[_0x334906(0x12d)][_0x334906(0x185)](_0x334906(0x18a),_0x38929f[_0x334906(0x10f)](_0x3a224c=>'name:\x20'+_0x3a224c[_0x334906(0x1dd)]+_0x334906(0x1e3)+_0x3a224c[_0x334906(0x136)]+_0x334906(0x1b3)+_0x3a224c['pattern']+'\x20caseInsensitive:\x20'+_0x3a224c[_0x334906(0x1ee)])['join']('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x334906(0x191))](this[_0x334906(0x12d)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x334906(0x1e4)](_0x38929f);},_Debuglet_stringify=function _Debuglet_stringify(_0x214dce){const _0x330c59=a18_0x2d0531;if(!_0x214dce)return JSON[_0x330c59(0x11f)](_0x214dce,(_0x561b4a,_0x39ac87)=>_0x39ac87===undefined?_0x330c59(0x165):_0x39ac87);if(Array[_0x330c59(0x1ce)](_0x214dce)){const _0x49e3bc=_0x214dce[_0x330c59(0x10f)](_0x129e78=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x330c59(0x1b5)](this,_0x129e78));return'['+_0x49e3bc['join'](',\x20')+']';}if(typeof _0x214dce==='object'){const _0x140feb=Object[_0x330c59(0x1f3)](_0x214dce)[_0x330c59(0x10f)](([_0x5cdce,_0x357537])=>{const _0x1833c9=_0x330c59,_0x4733d6=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1833c9(0x1f0)](_0x5cdce)?redaction_manager_1[_0x1833c9(0x1fd)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x357537);return JSON[_0x1833c9(0x11f)](_0x5cdce)+':\x20'+_0x4733d6;})[_0x330c59(0x13b)](',\x20');return'{'+_0x140feb+'}';}return JSON[_0x330c59(0x11f)](_0x214dce);});
1
+ const a18_0x44dd23=a18_0x1e62;function a18_0x1e62(_0x4154d5,_0x53d23e){const _0x18617c=a18_0x42d8();return a18_0x1e62=function(_0x3d06a6,_0x53cbb2){_0x3d06a6=_0x3d06a6-0x165;let _0x42d87f=_0x18617c[_0x3d06a6];return _0x42d87f;},a18_0x1e62(_0x4154d5,_0x53d23e);}(function(_0x34ffb6,_0x513ad5){const _0x5c6b16=a18_0x1e62,_0x310b21=_0x34ffb6();while(!![]){try{const _0x2d5e20=-parseInt(_0x5c6b16(0x22f))/0x1+parseInt(_0x5c6b16(0x217))/0x2*(parseInt(_0x5c6b16(0x19a))/0x3)+parseInt(_0x5c6b16(0x1fd))/0x4*(-parseInt(_0x5c6b16(0x26c))/0x5)+-parseInt(_0x5c6b16(0x23f))/0x6*(-parseInt(_0x5c6b16(0x1b3))/0x7)+-parseInt(_0x5c6b16(0x1a2))/0x8+-parseInt(_0x5c6b16(0x21d))/0x9+-parseInt(_0x5c6b16(0x1c5))/0xa*(-parseInt(_0x5c6b16(0x240))/0xb);if(_0x2d5e20===_0x513ad5)break;else _0x310b21['push'](_0x310b21['shift']());}catch(_0x490035){_0x310b21['push'](_0x310b21['shift']());}}}(a18_0x42d8,0xe6733));const a18_0x53cbb2=(function(){let _0x3c3347=!![];return function(_0x5ece13,_0x5573fe){const _0x34121a=_0x3c3347?function(){const _0x1be0ad=a18_0x1e62;if(_0x5573fe){const _0x35b52b=_0x5573fe[_0x1be0ad(0x1a6)](_0x5ece13,arguments);return _0x5573fe=null,_0x35b52b;}}:function(){};return _0x3c3347=![],_0x34121a;};}()),a18_0x3d06a6=a18_0x53cbb2(this,function(){const _0x57d509=a18_0x1e62;return a18_0x3d06a6[_0x57d509(0x1f9)]()[_0x57d509(0x234)](_0x57d509(0x1b6))[_0x57d509(0x1f9)]()['constructor'](a18_0x3d06a6)[_0x57d509(0x234)](_0x57d509(0x1b6));});a18_0x3d06a6();'use strict';var __classPrivateFieldSet=this&&this[a18_0x44dd23(0x1bd)]||function(_0x15ee3a,_0x79df6a,_0x14375d,_0x15462b,_0x529d89){const _0x13eefb=a18_0x44dd23;if(_0x15462b==='m')throw new TypeError(_0x13eefb(0x21b));if(_0x15462b==='a'&&!_0x529d89)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x79df6a===_0x13eefb(0x1a8)?_0x15ee3a!==_0x79df6a||!_0x529d89:!_0x79df6a[_0x13eefb(0x270)](_0x15ee3a))throw new TypeError(_0x13eefb(0x25e));return _0x15462b==='a'?_0x529d89[_0x13eefb(0x1e8)](_0x15ee3a,_0x14375d):_0x529d89?_0x529d89[_0x13eefb(0x26d)]=_0x14375d:_0x79df6a[_0x13eefb(0x1a9)](_0x15ee3a,_0x14375d),_0x14375d;},__classPrivateFieldGet=this&&this[a18_0x44dd23(0x276)]||function(_0x5bdd61,_0x12f1ce,_0x3c9955,_0x59b129){const _0x20464f=a18_0x44dd23;if(_0x3c9955==='a'&&!_0x59b129)throw new TypeError(_0x20464f(0x1af));if(typeof _0x12f1ce===_0x20464f(0x1a8)?_0x5bdd61!==_0x12f1ce||!_0x59b129:!_0x12f1ce[_0x20464f(0x270)](_0x5bdd61))throw new TypeError(_0x20464f(0x259));return _0x3c9955==='m'?_0x59b129:_0x3c9955==='a'?_0x59b129['call'](_0x5bdd61):_0x59b129?_0x59b129[_0x20464f(0x26d)]:_0x12f1ce['get'](_0x5bdd61);},_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_0x44dd23(0x16e)](exports,a18_0x44dd23(0x1e5),{'value':!![]}),exports['Debuglet']=exports[a18_0x44dd23(0x219)]=void 0x0;const assert=require(a18_0x44dd23(0x18d)),events_1=require(a18_0x44dd23(0x26e)),extend=require(a18_0x44dd23(0x20e)),fs=require('fs'),path=require('path'),util=require('util'),status_message_1=require(a18_0x44dd23(0x22c)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require(a18_0x44dd23(0x252)),patterns_blocklist_manager_1=require(a18_0x44dd23(0x21c)),config_1=require('./config'),configuration_provider_1=require(a18_0x44dd23(0x22b)),controller_1=require(a18_0x44dd23(0x171)),createDebuggee_1=require('./debuglet-helpers/createDebuggee'),format_1=require(a18_0x44dd23(0x246)),mapSubtract_1=require(a18_0x44dd23(0x1d8)),normalizeConfig_1=require(a18_0x44dd23(0x239)),environment_metadata_1=require(a18_0x44dd23(0x255)),file_index_1=require('./io/file-index'),scanner_1=require(a18_0x44dd23(0x202)),SourceMapper=require(a18_0x44dd23(0x17b)),piping_manager_1=require(a18_0x44dd23(0x258)),quota_manager_1=require(a18_0x44dd23(0x1d0)),redaction_manager_1=require(a18_0x44dd23(0x247)),utils_1=require(a18_0x44dd23(0x1f3)),debugapi=require(a18_0x44dd23(0x230)),redaction_manager_re2js_1=require('./reduction/redaction-manager-re2js'),readFilep=util[a18_0x44dd23(0x233)](fs[a18_0x44dd23(0x254)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0xc67ad7,_0x1b2fb6)=>{const _0x2397a4=a18_0x44dd23;let _0x1d60e7=_0xc67ad7+util[_0x2397a4(0x1eb)](_0x2397a4(0x1ca),_0x1b2fb6['id'],_0x1b2fb6['action'],util[_0x2397a4(0x167)](_0x1b2fb6['location']));if(_0x1b2fb6['createTime']){const _0x49a45d=Number(_0x1b2fb6['createTime'][_0x2397a4(0x19e)]),_0x2550a6=new Date(_0x49a45d*0x3e8);_0x1d60e7+='\x0a\x09createdTime:\x20'+_0x2550a6['toString']();}return _0x1b2fb6[_0x2397a4(0x22e)]&&(_0x1d60e7+=_0x2397a4(0x1d7)+util[_0x2397a4(0x167)](_0x1b2fb6[_0x2397a4(0x22e)])),_0x1b2fb6['expressions']&&(_0x1d60e7+='\x0a\x09expressions:\x20'+util[_0x2397a4(0x167)](_0x1b2fb6[_0x2397a4(0x1ec)])),_0x1d60e7;},formatBreakpoints=(_0x4c709e,_0x40a26c)=>_0x4c709e+Object[a18_0x44dd23(0x170)](_0x40a26c)[a18_0x44dd23(0x177)](_0x39eed8=>formatBreakpoint('',_0x40a26c[_0x39eed8]))[a18_0x44dd23(0x1fc)]('\x0a');class CachedPromise{constructor(){const _0x4677df=a18_0x44dd23;this[_0x4677df(0x229)]=null,this[_0x4677df(0x199)]=new Promise(_0x42d038=>{const _0x416124=_0x4677df;this[_0x416124(0x229)]=_0x42d038;});}['get'](){const _0x241343=a18_0x44dd23;return this[_0x241343(0x199)];}[a18_0x44dd23(0x1d6)](){const _0x16e85f=a18_0x44dd23;this[_0x16e85f(0x229)]&&(this[_0x16e85f(0x229)](),this['promiseResolve']=null);}}exports[a18_0x44dd23(0x219)]=CachedPromise;class IsReadyImpl{constructor(_0x4d0f42){const _0x1fd4f2=a18_0x44dd23;this[_0x1fd4f2(0x1e3)]=_0x4d0f42;}[a18_0x44dd23(0x267)](){const _0x201460=a18_0x44dd23;return this[_0x201460(0x1e3)][_0x201460(0x267)]();}}function a18_0x42d8(){const _0x127698=['fetchBreakpointsOnce','emit','isReadyManager','seconds','collectLogRequestId','.\x20message:\x20','\x09remove\x20breakpoint\x20id\x20','8820952qRfoMv','logMainConfigParams','log','start','apply','isFinalState','function','set','split','javascriptFileExtensions','Working\x20directory:\x20','add','env','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','setBlocklistManager','Scheduling\x20registration\x20in\x20','PatternsBlocklistManager','156513OyCiBj','\x09Long\x20poll\x20completed.','getLevel','(((.+)+)+)+$','prettyError','GAE-','deregister','breakpoints','setCustomLogLevel','listBreakpoints','__classPrivateFieldSet','forEach','error','BREAKPOINT_ACTION_MESSAGE','Fetching\x20breakpoints','Failed\x20to\x20','filter','now','60aBxwhZ','activeFeatures','selectFiles','stringifyBreakpointForInfoLog','\x20accepted\x20by\x20agent','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','ConfigurationProvider','createLogger','LOG','isRegistered','AGENT_LOG_FILE','./quota-manager','breakpoints_fetch_failed','\x09Notifying\x20server\x20about\x20error\x20for\x20','Unknown\x20agentLogLevel\x20','blacklist','\x20completed.','resolve','\x0a\x09condition:\x20','./debuglet-helpers/mapSubtract','fromEntries','stopped','line','undefined','Debuglet','register','normalize','setLevel','enqueueBreakpointUpdate','status','debuglet','quotaCheck','__esModule','substring','errors','call','clientConnectionTimeoutInSeconds','shouldRedactByName','format','expressions','warn','normalizeConfig','Expiring\x20breakpoint\x20id\x20','removeListener','beforeExit','pipingManager','./util/utils','replace','setIgnoreQuota','replaceRedactedByValue','expirationTime','source-context.json','toString','\x20to\x20','debug','join','46716sQltut','message','waitFor','fetcherActive','type','./io/scanner','breakpoint_set','kill','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','action','entries','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','default','EnvironmentMetadata','posix','.\x20Retrying\x20in\x20','Switching\x20globalPiping\x20status\x20from\x20','extend','logLevel','Disabled\x20by\x20the\x20server','packageInfo','filename','unref','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','Debuggee\x20is\x20not\x20registered','isLambda','1434xITFFg','Starting\x20debuggee','CachedPromise','existsSync','Private\x20method\x20is\x20not\x20writable','./blocklisting/patterns-blocklist-manager','8024211MhHoXo','initError','extraPaths','Initializing\x20Node.js\x20agent\x20version:\x20','name','all','\x09adding\x20breakpoint','ALLOW_EXPRESSIONS_MESSAGE','disable','backoff','pipeLogs','REDACTED_PLACEHOLDER','promiseResolve','quota','./configuration-provider','../client/stackdriver/status-message','register\x20debuggee','condition','1643875QXCYsS','./v8/debugapi','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','Result:\x20\x0a','promisify','search','location','pid','wait','createTime','./debuglet-helpers/normalizeConfig','RedactionManagerRE2JS','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','):\x20pattern:\x20','maxRequestRetryDelaySeconds','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','498eyIeec','4232657keEUWe','agentLog','debuggee','logger','remotelyDisabled','do\x20this.','./debuglet-helpers/format','./reduction/redaction-manager','SIGTERM','collectAndSendLog','LOGPOINT:\x20','sep','removeBreakpoint','StatusMessage','mapSubtract','waitForTransmissionQueueDrain','internal','getRedactions','./agent-logger','CAPTURE','readFile','./environment-metadata','concat','globalPipingStatus','./piping-manager','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','then','FileIndex','cwd','scan','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','ignoreQuota','Debuglet\x20not\x20running','utf8','isRedactionActive','removePerBreakpointQuota','SIGINT','Registering\x20debuggee','name:\x20','isReady','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','\x20(type:\x20','sendAgentLogsToServer','agentLogLevel','290YOSgjg','value','events','...\x20[truncated]','has','scheduleBreakpointFetch_\x20','quotaRecoverySeconds','registration_failed','breakpointUpdateIntervalSec','stop','__classPrivateFieldGet','isAtLeastInfo','config','parse','hash','reporting\x20breakpoint\x20','activeBreakpointMap','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','Found\x20breakpoint\x20with\x20invalid\x20action:','started','Breakpoint','inspect','mapFiles','\x20caseInsensitive:\x20','jsFileIndex','description','fromFileStats','values','defineProperty','Blacklist\x20Exceptions:\x20\x0a\x09','keys','./controller','breakpoints_fetch_registration_required','getSourceContextFromFile','Active\x20Breakpoints:\x20\x0a','breakpointExpirationSec','breakpoints_fetched','map','workingDirectory','once','stringify','./io/sourcemapper','Scanner','info','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','parameters','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','agentLogMaxFileCount','Error\x20processing\x20the\x20sourcemaps.','getBlocklist','js.map','create','isRunning','get','APP_ONLY','DEBUG','remainingHits','sourceContext','agentLogTargetDir','assert','selectStats','object','path','allowRootAsWorkingDirectory','rejecting\x20breakpoint\x20id\x20','length','pattern','QuotaManager','caseInsensitive','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','Malformed\x20source-context.json\x20file:\x20','promise','4581tFkVZp'];a18_0x42d8=function(){return _0x127698;};return a18_0x42d8();}class Debuglet extends events_1['EventEmitter']{constructor(_0x3279ca,_0x1a32ff){const _0x4f1cce=a18_0x44dd23;super(),_Debuglet_instances[_0x4f1cce(0x1ad)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_running[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_controller[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_breakpointFetched[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x4f1cce(0x1a9)](this,null),this[_0x4f1cce(0x19d)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_scanner[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0x4f1cce(0x1a9)](this,void 0x0),_Debuglet_configProvider['set'](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds[_0x4f1cce(0x1a9)](this,void 0x0),this[_0x4f1cce(0x278)]=(0x0,normalizeConfig_1[_0x4f1cce(0x1ee)])(_0x1a32ff),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x4f1cce(0x1cb))](this['config']),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x3279ca,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x4f1cce(0x200)]=![],this[_0x4f1cce(0x243)]=agent_logger_1[_0x4f1cce(0x209)][_0x4f1cce(0x1cc)](this[_0x4f1cce(0x278)]['agentLog'][_0x4f1cce(0x18c)],this[_0x4f1cce(0x278)]['agentLog']['agentLogMaxFileSizeMb'],this[_0x4f1cce(0x278)][_0x4f1cce(0x241)][_0x4f1cce(0x181)],this[_0x4f1cce(0x278)][_0x4f1cce(0x241)][_0x4f1cce(0x26b)],this[_0x4f1cce(0x278)]['agentLog']['stdErrThreshold']),(0x0,config_1[_0x4f1cce(0x1a3)])(this[_0x4f1cce(0x278)],this[_0x4f1cce(0x243)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x4f1cce(0x20a))](this['logger'])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1['Controller'](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x4f1cce(0x278)],this[_0x4f1cce(0x243)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x4f1cce(0x17c))](this['logger']),'f'),this[_0x4f1cce(0x242)]=null,this[_0x4f1cce(0x27c)]={},__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[(_0x4f1cce(0x195))](this[_0x4f1cce(0x243)],this[_0x4f1cce(0x278)]),'f'),this[_0x4f1cce(0x1f2)]=new piping_manager_1['PipingManager'](_0x4f1cce(0x188),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x4f1cce(0x278)]);}async['waitForTransmissionQueueDrain'](_0x16d923){const _0x109acd=a18_0x44dd23;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x109acd(0x24f)](_0x16d923);}['getClientConnectionTimeoutInSeconds'](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async['waitForBreakpoints'](_0x346983){const _0x107bf0=a18_0x44dd23,_0x25ce7a=0x32;let _0x1b0883=null;const _0x4e4750=()=>_0x1b0883=!![],_0x200999=()=>_0x1b0883=![],_0x969e04=_0x155bee=>{if(_0x155bee)return;_0x4e4750();};let _0x599320=![];const _0x4aa3ca=_0x1fdaa8=>{const _0x1acde5=a18_0x1e62;_0x599320&&_0x200999(),_0x599320=!![],this[_0x1acde5(0x1de)]();};this['once'](_0x107bf0(0x176),_0x969e04),this[_0x107bf0(0x179)](_0x107bf0(0x203),_0x4e4750);this['config'][_0x107bf0(0x250)]?.[_0x107bf0(0x216)]&&(this[_0x107bf0(0x179)](_0x107bf0(0x273),_0x200999),this[_0x107bf0(0x179)]('breakpoints_fetch_failed',_0x200999),this['once'](_0x107bf0(0x172),_0x4aa3ca));if(_0x346983){const _0x575cf0=Date[_0x107bf0(0x1c4)]();while(_0x1b0883===null&&Date[_0x107bf0(0x1c4)]()-_0x575cf0<_0x346983){await(0x0,utils_1[_0x107bf0(0x1ff)])(_0x25ce7a);}}return this[_0x107bf0(0x1f0)](_0x107bf0(0x176),_0x969e04),this[_0x107bf0(0x1f0)]('breakpoint_set',_0x4e4750),this[_0x107bf0(0x278)][_0x107bf0(0x250)]?.['isLambda']&&(this['removeListener'](_0x107bf0(0x273),_0x200999),this['removeListener'](_0x107bf0(0x1d1),_0x200999),this[_0x107bf0(0x1f0)](_0x107bf0(0x172),_0x4aa3ca)),_0x1b0883===!![];}[a18_0x44dd23(0x19b)](){const _0x471c46=a18_0x44dd23;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x471c46(0x1e8)](this,0x0,!![]);}[a18_0x44dd23(0x1ce)](){const _0x34cdf1=a18_0x44dd23;return this[_0x34cdf1(0x242)]?.['id']!==undefined;}async['findFiles'](_0x13c1a8,_0x4ffcdc){const _0x53c1d3=a18_0x44dd23,_0x68354d=_0x13c1a8[_0x53c1d3(0x178)],_0x2ed083=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x53c1d3(0x25d)](_0x68354d,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x53c1d3(0x1e8)](_a,_0x13c1a8[_0x53c1d3(0x1ab)][_0x53c1d3(0x256)](_0x53c1d3(0x184))),_0x4ffcdc,_0x13c1a8[_0x53c1d3(0x21f)]),_0x1731a5=_0x2ed083[_0x53c1d3(0x18e)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x53c1d3(0x1e8)](_a,_0x13c1a8['javascriptFileExtensions'])),_0x3fca74=file_index_1[_0x53c1d3(0x25b)][_0x53c1d3(0x16c)](_0x1731a5),_0x24b4cc=_0x2ed083[_0x53c1d3(0x1c7)](/.js.map$/,process[_0x53c1d3(0x25c)]()),_0x380c71=_0x2ed083[_0x53c1d3(0x1e7)]();return{'mapFiles':_0x24b4cc,'errors':_0x380c71,'jsFileIndex':_0x3fca74,'hash':_0x2ed083[_0x53c1d3(0x27a)]};}async[a18_0x44dd23(0x1a5)](){const _0xb598d3=a18_0x44dd23,_0x420fcc=this[_0xb598d3(0x278)]['workingDirectory'];if(!this[_0xb598d3(0x278)][_0xb598d3(0x191)]&&path[_0xb598d3(0x1fc)](_0x420fcc,'..')===_0x420fcc){const _0x518af1=_0xb598d3(0x208)+_0xb598d3(0x231)+_0xb598d3(0x205)+_0xb598d3(0x245);this[_0xb598d3(0x243)]['error'](_0x518af1),this[_0xb598d3(0x19c)](_0xb598d3(0x21e),new Error(_0x518af1));return;}let _0x425292;process[_0xb598d3(0x1ae)]['GAE_MINOR_VERSION']&&(_0x425292=_0xb598d3(0x1b8)+process['env']['GAE_MINOR_VERSION']);let _0xb673e6,_0x28612c=_0x425292??'';try{_0xb673e6=await this['findFiles'](this[_0xb598d3(0x278)],_0x425292),_0xb673e6[_0xb598d3(0x1e7)][_0xb598d3(0x1be)](this['logger']['warn']);}catch(_0x3579bc){this['logger'][_0xb598d3(0x1bf)]('Error\x20scanning\x20the\x20filesystem.',_0x3579bc),this[_0xb598d3(0x19c)]('initError',_0x3579bc);return;}try{const _0x35b5d0=await SourceMapper[_0xb598d3(0x185)](this[_0xb598d3(0x243)],_0xb673e6[_0xb598d3(0x168)],this[_0xb598d3(0x278)][_0xb598d3(0x250)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0xb598d3(0x185)](this['logger'],this[_0xb598d3(0x278)],_0xb673e6[_0xb598d3(0x16a)],_0x35b5d0,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x28612c=_0x425292??_0xb673e6['hash'];}catch(_0x1209a4){this[_0xb598d3(0x243)][_0xb598d3(0x1bf)](_0xb598d3(0x182),_0x1209a4),this['logger'][_0xb598d3(0x17d)](JSON[_0xb598d3(0x17a)](_0x1209a4)),this[_0xb598d3(0x19c)](_0xb598d3(0x21e),_0x1209a4);}this[_0xb598d3(0x243)][_0xb598d3(0x17d)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x28612c);const _0x154a79=(0x0,utils_1['readFullVersion'])(this[_0xb598d3(0x243)])[_0xb598d3(0x1f4)]('\x0a','');this[_0xb598d3(0x243)][_0xb598d3(0x17d)](_0xb598d3(0x220)+_0x154a79);let _0x4f6ffe;try{_0x4f6ffe=this['config'][_0xb598d3(0x18b)]||await _a[_0xb598d3(0x173)]();}catch{}this[_0xb598d3(0x243)][_0xb598d3(0x17d)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process['mainModule']?.[_0xb598d3(0x212)]),this['logger'][_0xb598d3(0x1fb)](_0xb598d3(0x1ac)+_0x420fcc),this['logger'][_0xb598d3(0x1fb)](_0xb598d3(0x218)),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0xb598d3(0x242)]=(0x0,createDebuggee_1['createDebuggee'])(_0x28612c,this[_0xb598d3(0x278)],_0x4f6ffe,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0xb598d3(0x211)],_0x154a79,this[_0xb598d3(0x243)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0xb598d3(0x1e8)](this),this[_0xb598d3(0x1de)](),this[_0xb598d3(0x19c)](_0xb598d3(0x165));}['isReady'](){const _0x450786=a18_0x44dd23;if(Date[_0x450786(0x1c4)]()<__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')[_0x450786(0x187)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['get']()[_0x450786(0x25a)](()=>{const _0x545855=_0x450786;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x545855(0x1e8)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['get']();}}static async['getSourceContextFromFile'](){const _0x42067a=a18_0x44dd23,_0x2c01c7=await readFilep(_0x42067a(0x1f8),_0x42067a(0x261));try{return JSON[_0x42067a(0x279)](_0x2c01c7);}catch(_0x1413d5){throw new Error(_0x42067a(0x198)+_0x1413d5);}}[a18_0x44dd23(0x1de)](){const _0x1b7f18=a18_0x44dd23;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x1b7f18(0x1e8)](this,0x0);}[a18_0x44dd23(0x186)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0xabf863=a18_0x44dd23;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0xabf863(0x243)][_0xabf863(0x1fb)](_0xabf863(0x17e));return;}this[_0xabf863(0x243)]['debug']('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0xabf863(0x275)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['emit'](_0xabf863(0x1da));}[a18_0x44dd23(0x1c8)](_0x4e4e53){const _0x4fb250=a18_0x44dd23;if(!this[_0x4fb250(0x243)][_0x4fb250(0x277)]())return _0x4e4e53['id'];try{const _0x238480=JSON[_0x4fb250(0x17a)](_0x4e4e53);if(_0x238480[_0x4fb250(0x193)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x238480;return _0x238480[_0x4fb250(0x1e6)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x4fb250(0x26f);}catch(_0x1dad6a){return this[_0x4fb250(0x243)][_0x4fb250(0x1bf)](_0x4fb250(0x268),_0x1dad6a),_0x4e4e53['id'];}}[a18_0x44dd23(0x1bb)](_0x5a893c){const _0x25fec7=a18_0x44dd23,_0x89ac8=this[_0x25fec7(0x243)]['getInitialLevel']();if(_0x89ac8===_0x25fec7(0x1fb))return;switch(_0x5a893c){case _0x25fec7(0x189):this[_0x25fec7(0x243)][_0x25fec7(0x1b5)]()!==_0x25fec7(0x1fb)&&(this[_0x25fec7(0x243)][_0x25fec7(0x1e0)](_0x25fec7(0x1fb)),this[_0x25fec7(0x243)]['debug'](_0x25fec7(0x180)));break;case'NOT_SET':case undefined:this['logger'][_0x25fec7(0x1b5)]()==='debug'&&(this['logger'][_0x25fec7(0x1e0)](_0x89ac8),this['logger'][_0x25fec7(0x17d)](_0x25fec7(0x214)+_0x89ac8+')'));break;default:this[_0x25fec7(0x243)][_0x25fec7(0x1ed)](_0x25fec7(0x1d3)+_0x5a893c);}}}exports[a18_0x44dd23(0x1dd)]=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(_0xc741d2){const _0x178d8d=a18_0x44dd23;return new RegExp(_0xc741d2[_0x178d8d(0x177)](_0x1bd208=>_0x1bd208+'$')[_0x178d8d(0x1fc)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x3b25a6=a18_0x44dd23,_0x5f4866=[_0x3b25a6(0x248),_0x3b25a6(0x264),'SIGQUIT'];_0x5f4866[_0x3b25a6(0x1be)](_0x49e865=>{const _0x28f717=_0x3b25a6;process[_0x28f717(0x179)](_0x49e865,()=>{const _0xdd7667=_0x28f717;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0xdd7667(0x1b9)](this[_0xdd7667(0x242)],()=>{const _0x70c17c=_0xdd7667;process[_0x70c17c(0x204)](process[_0x70c17c(0x236)],_0x49e865);});});}),process['once'](_0x3b25a6(0x1f1),()=>{const _0x321156=_0x3b25a6;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x321156(0x1b9)](this[_0x321156(0x242)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x1ac514){const _0x190fc7=a18_0x44dd23;this[_0x190fc7(0x243)][_0x190fc7(0x1fb)](_0x1ac514?_0x190fc7(0x1b1)+_0x1ac514+'s':_0x190fc7(0x265));const _0x304c99=(_0x4624b1,_0x585c03,_0x3782e1=![])=>{const _0x12d815=_0x190fc7;this['emit'](_0x12d815(0x273));const _0x439dfb=this['debuggee']?.['id'],_0x3280c0=_0x439dfb?'re-register\x20debuggee\x20'+_0x439dfb:_0x12d815(0x22d),_0x410e96=_0x12d815(0x1c2)+_0x3280c0+':\x20'+(0x0,utils_1[_0x12d815(0x1b7)])(_0x4624b1);this[_0x12d815(0x243)]['error'](_0x410e96),_0x585c03&&!_0x3782e1&&this['logger'][_0x12d815(0x1bf)](_0x12d815(0x232),_0x585c03),!this[_0x12d815(0x278)][_0x12d815(0x250)]?.['isLambda']&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x12d815(0x1e8)](this,(0x0,utils_1[_0x12d815(0x226)])(_0x1ac514,this['config'][_0x12d815(0x250)][_0x12d815(0x23d)]));};setTimeout(()=>{const _0x4ad76f=_0x190fc7;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x304c99(new Error(_0x4ad76f(0x260)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')['register'](this[_0x4ad76f(0x242)],(_0x580dea,_0xf63c6a,_0x3e41bb=![])=>{const _0x33b57c=_0x4ad76f;if(_0x580dea){_0x304c99(_0x580dea,_0xf63c6a,_0x3e41bb);return;}if(_0xf63c6a[_0x33b57c(0x242)]['isDisabled']){_0x304c99(new Error(_0x33b57c(0x210))),this[_0x33b57c(0x19c)](_0x33b57c(0x244));return;}const _0x4a8bac=_0xf63c6a[_0x33b57c(0x242)]['id'];this[_0x33b57c(0x243)][_0x33b57c(0x17d)]('Registered\x20as\x20debuggee:\x20'+_0x4a8bac),this['debuggee']['id']=_0x4a8bac;const _0x2e5b8a=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)['bind'](this)(this['debuggee']['id'])];this[_0x33b57c(0x278)]['redactionEnabled']&&_0x2e5b8a['push'](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](this)(this['debuggee']['id'])),Promise[_0x33b57c(0x222)](_0x2e5b8a)[_0x33b57c(0x25a)](()=>{const _0x35b295=_0x33b57c;this[_0x35b295(0x19c)]('registered',_0x4a8bac),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x35b295(0x1d6)](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x35b295(0x1b0)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0xf63c6a?.['clientConnectionTimeoutInSeconds'],'f'),!this[_0x35b295(0x200)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,this[_0x35b295(0x278)][_0x35b295(0x19b)],_0xf63c6a?.[_0x35b295(0x1e9)]);},_0x397c3c=>{_0x304c99(_0x397c3c);});});},_0x1ac514*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x13a07c,_0x52fce0,_0x5b9df4){const _0x5d4b81=a18_0x44dd23;this[_0x5d4b81(0x243)][_0x5d4b81(0x1fb)](_0x5d4b81(0x271)+_0x13a07c+'\x20'+_0x52fce0+'\x20'+_0x5b9df4),!_0x52fce0&&(this[_0x5d4b81(0x200)]=!![]),setTimeout(()=>{const _0x361082=_0x5d4b81;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x52fce0&&assert(this[_0x361082(0x200)]),this['logger']['debug'](_0x361082(0x1c1)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x361082(0x1bc)](this[_0x361082(0x242)],(_0x2a47e1,_0x5ec402,_0x2aaf48)=>{const _0x561b16=_0x361082;if(_0x2aaf48?.[_0x561b16(0x1e2)]===0x194){this[_0x561b16(0x243)][_0x561b16(0x17d)](_0x561b16(0x215)),this[_0x561b16(0x200)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)['call'](this);this[_0x561b16(0x278)][_0x561b16(0x250)]?.[_0x561b16(0x216)]?this['emit'](_0x561b16(0x172)):this[_0x561b16(0x1de)]();return;}if(_0x2a47e1){if(this[_0x561b16(0x278)][_0x561b16(0x250)]?.[_0x561b16(0x216)])this[_0x561b16(0x19c)](_0x561b16(0x1d1)),this[_0x561b16(0x243)][_0x561b16(0x1bf)](_0x561b16(0x23e)+_0x2aaf48?.[_0x561b16(0x1e2)]+_0x561b16(0x1a0)+_0x2a47e1[_0x561b16(0x1fe)]);else{const _0x4958c3=(0x0,utils_1['backoff'])(_0x13a07c,this[_0x561b16(0x278)]['internal'][_0x561b16(0x23d)]);this[_0x561b16(0x243)][_0x561b16(0x1bf)]('\x09Got\x20error\x20from\x20server.\x20status:\x20'+_0x2aaf48?.[_0x561b16(0x1e2)]+_0x561b16(0x1a0)+_0x2a47e1[_0x561b16(0x1fe)]+_0x561b16(0x20c)+_0x4958c3+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x561b16(0x1e8)](this,_0x4958c3,_0x52fce0,_0x5b9df4);}return;}this['logger'][_0x561b16(0x1fb)]('\x09'+_0x2aaf48['status']+_0x561b16(0x1d5));if(!_0x5ec402){const _0x2b9e1c=this[_0x561b16(0x278)][_0x561b16(0x274)];this[_0x561b16(0x243)]['error'](_0x561b16(0x27d)+_0x2b9e1c+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x561b16(0x1e8)](this,_0x2b9e1c,_0x52fce0,_0x5b9df4);return;}this[_0x561b16(0x1bb)](_0x5ec402[_0x561b16(0x26b)]);if(_0x5ec402['waitExpired']){this[_0x561b16(0x243)][_0x561b16(0x17d)](_0x561b16(0x1b4)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x561b16(0x1e8)](this,0x0,_0x52fce0,_0x5b9df4);return;}if(_0x5ec402[_0x561b16(0x227)]&&_0x5ec402[_0x561b16(0x227)]!=='NOT_SET'){const _0x301a8e=this['pipingManager'][_0x561b16(0x257)];_0x301a8e!==_0x5ec402[_0x561b16(0x227)]&&(this[_0x561b16(0x243)][_0x561b16(0x1fb)](_0x561b16(0x20d)+_0x301a8e+_0x561b16(0x1fa)+_0x5ec402[_0x561b16(0x227)]),this['pipingManager'][_0x561b16(0x257)]=_0x5ec402[_0x561b16(0x227)]);}if(_0x5ec402[_0x561b16(0x249)]&&_0x5ec402['collectLogRequestId']!==this['collectLogRequestId']){this[_0x561b16(0x19f)]=_0x5ec402['collectLogRequestId'];const _0x3892f6=this[_0x561b16(0x278)][_0x561b16(0x241)][_0x561b16(0x18c)]&&path['join'](this[_0x561b16(0x278)]['agentLog'][_0x561b16(0x18c)],agent_logger_1[_0x561b16(0x209)][_0x561b16(0x1cf)]);_0x3892f6&&fs[_0x561b16(0x21a)](_0x3892f6)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x561b16(0x26a)](this[_0x561b16(0x242)],_0x5ec402[_0x561b16(0x19f)],_0x3892f6)):this['logger'][_0x561b16(0x17d)]('Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20'+_0x5ec402[_0x561b16(0x19f)]+'\x20because\x20'+_0x561b16(0x197));}__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x561b16(0x1c6)]=_0x5ec402[_0x561b16(0x1c6)]??[];const _0xd57d93=(_0x5ec402[_0x561b16(0x1ba)]||[])[_0x561b16(0x177)](_0x2f158d=>new stackdriver_1[(_0x561b16(0x166))](_0x2f158d))[_0x561b16(0x1c3)](_0x35d2a4=>{const _0x422f07=_0x561b16,_0x5b3a02=_0x35d2a4[_0x422f07(0x206)]??_0x422f07(0x253);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x35d2a4['id']])return![];if(_0x5b3a02!==_0x422f07(0x253)&&_0x5b3a02!==_0x422f07(0x1cd))return this[_0x422f07(0x243)][_0x422f07(0x1ed)](_0x422f07(0x27e),_0x5b3a02),_0x35d2a4[_0x422f07(0x1e2)]=new status_message_1[(_0x422f07(0x24d))](status_message_1['StatusMessage']['UNSPECIFIED'],utils_1[_0x422f07(0x1e7)][_0x422f07(0x1c0)],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](this,_0x35d2a4),![];return!![];}),_0x582c01=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)['call'](this);let _0x2eefce=_0x582c01['length']>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x561b16(0x1e8)](this,_0x582c01),_0x2eefce=_0x2eefce||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x561b16(0x1e8)](this,_0xd57d93),this[_0x561b16(0x19c)](_0x561b16(0x176),_0xd57d93['length']);_0x2eefce&&this[_0x561b16(0x243)][_0x561b16(0x1fb)](formatBreakpoints(_0x561b16(0x174),this[_0x561b16(0x27c)]));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x561b16(0x1c4)](),'f');_0x52fce0?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x561b16(0x1d6)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x561b16(0x1e8)](this,0x0,_0x52fce0,_0x5b9df4);return;},_0x5b9df4);},_0x13a07c*0x3e8)[_0x5d4b81(0x213)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x4f601c=a18_0x44dd23;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x4f601c(0x1d6)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x20d0b4){const _0x2893eb=a18_0x44dd23,_0x156005=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x2893eb(0x1e8)](this,_0x20d0b4);let _0x58d3a7=![];return _0x20d0b4[_0x2893eb(0x1be)](_0x4003e4=>{const _0x533a9c=_0x2893eb;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4003e4['id']]&&!this['activeBreakpointMap'][_0x4003e4['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x533a9c(0x1e8)](this,_0x4003e4,_0x358f2f=>{_0x358f2f&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x4003e4,!![],![]);}),_0x58d3a7=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x4003e4['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x533a9c(0x1f5)](_0x4003e4['id'],_0x4003e4[_0x533a9c(0x25f)]),this[_0x533a9c(0x1f2)]['setPipingStatus'](_0x4003e4['id'],_0x4003e4['pipingStatus']);}),(0x0,mapSubtract_1['mapSubtract'])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x156005)[_0x2893eb(0x1be)](_0x4ce618=>{const {id:_0x101b05}=_0x4ce618;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x101b05],_0x58d3a7=!![];}),(0x0,mapSubtract_1[_0x2893eb(0x24e)])(this[_0x2893eb(0x27c)],_0x156005)[_0x2893eb(0x1be)](_0x39e247=>{const _0x2cd8e5=_0x2893eb;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2cd8e5(0x1e8)](this,_0x39e247,!![]),_0x58d3a7=!![];}),_0x58d3a7&&this['logger'][_0x2893eb(0x1fb)](formatBreakpoints('Server\x20breakpoints:\x0a',_0x156005)),_0x58d3a7;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x1bedc0){const _0x3a1f31=a18_0x44dd23;return Object[_0x3a1f31(0x1d9)](_0x1bedc0[_0x3a1f31(0x177)](_0x3a20a0=>[_0x3a20a0['id'],_0x3a20a0]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x239a6e,_0x1ce4ca){const _0x528ace=a18_0x44dd23;this['logger']['info'](_0x528ace(0x1a1)+_0x239a6e['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x528ace(0x263)](_0x239a6e['id']),this['pipingManager'][_0x528ace(0x24c)](_0x239a6e['id']),delete this[_0x528ace(0x27c)][_0x239a6e['id']],_0x1ce4ca&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['clear'](_0x239a6e,_0x3d002c=>{const _0x449d70=_0x528ace;if(_0x3d002c)this[_0x449d70(0x243)][_0x449d70(0x1bf)](_0x3d002c);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x27783b,_0x54ae68){const _0x567318=a18_0x44dd23;this[_0x567318(0x243)]['info'](_0x567318(0x223),this[_0x567318(0x1c8)](_0x27783b));if(!this[_0x567318(0x278)]['allowExpressions']&&(_0x27783b['condition']||_0x27783b[_0x567318(0x1ec)])){this[_0x567318(0x243)]['error'](utils_1[_0x567318(0x1e7)][_0x567318(0x224)][_0x567318(0x16b)]??''),_0x27783b[_0x567318(0x1e2)]=new status_message_1[(_0x567318(0x24d))](status_message_1[_0x567318(0x24d)]['UNSPECIFIED'],utils_1[_0x567318(0x1e7)][_0x567318(0x224)],!![]),setImmediate(()=>{const _0x509550=_0x567318;_0x54ae68(utils_1['errors'][_0x509550(0x224)]);});return;}const _0xc30edc=_0x27783b['createTime']?Number(_0x27783b[_0x567318(0x238)][_0x567318(0x19e)]):Date['now']()/0x3e8,_0xcf504d=_0x27783b['expirationSeconds']??this[_0x567318(0x278)][_0x567318(0x175)];_0x27783b[_0x567318(0x1f7)]=_0xc30edc+_0xcf504d,_0x27783b['location']?.[_0x567318(0x190)]&&(_0x27783b[_0x567318(0x235)][_0x567318(0x190)]=path[_0x567318(0x1df)](_0x27783b['location'][_0x567318(0x190)]),path[_0x567318(0x24b)]===path[_0x567318(0x20b)][_0x567318(0x24b)]&&(_0x27783b[_0x567318(0x235)][_0x567318(0x190)]=_0x27783b[_0x567318(0x235)][_0x567318(0x190)][_0x567318(0x1aa)]('\x5c')['join'](path['sep']))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x567318(0x1a9)](_0x27783b,_0x3619be=>{const _0x4bb283=_0x567318;if(_0x3619be){_0x54ae68(_0x3619be);return;}this['logger'][_0x4bb283(0x17d)]('\x09successfully\x20added\x20breakpoint\x20id\x20'+_0x27783b['id']),this[_0x4bb283(0x27c)][_0x27783b['id']]=_0x27783b,_0x27783b[_0x4bb283(0x206)]==='LOG'?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x4bb283(0x1a4)](_0x27783b,(_0x21897a,_0x51566d)=>{const _0x1ee669=_0x4bb283,_0x5ed63d=_0x51566d[_0x1ee669(0x177)](_0x14680d=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x1ee669(0x1e8)](this,_0x14680d)),_0x285c81=(0x0,format_1[_0x1ee669(0x1eb)])(_0x21897a,_0x5ed63d),_0x4c145c=_0x1ee669(0x24a)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1ee669(0x1f6)](_0x285c81)??_0x285c81),_0x2d2755=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x1ee669(0x1e4)](_0x4c145c,_0x27783b['id']);if(_0x2d2755){const _0x22dfe2=_0x2d2755[_0x1ee669(0x1fe)],{isOutOfQuota:_0x180c9c}=_0x2d2755;let _0x1b8d6d,_0x26af9e;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1ee669(0x262)]()&&!_0x180c9c&&(_0x1b8d6d='LOGPOINT:\x20'+_0x21897a,_0x26af9e=_0x5ed63d);this[_0x1ee669(0x1f2)]['addAndPipeLog'](this[_0x1ee669(0x242)],_0x27783b['id'],_0x22dfe2,_0x27783b[_0x1ee669(0x20f)],_0x1b8d6d,_0x26af9e);if(_0x180c9c)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x1ee669(0x225)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['enable'](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this['config'][_0x1ee669(0x22a)][_0x1ee669(0x272)]*0x3e8),'f');else _0x22dfe2?.['length']===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x1ee669(0x225)]();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x27783b['id']],_0x299e09=>{const _0x17b7d6=_0x4bb283;if(_0x299e09){this[_0x17b7d6(0x243)][_0x17b7d6(0x1bf)](_0x299e09),_0x54ae68(_0x299e09);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x4bb283(0x237)](_0x27783b,_0x5e1a51=>{const _0x36ea9e=_0x4bb283;if(_0x5e1a51){setImmediate(()=>{const _0x45d147=a18_0x1e62;this[_0x45d147(0x243)][_0x45d147(0x1bf)](_0x5e1a51),_0x54ae68(_0x5e1a51);});return;}this[_0x36ea9e(0x243)][_0x36ea9e(0x17d)](_0x36ea9e(0x23b)+_0x27783b['id'],_0x27783b[_0x36ea9e(0x235)]?.[_0x36ea9e(0x190)],_0x27783b[_0x36ea9e(0x235)]?.[_0x36ea9e(0x1db)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x36ea9e(0x1e8)](this,_0x27783b,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x36ea9e(0x18a)](_0x27783b['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x4bb283(0x1e8)](this,_0x27783b);}),this[_0x567318(0x19c)]('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0xcadf54,_0x534ca3,_0xda394d=!![]){const _0x41b9fa=a18_0x44dd23;if(_0xcadf54[_0x41b9fa(0x1e2)]?.['isError']){let _0x349820=_0xcadf54[_0x41b9fa(0x1e2)]?.[_0x41b9fa(0x16b)]?.[_0x41b9fa(0x1eb)]||'';_0xcadf54[_0x41b9fa(0x1e2)]?.[_0x41b9fa(0x16b)]?.[_0x41b9fa(0x17f)]&&(_0x349820+=':\x20'+_0xcadf54[_0x41b9fa(0x1e2)]?.['description']?.[_0x41b9fa(0x17f)][_0x41b9fa(0x1f9)]()),this[_0x41b9fa(0x243)][_0x41b9fa(0x1ed)](_0x41b9fa(0x1d2)+_0xcadf54+'.\x20Error:\x20'+_0x349820);}else this['logger']['info']('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',this[_0x41b9fa(0x1c8)](_0xcadf54));_0x534ca3&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0xcadf54['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x41b9fa(0x1e8)](this,_0xcadf54,_0xda394d)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x41b9fa(0x1e1)](this[_0x41b9fa(0x242)],extend(!![],{},_0xcadf54));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x2db3a8){const _0x34a7ff=a18_0x44dd23;this[_0x34a7ff(0x243)][_0x34a7ff(0x1fb)](_0x34a7ff(0x27b)+_0x2db3a8+_0x34a7ff(0x1c9));const _0x2f9b9a=extend(!![],{},_0x2db3a8);_0x2f9b9a[_0x34a7ff(0x1a7)]=![],_0x2f9b9a['status']=new status_message_1['StatusMessage'](status_message_1[_0x34a7ff(0x24d)]['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x34a7ff(0x1e1)](this[_0x34a7ff(0x242)],_0x2f9b9a);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x39459e){const _0x36122b=a18_0x44dd23;this[_0x36122b(0x243)]['info'](_0x36122b(0x192)+_0x39459e),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x39459e['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x36122b(0x242)],_0x39459e);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x5ef6da){_0x5ef6da['forEach'](_0x34175e=>{const _0x3e3abf=a18_0x1e62;this[_0x3e3abf(0x243)][_0x3e3abf(0x17d)](_0x3e3abf(0x1ef)+_0x34175e['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x34175e['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0x34175e,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x49ac4a=a18_0x44dd23,_0xd337f0=Date[_0x49ac4a(0x1c4)]()/0x3e8;return Object[_0x49ac4a(0x16d)](this['activeBreakpointMap'])[_0x49ac4a(0x1c3)](_0x17e77f=>_0x17e77f[_0x49ac4a(0x1f7)]?_0x17e77f[_0x49ac4a(0x1f7)]<_0xd337f0:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0xa5464e){const _0x4ebade=a18_0x44dd23,_0x40593d=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4ebade(0x183)](_0xa5464e),_0x57b7cd=_0x40593d[_0x4ebade(0x1d4)],_0x5990dd=_0x40593d['blacklist_exception'];_0x57b7cd?.[_0x4ebade(0x193)]&&this[_0x4ebade(0x243)]['debug']('Blacklist:\x20\x0a\x09',_0x57b7cd[_0x4ebade(0x1fc)]('\x0a\x09')),_0x5990dd?.[_0x4ebade(0x193)]&&this[_0x4ebade(0x243)][_0x4ebade(0x1fb)](_0x4ebade(0x16f),_0x5990dd[_0x4ebade(0x1fc)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x4ebade(0x1b2))](_0x57b7cd,_0x5990dd,this['config']),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x2f7d18){const _0x538fb1=a18_0x44dd23,_0xe01e9b=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x538fb1(0x251)](_0x2f7d18);_0xe01e9b?.[_0x538fb1(0x193)]&&this[_0x538fb1(0x243)][_0x538fb1(0x1fb)]('Redactions:\x20\x0a\x09',_0xe01e9b[_0x538fb1(0x177)](_0x39de2b=>_0x538fb1(0x266)+_0x39de2b[_0x538fb1(0x221)]+_0x538fb1(0x269)+_0x39de2b[_0x538fb1(0x201)]+_0x538fb1(0x23c)+_0x39de2b[_0x538fb1(0x194)]+_0x538fb1(0x169)+_0x39de2b[_0x538fb1(0x196)])[_0x538fb1(0x1fc)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x538fb1(0x23a))](this[_0x538fb1(0x243)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['setPatterns'](_0xe01e9b);},_Debuglet_stringify=function _Debuglet_stringify(_0x4d2171){const _0x88e00e=a18_0x44dd23;if(!_0x4d2171)return JSON[_0x88e00e(0x17a)](_0x4d2171,(_0x363c33,_0x227a0a)=>_0x227a0a===undefined?_0x88e00e(0x1dc):_0x227a0a);if(Array['isArray'](_0x4d2171)){const _0x535924=_0x4d2171[_0x88e00e(0x177)](_0x12dca7=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x88e00e(0x1e8)](this,_0x12dca7));return'['+_0x535924[_0x88e00e(0x1fc)](',\x20')+']';}if(typeof _0x4d2171===_0x88e00e(0x18f)){const _0x27bc29=Object[_0x88e00e(0x207)](_0x4d2171)[_0x88e00e(0x177)](([_0xfab754,_0x18fde9])=>{const _0x5add1e=_0x88e00e,_0x28256d=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x5add1e(0x1ea)](_0xfab754)?redaction_manager_1[_0x5add1e(0x228)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x5add1e(0x1e8)](this,_0x18fde9);return JSON[_0x5add1e(0x17a)](_0xfab754)+':\x20'+_0x28256d;})[_0x88e00e(0x1fc)](',\x20');return'{'+_0x27bc29+'}';}return JSON['stringify'](_0x4d2171);});
@@ -1 +1 @@
1
- 'use strict';function a19_0x287d(_0x3b7219,_0x26dc82){const _0x3a6794=a19_0x3c27();return a19_0x287d=function(_0x385dfb,_0x3b038c){_0x385dfb=_0x385dfb-0x8d;let _0x3c2711=_0x3a6794[_0x385dfb];return _0x3c2711;},a19_0x287d(_0x3b7219,_0x26dc82);}const a19_0xb20df=a19_0x287d;(function(_0x2518bb,_0x2cee44){const _0x4bb7b7=a19_0x287d,_0x56c5b7=_0x2518bb();while(!![]){try{const _0x4ee097=parseInt(_0x4bb7b7(0x8d))/0x1+-parseInt(_0x4bb7b7(0xc7))/0x2+parseInt(_0x4bb7b7(0xa2))/0x3*(-parseInt(_0x4bb7b7(0xb0))/0x4)+-parseInt(_0x4bb7b7(0xc3))/0x5+parseInt(_0x4bb7b7(0x8f))/0x6*(parseInt(_0x4bb7b7(0xcb))/0x7)+-parseInt(_0x4bb7b7(0x9b))/0x8*(parseInt(_0x4bb7b7(0xb3))/0x9)+-parseInt(_0x4bb7b7(0xb4))/0xa*(-parseInt(_0x4bb7b7(0xa1))/0xb);if(_0x4ee097===_0x2cee44)break;else _0x56c5b7['push'](_0x56c5b7['shift']());}catch(_0x4a0971){_0x56c5b7['push'](_0x56c5b7['shift']());}}}(a19_0x3c27,0x2b53a));Object[a19_0xb20df(0x96)](exports,'__esModule',{'value':!![]}),exports['EnvironmentMetadata']=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0xb20df(0xbd));function a19_0x3c27(){const _0x30f626=['isInK8s','apply','616jgZwwG','search','KUBERNETES_SERVICE_HOST','warn','\x20on\x20','toString','14047dPsaIu','318YOAXlz','VERSION_ID','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','existsSync','linuxDistroName','split','mac','/.dockerenv','length','trim','release','systemTotalMemoryBytes','set','/etc/os-release','12724klhiOW','EnvironmentMetadata','arm64','22347VzpyJq','5690lrvmwe','agentOS','isInDocker','match','Linux','error','_osRelease','readFileSync','Windows','assert','host','arch','runtimeEnvironmentVersion','procArch','utf-8','1711090LKbMkp','runtimeEnvironmentInfo','forEach','pid','375746pXXgyK','MacOS','cpuCoreCount','Node.js\x20','2149UyGpYF','platform','constructor','x32','hostname','219820KDkNBG','linux','5658UiNUGF','(((.+)+)+)+$','_cachedOsRelease','x64','node','osVersion','_logger','defineProperty','versions','get'];a19_0x3c27=function(){return _0x30f626;};return a19_0x3c27();}var OS;(function(_0x84dd76){const _0x21cddd=a19_0xb20df;_0x84dd76[_0x21cddd(0xb8)]=_0x21cddd(0x8e),_0x84dd76[_0x21cddd(0xbc)]='windows',_0x84dd76['MacOS']=_0x21cddd(0xa8);}(OS||(OS={})));var ProcArch;(function(_0x30b9b8){const _0x35be1b=a19_0xb20df,_0x107426=(function(){let _0x345ce7=!![];return function(_0x5b66b0,_0x181082){const _0x28c2ca=_0x345ce7?function(){const _0x17a780=a19_0x287d;if(_0x181082){const _0x4431d6=_0x181082[_0x17a780(0x9a)](_0x5b66b0,arguments);return _0x181082=null,_0x4431d6;}}:function(){};return _0x345ce7=![],_0x28c2ca;};}()),_0xf898b4=_0x107426(this,function(){const _0x314607=a19_0x287d;return _0xf898b4[_0x314607(0xa0)]()[_0x314607(0x9c)]('(((.+)+)+)+$')[_0x314607(0xa0)]()[_0x314607(0xcd)](_0xf898b4)[_0x314607(0x9c)](_0x314607(0x90));});_0xf898b4(),_0x30b9b8['x64']=_0x35be1b(0x92),_0x30b9b8[_0x35be1b(0xce)]=_0x35be1b(0xce),_0x30b9b8['arm']='arm',_0x30b9b8[_0x35be1b(0xb2)]=_0x35be1b(0xb2);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS['Linux'],'win32':OS['Windows'],'darwin':OS[a19_0xb20df(0xc8)]},ArchToProcArchMap={'x32':ProcArch['x32'],'x64':ProcArch[a19_0xb20df(0x92)],'arm':ProcArch['arm'],'arm64':ProcArch[a19_0xb20df(0xb2)]};class EnvironmentMetadata{constructor(_0x3091c1){assert(_0x3091c1!==null),this['_logger']=_0x3091c1;}get[a19_0xb20df(0xc0)](){const _0x4a76b9=a19_0xb20df;try{const _0x49b3c2=process[_0x4a76b9(0x97)][_0x4a76b9(0x93)][_0x4a76b9(0xb7)](/(\d+\.\d+)\..*/);if(_0x49b3c2)return _0x49b3c2[0x1];}catch(_0x27b138){this['_logger']['error'](_0x27b138);}return;}get['runtimeEnvironmentInfo'](){const _0x4c960a=a19_0xb20df;return _0x4c960a(0xca)+process['version']+_0x4c960a(0x9f)+(0x0,os_1[_0x4c960a(0xcc)])()+'\x20'+(0x0,os_1[_0x4c960a(0xac)])();}get['pid'](){const _0x2aa920=a19_0xb20df;return process[_0x2aa920(0xc6)][_0x2aa920(0xa0)]();}get[a19_0xb20df(0xc1)](){const _0x37983c=a19_0xb20df;return ArchToProcArchMap[process[_0x37983c(0xbf)]]||process['arch'];}get['cpuCoreCount'](){const _0x4dbf92=a19_0xb20df;return(0x0,os_1['cpus'])()[_0x4dbf92(0xaa)];}get[a19_0xb20df(0xad)](){return(0x0,os_1['totalmem'])();}get[a19_0xb20df(0xbe)](){const _0x468011=a19_0xb20df;return(0x0,os_1[_0x468011(0xcf)])();}get[a19_0xb20df(0xb5)](){const _0x4e76a4=a19_0xb20df;return PlatformToOsMap[(0x0,os_1[_0x4e76a4(0xcc)])()]||(0x0,os_1['platform'])();}get['osVersion'](){const _0x39e1ed=a19_0xb20df;try{if(this[_0x39e1ed(0xb5)]===OS[_0x39e1ed(0xb8)])return this[_0x39e1ed(0xba)][_0x39e1ed(0x98)](_0x39e1ed(0xa3))??(0x0,os_1['release'])();return(0x0,os_1['release'])();}catch(_0x577bd7){this[_0x39e1ed(0x95)][_0x39e1ed(0xb9)](_0x577bd7);}return;}get[a19_0xb20df(0xa6)](){const _0x28ba88=a19_0xb20df;return this[_0x28ba88(0xb5)]===OS[_0x28ba88(0xb8)]&&this[_0x28ba88(0xba)][_0x28ba88(0x98)]('ID')||'';}get[a19_0xb20df(0xb6)](){const _0x2df78d=a19_0xb20df;return this['agentOS']===OS['Linux']?(0x0,fs_1[_0x2df78d(0xa5)])(_0x2df78d(0xa9)):![];}get[a19_0xb20df(0x99)](){const _0x4259ee=a19_0xb20df;return!!process['env'][_0x4259ee(0x9d)];}get['_osRelease'](){const _0x2cb176=a19_0xb20df;if(!this['_cachedOsRelease']){this[_0x2cb176(0x91)]=new Map();try{if(this[_0x2cb176(0xb5)]===OS['Linux']){const _0x131d9a=(0x0,fs_1[_0x2cb176(0xbb)])(_0x2cb176(0xaf),_0x2cb176(0xc2));_0x131d9a['split'](/\r?\n/)[_0x2cb176(0xc5)](_0x11267d=>{const _0x4286c8=_0x2cb176,[_0x1e46ea,_0x36a31c]=_0x11267d[_0x4286c8(0xab)]()[_0x4286c8(0xa7)]('=');this[_0x4286c8(0x91)]?.[_0x4286c8(0xae)](_0x1e46ea,_0x36a31c?.['replace'](/^"|"$/g,'')||'');});}}catch(_0x171c81){this[_0x2cb176(0x95)][_0x2cb176(0x9e)](_0x2cb176(0xa4),_0x171c81);}}return this[_0x2cb176(0x91)];}['getProps'](){const _0x48c10d=a19_0xb20df;return{'runtimeEnvironmentVersion':this[_0x48c10d(0xc0)],'runtimeEnvironmentInfo':this[_0x48c10d(0xc4)],'pid':this[_0x48c10d(0xc6)],'cpuCoreCount':this[_0x48c10d(0xc9)],'systemTotalMemoryBytes':this['systemTotalMemoryBytes'],'host':this['host'],'agentOS':this[_0x48c10d(0xb5)],'osVersion':this[_0x48c10d(0x94)],'linuxDistroName':this[_0x48c10d(0xa6)]||undefined,'isInDocker':this['isInDocker'],'isInK8s':this[_0x48c10d(0x99)],'procArch':this[_0x48c10d(0xc1)]};}}exports[a19_0xb20df(0xb1)]=EnvironmentMetadata;
1
+ 'use strict';const a19_0x17bc76=a19_0x5540;function a19_0x14c2(){const _0x49a6cd=['2175985FWJgMD','linuxDistroName','set','EnvironmentMetadata','totalmem','apply','Node.js\x20','getProps','windows','_logger','/.dockerenv','cpus','Linux','(((.+)+)+)+$','match','warn','_cachedOsRelease','defineProperty','node','constructor','linux','x64','3973992OouAXr','procArch','4758472CCPnCE','MacOS','agentOS','host','runtimeEnvironmentVersion','systemTotalMemoryBytes','1Aiufhy','1705082GfgWnV','assert','existsSync','335010fDAeIL','arm','333DeOzmU','release','toString','runtimeEnvironmentInfo','arch','4nLDaPw','949907UcZdWk','hostname','cpuCoreCount','isInK8s','arm64','mac','_osRelease','env','__esModule','trim','split','search','platform','length','x32','1222929KiolAk','Windows','replace','VERSION_ID','error','version','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','pid','/etc/os-release','isInDocker','readFileSync','utf-8','get'];a19_0x14c2=function(){return _0x49a6cd;};return a19_0x14c2();}(function(_0x4b736c,_0x53aa3f){const _0x2ca991=a19_0x5540,_0x2ffd27=_0x4b736c();while(!![]){try{const _0x41a2bd=-parseInt(_0x2ca991(0xbe))/0x1*(parseInt(_0x2ca991(0xbf))/0x2)+-parseInt(_0x2ca991(0x93))/0x3+-parseInt(_0x2ca991(0xc9))/0x4*(-parseInt(_0x2ca991(0xa0))/0x5)+-parseInt(_0x2ca991(0xb6))/0x6+parseInt(_0x2ca991(0xca))/0x7+parseInt(_0x2ca991(0xb8))/0x8+parseInt(_0x2ca991(0xc4))/0x9*(parseInt(_0x2ca991(0xc2))/0xa);if(_0x41a2bd===_0x53aa3f)break;else _0x2ffd27['push'](_0x2ffd27['shift']());}catch(_0x4e203c){_0x2ffd27['push'](_0x2ffd27['shift']());}}}(a19_0x14c2,0x75da8));Object[a19_0x17bc76(0xb1)](exports,a19_0x17bc76(0xd2),{'value':!![]}),exports[a19_0x17bc76(0xa3)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0x17bc76(0xc0));var OS;(function(_0x4d61cd){const _0x2eebf8=a19_0x17bc76;_0x4d61cd['Linux']=_0x2eebf8(0xb4),_0x4d61cd['Windows']=_0x2eebf8(0xa8),_0x4d61cd['MacOS']=_0x2eebf8(0xcf);}(OS||(OS={})));function a19_0x5540(_0x3493ec,_0x161206){const _0x3895f9=a19_0x14c2();return a19_0x5540=function(_0x210fe9,_0x23cffb){_0x210fe9=_0x210fe9-0x8e;let _0x14c29c=_0x3895f9[_0x210fe9];return _0x14c29c;},a19_0x5540(_0x3493ec,_0x161206);}var ProcArch;(function(_0xde3135){const _0x1097b7=a19_0x17bc76,_0x1a0c0e=(function(){let _0x96a689=!![];return function(_0x56cf89,_0x4e2895){const _0x3fc526=_0x96a689?function(){const _0x45382c=a19_0x5540;if(_0x4e2895){const _0x58ec0a=_0x4e2895[_0x45382c(0xa5)](_0x56cf89,arguments);return _0x4e2895=null,_0x58ec0a;}}:function(){};return _0x96a689=![],_0x3fc526;};}()),_0x358fd7=_0x1a0c0e(this,function(){const _0x56bf3d=a19_0x5540;return _0x358fd7[_0x56bf3d(0xc6)]()[_0x56bf3d(0x8f)](_0x56bf3d(0xad))[_0x56bf3d(0xc6)]()[_0x56bf3d(0xb3)](_0x358fd7)[_0x56bf3d(0x8f)](_0x56bf3d(0xad));});_0x358fd7(),_0xde3135[_0x1097b7(0xb5)]=_0x1097b7(0xb5),_0xde3135[_0x1097b7(0x92)]=_0x1097b7(0x92),_0xde3135[_0x1097b7(0xc3)]=_0x1097b7(0xc3),_0xde3135[_0x1097b7(0xce)]=_0x1097b7(0xce);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a19_0x17bc76(0xac)],'win32':OS[a19_0x17bc76(0x94)],'darwin':OS[a19_0x17bc76(0xb9)]},ArchToProcArchMap={'x32':ProcArch['x32'],'x64':ProcArch['x64'],'arm':ProcArch[a19_0x17bc76(0xc3)],'arm64':ProcArch['arm64']};class EnvironmentMetadata{constructor(_0xcddb31){const _0x27ae77=a19_0x17bc76;assert(_0xcddb31!==null),this[_0x27ae77(0xa9)]=_0xcddb31;}get['runtimeEnvironmentVersion'](){const _0x437079=a19_0x17bc76;try{const _0x19f729=process['versions'][_0x437079(0xb2)][_0x437079(0xae)](/(\d+\.\d+)\..*/);if(_0x19f729)return _0x19f729[0x1];}catch(_0x462306){this['_logger'][_0x437079(0x97)](_0x462306);}return;}get['runtimeEnvironmentInfo'](){const _0xb31495=a19_0x17bc76;return _0xb31495(0xa6)+process[_0xb31495(0x98)]+'\x20on\x20'+(0x0,os_1[_0xb31495(0x90)])()+'\x20'+(0x0,os_1[_0xb31495(0xc5)])();}get[a19_0x17bc76(0x9a)](){const _0x1f5040=a19_0x17bc76;return process[_0x1f5040(0x9a)]['toString']();}get[a19_0x17bc76(0xb7)](){const _0x554132=a19_0x17bc76;return ArchToProcArchMap[process[_0x554132(0xc8)]]||process[_0x554132(0xc8)];}get['cpuCoreCount'](){const _0x3df541=a19_0x17bc76;return(0x0,os_1[_0x3df541(0xab)])()[_0x3df541(0x91)];}get[a19_0x17bc76(0xbd)](){const _0x215f58=a19_0x17bc76;return(0x0,os_1[_0x215f58(0xa4)])();}get[a19_0x17bc76(0xbb)](){const _0x35507a=a19_0x17bc76;return(0x0,os_1[_0x35507a(0xcb)])();}get[a19_0x17bc76(0xba)](){const _0x47ab44=a19_0x17bc76;return PlatformToOsMap[(0x0,os_1['platform'])()]||(0x0,os_1[_0x47ab44(0x90)])();}get['osVersion'](){const _0x2eaa3f=a19_0x17bc76;try{if(this[_0x2eaa3f(0xba)]===OS[_0x2eaa3f(0xac)])return this['_osRelease'][_0x2eaa3f(0x9f)](_0x2eaa3f(0x96))??(0x0,os_1[_0x2eaa3f(0xc5)])();return(0x0,os_1[_0x2eaa3f(0xc5)])();}catch(_0x16ccb6){this['_logger'][_0x2eaa3f(0x97)](_0x16ccb6);}return;}get[a19_0x17bc76(0xa1)](){const _0x37a228=a19_0x17bc76;return this[_0x37a228(0xba)]===OS[_0x37a228(0xac)]&&this[_0x37a228(0xd0)]['get']('ID')||'';}get[a19_0x17bc76(0x9c)](){const _0x3c0c1c=a19_0x17bc76;return this[_0x3c0c1c(0xba)]===OS[_0x3c0c1c(0xac)]?(0x0,fs_1[_0x3c0c1c(0xc1)])(_0x3c0c1c(0xaa)):![];}get['isInK8s'](){const _0x41a10b=a19_0x17bc76;return!!process[_0x41a10b(0xd1)]['KUBERNETES_SERVICE_HOST'];}get[a19_0x17bc76(0xd0)](){const _0x396a51=a19_0x17bc76;if(!this['_cachedOsRelease']){this[_0x396a51(0xb0)]=new Map();try{if(this[_0x396a51(0xba)]===OS[_0x396a51(0xac)]){const _0x4dfd93=(0x0,fs_1[_0x396a51(0x9d)])(_0x396a51(0x9b),_0x396a51(0x9e));_0x4dfd93[_0x396a51(0x8e)](/\r?\n/)['forEach'](_0x582c78=>{const _0x511c75=_0x396a51,[_0x57d980,_0xa031b2]=_0x582c78[_0x511c75(0xd3)]()[_0x511c75(0x8e)]('=');this[_0x511c75(0xb0)]?.[_0x511c75(0xa2)](_0x57d980,_0xa031b2?.[_0x511c75(0x95)](/^"|"$/g,'')||'');});}}catch(_0xed6b79){this[_0x396a51(0xa9)][_0x396a51(0xaf)](_0x396a51(0x99),_0xed6b79);}}return this['_cachedOsRelease'];}[a19_0x17bc76(0xa7)](){const _0x38025c=a19_0x17bc76;return{'runtimeEnvironmentVersion':this[_0x38025c(0xbc)],'runtimeEnvironmentInfo':this[_0x38025c(0xc7)],'pid':this[_0x38025c(0x9a)],'cpuCoreCount':this[_0x38025c(0xcc)],'systemTotalMemoryBytes':this[_0x38025c(0xbd)],'host':this['host'],'agentOS':this[_0x38025c(0xba)],'osVersion':this['osVersion'],'linuxDistroName':this[_0x38025c(0xa1)]||undefined,'isInDocker':this['isInDocker'],'isInK8s':this[_0x38025c(0xcd)],'procArch':this[_0x38025c(0xb7)]};}}exports[a19_0x17bc76(0xa3)]=EnvironmentMetadata;
@@ -1 +1 @@
1
- const a20_0x343b5c=a20_0x209e;(function(_0x238f9e,_0x4f6ec2){const _0x252acc=a20_0x209e,_0x5e6fa7=_0x238f9e();while(!![]){try{const _0x316bb2=parseInt(_0x252acc(0xd8))/0x1*(-parseInt(_0x252acc(0xf8))/0x2)+parseInt(_0x252acc(0xfa))/0x3*(-parseInt(_0x252acc(0xe9))/0x4)+-parseInt(_0x252acc(0xf3))/0x5+-parseInt(_0x252acc(0xed))/0x6*(-parseInt(_0x252acc(0xdf))/0x7)+-parseInt(_0x252acc(0xe4))/0x8*(parseInt(_0x252acc(0xdd))/0x9)+parseInt(_0x252acc(0xe2))/0xa*(-parseInt(_0x252acc(0xe7))/0xb)+parseInt(_0x252acc(0xf0))/0xc*(parseInt(_0x252acc(0xd1))/0xd);if(_0x316bb2===_0x4f6ec2)break;else _0x5e6fa7['push'](_0x5e6fa7['shift']());}catch(_0x43a3b9){_0x5e6fa7['push'](_0x5e6fa7['shift']());}}}(a20_0x38e1,0x8aa8b));const a20_0x5b946d=(function(){let _0x53ff57=!![];return function(_0x2bf03c,_0x58eca5){const _0x4d7d86=_0x53ff57?function(){const _0x1e5e7=a20_0x209e;if(_0x58eca5){const _0x4ad4ee=_0x58eca5[_0x1e5e7(0xdb)](_0x2bf03c,arguments);return _0x58eca5=null,_0x4ad4ee;}}:function(){};return _0x53ff57=![],_0x4d7d86;};}()),a20_0x2a4c02=a20_0x5b946d(this,function(){const _0x5cf073=a20_0x209e;return a20_0x2a4c02[_0x5cf073(0xe6)]()[_0x5cf073(0xde)](_0x5cf073(0xdc))[_0x5cf073(0xe6)]()['constructor'](a20_0x2a4c02)[_0x5cf073(0xde)](_0x5cf073(0xdc));});function a20_0x38e1(){const _0x3c2fad=['search','7217uJajYU','fileIndex','buildIndex','420itujIF','length','64664bOzKeW','filter','toString','297077ZXaskC','fromFileStats','4wEIXIO','generateSubPaths','stripStartingSep','startsWith','4194CRagdK','min','__esModule','3896304ToqDOs','fileStats','findShortestFuzzyMatches','2297680UMZDhS','path','map','includes','add','453666YEvlRX','get','2522046UWbGRE','_fileStats','104vBlEKV','sep','fromFileList','defineProperty','push','indexOf','has','1mhCzgG','substring','FileIndex','apply','(((.+)+)+)+$','99tYHcNf'];a20_0x38e1=function(){return _0x3c2fad;};return a20_0x38e1();}a20_0x2a4c02();'use strict';function a20_0x209e(_0x29976b,_0x38e1bb){const _0x24833b=a20_0x38e1();return a20_0x209e=function(_0x2a4c02,_0x5b946d){_0x2a4c02=_0x2a4c02-0xd1;let _0x38e1b8=_0x24833b[_0x2a4c02];return _0x38e1b8;},a20_0x209e(_0x29976b,_0x38e1bb);}Object[a20_0x343b5c(0xd4)](exports,a20_0x343b5c(0xef),{'value':!![]}),exports[a20_0x343b5c(0xda)]=void 0x0;const path=require(a20_0x343b5c(0xf4));class FileIndex{constructor(_0x3c6c4f){const _0x2dad0a=a20_0x343b5c;this[_0x2dad0a(0xfb)]=_0x3c6c4f,this[_0x2dad0a(0xe0)]=new Map();}static[a20_0x343b5c(0xe8)](_0x1bbef9){const _0x4af028=a20_0x343b5c,_0x5b82ac=new FileIndex(_0x1bbef9);return _0x5b82ac[_0x4af028(0xe1)](Object['keys'](_0x1bbef9)||[]),_0x5b82ac;}static[a20_0x343b5c(0xd3)](_0x24822d){const _0x1d7a7b=a20_0x343b5c,_0x2526da=new FileIndex(undefined);return _0x2526da[_0x1d7a7b(0xe1)](_0x24822d||[]),_0x2526da;}get[a20_0x343b5c(0xf1)](){return this['_fileStats']??{};}[a20_0x343b5c(0xf2)](_0x127f90){const _0x23f02c=a20_0x343b5c,_0x44f108=this[_0x23f02c(0xde)](_0x127f90);if(!_0x44f108||_0x44f108['size']===0x0)return[];const _0x113ccf=[..._0x44f108][_0x23f02c(0xf5)](_0x5b38b2=>_0x5b38b2[_0x23f02c(0xe3)]),_0x11c168=Math[_0x23f02c(0xee)](..._0x113ccf),_0x407e38=[..._0x44f108][_0x23f02c(0xe5)](_0x1b51a1=>_0x1b51a1[_0x23f02c(0xe3)]===_0x11c168);return _0x407e38;}[a20_0x343b5c(0xe1)](_0x1339de){const _0x15efdd=a20_0x343b5c;for(const _0x24f13d of _0x1339de){for(const _0x2455c8 of this[_0x15efdd(0xea)](_0x24f13d)){let _0x597bdc=this[_0x15efdd(0xe0)][_0x15efdd(0xf9)](_0x2455c8);_0x597bdc===undefined&&(_0x597bdc=new Set(),this[_0x15efdd(0xe0)]['set'](_0x2455c8,_0x597bdc)),_0x597bdc[_0x15efdd(0xf7)](_0x24f13d);}}}[a20_0x343b5c(0xea)](_0x59d0be){const _0x4a5252=a20_0x343b5c;_0x59d0be=this[_0x4a5252(0xeb)](_0x59d0be);const _0x1f276b=[_0x59d0be];while(_0x59d0be[_0x4a5252(0xf6)](path['sep'])){_0x59d0be=_0x59d0be[_0x4a5252(0xd9)](_0x59d0be[_0x4a5252(0xd6)](path[_0x4a5252(0xd2)])+path[_0x4a5252(0xd2)][_0x4a5252(0xe3)],_0x59d0be[_0x4a5252(0xe3)]),_0x1f276b[_0x4a5252(0xd5)](_0x59d0be);}return _0x1f276b;}[a20_0x343b5c(0xde)](_0x5df7ec){const _0x36578a=a20_0x343b5c;if(!_0x5df7ec)return undefined;_0x5df7ec=this['stripStartingSep'](_0x5df7ec);for(const _0x54737c of this[_0x36578a(0xea)](_0x5df7ec)){if(this[_0x36578a(0xe0)][_0x36578a(0xd7)](_0x54737c))return this[_0x36578a(0xe0)]['get'](_0x54737c);}return undefined;}['stripStartingSep'](_0x330ed7){const _0x4d420e=a20_0x343b5c;if(_0x330ed7&&(_0x330ed7[_0x4d420e(0xec)]('/')||_0x330ed7[_0x4d420e(0xec)]('\x5c')))return _0x330ed7['substr'](0x1);return _0x330ed7;}}exports['FileIndex']=FileIndex;
1
+ const a20_0xfa0664=a20_0x15d5;(function(_0xb16776,_0x1015b6){const _0x25dcd1=a20_0x15d5,_0x39f679=_0xb16776();while(!![]){try{const _0x384932=-parseInt(_0x25dcd1(0x1b8))/0x1*(parseInt(_0x25dcd1(0x1cc))/0x2)+-parseInt(_0x25dcd1(0x1d7))/0x3*(parseInt(_0x25dcd1(0x1cd))/0x4)+parseInt(_0x25dcd1(0x1d4))/0x5+parseInt(_0x25dcd1(0x1ce))/0x6*(-parseInt(_0x25dcd1(0x1d3))/0x7)+-parseInt(_0x25dcd1(0x1c1))/0x8*(parseInt(_0x25dcd1(0x1b4))/0x9)+parseInt(_0x25dcd1(0x1d2))/0xa+-parseInt(_0x25dcd1(0x1b9))/0xb*(-parseInt(_0x25dcd1(0x1ca))/0xc);if(_0x384932===_0x1015b6)break;else _0x39f679['push'](_0x39f679['shift']());}catch(_0xdb96c6){_0x39f679['push'](_0x39f679['shift']());}}}(a20_0x4168,0xb4680));const a20_0x3de8a4=(function(){let _0xda70a7=!![];return function(_0x1ac161,_0x20963f){const _0x4a3bb2=_0xda70a7?function(){if(_0x20963f){const _0x3484a6=_0x20963f['apply'](_0x1ac161,arguments);return _0x20963f=null,_0x3484a6;}}:function(){};return _0xda70a7=![],_0x4a3bb2;};}()),a20_0x40bfd5=a20_0x3de8a4(this,function(){const _0x46f30e=a20_0x15d5;return a20_0x40bfd5['toString']()[_0x46f30e(0x1b3)](_0x46f30e(0x1c6))[_0x46f30e(0x1b5)]()[_0x46f30e(0x1cb)](a20_0x40bfd5)[_0x46f30e(0x1b3)](_0x46f30e(0x1c6));});a20_0x40bfd5();function a20_0x15d5(_0x5e8fa7,_0xe6deeb){const _0x49ab63=a20_0x4168();return a20_0x15d5=function(_0x40bfd5,_0x3de8a4){_0x40bfd5=_0x40bfd5-0x1b1;let _0x4168e0=_0x49ab63[_0x40bfd5];return _0x4168e0;},a20_0x15d5(_0x5e8fa7,_0xe6deeb);}'use strict';Object[a20_0xfa0664(0x1cf)](exports,a20_0xfa0664(0x1d5),{'value':!![]}),exports['FileIndex']=void 0x0;const path=require('path');function a20_0x4168(){const _0x130374=['buildIndex','2vvBqZT','669790RovZcr','fromFileList','includes','sep','min','has','keys','generateSubPaths','280OFFdGX','filter','add','fileStats','_fileStats','(((.+)+)+)+$','length','size','FileIndex','192eYsibQ','constructor','298730NSGRNR','28mTEpVU','6162XtAzyt','defineProperty','set','startsWith','12255580PgbcCH','5019wABMSR','1935130BscHXm','__esModule','fileIndex','225609YlgxqN','get','indexOf','fromFileStats','push','search','73638aJOntI','toString','stripStartingSep'];a20_0x4168=function(){return _0x130374;};return a20_0x4168();}class FileIndex{constructor(_0x37935f){const _0x142f63=a20_0xfa0664;this[_0x142f63(0x1c5)]=_0x37935f,this[_0x142f63(0x1d6)]=new Map();}static[a20_0xfa0664(0x1b1)](_0x1a0ff0){const _0x148897=a20_0xfa0664,_0x5b6911=new FileIndex(_0x1a0ff0);return _0x5b6911['buildIndex'](Object[_0x148897(0x1bf)](_0x1a0ff0)||[]),_0x5b6911;}static[a20_0xfa0664(0x1ba)](_0x471739){const _0x59144f=a20_0xfa0664,_0x48f25c=new FileIndex(undefined);return _0x48f25c[_0x59144f(0x1b7)](_0x471739||[]),_0x48f25c;}get[a20_0xfa0664(0x1c4)](){const _0x1edf66=a20_0xfa0664;return this[_0x1edf66(0x1c5)]??{};}['findShortestFuzzyMatches'](_0x2a8882){const _0x371487=a20_0xfa0664,_0x53c9d3=this[_0x371487(0x1b3)](_0x2a8882);if(!_0x53c9d3||_0x53c9d3[_0x371487(0x1c8)]===0x0)return[];const _0x42d84a=[..._0x53c9d3]['map'](_0x35f8d3=>_0x35f8d3['length']),_0x4107fa=Math[_0x371487(0x1bd)](..._0x42d84a),_0x353cc3=[..._0x53c9d3][_0x371487(0x1c2)](_0x46686f=>_0x46686f[_0x371487(0x1c7)]===_0x4107fa);return _0x353cc3;}['buildIndex'](_0x34568e){const _0x57205d=a20_0xfa0664;for(const _0x1af7f2 of _0x34568e){for(const _0x54ea3c of this[_0x57205d(0x1c0)](_0x1af7f2)){let _0xd89200=this[_0x57205d(0x1d6)][_0x57205d(0x1d8)](_0x54ea3c);_0xd89200===undefined&&(_0xd89200=new Set(),this['fileIndex'][_0x57205d(0x1d0)](_0x54ea3c,_0xd89200)),_0xd89200[_0x57205d(0x1c3)](_0x1af7f2);}}}[a20_0xfa0664(0x1c0)](_0x1c62a3){const _0xa42e56=a20_0xfa0664;_0x1c62a3=this[_0xa42e56(0x1b6)](_0x1c62a3);const _0x918951=[_0x1c62a3];while(_0x1c62a3[_0xa42e56(0x1bb)](path[_0xa42e56(0x1bc)])){_0x1c62a3=_0x1c62a3['substring'](_0x1c62a3[_0xa42e56(0x1d9)](path[_0xa42e56(0x1bc)])+path['sep'][_0xa42e56(0x1c7)],_0x1c62a3['length']),_0x918951[_0xa42e56(0x1b2)](_0x1c62a3);}return _0x918951;}['search'](_0x3d3fa9){const _0x3ec471=a20_0xfa0664;if(!_0x3d3fa9)return undefined;_0x3d3fa9=this[_0x3ec471(0x1b6)](_0x3d3fa9);for(const _0x235eee of this[_0x3ec471(0x1c0)](_0x3d3fa9)){if(this[_0x3ec471(0x1d6)][_0x3ec471(0x1be)](_0x235eee))return this[_0x3ec471(0x1d6)][_0x3ec471(0x1d8)](_0x235eee);}return undefined;}['stripStartingSep'](_0xe79542){const _0x3d276d=a20_0xfa0664;if(_0xe79542&&(_0xe79542[_0x3d276d(0x1d1)]('/')||_0xe79542[_0x3d276d(0x1d1)]('\x5c')))return _0xe79542['substr'](0x1);return _0xe79542;}}exports[a20_0xfa0664(0x1c9)]=FileIndex;
@@ -1 +1 @@
1
- const a21_0x5d58f1=a21_0x5ac4;(function(_0x3f4b92,_0x3dd583){const _0x46f549=a21_0x5ac4,_0x3accec=_0x3f4b92();while(!![]){try{const _0x5edcbb=parseInt(_0x46f549(0x1fd))/0x1*(parseInt(_0x46f549(0x1fe))/0x2)+-parseInt(_0x46f549(0x201))/0x3+-parseInt(_0x46f549(0x1eb))/0x4+-parseInt(_0x46f549(0x1f0))/0x5*(parseInt(_0x46f549(0x1fa))/0x6)+-parseInt(_0x46f549(0x1f8))/0x7+parseInt(_0x46f549(0x1ed))/0x8*(parseInt(_0x46f549(0x1ff))/0x9)+parseInt(_0x46f549(0x1f5))/0xa*(parseInt(_0x46f549(0x1f9))/0xb);if(_0x5edcbb===_0x3dd583)break;else _0x3accec['push'](_0x3accec['shift']());}catch(_0x1c1d0c){_0x3accec['push'](_0x3accec['shift']());}}}(a21_0x24e8,0xaa9d9));function a21_0x5ac4(_0x50e411,_0x3746ca){const _0x17b78b=a21_0x24e8();return a21_0x5ac4=function(_0x513300,_0x341f04){_0x513300=_0x513300-0x1eb;let _0x24e8d9=_0x17b78b[_0x513300];return _0x24e8d9;},a21_0x5ac4(_0x50e411,_0x3746ca);}const a21_0x341f04=(function(){let _0x26b376=!![];return function(_0x18fab6,_0x2eafdc){const _0x259dac=_0x26b376?function(){const _0x5535db=a21_0x5ac4;if(_0x2eafdc){const _0x24dc07=_0x2eafdc[_0x5535db(0x205)](_0x18fab6,arguments);return _0x2eafdc=null,_0x24dc07;}}:function(){};return _0x26b376=![],_0x259dac;};}()),a21_0x513300=a21_0x341f04(this,function(){const _0x3ef4e9=a21_0x5ac4;return a21_0x513300[_0x3ef4e9(0x1f1)]()['search']('(((.+)+)+)+$')['toString']()[_0x3ef4e9(0x1ee)](a21_0x513300)[_0x3ef4e9(0x1f3)]('(((.+)+)+)+$');});a21_0x513300();'use strict';Object[a21_0x5d58f1(0x204)](exports,'__esModule',{'value':!![]}),exports[a21_0x5d58f1(0x1fc)]=void 0x0;const path=require('path');function a21_0x24e8(){const _0x2e4def=['errorMap','forEach','defineProperty','apply','936248DrvSRK','filter','157488iDsSHd','constructor','replace','5bSKuyZ','toString','hash','search','map','130XEZFor','keys','selectStats','1061074BFkzLN','287584VsRbLf','5485146LocbNb','normalize','ScanResultsImpl','409854euampc','6fNOlRW','567QIwTct','stats','2432928sMLIxs'];a21_0x24e8=function(){return _0x2e4def;};return a21_0x24e8();}class ScanResultsImpl{constructor(_0xb4c400,_0x35477c,_0x164602){const _0x29d9a9=a21_0x5d58f1;this[_0x29d9a9(0x200)]=_0xb4c400,this[_0x29d9a9(0x202)]=_0x35477c,this[_0x29d9a9(0x1f2)]=_0x164602;}['errors'](){const _0x4220d2=a21_0x5d58f1;return this[_0x4220d2(0x202)];}['all'](){return this['stats'];}[a21_0x5d58f1(0x1f7)](_0x4d3ea9){const _0x48d371=a21_0x5d58f1,_0x31255b={};return Object[_0x48d371(0x1f6)](this[_0x48d371(0x200)])[_0x48d371(0x203)](_0x5c73b8=>{const _0x583b62=_0x48d371;_0x4d3ea9['test'](_0x5c73b8)&&(_0x31255b[_0x5c73b8]=this[_0x583b62(0x200)][_0x5c73b8]);}),_0x31255b;}['selectFiles'](_0x26b12e,_0x56ab06){const _0x118df7=a21_0x5d58f1;return _0x56ab06=path[_0x118df7(0x1fb)](_0x56ab06+path['sep']),Object[_0x118df7(0x1f6)](this[_0x118df7(0x200)])[_0x118df7(0x1ec)](_0xa360f5=>_0xa360f5&&_0x26b12e['test'](_0xa360f5))[_0x118df7(0x1f4)](_0x5b741e=>path[_0x118df7(0x1fb)](_0x5b741e)[_0x118df7(0x1ef)](_0x56ab06,''));}}exports[a21_0x5d58f1(0x1fc)]=ScanResultsImpl;
1
+ const a21_0x1a49f3=a21_0x1cde;function a21_0x537d(){const _0x19bd90=['keys','search','225jNFBeN','normalize','34868eCXpLi','stats','1342130nEkqFV','test','__esModule','ScanResultsImpl','4333Tqyusn','(((.+)+)+)+$','forEach','24emrNrT','9tlyOWK','321712mvAmDw','errorMap','all','constructor','defineProperty','16770qvJdEF','hash','18VWLDtu','toString','116558eNIDYL','816RibYxw','1240349kaxDBi','replace','path','sep'];a21_0x537d=function(){return _0x19bd90;};return a21_0x537d();}(function(_0x4252ed,_0x428642){const _0x3cbeac=a21_0x1cde,_0x24e92a=_0x4252ed();while(!![]){try{const _0x4b91a7=-parseInt(_0x3cbeac(0x10c))/0x1+-parseInt(_0x3cbeac(0x116))/0x2*(-parseInt(_0x3cbeac(0x10a))/0x3)+parseInt(_0x3cbeac(0x103))/0x4+parseInt(_0x3cbeac(0x114))/0x5*(parseInt(_0x3cbeac(0x108))/0x6)+-parseInt(_0x3cbeac(0xfe))/0x7*(-parseInt(_0x3cbeac(0x10d))/0x8)+-parseInt(_0x3cbeac(0x102))/0x9*(-parseInt(_0x3cbeac(0xfa))/0xa)+parseInt(_0x3cbeac(0x10e))/0xb*(-parseInt(_0x3cbeac(0x101))/0xc);if(_0x4b91a7===_0x428642)break;else _0x24e92a['push'](_0x24e92a['shift']());}catch(_0xc788c5){_0x24e92a['push'](_0x24e92a['shift']());}}}(a21_0x537d,0x288c2));const a21_0x396f46=(function(){let _0x1c3f3d=!![];return function(_0x2a8827,_0x1b85aa){const _0x199057=_0x1c3f3d?function(){if(_0x1b85aa){const _0x241073=_0x1b85aa['apply'](_0x2a8827,arguments);return _0x1b85aa=null,_0x241073;}}:function(){};return _0x1c3f3d=![],_0x199057;};}()),a21_0x52613c=a21_0x396f46(this,function(){const _0x5c62f7=a21_0x1cde;return a21_0x52613c[_0x5c62f7(0x10b)]()[_0x5c62f7(0x113)](_0x5c62f7(0xff))[_0x5c62f7(0x10b)]()[_0x5c62f7(0x106)](a21_0x52613c)[_0x5c62f7(0x113)](_0x5c62f7(0xff));});a21_0x52613c();'use strict';Object[a21_0x1a49f3(0x107)](exports,a21_0x1a49f3(0xfc),{'value':!![]}),exports[a21_0x1a49f3(0xfd)]=void 0x0;const path=require(a21_0x1a49f3(0x110));class ScanResultsImpl{constructor(_0xe80330,_0x36b1ff,_0x3ee2d9){const _0xf6416c=a21_0x1a49f3;this[_0xf6416c(0xf9)]=_0xe80330,this[_0xf6416c(0x104)]=_0x36b1ff,this[_0xf6416c(0x109)]=_0x3ee2d9;}['errors'](){const _0x59f234=a21_0x1a49f3;return this[_0x59f234(0x104)];}[a21_0x1a49f3(0x105)](){const _0x5997ad=a21_0x1a49f3;return this[_0x5997ad(0xf9)];}['selectStats'](_0x1b6464){const _0xd1a406=a21_0x1a49f3,_0x1bde98={};return Object[_0xd1a406(0x112)](this[_0xd1a406(0xf9)])[_0xd1a406(0x100)](_0x448bae=>{const _0x5ae054=_0xd1a406;_0x1b6464[_0x5ae054(0xfb)](_0x448bae)&&(_0x1bde98[_0x448bae]=this[_0x5ae054(0xf9)][_0x448bae]);}),_0x1bde98;}['selectFiles'](_0x29c8e7,_0x3a0099){const _0x33c077=a21_0x1a49f3;return _0x3a0099=path[_0x33c077(0x115)](_0x3a0099+path[_0x33c077(0x111)]),Object[_0x33c077(0x112)](this[_0x33c077(0xf9)])['filter'](_0x127cc2=>_0x127cc2&&_0x29c8e7[_0x33c077(0xfb)](_0x127cc2))['map'](_0x1bf859=>path['normalize'](_0x1bf859)[_0x33c077(0x10f)](_0x3a0099,''));}}function a21_0x1cde(_0x2e9aba,_0x475299){const _0x73aa88=a21_0x537d();return a21_0x1cde=function(_0x52613c,_0x396f46){_0x52613c=_0x52613c-0xf9;let _0x537d97=_0x73aa88[_0x52613c];return _0x537d97;},a21_0x1cde(_0x2e9aba,_0x475299);}exports[a21_0x1a49f3(0xfd)]=ScanResultsImpl;
@@ -1 +1 @@
1
- const a22_0x3ecb37=a22_0x1fc2;(function(_0x2d17c7,_0x13750d){const _0x25d883=a22_0x1fc2,_0x443445=_0x2d17c7();while(!![]){try{const _0x279ef3=parseInt(_0x25d883(0xd6))/0x1*(parseInt(_0x25d883(0xde))/0x2)+-parseInt(_0x25d883(0xf0))/0x3*(-parseInt(_0x25d883(0xef))/0x4)+-parseInt(_0x25d883(0xd3))/0x5+-parseInt(_0x25d883(0xb4))/0x6*(-parseInt(_0x25d883(0xd0))/0x7)+-parseInt(_0x25d883(0xc4))/0x8+parseInt(_0x25d883(0xca))/0x9*(parseInt(_0x25d883(0xec))/0xa)+-parseInt(_0x25d883(0xd4))/0xb;if(_0x279ef3===_0x13750d)break;else _0x443445['push'](_0x443445['shift']());}catch(_0x1de97f){_0x443445['push'](_0x443445['shift']());}}}(a22_0x2c2d,0xd5a00));const a22_0x5df7b3=(function(){let _0x2bc400=!![];return function(_0x18e6ce,_0x55e455){const _0x282bb4=_0x2bc400?function(){const _0x4e7f46=a22_0x1fc2;if(_0x55e455){const _0x3795c6=_0x55e455[_0x4e7f46(0xdb)](_0x18e6ce,arguments);return _0x55e455=null,_0x3795c6;}}:function(){};return _0x2bc400=![],_0x282bb4;};}()),a22_0x520ad9=a22_0x5df7b3(this,function(){const _0x4adaa6=a22_0x1fc2;return a22_0x520ad9[_0x4adaa6(0xe4)]()[_0x4adaa6(0xb5)](_0x4adaa6(0xd5))[_0x4adaa6(0xe4)]()[_0x4adaa6(0xee)](a22_0x520ad9)[_0x4adaa6(0xb5)](_0x4adaa6(0xd5));});a22_0x520ad9();function a22_0x2c2d(){const _0x228f10=['directory','toString','accessSync','addFilesFromDir','path','./scan-results','Scanner','computeStats','Specified\x20extraPaths\x20does\x20not\x20exist!','10pzUgUd','add','constructor','4YXREIE','2390697yojPbR','findit2','160086RKNbMV','search','join','from','__esModule','set','findFiles','statsForFile','split','ScanResultsImpl','sha1','createHash','resolve','defineProperty','file','end','9622128cxBArz','test','constants','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','basename','scan','9841779vfPJcp','R_OK','push','info','EMPTY-no-js-files','createReadStream','252HzJgVR','data','hash','2776355mdZwSb','18358043KxcoNq','(((.+)+)+)+$','725506HcKJTr','.git','SHA1-','hex','digest','apply','logger','crypto','4nvqieX','error','update','hasReadAccess','Indexing\x20files\x20in\x20'];a22_0x2c2d=function(){return _0x228f10;};return a22_0x2c2d();}'use strict';Object[a22_0x3ecb37(0xc1)](exports,a22_0x3ecb37(0xb8),{'value':!![]}),exports[a22_0x3ecb37(0xe9)]=void 0x0;const crypto=require(a22_0x3ecb37(0xdd)),fs=require('fs'),path=require(a22_0x3ecb37(0xe7)),scan_results_1=require(a22_0x3ecb37(0xe8));class Scanner{constructor(_0x13fba2){const _0x2d1a7d=a22_0x3ecb37;this[_0x2d1a7d(0xdc)]=_0x13fba2;}async[a22_0x3ecb37(0xc9)](_0x126b4f,_0x27e317,_0x3ca19d,_0x132db1){const _0x5bac65=a22_0x3ecb37,_0x4196b5=await this[_0x5bac65(0xba)](_0x126b4f,_0x27e317,_0x132db1);return this[_0x5bac65(0xea)](_0x4196b5,_0x3ca19d);}async[a22_0x3ecb37(0xea)](_0x419278,_0x371ac1){const _0x2257ac=a22_0x3ecb37;if(_0x419278['length']===0x0)return new scan_results_1[(_0x2257ac(0xbd))]({},new Map(),_0x2257ac(0xce));const _0x2d14fa=[],_0x3d6ce6={},_0x59355a=new Map();for(const _0x1a797c of _0x419278){try{const _0x1f2b47=await this[_0x2257ac(0xbb)](_0x1a797c,!_0x371ac1);!_0x371ac1&&_0x2d14fa[_0x2257ac(0xcc)](_0x1f2b47[_0x2257ac(0xd2)]),_0x3d6ce6[_0x1a797c]=_0x1f2b47;}catch(_0x910f0f){_0x59355a[_0x2257ac(0xb9)](_0x1a797c,_0x910f0f);}}let _0x5a9f78;if(!_0x371ac1){const _0x2b88c5=_0x2d14fa['sort']()[_0x2257ac(0xb6)](),_0x30a51f=crypto['createHash'](_0x2257ac(0xbe))[_0x2257ac(0xe0)](_0x2b88c5)['digest'](_0x2257ac(0xd9));_0x5a9f78=_0x2257ac(0xd8)+_0x30a51f;}else _0x5a9f78=_0x371ac1;return new scan_results_1['ScanResultsImpl'](_0x3d6ce6,_0x59355a,_0x5a9f78);}async[a22_0x3ecb37(0xba)](_0x2e202b,_0xbf6bc5,_0x332183){const _0x49176b=a22_0x3ecb37,_0x2c193c=new Set();await this[_0x49176b(0xe6)](_0x2c193c,_0x2e202b,_0xbf6bc5);for(const _0x208f57 of _0x332183??[]){if(_0x208f57){const _0x3673a1=path[_0x49176b(0xc0)](_0x208f57);try{await this[_0x49176b(0xe6)](_0x2c193c,_0x3673a1,_0xbf6bc5);}catch(_0x408555){this['logger'][_0x49176b(0xdf)](_0x49176b(0xeb),_0x408555);}}}return Array[_0x49176b(0xb7)](_0x2c193c);}static['hasReadAccess'](_0x32a381){const _0xce488b=a22_0x3ecb37;try{return fs[_0xce488b(0xe5)](_0x32a381,fs[_0xce488b(0xc6)][_0xce488b(0xcb)]),!![];}catch{return![];}}async[a22_0x3ecb37(0xe6)](_0x335e7d,_0x385d02,_0x4a6856){return new Promise((_0x511779,_0x49fd37)=>{const _0x4a045e=a22_0x1fc2;let _0x12c347;if(!_0x385d02){_0x49fd37(new Error('addFilesFromDir\x20requires\x20a\x20searchDir\x20argument'));return;}this[_0x4a045e(0xdc)][_0x4a045e(0xcd)](_0x4a045e(0xe2)+path[_0x4a045e(0xc0)](_0x385d02));const _0x37941c=findit(_0x385d02);_0x37941c['on'](_0x4a045e(0xdf),_0xcc2e68=>{_0x12c347=_0xcc2e68;return;}),_0x37941c['on'](_0x4a045e(0xe3),(_0x13a723,_0x2c72cb,_0x370da3)=>{const _0x4244e9=_0x4a045e,_0x1c683d=path[_0x4244e9(0xc8)](_0x13a723);!Scanner[_0x4244e9(0xe1)](_0x13a723)&&(this[_0x4244e9(0xdc)]['warn']('can\x27t\x20access\x20path:\x20['+_0x13a723+_0x4244e9(0xc7)),_0x370da3()),(_0x1c683d===_0x4244e9(0xd7)||_0x1c683d==='node_modules')&&(!path[_0x4244e9(0xc0)](_0x385d02)['startsWith'](path['resolve'](_0x13a723))&&_0x370da3());}),_0x37941c['on'](_0x4a045e(0xc2),_0x1679c9=>{const _0x1e4aa1=_0x4a045e;_0x4a6856[_0x1e4aa1(0xc5)](_0x1679c9)&&_0x335e7d[_0x1e4aa1(0xed)](_0x1679c9);}),_0x37941c['on'](_0x4a045e(0xc3),()=>{_0x12c347?_0x49fd37(_0x12c347):_0x511779();});});}async[a22_0x3ecb37(0xbb)](_0x4d3455,_0x1f0653){return new Promise((_0x21c15f,_0x2aace8)=>{const _0x2945a8=a22_0x1fc2,_0x45652e=fs[_0x2945a8(0xcf)](_0x4d3455);_0x45652e['on']('error',_0x3b5fa6=>{_0x2aace8(_0x3b5fa6);}),_0x45652e['on']('open',()=>{const _0x569e0d=_0x2945a8;let _0x319ab2;_0x1f0653&&(_0x319ab2=crypto[_0x569e0d(0xbf)](_0x569e0d(0xbe)));let _0x405f7c=0x0,_0x24454d;const _0x4e3529=_0x45652e['pipe'](split());_0x4e3529['on'](_0x569e0d(0xdf),_0x3a78cf=>{_0x24454d=_0x3a78cf;}),_0x4e3529['on'](_0x569e0d(0xd1),_0x34e673=>{const _0x573212=_0x569e0d;_0x1f0653&&_0x319ab2[_0x573212(0xe0)](_0x34e673),_0x405f7c++;}),_0x4e3529['on'](_0x569e0d(0xc3),()=>{const _0x49ae8a=_0x569e0d;if(_0x24454d)_0x2aace8(_0x24454d);else{const _0x3958aa=_0x1f0653?_0x319ab2[_0x49ae8a(0xda)](_0x49ae8a(0xd9)):undefined;_0x21c15f({'hash':_0x3958aa,'lines':_0x405f7c});}});});});}}function a22_0x1fc2(_0x231dc8,_0x195953){const _0x317bfe=a22_0x2c2d();return a22_0x1fc2=function(_0x520ad9,_0x5df7b3){_0x520ad9=_0x520ad9-0xb4;let _0x2c2ddd=_0x317bfe[_0x520ad9];return _0x2c2ddd;},a22_0x1fc2(_0x231dc8,_0x195953);}exports[a22_0x3ecb37(0xe9)]=Scanner;const findit=require(a22_0x3ecb37(0xf1)),split=require(a22_0x3ecb37(0xbc));
1
+ const a22_0x569c61=a22_0x4bbb;(function(_0x1feb40,_0x34be01){const _0x26e52d=a22_0x4bbb,_0x3d0cd6=_0x1feb40();while(!![]){try{const _0x4bba25=parseInt(_0x26e52d(0x99))/0x1+parseInt(_0x26e52d(0x7a))/0x2*(-parseInt(_0x26e52d(0x79))/0x3)+parseInt(_0x26e52d(0x9f))/0x4*(parseInt(_0x26e52d(0x68))/0x5)+parseInt(_0x26e52d(0x7d))/0x6+-parseInt(_0x26e52d(0x90))/0x7*(parseInt(_0x26e52d(0x6c))/0x8)+parseInt(_0x26e52d(0x73))/0x9*(parseInt(_0x26e52d(0x75))/0xa)+parseInt(_0x26e52d(0x85))/0xb*(-parseInt(_0x26e52d(0x77))/0xc);if(_0x4bba25===_0x34be01)break;else _0x3d0cd6['push'](_0x3d0cd6['shift']());}catch(_0x12e90d){_0x3d0cd6['push'](_0x3d0cd6['shift']());}}}(a22_0x4cbf,0x44153));const a22_0x2b120b=(function(){let _0x2b68aa=!![];return function(_0x44f881,_0x57b27e){const _0x2a7c3c=_0x2b68aa?function(){if(_0x57b27e){const _0x1fd717=_0x57b27e['apply'](_0x44f881,arguments);return _0x57b27e=null,_0x1fd717;}}:function(){};return _0x2b68aa=![],_0x2a7c3c;};}()),a22_0x1e4b72=a22_0x2b120b(this,function(){const _0x28aab7=a22_0x4bbb;return a22_0x1e4b72[_0x28aab7(0x78)]()[_0x28aab7(0x98)](_0x28aab7(0x89))[_0x28aab7(0x78)]()[_0x28aab7(0x88)](a22_0x1e4b72)[_0x28aab7(0x98)](_0x28aab7(0x89));});a22_0x1e4b72();'use strict';function a22_0x4bbb(_0x1116f4,_0x3ae7b5){const _0x5d2e30=a22_0x4cbf();return a22_0x4bbb=function(_0x1e4b72,_0x2b120b){_0x1e4b72=_0x1e4b72-0x65;let _0x4cbfdc=_0x5d2e30[_0x1e4b72];return _0x4cbfdc;},a22_0x4bbb(_0x1116f4,_0x3ae7b5);}Object[a22_0x569c61(0xa3)](exports,a22_0x569c61(0x7c),{'value':!![]}),exports[a22_0x569c61(0x65)]=void 0x0;const crypto=require(a22_0x569c61(0xa4)),fs=require('fs'),path=require('path'),scan_results_1=require(a22_0x569c61(0x71));function a22_0x4cbf(){const _0x1fad35=['Indexing\x20files\x20in\x20','addFilesFromDir','3557081QUpGeV','set','pipe','constructor','(((.+)+)+)+$','ScanResultsImpl','logger','add','R_OK','startsWith','push','28ZMWySf','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','end','update','findit2','data','createHash','split','search','417518TeIMiw','sort','info','basename','directory','.git','4YNCpfX','test','file','accessSync','defineProperty','crypto','statsForFile','Scanner','join','error','1039295WUBeeW','hash','sha1','createReadStream','141128ZqrRww','resolve','digest','hex','computeStats','./scan-results','can\x27t\x20access\x20path:\x20[','153gAlBZi','open','64820fCsVKZ','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','24RzYExM','toString','12CuzSaW','47782qXANeY','warn','__esModule','2136996SVlmIN','scan','from','node_modules','findFiles','Specified\x20extraPaths\x20does\x20not\x20exist!'];a22_0x4cbf=function(){return _0x1fad35;};return a22_0x4cbf();}class Scanner{constructor(_0x38314d){this['logger']=_0x38314d;}async[a22_0x569c61(0x7e)](_0x7c282c,_0x58f151,_0x39afcb,_0x83ba23){const _0x16de19=a22_0x569c61,_0x46a902=await this[_0x16de19(0x81)](_0x7c282c,_0x58f151,_0x83ba23);return this[_0x16de19(0x70)](_0x46a902,_0x39afcb);}async['computeStats'](_0x753b40,_0xe23dd0){const _0x434e0b=a22_0x569c61;if(_0x753b40['length']===0x0)return new scan_results_1[(_0x434e0b(0x8a))]({},new Map(),'EMPTY-no-js-files');const _0x5eaad5=[],_0x24c94d={},_0x30f384=new Map();for(const _0x4a8c12 of _0x753b40){try{const _0x33dc8f=await this[_0x434e0b(0xa5)](_0x4a8c12,!_0xe23dd0);!_0xe23dd0&&_0x5eaad5[_0x434e0b(0x8f)](_0x33dc8f[_0x434e0b(0x69)]),_0x24c94d[_0x4a8c12]=_0x33dc8f;}catch(_0x644cfe){_0x30f384[_0x434e0b(0x86)](_0x4a8c12,_0x644cfe);}}let _0x54952e;if(!_0xe23dd0){const _0x3ac5b1=_0x5eaad5[_0x434e0b(0x9a)]()[_0x434e0b(0x66)](),_0x3dbc72=crypto[_0x434e0b(0x96)](_0x434e0b(0x6a))[_0x434e0b(0x93)](_0x3ac5b1)[_0x434e0b(0x6e)]('hex');_0x54952e='SHA1-'+_0x3dbc72;}else _0x54952e=_0xe23dd0;return new scan_results_1[(_0x434e0b(0x8a))](_0x24c94d,_0x30f384,_0x54952e);}async[a22_0x569c61(0x81)](_0x2ee871,_0x16c8a6,_0x466afc){const _0x68521=a22_0x569c61,_0x4a8ceb=new Set();await this[_0x68521(0x84)](_0x4a8ceb,_0x2ee871,_0x16c8a6);for(const _0x324801 of _0x466afc??[]){if(_0x324801){const _0x407da7=path[_0x68521(0x6d)](_0x324801);try{await this[_0x68521(0x84)](_0x4a8ceb,_0x407da7,_0x16c8a6);}catch(_0x32453a){this[_0x68521(0x8b)]['error'](_0x68521(0x82),_0x32453a);}}}return Array[_0x68521(0x7f)](_0x4a8ceb);}static['hasReadAccess'](_0x54bfb6){const _0x2e9972=a22_0x569c61;try{return fs[_0x2e9972(0xa2)](_0x54bfb6,fs['constants'][_0x2e9972(0x8d)]),!![];}catch{return![];}}async[a22_0x569c61(0x84)](_0x28fbf4,_0x1a45cb,_0x2f0771){return new Promise((_0x5e1627,_0x313621)=>{const _0x4dafd8=a22_0x4bbb;let _0x8f555a;if(!_0x1a45cb){_0x313621(new Error(_0x4dafd8(0x76)));return;}this[_0x4dafd8(0x8b)][_0x4dafd8(0x9b)](_0x4dafd8(0x83)+path[_0x4dafd8(0x6d)](_0x1a45cb));const _0x8149b5=findit(_0x1a45cb);_0x8149b5['on'](_0x4dafd8(0x67),_0x4d75e9=>{_0x8f555a=_0x4d75e9;return;}),_0x8149b5['on'](_0x4dafd8(0x9d),(_0x2b289a,_0x338a3b,_0x4257e0)=>{const _0x2797e5=_0x4dafd8,_0x33e435=path[_0x2797e5(0x9c)](_0x2b289a);!Scanner['hasReadAccess'](_0x2b289a)&&(this[_0x2797e5(0x8b)][_0x2797e5(0x7b)](_0x2797e5(0x72)+_0x2b289a+_0x2797e5(0x91)),_0x4257e0()),(_0x33e435===_0x2797e5(0x9e)||_0x33e435===_0x2797e5(0x80))&&(!path['resolve'](_0x1a45cb)[_0x2797e5(0x8e)](path['resolve'](_0x2b289a))&&_0x4257e0());}),_0x8149b5['on'](_0x4dafd8(0xa1),_0x245dd9=>{const _0x499884=_0x4dafd8;_0x2f0771[_0x499884(0xa0)](_0x245dd9)&&_0x28fbf4[_0x499884(0x8c)](_0x245dd9);}),_0x8149b5['on'](_0x4dafd8(0x92),()=>{_0x8f555a?_0x313621(_0x8f555a):_0x5e1627();});});}async[a22_0x569c61(0xa5)](_0x3115ba,_0x450816){return new Promise((_0x495210,_0x237286)=>{const _0x15cbe0=a22_0x4bbb,_0x298ed8=fs[_0x15cbe0(0x6b)](_0x3115ba);_0x298ed8['on'](_0x15cbe0(0x67),_0x2d0c56=>{_0x237286(_0x2d0c56);}),_0x298ed8['on'](_0x15cbe0(0x74),()=>{const _0x6a19b7=_0x15cbe0;let _0x2f885;_0x450816&&(_0x2f885=crypto[_0x6a19b7(0x96)]('sha1'));let _0x559d2a=0x0,_0x5696ed;const _0x33abb1=_0x298ed8[_0x6a19b7(0x87)](split());_0x33abb1['on'](_0x6a19b7(0x67),_0x4cf166=>{_0x5696ed=_0x4cf166;}),_0x33abb1['on'](_0x6a19b7(0x95),_0x11aeeb=>{_0x450816&&_0x2f885['update'](_0x11aeeb),_0x559d2a++;}),_0x33abb1['on'](_0x6a19b7(0x92),()=>{const _0x50bc76=_0x6a19b7;if(_0x5696ed)_0x237286(_0x5696ed);else{const _0x340873=_0x450816?_0x2f885[_0x50bc76(0x6e)](_0x50bc76(0x6f)):undefined;_0x495210({'hash':_0x340873,'lines':_0x559d2a});}});});});}}exports[a22_0x569c61(0x65)]=Scanner;const findit=require(a22_0x569c61(0x94)),split=require(a22_0x569c61(0x97));