lightrun 1.71.0 → 1.72.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/state/inspector-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x467978=a0_0x2943;(function(_0x54b1e7,_0x5e9acd){const _0x4a77cc=a0_0x2943,_0x5e239a=_0x54b1e7();while(!![]){try{const _0x5a064c=-parseInt(_0x4a77cc(0x155))/0x1+parseInt(_0x4a77cc(0x15f))/0x2*(parseInt(_0x4a77cc(0x166))/0x3)+parseInt(_0x4a77cc(0x162))/0x4*(-parseInt(_0x4a77cc(0x16b))/0x5)+-parseInt(_0x4a77cc(0x160))/0x6*(-parseInt(_0x4a77cc(0x15e))/0x7)+-parseInt(_0x4a77cc(0x159))/0x8*(-parseInt(_0x4a77cc(0x150))/0x9)+parseInt(_0x4a77cc(0x156))/0xa+-parseInt(_0x4a77cc(0x16e))/0xb;if(_0x5a064c===_0x5e9acd)break;else _0x5e239a['push'](_0x5e239a['shift']());}catch(_0x4de612){_0x5e239a['push'](_0x5e239a['shift']());}}}(a0_0x2dce,0x224ef));const a0_0x206101=(function(){let _0x465f82=!![];return function(_0x33b0bf,_0x4e7183){const _0x4a2f25=_0x465f82?function(){const _0x2a6ecd=a0_0x2943;if(_0x4e7183){const _0x30508c=_0x4e7183[_0x2a6ecd(0x173)](_0x33b0bf,arguments);return _0x4e7183=null,_0x30508c;}}:function(){};return _0x465f82=![],_0x4a2f25;};}()),a0_0x5df04d=a0_0x206101(this,function(){const _0x1dc8df=a0_0x2943;return a0_0x5df04d[_0x1dc8df(0x16f)]()[_0x1dc8df(0x151)](_0x1dc8df(0x153))[_0x1dc8df(0x16f)]()['constructor'](a0_0x5df04d)[_0x1dc8df(0x151)](_0x1dc8df(0x153));});a0_0x5df04d();'use strict';Object[a0_0x467978(0x16d)](exports,a0_0x467978(0x167),{'value':!![]});function a0_0x2943(_0x5a762e,_0x5d3a85){const _0x49a997=a0_0x2dce();return a0_0x2943=function(_0x5df04d,_0x206101){_0x5df04d=_0x5df04d-0x148;let _0x2dce3c=_0x49a997[_0x5df04d];return _0x2dce3c;},a0_0x2943(_0x5a762e,_0x5d3a85);}const winston_1=require(a0_0x467978(0x163)),DailyRotateFile=require(a0_0x467978(0x14b)),process_1=require(a0_0x467978(0x165)),{combine,printf,timestamp}=winston_1[a0_0x467978(0x14f)],{Console}=winston_1[a0_0x467978(0x158)],now=new Date();function a0_0x2dce(){const _0xa8f8eb=['warn','.log','30qSVwFm','getHours','defineProperty','1944734FrEgLh','toString','error','padStart','level','apply','getMinutes','initialLogLevel','toUpperCase','AGENT_LOG_FILE','winston-daily-rotate-file','createLogger','.%DATE%','lightrun_nodejs_agent.','format','15102QpDqNQ','search','getDate','(((.+)+)+)+$','getMonth','188080VEmulk','1687860XtVAyN',']\x20-\x20','transports','88eiONux','setLevel','getInitialLevel','debug','logger','14YIqGaG','6234dzMSUz','472548tTGyDD','json','77848CeuLwU','winston','pid','process','267udaJKp','__esModule','info'];a0_0x2dce=function(){return _0xa8f8eb;};return a0_0x2dce();}function getLoggerTransport(_0x2c6486,_0x367456,_0x46083c){const _0x2a3f4d=a0_0x467978;if(_0x2c6486)return new DailyRotateFile({'dirname':_0x2c6486,'filename':AgentLogger[_0x2a3f4d(0x14a)],'datePattern':now['getFullYear']()[_0x2a3f4d(0x16f)]()+now[_0x2a3f4d(0x154)]()[_0x2a3f4d(0x16f)]()[_0x2a3f4d(0x171)](0x2,'0')+now[_0x2a3f4d(0x152)]()[_0x2a3f4d(0x16f)]()['padStart'](0x2,'0')+'-'+now[_0x2a3f4d(0x16c)]()[_0x2a3f4d(0x16f)]()['padStart'](0x2,'0')+now[_0x2a3f4d(0x174)]()[_0x2a3f4d(0x16f)]()[_0x2a3f4d(0x171)](0x2,'0')+now['getSeconds']()[_0x2a3f4d(0x16f)]()[_0x2a3f4d(0x171)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger['AGENT_LOG_FILE'],'maxSize':_0x367456+'m','maxFiles':_0x46083c,'extension':_0x2a3f4d(0x16a)});return new Console();}class AgentLogger{constructor(_0x1cb106,_0x5a13fe,_0x14dc36,_0x15953a,_0x5cbdc9){const _0x41527e=a0_0x467978;this[_0x41527e(0x148)]=_0x15953a,this[_0x41527e(0x15d)]=(0x0,winston_1[_0x41527e(0x14c)])({'level':_0x15953a,'transports':[getLoggerTransport(_0x1cb106,_0x5a13fe,_0x14dc36),new Console({'level':_0x5cbdc9,'stderrLevels':['debug',_0x41527e(0x168),'warn','error']})],'format':combine(timestamp(),printf(({level:_0x6af33e,message:_0x382378,timestamp:_0xa4fd06})=>{const _0x3a4ce1=_0x41527e;return _0xa4fd06+'\x20['+_0x6af33e[_0x3a4ce1(0x149)]()+_0x3a4ce1(0x157)+_0x382378;}),winston_1['format'][_0x41527e(0x161)]())});}static['createLogger'](_0xc9a60a,_0x34eb3f,_0x4169d4,_0x204394,_0x36e75a){return new AgentLogger(_0xc9a60a,_0x34eb3f,_0x4169d4,_0x204394,_0x36e75a);}['debug'](..._0x38bd19){const _0x564fe9=a0_0x467978;this[_0x564fe9(0x15d)][_0x564fe9(0x15c)](_0x38bd19);}[a0_0x467978(0x168)](..._0x5847d9){const _0xaec389=a0_0x467978;this[_0xaec389(0x15d)]['info'](_0x5847d9);}[a0_0x467978(0x169)](..._0x368aa4){const _0x50ffe0=a0_0x467978;this[_0x50ffe0(0x15d)][_0x50ffe0(0x169)](_0x368aa4);}[a0_0x467978(0x170)](..._0x442b31){const _0x225de8=a0_0x467978;this['logger'][_0x225de8(0x170)](_0x442b31);}['getLevel'](){const _0x580656=a0_0x467978;return this[_0x580656(0x15d)][_0x580656(0x172)];}[a0_0x467978(0x15a)](_0x43950){const _0x3d0a2a=a0_0x467978;this['logger'][_0x3d0a2a(0x172)]=_0x43950;}[a0_0x467978(0x15b)](){const _0xadd9e9=a0_0x467978;return this[_0xadd9e9(0x148)];}}AgentLogger[a0_0x467978(0x14a)]=a0_0x467978(0x14e)+process_1[a0_0x467978(0x164)]+a0_0x467978(0x14d),exports['default']=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a1_0x2c7fe0=a1_0x75be;(function(_0x2e79fe,_0x5e156){const _0x36cc75=a1_0x75be,_0x3d14f1=_0x2e79fe();while(!![]){try{const _0x423b62=parseInt(_0x36cc75(0x1d9))/0x1*(-parseInt(_0x36cc75(0x1e6))/0x2)+parseInt(_0x36cc75(0x1df))/0x3*(-parseInt(_0x36cc75(0x1d8))/0x4)+parseInt(_0x36cc75(0x1d1))/0x5*(-parseInt(_0x36cc75(0x1ce))/0x6)+parseInt(_0x36cc75(0x1d4))/0x7*(-parseInt(_0x36cc75(0x1e0))/0x8)+-parseInt(_0x36cc75(0x1dd))/0x9+-parseInt(_0x36cc75(0x1d3))/0xa*(-parseInt(_0x36cc75(0x1d0))/0xb)+parseInt(_0x36cc75(0x1e1))/0xc;if(_0x423b62===_0x5e156)break;else _0x3d14f1['push'](_0x3d14f1['shift']());}catch(_0x5c1efd){_0x3d14f1['push'](_0x3d14f1['shift']());}}}(a1_0x325f,0xcfc32));function a1_0x75be(_0x233edc,_0x326230){const _0x5acf02=a1_0x325f();return a1_0x75be=function(_0x4976cf,_0xe5ea99){_0x4976cf=_0x4976cf-0x1ce;let _0x325fde=_0x5acf02[_0x4976cf];return _0x325fde;},a1_0x75be(_0x233edc,_0x326230);}const a1_0xe5ea99=(function(){let _0x198ff6=!![];return function(_0x14c8bd,_0x8c970e){const _0x5dd914=_0x198ff6?function(){const _0x3ed6a2=a1_0x75be;if(_0x8c970e){const _0x2d976f=_0x8c970e[_0x3ed6a2(0x1e3)](_0x14c8bd,arguments);return _0x8c970e=null,_0x2d976f;}}:function(){};return _0x198ff6=![],_0x5dd914;};}()),a1_0x4976cf=a1_0xe5ea99(this,function(){const _0xef87c0=a1_0x75be;return a1_0x4976cf[_0xef87c0(0x1da)]()['search']('(((.+)+)+)+$')[_0xef87c0(0x1da)]()['constructor'](a1_0x4976cf)[_0xef87c0(0x1e4)]('(((.+)+)+)+$');});a1_0x4976cf();'use strict';Object[a1_0x2c7fe0(0x1de)](exports,'__esModule',{'value':!![]}),exports[a1_0x2c7fe0(0x1e5)]=void 0x0;class BlocklistingPatterns{constructor(_0x4f86f8){const _0x337ddb=a1_0x2c7fe0;this['inversePatterns']=[],this[_0x337ddb(0x1dc)]=[],_0x4f86f8&&_0x4f86f8[_0x337ddb(0x1d6)](_0x3b29a7=>{const _0xeb04d8=_0x337ddb;_0x3b29a7&&(_0x3b29a7[0x0]==='!'?this[_0xeb04d8(0x1d5)][_0xeb04d8(0x1d7)](new RegExp(_0x3b29a7[_0xeb04d8(0x1d2)](0x1))):this[_0xeb04d8(0x1dc)]['push'](new RegExp(_0x3b29a7)));});}[a1_0x2c7fe0(0x1db)](_0x55cf16){const _0x4b8844=a1_0x2c7fe0,_0x279f27=_0x3912e9=>_0x55cf16[_0x4b8844(0x1e7)](_0x3912e9);return this[_0x4b8844(0x1d5)][_0x4b8844(0x1e2)]!==0x0&&!this['inversePatterns'][_0x4b8844(0x1cf)](_0x279f27)||this[_0x4b8844(0x1dc)][_0x4b8844(0x1cf)](_0x279f27);}}function a1_0x325f(){const _0x2b7f75=['substring','381380ehqwng','7eivGkR','inversePatterns','forEach','push','12arAjZm','356787BgctPK','toString','matches','patterns','13325175PaahAO','defineProperty','286854BjqxOR','8393608WXRzFI','58664772BqCBjs','length','apply','search','BlocklistingPatterns','4XxYNPA','match','1396446cBSfPM','some','55xcdFig','15ZqXkZZ'];a1_0x325f=function(){return _0x2b7f75;};return a1_0x325f();}exports[a1_0x2c7fe0(0x1e5)]=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x47ae5e=a2_0x5ba3;function a2_0x5ba3(_0x48ffa5,_0x225503){var _0x558e83=a2_0x1454();return a2_0x5ba3=function(_0x5c23fa,_0x27e658){_0x5c23fa=_0x5c23fa-0xad;var _0x14547c=_0x558e83[_0x5c23fa];return _0x14547c;},a2_0x5ba3(_0x48ffa5,_0x225503);}function a2_0x1454(){var _0x29a9a2=['322FmSYIH','5719310CAeIbF','24fKHins','apply','shouldBlock','3511620ajHAkW','__esModule','18945157bBxazM','1051qWWcCc','toString','118269XwfBNy','DummyBlocklistManager','constructor','1142uspIGo','24036ExShSI','(((.+)+)+)+$','search','defineProperty','3964fZESZb','1101JjtjdF'];a2_0x1454=function(){return _0x29a9a2;};return a2_0x1454();}(function(_0x147b93,_0x479d02){var _0x3de231=a2_0x5ba3,_0x377e32=_0x147b93();while(!![]){try{var _0x22e855=-parseInt(_0x3de231(0xb7))/0x1*(parseInt(_0x3de231(0xbc))/0x2)+parseInt(_0x3de231(0xae))/0x3*(parseInt(_0x3de231(0xad))/0x4)+-parseInt(_0x3de231(0xb4))/0x5+-parseInt(_0x3de231(0xbd))/0x6*(-parseInt(_0x3de231(0xaf))/0x7)+parseInt(_0x3de231(0xb1))/0x8*(-parseInt(_0x3de231(0xb9))/0x9)+-parseInt(_0x3de231(0xb0))/0xa+parseInt(_0x3de231(0xb6))/0xb;if(_0x22e855===_0x479d02)break;else _0x377e32['push'](_0x377e32['shift']());}catch(_0x502d1b){_0x377e32['push'](_0x377e32['shift']());}}}(a2_0x1454,0x5706d));var a2_0x27e658=(function(){var _0x264308=!![];return function(_0x13cf67,_0x39402d){var _0x2a4170=_0x264308?function(){var _0x218e64=a2_0x5ba3;if(_0x39402d){var _0x32e76b=_0x39402d[_0x218e64(0xb2)](_0x13cf67,arguments);return _0x39402d=null,_0x32e76b;}}:function(){};return _0x264308=![],_0x2a4170;};}()),a2_0x5c23fa=a2_0x27e658(this,function(){var _0x15d741=a2_0x5ba3;return a2_0x5c23fa['toString']()[_0x15d741(0xbf)]('(((.+)+)+)+$')[_0x15d741(0xb8)]()[_0x15d741(0xbb)](a2_0x5c23fa)['search'](_0x15d741(0xbe));});a2_0x5c23fa();'use strict';Object[a2_0x47ae5e(0xc0)](exports,a2_0x47ae5e(0xb5),{'value':!![]}),exports[a2_0x47ae5e(0xba)]=void 0x0;class DummyBlocklistManager{constructor(_0x523868){this['value']=_0x523868;}[a2_0x47ae5e(0xb3)](){return this['value'];}}exports[a2_0x47ae5e(0xba)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a3_0x2e32(_0x17f301,_0x1b913d){const _0x40b0d8=a3_0x3ee2();return a3_0x2e32=function(_0x4a4b84,_0x1dafeb){_0x4a4b84=_0x4a4b84-0x1a7;let _0x3ee269=_0x40b0d8[_0x4a4b84];return _0x3ee269;},a3_0x2e32(_0x17f301,_0x1b913d);}const a3_0x19c7a4=a3_0x2e32;(function(_0x5a1057,_0x4bc625){const _0x266130=a3_0x2e32,_0x1dcbad=_0x5a1057();while(!![]){try{const _0x22b006=-parseInt(_0x266130(0x1ab))/0x1+parseInt(_0x266130(0x1ba))/0x2+-parseInt(_0x266130(0x1b2))/0x3*(parseInt(_0x266130(0x1b0))/0x4)+parseInt(_0x266130(0x1be))/0x5+-parseInt(_0x266130(0x1a8))/0x6*(-parseInt(_0x266130(0x1b1))/0x7)+-parseInt(_0x266130(0x1b8))/0x8+parseInt(_0x266130(0x1b7))/0x9;if(_0x22b006===_0x4bc625)break;else _0x1dcbad['push'](_0x1dcbad['shift']());}catch(_0x172577){_0x1dcbad['push'](_0x1dcbad['shift']());}}}(a3_0x3ee2,0x3e0fe));const a3_0x1dafeb=(function(){let _0x4dbbd4=!![];return function(_0x5d3fbe,_0x584668){const _0x211258=_0x4dbbd4?function(){if(_0x584668){const _0x31cb17=_0x584668['apply'](_0x5d3fbe,arguments);return _0x584668=null,_0x31cb17;}}:function(){};return _0x4dbbd4=![],_0x211258;};}()),a3_0x4a4b84=a3_0x1dafeb(this,function(){const _0x49ffb9=a3_0x2e32;return a3_0x4a4b84[_0x49ffb9(0x1b4)]()[_0x49ffb9(0x1a9)](_0x49ffb9(0x1b5))['toString']()[_0x49ffb9(0x1ad)](a3_0x4a4b84)[_0x49ffb9(0x1a9)](_0x49ffb9(0x1b5));});a3_0x4a4b84();'use strict';Object[a3_0x19c7a4(0x1b9)](exports,a3_0x19c7a4(0x1bb),{'value':!![]}),exports[a3_0x19c7a4(0x1b3)]=void 0x0;const blocklisting_patterns_1=require(a3_0x19c7a4(0x1bf)),utils=require(a3_0x19c7a4(0x1bc));class PatternsBlocklistManager{constructor(_0x47bcdb,_0x140f19,_0xa0fb9b){const _0x1b7f5f=a3_0x19c7a4;this['blocklist']=new blocklisting_patterns_1[(_0x1b7f5f(0x1ae))](_0x47bcdb),this[_0x1b7f5f(0x1af)]=new blocklisting_patterns_1['BlocklistingPatterns'](_0x140f19),this['config']=_0xa0fb9b;}['shouldBlock'](_0x320910){const _0x10225e=a3_0x19c7a4;_0x320910=this['stripWorkingDir'](_0x320910);if(this[_0x10225e(0x1af)][_0x10225e(0x1aa)](_0x320910))return![];return this['blocklist'][_0x10225e(0x1aa)](_0x320910);}[a3_0x19c7a4(0x1bd)](_0x41d130){const _0x3a88d4=a3_0x19c7a4;if(utils[_0x3a88d4(0x1b6)](_0x41d130,this['config']))return utils[_0x3a88d4(0x1a7)](_0x41d130,this[_0x3a88d4(0x1ac)]);return _0x41d130;}}function a3_0x3ee2(){const _0x41497d=['PatternsBlocklistManager','toString','(((.+)+)+)+$','isPathInCurrentWorkingDirectory','2458665NrFdZX','1097736lomkai','defineProperty','143736sGPXPR','__esModule','../util/utils','stripWorkingDir','2157940hDStwe','./blocklisting-patterns','stripCurrentWorkingDirectory','22452fAGlkX','search','matches','460323JxFQbe','config','constructor','BlocklistingPatterns','blocklistExceptions','1061668ONXQur','637TXhaBZ','3hRXhQs'];a3_0x3ee2=function(){return _0x41497d;};return a3_0x3ee2();}exports[a3_0x19c7a4(0x1b3)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a4_0x525824=a4_0x174b;function a4_0x174b(_0x1b7fb7,_0x30ea80){const _0x14513f=a4_0x530e();return a4_0x174b=function(_0x88ff59,_0x14b26f){_0x88ff59=_0x88ff59-0x1c9;let _0x530ea6=_0x14513f[_0x88ff59];return _0x530ea6;},a4_0x174b(_0x1b7fb7,_0x30ea80);}(function(_0x50494e,_0x431909){const _0x416935=a4_0x174b,_0x4c0686=_0x50494e();while(!![]){try{const _0x57ee30=-parseInt(_0x416935(0x1f3))/0x1*(-parseInt(_0x416935(0x1d2))/0x2)+parseInt(_0x416935(0x1e9))/0x3+-parseInt(_0x416935(0x1eb))/0x4+parseInt(_0x416935(0x1e7))/0x5+parseInt(_0x416935(0x1f8))/0x6+parseInt(_0x416935(0x1ec))/0x7*(parseInt(_0x416935(0x1cb))/0x8)+-parseInt(_0x416935(0x1e0))/0x9*(parseInt(_0x416935(0x1e6))/0xa);if(_0x57ee30===_0x431909)break;else _0x4c0686['push'](_0x4c0686['shift']());}catch(_0x295c81){_0x4c0686['push'](_0x4c0686['shift']());}}}(a4_0x530e,0x8cf33));const a4_0x14b26f=(function(){let _0x23aedc=!![];return function(_0x2a366f,_0x428089){const _0x308f5c=_0x23aedc?function(){if(_0x428089){const _0x25e135=_0x428089['apply'](_0x2a366f,arguments);return _0x428089=null,_0x25e135;}}:function(){};return _0x23aedc=![],_0x308f5c;};}()),a4_0x88ff59=a4_0x14b26f(this,function(){const _0xfb0f34=a4_0x174b;return a4_0x88ff59[_0xfb0f34(0x1e1)]()[_0xfb0f34(0x1f7)](_0xfb0f34(0x1f4))[_0xfb0f34(0x1e1)]()[_0xfb0f34(0x1d5)](a4_0x88ff59)[_0xfb0f34(0x1f7)](_0xfb0f34(0x1f4));});a4_0x88ff59();'use strict';function a4_0x530e(){const _0x1ed83d=['values','forEach','boolean','300770wYhDNZ','3000460bFtynv','object','3216267VBcPsB','length','3098468Ghqcsk','49UNaaJJ','Agent\x20Configuration:\x20','cwd','array',',\x20\x20\x20the\x20file\x20','string','logMainConfigParams','1QtOrbF','(((.+)+)+)+$','DOESN\x27T\x20EXIST','set','search','5283954GAzwbh','Production','shape','732952GFEHAc','debug','oneOf','defaultConfig','configSchema','error','__esModule','1970026nezAyD','none','lightrunSecret','constructor','agentConfigFile','not\x20set!','agent.config','errors','yup','warn','info','c69ee141bb58642db8039cbef1c2aca53ff98d8ef672363affc1a7786365fbe5','number','exists','846GDWIWM','toString','defineProperty'];a4_0x530e=function(){return _0x1ed83d;};return a4_0x530e();}Object[a4_0x525824(0x1e2)](exports,a4_0x525824(0x1d1),{'value':!![]}),exports[a4_0x525824(0x1f2)]=exports[a4_0x525824(0x1ce)]=exports[a4_0x525824(0x1cf)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x525824(0x1da));exports[a4_0x525824(0x1cf)]=(0x0,yup_1[a4_0x525824(0x1e8)])()[a4_0x525824(0x1ca)]({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x525824(0x1de)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x525824(0x1de)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x525824(0x1de)])(),'capture':(0x0,yup_1[a4_0x525824(0x1e8)])()['shape']({'includeNodeModules':(0x0,yup_1[a4_0x525824(0x1e5)])(),'maxFrames':(0x0,yup_1[a4_0x525824(0x1de)])(),'maxExpandFrames':(0x0,yup_1[a4_0x525824(0x1de)])(),'maxProperties':(0x0,yup_1[a4_0x525824(0x1de)])(),'maxVariableDepth':(0x0,yup_1['number'])(),'maxWatchProperties':(0x0,yup_1[a4_0x525824(0x1de)])(),'maxDataSize':(0x0,yup_1[a4_0x525824(0x1de)])(),'maxStringLength':(0x0,yup_1[a4_0x525824(0x1de)])(),'maxVariableSize':(0x0,yup_1[a4_0x525824(0x1de)])(),'maxWatchListVariableSize':(0x0,yup_1['number'])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x525824(0x1de)])()}),'internal':(0x0,yup_1[a4_0x525824(0x1e8)])()[a4_0x525824(0x1ca)]({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x525824(0x1de)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x525824(0x1de)])(),'sourceMapDiagnostics':(0x0,yup_1[a4_0x525824(0x1e5)])()}),'forceNewAgent_':(0x0,yup_1['boolean'])(),'testMode_':(0x0,yup_1[a4_0x525824(0x1e5)])(),'apiEndpoint':(0x0,yup_1[a4_0x525824(0x1f1)])(),'lightrunSecret':(0x0,yup_1['string'])(),'agentLog':(0x0,yup_1[a4_0x525824(0x1e8)])()[a4_0x525824(0x1ca)]({'agentLogTargetDir':(0x0,yup_1[a4_0x525824(0x1f1)])(),'agentLogMaxFileSizeMb':(0x0,yup_1['number'])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x525824(0x1de)])(),'agentLogLevel':(0x0,yup_1[a4_0x525824(0x1f1)])()[a4_0x525824(0x1cd)]([a4_0x525824(0x1cc),a4_0x525824(0x1dc),a4_0x525824(0x1db),a4_0x525824(0x1d0)]),'stdErrThreshold':(0x0,yup_1[a4_0x525824(0x1f1)])()[a4_0x525824(0x1cd)]([a4_0x525824(0x1cc),'info',a4_0x525824(0x1db),a4_0x525824(0x1d0),a4_0x525824(0x1d3)]),'collectCooldownMs':(0x0,yup_1[a4_0x525824(0x1de)])(),'maxLogFileBytes':(0x0,yup_1['number'])()}),'pinnedCerts':(0x0,yup_1[a4_0x525824(0x1ef)])()['of']((0x0,yup_1[a4_0x525824(0x1f1)])()),'noCheckCertificate':(0x0,yup_1[a4_0x525824(0x1e5)])(),'caPath':(0x0,yup_1[a4_0x525824(0x1f1)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x525824(0x1de)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x525824(0x1de)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x525824(0x1de)])(),'quota':(0x0,yup_1[a4_0x525824(0x1e8)])()[a4_0x525824(0x1ca)]({'maxConditionCost':(0x0,yup_1[a4_0x525824(0x1de)])(),'maxCPUCost':(0x0,yup_1[a4_0x525824(0x1de)])(),'maxDynamicLogRate':(0x0,yup_1[a4_0x525824(0x1de)])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x525824(0x1de)])(),'ignoreQuota':(0x0,yup_1[a4_0x525824(0x1e5)])(),'quotaRecoverySeconds':(0x0,yup_1['number'])()}),'agentConfigFile':(0x0,yup_1[a4_0x525824(0x1f1)])(),'fetchBreakpointsOnce':(0x0,yup_1['boolean'])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x525824(0x1de)])(),'lightrunWaitForInit':(0x0,yup_1['boolean'])(),'lightrunInitWaitTimeMs':(0x0,yup_1['number'])(),'extraPaths':(0x0,yup_1['array'])()['of']((0x0,yup_1['string'])()),'redactionEnabled':(0x0,yup_1['boolean'])(),'proxy':(0x0,yup_1[a4_0x525824(0x1e8)])()[a4_0x525824(0x1ca)]({'host':(0x0,yup_1[a4_0x525824(0x1f1)])(),'port':(0x0,yup_1[a4_0x525824(0x1de)])(),'username':(0x0,yup_1[a4_0x525824(0x1f1)])(),'password':(0x0,yup_1['string'])()})}),exports[a4_0x525824(0x1ce)]={'workingDirectory':process[a4_0x525824(0x1ee)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':['.js'],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x19,'maxWatchProperties':0x400,'maxVariableDepth':0xa,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xbb800,'maxWatchListVariableSize':0x80000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28,'sourceMapDiagnostics':![]},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':'app.lightrun.com','lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1['tmpdir'])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x525824(0x1dc),'stdErrThreshold':a4_0x525824(0x1d3),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':['515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2',a4_0x525824(0x1dd)],'noCheckCertificate':![],'caPath':'node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','metadata':{'registration':{'tags':[a4_0x525824(0x1c9)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x525824(0x1d8),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x304fdb,_0x51d932)=>{const _0x5101c3=a4_0x525824,_0x230d2d=Object[_0x5101c3(0x1e3)](_0x304fdb?.[_0x5101c3(0x1d9)]??[]);_0x230d2d[_0x5101c3(0x1ea)]&&_0x230d2d[_0x5101c3(0x1e4)](_0x269ef5=>{const _0x4574cc=_0x5101c3;_0x51d932[_0x4574cc(0x1d0)](_0x269ef5);});},logConfigWarnings=(_0x1e42c2,_0x4e83a0)=>{_0x1e42c2['warnings']?.['forEach'](_0x4bcbd6=>{const _0xc5612b=a4_0x174b;_0x4e83a0[_0xc5612b(0x1db)](_0x4bcbd6);});};function logMainConfigParams(_0x134b22,_0x416ef7){const _0x16879a=a4_0x525824;let _0x37b50d=_0x134b22[_0x16879a(0x1d6)];_0x37b50d?_0x37b50d+=_0x16879a(0x1f0)+((0x0,fs_1['existsSync'])(_0x134b22[_0x16879a(0x1d6)])?_0x16879a(0x1df):_0x16879a(0x1f5)):_0x37b50d=_0x16879a(0x1d7);const _0x4eb6b4={..._0x134b22,'lightrunSecret':_0x134b22[_0x16879a(0x1d4)]?_0x16879a(0x1f6):'!!!\x20NOT\x20SET\x20!!!','agentConfigFile':_0x37b50d};_0x416ef7['debug'](_0x16879a(0x1ed),_0x4eb6b4),logConfigWarnings(_0x134b22,_0x416ef7),logConfigErrors(_0x134b22,_0x416ef7);}exports[a4_0x525824(0x1f2)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x2f9f81=a5_0x4622;(function(_0xbe9eb2,_0x4bfcfb){var _0xa65c37=a5_0x4622,_0x3a7f07=_0xbe9eb2();while(!![]){try{var _0x42c3c0=parseInt(_0xa65c37(0x187))/0x1+parseInt(_0xa65c37(0x195))/0x2*(parseInt(_0xa65c37(0x18d))/0x3)+parseInt(_0xa65c37(0x197))/0x4+parseInt(_0xa65c37(0x186))/0x5*(parseInt(_0xa65c37(0x184))/0x6)+-parseInt(_0xa65c37(0x199))/0x7+-parseInt(_0xa65c37(0x1a0))/0x8*(parseInt(_0xa65c37(0x19e))/0x9)+-parseInt(_0xa65c37(0x19b))/0xa*(parseInt(_0xa65c37(0x196))/0xb);if(_0x42c3c0===_0x4bfcfb)break;else _0x3a7f07['push'](_0x3a7f07['shift']());}catch(_0x19455a){_0x3a7f07['push'](_0x3a7f07['shift']());}}}(a5_0xfa63,0x29858));var a5_0x35ee53=(function(){var _0x2061ef=!![];return function(_0x478c65,_0x3e2d10){var _0x156c87=_0x2061ef?function(){var _0x54a6be=a5_0x4622;if(_0x3e2d10){var _0x43c068=_0x3e2d10[_0x54a6be(0x193)](_0x478c65,arguments);return _0x3e2d10=null,_0x43c068;}}:function(){};return _0x2061ef=![],_0x156c87;};}()),a5_0x22e742=a5_0x35ee53(this,function(){var _0xf8216d=a5_0x4622;return a5_0x22e742[_0xf8216d(0x194)]()[_0xf8216d(0x189)](_0xf8216d(0x19a))[_0xf8216d(0x194)]()['constructor'](a5_0x22e742)['search'](_0xf8216d(0x19a));});function a5_0xfa63(){var _0x282bd0=['345938LxJwep','22kNWGuX','1359112AnIhBL','getMaxProperties','1312514fYjEOM','(((.+)+)+)+$','1977320UzAquG','maxProperties','resolvedDebugAgentConfig','478557hrSBUl','getMaxWatchListVariableSize','40LUfSOB','maxWatchProperties','1290462csRAhk','getMaxVariableSize','5IRxdZl','291079bUahcs','defineProperty','search','ConfigurationProvider','getMaxSnapshotBufferSize','maxVariableSize','3lApZeM','maxWatchListVariableSize','__esModule','capture','maxStringLength','maxDataSize','apply','toString'];a5_0xfa63=function(){return _0x282bd0;};return a5_0xfa63();}function a5_0x4622(_0x5185eb,_0x352ae2){var _0x2233f1=a5_0xfa63();return a5_0x4622=function(_0x22e742,_0x35ee53){_0x22e742=_0x22e742-0x183;var _0xfa6384=_0x2233f1[_0x22e742];return _0xfa6384;},a5_0x4622(_0x5185eb,_0x352ae2);}a5_0x22e742();'use strict';Object[a5_0x2f9f81(0x188)](exports,a5_0x2f9f81(0x18f),{'value':!![]}),exports[a5_0x2f9f81(0x18a)]=void 0x0;class ConfigurationProvider{constructor(_0x280f06){var _0x58776e=a5_0x2f9f81;this[_0x58776e(0x19d)]=_0x280f06;}[a5_0x2f9f81(0x185)](){var _0x310d45=a5_0x2f9f81;return this[_0x310d45(0x19d)][_0x310d45(0x190)][_0x310d45(0x191)]||this['resolvedDebugAgentConfig'][_0x310d45(0x190)][_0x310d45(0x18c)];}[a5_0x2f9f81(0x19f)](){var _0x4b2f12=a5_0x2f9f81;return this[_0x4b2f12(0x19d)][_0x4b2f12(0x190)][_0x4b2f12(0x18e)];}[a5_0x2f9f81(0x18b)](){var _0x3eab47=a5_0x2f9f81;return this[_0x3eab47(0x19d)][_0x3eab47(0x190)][_0x3eab47(0x192)]||this[_0x3eab47(0x19d)][_0x3eab47(0x190)]['maxSnapshotBufferSize'];}[a5_0x2f9f81(0x198)](_0x1eeacb){var _0x139210=a5_0x2f9f81;return _0x1eeacb?this[_0x139210(0x19d)][_0x139210(0x190)][_0x139210(0x183)]:this[_0x139210(0x19d)][_0x139210(0x190)][_0x139210(0x19c)];}}exports['ConfigurationProvider']=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x54bb84=a6_0x4723;(function(_0x3a2dc2,_0x49fe0f){const _0x4e3936=a6_0x4723,_0xfc6237=_0x3a2dc2();while(!![]){try{const _0x18a2c8=-parseInt(_0x4e3936(0xe9))/0x1+parseInt(_0x4e3936(0xe3))/0x2+-parseInt(_0x4e3936(0x7f))/0x3*(parseInt(_0x4e3936(0x114))/0x4)+parseInt(_0x4e3936(0xd3))/0x5+parseInt(_0x4e3936(0xfa))/0x6+parseInt(_0x4e3936(0xe4))/0x7+-parseInt(_0x4e3936(0xc7))/0x8;if(_0x18a2c8===_0x49fe0f)break;else _0xfc6237['push'](_0xfc6237['shift']());}catch(_0x102731){_0xfc6237['push'](_0xfc6237['shift']());}}}(a6_0x4423,0x3626f));const a6_0x568701=(function(){let _0x2a257c=!![];return function(_0x1a21a5,_0x3e3282){const _0x593b52=_0x2a257c?function(){const _0x167948=a6_0x4723;if(_0x3e3282){const _0x4fd32a=_0x3e3282[_0x167948(0xb2)](_0x1a21a5,arguments);return _0x3e3282=null,_0x4fd32a;}}:function(){};return _0x2a257c=![],_0x593b52;};}()),a6_0x37100c=a6_0x568701(this,function(){const _0x121873=a6_0x4723;return a6_0x37100c[_0x121873(0xf3)]()[_0x121873(0x7e)]('(((.+)+)+)+$')['toString']()[_0x121873(0xb4)](a6_0x37100c)[_0x121873(0x7e)](_0x121873(0xff));});a6_0x37100c();'use strict';Object[a6_0x54bb84(0x10e)](exports,'__esModule',{'value':!![]}),exports[a6_0x54bb84(0x86)]=void 0x0;const common_1=require(a6_0x54bb84(0xc3)),assert=require(a6_0x54bb84(0x104)),qs=require(a6_0x54bb84(0x89)),fs_1=require('fs'),crypto_1=require(a6_0x54bb84(0xd7)),zlib_1=require('zlib'),stream_1=require('stream'),memory_streams_1=require(a6_0x54bb84(0xdf)),tls_1=require(a6_0x54bb84(0xaf)),extend=require('extend'),axios_1=require(a6_0x54bb84(0x7a)),https=require(a6_0x54bb84(0xa4)),utils_1=require(a6_0x54bb84(0x99)),HttpsProxyAgent=require(a6_0x54bb84(0xf8)),yaml=require('js-yaml'),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1[a6_0x54bb84(0xe2)]{constructor(_0x4dfafb,_0x4adbea,_0x4af948){const _0x27800c=a6_0x54bb84;super({'parent':_0x4dfafb,'baseUrl':_0x27800c(0xae)}),this[_0x27800c(0xee)]=null,this['config']=_0x4adbea,this[_0x27800c(0xfe)]=[],this[_0x27800c(0xfc)]=_0x4af948,this['apiUrl']=_0x27800c(0x98)+_0x4adbea['apiEndpoint']+'/debuggees/',this[_0x27800c(0x7a)]=axios_1[_0x27800c(0x94)][_0x27800c(0xfb)]({'httpsAgent':getProxyAgent(_0x4adbea,_0x4af948)??new https[(_0x27800c(0x100))](getHttpsAgentOptions(_0x4adbea,_0x4af948)),'proxy':![]});}[a6_0x54bb84(0xac)](_0x27b635,_0x4fe18e){const _0x211849=a6_0x54bb84,_0x2e5b24={'uri':this[_0x211849(0xbe)]+_0x211849(0xac),'method':'POST','json':!![],'body':{'debuggee':_0x27b635}};this[_0x211849(0x9e)](_0x2e5b24,(_0xa61e21,_0x55790c,_0x12e083)=>{const _0x3d70db=_0x211849;if(!_0x12e083)_0x4fe18e(_0xa61e21||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0xa61e21){let _0x2912b0=![];_0x12e083[_0x3d70db(0x8f)]===HTTP_UPGRADE_REQUIRED&&_0x55790c&&(_0x55790c['message']!==undefined&&(_0xa61e21['message']=_0x55790c[_0x3d70db(0x101)]),_0x2912b0=!![]),_0x4fe18e(_0xa61e21,_0x55790c,_0x2912b0);}else{if(_0x12e083[_0x3d70db(0x8f)]!==HTTP_SUCCESS)_0x4fe18e(new Error('unable\x20to\x20register,\x20status\x20'+_0x12e083[_0x3d70db(0x8f)]));else!_0x55790c?.[_0x3d70db(0x8a)]?_0x4fe18e(new Error('invalid\x20response\x20body\x20from\x20server')):(_0x27b635['id']=_0x55790c[_0x3d70db(0x8a)]['id'],_0x4fe18e(null,_0x55790c));}}});}[a6_0x54bb84(0x85)](_0x30cbfe,_0x75e5d7,_0x26106f){const _0x4ff0ef=a6_0x54bb84,_0x1c05ec=this;assert(_0x30cbfe['id'],_0x4ff0ef(0xc8));const _0x5bf274={'successOnTimeout':!![]};_0x1c05ec['nextWaitToken']&&(_0x5bf274[_0x4ff0ef(0xbd)]=_0x1c05ec[_0x4ff0ef(0xee)]);const _0x5e0d07=this[_0x4ff0ef(0xbe)]+encodeURIComponent(_0x30cbfe['id'])+_0x4ff0ef(0xb3)+qs[_0x4ff0ef(0xe7)](_0x5bf274);_0x1c05ec[_0x4ff0ef(0x9e)]({'uri':_0x5e0d07,'json':!![]},(_0x541e5d,_0xa24a96,_0xf9a377)=>{const _0x1a2d4f=_0x4ff0ef;if(!_0xf9a377){_0x75e5d7(_0x541e5d||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));return;}else{if(!is2xx(_0xf9a377[_0x1a2d4f(0x8f)])){_0x75e5d7(new Error(_0x1a2d4f(0xb7)+_0xf9a377[_0x1a2d4f(0x8f)]),_0xf9a377);return;}else _0xa24a96&&(_0x1c05ec['nextWaitToken']=_0xa24a96[_0x1a2d4f(0xee)]),_0x75e5d7(null,_0xf9a377,_0xa24a96);}},_0x26106f,this[_0x4ff0ef(0x95)]=new AbortController());}[a6_0x54bb84(0xcf)](_0x40fb87,_0x233720){const _0x4eacb7=a6_0x54bb84;assert(_0x40fb87['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x5dd855=JSON[_0x4eacb7(0xe7)](_0x233720),_0x486103=(0x0,utils_1[_0x4eacb7(0xc1)])(_0x5dd855);if(_0x486103>=this[_0x4eacb7(0xba)][_0x4eacb7(0x9f)]){this[_0x4eacb7(0xfc)]['warn'](_0x4eacb7(0x8c)+_0x233720['id']+_0x4eacb7(0x90)+_0x486103+_0x4eacb7(0xc6)+this[_0x4eacb7(0xba)][_0x4eacb7(0x9f)]);return;}this[_0x4eacb7(0xfe)][_0x4eacb7(0x80)]({'id':_0x233720['id'],'serializedJson':_0x5dd855,'number':0x0});if(!this[_0x4eacb7(0x10c)]){const _0x4695e6=this;this[_0x4eacb7(0x10c)]=setTimeout(()=>_0x4695e6[_0x4eacb7(0xb5)][_0x4eacb7(0x81)](_0x4695e6)(_0x40fb87['id']),0x0);}}catch(_0xe47af6){this[_0x4eacb7(0xfc)]['error'](_0x4eacb7(0xd0)+_0x233720['id']+_0x4eacb7(0x8e),_0xe47af6);return;}}[a6_0x54bb84(0x9b)](){const _0x24e392=a6_0x54bb84;this[_0x24e392(0x95)]?.[_0x24e392(0x82)](),this[_0x24e392(0x95)]=undefined;if(!this[_0x24e392(0x10c)])return;clearTimeout(this[_0x24e392(0x10c)]),this[_0x24e392(0x10c)]=null;}[a6_0x54bb84(0x92)](_0x2e5dfb,_0x2f1742){const _0x259021=a6_0x54bb84,_0x50e3d8=this[_0x259021(0xbe)]+encodeURIComponent(_0x2e5dfb['id'])+_0x259021(0xef),_0x34e344={'uri':_0x50e3d8,'method':'POST','json':!![]};this['logger'][_0x259021(0xd1)](_0x259021(0x79)),this['makeRequest'](_0x34e344,(_0x1e4a21,_0xcb13b6,_0x14302a)=>{const _0x1b1f72=_0x259021;(!_0x14302a||Math[_0x1b1f72(0x8b)](_0x14302a['status']/0x64)!==0x2)&&this[_0x1b1f72(0xfc)][_0x1b1f72(0xbb)](_0x1b1f72(0xd5)+_0x1e4a21),_0x2f1742(_0x1e4a21);});}[a6_0x54bb84(0xc9)](_0x162979,_0x1db59c,_0x5a67c4){const _0x235262=a6_0x54bb84,_0x492d01=this[_0x235262(0xbe)]+encodeURIComponent(_0x162979['id'])+'/log/',_0x3040eb={'uri':_0x492d01,'method':'POST','json':!![],'body':_0x1db59c};this[_0x235262(0x9e)](_0x3040eb,(_0x42d52c,_0x51cce7,_0x57889a)=>{const _0xa83333=_0x235262;(!_0x57889a||Math[_0xa83333(0x8b)](_0x57889a['status']/0x64)!==0x2)&&(this[_0xa83333(0xfc)]['warn'](_0xa83333(0xd8)+_0x42d52c),_0x5a67c4(_0x42d52c));});}[a6_0x54bb84(0xc5)](_0x35f68e,_0x38fcdb,_0x3173a6){const _0x12cb86=a6_0x54bb84,_0x298604=this['apiUrl']+encodeURIComponent(_0x35f68e['id'])+'/appOnlyActionHits/',_0x2efa2b={'uri':_0x298604,'method':_0x12cb86(0x87),'json':!![],'body':_0x38fcdb};this['makeRequest'](_0x2efa2b,(_0x5bcc04,_0x157cee,_0x2a6e73)=>{const _0x3db234=_0x12cb86;(!_0x2a6e73||Math['floor'](_0x2a6e73['status']/0x64)!==0x2)&&(this['logger'][_0x3db234(0xbb)](_0x3db234(0xe8)+_0x5bcc04),_0x3173a6(_0x5bcc04));});}[a6_0x54bb84(0xb8)](_0x2db71c,_0x2ecbdb,_0x167286){const _0x3e7daa=a6_0x54bb84;assert(_0x2db71c['id'],_0x3e7daa(0xc8));if(this[_0x3e7daa(0x111)]){const _0x49356e=Date[_0x3e7daa(0xf2)](),_0x4f1209=this[_0x3e7daa(0x111)]+this[_0x3e7daa(0xba)][_0x3e7daa(0xd6)]['collectCooldownMs'];if(_0x49356e<_0x4f1209){this['logger'][_0x3e7daa(0xd1)](_0x3e7daa(0x7d)+((_0x4f1209-_0x49356e)/0x3e8+_0x3e7daa(0xcd)));return;}}const _0x5a2866=(0x0,fs_1['statSync'])(_0x167286)[_0x3e7daa(0xa8)],_0x2cf150=Math[_0x3e7daa(0xdb)](0x0,_0x5a2866-this[_0x3e7daa(0xba)][_0x3e7daa(0xd6)]['maxLogFileBytes']),_0x1368ab=(0x0,fs_1['createReadStream'])(_0x167286,{'start':_0x2cf150}),_0x15eac0=(0x0,zlib_1[_0x3e7daa(0x96)])(),_0x45073c=new memory_streams_1[(_0x3e7daa(0xad))](),_0x5b9cf6=this;_0x5b9cf6['logger'][_0x3e7daa(0xd1)](_0x3e7daa(0xca)+_0x167286+'\x20for\x20request\x20id\x20'+_0x2ecbdb),(0x0,stream_1[_0x3e7daa(0x7c)])(_0x1368ab,_0x15eac0,_0x45073c,_0x5114b9=>{const _0x4f0553=_0x3e7daa;if(_0x5114b9)_0x5b9cf6[_0x4f0553(0xfc)][_0x4f0553(0xc0)](_0x4f0553(0x103)+_0x167286+':\x20'+_0x5114b9);else{const _0x17fdc0={'uri':this[_0x4f0553(0xbe)]+encodeURIComponent(_0x2db71c['id'])+_0x4f0553(0x110)+_0x2ecbdb,'method':'PUT','body':_0x45073c[_0x4f0553(0x9c)](),'headers':{'Content-Type':'application/octet-stream'}};_0x5b9cf6[_0x4f0553(0x9e)](_0x17fdc0,_0x266a86=>{const _0x30c477=_0x4f0553;_0x266a86?_0x5b9cf6[_0x30c477(0xfc)][_0x30c477(0xc0)](_0x30c477(0xcc)+_0x167286+_0x30c477(0xb9)+_0x2ecbdb,_0x266a86):(_0x5b9cf6[_0x30c477(0xfc)][_0x30c477(0xd1)](_0x30c477(0xf4)+_0x167286+_0x30c477(0xb9)+_0x2ecbdb),_0x5b9cf6[_0x30c477(0x111)]=Date[_0x30c477(0xf2)]());});}});}[a6_0x54bb84(0xb5)](_0x5ae8db){const _0x3aa4f4=a6_0x54bb84;this[_0x3aa4f4(0xfc)][_0x3aa4f4(0xbf)](_0x3aa4f4(0x8d)),this[_0x3aa4f4(0x10c)]=undefined;const _0x2901a0=[];let _0x5d6eb0=0x0;while(_0x2901a0[_0x3aa4f4(0x93)]<this[_0x3aa4f4(0xba)][_0x3aa4f4(0xf0)]&&this['transmissionQueue'][_0x3aa4f4(0x93)]>0x0){const _0xa8ef01=this['transmissionQueue'][0x0],_0x24162a=_0xa8ef01[_0x3aa4f4(0xcb)],_0x3996a3=(0x0,utils_1[_0x3aa4f4(0xc1)])(_0x24162a);_0x5d6eb0+=_0x3996a3;if(_0x5d6eb0<=this[_0x3aa4f4(0xba)][_0x3aa4f4(0xec)])_0x2901a0[_0x3aa4f4(0x80)](_0xa8ef01),this[_0x3aa4f4(0xfe)][_0x3aa4f4(0x97)]();else{_0x3996a3>this['config'][_0x3aa4f4(0xec)]&&_0x2901a0[_0x3aa4f4(0x93)]===0x0&&(this[_0x3aa4f4(0xfc)]['debug'](_0x3aa4f4(0x106)+_0xa8ef01['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this[_0x3aa4f4(0xba)][_0x3aa4f4(0xec)]+_0x3aa4f4(0x9d)),_0x2901a0['push'](_0xa8ef01),this['transmissionQueue']['shift']());break;}}if(!_0x2901a0)return;const _0x14f69a=_0x2901a0[_0x3aa4f4(0xdd)](_0x5f42ec=>_0x5f42ec['id']),_0x1268ef={'uri':this[_0x3aa4f4(0xbe)]+encodeURIComponent(_0x5ae8db)+_0x3aa4f4(0x88),'json':!![],'method':_0x3aa4f4(0x7b),'body':'['+_0x2901a0['map'](_0x3771de=>_0x3771de[_0x3aa4f4(0xcb)])[_0x3aa4f4(0xa1)](',')+']'},_0x16fddc=this;try{this[_0x3aa4f4(0x9e)](_0x1268ef,(_0x5031ed,_0x256df9,_0x47a186)=>{const _0x397465=_0x3aa4f4,_0x376408=_0x47a186?.[_0x397465(0x8f)];_0x16fddc['logger'][_0x397465(0xbf)](_0x397465(0xeb)+_0x14f69a+_0x397465(0x102)+_0x376408);if(_0x5031ed||!_0x376408||Math[_0x397465(0x8b)](_0x376408/0x64)!==0x2){const _0x3967f9=_0x376408&&(_0x376408>=0x1f4||_0x376408===0x198);if(_0x3967f9){_0x16fddc[_0x397465(0xfc)]['warn'](_0x397465(0xda)+_0x14f69a+_0x397465(0xd9)+_0x376408+_0x397465(0x10a)+_0x5031ed);for(const _0x408d3d of _0x2901a0){_0x408d3d[_0x397465(0x105)]<MAX_FAILED_SEND_ATTEMPTS?_0x16fddc[_0x397465(0xfe)][_0x397465(0x80)]({..._0x408d3d,'number':_0x408d3d['number']+0x1}):_0x16fddc[_0x397465(0xfc)][_0x397465(0xbb)](_0x397465(0xf1)+_0x408d3d['id']+_0x397465(0xa7));}}else _0x16fddc[_0x397465(0xfc)]['warn'](_0x397465(0xce)+_0x14f69a+_0x397465(0xd9)+_0x376408+_0x397465(0x10a)+_0x5031ed);}else _0x16fddc[_0x397465(0xfc)][_0x397465(0xd1)](_0x397465(0xeb)+_0x14f69a+_0x397465(0xa2));_0x16fddc[_0x397465(0xfe)][_0x397465(0x93)]>0x0&&(_0x16fddc[_0x397465(0x10c)]=setTimeout(()=>_0x16fddc[_0x397465(0xb5)][_0x397465(0x81)](_0x16fddc)(_0x5ae8db),0x0));},0x28);}catch(_0x25b1d2){this[_0x3aa4f4(0xfc)]['warn'](_0x3aa4f4(0xce)+_0x14f69a+_0x3aa4f4(0x10b)+_0x25b1d2+_0x3aa4f4(0x109)+_0x25b1d2['data']?.[_0x3aa4f4(0x101)]),_0x16fddc[_0x3aa4f4(0xfe)][_0x3aa4f4(0x93)]>0x0&&(_0x16fddc[_0x3aa4f4(0x10c)]=setTimeout(()=>_0x16fddc['transmitBreakpointUpdates']['bind'](_0x16fddc)(_0x5ae8db),0x0));}}async[a6_0x54bb84(0xea)](_0x1a2a0e){const _0xdf8f35=a6_0x54bb84;this['logger'][_0xdf8f35(0xd1)]('Getting\x20blocklist');const _0x2165ec=this[_0xdf8f35(0xbe)]+encodeURIComponent(_0x1a2a0e)+_0xdf8f35(0x84),{error:_0xc0b861,data:_0x571030}=await this['makeRequest']({'uri':_0x2165ec,'json':!![]});if(_0xc0b861)return Promise[_0xdf8f35(0xd2)](_0xc0b861);return yaml[_0xdf8f35(0x91)](_0x571030)||{};}[a6_0x54bb84(0x9e)](_0x5f0d8d,_0x455720,_0x5c0b4c,_0x5db735,_0x78fa45){const _0x4cae45=a6_0x54bb84,_0x23169d={'Content-Type':_0x78fa45?_0x78fa45:_0x4cae45(0xaa),'Authorization':'Bearer\x20'+this[_0x4cae45(0xba)]['lightrunSecret']},_0x5e4ce1=_0x5db735??new AbortController(),_0x188825=_0x5c0b4c?_0x5c0b4c*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x4cae45(0xfc)]['debug'](_0x4cae45(0xf7)+_0x188825);const _0x4c7653=setTimeout(()=>{const _0x5b85d3=_0x4cae45;this['logger']['warn'](_0x5b85d3(0xa0)+_0x188825+'ms'),_0x5e4ce1[_0x5b85d3(0x82)]();},_0x188825),_0x4d0a00={'method':_0x5f0d8d[_0x4cae45(0x83)],'url':_0x5f0d8d[_0x4cae45(0x107)],'data':_0x5f0d8d[_0x4cae45(0x108)],'headers':_0x23169d,'signal':_0x5e4ce1['signal']};return extend(!![],_0x4d0a00,_0x5f0d8d),this[_0x4cae45(0x7a)][_0x4cae45(0xed)](_0x4d0a00)[_0x4cae45(0xe0)](_0xe07170=>{const _0x5d5451=_0x4cae45;return _0x455720?.(null,_0xe07170[_0x5d5451(0xa9)],_0xe07170),{'error':null,'data':_0xe07170[_0x5d5451(0xa9)],'res':_0xe07170};})[_0x4cae45(0x112)](_0x4921f5=>{const _0x34e064=_0x4cae45;return _0x455720?.(_0x4921f5,_0x4921f5[_0x34e064(0x10d)]?.[_0x34e064(0xa9)],_0x4921f5['response']),{'error':_0x4921f5,'data':_0x4921f5[_0x34e064(0x10d)]?.['data'],'res':_0x4921f5[_0x34e064(0x10d)]};})['finally'](()=>clearTimeout(_0x4c7653));}async['getRedactions'](_0x3b8279){const _0x183fc5=a6_0x54bb84;this['logger'][_0x183fc5(0xd1)]('Getting\x20reductions');const _0x2f9bb3=this[_0x183fc5(0xbe)]+encodeURIComponent(_0x3b8279)+_0x183fc5(0xde),{error:_0x313107,data:_0x1b43c8}=await this[_0x183fc5(0x9e)]({'uri':_0x2f9bb3,'json':!![]});if(_0x313107)return Promise[_0x183fc5(0xd2)](_0x313107);return _0x1b43c8;}}function a6_0x4723(_0x3b9bfb,_0x13cbdf){const _0x18734d=a6_0x4423();return a6_0x4723=function(_0x37100c,_0x568701){_0x37100c=_0x37100c-0x79;let _0x442338=_0x18734d[_0x37100c];return _0x442338;},a6_0x4723(_0x3b9bfb,_0x13cbdf);}exports[a6_0x54bb84(0x86)]=Controller;function is2xx(_0xc44cd4){const _0x517d7c=a6_0x54bb84;return Math[_0x517d7c(0x8b)](_0xc44cd4/0x64)===0x2;}function getProxyAgent(_0x4ab3bf,_0x5c370c){const _0x2e6707=a6_0x54bb84,_0x555453=_0x4ab3bf[_0x2e6707(0xa5)];if(!_0x555453?.[_0x2e6707(0xf6)])return undefined;if(!_0x555453[_0x2e6707(0xb0)])return _0x5c370c[_0x2e6707(0xc0)](_0x2e6707(0xb1)),undefined;_0x5c370c[_0x2e6707(0xd1)]('Using\x20proxy\x20configuration:\x20'+_0x555453[_0x2e6707(0xf6)]+':'+_0x555453['port']+_0x2e6707(0xe5)+(_0x555453['username']??''));const _0x54e506=new HttpsProxyAgent({'host':_0x555453['host'],'port':_0x555453['port'],'auth':_0x555453[_0x2e6707(0xfd)]||_0x555453[_0x2e6707(0xc4)]?(_0x555453[_0x2e6707(0xfd)]??'')+':'+(_0x555453[_0x2e6707(0xc4)]??''):undefined}),_0x388da8=_0x54e506[_0x2e6707(0x113)][_0x2e6707(0x81)](_0x54e506),_0xcd1545=getHttpsAgentOptions(_0x4ab3bf,_0x5c370c);return _0x54e506[_0x2e6707(0x113)]=(_0x3d4c38,_0x32803)=>{return _0x388da8(_0x3d4c38,{..._0x32803,..._0xcd1545});},_0x54e506;}function getHttpsAgentOptions(_0x32e496,_0x3a29bf){const _0x215f31=a6_0x54bb84,_0x3e561b={'checkServerIdentity':(_0x17a04a,_0x368974)=>{const _0x4286c7=a6_0x4723;if(_0x32e496[_0x4286c7(0xb6)])return undefined;const _0x3e1450=(0x0,crypto_1[_0x4286c7(0xa6)])(_0x4286c7(0xa3))['update'](_0x368974['pubkey'])['digest'](_0x4286c7(0xf9));return _0x32e496['pinnedCerts'][_0x4286c7(0xf5)](_0x3e1450)?undefined:new Error(_0x4286c7(0xab));}};let _0x2384c2;if(_0x32e496[_0x215f31(0xe6)])try{_0x2384c2=(0x0,fs_1[_0x215f31(0xbc)])(_0x32e496[_0x215f31(0xe6)],_0x215f31(0xdc));}catch(_0x11bc4c){_0x3a29bf[_0x215f31(0xbb)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x32e496['caPath']+_0x215f31(0xe1));}if(_0x2384c2){const _0x4179ab=(0x0,tls_1[_0x215f31(0x9a)])(_0x3e561b);_0x4179ab[_0x215f31(0xc2)][_0x215f31(0x10f)](_0x2384c2),_0x3e561b[_0x215f31(0xd4)]=_0x4179ab;}return _0x3e561b;}function a6_0x4423(){const _0x440630=['./util/utils','createSecureContext','stop','toBuffer',',\x20sending\x20only\x20one','makeRequest','transmissionHardMaxNetworkSizeLimitInBytes','Timeout\x20occurred\x20after\x20','join','\x20transmitted\x20successfully','sha256','https','proxy','createHash','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','size','data','application/json','Certificate\x20Pinning\x20Failed!','register','WritableStream','/controller','tls','port','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','apply','/breakpoints?','constructor','transmitBreakpointUpdates','noCheckCertificate','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','sendAgentLogsToServer','\x20for\x20request\x20','config','warn','readFileSync','waitToken','apiUrl','debug','error','getJsonStringSizeInBytes','context','@google-cloud/common','password','sendAppOnlyBreakpointHitsToServer','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','1971744lHOfaa','should\x20have\x20a\x20registered\x20debuggee','sendBreakpointLogsToServer','Compressing\x20and\x20sending\x20log\x20file\x20','serializedJson','Failed\x20to\x20send\x20log\x20file\x20','\x20seconds','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','enqueueBreakpointUpdate','failed\x20to\x20serialize\x20breakpoint\x20','info','reject','1577230LSsUCi','secureContext','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','agentLog','crypto','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','max','ascii','map','/redaction','memory-streams','then','\x22\x20-\x20ignoring\x20it','ServiceObject','866572ZBBjQO','668346jOaZAw',',\x20username:\x20','caPath','stringify','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','97277iWibFL','getBlocklist','Update\x20for\x20breakpoints\x20','transmissionBulkMaxNetworkSizeInBytes','request','nextWaitToken','/deregister/','transmissionBulkMaxSize','Breakpoint\x20','now','toString','Successfully\x20sent\x20log\x20file\x20','includes','host','timeout\x20set\x20to\x20','https-proxy-agent','hex','433722WJLuCm','create','logger','username','transmissionQueue','(((.+)+)+)+$','Agent','message','\x20finished\x20with\x20status\x20','Failed\x20to\x20zip\x20','assert','number','breakpoint\x20','uri','body',',\x20Message:\x20','\x20Error:\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','transmissionTimeout','response','defineProperty','addCACert','/compressedLogFileV2/','lastLogCollectionTime','catch','callback','20mtxCPp','Deregister\x20agent\x20before\x20shutdown','axios','PUT','pipeline','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','search','210567YfjQZx','push','bind','abort','method','/blacklist?successOnTimeout=true','listBreakpoints','Controller','POST','/breakpoints','querystring','debuggee','floor','breakpointId:\x20','Transmitting\x20breakpoint\x20updates...','\x20and\x20enqueue\x20to\x20queue','status','\x20size\x20is\x20','load','deregister','length','default','listBreakpointsAbortController','createGzip','shift','https://'];a6_0x4423=function(){return _0x440630;};return a6_0x4423();}
|
|
1
|
+
const a6_0x7d316c=a6_0x28e3;(function(_0x5152c9,_0x14b6aa){const _0x394dd5=a6_0x28e3,_0x3964bb=_0x5152c9();while(!![]){try{const _0x402b25=-parseInt(_0x394dd5(0x250))/0x1+parseInt(_0x394dd5(0x24c))/0x2*(-parseInt(_0x394dd5(0x1f2))/0x3)+-parseInt(_0x394dd5(0x1db))/0x4+-parseInt(_0x394dd5(0x1e1))/0x5+parseInt(_0x394dd5(0x22f))/0x6*(parseInt(_0x394dd5(0x221))/0x7)+parseInt(_0x394dd5(0x1da))/0x8+-parseInt(_0x394dd5(0x220))/0x9*(-parseInt(_0x394dd5(0x1e5))/0xa);if(_0x402b25===_0x14b6aa)break;else _0x3964bb['push'](_0x3964bb['shift']());}catch(_0x1a4d69){_0x3964bb['push'](_0x3964bb['shift']());}}}(a6_0x4802,0xc3870));const a6_0x4e927e=(function(){let _0x5ec297=!![];return function(_0x22926b,_0x4337f6){const _0x4d23b0=_0x5ec297?function(){const _0x290ab2=a6_0x28e3;if(_0x4337f6){const _0x432dd7=_0x4337f6[_0x290ab2(0x223)](_0x22926b,arguments);return _0x4337f6=null,_0x432dd7;}}:function(){};return _0x5ec297=![],_0x4d23b0;};}()),a6_0x1da9b1=a6_0x4e927e(this,function(){const _0x407f35=a6_0x28e3;return a6_0x1da9b1[_0x407f35(0x22b)]()[_0x407f35(0x254)]('(((.+)+)+)+$')['toString']()[_0x407f35(0x23f)](a6_0x1da9b1)[_0x407f35(0x254)](_0x407f35(0x1c9));});a6_0x1da9b1();'use strict';Object[a6_0x7d316c(0x1c6)](exports,a6_0x7d316c(0x211),{'value':!![]}),exports[a6_0x7d316c(0x24e)]=void 0x0;function a6_0x4802(){const _0x36278d=['/controller',',\x20sending\x20only\x20one',',\x20Message:\x20','reject','axios','\x20finished\x20with\x20status\x20','Breakpoint\x20','pubkey','\x20Error:\x20','data','Certificate\x20Pinning\x20Failed!','defineProperty','Agent','Deregister\x20agent\x20before\x20shutdown','(((.+)+)+)+$','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Transmitting\x20breakpoint\x20updates...','pinnedCerts','invalid\x20response\x20body\x20from\x20server','caPath','host','Failed\x20to\x20zip\x20','toBuffer','sendAppOnlyBreakpointHitsToServer','enqueueBreakpointUpdate','pipeline','createGzip','password','push','update','stream','8831248lPQXum','5726468EpHWTe','ascii','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','transmitBreakpointUpdates','\x20for\x20request\x20id\x20','register','1107170NnNDqs','Using\x20proxy\x20configuration:\x20','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','createHash','3880DBzdYn','map','/compressedLogFileV2/','Getting\x20reductions','transmissionTimeout','WritableStream','config','warn','size','/blacklist?successOnTimeout=true','application/octet-stream','transmissionQueue','Successfully\x20sent\x20log\x20file\x20','705318Ywtrkf','then','bind','number','should\x20have\x20a\x20registered\x20debuggee','debug','querystring','/deregister/','callback','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','sendAgentLogsToServer','PUT','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','Failed\x20to\x20send\x20log\x20file\x20','sendBreakpointLogsToServer','nextWaitToken','/breakpoints','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','info','/debuggees/','readFileSync','length','hex','uri','\x22\x20-\x20ignoring\x20it','apiEndpoint','default','/redaction','getJsonStringSizeInBytes','unknown\x20error\x20-\x20request\x20response\x20missing','Update\x20for\x20breakpoints\x20','__esModule','body','stringify','memory-streams','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','transmissionHardMaxNetworkSizeLimitInBytes','digest','tls','load','lightrunSecret','username','secureContext','createReadStream','noCheckCertificate','agentLog','51309gvyYzj','7rVYPEL','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','apply','response','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','create','lastLogCollectionTime','error','Bearer\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','toString','Failed\x20to\x20read\x20pem\x20file\x20\x22','\x20for\x20request\x20','/breakpoints?','1240716qiaWAK','now','stop','abort','failed\x20to\x20serialize\x20breakpoint\x20','serializedJson','signal','makeRequest','\x20size\x20>\x20max\x20network\x20size\x20:\x20','max','addCACert','apiUrl','ServiceObject','shift','status','listBreakpointsAbortController','constructor','logger','collectCooldownMs','extend','proxy','breakpointId:\x20','message','floor','\x20seconds','crypto','context','unable\x20to\x20register,\x20status\x20','POST','4tROtVd','https','Controller','transmissionBulkMaxNetworkSizeInBytes','598537VRzJHT','debuggee','getRedactions','/appOnlyActionHits/','search','port'];a6_0x4802=function(){return _0x36278d;};return a6_0x4802();}const common_1=require('@google-cloud/common'),assert=require('assert'),qs=require(a6_0x7d316c(0x1f8)),fs_1=require('fs'),crypto_1=require(a6_0x7d316c(0x248)),zlib_1=require('zlib'),stream_1=require(a6_0x7d316c(0x1d9)),memory_streams_1=require(a6_0x7d316c(0x214)),tls_1=require(a6_0x7d316c(0x218)),extend=require(a6_0x7d316c(0x242)),axios_1=require(a6_0x7d316c(0x1bf)),https=require(a6_0x7d316c(0x24d)),utils_1=require('./util/utils'),HttpsProxyAgent=require('https-proxy-agent'),yaml=require('js-yaml'),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1[a6_0x7d316c(0x23b)]{constructor(_0x43601a,_0x2c47f2,_0x5d38c1){const _0x47e641=a6_0x7d316c;super({'parent':_0x43601a,'baseUrl':_0x47e641(0x256)}),this[_0x47e641(0x201)]=null,this['config']=_0x2c47f2,this[_0x47e641(0x1f0)]=[],this['logger']=_0x5d38c1,this[_0x47e641(0x23a)]='https://'+_0x2c47f2[_0x47e641(0x20b)]+_0x47e641(0x205),this[_0x47e641(0x1bf)]=axios_1[_0x47e641(0x20c)][_0x47e641(0x226)]({'httpsAgent':getProxyAgent(_0x2c47f2,_0x5d38c1)??new https[(_0x47e641(0x1c7))](getHttpsAgentOptions(_0x2c47f2,_0x5d38c1)),'proxy':![]});}['register'](_0x7376e7,_0x137f9f){const _0x520385=a6_0x7d316c,_0x2761c8={'uri':this[_0x520385(0x23a)]+_0x520385(0x1e0),'method':_0x520385(0x24b),'json':!![],'body':{'debuggee':_0x7376e7}};this['makeRequest'](_0x2761c8,(_0x1515ea,_0x39dd66,_0x6eeda4)=>{const _0x46a35e=_0x520385;if(!_0x6eeda4)_0x137f9f(_0x1515ea||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0x1515ea){let _0x7e7ea8=![];_0x6eeda4['status']===HTTP_UPGRADE_REQUIRED&&_0x39dd66&&(_0x39dd66['message']!==undefined&&(_0x1515ea['message']=_0x39dd66['message']),_0x7e7ea8=!![]),_0x137f9f(_0x1515ea,_0x39dd66,_0x7e7ea8);}else{if(_0x6eeda4[_0x46a35e(0x23d)]!==HTTP_SUCCESS)_0x137f9f(new Error(_0x46a35e(0x24a)+_0x6eeda4[_0x46a35e(0x23d)]));else!_0x39dd66?.[_0x46a35e(0x251)]?_0x137f9f(new Error(_0x46a35e(0x1cd))):(_0x7376e7['id']=_0x39dd66[_0x46a35e(0x251)]['id'],_0x137f9f(null,_0x39dd66));}}});}['listBreakpoints'](_0x2d7edb,_0x535efa,_0x1be794){const _0x1c61af=a6_0x7d316c,_0x13cc68=this;assert(_0x2d7edb['id'],_0x1c61af(0x1f6));const _0x18540e={'successOnTimeout':!![]};_0x13cc68[_0x1c61af(0x201)]&&(_0x18540e['waitToken']=_0x13cc68[_0x1c61af(0x201)]);const _0x5e3834=this['apiUrl']+encodeURIComponent(_0x2d7edb['id'])+_0x1c61af(0x22e)+qs[_0x1c61af(0x213)](_0x18540e);_0x13cc68[_0x1c61af(0x236)]({'uri':_0x5e3834,'json':!![]},(_0x432b56,_0x4a9882,_0x5d7d6e)=>{const _0x4a6b67=_0x1c61af;if(!_0x5d7d6e){_0x535efa(_0x432b56||new Error(_0x4a6b67(0x20f)));return;}else{if(!is2xx(_0x5d7d6e[_0x4a6b67(0x23d)])){_0x535efa(new Error(_0x4a6b67(0x215)+_0x5d7d6e[_0x4a6b67(0x23d)]),_0x5d7d6e);return;}else _0x4a9882&&(_0x13cc68['nextWaitToken']=_0x4a9882[_0x4a6b67(0x201)]),_0x535efa(null,_0x5d7d6e,_0x4a9882);}},_0x1be794,this[_0x1c61af(0x23e)]=new AbortController());}[a6_0x7d316c(0x1d3)](_0x1dfc10,_0x1a7d8d){const _0x269028=a6_0x7d316c;assert(_0x1dfc10['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x47e213=JSON['stringify'](_0x1a7d8d),_0x4b5955=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x47e213);if(_0x4b5955>=this[_0x269028(0x1eb)][_0x269028(0x216)]){this[_0x269028(0x240)][_0x269028(0x1ec)](_0x269028(0x244)+_0x1a7d8d['id']+'\x20size\x20is\x20'+_0x4b5955+_0x269028(0x222)+this[_0x269028(0x1eb)][_0x269028(0x216)]);return;}this[_0x269028(0x1f0)]['push']({'id':_0x1a7d8d['id'],'serializedJson':_0x47e213,'number':0x0});if(!this[_0x269028(0x1e9)]){const _0x197e55=this;this[_0x269028(0x1e9)]=setTimeout(()=>_0x197e55[_0x269028(0x1de)]['bind'](_0x197e55)(_0x1dfc10['id']),0x0);}}catch(_0xbee672){this['logger'][_0x269028(0x228)](_0x269028(0x233)+_0x1a7d8d['id']+'\x20and\x20enqueue\x20to\x20queue',_0xbee672);return;}}[a6_0x7d316c(0x231)](){const _0x2d679f=a6_0x7d316c;this['listBreakpointsAbortController']?.[_0x2d679f(0x232)](),this[_0x2d679f(0x23e)]=undefined;if(!this['transmissionTimeout'])return;clearTimeout(this['transmissionTimeout']),this[_0x2d679f(0x1e9)]=null;}['deregister'](_0x40f8ba,_0xbc44df){const _0x41ff87=a6_0x7d316c,_0x59cf20=this[_0x41ff87(0x23a)]+encodeURIComponent(_0x40f8ba['id'])+_0x41ff87(0x1f9),_0x15749b={'uri':_0x59cf20,'method':_0x41ff87(0x24b),'json':!![]};this[_0x41ff87(0x240)]['info'](_0x41ff87(0x1c8)),this['makeRequest'](_0x15749b,(_0x3ff0d5,_0x545ca2,_0x981d36)=>{const _0x50711c=_0x41ff87;(!_0x981d36||Math[_0x50711c(0x246)](_0x981d36[_0x50711c(0x23d)]/0x64)!==0x2)&&this[_0x50711c(0x240)][_0x50711c(0x1ec)](_0x50711c(0x1fb)+_0x3ff0d5),_0xbc44df(_0x3ff0d5);});}[a6_0x7d316c(0x200)](_0x9ef74a,_0x17e623,_0x1c4fcb){const _0x2c8fa1=a6_0x7d316c,_0x431b15=this[_0x2c8fa1(0x23a)]+encodeURIComponent(_0x9ef74a['id'])+'/log/',_0x533753={'uri':_0x431b15,'method':_0x2c8fa1(0x24b),'json':!![],'body':_0x17e623};this[_0x2c8fa1(0x236)](_0x533753,(_0x46a60c,_0x20f314,_0x28ab8d)=>{const _0x36910e=_0x2c8fa1;(!_0x28ab8d||Math[_0x36910e(0x246)](_0x28ab8d['status']/0x64)!==0x2)&&(this[_0x36910e(0x240)][_0x36910e(0x1ec)](_0x36910e(0x1dd)+_0x46a60c),_0x1c4fcb(_0x46a60c));});}[a6_0x7d316c(0x1d2)](_0x4d20a0,_0x50bd83,_0x5907f5){const _0x4c55ec=a6_0x7d316c,_0x13e05f=this['apiUrl']+encodeURIComponent(_0x4d20a0['id'])+_0x4c55ec(0x253),_0x34f65c={'uri':_0x13e05f,'method':_0x4c55ec(0x24b),'json':!![],'body':_0x50bd83};this[_0x4c55ec(0x236)](_0x34f65c,(_0x753b0d,_0x4444c4,_0x1946ae)=>{const _0x7ceab5=_0x4c55ec;(!_0x1946ae||Math['floor'](_0x1946ae[_0x7ceab5(0x23d)]/0x64)!==0x2)&&(this[_0x7ceab5(0x240)]['warn']('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x753b0d),_0x5907f5(_0x753b0d));});}[a6_0x7d316c(0x1fc)](_0x4ff689,_0x430693,_0x50b18d){const _0x745e19=a6_0x7d316c;assert(_0x4ff689['id'],'should\x20have\x20a\x20registered\x20debuggee');if(this[_0x745e19(0x227)]){const _0x1c4683=Date[_0x745e19(0x230)](),_0x484c0e=this['lastLogCollectionTime']+this[_0x745e19(0x1eb)][_0x745e19(0x21f)][_0x745e19(0x241)];if(_0x1c4683<_0x484c0e){this[_0x745e19(0x240)]['info']('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+((_0x484c0e-_0x1c4683)/0x3e8+_0x745e19(0x247)));return;}}const _0x5232ab=(0x0,fs_1['statSync'])(_0x50b18d)[_0x745e19(0x1ed)],_0x5029b6=Math[_0x745e19(0x238)](0x0,_0x5232ab-this[_0x745e19(0x1eb)][_0x745e19(0x21f)]['maxLogFileBytes']),_0x58ed37=(0x0,fs_1[_0x745e19(0x21d)])(_0x50b18d,{'start':_0x5029b6}),_0x2decc7=(0x0,zlib_1[_0x745e19(0x1d5)])(),_0xb8907d=new memory_streams_1[(_0x745e19(0x1ea))](),_0x2110a5=this;_0x2110a5['logger']['info']('Compressing\x20and\x20sending\x20log\x20file\x20'+_0x50b18d+_0x745e19(0x1df)+_0x430693),(0x0,stream_1[_0x745e19(0x1d4)])(_0x58ed37,_0x2decc7,_0xb8907d,_0x1e9bb7=>{const _0x2f8429=_0x745e19;if(_0x1e9bb7)_0x2110a5[_0x2f8429(0x240)][_0x2f8429(0x228)](_0x2f8429(0x1d0)+_0x50b18d+':\x20'+_0x1e9bb7);else{const _0x20dd38={'uri':this[_0x2f8429(0x23a)]+encodeURIComponent(_0x4ff689['id'])+_0x2f8429(0x1e7)+_0x430693,'method':_0x2f8429(0x1fd),'body':_0xb8907d[_0x2f8429(0x1d1)](),'headers':{'Content-Type':_0x2f8429(0x1ef)}};_0x2110a5[_0x2f8429(0x236)](_0x20dd38,_0x33d6bd=>{const _0x43082a=_0x2f8429;_0x33d6bd?_0x2110a5[_0x43082a(0x240)]['error'](_0x43082a(0x1ff)+_0x50b18d+_0x43082a(0x22d)+_0x430693,_0x33d6bd):(_0x2110a5[_0x43082a(0x240)][_0x43082a(0x204)](_0x43082a(0x1f1)+_0x50b18d+'\x20for\x20request\x20'+_0x430693),_0x2110a5[_0x43082a(0x227)]=Date[_0x43082a(0x230)]());});}});}[a6_0x7d316c(0x1de)](_0x258463){const _0x2b5e0f=a6_0x7d316c;this[_0x2b5e0f(0x240)][_0x2b5e0f(0x1f7)](_0x2b5e0f(0x1cb)),this[_0x2b5e0f(0x1e9)]=undefined;const _0x195b97=[];let _0x3c5b95=0x0;while(_0x195b97[_0x2b5e0f(0x207)]<this[_0x2b5e0f(0x1eb)]['transmissionBulkMaxSize']&&this[_0x2b5e0f(0x1f0)][_0x2b5e0f(0x207)]>0x0){const _0x3b6efb=this['transmissionQueue'][0x0],_0x3a412a=_0x3b6efb[_0x2b5e0f(0x234)],_0x106608=(0x0,utils_1[_0x2b5e0f(0x20e)])(_0x3a412a);_0x3c5b95+=_0x106608;if(_0x3c5b95<=this['config'][_0x2b5e0f(0x24f)])_0x195b97[_0x2b5e0f(0x1d7)](_0x3b6efb),this[_0x2b5e0f(0x1f0)][_0x2b5e0f(0x23c)]();else{_0x106608>this[_0x2b5e0f(0x1eb)][_0x2b5e0f(0x24f)]&&_0x195b97['length']===0x0&&(this['logger'][_0x2b5e0f(0x1f7)]('breakpoint\x20'+_0x3b6efb['id']+_0x2b5e0f(0x237)+this[_0x2b5e0f(0x1eb)][_0x2b5e0f(0x24f)]+_0x2b5e0f(0x1bc)),_0x195b97[_0x2b5e0f(0x1d7)](_0x3b6efb),this['transmissionQueue'][_0x2b5e0f(0x23c)]());break;}}if(!_0x195b97)return;const _0xfdc570=_0x195b97[_0x2b5e0f(0x1e6)](_0xd5fe90=>_0xd5fe90['id']),_0x2e40e9={'uri':this['apiUrl']+encodeURIComponent(_0x258463)+_0x2b5e0f(0x202),'json':!![],'method':_0x2b5e0f(0x1fd),'body':'['+_0x195b97['map'](_0x389011=>_0x389011['serializedJson'])['join'](',')+']'},_0x34a001=this;try{this[_0x2b5e0f(0x236)](_0x2e40e9,(_0x4e3082,_0x99880c,_0x103629)=>{const _0x159d4c=_0x2b5e0f,_0x44dd6c=_0x103629?.['status'];_0x34a001[_0x159d4c(0x240)]['debug'](_0x159d4c(0x210)+_0xfdc570+_0x159d4c(0x1c0)+_0x44dd6c);if(_0x4e3082||!_0x44dd6c||Math[_0x159d4c(0x246)](_0x44dd6c/0x64)!==0x2){const _0x402748=_0x44dd6c&&(_0x44dd6c>=0x1f4||_0x44dd6c===0x198);if(_0x402748){_0x34a001[_0x159d4c(0x240)]['warn'](_0x159d4c(0x203)+_0xfdc570+_0x159d4c(0x22a)+_0x44dd6c+_0x159d4c(0x1c3)+_0x4e3082);for(const _0x1dfc7b of _0x195b97){_0x1dfc7b[_0x159d4c(0x1f5)]<MAX_FAILED_SEND_ATTEMPTS?_0x34a001['transmissionQueue'][_0x159d4c(0x1d7)]({..._0x1dfc7b,'number':_0x1dfc7b['number']+0x1}):_0x34a001[_0x159d4c(0x240)]['warn'](_0x159d4c(0x1c1)+_0x1dfc7b['id']+_0x159d4c(0x225));}}else _0x34a001[_0x159d4c(0x240)][_0x159d4c(0x1ec)](_0x159d4c(0x1e3)+_0xfdc570+_0x159d4c(0x22a)+_0x44dd6c+'\x20Error:\x20'+_0x4e3082);}else _0x34a001[_0x159d4c(0x240)][_0x159d4c(0x204)](_0x159d4c(0x210)+_0xfdc570+'\x20transmitted\x20successfully');_0x34a001[_0x159d4c(0x1f0)][_0x159d4c(0x207)]>0x0&&(_0x34a001[_0x159d4c(0x1e9)]=setTimeout(()=>_0x34a001[_0x159d4c(0x1de)]['bind'](_0x34a001)(_0x258463),0x0));},0x28);}catch(_0x41cc1c){this['logger'][_0x2b5e0f(0x1ec)](_0x2b5e0f(0x1e3)+_0xfdc570+_0x2b5e0f(0x1ca)+_0x41cc1c+_0x2b5e0f(0x1bd)+_0x41cc1c['data']?.[_0x2b5e0f(0x245)]),_0x34a001['transmissionQueue']['length']>0x0&&(_0x34a001[_0x2b5e0f(0x1e9)]=setTimeout(()=>_0x34a001[_0x2b5e0f(0x1de)][_0x2b5e0f(0x1f4)](_0x34a001)(_0x258463),0x0));}}async['getBlocklist'](_0x4b8249){const _0x231bec=a6_0x7d316c;this['logger']['info']('Getting\x20blocklist');const _0x1cfc8e=this[_0x231bec(0x23a)]+encodeURIComponent(_0x4b8249)+_0x231bec(0x1ee),{error:_0x234dd9,data:_0x540bcb}=await this[_0x231bec(0x236)]({'uri':_0x1cfc8e,'json':!![]});if(_0x234dd9)return Promise[_0x231bec(0x1be)](_0x234dd9);return yaml[_0x231bec(0x219)](_0x540bcb)||{};}['makeRequest'](_0x14212b,_0x4b306f,_0x4b5e8d,_0x572f8d,_0x3fdf90){const _0x3d31ba=a6_0x7d316c,_0x564f10={'Content-Type':_0x3fdf90?_0x3fdf90:'application/json','Authorization':_0x3d31ba(0x229)+this[_0x3d31ba(0x1eb)][_0x3d31ba(0x21a)]},_0x26ccc8=_0x572f8d??new AbortController(),_0x437598=_0x4b5e8d?_0x4b5e8d*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x3d31ba(0x240)]['debug']('timeout\x20set\x20to\x20'+_0x437598);const _0x197522=setTimeout(()=>{const _0x6b20f2=_0x3d31ba;this[_0x6b20f2(0x240)][_0x6b20f2(0x1ec)]('Timeout\x20occurred\x20after\x20'+_0x437598+'ms'),_0x26ccc8[_0x6b20f2(0x232)]();},_0x437598),_0xf9d8b2={'method':_0x14212b['method'],'url':_0x14212b[_0x3d31ba(0x209)],'data':_0x14212b[_0x3d31ba(0x212)],'headers':_0x564f10,'signal':_0x26ccc8[_0x3d31ba(0x235)]};return extend(!![],_0xf9d8b2,_0x14212b),this[_0x3d31ba(0x1bf)]['request'](_0xf9d8b2)[_0x3d31ba(0x1f3)](_0x5b0ed7=>{const _0xbcc147=_0x3d31ba;return _0x4b306f?.(null,_0x5b0ed7[_0xbcc147(0x1c4)],_0x5b0ed7),{'error':null,'data':_0x5b0ed7[_0xbcc147(0x1c4)],'res':_0x5b0ed7};})['catch'](_0x570bb8=>{const _0x117768=_0x3d31ba;return _0x4b306f?.(_0x570bb8,_0x570bb8['response']?.[_0x117768(0x1c4)],_0x570bb8[_0x117768(0x224)]),{'error':_0x570bb8,'data':_0x570bb8[_0x117768(0x224)]?.[_0x117768(0x1c4)],'res':_0x570bb8[_0x117768(0x224)]};})['finally'](()=>clearTimeout(_0x197522));}async[a6_0x7d316c(0x252)](_0x2a84e5){const _0x51ef14=a6_0x7d316c;this['logger'][_0x51ef14(0x204)](_0x51ef14(0x1e8));const _0x2ed0ce=this[_0x51ef14(0x23a)]+encodeURIComponent(_0x2a84e5)+_0x51ef14(0x20d),{error:_0x1826c6,data:_0x2d2ca9}=await this[_0x51ef14(0x236)]({'uri':_0x2ed0ce,'json':!![]});if(_0x1826c6)return Promise['reject'](_0x1826c6);return _0x2d2ca9;}}exports['Controller']=Controller;function is2xx(_0x5460e0){const _0x45d01f=a6_0x7d316c;return Math[_0x45d01f(0x246)](_0x5460e0/0x64)===0x2;}function getProxyAgent(_0x3c3d29,_0x513dd4){const _0x2c29a4=a6_0x7d316c,_0x26047a=_0x3c3d29[_0x2c29a4(0x243)];if(!_0x26047a?.['host'])return undefined;if(!_0x26047a[_0x2c29a4(0x255)])return _0x513dd4[_0x2c29a4(0x228)](_0x2c29a4(0x1fe)),undefined;_0x513dd4[_0x2c29a4(0x204)](_0x2c29a4(0x1e2)+_0x26047a['host']+':'+_0x26047a['port']+',\x20username:\x20'+(_0x26047a['username']??''));const _0x3db72f=new HttpsProxyAgent({'host':_0x26047a[_0x2c29a4(0x1cf)],'port':_0x26047a[_0x2c29a4(0x255)],'auth':_0x26047a['username']||_0x26047a['password']?(_0x26047a[_0x2c29a4(0x21b)]??'')+':'+(_0x26047a[_0x2c29a4(0x1d6)]??''):undefined}),_0x1a1934=_0x3db72f[_0x2c29a4(0x1fa)][_0x2c29a4(0x1f4)](_0x3db72f),_0x496de4=getHttpsAgentOptions(_0x3c3d29,_0x513dd4);return _0x3db72f[_0x2c29a4(0x1fa)]=(_0x37a2c9,_0x30d4c7)=>{return _0x1a1934(_0x37a2c9,{..._0x30d4c7,..._0x496de4});},_0x3db72f;}function a6_0x28e3(_0x553ceb,_0x5454e0){const _0x56e01d=a6_0x4802();return a6_0x28e3=function(_0x1da9b1,_0x4e927e){_0x1da9b1=_0x1da9b1-0x1bc;let _0x4802dc=_0x56e01d[_0x1da9b1];return _0x4802dc;},a6_0x28e3(_0x553ceb,_0x5454e0);}function getHttpsAgentOptions(_0x309f53,_0x2e21c8){const _0x109edd=a6_0x7d316c,_0x35ed75={'checkServerIdentity':(_0x3af964,_0x1e6b2a)=>{const _0x8fc535=a6_0x28e3;if(_0x309f53[_0x8fc535(0x21e)])return undefined;const _0x367337=(0x0,crypto_1[_0x8fc535(0x1e4)])('sha256')[_0x8fc535(0x1d8)](_0x1e6b2a[_0x8fc535(0x1c2)])[_0x8fc535(0x217)](_0x8fc535(0x208));return _0x309f53[_0x8fc535(0x1cc)]['includes'](_0x367337)?undefined:new Error(_0x8fc535(0x1c5));}};let _0x330f98;if(_0x309f53[_0x109edd(0x1ce)])try{_0x330f98=(0x0,fs_1[_0x109edd(0x206)])(_0x309f53[_0x109edd(0x1ce)],_0x109edd(0x1dc));}catch(_0x158c9e){_0x2e21c8[_0x109edd(0x1ec)](_0x109edd(0x22c)+_0x309f53[_0x109edd(0x1ce)]+_0x109edd(0x20a));}if(_0x330f98){const _0x1d82b0=(0x0,tls_1['createSecureContext'])(_0x35ed75);_0x1d82b0[_0x109edd(0x249)][_0x109edd(0x239)](_0x330f98),_0x35ed75[_0x109edd(0x21c)]=_0x1d82b0;}return _0x35ed75;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x1c0b7d=a7_0x2d47;(function(_0x2da269,_0x201a24){const _0x13083c=a7_0x2d47,_0x3561c7=_0x2da269();while(!![]){try{const _0x243a75=parseInt(_0x13083c(0x1a5))/0x1*(parseInt(_0x13083c(0x1a0))/0x2)+parseInt(_0x13083c(0x191))/0x3*(-parseInt(_0x13083c(0x198))/0x4)+-parseInt(_0x13083c(0x189))/0x5*(parseInt(_0x13083c(0x1a9))/0x6)+parseInt(_0x13083c(0x196))/0x7*(parseInt(_0x13083c(0x192))/0x8)+-parseInt(_0x13083c(0x1ae))/0x9+-parseInt(_0x13083c(0x18f))/0xa*(parseInt(_0x13083c(0x1a8))/0xb)+-parseInt(_0x13083c(0x19b))/0xc*(-parseInt(_0x13083c(0x18c))/0xd);if(_0x243a75===_0x201a24)break;else _0x3561c7['push'](_0x3561c7['shift']());}catch(_0x2c1e04){_0x3561c7['push'](_0x3561c7['shift']());}}}(a7_0x4497,0xf0951));function a7_0x4497(){const _0x53b68c=['createDebuggee','service','Debuggee','apply','StatusMessage','2998705BqjFMw','(((.+)+)+)+$','module','13CoVYuD','sourceContexts','UNSPECIFIED','30nRNdHo','../../debuggee','1109550CZdEIs','72HFrzeP','encodeBase64','getPlatform','path','580349FAmOtO','./createUniquifier','4tKbhjq','createUniquifier','string','33618576ILjFci','./getPlatform','name','utf-8','search','670546emsefS','versions','constructor','minorversion','cwd','1YLmBCY','__esModule','relative','4425091cLFnoG','6xNkmyi','../../client/stackdriver/status-message','minorVersion_','default','from','6490125nwWtTe','./createDebuggeeMetadata','toString','argv','version','node'];a7_0x4497=function(){return _0x53b68c;};return a7_0x4497();}const a7_0x22aa85=(function(){let _0x4df0a9=!![];return function(_0x493770,_0x4e1291){const _0x2f257e=_0x4df0a9?function(){const _0x109d63=a7_0x2d47;if(_0x4e1291){const _0x23eae4=_0x4e1291[_0x109d63(0x187)](_0x493770,arguments);return _0x4e1291=null,_0x23eae4;}}:function(){};return _0x4df0a9=![],_0x2f257e;};}()),a7_0x35f5f9=a7_0x22aa85(this,function(){const _0x50a32a=a7_0x2d47;return a7_0x35f5f9['toString']()[_0x50a32a(0x19f)](_0x50a32a(0x18a))[_0x50a32a(0x1b0)]()[_0x50a32a(0x1a2)](a7_0x35f5f9)[_0x50a32a(0x19f)](_0x50a32a(0x18a));});a7_0x35f5f9();'use strict';function a7_0x2d47(_0x4edcbc,_0x127ba6){const _0x83c9e8=a7_0x4497();return a7_0x2d47=function(_0x35f5f9,_0x22aa85){_0x35f5f9=_0x35f5f9-0x186;let _0x449799=_0x83c9e8[_0x35f5f9];return _0x449799;},a7_0x2d47(_0x4edcbc,_0x127ba6);}Object['defineProperty'](exports,a7_0x1c0b7d(0x1a6),{'value':!![]}),exports['createDebuggee']=exports['encodeBase64']=void 0x0;const path=require(a7_0x1c0b7d(0x195)),status_message_1=require(a7_0x1c0b7d(0x1aa)),debuggee_1=require(a7_0x1c0b7d(0x190)),createDebuggeeMetadata_1=require(a7_0x1c0b7d(0x1af)),createUniquifier_1=require(a7_0x1c0b7d(0x197)),getPlatform_1=require(a7_0x1c0b7d(0x19c)),encodeBase64=_0x231cfd=>Buffer[a7_0x1c0b7d(0x1ad)](_0x231cfd,a7_0x1c0b7d(0x19e))[a7_0x1c0b7d(0x1b0)]('base64');exports[a7_0x1c0b7d(0x193)]=encodeBase64;const createDebuggee=(_0x400a53,_0x1b6f99,_0x1e40cc,_0x2c8195,_0x2c3629,_0x45b17b,_0x593c76,_0x3756d1)=>{const _0xc5ece1=a7_0x1c0b7d,_0x4b8c55=process[_0xc5ece1(0x1a4)](),_0x187e44=path[_0xc5ece1(0x1a7)](_0x4b8c55,process[_0xc5ece1(0x1b1)][0x1]),_0x6920a0={'main\x20script':_0x187e44,'process.title':process['title'],'node\x20version':process[_0xc5ece1(0x1a1)][_0xc5ece1(0x1b3)],'V8\x20version':process[_0xc5ece1(0x1a1)]['v8'],'agent.name':_0x2c8195[_0xc5ece1(0x19d)],'agent.version':_0x2c3629,'platform':(0x0,getPlatform_1[_0xc5ece1(0x194)])()},_0x21c009=_0x1b6f99['serviceContext'];_0x21c009&&(typeof _0x21c009[_0xc5ece1(0x1b5)]==='string'&&_0x21c009['service']!==_0xc5ece1(0x1ac)&&(_0x6920a0[_0xc5ece1(0x18b)]=_0x21c009[_0xc5ece1(0x1b5)]),typeof _0x21c009[_0xc5ece1(0x1b2)]===_0xc5ece1(0x19a)&&(_0x6920a0[_0xc5ece1(0x1b2)]=_0x21c009['version']),typeof _0x21c009[_0xc5ece1(0x1ab)]===_0xc5ece1(0x19a)&&(_0x6920a0[_0xc5ece1(0x1a3)]=_0x21c009[_0xc5ece1(0x1ab)]));const _0x58b3c5=(0x0,createUniquifier_1[_0xc5ece1(0x199)])(_0x2c3629,_0x400a53,_0x1e40cc,_0x6920a0),_0x487ca0=_0x3756d1?new status_message_1['StatusMessage'](status_message_1[_0xc5ece1(0x188)][_0xc5ece1(0x18e)],_0x3756d1,!![]):undefined,_0x13534b=(0x0,createDebuggeeMetadata_1['createDebuggeeMetadata'])(_0x1b6f99,_0x45b17b),_0x46ebdf={'uniquifier':_0x58b3c5,'agentVersion':_0x2c3629,'labels':{'metadataV2':(0x0,exports[_0xc5ece1(0x193)])(JSON['stringify'](_0x13534b))},'statusMessage':_0x487ca0,'packageInfo':_0x2c8195,..._0x593c76};return _0x1e40cc&&(_0x46ebdf[_0xc5ece1(0x18d)]=[_0x1e40cc]),new debuggee_1[(_0xc5ece1(0x186))](_0x46ebdf);};exports[a7_0x1c0b7d(0x1b4)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0x581492=a8_0x1cfb;(function(_0x420fa1,_0x3f06a0){const _0x16ec5a=a8_0x1cfb,_0x443c15=_0x420fa1();while(!![]){try{const _0x2ad9f2=-parseInt(_0x16ec5a(0x73))/0x1+parseInt(_0x16ec5a(0x68))/0x2*(-parseInt(_0x16ec5a(0x66))/0x3)+parseInt(_0x16ec5a(0x6c))/0x4*(-parseInt(_0x16ec5a(0x76))/0x5)+-parseInt(_0x16ec5a(0x78))/0x6+parseInt(_0x16ec5a(0x64))/0x7+-parseInt(_0x16ec5a(0x6d))/0x8+parseInt(_0x16ec5a(0x75))/0x9;if(_0x2ad9f2===_0x3f06a0)break;else _0x443c15['push'](_0x443c15['shift']());}catch(_0x5446f8){_0x443c15['push'](_0x443c15['shift']());}}}(a8_0x5a8c,0x59710));const a8_0x2ff27c=(function(){let _0x4934fd=!![];return function(_0x33eab6,_0xe1d53){const _0x34af6f=_0x4934fd?function(){const _0x43e03d=a8_0x1cfb;if(_0xe1d53){const _0x311c0b=_0xe1d53[_0x43e03d(0x6f)](_0x33eab6,arguments);return _0xe1d53=null,_0x311c0b;}}:function(){};return _0x4934fd=![],_0x34af6f;};}()),a8_0x578010=a8_0x2ff27c(this,function(){const _0x27f9a3=a8_0x1cfb;return a8_0x578010[_0x27f9a3(0x69)]()['search'](_0x27f9a3(0x70))['toString']()[_0x27f9a3(0x65)](a8_0x578010)[_0x27f9a3(0x7c)](_0x27f9a3(0x70));});function a8_0x1cfb(_0x5a19a3,_0x475ebc){const _0x7def50=a8_0x5a8c();return a8_0x1cfb=function(_0x578010,_0x2ff27c){_0x578010=_0x578010-0x64;let _0x5a8cc7=_0x7def50[_0x578010];return _0x5a8cc7;},a8_0x1cfb(_0x5a19a3,_0x475ebc);}a8_0x578010();'use strict';Object[a8_0x581492(0x79)](exports,'__esModule',{'value':!![]}),exports[a8_0x581492(0x6a)]=void 0x0;const fs=require('fs'),extend=require('extend'),createDebuggeeMetadata=(_0x4f1d94,_0x38a1a1)=>{const _0xacf3a0=a8_0x581492;let _0x886aad={'registration':{}};if(_0x4f1d94[_0xacf3a0(0x67)]?.['filename'])try{_0x886aad=JSON['parse'](fs[_0xacf3a0(0x71)](_0x4f1d94[_0xacf3a0(0x67)]['filename'],_0xacf3a0(0x77)));}catch(_0x3cb2df){_0x38a1a1[_0xacf3a0(0x6e)](_0xacf3a0(0x6b)+_0x4f1d94[_0xacf3a0(0x67)][_0xacf3a0(0x7a)],_0x3cb2df);}return _0x886aad[_0xacf3a0(0x72)]=extend(!![],{},_0x4f1d94['metadata']?.[_0xacf3a0(0x72)],_0x886aad[_0xacf3a0(0x72)]),_0x886aad[_0xacf3a0(0x72)]?.[_0xacf3a0(0x7b)]&&(_0x886aad[_0xacf3a0(0x72)][_0xacf3a0(0x7b)]=_0x886aad['registration'][_0xacf3a0(0x7b)]['map'](_0xf61fc9=>typeof _0xf61fc9===_0xacf3a0(0x74)?{'name':_0xf61fc9}:_0xf61fc9)),_0x886aad;};function a8_0x5a8c(){const _0x222090=['108bLPwYj','toString','createDebuggeeMetadata','Failed\x20to\x20read\x20metadata\x20file\x20','36ZxGMeV','1495160ZlfWMJ','warn','apply','(((.+)+)+)+$','readFileSync','registration','457834gQKXiU','string','11910870MlUzBa','117445ceaeVA','utf-8','2970258GuseGM','defineProperty','filename','tags','search','4366677KtkJod','constructor','12762PRkTil','metadata'];a8_0x5a8c=function(){return _0x222090;};return a8_0x5a8c();}exports[a8_0x581492(0x6a)]=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x374e10=a9_0x4554;(function(_0x5945a5,_0x8605b){const _0x589545=a9_0x4554,_0x427f16=_0x5945a5();while(!![]){try{const _0x348b47=parseInt(_0x589545(0xd7))/0x1+parseInt(_0x589545(0xd5))/0x2+-parseInt(_0x589545(0xd2))/0x3+-parseInt(_0x589545(0xc7))/0x4+parseInt(_0x589545(0xd6))/0x5*(-parseInt(_0x589545(0xd1))/0x6)+parseInt(_0x589545(0xc8))/0x7*(parseInt(_0x589545(0xcc))/0x8)+parseInt(_0x589545(0xcf))/0x9*(parseInt(_0x589545(0xd8))/0xa);if(_0x348b47===_0x8605b)break;else _0x427f16['push'](_0x427f16['shift']());}catch(_0x519c03){_0x427f16['push'](_0x427f16['shift']());}}}(a9_0x532d,0xe23f5));function a9_0x4554(_0x35c4f1,_0x15db7e){const _0x312161=a9_0x532d();return a9_0x4554=function(_0x28c33e,_0x1fe43c){_0x28c33e=_0x28c33e-0xc3;let _0x532d22=_0x312161[_0x28c33e];return _0x532d22;},a9_0x4554(_0x35c4f1,_0x15db7e);}const a9_0x1fe43c=(function(){let _0x92ca30=!![];return function(_0x231f55,_0xe3b679){const _0xafa6bc=_0x92ca30?function(){if(_0xe3b679){const _0x5fe34a=_0xe3b679['apply'](_0x231f55,arguments);return _0xe3b679=null,_0x5fe34a;}}:function(){};return _0x92ca30=![],_0xafa6bc;};}()),a9_0x28c33e=a9_0x1fe43c(this,function(){const _0x2c6125=a9_0x4554;return a9_0x28c33e['toString']()['search'](_0x2c6125(0xd0))['toString']()[_0x2c6125(0xd4)](a9_0x28c33e)[_0x2c6125(0xce)](_0x2c6125(0xd0));});a9_0x28c33e();function a9_0x532d(){const _0x2d38b0=['2678820jDRRFy','3792501QNeWRT','__esModule','constructor','1525194iJqipm','5FWwIEq','272884HmbRuw','17842550qRKZCC','crypto','hex','defineProperty','createHash','3988436uPYAQU','5703033qHOQlV','update','sha1','createUniquifier','8InJRhl','digest','search','9wDezyi','(((.+)+)+)+$'];a9_0x532d=function(){return _0x2d38b0;};return a9_0x532d();}'use strict';Object[a9_0x374e10(0xc5)](exports,a9_0x374e10(0xd3),{'value':!![]}),exports[a9_0x374e10(0xcb)]=void 0x0;const crypto=require(a9_0x374e10(0xc3)),createUniquifier=(_0x461b6d,_0x33f20a,_0x368031,_0x314905)=>{const _0x395ff0=a9_0x374e10,_0x54f4e3=_0x461b6d+_0x33f20a+JSON['stringify'](_0x368031)+JSON['stringify'](_0x314905);return crypto[_0x395ff0(0xc6)](_0x395ff0(0xca))[_0x395ff0(0xc9)](_0x54f4e3)[_0x395ff0(0xcd)](_0x395ff0(0xc4));};exports[a9_0x374e10(0xcb)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a10_0x156b(_0x9c5410,_0x46d9d5){const _0x38279e=a10_0x538b();return a10_0x156b=function(_0x204141,_0x1f6d1a){_0x204141=_0x204141-0xb1;let _0x538bb1=_0x38279e[_0x204141];return _0x538bb1;},a10_0x156b(_0x9c5410,_0x46d9d5);}const a10_0x217040=a10_0x156b;function a10_0x538b(){const _0x3f75b6=['130rqafAs','96OCgyyn','defineProperty','apply','constructor','push','997554ySEzOO','split','15QCgOzI','804069rYfGHE','18iglDBU','delimit','5508792PhRGqP','(((.+)+)+)+$','10190UgZlkz','search','319363zYDVkp','toString','8aaeNwZ','13492dGBSuD','48279gaPXOY'];a10_0x538b=function(){return _0x3f75b6;};return a10_0x538b();}(function(_0x497cdf,_0x1983cc){const _0x264aa4=a10_0x156b,_0x1af974=_0x497cdf();while(!![]){try{const _0x57a549=parseInt(_0x264aa4(0xb8))/0x1*(parseInt(_0x264aa4(0xc5))/0x2)+parseInt(_0x264aa4(0xc1))/0x3*(parseInt(_0x264aa4(0xb5))/0x4)+-parseInt(_0x264aa4(0xbf))/0x5*(-parseInt(_0x264aa4(0xbd))/0x6)+-parseInt(_0x264aa4(0xb6))/0x7+-parseInt(_0x264aa4(0xb4))/0x8*(-parseInt(_0x264aa4(0xc0))/0x9)+-parseInt(_0x264aa4(0xb7))/0xa*(parseInt(_0x264aa4(0xb2))/0xb)+-parseInt(_0x264aa4(0xc3))/0xc;if(_0x57a549===_0x1983cc)break;else _0x1af974['push'](_0x1af974['shift']());}catch(_0x564fef){_0x1af974['push'](_0x1af974['shift']());}}}(a10_0x538b,0x3e084));const a10_0x1f6d1a=(function(){let _0x553864=!![];return function(_0x26cc77,_0x2ec92b){const _0x448d66=_0x553864?function(){const _0x512171=a10_0x156b;if(_0x2ec92b){const _0x5dca47=_0x2ec92b[_0x512171(0xba)](_0x26cc77,arguments);return _0x2ec92b=null,_0x5dca47;}}:function(){};return _0x553864=![],_0x448d66;};}()),a10_0x204141=a10_0x1f6d1a(this,function(){const _0x59f59e=a10_0x156b;return a10_0x204141[_0x59f59e(0xb3)]()[_0x59f59e(0xb1)]('(((.+)+)+)+$')['toString']()[_0x59f59e(0xbb)](a10_0x204141)[_0x59f59e(0xb1)](_0x59f59e(0xc4));});a10_0x204141();'use strict';Object[a10_0x217040(0xb9)](exports,'__esModule',{'value':!![]}),exports[a10_0x217040(0xc2)]=void 0x0;const delimit=(_0x56e4b9,_0x4be4dc)=>{const _0x279154=a10_0x217040,_0x65ca2d=_0x56e4b9[_0x279154(0xbe)](_0x4be4dc),_0x341cbc=[];_0x341cbc[_0x279154(0xbc)](_0x65ca2d[0x0]);for(let _0x3ca4cf=0x1;_0x3ca4cf<_0x65ca2d['length'];_0x3ca4cf++){_0x341cbc[_0x279154(0xbc)]({'v':_0x4be4dc},_0x65ca2d[_0x3ca4cf]);}return _0x341cbc;};exports[a10_0x217040(0xc2)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a11_0x100875=a11_0x2f11;(function(_0x5cce54,_0x5462a9){const _0x311504=a11_0x2f11,_0x332ffd=_0x5cce54();while(!![]){try{const _0x245d3e=parseInt(_0x311504(0x1dc))/0x1+parseInt(_0x311504(0x1e5))/0x2+-parseInt(_0x311504(0x1da))/0x3+parseInt(_0x311504(0x1e2))/0x4+parseInt(_0x311504(0x1dd))/0x5*(parseInt(_0x311504(0x1e7))/0x6)+parseInt(_0x311504(0x1ed))/0x7*(parseInt(_0x311504(0x1e3))/0x8)+parseInt(_0x311504(0x1e6))/0x9*(-parseInt(_0x311504(0x1eb))/0xa);if(_0x245d3e===_0x5462a9)break;else _0x332ffd['push'](_0x332ffd['shift']());}catch(_0xc5893b){_0x332ffd['push'](_0x332ffd['shift']());}}}(a11_0x308e,0xb4815));function a11_0x308e(){const _0x51a181=['7764bpuMUc','(((.+)+)+)+$','defineProperty','length','41534510XhmLSy','__esModule','2469733TOflCy','test','format','1297737EtGYmT','apply','254032pAmEWh','4450byhHqP','substring','tokenize','join','search','5656384sNSUHb','24LRUCPU','toString','2894268ZrAfOF','9itiaYB'];a11_0x308e=function(){return _0x51a181;};return a11_0x308e();}const a11_0x57cd48=(function(){let _0x5f2b9d=!![];return function(_0x5c51a9,_0x3aded7){const _0x537564=_0x5f2b9d?function(){const _0x3e2922=a11_0x2f11;if(_0x3aded7){const _0x4ee5c7=_0x3aded7[_0x3e2922(0x1db)](_0x5c51a9,arguments);return _0x3aded7=null,_0x4ee5c7;}}:function(){};return _0x5f2b9d=![],_0x537564;};}()),a11_0x4fe90e=a11_0x57cd48(this,function(){const _0x286535=a11_0x2f11;return a11_0x4fe90e[_0x286535(0x1e4)]()[_0x286535(0x1e1)](_0x286535(0x1e8))['toString']()['constructor'](a11_0x4fe90e)[_0x286535(0x1e1)]('(((.+)+)+)+$');});function a11_0x2f11(_0x3b2c56,_0x3f1b55){const _0x47a93b=a11_0x308e();return a11_0x2f11=function(_0x4fe90e,_0x57cd48){_0x4fe90e=_0x4fe90e-0x1d8;let _0x308e4c=_0x47a93b[_0x4fe90e];return _0x308e4c;},a11_0x2f11(_0x3b2c56,_0x3f1b55);}a11_0x4fe90e();'use strict';Object[a11_0x100875(0x1e9)](exports,a11_0x100875(0x1ec),{'value':!![]}),exports['format']=void 0x0;const tokenize_1=require('./tokenize'),format=(_0x1688dc,_0x3f2238)=>{const _0x562662=a11_0x100875,_0x4b21f4=(0x0,tokenize_1[_0x562662(0x1df)])(_0x1688dc,_0x3f2238[_0x562662(0x1ea)]);for(let _0x18218f=0x0;_0x18218f<_0x4b21f4[_0x562662(0x1ea)];_0x18218f++){if(!_0x4b21f4[_0x18218f]['v'])continue;if(_0x4b21f4[_0x18218f]['v']==='$$'){_0x4b21f4[_0x18218f]='$';continue;}for(let _0x4aaada=0x0;_0x4aaada<_0x3f2238[_0x562662(0x1ea)];_0x4aaada++){if(_0x4b21f4[_0x18218f]['v']==='$'+_0x4aaada){let _0x3b3943=_0x3f2238[_0x4aaada];/^".*"$/[_0x562662(0x1d8)](_0x3b3943)&&(_0x3b3943=_0x3b3943[_0x562662(0x1de)](0x1,_0x3b3943[_0x562662(0x1ea)]-0x1));_0x4b21f4[_0x18218f]=_0x3b3943;break;}}}return _0x4b21f4[_0x562662(0x1e0)]('');};exports[a11_0x100875(0x1d9)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a12_0x2d8a(){const _0x3bf563=['java-properties','extra_paths','agent_regmetadata_file','670292ZLpQxW','getAgentConfig','toString','fetch_breakpoints_once','44DtDQJP','max_log_file_bytes','dynamic_log_quota_recovery_ms','apply','1097480XUlKtC','(((.+)+)+)+$','max_watchlist_variable_size','35uELLEG','existsSync','max_dynamic_log_bytes_rate','1509294xKZsKZ','split','ignore_quota','max_variable_size','1075569Nocpvt','proxy_password','collect_log_cooldown_ms','getInt','proxy_username','agent_log_max_file_count','getFloat','max_dynamic_log_rate','agent_log_target_dir','getBoolean','max_snapshot_frame_count','search','getFirst','proxy_host','pinned_certs','6155451eWhjhO','294485zexcBC','max_condition_cost','apiEndpoint','transmission_bulk_max_size','20ibKDta','com.lightrun.secret','proxy_port','noCheckCertificate','max_snapshot_buffer_size','constructor','1281408xETeBH','trim'];a12_0x2d8a=function(){return _0x3bf563;};return a12_0x2d8a();}const a12_0x287a07=a12_0x3f2f;(function(_0x4dc860,_0x32a99c){const _0x3eda48=a12_0x3f2f,_0x2384e2=_0x4dc860();while(!![]){try{const _0x20c653=-parseInt(_0x3eda48(0x94))/0x1+-parseInt(_0x3eda48(0x82))/0x2+-parseInt(_0x3eda48(0x90))/0x3+parseInt(_0x3eda48(0x86))/0x4*(parseInt(_0x3eda48(0x73))/0x5)+-parseInt(_0x3eda48(0x7d))/0x6+-parseInt(_0x3eda48(0x8d))/0x7*(-parseInt(_0x3eda48(0x8a))/0x8)+parseInt(_0x3eda48(0x72))/0x9*(parseInt(_0x3eda48(0x77))/0xa);if(_0x20c653===_0x32a99c)break;else _0x2384e2['push'](_0x2384e2['shift']());}catch(_0x4b883d){_0x2384e2['push'](_0x2384e2['shift']());}}}(a12_0x2d8a,0x8c351));const a12_0x48d904=(function(){let _0x5d2b3a=!![];return function(_0x43bf73,_0x35c9f5){const _0x4b5409=_0x5d2b3a?function(){const _0x2dee58=a12_0x3f2f;if(_0x35c9f5){const _0x5bdab3=_0x35c9f5[_0x2dee58(0x89)](_0x43bf73,arguments);return _0x35c9f5=null,_0x5bdab3;}}:function(){};return _0x5d2b3a=![],_0x4b5409;};}()),a12_0x1b8dae=a12_0x48d904(this,function(){const _0x3b3b41=a12_0x3f2f;return a12_0x1b8dae['toString']()[_0x3b3b41(0x6e)](_0x3b3b41(0x8b))[_0x3b3b41(0x84)]()[_0x3b3b41(0x7c)](a12_0x1b8dae)[_0x3b3b41(0x6e)]('(((.+)+)+)+$');});a12_0x1b8dae();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a12_0x287a07(0x83)]=void 0x0;function a12_0x3f2f(_0x4c2c7d,_0x117d61){const _0x21c8dc=a12_0x2d8a();return a12_0x3f2f=function(_0x1b8dae,_0x48d904){_0x1b8dae=_0x1b8dae-0x64;let _0x2d8adb=_0x21c8dc[_0x1b8dae];return _0x2d8adb;},a12_0x3f2f(_0x4c2c7d,_0x117d61);}const properties=require(a12_0x287a07(0x7f)),fs=require('fs'),getAgentConfig=_0x17c8e8=>{const _0x5f0a7c=a12_0x287a07;if(fs[_0x5f0a7c(0x8e)](_0x17c8e8)){const _0x4e2983=properties['of'](_0x17c8e8);return{'lightrunSecret':_0x4e2983['getFirst'](_0x5f0a7c(0x78)),'apiEndpoint':_0x4e2983[_0x5f0a7c(0x6f)](_0x5f0a7c(0x75)),'breakpointExpirationSec':_0x4e2983[_0x5f0a7c(0x66)]('breakpoint_expiration_sec'),'transmissionBulkMaxSize':_0x4e2983['getInt'](_0x5f0a7c(0x76)),'noCheckCertificate':_0x4e2983[_0x5f0a7c(0x6c)](_0x5f0a7c(0x7a)),'pinnedCerts':_0x4e2983[_0x5f0a7c(0x6f)](_0x5f0a7c(0x71))?.[_0x5f0a7c(0x91)](','),'metadata':{'filename':_0x4e2983[_0x5f0a7c(0x6f)](_0x5f0a7c(0x81))},'capture':{'maxFrames':_0x4e2983[_0x5f0a7c(0x66)](_0x5f0a7c(0x6d)),'maxDataSize':_0x4e2983[_0x5f0a7c(0x66)](_0x5f0a7c(0x7b)),'maxSnapshotBufferSize':_0x4e2983['getInt'](_0x5f0a7c(0x7b)),'maxVariableSize':_0x4e2983[_0x5f0a7c(0x66)](_0x5f0a7c(0x93)),'maxWatchListVariableSize':_0x4e2983[_0x5f0a7c(0x66)](_0x5f0a7c(0x8c))},'agentLog':{'collectCooldownMs':_0x4e2983['getInt'](_0x5f0a7c(0x65)),'agentLogTargetDir':_0x4e2983['getFirst'](_0x5f0a7c(0x6b)),'agentLogLevel':_0x4e2983[_0x5f0a7c(0x6f)]('agent_log_level'),'agentLogMaxFileCount':_0x4e2983[_0x5f0a7c(0x66)](_0x5f0a7c(0x68)),'agentLogMaxFileSizeMb':_0x4e2983[_0x5f0a7c(0x66)]('agent_log_max_file_size_mb'),'maxLogFileBytes':_0x4e2983[_0x5f0a7c(0x66)](_0x5f0a7c(0x87))},'quota':{'ignoreQuota':_0x4e2983['getBoolean'](_0x5f0a7c(0x92)),'maxCPUCost':_0x4e2983['getFloat']('max_log_cpu_cost'),'maxConditionCost':_0x4e2983[_0x5f0a7c(0x69)](_0x5f0a7c(0x74)),'maxDynamicLogRate':_0x4e2983[_0x5f0a7c(0x66)](_0x5f0a7c(0x6a)),'maxDynamicLogByteRate':_0x4e2983[_0x5f0a7c(0x66)](_0x5f0a7c(0x8f)),'quotaRecoverySeconds':_0x4e2983[_0x5f0a7c(0x66)](_0x5f0a7c(0x88))&&_0x4e2983[_0x5f0a7c(0x66)]('dynamic_log_quota_recovery_ms')/0x3e8},'fetchBreakpointsOnce':_0x4e2983['getBoolean'](_0x5f0a7c(0x85)),'extraPaths':_0x4e2983[_0x5f0a7c(0x6f)](_0x5f0a7c(0x80))?.[_0x5f0a7c(0x91)](',')?.['map'](_0x5a1998=>_0x5a1998[_0x5f0a7c(0x7e)]()),'proxy':{'host':_0x4e2983[_0x5f0a7c(0x6f)](_0x5f0a7c(0x70)),'port':_0x4e2983[_0x5f0a7c(0x66)](_0x5f0a7c(0x79)),'username':_0x4e2983[_0x5f0a7c(0x6f)](_0x5f0a7c(0x67)),'password':_0x4e2983[_0x5f0a7c(0x6f)](_0x5f0a7c(0x64))}};}return;};exports[a12_0x287a07(0x83)]=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a13_0x3a6c(){const _0x38caed=['default','45wjfgVC','35eERQOt','constructor','toString','1165xiDlWd','7AZnSNZ','defineProperty','261430TnuiCT','env','cloud_function','166464JVSHwf','Platforms','getPlatform','1134192pPxAgT','6012MaTkbO','2648ZGxdxN','489294wbmoNw','3bRoYrS','160312xXPxPD','CLOUD_FUNCTION','99hDOIHq','DEFAULT','search','(((.+)+)+)+$'];a13_0x3a6c=function(){return _0x38caed;};return a13_0x3a6c();}const a13_0x2813d4=a13_0x3cc4;(function(_0x4f9d1f,_0x461e3f){const _0x55ebe3=a13_0x3cc4,_0x562dc0=_0x4f9d1f();while(!![]){try{const _0x587e07=parseInt(_0x55ebe3(0x144))/0x1*(-parseInt(_0x55ebe3(0x139))/0x2)+-parseInt(_0x55ebe3(0x13b))/0x3*(-parseInt(_0x55ebe3(0x13c))/0x4)+parseInt(_0x55ebe3(0x147))/0x5*(parseInt(_0x55ebe3(0x151))/0x6)+-parseInt(_0x55ebe3(0x148))/0x7*(parseInt(_0x55ebe3(0x150))/0x8)+parseInt(_0x55ebe3(0x143))/0x9*(-parseInt(_0x55ebe3(0x14a))/0xa)+parseInt(_0x55ebe3(0x13e))/0xb*(parseInt(_0x55ebe3(0x14d))/0xc)+parseInt(_0x55ebe3(0x13a))/0xd;if(_0x587e07===_0x461e3f)break;else _0x562dc0['push'](_0x562dc0['shift']());}catch(_0x5a7c6b){_0x562dc0['push'](_0x562dc0['shift']());}}}(a13_0x3a6c,0x1c9d1));Object[a13_0x2813d4(0x149)](exports,'__esModule',{'value':!![]}),exports[a13_0x2813d4(0x14f)]=exports[a13_0x2813d4(0x14e)]=void 0x0;function a13_0x3cc4(_0x36cc36,_0x14d284){const _0x547fcc=a13_0x3a6c();return a13_0x3cc4=function(_0x47e08a,_0x58354c){_0x47e08a=_0x47e08a-0x139;let _0x3a6c40=_0x547fcc[_0x47e08a];return _0x3a6c40;},a13_0x3cc4(_0x36cc36,_0x14d284);}var Platforms;(function(_0x324602){const _0x5dbb47=a13_0x2813d4,_0x19eccf=(function(){let _0x47c0a7=!![];return function(_0x43d15c,_0x57b5eb){const _0x466e40=_0x47c0a7?function(){if(_0x57b5eb){const _0x33ab71=_0x57b5eb['apply'](_0x43d15c,arguments);return _0x57b5eb=null,_0x33ab71;}}:function(){};return _0x47c0a7=![],_0x466e40;};}()),_0x1ce05e=_0x19eccf(this,function(){const _0x3bb9c9=a13_0x3cc4;return _0x1ce05e['toString']()[_0x3bb9c9(0x140)]('(((.+)+)+)+$')[_0x3bb9c9(0x146)]()[_0x3bb9c9(0x145)](_0x1ce05e)[_0x3bb9c9(0x140)](_0x3bb9c9(0x141));});_0x1ce05e(),_0x324602[_0x5dbb47(0x13d)]=_0x5dbb47(0x14c),_0x324602[_0x5dbb47(0x13f)]=_0x5dbb47(0x142);}(Platforms||(exports[a13_0x2813d4(0x14e)]=Platforms={})));const getPlatform=()=>{const _0x213c9a=a13_0x2813d4,{FUNCTION_NAME:_0xeb2af5,FUNCTION_TARGET:_0x5a7628}=process[_0x213c9a(0x14b)];if(_0xeb2af5||_0x5a7628)return Platforms[_0x213c9a(0x13d)];return Platforms[_0x213c9a(0x13f)];};exports[a13_0x2813d4(0x14f)]=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a14_0x2e35(_0x359ed0,_0x30a6b9){const _0x4811ff=a14_0x52e1();return a14_0x2e35=function(_0x57dc65,_0x1089b3){_0x57dc65=_0x57dc65-0xdd;let _0x52e15b=_0x4811ff[_0x57dc65];return _0x52e15b;},a14_0x2e35(_0x359ed0,_0x30a6b9);}const a14_0x5a860b=a14_0x2e35;(function(_0x4e874a,_0x4aee34){const _0x1fe2d4=a14_0x2e35,_0x2a0be0=_0x4e874a();while(!![]){try{const _0x20a2b3=-parseInt(_0x1fe2d4(0xe7))/0x1+-parseInt(_0x1fe2d4(0xef))/0x2+-parseInt(_0x1fe2d4(0xf2))/0x3*(parseInt(_0x1fe2d4(0xec))/0x4)+-parseInt(_0x1fe2d4(0xde))/0x5*(-parseInt(_0x1fe2d4(0xe8))/0x6)+-parseInt(_0x1fe2d4(0xe0))/0x7*(parseInt(_0x1fe2d4(0xeb))/0x8)+-parseInt(_0x1fe2d4(0xee))/0x9*(-parseInt(_0x1fe2d4(0xdf))/0xa)+parseInt(_0x1fe2d4(0xe1))/0xb;if(_0x20a2b3===_0x4aee34)break;else _0x2a0be0['push'](_0x2a0be0['shift']());}catch(_0x176cfa){_0x2a0be0['push'](_0x2a0be0['shift']());}}}(a14_0x52e1,0x76dc9));const a14_0x1089b3=(function(){let _0x3dda6a=!![];return function(_0x2a2956,_0x4bbdd8){const _0x415319=_0x3dda6a?function(){if(_0x4bbdd8){const _0x1c9d64=_0x4bbdd8['apply'](_0x2a2956,arguments);return _0x4bbdd8=null,_0x1c9d64;}}:function(){};return _0x3dda6a=![],_0x415319;};}()),a14_0x57dc65=a14_0x1089b3(this,function(){const _0xcbde49=a14_0x2e35;return a14_0x57dc65[_0xcbde49(0xe5)]()['search'](_0xcbde49(0xe3))['toString']()['constructor'](a14_0x57dc65)['search'](_0xcbde49(0xe3));});a14_0x57dc65();'use strict';function a14_0x52e1(){const _0x41859c=['40551WyXzFf','12170004zkmdjQ','value','(((.+)+)+)+$','maxSnapshotBufferSize','toString','number','48842aqGzfA','1683288FwVKTq','\x20is\x20greater\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','entries','376IryoMc','13628nTXRTB','Config\x20','803475mmDytK','1726334CUcAzX','\x20is\x20smaller\x20than\x20the\x20limit,\x20falling\x20back\x20to\x20','push','300cwTGqI','limitConfig','5wyXHZR','70UZyupQ'];a14_0x52e1=function(){return _0x41859c;};return a14_0x52e1();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a14_0x5a860b(0xdd)]=void 0x0;const MAX_SNAPSHOT_BUFFER_SIZE=0x200000,MIN_SNAPSHOT_BUFFER_SIZE=0x10000,getCaptureConfigLimits=_0x1633e3=>({'maxVariableSize':{'min':0x20,'max':0x800},'maxWatchListVariableSize':{'min':0x100,'max':resolveLimitedConfig(_0x1633e3[a14_0x5a860b(0xe4)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x5a860b(0xe2)]*0.7},'maxProperties':{'min':0x1,'max':0x800},'maxWatchProperties':{'min':0x64,'max':resolveLimitedConfig(_0x1633e3[a14_0x5a860b(0xe4)],{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE})[a14_0x5a860b(0xe2)]*0.7},'maxExpandFrames':{'min':0x1,'max':0xa},'maxFrames':{'min':resolveLimitedConfig(_0x1633e3['maxExpandFrames'],{'min':0x1,'max':0xa})[a14_0x5a860b(0xe2)],'max':0x100},'maxVariableDepth':{'min':0x1,'max':0x100},'maxSnapshotBufferSize':{'min':MIN_SNAPSHOT_BUFFER_SIZE,'max':MAX_SNAPSHOT_BUFFER_SIZE}}),resolveLimitedConfig=(_0x303909,{max:_0x573364,min:_0x1ae7b9},_0xd8d36f)=>{const _0x2e8b95=a14_0x5a860b;let _0x436d6a;if(_0x303909>_0x573364)return _0xd8d36f&&(_0x436d6a=_0x2e8b95(0xed)+_0xd8d36f+_0x2e8b95(0xe9)+_0x573364),{'value':_0x573364,'warning':_0x436d6a};else{if(_0x303909<_0x1ae7b9)return _0xd8d36f&&(_0x436d6a=_0x2e8b95(0xed)+_0xd8d36f+_0x2e8b95(0xf0)+_0x1ae7b9),{'value':_0x1ae7b9,'warning':_0x436d6a};}return{'value':_0x303909,'warning':_0x436d6a};},limitConfig=_0x5e7232=>{const _0x100f75=a14_0x5a860b,{capture:_0x50551e}=_0x5e7232,_0x382e9e=[],_0x672811=getCaptureConfigLimits(_0x50551e),_0x28d19c={};for(const [_0x536c90,_0x477a61]of Object[_0x100f75(0xea)](_0x672811)){const _0x273711=_0x50551e[_0x536c90];if(typeof _0x273711===_0x100f75(0xe6)){const {value:_0x4c99cf,warning:_0x58745c}=resolveLimitedConfig(_0x273711,_0x477a61,_0x536c90);_0x28d19c[_0x536c90]=_0x4c99cf,_0x58745c&&_0x382e9e[_0x100f75(0xf1)](_0x58745c);}}return{..._0x5e7232,'capture':{..._0x50551e,..._0x28d19c},'warnings':_0x382e9e};};exports[a14_0x5a860b(0xdd)]=limitConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x1a8334=a15_0x250d;(function(_0x3b25f8,_0x42ad98){const _0x539957=a15_0x250d,_0x4c84f9=_0x3b25f8();while(!![]){try{const _0x29786c=parseInt(_0x539957(0x1c4))/0x1+-parseInt(_0x539957(0x1c0))/0x2*(-parseInt(_0x539957(0x1cb))/0x3)+-parseInt(_0x539957(0x1c1))/0x4*(-parseInt(_0x539957(0x1c3))/0x5)+parseInt(_0x539957(0x1bd))/0x6+parseInt(_0x539957(0x1c2))/0x7*(-parseInt(_0x539957(0x1be))/0x8)+-parseInt(_0x539957(0x1cc))/0x9+-parseInt(_0x539957(0x1c8))/0xa;if(_0x29786c===_0x42ad98)break;else _0x4c84f9['push'](_0x4c84f9['shift']());}catch(_0x233db9){_0x4c84f9['push'](_0x4c84f9['shift']());}}}(a15_0x32e4,0x86fbd));const a15_0x147bcd=(function(){let _0x2b123e=!![];return function(_0x47a5b1,_0x37c2b2){const _0x147f42=_0x2b123e?function(){const _0x5b2c36=a15_0x250d;if(_0x37c2b2){const _0x30f644=_0x37c2b2[_0x5b2c36(0x1c6)](_0x47a5b1,arguments);return _0x37c2b2=null,_0x30f644;}}:function(){};return _0x2b123e=![],_0x147f42;};}()),a15_0x1ce489=a15_0x147bcd(this,function(){const _0x51b84f=a15_0x250d;return a15_0x1ce489[_0x51b84f(0x1bf)]()[_0x51b84f(0x1c5)](_0x51b84f(0x1c7))['toString']()[_0x51b84f(0x1c9)](a15_0x1ce489)[_0x51b84f(0x1c5)](_0x51b84f(0x1c7));});function a15_0x32e4(){const _0x383c6e=['196989GBAhhE','6193368GVxAnP','2542314vBCHfO','1256bqLmqc','toString','10IVlBxY','4tDurPX','19397SxreHX','3361415vbmZQH','270427ekfbJB','search','apply','(((.+)+)+)+$','186520iePjBv','constructor','mapSubtract'];a15_0x32e4=function(){return _0x383c6e;};return a15_0x32e4();}a15_0x1ce489();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['mapSubtract']=void 0x0;function a15_0x250d(_0x2e03d,_0x5af572){const _0x102084=a15_0x32e4();return a15_0x250d=function(_0x1ce489,_0x147bcd){_0x1ce489=_0x1ce489-0x1bd;let _0x32e455=_0x102084[_0x1ce489];return _0x32e455;},a15_0x250d(_0x2e03d,_0x5af572);}const mapSubtract=(_0xbc9765,_0xb5df5d)=>{const _0x1ec71b=[];for(const _0x57d279 in _0xbc9765){!_0xb5df5d[_0x57d279]&&_0x1ec71b['push'](_0xbc9765[_0x57d279]);}return _0x1ec71b;};exports[a15_0x1a8334(0x1ca)]=mapSubtract;
|