lightrun 1.77.0 → 1.78.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 (51) hide show
  1. package/LICENSE +1 -1
  2. package/build/src/agent/agent-logger.js +1 -1
  3. package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
  4. package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
  5. package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
  6. package/build/src/agent/config.js +1 -1
  7. package/build/src/agent/configuration-provider.js +1 -1
  8. package/build/src/agent/controller.js +1 -1
  9. package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
  10. package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
  11. package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
  12. package/build/src/agent/debuglet-helpers/delimit.js +1 -1
  13. package/build/src/agent/debuglet-helpers/format.js +1 -1
  14. package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
  15. package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
  16. package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
  17. package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
  18. package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
  19. package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
  20. package/build/src/agent/debuglet.js +1 -1
  21. package/build/src/agent/environment-metadata.js +1 -1
  22. package/build/src/agent/io/file-index.js +1 -1
  23. package/build/src/agent/io/scan-results.js +1 -1
  24. package/build/src/agent/io/scanner.js +1 -1
  25. package/build/src/agent/io/sourcemapper.js +1 -1
  26. package/build/src/agent/leaky-bucket.js +1 -1
  27. package/build/src/agent/log-data.js +1 -1
  28. package/build/src/agent/piping-manager.js +1 -1
  29. package/build/src/agent/quota-manager.js +1 -1
  30. package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
  31. package/build/src/agent/reduction/redaction-manager.js +1 -1
  32. package/build/src/agent/serverless.js +1 -1
  33. package/build/src/agent/state/inspector-state.js +1 -1
  34. package/build/src/agent/util/debug-assert.js +1 -1
  35. package/build/src/agent/util/utils.js +1 -1
  36. package/build/src/agent/util/validator.js +1 -1
  37. package/build/src/agent/v8/debugapi.js +1 -1
  38. package/build/src/agent/v8/inspector-debugapi.js +1 -1
  39. package/build/src/agent/v8/v8inspector.js +1 -1
  40. package/build/src/client/stackdriver/debug.js +1 -1
  41. package/build/src/client/stackdriver/status-message.js +1 -1
  42. package/build/src/debuggee.js +1 -1
  43. package/build/src/gcp.js +1 -1
  44. package/build/src/index.d.ts +1 -0
  45. package/build/src/index.js +1 -1
  46. package/build/src/lambda.js +1 -1
  47. package/build/src/resources/version.txt +1 -1
  48. package/build/src/types/lightrun.js +1 -1
  49. package/build/src/types/stackdriver.js +1 -1
  50. package/build/src/types/v8.js +1 -1
  51. package/package.json +1 -1
