lightrun 1.76.0 → 1.77.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.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/serverless.js +1 -0
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35_0x190456=a35_0x1f62;function a35_0x1f62(_0x1e5c98,_0x31ab4c){const _0x39fd8f=a35_0x9522();return a35_0x1f62=function(_0x279531,_0x321652){_0x279531=_0x279531-0x1b4;let _0x95222d=_0x39fd8f[_0x279531];return _0x95222d;},a35_0x1f62(_0x1e5c98,_0x31ab4c);}(function(_0x4faf2e,_0x445ab6){const _0x46fd50=a35_0x1f62,_0x18ad64=_0x4faf2e();while(!![]){try{const _0xe792cf=parseInt(_0x46fd50(0x1b9))/0x1+parseInt(_0x46fd50(0x1c2))/0x2+-parseInt(_0x46fd50(0x1b4))/0x3*(-parseInt(_0x46fd50(0x1c7))/0x4)+parseInt(_0x46fd50(0x1bf))/0x5+-parseInt(_0x46fd50(0x1ca))/0x6*(-parseInt(_0x46fd50(0x1c4))/0x7)+-parseInt(_0x46fd50(0x1c5))/0x8+-parseInt(_0x46fd50(0x1c1))/0x9;if(_0xe792cf===_0x445ab6)break;else _0x18ad64['push'](_0x18ad64['shift']());}catch(_0x8d68b){_0x18ad64['push'](_0x18ad64['shift']());}}}(a35_0x9522,0xd729e));const a35_0x321652=(function(){let _0x5ea477=!![];return function(_0x52c5f9,_0x5b1c52){const _0x4af8d0=_0x5ea477?function(){const _0x206eea=a35_0x1f62;if(_0x5b1c52){const _0x54088c=_0x5b1c52[_0x206eea(0x1be)](_0x52c5f9,arguments);return _0x5b1c52=null,_0x54088c;}}:function(){};return _0x5ea477=![],_0x4af8d0;};}()),a35_0x279531=a35_0x321652(this,function(){const _0x4f23ab=a35_0x1f62;return a35_0x279531[_0x4f23ab(0x1b6)]()[_0x4f23ab(0x1ba)](_0x4f23ab(0x1b7))['toString']()[_0x4f23ab(0x1cb)](a35_0x279531)[_0x4f23ab(0x1ba)](_0x4f23ab(0x1b7));});a35_0x279531();function a35_0x9522(){const _0x21a93f=['3714ShSFtA','constructor','291MaRCdp','./inspector-debugapi','toString','(((.+)+)+)+$','wrap','240464fzfgRy','search','defineProperty','InspectorDebugApi','create','apply','2695575JSYzRf','MODULE_WRAP_PREFIX_LENGTH','20150505uEgERJ','3202720lzGwtq','module','7357HZooDM','145952kkdfhw','forceNewAgent_','4412oBzqKM','indexOf','__esModule'];a35_0x9522=function(){return _0x21a93f;};return a35_0x9522();}'use strict';Object[a35_0x190456(0x1bb)](exports,a35_0x190456(0x1c9),{'value':!![]}),exports['MODULE_WRAP_PREFIX_LENGTH']=void 0x0,exports[a35_0x190456(0x1bd)]=create;const inspector_debugapi_1=require(a35_0x190456(0x1b5));exports[a35_0x190456(0x1c0)]=require(a35_0x190456(0x1c3))[a35_0x190456(0x1b8)]('☃')[a35_0x190456(0x1c8)]('☃');let singleton;function create(_0x519159,_0x3ed2ba,_0x18ce8e,_0x18fe5e,_0x519f12){const _0xd1724a=a35_0x190456;if(singleton&&!_0x3ed2ba[_0xd1724a(0x1c6)])return singleton;else singleton&&singleton['disconnect']();return singleton=new inspector_debugapi_1[(_0xd1724a(0x1bc))](_0x519159,_0x3ed2ba,_0x18ce8e,_0x18fe5e,_0x519f12),singleton;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a35_0x294713=a35_0x3451;(function(_0x4f2080,_0x38fd02){const _0x1cb5da=a35_0x3451,_0x5c9e05=_0x4f2080();while(!![]){try{const _0x34b8a9=-parseInt(_0x1cb5da(0x276))/0x1*(parseInt(_0x1cb5da(0x213))/0x2)+-parseInt(_0x1cb5da(0x1ed))/0x3*(-parseInt(_0x1cb5da(0x27a))/0x4)+-parseInt(_0x1cb5da(0x1f2))/0x5*(parseInt(_0x1cb5da(0x27d))/0x6)+parseInt(_0x1cb5da(0x244))/0x7*(-parseInt(_0x1cb5da(0x211))/0x8)+parseInt(_0x1cb5da(0x201))/0x9*(parseInt(_0x1cb5da(0x290))/0xa)+-parseInt(_0x1cb5da(0x269))/0xb*(parseInt(_0x1cb5da(0x219))/0xc)+parseInt(_0x1cb5da(0x216))/0xd;if(_0x34b8a9===_0x38fd02)break;else _0x5c9e05['push'](_0x5c9e05['shift']());}catch(_0xb9bd6a){_0x5c9e05['push'](_0x5c9e05['shift']());}}}(a35_0x4717,0x3f49e));const a35_0x49dacd=(function(){let _0x101794=!![];return function(_0x181ec4,_0x2cc11b){const _0x43b8c7=_0x101794?function(){const _0x32d0de=a35_0x3451;if(_0x2cc11b){const _0x3b69b9=_0x2cc11b[_0x32d0de(0x21b)](_0x181ec4,arguments);return _0x2cc11b=null,_0x3b69b9;}}:function(){};return _0x101794=![],_0x43b8c7;};}()),a35_0x53da5c=a35_0x49dacd(this,function(){const _0x1d2854=a35_0x3451;return a35_0x53da5c[_0x1d2854(0x26d)]()[_0x1d2854(0x256)]('(((.+)+)+)+$')['toString']()[_0x1d2854(0x25e)](a35_0x53da5c)[_0x1d2854(0x256)]('(((.+)+)+)+$');});a35_0x53da5c();'use strict';function a35_0x4717(){const _0x2d1f9b=['processCondition','maxHitCount','compile','setInternal','stringify','needsRecoveryTime','Cannot\x20clear\x20breakpoint\x20-\x20no\x20breakpoint\x20data\x20for\x20id\x20','forEach',',\x20line\x20length:\x20','cleanupAsyncCallStackInterval','some','../util/validator.js','keys','expressionsEvalTimeoutMillis','changeToNS','search','enable','CAPTURE_BREAKPOINT_DATA','v8BreakpointId','SOURCE_FILE_NOT_FOUND','getBreakpointCompiler','../util/utils','findScripts','constructor','capture','removeBreakpoint','wait','javascriptFileExtensions','file','message','StatusMessage','Error!\x20Line\x20is\x20shorter\x20then\x20column.\x20Column:\x20','script','fileStats','2777863iGUToq','BREAKPOINT_CONDITION','lineNumberAfter:\x20','utf-8','toString','response','.\x20Loaded\x20script\x20contained\x20','map','./v8inspector','Printing\x20','\x20chars\x20starting\x20from\x20column\x20','mappingInfo','platform','334527PdSBst','setAndStoreBreakpoint','expressions','setBreakpointByUrl','4JHlLtg',':\x20`','logMessageFormat','6fAJSYi','Unable\x20to\x20unambiguously\x20find\x20','substring','LOG','extname','acorn','../blocklisting/dummy-blocklist-manager','VARIABLE_VALUE','defineProperty','isFileIndexed','fileIndex','DISALLOWED_EXPRESSION','action','Failed\x20to\x20evaluate\x20condition\x20','Found\x20script\x20file:\x20','numBreakpoints','parse','win32','printDebugCodeLine','11330RLScQz','replace','push','quota','evaluate','condition\x20','Creating\x20InspectorDebugApi','numBreakpoints_','Source\x20map\x20is\x20FOUND\x20for\x20','applyDynamicLogsCPUQuota','hasMappingInfo','applyConditionQuota','SYNTAX_ERROR_IN_CONDITION','errors','SOURCE_FILE_AMBIGUOUS','1081794WmlyPU','warn','BREAKPOINT_PATH_BLOCKED','Breakpoint\x20is\x20added\x20to\x20a\x20given\x20location.\x20Id:\x20','listener','1879115AofsQX','UNSPECIFIED','split','callFrames','The\x20line\x20is\x20not\x20found\x20in\x20the\x20script\x20file','length','listeners','hrtime','evaluatedExpressions','recovered','condition','disable','pipingStatus','error','BREAKPOINT_SOURCE_LOCATION','3789uDXNXg','normalize','Searching\x20for\x20a\x20script\x20file:\x20','onBreakpointHit','logger','ERROR_EVALUATING_CONDITION','Cannot\x20clear\x20breakpoint\x20-\x20id\x20is\x20undefined','sourcemapper','V8_BREAKPOINT_CLEAR_ERROR','Unable\x20to\x20compile\x20condition\x20>>\x20','blocklistManager','v8Inspector','>>>breakpoint\x20hit<<<\x20number:\x20','hash','detach','location','2713112IsWGGR','\x20<<','2dSSqyp','locationMapper','column','9407593zrcgIy','set','capture\x20time:\x20','12ZLUHPh','Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20','apply','\x20chars\x20from\x20the\x20line:\x0a','InspectorDebugApi','value','../state/inspector-state','breakpoints','file:///','BreakpointData','config','scriptMapper','breakpointMapper','remainingHits','apiBreakpoint','breakpointId','object','description','path','Installing\x20','isValid','../../client/stackdriver/status-message','INVALID_BREAKPOINT','locationStr','The\x20whole\x20line:\x20`','V8_BREAKPOINT_ERROR','stackFrames','line','Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20','quotaManager','file://','hitBreakpoints','undefined','debug','handleDebugPausedEvent','info','setErrorStatusAndCallback','captureBreakpointData','setBlocklistManager','Failed\x20to\x20put\x20the\x20breakpoint\x20in\x20','shouldBlock','lines','enabled','7LVZceU','lineNumberAfterAfter:\x20','\x20lines.\x20Please\x20ensure\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the\x20deployed\x20source.'];a35_0x4717=function(){return _0x2d1f9b;};return a35_0x4717();}function a35_0x3451(_0x7dcad0,_0x1b9344){const _0x41b779=a35_0x4717();return a35_0x3451=function(_0x53da5c,_0x49dacd){_0x53da5c=_0x53da5c-0x1eb;let _0x471762=_0x41b779[_0x53da5c];return _0x471762;},a35_0x3451(_0x7dcad0,_0x1b9344);}Object[a35_0x294713(0x285)](exports,'__esModule',{'value':!![]}),exports[a35_0x294713(0x21d)]=exports[a35_0x294713(0x222)]=void 0x0;const acorn=require(a35_0x294713(0x282)),path=require('path'),status_message_1=require(a35_0x294713(0x22e)),state=require(a35_0x294713(0x21f)),utils_1=require(a35_0x294713(0x25c)),v8inspector_1=require(a35_0x294713(0x271)),dummy_blocklist_manager_1=require(a35_0x294713(0x283)),fs_1=require('fs');class BreakpointData{constructor(_0x477dfc,_0x486df1,_0xe7909,_0x591eaa,_0x445a19,_0x7a0f40,_0x1bfc92,_0x233d39){const _0x128d8a=a35_0x294713;this['id']=_0x477dfc,this[_0x128d8a(0x227)]=_0x486df1,this['parsedCondition']=_0xe7909,this['locationStr']=_0x591eaa,this['compile']=_0x445a19,this['remainingHits']=_0x7a0f40,this['ignoreQuota']=_0x1bfc92,this[_0x128d8a(0x1fe)]=_0x233d39;}}exports[a35_0x294713(0x222)]=BreakpointData;class InspectorDebugApi{constructor(_0x13100c,_0x59ce92,_0x1a282e,_0x715bd4,_0x55cf60){const _0x20a009=a35_0x294713;this[_0x20a009(0x220)]={},this['listeners']={},this['scriptMapper']={},this[_0x20a009(0x214)]={},this[_0x20a009(0x225)]={},this[_0x20a009(0x28c)]=0x0,_0x13100c[_0x20a009(0x23a)](_0x20a009(0x296)),this[_0x20a009(0x250)]=null,this[_0x20a009(0x205)]=_0x13100c,this[_0x20a009(0x223)]=_0x59ce92,this[_0x20a009(0x287)]=_0x1a282e,this[_0x20a009(0x208)]=_0x715bd4,this[_0x20a009(0x20c)]=new v8inspector_1['V8Inspector'](_0x13100c,!![],this[_0x20a009(0x223)]['resetV8DebuggerThreshold'],_0x14787a=>{const _0x4e04e0=_0x20a009;this[_0x4e04e0(0x224)][_0x14787a['scriptId']]=_0x14787a;},_0x5c3761=>{const _0x17efaa=_0x20a009;try{this['handleDebugPausedEvent'](_0x5c3761);}catch(_0x32b150){this[_0x17efaa(0x205)]['error'](_0x32b150);}},()=>{this['scriptMapper']={};}),this[_0x20a009(0x236)]=_0x55cf60,this[_0x20a009(0x20b)]=new dummy_blocklist_manager_1['DummyBlocklistManager'](!![]);}[a35_0x294713(0x217)](_0x36e9f8,_0x1b7abb){const _0x2b2e56=a35_0x294713;if(typeof _0x36e9f8?.['id']==='undefined'||!_0x36e9f8[_0x2b2e56(0x210)]?.[_0x2b2e56(0x22b)]||!_0x36e9f8['location'][_0x2b2e56(0x234)])return(0x0,utils_1[_0x2b2e56(0x23d)])(_0x1b7abb,_0x36e9f8,status_message_1[_0x2b2e56(0x265)][_0x2b2e56(0x1f3)],utils_1[_0x2b2e56(0x1eb)][_0x2b2e56(0x22f)]);this[_0x2b2e56(0x205)]['debug'](_0x2b2e56(0x22c),_0x36e9f8?.['action'],_0x36e9f8?.[_0x2b2e56(0x210)]?.[_0x2b2e56(0x22b)],_0x36e9f8?.[_0x2b2e56(0x210)]?.[_0x2b2e56(0x234)]);const _0x1d3132=path[_0x2b2e56(0x202)](_0x36e9f8[_0x2b2e56(0x210)][_0x2b2e56(0x22b)]);if(!this[_0x2b2e56(0x208)][_0x2b2e56(0x29a)](_0x1d3132)){this[_0x2b2e56(0x205)][_0x2b2e56(0x23c)]('Source\x20map\x20is\x20NOT\x20found\x20for\x20',_0x1d3132);const _0x2f398b=path[_0x2b2e56(0x281)](_0x1d3132);if(!this['config'][_0x2b2e56(0x262)]['includes'](_0x2f398b)){const _0x323dab=_0x1d3132['substring'](0x0,_0x1d3132[_0x2b2e56(0x1f7)]-_0x2f398b[_0x2b2e56(0x1f7)]),_0x175871=this[_0x2b2e56(0x223)][_0x2b2e56(0x262)][_0x2b2e56(0x270)](_0x470770=>_0x323dab+_0x470770)[_0x2b2e56(0x251)](_0x2d3572=>(0x0,utils_1[_0x2b2e56(0x286)])(_0x2d3572,this[_0x2b2e56(0x287)])),_0x30f716=_0x175871?utils_1['errors']['COULD_NOT_FIND_MAPPING_FILE']:utils_1[_0x2b2e56(0x1eb)][_0x2b2e56(0x25a)];return(0x0,utils_1[_0x2b2e56(0x23d)])(_0x1b7abb,_0x36e9f8,status_message_1['StatusMessage'][_0x2b2e56(0x200)],_0x30f716);}this[_0x2b2e56(0x24a)](_0x36e9f8,null,null,_0x1b7abb);}else{this[_0x2b2e56(0x205)]['info'](_0x2b2e56(0x298),_0x1d3132);const {line:_0x338ff6}=_0x36e9f8[_0x2b2e56(0x210)],_0x77bdf=0x0,_0x51f12a=this[_0x2b2e56(0x208)][_0x2b2e56(0x274)](_0x1d3132,_0x338ff6,_0x77bdf);this['logger']['debug']('mapInfo\x20',_0x51f12a?.[_0x2b2e56(0x263)],_0x51f12a?.['line'],_0x51f12a?.[_0x2b2e56(0x215)]);const _0x1eb0ca=(0x0,utils_1[_0x2b2e56(0x25b)])(_0x36e9f8);if(_0x36e9f8[_0x2b2e56(0x1fc)]&&_0x1eb0ca)try{_0x36e9f8[_0x2b2e56(0x1fc)]=_0x1eb0ca(_0x36e9f8['condition']);}catch{return this[_0x2b2e56(0x205)][_0x2b2e56(0x1ee)](_0x2b2e56(0x20a)+_0x36e9f8['condition']+_0x2b2e56(0x212)),(0x0,utils_1['setErrorStatusAndCallback'])(_0x1b7abb,_0x36e9f8,status_message_1[_0x2b2e56(0x265)]['BREAKPOINT_CONDITION'],utils_1[_0x2b2e56(0x1eb)]['ERROR_COMPILING_CONDITION']);}this['setInternal'](_0x36e9f8,_0x51f12a,_0x1eb0ca,_0x1b7abb);}}['clear'](_0x34b3cc,_0xee5436){const _0x10bc15=a35_0x294713;if(typeof _0x34b3cc['id']===_0x10bc15(0x239))return this[_0x10bc15(0x205)][_0x10bc15(0x23a)](_0x10bc15(0x207)),(0x0,utils_1[_0x10bc15(0x23d)])(_0xee5436,_0x34b3cc,status_message_1[_0x10bc15(0x265)][_0x10bc15(0x26a)],utils_1[_0x10bc15(0x1eb)][_0x10bc15(0x209)]);const _0x5e742c=this[_0x10bc15(0x220)][_0x34b3cc['id']];if(!_0x5e742c)return this[_0x10bc15(0x205)][_0x10bc15(0x23a)](_0x10bc15(0x24d)+_0x34b3cc['id']),(0x0,utils_1[_0x10bc15(0x23d)])(_0xee5436,_0x34b3cc,status_message_1[_0x10bc15(0x265)][_0x10bc15(0x26a)],utils_1['errors'][_0x10bc15(0x209)]);const {locationStr:_0x48bdf3}=_0x5e742c,_0xde691c=_0x5e742c['id'];(0x0,utils_1['removeFirstOccurrenceInArray'])(this[_0x10bc15(0x214)][_0x48bdf3],_0x34b3cc['id']);this[_0x10bc15(0x214)][_0x48bdf3]['length']===0x0&&delete this[_0x10bc15(0x214)][_0x48bdf3];(0x0,utils_1['removeFirstOccurrenceInArray'])(this[_0x10bc15(0x225)][_0xde691c],_0x34b3cc['id']);this[_0x10bc15(0x225)][_0xde691c][_0x10bc15(0x1f7)]===0x0&&delete this[_0x10bc15(0x225)][_0xde691c];let _0x2b4292={};!this[_0x10bc15(0x225)][_0x5e742c['id']]&&(_0x2b4292=this[_0x10bc15(0x20c)][_0x10bc15(0x260)](_0x5e742c['id'])),delete this[_0x10bc15(0x220)][_0x34b3cc['id']],delete this[_0x10bc15(0x1f8)][_0x34b3cc['id']],this[_0x10bc15(0x28c)]--,setImmediate(()=>{const _0x1c3eaf=_0x10bc15;_0x2b4292['error']?_0xee5436(_0x2b4292[_0x1c3eaf(0x1ff)]):_0xee5436(null);});}[a35_0x294713(0x261)](_0x6adf1d,_0x478427){const _0x47a1e8=a35_0x294713,_0x5a1004=this[_0x47a1e8(0x204)]['bind'](this,_0x6adf1d,_0x518cae=>{const _0x1d539b=_0x47a1e8,_0x252be5=--this['breakpoints'][_0x6adf1d['id']][_0x1d539b(0x226)];(_0x252be5<=0x0||_0x518cae)&&(this[_0x1d539b(0x1f8)][_0x6adf1d['id']][_0x1d539b(0x243)]=![]),_0x478427(_0x518cae??undefined);});this[_0x47a1e8(0x1f8)][_0x6adf1d['id']]={'enabled':!![],'listener':_0x5a1004};}['log'](_0x417ecd,_0x1c1033,_0xa64b0b,_0x3328c4){const _0x2861d9=a35_0x294713,_0x5bbbe6=this[_0x2861d9(0x204)]['bind'](this,_0x417ecd,_0x2cc1f1=>{const _0x381b45=_0x2861d9;if(_0x2cc1f1){this[_0x381b45(0x1f8)][_0x417ecd['id']][_0x381b45(0x243)]=![],setImmediate(()=>{_0x3328c4(_0x2cc1f1||undefined);});return;}_0x1c1033(_0x417ecd[_0x381b45(0x27c)],_0x417ecd[_0x381b45(0x1fa)]),_0x417ecd['evaluatedExpressions']=[],_0xa64b0b()?this[_0x381b45(0x1f8)][_0x417ecd['id']][_0x381b45(0x243)]=![]:this['quotaManager'][_0x381b45(0x24c)](_0x417ecd['id'])&&(this['listeners'][_0x417ecd['id']][_0x381b45(0x243)]=![],setTimeout(()=>{const _0x1b8d81=_0x381b45;!_0xa64b0b()&&this[_0x1b8d81(0x1f8)][_0x417ecd['id']]&&(this[_0x1b8d81(0x1f8)][_0x417ecd['id']][_0x1b8d81(0x243)]=!![]),this['quotaManager'][_0x1b8d81(0x1fb)](_0x417ecd['id']);},this['config'][_0x381b45(0x293)]['quotaRecoverySeconds']*0x3e8));});this['listeners'][_0x417ecd['id']]={'enabled':!![],'listener':_0x5bbbe6};}['disconnect'](){const _0x3bf8ee=a35_0x294713;this[_0x3bf8ee(0x20c)][_0x3bf8ee(0x20f)]();}['enable'](){const _0xafabde=a35_0x294713;this[_0xafabde(0x20c)][_0xafabde(0x257)]();}['disable'](){const _0x208d65=a35_0x294713;this[_0x208d65(0x20c)][_0x208d65(0x1fd)]();}[a35_0x294713(0x297)](){const _0x45a0a8=a35_0x294713;return Object['keys'](this[_0x45a0a8(0x220)])['length'];}['numListeners_'](){const _0x716c22=a35_0x294713;return Object[_0x716c22(0x253)](this['listeners'])[_0x716c22(0x1f7)];}[a35_0x294713(0x226)](_0x48ff0e){const _0x5551a7=a35_0x294713;return this[_0x5551a7(0x220)][_0x48ff0e][_0x5551a7(0x226)];}[a35_0x294713(0x23f)](_0x33301a){this['blocklistManager']=_0x33301a;}[a35_0x294713(0x24a)](_0x2d5dbb,_0x3a10db,_0x4ab7e5,_0x404f16){const _0x1b811d=a35_0x294713;let _0x541c9c=null;if(_0x2d5dbb[_0x1b811d(0x1fc)])try{_0x541c9c=acorn[_0x1b811d(0x28d)](_0x2d5dbb['condition'],{'sourceType':_0x1b811d(0x267),'ecmaVersion':0xb});const _0x513658=require(_0x1b811d(0x252));if(!_0x513658[_0x1b811d(0x22d)](_0x541c9c,![]))return(0x0,utils_1[_0x1b811d(0x23d)])(_0x404f16,_0x2d5dbb,status_message_1[_0x1b811d(0x265)]['BREAKPOINT_CONDITION'],utils_1[_0x1b811d(0x1eb)][_0x1b811d(0x288)]);}catch(_0x12bf6b){return(0x0,utils_1[_0x1b811d(0x23d)])(_0x404f16,_0x2d5dbb,status_message_1['StatusMessage'][_0x1b811d(0x26a)],{...utils_1[_0x1b811d(0x1eb)][_0x1b811d(0x29c)],'parameters':[_0x12bf6b[_0x1b811d(0x264)]]});}let _0x5d846a;const _0x18c1d3=_0x3a10db?_0x3a10db[_0x1b811d(0x263)]:path['normalize'](_0x2d5dbb[_0x1b811d(0x210)]['path']);this[_0x1b811d(0x205)][_0x1b811d(0x23a)](_0x1b811d(0x203),_0x18c1d3);const _0x37af32=(0x0,utils_1[_0x1b811d(0x25d)])(_0x18c1d3,this[_0x1b811d(0x223)],this['fileIndex'],this[_0x1b811d(0x205)]);if(_0x37af32[_0x1b811d(0x1f7)]===0x0)return(0x0,utils_1[_0x1b811d(0x23d)])(_0x404f16,_0x2d5dbb,status_message_1['StatusMessage'][_0x1b811d(0x200)],utils_1[_0x1b811d(0x1eb)][_0x1b811d(0x25a)]);else{if(_0x37af32[_0x1b811d(0x1f7)]===0x1)this['logger'][_0x1b811d(0x23a)](_0x1b811d(0x28b),_0x37af32[0x0]),[_0x5d846a]=_0x37af32;else return this['logger'][_0x1b811d(0x1ee)](_0x1b811d(0x27e)+_0x18c1d3+'.\x20Potential\x20matches:\x20'+_0x37af32),(0x0,utils_1[_0x1b811d(0x23d)])(_0x404f16,_0x2d5dbb,status_message_1[_0x1b811d(0x265)][_0x1b811d(0x200)],utils_1[_0x1b811d(0x1eb)][_0x1b811d(0x1ec)]);}if(this[_0x1b811d(0x20b)][_0x1b811d(0x241)](_0x5d846a))return(0x0,utils_1[_0x1b811d(0x23d)])(_0x404f16,_0x2d5dbb,status_message_1[_0x1b811d(0x265)][_0x1b811d(0x200)],utils_1[_0x1b811d(0x1eb)][_0x1b811d(0x1ef)]);const _0x58708c=_0x3a10db?.[_0x1b811d(0x215)]??_0x2d5dbb[_0x1b811d(0x210)][_0x1b811d(0x215)]??0x0,_0x3c86b2=_0x3a10db?_0x3a10db[_0x1b811d(0x234)]:_0x2d5dbb[_0x1b811d(0x210)][_0x1b811d(0x234)],_0x55ed02=this[_0x1b811d(0x287)][_0x1b811d(0x268)][_0x5d846a];this[_0x1b811d(0x205)][_0x1b811d(0x23a)]('FileStats.\x20Lines\x20Count:\x20',_0x55ed02?.[_0x1b811d(0x242)],'hash:\x20',_0x55ed02?.[_0x1b811d(0x20e)]);if(_0x3c86b2>=_0x55ed02['lines']||_0x3c86b2<0x1){const _0x50d6d6=utils_1[_0x1b811d(0x1eb)]['INVALID_LINE_NUMBER'][_0x1b811d(0x22a)]+_0x5d846a,{lines:_0x42ad3d}=this[_0x1b811d(0x287)][_0x1b811d(0x268)][_0x5d846a];return(0x0,utils_1[_0x1b811d(0x23d)])(_0x404f16,_0x2d5dbb,status_message_1[_0x1b811d(0x265)][_0x1b811d(0x200)],{...utils_1[_0x1b811d(0x1eb)]['INVALID_LINE_NUMBER'],'description':_0x50d6d6+':'+_0x3c86b2+_0x1b811d(0x26f)+_0x42ad3d+_0x1b811d(0x246)});}const _0x329909=this[_0x1b811d(0x277)](_0x2d5dbb,_0x3c86b2,_0x58708c,_0x5d846a);if(!_0x329909)return(0x0,utils_1[_0x1b811d(0x23d)])(_0x404f16,_0x2d5dbb,status_message_1[_0x1b811d(0x265)]['BREAKPOINT_SOURCE_LOCATION'],utils_1['errors'][_0x1b811d(0x232)]);this[_0x1b811d(0x220)][_0x2d5dbb['id']]=new BreakpointData(_0x329909[_0x1b811d(0x259)],_0x2d5dbb,_0x541c9c,_0x329909[_0x1b811d(0x230)],_0x4ab7e5,_0x2d5dbb[_0x1b811d(0x248)]||0x1,_0x2d5dbb['ignoreQuota'],_0x2d5dbb['pipingStatus']),this[_0x1b811d(0x28c)]++,setImmediate(()=>{_0x404f16(null);});}[a35_0x294713(0x277)](_0x2148d3,_0x2703a8,_0x4f65ec,_0x39762a){const _0x48ef67=a35_0x294713,_0x114d46=JSON['stringify']({'file':_0x39762a,'line':_0x2703a8,'column':_0x4f65ec});let _0x31f841;if(!this['locationMapper'][_0x114d46]){this['inspectScriptForDebug'](_0x39762a,_0x2703a8,_0x4f65ec);const _0x568d8d=this[_0x48ef67(0x20c)]['shouldUseWellFormattedUrl']()?_0x48ef67(0x237)+_0x39762a:_0x39762a,_0x236f34=process[_0x48ef67(0x275)]===_0x48ef67(0x28e)?_0x568d8d[_0x48ef67(0x291)](/^file:\/\//,_0x48ef67(0x221))[_0x48ef67(0x291)](/\\/g,'/'):_0x568d8d,_0x4145c7=this[_0x48ef67(0x20c)][_0x48ef67(0x279)]({'lineNumber':_0x2703a8-0x1,'url':encodeURI(_0x236f34),'columnNumber':_0x4f65ec});if(_0x4145c7[_0x48ef67(0x1ff)]||!_0x4145c7[_0x48ef67(0x26e)])return this['logger'][_0x48ef67(0x1ff)](_0x48ef67(0x240)+_0x236f34+':'+_0x2703a8+',\x20'+('setBreakpointByUrl\x20error:\x20'+JSON[_0x48ef67(0x24b)](_0x4145c7[_0x48ef67(0x1ff)]))),null;_0x31f841=_0x4145c7['response'][_0x48ef67(0x228)],this[_0x48ef67(0x205)][_0x48ef67(0x23c)](_0x48ef67(0x1f0),_0x31f841),delete this['locationMapper'][_0x114d46],delete this[_0x48ef67(0x225)][_0x31f841],this[_0x48ef67(0x214)][_0x114d46]=[],this[_0x48ef67(0x225)][_0x31f841]=[];}else _0x31f841=this[_0x48ef67(0x220)][this[_0x48ef67(0x214)][_0x114d46][0x0]]['id'],this[_0x48ef67(0x205)][_0x48ef67(0x23c)]('Breakpoint\x20is\x20found\x20at\x20a\x20given\x20location.\x20Id:\x20',_0x31f841);return this[_0x48ef67(0x214)][_0x114d46]['push'](_0x2148d3['id']),this['breakpointMapper'][_0x31f841][_0x48ef67(0x292)](_0x2148d3['id']),{'v8BreakpointId':_0x31f841,'locationStr':_0x114d46};}['inspectScriptForDebug'](_0x179bea,_0x6df6ac,_0x392a23){const _0x18facf=a35_0x294713;try{if(!this[_0x18facf(0x223)]['internal']['sourceMapDiagnostics'])return;const _0x49b526=(0x0,fs_1['readFileSync'])(_0x179bea,_0x18facf(0x26c)),_0x24cc2e=_0x49b526[_0x18facf(0x1f4)](/\r?\n/),_0x59c4eb=_0x6df6ac-0x2,_0x5b22c1=_0x6df6ac-0x1,_0x431112=_0x6df6ac;this[_0x18facf(0x28f)]('lineNumberBefore:\x20'+_0x59c4eb,_0x24cc2e[_0x59c4eb],_0x392a23),this[_0x18facf(0x28f)](_0x18facf(0x26b)+_0x5b22c1,_0x24cc2e[_0x5b22c1],_0x392a23),this['printDebugCodeLine'](_0x18facf(0x245)+_0x431112,_0x24cc2e[_0x431112],_0x392a23);}catch(_0x431337){this['logger']['error']('inspectScriptForDebug.',_0x431337);}}[a35_0x294713(0x28f)](_0x430331,_0x55ddb0,_0x182be8){const _0x1cf725=a35_0x294713;this[_0x1cf725(0x205)][_0x1cf725(0x23a)](_0x430331);if(!_0x55ddb0){this['logger'][_0x1cf725(0x23a)](_0x1cf725(0x1f6));return;}const _0x5c1fd5=0x12c;_0x182be8=_0x182be8||0x0;if(_0x55ddb0[_0x1cf725(0x1f7)]<=_0x5c1fd5)this[_0x1cf725(0x205)]['debug'](_0x1cf725(0x231)+_0x55ddb0+'`.\x20column:\x20'+_0x182be8);else{if(_0x55ddb0[_0x1cf725(0x1f7)]>_0x182be8){const _0x278459=_0x55ddb0[_0x1cf725(0x27f)](_0x182be8,_0x5c1fd5);this[_0x1cf725(0x205)]['debug'](_0x1cf725(0x272)+_0x5c1fd5+_0x1cf725(0x273)+_0x182be8+_0x1cf725(0x27b)+_0x278459+'`');}else{this['logger']['debug'](_0x1cf725(0x266)+_0x182be8+_0x1cf725(0x24f)+_0x55ddb0[_0x1cf725(0x1f7)]);const _0x24eb63=_0x55ddb0[_0x1cf725(0x27f)](0x0,_0x5c1fd5);this[_0x1cf725(0x205)][_0x1cf725(0x23a)]('Printing\x20first\x20'+_0x5c1fd5+_0x1cf725(0x21c)+_0x24eb63);}}}[a35_0x294713(0x247)](_0x55b76f,_0x435b0d){const _0x44d42d=a35_0x294713,_0x434e00=this[_0x44d42d(0x223)][_0x44d42d(0x254)],{condition:_0x17390c}=_0x55b76f;if(_0x17390c){const _0x314bab=process[_0x44d42d(0x1f9)](),_0x5c977e=state[_0x44d42d(0x294)](_0x17390c,_0x435b0d,this[_0x44d42d(0x20c)],!![],_0x434e00),_0x1e8fd9=process[_0x44d42d(0x1f9)](_0x314bab);if(!this['quotaManager']['ignoreQuota']){const _0x100853=this[_0x44d42d(0x255)](_0x1e8fd9),_0x93eace=this[_0x44d42d(0x236)][_0x44d42d(0x29b)](_0x100853,_0x55b76f);if(_0x93eace)return[undefined,_0x93eace];}if(_0x5c977e[_0x44d42d(0x1ff)])return this[_0x44d42d(0x205)][_0x44d42d(0x23a)](_0x44d42d(0x28a)+_0x17390c+'\x20due\x20to\x20error:\x20',_0x5c977e['error']),[undefined,{...utils_1[_0x44d42d(0x1eb)][_0x44d42d(0x206)],'description':(utils_1[_0x44d42d(0x1eb)][_0x44d42d(0x206)]['description']??'')+_0x5c977e[_0x44d42d(0x1ff)]['description']}];if(!_0x5c977e[_0x44d42d(0x229)]['value'])return this[_0x44d42d(0x205)][_0x44d42d(0x23a)](_0x44d42d(0x295)+_0x17390c+'\x20evaluated\x20to\x20false\x20-\x20skipping\x20breakpoint'),[![],undefined];}return[!![],undefined];}['onBreakpointHit'](_0x3eff27,_0x5a1a3f,_0x4f3236){const _0x104afd=a35_0x294713,[_0x1ea824,_0x52454d]=this['processCondition'](_0x3eff27,_0x4f3236[0x0]);if(_0x52454d!==undefined){(0x0,utils_1[_0x104afd(0x23d)])(_0x5a1a3f,_0x3eff27,status_message_1['StatusMessage'][_0x104afd(0x26a)],_0x52454d);return;}if(_0x1ea824===![])return;const _0x24fe64=process[_0x104afd(0x1f9)]();try{this[_0x104afd(0x23e)](_0x3eff27,_0x4f3236);}catch(_0x1def62){return(0x0,utils_1['setErrorStatusAndCallback'])(_0x5a1a3f,_0x3eff27,status_message_1[_0x104afd(0x265)][_0x104afd(0x200)],utils_1['errors'][_0x104afd(0x258)]+_0x1def62);}const _0x52394f=process[_0x104afd(0x1f9)](_0x24fe64),_0x12dff3=this['changeToNS'](_0x52394f);this[_0x104afd(0x236)][_0x104afd(0x299)](_0x3eff27['id'],_0x12dff3),this[_0x104afd(0x205)][_0x104afd(0x23a)]((0x0,utils_1['formatInterval'])(_0x104afd(0x218),_0x52394f)),_0x5a1a3f(null);}[a35_0x294713(0x23e)](_0x382d3c,_0x36d02c){const _0x5e9877=a35_0x294713,_0x5a396c=[];if(_0x382d3c[_0x5e9877(0x278)]&&this[_0x5e9877(0x220)][_0x382d3c['id']][_0x5e9877(0x249)])for(let _0x544c89=0x0;_0x544c89<_0x382d3c[_0x5e9877(0x278)][_0x5e9877(0x1f7)];_0x544c89++){try{_0x382d3c[_0x5e9877(0x278)][_0x544c89]=this['breakpoints'][_0x382d3c['id']][_0x5e9877(0x249)](_0x382d3c[_0x5e9877(0x278)][_0x544c89]);}catch{this[_0x5e9877(0x205)][_0x5e9877(0x1ee)](_0x5e9877(0x235)+_0x382d3c['expressions'][_0x544c89]+_0x5e9877(0x212)),_0x5a396c[_0x5e9877(0x292)]({'name':_0x382d3c[_0x5e9877(0x278)][_0x544c89],'status':new status_message_1[(_0x5e9877(0x265))](status_message_1[_0x5e9877(0x265)][_0x5e9877(0x284)],utils_1['errors']['EXPRESSION_COMPILING_ERROR'],!![])}),_0x382d3c['expressions']['splice'](_0x544c89,0x1),_0x544c89--;}}if(_0x382d3c[_0x5e9877(0x289)]===_0x5e9877(0x280)){if(!_0x382d3c['expressions'])_0x382d3c['evaluatedExpressions']=[];else{const [_0x370cce]=_0x36d02c;_0x382d3c[_0x5e9877(0x1fa)]=_0x382d3c['expressions']['map'](_0x3eeffa=>{const _0x3b0f8e=_0x5e9877,_0x4611ad=state['evaluate'](_0x3eeffa,_0x370cce,this[_0x3b0f8e(0x20c)],!![],this[_0x3b0f8e(0x223)]['expressionsEvalTimeoutMillis']);return _0x4611ad[_0x3b0f8e(0x1ff)]?_0x4611ad[_0x3b0f8e(0x1ff)]:_0x4611ad[_0x3b0f8e(0x229)][_0x3b0f8e(0x21e)];});}}else{const _0x1be807=state[_0x5e9877(0x25f)](_0x36d02c,_0x382d3c,this['config'],this[_0x5e9877(0x224)],this['v8Inspector'],this[_0x5e9877(0x20b)],this['sourcemapper']);_0x382d3c[_0x5e9877(0x210)]&&(0x0,utils_1['isJavaScriptFile'])(_0x382d3c[_0x5e9877(0x210)][_0x5e9877(0x22b)])&&(_0x382d3c[_0x5e9877(0x210)][_0x5e9877(0x234)]=_0x36d02c[0x0][_0x5e9877(0x210)]['lineNumber']+0x1),_0x382d3c[_0x5e9877(0x233)]=_0x1be807[_0x5e9877(0x233)],_0x382d3c['variableTable']=_0x1be807['variableTable'],_0x382d3c['evaluatedExpressions']=_0x5a396c['concat'](_0x1be807[_0x5e9877(0x1fa)]);}}[a35_0x294713(0x23b)](_0x5f1fb5){const _0x45fa69=a35_0x294713;try{if(!_0x5f1fb5['hitBreakpoints'])return;const _0x472aab=_0x5f1fb5[_0x45fa69(0x238)][0x0],_0x3667b8=this['breakpointMapper'][_0x472aab];if(!_0x3667b8)return;_0x3667b8[_0x45fa69(0x24e)](_0x9cfd15=>{const _0x432ee3=_0x45fa69;this[_0x432ee3(0x1f8)][_0x9cfd15][_0x432ee3(0x243)]&&(this['logger'][_0x432ee3(0x23a)](_0x432ee3(0x20d)+_0x9cfd15),this[_0x432ee3(0x1f8)][_0x9cfd15][_0x432ee3(0x1f1)](_0x5f1fb5[_0x432ee3(0x1f5)]));});}catch(_0x1bb81d){this['logger'][_0x45fa69(0x1ee)](_0x45fa69(0x21a)+_0x1bb81d);}}['changeToNS'](_0x36481c){return _0x36481c[0x0]*0x3b9aca00+_0x36481c[0x1];}}exports[a35_0x294713(0x21d)]=InspectorDebugApi;
|
|
1
|
+
const a36_0x36bdda=a36_0x1b38;(function(_0x26f2ab,_0x74fffd){const _0xcaeb61=a36_0x1b38,_0x1ad9c1=_0x26f2ab();while(!![]){try{const _0x48b90e=parseInt(_0xcaeb61(0x259))/0x1+parseInt(_0xcaeb61(0x201))/0x2+-parseInt(_0xcaeb61(0x1e8))/0x3+-parseInt(_0xcaeb61(0x204))/0x4*(parseInt(_0xcaeb61(0x251))/0x5)+-parseInt(_0xcaeb61(0x260))/0x6*(-parseInt(_0xcaeb61(0x1cd))/0x7)+-parseInt(_0xcaeb61(0x1d4))/0x8+parseInt(_0xcaeb61(0x206))/0x9;if(_0x48b90e===_0x74fffd)break;else _0x1ad9c1['push'](_0x1ad9c1['shift']());}catch(_0x3c8806){_0x1ad9c1['push'](_0x1ad9c1['shift']());}}}(a36_0xaf2a,0xb7013));const a36_0x2a5575=(function(){let _0x123aff=!![];return function(_0x1779cf,_0x416464){const _0x3cc6aa=_0x123aff?function(){const _0x17a3da=a36_0x1b38;if(_0x416464){const _0x386c81=_0x416464[_0x17a3da(0x265)](_0x1779cf,arguments);return _0x416464=null,_0x386c81;}}:function(){};return _0x123aff=![],_0x3cc6aa;};}()),a36_0x28e859=a36_0x2a5575(this,function(){const _0x186cb6=a36_0x1b38;return a36_0x28e859[_0x186cb6(0x254)]()['search'](_0x186cb6(0x1f8))[_0x186cb6(0x254)]()[_0x186cb6(0x1eb)](a36_0x28e859)[_0x186cb6(0x1d5)]('(((.+)+)+)+$');});a36_0x28e859();function a36_0xaf2a(){const _0x39af1e=['debug','BreakpointData','isJavaScriptFile','../util/utils','message','breakpoints','stringify','10079629GcrxWV','INVALID_LINE_NUMBER','The\x20whole\x20line:\x20`','isValid','Failed\x20to\x20put\x20the\x20breakpoint\x20in\x20','COULD_NOT_FIND_MAPPING_FILE','onBreakpointHit','744472zCyyOW','search','condition','recovered','DISALLOWED_EXPRESSION','pipingStatus','expressions','readFileSync','forEach','errors','v8BreakpointId','remainingHits','setBreakpointByUrl\x20error:\x20','scriptMapper','breakpointId','Printing\x20','setBreakpointByUrl','enabled','getBreakpointCompiler','ERROR_EVALUATING_CONDITION','3885504UhQIko','lines','Source\x20map\x20is\x20NOT\x20found\x20for\x20','constructor','Unable\x20to\x20compile\x20condition\x20>>\x20','stackFrames','hash','ERROR_COMPILING_CONDITION','Cannot\x20clear\x20breakpoint\x20-\x20no\x20breakpoint\x20data\x20for\x20id\x20','setInternal','../util/validator.js','sourceMapDiagnostics','config','Searching\x20for\x20a\x20script\x20file:\x20','CAPTURE_BREAKPOINT_DATA','maxHitCount','(((.+)+)+)+$','undefined','lineNumberAfterAfter:\x20','Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20','logger','win32','INVALID_BREAKPOINT','setAndStoreBreakpoint','push','25846aFynkU','SYNTAX_ERROR_IN_CONDITION','file:///','16TIvFDZ','locationStr','7255332PuNkRx','Failed\x20to\x20evaluate\x20condition\x20','Found\x20script\x20file:\x20','javascriptFileExtensions','ignoreQuota','internal','../../client/stackdriver/status-message','file','parsedCondition','utf-8','some','length','listener','line','capture','Printing\x20first\x20','__esModule','removeBreakpoint','../state/inspector-state','v8Inspector',':\x20`','EXPRESSION_COMPILING_ERROR','lineNumberBefore:\x20','setErrorStatusAndCallback','Breakpoint\x20is\x20found\x20at\x20a\x20given\x20location.\x20Id:\x20','findScripts','VARIABLE_VALUE','numBreakpoints_','BREAKPOINT_PATH_BLOCKED','resetV8DebuggerThreshold','response','\x20chars\x20from\x20the\x20line:\x0a','callFrames','BREAKPOINT_SOURCE_LOCATION','map','normalize','V8_BREAKPOINT_ERROR','apiBreakpoint','InspectorDebugApi','bind','SOURCE_FILE_NOT_FOUND','Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20','isFileIndexed','path','Breakpoint\x20is\x20added\x20to\x20a\x20given\x20location.\x20Id:\x20','lineNumber','captureBreakpointData','includes','\x20lines.\x20Please\x20ensure\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the\x20deployed\x20source.','hitBreakpoints','FileStats.\x20Lines\x20Count:\x20','wait','locationMapper','quotaManager','processCondition','script','quota','sourcemapper','concat','numBreakpoints','blocklistManager','listeners','file://',',\x20line\x20length:\x20','\x20<<','info','breakpointMapper','split','../blocklisting/dummy-blocklist-manager','V8Inspector','DummyBlocklistManager','removeFirstOccurrenceInArray','applyDynamicLogsCPUQuota','replace','BREAKPOINT_CONDITION','446575zUKJhV','cleanupAsyncCallStackInterval','location','toString','hasMappingInfo','object','handleDebugPausedEvent','logMessageFormat','236056wbynyG','./v8inspector','action','set','disable','capture\x20time:\x20','platform','6OEtNpU','\x20evaluated\x20to\x20false\x20-\x20skipping\x20breakpoint','\x20chars\x20starting\x20from\x20column\x20','value','substring','apply','hrtime','enable','extname','formatInterval','shouldUseWellFormattedUrl','fileStats','StatusMessage','applyConditionQuota','V8_BREAKPOINT_CLEAR_ERROR','expressionsEvalTimeoutMillis','fileIndex','log','Installing\x20','variableTable','description','Source\x20map\x20is\x20FOUND\x20for\x20','acorn','shouldBlock','changeToNS','quotaRecoverySeconds','`.\x20column:\x20','printDebugCodeLine','evaluatedExpressions','error','column','LOG','scriptId','evaluate','setBlocklistManager','warn'];a36_0xaf2a=function(){return _0x39af1e;};return a36_0xaf2a();}'use strict';Object['defineProperty'](exports,a36_0x36bdda(0x216),{'value':!![]}),exports[a36_0x36bdda(0x22c)]=exports[a36_0x36bdda(0x1c7)]=void 0x0;const acorn=require(a36_0x36bdda(0x1b8)),path=require(a36_0x36bdda(0x231)),status_message_1=require(a36_0x36bdda(0x20c)),state=require(a36_0x36bdda(0x218)),utils_1=require(a36_0x36bdda(0x1c9)),v8inspector_1=require(a36_0x36bdda(0x25a)),dummy_blocklist_manager_1=require(a36_0x36bdda(0x24a)),fs_1=require('fs');class BreakpointData{constructor(_0x2fc21c,_0x349c50,_0x457c31,_0x25fc84,_0x15f26d,_0x258c87,_0xd99d47,_0x55c83c){const _0x5cbe40=a36_0x36bdda;this['id']=_0x2fc21c,this[_0x5cbe40(0x22b)]=_0x349c50,this[_0x5cbe40(0x20e)]=_0x457c31,this[_0x5cbe40(0x205)]=_0x25fc84,this['compile']=_0x15f26d,this[_0x5cbe40(0x1df)]=_0x258c87,this[_0x5cbe40(0x20a)]=_0xd99d47,this[_0x5cbe40(0x1d9)]=_0x55c83c;}}exports[a36_0x36bdda(0x1c7)]=BreakpointData;class InspectorDebugApi{constructor(_0x45551c,_0x4f78b0,_0x276b7e,_0x41807c,_0x3afa96){const _0x1fc37f=a36_0x36bdda;this[_0x1fc37f(0x1cb)]={},this[_0x1fc37f(0x243)]={},this[_0x1fc37f(0x1e1)]={},this[_0x1fc37f(0x23a)]={},this[_0x1fc37f(0x248)]={},this[_0x1fc37f(0x241)]=0x0,_0x45551c['debug']('Creating\x20InspectorDebugApi'),this[_0x1fc37f(0x252)]=null,this[_0x1fc37f(0x1fc)]=_0x45551c,this[_0x1fc37f(0x1f4)]=_0x4f78b0,this['fileIndex']=_0x276b7e,this[_0x1fc37f(0x23f)]=_0x41807c,this['v8Inspector']=new v8inspector_1[(_0x1fc37f(0x24b))](_0x45551c,!![],this[_0x1fc37f(0x1f4)][_0x1fc37f(0x223)],_0x2cad5b=>{const _0x36765b=_0x1fc37f;this['scriptMapper'][_0x2cad5b[_0x36765b(0x1c2)]]=_0x2cad5b;},_0x972566=>{const _0x5c022d=_0x1fc37f;try{this[_0x5c022d(0x257)](_0x972566);}catch(_0x159017){this['logger'][_0x5c022d(0x1bf)](_0x159017);}},()=>{this['scriptMapper']={};}),this[_0x1fc37f(0x23b)]=_0x3afa96,this[_0x1fc37f(0x242)]=new dummy_blocklist_manager_1[(_0x1fc37f(0x24c))](!![]);}[a36_0x36bdda(0x25c)](_0x5565e5,_0x35fc51){const _0x5d49f6=a36_0x36bdda;if(typeof _0x5565e5?.['id']===_0x5d49f6(0x1f9)||!_0x5565e5[_0x5d49f6(0x253)]?.['path']||!_0x5565e5[_0x5d49f6(0x253)][_0x5d49f6(0x213)])return(0x0,utils_1[_0x5d49f6(0x21d)])(_0x35fc51,_0x5565e5,status_message_1[_0x5d49f6(0x26c)]['UNSPECIFIED'],utils_1[_0x5d49f6(0x1dd)][_0x5d49f6(0x1fe)]);this['logger'][_0x5d49f6(0x1c6)](_0x5d49f6(0x1b4),_0x5565e5?.[_0x5d49f6(0x25b)],_0x5565e5?.[_0x5d49f6(0x253)]?.[_0x5d49f6(0x231)],_0x5565e5?.['location']?.[_0x5d49f6(0x213)]);const _0x26548=path[_0x5d49f6(0x229)](_0x5565e5['location']['path']);if(!this[_0x5d49f6(0x23f)][_0x5d49f6(0x255)](_0x26548)){this[_0x5d49f6(0x1fc)][_0x5d49f6(0x247)](_0x5d49f6(0x1ea),_0x26548);const _0x12d0dd=path[_0x5d49f6(0x268)](_0x26548);if(!this[_0x5d49f6(0x1f4)][_0x5d49f6(0x209)][_0x5d49f6(0x235)](_0x12d0dd)){const _0x422a53=_0x26548[_0x5d49f6(0x264)](0x0,_0x26548[_0x5d49f6(0x211)]-_0x12d0dd['length']),_0x376ebc=this['config'][_0x5d49f6(0x209)][_0x5d49f6(0x228)](_0x1e1096=>_0x422a53+_0x1e1096)[_0x5d49f6(0x210)](_0x2c6eae=>(0x0,utils_1[_0x5d49f6(0x230)])(_0x2c6eae,this[_0x5d49f6(0x1b2)])),_0x3cb80a=_0x376ebc?utils_1[_0x5d49f6(0x1dd)][_0x5d49f6(0x1d2)]:utils_1[_0x5d49f6(0x1dd)][_0x5d49f6(0x22e)];return(0x0,utils_1['setErrorStatusAndCallback'])(_0x35fc51,_0x5565e5,status_message_1[_0x5d49f6(0x26c)][_0x5d49f6(0x227)],_0x3cb80a);}this[_0x5d49f6(0x1f1)](_0x5565e5,null,null,_0x35fc51);}else{this[_0x5d49f6(0x1fc)][_0x5d49f6(0x247)](_0x5d49f6(0x1b7),_0x26548);const {line:_0x334b72}=_0x5565e5['location'],_0x18955e=0x0,_0x24e1c6=this[_0x5d49f6(0x23f)]['mappingInfo'](_0x26548,_0x334b72,_0x18955e);this[_0x5d49f6(0x1fc)]['debug']('mapInfo\x20',_0x24e1c6?.[_0x5d49f6(0x20d)],_0x24e1c6?.['line'],_0x24e1c6?.[_0x5d49f6(0x1c0)]);const _0x2a03ea=(0x0,utils_1[_0x5d49f6(0x1e6)])(_0x5565e5);if(_0x5565e5[_0x5d49f6(0x1d6)]&&_0x2a03ea)try{_0x5565e5[_0x5d49f6(0x1d6)]=_0x2a03ea(_0x5565e5[_0x5d49f6(0x1d6)]);}catch{return this[_0x5d49f6(0x1fc)][_0x5d49f6(0x1c5)](_0x5d49f6(0x1ec)+_0x5565e5[_0x5d49f6(0x1d6)]+_0x5d49f6(0x246)),(0x0,utils_1[_0x5d49f6(0x21d)])(_0x35fc51,_0x5565e5,status_message_1[_0x5d49f6(0x26c)]['BREAKPOINT_CONDITION'],utils_1[_0x5d49f6(0x1dd)][_0x5d49f6(0x1ef)]);}this[_0x5d49f6(0x1f1)](_0x5565e5,_0x24e1c6,_0x2a03ea,_0x35fc51);}}['clear'](_0x589641,_0x144ffd){const _0x4afc0b=a36_0x36bdda;if(typeof _0x589641['id']===_0x4afc0b(0x1f9))return this[_0x4afc0b(0x1fc)][_0x4afc0b(0x1c6)]('Cannot\x20clear\x20breakpoint\x20-\x20id\x20is\x20undefined'),(0x0,utils_1[_0x4afc0b(0x21d)])(_0x144ffd,_0x589641,status_message_1['StatusMessage'][_0x4afc0b(0x250)],utils_1['errors']['V8_BREAKPOINT_CLEAR_ERROR']);const _0x532325=this[_0x4afc0b(0x1cb)][_0x589641['id']];if(!_0x532325)return this[_0x4afc0b(0x1fc)][_0x4afc0b(0x1c6)](_0x4afc0b(0x1f0)+_0x589641['id']),(0x0,utils_1[_0x4afc0b(0x21d)])(_0x144ffd,_0x589641,status_message_1[_0x4afc0b(0x26c)][_0x4afc0b(0x250)],utils_1[_0x4afc0b(0x1dd)][_0x4afc0b(0x26e)]);const {locationStr:_0x111d47}=_0x532325,_0x12e57c=_0x532325['id'];(0x0,utils_1[_0x4afc0b(0x24d)])(this[_0x4afc0b(0x23a)][_0x111d47],_0x589641['id']);this['locationMapper'][_0x111d47][_0x4afc0b(0x211)]===0x0&&delete this['locationMapper'][_0x111d47];(0x0,utils_1['removeFirstOccurrenceInArray'])(this[_0x4afc0b(0x248)][_0x12e57c],_0x589641['id']);this[_0x4afc0b(0x248)][_0x12e57c][_0x4afc0b(0x211)]===0x0&&delete this[_0x4afc0b(0x248)][_0x12e57c];let _0x144545={};!this[_0x4afc0b(0x248)][_0x532325['id']]&&(_0x144545=this[_0x4afc0b(0x219)][_0x4afc0b(0x217)](_0x532325['id'])),delete this['breakpoints'][_0x589641['id']],delete this[_0x4afc0b(0x243)][_0x589641['id']],this[_0x4afc0b(0x241)]--,setImmediate(()=>{const _0x10b8b2=_0x4afc0b;_0x144545[_0x10b8b2(0x1bf)]?_0x144ffd(_0x144545['error']):_0x144ffd(null);});}[a36_0x36bdda(0x239)](_0x514950,_0x164b61){const _0x278549=a36_0x36bdda,_0x383e42=this[_0x278549(0x1d3)][_0x278549(0x22d)](this,_0x514950,_0xcf5cba=>{const _0x52fdfd=_0x278549,_0x1ec4ad=--this[_0x52fdfd(0x1cb)][_0x514950['id']][_0x52fdfd(0x1df)];(_0x1ec4ad<=0x0||_0xcf5cba)&&(this[_0x52fdfd(0x243)][_0x514950['id']][_0x52fdfd(0x1e5)]=![]),_0x164b61(_0xcf5cba??undefined);});this[_0x278549(0x243)][_0x514950['id']]={'enabled':!![],'listener':_0x383e42};}[a36_0x36bdda(0x1b3)](_0x52b2c3,_0x2365fb,_0x3a086b,_0x221acf){const _0xcd600c=a36_0x36bdda,_0x53ee92=this['onBreakpointHit'][_0xcd600c(0x22d)](this,_0x52b2c3,_0x122b7b=>{const _0x462d10=_0xcd600c;if(_0x122b7b){this['listeners'][_0x52b2c3['id']][_0x462d10(0x1e5)]=![],setImmediate(()=>{_0x221acf(_0x122b7b||undefined);});return;}_0x2365fb(_0x52b2c3[_0x462d10(0x258)],_0x52b2c3[_0x462d10(0x1be)]),_0x52b2c3[_0x462d10(0x1be)]=[],_0x3a086b()?this[_0x462d10(0x243)][_0x52b2c3['id']][_0x462d10(0x1e5)]=![]:this[_0x462d10(0x23b)]['needsRecoveryTime'](_0x52b2c3['id'])&&(this[_0x462d10(0x243)][_0x52b2c3['id']]['enabled']=![],setTimeout(()=>{const _0x5e7738=_0x462d10;!_0x3a086b()&&this[_0x5e7738(0x243)][_0x52b2c3['id']]&&(this[_0x5e7738(0x243)][_0x52b2c3['id']]['enabled']=!![]),this['quotaManager'][_0x5e7738(0x1d7)](_0x52b2c3['id']);},this[_0x462d10(0x1f4)][_0x462d10(0x23e)][_0x462d10(0x1bb)]*0x3e8));});this[_0xcd600c(0x243)][_0x52b2c3['id']]={'enabled':!![],'listener':_0x53ee92};}['disconnect'](){const _0x5f1c8f=a36_0x36bdda;this[_0x5f1c8f(0x219)]['detach']();}[a36_0x36bdda(0x267)](){const _0x3cc689=a36_0x36bdda;this[_0x3cc689(0x219)][_0x3cc689(0x267)]();}[a36_0x36bdda(0x25d)](){const _0x577afa=a36_0x36bdda;this[_0x577afa(0x219)][_0x577afa(0x25d)]();}[a36_0x36bdda(0x221)](){const _0x5257c0=a36_0x36bdda;return Object['keys'](this[_0x5257c0(0x1cb)])[_0x5257c0(0x211)];}['numListeners_'](){const _0x3ff999=a36_0x36bdda;return Object['keys'](this[_0x3ff999(0x243)])[_0x3ff999(0x211)];}[a36_0x36bdda(0x1df)](_0x12d8fc){const _0x268915=a36_0x36bdda;return this['breakpoints'][_0x12d8fc][_0x268915(0x1df)];}[a36_0x36bdda(0x1c4)](_0x1dcb4c){const _0x67e1ff=a36_0x36bdda;this[_0x67e1ff(0x242)]=_0x1dcb4c;}[a36_0x36bdda(0x1f1)](_0x411b46,_0x2a210a,_0x5a3247,_0x9cdb58){const _0x47eeb6=a36_0x36bdda;let _0x5d862c=null;if(_0x411b46[_0x47eeb6(0x1d6)])try{_0x5d862c=acorn['parse'](_0x411b46[_0x47eeb6(0x1d6)],{'sourceType':_0x47eeb6(0x23d),'ecmaVersion':0xb});const _0x7962aa=require(_0x47eeb6(0x1f2));if(!_0x7962aa[_0x47eeb6(0x1d0)](_0x5d862c,![]))return(0x0,utils_1[_0x47eeb6(0x21d)])(_0x9cdb58,_0x411b46,status_message_1['StatusMessage'][_0x47eeb6(0x250)],utils_1[_0x47eeb6(0x1dd)][_0x47eeb6(0x1d8)]);}catch(_0x52aa99){return(0x0,utils_1['setErrorStatusAndCallback'])(_0x9cdb58,_0x411b46,status_message_1['StatusMessage'][_0x47eeb6(0x250)],{...utils_1[_0x47eeb6(0x1dd)][_0x47eeb6(0x202)],'parameters':[_0x52aa99[_0x47eeb6(0x1ca)]]});}let _0x245fcf;const _0x2c8e8a=_0x2a210a?_0x2a210a['file']:path[_0x47eeb6(0x229)](_0x411b46[_0x47eeb6(0x253)]['path']);this['logger']['debug'](_0x47eeb6(0x1f5),_0x2c8e8a);const _0x44a14b=(0x0,utils_1[_0x47eeb6(0x21f)])(_0x2c8e8a,this[_0x47eeb6(0x1f4)],this[_0x47eeb6(0x1b2)],this[_0x47eeb6(0x1fc)]);if(_0x44a14b[_0x47eeb6(0x211)]===0x0)return(0x0,utils_1[_0x47eeb6(0x21d)])(_0x9cdb58,_0x411b46,status_message_1['StatusMessage']['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x47eeb6(0x1dd)]['SOURCE_FILE_NOT_FOUND']);else{if(_0x44a14b[_0x47eeb6(0x211)]===0x1)this[_0x47eeb6(0x1fc)][_0x47eeb6(0x1c6)](_0x47eeb6(0x208),_0x44a14b[0x0]),[_0x245fcf]=_0x44a14b;else return this[_0x47eeb6(0x1fc)][_0x47eeb6(0x1c5)]('Unable\x20to\x20unambiguously\x20find\x20'+_0x2c8e8a+'.\x20Potential\x20matches:\x20'+_0x44a14b),(0x0,utils_1[_0x47eeb6(0x21d)])(_0x9cdb58,_0x411b46,status_message_1[_0x47eeb6(0x26c)]['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x47eeb6(0x1dd)]['SOURCE_FILE_AMBIGUOUS']);}if(this['blocklistManager'][_0x47eeb6(0x1b9)](_0x245fcf))return(0x0,utils_1[_0x47eeb6(0x21d)])(_0x9cdb58,_0x411b46,status_message_1['StatusMessage'][_0x47eeb6(0x227)],utils_1[_0x47eeb6(0x1dd)][_0x47eeb6(0x222)]);const _0x246a23=_0x2a210a?.[_0x47eeb6(0x1c0)]??_0x411b46[_0x47eeb6(0x253)][_0x47eeb6(0x1c0)]??0x0,_0x5aa9fe=_0x2a210a?_0x2a210a[_0x47eeb6(0x213)]:_0x411b46[_0x47eeb6(0x253)][_0x47eeb6(0x213)],_0xb6a59=this[_0x47eeb6(0x1b2)][_0x47eeb6(0x26b)][_0x245fcf];this['logger']['debug'](_0x47eeb6(0x238),_0xb6a59?.[_0x47eeb6(0x1e9)],'hash:\x20',_0xb6a59?.[_0x47eeb6(0x1ee)]);if(_0x5aa9fe>=_0xb6a59[_0x47eeb6(0x1e9)]||_0x5aa9fe<0x1){const _0x518c54=utils_1[_0x47eeb6(0x1dd)][_0x47eeb6(0x1ce)][_0x47eeb6(0x1b6)]+_0x245fcf,{lines:_0x2e54dd}=this[_0x47eeb6(0x1b2)][_0x47eeb6(0x26b)][_0x245fcf];return(0x0,utils_1[_0x47eeb6(0x21d)])(_0x9cdb58,_0x411b46,status_message_1['StatusMessage'][_0x47eeb6(0x227)],{...utils_1[_0x47eeb6(0x1dd)][_0x47eeb6(0x1ce)],'description':_0x518c54+':'+_0x5aa9fe+'.\x20Loaded\x20script\x20contained\x20'+_0x2e54dd+_0x47eeb6(0x236)});}const _0xf7d083=this[_0x47eeb6(0x1ff)](_0x411b46,_0x5aa9fe,_0x246a23,_0x245fcf);if(!_0xf7d083)return(0x0,utils_1[_0x47eeb6(0x21d)])(_0x9cdb58,_0x411b46,status_message_1[_0x47eeb6(0x26c)][_0x47eeb6(0x227)],utils_1[_0x47eeb6(0x1dd)][_0x47eeb6(0x22a)]);this[_0x47eeb6(0x1cb)][_0x411b46['id']]=new BreakpointData(_0xf7d083[_0x47eeb6(0x1de)],_0x411b46,_0x5d862c,_0xf7d083[_0x47eeb6(0x205)],_0x5a3247,_0x411b46[_0x47eeb6(0x1f7)]||0x1,_0x411b46[_0x47eeb6(0x20a)],_0x411b46[_0x47eeb6(0x1d9)]),this[_0x47eeb6(0x241)]++,setImmediate(()=>{_0x9cdb58(null);});}[a36_0x36bdda(0x1ff)](_0x3ce8be,_0x2e85eb,_0x1c50a2,_0x1def3d){const _0x35abd3=a36_0x36bdda,_0xab0863=JSON['stringify']({'file':_0x1def3d,'line':_0x2e85eb,'column':_0x1c50a2});let _0x454e83;if(!this[_0x35abd3(0x23a)][_0xab0863]){this['inspectScriptForDebug'](_0x1def3d,_0x2e85eb,_0x1c50a2);const _0x3a3dd9=this[_0x35abd3(0x219)][_0x35abd3(0x26a)]()?_0x35abd3(0x244)+_0x1def3d:_0x1def3d,_0x2355db=process[_0x35abd3(0x25f)]===_0x35abd3(0x1fd)?_0x3a3dd9['replace'](/^file:\/\//,_0x35abd3(0x203))[_0x35abd3(0x24f)](/\\/g,'/'):_0x3a3dd9,_0x4727f0=this['v8Inspector'][_0x35abd3(0x1e4)]({'lineNumber':_0x2e85eb-0x1,'url':encodeURI(_0x2355db),'columnNumber':_0x1c50a2});if(_0x4727f0[_0x35abd3(0x1bf)]||!_0x4727f0[_0x35abd3(0x224)])return this['logger'][_0x35abd3(0x1bf)](_0x35abd3(0x1d1)+_0x2355db+':'+_0x2e85eb+',\x20'+(_0x35abd3(0x1e0)+JSON[_0x35abd3(0x1cc)](_0x4727f0[_0x35abd3(0x1bf)]))),null;_0x454e83=_0x4727f0[_0x35abd3(0x224)][_0x35abd3(0x1e2)],this[_0x35abd3(0x1fc)][_0x35abd3(0x247)](_0x35abd3(0x232),_0x454e83),delete this[_0x35abd3(0x23a)][_0xab0863],delete this[_0x35abd3(0x248)][_0x454e83],this[_0x35abd3(0x23a)][_0xab0863]=[],this[_0x35abd3(0x248)][_0x454e83]=[];}else _0x454e83=this[_0x35abd3(0x1cb)][this[_0x35abd3(0x23a)][_0xab0863][0x0]]['id'],this[_0x35abd3(0x1fc)][_0x35abd3(0x247)](_0x35abd3(0x21e),_0x454e83);return this[_0x35abd3(0x23a)][_0xab0863][_0x35abd3(0x200)](_0x3ce8be['id']),this[_0x35abd3(0x248)][_0x454e83][_0x35abd3(0x200)](_0x3ce8be['id']),{'v8BreakpointId':_0x454e83,'locationStr':_0xab0863};}['inspectScriptForDebug'](_0x1c5700,_0x5dc370,_0x23a030){const _0xa0f388=a36_0x36bdda;try{if(!this[_0xa0f388(0x1f4)][_0xa0f388(0x20b)][_0xa0f388(0x1f3)])return;const _0x10f76e=(0x0,fs_1[_0xa0f388(0x1db)])(_0x1c5700,_0xa0f388(0x20f)),_0xa7e536=_0x10f76e[_0xa0f388(0x249)](/\r?\n/),_0x404a2f=_0x5dc370-0x2,_0x332c1f=_0x5dc370-0x1,_0x12890b=_0x5dc370;this[_0xa0f388(0x1bd)](_0xa0f388(0x21c)+_0x404a2f,_0xa7e536[_0x404a2f],_0x23a030),this[_0xa0f388(0x1bd)]('lineNumberAfter:\x20'+_0x332c1f,_0xa7e536[_0x332c1f],_0x23a030),this[_0xa0f388(0x1bd)](_0xa0f388(0x1fa)+_0x12890b,_0xa7e536[_0x12890b],_0x23a030);}catch(_0x2a59f4){this[_0xa0f388(0x1fc)]['error']('inspectScriptForDebug.',_0x2a59f4);}}[a36_0x36bdda(0x1bd)](_0x4bc6c2,_0x9c637c,_0x2be6d5){const _0xe87e94=a36_0x36bdda;this[_0xe87e94(0x1fc)][_0xe87e94(0x1c6)](_0x4bc6c2);if(!_0x9c637c){this[_0xe87e94(0x1fc)][_0xe87e94(0x1c6)]('The\x20line\x20is\x20not\x20found\x20in\x20the\x20script\x20file');return;}const _0x512082=0x12c;_0x2be6d5=_0x2be6d5||0x0;if(_0x9c637c[_0xe87e94(0x211)]<=_0x512082)this[_0xe87e94(0x1fc)]['debug'](_0xe87e94(0x1cf)+_0x9c637c+_0xe87e94(0x1bc)+_0x2be6d5);else{if(_0x9c637c[_0xe87e94(0x211)]>_0x2be6d5){const _0x589df5=_0x9c637c[_0xe87e94(0x264)](_0x2be6d5,_0x512082);this[_0xe87e94(0x1fc)][_0xe87e94(0x1c6)](_0xe87e94(0x1e3)+_0x512082+_0xe87e94(0x262)+_0x2be6d5+_0xe87e94(0x21a)+_0x589df5+'`');}else{this[_0xe87e94(0x1fc)][_0xe87e94(0x1c6)]('Error!\x20Line\x20is\x20shorter\x20then\x20column.\x20Column:\x20'+_0x2be6d5+_0xe87e94(0x245)+_0x9c637c[_0xe87e94(0x211)]);const _0xa07320=_0x9c637c[_0xe87e94(0x264)](0x0,_0x512082);this['logger']['debug'](_0xe87e94(0x215)+_0x512082+_0xe87e94(0x225)+_0xa07320);}}}['processCondition'](_0x2806b7,_0x473786){const _0x4e3e7f=a36_0x36bdda,_0x4d1d86=this[_0x4e3e7f(0x1f4)]['expressionsEvalTimeoutMillis'],{condition:_0x478603}=_0x2806b7;if(_0x478603){const _0x12eaba=process['hrtime'](),_0x3b880c=state['evaluate'](_0x478603,_0x473786,this[_0x4e3e7f(0x219)],!![],_0x4d1d86),_0x7898a6=process[_0x4e3e7f(0x266)](_0x12eaba);if(!this[_0x4e3e7f(0x23b)][_0x4e3e7f(0x20a)]){const _0x1d2b5b=this[_0x4e3e7f(0x1ba)](_0x7898a6),_0x47e0f4=this['quotaManager'][_0x4e3e7f(0x26d)](_0x1d2b5b,_0x2806b7);if(_0x47e0f4)return[undefined,_0x47e0f4];}if(_0x3b880c[_0x4e3e7f(0x1bf)])return this[_0x4e3e7f(0x1fc)][_0x4e3e7f(0x1c6)](_0x4e3e7f(0x207)+_0x478603+'\x20due\x20to\x20error:\x20',_0x3b880c[_0x4e3e7f(0x1bf)]),[undefined,{...utils_1[_0x4e3e7f(0x1dd)][_0x4e3e7f(0x1e7)],'description':(utils_1[_0x4e3e7f(0x1dd)][_0x4e3e7f(0x1e7)][_0x4e3e7f(0x1b6)]??'')+_0x3b880c['error'][_0x4e3e7f(0x1b6)]}];if(!_0x3b880c[_0x4e3e7f(0x256)]['value'])return this[_0x4e3e7f(0x1fc)][_0x4e3e7f(0x1c6)]('condition\x20'+_0x478603+_0x4e3e7f(0x261)),[![],undefined];}return[!![],undefined];}['onBreakpointHit'](_0x47c949,_0x4b3d97,_0x1bbf3){const _0x5d371e=a36_0x36bdda,[_0x5bd1b3,_0x596d93]=this[_0x5d371e(0x23c)](_0x47c949,_0x1bbf3[0x0]);if(_0x596d93!==undefined){(0x0,utils_1[_0x5d371e(0x21d)])(_0x4b3d97,_0x47c949,status_message_1[_0x5d371e(0x26c)][_0x5d371e(0x250)],_0x596d93);return;}if(_0x5bd1b3===![])return;const _0x2e6241=process[_0x5d371e(0x266)]();try{this[_0x5d371e(0x234)](_0x47c949,_0x1bbf3);}catch(_0xacd64f){return(0x0,utils_1[_0x5d371e(0x21d)])(_0x4b3d97,_0x47c949,status_message_1[_0x5d371e(0x26c)][_0x5d371e(0x227)],utils_1[_0x5d371e(0x1dd)][_0x5d371e(0x1f6)]+_0xacd64f);}const _0x23646b=process['hrtime'](_0x2e6241),_0x77d72c=this[_0x5d371e(0x1ba)](_0x23646b);this[_0x5d371e(0x23b)][_0x5d371e(0x24e)](_0x47c949['id'],_0x77d72c),this['logger'][_0x5d371e(0x1c6)]((0x0,utils_1[_0x5d371e(0x269)])(_0x5d371e(0x25e),_0x23646b)),_0x4b3d97(null);}['captureBreakpointData'](_0x4b82e7,_0x1f6742){const _0xf40354=a36_0x36bdda,_0x2cd953=[];if(_0x4b82e7[_0xf40354(0x1da)]&&this[_0xf40354(0x1cb)][_0x4b82e7['id']]['compile'])for(let _0x2cf7b5=0x0;_0x2cf7b5<_0x4b82e7[_0xf40354(0x1da)]['length'];_0x2cf7b5++){try{_0x4b82e7['expressions'][_0x2cf7b5]=this[_0xf40354(0x1cb)][_0x4b82e7['id']]['compile'](_0x4b82e7['expressions'][_0x2cf7b5]);}catch{this[_0xf40354(0x1fc)][_0xf40354(0x1c5)](_0xf40354(0x1fb)+_0x4b82e7[_0xf40354(0x1da)][_0x2cf7b5]+_0xf40354(0x246)),_0x2cd953[_0xf40354(0x200)]({'name':_0x4b82e7[_0xf40354(0x1da)][_0x2cf7b5],'status':new status_message_1[(_0xf40354(0x26c))](status_message_1[_0xf40354(0x26c)][_0xf40354(0x220)],utils_1['errors'][_0xf40354(0x21b)],!![])}),_0x4b82e7[_0xf40354(0x1da)]['splice'](_0x2cf7b5,0x1),_0x2cf7b5--;}}if(_0x4b82e7['action']===_0xf40354(0x1c1)){if(!_0x4b82e7['expressions'])_0x4b82e7[_0xf40354(0x1be)]=[];else{const [_0x57d596]=_0x1f6742;_0x4b82e7[_0xf40354(0x1be)]=_0x4b82e7[_0xf40354(0x1da)][_0xf40354(0x228)](_0x12b515=>{const _0x23562f=_0xf40354,_0x2df948=state[_0x23562f(0x1c3)](_0x12b515,_0x57d596,this[_0x23562f(0x219)],!![],this['config'][_0x23562f(0x1b1)]);return _0x2df948[_0x23562f(0x1bf)]?_0x2df948[_0x23562f(0x1bf)]:_0x2df948[_0x23562f(0x256)][_0x23562f(0x263)];});}}else{const _0x298e6f=state[_0xf40354(0x214)](_0x1f6742,_0x4b82e7,this[_0xf40354(0x1f4)],this[_0xf40354(0x1e1)],this['v8Inspector'],this[_0xf40354(0x242)],this['sourcemapper']);_0x4b82e7['location']&&(0x0,utils_1[_0xf40354(0x1c8)])(_0x4b82e7[_0xf40354(0x253)][_0xf40354(0x231)])&&(_0x4b82e7['location']['line']=_0x1f6742[0x0][_0xf40354(0x253)][_0xf40354(0x233)]+0x1),_0x4b82e7[_0xf40354(0x1ed)]=_0x298e6f['stackFrames'],_0x4b82e7[_0xf40354(0x1b5)]=_0x298e6f[_0xf40354(0x1b5)],_0x4b82e7['evaluatedExpressions']=_0x2cd953[_0xf40354(0x240)](_0x298e6f['evaluatedExpressions']);}}['handleDebugPausedEvent'](_0x45cb5d){const _0x2a0a6c=a36_0x36bdda;try{if(!_0x45cb5d[_0x2a0a6c(0x237)])return;const _0x1a529e=_0x45cb5d[_0x2a0a6c(0x237)][0x0],_0x2e62e2=this[_0x2a0a6c(0x248)][_0x1a529e];if(!_0x2e62e2)return;_0x2e62e2[_0x2a0a6c(0x1dc)](_0x5559ef=>{const _0x15922d=_0x2a0a6c;this[_0x15922d(0x243)][_0x5559ef][_0x15922d(0x1e5)]&&(this[_0x15922d(0x1fc)][_0x15922d(0x1c6)]('>>>breakpoint\x20hit<<<\x20number:\x20'+_0x5559ef),this[_0x15922d(0x243)][_0x5559ef][_0x15922d(0x212)](_0x45cb5d[_0x15922d(0x226)]));});}catch(_0x49c2a2){this['logger']['warn'](_0x2a0a6c(0x22f)+_0x49c2a2);}}[a36_0x36bdda(0x1ba)](_0x58c9da){return _0x58c9da[0x0]*0x3b9aca00+_0x58c9da[0x1];}}function a36_0x1b38(_0x5dd091,_0x3b6496){const _0x2abd52=a36_0xaf2a();return a36_0x1b38=function(_0x28e859,_0x2a5575){_0x28e859=_0x28e859-0x1b1;let _0xaf2ad1=_0x2abd52[_0x28e859];return _0xaf2ad1;},a36_0x1b38(_0x5dd091,_0x3b6496);}exports[a36_0x36bdda(0x22c)]=InspectorDebugApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a37_0x5d2017=a37_0x1d02;(function(_0x51f922,_0x52b998){const _0x2983ec=a37_0x1d02,_0x51577d=_0x51f922();while(!![]){try{const _0x8a7d7e=-parseInt(_0x2983ec(0x106))/0x1+parseInt(_0x2983ec(0x13b))/0x2*(parseInt(_0x2983ec(0x12f))/0x3)+parseInt(_0x2983ec(0x109))/0x4*(-parseInt(_0x2983ec(0x10d))/0x5)+parseInt(_0x2983ec(0x128))/0x6+parseInt(_0x2983ec(0x131))/0x7+-parseInt(_0x2983ec(0x101))/0x8*(parseInt(_0x2983ec(0x104))/0x9)+parseInt(_0x2983ec(0x132))/0xa*(parseInt(_0x2983ec(0x142))/0xb);if(_0x8a7d7e===_0x52b998)break;else _0x51577d['push'](_0x51577d['shift']());}catch(_0x4a4b1c){_0x51577d['push'](_0x51577d['shift']());}}}(a37_0x175a,0x9d893));const a37_0x298aed=(function(){let _0x1f89e3=!![];return function(_0x2b6300,_0x2b8f06){const _0x973b12=_0x1f89e3?function(){const _0x41e72c=a37_0x1d02;if(_0x2b8f06){const _0x593e70=_0x2b8f06[_0x41e72c(0x135)](_0x2b6300,arguments);return _0x2b8f06=null,_0x593e70;}}:function(){};return _0x1f89e3=![],_0x973b12;};}()),a37_0x46e4fe=a37_0x298aed(this,function(){const _0xe6ec13=a37_0x1d02;return a37_0x46e4fe[_0xe6ec13(0x120)]()[_0xe6ec13(0x138)]('(((.+)+)+)+$')[_0xe6ec13(0x120)]()[_0xe6ec13(0x10b)](a37_0x46e4fe)[_0xe6ec13(0x138)](_0xe6ec13(0x139));});a37_0x46e4fe();'use strict';function a37_0x1d02(_0x1174fe,_0x494eb4){const _0x564d07=a37_0x175a();return a37_0x1d02=function(_0x46e4fe,_0x298aed){_0x46e4fe=_0x46e4fe-0x100;let _0x175aac=_0x564d07[_0x46e4fe];return _0x175aac;},a37_0x1d02(_0x1174fe,_0x494eb4);}Object[a37_0x5d2017(0x110)](exports,a37_0x5d2017(0x118),{'value':!![]}),exports['V8Inspector']=void 0x0;function a37_0x175a(){const _0x196c7d=['logger','488947zLFeFZ','Runtime.releaseObject','keys','28mOTLco','Creating\x20V8Inspector','constructor','attach','338005EuTAmW','callFunctionOn','columnNumber','defineProperty','Debugger.enable','onDetach','shouldUseWellFormattedUrl','removeBreakpoint','resetV8DebuggerThreshold','breakpointId','session','__esModule','length','Debugger.scriptParsed','values','V8Inspector','response','Debugger.setBreakpointByUrl','Error\x20upon\x20re-setting\x20breakpoint:\x20','toString','resetV8DebuggerIfThresholdMet','setBreakpointByUrl:\x20','post','enable','lineNumber','onScriptParsed','prevStoreSetBreakpointParams','4779930MHpoOI','connect','detach','Debugger.disable','storeSetBreakpointParams','disable','Debugger.setBreakpointsActive','237009QMDqCj','onPaused','6985552fVrutQ','4614430IBfwDB','Runtime.evaluate','numPausedBeforeReset','apply','params','error','search','(((.+)+)+)+$','Runtime.getProperties','2RzYihl','setBreakpointByUrl','useWellFormattedUrl','evaluateOnCallFrame','Debugger.removeBreakpoint','getProperties','node:inspector','22zRjrqk','debug','real\x20lineNumber:\x20','24aBDetf','disconnect','releaseObject','3567177gOQEbm'];a37_0x175a=function(){return _0x196c7d;};return a37_0x175a();}const node_inspector_1=require(a37_0x5d2017(0x141));class V8Inspector{constructor(_0x5dc4db,_0x39fc1d,_0x59eae3,_0x29975d,_0x18ef5f,_0x5b443b){const _0x16d3d2=a37_0x5d2017;this['logger']=_0x5dc4db,this[_0x16d3d2(0x13d)]=_0x39fc1d,this[_0x16d3d2(0x115)]=_0x59eae3,this[_0x16d3d2(0x126)]=_0x29975d,this[_0x16d3d2(0x130)]=_0x18ef5f,this[_0x16d3d2(0x112)]=_0x5b443b,this[_0x16d3d2(0x117)]=null,this[_0x16d3d2(0x12c)]={},this['prevStoreSetBreakpointParams']=null,this[_0x16d3d2(0x134)]=0x0,_0x5dc4db[_0x16d3d2(0x143)](_0x16d3d2(0x10a));}[a37_0x5d2017(0x113)](){return this['useWellFormattedUrl'];}[a37_0x5d2017(0x13c)](_0x5d96b3,_0x3bff24=this['prevStoreSetBreakpointParams']!==null){const _0x5d4d33=a37_0x5d2017;_0x3bff24?this[_0x5d4d33(0x124)](![]):this['attach']();this[_0x5d4d33(0x105)][_0x5d4d33(0x143)](_0x5d4d33(0x122),_0x5d96b3?.['url'],_0x5d4d33(0x100),_0x5d96b3?.[_0x5d4d33(0x125)],'column:\x20',_0x5d96b3?.[_0x5d4d33(0x10f)]);const _0x187f69={};return this[_0x5d4d33(0x117)][_0x5d4d33(0x123)](_0x5d4d33(0x11e),_0x5d96b3,(_0x3588d8,_0x1707c8)=>{const _0x350d69=_0x5d4d33;_0x3588d8?_0x187f69[_0x350d69(0x137)]=_0x3588d8:this[_0x350d69(0x12c)][_0x1707c8[_0x350d69(0x116)]]=_0x5d96b3,_0x187f69[_0x350d69(0x11d)]=_0x1707c8;}),_0x3bff24&&(_0x187f69[_0x5d4d33(0x11d)]&&(this[_0x5d4d33(0x127)][_0x187f69[_0x5d4d33(0x11d)][_0x5d4d33(0x116)]]=this['storeSetBreakpointParams'][_0x187f69['response']['breakpointId']]),this[_0x5d4d33(0x12d)](![])),_0x187f69;}[a37_0x5d2017(0x114)](_0x2ec073){const _0x2348c3=a37_0x5d2017;this[_0x2348c3(0x10c)]();const _0x1b21a4={};return this[_0x2348c3(0x117)]['post'](_0x2348c3(0x13f),{'breakpointId':_0x2ec073},_0x57106b=>{const _0x4f055a=_0x2348c3;if(_0x57106b)_0x1b21a4[_0x4f055a(0x137)]=_0x57106b;delete this[_0x4f055a(0x12c)][_0x2ec073],Object[_0x4f055a(0x108)](this['storeSetBreakpointParams'])[_0x4f055a(0x119)]===0x0&&this[_0x4f055a(0x12a)]();}),this[_0x2348c3(0x127)]!==null&&delete this['prevStoreSetBreakpointParams'][_0x2ec073],_0x1b21a4;}[a37_0x5d2017(0x13e)](_0x39ffea){const _0x372e13=a37_0x5d2017;this[_0x372e13(0x10c)]();const _0x4c4b17={};return this[_0x372e13(0x117)]['post']('Debugger.evaluateOnCallFrame',_0x39ffea,(_0x383025,_0x51643c)=>{const _0x5588b7=_0x372e13;if(_0x383025)_0x4c4b17[_0x5588b7(0x137)]=_0x383025;_0x4c4b17[_0x5588b7(0x11d)]=_0x51643c;}),_0x4c4b17;}['evaluate'](_0x2fe624){const _0x37c858=a37_0x5d2017;this[_0x37c858(0x10c)]();const _0x7ba5c1={};return this[_0x37c858(0x117)][_0x37c858(0x123)](_0x37c858(0x133),_0x2fe624,(_0x1fd41f,_0x4eded4)=>{const _0x4fd555=_0x37c858;_0x7ba5c1[_0x4fd555(0x11d)]=_0x4eded4,_0x7ba5c1['error']=_0x1fd41f??undefined;}),_0x7ba5c1;}[a37_0x5d2017(0x10e)](_0x4d3398){const _0x339c7a=a37_0x5d2017;this['attach']();const _0x588bb2={};return this['session'][_0x339c7a(0x123)]('Runtime.callFunctionOn',_0x4d3398,(_0x1eed4c,_0x15b086)=>{const _0x258aef=_0x339c7a;_0x588bb2['response']=_0x15b086,_0x588bb2[_0x258aef(0x137)]=_0x1eed4c??undefined;}),_0x588bb2;}[a37_0x5d2017(0x103)](_0x447808){const _0x533460=a37_0x5d2017;this[_0x533460(0x10c)](),this['session']['post'](_0x533460(0x107),_0x447808);}[a37_0x5d2017(0x140)](_0x518745){const _0x4cadf3=a37_0x5d2017,_0x1eda3a={};return this['attach'](),this[_0x4cadf3(0x117)][_0x4cadf3(0x123)](_0x4cadf3(0x13a),_0x518745,(_0x2fd473,_0x305098)=>{const _0x47c642=_0x4cadf3;if(_0x2fd473)_0x1eda3a[_0x47c642(0x137)]=_0x2fd473;_0x1eda3a[_0x47c642(0x11d)]=_0x305098;}),_0x1eda3a;}[a37_0x5d2017(0x10c)](){const _0x10ab1f=a37_0x5d2017;if(this[_0x10ab1f(0x117)])return;const _0x307f96=new node_inspector_1['Session']();_0x307f96[_0x10ab1f(0x129)](),_0x307f96['on'](_0x10ab1f(0x11a),_0x3144fd=>{const _0x3126e5=_0x10ab1f;this[_0x3126e5(0x126)](_0x3144fd[_0x3126e5(0x136)]);}),_0x307f96[_0x10ab1f(0x123)](_0x10ab1f(0x111)),_0x307f96[_0x10ab1f(0x123)](_0x10ab1f(0x12e),{'active':!![]}),_0x307f96['on']('Debugger.paused',_0x203de6=>{const _0x4f1038=_0x10ab1f;this[_0x4f1038(0x130)](_0x203de6[_0x4f1038(0x136)]),this[_0x4f1038(0x121)]();}),this['session']=_0x307f96;}['enable'](_0x207f49=!![]){const _0x3d2965=a37_0x5d2017;this[_0x3d2965(0x10c)](),this['session']?.[_0x3d2965(0x123)](_0x3d2965(0x111));if(_0x207f49){for(const _0x169195 of Object[_0x3d2965(0x11b)](this[_0x3d2965(0x127)])){const _0x868a16=this[_0x3d2965(0x13c)](_0x169195,![]);(_0x868a16[_0x3d2965(0x137)]||!_0x868a16[_0x3d2965(0x11d)])&&this[_0x3d2965(0x105)][_0x3d2965(0x137)](_0x3d2965(0x11f)+_0x868a16);}this[_0x3d2965(0x127)]=null;}}[a37_0x5d2017(0x12d)](_0x266666=!![]){const _0x2650a7=a37_0x5d2017;if(!this[_0x2650a7(0x117)])return;_0x266666&&(this[_0x2650a7(0x127)]=this[_0x2650a7(0x12c)]),this[_0x2650a7(0x117)][_0x2650a7(0x123)](_0x2650a7(0x12b)),this[_0x2650a7(0x12a)]();}[a37_0x5d2017(0x12a)](){const _0xc6a051=a37_0x5d2017;if(!this[_0xc6a051(0x117)])return;this[_0xc6a051(0x117)][_0xc6a051(0x102)](),this['session']=null,this['storeSetBreakpointParams']={},this[_0xc6a051(0x134)]=0x0,this['onDetach']();}[a37_0x5d2017(0x121)](){const _0x3e67a5=a37_0x5d2017;if(!this[_0x3e67a5(0x117)])return;this[_0x3e67a5(0x134)]+=0x1;if(this['numPausedBeforeReset']<this['resetV8DebuggerThreshold'])return;this[_0x3e67a5(0x134)]=0x0,this[_0x3e67a5(0x12d)](),this['enable']();}}exports[a37_0x5d2017(0x11c)]=V8Inspector;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a38_0x5334(_0x1db92a,_0x19c0d7){const _0x488d7a=a38_0x37c5();return a38_0x5334=function(_0x287b29,_0x1d12d2){_0x287b29=_0x287b29-0x1ea;let _0x37c525=_0x488d7a[_0x287b29];return _0x37c525;},a38_0x5334(_0x1db92a,_0x19c0d7);}const a38_0x5f45b9=a38_0x5334;(function(_0x2ab481,_0x4f1fa0){const _0x3afcaa=a38_0x5334,_0x50a4c7=_0x2ab481();while(!![]){try{const _0x4abfdb=-parseInt(_0x3afcaa(0x1f6))/0x1+parseInt(_0x3afcaa(0x200))/0x2*(parseInt(_0x3afcaa(0x1ec))/0x3)+-parseInt(_0x3afcaa(0x1fe))/0x4+-parseInt(_0x3afcaa(0x1f2))/0x5*(-parseInt(_0x3afcaa(0x1f7))/0x6)+-parseInt(_0x3afcaa(0x1fa))/0x7+parseInt(_0x3afcaa(0x1f3))/0x8*(parseInt(_0x3afcaa(0x202))/0x9)+parseInt(_0x3afcaa(0x1f8))/0xa;if(_0x4abfdb===_0x4f1fa0)break;else _0x50a4c7['push'](_0x50a4c7['shift']());}catch(_0x1500f2){_0x50a4c7['push'](_0x50a4c7['shift']());}}}(a38_0x37c5,0x6220c));const a38_0x1d12d2=(function(){let _0x1102d0=!![];return function(_0x2a8643,_0x5b9886){const _0x1ea4e2=_0x1102d0?function(){if(_0x5b9886){const _0x2125f8=_0x5b9886['apply'](_0x2a8643,arguments);return _0x5b9886=null,_0x2125f8;}}:function(){};return _0x1102d0=![],_0x1ea4e2;};}()),a38_0x287b29=a38_0x1d12d2(this,function(){const _0x3d36ae=a38_0x5334;return a38_0x287b29[_0x3d36ae(0x1f5)]()['search'](_0x3d36ae(0x1f9))[_0x3d36ae(0x1f5)]()[_0x3d36ae(0x1ed)](a38_0x287b29)[_0x3d36ae(0x1f1)](_0x3d36ae(0x1f9));});a38_0x287b29();'use strict';Object[a38_0x5f45b9(0x1ef)](exports,a38_0x5f45b9(0x1fd),{'value':!![]}),exports[a38_0x5f45b9(0x1ff)]=void 0x0;function a38_0x37c5(){const _0x402bc6=['(((.+)+)+)+$','2882999OnkYxE','https://www.googleapis.com/auth/cloud_debugger','Service','__esModule','898608IpwLKQ','Debug','1548thqqgr','version','45wtgFxZ','@google-cloud/common','apiEndpoint','18tXrpwa','constructor','options','defineProperty','packageInfo','search','3598565wSZLuQ','599016umqSLl','https://','toString','621824wcIhij','6LwreBR','5615230HpzyGi'];a38_0x37c5=function(){return _0x402bc6;};return a38_0x37c5();}const common_1=require(a38_0x5f45b9(0x1ea));class Debug extends common_1[a38_0x5f45b9(0x1fc)]{constructor(_0x173130={},_0x65e3c2){const _0x505608=a38_0x5f45b9;if(new.target!==Debug)return new Debug(_0x173130,_0x65e3c2);const _0x3d6d8b={'projectIdRequired':![],'apiEndpoint':_0x173130[_0x505608(0x1eb)],'baseUrl':_0x505608(0x1f4)+_0x173130[_0x505608(0x1eb)],'scopes':[_0x505608(0x1fb)],'packageJson':_0x65e3c2};super(_0x3d6d8b,_0x173130),this[_0x505608(0x1ee)]=_0x173130,this[_0x505608(0x1f0)]={'name':_0x65e3c2['name'],'version':_0x65e3c2[_0x505608(0x201)]};}}exports[a38_0x5f45b9(0x1ff)]=Debug;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a39_0x3e3de5=a39_0x1502;(function(_0x35ed17,_0x5140c1){const _0xc9c0e6=a39_0x1502,_0x4d0331=_0x35ed17();while(!![]){try{const _0xff1430=-parseInt(_0xc9c0e6(0x16b))/0x1+-parseInt(_0xc9c0e6(0x162))/0x2+-parseInt(_0xc9c0e6(0x160))/0x3+parseInt(_0xc9c0e6(0x174))/0x4*(parseInt(_0xc9c0e6(0x16a))/0x5)+parseInt(_0xc9c0e6(0x16d))/0x6+parseInt(_0xc9c0e6(0x16c))/0x7*(-parseInt(_0xc9c0e6(0x170))/0x8)+parseInt(_0xc9c0e6(0x167))/0x9*(parseInt(_0xc9c0e6(0x17b))/0xa);if(_0xff1430===_0x5140c1)break;else _0x4d0331['push'](_0x4d0331['shift']());}catch(_0x3ca103){_0x4d0331['push'](_0x4d0331['shift']());}}}(a39_0x64e0,0x7d1da));function a39_0x1502(_0x269f05,_0x252cb3){const _0x59f7a5=a39_0x64e0();return a39_0x1502=function(_0x27856a,_0x2aa0aa){_0x27856a=_0x27856a-0x160;let _0x64e004=_0x59f7a5[_0x27856a];return _0x64e004;},a39_0x1502(_0x269f05,_0x252cb3);}const a39_0x2aa0aa=(function(){let _0x199ee1=!![];return function(_0x57dfa8,_0x1ae267){const _0x5aae2b=_0x199ee1?function(){const _0x32975a=a39_0x1502;if(_0x1ae267){const _0x3dce02=_0x1ae267[_0x32975a(0x161)](_0x57dfa8,arguments);return _0x1ae267=null,_0x3dce02;}}:function(){};return _0x199ee1=![],_0x5aae2b;};}()),a39_0x27856a=a39_0x2aa0aa(this,function(){const _0x5dedf3=a39_0x1502;return a39_0x27856a[_0x5dedf3(0x17c)]()[_0x5dedf3(0x16e)](_0x5dedf3(0x166))['toString']()[_0x5dedf3(0x175)](a39_0x27856a)[_0x5dedf3(0x16e)]('(((.+)+)+)+$');});a39_0x27856a();function a39_0x64e0(){const _0xe08fb9=['(((.+)+)+)+$','18eXwIiB','BREAKPOINT_AGE','description','29330rSzFDm','471519GSPbkG','1211JQYFOn','1418850rtOITl','search','BREAKPOINT_CONDITION','41984xmzCQv','refersTo','BREAKPOINT_SOURCE_LOCATION','errorId','356lKwfiI','constructor','StatusMessage','VARIABLE_VALUE','BREAKPOINT_EXPRESSION','parameters','isError','10546390hnPhzI','toString','isAccepted','916524WxaYwB','apply','1340844JIwGeV','UNSPECIFIED','defineProperty','VARIABLE_NAME'];a39_0x64e0=function(){return _0xe08fb9;};return a39_0x64e0();}'use strict';Object[a39_0x3e3de5(0x164)](exports,'__esModule',{'value':!![]}),exports[a39_0x3e3de5(0x176)]=void 0x0;class StatusMessage{constructor(_0x54f6a2,_0xb2248a,_0x5677a9,_0x3f0400=![]){const _0x419b06=a39_0x3e3de5,{description:_0x5d7906,id:_0x2934bd,parameters:_0xb4d01f}=_0xb2248a??{};this[_0x419b06(0x171)]=_0x54f6a2,this['description']={'format':_0x5d7906??''},_0x2934bd&&(this[_0x419b06(0x169)][_0x419b06(0x173)]=_0x2934bd),_0xb4d01f&&(this[_0x419b06(0x169)][_0x419b06(0x179)]=_0xb4d01f),this[_0x419b06(0x17a)]=_0x5677a9,this[_0x419b06(0x17d)]=_0x3f0400;}}exports[a39_0x3e3de5(0x176)]=StatusMessage,StatusMessage[a39_0x3e3de5(0x163)]=a39_0x3e3de5(0x163),StatusMessage[a39_0x3e3de5(0x172)]=a39_0x3e3de5(0x172),StatusMessage[a39_0x3e3de5(0x16f)]=a39_0x3e3de5(0x16f),StatusMessage[a39_0x3e3de5(0x178)]=a39_0x3e3de5(0x178),StatusMessage['VARIABLE_NAME']=a39_0x3e3de5(0x165),StatusMessage['VARIABLE_VALUE']=a39_0x3e3de5(0x177),StatusMessage[a39_0x3e3de5(0x168)]='BREAKPOINT_AGE';
|
package/build/src/debuggee.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a40_0x59a4ff=a40_0x451e;(function(_0x5627b6,_0x1eed35){var _0x3a4307=a40_0x451e,_0x2dc672=_0x5627b6();while(!![]){try{var _0x1c0339=-parseInt(_0x3a4307(0x1c9))/0x1+-parseInt(_0x3a4307(0x1ad))/0x2*(parseInt(_0x3a4307(0x1c1))/0x3)+-parseInt(_0x3a4307(0x1b1))/0x4+-parseInt(_0x3a4307(0x1af))/0x5*(parseInt(_0x3a4307(0x1b4))/0x6)+-parseInt(_0x3a4307(0x1c2))/0x7*(-parseInt(_0x3a4307(0x1b5))/0x8)+parseInt(_0x3a4307(0x1c6))/0x9+parseInt(_0x3a4307(0x1c3))/0xa;if(_0x1c0339===_0x1eed35)break;else _0x2dc672['push'](_0x2dc672['shift']());}catch(_0x25d3b7){_0x2dc672['push'](_0x2dc672['shift']());}}}(a40_0x567f,0x9e556));function a40_0x451e(_0x2aa57f,_0x5f5ab3){var _0x42d06f=a40_0x567f();return a40_0x451e=function(_0x54ca9d,_0x118d5a){_0x54ca9d=_0x54ca9d-0x1a8;var _0x567f22=_0x42d06f[_0x54ca9d];return _0x567f22;},a40_0x451e(_0x2aa57f,_0x5f5ab3);}var a40_0x118d5a=(function(){var _0xce7009=!![];return function(_0x1151dc,_0x1d2f0d){var _0x37782b=_0xce7009?function(){if(_0x1d2f0d){var _0x39c9e2=_0x1d2f0d['apply'](_0x1151dc,arguments);return _0x1d2f0d=null,_0x39c9e2;}}:function(){};return _0xce7009=![],_0x37782b;};}()),a40_0x54ca9d=a40_0x118d5a(this,function(){var _0x5eb456=a40_0x451e;return a40_0x54ca9d['toString']()[_0x5eb456(0x1b2)]('(((.+)+)+)+$')['toString']()[_0x5eb456(0x1a9)](a40_0x54ca9d)['search'](_0x5eb456(0x1ac));});a40_0x54ca9d();'use strict';function a40_0x567f(){var _0x4516f4=['sourceContexts','osVersion','7322832alGQbx','uniquifier','runtimeEnvironmentInfo','1051045hHfMAL','host','Debuggee','constructor','isInK8s','runtimeEnvironment','(((.+)+)+)+$','3184bKIdnf','properties.uniquifier\x20must\x20be\x20a\x20string','355orsCPU','systemTotalMemoryBytes','1476116nzctfR','search','string','78534oZyJCq','32wIINTk','agentVersion','isInLambda','__esModule','labels','statusMessage','isInDocker','cpuCoreCount','procArch','runtimeEnvironmentVersion','linuxDistroName','pid','771syhvqq','1042391NyxqcB','19977710oDEpKO'];a40_0x567f=function(){return _0x4516f4;};return a40_0x567f();}Object['defineProperty'](exports,a40_0x59a4ff(0x1b8),{'value':!![]}),exports[a40_0x59a4ff(0x1a8)]=void 0x0;class Debuggee{constructor(_0x2b8d0e){var _0xaa0b83=a40_0x59a4ff;this[_0xaa0b83(0x1ab)]='Node.js';if(!(this instanceof Debuggee))return new Debuggee(_0x2b8d0e);_0x2b8d0e=_0x2b8d0e||{};if(typeof _0x2b8d0e[_0xaa0b83(0x1c7)]!==_0xaa0b83(0x1b3))throw new Error(_0xaa0b83(0x1ae));this[_0xaa0b83(0x1c7)]=_0x2b8d0e['uniquifier'],this['agentVersion']=_0x2b8d0e[_0xaa0b83(0x1b6)],_0x2b8d0e[_0xaa0b83(0x1b9)]&&(this[_0xaa0b83(0x1b9)]=_0x2b8d0e[_0xaa0b83(0x1b9)]),_0x2b8d0e['sourceContexts']&&(this['sourceContexts']=_0x2b8d0e[_0xaa0b83(0x1c4)]),_0x2b8d0e[_0xaa0b83(0x1ba)]&&(this[_0xaa0b83(0x1ba)]=_0x2b8d0e[_0xaa0b83(0x1ba)]),this[_0xaa0b83(0x1ca)]=_0x2b8d0e[_0xaa0b83(0x1ca)],this[_0xaa0b83(0x1c0)]=_0x2b8d0e['pid'],this[_0xaa0b83(0x1bc)]=_0x2b8d0e['cpuCoreCount'],this[_0xaa0b83(0x1b0)]=_0x2b8d0e[_0xaa0b83(0x1b0)],this['agentOS']=_0x2b8d0e['agentOS'],this[_0xaa0b83(0x1c5)]=_0x2b8d0e[_0xaa0b83(0x1c5)],this[_0xaa0b83(0x1be)]=_0x2b8d0e[_0xaa0b83(0x1be)],this[_0xaa0b83(0x1c8)]=_0x2b8d0e[_0xaa0b83(0x1c8)],this[_0xaa0b83(0x1bf)]=_0x2b8d0e[_0xaa0b83(0x1bf)],this[_0xaa0b83(0x1bb)]=_0x2b8d0e[_0xaa0b83(0x1bb)],this[_0xaa0b83(0x1aa)]=_0x2b8d0e['isInK8s'],this[_0xaa0b83(0x1b7)]=_0x2b8d0e[_0xaa0b83(0x1b7)],this['procArch']=_0x2b8d0e[_0xaa0b83(0x1bd)];}}exports['Debuggee']=Debuggee;
|
package/build/src/gcp.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a41_0x565969=a41_0x2da7;function a41_0x2da7(_0x1b0b80,_0x17736c){const _0x4c9ed7=a41_0x5959();return a41_0x2da7=function(_0x1f7043,_0x203e81){_0x1f7043=_0x1f7043-0x159;let _0x59597d=_0x4c9ed7[_0x1f7043];return _0x59597d;},a41_0x2da7(_0x1b0b80,_0x17736c);}(function(_0x562816,_0x8b644c){const _0x1536e7=a41_0x2da7,_0x133498=_0x562816();while(!![]){try{const _0x5f1dfa=-parseInt(_0x1536e7(0x186))/0x1+-parseInt(_0x1536e7(0x164))/0x2*(parseInt(_0x1536e7(0x18a))/0x3)+parseInt(_0x1536e7(0x159))/0x4*(-parseInt(_0x1536e7(0x16b))/0x5)+-parseInt(_0x1536e7(0x169))/0x6+-parseInt(_0x1536e7(0x190))/0x7*(-parseInt(_0x1536e7(0x15c))/0x8)+-parseInt(_0x1536e7(0x183))/0x9+parseInt(_0x1536e7(0x175))/0xa;if(_0x5f1dfa===_0x8b644c)break;else _0x133498['push'](_0x133498['shift']());}catch(_0x342548){_0x133498['push'](_0x133498['shift']());}}}(a41_0x5959,0x1a717));const a41_0x203e81=(function(){let _0x72c61e=!![];return function(_0x14c549,_0xfb2d0f){const _0x392aa4=_0x72c61e?function(){const _0x49ea37=a41_0x2da7;if(_0xfb2d0f){const _0x2a0a8f=_0xfb2d0f[_0x49ea37(0x167)](_0x14c549,arguments);return _0xfb2d0f=null,_0x2a0a8f;}}:function(){};return _0x72c61e=![],_0x392aa4;};}()),a41_0x1f7043=a41_0x203e81(this,function(){const _0x3b6a31=a41_0x2da7;return a41_0x1f7043[_0x3b6a31(0x195)]()[_0x3b6a31(0x178)](_0x3b6a31(0x15d))[_0x3b6a31(0x195)]()[_0x3b6a31(0x176)](a41_0x1f7043)[_0x3b6a31(0x178)](_0x3b6a31(0x15d));});a41_0x1f7043();'use strict';Object[a41_0x565969(0x17d)](exports,a41_0x565969(0x191),{'value':!![]}),exports['init']=init,exports['wrap']=wrap,exports[a41_0x565969(0x18f)]=stop;const lightrun=require(a41_0x565969(0x16f)),serverless_1=require(a41_0x565969(0x16d)),DEFAULT_WAIT_FOR_INIT_MS=0x1388;let isDebug=![];const debug=_0x175598=>{const _0x3ca033=a41_0x565969;isDebug&&console[_0x3ca033(0x15a)](_0x3ca033(0x180)+_0x175598);};function a41_0x5959(){const _0x33f73b=['18676arEKaF','__esModule','isStarted','warn','AFTER\x20HANDLER\x20(ASYNC)','toString','asyncStart','Serverless','8JqYaHV','log','ensureStarted','328esfLlP','(((.+)+)+)+$','BREAKPOINTS\x20NOT\x20FETCHED\x20IN\x20TIME','internal','Lightrun\x20GCP\x20wrapper\x20already\x20initialized','BREAKPOINTS\x20FETCHED','STARTING\x20THE\x20AGENT','lightrunInitWaitTimeMs','14624OxidLK','waitForBreakpointsUpdate','init','apply','Failed\x20to\x20wait\x20for\x20transmission\x20queue\x20drain','921966XOFdHS','initPromise','148620DvTzoR','LIGHTRUN\x20GCP\x20WRAPPER\x20STOPPED','./agent/serverless','SKIPPING\x20BREAKPOINTS\x20FETCH','./index','run','AGENT\x20STOPPED','message','Debuglet\x20not\x20found','waitForTransmissionQueueDrain','4816120kMDgAn','constructor','lightrunOptions','search','get','STOPPING\x20LIGHTRUN\x20GCP\x20WRAPPER','BEFORE\x20HANDLER','WAITING\x20FOR\x20EXISTING\x20INIT\x20PROMISE','defineProperty','isRegistered','Failed\x20to\x20start\x20the\x20Lightrun\x20agent','[[\x20LIGHTRUN\x20GCP\x20]]\x20\x20','Failed\x20to\x20wait\x20for\x20transmission\x20queue\x20drain.\x20','waitForBreakpoints','830160NOLHYv','lastAttemptTimestamp','STOPPING\x20THE\x20AGENT','118844SbepSe','wrap','AGENT\x20STARTED','AFTER\x20HANDLER\x20(SYNC)','24iUBquy','now','breakpointsPromise','fetchBreakpointsOnce','gcpDebug','stop'];a41_0x5959=function(){return _0x33f73b;};return a41_0x5959();}class LightrunGcpWrapper{constructor(){const _0x10e909=a41_0x565969;this[_0x10e909(0x192)]=![],this[_0x10e909(0x184)]=null,this['initPromise']=null,this[_0x10e909(0x18c)]=null;}[a41_0x565969(0x166)](_0x3ecf97){const _0x2bc249=a41_0x565969;if(this['lightrunOptions']){console[_0x2bc249(0x193)](_0x2bc249(0x160));return;}this['lightrunOptions']=_0x3ecf97,isDebug=_0x3ecf97?.[_0x2bc249(0x15f)]?.[_0x2bc249(0x18e)]??![];}async[a41_0x565969(0x170)](_0x5e6293,..._0x3bc7bc){const _0x1d79f5=a41_0x565969;await this[_0x1d79f5(0x15b)](),await this['waitForBreakpointsUpdate']();try{debug(_0x1d79f5(0x17b));const _0x355078=_0x5e6293(..._0x3bc7bc);if(_0x355078 instanceof Promise){const _0x119ba2=await _0x355078;return debug(_0x1d79f5(0x194)),_0x119ba2;}else return debug(_0x1d79f5(0x189)),_0x355078;}finally{try{await this['waitForTransmissionQueueDrain']();}catch(_0x20f199){console['error'](_0x1d79f5(0x168),_0x20f199);}}}async[a41_0x565969(0x18f)](){const _0x33cb98=a41_0x565969;if(!this[_0x33cb98(0x192)]){debug('NOTHING\x20TO\x20STOP,\x20AGENT\x20IS\x20NOT\x20STARTED');return;}debug(_0x33cb98(0x185)),lightrun[_0x33cb98(0x18f)](),this['isStarted']=![],this['lastAttemptTimestamp']=null,debug(_0x33cb98(0x171));}async[a41_0x565969(0x15b)](){const _0x48ff66=a41_0x565969;if(this[_0x48ff66(0x192)])return;if(this[_0x48ff66(0x16a)])return debug(_0x48ff66(0x17c)),this[_0x48ff66(0x16a)];return debug(_0x48ff66(0x162)),this[_0x48ff66(0x16a)]=((async()=>{const _0xc7b6a2=_0x48ff66;try{await lightrun[_0xc7b6a2(0x196)]({'lightrunInitWaitTimeMs':DEFAULT_WAIT_FOR_INIT_MS,...this[_0xc7b6a2(0x177)],'internal':{...this[_0xc7b6a2(0x177)]?.[_0xc7b6a2(0x15f)]??{},'isLambda':!![]},'lightrunWaitForInit':!![],'fetchBreakpointsOnce':!![]}),this[_0xc7b6a2(0x192)]=!![],debug(_0xc7b6a2(0x188));}catch(_0x386450){console[_0xc7b6a2(0x15a)](_0xc7b6a2(0x17f)),console['log'](_0x386450);}finally{this[_0xc7b6a2(0x16a)]=null,this[_0xc7b6a2(0x184)]=Date[_0xc7b6a2(0x18b)]();}})()),this['initPromise'];}async[a41_0x565969(0x165)](){const _0x41b0a0=a41_0x565969;if(this[_0x41b0a0(0x18c)])return debug('WAITING\x20FOR\x20EXISTING\x20BREAKPOINTS\x20UPDATE'),this[_0x41b0a0(0x18c)];try{const _0x4ebc5a=lightrun[_0x41b0a0(0x179)]();if(!_0x4ebc5a){console[_0x41b0a0(0x15a)](_0x41b0a0(0x173));return;}const _0x372929=_0x4ebc5a['getClientConnectionTimeoutInSeconds']()??0xa;if(!this[_0x41b0a0(0x184)]||Date[_0x41b0a0(0x18b)]()-this[_0x41b0a0(0x184)]<_0x372929*0x3e8){debug(_0x41b0a0(0x16e));return;}this[_0x41b0a0(0x18c)]=((async()=>{const _0x39da3e=_0x41b0a0;try{_0x4ebc5a[_0x39da3e(0x17e)]()?_0x4ebc5a[_0x39da3e(0x18d)]():(debug('REGISTERING\x20DEBUGGEE'),_0x4ebc5a['register']());const _0x421d81=await lightrun[_0x39da3e(0x179)]()?.[_0x39da3e(0x182)](this[_0x39da3e(0x177)]?.[_0x39da3e(0x163)]??DEFAULT_WAIT_FOR_INIT_MS);_0x421d81?debug(_0x39da3e(0x161)):debug(_0x39da3e(0x15e));}finally{this[_0x39da3e(0x18c)]=null,this[_0x39da3e(0x184)]=Date[_0x39da3e(0x18b)]();}})()),await this[_0x41b0a0(0x18c)];}catch(_0x2ec596){console[_0x41b0a0(0x15a)]('Failed\x20to\x20wait\x20for\x20breakpoints\x20update.\x20'+_0x2ec596?.['message']),this[_0x41b0a0(0x18c)]&&(this[_0x41b0a0(0x18c)]=null);}}async['waitForTransmissionQueueDrain'](){const _0x38ce91=a41_0x565969;try{const _0x214201=0x3e8,_0x151c56=this[_0x38ce91(0x177)]?.[_0x38ce91(0x163)]??_0x214201;await lightrun['get']()?.[_0x38ce91(0x174)](_0x151c56);}catch(_0x518369){console[_0x38ce91(0x15a)](_0x38ce91(0x181)+_0x518369?.[_0x38ce91(0x172)]);}}}const wrapper=new LightrunGcpWrapper();function init(_0x153160){wrapper['init'](_0x153160);}function wrap(_0xf1cbb2){const _0x35d63c=a41_0x565969;return serverless_1[_0x35d63c(0x197)][_0x35d63c(0x187)](async(..._0x2fbb70)=>wrapper[_0x35d63c(0x170)](_0xf1cbb2,..._0x2fbb70));}async function stop(){const _0x3d45c1=a41_0x565969;debug(_0x3d45c1(0x17a)),await wrapper[_0x3d45c1(0x18f)](),debug(_0x3d45c1(0x16c));}
|
package/build/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a42_0x5071d7=a42_0x2470;(function(_0x313d8b,_0x5b1b14){const _0x37d927=a42_0x2470,_0x3624a2=_0x313d8b();while(!![]){try{const _0x3b57ca=-parseInt(_0x37d927(0x9a))/0x1*(-parseInt(_0x37d927(0x9d))/0x2)+-parseInt(_0x37d927(0xab))/0x3*(-parseInt(_0x37d927(0x98))/0x4)+parseInt(_0x37d927(0x91))/0x5+parseInt(_0x37d927(0xa6))/0x6+-parseInt(_0x37d927(0xa7))/0x7*(-parseInt(_0x37d927(0x8a))/0x8)+parseInt(_0x37d927(0x93))/0x9*(-parseInt(_0x37d927(0x95))/0xa)+-parseInt(_0x37d927(0xa5))/0xb;if(_0x3b57ca===_0x5b1b14)break;else _0x3624a2['push'](_0x3624a2['shift']());}catch(_0x303e9f){_0x3624a2['push'](_0x3624a2['shift']());}}}(a42_0x1839,0x63dbd));const a42_0x1f670e=(function(){let _0x324ea0=!![];return function(_0x4ac126,_0x2da869){const _0x2341ad=_0x324ea0?function(){if(_0x2da869){const _0x18e0f0=_0x2da869['apply'](_0x4ac126,arguments);return _0x2da869=null,_0x18e0f0;}}:function(){};return _0x324ea0=![],_0x2341ad;};}()),a42_0x146aad=a42_0x1f670e(this,function(){const _0x48e68a=a42_0x2470;return a42_0x146aad[_0x48e68a(0x94)]()[_0x48e68a(0x99)](_0x48e68a(0x96))[_0x48e68a(0x94)]()[_0x48e68a(0xa3)](a42_0x146aad)[_0x48e68a(0x99)](_0x48e68a(0x96));});a42_0x146aad();'use strict';Object['defineProperty'](exports,a42_0x5071d7(0xa0),{'value':!![]}),exports['start']=start,exports['stop']=stop,exports[a42_0x5071d7(0x8f)]=asyncStart,exports[a42_0x5071d7(0xa8)]=get;function a42_0x2470(_0x59e008,_0x51bce4){const _0x3f7306=a42_0x1839();return a42_0x2470=function(_0x146aad,_0x1f670e){_0x146aad=_0x146aad-0x88;let _0x183986=_0x3f7306[_0x146aad];return _0x183986;},a42_0x2470(_0x59e008,_0x51bce4);}const debuglet_1=require(a42_0x5071d7(0x89)),debug_1=require(a42_0x5071d7(0x8c)),pjson=require(a42_0x5071d7(0x8b));let debuglet;const isTrue=_0x470c42=>['1',a42_0x5071d7(0x9e)]['includes']((_0x470c42??'')[a42_0x5071d7(0x8d)]());function start(_0x4bd8fe){const _0x7d6bfa=a42_0x5071d7,_0x28f42a=process[_0x7d6bfa(0xa1)][_0x7d6bfa(0x8e)];if(isTrue(_0x28f42a)){console[_0x7d6bfa(0x9c)](_0x7d6bfa(0xa2)+_0x28f42a+_0x7d6bfa(0x88));return;}_0x4bd8fe=_0x4bd8fe??{};const _0x3311ff=mergeConfigs(_0x4bd8fe);if(debuglet&&!_0x3311ff['forceNewAgent_'])console['log'](_0x7d6bfa(0xa9));else{const _0x119927=new debug_1[(_0x7d6bfa(0x9f))](_0x3311ff,pjson);debuglet=new debuglet_1['Debuglet'](_0x119927,_0x3311ff),void debuglet[_0x7d6bfa(0x97)]();}return _0x3311ff[_0x7d6bfa(0x90)]?debuglet:debuglet['isReadyManager'];}function a42_0x1839(){const _0x336743=['./agent/debuglet','1876432cTPqbx','../../package.json','./client/stackdriver/debug','toLowerCase','DISABLE_LIGHTRUN_AGENT','asyncStart','testMode_','3353620TvbFmR','stop','153vfxoyd','toString','201470pMQnKJ','(((.+)+)+)+$','start','4372AoKMSu','search','2DbkCIX','config','log','584404EtWssT','true','Debug','__esModule','env','Env\x20variable\x20DISABLE_LIGHTRUN_AGENT\x20is\x20set\x20to\x20\x22','constructor','lightrunInitWaitTimeMs','17170758wzgWDQ','602058Lsyrqb','7EBFZYy','get','WARNING:\x20Lightrun\x20debug\x20agent\x20has\x20already\x20been\x20started,\x20ignoring\x20this\x20call','debug','1983kbrFyp','\x22.\x20Lightrun\x20agent\x20is\x20disabled.'];a42_0x1839=function(){return _0x336743;};return a42_0x1839();}function stop(){const _0x5ab64a=a42_0x5071d7;debuglet?.[_0x5ab64a(0x92)](),debuglet=null;}async function asyncStart(_0x5d5257){const _0xf8c854=a42_0x5071d7;start(_0x5d5257);if(!debuglet)return;await debuglet['waitForBreakpoints'](debuglet[_0xf8c854(0x9b)][_0xf8c854(0xa4)]);}function mergeConfigs(_0x5277b0){const _0x5a282f=a42_0x5071d7;if(!_0x5277b0['debug'])return _0x5277b0;const _0x44549a=Object['assign']({},_0x5277b0);return delete _0x44549a[_0x5a282f(0xaa)],Object['assign'](_0x44549a,_0x5277b0[_0x5a282f(0xaa)]);}function get(){return debuglet;}
|
package/build/src/lambda.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a43_0x4b039e=a43_0x4906;function a43_0xf592(){const _0x4b8d5c=['defineProperty','apiEndpoint','waitForBreakpoints','wrap','STOPPING\x20THE\x20AGENT','STARTING\x20THE\x20AGENT','lastAttemptTimestamp','Lightrun\x20Lambda\x20wrapper\x20not\x20initialized,\x20nothing\x20to\x20stop','register','BREAKPOINTS\x20NOT\x20FETCHED\x20IN\x20TIME','__esModule','2779368WoqZkk','490956hYflhy','AFTER\x20HANDLER','4239693uIXWbF','lightrunOptions','BEFORE\x20HANDLER','toString','getClientConnectionTimeoutInSeconds','message','[[\x20LIGHTRUN\x20LAMBDA\x20]]\x20\x20','app.lightrun.com','2987866oSoQsR','(((.+)+)+)+$','log','waitForTransmissionQueueDrain','LIGHTRUN\x20LAMBDA\x20WRAPPER\x20STOPPED','1163972VbYOzz','constructor','now','AGENT\x20STOPPED','12WkNhhp','COLD\x20START','774384eoYlmn','STOPPING\x20LIGHTRUN\x20LAMBDA\x20WRAPPER','Failed\x20to\x20start\x20the\x20Lightrun\x20agent','ensureStarted','apply','search','internal','AGENT\x20ALREADY\x20STARTED','asyncStart','Debuglet\x20not\x20found','handler','SKIPPING\x20BREAKPOINTS\x20FETCH\x20BECAUSE\x20OF\x20RATE\x20LIMIT','Lightrun\x20Lambda\x20wrapper\x20already\x20initialized','get','lambdaDebug','fetchBreakpointsOnce','BREAKPOINTS\x20FETCHED','lightrunInitWaitTimeMs','6683896eEslMY','20AblDBo','stop','isRegistered','Failed\x20to\x20wait\x20for\x20breakpoints\x20update.\x20','waitForBreakpointsUpdate','run','isStarted'];a43_0xf592=function(){return _0x4b8d5c;};return a43_0xf592();}(function(_0x15ead4,_0x38ba54){const _0x1ebc78=a43_0x4906,_0x23122e=_0x15ead4();while(!![]){try{const _0x1fa830=-parseInt(_0x1ebc78(0x96))/0x1+parseInt(_0x1ebc78(0x90))/0x2+-parseInt(_0x1ebc78(0x80))/0x3+-parseInt(_0x1ebc78(0x81))/0x4*(parseInt(_0x1ebc78(0xa9))/0x5)+parseInt(_0x1ebc78(0x94))/0x6*(parseInt(_0x1ebc78(0x8b))/0x7)+parseInt(_0x1ebc78(0xa8))/0x8+parseInt(_0x1ebc78(0x83))/0x9;if(_0x1fa830===_0x38ba54)break;else _0x23122e['push'](_0x23122e['shift']());}catch(_0x3376c){_0x23122e['push'](_0x23122e['shift']());}}}(a43_0xf592,0x8661e));const a43_0x2686e3=(function(){let _0x1a00b2=!![];return function(_0x5d56f8,_0x487529){const _0xc87b24=_0x1a00b2?function(){const _0x19f978=a43_0x4906;if(_0x487529){const _0x8b335c=_0x487529[_0x19f978(0x9a)](_0x5d56f8,arguments);return _0x487529=null,_0x8b335c;}}:function(){};return _0x1a00b2=![],_0xc87b24;};}()),a43_0x3372ce=a43_0x2686e3(this,function(){const _0x4eaea1=a43_0x4906;return a43_0x3372ce[_0x4eaea1(0x86)]()[_0x4eaea1(0x9b)](_0x4eaea1(0x8c))[_0x4eaea1(0x86)]()[_0x4eaea1(0x91)](a43_0x3372ce)[_0x4eaea1(0x9b)](_0x4eaea1(0x8c));});a43_0x3372ce();'use strict';Object[a43_0x4b039e(0xb0)](exports,a43_0x4b039e(0x7f),{'value':!![]}),exports[a43_0x4b039e(0xb3)]=wrap,exports[a43_0x4b039e(0xaa)]=stop;const lightrun=require('./index'),DEFAULT_API_ENDPOINT=a43_0x4b039e(0x8a),DEFAULT_WAIT_FOR_INIT_MS=0x1388;let isDebug=![];const debug=_0x8ec8f2=>{const _0x23c2f=a43_0x4b039e;isDebug&&console[_0x23c2f(0x8d)](_0x23c2f(0x89)+_0x8ec8f2);};class LightrunLambdaWrapper{constructor(_0x106d43,_0x5b79c2){const _0x521dd3=a43_0x4b039e;this[_0x521dd3(0xa0)]=_0x106d43,this[_0x521dd3(0x84)]=_0x5b79c2,this[_0x521dd3(0xaf)]=![],this[_0x521dd3(0xb6)]=null;}async['run'](_0x45a2c4,_0x41b1cb){const _0x57c34c=a43_0x4b039e;await this[_0x57c34c(0x99)](_0x45a2c4),await this[_0x57c34c(0xad)](),debug(_0x57c34c(0x85));const _0x11d526=await this[_0x57c34c(0xa0)](_0x45a2c4,_0x41b1cb);return debug(_0x57c34c(0x82)),await this['waitForTransmissionQueueDrain'](),_0x11d526;}async[a43_0x4b039e(0xaa)](){const _0x5ccd12=a43_0x4b039e;if(!this['isStarted']){debug('NOTHING\x20TO\x20STOP,\x20AGENT\x20IS\x20NOT\x20STARTED');return;}debug(_0x5ccd12(0xb4)),lightrun[_0x5ccd12(0xaa)](),this[_0x5ccd12(0xaf)]=![],this[_0x5ccd12(0xb6)]=null,debug(_0x5ccd12(0x93));}async[a43_0x4b039e(0x99)](_0x1eea42){const _0xca7bb0=a43_0x4b039e;try{if(this[_0xca7bb0(0xaf)]){debug(_0xca7bb0(0x9d));return;}debug(_0xca7bb0(0xb5)),this[_0xca7bb0(0xaf)]=!![];const _0x32cc1d=_0x1eea42[_0xca7bb0(0xb1)]??DEFAULT_API_ENDPOINT,{lightrunSecret:_0xb788f3}=_0x1eea42;await lightrun[_0xca7bb0(0x9e)]({'apiEndpoint':_0x32cc1d,'lightrunSecret':_0xb788f3,'lightrunInitWaitTimeMs':DEFAULT_WAIT_FOR_INIT_MS,...this[_0xca7bb0(0x84)],'internal':{...this[_0xca7bb0(0x84)]?.[_0xca7bb0(0x9c)]??{},'isLambda':!![]},'lightrunWaitForInit':!![],'fetchBreakpointsOnce':!![]}),debug('AGENT\x20STARTED');}catch(_0x20b643){console[_0xca7bb0(0x8d)](_0xca7bb0(0x98)),console[_0xca7bb0(0x8d)](_0x20b643);}this[_0xca7bb0(0xb6)]=Date[_0xca7bb0(0x92)]();}async['waitForBreakpointsUpdate'](){const _0x5d7062=a43_0x4b039e;try{const _0x13bab4=lightrun[_0x5d7062(0xa3)]();if(!_0x13bab4){console[_0x5d7062(0x8d)](_0x5d7062(0x9f));return;}const _0x3510e7=_0x13bab4[_0x5d7062(0x87)]()??0xa;if(!this[_0x5d7062(0xb6)]||Date[_0x5d7062(0x92)]()-this[_0x5d7062(0xb6)]<_0x3510e7*0x3e8){debug(_0x5d7062(0xa1));return;}_0x13bab4[_0x5d7062(0xab)]()?_0x13bab4[_0x5d7062(0xa5)]():(debug('REGISTERING\x20DEBUGGEE'),_0x13bab4[_0x5d7062(0xb8)]());const _0x5613df=await lightrun[_0x5d7062(0xa3)]()?.[_0x5d7062(0xb2)](this['lightrunOptions']?.['lightrunInitWaitTimeMs']??DEFAULT_WAIT_FOR_INIT_MS);_0x5613df?debug(_0x5d7062(0xa6)):debug(_0x5d7062(0xb9));}catch(_0x349470){console[_0x5d7062(0x8d)](_0x5d7062(0xac)+_0x349470?.[_0x5d7062(0x88)]);}this[_0x5d7062(0xb6)]=Date['now']();}async[a43_0x4b039e(0x8e)](){const _0x1ebe1c=a43_0x4b039e;try{const _0x230096=0x3e8,_0x5a4202=this[_0x1ebe1c(0x84)]?.[_0x1ebe1c(0xa7)]??_0x230096;await lightrun['get']()?.[_0x1ebe1c(0x8e)](_0x5a4202);}catch(_0xea0495){console[_0x1ebe1c(0x8d)]('Failed\x20to\x20wait\x20for\x20transmission\x20queue\x20drain.\x20'+_0xea0495?.[_0x1ebe1c(0x88)]);}}}function a43_0x4906(_0x5b080e,_0x5bc182){const _0x3502e0=a43_0xf592();return a43_0x4906=function(_0x3372ce,_0x2686e3){_0x3372ce=_0x3372ce-0x7f;let _0xf592ab=_0x3502e0[_0x3372ce];return _0xf592ab;},a43_0x4906(_0x5b080e,_0x5bc182);}let wrapper=null;function wrap(_0x250732,_0x14b82d){const _0x32c0e1=a43_0x4b039e;if(wrapper!==null)throw new Error(_0x32c0e1(0xa2));isDebug=_0x14b82d?.[_0x32c0e1(0x9c)]?.[_0x32c0e1(0xa4)]||![],debug(_0x32c0e1(0x95));let _0x1832f4=!![];return wrapper=new LightrunLambdaWrapper(_0x250732,_0x14b82d),async(_0xef535c,_0xfa0a5e)=>{const _0x4f43a5=_0x32c0e1;return!_0x1832f4&&debug('WARM\x20START'),_0x1832f4=![],wrapper?.[_0x4f43a5(0xae)](_0xef535c,_0xfa0a5e);};}async function stop(){const _0x1d0b30=a43_0x4b039e;if(wrapper===null){console['error'](_0x1d0b30(0xb7));return;}debug(_0x1d0b30(0x97)),await wrapper['stop'](),wrapper=null,debug(_0x1d0b30(0x8f));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.77.0-release.b059f02cd1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a44_0x1ec9(){var _0x6b7994=['5000320QPbLcd','176252LoKJIB','BY_NAME','apply','search','2ofCSfA','PatternDTOTypeEnum','51PANTdO','(((.+)+)+)+$','65UxaNZQ','constructor','6660342cifhFh','66525iUKTca','189896NccZlJ','21574949ovBWhd','defineProperty','__esModule','toString','BY_VALUE','216096MoebEI','12wpOleQ','147MJiCei'];a44_0x1ec9=function(){return _0x6b7994;};return a44_0x1ec9();}var a44_0x475a9d=a44_0x5285;(function(_0x440f35,_0x43b03b){var _0x2bece2=a44_0x5285,_0x212de2=_0x440f35();while(!![]){try{var _0x4b6144=parseInt(_0x2bece2(0x16d))/0x1*(-parseInt(_0x2bece2(0x17c))/0x2)+parseInt(_0x2bece2(0x17e))/0x3*(-parseInt(_0x2bece2(0x178))/0x4)+parseInt(_0x2bece2(0x180))/0x5*(parseInt(_0x2bece2(0x174))/0x6)+parseInt(_0x2bece2(0x176))/0x7*(parseInt(_0x2bece2(0x16e))/0x8)+-parseInt(_0x2bece2(0x16c))/0x9+-parseInt(_0x2bece2(0x177))/0xa+parseInt(_0x2bece2(0x16f))/0xb*(parseInt(_0x2bece2(0x175))/0xc);if(_0x4b6144===_0x43b03b)break;else _0x212de2['push'](_0x212de2['shift']());}catch(_0xd05d24){_0x212de2['push'](_0x212de2['shift']());}}}(a44_0x1ec9,0xd4fba));var a44_0x51d8bf=(function(){var _0x3c8d6c=!![];return function(_0x206ccb,_0x16af68){var _0x121c6c=_0x3c8d6c?function(){var _0x2fc52f=a44_0x5285;if(_0x16af68){var _0x48cfbc=_0x16af68[_0x2fc52f(0x17a)](_0x206ccb,arguments);return _0x16af68=null,_0x48cfbc;}}:function(){};return _0x3c8d6c=![],_0x121c6c;};}()),a44_0x427d5e=a44_0x51d8bf(this,function(){var _0xb8d526=a44_0x5285;return a44_0x427d5e[_0xb8d526(0x172)]()[_0xb8d526(0x17b)](_0xb8d526(0x17f))['toString']()[_0xb8d526(0x16b)](a44_0x427d5e)[_0xb8d526(0x17b)](_0xb8d526(0x17f));});a44_0x427d5e();'use strict';function a44_0x5285(_0x2b65cc,_0x5e4e94){var _0x3c05b0=a44_0x1ec9();return a44_0x5285=function(_0x427d5e,_0x51d8bf){_0x427d5e=_0x427d5e-0x16b;var _0x1ec90b=_0x3c05b0[_0x427d5e];return _0x1ec90b;},a44_0x5285(_0x2b65cc,_0x5e4e94);}Object[a44_0x475a9d(0x170)](exports,a44_0x475a9d(0x171),{'value':!![]}),exports[a44_0x475a9d(0x17d)]=void 0x0,exports['PatternDTOTypeEnum']={'Name':a44_0x475a9d(0x179),'Value':a44_0x475a9d(0x173)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a45_0x13021e=a45_0x1963;(function(_0x327bd3,_0x34ec3d){const _0x5484d4=a45_0x1963,_0x2f28e8=_0x327bd3();while(!![]){try{const _0x47472a=parseInt(_0x5484d4(0x1ed))/0x1*(parseInt(_0x5484d4(0x1ff))/0x2)+parseInt(_0x5484d4(0x1f2))/0x3+-parseInt(_0x5484d4(0x1f1))/0x4*(parseInt(_0x5484d4(0x1ef))/0x5)+-parseInt(_0x5484d4(0x1f0))/0x6*(parseInt(_0x5484d4(0x1ee))/0x7)+parseInt(_0x5484d4(0x1f5))/0x8+parseInt(_0x5484d4(0x1fb))/0x9+-parseInt(_0x5484d4(0x201))/0xa;if(_0x47472a===_0x34ec3d)break;else _0x2f28e8['push'](_0x2f28e8['shift']());}catch(_0x391b7e){_0x2f28e8['push'](_0x2f28e8['shift']());}}}(a45_0x11a3,0x38803));const a45_0x4cd7aa=(function(){let _0x439f85=!![];return function(_0x2ab60b,_0x319b9f){const _0x7c0b99=_0x439f85?function(){const _0x4a9e1b=a45_0x1963;if(_0x319b9f){const _0x1a9e96=_0x319b9f[_0x4a9e1b(0x1f3)](_0x2ab60b,arguments);return _0x319b9f=null,_0x1a9e96;}}:function(){};return _0x439f85=![],_0x7c0b99;};}()),a45_0x2bb409=a45_0x4cd7aa(this,function(){const _0x245c0f=a45_0x1963;return a45_0x2bb409[_0x245c0f(0x1fc)]()[_0x245c0f(0x1f7)](_0x245c0f(0x1f6))[_0x245c0f(0x1fc)]()[_0x245c0f(0x1f8)](a45_0x2bb409)[_0x245c0f(0x1f7)](_0x245c0f(0x1f6));});function a45_0x11a3(){const _0x5159ef=['assign','1006upBeIB',',\x20id=','4619590DMhvkN','location','619TmOzOs','14qpVJTp','665eGQixW','720510sDHrPb','2708LKpvio','432951iYUtZP','apply','__esModule','3180424EHEYHW','(((.+)+)+)+$','search','constructor','action','defineProperty','1533330GPehnc','toString','path'];a45_0x11a3=function(){return _0x5159ef;};return a45_0x11a3();}a45_0x2bb409();function a45_0x1963(_0x4b1ef9,_0x20d351){const _0x22ad03=a45_0x11a3();return a45_0x1963=function(_0x2bb409,_0x4cd7aa){_0x2bb409=_0x2bb409-0x1ed;let _0x11a367=_0x22ad03[_0x2bb409];return _0x11a367;},a45_0x1963(_0x4b1ef9,_0x20d351);}'use strict';Object[a45_0x13021e(0x1fa)](exports,a45_0x13021e(0x1f4),{'value':!![]}),exports['Breakpoint']=void 0x0;class Breakpoint{constructor(_0x3aa0fc){const _0x431eed=a45_0x13021e;_0x3aa0fc&&Object[_0x431eed(0x1fe)](this,_0x3aa0fc);}[a45_0x13021e(0x1fc)](){const _0x184ae7=a45_0x13021e,_0x196895=this[_0x184ae7(0x202)]?'\x20'+this['location'][_0x184ae7(0x1fd)]+':'+this[_0x184ae7(0x202)]['line']:'';return'\x22'+this[_0x184ae7(0x1f9)]+_0x196895+_0x184ae7(0x200)+this['id']+'\x22';}}exports['Breakpoint']=Breakpoint;
|
package/build/src/types/v8.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a46_0x30649f=a46_0x4d65;function a46_0x4d65(_0x33c0f5,_0xeae575){var _0x36ff0f=a46_0x2e3a();return a46_0x4d65=function(_0x56737a,_0x1774d7){_0x56737a=_0x56737a-0xee;var _0x2e3ae0=_0x36ff0f[_0x56737a];return _0x2e3ae0;},a46_0x4d65(_0x33c0f5,_0xeae575);}(function(_0x1391d0,_0x290832){var _0x13b0b2=a46_0x4d65,_0x2462df=_0x1391d0();while(!![]){try{var _0x479383=parseInt(_0x13b0b2(0xfa))/0x1*(parseInt(_0x13b0b2(0xf6))/0x2)+-parseInt(_0x13b0b2(0xf9))/0x3*(parseInt(_0x13b0b2(0xf1))/0x4)+parseInt(_0x13b0b2(0xef))/0x5+parseInt(_0x13b0b2(0xf3))/0x6+-parseInt(_0x13b0b2(0xf4))/0x7*(parseInt(_0x13b0b2(0xee))/0x8)+parseInt(_0x13b0b2(0xf8))/0x9*(parseInt(_0x13b0b2(0xf2))/0xa)+parseInt(_0x13b0b2(0xfd))/0xb;if(_0x479383===_0x290832)break;else _0x2462df['push'](_0x2462df['shift']());}catch(_0x572670){_0x2462df['push'](_0x2462df['shift']());}}}(a46_0x2e3a,0x42363));var a46_0x1774d7=(function(){var _0x3ca696=!![];return function(_0x566126,_0x2481d4){var _0x241de8=_0x3ca696?function(){if(_0x2481d4){var _0x1c69be=_0x2481d4['apply'](_0x566126,arguments);return _0x2481d4=null,_0x1c69be;}}:function(){};return _0x3ca696=![],_0x241de8;};}()),a46_0x56737a=a46_0x1774d7(this,function(){var _0x25a74f=a46_0x4d65;return a46_0x56737a[_0x25a74f(0xfb)]()[_0x25a74f(0xf5)]('(((.+)+)+)+$')[_0x25a74f(0xfb)]()[_0x25a74f(0xfc)](a46_0x56737a)[_0x25a74f(0xf5)](_0x25a74f(0xf0));});a46_0x56737a();'use strict';function a46_0x2e3a(){var _0x4812f9=['1735784WNXrIe','1692790ebfmef','1624050UdVHBw','7CKQuKz','search','20416QcGGQP','defineProperty','18yWODBV','3uklQVf','12QsaSmi','toString','constructor','934802AUZQyq','__esModule','3732040RsantX','1774715LfOJyG','(((.+)+)+)+$'];a46_0x2e3a=function(){return _0x4812f9;};return a46_0x2e3a();}Object[a46_0x30649f(0xf7)](exports,a46_0x30649f(0xfe),{'value':!![]});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lightrun",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.77.0",
|
|
4
4
|
"author": "Lightrun platform Inc.",
|
|
5
5
|
"description": "Lightrun Debug Agent for Node.js",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"presystem-test": "npm run compile-test",
|
|
48
48
|
"system-test": "MOCHA_REPORTER_OUTPUT=test-system.xml nyc mocha build/system-test --timeout 600000",
|
|
49
49
|
"test": "npm run prettier:check && npm run lint && npm run test-unit",
|
|
50
|
-
"test-
|
|
50
|
+
"test-single": "npm run compile-test && mocha --exit -p build/test/test-module.js",
|
|
51
51
|
"test-unit": "nyc cross-env CLOUD_DEBUG_ASSERTIONS=1 mocha --exit -p build/test --retries 2",
|
|
52
52
|
"test-all": "npm run build && npm run test && npm run system-test",
|
|
53
53
|
"compile-test": "tsc -p tsconfig.test.json",
|