lightrun 1.56.0 → 1.57.1
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 -0
- 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.d.ts +75 -69
- 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
- package/build/src/agent/state/helpers.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a35_0x53e5f4=a35_0x2d70;(function(_0x153a0d,_0x2f0f64){const _0x3abed2=a35_0x2d70,_0x564c5c=_0x153a0d();while(!![]){try{const _0x4ebd0f=-parseInt(_0x3abed2(0x1c6))/0x1+-parseInt(_0x3abed2(0x1d4))/0x2*(-parseInt(_0x3abed2(0x1c9))/0x3)+parseInt(_0x3abed2(0x1cf))/0x4+parseInt(_0x3abed2(0x1cb))/0x5+parseInt(_0x3abed2(0x1d6))/0x6*(parseInt(_0x3abed2(0x1c4))/0x7)+-parseInt(_0x3abed2(0x1d9))/0x8+-parseInt(_0x3abed2(0x1c5))/0x9*(-parseInt(_0x3abed2(0x1da))/0xa);if(_0x4ebd0f===_0x2f0f64)break;else _0x564c5c['push'](_0x564c5c['shift']());}catch(_0x4e6bd8){_0x564c5c['push'](_0x564c5c['shift']());}}}(a35_0x521a,0x590f4));function a35_0x2d70(_0x1890f8,_0x114778){const _0x55c2a3=a35_0x521a();return a35_0x2d70=function(_0x5baaa3,_0x30bd92){_0x5baaa3=_0x5baaa3-0x1c0;let _0x521ae7=_0x55c2a3[_0x5baaa3];return _0x521ae7;},a35_0x2d70(_0x1890f8,_0x114778);}Object[a35_0x53e5f4(0x1d0)](exports,a35_0x53e5f4(0x1cc),{'value':!![]}),exports[a35_0x53e5f4(0x1c7)]=exports[a35_0x53e5f4(0x1ca)]=exports[a35_0x53e5f4(0x1c8)]=void 0x0;const utils=require('../util/utils');let debugApiConstructor;function willUseInspector(_0x107523){const _0x3c855d=a35_0x53e5f4,_0x3db31f=(function(){let _0x4d7d27=!![];return function(_0x29dc98,_0x4e6afe){const _0x161ce2=_0x4d7d27?function(){if(_0x4e6afe){const _0xd2240=_0x4e6afe['apply'](_0x29dc98,arguments);return _0x4e6afe=null,_0xd2240;}}:function(){};return _0x4d7d27=![],_0x161ce2;};}()),_0x5d481d=_0x3db31f(this,function(){const _0x4596a1=a35_0x2d70;return _0x5d481d['toString']()[_0x4596a1(0x1cd)](_0x4596a1(0x1d7))['toString']()[_0x4596a1(0x1d5)](_0x5d481d)['search']('(((.+)+)+)+$');});_0x5d481d();const _0x22395b=_0x107523!=null?_0x107523:process[_0x3c855d(0x1c0)];return utils[_0x3c855d(0x1d3)](_0x22395b,'>=10');}function a35_0x521a(){const _0x3e91bb=['wrap','module','satisfies','2JGILSB','constructor','336mvhowP','(((.+)+)+)+$','./inspector-debugapi','1256944VrfBgD','10TmtRlF','forceNewAgent_','version','./legacy-debugapi','V8DebugApi','disconnect','28406UBhlhr','2697372BeZbiK','718820CBLbrS','create','willUseInspector','80583XcSbJc','MODULE_WRAP_PREFIX_LENGTH','2239800UQClog','__esModule','search','InspectorDebugApi','955796bBNOrT','defineProperty'];a35_0x521a=function(){return _0x3e91bb;};return a35_0x521a();}exports['willUseInspector']=willUseInspector;if(willUseInspector()){const inspectorapi=require(a35_0x53e5f4(0x1d8));debugApiConstructor=inspectorapi[a35_0x53e5f4(0x1ce)];}else{const v8debugapi=require(a35_0x53e5f4(0x1c1));debugApiConstructor=v8debugapi[a35_0x53e5f4(0x1c2)];}exports['MODULE_WRAP_PREFIX_LENGTH']=require(a35_0x53e5f4(0x1d2))[a35_0x53e5f4(0x1d1)]('☃')['indexOf']('☃');let singleton;function create(_0x424091,_0x43f2d5,_0x496ce9,_0x33e802,_0x4df019){const _0x552ac7=a35_0x53e5f4;if(singleton&&!_0x43f2d5[_0x552ac7(0x1db)])return singleton;else singleton&&singleton[_0x552ac7(0x1c3)]();return singleton=new debugApiConstructor(_0x424091,_0x43f2d5,_0x496ce9,_0x33e802,_0x4df019),singleton;}exports[a35_0x53e5f4(0x1c7)]=create;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a36_0x5e1c(_0x281ee8,_0x282042){const _0x4f3921=a36_0x1cb3();return a36_0x5e1c=function(_0x35f7d2,_0x2ddc0f){_0x35f7d2=_0x35f7d2-0x17d;let _0x1cb317=_0x4f3921[_0x35f7d2];return _0x1cb317;},a36_0x5e1c(_0x281ee8,_0x282042);}const a36_0x58832a=a36_0x5e1c;(function(_0x8e78eb,_0x4167d5){const _0x13a2cb=a36_0x5e1c,_0x4a3b99=_0x8e78eb();while(!![]){try{const _0xa3a4db=parseInt(_0x13a2cb(0x21f))/0x1+parseInt(_0x13a2cb(0x188))/0x2*(-parseInt(_0x13a2cb(0x22b))/0x3)+parseInt(_0x13a2cb(0x1e8))/0x4+-parseInt(_0x13a2cb(0x1a4))/0x5+-parseInt(_0x13a2cb(0x180))/0x6+parseInt(_0x13a2cb(0x219))/0x7+parseInt(_0x13a2cb(0x1da))/0x8;if(_0xa3a4db===_0x4167d5)break;else _0x4a3b99['push'](_0x4a3b99['shift']());}catch(_0x1f2802){_0x4a3b99['push'](_0x4a3b99['shift']());}}}(a36_0x1cb3,0x43a0e));const a36_0x2ddc0f=(function(){let _0x162869=!![];return function(_0x272829,_0xd205f0){const _0x4a034f=_0x162869?function(){if(_0xd205f0){const _0xb7714b=_0xd205f0['apply'](_0x272829,arguments);return _0xd205f0=null,_0xb7714b;}}:function(){};return _0x162869=![],_0x4a034f;};}()),a36_0x35f7d2=a36_0x2ddc0f(this,function(){const _0xe73316=a36_0x5e1c;return a36_0x35f7d2[_0xe73316(0x197)]()['search'](_0xe73316(0x1af))[_0xe73316(0x197)]()[_0xe73316(0x17f)](a36_0x35f7d2)[_0xe73316(0x231)]('(((.+)+)+)+$');});a36_0x35f7d2();'use strict';Object[a36_0x58832a(0x1ed)](exports,a36_0x58832a(0x1ae),{'value':!![]}),exports[a36_0x58832a(0x232)]=exports[a36_0x58832a(0x1df)]=void 0x0;const acorn=require(a36_0x58832a(0x1e4)),path=require('path'),status_message_1=require('../../client/stackdriver/status-message'),state=require(a36_0x58832a(0x1db)),utils_1=require(a36_0x58832a(0x194)),debugapi=require('./debugapi'),v8inspector_1=require(a36_0x58832a(0x213)),dummy_blocklist_manager_1=require('../blocklisting/dummy-blocklist-manager'),fs_1=require('fs'),USE_MODULE_PREFIX=(0x0,utils_1[a36_0x58832a(0x18f)])(process[a36_0x58832a(0x1c9)],a36_0x58832a(0x224));class BreakpointData{constructor(_0x93b350,_0x305bd9,_0x2404cd,_0x390610,_0x301db5,_0xe4a0fb,_0x5e2833,_0x48496c){const _0x5aed04=a36_0x58832a;this['id']=_0x93b350,this['apiBreakpoint']=_0x305bd9,this[_0x5aed04(0x183)]=_0x2404cd,this[_0x5aed04(0x1f7)]=_0x390610,this[_0x5aed04(0x1f3)]=_0x301db5,this['remainingHits']=_0xe4a0fb,this[_0x5aed04(0x20b)]=_0x5e2833,this[_0x5aed04(0x220)]=_0x48496c;}}exports['BreakpointData']=BreakpointData;class InspectorDebugApi{constructor(_0x15ee74,_0x27a7c6,_0x4dca91,_0x433177,_0xc061b4){const _0x1d37f0=a36_0x58832a;this['breakpoints']={},this[_0x1d37f0(0x18a)]={},this[_0x1d37f0(0x1c6)]={},this[_0x1d37f0(0x1c5)]={},this[_0x1d37f0(0x1f4)]={},this[_0x1d37f0(0x191)]=0x0,_0x15ee74[_0x1d37f0(0x1b0)](_0x1d37f0(0x1c7)),this[_0x1d37f0(0x201)]=null,this[_0x1d37f0(0x18e)]=_0x15ee74,this[_0x1d37f0(0x181)]=_0x27a7c6,this['fileIndex']=_0x4dca91,this[_0x1d37f0(0x195)]=_0x433177,this[_0x1d37f0(0x207)]=new v8inspector_1[(_0x1d37f0(0x1aa))](_0x15ee74,(0x0,utils_1['satisfies'])(process[_0x1d37f0(0x1c9)],_0x1d37f0(0x1f1)),this[_0x1d37f0(0x181)][_0x1d37f0(0x227)],_0x436d57=>{const _0x2ac26a=_0x1d37f0;this[_0x2ac26a(0x1c6)][_0x436d57[_0x2ac26a(0x1d3)]]=_0x436d57;},_0x1fdaa0=>{const _0x2b5c59=_0x1d37f0;try{this[_0x2b5c59(0x184)](_0x1fdaa0);}catch(_0x2ed398){this[_0x2b5c59(0x18e)][_0x2b5c59(0x1a1)](_0x2ed398);}},()=>{const _0x332bc3=_0x1d37f0;this[_0x332bc3(0x1c6)]={};}),this[_0x1d37f0(0x1cd)]=_0xc061b4,this['blocklistManager']=new dummy_blocklist_manager_1['DummyBlocklistManager'](!![]);}['set'](_0x3543a3,_0x3365f9){const _0x452663=a36_0x58832a;if(!_0x3543a3||typeof _0x3543a3['id']===_0x452663(0x22d)||!_0x3543a3['location']||!_0x3543a3[_0x452663(0x1b7)][_0x452663(0x1cc)]||!_0x3543a3[_0x452663(0x1b7)][_0x452663(0x1c4)])return(0x0,utils_1[_0x452663(0x1a9)])(_0x3365f9,_0x3543a3,status_message_1[_0x452663(0x1e1)][_0x452663(0x1cf)],utils_1[_0x452663(0x1bc)]['INVALID_BREAKPOINT']);this[_0x452663(0x18e)][_0x452663(0x1b0)](_0x452663(0x20a),_0x3543a3?.[_0x452663(0x18d)],_0x3543a3?.[_0x452663(0x1b7)]?.[_0x452663(0x1cc)],_0x3543a3?.['location']?.[_0x452663(0x1c4)]);const _0x268142=path[_0x452663(0x19d)](_0x3543a3[_0x452663(0x1b7)][_0x452663(0x1cc)]);if(!this['sourcemapper'][_0x452663(0x199)](_0x268142)){this[_0x452663(0x18e)][_0x452663(0x1b0)](_0x452663(0x1d5),_0x268142);const _0x5c755b=path['extname'](_0x268142);if(!this[_0x452663(0x181)][_0x452663(0x202)]['includes'](_0x5c755b)){const _0x44fa10=_0x268142[_0x452663(0x1a0)](0x0,_0x268142[_0x452663(0x182)]-_0x5c755b[_0x452663(0x182)]),_0x473e2c=this[_0x452663(0x181)][_0x452663(0x202)][_0x452663(0x217)](_0x20b5c5=>_0x44fa10+_0x20b5c5)[_0x452663(0x1e2)](_0x36a7a0=>(0x0,utils_1[_0x452663(0x229)])(_0x36a7a0,this[_0x452663(0x18c)])),_0x8a5cd8=_0x473e2c?utils_1[_0x452663(0x1bc)][_0x452663(0x221)]:utils_1[_0x452663(0x1bc)]['SOURCE_FILE_NOT_FOUND'];return(0x0,utils_1[_0x452663(0x1a9)])(_0x3365f9,_0x3543a3,status_message_1[_0x452663(0x1e1)][_0x452663(0x239)],_0x8a5cd8);}this[_0x452663(0x1a3)](_0x3543a3,null,null,_0x3365f9);}else{this[_0x452663(0x18e)][_0x452663(0x1b0)](_0x452663(0x1c3),_0x268142);const _0x2c19b=_0x3543a3[_0x452663(0x1b7)][_0x452663(0x1c4)],_0x26b390=0x0,_0x5f329a=this[_0x452663(0x195)]['mappingInfo'](_0x268142,_0x2c19b,_0x26b390);this['logger'][_0x452663(0x1b0)](_0x452663(0x1c8),_0x5f329a?.[_0x452663(0x1f2)],_0x5f329a?.['line'],_0x5f329a?.[_0x452663(0x186)]);const _0x39e839=(0x0,utils_1['getBreakpointCompiler'])(_0x3543a3);if(_0x3543a3[_0x452663(0x1f6)]&&_0x39e839)try{_0x3543a3['condition']=_0x39e839(_0x3543a3[_0x452663(0x1f6)]);}catch(_0x2eff40){return this['logger']['warn'](_0x452663(0x19c)+_0x3543a3['condition']+_0x452663(0x206)),(0x0,utils_1[_0x452663(0x1a9)])(_0x3365f9,_0x3543a3,status_message_1[_0x452663(0x1e1)]['BREAKPOINT_CONDITION'],utils_1['errors'][_0x452663(0x1e6)]);}this[_0x452663(0x1a3)](_0x3543a3,_0x5f329a,_0x39e839,_0x3365f9);}}[a36_0x58832a(0x1ea)](_0x57c128,_0x37b7f9){const _0xe17b3a=a36_0x58832a;if(typeof _0x57c128['id']===_0xe17b3a(0x22d))return this[_0xe17b3a(0x18e)]['debug'](_0xe17b3a(0x20c)),(0x0,utils_1[_0xe17b3a(0x1a9)])(_0x37b7f9,_0x57c128,status_message_1[_0xe17b3a(0x1e1)][_0xe17b3a(0x18b)],utils_1[_0xe17b3a(0x1bc)]['V8_BREAKPOINT_CLEAR_ERROR']);const _0x2d25c2=this['breakpoints'][_0x57c128['id']];if(!_0x2d25c2)return this[_0xe17b3a(0x18e)][_0xe17b3a(0x1b0)](_0xe17b3a(0x1e0)+_0x57c128['id']),(0x0,utils_1[_0xe17b3a(0x1a9)])(_0x37b7f9,_0x57c128,status_message_1[_0xe17b3a(0x1e1)][_0xe17b3a(0x18b)],utils_1['errors'][_0xe17b3a(0x1ec)]);const _0x3dc4b4=_0x2d25c2[_0xe17b3a(0x1f7)],_0x2ee1a0=_0x2d25c2['id'];(0x0,utils_1['removeFirstOccurrenceInArray'])(this[_0xe17b3a(0x1c5)][_0x3dc4b4],_0x57c128['id']);this['locationMapper'][_0x3dc4b4][_0xe17b3a(0x182)]===0x0&&delete this['locationMapper'][_0x3dc4b4];(0x0,utils_1[_0xe17b3a(0x210)])(this[_0xe17b3a(0x1f4)][_0x2ee1a0],_0x57c128['id']);this[_0xe17b3a(0x1f4)][_0x2ee1a0]['length']===0x0&&delete this[_0xe17b3a(0x1f4)][_0x2ee1a0];let _0x2642a6={};!this[_0xe17b3a(0x1f4)][_0x2d25c2['id']]&&(_0x2642a6=this[_0xe17b3a(0x207)][_0xe17b3a(0x22a)](_0x2d25c2['id'])),delete this['breakpoints'][_0x57c128['id']],delete this['listeners'][_0x57c128['id']],this[_0xe17b3a(0x191)]--,setImmediate(()=>{const _0x4e9888=_0xe17b3a;_0x2642a6[_0x4e9888(0x1a1)]&&_0x37b7f9(_0x2642a6['error']),_0x37b7f9(null);});}[a36_0x58832a(0x205)](_0xda0a78,_0x4bf5b1){const _0x5bd974=a36_0x58832a,_0x1f4b35=this[_0x5bd974(0x192)]['bind'](this,_0xda0a78,_0x21809d=>{const _0x52d35f=_0x5bd974,_0x26872e=--this['breakpoints'][_0xda0a78['id']][_0x52d35f(0x17e)];(_0x26872e<=0x0||_0x21809d)&&(this[_0x52d35f(0x18a)][_0xda0a78['id']][_0x52d35f(0x204)]=![]),_0x4bf5b1(_0x21809d||undefined);});this['listeners'][_0xda0a78['id']]={'enabled':!![],'listener':_0x1f4b35};}[a36_0x58832a(0x226)](_0x12ca78,_0x162299,_0x4717af,_0x23c9a0){const _0x29a67b=a36_0x58832a,_0x1480ba=this[_0x29a67b(0x192)][_0x29a67b(0x187)](this,_0x12ca78,_0x3def62=>{const _0x48a483=_0x29a67b;if(_0x3def62){this[_0x48a483(0x18a)][_0x12ca78['id']][_0x48a483(0x204)]=![],setImmediate(()=>{_0x23c9a0(_0x3def62||undefined);});return;}_0x162299(_0x12ca78[_0x48a483(0x237)],_0x12ca78[_0x48a483(0x235)]),_0x12ca78[_0x48a483(0x235)]=[],_0x4717af()?this['listeners'][_0x12ca78['id']][_0x48a483(0x204)]=![]:this[_0x48a483(0x1cd)][_0x48a483(0x21b)](_0x12ca78['id'])&&(this[_0x48a483(0x18a)][_0x12ca78['id']]['enabled']=![],setTimeout(()=>{const _0x14281d=_0x48a483;!_0x4717af()&&this[_0x14281d(0x18a)][_0x12ca78['id']]&&(this['listeners'][_0x12ca78['id']][_0x14281d(0x204)]=!![]),this['quotaManager'][_0x14281d(0x1a5)](_0x12ca78['id']);},this[_0x48a483(0x181)][_0x48a483(0x218)][_0x48a483(0x1be)]*0x3e8));});this[_0x29a67b(0x18a)][_0x12ca78['id']]={'enabled':!![],'listener':_0x1480ba};}[a36_0x58832a(0x1ff)](){const _0x3e8b5d=a36_0x58832a;this['v8Inspector'][_0x3e8b5d(0x1d1)]();}['enable'](){const _0x417302=a36_0x58832a;this[_0x417302(0x207)][_0x417302(0x19a)]();}['disable'](){const _0x4d9e47=a36_0x58832a;this[_0x4d9e47(0x207)]['disable']();}[a36_0x58832a(0x200)](){const _0x5058df=a36_0x58832a;return Object[_0x5058df(0x1d8)](this[_0x5058df(0x1f0)])['length'];}[a36_0x58832a(0x1bd)](){const _0x4cfb5f=a36_0x58832a;return Object['keys'](this[_0x4cfb5f(0x18a)])['length'];}[a36_0x58832a(0x17e)](_0x4159f3){const _0x57332c=a36_0x58832a;return this[_0x57332c(0x1f0)][_0x4159f3][_0x57332c(0x17e)];}['setBlocklistManager'](_0x431888){const _0x539e9d=a36_0x58832a;this[_0x539e9d(0x1eb)]=_0x431888;}['setInternal'](_0x50a434,_0x568ced,_0x276638,_0xc9613c){const _0x573952=a36_0x58832a;let _0x35ea66=null;if(_0x50a434[_0x573952(0x1f6)])try{_0x35ea66=acorn[_0x573952(0x1c1)](_0x50a434[_0x573952(0x1f6)],{'sourceType':_0x573952(0x196),'ecmaVersion':0x6});const _0x5dadb4=require(_0x573952(0x1bb));if(!_0x5dadb4[_0x573952(0x1a2)](_0x35ea66,![]))return(0x0,utils_1[_0x573952(0x1a9)])(_0xc9613c,_0x50a434,status_message_1['StatusMessage']['BREAKPOINT_CONDITION'],utils_1[_0x573952(0x1bc)][_0x573952(0x236)]);}catch(_0x1162f9){const _0x44ae7f=utils_1[_0x573952(0x1bc)]['SYNTAX_ERROR_IN_CONDITION']+_0x1162f9[_0x573952(0x1fc)];return(0x0,utils_1[_0x573952(0x1a9)])(_0xc9613c,_0x50a434,status_message_1[_0x573952(0x1e1)][_0x573952(0x18b)],_0x44ae7f);}let _0x5678c8;const _0x23cf86=_0x568ced?_0x568ced[_0x573952(0x1f2)]:path[_0x573952(0x19d)](_0x50a434[_0x573952(0x1b7)][_0x573952(0x1cc)]);this[_0x573952(0x18e)][_0x573952(0x1b0)]('Searching\x20for\x20a\x20script\x20file:\x20',_0x23cf86);const _0x2d6d84=(0x0,utils_1['findScripts'])(_0x23cf86,this['config'],this[_0x573952(0x18c)],this[_0x573952(0x18e)]);if(_0x2d6d84['length']===0x0)return(0x0,utils_1[_0x573952(0x1a9)])(_0xc9613c,_0x50a434,status_message_1[_0x573952(0x1e1)]['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x573952(0x1bc)][_0x573952(0x19e)]);else{if(_0x2d6d84[_0x573952(0x182)]===0x1)this[_0x573952(0x18e)][_0x573952(0x1b0)]('Found\x20script\x20file:\x20',_0x2d6d84[0x0]),_0x5678c8=_0x2d6d84[0x0];else return this['logger'][_0x573952(0x203)](_0x573952(0x238)+_0x23cf86+_0x573952(0x20d)+_0x2d6d84),(0x0,utils_1[_0x573952(0x1a9)])(_0xc9613c,_0x50a434,status_message_1['StatusMessage'][_0x573952(0x239)],utils_1[_0x573952(0x1bc)]['SOURCE_FILE_AMBIGUOUS']);}if(this[_0x573952(0x1eb)][_0x573952(0x1ac)](_0x5678c8))return(0x0,utils_1['setErrorStatusAndCallback'])(_0xc9613c,_0x50a434,status_message_1[_0x573952(0x1e1)][_0x573952(0x239)],utils_1[_0x573952(0x1bc)]['BREAKPOINT_PATH_BLOCKED']);let _0x4c9250=_0x568ced&&_0x568ced['column']?_0x568ced[_0x573952(0x186)]:_0x50a434['location'][_0x573952(0x186)]||0x0;const _0x21cf64=_0x568ced?_0x568ced['line']:_0x50a434[_0x573952(0x1b7)][_0x573952(0x1c4)];USE_MODULE_PREFIX&&_0x21cf64===0x1&&(_0x4c9250+=debugapi[_0x573952(0x1d7)]-0x1);const _0x392186=this['fileIndex'][_0x573952(0x1ab)][_0x5678c8];this[_0x573952(0x18e)][_0x573952(0x1b0)](_0x573952(0x211),_0x392186?.[_0x573952(0x214)],_0x573952(0x1b5),_0x392186?.['hash']);if(_0x21cf64>=_0x392186[_0x573952(0x214)]||_0x21cf64<0x1)return(0x0,utils_1[_0x573952(0x1a9)])(_0xc9613c,_0x50a434,status_message_1[_0x573952(0x1e1)]['BREAKPOINT_SOURCE_LOCATION'],{...utils_1['errors']['INVALID_LINE_NUMBER'],'description':utils_1[_0x573952(0x1bc)][_0x573952(0x189)][_0x573952(0x212)]+_0x5678c8+':'+_0x21cf64+'.\x20Loaded\x20script\x20contained\x20'+this[_0x573952(0x18c)][_0x573952(0x1ab)][_0x5678c8]['lines']+_0x573952(0x19b)+'\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the'+_0x573952(0x1f5)});const _0x4048cc=this[_0x573952(0x198)](_0x50a434,_0x21cf64,_0x4c9250,_0x5678c8);if(!_0x4048cc)return(0x0,utils_1[_0x573952(0x1a9)])(_0xc9613c,_0x50a434,status_message_1['StatusMessage'][_0x573952(0x239)],utils_1[_0x573952(0x1bc)][_0x573952(0x20f)]);this['breakpoints'][_0x50a434['id']]=new BreakpointData(_0x4048cc['v8BreakpointId'],_0x50a434,_0x35ea66,_0x4048cc[_0x573952(0x1f7)],_0x276638,_0x50a434[_0x573952(0x1de)]||0x1,_0x50a434[_0x573952(0x20b)],_0x50a434['pipingStatus']),this[_0x573952(0x191)]++,setImmediate(()=>{_0xc9613c(null);});}[a36_0x58832a(0x198)](_0x434da0,_0x4ce3b5,_0x248009,_0x4d420b){const _0x376b25=a36_0x58832a,_0x40e482=JSON['stringify']({'file':_0x4d420b,'line':_0x4ce3b5,'column':_0x248009});let _0xe4d4a1;if(!this[_0x376b25(0x1c5)][_0x40e482]){this[_0x376b25(0x21e)](_0x4d420b,_0x4ce3b5,_0x248009);const _0xe6c7cc=this[_0x376b25(0x207)]['shouldUseWellFormattedUrl']()?'file://'+_0x4d420b:_0x4d420b,_0x51a54f=process['platform']===_0x376b25(0x1e5)&&(0x0,utils_1[_0x376b25(0x18f)])(process[_0x376b25(0x1c9)],_0x376b25(0x1dd))?_0xe6c7cc[_0x376b25(0x1b6)](/^file:\/\//,_0x376b25(0x1ef))[_0x376b25(0x1b6)](/\\/g,'/'):_0xe6c7cc,_0x5c873e=this[_0x376b25(0x207)][_0x376b25(0x1ce)]({'lineNumber':_0x4ce3b5-0x1,'url':encodeURI(_0x51a54f),'columnNumber':_0x248009});if(_0x5c873e[_0x376b25(0x1a1)]||!_0x5c873e[_0x376b25(0x1d2)])return this['logger'][_0x376b25(0x1a1)](_0x376b25(0x1f8)+_0x51a54f+':'+_0x4ce3b5+',\x20'+(_0x376b25(0x215)+JSON[_0x376b25(0x1e7)](_0x5c873e[_0x376b25(0x1a1)]))),null;_0xe4d4a1=_0x5c873e[_0x376b25(0x1d2)][_0x376b25(0x1a6)],this[_0x376b25(0x18e)][_0x376b25(0x1b0)](_0x376b25(0x1b4),_0xe4d4a1),delete this[_0x376b25(0x1c5)][_0x40e482],delete this[_0x376b25(0x1f4)][_0xe4d4a1],this['locationMapper'][_0x40e482]=[],this[_0x376b25(0x1f4)][_0xe4d4a1]=[];}else _0xe4d4a1=this[_0x376b25(0x1f0)][this[_0x376b25(0x1c5)][_0x40e482][0x0]]['id'],this[_0x376b25(0x18e)][_0x376b25(0x1b0)](_0x376b25(0x1ad),_0xe4d4a1);return this[_0x376b25(0x1c5)][_0x40e482]['push'](_0x434da0['id']),this[_0x376b25(0x1f4)][_0xe4d4a1][_0x376b25(0x208)](_0x434da0['id']),{'v8BreakpointId':_0xe4d4a1,'locationStr':_0x40e482};}['inspectScriptForDebug'](_0x2baa44,_0x583f5a,_0x5d610a){const _0x5633c2=a36_0x58832a;try{if(!this['config'][_0x5633c2(0x1ee)][_0x5633c2(0x222)])return;const _0x24bf0f=(0x0,fs_1['readFileSync'])(_0x2baa44,_0x5633c2(0x22c)),_0x2460cd=_0x24bf0f['split'](/\r?\n/),_0x4d4447=_0x583f5a-0x2,_0x12bd19=_0x583f5a-0x1,_0x127013=_0x583f5a;this[_0x5633c2(0x1d6)](_0x5633c2(0x1a8)+_0x4d4447,_0x2460cd[_0x4d4447],_0x5d610a),this['printDebugCodeLine'](_0x5633c2(0x19f)+_0x12bd19,_0x2460cd[_0x12bd19],_0x5d610a),this['printDebugCodeLine'](_0x5633c2(0x17d)+_0x127013,_0x2460cd[_0x127013],_0x5d610a);}catch(_0x401ef3){this[_0x5633c2(0x18e)][_0x5633c2(0x1a1)](_0x5633c2(0x190),_0x401ef3);}}[a36_0x58832a(0x1d6)](_0x3b5379,_0x2b7c5d,_0x569900){const _0x1e8310=a36_0x58832a;this[_0x1e8310(0x18e)][_0x1e8310(0x1b0)](_0x3b5379);if(!_0x2b7c5d){this['logger'][_0x1e8310(0x1b0)](_0x1e8310(0x1e9));return;}const _0x460bc6=0x12c;_0x569900=_0x569900||0x0;if(_0x2b7c5d[_0x1e8310(0x182)]<=_0x460bc6)this[_0x1e8310(0x18e)][_0x1e8310(0x1b0)](_0x1e8310(0x1d9)+_0x2b7c5d+_0x1e8310(0x1c2)+_0x569900);else{if(_0x2b7c5d['length']>_0x569900){const _0x2aff50=_0x2b7c5d['substring'](_0x569900,_0x460bc6);this[_0x1e8310(0x18e)][_0x1e8310(0x1b0)](_0x1e8310(0x21d)+_0x460bc6+_0x1e8310(0x1fa)+_0x569900+':\x20`'+_0x2aff50+'`');}else{this['logger']['debug'](_0x1e8310(0x1ca)+_0x569900+',\x20line\x20length:\x20'+_0x2b7c5d['length']);const _0x3b74f7=_0x2b7c5d[_0x1e8310(0x1a0)](0x0,_0x460bc6);this[_0x1e8310(0x18e)]['debug'](_0x1e8310(0x230)+_0x460bc6+_0x1e8310(0x1a7)+_0x3b74f7);}}}['processCondition'](_0x473404,_0x2e3613){const _0x10cd91=a36_0x58832a,_0x3e292e=this['config'][_0x10cd91(0x209)],_0x3fa0b0=_0x473404[_0x10cd91(0x1f6)];if(_0x3fa0b0){let _0x540bea;if(this[_0x10cd91(0x1cd)][_0x10cd91(0x20b)])_0x540bea=state[_0x10cd91(0x228)](_0x3fa0b0,_0x2e3613,this[_0x10cd91(0x207)],!![],_0x3e292e);else{const _0x96d82f=process['hrtime']();_0x540bea=state[_0x10cd91(0x228)](_0x3fa0b0,_0x2e3613,this[_0x10cd91(0x207)],!![],_0x3e292e);const _0x41af51=process[_0x10cd91(0x1fe)](_0x96d82f),_0x1a99fd=this[_0x10cd91(0x216)](_0x41af51),_0x354478=this['quotaManager']['applyConditionQuota'](_0x1a99fd,_0x473404);if(_0x354478)return[undefined,_0x354478];}if(_0x540bea[_0x10cd91(0x1a1)])return this[_0x10cd91(0x18e)][_0x10cd91(0x1b0)](_0x10cd91(0x1b1)+_0x3fa0b0+_0x10cd91(0x1f9),_0x540bea[_0x10cd91(0x1a1)]),[undefined,{...utils_1[_0x10cd91(0x1bc)][_0x10cd91(0x1cb)],'description':(utils_1[_0x10cd91(0x1bc)][_0x10cd91(0x1cb)][_0x10cd91(0x212)]||'')+_0x540bea[_0x10cd91(0x1a1)][_0x10cd91(0x212)]}];if(!_0x540bea[_0x10cd91(0x1b3)]['value'])return this[_0x10cd91(0x18e)][_0x10cd91(0x1b0)]('condition\x20'+_0x3fa0b0+_0x10cd91(0x21a)),[![],undefined];}return[!![],undefined];}[a36_0x58832a(0x192)](_0x5c6a7d,_0x59946f,_0x4fadd5){const _0x1722bd=a36_0x58832a,[_0x4fdfec,_0x3dc84c]=this[_0x1722bd(0x1ba)](_0x5c6a7d,_0x4fadd5[0x0]);if(_0x3dc84c!==undefined){(0x0,utils_1['setErrorStatusAndCallback'])(_0x59946f,_0x5c6a7d,status_message_1['StatusMessage'][_0x1722bd(0x18b)],_0x3dc84c);return;}if(_0x4fdfec===![])return;const _0x2bb448=process[_0x1722bd(0x1fe)]();try{this['captureBreakpointData'](_0x5c6a7d,_0x4fadd5);}catch(_0x1c7d62){return(0x0,utils_1[_0x1722bd(0x1a9)])(_0x59946f,_0x5c6a7d,status_message_1[_0x1722bd(0x1e1)]['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x1722bd(0x1bc)][_0x1722bd(0x223)]+_0x1c7d62);}const _0x1f6e3a=process[_0x1722bd(0x1fe)](_0x2bb448),_0x29274a=this[_0x1722bd(0x216)](_0x1f6e3a);this[_0x1722bd(0x1cd)]['applyDynamicLogsCPUQuota'](_0x5c6a7d['id'],_0x29274a),this['logger'][_0x1722bd(0x1b0)]((0x0,utils_1[_0x1722bd(0x1c0)])(_0x1722bd(0x1d4),_0x1f6e3a)),_0x59946f(null);}[a36_0x58832a(0x225)](_0x1dadc9,_0x2507f5){const _0x38d93e=a36_0x58832a,_0x4687e7=[],_0x3e5013=this;if(_0x1dadc9[_0x38d93e(0x1d0)]&&this['breakpoints'][_0x1dadc9['id']][_0x38d93e(0x1f3)])for(let _0x187d42=0x0;_0x187d42<_0x1dadc9[_0x38d93e(0x1d0)][_0x38d93e(0x182)];_0x187d42++){try{_0x1dadc9[_0x38d93e(0x1d0)][_0x187d42]=this[_0x38d93e(0x1f0)][_0x1dadc9['id']][_0x38d93e(0x1f3)](_0x1dadc9[_0x38d93e(0x1d0)][_0x187d42]);}catch(_0x2880c0){this[_0x38d93e(0x18e)][_0x38d93e(0x203)](_0x38d93e(0x185)+_0x1dadc9[_0x38d93e(0x1d0)][_0x187d42]+_0x38d93e(0x206)),_0x4687e7[_0x38d93e(0x208)]({'name':_0x1dadc9['expressions'][_0x187d42],'status':new status_message_1[(_0x38d93e(0x1e1))](status_message_1[_0x38d93e(0x1e1)][_0x38d93e(0x1fb)],utils_1['errors']['EXPRESSION_COMPILING_ERROR'],!![])}),_0x1dadc9[_0x38d93e(0x1d0)][_0x38d93e(0x20e)](_0x187d42,0x1),_0x187d42--;}}if(_0x1dadc9[_0x38d93e(0x18d)]===_0x38d93e(0x1fd)){if(!_0x1dadc9[_0x38d93e(0x1d0)])_0x1dadc9[_0x38d93e(0x235)]=[];else{const _0x59841a=_0x2507f5[0x0];_0x1dadc9[_0x38d93e(0x235)]=_0x1dadc9['expressions'][_0x38d93e(0x217)](_0x339715=>{const _0x179e52=_0x38d93e,_0x3d448e=state['evaluate'](_0x339715,_0x59841a,_0x3e5013[_0x179e52(0x207)],!![],this[_0x179e52(0x181)]['expressionsEvalTimeoutMillis']);return _0x3d448e[_0x179e52(0x1a1)]?_0x3d448e[_0x179e52(0x1a1)]:_0x3d448e[_0x179e52(0x1b3)]['value'];});}}else{const _0x4ed771=state[_0x38d93e(0x193)](_0x2507f5,_0x1dadc9,this[_0x38d93e(0x181)],this[_0x38d93e(0x1c6)],this[_0x38d93e(0x207)],this[_0x38d93e(0x1eb)]);_0x1dadc9[_0x38d93e(0x1b7)]&&(0x0,utils_1[_0x38d93e(0x1dc)])(_0x1dadc9[_0x38d93e(0x1b7)][_0x38d93e(0x1cc)])&&(_0x1dadc9[_0x38d93e(0x1b7)][_0x38d93e(0x1c4)]=_0x2507f5[0x0][_0x38d93e(0x1b7)][_0x38d93e(0x1b9)]+0x1),_0x1dadc9[_0x38d93e(0x22f)]=_0x4ed771[_0x38d93e(0x22f)],_0x1dadc9[_0x38d93e(0x233)]=_0x4ed771['variableTable'],_0x1dadc9['evaluatedExpressions']=_0x4687e7[_0x38d93e(0x21c)](_0x4ed771[_0x38d93e(0x235)]);}}[a36_0x58832a(0x184)](_0x566898){const _0x153952=a36_0x58832a;try{if(!_0x566898[_0x153952(0x1b8)])return;const _0x1c197d=_0x566898[_0x153952(0x1b8)][0x0],_0x102fef=this[_0x153952(0x1f4)][_0x1c197d];if(!_0x102fef)return;_0x102fef[_0x153952(0x1e3)](_0xd139cf=>{const _0x5db03b=_0x153952;this['listeners'][_0xd139cf][_0x5db03b(0x204)]&&(this[_0x5db03b(0x18e)][_0x5db03b(0x1b0)](_0x5db03b(0x1b2)+_0xd139cf),this['listeners'][_0xd139cf][_0x5db03b(0x234)](_0x566898[_0x5db03b(0x22e)]));});}catch(_0x4aacf1){this[_0x153952(0x18e)][_0x153952(0x203)](_0x153952(0x1bf)+_0x4aacf1);}}[a36_0x58832a(0x216)](_0x3049f9){return _0x3049f9[0x0]*0x3b9aca00+_0x3049f9[0x1];}}function a36_0x1cb3(){const _0x342d64=['setBreakpointByUrl\x20error:\x20','changeToNS','map','quota','469161HpFEIo','\x20evaluated\x20to\x20false\x20-\x20skipping\x20breakpoint','needsRecoveryTime','concat','Printing\x20','inspectScriptForDebug','274108XmgcJj','pipingStatus','COULD_NOT_FIND_MAPPING_FILE','sourceMapDiagnostics','CAPTURE_BREAKPOINT_DATA','<10.16\x20||\x20>=11\x20<11.11','captureBreakpointData','log','resetV8DebuggerThreshold','evaluate','isFileIndexed','removeBreakpoint','54534JpmeTZ','utf-8','undefined','callFrames','stackFrames','Printing\x20first\x20','search','InspectorDebugApi','variableTable','listener','evaluatedExpressions','DISALLOWED_EXPRESSION','logMessageFormat','Unable\x20to\x20unambiguously\x20find\x20','BREAKPOINT_SOURCE_LOCATION','lineNumberAfterAfter:\x20','remainingHits','constructor','2845314sjIWiu','config','length','parsedCondition','handleDebugPausedEvent','Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20','column','bind','20ndMUaS','INVALID_LINE_NUMBER','listeners','BREAKPOINT_CONDITION','fileIndex','action','logger','satisfies','inspectScriptForDebug.','numBreakpoints','onBreakpointHit','capture','../util/utils','sourcemapper','script','toString','setAndStoreBreakpoint','hasMappingInfo','enable','\x20lines.\x20Please\x20ensure','Unable\x20to\x20compile\x20condition\x20>>\x20','normalize','SOURCE_FILE_NOT_FOUND','lineNumberAfter:\x20','substring','error','isValid','setInternal','885965ocJdRJ','recovered','breakpointId','\x20chars\x20from\x20the\x20line:\x0a','lineNumberBefore:\x20','setErrorStatusAndCallback','V8Inspector','fileStats','shouldBlock','Breakpoint\x20is\x20found\x20at\x20a\x20given\x20location.\x20Id:\x20','__esModule','(((.+)+)+)+$','debug','Failed\x20to\x20evaluate\x20condition\x20','>>>breakpoint\x20hit<<<\x20number:\x20','object','Breakpoint\x20is\x20added\x20to\x20a\x20given\x20location.\x20Id:\x20','hash:\x20','replace','location','hitBreakpoints','lineNumber','processCondition','../util/validator.js','errors','numListeners_','quotaRecoverySeconds','Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20','formatInterval','parse','`.\x20column:\x20','Source\x20map\x20is\x20FOUND\x20for\x20','line','locationMapper','scriptMapper','Creating\x20InspectorDebugApi','mapInfo\x20','version','Error!\x20Line\x20is\x20shorter\x20then\x20column.\x20Column:\x20','ERROR_EVALUATING_CONDITION','path','quotaManager','setBreakpointByUrl','UNSPECIFIED','expressions','detach','response','scriptId','capture\x20time:\x20','Source\x20map\x20is\x20NOT\x20found\x20for\x20','printDebugCodeLine','MODULE_WRAP_PREFIX_LENGTH','keys','The\x20whole\x20line:\x20`','4136392sDlqKk','../state/inspector-state','isJavaScriptFile','>=11','maxHitCount','BreakpointData','Cannot\x20clear\x20breakpoint\x20-\x20no\x20breakpoint\x20data\x20for\x20id\x20','StatusMessage','some','forEach','acorn','win32','ERROR_COMPILING_CONDITION','stringify','1008072OPFJem','The\x20line\x20is\x20not\x20found\x20in\x20the\x20script\x20file','clear','blocklistManager','V8_BREAKPOINT_CLEAR_ERROR','defineProperty','internal','file:///','breakpoints','>10.11.0','file','compile','breakpointMapper','\x20deployed\x20source.','condition','locationStr','Failed\x20to\x20put\x20the\x20breakpoint\x20in\x20','\x20due\x20to\x20error:\x20','\x20chars\x20starting\x20from\x20column\x20','VARIABLE_VALUE','message','LOG','hrtime','disconnect','numBreakpoints_','cleanupAsyncCallStackInterval','javascriptFileExtensions','warn','enabled','wait','\x20<<','v8Inspector','push','expressionsEvalTimeoutMillis','Installing\x20','ignoreQuota','Cannot\x20clear\x20breakpoint\x20-\x20id\x20is\x20undefined','.\x20Potential\x20matches:\x20','splice','V8_BREAKPOINT_ERROR','removeFirstOccurrenceInArray','FileStats.\x20Lines\x20Count:\x20','description','./v8inspector','lines'];a36_0x1cb3=function(){return _0x342d64;};return a36_0x1cb3();}exports[a36_0x58832a(0x232)]=InspectorDebugApi;
|
|
1
|
+
const a36_0x37e255=a36_0x1c4c;(function(_0x40c71f,_0x45c76c){const _0x1e6600=a36_0x1c4c,_0x347577=_0x40c71f();while(!![]){try{const _0x3b8519=parseInt(_0x1e6600(0x12d))/0x1*(parseInt(_0x1e6600(0x127))/0x2)+-parseInt(_0x1e6600(0x186))/0x3+-parseInt(_0x1e6600(0x184))/0x4*(parseInt(_0x1e6600(0x18c))/0x5)+parseInt(_0x1e6600(0x15c))/0x6+parseInt(_0x1e6600(0x163))/0x7*(-parseInt(_0x1e6600(0x187))/0x8)+parseInt(_0x1e6600(0xe7))/0x9*(parseInt(_0x1e6600(0xee))/0xa)+parseInt(_0x1e6600(0x12b))/0xb*(parseInt(_0x1e6600(0x123))/0xc);if(_0x3b8519===_0x45c76c)break;else _0x347577['push'](_0x347577['shift']());}catch(_0x543140){_0x347577['push'](_0x347577['shift']());}}}(a36_0x2c57,0xabbc1));const a36_0x49b420=(function(){let _0x3ed0c7=!![];return function(_0x1ce17e,_0x48c7c3){const _0x3f9153=_0x3ed0c7?function(){const _0x52b83a=a36_0x1c4c;if(_0x48c7c3){const _0x42f81c=_0x48c7c3[_0x52b83a(0x176)](_0x1ce17e,arguments);return _0x48c7c3=null,_0x42f81c;}}:function(){};return _0x3ed0c7=![],_0x3f9153;};}()),a36_0x21e1f4=a36_0x49b420(this,function(){const _0x1556f6=a36_0x1c4c;return a36_0x21e1f4[_0x1556f6(0x120)]()[_0x1556f6(0x110)](_0x1556f6(0xdd))['toString']()['constructor'](a36_0x21e1f4)[_0x1556f6(0x110)]('(((.+)+)+)+$');});a36_0x21e1f4();'use strict';Object[a36_0x37e255(0x171)](exports,a36_0x37e255(0x17a),{'value':!![]}),exports['InspectorDebugApi']=exports['BreakpointData']=void 0x0;const acorn=require(a36_0x37e255(0xfa)),path=require(a36_0x37e255(0x126)),status_message_1=require(a36_0x37e255(0x149)),state=require('../state/inspector-state'),utils_1=require(a36_0x37e255(0xeb)),debugapi=require(a36_0x37e255(0x112)),v8inspector_1=require(a36_0x37e255(0x109)),dummy_blocklist_manager_1=require('../blocklisting/dummy-blocklist-manager'),fs_1=require('fs'),USE_MODULE_PREFIX=(0x0,utils_1[a36_0x37e255(0x17c)])(process[a36_0x37e255(0x106)],a36_0x37e255(0x12e));function a36_0x1c4c(_0x219ff7,_0x14d73c){const _0xa634ed=a36_0x2c57();return a36_0x1c4c=function(_0x21e1f4,_0x49b420){_0x21e1f4=_0x21e1f4-0xd5;let _0x2c57ff=_0xa634ed[_0x21e1f4];return _0x2c57ff;},a36_0x1c4c(_0x219ff7,_0x14d73c);}class BreakpointData{constructor(_0x479853,_0x2d4e0d,_0x597394,_0x1bbc71,_0x11a708,_0x573411,_0x5bb47e,_0x510da5){const _0x54e0d1=a36_0x37e255;this['id']=_0x479853,this[_0x54e0d1(0x10e)]=_0x2d4e0d,this['parsedCondition']=_0x597394,this[_0x54e0d1(0x170)]=_0x1bbc71,this[_0x54e0d1(0xfd)]=_0x11a708,this['remainingHits']=_0x573411,this['ignoreQuota']=_0x5bb47e,this[_0x54e0d1(0x14a)]=_0x510da5;}}exports['BreakpointData']=BreakpointData;class InspectorDebugApi{constructor(_0x4938fe,_0x3ce8c4,_0x225235,_0x3647ec,_0x4a533b){const _0x146f56=a36_0x37e255;this[_0x146f56(0xd7)]={},this[_0x146f56(0x14d)]={},this['scriptMapper']={},this[_0x146f56(0x121)]={},this[_0x146f56(0x132)]={},this['numBreakpoints']=0x0,_0x4938fe[_0x146f56(0x125)](_0x146f56(0x115)),this['cleanupAsyncCallStackInterval']=null,this[_0x146f56(0x14c)]=_0x4938fe,this[_0x146f56(0x118)]=_0x3ce8c4,this[_0x146f56(0x131)]=_0x225235,this[_0x146f56(0xf0)]=_0x3647ec,this['v8Inspector']=new v8inspector_1[(_0x146f56(0x136))](_0x4938fe,(0x0,utils_1[_0x146f56(0x17c)])(process['version'],'>10.11.0'),this[_0x146f56(0x118)]['resetV8DebuggerThreshold'],_0x1f54af=>{const _0x375a79=_0x146f56;this[_0x375a79(0x11c)][_0x1f54af[_0x375a79(0x189)]]=_0x1f54af;},_0x2f81e1=>{const _0x22e13c=_0x146f56;try{this['handleDebugPausedEvent'](_0x2f81e1);}catch(_0x3167f7){this[_0x22e13c(0x14c)][_0x22e13c(0x188)](_0x3167f7);}},()=>{const _0x51a089=_0x146f56;this[_0x51a089(0x11c)]={};}),this['quotaManager']=_0x4a533b,this[_0x146f56(0xe5)]=new dummy_blocklist_manager_1[(_0x146f56(0x148))](!![]);}['set'](_0xd875dc,_0x1f619a){const _0x4a15d0=a36_0x37e255;if(!_0xd875dc||typeof _0xd875dc['id']===_0x4a15d0(0x154)||!_0xd875dc[_0x4a15d0(0x153)]||!_0xd875dc[_0x4a15d0(0x153)][_0x4a15d0(0x126)]||!_0xd875dc[_0x4a15d0(0x153)][_0x4a15d0(0x146)])return(0x0,utils_1['setErrorStatusAndCallback'])(_0x1f619a,_0xd875dc,status_message_1[_0x4a15d0(0x108)]['UNSPECIFIED'],utils_1[_0x4a15d0(0x18b)][_0x4a15d0(0x12c)]);this[_0x4a15d0(0x14c)]['debug']('Installing\x20',_0xd875dc?.[_0x4a15d0(0x177)],_0xd875dc?.[_0x4a15d0(0x153)]?.[_0x4a15d0(0x126)],_0xd875dc?.[_0x4a15d0(0x153)]?.[_0x4a15d0(0x146)]);const _0x1b9fc5=path[_0x4a15d0(0x15f)](_0xd875dc[_0x4a15d0(0x153)][_0x4a15d0(0x126)]);if(!this[_0x4a15d0(0xf0)][_0x4a15d0(0xe8)](_0x1b9fc5)){this[_0x4a15d0(0x14c)]['debug'](_0x4a15d0(0x14b),_0x1b9fc5);const _0x5148da=path[_0x4a15d0(0x122)](_0x1b9fc5);if(!this[_0x4a15d0(0x118)][_0x4a15d0(0x147)][_0x4a15d0(0x175)](_0x5148da)){const _0x3a439b=_0x1b9fc5['substring'](0x0,_0x1b9fc5['length']-_0x5148da['length']),_0x81eb27=this[_0x4a15d0(0x118)][_0x4a15d0(0x147)][_0x4a15d0(0xe0)](_0x141db7=>_0x3a439b+_0x141db7)[_0x4a15d0(0x16f)](_0x2aa0f6=>(0x0,utils_1[_0x4a15d0(0x10f)])(_0x2aa0f6,this[_0x4a15d0(0x131)])),_0x2a8f91=_0x81eb27?utils_1[_0x4a15d0(0x18b)][_0x4a15d0(0x17f)]:utils_1[_0x4a15d0(0x18b)][_0x4a15d0(0x165)];return(0x0,utils_1['setErrorStatusAndCallback'])(_0x1f619a,_0xd875dc,status_message_1[_0x4a15d0(0x108)][_0x4a15d0(0x15b)],_0x2a8f91);}this[_0x4a15d0(0x100)](_0xd875dc,null,null,_0x1f619a);}else{this['logger'][_0x4a15d0(0x125)](_0x4a15d0(0xf1),_0x1b9fc5);const _0x218903=_0xd875dc['location'][_0x4a15d0(0x146)],_0x3b63bf=0x0,_0x264a91=this[_0x4a15d0(0xf0)][_0x4a15d0(0x14e)](_0x1b9fc5,_0x218903,_0x3b63bf);this[_0x4a15d0(0x14c)][_0x4a15d0(0x125)](_0x4a15d0(0x11e),_0x264a91?.[_0x4a15d0(0xea)],_0x264a91?.[_0x4a15d0(0x146)],_0x264a91?.[_0x4a15d0(0x18a)]);const _0x389c4d=(0x0,utils_1[_0x4a15d0(0x11a)])(_0xd875dc);if(_0xd875dc['condition']&&_0x389c4d)try{_0xd875dc['condition']=_0x389c4d(_0xd875dc[_0x4a15d0(0x15a)]);}catch(_0x5b5762){return this[_0x4a15d0(0x14c)][_0x4a15d0(0xe4)](_0x4a15d0(0x113)+_0xd875dc['condition']+'\x20<<'),(0x0,utils_1[_0x4a15d0(0x135)])(_0x1f619a,_0xd875dc,status_message_1['StatusMessage']['BREAKPOINT_CONDITION'],utils_1[_0x4a15d0(0x18b)]['ERROR_COMPILING_CONDITION']);}this['setInternal'](_0xd875dc,_0x264a91,_0x389c4d,_0x1f619a);}}[a36_0x37e255(0x141)](_0x27e5f0,_0x4c25ff){const _0x31033b=a36_0x37e255;if(typeof _0x27e5f0['id']===_0x31033b(0x154))return this['logger'][_0x31033b(0x125)](_0x31033b(0xf6)),(0x0,utils_1[_0x31033b(0x135)])(_0x4c25ff,_0x27e5f0,status_message_1['StatusMessage'][_0x31033b(0xd9)],utils_1[_0x31033b(0x18b)]['V8_BREAKPOINT_CLEAR_ERROR']);const _0x471b78=this[_0x31033b(0xd7)][_0x27e5f0['id']];if(!_0x471b78)return this[_0x31033b(0x14c)]['debug'](_0x31033b(0x111)+_0x27e5f0['id']),(0x0,utils_1[_0x31033b(0x135)])(_0x4c25ff,_0x27e5f0,status_message_1[_0x31033b(0x108)]['BREAKPOINT_CONDITION'],utils_1[_0x31033b(0x18b)]['V8_BREAKPOINT_CLEAR_ERROR']);const _0x20b82b=_0x471b78[_0x31033b(0x170)],_0x3b00b9=_0x471b78['id'];(0x0,utils_1[_0x31033b(0x179)])(this['locationMapper'][_0x20b82b],_0x27e5f0['id']);this[_0x31033b(0x121)][_0x20b82b]['length']===0x0&&delete this[_0x31033b(0x121)][_0x20b82b];(0x0,utils_1[_0x31033b(0x179)])(this[_0x31033b(0x132)][_0x3b00b9],_0x27e5f0['id']);this['breakpointMapper'][_0x3b00b9]['length']===0x0&&delete this[_0x31033b(0x132)][_0x3b00b9];let _0x345c7a={};!this[_0x31033b(0x132)][_0x471b78['id']]&&(_0x345c7a=this[_0x31033b(0xe2)][_0x31033b(0x117)](_0x471b78['id'])),delete this[_0x31033b(0xd7)][_0x27e5f0['id']],delete this[_0x31033b(0x14d)][_0x27e5f0['id']],this[_0x31033b(0x160)]--,setImmediate(()=>{const _0x130277=_0x31033b;_0x345c7a['error']&&_0x4c25ff(_0x345c7a[_0x130277(0x188)]),_0x4c25ff(null);});}[a36_0x37e255(0x143)](_0x1f2a74,_0x53ea68){const _0x300cce=a36_0x37e255,_0x2669f0=this[_0x300cce(0x114)][_0x300cce(0x107)](this,_0x1f2a74,_0x48a9c6=>{const _0x16dcdc=_0x300cce,_0x50d7ab=--this[_0x16dcdc(0xd7)][_0x1f2a74['id']][_0x16dcdc(0x158)];(_0x50d7ab<=0x0||_0x48a9c6)&&(this[_0x16dcdc(0x14d)][_0x1f2a74['id']][_0x16dcdc(0x13d)]=![]),_0x53ea68(_0x48a9c6||undefined);});this['listeners'][_0x1f2a74['id']]={'enabled':!![],'listener':_0x2669f0};}[a36_0x37e255(0x16c)](_0x1cb650,_0x59ed82,_0x5d1615,_0x53ea8c){const _0x57065b=a36_0x37e255,_0x4853fd=this[_0x57065b(0x114)][_0x57065b(0x107)](this,_0x1cb650,_0x3d273e=>{const _0x484b8e=_0x57065b;if(_0x3d273e){this[_0x484b8e(0x14d)][_0x1cb650['id']][_0x484b8e(0x13d)]=![],setImmediate(()=>{_0x53ea8c(_0x3d273e||undefined);});return;}_0x59ed82(_0x1cb650[_0x484b8e(0x150)],_0x1cb650[_0x484b8e(0x124)]),_0x1cb650[_0x484b8e(0x124)]=[],_0x5d1615()?this['listeners'][_0x1cb650['id']][_0x484b8e(0x13d)]=![]:this[_0x484b8e(0x155)][_0x484b8e(0xfe)](_0x1cb650['id'])&&(this['listeners'][_0x1cb650['id']][_0x484b8e(0x13d)]=![],setTimeout(()=>{const _0x475107=_0x484b8e;!_0x5d1615()&&this[_0x475107(0x14d)][_0x1cb650['id']]&&(this[_0x475107(0x14d)][_0x1cb650['id']][_0x475107(0x13d)]=!![]),this[_0x475107(0x155)][_0x475107(0x129)](_0x1cb650['id']);},this['config'][_0x484b8e(0x16b)][_0x484b8e(0x166)]*0x3e8));});this[_0x57065b(0x14d)][_0x1cb650['id']]={'enabled':!![],'listener':_0x4853fd};}['disconnect'](){const _0x57413b=a36_0x37e255;this[_0x57413b(0xe2)][_0x57413b(0x142)]();}[a36_0x37e255(0xe6)](){const _0x404be8=a36_0x37e255;this[_0x404be8(0xe2)][_0x404be8(0xe6)]();}[a36_0x37e255(0xde)](){const _0x5bcdcf=a36_0x37e255;this[_0x5bcdcf(0xe2)]['disable']();}[a36_0x37e255(0xd8)](){const _0x2b817f=a36_0x37e255;return Object[_0x2b817f(0x162)](this['breakpoints'])[_0x2b817f(0x11f)];}['numListeners_'](){const _0x2a2414=a36_0x37e255;return Object[_0x2a2414(0x162)](this[_0x2a2414(0x14d)])[_0x2a2414(0x11f)];}[a36_0x37e255(0x158)](_0x333a28){const _0x44944f=a36_0x37e255;return this[_0x44944f(0xd7)][_0x333a28]['remainingHits'];}[a36_0x37e255(0x174)](_0x18c122){const _0x456443=a36_0x37e255;this[_0x456443(0xe5)]=_0x18c122;}[a36_0x37e255(0x100)](_0x312471,_0x218575,_0x2d803d,_0x3c507b){const _0x25a119=a36_0x37e255;let _0x1e6827=null;if(_0x312471['condition'])try{_0x1e6827=acorn['parse'](_0x312471[_0x25a119(0x15a)],{'sourceType':'script','ecmaVersion':0x6});const _0x42f16b=require('../util/validator.js');if(!_0x42f16b[_0x25a119(0xf8)](_0x1e6827,![]))return(0x0,utils_1[_0x25a119(0x135)])(_0x3c507b,_0x312471,status_message_1['StatusMessage'][_0x25a119(0xd9)],utils_1['errors'][_0x25a119(0x17d)]);}catch(_0x2b5185){const _0x22ac26=utils_1[_0x25a119(0x18b)][_0x25a119(0x128)]+_0x2b5185[_0x25a119(0x134)];return(0x0,utils_1[_0x25a119(0x135)])(_0x3c507b,_0x312471,status_message_1[_0x25a119(0x108)]['BREAKPOINT_CONDITION'],_0x22ac26);}let _0xb398a4;const _0x447f09=_0x218575?_0x218575['file']:path[_0x25a119(0x15f)](_0x312471[_0x25a119(0x153)][_0x25a119(0x126)]);this[_0x25a119(0x14c)][_0x25a119(0x125)]('Searching\x20for\x20a\x20script\x20file:\x20',_0x447f09);const _0x396ef7=(0x0,utils_1['findScripts'])(_0x447f09,this['config'],this['fileIndex'],this[_0x25a119(0x14c)]);if(_0x396ef7[_0x25a119(0x11f)]===0x0)return(0x0,utils_1['setErrorStatusAndCallback'])(_0x3c507b,_0x312471,status_message_1[_0x25a119(0x108)][_0x25a119(0x15b)],utils_1['errors'][_0x25a119(0x165)]);else{if(_0x396ef7[_0x25a119(0x11f)]===0x1)this[_0x25a119(0x14c)][_0x25a119(0x125)](_0x25a119(0x104),_0x396ef7[0x0]),_0xb398a4=_0x396ef7[0x0];else return this[_0x25a119(0x14c)][_0x25a119(0xe4)]('Unable\x20to\x20unambiguously\x20find\x20'+_0x447f09+_0x25a119(0x185)+_0x396ef7),(0x0,utils_1['setErrorStatusAndCallback'])(_0x3c507b,_0x312471,status_message_1[_0x25a119(0x108)]['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x25a119(0x18b)][_0x25a119(0x119)]);}if(this[_0x25a119(0xe5)][_0x25a119(0x10d)](_0xb398a4))return(0x0,utils_1[_0x25a119(0x135)])(_0x3c507b,_0x312471,status_message_1['StatusMessage'][_0x25a119(0x15b)],utils_1[_0x25a119(0x18b)]['BREAKPOINT_PATH_BLOCKED']);let _0x35678f=_0x218575&&_0x218575[_0x25a119(0x18a)]?_0x218575[_0x25a119(0x18a)]:_0x312471[_0x25a119(0x153)]['column']||0x0;const _0x4e847e=_0x218575?_0x218575[_0x25a119(0x146)]:_0x312471[_0x25a119(0x153)][_0x25a119(0x146)];USE_MODULE_PREFIX&&_0x4e847e===0x1&&(_0x35678f+=debugapi[_0x25a119(0x11d)]-0x1);const _0x34353d=this[_0x25a119(0x131)][_0x25a119(0x13e)][_0xb398a4];this[_0x25a119(0x14c)][_0x25a119(0x125)]('FileStats.\x20Lines\x20Count:\x20',_0x34353d?.['lines'],_0x25a119(0x138),_0x34353d?.['hash']);if(_0x4e847e>=_0x34353d[_0x25a119(0x12a)]||_0x4e847e<0x1)return(0x0,utils_1[_0x25a119(0x135)])(_0x3c507b,_0x312471,status_message_1[_0x25a119(0x108)][_0x25a119(0x15b)],{...utils_1[_0x25a119(0x18b)][_0x25a119(0x152)],'description':utils_1[_0x25a119(0x18b)][_0x25a119(0x152)][_0x25a119(0xe1)]+_0xb398a4+':'+_0x4e847e+'.\x20Loaded\x20script\x20contained\x20'+this[_0x25a119(0x131)]['fileStats'][_0xb398a4][_0x25a119(0x12a)]+_0x25a119(0x139)+'\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the'+'\x20deployed\x20source.'});const _0xb956f9=this[_0x25a119(0x16d)](_0x312471,_0x4e847e,_0x35678f,_0xb398a4);if(!_0xb956f9)return(0x0,utils_1['setErrorStatusAndCallback'])(_0x3c507b,_0x312471,status_message_1['StatusMessage'][_0x25a119(0x15b)],utils_1[_0x25a119(0x18b)][_0x25a119(0xf3)]);this[_0x25a119(0xd7)][_0x312471['id']]=new BreakpointData(_0xb956f9[_0x25a119(0x15e)],_0x312471,_0x1e6827,_0xb956f9[_0x25a119(0x170)],_0x2d803d,_0x312471['maxHitCount']||0x1,_0x312471[_0x25a119(0x17b)],_0x312471['pipingStatus']),this['numBreakpoints']++,setImmediate(()=>{_0x3c507b(null);});}['setAndStoreBreakpoint'](_0x420d08,_0x1c9b05,_0x404244,_0x2bf46a){const _0x3bfccf=a36_0x37e255,_0x1e0c0c=JSON[_0x3bfccf(0x173)]({'file':_0x2bf46a,'line':_0x1c9b05,'column':_0x404244});let _0x5388df;if(!this['locationMapper'][_0x1e0c0c]){this[_0x3bfccf(0xfc)](_0x2bf46a,_0x1c9b05,_0x404244);const _0x27dfd8=this['v8Inspector'][_0x3bfccf(0x144)]()?_0x3bfccf(0x13c)+_0x2bf46a:_0x2bf46a,_0xea12ae=process[_0x3bfccf(0x151)]===_0x3bfccf(0x167)&&(0x0,utils_1[_0x3bfccf(0x17c)])(process[_0x3bfccf(0x106)],_0x3bfccf(0xdf))?_0x27dfd8['replace'](/^file:\/\//,_0x3bfccf(0x10b))[_0x3bfccf(0x105)](/\\/g,'/'):_0x27dfd8,_0x186dc9=this[_0x3bfccf(0xe2)][_0x3bfccf(0x157)]({'lineNumber':_0x1c9b05-0x1,'url':encodeURI(_0xea12ae),'columnNumber':_0x404244});if(_0x186dc9['error']||!_0x186dc9[_0x3bfccf(0xd5)])return this[_0x3bfccf(0x14c)]['error'](_0x3bfccf(0x169)+_0xea12ae+':'+_0x1c9b05+',\x20'+(_0x3bfccf(0xe3)+JSON[_0x3bfccf(0x173)](_0x186dc9['error']))),null;_0x5388df=_0x186dc9[_0x3bfccf(0xd5)][_0x3bfccf(0x10c)],this['logger'][_0x3bfccf(0x125)](_0x3bfccf(0x145),_0x5388df),delete this[_0x3bfccf(0x121)][_0x1e0c0c],delete this['breakpointMapper'][_0x5388df],this['locationMapper'][_0x1e0c0c]=[],this['breakpointMapper'][_0x5388df]=[];}else _0x5388df=this['breakpoints'][this[_0x3bfccf(0x121)][_0x1e0c0c][0x0]]['id'],this[_0x3bfccf(0x14c)][_0x3bfccf(0x125)]('Breakpoint\x20is\x20found\x20at\x20a\x20given\x20location.\x20Id:\x20',_0x5388df);return this[_0x3bfccf(0x121)][_0x1e0c0c][_0x3bfccf(0x13a)](_0x420d08['id']),this[_0x3bfccf(0x132)][_0x5388df][_0x3bfccf(0x13a)](_0x420d08['id']),{'v8BreakpointId':_0x5388df,'locationStr':_0x1e0c0c};}['inspectScriptForDebug'](_0x57195d,_0x1aa04f,_0x43d2fa){const _0x4b61da=a36_0x37e255;try{if(!this['config'][_0x4b61da(0x159)]['sourceMapDiagnostics'])return;const _0x256374=(0x0,fs_1[_0x4b61da(0x137)])(_0x57195d,_0x4b61da(0x103)),_0xd42c62=_0x256374[_0x4b61da(0xf4)](/\r?\n/),_0x4815ff=_0x1aa04f-0x2,_0x3efe88=_0x1aa04f-0x1,_0x42c7dd=_0x1aa04f;this[_0x4b61da(0x102)](_0x4b61da(0x182)+_0x4815ff,_0xd42c62[_0x4815ff],_0x43d2fa),this[_0x4b61da(0x102)](_0x4b61da(0x16a)+_0x3efe88,_0xd42c62[_0x3efe88],_0x43d2fa),this[_0x4b61da(0x102)](_0x4b61da(0xef)+_0x42c7dd,_0xd42c62[_0x42c7dd],_0x43d2fa);}catch(_0x839c8e){this[_0x4b61da(0x14c)]['error'](_0x4b61da(0xdb),_0x839c8e);}}[a36_0x37e255(0x102)](_0x14856c,_0x10e5cb,_0x36e2c4){const _0x34cb17=a36_0x37e255;this['logger']['debug'](_0x14856c);if(!_0x10e5cb){this[_0x34cb17(0x14c)][_0x34cb17(0x125)](_0x34cb17(0x15d));return;}const _0x4c1b9a=0x12c;_0x36e2c4=_0x36e2c4||0x0;if(_0x10e5cb['length']<=_0x4c1b9a)this[_0x34cb17(0x14c)][_0x34cb17(0x125)]('The\x20whole\x20line:\x20`'+_0x10e5cb+_0x34cb17(0xe9)+_0x36e2c4);else{if(_0x10e5cb[_0x34cb17(0x11f)]>_0x36e2c4){const _0x3366de=_0x10e5cb['substring'](_0x36e2c4,_0x4c1b9a);this[_0x34cb17(0x14c)][_0x34cb17(0x125)](_0x34cb17(0x14f)+_0x4c1b9a+'\x20chars\x20starting\x20from\x20column\x20'+_0x36e2c4+_0x34cb17(0x116)+_0x3366de+'`');}else{this[_0x34cb17(0x14c)]['debug'](_0x34cb17(0xfb)+_0x36e2c4+_0x34cb17(0xec)+_0x10e5cb[_0x34cb17(0x11f)]);const _0x5e1a7b=_0x10e5cb[_0x34cb17(0x13f)](0x0,_0x4c1b9a);this[_0x34cb17(0x14c)][_0x34cb17(0x125)](_0x34cb17(0x180)+_0x4c1b9a+_0x34cb17(0xf7)+_0x5e1a7b);}}}['processCondition'](_0x3cc75e,_0x501c90){const _0x13c395=a36_0x37e255,_0x4a11f3=this[_0x13c395(0x118)]['expressionsEvalTimeoutMillis'],_0x578146=_0x3cc75e['condition'];if(_0x578146){const _0x1c9e4f=process[_0x13c395(0x10a)](),_0x4e7e21=state[_0x13c395(0xed)](_0x578146,_0x501c90,this[_0x13c395(0xe2)],!![],_0x4a11f3),_0x1ba323=process[_0x13c395(0x10a)](_0x1c9e4f);if(!this[_0x13c395(0x155)][_0x13c395(0x17b)]){const _0xf5373=this['changeToNS'](_0x1ba323),_0x12ab16=this[_0x13c395(0x155)][_0x13c395(0x130)](_0xf5373,_0x3cc75e);if(_0x12ab16)return[undefined,_0x12ab16];}if(_0x4e7e21[_0x13c395(0x188)])return this[_0x13c395(0x14c)][_0x13c395(0x125)](_0x13c395(0x156)+_0x578146+'\x20due\x20to\x20error:\x20',_0x4e7e21[_0x13c395(0x188)]),[undefined,{...utils_1[_0x13c395(0x18b)][_0x13c395(0xdc)],'description':(utils_1[_0x13c395(0x18b)]['ERROR_EVALUATING_CONDITION'][_0x13c395(0xe1)]||'')+_0x4e7e21[_0x13c395(0x188)][_0x13c395(0xe1)]}];if(!_0x4e7e21[_0x13c395(0x178)][_0x13c395(0x172)])return this[_0x13c395(0x14c)]['debug'](_0x13c395(0x101)+_0x578146+_0x13c395(0x161)),[![],undefined];}return[!![],undefined];}['onBreakpointHit'](_0x4d53f3,_0x218e7a,_0x15dd30){const _0xaefbea=a36_0x37e255,[_0x54972a,_0x2579b9]=this['processCondition'](_0x4d53f3,_0x15dd30[0x0]);if(_0x2579b9!==undefined){(0x0,utils_1[_0xaefbea(0x135)])(_0x218e7a,_0x4d53f3,status_message_1[_0xaefbea(0x108)][_0xaefbea(0xd9)],_0x2579b9);return;}if(_0x54972a===![])return;const _0x1bdc66=process[_0xaefbea(0x10a)]();try{this[_0xaefbea(0xd6)](_0x4d53f3,_0x15dd30);}catch(_0x2a1e7d){return(0x0,utils_1['setErrorStatusAndCallback'])(_0x218e7a,_0x4d53f3,status_message_1[_0xaefbea(0x108)][_0xaefbea(0x15b)],utils_1['errors'][_0xaefbea(0xf9)]+_0x2a1e7d);}const _0x289937=process['hrtime'](_0x1bdc66),_0x25f7f1=this[_0xaefbea(0x133)](_0x289937);this['quotaManager']['applyDynamicLogsCPUQuota'](_0x4d53f3['id'],_0x25f7f1),this['logger'][_0xaefbea(0x125)]((0x0,utils_1['formatInterval'])('capture\x20time:\x20',_0x289937)),_0x218e7a(null);}['captureBreakpointData'](_0x5679ab,_0x2a0893){const _0x573a9e=a36_0x37e255,_0x20048d=[],_0x3a53c9=this;if(_0x5679ab[_0x573a9e(0x13b)]&&this['breakpoints'][_0x5679ab['id']]['compile'])for(let _0xa6f017=0x0;_0xa6f017<_0x5679ab[_0x573a9e(0x13b)][_0x573a9e(0x11f)];_0xa6f017++){try{_0x5679ab['expressions'][_0xa6f017]=this[_0x573a9e(0xd7)][_0x5679ab['id']]['compile'](_0x5679ab[_0x573a9e(0x13b)][_0xa6f017]);}catch(_0x15e4af){this[_0x573a9e(0x14c)]['warn']('Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20'+_0x5679ab[_0x573a9e(0x13b)][_0xa6f017]+_0x573a9e(0xf5)),_0x20048d[_0x573a9e(0x13a)]({'name':_0x5679ab['expressions'][_0xa6f017],'status':new status_message_1['StatusMessage'](status_message_1[_0x573a9e(0x108)][_0x573a9e(0xf2)],utils_1['errors'][_0x573a9e(0x164)],!![])}),_0x5679ab[_0x573a9e(0x13b)]['splice'](_0xa6f017,0x1),_0xa6f017--;}}if(_0x5679ab[_0x573a9e(0x177)]==='LOG'){if(!_0x5679ab[_0x573a9e(0x13b)])_0x5679ab['evaluatedExpressions']=[];else{const _0x27cb46=_0x2a0893[0x0];_0x5679ab[_0x573a9e(0x124)]=_0x5679ab['expressions']['map'](_0x31bec2=>{const _0x57fb46=_0x573a9e,_0x47be8c=state['evaluate'](_0x31bec2,_0x27cb46,_0x3a53c9[_0x57fb46(0xe2)],!![],this['config'][_0x57fb46(0x183)]);return _0x47be8c['error']?_0x47be8c[_0x57fb46(0x188)]:_0x47be8c[_0x57fb46(0x178)]['value'];});}}else{const _0x5ccf5a=state[_0x573a9e(0x16e)](_0x2a0893,_0x5679ab,this[_0x573a9e(0x118)],this[_0x573a9e(0x11c)],this['v8Inspector'],this[_0x573a9e(0xe5)]);_0x5679ab[_0x573a9e(0x153)]&&(0x0,utils_1[_0x573a9e(0x11b)])(_0x5679ab['location']['path'])&&(_0x5679ab[_0x573a9e(0x153)][_0x573a9e(0x146)]=_0x2a0893[0x0][_0x573a9e(0x153)][_0x573a9e(0x168)]+0x1),_0x5679ab['stackFrames']=_0x5ccf5a['stackFrames'],_0x5679ab['variableTable']=_0x5ccf5a[_0x573a9e(0xda)],_0x5679ab[_0x573a9e(0x124)]=_0x20048d['concat'](_0x5ccf5a[_0x573a9e(0x124)]);}}[a36_0x37e255(0xff)](_0x17c498){const _0x4599e7=a36_0x37e255;try{if(!_0x17c498[_0x4599e7(0x140)])return;const _0x4780cd=_0x17c498[_0x4599e7(0x140)][0x0],_0x2104a8=this['breakpointMapper'][_0x4780cd];if(!_0x2104a8)return;_0x2104a8[_0x4599e7(0x12f)](_0x3b759f=>{const _0xa158cd=_0x4599e7;this[_0xa158cd(0x14d)][_0x3b759f]['enabled']&&(this[_0xa158cd(0x14c)][_0xa158cd(0x125)](_0xa158cd(0x18d)+_0x3b759f),this[_0xa158cd(0x14d)][_0x3b759f][_0xa158cd(0x17e)](_0x17c498[_0xa158cd(0x18e)]));});}catch(_0x3074b8){this[_0x4599e7(0x14c)][_0x4599e7(0xe4)](_0x4599e7(0x181)+_0x3074b8);}}['changeToNS'](_0x3e6501){return _0x3e6501[0x0]*0x3b9aca00+_0x3e6501[0x1];}}function a36_0x2c57(){const _0x1958dd=['EXPRESSION_COMPILING_ERROR','SOURCE_FILE_NOT_FOUND','quotaRecoverySeconds','win32','lineNumber','Failed\x20to\x20put\x20the\x20breakpoint\x20in\x20','lineNumberAfter:\x20','quota','log','setAndStoreBreakpoint','capture','some','locationStr','defineProperty','value','stringify','setBlocklistManager','includes','apply','action','object','removeFirstOccurrenceInArray','__esModule','ignoreQuota','satisfies','DISALLOWED_EXPRESSION','listener','COULD_NOT_FIND_MAPPING_FILE','Printing\x20first\x20','Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20','lineNumberBefore:\x20','expressionsEvalTimeoutMillis','200HsjqcW','.\x20Potential\x20matches:\x20','1579659LGRkMb','272LPPoKT','error','scriptId','column','errors','18650GBMOFt','>>>breakpoint\x20hit<<<\x20number:\x20','callFrames','response','captureBreakpointData','breakpoints','numBreakpoints_','BREAKPOINT_CONDITION','variableTable','inspectScriptForDebug.','ERROR_EVALUATING_CONDITION','(((.+)+)+)+$','disable','>=11','map','description','v8Inspector','setBreakpointByUrl\x20error:\x20','warn','blocklistManager','enable','9SEiCab','hasMappingInfo','`.\x20column:\x20','file','../util/utils',',\x20line\x20length:\x20','evaluate','6611060puERUv','lineNumberAfterAfter:\x20','sourcemapper','Source\x20map\x20is\x20FOUND\x20for\x20','VARIABLE_VALUE','V8_BREAKPOINT_ERROR','split','\x20<<','Cannot\x20clear\x20breakpoint\x20-\x20id\x20is\x20undefined','\x20chars\x20from\x20the\x20line:\x0a','isValid','CAPTURE_BREAKPOINT_DATA','acorn','Error!\x20Line\x20is\x20shorter\x20then\x20column.\x20Column:\x20','inspectScriptForDebug','compile','needsRecoveryTime','handleDebugPausedEvent','setInternal','condition\x20','printDebugCodeLine','utf-8','Found\x20script\x20file:\x20','replace','version','bind','StatusMessage','./v8inspector','hrtime','file:///','breakpointId','shouldBlock','apiBreakpoint','isFileIndexed','search','Cannot\x20clear\x20breakpoint\x20-\x20no\x20breakpoint\x20data\x20for\x20id\x20','./debugapi','Unable\x20to\x20compile\x20condition\x20>>\x20','onBreakpointHit','Creating\x20InspectorDebugApi',':\x20`','removeBreakpoint','config','SOURCE_FILE_AMBIGUOUS','getBreakpointCompiler','isJavaScriptFile','scriptMapper','MODULE_WRAP_PREFIX_LENGTH','mapInfo\x20','length','toString','locationMapper','extname','384cAJPpb','evaluatedExpressions','debug','path','620NIsHxx','SYNTAX_ERROR_IN_CONDITION','recovered','lines','235642vRQGLD','INVALID_BREAKPOINT','3086MiuWLV','<10.16\x20||\x20>=11\x20<11.11','forEach','applyConditionQuota','fileIndex','breakpointMapper','changeToNS','message','setErrorStatusAndCallback','V8Inspector','readFileSync','hash:\x20','\x20lines.\x20Please\x20ensure','push','expressions','file://','enabled','fileStats','substring','hitBreakpoints','clear','detach','wait','shouldUseWellFormattedUrl','Breakpoint\x20is\x20added\x20to\x20a\x20given\x20location.\x20Id:\x20','line','javascriptFileExtensions','DummyBlocklistManager','../../client/stackdriver/status-message','pipingStatus','Source\x20map\x20is\x20NOT\x20found\x20for\x20','logger','listeners','mappingInfo','Printing\x20','logMessageFormat','platform','INVALID_LINE_NUMBER','location','undefined','quotaManager','Failed\x20to\x20evaluate\x20condition\x20','setBreakpointByUrl','remainingHits','internal','condition','BREAKPOINT_SOURCE_LOCATION','1139316BnVTEZ','The\x20line\x20is\x20not\x20found\x20in\x20the\x20script\x20file','v8BreakpointId','normalize','numBreakpoints','\x20evaluated\x20to\x20false\x20-\x20skipping\x20breakpoint','keys','221669lddxcW'];a36_0x2c57=function(){return _0x1958dd;};return a36_0x2c57();}exports['InspectorDebugApi']=InspectorDebugApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a37_0x30c736=a37_0x3b40;(function(_0xe64563,_0x2c9587){const _0x39363c=a37_0x3b40,_0x22d183=_0xe64563();while(!![]){try{const _0xa02db8=-parseInt(_0x39363c(0x1d7))/0x1+parseInt(_0x39363c(0x185))/0x2*(parseInt(_0x39363c(0x19e))/0x3)+parseInt(_0x39363c(0x1aa))/0x4*(parseInt(_0x39363c(0x1a7))/0x5)+-parseInt(_0x39363c(0x18c))/0x6+-parseInt(_0x39363c(0x19d))/0x7+-parseInt(_0x39363c(0x17e))/0x8+parseInt(_0x39363c(0x197))/0x9;if(_0xa02db8===_0x2c9587)break;else _0x22d183['push'](_0x22d183['shift']());}catch(_0x143f04){_0x22d183['push'](_0x22d183['shift']());}}}(a37_0x15cc,0x3602b));function a37_0x15cc(){const _0x112362=['apply','errors','MODULE_WRAP_PREFIX_LENGTH','setScriptBreakPointByRegExp','variableTable','quotaRecoverySeconds','setByRegExp','DISALLOWED_EXPRESSION','shouldBlock','Debug','compile','capture','INVALID_LINE_NUMBER','log','ERROR_EVALUATING_CONDITION','fileIndex','disconnect','semver','.\x20Loaded\x20script\x20contained\x20','breakPointsHit','(((.+)+)+)+$','search','isValid','condition','wait','logger','undefined','error','../../client/stackdriver/status-message','file','onBreakpointHit','quota','../state/legacy-state','info','v8Breakpoint','BREAKPOINT_PATH_BLOCKED','.\x20Potential\x20matches:\x20','defineProperty','\x09the\x20breakpoint\x20condition\x20wasn\x27t\x20met','parsedCondition','forEach','lines','sourcemapper','199024RTTYbF','LOG','SYNTAX_ERROR_IN_CONDITION','normalize','setErrorStatusAndCallback','isJavaScriptFile','action','2xCZlIT','../util/utils','StatusMessage','description','checkCondition','./debugapi','disable','239328UXOsYP','evaluatedExpressions','number','includes','>>>V8\x20breakpoint\x20hit<<<\x20number:\x20','enable','line','usePermanentListener','DummyBlocklistManager','\x20<<','script','229464LWtsXm','evaluate','length','DebugEvent','CAPTURE_BREAKPOINT_DATA','V8BreakpointData','1295364mUDCuE','1138443tKSSse','setListener','warn','breakpoints','apiBreakpoint','setBlocklistManager','numBreakpoints_','V8_BREAKPOINT_CLEAR_ERROR','setInternal','5PVhYwK','extname','BREAKPOINT_CONDITION','651668pDKopP','blocklistManager','keys','runInDebugContext','frame','v8Version','>=4.5','quotaManager','exec','\x20lines.\x20Please\x20ensure','hrtime','Unable\x20to\x20compile\x20condition\x20>>\x20','bind','satisfies','logMessageFormat','path','listener','enabled','INVALID_BREAKPOINT','handleDebugEvents','pathToRegExp','splice','capture\x20time:\x20','Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20','ERROR_COMPILING_CONDITION','script_break_point','COULD_NOT_FIND_MAPPING_FILE','V8DebugApi','VARIABLE_VALUE','stackFrames','map','toString','Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20','Break','captureBreakpointData','hasMappingInfo','mappingInfo','SOURCE_FILE_NOT_FOUND','clearBreakPoint','../blocklisting/dummy-blocklist-manager','expressions','fileStats','EXPRESSION_COMPILING_ERROR','value','recovered','96849SBOblA','numBreakpoints','location','column','BREAKPOINT_SOURCE_LOCATION','\x20deployed\x20source.','config','listeners','push','SOURCE_FILE_AMBIGUOUS','mirror','\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the'];a37_0x15cc=function(){return _0x112362;};return a37_0x15cc();}const a37_0x3b48f8=(function(){let _0x2ab578=!![];return function(_0x38ac1a,_0x483c67){const _0x1d1004=_0x2ab578?function(){const _0x136f13=a37_0x3b40;if(_0x483c67){const _0x28a818=_0x483c67[_0x136f13(0x1e3)](_0x38ac1a,arguments);return _0x483c67=null,_0x28a818;}}:function(){};return _0x2ab578=![],_0x1d1004;};}()),a37_0x2bc8ed=a37_0x3b48f8(this,function(){const _0x4b4418=a37_0x3b40;return a37_0x2bc8ed[_0x4b4418(0x1c9)]()['search'](_0x4b4418(0x1f7))['toString']()['constructor'](a37_0x2bc8ed)[_0x4b4418(0x1f8)]('(((.+)+)+)+$');});a37_0x2bc8ed();'use strict';Object[a37_0x30c736(0x178)](exports,'__esModule',{'value':!![]}),exports[a37_0x30c736(0x1c5)]=exports[a37_0x30c736(0x19c)]=void 0x0;function a37_0x3b40(_0x28b7b5,_0x1aa036){const _0xa510db=a37_0x15cc();return a37_0x3b40=function(_0x2bc8ed,_0x3b48f8){_0x2bc8ed=_0x2bc8ed-0x172;let _0x15cc11=_0xa510db[_0x2bc8ed];return _0x15cc11;},a37_0x3b40(_0x28b7b5,_0x1aa036);}const acorn=require('acorn'),path=require(a37_0x30c736(0x1b9)),semver=require(a37_0x30c736(0x1f4)),vm=require('vm'),status_message_1=require(a37_0x30c736(0x1ff)),state=require(a37_0x30c736(0x173)),utils_1=require(a37_0x30c736(0x186)),debugapi=require(a37_0x30c736(0x18a)),dummy_blocklist_manager_1=require(a37_0x30c736(0x1d1));class V8BreakpointData{constructor(_0x2d96f9,_0x29b24d,_0x38ea4b,_0x1f2175){const _0x5cb06e=a37_0x30c736;this[_0x5cb06e(0x1a2)]=_0x2d96f9,this[_0x5cb06e(0x175)]=_0x29b24d,this[_0x5cb06e(0x17a)]=_0x38ea4b,this['compile']=_0x1f2175;}}exports['V8BreakpointData']=V8BreakpointData;class V8DebugApi{constructor(_0x5b67df,_0x2ec2e0,_0x2e665f,_0x13815f,_0x201b98){const _0x22c22d=a37_0x30c736;this[_0x22c22d(0x1a1)]={},this[_0x22c22d(0x1de)]={},this[_0x22c22d(0x1d8)]=0x0,this['sourcemapper']=_0x13815f,this['v8']=vm[_0x22c22d(0x1ad)](_0x22c22d(0x1ec)),this[_0x22c22d(0x1dd)]=_0x2ec2e0,this['fileIndex']=_0x2e665f,this[_0x22c22d(0x1af)]=/(\d+\.\d+\.\d+)\.\d+/[_0x22c22d(0x1b2)](process['versions']['v8']),this[_0x22c22d(0x1fc)]=_0x5b67df,this[_0x22c22d(0x193)]=semver[_0x22c22d(0x1b7)](this['v8Version'][0x1],_0x22c22d(0x1b0)),this[_0x22c22d(0x1b1)]=_0x201b98,this['blocklistManager']=new dummy_blocklist_manager_1[(_0x22c22d(0x194))](!![]),this[_0x22c22d(0x1bd)]=(_0x5268c3,_0x17aba9,_0x43899f)=>{const _0x46b1fc=_0x22c22d;try{switch(_0x5268c3){case this['v8'][_0x46b1fc(0x19a)][_0x46b1fc(0x1cb)]:_0x43899f[_0x46b1fc(0x1f6)]()[_0x46b1fc(0x17b)](_0x2f3f2b=>{const _0x3242cd=_0x46b1fc,_0x4e02d2=_0x2f3f2b[_0x3242cd(0x1c3)]()[_0x3242cd(0x18e)]();this[_0x3242cd(0x1de)][_0x4e02d2][_0x3242cd(0x1bb)]&&(this[_0x3242cd(0x1fc)][_0x3242cd(0x174)](_0x3242cd(0x190)+_0x4e02d2),this[_0x3242cd(0x1de)][_0x4e02d2][_0x3242cd(0x1ba)](_0x17aba9,_0x43899f));});break;default:}}catch(_0x3f867b){this['logger'][_0x46b1fc(0x1a0)](_0x46b1fc(0x1c1)+_0x3f867b);}},this[_0x22c22d(0x193)]&&(this[_0x22c22d(0x1fc)][_0x22c22d(0x174)]('activating\x20v8\x20breakpoint\x20listener\x20(permanent)'),this['v8'][_0x22c22d(0x19f)](this[_0x22c22d(0x1bd)]));}['set'](_0x30b64a,_0x5319b4){const _0x5ce5aa=a37_0x30c736;if(!this['v8']||!_0x30b64a||typeof _0x30b64a['id']===_0x5ce5aa(0x1fd)||!_0x30b64a['location']||!_0x30b64a[_0x5ce5aa(0x1d9)][_0x5ce5aa(0x1b9)]||!_0x30b64a[_0x5ce5aa(0x1d9)][_0x5ce5aa(0x192)])return(0x0,utils_1[_0x5ce5aa(0x182)])(_0x5319b4,_0x30b64a,status_message_1[_0x5ce5aa(0x187)]['UNSPECIFIED'],utils_1[_0x5ce5aa(0x1e4)][_0x5ce5aa(0x1bc)]);const _0x3590bf=path[_0x5ce5aa(0x181)](_0x30b64a['location'][_0x5ce5aa(0x1b9)]);if(this['blocklistManager'][_0x5ce5aa(0x1eb)](_0x3590bf))return(0x0,utils_1[_0x5ce5aa(0x182)])(_0x5319b4,_0x30b64a,status_message_1[_0x5ce5aa(0x187)]['BREAKPOINT_SOURCE_LOCATION'],utils_1['errors'][_0x5ce5aa(0x176)]);if(!this['sourcemapper'][_0x5ce5aa(0x1cd)](_0x3590bf)){const _0x1bf7f3=path[_0x5ce5aa(0x1a8)](_0x3590bf);if(!this[_0x5ce5aa(0x1dd)]['javascriptFileExtensions'][_0x5ce5aa(0x18f)](_0x1bf7f3))return(0x0,utils_1[_0x5ce5aa(0x182)])(_0x5319b4,_0x30b64a,status_message_1['StatusMessage'][_0x5ce5aa(0x1db)],utils_1[_0x5ce5aa(0x1e4)][_0x5ce5aa(0x1c4)]);this[_0x5ce5aa(0x1a6)](_0x30b64a,null,null,_0x5319b4);}else{const _0x4b497c=_0x30b64a['location']['line'],_0x2f17c4=0x0,_0x507fe9=this[_0x5ce5aa(0x17d)][_0x5ce5aa(0x1ce)](_0x3590bf,_0x4b497c,_0x2f17c4),_0x41e13e=(0x0,utils_1['getBreakpointCompiler'])(_0x30b64a);if(_0x30b64a[_0x5ce5aa(0x1fa)]&&_0x41e13e)try{_0x30b64a['condition']=_0x41e13e(_0x30b64a[_0x5ce5aa(0x1fa)]);}catch(_0x2d8ea2){return this['logger'][_0x5ce5aa(0x174)](_0x5ce5aa(0x1b5)+_0x30b64a['condition']+_0x5ce5aa(0x195)),(0x0,utils_1['setErrorStatusAndCallback'])(_0x5319b4,_0x30b64a,status_message_1[_0x5ce5aa(0x187)][_0x5ce5aa(0x1a9)],utils_1['errors'][_0x5ce5aa(0x1c2)]);}this[_0x5ce5aa(0x1a6)](_0x30b64a,_0x507fe9,_0x41e13e,_0x5319b4);}}['clear'](_0x59c128,_0xeeff16){const _0x47aab5=a37_0x30c736;if(typeof _0x59c128['id']===_0x47aab5(0x1fd))return(0x0,utils_1['setErrorStatusAndCallback'])(_0xeeff16,_0x59c128,status_message_1['StatusMessage'][_0x47aab5(0x1a9)],utils_1[_0x47aab5(0x1e4)][_0x47aab5(0x1a5)]);const _0x1c45c1=this[_0x47aab5(0x1a1)][_0x59c128['id']];if(!_0x1c45c1)return(0x0,utils_1[_0x47aab5(0x182)])(_0xeeff16,_0x59c128,status_message_1[_0x47aab5(0x187)][_0x47aab5(0x1a9)],utils_1['errors'][_0x47aab5(0x1a5)]);const _0x544995=_0x1c45c1['v8Breakpoint'];this['v8'][_0x47aab5(0x1d0)](_0x544995[_0x47aab5(0x18e)]()),delete this['breakpoints'][_0x59c128['id']],delete this[_0x47aab5(0x1de)][_0x544995[_0x47aab5(0x18e)]()],this[_0x47aab5(0x1d8)]--,this['numBreakpoints']===0x0&&!this[_0x47aab5(0x193)]&&(this[_0x47aab5(0x1fc)]['info']('deactivating\x20v8\x20breakpoint\x20listener'),this['v8'][_0x47aab5(0x19f)](null)),setImmediate(()=>{_0xeeff16(null);});}[a37_0x30c736(0x1fb)](_0x3d1063,_0x5eea53){const _0x265bbc=a37_0x30c736,_0x405b5a=this,_0x2bcf07=_0x405b5a[_0x265bbc(0x1a1)][_0x3d1063['id']][_0x265bbc(0x175)]['number'](),_0x32728c=this['onBreakpointHit']['bind'](this,_0x3d1063,_0x5a6346=>{const _0x5f5ccf=_0x265bbc;_0x405b5a['listeners'][_0x2bcf07][_0x5f5ccf(0x1bb)]=![],setImmediate(()=>{_0x5eea53(_0x5a6346||undefined);});});_0x405b5a[_0x265bbc(0x1de)][_0x2bcf07]={'enabled':!![],'listener':_0x32728c};}[a37_0x30c736(0x1f0)](_0x202b95,_0x3c063,_0x38de5c,_0x50325c){const _0x24ed69=a37_0x30c736,_0x593d74=this,_0x5e1526=_0x593d74[_0x24ed69(0x1a1)][_0x202b95['id']][_0x24ed69(0x175)]['number'](),_0x170ac4=this[_0x24ed69(0x201)][_0x24ed69(0x1b6)](this,_0x202b95,_0x424f80=>{const _0x7ec27a=_0x24ed69;_0x424f80&&(this['listeners'][_0x202b95['id']][_0x7ec27a(0x1bb)]=![],setImmediate(()=>{_0x50325c(_0x424f80||undefined);})),_0x3c063(_0x202b95[_0x7ec27a(0x1b8)],_0x202b95[_0x7ec27a(0x18d)]),_0x38de5c()?_0x593d74[_0x7ec27a(0x1de)][_0x5e1526][_0x7ec27a(0x1bb)]=![]:this['quotaManager']['needsRecoveryTime'](_0x202b95['id'])&&(_0x593d74[_0x7ec27a(0x1de)][_0x5e1526][_0x7ec27a(0x1bb)]=![],setTimeout(()=>{const _0x32d730=_0x7ec27a;!_0x38de5c()&&_0x593d74[_0x32d730(0x1de)][_0x5e1526]&&(_0x593d74['listeners'][_0x5e1526]['enabled']=!![]),this[_0x32d730(0x1b1)][_0x32d730(0x1d6)](_0x202b95['id']);},_0x593d74[_0x7ec27a(0x1dd)][_0x7ec27a(0x172)][_0x7ec27a(0x1e8)]*0x3e8));});_0x593d74[_0x24ed69(0x1de)][_0x5e1526]={'enabled':!![],'listener':_0x170ac4};}[a37_0x30c736(0x1f3)](){return;}[a37_0x30c736(0x191)](){}[a37_0x30c736(0x18b)](){}[a37_0x30c736(0x1a4)](){const _0x357e2e=a37_0x30c736;return Object[_0x357e2e(0x1ac)](this[_0x357e2e(0x1a1)])[_0x357e2e(0x199)];}['numListeners_'](){const _0x30ef83=a37_0x30c736;return Object[_0x30ef83(0x1ac)](this['listeners'])[_0x30ef83(0x199)];}['remainingHits'](){return 0x0;}[a37_0x30c736(0x1a3)](_0x5eacd5){this['blocklistManager']=_0x5eacd5;}[a37_0x30c736(0x1a6)](_0x8d26fa,_0x4c8513,_0x5449ba,_0x39bc4f){const _0x54f9da=a37_0x30c736;let _0x354699=null;if(_0x8d26fa[_0x54f9da(0x1fa)])try{_0x354699=acorn['parse'](_0x8d26fa[_0x54f9da(0x1fa)],{'sourceType':_0x54f9da(0x196),'ecmaVersion':0x6});const _0x2aa1e5=require('../util/validator.js');if(!_0x2aa1e5[_0x54f9da(0x1f9)](_0x354699,!![]))return(0x0,utils_1[_0x54f9da(0x182)])(_0x39bc4f,_0x8d26fa,status_message_1[_0x54f9da(0x187)][_0x54f9da(0x1a9)],utils_1[_0x54f9da(0x1e4)][_0x54f9da(0x1ea)]);}catch(_0x621ed9){return(0x0,utils_1['setErrorStatusAndCallback'])(_0x39bc4f,_0x8d26fa,status_message_1[_0x54f9da(0x187)][_0x54f9da(0x1a9)],utils_1[_0x54f9da(0x1e4)][_0x54f9da(0x180)]+_0x621ed9['message']);}let _0x494179;const _0xa6bac=_0x4c8513?_0x4c8513[_0x54f9da(0x200)]:path[_0x54f9da(0x181)](_0x8d26fa[_0x54f9da(0x1d9)]['path']),_0x2081fb=(0x0,utils_1['findScripts'])(_0xa6bac,this[_0x54f9da(0x1dd)],this[_0x54f9da(0x1f2)],this[_0x54f9da(0x1fc)]);if(_0x2081fb[_0x54f9da(0x199)]===0x0)return(0x0,utils_1[_0x54f9da(0x182)])(_0x39bc4f,_0x8d26fa,status_message_1[_0x54f9da(0x187)]['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x54f9da(0x1e4)][_0x54f9da(0x1cf)]);else{if(_0x2081fb[_0x54f9da(0x199)]===0x1)_0x494179=_0x2081fb[0x0];else return this['logger'][_0x54f9da(0x1a0)]('Unable\x20to\x20unambiguously\x20find\x20'+_0xa6bac+_0x54f9da(0x177)+_0x2081fb),(0x0,utils_1[_0x54f9da(0x182)])(_0x39bc4f,_0x8d26fa,status_message_1[_0x54f9da(0x187)]['BREAKPOINT_SOURCE_LOCATION'],utils_1['errors'][_0x54f9da(0x1e0)]);}let _0x4422fc=_0x4c8513&&_0x4c8513['column']?_0x4c8513['column']:_0x8d26fa[_0x54f9da(0x1d9)][_0x54f9da(0x1da)]||0x1;const _0x2d767d=_0x4c8513?_0x4c8513[_0x54f9da(0x192)]:_0x8d26fa[_0x54f9da(0x1d9)][_0x54f9da(0x192)];_0x2d767d===0x1&&(_0x4422fc+=debugapi[_0x54f9da(0x1e5)]-0x1);if(_0x2d767d>=this[_0x54f9da(0x1f2)][_0x54f9da(0x1d3)][_0x494179][_0x54f9da(0x17c)])return(0x0,utils_1['setErrorStatusAndCallback'])(_0x39bc4f,_0x8d26fa,status_message_1[_0x54f9da(0x187)][_0x54f9da(0x1db)],{...utils_1[_0x54f9da(0x1e4)][_0x54f9da(0x1ef)],'description':utils_1[_0x54f9da(0x1e4)]['INVALID_LINE_NUMBER'][_0x54f9da(0x188)]+_0x494179+':'+_0x2d767d+_0x54f9da(0x1f5)+this[_0x54f9da(0x1f2)][_0x54f9da(0x1d3)][_0x494179][_0x54f9da(0x17c)]+_0x54f9da(0x1b3)+_0x54f9da(0x1e2)+_0x54f9da(0x1dc)});const _0x46daa0=this['setByRegExp'](_0x494179,_0x2d767d,_0x4422fc);if(!_0x46daa0)return(0x0,utils_1[_0x54f9da(0x182)])(_0x39bc4f,_0x8d26fa,status_message_1[_0x54f9da(0x187)][_0x54f9da(0x1db)],utils_1[_0x54f9da(0x1e4)]['V8_BREAKPOINT_ERROR']);this[_0x54f9da(0x1d8)]===0x0&&!this['usePermanentListener']&&(this[_0x54f9da(0x1fc)][_0x54f9da(0x174)]('activating\x20v8\x20breakpoint\x20listener'),this['v8'][_0x54f9da(0x19f)](this[_0x54f9da(0x1bd)])),this[_0x54f9da(0x1a1)][_0x8d26fa['id']]=new V8BreakpointData(_0x8d26fa,_0x46daa0,_0x354699,_0x5449ba),this['numBreakpoints']++,setImmediate(()=>{_0x39bc4f(null);});}[a37_0x30c736(0x1e9)](_0x4cd16e,_0x4b69ee,_0x299c8d){const _0x3aa1fd=a37_0x30c736,_0x4efb34=(0x0,utils_1[_0x3aa1fd(0x1be)])(_0x4cd16e),_0x375d1c=this['v8'][_0x3aa1fd(0x1e6)](_0x4efb34,_0x4b69ee-0x1,_0x299c8d-0x1),_0x3f6fc1=this['v8']['findBreakPoint'](_0x375d1c);return _0x3f6fc1;}[a37_0x30c736(0x201)](_0x3dc490,_0x4948d0,_0x125323){const _0x4d567b=a37_0x30c736,_0x139de0=this['breakpoints'][_0x3dc490['id']]['v8Breakpoint'];if(!_0x139de0['active']())return(0x0,utils_1[_0x4d567b(0x182)])(_0x4948d0,_0x3dc490,status_message_1[_0x4d567b(0x187)][_0x4d567b(0x1db)],utils_1[_0x4d567b(0x1e4)]['V8_BREAKPOINT_DISABLED']);const _0x15f1c7=this[_0x4d567b(0x189)](_0x3dc490,_0x125323);if(_0x15f1c7[_0x4d567b(0x1fe)])return(0x0,utils_1[_0x4d567b(0x182)])(_0x4948d0,_0x3dc490,status_message_1[_0x4d567b(0x187)][_0x4d567b(0x1a9)],{...utils_1[_0x4d567b(0x1e4)][_0x4d567b(0x1f1)],'description':utils_1[_0x4d567b(0x1e4)]['ERROR_COMPILING_CONDITION'][_0x4d567b(0x188)]+_0x15f1c7[_0x4d567b(0x1fe)]});else{if(!_0x15f1c7[_0x4d567b(0x1d5)]){this[_0x4d567b(0x1fc)]['info'](_0x4d567b(0x179));return;}}const _0x12c695=process[_0x4d567b(0x1b4)]();try{this['captureBreakpointData'](_0x3dc490,_0x125323);}catch(_0x463ebe){return(0x0,utils_1[_0x4d567b(0x182)])(_0x4948d0,_0x3dc490,status_message_1[_0x4d567b(0x187)][_0x4d567b(0x1db)],utils_1[_0x4d567b(0x1e4)][_0x4d567b(0x19b)]+_0x463ebe);}const _0x56c1ed=process[_0x4d567b(0x1b4)](_0x12c695);this['logger'][_0x4d567b(0x174)]((0x0,utils_1['formatInterval'])(_0x4d567b(0x1c0),_0x56c1ed)),_0x4948d0(null);}['checkCondition'](_0x389a26,_0x5b2030){const _0x48816b=a37_0x30c736;if(!_0x389a26['condition'])return{'value':!![]};const _0x2f0f62=state[_0x48816b(0x198)](_0x389a26[_0x48816b(0x1fa)],_0x5b2030[_0x48816b(0x1ae)](0x0));if(_0x2f0f62[_0x48816b(0x1fe)])return{'error':_0x2f0f62[_0x48816b(0x1fe)]};return{'value':!!_0x2f0f62[_0x48816b(0x1e1)][_0x48816b(0x1d5)]()};}[a37_0x30c736(0x1cc)](_0xaec7f3,_0x5397d6){const _0x38d270=a37_0x30c736,_0x302a77=[];if(_0xaec7f3['expressions']&&this[_0x38d270(0x1a1)][_0xaec7f3['id']][_0x38d270(0x1ed)])for(let _0x5acbfd=0x0;_0x5acbfd<_0xaec7f3[_0x38d270(0x1d2)][_0x38d270(0x199)];_0x5acbfd++){try{_0xaec7f3['expressions'][_0x5acbfd]=this[_0x38d270(0x1a1)][_0xaec7f3['id']]['compile'](_0xaec7f3[_0x38d270(0x1d2)][_0x5acbfd]);}catch(_0x41c4e9){this[_0x38d270(0x1fc)][_0x38d270(0x174)](_0x38d270(0x1ca)+_0xaec7f3['expressions'][_0x5acbfd]+'\x20<<'),_0x302a77[_0x38d270(0x1df)]({'name':_0xaec7f3[_0x38d270(0x1d2)][_0x5acbfd],'status':new status_message_1[(_0x38d270(0x187))](status_message_1[_0x38d270(0x187)][_0x38d270(0x1c6)],utils_1[_0x38d270(0x1e4)][_0x38d270(0x1d4)],!![])}),_0xaec7f3['expressions'][_0x38d270(0x1bf)](_0x5acbfd,0x1),_0x5acbfd--;}}if(_0xaec7f3[_0x38d270(0x184)]===_0x38d270(0x17f)){if(!_0xaec7f3[_0x38d270(0x1d2)])_0xaec7f3[_0x38d270(0x18d)]=[];else{const _0x103b5f=_0x5397d6['frame'](0x0),_0x3c89e2=_0xaec7f3[_0x38d270(0x1d2)][_0x38d270(0x1c8)](_0x5caa76=>{const _0x3054db=_0x38d270,_0x316d3e=state[_0x3054db(0x198)](_0x5caa76,_0x103b5f);return _0x316d3e['error']?_0x316d3e['error']:_0x316d3e[_0x3054db(0x1e1)][_0x3054db(0x1d5)]();});_0xaec7f3[_0x38d270(0x18d)]=_0x3c89e2;}}else{const _0x31ae54=state[_0x38d270(0x1ee)](_0x5397d6,_0xaec7f3['expressions'],this['config'],this['v8'],this[_0x38d270(0x1ab)]);_0xaec7f3[_0x38d270(0x1d9)]&&(0x0,utils_1[_0x38d270(0x183)])(_0xaec7f3[_0x38d270(0x1d9)][_0x38d270(0x1b9)])&&_0x31ae54[_0x38d270(0x1d9)]&&_0x31ae54['location']['line']&&(_0xaec7f3[_0x38d270(0x1d9)][_0x38d270(0x192)]=_0x31ae54[_0x38d270(0x1d9)][_0x38d270(0x192)]),_0xaec7f3[_0x38d270(0x1c7)]=_0x31ae54[_0x38d270(0x1c7)],_0xaec7f3[_0x38d270(0x1e7)]=_0x31ae54['variableTable'],_0xaec7f3[_0x38d270(0x18d)]=_0x302a77['concat'](_0x31ae54[_0x38d270(0x18d)]);}}}exports[a37_0x30c736(0x1c5)]=V8DebugApi;
|
|
1
|
+
const a37_0x2cb95b=a37_0x40f4;(function(_0x371410,_0xe2e7f9){const _0x4005ea=a37_0x40f4,_0x45df1a=_0x371410();while(!![]){try{const _0x1ca976=parseInt(_0x4005ea(0x15a))/0x1+parseInt(_0x4005ea(0x178))/0x2*(parseInt(_0x4005ea(0x19e))/0x3)+parseInt(_0x4005ea(0x155))/0x4*(-parseInt(_0x4005ea(0x167))/0x5)+-parseInt(_0x4005ea(0x165))/0x6+parseInt(_0x4005ea(0x161))/0x7*(-parseInt(_0x4005ea(0x1b6))/0x8)+parseInt(_0x4005ea(0x148))/0x9*(-parseInt(_0x4005ea(0x1a0))/0xa)+parseInt(_0x4005ea(0x134))/0xb;if(_0x1ca976===_0xe2e7f9)break;else _0x45df1a['push'](_0x45df1a['shift']());}catch(_0x110c9b){_0x45df1a['push'](_0x45df1a['shift']());}}}(a37_0x3001,0xbb526));const a37_0x147e8b=(function(){let _0x545cc6=!![];return function(_0x9909cb,_0xd6edc7){const _0x507ec7=_0x545cc6?function(){const _0x34c9f0=a37_0x40f4;if(_0xd6edc7){const _0x564673=_0xd6edc7[_0x34c9f0(0x1aa)](_0x9909cb,arguments);return _0xd6edc7=null,_0x564673;}}:function(){};return _0x545cc6=![],_0x507ec7;};}()),a37_0x3b500a=a37_0x147e8b(this,function(){const _0x3b383c=a37_0x40f4;return a37_0x3b500a[_0x3b383c(0x163)]()[_0x3b383c(0x17c)](_0x3b383c(0x186))['toString']()['constructor'](a37_0x3b500a)[_0x3b383c(0x17c)](_0x3b383c(0x186));});a37_0x3b500a();function a37_0x3001(){const _0x252b95=['clear','Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20','3RrxLSo','mappingInfo','302920nzqljF','\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the','shouldBlock','DummyBlocklistManager','ERROR_COMPILING_CONDITION','LOG','logger','INVALID_LINE_NUMBER','V8_BREAKPOINT_DISABLED','number','apply','map','splice','errors','set','acorn','capture\x20time:\x20','activating\x20v8\x20breakpoint\x20listener','setErrorStatusAndCallback','SOURCE_FILE_AMBIGUOUS','normalize','setByRegExp','506120qnQGwM','hrtime','V8_BREAKPOINT_CLEAR_ERROR','handleDebugEvents','logMessageFormat','pathToRegExp','fileStats','apiBreakpoint','>>>V8\x20breakpoint\x20hit<<<\x20number:\x20','line','column','../state/legacy-state','parsedCondition','message','sourcemapper','.\x20Loaded\x20script\x20contained\x20','DISALLOWED_EXPRESSION','forEach','disable','capture','\x20lines.\x20Please\x20ensure','31837993GhMoUC','v8Version','VARIABLE_VALUE','remainingHits','CAPTURE_BREAKPOINT_DATA','__esModule','quota','.\x20Potential\x20matches:\x20','includes','semver','versions','file','parse','activating\x20v8\x20breakpoint\x20listener\x20(permanent)','enabled','length','warn','breakpoints','numListeners_','concat','45mAsktT','quotaRecoverySeconds','setInternal','action','error','BREAKPOINT_PATH_BLOCKED','undefined','V8BreakpointData','push','stackFrames','value','isValid','exec','50460THXifP','V8DebugApi','deactivating\x20v8\x20breakpoint\x20listener','log','BREAKPOINT_SOURCE_LOCATION','141368GzFRej','../../client/stackdriver/status-message','formatInterval','BREAKPOINT_CONDITION','SOURCE_FILE_NOT_FOUND','description','DebugEvent','21taQhKf','ERROR_EVALUATING_CONDITION','toString','isJavaScriptFile','8461572jwTvMy','v8Breakpoint','345jgamZG','variableTable','active','Unable\x20to\x20compile\x20condition\x20>>\x20','needsRecoveryTime','location','defineProperty','setBlocklistManager','\x09the\x20breakpoint\x20condition\x20wasn\x27t\x20met','config','Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20','UNSPECIFIED','\x20deployed\x20source.','mirror','keys','extname','blocklistManager','706982xHTtGK','wait','bind','compile','search','findScripts','evaluatedExpressions','../util/utils','info','path','evaluate','listeners','fileIndex','COULD_NOT_FIND_MAPPING_FILE','(((.+)+)+)+$','captureBreakpointData','quotaManager','hasMappingInfo','findBreakPoint','satisfies','script','./debugapi','StatusMessage','condition','numBreakpoints','\x20<<','checkCondition','enable','setListener','expressions','javascriptFileExtensions','onBreakpointHit','numBreakpoints_','INVALID_BREAKPOINT','script_break_point','usePermanentListener'];a37_0x3001=function(){return _0x252b95;};return a37_0x3001();}'use strict';Object[a37_0x2cb95b(0x16d)](exports,a37_0x2cb95b(0x139),{'value':!![]}),exports['V8DebugApi']=exports[a37_0x2cb95b(0x14f)]=void 0x0;const acorn=require(a37_0x2cb95b(0x1af)),path=require('path'),semver=require(a37_0x2cb95b(0x13d)),vm=require('vm'),status_message_1=require(a37_0x2cb95b(0x15b)),state=require(a37_0x2cb95b(0x12a)),utils_1=require(a37_0x2cb95b(0x17f)),debugapi=require(a37_0x2cb95b(0x18d)),dummy_blocklist_manager_1=require('../blocklisting/dummy-blocklist-manager');function a37_0x40f4(_0x3e5c4c,_0x479a93){const _0x573c12=a37_0x3001();return a37_0x40f4=function(_0x3b500a,_0x147e8b){_0x3b500a=_0x3b500a-0x126;let _0x300144=_0x573c12[_0x3b500a];return _0x300144;},a37_0x40f4(_0x3e5c4c,_0x479a93);}class V8BreakpointData{constructor(_0x164f31,_0x2f397c,_0x177f90,_0x48a3fb){const _0x46ea1d=a37_0x2cb95b;this[_0x46ea1d(0x126)]=_0x164f31,this['v8Breakpoint']=_0x2f397c,this[_0x46ea1d(0x12b)]=_0x177f90,this['compile']=_0x48a3fb;}}exports['V8BreakpointData']=V8BreakpointData;class V8DebugApi{constructor(_0x14d9c9,_0x56895f,_0x3a94a9,_0x521b37,_0x4f20b1){const _0x4db443=a37_0x2cb95b;this[_0x4db443(0x145)]={},this[_0x4db443(0x183)]={},this['numBreakpoints']=0x0,this[_0x4db443(0x12d)]=_0x521b37,this['v8']=vm['runInDebugContext']('Debug'),this[_0x4db443(0x170)]=_0x56895f,this[_0x4db443(0x184)]=_0x3a94a9,this[_0x4db443(0x135)]=/(\d+\.\d+\.\d+)\.\d+/[_0x4db443(0x154)](process[_0x4db443(0x13e)]['v8']),this['logger']=_0x14d9c9,this[_0x4db443(0x19b)]=semver[_0x4db443(0x18b)](this[_0x4db443(0x135)][0x1],'>=4.5'),this[_0x4db443(0x188)]=_0x4f20b1,this[_0x4db443(0x177)]=new dummy_blocklist_manager_1[(_0x4db443(0x1a3))](!![]),this[_0x4db443(0x1b9)]=(_0x370ce1,_0x49beef,_0x572ab9)=>{const _0x5711cd=_0x4db443;try{switch(_0x370ce1){case this['v8'][_0x5711cd(0x160)]['Break']:_0x572ab9['breakPointsHit']()[_0x5711cd(0x130)](_0x5d81d9=>{const _0x5604a5=_0x5711cd,_0x5c85e5=_0x5d81d9[_0x5604a5(0x19a)]()[_0x5604a5(0x1a9)]();this['listeners'][_0x5c85e5][_0x5604a5(0x142)]&&(this[_0x5604a5(0x1a6)][_0x5604a5(0x180)](_0x5604a5(0x127)+_0x5c85e5),this[_0x5604a5(0x183)][_0x5c85e5]['listener'](_0x49beef,_0x572ab9));});break;default:}}catch(_0x2f60bc){this[_0x5711cd(0x1a6)][_0x5711cd(0x144)](_0x5711cd(0x19d)+_0x2f60bc);}},this[_0x4db443(0x19b)]&&(this['logger'][_0x4db443(0x180)](_0x4db443(0x141)),this['v8'][_0x4db443(0x194)](this['handleDebugEvents']));}[a37_0x2cb95b(0x1ae)](_0x134a1b,_0x257a64){const _0x16a23c=a37_0x2cb95b;if(!this['v8']||!_0x134a1b||typeof _0x134a1b['id']==='undefined'||!_0x134a1b[_0x16a23c(0x16c)]||!_0x134a1b[_0x16a23c(0x16c)][_0x16a23c(0x181)]||!_0x134a1b[_0x16a23c(0x16c)][_0x16a23c(0x128)])return(0x0,utils_1['setErrorStatusAndCallback'])(_0x257a64,_0x134a1b,status_message_1[_0x16a23c(0x18e)][_0x16a23c(0x172)],utils_1[_0x16a23c(0x1ad)][_0x16a23c(0x199)]);const _0x25fbb3=path[_0x16a23c(0x1b4)](_0x134a1b['location']['path']);if(this['blocklistManager'][_0x16a23c(0x1a2)](_0x25fbb3))return(0x0,utils_1[_0x16a23c(0x1b2)])(_0x257a64,_0x134a1b,status_message_1[_0x16a23c(0x18e)]['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x16a23c(0x1ad)][_0x16a23c(0x14d)]);if(!this[_0x16a23c(0x12d)][_0x16a23c(0x189)](_0x25fbb3)){const _0x358261=path[_0x16a23c(0x176)](_0x25fbb3);if(!this['config'][_0x16a23c(0x196)][_0x16a23c(0x13c)](_0x358261))return(0x0,utils_1['setErrorStatusAndCallback'])(_0x257a64,_0x134a1b,status_message_1[_0x16a23c(0x18e)][_0x16a23c(0x159)],utils_1[_0x16a23c(0x1ad)][_0x16a23c(0x185)]);this[_0x16a23c(0x14a)](_0x134a1b,null,null,_0x257a64);}else{const _0x1557d8=_0x134a1b[_0x16a23c(0x16c)][_0x16a23c(0x128)],_0x4772f6=0x0,_0x463fae=this['sourcemapper'][_0x16a23c(0x19f)](_0x25fbb3,_0x1557d8,_0x4772f6),_0x4e4a1b=(0x0,utils_1['getBreakpointCompiler'])(_0x134a1b);if(_0x134a1b[_0x16a23c(0x18f)]&&_0x4e4a1b)try{_0x134a1b[_0x16a23c(0x18f)]=_0x4e4a1b(_0x134a1b[_0x16a23c(0x18f)]);}catch(_0x4e3e24){return this['logger'][_0x16a23c(0x180)](_0x16a23c(0x16a)+_0x134a1b[_0x16a23c(0x18f)]+_0x16a23c(0x191)),(0x0,utils_1[_0x16a23c(0x1b2)])(_0x257a64,_0x134a1b,status_message_1[_0x16a23c(0x18e)][_0x16a23c(0x15d)],utils_1[_0x16a23c(0x1ad)][_0x16a23c(0x1a4)]);}this['setInternal'](_0x134a1b,_0x463fae,_0x4e4a1b,_0x257a64);}}[a37_0x2cb95b(0x19c)](_0x4490f9,_0x3368d8){const _0x32b0a1=a37_0x2cb95b;if(typeof _0x4490f9['id']===_0x32b0a1(0x14e))return(0x0,utils_1['setErrorStatusAndCallback'])(_0x3368d8,_0x4490f9,status_message_1[_0x32b0a1(0x18e)][_0x32b0a1(0x15d)],utils_1[_0x32b0a1(0x1ad)][_0x32b0a1(0x1b8)]);const _0x5e112d=this['breakpoints'][_0x4490f9['id']];if(!_0x5e112d)return(0x0,utils_1[_0x32b0a1(0x1b2)])(_0x3368d8,_0x4490f9,status_message_1[_0x32b0a1(0x18e)]['BREAKPOINT_CONDITION'],utils_1['errors'][_0x32b0a1(0x1b8)]);const _0xae990c=_0x5e112d[_0x32b0a1(0x166)];this['v8']['clearBreakPoint'](_0xae990c[_0x32b0a1(0x1a9)]()),delete this[_0x32b0a1(0x145)][_0x4490f9['id']],delete this[_0x32b0a1(0x183)][_0xae990c[_0x32b0a1(0x1a9)]()],this[_0x32b0a1(0x190)]--,this['numBreakpoints']===0x0&&!this['usePermanentListener']&&(this[_0x32b0a1(0x1a6)][_0x32b0a1(0x180)](_0x32b0a1(0x157)),this['v8']['setListener'](null)),setImmediate(()=>{_0x3368d8(null);});}[a37_0x2cb95b(0x179)](_0x6824ba,_0x265e7c){const _0x89cbf4=a37_0x2cb95b,_0x1fefac=this,_0x233a3c=_0x1fefac[_0x89cbf4(0x145)][_0x6824ba['id']][_0x89cbf4(0x166)]['number'](),_0x710896=this['onBreakpointHit'][_0x89cbf4(0x17a)](this,_0x6824ba,_0x1f09d9=>{const _0x12fb6f=_0x89cbf4;_0x1fefac['listeners'][_0x233a3c][_0x12fb6f(0x142)]=![],setImmediate(()=>{_0x265e7c(_0x1f09d9||undefined);});});_0x1fefac['listeners'][_0x233a3c]={'enabled':!![],'listener':_0x710896};}[a37_0x2cb95b(0x158)](_0x9ff353,_0x520fc6,_0xcf95a5,_0x38712f){const _0x564ded=a37_0x2cb95b,_0x27994c=this,_0x226377=_0x27994c[_0x564ded(0x145)][_0x9ff353['id']][_0x564ded(0x166)][_0x564ded(0x1a9)](),_0x19dd9a=this[_0x564ded(0x197)]['bind'](this,_0x9ff353,_0x30b444=>{const _0xd2154=_0x564ded;_0x30b444&&(this[_0xd2154(0x183)][_0x9ff353['id']]['enabled']=![],setImmediate(()=>{_0x38712f(_0x30b444||undefined);})),_0x520fc6(_0x9ff353[_0xd2154(0x1ba)],_0x9ff353[_0xd2154(0x17e)]),_0xcf95a5()?_0x27994c[_0xd2154(0x183)][_0x226377][_0xd2154(0x142)]=![]:this[_0xd2154(0x188)][_0xd2154(0x16b)](_0x9ff353['id'])&&(_0x27994c[_0xd2154(0x183)][_0x226377][_0xd2154(0x142)]=![],setTimeout(()=>{const _0x3ec641=_0xd2154;!_0xcf95a5()&&_0x27994c['listeners'][_0x226377]&&(_0x27994c[_0x3ec641(0x183)][_0x226377][_0x3ec641(0x142)]=!![]),this[_0x3ec641(0x188)]['recovered'](_0x9ff353['id']);},_0x27994c[_0xd2154(0x170)][_0xd2154(0x13a)][_0xd2154(0x149)]*0x3e8));});_0x27994c[_0x564ded(0x183)][_0x226377]={'enabled':!![],'listener':_0x19dd9a};}['disconnect'](){return;}[a37_0x2cb95b(0x193)](){}[a37_0x2cb95b(0x131)](){}[a37_0x2cb95b(0x198)](){const _0x39fa74=a37_0x2cb95b;return Object[_0x39fa74(0x175)](this['breakpoints'])[_0x39fa74(0x143)];}[a37_0x2cb95b(0x146)](){const _0x338c23=a37_0x2cb95b;return Object['keys'](this[_0x338c23(0x183)])[_0x338c23(0x143)];}[a37_0x2cb95b(0x137)](){return 0x0;}[a37_0x2cb95b(0x16e)](_0x19a7e3){const _0x3227bc=a37_0x2cb95b;this[_0x3227bc(0x177)]=_0x19a7e3;}[a37_0x2cb95b(0x14a)](_0x448dfa,_0x2c45c6,_0x37efa5,_0x53c60e){const _0x499fd2=a37_0x2cb95b;let _0x566369=null;if(_0x448dfa[_0x499fd2(0x18f)])try{_0x566369=acorn[_0x499fd2(0x140)](_0x448dfa[_0x499fd2(0x18f)],{'sourceType':_0x499fd2(0x18c),'ecmaVersion':0x6});const _0x10f6f5=require('../util/validator.js');if(!_0x10f6f5[_0x499fd2(0x153)](_0x566369,!![]))return(0x0,utils_1[_0x499fd2(0x1b2)])(_0x53c60e,_0x448dfa,status_message_1[_0x499fd2(0x18e)][_0x499fd2(0x15d)],utils_1[_0x499fd2(0x1ad)][_0x499fd2(0x12f)]);}catch(_0x3f2965){return(0x0,utils_1['setErrorStatusAndCallback'])(_0x53c60e,_0x448dfa,status_message_1['StatusMessage']['BREAKPOINT_CONDITION'],utils_1[_0x499fd2(0x1ad)]['SYNTAX_ERROR_IN_CONDITION']+_0x3f2965[_0x499fd2(0x12c)]);}let _0x1b9042;const _0x48af68=_0x2c45c6?_0x2c45c6[_0x499fd2(0x13f)]:path['normalize'](_0x448dfa[_0x499fd2(0x16c)][_0x499fd2(0x181)]),_0x481b5c=(0x0,utils_1[_0x499fd2(0x17d)])(_0x48af68,this['config'],this['fileIndex'],this[_0x499fd2(0x1a6)]);if(_0x481b5c['length']===0x0)return(0x0,utils_1[_0x499fd2(0x1b2)])(_0x53c60e,_0x448dfa,status_message_1[_0x499fd2(0x18e)][_0x499fd2(0x159)],utils_1[_0x499fd2(0x1ad)][_0x499fd2(0x15e)]);else{if(_0x481b5c[_0x499fd2(0x143)]===0x1)_0x1b9042=_0x481b5c[0x0];else return this[_0x499fd2(0x1a6)][_0x499fd2(0x144)]('Unable\x20to\x20unambiguously\x20find\x20'+_0x48af68+_0x499fd2(0x13b)+_0x481b5c),(0x0,utils_1['setErrorStatusAndCallback'])(_0x53c60e,_0x448dfa,status_message_1['StatusMessage'][_0x499fd2(0x159)],utils_1['errors'][_0x499fd2(0x1b3)]);}let _0x1f8833=_0x2c45c6&&_0x2c45c6[_0x499fd2(0x129)]?_0x2c45c6[_0x499fd2(0x129)]:_0x448dfa[_0x499fd2(0x16c)]['column']||0x1;const _0xddd056=_0x2c45c6?_0x2c45c6[_0x499fd2(0x128)]:_0x448dfa[_0x499fd2(0x16c)][_0x499fd2(0x128)];_0xddd056===0x1&&(_0x1f8833+=debugapi['MODULE_WRAP_PREFIX_LENGTH']-0x1);if(_0xddd056>=this[_0x499fd2(0x184)][_0x499fd2(0x1bc)][_0x1b9042]['lines'])return(0x0,utils_1[_0x499fd2(0x1b2)])(_0x53c60e,_0x448dfa,status_message_1[_0x499fd2(0x18e)]['BREAKPOINT_SOURCE_LOCATION'],{...utils_1[_0x499fd2(0x1ad)]['INVALID_LINE_NUMBER'],'description':utils_1['errors'][_0x499fd2(0x1a7)]['description']+_0x1b9042+':'+_0xddd056+_0x499fd2(0x12e)+this[_0x499fd2(0x184)]['fileStats'][_0x1b9042]['lines']+_0x499fd2(0x133)+_0x499fd2(0x1a1)+_0x499fd2(0x173)});const _0x18244a=this[_0x499fd2(0x1b5)](_0x1b9042,_0xddd056,_0x1f8833);if(!_0x18244a)return(0x0,utils_1[_0x499fd2(0x1b2)])(_0x53c60e,_0x448dfa,status_message_1[_0x499fd2(0x18e)][_0x499fd2(0x159)],utils_1[_0x499fd2(0x1ad)]['V8_BREAKPOINT_ERROR']);this[_0x499fd2(0x190)]===0x0&&!this[_0x499fd2(0x19b)]&&(this[_0x499fd2(0x1a6)][_0x499fd2(0x180)](_0x499fd2(0x1b1)),this['v8'][_0x499fd2(0x194)](this[_0x499fd2(0x1b9)])),this[_0x499fd2(0x145)][_0x448dfa['id']]=new V8BreakpointData(_0x448dfa,_0x18244a,_0x566369,_0x37efa5),this[_0x499fd2(0x190)]++,setImmediate(()=>{_0x53c60e(null);});}[a37_0x2cb95b(0x1b5)](_0x31d13a,_0x3bc234,_0x580116){const _0x196fc1=a37_0x2cb95b,_0x355574=(0x0,utils_1[_0x196fc1(0x1bb)])(_0x31d13a),_0x1c7b4b=this['v8']['setScriptBreakPointByRegExp'](_0x355574,_0x3bc234-0x1,_0x580116-0x1),_0x59ce57=this['v8'][_0x196fc1(0x18a)](_0x1c7b4b);return _0x59ce57;}[a37_0x2cb95b(0x197)](_0x2d377d,_0x5dda50,_0x545517){const _0x1fb634=a37_0x2cb95b,_0x4cfd57=this[_0x1fb634(0x145)][_0x2d377d['id']][_0x1fb634(0x166)];if(!_0x4cfd57[_0x1fb634(0x169)]())return(0x0,utils_1[_0x1fb634(0x1b2)])(_0x5dda50,_0x2d377d,status_message_1[_0x1fb634(0x18e)][_0x1fb634(0x159)],utils_1[_0x1fb634(0x1ad)][_0x1fb634(0x1a8)]);const _0x1018d7=this[_0x1fb634(0x192)](_0x2d377d,_0x545517);if(_0x1018d7[_0x1fb634(0x14c)])return(0x0,utils_1[_0x1fb634(0x1b2)])(_0x5dda50,_0x2d377d,status_message_1['StatusMessage'][_0x1fb634(0x15d)],{...utils_1['errors'][_0x1fb634(0x162)],'description':utils_1[_0x1fb634(0x1ad)][_0x1fb634(0x1a4)][_0x1fb634(0x15f)]+_0x1018d7[_0x1fb634(0x14c)]});else{if(!_0x1018d7[_0x1fb634(0x152)]){this[_0x1fb634(0x1a6)][_0x1fb634(0x180)](_0x1fb634(0x16f));return;}}const _0x505d24=process[_0x1fb634(0x1b7)]();try{this[_0x1fb634(0x187)](_0x2d377d,_0x545517);}catch(_0x4113b1){return(0x0,utils_1[_0x1fb634(0x1b2)])(_0x5dda50,_0x2d377d,status_message_1[_0x1fb634(0x18e)][_0x1fb634(0x159)],utils_1[_0x1fb634(0x1ad)][_0x1fb634(0x138)]+_0x4113b1);}const _0x164176=process[_0x1fb634(0x1b7)](_0x505d24);this[_0x1fb634(0x1a6)][_0x1fb634(0x180)]((0x0,utils_1[_0x1fb634(0x15c)])(_0x1fb634(0x1b0),_0x164176)),_0x5dda50(null);}[a37_0x2cb95b(0x192)](_0x2d8b47,_0x22247a){const _0x581962=a37_0x2cb95b;if(!_0x2d8b47[_0x581962(0x18f)])return{'value':!![]};const _0x6a8289=state[_0x581962(0x182)](_0x2d8b47[_0x581962(0x18f)],_0x22247a['frame'](0x0));if(_0x6a8289[_0x581962(0x14c)])return{'error':_0x6a8289['error']};return{'value':!!_0x6a8289['mirror'][_0x581962(0x152)]()};}[a37_0x2cb95b(0x187)](_0x307e85,_0x178a2c){const _0xc521df=a37_0x2cb95b,_0x3de816=[];if(_0x307e85[_0xc521df(0x195)]&&this['breakpoints'][_0x307e85['id']][_0xc521df(0x17b)])for(let _0x39bfba=0x0;_0x39bfba<_0x307e85[_0xc521df(0x195)][_0xc521df(0x143)];_0x39bfba++){try{_0x307e85[_0xc521df(0x195)][_0x39bfba]=this[_0xc521df(0x145)][_0x307e85['id']][_0xc521df(0x17b)](_0x307e85['expressions'][_0x39bfba]);}catch(_0x2a8e77){this[_0xc521df(0x1a6)][_0xc521df(0x180)](_0xc521df(0x171)+_0x307e85[_0xc521df(0x195)][_0x39bfba]+_0xc521df(0x191)),_0x3de816[_0xc521df(0x150)]({'name':_0x307e85[_0xc521df(0x195)][_0x39bfba],'status':new status_message_1['StatusMessage'](status_message_1['StatusMessage'][_0xc521df(0x136)],utils_1[_0xc521df(0x1ad)]['EXPRESSION_COMPILING_ERROR'],!![])}),_0x307e85[_0xc521df(0x195)][_0xc521df(0x1ac)](_0x39bfba,0x1),_0x39bfba--;}}if(_0x307e85[_0xc521df(0x14b)]===_0xc521df(0x1a5)){if(!_0x307e85[_0xc521df(0x195)])_0x307e85[_0xc521df(0x17e)]=[];else{const _0x1c2b04=_0x178a2c['frame'](0x0),_0x1a8a7e=_0x307e85['expressions'][_0xc521df(0x1ab)](_0x9772e5=>{const _0x202a01=_0xc521df,_0x235835=state[_0x202a01(0x182)](_0x9772e5,_0x1c2b04);return _0x235835['error']?_0x235835[_0x202a01(0x14c)]:_0x235835[_0x202a01(0x174)]['value']();});_0x307e85[_0xc521df(0x17e)]=_0x1a8a7e;}}else{const _0x1d3c63=state[_0xc521df(0x132)](_0x178a2c,_0x307e85['expressions'],this['config'],this['v8'],this[_0xc521df(0x177)]);_0x307e85[_0xc521df(0x16c)]&&(0x0,utils_1[_0xc521df(0x164)])(_0x307e85[_0xc521df(0x16c)][_0xc521df(0x181)])&&_0x1d3c63[_0xc521df(0x16c)]&&_0x1d3c63['location'][_0xc521df(0x128)]&&(_0x307e85[_0xc521df(0x16c)][_0xc521df(0x128)]=_0x1d3c63[_0xc521df(0x16c)][_0xc521df(0x128)]),_0x307e85[_0xc521df(0x151)]=_0x1d3c63[_0xc521df(0x151)],_0x307e85[_0xc521df(0x168)]=_0x1d3c63[_0xc521df(0x168)],_0x307e85['evaluatedExpressions']=_0x3de816[_0xc521df(0x147)](_0x1d3c63['evaluatedExpressions']);}}}exports[a37_0x2cb95b(0x156)]=V8DebugApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a38_0x573324=a38_0x37e0;(function(_0x11a8b0,_0x2d8425){const _0x4d1d52=a38_0x37e0,_0x3adfda=_0x11a8b0();while(!![]){try{const _0x17ed81=parseInt(_0x4d1d52(0x11e))/0x1*(-parseInt(_0x4d1d52(0x114))/0x2)+parseInt(_0x4d1d52(0x10f))/0x3*(parseInt(_0x4d1d52(0x11c))/0x4)+parseInt(_0x4d1d52(0x13f))/0x5*(parseInt(_0x4d1d52(0x13d))/0x6)+-parseInt(_0x4d1d52(0x148))/0x7+-parseInt(_0x4d1d52(0x144))/0x8*(parseInt(_0x4d1d52(0x12f))/0x9)+parseInt(_0x4d1d52(0x13b))/0xa*(-parseInt(_0x4d1d52(0x147))/0xb)+parseInt(_0x4d1d52(0x121))/0xc*(parseInt(_0x4d1d52(0x150))/0xd);if(_0x17ed81===_0x2d8425)break;else _0x3adfda['push'](_0x3adfda['shift']());}catch(_0x92fd61){_0x3adfda['push'](_0x3adfda['shift']());}}}(a38_0xdeab,0xa9ec1));const a38_0x53ccfc=(function(){let _0x35675c=!![];return function(_0x225493,_0x40c2ef){const _0x137f5e=_0x35675c?function(){const _0x4f0dc4=a38_0x37e0;if(_0x40c2ef){const _0x3d1e45=_0x40c2ef[_0x4f0dc4(0x136)](_0x225493,arguments);return _0x40c2ef=null,_0x3d1e45;}}:function(){};return _0x35675c=![],_0x137f5e;};}()),a38_0x3f7c15=a38_0x53ccfc(this,function(){const _0xafacc3=a38_0x37e0;return a38_0x3f7c15[_0xafacc3(0x125)]()[_0xafacc3(0x14c)](_0xafacc3(0x139))[_0xafacc3(0x125)]()[_0xafacc3(0x126)](a38_0x3f7c15)[_0xafacc3(0x14c)](_0xafacc3(0x139));});a38_0x3f7c15();'use strict';Object[a38_0x573324(0x14b)](exports,a38_0x573324(0x149),{'value':!![]}),exports[a38_0x573324(0x124)]=void 0x0;const inspector=require(a38_0x573324(0x110));class V8Inspector{constructor(_0x13bfc7,_0x1e68dd,_0x39c039,_0x20f86e,_0x101887,_0x1b9ca3){const _0x8f7540=a38_0x573324;this[_0x8f7540(0x13c)]=_0x13bfc7,this[_0x8f7540(0x135)]=_0x1e68dd,this[_0x8f7540(0x118)]=_0x39c039,this[_0x8f7540(0x111)]=_0x20f86e,this[_0x8f7540(0x14d)]=_0x101887,this[_0x8f7540(0x143)]=_0x1b9ca3,this[_0x8f7540(0x12e)]=null,this[_0x8f7540(0x131)]={},this[_0x8f7540(0x117)]=null,this[_0x8f7540(0x123)]=0x0,_0x13bfc7[_0x8f7540(0x146)](_0x8f7540(0x115));}[a38_0x573324(0x137)](){const _0x4f0a6d=a38_0x573324;return this[_0x4f0a6d(0x135)];}['setBreakpointByUrl'](_0x1f3a30,_0x216295=this[a38_0x573324(0x117)]!==null){const _0x4d1d36=a38_0x573324;_0x216295?this[_0x4d1d36(0x12a)](![]):this[_0x4d1d36(0x119)]();this[_0x4d1d36(0x13c)]['debug']('setBreakpointByUrl:\x20',_0x1f3a30?.[_0x4d1d36(0x122)],_0x4d1d36(0x127),_0x1f3a30?.[_0x4d1d36(0x132)],_0x4d1d36(0x13e),_0x1f3a30?.[_0x4d1d36(0x142)]);const _0x39c8b8={};return this[_0x4d1d36(0x12e)]['post']('Debugger.setBreakpointByUrl',_0x1f3a30,(_0x2e8cae,_0x25875d)=>{const _0x137779=_0x4d1d36;_0x2e8cae?_0x39c8b8['error']=_0x2e8cae:this[_0x137779(0x131)][_0x25875d['breakpointId']]=_0x1f3a30,_0x39c8b8['response']=_0x25875d;}),_0x216295&&(_0x39c8b8[_0x4d1d36(0x11b)]&&(this[_0x4d1d36(0x117)][_0x39c8b8[_0x4d1d36(0x11b)]['breakpointId']]=this[_0x4d1d36(0x131)][_0x39c8b8[_0x4d1d36(0x11b)][_0x4d1d36(0x12c)]]),this[_0x4d1d36(0x11f)](![])),_0x39c8b8;}['removeBreakpoint'](_0x517132){const _0x2f429e=a38_0x573324;this[_0x2f429e(0x119)]();const _0x58938e={};return this['session'][_0x2f429e(0x152)](_0x2f429e(0x128),{'breakpointId':_0x517132},_0x2f0367=>{const _0x34ee41=_0x2f429e;if(_0x2f0367)_0x58938e[_0x34ee41(0x11d)]=_0x2f0367;delete this[_0x34ee41(0x131)][_0x517132],Object[_0x34ee41(0x12d)](this[_0x34ee41(0x131)])['length']===0x0&&this[_0x34ee41(0x12b)]();}),this['prevStoreSetBreakpointParams']!==null&&delete this['prevStoreSetBreakpointParams'][_0x517132],_0x58938e;}[a38_0x573324(0x113)](_0x4d4552){const _0x355c18=a38_0x573324;this[_0x355c18(0x119)]();const _0x167adf={};return this[_0x355c18(0x12e)]['post'](_0x355c18(0x138),_0x4d4552,(_0x442b20,_0x1ba414)=>{const _0x5dc089=_0x355c18;if(_0x442b20)_0x167adf[_0x5dc089(0x11d)]=_0x442b20;_0x167adf[_0x5dc089(0x11b)]=_0x1ba414;}),_0x167adf;}[a38_0x573324(0x145)](_0x1af84c){const _0xc42e93=a38_0x573324;this['attach']();const _0x3c5e5f={};return this[_0xc42e93(0x12e)][_0xc42e93(0x152)]('Runtime.evaluate',_0x1af84c,(_0x52d6c6,_0x2cc98b)=>{const _0x19e307=_0xc42e93;_0x3c5e5f['response']=_0x2cc98b,_0x3c5e5f[_0x19e307(0x11d)]=_0x52d6c6||undefined;}),_0x3c5e5f;}['callFunctionOn'](_0x22a997){const _0x94e304=a38_0x573324;this[_0x94e304(0x119)]();const _0x934f99={};return this['session'][_0x94e304(0x152)](_0x94e304(0x134),_0x22a997,(_0x2ad4bb,_0x277821)=>{_0x934f99['response']=_0x277821,_0x934f99['error']=_0x2ad4bb||undefined;}),_0x934f99;}[a38_0x573324(0x11a)](_0x280320){const _0x13e6a3=a38_0x573324;this[_0x13e6a3(0x119)](),this['session'][_0x13e6a3(0x152)]('Runtime.releaseObject',_0x280320);}[a38_0x573324(0x151)](_0x5d94aa){const _0x5ecc0b=a38_0x573324,_0x121ac5={};return this[_0x5ecc0b(0x119)](),this[_0x5ecc0b(0x12e)][_0x5ecc0b(0x152)]('Runtime.getProperties',_0x5d94aa,(_0x2708d8,_0x34c0fc)=>{const _0x4bf2d7=_0x5ecc0b;if(_0x2708d8)_0x121ac5[_0x4bf2d7(0x11d)]=_0x2708d8;_0x121ac5[_0x4bf2d7(0x11b)]=_0x34c0fc;}),_0x121ac5;}['attach'](){const _0xa0abaa=a38_0x573324;if(this[_0xa0abaa(0x12e)])return;const _0x380e9d=new inspector[(_0xa0abaa(0x141))]();_0x380e9d[_0xa0abaa(0x120)](),_0x380e9d['on']('Debugger.scriptParsed',_0x3a81f1=>{const _0x52739d=_0xa0abaa;this[_0x52739d(0x111)](_0x3a81f1[_0x52739d(0x140)]);}),_0x380e9d[_0xa0abaa(0x152)](_0xa0abaa(0x129)),_0x380e9d[_0xa0abaa(0x152)](_0xa0abaa(0x130),{'active':!![]}),_0x380e9d['on'](_0xa0abaa(0x13a),_0x5abaa5=>{const _0x292919=_0xa0abaa;this[_0x292919(0x14d)](_0x5abaa5[_0x292919(0x140)]),this['resetV8DebuggerIfThresholdMet']();}),this[_0xa0abaa(0x12e)]=_0x380e9d;}['enable'](_0x4755fa=!![]){const _0x1fd9c9=a38_0x573324;this[_0x1fd9c9(0x119)](),this['session']?.['post'](_0x1fd9c9(0x129));if(_0x4755fa){for(const _0x2dd73a of Object[_0x1fd9c9(0x116)](this['prevStoreSetBreakpointParams'])){const _0x483b12=this[_0x1fd9c9(0x14a)](_0x2dd73a,![]);(_0x483b12[_0x1fd9c9(0x11d)]||!_0x483b12[_0x1fd9c9(0x11b)])&&this['logger']['error'](_0x1fd9c9(0x133)+_0x483b12);}this[_0x1fd9c9(0x117)]=null;}}[a38_0x573324(0x11f)](_0x30cc51=!![]){const _0x5c3e8d=a38_0x573324;if(!this['session'])return;_0x30cc51&&(this[_0x5c3e8d(0x117)]=this[_0x5c3e8d(0x131)]),this[_0x5c3e8d(0x12e)][_0x5c3e8d(0x152)](_0x5c3e8d(0x14e)),this['detach']();}[a38_0x573324(0x12b)](){const _0x4b6fcf=a38_0x573324;if(!this['session'])return;this[_0x4b6fcf(0x12e)][_0x4b6fcf(0x112)](),this[_0x4b6fcf(0x12e)]=null,this['storeSetBreakpointParams']={},this['numPausedBeforeReset']=0x0,this[_0x4b6fcf(0x143)]();}[a38_0x573324(0x14f)](){const _0x4d8bda=a38_0x573324;if(!this[_0x4d8bda(0x12e)])return;this[_0x4d8bda(0x123)]+=0x1;if(this[_0x4d8bda(0x123)]<this[_0x4d8bda(0x118)])return;this[_0x4d8bda(0x123)]=0x0,this[_0x4d8bda(0x11f)](),this[_0x4d8bda(0x12a)]();}}exports[a38_0x573324(0x124)]=V8Inspector;function a38_0x37e0(_0x172af7,_0xe66200){const _0x3ed54f=a38_0xdeab();return a38_0x37e0=function(_0x3f7c15,_0x53ccfc){_0x3f7c15=_0x3f7c15-0x10f;let _0xdeab5e=_0x3ed54f[_0x3f7c15];return _0xdeab5e;},a38_0x37e0(_0x172af7,_0xe66200);}function a38_0xdeab(){const _0x22895d=['logger','6jMfMPC','column:\x20','4857985YIBDAV','params','Session','columnNumber','onDetach','8ZdEHIG','evaluate','debug','136499bzIPoh','508228AUbGSB','__esModule','setBreakpointByUrl','defineProperty','search','onPaused','Debugger.disable','resetV8DebuggerIfThresholdMet','13YuvfVz','getProperties','post','20883hWVHRN','inspector','onScriptParsed','disconnect','evaluateOnCallFrame','2eAeDfT','Creating\x20V8Inspector','values','prevStoreSetBreakpointParams','resetV8DebuggerThreshold','attach','releaseObject','response','772JVWvEf','error','56055HIkPYo','disable','connect','2725956iEdLEh','url','numPausedBeforeReset','V8Inspector','toString','constructor','real\x20lineNumber:\x20','Debugger.removeBreakpoint','Debugger.enable','enable','detach','breakpointId','keys','session','6076953kMwXNl','Debugger.setBreakpointsActive','storeSetBreakpointParams','lineNumber','Error\x20upon\x20re-setting\x20breakpoint:\x20','Runtime.callFunctionOn','useWellFormattedUrl','apply','shouldUseWellFormattedUrl','Debugger.evaluateOnCallFrame','(((.+)+)+)+$','Debugger.paused','840hQyztf'];a38_0xdeab=function(){return _0x22895d;};return a38_0xdeab();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a39_0x2aa076=a39_0x2265;(function(_0x4179a1,_0x1ce14b){const _0x24bed8=a39_0x2265,_0x910062=_0x4179a1();while(!![]){try{const _0x5150ce=parseInt(_0x24bed8(0x8d))/0x1+parseInt(_0x24bed8(0x93))/0x2*(parseInt(_0x24bed8(0x8e))/0x3)+-parseInt(_0x24bed8(0x99))/0x4+parseInt(_0x24bed8(0x94))/0x5*(-parseInt(_0x24bed8(0x89))/0x6)+-parseInt(_0x24bed8(0x95))/0x7*(-parseInt(_0x24bed8(0x86))/0x8)+-parseInt(_0x24bed8(0x97))/0x9*(parseInt(_0x24bed8(0x82))/0xa)+-parseInt(_0x24bed8(0x90))/0xb*(parseInt(_0x24bed8(0x8f))/0xc);if(_0x5150ce===_0x1ce14b)break;else _0x910062['push'](_0x910062['shift']());}catch(_0x4f0e64){_0x910062['push'](_0x910062['shift']());}}}(a39_0x43b7,0xd1948));const a39_0xdd1196=(function(){let _0x36c559=!![];return function(_0x2ba67a,_0x1cecfe){const _0x49cae9=_0x36c559?function(){const _0x19c66b=a39_0x2265;if(_0x1cecfe){const _0x45b1a8=_0x1cecfe[_0x19c66b(0x91)](_0x2ba67a,arguments);return _0x1cecfe=null,_0x45b1a8;}}:function(){};return _0x36c559=![],_0x49cae9;};}()),a39_0x5af389=a39_0xdd1196(this,function(){const _0x53f37e=a39_0x2265;return a39_0x5af389[_0x53f37e(0x85)]()[_0x53f37e(0x9b)](_0x53f37e(0x8c))[_0x53f37e(0x85)]()[_0x53f37e(0x96)](a39_0x5af389)['search'](_0x53f37e(0x8c));});a39_0x5af389();'use strict';Object[a39_0x2aa076(0x84)](exports,a39_0x2aa076(0x9a),{'value':!![]}),exports[a39_0x2aa076(0x83)]=void 0x0;const common_1=require(a39_0x2aa076(0x8a));function a39_0x2265(_0x3808ed,_0x175dea){const _0x4f29e3=a39_0x43b7();return a39_0x2265=function(_0x5af389,_0xdd1196){_0x5af389=_0x5af389-0x82;let _0x43b79d=_0x4f29e3[_0x5af389];return _0x43b79d;},a39_0x2265(_0x3808ed,_0x175dea);}function a39_0x43b7(){const _0x1136c9=['name','apiEndpoint','438IGezeI','@google-cloud/common','https://www.googleapis.com/auth/cloud_debugger','(((.+)+)+)+$','1532737OyaLkp','3wJXwvn','24dreWkY','153934zehFXK','apply','https://','1632436dDcHCK','63545KosxfG','8519FKqKMF','constructor','4734VTnMOQ','packageInfo','1388836moKByH','__esModule','search','22700bIFfme','Debug','defineProperty','toString','6616qViXEU'];a39_0x43b7=function(){return _0x1136c9;};return a39_0x43b7();}class Debug extends common_1['Service']{constructor(_0x3bc101={},_0x3bc3e4){const _0x2c7e7c=a39_0x2aa076;if(new.target!==Debug)return new Debug(_0x3bc101,_0x3bc3e4);const _0x4b8bb9={'projectIdRequired':![],'apiEndpoint':_0x3bc101[_0x2c7e7c(0x88)],'baseUrl':_0x2c7e7c(0x92)+_0x3bc101['apiEndpoint'],'scopes':[_0x2c7e7c(0x8b)],'packageJson':_0x3bc3e4};super(_0x4b8bb9,_0x3bc101),this['options']=_0x3bc101,this[_0x2c7e7c(0x98)]={'name':_0x3bc3e4[_0x2c7e7c(0x87)],'version':_0x3bc3e4['version']};}}exports['Debug']=Debug;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a40_0x44b144=a40_0x86cf;(function(_0x2e5376,_0x70fbf9){const _0x55a855=a40_0x86cf,_0x57a6e4=_0x2e5376();while(!![]){try{const _0x154e9c=-parseInt(_0x55a855(0x175))/0x1*(parseInt(_0x55a855(0x183))/0x2)+parseInt(_0x55a855(0x182))/0x3+parseInt(_0x55a855(0x18b))/0x4*(-parseInt(_0x55a855(0x18a))/0x5)+parseInt(_0x55a855(0x185))/0x6*(-parseInt(_0x55a855(0x189))/0x7)+-parseInt(_0x55a855(0x177))/0x8*(parseInt(_0x55a855(0x179))/0x9)+parseInt(_0x55a855(0x17b))/0xa*(parseInt(_0x55a855(0x186))/0xb)+parseInt(_0x55a855(0x17e))/0xc;if(_0x154e9c===_0x70fbf9)break;else _0x57a6e4['push'](_0x57a6e4['shift']());}catch(_0x59b0af){_0x57a6e4['push'](_0x57a6e4['shift']());}}}(a40_0xca94,0x50f02));const a40_0x3c3627=(function(){let _0x5a4221=!![];return function(_0x527e06,_0x294e8a){const _0x5a68f6=_0x5a4221?function(){const _0x5e802e=a40_0x86cf;if(_0x294e8a){const _0x27fb23=_0x294e8a[_0x5e802e(0x171)](_0x527e06,arguments);return _0x294e8a=null,_0x27fb23;}}:function(){};return _0x5a4221=![],_0x5a68f6;};}()),a40_0x169e63=a40_0x3c3627(this,function(){const _0x4d2c50=a40_0x86cf;return a40_0x169e63[_0x4d2c50(0x174)]()['search'](_0x4d2c50(0x178))[_0x4d2c50(0x174)]()[_0x4d2c50(0x172)](a40_0x169e63)['search'](_0x4d2c50(0x178));});a40_0x169e63();function a40_0x86cf(_0x3f154f,_0x324043){const _0x307440=a40_0xca94();return a40_0x86cf=function(_0x169e63,_0x3c3627){_0x169e63=_0x169e63-0x171;let _0xca944c=_0x307440[_0x169e63];return _0xca944c;},a40_0x86cf(_0x3f154f,_0x324043);}'use strict';function a40_0xca94(){const _0x4e73ea=['4432720YhBfsb','VARIABLE_VALUE','description','14649024AKhiBR','UNSPECIFIED','errorId','BREAKPOINT_AGE','389649xTmlOh','20SyCQzj','__esModule','12252sbrrfS','11fXPTwb','BREAKPOINT_EXPRESSION','BREAKPOINT_SOURCE_LOCATION','623UjKqsE','1545HkECFZ','3868pcdUDx','apply','constructor','StatusMessage','toString','36025aFBOZl','VARIABLE_NAME','72LgysiO','(((.+)+)+)+$','621594KSQvmZ','BREAKPOINT_CONDITION'];a40_0xca94=function(){return _0x4e73ea;};return a40_0xca94();}Object['defineProperty'](exports,a40_0x44b144(0x184),{'value':!![]}),exports[a40_0x44b144(0x173)]=void 0x0;class StatusMessage{constructor(_0x423603,_0x44d1db,_0x299469,_0x1a1572=![]){const _0x246cd7=a40_0x44b144,{description:_0x2ad911,id:_0x209c65}=_0x44d1db||{};this['refersTo']=_0x423603,this[_0x246cd7(0x17d)]={'format':_0x2ad911||''},_0x209c65&&(this[_0x246cd7(0x17d)][_0x246cd7(0x180)]=_0x209c65),this['isError']=_0x299469,this['isAccepted']=_0x1a1572;}}exports[a40_0x44b144(0x173)]=StatusMessage,StatusMessage[a40_0x44b144(0x17f)]=a40_0x44b144(0x17f),StatusMessage[a40_0x44b144(0x188)]='BREAKPOINT_SOURCE_LOCATION',StatusMessage[a40_0x44b144(0x17a)]='BREAKPOINT_CONDITION',StatusMessage[a40_0x44b144(0x187)]=a40_0x44b144(0x187),StatusMessage[a40_0x44b144(0x176)]=a40_0x44b144(0x176),StatusMessage[a40_0x44b144(0x17c)]=a40_0x44b144(0x17c),StatusMessage[a40_0x44b144(0x181)]=a40_0x44b144(0x181);
|
package/build/src/debuggee.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a41_0x716b(){var _0x1ea74e=['2391Zhlfjl','string','5473268fhkXTD','runtimeEnvironmentInfo','2114kDUjJN','323856EGHGEw','runtimeEnvironmentVersion','18570BfmnJd','Node.js','pid','labels','constructor','171BIXcSF','procArch','2827kNInOk','linuxDistroName','cpuCoreCount','toString','isInDocker','Debuggee','defineProperty','4524751WtMKXZ','host','agentOS','search','sourceContexts','osVersion','agentVersion','statusMessage','1165KeNTEW','apply','220808qMajOB','uniquifier','isInK8s','43338BuYzLD'];a41_0x716b=function(){return _0x1ea74e;};return a41_0x716b();}var a41_0x31bfd6=a41_0x4049;(function(_0x3790aa,_0x36c025){var _0x34db69=a41_0x4049,_0x1b0f66=_0x3790aa();while(!![]){try{var _0x1f9ad0=parseInt(_0x34db69(0x207))/0x1+-parseInt(_0x34db69(0x206))/0x2*(parseInt(_0x34db69(0x202))/0x3)+parseInt(_0x34db69(0x204))/0x4+parseInt(_0x34db69(0x1fc))/0x5*(parseInt(_0x34db69(0x201))/0x6)+-parseInt(_0x34db69(0x1f4))/0x7+parseInt(_0x34db69(0x1fe))/0x8*(-parseInt(_0x34db69(0x1eb))/0x9)+parseInt(_0x34db69(0x209))/0xa*(-parseInt(_0x34db69(0x1ed))/0xb);if(_0x1f9ad0===_0x36c025)break;else _0x1b0f66['push'](_0x1b0f66['shift']());}catch(_0x1f59f4){_0x1b0f66['push'](_0x1b0f66['shift']());}}}(a41_0x716b,0xd7fa2));var a41_0x16bbf2=(function(){var _0x475b5e=!![];return function(_0xd8d744,_0x12efaa){var _0x5bfe8a=_0x475b5e?function(){var _0x5bbb59=a41_0x4049;if(_0x12efaa){var _0x18a7db=_0x12efaa[_0x5bbb59(0x1fd)](_0xd8d744,arguments);return _0x12efaa=null,_0x18a7db;}}:function(){};return _0x475b5e=![],_0x5bfe8a;};}()),a41_0x5b0d1d=a41_0x16bbf2(this,function(){var _0x41a18a=a41_0x4049;return a41_0x5b0d1d[_0x41a18a(0x1f0)]()[_0x41a18a(0x1f7)]('(((.+)+)+)+$')[_0x41a18a(0x1f0)]()[_0x41a18a(0x1ea)](a41_0x5b0d1d)['search']('(((.+)+)+)+$');});a41_0x5b0d1d();'use strict';Object[a41_0x31bfd6(0x1f3)](exports,'__esModule',{'value':!![]}),exports[a41_0x31bfd6(0x1f2)]=void 0x0;class Debuggee{constructor(_0x52584d){var _0x4cb11d=a41_0x31bfd6;this['runtimeEnvironment']=_0x4cb11d(0x20a);if(!(this instanceof Debuggee))return new Debuggee(_0x52584d);_0x52584d=_0x52584d||{};if(typeof _0x52584d[_0x4cb11d(0x1ff)]!==_0x4cb11d(0x203))throw new Error('properties.uniquifier\x20must\x20be\x20a\x20string');this[_0x4cb11d(0x1ff)]=_0x52584d['uniquifier'],this[_0x4cb11d(0x1fa)]=_0x52584d[_0x4cb11d(0x1fa)],_0x52584d[_0x4cb11d(0x1e9)]&&(this[_0x4cb11d(0x1e9)]=_0x52584d['labels']),_0x52584d['sourceContexts']&&(this['sourceContexts']=_0x52584d[_0x4cb11d(0x1f8)]),_0x52584d[_0x4cb11d(0x1fb)]&&(this[_0x4cb11d(0x1fb)]=_0x52584d[_0x4cb11d(0x1fb)]),this['host']=_0x52584d[_0x4cb11d(0x1f5)],this[_0x4cb11d(0x20b)]=_0x52584d['pid'],this[_0x4cb11d(0x1ef)]=_0x52584d['cpuCoreCount'],this['systemTotalMemoryBytes']=_0x52584d['systemTotalMemoryBytes'],this[_0x4cb11d(0x1f6)]=_0x52584d[_0x4cb11d(0x1f6)],this['osVersion']=_0x52584d[_0x4cb11d(0x1f9)],this[_0x4cb11d(0x208)]=_0x52584d['runtimeEnvironmentVersion'],this[_0x4cb11d(0x205)]=_0x52584d[_0x4cb11d(0x205)],this[_0x4cb11d(0x1ee)]=_0x52584d['linuxDistroName'],this[_0x4cb11d(0x1f1)]=_0x52584d[_0x4cb11d(0x1f1)],this[_0x4cb11d(0x200)]=_0x52584d[_0x4cb11d(0x200)],this[_0x4cb11d(0x1ec)]=_0x52584d['procArch'];}}function a41_0x4049(_0x7b067d,_0x39ea08){var _0x4ddb5b=a41_0x716b();return a41_0x4049=function(_0x5b0d1d,_0x16bbf2){_0x5b0d1d=_0x5b0d1d-0x1e9;var _0x716b22=_0x4ddb5b[_0x5b0d1d];return _0x716b22;},a41_0x4049(_0x7b067d,_0x39ea08);}exports['Debuggee']=Debuggee;
|
package/build/src/gcp.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a42_0x20e574=a42_0x2463;(function(_0x31c463,_0x1dd1fa){const _0x2e13a7=a42_0x2463,_0xbf4078=_0x31c463();while(!![]){try{const _0x2e9258=-parseInt(_0x2e13a7(0x107))/0x1*(-parseInt(_0x2e13a7(0x117))/0x2)+parseInt(_0x2e13a7(0x106))/0x3*(-parseInt(_0x2e13a7(0x10a))/0x4)+-parseInt(_0x2e13a7(0x105))/0x5*(parseInt(_0x2e13a7(0x11f))/0x6)+-parseInt(_0x2e13a7(0x11a))/0x7*(-parseInt(_0x2e13a7(0x11b))/0x8)+-parseInt(_0x2e13a7(0x122))/0x9*(-parseInt(_0x2e13a7(0x104))/0xa)+parseInt(_0x2e13a7(0x10d))/0xb*(-parseInt(_0x2e13a7(0x115))/0xc)+parseInt(_0x2e13a7(0x120))/0xd*(parseInt(_0x2e13a7(0x10c))/0xe);if(_0x2e9258===_0x1dd1fa)break;else _0xbf4078['push'](_0xbf4078['shift']());}catch(_0x3849ba){_0xbf4078['push'](_0xbf4078['shift']());}}}(a42_0x1263,0xecbab));const a42_0x5b8e55=(function(){let _0x1fb514=!![];return function(_0x32c59d,_0x165b2f){const _0x2b0889=_0x1fb514?function(){const _0x4b8879=a42_0x2463;if(_0x165b2f){const _0x713420=_0x165b2f[_0x4b8879(0x116)](_0x32c59d,arguments);return _0x165b2f=null,_0x713420;}}:function(){};return _0x1fb514=![],_0x2b0889;};}()),a42_0x3632e7=a42_0x5b8e55(this,function(){const _0x450076=a42_0x2463;return a42_0x3632e7[_0x450076(0x10b)]()[_0x450076(0x10e)](_0x450076(0x113))[_0x450076(0x10b)]()[_0x450076(0x112)](a42_0x3632e7)[_0x450076(0x10e)](_0x450076(0x113));});a42_0x3632e7();'use strict';function a42_0x1263(){const _0x3f79b3=['run','5374248fnsBXz','apply','4QEaudG','wrap','callbackIndex','7bSWHWT','4525888ppXQNj','length','callback','functionParams','642WtrJVa','92261htidXk','app.lightrun.com','799191aAImPJ','./index','100TWgpwS','3575yPnIUa','3yqsRCP','16384FofQlC','isCallbackWrapperInvoked','bind','6868252TyqhIX','toString','3402nEbsUT','11bwqNTU','search','callbackWrapper','callbackParams','defineProperty','constructor','(((.+)+)+)+$'];a42_0x1263=function(){return _0x3f79b3;};return a42_0x1263();}Object[a42_0x20e574(0x111)](exports,'__esModule',{'value':!![]}),exports[a42_0x20e574(0x118)]=void 0x0;const lightrun=require(a42_0x20e574(0x103)),DEFAULT_API_ENDPOINT=a42_0x20e574(0x121),DEFAULT_WAIT_FOR_INIT_MS=0x1388;function wrap(_0x335e01,_0x40a695,_0x7f55c7){return async(..._0x1d98a0)=>{const _0x2c75f3=a42_0x2463,_0x9caa0=new LightrunGcpWrapper(_0x7f55c7,..._0x1d98a0);return _0x9caa0[_0x2c75f3(0x114)](_0x335e01,_0x40a695);};}exports[a42_0x20e574(0x118)]=wrap;function a42_0x2463(_0x3f1678,_0x116b76){const _0x41a589=a42_0x1263();return a42_0x2463=function(_0x3632e7,_0x5b8e55){_0x3632e7=_0x3632e7-0x103;let _0x12632c=_0x41a589[_0x3632e7];return _0x12632c;},a42_0x2463(_0x3f1678,_0x116b76);}class LightrunGcpWrapper{constructor(_0x91f3e8,..._0x434462){const _0x57ddc5=a42_0x20e574;this[_0x57ddc5(0x119)]=_0x91f3e8,this['isCallbackWrapperInvoked']=![],this[_0x57ddc5(0x110)]=[],this[_0x57ddc5(0x11d)]=null,this[_0x57ddc5(0x11e)]=_0x434462,this[_0x57ddc5(0x119)]&&this['callbackIndex']<this[_0x57ddc5(0x11e)]?.[_0x57ddc5(0x11c)]&&(this[_0x57ddc5(0x11d)]=this[_0x57ddc5(0x11e)][this[_0x57ddc5(0x119)]],this[_0x57ddc5(0x11e)][this[_0x57ddc5(0x119)]]=this[_0x57ddc5(0x10f)][_0x57ddc5(0x109)](this));}async[a42_0x20e574(0x114)](_0x1d021f,_0x169f00={}){const _0x55bad2=a42_0x20e574;this[_0x55bad2(0x108)]=![],await lightrun['asyncStart']({'lightrunInitWaitTimeMs':DEFAULT_WAIT_FOR_INIT_MS,'apiEndpoint':DEFAULT_API_ENDPOINT,..._0x169f00,'forceNewAgent_':!![],'lightrunWaitForInit':!![]});try{await _0x1d021f(...this[_0x55bad2(0x11e)]);}finally{await lightrun['stop'](),this[_0x55bad2(0x108)]&&this['callback']&&this['callback'](...this[_0x55bad2(0x110)]);}}[a42_0x20e574(0x10f)](..._0x5c0f9c){const _0x2feab5=a42_0x20e574;this[_0x2feab5(0x110)]=_0x5c0f9c,this[_0x2feab5(0x108)]=!![];}}
|