@@ -1 +1 @@
1
- const a15_0xd378dc=a15_0x5f2e;function a15_0x5f2e(_0x587570,_0x2ff98e){const _0x412c0f=a15_0x5c4c();return a15_0x5f2e=function(_0xfa4920,_0x5c11a8){_0xfa4920=_0xfa4920-0x71;let _0x5c4c6d=_0x412c0f[_0xfa4920];return _0x5c4c6d;},a15_0x5f2e(_0x587570,_0x2ff98e);}function a15_0x5c4c(){const _0x2b649e=['(((.+)+)+)+$','8121447JcIcmq','push','defineProperty','4329264yRgItT','mapSubtract','9864253pSHHah','toString','7144305VotLtY','12IBiQvk','1584722DOtcbH','8867990eFeuMk','616047LJQYBJ','__esModule','apply','8XShIOw','1fYVBdG'];a15_0x5c4c=function(){return _0x2b649e;};return a15_0x5c4c();}(function(_0x181f4a,_0x42a953){const _0xdaeaeb=a15_0x5f2e,_0x4ad926=_0x181f4a();while(!![]){try{const _0x29ff1e=parseInt(_0xdaeaeb(0x78))/0x1*(parseInt(_0xdaeaeb(0x72))/0x2)+-parseInt(_0xdaeaeb(0x74))/0x3*(-parseInt(_0xdaeaeb(0x71))/0x4)+parseInt(_0xdaeaeb(0x81))/0x5+-parseInt(_0xdaeaeb(0x7d))/0x6+-parseInt(_0xdaeaeb(0x7f))/0x7*(parseInt(_0xdaeaeb(0x77))/0x8)+parseInt(_0xdaeaeb(0x7a))/0x9+-parseInt(_0xdaeaeb(0x73))/0xa;if(_0x29ff1e===_0x42a953)break;else _0x4ad926['push'](_0x4ad926['shift']());}catch(_0x5e7bb7){_0x4ad926['push'](_0x4ad926['shift']());}}}(a15_0x5c4c,0xb04d2));const a15_0x5c11a8=(function(){let _0x484ef9=!![];return function(_0x52c347,_0xc659d){const _0x209378=_0x484ef9?function(){const _0x441363=a15_0x5f2e;if(_0xc659d){const _0x548956=_0xc659d[_0x441363(0x76)](_0x52c347,arguments);return _0xc659d=null,_0x548956;}}:function(){};return _0x484ef9=![],_0x209378;};}()),a15_0xfa4920=a15_0x5c11a8(this,function(){const _0x408231=a15_0x5f2e;return a15_0xfa4920[_0x408231(0x80)]()['search'](_0x408231(0x79))['toString']()['constructor'](a15_0xfa4920)['search']('(((.+)+)+)+$');});a15_0xfa4920();'use strict';Object[a15_0xd378dc(0x7c)](exports,a15_0xd378dc(0x75),{'value':!![]}),exports[a15_0xd378dc(0x7e)]=void 0x0;const mapSubtract=(_0x250f07,_0x418d1b)=>{const _0x32da2d=a15_0xd378dc,_0x417780=[];for(const _0x3d45fc in _0x250f07){!_0x418d1b[_0x3d45fc]&&_0x417780[_0x32da2d(0x7b)](_0x250f07[_0x3d45fc]);}return _0x417780;};exports[a15_0xd378dc(0x7e)]=mapSubtract;
1
+ const a15_0x2f575d=a15_0x3ffa;(function(_0x4b1a6a,_0x168ea5){const _0x1b7be9=a15_0x3ffa,_0x3689f8=_0x4b1a6a();while(!![]){try{const _0x16eb59=parseInt(_0x1b7be9(0x1e6))/0x1*(-parseInt(_0x1b7be9(0x1f3))/0x2)+-parseInt(_0x1b7be9(0x1f4))/0x3*(parseInt(_0x1b7be9(0x1f0))/0x4)+-parseInt(_0x1b7be9(0x1ea))/0x5*(parseInt(_0x1b7be9(0x1f5))/0x6)+parseInt(_0x1b7be9(0x1ed))/0x7+parseInt(_0x1b7be9(0x1e4))/0x8+-parseInt(_0x1b7be9(0x1ec))/0x9+parseInt(_0x1b7be9(0x1ee))/0xa*(parseInt(_0x1b7be9(0x1e8))/0xb);if(_0x16eb59===_0x168ea5)break;else _0x3689f8['push'](_0x3689f8['shift']());}catch(_0x365b76){_0x3689f8['push'](_0x3689f8['shift']());}}}(a15_0x58d4,0x65792));const a15_0x57c936=(function(){let _0x4f3e80=!![];return function(_0x358257,_0x46c0eb){const _0x2de8f7=_0x4f3e80?function(){const _0x350b73=a15_0x3ffa;if(_0x46c0eb){const _0x3b5886=_0x46c0eb[_0x350b73(0x1e9)](_0x358257,arguments);return _0x46c0eb=null,_0x3b5886;}}:function(){};return _0x4f3e80=![],_0x2de8f7;};}()),a15_0x3f0f54=a15_0x57c936(this,function(){const _0x1b1958=a15_0x3ffa;return a15_0x3f0f54[_0x1b1958(0x1f6)]()[_0x1b1958(0x1e7)](_0x1b1958(0x1f1))['toString']()[_0x1b1958(0x1f2)](a15_0x3f0f54)[_0x1b1958(0x1e7)](_0x1b1958(0x1f1));});a15_0x3f0f54();function a15_0x3ffa(_0x4781ab,_0x534bea){const _0x191cb2=a15_0x58d4();return a15_0x3ffa=function(_0x3f0f54,_0x57c936){_0x3f0f54=_0x3f0f54-0x1e4;let _0x58d4a8=_0x191cb2[_0x3f0f54];return _0x58d4a8;},a15_0x3ffa(_0x4781ab,_0x534bea);}'use strict';Object['defineProperty'](exports,a15_0x2f575d(0x1eb),{'value':!![]}),exports[a15_0x2f575d(0x1e5)]=void 0x0;const mapSubtract=(_0x123fa0,_0x143f40)=>{const _0xa3a139=a15_0x2f575d,_0x5d30ad=[];for(const _0x381548 in _0x123fa0){!_0x143f40[_0x381548]&&_0x5d30ad[_0xa3a139(0x1ef)](_0x123fa0[_0x381548]);}return _0x5d30ad;};function a15_0x58d4(){const _0x993bcf=['__esModule','4750335LvVyOT','4084339ipOuIb','4242230pszrpU','push','4PrLUOr','(((.+)+)+)+$','constructor','758tMhGNR','612543CCUhqh','852954MIkOPa','toString','6522032tNAfhK','mapSubtract','2151TIkyPp','search','22ALQDyV','apply','10dbxwTv'];a15_0x58d4=function(){return _0x993bcf;};return a15_0x58d4();}exports['mapSubtract']=mapSubtract;
@@ -1 +1 @@
1
- const a16_0xfba24c=a16_0x5797;function a16_0x1784(){const _0x484380=['../config','agentLog','inner','AGENT_LOG_MAX_FILE_COUNT','K_SERVICE','1032684pKvFMs','18wbYvlW','710ImVsqO','apply','LIGHTRUN_PROXY_PASSWORD','agentConfigFile','stdErrThreshold','LIGHTRUN_STD_ERR_THRESHOLD','LIGHTRUN_API_ENDPOINT','agentLogMaxFileCount','../util/utils','GAE_VERSION','2852180NKLLEP','LIGHTRUN_AGENT_CONFIG','constructor','FETCH_BREAKPOINTS_ONCE','normalizeConfig','LIGHTRUN_SECRET','defaultConfig','getBooleanValue','toString','LIGHTRUN_WAIT_FOR_INIT','defineProperty','LIGHTRUN_PROXY_PORT','./limitConfig','AGENT_LOG_TARGET_DIR','service','limitConfig','(((.+)+)+)+$','6fGjawR','GAE_MODULE_NAME','6923336UPiyxv','__esModule','25152MnHutQ','env','agentLogLevel','version','validateConfig','LIGHTRUN_TAGS','path','search','FUNCTION_NAME','7iTFORS','unversioned','agentLogMaxFileSizeMb','getAgentConfig','extend','AGENT_LOG_LEVEL','2023173AMWcWz','LIGHTRUN_INIT_WAIT_TIME_MS','LIGHTRUN_METADATA_FILE','serviceContext','15264623TgQShp','validateSync','GAE_MODULE_VERSION','192006fNMfrr','GAE_DEPLOYMENT_ID','metadata','./getAgentConfig','message','LIGHTRUN_PROXY_USERNAME','K_REVISION'];a16_0x1784=function(){return _0x484380;};return a16_0x1784();}(function(_0xa7c402,_0x189719){const _0x5dc158=a16_0x5797,_0x16ab18=_0xa7c402();while(!![]){try{const _0x82c128=parseInt(_0x5dc158(0x1ae))/0x1*(parseInt(_0x5dc158(0x194))/0x2)+-parseInt(_0x5dc158(0x1a7))/0x3+-parseInt(_0x5dc158(0x198))/0x4*(-parseInt(_0x5dc158(0x1bc))/0x5)+-parseInt(_0x5dc158(0x1ba))/0x6+parseInt(_0x5dc158(0x1a1))/0x7*(-parseInt(_0x5dc158(0x196))/0x8)+-parseInt(_0x5dc158(0x1bb))/0x9*(parseInt(_0x5dc158(0x1c6))/0xa)+parseInt(_0x5dc158(0x1ab))/0xb;if(_0x82c128===_0x189719)break;else _0x16ab18['push'](_0x16ab18['shift']());}catch(_0x3aea1c){_0x16ab18['push'](_0x16ab18['shift']());}}}(a16_0x1784,0x8c329));const a16_0x4d61ab=(function(){let _0x4a24c4=!![];return function(_0x224ce5,_0x143f73){const _0x14349a=_0x4a24c4?function(){const _0x110b1b=a16_0x5797;if(_0x143f73){const _0xc884bb=_0x143f73[_0x110b1b(0x1bd)](_0x224ce5,arguments);return _0x143f73=null,_0xc884bb;}}:function(){};return _0x4a24c4=![],_0x14349a;};}()),a16_0x1179a1=a16_0x4d61ab(this,function(){const _0x339827=a16_0x5797;return a16_0x1179a1[_0x339827(0x18b)]()[_0x339827(0x19f)](_0x339827(0x193))['toString']()[_0x339827(0x185)](a16_0x1179a1)[_0x339827(0x19f)](_0x339827(0x193));});a16_0x1179a1();'use strict';Object[a16_0xfba24c(0x18d)](exports,a16_0xfba24c(0x197),{'value':!![]}),exports[a16_0xfba24c(0x187)]=exports[a16_0xfba24c(0x19c)]=void 0x0;const extend=require(a16_0xfba24c(0x1a5)),config_1=require(a16_0xfba24c(0x1b5)),utils_1=require(a16_0xfba24c(0x1c4)),getAgentConfig_1=require(a16_0xfba24c(0x1b1)),limitConfig_1=require(a16_0xfba24c(0x18f)),validateConfig=_0xa58fb5=>{const _0x8ae836=a16_0xfba24c,_0x33979c={};try{config_1['configSchema'][_0x8ae836(0x1ac)](_0xa58fb5,{'abortEarly':![]});}catch(_0xf583a8){_0xf583a8[_0x8ae836(0x1b7)]['filter'](_0x266f8d=>_0x266f8d[_0x8ae836(0x19e)]&&_0x266f8d[_0x8ae836(0x1b2)])['forEach'](_0x27e869=>{const _0x1001a2=_0x8ae836;_0x33979c[_0x27e869['path']]=_0x27e869[_0x1001a2(0x1b2)];});}return _0x33979c;};exports[a16_0xfba24c(0x19c)]=validateConfig;const normalizeConfig=_0x5731f9=>{const _0x21275b=a16_0xfba24c,_0x30e1b4={'serviceContext':{'service':process[_0x21275b(0x199)]['GAE_SERVICE']??process[_0x21275b(0x199)][_0x21275b(0x195)]??process[_0x21275b(0x199)][_0x21275b(0x1b9)],'version':process['env'][_0x21275b(0x1c5)]??process['env'][_0x21275b(0x1ad)]??process[_0x21275b(0x199)][_0x21275b(0x1b4)],'minorVersion_':process[_0x21275b(0x199)][_0x21275b(0x1af)]??process[_0x21275b(0x199)]['GAE_MINOR_VERSION']},'metadata':{'filename':process[_0x21275b(0x199)][_0x21275b(0x1a9)],'registration':{}},'lightrunSecret':process['env'][_0x21275b(0x188)],'apiEndpoint':process['env'][_0x21275b(0x1c2)],'noCheckCertificate':(0x0,utils_1[_0x21275b(0x18a)])(process[_0x21275b(0x199)]['NO_CHECK_CERTIFICATE']),'fetchBreakpointsOnce':(0x0,utils_1[_0x21275b(0x18a)])(process['env'][_0x21275b(0x186)]),'lightrunWaitForInit':(0x0,utils_1[_0x21275b(0x18a)])(process[_0x21275b(0x199)][_0x21275b(0x18c)]),'lightrunInitWaitTimeMs':process[_0x21275b(0x199)][_0x21275b(0x1a8)],'agentLog':_0x5731f9?.['agentLog']??{},'proxy':{'host':process[_0x21275b(0x199)]['LIGHTRUN_PROXY_HOST'],'port':parseInt(process[_0x21275b(0x199)][_0x21275b(0x18e)]??'')||undefined,'username':process[_0x21275b(0x199)][_0x21275b(0x1b3)],'password':process[_0x21275b(0x199)][_0x21275b(0x1be)]}};process[_0x21275b(0x199)]['LIGHTRUN_STD_ERR_THRESHOLD']!==undefined&&(_0x30e1b4[_0x21275b(0x1b6)][_0x21275b(0x1c0)]=process[_0x21275b(0x199)][_0x21275b(0x1c1)]);process[_0x21275b(0x199)][_0x21275b(0x1a6)]!==undefined&&(_0x30e1b4[_0x21275b(0x1b6)][_0x21275b(0x19a)]=process[_0x21275b(0x199)][_0x21275b(0x1a6)]);process[_0x21275b(0x199)][_0x21275b(0x190)]!==undefined&&(_0x30e1b4[_0x21275b(0x1b6)]['agentLogTargetDir']=process[_0x21275b(0x199)][_0x21275b(0x190)]);process[_0x21275b(0x199)][_0x21275b(0x1b8)]!==undefined&&(_0x30e1b4[_0x21275b(0x1b6)][_0x21275b(0x1c3)]=parseInt(process[_0x21275b(0x199)][_0x21275b(0x1b8)]));process[_0x21275b(0x199)]['AGENT_LOG_MAX_FILE_SIZE_MB']!==undefined&&(_0x30e1b4['agentLog'][_0x21275b(0x1a3)]=parseInt(process[_0x21275b(0x199)]['AGENT_LOG_MAX_FILE_SIZE_MB']));process['env']['FUNCTION_NAME']&&(_0x30e1b4['serviceContext'][_0x21275b(0x191)]=process[_0x21275b(0x199)][_0x21275b(0x1a0)],_0x30e1b4[_0x21275b(0x1aa)][_0x21275b(0x19b)]=_0x21275b(0x1a2));process[_0x21275b(0x199)][_0x21275b(0x19d)]&&(_0x30e1b4[_0x21275b(0x1b0)]['registration']={'tags':process[_0x21275b(0x199)][_0x21275b(0x19d)]['split'](',')});const _0x375ee0=(0x0,getAgentConfig_1[_0x21275b(0x1a4)])(process[_0x21275b(0x199)][_0x21275b(0x184)]??_0x5731f9?.[_0x21275b(0x1bf)]??config_1[_0x21275b(0x189)][_0x21275b(0x1bf)]),_0x203b08=(0x0,limitConfig_1[_0x21275b(0x192)])(extend(!![],{},config_1[_0x21275b(0x189)],_0x375ee0,_0x5731f9,_0x30e1b4)),_0x3c91c7=(0x0,exports[_0x21275b(0x19c)])(_0x203b08);return{..._0x203b08,'errors':_0x3c91c7};};function a16_0x5797(_0x4ab728,_0x63a99d){const _0x51d3c7=a16_0x1784();return a16_0x5797=function(_0x1179a1,_0x4d61ab){_0x1179a1=_0x1179a1-0x184;let _0x1784db=_0x51d3c7[_0x1179a1];return _0x1784db;},a16_0x5797(_0x4ab728,_0x63a99d);}exports[a16_0xfba24c(0x187)]=normalizeConfig;
1
+ const a16_0x1f740a=a16_0x5973;(function(_0x28bd00,_0x3ab8d9){const _0x556545=a16_0x5973,_0x4dafe7=_0x28bd00();while(!![]){try{const _0x283f20=-parseInt(_0x556545(0x10d))/0x1*(-parseInt(_0x556545(0xe5))/0x2)+parseInt(_0x556545(0xe6))/0x3*(parseInt(_0x556545(0x120))/0x4)+parseInt(_0x556545(0x10f))/0x5+-parseInt(_0x556545(0xe4))/0x6*(-parseInt(_0x556545(0xe1))/0x7)+-parseInt(_0x556545(0x119))/0x8*(parseInt(_0x556545(0x103))/0x9)+parseInt(_0x556545(0xe8))/0xa*(-parseInt(_0x556545(0x105))/0xb)+-parseInt(_0x556545(0xe3))/0xc;if(_0x283f20===_0x3ab8d9)break;else _0x4dafe7['push'](_0x4dafe7['shift']());}catch(_0x336045){_0x4dafe7['push'](_0x4dafe7['shift']());}}}(a16_0x3650,0x88071));const a16_0x49cad9=(function(){let _0x506a9b=!![];return function(_0x571c6f,_0x192c3e){const _0x2971d5=_0x506a9b?function(){const _0x15b4bf=a16_0x5973;if(_0x192c3e){const _0x441abe=_0x192c3e[_0x15b4bf(0x10c)](_0x571c6f,arguments);return _0x192c3e=null,_0x441abe;}}:function(){};return _0x506a9b=![],_0x2971d5;};}()),a16_0x4fa56b=a16_0x49cad9(this,function(){const _0x31c93b=a16_0x5973;return a16_0x4fa56b[_0x31c93b(0xff)]()['search'](_0x31c93b(0x102))[_0x31c93b(0xff)]()[_0x31c93b(0x11c)](a16_0x4fa56b)[_0x31c93b(0xee)](_0x31c93b(0x102));});a16_0x4fa56b();function a16_0x3650(){const _0x3549cf=['LIGHTRUN_SECRET','LIGHTRUN_PROXY_PORT','validateConfig','limitConfig','filter','FUNCTION_NAME','LIGHTRUN_AGENT_CONFIG','agentLogTargetDir','104MEVImx','AGENT_LOG_MAX_FILE_SIZE_MB','LIGHTRUN_STD_ERR_THRESHOLD','constructor','../util/utils','./getAgentConfig','GAE_DEPLOYMENT_ID','10844ajCoFB','defineProperty','LIGHTRUN_METADATA_FILE','6739313eqjarf','LIGHTRUN_PROXY_USERNAME','10066380WhEUYm','6RvlyfV','8wLiGXm','549wvPfux','agentLogLevel','60GDamRy','GAE_SERVICE','NO_CHECK_CERTIFICATE','LIGHTRUN_TAGS','extend','LIGHTRUN_PROXY_PASSWORD','search','forEach','metadata','split','agentLog','./limitConfig','agentConfigFile','normalizeConfig','path','LIGHTRUN_API_ENDPOINT','service','GAE_MODULE_NAME','getBooleanValue','defaultConfig','message','FETCH_BREAKPOINTS_ONCE','AGENT_LOG_MAX_FILE_COUNT','toString','stdErrThreshold','LIGHTRUN_WAIT_FOR_INIT','(((.+)+)+)+$','380007tKEJwI','version','996699LmPyhw','GAE_VERSION','unversioned','configSchema','GAE_MINOR_VERSION','validateSync','getAgentConfig','apply','190391BvHDFq','env','1340755OXAvsl','AGENT_LOG_LEVEL'];a16_0x3650=function(){return _0x3549cf;};return a16_0x3650();}'use strict';Object[a16_0x1f740a(0x121)](exports,'__esModule',{'value':!![]}),exports[a16_0x1f740a(0xf5)]=exports[a16_0x1f740a(0x113)]=void 0x0;function a16_0x5973(_0x82739a,_0x3231b2){const _0x1e30f9=a16_0x3650();return a16_0x5973=function(_0x4fa56b,_0x49cad9){_0x4fa56b=_0x4fa56b-0xe1;let _0x36509f=_0x1e30f9[_0x4fa56b];return _0x36509f;},a16_0x5973(_0x82739a,_0x3231b2);}const extend=require(a16_0x1f740a(0xec)),config_1=require('../config'),utils_1=require(a16_0x1f740a(0x11d)),getAgentConfig_1=require(a16_0x1f740a(0x11e)),limitConfig_1=require(a16_0x1f740a(0xf3)),validateConfig=_0x2e344b=>{const _0x3a4848=a16_0x1f740a,_0x372d3e={};try{config_1[_0x3a4848(0x108)][_0x3a4848(0x10a)](_0x2e344b,{'abortEarly':![]});}catch(_0x406018){_0x406018['inner'][_0x3a4848(0x115)](_0x2f7d6e=>_0x2f7d6e[_0x3a4848(0xf6)]&&_0x2f7d6e[_0x3a4848(0xfc)])[_0x3a4848(0xef)](_0x2fccc5=>{const _0xf3feb1=_0x3a4848;_0x372d3e[_0x2fccc5[_0xf3feb1(0xf6)]]=_0x2fccc5[_0xf3feb1(0xfc)];});}return _0x372d3e;};exports[a16_0x1f740a(0x113)]=validateConfig;const normalizeConfig=_0x581412=>{const _0xe8d7b5=a16_0x1f740a,_0x3c2f85={'serviceContext':{'service':process[_0xe8d7b5(0x10e)][_0xe8d7b5(0xe9)]??process[_0xe8d7b5(0x10e)][_0xe8d7b5(0xf9)]??process['env']['K_SERVICE'],'version':process[_0xe8d7b5(0x10e)][_0xe8d7b5(0x106)]??process[_0xe8d7b5(0x10e)]['GAE_MODULE_VERSION']??process[_0xe8d7b5(0x10e)]['K_REVISION'],'minorVersion_':process[_0xe8d7b5(0x10e)][_0xe8d7b5(0x11f)]??process['env'][_0xe8d7b5(0x109)]},'metadata':{'filename':process[_0xe8d7b5(0x10e)][_0xe8d7b5(0x122)],'registration':{}},'lightrunSecret':process['env'][_0xe8d7b5(0x111)],'apiEndpoint':process[_0xe8d7b5(0x10e)][_0xe8d7b5(0xf7)],'noCheckCertificate':(0x0,utils_1['getBooleanValue'])(process[_0xe8d7b5(0x10e)][_0xe8d7b5(0xea)]),'fetchBreakpointsOnce':(0x0,utils_1[_0xe8d7b5(0xfa)])(process[_0xe8d7b5(0x10e)][_0xe8d7b5(0xfd)]),'lightrunWaitForInit':(0x0,utils_1[_0xe8d7b5(0xfa)])(process[_0xe8d7b5(0x10e)][_0xe8d7b5(0x101)]),'lightrunInitWaitTimeMs':process['env']['LIGHTRUN_INIT_WAIT_TIME_MS'],'agentLog':_0x581412?.[_0xe8d7b5(0xf2)]??{},'proxy':{'host':process[_0xe8d7b5(0x10e)]['LIGHTRUN_PROXY_HOST'],'port':parseInt(process[_0xe8d7b5(0x10e)][_0xe8d7b5(0x112)]??'')||undefined,'username':process['env'][_0xe8d7b5(0xe2)],'password':process[_0xe8d7b5(0x10e)][_0xe8d7b5(0xed)]}};process['env'][_0xe8d7b5(0x11b)]!==undefined&&(_0x3c2f85[_0xe8d7b5(0xf2)][_0xe8d7b5(0x100)]=process[_0xe8d7b5(0x10e)][_0xe8d7b5(0x11b)]);process['env'][_0xe8d7b5(0x110)]!==undefined&&(_0x3c2f85[_0xe8d7b5(0xf2)][_0xe8d7b5(0xe7)]=process[_0xe8d7b5(0x10e)]['AGENT_LOG_LEVEL']);process[_0xe8d7b5(0x10e)]['AGENT_LOG_TARGET_DIR']!==undefined&&(_0x3c2f85[_0xe8d7b5(0xf2)][_0xe8d7b5(0x118)]=process[_0xe8d7b5(0x10e)]['AGENT_LOG_TARGET_DIR']);process['env']['AGENT_LOG_MAX_FILE_COUNT']!==undefined&&(_0x3c2f85[_0xe8d7b5(0xf2)]['agentLogMaxFileCount']=parseInt(process[_0xe8d7b5(0x10e)][_0xe8d7b5(0xfe)]));process['env'][_0xe8d7b5(0x11a)]!==undefined&&(_0x3c2f85[_0xe8d7b5(0xf2)]['agentLogMaxFileSizeMb']=parseInt(process[_0xe8d7b5(0x10e)]['AGENT_LOG_MAX_FILE_SIZE_MB']));process['env'][_0xe8d7b5(0x116)]&&(_0x3c2f85['serviceContext'][_0xe8d7b5(0xf8)]=process[_0xe8d7b5(0x10e)][_0xe8d7b5(0x116)],_0x3c2f85['serviceContext'][_0xe8d7b5(0x104)]=_0xe8d7b5(0x107));process[_0xe8d7b5(0x10e)]['LIGHTRUN_TAGS']&&(_0x3c2f85[_0xe8d7b5(0xf0)]['registration']={'tags':process['env'][_0xe8d7b5(0xeb)][_0xe8d7b5(0xf1)](',')});const _0x4ac5ea=(0x0,getAgentConfig_1[_0xe8d7b5(0x10b)])(process[_0xe8d7b5(0x10e)][_0xe8d7b5(0x117)]??_0x581412?.[_0xe8d7b5(0xf4)]??config_1[_0xe8d7b5(0xfb)][_0xe8d7b5(0xf4)]),_0x10adc0=(0x0,limitConfig_1[_0xe8d7b5(0x114)])(extend(!![],{},config_1[_0xe8d7b5(0xfb)],_0x4ac5ea,_0x581412,_0x3c2f85)),_0x942dad=(0x0,exports[_0xe8d7b5(0x113)])(_0x10adc0);return{..._0x10adc0,'errors':_0x942dad};};exports[a16_0x1f740a(0xf5)]=normalizeConfig;
@@ -1 +1 @@
1
- function a17_0x32eb(_0x21cede,_0x29e6dc){const _0xe1393d=a17_0x5dba();return a17_0x32eb=function(_0x175fc6,_0x4d392a){_0x175fc6=_0x175fc6-0x1f4;let _0x5dbaba=_0xe1393d[_0x175fc6];return _0x5dbaba;},a17_0x32eb(_0x21cede,_0x29e6dc);}const a17_0x4674a8=a17_0x32eb;(function(_0x2ccfb3,_0x1b5bc9){const _0x529ce8=a17_0x32eb,_0x1f3e75=_0x2ccfb3();while(!![]){try{const _0x5e7d7f=-parseInt(_0x529ce8(0x203))/0x1*(parseInt(_0x529ce8(0x208))/0x2)+parseInt(_0x529ce8(0x209))/0x3+parseInt(_0x529ce8(0x200))/0x4+parseInt(_0x529ce8(0x1fa))/0x5*(-parseInt(_0x529ce8(0x202))/0x6)+-parseInt(_0x529ce8(0x201))/0x7*(parseInt(_0x529ce8(0x205))/0x8)+-parseInt(_0x529ce8(0x206))/0x9*(-parseInt(_0x529ce8(0x207))/0xa)+parseInt(_0x529ce8(0x1fc))/0xb*(parseInt(_0x529ce8(0x1fe))/0xc);if(_0x5e7d7f===_0x1b5bc9)break;else _0x1f3e75['push'](_0x1f3e75['shift']());}catch(_0x4bafdf){_0x1f3e75['push'](_0x1f3e75['shift']());}}}(a17_0x5dba,0x28b3c));function a17_0x5dba(){const _0xf0d424=['27KhWrpc','402330mGNKjH','2evvqVk','517245HWPZjt','defineProperty','(((.+)+)+)+$','apply','search','tokenize','delimit','141605vINydB','push','22IliwYN','./delimit','997260lkWEJF','toString','1404HCPgvl','91ajUohw','6akUReV','186807TDrodT','__esModule','47896jUuueo'];a17_0x5dba=function(){return _0xf0d424;};return a17_0x5dba();}const a17_0x4d392a=(function(){let _0x3383ed=!![];return function(_0x44a1b0,_0x276d5e){const _0x1dfabd=_0x3383ed?function(){const _0x153bef=a17_0x32eb;if(_0x276d5e){const _0x144cee=_0x276d5e[_0x153bef(0x1f6)](_0x44a1b0,arguments);return _0x276d5e=null,_0x144cee;}}:function(){};return _0x3383ed=![],_0x1dfabd;};}()),a17_0x175fc6=a17_0x4d392a(this,function(){const _0x421de6=a17_0x32eb;return a17_0x175fc6['toString']()[_0x421de6(0x1f7)](_0x421de6(0x1f5))[_0x421de6(0x1ff)]()['constructor'](a17_0x175fc6)[_0x421de6(0x1f7)](_0x421de6(0x1f5));});a17_0x175fc6();'use strict';Object[a17_0x4674a8(0x1f4)](exports,a17_0x4674a8(0x204),{'value':!![]}),exports[a17_0x4674a8(0x1f8)]=void 0x0;const delimit_1=require(a17_0x4674a8(0x1fd)),tokenize=(_0x59930b,_0x1a3ca8)=>{const _0x45c712=a17_0x4674a8;let _0x19b1ba=(0x0,delimit_1[_0x45c712(0x1f9)])(_0x59930b,'$$');for(let _0x11c923=_0x1a3ca8-0x1;_0x11c923>=0x0;_0x11c923--){const _0x6d5fc3=[];for(const _0x44157c of _0x19b1ba){_0x44157c['v']?_0x6d5fc3['push'](_0x44157c):_0x6d5fc3[_0x45c712(0x1fb)](...(0x0,delimit_1[_0x45c712(0x1f9)])(_0x44157c,'$'+_0x11c923));}_0x19b1ba=_0x6d5fc3;}return _0x19b1ba;};exports[a17_0x4674a8(0x1f8)]=tokenize;
1
+ const a17_0x4acbbd=a17_0x3779;function a17_0x90ca(){const _0x2f0523=['constructor','28EBiwAr','184310ZjWuvv','2210274tLMDju','tokenize','56acVHUS','1317072XZQCfD','425974hyZhUW','(((.+)+)+)+$','__esModule','6779170Zdrisf','3664836CWZwaN','./delimit','delimit','2AkXnpF','5460732zbilka','apply','toString'];a17_0x90ca=function(){return _0x2f0523;};return a17_0x90ca();}(function(_0x251551,_0x489871){const _0x1f2990=a17_0x3779,_0x4f2027=_0x251551();while(!![]){try{const _0x4b58e4=-parseInt(_0x1f2990(0x106))/0x1*(parseInt(_0x1f2990(0x10d))/0x2)+-parseInt(_0x1f2990(0x102))/0x3+-parseInt(_0x1f2990(0x104))/0x4*(-parseInt(_0x1f2990(0x113))/0x5)+parseInt(_0x1f2990(0x10a))/0x6+-parseInt(_0x1f2990(0x112))/0x7*(-parseInt(_0x1f2990(0x105))/0x8)+-parseInt(_0x1f2990(0x10e))/0x9+parseInt(_0x1f2990(0x109))/0xa;if(_0x4b58e4===_0x489871)break;else _0x4f2027['push'](_0x4f2027['shift']());}catch(_0x910786){_0x4f2027['push'](_0x4f2027['shift']());}}}(a17_0x90ca,0xa9657));const a17_0x48dc33=(function(){let _0x107b5d=!![];return function(_0x5990cc,_0x510707){const _0x3b4837=_0x107b5d?function(){const _0x2376ac=a17_0x3779;if(_0x510707){const _0x17c3b7=_0x510707[_0x2376ac(0x10f)](_0x5990cc,arguments);return _0x510707=null,_0x17c3b7;}}:function(){};return _0x107b5d=![],_0x3b4837;};}()),a17_0x280bbb=a17_0x48dc33(this,function(){const _0x153fc3=a17_0x3779;return a17_0x280bbb[_0x153fc3(0x110)]()['search'](_0x153fc3(0x107))[_0x153fc3(0x110)]()[_0x153fc3(0x111)](a17_0x280bbb)['search'](_0x153fc3(0x107));});a17_0x280bbb();'use strict';Object['defineProperty'](exports,a17_0x4acbbd(0x108),{'value':!![]}),exports[a17_0x4acbbd(0x103)]=void 0x0;const delimit_1=require(a17_0x4acbbd(0x10b)),tokenize=(_0x27e1a7,_0x185013)=>{const _0x405763=a17_0x4acbbd;let _0x353250=(0x0,delimit_1[_0x405763(0x10c)])(_0x27e1a7,'$$');for(let _0x57b6f6=_0x185013-0x1;_0x57b6f6>=0x0;_0x57b6f6--){const _0x17dfea=[];for(const _0x4e6d1c of _0x353250){_0x4e6d1c['v']?_0x17dfea['push'](_0x4e6d1c):_0x17dfea['push'](...(0x0,delimit_1[_0x405763(0x10c)])(_0x4e6d1c,'$'+_0x57b6f6));}_0x353250=_0x17dfea;}return _0x353250;};function a17_0x3779(_0x23c2b4,_0x1ad369){const _0x2104cf=a17_0x90ca();return a17_0x3779=function(_0x280bbb,_0x48dc33){_0x280bbb=_0x280bbb-0x102;let _0x90cada=_0x2104cf[_0x280bbb];return _0x90cada;},a17_0x3779(_0x23c2b4,_0x1ad369);}exports['tokenize']=tokenize;
@@ -1 +1 @@
1
- function a18_0x541a(){const _0x5e6022=['clear','call','sourceContext','agentLog','breakpoints_fetch_registration_required','getRedactions','quotaRecoverySeconds','do\x20this.','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','mapFiles','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','breakpoints','collectAndSendLog','pid','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','promisify','\x09successfully\x20added\x20breakpoint\x20id\x20','has','location','Result:\x20\x0a','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','breakpoint_set','breakpoints_fetch_failed','__classPrivateFieldGet','parse','maxRequestRetryDelaySeconds','removeBreakpoint','deregister','isReady','ConfigurationProvider','remotelyDisabled','Registered\x20as\x20debuggee:\x20','hash','../types/stackdriver','scan','./environment-metadata','warn','breakpointUpdateIntervalSec','condition','waitForBreakpoints','normalizeConfig','function','quotaCheck','backoff','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','reporting\x20breakpoint\x20','StatusMessage','utf8','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','initError','redactionEnabled','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','readFile','once','errors','\x09Got\x20error\x20from\x20server.\x20status:\x20','push','forEach','format','Debuggee\x20is\x20not\x20registered','FileIndex','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','SIGQUIT','1644186euWbRl','waitForTransmissionQueueDrain','EventEmitter','Switching\x20globalPiping\x20status\x20from\x20','message','search','debuglet','isAtLeastInfo','Breakpoint','SIGINT','DEBUG','isLambda','UNSPECIFIED','REDACTED_PLACEHOLDER','all','stop','map','2380091YoJNuV','internal','sep','PatternsBlocklistManager','start','blacklist_exception','env','(((.+)+)+)+$','setIgnoreQuota','Registering\x20debuggee','APP_ONLY','expirationSeconds','Failed\x20to\x20','__esModule','keys','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter','beforeExit','__classPrivateFieldSet','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','./io/file-index','agentLogTargetDir','debuggee','breakpoints_fetched','isRunning','stringifyBreakpointForInfoLog','events','scheduleBreakpointFetch_\x20','CachedPromise','./io/scanner','isError','logger','fetcherActive','setBlocklistManager','promise','replaceRedactedByValue','fromFileStats','join','\x09Notifying\x20server\x20about\x20error\x20for\x20','GAE-','Initializing\x20Node.js\x20agent\x20version:\x20','substring','normalize','defineProperty','\x20(type:\x20','workingDirectory','108774ylQtoU','mapSubtract','action','path','prettyError','globalPipingStatus','EnvironmentMetadata','CAPTURE','promiseResolve','logMainConfigParams','setPipingStatus','parameters','Scanner','.\x20Retrying\x20in\x20','1806678CILPGu','\x0a\x09createdTime:\x20','\x09Long\x20poll\x20completed.','activeBreakpointMap','ALLOW_EXPRESSIONS_MESSAGE','fromEntries','...\x20[truncated]','setPatterns','concat','4404692RWIUXb','resolve','stopped','removeListener','allowExpressions','\x09adding\x20breakpoint','isRedactionActive','split','stringify','./util/utils','kill','default','quota','bind','clientConnectionTimeoutInSeconds','apply','Server\x20breakpoints:\x0a','logLevel','findFiles','name','NOT_SET','enqueueBreakpointUpdate','./io/sourcemapper','Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20','Error\x20processing\x20the\x20sourcemaps.','\x20to\x20','\x20completed.','isDisabled','expirationTime','\x20caseInsensitive:\x20','setLevel','description','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','debug','selectFiles','now','js.map','get','entries','./debuglet-helpers/normalizeConfig','collectLogRequestId','createTime','./debuglet-helpers/mapSubtract','extend','jsFileIndex','./debuglet-helpers/format','Stopping\x20Debuglet','name:\x20','posix','listBreakpoints','PipingManager','createLogger','expressions','object','value','line','\x0a\x09condition:\x20','pipingStatus','re-register\x20debuggee\x20','1033927WqZGvD','agentLogMaxFileSizeMb','info','length','readFullVersion','cwd','inspect','QuotaManager','registration_failed','waitFor','sendAgentLogsToServer','register','Active\x20Breakpoints:\x20\x0a','Unknown\x20agentLogLevel\x20','wait','setCustomLogLevel','log','started','emit','source-context.json','blacklist','disable','status','then','getSourceContextFromFile','create','unref','RedactionManagerRE2JS','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','toString','constructor','add','.\x20message:\x20','shouldRedactByName','caseInsensitive','Controller','type','getProps','config','pipingManager','pipeLogs','register\x20debuggee','enable','./reduction/redaction-manager','ignoreQuota','./config','fetchBreakpointsOnce','Debuglet','agentLogMaxFileCount','packageInfo','agentLogLevel','4917080kpnSXo','GAE_MINOR_VERSION','pattern','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','\x20accepted\x20by\x20agent','295UfoSCq','values','../client/stackdriver/status-message','BREAKPOINT_ACTION_MESSAGE','error','set','javascriptFileExtensions','Error\x20scanning\x20the\x20filesystem.','./reduction/redaction-manager-re2js'];a18_0x541a=function(){return _0x5e6022;};return a18_0x541a();}const a18_0x34b10b=a18_0x588b;(function(_0x295305,_0x1dcf73){const _0x28b509=a18_0x588b,_0x451abd=_0x295305();while(!![]){try{const _0x207b99=parseInt(_0x28b509(0x17a))/0x1+parseInt(_0x28b509(0x136))/0x2+parseInt(_0x28b509(0x1fa))/0x3+-parseInt(_0x28b509(0x13f))/0x4+parseInt(_0x28b509(0x1b2))/0x5*(-parseInt(_0x28b509(0x128))/0x6)+-parseInt(_0x28b509(0x20b))/0x7+parseInt(_0x28b509(0x1ad))/0x8;if(_0x207b99===_0x1dcf73)break;else _0x451abd['push'](_0x451abd['shift']());}catch(_0x2f3716){_0x451abd['push'](_0x451abd['shift']());}}}(a18_0x541a,0x8fd6e));const a18_0x2eb9cf=(function(){let _0x9a9b9c=!![];return function(_0x2cc303,_0x118fa2){const _0x4aa0f7=_0x9a9b9c?function(){const _0x4b6ba1=a18_0x588b;if(_0x118fa2){const _0x491b76=_0x118fa2[_0x4b6ba1(0x14e)](_0x2cc303,arguments);return _0x118fa2=null,_0x491b76;}}:function(){};return _0x9a9b9c=![],_0x4aa0f7;};}()),a18_0x5c7303=a18_0x2eb9cf(this,function(){const _0x5d9013=a18_0x588b;return a18_0x5c7303[_0x5d9013(0x197)]()[_0x5d9013(0x1ff)](_0x5d9013(0x212))['toString']()[_0x5d9013(0x198)](a18_0x5c7303)[_0x5d9013(0x1ff)]('(((.+)+)+)+$');});a18_0x5c7303();'use strict';var __classPrivateFieldSet=this&&this[a18_0x34b10b(0x21d)]||function(_0x14e100,_0x1a107b,_0x553d1a,_0x3f66b8,_0x2d9584){const _0x2123d6=a18_0x34b10b;if(_0x3f66b8==='m')throw new TypeError('Private\x20method\x20is\x20not\x20writable');if(_0x3f66b8==='a'&&!_0x2d9584)throw new TypeError(_0x2123d6(0x21b));if(typeof _0x1a107b===_0x2123d6(0x1e4)?_0x14e100!==_0x1a107b||!_0x2d9584:!_0x1a107b['has'](_0x14e100))throw new TypeError('Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x3f66b8==='a'?_0x2d9584[_0x2123d6(0x1bc)](_0x14e100,_0x553d1a):_0x2d9584?_0x2d9584[_0x2123d6(0x175)]=_0x553d1a:_0x1a107b[_0x2123d6(0x1b7)](_0x14e100,_0x553d1a),_0x553d1a;},__classPrivateFieldGet=this&&this[a18_0x34b10b(0x1d2)]||function(_0x160f39,_0x17dcb0,_0x3b93f1,_0x5e66c){const _0x14732f=a18_0x34b10b;if(_0x3b93f1==='a'&&!_0x5e66c)throw new TypeError(_0x14732f(0x1c9));if(typeof _0x17dcb0===_0x14732f(0x1e4)?_0x160f39!==_0x17dcb0||!_0x5e66c:!_0x17dcb0[_0x14732f(0x1cc)](_0x160f39))throw new TypeError('Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it');return _0x3b93f1==='m'?_0x5e66c:_0x3b93f1==='a'?_0x5e66c[_0x14732f(0x1bc)](_0x160f39):_0x5e66c?_0x5e66c[_0x14732f(0x175)]:_0x17dcb0[_0x14732f(0x164)](_0x160f39);},_Debuglet_instances,_a,_Debuglet_debug,_Debuglet_v8debug,_Debuglet_running,_Debuglet_controller,_Debuglet_completedBreakpointMap,_Debuglet_breakpointFetchedTimestamp,_Debuglet_breakpointFetched,_Debuglet_debuggeeRegistered,_Debuglet_nextEnableTimeout,_Debuglet_debuggeEnvironmentProperties,_Debuglet_scanner,_Debuglet_quotaManager,_Debuglet_blocklistManager,_Debuglet_redactionManager,_Debuglet_configProvider,_Debuglet_clientConnectionTimeoutInSeconds,_Debuglet_buildRegExp,_Debuglet_registerSignals,_Debuglet_scheduleRegistration_,_Debuglet_scheduleBreakpointFetch_,_Debuglet_updatePromise,_Debuglet_updateActiveBreakpoints_,_Debuglet_convertBreakpointListToMap_,_Debuglet_removeBreakpoint_,_Debuglet_addBreakpoint_,_Debuglet_updateBreakpoint_,_Debuglet_reportBreakpointAccepted_,_Debuglet_rejectBreakpoint_,_Debuglet_expireOldBreakpoints,_Debuglet_getOldBreakpoints,_Debuglet_getBlocklist,_Debuglet_getRedactions,_Debuglet_stringify;Object[a18_0x34b10b(0x125)](exports,a18_0x34b10b(0x218),{'value':!![]}),exports[a18_0x34b10b(0x1a9)]=exports[a18_0x34b10b(0x116)]=void 0x0;const assert=require('assert'),events_1=require(a18_0x34b10b(0x114)),extend=require(a18_0x34b10b(0x16a)),fs=require('fs'),path=require(a18_0x34b10b(0x12b)),util=require('util'),status_message_1=require(a18_0x34b10b(0x1b4)),stackdriver_1=require(a18_0x34b10b(0x1dc)),agent_logger_1=require('./agent-logger'),patterns_blocklist_manager_1=require('./blocklisting/patterns-blocklist-manager'),config_1=require(a18_0x34b10b(0x1a7)),configuration_provider_1=require('./configuration-provider'),controller_1=require('./controller'),createDebuggee_1=require('./debuglet-helpers/createDebuggee'),format_1=require(a18_0x34b10b(0x16c)),mapSubtract_1=require(a18_0x34b10b(0x169)),normalizeConfig_1=require(a18_0x34b10b(0x166)),environment_metadata_1=require(a18_0x34b10b(0x1de)),file_index_1=require(a18_0x34b10b(0x10e)),scanner_1=require(a18_0x34b10b(0x117)),SourceMapper=require(a18_0x34b10b(0x155)),piping_manager_1=require('./piping-manager'),quota_manager_1=require('./quota-manager'),redaction_manager_1=require(a18_0x34b10b(0x1a5)),utils_1=require(a18_0x34b10b(0x148)),debugapi=require('./v8/debugapi'),redaction_manager_re2js_1=require(a18_0x34b10b(0x1ba)),readFilep=util[a18_0x34b10b(0x1ca)](fs[a18_0x34b10b(0x1ef)]),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x42553e,_0x2f987d)=>{const _0x1d2cb0=a18_0x34b10b;let _0x2f12c0=_0x42553e+util[_0x1d2cb0(0x1f5)](_0x1d2cb0(0x21a),_0x2f987d['id'],_0x2f987d[_0x1d2cb0(0x12a)],util[_0x1d2cb0(0x180)](_0x2f987d[_0x1d2cb0(0x1cd)]));if(_0x2f987d[_0x1d2cb0(0x168)]){const _0x7cc4a4=Number(_0x2f987d[_0x1d2cb0(0x168)]['seconds']),_0x5c9093=new Date(_0x7cc4a4*0x3e8);_0x2f12c0+=_0x1d2cb0(0x137)+_0x5c9093[_0x1d2cb0(0x197)]();}return _0x2f987d[_0x1d2cb0(0x1e1)]&&(_0x2f12c0+=_0x1d2cb0(0x177)+util[_0x1d2cb0(0x180)](_0x2f987d[_0x1d2cb0(0x1e1)])),_0x2f987d['expressions']&&(_0x2f12c0+='\x0a\x09expressions:\x20'+util[_0x1d2cb0(0x180)](_0x2f987d[_0x1d2cb0(0x173)])),_0x2f12c0;},formatBreakpoints=(_0x1ec019,_0x43f2cf)=>_0x1ec019+Object[a18_0x34b10b(0x219)](_0x43f2cf)[a18_0x34b10b(0x20a)](_0x45b5ea=>formatBreakpoint('',_0x43f2cf[_0x45b5ea]))[a18_0x34b10b(0x11f)]('\x0a');class CachedPromise{constructor(){const _0x54d238=a18_0x34b10b;this[_0x54d238(0x130)]=null,this[_0x54d238(0x11c)]=new Promise(_0x56deb6=>{const _0x20d885=_0x54d238;this[_0x20d885(0x130)]=_0x56deb6;});}[a18_0x34b10b(0x164)](){const _0x398f81=a18_0x34b10b;return this[_0x398f81(0x11c)];}[a18_0x34b10b(0x140)](){const _0x1f6103=a18_0x34b10b;this[_0x1f6103(0x130)]&&(this[_0x1f6103(0x130)](),this['promiseResolve']=null);}}exports[a18_0x34b10b(0x116)]=CachedPromise;function a18_0x588b(_0x843c1d,_0x321a71){const _0x2d5347=a18_0x541a();return a18_0x588b=function(_0x5c7303,_0x2eb9cf){_0x5c7303=_0x5c7303-0x10e;let _0x541ae5=_0x2d5347[_0x5c7303];return _0x541ae5;},a18_0x588b(_0x843c1d,_0x321a71);}class IsReadyImpl{constructor(_0x260497){const _0x1db485=a18_0x34b10b;this[_0x1db485(0x200)]=_0x260497;}['isReady'](){const _0x48a8e5=a18_0x34b10b;return this[_0x48a8e5(0x200)][_0x48a8e5(0x1d7)]();}}class Debuglet extends events_1[a18_0x34b10b(0x1fc)]{constructor(_0x36eff3,_0x18efe){const _0x175a56=a18_0x34b10b;super(),_Debuglet_instances[_0x175a56(0x199)](this),_Debuglet_debug['set'](this,void 0x0),_Debuglet_v8debug[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_completedBreakpointMap[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_breakpointFetched[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x175a56(0x1b7)](this,null),this['isReadyManager']=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_scanner[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_quotaManager['set'](this,void 0x0),_Debuglet_blocklistManager[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_redactionManager[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_configProvider[_0x175a56(0x1b7)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds['set'](this,void 0x0),this['config']=(0x0,normalizeConfig_1[_0x175a56(0x1e3)])(_0x18efe),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x175a56(0x1d8))](this[_0x175a56(0x1a0)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x36eff3,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0x175a56(0x119)]=agent_logger_1[_0x175a56(0x14a)][_0x175a56(0x172)](this[_0x175a56(0x1a0)]['agentLog'][_0x175a56(0x10f)],this[_0x175a56(0x1a0)][_0x175a56(0x1be)][_0x175a56(0x17b)],this[_0x175a56(0x1a0)][_0x175a56(0x1be)][_0x175a56(0x1aa)],this[_0x175a56(0x1a0)][_0x175a56(0x1be)][_0x175a56(0x1ac)],this[_0x175a56(0x1a0)][_0x175a56(0x1be)]['stdErrThreshold']),(0x0,config_1[_0x175a56(0x131)])(this[_0x175a56(0x1a0)],this[_0x175a56(0x119)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x175a56(0x12e))](this[_0x175a56(0x119)])[_0x175a56(0x19f)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x175a56(0x19d))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this[_0x175a56(0x1a0)],this[_0x175a56(0x119)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x175a56(0x134))](this[_0x175a56(0x119)]),'f'),this[_0x175a56(0x110)]=null,this[_0x175a56(0x139)]={},__classPrivateFieldSet(this,_Debuglet_completedBreakpointMap,{},'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'),__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,-Infinity,'f'),__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldSet(this,_Debuglet_quotaManager,new quota_manager_1[(_0x175a56(0x181))](this[_0x175a56(0x119)],this[_0x175a56(0x1a0)]),'f'),this[_0x175a56(0x1a1)]=new piping_manager_1[(_0x175a56(0x171))](_0x175a56(0x215),__classPrivateFieldGet(this,_Debuglet_controller,'f'),this[_0x175a56(0x1a0)]);}async['waitForTransmissionQueueDrain'](_0x164322){const _0x211d33=a18_0x34b10b;return __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x211d33(0x1fb)](_0x164322);}['getClientConnectionTimeoutInSeconds'](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async[a18_0x34b10b(0x1e2)](_0x4d0f44){const _0x31b7b2=a18_0x34b10b,_0x23360c=0x32;let _0x54ff78=null;const _0x1168ee=()=>_0x54ff78=!![],_0x18828e=()=>_0x54ff78=![],_0x42d531=_0x337d1d=>{if(_0x337d1d)return;_0x1168ee();};let _0x2d9ebb=![];const _0x227cd0=_0x1055e9=>{const _0x456f4e=a18_0x588b;_0x2d9ebb&&_0x18828e(),_0x2d9ebb=!![],this[_0x456f4e(0x185)]();};this[_0x31b7b2(0x1f0)](_0x31b7b2(0x111),_0x42d531),this[_0x31b7b2(0x1f0)](_0x31b7b2(0x1d0),_0x1168ee);this[_0x31b7b2(0x1a0)][_0x31b7b2(0x20c)]?.[_0x31b7b2(0x205)]&&(this[_0x31b7b2(0x1f0)](_0x31b7b2(0x182),_0x18828e),this[_0x31b7b2(0x1f0)](_0x31b7b2(0x1d1),_0x18828e),this['once']('breakpoints_fetch_registration_required',_0x227cd0));if(_0x4d0f44){const _0x5a006a=Date[_0x31b7b2(0x162)]();while(_0x54ff78===null&&Date[_0x31b7b2(0x162)]()-_0x5a006a<_0x4d0f44){await(0x0,utils_1[_0x31b7b2(0x183)])(_0x23360c);}}return this['removeListener'](_0x31b7b2(0x111),_0x42d531),this[_0x31b7b2(0x142)](_0x31b7b2(0x1d0),_0x1168ee),this[_0x31b7b2(0x1a0)][_0x31b7b2(0x20c)]?.[_0x31b7b2(0x205)]&&(this['removeListener'](_0x31b7b2(0x182),_0x18828e),this[_0x31b7b2(0x142)](_0x31b7b2(0x1d1),_0x18828e),this[_0x31b7b2(0x142)](_0x31b7b2(0x1bf),_0x227cd0)),_0x54ff78===!![];}[a18_0x34b10b(0x1a8)](){__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,!![]);}['isRegistered'](){const _0x13026d=a18_0x34b10b;return this[_0x13026d(0x110)]?.['id']!==undefined;}async[a18_0x34b10b(0x151)](_0x288931,_0x5b5446){const _0x1716a6=a18_0x34b10b,_0x5bee35=_0x288931[_0x1716a6(0x127)],_0x448ec8=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x1716a6(0x1dd)](_0x5bee35,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x1716a6(0x1bc)](_a,_0x288931[_0x1716a6(0x1b8)][_0x1716a6(0x13e)](_0x1716a6(0x163))),_0x5b5446,_0x288931['extraPaths']),_0x32a2f1=_0x448ec8['selectStats'](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)['call'](_a,_0x288931[_0x1716a6(0x1b8)])),_0x23a77a=file_index_1[_0x1716a6(0x1f7)][_0x1716a6(0x11e)](_0x32a2f1),_0x12e1b2=_0x448ec8[_0x1716a6(0x161)](/.js.map$/,process[_0x1716a6(0x17f)]()),_0x2843e0=_0x448ec8[_0x1716a6(0x1f1)]();return{'mapFiles':_0x12e1b2,'errors':_0x2843e0,'jsFileIndex':_0x23a77a,'hash':_0x448ec8[_0x1716a6(0x1db)]};}async[a18_0x34b10b(0x20f)](){const _0x434fa2=a18_0x34b10b,_0x3bbba7=this[_0x434fa2(0x1a0)][_0x434fa2(0x127)];if(!this[_0x434fa2(0x1a0)]['allowRootAsWorkingDirectory']&&path[_0x434fa2(0x11f)](_0x3bbba7,'..')===_0x3bbba7){const _0x501381=_0x434fa2(0x196)+'to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20'+_0x434fa2(0x156)+_0x434fa2(0x1c2);this[_0x434fa2(0x119)][_0x434fa2(0x1b6)](_0x501381),this['emit'](_0x434fa2(0x1ec),new Error(_0x501381));return;}let _0x1bcb32;process['env'][_0x434fa2(0x1ae)]&&(_0x1bcb32=_0x434fa2(0x121)+process[_0x434fa2(0x211)][_0x434fa2(0x1ae)]);let _0x3f3ebc,_0x438043=_0x1bcb32??'';try{_0x3f3ebc=await this['findFiles'](this[_0x434fa2(0x1a0)],_0x1bcb32),_0x3f3ebc['errors'][_0x434fa2(0x1f4)](this[_0x434fa2(0x119)][_0x434fa2(0x1df)]);}catch(_0x2cee34){this[_0x434fa2(0x119)][_0x434fa2(0x1b6)](_0x434fa2(0x1b9),_0x2cee34),this[_0x434fa2(0x18c)](_0x434fa2(0x1ec),_0x2cee34);return;}try{const _0x5b203f=await SourceMapper[_0x434fa2(0x193)](this[_0x434fa2(0x119)],_0x3f3ebc[_0x434fa2(0x1c4)],this['config'][_0x434fa2(0x20c)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0x434fa2(0x193)](this['logger'],this['config'],_0x3f3ebc[_0x434fa2(0x16b)],_0x5b203f,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x438043=_0x1bcb32??_0x3f3ebc[_0x434fa2(0x1db)];}catch(_0x34054d){this['logger']['error'](_0x434fa2(0x157),_0x34054d),this['logger'][_0x434fa2(0x17c)](JSON[_0x434fa2(0x147)](_0x34054d)),this[_0x434fa2(0x18c)]('initError',_0x34054d);}this[_0x434fa2(0x119)][_0x434fa2(0x17c)]('Unique\x20ID\x20for\x20this\x20Application:\x20'+_0x438043);const _0x554a27=(0x0,utils_1[_0x434fa2(0x17e)])(this[_0x434fa2(0x119)])['replace']('\x0a','');this[_0x434fa2(0x119)][_0x434fa2(0x17c)](_0x434fa2(0x122)+_0x554a27);let _0x392359;try{_0x392359=this[_0x434fa2(0x1a0)][_0x434fa2(0x1bd)]||await _a[_0x434fa2(0x192)]();}catch{}this['logger']['info'](_0x434fa2(0x15f)+process['mainModule']?.['filename']),this[_0x434fa2(0x119)][_0x434fa2(0x160)]('Working\x20directory:\x20'+_0x3bbba7),this[_0x434fa2(0x119)][_0x434fa2(0x160)]('Starting\x20debuggee'),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this[_0x434fa2(0x110)]=(0x0,createDebuggee_1['createDebuggee'])(_0x438043,this['config'],_0x392359,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0x434fa2(0x1ab)],_0x554a27,this[_0x434fa2(0x119)],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0x434fa2(0x1bc)](this),this[_0x434fa2(0x185)](),this[_0x434fa2(0x18c)](_0x434fa2(0x18b));}[a18_0x34b10b(0x1d7)](){const _0x3415bc=a18_0x34b10b;if(Date['now']()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise['resolve']();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3415bc(0x164)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x3415bc(0x164)]()[_0x3415bc(0x191)](()=>{const _0x4957fd=_0x3415bc;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x4957fd(0x1bc)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x3415bc(0x164)]();}}static async['getSourceContextFromFile'](){const _0x314cd3=a18_0x34b10b,_0x40b72b=await readFilep(_0x314cd3(0x18d),_0x314cd3(0x1ea));try{return JSON[_0x314cd3(0x1d3)](_0x40b72b);}catch(_0x54dff8){throw new Error('Malformed\x20source-context.json\x20file:\x20'+_0x54dff8);}}['register'](){const _0x5bf326=a18_0x34b10b;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x5bf326(0x1bc)](this,0x0);}[a18_0x34b10b(0x112)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0x34b10b(0x209)](){const _0x21dd52=a18_0x34b10b;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x21dd52(0x119)][_0x21dd52(0x160)](_0x21dd52(0x1eb));return;}this[_0x21dd52(0x119)][_0x21dd52(0x160)](_0x21dd52(0x16d)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x21dd52(0x209)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this[_0x21dd52(0x18c)](_0x21dd52(0x141));}[a18_0x34b10b(0x113)](_0x5bd0e7){const _0x589789=a18_0x34b10b;if(!this['logger'][_0x589789(0x201)]())return _0x5bd0e7['id'];try{const _0x5181d5=JSON[_0x589789(0x147)](_0x5bd0e7);if(_0x5181d5[_0x589789(0x17d)]<=BREAKPOINT_LOG_MAX_CHARS)return _0x5181d5;return _0x5181d5[_0x589789(0x123)](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x589789(0x13c);}catch(_0x3407b5){return this['logger']['error'](_0x589789(0x1c3),_0x3407b5),_0x5bd0e7['id'];}}[a18_0x34b10b(0x189)](_0x39520a){const _0x279fdc=a18_0x34b10b,_0x4b9ea6=this[_0x279fdc(0x119)]['getInitialLevel']();if(_0x4b9ea6===_0x279fdc(0x160))return;switch(_0x39520a){case _0x279fdc(0x204):this[_0x279fdc(0x119)]['getLevel']()!==_0x279fdc(0x160)&&(this[_0x279fdc(0x119)][_0x279fdc(0x15d)](_0x279fdc(0x160)),this['logger']['debug'](_0x279fdc(0x1cf)));break;case _0x279fdc(0x153):case undefined:this[_0x279fdc(0x119)]['getLevel']()===_0x279fdc(0x160)&&(this[_0x279fdc(0x119)][_0x279fdc(0x15d)](_0x4b9ea6),this[_0x279fdc(0x119)][_0x279fdc(0x17c)](_0x279fdc(0x1f8)+_0x4b9ea6+')'));break;default:this[_0x279fdc(0x119)][_0x279fdc(0x1df)](_0x279fdc(0x187)+_0x39520a);}}}exports['Debuglet']=Debuglet,(_a=Debuglet,_Debuglet_debug=new WeakMap(),_Debuglet_v8debug=new WeakMap(),_Debuglet_running=new WeakMap(),_Debuglet_controller=new WeakMap(),_Debuglet_completedBreakpointMap=new WeakMap(),_Debuglet_breakpointFetchedTimestamp=new WeakMap(),_Debuglet_breakpointFetched=new WeakMap(),_Debuglet_debuggeeRegistered=new WeakMap(),_Debuglet_nextEnableTimeout=new WeakMap(),_Debuglet_debuggeEnvironmentProperties=new WeakMap(),_Debuglet_scanner=new WeakMap(),_Debuglet_quotaManager=new WeakMap(),_Debuglet_blocklistManager=new WeakMap(),_Debuglet_redactionManager=new WeakMap(),_Debuglet_configProvider=new WeakMap(),_Debuglet_clientConnectionTimeoutInSeconds=new WeakMap(),_Debuglet_instances=new WeakSet(),_Debuglet_buildRegExp=function _Debuglet_buildRegExp(_0x4190f9){const _0x47b2a4=a18_0x34b10b;return new RegExp(_0x4190f9['map'](_0x1da703=>_0x1da703+'$')[_0x47b2a4(0x11f)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x7936aa=a18_0x34b10b,_0x5396a2=['SIGTERM',_0x7936aa(0x203),_0x7936aa(0x1f9)];_0x5396a2[_0x7936aa(0x1f4)](_0x56e0fb=>{const _0xfdc8e0=_0x7936aa;process[_0xfdc8e0(0x1f0)](_0x56e0fb,()=>{const _0x2917e3=_0xfdc8e0;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2917e3(0x1d6)](this[_0x2917e3(0x110)],()=>{const _0x5a4208=_0x2917e3;process[_0x5a4208(0x149)](process[_0x5a4208(0x1c8)],_0x56e0fb);});});}),process[_0x7936aa(0x1f0)](_0x7936aa(0x21c),()=>{const _0x26e40d=_0x7936aa;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x26e40d(0x1d6)](this[_0x26e40d(0x110)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0xdf7815){const _0x2aabef=a18_0x34b10b;this['logger']['debug'](_0xdf7815?'Scheduling\x20registration\x20in\x20'+_0xdf7815+'s':_0x2aabef(0x214));const _0x42f8c4=(_0x27f201,_0x36d17e,_0x2be71b=![])=>{const _0x1d9183=_0x2aabef;this[_0x1d9183(0x18c)]('registration_failed');const _0x1d7f96=this[_0x1d9183(0x110)]?.['id'],_0x1bbeb1=_0x1d7f96?_0x1d9183(0x179)+_0x1d7f96:_0x1d9183(0x1a3),_0x377e09=_0x1d9183(0x217)+_0x1bbeb1+':\x20'+(0x0,utils_1[_0x1d9183(0x12c)])(_0x27f201);this[_0x1d9183(0x119)][_0x1d9183(0x1b6)](_0x377e09),_0x36d17e&&!_0x2be71b&&this[_0x1d9183(0x119)]['error'](_0x1d9183(0x1ce),_0x36d17e),!this[_0x1d9183(0x1a0)][_0x1d9183(0x20c)]?.[_0x1d9183(0x205)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x1d9183(0x1bc)](this,(0x0,utils_1[_0x1d9183(0x1e6)])(_0xdf7815,this[_0x1d9183(0x1a0)][_0x1d9183(0x20c)][_0x1d9183(0x1d4)]));};setTimeout(()=>{const _0x453716=_0x2aabef;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x42f8c4(new Error('Debuglet\x20not\x20running'));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')['register'](this[_0x453716(0x110)],(_0x928b6c,_0x2295c4,_0x39771c=![])=>{const _0x1f4eb9=_0x453716;if(_0x928b6c){_0x42f8c4(_0x928b6c,_0x2295c4,_0x39771c);return;}if(_0x2295c4[_0x1f4eb9(0x110)][_0x1f4eb9(0x15a)]){_0x42f8c4(new Error('Disabled\x20by\x20the\x20server')),this[_0x1f4eb9(0x18c)](_0x1f4eb9(0x1d9));return;}const _0x36c4de=_0x2295c4[_0x1f4eb9(0x110)]['id'];this[_0x1f4eb9(0x119)]['info'](_0x1f4eb9(0x1da)+_0x36c4de),this[_0x1f4eb9(0x110)]['id']=_0x36c4de;const _0x1287f1=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x1f4eb9(0x14c)](this)(this[_0x1f4eb9(0x110)]['id'])];this[_0x1f4eb9(0x1a0)][_0x1f4eb9(0x1ed)]&&_0x1287f1[_0x1f4eb9(0x1f3)](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x1f4eb9(0x14c)](this)(this[_0x1f4eb9(0x110)]['id'])),Promise[_0x1f4eb9(0x208)](_0x1287f1)[_0x1f4eb9(0x191)](()=>{const _0x381f88=_0x1f4eb9;this[_0x381f88(0x18c)]('registered',_0x36c4de),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x381f88(0x140)](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x381f88(0x11b)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x2295c4?.[_0x381f88(0x14d)],'f'),!this[_0x381f88(0x11a)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x381f88(0x1bc)](this,0x0,this['config'][_0x381f88(0x1a8)],_0x2295c4?.[_0x381f88(0x14d)]);},_0x31bc11=>{_0x42f8c4(_0x31bc11);});});},_0xdf7815*0x3e8)[_0x2aabef(0x194)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x51be00,_0x349879,_0x15da92){const _0x1dc68e=a18_0x34b10b;this[_0x1dc68e(0x119)][_0x1dc68e(0x160)](_0x1dc68e(0x115)+_0x51be00+'\x20'+_0x349879+'\x20'+_0x15da92),!_0x349879&&(this[_0x1dc68e(0x11a)]=!![]),setTimeout(()=>{const _0x5ee812=_0x1dc68e;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x349879&&assert(this[_0x5ee812(0x11a)]),this['logger']['debug']('Fetching\x20breakpoints'),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x5ee812(0x170)](this['debuggee'],(_0x2960ff,_0x1b8b9c,_0x4d8db7)=>{const _0x459d7d=_0x5ee812;if(_0x4d8db7?.[_0x459d7d(0x190)]===0x194){this[_0x459d7d(0x119)]['info'](_0x459d7d(0x1f6)),this[_0x459d7d(0x11a)]=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x459d7d(0x1bc)](this);this['config']['internal']?.[_0x459d7d(0x205)]?this[_0x459d7d(0x18c)](_0x459d7d(0x1bf)):this[_0x459d7d(0x185)]();return;}if(_0x2960ff){if(this[_0x459d7d(0x1a0)][_0x459d7d(0x20c)]?.['isLambda'])this[_0x459d7d(0x18c)](_0x459d7d(0x1d1)),this[_0x459d7d(0x119)][_0x459d7d(0x1b6)]('\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20'+_0x4d8db7?.[_0x459d7d(0x190)]+_0x459d7d(0x19a)+_0x2960ff[_0x459d7d(0x1fe)]);else{const _0x584c6e=(0x0,utils_1[_0x459d7d(0x1e6)])(_0x51be00,this['config'][_0x459d7d(0x20c)][_0x459d7d(0x1d4)]);this[_0x459d7d(0x119)]['error'](_0x459d7d(0x1f2)+_0x4d8db7?.['status']+_0x459d7d(0x19a)+_0x2960ff[_0x459d7d(0x1fe)]+_0x459d7d(0x135)+_0x584c6e+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x459d7d(0x1bc)](this,_0x584c6e,_0x349879,_0x15da92);}return;}this[_0x459d7d(0x119)]['debug']('\x09'+_0x4d8db7[_0x459d7d(0x190)]+_0x459d7d(0x159));if(!_0x1b8b9c){const _0x59e1d6=this['config'][_0x459d7d(0x1e0)];this['logger'][_0x459d7d(0x1b6)](_0x459d7d(0x1c5)+_0x59e1d6+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,_0x59e1d6,_0x349879,_0x15da92);return;}this['setCustomLogLevel'](_0x1b8b9c[_0x459d7d(0x1ac)]);if(_0x1b8b9c['waitExpired']){this['logger'][_0x459d7d(0x17c)](_0x459d7d(0x138)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,0x0,_0x349879,_0x15da92);return;}if(_0x1b8b9c[_0x459d7d(0x1a2)]&&_0x1b8b9c[_0x459d7d(0x1a2)]!==_0x459d7d(0x153)){const _0x2e46c2=this[_0x459d7d(0x1a1)]['globalPipingStatus'];_0x2e46c2!==_0x1b8b9c[_0x459d7d(0x1a2)]&&(this['logger'][_0x459d7d(0x160)](_0x459d7d(0x1fd)+_0x2e46c2+_0x459d7d(0x158)+_0x1b8b9c[_0x459d7d(0x1a2)]),this[_0x459d7d(0x1a1)][_0x459d7d(0x12d)]=_0x1b8b9c['pipeLogs']);}if(_0x1b8b9c[_0x459d7d(0x1c7)]&&_0x1b8b9c[_0x459d7d(0x167)]!==this[_0x459d7d(0x167)]){this[_0x459d7d(0x167)]=_0x1b8b9c[_0x459d7d(0x167)];const _0x265f18=this[_0x459d7d(0x1a0)][_0x459d7d(0x1be)]['agentLogTargetDir']&&path[_0x459d7d(0x11f)](this[_0x459d7d(0x1a0)][_0x459d7d(0x1be)][_0x459d7d(0x10f)],agent_logger_1[_0x459d7d(0x14a)]['AGENT_LOG_FILE']);_0x265f18&&fs['existsSync'](_0x265f18)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x459d7d(0x184)](this[_0x459d7d(0x110)],_0x1b8b9c['collectLogRequestId'],_0x265f18)):this[_0x459d7d(0x119)][_0x459d7d(0x17c)](_0x459d7d(0x1ee)+_0x1b8b9c[_0x459d7d(0x167)]+'\x20because\x20'+_0x459d7d(0x1b0));}const _0x2b875c=(_0x1b8b9c[_0x459d7d(0x1c6)]||[])['map'](_0x4207cc=>new stackdriver_1[(_0x459d7d(0x202))](_0x4207cc))['filter'](_0x4dc3f4=>{const _0x3ad303=_0x459d7d,_0x280c3a=_0x4dc3f4['action']??_0x3ad303(0x12f);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4dc3f4['id']])return![];if(_0x280c3a!==_0x3ad303(0x12f)&&_0x280c3a!=='LOG')return this[_0x3ad303(0x119)][_0x3ad303(0x1df)]('Found\x20breakpoint\x20with\x20invalid\x20action:',_0x280c3a),_0x4dc3f4[_0x3ad303(0x190)]=new status_message_1['StatusMessage'](status_message_1[_0x3ad303(0x1e9)][_0x3ad303(0x206)],utils_1[_0x3ad303(0x1f1)][_0x3ad303(0x1b5)],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x3ad303(0x1bc)](this,_0x4dc3f4),![];return!![];}),_0x3ca3a6=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x459d7d(0x1bc)](this);let _0xfdfe07=_0x3ca3a6[_0x459d7d(0x17d)]>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x459d7d(0x1bc)](this,_0x3ca3a6),_0xfdfe07=_0xfdfe07||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)['call'](this,_0x2b875c),this['emit'](_0x459d7d(0x111),_0x2b875c['length']);_0xfdfe07&&this['logger'][_0x459d7d(0x160)](formatBreakpoints(_0x459d7d(0x186),this['activeBreakpointMap']));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x459d7d(0x162)](),'f');_0x349879?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x459d7d(0x140)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x459d7d(0x1bc)](this,0x0,_0x349879,_0x15da92);return;},_0x15da92);},_0x51be00*0x3e8)[_0x1dc68e(0x194)]();},_Debuglet_updatePromise=function _Debuglet_updatePromise(){const _0x19316=a18_0x34b10b;__classPrivateFieldSet(this,_Debuglet_debuggeeRegistered,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x19316(0x140)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f'));},_Debuglet_updateActiveBreakpoints_=function _Debuglet_updateActiveBreakpoints_(_0x3edeaa){const _0x2ae4fb=a18_0x34b10b,_0x44a6e3=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x2ae4fb(0x1bc)](this,_0x3edeaa);let _0x25b7a1=![];return _0x3edeaa[_0x2ae4fb(0x1f4)](_0x3c5af0=>{const _0xf8c913=_0x2ae4fb;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x3c5af0['id']]&&!this[_0xf8c913(0x139)][_0x3c5af0['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0xf8c913(0x1bc)](this,_0x3c5af0,_0x1a8f16=>{const _0x396b03=_0xf8c913;_0x1a8f16&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x396b03(0x1bc)](this,_0x3c5af0,!![],![]);}),_0x25b7a1=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['createPerBreakpointConditionQuota'](_0x3c5af0['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0xf8c913(0x213)](_0x3c5af0['id'],_0x3c5af0[_0xf8c913(0x1a6)]),this[_0xf8c913(0x1a1)][_0xf8c913(0x132)](_0x3c5af0['id'],_0x3c5af0[_0xf8c913(0x178)]);}),(0x0,mapSubtract_1[_0x2ae4fb(0x129)])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x44a6e3)[_0x2ae4fb(0x1f4)](_0x8dbef=>{const {id:_0x58e980}=_0x8dbef;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x58e980],_0x25b7a1=!![];}),(0x0,mapSubtract_1[_0x2ae4fb(0x129)])(this['activeBreakpointMap'],_0x44a6e3)['forEach'](_0x4149a2=>{const _0x477fbd=_0x2ae4fb;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x477fbd(0x1bc)](this,_0x4149a2,!![]),_0x25b7a1=!![];}),_0x25b7a1&&this[_0x2ae4fb(0x119)][_0x2ae4fb(0x160)](formatBreakpoints(_0x2ae4fb(0x14f),_0x44a6e3)),_0x25b7a1;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x24932d){const _0x54640b=a18_0x34b10b;return Object[_0x54640b(0x13b)](_0x24932d['map'](_0x4c072c=>[_0x4c072c['id'],_0x4c072c]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x5011dc,_0x255605){const _0x94a381=a18_0x34b10b;this[_0x94a381(0x119)][_0x94a381(0x17c)]('\x09remove\x20breakpoint\x20id\x20'+_0x5011dc['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['removePerBreakpointQuota'](_0x5011dc['id']),this[_0x94a381(0x1a1)][_0x94a381(0x1d5)](_0x5011dc['id']),delete this[_0x94a381(0x139)][_0x5011dc['id']],_0x255605&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x94a381(0x1bb)](_0x5011dc,_0x422568=>{const _0x5198e0=_0x94a381;if(_0x422568)this['logger'][_0x5198e0(0x1b6)](_0x422568);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x43749f,_0x593f39){const _0x1d47ce=a18_0x34b10b;this[_0x1d47ce(0x119)][_0x1d47ce(0x17c)](_0x1d47ce(0x144),this['stringifyBreakpointForInfoLog'](_0x43749f));if(!this[_0x1d47ce(0x1a0)][_0x1d47ce(0x143)]&&(_0x43749f[_0x1d47ce(0x1e1)]||_0x43749f[_0x1d47ce(0x173)])){this[_0x1d47ce(0x119)][_0x1d47ce(0x1b6)](utils_1[_0x1d47ce(0x1f1)][_0x1d47ce(0x13a)][_0x1d47ce(0x15e)]??''),_0x43749f['status']=new status_message_1[(_0x1d47ce(0x1e9))](status_message_1['StatusMessage'][_0x1d47ce(0x206)],utils_1[_0x1d47ce(0x1f1)][_0x1d47ce(0x13a)],!![]),setImmediate(()=>{_0x593f39(utils_1['errors']['ALLOW_EXPRESSIONS_MESSAGE']);});return;}const _0x1ef83f=_0x43749f[_0x1d47ce(0x168)]?Number(_0x43749f[_0x1d47ce(0x168)]['seconds']):Date[_0x1d47ce(0x162)]()/0x3e8,_0x244e7a=_0x43749f[_0x1d47ce(0x216)]??this[_0x1d47ce(0x1a0)]['breakpointExpirationSec'];_0x43749f[_0x1d47ce(0x15b)]=_0x1ef83f+_0x244e7a,_0x43749f[_0x1d47ce(0x1cd)]?.[_0x1d47ce(0x12b)]&&(_0x43749f[_0x1d47ce(0x1cd)]['path']=path[_0x1d47ce(0x124)](_0x43749f[_0x1d47ce(0x1cd)][_0x1d47ce(0x12b)]),path[_0x1d47ce(0x20d)]===path[_0x1d47ce(0x16f)][_0x1d47ce(0x20d)]&&(_0x43749f['location'][_0x1d47ce(0x12b)]=_0x43749f[_0x1d47ce(0x1cd)]['path'][_0x1d47ce(0x146)]('\x5c')['join'](path[_0x1d47ce(0x20d)]))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x1d47ce(0x1b7)](_0x43749f,_0x1607aa=>{const _0x5eb1ef=_0x1d47ce;if(_0x1607aa){_0x593f39(_0x1607aa);return;}this[_0x5eb1ef(0x119)]['info'](_0x5eb1ef(0x1cb)+_0x43749f['id']),this[_0x5eb1ef(0x139)][_0x43749f['id']]=_0x43749f,_0x43749f[_0x5eb1ef(0x12a)]==='LOG'?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x5eb1ef(0x18a)](_0x43749f,(_0x48144d,_0x1c52ab)=>{const _0x64c0=_0x5eb1ef,_0x4c737b=_0x1c52ab['map'](_0x3440c9=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x3440c9)),_0x3c9716=(0x0,format_1[_0x64c0(0x1f5)])(_0x48144d,_0x4c737b),_0x5bf832='LOGPOINT:\x20'+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x64c0(0x11d)](_0x3c9716)??_0x3c9716),_0x229946=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x64c0(0x1e5)](_0x5bf832,_0x43749f['id']);if(_0x229946){const _0x70bf9e=_0x229946[_0x64c0(0x1fe)],{isOutOfQuota:_0xd3b8a1}=_0x229946;let _0xd96837,_0x204bdd;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x64c0(0x145)]()&&!_0xd3b8a1&&(_0xd96837='LOGPOINT:\x20'+_0x48144d,_0x204bdd=_0x4c737b);this[_0x64c0(0x1a1)]['addAndPipeLog'](this[_0x64c0(0x110)],_0x43749f['id'],_0x70bf9e,_0x43749f[_0x64c0(0x150)],_0xd96837,_0x204bdd);if(_0xd3b8a1)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x64c0(0x18f)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x29e43c=_0x64c0;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x29e43c(0x1a4)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this['config'][_0x64c0(0x14b)][_0x64c0(0x1c1)]*0x3e8),'f');else _0x70bf9e?.[_0x64c0(0x17d)]===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.['disable']();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x43749f['id']],_0x10f667=>{const _0xee9c8a=_0x5eb1ef;if(_0x10f667){this[_0xee9c8a(0x119)]['error'](_0x10f667),_0x593f39(_0x10f667);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x5eb1ef(0x188)](_0x43749f,_0x3fe966=>{const _0x1ce826=_0x5eb1ef;if(_0x3fe966){setImmediate(()=>{const _0xc8bb4d=a18_0x588b;this['logger'][_0xc8bb4d(0x1b6)](_0x3fe966),_0x593f39(_0x3fe966);});return;}this[_0x1ce826(0x119)][_0x1ce826(0x17c)](_0x1ce826(0x1e7)+_0x43749f['id'],_0x43749f[_0x1ce826(0x1cd)]?.[_0x1ce826(0x12b)],_0x43749f[_0x1ce826(0x1cd)]?.[_0x1ce826(0x176)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x1ce826(0x1bc)](this,_0x43749f,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')['remainingHits'](_0x43749f['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x5eb1ef(0x1bc)](this,_0x43749f);}),this['emit'](_0x1d47ce(0x1d0));},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x4f0ac2,_0x40f8a0,_0x3a5c8f=!![]){const _0x3ab248=a18_0x34b10b;if(_0x4f0ac2[_0x3ab248(0x190)]?.[_0x3ab248(0x118)]){let _0x37cdcc=_0x4f0ac2[_0x3ab248(0x190)]?.['description']?.[_0x3ab248(0x1f5)]||'';_0x4f0ac2[_0x3ab248(0x190)]?.[_0x3ab248(0x15e)]?.[_0x3ab248(0x133)]&&(_0x37cdcc+=':\x20'+_0x4f0ac2['status']?.[_0x3ab248(0x15e)]?.[_0x3ab248(0x133)][_0x3ab248(0x197)]()),this[_0x3ab248(0x119)][_0x3ab248(0x1df)](_0x3ab248(0x120)+_0x4f0ac2+'.\x20Error:\x20'+_0x37cdcc);}else this[_0x3ab248(0x119)]['info'](_0x3ab248(0x21e),this[_0x3ab248(0x113)](_0x4f0ac2));_0x40f8a0&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4f0ac2['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3ab248(0x1bc)](this,_0x4f0ac2,_0x3a5c8f)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x3ab248(0x154)](this[_0x3ab248(0x110)],extend(!![],{},_0x4f0ac2));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x585a27){const _0x12d490=a18_0x34b10b;this[_0x12d490(0x119)][_0x12d490(0x160)](_0x12d490(0x1e8)+_0x585a27+_0x12d490(0x1b1));const _0x4f13e3=extend(!![],{},_0x585a27);_0x4f13e3['isFinalState']=![],_0x4f13e3[_0x12d490(0x190)]=new status_message_1[(_0x12d490(0x1e9))](status_message_1[_0x12d490(0x1e9)]['UNSPECIFIED'],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x12d490(0x154)](this['debuggee'],_0x4f13e3);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x152feb){const _0x2a842d=a18_0x34b10b;this[_0x2a842d(0x119)][_0x2a842d(0x17c)]('rejecting\x20breakpoint\x20id\x20'+_0x152feb),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x152feb['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2a842d(0x154)](this[_0x2a842d(0x110)],_0x152feb);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x364830){const _0x5aeef3=a18_0x34b10b;_0x364830[_0x5aeef3(0x1f4)](_0x15b9c7=>{const _0x3c6e94=_0x5aeef3;this[_0x3c6e94(0x119)][_0x3c6e94(0x17c)]('Expiring\x20breakpoint\x20id\x20'+_0x15b9c7['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x15b9c7['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x3c6e94(0x1bc)](this,_0x15b9c7,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x1051b0=a18_0x34b10b,_0xb835f=Date[_0x1051b0(0x162)]()/0x3e8;return Object[_0x1051b0(0x1b3)](this['activeBreakpointMap'])['filter'](_0x25d5a6=>_0x25d5a6['expirationTime']?_0x25d5a6['expirationTime']<_0xb835f:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x4b5f40){const _0x4cb052=a18_0x34b10b,_0x1a8c5c=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getBlocklist'](_0x4b5f40),_0x7384c=_0x1a8c5c[_0x4cb052(0x18e)],_0x4d8807=_0x1a8c5c[_0x4cb052(0x210)];_0x7384c?.['length']&&this['logger'][_0x4cb052(0x160)]('Blacklist:\x20\x0a\x09',_0x7384c['join']('\x0a\x09')),_0x4d8807?.['length']&&this[_0x4cb052(0x119)][_0x4cb052(0x160)]('Blacklist\x20Exceptions:\x20\x0a\x09',_0x4d8807[_0x4cb052(0x11f)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x4cb052(0x20e))](_0x7384c,_0x4d8807,this[_0x4cb052(0x1a0)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x1f3e0f){const _0x1dc299=a18_0x34b10b,_0x276fe5=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x1dc299(0x1c0)](_0x1f3e0f);_0x276fe5?.[_0x1dc299(0x17d)]&&this['logger'][_0x1dc299(0x160)]('Redactions:\x20\x0a\x09',_0x276fe5['map'](_0x11061d=>_0x1dc299(0x16e)+_0x11061d[_0x1dc299(0x152)]+_0x1dc299(0x126)+_0x11061d[_0x1dc299(0x19e)]+'):\x20pattern:\x20'+_0x11061d[_0x1dc299(0x1af)]+_0x1dc299(0x15c)+_0x11061d[_0x1dc299(0x19c)])[_0x1dc299(0x11f)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x1dc299(0x195))](this[_0x1dc299(0x119)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x1dc299(0x13d)](_0x276fe5);},_Debuglet_stringify=function _Debuglet_stringify(_0x1bfccf){const _0x28d5f2=a18_0x34b10b;if(!_0x1bfccf)return JSON[_0x28d5f2(0x147)](_0x1bfccf,(_0x114d0c,_0xc19911)=>_0xc19911===undefined?'undefined':_0xc19911);if(Array['isArray'](_0x1bfccf)){const _0x1915ac=_0x1bfccf[_0x28d5f2(0x20a)](_0x3e2a60=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x28d5f2(0x1bc)](this,_0x3e2a60));return'['+_0x1915ac[_0x28d5f2(0x11f)](',\x20')+']';}if(typeof _0x1bfccf===_0x28d5f2(0x174)){const _0x348291=Object[_0x28d5f2(0x165)](_0x1bfccf)[_0x28d5f2(0x20a)](([_0x750965,_0x4d5055])=>{const _0x23ee51=_0x28d5f2,_0x2d403b=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x23ee51(0x19b)](_0x750965)?redaction_manager_1[_0x23ee51(0x207)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x23ee51(0x1bc)](this,_0x4d5055);return JSON['stringify'](_0x750965)+':\x20'+_0x2d403b;})[_0x28d5f2(0x11f)](',\x20');return'{'+_0x348291+'}';}return JSON[_0x28d5f2(0x147)](_0x1bfccf);});
1
+ const a18_0xc40e0c=a18_0x2c1c;(function(_0x3ac241,_0x2b6707){const _0x5a7f32=a18_0x2c1c,_0x55f2fd=_0x3ac241();while(!![]){try{const _0x31e890=parseInt(_0x5a7f32(0x12d))/0x1*(parseInt(_0x5a7f32(0x1e8))/0x2)+-parseInt(_0x5a7f32(0x1b0))/0x3+-parseInt(_0x5a7f32(0x1f6))/0x4+parseInt(_0x5a7f32(0x178))/0x5+parseInt(_0x5a7f32(0x180))/0x6*(-parseInt(_0x5a7f32(0x12a))/0x7)+-parseInt(_0x5a7f32(0x217))/0x8+parseInt(_0x5a7f32(0x1af))/0x9;if(_0x31e890===_0x2b6707)break;else _0x55f2fd['push'](_0x55f2fd['shift']());}catch(_0x2bbfd9){_0x55f2fd['push'](_0x55f2fd['shift']());}}}(a18_0x3045,0x6c1fe));const a18_0xd4878d=(function(){let _0x357882=!![];return function(_0x41abb4,_0x1db20a){const _0x5463ad=_0x357882?function(){if(_0x1db20a){const _0x31636c=_0x1db20a['apply'](_0x41abb4,arguments);return _0x1db20a=null,_0x31636c;}}:function(){};return _0x357882=![],_0x5463ad;};}()),a18_0x41df67=a18_0xd4878d(this,function(){const _0x439493=a18_0x2c1c;return a18_0x41df67[_0x439493(0x1b7)]()[_0x439493(0x1a7)]('(((.+)+)+)+$')[_0x439493(0x1b7)]()['constructor'](a18_0x41df67)[_0x439493(0x1a7)](_0x439493(0x1ad));});a18_0x41df67();function a18_0x2c1c(_0x5e34bf,_0x4928b5){const _0x902bb8=a18_0x3045();return a18_0x2c1c=function(_0x41df67,_0xd4878d){_0x41df67=_0x41df67-0x10d;let _0x304504=_0x902bb8[_0x41df67];return _0x304504;},a18_0x2c1c(_0x5e34bf,_0x4928b5);}'use strict';var __classPrivateFieldSet=this&&this[a18_0xc40e0c(0x181)]||function(_0x229f75,_0x3163a0,_0xaca138,_0xebd02d,_0x2b5787){const _0x581c7d=a18_0xc40e0c;if(_0xebd02d==='m')throw new TypeError(_0x581c7d(0x121));if(_0xebd02d==='a'&&!_0x2b5787)throw new TypeError('Private\x20accessor\x20was\x20defined\x20without\x20a\x20setter');if(typeof _0x3163a0===_0x581c7d(0x1ab)?_0x229f75!==_0x3163a0||!_0x2b5787:!_0x3163a0['has'](_0x229f75))throw new TypeError(_0x581c7d(0x123));return _0xebd02d==='a'?_0x2b5787[_0x581c7d(0x1db)](_0x229f75,_0xaca138):_0x2b5787?_0x2b5787[_0x581c7d(0x1f5)]=_0xaca138:_0x3163a0['set'](_0x229f75,_0xaca138),_0xaca138;},__classPrivateFieldGet=this&&this[a18_0xc40e0c(0x20b)]||function(_0x5132bd,_0x258e53,_0x57c242,_0x41f062){const _0x2cd572=a18_0xc40e0c;if(_0x57c242==='a'&&!_0x41f062)throw new TypeError(_0x2cd572(0x1bf));if(typeof _0x258e53==='function'?_0x5132bd!==_0x258e53||!_0x41f062:!_0x258e53[_0x2cd572(0x15a)](_0x5132bd))throw new TypeError(_0x2cd572(0x12c));return _0x57c242==='m'?_0x41f062:_0x57c242==='a'?_0x41f062['call'](_0x5132bd):_0x41f062?_0x41f062['value']:_0x258e53[_0x2cd572(0x201)](_0x5132bd);},_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;function a18_0x3045(){const _0x28bced=['./agent-logger','pipeLogs','12HwvGCC','__classPrivateFieldSet','inspect','./config','length','isLambda','GAE_MINOR_VERSION','./controller','pipingStatus','cwd','debuggee','normalizeConfig','createPerBreakpointConditionQuota','action','setPatterns','logMainConfigParams','packageInfo','RedactionManagerRE2JS','...\x20[truncated]','breakpointUpdateIntervalSec','errors','Unique\x20ID\x20for\x20this\x20Application:\x20','LOG','ignoreQuota','backoff','source-context.json','Switching\x20globalPiping\x20status\x20from\x20','selectFiles','allowRootAsWorkingDirectory','split','map','Agent\x20log\x20level\x20is\x20switched\x20to\x20DEBUG','remotelyDisabled','to\x20avoid\x20a\x20scan\x20of\x20the\x20entire\x20filesystem\x20for\x20JavaScript\x20files.\x20','values','set','Working\x20directory:\x20','forEach','isAtLeastInfo','search','blacklist','collectLogRequestId','SIGTERM','function','getInitialLevel','(((.+)+)+)+$','agentLog','18349416JqcAoy','2513970ZGlqOf','Debuglet','./debuglet-helpers/normalizeConfig','isReadyManager','normalize','create','waitExpired','toString','Noting\x20to\x20stop,\x20agent\x20is\x20not\x20running','resolve','getClientConnectionTimeoutInSeconds','agentLogLevel','findFiles','\x0a\x09expressions:\x20','breakpoint_set','Private\x20accessor\x20was\x20defined\x20without\x20a\x20getter','type','name','\x20caseInsensitive:\x20','Malformed\x20source-context.json\x20file:\x20','promise','getProps','debuglet','EventEmitter','Blacklist:\x20\x0a\x09','status','./io/file-index','getSourceContextFromFile','createTime','Expiring\x20breakpoint\x20id\x20','parameters','Server\x20breakpoints:\x0a','quotaRecoverySeconds','listBreakpoints','warn','createLogger','breakpoints_fetch_failed','remainingHits','Controller','scheduleBreakpointFetch_\x20','expirationTime','Stopping\x20Debuglet','then','call','promiseResolve','REDACTED_PLACEHOLDER','path','Breakpoint','disable','events','\x09Got\x20error\x20from\x20server.\x20status:\x20','Registered\x20as\x20debuggee:\x20','bind','join','Fetching\x20breakpoints','getBlocklist','32492GJCwDm','register\x20debuggee','./io/sourcemapper','filename','selectStats','StatusMessage','Found\x20breakpoint\x20with\x20invalid\x20action:','logLevel','enable','Breakpoint\x20hit!:\x20breakpoint\x20id:\x20','register','registration_failed','once','value','908500OztOJH','expirationSeconds','waitForTransmissionQueueDrain','AGENT_LOG_FILE','setIgnoreQuota','internal','mapSubtract','.\x20message:\x20','\x09Got\x20error\x20from\x20server\x20when\x20fetching\x20breakpoints.\x20status:\x20','sendAgentLogsToServer','UNSPECIFIED','get','maxRequestRetryDelaySeconds','\x09updating\x20breakpoint\x20data\x20on\x20server\x20(no\x20errors)\x20for','Ignoring\x20request\x20to\x20collect\x20logs\x20with\x20id\x20','promisify','\x09Long\x20poll\x20completed.','breakpoints_fetch_registration_required','wait','./debuglet-helpers/createDebuggee','pid','__classPrivateFieldGet','debug','filter','jsFileIndex','\x20to\x20','mapFiles','re-register\x20debuggee\x20','unref','stop','The\x20working\x20directory\x20is\x20a\x20root\x20directory.\x20Disabling\x20','pattern','shouldRedactByName','2554128dbJPxP','Lightrun\x20Debugger\x20is\x20attached\x20to\x20','\x09adding\x20breakpoint','error','isRunning','NOT_SET','keys','location','enqueueBreakpointUpdate','now','hash','stringify','./blocklisting/patterns-blocklist-manager','\x09remove\x20breakpoint\x20id\x20','activeBreakpointMap','workingDirectory','isRegistered','condition','addAndPipeLog','start','logs\x20path\x20not\x20defined\x20or\x20log\x20file\x20does\x20not\x20exits','isReady','config','globalPipingStatus','\x09Invalid\x20list\x20response:\x20empty\x20body.\x20Retrying\x20in\x20','mainModule','add','sourceContext','setPipingStatus','Private\x20method\x20is\x20not\x20writable','Scanner','Cannot\x20write\x20private\x20member\x20to\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','format','.\x20Error:\x20','Unknown\x20agentLogLevel\x20','description','logger','ConfigurationProvider','2282399mZFcmL','fetchBreakpointsOnce','Cannot\x20read\x20private\x20member\x20from\x20an\x20object\x20whose\x20class\x20did\x20not\x20declare\x20it','6Rtcccr','setBlocklistManager','Debuggee\x20is\x20not\x20registered','):\x20pattern:\x20','clientConnectionTimeoutInSeconds','caseInsensitive','./reduction/redaction-manager-re2js','PatternsBlocklistManager','removeBreakpoint','breakpointExpirationSec','./util/utils','extraPaths','breakpoints_fetched','blacklist_exception','initError','getLevel','createDebuggee','collectAndSendLog','./piping-manager','sep','rejecting\x20breakpoint\x20id\x20','\x20accepted\x20by\x20agent','./debuglet-helpers/mapSubtract','quotaCheck','CachedPromise','isArray','message','Unable\x20to\x20serialize\x20breakpoint\x20for\x20log.\x20Returning\x20breakpoint\x20id.','stringifyBreakpointForInfoLog','LOGPOINT:\x20','assert','reporting\x20breakpoint\x20','FileIndex','\x20completed.','utf8','Starting\x20debuggee','emit','\x09successfully\x20added\x20breakpoint\x20id\x20','scan','deregister','removeListener','EnvironmentMetadata','env','Failed\x20to\x20','fromFileStats','has','prettyError','./reduction/redaction-manager','waitFor','agentLogTargetDir','replace','./io/scanner','pipingManager','setCustomLogLevel','all','clear','Active\x20Breakpoints:\x20\x0a','info','Agent\x20log\x20level\x20is\x20switched\x20to\x20default\x20(','breakpoints','agentLogMaxFileCount','extend','.\x20Retrying\x20in\x20','line','Registering\x20debuggee','breakpoint\x20id:\x20%s,\x0a\x09type:\x20%s\x0a\x09location:\x20%s','existsSync','Debuglet\x20not\x20running','object','log','../types/stackdriver','expressions','../client/stackdriver/status-message','SIGINT','./debuglet-helpers/format','1715365BHxUCk','CAPTURE','\x20because\x20','default','fetcherActive','Error\x20scanning\x20the\x20filesystem.'];a18_0x3045=function(){return _0x28bced;};return a18_0x3045();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a18_0xc40e0c(0x1b1)]=exports[a18_0xc40e0c(0x145)]=void 0x0;const assert=require(a18_0xc40e0c(0x14b)),events_1=require(a18_0xc40e0c(0x1e1)),extend=require(a18_0xc40e0c(0x16a)),fs=require('fs'),path=require(a18_0xc40e0c(0x1de)),util=require('util'),status_message_1=require(a18_0xc40e0c(0x175)),stackdriver_1=require(a18_0xc40e0c(0x173)),agent_logger_1=require(a18_0xc40e0c(0x17e)),patterns_blocklist_manager_1=require(a18_0xc40e0c(0x110)),config_1=require(a18_0xc40e0c(0x183)),configuration_provider_1=require('./configuration-provider'),controller_1=require(a18_0xc40e0c(0x187)),createDebuggee_1=require(a18_0xc40e0c(0x209)),format_1=require(a18_0xc40e0c(0x177)),mapSubtract_1=require(a18_0xc40e0c(0x143)),normalizeConfig_1=require(a18_0xc40e0c(0x1b2)),environment_metadata_1=require('./environment-metadata'),file_index_1=require(a18_0xc40e0c(0x1ca)),scanner_1=require(a18_0xc40e0c(0x160)),SourceMapper=require(a18_0xc40e0c(0x1ea)),piping_manager_1=require(a18_0xc40e0c(0x13f)),quota_manager_1=require('./quota-manager'),redaction_manager_1=require(a18_0xc40e0c(0x15c)),utils_1=require(a18_0xc40e0c(0x137)),debugapi=require('./v8/debugapi'),redaction_manager_re2js_1=require(a18_0xc40e0c(0x133)),readFilep=util[a18_0xc40e0c(0x205)](fs['readFile']),PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS=(0x28+0x21c)/0x2*0x3e8,BREAKPOINT_LOG_MAX_CHARS=0x3e8,formatBreakpoint=(_0x32fb45,_0x5f97aa)=>{const _0x276a24=a18_0xc40e0c;let _0x11a067=_0x32fb45+util[_0x276a24(0x124)](_0x276a24(0x16e),_0x5f97aa['id'],_0x5f97aa[_0x276a24(0x18d)],util[_0x276a24(0x182)](_0x5f97aa[_0x276a24(0x21e)]));if(_0x5f97aa[_0x276a24(0x1cc)]){const _0x58fe37=Number(_0x5f97aa[_0x276a24(0x1cc)]['seconds']),_0x380cf4=new Date(_0x58fe37*0x3e8);_0x11a067+='\x0a\x09createdTime:\x20'+_0x380cf4['toString']();}return _0x5f97aa[_0x276a24(0x115)]&&(_0x11a067+='\x0a\x09condition:\x20'+util['inspect'](_0x5f97aa[_0x276a24(0x115)])),_0x5f97aa[_0x276a24(0x174)]&&(_0x11a067+=_0x276a24(0x1bd)+util[_0x276a24(0x182)](_0x5f97aa['expressions'])),_0x11a067;},formatBreakpoints=(_0x3f0444,_0x283326)=>_0x3f0444+Object[a18_0xc40e0c(0x21d)](_0x283326)[a18_0xc40e0c(0x19e)](_0x496475=>formatBreakpoint('',_0x283326[_0x496475]))[a18_0xc40e0c(0x1e5)]('\x0a');class CachedPromise{constructor(){const _0x999532=a18_0xc40e0c;this[_0x999532(0x1dc)]=null,this['promise']=new Promise(_0x4fcf26=>{this['promiseResolve']=_0x4fcf26;});}[a18_0xc40e0c(0x201)](){const _0x2bb6ce=a18_0xc40e0c;return this[_0x2bb6ce(0x1c4)];}['resolve'](){const _0x3055b2=a18_0xc40e0c;this[_0x3055b2(0x1dc)]&&(this[_0x3055b2(0x1dc)](),this['promiseResolve']=null);}}exports[a18_0xc40e0c(0x145)]=CachedPromise;class IsReadyImpl{constructor(_0x386492){const _0x1ef487=a18_0xc40e0c;this[_0x1ef487(0x1c6)]=_0x386492;}[a18_0xc40e0c(0x119)](){const _0x14b680=a18_0xc40e0c;return this['debuglet'][_0x14b680(0x119)]();}}class Debuglet extends events_1[a18_0xc40e0c(0x1c7)]{constructor(_0x1bc060,_0x258e49){const _0x644fe=a18_0xc40e0c;super(),_Debuglet_instances[_0x644fe(0x11e)](this),_Debuglet_debug[_0x644fe(0x1a3)](this,void 0x0),_Debuglet_v8debug[_0x644fe(0x1a3)](this,void 0x0),_Debuglet_running['set'](this,void 0x0),_Debuglet_controller['set'](this,void 0x0),_Debuglet_completedBreakpointMap[_0x644fe(0x1a3)](this,void 0x0),_Debuglet_breakpointFetchedTimestamp[_0x644fe(0x1a3)](this,void 0x0),_Debuglet_breakpointFetched[_0x644fe(0x1a3)](this,void 0x0),_Debuglet_debuggeeRegistered[_0x644fe(0x1a3)](this,void 0x0),_Debuglet_nextEnableTimeout[_0x644fe(0x1a3)](this,null),this[_0x644fe(0x1b3)]=new IsReadyImpl(this),_Debuglet_debuggeEnvironmentProperties[_0x644fe(0x1a3)](this,void 0x0),_Debuglet_scanner[_0x644fe(0x1a3)](this,void 0x0),_Debuglet_quotaManager[_0x644fe(0x1a3)](this,void 0x0),_Debuglet_blocklistManager[_0x644fe(0x1a3)](this,void 0x0),_Debuglet_redactionManager[_0x644fe(0x1a3)](this,void 0x0),_Debuglet_configProvider[_0x644fe(0x1a3)](this,void 0x0),_Debuglet_clientConnectionTimeoutInSeconds['set'](this,void 0x0),this[_0x644fe(0x11a)]=(0x0,normalizeConfig_1[_0x644fe(0x18b)])(_0x258e49),__classPrivateFieldSet(this,_Debuglet_configProvider,new configuration_provider_1[(_0x644fe(0x129))](this[_0x644fe(0x11a)]),'f'),__classPrivateFieldSet(this,_Debuglet_debug,_0x1bc060,'f'),__classPrivateFieldSet(this,_Debuglet_v8debug,null,'f'),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['fetcherActive']=![],this[_0x644fe(0x128)]=agent_logger_1[_0x644fe(0x17b)][_0x644fe(0x1d3)](this['config']['agentLog'][_0x644fe(0x15e)],this[_0x644fe(0x11a)][_0x644fe(0x1ae)]['agentLogMaxFileSizeMb'],this['config'][_0x644fe(0x1ae)][_0x644fe(0x169)],this['config'][_0x644fe(0x1ae)][_0x644fe(0x1bb)],this[_0x644fe(0x11a)][_0x644fe(0x1ae)]['stdErrThreshold']),(0x0,config_1[_0x644fe(0x18f)])(this['config'],this[_0x644fe(0x128)]),__classPrivateFieldSet(this,_Debuglet_debuggeEnvironmentProperties,new environment_metadata_1[(_0x644fe(0x156))](this[_0x644fe(0x128)])[_0x644fe(0x1c5)](),'f'),__classPrivateFieldSet(this,_Debuglet_controller,new controller_1[(_0x644fe(0x1d6))](__classPrivateFieldGet(this,_Debuglet_debug,'f'),this['config'],this[_0x644fe(0x128)]),'f'),__classPrivateFieldSet(this,_Debuglet_scanner,new scanner_1[(_0x644fe(0x122))](this[_0x644fe(0x128)]),'f'),this['debuggee']=null,this[_0x644fe(0x112)]={},__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['QuotaManager'](this[_0x644fe(0x128)],this[_0x644fe(0x11a)]),'f'),this[_0x644fe(0x161)]=new piping_manager_1['PipingManager']('APP_ONLY',__classPrivateFieldGet(this,_Debuglet_controller,'f'),this['config']);}async[a18_0xc40e0c(0x1f8)](_0xf5915a){return __classPrivateFieldGet(this,_Debuglet_controller,'f')['waitForTransmissionQueueDrain'](_0xf5915a);}[a18_0xc40e0c(0x1ba)](){return __classPrivateFieldGet(this,_Debuglet_clientConnectionTimeoutInSeconds,'f');}async['waitForBreakpoints'](_0x1c2f0a){const _0x4cb156=a18_0xc40e0c,_0x9a68c3=0x32;let _0x56ba0e=null;const _0x23c6b3=()=>_0x56ba0e=!![],_0x114d45=()=>_0x56ba0e=![],_0x46555b=_0x458756=>{if(_0x458756)return;_0x23c6b3();};let _0x3c08c0=![];const _0x29d285=_0x1075e8=>{const _0x33f70b=a18_0x2c1c;_0x3c08c0&&_0x114d45(),_0x3c08c0=!![],this[_0x33f70b(0x1f2)]();};this[_0x4cb156(0x1f4)]('breakpoints_fetched',_0x46555b),this[_0x4cb156(0x1f4)](_0x4cb156(0x1be),_0x23c6b3);this[_0x4cb156(0x11a)][_0x4cb156(0x1fb)]?.['isLambda']&&(this['once'](_0x4cb156(0x1f3),_0x114d45),this[_0x4cb156(0x1f4)](_0x4cb156(0x1d4),_0x114d45),this[_0x4cb156(0x1f4)](_0x4cb156(0x207),_0x29d285));if(_0x1c2f0a){const _0x3c171d=Date['now']();while(_0x56ba0e===null&&Date[_0x4cb156(0x10d)]()-_0x3c171d<_0x1c2f0a){await(0x0,utils_1[_0x4cb156(0x15d)])(_0x9a68c3);}}return this[_0x4cb156(0x155)](_0x4cb156(0x139),_0x46555b),this[_0x4cb156(0x155)](_0x4cb156(0x1be),_0x23c6b3),this[_0x4cb156(0x11a)]['internal']?.[_0x4cb156(0x185)]&&(this['removeListener'](_0x4cb156(0x1f3),_0x114d45),this[_0x4cb156(0x155)]('breakpoints_fetch_failed',_0x114d45),this[_0x4cb156(0x155)](_0x4cb156(0x207),_0x29d285)),_0x56ba0e===!![];}[a18_0xc40e0c(0x12b)](){const _0x5ad63f=a18_0xc40e0c;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x5ad63f(0x1db)](this,0x0,!![]);}[a18_0xc40e0c(0x114)](){const _0x36a261=a18_0xc40e0c;return this[_0x36a261(0x18a)]?.['id']!==undefined;}async[a18_0xc40e0c(0x1bc)](_0x28d039,_0x48bdc0){const _0x508006=a18_0xc40e0c,_0x3942e2=_0x28d039['workingDirectory'],_0x531b87=await __classPrivateFieldGet(this,_Debuglet_scanner,'f')[_0x508006(0x153)](_0x3942e2,__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x508006(0x1db)](_a,_0x28d039['javascriptFileExtensions']['concat']('js.map')),_0x48bdc0,_0x28d039[_0x508006(0x138)]),_0x2efe04=_0x531b87[_0x508006(0x1ec)](__classPrivateFieldGet(_a,_a,'m',_Debuglet_buildRegExp)[_0x508006(0x1db)](_a,_0x28d039['javascriptFileExtensions'])),_0x3a093f=file_index_1[_0x508006(0x14d)][_0x508006(0x159)](_0x2efe04),_0x584b2a=_0x531b87[_0x508006(0x19b)](/.js.map$/,process[_0x508006(0x189)]()),_0x1bd20a=_0x531b87[_0x508006(0x194)]();return{'mapFiles':_0x584b2a,'errors':_0x1bd20a,'jsFileIndex':_0x3a093f,'hash':_0x531b87[_0x508006(0x10e)]};}async[a18_0xc40e0c(0x117)](){const _0xb265eb=a18_0xc40e0c,_0x1d4a8d=this[_0xb265eb(0x11a)][_0xb265eb(0x113)];if(!this[_0xb265eb(0x11a)][_0xb265eb(0x19c)]&&path[_0xb265eb(0x1e5)](_0x1d4a8d,'..')===_0x1d4a8d){const _0x4626a0=_0xb265eb(0x214)+_0xb265eb(0x1a1)+'Use\x20config\x20`allowRootAsWorkingDirectory`\x20if\x20you\x20really\x20want\x20to\x20'+'do\x20this.';this[_0xb265eb(0x128)][_0xb265eb(0x21a)](_0x4626a0),this['emit'](_0xb265eb(0x13b),new Error(_0x4626a0));return;}let _0x47f230;process[_0xb265eb(0x157)][_0xb265eb(0x186)]&&(_0x47f230='GAE-'+process['env']['GAE_MINOR_VERSION']);let _0x32fd79,_0x6f00ae=_0x47f230??'';try{_0x32fd79=await this[_0xb265eb(0x1bc)](this['config'],_0x47f230),_0x32fd79[_0xb265eb(0x194)][_0xb265eb(0x1a5)](this[_0xb265eb(0x128)][_0xb265eb(0x1d2)]);}catch(_0x447edc){this[_0xb265eb(0x128)][_0xb265eb(0x21a)](_0xb265eb(0x17d),_0x447edc),this[_0xb265eb(0x151)](_0xb265eb(0x13b),_0x447edc);return;}try{const _0x296596=await SourceMapper[_0xb265eb(0x1b5)](this[_0xb265eb(0x128)],_0x32fd79[_0xb265eb(0x210)],this['config'][_0xb265eb(0x1fb)]?.['sourceMapDiagnostics']);__classPrivateFieldSet(this,_Debuglet_v8debug,debugapi[_0xb265eb(0x1b5)](this['logger'],this[_0xb265eb(0x11a)],_0x32fd79[_0xb265eb(0x20e)],_0x296596,__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')),'f'),_0x6f00ae=_0x47f230??_0x32fd79['hash'];}catch(_0x265e75){this[_0xb265eb(0x128)][_0xb265eb(0x21a)]('Error\x20processing\x20the\x20sourcemaps.',_0x265e75),this[_0xb265eb(0x128)][_0xb265eb(0x166)](JSON[_0xb265eb(0x10f)](_0x265e75)),this[_0xb265eb(0x151)](_0xb265eb(0x13b),_0x265e75);}this['logger'][_0xb265eb(0x166)](_0xb265eb(0x195)+_0x6f00ae);const _0x5cfc54=(0x0,utils_1['readFullVersion'])(this[_0xb265eb(0x128)])[_0xb265eb(0x15f)]('\x0a','');this[_0xb265eb(0x128)][_0xb265eb(0x166)]('Initializing\x20Node.js\x20agent\x20version:\x20'+_0x5cfc54);let _0x2ba847;try{_0x2ba847=this['config'][_0xb265eb(0x11f)]||await _a[_0xb265eb(0x1cb)]();}catch{}this[_0xb265eb(0x128)][_0xb265eb(0x166)](_0xb265eb(0x218)+process[_0xb265eb(0x11d)]?.[_0xb265eb(0x1eb)]),this[_0xb265eb(0x128)]['debug'](_0xb265eb(0x1a4)+_0x1d4a8d),this['logger'][_0xb265eb(0x20c)](_0xb265eb(0x150)),__classPrivateFieldSet(this,_Debuglet_running,!![],'f'),this['debuggee']=(0x0,createDebuggee_1[_0xb265eb(0x13d)])(_0x6f00ae,this[_0xb265eb(0x11a)],_0x2ba847,__classPrivateFieldGet(this,_Debuglet_debug,'f')[_0xb265eb(0x190)],_0x5cfc54,this['logger'],__classPrivateFieldGet(this,_Debuglet_debuggeEnvironmentProperties,'f'),undefined),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_registerSignals)[_0xb265eb(0x1db)](this),this[_0xb265eb(0x1f2)](),this['emit']('started');}['isReady'](){const _0x32ac53=a18_0xc40e0c;if(Date[_0x32ac53(0x10d)]()<__classPrivateFieldGet(this,_Debuglet_breakpointFetchedTimestamp,'f')+PROMISE_RESOLVE_CUT_OFF_IN_MILLISECONDS)return Promise[_0x32ac53(0x1b9)]();else{if(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f'))return __classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x32ac53(0x201)]();return __classPrivateFieldSet(this,_Debuglet_breakpointFetched,new CachedPromise(),'f'),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x32ac53(0x201)]()[_0x32ac53(0x1da)](()=>{const _0x2d0aa7=_0x32ac53;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x2d0aa7(0x1db)](this,0x0,!![]);}),__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x32ac53(0x201)]();}}static async['getSourceContextFromFile'](){const _0x5020ec=a18_0xc40e0c,_0x1ddde5=await readFilep(_0x5020ec(0x199),_0x5020ec(0x14f));try{return JSON['parse'](_0x1ddde5);}catch(_0x750911){throw new Error(_0x5020ec(0x1c3)+_0x750911);}}[a18_0xc40e0c(0x1f2)](){const _0x481391=a18_0xc40e0c;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)[_0x481391(0x1db)](this,0x0);}[a18_0xc40e0c(0x21b)](){return __classPrivateFieldGet(this,_Debuglet_running,'f');}[a18_0xc40e0c(0x213)](){const _0x276019=a18_0xc40e0c;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){this[_0x276019(0x128)]['debug'](_0x276019(0x1b8));return;}this[_0x276019(0x128)]['debug'](_0x276019(0x1d9)),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&(clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f')),__classPrivateFieldGet(this,_Debuglet_controller,'f')?.[_0x276019(0x213)](),__classPrivateFieldSet(this,_Debuglet_running,![],'f'),this['emit']('stopped');}[a18_0xc40e0c(0x149)](_0x22c8eb){const _0x1ef9fa=a18_0xc40e0c;if(!this['logger'][_0x1ef9fa(0x1a6)]())return _0x22c8eb['id'];try{const _0x5e3d08=JSON['stringify'](_0x22c8eb);if(_0x5e3d08['length']<=BREAKPOINT_LOG_MAX_CHARS)return _0x5e3d08;return _0x5e3d08['substring'](0x0,BREAKPOINT_LOG_MAX_CHARS)+_0x1ef9fa(0x192);}catch(_0x3fc299){return this[_0x1ef9fa(0x128)]['error'](_0x1ef9fa(0x148),_0x3fc299),_0x22c8eb['id'];}}[a18_0xc40e0c(0x162)](_0x564ec1){const _0x45acfa=a18_0xc40e0c,_0xcc27a4=this[_0x45acfa(0x128)][_0x45acfa(0x1ac)]();if(_0xcc27a4===_0x45acfa(0x20c))return;switch(_0x564ec1){case'DEBUG':this['logger']['getLevel']()!==_0x45acfa(0x20c)&&(this[_0x45acfa(0x128)]['setLevel'](_0x45acfa(0x20c)),this[_0x45acfa(0x128)]['debug'](_0x45acfa(0x19f)));break;case'NOT_SET':case undefined:this[_0x45acfa(0x128)][_0x45acfa(0x13c)]()===_0x45acfa(0x20c)&&(this[_0x45acfa(0x128)]['setLevel'](_0xcc27a4),this[_0x45acfa(0x128)][_0x45acfa(0x166)](_0x45acfa(0x167)+_0xcc27a4+')'));break;default:this[_0x45acfa(0x128)][_0x45acfa(0x1d2)](_0x45acfa(0x126)+_0x564ec1);}}}exports[a18_0xc40e0c(0x1b1)]=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(_0x183387){const _0x47a43e=a18_0xc40e0c;return new RegExp(_0x183387[_0x47a43e(0x19e)](_0x5088a6=>_0x5088a6+'$')[_0x47a43e(0x1e5)]('|'));},_Debuglet_registerSignals=function _Debuglet_registerSignals(){const _0x5ca835=a18_0xc40e0c,_0x23d9f7=[_0x5ca835(0x1aa),_0x5ca835(0x176),'SIGQUIT'];_0x23d9f7[_0x5ca835(0x1a5)](_0x289b71=>{process['once'](_0x289b71,()=>{const _0x4b1aae=a18_0x2c1c;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4b1aae(0x154)](this[_0x4b1aae(0x18a)],()=>{const _0x4c9f82=_0x4b1aae;process['kill'](process[_0x4c9f82(0x20a)],_0x289b71);});});}),process[_0x5ca835(0x1f4)]('beforeExit',()=>{const _0x4a531c=_0x5ca835;__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x4a531c(0x154)](this[_0x4a531c(0x18a)],()=>{});});},_Debuglet_scheduleRegistration_=function _Debuglet_scheduleRegistration_(_0x4a262d){const _0x257711=a18_0xc40e0c;this[_0x257711(0x128)]['debug'](_0x4a262d?'Scheduling\x20registration\x20in\x20'+_0x4a262d+'s':_0x257711(0x16d));const _0x7c802d=(_0x1ffda8,_0xfb09ca,_0x148752=![])=>{const _0x50e03f=_0x257711;this[_0x50e03f(0x151)]('registration_failed');const _0x2cad88=this['debuggee']?.['id'],_0x4993eb=_0x2cad88?_0x50e03f(0x211)+_0x2cad88:_0x50e03f(0x1e9),_0x1eb806=_0x50e03f(0x158)+_0x4993eb+':\x20'+(0x0,utils_1[_0x50e03f(0x15b)])(_0x1ffda8);this[_0x50e03f(0x128)][_0x50e03f(0x21a)](_0x1eb806),_0xfb09ca&&!_0x148752&&this[_0x50e03f(0x128)]['error']('Result:\x20\x0a',_0xfb09ca),!this[_0x50e03f(0x11a)][_0x50e03f(0x1fb)]?.['isLambda']&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleRegistration_)['call'](this,(0x0,utils_1[_0x50e03f(0x198)])(_0x4a262d,this[_0x50e03f(0x11a)][_0x50e03f(0x1fb)][_0x50e03f(0x202)]));};setTimeout(()=>{const _0x4cf8be=_0x257711;if(!__classPrivateFieldGet(this,_Debuglet_running,'f')){_0x7c802d(new Error(_0x4cf8be(0x170)));return;}__classPrivateFieldGet(this,_Debuglet_controller,'f')['register'](this[_0x4cf8be(0x18a)],(_0x2bdf7a,_0x263157,_0x4d842a=![])=>{const _0x2482f0=_0x4cf8be;if(_0x2bdf7a){_0x7c802d(_0x2bdf7a,_0x263157,_0x4d842a);return;}if(_0x263157['debuggee']['isDisabled']){_0x7c802d(new Error('Disabled\x20by\x20the\x20server')),this[_0x2482f0(0x151)](_0x2482f0(0x1a0));return;}const _0x1dd19d=_0x263157[_0x2482f0(0x18a)]['id'];this[_0x2482f0(0x128)][_0x2482f0(0x166)](_0x2482f0(0x1e3)+_0x1dd19d),this[_0x2482f0(0x18a)]['id']=_0x1dd19d;const _0xfcd0f=[__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getBlocklist)[_0x2482f0(0x1e4)](this)(this[_0x2482f0(0x18a)]['id'])];this['config']['redactionEnabled']&&_0xfcd0f['push'](__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getRedactions)[_0x2482f0(0x1e4)](this)(this[_0x2482f0(0x18a)]['id'])),Promise[_0x2482f0(0x163)](_0xfcd0f)[_0x2482f0(0x1da)](()=>{const _0x3765d2=_0x2482f0;this[_0x3765d2(0x151)]('registered',_0x1dd19d),__classPrivateFieldGet(this,_Debuglet_debuggeeRegistered,'f')[_0x3765d2(0x1b9)](),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x3765d2(0x12e)](__classPrivateFieldGet(this,_Debuglet_blocklistManager,'f')),__classPrivateFieldSet(this,_Debuglet_clientConnectionTimeoutInSeconds,_0x263157?.[_0x3765d2(0x131)],'f'),!this[_0x3765d2(0x17c)]&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x3765d2(0x1db)](this,0x0,this[_0x3765d2(0x11a)][_0x3765d2(0x12b)],_0x263157?.[_0x3765d2(0x131)]);},_0x17922e=>{_0x7c802d(_0x17922e);});});},_0x4a262d*0x3e8)[_0x257711(0x212)]();},_Debuglet_scheduleBreakpointFetch_=function _Debuglet_scheduleBreakpointFetch_(_0x37209a,_0x572e3b,_0x148590){const _0x5060cc=a18_0xc40e0c;this[_0x5060cc(0x128)]['debug'](_0x5060cc(0x1d7)+_0x37209a+'\x20'+_0x572e3b+'\x20'+_0x148590),!_0x572e3b&&(this[_0x5060cc(0x17c)]=!![]),setTimeout(()=>{const _0x445deb=_0x5060cc;if(!__classPrivateFieldGet(this,_Debuglet_running,'f'))return;!_0x572e3b&&assert(this['fetcherActive']),this[_0x445deb(0x128)][_0x445deb(0x20c)](_0x445deb(0x1e6)),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x445deb(0x1d1)](this[_0x445deb(0x18a)],(_0x43f6e7,_0x137b8c,_0x731c1a)=>{const _0x16532e=_0x445deb;if(_0x731c1a?.['status']===0x194){this['logger'][_0x16532e(0x166)](_0x16532e(0x12f)),this['fetcherActive']=![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updatePromise)[_0x16532e(0x1db)](this);this[_0x16532e(0x11a)][_0x16532e(0x1fb)]?.[_0x16532e(0x185)]?this['emit'](_0x16532e(0x207)):this[_0x16532e(0x1f2)]();return;}if(_0x43f6e7){if(this[_0x16532e(0x11a)]['internal']?.[_0x16532e(0x185)])this[_0x16532e(0x151)]('breakpoints_fetch_failed'),this[_0x16532e(0x128)][_0x16532e(0x21a)](_0x16532e(0x1fe)+_0x731c1a?.['status']+_0x16532e(0x1fd)+_0x43f6e7[_0x16532e(0x147)]);else{const _0x5ad2ca=(0x0,utils_1[_0x16532e(0x198)])(_0x37209a,this['config'][_0x16532e(0x1fb)]['maxRequestRetryDelaySeconds']);this['logger'][_0x16532e(0x21a)](_0x16532e(0x1e2)+_0x731c1a?.[_0x16532e(0x1c9)]+_0x16532e(0x1fd)+_0x43f6e7[_0x16532e(0x147)]+_0x16532e(0x16b)+_0x5ad2ca+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)['call'](this,_0x5ad2ca,_0x572e3b,_0x148590);}return;}this[_0x16532e(0x128)][_0x16532e(0x20c)]('\x09'+_0x731c1a[_0x16532e(0x1c9)]+_0x16532e(0x14e));if(!_0x137b8c){const _0x1fed52=this['config'][_0x16532e(0x193)];this[_0x16532e(0x128)]['error'](_0x16532e(0x11c)+_0x1fed52+'s'),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x16532e(0x1db)](this,_0x1fed52,_0x572e3b,_0x148590);return;}this[_0x16532e(0x162)](_0x137b8c[_0x16532e(0x1bb)]);if(_0x137b8c[_0x16532e(0x1b6)]){this[_0x16532e(0x128)][_0x16532e(0x166)](_0x16532e(0x206)),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x16532e(0x1db)](this,0x0,_0x572e3b,_0x148590);return;}if(_0x137b8c[_0x16532e(0x17f)]&&_0x137b8c['pipeLogs']!==_0x16532e(0x21c)){const _0x3b0959=this[_0x16532e(0x161)][_0x16532e(0x11b)];_0x3b0959!==_0x137b8c[_0x16532e(0x17f)]&&(this['logger']['debug'](_0x16532e(0x19a)+_0x3b0959+_0x16532e(0x20f)+_0x137b8c[_0x16532e(0x17f)]),this[_0x16532e(0x161)][_0x16532e(0x11b)]=_0x137b8c[_0x16532e(0x17f)]);}if(_0x137b8c[_0x16532e(0x13e)]&&_0x137b8c[_0x16532e(0x1a9)]!==this[_0x16532e(0x1a9)]){this['collectLogRequestId']=_0x137b8c['collectLogRequestId'];const _0x30356d=this[_0x16532e(0x11a)][_0x16532e(0x1ae)]['agentLogTargetDir']&&path['join'](this[_0x16532e(0x11a)][_0x16532e(0x1ae)][_0x16532e(0x15e)],agent_logger_1['default'][_0x16532e(0x1f9)]);_0x30356d&&fs[_0x16532e(0x16f)](_0x30356d)?setTimeout(()=>__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x16532e(0x1ff)](this[_0x16532e(0x18a)],_0x137b8c[_0x16532e(0x1a9)],_0x30356d)):this[_0x16532e(0x128)][_0x16532e(0x166)](_0x16532e(0x204)+_0x137b8c[_0x16532e(0x1a9)]+_0x16532e(0x17a)+_0x16532e(0x118));}const _0x25909b=(_0x137b8c[_0x16532e(0x168)]||[])[_0x16532e(0x19e)](_0x1ac8f3=>new stackdriver_1[(_0x16532e(0x1df))](_0x1ac8f3))[_0x16532e(0x20d)](_0x4add8c=>{const _0x64d078=_0x16532e,_0x5cfe8c=_0x4add8c[_0x64d078(0x18d)]??_0x64d078(0x179);if(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x4add8c['id']])return![];if(_0x5cfe8c!==_0x64d078(0x179)&&_0x5cfe8c!=='LOG')return this[_0x64d078(0x128)][_0x64d078(0x1d2)](_0x64d078(0x1ee),_0x5cfe8c),_0x4add8c[_0x64d078(0x1c9)]=new status_message_1['StatusMessage'](status_message_1[_0x64d078(0x1ed)][_0x64d078(0x200)],utils_1[_0x64d078(0x194)]['BREAKPOINT_ACTION_MESSAGE'],!![]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_rejectBreakpoint_)[_0x64d078(0x1db)](this,_0x4add8c),![];return!![];}),_0xfa11c1=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_getOldBreakpoints)[_0x16532e(0x1db)](this);let _0x5a4397=_0xfa11c1['length']>0x0;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_expireOldBreakpoints)[_0x16532e(0x1db)](this,_0xfa11c1),_0x5a4397=_0x5a4397||__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateActiveBreakpoints_)[_0x16532e(0x1db)](this,_0x25909b),this[_0x16532e(0x151)]('breakpoints_fetched',_0x25909b['length']);_0x5a4397&&this['logger']['debug'](formatBreakpoints(_0x16532e(0x165),this['activeBreakpointMap']));__classPrivateFieldSet(this,_Debuglet_breakpointFetchedTimestamp,Date[_0x16532e(0x10d)](),'f');_0x572e3b?__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')&&(__classPrivateFieldGet(this,_Debuglet_breakpointFetched,'f')[_0x16532e(0x1b9)](),__classPrivateFieldSet(this,_Debuglet_breakpointFetched,null,'f')):__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_scheduleBreakpointFetch_)[_0x16532e(0x1db)](this,0x0,_0x572e3b,_0x148590);return;},_0x148590);},_0x37209a*0x3e8)[_0x5060cc(0x212)]();},_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_(_0x2171ef){const _0x348d7b=a18_0xc40e0c,_0x401d86=__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_convertBreakpointListToMap_)[_0x348d7b(0x1db)](this,_0x2171ef);let _0x35f0bf=![];return _0x2171ef['forEach'](_0x213a32=>{const _0x49dc45=_0x348d7b;!__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x213a32['id']]&&!this[_0x49dc45(0x112)][_0x213a32['id']]&&(__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_addBreakpoint_)[_0x49dc45(0x1db)](this,_0x213a32,_0x198105=>{const _0x3e74e8=_0x49dc45;_0x198105&&__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x3e74e8(0x1db)](this,_0x213a32,!![],![]);}),_0x35f0bf=!![],__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x49dc45(0x18c)](_0x213a32['id'])),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x49dc45(0x1fa)](_0x213a32['id'],_0x213a32[_0x49dc45(0x197)]),this[_0x49dc45(0x161)][_0x49dc45(0x120)](_0x213a32['id'],_0x213a32[_0x49dc45(0x188)]);}),(0x0,mapSubtract_1['mapSubtract'])(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f'),_0x401d86)[_0x348d7b(0x1a5)](_0x4c366e=>{const {id:_0x567669}=_0x4c366e;delete __classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x567669],_0x35f0bf=!![];}),(0x0,mapSubtract_1[_0x348d7b(0x1fc)])(this[_0x348d7b(0x112)],_0x401d86)['forEach'](_0x31fda2=>{const _0xdf3ca=_0x348d7b;__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0xdf3ca(0x1db)](this,_0x31fda2,!![]),_0x35f0bf=!![];}),_0x35f0bf&&this[_0x348d7b(0x128)][_0x348d7b(0x20c)](formatBreakpoints(_0x348d7b(0x1cf),_0x401d86)),_0x35f0bf;},_Debuglet_convertBreakpointListToMap_=function _Debuglet_convertBreakpointListToMap_(_0x4edbd3){return Object['fromEntries'](_0x4edbd3['map'](_0x14cca3=>[_0x14cca3['id'],_0x14cca3]));},_Debuglet_removeBreakpoint_=function _Debuglet_removeBreakpoint_(_0x2ae731,_0x24bc14){const _0x4ccecc=a18_0xc40e0c;this[_0x4ccecc(0x128)][_0x4ccecc(0x166)](_0x4ccecc(0x111)+_0x2ae731['id']),__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')['removePerBreakpointQuota'](_0x2ae731['id']),this[_0x4ccecc(0x161)][_0x4ccecc(0x135)](_0x2ae731['id']),delete this[_0x4ccecc(0x112)][_0x2ae731['id']],_0x24bc14&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x4ccecc(0x164)](_0x2ae731,_0x4b7271=>{const _0x1badd2=_0x4ccecc;if(_0x4b7271)this[_0x1badd2(0x128)][_0x1badd2(0x21a)](_0x4b7271);});},_Debuglet_addBreakpoint_=function _Debuglet_addBreakpoint_(_0x2da923,_0x247227){const _0x5e3f17=a18_0xc40e0c;this[_0x5e3f17(0x128)][_0x5e3f17(0x166)](_0x5e3f17(0x219),this[_0x5e3f17(0x149)](_0x2da923));if(!this['config']['allowExpressions']&&(_0x2da923[_0x5e3f17(0x115)]||_0x2da923['expressions'])){this[_0x5e3f17(0x128)][_0x5e3f17(0x21a)](utils_1[_0x5e3f17(0x194)]['ALLOW_EXPRESSIONS_MESSAGE']['description']??''),_0x2da923['status']=new status_message_1['StatusMessage'](status_message_1[_0x5e3f17(0x1ed)][_0x5e3f17(0x200)],utils_1[_0x5e3f17(0x194)]['ALLOW_EXPRESSIONS_MESSAGE'],!![]),setImmediate(()=>{const _0x351ec2=_0x5e3f17;_0x247227(utils_1[_0x351ec2(0x194)]['ALLOW_EXPRESSIONS_MESSAGE']);});return;}const _0x278d5f=_0x2da923[_0x5e3f17(0x1cc)]?Number(_0x2da923[_0x5e3f17(0x1cc)]['seconds']):Date[_0x5e3f17(0x10d)]()/0x3e8,_0x3bbe0e=_0x2da923[_0x5e3f17(0x1f7)]??this[_0x5e3f17(0x11a)][_0x5e3f17(0x136)];_0x2da923[_0x5e3f17(0x1d8)]=_0x278d5f+_0x3bbe0e,_0x2da923[_0x5e3f17(0x21e)]?.[_0x5e3f17(0x1de)]&&(_0x2da923[_0x5e3f17(0x21e)]['path']=path[_0x5e3f17(0x1b4)](_0x2da923['location']['path']),path[_0x5e3f17(0x140)]===path['posix'][_0x5e3f17(0x140)]&&(_0x2da923[_0x5e3f17(0x21e)]['path']=_0x2da923[_0x5e3f17(0x21e)][_0x5e3f17(0x1de)][_0x5e3f17(0x19d)]('\x5c')[_0x5e3f17(0x1e5)](path['sep']))),__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x5e3f17(0x1a3)](_0x2da923,_0x139197=>{const _0x312612=_0x5e3f17;if(_0x139197){_0x247227(_0x139197);return;}this['logger']['info'](_0x312612(0x152)+_0x2da923['id']),this['activeBreakpointMap'][_0x2da923['id']]=_0x2da923,_0x2da923['action']===_0x312612(0x196)?__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x312612(0x172)](_0x2da923,(_0x150832,_0x18f14e)=>{const _0x14c766=_0x312612,_0x5a6039=_0x18f14e[_0x14c766(0x19e)](_0x407b8e=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x407b8e)),_0x52d950=(0x0,format_1['format'])(_0x150832,_0x5a6039),_0xdda11f='LOGPOINT:\x20'+(__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['replaceRedactedByValue'](_0x52d950)??_0x52d950),_0x702d86=__classPrivateFieldGet(this,_Debuglet_quotaManager,'f')[_0x14c766(0x144)](_0xdda11f,_0x2da923['id']);if(_0x702d86){const _0x405bc5=_0x702d86[_0x14c766(0x147)],{isOutOfQuota:_0x50cf3a}=_0x702d86;let _0x4831c8,_0x464649;!__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.['isRedactionActive']()&&!_0x50cf3a&&(_0x4831c8=_0x14c766(0x14a)+_0x150832,_0x464649=_0x5a6039);this[_0x14c766(0x161)][_0x14c766(0x116)](this[_0x14c766(0x18a)],_0x2da923['id'],_0x405bc5,_0x2da923[_0x14c766(0x1ef)],_0x4831c8,_0x464649);if(_0x50cf3a)__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x14c766(0x1e0)](),__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')&&clearTimeout(__classPrivateFieldGet(this,_Debuglet_nextEnableTimeout,'f')),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,setTimeout(()=>{const _0x30ee49=_0x14c766;__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x30ee49(0x1f0)](),__classPrivateFieldSet(this,_Debuglet_nextEnableTimeout,null,'f');},this[_0x14c766(0x11a)]['quota'][_0x14c766(0x1d0)]*0x3e8),'f');else _0x405bc5?.['length']===0x0&&__classPrivateFieldGet(this,_Debuglet_v8debug,'f')?.[_0x14c766(0x1e0)]();}},()=>__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x2da923['id']],_0x1d1a99=>{const _0x1df306=_0x312612;if(_0x1d1a99){this[_0x1df306(0x128)][_0x1df306(0x21a)](_0x1d1a99),_0x247227(_0x1d1a99);return;}}):__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x312612(0x208)](_0x2da923,_0x4aab02=>{const _0x2215f8=_0x312612;if(_0x4aab02){setImmediate(()=>{const _0x21029a=a18_0x2c1c;this[_0x21029a(0x128)]['error'](_0x4aab02),_0x247227(_0x4aab02);});return;}this[_0x2215f8(0x128)][_0x2215f8(0x166)](_0x2215f8(0x1f1)+_0x2da923['id'],_0x2da923[_0x2215f8(0x21e)]?.[_0x2215f8(0x1de)],_0x2da923[_0x2215f8(0x21e)]?.[_0x2215f8(0x16c)]),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_updateBreakpoint_)[_0x2215f8(0x1db)](this,_0x2da923,__classPrivateFieldGet(this,_Debuglet_v8debug,'f')[_0x2215f8(0x1d5)](_0x2da923['id'])<=0x0);}),__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_reportBreakpointAccepted_)[_0x312612(0x1db)](this,_0x2da923);}),this[_0x5e3f17(0x151)]('breakpoint_set');},_Debuglet_updateBreakpoint_=function _Debuglet_updateBreakpoint_(_0x52c6b8,_0x3e2dd5,_0x53a1e1=!![]){const _0x2421ff=a18_0xc40e0c;if(_0x52c6b8[_0x2421ff(0x1c9)]?.['isError']){let _0xcc22e0=_0x52c6b8['status']?.[_0x2421ff(0x127)]?.[_0x2421ff(0x124)]||'';_0x52c6b8[_0x2421ff(0x1c9)]?.[_0x2421ff(0x127)]?.[_0x2421ff(0x1ce)]&&(_0xcc22e0+=':\x20'+_0x52c6b8['status']?.[_0x2421ff(0x127)]?.['parameters'][_0x2421ff(0x1b7)]()),this[_0x2421ff(0x128)]['warn']('\x09Notifying\x20server\x20about\x20error\x20for\x20'+_0x52c6b8+_0x2421ff(0x125)+_0xcc22e0);}else this['logger'][_0x2421ff(0x166)](_0x2421ff(0x203),this[_0x2421ff(0x149)](_0x52c6b8));_0x3e2dd5&&(__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x52c6b8['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x2421ff(0x1db)](this,_0x52c6b8,_0x53a1e1)),__classPrivateFieldGet(this,_Debuglet_controller,'f')['enqueueBreakpointUpdate'](this['debuggee'],extend(!![],{},_0x52c6b8));},_Debuglet_reportBreakpointAccepted_=function _Debuglet_reportBreakpointAccepted_(_0x203db4){const _0x116b83=a18_0xc40e0c;this['logger']['debug'](_0x116b83(0x14c)+_0x203db4+_0x116b83(0x142));const _0x45be4d=extend(!![],{},_0x203db4);_0x45be4d['isFinalState']=![],_0x45be4d[_0x116b83(0x1c9)]=new status_message_1[(_0x116b83(0x1ed))](status_message_1[_0x116b83(0x1ed)][_0x116b83(0x200)],undefined,![],!![]),__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x116b83(0x21f)](this['debuggee'],_0x45be4d);},_Debuglet_rejectBreakpoint_=function _Debuglet_rejectBreakpoint_(_0x1aa5ca){const _0x516938=a18_0xc40e0c;this[_0x516938(0x128)][_0x516938(0x166)](_0x516938(0x141)+_0x1aa5ca),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x1aa5ca['id']]=!![],__classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x516938(0x21f)](this[_0x516938(0x18a)],_0x1aa5ca);},_Debuglet_expireOldBreakpoints=function _Debuglet_expireOldBreakpoints(_0x4f27e6){const _0x222a46=a18_0xc40e0c;_0x4f27e6[_0x222a46(0x1a5)](_0x3c5df2=>{const _0x642cb8=_0x222a46;this['logger'][_0x642cb8(0x166)](_0x642cb8(0x1cd)+_0x3c5df2['id']),__classPrivateFieldGet(this,_Debuglet_completedBreakpointMap,'f')[_0x3c5df2['id']]=!![],__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_removeBreakpoint_)[_0x642cb8(0x1db)](this,_0x3c5df2,!![]);});},_Debuglet_getOldBreakpoints=function _Debuglet_getOldBreakpoints(){const _0x33125a=a18_0xc40e0c,_0xd72fdc=Date[_0x33125a(0x10d)]()/0x3e8;return Object[_0x33125a(0x1a2)](this[_0x33125a(0x112)])[_0x33125a(0x20d)](_0x69b09a=>_0x69b09a['expirationTime']?_0x69b09a['expirationTime']<_0xd72fdc:![]);},_Debuglet_getBlocklist=async function _Debuglet_getBlocklist(_0x48ee77){const _0x2e3604=a18_0xc40e0c,_0x426ed4=await __classPrivateFieldGet(this,_Debuglet_controller,'f')[_0x2e3604(0x1e7)](_0x48ee77),_0xe06e1b=_0x426ed4[_0x2e3604(0x1a8)],_0x1ca3c1=_0x426ed4[_0x2e3604(0x13a)];_0xe06e1b?.[_0x2e3604(0x184)]&&this[_0x2e3604(0x128)][_0x2e3604(0x20c)](_0x2e3604(0x1c8),_0xe06e1b[_0x2e3604(0x1e5)]('\x0a\x09')),_0x1ca3c1?.['length']&&this[_0x2e3604(0x128)]['debug']('Blacklist\x20Exceptions:\x20\x0a\x09',_0x1ca3c1[_0x2e3604(0x1e5)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_blocklistManager,new patterns_blocklist_manager_1[(_0x2e3604(0x134))](_0xe06e1b,_0x1ca3c1,this[_0x2e3604(0x11a)]),'f');},_Debuglet_getRedactions=async function _Debuglet_getRedactions(_0x227118){const _0x58cce2=a18_0xc40e0c,_0x2afe8a=await __classPrivateFieldGet(this,_Debuglet_controller,'f')['getRedactions'](_0x227118);_0x2afe8a?.['length']&&this[_0x58cce2(0x128)][_0x58cce2(0x20c)]('Redactions:\x20\x0a\x09',_0x2afe8a[_0x58cce2(0x19e)](_0x5b0849=>'name:\x20'+_0x5b0849[_0x58cce2(0x1c1)]+'\x20(type:\x20'+_0x5b0849[_0x58cce2(0x1c0)]+_0x58cce2(0x130)+_0x5b0849[_0x58cce2(0x215)]+_0x58cce2(0x1c2)+_0x5b0849[_0x58cce2(0x132)])[_0x58cce2(0x1e5)]('\x0a\x09')),__classPrivateFieldSet(this,_Debuglet_redactionManager,new redaction_manager_re2js_1[(_0x58cce2(0x191))](this[_0x58cce2(0x128)]),'f'),__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x58cce2(0x18e)](_0x2afe8a);},_Debuglet_stringify=function _Debuglet_stringify(_0x3b4d9d){const _0x5dac53=a18_0xc40e0c;if(!_0x3b4d9d)return JSON[_0x5dac53(0x10f)](_0x3b4d9d,(_0x461ca5,_0x2c923f)=>_0x2c923f===undefined?'undefined':_0x2c923f);if(Array[_0x5dac53(0x146)](_0x3b4d9d)){const _0x10f5a9=_0x3b4d9d[_0x5dac53(0x19e)](_0x3e0235=>__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)['call'](this,_0x3e0235));return'['+_0x10f5a9[_0x5dac53(0x1e5)](',\x20')+']';}if(typeof _0x3b4d9d===_0x5dac53(0x171)){const _0xc7784b=Object['entries'](_0x3b4d9d)[_0x5dac53(0x19e)](([_0x4c6fcd,_0x565830])=>{const _0x51f9c1=_0x5dac53,_0x5919b4=__classPrivateFieldGet(this,_Debuglet_redactionManager,'f')?.[_0x51f9c1(0x216)](_0x4c6fcd)?redaction_manager_1[_0x51f9c1(0x1dd)]:__classPrivateFieldGet(this,_Debuglet_instances,'m',_Debuglet_stringify)[_0x51f9c1(0x1db)](this,_0x565830);return JSON[_0x51f9c1(0x10f)](_0x4c6fcd)+':\x20'+_0x5919b4;})['join'](',\x20');return'{'+_0xc7784b+'}';}return JSON[_0x5dac53(0x10f)](_0x3b4d9d);});
@@ -1 +1 @@
1
- 'use strict';const a19_0x19572d=a19_0x3984;(function(_0x4aa05a,_0x521858){const _0xb6effe=a19_0x3984,_0x1e6e62=_0x4aa05a();while(!![]){try{const _0xda4681=parseInt(_0xb6effe(0x1f6))/0x1*(parseInt(_0xb6effe(0x204))/0x2)+-parseInt(_0xb6effe(0x212))/0x3*(parseInt(_0xb6effe(0x218))/0x4)+-parseInt(_0xb6effe(0x1f5))/0x5*(parseInt(_0xb6effe(0x21b))/0x6)+parseInt(_0xb6effe(0x213))/0x7+-parseInt(_0xb6effe(0x201))/0x8*(-parseInt(_0xb6effe(0x1f1))/0x9)+parseInt(_0xb6effe(0x1fa))/0xa*(-parseInt(_0xb6effe(0x207))/0xb)+parseInt(_0xb6effe(0x216))/0xc;if(_0xda4681===_0x521858)break;else _0x1e6e62['push'](_0x1e6e62['shift']());}catch(_0x2ebba5){_0x1e6e62['push'](_0x1e6e62['shift']());}}}(a19_0x560c,0xe4cf8));Object[a19_0x19572d(0x21a)](exports,'__esModule',{'value':!![]}),exports[a19_0x19572d(0x21d)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0x19572d(0x210));var OS;(function(_0xbe22ab){const _0x5384a8=a19_0x19572d;_0xbe22ab[_0x5384a8(0x211)]=_0x5384a8(0x1ee),_0xbe22ab['Windows']=_0x5384a8(0x20e),_0xbe22ab['MacOS']=_0x5384a8(0x1f8);}(OS||(OS={})));var ProcArch;(function(_0x1ca042){const _0x22a21c=a19_0x19572d,_0x3cfc4f=(function(){let _0xa9104d=!![];return function(_0x5491c2,_0x44415e){const _0x40fa82=_0xa9104d?function(){const _0x2bcb41=a19_0x3984;if(_0x44415e){const _0x125465=_0x44415e[_0x2bcb41(0x1fd)](_0x5491c2,arguments);return _0x44415e=null,_0x125465;}}:function(){};return _0xa9104d=![],_0x40fa82;};}()),_0x3c3cf0=_0x3cfc4f(this,function(){const _0x35a54f=a19_0x3984;return _0x3c3cf0[_0x35a54f(0x21e)]()[_0x35a54f(0x217)](_0x35a54f(0x22b))['toString']()['constructor'](_0x3c3cf0)[_0x35a54f(0x217)](_0x35a54f(0x22b));});_0x3c3cf0(),_0x1ca042[_0x22a21c(0x1ef)]=_0x22a21c(0x1ef),_0x1ca042['x32']=_0x22a21c(0x1f3),_0x1ca042[_0x22a21c(0x1e9)]=_0x22a21c(0x1e9),_0x1ca042[_0x22a21c(0x226)]='arm64';}(ProcArch||(ProcArch={})));function a19_0x3984(_0x490c74,_0x17755e){const _0x38b61f=a19_0x560c();return a19_0x3984=function(_0x4a2242,_0x16d60a){_0x4a2242=_0x4a2242-0x1e9;let _0x560cbd=_0x38b61f[_0x4a2242];return _0x560cbd;},a19_0x3984(_0x490c74,_0x17755e);}const PlatformToOsMap={'linux':OS['Linux'],'win32':OS[a19_0x19572d(0x20a)],'darwin':OS[a19_0x19572d(0x222)]},ArchToProcArchMap={'x32':ProcArch[a19_0x19572d(0x1f3)],'x64':ProcArch['x64'],'arm':ProcArch[a19_0x19572d(0x1e9)],'arm64':ProcArch[a19_0x19572d(0x226)]};function a19_0x560c(){const _0x368925=['apply','VERSION_ID','error','readFileSync','8EGgTru','runtimeEnvironmentVersion','versions','639806TiEkdW','isInK8s','split','10288905OnpzRi','host','KUBERNETES_SERVICE_HOST','Windows','_logger','platform','node','windows','_osRelease','assert','Linux','474375KTljME','2085265YKVcpP','release','forEach','8360424SuGIvr','search','44NBdfcl','cpuCoreCount','defineProperty','6iIrnAK','length','EnvironmentMetadata','toString','replace','cpus','runtimeEnvironmentInfo','MacOS','isInDocker','procArch','agentOS','arm64','_cachedOsRelease','systemTotalMemoryBytes','pid','\x20on\x20','(((.+)+)+)+$','Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release','arm','match','existsSync','osVersion','utf-8','linux','x64','arch','11033775JtVAuT','Node.js\x20','x32','/.dockerenv','1040745JPkZZG','5qhfnzh','env','mac','linuxDistroName','10BiauOh','trim','set'];a19_0x560c=function(){return _0x368925;};return a19_0x560c();}class EnvironmentMetadata{constructor(_0x3213f8){const _0x3a17be=a19_0x19572d;assert(_0x3213f8!==null),this[_0x3a17be(0x20b)]=_0x3213f8;}get[a19_0x19572d(0x202)](){const _0x1d4ac7=a19_0x19572d;try{const _0x3a9ffe=process[_0x1d4ac7(0x203)][_0x1d4ac7(0x20d)][_0x1d4ac7(0x1ea)](/(\d+\.\d+)\..*/);if(_0x3a9ffe)return _0x3a9ffe[0x1];}catch(_0x33fb36){this[_0x1d4ac7(0x20b)][_0x1d4ac7(0x1ff)](_0x33fb36);}return;}get[a19_0x19572d(0x221)](){const _0x2ccf43=a19_0x19572d;return _0x2ccf43(0x1f2)+process['version']+_0x2ccf43(0x22a)+(0x0,os_1[_0x2ccf43(0x20c)])()+'\x20'+(0x0,os_1['release'])();}get[a19_0x19572d(0x229)](){const _0x23c612=a19_0x19572d;return process[_0x23c612(0x229)]['toString']();}get[a19_0x19572d(0x224)](){const _0x45287f=a19_0x19572d;return ArchToProcArchMap[process[_0x45287f(0x1f0)]]||process[_0x45287f(0x1f0)];}get['cpuCoreCount'](){const _0xb6a7f7=a19_0x19572d;return(0x0,os_1[_0xb6a7f7(0x220)])()[_0xb6a7f7(0x21c)];}get['systemTotalMemoryBytes'](){return(0x0,os_1['totalmem'])();}get[a19_0x19572d(0x208)](){return(0x0,os_1['hostname'])();}get['agentOS'](){const _0x533543=a19_0x19572d;return PlatformToOsMap[(0x0,os_1[_0x533543(0x20c)])()]||(0x0,os_1[_0x533543(0x20c)])();}get[a19_0x19572d(0x1ec)](){const _0x398ca5=a19_0x19572d;try{if(this[_0x398ca5(0x225)]===OS['Linux'])return this[_0x398ca5(0x20f)]['get'](_0x398ca5(0x1fe))??(0x0,os_1[_0x398ca5(0x214)])();return(0x0,os_1[_0x398ca5(0x214)])();}catch(_0x435150){this['_logger'][_0x398ca5(0x1ff)](_0x435150);}return;}get[a19_0x19572d(0x1f9)](){const _0x286734=a19_0x19572d;return this[_0x286734(0x225)]===OS['Linux']&&this[_0x286734(0x20f)]['get']('ID')||'';}get['isInDocker'](){const _0x15c6f2=a19_0x19572d;return this['agentOS']===OS['Linux']?(0x0,fs_1[_0x15c6f2(0x1eb)])(_0x15c6f2(0x1f4)):![];}get['isInK8s'](){const _0x25aaca=a19_0x19572d;return!!process[_0x25aaca(0x1f7)][_0x25aaca(0x209)];}get[a19_0x19572d(0x20f)](){const _0x337bc0=a19_0x19572d;if(!this[_0x337bc0(0x227)]){this[_0x337bc0(0x227)]=new Map();try{if(this[_0x337bc0(0x225)]===OS[_0x337bc0(0x211)]){const _0x282602=(0x0,fs_1[_0x337bc0(0x200)])('/etc/os-release',_0x337bc0(0x1ed));_0x282602[_0x337bc0(0x206)](/\r?\n/)[_0x337bc0(0x215)](_0x475243=>{const _0x58c96=_0x337bc0,[_0x412603,_0x1133e4]=_0x475243[_0x58c96(0x1fb)]()[_0x58c96(0x206)]('=');this[_0x58c96(0x227)]?.[_0x58c96(0x1fc)](_0x412603,_0x1133e4?.[_0x58c96(0x21f)](/^"|"$/g,'')||'');});}}catch(_0x3c41b7){this[_0x337bc0(0x20b)]['warn'](_0x337bc0(0x22c),_0x3c41b7);}}return this[_0x337bc0(0x227)];}['getProps'](){const _0x2d22aa=a19_0x19572d;return{'runtimeEnvironmentVersion':this[_0x2d22aa(0x202)],'runtimeEnvironmentInfo':this['runtimeEnvironmentInfo'],'pid':this[_0x2d22aa(0x229)],'cpuCoreCount':this[_0x2d22aa(0x219)],'systemTotalMemoryBytes':this[_0x2d22aa(0x228)],'host':this[_0x2d22aa(0x208)],'agentOS':this[_0x2d22aa(0x225)],'osVersion':this[_0x2d22aa(0x1ec)],'linuxDistroName':this[_0x2d22aa(0x1f9)]||undefined,'isInDocker':this[_0x2d22aa(0x223)],'isInK8s':this[_0x2d22aa(0x205)],'procArch':this[_0x2d22aa(0x224)]};}}exports[a19_0x19572d(0x21d)]=EnvironmentMetadata;
1
+ 'use strict';const a19_0x24905b=a19_0x1609;function a19_0x1dc8(){const _0x3dbe6d=['KUBERNETES_SERVICE_HOST','windows','env','toString','1006660uHjtOf','arm','x32','(((.+)+)+)+$','get','/.dockerenv','host','defineProperty','constructor','1414tUoNgt','release','8070ozxtxP','utf-8','Windows','linux','13761mlVgrf','cpuCoreCount','12837jUGjUt','runtimeEnvironmentVersion','_cachedOsRelease','isInK8s','83JGMvaq','linuxDistroName','hostname','__esModule','arm64','procArch','24UrRtOL','arch','node','1201543dwFdKq','systemTotalMemoryBytes','3902700doxQle','platform','/etc/os-release','268504JNIZuW','x64','agentOS','readFileSync','replace','osVersion','1656OhZQgC','split','EnvironmentMetadata','forEach','search','_osRelease','runtimeEnvironmentInfo','Linux','_logger','length','pid','isInDocker','assert','error','trim'];a19_0x1dc8=function(){return _0x3dbe6d;};return a19_0x1dc8();}(function(_0x3d6c97,_0x1dff0e){const _0x39667b=a19_0x1609,_0x3a2ad2=_0x3d6c97();while(!![]){try{const _0x42caeb=-parseInt(_0x39667b(0x91))/0x1*(parseInt(_0x39667b(0x85))/0x2)+-parseInt(_0x39667b(0x97))/0x3*(parseInt(_0x39667b(0x9f))/0x4)+parseInt(_0x39667b(0x7c))/0x5+-parseInt(_0x39667b(0x9c))/0x6+parseInt(_0x39667b(0x9a))/0x7+-parseInt(_0x39667b(0xa5))/0x8*(-parseInt(_0x39667b(0x8b))/0x9)+parseInt(_0x39667b(0x87))/0xa*(parseInt(_0x39667b(0x8d))/0xb);if(_0x42caeb===_0x1dff0e)break;else _0x3a2ad2['push'](_0x3a2ad2['shift']());}catch(_0x68cd47){_0x3a2ad2['push'](_0x3a2ad2['shift']());}}}(a19_0x1dc8,0x5e05a));Object[a19_0x24905b(0x83)](exports,a19_0x24905b(0x94),{'value':!![]}),exports[a19_0x24905b(0xa7)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),assert=require(a19_0x24905b(0x75));var OS;(function(_0x119537){const _0x3158ea=a19_0x24905b;_0x119537[_0x3158ea(0xac)]=_0x3158ea(0x8a),_0x119537['Windows']=_0x3158ea(0x79),_0x119537['MacOS']='mac';}(OS||(OS={})));function a19_0x1609(_0x3e62e9,_0x1ca198){const _0x4ed03a=a19_0x1dc8();return a19_0x1609=function(_0x671fbc,_0x567177){_0x671fbc=_0x671fbc-0x71;let _0x1dc8fb=_0x4ed03a[_0x671fbc];return _0x1dc8fb;},a19_0x1609(_0x3e62e9,_0x1ca198);}var ProcArch;(function(_0x3dc5e5){const _0x41cda7=a19_0x24905b,_0x1a9f66=(function(){let _0x60161f=!![];return function(_0x3f08a1,_0x2f1fec){const _0x55e7ff=_0x60161f?function(){if(_0x2f1fec){const _0x18ab06=_0x2f1fec['apply'](_0x3f08a1,arguments);return _0x2f1fec=null,_0x18ab06;}}:function(){};return _0x60161f=![],_0x55e7ff;};}()),_0x3115d8=_0x1a9f66(this,function(){const _0x3cf51f=a19_0x1609;return _0x3115d8[_0x3cf51f(0x7b)]()['search'](_0x3cf51f(0x7f))[_0x3cf51f(0x7b)]()[_0x3cf51f(0x84)](_0x3115d8)[_0x3cf51f(0xa9)](_0x3cf51f(0x7f));});_0x3115d8(),_0x3dc5e5['x64']=_0x41cda7(0xa0),_0x3dc5e5[_0x41cda7(0x7e)]='x32',_0x3dc5e5[_0x41cda7(0x7d)]=_0x41cda7(0x7d),_0x3dc5e5[_0x41cda7(0x95)]=_0x41cda7(0x95);}(ProcArch||(ProcArch={})));const PlatformToOsMap={'linux':OS[a19_0x24905b(0xac)],'win32':OS[a19_0x24905b(0x89)],'darwin':OS['MacOS']},ArchToProcArchMap={'x32':ProcArch[a19_0x24905b(0x7e)],'x64':ProcArch[a19_0x24905b(0xa0)],'arm':ProcArch[a19_0x24905b(0x7d)],'arm64':ProcArch[a19_0x24905b(0x95)]};class EnvironmentMetadata{constructor(_0x34bbf2){const _0x58fc21=a19_0x24905b;assert(_0x34bbf2!==null),this[_0x58fc21(0x71)]=_0x34bbf2;}get[a19_0x24905b(0x8e)](){const _0x1198bf=a19_0x24905b;try{const _0x8826ba=process['versions'][_0x1198bf(0x99)]['match'](/(\d+\.\d+)\..*/);if(_0x8826ba)return _0x8826ba[0x1];}catch(_0x17d2b9){this[_0x1198bf(0x71)][_0x1198bf(0x76)](_0x17d2b9);}return;}get[a19_0x24905b(0xab)](){const _0x1ccd6b=a19_0x24905b;return'Node.js\x20'+process['version']+'\x20on\x20'+(0x0,os_1[_0x1ccd6b(0x9d)])()+'\x20'+(0x0,os_1[_0x1ccd6b(0x86)])();}get[a19_0x24905b(0x73)](){const _0x416f35=a19_0x24905b;return process[_0x416f35(0x73)][_0x416f35(0x7b)]();}get[a19_0x24905b(0x96)](){const _0x4c763b=a19_0x24905b;return ArchToProcArchMap[process[_0x4c763b(0x98)]]||process['arch'];}get[a19_0x24905b(0x8c)](){const _0x186c1f=a19_0x24905b;return(0x0,os_1['cpus'])()[_0x186c1f(0x72)];}get[a19_0x24905b(0x9b)](){return(0x0,os_1['totalmem'])();}get[a19_0x24905b(0x82)](){const _0x4bc4ba=a19_0x24905b;return(0x0,os_1[_0x4bc4ba(0x93)])();}get[a19_0x24905b(0xa1)](){const _0x10e069=a19_0x24905b;return PlatformToOsMap[(0x0,os_1[_0x10e069(0x9d)])()]||(0x0,os_1[_0x10e069(0x9d)])();}get[a19_0x24905b(0xa4)](){const _0x5f2a43=a19_0x24905b;try{if(this[_0x5f2a43(0xa1)]===OS[_0x5f2a43(0xac)])return this[_0x5f2a43(0xaa)][_0x5f2a43(0x80)]('VERSION_ID')??(0x0,os_1[_0x5f2a43(0x86)])();return(0x0,os_1[_0x5f2a43(0x86)])();}catch(_0x5325be){this[_0x5f2a43(0x71)][_0x5f2a43(0x76)](_0x5325be);}return;}get[a19_0x24905b(0x92)](){const _0x179690=a19_0x24905b;return this['agentOS']===OS['Linux']&&this[_0x179690(0xaa)][_0x179690(0x80)]('ID')||'';}get['isInDocker'](){const _0x595629=a19_0x24905b;return this[_0x595629(0xa1)]===OS[_0x595629(0xac)]?(0x0,fs_1['existsSync'])(_0x595629(0x81)):![];}get[a19_0x24905b(0x90)](){const _0x17c155=a19_0x24905b;return!!process[_0x17c155(0x7a)][_0x17c155(0x78)];}get[a19_0x24905b(0xaa)](){const _0x2b44d9=a19_0x24905b;if(!this[_0x2b44d9(0x8f)]){this[_0x2b44d9(0x8f)]=new Map();try{if(this[_0x2b44d9(0xa1)]===OS[_0x2b44d9(0xac)]){const _0x4dcbe8=(0x0,fs_1[_0x2b44d9(0xa2)])(_0x2b44d9(0x9e),_0x2b44d9(0x88));_0x4dcbe8[_0x2b44d9(0xa6)](/\r?\n/)[_0x2b44d9(0xa8)](_0x1ecc22=>{const _0x2df440=_0x2b44d9,[_0x2f02a3,_0x523e41]=_0x1ecc22[_0x2df440(0x77)]()[_0x2df440(0xa6)]('=');this[_0x2df440(0x8f)]?.['set'](_0x2f02a3,_0x523e41?.[_0x2df440(0xa3)](/^"|"$/g,'')||'');});}}catch(_0x22c62e){this[_0x2b44d9(0x71)]['warn']('Failed\x20to\x20open\x20and\x20parse\x20/etc/os-release',_0x22c62e);}}return this['_cachedOsRelease'];}['getProps'](){const _0x1a0189=a19_0x24905b;return{'runtimeEnvironmentVersion':this[_0x1a0189(0x8e)],'runtimeEnvironmentInfo':this[_0x1a0189(0xab)],'pid':this['pid'],'cpuCoreCount':this[_0x1a0189(0x8c)],'systemTotalMemoryBytes':this['systemTotalMemoryBytes'],'host':this['host'],'agentOS':this[_0x1a0189(0xa1)],'osVersion':this[_0x1a0189(0xa4)],'linuxDistroName':this[_0x1a0189(0x92)]||undefined,'isInDocker':this[_0x1a0189(0x74)],'isInK8s':this[_0x1a0189(0x90)],'procArch':this[_0x1a0189(0x96)]};}}exports[a19_0x24905b(0xa7)]=EnvironmentMetadata;
@@ -1 +1 @@
1
- const a20_0x385097=a20_0x4d63;(function(_0x5eec5d,_0x27652e){const _0x149097=a20_0x4d63,_0x35c961=_0x5eec5d();while(!![]){try{const _0x2d3d1e=-parseInt(_0x149097(0xc1))/0x1+-parseInt(_0x149097(0xb3))/0x2+parseInt(_0x149097(0xac))/0x3*(parseInt(_0x149097(0xb6))/0x4)+parseInt(_0x149097(0xb8))/0x5*(-parseInt(_0x149097(0xd0))/0x6)+-parseInt(_0x149097(0xc2))/0x7*(parseInt(_0x149097(0xbf))/0x8)+-parseInt(_0x149097(0xc3))/0x9+parseInt(_0x149097(0xb7))/0xa;if(_0x2d3d1e===_0x27652e)break;else _0x35c961['push'](_0x35c961['shift']());}catch(_0x562ec9){_0x35c961['push'](_0x35c961['shift']());}}}(a20_0x20ba,0xc3684));function a20_0x20ba(){const _0x39b94a=['filter','__esModule','push','min','sep','stripStartingSep','_fileStats','apply','size','FileIndex','toString','(((.+)+)+)+$','255174BaplCg','fileStats','add','length','keys','constructor','264552vYnjZM','substr','path','search','indexOf','has','substring','1870670GoQPEU','fromFileList','generateSubPaths','16oTguMN','51212560sRZRTT','10Gvjjmj','fromFileStats','map','defineProperty','fileIndex','buildIndex','startsWith','18256icRdiK','get','831496uHVZcq','3822tYtBLv','14181687SwKIBM'];a20_0x20ba=function(){return _0x39b94a;};return a20_0x20ba();}const a20_0x558397=(function(){let _0x16a78c=!![];return function(_0x1b0e00,_0x57cd4d){const _0x4efe32=_0x16a78c?function(){const _0x239fba=a20_0x4d63;if(_0x57cd4d){const _0x262b53=_0x57cd4d[_0x239fba(0xcb)](_0x1b0e00,arguments);return _0x57cd4d=null,_0x262b53;}}:function(){};return _0x16a78c=![],_0x4efe32;};}()),a20_0x266016=a20_0x558397(this,function(){const _0x22d229=a20_0x4d63;return a20_0x266016[_0x22d229(0xce)]()[_0x22d229(0xaf)](_0x22d229(0xcf))[_0x22d229(0xce)]()[_0x22d229(0xab)](a20_0x266016)[_0x22d229(0xaf)](_0x22d229(0xcf));});function a20_0x4d63(_0x510788,_0x1e3ee5){const _0xfaea4f=a20_0x20ba();return a20_0x4d63=function(_0x266016,_0x558397){_0x266016=_0x266016-0xa7;let _0x20ba23=_0xfaea4f[_0x266016];return _0x20ba23;},a20_0x4d63(_0x510788,_0x1e3ee5);}a20_0x266016();'use strict';Object[a20_0x385097(0xbb)](exports,a20_0x385097(0xc5),{'value':!![]}),exports['FileIndex']=void 0x0;const path=require(a20_0x385097(0xae));class FileIndex{constructor(_0x3f23cb){const _0x4dec43=a20_0x385097;this[_0x4dec43(0xca)]=_0x3f23cb,this[_0x4dec43(0xbc)]=new Map();}static[a20_0x385097(0xb9)](_0x2e5254){const _0xa2a55a=a20_0x385097,_0x16d955=new FileIndex(_0x2e5254);return _0x16d955[_0xa2a55a(0xbd)](Object[_0xa2a55a(0xaa)](_0x2e5254)||[]),_0x16d955;}static[a20_0x385097(0xb4)](_0x48a615){const _0x938d77=a20_0x385097,_0x4ce2e3=new FileIndex(undefined);return _0x4ce2e3[_0x938d77(0xbd)](_0x48a615||[]),_0x4ce2e3;}get[a20_0x385097(0xa7)](){const _0xfe2868=a20_0x385097;return this[_0xfe2868(0xca)]??{};}['findShortestFuzzyMatches'](_0x32c178){const _0x59239c=a20_0x385097,_0x2f934a=this[_0x59239c(0xaf)](_0x32c178);if(!_0x2f934a||_0x2f934a[_0x59239c(0xcc)]===0x0)return[];const _0x330229=[..._0x2f934a][_0x59239c(0xba)](_0x105094=>_0x105094[_0x59239c(0xa9)]),_0x2b1dc2=Math[_0x59239c(0xc7)](..._0x330229),_0x185b23=[..._0x2f934a][_0x59239c(0xc4)](_0x3f9efd=>_0x3f9efd[_0x59239c(0xa9)]===_0x2b1dc2);return _0x185b23;}[a20_0x385097(0xbd)](_0x10f37d){const _0x100824=a20_0x385097;for(const _0x5d6ece of _0x10f37d){for(const _0x2ae38a of this[_0x100824(0xb5)](_0x5d6ece)){let _0x84d537=this['fileIndex']['get'](_0x2ae38a);_0x84d537===undefined&&(_0x84d537=new Set(),this[_0x100824(0xbc)]['set'](_0x2ae38a,_0x84d537)),_0x84d537[_0x100824(0xa8)](_0x5d6ece);}}}['generateSubPaths'](_0xaea424){const _0x29c703=a20_0x385097;_0xaea424=this['stripStartingSep'](_0xaea424);const _0x2b748a=[_0xaea424];while(_0xaea424['includes'](path[_0x29c703(0xc8)])){_0xaea424=_0xaea424[_0x29c703(0xb2)](_0xaea424[_0x29c703(0xb0)](path[_0x29c703(0xc8)])+path[_0x29c703(0xc8)][_0x29c703(0xa9)],_0xaea424[_0x29c703(0xa9)]),_0x2b748a[_0x29c703(0xc6)](_0xaea424);}return _0x2b748a;}[a20_0x385097(0xaf)](_0x3192d1){const _0x1f79a4=a20_0x385097;if(!_0x3192d1)return undefined;_0x3192d1=this[_0x1f79a4(0xc9)](_0x3192d1);for(const _0x4731d6 of this[_0x1f79a4(0xb5)](_0x3192d1)){if(this['fileIndex'][_0x1f79a4(0xb1)](_0x4731d6))return this[_0x1f79a4(0xbc)][_0x1f79a4(0xc0)](_0x4731d6);}return undefined;}[a20_0x385097(0xc9)](_0x17883b){const _0x133903=a20_0x385097;if(_0x17883b&&(_0x17883b[_0x133903(0xbe)]('/')||_0x17883b['startsWith']('\x5c')))return _0x17883b[_0x133903(0xad)](0x1);return _0x17883b;}}exports[a20_0x385097(0xcd)]=FileIndex;
1
+ function a20_0x4327(_0x222564,_0xe56396){const _0x57b537=a20_0x401a();return a20_0x4327=function(_0x1b801c,_0x51479d){_0x1b801c=_0x1b801c-0xfe;let _0x401afa=_0x57b537[_0x1b801c];return _0x401afa;},a20_0x4327(_0x222564,_0xe56396);}const a20_0x568bcd=a20_0x4327;(function(_0x12a3b2,_0x49568f){const _0x489a31=a20_0x4327,_0x7d00e9=_0x12a3b2();while(!![]){try{const _0x39818d=parseInt(_0x489a31(0x103))/0x1*(-parseInt(_0x489a31(0x122))/0x2)+parseInt(_0x489a31(0x10d))/0x3+parseInt(_0x489a31(0x113))/0x4*(-parseInt(_0x489a31(0x11f))/0x5)+-parseInt(_0x489a31(0x125))/0x6*(parseInt(_0x489a31(0x104))/0x7)+parseInt(_0x489a31(0x107))/0x8*(parseInt(_0x489a31(0x121))/0x9)+-parseInt(_0x489a31(0x119))/0xa+parseInt(_0x489a31(0x114))/0xb;if(_0x39818d===_0x49568f)break;else _0x7d00e9['push'](_0x7d00e9['shift']());}catch(_0x1fac0c){_0x7d00e9['push'](_0x7d00e9['shift']());}}}(a20_0x401a,0x24f9a));const a20_0x51479d=(function(){let _0x2c6b24=!![];return function(_0x55712f,_0xe5461f){const _0x35ed3f=_0x2c6b24?function(){const _0x2f55fc=a20_0x4327;if(_0xe5461f){const _0x3a6e5c=_0xe5461f[_0x2f55fc(0x118)](_0x55712f,arguments);return _0xe5461f=null,_0x3a6e5c;}}:function(){};return _0x2c6b24=![],_0x35ed3f;};}()),a20_0x1b801c=a20_0x51479d(this,function(){const _0x2ba67a=a20_0x4327;return a20_0x1b801c[_0x2ba67a(0x120)]()[_0x2ba67a(0x128)]('(((.+)+)+)+$')[_0x2ba67a(0x120)]()[_0x2ba67a(0x10e)](a20_0x1b801c)['search'](_0x2ba67a(0x117));});a20_0x1b801c();function a20_0x401a(){const _0x13df79=['push','1419906nEawZR','fromFileStats','_fileStats','search','indexOf','has','generateSubPaths','includes','buildIndex','131HemnTT','7gquGKN','get','findShortestFuzzyMatches','19256qiXSNc','FileIndex','stripStartingSep','substring','fromFileList','map','877986ZRmhoR','constructor','set','__esModule','fileIndex','filter','2732gGqatt','3034185BpdIYI','startsWith','sep','(((.+)+)+)+$','apply','1817690QxjCUN','path','add','substr','length','size','235clhliN','toString','927SSXhXr','3274ATXjLX','min'];a20_0x401a=function(){return _0x13df79;};return a20_0x401a();}'use strict';Object['defineProperty'](exports,a20_0x568bcd(0x110),{'value':!![]}),exports[a20_0x568bcd(0x108)]=void 0x0;const path=require(a20_0x568bcd(0x11a));class FileIndex{constructor(_0x7e72a6){const _0x5280ee=a20_0x568bcd;this[_0x5280ee(0x127)]=_0x7e72a6,this[_0x5280ee(0x111)]=new Map();}static[a20_0x568bcd(0x126)](_0x5146e1){const _0x18ffd1=a20_0x568bcd,_0x1842de=new FileIndex(_0x5146e1);return _0x1842de[_0x18ffd1(0x102)](Object['keys'](_0x5146e1)||[]),_0x1842de;}static[a20_0x568bcd(0x10b)](_0x31ab73){const _0x3cb231=a20_0x568bcd,_0x495714=new FileIndex(undefined);return _0x495714[_0x3cb231(0x102)](_0x31ab73||[]),_0x495714;}get['fileStats'](){const _0x405506=a20_0x568bcd;return this[_0x405506(0x127)]??{};}[a20_0x568bcd(0x106)](_0x48f182){const _0x6b9b5a=a20_0x568bcd,_0x2fabb3=this['search'](_0x48f182);if(!_0x2fabb3||_0x2fabb3[_0x6b9b5a(0x11e)]===0x0)return[];const _0x1e9203=[..._0x2fabb3][_0x6b9b5a(0x10c)](_0x5417f5=>_0x5417f5[_0x6b9b5a(0x11d)]),_0x2c0137=Math[_0x6b9b5a(0x123)](..._0x1e9203),_0x46c422=[..._0x2fabb3][_0x6b9b5a(0x112)](_0x5ba887=>_0x5ba887[_0x6b9b5a(0x11d)]===_0x2c0137);return _0x46c422;}[a20_0x568bcd(0x102)](_0x53ea8c){const _0x1db1ad=a20_0x568bcd;for(const _0x431546 of _0x53ea8c){for(const _0x353908 of this['generateSubPaths'](_0x431546)){let _0xfb3c9d=this[_0x1db1ad(0x111)][_0x1db1ad(0x105)](_0x353908);_0xfb3c9d===undefined&&(_0xfb3c9d=new Set(),this['fileIndex'][_0x1db1ad(0x10f)](_0x353908,_0xfb3c9d)),_0xfb3c9d[_0x1db1ad(0x11b)](_0x431546);}}}[a20_0x568bcd(0x100)](_0x39c497){const _0x449da6=a20_0x568bcd;_0x39c497=this['stripStartingSep'](_0x39c497);const _0x1a01c1=[_0x39c497];while(_0x39c497[_0x449da6(0x101)](path['sep'])){_0x39c497=_0x39c497[_0x449da6(0x10a)](_0x39c497[_0x449da6(0xfe)](path[_0x449da6(0x116)])+path[_0x449da6(0x116)][_0x449da6(0x11d)],_0x39c497[_0x449da6(0x11d)]),_0x1a01c1[_0x449da6(0x124)](_0x39c497);}return _0x1a01c1;}['search'](_0x4a1c3b){const _0x260ea5=a20_0x568bcd;if(!_0x4a1c3b)return undefined;_0x4a1c3b=this[_0x260ea5(0x109)](_0x4a1c3b);for(const _0x23ffa9 of this[_0x260ea5(0x100)](_0x4a1c3b)){if(this[_0x260ea5(0x111)][_0x260ea5(0xff)](_0x23ffa9))return this[_0x260ea5(0x111)][_0x260ea5(0x105)](_0x23ffa9);}return undefined;}[a20_0x568bcd(0x109)](_0x10fd5d){const _0x572229=a20_0x568bcd;if(_0x10fd5d&&(_0x10fd5d[_0x572229(0x115)]('/')||_0x10fd5d[_0x572229(0x115)]('\x5c')))return _0x10fd5d[_0x572229(0x11c)](0x1);return _0x10fd5d;}}exports['FileIndex']=FileIndex;
@@ -1 +1 @@
1
- const a21_0x13f9e6=a21_0x1a6a;(function(_0x51fb11,_0x4bc793){const _0x4ef195=a21_0x1a6a,_0x3ae24c=_0x51fb11();while(!![]){try{const _0x804a65=parseInt(_0x4ef195(0xaa))/0x1+parseInt(_0x4ef195(0xb7))/0x2*(parseInt(_0x4ef195(0xa9))/0x3)+-parseInt(_0x4ef195(0xc5))/0x4*(-parseInt(_0x4ef195(0xc1))/0x5)+parseInt(_0x4ef195(0xc3))/0x6*(-parseInt(_0x4ef195(0xb6))/0x7)+-parseInt(_0x4ef195(0xaf))/0x8+parseInt(_0x4ef195(0xb1))/0x9+parseInt(_0x4ef195(0xb5))/0xa*(-parseInt(_0x4ef195(0xc6))/0xb);if(_0x804a65===_0x4bc793)break;else _0x3ae24c['push'](_0x3ae24c['shift']());}catch(_0x366fcc){_0x3ae24c['push'](_0x3ae24c['shift']());}}}(a21_0x281d,0xce5c1));const a21_0x45c104=(function(){let _0xb023b3=!![];return function(_0x231001,_0x5faeb8){const _0x42f830=_0xb023b3?function(){const _0x28b7e4=a21_0x1a6a;if(_0x5faeb8){const _0x5c7fe1=_0x5faeb8[_0x28b7e4(0xbf)](_0x231001,arguments);return _0x5faeb8=null,_0x5c7fe1;}}:function(){};return _0xb023b3=![],_0x42f830;};}()),a21_0x1e225d=a21_0x45c104(this,function(){const _0x99d496=a21_0x1a6a;return a21_0x1e225d[_0x99d496(0xbc)]()[_0x99d496(0xb0)](_0x99d496(0xa7))[_0x99d496(0xbc)]()[_0x99d496(0xa8)](a21_0x1e225d)['search']('(((.+)+)+)+$');});function a21_0x1a6a(_0x430e79,_0x4c8e25){const _0x5ba49b=a21_0x281d();return a21_0x1a6a=function(_0x1e225d,_0x45c104){_0x1e225d=_0x1e225d-0xa7;let _0x281dd5=_0x5ba49b[_0x1e225d];return _0x281dd5;},a21_0x1a6a(_0x430e79,_0x4c8e25);}a21_0x1e225d();'use strict';Object[a21_0x13f9e6(0xc0)](exports,a21_0x13f9e6(0xba),{'value':!![]}),exports[a21_0x13f9e6(0xb9)]=void 0x0;const path=require(a21_0x13f9e6(0xac));function a21_0x281d(){const _0x4a0813=['errorMap','ScanResultsImpl','__esModule','selectStats','toString','hash','errors','apply','defineProperty','2295505NuEedV','normalize','24qWyhWk','replace','4iVgWOm','10725FMWbBy','(((.+)+)+)+$','constructor','4347HjubvW','769953VroRks','stats','path','selectFiles','filter','11593928rJVDnu','search','6498009CyiFfL','test','sep','keys','40GGetGO','1266083kFzIkJ','1478mFQwED'];a21_0x281d=function(){return _0x4a0813;};return a21_0x281d();}class ScanResultsImpl{constructor(_0x294b42,_0x1ec68c,_0x33d0b2){const _0x40f05d=a21_0x13f9e6;this[_0x40f05d(0xab)]=_0x294b42,this[_0x40f05d(0xb8)]=_0x1ec68c,this[_0x40f05d(0xbd)]=_0x33d0b2;}[a21_0x13f9e6(0xbe)](){return this['errorMap'];}['all'](){const _0x5086b2=a21_0x13f9e6;return this[_0x5086b2(0xab)];}[a21_0x13f9e6(0xbb)](_0xaddbfb){const _0x238ced=a21_0x13f9e6,_0x173806={};return Object[_0x238ced(0xb4)](this[_0x238ced(0xab)])['forEach'](_0x2a4384=>{const _0x4df249=_0x238ced;_0xaddbfb[_0x4df249(0xb2)](_0x2a4384)&&(_0x173806[_0x2a4384]=this[_0x4df249(0xab)][_0x2a4384]);}),_0x173806;}[a21_0x13f9e6(0xad)](_0x177085,_0x4d0473){const _0x2a2515=a21_0x13f9e6;return _0x4d0473=path['normalize'](_0x4d0473+path[_0x2a2515(0xb3)]),Object['keys'](this['stats'])[_0x2a2515(0xae)](_0x2eff92=>_0x2eff92&&_0x177085[_0x2a2515(0xb2)](_0x2eff92))['map'](_0x486a4c=>path[_0x2a2515(0xc2)](_0x486a4c)[_0x2a2515(0xc4)](_0x4d0473,''));}}exports[a21_0x13f9e6(0xb9)]=ScanResultsImpl;
1
+ const a21_0x2f92fd=a21_0x1104;(function(_0x19fe96,_0x3b3c4d){const _0x171bf9=a21_0x1104,_0x1a8760=_0x19fe96();while(!![]){try{const _0x1004f9=-parseInt(_0x171bf9(0x1c2))/0x1*(parseInt(_0x171bf9(0x1a9))/0x2)+-parseInt(_0x171bf9(0x1ae))/0x3+-parseInt(_0x171bf9(0x1ad))/0x4*(-parseInt(_0x171bf9(0x1c5))/0x5)+-parseInt(_0x171bf9(0x1be))/0x6*(parseInt(_0x171bf9(0x1b6))/0x7)+parseInt(_0x171bf9(0x1b0))/0x8*(parseInt(_0x171bf9(0x1a6))/0x9)+-parseInt(_0x171bf9(0x1c1))/0xa*(-parseInt(_0x171bf9(0x1b1))/0xb)+parseInt(_0x171bf9(0x1b9))/0xc;if(_0x1004f9===_0x3b3c4d)break;else _0x1a8760['push'](_0x1a8760['shift']());}catch(_0x482645){_0x1a8760['push'](_0x1a8760['shift']());}}}(a21_0x32e2,0x8b284));function a21_0x32e2(){const _0x319f34=['4dyGAok','362757dBhtID','search','8hcaPzY','2572955VwQEZB','defineProperty','constructor','map','selectStats','72058gOuDLN','toString','filter','16126404MuaWIF','stats','__esModule','ScanResultsImpl','(((.+)+)+)+$','420vIOkFA','replace','selectFiles','10yiivbq','11237RPppiJ','test','all','2292735tzCaNV','keys','2366019UPHukp','path','normalize','158aGGSop','errorMap','apply','sep'];a21_0x32e2=function(){return _0x319f34;};return a21_0x32e2();}function a21_0x1104(_0x54e725,_0x9ec4fa){const _0x34f3bf=a21_0x32e2();return a21_0x1104=function(_0x11ce58,_0x1ba7e5){_0x11ce58=_0x11ce58-0x1a6;let _0x32e29b=_0x34f3bf[_0x11ce58];return _0x32e29b;},a21_0x1104(_0x54e725,_0x9ec4fa);}const a21_0x1ba7e5=(function(){let _0x4d50d4=!![];return function(_0xe85ada,_0x5d8113){const _0x5f542e=_0x4d50d4?function(){const _0x2afe14=a21_0x1104;if(_0x5d8113){const _0x3dfbf1=_0x5d8113[_0x2afe14(0x1ab)](_0xe85ada,arguments);return _0x5d8113=null,_0x3dfbf1;}}:function(){};return _0x4d50d4=![],_0x5f542e;};}()),a21_0x11ce58=a21_0x1ba7e5(this,function(){const _0x19ae2b=a21_0x1104;return a21_0x11ce58[_0x19ae2b(0x1b7)]()[_0x19ae2b(0x1af)](_0x19ae2b(0x1bd))[_0x19ae2b(0x1b7)]()[_0x19ae2b(0x1b3)](a21_0x11ce58)[_0x19ae2b(0x1af)](_0x19ae2b(0x1bd));});a21_0x11ce58();'use strict';Object[a21_0x2f92fd(0x1b2)](exports,a21_0x2f92fd(0x1bb),{'value':!![]}),exports[a21_0x2f92fd(0x1bc)]=void 0x0;const path=require(a21_0x2f92fd(0x1a7));class ScanResultsImpl{constructor(_0x141164,_0x4b2025,_0x1aca9e){const _0x210efc=a21_0x2f92fd;this[_0x210efc(0x1ba)]=_0x141164,this['errorMap']=_0x4b2025,this['hash']=_0x1aca9e;}['errors'](){const _0x291dd=a21_0x2f92fd;return this[_0x291dd(0x1aa)];}[a21_0x2f92fd(0x1c4)](){return this['stats'];}[a21_0x2f92fd(0x1b5)](_0x3e0c58){const _0xd1f613=a21_0x2f92fd,_0x4ab85d={};return Object[_0xd1f613(0x1c6)](this['stats'])['forEach'](_0x10e66e=>{const _0x3cf963=_0xd1f613;_0x3e0c58[_0x3cf963(0x1c3)](_0x10e66e)&&(_0x4ab85d[_0x10e66e]=this[_0x3cf963(0x1ba)][_0x10e66e]);}),_0x4ab85d;}[a21_0x2f92fd(0x1c0)](_0x16dff0,_0x57c616){const _0x79e076=a21_0x2f92fd;return _0x57c616=path['normalize'](_0x57c616+path[_0x79e076(0x1ac)]),Object[_0x79e076(0x1c6)](this['stats'])[_0x79e076(0x1b8)](_0x15f276=>_0x15f276&&_0x16dff0[_0x79e076(0x1c3)](_0x15f276))[_0x79e076(0x1b4)](_0x57d2fd=>path[_0x79e076(0x1a8)](_0x57d2fd)[_0x79e076(0x1bf)](_0x57c616,''));}}exports['ScanResultsImpl']=ScanResultsImpl;
@@ -1 +1 @@
1
- const a22_0x29e539=a22_0x5408;function a22_0x5408(_0x268c94,_0x36958f){const _0x2d3d95=a22_0x5779();return a22_0x5408=function(_0x5aaa9e,_0xbd35f6){_0x5aaa9e=_0x5aaa9e-0xe8;let _0x57793c=_0x2d3d95[_0x5aaa9e];return _0x57793c;},a22_0x5408(_0x268c94,_0x36958f);}(function(_0x1558bc,_0x222537){const _0x62b576=a22_0x5408,_0x4f7d55=_0x1558bc();while(!![]){try{const _0x336832=-parseInt(_0x62b576(0xf9))/0x1+parseInt(_0x62b576(0x114))/0x2*(-parseInt(_0x62b576(0xec))/0x3)+-parseInt(_0x62b576(0xef))/0x4*(-parseInt(_0x62b576(0x111))/0x5)+-parseInt(_0x62b576(0x10b))/0x6*(-parseInt(_0x62b576(0x118))/0x7)+-parseInt(_0x62b576(0x11c))/0x8*(parseInt(_0x62b576(0x113))/0x9)+-parseInt(_0x62b576(0x10f))/0xa+parseInt(_0x62b576(0x105))/0xb*(parseInt(_0x62b576(0x101))/0xc);if(_0x336832===_0x222537)break;else _0x4f7d55['push'](_0x4f7d55['shift']());}catch(_0x48ee1c){_0x4f7d55['push'](_0x4f7d55['shift']());}}}(a22_0x5779,0x97873));const a22_0xbd35f6=(function(){let _0x458504=!![];return function(_0xb8b27f,_0x1b5791){const _0x5110c5=_0x458504?function(){const _0x117b95=a22_0x5408;if(_0x1b5791){const _0x23ce14=_0x1b5791[_0x117b95(0xf8)](_0xb8b27f,arguments);return _0x1b5791=null,_0x23ce14;}}:function(){};return _0x458504=![],_0x5110c5;};}()),a22_0x5aaa9e=a22_0xbd35f6(this,function(){const _0x50f7ec=a22_0x5408;return a22_0x5aaa9e[_0x50f7ec(0x100)]()[_0x50f7ec(0xed)](_0x50f7ec(0x107))[_0x50f7ec(0x100)]()[_0x50f7ec(0x121)](a22_0x5aaa9e)[_0x50f7ec(0xed)](_0x50f7ec(0x107));});a22_0x5aaa9e();'use strict';Object[a22_0x29e539(0x10d)](exports,a22_0x29e539(0xfd),{'value':!![]}),exports[a22_0x29e539(0x123)]=void 0x0;const crypto=require(a22_0x29e539(0x126)),fs=require('fs'),path=require(a22_0x29e539(0x11b)),scan_results_1=require(a22_0x29e539(0x103));function a22_0x5779(){const _0xf5a3bf=['Specified\x20extraPaths\x20does\x20not\x20exist!','from','SHA1-','createReadStream','startsWith','node_modules','apply','1103315aebXmi','sort','Indexing\x20files\x20in\x20','info','__esModule','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','createHash','toString','12SLJLIm','set','./scan-results','.git','30281141vsyRuX','computeStats','(((.+)+)+)+$','sha1','hex','open','28674KUYhrQ','R_OK','defineProperty','join','12174950HbxjKN','hasReadAccess','5435QRoeLj','EMPTY-no-js-files','9DjqVoT','37918OtssNI','error','constants','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','1757PcPzvT','findFiles','file','path','5633944wPmaiZ','directory','hash','logger','findit2','constructor','resolve','Scanner','addFilesFromDir','update','crypto','digest','end','split','basename','add','123RjXDzd','search','data','1732TVxlQn','scan','ScanResultsImpl'];a22_0x5779=function(){return _0xf5a3bf;};return a22_0x5779();}class Scanner{constructor(_0x1c16b1){const _0x2b1bfa=a22_0x29e539;this[_0x2b1bfa(0x11f)]=_0x1c16b1;}async[a22_0x29e539(0xf0)](_0x3232e5,_0x18fb67,_0x4b34f8,_0x4fb723){const _0x27a358=a22_0x29e539,_0x54deeb=await this[_0x27a358(0x119)](_0x3232e5,_0x18fb67,_0x4fb723);return this['computeStats'](_0x54deeb,_0x4b34f8);}async[a22_0x29e539(0x106)](_0x26d97c,_0xd91fa8){const _0x2ad152=a22_0x29e539;if(_0x26d97c['length']===0x0)return new scan_results_1['ScanResultsImpl']({},new Map(),_0x2ad152(0x112));const _0x432361=[],_0x1823e8={},_0x43ae88=new Map();for(const _0x11f3e4 of _0x26d97c){try{const _0x2aebf1=await this['statsForFile'](_0x11f3e4,!_0xd91fa8);!_0xd91fa8&&_0x432361['push'](_0x2aebf1[_0x2ad152(0x11e)]),_0x1823e8[_0x11f3e4]=_0x2aebf1;}catch(_0x304bf6){_0x43ae88[_0x2ad152(0x102)](_0x11f3e4,_0x304bf6);}}let _0x5d9d25;if(!_0xd91fa8){const _0x37e7de=_0x432361[_0x2ad152(0xfa)]()[_0x2ad152(0x10e)](),_0x5abcfb=crypto[_0x2ad152(0xff)](_0x2ad152(0x108))[_0x2ad152(0x125)](_0x37e7de)[_0x2ad152(0x127)]('hex');_0x5d9d25=_0x2ad152(0xf4)+_0x5abcfb;}else _0x5d9d25=_0xd91fa8;return new scan_results_1[(_0x2ad152(0xf1))](_0x1823e8,_0x43ae88,_0x5d9d25);}async['findFiles'](_0x1bc99e,_0x1c99a4,_0x193b79){const _0x5b3d72=a22_0x29e539,_0x57f064=new Set();await this[_0x5b3d72(0x124)](_0x57f064,_0x1bc99e,_0x1c99a4);for(const _0x139a4b of _0x193b79??[]){if(_0x139a4b){const _0x4bc2cb=path['resolve'](_0x139a4b);try{await this[_0x5b3d72(0x124)](_0x57f064,_0x4bc2cb,_0x1c99a4);}catch(_0x229154){this[_0x5b3d72(0x11f)]['error'](_0x5b3d72(0xf2),_0x229154);}}}return Array[_0x5b3d72(0xf3)](_0x57f064);}static[a22_0x29e539(0x110)](_0x157d86){const _0x2dce99=a22_0x29e539;try{return fs['accessSync'](_0x157d86,fs[_0x2dce99(0x116)][_0x2dce99(0x10c)]),!![];}catch{return![];}}async[a22_0x29e539(0x124)](_0x2f5882,_0x4afa40,_0xd4f779){return new Promise((_0x47be58,_0x139b3e)=>{const _0xdacddd=a22_0x5408;let _0x36d841;if(!_0x4afa40){_0x139b3e(new Error(_0xdacddd(0x117)));return;}this['logger'][_0xdacddd(0xfc)](_0xdacddd(0xfb)+path[_0xdacddd(0x122)](_0x4afa40));const _0x53e9ad=findit(_0x4afa40);_0x53e9ad['on']('error',_0x5337c3=>{_0x36d841=_0x5337c3;return;}),_0x53e9ad['on'](_0xdacddd(0x11d),(_0x8b3eef,_0x3ce9e6,_0x16e428)=>{const _0x32426d=_0xdacddd,_0x25c655=path[_0x32426d(0xea)](_0x8b3eef);!Scanner[_0x32426d(0x110)](_0x8b3eef)&&(this['logger']['warn']('can\x27t\x20access\x20path:\x20['+_0x8b3eef+_0x32426d(0xfe)),_0x16e428()),(_0x25c655===_0x32426d(0x104)||_0x25c655===_0x32426d(0xf7))&&(!path['resolve'](_0x4afa40)[_0x32426d(0xf6)](path[_0x32426d(0x122)](_0x8b3eef))&&_0x16e428());}),_0x53e9ad['on'](_0xdacddd(0x11a),_0x3e9f27=>{const _0x40bb8c=_0xdacddd;_0xd4f779['test'](_0x3e9f27)&&_0x2f5882[_0x40bb8c(0xeb)](_0x3e9f27);}),_0x53e9ad['on'](_0xdacddd(0xe8),()=>{_0x36d841?_0x139b3e(_0x36d841):_0x47be58();});});}async['statsForFile'](_0x15e00e,_0x3a0419){return new Promise((_0x1cc39c,_0x794ee2)=>{const _0x3ac174=a22_0x5408,_0x377f5d=fs[_0x3ac174(0xf5)](_0x15e00e);_0x377f5d['on'](_0x3ac174(0x115),_0x41626c=>{_0x794ee2(_0x41626c);}),_0x377f5d['on'](_0x3ac174(0x10a),()=>{const _0x6e8b8e=_0x3ac174;let _0x39225d;_0x3a0419&&(_0x39225d=crypto['createHash'](_0x6e8b8e(0x108)));let _0x1e0840=0x0,_0x4bc305;const _0x2ef937=_0x377f5d['pipe'](split());_0x2ef937['on'](_0x6e8b8e(0x115),_0x30b98e=>{_0x4bc305=_0x30b98e;}),_0x2ef937['on'](_0x6e8b8e(0xee),_0x5e25b0=>{const _0x4d0319=_0x6e8b8e;_0x3a0419&&_0x39225d[_0x4d0319(0x125)](_0x5e25b0),_0x1e0840++;}),_0x2ef937['on'](_0x6e8b8e(0xe8),()=>{const _0x368842=_0x6e8b8e;if(_0x4bc305)_0x794ee2(_0x4bc305);else{const _0xec65b3=_0x3a0419?_0x39225d[_0x368842(0x127)](_0x368842(0x109)):undefined;_0x1cc39c({'hash':_0xec65b3,'lines':_0x1e0840});}});});});}}exports[a22_0x29e539(0x123)]=Scanner;const findit=require(a22_0x29e539(0x120)),split=require(a22_0x29e539(0xe9));
1
+ const a22_0x4edd67=a22_0x1355;(function(_0x27c94d,_0x48b981){const _0x49ed6f=a22_0x1355,_0x2adc67=_0x27c94d();while(!![]){try{const _0xe8be5d=-parseInt(_0x49ed6f(0x127))/0x1+-parseInt(_0x49ed6f(0x108))/0x2+parseInt(_0x49ed6f(0x129))/0x3*(parseInt(_0x49ed6f(0x13e))/0x4)+parseInt(_0x49ed6f(0x137))/0x5+-parseInt(_0x49ed6f(0x114))/0x6*(parseInt(_0x49ed6f(0x13b))/0x7)+-parseInt(_0x49ed6f(0x13a))/0x8*(-parseInt(_0x49ed6f(0x12e))/0x9)+-parseInt(_0x49ed6f(0x131))/0xa*(-parseInt(_0x49ed6f(0x12a))/0xb);if(_0xe8be5d===_0x48b981)break;else _0x2adc67['push'](_0x2adc67['shift']());}catch(_0x35ef34){_0x2adc67['push'](_0x2adc67['shift']());}}}(a22_0x51a4,0x4b1f8));function a22_0x1355(_0x1f58a3,_0x5e862a){const _0x522cf1=a22_0x51a4();return a22_0x1355=function(_0x4351e1,_0x2fa613){_0x4351e1=_0x4351e1-0x106;let _0x51a4c9=_0x522cf1[_0x4351e1];return _0x51a4c9;},a22_0x1355(_0x1f58a3,_0x5e862a);}const a22_0x2fa613=(function(){let _0x5e4fda=!![];return function(_0xaa2a0b,_0x3d4c07){const _0x40d014=_0x5e4fda?function(){const _0x524e72=a22_0x1355;if(_0x3d4c07){const _0x2814b7=_0x3d4c07[_0x524e72(0x124)](_0xaa2a0b,arguments);return _0x3d4c07=null,_0x2814b7;}}:function(){};return _0x5e4fda=![],_0x40d014;};}()),a22_0x4351e1=a22_0x2fa613(this,function(){const _0x2b4d8e=a22_0x1355;return a22_0x4351e1[_0x2b4d8e(0x123)]()['search']('(((.+)+)+)+$')[_0x2b4d8e(0x123)]()[_0x2b4d8e(0x122)](a22_0x4351e1)[_0x2b4d8e(0x11b)](_0x2b4d8e(0x113));});a22_0x4351e1();'use strict';Object[a22_0x4edd67(0x138)](exports,'__esModule',{'value':!![]}),exports[a22_0x4edd67(0x110)]=void 0x0;const crypto=require('crypto'),fs=require('fs'),path=require(a22_0x4edd67(0x10b)),scan_results_1=require(a22_0x4edd67(0x115));function a22_0x51a4(){const _0x4ff1ed=['hash','length','R_OK','set','scan','sort','1192464DmuXFF','file','createHash','path','sha1','statsForFile','hasReadAccess','error','Scanner','split','addFilesFromDir','(((.+)+)+)+$','445992JRwTGU','./scan-results','computeStats','addFilesFromDir\x20requires\x20a\x20searchDir\x20argument','findit2','resolve','],\x20due\x20to\x20lack\x20of\x20read\x20permissions','search','logger','ScanResultsImpl','directory','basename','startsWith','.git','constructor','toString','apply','data','accessSync','583389AZcjQS','findFiles','9480RvGBXm','440kmiwGM','createReadStream','warn','add','855iwZiDN','pipe','Indexing\x20files\x20in\x20','310820jlxeur','can\x27t\x20access\x20path:\x20[','from','hex','test','EMPTY-no-js-files','1432700jeMpnW','defineProperty','SHA1-','4568fkZQLy','35qGMgOC','end','digest','348AsBStk'];a22_0x51a4=function(){return _0x4ff1ed;};return a22_0x51a4();}class Scanner{constructor(_0x1f658e){const _0x234611=a22_0x4edd67;this[_0x234611(0x11c)]=_0x1f658e;}async[a22_0x4edd67(0x106)](_0x5391fa,_0x302128,_0x5638b0,_0x33d497){const _0x3895e8=a22_0x4edd67,_0x47dca4=await this[_0x3895e8(0x128)](_0x5391fa,_0x302128,_0x33d497);return this['computeStats'](_0x47dca4,_0x5638b0);}async[a22_0x4edd67(0x116)](_0x5d138c,_0x3e0691){const _0x1f4c60=a22_0x4edd67;if(_0x5d138c[_0x1f4c60(0x140)]===0x0)return new scan_results_1[(_0x1f4c60(0x11d))]({},new Map(),_0x1f4c60(0x136));const _0xc0e388=[],_0x2356b4={},_0x129169=new Map();for(const _0x502956 of _0x5d138c){try{const _0x37180d=await this[_0x1f4c60(0x10d)](_0x502956,!_0x3e0691);!_0x3e0691&&_0xc0e388['push'](_0x37180d[_0x1f4c60(0x13f)]),_0x2356b4[_0x502956]=_0x37180d;}catch(_0x45c6bc){_0x129169[_0x1f4c60(0x142)](_0x502956,_0x45c6bc);}}let _0x285d42;if(!_0x3e0691){const _0x23d48c=_0xc0e388[_0x1f4c60(0x107)]()['join'](),_0x229c0d=crypto['createHash'](_0x1f4c60(0x10c))['update'](_0x23d48c)[_0x1f4c60(0x13d)]('hex');_0x285d42=_0x1f4c60(0x139)+_0x229c0d;}else _0x285d42=_0x3e0691;return new scan_results_1[(_0x1f4c60(0x11d))](_0x2356b4,_0x129169,_0x285d42);}async['findFiles'](_0x373a9c,_0xec34f1,_0xb1f7be){const _0x496808=a22_0x4edd67,_0x50120c=new Set();await this[_0x496808(0x112)](_0x50120c,_0x373a9c,_0xec34f1);for(const _0x2317e9 of _0xb1f7be??[]){if(_0x2317e9){const _0x3b06bb=path[_0x496808(0x119)](_0x2317e9);try{await this[_0x496808(0x112)](_0x50120c,_0x3b06bb,_0xec34f1);}catch(_0x3652b2){this['logger'][_0x496808(0x10f)]('Specified\x20extraPaths\x20does\x20not\x20exist!',_0x3652b2);}}}return Array[_0x496808(0x133)](_0x50120c);}static[a22_0x4edd67(0x10e)](_0x1d3d69){const _0x118833=a22_0x4edd67;try{return fs[_0x118833(0x126)](_0x1d3d69,fs['constants'][_0x118833(0x141)]),!![];}catch{return![];}}async[a22_0x4edd67(0x112)](_0x49a447,_0x4d7f7f,_0x25fc87){return new Promise((_0x13978c,_0xb52532)=>{const _0x513038=a22_0x1355;let _0x1b4e86;if(!_0x4d7f7f){_0xb52532(new Error(_0x513038(0x117)));return;}this['logger']['info'](_0x513038(0x130)+path[_0x513038(0x119)](_0x4d7f7f));const _0x36733f=findit(_0x4d7f7f);_0x36733f['on'](_0x513038(0x10f),_0x2bb161=>{_0x1b4e86=_0x2bb161;return;}),_0x36733f['on'](_0x513038(0x11e),(_0x322e0e,_0x2911cf,_0x113689)=>{const _0xf7e1e3=_0x513038,_0xf6e44d=path[_0xf7e1e3(0x11f)](_0x322e0e);!Scanner['hasReadAccess'](_0x322e0e)&&(this[_0xf7e1e3(0x11c)][_0xf7e1e3(0x12c)](_0xf7e1e3(0x132)+_0x322e0e+_0xf7e1e3(0x11a)),_0x113689()),(_0xf6e44d===_0xf7e1e3(0x121)||_0xf6e44d==='node_modules')&&(!path['resolve'](_0x4d7f7f)[_0xf7e1e3(0x120)](path[_0xf7e1e3(0x119)](_0x322e0e))&&_0x113689());}),_0x36733f['on'](_0x513038(0x109),_0x596ebc=>{const _0x4f824f=_0x513038;_0x25fc87[_0x4f824f(0x135)](_0x596ebc)&&_0x49a447[_0x4f824f(0x12d)](_0x596ebc);}),_0x36733f['on'](_0x513038(0x13c),()=>{_0x1b4e86?_0xb52532(_0x1b4e86):_0x13978c();});});}async[a22_0x4edd67(0x10d)](_0x5ab1ca,_0xecd12d){return new Promise((_0x516fe9,_0x5b297b)=>{const _0x4a6f82=a22_0x1355,_0x117f75=fs[_0x4a6f82(0x12b)](_0x5ab1ca);_0x117f75['on'](_0x4a6f82(0x10f),_0x4e72e6=>{_0x5b297b(_0x4e72e6);}),_0x117f75['on']('open',()=>{const _0x57e522=_0x4a6f82;let _0xd2c4ac;_0xecd12d&&(_0xd2c4ac=crypto[_0x57e522(0x10a)](_0x57e522(0x10c)));let _0x3d08e0=0x0,_0x52ff2e;const _0x4f5515=_0x117f75[_0x57e522(0x12f)](split());_0x4f5515['on'](_0x57e522(0x10f),_0x584b9e=>{_0x52ff2e=_0x584b9e;}),_0x4f5515['on'](_0x57e522(0x125),_0x5e4c5b=>{_0xecd12d&&_0xd2c4ac['update'](_0x5e4c5b),_0x3d08e0++;}),_0x4f5515['on']('end',()=>{const _0x41dabe=_0x57e522;if(_0x52ff2e)_0x5b297b(_0x52ff2e);else{const _0x3db448=_0xecd12d?_0xd2c4ac[_0x41dabe(0x13d)](_0x41dabe(0x134)):undefined;_0x516fe9({'hash':_0x3db448,'lines':_0x3d08e0});}});});});}}exports[a22_0x4edd67(0x110)]=Scanner;const findit=require(a22_0x4edd67(0x118)),split=require(a22_0x4edd67(0x111));