lightrun 1.89.0 → 1.90.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/limitConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/serverless.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.d.ts +12 -0
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a34_0xd8ea4d=a34_0x228f;(function(_0x498348,_0x2d5c48){var _0x35b319=a34_0x228f,_0x2273a6=_0x498348();while(!![]){try{var _0x4eef15=parseInt(_0x35b319(0xcb))/0x1*(parseInt(_0x35b319(0xde))/0x2)+-parseInt(_0x35b319(0xdd))/0x3*(parseInt(_0x35b319(0xcf))/0x4)+-parseInt(_0x35b319(0xe6))/0x5*(parseInt(_0x35b319(0xec))/0x6)+-parseInt(_0x35b319(0xee))/0x7+-parseInt(_0x35b319(0xc8))/0x8*(-parseInt(_0x35b319(0xfc))/0x9)+parseInt(_0x35b319(0xfb))/0xa+parseInt(_0x35b319(0xf3))/0xb*(parseInt(_0x35b319(0xef))/0xc);if(_0x4eef15===_0x2d5c48)break;else _0x2273a6['push'](_0x2273a6['shift']());}catch(_0x3a49c4){_0x2273a6['push'](_0x2273a6['shift']());}}}(a34_0x48e5,0x7f494));var a34_0x1664eb=(function(){var _0x4ac74e=!![];return function(_0x42c14e,_0x4c00d3){var _0x11c273=_0x4ac74e?function(){var _0xf5d908=a34_0x228f;if(_0x4c00d3){var _0x178b1e=_0x4c00d3[_0xf5d908(0xd8)](_0x42c14e,arguments);return _0x4c00d3=null,_0x178b1e;}}:function(){};return _0x4ac74e=![],_0x11c273;};}()),a34_0x38a079=a34_0x1664eb(this,function(){var _0x4ad163=a34_0x228f;return a34_0x38a079[_0x4ad163(0xce)]()[_0x4ad163(0xf1)](_0x4ad163(0xe2))[_0x4ad163(0xce)]()['constructor'](a34_0x38a079)['search'](_0x4ad163(0xe2));});a34_0x38a079();function a34_0x228f(_0x1c85f1,_0x799ebf){var _0x35e9b6=a34_0x48e5();return a34_0x228f=function(_0x38a079,_0x1664eb){_0x38a079=_0x38a079-0xc6;var _0x48e50f=_0x35e9b6[_0x38a079];return _0x48e50f;},a34_0x228f(_0x1c85f1,_0x799ebf);}function a34_0x48e5(){var _0x99ec85=['6pyzNKA','Program','expressions','toString','116XvUjvK','arguments','test','isValid','ArrayExpression','TaggedTemplateExpression','BlockStatement','Identifier','alternate','apply','every','left','EmptyStatement','elements','65541SUkiEo','256276smzISJ','consequent','ObjectExpression','NewExpression','(((.+)+)+)+$','ThisExpression','quasis','MemberExpression','30uuVNZe','defineProperty','body','LogicalExpression','__esModule','AssignmentExpression','553038yfNsJd','object','2295223nDCUwV','814212RCtLPs','tag','search','properties','55LpNEsz','expression','UpdateExpression','ConditionalExpression','argument','CallExpression','SequenceExpression','UnaryExpression','9023120vdKqdF','229131VFdTDq','LabeledStatement','right','TemplateLiteral','8leUNjv','SpreadElement','property'];a34_0x48e5=function(){return _0x99ec85;};return a34_0x48e5();}'use strict';Object[a34_0xd8ea4d(0xe7)](exports,a34_0xd8ea4d(0xea),{'value':!![]}),exports[a34_0xd8ea4d(0xd2)]=isValid;function isValid(_0xbe3455,_0x1e6a7e){var _0x157178=a34_0xd8ea4d;if(_0xbe3455===null)return!![];switch(_0xbe3455['type']){case _0x157178(0xcc):return _0xbe3455[_0x157178(0xe8)][_0x157178(0xd9)](_0x587927=>isValid(_0x587927,_0x1e6a7e));case _0x157178(0xdb):return!![];case'ExpressionStatement':case'ChainExpression':return isValid(_0xbe3455[_0x157178(0xf4)],_0x1e6a7e);case _0x157178(0xd5):return _0xbe3455[_0x157178(0xe8)][_0x157178(0xd9)](_0x51312c=>isValid(_0x51312c,_0x1e6a7e));case _0x157178(0xfd):return isValid(_0xbe3455[_0x157178(0xe8)],_0x1e6a7e);case _0x157178(0xeb):case'FunctionExpression':case _0x157178(0xe1):case _0x157178(0xf5):return![];case _0x157178(0xf8):return _0x1e6a7e?![]:_0xbe3455[_0x157178(0xd0)][_0x157178(0xd9)](_0x25950d=>isValid(_0x25950d,_0x1e6a7e));case _0x157178(0xd6):case'Literal':case _0x157178(0xe3):return!![];case _0x157178(0xd3):return _0xbe3455[_0x157178(0xdc)][_0x157178(0xd9)](_0x19f1d5=>isValid(_0x19f1d5,_0x1e6a7e));case'BinaryExpression':case _0x157178(0xe9):return isValid(_0xbe3455[_0x157178(0xda)],_0x1e6a7e)&&isValid(_0xbe3455[_0x157178(0xc6)],_0x1e6a7e);case _0x157178(0xf6):return isValid(_0xbe3455[_0x157178(0xd1)],_0x1e6a7e)&&isValid(_0xbe3455[_0x157178(0xd7)],_0x1e6a7e)&&isValid(_0xbe3455[_0x157178(0xdf)],_0x1e6a7e);case _0x157178(0xe5):return _0x1e6a7e?![]:isValid(_0xbe3455[_0x157178(0xed)],_0x1e6a7e)&&isValid(_0xbe3455[_0x157178(0xca)],_0x1e6a7e);case _0x157178(0xe0):return _0xbe3455[_0x157178(0xf2)][_0x157178(0xd9)](_0x2ff247=>isValid(_0x2ff247['value'],_0x1e6a7e));case _0x157178(0xf9):return _0xbe3455[_0x157178(0xcd)][_0x157178(0xd9)](_0x35bfc8=>isValid(_0x35bfc8,_0x1e6a7e));case _0x157178(0xfa):return isValid(_0xbe3455['argument'],_0x1e6a7e);case _0x157178(0xc9):return isValid(_0xbe3455[_0x157178(0xf7)],_0x1e6a7e);case _0x157178(0xc7):return _0xbe3455[_0x157178(0xe4)][_0x157178(0xd9)](_0x238445=>isValid(_0x238445,_0x1e6a7e))&&_0xbe3455[_0x157178(0xcd)][_0x157178(0xd9)](_0x369b36=>isValid(_0x369b36,_0x1e6a7e));case _0x157178(0xd4):return isValid(_0xbe3455[_0x157178(0xf0)],_0x1e6a7e)&&isValid(_0xbe3455['quasi'],_0x1e6a7e);case'TemplateElement':return!![];default:return![];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35_0x32bf18=a35_0x28d1;(function(_0x3bc52b,_0x25dccb){const _0x53779c=a35_0x28d1,_0x31a848=_0x3bc52b();while(!![]){try{const _0x44a77c=parseInt(_0x53779c(0x159))/0x1+-parseInt(_0x53779c(0x15a))/0x2*(parseInt(_0x53779c(0x154))/0x3)+parseInt(_0x53779c(0x15b))/0x4*(-parseInt(_0x53779c(0x14e))/0x5)+-parseInt(_0x53779c(0x15d))/0x6*(-parseInt(_0x53779c(0x157))/0x7)+parseInt(_0x53779c(0x150))/0x8+parseInt(_0x53779c(0x152))/0x9+-parseInt(_0x53779c(0x155))/0xa;if(_0x44a77c===_0x25dccb)break;else _0x31a848['push'](_0x31a848['shift']());}catch(_0xaac5e9){_0x31a848['push'](_0x31a848['shift']());}}}(a35_0xa00a,0x5954a));const a35_0x43d9d3=(function(){let _0x58b4c2=!![];return function(_0x275dcb,_0x53afad){const _0x173b0f=_0x58b4c2?function(){const _0x1fd35d=a35_0x28d1;if(_0x53afad){const _0x418b12=_0x53afad[_0x1fd35d(0x14b)](_0x275dcb,arguments);return _0x53afad=null,_0x418b12;}}:function(){};return _0x58b4c2=![],_0x173b0f;};}()),a35_0x111e60=a35_0x43d9d3(this,function(){const _0x197420=a35_0x28d1;return a35_0x111e60[_0x197420(0x14d)]()[_0x197420(0x158)]('(((.+)+)+)+$')[_0x197420(0x14d)]()[_0x197420(0x153)](a35_0x111e60)[_0x197420(0x158)]('(((.+)+)+)+$');});function a35_0xa00a(){const _0x27d7b6=['forceNewAgent_','150XRyzxF','MODULE_WRAP_PREFIX_LENGTH','module','./inspector-debugapi','apply','indexOf','toString','1116355iilBlZ','defineProperty','5420768qMXEVg','wrap','6202179InLLcU','constructor','75318pLgkTK','9536190QfLpgi','__esModule','16898bQlzKq','search','241241fyijev','10IzcmAC','4CAJojG'];a35_0xa00a=function(){return _0x27d7b6;};return a35_0xa00a();}a35_0x111e60();'use strict';Object[a35_0x32bf18(0x14f)](exports,a35_0x32bf18(0x156),{'value':!![]}),exports[a35_0x32bf18(0x15e)]=void 0x0,exports['create']=create;const inspector_debugapi_1=require(a35_0x32bf18(0x14a));exports['MODULE_WRAP_PREFIX_LENGTH']=require(a35_0x32bf18(0x149))[a35_0x32bf18(0x151)]('☃')[a35_0x32bf18(0x14c)]('☃');function a35_0x28d1(_0x45b912,_0x3dd926){const _0x252f58=a35_0xa00a();return a35_0x28d1=function(_0x111e60,_0x43d9d3){_0x111e60=_0x111e60-0x149;let _0xa00a74=_0x252f58[_0x111e60];return _0xa00a74;},a35_0x28d1(_0x45b912,_0x3dd926);}let singleton;function create(_0x392075,_0x275811,_0x1a06a8,_0x1599af,_0xd369e5){const _0x285559=a35_0x32bf18;if(singleton&&!_0x275811[_0x285559(0x15c)])return singleton;else singleton&&singleton['disconnect']();return singleton=new inspector_debugapi_1['InspectorDebugApi'](_0x392075,_0x275811,_0x1a06a8,_0x1599af,_0xd369e5),singleton;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36_0x49295a=a36_0x20be;(function(_0x23fe19,_0x346385){const _0x4ae2de=a36_0x20be,_0x2f2dc7=_0x23fe19();while(!![]){try{const _0x5c4be8=-parseInt(_0x4ae2de(0x16c))/0x1*(-parseInt(_0x4ae2de(0x168))/0x2)+-parseInt(_0x4ae2de(0x1f2))/0x3+-parseInt(_0x4ae2de(0x19f))/0x4*(parseInt(_0x4ae2de(0x200))/0x5)+-parseInt(_0x4ae2de(0x13f))/0x6*(-parseInt(_0x4ae2de(0x1a5))/0x7)+-parseInt(_0x4ae2de(0x17c))/0x8*(-parseInt(_0x4ae2de(0x21f))/0x9)+parseInt(_0x4ae2de(0x17d))/0xa*(parseInt(_0x4ae2de(0x211))/0xb)+-parseInt(_0x4ae2de(0x186))/0xc;if(_0x5c4be8===_0x346385)break;else _0x2f2dc7['push'](_0x2f2dc7['shift']());}catch(_0x1dacd9){_0x2f2dc7['push'](_0x2f2dc7['shift']());}}}(a36_0x262d,0xa3740));const a36_0x462b0f=(function(){let _0x4b42ca=!![];return function(_0x17ea3b,_0x49aeda){const _0x36810b=_0x4b42ca?function(){const _0x3766a7=a36_0x20be;if(_0x49aeda){const _0xdf063c=_0x49aeda[_0x3766a7(0x16b)](_0x17ea3b,arguments);return _0x49aeda=null,_0xdf063c;}}:function(){};return _0x4b42ca=![],_0x36810b;};}()),a36_0xe4300b=a36_0x462b0f(this,function(){const _0x2e0c65=a36_0x20be;return a36_0xe4300b[_0x2e0c65(0x196)]()[_0x2e0c65(0x1a8)]('(((.+)+)+)+$')['toString']()[_0x2e0c65(0x140)](a36_0xe4300b)[_0x2e0c65(0x1a8)](_0x2e0c65(0x179));});function a36_0x20be(_0x2809b,_0x529a4b){const _0x4bbbbd=a36_0x262d();return a36_0x20be=function(_0xe4300b,_0x462b0f){_0xe4300b=_0xe4300b-0x13c;let _0x262d53=_0x4bbbbd[_0xe4300b];return _0x262d53;},a36_0x20be(_0x2809b,_0x529a4b);}a36_0xe4300b();'use strict';Object[a36_0x49295a(0x1a9)](exports,a36_0x49295a(0x156),{'value':!![]}),exports[a36_0x49295a(0x1d7)]=exports[a36_0x49295a(0x141)]=void 0x0;function a36_0x262d(){const _0x166296=['response','11081983oRxCBF','fileStats','length','StatusMessage','blocklistManager','base64','lines','sourceMapDiagnostics','logDumpScriptSource','removeFirstOccurrenceInArray','error','Unable\x20to\x20compile\x20condition\x20>>\x20','EXPRESSION_COMPILING_ERROR','capture','21051nfELaD','sources','some','SNAPSHOT_LIMITS_PER_ACTION','hrtime','reverseFromScriptSourcemap','5286WosmFq','constructor','BreakpointData','hitBreakpoints','processCondition','listeners','SourceMapConsumer','quotaRecoverySeconds','capture\x20time:\x20','script','set','logger','BREAKPOINT_SOURCE_LOCATION','onBreakpointHit','location','description','setAndStoreBreakpoint','config','V8_BREAKPOINT_CLEAR_ERROR','line','push','find','action','__esModule','../blocklisting/dummy-blocklist-manager','originalPositionFor','shouldBlock','../io/sourcemapper','internal','SYNTAX_ERROR_IN_CONDITION','Source\x20map\x20is\x20FOUND\x20for\x20','lineNumber','captureBreakpointData','removeBreakpoint','condition','resolveSourceForPath','filter','ERROR_COMPILING_CONDITION','mapByLiveScriptSourcemap','FileIndex','quota','798114dGEzJG','normalize','[DUMP_CONTENT]\x20url=','apply','3CDVItr','liveScriptSourceMapCache','enable','DummyBlocklistManager','limitConfig','setInternal','post','javascriptFileExtensions','printDebugCodeLine','Printing\x20','bind','getCachedSourceMapForPath','path','(((.+)+)+)+$','isJavaScriptFile','.\x20Loaded\x20script\x20contained\x20','1776ctqCPX','10BlpDEb','recovered','shouldUseWellFormattedUrl','./v8inspector','endsWith','apiBreakpoint','undefined','shouldDump','scriptSource','16025496PMmRSG','variableTable','includes','setBreakpointByUrl','Failed\x20to\x20put\x20the\x20breakpoint\x20in\x20','applyDynamicLogsCPUQuota','columnNumber','stackFrames','../state/inspector-state','GREATEST_LOWER_BOUND','enabled','replace','locationMapper','clear','applyConditionQuota','Source\x20map\x20is\x20NOT\x20found\x20for\x20','toString','activeFeatures','get','onScriptLoad','hasMappingInfo','value','INVALID_LINE_NUMBER','warn','inspectScriptForDebug','4fgNkzi','info','Creating\x20InspectorDebugApi','fileIndex','v8BreakpointId','substring','4732dPtAEd','mappingInfo','live\x20sourcemap\x20found\x20but\x20generated\x20position\x20returned\x20empty\x20for\x20','search','defineProperty','forEach','stringify',':\x20`','formatInterval','lineNumberAfter:\x20','readFileSync','The\x20line\x20is\x20not\x20found\x20in\x20the\x20script\x20file','rawMap','disable','mapToInstrumentedPosition\x20failed\x20for\x20','DISALLOWED_EXPRESSION','cleanupAsyncCallStackInterval','extractLiveScriptSourceMap','getBreakpointCompiler','ERROR_EVALUATING_CONDITION','breakpointMapper','`.\x20column:\x20','has','parse','isFileIndexed','changeToNS','condition\x20','\x20<<','\x20->\x20','fromFileList','expressionsEvalTimeoutMillis','mapInfo\x20','column','dumpedScriptIds','Cannot\x20clear\x20breakpoint\x20-\x20no\x20breakpoint\x20data\x20for\x20id\x20','Installing\x20','utf-8','ignoreQuota','BREAKPOINT_CONDITION','split','hash','../util/utils','wait','expressions','url','SOURCE_FILE_NOT_FOUND','Debugger.getScriptSource','map','debug','setErrorStatusAndCallback','InspectorDebugApi','The\x20whole\x20line:\x20`','numBreakpoints','Breakpoint\x20is\x20added\x20to\x20a\x20given\x20location.\x20Id:\x20','scriptUrlToPath','\x20chars\x20starting\x20from\x20column\x20','resolveBreakpointConfig','errors','breakpoints','keys','breakpointId','Unable\x20to\x20unambiguously\x20find\x20','isValid','handleDebugPausedEvent','../debuglet-helpers/limitConfig','useScriptSourcemap','evaluatedExpressions','Script\x20sourcemap\x20found\x20for\x20','FileStats.\x20Lines\x20Count:\x20','log','win32','Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20','source-map','file:///','quotaManager','Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20','evaluate','3280671kskAgf','extname','pipingStatus','source','from','\x20evaluated\x20to\x20false\x20-\x20skipping\x20breakpoint','remainingHits','locationStr','maxHitCount','concat','scriptMapper','platform','join','disconnect','1104595JrQUPl','basename','acorn','object','scriptId','findScripts','compile','../io/file-index','sourcemapper','fetchScriptSource','Failed\x20to\x20evaluate\x20condition\x20','v8Inspector','slice','Instrumented\x20mapping:\x20','loadSourceAndSourcemap','file'];a36_0x262d=function(){return _0x166296;};return a36_0x262d();}const acorn=require(a36_0x49295a(0x202)),path=require(a36_0x49295a(0x178)),source_map_1=require(a36_0x49295a(0x1ed)),status_message_1=require('../../client/stackdriver/status-message'),sourcemapper_1=require(a36_0x49295a(0x15a)),state=require(a36_0x49295a(0x18e)),utils_1=require(a36_0x49295a(0x1ce)),v8inspector_1=require(a36_0x49295a(0x180)),dummy_blocklist_manager_1=require(a36_0x49295a(0x157)),file_index_1=require(a36_0x49295a(0x207)),fs_1=require('fs'),limitConfig_1=require(a36_0x49295a(0x1e5));class BreakpointData{constructor(_0x17a7af,_0x56f46b,_0x138dc9,_0x426eca,_0x45afa3,_0x1803c4,_0x2c9149,_0x41a804){const _0x2123bb=a36_0x49295a;this['id']=_0x17a7af,this[_0x2123bb(0x182)]=_0x56f46b,this['parsedCondition']=_0x138dc9,this[_0x2123bb(0x1f9)]=_0x426eca,this[_0x2123bb(0x206)]=_0x45afa3,this['remainingHits']=_0x1803c4,this['ignoreQuota']=_0x2c9149,this[_0x2123bb(0x1f4)]=_0x41a804;}}exports[a36_0x49295a(0x141)]=BreakpointData;class InspectorDebugApi{constructor(_0x21e9d4,_0x2caf94,_0x56a9d3,_0x16016b,_0x35b994){const _0x2e979b=a36_0x49295a;this[_0x2e979b(0x1df)]={},this['listeners']={},this[_0x2e979b(0x1fc)]={},this[_0x2e979b(0x192)]={},this[_0x2e979b(0x1b9)]={},this[_0x2e979b(0x1d9)]=0x0,this[_0x2e979b(0x1c6)]=new Set(),this[_0x2e979b(0x16d)]=new Map(),this[_0x2e979b(0x197)]=[],_0x21e9d4[_0x2e979b(0x1d5)](_0x2e979b(0x1a1)),this[_0x2e979b(0x1b5)]=null,this[_0x2e979b(0x14a)]=_0x21e9d4,this[_0x2e979b(0x150)]=_0x2caf94,this['fileIndex']=_0x56a9d3,this[_0x2e979b(0x208)]=_0x16016b,this['v8Inspector']=new v8inspector_1['V8Inspector'](_0x21e9d4,!![],this[_0x2e979b(0x150)]['resetV8DebuggerThreshold'],(_0x554c6b,_0xf3804)=>{const _0x3d4ea5=_0x2e979b;this[_0x3d4ea5(0x1fc)][_0x554c6b[_0x3d4ea5(0x204)]]=_0x554c6b;const _0x2cf7b5=String(_0x554c6b?.[_0x3d4ea5(0x1d1)]??''),{scriptId:_0x4b6c6}=_0x554c6b;this[_0x3d4ea5(0x199)](_0x2cf7b5,_0x4b6c6,_0xf3804);},_0xc055b2=>{const _0x1f4cf0=_0x2e979b;try{this[_0x1f4cf0(0x1e4)](_0xc055b2);}catch(_0x31bed3){this[_0x1f4cf0(0x14a)][_0x1f4cf0(0x21b)](_0x31bed3);}},()=>{const _0x5990db=_0x2e979b;this[_0x5990db(0x1fc)]={},this['dumpedScriptIds']['clear']();},_0x103363=>{const _0x3e1df0=_0x2e979b;if(!this[_0x3e1df0(0x150)]['useScriptSourcemap'])return _0x103363;const _0x5060f5=(0x0,utils_1['scriptUrlToPath'])(_0x103363[_0x3e1df0(0x1d1)]??''),_0x4c3b8e=(_0x103363[_0x3e1df0(0x15e)]??0x0)+0x1,_0x527034=_0x103363[_0x3e1df0(0x18c)]??0x0,_0x2ffd18=this[_0x3e1df0(0x165)](_0x5060f5,_0x4c3b8e,_0x527034);if(_0x2ffd18)return this['logger'][_0x3e1df0(0x1a0)](_0x3e1df0(0x20d)+_0x5060f5+':'+_0x4c3b8e+':'+_0x527034+_0x3e1df0(0x1c1)+_0x2ffd18['line']+':'+_0x2ffd18[_0x3e1df0(0x1c5)]),{..._0x103363,'lineNumber':_0x2ffd18[_0x3e1df0(0x152)]-0x1,'columnNumber':_0x2ffd18[_0x3e1df0(0x1c5)]};return _0x103363;}),this[_0x2e979b(0x1ef)]=_0x35b994,this[_0x2e979b(0x215)]=new dummy_blocklist_manager_1[(_0x2e979b(0x16f))](!![]);}[a36_0x49295a(0x199)](_0x180902,_0x71f71b,_0x6236c1){const _0x31d60e=a36_0x49295a,_0x148a03=this[_0x31d60e(0x184)](_0x180902,_0x71f71b);if(!_0x148a03&&!this[_0x31d60e(0x150)]['useScriptSourcemap'])return;const _0x246443=(0x0,utils_1[_0x31d60e(0x1db)])(_0x180902);this['loadSourceAndSourcemap'](_0x71f71b,_0x6236c1,_0x246443,(_0x257d71,_0x2583a3,_0x2e36b6)=>{const _0x514ab7=_0x31d60e;if(_0x257d71)return;_0x148a03&&(this['dumpedScriptIds']['add'](_0x71f71b),this[_0x514ab7(0x219)](_0x180902,_0x2583a3));});}[a36_0x49295a(0x184)](_0x230b67,_0x1ce734){const _0x3d00e1=a36_0x49295a,_0x1c52f4=this['config'][_0x3d00e1(0x15b)]['dumpJSContentFilenames'];return _0x1c52f4?.[_0x3d00e1(0x213)]&&_0x1c52f4[_0x3d00e1(0x221)](_0x1e7701=>{const _0x252322=_0x3d00e1,_0x56bd5d=_0x1e7701['trim']();return _0x56bd5d[_0x252322(0x213)]>0x0&&_0x230b67['includes'](_0x56bd5d);})&&!this[_0x3d00e1(0x1c6)][_0x3d00e1(0x1bb)](_0x1ce734);}['set'](_0x22f768,_0x215b46){const _0x2b15fd=a36_0x49295a;if(typeof _0x22f768?.['id']===_0x2b15fd(0x183)||!_0x22f768['location']?.['path']||!_0x22f768['location'][_0x2b15fd(0x152)])return(0x0,utils_1['setErrorStatusAndCallback'])(_0x215b46,_0x22f768,status_message_1[_0x2b15fd(0x214)]['UNSPECIFIED'],utils_1[_0x2b15fd(0x1de)]['INVALID_BREAKPOINT']);this['logger'][_0x2b15fd(0x1d5)](_0x2b15fd(0x1c8),_0x22f768?.['action'],_0x22f768?.[_0x2b15fd(0x14d)]?.[_0x2b15fd(0x178)],_0x22f768?.['location']?.['line']);const _0x481846=path[_0x2b15fd(0x169)](_0x22f768[_0x2b15fd(0x14d)]['path']);if(!this[_0x2b15fd(0x208)][_0x2b15fd(0x19a)](_0x481846)){this['logger']['info'](_0x2b15fd(0x195),_0x481846);const _0x55b418=path[_0x2b15fd(0x1f3)](_0x481846);if(!this['config'][_0x2b15fd(0x173)]['includes'](_0x55b418)){const _0x4a562d=_0x481846[_0x2b15fd(0x1a4)](0x0,_0x481846[_0x2b15fd(0x213)]-_0x55b418[_0x2b15fd(0x213)]),_0x945d9=this['config'][_0x2b15fd(0x173)][_0x2b15fd(0x1d4)](_0x1a8aad=>_0x4a562d+_0x1a8aad)[_0x2b15fd(0x221)](_0x3343b9=>(0x0,utils_1[_0x2b15fd(0x1bd)])(_0x3343b9,this['fileIndex'])),_0x1085f4=_0x945d9?utils_1[_0x2b15fd(0x1de)]['COULD_NOT_FIND_MAPPING_FILE']:utils_1['errors'][_0x2b15fd(0x1d2)];return(0x0,utils_1[_0x2b15fd(0x1d6)])(_0x215b46,_0x22f768,status_message_1[_0x2b15fd(0x214)]['BREAKPOINT_SOURCE_LOCATION'],_0x1085f4);}this['setInternal'](_0x22f768,null,null,_0x215b46);}else{this[_0x2b15fd(0x14a)]['info'](_0x2b15fd(0x15d),_0x481846);const {line:_0x229a06}=_0x22f768['location'],_0x16a4c8=0x0,_0x3b30ad=this[_0x2b15fd(0x208)][_0x2b15fd(0x1a6)](_0x481846,_0x229a06,_0x16a4c8);this[_0x2b15fd(0x14a)][_0x2b15fd(0x1d5)](_0x2b15fd(0x1c4),_0x3b30ad?.['file'],_0x3b30ad?.[_0x2b15fd(0x152)],_0x3b30ad?.[_0x2b15fd(0x1c5)]);const _0x156621=(0x0,utils_1[_0x2b15fd(0x1b7)])(_0x22f768);if(_0x22f768[_0x2b15fd(0x161)]&&_0x156621)try{_0x22f768[_0x2b15fd(0x161)]=_0x156621(_0x22f768[_0x2b15fd(0x161)]);}catch{return this['logger']['warn'](_0x2b15fd(0x21c)+_0x22f768[_0x2b15fd(0x161)]+_0x2b15fd(0x1c0)),(0x0,utils_1[_0x2b15fd(0x1d6)])(_0x215b46,_0x22f768,status_message_1['StatusMessage'][_0x2b15fd(0x1cb)],utils_1[_0x2b15fd(0x1de)][_0x2b15fd(0x164)]);}this[_0x2b15fd(0x171)](_0x22f768,_0x3b30ad,_0x156621,_0x215b46);}}[a36_0x49295a(0x193)](_0x245a18,_0x12cf57){const _0x467d96=a36_0x49295a;if(typeof _0x245a18['id']===_0x467d96(0x183))return this[_0x467d96(0x14a)][_0x467d96(0x1d5)]('Cannot\x20clear\x20breakpoint\x20-\x20id\x20is\x20undefined'),(0x0,utils_1[_0x467d96(0x1d6)])(_0x12cf57,_0x245a18,status_message_1[_0x467d96(0x214)][_0x467d96(0x1cb)],utils_1[_0x467d96(0x1de)]['V8_BREAKPOINT_CLEAR_ERROR']);const _0x118908=this['breakpoints'][_0x245a18['id']];if(!_0x118908)return this[_0x467d96(0x14a)][_0x467d96(0x1d5)](_0x467d96(0x1c7)+_0x245a18['id']),(0x0,utils_1['setErrorStatusAndCallback'])(_0x12cf57,_0x245a18,status_message_1[_0x467d96(0x214)]['BREAKPOINT_CONDITION'],utils_1[_0x467d96(0x1de)][_0x467d96(0x151)]);const {locationStr:_0x51b9a3}=_0x118908,_0x1cb4dd=_0x118908['id'];(0x0,utils_1[_0x467d96(0x21a)])(this['locationMapper'][_0x51b9a3],_0x245a18['id']);this['locationMapper'][_0x51b9a3][_0x467d96(0x213)]===0x0&&delete this[_0x467d96(0x192)][_0x51b9a3];(0x0,utils_1[_0x467d96(0x21a)])(this[_0x467d96(0x1b9)][_0x1cb4dd],_0x245a18['id']);this[_0x467d96(0x1b9)][_0x1cb4dd][_0x467d96(0x213)]===0x0&&delete this['breakpointMapper'][_0x1cb4dd];let _0x5f558f={};!this[_0x467d96(0x1b9)][_0x118908['id']]&&(_0x5f558f=this[_0x467d96(0x20b)][_0x467d96(0x160)](_0x118908['id'])),delete this[_0x467d96(0x1df)][_0x245a18['id']],delete this[_0x467d96(0x144)][_0x245a18['id']],this[_0x467d96(0x1d9)]--,setImmediate(()=>{const _0x15c7b3=_0x467d96;_0x5f558f[_0x15c7b3(0x21b)]?_0x12cf57(_0x5f558f['error']):_0x12cf57(null);});}[a36_0x49295a(0x1cf)](_0x146c7f,_0x4087ff){const _0x1aaba5=a36_0x49295a,_0x1b90e0=this['onBreakpointHit'][_0x1aaba5(0x176)](this,_0x146c7f,_0x4316b1=>{const _0x474699=_0x1aaba5,_0xb39908=--this[_0x474699(0x1df)][_0x146c7f['id']][_0x474699(0x1f8)];(_0xb39908<=0x0||_0x4316b1)&&(this[_0x474699(0x144)][_0x146c7f['id']]['enabled']=![]),_0x4087ff(_0x4316b1??undefined);});this[_0x1aaba5(0x144)][_0x146c7f['id']]={'enabled':!![],'listener':_0x1b90e0};}[a36_0x49295a(0x1ea)](_0x2b3143,_0x174322,_0x8d011b,_0x1f4c6a){const _0x213043=a36_0x49295a,_0xd84ff3=this[_0x213043(0x14c)][_0x213043(0x176)](this,_0x2b3143,_0x25f1b9=>{const _0x569c19=_0x213043;if(_0x25f1b9){this['listeners'][_0x2b3143['id']][_0x569c19(0x190)]=![],setImmediate(()=>{_0x1f4c6a(_0x25f1b9||undefined);});return;}_0x174322(_0x2b3143['logMessageFormat'],_0x2b3143[_0x569c19(0x1e7)]),_0x2b3143[_0x569c19(0x1e7)]=[],_0x8d011b()?this['listeners'][_0x2b3143['id']][_0x569c19(0x190)]=![]:this[_0x569c19(0x1ef)]['needsRecoveryTime'](_0x2b3143['id'])&&(this[_0x569c19(0x144)][_0x2b3143['id']][_0x569c19(0x190)]=![],setTimeout(()=>{const _0x5aedcd=_0x569c19;!_0x8d011b()&&this[_0x5aedcd(0x144)][_0x2b3143['id']]&&(this[_0x5aedcd(0x144)][_0x2b3143['id']][_0x5aedcd(0x190)]=!![]),this[_0x5aedcd(0x1ef)][_0x5aedcd(0x17e)](_0x2b3143['id']);},this[_0x569c19(0x150)][_0x569c19(0x167)][_0x569c19(0x146)]*0x3e8));});this['listeners'][_0x2b3143['id']]={'enabled':!![],'listener':_0xd84ff3};}[a36_0x49295a(0x1ff)](){const _0x2582f1=a36_0x49295a;this[_0x2582f1(0x20b)]['detach']();}[a36_0x49295a(0x16e)](){const _0x521141=a36_0x49295a;this[_0x521141(0x20b)][_0x521141(0x16e)]();}[a36_0x49295a(0x1b2)](){const _0x133939=a36_0x49295a;this[_0x133939(0x20b)][_0x133939(0x1b2)]();}['numBreakpoints_'](){const _0x4ab298=a36_0x49295a;return Object[_0x4ab298(0x1e0)](this[_0x4ab298(0x1df)])[_0x4ab298(0x213)];}['numListeners_'](){const _0x46e863=a36_0x49295a;return Object[_0x46e863(0x1e0)](this[_0x46e863(0x144)])[_0x46e863(0x213)];}['remainingHits'](_0x5eab36){const _0x242d5a=a36_0x49295a;return this['breakpoints'][_0x5eab36][_0x242d5a(0x1f8)];}['setBlocklistManager'](_0x5ac5bf){const _0x4c642a=a36_0x49295a;this[_0x4c642a(0x215)]=_0x5ac5bf;}[a36_0x49295a(0x171)](_0x301cc7,_0xea3fd6,_0x3f32bb,_0x38999a){const _0x49b9e0=a36_0x49295a;let _0x110eb1=null;if(_0x301cc7[_0x49b9e0(0x161)])try{_0x110eb1=acorn[_0x49b9e0(0x1bc)](_0x301cc7['condition'],{'sourceType':_0x49b9e0(0x148),'ecmaVersion':0xb});const _0x1c195b=require('../util/validator.js');if(!_0x1c195b[_0x49b9e0(0x1e3)](_0x110eb1,![]))return(0x0,utils_1[_0x49b9e0(0x1d6)])(_0x38999a,_0x301cc7,status_message_1[_0x49b9e0(0x214)][_0x49b9e0(0x1cb)],utils_1['errors'][_0x49b9e0(0x1b4)]);}catch(_0x31eb32){return(0x0,utils_1[_0x49b9e0(0x1d6)])(_0x38999a,_0x301cc7,status_message_1[_0x49b9e0(0x214)][_0x49b9e0(0x1cb)],{...utils_1[_0x49b9e0(0x1de)][_0x49b9e0(0x15c)],'parameters':[_0x31eb32['message']]});}let _0x30a7ee;const _0x1aa408=_0xea3fd6?_0xea3fd6[_0x49b9e0(0x20f)]:path[_0x49b9e0(0x169)](_0x301cc7[_0x49b9e0(0x14d)]['path']);this[_0x49b9e0(0x14a)][_0x49b9e0(0x1d5)]('Searching\x20for\x20a\x20script\x20file:\x20',_0x1aa408);const _0x11cd52=(0x0,utils_1[_0x49b9e0(0x205)])(_0x1aa408,this[_0x49b9e0(0x150)],this[_0x49b9e0(0x1a2)],this[_0x49b9e0(0x14a)]);if(_0x11cd52[_0x49b9e0(0x213)]===0x0)return(0x0,utils_1[_0x49b9e0(0x1d6)])(_0x38999a,_0x301cc7,status_message_1[_0x49b9e0(0x214)][_0x49b9e0(0x14b)],utils_1[_0x49b9e0(0x1de)][_0x49b9e0(0x1d2)]);else{if(_0x11cd52[_0x49b9e0(0x213)]===0x1)this['logger'][_0x49b9e0(0x1d5)]('Found\x20script\x20file:\x20',_0x11cd52[0x0]),[_0x30a7ee]=_0x11cd52;else return this[_0x49b9e0(0x14a)][_0x49b9e0(0x19d)](_0x49b9e0(0x1e2)+_0x1aa408+'.\x20Potential\x20matches:\x20'+_0x11cd52),(0x0,utils_1[_0x49b9e0(0x1d6)])(_0x38999a,_0x301cc7,status_message_1['StatusMessage'][_0x49b9e0(0x14b)],utils_1[_0x49b9e0(0x1de)]['SOURCE_FILE_AMBIGUOUS']);}if(this['blocklistManager'][_0x49b9e0(0x159)](_0x30a7ee))return(0x0,utils_1[_0x49b9e0(0x1d6)])(_0x38999a,_0x301cc7,status_message_1['StatusMessage'][_0x49b9e0(0x14b)],utils_1[_0x49b9e0(0x1de)]['BREAKPOINT_PATH_BLOCKED']);const _0x55b1d3=_0xea3fd6?.[_0x49b9e0(0x1c5)]??_0x301cc7['location']['column']??0x0,_0x4764bd=_0xea3fd6?_0xea3fd6['line']:_0x301cc7['location'][_0x49b9e0(0x152)],_0x1fa198=this['fileIndex'][_0x49b9e0(0x212)][_0x30a7ee];this[_0x49b9e0(0x14a)][_0x49b9e0(0x1d5)](_0x49b9e0(0x1e9),_0x1fa198?.['lines'],'hash:\x20',_0x1fa198?.[_0x49b9e0(0x1cd)]);if(_0x4764bd>=_0x1fa198[_0x49b9e0(0x217)]||_0x4764bd<0x1){const _0x31e8c0=utils_1[_0x49b9e0(0x1de)][_0x49b9e0(0x19c)]['description']+_0x30a7ee,{lines:_0x3bd93a}=this['fileIndex']['fileStats'][_0x30a7ee];return(0x0,utils_1[_0x49b9e0(0x1d6)])(_0x38999a,_0x301cc7,status_message_1[_0x49b9e0(0x214)][_0x49b9e0(0x14b)],{...utils_1[_0x49b9e0(0x1de)][_0x49b9e0(0x19c)],'description':_0x31e8c0+':'+_0x4764bd+_0x49b9e0(0x17b)+_0x3bd93a+'\x20lines.\x20Please\x20ensure\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the\x20deployed\x20source.'});}const _0x365628=this[_0x49b9e0(0x14f)](_0x301cc7,_0x4764bd,_0x55b1d3,_0x30a7ee);if(!_0x365628)return(0x0,utils_1['setErrorStatusAndCallback'])(_0x38999a,_0x301cc7,status_message_1['StatusMessage']['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x49b9e0(0x1de)]['V8_BREAKPOINT_ERROR']);this[_0x49b9e0(0x1df)][_0x301cc7['id']]=new BreakpointData(_0x365628[_0x49b9e0(0x1a3)],_0x301cc7,_0x110eb1,_0x365628[_0x49b9e0(0x1f9)],_0x3f32bb,_0x301cc7[_0x49b9e0(0x1fa)]||0x1,_0x301cc7[_0x49b9e0(0x1ca)],_0x301cc7[_0x49b9e0(0x1f4)]),this[_0x49b9e0(0x1d9)]++,setImmediate(()=>{_0x38999a(null);});}[a36_0x49295a(0x14f)](_0x42669d,_0x15b3af,_0x4a5a95,_0x2cadb7){const _0x5950db=a36_0x49295a,_0x2f03b0=JSON['stringify']({'file':_0x2cadb7,'line':_0x15b3af,'column':_0x4a5a95});let _0x995f53;if(!this[_0x5950db(0x192)][_0x2f03b0]){this[_0x5950db(0x19e)](_0x2cadb7,_0x15b3af,_0x4a5a95);const _0xf79586=this[_0x5950db(0x20b)][_0x5950db(0x17f)]()?'file://'+_0x2cadb7:_0x2cadb7,_0x24072f=process[_0x5950db(0x1fd)]===_0x5950db(0x1eb)?_0xf79586[_0x5950db(0x191)](/^file:\/\//,_0x5950db(0x1ee))[_0x5950db(0x191)](/\\/g,'/'):_0xf79586,_0x156983=this[_0x5950db(0x20b)][_0x5950db(0x189)]({'lineNumber':_0x15b3af-0x1,'url':encodeURI(_0x24072f),'columnNumber':_0x4a5a95});if(_0x156983[_0x5950db(0x21b)]||!_0x156983[_0x5950db(0x210)])return this[_0x5950db(0x14a)][_0x5950db(0x21b)](_0x5950db(0x18a)+_0x24072f+':'+_0x15b3af+',\x20'+('setBreakpointByUrl\x20error:\x20'+JSON[_0x5950db(0x1ab)](_0x156983[_0x5950db(0x21b)]))),null;_0x995f53=_0x156983['response'][_0x5950db(0x1e1)],this[_0x5950db(0x14a)][_0x5950db(0x1a0)](_0x5950db(0x1da),_0x995f53),delete this[_0x5950db(0x192)][_0x2f03b0],delete this[_0x5950db(0x1b9)][_0x995f53],this[_0x5950db(0x192)][_0x2f03b0]=[],this[_0x5950db(0x1b9)][_0x995f53]=[];}else _0x995f53=this[_0x5950db(0x1df)][this[_0x5950db(0x192)][_0x2f03b0][0x0]]['id'],this[_0x5950db(0x14a)][_0x5950db(0x1a0)]('Breakpoint\x20is\x20found\x20at\x20a\x20given\x20location.\x20Id:\x20',_0x995f53);return this[_0x5950db(0x192)][_0x2f03b0]['push'](_0x42669d['id']),this[_0x5950db(0x1b9)][_0x995f53][_0x5950db(0x153)](_0x42669d['id']),{'v8BreakpointId':_0x995f53,'locationStr':_0x2f03b0};}[a36_0x49295a(0x162)](_0x108c12,_0x5c3450){const _0x37801a=a36_0x49295a,_0x44b993=_0x108c12[_0x37801a(0x220)]??[];if(!_0x44b993[_0x37801a(0x213)])return null;const _0x819569=path[_0x37801a(0x169)](_0x5c3450),_0x4816f1=path[_0x37801a(0x201)](_0x5c3450),_0x51d033=_0x44b993['find'](_0x4362d9=>path['normalize'](_0x4362d9)===_0x819569)??_0x44b993[_0x37801a(0x154)](_0x429a69=>_0x429a69===_0x5c3450||_0x429a69[_0x37801a(0x181)](_0x5c3450)||_0x5c3450[_0x37801a(0x181)](_0x429a69));if(_0x51d033)return _0x51d033;const _0x27b285=_0x44b993[_0x37801a(0x163)](_0x1cbfdb=>path[_0x37801a(0x201)](_0x1cbfdb)===_0x4816f1);return _0x27b285[_0x37801a(0x213)]===0x1?_0x27b285[0x0]:_0x44b993[0x0];}['getCachedSourceMapForPath'](_0xd43645){const _0x37a521=a36_0x49295a,_0x2fe9c1=this['liveScriptSourceMapCache'],_0x5948c7=path['normalize'](_0xd43645),_0x378bab=_0x2fe9c1[_0x37a521(0x198)](_0xd43645)??_0x2fe9c1['get'](_0x5948c7);if(_0x378bab)return _0x378bab;const _0x31c90d=Array[_0x37a521(0x1f6)](_0x2fe9c1[_0x37a521(0x1e0)]());if(_0x31c90d[_0x37a521(0x213)]!==0x0){const _0x381e2d=file_index_1[_0x37a521(0x166)][_0x37a521(0x1c2)](_0x31c90d)['findShortestFuzzyMatches'](_0xd43645);if(_0x381e2d[_0x37a521(0x213)]===0x1){const _0xf21e20=_0x2fe9c1[_0x37a521(0x198)](_0x381e2d[0x0]);if(_0xf21e20)return _0x2fe9c1['set'](_0xd43645,_0xf21e20),_0xf21e20;}}return null;}[a36_0x49295a(0x165)](_0x2354f6,_0x360d7f,_0x1078e0){const _0x334198=a36_0x49295a;try{const _0x5e6ca1=this['getCachedSourceMapForPath'](_0x2354f6);if(!_0x5e6ca1)return null;const {rawMap:_0x6035e2,source:_0x3030e2}=_0x5e6ca1,_0x42b717=new source_map_1[(_0x334198(0x145))](_0x6035e2),_0x45b017={'source':_0x3030e2,'line':_0x360d7f,'column':_0x1078e0},_0x2685c7=(0x0,sourcemapper_1['generatedPositionFromSource'])(_0x42b717,_0x45b017);if(_0x2685c7[_0x334198(0x152)]!==null&&_0x2685c7[_0x334198(0x152)]!==undefined)return{'line':_0x2685c7['line'],'column':_0x2685c7[_0x334198(0x1c5)]??0x0};this['logger'][_0x334198(0x1a0)](_0x334198(0x1a7)+_0x3030e2+':'+_0x360d7f);}catch(_0x1d6e5b){this[_0x334198(0x14a)][_0x334198(0x19d)](_0x334198(0x1b3)+_0x2354f6+':'+_0x360d7f+':'+_0x1078e0,_0x1d6e5b);}return null;}[a36_0x49295a(0x13e)](_0xe50745,_0xed414c,_0x3e5600){const _0x2ecaea=a36_0x49295a,_0x36aace=this[_0x2ecaea(0x177)](_0xe50745);if(!_0x36aace)return this[_0x2ecaea(0x14a)][_0x2ecaea(0x1d5)]('Script\x20sourcemap\x20not\x20found\x20for\x20'+_0xe50745+'\x20'+_0xed414c+':'+_0x3e5600),null;const _0x2914e7=new source_map_1[(_0x2ecaea(0x145))](_0x36aace[_0x2ecaea(0x1b1)]),_0x125473=_0x2914e7[_0x2ecaea(0x158)]({'line':_0xed414c+0x1,'column':_0x3e5600,'bias':source_map_1['SourceMapConsumer'][_0x2ecaea(0x18f)]});if(!_0x125473[_0x2ecaea(0x1f5)])return this['logger']['warn']('Failed\x20to\x20find\x20original\x20source\x20for\x20instrumented\x20position\x20'+_0xe50745+'\x20'+_0xed414c+':'+_0x3e5600),null;const _0x39b03f=path['dirname'](_0xe50745),_0x2d233f=path[_0x2ecaea(0x169)](path[_0x2ecaea(0x1fe)](_0x39b03f,_0x125473[_0x2ecaea(0x1f5)]));return{'file':_0x2d233f,'line':_0x125473[_0x2ecaea(0x152)]??0x0,'column':_0x125473[_0x2ecaea(0x1c5)]??0x0};}['fetchScriptSource'](_0x48e0ce,_0x27ef94,_0xbe3633){const _0x274ba8=a36_0x49295a,_0x144e29=_0x27ef94??this[_0x274ba8(0x20b)]['session'];if(!_0x144e29)return;const _0x95b753={'scriptId':_0x48e0ce};_0x144e29[_0x274ba8(0x172)](_0x274ba8(0x1d3),_0x95b753,(_0x254b4d,_0x51d792)=>{const _0x4560f4=_0x274ba8;if(_0x254b4d){_0xbe3633(_0x254b4d,'');return;}const _0x5d00a5=String(_0x51d792?.[_0x4560f4(0x185)]??'');_0xbe3633(null,_0x5d00a5);});}[a36_0x49295a(0x20e)](_0x26f9e5,_0x2f4ccf,_0x189e01,_0x5aa088){const _0x1113ba=a36_0x49295a;this[_0x1113ba(0x209)](_0x26f9e5,_0x2f4ccf,(_0x2df061,_0xd8817e)=>{const _0x5bfc36=_0x1113ba;if(_0x2df061){_0x5aa088(_0x2df061,'',null);return;}const _0x3d4f66=this[_0x5bfc36(0x1fc)][_0x26f9e5]?.['url']??'',_0x244008=this[_0x5bfc36(0x1b6)](_0xd8817e);if(_0x244008){const _0x3945cf=path['normalize'](_0x189e01);this[_0x5bfc36(0x14a)]['debug'](_0x5bfc36(0x1e8)+_0x3945cf);const _0x3a3409=this['resolveSourceForPath'](_0x244008,_0x189e01)??'',_0x2bbd5f={'rawMap':_0x244008,'source':_0x3a3409};_0x3d4f66&&this[_0x5bfc36(0x16d)][_0x5bfc36(0x149)](_0x3d4f66,_0x2bbd5f),this[_0x5bfc36(0x16d)][_0x5bfc36(0x149)](_0x3945cf,_0x2bbd5f);}_0x5aa088(null,_0xd8817e,_0x244008??null);});}[a36_0x49295a(0x219)](_0x46d6ad,_0x22476d){const _0x10243f=a36_0x49295a,_0x49088e=0x30d40,_0x307b1a=_0x22476d[_0x10243f(0x213)]>_0x49088e?_0x22476d[_0x10243f(0x20c)](0x0,_0x49088e)+'\x0a/*\x20...\x20truncated\x20'+(_0x22476d[_0x10243f(0x213)]-_0x49088e)['toString']()+'\x20...\x20*/\x0a':_0x22476d;this['logger'][_0x10243f(0x1a0)](_0x10243f(0x16a)+_0x46d6ad),this[_0x10243f(0x14a)][_0x10243f(0x1a0)](_0x307b1a);}[a36_0x49295a(0x1b6)](_0x238299){const _0x172cb5=a36_0x49295a,_0x587b78=_0x238299['match'](/\/\/# sourceMappingURL=data:application\/json;base64,([A-Za-z0-9+/=]+)\s*$/m);if(!_0x587b78)return undefined;const [,_0x3dc877]=_0x587b78;try{const _0x5e7202=Buffer[_0x172cb5(0x1f6)](_0x3dc877,_0x172cb5(0x216))['toString']('utf8');return JSON['parse'](_0x5e7202);}catch{return undefined;}}['inspectScriptForDebug'](_0x3831f3,_0x50bc86,_0x7a20ba){const _0x7ec0eb=a36_0x49295a;try{if(!this[_0x7ec0eb(0x150)][_0x7ec0eb(0x15b)][_0x7ec0eb(0x218)])return;const _0xc6aeaa=(0x0,fs_1[_0x7ec0eb(0x1af)])(_0x3831f3,_0x7ec0eb(0x1c9)),_0xfe9a44=_0xc6aeaa[_0x7ec0eb(0x1cc)](/\r?\n/),_0x3b4164=_0x50bc86-0x2,_0x390498=_0x50bc86-0x1,_0x56471b=_0x50bc86;this['printDebugCodeLine']('lineNumberBefore:\x20'+_0x3b4164,_0xfe9a44[_0x3b4164],_0x7a20ba),this[_0x7ec0eb(0x174)](_0x7ec0eb(0x1ae)+_0x390498,_0xfe9a44[_0x390498],_0x7a20ba),this[_0x7ec0eb(0x174)]('lineNumberAfterAfter:\x20'+_0x56471b,_0xfe9a44[_0x56471b],_0x7a20ba);}catch(_0x128c24){this['logger'][_0x7ec0eb(0x21b)]('inspectScriptForDebug.',_0x128c24);}}[a36_0x49295a(0x174)](_0x5e86f4,_0x384e43,_0x2d1509){const _0x1917b1=a36_0x49295a;this[_0x1917b1(0x14a)][_0x1917b1(0x1d5)](_0x5e86f4);if(!_0x384e43){this[_0x1917b1(0x14a)]['debug'](_0x1917b1(0x1b0));return;}const _0x64cd7c=0x12c;_0x2d1509=_0x2d1509||0x0;if(_0x384e43[_0x1917b1(0x213)]<=_0x64cd7c)this['logger'][_0x1917b1(0x1d5)](_0x1917b1(0x1d8)+_0x384e43+_0x1917b1(0x1ba)+_0x2d1509);else{if(_0x384e43[_0x1917b1(0x213)]>_0x2d1509){const _0x5ce222=_0x384e43[_0x1917b1(0x1a4)](_0x2d1509,_0x64cd7c);this[_0x1917b1(0x14a)][_0x1917b1(0x1d5)](_0x1917b1(0x175)+_0x64cd7c+_0x1917b1(0x1dc)+_0x2d1509+_0x1917b1(0x1ac)+_0x5ce222+'`');}else{this['logger'][_0x1917b1(0x1d5)]('Error!\x20Line\x20is\x20shorter\x20then\x20column.\x20Column:\x20'+_0x2d1509+',\x20line\x20length:\x20'+_0x384e43[_0x1917b1(0x213)]);const _0x4c52ba=_0x384e43[_0x1917b1(0x1a4)](0x0,_0x64cd7c);this[_0x1917b1(0x14a)][_0x1917b1(0x1d5)]('Printing\x20first\x20'+_0x64cd7c+'\x20chars\x20from\x20the\x20line:\x0a'+_0x4c52ba);}}}[a36_0x49295a(0x143)](_0x5c0051,_0x6f2ecd){const _0x453131=a36_0x49295a,_0x8af6e9=this[_0x453131(0x150)][_0x453131(0x1c3)],{condition:_0x551161}=_0x5c0051;if(_0x551161){const _0x562633=process[_0x453131(0x13d)](),_0x3bf85f=state['evaluate'](_0x551161,_0x6f2ecd,this[_0x453131(0x20b)],!![],_0x8af6e9),_0x230aad=process[_0x453131(0x13d)](_0x562633);if(!this['quotaManager'][_0x453131(0x1ca)]){const _0x84eb6c=this[_0x453131(0x1be)](_0x230aad),_0x95c843=this[_0x453131(0x1ef)][_0x453131(0x194)](_0x84eb6c,_0x5c0051);if(_0x95c843)return[undefined,_0x95c843];}if(_0x3bf85f['error'])return this[_0x453131(0x14a)][_0x453131(0x1d5)](_0x453131(0x20a)+_0x551161+'\x20due\x20to\x20error:\x20',_0x3bf85f[_0x453131(0x21b)]),[undefined,{...utils_1[_0x453131(0x1de)][_0x453131(0x1b8)],'description':(utils_1[_0x453131(0x1de)][_0x453131(0x1b8)][_0x453131(0x14e)]??'')+_0x3bf85f[_0x453131(0x21b)][_0x453131(0x14e)]}];if(!_0x3bf85f[_0x453131(0x203)][_0x453131(0x19b)])return this[_0x453131(0x14a)][_0x453131(0x1d5)](_0x453131(0x1bf)+_0x551161+_0x453131(0x1f7)),[![],undefined];}return[!![],undefined];}[a36_0x49295a(0x14c)](_0x51dbaa,_0x428702,_0x49f238){const _0x3c33aa=a36_0x49295a,[_0x42a326,_0x309608]=this[_0x3c33aa(0x143)](_0x51dbaa,_0x49f238[0x0]);if(_0x309608!==undefined){(0x0,utils_1[_0x3c33aa(0x1d6)])(_0x428702,_0x51dbaa,status_message_1[_0x3c33aa(0x214)]['BREAKPOINT_CONDITION'],_0x309608);return;}if(_0x42a326===![])return;const _0x272b72=process[_0x3c33aa(0x13d)]();try{this[_0x3c33aa(0x15f)](_0x51dbaa,_0x49f238);}catch(_0x28983c){return(0x0,utils_1[_0x3c33aa(0x1d6)])(_0x428702,_0x51dbaa,status_message_1[_0x3c33aa(0x214)]['BREAKPOINT_SOURCE_LOCATION'],utils_1['errors']['CAPTURE_BREAKPOINT_DATA']+_0x28983c);}const _0x5ac446=process[_0x3c33aa(0x13d)](_0x272b72),_0x4fa05=this[_0x3c33aa(0x1be)](_0x5ac446);this[_0x3c33aa(0x1ef)][_0x3c33aa(0x18b)](_0x51dbaa['id'],_0x4fa05),this[_0x3c33aa(0x14a)][_0x3c33aa(0x1d5)]((0x0,utils_1[_0x3c33aa(0x1ad)])(_0x3c33aa(0x147),_0x5ac446)),_0x428702(null);}[a36_0x49295a(0x15f)](_0x4f70c5,_0x9bb093){const _0x9494f0=a36_0x49295a,_0x5e7c36=[];if(_0x4f70c5[_0x9494f0(0x1d0)]&&this[_0x9494f0(0x1df)][_0x4f70c5['id']][_0x9494f0(0x206)])for(let _0x2450a6=0x0;_0x2450a6<_0x4f70c5[_0x9494f0(0x1d0)][_0x9494f0(0x213)];_0x2450a6++){try{_0x4f70c5[_0x9494f0(0x1d0)][_0x2450a6]=this[_0x9494f0(0x1df)][_0x4f70c5['id']][_0x9494f0(0x206)](_0x4f70c5[_0x9494f0(0x1d0)][_0x2450a6]);}catch{this[_0x9494f0(0x14a)][_0x9494f0(0x19d)](_0x9494f0(0x1ec)+_0x4f70c5[_0x9494f0(0x1d0)][_0x2450a6]+_0x9494f0(0x1c0)),_0x5e7c36[_0x9494f0(0x153)]({'name':_0x4f70c5[_0x9494f0(0x1d0)][_0x2450a6],'status':new status_message_1[(_0x9494f0(0x214))](status_message_1[_0x9494f0(0x214)]['VARIABLE_VALUE'],utils_1['errors'][_0x9494f0(0x21d)],!![])}),_0x4f70c5[_0x9494f0(0x1d0)]['splice'](_0x2450a6,0x1),_0x2450a6--;}}if(_0x4f70c5[_0x9494f0(0x155)]==='LOG'){if(!_0x4f70c5[_0x9494f0(0x1d0)])_0x4f70c5[_0x9494f0(0x1e7)]=[];else{const [_0x312d1e]=_0x9bb093;_0x4f70c5[_0x9494f0(0x1e7)]=_0x4f70c5[_0x9494f0(0x1d0)][_0x9494f0(0x1d4)](_0x9ce25a=>{const _0x29884c=_0x9494f0,_0x5d139d=state[_0x29884c(0x1f1)](_0x9ce25a,_0x312d1e,this['v8Inspector'],!![],this[_0x29884c(0x150)][_0x29884c(0x1c3)]);return _0x5d139d[_0x29884c(0x21b)]?_0x5d139d[_0x29884c(0x21b)]:_0x5d139d['object']['value'];});}}else{const _0x95fff6=this['config'][_0x9494f0(0x1e6)]?this['reverseFromScriptSourcemap'][_0x9494f0(0x176)](this):undefined,_0x14aa7=state[_0x9494f0(0x21e)](_0x9bb093,_0x4f70c5,this[_0x9494f0(0x1dd)](_0x4f70c5),this[_0x9494f0(0x1fc)],this[_0x9494f0(0x20b)],this[_0x9494f0(0x215)],this[_0x9494f0(0x208)],_0x95fff6);_0x4f70c5[_0x9494f0(0x14d)]&&(0x0,utils_1[_0x9494f0(0x17a)])(_0x4f70c5['location'][_0x9494f0(0x178)])&&(_0x4f70c5[_0x9494f0(0x14d)][_0x9494f0(0x152)]=_0x9bb093[0x0]['location'][_0x9494f0(0x15e)]+0x1),_0x4f70c5[_0x9494f0(0x18d)]=_0x14aa7[_0x9494f0(0x18d)],_0x4f70c5[_0x9494f0(0x187)]=_0x14aa7[_0x9494f0(0x187)],_0x4f70c5[_0x9494f0(0x1e7)]=_0x5e7c36[_0x9494f0(0x1fb)](_0x14aa7[_0x9494f0(0x1e7)]);}}[a36_0x49295a(0x1e4)](_0x5d4f3c){const _0x58a95b=a36_0x49295a;try{if(!_0x5d4f3c[_0x58a95b(0x142)])return;const _0x187003=_0x5d4f3c[_0x58a95b(0x142)][0x0],_0x112557=this[_0x58a95b(0x1b9)][_0x187003];if(!_0x112557)return;_0x112557[_0x58a95b(0x1aa)](_0x542c4b=>{const _0x358e36=_0x58a95b;this[_0x358e36(0x144)][_0x542c4b]['enabled']&&(this[_0x358e36(0x14a)][_0x358e36(0x1d5)]('>>>breakpoint\x20hit<<<\x20number:\x20'+_0x542c4b),this['listeners'][_0x542c4b]['listener'](_0x5d4f3c['callFrames']));});}catch(_0x1c2267){this[_0x58a95b(0x14a)]['warn'](_0x58a95b(0x1f0)+_0x1c2267);}}[a36_0x49295a(0x1be)](_0x2e5240){return _0x2e5240[0x0]*0x3b9aca00+_0x2e5240[0x1];}[a36_0x49295a(0x1dd)](_0x16052e){const _0x8b99ee=a36_0x49295a;if(!this[_0x8b99ee(0x197)][_0x8b99ee(0x188)](_0x8b99ee(0x13c)))return this[_0x8b99ee(0x150)];const {maxSnapshotBufferSize:_0x1b0df3,maxSnapshotFrameCount:_0x5cb9a7,captureObjectExploreMaxDepth:_0x336714}=_0x16052e;return(0x0,limitConfig_1[_0x8b99ee(0x170)])({...this['config'],'capture':{...this[_0x8b99ee(0x150)][_0x8b99ee(0x21e)],..._0x1b0df3!==undefined&&{'maxSnapshotBufferSize':_0x1b0df3},..._0x5cb9a7!==undefined&&{'maxExpandFrames':_0x5cb9a7},..._0x336714!==undefined&&{'maxVariableDepth':_0x336714}}});}}exports['InspectorDebugApi']=InspectorDebugApi;
|
|
1
|
+
function a36_0x3d3d(_0x1094cc,_0x5060e1){const _0x397d30=a36_0x4633();return a36_0x3d3d=function(_0x43e891,_0x1e012f){_0x43e891=_0x43e891-0x94;let _0x463337=_0x397d30[_0x43e891];return _0x463337;},a36_0x3d3d(_0x1094cc,_0x5060e1);}const a36_0x443033=a36_0x3d3d;(function(_0x2734eb,_0x386a8b){const _0x3609e5=a36_0x3d3d,_0x26f7d3=_0x2734eb();while(!![]){try{const _0xc4b61e=-parseInt(_0x3609e5(0xb8))/0x1+-parseInt(_0x3609e5(0x112))/0x2+-parseInt(_0x3609e5(0x150))/0x3+-parseInt(_0x3609e5(0x14e))/0x4+parseInt(_0x3609e5(0xd1))/0x5+parseInt(_0x3609e5(0x134))/0x6*(parseInt(_0x3609e5(0xb7))/0x7)+parseInt(_0x3609e5(0x141))/0x8;if(_0xc4b61e===_0x386a8b)break;else _0x26f7d3['push'](_0x26f7d3['shift']());}catch(_0x1061b9){_0x26f7d3['push'](_0x26f7d3['shift']());}}}(a36_0x4633,0xb0f25));const a36_0x1e012f=(function(){let _0x5aeadc=!![];return function(_0x536595,_0x250363){const _0x1d3d89=_0x5aeadc?function(){const _0x599ed2=a36_0x3d3d;if(_0x250363){const _0xe168fc=_0x250363[_0x599ed2(0xf6)](_0x536595,arguments);return _0x250363=null,_0xe168fc;}}:function(){};return _0x5aeadc=![],_0x1d3d89;};}()),a36_0x43e891=a36_0x1e012f(this,function(){const _0x2a6f72=a36_0x3d3d;return a36_0x43e891[_0x2a6f72(0x15d)]()['search']('(((.+)+)+)+$')[_0x2a6f72(0x15d)]()[_0x2a6f72(0x94)](a36_0x43e891)[_0x2a6f72(0x123)](_0x2a6f72(0x154));});function a36_0x4633(){const _0x2ab087=['log','GREATEST_LOWER_BOUND','sources','BREAKPOINT_SOURCE_LOCATION','../blocklisting/dummy-blocklist-manager','removeBreakpoint','SOURCE_FILE_NOT_FOUND','defineProperty','callFrames','\x20chars\x20starting\x20from\x20column\x20','\x20...\x20*/\x0a','apply','Searching\x20for\x20a\x20script\x20file:\x20','FileStats.\x20Lines\x20Count:\x20','listeners','Failed\x20to\x20find\x20original\x20source\x20for\x20instrumented\x20position\x20','set','condition','../state/inspector-state','../debuglet-helpers/limitConfig','some','blocklistManager','wait','includes','extname','shouldDump','parse','\x20chars\x20from\x20the\x20line:\x0a','DISALLOWED_EXPRESSION','cleanupAsyncCallStackInterval','value','lineNumber','object','dirname','logMessageFormat','file','COULD_NOT_FIND_MAPPING_FILE','../io/sourcemapper','stackFrames','1435148NSNtoI','sourceMapDiagnostics','Cannot\x20clear\x20breakpoint\x20-\x20id\x20is\x20undefined','captureBreakpointData','setBreakpointByUrl','hash:\x20','extractLiveScriptSourceMap','isValid','replace','getCachedSourceMapForPath','response','Installing\x20','filter','evaluatedExpressions','Source\x20map\x20is\x20FOUND\x20for\x20','source','isJavaScriptFile','search','[DUMP_CONTENT]\x20url=','disable','\x20evaluated\x20to\x20false\x20-\x20skipping\x20breakpoint','clear','shouldUseWellFormattedUrl','logger','map','../../client/stackdriver/status-message','setErrorStatusAndCallback','find','action','scriptSource','Instrumented\x20mapping:\x20','recovered','V8_BREAKPOINT_CLEAR_ERROR','inspectScriptForDebug','93870QGfAIz','printDebugCodeLine','V8Inspector','breakpointMapper','changeToNS','condition\x20','config','location','ERROR_EVALUATING_CONDITION','handleDebugPausedEvent','fromFileList','get','utf8','21990992uqkXOa','lineNumberAfter:\x20','listener','locationMapper','apiBreakpoint','UNSPECIFIED','Failed\x20to\x20evaluate\x20condition\x20','description','SNAPSHOT_LIMITS_PER_ACTION','quotaManager','dumpedScriptIds','detach','shouldBlock','2652756TGfBQU','generatedPositionFromSource','3506937izEWad','./v8inspector','Script\x20sourcemap\x20not\x20found\x20for\x20','VARIABLE_VALUE','(((.+)+)+)+$','onBreakpointHit','__esModule','fileIndex','internal','mapToInstrumentedPosition\x20failed\x20for\x20','capture\x20time:\x20','Internal\x20V8\x20error\x20on\x20breakpoint\x20event:\x20','breakpoints','toString','fetchScriptSource','join','Unable\x20to\x20compile\x20condition\x20>>\x20','length','warn','compile','scriptUrlToPath','debug','mapByLiveScriptSourcemap','getBreakpointCompiler','base64','BreakpointData','resetV8DebuggerThreshold','isFileIndexed','v8BreakpointId','../util/validator.js','basename','error','loadSourceAndSourcemap','substring','onScriptLoad','from','Debugger.getScriptSource','The\x20whole\x20line:\x20`','expressionsEvalTimeoutMillis','script','column','ignoreQuota','disconnect','concat','logDumpScriptSource',':\x20`','scriptMapper','.\x20Potential\x20matches:\x20','SOURCE_FILE_AMBIGUOUS','reverseFromScriptSourcemap','constructor','dumpJSContentFilenames','DummyBlocklistManager','win32','formatInterval','\x20<<','inspectScriptForDebug.','info','javascriptFileExtensions','undefined','InspectorDebugApi','\x0a/*\x20...\x20truncated\x20','capture','file:///','sourcemapper','Printing\x20','setInternal','The\x20line\x20is\x20not\x20found\x20in\x20the\x20script\x20file','path','mappingInfo','quota','has','liveScriptSourceMapCache','resolveBreakpointConfig','add','stringify','processCondition','keys','limitConfig','match','v8Inspector','hash','line','V8_BREAKPOINT_ERROR','SourceMapConsumer','91OOsGha','886170NGgvYg','platform','fileStats','variableTable','applyConditionQuota','enable','setBlocklistManager','setAndStoreBreakpoint','resolveSourceForPath','Script\x20sourcemap\x20found\x20for\x20','removeFirstOccurrenceInArray','locationStr','\x20lines.\x20Please\x20ensure\x20that\x20the\x20snapshot\x20was\x20set\x20in\x20the\x20same\x20code\x20version\x20as\x20the\x20deployed\x20source.','Printing\x20first\x20','Breakpoint\x20is\x20found\x20at\x20a\x20given\x20location.\x20Id:\x20','split','breakpointId','remainingHits','evaluate','lines','numBreakpoints','hasMappingInfo','maxHitCount','Creating\x20InspectorDebugApi','hrtime','6042130fNoOhD','INVALID_LINE_NUMBER',',\x20line\x20length:\x20','mapInfo\x20','Breakpoint\x20is\x20added\x20to\x20a\x20given\x20location.\x20Id:\x20','source-map','setBreakpointByUrl\x20error:\x20','normalize','scriptId','Cannot\x20clear\x20breakpoint\x20-\x20no\x20breakpoint\x20data\x20for\x20id\x20','needsRecoveryTime','BREAKPOINT_PATH_BLOCKED','useScriptSourcemap','StatusMessage','push','bind','expressions','numBreakpoints_','findScripts','enabled','quotaRecoverySeconds','.\x20Loaded\x20script\x20contained\x20','errors','endsWith','activeFeatures','BREAKPOINT_CONDITION'];a36_0x4633=function(){return _0x2ab087;};return a36_0x4633();}a36_0x43e891();'use strict';Object[a36_0x443033(0xf2)](exports,a36_0x443033(0x156),{'value':!![]}),exports[a36_0x443033(0x9e)]=exports[a36_0x443033(0x169)]=void 0x0;const acorn=require('acorn'),path=require(a36_0x443033(0xa6)),source_map_1=require(a36_0x443033(0xd6)),status_message_1=require(a36_0x443033(0x12b)),sourcemapper_1=require(a36_0x443033(0x110)),state=require(a36_0x443033(0xfd)),utils_1=require('../util/utils'),v8inspector_1=require(a36_0x443033(0x151)),dummy_blocklist_manager_1=require(a36_0x443033(0xef)),file_index_1=require('../io/file-index'),fs_1=require('fs'),limitConfig_1=require(a36_0x443033(0xfe));class BreakpointData{constructor(_0x4a8f06,_0x171751,_0xd5bd36,_0x3d59ac,_0x1a60e1,_0x5dc5a9,_0x3f306f,_0x26813c){const _0x39a9d2=a36_0x443033;this['id']=_0x4a8f06,this[_0x39a9d2(0x145)]=_0x171751,this['parsedCondition']=_0xd5bd36,this['locationStr']=_0x3d59ac,this[_0x39a9d2(0x163)]=_0x1a60e1,this['remainingHits']=_0x5dc5a9,this['ignoreQuota']=_0x3f306f,this['pipingStatus']=_0x26813c;}}exports[a36_0x443033(0x169)]=BreakpointData;class InspectorDebugApi{constructor(_0x4fecb0,_0x4adafa,_0x5b548b,_0x2db6ed,_0x5037c7){const _0x3c35ed=a36_0x443033;this[_0x3c35ed(0x15c)]={},this['listeners']={},this[_0x3c35ed(0x17e)]={},this['locationMapper']={},this['breakpointMapper']={},this['numBreakpoints']=0x0,this[_0x3c35ed(0x14b)]=new Set(),this[_0x3c35ed(0xaa)]=new Map(),this['activeFeatures']=[],_0x4fecb0[_0x3c35ed(0x165)](_0x3c35ed(0xcf)),this[_0x3c35ed(0x108)]=null,this['logger']=_0x4fecb0,this[_0x3c35ed(0x13a)]=_0x4adafa,this[_0x3c35ed(0x157)]=_0x5b548b,this[_0x3c35ed(0xa2)]=_0x2db6ed,this[_0x3c35ed(0xb2)]=new v8inspector_1[(_0x3c35ed(0x136))](_0x4fecb0,!![],this[_0x3c35ed(0x13a)][_0x3c35ed(0x16a)],(_0x3d86a9,_0x50e39b)=>{const _0x5c92f4=_0x3c35ed;this[_0x5c92f4(0x17e)][_0x3d86a9[_0x5c92f4(0xd9)]]=_0x3d86a9;const _0x2ed1cb=String(_0x3d86a9?.['url']??''),{scriptId:_0x1ed0d3}=_0x3d86a9;this['onScriptLoad'](_0x2ed1cb,_0x1ed0d3,_0x50e39b);},_0x523e15=>{const _0x456184=_0x3c35ed;try{this['handleDebugPausedEvent'](_0x523e15);}catch(_0x116716){this[_0x456184(0x129)][_0x456184(0x16f)](_0x116716);}},()=>{const _0x4f38f4=_0x3c35ed;this[_0x4f38f4(0x17e)]={},this['dumpedScriptIds'][_0x4f38f4(0x127)]();},_0x108c90=>{const _0x3acd98=_0x3c35ed;if(!this[_0x3acd98(0x13a)][_0x3acd98(0xdd)])return _0x108c90;const _0x1a950d=(0x0,utils_1[_0x3acd98(0x164)])(_0x108c90['url']??''),_0x3b608c=(_0x108c90[_0x3acd98(0x10a)]??0x0)+0x1,_0x42804b=_0x108c90['columnNumber']??0x0,_0x252834=this[_0x3acd98(0x166)](_0x1a950d,_0x3b608c,_0x42804b);if(_0x252834)return this[_0x3acd98(0x129)][_0x3acd98(0x9b)](_0x3acd98(0x130)+_0x1a950d+':'+_0x3b608c+':'+_0x42804b+'\x20->\x20'+_0x252834[_0x3acd98(0xb4)]+':'+_0x252834[_0x3acd98(0x178)]),{..._0x108c90,'lineNumber':_0x252834[_0x3acd98(0xb4)]-0x1,'columnNumber':_0x252834[_0x3acd98(0x178)]};return _0x108c90;}),this['quotaManager']=_0x5037c7,this[_0x3c35ed(0x100)]=new dummy_blocklist_manager_1[(_0x3c35ed(0x96))](!![]);}[a36_0x443033(0x172)](_0x456edb,_0x2542ff,_0xe44a6e){const _0x57920e=a36_0x443033,_0x203dd4=this[_0x57920e(0x104)](_0x456edb,_0x2542ff);if(!_0x203dd4&&!this['config'][_0x57920e(0xdd)])return;const _0x53f40a=(0x0,utils_1[_0x57920e(0x164)])(_0x456edb);this[_0x57920e(0x170)](_0x2542ff,_0xe44a6e,_0x53f40a,(_0x585684,_0x1ef09f,_0x57dc8b)=>{const _0x2623aa=_0x57920e;if(_0x585684)return;_0x203dd4&&(this[_0x2623aa(0x14b)][_0x2623aa(0xac)](_0x2542ff),this['logDumpScriptSource'](_0x456edb,_0x1ef09f));});}[a36_0x443033(0x104)](_0x5253bb,_0x2b58bc){const _0x3b5d9c=a36_0x443033,_0x55403e=this[_0x3b5d9c(0x13a)]['internal'][_0x3b5d9c(0x95)];return _0x55403e?.['length']&&_0x55403e[_0x3b5d9c(0xff)](_0x283ed8=>{const _0x5954a4=_0x3b5d9c,_0x3467df=_0x283ed8['trim']();return _0x3467df[_0x5954a4(0x161)]>0x0&&_0x5253bb['includes'](_0x3467df);})&&!this['dumpedScriptIds'][_0x3b5d9c(0xa9)](_0x2b58bc);}[a36_0x443033(0xfb)](_0x5de042,_0x5c9624){const _0x334ab7=a36_0x443033;if(typeof _0x5de042?.['id']===_0x334ab7(0x9d)||!_0x5de042[_0x334ab7(0x13b)]?.[_0x334ab7(0xa6)]||!_0x5de042[_0x334ab7(0x13b)][_0x334ab7(0xb4)])return(0x0,utils_1['setErrorStatusAndCallback'])(_0x5c9624,_0x5de042,status_message_1[_0x334ab7(0xde)][_0x334ab7(0x146)],utils_1[_0x334ab7(0xe7)]['INVALID_BREAKPOINT']);this[_0x334ab7(0x129)][_0x334ab7(0x165)](_0x334ab7(0x11d),_0x5de042?.[_0x334ab7(0x12e)],_0x5de042?.[_0x334ab7(0x13b)]?.[_0x334ab7(0xa6)],_0x5de042?.['location']?.[_0x334ab7(0xb4)]);const _0x473809=path['normalize'](_0x5de042[_0x334ab7(0x13b)][_0x334ab7(0xa6)]);if(!this[_0x334ab7(0xa2)][_0x334ab7(0xcd)](_0x473809)){this[_0x334ab7(0x129)]['info']('Source\x20map\x20is\x20NOT\x20found\x20for\x20',_0x473809);const _0x2c62e1=path[_0x334ab7(0x103)](_0x473809);if(!this[_0x334ab7(0x13a)][_0x334ab7(0x9c)][_0x334ab7(0x102)](_0x2c62e1)){const _0x5a6f2c=_0x473809[_0x334ab7(0x171)](0x0,_0x473809[_0x334ab7(0x161)]-_0x2c62e1[_0x334ab7(0x161)]),_0x2404e2=this[_0x334ab7(0x13a)]['javascriptFileExtensions'][_0x334ab7(0x12a)](_0x15af9f=>_0x5a6f2c+_0x15af9f)[_0x334ab7(0xff)](_0x4a9f89=>(0x0,utils_1[_0x334ab7(0x16b)])(_0x4a9f89,this['fileIndex'])),_0x1c170d=_0x2404e2?utils_1[_0x334ab7(0xe7)][_0x334ab7(0x10f)]:utils_1['errors'][_0x334ab7(0xf1)];return(0x0,utils_1[_0x334ab7(0x12c)])(_0x5c9624,_0x5de042,status_message_1[_0x334ab7(0xde)][_0x334ab7(0xee)],_0x1c170d);}this[_0x334ab7(0xa4)](_0x5de042,null,null,_0x5c9624);}else{this[_0x334ab7(0x129)][_0x334ab7(0x9b)](_0x334ab7(0x120),_0x473809);const {line:_0x599dee}=_0x5de042['location'],_0x5169bf=0x0,_0x5dc34d=this[_0x334ab7(0xa2)][_0x334ab7(0xa7)](_0x473809,_0x599dee,_0x5169bf);this[_0x334ab7(0x129)]['debug'](_0x334ab7(0xd4),_0x5dc34d?.[_0x334ab7(0x10e)],_0x5dc34d?.[_0x334ab7(0xb4)],_0x5dc34d?.[_0x334ab7(0x178)]);const _0x324330=(0x0,utils_1[_0x334ab7(0x167)])(_0x5de042);if(_0x5de042[_0x334ab7(0xfc)]&&_0x324330)try{_0x5de042['condition']=_0x324330(_0x5de042[_0x334ab7(0xfc)]);}catch{return this['logger']['warn'](_0x334ab7(0x160)+_0x5de042[_0x334ab7(0xfc)]+'\x20<<'),(0x0,utils_1[_0x334ab7(0x12c)])(_0x5c9624,_0x5de042,status_message_1['StatusMessage'][_0x334ab7(0xea)],utils_1['errors']['ERROR_COMPILING_CONDITION']);}this[_0x334ab7(0xa4)](_0x5de042,_0x5dc34d,_0x324330,_0x5c9624);}}['clear'](_0x54683b,_0x44caaf){const _0x310861=a36_0x443033;if(typeof _0x54683b['id']===_0x310861(0x9d))return this[_0x310861(0x129)][_0x310861(0x165)](_0x310861(0x114)),(0x0,utils_1[_0x310861(0x12c)])(_0x44caaf,_0x54683b,status_message_1[_0x310861(0xde)][_0x310861(0xea)],utils_1['errors']['V8_BREAKPOINT_CLEAR_ERROR']);const _0x12e9b6=this['breakpoints'][_0x54683b['id']];if(!_0x12e9b6)return this[_0x310861(0x129)][_0x310861(0x165)](_0x310861(0xda)+_0x54683b['id']),(0x0,utils_1[_0x310861(0x12c)])(_0x44caaf,_0x54683b,status_message_1[_0x310861(0xde)][_0x310861(0xea)],utils_1[_0x310861(0xe7)][_0x310861(0x132)]);const {locationStr:_0x47ce29}=_0x12e9b6,_0x149c2c=_0x12e9b6['id'];(0x0,utils_1['removeFirstOccurrenceInArray'])(this[_0x310861(0x144)][_0x47ce29],_0x54683b['id']);this[_0x310861(0x144)][_0x47ce29][_0x310861(0x161)]===0x0&&delete this[_0x310861(0x144)][_0x47ce29];(0x0,utils_1[_0x310861(0xc2)])(this['breakpointMapper'][_0x149c2c],_0x54683b['id']);this[_0x310861(0x137)][_0x149c2c][_0x310861(0x161)]===0x0&&delete this[_0x310861(0x137)][_0x149c2c];let _0x38c9b2={};!this[_0x310861(0x137)][_0x12e9b6['id']]&&(_0x38c9b2=this[_0x310861(0xb2)][_0x310861(0xf0)](_0x12e9b6['id'])),delete this[_0x310861(0x15c)][_0x54683b['id']],delete this['listeners'][_0x54683b['id']],this['numBreakpoints']--,setImmediate(()=>{const _0x55df63=_0x310861;_0x38c9b2[_0x55df63(0x16f)]?_0x44caaf(_0x38c9b2['error']):_0x44caaf(null);});}[a36_0x443033(0x101)](_0x5b47c8,_0x623ff7){const _0x25604c=a36_0x443033,_0x4e9d28=this[_0x25604c(0x155)][_0x25604c(0xe0)](this,_0x5b47c8,_0x33e8a5=>{const _0x34040b=_0x25604c,_0x53f574=--this['breakpoints'][_0x5b47c8['id']][_0x34040b(0xc9)];(_0x53f574<=0x0||_0x33e8a5)&&(this['listeners'][_0x5b47c8['id']]['enabled']=![]),_0x623ff7(_0x33e8a5??undefined);});this[_0x25604c(0xf9)][_0x5b47c8['id']]={'enabled':!![],'listener':_0x4e9d28};}[a36_0x443033(0xeb)](_0xe0da34,_0x24841c,_0x62af6c,_0x4915d8){const _0x5c8c7f=a36_0x443033,_0x4b2187=this[_0x5c8c7f(0x155)]['bind'](this,_0xe0da34,_0x3a6d92=>{const _0x73cda7=_0x5c8c7f;if(_0x3a6d92){this[_0x73cda7(0xf9)][_0xe0da34['id']][_0x73cda7(0xe4)]=![],setImmediate(()=>{_0x4915d8(_0x3a6d92||undefined);});return;}_0x24841c(_0xe0da34[_0x73cda7(0x10d)],_0xe0da34[_0x73cda7(0x11f)]),_0xe0da34['evaluatedExpressions']=[],_0x62af6c()?this['listeners'][_0xe0da34['id']][_0x73cda7(0xe4)]=![]:this[_0x73cda7(0x14a)][_0x73cda7(0xdb)](_0xe0da34['id'])&&(this[_0x73cda7(0xf9)][_0xe0da34['id']][_0x73cda7(0xe4)]=![],setTimeout(()=>{const _0x3237ea=_0x73cda7;!_0x62af6c()&&this[_0x3237ea(0xf9)][_0xe0da34['id']]&&(this['listeners'][_0xe0da34['id']][_0x3237ea(0xe4)]=!![]),this[_0x3237ea(0x14a)][_0x3237ea(0x131)](_0xe0da34['id']);},this[_0x73cda7(0x13a)][_0x73cda7(0xa8)][_0x73cda7(0xe5)]*0x3e8));});this[_0x5c8c7f(0xf9)][_0xe0da34['id']]={'enabled':!![],'listener':_0x4b2187};}[a36_0x443033(0x17a)](){const _0x5b028d=a36_0x443033;this[_0x5b028d(0xb2)][_0x5b028d(0x14c)]();}[a36_0x443033(0xbd)](){const _0x194a3c=a36_0x443033;this[_0x194a3c(0xb2)][_0x194a3c(0xbd)]();}[a36_0x443033(0x125)](){const _0x37736a=a36_0x443033;this[_0x37736a(0xb2)][_0x37736a(0x125)]();}[a36_0x443033(0xe2)](){const _0x426e3c=a36_0x443033;return Object['keys'](this[_0x426e3c(0x15c)])[_0x426e3c(0x161)];}['numListeners_'](){const _0x4b0f21=a36_0x443033;return Object[_0x4b0f21(0xaf)](this[_0x4b0f21(0xf9)])[_0x4b0f21(0x161)];}[a36_0x443033(0xc9)](_0x473040){const _0x4f74cb=a36_0x443033;return this[_0x4f74cb(0x15c)][_0x473040][_0x4f74cb(0xc9)];}[a36_0x443033(0xbe)](_0x14a1a0){this['blocklistManager']=_0x14a1a0;}[a36_0x443033(0xa4)](_0x4f4b06,_0x1bf6a3,_0x9b4395,_0x577cf1){const _0x65267b=a36_0x443033;let _0x3f7c20=null;if(_0x4f4b06[_0x65267b(0xfc)])try{_0x3f7c20=acorn[_0x65267b(0x105)](_0x4f4b06[_0x65267b(0xfc)],{'sourceType':_0x65267b(0x177),'ecmaVersion':0xb});const _0x5d98f9=require(_0x65267b(0x16d));if(!_0x5d98f9[_0x65267b(0x119)](_0x3f7c20,![]))return(0x0,utils_1[_0x65267b(0x12c)])(_0x577cf1,_0x4f4b06,status_message_1[_0x65267b(0xde)]['BREAKPOINT_CONDITION'],utils_1[_0x65267b(0xe7)][_0x65267b(0x107)]);}catch(_0x746eec){return(0x0,utils_1['setErrorStatusAndCallback'])(_0x577cf1,_0x4f4b06,status_message_1[_0x65267b(0xde)][_0x65267b(0xea)],{...utils_1[_0x65267b(0xe7)]['SYNTAX_ERROR_IN_CONDITION'],'parameters':[_0x746eec['message']]});}let _0x35e0fd;const _0x989a81=_0x1bf6a3?_0x1bf6a3[_0x65267b(0x10e)]:path[_0x65267b(0xd8)](_0x4f4b06[_0x65267b(0x13b)][_0x65267b(0xa6)]);this[_0x65267b(0x129)][_0x65267b(0x165)](_0x65267b(0xf7),_0x989a81);const _0x5776cd=(0x0,utils_1[_0x65267b(0xe3)])(_0x989a81,this[_0x65267b(0x13a)],this[_0x65267b(0x157)],this['logger']);if(_0x5776cd[_0x65267b(0x161)]===0x0)return(0x0,utils_1[_0x65267b(0x12c)])(_0x577cf1,_0x4f4b06,status_message_1['StatusMessage']['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x65267b(0xe7)][_0x65267b(0xf1)]);else{if(_0x5776cd[_0x65267b(0x161)]===0x1)this[_0x65267b(0x129)]['debug']('Found\x20script\x20file:\x20',_0x5776cd[0x0]),[_0x35e0fd]=_0x5776cd;else return this[_0x65267b(0x129)]['warn']('Unable\x20to\x20unambiguously\x20find\x20'+_0x989a81+_0x65267b(0x17f)+_0x5776cd),(0x0,utils_1[_0x65267b(0x12c)])(_0x577cf1,_0x4f4b06,status_message_1[_0x65267b(0xde)][_0x65267b(0xee)],utils_1['errors'][_0x65267b(0x180)]);}if(this['blocklistManager'][_0x65267b(0x14d)](_0x35e0fd))return(0x0,utils_1[_0x65267b(0x12c)])(_0x577cf1,_0x4f4b06,status_message_1[_0x65267b(0xde)]['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x65267b(0xe7)][_0x65267b(0xdc)]);const _0x55172b=_0x1bf6a3?.[_0x65267b(0x178)]??_0x4f4b06[_0x65267b(0x13b)][_0x65267b(0x178)]??0x0,_0x2035d5=_0x1bf6a3?_0x1bf6a3[_0x65267b(0xb4)]:_0x4f4b06[_0x65267b(0x13b)][_0x65267b(0xb4)],_0x32e0bc=this[_0x65267b(0x157)][_0x65267b(0xba)][_0x35e0fd];this[_0x65267b(0x129)][_0x65267b(0x165)](_0x65267b(0xf8),_0x32e0bc?.['lines'],_0x65267b(0x117),_0x32e0bc?.[_0x65267b(0xb3)]);if(_0x2035d5>=_0x32e0bc[_0x65267b(0xcb)]||_0x2035d5<0x1){const _0x128545=utils_1[_0x65267b(0xe7)][_0x65267b(0xd2)][_0x65267b(0x148)]+_0x35e0fd,{lines:_0x29618a}=this['fileIndex']['fileStats'][_0x35e0fd];return(0x0,utils_1[_0x65267b(0x12c)])(_0x577cf1,_0x4f4b06,status_message_1[_0x65267b(0xde)]['BREAKPOINT_SOURCE_LOCATION'],{...utils_1['errors'][_0x65267b(0xd2)],'description':_0x128545+':'+_0x2035d5+_0x65267b(0xe6)+_0x29618a+_0x65267b(0xc4)});}const _0xc64149=this['setAndStoreBreakpoint'](_0x4f4b06,_0x2035d5,_0x55172b,_0x35e0fd);if(!_0xc64149)return(0x0,utils_1[_0x65267b(0x12c)])(_0x577cf1,_0x4f4b06,status_message_1['StatusMessage']['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x65267b(0xe7)][_0x65267b(0xb5)]);this[_0x65267b(0x15c)][_0x4f4b06['id']]=new BreakpointData(_0xc64149[_0x65267b(0x16c)],_0x4f4b06,_0x3f7c20,_0xc64149[_0x65267b(0xc3)],_0x9b4395,_0x4f4b06[_0x65267b(0xce)]||0x1,_0x4f4b06[_0x65267b(0x179)],_0x4f4b06['pipingStatus']),this[_0x65267b(0xcc)]++,setImmediate(()=>{_0x577cf1(null);});}[a36_0x443033(0xbf)](_0x8f39dd,_0x4d5f1a,_0x2043a8,_0x1d9953){const _0x1461d2=a36_0x443033,_0x560942=JSON['stringify']({'file':_0x1d9953,'line':_0x4d5f1a,'column':_0x2043a8});let _0x383306;if(!this['locationMapper'][_0x560942]){this[_0x1461d2(0x133)](_0x1d9953,_0x4d5f1a,_0x2043a8);const _0x4e019d=this[_0x1461d2(0xb2)][_0x1461d2(0x128)]()?'file://'+_0x1d9953:_0x1d9953,_0x55c0ab=process[_0x1461d2(0xb9)]===_0x1461d2(0x97)?_0x4e019d[_0x1461d2(0x11a)](/^file:\/\//,_0x1461d2(0xa1))[_0x1461d2(0x11a)](/\\/g,'/'):_0x4e019d,_0x301b05=this[_0x1461d2(0xb2)][_0x1461d2(0x116)]({'lineNumber':_0x4d5f1a-0x1,'url':encodeURI(_0x55c0ab),'columnNumber':_0x2043a8});if(_0x301b05[_0x1461d2(0x16f)]||!_0x301b05[_0x1461d2(0x11c)])return this[_0x1461d2(0x129)][_0x1461d2(0x16f)]('Failed\x20to\x20put\x20the\x20breakpoint\x20in\x20'+_0x55c0ab+':'+_0x4d5f1a+',\x20'+(_0x1461d2(0xd7)+JSON[_0x1461d2(0xad)](_0x301b05['error']))),null;_0x383306=_0x301b05[_0x1461d2(0x11c)][_0x1461d2(0xc8)],this[_0x1461d2(0x129)][_0x1461d2(0x9b)](_0x1461d2(0xd5),_0x383306),delete this[_0x1461d2(0x144)][_0x560942],delete this[_0x1461d2(0x137)][_0x383306],this['locationMapper'][_0x560942]=[],this[_0x1461d2(0x137)][_0x383306]=[];}else _0x383306=this[_0x1461d2(0x15c)][this[_0x1461d2(0x144)][_0x560942][0x0]]['id'],this[_0x1461d2(0x129)][_0x1461d2(0x9b)](_0x1461d2(0xc6),_0x383306);return this['locationMapper'][_0x560942]['push'](_0x8f39dd['id']),this[_0x1461d2(0x137)][_0x383306][_0x1461d2(0xdf)](_0x8f39dd['id']),{'v8BreakpointId':_0x383306,'locationStr':_0x560942};}[a36_0x443033(0xc0)](_0x90930f,_0x598cf7){const _0x8cc400=a36_0x443033,_0x2292d7=_0x90930f[_0x8cc400(0xed)]??[];if(!_0x2292d7[_0x8cc400(0x161)])return null;const _0x38aed2=path[_0x8cc400(0xd8)](_0x598cf7),_0x54a36b=path[_0x8cc400(0x16e)](_0x598cf7),_0xf58c7a=_0x2292d7[_0x8cc400(0x12d)](_0x1b5018=>path['normalize'](_0x1b5018)===_0x38aed2)??_0x2292d7[_0x8cc400(0x12d)](_0x374f35=>_0x374f35===_0x598cf7||_0x374f35[_0x8cc400(0xe8)](_0x598cf7)||_0x598cf7[_0x8cc400(0xe8)](_0x374f35));if(_0xf58c7a)return _0xf58c7a;const _0x440b3c=_0x2292d7[_0x8cc400(0x11e)](_0x43b39a=>path[_0x8cc400(0x16e)](_0x43b39a)===_0x54a36b);return _0x440b3c[_0x8cc400(0x161)]===0x1?_0x440b3c[0x0]:_0x2292d7[0x0];}[a36_0x443033(0x11b)](_0x5a5b35){const _0x382432=a36_0x443033,_0x418ed9=this['liveScriptSourceMapCache'],_0x5bea6a=path[_0x382432(0xd8)](_0x5a5b35),_0x25426c=_0x418ed9[_0x382432(0x13f)](_0x5a5b35)??_0x418ed9[_0x382432(0x13f)](_0x5bea6a);if(_0x25426c)return _0x25426c;const _0x1f2c06=Array[_0x382432(0x173)](_0x418ed9[_0x382432(0xaf)]());if(_0x1f2c06[_0x382432(0x161)]!==0x0){const _0x2bab8d=file_index_1['FileIndex'][_0x382432(0x13e)](_0x1f2c06)['findShortestFuzzyMatches'](_0x5a5b35);if(_0x2bab8d[_0x382432(0x161)]===0x1){const _0x32ed3a=_0x418ed9[_0x382432(0x13f)](_0x2bab8d[0x0]);if(_0x32ed3a)return _0x418ed9[_0x382432(0xfb)](_0x5a5b35,_0x32ed3a),_0x32ed3a;}}return null;}[a36_0x443033(0x166)](_0x273cf4,_0x4360d3,_0x109cbb){const _0x1c1ff4=a36_0x443033;try{const _0x2801db=this[_0x1c1ff4(0x11b)](_0x273cf4);if(!_0x2801db)return null;const {rawMap:_0x4a2edf,source:_0x33c3c9}=_0x2801db,_0x1d9561=new source_map_1[(_0x1c1ff4(0xb6))](_0x4a2edf),_0xad37a9={'source':_0x33c3c9,'line':_0x4360d3,'column':_0x109cbb},_0x11d757=(0x0,sourcemapper_1[_0x1c1ff4(0x14f)])(_0x1d9561,_0xad37a9);if(_0x11d757['line']!==null&&_0x11d757[_0x1c1ff4(0xb4)]!==undefined)return{'line':_0x11d757[_0x1c1ff4(0xb4)],'column':_0x11d757[_0x1c1ff4(0x178)]??0x0};this[_0x1c1ff4(0x129)]['info']('live\x20sourcemap\x20found\x20but\x20generated\x20position\x20returned\x20empty\x20for\x20'+_0x33c3c9+':'+_0x4360d3);}catch(_0x34ef1e){this['logger'][_0x1c1ff4(0x162)](_0x1c1ff4(0x159)+_0x273cf4+':'+_0x4360d3+':'+_0x109cbb,_0x34ef1e);}return null;}['reverseFromScriptSourcemap'](_0x6b3e22,_0x4e2d20,_0x672577){const _0x12b33a=a36_0x443033,_0x414240=this[_0x12b33a(0x11b)](_0x6b3e22);if(!_0x414240)return this[_0x12b33a(0x129)][_0x12b33a(0x165)](_0x12b33a(0x152)+_0x6b3e22+'\x20'+_0x4e2d20+':'+_0x672577),null;const _0x5f58d9=new source_map_1[(_0x12b33a(0xb6))](_0x414240['rawMap']),_0x2abb03=_0x5f58d9['originalPositionFor']({'line':_0x4e2d20+0x1,'column':_0x672577,'bias':source_map_1[_0x12b33a(0xb6)][_0x12b33a(0xec)]});if(!_0x2abb03[_0x12b33a(0x121)])return this[_0x12b33a(0x129)][_0x12b33a(0x162)](_0x12b33a(0xfa)+_0x6b3e22+'\x20'+_0x4e2d20+':'+_0x672577),null;const _0x226352=path[_0x12b33a(0x10c)](_0x6b3e22),_0x304374=path[_0x12b33a(0xd8)](path[_0x12b33a(0x15f)](_0x226352,_0x2abb03[_0x12b33a(0x121)]));return{'file':_0x304374,'line':_0x2abb03['line']??0x0,'column':_0x2abb03[_0x12b33a(0x178)]??0x0};}[a36_0x443033(0x15e)](_0x4f1ac0,_0x5ba0ec,_0xbe29a6){const _0x51b0d7=a36_0x443033,_0x15a97e=_0x5ba0ec??this[_0x51b0d7(0xb2)]['session'];if(!_0x15a97e)return;const _0x4ae181={'scriptId':_0x4f1ac0};_0x15a97e['post'](_0x51b0d7(0x174),_0x4ae181,(_0x4175f8,_0xf10bcf)=>{const _0x27c673=_0x51b0d7;if(_0x4175f8){_0xbe29a6(_0x4175f8,'');return;}const _0x38bc1f=String(_0xf10bcf?.[_0x27c673(0x12f)]??'');_0xbe29a6(null,_0x38bc1f);});}['loadSourceAndSourcemap'](_0x42f752,_0x575b76,_0x2661c2,_0x12596b){this['fetchScriptSource'](_0x42f752,_0x575b76,(_0x46d83a,_0x4a4bb2)=>{const _0x2f1c17=a36_0x3d3d;if(_0x46d83a){_0x12596b(_0x46d83a,'',null);return;}const _0x14c2d2=this[_0x2f1c17(0x17e)][_0x42f752]?.['url']??'',_0xcdb08b=this[_0x2f1c17(0x118)](_0x4a4bb2);if(_0xcdb08b){const _0x170661=path[_0x2f1c17(0xd8)](_0x2661c2);this['logger'][_0x2f1c17(0x165)](_0x2f1c17(0xc1)+_0x170661);const _0x2058f3=this[_0x2f1c17(0xc0)](_0xcdb08b,_0x2661c2)??'',_0x9877={'rawMap':_0xcdb08b,'source':_0x2058f3};_0x14c2d2&&this[_0x2f1c17(0xaa)]['set'](_0x14c2d2,_0x9877),this[_0x2f1c17(0xaa)]['set'](_0x170661,_0x9877);}_0x12596b(null,_0x4a4bb2,_0xcdb08b??null);});}[a36_0x443033(0x17c)](_0x197378,_0x5bdd96){const _0x57fb57=a36_0x443033,_0x328f9e=0x30d40,_0x4ccf57=_0x5bdd96[_0x57fb57(0x161)]>_0x328f9e?_0x5bdd96['slice'](0x0,_0x328f9e)+_0x57fb57(0x9f)+(_0x5bdd96[_0x57fb57(0x161)]-_0x328f9e)[_0x57fb57(0x15d)]()+_0x57fb57(0xf5):_0x5bdd96;this['logger']['info'](_0x57fb57(0x124)+_0x197378),this[_0x57fb57(0x129)][_0x57fb57(0x9b)](_0x4ccf57);}['extractLiveScriptSourceMap'](_0x2c63a4){const _0x548aa7=a36_0x443033,_0xf7711a=_0x2c63a4[_0x548aa7(0xb1)](/\/\/# sourceMappingURL=data:application\/json;base64,([A-Za-z0-9+/=]+)\s*$/m);if(!_0xf7711a)return undefined;const [,_0x468abf]=_0xf7711a;try{const _0x1b53ff=Buffer['from'](_0x468abf,_0x548aa7(0x168))['toString'](_0x548aa7(0x140));return JSON[_0x548aa7(0x105)](_0x1b53ff);}catch{return undefined;}}[a36_0x443033(0x133)](_0x530aed,_0x2c9811,_0xdb7ed1){const _0x527168=a36_0x443033;try{if(!this['config'][_0x527168(0x158)][_0x527168(0x113)])return;const _0x449fe2=(0x0,fs_1['readFileSync'])(_0x530aed,'utf-8'),_0xde0a4c=_0x449fe2[_0x527168(0xc7)](/\r?\n/),_0x750d97=_0x2c9811-0x2,_0x5a9e61=_0x2c9811-0x1,_0x3837b3=_0x2c9811;this[_0x527168(0x135)]('lineNumberBefore:\x20'+_0x750d97,_0xde0a4c[_0x750d97],_0xdb7ed1),this[_0x527168(0x135)](_0x527168(0x142)+_0x5a9e61,_0xde0a4c[_0x5a9e61],_0xdb7ed1),this[_0x527168(0x135)]('lineNumberAfterAfter:\x20'+_0x3837b3,_0xde0a4c[_0x3837b3],_0xdb7ed1);}catch(_0x253e5a){this[_0x527168(0x129)][_0x527168(0x16f)](_0x527168(0x9a),_0x253e5a);}}[a36_0x443033(0x135)](_0x2ee581,_0x356bde,_0x25b5b1){const _0x381716=a36_0x443033;this['logger'][_0x381716(0x165)](_0x2ee581);if(!_0x356bde){this[_0x381716(0x129)]['debug'](_0x381716(0xa5));return;}const _0x2673b8=0x12c;_0x25b5b1=_0x25b5b1||0x0;if(_0x356bde['length']<=_0x2673b8)this[_0x381716(0x129)][_0x381716(0x165)](_0x381716(0x175)+_0x356bde+'`.\x20column:\x20'+_0x25b5b1);else{if(_0x356bde[_0x381716(0x161)]>_0x25b5b1){const _0x429d68=_0x356bde[_0x381716(0x171)](_0x25b5b1,_0x2673b8);this['logger'][_0x381716(0x165)](_0x381716(0xa3)+_0x2673b8+_0x381716(0xf4)+_0x25b5b1+_0x381716(0x17d)+_0x429d68+'`');}else{this['logger'][_0x381716(0x165)]('Error!\x20Line\x20is\x20shorter\x20then\x20column.\x20Column:\x20'+_0x25b5b1+_0x381716(0xd3)+_0x356bde['length']);const _0x5998d4=_0x356bde[_0x381716(0x171)](0x0,_0x2673b8);this[_0x381716(0x129)]['debug'](_0x381716(0xc5)+_0x2673b8+_0x381716(0x106)+_0x5998d4);}}}[a36_0x443033(0xae)](_0x598e93,_0x223234){const _0x14f3ae=a36_0x443033,_0x55d7d2=this[_0x14f3ae(0x13a)][_0x14f3ae(0x176)],{condition:_0x20bf37}=_0x598e93;if(_0x20bf37){const _0x26d049=process['hrtime'](),_0x147c33=state[_0x14f3ae(0xca)](_0x20bf37,_0x223234,this['v8Inspector'],!![],_0x55d7d2),_0x52f64b=process[_0x14f3ae(0xd0)](_0x26d049);if(!this[_0x14f3ae(0x14a)][_0x14f3ae(0x179)]){const _0x2bb9fd=this[_0x14f3ae(0x138)](_0x52f64b),_0x544209=this[_0x14f3ae(0x14a)][_0x14f3ae(0xbc)](_0x2bb9fd,_0x598e93);if(_0x544209)return[undefined,_0x544209];}if(_0x147c33[_0x14f3ae(0x16f)])return this[_0x14f3ae(0x129)]['debug'](_0x14f3ae(0x147)+_0x20bf37+'\x20due\x20to\x20error:\x20',_0x147c33[_0x14f3ae(0x16f)]),[undefined,{...utils_1[_0x14f3ae(0xe7)][_0x14f3ae(0x13c)],'description':(utils_1[_0x14f3ae(0xe7)]['ERROR_EVALUATING_CONDITION'][_0x14f3ae(0x148)]??'')+_0x147c33[_0x14f3ae(0x16f)][_0x14f3ae(0x148)]}];if(!_0x147c33[_0x14f3ae(0x10b)][_0x14f3ae(0x109)])return this[_0x14f3ae(0x129)][_0x14f3ae(0x165)](_0x14f3ae(0x139)+_0x20bf37+_0x14f3ae(0x126)),[![],undefined];}return[!![],undefined];}[a36_0x443033(0x155)](_0x3bbcc3,_0x160f14,_0x9d6bcd){const _0x22d7de=a36_0x443033,[_0x1c71b5,_0x5930df]=this[_0x22d7de(0xae)](_0x3bbcc3,_0x9d6bcd[0x0]);if(_0x5930df!==undefined){(0x0,utils_1['setErrorStatusAndCallback'])(_0x160f14,_0x3bbcc3,status_message_1[_0x22d7de(0xde)]['BREAKPOINT_CONDITION'],_0x5930df);return;}if(_0x1c71b5===![])return;const _0x388d86=process[_0x22d7de(0xd0)]();try{this[_0x22d7de(0x115)](_0x3bbcc3,_0x9d6bcd);}catch(_0x2d0edf){return(0x0,utils_1[_0x22d7de(0x12c)])(_0x160f14,_0x3bbcc3,status_message_1[_0x22d7de(0xde)]['BREAKPOINT_SOURCE_LOCATION'],utils_1[_0x22d7de(0xe7)]['CAPTURE_BREAKPOINT_DATA']+_0x2d0edf);}const _0x59aae4=process[_0x22d7de(0xd0)](_0x388d86),_0x2ed5e6=this[_0x22d7de(0x138)](_0x59aae4);this[_0x22d7de(0x14a)]['applyDynamicLogsCPUQuota'](_0x3bbcc3['id'],_0x2ed5e6),this[_0x22d7de(0x129)]['debug']((0x0,utils_1[_0x22d7de(0x98)])(_0x22d7de(0x15a),_0x59aae4)),_0x160f14(null);}['captureBreakpointData'](_0x47917e,_0x5f1464){const _0x17854a=a36_0x443033,_0x505e8c=[];if(_0x47917e[_0x17854a(0xe1)]&&this[_0x17854a(0x15c)][_0x47917e['id']]['compile'])for(let _0x15a057=0x0;_0x15a057<_0x47917e['expressions']['length'];_0x15a057++){try{_0x47917e['expressions'][_0x15a057]=this['breakpoints'][_0x47917e['id']]['compile'](_0x47917e[_0x17854a(0xe1)][_0x15a057]);}catch{this['logger'][_0x17854a(0x162)]('Unable\x20to\x20compile\x20watch\x20expression\x20>>\x20'+_0x47917e['expressions'][_0x15a057]+_0x17854a(0x99)),_0x505e8c[_0x17854a(0xdf)]({'name':_0x47917e['expressions'][_0x15a057],'status':new status_message_1[(_0x17854a(0xde))](status_message_1[_0x17854a(0xde)][_0x17854a(0x153)],utils_1[_0x17854a(0xe7)]['EXPRESSION_COMPILING_ERROR'],!![])}),_0x47917e[_0x17854a(0xe1)]['splice'](_0x15a057,0x1),_0x15a057--;}}if(_0x47917e[_0x17854a(0x12e)]==='LOG'){if(!_0x47917e[_0x17854a(0xe1)])_0x47917e[_0x17854a(0x11f)]=[];else{const [_0x2bf0b5]=_0x5f1464;_0x47917e[_0x17854a(0x11f)]=_0x47917e[_0x17854a(0xe1)][_0x17854a(0x12a)](_0x49714b=>{const _0x39318a=_0x17854a,_0x54f817=state[_0x39318a(0xca)](_0x49714b,_0x2bf0b5,this[_0x39318a(0xb2)],!![],this[_0x39318a(0x13a)][_0x39318a(0x176)]);return _0x54f817[_0x39318a(0x16f)]?_0x54f817[_0x39318a(0x16f)]:_0x54f817[_0x39318a(0x10b)][_0x39318a(0x109)];});}}else{const _0xcd9665=this[_0x17854a(0x13a)][_0x17854a(0xdd)]?this[_0x17854a(0x181)][_0x17854a(0xe0)](this):undefined,_0x267fe2=state['capture'](_0x5f1464,_0x47917e,this['resolveBreakpointConfig'](_0x47917e),this['scriptMapper'],this['v8Inspector'],this[_0x17854a(0x100)],this['sourcemapper'],_0xcd9665);_0x47917e[_0x17854a(0x13b)]&&(0x0,utils_1[_0x17854a(0x122)])(_0x47917e[_0x17854a(0x13b)]['path'])&&(_0x47917e[_0x17854a(0x13b)][_0x17854a(0xb4)]=_0x5f1464[0x0][_0x17854a(0x13b)][_0x17854a(0x10a)]+0x1),_0x47917e['stackFrames']=_0x267fe2[_0x17854a(0x111)],_0x47917e[_0x17854a(0xbb)]=_0x267fe2[_0x17854a(0xbb)],_0x47917e[_0x17854a(0x11f)]=_0x505e8c[_0x17854a(0x17b)](_0x267fe2[_0x17854a(0x11f)]);}}[a36_0x443033(0x13d)](_0x2eb72f){const _0x3aa8b4=a36_0x443033;try{if(!_0x2eb72f['hitBreakpoints'])return;const _0x1ab8d6=_0x2eb72f['hitBreakpoints'][0x0],_0x50e005=this[_0x3aa8b4(0x137)][_0x1ab8d6];if(!_0x50e005)return;_0x50e005['forEach'](_0x2274bc=>{const _0x1e22e1=_0x3aa8b4;this[_0x1e22e1(0xf9)][_0x2274bc][_0x1e22e1(0xe4)]&&(this[_0x1e22e1(0x129)][_0x1e22e1(0x165)]('>>>breakpoint\x20hit<<<\x20number:\x20'+_0x2274bc),this[_0x1e22e1(0xf9)][_0x2274bc][_0x1e22e1(0x143)](_0x2eb72f[_0x1e22e1(0xf3)]));});}catch(_0xceebd3){this[_0x3aa8b4(0x129)]['warn'](_0x3aa8b4(0x15b)+_0xceebd3);}}[a36_0x443033(0x138)](_0x50eb6f){return _0x50eb6f[0x0]*0x3b9aca00+_0x50eb6f[0x1];}[a36_0x443033(0xab)](_0x55c445){const _0x45ea5c=a36_0x443033;if(!this[_0x45ea5c(0xe9)][_0x45ea5c(0x102)](_0x45ea5c(0x149)))return this[_0x45ea5c(0x13a)];const {maxSnapshotBufferSize:_0x35d08e,maxSnapshotFrameCount:_0x14c9fc,captureObjectExploreMaxDepth:_0x2af9d3}=_0x55c445;return(0x0,limitConfig_1[_0x45ea5c(0xb0)])({...this[_0x45ea5c(0x13a)],'capture':{...this[_0x45ea5c(0x13a)][_0x45ea5c(0xa0)],..._0x35d08e!==undefined&&{'maxSnapshotBufferSize':_0x35d08e},..._0x14c9fc!==undefined&&{'maxExpandFrames':_0x14c9fc},..._0x2af9d3!==undefined&&{'maxVariableDepth':_0x2af9d3}}});}}exports[a36_0x443033(0x9e)]=InspectorDebugApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a37_0x54768f=a37_0x6e61;(function(_0x191081,_0x3b26cf){const _0x3fb766=a37_0x6e61,_0x1c122f=_0x191081();while(!![]){try{const _0x1a0873=parseInt(_0x3fb766(0x1c4))/0x1*(-parseInt(_0x3fb766(0x1da))/0x2)+-parseInt(_0x3fb766(0x1eb))/0x3+parseInt(_0x3fb766(0x1f8))/0x4+parseInt(_0x3fb766(0x1f7))/0x5+parseInt(_0x3fb766(0x1dd))/0x6+-parseInt(_0x3fb766(0x1ce))/0x7*(-parseInt(_0x3fb766(0x1f5))/0x8)+parseInt(_0x3fb766(0x1df))/0x9*(-parseInt(_0x3fb766(0x1f2))/0xa);if(_0x1a0873===_0x3b26cf)break;else _0x1c122f['push'](_0x1c122f['shift']());}catch(_0x9b40c2){_0x1c122f['push'](_0x1c122f['shift']());}}}(a37_0x2bb0,0xbb232));const a37_0x1a9337=(function(){let _0x51db63=!![];return function(_0x29e3c2,_0x264793){const _0x2c718a=_0x51db63?function(){const _0x878fa3=a37_0x6e61;if(_0x264793){const _0x2a1149=_0x264793[_0x878fa3(0x1c7)](_0x29e3c2,arguments);return _0x264793=null,_0x2a1149;}}:function(){};return _0x51db63=![],_0x2c718a;};}()),a37_0x59eb42=a37_0x1a9337(this,function(){const _0xc121f7=a37_0x6e61;return a37_0x59eb42['toString']()[_0xc121f7(0x1fb)](_0xc121f7(0x1c6))[_0xc121f7(0x1e5)]()[_0xc121f7(0x1e0)](a37_0x59eb42)['search']('(((.+)+)+)+$');});a37_0x59eb42();'use strict';Object['defineProperty'](exports,a37_0x54768f(0x1d4),{'value':!![]}),exports['V8Inspector']=void 0x0;const node_inspector_1=require(a37_0x54768f(0x1be));function a37_0x6e61(_0x3c05a4,_0x2274d5){const _0x536038=a37_0x2bb0();return a37_0x6e61=function(_0x59eb42,_0x1a9337){_0x59eb42=_0x59eb42-0x1bd;let _0x2bb014=_0x536038[_0x59eb42];return _0x2bb014;},a37_0x6e61(_0x3c05a4,_0x2274d5);}class V8Inspector{constructor(_0x476cd8,_0x200a71,_0x2a9b70,_0x27db6c,_0x4106c2,_0x534f11,_0x5460fe){const _0x2d4691=a37_0x54768f;this['logger']=_0x476cd8,this[_0x2d4691(0x1f9)]=_0x200a71,this[_0x2d4691(0x1e8)]=_0x2a9b70,this[_0x2d4691(0x1e9)]=_0x27db6c,this[_0x2d4691(0x1d1)]=_0x4106c2,this[_0x2d4691(0x1ea)]=_0x534f11,this[_0x2d4691(0x1db)]=_0x5460fe,this['session']=null,this[_0x2d4691(0x1c0)]={},this['prevStoreSetBreakpointParams']=null,this[_0x2d4691(0x1ef)]=0x0,_0x476cd8['debug'](_0x2d4691(0x1cf));}[a37_0x54768f(0x1cd)](){const _0xb265b0=a37_0x54768f;return this[_0xb265b0(0x1f9)];}[a37_0x54768f(0x1cc)](_0x285a5d,_0x1e98e5=this[a37_0x54768f(0x1d9)]!==null){const _0x4208c8=a37_0x54768f;_0x1e98e5?this[_0x4208c8(0x1e2)](![]):this[_0x4208c8(0x1c5)]();const _0x3fbfc0=this[_0x4208c8(0x1db)]?.(_0x285a5d)??_0x285a5d;this[_0x4208c8(0x1ee)][_0x4208c8(0x1f1)](_0x4208c8(0x1c9),_0x3fbfc0?.[_0x4208c8(0x1fa)],'real\x20lineNumber:\x20',_0x3fbfc0?.[_0x4208c8(0x1e6)],_0x4208c8(0x1ed),_0x3fbfc0?.[_0x4208c8(0x1ca)]);const _0x34ebca={};return this[_0x4208c8(0x1d5)][_0x4208c8(0x1e3)]('Debugger.setBreakpointByUrl',_0x3fbfc0,(_0x22c7ea,_0x4ec9a4)=>{const _0x2e093c=_0x4208c8;_0x22c7ea?_0x34ebca[_0x2e093c(0x1c1)]=_0x22c7ea:this[_0x2e093c(0x1c0)][_0x4ec9a4[_0x2e093c(0x1f0)]]=_0x285a5d,_0x34ebca['response']=_0x4ec9a4;}),_0x1e98e5&&(_0x34ebca[_0x4208c8(0x1f3)]&&(this[_0x4208c8(0x1d9)][_0x34ebca[_0x4208c8(0x1f3)]['breakpointId']]=this['storeSetBreakpointParams'][_0x34ebca[_0x4208c8(0x1f3)][_0x4208c8(0x1f0)]]),this[_0x4208c8(0x1ec)](![])),_0x34ebca;}[a37_0x54768f(0x1dc)](_0xd15157){const _0xaad35b=a37_0x54768f;this[_0xaad35b(0x1c5)]();const _0x2f997f={};return this[_0xaad35b(0x1d5)][_0xaad35b(0x1e3)](_0xaad35b(0x1d7),{'breakpointId':_0xd15157},_0x5834bf=>{const _0x18c818=_0xaad35b;if(_0x5834bf)_0x2f997f[_0x18c818(0x1c1)]=_0x5834bf;delete this[_0x18c818(0x1c0)][_0xd15157],Object['keys'](this[_0x18c818(0x1c0)])[_0x18c818(0x1e4)]===0x0&&this[_0x18c818(0x1c8)]();}),this[_0xaad35b(0x1d9)]!==null&&delete this[_0xaad35b(0x1d9)][_0xd15157],_0x2f997f;}[a37_0x54768f(0x1d0)](_0x41cc71){const _0x24caae=a37_0x54768f;this[_0x24caae(0x1c5)]();const _0x5236b7={};return this[_0x24caae(0x1d5)]['post']('Debugger.evaluateOnCallFrame',_0x41cc71,(_0x2e01a4,_0xcb6b34)=>{const _0x57ae45=_0x24caae;if(_0x2e01a4)_0x5236b7[_0x57ae45(0x1c1)]=_0x2e01a4;_0x5236b7[_0x57ae45(0x1f3)]=_0xcb6b34;}),_0x5236b7;}['evaluate'](_0x25efca){const _0x31bdf6=a37_0x54768f;this['attach']();const _0x363e19={};return this[_0x31bdf6(0x1d5)][_0x31bdf6(0x1e3)]('Runtime.evaluate',_0x25efca,(_0x5998d9,_0x5d813c)=>{const _0xcbda13=_0x31bdf6;_0x363e19[_0xcbda13(0x1f3)]=_0x5d813c,_0x363e19['error']=_0x5998d9??undefined;}),_0x363e19;}[a37_0x54768f(0x1d8)](_0x286df1){const _0x350ec7=a37_0x54768f;this[_0x350ec7(0x1c5)]();const _0x148fb7={};return this[_0x350ec7(0x1d5)][_0x350ec7(0x1e3)](_0x350ec7(0x1f6),_0x286df1,(_0x42c230,_0x13dba8)=>{const _0x1004f0=_0x350ec7;_0x148fb7[_0x1004f0(0x1f3)]=_0x13dba8,_0x148fb7[_0x1004f0(0x1c1)]=_0x42c230??undefined;}),_0x148fb7;}['releaseObject'](_0x3244dd){const _0x4cb4c6=a37_0x54768f;this[_0x4cb4c6(0x1c5)](),this[_0x4cb4c6(0x1d5)]['post'](_0x4cb4c6(0x1bd),_0x3244dd);}[a37_0x54768f(0x1bf)](_0xcf2aaa){const _0x48af8c=a37_0x54768f,_0x50e34b={};return this['attach'](),this[_0x48af8c(0x1d5)][_0x48af8c(0x1e3)](_0x48af8c(0x1c3),_0xcf2aaa,(_0x4c86cd,_0x5671e2)=>{if(_0x4c86cd)_0x50e34b['error']=_0x4c86cd;_0x50e34b['response']=_0x5671e2;}),_0x50e34b;}['attach'](){const _0x53e9b9=a37_0x54768f;if(this[_0x53e9b9(0x1d5)])return;const _0x1f59d5=new node_inspector_1[(_0x53e9b9(0x1d2))]();_0x1f59d5['connect'](),_0x1f59d5['on']('Debugger.scriptParsed',_0x4b4d4f=>{const _0x2c8b59=_0x53e9b9;this[_0x2c8b59(0x1e9)](_0x4b4d4f[_0x2c8b59(0x1cb)],_0x1f59d5);}),_0x1f59d5[_0x53e9b9(0x1e3)](_0x53e9b9(0x1e1)),_0x1f59d5['post']('Debugger.setBreakpointsActive',{'active':!![]}),_0x1f59d5['on']('Debugger.paused',_0x2979c8=>{const _0x177121=_0x53e9b9;this[_0x177121(0x1d1)](_0x2979c8[_0x177121(0x1cb)]),this[_0x177121(0x1e7)]();}),this[_0x53e9b9(0x1d5)]=_0x1f59d5;}[a37_0x54768f(0x1e2)](_0x58624f=!![]){const _0x5a5c7d=a37_0x54768f;this['attach'](),this[_0x5a5c7d(0x1d5)]?.[_0x5a5c7d(0x1e3)](_0x5a5c7d(0x1e1));if(_0x58624f){for(const _0x185b94 of Object[_0x5a5c7d(0x1c2)](this['prevStoreSetBreakpointParams'])){const _0x5ba96a=this[_0x5a5c7d(0x1cc)](_0x185b94,![]);(_0x5ba96a['error']||!_0x5ba96a['response'])&&this[_0x5a5c7d(0x1ee)][_0x5a5c7d(0x1c1)](_0x5a5c7d(0x1d6)+_0x5ba96a);}this[_0x5a5c7d(0x1d9)]=null;}}[a37_0x54768f(0x1ec)](_0x34c52e=!![]){const _0x4ade54=a37_0x54768f;if(!this['session'])return;_0x34c52e&&(this[_0x4ade54(0x1d9)]=this['storeSetBreakpointParams']),this[_0x4ade54(0x1d5)]['post'](_0x4ade54(0x1d3)),this[_0x4ade54(0x1c8)]();}[a37_0x54768f(0x1c8)](){const _0x2d4c90=a37_0x54768f;if(!this[_0x2d4c90(0x1d5)])return;this[_0x2d4c90(0x1d5)][_0x2d4c90(0x1f4)](),this[_0x2d4c90(0x1d5)]=null,this[_0x2d4c90(0x1c0)]={},this['numPausedBeforeReset']=0x0,this['onDetach']();}[a37_0x54768f(0x1e7)](){const _0x3b255e=a37_0x54768f;if(!this['session'])return;this[_0x3b255e(0x1ef)]+=0x1;if(this[_0x3b255e(0x1ef)]<this[_0x3b255e(0x1e8)])return;this[_0x3b255e(0x1ef)]=0x0,this[_0x3b255e(0x1ec)](),this['enable']();}}function a37_0x2bb0(){const _0x5d089c=['error','values','Runtime.getProperties','1442gVurxG','attach','(((.+)+)+)+$','apply','detach','setBreakpointByUrl:\x20','columnNumber','params','setBreakpointByUrl','shouldUseWellFormattedUrl','1044337nDlzkX','Creating\x20V8Inspector','evaluateOnCallFrame','onPaused','Session','Debugger.disable','__esModule','session','Error\x20upon\x20re-setting\x20breakpoint:\x20','Debugger.removeBreakpoint','callFunctionOn','prevStoreSetBreakpointParams','812FJWZvX','resolveBreakpointPosition','removeBreakpoint','5499900HnYEAO','V8Inspector','45elQxJP','constructor','Debugger.enable','enable','post','length','toString','lineNumber','resetV8DebuggerIfThresholdMet','resetV8DebuggerThreshold','onScriptParsed','onDetach','3707970VPbGeh','disable','column:\x20','logger','numPausedBeforeReset','breakpointId','debug','2685290ITQwrf','response','disconnect','56QMGaLg','Runtime.callFunctionOn','4688320tSqVNa','4127800PCicbu','useWellFormattedUrl','url','search','Runtime.releaseObject','node:inspector','getProperties','storeSetBreakpointParams'];a37_0x2bb0=function(){return _0x5d089c;};return a37_0x2bb0();}exports[a37_0x54768f(0x1de)]=V8Inspector;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a38_0x1981a8=a38_0x3e88;(function(_0x29f211,_0x3643fa){const _0x24ff5c=a38_0x3e88,_0x5b15c5=_0x29f211();while(!![]){try{const _0x20601c=parseInt(_0x24ff5c(0x18e))/0x1+parseInt(_0x24ff5c(0x18f))/0x2+parseInt(_0x24ff5c(0x19b))/0x3+parseInt(_0x24ff5c(0x195))/0x4*(-parseInt(_0x24ff5c(0x197))/0x5)+-parseInt(_0x24ff5c(0x199))/0x6*(parseInt(_0x24ff5c(0x18a))/0x7)+parseInt(_0x24ff5c(0x191))/0x8*(-parseInt(_0x24ff5c(0x185))/0x9)+-parseInt(_0x24ff5c(0x192))/0xa;if(_0x20601c===_0x3643fa)break;else _0x5b15c5['push'](_0x5b15c5['shift']());}catch(_0x25fe1e){_0x5b15c5['push'](_0x5b15c5['shift']());}}}(a38_0x4f6d,0x4e4c3));function a38_0x4f6d(){const _0x408048=['@google-cloud/common','616439iFXvwB','1131516diWXnY','https://www.googleapis.com/auth/cloud_debugger','4144NxWmiI','3873540EIxgEc','apiEndpoint','name','2410480wfjybJ','https://','5auoype','search','6kJGvle','Debug','1050411TqAwAB','options','Service','constructor','2709pQPDpo','(((.+)+)+)+$','defineProperty','version','__esModule','460145pMeNpF','toString','packageInfo'];a38_0x4f6d=function(){return _0x408048;};return a38_0x4f6d();}const a38_0x42d39c=(function(){let _0x364623=!![];return function(_0x3e20f4,_0x47f97f){const _0x36a87b=_0x364623?function(){if(_0x47f97f){const _0x53df9a=_0x47f97f['apply'](_0x3e20f4,arguments);return _0x47f97f=null,_0x53df9a;}}:function(){};return _0x364623=![],_0x36a87b;};}()),a38_0x36c85c=a38_0x42d39c(this,function(){const _0x120961=a38_0x3e88;return a38_0x36c85c[_0x120961(0x18b)]()[_0x120961(0x198)]('(((.+)+)+)+$')[_0x120961(0x18b)]()[_0x120961(0x19e)](a38_0x36c85c)[_0x120961(0x198)](_0x120961(0x186));});a38_0x36c85c();'use strict';Object[a38_0x1981a8(0x187)](exports,a38_0x1981a8(0x189),{'value':!![]}),exports[a38_0x1981a8(0x19a)]=void 0x0;const common_1=require(a38_0x1981a8(0x18d));function a38_0x3e88(_0x2d1b78,_0x22bde9){const _0xa7054c=a38_0x4f6d();return a38_0x3e88=function(_0x36c85c,_0x42d39c){_0x36c85c=_0x36c85c-0x185;let _0x4f6deb=_0xa7054c[_0x36c85c];return _0x4f6deb;},a38_0x3e88(_0x2d1b78,_0x22bde9);}class Debug extends common_1[a38_0x1981a8(0x19d)]{constructor(_0x2a51ac={},_0x1f3191){const _0x4bff4d=a38_0x1981a8;if(new.target!==Debug)return new Debug(_0x2a51ac,_0x1f3191);const _0x5627e8={'projectIdRequired':![],'apiEndpoint':_0x2a51ac[_0x4bff4d(0x193)],'baseUrl':_0x4bff4d(0x196)+_0x2a51ac[_0x4bff4d(0x193)],'scopes':[_0x4bff4d(0x190)],'packageJson':_0x1f3191};super(_0x5627e8,_0x2a51ac),this[_0x4bff4d(0x19c)]=_0x2a51ac,this[_0x4bff4d(0x18c)]={'name':_0x1f3191[_0x4bff4d(0x194)],'version':_0x1f3191[_0x4bff4d(0x188)]};}}exports['Debug']=Debug;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a39_0x53fb5f=a39_0x1020;(function(_0x307c51,_0x562291){const _0x419619=a39_0x1020,_0x2c69fb=_0x307c51();while(!![]){try{const _0x475668=parseInt(_0x419619(0x1d0))/0x1+-parseInt(_0x419619(0x1d2))/0x2*(-parseInt(_0x419619(0x1c4))/0x3)+-parseInt(_0x419619(0x1c7))/0x4+-parseInt(_0x419619(0x1cb))/0x5+-parseInt(_0x419619(0x1cc))/0x6*(parseInt(_0x419619(0x1c2))/0x7)+-parseInt(_0x419619(0x1d1))/0x8+parseInt(_0x419619(0x1c1))/0x9;if(_0x475668===_0x562291)break;else _0x2c69fb['push'](_0x2c69fb['shift']());}catch(_0x27bb14){_0x2c69fb['push'](_0x2c69fb['shift']());}}}(a39_0x59d5,0xd301d));const a39_0x50971e=(function(){let _0x13b2b4=!![];return function(_0x16199a,_0xf1aab7){const _0x43df39=_0x13b2b4?function(){if(_0xf1aab7){const _0x4e6b27=_0xf1aab7['apply'](_0x16199a,arguments);return _0xf1aab7=null,_0x4e6b27;}}:function(){};return _0x13b2b4=![],_0x43df39;};}()),a39_0x4e5de9=a39_0x50971e(this,function(){const _0x5e0a3e=a39_0x1020;return a39_0x4e5de9[_0x5e0a3e(0x1bd)]()['search'](_0x5e0a3e(0x1bf))[_0x5e0a3e(0x1bd)]()['constructor'](a39_0x4e5de9)[_0x5e0a3e(0x1c9)]('(((.+)+)+)+$');});a39_0x4e5de9();function a39_0x59d5(){const _0x5687f0=['BREAKPOINT_SOURCE_LOCATION','5563125afVfCo','6veuDGx','VARIABLE_NAME','BREAKPOINT_EXPRESSION','__esModule','1483792YfebJN','12906304qhVzqQ','2525162bJiyKJ','isAccepted','BREAKPOINT_CONDITION','toString','BREAKPOINT_AGE','(((.+)+)+)+$','UNSPECIFIED','25964811tpKVKU','7267778IhnEUO','VARIABLE_VALUE','3OtebRh','isError','description','4011600YDrapI','parameters','search'];a39_0x59d5=function(){return _0x5687f0;};return a39_0x59d5();}function a39_0x1020(_0xbac5df,_0x1b1a4){const _0x2cf445=a39_0x59d5();return a39_0x1020=function(_0x4e5de9,_0x50971e){_0x4e5de9=_0x4e5de9-0x1bc;let _0x59d5b1=_0x2cf445[_0x4e5de9];return _0x59d5b1;},a39_0x1020(_0xbac5df,_0x1b1a4);}'use strict';Object['defineProperty'](exports,a39_0x53fb5f(0x1cf),{'value':!![]}),exports['StatusMessage']=void 0x0;class StatusMessage{constructor(_0x48aefc,_0x40b4b3,_0x13b40b,_0x1211b0=![]){const _0x251e7d=a39_0x53fb5f,{description:_0x548cf9,id:_0x225eb2,parameters:_0x3f8add}=_0x40b4b3??{};this['refersTo']=_0x48aefc,this[_0x251e7d(0x1c6)]={'format':_0x548cf9??''},_0x225eb2&&(this[_0x251e7d(0x1c6)]['errorId']=_0x225eb2),_0x3f8add&&(this[_0x251e7d(0x1c6)][_0x251e7d(0x1c8)]=_0x3f8add),this[_0x251e7d(0x1c5)]=_0x13b40b,this[_0x251e7d(0x1d3)]=_0x1211b0;}}exports['StatusMessage']=StatusMessage,StatusMessage['UNSPECIFIED']=a39_0x53fb5f(0x1c0),StatusMessage[a39_0x53fb5f(0x1ca)]=a39_0x53fb5f(0x1ca),StatusMessage[a39_0x53fb5f(0x1bc)]=a39_0x53fb5f(0x1bc),StatusMessage[a39_0x53fb5f(0x1ce)]=a39_0x53fb5f(0x1ce),StatusMessage['VARIABLE_NAME']=a39_0x53fb5f(0x1cd),StatusMessage[a39_0x53fb5f(0x1c3)]=a39_0x53fb5f(0x1c3),StatusMessage[a39_0x53fb5f(0x1be)]=a39_0x53fb5f(0x1be);
|
package/build/src/debuggee.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a40_0x11f002=a40_0x3203;function a40_0x3203(_0xc37165,_0x54c206){var _0x348421=a40_0x1fa1();return a40_0x3203=function(_0x4d6891,_0x109c0e){_0x4d6891=_0x4d6891-0xaf;var _0x1fa1fb=_0x348421[_0x4d6891];return _0x1fa1fb;},a40_0x3203(_0xc37165,_0x54c206);}(function(_0x5a1e9f,_0x15a4a3){var _0x3676fe=a40_0x3203,_0x419d73=_0x5a1e9f();while(!![]){try{var _0x72b410=parseInt(_0x3676fe(0xb5))/0x1+-parseInt(_0x3676fe(0xb7))/0x2*(-parseInt(_0x3676fe(0xd0))/0x3)+-parseInt(_0x3676fe(0xcf))/0x4+-parseInt(_0x3676fe(0xb2))/0x5*(parseInt(_0x3676fe(0xbf))/0x6)+parseInt(_0x3676fe(0xce))/0x7*(parseInt(_0x3676fe(0xc9))/0x8)+parseInt(_0x3676fe(0xb9))/0x9+-parseInt(_0x3676fe(0xc1))/0xa;if(_0x72b410===_0x15a4a3)break;else _0x419d73['push'](_0x419d73['shift']());}catch(_0x31867e){_0x419d73['push'](_0x419d73['shift']());}}}(a40_0x1fa1,0xc92fd));function a40_0x1fa1(){var _0x1292d5=['37597310PUJTPI','isInDocker','agentVersion','agentOS','constructor','string','pid','isInLambda','341936vkNfiY','runtimeEnvironmentVersion','properties.uniquifier\x20must\x20be\x20a\x20string','cpuCoreCount','systemTotalMemoryBytes','259HAzjZy','3004036GOQVgh','1426947znUPaG','runtimeEnvironment','host','search','runtimeEnvironmentInfo','Debuggee','145uPnkfF','procArch','uniquifier','1298244FfFcEK','toString','6odtSrw','(((.+)+)+)+$','12454047IOdQVr','isInK8s','statusMessage','linuxDistroName','sourceContexts','labels','73578guUXUj','osVersion'];a40_0x1fa1=function(){return _0x1292d5;};return a40_0x1fa1();}var a40_0x109c0e=(function(){var _0x1a506a=!![];return function(_0x36ff10,_0x511cfb){var _0x3dbe1b=_0x1a506a?function(){if(_0x511cfb){var _0x59e2f5=_0x511cfb['apply'](_0x36ff10,arguments);return _0x511cfb=null,_0x59e2f5;}}:function(){};return _0x1a506a=![],_0x3dbe1b;};}()),a40_0x4d6891=a40_0x109c0e(this,function(){var _0x3500a7=a40_0x3203;return a40_0x4d6891[_0x3500a7(0xb6)]()['search'](_0x3500a7(0xb8))[_0x3500a7(0xb6)]()[_0x3500a7(0xc5)](a40_0x4d6891)[_0x3500a7(0xaf)](_0x3500a7(0xb8));});a40_0x4d6891();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a40_0x11f002(0xb1)]=void 0x0;class Debuggee{constructor(_0x37730b){var _0x41d92b=a40_0x11f002;this[_0x41d92b(0xd1)]='Node.js';if(!(this instanceof Debuggee))return new Debuggee(_0x37730b);_0x37730b=_0x37730b||{};if(typeof _0x37730b['uniquifier']!==_0x41d92b(0xc6))throw new Error(_0x41d92b(0xcb));this[_0x41d92b(0xb4)]=_0x37730b['uniquifier'],this[_0x41d92b(0xc3)]=_0x37730b[_0x41d92b(0xc3)],_0x37730b[_0x41d92b(0xbe)]&&(this[_0x41d92b(0xbe)]=_0x37730b[_0x41d92b(0xbe)]),_0x37730b['sourceContexts']&&(this[_0x41d92b(0xbd)]=_0x37730b[_0x41d92b(0xbd)]),_0x37730b[_0x41d92b(0xbb)]&&(this['statusMessage']=_0x37730b['statusMessage']),this[_0x41d92b(0xd2)]=_0x37730b['host'],this[_0x41d92b(0xc7)]=_0x37730b[_0x41d92b(0xc7)],this['cpuCoreCount']=_0x37730b[_0x41d92b(0xcc)],this[_0x41d92b(0xcd)]=_0x37730b['systemTotalMemoryBytes'],this['agentOS']=_0x37730b[_0x41d92b(0xc4)],this['osVersion']=_0x37730b[_0x41d92b(0xc0)],this[_0x41d92b(0xca)]=_0x37730b['runtimeEnvironmentVersion'],this[_0x41d92b(0xb0)]=_0x37730b['runtimeEnvironmentInfo'],this['linuxDistroName']=_0x37730b[_0x41d92b(0xbc)],this[_0x41d92b(0xc2)]=_0x37730b[_0x41d92b(0xc2)],this[_0x41d92b(0xba)]=_0x37730b[_0x41d92b(0xba)],this['isInLambda']=_0x37730b[_0x41d92b(0xc8)],this['procArch']=_0x37730b[_0x41d92b(0xb3)];}}exports['Debuggee']=Debuggee;
|
package/build/src/gcp.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a41_0x339f(_0x182adb,_0x10f54e){const _0x67b90a=a41_0x1db5();return a41_0x339f=function(_0x3d482a,_0x26177f){_0x3d482a=_0x3d482a-0x15b;let _0x1db5ee=_0x67b90a[_0x3d482a];return _0x1db5ee;},a41_0x339f(_0x182adb,_0x10f54e);}const a41_0x347a3c=a41_0x339f;(function(_0x10eac0,_0x4adf22){const _0x4ddb39=a41_0x339f,_0x572aaa=_0x10eac0();while(!![]){try{const _0x32c2b1=-parseInt(_0x4ddb39(0x179))/0x1*(parseInt(_0x4ddb39(0x18f))/0x2)+parseInt(_0x4ddb39(0x165))/0x3*(-parseInt(_0x4ddb39(0x183))/0x4)+-parseInt(_0x4ddb39(0x15f))/0x5*(parseInt(_0x4ddb39(0x15c))/0x6)+parseInt(_0x4ddb39(0x18c))/0x7+parseInt(_0x4ddb39(0x189))/0x8+parseInt(_0x4ddb39(0x17f))/0x9+parseInt(_0x4ddb39(0x188))/0xa*(-parseInt(_0x4ddb39(0x16c))/0xb);if(_0x32c2b1===_0x4adf22)break;else _0x572aaa['push'](_0x572aaa['shift']());}catch(_0x13c885){_0x572aaa['push'](_0x572aaa['shift']());}}}(a41_0x1db5,0xd04f3));const a41_0x26177f=(function(){let _0x125acb=!![];return function(_0x1d340b,_0xde1278){const _0x295276=_0x125acb?function(){if(_0xde1278){const _0x447e2c=_0xde1278['apply'](_0x1d340b,arguments);return _0xde1278=null,_0x447e2c;}}:function(){};return _0x125acb=![],_0x295276;};}()),a41_0x3d482a=a41_0x26177f(this,function(){const _0x40ee21=a41_0x339f;return a41_0x3d482a['toString']()[_0x40ee21(0x15b)](_0x40ee21(0x182))['toString']()[_0x40ee21(0x17e)](a41_0x3d482a)[_0x40ee21(0x15b)](_0x40ee21(0x182));});a41_0x3d482a();'use strict';Object[a41_0x347a3c(0x18a)](exports,'__esModule',{'value':!![]}),exports['init']=init,exports[a41_0x347a3c(0x161)]=wrap,exports[a41_0x347a3c(0x164)]=stop;const lightrun=require('./index'),serverless_1=require(a41_0x347a3c(0x187)),DEFAULT_WAIT_FOR_INIT_MS=0x1388,DEFAULT_TRANSMISSION_TIMEOUT=0x2710;let isDebug=![],transmissionTimeout=DEFAULT_TRANSMISSION_TIMEOUT;const debug=_0x4b2d60=>{const _0x5b5907=a41_0x347a3c;isDebug&&console[_0x5b5907(0x17a)](_0x5b5907(0x176)+_0x4b2d60);};class LightrunGcpWrapper{constructor(){const _0x4c4e9f=a41_0x347a3c;this['isStarted']=![],this['lastAttemptTimestamp']=null,this[_0x4c4e9f(0x18b)]=null,this[_0x4c4e9f(0x190)]=null;}[a41_0x347a3c(0x160)](_0x32ca69){const _0xbfb1=a41_0x347a3c;if(this[_0xbfb1(0x178)]){console['warn'](_0xbfb1(0x166));return;}this['lightrunOptions']=_0x32ca69,isDebug=_0x32ca69?.[_0xbfb1(0x16e)]?.['gcpDebug']??![],transmissionTimeout=_0x32ca69?.[_0xbfb1(0x16e)]?.[_0xbfb1(0x167)]??DEFAULT_TRANSMISSION_TIMEOUT;}async[a41_0x347a3c(0x185)](_0xecf5a4,..._0x4dabda){const _0x43e29c=a41_0x347a3c;await this[_0x43e29c(0x170)](),await this[_0x43e29c(0x15e)]();try{debug(_0x43e29c(0x177));const _0x2fca10=_0xecf5a4(..._0x4dabda);if(_0x2fca10 instanceof Promise){const _0x29ce68=await _0x2fca10;return debug(_0x43e29c(0x193)),_0x29ce68;}else return debug('AFTER\x20HANDLER\x20(SYNC)'),_0x2fca10;}finally{try{await this[_0x43e29c(0x172)]();}catch(_0x2a2b28){console[_0x43e29c(0x16b)]('Failed\x20to\x20wait\x20for\x20transmission\x20queue\x20drain',_0x2a2b28);}}}async['stop'](){const _0x1a6305=a41_0x347a3c;if(!this['isStarted']){debug(_0x1a6305(0x186));return;}debug(_0x1a6305(0x173)),lightrun[_0x1a6305(0x164)](),this[_0x1a6305(0x168)]=![],this[_0x1a6305(0x192)]=null,debug(_0x1a6305(0x16d));}async[a41_0x347a3c(0x170)](){const _0x34199b=a41_0x347a3c;if(this[_0x34199b(0x168)])return;if(this[_0x34199b(0x18b)])return debug(_0x34199b(0x16a)),this['initPromise'];return debug('STARTING\x20THE\x20AGENT'),this['initPromise']=((async()=>{const _0x1cc9a9=_0x34199b;try{await lightrun[_0x1cc9a9(0x175)]({'lightrunInitWaitTimeMs':DEFAULT_WAIT_FOR_INIT_MS,...this[_0x1cc9a9(0x178)],'internal':{...this['lightrunOptions']?.[_0x1cc9a9(0x16e)]??{},'isLambda':!![]},'lightrunWaitForInit':!![],'fetchBreakpointsOnce':!![]}),this['isStarted']=!![],debug(_0x1cc9a9(0x17b));}catch(_0x5da85b){console[_0x1cc9a9(0x17a)](_0x1cc9a9(0x17c)),console['log'](_0x5da85b);}finally{this[_0x1cc9a9(0x18b)]=null,this['lastAttemptTimestamp']=Date['now']();}})()),this[_0x34199b(0x18b)];}async[a41_0x347a3c(0x15e)](){const _0x3c79e0=a41_0x347a3c;if(this[_0x3c79e0(0x190)])return debug(_0x3c79e0(0x18e)),this[_0x3c79e0(0x190)];try{const _0x373a55=lightrun['get']();if(!_0x373a55){console['log'](_0x3c79e0(0x17d));return;}const _0x5cb972=_0x373a55['getClientConnectionTimeoutInSeconds']()??0xa;if(!this[_0x3c79e0(0x192)]||Date['now']()-this[_0x3c79e0(0x192)]<_0x5cb972*0x3e8){debug('SKIPPING\x20BREAKPOINTS\x20FETCH');return;}this[_0x3c79e0(0x190)]=((async()=>{const _0x4ac492=_0x3c79e0;try{_0x373a55[_0x4ac492(0x191)]()?_0x373a55['fetchBreakpointsOnce']():(debug('REGISTERING\x20DEBUGGEE'),_0x373a55[_0x4ac492(0x163)]());const _0x304ee7=await lightrun[_0x4ac492(0x181)]()?.['waitForBreakpoints'](this[_0x4ac492(0x178)]?.[_0x4ac492(0x184)]??DEFAULT_WAIT_FOR_INIT_MS);_0x304ee7?debug(_0x4ac492(0x16f)):debug(_0x4ac492(0x171));}finally{this[_0x4ac492(0x190)]=null,this[_0x4ac492(0x192)]=Date['now']();}})()),await this['breakpointsPromise'];}catch(_0x2f9cfb){console[_0x3c79e0(0x17a)](_0x3c79e0(0x18d)+_0x2f9cfb?.[_0x3c79e0(0x15d)]),this['breakpointsPromise']&&(this[_0x3c79e0(0x190)]=null);}}async[a41_0x347a3c(0x172)](){const _0xe1d0e3=a41_0x347a3c;try{await lightrun[_0xe1d0e3(0x181)]()?.['waitForTransmissionQueueDrain'](transmissionTimeout);}catch(_0x17d6bf){console[_0xe1d0e3(0x17a)](_0xe1d0e3(0x169)+_0x17d6bf?.[_0xe1d0e3(0x15d)]);}}}function a41_0x1db5(){const _0xc49c40=['70DPxmiz','init','wrap','STOPPING\x20LIGHTRUN\x20GCP\x20WRAPPER','register','stop','144909QSyYtW','Lightrun\x20GCP\x20wrapper\x20already\x20initialized','transmissionTimeoutMs','isStarted','Failed\x20to\x20wait\x20for\x20transmission\x20queue\x20drain.\x20','WAITING\x20FOR\x20EXISTING\x20INIT\x20PROMISE','error','1071609rgSTuL','AGENT\x20STOPPED','internal','BREAKPOINTS\x20FETCHED','ensureStarted','BREAKPOINTS\x20NOT\x20FETCHED\x20IN\x20TIME','waitForTransmissionQueueDrain','STOPPING\x20THE\x20AGENT','LIGHTRUN\x20GCP\x20WRAPPER\x20STOPPED','asyncStart','[[\x20LIGHTRUN\x20GCP\x20]]\x20\x20','BEFORE\x20HANDLER','lightrunOptions','1990kaHfAV','log','AGENT\x20STARTED','Failed\x20to\x20start\x20the\x20Lightrun\x20agent','Debuglet\x20not\x20found','constructor','13712166PlNxWi','Serverless','get','(((.+)+)+)+$','8ZzgnRN','lightrunInitWaitTimeMs','run','NOTHING\x20TO\x20STOP,\x20AGENT\x20IS\x20NOT\x20STARTED','./agent/serverless','90qBZmzj','793656WDdtMQ','defineProperty','initPromise','8467515lciqCm','Failed\x20to\x20wait\x20for\x20breakpoints\x20update.\x20','WAITING\x20FOR\x20EXISTING\x20BREAKPOINTS\x20UPDATE','1006JRWPUK','breakpointsPromise','isRegistered','lastAttemptTimestamp','AFTER\x20HANDLER\x20(ASYNC)','search','2076DZJfhi','message','waitForBreakpointsUpdate'];a41_0x1db5=function(){return _0xc49c40;};return a41_0x1db5();}const wrapper=new LightrunGcpWrapper();function init(_0x416414){const _0x1110f=a41_0x347a3c;wrapper[_0x1110f(0x160)](_0x416414);}function wrap(_0x15ca34){const _0x4f23fc=a41_0x347a3c;return serverless_1[_0x4f23fc(0x180)][_0x4f23fc(0x161)](async(..._0x2b9e7b)=>wrapper[_0x4f23fc(0x185)](_0x15ca34,..._0x2b9e7b));}async function stop(){const _0x5753bc=a41_0x347a3c;debug(_0x5753bc(0x162)),await wrapper['stop'](),debug(_0x5753bc(0x174));}
|
package/build/src/index.d.ts
CHANGED
|
@@ -283,6 +283,8 @@ declare interface GerritSourceContext {
|
|
|
283
283
|
|
|
284
284
|
export declare function get(): Debuglet | null | undefined;
|
|
285
285
|
|
|
286
|
+
export declare type GetFunction = typeof get;
|
|
287
|
+
|
|
286
288
|
declare interface GitSourceContext {
|
|
287
289
|
git: {
|
|
288
290
|
url: string;
|
|
@@ -302,6 +304,12 @@ declare interface IsReady {
|
|
|
302
304
|
isReady(): Promise<void>;
|
|
303
305
|
}
|
|
304
306
|
|
|
307
|
+
export declare type Lightrun = {
|
|
308
|
+
start: StartFunction;
|
|
309
|
+
stop: StopFunction;
|
|
310
|
+
get: GetFunction;
|
|
311
|
+
};
|
|
312
|
+
|
|
305
313
|
declare type LogLevel = 'INFO' | 'WARN' | 'ERROR';
|
|
306
314
|
|
|
307
315
|
declare interface PackageInfo {
|
|
@@ -675,6 +683,8 @@ declare interface StackFrame {
|
|
|
675
683
|
*/
|
|
676
684
|
export declare function start(options?: DebugAgentConfig | StackdriverConfig): Debuglet | IsReady | undefined;
|
|
677
685
|
|
|
686
|
+
export declare type StartFunction = typeof start;
|
|
687
|
+
|
|
678
688
|
declare interface StatusMessage {
|
|
679
689
|
isAccepted?: boolean;
|
|
680
690
|
isError: boolean;
|
|
@@ -687,6 +697,8 @@ declare type StdErrThresholdLevel = AgentLogLevel | 'none';
|
|
|
687
697
|
declare function stop_2(): void;
|
|
688
698
|
export { stop_2 as stop }
|
|
689
699
|
|
|
700
|
+
export declare type StopFunction = typeof stop_2;
|
|
701
|
+
|
|
690
702
|
declare interface Timestamp {
|
|
691
703
|
seconds: string;
|
|
692
704
|
nanos: number;
|
package/build/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a42_0x34d799=a42_0x1807;(function(_0x248321,_0x340888){const _0x513968=a42_0x1807,_0x1c69b2=_0x248321();while(!![]){try{const _0x22dd43=-parseInt(_0x513968(0x7c))/0x1+-parseInt(_0x513968(0x8c))/0x2*(-parseInt(_0x513968(0x83))/0x3)+parseInt(_0x513968(0x89))/0x4+-parseInt(_0x513968(0x8e))/0x5+parseInt(_0x513968(0x95))/0x6+-parseInt(_0x513968(0x7b))/0x7+-parseInt(_0x513968(0x92))/0x8*(-parseInt(_0x513968(0x87))/0x9);if(_0x22dd43===_0x340888)break;else _0x1c69b2['push'](_0x1c69b2['shift']());}catch(_0x1c6eda){_0x1c69b2['push'](_0x1c69b2['shift']());}}}(a42_0x4b69,0xbab92));const a42_0x315d89=(function(){let _0x4f88ce=!![];return function(_0x2c14b0,_0x2d068c){const _0x530709=_0x4f88ce?function(){if(_0x2d068c){const _0x19c01d=_0x2d068c['apply'](_0x2c14b0,arguments);return _0x2d068c=null,_0x19c01d;}}:function(){};return _0x4f88ce=![],_0x530709;};}()),a42_0x39e966=a42_0x315d89(this,function(){const _0x3f7db9=a42_0x1807;return a42_0x39e966[_0x3f7db9(0x9a)]()[_0x3f7db9(0x88)](_0x3f7db9(0x7e))[_0x3f7db9(0x9a)]()[_0x3f7db9(0x93)](a42_0x39e966)[_0x3f7db9(0x88)](_0x3f7db9(0x7e));});a42_0x39e966();'use strict';Object[a42_0x34d799(0x79)](exports,a42_0x34d799(0x84),{'value':!![]}),exports['start']=start,exports[a42_0x34d799(0x8b)]=stop,exports[a42_0x34d799(0x98)]=asyncStart,exports[a42_0x34d799(0x90)]=get;const debuglet_1=require(a42_0x34d799(0x81)),debug_1=require(a42_0x34d799(0x77)),pjson=require(a42_0x34d799(0x86));let debuglet;const isTrue=_0x17ad1a=>['1',a42_0x34d799(0x78)][a42_0x34d799(0x7a)]((_0x17ad1a??'')['toLowerCase']());function a42_0x4b69(){const _0x5f4f5b=['./client/stackdriver/debug','true','defineProperty','includes','7769552BTShtD','864054FtwyoB','start','(((.+)+)+)+$','DISABLE_LIGHTRUN_AGENT','waitForBreakpoints','./agent/debuglet','log','69ghnnBk','__esModule','isReadyManager','../../package.json','27vqIuLO','search','973612AKuwSQ','WARNING:\x20Lightrun\x20debug\x20agent\x20has\x20already\x20been\x20started,\x20ignoring\x20this\x20call','stop','54970nYoSeY','assign','6315715usEuul','Env\x20variable\x20DISABLE_LIGHTRUN_AGENT\x20is\x20set\x20to\x20\x22','get','\x22.\x20Lightrun\x20agent\x20is\x20disabled.','6521128GbUite','constructor','debug','4085820BCThwf','Debuglet','env','asyncStart','lightrunInitWaitTimeMs','toString','testMode_'];a42_0x4b69=function(){return _0x5f4f5b;};return a42_0x4b69();}function a42_0x1807(_0x24900c,_0x4f69cc){const _0x563a17=a42_0x4b69();return a42_0x1807=function(_0x39e966,_0x315d89){_0x39e966=_0x39e966-0x77;let _0x4b6908=_0x563a17[_0x39e966];return _0x4b6908;},a42_0x1807(_0x24900c,_0x4f69cc);}function start(_0x536ba2){const _0x4be114=a42_0x34d799,_0x1a81e4=process[_0x4be114(0x97)][_0x4be114(0x7f)];if(isTrue(_0x1a81e4)){console[_0x4be114(0x82)](_0x4be114(0x8f)+_0x1a81e4+_0x4be114(0x91));return;}_0x536ba2=_0x536ba2??{};const _0x4b2aba=mergeConfigs(_0x536ba2);if(debuglet&&!_0x4b2aba['forceNewAgent_'])console[_0x4be114(0x82)](_0x4be114(0x8a));else{const _0x500c08=new debug_1['Debug'](_0x4b2aba,pjson);debuglet=new debuglet_1[(_0x4be114(0x96))](_0x500c08,_0x4b2aba),void debuglet[_0x4be114(0x7d)]();}return _0x4b2aba[_0x4be114(0x9b)]?debuglet:debuglet[_0x4be114(0x85)];}function stop(){debuglet?.['stop'](),debuglet=null;}async function asyncStart(_0x47252d){const _0x443442=a42_0x34d799;start(_0x47252d);if(!debuglet)return;await debuglet[_0x443442(0x80)](debuglet['config'][_0x443442(0x99)]);}function mergeConfigs(_0x120a78){const _0x288ccf=a42_0x34d799;if(!_0x120a78[_0x288ccf(0x94)])return _0x120a78;const _0x4c0a50=Object[_0x288ccf(0x8d)]({},_0x120a78);return delete _0x4c0a50['debug'],Object[_0x288ccf(0x8d)](_0x4c0a50,_0x120a78['debug']);}function get(){return debuglet;}
|
package/build/src/lambda.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a43_0x4a28e3=a43_0x3d56;(function(_0x2ec372,_0x2a5467){const _0x45e030=a43_0x3d56,_0x25404e=_0x2ec372();while(!![]){try{const _0x10c69b=parseInt(_0x45e030(0x1d8))/0x1+parseInt(_0x45e030(0x1a4))/0x2+-parseInt(_0x45e030(0x1af))/0x3*(-parseInt(_0x45e030(0x1a8))/0x4)+-parseInt(_0x45e030(0x1aa))/0x5*(-parseInt(_0x45e030(0x1a6))/0x6)+parseInt(_0x45e030(0x1ca))/0x7+parseInt(_0x45e030(0x1c2))/0x8+parseInt(_0x45e030(0x1a5))/0x9*(-parseInt(_0x45e030(0x1bb))/0xa);if(_0x10c69b===_0x2a5467)break;else _0x25404e['push'](_0x25404e['shift']());}catch(_0x46cf5b){_0x25404e['push'](_0x25404e['shift']());}}}(a43_0x1df4,0x42d66));const a43_0x5cc52f=(function(){let _0x187eee=!![];return function(_0x9d563e,_0x5a38c8){const _0x266c93=_0x187eee?function(){const _0x177aac=a43_0x3d56;if(_0x5a38c8){const _0x14397c=_0x5a38c8[_0x177aac(0x1bd)](_0x9d563e,arguments);return _0x5a38c8=null,_0x14397c;}}:function(){};return _0x187eee=![],_0x266c93;};}()),a43_0x314d38=a43_0x5cc52f(this,function(){const _0xa11412=a43_0x3d56;return a43_0x314d38[_0xa11412(0x1ab)]()[_0xa11412(0x1c0)](_0xa11412(0x1c8))[_0xa11412(0x1ab)]()[_0xa11412(0x1c3)](a43_0x314d38)[_0xa11412(0x1c0)]('(((.+)+)+)+$');});a43_0x314d38();function a43_0x3d56(_0xe518f1,_0x4972de){const _0x1e786c=a43_0x1df4();return a43_0x3d56=function(_0x314d38,_0x5cc52f){_0x314d38=_0x314d38-0x1a4;let _0x1df42d=_0x1e786c[_0x314d38];return _0x1df42d;},a43_0x3d56(_0xe518f1,_0x4972de);}'use strict';Object[a43_0x4a28e3(0x1ac)](exports,a43_0x4a28e3(0x1c6),{'value':!![]}),exports[a43_0x4a28e3(0x1d9)]=wrap,exports[a43_0x4a28e3(0x1cf)]=stop;function a43_0x1df4(){const _0xc9f8f7=['wrap','345470GJWZLt','1035PVnKTc','6DLsbPt','ensureStarted','16Rjxfuk','lightrunOptions','2020545FvrVJn','toString','defineProperty','waitForBreakpointsUpdate','lightrunInitWaitTimeMs','365469UsPUHq','Lightrun\x20Lambda\x20wrapper\x20already\x20initialized','REGISTERING\x20DEBUGGEE','handler','Failed\x20to\x20wait\x20for\x20transmission\x20queue\x20drain.\x20','log','isRegistered','transmissionTimeoutMs','isStarted','STARTING\x20THE\x20AGENT','lastAttemptTimestamp','message','174540pkzKoi','NOTHING\x20TO\x20STOP,\x20AGENT\x20IS\x20NOT\x20STARTED','apply','get','STOPPING\x20LIGHTRUN\x20LAMBDA\x20WRAPPER','search','AGENT\x20ALREADY\x20STARTED','3651808rnKvRR','constructor','Debuglet\x20not\x20found','now','__esModule','./index','(((.+)+)+)+$','Failed\x20to\x20start\x20the\x20Lightrun\x20agent','2659601gFLwBz','AFTER\x20HANDLER','fetchBreakpointsOnce','BREAKPOINTS\x20NOT\x20FETCHED\x20IN\x20TIME','register','stop','apiEndpoint','run','AGENT\x20STARTED','internal','app.lightrun.com','AGENT\x20STOPPED','waitForTransmissionQueueDrain','Lightrun\x20Lambda\x20wrapper\x20not\x20initialized,\x20nothing\x20to\x20stop','380421vZvHjc'];a43_0x1df4=function(){return _0xc9f8f7;};return a43_0x1df4();}const lightrun=require(a43_0x4a28e3(0x1c7)),DEFAULT_API_ENDPOINT=a43_0x4a28e3(0x1d4),DEFAULT_WAIT_FOR_INIT_MS=0x1388,DEFAULT_TRANSMISSION_TIMEOUT=0x2710;let isDebug=![],transmissionTimeout=DEFAULT_TRANSMISSION_TIMEOUT;const debug=_0x2a7d11=>{isDebug&&console['log']('[[\x20LIGHTRUN\x20LAMBDA\x20]]\x20\x20'+_0x2a7d11);};class LightrunLambdaWrapper{constructor(_0x17a01e,_0x2a1b73){const _0x118e07=a43_0x4a28e3;this[_0x118e07(0x1b2)]=_0x17a01e,this['lightrunOptions']=_0x2a1b73,this['isStarted']=![],this[_0x118e07(0x1b9)]=null;}async[a43_0x4a28e3(0x1d1)](_0x4f362c,_0x47b69d){const _0x445ec7=a43_0x4a28e3;await this[_0x445ec7(0x1a7)](_0x4f362c),await this[_0x445ec7(0x1ad)](),debug('BEFORE\x20HANDLER');const _0x1691a3=await this['handler'](_0x4f362c,_0x47b69d);return debug(_0x445ec7(0x1cb)),await this['waitForTransmissionQueueDrain'](),_0x1691a3;}async['stop'](){const _0x537fb3=a43_0x4a28e3;if(!this['isStarted']){debug(_0x537fb3(0x1bc));return;}debug('STOPPING\x20THE\x20AGENT'),lightrun[_0x537fb3(0x1cf)](),this['isStarted']=![],this[_0x537fb3(0x1b9)]=null,debug(_0x537fb3(0x1d5));}async[a43_0x4a28e3(0x1a7)](_0x149052){const _0x38d8dd=a43_0x4a28e3;try{if(this[_0x38d8dd(0x1b7)]){debug(_0x38d8dd(0x1c1));return;}debug(_0x38d8dd(0x1b8)),this[_0x38d8dd(0x1b7)]=!![];const _0x2bbecc=_0x149052[_0x38d8dd(0x1d0)]??DEFAULT_API_ENDPOINT,{lightrunSecret:_0xce8619}=_0x149052;await lightrun['asyncStart']({'apiEndpoint':_0x2bbecc,'lightrunSecret':_0xce8619,'lightrunInitWaitTimeMs':DEFAULT_WAIT_FOR_INIT_MS,...this[_0x38d8dd(0x1a9)],'internal':{...this[_0x38d8dd(0x1a9)]?.[_0x38d8dd(0x1d3)]??{},'isLambda':!![]},'lightrunWaitForInit':!![],'fetchBreakpointsOnce':!![]}),debug(_0x38d8dd(0x1d2));}catch(_0x49bf95){console[_0x38d8dd(0x1b4)](_0x38d8dd(0x1c9)),console[_0x38d8dd(0x1b4)](_0x49bf95);}this[_0x38d8dd(0x1b9)]=Date[_0x38d8dd(0x1c5)]();}async[a43_0x4a28e3(0x1ad)](){const _0x5ff300=a43_0x4a28e3;try{const _0x1ce6c9=lightrun['get']();if(!_0x1ce6c9){console[_0x5ff300(0x1b4)](_0x5ff300(0x1c4));return;}const _0x21ea8f=_0x1ce6c9['getClientConnectionTimeoutInSeconds']()??0xa;if(!this[_0x5ff300(0x1b9)]||Date[_0x5ff300(0x1c5)]()-this['lastAttemptTimestamp']<_0x21ea8f*0x3e8){debug('SKIPPING\x20BREAKPOINTS\x20FETCH\x20BECAUSE\x20OF\x20RATE\x20LIMIT');return;}_0x1ce6c9[_0x5ff300(0x1b5)]()?_0x1ce6c9[_0x5ff300(0x1cc)]():(debug(_0x5ff300(0x1b1)),_0x1ce6c9[_0x5ff300(0x1ce)]());const _0x25f4ad=await lightrun['get']()?.['waitForBreakpoints'](this[_0x5ff300(0x1a9)]?.[_0x5ff300(0x1ae)]??DEFAULT_WAIT_FOR_INIT_MS);_0x25f4ad?debug('BREAKPOINTS\x20FETCHED'):debug(_0x5ff300(0x1cd));}catch(_0x2b7d4c){console[_0x5ff300(0x1b4)]('Failed\x20to\x20wait\x20for\x20breakpoints\x20update.\x20'+_0x2b7d4c?.['message']);}this[_0x5ff300(0x1b9)]=Date[_0x5ff300(0x1c5)]();}async[a43_0x4a28e3(0x1d6)](){const _0x46b9d6=a43_0x4a28e3;try{await lightrun[_0x46b9d6(0x1be)]()?.[_0x46b9d6(0x1d6)](transmissionTimeout);}catch(_0x55ece3){console['log'](_0x46b9d6(0x1b3)+_0x55ece3?.[_0x46b9d6(0x1ba)]);}}}let wrapper=null;function wrap(_0x1b66e1,_0x393719){const _0x55ea8d=a43_0x4a28e3;if(wrapper!==null)throw new Error(_0x55ea8d(0x1b0));isDebug=_0x393719?.[_0x55ea8d(0x1d3)]?.['lambdaDebug']||![],transmissionTimeout=_0x393719?.['internal']?.[_0x55ea8d(0x1b6)]??DEFAULT_TRANSMISSION_TIMEOUT,debug('COLD\x20START');let _0x38135e=!![];return wrapper=new LightrunLambdaWrapper(_0x1b66e1,_0x393719),async(_0xcf0538,_0x351891)=>{const _0x2d3307=_0x55ea8d;return!_0x38135e&&debug('WARM\x20START'),_0x38135e=![],wrapper?.[_0x2d3307(0x1d1)](_0xcf0538,_0x351891);};}async function stop(){const _0x37fdea=a43_0x4a28e3;if(wrapper===null){console['error'](_0x37fdea(0x1d7));return;}debug(_0x37fdea(0x1bf)),await wrapper[_0x37fdea(0x1cf)](),wrapper=null,debug('LIGHTRUN\x20LAMBDA\x20WRAPPER\x20STOPPED');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.90.0-release.abffdfb689
|