lightrun 1.64.1 → 1.64.2
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/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-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/legacy-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 +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a35_0x205003=a35_0x3c48;(function(_0x36ec70,_0x3560fb){const _0x1e1b05=a35_0x3c48,_0x46a081=_0x36ec70();while(!![]){try{const _0x336219=-parseInt(_0x1e1b05(0x1fa))/0x1+-parseInt(_0x1e1b05(0x1ed))/0x2+parseInt(_0x1e1b05(0x1f6))/0x3*(-parseInt(_0x1e1b05(0x1eb))/0x4)+parseInt(_0x1e1b05(0x1fd))/0x5*(parseInt(_0x1e1b05(0x1f9))/0x6)+parseInt(_0x1e1b05(0x1ff))/0x7+parseInt(_0x1e1b05(0x202))/0x8+-parseInt(_0x1e1b05(0x1fb))/0x9*(-parseInt(_0x1e1b05(0x204))/0xa);if(_0x336219===_0x3560fb)break;else _0x46a081['push'](_0x46a081['shift']());}catch(_0x5e538b){_0x46a081['push'](_0x46a081['shift']());}}}(a35_0x4d84,0xb60f3));function a35_0x4d84(){const _0x194ee6=['./legacy-debugapi','willUseInspector','585032sJKNWw','V8DebugApi','73040olabwP','>=10','InspectorDebugApi','8LtGekd','__esModule','2496316WQObid','satisfies','(((.+)+)+)+$','MODULE_WRAP_PREFIX_LENGTH','constructor','toString','module','apply','../util/utils','546459RlBzhK','wrap','disconnect','79338sUYLSt','1453509essGUj','1935mJlYDF','create','490exwdWz','indexOf','6106415DVRhbs'];a35_0x4d84=function(){return _0x194ee6;};return a35_0x4d84();}function a35_0x3c48(_0x44b34b,_0x139070){const _0x455dee=a35_0x4d84();return a35_0x3c48=function(_0x5ea683,_0x33b5ea){_0x5ea683=_0x5ea683-0x1e9;let _0x4d8410=_0x455dee[_0x5ea683];return _0x4d8410;},a35_0x3c48(_0x44b34b,_0x139070);}Object['defineProperty'](exports,a35_0x205003(0x1ec),{'value':!![]}),exports[a35_0x205003(0x1fc)]=exports[a35_0x205003(0x1f0)]=exports[a35_0x205003(0x201)]=void 0x0;const utils=require(a35_0x205003(0x1f5));let debugApiConstructor;function willUseInspector(_0xc137c){const _0x2482f4=a35_0x205003,_0x3d812d=(function(){let _0x387c11=!![];return function(_0xb4434d,_0x33a66e){const _0x2e1505=_0x387c11?function(){const _0xa79fbd=a35_0x3c48;if(_0x33a66e){const _0x4ae64c=_0x33a66e[_0xa79fbd(0x1f4)](_0xb4434d,arguments);return _0x33a66e=null,_0x4ae64c;}}:function(){};return _0x387c11=![],_0x2e1505;};}()),_0x395055=_0x3d812d(this,function(){const _0x146fa6=a35_0x3c48;return _0x395055[_0x146fa6(0x1f2)]()['search'](_0x146fa6(0x1ef))[_0x146fa6(0x1f2)]()[_0x146fa6(0x1f1)](_0x395055)['search'](_0x146fa6(0x1ef));});_0x395055();const _0x349412=_0xc137c!=null?_0xc137c:process['version'];return utils[_0x2482f4(0x1ee)](_0x349412,_0x2482f4(0x1e9));}exports[a35_0x205003(0x201)]=willUseInspector;if(willUseInspector()){const inspectorapi=require('./inspector-debugapi');debugApiConstructor=inspectorapi[a35_0x205003(0x1ea)];}else{const v8debugapi=require(a35_0x205003(0x200));debugApiConstructor=v8debugapi[a35_0x205003(0x203)];}exports[a35_0x205003(0x1f0)]=require(a35_0x205003(0x1f3))[a35_0x205003(0x1f7)]('☃')[a35_0x205003(0x1fe)]('☃');let singleton;function create(_0x525018,_0x125fb1,_0xc6573,_0x972199,_0x80ac3b){const _0x582a88=a35_0x205003;if(singleton&&!_0x125fb1['forceNewAgent_'])return singleton;else singleton&&singleton[_0x582a88(0x1f8)]();return singleton=new debugApiConstructor(_0x525018,_0x125fb1,_0xc6573,_0x972199,_0x80ac3b),singleton;}exports['create']=create;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36_0x460b60=a36_0x3bcb;(function(_0x50fa37,_0x25aa10){const _0x38db45=a36_0x3bcb,_0x40add2=_0x50fa37();while(!![]){try{const _0x34099b=-parseInt(_0x38db45(0x1d5))/0x1+parseInt(_0x38db45(0x22a))/0x2+-parseInt(_0x38db45(0x1f3))/0x3+-parseInt(_0x38db45(0x1e2))/0x4+parseInt(_0x38db45(0x1fe))/0x5+-parseInt(_0x38db45(0x200))/0x6+-parseInt(_0x38db45(0x1bd))/0x7*(-parseInt(_0x38db45(0x1c5))/0x8);if(_0x34099b===_0x25aa10)break;else _0x40add2['push'](_0x40add2['shift']());}catch(_0x3c7c7a){_0x40add2['push'](_0x40add2['shift']());}}}(a36_0x1efc,0x748dd));function a36_0x1efc(){const _0xe2ac96=['lineNumberAfterAfter:\x20','quota','inspectScriptForDebug.','printDebugCodeLine','script','fileIndex','Breakpoint\x20is\x20added\x20to\x20a\x20given\x20location.\x20Id:\x20','v8BreakpointId','The\x20whole\x20line:\x20`','isValid','StatusMessage','InspectorDebugApi','\x20deployed\x20source.','V8_BREAKPOINT_ERROR','undefined','object','logger','response','\x20evaluated\x20to\x20false\x20-\x20skipping\x20breakpoint','Source\x20map\x20is\x20NOT\x20found\x20for\x20','SYNTAX_ERROR_IN_CONDITION','ignoreQuota','some','compile','applyDynamicLogsCPUQuota','UNSPECIFIED','splice','\x20<<','parse','maxHitCount','hash','DISALLOWED_EXPRESSION','isJavaScriptFile','V8Inspector','expressions','setErrorStatusAndCallback','fileStats','keys','disable','file','ERROR_EVALUATING_CONDITION','setInternal','needsRecoveryTime','Source\x20map\x20is\x20FOUND\x20for\x20','enabled','BREAKPOINT_CONDITION','setAndStoreBreakpoint','Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20','>>>breakpoint\x20hit<<<\x20number:\x20','search','file:///','column','sourcemapper','COULD_NOT_FIND_MAPPING_FILE','.\x20Loaded\x20script\x20contained\x20','numBreakpoints_','Error!\x20Line\x20is\x20shorter\x20then\x20column.\x20Column:\x20','(((.+)+)+)+$','cleanupAsyncCallStackInterval','47446UjaUDB','stringify','Failed\x20to\x20evaluate\x20condition\x20','evaluate','config','error','quotaManager','inspectScriptForDebug','2248ZJiGOK','SOURCE_FILE_AMBIGUOUS','normalize','detach','stackFrames','setBlocklistManager','pipingStatus','condition\x20','Installing\x20','blocklistManager','./debugapi','errors','sourceMapDiagnostics','BREAKPOINT_SOURCE_LOCATION','processCondition','value','177797mGDvPl','getBreakpointCompiler','MODULE_WRAP_PREFIX_LENGTH','hrtime','captureBreakpointData','debug','warn','The\x20line\x20is\x20not\x20found\x20in\x20the\x20script\x20file','\x20due\x20to\x20error:\x20','numListeners_','VARIABLE_VALUE','condition','SOURCE_FILE_NOT_FOUND','1741340dsawnx','remainingHits','>=11','message','hitBreakpoints','listeners','ERROR_COMPILING_CONDITION','variableTable','Breakpoint\x20is\x20found\x20at\x20a\x20given\x20location.\x20Id:\x20','split','substring','../state/inspector-state','hasMappingInfo','findScripts','description','javascriptFileExtensions','../util/utils','1928190cpjpxH','onBreakpointHit','version','forEach','scriptMapper','Cannot\x20clear\x20breakpoint\x20-\x20no\x20breakpoint\x20data\x20for\x20id\x20','>10.11.0','defineProperty','wait','satisfies','setBreakpointByUrl\x20error:\x20','1329085ykiMvu','path','4047606MTttnA','enable','\x20chars\x20starting\x20from\x20column\x20','listener','INVALID_LINE_NUMBER','line','Found\x20script\x20file:\x20','file://','shouldUseWellFormattedUrl','../../client/stackdriver/status-message','readFileSync','acorn','internal','locationStr','EXPRESSION_COMPILING_ERROR','v8Inspector','expressionsEvalTimeoutMillis','.\x20Potential\x20matches:\x20','removeFirstOccurrenceInArray','capture','disconnect','scriptId','changeToNS','removeBreakpoint','Creating\x20InspectorDebugApi','recovered','push','V8_BREAKPOINT_CLEAR_ERROR','replace','breakpoints','`.\x20column:\x20','action','BreakpointData','lines','DummyBlocklistManager','LOG','set','mapInfo\x20','utf-8','breakpointMapper','location','toString','474866BRaeEa','\x20chars\x20from\x20the\x20line:\x0a','handleDebugPausedEvent','constructor','evaluatedExpressions','Unable\x20to\x20compile\x20condition\x20>>\x20','win32','locationMapper','bind','numBreakpoints','parsedCondition','length','includes','isFileIndexed','log'];a36_0x1efc=function(){return _0xe2ac96;};return a36_0x1efc();}const a36_0xc63f4f=(function(){let _0x1bc61d=!![];return function(_0x359a34,_0x32e776){const _0x3d2c8c=_0x1bc61d?function(){if(_0x32e776){const _0x3f34ab=_0x32e776['apply'](_0x359a34,arguments);return _0x32e776=null,_0x3f34ab;}}:function(){};return _0x1bc61d=![],_0x3d2c8c;};}()),a36_0x5bcd20=a36_0xc63f4f(this,function(){const _0x19dc63=a36_0x3bcb;return a36_0x5bcd20[_0x19dc63(0x229)]()[_0x19dc63(0x26a)](_0x19dc63(0x272))['toString']()[_0x19dc63(0x22d)](a36_0x5bcd20)[_0x19dc63(0x26a)](_0x19dc63(0x272));});function a36_0x3bcb(_0x5e7076,_0x1c6343){const _0x273455=a36_0x1efc();return a36_0x3bcb=function(_0x5bcd20,_0xc63f4f){_0x5bcd20=_0x5bcd20-0x1bc;let _0x1efceb=_0x273455[_0x5bcd20];return _0x1efceb;},a36_0x3bcb(_0x5e7076,_0x1c6343);}a36_0x5bcd20();'use strict';Object[a36_0x460b60(0x1fa)](exports,'__esModule',{'value':!![]}),exports[a36_0x460b60(0x244)]=exports[a36_0x460b60(0x220)]=void 0x0;const acorn=require(a36_0x460b60(0x20b)),path=require(a36_0x460b60(0x1ff)),status_message_1=require(a36_0x460b60(0x209)),state=require(a36_0x460b60(0x1ed)),utils_1=require(a36_0x460b60(0x1f2)),debugapi=require(a36_0x460b60(0x1cf)),v8inspector_1=require('./v8inspector'),dummy_blocklist_manager_1=require('../blocklisting/dummy-blocklist-manager'),fs_1=require('fs'),USE_MODULE_PREFIX=(0x0,utils_1['satisfies'])(process['version'],'<10.16\x20||\x20>=11\x20<11.11');class BreakpointData{constructor(_0x3d0bb6,_0x4d201e,_0x3d7008,_0x1deb09,_0x120907,_0x37220d,_0x4f4b29,_0x3dc9ac){const _0x500012=a36_0x460b60;this['id']=_0x3d0bb6,this['apiBreakpoint']=_0x4d201e,this[_0x500012(0x234)]=_0x3d7008,this[_0x500012(0x20d)]=_0x1deb09,this['compile']=_0x120907,this[_0x500012(0x1e3)]=_0x37220d,this[_0x500012(0x24e)]=_0x4f4b29,this[_0x500012(0x1cb)]=_0x3dc9ac;}}exports['BreakpointData']=BreakpointData;class InspectorDebugApi{constructor(_0x3992c3,_0x4f33fa,_0x4e7365,_0x14a1af,_0x528d14){const _0x324310=a36_0x460b60;this[_0x324310(0x21d)]={},this[_0x324310(0x1e7)]={},this[_0x324310(0x1f7)]={},this[_0x324310(0x231)]={},this[_0x324310(0x227)]={},this[_0x324310(0x233)]=0x0,_0x3992c3[_0x324310(0x1da)](_0x324310(0x218)),this[_0x324310(0x1bc)]=null,this[_0x324310(0x249)]=_0x3992c3,this[_0x324310(0x1c1)]=_0x4f33fa,this[_0x324310(0x23e)]=_0x4e7365,this['sourcemapper']=_0x14a1af,this[_0x324310(0x20f)]=new v8inspector_1[(_0x324310(0x25a))](_0x3992c3,(0x0,utils_1[_0x324310(0x1fc)])(process[_0x324310(0x1f5)],_0x324310(0x1f9)),this[_0x324310(0x1c1)]['resetV8DebuggerThreshold'],_0x594bd4=>{const _0x312a93=_0x324310;this[_0x312a93(0x1f7)][_0x594bd4[_0x312a93(0x215)]]=_0x594bd4;},_0x825588=>{const _0x75dd37=_0x324310;try{this[_0x75dd37(0x22c)](_0x825588);}catch(_0x59538c){this[_0x75dd37(0x249)]['error'](_0x59538c);}},()=>{const _0x51e6f2=_0x324310;this[_0x51e6f2(0x1f7)]={};}),this['quotaManager']=_0x528d14,this[_0x324310(0x1ce)]=new dummy_blocklist_manager_1[(_0x324310(0x222))](!![]);}[a36_0x460b60(0x224)](_0x5e3c18,_0x3975ae){const _0x343747=a36_0x460b60;if(!_0x5e3c18||typeof _0x5e3c18['id']===_0x343747(0x247)||!_0x5e3c18['location']||!_0x5e3c18[_0x343747(0x228)]['path']||!_0x5e3c18[_0x343747(0x228)][_0x343747(0x205)])return(0x0,utils_1[_0x343747(0x25c)])(_0x3975ae,_0x5e3c18,status_message_1[_0x343747(0x243)][_0x343747(0x252)],utils_1[_0x343747(0x1d0)]['INVALID_BREAKPOINT']);this[_0x343747(0x249)][_0x343747(0x1da)](_0x343747(0x1cd),_0x5e3c18?.[_0x343747(0x21f)],_0x5e3c18?.[_0x343747(0x228)]?.[_0x343747(0x1ff)],_0x5e3c18?.[_0x343747(0x228)]?.['line']);const _0x67ae0a=path[_0x343747(0x1c7)](_0x5e3c18['location'][_0x343747(0x1ff)]);if(!this[_0x343747(0x26d)][_0x343747(0x1ee)](_0x67ae0a)){this[_0x343747(0x249)][_0x343747(0x1da)](_0x343747(0x24c),_0x67ae0a);const _0x7c62f4=path['extname'](_0x67ae0a);if(!this[_0x343747(0x1c1)][_0x343747(0x1f1)][_0x343747(0x236)](_0x7c62f4)){const _0x1826c7=_0x67ae0a[_0x343747(0x1ec)](0x0,_0x67ae0a[_0x343747(0x235)]-_0x7c62f4[_0x343747(0x235)]),_0x4743cc=this[_0x343747(0x1c1)]['javascriptFileExtensions']['map'](_0x434469=>_0x1826c7+_0x434469)[_0x343747(0x24f)](_0x4b472b=>(0x0,utils_1[_0x343747(0x237)])(_0x4b472b,this[_0x343747(0x23e)])),_0x57938a=_0x4743cc?utils_1[_0x343747(0x1d0)][_0x343747(0x26e)]:utils_1[_0x343747(0x1d0)]['SOURCE_FILE_NOT_FOUND'];return(0x0,utils_1[_0x343747(0x25c)])(_0x3975ae,_0x5e3c18,status_message_1[_0x343747(0x243)][_0x343747(0x1d2)],_0x57938a);}this['setInternal'](_0x5e3c18,null,null,_0x3975ae);}else{this[_0x343747(0x249)][_0x343747(0x1da)](_0x343747(0x264),_0x67ae0a);const _0x59d9e1=_0x5e3c18[_0x343747(0x228)]['line'],_0x2bb424=0x0,_0x59ebe7=this[_0x343747(0x26d)]['mappingInfo'](_0x67ae0a,_0x59d9e1,_0x2bb424);this[_0x343747(0x249)][_0x343747(0x1da)](_0x343747(0x225),_0x59ebe7?.['file'],_0x59ebe7?.[_0x343747(0x205)],_0x59ebe7?.[_0x343747(0x26c)]);const _0x59a45c=(0x0,utils_1[_0x343747(0x1d6)])(_0x5e3c18);if(_0x5e3c18[_0x343747(0x1e0)]&&_0x59a45c)try{_0x5e3c18[_0x343747(0x1e0)]=_0x59a45c(_0x5e3c18[_0x343747(0x1e0)]);}catch(_0x4a403f){return this[_0x343747(0x249)][_0x343747(0x1db)](_0x343747(0x22f)+_0x5e3c18[_0x343747(0x1e0)]+_0x343747(0x254)),(0x0,utils_1[_0x343747(0x25c)])(_0x3975ae,_0x5e3c18,status_message_1[_0x343747(0x243)][_0x343747(0x266)],utils_1[_0x343747(0x1d0)][_0x343747(0x1e8)]);}this[_0x343747(0x262)](_0x5e3c18,_0x59ebe7,_0x59a45c,_0x3975ae);}}['clear'](_0x1d03a9,_0x42e729){const _0x56b7cc=a36_0x460b60;if(typeof _0x1d03a9['id']===_0x56b7cc(0x247))return this['logger'][_0x56b7cc(0x1da)]('Cannot\x20clear\x20breakpoint\x20-\x20id\x20is\x20undefined'),(0x0,utils_1[_0x56b7cc(0x25c)])(_0x42e729,_0x1d03a9,status_message_1[_0x56b7cc(0x243)][_0x56b7cc(0x266)],utils_1[_0x56b7cc(0x1d0)][_0x56b7cc(0x21b)]);const _0x34710d=this['breakpoints'][_0x1d03a9['id']];if(!_0x34710d)return this[_0x56b7cc(0x249)][_0x56b7cc(0x1da)](_0x56b7cc(0x1f8)+_0x1d03a9['id']),(0x0,utils_1[_0x56b7cc(0x25c)])(_0x42e729,_0x1d03a9,status_message_1[_0x56b7cc(0x243)][_0x56b7cc(0x266)],utils_1[_0x56b7cc(0x1d0)]['V8_BREAKPOINT_CLEAR_ERROR']);const _0x1c13e5=_0x34710d[_0x56b7cc(0x20d)],_0x24eb2c=_0x34710d['id'];(0x0,utils_1['removeFirstOccurrenceInArray'])(this[_0x56b7cc(0x231)][_0x1c13e5],_0x1d03a9['id']);this[_0x56b7cc(0x231)][_0x1c13e5][_0x56b7cc(0x235)]===0x0&&delete this[_0x56b7cc(0x231)][_0x1c13e5];(0x0,utils_1[_0x56b7cc(0x212)])(this['breakpointMapper'][_0x24eb2c],_0x1d03a9['id']);this[_0x56b7cc(0x227)][_0x24eb2c][_0x56b7cc(0x235)]===0x0&&delete this[_0x56b7cc(0x227)][_0x24eb2c];let _0x20049e={};!this['breakpointMapper'][_0x34710d['id']]&&(_0x20049e=this['v8Inspector'][_0x56b7cc(0x217)](_0x34710d['id'])),delete this[_0x56b7cc(0x21d)][_0x1d03a9['id']],delete this[_0x56b7cc(0x1e7)][_0x1d03a9['id']],this[_0x56b7cc(0x233)]--,setImmediate(()=>{const _0x42b159=_0x56b7cc;_0x20049e[_0x42b159(0x1c2)]&&_0x42e729(_0x20049e['error']),_0x42e729(null);});}[a36_0x460b60(0x1fb)](_0x252e6b,_0x5e1537){const _0x4a15d7=a36_0x460b60,_0x18f97c=this['onBreakpointHit']['bind'](this,_0x252e6b,_0xf0a893=>{const _0x28344a=a36_0x3bcb,_0x2c6b4c=--this['breakpoints'][_0x252e6b['id']][_0x28344a(0x1e3)];(_0x2c6b4c<=0x0||_0xf0a893)&&(this[_0x28344a(0x1e7)][_0x252e6b['id']][_0x28344a(0x265)]=![]),_0x5e1537(_0xf0a893||undefined);});this[_0x4a15d7(0x1e7)][_0x252e6b['id']]={'enabled':!![],'listener':_0x18f97c};}[a36_0x460b60(0x238)](_0x5bd4f1,_0x521cbd,_0x4916a3,_0x56a7ce){const _0x50d28c=a36_0x460b60,_0x856eec=this[_0x50d28c(0x1f4)][_0x50d28c(0x232)](this,_0x5bd4f1,_0x1c8569=>{const _0x5181f5=_0x50d28c;if(_0x1c8569){this[_0x5181f5(0x1e7)][_0x5bd4f1['id']]['enabled']=![],setImmediate(()=>{_0x56a7ce(_0x1c8569||undefined);});return;}_0x521cbd(_0x5bd4f1['logMessageFormat'],_0x5bd4f1[_0x5181f5(0x22e)]),_0x5bd4f1['evaluatedExpressions']=[],_0x4916a3()?this[_0x5181f5(0x1e7)][_0x5bd4f1['id']][_0x5181f5(0x265)]=![]:this[_0x5181f5(0x1c3)][_0x5181f5(0x263)](_0x5bd4f1['id'])&&(this[_0x5181f5(0x1e7)][_0x5bd4f1['id']]['enabled']=![],setTimeout(()=>{const _0x3e0f17=_0x5181f5;!_0x4916a3()&&this['listeners'][_0x5bd4f1['id']]&&(this['listeners'][_0x5bd4f1['id']][_0x3e0f17(0x265)]=!![]),this['quotaManager'][_0x3e0f17(0x219)](_0x5bd4f1['id']);},this['config'][_0x5181f5(0x23a)]['quotaRecoverySeconds']*0x3e8));});this[_0x50d28c(0x1e7)][_0x5bd4f1['id']]={'enabled':!![],'listener':_0x856eec};}[a36_0x460b60(0x214)](){const _0x17c3fd=a36_0x460b60;this['v8Inspector'][_0x17c3fd(0x1c8)]();}[a36_0x460b60(0x201)](){const _0x172ab1=a36_0x460b60;this[_0x172ab1(0x20f)][_0x172ab1(0x201)]();}[a36_0x460b60(0x25f)](){const _0x314e8d=a36_0x460b60;this[_0x314e8d(0x20f)][_0x314e8d(0x25f)]();}[a36_0x460b60(0x270)](){const _0x3da0cd=a36_0x460b60;return Object[_0x3da0cd(0x25e)](this[_0x3da0cd(0x21d)])[_0x3da0cd(0x235)];}[a36_0x460b60(0x1de)](){const _0xa8915f=a36_0x460b60;return Object[_0xa8915f(0x25e)](this['listeners'])['length'];}['remainingHits'](_0x7de435){const _0x1bcb3a=a36_0x460b60;return this['breakpoints'][_0x7de435][_0x1bcb3a(0x1e3)];}[a36_0x460b60(0x1ca)](_0x197821){const _0x511abf=a36_0x460b60;this[_0x511abf(0x1ce)]=_0x197821;}[a36_0x460b60(0x262)](_0xdc8359,_0x3c325d,_0xffc95d,_0x2a64ee){const _0x45f601=a36_0x460b60;let _0x1652eb=null;if(_0xdc8359['condition'])try{_0x1652eb=acorn[_0x45f601(0x255)](_0xdc8359['condition'],{'sourceType':_0x45f601(0x23d),'ecmaVersion':0x6});const _0x7ee7a8=require('../util/validator.js');if(!_0x7ee7a8[_0x45f601(0x242)](_0x1652eb,![]))return(0x0,utils_1[_0x45f601(0x25c)])(_0x2a64ee,_0xdc8359,status_message_1[_0x45f601(0x243)]['BREAKPOINT_CONDITION'],utils_1[_0x45f601(0x1d0)][_0x45f601(0x258)]);}catch(_0x347cff){const _0xa00107=utils_1[_0x45f601(0x1d0)][_0x45f601(0x24d)]+_0x347cff[_0x45f601(0x1e5)];return(0x0,utils_1['setErrorStatusAndCallback'])(_0x2a64ee,_0xdc8359,status_message_1[_0x45f601(0x243)][_0x45f601(0x266)],_0xa00107);}let _0x4c1d14;const _0x554d0c=_0x3c325d?_0x3c325d[_0x45f601(0x260)]:path['normalize'](_0xdc8359[_0x45f601(0x228)][_0x45f601(0x1ff)]);this[_0x45f601(0x249)][_0x45f601(0x1da)]('Searching\x20for\x20a\x20script\x20file:\x20',_0x554d0c);const _0x192c01=(0x0,utils_1[_0x45f601(0x1ef)])(_0x554d0c,this[_0x45f601(0x1c1)],this[_0x45f601(0x23e)],this['logger']);if(_0x192c01[_0x45f601(0x235)]===0x0)return(0x0,utils_1[_0x45f601(0x25c)])(_0x2a64ee,_0xdc8359,status_message_1[_0x45f601(0x243)]['BREAKPOINT_SOURCE_LOCATION'],utils_1['errors'][_0x45f601(0x1e1)]);else{if(_0x192c01[_0x45f601(0x235)]===0x1)this[_0x45f601(0x249)][_0x45f601(0x1da)](_0x45f601(0x206),_0x192c01[0x0]),_0x4c1d14=_0x192c01[0x0];else return this[_0x45f601(0x249)][_0x45f601(0x1db)]('Unable\x20to\x20unambiguously\x20find\x20'+_0x554d0c+_0x45f601(0x211)+_0x192c01),(0x0,utils_1['setErrorStatusAndCallback'])(_0x2a64ee,_0xdc8359,status_message_1[_0x45f601(0x243)][_0x45f601(0x1d2)],utils_1['errors'][_0x45f601(0x1c6)]);}if(this[_0x45f601(0x1ce)]['shouldBlock'](_0x4c1d14))return(0x0,utils_1['setErrorStatusAndCallback'])(_0x2a64ee,_0xdc8359,status_message_1[_0x45f601(0x243)]['BREAKPOINT_SOURCE_LOCATION'],utils_1['errors']['BREAKPOINT_PATH_BLOCKED']);let _0x320df7=_0x3c325d&&_0x3c325d[_0x45f601(0x26c)]?_0x3c325d[_0x45f601(0x26c)]:_0xdc8359[_0x45f601(0x228)][_0x45f601(0x26c)]||0x0;const _0xf23924=_0x3c325d?_0x3c325d[_0x45f601(0x205)]:_0xdc8359[_0x45f601(0x228)]['line'];USE_MODULE_PREFIX&&_0xf23924===0x1&&(_0x320df7+=debugapi[_0x45f601(0x1d7)]-0x1);const _0x538c9e=this[_0x45f601(0x23e)]['fileStats'][_0x4c1d14];this['logger'][_0x45f601(0x1da)]('FileStats.\x20Lines\x20Count:\x20',_0x538c9e?.[_0x45f601(0x221)],'hash:\x20',_0x538c9e?.[_0x45f601(0x257)]);if(_0xf23924>=_0x538c9e[_0x45f601(0x221)]||_0xf23924<0x1)return(0x0,utils_1[_0x45f601(0x25c)])(_0x2a64ee,_0xdc8359,status_message_1['StatusMessage'][_0x45f601(0x1d2)],{...utils_1[_0x45f601(0x1d0)][_0x45f601(0x204)],'description':utils_1[_0x45f601(0x1d0)][_0x45f601(0x204)]['description']+_0x4c1d14+':'+_0xf23924+_0x45f601(0x26f)+this[_0x45f601(0x23e)][_0x45f601(0x25d)][_0x4c1d14][_0x45f601(0x221)]+'\x20lines.\x20Please\x20ensure'+'\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the'+_0x45f601(0x245)});const _0x367ae5=this['setAndStoreBreakpoint'](_0xdc8359,_0xf23924,_0x320df7,_0x4c1d14);if(!_0x367ae5)return(0x0,utils_1[_0x45f601(0x25c)])(_0x2a64ee,_0xdc8359,status_message_1[_0x45f601(0x243)][_0x45f601(0x1d2)],utils_1[_0x45f601(0x1d0)][_0x45f601(0x246)]);this[_0x45f601(0x21d)][_0xdc8359['id']]=new BreakpointData(_0x367ae5[_0x45f601(0x240)],_0xdc8359,_0x1652eb,_0x367ae5[_0x45f601(0x20d)],_0xffc95d,_0xdc8359[_0x45f601(0x256)]||0x1,_0xdc8359[_0x45f601(0x24e)],_0xdc8359[_0x45f601(0x1cb)]),this['numBreakpoints']++,setImmediate(()=>{_0x2a64ee(null);});}[a36_0x460b60(0x267)](_0x45eaa5,_0x17458a,_0x26b55b,_0x4b7269){const _0x5394c7=a36_0x460b60,_0x22349f=JSON['stringify']({'file':_0x4b7269,'line':_0x17458a,'column':_0x26b55b});let _0x570853;if(!this[_0x5394c7(0x231)][_0x22349f]){this[_0x5394c7(0x1c4)](_0x4b7269,_0x17458a,_0x26b55b);const _0x286a2a=this[_0x5394c7(0x20f)][_0x5394c7(0x208)]()?_0x5394c7(0x207)+_0x4b7269:_0x4b7269,_0x32c95a=process['platform']===_0x5394c7(0x230)&&(0x0,utils_1[_0x5394c7(0x1fc)])(process['version'],_0x5394c7(0x1e4))?_0x286a2a[_0x5394c7(0x21c)](/^file:\/\//,_0x5394c7(0x26b))[_0x5394c7(0x21c)](/\\/g,'/'):_0x286a2a,_0x5a2e26=this[_0x5394c7(0x20f)]['setBreakpointByUrl']({'lineNumber':_0x17458a-0x1,'url':encodeURI(_0x32c95a),'columnNumber':_0x26b55b});if(_0x5a2e26[_0x5394c7(0x1c2)]||!_0x5a2e26[_0x5394c7(0x24a)])return this[_0x5394c7(0x249)][_0x5394c7(0x1c2)]('Failed\x20to\x20put\x20the\x20breakpoint\x20in\x20'+_0x32c95a+':'+_0x17458a+',\x20'+(_0x5394c7(0x1fd)+JSON[_0x5394c7(0x1be)](_0x5a2e26['error']))),null;_0x570853=_0x5a2e26['response']['breakpointId'],this[_0x5394c7(0x249)]['debug'](_0x5394c7(0x23f),_0x570853),delete this[_0x5394c7(0x231)][_0x22349f],delete this[_0x5394c7(0x227)][_0x570853],this[_0x5394c7(0x231)][_0x22349f]=[],this[_0x5394c7(0x227)][_0x570853]=[];}else _0x570853=this[_0x5394c7(0x21d)][this['locationMapper'][_0x22349f][0x0]]['id'],this[_0x5394c7(0x249)]['debug'](_0x5394c7(0x1ea),_0x570853);return this[_0x5394c7(0x231)][_0x22349f][_0x5394c7(0x21a)](_0x45eaa5['id']),this[_0x5394c7(0x227)][_0x570853][_0x5394c7(0x21a)](_0x45eaa5['id']),{'v8BreakpointId':_0x570853,'locationStr':_0x22349f};}[a36_0x460b60(0x1c4)](_0x2bd68e,_0xa7d39d,_0x8c2121){const _0x49f960=a36_0x460b60;try{if(!this[_0x49f960(0x1c1)][_0x49f960(0x20c)][_0x49f960(0x1d1)])return;const _0x1c32ee=(0x0,fs_1[_0x49f960(0x20a)])(_0x2bd68e,_0x49f960(0x226)),_0x1bd346=_0x1c32ee[_0x49f960(0x1eb)](/\r?\n/),_0x367ef2=_0xa7d39d-0x2,_0x23898a=_0xa7d39d-0x1,_0x58ba08=_0xa7d39d;this[_0x49f960(0x23c)]('lineNumberBefore:\x20'+_0x367ef2,_0x1bd346[_0x367ef2],_0x8c2121),this[_0x49f960(0x23c)]('lineNumberAfter:\x20'+_0x23898a,_0x1bd346[_0x23898a],_0x8c2121),this[_0x49f960(0x23c)](_0x49f960(0x239)+_0x58ba08,_0x1bd346[_0x58ba08],_0x8c2121);}catch(_0x2205ff){this[_0x49f960(0x249)]['error'](_0x49f960(0x23b),_0x2205ff);}}[a36_0x460b60(0x23c)](_0x5a71c2,_0x149289,_0x476400){const _0x3887fd=a36_0x460b60;this[_0x3887fd(0x249)][_0x3887fd(0x1da)](_0x5a71c2);if(!_0x149289){this[_0x3887fd(0x249)][_0x3887fd(0x1da)](_0x3887fd(0x1dc));return;}const _0x11f505=0x12c;_0x476400=_0x476400||0x0;if(_0x149289[_0x3887fd(0x235)]<=_0x11f505)this[_0x3887fd(0x249)][_0x3887fd(0x1da)](_0x3887fd(0x241)+_0x149289+_0x3887fd(0x21e)+_0x476400);else{if(_0x149289['length']>_0x476400){const _0x1d9948=_0x149289['substring'](_0x476400,_0x11f505);this[_0x3887fd(0x249)][_0x3887fd(0x1da)]('Printing\x20'+_0x11f505+_0x3887fd(0x202)+_0x476400+':\x20`'+_0x1d9948+'`');}else{this[_0x3887fd(0x249)][_0x3887fd(0x1da)](_0x3887fd(0x271)+_0x476400+',\x20line\x20length:\x20'+_0x149289[_0x3887fd(0x235)]);const _0x1aac54=_0x149289[_0x3887fd(0x1ec)](0x0,_0x11f505);this[_0x3887fd(0x249)][_0x3887fd(0x1da)]('Printing\x20first\x20'+_0x11f505+_0x3887fd(0x22b)+_0x1aac54);}}}[a36_0x460b60(0x1d3)](_0x58ae47,_0x4e1663){const _0x5f546f=a36_0x460b60,_0x5914f0=this['config'][_0x5f546f(0x210)],_0x17ab64=_0x58ae47[_0x5f546f(0x1e0)];if(_0x17ab64){const _0x1a1692=process[_0x5f546f(0x1d8)](),_0x159986=state[_0x5f546f(0x1c0)](_0x17ab64,_0x4e1663,this['v8Inspector'],!![],_0x5914f0),_0x2ec898=process[_0x5f546f(0x1d8)](_0x1a1692);if(!this[_0x5f546f(0x1c3)]['ignoreQuota']){const _0x4b9e21=this[_0x5f546f(0x216)](_0x2ec898),_0x290345=this[_0x5f546f(0x1c3)]['applyConditionQuota'](_0x4b9e21,_0x58ae47);if(_0x290345)return[undefined,_0x290345];}if(_0x159986[_0x5f546f(0x1c2)])return this[_0x5f546f(0x249)][_0x5f546f(0x1da)](_0x5f546f(0x1bf)+_0x17ab64+_0x5f546f(0x1dd),_0x159986[_0x5f546f(0x1c2)]),[undefined,{...utils_1[_0x5f546f(0x1d0)][_0x5f546f(0x261)],'description':(utils_1[_0x5f546f(0x1d0)][_0x5f546f(0x261)][_0x5f546f(0x1f0)]||'')+_0x159986[_0x5f546f(0x1c2)][_0x5f546f(0x1f0)]}];if(!_0x159986[_0x5f546f(0x248)]['value'])return this[_0x5f546f(0x249)][_0x5f546f(0x1da)](_0x5f546f(0x1cc)+_0x17ab64+_0x5f546f(0x24b)),[![],undefined];}return[!![],undefined];}[a36_0x460b60(0x1f4)](_0x48a435,_0x1f3337,_0x66c7d2){const _0x41b35d=a36_0x460b60,[_0x826c9a,_0x3eb414]=this['processCondition'](_0x48a435,_0x66c7d2[0x0]);if(_0x3eb414!==undefined){(0x0,utils_1['setErrorStatusAndCallback'])(_0x1f3337,_0x48a435,status_message_1[_0x41b35d(0x243)][_0x41b35d(0x266)],_0x3eb414);return;}if(_0x826c9a===![])return;const _0x5899df=process[_0x41b35d(0x1d8)]();try{this[_0x41b35d(0x1d9)](_0x48a435,_0x66c7d2);}catch(_0xf414a6){return(0x0,utils_1[_0x41b35d(0x25c)])(_0x1f3337,_0x48a435,status_message_1[_0x41b35d(0x243)][_0x41b35d(0x1d2)],utils_1['errors']['CAPTURE_BREAKPOINT_DATA']+_0xf414a6);}const _0x411e54=process[_0x41b35d(0x1d8)](_0x5899df),_0x3c5144=this[_0x41b35d(0x216)](_0x411e54);this[_0x41b35d(0x1c3)][_0x41b35d(0x251)](_0x48a435['id'],_0x3c5144),this[_0x41b35d(0x249)]['debug']((0x0,utils_1['formatInterval'])('capture\x20time:\x20',_0x411e54)),_0x1f3337(null);}[a36_0x460b60(0x1d9)](_0x1a2347,_0xb4a5b1){const _0x5bbc9d=a36_0x460b60,_0x117d2c=[],_0x531d1=this;if(_0x1a2347[_0x5bbc9d(0x25b)]&&this[_0x5bbc9d(0x21d)][_0x1a2347['id']][_0x5bbc9d(0x250)])for(let _0x18a8a8=0x0;_0x18a8a8<_0x1a2347[_0x5bbc9d(0x25b)][_0x5bbc9d(0x235)];_0x18a8a8++){try{_0x1a2347['expressions'][_0x18a8a8]=this['breakpoints'][_0x1a2347['id']][_0x5bbc9d(0x250)](_0x1a2347['expressions'][_0x18a8a8]);}catch(_0x28aadc){this['logger']['warn'](_0x5bbc9d(0x268)+_0x1a2347[_0x5bbc9d(0x25b)][_0x18a8a8]+_0x5bbc9d(0x254)),_0x117d2c[_0x5bbc9d(0x21a)]({'name':_0x1a2347['expressions'][_0x18a8a8],'status':new status_message_1['StatusMessage'](status_message_1[_0x5bbc9d(0x243)][_0x5bbc9d(0x1df)],utils_1['errors'][_0x5bbc9d(0x20e)],!![])}),_0x1a2347['expressions'][_0x5bbc9d(0x253)](_0x18a8a8,0x1),_0x18a8a8--;}}if(_0x1a2347['action']===_0x5bbc9d(0x223)){if(!_0x1a2347[_0x5bbc9d(0x25b)])_0x1a2347['evaluatedExpressions']=[];else{const _0x4ab1e7=_0xb4a5b1[0x0];_0x1a2347[_0x5bbc9d(0x22e)]=_0x1a2347[_0x5bbc9d(0x25b)]['map'](_0x5ac349=>{const _0x3fccdf=_0x5bbc9d,_0x40d903=state[_0x3fccdf(0x1c0)](_0x5ac349,_0x4ab1e7,_0x531d1['v8Inspector'],!![],this[_0x3fccdf(0x1c1)]['expressionsEvalTimeoutMillis']);return _0x40d903['error']?_0x40d903[_0x3fccdf(0x1c2)]:_0x40d903[_0x3fccdf(0x248)][_0x3fccdf(0x1d4)];});}}else{const _0x39d3f3=state[_0x5bbc9d(0x213)](_0xb4a5b1,_0x1a2347,this[_0x5bbc9d(0x1c1)],this[_0x5bbc9d(0x1f7)],this[_0x5bbc9d(0x20f)],this[_0x5bbc9d(0x1ce)]);_0x1a2347[_0x5bbc9d(0x228)]&&(0x0,utils_1[_0x5bbc9d(0x259)])(_0x1a2347[_0x5bbc9d(0x228)][_0x5bbc9d(0x1ff)])&&(_0x1a2347[_0x5bbc9d(0x228)][_0x5bbc9d(0x205)]=_0xb4a5b1[0x0][_0x5bbc9d(0x228)]['lineNumber']+0x1),_0x1a2347['stackFrames']=_0x39d3f3[_0x5bbc9d(0x1c9)],_0x1a2347[_0x5bbc9d(0x1e9)]=_0x39d3f3['variableTable'],_0x1a2347[_0x5bbc9d(0x22e)]=_0x117d2c['concat'](_0x39d3f3[_0x5bbc9d(0x22e)]);}}['handleDebugPausedEvent'](_0xfbd74f){const _0x1c8c79=a36_0x460b60;try{if(!_0xfbd74f['hitBreakpoints'])return;const _0x1be519=_0xfbd74f[_0x1c8c79(0x1e6)][0x0],_0x2b9d47=this[_0x1c8c79(0x227)][_0x1be519];if(!_0x2b9d47)return;_0x2b9d47[_0x1c8c79(0x1f6)](_0x1505ee=>{const _0x308c13=_0x1c8c79;this[_0x308c13(0x1e7)][_0x1505ee][_0x308c13(0x265)]&&(this['logger'][_0x308c13(0x1da)](_0x308c13(0x269)+_0x1505ee),this[_0x308c13(0x1e7)][_0x1505ee][_0x308c13(0x203)](_0xfbd74f['callFrames']));});}catch(_0x2ad8ac){this['logger'][_0x1c8c79(0x1db)]('Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20'+_0x2ad8ac);}}[a36_0x460b60(0x216)](_0x45c3c8){return _0x45c3c8[0x0]*0x3b9aca00+_0x45c3c8[0x1];}}exports[a36_0x460b60(0x244)]=InspectorDebugApi;
|
|
1
|
+
const a36_0x1eafa9=a36_0x4130;function a36_0x4130(_0x41bc73,_0x2166de){const _0x117fbb=a36_0x426a();return a36_0x4130=function(_0x393fca,_0x271e82){_0x393fca=_0x393fca-0x132;let _0x426a7d=_0x117fbb[_0x393fca];return _0x426a7d;},a36_0x4130(_0x41bc73,_0x2166de);}(function(_0xa0455c,_0x752d5f){const _0x4bc9c0=a36_0x4130,_0x587135=_0xa0455c();while(!![]){try{const _0x5dddfd=-parseInt(_0x4bc9c0(0x1d3))/0x1+parseInt(_0x4bc9c0(0x15f))/0x2*(parseInt(_0x4bc9c0(0x1db))/0x3)+-parseInt(_0x4bc9c0(0x150))/0x4+-parseInt(_0x4bc9c0(0x153))/0x5*(-parseInt(_0x4bc9c0(0x196))/0x6)+-parseInt(_0x4bc9c0(0x15b))/0x7*(parseInt(_0x4bc9c0(0x1da))/0x8)+-parseInt(_0x4bc9c0(0x186))/0x9+parseInt(_0x4bc9c0(0x165))/0xa;if(_0x5dddfd===_0x752d5f)break;else _0x587135['push'](_0x587135['shift']());}catch(_0x37cbaf){_0x587135['push'](_0x587135['shift']());}}}(a36_0x426a,0x1a3f0));const a36_0x271e82=(function(){let _0x4717d0=!![];return function(_0x4bf61e,_0xa27ccf){const _0x3b687d=_0x4717d0?function(){const _0xcc806b=a36_0x4130;if(_0xa27ccf){const _0x2cd063=_0xa27ccf[_0xcc806b(0x17d)](_0x4bf61e,arguments);return _0xa27ccf=null,_0x2cd063;}}:function(){};return _0x4717d0=![],_0x3b687d;};}()),a36_0x393fca=a36_0x271e82(this,function(){const _0x13cd15=a36_0x4130;return a36_0x393fca[_0x13cd15(0x168)]()['search'](_0x13cd15(0x175))[_0x13cd15(0x168)]()['constructor'](a36_0x393fca)[_0x13cd15(0x1c7)](_0x13cd15(0x175));});a36_0x393fca();'use strict';Object['defineProperty'](exports,a36_0x1eafa9(0x1c6),{'value':!![]}),exports[a36_0x1eafa9(0x1b6)]=exports['BreakpointData']=void 0x0;function a36_0x426a(){const _0x1e5e5c=['keys','Cannot\x20clear\x20breakpoint\x20-\x20no\x20breakpoint\x20data\x20for\x20id\x20','getBreakpointCompiler','Breakpoint\x20is\x20added\x20to\x20a\x20given\x20location.\x20Id:\x20','BREAKPOINT_CONDITION','variableTable','setErrorStatusAndCallback','disconnect','62160ZwEUIj','V8_BREAKPOINT_CLEAR_ERROR','split','5VbPRfv','lineNumberAfterAfter:\x20','Cannot\x20clear\x20breakpoint\x20-\x20id\x20is\x20undefined','Installing\x20','inspectScriptForDebug','some','utf-8','bind','198779UtnUZw','../util/utils','StatusMessage','Source\x20map\x20is\x20FOUND\x20for\x20','82Nmcxsy','line','INVALID_BREAKPOINT','undefined','lineNumberAfter:\x20','Printing\x20','312770WBlaBK','>=11','Unable\x20to\x20compile\x20condition\x20>>\x20','toString','Searching\x20for\x20a\x20script\x20file:\x20','BreakpointData','Failed\x20to\x20evaluate\x20condition\x20','handleDebugPausedEvent','applyConditionQuota','../state/inspector-state','\x20chars\x20starting\x20from\x20column\x20','captureBreakpointData','debug','detach','DISALLOWED_EXPRESSION','formatInterval','(((.+)+)+)+$','DummyBlocklistManager','path','expressionsEvalTimeoutMillis','extname','The\x20line\x20is\x20not\x20found\x20in\x20the\x20script\x20file','compile','stringify','apply','INVALID_LINE_NUMBER','>>>breakpoint\x20hit<<<\x20number:\x20','>10.11.0','COULD_NOT_FIND_MAPPING_FILE','condition','lineNumberBefore:\x20','push','log','1489041ljSVpJ','acorn','parse','ignoreQuota','warn','win32','Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20','setInternal','SYNTAX_ERROR_IN_CONDITION','Error!\x20Line\x20is\x20shorter\x20then\x20column.\x20Column:\x20','LOG','locationStr','hitBreakpoints','concat','value','clear','605196SvCuaj','Creating\x20InspectorDebugApi','length','action','\x20evaluated\x20to\x20false\x20-\x20skipping\x20breakpoint','Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20','scriptMapper','condition\x20','locationMapper','disable','breakpoints','isJavaScriptFile','location','fileStats','processCondition','description','removeBreakpoint','hrtime','V8_BREAKPOINT_ERROR','expressions','logMessageFormat','inspectScriptForDebug.','script','\x20chars\x20from\x20the\x20line:\x0a','version','capture','setAndStoreBreakpoint','setBreakpointByUrl\x20error:\x20','enabled','cleanupAsyncCallStackInterval','onBreakpointHit','CAPTURE_BREAKPOINT_DATA','InspectorDebugApi','errors','shouldBlock','quotaManager','replace','UNSPECIFIED','config','SOURCE_FILE_AMBIGUOUS','ERROR_COMPILING_CONDITION','splice','\x20due\x20to\x20error:\x20','hash','stackFrames','applyDynamicLogsCPUQuota','Unable\x20to\x20unambiguously\x20find\x20','internal','__esModule','search','findScripts','ERROR_EVALUATING_CONDITION','Source\x20map\x20is\x20NOT\x20found\x20for\x20','printDebugCodeLine','error','set','FileStats.\x20Lines\x20Count:\x20','quota','logger','v8BreakpointId','\x20deployed\x20source.','18367thHJFU','blocklistManager','pipingStatus','breakpointMapper','removeFirstOccurrenceInArray','The\x20whole\x20line:\x20`','v8Inspector','8EvPdbe','14862iSGDtE','numBreakpoints','enable','platform','column','map','BREAKPOINT_PATH_BLOCKED','forEach','changeToNS','numBreakpoints_','normalize','../../client/stackdriver/status-message','\x20<<','../blocklisting/dummy-blocklist-manager','evaluate','listeners','fileIndex','<10.16\x20||\x20>=11\x20<11.11','needsRecoveryTime','remainingHits','quotaRecoverySeconds','hash:\x20','recovered','javascriptFileExtensions','file:///','apiBreakpoint','file','sourceMapDiagnostics','BREAKPOINT_SOURCE_LOCATION','lines','evaluatedExpressions','VARIABLE_VALUE','setBreakpointByUrl','resetV8DebuggerThreshold','file://','setBlocklistManager','sourcemapper','V8Inspector','readFileSync','object','substring'];a36_0x426a=function(){return _0x1e5e5c;};return a36_0x426a();}const acorn=require(a36_0x1eafa9(0x187)),path=require(a36_0x1eafa9(0x177)),status_message_1=require(a36_0x1eafa9(0x1e6)),state=require(a36_0x1eafa9(0x16e)),utils_1=require(a36_0x1eafa9(0x15c)),debugapi=require('./debugapi'),v8inspector_1=require('./v8inspector'),dummy_blocklist_manager_1=require(a36_0x1eafa9(0x1e8)),fs_1=require('fs'),USE_MODULE_PREFIX=(0x0,utils_1['satisfies'])(process[a36_0x1eafa9(0x1ae)],a36_0x1eafa9(0x1ec));class BreakpointData{constructor(_0x466576,_0x3aa9b5,_0x5afbdd,_0x5d1f9e,_0x57e2be,_0x28e716,_0x18eac4,_0x597927){const _0x6c11ef=a36_0x1eafa9;this['id']=_0x466576,this[_0x6c11ef(0x138)]=_0x3aa9b5,this['parsedCondition']=_0x5afbdd,this[_0x6c11ef(0x191)]=_0x5d1f9e,this[_0x6c11ef(0x17b)]=_0x57e2be,this['remainingHits']=_0x28e716,this[_0x6c11ef(0x189)]=_0x18eac4,this[_0x6c11ef(0x1d5)]=_0x597927;}}exports[a36_0x1eafa9(0x16a)]=BreakpointData;class InspectorDebugApi{constructor(_0x513f88,_0x37b088,_0x29f626,_0x46d0cc,_0x567b0a){const _0x5c8551=a36_0x1eafa9;this[_0x5c8551(0x1a0)]={},this[_0x5c8551(0x1ea)]={},this[_0x5c8551(0x19c)]={},this[_0x5c8551(0x19e)]={},this[_0x5c8551(0x1d6)]={},this[_0x5c8551(0x1dc)]=0x0,_0x513f88[_0x5c8551(0x171)](_0x5c8551(0x197)),this[_0x5c8551(0x1b3)]=null,this['logger']=_0x513f88,this['config']=_0x37b088,this[_0x5c8551(0x1eb)]=_0x29f626,this['sourcemapper']=_0x46d0cc,this[_0x5c8551(0x1d9)]=new v8inspector_1[(_0x5c8551(0x144))](_0x513f88,(0x0,utils_1['satisfies'])(process[_0x5c8551(0x1ae)],_0x5c8551(0x180)),this['config'][_0x5c8551(0x140)],_0xc9e9a3=>{const _0x5992e5=_0x5c8551;this[_0x5992e5(0x19c)][_0xc9e9a3['scriptId']]=_0xc9e9a3;},_0x2b2bc5=>{const _0x3c35d2=_0x5c8551;try{this[_0x3c35d2(0x16c)](_0x2b2bc5);}catch(_0x441c56){this[_0x3c35d2(0x1d0)]['error'](_0x441c56);}},()=>{const _0x4a7c5c=_0x5c8551;this[_0x4a7c5c(0x19c)]={};}),this['quotaManager']=_0x567b0a,this[_0x5c8551(0x1d4)]=new dummy_blocklist_manager_1[(_0x5c8551(0x176))](!![]);}[a36_0x1eafa9(0x1cd)](_0x3718d2,_0x13c2f6){const _0x5c021b=a36_0x1eafa9;if(!_0x3718d2||typeof _0x3718d2['id']===_0x5c021b(0x162)||!_0x3718d2[_0x5c021b(0x1a2)]||!_0x3718d2[_0x5c021b(0x1a2)][_0x5c021b(0x177)]||!_0x3718d2[_0x5c021b(0x1a2)]['line'])return(0x0,utils_1[_0x5c021b(0x14e)])(_0x13c2f6,_0x3718d2,status_message_1[_0x5c021b(0x15d)][_0x5c021b(0x1bb)],utils_1[_0x5c021b(0x1b7)][_0x5c021b(0x161)]);this[_0x5c021b(0x1d0)][_0x5c021b(0x171)](_0x5c021b(0x156),_0x3718d2?.['action'],_0x3718d2?.['location']?.[_0x5c021b(0x177)],_0x3718d2?.[_0x5c021b(0x1a2)]?.['line']);const _0x51e818=path[_0x5c021b(0x1e5)](_0x3718d2[_0x5c021b(0x1a2)]['path']);if(!this[_0x5c021b(0x143)]['hasMappingInfo'](_0x51e818)){this[_0x5c021b(0x1d0)][_0x5c021b(0x171)](_0x5c021b(0x1ca),_0x51e818);const _0x42f76f=path[_0x5c021b(0x179)](_0x51e818);if(!this['config']['javascriptFileExtensions']['includes'](_0x42f76f)){const _0x4f62aa=_0x51e818['substring'](0x0,_0x51e818['length']-_0x42f76f[_0x5c021b(0x198)]),_0x589a85=this[_0x5c021b(0x1bc)][_0x5c021b(0x136)][_0x5c021b(0x1e0)](_0x1cfe1e=>_0x4f62aa+_0x1cfe1e)[_0x5c021b(0x158)](_0x1fded8=>(0x0,utils_1['isFileIndexed'])(_0x1fded8,this[_0x5c021b(0x1eb)])),_0x5afd36=_0x589a85?utils_1['errors'][_0x5c021b(0x181)]:utils_1[_0x5c021b(0x1b7)]['SOURCE_FILE_NOT_FOUND'];return(0x0,utils_1[_0x5c021b(0x14e)])(_0x13c2f6,_0x3718d2,status_message_1[_0x5c021b(0x15d)][_0x5c021b(0x13b)],_0x5afd36);}this[_0x5c021b(0x18d)](_0x3718d2,null,null,_0x13c2f6);}else{this[_0x5c021b(0x1d0)][_0x5c021b(0x171)](_0x5c021b(0x15e),_0x51e818);const _0xbf7669=_0x3718d2[_0x5c021b(0x1a2)]['line'],_0x38c82b=0x0,_0x406b43=this[_0x5c021b(0x143)]['mappingInfo'](_0x51e818,_0xbf7669,_0x38c82b);this[_0x5c021b(0x1d0)][_0x5c021b(0x171)]('mapInfo\x20',_0x406b43?.['file'],_0x406b43?.[_0x5c021b(0x160)],_0x406b43?.[_0x5c021b(0x1df)]);const _0x43a10d=(0x0,utils_1[_0x5c021b(0x14a)])(_0x3718d2);if(_0x3718d2['condition']&&_0x43a10d)try{_0x3718d2[_0x5c021b(0x182)]=_0x43a10d(_0x3718d2['condition']);}catch(_0x51d09e){return this[_0x5c021b(0x1d0)][_0x5c021b(0x18a)](_0x5c021b(0x167)+_0x3718d2[_0x5c021b(0x182)]+_0x5c021b(0x1e7)),(0x0,utils_1[_0x5c021b(0x14e)])(_0x13c2f6,_0x3718d2,status_message_1[_0x5c021b(0x15d)]['BREAKPOINT_CONDITION'],utils_1['errors'][_0x5c021b(0x1be)]);}this['setInternal'](_0x3718d2,_0x406b43,_0x43a10d,_0x13c2f6);}}[a36_0x1eafa9(0x195)](_0x5672bc,_0x40e16e){const _0x59cb65=a36_0x1eafa9;if(typeof _0x5672bc['id']===_0x59cb65(0x162))return this['logger'][_0x59cb65(0x171)](_0x59cb65(0x155)),(0x0,utils_1[_0x59cb65(0x14e)])(_0x40e16e,_0x5672bc,status_message_1['StatusMessage'][_0x59cb65(0x14c)],utils_1[_0x59cb65(0x1b7)][_0x59cb65(0x151)]);const _0x52e548=this[_0x59cb65(0x1a0)][_0x5672bc['id']];if(!_0x52e548)return this[_0x59cb65(0x1d0)][_0x59cb65(0x171)](_0x59cb65(0x149)+_0x5672bc['id']),(0x0,utils_1['setErrorStatusAndCallback'])(_0x40e16e,_0x5672bc,status_message_1[_0x59cb65(0x15d)][_0x59cb65(0x14c)],utils_1[_0x59cb65(0x1b7)]['V8_BREAKPOINT_CLEAR_ERROR']);const _0xb8fa32=_0x52e548[_0x59cb65(0x191)],_0x333724=_0x52e548['id'];(0x0,utils_1[_0x59cb65(0x1d7)])(this[_0x59cb65(0x19e)][_0xb8fa32],_0x5672bc['id']);this[_0x59cb65(0x19e)][_0xb8fa32][_0x59cb65(0x198)]===0x0&&delete this[_0x59cb65(0x19e)][_0xb8fa32];(0x0,utils_1[_0x59cb65(0x1d7)])(this[_0x59cb65(0x1d6)][_0x333724],_0x5672bc['id']);this[_0x59cb65(0x1d6)][_0x333724]['length']===0x0&&delete this[_0x59cb65(0x1d6)][_0x333724];let _0x23b13c={};!this[_0x59cb65(0x1d6)][_0x52e548['id']]&&(_0x23b13c=this[_0x59cb65(0x1d9)][_0x59cb65(0x1a6)](_0x52e548['id'])),delete this[_0x59cb65(0x1a0)][_0x5672bc['id']],delete this[_0x59cb65(0x1ea)][_0x5672bc['id']],this[_0x59cb65(0x1dc)]--,setImmediate(()=>{_0x23b13c['error']&&_0x40e16e(_0x23b13c['error']),_0x40e16e(null);});}['wait'](_0x5baa38,_0x64f4cb){const _0x10d5c0=a36_0x1eafa9,_0x275c7f=this[_0x10d5c0(0x1b4)][_0x10d5c0(0x15a)](this,_0x5baa38,_0x2425f4=>{const _0x54ee2c=_0x10d5c0,_0x39a7db=--this[_0x54ee2c(0x1a0)][_0x5baa38['id']][_0x54ee2c(0x132)];(_0x39a7db<=0x0||_0x2425f4)&&(this[_0x54ee2c(0x1ea)][_0x5baa38['id']][_0x54ee2c(0x1b2)]=![]),_0x64f4cb(_0x2425f4||undefined);});this[_0x10d5c0(0x1ea)][_0x5baa38['id']]={'enabled':!![],'listener':_0x275c7f};}[a36_0x1eafa9(0x185)](_0x3b82de,_0x2988f2,_0x41ba7b,_0x1d0f31){const _0xcea0=a36_0x1eafa9,_0x1eca45=this[_0xcea0(0x1b4)][_0xcea0(0x15a)](this,_0x3b82de,_0x25cf07=>{const _0x409958=_0xcea0;if(_0x25cf07){this['listeners'][_0x3b82de['id']]['enabled']=![],setImmediate(()=>{_0x1d0f31(_0x25cf07||undefined);});return;}_0x2988f2(_0x3b82de[_0x409958(0x1aa)],_0x3b82de[_0x409958(0x13d)]),_0x3b82de['evaluatedExpressions']=[],_0x41ba7b()?this[_0x409958(0x1ea)][_0x3b82de['id']][_0x409958(0x1b2)]=![]:this['quotaManager'][_0x409958(0x1ed)](_0x3b82de['id'])&&(this[_0x409958(0x1ea)][_0x3b82de['id']][_0x409958(0x1b2)]=![],setTimeout(()=>{const _0x33e839=_0x409958;!_0x41ba7b()&&this['listeners'][_0x3b82de['id']]&&(this['listeners'][_0x3b82de['id']][_0x33e839(0x1b2)]=!![]),this[_0x33e839(0x1b9)][_0x33e839(0x135)](_0x3b82de['id']);},this[_0x409958(0x1bc)][_0x409958(0x1cf)][_0x409958(0x133)]*0x3e8));});this[_0xcea0(0x1ea)][_0x3b82de['id']]={'enabled':!![],'listener':_0x1eca45};}[a36_0x1eafa9(0x14f)](){const _0x15e3f3=a36_0x1eafa9;this['v8Inspector'][_0x15e3f3(0x172)]();}[a36_0x1eafa9(0x1dd)](){this['v8Inspector']['enable']();}['disable'](){const _0x208779=a36_0x1eafa9;this[_0x208779(0x1d9)][_0x208779(0x19f)]();}[a36_0x1eafa9(0x1e4)](){const _0x128876=a36_0x1eafa9;return Object[_0x128876(0x148)](this[_0x128876(0x1a0)])[_0x128876(0x198)];}['numListeners_'](){const _0x2923fe=a36_0x1eafa9;return Object[_0x2923fe(0x148)](this[_0x2923fe(0x1ea)])['length'];}['remainingHits'](_0x1ac883){const _0x4b19d0=a36_0x1eafa9;return this['breakpoints'][_0x1ac883][_0x4b19d0(0x132)];}[a36_0x1eafa9(0x142)](_0x21ab5f){this['blocklistManager']=_0x21ab5f;}[a36_0x1eafa9(0x18d)](_0x675760,_0x568f65,_0x2a258c,_0x5a9b4b){const _0x54964c=a36_0x1eafa9;let _0x17aa14=null;if(_0x675760[_0x54964c(0x182)])try{_0x17aa14=acorn[_0x54964c(0x188)](_0x675760[_0x54964c(0x182)],{'sourceType':_0x54964c(0x1ac),'ecmaVersion':0x6});const _0x1a974b=require('../util/validator.js');if(!_0x1a974b['isValid'](_0x17aa14,![]))return(0x0,utils_1[_0x54964c(0x14e)])(_0x5a9b4b,_0x675760,status_message_1[_0x54964c(0x15d)][_0x54964c(0x14c)],utils_1['errors'][_0x54964c(0x173)]);}catch(_0x1f9f4e){const _0x553b44=utils_1[_0x54964c(0x1b7)][_0x54964c(0x18e)]+_0x1f9f4e['message'];return(0x0,utils_1[_0x54964c(0x14e)])(_0x5a9b4b,_0x675760,status_message_1[_0x54964c(0x15d)][_0x54964c(0x14c)],_0x553b44);}let _0x27e883;const _0x325391=_0x568f65?_0x568f65[_0x54964c(0x139)]:path[_0x54964c(0x1e5)](_0x675760[_0x54964c(0x1a2)][_0x54964c(0x177)]);this[_0x54964c(0x1d0)][_0x54964c(0x171)](_0x54964c(0x169),_0x325391);const _0x2b2f68=(0x0,utils_1[_0x54964c(0x1c8)])(_0x325391,this[_0x54964c(0x1bc)],this['fileIndex'],this[_0x54964c(0x1d0)]);if(_0x2b2f68['length']===0x0)return(0x0,utils_1[_0x54964c(0x14e)])(_0x5a9b4b,_0x675760,status_message_1[_0x54964c(0x15d)]['BREAKPOINT_SOURCE_LOCATION'],utils_1['errors']['SOURCE_FILE_NOT_FOUND']);else{if(_0x2b2f68[_0x54964c(0x198)]===0x1)this[_0x54964c(0x1d0)][_0x54964c(0x171)]('Found\x20script\x20file:\x20',_0x2b2f68[0x0]),_0x27e883=_0x2b2f68[0x0];else return this[_0x54964c(0x1d0)][_0x54964c(0x18a)](_0x54964c(0x1c4)+_0x325391+'.\x20Potential\x20matches:\x20'+_0x2b2f68),(0x0,utils_1[_0x54964c(0x14e)])(_0x5a9b4b,_0x675760,status_message_1[_0x54964c(0x15d)][_0x54964c(0x13b)],utils_1[_0x54964c(0x1b7)][_0x54964c(0x1bd)]);}if(this[_0x54964c(0x1d4)][_0x54964c(0x1b8)](_0x27e883))return(0x0,utils_1[_0x54964c(0x14e)])(_0x5a9b4b,_0x675760,status_message_1[_0x54964c(0x15d)]['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x54964c(0x1b7)][_0x54964c(0x1e1)]);let _0x1cb75d=_0x568f65&&_0x568f65[_0x54964c(0x1df)]?_0x568f65[_0x54964c(0x1df)]:_0x675760[_0x54964c(0x1a2)]['column']||0x0;const _0x3b7d3b=_0x568f65?_0x568f65[_0x54964c(0x160)]:_0x675760['location'][_0x54964c(0x160)];USE_MODULE_PREFIX&&_0x3b7d3b===0x1&&(_0x1cb75d+=debugapi['MODULE_WRAP_PREFIX_LENGTH']-0x1);const _0x332733=this[_0x54964c(0x1eb)][_0x54964c(0x1a3)][_0x27e883];this[_0x54964c(0x1d0)]['debug'](_0x54964c(0x1ce),_0x332733?.['lines'],_0x54964c(0x134),_0x332733?.[_0x54964c(0x1c1)]);if(_0x3b7d3b>=_0x332733[_0x54964c(0x13c)]||_0x3b7d3b<0x1)return(0x0,utils_1[_0x54964c(0x14e)])(_0x5a9b4b,_0x675760,status_message_1[_0x54964c(0x15d)]['BREAKPOINT_SOURCE_LOCATION'],{...utils_1[_0x54964c(0x1b7)][_0x54964c(0x17e)],'description':utils_1[_0x54964c(0x1b7)][_0x54964c(0x17e)]['description']+_0x27e883+':'+_0x3b7d3b+'.\x20Loaded\x20script\x20contained\x20'+this[_0x54964c(0x1eb)][_0x54964c(0x1a3)][_0x27e883][_0x54964c(0x13c)]+'\x20lines.\x20Please\x20ensure'+'\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the'+_0x54964c(0x1d2)});const _0x19fcbc=this[_0x54964c(0x1b0)](_0x675760,_0x3b7d3b,_0x1cb75d,_0x27e883);if(!_0x19fcbc)return(0x0,utils_1[_0x54964c(0x14e)])(_0x5a9b4b,_0x675760,status_message_1[_0x54964c(0x15d)][_0x54964c(0x13b)],utils_1[_0x54964c(0x1b7)][_0x54964c(0x1a8)]);this['breakpoints'][_0x675760['id']]=new BreakpointData(_0x19fcbc[_0x54964c(0x1d1)],_0x675760,_0x17aa14,_0x19fcbc[_0x54964c(0x191)],_0x2a258c,_0x675760['maxHitCount']||0x1,_0x675760['ignoreQuota'],_0x675760[_0x54964c(0x1d5)]),this[_0x54964c(0x1dc)]++,setImmediate(()=>{_0x5a9b4b(null);});}[a36_0x1eafa9(0x1b0)](_0x7d6e1d,_0x587997,_0x1ccde0,_0x29d79f){const _0x1bbd89=a36_0x1eafa9,_0x23032f=JSON['stringify']({'file':_0x29d79f,'line':_0x587997,'column':_0x1ccde0});let _0x1903cf;if(!this['locationMapper'][_0x23032f]){this[_0x1bbd89(0x157)](_0x29d79f,_0x587997,_0x1ccde0);const _0x51c3f2=this[_0x1bbd89(0x1d9)]['shouldUseWellFormattedUrl']()?_0x1bbd89(0x141)+_0x29d79f:_0x29d79f,_0x6e1e82=process[_0x1bbd89(0x1de)]===_0x1bbd89(0x18b)&&(0x0,utils_1['satisfies'])(process[_0x1bbd89(0x1ae)],_0x1bbd89(0x166))?_0x51c3f2[_0x1bbd89(0x1ba)](/^file:\/\//,_0x1bbd89(0x137))[_0x1bbd89(0x1ba)](/\\/g,'/'):_0x51c3f2,_0x388ceb=this[_0x1bbd89(0x1d9)][_0x1bbd89(0x13f)]({'lineNumber':_0x587997-0x1,'url':encodeURI(_0x6e1e82),'columnNumber':_0x1ccde0});if(_0x388ceb[_0x1bbd89(0x1cc)]||!_0x388ceb['response'])return this[_0x1bbd89(0x1d0)][_0x1bbd89(0x1cc)]('Failed\x20to\x20put\x20the\x20breakpoint\x20in\x20'+_0x6e1e82+':'+_0x587997+',\x20'+(_0x1bbd89(0x1b1)+JSON[_0x1bbd89(0x17c)](_0x388ceb[_0x1bbd89(0x1cc)]))),null;_0x1903cf=_0x388ceb['response']['breakpointId'],this[_0x1bbd89(0x1d0)][_0x1bbd89(0x171)](_0x1bbd89(0x14b),_0x1903cf),delete this[_0x1bbd89(0x19e)][_0x23032f],delete this[_0x1bbd89(0x1d6)][_0x1903cf],this[_0x1bbd89(0x19e)][_0x23032f]=[],this[_0x1bbd89(0x1d6)][_0x1903cf]=[];}else _0x1903cf=this[_0x1bbd89(0x1a0)][this[_0x1bbd89(0x19e)][_0x23032f][0x0]]['id'],this['logger'][_0x1bbd89(0x171)]('Breakpoint\x20is\x20found\x20at\x20a\x20given\x20location.\x20Id:\x20',_0x1903cf);return this[_0x1bbd89(0x19e)][_0x23032f]['push'](_0x7d6e1d['id']),this[_0x1bbd89(0x1d6)][_0x1903cf][_0x1bbd89(0x184)](_0x7d6e1d['id']),{'v8BreakpointId':_0x1903cf,'locationStr':_0x23032f};}[a36_0x1eafa9(0x157)](_0xd547f6,_0x7209b7,_0x359988){const _0x268f94=a36_0x1eafa9;try{if(!this[_0x268f94(0x1bc)][_0x268f94(0x1c5)][_0x268f94(0x13a)])return;const _0x2deedb=(0x0,fs_1[_0x268f94(0x145)])(_0xd547f6,_0x268f94(0x159)),_0x33b4f7=_0x2deedb[_0x268f94(0x152)](/\r?\n/),_0x8de64c=_0x7209b7-0x2,_0x2ce6e0=_0x7209b7-0x1,_0x1aa229=_0x7209b7;this[_0x268f94(0x1cb)](_0x268f94(0x183)+_0x8de64c,_0x33b4f7[_0x8de64c],_0x359988),this[_0x268f94(0x1cb)](_0x268f94(0x163)+_0x2ce6e0,_0x33b4f7[_0x2ce6e0],_0x359988),this[_0x268f94(0x1cb)](_0x268f94(0x154)+_0x1aa229,_0x33b4f7[_0x1aa229],_0x359988);}catch(_0x3c51c0){this[_0x268f94(0x1d0)][_0x268f94(0x1cc)](_0x268f94(0x1ab),_0x3c51c0);}}[a36_0x1eafa9(0x1cb)](_0xe0b49f,_0x47a128,_0x26efb3){const _0x30595c=a36_0x1eafa9;this[_0x30595c(0x1d0)][_0x30595c(0x171)](_0xe0b49f);if(!_0x47a128){this[_0x30595c(0x1d0)][_0x30595c(0x171)](_0x30595c(0x17a));return;}const _0x4392dd=0x12c;_0x26efb3=_0x26efb3||0x0;if(_0x47a128[_0x30595c(0x198)]<=_0x4392dd)this[_0x30595c(0x1d0)][_0x30595c(0x171)](_0x30595c(0x1d8)+_0x47a128+'`.\x20column:\x20'+_0x26efb3);else{if(_0x47a128[_0x30595c(0x198)]>_0x26efb3){const _0x4c6c7d=_0x47a128[_0x30595c(0x147)](_0x26efb3,_0x4392dd);this['logger'][_0x30595c(0x171)](_0x30595c(0x164)+_0x4392dd+_0x30595c(0x16f)+_0x26efb3+':\x20`'+_0x4c6c7d+'`');}else{this['logger'][_0x30595c(0x171)](_0x30595c(0x18f)+_0x26efb3+',\x20line\x20length:\x20'+_0x47a128['length']);const _0x5e87af=_0x47a128['substring'](0x0,_0x4392dd);this['logger'][_0x30595c(0x171)]('Printing\x20first\x20'+_0x4392dd+_0x30595c(0x1ad)+_0x5e87af);}}}[a36_0x1eafa9(0x1a4)](_0x4eae8e,_0x1a8a21){const _0x1db117=a36_0x1eafa9,_0x57c45d=this[_0x1db117(0x1bc)][_0x1db117(0x178)],_0xe6b7ca=_0x4eae8e[_0x1db117(0x182)];if(_0xe6b7ca){const _0x3097b4=process[_0x1db117(0x1a7)](),_0x362934=state[_0x1db117(0x1e9)](_0xe6b7ca,_0x1a8a21,this['v8Inspector'],!![],_0x57c45d),_0x5e2dff=process[_0x1db117(0x1a7)](_0x3097b4);if(!this[_0x1db117(0x1b9)]['ignoreQuota']){const _0x3d9429=this[_0x1db117(0x1e3)](_0x5e2dff),_0x13797f=this[_0x1db117(0x1b9)][_0x1db117(0x16d)](_0x3d9429,_0x4eae8e);if(_0x13797f)return[undefined,_0x13797f];}if(_0x362934[_0x1db117(0x1cc)])return this[_0x1db117(0x1d0)][_0x1db117(0x171)](_0x1db117(0x16b)+_0xe6b7ca+_0x1db117(0x1c0),_0x362934[_0x1db117(0x1cc)]),[undefined,{...utils_1[_0x1db117(0x1b7)]['ERROR_EVALUATING_CONDITION'],'description':(utils_1[_0x1db117(0x1b7)][_0x1db117(0x1c9)][_0x1db117(0x1a5)]||'')+_0x362934['error'][_0x1db117(0x1a5)]}];if(!_0x362934[_0x1db117(0x146)]['value'])return this[_0x1db117(0x1d0)][_0x1db117(0x171)](_0x1db117(0x19d)+_0xe6b7ca+_0x1db117(0x19a)),[![],undefined];}return[!![],undefined];}[a36_0x1eafa9(0x1b4)](_0x41a27a,_0x156a9b,_0xd280cc){const _0x252ccc=a36_0x1eafa9,[_0x4ea015,_0x2947c5]=this[_0x252ccc(0x1a4)](_0x41a27a,_0xd280cc[0x0]);if(_0x2947c5!==undefined){(0x0,utils_1[_0x252ccc(0x14e)])(_0x156a9b,_0x41a27a,status_message_1[_0x252ccc(0x15d)][_0x252ccc(0x14c)],_0x2947c5);return;}if(_0x4ea015===![])return;const _0x46a680=process[_0x252ccc(0x1a7)]();try{this[_0x252ccc(0x170)](_0x41a27a,_0xd280cc);}catch(_0x175925){return(0x0,utils_1[_0x252ccc(0x14e)])(_0x156a9b,_0x41a27a,status_message_1['StatusMessage']['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x252ccc(0x1b7)][_0x252ccc(0x1b5)]+_0x175925);}const _0x57be81=process[_0x252ccc(0x1a7)](_0x46a680),_0x4f83e3=this[_0x252ccc(0x1e3)](_0x57be81);this['quotaManager'][_0x252ccc(0x1c3)](_0x41a27a['id'],_0x4f83e3),this[_0x252ccc(0x1d0)][_0x252ccc(0x171)]((0x0,utils_1[_0x252ccc(0x174)])('capture\x20time:\x20',_0x57be81)),_0x156a9b(null);}[a36_0x1eafa9(0x170)](_0x2342ed,_0x4d9824){const _0x685862=a36_0x1eafa9,_0x1d3491=[],_0x66348e=this;if(_0x2342ed[_0x685862(0x1a9)]&&this[_0x685862(0x1a0)][_0x2342ed['id']][_0x685862(0x17b)])for(let _0x140453=0x0;_0x140453<_0x2342ed[_0x685862(0x1a9)]['length'];_0x140453++){try{_0x2342ed[_0x685862(0x1a9)][_0x140453]=this[_0x685862(0x1a0)][_0x2342ed['id']]['compile'](_0x2342ed[_0x685862(0x1a9)][_0x140453]);}catch(_0x493356){this['logger'][_0x685862(0x18a)](_0x685862(0x19b)+_0x2342ed['expressions'][_0x140453]+_0x685862(0x1e7)),_0x1d3491[_0x685862(0x184)]({'name':_0x2342ed[_0x685862(0x1a9)][_0x140453],'status':new status_message_1[(_0x685862(0x15d))](status_message_1[_0x685862(0x15d)][_0x685862(0x13e)],utils_1['errors']['EXPRESSION_COMPILING_ERROR'],!![])}),_0x2342ed[_0x685862(0x1a9)][_0x685862(0x1bf)](_0x140453,0x1),_0x140453--;}}if(_0x2342ed[_0x685862(0x199)]===_0x685862(0x190)){if(!_0x2342ed['expressions'])_0x2342ed[_0x685862(0x13d)]=[];else{const _0x394596=_0x4d9824[0x0];_0x2342ed[_0x685862(0x13d)]=_0x2342ed[_0x685862(0x1a9)][_0x685862(0x1e0)](_0xe65595=>{const _0x109094=_0x685862,_0x31ec07=state[_0x109094(0x1e9)](_0xe65595,_0x394596,_0x66348e[_0x109094(0x1d9)],!![],this[_0x109094(0x1bc)]['expressionsEvalTimeoutMillis']);return _0x31ec07[_0x109094(0x1cc)]?_0x31ec07[_0x109094(0x1cc)]:_0x31ec07[_0x109094(0x146)][_0x109094(0x194)];});}}else{const _0x583358=state[_0x685862(0x1af)](_0x4d9824,_0x2342ed,this[_0x685862(0x1bc)],this['scriptMapper'],this[_0x685862(0x1d9)],this[_0x685862(0x1d4)]);_0x2342ed[_0x685862(0x1a2)]&&(0x0,utils_1[_0x685862(0x1a1)])(_0x2342ed[_0x685862(0x1a2)][_0x685862(0x177)])&&(_0x2342ed[_0x685862(0x1a2)][_0x685862(0x160)]=_0x4d9824[0x0][_0x685862(0x1a2)]['lineNumber']+0x1),_0x2342ed[_0x685862(0x1c2)]=_0x583358[_0x685862(0x1c2)],_0x2342ed[_0x685862(0x14d)]=_0x583358['variableTable'],_0x2342ed[_0x685862(0x13d)]=_0x1d3491[_0x685862(0x193)](_0x583358[_0x685862(0x13d)]);}}[a36_0x1eafa9(0x16c)](_0x154319){const _0x2502e3=a36_0x1eafa9;try{if(!_0x154319[_0x2502e3(0x192)])return;const _0x4abc1b=_0x154319[_0x2502e3(0x192)][0x0],_0x1a3e63=this[_0x2502e3(0x1d6)][_0x4abc1b];if(!_0x1a3e63)return;_0x1a3e63[_0x2502e3(0x1e2)](_0x2b96cd=>{const _0x3b8bfe=_0x2502e3;this[_0x3b8bfe(0x1ea)][_0x2b96cd]['enabled']&&(this['logger']['debug'](_0x3b8bfe(0x17f)+_0x2b96cd),this[_0x3b8bfe(0x1ea)][_0x2b96cd]['listener'](_0x154319['callFrames']));});}catch(_0x54cacb){this['logger']['warn'](_0x2502e3(0x18c)+_0x54cacb);}}[a36_0x1eafa9(0x1e3)](_0x2e9606){return _0x2e9606[0x0]*0x3b9aca00+_0x2e9606[0x1];}}exports[a36_0x1eafa9(0x1b6)]=InspectorDebugApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a37_0x239d44=a37_0x47e9;(function(_0x1f49ac,_0x159089){const _0x2a445d=a37_0x47e9,_0x3c950f=_0x1f49ac();while(!![]){try{const _0x4d8f00=parseInt(_0x2a445d(0xde))/0x1+-parseInt(_0x2a445d(0xba))/0x2+-parseInt(_0x2a445d(0x118))/0x3*(-parseInt(_0x2a445d(0xfe))/0x4)+-parseInt(_0x2a445d(0xed))/0x5*(-parseInt(_0x2a445d(0x113))/0x6)+-parseInt(_0x2a445d(0xb6))/0x7*(-parseInt(_0x2a445d(0x127))/0x8)+-parseInt(_0x2a445d(0x109))/0x9+parseInt(_0x2a445d(0xb3))/0xa*(-parseInt(_0x2a445d(0xe9))/0xb);if(_0x4d8f00===_0x159089)break;else _0x3c950f['push'](_0x3c950f['shift']());}catch(_0x27f07b){_0x3c950f['push'](_0x3c950f['shift']());}}}(a37_0x3ec1,0xbdbfa));const a37_0x55e6b6=(function(){let _0x367253=!![];return function(_0x2fdb12,_0x2c7a84){const _0x33de0f=_0x367253?function(){if(_0x2c7a84){const _0x2aedd0=_0x2c7a84['apply'](_0x2fdb12,arguments);return _0x2c7a84=null,_0x2aedd0;}}:function(){};return _0x367253=![],_0x33de0f;};}()),a37_0x4f2b89=a37_0x55e6b6(this,function(){const _0x1910a5=a37_0x47e9;return a37_0x4f2b89[_0x1910a5(0x110)]()[_0x1910a5(0xbd)](_0x1910a5(0x10c))[_0x1910a5(0x110)]()[_0x1910a5(0xae)](a37_0x4f2b89)[_0x1910a5(0xbd)](_0x1910a5(0x10c));});a37_0x4f2b89();'use strict';function a37_0x47e9(_0x525780,_0x46001d){const _0x45f120=a37_0x3ec1();return a37_0x47e9=function(_0x4f2b89,_0x55e6b6){_0x4f2b89=_0x4f2b89-0x9d;let _0x3ec12b=_0x45f120[_0x4f2b89];return _0x3ec12b;},a37_0x47e9(_0x525780,_0x46001d);}Object[a37_0x239d44(0x122)](exports,a37_0x239d44(0xe1),{'value':!![]}),exports[a37_0x239d44(0xdf)]=exports['V8BreakpointData']=void 0x0;const acorn=require(a37_0x239d44(0x126)),path=require('path'),semver=require('semver'),vm=require('vm'),status_message_1=require(a37_0x239d44(0xf3)),state=require('../state/legacy-state'),utils_1=require('../util/utils'),debugapi=require(a37_0x239d44(0x117)),dummy_blocklist_manager_1=require(a37_0x239d44(0x10a));function a37_0x3ec1(){const _0x48cae6=['length','search','bind','logMessageFormat','formatInterval','action','recovered','Unable\x20to\x20compile\x20condition\x20>>\x20','ERROR_COMPILING_CONDITION','setScriptBreakPointByRegExp','listeners','Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20','INVALID_LINE_NUMBER','set','>=4.5','capture\x20time:\x20','location','v8Breakpoint','log','SOURCE_FILE_AMBIGUOUS','Break','concat','fileIndex','value','file','DebugEvent','condition','evaluatedExpressions','logger','enabled','quotaRecoverySeconds','../util/validator.js','quota','hrtime','597526xJmxIF','V8DebugApi','line','__esModule','V8_BREAKPOINT_CLEAR_ERROR','javascriptFileExtensions','breakpoints','SOURCE_FILE_NOT_FOUND','info','message','capture','55VwrnNC','\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the','BREAKPOINT_PATH_BLOCKED','Unable\x20to\x20unambiguously\x20find\x20','44445JJeYQt','numBreakpoints_','V8BreakpointData','mirror','DISALLOWED_EXPRESSION','splice','../../client/stackdriver/status-message','errors','runInDebugContext','lines','path','checkCondition','INVALID_BREAKPOINT','setErrorStatusAndCallback','findBreakPoint','compile','handleDebugEvents','2612jucyCD','remainingHits','parsedCondition','>>>V8\x20breakpoint\x20hit<<<\x20number:\x20','variableTable','apiBreakpoint','activating\x20v8\x20breakpoint\x20listener','shouldBlock','usePermanentListener','numBreakpoints','isValid','12927996NCVDoU','../blocklisting/dummy-blocklist-manager','BREAKPOINT_CONDITION','(((.+)+)+)+$','sourcemapper','\x09the\x20breakpoint\x20condition\x20wasn\x27t\x20met','undefined','toString','script','exec','822BDltGQ','config','warn','setBlocklistManager','./debugapi','4623pzBUAD','includes','findScripts','stackFrames','normalize','EXPRESSION_COMPILING_ERROR','description','error','blocklistManager','BREAKPOINT_SOURCE_LOCATION','defineProperty','setListener','frame','v8Version','acorn','8oSotPc','numListeners_','\x20deployed\x20source.','satisfies','.\x20Potential\x20matches:\x20','forEach','SYNTAX_ERROR_IN_CONDITION','column','evaluate','pathToRegExp','fileStats','quotaManager','V8_BREAKPOINT_ERROR','keys','number','activating\x20v8\x20breakpoint\x20listener\x20(permanent)','onBreakpointHit','clear','setByRegExp','VARIABLE_VALUE','MODULE_WRAP_PREFIX_LENGTH','setInternal','constructor','expressions','.\x20Loaded\x20script\x20contained\x20','clearBreakPoint','UNSPECIFIED','1695510LHZpzX','listener','push','2721369dUUwii','StatusMessage','captureBreakpointData','wait','297900NFENMp','CAPTURE_BREAKPOINT_DATA'];a37_0x3ec1=function(){return _0x48cae6;};return a37_0x3ec1();}class V8BreakpointData{constructor(_0x1f394a,_0xab148c,_0x23f67f,_0x42cd04){const _0x25ea88=a37_0x239d44;this[_0x25ea88(0x103)]=_0x1f394a,this[_0x25ea88(0xcd)]=_0xab148c,this[_0x25ea88(0x100)]=_0x23f67f,this[_0x25ea88(0xfc)]=_0x42cd04;}}exports[a37_0x239d44(0xef)]=V8BreakpointData;class V8DebugApi{constructor(_0x46564f,_0x54bf87,_0x4195bf,_0x5c70f6,_0x3d2f05){const _0x30e435=a37_0x239d44;this[_0x30e435(0xe4)]={},this[_0x30e435(0xc6)]={},this['numBreakpoints']=0x0,this[_0x30e435(0x10d)]=_0x5c70f6,this['v8']=vm[_0x30e435(0xf5)]('Debug'),this[_0x30e435(0x114)]=_0x54bf87,this['fileIndex']=_0x4195bf,this[_0x30e435(0x125)]=/(\d+\.\d+\.\d+)\.\d+/[_0x30e435(0x112)](process['versions']['v8']),this[_0x30e435(0xd8)]=_0x46564f,this[_0x30e435(0x106)]=semver[_0x30e435(0x12a)](this[_0x30e435(0x125)][0x1],_0x30e435(0xca)),this['quotaManager']=_0x3d2f05,this[_0x30e435(0x120)]=new dummy_blocklist_manager_1['DummyBlocklistManager'](!![]),this[_0x30e435(0xfd)]=(_0x230f3f,_0x4ebce5,_0x5dac5d)=>{const _0x551796=_0x30e435;try{switch(_0x230f3f){case this['v8'][_0x551796(0xd5)][_0x551796(0xd0)]:_0x5dac5d['breakPointsHit']()[_0x551796(0x9d)](_0x2982fe=>{const _0x3e2da7=_0x551796,_0x234f1c=_0x2982fe['script_break_point']()[_0x3e2da7(0xa6)]();this[_0x3e2da7(0xc6)][_0x234f1c][_0x3e2da7(0xd9)]&&(this[_0x3e2da7(0xd8)][_0x3e2da7(0xe6)](_0x3e2da7(0x101)+_0x234f1c),this['listeners'][_0x234f1c][_0x3e2da7(0xb4)](_0x4ebce5,_0x5dac5d));});break;default:}}catch(_0x224f0a){this[_0x551796(0xd8)][_0x551796(0x115)](_0x551796(0xc7)+_0x224f0a);}},this[_0x30e435(0x106)]&&(this[_0x30e435(0xd8)][_0x30e435(0xe6)](_0x30e435(0xa7)),this['v8']['setListener'](this[_0x30e435(0xfd)]));}[a37_0x239d44(0xc9)](_0x2d597e,_0x469721){const _0x32a641=a37_0x239d44;if(!this['v8']||!_0x2d597e||typeof _0x2d597e['id']===_0x32a641(0x10f)||!_0x2d597e[_0x32a641(0xcc)]||!_0x2d597e[_0x32a641(0xcc)]['path']||!_0x2d597e['location'][_0x32a641(0xe0)])return(0x0,utils_1[_0x32a641(0xfa)])(_0x469721,_0x2d597e,status_message_1['StatusMessage'][_0x32a641(0xb2)],utils_1[_0x32a641(0xf4)][_0x32a641(0xf9)]);const _0x352319=path[_0x32a641(0x11c)](_0x2d597e[_0x32a641(0xcc)][_0x32a641(0xf7)]);if(this[_0x32a641(0x120)][_0x32a641(0x105)](_0x352319))return(0x0,utils_1['setErrorStatusAndCallback'])(_0x469721,_0x2d597e,status_message_1['StatusMessage'][_0x32a641(0x121)],utils_1[_0x32a641(0xf4)][_0x32a641(0xeb)]);if(!this['sourcemapper']['hasMappingInfo'](_0x352319)){const _0x40a009=path['extname'](_0x352319);if(!this['config'][_0x32a641(0xe3)][_0x32a641(0x119)](_0x40a009))return(0x0,utils_1[_0x32a641(0xfa)])(_0x469721,_0x2d597e,status_message_1[_0x32a641(0xb7)][_0x32a641(0x121)],utils_1[_0x32a641(0xf4)]['COULD_NOT_FIND_MAPPING_FILE']);this['setInternal'](_0x2d597e,null,null,_0x469721);}else{const _0x4799a4=_0x2d597e['location'][_0x32a641(0xe0)],_0x5d1bf6=0x0,_0x282aee=this[_0x32a641(0x10d)]['mappingInfo'](_0x352319,_0x4799a4,_0x5d1bf6),_0x411698=(0x0,utils_1['getBreakpointCompiler'])(_0x2d597e);if(_0x2d597e[_0x32a641(0xd6)]&&_0x411698)try{_0x2d597e[_0x32a641(0xd6)]=_0x411698(_0x2d597e[_0x32a641(0xd6)]);}catch(_0x510774){return this[_0x32a641(0xd8)][_0x32a641(0xe6)](_0x32a641(0xc3)+_0x2d597e[_0x32a641(0xd6)]+'\x20<<'),(0x0,utils_1[_0x32a641(0xfa)])(_0x469721,_0x2d597e,status_message_1[_0x32a641(0xb7)][_0x32a641(0x10b)],utils_1['errors']['ERROR_COMPILING_CONDITION']);}this[_0x32a641(0xad)](_0x2d597e,_0x282aee,_0x411698,_0x469721);}}[a37_0x239d44(0xa9)](_0x3e9a35,_0x303911){const _0x45e995=a37_0x239d44;if(typeof _0x3e9a35['id']==='undefined')return(0x0,utils_1[_0x45e995(0xfa)])(_0x303911,_0x3e9a35,status_message_1[_0x45e995(0xb7)]['BREAKPOINT_CONDITION'],utils_1[_0x45e995(0xf4)][_0x45e995(0xe2)]);const _0x1e518a=this['breakpoints'][_0x3e9a35['id']];if(!_0x1e518a)return(0x0,utils_1[_0x45e995(0xfa)])(_0x303911,_0x3e9a35,status_message_1[_0x45e995(0xb7)][_0x45e995(0x10b)],utils_1[_0x45e995(0xf4)][_0x45e995(0xe2)]);const _0x4e8680=_0x1e518a['v8Breakpoint'];this['v8'][_0x45e995(0xb1)](_0x4e8680[_0x45e995(0xa6)]()),delete this[_0x45e995(0xe4)][_0x3e9a35['id']],delete this['listeners'][_0x4e8680[_0x45e995(0xa6)]()],this[_0x45e995(0x107)]--,this[_0x45e995(0x107)]===0x0&&!this[_0x45e995(0x106)]&&(this[_0x45e995(0xd8)][_0x45e995(0xe6)]('deactivating\x20v8\x20breakpoint\x20listener'),this['v8'][_0x45e995(0x123)](null)),setImmediate(()=>{_0x303911(null);});}[a37_0x239d44(0xb9)](_0x42295c,_0x5ce65c){const _0x2d50fe=a37_0x239d44,_0x2f6e2e=this,_0x2b7464=_0x2f6e2e[_0x2d50fe(0xe4)][_0x42295c['id']][_0x2d50fe(0xcd)]['number'](),_0x55be7c=this['onBreakpointHit'][_0x2d50fe(0xbe)](this,_0x42295c,_0x50dfd6=>{const _0x34ca43=_0x2d50fe;_0x2f6e2e[_0x34ca43(0xc6)][_0x2b7464][_0x34ca43(0xd9)]=![],setImmediate(()=>{_0x5ce65c(_0x50dfd6||undefined);});});_0x2f6e2e['listeners'][_0x2b7464]={'enabled':!![],'listener':_0x55be7c};}[a37_0x239d44(0xce)](_0x531948,_0x3a75ae,_0x30afb8,_0x19ab64){const _0x3a330c=a37_0x239d44,_0x1508a6=this,_0x2e6a61=_0x1508a6[_0x3a330c(0xe4)][_0x531948['id']]['v8Breakpoint'][_0x3a330c(0xa6)](),_0x4240a4=this[_0x3a330c(0xa8)][_0x3a330c(0xbe)](this,_0x531948,_0x46c4b6=>{const _0x4b0183=_0x3a330c;_0x46c4b6&&(this[_0x4b0183(0xc6)][_0x531948['id']][_0x4b0183(0xd9)]=![],setImmediate(()=>{_0x19ab64(_0x46c4b6||undefined);})),_0x3a75ae(_0x531948[_0x4b0183(0xbf)],_0x531948[_0x4b0183(0xd7)]),_0x30afb8()?_0x1508a6[_0x4b0183(0xc6)][_0x2e6a61][_0x4b0183(0xd9)]=![]:this[_0x4b0183(0xa3)]['needsRecoveryTime'](_0x531948['id'])&&(_0x1508a6['listeners'][_0x2e6a61][_0x4b0183(0xd9)]=![],setTimeout(()=>{const _0x5a9088=_0x4b0183;!_0x30afb8()&&_0x1508a6[_0x5a9088(0xc6)][_0x2e6a61]&&(_0x1508a6[_0x5a9088(0xc6)][_0x2e6a61][_0x5a9088(0xd9)]=!![]),this['quotaManager'][_0x5a9088(0xc2)](_0x531948['id']);},_0x1508a6[_0x4b0183(0x114)][_0x4b0183(0xdc)][_0x4b0183(0xda)]*0x3e8));});_0x1508a6[_0x3a330c(0xc6)][_0x2e6a61]={'enabled':!![],'listener':_0x4240a4};}['disconnect'](){return;}['enable'](){}['disable'](){}[a37_0x239d44(0xee)](){const _0x4f335b=a37_0x239d44;return Object[_0x4f335b(0xa5)](this[_0x4f335b(0xe4)])[_0x4f335b(0xbc)];}[a37_0x239d44(0x128)](){const _0x34fc3d=a37_0x239d44;return Object[_0x34fc3d(0xa5)](this['listeners'])['length'];}[a37_0x239d44(0xff)](){return 0x0;}[a37_0x239d44(0x116)](_0x31a994){const _0x5bec4d=a37_0x239d44;this[_0x5bec4d(0x120)]=_0x31a994;}[a37_0x239d44(0xad)](_0x47ce95,_0x15e118,_0x5b226d,_0x1e7988){const _0x5ef09b=a37_0x239d44;let _0x46ef37=null;if(_0x47ce95[_0x5ef09b(0xd6)])try{_0x46ef37=acorn['parse'](_0x47ce95[_0x5ef09b(0xd6)],{'sourceType':_0x5ef09b(0x111),'ecmaVersion':0x6});const _0x7a2490=require(_0x5ef09b(0xdb));if(!_0x7a2490[_0x5ef09b(0x108)](_0x46ef37,!![]))return(0x0,utils_1[_0x5ef09b(0xfa)])(_0x1e7988,_0x47ce95,status_message_1['StatusMessage'][_0x5ef09b(0x10b)],utils_1[_0x5ef09b(0xf4)][_0x5ef09b(0xf1)]);}catch(_0x5b1797){return(0x0,utils_1['setErrorStatusAndCallback'])(_0x1e7988,_0x47ce95,status_message_1[_0x5ef09b(0xb7)][_0x5ef09b(0x10b)],utils_1[_0x5ef09b(0xf4)][_0x5ef09b(0x9e)]+_0x5b1797[_0x5ef09b(0xe7)]);}let _0x280d5f;const _0x386bd4=_0x15e118?_0x15e118[_0x5ef09b(0xd4)]:path['normalize'](_0x47ce95[_0x5ef09b(0xcc)][_0x5ef09b(0xf7)]),_0x2181f3=(0x0,utils_1[_0x5ef09b(0x11a)])(_0x386bd4,this['config'],this[_0x5ef09b(0xd2)],this[_0x5ef09b(0xd8)]);if(_0x2181f3[_0x5ef09b(0xbc)]===0x0)return(0x0,utils_1[_0x5ef09b(0xfa)])(_0x1e7988,_0x47ce95,status_message_1[_0x5ef09b(0xb7)][_0x5ef09b(0x121)],utils_1[_0x5ef09b(0xf4)][_0x5ef09b(0xe5)]);else{if(_0x2181f3['length']===0x1)_0x280d5f=_0x2181f3[0x0];else return this[_0x5ef09b(0xd8)][_0x5ef09b(0x115)](_0x5ef09b(0xec)+_0x386bd4+_0x5ef09b(0x12b)+_0x2181f3),(0x0,utils_1['setErrorStatusAndCallback'])(_0x1e7988,_0x47ce95,status_message_1['StatusMessage'][_0x5ef09b(0x121)],utils_1[_0x5ef09b(0xf4)][_0x5ef09b(0xcf)]);}let _0x4a6118=_0x15e118&&_0x15e118[_0x5ef09b(0x9f)]?_0x15e118['column']:_0x47ce95[_0x5ef09b(0xcc)][_0x5ef09b(0x9f)]||0x1;const _0x169c83=_0x15e118?_0x15e118[_0x5ef09b(0xe0)]:_0x47ce95[_0x5ef09b(0xcc)][_0x5ef09b(0xe0)];_0x169c83===0x1&&(_0x4a6118+=debugapi[_0x5ef09b(0xac)]-0x1);if(_0x169c83>=this['fileIndex']['fileStats'][_0x280d5f][_0x5ef09b(0xf6)])return(0x0,utils_1[_0x5ef09b(0xfa)])(_0x1e7988,_0x47ce95,status_message_1[_0x5ef09b(0xb7)][_0x5ef09b(0x121)],{...utils_1[_0x5ef09b(0xf4)]['INVALID_LINE_NUMBER'],'description':utils_1['errors'][_0x5ef09b(0xc8)]['description']+_0x280d5f+':'+_0x169c83+_0x5ef09b(0xb0)+this['fileIndex'][_0x5ef09b(0xa2)][_0x280d5f][_0x5ef09b(0xf6)]+'\x20lines.\x20Please\x20ensure'+_0x5ef09b(0xea)+_0x5ef09b(0x129)});const _0x541eca=this[_0x5ef09b(0xaa)](_0x280d5f,_0x169c83,_0x4a6118);if(!_0x541eca)return(0x0,utils_1[_0x5ef09b(0xfa)])(_0x1e7988,_0x47ce95,status_message_1['StatusMessage']['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x5ef09b(0xf4)][_0x5ef09b(0xa4)]);this[_0x5ef09b(0x107)]===0x0&&!this[_0x5ef09b(0x106)]&&(this[_0x5ef09b(0xd8)][_0x5ef09b(0xe6)](_0x5ef09b(0x104)),this['v8'][_0x5ef09b(0x123)](this[_0x5ef09b(0xfd)])),this[_0x5ef09b(0xe4)][_0x47ce95['id']]=new V8BreakpointData(_0x47ce95,_0x541eca,_0x46ef37,_0x5b226d),this['numBreakpoints']++,setImmediate(()=>{_0x1e7988(null);});}[a37_0x239d44(0xaa)](_0x52fd9c,_0xff58b8,_0x254d1b){const _0x20d912=a37_0x239d44,_0x650420=(0x0,utils_1[_0x20d912(0xa1)])(_0x52fd9c),_0x8a3500=this['v8'][_0x20d912(0xc5)](_0x650420,_0xff58b8-0x1,_0x254d1b-0x1),_0x50c213=this['v8'][_0x20d912(0xfb)](_0x8a3500);return _0x50c213;}['onBreakpointHit'](_0x20d27d,_0x36bfba,_0x5621ee){const _0x3a8f6f=a37_0x239d44,_0x378cf3=this['breakpoints'][_0x20d27d['id']][_0x3a8f6f(0xcd)];if(!_0x378cf3['active']())return(0x0,utils_1['setErrorStatusAndCallback'])(_0x36bfba,_0x20d27d,status_message_1[_0x3a8f6f(0xb7)][_0x3a8f6f(0x121)],utils_1[_0x3a8f6f(0xf4)]['V8_BREAKPOINT_DISABLED']);const _0x1aa207=this[_0x3a8f6f(0xf8)](_0x20d27d,_0x5621ee);if(_0x1aa207['error'])return(0x0,utils_1[_0x3a8f6f(0xfa)])(_0x36bfba,_0x20d27d,status_message_1['StatusMessage'][_0x3a8f6f(0x10b)],{...utils_1[_0x3a8f6f(0xf4)]['ERROR_EVALUATING_CONDITION'],'description':utils_1[_0x3a8f6f(0xf4)][_0x3a8f6f(0xc4)][_0x3a8f6f(0x11e)]+_0x1aa207[_0x3a8f6f(0x11f)]});else{if(!_0x1aa207[_0x3a8f6f(0xd3)]){this[_0x3a8f6f(0xd8)][_0x3a8f6f(0xe6)](_0x3a8f6f(0x10e));return;}}const _0x2c46c3=process[_0x3a8f6f(0xdd)]();try{this[_0x3a8f6f(0xb8)](_0x20d27d,_0x5621ee);}catch(_0x5b47ec){return(0x0,utils_1['setErrorStatusAndCallback'])(_0x36bfba,_0x20d27d,status_message_1[_0x3a8f6f(0xb7)][_0x3a8f6f(0x121)],utils_1['errors'][_0x3a8f6f(0xbb)]+_0x5b47ec);}const _0x5c339e=process[_0x3a8f6f(0xdd)](_0x2c46c3);this['logger'][_0x3a8f6f(0xe6)]((0x0,utils_1[_0x3a8f6f(0xc0)])(_0x3a8f6f(0xcb),_0x5c339e)),_0x36bfba(null);}['checkCondition'](_0x368670,_0x5e98c6){const _0x40e605=a37_0x239d44;if(!_0x368670[_0x40e605(0xd6)])return{'value':!![]};const _0x5f5da3=state[_0x40e605(0xa0)](_0x368670[_0x40e605(0xd6)],_0x5e98c6[_0x40e605(0x124)](0x0));if(_0x5f5da3[_0x40e605(0x11f)])return{'error':_0x5f5da3[_0x40e605(0x11f)]};return{'value':!!_0x5f5da3[_0x40e605(0xf0)][_0x40e605(0xd3)]()};}[a37_0x239d44(0xb8)](_0x196cc3,_0x32d6a0){const _0x58ffdc=a37_0x239d44,_0x16797e=[];if(_0x196cc3['expressions']&&this[_0x58ffdc(0xe4)][_0x196cc3['id']][_0x58ffdc(0xfc)])for(let _0x5180c9=0x0;_0x5180c9<_0x196cc3[_0x58ffdc(0xaf)][_0x58ffdc(0xbc)];_0x5180c9++){try{_0x196cc3[_0x58ffdc(0xaf)][_0x5180c9]=this[_0x58ffdc(0xe4)][_0x196cc3['id']][_0x58ffdc(0xfc)](_0x196cc3[_0x58ffdc(0xaf)][_0x5180c9]);}catch(_0x20fb72){this['logger'][_0x58ffdc(0xe6)]('Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20'+_0x196cc3['expressions'][_0x5180c9]+'\x20<<'),_0x16797e[_0x58ffdc(0xb5)]({'name':_0x196cc3[_0x58ffdc(0xaf)][_0x5180c9],'status':new status_message_1[(_0x58ffdc(0xb7))](status_message_1[_0x58ffdc(0xb7)][_0x58ffdc(0xab)],utils_1['errors'][_0x58ffdc(0x11d)],!![])}),_0x196cc3[_0x58ffdc(0xaf)][_0x58ffdc(0xf2)](_0x5180c9,0x1),_0x5180c9--;}}if(_0x196cc3[_0x58ffdc(0xc1)]==='LOG'){if(!_0x196cc3[_0x58ffdc(0xaf)])_0x196cc3[_0x58ffdc(0xd7)]=[];else{const _0x4bffce=_0x32d6a0[_0x58ffdc(0x124)](0x0),_0x185250=_0x196cc3[_0x58ffdc(0xaf)]['map'](_0x211a64=>{const _0x338aeb=_0x58ffdc,_0x322348=state[_0x338aeb(0xa0)](_0x211a64,_0x4bffce);return _0x322348['error']?_0x322348[_0x338aeb(0x11f)]:_0x322348['mirror']['value']();});_0x196cc3['evaluatedExpressions']=_0x185250;}}else{const _0x4452d3=state[_0x58ffdc(0xe8)](_0x32d6a0,_0x196cc3[_0x58ffdc(0xaf)],this['config'],this['v8'],this['blocklistManager']);_0x196cc3[_0x58ffdc(0xcc)]&&(0x0,utils_1['isJavaScriptFile'])(_0x196cc3[_0x58ffdc(0xcc)][_0x58ffdc(0xf7)])&&_0x4452d3[_0x58ffdc(0xcc)]&&_0x4452d3[_0x58ffdc(0xcc)][_0x58ffdc(0xe0)]&&(_0x196cc3[_0x58ffdc(0xcc)][_0x58ffdc(0xe0)]=_0x4452d3['location'][_0x58ffdc(0xe0)]),_0x196cc3['stackFrames']=_0x4452d3[_0x58ffdc(0x11b)],_0x196cc3['variableTable']=_0x4452d3[_0x58ffdc(0x102)],_0x196cc3['evaluatedExpressions']=_0x16797e[_0x58ffdc(0xd1)](_0x4452d3['evaluatedExpressions']);}}}exports[a37_0x239d44(0xdf)]=V8DebugApi;
|
|
1
|
+
const a37_0x868f0c=a37_0x2cb6;function a37_0x2cb6(_0x2a11d2,_0x32a638){const _0x3b5b6d=a37_0x2730();return a37_0x2cb6=function(_0x502328,_0x91a6e0){_0x502328=_0x502328-0x157;let _0x273041=_0x3b5b6d[_0x502328];return _0x273041;},a37_0x2cb6(_0x2a11d2,_0x32a638);}(function(_0xaa8d3f,_0x160d7b){const _0x1dee31=a37_0x2cb6,_0x54f14f=_0xaa8d3f();while(!![]){try{const _0x5c62d5=-parseInt(_0x1dee31(0x174))/0x1*(parseInt(_0x1dee31(0x1ca))/0x2)+-parseInt(_0x1dee31(0x186))/0x3+-parseInt(_0x1dee31(0x1c8))/0x4*(-parseInt(_0x1dee31(0x1bf))/0x5)+parseInt(_0x1dee31(0x1aa))/0x6*(parseInt(_0x1dee31(0x189))/0x7)+-parseInt(_0x1dee31(0x1df))/0x8+parseInt(_0x1dee31(0x178))/0x9+parseInt(_0x1dee31(0x191))/0xa*(-parseInt(_0x1dee31(0x16e))/0xb);if(_0x5c62d5===_0x160d7b)break;else _0x54f14f['push'](_0x54f14f['shift']());}catch(_0x56f7e2){_0x54f14f['push'](_0x54f14f['shift']());}}}(a37_0x2730,0x6e370));const a37_0x91a6e0=(function(){let _0x4dde36=!![];return function(_0x3f6802,_0x236ca3){const _0x29e0dc=_0x4dde36?function(){const _0x2a24ad=a37_0x2cb6;if(_0x236ca3){const _0x459b1c=_0x236ca3[_0x2a24ad(0x1c9)](_0x3f6802,arguments);return _0x236ca3=null,_0x459b1c;}}:function(){};return _0x4dde36=![],_0x29e0dc;};}()),a37_0x502328=a37_0x91a6e0(this,function(){const _0x544747=a37_0x2cb6;return a37_0x502328['toString']()['search'](_0x544747(0x19b))[_0x544747(0x18a)]()[_0x544747(0x1bd)](a37_0x502328)[_0x544747(0x169)](_0x544747(0x19b));});a37_0x502328();function a37_0x2730(){const _0x4d80a0=['splice','file','\x20<<','constructor','V8_BREAKPOINT_CLEAR_ERROR','76485hqUSnl','setByRegExp','numBreakpoints_','warn','number','value','\x20deployed\x20source.','CAPTURE_BREAKPOINT_DATA','LOG','148DeaHnf','apply','20HuybzA','breakPointsHit','../util/utils','\x09the\x20breakpoint\x20condition\x20wasn\x27t\x20met','Unable\x20to\x20compile\x20condition\x20>>\x20','errors','V8DebugApi','../util/validator.js','mappingInfo','versions','blocklistManager','script','logMessageFormat','checkCondition','setScriptBreakPointByRegExp','acorn','message','setInternal','recovered','.\x20Loaded\x20script\x20contained\x20','lines','628040HtUCjE','evaluatedExpressions','parsedCondition','info','v8Breakpoint','SOURCE_FILE_AMBIGUOUS','listeners','ERROR_EVALUATING_CONDITION','Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20','script_break_point','Break','mirror','BREAKPOINT_SOURCE_LOCATION','logger','../../client/stackdriver/status-message','handleDebugEvents','__esModule','path','location','compile','../blocklisting/dummy-blocklist-manager','search','wait','line','stackFrames','concat','376596omTmCy','disconnect','needsRecoveryTime','isJavaScriptFile','listener','numBreakpoints','39603ZVGToE','runInDebugContext','forEach','quotaRecoverySeconds','4389300bmKKzZ','description','breakpoints','setListener','condition','enable','set','COULD_NOT_FIND_MAPPING_FILE','map','\x20lines.\x20Please\x20ensure','config','expressions','length','usePermanentListener','784890wuESmA','remainingHits','error','140jXsdyZ','toString','Debug','INVALID_LINE_NUMBER','pathToRegExp','normalize','log','formatInterval','40gQOAKT','UNSPECIFIED','fileIndex','>>>V8\x20breakpoint\x20hit<<<\x20number:\x20','../state/legacy-state','findScripts','defineProperty','sourcemapper','fileStats','column','(((.+)+)+)+$','setErrorStatusAndCallback','numListeners_','javascriptFileExtensions','SYNTAX_ERROR_IN_CONDITION','BREAKPOINT_CONDITION','DebugEvent','>=4.5','BREAKPOINT_PATH_BLOCKED','frame','evaluate','V8BreakpointData','exec','v8Version','variableTable','81258EDyzMZ','deactivating\x20v8\x20breakpoint\x20listener','keys','capture\x20time:\x20','getBreakpointCompiler','setBlocklistManager','hrtime','enabled','onBreakpointHit','quotaManager','StatusMessage','Unable\x20to\x20unambiguously\x20find\x20','hasMappingInfo','shouldBlock','undefined','disable'];a37_0x2730=function(){return _0x4d80a0;};return a37_0x2730();}'use strict';Object[a37_0x868f0c(0x197)](exports,a37_0x868f0c(0x164),{'value':!![]}),exports['V8DebugApi']=exports[a37_0x868f0c(0x1a6)]=void 0x0;const acorn=require(a37_0x868f0c(0x1d9)),path=require(a37_0x868f0c(0x165)),semver=require('semver'),vm=require('vm'),status_message_1=require(a37_0x868f0c(0x162)),state=require(a37_0x868f0c(0x195)),utils_1=require(a37_0x868f0c(0x1cc)),debugapi=require('./debugapi'),dummy_blocklist_manager_1=require(a37_0x868f0c(0x168));class V8BreakpointData{constructor(_0x25e6dd,_0x5678a7,_0xceb39,_0x2d688a){const _0x5ed59a=a37_0x868f0c;this['apiBreakpoint']=_0x25e6dd,this[_0x5ed59a(0x158)]=_0x5678a7,this[_0x5ed59a(0x1e1)]=_0xceb39,this[_0x5ed59a(0x167)]=_0x2d688a;}}exports[a37_0x868f0c(0x1a6)]=V8BreakpointData;class V8DebugApi{constructor(_0x349d68,_0x2f907d,_0xa01d7c,_0x28a708,_0x46e4c6){const _0x2adb1c=a37_0x868f0c;this['breakpoints']={},this[_0x2adb1c(0x15a)]={},this[_0x2adb1c(0x173)]=0x0,this[_0x2adb1c(0x198)]=_0x28a708,this['v8']=vm[_0x2adb1c(0x175)](_0x2adb1c(0x18b)),this[_0x2adb1c(0x182)]=_0x2f907d,this[_0x2adb1c(0x193)]=_0xa01d7c,this[_0x2adb1c(0x1a8)]=/(\d+\.\d+\.\d+)\.\d+/[_0x2adb1c(0x1a7)](process[_0x2adb1c(0x1d3)]['v8']),this['logger']=_0x349d68,this['usePermanentListener']=semver['satisfies'](this[_0x2adb1c(0x1a8)][0x1],_0x2adb1c(0x1a2)),this[_0x2adb1c(0x1b3)]=_0x46e4c6,this[_0x2adb1c(0x1d4)]=new dummy_blocklist_manager_1['DummyBlocklistManager'](!![]),this[_0x2adb1c(0x163)]=(_0x2780da,_0x39794c,_0x5be7b9)=>{const _0x2357a4=_0x2adb1c;try{switch(_0x2780da){case this['v8'][_0x2357a4(0x1a1)][_0x2357a4(0x15e)]:_0x5be7b9[_0x2357a4(0x1cb)]()[_0x2357a4(0x176)](_0x57a3d7=>{const _0x4d9334=_0x2357a4,_0x14698a=_0x57a3d7[_0x4d9334(0x15d)]()[_0x4d9334(0x1c3)]();this['listeners'][_0x14698a][_0x4d9334(0x1b1)]&&(this[_0x4d9334(0x161)][_0x4d9334(0x157)](_0x4d9334(0x194)+_0x14698a),this[_0x4d9334(0x15a)][_0x14698a][_0x4d9334(0x172)](_0x39794c,_0x5be7b9));});break;default:}}catch(_0x4110c2){this[_0x2357a4(0x161)][_0x2357a4(0x1c2)](_0x2357a4(0x15c)+_0x4110c2);}},this[_0x2adb1c(0x185)]&&(this[_0x2adb1c(0x161)]['info']('activating\x20v8\x20breakpoint\x20listener\x20(permanent)'),this['v8'][_0x2adb1c(0x17b)](this[_0x2adb1c(0x163)]));}[a37_0x868f0c(0x17e)](_0x5998d5,_0x650eb8){const _0x1fc9d4=a37_0x868f0c;if(!this['v8']||!_0x5998d5||typeof _0x5998d5['id']===_0x1fc9d4(0x1b8)||!_0x5998d5[_0x1fc9d4(0x166)]||!_0x5998d5[_0x1fc9d4(0x166)][_0x1fc9d4(0x165)]||!_0x5998d5['location'][_0x1fc9d4(0x16b)])return(0x0,utils_1[_0x1fc9d4(0x19c)])(_0x650eb8,_0x5998d5,status_message_1[_0x1fc9d4(0x1b4)][_0x1fc9d4(0x192)],utils_1['errors']['INVALID_BREAKPOINT']);const _0x46a2b3=path[_0x1fc9d4(0x18e)](_0x5998d5['location'][_0x1fc9d4(0x165)]);if(this['blocklistManager'][_0x1fc9d4(0x1b7)](_0x46a2b3))return(0x0,utils_1[_0x1fc9d4(0x19c)])(_0x650eb8,_0x5998d5,status_message_1[_0x1fc9d4(0x1b4)][_0x1fc9d4(0x160)],utils_1[_0x1fc9d4(0x1cf)][_0x1fc9d4(0x1a3)]);if(!this['sourcemapper'][_0x1fc9d4(0x1b6)](_0x46a2b3)){const _0x1965ef=path['extname'](_0x46a2b3);if(!this[_0x1fc9d4(0x182)][_0x1fc9d4(0x19e)]['includes'](_0x1965ef))return(0x0,utils_1['setErrorStatusAndCallback'])(_0x650eb8,_0x5998d5,status_message_1[_0x1fc9d4(0x1b4)]['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x1fc9d4(0x1cf)][_0x1fc9d4(0x17f)]);this[_0x1fc9d4(0x1db)](_0x5998d5,null,null,_0x650eb8);}else{const _0x2dfa24=_0x5998d5[_0x1fc9d4(0x166)][_0x1fc9d4(0x16b)],_0x3eaf6f=0x0,_0x42c922=this[_0x1fc9d4(0x198)][_0x1fc9d4(0x1d2)](_0x46a2b3,_0x2dfa24,_0x3eaf6f),_0x4986fd=(0x0,utils_1[_0x1fc9d4(0x1ae)])(_0x5998d5);if(_0x5998d5['condition']&&_0x4986fd)try{_0x5998d5['condition']=_0x4986fd(_0x5998d5['condition']);}catch(_0x5b6361){return this[_0x1fc9d4(0x161)][_0x1fc9d4(0x157)](_0x1fc9d4(0x1ce)+_0x5998d5[_0x1fc9d4(0x17c)]+_0x1fc9d4(0x1bc)),(0x0,utils_1[_0x1fc9d4(0x19c)])(_0x650eb8,_0x5998d5,status_message_1[_0x1fc9d4(0x1b4)][_0x1fc9d4(0x1a0)],utils_1['errors']['ERROR_COMPILING_CONDITION']);}this[_0x1fc9d4(0x1db)](_0x5998d5,_0x42c922,_0x4986fd,_0x650eb8);}}['clear'](_0x40f8c9,_0x1ee257){const _0x319cc9=a37_0x868f0c;if(typeof _0x40f8c9['id']==='undefined')return(0x0,utils_1[_0x319cc9(0x19c)])(_0x1ee257,_0x40f8c9,status_message_1[_0x319cc9(0x1b4)][_0x319cc9(0x1a0)],utils_1[_0x319cc9(0x1cf)][_0x319cc9(0x1be)]);const _0x498b5b=this[_0x319cc9(0x17a)][_0x40f8c9['id']];if(!_0x498b5b)return(0x0,utils_1[_0x319cc9(0x19c)])(_0x1ee257,_0x40f8c9,status_message_1['StatusMessage'][_0x319cc9(0x1a0)],utils_1[_0x319cc9(0x1cf)][_0x319cc9(0x1be)]);const _0x22e1bf=_0x498b5b[_0x319cc9(0x158)];this['v8']['clearBreakPoint'](_0x22e1bf[_0x319cc9(0x1c3)]()),delete this['breakpoints'][_0x40f8c9['id']],delete this[_0x319cc9(0x15a)][_0x22e1bf['number']()],this[_0x319cc9(0x173)]--,this[_0x319cc9(0x173)]===0x0&&!this[_0x319cc9(0x185)]&&(this[_0x319cc9(0x161)][_0x319cc9(0x157)](_0x319cc9(0x1ab)),this['v8']['setListener'](null)),setImmediate(()=>{_0x1ee257(null);});}[a37_0x868f0c(0x16a)](_0xb99d5a,_0x1ce1c1){const _0x5b14a8=a37_0x868f0c,_0x577e3d=this,_0x112e51=_0x577e3d[_0x5b14a8(0x17a)][_0xb99d5a['id']][_0x5b14a8(0x158)][_0x5b14a8(0x1c3)](),_0x2f85a3=this['onBreakpointHit']['bind'](this,_0xb99d5a,_0x403d2d=>{_0x577e3d['listeners'][_0x112e51]['enabled']=![],setImmediate(()=>{_0x1ce1c1(_0x403d2d||undefined);});});_0x577e3d[_0x5b14a8(0x15a)][_0x112e51]={'enabled':!![],'listener':_0x2f85a3};}[a37_0x868f0c(0x18f)](_0xe2786b,_0x2c39e7,_0x15f8c8,_0x3ff7a7){const _0x52279f=a37_0x868f0c,_0x477641=this,_0x47cafc=_0x477641[_0x52279f(0x17a)][_0xe2786b['id']][_0x52279f(0x158)][_0x52279f(0x1c3)](),_0x411fa6=this[_0x52279f(0x1b2)]['bind'](this,_0xe2786b,_0x13a15d=>{const _0x238777=_0x52279f;_0x13a15d&&(this[_0x238777(0x15a)][_0xe2786b['id']][_0x238777(0x1b1)]=![],setImmediate(()=>{_0x3ff7a7(_0x13a15d||undefined);})),_0x2c39e7(_0xe2786b[_0x238777(0x1d6)],_0xe2786b[_0x238777(0x1e0)]),_0x15f8c8()?_0x477641[_0x238777(0x15a)][_0x47cafc][_0x238777(0x1b1)]=![]:this['quotaManager'][_0x238777(0x170)](_0xe2786b['id'])&&(_0x477641['listeners'][_0x47cafc][_0x238777(0x1b1)]=![],setTimeout(()=>{const _0x11d128=_0x238777;!_0x15f8c8()&&_0x477641[_0x11d128(0x15a)][_0x47cafc]&&(_0x477641[_0x11d128(0x15a)][_0x47cafc][_0x11d128(0x1b1)]=!![]),this[_0x11d128(0x1b3)][_0x11d128(0x1dc)](_0xe2786b['id']);},_0x477641[_0x238777(0x182)]['quota'][_0x238777(0x177)]*0x3e8));});_0x477641[_0x52279f(0x15a)][_0x47cafc]={'enabled':!![],'listener':_0x411fa6};}[a37_0x868f0c(0x16f)](){return;}[a37_0x868f0c(0x17d)](){}[a37_0x868f0c(0x1b9)](){}[a37_0x868f0c(0x1c1)](){const _0x109b58=a37_0x868f0c;return Object[_0x109b58(0x1ac)](this[_0x109b58(0x17a)])[_0x109b58(0x184)];}[a37_0x868f0c(0x19d)](){const _0x3e53be=a37_0x868f0c;return Object[_0x3e53be(0x1ac)](this[_0x3e53be(0x15a)])[_0x3e53be(0x184)];}[a37_0x868f0c(0x187)](){return 0x0;}[a37_0x868f0c(0x1af)](_0x4fbc54){this['blocklistManager']=_0x4fbc54;}['setInternal'](_0xdaf89d,_0x33ffd5,_0x5b60ae,_0x2a81b1){const _0x35f91b=a37_0x868f0c;let _0x23dbd7=null;if(_0xdaf89d[_0x35f91b(0x17c)])try{_0x23dbd7=acorn['parse'](_0xdaf89d[_0x35f91b(0x17c)],{'sourceType':_0x35f91b(0x1d5),'ecmaVersion':0x6});const _0x53d2ef=require(_0x35f91b(0x1d1));if(!_0x53d2ef['isValid'](_0x23dbd7,!![]))return(0x0,utils_1['setErrorStatusAndCallback'])(_0x2a81b1,_0xdaf89d,status_message_1[_0x35f91b(0x1b4)]['BREAKPOINT_CONDITION'],utils_1[_0x35f91b(0x1cf)]['DISALLOWED_EXPRESSION']);}catch(_0x3cb1ea){return(0x0,utils_1[_0x35f91b(0x19c)])(_0x2a81b1,_0xdaf89d,status_message_1['StatusMessage']['BREAKPOINT_CONDITION'],utils_1[_0x35f91b(0x1cf)][_0x35f91b(0x19f)]+_0x3cb1ea[_0x35f91b(0x1da)]);}let _0x30236a;const _0x44c530=_0x33ffd5?_0x33ffd5[_0x35f91b(0x1bb)]:path[_0x35f91b(0x18e)](_0xdaf89d[_0x35f91b(0x166)]['path']),_0x36b266=(0x0,utils_1[_0x35f91b(0x196)])(_0x44c530,this[_0x35f91b(0x182)],this[_0x35f91b(0x193)],this['logger']);if(_0x36b266[_0x35f91b(0x184)]===0x0)return(0x0,utils_1[_0x35f91b(0x19c)])(_0x2a81b1,_0xdaf89d,status_message_1[_0x35f91b(0x1b4)]['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x35f91b(0x1cf)]['SOURCE_FILE_NOT_FOUND']);else{if(_0x36b266[_0x35f91b(0x184)]===0x1)_0x30236a=_0x36b266[0x0];else return this[_0x35f91b(0x161)][_0x35f91b(0x1c2)](_0x35f91b(0x1b5)+_0x44c530+'.\x20Potential\x20matches:\x20'+_0x36b266),(0x0,utils_1[_0x35f91b(0x19c)])(_0x2a81b1,_0xdaf89d,status_message_1['StatusMessage'][_0x35f91b(0x160)],utils_1[_0x35f91b(0x1cf)][_0x35f91b(0x159)]);}let _0x561a81=_0x33ffd5&&_0x33ffd5['column']?_0x33ffd5['column']:_0xdaf89d[_0x35f91b(0x166)][_0x35f91b(0x19a)]||0x1;const _0x567998=_0x33ffd5?_0x33ffd5['line']:_0xdaf89d[_0x35f91b(0x166)][_0x35f91b(0x16b)];_0x567998===0x1&&(_0x561a81+=debugapi['MODULE_WRAP_PREFIX_LENGTH']-0x1);if(_0x567998>=this[_0x35f91b(0x193)][_0x35f91b(0x199)][_0x30236a][_0x35f91b(0x1de)])return(0x0,utils_1['setErrorStatusAndCallback'])(_0x2a81b1,_0xdaf89d,status_message_1[_0x35f91b(0x1b4)][_0x35f91b(0x160)],{...utils_1[_0x35f91b(0x1cf)][_0x35f91b(0x18c)],'description':utils_1['errors']['INVALID_LINE_NUMBER'][_0x35f91b(0x179)]+_0x30236a+':'+_0x567998+_0x35f91b(0x1dd)+this[_0x35f91b(0x193)][_0x35f91b(0x199)][_0x30236a][_0x35f91b(0x1de)]+_0x35f91b(0x181)+'\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the'+_0x35f91b(0x1c5)});const _0x38f7eb=this['setByRegExp'](_0x30236a,_0x567998,_0x561a81);if(!_0x38f7eb)return(0x0,utils_1['setErrorStatusAndCallback'])(_0x2a81b1,_0xdaf89d,status_message_1[_0x35f91b(0x1b4)][_0x35f91b(0x160)],utils_1['errors']['V8_BREAKPOINT_ERROR']);this[_0x35f91b(0x173)]===0x0&&!this['usePermanentListener']&&(this[_0x35f91b(0x161)][_0x35f91b(0x157)]('activating\x20v8\x20breakpoint\x20listener'),this['v8'][_0x35f91b(0x17b)](this[_0x35f91b(0x163)])),this[_0x35f91b(0x17a)][_0xdaf89d['id']]=new V8BreakpointData(_0xdaf89d,_0x38f7eb,_0x23dbd7,_0x5b60ae),this['numBreakpoints']++,setImmediate(()=>{_0x2a81b1(null);});}[a37_0x868f0c(0x1c0)](_0x1c7814,_0x4dc16a,_0xc2bbc6){const _0xb2b2e0=a37_0x868f0c,_0x80c2b1=(0x0,utils_1[_0xb2b2e0(0x18d)])(_0x1c7814),_0x593bed=this['v8'][_0xb2b2e0(0x1d8)](_0x80c2b1,_0x4dc16a-0x1,_0xc2bbc6-0x1),_0x228e65=this['v8']['findBreakPoint'](_0x593bed);return _0x228e65;}[a37_0x868f0c(0x1b2)](_0x569a48,_0x26f0a9,_0x544a0f){const _0x1fb010=a37_0x868f0c,_0x278bed=this[_0x1fb010(0x17a)][_0x569a48['id']]['v8Breakpoint'];if(!_0x278bed['active']())return(0x0,utils_1['setErrorStatusAndCallback'])(_0x26f0a9,_0x569a48,status_message_1['StatusMessage'][_0x1fb010(0x160)],utils_1[_0x1fb010(0x1cf)]['V8_BREAKPOINT_DISABLED']);const _0x51f818=this[_0x1fb010(0x1d7)](_0x569a48,_0x544a0f);if(_0x51f818[_0x1fb010(0x188)])return(0x0,utils_1[_0x1fb010(0x19c)])(_0x26f0a9,_0x569a48,status_message_1[_0x1fb010(0x1b4)][_0x1fb010(0x1a0)],{...utils_1['errors'][_0x1fb010(0x15b)],'description':utils_1[_0x1fb010(0x1cf)]['ERROR_COMPILING_CONDITION'][_0x1fb010(0x179)]+_0x51f818['error']});else{if(!_0x51f818[_0x1fb010(0x1c4)]){this['logger'][_0x1fb010(0x157)](_0x1fb010(0x1cd));return;}}const _0x59dfbb=process[_0x1fb010(0x1b0)]();try{this['captureBreakpointData'](_0x569a48,_0x544a0f);}catch(_0x2e42ef){return(0x0,utils_1[_0x1fb010(0x19c)])(_0x26f0a9,_0x569a48,status_message_1['StatusMessage'][_0x1fb010(0x160)],utils_1[_0x1fb010(0x1cf)][_0x1fb010(0x1c6)]+_0x2e42ef);}const _0x5da5e4=process['hrtime'](_0x59dfbb);this[_0x1fb010(0x161)][_0x1fb010(0x157)]((0x0,utils_1[_0x1fb010(0x190)])(_0x1fb010(0x1ad),_0x5da5e4)),_0x26f0a9(null);}[a37_0x868f0c(0x1d7)](_0x475e3e,_0x35bb4e){const _0x3a8aa2=a37_0x868f0c;if(!_0x475e3e[_0x3a8aa2(0x17c)])return{'value':!![]};const _0x3178fc=state[_0x3a8aa2(0x1a5)](_0x475e3e[_0x3a8aa2(0x17c)],_0x35bb4e['frame'](0x0));if(_0x3178fc[_0x3a8aa2(0x188)])return{'error':_0x3178fc[_0x3a8aa2(0x188)]};return{'value':!!_0x3178fc[_0x3a8aa2(0x15f)][_0x3a8aa2(0x1c4)]()};}['captureBreakpointData'](_0x33d5ad,_0xd39bd4){const _0x40f883=a37_0x868f0c,_0x32fb88=[];if(_0x33d5ad['expressions']&&this[_0x40f883(0x17a)][_0x33d5ad['id']][_0x40f883(0x167)])for(let _0x354b0e=0x0;_0x354b0e<_0x33d5ad[_0x40f883(0x183)][_0x40f883(0x184)];_0x354b0e++){try{_0x33d5ad[_0x40f883(0x183)][_0x354b0e]=this[_0x40f883(0x17a)][_0x33d5ad['id']][_0x40f883(0x167)](_0x33d5ad[_0x40f883(0x183)][_0x354b0e]);}catch(_0xa4ea48){this['logger'][_0x40f883(0x157)]('Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20'+_0x33d5ad[_0x40f883(0x183)][_0x354b0e]+_0x40f883(0x1bc)),_0x32fb88['push']({'name':_0x33d5ad[_0x40f883(0x183)][_0x354b0e],'status':new status_message_1[(_0x40f883(0x1b4))](status_message_1['StatusMessage']['VARIABLE_VALUE'],utils_1[_0x40f883(0x1cf)]['EXPRESSION_COMPILING_ERROR'],!![])}),_0x33d5ad['expressions'][_0x40f883(0x1ba)](_0x354b0e,0x1),_0x354b0e--;}}if(_0x33d5ad['action']===_0x40f883(0x1c7)){if(!_0x33d5ad[_0x40f883(0x183)])_0x33d5ad['evaluatedExpressions']=[];else{const _0xcd7478=_0xd39bd4[_0x40f883(0x1a4)](0x0),_0x7c6948=_0x33d5ad['expressions'][_0x40f883(0x180)](_0x5bc266=>{const _0x3bd9f8=_0x40f883,_0x432afd=state['evaluate'](_0x5bc266,_0xcd7478);return _0x432afd['error']?_0x432afd[_0x3bd9f8(0x188)]:_0x432afd['mirror'][_0x3bd9f8(0x1c4)]();});_0x33d5ad[_0x40f883(0x1e0)]=_0x7c6948;}}else{const _0x338da7=state['capture'](_0xd39bd4,_0x33d5ad[_0x40f883(0x183)],this[_0x40f883(0x182)],this['v8'],this['blocklistManager']);_0x33d5ad[_0x40f883(0x166)]&&(0x0,utils_1[_0x40f883(0x171)])(_0x33d5ad['location'][_0x40f883(0x165)])&&_0x338da7['location']&&_0x338da7[_0x40f883(0x166)][_0x40f883(0x16b)]&&(_0x33d5ad[_0x40f883(0x166)]['line']=_0x338da7[_0x40f883(0x166)][_0x40f883(0x16b)]),_0x33d5ad[_0x40f883(0x16c)]=_0x338da7[_0x40f883(0x16c)],_0x33d5ad['variableTable']=_0x338da7[_0x40f883(0x1a9)],_0x33d5ad[_0x40f883(0x1e0)]=_0x32fb88[_0x40f883(0x16d)](_0x338da7[_0x40f883(0x1e0)]);}}}exports[a37_0x868f0c(0x1d0)]=V8DebugApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a38_0x47268d=a38_0x15e3;(function(_0xcfb2b3,_0x1b79ae){const _0x175cf7=a38_0x15e3,_0x212a9f=_0xcfb2b3();while(!![]){try{const _0x3ef85f=-parseInt(_0x175cf7(0x163))/0x1+parseInt(_0x175cf7(0x167))/0x2*(-parseInt(_0x175cf7(0x152))/0x3)+-parseInt(_0x175cf7(0x178))/0x4+-parseInt(_0x175cf7(0x16d))/0x5+-parseInt(_0x175cf7(0x151))/0x6*(-parseInt(_0x175cf7(0x162))/0x7)+parseInt(_0x175cf7(0x14b))/0x8+parseInt(_0x175cf7(0x155))/0x9*(parseInt(_0x175cf7(0x14d))/0xa);if(_0x3ef85f===_0x1b79ae)break;else _0x212a9f['push'](_0x212a9f['shift']());}catch(_0x543147){_0x212a9f['push'](_0x212a9f['shift']());}}}(a38_0x24e2,0x60dca));const a38_0x3db0d6=(function(){let _0x1684e0=!![];return function(_0x589cc7,_0x28216a){const _0x1af7f9=_0x1684e0?function(){const _0x29e71e=a38_0x15e3;if(_0x28216a){const _0x551cf4=_0x28216a[_0x29e71e(0x17b)](_0x589cc7,arguments);return _0x28216a=null,_0x551cf4;}}:function(){};return _0x1684e0=![],_0x1af7f9;};}()),a38_0x35da12=a38_0x3db0d6(this,function(){const _0x993be3=a38_0x15e3;return a38_0x35da12[_0x993be3(0x143)]()[_0x993be3(0x14a)]('(((.+)+)+)+$')[_0x993be3(0x143)]()['constructor'](a38_0x35da12)['search'](_0x993be3(0x15c));});a38_0x35da12();'use strict';Object[a38_0x47268d(0x172)](exports,'__esModule',{'value':!![]}),exports[a38_0x47268d(0x147)]=void 0x0;const inspector=require(a38_0x47268d(0x14e));function a38_0x15e3(_0x83152a,_0x48d503){const _0x6a9f6=a38_0x24e2();return a38_0x15e3=function(_0x35da12,_0x3db0d6){_0x35da12=_0x35da12-0x13d;let _0x24e2eb=_0x6a9f6[_0x35da12];return _0x24e2eb;},a38_0x15e3(_0x83152a,_0x48d503);}class V8Inspector{constructor(_0x4ce408,_0x37867a,_0x251f20,_0x4e8610,_0x45e10b,_0x34ab34){const _0x539969=a38_0x47268d;this[_0x539969(0x13d)]=_0x4ce408,this['useWellFormattedUrl']=_0x37867a,this[_0x539969(0x158)]=_0x251f20,this[_0x539969(0x149)]=_0x4e8610,this[_0x539969(0x171)]=_0x45e10b,this['onDetach']=_0x34ab34,this[_0x539969(0x13e)]=null,this[_0x539969(0x176)]={},this[_0x539969(0x142)]=null,this[_0x539969(0x159)]=0x0,_0x4ce408[_0x539969(0x156)](_0x539969(0x14c));}[a38_0x47268d(0x153)](){const _0x4774c9=a38_0x47268d;return this[_0x4774c9(0x15a)];}[a38_0x47268d(0x165)](_0x3700d8,_0x36ab7d=this[a38_0x47268d(0x142)]!==null){const _0x54dc6a=a38_0x47268d;_0x36ab7d?this[_0x54dc6a(0x16a)](![]):this[_0x54dc6a(0x164)]();this[_0x54dc6a(0x13d)][_0x54dc6a(0x156)](_0x54dc6a(0x16b),_0x3700d8?.['url'],'real\x20lineNumber:\x20',_0x3700d8?.['lineNumber'],_0x54dc6a(0x148),_0x3700d8?.[_0x54dc6a(0x16e)]);const _0x4df2ec={};return this[_0x54dc6a(0x13e)][_0x54dc6a(0x16c)](_0x54dc6a(0x169),_0x3700d8,(_0x3c60ad,_0x5e65c1)=>{const _0x14897b=_0x54dc6a;_0x3c60ad?_0x4df2ec[_0x14897b(0x154)]=_0x3c60ad:this[_0x14897b(0x176)][_0x5e65c1[_0x14897b(0x161)]]=_0x3700d8,_0x4df2ec[_0x14897b(0x17a)]=_0x5e65c1;}),_0x36ab7d&&(_0x4df2ec[_0x54dc6a(0x17a)]&&(this['prevStoreSetBreakpointParams'][_0x4df2ec[_0x54dc6a(0x17a)][_0x54dc6a(0x161)]]=this[_0x54dc6a(0x176)][_0x4df2ec['response'][_0x54dc6a(0x161)]]),this[_0x54dc6a(0x15b)](![])),_0x4df2ec;}['removeBreakpoint'](_0x4a0adb){const _0x3af08a=a38_0x47268d;this[_0x3af08a(0x164)]();const _0xfa3605={};return this[_0x3af08a(0x13e)][_0x3af08a(0x16c)](_0x3af08a(0x146),{'breakpointId':_0x4a0adb},_0x57345a=>{const _0xd70b8a=_0x3af08a;if(_0x57345a)_0xfa3605[_0xd70b8a(0x154)]=_0x57345a;delete this['storeSetBreakpointParams'][_0x4a0adb],Object[_0xd70b8a(0x179)](this[_0xd70b8a(0x176)])[_0xd70b8a(0x173)]===0x0&&this[_0xd70b8a(0x141)]();}),this['prevStoreSetBreakpointParams']!==null&&delete this[_0x3af08a(0x142)][_0x4a0adb],_0xfa3605;}[a38_0x47268d(0x144)](_0xa86517){const _0x9beec0=a38_0x47268d;this['attach']();const _0x2eb601={};return this['session']['post'](_0x9beec0(0x15f),_0xa86517,(_0x1412d1,_0x1393b8)=>{const _0xe96fcc=_0x9beec0;if(_0x1412d1)_0x2eb601[_0xe96fcc(0x154)]=_0x1412d1;_0x2eb601[_0xe96fcc(0x17a)]=_0x1393b8;}),_0x2eb601;}[a38_0x47268d(0x175)](_0x2c9cc){const _0x2d452c=a38_0x47268d;this[_0x2d452c(0x164)]();const _0x2eabab={};return this[_0x2d452c(0x13e)][_0x2d452c(0x16c)](_0x2d452c(0x15e),_0x2c9cc,(_0x1b55ef,_0x422e42)=>{const _0x5b1000=_0x2d452c;_0x2eabab[_0x5b1000(0x17a)]=_0x422e42,_0x2eabab[_0x5b1000(0x154)]=_0x1b55ef||undefined;}),_0x2eabab;}[a38_0x47268d(0x168)](_0x29e23f){const _0x58a6e7=a38_0x47268d;this[_0x58a6e7(0x164)]();const _0x140da2={};return this[_0x58a6e7(0x13e)][_0x58a6e7(0x16c)](_0x58a6e7(0x14f),_0x29e23f,(_0x290ac2,_0x229d90)=>{const _0x26991e=_0x58a6e7;_0x140da2[_0x26991e(0x17a)]=_0x229d90,_0x140da2[_0x26991e(0x154)]=_0x290ac2||undefined;}),_0x140da2;}[a38_0x47268d(0x17c)](_0x593dee){const _0x12519c=a38_0x47268d;this[_0x12519c(0x164)](),this[_0x12519c(0x13e)]['post']('Runtime.releaseObject',_0x593dee);}['getProperties'](_0x3d8ad6){const _0x316d3b=a38_0x47268d,_0x32afb2={};return this[_0x316d3b(0x164)](),this[_0x316d3b(0x13e)][_0x316d3b(0x16c)](_0x316d3b(0x16f),_0x3d8ad6,(_0x3ba350,_0x33b4cc)=>{const _0x101ef7=_0x316d3b;if(_0x3ba350)_0x32afb2[_0x101ef7(0x154)]=_0x3ba350;_0x32afb2[_0x101ef7(0x17a)]=_0x33b4cc;}),_0x32afb2;}[a38_0x47268d(0x164)](){const _0x1a1426=a38_0x47268d;if(this[_0x1a1426(0x13e)])return;const _0x382561=new inspector[(_0x1a1426(0x177))]();_0x382561[_0x1a1426(0x166)](),_0x382561['on'](_0x1a1426(0x157),_0x54e725=>{const _0x319b39=_0x1a1426;this['onScriptParsed'](_0x54e725[_0x319b39(0x170)]);}),_0x382561[_0x1a1426(0x16c)](_0x1a1426(0x145)),_0x382561['post'](_0x1a1426(0x140),{'active':!![]}),_0x382561['on'](_0x1a1426(0x174),_0x315594=>{const _0x2aec2c=_0x1a1426;this[_0x2aec2c(0x171)](_0x315594[_0x2aec2c(0x170)]),this['resetV8DebuggerIfThresholdMet']();}),this[_0x1a1426(0x13e)]=_0x382561;}[a38_0x47268d(0x16a)](_0x393531=!![]){const _0x2e4ab4=a38_0x47268d;this[_0x2e4ab4(0x164)](),this[_0x2e4ab4(0x13e)]?.['post']('Debugger.enable');if(_0x393531){for(const _0x145606 of Object[_0x2e4ab4(0x15d)](this[_0x2e4ab4(0x142)])){const _0x1d9258=this[_0x2e4ab4(0x165)](_0x145606,![]);(_0x1d9258['error']||!_0x1d9258[_0x2e4ab4(0x17a)])&&this[_0x2e4ab4(0x13d)][_0x2e4ab4(0x154)]('Error\x20upon\x20re-setting\x20breakpoint:\x20'+_0x1d9258);}this['prevStoreSetBreakpointParams']=null;}}[a38_0x47268d(0x15b)](_0x511062=!![]){const _0x235a43=a38_0x47268d;if(!this[_0x235a43(0x13e)])return;_0x511062&&(this[_0x235a43(0x142)]=this[_0x235a43(0x176)]),this[_0x235a43(0x13e)]['post']('Debugger.disable'),this['detach']();}[a38_0x47268d(0x141)](){const _0x3ba1ed=a38_0x47268d;if(!this[_0x3ba1ed(0x13e)])return;this[_0x3ba1ed(0x13e)][_0x3ba1ed(0x160)](),this[_0x3ba1ed(0x13e)]=null,this[_0x3ba1ed(0x176)]={},this[_0x3ba1ed(0x159)]=0x0,this[_0x3ba1ed(0x13f)]();}[a38_0x47268d(0x150)](){const _0x2f1d56=a38_0x47268d;if(!this[_0x2f1d56(0x13e)])return;this[_0x2f1d56(0x159)]+=0x1;if(this['numPausedBeforeReset']<this[_0x2f1d56(0x158)])return;this[_0x2f1d56(0x159)]=0x0,this[_0x2f1d56(0x15b)](),this[_0x2f1d56(0x16a)]();}}exports[a38_0x47268d(0x147)]=V8Inspector;function a38_0x24e2(){const _0x23b76f=['evaluateOnCallFrame','Debugger.enable','Debugger.removeBreakpoint','V8Inspector','column:\x20','onScriptParsed','search','1076336jjHvvn','Creating\x20V8Inspector','574670KTjLmu','inspector','Runtime.callFunctionOn','resetV8DebuggerIfThresholdMet','6zBgpyn','111jJVvJV','shouldUseWellFormattedUrl','error','99kosjRr','debug','Debugger.scriptParsed','resetV8DebuggerThreshold','numPausedBeforeReset','useWellFormattedUrl','disable','(((.+)+)+)+$','values','Runtime.evaluate','Debugger.evaluateOnCallFrame','disconnect','breakpointId','5421577dpYWkw','71888rrnozw','attach','setBreakpointByUrl','connect','15922soRunT','callFunctionOn','Debugger.setBreakpointByUrl','enable','setBreakpointByUrl:\x20','post','1875500xjIAQV','columnNumber','Runtime.getProperties','params','onPaused','defineProperty','length','Debugger.paused','evaluate','storeSetBreakpointParams','Session','1611596oPncsN','keys','response','apply','releaseObject','logger','session','onDetach','Debugger.setBreakpointsActive','detach','prevStoreSetBreakpointParams','toString'];a38_0x24e2=function(){return _0x23b76f;};return a38_0x24e2();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a39_0x564ebc=a39_0x1680;(function(_0x39d6fc,_0x34f9f9){const _0x2173af=a39_0x1680,_0x28046d=_0x39d6fc();while(!![]){try{const _0x14a1bf=parseInt(_0x2173af(0xd5))/0x1+parseInt(_0x2173af(0xc5))/0x2+parseInt(_0x2173af(0xc4))/0x3+parseInt(_0x2173af(0xc1))/0x4*(-parseInt(_0x2173af(0xd3))/0x5)+parseInt(_0x2173af(0xc7))/0x6*(-parseInt(_0x2173af(0xc3))/0x7)+parseInt(_0x2173af(0xd2))/0x8*(parseInt(_0x2173af(0xcf))/0x9)+parseInt(_0x2173af(0xd0))/0xa*(parseInt(_0x2173af(0xcd))/0xb);if(_0x14a1bf===_0x34f9f9)break;else _0x28046d['push'](_0x28046d['shift']());}catch(_0x2fb1ec){_0x28046d['push'](_0x28046d['shift']());}}}(a39_0x3933,0x97a24));function a39_0x1680(_0xf11de2,_0x553cc8){const _0x5f3bf1=a39_0x3933();return a39_0x1680=function(_0x42e47d,_0xc5cdd7){_0x42e47d=_0x42e47d-0xc1;let _0x39330d=_0x5f3bf1[_0x42e47d];return _0x39330d;},a39_0x1680(_0xf11de2,_0x553cc8);}const a39_0xc5cdd7=(function(){let _0x5264c6=!![];return function(_0x2e989e,_0x4b6874){const _0x1b8596=_0x5264c6?function(){if(_0x4b6874){const _0x15f62d=_0x4b6874['apply'](_0x2e989e,arguments);return _0x4b6874=null,_0x15f62d;}}:function(){};return _0x5264c6=![],_0x1b8596;};}()),a39_0x42e47d=a39_0xc5cdd7(this,function(){const _0x352d36=a39_0x1680;return a39_0x42e47d[_0x352d36(0xc2)]()['search']('(((.+)+)+)+$')[_0x352d36(0xc2)]()[_0x352d36(0xce)](a39_0x42e47d)[_0x352d36(0xd1)]('(((.+)+)+)+$');});a39_0x42e47d();'use strict';function a39_0x3933(){const _0x2c44aa=['name','version','https://www.googleapis.com/auth/cloud_debugger','https://','1155WGLzmK','constructor','171ISdXNP','69620wgGigW','search','394376TvbCjG','20965vzVBEx','defineProperty','280782lsfaNa','Debug','options','packageInfo','__esModule','392VskkWP','toString','8312549Qufbzy','161859cVdprM','434250PsVctq','Service','6PVXbeq','apiEndpoint'];a39_0x3933=function(){return _0x2c44aa;};return a39_0x3933();}Object[a39_0x564ebc(0xd4)](exports,a39_0x564ebc(0xd9),{'value':!![]}),exports[a39_0x564ebc(0xd6)]=void 0x0;const common_1=require('@google-cloud/common');class Debug extends common_1[a39_0x564ebc(0xc6)]{constructor(_0x30d561={},_0x18c696){const _0x26945c=a39_0x564ebc;if(new.target!==Debug)return new Debug(_0x30d561,_0x18c696);const _0x3b1771={'projectIdRequired':![],'apiEndpoint':_0x30d561[_0x26945c(0xc8)],'baseUrl':_0x26945c(0xcc)+_0x30d561[_0x26945c(0xc8)],'scopes':[_0x26945c(0xcb)],'packageJson':_0x18c696};super(_0x3b1771,_0x30d561),this[_0x26945c(0xd7)]=_0x30d561,this[_0x26945c(0xd8)]={'name':_0x18c696[_0x26945c(0xc9)],'version':_0x18c696[_0x26945c(0xca)]};}}exports['Debug']=Debug;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a40_0x2f23(){const _0x177d9=['errorId','apply','9HtDxnz','description','toString','3uWRhSp','isAccepted','defineProperty','search','(((.+)+)+)+$','6413032IqCfKS','4PJOrnx','894464UjrWKZ','BREAKPOINT_SOURCE_LOCATION','BREAKPOINT_AGE','4676709nBvhes','378210tTxjyd','125rZdJFE','UNSPECIFIED','2949510yiRrYo','BREAKPOINT_EXPRESSION','__esModule','25258772vwOEFP','VARIABLE_VALUE','BREAKPOINT_CONDITION','7307874GjEvwP','VARIABLE_NAME'];a40_0x2f23=function(){return _0x177d9;};return a40_0x2f23();}const a40_0xa3b92d=a40_0x9e79;(function(_0x36ac7f,_0x1ccd5c){const _0x3ab339=a40_0x9e79,_0x2ab49f=_0x36ac7f();while(!![]){try{const _0x488218=-parseInt(_0x3ab339(0x159))/0x1*(parseInt(_0x3ab339(0x145))/0x2)+parseInt(_0x3ab339(0x148))/0x3*(parseInt(_0x3ab339(0x144))/0x4)+parseInt(_0x3ab339(0x14a))/0x5*(-parseInt(_0x3ab339(0x149))/0x6)+-parseInt(_0x3ab339(0x152))/0x7+parseInt(_0x3ab339(0x15e))/0x8+-parseInt(_0x3ab339(0x156))/0x9*(-parseInt(_0x3ab339(0x14c))/0xa)+parseInt(_0x3ab339(0x14f))/0xb;if(_0x488218===_0x1ccd5c)break;else _0x2ab49f['push'](_0x2ab49f['shift']());}catch(_0x1c16d4){_0x2ab49f['push'](_0x2ab49f['shift']());}}}(a40_0x2f23,0xf1be6));const a40_0x338ccf=(function(){let _0x3ac458=!![];return function(_0x43d8aa,_0x19aca8){const _0x26ed5b=_0x3ac458?function(){const _0x4bc3f7=a40_0x9e79;if(_0x19aca8){const _0x1b124e=_0x19aca8[_0x4bc3f7(0x155)](_0x43d8aa,arguments);return _0x19aca8=null,_0x1b124e;}}:function(){};return _0x3ac458=![],_0x26ed5b;};}()),a40_0x18a467=a40_0x338ccf(this,function(){const _0x322d7a=a40_0x9e79;return a40_0x18a467['toString']()[_0x322d7a(0x15c)](_0x322d7a(0x15d))[_0x322d7a(0x158)]()['constructor'](a40_0x18a467)[_0x322d7a(0x15c)](_0x322d7a(0x15d));});a40_0x18a467();'use strict';Object[a40_0xa3b92d(0x15b)](exports,a40_0xa3b92d(0x14e),{'value':!![]}),exports['StatusMessage']=void 0x0;function a40_0x9e79(_0x4eee0a,_0x4602ae){const _0x1ac86e=a40_0x2f23();return a40_0x9e79=function(_0x18a467,_0x338ccf){_0x18a467=_0x18a467-0x144;let _0x2f2398=_0x1ac86e[_0x18a467];return _0x2f2398;},a40_0x9e79(_0x4eee0a,_0x4602ae);}class StatusMessage{constructor(_0x78e66d,_0x452681,_0x3e1e13,_0x517ae0=![]){const _0x163cce=a40_0xa3b92d,{description:_0x362aac,id:_0x1865a1,parameters:_0x2c9cc8}=_0x452681||{};this['refersTo']=_0x78e66d,this['description']={'format':_0x362aac||''},_0x1865a1&&(this[_0x163cce(0x157)][_0x163cce(0x154)]=_0x1865a1),_0x2c9cc8&&(this['description']['parameters']=_0x2c9cc8),this['isError']=_0x3e1e13,this[_0x163cce(0x15a)]=_0x517ae0;}}exports['StatusMessage']=StatusMessage,StatusMessage['UNSPECIFIED']=a40_0xa3b92d(0x14b),StatusMessage[a40_0xa3b92d(0x146)]=a40_0xa3b92d(0x146),StatusMessage[a40_0xa3b92d(0x151)]=a40_0xa3b92d(0x151),StatusMessage[a40_0xa3b92d(0x14d)]='BREAKPOINT_EXPRESSION',StatusMessage[a40_0xa3b92d(0x153)]='VARIABLE_NAME',StatusMessage[a40_0xa3b92d(0x150)]='VARIABLE_VALUE',StatusMessage[a40_0xa3b92d(0x147)]=a40_0xa3b92d(0x147);
|
package/build/src/debuggee.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a41_0x2ae4f2=a41_0x1624;(function(_0x509783,_0x431bbd){var _0x120b9d=a41_0x1624,_0x758b05=_0x509783();while(!![]){try{var _0x5b3bbc=parseInt(_0x120b9d(0x1d1))/0x1+parseInt(_0x120b9d(0x1e0))/0x2*(-parseInt(_0x120b9d(0x1d5))/0x3)+-parseInt(_0x120b9d(0x1e3))/0x4*(parseInt(_0x120b9d(0x1ce))/0x5)+parseInt(_0x120b9d(0x1db))/0x6+parseInt(_0x120b9d(0x1d3))/0x7*(parseInt(_0x120b9d(0x1e4))/0x8)+parseInt(_0x120b9d(0x1c5))/0x9+-parseInt(_0x120b9d(0x1c3))/0xa;if(_0x5b3bbc===_0x431bbd)break;else _0x758b05['push'](_0x758b05['shift']());}catch(_0x2fd29e){_0x758b05['push'](_0x758b05['shift']());}}}(a41_0x5569,0x9cb86));var a41_0x17141e=(function(){var _0x13f907=!![];return function(_0x2c583b,_0x3e4207){var _0x564c10=_0x13f907?function(){var _0x18a4c0=a41_0x1624;if(_0x3e4207){var _0x3a8946=_0x3e4207[_0x18a4c0(0x1e7)](_0x2c583b,arguments);return _0x3e4207=null,_0x3a8946;}}:function(){};return _0x13f907=![],_0x564c10;};}()),a41_0x238569=a41_0x17141e(this,function(){var _0x10b154=a41_0x1624;return a41_0x238569['toString']()['search'](_0x10b154(0x1e5))[_0x10b154(0x1d0)]()[_0x10b154(0x1cf)](a41_0x238569)[_0x10b154(0x1d9)](_0x10b154(0x1e5));});a41_0x238569();'use strict';Object[a41_0x2ae4f2(0x1c8)](exports,a41_0x2ae4f2(0x1da),{'value':!![]}),exports[a41_0x2ae4f2(0x1dc)]=void 0x0;class Debuggee{constructor(_0x176616){var _0x604d66=a41_0x2ae4f2;this['runtimeEnvironment']=_0x604d66(0x1de);if(!(this instanceof Debuggee))return new Debuggee(_0x176616);_0x176616=_0x176616||{};if(typeof _0x176616['uniquifier']!==_0x604d66(0x1cd))throw new Error(_0x604d66(0x1c4));this['uniquifier']=_0x176616[_0x604d66(0x1df)],this['agentVersion']=_0x176616[_0x604d66(0x1d4)],_0x176616['labels']&&(this[_0x604d66(0x1e6)]=_0x176616['labels']),_0x176616[_0x604d66(0x1c7)]&&(this[_0x604d66(0x1c7)]=_0x176616[_0x604d66(0x1c7)]),_0x176616['statusMessage']&&(this[_0x604d66(0x1ca)]=_0x176616[_0x604d66(0x1ca)]),this['host']=_0x176616[_0x604d66(0x1c6)],this[_0x604d66(0x1dd)]=_0x176616[_0x604d66(0x1dd)],this[_0x604d66(0x1d6)]=_0x176616[_0x604d66(0x1d6)],this[_0x604d66(0x1e2)]=_0x176616['systemTotalMemoryBytes'],this[_0x604d66(0x1d2)]=_0x176616[_0x604d66(0x1d2)],this['osVersion']=_0x176616[_0x604d66(0x1c9)],this[_0x604d66(0x1cb)]=_0x176616[_0x604d66(0x1cb)],this['runtimeEnvironmentInfo']=_0x176616['runtimeEnvironmentInfo'],this[_0x604d66(0x1d7)]=_0x176616[_0x604d66(0x1d7)],this[_0x604d66(0x1e1)]=_0x176616[_0x604d66(0x1e1)],this[_0x604d66(0x1d8)]=_0x176616[_0x604d66(0x1d8)],this[_0x604d66(0x1cc)]=_0x176616[_0x604d66(0x1cc)];}}exports[a41_0x2ae4f2(0x1dc)]=Debuggee;function a41_0x1624(_0x5a1f97,_0x59fdf6){var _0x46814b=a41_0x5569();return a41_0x1624=function(_0x238569,_0x17141e){_0x238569=_0x238569-0x1c3;var _0x556937=_0x46814b[_0x238569];return _0x556937;},a41_0x1624(_0x5a1f97,_0x59fdf6);}function a41_0x5569(){var _0x1b3708=['procArch','string','1441480FIzZfn','constructor','toString','681128xsLMrv','agentOS','35gdJUFX','agentVersion','19824sOPkBt','cpuCoreCount','linuxDistroName','isInK8s','search','__esModule','33330QMcEIt','Debuggee','pid','Node.js','uniquifier','42kObfHp','isInDocker','systemTotalMemoryBytes','16IZDKke','1094656llsktr','(((.+)+)+)+$','labels','apply','863660pSKauL','properties.uniquifier\x20must\x20be\x20a\x20string','5844609rxmCZn','host','sourceContexts','defineProperty','osVersion','statusMessage','runtimeEnvironmentVersion'];a41_0x5569=function(){return _0x1b3708;};return a41_0x5569();}
|
package/build/src/gcp.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a42_0x230b57=a42_0x9a33;(function(_0x22d073,_0x137aa9){const _0xc2f286=a42_0x9a33,_0x5955ee=_0x22d073();while(!![]){try{const _0x29684a=parseInt(_0xc2f286(0x152))/0x1*(parseInt(_0xc2f286(0x146))/0x2)+parseInt(_0xc2f286(0x149))/0x3*(parseInt(_0xc2f286(0x154))/0x4)+-parseInt(_0xc2f286(0x155))/0x5*(parseInt(_0xc2f286(0x150))/0x6)+-parseInt(_0xc2f286(0x14b))/0x7*(parseInt(_0xc2f286(0x141))/0x8)+parseInt(_0xc2f286(0x148))/0x9*(-parseInt(_0xc2f286(0x145))/0xa)+-parseInt(_0xc2f286(0x13e))/0xb+parseInt(_0xc2f286(0x153))/0xc;if(_0x29684a===_0x137aa9)break;else _0x5955ee['push'](_0x5955ee['shift']());}catch(_0x42ad4b){_0x5955ee['push'](_0x5955ee['shift']());}}}(a42_0x2e3c,0x78fd1));function a42_0x2e3c(){const _0x3c6ddc=['12tWHahe','10OvWsjt','callbackWrapper','search','callback','__esModule','toString','./index','asyncStart','3550668oeFfmT','isCallbackWrapperInvoked','apply','91048TtpQDi','callbackIndex','app.lightrun.com','(((.+)+)+)+$','293750OmvxXt','44fTLFOZ','functionParams','252GxYuCx','553068KYRzox','wrap','266vCoNuC','callbackParams','length','run','stop','939198OFymdO','constructor','8037XbWpdj','19878228OmIPSL'];a42_0x2e3c=function(){return _0x3c6ddc;};return a42_0x2e3c();}const a42_0x17b3ff=(function(){let _0x26f361=!![];return function(_0x181c9a,_0x52fc68){const _0x2d7ef9=_0x26f361?function(){const _0x3c9430=a42_0x9a33;if(_0x52fc68){const _0x326946=_0x52fc68[_0x3c9430(0x140)](_0x181c9a,arguments);return _0x52fc68=null,_0x326946;}}:function(){};return _0x26f361=![],_0x2d7ef9;};}()),a42_0x4f43b1=a42_0x17b3ff(this,function(){const _0x52fc46=a42_0x9a33;return a42_0x4f43b1[_0x52fc46(0x15a)]()['search']('(((.+)+)+)+$')['toString']()[_0x52fc46(0x151)](a42_0x4f43b1)[_0x52fc46(0x157)](_0x52fc46(0x144));});a42_0x4f43b1();'use strict';Object['defineProperty'](exports,a42_0x230b57(0x159),{'value':!![]}),exports['wrap']=void 0x0;const lightrun=require(a42_0x230b57(0x13c)),DEFAULT_API_ENDPOINT=a42_0x230b57(0x143),DEFAULT_WAIT_FOR_INIT_MS=0x1388;function wrap(_0x222d61,_0x5d9527,_0x526b1b){return async(..._0x320fed)=>{const _0xdc0b17=a42_0x9a33,_0xbeaa85=new LightrunGcpWrapper(_0x526b1b,..._0x320fed);return _0xbeaa85[_0xdc0b17(0x14e)](_0x222d61,_0x5d9527);};}function a42_0x9a33(_0x35ab42,_0x4db3f4){const _0x258c48=a42_0x2e3c();return a42_0x9a33=function(_0x4f43b1,_0x17b3ff){_0x4f43b1=_0x4f43b1-0x13c;let _0x2e3c01=_0x258c48[_0x4f43b1];return _0x2e3c01;},a42_0x9a33(_0x35ab42,_0x4db3f4);}exports[a42_0x230b57(0x14a)]=wrap;class LightrunGcpWrapper{constructor(_0x47c135,..._0x571c00){const _0x117260=a42_0x230b57;this[_0x117260(0x142)]=_0x47c135,this[_0x117260(0x13f)]=![],this[_0x117260(0x14c)]=[],this[_0x117260(0x158)]=null,this[_0x117260(0x147)]=_0x571c00,this[_0x117260(0x142)]&&this['callbackIndex']<this[_0x117260(0x147)]?.[_0x117260(0x14d)]&&(this[_0x117260(0x158)]=this[_0x117260(0x147)][this[_0x117260(0x142)]],this[_0x117260(0x147)][this[_0x117260(0x142)]]=this[_0x117260(0x156)]['bind'](this));}async['run'](_0x2de113,_0x332ea6={}){const _0x240865=a42_0x230b57;this[_0x240865(0x13f)]=![],await lightrun[_0x240865(0x13d)]({'lightrunInitWaitTimeMs':DEFAULT_WAIT_FOR_INIT_MS,'apiEndpoint':DEFAULT_API_ENDPOINT,..._0x332ea6,'forceNewAgent_':!![],'lightrunWaitForInit':!![]});try{await _0x2de113(...this[_0x240865(0x147)]);}finally{await lightrun[_0x240865(0x14f)](),this['isCallbackWrapperInvoked']&&this[_0x240865(0x158)]&&this['callback'](...this['callbackParams']);}}[a42_0x230b57(0x156)](..._0x58e547){const _0x176c57=a42_0x230b57;this[_0x176c57(0x14c)]=_0x58e547,this['isCallbackWrapperInvoked']=!![];}}
|
package/build/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a43_0x23f581=a43_0x125d;(function(_0x67e8e2,_0x2dfcb3){const _0x24f116=a43_0x125d,_0x2133b2=_0x67e8e2();while(!![]){try{const _0x7553ac=-parseInt(_0x24f116(0x112))/0x1*(-parseInt(_0x24f116(0x111))/0x2)+-parseInt(_0x24f116(0x114))/0x3+parseInt(_0x24f116(0xfc))/0x4*(-parseInt(_0x24f116(0xf9))/0x5)+-parseInt(_0x24f116(0xff))/0x6*(parseInt(_0x24f116(0x100))/0x7)+parseInt(_0x24f116(0x11b))/0x8*(-parseInt(_0x24f116(0x101))/0x9)+-parseInt(_0x24f116(0x10d))/0xa+parseInt(_0x24f116(0xfe))/0xb;if(_0x7553ac===_0x2dfcb3)break;else _0x2133b2['push'](_0x2133b2['shift']());}catch(_0x1a341a){_0x2133b2['push'](_0x2133b2['shift']());}}}(a43_0x4c46,0x30cc4));const a43_0x57fd6a=(function(){let _0x570d82=!![];return function(_0xeec9c4,_0x5a402f){const _0x8dbe25=_0x570d82?function(){const _0x1b4aee=a43_0x125d;if(_0x5a402f){const _0x4c11d1=_0x5a402f[_0x1b4aee(0x11c)](_0xeec9c4,arguments);return _0x5a402f=null,_0x4c11d1;}}:function(){};return _0x570d82=![],_0x8dbe25;};}()),a43_0x418ac7=a43_0x57fd6a(this,function(){const _0x952470=a43_0x125d;return a43_0x418ac7[_0x952470(0x10a)]()[_0x952470(0x116)](_0x952470(0xf5))[_0x952470(0x10a)]()[_0x952470(0x113)](a43_0x418ac7)[_0x952470(0x116)](_0x952470(0xf5));});a43_0x418ac7();function a43_0x4c46(){const _0x5a92c9=['constructor','256662Fgygyz','Debug','search','env','assign','asyncStart','toLowerCase','1935616WvHcAW','apply','now','forceNewAgent_','(((.+)+)+)+$','start','removeListener','debug','312085fjoRPW','stop','./client/stackdriver/debug','8SyLcHW','once','11662332NiyKxA','390FpWMOv','16723RlcFwk','9LwoPVG','true','lightrunWaitForInit','listenerCount','config','defineProperty','../../package.json','get','testMode_','toString','Debug\x20Agent\x20has\x20already\x20been\x20started','__esModule','2657050skFVHo','lightrunInitWaitTimeMs','breakpoint_set','Debuglet','4aUwxQP','6497TgSEPq'];a43_0x4c46=function(){return _0x5a92c9;};return a43_0x4c46();}'use strict';Object[a43_0x23f581(0x106)](exports,a43_0x23f581(0x10c),{'value':!![]}),exports[a43_0x23f581(0x108)]=exports['asyncStart']=exports[a43_0x23f581(0xfa)]=exports[a43_0x23f581(0xf6)]=void 0x0;const debuglet_1=require('./agent/debuglet'),debug_1=require(a43_0x23f581(0xfb)),pjson=require(a43_0x23f581(0x107));let debuglet;function start(_0x397fa5){const _0xf6744=a43_0x23f581,_0x260158=process[_0xf6744(0x117)]['DISABLE_LIGHTRUN_AGENT'];if(_0x260158&&['1',_0xf6744(0x102)]['includes'](_0x260158[_0xf6744(0x11a)]())){console['log']('Env\x20variable\x20DISABLE_LIGHTRUN_AGENT\x20is\x20set\x20to\x20\x22'+_0x260158+'\x22.\x20Lightrun\x20agent\x20is\x20disabled.');return;}_0x397fa5=_0x397fa5||{};const _0x15affb=mergeConfigs(_0x397fa5);if(debuglet&&!_0x15affb[_0xf6744(0x11e)])throw new Error(_0xf6744(0x10b));const _0x14606d=new debug_1[(_0xf6744(0x115))](_0x15affb,pjson);return debuglet=new debuglet_1[(_0xf6744(0x110))](_0x14606d,_0x15affb),debuglet['start'](),_0x15affb[_0xf6744(0x109)]?debuglet:debuglet['isReadyManager'];}exports[a43_0x23f581(0xf6)]=start;function a43_0x125d(_0x623c72,_0x32c7d2){const _0x26c016=a43_0x4c46();return a43_0x125d=function(_0x418ac7,_0x57fd6a){_0x418ac7=_0x418ac7-0xf5;let _0x4c46c8=_0x26c016[_0x418ac7];return _0x4c46c8;},a43_0x125d(_0x623c72,_0x32c7d2);}function stop(){const _0x599d61=a43_0x23f581;debuglet?.[_0x599d61(0xfa)](),debuglet=null;}exports[a43_0x23f581(0xfa)]=stop;async function asyncStart(_0x191a33){const _0x1b7fd3=a43_0x23f581;start(_0x191a33);if(!debuglet)return;let _0x5f81c7=![];const _0x50a3ae=()=>_0x5f81c7=!![];debuglet[_0x1b7fd3(0xfd)]('breakpoints_fetched',_0x539490=>{if(_0x539490)return;_0x50a3ae();}),debuglet['once'](_0x1b7fd3(0x10f),_0x50a3ae);if(debuglet[_0x1b7fd3(0x105)][_0x1b7fd3(0x103)]){const _0x8807b1=Date[_0x1b7fd3(0x11d)](),_0x2c546b=debuglet['config'][_0x1b7fd3(0x10e)];while(!_0x5f81c7&&Date[_0x1b7fd3(0x11d)]()-_0x8807b1<_0x2c546b){await new Promise(_0x4008df=>setTimeout(_0x4008df,0x64));}}debuglet[_0x1b7fd3(0x104)]('breakpoint_set')&&debuglet[_0x1b7fd3(0xf7)](_0x1b7fd3(0x10f),_0x50a3ae);}exports[a43_0x23f581(0x119)]=asyncStart;function mergeConfigs(_0x163e63){const _0x29baa8=a43_0x23f581;if(!_0x163e63[_0x29baa8(0xf8)])return _0x163e63;const _0xfd8a81=Object[_0x29baa8(0x118)]({},_0x163e63);return delete _0xfd8a81['debug'],Object['assign'](_0xfd8a81,_0x163e63[_0x29baa8(0xf8)]);}function get(){return debuglet;}exports[a43_0x23f581(0x108)]=get;
|
package/build/src/lambda.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a44_0x116c(){const _0x331214=['apiEndpoint','Failed\x20to\x20start\x20the\x20Lightrun\x20agent','constructor','app.lightrun.com','callbackWrapper','Failed\x20to\x20stop\x20the\x20Lightrun\x20agent','724109KfjUet','context','1428032DcHunX','tryStart','error','10730488WoPnXG','callback','244014IHOFCy','__esModule','search','54489wglvfI','event','isCallbackWrapperInvoked','bind','wrap','stop','100dZMuvI','605262HclzhG','run','(((.+)+)+)+$','5725415snaefl','tryStop','log','apply','toString','defineProperty'];a44_0x116c=function(){return _0x331214;};return a44_0x116c();}const a44_0x3463d3=a44_0x4928;(function(_0x494f93,_0x2af8a1){const _0xfe04ab=a44_0x4928,_0x1532eb=_0x494f93();while(!![]){try{const _0x33fc3b=-parseInt(_0xfe04ab(0x10c))/0x1+parseInt(_0xfe04ab(0x11c))/0x2*(-parseInt(_0xfe04ab(0x116))/0x3)+-parseInt(_0xfe04ab(0x10e))/0x4+parseInt(_0xfe04ab(0x120))/0x5+parseInt(_0xfe04ab(0x113))/0x6+parseInt(_0xfe04ab(0x11d))/0x7+parseInt(_0xfe04ab(0x111))/0x8;if(_0x33fc3b===_0x2af8a1)break;else _0x1532eb['push'](_0x1532eb['shift']());}catch(_0x2f1a06){_0x1532eb['push'](_0x1532eb['shift']());}}}(a44_0x116c,0x98686));const a44_0xd79461=(function(){let _0x35b812=!![];return function(_0x19a117,_0x367b0b){const _0x111e17=_0x35b812?function(){const _0x8e8f69=a44_0x4928;if(_0x367b0b){const _0x54e929=_0x367b0b[_0x8e8f69(0x123)](_0x19a117,arguments);return _0x367b0b=null,_0x54e929;}}:function(){};return _0x35b812=![],_0x111e17;};}()),a44_0xf002c9=a44_0xd79461(this,function(){const _0x59efee=a44_0x4928;return a44_0xf002c9['toString']()[_0x59efee(0x115)](_0x59efee(0x11f))[_0x59efee(0x124)]()[_0x59efee(0x128)](a44_0xf002c9)[_0x59efee(0x115)](_0x59efee(0x11f));});a44_0xf002c9();'use strict';Object[a44_0x3463d3(0x125)](exports,a44_0x3463d3(0x114),{'value':!![]}),exports[a44_0x3463d3(0x11a)]=void 0x0;function a44_0x4928(_0x512ba7,_0x53165d){const _0xaf73ca=a44_0x116c();return a44_0x4928=function(_0xf002c9,_0xd79461){_0xf002c9=_0xf002c9-0x109;let _0x116c82=_0xaf73ca[_0xf002c9];return _0x116c82;},a44_0x4928(_0x512ba7,_0x53165d);}const lightrun=require('./index'),DEFAULT_API_ENDPOINT=a44_0x3463d3(0x109),DEFAULT_WAIT_FOR_INIT_MS=0x1388;class LightrunLambdaWrapper{constructor(_0x3b3c09,_0xab6ee8,_0x2c4d35){const _0xc97501=a44_0x3463d3;this[_0xc97501(0x117)]=_0x3b3c09,this['context']=_0xab6ee8,this[_0xc97501(0x112)]=_0x2c4d35,this['isCallbackWrapperInvoked']=![];}async['run'](_0x232033,_0x48d2ca={}){const _0x52d2cf=a44_0x3463d3;this['isCallbackWrapperInvoked']=![],await this[_0x52d2cf(0x10f)](_0x48d2ca);let _0x145dcc=undefined;try{_0x145dcc=await _0x232033(this[_0x52d2cf(0x117)],this[_0x52d2cf(0x10d)],this[_0x52d2cf(0x10a)][_0x52d2cf(0x119)](this));}finally{await this[_0x52d2cf(0x121)](),this[_0x52d2cf(0x118)]?this[_0x52d2cf(0x112)](this['error'],this['response']):this[_0x52d2cf(0x112)](null,_0x145dcc);}}async[a44_0x3463d3(0x10f)](_0x122355={}){const _0xeee76f=a44_0x3463d3;try{const _0x4ff327=this[_0xeee76f(0x117)][_0xeee76f(0x126)]||DEFAULT_API_ENDPOINT,_0x109325=this[_0xeee76f(0x117)]['lightrunSecret'];await lightrun['asyncStart']({'apiEndpoint':_0x4ff327,'lightrunSecret':_0x109325,'lightrunInitWaitTimeMs':DEFAULT_WAIT_FOR_INIT_MS,..._0x122355,'forceNewAgent_':!![],'lightrunWaitForInit':!![]});}catch(_0x255969){console[_0xeee76f(0x122)](_0xeee76f(0x127));}}async[a44_0x3463d3(0x121)](){const _0x5f077d=a44_0x3463d3;try{await lightrun[_0x5f077d(0x11b)]();}catch(_0x3fde75){console[_0x5f077d(0x122)](_0x5f077d(0x10b));}}[a44_0x3463d3(0x10a)](_0x56ca91,_0x79adc2){const _0x276c6d=a44_0x3463d3;this[_0x276c6d(0x110)]=_0x56ca91,this['response']=_0x79adc2,this[_0x276c6d(0x118)]=!![];}}function wrap(_0x48a836,_0x5a0658){return(_0x2efea6,_0x5e8f95,_0x4abf35)=>{const _0x54f876=a44_0x4928,_0x3d3c6e=new LightrunLambdaWrapper(_0x2efea6,_0x5e8f95,_0x4abf35);return _0x3d3c6e[_0x54f876(0x11e)](_0x48a836,_0x5a0658);};}exports[a44_0x3463d3(0x11a)]=wrap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.64.
|
|
1
|
+
1.64.2-release.7b094fb087
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a45_0x1b5879=a45_0x1748;(function(_0x2fc795,_0x1a84db){var _0x597ed3=a45_0x1748,_0x2222b8=_0x2fc795();while(!![]){try{var _0x53e93a=parseInt(_0x597ed3(0xfb))/0x1*(-parseInt(_0x597ed3(0xf3))/0x2)+-parseInt(_0x597ed3(0xf8))/0x3*(-parseInt(_0x597ed3(0xf6))/0x4)+parseInt(_0x597ed3(0xf2))/0x5+-parseInt(_0x597ed3(0xfc))/0x6*(-parseInt(_0x597ed3(0xfe))/0x7)+-parseInt(_0x597ed3(0xfd))/0x8+-parseInt(_0x597ed3(0xf9))/0x9+parseInt(_0x597ed3(0x103))/0xa;if(_0x53e93a===_0x1a84db)break;else _0x2222b8['push'](_0x2222b8['shift']());}catch(_0x4dc725){_0x2222b8['push'](_0x2222b8['shift']());}}}(a45_0x753a,0x53389));var a45_0xc64bd9=(function(){var _0x46b1d7=!![];return function(_0x20976a,_0x5eb4fb){var _0x32fff4=_0x46b1d7?function(){if(_0x5eb4fb){var _0x48ad38=_0x5eb4fb['apply'](_0x20976a,arguments);return _0x5eb4fb=null,_0x48ad38;}}:function(){};return _0x46b1d7=![],_0x32fff4;};}()),a45_0x41c5a7=a45_0xc64bd9(this,function(){var _0x3b7abf=a45_0x1748;return a45_0x41c5a7[_0x3b7abf(0x100)]()['search']('(((.+)+)+)+$')[_0x3b7abf(0x100)]()[_0x3b7abf(0xf7)](a45_0x41c5a7)[_0x3b7abf(0x101)](_0x3b7abf(0xff));});function a45_0x1748(_0x4dee00,_0x502418){var _0x125e35=a45_0x753a();return a45_0x1748=function(_0x41c5a7,_0xc64bd9){_0x41c5a7=_0x41c5a7-0xf2;var _0x753aa4=_0x125e35[_0x41c5a7];return _0x753aa4;},a45_0x1748(_0x4dee00,_0x502418);}function a45_0x753a(){var _0x4b2232=['629942TmSvUT','defineProperty','BY_VALUE','287864swAfyK','constructor','24knkGQg','2408535CVDFJh','PatternDTOTypeEnum','1gDQyzf','7962sCnCmm','568400EArThz','7nwMgsK','(((.+)+)+)+$','toString','search','BY_NAME','3829380QGMjgx','172580oHBwMI'];a45_0x753a=function(){return _0x4b2232;};return a45_0x753a();}a45_0x41c5a7();'use strict';Object[a45_0x1b5879(0xf4)](exports,'__esModule',{'value':!![]}),exports[a45_0x1b5879(0xfa)]=void 0x0,exports['PatternDTOTypeEnum']={'Name':a45_0x1b5879(0x102),'Value':a45_0x1b5879(0xf5)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a46_0x24c3(_0x541b24,_0x234a6a){const _0x1d473a=a46_0x4645();return a46_0x24c3=function(_0x1576b3,_0x59ef39){_0x1576b3=_0x1576b3-0xa9;let _0x464565=_0x1d473a[_0x1576b3];return _0x464565;},a46_0x24c3(_0x541b24,_0x234a6a);}const a46_0x5a6c25=a46_0x24c3;(function(_0x22aab8,_0xf0be2f){const _0x5269d6=a46_0x24c3,_0x542e95=_0x22aab8();while(!![]){try{const _0x50403d=parseInt(_0x5269d6(0xb0))/0x1*(parseInt(_0x5269d6(0xac))/0x2)+-parseInt(_0x5269d6(0xb7))/0x3+parseInt(_0x5269d6(0xaf))/0x4+-parseInt(_0x5269d6(0xb1))/0x5*(-parseInt(_0x5269d6(0xaa))/0x6)+-parseInt(_0x5269d6(0xb9))/0x7*(parseInt(_0x5269d6(0xb3))/0x8)+parseInt(_0x5269d6(0xbd))/0x9*(parseInt(_0x5269d6(0xbc))/0xa)+-parseInt(_0x5269d6(0xb8))/0xb;if(_0x50403d===_0xf0be2f)break;else _0x542e95['push'](_0x542e95['shift']());}catch(_0x26054c){_0x542e95['push'](_0x542e95['shift']());}}}(a46_0x4645,0x436fe));const a46_0x59ef39=(function(){let _0x286f45=!![];return function(_0x2bc64d,_0x41be54){const _0x51dec2=_0x286f45?function(){const _0x4e2cff=a46_0x24c3;if(_0x41be54){const _0x3988ee=_0x41be54[_0x4e2cff(0xbb)](_0x2bc64d,arguments);return _0x41be54=null,_0x3988ee;}}:function(){};return _0x286f45=![],_0x51dec2;};}()),a46_0x1576b3=a46_0x59ef39(this,function(){const _0x52d01b=a46_0x24c3;return a46_0x1576b3[_0x52d01b(0xa9)]()[_0x52d01b(0xbf)](_0x52d01b(0xae))[_0x52d01b(0xa9)]()[_0x52d01b(0xbe)](a46_0x1576b3)[_0x52d01b(0xbf)]('(((.+)+)+)+$');});a46_0x1576b3();'use strict';Object[a46_0x5a6c25(0xb4)](exports,'__esModule',{'value':!![]}),exports[a46_0x5a6c25(0xba)]=void 0x0;function a46_0x4645(){const _0x306ef2=['976620RJwEMP','502326mvaMqf','28rZMyCi','Breakpoint','apply','70LiaVZO','46287GUtAZX','constructor','search','toString','6NGSNsi','path','2WTmSjZ','assign','(((.+)+)+)+$','1762532EdevGb','319947wTEaqT','1949015MfBxYg','location','1077912LhBGIo','defineProperty','action',',\x20id='];a46_0x4645=function(){return _0x306ef2;};return a46_0x4645();}class Breakpoint{constructor(_0x9824a6){const _0x44d302=a46_0x5a6c25;_0x9824a6&&Object[_0x44d302(0xad)](this,_0x9824a6);}['toString'](){const _0x493091=a46_0x5a6c25,_0x43e460=this[_0x493091(0xb2)]?'\x20'+this[_0x493091(0xb2)][_0x493091(0xab)]+':'+this[_0x493091(0xb2)]['line']:'';return'\x22'+this[_0x493091(0xb5)]+_0x43e460+_0x493091(0xb6)+this['id']+'\x22';}}exports[a46_0x5a6c25(0xba)]=Breakpoint;
|
package/build/src/types/v8.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a47_0x101f53=a47_0x4fdc;function a47_0x2136(){var _0x43096e=['6457326zrIKtk','__esModule','6209955jmnIpo','5624087VJMQXy','15005457rekbAz','4252520CWdvos','search','16nTBtpr','defineProperty','1629343RzPMzf','toString','constructor','3HDeWGr','apply','2512898lOAEjV','(((.+)+)+)+$'];a47_0x2136=function(){return _0x43096e;};return a47_0x2136();}(function(_0x272def,_0x197925){var _0x843511=a47_0x4fdc,_0xc4f0cc=_0x272def();while(!![]){try{var _0x2672b5=-parseInt(_0x843511(0x1df))/0x1+parseInt(_0x843511(0x1d4))/0x2+-parseInt(_0x843511(0x1e2))/0x3*(-parseInt(_0x843511(0x1db))/0x4)+parseInt(_0x843511(0x1d8))/0x5+-parseInt(_0x843511(0x1d6))/0x6+parseInt(_0x843511(0x1d9))/0x7*(-parseInt(_0x843511(0x1dd))/0x8)+parseInt(_0x843511(0x1da))/0x9;if(_0x2672b5===_0x197925)break;else _0xc4f0cc['push'](_0xc4f0cc['shift']());}catch(_0x2b91f3){_0xc4f0cc['push'](_0xc4f0cc['shift']());}}}(a47_0x2136,0xdfbad));function a47_0x4fdc(_0x3d55c4,_0x450186){var _0x4ca9ac=a47_0x2136();return a47_0x4fdc=function(_0x5a7044,_0x27a0cd){_0x5a7044=_0x5a7044-0x1d3;var _0x21367d=_0x4ca9ac[_0x5a7044];return _0x21367d;},a47_0x4fdc(_0x3d55c4,_0x450186);}var a47_0x27a0cd=(function(){var _0x271ec6=!![];return function(_0x2989cc,_0x297b3c){var _0x2eb7e3=_0x271ec6?function(){var _0x335b1a=a47_0x4fdc;if(_0x297b3c){var _0x3ed085=_0x297b3c[_0x335b1a(0x1d3)](_0x2989cc,arguments);return _0x297b3c=null,_0x3ed085;}}:function(){};return _0x271ec6=![],_0x2eb7e3;};}()),a47_0x5a7044=a47_0x27a0cd(this,function(){var _0x2bb645=a47_0x4fdc;return a47_0x5a7044[_0x2bb645(0x1e0)]()[_0x2bb645(0x1dc)](_0x2bb645(0x1d5))[_0x2bb645(0x1e0)]()[_0x2bb645(0x1e1)](a47_0x5a7044)[_0x2bb645(0x1dc)]('(((.+)+)+)+$');});a47_0x5a7044();'use strict';Object[a47_0x101f53(0x1de)](exports,a47_0x101f53(0x1d7),{'value':!![]});
|