lightrun 1.85.0 → 1.86.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 +1 -1
@@ -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_0x37f010=a15_0x4e21;(function(_0x48009d,_0x4aba0d){const _0x3c8407=a15_0x4e21,_0x1c050f=_0x48009d();while(!![]){try{const _0x4b7f41=-parseInt(_0x3c8407(0xb2))/0x1+-parseInt(_0x3c8407(0xb5))/0x2*(-parseInt(_0x3c8407(0xa7))/0x3)+-parseInt(_0x3c8407(0xa6))/0x4*(-parseInt(_0x3c8407(0xa9))/0x5)+parseInt(_0x3c8407(0xb0))/0x6*(parseInt(_0x3c8407(0xad))/0x7)+-parseInt(_0x3c8407(0xab))/0x8+parseInt(_0x3c8407(0xaf))/0x9*(parseInt(_0x3c8407(0xac))/0xa)+parseInt(_0x3c8407(0xa8))/0xb;if(_0x4b7f41===_0x4aba0d)break;else _0x1c050f['push'](_0x1c050f['shift']());}catch(_0x4a5bad){_0x1c050f['push'](_0x1c050f['shift']());}}}(a15_0x40e5,0x2b5bb));const a15_0xb7ffc3=(function(){let _0x4193f3=!![];return function(_0x553fc6,_0xaa7059){const _0x44985e=_0x4193f3?function(){const _0x2d5118=a15_0x4e21;if(_0xaa7059){const _0x15da80=_0xaa7059[_0x2d5118(0xaa)](_0x553fc6,arguments);return _0xaa7059=null,_0x15da80;}}:function(){};return _0x4193f3=![],_0x44985e;};}()),a15_0x5afe8f=a15_0xb7ffc3(this,function(){const _0x1947c3=a15_0x4e21;return a15_0x5afe8f[_0x1947c3(0xb1)]()[_0x1947c3(0xb3)]('(((.+)+)+)+$')['toString']()['constructor'](a15_0x5afe8f)['search']('(((.+)+)+)+$');});a15_0x5afe8f();'use strict';function a15_0x40e5(){const _0x412ba7=['20SysXSB','apply','2695072dxPQsH','1045110KiDYeM','7QHbcRo','push','9ladAhR','597738NgWbtl','toString','64366GeabbV','search','defineProperty','2SbhnZw','mapSubtract','206240UjNaXR','1032MurTcS','1849397ZzUKDp'];a15_0x40e5=function(){return _0x412ba7;};return a15_0x40e5();}Object[a15_0x37f010(0xb4)](exports,'__esModule',{'value':!![]}),exports[a15_0x37f010(0xb6)]=void 0x0;const mapSubtract=(_0x1c3db1,_0x3e87d0)=>{const _0x40eba9=a15_0x37f010,_0x2ace3c=[];for(const _0x5df700 in _0x1c3db1){!_0x3e87d0[_0x5df700]&&_0x2ace3c[_0x40eba9(0xae)](_0x1c3db1[_0x5df700]);}return _0x2ace3c;};function a15_0x4e21(_0x245cd4,_0x1b4bc5){const _0x38de61=a15_0x40e5();return a15_0x4e21=function(_0x5afe8f,_0xb7ffc3){_0x5afe8f=_0x5afe8f-0xa6;let _0x40e5c0=_0x38de61[_0x5afe8f];return _0x40e5c0;},a15_0x4e21(_0x245cd4,_0x1b4bc5);}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_0x45272d=a16_0x131c;(function(_0x4ceeb7,_0x1316a7){const _0x185c4f=a16_0x131c,_0x3989ad=_0x4ceeb7();while(!![]){try{const _0x2815a2=-parseInt(_0x185c4f(0xef))/0x1+parseInt(_0x185c4f(0x108))/0x2*(-parseInt(_0x185c4f(0x11d))/0x3)+-parseInt(_0x185c4f(0xe4))/0x4+-parseInt(_0x185c4f(0x119))/0x5*(-parseInt(_0x185c4f(0xfe))/0x6)+-parseInt(_0x185c4f(0xed))/0x7+parseInt(_0x185c4f(0xe6))/0x8+-parseInt(_0x185c4f(0xe8))/0x9*(-parseInt(_0x185c4f(0xf6))/0xa);if(_0x2815a2===_0x1316a7)break;else _0x3989ad['push'](_0x3989ad['shift']());}catch(_0x1c2a98){_0x3989ad['push'](_0x3989ad['shift']());}}}(a16_0xd3b2,0xd6f7f));const a16_0x475365=(function(){let _0x16da27=!![];return function(_0x35e375,_0x23925a){const _0x1bf871=_0x16da27?function(){const _0x1a5c61=a16_0x131c;if(_0x23925a){const _0x1edad1=_0x23925a[_0x1a5c61(0xf9)](_0x35e375,arguments);return _0x23925a=null,_0x1edad1;}}:function(){};return _0x16da27=![],_0x1bf871;};}()),a16_0x44493a=a16_0x475365(this,function(){const _0xb78f02=a16_0x131c;return a16_0x44493a[_0xb78f02(0x113)]()[_0xb78f02(0x10c)](_0xb78f02(0x101))[_0xb78f02(0x113)]()[_0xb78f02(0x106)](a16_0x44493a)[_0xb78f02(0x10c)]('(((.+)+)+)+$');});a16_0x44493a();'use strict';Object['defineProperty'](exports,a16_0x45272d(0xdd),{'value':!![]}),exports[a16_0x45272d(0xe2)]=exports['validateConfig']=void 0x0;function a16_0x131c(_0x28d093,_0x4cfd8e){const _0x41fc5d=a16_0xd3b2();return a16_0x131c=function(_0x44493a,_0x475365){_0x44493a=_0x44493a-0xdd;let _0xd3b27d=_0x41fc5d[_0x44493a];return _0xd3b27d;},a16_0x131c(_0x28d093,_0x4cfd8e);}const extend=require(a16_0x45272d(0x10b)),config_1=require(a16_0x45272d(0x102)),utils_1=require(a16_0x45272d(0xf7)),getAgentConfig_1=require('./getAgentConfig'),limitConfig_1=require(a16_0x45272d(0x11e)),validateConfig=_0x4100ce=>{const _0x5df66e=a16_0x45272d,_0x4c9175={};try{config_1[_0x5df66e(0x114)][_0x5df66e(0xfd)](_0x4100ce,{'abortEarly':![]});}catch(_0x2643ad){_0x2643ad['inner']['filter'](_0x27ca71=>_0x27ca71['path']&&_0x27ca71[_0x5df66e(0xf5)])[_0x5df66e(0xeb)](_0x11f43f=>{const _0x19e682=_0x5df66e;_0x4c9175[_0x11f43f[_0x19e682(0x11b)]]=_0x11f43f[_0x19e682(0xf5)];});}return _0x4c9175;};exports[a16_0x45272d(0xf3)]=validateConfig;const normalizeConfig=_0x183c88=>{const _0x581d35=a16_0x45272d,_0x1a6adb={'serviceContext':{'service':process[_0x581d35(0xfc)]['GAE_SERVICE']??process[_0x581d35(0xfc)][_0x581d35(0xff)]??process[_0x581d35(0xfc)][_0x581d35(0x116)],'version':process[_0x581d35(0xfc)][_0x581d35(0xe7)]??process[_0x581d35(0xfc)][_0x581d35(0x107)]??process[_0x581d35(0xfc)][_0x581d35(0x103)],'minorVersion_':process['env'][_0x581d35(0x11a)]??process[_0x581d35(0xfc)]['GAE_MINOR_VERSION']},'metadata':{'filename':process[_0x581d35(0xfc)][_0x581d35(0x10a)],'registration':{}},'lightrunSecret':process[_0x581d35(0xfc)][_0x581d35(0x120)],'apiEndpoint':process['env'][_0x581d35(0x10e)],'noCheckCertificate':(0x0,utils_1[_0x581d35(0x115)])(process['env'][_0x581d35(0x105)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x581d35(0x115)])(process[_0x581d35(0xfc)][_0x581d35(0xf1)]),'lightrunWaitForInit':(0x0,utils_1[_0x581d35(0x115)])(process[_0x581d35(0xfc)][_0x581d35(0x10f)]),'lightrunInitWaitTimeMs':process[_0x581d35(0xfc)][_0x581d35(0xee)],'agentLog':_0x183c88?.['agentLog']??{},'proxy':{'host':process[_0x581d35(0xfc)][_0x581d35(0x111)],'port':parseInt(process['env'][_0x581d35(0x104)]??'')||undefined,'username':process[_0x581d35(0xfc)][_0x581d35(0x11c)],'password':process[_0x581d35(0xfc)][_0x581d35(0x121)]}};process[_0x581d35(0xfc)][_0x581d35(0x100)]!==undefined&&(_0x1a6adb['agentLog'][_0x581d35(0xf2)]=process[_0x581d35(0xfc)][_0x581d35(0x100)]);process['env'][_0x581d35(0xf4)]!==undefined&&(_0x1a6adb['agentLog'][_0x581d35(0xde)]=process[_0x581d35(0xfc)][_0x581d35(0xf4)]);process[_0x581d35(0xfc)][_0x581d35(0xea)]!==undefined&&(_0x1a6adb[_0x581d35(0xe0)][_0x581d35(0x112)]=process['env'][_0x581d35(0xea)]);process[_0x581d35(0xfc)]['AGENT_LOG_MAX_FILE_COUNT']!==undefined&&(_0x1a6adb[_0x581d35(0xe0)]['agentLogMaxFileCount']=parseInt(process[_0x581d35(0xfc)][_0x581d35(0x110)]));process['env'][_0x581d35(0xec)]!==undefined&&(_0x1a6adb['agentLog'][_0x581d35(0x118)]=parseInt(process['env'][_0x581d35(0xec)]));process[_0x581d35(0xfc)]['FUNCTION_NAME']&&(_0x1a6adb[_0x581d35(0xf8)][_0x581d35(0xfb)]=process[_0x581d35(0xfc)][_0x581d35(0xe3)],_0x1a6adb[_0x581d35(0xf8)][_0x581d35(0x11f)]='unversioned');process['env'][_0x581d35(0xf0)]&&(_0x1a6adb[_0x581d35(0xe5)][_0x581d35(0xfa)]={'tags':process[_0x581d35(0xfc)][_0x581d35(0xf0)][_0x581d35(0x10d)](',')});const _0x49fee6=(0x0,getAgentConfig_1[_0x581d35(0x117)])(process['env'][_0x581d35(0xe9)]??_0x183c88?.[_0x581d35(0xdf)]??config_1[_0x581d35(0xe1)][_0x581d35(0xdf)]),_0xb508b6=(0x0,limitConfig_1[_0x581d35(0x109)])(extend(!![],{},config_1[_0x581d35(0xe1)],_0x49fee6,_0x183c88,_0x1a6adb)),_0x201448=(0x0,exports[_0x581d35(0xf3)])(_0xb508b6);return{..._0xb508b6,'errors':_0x201448};};function a16_0xd3b2(){const _0x3f6592=['15UBKkDa','GAE_DEPLOYMENT_ID','path','LIGHTRUN_PROXY_USERNAME','48fTpVdI','./limitConfig','version','LIGHTRUN_SECRET','LIGHTRUN_PROXY_PASSWORD','__esModule','agentLogLevel','agentConfigFile','agentLog','defaultConfig','normalizeConfig','FUNCTION_NAME','2172348uodlPq','metadata','1289608SXfbCi','GAE_VERSION','18wpYtRw','LIGHTRUN_AGENT_CONFIG','AGENT_LOG_TARGET_DIR','forEach','AGENT_LOG_MAX_FILE_SIZE_MB','5469352LuPeoS','LIGHTRUN_INIT_WAIT_TIME_MS','1533847EDCDhV','LIGHTRUN_TAGS','FETCH_BREAKPOINTS_ONCE','stdErrThreshold','validateConfig','AGENT_LOG_LEVEL','message','22902530UVSMiP','../util/utils','serviceContext','apply','registration','service','env','validateSync','541380ghTVcO','GAE_MODULE_NAME','LIGHTRUN_STD_ERR_THRESHOLD','(((.+)+)+)+$','../config','K_REVISION','LIGHTRUN_PROXY_PORT','NO_CHECK_CERTIFICATE','constructor','GAE_MODULE_VERSION','159202CnkwNw','limitConfig','LIGHTRUN_METADATA_FILE','extend','search','split','LIGHTRUN_API_ENDPOINT','LIGHTRUN_WAIT_FOR_INIT','AGENT_LOG_MAX_FILE_COUNT','LIGHTRUN_PROXY_HOST','agentLogTargetDir','toString','configSchema','getBooleanValue','K_SERVICE','getAgentConfig','agentLogMaxFileSizeMb'];a16_0xd3b2=function(){return _0x3f6592;};return a16_0xd3b2();}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
+ const a17_0x2b0b0c=a17_0x8e30;(function(_0x1b994c,_0x847ce4){const _0x4e80d6=a17_0x8e30,_0x228e49=_0x1b994c();while(!![]){try{const _0x1d609c=parseInt(_0x4e80d6(0x1c3))/0x1*(parseInt(_0x4e80d6(0x1c0))/0x2)+parseInt(_0x4e80d6(0x1cd))/0x3+parseInt(_0x4e80d6(0x1bc))/0x4*(parseInt(_0x4e80d6(0x1c8))/0x5)+parseInt(_0x4e80d6(0x1be))/0x6*(parseInt(_0x4e80d6(0x1c4))/0x7)+parseInt(_0x4e80d6(0x1ce))/0x8*(parseInt(_0x4e80d6(0x1bf))/0x9)+-parseInt(_0x4e80d6(0x1cc))/0xa*(parseInt(_0x4e80d6(0x1bd))/0xb)+-parseInt(_0x4e80d6(0x1ca))/0xc;if(_0x1d609c===_0x847ce4)break;else _0x228e49['push'](_0x228e49['shift']());}catch(_0x331396){_0x228e49['push'](_0x228e49['shift']());}}}(a17_0x8809,0xab651));const a17_0x55ba6d=(function(){let _0x3ffd7b=!![];return function(_0xe0fb81,_0x2a1677){const _0xabf7b9=_0x3ffd7b?function(){if(_0x2a1677){const _0x41e0d7=_0x2a1677['apply'](_0xe0fb81,arguments);return _0x2a1677=null,_0x41e0d7;}}:function(){};return _0x3ffd7b=![],_0xabf7b9;};}()),a17_0x9a35de=a17_0x55ba6d(this,function(){const _0x58c33d=a17_0x8e30;return a17_0x9a35de[_0x58c33d(0x1cf)]()['search'](_0x58c33d(0x1d1))[_0x58c33d(0x1cf)]()[_0x58c33d(0x1c7)](a17_0x9a35de)[_0x58c33d(0x1c6)](_0x58c33d(0x1d1));});a17_0x9a35de();'use strict';Object[a17_0x2b0b0c(0x1c2)](exports,a17_0x2b0b0c(0x1cb),{'value':!![]}),exports[a17_0x2b0b0c(0x1c1)]=void 0x0;function a17_0x8e30(_0x285ee1,_0x31af21){const _0x3b5858=a17_0x8809();return a17_0x8e30=function(_0x9a35de,_0x55ba6d){_0x9a35de=_0x9a35de-0x1bc;let _0x88091=_0x3b5858[_0x9a35de];return _0x88091;},a17_0x8e30(_0x285ee1,_0x31af21);}const delimit_1=require(a17_0x2b0b0c(0x1d0)),tokenize=(_0x4a0522,_0x3abf8e)=>{const _0x57b6a1=a17_0x2b0b0c;let _0xeee6bd=(0x0,delimit_1[_0x57b6a1(0x1c5)])(_0x4a0522,'$$');for(let _0x560e91=_0x3abf8e-0x1;_0x560e91>=0x0;_0x560e91--){const _0x65230b=[];for(const _0x11fef4 of _0xeee6bd){_0x11fef4['v']?_0x65230b[_0x57b6a1(0x1c9)](_0x11fef4):_0x65230b['push'](...(0x0,delimit_1[_0x57b6a1(0x1c5)])(_0x11fef4,'$'+_0x560e91));}_0xeee6bd=_0x65230b;}return _0xeee6bd;};function a17_0x8809(){const _0x29c79a=['search','constructor','10nNAWLp','push','18841836yuNLCr','__esModule','1848570BwWirU','3698880MsiZpH','1321000FMZgBD','toString','./delimit','(((.+)+)+)+$','727448xOhExD','77uBpAcq','6GPbNTo','18NKKJSO','526244GeKYSR','tokenize','defineProperty','5PgaPOF','2265487LDZsYn','delimit'];a17_0x8809=function(){return _0x29c79a;};return a17_0x8809();}exports[a17_0x2b0b0c(0x1c1)]=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_0x2f992b=a18_0x3410;(function(_0x3550dc,_0x3970e6){const _0x38bd1c=a18_0x3410,_0x26a1dd=_0x3550dc();while(!![]){try{const _0x1775fb=parseInt(_0x38bd1c(0x9c))/0x1+parseInt(_0x38bd1c(0x149))/0x2+-parseInt(_0x38bd1c(0xc3))/0x3+-parseInt(_0x38bd1c(0x177))/0x4+parseInt(_0x38bd1c(0x146))/0x5+parseInt(_0x38bd1c(0x112))/0x6+parseInt(_0x38bd1c(0x17c))/0x7*(-parseInt(_0x38bd1c(0xfe))/0x8);if(_0x1775fb===_0x3970e6)break;else _0x26a1dd['push'](_0x26a1dd['shift']());}catch(_0x988412){_0x26a1dd['push'](_0x26a1dd['shift']());}}}(a18_0x2797,0x2df90));const a18_0xeedf1d=(function(){let _0x5f3561=!![];return function(_0x367869,_0x1eb189){const _0x48a84b=_0x5f3561?function(){const _0x3d881c=a18_0x3410;if(_0x1eb189){const _0x2ab2e0=_0x1eb189[_0x3d881c(0x144)](_0x367869,arguments);return _0x1eb189=null,_0x2ab2e0;}}:function(){};return _0x5f3561=![],_0x48a84b;};}()),a18_0x4428bd=a18_0xeedf1d(this,function(){const _0x154f1f=a18_0x3410;return a18_0x4428bd['toString']()[_0x154f1f(0xf5)](_0x154f1f(0xe4))['toString']()[_0x154f1f(0xf7)](a18_0x4428bd)['search']('(((.+)+)+)+$');});a18_0x4428bd();'use strict';var __classPrivateFieldSet=this&&this[a18_0x2f992b(0x101)]||function(_0x1eae32,_0x25045a,_0x5e7fb3,_0x30c5a5,_0x536e99){const _0x25918e=a18_0x2f992b;if(_0x30c5a5==='m')throw new TypeError(_0x25918e(0xfa));if(_0x30c5a5==='a'&&!_0x536e99)throw new TypeError(_0x25918e(0x100));if(typeof _0x25045a===_0x25918e(0xb4)?_0x1eae32!==_0x25045a||!_0x536e99:!_0x25045a['has'](_0x1eae32))throw new TypeError(_0x25918e(0x11e));return _0x30c5a5==='a'?_0x536e99[_0x25918e(0x135)](_0x1eae32,_0x5e7fb3):_0x536e99?_0x536e99[_0x25918e(0x150)]=_0x5e7fb3:_0x25045a['set'](_0x1eae32,_0x5e7fb3),_0x5e7fb3;},__classPrivateFieldGet=this&&this[a18_0x2f992b(0x17a)]||function(_0xb44d2b,_0x1dfba1,_0x567301,_0x3aaee3){const _0x19aeac=a18_0x2f992b;if(_0x567301==='a'&&!_0x3aaee3)throw new TypeError(_0x19aeac(0xbe));if(typeof _0x1dfba1===_0x19aeac(0xb4)?_0xb44d2b!==_0x1dfba1||!_0x3aaee3:!_0x1dfba1[_0x19aeac(0x16e)](_0xb44d2b))throw new TypeError(_0x19aeac(0xe9));return _0x567301==='m'?_0x3aaee3:_0x567301==='a'?_0x3aaee3[_0x19aeac(0x135)](_0xb44d2b):_0x3aaee3?_0x3aaee3[_0x19aeac(0x150)]:_0x1dfba1[_0x19aeac(0xcf)](_0xb44d2b);},_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_0x2f992b(0x10e)](exports,a18_0x2f992b(0xb8),{'value':!![]}),exports[a18_0x2f992b(0x184)]=exports[a18_0x2f992b(0x18e)]=void 0x0;const assert=require(a18_0x2f992b(0xd9)),events_1=require(a18_0x2f992b(0x111)),extend=require(a18_0x2f992b(0x136)),fs=require('fs'),path=require(a18_0x2f992b(0xa0)),util=require(a18_0x2f992b(0x194)),status_message_1=require(a18_0x2f992b(0x99)),stackdriver_1=require(a18_0x2f992b(0xc9)),agent_logger_1=require(a18_0x2f992b(0x18c)),patterns_blocklist_manager_1=require(a18_0x2f992b(0x9f)),config_1=require(a18_0x2f992b(0x17e)),configuration_provider_1=require('./configuration-provider'),controller_1=require('./controller'),createDebuggee_1=require('./debuglet-helpers/createDebuggee'),format_1=require(a18_0x2f992b(0xaf)),mapSubtract_1=require(a18_0x2f992b(0x95)),normalizeConfig_1=require(a18_0x2f992b(0x10a)),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a18_0x2f992b(0xa2)),scanner_1=require(a18_0x2f992b(0xde)),SourceMapper=require(a18_0x2f992b(0xac)),piping_manager_1=require('./piping-manager'),quota_manager_1=require(a18_0x2f992b(0x123)),redaction_manager_1=require(a18_0x2f992b(0x1a0)),utils_1=require(a18_0x2f992b(0xb2)),debugapi=require(a18_0x2f992b(0x18b)),redaction_manager_re2js_1=require(a18_0x2f992b(0x137)),readFilep=util[a18_0x2f992b(0xe3)](fs[a18_0x2f992b(0x140)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0xcc4e8f,_0x4fe160)=>{const _0x214894=a18_0x2f992b;let _0x422e1c=_0xcc4e8f+util[_0x214894(0x19a)](_0x214894(0x187),_0x4fe160['id'],_0x4fe160[_0x214894(0xab)],util[_0x214894(0x163)](_0x4fe160[_0x214894(0xf2)]));if(_0x4fe160[_0x214894(0x15e)]){const _0x5bdfcb=Number(_0x4fe160[_0x214894(0x15e)]['seconds']),_0x1112ef=new Date(_0x5bdfcb*0x3e8);_0x422e1c+=_0x214894(0x10b)+_0x1112ef[_0x214894(0x191)]();}return _0x4fe160[_0x214894(0x107)]&&(_0x422e1c+=_0x214894(0x182)+util['inspect'](_0x4fe160[_0x214894(0x107)])),_0x4fe160[_0x214894(0xa8)]&&(_0x422e1c+=_0x214894(0x165)+util['inspect'](_0x4fe160[_0x214894(0xa8)])),_0x422e1c;},formatBreakpoints=(_0x5168ad,_0x19b7bc)=>_0x5168ad+Object[a18_0x2f992b(0x168)](_0x19b7bc)['map'](_0x44d82f=>formatBreakpoint('',_0x19b7bc[_0x44d82f]))[a18_0x2f992b(0x13e)]('\x0a');class CachedPromise{constructor(){const _0x334770=a18_0x2f992b;this[_0x334770(0xe5)]=null,this[_0x334770(0x10f)]=new Promise(_0x3b1d02=>{this['promiseResolve']=_0x3b1d02;});}[a18_0x2f992b(0xcf)](){const _0xf3baeb=a18_0x2f992b;return this[_0xf3baeb(0x10f)];}[a18_0x2f992b(0xad)](){const _0x4d8759=a18_0x2f992b;this['promiseResolve']&&(this[_0x4d8759(0xe5)](),this[_0x4d8759(0xe5)]=null);}}function a18_0x2797(){const _0x7eefc4=['.\x20message:\x20','error','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','internal','getRedactions','stop','LOGPOINT:\x20','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','\x20because\x20','map','normalizeConfig','add','./quota-manager','mapSubtract','selectStats','create','ignoreQuota','readFullVersion','sourceMapDiagnostics','Scheduling\x20registration\x20in\x20','LOG','BREAKPOINT_ACTION_MESSAGE','filename','sep','object','pipeLogs','waitForBreakpoints','deregister','normalize','logger','call','extend','./reduction/redaction-manager-re2js','scan','StatusMessage','clear','utf8','unref','initError','join','blacklist_exception','readFile','isReady','enable','getProps','apply','length','1274090ZSojoS','started','stopped','684154dhGKBR','agentLogMaxFileCount','Blacklist\x20Exceptions:\x20\x0a\x09','default','filter','\x20caseInsensitive:\x20','removeBreakpoint','value','sendAgentLogsToServer','removeListener','globalPipingStatus','enqueueBreakpointUpdate','Expiring\x20breakpoint\x20id\x20','stringify','agentLog','activeBreakpointMap','quotaRecoverySeconds','waitExpired','createDebuggee','undefined','Error\x20processing\x20the\x20sourcemaps.','createTime','isReadyManager','\x09Long\x20poll\x20completed.','hash','reporting\x20breakpoint\x20','inspect','fetcherActive','\x0a\x09expressions:\x20','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','backoff','keys','env','breakpoints_fetched','register\x20debuggee','packageInfo','\x09Notifying\x20server\x20about\x20error\x20for\x20','has','js.map','type','rejecting\x20breakpoint\x20id\x20','SIGQUIT','remotelyDisabled','isFinalState','registration_failed','selectFiles','677916MsfVcE','config','Disabled\x20by\x20the\x20server','__classPrivateFieldGet','CAPTURE','1813MsDQHI','Found\x20breakpoint\x20with\x20invalid\x20action:','./config','setIgnoreQuota','register','beforeExit','\x0a\x09condition:\x20','Redactions:\x20\x0a\x09','Debuglet','Failed\x20to\x20','setPipingStatus','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','errors','GAE_MINOR_VERSION','now','./v8/debugapi','./agent-logger','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','CachedPromise','remainingHits','DEBUG','toString','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','createLogger','util','Malformed\x20source-context.json\x20file:\x20','javascriptFileExtensions','source-context.json','stdErrThreshold','\x09remove\x20breakpoint\x20id\x20','format','collectAndSendLog','PipingManager','\x20(type:\x20','pid','Blacklist:\x20\x0a\x09','./reduction/redaction-manager','Stopping\x20Debuglet','Scanner','fetchBreakpointsOnce','SIGTERM','split','isRedactionActive','pipingManager','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','existsSync','shouldRedactByName','start','./debuglet-helpers/mapSubtract','debuggee','APP_ONLY','.\x20Error:\x20','../client/stackdriver/status-message','redactionEnabled','log','283023bsdFLD','breakpoints_fetch_registration_required','getClientConnectionTimeoutInSeconds','./blocklisting/patterns-blocklist-manager','path','name:\x20','./io/file-index','stringifyBreakpointForInfoLog','disable','emit','setCustomLogLevel','findFiles','expressions','re-register\x20debuggee\x20','breakpoint_set','action','./io/sourcemapper','resolve','agentLogMaxFileSizeMb','./debuglet-helpers/format','logLevel','isArray','./util/utils','logMainConfigParams','function','expirationTime','isDisabled','caseInsensitive','__esModule','do\x20this.','once','agentLogTargetDir','all','Working\x20directory:\x20','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','FileIndex','):\x20pattern:\x20','cwd','then','743421tTuzJo','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','debug','fromEntries','extraPaths','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','../types/stackdriver','Fetching\x20breakpoints','allowExpressions','RedactionManagerRE2JS','Result:\x20\x0a','set','get','UNSPECIFIED','fromFileStats','createPerBreakpointConditionQuota','getLevel','scheduleBreakpointFetch_\x20','expirationSeconds','quotaCheck','...\x20[truncated]','\x20accepted\x20by\x20agent','assert','Active\x20Breakpoints:\x20\x0a','ConfigurationProvider','collectLogRequestId','bind','./io/scanner','replace','maxRequestRetryDelaySeconds','push','SIGINT','promisify','(((.+)+)+)+$','promiseResolve','jsFileIndex','parameters','parse','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','forEach','message','waitFor','clientConnectionTimeoutInSeconds','mapFiles','info','substring','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','location','description','QuotaManager','search','agentLogLevel','constructor','setPatterns','status','Private\x20method\x20is\x20not\x20writable','breakpoints_fetch_failed','ALLOW_EXPRESSIONS_MESSAGE','isRegistered','18712yPkJgI','PatternsBlocklistManager','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','__classPrivateFieldSet','EnvironmentMetadata','isAtLeastInfo','isRunning','warn','getSourceContextFromFile','condition','Server\x20breakpoints:\x0a','breakpointUpdateIntervalSec','./debuglet-helpers/normalizeConfig','\x0a\x09createdTime:\x20','pattern','GAE-','defineProperty','promise','isLambda','events','1988838FvegMr','setLevel','NOT_SET','.\x20Retrying\x20in\x20','listBreakpoints'];a18_0x2797=function(){return _0x7eefc4;};return a18_0x2797();}function a18_0x3410(_0x6c4210,_0x1a4284){const _0x46b208=a18_0x2797();return a18_0x3410=function(_0x4428bd,_0xeedf1d){_0x4428bd=_0x4428bd-0x95;let _0x279756=_0x46b208[_0x4428bd];return _0x279756;},a18_0x3410(_0x6c4210,_0x1a4284);}exports[a18_0x2f992b(0x18e)]=CachedPromise;class IsReadyImpl{constructor(_0x25fe9e){this['debuglet']=_0x25fe9e;}[a18_0x2f992b(0x141)](){const _0x59a512=a18_0x2f992b;return this['debuglet'][_0x59a512(0x141)]();}}class Debuglet extends events_1['EventEmitter']{constructor(_0x47fffd,_0x49d651){const _0x49b3d4=a18_0x2f992b;super(),_Debuglet_instances[_0x49b3d4(0x122)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_running[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_controller[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_breakpointFetched[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x49b3d4(0xce)](this,null),this[_0x49b3d4(0x15f)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_scanner[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_quotaManager[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_blocklistManager['set'](this,void 0x0),_Debuglet_redactionManager[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_configProvider[_0x49b3d4(0xce)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds[_0x49b3d4(0xce)](this,void 0x0),this[_0x49b3d4(0x178)]=(0x0,normalizeConfig_1[_0x49b3d4(0x121)])(_0x49d651),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x49b3d4(0xdb))](this[_0x49b3d4(0x178)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x47fffd,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x49b3d4(0x164)]=![],this[_0x49b3d4(0x134)]=agent_logger_1['default'][_0x49b3d4(0x193)](this['config']['agentLog'][_0x49b3d4(0xbb)],this[_0x49b3d4(0x178)]['agentLog'][_0x49b3d4(0xae)],this['config'][_0x49b3d4(0x157)][_0x49b3d4(0x14a)],this[_0x49b3d4(0x178)][_0x49b3d4(0x157)][_0x49b3d4(0xf6)],this[_0x49b3d4(0x178)][_0x49b3d4(0x157)][_0x49b3d4(0x198)]),(0x0,config_1[_0x49b3d4(0xb3)])(this[_0x49b3d4(0x178)],this['logger']),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x49b3d4(0x102))](this[_0x49b3d4(0x134)])[_0x49b3d4(0x143)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1['Controller'](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x49b3d4(0x178)],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x49b3d4(0x1a2))](this['logger']),'f'),this[_0x49b3d4(0x96)]=null,this[_0x49b3d4(0x158)]={},__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[(_0x49b3d4(0xf4))](this[_0x49b3d4(0x134)],this[_0x49b3d4(0x178)]),'f'),this[_0x49b3d4(0x1a7)]=new piping_manager_1[(_0x49b3d4(0x19c))](_0x49b3d4(0x97),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x49b3d4(0x178)]);}async['waitForTransmissionQueueDrain'](_0x5ec4dd){return __classPrivateFieldGet(this,_Debuglet_controller,'f')['waitForTransmissionQueueDrain'](_0x5ec4dd);}[a18_0x2f992b(0x9e)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x2f992b(0x131)](_0x4cf910){const _0x36ad04=a18_0x2f992b,_0xc19f6a=0x32;let _0x40de4a=null;const _0x1b91f1=()=>_0x40de4a=!![],_0x186ddf=()=>_0x40de4a=![],_0x197e4f=_0x3b3227=>{if(_0x3b3227)return;_0x1b91f1();};let _0x1de5bc=![];const _0x5d19ee=_0x538c65=>{const _0x1c91e1=a18_0x3410;_0x1de5bc&&_0x186ddf(),_0x1de5bc=!![],this[_0x1c91e1(0x180)]();};this[_0x36ad04(0xba)](_0x36ad04(0x16a),_0x197e4f),this[_0x36ad04(0xba)]('breakpoint_set',_0x1b91f1);this['config']['internal']?.[_0x36ad04(0x110)]&&(this[_0x36ad04(0xba)]('registration_failed',_0x186ddf),this[_0x36ad04(0xba)]('breakpoints_fetch_failed',_0x186ddf),this[_0x36ad04(0xba)](_0x36ad04(0x9d),_0x5d19ee));if(_0x4cf910){const _0x40c8dc=Date[_0x36ad04(0x18a)]();while(_0x40de4a===null&&Date[_0x36ad04(0x18a)]()-_0x40c8dc<_0x4cf910){await(0x0,utils_1[_0x36ad04(0xec)])(_0xc19f6a);}}return this[_0x36ad04(0x152)](_0x36ad04(0x16a),_0x197e4f),this[_0x36ad04(0x152)](_0x36ad04(0xaa),_0x1b91f1),this[_0x36ad04(0x178)][_0x36ad04(0x11a)]?.[_0x36ad04(0x110)]&&(this[_0x36ad04(0x152)](_0x36ad04(0x175),_0x186ddf),this[_0x36ad04(0x152)]('breakpoints_fetch_failed',_0x186ddf),this[_0x36ad04(0x152)]('breakpoints_fetch_registration_required',_0x5d19ee)),_0x40de4a===!![];}[a18_0x2f992b(0x1a3)](){const _0x10a1de=a18_0x2f992b;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x10a1de(0x135)](this,0x0,!![]);}[a18_0x2f992b(0xfd)](){const _0xd8c400=a18_0x2f992b;return this[_0xd8c400(0x96)]?.['id']!==undefined;}async['findFiles'](_0x5d3a6c,_0x33bfe4){const _0x37947c=a18_0x2f992b,_0x136234=_0x5d3a6c['workingDirectory'],_0x4c528e=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x37947c(0x138)](_0x136234,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x37947c(0x135)](_a,_0x5d3a6c['javascriptFileExtensions']['concat'](_0x37947c(0x16f))),_0x33bfe4,_0x5d3a6c[_0x37947c(0xc7)]),_0x37f301=_0x4c528e[_0x37947c(0x125)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x37947c(0x135)](_a,_0x5d3a6c[_0x37947c(0x196)])),_0x17d834=file_index_1[_0x37947c(0xbf)][_0x37947c(0xd1)](_0x37f301),_0x34b017=_0x4c528e[_0x37947c(0x176)](/.js.map$/,process[_0x37947c(0xc1)]()),_0xb07895=_0x4c528e[_0x37947c(0x188)]();return{'mapFiles':_0x34b017,'errors':_0xb07895,'jsFileIndex':_0x17d834,'hash':_0x4c528e[_0x37947c(0x161)]};}async[a18_0x2f992b(0x1ab)](){const _0x50afbb=a18_0x2f992b,_0x37a7b1=this['config']['workingDirectory'];if(!this['config']['allowRootAsWorkingDirectory']&&path[_0x50afbb(0x13e)](_0x37a7b1,'..')===_0x37a7b1){const _0xae2eb6=_0x50afbb(0x1a8)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x50afbb(0xc8)+_0x50afbb(0xb9);this['logger']['error'](_0xae2eb6),this[_0x50afbb(0xa5)](_0x50afbb(0x13d),new Error(_0xae2eb6));return;}let _0x38ad9a;process[_0x50afbb(0x169)][_0x50afbb(0x189)]&&(_0x38ad9a=_0x50afbb(0x10d)+process[_0x50afbb(0x169)][_0x50afbb(0x189)]);let _0x4f9c7f,_0x164bc3=_0x38ad9a??'';try{_0x4f9c7f=await this[_0x50afbb(0xa7)](this['config'],_0x38ad9a),_0x4f9c7f[_0x50afbb(0x188)][_0x50afbb(0xea)](this[_0x50afbb(0x134)]['warn']);}catch(_0x2b22e4){this[_0x50afbb(0x134)]['error']('Error\x20scanning\x20the\x20filesystem.',_0x2b22e4),this[_0x50afbb(0xa5)](_0x50afbb(0x13d),_0x2b22e4);return;}try{const _0x51d8ea=await SourceMapper[_0x50afbb(0x126)](this[_0x50afbb(0x134)],_0x4f9c7f[_0x50afbb(0xee)],this['config'][_0x50afbb(0x11a)]?.[_0x50afbb(0x129)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x50afbb(0x126)](this[_0x50afbb(0x134)],this['config'],_0x4f9c7f[_0x50afbb(0xe6)],_0x51d8ea,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x164bc3=_0x38ad9a??_0x4f9c7f['hash'];}catch(_0x492c6a){this[_0x50afbb(0x134)][_0x50afbb(0x118)](_0x50afbb(0x15d),_0x492c6a),this['logger']['info'](JSON['stringify'](_0x492c6a)),this[_0x50afbb(0xa5)](_0x50afbb(0x13d),_0x492c6a);}this[_0x50afbb(0x134)][_0x50afbb(0xef)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x164bc3);const _0xda1b5b=(0x0,utils_1[_0x50afbb(0x128)])(this['logger'])[_0x50afbb(0xdf)]('\x0a','');this[_0x50afbb(0x134)][_0x50afbb(0xef)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0xda1b5b);let _0x14b9f5;try{_0x14b9f5=this['config']['sourceContext']||await _a['getSourceContextFromFile']();}catch{}this[_0x50afbb(0x134)][_0x50afbb(0xef)]('Lightrun\x20Debugger\x20is\x20attached\x20to\x20'+process['mainModule']?.[_0x50afbb(0x12d)]),this[_0x50afbb(0x134)][_0x50afbb(0xc5)](_0x50afbb(0xbd)+_0x37a7b1),this['logger'][_0x50afbb(0xc5)]('Starting\x20debuggee'),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x50afbb(0x96)]=(0x0,createDebuggee_1[_0x50afbb(0x15b)])(_0x164bc3,this[_0x50afbb(0x178)],_0x14b9f5,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x50afbb(0x16c)],_0xda1b5b,this[_0x50afbb(0x134)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)['call'](this),this[_0x50afbb(0x180)](),this['emit'](_0x50afbb(0x147));}[a18_0x2f992b(0x141)](){const _0x5189a9=a18_0x2f992b;if(Date[_0x5189a9(0x18a)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x5189a9(0xad)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x5189a9(0xcf)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x5189a9(0xcf)]()[_0x5189a9(0xc2)](()=>{const _0x37106b=_0x5189a9;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x37106b(0x135)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x5189a9(0xcf)]();}}static async[a18_0x2f992b(0x106)](){const _0x47ac2c=a18_0x2f992b,_0x485af3=await readFilep(_0x47ac2c(0x197),_0x47ac2c(0x13b));try{return JSON[_0x47ac2c(0xe8)](_0x485af3);}catch(_0x1928a6){throw new Error(_0x47ac2c(0x195)+_0x1928a6);}}[a18_0x2f992b(0x180)](){const _0x22b429=a18_0x2f992b;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x22b429(0x135)](this,0x0);}[a18_0x2f992b(0x104)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0xc5152=a18_0x2f992b;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0xc5152(0x134)][_0xc5152(0xc5)]('Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running');return;}this[_0xc5152(0x134)]['debug'](_0xc5152(0x1a1)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0xc5152(0x11c)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0xc5152(0xa5)](_0xc5152(0x148));}[a18_0x2f992b(0xa3)](_0x4ffd30){const _0x171418=a18_0x2f992b;if(!this[_0x171418(0x134)][_0x171418(0x103)]())return _0x4ffd30['id'];try{const _0x509e96=JSON[_0x171418(0x156)](_0x4ffd30);if(_0x509e96[_0x171418(0x145)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x509e96;return _0x509e96[_0x171418(0xf0)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x171418(0xd7);}catch(_0x27d29){return this[_0x171418(0x134)][_0x171418(0x118)](_0x171418(0x166),_0x27d29),_0x4ffd30['id'];}}[a18_0x2f992b(0xa6)](_0x447709){const _0x53d6cb=a18_0x2f992b,_0x50d4bd=this['logger']['getInitialLevel']();if(_0x50d4bd===_0x53d6cb(0xc5))return;switch(_0x447709){case _0x53d6cb(0x190):this['logger'][_0x53d6cb(0xd3)]()!==_0x53d6cb(0xc5)&&(this[_0x53d6cb(0x134)][_0x53d6cb(0x113)](_0x53d6cb(0xc5)),this[_0x53d6cb(0x134)][_0x53d6cb(0xc5)](_0x53d6cb(0x119)));break;case _0x53d6cb(0x114):case undefined:this[_0x53d6cb(0x134)][_0x53d6cb(0xd3)]()==='debug'&&(this[_0x53d6cb(0x134)][_0x53d6cb(0x113)](_0x50d4bd),this[_0x53d6cb(0x134)][_0x53d6cb(0xef)](_0x53d6cb(0xc4)+_0x50d4bd+')'));break;default:this[_0x53d6cb(0x134)][_0x53d6cb(0x105)]('Unknown\x20agentLogLevel\x20'+_0x447709);}}}exports[a18_0x2f992b(0x184)]=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(_0x755e6b){const _0x574479=a18_0x2f992b;return new RegExp(_0x755e6b[_0x574479(0x120)](_0x2cf65e=>_0x2cf65e+'$')['join']('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x53ce3a=a18_0x2f992b,_0x2116b1=[_0x53ce3a(0x1a4),_0x53ce3a(0xe2),_0x53ce3a(0x172)];_0x2116b1[_0x53ce3a(0xea)](_0x2bc355=>{const _0x5b191b=_0x53ce3a;process[_0x5b191b(0xba)](_0x2bc355,()=>{const _0x5173e2=_0x5b191b;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5173e2(0x132)](this[_0x5173e2(0x96)],()=>{const _0x26bb0c=_0x5173e2;process['kill'](process[_0x26bb0c(0x19e)],_0x2bc355);});});}),process[_0x53ce3a(0xba)](_0x53ce3a(0x181),()=>{const _0x27f870=_0x53ce3a;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x27f870(0x132)](this['debuggee'],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0xcfeeed){const _0x27c1e8=a18_0x2f992b;this[_0x27c1e8(0x134)]['debug'](_0xcfeeed?_0x27c1e8(0x12a)+_0xcfeeed+'s':'Registering\x20debuggee');const _0x2787ec=(_0x59d9ce,_0x5cc625,_0x1697fe=![])=>{const _0x354e29=_0x27c1e8;this['emit'](_0x354e29(0x175));const _0x2b47fb=this[_0x354e29(0x96)]?.['id'],_0x5232df=_0x2b47fb?_0x354e29(0xa9)+_0x2b47fb:_0x354e29(0x16b),_0x3b4df1=_0x354e29(0x185)+_0x5232df+':\x20'+(0x0,utils_1['prettyError'])(_0x59d9ce);this[_0x354e29(0x134)][_0x354e29(0x118)](_0x3b4df1),_0x5cc625&&!_0x1697fe&&this[_0x354e29(0x134)][_0x354e29(0x118)](_0x354e29(0xcd),_0x5cc625),!this['config'][_0x354e29(0x11a)]?.[_0x354e29(0x110)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,(0x0,utils_1[_0x354e29(0x167)])(_0xcfeeed,this[_0x354e29(0x178)][_0x354e29(0x11a)][_0x354e29(0xe0)]));};setTimeout(()=>{const _0x1e13d9=_0x27c1e8;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x2787ec(new Error('Debuglet\x20not\x20running'));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1e13d9(0x180)](this[_0x1e13d9(0x96)],(_0x5ade32,_0x22a0af,_0x2a2415=![])=>{const _0x17d299=_0x1e13d9;if(_0x5ade32){_0x2787ec(_0x5ade32,_0x22a0af,_0x2a2415);return;}if(_0x22a0af[_0x17d299(0x96)][_0x17d299(0xb6)]){_0x2787ec(new Error(_0x17d299(0x179))),this[_0x17d299(0xa5)](_0x17d299(0x173));return;}const _0xabe492=_0x22a0af[_0x17d299(0x96)]['id'];this[_0x17d299(0x134)][_0x17d299(0xef)]('Registered\x20as\x20debuggee:\x20'+_0xabe492),this[_0x17d299(0x96)]['id']=_0xabe492;const _0x5649b2=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)['bind'](this)(this[_0x17d299(0x96)]['id'])];this[_0x17d299(0x178)][_0x17d299(0x9a)]&&_0x5649b2[_0x17d299(0xe1)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x17d299(0xdd)](this)(this[_0x17d299(0x96)]['id'])),Promise[_0x17d299(0xbc)](_0x5649b2)[_0x17d299(0xc2)](()=>{const _0x592b22=_0x17d299;this[_0x592b22(0xa5)]('registered',_0xabe492),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')['resolve'](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['setBlocklistManager'](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x22a0af?.[_0x592b22(0xed)],'f'),!this['fetcherActive']&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x592b22(0x135)](this,0x0,this[_0x592b22(0x178)][_0x592b22(0x1a3)],_0x22a0af?.[_0x592b22(0xed)]);},_0x2ec54f=>{_0x2787ec(_0x2ec54f);});});},_0xcfeeed*0x3e8)[_0x27c1e8(0x13c)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x30f6a4,_0xd526a8,_0x57925c){const _0x358d32=a18_0x2f992b;this[_0x358d32(0x134)][_0x358d32(0xc5)](_0x358d32(0xd4)+_0x30f6a4+'\x20'+_0xd526a8+'\x20'+_0x57925c),!_0xd526a8&&(this['fetcherActive']=!![]),setTimeout(()=>{const _0x29bace=_0x358d32;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0xd526a8&&assert(this['fetcherActive']),this[_0x29bace(0x134)][_0x29bace(0xc5)](_0x29bace(0xca)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x29bace(0x116)](this[_0x29bace(0x96)],(_0x484d82,_0x406f2d,_0x40b9f5)=>{const _0x503636=_0x29bace;if(_0x40b9f5?.['status']===0x194){this['logger'][_0x503636(0xef)]('Debuggee\x20is\x20not\x20registered'),this[_0x503636(0x164)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x503636(0x135)](this);this[_0x503636(0x178)][_0x503636(0x11a)]?.[_0x503636(0x110)]?this['emit'](_0x503636(0x9d)):this[_0x503636(0x180)]();return;}if(_0x484d82){if(this['config']['internal']?.['isLambda'])this[_0x503636(0xa5)](_0x503636(0xfb)),this['logger']['error']('\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20'+_0x40b9f5?.['status']+_0x503636(0x117)+_0x484d82[_0x503636(0xeb)]);else{const _0x585ef4=(0x0,utils_1[_0x503636(0x167)])(_0x30f6a4,this[_0x503636(0x178)][_0x503636(0x11a)]['maxRequestRetryDelaySeconds']);this[_0x503636(0x134)][_0x503636(0x118)]('\x09Got\x20error\x20from\x20server.\x20status:\x20'+_0x40b9f5?.['status']+_0x503636(0x117)+_0x484d82[_0x503636(0xeb)]+_0x503636(0x115)+_0x585ef4+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,_0x585ef4,_0xd526a8,_0x57925c);}return;}this[_0x503636(0x134)][_0x503636(0xc5)]('\x09'+_0x40b9f5['status']+'\x20completed.');if(!_0x406f2d){const _0x55022=this[_0x503636(0x178)][_0x503636(0x109)];this[_0x503636(0x134)][_0x503636(0x118)]('\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20'+_0x55022+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x503636(0x135)](this,_0x55022,_0xd526a8,_0x57925c);return;}this['setCustomLogLevel'](_0x406f2d[_0x503636(0xf6)]);if(_0x406f2d[_0x503636(0x15a)]){this[_0x503636(0x134)]['info'](_0x503636(0x160)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x503636(0x135)](this,0x0,_0xd526a8,_0x57925c);return;}if(_0x406f2d[_0x503636(0x130)]&&_0x406f2d[_0x503636(0x130)]!==_0x503636(0x114)){const _0xfb8a9c=this[_0x503636(0x1a7)][_0x503636(0x153)];_0xfb8a9c!==_0x406f2d['pipeLogs']&&(this[_0x503636(0x134)][_0x503636(0xc5)]('Switching\x20globalPiping\x20status\x20from\x20'+_0xfb8a9c+'\x20to\x20'+_0x406f2d[_0x503636(0x130)]),this[_0x503636(0x1a7)]['globalPipingStatus']=_0x406f2d[_0x503636(0x130)]);}if(_0x406f2d[_0x503636(0x19b)]&&_0x406f2d['collectLogRequestId']!==this[_0x503636(0xdc)]){this[_0x503636(0xdc)]=_0x406f2d[_0x503636(0xdc)];const _0x3d5104=this[_0x503636(0x178)]['agentLog'][_0x503636(0xbb)]&&path['join'](this['config'][_0x503636(0x157)][_0x503636(0xbb)],agent_logger_1[_0x503636(0x14c)]['AGENT_LOG_FILE']);_0x3d5104&&fs[_0x503636(0x1a9)](_0x3d5104)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x503636(0x151)](this[_0x503636(0x96)],_0x406f2d['collectLogRequestId'],_0x3d5104)):this[_0x503636(0x134)]['info'](_0x503636(0x192)+_0x406f2d['collectLogRequestId']+_0x503636(0x11f)+_0x503636(0x18d));}__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['activeFeatures']=_0x406f2d['activeFeatures']??[];const _0x288ed5=(_0x406f2d['breakpoints']||[])[_0x503636(0x120)](_0x122c5=>new stackdriver_1['Breakpoint'](_0x122c5))[_0x503636(0x14d)](_0xbeb3f3=>{const _0x2d117e=_0x503636,_0x56b38f=_0xbeb3f3[_0x2d117e(0xab)]??_0x2d117e(0x17b);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0xbeb3f3['id']])return![];if(_0x56b38f!==_0x2d117e(0x17b)&&_0x56b38f!==_0x2d117e(0x12b))return this[_0x2d117e(0x134)][_0x2d117e(0x105)](_0x2d117e(0x17d),_0x56b38f),_0xbeb3f3[_0x2d117e(0xf9)]=new status_message_1[(_0x2d117e(0x139))](status_message_1[_0x2d117e(0x139)][_0x2d117e(0xd0)],utils_1[_0x2d117e(0x188)][_0x2d117e(0x12c)],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x2d117e(0x135)](this,_0xbeb3f3),![];return!![];}),_0x381813=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)['call'](this);let _0xa5b23a=_0x381813[_0x503636(0x145)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)['call'](this,_0x381813),_0xa5b23a=_0xa5b23a||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](this,_0x288ed5),this[_0x503636(0xa5)](_0x503636(0x16a),_0x288ed5[_0x503636(0x145)]);_0xa5b23a&&this[_0x503636(0x134)][_0x503636(0xc5)](formatBreakpoints(_0x503636(0xda),this[_0x503636(0x158)]));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x503636(0x18a)](),'f');_0xd526a8?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x503636(0xad)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0xd526a8,_0x57925c);return;},_0x57925c);},_0x30f6a4*0x3e8)[_0x358d32(0x13c)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x340e6c){const _0x5a470c=a18_0x2f992b,_0x8c68da=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x5a470c(0x135)](this,_0x340e6c);let _0xc3099e=![];return _0x340e6c[_0x5a470c(0xea)](_0x50ba6c=>{const _0x245f2a=_0x5a470c;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x50ba6c['id']]&&!this[_0x245f2a(0x158)][_0x50ba6c['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x245f2a(0x135)](this,_0x50ba6c,_0x51938b=>{_0x51938b&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x50ba6c,!![],![]);}),_0xc3099e=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x245f2a(0xd2)](_0x50ba6c['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x245f2a(0x17f)](_0x50ba6c['id'],_0x50ba6c[_0x245f2a(0x127)]),this[_0x245f2a(0x1a7)][_0x245f2a(0x186)](_0x50ba6c['id'],_0x50ba6c['pipingStatus']);}),(0x0,mapSubtract_1[_0x5a470c(0x124)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x8c68da)['forEach'](_0x3513ac=>{const {id:_0x57e48a}=_0x3513ac;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x57e48a],_0xc3099e=!![];}),(0x0,mapSubtract_1[_0x5a470c(0x124)])(this['activeBreakpointMap'],_0x8c68da)[_0x5a470c(0xea)](_0x2211d1=>{const _0x3bcf22=_0x5a470c;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3bcf22(0x135)](this,_0x2211d1,!![]),_0xc3099e=!![];}),_0xc3099e&&this[_0x5a470c(0x134)]['debug'](formatBreakpoints(_0x5a470c(0x108),_0x8c68da)),_0xc3099e;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x25bb97){const _0x4b2614=a18_0x2f992b;return Object[_0x4b2614(0xc6)](_0x25bb97[_0x4b2614(0x120)](_0x1938a7=>[_0x1938a7['id'],_0x1938a7]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x46ac2d,_0x2b1df6){const _0x51e489=a18_0x2f992b;this[_0x51e489(0x134)]['info'](_0x51e489(0x199)+_0x46ac2d['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['removePerBreakpointQuota'](_0x46ac2d['id']),this['pipingManager'][_0x51e489(0x14f)](_0x46ac2d['id']),delete this['activeBreakpointMap'][_0x46ac2d['id']],_0x2b1df6&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x51e489(0x13a)](_0x46ac2d,_0x36eb0c=>{const _0x1bc255=_0x51e489;if(_0x36eb0c)this[_0x1bc255(0x134)][_0x1bc255(0x118)](_0x36eb0c);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x4f6992,_0x3187e7){const _0x152117=a18_0x2f992b;this['logger'][_0x152117(0xef)]('\x09adding\x20breakpoint',this[_0x152117(0xa3)](_0x4f6992));if(!this[_0x152117(0x178)][_0x152117(0xcb)]&&(_0x4f6992['condition']||_0x4f6992[_0x152117(0xa8)])){this[_0x152117(0x134)][_0x152117(0x118)](utils_1[_0x152117(0x188)][_0x152117(0xfc)][_0x152117(0xf3)]??''),_0x4f6992[_0x152117(0xf9)]=new status_message_1[(_0x152117(0x139))](status_message_1[_0x152117(0x139)]['UNSPECIFIED'],utils_1['errors'][_0x152117(0xfc)],!![]),setImmediate(()=>{const _0x3a6529=_0x152117;_0x3187e7(utils_1['errors'][_0x3a6529(0xfc)]);});return;}const _0x28ff23=_0x4f6992['createTime']?Number(_0x4f6992['createTime']['seconds']):Date[_0x152117(0x18a)]()/0x3e8,_0x545cde=_0x4f6992[_0x152117(0xd5)]??this[_0x152117(0x178)]['breakpointExpirationSec'];_0x4f6992['expirationTime']=_0x28ff23+_0x545cde,_0x4f6992[_0x152117(0xf2)]?.[_0x152117(0xa0)]&&(_0x4f6992['location'][_0x152117(0xa0)]=path[_0x152117(0x133)](_0x4f6992[_0x152117(0xf2)][_0x152117(0xa0)]),path[_0x152117(0x12e)]===path['posix'][_0x152117(0x12e)]&&(_0x4f6992[_0x152117(0xf2)]['path']=_0x4f6992[_0x152117(0xf2)]['path'][_0x152117(0x1a5)]('\x5c')['join'](path['sep']))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x152117(0xce)](_0x4f6992,_0x268905=>{const _0x583f07=_0x152117;if(_0x268905){_0x3187e7(_0x268905);return;}this['logger'][_0x583f07(0xef)]('\x09successfully\x20added\x20breakpoint\x20id\x20'+_0x4f6992['id']),this[_0x583f07(0x158)][_0x4f6992['id']]=_0x4f6992,_0x4f6992['action']===_0x583f07(0x12b)?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x583f07(0x9b)](_0x4f6992,(_0x360c57,_0xd4e829)=>{const _0x24ad08=_0x583f07,_0x17fdb6=_0xd4e829[_0x24ad08(0x120)](_0x18d79c=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x24ad08(0x135)](this,_0x18d79c)),_0x592e56=(0x0,format_1[_0x24ad08(0x19a)])(_0x360c57,_0x17fdb6),_0x8970a6=_0x24ad08(0x11d)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0x592e56)??_0x592e56),_0x1b7e62=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x24ad08(0xd6)](_0x8970a6,_0x4f6992['id']);if(_0x1b7e62){const _0x423493=_0x1b7e62[_0x24ad08(0xeb)],{isOutOfQuota:_0x1fcdce}=_0x1b7e62;let _0x38ac14,_0x16956a;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x24ad08(0x1a6)]()&&!_0x1fcdce&&(_0x38ac14='LOGPOINT:\x20'+_0x360c57,_0x16956a=_0x17fdb6);this[_0x24ad08(0x1a7)]['addAndPipeLog'](this['debuggee'],_0x4f6992['id'],_0x423493,_0x4f6992[_0x24ad08(0xb0)],_0x38ac14,_0x16956a);if(_0x1fcdce)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x24ad08(0xa4)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x1ea8c8=_0x24ad08;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x1ea8c8(0x142)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x24ad08(0x178)]['quota'][_0x24ad08(0x159)]*0x3e8),'f');else _0x423493?.[_0x24ad08(0x145)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x24ad08(0xa4)]();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4f6992['id']],_0x1d4950=>{const _0x4be324=_0x583f07;if(_0x1d4950){this[_0x4be324(0x134)]['error'](_0x1d4950),_0x3187e7(_0x1d4950);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['wait'](_0x4f6992,_0x481f1f=>{const _0x4b8c21=_0x583f07;if(_0x481f1f){setImmediate(()=>{const _0x4ca389=a18_0x3410;this[_0x4ca389(0x134)][_0x4ca389(0x118)](_0x481f1f),_0x3187e7(_0x481f1f);});return;}this['logger'][_0x4b8c21(0xef)](_0x4b8c21(0xf1)+_0x4f6992['id'],_0x4f6992[_0x4b8c21(0xf2)]?.[_0x4b8c21(0xa0)],_0x4f6992[_0x4b8c21(0xf2)]?.['line']),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)['call'](this,_0x4f6992,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x4b8c21(0x18f)](_0x4f6992['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x583f07(0x135)](this,_0x4f6992);}),this[_0x152117(0xa5)](_0x152117(0xaa));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x4f2cc3,_0x5d41af,_0x9e2587=!![]){const _0x21c28f=a18_0x2f992b;if(_0x4f2cc3[_0x21c28f(0xf9)]?.['isError']){let _0x347161=_0x4f2cc3[_0x21c28f(0xf9)]?.[_0x21c28f(0xf3)]?.[_0x21c28f(0x19a)]||'';_0x4f2cc3['status']?.[_0x21c28f(0xf3)]?.[_0x21c28f(0xe7)]&&(_0x347161+=':\x20'+_0x4f2cc3[_0x21c28f(0xf9)]?.[_0x21c28f(0xf3)]?.[_0x21c28f(0xe7)][_0x21c28f(0x191)]()),this[_0x21c28f(0x134)][_0x21c28f(0x105)](_0x21c28f(0x16d)+_0x4f2cc3+_0x21c28f(0x98)+_0x347161);}else this[_0x21c28f(0x134)]['info']('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',this[_0x21c28f(0xa3)](_0x4f2cc3));_0x5d41af&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4f2cc3['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x21c28f(0x135)](this,_0x4f2cc3,_0x9e2587)),__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x21c28f(0x96)],extend(!![],{},_0x4f2cc3));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x158512){const _0x4467aa=a18_0x2f992b;this[_0x4467aa(0x134)][_0x4467aa(0xc5)](_0x4467aa(0x162)+_0x158512+_0x4467aa(0xd8));const _0x58025e=extend(!![],{},_0x158512);_0x58025e[_0x4467aa(0x174)]=![],_0x58025e['status']=new status_message_1['StatusMessage'](status_message_1['StatusMessage']['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4467aa(0x154)](this[_0x4467aa(0x96)],_0x58025e);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x6e48cc){const _0x46451a=a18_0x2f992b;this[_0x46451a(0x134)][_0x46451a(0xef)](_0x46451a(0x171)+_0x6e48cc),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x6e48cc['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x46451a(0x96)],_0x6e48cc);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x5f5a36){const _0x18fe62=a18_0x2f992b;_0x5f5a36[_0x18fe62(0xea)](_0x26ac25=>{const _0x125051=_0x18fe62;this[_0x125051(0x134)]['info'](_0x125051(0x155)+_0x26ac25['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x26ac25['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x125051(0x135)](this,_0x26ac25,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x535ae0=a18_0x2f992b,_0x3f55c7=Date['now']()/0x3e8;return Object['values'](this[_0x535ae0(0x158)])['filter'](_0xad001d=>_0xad001d[_0x535ae0(0xb5)]?_0xad001d[_0x535ae0(0xb5)]<_0x3f55c7:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x2ca54c){const _0x3a60c3=a18_0x2f992b,_0x295691=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x2ca54c),_0x4a4eaa=_0x295691['blacklist'],_0x408328=_0x295691[_0x3a60c3(0x13f)];_0x4a4eaa?.['length']&&this[_0x3a60c3(0x134)]['debug'](_0x3a60c3(0x19f),_0x4a4eaa[_0x3a60c3(0x13e)]('\x0a\x09')),_0x408328?.[_0x3a60c3(0x145)]&&this[_0x3a60c3(0x134)][_0x3a60c3(0xc5)](_0x3a60c3(0x14b),_0x408328[_0x3a60c3(0x13e)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x3a60c3(0xff))](_0x4a4eaa,_0x408328,this[_0x3a60c3(0x178)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0xad8927){const _0x1fa5df=a18_0x2f992b,_0x167f3d=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1fa5df(0x11b)](_0xad8927);_0x167f3d?.[_0x1fa5df(0x145)]&&this['logger']['debug'](_0x1fa5df(0x183),_0x167f3d[_0x1fa5df(0x120)](_0x5ceeb5=>_0x1fa5df(0xa1)+_0x5ceeb5['name']+_0x1fa5df(0x19d)+_0x5ceeb5[_0x1fa5df(0x170)]+_0x1fa5df(0xc0)+_0x5ceeb5[_0x1fa5df(0x10c)]+_0x1fa5df(0x14e)+_0x5ceeb5[_0x1fa5df(0xb7)])[_0x1fa5df(0x13e)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x1fa5df(0xcc))](this[_0x1fa5df(0x134)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1fa5df(0xf8)](_0x167f3d);},_Debuglet_stringify=function _Debuglet_stringify(_0x357c4d){const _0x1b4c15=a18_0x2f992b;if(!_0x357c4d)return JSON['stringify'](_0x357c4d,(_0x5ea59a,_0x5caebf)=>_0x5caebf===undefined?_0x1b4c15(0x15c):_0x5caebf);if(Array[_0x1b4c15(0xb1)](_0x357c4d)){const _0x315be2=_0x357c4d[_0x1b4c15(0x120)](_0x25404b=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x25404b));return'['+_0x315be2[_0x1b4c15(0x13e)](',\x20')+']';}if(typeof _0x357c4d===_0x1b4c15(0x12f)){const _0x4ad0e5=Object['entries'](_0x357c4d)[_0x1b4c15(0x120)](([_0x8716af,_0x463dd7])=>{const _0x482739=_0x1b4c15,_0x526cc8=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x482739(0x1aa)](_0x8716af)?redaction_manager_1['REDACTED_PLACEHOLDER']:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x482739(0x135)](this,_0x463dd7);return JSON[_0x482739(0x156)](_0x8716af)+':\x20'+_0x526cc8;})['join'](',\x20');return'{'+_0x4ad0e5+'}';}return JSON['stringify'](_0x357c4d);});
@@ -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_0x58ac77=a19_0x2fb8;function a19_0x4d4a(){const _0x35b243=['Windows','isInDocker','getProps','existsSync','procArch','17009379SXOCmr','versions','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','node','arm64','44617CoFRIb','toString','(((.+)+)+)+$','host','defineProperty','x64','x32','arch','osVersion','match','split','_logger','length','get','488tuKiSY','set','constructor','runtimeEnvironmentInfo','VERSION_ID','MacOS','23415uIAuHP','error','forEach','release','cpus','788815FGzjkz','_osRelease','2003344zbJdvk','cpuCoreCount','Node.js\x20','version','readFileSync','linux','trim','hostname','env','arm','apply','__esModule','mac','_cachedOsRelease','runtimeEnvironmentVersion','totalmem','utf-8','platform','assert','EnvironmentMetadata','warn','systemTotalMemoryBytes','432009OWEeUU','windows','Linux','24xtQYqQ','agentOS','KUBERNETES_SERVICE_HOST','pid','linuxDistroName','835710ehkTgr'];a19_0x4d4a=function(){return _0x35b243;};return a19_0x4d4a();}(function(_0x1a7315,_0x55c4c7){const _0xd88f97=a19_0x2fb8,_0x49e717=_0x1a7315();while(!![]){try{const _0x371f36=-parseInt(_0xd88f97(0xee))/0x1+-parseInt(_0xd88f97(0xe3))/0x2+-parseInt(_0xd88f97(0xdb))/0x3+-parseInt(_0xd88f97(0x109))/0x4+parseInt(_0xd88f97(0x107))/0x5*(-parseInt(_0xd88f97(0xde))/0x6)+-parseInt(_0xd88f97(0x102))/0x7*(-parseInt(_0xd88f97(0xfc))/0x8)+parseInt(_0xd88f97(0xe9))/0x9;if(_0x371f36===_0x55c4c7)break;else _0x49e717['push'](_0x49e717['shift']());}catch(_0x40ab26){_0x49e717['push'](_0x49e717['shift']());}}}(a19_0x4d4a,0x56d1d));Object[a19_0x58ac77(0xf2)](exports,a19_0x58ac77(0x114),{'value':!![]}),exports['EnvironmentMetadata']=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0x58ac77(0x11b));var OS;function a19_0x2fb8(_0x5c3f98,_0xb8025c){const _0x23ee56=a19_0x4d4a();return a19_0x2fb8=function(_0x220e06,_0x429ab4){_0x220e06=_0x220e06-0xd9;let _0x4d4a1d=_0x23ee56[_0x220e06];return _0x4d4a1d;},a19_0x2fb8(_0x5c3f98,_0xb8025c);}(function(_0x2167d5){const _0x5c4d3a=a19_0x58ac77,_0x14e9dd=(function(){let _0x2eb3f3=!![];return function(_0x37e5d9,_0x3f04db){const _0x2de7c8=_0x2eb3f3?function(){const _0x2e493c=a19_0x2fb8;if(_0x3f04db){const _0x265f59=_0x3f04db[_0x2e493c(0x113)](_0x37e5d9,arguments);return _0x3f04db=null,_0x265f59;}}:function(){};return _0x2eb3f3=![],_0x2de7c8;};}()),_0x8cb74d=_0x14e9dd(this,function(){const _0x307b5a=a19_0x2fb8;return _0x8cb74d[_0x307b5a(0xef)]()['search'](_0x307b5a(0xf0))[_0x307b5a(0xef)]()[_0x307b5a(0xfe)](_0x8cb74d)['search']('(((.+)+)+)+$');});_0x8cb74d(),_0x2167d5[_0x5c4d3a(0xdd)]=_0x5c4d3a(0x10e),_0x2167d5[_0x5c4d3a(0xe4)]=_0x5c4d3a(0xdc),_0x2167d5[_0x5c4d3a(0x101)]=_0x5c4d3a(0x115);}(OS||(OS={})));var ProcArch;(function(_0xbcee78){const _0x442add=a19_0x58ac77;_0xbcee78[_0x442add(0xf3)]=_0x442add(0xf3),_0xbcee78['x32']=_0x442add(0xf4),_0xbcee78[_0x442add(0x112)]=_0x442add(0x112),_0xbcee78[_0x442add(0xed)]=_0x442add(0xed);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a19_0x58ac77(0xdd)],'win32':OS[a19_0x58ac77(0xe4)],'darwin':OS[a19_0x58ac77(0x101)]},ArchToProcArchMap={'x32':ProcArch[a19_0x58ac77(0xf4)],'x64':ProcArch['x64'],'arm':ProcArch[a19_0x58ac77(0x112)],'arm64':ProcArch['arm64']};class EnvironmentMetadata{constructor(_0x57fb87){const _0xc255fe=a19_0x58ac77;assert(_0x57fb87!==null),this[_0xc255fe(0xf9)]=_0x57fb87;}get['runtimeEnvironmentVersion'](){const _0x261ac0=a19_0x58ac77;try{const _0x3e7eb6=process[_0x261ac0(0xea)][_0x261ac0(0xec)][_0x261ac0(0xf7)](/(\d+\.\d+)\..*/);if(_0x3e7eb6)return _0x3e7eb6[0x1];}catch(_0xaf1d79){this['_logger'][_0x261ac0(0x103)](_0xaf1d79);}return;}get[a19_0x58ac77(0xff)](){const _0xaab4e=a19_0x58ac77;return _0xaab4e(0x10b)+process[_0xaab4e(0x10c)]+'\x20on\x20'+(0x0,os_1[_0xaab4e(0x11a)])()+'\x20'+(0x0,os_1[_0xaab4e(0x105)])();}get[a19_0x58ac77(0xe1)](){return process['pid']['toString']();}get[a19_0x58ac77(0xe8)](){const _0xb55245=a19_0x58ac77;return ArchToProcArchMap[process[_0xb55245(0xf5)]]||process['arch'];}get['cpuCoreCount'](){const _0x5a8d85=a19_0x58ac77;return(0x0,os_1[_0x5a8d85(0x106)])()[_0x5a8d85(0xfa)];}get[a19_0x58ac77(0xda)](){const _0x73c6d5=a19_0x58ac77;return(0x0,os_1[_0x73c6d5(0x118)])();}get[a19_0x58ac77(0xf1)](){const _0x1530ac=a19_0x58ac77;return(0x0,os_1[_0x1530ac(0x110)])();}get[a19_0x58ac77(0xdf)](){const _0x243170=a19_0x58ac77;return PlatformToOsMap[(0x0,os_1[_0x243170(0x11a)])()]||(0x0,os_1[_0x243170(0x11a)])();}get[a19_0x58ac77(0xf6)](){const _0x14b6a2=a19_0x58ac77;try{if(this[_0x14b6a2(0xdf)]===OS[_0x14b6a2(0xdd)])return this['_osRelease'][_0x14b6a2(0xfb)](_0x14b6a2(0x100))??(0x0,os_1[_0x14b6a2(0x105)])();return(0x0,os_1[_0x14b6a2(0x105)])();}catch(_0x26b32f){this[_0x14b6a2(0xf9)]['error'](_0x26b32f);}return;}get[a19_0x58ac77(0xe2)](){const _0xcab5b1=a19_0x58ac77;return this['agentOS']===OS[_0xcab5b1(0xdd)]&&this[_0xcab5b1(0x108)][_0xcab5b1(0xfb)]('ID')||'';}get['isInDocker'](){const _0x2d16fd=a19_0x58ac77;return this[_0x2d16fd(0xdf)]===OS[_0x2d16fd(0xdd)]?(0x0,fs_1[_0x2d16fd(0xe7)])('/.dockerenv'):![];}get['isInK8s'](){const _0x660d8f=a19_0x58ac77;return!!process[_0x660d8f(0x111)][_0x660d8f(0xe0)];}get['_osRelease'](){const _0x410737=a19_0x58ac77;if(!this[_0x410737(0x116)]){this[_0x410737(0x116)]=new Map();try{if(this[_0x410737(0xdf)]===OS[_0x410737(0xdd)]){const _0x12c2d6=(0x0,fs_1[_0x410737(0x10d)])('/etc/os-release',_0x410737(0x119));_0x12c2d6['split'](/\r?\n/)[_0x410737(0x104)](_0xbbc639=>{const _0x299366=_0x410737,[_0x59dc10,_0x3a69a2]=_0xbbc639[_0x299366(0x10f)]()[_0x299366(0xf8)]('=');this[_0x299366(0x116)]?.[_0x299366(0xfd)](_0x59dc10,_0x3a69a2?.['replace'](/^"|"$/g,'')||'');});}}catch(_0x1dcba6){this['_logger'][_0x410737(0xd9)](_0x410737(0xeb),_0x1dcba6);}}return this[_0x410737(0x116)];}[a19_0x58ac77(0xe6)](){const _0x56a7b5=a19_0x58ac77;return{'runtimeEnvironmentVersion':this[_0x56a7b5(0x117)],'runtimeEnvironmentInfo':this[_0x56a7b5(0xff)],'pid':this[_0x56a7b5(0xe1)],'cpuCoreCount':this[_0x56a7b5(0x10a)],'systemTotalMemoryBytes':this[_0x56a7b5(0xda)],'host':this[_0x56a7b5(0xf1)],'agentOS':this[_0x56a7b5(0xdf)],'osVersion':this[_0x56a7b5(0xf6)],'linuxDistroName':this['linuxDistroName']||undefined,'isInDocker':this[_0x56a7b5(0xe5)],'isInK8s':this['isInK8s'],'procArch':this['procArch']};}}exports[a19_0x58ac77(0x11c)]=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_0x90f580=a20_0x7a2a;(function(_0x40e463,_0x4c7991){const _0x34def7=a20_0x7a2a,_0x53bb3b=_0x40e463();while(!![]){try{const _0x8e3077=parseInt(_0x34def7(0x116))/0x1+parseInt(_0x34def7(0x110))/0x2+parseInt(_0x34def7(0xfe))/0x3+-parseInt(_0x34def7(0x10c))/0x4+-parseInt(_0x34def7(0xfc))/0x5+-parseInt(_0x34def7(0x106))/0x6*(-parseInt(_0x34def7(0x10e))/0x7)+parseInt(_0x34def7(0x11f))/0x8;if(_0x8e3077===_0x4c7991)break;else _0x53bb3b['push'](_0x53bb3b['shift']());}catch(_0x2875e6){_0x53bb3b['push'](_0x53bb3b['shift']());}}}(a20_0x5cb0,0x3dc00));const a20_0x59c823=(function(){let _0x373511=!![];return function(_0x2844e8,_0x492549){const _0xf1d534=_0x373511?function(){const _0x5ea011=a20_0x7a2a;if(_0x492549){const _0x21f772=_0x492549[_0x5ea011(0x117)](_0x2844e8,arguments);return _0x492549=null,_0x21f772;}}:function(){};return _0x373511=![],_0xf1d534;};}()),a20_0x54b1d9=a20_0x59c823(this,function(){const _0x4253ac=a20_0x7a2a;return a20_0x54b1d9['toString']()[_0x4253ac(0x113)](_0x4253ac(0x108))['toString']()['constructor'](a20_0x54b1d9)['search'](_0x4253ac(0x108));});function a20_0x5cb0(){const _0x59b2af=['_fileStats','substr','2136448NOxvPt','keys','1779340wipHNb','get','761664MJQTOb','substring','fileStats','startsWith','push','findShortestFuzzyMatches','size','sep','6uwAhUj','fromFileStats','(((.+)+)+)+$','length','min','path','343768qYzzZr','map','428554vQsvav','has','223356nKiUJS','defineProperty','includes','search','set','fileIndex','894SxbUkL','apply','generateSubPaths','buildIndex','filter','stripStartingSep','add'];a20_0x5cb0=function(){return _0x59b2af;};return a20_0x5cb0();}a20_0x54b1d9();'use strict';Object[a20_0x90f580(0x111)](exports,'__esModule',{'value':!![]}),exports['FileIndex']=void 0x0;const path=require(a20_0x90f580(0x10b));class FileIndex{constructor(_0x395e0a){const _0x3056ac=a20_0x90f580;this[_0x3056ac(0x11d)]=_0x395e0a,this[_0x3056ac(0x115)]=new Map();}static[a20_0x90f580(0x107)](_0x281c7c){const _0x1276dc=a20_0x90f580,_0x2c9d94=new FileIndex(_0x281c7c);return _0x2c9d94['buildIndex'](Object[_0x1276dc(0xfb)](_0x281c7c)||[]),_0x2c9d94;}static['fromFileList'](_0x2bbd47){const _0x4b4075=new FileIndex(undefined);return _0x4b4075['buildIndex'](_0x2bbd47||[]),_0x4b4075;}get[a20_0x90f580(0x100)](){const _0x4d9978=a20_0x90f580;return this[_0x4d9978(0x11d)]??{};}[a20_0x90f580(0x103)](_0x5f49aa){const _0x5b7b64=a20_0x90f580,_0x15ab25=this[_0x5b7b64(0x113)](_0x5f49aa);if(!_0x15ab25||_0x15ab25[_0x5b7b64(0x104)]===0x0)return[];const _0x4f4d67=[..._0x15ab25][_0x5b7b64(0x10d)](_0x4130b1=>_0x4130b1[_0x5b7b64(0x109)]),_0x405b28=Math[_0x5b7b64(0x10a)](..._0x4f4d67),_0x940216=[..._0x15ab25][_0x5b7b64(0x11a)](_0x58937e=>_0x58937e[_0x5b7b64(0x109)]===_0x405b28);return _0x940216;}[a20_0x90f580(0x119)](_0x51ef53){const _0x423903=a20_0x90f580;for(const _0x5ac894 of _0x51ef53){for(const _0x507135 of this[_0x423903(0x118)](_0x5ac894)){let _0x585e92=this[_0x423903(0x115)][_0x423903(0xfd)](_0x507135);_0x585e92===undefined&&(_0x585e92=new Set(),this[_0x423903(0x115)][_0x423903(0x114)](_0x507135,_0x585e92)),_0x585e92[_0x423903(0x11c)](_0x5ac894);}}}[a20_0x90f580(0x118)](_0x4c6960){const _0x5e23de=a20_0x90f580;_0x4c6960=this[_0x5e23de(0x11b)](_0x4c6960);const _0x3655b7=[_0x4c6960];while(_0x4c6960[_0x5e23de(0x112)](path['sep'])){_0x4c6960=_0x4c6960[_0x5e23de(0xff)](_0x4c6960['indexOf'](path[_0x5e23de(0x105)])+path['sep'][_0x5e23de(0x109)],_0x4c6960[_0x5e23de(0x109)]),_0x3655b7[_0x5e23de(0x102)](_0x4c6960);}return _0x3655b7;}[a20_0x90f580(0x113)](_0x3fa218){const _0x1aeb53=a20_0x90f580;if(!_0x3fa218)return undefined;_0x3fa218=this[_0x1aeb53(0x11b)](_0x3fa218);for(const _0x2f94eb of this['generateSubPaths'](_0x3fa218)){if(this['fileIndex'][_0x1aeb53(0x10f)](_0x2f94eb))return this[_0x1aeb53(0x115)][_0x1aeb53(0xfd)](_0x2f94eb);}return undefined;}[a20_0x90f580(0x11b)](_0x8cd8b8){const _0x2d905f=a20_0x90f580;if(_0x8cd8b8&&(_0x8cd8b8[_0x2d905f(0x101)]('/')||_0x8cd8b8[_0x2d905f(0x101)]('\x5c')))return _0x8cd8b8[_0x2d905f(0x11e)](0x1);return _0x8cd8b8;}}function a20_0x7a2a(_0x330887,_0x380750){const _0x9fc923=a20_0x5cb0();return a20_0x7a2a=function(_0x54b1d9,_0x59c823){_0x54b1d9=_0x54b1d9-0xfb;let _0x5cb0e0=_0x9fc923[_0x54b1d9];return _0x5cb0e0;},a20_0x7a2a(_0x330887,_0x380750);}exports['FileIndex']=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_0x13061f=a21_0x3eaa;(function(_0x2824ca,_0x54c3d3){const _0x5c1193=a21_0x3eaa,_0x309c4a=_0x2824ca();while(!![]){try{const _0x161683=-parseInt(_0x5c1193(0x17f))/0x1*(-parseInt(_0x5c1193(0x18c))/0x2)+parseInt(_0x5c1193(0x195))/0x3*(parseInt(_0x5c1193(0x19f))/0x4)+parseInt(_0x5c1193(0x184))/0x5*(-parseInt(_0x5c1193(0x191))/0x6)+-parseInt(_0x5c1193(0x194))/0x7*(-parseInt(_0x5c1193(0x18e))/0x8)+parseInt(_0x5c1193(0x1a0))/0x9*(-parseInt(_0x5c1193(0x196))/0xa)+parseInt(_0x5c1193(0x192))/0xb*(-parseInt(_0x5c1193(0x199))/0xc)+parseInt(_0x5c1193(0x19e))/0xd*(-parseInt(_0x5c1193(0x19b))/0xe);if(_0x161683===_0x54c3d3)break;else _0x309c4a['push'](_0x309c4a['shift']());}catch(_0x2bab3c){_0x309c4a['push'](_0x309c4a['shift']());}}}(a21_0x184d,0x28d5f));const a21_0xe96380=(function(){let _0x574457=!![];return function(_0x37ef34,_0x44e1b7){const _0x365769=_0x574457?function(){if(_0x44e1b7){const _0x37d377=_0x44e1b7['apply'](_0x37ef34,arguments);return _0x44e1b7=null,_0x37d377;}}:function(){};return _0x574457=![],_0x365769;};}()),a21_0x2fdd4b=a21_0xe96380(this,function(){const _0x3486f6=a21_0x3eaa;return a21_0x2fdd4b[_0x3486f6(0x186)]()['search'](_0x3486f6(0x183))[_0x3486f6(0x186)]()['constructor'](a21_0x2fdd4b)[_0x3486f6(0x189)](_0x3486f6(0x183));});a21_0x2fdd4b();function a21_0x184d(){const _0x100f3d=['errorMap','ScanResultsImpl','766218gWFgEJ','478643LiqrDq','selectStats','7sfmLhp','640767mwUHfU','1130fjAHFS','stats','defineProperty','36PQvRbQ','path','42154nXlehP','hash','map','143neCozl','4ROkUcq','5877znHkxt','1JBygMm','keys','sep','forEach','(((.+)+)+)+$','5tPPAsw','selectFiles','toString','test','all','search','errors','filter','49294eRSUVw','normalize','2353432rkdqMf'];a21_0x184d=function(){return _0x100f3d;};return a21_0x184d();}'use strict';Object[a21_0x13061f(0x198)](exports,'__esModule',{'value':!![]}),exports[a21_0x13061f(0x190)]=void 0x0;const path=require(a21_0x13061f(0x19a));class ScanResultsImpl{constructor(_0x10c5f8,_0x187b57,_0x4b0c56){const _0x1851c2=a21_0x13061f;this[_0x1851c2(0x197)]=_0x10c5f8,this[_0x1851c2(0x18f)]=_0x187b57,this[_0x1851c2(0x19c)]=_0x4b0c56;}[a21_0x13061f(0x18a)](){const _0x2b5a03=a21_0x13061f;return this[_0x2b5a03(0x18f)];}[a21_0x13061f(0x188)](){const _0x152f76=a21_0x13061f;return this[_0x152f76(0x197)];}[a21_0x13061f(0x193)](_0xf601f9){const _0x1ef7eb=a21_0x13061f,_0x3785ea={};return Object[_0x1ef7eb(0x180)](this[_0x1ef7eb(0x197)])[_0x1ef7eb(0x182)](_0x493192=>{const _0x32542b=_0x1ef7eb;_0xf601f9[_0x32542b(0x187)](_0x493192)&&(_0x3785ea[_0x493192]=this[_0x32542b(0x197)][_0x493192]);}),_0x3785ea;}[a21_0x13061f(0x185)](_0x2952f4,_0x5f57c4){const _0x3f8667=a21_0x13061f;return _0x5f57c4=path[_0x3f8667(0x18d)](_0x5f57c4+path[_0x3f8667(0x181)]),Object[_0x3f8667(0x180)](this[_0x3f8667(0x197)])[_0x3f8667(0x18b)](_0x12ae25=>_0x12ae25&&_0x2952f4[_0x3f8667(0x187)](_0x12ae25))[_0x3f8667(0x19d)](_0x40c348=>path[_0x3f8667(0x18d)](_0x40c348)['replace'](_0x5f57c4,''));}}function a21_0x3eaa(_0xd36ecb,_0xec219a){const _0x1a6f06=a21_0x184d();return a21_0x3eaa=function(_0x2fdd4b,_0xe96380){_0x2fdd4b=_0x2fdd4b-0x17f;let _0x184d9c=_0x1a6f06[_0x2fdd4b];return _0x184d9c;},a21_0x3eaa(_0xd36ecb,_0xec219a);}exports[a21_0x13061f(0x190)]=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_0x3ac03c=a22_0x4738;function a22_0x4738(_0x3ee5e3,_0x30ddd7){const _0x426b27=a22_0x5f43();return a22_0x4738=function(_0x3117f5,_0x31292a){_0x3117f5=_0x3117f5-0xbc;let _0x5f4395=_0x426b27[_0x3117f5];return _0x5f4395;},a22_0x4738(_0x3ee5e3,_0x30ddd7);}function a22_0x5f43(){const _0x37811c=['crypto','4222656AwVCaJ','set','1074684PpoWoU','88ahRRtb','createReadStream','computeStats','EMPTY-no-js-files','R_OK','digest','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','SHA1-','basename','35391528pFuukk','update','search','8hSlKcx','1397530KILdJw','findFiles','sort','addFilesFromDir','info','directory','(((.+)+)+)+$','.git','findit2','open','ScanResultsImpl','error','Scanner','4ulAhDl','add','constructor','4500kUGzLj','hasReadAccess','statsForFile','warn','logger','path','112654EKNcyq','733235KrtPIv','resolve','hash','node_modules','length','join','__esModule','6104AfMYoN','startsWith','createHash','21WitazH','scan','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','file'];a22_0x5f43=function(){return _0x37811c;};return a22_0x5f43();}(function(_0x20c68c,_0x1a6636){const _0x55bf34=a22_0x4738,_0x427104=_0x20c68c();while(!![]){try{const _0x15fdf7=-parseInt(_0x55bf34(0xca))/0x1*(parseInt(_0x55bf34(0xc1))/0x2)+-parseInt(_0x55bf34(0xda))/0x3+-parseInt(_0x55bf34(0xe9))/0x4*(parseInt(_0x55bf34(0xcb))/0x5)+parseInt(_0x55bf34(0xdc))/0x6*(parseInt(_0x55bf34(0xd5))/0x7)+parseInt(_0x55bf34(0xd2))/0x8*(parseInt(_0x55bf34(0xc4))/0x9)+parseInt(_0x55bf34(0xea))/0xa*(-parseInt(_0x55bf34(0xdd))/0xb)+parseInt(_0x55bf34(0xe6))/0xc;if(_0x15fdf7===_0x1a6636)break;else _0x427104['push'](_0x427104['shift']());}catch(_0x1b9f0b){_0x427104['push'](_0x427104['shift']());}}}(a22_0x5f43,0xc9296));const a22_0x31292a=(function(){let _0x56cbb1=!![];return function(_0xc3f0d3,_0x29376){const _0x12ff7c=_0x56cbb1?function(){if(_0x29376){const _0x4bdbf1=_0x29376['apply'](_0xc3f0d3,arguments);return _0x29376=null,_0x4bdbf1;}}:function(){};return _0x56cbb1=![],_0x12ff7c;};}()),a22_0x3117f5=a22_0x31292a(this,function(){const _0x2487cb=a22_0x4738;return a22_0x3117f5['toString']()['search']('(((.+)+)+)+$')['toString']()[_0x2487cb(0xc3)](a22_0x3117f5)[_0x2487cb(0xe8)](_0x2487cb(0xf0));});a22_0x3117f5();'use strict';Object['defineProperty'](exports,a22_0x3ac03c(0xd1),{'value':!![]}),exports[a22_0x3ac03c(0xc0)]=void 0x0;const crypto=require(a22_0x3ac03c(0xd9)),fs=require('fs'),path=require(a22_0x3ac03c(0xc9)),scan_results_1=require('./scan-results');class Scanner{constructor(_0x1516a5){this['logger']=_0x1516a5;}async[a22_0x3ac03c(0xd6)](_0x5e4f39,_0x1c61a9,_0x376be3,_0x1c6a0c){const _0x73fca6=a22_0x3ac03c,_0x414315=await this['findFiles'](_0x5e4f39,_0x1c61a9,_0x1c6a0c);return this[_0x73fca6(0xdf)](_0x414315,_0x376be3);}async['computeStats'](_0x4063db,_0x3843df){const _0x414554=a22_0x3ac03c;if(_0x4063db[_0x414554(0xcf)]===0x0)return new scan_results_1[(_0x414554(0xbe))]({},new Map(),_0x414554(0xe0));const _0x60c9b0=[],_0x590bc6={},_0x5b953b=new Map();for(const _0x11b899 of _0x4063db){try{const _0x18c65f=await this[_0x414554(0xc6)](_0x11b899,!_0x3843df);!_0x3843df&&_0x60c9b0['push'](_0x18c65f[_0x414554(0xcd)]),_0x590bc6[_0x11b899]=_0x18c65f;}catch(_0x20e996){_0x5b953b[_0x414554(0xdb)](_0x11b899,_0x20e996);}}let _0x524a2e;if(!_0x3843df){const _0xa1e7c5=_0x60c9b0[_0x414554(0xec)]()[_0x414554(0xd0)](),_0x3ab7c0=crypto[_0x414554(0xd4)]('sha1')['update'](_0xa1e7c5)[_0x414554(0xe2)]('hex');_0x524a2e=_0x414554(0xe4)+_0x3ab7c0;}else _0x524a2e=_0x3843df;return new scan_results_1[(_0x414554(0xbe))](_0x590bc6,_0x5b953b,_0x524a2e);}async[a22_0x3ac03c(0xeb)](_0x133f55,_0x39a9fa,_0x240473){const _0x344fc5=a22_0x3ac03c,_0x51060f=new Set();await this[_0x344fc5(0xed)](_0x51060f,_0x133f55,_0x39a9fa);for(const _0x16ab9c of _0x240473??[]){if(_0x16ab9c){const _0x4b397e=path[_0x344fc5(0xcc)](_0x16ab9c);try{await this[_0x344fc5(0xed)](_0x51060f,_0x4b397e,_0x39a9fa);}catch(_0x5965d9){this[_0x344fc5(0xc8)][_0x344fc5(0xbf)]('Specified\x20extraPaths\x20does\x20not\x20exist!',_0x5965d9);}}}return Array['from'](_0x51060f);}static[a22_0x3ac03c(0xc5)](_0x3c30b0){const _0xc2f7e7=a22_0x3ac03c;try{return fs['accessSync'](_0x3c30b0,fs['constants'][_0xc2f7e7(0xe1)]),!![];}catch{return![];}}async['addFilesFromDir'](_0x577199,_0x35539a,_0xe30c1e){return new Promise((_0x5c4bbf,_0x5d90cb)=>{const _0xb2c60d=a22_0x4738;let _0x2e805e;if(!_0x35539a){_0x5d90cb(new Error(_0xb2c60d(0xe3)));return;}this['logger'][_0xb2c60d(0xee)]('Indexing\x20files\x20in\x20'+path[_0xb2c60d(0xcc)](_0x35539a));const _0x316b32=findit(_0x35539a);_0x316b32['on'](_0xb2c60d(0xbf),_0xdf48a6=>{_0x2e805e=_0xdf48a6;return;}),_0x316b32['on'](_0xb2c60d(0xef),(_0x1aeac5,_0x8fed6f,_0x202ce3)=>{const _0x37c27a=_0xb2c60d,_0x14a164=path[_0x37c27a(0xe5)](_0x1aeac5);!Scanner[_0x37c27a(0xc5)](_0x1aeac5)&&(this[_0x37c27a(0xc8)][_0x37c27a(0xc7)]('can\x27t\x20access\x20path:\x20['+_0x1aeac5+_0x37c27a(0xd7)),_0x202ce3()),(_0x14a164===_0x37c27a(0xf1)||_0x14a164===_0x37c27a(0xce))&&(!path[_0x37c27a(0xcc)](_0x35539a)[_0x37c27a(0xd3)](path[_0x37c27a(0xcc)](_0x1aeac5))&&_0x202ce3());}),_0x316b32['on'](_0xb2c60d(0xd8),_0x2762bb=>{const _0xe92f1e=_0xb2c60d;_0xe30c1e['test'](_0x2762bb)&&_0x577199[_0xe92f1e(0xc2)](_0x2762bb);}),_0x316b32['on']('end',()=>{_0x2e805e?_0x5d90cb(_0x2e805e):_0x5c4bbf();});});}async[a22_0x3ac03c(0xc6)](_0x6896c3,_0x5adb46){return new Promise((_0x2d47c3,_0x546d3b)=>{const _0x3c151d=a22_0x4738,_0xa53aee=fs[_0x3c151d(0xde)](_0x6896c3);_0xa53aee['on']('error',_0x5a60af=>{_0x546d3b(_0x5a60af);}),_0xa53aee['on'](_0x3c151d(0xbd),()=>{let _0x58f092;_0x5adb46&&(_0x58f092=crypto['createHash']('sha1'));let _0xd3275f=0x0,_0x305b8a;const _0x237811=_0xa53aee['pipe'](split());_0x237811['on']('error',_0x1dd025=>{_0x305b8a=_0x1dd025;}),_0x237811['on']('data',_0x3222aa=>{const _0x46c3eb=a22_0x4738;_0x5adb46&&_0x58f092[_0x46c3eb(0xe7)](_0x3222aa),_0xd3275f++;}),_0x237811['on']('end',()=>{const _0x37edae=a22_0x4738;if(_0x305b8a)_0x546d3b(_0x305b8a);else{const _0x3e0f87=_0x5adb46?_0x58f092[_0x37edae(0xe2)]('hex'):undefined;_0x2d47c3({'hash':_0x3e0f87,'lines':_0xd3275f});}});});});}}exports[a22_0x3ac03c(0xc0)]=Scanner;const findit=require(a22_0x3ac03c(0xbc)),split=require('split');