lightrun 1.82.0 → 1.84.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 +8 -5
@@ -1 +1 @@
1
- const a15_0x387f45=a15_0x36c3;(function(_0x76beb7,_0x4be3c8){const _0x42d3f8=a15_0x36c3,_0x559155=_0x76beb7();while(!![]){try{const _0x100478=parseInt(_0x42d3f8(0x188))/0x1+parseInt(_0x42d3f8(0x18a))/0x2*(-parseInt(_0x42d3f8(0x180))/0x3)+-parseInt(_0x42d3f8(0x18e))/0x4+-parseInt(_0x42d3f8(0x181))/0x5*(-parseInt(_0x42d3f8(0x184))/0x6)+-parseInt(_0x42d3f8(0x183))/0x7*(parseInt(_0x42d3f8(0x185))/0x8)+parseInt(_0x42d3f8(0x18b))/0x9+parseInt(_0x42d3f8(0x18d))/0xa*(parseInt(_0x42d3f8(0x18f))/0xb);if(_0x100478===_0x4be3c8)break;else _0x559155['push'](_0x559155['shift']());}catch(_0x124a2d){_0x559155['push'](_0x559155['shift']());}}}(a15_0x1a72,0xa534c));const a15_0x560a7f=(function(){let _0x50af23=!![];return function(_0x20169c,_0x3534e2){const _0x48a576=_0x50af23?function(){const _0x1b3757=a15_0x36c3;if(_0x3534e2){const _0x58d1e0=_0x3534e2[_0x1b3757(0x182)](_0x20169c,arguments);return _0x3534e2=null,_0x58d1e0;}}:function(){};return _0x50af23=![],_0x48a576;};}()),a15_0x1747fb=a15_0x560a7f(this,function(){const _0x9ea05a=a15_0x36c3;return a15_0x1747fb[_0x9ea05a(0x187)]()['search']('(((.+)+)+)+$')[_0x9ea05a(0x187)]()[_0x9ea05a(0x189)](a15_0x1747fb)[_0x9ea05a(0x17d)](_0x9ea05a(0x186));});function a15_0x36c3(_0x21ccf6,_0x24b5d2){const _0x13230e=a15_0x1a72();return a15_0x36c3=function(_0x1747fb,_0x560a7f){_0x1747fb=_0x1747fb-0x17d;let _0x1a72d5=_0x13230e[_0x1747fb];return _0x1a72d5;},a15_0x36c3(_0x21ccf6,_0x24b5d2);}function a15_0x1a72(){const _0xdc245c=['3545648wLUCog','11VhaTrJ','search','push','defineProperty','2249031FxYjtX','88430YyBqXe','apply','35qStTfT','156oYeHjj','2152552ZkAOZc','(((.+)+)+)+$','toString','5560mtIrtQ','constructor','2drnhPz','9127026rGfhjt','mapSubtract','21786080qwcCWa'];a15_0x1a72=function(){return _0xdc245c;};return a15_0x1a72();}a15_0x1747fb();'use strict';Object[a15_0x387f45(0x17f)](exports,'__esModule',{'value':!![]}),exports[a15_0x387f45(0x18c)]=void 0x0;const mapSubtract=(_0x246296,_0x12cc50)=>{const _0x56f01b=a15_0x387f45,_0x174f88=[];for(const _0x21bc36 in _0x246296){!_0x12cc50[_0x21bc36]&&_0x174f88[_0x56f01b(0x17e)](_0x246296[_0x21bc36]);}return _0x174f88;};exports[a15_0x387f45(0x18c)]=mapSubtract;
1
+ const a15_0x13a550=a15_0x36a8;(function(_0x476cf4,_0x44551d){const _0x4664e7=a15_0x36a8,_0x160bc7=_0x476cf4();while(!![]){try{const _0x5c3283=-parseInt(_0x4664e7(0x1c4))/0x1+parseInt(_0x4664e7(0x1ca))/0x2*(-parseInt(_0x4664e7(0x1c2))/0x3)+-parseInt(_0x4664e7(0x1cd))/0x4+-parseInt(_0x4664e7(0x1c6))/0x5+parseInt(_0x4664e7(0x1c1))/0x6+-parseInt(_0x4664e7(0x1cf))/0x7+parseInt(_0x4664e7(0x1c8))/0x8;if(_0x5c3283===_0x44551d)break;else _0x160bc7['push'](_0x160bc7['shift']());}catch(_0x414f63){_0x160bc7['push'](_0x160bc7['shift']());}}}(a15_0xc1e9,0x42206));function a15_0x36a8(_0x2eb7b7,_0x7b362b){const _0xe09c45=a15_0xc1e9();return a15_0x36a8=function(_0x191f66,_0x4a15b0){_0x191f66=_0x191f66-0x1bf;let _0xc1e9d8=_0xe09c45[_0x191f66];return _0xc1e9d8;},a15_0x36a8(_0x2eb7b7,_0x7b362b);}const a15_0x4a15b0=(function(){let _0xe8cfe2=!![];return function(_0xe21fcc,_0x2b28aa){const _0x2461f8=_0xe8cfe2?function(){const _0x5a4e31=a15_0x36a8;if(_0x2b28aa){const _0x353fa2=_0x2b28aa[_0x5a4e31(0x1c3)](_0xe21fcc,arguments);return _0x2b28aa=null,_0x353fa2;}}:function(){};return _0xe8cfe2=![],_0x2461f8;};}()),a15_0x191f66=a15_0x4a15b0(this,function(){const _0x5a5e06=a15_0x36a8;return a15_0x191f66[_0x5a5e06(0x1cb)]()[_0x5a5e06(0x1cc)](_0x5a5e06(0x1ce))[_0x5a5e06(0x1cb)]()[_0x5a5e06(0x1bf)](a15_0x191f66)[_0x5a5e06(0x1cc)](_0x5a5e06(0x1ce));});a15_0x191f66();function a15_0xc1e9(){const _0x51a5de=['apply','517344ggjdno','__esModule','369350wOVipF','defineProperty','8266720YYAPyN','mapSubtract','2huXgeG','toString','search','746556FvvmBT','(((.+)+)+)+$','277235XPrzrF','constructor','push','2848044zxKPXI','1259106AEihSp'];a15_0xc1e9=function(){return _0x51a5de;};return a15_0xc1e9();}'use strict';Object[a15_0x13a550(0x1c7)](exports,a15_0x13a550(0x1c5),{'value':!![]}),exports[a15_0x13a550(0x1c9)]=void 0x0;const mapSubtract=(_0x484f89,_0x27da7c)=>{const _0x389a6c=a15_0x13a550,_0x23c9df=[];for(const _0x26f288 in _0x484f89){!_0x27da7c[_0x26f288]&&_0x23c9df[_0x389a6c(0x1c0)](_0x484f89[_0x26f288]);}return _0x23c9df;};exports[a15_0x13a550(0x1c9)]=mapSubtract;
@@ -1 +1 @@
1
- const a16_0x2fb661=a16_0x1758;(function(_0x35550a,_0x537b29){const _0x5534d5=a16_0x1758,_0x1d782e=_0x35550a();while(!![]){try{const _0x111737=-parseInt(_0x5534d5(0xa4))/0x1*(-parseInt(_0x5534d5(0x87))/0x2)+parseInt(_0x5534d5(0xb8))/0x3*(parseInt(_0x5534d5(0x88))/0x4)+-parseInt(_0x5534d5(0x8f))/0x5*(-parseInt(_0x5534d5(0x8a))/0x6)+-parseInt(_0x5534d5(0x8d))/0x7+-parseInt(_0x5534d5(0xb3))/0x8+parseInt(_0x5534d5(0xbb))/0x9+-parseInt(_0x5534d5(0xa8))/0xa;if(_0x111737===_0x537b29)break;else _0x1d782e['push'](_0x1d782e['shift']());}catch(_0x554dd1){_0x1d782e['push'](_0x1d782e['shift']());}}}(a16_0x2bff,0xa3050));function a16_0x2bff(){const _0x4e4a3b=['LIGHTRUN_WAIT_FOR_INIT','getBooleanValue','(((.+)+)+)+$','limitConfig','FUNCTION_NAME','agentConfigFile','version','stdErrThreshold','unversioned','../config','GAE_MODULE_VERSION','LIGHTRUN_API_ENDPOINT','LIGHTRUN_PROXY_HOST','extend','GAE_MODULE_NAME','81rXFSag','__esModule','search','defineProperty','4588980eehSGR','./getAgentConfig','registration','defaultConfig','K_SERVICE','AGENT_LOG_TARGET_DIR','validateSync','agentLogMaxFileCount','serviceContext','K_REVISION','LIGHTRUN_SECRET','8673520ZOVkhL','message','NO_CHECK_CERTIFICATE','LIGHTRUN_AGENT_CONFIG','agentLogLevel','3993ADdlwC','path','toString','5514795defeWw','GAE_VERSION','AGENT_LOG_LEVEL','LIGHTRUN_PROXY_USERNAME','normalizeConfig','LIGHTRUN_TAGS','agentLog','validateConfig','../util/utils','apply','GAE_DEPLOYMENT_ID','19692LpGBFX','2836bXxghQ','env','9906YwSTfG','LIGHTRUN_INIT_WAIT_TIME_MS','AGENT_LOG_MAX_FILE_SIZE_MB','2215493oceoUp','constructor','525dFqNWL','agentLogMaxFileSizeMb','LIGHTRUN_PROXY_PASSWORD','FETCH_BREAKPOINTS_ONCE','./limitConfig','metadata'];a16_0x2bff=function(){return _0x4e4a3b;};return a16_0x2bff();}const a16_0x5954a4=(function(){let _0x44450c=!![];return function(_0x4d1fba,_0x287196){const _0x403e62=_0x44450c?function(){const _0x55b9f5=a16_0x1758;if(_0x287196){const _0x4fec20=_0x287196[_0x55b9f5(0x85)](_0x4d1fba,arguments);return _0x287196=null,_0x4fec20;}}:function(){};return _0x44450c=![],_0x403e62;};}()),a16_0x2d3dfc=a16_0x5954a4(this,function(){const _0x18e258=a16_0x1758;return a16_0x2d3dfc[_0x18e258(0xba)]()[_0x18e258(0xa6)](_0x18e258(0x97))['toString']()[_0x18e258(0x8e)](a16_0x2d3dfc)[_0x18e258(0xa6)](_0x18e258(0x97));});a16_0x2d3dfc();function a16_0x1758(_0x3ebe79,_0x35ecfc){const _0x31478e=a16_0x2bff();return a16_0x1758=function(_0x2d3dfc,_0x5954a4){_0x2d3dfc=_0x2d3dfc-0x81;let _0x2bffa0=_0x31478e[_0x2d3dfc];return _0x2bffa0;},a16_0x1758(_0x3ebe79,_0x35ecfc);}'use strict';Object[a16_0x2fb661(0xa7)](exports,a16_0x2fb661(0xa5),{'value':!![]}),exports[a16_0x2fb661(0xbf)]=exports[a16_0x2fb661(0x83)]=void 0x0;const extend=require(a16_0x2fb661(0xa2)),config_1=require(a16_0x2fb661(0x9e)),utils_1=require(a16_0x2fb661(0x84)),getAgentConfig_1=require(a16_0x2fb661(0xa9)),limitConfig_1=require(a16_0x2fb661(0x93)),validateConfig=_0x166344=>{const _0x163d71=a16_0x2fb661,_0x2ed4f8={};try{config_1['configSchema'][_0x163d71(0xae)](_0x166344,{'abortEarly':![]});}catch(_0x3e2416){_0x3e2416['inner']['filter'](_0x4f32e7=>_0x4f32e7[_0x163d71(0xb9)]&&_0x4f32e7[_0x163d71(0xb4)])['forEach'](_0x45ae01=>{_0x2ed4f8[_0x45ae01['path']]=_0x45ae01['message'];});}return _0x2ed4f8;};exports[a16_0x2fb661(0x83)]=validateConfig;const normalizeConfig=_0x231dff=>{const _0x27860f=a16_0x2fb661,_0x41382d={'serviceContext':{'service':process['env']['GAE_SERVICE']??process[_0x27860f(0x89)][_0x27860f(0xa3)]??process[_0x27860f(0x89)][_0x27860f(0xac)],'version':process[_0x27860f(0x89)][_0x27860f(0xbc)]??process['env'][_0x27860f(0x9f)]??process[_0x27860f(0x89)][_0x27860f(0xb1)],'minorVersion_':process[_0x27860f(0x89)][_0x27860f(0x86)]??process['env']['GAE_MINOR_VERSION']},'metadata':{'filename':process[_0x27860f(0x89)]['LIGHTRUN_METADATA_FILE'],'registration':{}},'lightrunSecret':process[_0x27860f(0x89)][_0x27860f(0xb2)],'apiEndpoint':process['env'][_0x27860f(0xa0)],'noCheckCertificate':(0x0,utils_1[_0x27860f(0x96)])(process['env'][_0x27860f(0xb5)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x27860f(0x96)])(process[_0x27860f(0x89)][_0x27860f(0x92)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process[_0x27860f(0x89)][_0x27860f(0x95)]),'lightrunInitWaitTimeMs':process[_0x27860f(0x89)][_0x27860f(0x8b)],'agentLog':_0x231dff?.[_0x27860f(0x82)]??{},'proxy':{'host':process['env'][_0x27860f(0xa1)],'port':parseInt(process[_0x27860f(0x89)]['LIGHTRUN_PROXY_PORT']??'')||undefined,'username':process['env'][_0x27860f(0xbe)],'password':process[_0x27860f(0x89)][_0x27860f(0x91)]}};process[_0x27860f(0x89)]['LIGHTRUN_STD_ERR_THRESHOLD']!==undefined&&(_0x41382d[_0x27860f(0x82)][_0x27860f(0x9c)]=process[_0x27860f(0x89)]['LIGHTRUN_STD_ERR_THRESHOLD']);process[_0x27860f(0x89)]['AGENT_LOG_LEVEL']!==undefined&&(_0x41382d[_0x27860f(0x82)][_0x27860f(0xb7)]=process[_0x27860f(0x89)][_0x27860f(0xbd)]);process[_0x27860f(0x89)][_0x27860f(0xad)]!==undefined&&(_0x41382d[_0x27860f(0x82)]['agentLogTargetDir']=process[_0x27860f(0x89)][_0x27860f(0xad)]);process[_0x27860f(0x89)]['AGENT_LOG_MAX_FILE_COUNT']!==undefined&&(_0x41382d[_0x27860f(0x82)][_0x27860f(0xaf)]=parseInt(process[_0x27860f(0x89)]['AGENT_LOG_MAX_FILE_COUNT']));process['env'][_0x27860f(0x8c)]!==undefined&&(_0x41382d[_0x27860f(0x82)][_0x27860f(0x90)]=parseInt(process[_0x27860f(0x89)][_0x27860f(0x8c)]));process['env'][_0x27860f(0x99)]&&(_0x41382d[_0x27860f(0xb0)]['service']=process[_0x27860f(0x89)][_0x27860f(0x99)],_0x41382d['serviceContext'][_0x27860f(0x9b)]=_0x27860f(0x9d));process[_0x27860f(0x89)][_0x27860f(0x81)]&&(_0x41382d[_0x27860f(0x94)][_0x27860f(0xaa)]={'tags':process[_0x27860f(0x89)][_0x27860f(0x81)]['split'](',')});const _0x16c0d6=(0x0,getAgentConfig_1['getAgentConfig'])(process[_0x27860f(0x89)][_0x27860f(0xb6)]??_0x231dff?.[_0x27860f(0x9a)]??config_1[_0x27860f(0xab)][_0x27860f(0x9a)]),_0x53700b=(0x0,limitConfig_1[_0x27860f(0x98)])(extend(!![],{},config_1[_0x27860f(0xab)],_0x16c0d6,_0x231dff,_0x41382d)),_0x53d153=(0x0,exports['validateConfig'])(_0x53700b);return{..._0x53700b,'errors':_0x53d153};};exports[a16_0x2fb661(0xbf)]=normalizeConfig;
1
+ const a16_0x2a02d7=a16_0x37ca;function a16_0x58b4(){const _0x5c6707=['./limitConfig','LIGHTRUN_TAGS','inner','9216319jHBPLH','LIGHTRUN_STD_ERR_THRESHOLD','AGENT_LOG_MAX_FILE_COUNT','FUNCTION_NAME','path','../util/utils','constructor','14251518ngyPcw','forEach','GAE_DEPLOYMENT_ID','metadata','5468508gSsvpG','registration','agentConfigFile','(((.+)+)+)+$','GAE_VERSION','defineProperty','LIGHTRUN_PROXY_PORT','LIGHTRUN_API_ENDPOINT','limitConfig','56370KxeOzP','LIGHTRUN_WAIT_FOR_INIT','split','version','filter','LIGHTRUN_PROXY_PASSWORD','env','20IwNxFq','validateSync','message','6fQCuDr','agentLogTargetDir','AGENT_LOG_TARGET_DIR','configSchema','LIGHTRUN_AGENT_CONFIG','agentLogMaxFileCount','NO_CHECK_CERTIFICATE','validateConfig','GAE_MINOR_VERSION','FETCH_BREAKPOINTS_ONCE','__esModule','getBooleanValue','agentLog','LIGHTRUN_PROXY_USERNAME','extend','serviceContext','LIGHTRUN_PROXY_HOST','215181MCSSqc','getAgentConfig','agentLogMaxFileSizeMb','K_SERVICE','stdErrThreshold','search','7269790LWeXLG','LIGHTRUN_METADATA_FILE','LIGHTRUN_SECRET','3525680eZDdeS','defaultConfig','2euBDFm'];a16_0x58b4=function(){return _0x5c6707;};return a16_0x58b4();}(function(_0x5318eb,_0x117995){const _0x3511f3=a16_0x37ca,_0x3aa845=_0x5318eb();while(!![]){try{const _0x4a5a6b=-parseInt(_0x3511f3(0x7e))/0x1*(-parseInt(_0x3511f3(0x89))/0x2)+parseInt(_0x3511f3(0xa1))/0x3+parseInt(_0x3511f3(0x98))/0x4+parseInt(_0x3511f3(0x84))/0x5*(parseInt(_0x3511f3(0xab))/0x6)+parseInt(_0x3511f3(0x8d))/0x7+-parseInt(_0x3511f3(0x87))/0x8+-parseInt(_0x3511f3(0x94))/0x9*(parseInt(_0x3511f3(0xa8))/0xa);if(_0x4a5a6b===_0x117995)break;else _0x3aa845['push'](_0x3aa845['shift']());}catch(_0x355314){_0x3aa845['push'](_0x3aa845['shift']());}}}(a16_0x58b4,0xba837));const a16_0x190223=(function(){let _0x5d15d1=!![];return function(_0x4db4f9,_0xcd6f87){const _0x3dc5ec=_0x5d15d1?function(){if(_0xcd6f87){const _0x498ba6=_0xcd6f87['apply'](_0x4db4f9,arguments);return _0xcd6f87=null,_0x498ba6;}}:function(){};return _0x5d15d1=![],_0x3dc5ec;};}()),a16_0x45dc29=a16_0x190223(this,function(){const _0x2f9080=a16_0x37ca;return a16_0x45dc29['toString']()[_0x2f9080(0x83)](_0x2f9080(0x9b))['toString']()[_0x2f9080(0x93)](a16_0x45dc29)['search'](_0x2f9080(0x9b));});a16_0x45dc29();'use strict';Object[a16_0x2a02d7(0x9d)](exports,a16_0x2a02d7(0xb5),{'value':!![]}),exports['normalizeConfig']=exports[a16_0x2a02d7(0xb2)]=void 0x0;const extend=require(a16_0x2a02d7(0xb9)),config_1=require('../config'),utils_1=require(a16_0x2a02d7(0x92)),getAgentConfig_1=require('./getAgentConfig'),limitConfig_1=require(a16_0x2a02d7(0x8a)),validateConfig=_0x1d4eb6=>{const _0x11c594=a16_0x2a02d7,_0x196e4a={};try{config_1[_0x11c594(0xae)][_0x11c594(0xa9)](_0x1d4eb6,{'abortEarly':![]});}catch(_0xf949d1){_0xf949d1[_0x11c594(0x8c)][_0x11c594(0xa5)](_0x2669a5=>_0x2669a5[_0x11c594(0x91)]&&_0x2669a5[_0x11c594(0xaa)])[_0x11c594(0x95)](_0x3099b1=>{const _0x204e4a=_0x11c594;_0x196e4a[_0x3099b1[_0x204e4a(0x91)]]=_0x3099b1[_0x204e4a(0xaa)];});}return _0x196e4a;};function a16_0x37ca(_0x4bb9d2,_0x5eb3f9){const _0x3f7023=a16_0x58b4();return a16_0x37ca=function(_0x45dc29,_0x190223){_0x45dc29=_0x45dc29-0x7c;let _0x58b450=_0x3f7023[_0x45dc29];return _0x58b450;},a16_0x37ca(_0x4bb9d2,_0x5eb3f9);}exports[a16_0x2a02d7(0xb2)]=validateConfig;const normalizeConfig=_0x7487d7=>{const _0x313c81=a16_0x2a02d7,_0x2ba2a0={'serviceContext':{'service':process[_0x313c81(0xa7)]['GAE_SERVICE']??process['env']['GAE_MODULE_NAME']??process[_0x313c81(0xa7)][_0x313c81(0x81)],'version':process[_0x313c81(0xa7)][_0x313c81(0x9c)]??process['env']['GAE_MODULE_VERSION']??process[_0x313c81(0xa7)]['K_REVISION'],'minorVersion_':process[_0x313c81(0xa7)][_0x313c81(0x96)]??process[_0x313c81(0xa7)][_0x313c81(0xb3)]},'metadata':{'filename':process[_0x313c81(0xa7)][_0x313c81(0x85)],'registration':{}},'lightrunSecret':process[_0x313c81(0xa7)][_0x313c81(0x86)],'apiEndpoint':process[_0x313c81(0xa7)][_0x313c81(0x9f)],'noCheckCertificate':(0x0,utils_1[_0x313c81(0xb6)])(process['env'][_0x313c81(0xb1)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x313c81(0xb6)])(process[_0x313c81(0xa7)][_0x313c81(0xb4)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process['env'][_0x313c81(0xa2)]),'lightrunInitWaitTimeMs':process[_0x313c81(0xa7)]['LIGHTRUN_INIT_WAIT_TIME_MS'],'agentLog':_0x7487d7?.[_0x313c81(0xb7)]??{},'proxy':{'host':process[_0x313c81(0xa7)][_0x313c81(0x7d)],'port':parseInt(process['env'][_0x313c81(0x9e)]??'')||undefined,'username':process['env'][_0x313c81(0xb8)],'password':process['env'][_0x313c81(0xa6)]}};process[_0x313c81(0xa7)][_0x313c81(0x8e)]!==undefined&&(_0x2ba2a0[_0x313c81(0xb7)][_0x313c81(0x82)]=process[_0x313c81(0xa7)][_0x313c81(0x8e)]);process[_0x313c81(0xa7)]['AGENT_LOG_LEVEL']!==undefined&&(_0x2ba2a0[_0x313c81(0xb7)]['agentLogLevel']=process[_0x313c81(0xa7)]['AGENT_LOG_LEVEL']);process[_0x313c81(0xa7)][_0x313c81(0xad)]!==undefined&&(_0x2ba2a0[_0x313c81(0xb7)][_0x313c81(0xac)]=process[_0x313c81(0xa7)][_0x313c81(0xad)]);process[_0x313c81(0xa7)][_0x313c81(0x8f)]!==undefined&&(_0x2ba2a0[_0x313c81(0xb7)][_0x313c81(0xb0)]=parseInt(process['env']['AGENT_LOG_MAX_FILE_COUNT']));process[_0x313c81(0xa7)]['AGENT_LOG_MAX_FILE_SIZE_MB']!==undefined&&(_0x2ba2a0[_0x313c81(0xb7)][_0x313c81(0x80)]=parseInt(process['env']['AGENT_LOG_MAX_FILE_SIZE_MB']));process[_0x313c81(0xa7)][_0x313c81(0x90)]&&(_0x2ba2a0[_0x313c81(0x7c)]['service']=process[_0x313c81(0xa7)]['FUNCTION_NAME'],_0x2ba2a0['serviceContext'][_0x313c81(0xa4)]='unversioned');process[_0x313c81(0xa7)][_0x313c81(0x8b)]&&(_0x2ba2a0[_0x313c81(0x97)][_0x313c81(0x99)]={'tags':process[_0x313c81(0xa7)][_0x313c81(0x8b)][_0x313c81(0xa3)](',')});const _0x4c068d=(0x0,getAgentConfig_1[_0x313c81(0x7f)])(process[_0x313c81(0xa7)][_0x313c81(0xaf)]??_0x7487d7?.[_0x313c81(0x9a)]??config_1[_0x313c81(0x88)][_0x313c81(0x9a)]),_0x33fe8d=(0x0,limitConfig_1[_0x313c81(0xa0)])(extend(!![],{},config_1[_0x313c81(0x88)],_0x4c068d,_0x7487d7,_0x2ba2a0)),_0x38a7ab=(0x0,exports[_0x313c81(0xb2)])(_0x33fe8d);return{..._0x33fe8d,'errors':_0x38a7ab};};exports['normalizeConfig']=normalizeConfig;
@@ -1 +1 @@
1
- const a17_0x52c392=a17_0x2ab8;(function(_0x3107c4,_0x55646f){const _0x30fb32=a17_0x2ab8,_0x2a79f2=_0x3107c4();while(!![]){try{const _0x55b700=parseInt(_0x30fb32(0x146))/0x1*(parseInt(_0x30fb32(0x145))/0x2)+-parseInt(_0x30fb32(0x142))/0x3*(parseInt(_0x30fb32(0x14a))/0x4)+-parseInt(_0x30fb32(0x14b))/0x5+-parseInt(_0x30fb32(0x154))/0x6*(parseInt(_0x30fb32(0x144))/0x7)+parseInt(_0x30fb32(0x150))/0x8+parseInt(_0x30fb32(0x14f))/0x9*(-parseInt(_0x30fb32(0x147))/0xa)+parseInt(_0x30fb32(0x152))/0xb;if(_0x55b700===_0x55646f)break;else _0x2a79f2['push'](_0x2a79f2['shift']());}catch(_0x270ab1){_0x2a79f2['push'](_0x2a79f2['shift']());}}}(a17_0x5bed,0xcdd6f));function a17_0x5bed(){const _0x1a65cd=['tokenize','6783282hwIfjn','10300576wTAAnl','push','20429464RJkxnh','(((.+)+)+)+$','18kZJXLq','apply','147999eHXtDB','toString','2559767lVLPSu','48542jsNBnB','40ooIMfE','10MyHUVS','search','./delimit','4VJTGjH','6862215NzGZRR','constructor','delimit'];a17_0x5bed=function(){return _0x1a65cd;};return a17_0x5bed();}const a17_0x3e15d2=(function(){let _0x5a58d7=!![];return function(_0x550c11,_0x34f1c4){const _0x298801=_0x5a58d7?function(){const _0x3b34e4=a17_0x2ab8;if(_0x34f1c4){const _0x9bc55b=_0x34f1c4[_0x3b34e4(0x141)](_0x550c11,arguments);return _0x34f1c4=null,_0x9bc55b;}}:function(){};return _0x5a58d7=![],_0x298801;};}()),a17_0x51fc6d=a17_0x3e15d2(this,function(){const _0x476a4b=a17_0x2ab8;return a17_0x51fc6d[_0x476a4b(0x143)]()['search'](_0x476a4b(0x153))[_0x476a4b(0x143)]()[_0x476a4b(0x14c)](a17_0x51fc6d)[_0x476a4b(0x148)](_0x476a4b(0x153));});a17_0x51fc6d();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a17_0x52c392(0x14e)]=void 0x0;function a17_0x2ab8(_0x1d6d5e,_0x230360){const _0x1c6b4d=a17_0x5bed();return a17_0x2ab8=function(_0x51fc6d,_0x3e15d2){_0x51fc6d=_0x51fc6d-0x141;let _0x5bed21=_0x1c6b4d[_0x51fc6d];return _0x5bed21;},a17_0x2ab8(_0x1d6d5e,_0x230360);}const delimit_1=require(a17_0x52c392(0x149)),tokenize=(_0x3cc264,_0x246aa4)=>{const _0x247989=a17_0x52c392;let _0x59067b=(0x0,delimit_1[_0x247989(0x14d)])(_0x3cc264,'$$');for(let _0x535a85=_0x246aa4-0x1;_0x535a85>=0x0;_0x535a85--){const _0x36f918=[];for(const _0x3f9158 of _0x59067b){_0x3f9158['v']?_0x36f918[_0x247989(0x151)](_0x3f9158):_0x36f918['push'](...(0x0,delimit_1[_0x247989(0x14d)])(_0x3f9158,'$'+_0x535a85));}_0x59067b=_0x36f918;}return _0x59067b;};exports[a17_0x52c392(0x14e)]=tokenize;
1
+ function a17_0x3fc0(){const _0x31d2b9=['1RrcTdF','381852Rfjvie','1243042FyJJjX','7pZPwas','apply','27CPlqAz','561060IFvgDu','delimit','search','(((.+)+)+)+$','2879810xzMira','__esModule','constructor','toString','tokenize','85HruKpA','27951011geXbBk','10670024VnHZXS','4531023JDAOnz','push'];a17_0x3fc0=function(){return _0x31d2b9;};return a17_0x3fc0();}const a17_0x518642=a17_0x43fc;(function(_0x2441b1,_0x104e31){const _0xb9dd53=a17_0x43fc,_0x2fdcfe=_0x2441b1();while(!![]){try{const _0x20b53f=parseInt(_0xb9dd53(0x1c7))/0x1*(-parseInt(_0xb9dd53(0x1c9))/0x2)+-parseInt(_0xb9dd53(0x1cc))/0x3*(parseInt(_0xb9dd53(0x1cd))/0x4)+-parseInt(_0xb9dd53(0x1c2))/0x5*(parseInt(_0xb9dd53(0x1c8))/0x6)+-parseInt(_0xb9dd53(0x1ca))/0x7*(-parseInt(_0xb9dd53(0x1c4))/0x8)+-parseInt(_0xb9dd53(0x1c5))/0x9+parseInt(_0xb9dd53(0x1bd))/0xa+parseInt(_0xb9dd53(0x1c3))/0xb;if(_0x20b53f===_0x104e31)break;else _0x2fdcfe['push'](_0x2fdcfe['shift']());}catch(_0x46c5b3){_0x2fdcfe['push'](_0x2fdcfe['shift']());}}}(a17_0x3fc0,0xa94dc));const a17_0xf9d691=(function(){let _0x5b5c8d=!![];return function(_0xaf1251,_0x1ed3f6){const _0x4e5414=_0x5b5c8d?function(){const _0x37dc0c=a17_0x43fc;if(_0x1ed3f6){const _0x3d2a5b=_0x1ed3f6[_0x37dc0c(0x1cb)](_0xaf1251,arguments);return _0x1ed3f6=null,_0x3d2a5b;}}:function(){};return _0x5b5c8d=![],_0x4e5414;};}()),a17_0x139e55=a17_0xf9d691(this,function(){const _0x4c45f7=a17_0x43fc;return a17_0x139e55['toString']()[_0x4c45f7(0x1cf)](_0x4c45f7(0x1d0))[_0x4c45f7(0x1c0)]()[_0x4c45f7(0x1bf)](a17_0x139e55)[_0x4c45f7(0x1cf)]('(((.+)+)+)+$');});a17_0x139e55();'use strict';Object['defineProperty'](exports,a17_0x518642(0x1be),{'value':!![]}),exports[a17_0x518642(0x1c1)]=void 0x0;function a17_0x43fc(_0x154cf6,_0x469e55){const _0x3f2b00=a17_0x3fc0();return a17_0x43fc=function(_0x139e55,_0xf9d691){_0x139e55=_0x139e55-0x1bd;let _0x3fc097=_0x3f2b00[_0x139e55];return _0x3fc097;},a17_0x43fc(_0x154cf6,_0x469e55);}const delimit_1=require('./delimit'),tokenize=(_0x3ee2e5,_0x565ae1)=>{const _0x119407=a17_0x518642;let _0x406c54=(0x0,delimit_1[_0x119407(0x1ce)])(_0x3ee2e5,'$$');for(let _0x2e55b1=_0x565ae1-0x1;_0x2e55b1>=0x0;_0x2e55b1--){const _0x1c7383=[];for(const _0x9161b3 of _0x406c54){_0x9161b3['v']?_0x1c7383[_0x119407(0x1c6)](_0x9161b3):_0x1c7383[_0x119407(0x1c6)](...(0x0,delimit_1[_0x119407(0x1ce)])(_0x9161b3,'$'+_0x2e55b1));}_0x406c54=_0x1c7383;}return _0x406c54;};exports['tokenize']=tokenize;
@@ -1 +1 @@
1
- const a18_0x33fb6a=a18_0x4b9b;(function(_0x555e5d,_0x11248f){const _0x4fa96a=a18_0x4b9b,_0x24f9b3=_0x555e5d();while(!![]){try{const _0xc231df=-parseInt(_0x4fa96a(0x181))/0x1+-parseInt(_0x4fa96a(0x1c0))/0x2+-parseInt(_0x4fa96a(0x193))/0x3*(-parseInt(_0x4fa96a(0x215))/0x4)+-parseInt(_0x4fa96a(0x1b7))/0x5+parseInt(_0x4fa96a(0x26d))/0x6*(parseInt(_0x4fa96a(0x24c))/0x7)+parseInt(_0x4fa96a(0x210))/0x8+parseInt(_0x4fa96a(0x179))/0x9;if(_0xc231df===_0x11248f)break;else _0x24f9b3['push'](_0x24f9b3['shift']());}catch(_0x365673){_0x24f9b3['push'](_0x24f9b3['shift']());}}}(a18_0x3383,0x6ab4e));const a18_0x424b85=(function(){let _0x1bd1c5=!![];return function(_0x44ae2a,_0x171f78){const _0x25cfba=_0x1bd1c5?function(){const _0x44089b=a18_0x4b9b;if(_0x171f78){const _0x4545fe=_0x171f78[_0x44089b(0x1bb)](_0x44ae2a,arguments);return _0x171f78=null,_0x4545fe;}}:function(){};return _0x1bd1c5=![],_0x25cfba;};}()),a18_0x312e10=a18_0x424b85(this,function(){const _0x15d1d2=a18_0x4b9b;return a18_0x312e10[_0x15d1d2(0x20f)]()[_0x15d1d2(0x1c9)](_0x15d1d2(0x214))[_0x15d1d2(0x20f)]()[_0x15d1d2(0x1ed)](a18_0x312e10)[_0x15d1d2(0x1c9)](_0x15d1d2(0x214));});function a18_0x4b9b(_0x523c07,_0x59f49f){const _0x15a20f=a18_0x3383();return a18_0x4b9b=function(_0x312e10,_0x424b85){_0x312e10=_0x312e10-0x15d;let _0x338309=_0x15a20f[_0x312e10];return _0x338309;},a18_0x4b9b(_0x523c07,_0x59f49f);}a18_0x312e10();'use strict';var __classPrivateFieldSet=this&&this[a18_0x33fb6a(0x258)]||function(_0x43d12a,_0x454b0b,_0x3ed8ed,_0x308b4a,_0x516b5f){const _0x51b450=a18_0x33fb6a;if(_0x308b4a==='m')throw new TypeError(_0x51b450(0x225));if(_0x308b4a==='a'&&!_0x516b5f)throw new TypeError(_0x51b450(0x219));if(typeof _0x454b0b===_0x51b450(0x1a8)?_0x43d12a!==_0x454b0b||!_0x516b5f:!_0x454b0b['has'](_0x43d12a))throw new TypeError(_0x51b450(0x1eb));return _0x308b4a==='a'?_0x516b5f[_0x51b450(0x239)](_0x43d12a,_0x3ed8ed):_0x516b5f?_0x516b5f['value']=_0x3ed8ed:_0x454b0b[_0x51b450(0x259)](_0x43d12a,_0x3ed8ed),_0x3ed8ed;},__classPrivateFieldGet=this&&this[a18_0x33fb6a(0x1c2)]||function(_0x35f799,_0x398ea8,_0x5bcfae,_0x355c48){const _0x1e6e19=a18_0x33fb6a;if(_0x5bcfae==='a'&&!_0x355c48)throw new TypeError(_0x1e6e19(0x269));if(typeof _0x398ea8===_0x1e6e19(0x1a8)?_0x35f799!==_0x398ea8||!_0x355c48:!_0x398ea8[_0x1e6e19(0x1d3)](_0x35f799))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x5bcfae==='m'?_0x355c48:_0x5bcfae==='a'?_0x355c48[_0x1e6e19(0x239)](_0x35f799):_0x355c48?_0x355c48[_0x1e6e19(0x1be)]:_0x398ea8['get'](_0x35f799);},_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_0x33fb6a(0x1b8)](exports,a18_0x33fb6a(0x222),{'value':!![]}),exports['Debuglet']=exports['CachedPromise']=void 0x0;function a18_0x3383(){const _0x40d663=['apply','createTime','inspect','value','breakpoints_fetch_failed','938836HzOAsW','env','__classPrivateFieldGet','events','isAtLeastInfo','once','AGENT_LOG_FILE','prettyError','removePerBreakpointQuota','search','blacklist','./blocklisting/patterns-blocklist-manager','name','normalizeConfig','wait','logMainConfigParams','scan','emit','readFile','has','action','mapSubtract','registered','get','agentLogMaxFileSizeMb','config','getClientConnectionTimeoutInSeconds','path','concat','.\x20Error:\x20','isRegistered','packageInfo','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','source-context.json','info','agentLog','Debuglet','stopped','EventEmitter','getBlocklist','enqueueBreakpointUpdate','entries','stringify','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','Scanner','constructor','findFiles','cwd','do\x20this.','\x20accepted\x20by\x20agent','globalPipingStatus','DEBUG','add','mainModule','Unique\x20ID\x20for\x20this\x20Application:\x20','initError','createPerBreakpointConditionQuota','.\x20message:\x20','...\x20[truncated]','EnvironmentMetadata','CAPTURE','allowExpressions','QuotaManager','fetchBreakpointsOnce','setCustomLogLevel','createDebuggee','./configuration-provider','isReady','type','\x09successfully\x20added\x20breakpoint\x20id\x20','expressions','redactionEnabled','stop','\x0a\x09condition:\x20','sendAgentLogsToServer','re-register\x20debuggee\x20','length','extend','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','toString','6786192kkYJRg','resolve','agentLogMaxFileCount','./v8/debugapi','(((.+)+)+)+$','4cUvtwa','breakpoints_fetch_registration_required','./config','./agent-logger','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','pipeLogs','logger','javascriptFileExtensions','LOG','./controller','seconds','clear','\x20(type:\x20','__esModule','condition','jsFileIndex','Private\x20method\x20is\x20not\x20writable','filename','debuglet','./io/file-index','RedactionManagerRE2JS','Debuglet\x20not\x20running','unref','SIGINT','format','addAndPipeLog','UNSPECIFIED','GAE_MINOR_VERSION','isRedactionActive','values','status','errors','caseInsensitive','Result:\x20\x0a','description','PipingManager','call','./debuglet-helpers/format','fetcherActive','fromFileStats','Registering\x20debuggee','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','location','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','promisify','utf8','readFullVersion','hash','ignoreQuota','existsSync','./io/sourcemapper','activeBreakpointMap','./util/utils','allowRootAsWorkingDirectory','getInitialLevel','2875999QWrYae','Blacklist:\x20\x0a\x09','Blacklist\x20Exceptions:\x20\x0a\x09','breakpoint_set','../types/stackdriver','NOT_SET','Error\x20processing\x20the\x20sourcemaps.','default','line','then','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','pipingManager','__classPrivateFieldSet','set','Debuggee\x20is\x20not\x20registered','agentLogTargetDir','message','waitForTransmissionQueueDrain','sourceMapDiagnostics','getLevel','debuggee','substring','clientConnectionTimeoutInSeconds','register','util','quotaCheck','log','internal','mapFiles','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','posix','isArray','fromEntries','6iDOByB','maxRequestRetryDelaySeconds','debug','listBreakpoints','Unknown\x20agentLogLevel\x20','agentLogLevel','warn','remainingHits','expirationTime','Found\x20breakpoint\x20with\x20invalid\x20action:','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','\x09Long\x20poll\x20completed.','./debuglet-helpers/mapSubtract','normalize','removeBreakpoint','Active\x20Breakpoints:\x20\x0a','registration_failed','removeListener','getProps','./environment-metadata','CachedPromise','setLevel','getRedactions','SIGTERM','create','isFinalState','breakpoints_fetched','join','parameters','sep','backoff','workingDirectory','Starting\x20debuggee','5356107HZhOer','start','\x09Notifying\x20server\x20about\x20error\x20for\x20','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','SIGQUIT','now','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','blacklist_exception','742090bRiyFo','Working\x20directory:\x20','sourceContext','\x09remove\x20breakpoint\x20id\x20','bind','Controller','):\x20pattern:\x20','deregister','map','collectLogRequestId','\x0a\x09createdTime:\x20','ALLOW_EXPRESSIONS_MESSAGE','expirationSeconds','stdErrThreshold','enable','isLambda','quota','Error\x20scanning\x20the\x20filesystem.','714696VDIzPk','started','\x20caseInsensitive:\x20','forEach','./debuglet-helpers/createDebuggee','Registered\x20as\x20debuggee:\x20','./debuglet-helpers/normalizeConfig','../client/stackdriver/status-message','\x09adding\x20breakpoint','undefined','assert','Initializing\x20Node.js\x20agent\x20version:\x20','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','REDACTED_PLACEHOLDER','parse','./io/scanner','LOGPOINT:\x20','\x20to\x20','selectFiles','./reduction/redaction-manager-re2js','promiseResolve','function','Switching\x20globalPiping\x20status\x20from\x20','scheduleBreakpointFetch_\x20','breakpoints','Breakpoint','getSourceContextFromFile','replaceRedactedByValue','stringifyBreakpointForInfoLog','StatusMessage','breakpointUpdateIntervalSec','error','Scheduling\x20registration\x20in\x20','kill','object','waitForBreakpoints','2219540fGJOwu','defineProperty','shouldRedactByName','APP_ONLY'];a18_0x3383=function(){return _0x40d663;};return a18_0x3383();}const assert=require(a18_0x33fb6a(0x19d)),events_1=require(a18_0x33fb6a(0x1c3)),extend=require(a18_0x33fb6a(0x20d)),fs=require('fs'),path=require('path'),util=require(a18_0x33fb6a(0x264)),status_message_1=require(a18_0x33fb6a(0x19a)),stackdriver_1=require(a18_0x33fb6a(0x250)),agent_logger_1=require(a18_0x33fb6a(0x218)),patterns_blocklist_manager_1=require(a18_0x33fb6a(0x1cb)),config_1=require(a18_0x33fb6a(0x217)),configuration_provider_1=require(a18_0x33fb6a(0x202)),controller_1=require(a18_0x33fb6a(0x21e)),createDebuggee_1=require(a18_0x33fb6a(0x197)),format_1=require(a18_0x33fb6a(0x23a)),mapSubtract_1=require(a18_0x33fb6a(0x164)),normalizeConfig_1=require(a18_0x33fb6a(0x199)),environment_metadata_1=require(a18_0x33fb6a(0x16b)),file_index_1=require(a18_0x33fb6a(0x228)),scanner_1=require(a18_0x33fb6a(0x1a2)),SourceMapper=require(a18_0x33fb6a(0x247)),piping_manager_1=require('./piping-manager'),quota_manager_1=require('./quota-manager'),redaction_manager_1=require('./reduction/redaction-manager'),utils_1=require(a18_0x33fb6a(0x249)),debugapi=require(a18_0x33fb6a(0x213)),redaction_manager_re2js_1=require(a18_0x33fb6a(0x1a6)),readFilep=util[a18_0x33fb6a(0x241)](fs[a18_0x33fb6a(0x1d2)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x18aa54,_0x78c54d)=>{const _0x24c198=a18_0x33fb6a;let _0x508a49=_0x18aa54+util[_0x24c198(0x22d)]('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x78c54d['id'],_0x78c54d[_0x24c198(0x1d4)],util[_0x24c198(0x1bd)](_0x78c54d[_0x24c198(0x23f)]));if(_0x78c54d[_0x24c198(0x1bc)]){const _0x25afb3=Number(_0x78c54d[_0x24c198(0x1bc)][_0x24c198(0x21f)]),_0x4b4d93=new Date(_0x25afb3*0x3e8);_0x508a49+=_0x24c198(0x18b)+_0x4b4d93[_0x24c198(0x20f)]();}return _0x78c54d[_0x24c198(0x223)]&&(_0x508a49+=_0x24c198(0x209)+util[_0x24c198(0x1bd)](_0x78c54d[_0x24c198(0x223)])),_0x78c54d[_0x24c198(0x206)]&&(_0x508a49+='\x0a\x09expressions:\x20'+util['inspect'](_0x78c54d[_0x24c198(0x206)])),_0x508a49;},formatBreakpoints=(_0x4d83b3,_0x3b6377)=>_0x4d83b3+Object['keys'](_0x3b6377)[a18_0x33fb6a(0x189)](_0x583cf4=>formatBreakpoint('',_0x3b6377[_0x583cf4]))[a18_0x33fb6a(0x173)]('\x0a');class CachedPromise{constructor(){const _0x1cec08=a18_0x33fb6a;this[_0x1cec08(0x1a7)]=null,this['promise']=new Promise(_0x25a04d=>{const _0x43aa8a=_0x1cec08;this[_0x43aa8a(0x1a7)]=_0x25a04d;});}[a18_0x33fb6a(0x1d7)](){return this['promise'];}[a18_0x33fb6a(0x211)](){const _0x2bdfd5=a18_0x33fb6a;this[_0x2bdfd5(0x1a7)]&&(this[_0x2bdfd5(0x1a7)](),this[_0x2bdfd5(0x1a7)]=null);}}exports[a18_0x33fb6a(0x16c)]=CachedPromise;class IsReadyImpl{constructor(_0x368b8b){this['debuglet']=_0x368b8b;}['isReady'](){const _0x1855cf=a18_0x33fb6a;return this[_0x1855cf(0x227)][_0x1855cf(0x203)]();}}class Debuglet extends events_1[a18_0x33fb6a(0x1e6)]{constructor(_0x12a753,_0x5da0fa){const _0x359239=a18_0x33fb6a;super(),_Debuglet_instances[_0x359239(0x1f4)](this),_Debuglet_debug[_0x359239(0x259)](this,void 0x0),_Debuglet_v8debug[_0x359239(0x259)](this,void 0x0),_Debuglet_running[_0x359239(0x259)](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap[_0x359239(0x259)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x359239(0x259)](this,void 0x0),_Debuglet_breakpointFetched['set'](this,void 0x0),_Debuglet_debuggeeRegistered[_0x359239(0x259)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x359239(0x259)](this,null),this['isReadyManager']=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x359239(0x259)](this,void 0x0),_Debuglet_scanner['set'](this,void 0x0),_Debuglet_quotaManager[_0x359239(0x259)](this,void 0x0),_Debuglet_blocklistManager[_0x359239(0x259)](this,void 0x0),_Debuglet_redactionManager[_0x359239(0x259)](this,void 0x0),_Debuglet_configProvider[_0x359239(0x259)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds['set'](this,void 0x0),this[_0x359239(0x1d9)]=(0x0,normalizeConfig_1[_0x359239(0x1cd)])(_0x5da0fa),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1['ConfigurationProvider'](this[_0x359239(0x1d9)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x12a753,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x359239(0x23b)]=![],this[_0x359239(0x21b)]=agent_logger_1[_0x359239(0x253)]['createLogger'](this[_0x359239(0x1d9)][_0x359239(0x1e3)][_0x359239(0x25b)],this[_0x359239(0x1d9)][_0x359239(0x1e3)][_0x359239(0x1d8)],this[_0x359239(0x1d9)][_0x359239(0x1e3)][_0x359239(0x212)],this['config'][_0x359239(0x1e3)][_0x359239(0x15d)],this[_0x359239(0x1d9)]['agentLog'][_0x359239(0x18e)]),(0x0,config_1[_0x359239(0x1cf)])(this[_0x359239(0x1d9)],this[_0x359239(0x21b)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x359239(0x1fb))](this[_0x359239(0x21b)])[_0x359239(0x16a)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x359239(0x186))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x359239(0x1d9)],this['logger']),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x359239(0x1ec))](this[_0x359239(0x21b)]),'f'),this[_0x359239(0x260)]=null,this[_0x359239(0x248)]={},__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[(_0x359239(0x1fe))](this[_0x359239(0x21b)],this['config']),'f'),this[_0x359239(0x257)]=new piping_manager_1[(_0x359239(0x238))](_0x359239(0x1ba),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x359239(0x1d9)]);}async[a18_0x33fb6a(0x25d)](_0x1da17f){const _0x120a9d=a18_0x33fb6a;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x120a9d(0x25d)](_0x1da17f);}[a18_0x33fb6a(0x1da)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x33fb6a(0x1b6)](_0x470634){const _0x348dc6=a18_0x33fb6a,_0x4a0414=0x32;let _0x34b029=null;const _0x1e4538=()=>_0x34b029=!![],_0x17aafc=()=>_0x34b029=![],_0x528d9a=_0x1b8931=>{if(_0x1b8931)return;_0x1e4538();};let _0x2bfe9f=![];const _0xcac929=_0x312856=>{const _0x17a15a=a18_0x4b9b;_0x2bfe9f&&_0x17aafc(),_0x2bfe9f=!![],this[_0x17a15a(0x263)]();};this[_0x348dc6(0x1c5)]('breakpoints_fetched',_0x528d9a),this[_0x348dc6(0x1c5)](_0x348dc6(0x24f),_0x1e4538);this[_0x348dc6(0x1d9)][_0x348dc6(0x267)]?.[_0x348dc6(0x190)]&&(this[_0x348dc6(0x1c5)](_0x348dc6(0x168),_0x17aafc),this[_0x348dc6(0x1c5)]('breakpoints_fetch_failed',_0x17aafc),this[_0x348dc6(0x1c5)](_0x348dc6(0x216),_0xcac929));if(_0x470634){const _0xe8540b=Date[_0x348dc6(0x17e)]();while(_0x34b029===null&&Date[_0x348dc6(0x17e)]()-_0xe8540b<_0x470634){await(0x0,utils_1['waitFor'])(_0x4a0414);}}return this[_0x348dc6(0x169)](_0x348dc6(0x172),_0x528d9a),this[_0x348dc6(0x169)](_0x348dc6(0x24f),_0x1e4538),this[_0x348dc6(0x1d9)][_0x348dc6(0x267)]?.[_0x348dc6(0x190)]&&(this['removeListener'](_0x348dc6(0x168),_0x17aafc),this[_0x348dc6(0x169)](_0x348dc6(0x1bf),_0x17aafc),this[_0x348dc6(0x169)](_0x348dc6(0x216),_0xcac929)),_0x34b029===!![];}[a18_0x33fb6a(0x1ff)](){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}[a18_0x33fb6a(0x1de)](){const _0x52d59a=a18_0x33fb6a;return this[_0x52d59a(0x260)]?.['id']!==undefined;}async[a18_0x33fb6a(0x1ee)](_0x434b63,_0xb2606c){const _0x2a4c16=a18_0x33fb6a,_0x418106=_0x434b63[_0x2a4c16(0x177)],_0x2a9383=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x2a4c16(0x1d0)](_0x418106,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x2a4c16(0x239)](_a,_0x434b63[_0x2a4c16(0x21c)][_0x2a4c16(0x1dc)]('js.map')),_0xb2606c,_0x434b63['extraPaths']),_0x6e8c37=_0x2a9383['selectStats'](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x2a4c16(0x239)](_a,_0x434b63[_0x2a4c16(0x21c)])),_0x4734b2=file_index_1['FileIndex'][_0x2a4c16(0x23c)](_0x6e8c37),_0x4a4fc4=_0x2a9383[_0x2a4c16(0x1a5)](/.js.map$/,process[_0x2a4c16(0x1ef)]()),_0x1978a6=_0x2a9383[_0x2a4c16(0x234)]();return{'mapFiles':_0x4a4fc4,'errors':_0x1978a6,'jsFileIndex':_0x4734b2,'hash':_0x2a9383[_0x2a4c16(0x244)]};}async[a18_0x33fb6a(0x17a)](){const _0x446e4d=a18_0x33fb6a,_0x11f6f5=this[_0x446e4d(0x1d9)]['workingDirectory'];if(!this[_0x446e4d(0x1d9)][_0x446e4d(0x24a)]&&path[_0x446e4d(0x173)](_0x11f6f5,'..')===_0x11f6f5){const _0x723bf1=_0x446e4d(0x20e)+_0x446e4d(0x17c)+_0x446e4d(0x256)+_0x446e4d(0x1f0);this[_0x446e4d(0x21b)][_0x446e4d(0x1b2)](_0x723bf1),this['emit']('initError',new Error(_0x723bf1));return;}let _0x4a69e0;process['env'][_0x446e4d(0x230)]&&(_0x4a69e0='GAE-'+process[_0x446e4d(0x1c1)]['GAE_MINOR_VERSION']);let _0x3eab1d,_0x106e3b=_0x4a69e0??'';try{_0x3eab1d=await this['findFiles'](this[_0x446e4d(0x1d9)],_0x4a69e0),_0x3eab1d[_0x446e4d(0x234)][_0x446e4d(0x196)](this[_0x446e4d(0x21b)]['warn']);}catch(_0x4ae863){this[_0x446e4d(0x21b)][_0x446e4d(0x1b2)](_0x446e4d(0x192),_0x4ae863),this[_0x446e4d(0x1d1)](_0x446e4d(0x1f7),_0x4ae863);return;}try{const _0x4645d0=await SourceMapper[_0x446e4d(0x170)](this[_0x446e4d(0x21b)],_0x3eab1d[_0x446e4d(0x268)],this['config']['internal']?.[_0x446e4d(0x25e)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x446e4d(0x170)](this[_0x446e4d(0x21b)],this[_0x446e4d(0x1d9)],_0x3eab1d[_0x446e4d(0x224)],_0x4645d0,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x106e3b=_0x4a69e0??_0x3eab1d[_0x446e4d(0x244)];}catch(_0x492e91){this[_0x446e4d(0x21b)][_0x446e4d(0x1b2)](_0x446e4d(0x252),_0x492e91),this[_0x446e4d(0x21b)][_0x446e4d(0x1e2)](JSON[_0x446e4d(0x1ea)](_0x492e91)),this[_0x446e4d(0x1d1)](_0x446e4d(0x1f7),_0x492e91);}this[_0x446e4d(0x21b)]['info'](_0x446e4d(0x1f6)+_0x106e3b);const _0x4c0c14=(0x0,utils_1[_0x446e4d(0x243)])(this[_0x446e4d(0x21b)])['replace']('\x0a','');this[_0x446e4d(0x21b)][_0x446e4d(0x1e2)](_0x446e4d(0x19e)+_0x4c0c14);let _0x450811;try{_0x450811=this[_0x446e4d(0x1d9)][_0x446e4d(0x183)]||await _a['getSourceContextFromFile']();}catch{}this[_0x446e4d(0x21b)][_0x446e4d(0x1e2)](_0x446e4d(0x240)+process[_0x446e4d(0x1f5)]?.[_0x446e4d(0x226)]),this[_0x446e4d(0x21b)][_0x446e4d(0x26f)](_0x446e4d(0x182)+_0x11f6f5),this[_0x446e4d(0x21b)][_0x446e4d(0x26f)](_0x446e4d(0x178)),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x446e4d(0x260)]=(0x0,createDebuggee_1[_0x446e4d(0x201)])(_0x106e3b,this[_0x446e4d(0x1d9)],_0x450811,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x446e4d(0x1df)],_0x4c0c14,this[_0x446e4d(0x21b)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x446e4d(0x239)](this),this['register'](),this[_0x446e4d(0x1d1)](_0x446e4d(0x194));}[a18_0x33fb6a(0x203)](){const _0x5f060d=a18_0x33fb6a;if(Date[_0x5f060d(0x17e)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x5f060d(0x211)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x5f060d(0x1d7)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x5f060d(0x1d7)]()[_0x5f060d(0x255)](()=>{const _0x5bdf59=_0x5f060d;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x5bdf59(0x239)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x5f060d(0x1d7)]();}}static async[a18_0x33fb6a(0x1ad)](){const _0x3a8f63=a18_0x33fb6a,_0x5994a0=await readFilep(_0x3a8f63(0x1e1),_0x3a8f63(0x242));try{return JSON[_0x3a8f63(0x1a1)](_0x5994a0);}catch(_0x2b3487){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x2b3487);}}[a18_0x33fb6a(0x263)](){const _0x4d60b6=a18_0x33fb6a;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x4d60b6(0x239)](this,0x0);}['isRunning'](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0x1dc9d3=a18_0x33fb6a;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x1dc9d3(0x21b)][_0x1dc9d3(0x26f)](_0x1dc9d3(0x162));return;}this['logger'][_0x1dc9d3(0x26f)]('Stopping\x20Debuglet'),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x1dc9d3(0x208)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x1dc9d3(0x1d1)](_0x1dc9d3(0x1e5));}[a18_0x33fb6a(0x1af)](_0x51aa8b){const _0xa72cf1=a18_0x33fb6a;if(!this[_0xa72cf1(0x21b)][_0xa72cf1(0x1c4)]())return _0x51aa8b['id'];try{const _0xd9bfbd=JSON[_0xa72cf1(0x1ea)](_0x51aa8b);if(_0xd9bfbd[_0xa72cf1(0x20c)]<=BREAKPOINT_LOG_MAX_CHARS)return _0xd9bfbd;return _0xd9bfbd[_0xa72cf1(0x261)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0xa72cf1(0x1fa);}catch(_0x29e8fe){return this[_0xa72cf1(0x21b)][_0xa72cf1(0x1b2)](_0xa72cf1(0x23e),_0x29e8fe),_0x51aa8b['id'];}}[a18_0x33fb6a(0x200)](_0x57adf4){const _0x6752db=a18_0x33fb6a,_0x4bfc9a=this[_0x6752db(0x21b)][_0x6752db(0x24b)]();if(_0x4bfc9a===_0x6752db(0x26f))return;switch(_0x57adf4){case _0x6752db(0x1f3):this[_0x6752db(0x21b)][_0x6752db(0x25f)]()!==_0x6752db(0x26f)&&(this['logger'][_0x6752db(0x16d)](_0x6752db(0x26f)),this[_0x6752db(0x21b)]['debug'](_0x6752db(0x1e0)));break;case _0x6752db(0x251):case undefined:this['logger'][_0x6752db(0x25f)]()===_0x6752db(0x26f)&&(this[_0x6752db(0x21b)][_0x6752db(0x16d)](_0x4bfc9a),this[_0x6752db(0x21b)]['info']('Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20('+_0x4bfc9a+')'));break;default:this[_0x6752db(0x21b)][_0x6752db(0x15e)](_0x6752db(0x271)+_0x57adf4);}}}exports[a18_0x33fb6a(0x1e4)]=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(_0xf1b616){const _0x14c2e5=a18_0x33fb6a;return new RegExp(_0xf1b616[_0x14c2e5(0x189)](_0x17d1dc=>_0x17d1dc+'$')[_0x14c2e5(0x173)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x3d32bc=a18_0x33fb6a,_0x2f6495=[_0x3d32bc(0x16f),_0x3d32bc(0x22c),_0x3d32bc(0x17d)];_0x2f6495[_0x3d32bc(0x196)](_0x4cb361=>{const _0x2e529c=_0x3d32bc;process[_0x2e529c(0x1c5)](_0x4cb361,()=>{const _0x51fc25=_0x2e529c;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x51fc25(0x188)](this[_0x51fc25(0x260)],()=>{const _0x180f8a=_0x51fc25;process[_0x180f8a(0x1b4)](process['pid'],_0x4cb361);});});}),process['once']('beforeExit',()=>{const _0x136668=_0x3d32bc;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x136668(0x188)](this['debuggee'],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x3adc31){const _0x4fef9d=a18_0x33fb6a;this[_0x4fef9d(0x21b)][_0x4fef9d(0x26f)](_0x3adc31?_0x4fef9d(0x1b3)+_0x3adc31+'s':_0x4fef9d(0x23d));const _0x10bde7=(_0x318cb9,_0x3fc31c,_0x381e88=![])=>{const _0x2420ad=_0x4fef9d;this[_0x2420ad(0x1d1)](_0x2420ad(0x168));const _0x420ecd=this['debuggee']?.['id'],_0x48556c=_0x420ecd?_0x2420ad(0x20b)+_0x420ecd:'register\x20debuggee',_0xb787df='Failed\x20to\x20'+_0x48556c+':\x20'+(0x0,utils_1[_0x2420ad(0x1c7)])(_0x318cb9);this[_0x2420ad(0x21b)][_0x2420ad(0x1b2)](_0xb787df),_0x3fc31c&&!_0x381e88&&this[_0x2420ad(0x21b)]['error'](_0x2420ad(0x236),_0x3fc31c),!this[_0x2420ad(0x1d9)]['internal']?.[_0x2420ad(0x190)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x2420ad(0x239)](this,(0x0,utils_1[_0x2420ad(0x176)])(_0x3adc31,this[_0x2420ad(0x1d9)][_0x2420ad(0x267)][_0x2420ad(0x26e)]));};setTimeout(()=>{const _0x4f5825=_0x4fef9d;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x10bde7(new Error(_0x4f5825(0x22a)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')['register'](this['debuggee'],(_0xbfbad1,_0x5c165e,_0x5e6d47=![])=>{const _0x25418b=_0x4f5825;if(_0xbfbad1){_0x10bde7(_0xbfbad1,_0x5c165e,_0x5e6d47);return;}if(_0x5c165e[_0x25418b(0x260)]['isDisabled']){_0x10bde7(new Error('Disabled\x20by\x20the\x20server')),this['emit']('remotelyDisabled');return;}const _0x4070d3=_0x5c165e[_0x25418b(0x260)]['id'];this[_0x25418b(0x21b)]['info'](_0x25418b(0x198)+_0x4070d3),this[_0x25418b(0x260)]['id']=_0x4070d3;const _0x245b0e=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x25418b(0x185)](this)(this[_0x25418b(0x260)]['id'])];this[_0x25418b(0x1d9)][_0x25418b(0x207)]&&_0x245b0e['push'](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x25418b(0x185)](this)(this[_0x25418b(0x260)]['id'])),Promise['all'](_0x245b0e)[_0x25418b(0x255)](()=>{const _0x34a3d9=_0x25418b;this[_0x34a3d9(0x1d1)](_0x34a3d9(0x1d6),_0x4070d3),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x34a3d9(0x211)](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['setBlocklistManager'](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x5c165e?.[_0x34a3d9(0x262)],'f'),!this[_0x34a3d9(0x23b)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x34a3d9(0x239)](this,0x0,this['config'][_0x34a3d9(0x1ff)],_0x5c165e?.[_0x34a3d9(0x262)]);},_0x3d3fe1=>{_0x10bde7(_0x3d3fe1);});});},_0x3adc31*0x3e8)['unref']();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x56eba9,_0x5f1824,_0x75dd04){const _0x3013c0=a18_0x33fb6a;this[_0x3013c0(0x21b)]['debug'](_0x3013c0(0x1aa)+_0x56eba9+'\x20'+_0x5f1824+'\x20'+_0x75dd04),!_0x5f1824&&(this['fetcherActive']=!![]),setTimeout(()=>{const _0x263436=_0x3013c0;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x5f1824&&assert(this[_0x263436(0x23b)]),this[_0x263436(0x21b)]['debug']('Fetching\x20breakpoints'),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x263436(0x270)](this[_0x263436(0x260)],(_0x30962f,_0x276e4a,_0x364cef)=>{const _0x3dae0f=_0x263436;if(_0x364cef?.[_0x3dae0f(0x233)]===0x194){this['logger']['info'](_0x3dae0f(0x25a)),this[_0x3dae0f(0x23b)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x3dae0f(0x239)](this);this[_0x3dae0f(0x1d9)][_0x3dae0f(0x267)]?.['isLambda']?this['emit']('breakpoints_fetch_registration_required'):this[_0x3dae0f(0x263)]();return;}if(_0x30962f){if(this[_0x3dae0f(0x1d9)]['internal']?.[_0x3dae0f(0x190)])this['emit'](_0x3dae0f(0x1bf)),this[_0x3dae0f(0x21b)]['error'](_0x3dae0f(0x17f)+_0x364cef?.['status']+_0x3dae0f(0x1f9)+_0x30962f[_0x3dae0f(0x25c)]);else{const _0x55b343=(0x0,utils_1['backoff'])(_0x56eba9,this[_0x3dae0f(0x1d9)][_0x3dae0f(0x267)]['maxRequestRetryDelaySeconds']);this[_0x3dae0f(0x21b)][_0x3dae0f(0x1b2)]('\x09Got\x20error\x20from\x20server.\x20status:\x20'+_0x364cef?.[_0x3dae0f(0x233)]+_0x3dae0f(0x1f9)+_0x30962f['message']+'.\x20Retrying\x20in\x20'+_0x55b343+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,_0x55b343,_0x5f1824,_0x75dd04);}return;}this[_0x3dae0f(0x21b)][_0x3dae0f(0x26f)]('\x09'+_0x364cef[_0x3dae0f(0x233)]+'\x20completed.');if(!_0x276e4a){const _0x260192=this['config'][_0x3dae0f(0x1b1)];this['logger'][_0x3dae0f(0x1b2)]('\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20'+_0x260192+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3dae0f(0x239)](this,_0x260192,_0x5f1824,_0x75dd04);return;}this[_0x3dae0f(0x200)](_0x276e4a[_0x3dae0f(0x15d)]);if(_0x276e4a['waitExpired']){this[_0x3dae0f(0x21b)][_0x3dae0f(0x1e2)](_0x3dae0f(0x163)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0x5f1824,_0x75dd04);return;}if(_0x276e4a[_0x3dae0f(0x21a)]&&_0x276e4a[_0x3dae0f(0x21a)]!=='NOT_SET'){const _0x33fd33=this['pipingManager'][_0x3dae0f(0x1f2)];_0x33fd33!==_0x276e4a[_0x3dae0f(0x21a)]&&(this[_0x3dae0f(0x21b)]['debug'](_0x3dae0f(0x1a9)+_0x33fd33+_0x3dae0f(0x1a4)+_0x276e4a[_0x3dae0f(0x21a)]),this['pipingManager']['globalPipingStatus']=_0x276e4a[_0x3dae0f(0x21a)]);}if(_0x276e4a['collectAndSendLog']&&_0x276e4a['collectLogRequestId']!==this[_0x3dae0f(0x18a)]){this['collectLogRequestId']=_0x276e4a['collectLogRequestId'];const _0x4df8a2=this['config']['agentLog'][_0x3dae0f(0x25b)]&&path['join'](this[_0x3dae0f(0x1d9)][_0x3dae0f(0x1e3)][_0x3dae0f(0x25b)],agent_logger_1['default'][_0x3dae0f(0x1c6)]);_0x4df8a2&&fs[_0x3dae0f(0x246)](_0x4df8a2)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3dae0f(0x20a)](this[_0x3dae0f(0x260)],_0x276e4a[_0x3dae0f(0x18a)],_0x4df8a2)):this[_0x3dae0f(0x21b)][_0x3dae0f(0x1e2)]('Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20'+_0x276e4a[_0x3dae0f(0x18a)]+'\x20because\x20'+_0x3dae0f(0x19f));}const _0x4462f4=(_0x276e4a[_0x3dae0f(0x1ab)]||[])[_0x3dae0f(0x189)](_0x2f6483=>new stackdriver_1[(_0x3dae0f(0x1ac))](_0x2f6483))['filter'](_0x97a62f=>{const _0x223521=_0x3dae0f,_0x5686c4=_0x97a62f[_0x223521(0x1d4)]??_0x223521(0x1fc);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x97a62f['id']])return![];if(_0x5686c4!==_0x223521(0x1fc)&&_0x5686c4!==_0x223521(0x21d))return this[_0x223521(0x21b)]['warn'](_0x223521(0x161),_0x5686c4),_0x97a62f[_0x223521(0x233)]=new status_message_1['StatusMessage'](status_message_1[_0x223521(0x1b0)][_0x223521(0x22f)],utils_1['errors']['BREAKPOINT_ACTION_MESSAGE'],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x223521(0x239)](this,_0x97a62f),![];return!![];}),_0x1c7e3b=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x3dae0f(0x239)](this);let _0x31e246=_0x1c7e3b[_0x3dae0f(0x20c)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x3dae0f(0x239)](this,_0x1c7e3b),_0x31e246=_0x31e246||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x3dae0f(0x239)](this,_0x4462f4),this[_0x3dae0f(0x1d1)]('breakpoints_fetched',_0x4462f4[_0x3dae0f(0x20c)]);_0x31e246&&this[_0x3dae0f(0x21b)][_0x3dae0f(0x26f)](formatBreakpoints(_0x3dae0f(0x167),this['activeBreakpointMap']));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x3dae0f(0x17e)](),'f');_0x5f1824?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')['resolve'](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0x5f1824,_0x75dd04);return;},_0x75dd04);},_0x56eba9*0x3e8)[_0x3013c0(0x22b)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x2e20bc=a18_0x33fb6a;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x2e20bc(0x211)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x5494b0){const _0x5c4f97=a18_0x33fb6a,_0x490a09=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x5c4f97(0x239)](this,_0x5494b0);let _0x1903e4=![];return _0x5494b0[_0x5c4f97(0x196)](_0x5327ec=>{const _0x24f0a5=_0x5c4f97;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x5327ec['id']]&&!this[_0x24f0a5(0x248)][_0x5327ec['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](this,_0x5327ec,_0x37f5ac=>{const _0x548f9f=_0x24f0a5;_0x37f5ac&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x548f9f(0x239)](this,_0x5327ec,!![],![]);}),_0x1903e4=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x24f0a5(0x1f8)](_0x5327ec['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['setIgnoreQuota'](_0x5327ec['id'],_0x5327ec[_0x24f0a5(0x245)]),this[_0x24f0a5(0x257)]['setPipingStatus'](_0x5327ec['id'],_0x5327ec['pipingStatus']);}),(0x0,mapSubtract_1['mapSubtract'])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x490a09)[_0x5c4f97(0x196)](_0x4d722d=>{const {id:_0x20e31a}=_0x4d722d;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x20e31a],_0x1903e4=!![];}),(0x0,mapSubtract_1[_0x5c4f97(0x1d5)])(this['activeBreakpointMap'],_0x490a09)[_0x5c4f97(0x196)](_0x7c3dbf=>{const _0x5541dc=_0x5c4f97;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x5541dc(0x239)](this,_0x7c3dbf,!![]),_0x1903e4=!![];}),_0x1903e4&&this['logger'][_0x5c4f97(0x26f)](formatBreakpoints('Server\x20breakpoints:\x0a',_0x490a09)),_0x1903e4;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0xb26067){const _0x3a253b=a18_0x33fb6a;return Object[_0x3a253b(0x26c)](_0xb26067[_0x3a253b(0x189)](_0x4daf07=>[_0x4daf07['id'],_0x4daf07]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x1467ef,_0x344b06){const _0xf528e1=a18_0x33fb6a;this['logger'][_0xf528e1(0x1e2)](_0xf528e1(0x184)+_0x1467ef['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0xf528e1(0x1c8)](_0x1467ef['id']),this[_0xf528e1(0x257)][_0xf528e1(0x166)](_0x1467ef['id']),delete this[_0xf528e1(0x248)][_0x1467ef['id']],_0x344b06&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0xf528e1(0x220)](_0x1467ef,_0x9fed6d=>{const _0x47b653=_0xf528e1;if(_0x9fed6d)this[_0x47b653(0x21b)][_0x47b653(0x1b2)](_0x9fed6d);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x336a59,_0x4ad97b){const _0x460f5c=a18_0x33fb6a;this[_0x460f5c(0x21b)][_0x460f5c(0x1e2)](_0x460f5c(0x19b),this[_0x460f5c(0x1af)](_0x336a59));if(!this[_0x460f5c(0x1d9)][_0x460f5c(0x1fd)]&&(_0x336a59[_0x460f5c(0x223)]||_0x336a59[_0x460f5c(0x206)])){this[_0x460f5c(0x21b)][_0x460f5c(0x1b2)](utils_1[_0x460f5c(0x234)][_0x460f5c(0x18c)][_0x460f5c(0x237)]??''),_0x336a59[_0x460f5c(0x233)]=new status_message_1[(_0x460f5c(0x1b0))](status_message_1[_0x460f5c(0x1b0)][_0x460f5c(0x22f)],utils_1[_0x460f5c(0x234)][_0x460f5c(0x18c)],!![]),setImmediate(()=>{const _0x4843bb=_0x460f5c;_0x4ad97b(utils_1['errors'][_0x4843bb(0x18c)]);});return;}const _0x30594f=_0x336a59[_0x460f5c(0x1bc)]?Number(_0x336a59['createTime']['seconds']):Date[_0x460f5c(0x17e)]()/0x3e8,_0x132bab=_0x336a59[_0x460f5c(0x18d)]??this['config']['breakpointExpirationSec'];_0x336a59[_0x460f5c(0x160)]=_0x30594f+_0x132bab,_0x336a59['location']?.['path']&&(_0x336a59['location']['path']=path[_0x460f5c(0x165)](_0x336a59['location']['path']),path[_0x460f5c(0x175)]===path[_0x460f5c(0x26a)]['sep']&&(_0x336a59[_0x460f5c(0x23f)][_0x460f5c(0x1db)]=_0x336a59[_0x460f5c(0x23f)]['path']['split']('\x5c')['join'](path['sep']))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x460f5c(0x259)](_0x336a59,_0x391b99=>{const _0x29ae45=_0x460f5c;if(_0x391b99){_0x4ad97b(_0x391b99);return;}this['logger'][_0x29ae45(0x1e2)](_0x29ae45(0x205)+_0x336a59['id']),this[_0x29ae45(0x248)][_0x336a59['id']]=_0x336a59,_0x336a59['action']==='LOG'?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x29ae45(0x266)](_0x336a59,(_0x4c5b2b,_0x171588)=>{const _0x56f87a=_0x29ae45,_0x565fe3=_0x171588[_0x56f87a(0x189)](_0x2427ea=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x56f87a(0x239)](this,_0x2427ea)),_0x441e81=(0x0,format_1[_0x56f87a(0x22d)])(_0x4c5b2b,_0x565fe3),_0x5b5053=_0x56f87a(0x1a3)+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x56f87a(0x1ae)](_0x441e81)??_0x441e81),_0x529571=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x56f87a(0x265)](_0x5b5053,_0x336a59['id']);if(_0x529571){const _0x31a7b1=_0x529571[_0x56f87a(0x25c)],{isOutOfQuota:_0x4f05f9}=_0x529571;let _0x4004d6,_0x58e560;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x56f87a(0x231)]()&&!_0x4f05f9&&(_0x4004d6=_0x56f87a(0x1a3)+_0x4c5b2b,_0x58e560=_0x565fe3);this['pipingManager'][_0x56f87a(0x22e)](this[_0x56f87a(0x260)],_0x336a59['id'],_0x31a7b1,_0x336a59['logLevel'],_0x4004d6,_0x58e560);if(_0x4f05f9)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable'](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x531976=_0x56f87a;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x531976(0x18f)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x56f87a(0x1d9)][_0x56f87a(0x191)]['quotaRecoverySeconds']*0x3e8),'f');else _0x31a7b1?.[_0x56f87a(0x20c)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable']();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x336a59['id']],_0x190b39=>{const _0x56bff9=_0x29ae45;if(_0x190b39){this['logger'][_0x56bff9(0x1b2)](_0x190b39),_0x4ad97b(_0x190b39);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x29ae45(0x1ce)](_0x336a59,_0x3fdc6a=>{const _0xed0740=_0x29ae45;if(_0x3fdc6a){setImmediate(()=>{const _0x5192ce=a18_0x4b9b;this[_0x5192ce(0x21b)][_0x5192ce(0x1b2)](_0x3fdc6a),_0x4ad97b(_0x3fdc6a);});return;}this[_0xed0740(0x21b)][_0xed0740(0x1e2)]('Breakpoint\x20hit!:\x20breakpoint\x20id:\x20'+_0x336a59['id'],_0x336a59[_0xed0740(0x23f)]?.[_0xed0740(0x1db)],_0x336a59['location']?.[_0xed0740(0x254)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0xed0740(0x239)](this,_0x336a59,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0xed0740(0x15f)](_0x336a59['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x29ae45(0x239)](this,_0x336a59);}),this[_0x460f5c(0x1d1)](_0x460f5c(0x24f));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x2d44f0,_0x458235,_0xdb8da9=!![]){const _0x5df478=a18_0x33fb6a;if(_0x2d44f0[_0x5df478(0x233)]?.['isError']){let _0x4938df=_0x2d44f0[_0x5df478(0x233)]?.['description']?.[_0x5df478(0x22d)]||'';_0x2d44f0[_0x5df478(0x233)]?.[_0x5df478(0x237)]?.[_0x5df478(0x174)]&&(_0x4938df+=':\x20'+_0x2d44f0[_0x5df478(0x233)]?.['description']?.['parameters'][_0x5df478(0x20f)]()),this[_0x5df478(0x21b)][_0x5df478(0x15e)](_0x5df478(0x17b)+_0x2d44f0+_0x5df478(0x1dd)+_0x4938df);}else this[_0x5df478(0x21b)][_0x5df478(0x1e2)]('\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for',this['stringifyBreakpointForInfoLog'](_0x2d44f0));_0x458235&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2d44f0['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x5df478(0x239)](this,_0x2d44f0,_0xdb8da9)),__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x5df478(0x260)],extend(!![],{},_0x2d44f0));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x1ff4dd){const _0x3f6113=a18_0x33fb6a;this['logger'][_0x3f6113(0x26f)]('reporting\x20breakpoint\x20'+_0x1ff4dd+_0x3f6113(0x1f1));const _0x1641d3=extend(!![],{},_0x1ff4dd);_0x1641d3[_0x3f6113(0x171)]=![],_0x1641d3[_0x3f6113(0x233)]=new status_message_1[(_0x3f6113(0x1b0))](status_message_1[_0x3f6113(0x1b0)][_0x3f6113(0x22f)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3f6113(0x1e8)](this[_0x3f6113(0x260)],_0x1641d3);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x728ab7){const _0x31a84f=a18_0x33fb6a;this[_0x31a84f(0x21b)][_0x31a84f(0x1e2)]('rejecting\x20breakpoint\x20id\x20'+_0x728ab7),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x728ab7['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x31a84f(0x1e8)](this[_0x31a84f(0x260)],_0x728ab7);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x17589c){const _0x3980bd=a18_0x33fb6a;_0x17589c[_0x3980bd(0x196)](_0x15b0c5=>{const _0x2a79ed=_0x3980bd;this['logger'][_0x2a79ed(0x1e2)]('Expiring\x20breakpoint\x20id\x20'+_0x15b0c5['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x15b0c5['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2a79ed(0x239)](this,_0x15b0c5,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x4b830d=a18_0x33fb6a,_0x26368d=Date[_0x4b830d(0x17e)]()/0x3e8;return Object[_0x4b830d(0x232)](this['activeBreakpointMap'])['filter'](_0x796ade=>_0x796ade[_0x4b830d(0x160)]?_0x796ade[_0x4b830d(0x160)]<_0x26368d:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x57ce05){const _0x53e37d=a18_0x33fb6a,_0x470a60=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x53e37d(0x1e7)](_0x57ce05),_0x19fef2=_0x470a60[_0x53e37d(0x1ca)],_0x15f588=_0x470a60[_0x53e37d(0x180)];_0x19fef2?.[_0x53e37d(0x20c)]&&this[_0x53e37d(0x21b)][_0x53e37d(0x26f)](_0x53e37d(0x24d),_0x19fef2['join']('\x0a\x09')),_0x15f588?.[_0x53e37d(0x20c)]&&this['logger'][_0x53e37d(0x26f)](_0x53e37d(0x24e),_0x15f588[_0x53e37d(0x173)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1['PatternsBlocklistManager'](_0x19fef2,_0x15f588,this['config']),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x173b12){const _0x529ef0=a18_0x33fb6a,_0xf816be=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x529ef0(0x16e)](_0x173b12);_0xf816be?.[_0x529ef0(0x20c)]&&this[_0x529ef0(0x21b)][_0x529ef0(0x26f)]('Redactions:\x20\x0a\x09',_0xf816be[_0x529ef0(0x189)](_0x478186=>'name:\x20'+_0x478186[_0x529ef0(0x1cc)]+_0x529ef0(0x221)+_0x478186[_0x529ef0(0x204)]+_0x529ef0(0x187)+_0x478186['pattern']+_0x529ef0(0x195)+_0x478186[_0x529ef0(0x235)])[_0x529ef0(0x173)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x529ef0(0x229))](this[_0x529ef0(0x21b)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['setPatterns'](_0xf816be);},_Debuglet_stringify=function _Debuglet_stringify(_0x3933bd){const _0x2d98f9=a18_0x33fb6a;if(!_0x3933bd)return JSON[_0x2d98f9(0x1ea)](_0x3933bd,(_0x23e514,_0x309a4d)=>_0x309a4d===undefined?_0x2d98f9(0x19c):_0x309a4d);if(Array[_0x2d98f9(0x26b)](_0x3933bd)){const _0x437c23=_0x3933bd[_0x2d98f9(0x189)](_0x9a9c00=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x2d98f9(0x239)](this,_0x9a9c00));return'['+_0x437c23[_0x2d98f9(0x173)](',\x20')+']';}if(typeof _0x3933bd===_0x2d98f9(0x1b5)){const _0x112f7b=Object[_0x2d98f9(0x1e9)](_0x3933bd)['map'](([_0x55a465,_0x92565])=>{const _0x5dd4b0=_0x2d98f9,_0x5923ef=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x5dd4b0(0x1b9)](_0x55a465)?redaction_manager_1[_0x5dd4b0(0x1a0)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x5dd4b0(0x239)](this,_0x92565);return JSON[_0x5dd4b0(0x1ea)](_0x55a465)+':\x20'+_0x5923ef;})['join'](',\x20');return'{'+_0x112f7b+'}';}return JSON[_0x2d98f9(0x1ea)](_0x3933bd);});
1
+ const a18_0x3ffbfb=a18_0x1293;(function(_0x417183,_0x560c7f){const _0x2fdfc9=a18_0x1293,_0x28ae02=_0x417183();while(!![]){try{const _0x7b933d=-parseInt(_0x2fdfc9(0x1fa))/0x1*(-parseInt(_0x2fdfc9(0x1d7))/0x2)+-parseInt(_0x2fdfc9(0x16c))/0x3+-parseInt(_0x2fdfc9(0x190))/0x4+parseInt(_0x2fdfc9(0x12a))/0x5*(parseInt(_0x2fdfc9(0x14f))/0x6)+-parseInt(_0x2fdfc9(0x1c4))/0x7*(-parseInt(_0x2fdfc9(0x136))/0x8)+-parseInt(_0x2fdfc9(0x172))/0x9+parseInt(_0x2fdfc9(0x1f4))/0xa*(-parseInt(_0x2fdfc9(0x191))/0xb);if(_0x7b933d===_0x560c7f)break;else _0x28ae02['push'](_0x28ae02['shift']());}catch(_0xa6f09e){_0x28ae02['push'](_0x28ae02['shift']());}}}(a18_0x5453,0x2a3f8));const a18_0x1ad218=(function(){let _0x4aa315=!![];return function(_0x3a38a0,_0x105151){const _0x19c49c=_0x4aa315?function(){if(_0x105151){const _0x5186b5=_0x105151['apply'](_0x3a38a0,arguments);return _0x105151=null,_0x5186b5;}}:function(){};return _0x4aa315=![],_0x19c49c;};}()),a18_0x2df9f0=a18_0x1ad218(this,function(){const _0x504466=a18_0x1293;return a18_0x2df9f0[_0x504466(0x206)]()['search'](_0x504466(0x146))[_0x504466(0x206)]()['constructor'](a18_0x2df9f0)['search'](_0x504466(0x146));});a18_0x2df9f0();'use strict';var __classPrivateFieldSet=this&&this['__classPrivateFieldSet']||function(_0x50235a,_0x4369ad,_0x57640c,_0x4c54a9,_0x419e2e){const _0x3d0bf8=a18_0x1293;if(_0x4c54a9==='m')throw new TypeError(_0x3d0bf8(0x168));if(_0x4c54a9==='a'&&!_0x419e2e)throw new TypeError(_0x3d0bf8(0x1eb));if(typeof _0x4369ad===_0x3d0bf8(0x1cd)?_0x50235a!==_0x4369ad||!_0x419e2e:!_0x4369ad[_0x3d0bf8(0x141)](_0x50235a))throw new TypeError(_0x3d0bf8(0x144));return _0x4c54a9==='a'?_0x419e2e[_0x3d0bf8(0x15c)](_0x50235a,_0x57640c):_0x419e2e?_0x419e2e[_0x3d0bf8(0x1e5)]=_0x57640c:_0x4369ad[_0x3d0bf8(0x150)](_0x50235a,_0x57640c),_0x57640c;},__classPrivateFieldGet=this&&this[a18_0x3ffbfb(0x1ab)]||function(_0x241a44,_0x56b5b5,_0x10cc78,_0x371b96){const _0x44ddfd=a18_0x3ffbfb;if(_0x10cc78==='a'&&!_0x371b96)throw new TypeError(_0x44ddfd(0x1a2));if(typeof _0x56b5b5===_0x44ddfd(0x1cd)?_0x241a44!==_0x56b5b5||!_0x371b96:!_0x56b5b5[_0x44ddfd(0x141)](_0x241a44))throw new TypeError(_0x44ddfd(0x22d));return _0x10cc78==='m'?_0x371b96:_0x10cc78==='a'?_0x371b96['call'](_0x241a44):_0x371b96?_0x371b96['value']:_0x56b5b5[_0x44ddfd(0x225)](_0x241a44);},_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['defineProperty'](exports,a18_0x3ffbfb(0x140),{'value':!![]}),exports['Debuglet']=exports[a18_0x3ffbfb(0x1a6)]=void 0x0;const assert=require('assert'),events_1=require(a18_0x3ffbfb(0x1bd)),extend=require('extend'),fs=require('fs'),path=require('path'),util=require(a18_0x3ffbfb(0x156)),status_message_1=require(a18_0x3ffbfb(0x1b0)),stackdriver_1=require('../types/stackdriver'),agent_logger_1=require('./agent-logger'),patterns_blocklist_manager_1=require(a18_0x3ffbfb(0x1fe)),config_1=require('./config'),configuration_provider_1=require(a18_0x3ffbfb(0x1ce)),controller_1=require(a18_0x3ffbfb(0x1ae)),createDebuggee_1=require(a18_0x3ffbfb(0x186)),format_1=require(a18_0x3ffbfb(0x1f7)),mapSubtract_1=require(a18_0x3ffbfb(0x162)),normalizeConfig_1=require(a18_0x3ffbfb(0x174)),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a18_0x3ffbfb(0x12e)),scanner_1=require('./io/scanner'),SourceMapper=require('./io/sourcemapper'),piping_manager_1=require(a18_0x3ffbfb(0x22a)),quota_manager_1=require('./quota-manager'),redaction_manager_1=require(a18_0x3ffbfb(0x1bb)),utils_1=require('./util/utils'),debugapi=require('./v8/debugapi'),redaction_manager_re2js_1=require('./reduction/redaction-manager-re2js'),readFilep=util[a18_0x3ffbfb(0x19c)](fs[a18_0x3ffbfb(0x1dc)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x5bcae5,_0x2b8824)=>{const _0x5986a4=a18_0x3ffbfb;let _0x55916b=_0x5bcae5+util['format']('breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s',_0x2b8824['id'],_0x2b8824[_0x5986a4(0x181)],util['inspect'](_0x2b8824[_0x5986a4(0x176)]));if(_0x2b8824['createTime']){const _0x1dbecf=Number(_0x2b8824[_0x5986a4(0x239)][_0x5986a4(0x1d4)]),_0x2478f1=new Date(_0x1dbecf*0x3e8);_0x55916b+=_0x5986a4(0x228)+_0x2478f1[_0x5986a4(0x206)]();}return _0x2b8824[_0x5986a4(0x1c2)]&&(_0x55916b+=_0x5986a4(0x16d)+util[_0x5986a4(0x137)](_0x2b8824[_0x5986a4(0x1c2)])),_0x2b8824[_0x5986a4(0x180)]&&(_0x55916b+=_0x5986a4(0x14b)+util[_0x5986a4(0x137)](_0x2b8824[_0x5986a4(0x180)])),_0x55916b;},formatBreakpoints=(_0x1ece03,_0x40930e)=>_0x1ece03+Object[a18_0x3ffbfb(0x158)](_0x40930e)['map'](_0x514971=>formatBreakpoint('',_0x40930e[_0x514971]))[a18_0x3ffbfb(0x183)]('\x0a');class CachedPromise{constructor(){const _0x10ec77=a18_0x3ffbfb;this[_0x10ec77(0x145)]=null,this['promise']=new Promise(_0x321dc7=>{const _0x277d41=_0x10ec77;this[_0x277d41(0x145)]=_0x321dc7;});}['get'](){const _0x2a957a=a18_0x3ffbfb;return this[_0x2a957a(0x1a5)];}[a18_0x3ffbfb(0x19a)](){const _0x56cde1=a18_0x3ffbfb;this[_0x56cde1(0x145)]&&(this[_0x56cde1(0x145)](),this[_0x56cde1(0x145)]=null);}}exports[a18_0x3ffbfb(0x1a6)]=CachedPromise;function a18_0x5453(){const _0x320c47=['path','condition','env','188671QoQUUk','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','enqueueBreakpointUpdate','add','isRedactionActive','Unique\x20ID\x20for\x20this\x20Application:\x20','globalPipingStatus','normalizeConfig','redactionEnabled','function','./configuration-provider','caseInsensitive','setPipingStatus','extraPaths','name','waitForBreakpoints','seconds','all','default','275174QiEswc','scan','blacklist','filename','format','readFile','shouldRedactByName','isError','Malformed\x20source-context.json\x20file:\x20','quotaRecoverySeconds','breakpoints_fetch_failed','once','logMainConfigParams','js.map','value','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','getClientConnectionTimeoutInSeconds','agentLogMaxFileSizeMb','Scheduling\x20registration\x20in\x20','register','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','enable','getSourceContextFromFile','posix','initError','Debuglet\x20not\x20running','object','mainModule','parameters','50KWleFH','\x09Long\x20poll\x20completed.','deregister','./debuglet-helpers/format','source-context.json','stringify','1OoVYmG','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','warn','createDebuggee','./blocklisting/patterns-blocklist-manager','pipeLogs','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','isRegistered','...\x20[truncated]','isArray','bind','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','toString','Controller','findFiles','isFinalState','stopped','Initializing\x20Node.js\x20agent\x20version:\x20','ALLOW_EXPRESSIONS_MESSAGE','Starting\x20debuggee','BREAKPOINT_ACTION_MESSAGE','QuotaManager','isAtLeastInfo','):\x20pattern:\x20','error','pid','registered','PatternsBlocklistManager','maxRequestRetryDelaySeconds','clientConnectionTimeoutInSeconds','reporting\x20breakpoint\x20','collectLogRequestId','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','debug','replaceRedactedByValue','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','expirationTime','emit','split','breakpoints','debuglet','Found\x20breakpoint\x20with\x20invalid\x20action:','re-register\x20debuggee\x20','get','\x20(type:\x20','agentLogMaxFileCount','\x0a\x09createdTime:\x20','addAndPipeLog','./piping-manager','register\x20debuggee','breakpointUpdateIntervalSec','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','filter','SIGINT','Active\x20Breakpoints:\x20\x0a','remainingHits','prettyError','.\x20message:\x20','RedactionManagerRE2JS','quotaCheck','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','\x09adding\x20breakpoint','Debuglet','createTime','length','\x09successfully\x20added\x20breakpoint\x20id\x20','5cPUahQ','FileIndex','LOGPOINT:\x20','setIgnoreQuota','./io/file-index','Expiring\x20breakpoint\x20id\x20','values','do\x20this.','normalize','Error\x20scanning\x20the\x20filesystem.','UNSPECIFIED','createPerBreakpointConditionQuota','88fqfXMT','inspect','Failed\x20to\x20','remotelyDisabled','info','LOG','type','isDisabled','waitForTransmissionQueueDrain','disable','__esModule','has','unref','sourceContext','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','promiseResolve','(((.+)+)+)+$','backoff','\x20caseInsensitive:\x20','start','.\x20Error:\x20','\x0a\x09expressions:\x20','cwd','Debuggee\x20is\x20not\x20registered','breakpoints_fetch_registration_required','1885854qiDZOn','set','isReady','hash','createLogger','agentLog','errors','util','agentLogLevel','keys','message','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','Registered\x20as\x20debuggee:\x20','call','isLambda','sourceMapDiagnostics','substring','fetchBreakpointsOnce','logger','./debuglet-helpers/mapSubtract','getBlocklist','Unknown\x20agentLogLevel\x20','activeBreakpointMap','fetcherActive','jsFileIndex','Private\x20method\x20is\x20not\x20writable','\x09remove\x20breakpoint\x20id\x20','Stopping\x20Debuglet','ConfigurationProvider','744492DwJPqv','\x0a\x09condition:\x20','debuggee','Switching\x20globalPiping\x20status\x20from\x20','breakpoint_set','listBreakpoints','566478IBFnVc','AGENT_LOG_FILE','./debuglet-helpers/normalizeConfig','rejecting\x20breakpoint\x20id\x20','location','pipingManager','setCustomLogLevel','setLevel','now','map','registration_failed','fromEntries','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','PipingManager','expressions','action','allowRootAsWorkingDirectory','join','getRedactions','stringifyBreakpointForInfoLog','./debuglet-helpers/createDebuggee','status','selectFiles','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','fromFileStats','\x09Notifying\x20server\x20about\x20error\x20for\x20','EnvironmentMetadata','push','Scanner','\x20because\x20','57040MjJFeM','549923dAHHpU','getLevel','sendAgentLogsToServer','waitFor','forEach','isReadyManager','ignoreQuota','config','description','resolve','Breakpoint','promisify','clear','removeListener','then','breakpointExpirationSec','blacklist_exception','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','waitExpired','DEBUG','promise','CachedPromise','Disabled\x20by\x20the\x20server','Redactions:\x20\x0a\x09','internal','workingDirectory','__classPrivateFieldGet','undefined','entries','./controller','breakpoints_fetched','../client/stackdriver/status-message','agentLogTargetDir','Error\x20processing\x20the\x20sourcemaps.','sep','REDACTED_PLACEHOLDER','StatusMessage','\x20to\x20','CAPTURE','line','Registering\x20debuggee','mapSubtract','./reduction/redaction-manager','NOT_SET','events','getInitialLevel','javascriptFileExtensions','setBlocklistManager'];a18_0x5453=function(){return _0x320c47;};return a18_0x5453();}class IsReadyImpl{constructor(_0x142b69){this['debuglet']=_0x142b69;}[a18_0x3ffbfb(0x151)](){const _0x2641e7=a18_0x3ffbfb;return this[_0x2641e7(0x222)][_0x2641e7(0x151)]();}}function a18_0x1293(_0x575937,_0x33e5eb){const _0x33d373=a18_0x5453();return a18_0x1293=function(_0x2df9f0,_0x1ad218){_0x2df9f0=_0x2df9f0-0x12a;let _0x54537f=_0x33d373[_0x2df9f0];return _0x54537f;},a18_0x1293(_0x575937,_0x33e5eb);}class Debuglet extends events_1['EventEmitter']{constructor(_0x1265fe,_0x196276){const _0x32c01e=a18_0x3ffbfb;super(),_Debuglet_instances[_0x32c01e(0x1c7)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x32c01e(0x150)](this,void 0x0),_Debuglet_running[_0x32c01e(0x150)](this,void 0x0),_Debuglet_controller[_0x32c01e(0x150)](this,void 0x0),_Debuglet_completedBreakpointMap['set'](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x32c01e(0x150)](this,void 0x0),_Debuglet_breakpointFetched[_0x32c01e(0x150)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x32c01e(0x150)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x32c01e(0x150)](this,null),this[_0x32c01e(0x196)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x32c01e(0x150)](this,void 0x0),_Debuglet_scanner[_0x32c01e(0x150)](this,void 0x0),_Debuglet_quotaManager[_0x32c01e(0x150)](this,void 0x0),_Debuglet_blocklistManager[_0x32c01e(0x150)](this,void 0x0),_Debuglet_redactionManager['set'](this,void 0x0),_Debuglet_configProvider[_0x32c01e(0x150)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds['set'](this,void 0x0),this['config']=(0x0,normalizeConfig_1[_0x32c01e(0x1cb)])(_0x196276),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x32c01e(0x16b))](this[_0x32c01e(0x198)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x1265fe,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x32c01e(0x166)]=![],this[_0x32c01e(0x161)]=agent_logger_1[_0x32c01e(0x1d6)][_0x32c01e(0x153)](this[_0x32c01e(0x198)][_0x32c01e(0x154)][_0x32c01e(0x1b1)],this[_0x32c01e(0x198)][_0x32c01e(0x154)][_0x32c01e(0x1e8)],this[_0x32c01e(0x198)]['agentLog'][_0x32c01e(0x227)],this[_0x32c01e(0x198)][_0x32c01e(0x154)][_0x32c01e(0x157)],this[_0x32c01e(0x198)][_0x32c01e(0x154)]['stdErrThreshold']),(0x0,config_1[_0x32c01e(0x1e3)])(this[_0x32c01e(0x198)],this['logger']),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x32c01e(0x18c))](this[_0x32c01e(0x161)])['getProps'](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x32c01e(0x207))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this[_0x32c01e(0x161)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x32c01e(0x18e))](this[_0x32c01e(0x161)]),'f'),this['debuggee']=null,this[_0x32c01e(0x165)]={},__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[(_0x32c01e(0x20f))](this[_0x32c01e(0x161)],this['config']),'f'),this[_0x32c01e(0x177)]=new piping_manager_1[(_0x32c01e(0x17f))]('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async[a18_0x3ffbfb(0x13e)](_0x554111){const _0x11a5d4=a18_0x3ffbfb;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x11a5d4(0x13e)](_0x554111);}[a18_0x3ffbfb(0x1e7)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x3ffbfb(0x1d3)](_0x23fe7e){const _0x5e2863=a18_0x3ffbfb,_0x28bc85=0x32;let _0x165ce6=null;const _0x3ba3b3=()=>_0x165ce6=!![],_0xf97b68=()=>_0x165ce6=![],_0x59f59e=_0x49b15e=>{if(_0x49b15e)return;_0x3ba3b3();};let _0x50abea=![];const _0x4bd9c7=_0x1defcd=>{_0x50abea&&_0xf97b68(),_0x50abea=!![],this['register']();};this[_0x5e2863(0x1e2)](_0x5e2863(0x1af),_0x59f59e),this[_0x5e2863(0x1e2)](_0x5e2863(0x170),_0x3ba3b3);this[_0x5e2863(0x198)][_0x5e2863(0x1a9)]?.['isLambda']&&(this['once'](_0x5e2863(0x17c),_0xf97b68),this['once'](_0x5e2863(0x1e1),_0xf97b68),this['once'](_0x5e2863(0x14e),_0x4bd9c7));if(_0x23fe7e){const _0x40e057=Date[_0x5e2863(0x17a)]();while(_0x165ce6===null&&Date[_0x5e2863(0x17a)]()-_0x40e057<_0x23fe7e){await(0x0,utils_1[_0x5e2863(0x194)])(_0x28bc85);}}return this[_0x5e2863(0x19e)](_0x5e2863(0x1af),_0x59f59e),this[_0x5e2863(0x19e)](_0x5e2863(0x170),_0x3ba3b3),this[_0x5e2863(0x198)]['internal']?.[_0x5e2863(0x15d)]&&(this[_0x5e2863(0x19e)]('registration_failed',_0xf97b68),this['removeListener'](_0x5e2863(0x1e1),_0xf97b68),this[_0x5e2863(0x19e)](_0x5e2863(0x14e),_0x4bd9c7)),_0x165ce6===!![];}[a18_0x3ffbfb(0x160)](){const _0x13b5c3=a18_0x3ffbfb;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x13b5c3(0x15c)](this,0x0,!![]);}[a18_0x3ffbfb(0x201)](){const _0x27fa9d=a18_0x3ffbfb;return this[_0x27fa9d(0x16e)]?.['id']!==undefined;}async[a18_0x3ffbfb(0x208)](_0x4b181a,_0xda4000){const _0x14b6f8=a18_0x3ffbfb,_0x38d1e5=_0x4b181a['workingDirectory'],_0x15466a=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x14b6f8(0x1d8)](_0x38d1e5,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x14b6f8(0x15c)](_a,_0x4b181a[_0x14b6f8(0x1bf)]['concat'](_0x14b6f8(0x1e4))),_0xda4000,_0x4b181a[_0x14b6f8(0x1d1)]),_0x20acc6=_0x15466a['selectStats'](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x4b181a['javascriptFileExtensions'])),_0x547440=file_index_1[_0x14b6f8(0x12b)][_0x14b6f8(0x18a)](_0x20acc6),_0x3a0006=_0x15466a[_0x14b6f8(0x188)](/.js.map$/,process[_0x14b6f8(0x14c)]()),_0xb267c2=_0x15466a[_0x14b6f8(0x155)]();return{'mapFiles':_0x3a0006,'errors':_0xb267c2,'jsFileIndex':_0x547440,'hash':_0x15466a['hash']};}async[a18_0x3ffbfb(0x149)](){const _0x2ce1a2=a18_0x3ffbfb,_0x2f5f78=this[_0x2ce1a2(0x198)][_0x2ce1a2(0x1aa)];if(!this[_0x2ce1a2(0x198)][_0x2ce1a2(0x182)]&&path[_0x2ce1a2(0x183)](_0x2f5f78,'..')===_0x2f5f78){const _0x48cc6f=_0x2ce1a2(0x21d)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x2ce1a2(0x15a)+_0x2ce1a2(0x131);this[_0x2ce1a2(0x161)][_0x2ce1a2(0x212)](_0x48cc6f),this[_0x2ce1a2(0x21f)](_0x2ce1a2(0x1ef),new Error(_0x48cc6f));return;}let _0x3c79e2;process[_0x2ce1a2(0x1c3)]['GAE_MINOR_VERSION']&&(_0x3c79e2='GAE-'+process['env']['GAE_MINOR_VERSION']);let _0x120c9d,_0x3cab43=_0x3c79e2??'';try{_0x120c9d=await this[_0x2ce1a2(0x208)](this[_0x2ce1a2(0x198)],_0x3c79e2),_0x120c9d[_0x2ce1a2(0x155)][_0x2ce1a2(0x195)](this['logger'][_0x2ce1a2(0x1fc)]);}catch(_0x50368f){this[_0x2ce1a2(0x161)]['error'](_0x2ce1a2(0x133),_0x50368f),this[_0x2ce1a2(0x21f)](_0x2ce1a2(0x1ef),_0x50368f);return;}try{const _0x12f30a=await SourceMapper['create'](this[_0x2ce1a2(0x161)],_0x120c9d['mapFiles'],this[_0x2ce1a2(0x198)][_0x2ce1a2(0x1a9)]?.[_0x2ce1a2(0x15e)]);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi['create'](this[_0x2ce1a2(0x161)],this[_0x2ce1a2(0x198)],_0x120c9d[_0x2ce1a2(0x167)],_0x12f30a,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x3cab43=_0x3c79e2??_0x120c9d[_0x2ce1a2(0x152)];}catch(_0x3ae1d7){this[_0x2ce1a2(0x161)][_0x2ce1a2(0x212)](_0x2ce1a2(0x1b2),_0x3ae1d7),this[_0x2ce1a2(0x161)][_0x2ce1a2(0x13a)](JSON[_0x2ce1a2(0x1f9)](_0x3ae1d7)),this[_0x2ce1a2(0x21f)](_0x2ce1a2(0x1ef),_0x3ae1d7);}this[_0x2ce1a2(0x161)][_0x2ce1a2(0x13a)](_0x2ce1a2(0x1c9)+_0x3cab43);const _0x3e5938=(0x0,utils_1['readFullVersion'])(this[_0x2ce1a2(0x161)])['replace']('\x0a','');this[_0x2ce1a2(0x161)][_0x2ce1a2(0x13a)](_0x2ce1a2(0x20b)+_0x3e5938);let _0x4af4b4;try{_0x4af4b4=this[_0x2ce1a2(0x198)][_0x2ce1a2(0x143)]||await _a[_0x2ce1a2(0x1ed)]();}catch{}this['logger'][_0x2ce1a2(0x13a)](_0x2ce1a2(0x236)+process[_0x2ce1a2(0x1f2)]?.[_0x2ce1a2(0x1da)]),this[_0x2ce1a2(0x161)]['debug']('Working\x20directory:\x20'+_0x2f5f78),this[_0x2ce1a2(0x161)][_0x2ce1a2(0x21b)](_0x2ce1a2(0x20d)),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x2ce1a2(0x16e)]=(0x0,createDebuggee_1[_0x2ce1a2(0x1fd)])(_0x3cab43,this[_0x2ce1a2(0x198)],_0x4af4b4,__classPrivateFieldGet(this,_Debuglet_debug,'f')['packageInfo'],_0x3e5938,this['logger'],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x2ce1a2(0x15c)](this),this[_0x2ce1a2(0x1ea)](),this['emit']('started');}[a18_0x3ffbfb(0x151)](){const _0x2e3f27=a18_0x3ffbfb;if(Date[_0x2e3f27(0x17a)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise['resolve']();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x2e3f27(0x225)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x2e3f27(0x225)]()['then'](()=>{const _0xe26165=_0x2e3f27;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0xe26165(0x15c)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x2e3f27(0x225)]();}}static async[a18_0x3ffbfb(0x1ed)](){const _0x15d748=a18_0x3ffbfb,_0x20f0f9=await readFilep(_0x15d748(0x1f8),'utf8');try{return JSON['parse'](_0x20f0f9);}catch(_0x235ba7){throw new Error(_0x15d748(0x1df)+_0x235ba7);}}[a18_0x3ffbfb(0x1ea)](){const _0x571d11=a18_0x3ffbfb;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x571d11(0x15c)](this,0x0);}['isRunning'](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}['stop'](){const _0x4ae9ce=a18_0x3ffbfb;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x4ae9ce(0x161)][_0x4ae9ce(0x21b)](_0x4ae9ce(0x205));return;}this[_0x4ae9ce(0x161)][_0x4ae9ce(0x21b)](_0x4ae9ce(0x16a)),__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[_0x4ae9ce(0x21f)](_0x4ae9ce(0x20a));}[a18_0x3ffbfb(0x185)](_0x50b34c){const _0x12a4ce=a18_0x3ffbfb;if(!this['logger'][_0x12a4ce(0x210)]())return _0x50b34c['id'];try{const _0x7ce985=JSON[_0x12a4ce(0x1f9)](_0x50b34c);if(_0x7ce985[_0x12a4ce(0x23a)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x7ce985;return _0x7ce985[_0x12a4ce(0x15f)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x12a4ce(0x202);}catch(_0x133c22){return this[_0x12a4ce(0x161)][_0x12a4ce(0x212)](_0x12a4ce(0x1e6),_0x133c22),_0x50b34c['id'];}}[a18_0x3ffbfb(0x178)](_0x5bbe01){const _0x1e6233=a18_0x3ffbfb,_0x590058=this[_0x1e6233(0x161)][_0x1e6233(0x1be)]();if(_0x590058==='debug')return;switch(_0x5bbe01){case _0x1e6233(0x1a4):this[_0x1e6233(0x161)][_0x1e6233(0x192)]()!==_0x1e6233(0x21b)&&(this[_0x1e6233(0x161)][_0x1e6233(0x179)]('debug'),this['logger'][_0x1e6233(0x21b)]('Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG'));break;case _0x1e6233(0x1bc):case undefined:this[_0x1e6233(0x161)][_0x1e6233(0x192)]()==='debug'&&(this['logger']['setLevel'](_0x590058),this[_0x1e6233(0x161)][_0x1e6233(0x13a)](_0x1e6233(0x189)+_0x590058+')'));break;default:this[_0x1e6233(0x161)][_0x1e6233(0x1fc)](_0x1e6233(0x164)+_0x5bbe01);}}}exports[a18_0x3ffbfb(0x238)]=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(_0x3799c9){const _0x55d94e=a18_0x3ffbfb;return new RegExp(_0x3799c9[_0x55d94e(0x17b)](_0x2c6db2=>_0x2c6db2+'$')['join']('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x370716=a18_0x3ffbfb,_0x2aa2d4=['SIGTERM',_0x370716(0x22f),'SIGQUIT'];_0x2aa2d4[_0x370716(0x195)](_0xce84e=>{const _0x3cc989=_0x370716;process[_0x3cc989(0x1e2)](_0xce84e,()=>{const _0x3236ab=_0x3cc989;__classPrivateFieldGet(this,_Debuglet_controller,'f')['deregister'](this[_0x3236ab(0x16e)],()=>{const _0x27a89a=_0x3236ab;process['kill'](process[_0x27a89a(0x213)],_0xce84e);});});}),process[_0x370716(0x1e2)]('beforeExit',()=>{const _0x304049=_0x370716;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x304049(0x1f6)](this[_0x304049(0x16e)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x5c1bf7){const _0x3e8a04=a18_0x3ffbfb;this['logger'][_0x3e8a04(0x21b)](_0x5c1bf7?_0x3e8a04(0x1e9)+_0x5c1bf7+'s':_0x3e8a04(0x1b9));const _0x3c86a1=(_0xa19e4b,_0x47f470,_0x373706=![])=>{const _0x214f41=_0x3e8a04;this[_0x214f41(0x21f)](_0x214f41(0x17c));const _0x4e5629=this[_0x214f41(0x16e)]?.['id'],_0x423f50=_0x4e5629?_0x214f41(0x224)+_0x4e5629:_0x214f41(0x22b),_0x4a5e56=_0x214f41(0x138)+_0x423f50+':\x20'+(0x0,utils_1[_0x214f41(0x232)])(_0xa19e4b);this[_0x214f41(0x161)]['error'](_0x4a5e56),_0x47f470&&!_0x373706&&this[_0x214f41(0x161)]['error']('Result:\x20\x0a',_0x47f470),!this['config'][_0x214f41(0x1a9)]?.[_0x214f41(0x15d)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x214f41(0x15c)](this,(0x0,utils_1[_0x214f41(0x147)])(_0x5c1bf7,this[_0x214f41(0x198)][_0x214f41(0x1a9)][_0x214f41(0x216)]));};setTimeout(()=>{const _0x20cd69=_0x3e8a04;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x3c86a1(new Error(_0x20cd69(0x1f0)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x20cd69(0x1ea)](this['debuggee'],(_0x43803a,_0x1d35b5,_0x1f7c4a=![])=>{const _0x250285=_0x20cd69;if(_0x43803a){_0x3c86a1(_0x43803a,_0x1d35b5,_0x1f7c4a);return;}if(_0x1d35b5[_0x250285(0x16e)][_0x250285(0x13d)]){_0x3c86a1(new Error(_0x250285(0x1a7))),this['emit'](_0x250285(0x139));return;}const _0x231349=_0x1d35b5['debuggee']['id'];this['logger'][_0x250285(0x13a)](_0x250285(0x15b)+_0x231349),this[_0x250285(0x16e)]['id']=_0x231349;const _0x4de7ea=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x250285(0x204)](this)(this[_0x250285(0x16e)]['id'])];this[_0x250285(0x198)][_0x250285(0x1cc)]&&_0x4de7ea[_0x250285(0x18d)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)['bind'](this)(this['debuggee']['id'])),Promise[_0x250285(0x1d5)](_0x4de7ea)[_0x250285(0x19f)](()=>{const _0x2b92f4=_0x250285;this[_0x2b92f4(0x21f)](_0x2b92f4(0x214),_0x231349),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x2b92f4(0x19a)](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x2b92f4(0x1c0)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x1d35b5?.['clientConnectionTimeoutInSeconds'],'f'),!this['fetcherActive']&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x2b92f4(0x15c)](this,0x0,this[_0x2b92f4(0x198)][_0x2b92f4(0x160)],_0x1d35b5?.[_0x2b92f4(0x217)]);},_0x532257=>{_0x3c86a1(_0x532257);});});},_0x5c1bf7*0x3e8)[_0x3e8a04(0x142)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x172855,_0x24f7db,_0x130343){const _0x313dec=a18_0x3ffbfb;this[_0x313dec(0x161)][_0x313dec(0x21b)]('scheduleBreakpointFetch_\x20'+_0x172855+'\x20'+_0x24f7db+'\x20'+_0x130343),!_0x24f7db&&(this[_0x313dec(0x166)]=!![]),setTimeout(()=>{const _0x2b0a86=_0x313dec;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x24f7db&&assert(this[_0x2b0a86(0x166)]),this[_0x2b0a86(0x161)][_0x2b0a86(0x21b)]('Fetching\x20breakpoints'),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2b0a86(0x171)](this[_0x2b0a86(0x16e)],(_0x3da386,_0x398390,_0x1c00a0)=>{const _0x589fa2=_0x2b0a86;if(_0x1c00a0?.[_0x589fa2(0x187)]===0x194){this[_0x589fa2(0x161)][_0x589fa2(0x13a)](_0x589fa2(0x14d)),this[_0x589fa2(0x166)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x589fa2(0x15c)](this);this[_0x589fa2(0x198)][_0x589fa2(0x1a9)]?.[_0x589fa2(0x15d)]?this[_0x589fa2(0x21f)](_0x589fa2(0x14e)):this['register']();return;}if(_0x3da386){if(this[_0x589fa2(0x198)][_0x589fa2(0x1a9)]?.[_0x589fa2(0x15d)])this[_0x589fa2(0x21f)]('breakpoints_fetch_failed'),this[_0x589fa2(0x161)]['error'](_0x589fa2(0x1c5)+_0x1c00a0?.[_0x589fa2(0x187)]+_0x589fa2(0x233)+_0x3da386['message']);else{const _0x375545=(0x0,utils_1[_0x589fa2(0x147)])(_0x172855,this['config'][_0x589fa2(0x1a9)][_0x589fa2(0x216)]);this[_0x589fa2(0x161)][_0x589fa2(0x212)]('\x09Got\x20error\x20from\x20server.\x20status:\x20'+_0x1c00a0?.[_0x589fa2(0x187)]+_0x589fa2(0x233)+_0x3da386[_0x589fa2(0x159)]+'.\x20Retrying\x20in\x20'+_0x375545+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x589fa2(0x15c)](this,_0x375545,_0x24f7db,_0x130343);}return;}this['logger'][_0x589fa2(0x21b)]('\x09'+_0x1c00a0['status']+'\x20completed.');if(!_0x398390){const _0x3de16c=this[_0x589fa2(0x198)][_0x589fa2(0x22c)];this[_0x589fa2(0x161)]['error'](_0x589fa2(0x200)+_0x3de16c+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x589fa2(0x15c)](this,_0x3de16c,_0x24f7db,_0x130343);return;}this[_0x589fa2(0x178)](_0x398390[_0x589fa2(0x157)]);if(_0x398390[_0x589fa2(0x1a3)]){this[_0x589fa2(0x161)][_0x589fa2(0x13a)](_0x589fa2(0x1f5)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x589fa2(0x15c)](this,0x0,_0x24f7db,_0x130343);return;}if(_0x398390[_0x589fa2(0x1ff)]&&_0x398390[_0x589fa2(0x1ff)]!==_0x589fa2(0x1bc)){const _0x2b5bac=this[_0x589fa2(0x177)][_0x589fa2(0x1ca)];_0x2b5bac!==_0x398390[_0x589fa2(0x1ff)]&&(this['logger'][_0x589fa2(0x21b)](_0x589fa2(0x16f)+_0x2b5bac+_0x589fa2(0x1b6)+_0x398390['pipeLogs']),this[_0x589fa2(0x177)][_0x589fa2(0x1ca)]=_0x398390[_0x589fa2(0x1ff)]);}if(_0x398390['collectAndSendLog']&&_0x398390[_0x589fa2(0x219)]!==this['collectLogRequestId']){this[_0x589fa2(0x219)]=_0x398390['collectLogRequestId'];const _0x2cbb90=this[_0x589fa2(0x198)][_0x589fa2(0x154)][_0x589fa2(0x1b1)]&&path['join'](this[_0x589fa2(0x198)][_0x589fa2(0x154)]['agentLogTargetDir'],agent_logger_1[_0x589fa2(0x1d6)][_0x589fa2(0x173)]);_0x2cbb90&&fs['existsSync'](_0x2cbb90)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x589fa2(0x193)](this['debuggee'],_0x398390[_0x589fa2(0x219)],_0x2cbb90)):this[_0x589fa2(0x161)][_0x589fa2(0x13a)](_0x589fa2(0x1fb)+_0x398390[_0x589fa2(0x219)]+_0x589fa2(0x18f)+'logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits');}const _0x26e9ad=(_0x398390[_0x589fa2(0x221)]||[])[_0x589fa2(0x17b)](_0x19b65f=>new stackdriver_1[(_0x589fa2(0x19b))](_0x19b65f))['filter'](_0x571230=>{const _0x5e77c2=_0x589fa2,_0x50bdf5=_0x571230[_0x5e77c2(0x181)]??_0x5e77c2(0x1b7);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x571230['id']])return![];if(_0x50bdf5!=='CAPTURE'&&_0x50bdf5!==_0x5e77c2(0x13b))return this[_0x5e77c2(0x161)][_0x5e77c2(0x1fc)](_0x5e77c2(0x223),_0x50bdf5),_0x571230[_0x5e77c2(0x187)]=new status_message_1['StatusMessage'](status_message_1[_0x5e77c2(0x1b5)][_0x5e77c2(0x134)],utils_1[_0x5e77c2(0x155)][_0x5e77c2(0x20e)],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)['call'](this,_0x571230),![];return!![];}),_0x5165cd=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x589fa2(0x15c)](this);let _0x25976f=_0x5165cd[_0x589fa2(0x23a)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x589fa2(0x15c)](this,_0x5165cd),_0x25976f=_0x25976f||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](this,_0x26e9ad),this['emit'](_0x589fa2(0x1af),_0x26e9ad[_0x589fa2(0x23a)]);_0x25976f&&this['logger'][_0x589fa2(0x21b)](formatBreakpoints(_0x589fa2(0x230),this['activeBreakpointMap']));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x589fa2(0x17a)](),'f');_0x24f7db?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x589fa2(0x19a)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x589fa2(0x15c)](this,0x0,_0x24f7db,_0x130343);return;},_0x130343);},_0x172855*0x3e8)[_0x313dec(0x142)]();},_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_(_0x4a4cae){const _0x5e34b1=a18_0x3ffbfb,_0x5c3e14=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)['call'](this,_0x4a4cae);let _0x4fb2b6=![];return _0x4a4cae[_0x5e34b1(0x195)](_0x24ac60=>{const _0x410525=_0x5e34b1;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x24ac60['id']]&&!this[_0x410525(0x165)][_0x24ac60['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)['call'](this,_0x24ac60,_0x38b3a2=>{const _0x171feb=_0x410525;_0x38b3a2&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x171feb(0x15c)](this,_0x24ac60,!![],![]);}),_0x4fb2b6=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x410525(0x135)](_0x24ac60['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x410525(0x12d)](_0x24ac60['id'],_0x24ac60[_0x410525(0x197)]),this[_0x410525(0x177)][_0x410525(0x1d0)](_0x24ac60['id'],_0x24ac60['pipingStatus']);}),(0x0,mapSubtract_1[_0x5e34b1(0x1ba)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x5c3e14)[_0x5e34b1(0x195)](_0x5c65f7=>{const {id:_0x55365d}=_0x5c65f7;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x55365d],_0x4fb2b6=!![];}),(0x0,mapSubtract_1[_0x5e34b1(0x1ba)])(this[_0x5e34b1(0x165)],_0x5c3e14)[_0x5e34b1(0x195)](_0xf06413=>{__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)['call'](this,_0xf06413,!![]),_0x4fb2b6=!![];}),_0x4fb2b6&&this[_0x5e34b1(0x161)]['debug'](formatBreakpoints('Server\x20breakpoints:\x0a',_0x5c3e14)),_0x4fb2b6;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0xc4c8c0){const _0x3bfae8=a18_0x3ffbfb;return Object[_0x3bfae8(0x17d)](_0xc4c8c0[_0x3bfae8(0x17b)](_0x2486ae=>[_0x2486ae['id'],_0x2486ae]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x3b7bb5,_0x5bcab9){const _0xc7afa8=a18_0x3ffbfb;this['logger'][_0xc7afa8(0x13a)](_0xc7afa8(0x169)+_0x3b7bb5['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['removePerBreakpointQuota'](_0x3b7bb5['id']),this[_0xc7afa8(0x177)]['removeBreakpoint'](_0x3b7bb5['id']),delete this['activeBreakpointMap'][_0x3b7bb5['id']],_0x5bcab9&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0xc7afa8(0x19d)](_0x3b7bb5,_0x3529dd=>{const _0x44419f=_0xc7afa8;if(_0x3529dd)this[_0x44419f(0x161)]['error'](_0x3529dd);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x88b6fa,_0x5f4fe2){const _0x3c3105=a18_0x3ffbfb;this['logger'][_0x3c3105(0x13a)](_0x3c3105(0x237),this[_0x3c3105(0x185)](_0x88b6fa));if(!this[_0x3c3105(0x198)]['allowExpressions']&&(_0x88b6fa[_0x3c3105(0x1c2)]||_0x88b6fa[_0x3c3105(0x180)])){this[_0x3c3105(0x161)]['error'](utils_1['errors'][_0x3c3105(0x20c)][_0x3c3105(0x199)]??''),_0x88b6fa[_0x3c3105(0x187)]=new status_message_1[(_0x3c3105(0x1b5))](status_message_1[_0x3c3105(0x1b5)][_0x3c3105(0x134)],utils_1['errors'][_0x3c3105(0x20c)],!![]),setImmediate(()=>{const _0x3427d9=_0x3c3105;_0x5f4fe2(utils_1[_0x3427d9(0x155)][_0x3427d9(0x20c)]);});return;}const _0x22d45d=_0x88b6fa['createTime']?Number(_0x88b6fa[_0x3c3105(0x239)][_0x3c3105(0x1d4)]):Date[_0x3c3105(0x17a)]()/0x3e8,_0x2dee86=_0x88b6fa['expirationSeconds']??this['config'][_0x3c3105(0x1a0)];_0x88b6fa[_0x3c3105(0x21e)]=_0x22d45d+_0x2dee86,_0x88b6fa['location']?.[_0x3c3105(0x1c1)]&&(_0x88b6fa[_0x3c3105(0x176)][_0x3c3105(0x1c1)]=path[_0x3c3105(0x132)](_0x88b6fa[_0x3c3105(0x176)][_0x3c3105(0x1c1)]),path[_0x3c3105(0x1b3)]===path[_0x3c3105(0x1ee)]['sep']&&(_0x88b6fa[_0x3c3105(0x176)][_0x3c3105(0x1c1)]=_0x88b6fa[_0x3c3105(0x176)][_0x3c3105(0x1c1)][_0x3c3105(0x220)]('\x5c')[_0x3c3105(0x183)](path[_0x3c3105(0x1b3)]))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x3c3105(0x150)](_0x88b6fa,_0x2628e1=>{const _0x43e50e=_0x3c3105;if(_0x2628e1){_0x5f4fe2(_0x2628e1);return;}this['logger'][_0x43e50e(0x13a)](_0x43e50e(0x23b)+_0x88b6fa['id']),this['activeBreakpointMap'][_0x88b6fa['id']]=_0x88b6fa,_0x88b6fa[_0x43e50e(0x181)]===_0x43e50e(0x13b)?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['log'](_0x88b6fa,(_0x346723,_0x1cac84)=>{const _0x4590a9=_0x43e50e,_0x3f11db=_0x1cac84[_0x4590a9(0x17b)](_0x1fd391=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x1fd391)),_0x11faa7=(0x0,format_1[_0x4590a9(0x1db)])(_0x346723,_0x3f11db),_0x41bc2c='LOGPOINT:\x20'+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x4590a9(0x21c)](_0x11faa7)??_0x11faa7),_0x42b7c3=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x4590a9(0x235)](_0x41bc2c,_0x88b6fa['id']);if(_0x42b7c3){const _0x1767eb=_0x42b7c3[_0x4590a9(0x159)],{isOutOfQuota:_0x63a5f}=_0x42b7c3;let _0x19101d,_0x431eec;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x4590a9(0x1c8)]()&&!_0x63a5f&&(_0x19101d=_0x4590a9(0x12c)+_0x346723,_0x431eec=_0x3f11db);this[_0x4590a9(0x177)][_0x4590a9(0x229)](this[_0x4590a9(0x16e)],_0x88b6fa['id'],_0x1767eb,_0x88b6fa['logLevel'],_0x19101d,_0x431eec);if(_0x63a5f)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x4590a9(0x13f)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x271dc0=_0x4590a9;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x271dc0(0x1ec)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x4590a9(0x198)]['quota'][_0x4590a9(0x1e0)]*0x3e8),'f');else _0x1767eb?.[_0x4590a9(0x23a)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x4590a9(0x13f)]();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x88b6fa['id']],_0x29f074=>{const _0x1dddcd=_0x43e50e;if(_0x29f074){this[_0x1dddcd(0x161)][_0x1dddcd(0x212)](_0x29f074),_0x5f4fe2(_0x29f074);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['wait'](_0x88b6fa,_0x27a6f7=>{const _0xb31f50=_0x43e50e;if(_0x27a6f7){setImmediate(()=>{const _0x3f483e=a18_0x1293;this[_0x3f483e(0x161)][_0x3f483e(0x212)](_0x27a6f7),_0x5f4fe2(_0x27a6f7);});return;}this[_0xb31f50(0x161)][_0xb31f50(0x13a)](_0xb31f50(0x21a)+_0x88b6fa['id'],_0x88b6fa[_0xb31f50(0x176)]?.[_0xb31f50(0x1c1)],_0x88b6fa['location']?.[_0xb31f50(0x1b8)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0xb31f50(0x15c)](this,_0x88b6fa,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0xb31f50(0x231)](_0x88b6fa['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x43e50e(0x15c)](this,_0x88b6fa);}),this[_0x3c3105(0x21f)](_0x3c3105(0x170));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x2e809a,_0xe57a43,_0x2f8d2f=!![]){const _0x227d6f=a18_0x3ffbfb;if(_0x2e809a[_0x227d6f(0x187)]?.[_0x227d6f(0x1de)]){let _0x3809d1=_0x2e809a['status']?.[_0x227d6f(0x199)]?.[_0x227d6f(0x1db)]||'';_0x2e809a['status']?.[_0x227d6f(0x199)]?.['parameters']&&(_0x3809d1+=':\x20'+_0x2e809a[_0x227d6f(0x187)]?.['description']?.[_0x227d6f(0x1f3)][_0x227d6f(0x206)]()),this[_0x227d6f(0x161)][_0x227d6f(0x1fc)](_0x227d6f(0x18b)+_0x2e809a+_0x227d6f(0x14a)+_0x3809d1);}else this[_0x227d6f(0x161)][_0x227d6f(0x13a)](_0x227d6f(0x17e),this[_0x227d6f(0x185)](_0x2e809a));_0xe57a43&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2e809a['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x227d6f(0x15c)](this,_0x2e809a,_0x2f8d2f)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x227d6f(0x1c6)](this[_0x227d6f(0x16e)],extend(!![],{},_0x2e809a));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x58527d){const _0x521454=a18_0x3ffbfb;this['logger'][_0x521454(0x21b)](_0x521454(0x218)+_0x58527d+'\x20accepted\x20by\x20agent');const _0x1ee080=extend(!![],{},_0x58527d);_0x1ee080[_0x521454(0x209)]=![],_0x1ee080['status']=new status_message_1[(_0x521454(0x1b5))](status_message_1[_0x521454(0x1b5)][_0x521454(0x134)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x521454(0x16e)],_0x1ee080);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x4480f4){const _0x3b28f0=a18_0x3ffbfb;this[_0x3b28f0(0x161)][_0x3b28f0(0x13a)](_0x3b28f0(0x175)+_0x4480f4),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4480f4['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this[_0x3b28f0(0x16e)],_0x4480f4);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x43a6d1){_0x43a6d1['forEach'](_0xd1ce87=>{const _0x3bb890=a18_0x1293;this[_0x3bb890(0x161)][_0x3bb890(0x13a)](_0x3bb890(0x12f)+_0xd1ce87['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0xd1ce87['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3bb890(0x15c)](this,_0xd1ce87,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x443b=a18_0x3ffbfb,_0x371d15=Date[_0x443b(0x17a)]()/0x3e8;return Object[_0x443b(0x130)](this[_0x443b(0x165)])[_0x443b(0x22e)](_0x5f5376=>_0x5f5376['expirationTime']?_0x5f5376[_0x443b(0x21e)]<_0x371d15:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x1a128f){const _0x161a91=a18_0x3ffbfb,_0x127f25=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x161a91(0x163)](_0x1a128f),_0x357c00=_0x127f25[_0x161a91(0x1d9)],_0x290b4f=_0x127f25[_0x161a91(0x1a1)];_0x357c00?.[_0x161a91(0x23a)]&&this['logger'][_0x161a91(0x21b)]('Blacklist:\x20\x0a\x09',_0x357c00[_0x161a91(0x183)]('\x0a\x09')),_0x290b4f?.['length']&&this[_0x161a91(0x161)][_0x161a91(0x21b)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0x290b4f[_0x161a91(0x183)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x161a91(0x215))](_0x357c00,_0x290b4f,this[_0x161a91(0x198)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x1e3eb3){const _0x536821=a18_0x3ffbfb,_0x4b5ce4=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x536821(0x184)](_0x1e3eb3);_0x4b5ce4?.[_0x536821(0x23a)]&&this[_0x536821(0x161)]['debug'](_0x536821(0x1a8),_0x4b5ce4['map'](_0x496f8d=>'name:\x20'+_0x496f8d[_0x536821(0x1d2)]+_0x536821(0x226)+_0x496f8d[_0x536821(0x13c)]+_0x536821(0x211)+_0x496f8d['pattern']+_0x536821(0x148)+_0x496f8d[_0x536821(0x1cf)])[_0x536821(0x183)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x536821(0x234))](this['logger']),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['setPatterns'](_0x4b5ce4);},_Debuglet_stringify=function _Debuglet_stringify(_0x1a044d){const _0xaeeae1=a18_0x3ffbfb;if(!_0x1a044d)return JSON['stringify'](_0x1a044d,(_0xbe34e2,_0x4dbeb0)=>_0x4dbeb0===undefined?_0xaeeae1(0x1ac):_0x4dbeb0);if(Array[_0xaeeae1(0x203)](_0x1a044d)){const _0x59c411=_0x1a044d['map'](_0x3dbee2=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0xaeeae1(0x15c)](this,_0x3dbee2));return'['+_0x59c411[_0xaeeae1(0x183)](',\x20')+']';}if(typeof _0x1a044d===_0xaeeae1(0x1f1)){const _0x2785f7=Object[_0xaeeae1(0x1ad)](_0x1a044d)[_0xaeeae1(0x17b)](([_0x261ed9,_0x5bcd2d])=>{const _0x5dfd44=_0xaeeae1,_0x2720fc=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x5dfd44(0x1dd)](_0x261ed9)?redaction_manager_1[_0x5dfd44(0x1b4)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x5dfd44(0x15c)](this,_0x5bcd2d);return JSON[_0x5dfd44(0x1f9)](_0x261ed9)+':\x20'+_0x2720fc;})[_0xaeeae1(0x183)](',\x20');return'{'+_0x2785f7+'}';}return JSON[_0xaeeae1(0x1f9)](_0x1a044d);});
@@ -1 +1 @@
1
- 'use strict';const a19_0x16bacf=a19_0x2f9e;(function(_0x251eb5,_0x3565e6){const _0x5b3fe1=a19_0x2f9e,_0x55b4c2=_0x251eb5();while(!![]){try{const _0x11babf=parseInt(_0x5b3fe1(0x105))/0x1*(parseInt(_0x5b3fe1(0x12a))/0x2)+-parseInt(_0x5b3fe1(0x119))/0x3*(-parseInt(_0x5b3fe1(0x114))/0x4)+-parseInt(_0x5b3fe1(0xfb))/0x5+-parseInt(_0x5b3fe1(0x124))/0x6*(-parseInt(_0x5b3fe1(0x10b))/0x7)+-parseInt(_0x5b3fe1(0x116))/0x8+-parseInt(_0x5b3fe1(0x128))/0x9*(parseInt(_0x5b3fe1(0xfc))/0xa)+parseInt(_0x5b3fe1(0x118))/0xb*(-parseInt(_0x5b3fe1(0x12c))/0xc);if(_0x11babf===_0x3565e6)break;else _0x55b4c2['push'](_0x55b4c2['shift']());}catch(_0x5ec6a1){_0x55b4c2['push'](_0x55b4c2['shift']());}}}(a19_0x2872,0x37717));Object[a19_0x16bacf(0xf7)](exports,'__esModule',{'value':!![]}),exports[a19_0x16bacf(0x127)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0x16bacf(0xec));var OS;(function(_0x4336f6){const _0x4b0788=a19_0x16bacf;_0x4336f6[_0x4b0788(0x115)]=_0x4b0788(0xe7),_0x4336f6['Windows']=_0x4b0788(0x106),_0x4336f6['MacOS']=_0x4b0788(0x122);}(OS||(OS={})));var ProcArch;(function(_0xebda7d){const _0x5024a7=a19_0x16bacf,_0x1da1a8=(function(){let _0x410280=!![];return function(_0x1580a5,_0x2461d1){const _0x2fcb3d=_0x410280?function(){const _0x5af8ee=a19_0x2f9e;if(_0x2461d1){const _0xfb7d70=_0x2461d1[_0x5af8ee(0x120)](_0x1580a5,arguments);return _0x2461d1=null,_0xfb7d70;}}:function(){};return _0x410280=![],_0x2fcb3d;};}()),_0x32e198=_0x1da1a8(this,function(){const _0x5cccb6=a19_0x2f9e;return _0x32e198[_0x5cccb6(0x110)]()[_0x5cccb6(0xf3)](_0x5cccb6(0x117))[_0x5cccb6(0x110)]()[_0x5cccb6(0xf5)](_0x32e198)[_0x5cccb6(0xf3)](_0x5cccb6(0x117));});_0x32e198(),_0xebda7d[_0x5024a7(0x10c)]=_0x5024a7(0x10c),_0xebda7d[_0x5024a7(0x107)]='x32',_0xebda7d[_0x5024a7(0xea)]=_0x5024a7(0xea),_0xebda7d[_0x5024a7(0x11f)]=_0x5024a7(0x11f);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a19_0x16bacf(0x115)],'win32':OS['Windows'],'darwin':OS[a19_0x16bacf(0x113)]},ArchToProcArchMap={'x32':ProcArch[a19_0x16bacf(0x107)],'x64':ProcArch['x64'],'arm':ProcArch['arm'],'arm64':ProcArch[a19_0x16bacf(0x11f)]};class EnvironmentMetadata{constructor(_0x5dc8d2){const _0x3b4301=a19_0x16bacf;assert(_0x5dc8d2!==null),this[_0x3b4301(0xf2)]=_0x5dc8d2;}get[a19_0x16bacf(0xf0)](){const _0xc6cb50=a19_0x16bacf;try{const _0x3d97c=process[_0xc6cb50(0xe8)][_0xc6cb50(0x108)][_0xc6cb50(0x10e)](/(\d+\.\d+)\..*/);if(_0x3d97c)return _0x3d97c[0x1];}catch(_0x5c0876){this['_logger'][_0xc6cb50(0x102)](_0x5c0876);}return;}get['runtimeEnvironmentInfo'](){const _0x142ec6=a19_0x16bacf;return _0x142ec6(0xf9)+process[_0x142ec6(0x11b)]+_0x142ec6(0x101)+(0x0,os_1[_0x142ec6(0x11e)])()+'\x20'+(0x0,os_1['release'])();}get['pid'](){const _0x5ebdbc=a19_0x16bacf;return process[_0x5ebdbc(0x11a)][_0x5ebdbc(0x110)]();}get[a19_0x16bacf(0x100)](){const _0xdb2f61=a19_0x16bacf;return ArchToProcArchMap[process[_0xdb2f61(0xfa)]]||process[_0xdb2f61(0xfa)];}get[a19_0x16bacf(0x103)](){const _0x1adfff=a19_0x16bacf;return(0x0,os_1[_0x1adfff(0xe6)])()['length'];}get['systemTotalMemoryBytes'](){const _0x2e1f27=a19_0x16bacf;return(0x0,os_1[_0x2e1f27(0x123)])();}get[a19_0x16bacf(0xee)](){const _0x11fb27=a19_0x16bacf;return(0x0,os_1[_0x11fb27(0xfd)])();}get[a19_0x16bacf(0xff)](){const _0x1eb4e8=a19_0x16bacf;return PlatformToOsMap[(0x0,os_1[_0x1eb4e8(0x11e)])()]||(0x0,os_1[_0x1eb4e8(0x11e)])();}get[a19_0x16bacf(0xe9)](){const _0x16c52e=a19_0x16bacf;try{if(this[_0x16c52e(0xff)]===OS[_0x16c52e(0x115)])return this[_0x16c52e(0xef)][_0x16c52e(0xeb)]('VERSION_ID')??(0x0,os_1[_0x16c52e(0x109)])();return(0x0,os_1[_0x16c52e(0x109)])();}catch(_0x3d6364){this[_0x16c52e(0xf2)][_0x16c52e(0x102)](_0x3d6364);}return;}get[a19_0x16bacf(0xed)](){const _0x7317cb=a19_0x16bacf;return this['agentOS']===OS[_0x7317cb(0x115)]&&this['_osRelease']['get']('ID')||'';}get[a19_0x16bacf(0x11c)](){const _0x1f9f67=a19_0x16bacf;return this['agentOS']===OS['Linux']?(0x0,fs_1[_0x1f9f67(0x10f)])('/.dockerenv'):![];}get[a19_0x16bacf(0xf4)](){const _0x246b57=a19_0x16bacf;return!!process[_0x246b57(0x104)][_0x246b57(0x126)];}get['_osRelease'](){const _0x543221=a19_0x16bacf;if(!this[_0x543221(0x125)]){this[_0x543221(0x125)]=new Map();try{if(this[_0x543221(0xff)]===OS[_0x543221(0x115)]){const _0x10c657=(0x0,fs_1[_0x543221(0xf8)])(_0x543221(0xfe),_0x543221(0x129));_0x10c657[_0x543221(0xf1)](/\r?\n/)[_0x543221(0x112)](_0x3cff78=>{const _0x188189=_0x543221,[_0x42e5af,_0x492385]=_0x3cff78[_0x188189(0x121)]()[_0x188189(0xf1)]('=');this[_0x188189(0x125)]?.[_0x188189(0xf6)](_0x42e5af,_0x492385?.[_0x188189(0x12b)](/^"|"$/g,'')||'');});}}catch(_0x117303){this['_logger']['warn'](_0x543221(0x111),_0x117303);}}return this['_cachedOsRelease'];}[a19_0x16bacf(0x11d)](){const _0x4b9630=a19_0x16bacf;return{'runtimeEnvironmentVersion':this[_0x4b9630(0xf0)],'runtimeEnvironmentInfo':this[_0x4b9630(0x10d)],'pid':this[_0x4b9630(0x11a)],'cpuCoreCount':this[_0x4b9630(0x103)],'systemTotalMemoryBytes':this[_0x4b9630(0x10a)],'host':this[_0x4b9630(0xee)],'agentOS':this['agentOS'],'osVersion':this[_0x4b9630(0xe9)],'linuxDistroName':this['linuxDistroName']||undefined,'isInDocker':this[_0x4b9630(0x11c)],'isInK8s':this['isInK8s'],'procArch':this[_0x4b9630(0x100)]};}}function a19_0x2f9e(_0x22c782,_0x25e6fe){const _0x5149e5=a19_0x2872();return a19_0x2f9e=function(_0x42f24,_0x1f557c){_0x42f24=_0x42f24-0xe6;let _0x287219=_0x5149e5[_0x42f24];return _0x287219;},a19_0x2f9e(_0x22c782,_0x25e6fe);}exports['EnvironmentMetadata']=EnvironmentMetadata;function a19_0x2872(){const _0x33ba9f=['version','isInDocker','getProps','platform','arm64','apply','trim','mac','totalmem','387642wOobOJ','_cachedOsRelease','KUBERNETES_SERVICE_HOST','EnvironmentMetadata','306pgBzAl','utf-8','236VApuTO','replace','12ArtQte','cpus','linux','versions','osVersion','arm','get','assert','linuxDistroName','host','_osRelease','runtimeEnvironmentVersion','split','_logger','search','isInK8s','constructor','set','defineProperty','readFileSync','Node.js\x20','arch','199195szdyCV','1690PsofSV','hostname','/etc/os-release','agentOS','procArch','\x20on\x20','error','cpuCoreCount','env','2815UBUgkg','windows','x32','node','release','systemTotalMemoryBytes','35naHRHM','x64','runtimeEnvironmentInfo','match','existsSync','toString','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','forEach','MacOS','4ziBpYH','Linux','1444288tMhOXw','(((.+)+)+)+$','3320911csBiQj','299736lkQBSu','pid'];a19_0x2872=function(){return _0x33ba9f;};return a19_0x2872();}
1
+ 'use strict';const a19_0x3b1212=a19_0x4eb5;function a19_0xd246(){const _0x36f204=['toString','totalmem','replace','trim','release','88979Asawuq','isInK8s','error','/etc/os-release','osVersion','(((.+)+)+)+$','agentOS','runtimeEnvironmentVersion','69TYnobV','systemTotalMemoryBytes','MacOS','/.dockerenv','hostname','linuxDistroName','_osRelease','split','cpuCoreCount','__esModule','arm','search','3038hdKaWp','length','7296JlqfBN','windows','warn','assert','arm64','versions','Linux','version','set','904HFYoTY','_cachedOsRelease','Windows','VERSION_ID','36HgDcJV','constructor','cpus','node','apply','4755050cgRQOj','procArch','x32','get','isInDocker','env','175MLGQbR','arch','host','\x20on\x20','EnvironmentMetadata','503713UuoNTs','forEach','x64','runtimeEnvironmentInfo','defineProperty','utf-8','platform','pid','Node.js\x20','existsSync','_logger','1223220OkBEKe'];a19_0xd246=function(){return _0x36f204;};return a19_0xd246();}(function(_0x3eaa99,_0x187282){const _0x4b44cd=a19_0x4eb5,_0x8585d8=_0x3eaa99();while(!![]){try{const _0x2e1fa4=parseInt(_0x4b44cd(0x183))/0x1+-parseInt(_0x4b44cd(0x197))/0x2*(parseInt(_0x4b44cd(0x18b))/0x3)+-parseInt(_0x4b44cd(0x1c1))/0x4+parseInt(_0x4b44cd(0x1b1))/0x5*(parseInt(_0x4b44cd(0x199))/0x6)+-parseInt(_0x4b44cd(0x1b6))/0x7+parseInt(_0x4b44cd(0x1a2))/0x8*(parseInt(_0x4b44cd(0x1a6))/0x9)+parseInt(_0x4b44cd(0x1ab))/0xa;if(_0x2e1fa4===_0x187282)break;else _0x8585d8['push'](_0x8585d8['shift']());}catch(_0x21f7c6){_0x8585d8['push'](_0x8585d8['shift']());}}}(a19_0xd246,0x2f8eb));Object[a19_0x3b1212(0x1ba)](exports,a19_0x3b1212(0x194),{'value':!![]}),exports[a19_0x3b1212(0x1b5)]=void 0x0;function a19_0x4eb5(_0x3bf1e7,_0x2e535c){const _0x2beb6d=a19_0xd246();return a19_0x4eb5=function(_0x2969a1,_0x3ffacb){_0x2969a1=_0x2969a1-0x17f;let _0xd2462d=_0x2beb6d[_0x2969a1];return _0xd2462d;},a19_0x4eb5(_0x3bf1e7,_0x2e535c);}const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0x3b1212(0x19c));var OS;(function(_0x4f56d3){const _0x29bb6e=a19_0x3b1212,_0x5ecb92=(function(){let _0x1dc723=!![];return function(_0x51da13,_0x3f9124){const _0x38c50b=_0x1dc723?function(){const _0x1a9c27=a19_0x4eb5;if(_0x3f9124){const _0x4bc8a2=_0x3f9124[_0x1a9c27(0x1aa)](_0x51da13,arguments);return _0x3f9124=null,_0x4bc8a2;}}:function(){};return _0x1dc723=![],_0x38c50b;};}()),_0x527e48=_0x5ecb92(this,function(){const _0x4f4e64=a19_0x4eb5;return _0x527e48[_0x4f4e64(0x1c2)]()[_0x4f4e64(0x196)]('(((.+)+)+)+$')[_0x4f4e64(0x1c2)]()[_0x4f4e64(0x1a7)](_0x527e48)[_0x4f4e64(0x196)](_0x4f4e64(0x188));});_0x527e48(),_0x4f56d3[_0x29bb6e(0x19f)]='linux',_0x4f56d3[_0x29bb6e(0x1a4)]=_0x29bb6e(0x19a),_0x4f56d3[_0x29bb6e(0x18d)]='mac';}(OS||(OS={})));var ProcArch;(function(_0x4ff2c2){const _0x3b589a=a19_0x3b1212;_0x4ff2c2[_0x3b589a(0x1b8)]='x64',_0x4ff2c2['x32']=_0x3b589a(0x1ad),_0x4ff2c2[_0x3b589a(0x195)]=_0x3b589a(0x195),_0x4ff2c2[_0x3b589a(0x19d)]='arm64';}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a19_0x3b1212(0x19f)],'win32':OS[a19_0x3b1212(0x1a4)],'darwin':OS[a19_0x3b1212(0x18d)]},ArchToProcArchMap={'x32':ProcArch[a19_0x3b1212(0x1ad)],'x64':ProcArch[a19_0x3b1212(0x1b8)],'arm':ProcArch['arm'],'arm64':ProcArch[a19_0x3b1212(0x19d)]};class EnvironmentMetadata{constructor(_0x472e1d){const _0x719ae8=a19_0x3b1212;assert(_0x472e1d!==null),this[_0x719ae8(0x1c0)]=_0x472e1d;}get[a19_0x3b1212(0x18a)](){const _0xc3db28=a19_0x3b1212;try{const _0x440a88=process[_0xc3db28(0x19e)][_0xc3db28(0x1a9)]['match'](/(\d+\.\d+)\..*/);if(_0x440a88)return _0x440a88[0x1];}catch(_0x16a644){this[_0xc3db28(0x1c0)]['error'](_0x16a644);}return;}get[a19_0x3b1212(0x1b9)](){const _0x544323=a19_0x3b1212;return _0x544323(0x1be)+process[_0x544323(0x1a0)]+_0x544323(0x1b4)+(0x0,os_1[_0x544323(0x1bc)])()+'\x20'+(0x0,os_1[_0x544323(0x182)])();}get[a19_0x3b1212(0x1bd)](){const _0x598f86=a19_0x3b1212;return process[_0x598f86(0x1bd)]['toString']();}get[a19_0x3b1212(0x1ac)](){const _0x260e21=a19_0x3b1212;return ArchToProcArchMap[process[_0x260e21(0x1b2)]]||process['arch'];}get['cpuCoreCount'](){const _0x2b94b5=a19_0x3b1212;return(0x0,os_1[_0x2b94b5(0x1a8)])()[_0x2b94b5(0x198)];}get[a19_0x3b1212(0x18c)](){const _0x3d6e0e=a19_0x3b1212;return(0x0,os_1[_0x3d6e0e(0x17f)])();}get['host'](){const _0xb894b2=a19_0x3b1212;return(0x0,os_1[_0xb894b2(0x18f)])();}get[a19_0x3b1212(0x189)](){const _0x44c9f2=a19_0x3b1212;return PlatformToOsMap[(0x0,os_1['platform'])()]||(0x0,os_1[_0x44c9f2(0x1bc)])();}get[a19_0x3b1212(0x187)](){const _0x19d95c=a19_0x3b1212;try{if(this['agentOS']===OS[_0x19d95c(0x19f)])return this[_0x19d95c(0x191)][_0x19d95c(0x1ae)](_0x19d95c(0x1a5))??(0x0,os_1['release'])();return(0x0,os_1['release'])();}catch(_0x3d1d4f){this[_0x19d95c(0x1c0)][_0x19d95c(0x185)](_0x3d1d4f);}return;}get[a19_0x3b1212(0x190)](){const _0x520ab8=a19_0x3b1212;return this['agentOS']===OS[_0x520ab8(0x19f)]&&this['_osRelease'][_0x520ab8(0x1ae)]('ID')||'';}get[a19_0x3b1212(0x1af)](){const _0x41d7ac=a19_0x3b1212;return this[_0x41d7ac(0x189)]===OS[_0x41d7ac(0x19f)]?(0x0,fs_1[_0x41d7ac(0x1bf)])(_0x41d7ac(0x18e)):![];}get[a19_0x3b1212(0x184)](){const _0xac34ea=a19_0x3b1212;return!!process[_0xac34ea(0x1b0)]['KUBERNETES_SERVICE_HOST'];}get['_osRelease'](){const _0x4c9053=a19_0x3b1212;if(!this[_0x4c9053(0x1a3)]){this['_cachedOsRelease']=new Map();try{if(this[_0x4c9053(0x189)]===OS['Linux']){const _0x4e5ea7=(0x0,fs_1['readFileSync'])(_0x4c9053(0x186),_0x4c9053(0x1bb));_0x4e5ea7[_0x4c9053(0x192)](/\r?\n/)[_0x4c9053(0x1b7)](_0x1e3239=>{const _0x218587=_0x4c9053,[_0x1feecd,_0x145363]=_0x1e3239[_0x218587(0x181)]()[_0x218587(0x192)]('=');this[_0x218587(0x1a3)]?.[_0x218587(0x1a1)](_0x1feecd,_0x145363?.[_0x218587(0x180)](/^"|"$/g,'')||'');});}}catch(_0xf0dc8c){this[_0x4c9053(0x1c0)][_0x4c9053(0x19b)]('Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release',_0xf0dc8c);}}return this[_0x4c9053(0x1a3)];}['getProps'](){const _0x1bb554=a19_0x3b1212;return{'runtimeEnvironmentVersion':this[_0x1bb554(0x18a)],'runtimeEnvironmentInfo':this[_0x1bb554(0x1b9)],'pid':this['pid'],'cpuCoreCount':this[_0x1bb554(0x193)],'systemTotalMemoryBytes':this[_0x1bb554(0x18c)],'host':this[_0x1bb554(0x1b3)],'agentOS':this['agentOS'],'osVersion':this[_0x1bb554(0x187)],'linuxDistroName':this[_0x1bb554(0x190)]||undefined,'isInDocker':this[_0x1bb554(0x1af)],'isInK8s':this[_0x1bb554(0x184)],'procArch':this[_0x1bb554(0x1ac)]};}}exports['EnvironmentMetadata']=EnvironmentMetadata;
@@ -1 +1 @@
1
- function a20_0xa82c(){const _0xff48ee=['length','has','fromFileStats','1780156bVElpz','substr','apply','FileIndex','set','buildIndex','7785620NiYksy','path','filter','add','438707WPHWuc','findShortestFuzzyMatches','fileIndex','18gmZpAA','3258rbhwKh','__esModule','search','constructor','2278536iqLilR','indexOf','includes','keys','push','map','sep','size','fileStats','fromFileList','_fileStats','315928qjoMoF','substring','generateSubPaths','1336065GZxXmJ','1138CyAfPp','min','stripStartingSep','startsWith','toString','6QnnBgX','(((.+)+)+)+$','get'];a20_0xa82c=function(){return _0xff48ee;};return a20_0xa82c();}const a20_0x451aef=a20_0x1910;(function(_0x2a427c,_0x218b5a){const _0x4b0b4e=a20_0x1910,_0x57c4e7=_0x2a427c();while(!![]){try{const _0x5d84bc=-parseInt(_0x4b0b4e(0x87))/0x1+parseInt(_0x4b0b4e(0x9e))/0x2*(-parseInt(_0x4b0b4e(0x8b))/0x3)+parseInt(_0x4b0b4e(0x8f))/0x4+parseInt(_0x4b0b4e(0x9d))/0x5*(-parseInt(_0x4b0b4e(0x77))/0x6)+parseInt(_0x4b0b4e(0x7d))/0x7+-parseInt(_0x4b0b4e(0x9a))/0x8*(-parseInt(_0x4b0b4e(0x8a))/0x9)+parseInt(_0x4b0b4e(0x83))/0xa;if(_0x5d84bc===_0x218b5a)break;else _0x57c4e7['push'](_0x57c4e7['shift']());}catch(_0x2e8011){_0x57c4e7['push'](_0x57c4e7['shift']());}}}(a20_0xa82c,0x57500));const a20_0x16ee6a=(function(){let _0x137672=!![];return function(_0x454bfe,_0x38fe41){const _0x2c947a=_0x137672?function(){const _0x390152=a20_0x1910;if(_0x38fe41){const _0x57b963=_0x38fe41[_0x390152(0x7f)](_0x454bfe,arguments);return _0x38fe41=null,_0x57b963;}}:function(){};return _0x137672=![],_0x2c947a;};}()),a20_0x5b0918=a20_0x16ee6a(this,function(){const _0x528711=a20_0x1910;return a20_0x5b0918['toString']()[_0x528711(0x8d)](_0x528711(0x78))[_0x528711(0x76)]()[_0x528711(0x8e)](a20_0x5b0918)[_0x528711(0x8d)]('(((.+)+)+)+$');});a20_0x5b0918();'use strict';Object['defineProperty'](exports,a20_0x451aef(0x8c),{'value':!![]}),exports['FileIndex']=void 0x0;const path=require(a20_0x451aef(0x84));class FileIndex{constructor(_0x197063){const _0x1bb00d=a20_0x451aef;this[_0x1bb00d(0x99)]=_0x197063,this[_0x1bb00d(0x89)]=new Map();}static[a20_0x451aef(0x7c)](_0x1168d6){const _0x23cf8e=a20_0x451aef,_0x39bf76=new FileIndex(_0x1168d6);return _0x39bf76[_0x23cf8e(0x82)](Object[_0x23cf8e(0x92)](_0x1168d6)||[]),_0x39bf76;}static[a20_0x451aef(0x98)](_0x23c5c7){const _0x8d2ddf=a20_0x451aef,_0x41f85c=new FileIndex(undefined);return _0x41f85c[_0x8d2ddf(0x82)](_0x23c5c7||[]),_0x41f85c;}get[a20_0x451aef(0x97)](){const _0x79cd24=a20_0x451aef;return this[_0x79cd24(0x99)]??{};}[a20_0x451aef(0x88)](_0x17f8b1){const _0x3e7221=a20_0x451aef,_0x424d09=this['search'](_0x17f8b1);if(!_0x424d09||_0x424d09[_0x3e7221(0x96)]===0x0)return[];const _0x2d890a=[..._0x424d09][_0x3e7221(0x94)](_0x5eb966=>_0x5eb966[_0x3e7221(0x7a)]),_0x1c9201=Math[_0x3e7221(0x9f)](..._0x2d890a),_0x36a6fc=[..._0x424d09][_0x3e7221(0x85)](_0x20438e=>_0x20438e[_0x3e7221(0x7a)]===_0x1c9201);return _0x36a6fc;}['buildIndex'](_0x5aa2e2){const _0x37942a=a20_0x451aef;for(const _0x1d070a of _0x5aa2e2){for(const _0x5c182f of this['generateSubPaths'](_0x1d070a)){let _0x18cf84=this[_0x37942a(0x89)]['get'](_0x5c182f);_0x18cf84===undefined&&(_0x18cf84=new Set(),this[_0x37942a(0x89)][_0x37942a(0x81)](_0x5c182f,_0x18cf84)),_0x18cf84[_0x37942a(0x86)](_0x1d070a);}}}['generateSubPaths'](_0x875b30){const _0x425c3c=a20_0x451aef;_0x875b30=this[_0x425c3c(0x74)](_0x875b30);const _0x2be1ef=[_0x875b30];while(_0x875b30[_0x425c3c(0x91)](path['sep'])){_0x875b30=_0x875b30[_0x425c3c(0x9b)](_0x875b30[_0x425c3c(0x90)](path[_0x425c3c(0x95)])+path[_0x425c3c(0x95)][_0x425c3c(0x7a)],_0x875b30['length']),_0x2be1ef[_0x425c3c(0x93)](_0x875b30);}return _0x2be1ef;}['search'](_0x2315a8){const _0x54a9f4=a20_0x451aef;if(!_0x2315a8)return undefined;_0x2315a8=this[_0x54a9f4(0x74)](_0x2315a8);for(const _0x443a0f of this[_0x54a9f4(0x9c)](_0x2315a8)){if(this[_0x54a9f4(0x89)][_0x54a9f4(0x7b)](_0x443a0f))return this[_0x54a9f4(0x89)][_0x54a9f4(0x79)](_0x443a0f);}return undefined;}[a20_0x451aef(0x74)](_0x546649){const _0x4b44d8=a20_0x451aef;if(_0x546649&&(_0x546649['startsWith']('/')||_0x546649[_0x4b44d8(0x75)]('\x5c')))return _0x546649[_0x4b44d8(0x7e)](0x1);return _0x546649;}}function a20_0x1910(_0x421030,_0x3578a3){const _0xb34f74=a20_0xa82c();return a20_0x1910=function(_0x5b0918,_0x16ee6a){_0x5b0918=_0x5b0918-0x74;let _0xa82c1=_0xb34f74[_0x5b0918];return _0xa82c1;},a20_0x1910(_0x421030,_0x3578a3);}exports[a20_0x451aef(0x80)]=FileIndex;
1
+ function a20_0x537d(){const _0x374bfe=['filter','get','sep','3573762OMtJhg','has','substring','fileStats','push','min','26GnoRit','459CdGnwD','buildIndex','includes','28136TqIhxV','length','_fileStats','substr','29774yqlwJP','fromFileList','search','(((.+)+)+)+$','toString','3379338DWNwUF','__esModule','727489IHltPE','11sxGjci','FileIndex','generateSubPaths','startsWith','fileIndex','defineProperty','stripStartingSep','190yHHZZJ','map','keys','125476NcRYcn','constructor','fromFileStats','indexOf','5234770hXyPih','apply','size'];a20_0x537d=function(){return _0x374bfe;};return a20_0x537d();}const a20_0x3cc82d=a20_0x32ab;(function(_0x370273,_0x3e3d8f){const _0x89f970=a20_0x32ab,_0x345e8f=_0x370273();while(!![]){try{const _0x3e1440=parseInt(_0x89f970(0x18b))/0x1*(parseInt(_0x89f970(0x1ad))/0x2)+parseInt(_0x89f970(0x1a7))/0x3+parseInt(_0x89f970(0x19d))/0x4*(-parseInt(_0x89f970(0x19a))/0x5)+parseInt(_0x89f970(0x190))/0x6+parseInt(_0x89f970(0x192))/0x7+parseInt(_0x89f970(0x1b1))/0x8*(parseInt(_0x89f970(0x1ae))/0x9)+parseInt(_0x89f970(0x1a1))/0xa*(-parseInt(_0x89f970(0x193))/0xb);if(_0x3e1440===_0x3e3d8f)break;else _0x345e8f['push'](_0x345e8f['shift']());}catch(_0x2c7c60){_0x345e8f['push'](_0x345e8f['shift']());}}}(a20_0x537d,0xad2d6));const a20_0x533f8b=(function(){let _0x126785=!![];return function(_0x11c21a,_0x4c93e9){const _0x42b614=_0x126785?function(){const _0x2af805=a20_0x32ab;if(_0x4c93e9){const _0x58cd99=_0x4c93e9[_0x2af805(0x1a2)](_0x11c21a,arguments);return _0x4c93e9=null,_0x58cd99;}}:function(){};return _0x126785=![],_0x42b614;};}()),a20_0x1fc1e5=a20_0x533f8b(this,function(){const _0x15f273=a20_0x32ab;return a20_0x1fc1e5['toString']()[_0x15f273(0x18d)](_0x15f273(0x18e))[_0x15f273(0x18f)]()[_0x15f273(0x19e)](a20_0x1fc1e5)['search']('(((.+)+)+)+$');});a20_0x1fc1e5();'use strict';function a20_0x32ab(_0x74fa26,_0x4ba071){const _0x200089=a20_0x537d();return a20_0x32ab=function(_0x1fc1e5,_0x533f8b){_0x1fc1e5=_0x1fc1e5-0x188;let _0x537dcc=_0x200089[_0x1fc1e5];return _0x537dcc;},a20_0x32ab(_0x74fa26,_0x4ba071);}Object[a20_0x3cc82d(0x198)](exports,a20_0x3cc82d(0x191),{'value':!![]}),exports[a20_0x3cc82d(0x194)]=void 0x0;const path=require('path');class FileIndex{constructor(_0x27fde3){const _0x31e4b7=a20_0x3cc82d;this[_0x31e4b7(0x189)]=_0x27fde3,this[_0x31e4b7(0x197)]=new Map();}static[a20_0x3cc82d(0x19f)](_0x5f30ea){const _0x3e568a=a20_0x3cc82d,_0x4f3ceb=new FileIndex(_0x5f30ea);return _0x4f3ceb[_0x3e568a(0x1af)](Object[_0x3e568a(0x19c)](_0x5f30ea)||[]),_0x4f3ceb;}static[a20_0x3cc82d(0x18c)](_0x200c30){const _0x4878da=a20_0x3cc82d,_0x523ac4=new FileIndex(undefined);return _0x523ac4[_0x4878da(0x1af)](_0x200c30||[]),_0x523ac4;}get[a20_0x3cc82d(0x1aa)](){const _0x515e96=a20_0x3cc82d;return this[_0x515e96(0x189)]??{};}['findShortestFuzzyMatches'](_0x275319){const _0x1ff8a0=a20_0x3cc82d,_0x160c81=this[_0x1ff8a0(0x18d)](_0x275319);if(!_0x160c81||_0x160c81[_0x1ff8a0(0x1a3)]===0x0)return[];const _0x274fdd=[..._0x160c81][_0x1ff8a0(0x19b)](_0x2ff63b=>_0x2ff63b['length']),_0x446b89=Math[_0x1ff8a0(0x1ac)](..._0x274fdd),_0x27eb64=[..._0x160c81][_0x1ff8a0(0x1a4)](_0x9d0c73=>_0x9d0c73['length']===_0x446b89);return _0x27eb64;}[a20_0x3cc82d(0x1af)](_0x4a8619){const _0x23fdc2=a20_0x3cc82d;for(const _0x4edd3e of _0x4a8619){for(const _0x280d07 of this[_0x23fdc2(0x195)](_0x4edd3e)){let _0x3a2404=this[_0x23fdc2(0x197)][_0x23fdc2(0x1a5)](_0x280d07);_0x3a2404===undefined&&(_0x3a2404=new Set(),this['fileIndex']['set'](_0x280d07,_0x3a2404)),_0x3a2404['add'](_0x4edd3e);}}}[a20_0x3cc82d(0x195)](_0x1a707c){const _0x3e5908=a20_0x3cc82d;_0x1a707c=this[_0x3e5908(0x199)](_0x1a707c);const _0x29e255=[_0x1a707c];while(_0x1a707c[_0x3e5908(0x1b0)](path[_0x3e5908(0x1a6)])){_0x1a707c=_0x1a707c[_0x3e5908(0x1a9)](_0x1a707c[_0x3e5908(0x1a0)](path[_0x3e5908(0x1a6)])+path[_0x3e5908(0x1a6)][_0x3e5908(0x188)],_0x1a707c[_0x3e5908(0x188)]),_0x29e255[_0x3e5908(0x1ab)](_0x1a707c);}return _0x29e255;}[a20_0x3cc82d(0x18d)](_0x2e597b){const _0x5182e4=a20_0x3cc82d;if(!_0x2e597b)return undefined;_0x2e597b=this[_0x5182e4(0x199)](_0x2e597b);for(const _0x174b49 of this[_0x5182e4(0x195)](_0x2e597b)){if(this[_0x5182e4(0x197)][_0x5182e4(0x1a8)](_0x174b49))return this['fileIndex'][_0x5182e4(0x1a5)](_0x174b49);}return undefined;}[a20_0x3cc82d(0x199)](_0x2728c3){const _0x5d0074=a20_0x3cc82d;if(_0x2728c3&&(_0x2728c3[_0x5d0074(0x196)]('/')||_0x2728c3['startsWith']('\x5c')))return _0x2728c3[_0x5d0074(0x18a)](0x1);return _0x2728c3;}}exports[a20_0x3cc82d(0x194)]=FileIndex;
@@ -1 +1 @@
1
- const a21_0x42e826=a21_0x3ebe;function a21_0x3ebe(_0x3daa0b,_0x1959c8){const _0xdf4ba9=a21_0x5dea();return a21_0x3ebe=function(_0x32eb41,_0x4e4169){_0x32eb41=_0x32eb41-0x187;let _0x5deab2=_0xdf4ba9[_0x32eb41];return _0x5deab2;},a21_0x3ebe(_0x3daa0b,_0x1959c8);}(function(_0x23c5eb,_0x26c503){const _0x100ed5=a21_0x3ebe,_0x5a83ba=_0x23c5eb();while(!![]){try{const _0xe5ac3=parseInt(_0x100ed5(0x195))/0x1+parseInt(_0x100ed5(0x1a3))/0x2+-parseInt(_0x100ed5(0x19f))/0x3*(-parseInt(_0x100ed5(0x18b))/0x4)+-parseInt(_0x100ed5(0x19c))/0x5*(-parseInt(_0x100ed5(0x187))/0x6)+parseInt(_0x100ed5(0x18d))/0x7+parseInt(_0x100ed5(0x194))/0x8*(-parseInt(_0x100ed5(0x18c))/0x9)+-parseInt(_0x100ed5(0x197))/0xa;if(_0xe5ac3===_0x26c503)break;else _0x5a83ba['push'](_0x5a83ba['shift']());}catch(_0x20fc05){_0x5a83ba['push'](_0x5a83ba['shift']());}}}(a21_0x5dea,0x77ab9));const a21_0x4e4169=(function(){let _0x4ffc92=!![];return function(_0x6616ff,_0x5f58a1){const _0x331edd=_0x4ffc92?function(){if(_0x5f58a1){const _0xe39944=_0x5f58a1['apply'](_0x6616ff,arguments);return _0x5f58a1=null,_0xe39944;}}:function(){};return _0x4ffc92=![],_0x331edd;};}()),a21_0x32eb41=a21_0x4e4169(this,function(){const _0x37cdc3=a21_0x3ebe;return a21_0x32eb41[_0x37cdc3(0x190)]()[_0x37cdc3(0x19b)](_0x37cdc3(0x196))[_0x37cdc3(0x190)]()['constructor'](a21_0x32eb41)[_0x37cdc3(0x19b)](_0x37cdc3(0x196));});a21_0x32eb41();function a21_0x5dea(){const _0x4319ce=['path','all','8whoIcq','237280veysIX','(((.+)+)+)+$','15389970gKcdlV','hash','selectStats','keys','search','80215Uvmvrx','stats','filter','3cBJEEH','errorMap','ScanResultsImpl','__esModule','1051398IcJXfe','174MwjkHG','normalize','selectFiles','replace','3815924ComMMm','8691255usIPbB','5688578DUvobD','test','forEach','toString','errors'];a21_0x5dea=function(){return _0x4319ce;};return a21_0x5dea();}'use strict';Object['defineProperty'](exports,a21_0x42e826(0x1a2),{'value':!![]}),exports[a21_0x42e826(0x1a1)]=void 0x0;const path=require(a21_0x42e826(0x192));class ScanResultsImpl{constructor(_0x3bae0c,_0x47cf44,_0x411ed3){const _0x4faf0f=a21_0x42e826;this[_0x4faf0f(0x19d)]=_0x3bae0c,this[_0x4faf0f(0x1a0)]=_0x47cf44,this[_0x4faf0f(0x198)]=_0x411ed3;}[a21_0x42e826(0x191)](){const _0x2f37c1=a21_0x42e826;return this[_0x2f37c1(0x1a0)];}[a21_0x42e826(0x193)](){const _0x39c065=a21_0x42e826;return this[_0x39c065(0x19d)];}[a21_0x42e826(0x199)](_0x9b63b5){const _0x10b0f8=a21_0x42e826,_0x544012={};return Object[_0x10b0f8(0x19a)](this[_0x10b0f8(0x19d)])[_0x10b0f8(0x18f)](_0x2a18b5=>{_0x9b63b5['test'](_0x2a18b5)&&(_0x544012[_0x2a18b5]=this['stats'][_0x2a18b5]);}),_0x544012;}[a21_0x42e826(0x189)](_0x40e87a,_0x16e49c){const _0x4a8b2f=a21_0x42e826;return _0x16e49c=path[_0x4a8b2f(0x188)](_0x16e49c+path['sep']),Object[_0x4a8b2f(0x19a)](this[_0x4a8b2f(0x19d)])[_0x4a8b2f(0x19e)](_0x5faed5=>_0x5faed5&&_0x40e87a[_0x4a8b2f(0x18e)](_0x5faed5))['map'](_0x3935c8=>path['normalize'](_0x3935c8)[_0x4a8b2f(0x18a)](_0x16e49c,''));}}exports['ScanResultsImpl']=ScanResultsImpl;
1
+ const a21_0x26ba36=a21_0x1795;(function(_0x1dfc42,_0x3c01bd){const _0x5d6fff=a21_0x1795,_0x568a25=_0x1dfc42();while(!![]){try{const _0x390b03=parseInt(_0x5d6fff(0xcc))/0x1+parseInt(_0x5d6fff(0xd5))/0x2*(-parseInt(_0x5d6fff(0xe4))/0x3)+parseInt(_0x5d6fff(0xe6))/0x4+parseInt(_0x5d6fff(0xcd))/0x5+-parseInt(_0x5d6fff(0xdd))/0x6*(parseInt(_0x5d6fff(0xda))/0x7)+-parseInt(_0x5d6fff(0xd8))/0x8+parseInt(_0x5d6fff(0xe3))/0x9*(-parseInt(_0x5d6fff(0xcf))/0xa);if(_0x390b03===_0x3c01bd)break;else _0x568a25['push'](_0x568a25['shift']());}catch(_0x1a79f7){_0x568a25['push'](_0x568a25['shift']());}}}(a21_0x56c0,0x9b3de));function a21_0x56c0(){const _0x9f6e24=['ScanResultsImpl','defineProperty','793593dfJosC','6199645wxhWIE','path','11907570HJnAOn','apply','hash','filter','(((.+)+)+)+$','keys','82938HTRNIN','errorMap','constructor','1485584gbBKoJ','stats','233177BIjdHz','all','search','66omzwDj','replace','map','sep','test','normalize','9mCiSRe','18OGCpBo','forEach','2376152VUwUBw','selectStats'];a21_0x56c0=function(){return _0x9f6e24;};return a21_0x56c0();}function a21_0x1795(_0x33cf03,_0x1b4421){const _0x7e7795=a21_0x56c0();return a21_0x1795=function(_0x237467,_0x4a598a){_0x237467=_0x237467-0xcb;let _0x56c051=_0x7e7795[_0x237467];return _0x56c051;},a21_0x1795(_0x33cf03,_0x1b4421);}const a21_0x4a598a=(function(){let _0x184c34=!![];return function(_0x316bfb,_0x14972e){const _0x376aa4=_0x184c34?function(){const _0x5e9fe6=a21_0x1795;if(_0x14972e){const _0x525794=_0x14972e[_0x5e9fe6(0xd0)](_0x316bfb,arguments);return _0x14972e=null,_0x525794;}}:function(){};return _0x184c34=![],_0x376aa4;};}()),a21_0x237467=a21_0x4a598a(this,function(){const _0x400f5b=a21_0x1795;return a21_0x237467['toString']()[_0x400f5b(0xdc)](_0x400f5b(0xd3))['toString']()[_0x400f5b(0xd7)](a21_0x237467)[_0x400f5b(0xdc)](_0x400f5b(0xd3));});a21_0x237467();'use strict';Object[a21_0x26ba36(0xcb)](exports,'__esModule',{'value':!![]}),exports[a21_0x26ba36(0xe8)]=void 0x0;const path=require(a21_0x26ba36(0xce));class ScanResultsImpl{constructor(_0x37172a,_0x316aaa,_0x11a260){const _0x4e5004=a21_0x26ba36;this[_0x4e5004(0xd9)]=_0x37172a,this[_0x4e5004(0xd6)]=_0x316aaa,this[_0x4e5004(0xd1)]=_0x11a260;}['errors'](){const _0x59a030=a21_0x26ba36;return this[_0x59a030(0xd6)];}[a21_0x26ba36(0xdb)](){const _0x1010a4=a21_0x26ba36;return this[_0x1010a4(0xd9)];}[a21_0x26ba36(0xe7)](_0x5c3f24){const _0x830e80=a21_0x26ba36,_0x4651e4={};return Object[_0x830e80(0xd4)](this['stats'])[_0x830e80(0xe5)](_0x44ec77=>{_0x5c3f24['test'](_0x44ec77)&&(_0x4651e4[_0x44ec77]=this['stats'][_0x44ec77]);}),_0x4651e4;}['selectFiles'](_0x19981a,_0x3f6409){const _0x2b0d70=a21_0x26ba36;return _0x3f6409=path['normalize'](_0x3f6409+path[_0x2b0d70(0xe0)]),Object['keys'](this[_0x2b0d70(0xd9)])[_0x2b0d70(0xd2)](_0x416c08=>_0x416c08&&_0x19981a[_0x2b0d70(0xe1)](_0x416c08))[_0x2b0d70(0xdf)](_0x389660=>path[_0x2b0d70(0xe2)](_0x389660)[_0x2b0d70(0xde)](_0x3f6409,''));}}exports[a21_0x26ba36(0xe8)]=ScanResultsImpl;
@@ -1 +1 @@
1
- const a22_0x52c255=a22_0x4727;(function(_0x581870,_0x2ae51e){const _0x3b6ec4=a22_0x4727,_0x3b8c71=_0x581870();while(!![]){try{const _0x577199=-parseInt(_0x3b6ec4(0xa2))/0x1+parseInt(_0x3b6ec4(0xac))/0x2*(parseInt(_0x3b6ec4(0x9a))/0x3)+-parseInt(_0x3b6ec4(0xa9))/0x4*(parseInt(_0x3b6ec4(0x9d))/0x5)+parseInt(_0x3b6ec4(0x86))/0x6+-parseInt(_0x3b6ec4(0xae))/0x7*(parseInt(_0x3b6ec4(0xa8))/0x8)+-parseInt(_0x3b6ec4(0x7d))/0x9+-parseInt(_0x3b6ec4(0x8c))/0xa*(-parseInt(_0x3b6ec4(0xad))/0xb);if(_0x577199===_0x2ae51e)break;else _0x3b8c71['push'](_0x3b8c71['shift']());}catch(_0x18dc55){_0x3b8c71['push'](_0x3b8c71['shift']());}}}(a22_0x191e,0x294aa));function a22_0x4727(_0x4ab052,_0x3a1945){const _0x3a7878=a22_0x191e();return a22_0x4727=function(_0x377cda,_0x10f7b4){_0x377cda=_0x377cda-0x73;let _0x191ee4=_0x3a7878[_0x377cda];return _0x191ee4;},a22_0x4727(_0x4ab052,_0x3a1945);}const a22_0x10f7b4=(function(){let _0x238094=!![];return function(_0x29fab1,_0x2af6e3){const _0x3d25aa=_0x238094?function(){if(_0x2af6e3){const _0x3ef965=_0x2af6e3['apply'](_0x29fab1,arguments);return _0x2af6e3=null,_0x3ef965;}}:function(){};return _0x238094=![],_0x3d25aa;};}()),a22_0x377cda=a22_0x10f7b4(this,function(){const _0x35e0c8=a22_0x4727;return a22_0x377cda[_0x35e0c8(0x87)]()[_0x35e0c8(0x81)](_0x35e0c8(0x88))[_0x35e0c8(0x87)]()[_0x35e0c8(0xb0)](a22_0x377cda)[_0x35e0c8(0x81)](_0x35e0c8(0x88));});a22_0x377cda();'use strict';Object['defineProperty'](exports,a22_0x52c255(0x95),{'value':!![]}),exports[a22_0x52c255(0x83)]=void 0x0;const crypto=require(a22_0x52c255(0x90)),fs=require('fs'),path=require('path'),scan_results_1=require(a22_0x52c255(0x8d));class Scanner{constructor(_0x74bb0){const _0x4f344f=a22_0x52c255;this[_0x4f344f(0x98)]=_0x74bb0;}async[a22_0x52c255(0x9f)](_0x48a076,_0x16729b,_0x36500b,_0x1e14e9){const _0x1bb711=a22_0x52c255,_0x2bbbed=await this[_0x1bb711(0xa4)](_0x48a076,_0x16729b,_0x1e14e9);return this[_0x1bb711(0x89)](_0x2bbbed,_0x36500b);}async[a22_0x52c255(0x89)](_0x22d559,_0x5f0ba3){const _0x175b4d=a22_0x52c255;if(_0x22d559[_0x175b4d(0x97)]===0x0)return new scan_results_1['ScanResultsImpl']({},new Map(),'EMPTY-no-js-files');const _0x1bfa63=[],_0x46f969={},_0x13e49a=new Map();for(const _0x28f636 of _0x22d559){try{const _0x4c450a=await this[_0x175b4d(0x82)](_0x28f636,!_0x5f0ba3);!_0x5f0ba3&&_0x1bfa63['push'](_0x4c450a[_0x175b4d(0x80)]),_0x46f969[_0x28f636]=_0x4c450a;}catch(_0x4d0205){_0x13e49a[_0x175b4d(0x8f)](_0x28f636,_0x4d0205);}}let _0x288230;if(!_0x5f0ba3){const _0x53be84=_0x1bfa63[_0x175b4d(0x91)]()[_0x175b4d(0x76)](),_0x3fff55=crypto[_0x175b4d(0xa5)]('sha1')[_0x175b4d(0xaa)](_0x53be84)['digest'](_0x175b4d(0xa0));_0x288230=_0x175b4d(0x78)+_0x3fff55;}else _0x288230=_0x5f0ba3;return new scan_results_1[(_0x175b4d(0x8e))](_0x46f969,_0x13e49a,_0x288230);}async[a22_0x52c255(0xa4)](_0x18ceb1,_0x419e75,_0x1678e3){const _0xe56665=a22_0x52c255,_0x2ad8d8=new Set();await this['addFilesFromDir'](_0x2ad8d8,_0x18ceb1,_0x419e75);for(const _0x503f29 of _0x1678e3??[]){if(_0x503f29){const _0x47dc3e=path[_0xe56665(0x8b)](_0x503f29);try{await this['addFilesFromDir'](_0x2ad8d8,_0x47dc3e,_0x419e75);}catch(_0x4cd512){this[_0xe56665(0x98)][_0xe56665(0x7c)](_0xe56665(0x75),_0x4cd512);}}}return Array['from'](_0x2ad8d8);}static[a22_0x52c255(0x7f)](_0x1c216a){const _0x180ef0=a22_0x52c255;try{return fs['accessSync'](_0x1c216a,fs['constants'][_0x180ef0(0x85)]),!![];}catch{return![];}}async[a22_0x52c255(0x9b)](_0xf9ac1f,_0x547f6d,_0x41a475){return new Promise((_0x46caa1,_0x33601f)=>{const _0x7cc623=a22_0x4727;let _0x9c1e5a;if(!_0x547f6d){_0x33601f(new Error('addFilesFromDir\x20requires\x20a\x20searchDir\x20argument'));return;}this[_0x7cc623(0x98)][_0x7cc623(0x93)](_0x7cc623(0x99)+path['resolve'](_0x547f6d));const _0x1c8371=findit(_0x547f6d);_0x1c8371['on'](_0x7cc623(0x7c),_0x5179c1=>{_0x9c1e5a=_0x5179c1;return;}),_0x1c8371['on'](_0x7cc623(0x92),(_0x2c550f,_0x1cb4cc,_0x426c89)=>{const _0x3a291f=_0x7cc623,_0x7e2f2=path[_0x3a291f(0xab)](_0x2c550f);!Scanner[_0x3a291f(0x7f)](_0x2c550f)&&(this[_0x3a291f(0x98)][_0x3a291f(0x77)](_0x3a291f(0x96)+_0x2c550f+_0x3a291f(0xa6)),_0x426c89()),(_0x7e2f2===_0x3a291f(0x8a)||_0x7e2f2===_0x3a291f(0xa1))&&(!path['resolve'](_0x547f6d)[_0x3a291f(0x84)](path['resolve'](_0x2c550f))&&_0x426c89());}),_0x1c8371['on'](_0x7cc623(0x94),_0x3f21df=>{const _0x5dc0c5=_0x7cc623;_0x41a475[_0x5dc0c5(0xaf)](_0x3f21df)&&_0xf9ac1f[_0x5dc0c5(0xa3)](_0x3f21df);}),_0x1c8371['on'](_0x7cc623(0x73),()=>{_0x9c1e5a?_0x33601f(_0x9c1e5a):_0x46caa1();});});}async[a22_0x52c255(0x82)](_0x32592d,_0x3f8e64){return new Promise((_0x5a951c,_0x46f7a1)=>{const _0x2db46e=a22_0x4727,_0x40cceb=fs[_0x2db46e(0x7a)](_0x32592d);_0x40cceb['on']('error',_0xf8cb49=>{_0x46f7a1(_0xf8cb49);}),_0x40cceb['on'](_0x2db46e(0xa7),()=>{const _0x5f1033=_0x2db46e;let _0x491a8a;_0x3f8e64&&(_0x491a8a=crypto['createHash'](_0x5f1033(0x79)));let _0xcafbce=0x0,_0x39d14c;const _0x13360d=_0x40cceb[_0x5f1033(0x7b)](split());_0x13360d['on'](_0x5f1033(0x7c),_0x52951b=>{_0x39d14c=_0x52951b;}),_0x13360d['on'](_0x5f1033(0x74),_0x13c61a=>{const _0x593c9b=_0x5f1033;_0x3f8e64&&_0x491a8a[_0x593c9b(0xaa)](_0x13c61a),_0xcafbce++;}),_0x13360d['on']('end',()=>{const _0x2d3300=_0x5f1033;if(_0x39d14c)_0x46f7a1(_0x39d14c);else{const _0x318a1a=_0x3f8e64?_0x491a8a[_0x2d3300(0x7e)]('hex'):undefined;_0x5a951c({'hash':_0x318a1a,'lines':_0xcafbce});}});});});}}exports[a22_0x52c255(0x83)]=Scanner;function a22_0x191e(){const _0x1e6dc7=['R_OK','1938558tgIxfp','toString','(((.+)+)+)+$','computeStats','.git','resolve','300JWDlIJ','./scan-results','ScanResultsImpl','set','crypto','sort','directory','info','file','__esModule','can\x27t\x20access\x20path:\x20[','length','logger','Indexing\x20files\x20in\x20','276nKEzDL','addFilesFromDir','findit2','65tjeLvq','split','scan','hex','node_modules','218573lGucVp','add','findFiles','createHash','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','open','80wawiDT','102892YwJUjG','update','basename','5822rZRNmo','244607VJgEcG','216503xNSENN','test','constructor','end','data','Specified\x20extraPaths\x20does\x20not\x20exist!','join','warn','SHA1-','sha1','createReadStream','pipe','error','2039607WzNlqf','digest','hasReadAccess','hash','search','statsForFile','Scanner','startsWith'];a22_0x191e=function(){return _0x1e6dc7;};return a22_0x191e();}const findit=require(a22_0x52c255(0x9c)),split=require(a22_0x52c255(0x9e));
1
+ const a22_0x2e8caf=a22_0x2f35;(function(_0x3f965e,_0x32a015){const _0x199df3=a22_0x2f35,_0xc69582=_0x3f965e();while(!![]){try{const _0x2c939a=parseInt(_0x199df3(0xff))/0x1+-parseInt(_0x199df3(0x101))/0x2*(parseInt(_0x199df3(0x104))/0x3)+parseInt(_0x199df3(0x102))/0x4+parseInt(_0x199df3(0xf6))/0x5+-parseInt(_0x199df3(0xde))/0x6*(parseInt(_0x199df3(0xe3))/0x7)+parseInt(_0x199df3(0xfd))/0x8*(-parseInt(_0x199df3(0xd5))/0x9)+parseInt(_0x199df3(0xda))/0xa*(parseInt(_0x199df3(0xd2))/0xb);if(_0x2c939a===_0x32a015)break;else _0xc69582['push'](_0xc69582['shift']());}catch(_0xc035f9){_0xc69582['push'](_0xc69582['shift']());}}}(a22_0x521d,0xe0f64));const a22_0x3ad975=(function(){let _0x17ad18=!![];return function(_0x3c2dbf,_0x189b88){const _0x2e5615=_0x17ad18?function(){if(_0x189b88){const _0x82d8c5=_0x189b88['apply'](_0x3c2dbf,arguments);return _0x189b88=null,_0x82d8c5;}}:function(){};return _0x17ad18=![],_0x2e5615;};}()),a22_0x285da2=a22_0x3ad975(this,function(){const _0x21cf94=a22_0x2f35;return a22_0x285da2['toString']()[_0x21cf94(0xe5)](_0x21cf94(0xcc))['toString']()[_0x21cf94(0xce)](a22_0x285da2)['search'](_0x21cf94(0xcc));});a22_0x285da2();'use strict';Object[a22_0x2e8caf(0xdd)](exports,a22_0x2e8caf(0x100),{'value':!![]}),exports[a22_0x2e8caf(0xef)]=void 0x0;const crypto=require(a22_0x2e8caf(0xca)),fs=require('fs'),path=require(a22_0x2e8caf(0xdc)),scan_results_1=require(a22_0x2e8caf(0xdf));function a22_0x521d(){const _0x1b37e9=['directory','constructor','split','Specified\x20extraPaths\x20does\x20not\x20exist!','open','5775374efDkao','addFilesFromDir','data','45ALRGav','SHA1-','accessSync','push','error','20hYlIwi','computeStats','path','defineProperty','4127580PDweyw','./scan-results','sort','add','can\x27t\x20access\x20path:\x20[','14zBHrMe','info','search','resolve','EMPTY-no-js-files','constants','join','scan','end','hash','length','test','Scanner','createHash','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','logger','hex','file','createReadStream','7130475AocTRp','ScanResultsImpl','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','hasReadAccess','sha1','.git','R_OK','2666544zIHjuB','statsForFile','646490uNyNeK','__esModule','6PucPvB','6263456nZHMWl','update','724623ZYZNhu','findit2','node_modules','findFiles','from','digest','crypto','startsWith','(((.+)+)+)+$'];a22_0x521d=function(){return _0x1b37e9;};return a22_0x521d();}function a22_0x2f35(_0x4202b1,_0x3bb65e){const _0x5746c4=a22_0x521d();return a22_0x2f35=function(_0x285da2,_0x3ad975){_0x285da2=_0x285da2-0xc6;let _0x521d7d=_0x5746c4[_0x285da2];return _0x521d7d;},a22_0x2f35(_0x4202b1,_0x3bb65e);}class Scanner{constructor(_0x24af84){const _0x34b681=a22_0x2e8caf;this[_0x34b681(0xf2)]=_0x24af84;}async[a22_0x2e8caf(0xea)](_0x2afdfe,_0x5a35af,_0x56e100,_0x49bcb5){const _0x4f763f=a22_0x2e8caf,_0x5193a7=await this[_0x4f763f(0xc7)](_0x2afdfe,_0x5a35af,_0x49bcb5);return this[_0x4f763f(0xdb)](_0x5193a7,_0x56e100);}async['computeStats'](_0x1cca79,_0x2e0150){const _0x2ad4fa=a22_0x2e8caf;if(_0x1cca79[_0x2ad4fa(0xed)]===0x0)return new scan_results_1[(_0x2ad4fa(0xf7))]({},new Map(),_0x2ad4fa(0xe7));const _0x131b26=[],_0x1406a9={},_0x9f3043=new Map();for(const _0x423d1f of _0x1cca79){try{const _0x2f377e=await this[_0x2ad4fa(0xfe)](_0x423d1f,!_0x2e0150);!_0x2e0150&&_0x131b26[_0x2ad4fa(0xd8)](_0x2f377e[_0x2ad4fa(0xec)]),_0x1406a9[_0x423d1f]=_0x2f377e;}catch(_0x1db9db){_0x9f3043['set'](_0x423d1f,_0x1db9db);}}let _0x305268;if(!_0x2e0150){const _0x1b57e0=_0x131b26[_0x2ad4fa(0xe0)]()[_0x2ad4fa(0xe9)](),_0x379dc6=crypto[_0x2ad4fa(0xf0)](_0x2ad4fa(0xfa))[_0x2ad4fa(0x103)](_0x1b57e0)[_0x2ad4fa(0xc9)](_0x2ad4fa(0xf3));_0x305268=_0x2ad4fa(0xd6)+_0x379dc6;}else _0x305268=_0x2e0150;return new scan_results_1['ScanResultsImpl'](_0x1406a9,_0x9f3043,_0x305268);}async['findFiles'](_0x363641,_0x42ac23,_0x48d00c){const _0x4e171d=a22_0x2e8caf,_0xaf1c2e=new Set();await this[_0x4e171d(0xd3)](_0xaf1c2e,_0x363641,_0x42ac23);for(const _0x25c268 of _0x48d00c??[]){if(_0x25c268){const _0x3e9b34=path[_0x4e171d(0xe6)](_0x25c268);try{await this[_0x4e171d(0xd3)](_0xaf1c2e,_0x3e9b34,_0x42ac23);}catch(_0x1fb791){this[_0x4e171d(0xf2)]['error'](_0x4e171d(0xd0),_0x1fb791);}}}return Array[_0x4e171d(0xc8)](_0xaf1c2e);}static[a22_0x2e8caf(0xf9)](_0x37b759){const _0x244dac=a22_0x2e8caf;try{return fs[_0x244dac(0xd7)](_0x37b759,fs[_0x244dac(0xe8)][_0x244dac(0xfc)]),!![];}catch{return![];}}async[a22_0x2e8caf(0xd3)](_0x28f1a1,_0x44529e,_0x31f26f){return new Promise((_0x48b132,_0x454699)=>{const _0x56e56a=a22_0x2f35;let _0x48482e;if(!_0x44529e){_0x454699(new Error(_0x56e56a(0xf1)));return;}this['logger'][_0x56e56a(0xe4)]('Indexing\x20files\x20in\x20'+path[_0x56e56a(0xe6)](_0x44529e));const _0x5a67be=findit(_0x44529e);_0x5a67be['on'](_0x56e56a(0xd9),_0x58cf4b=>{_0x48482e=_0x58cf4b;return;}),_0x5a67be['on'](_0x56e56a(0xcd),(_0x27b072,_0x17bbcf,_0x4af6e4)=>{const _0xaeecb1=_0x56e56a,_0x2d2db6=path['basename'](_0x27b072);!Scanner[_0xaeecb1(0xf9)](_0x27b072)&&(this[_0xaeecb1(0xf2)]['warn'](_0xaeecb1(0xe2)+_0x27b072+_0xaeecb1(0xf8)),_0x4af6e4()),(_0x2d2db6===_0xaeecb1(0xfb)||_0x2d2db6===_0xaeecb1(0xc6))&&(!path[_0xaeecb1(0xe6)](_0x44529e)[_0xaeecb1(0xcb)](path[_0xaeecb1(0xe6)](_0x27b072))&&_0x4af6e4());}),_0x5a67be['on'](_0x56e56a(0xf4),_0x2cb7d1=>{const _0xf015ad=_0x56e56a;_0x31f26f[_0xf015ad(0xee)](_0x2cb7d1)&&_0x28f1a1[_0xf015ad(0xe1)](_0x2cb7d1);}),_0x5a67be['on'](_0x56e56a(0xeb),()=>{_0x48482e?_0x454699(_0x48482e):_0x48b132();});});}async['statsForFile'](_0x19490f,_0x20adbd){return new Promise((_0x1d02c5,_0x247199)=>{const _0x284c5a=a22_0x2f35,_0x555e0e=fs[_0x284c5a(0xf5)](_0x19490f);_0x555e0e['on']('error',_0x3477a6=>{_0x247199(_0x3477a6);}),_0x555e0e['on'](_0x284c5a(0xd1),()=>{const _0x4e4a6e=_0x284c5a;let _0x471798;_0x20adbd&&(_0x471798=crypto['createHash'](_0x4e4a6e(0xfa)));let _0x54d355=0x0,_0x197011;const _0x302aa1=_0x555e0e['pipe'](split());_0x302aa1['on'](_0x4e4a6e(0xd9),_0x5b9573=>{_0x197011=_0x5b9573;}),_0x302aa1['on'](_0x4e4a6e(0xd4),_0x41af08=>{_0x20adbd&&_0x471798['update'](_0x41af08),_0x54d355++;}),_0x302aa1['on'](_0x4e4a6e(0xeb),()=>{const _0x30bc9e=_0x4e4a6e;if(_0x197011)_0x247199(_0x197011);else{const _0x1e06dc=_0x20adbd?_0x471798[_0x30bc9e(0xc9)](_0x30bc9e(0xf3)):undefined;_0x1d02c5({'hash':_0x1e06dc,'lines':_0x54d355});}});});});}}exports['Scanner']=Scanner;const findit=require(a22_0x2e8caf(0x105)),split=require(a22_0x2e8caf(0xcf));