lightrun 1.52.2 → 1.53.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/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.d.ts +1 -0
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a0_0x1b05(){const _0x794ad0=['format','571496TlbNWR','logger','getHours','error','27736344CHlXPd','1248110lfHITU','defineProperty','default','toString','padStart','.%DATE%','(((.+)+)+)+$','warn','__esModule','debug',']\x20-\x20','AGENT_LOG_FILE','getSeconds','getMinutes','getDate','toUpperCase','3998652zUPVfx','lightrun_nodejs_agent.','apply','4626519JoAyJx','3837524JgUfoJ','winston','createLogger','pid','search','info','70DCEqiM','309234etyhLH'];a0_0x1b05=function(){return _0x794ad0;};return a0_0x1b05();}const a0_0x1fdec6=a0_0x3717;(function(_0x3d2093,_0x31f063){const _0x1c192f=a0_0x3717,_0x4a3bc7=_0x3d2093();while(!![]){try{const _0x567784=parseInt(_0x1c192f(0x1d4))/0x1+-parseInt(_0x1c192f(0x1c6))/0x2+-parseInt(_0x1c192f(0x1c5))/0x3+-parseInt(_0x1c192f(0x1cf))/0x4+-parseInt(_0x1c192f(0x1cc))/0x5*(parseInt(_0x1c192f(0x1cd))/0x6)+parseInt(_0x1c192f(0x1c2))/0x7+parseInt(_0x1c192f(0x1d3))/0x8;if(_0x567784===_0x31f063)break;else _0x4a3bc7['push'](_0x4a3bc7['shift']());}catch(_0xaf831c){_0x4a3bc7['push'](_0x4a3bc7['shift']());}}}(a0_0x1b05,0xeaa0a));const a0_0x305fe5=(function(){let _0x4c6b58=!![];return function(_0x232eff,_0x5ab1f6){const _0x32d909=_0x4c6b58?function(){const _0x18c262=a0_0x3717;if(_0x5ab1f6){const _0xaf76ee=_0x5ab1f6[_0x18c262(0x1c4)](_0x232eff,arguments);return _0x5ab1f6=null,_0xaf76ee;}}:function(){};return _0x4c6b58=![],_0x32d909;};}()),a0_0x107495=a0_0x305fe5(this,function(){const _0x18387e=a0_0x3717;return a0_0x107495[_0x18387e(0x1b5)]()['search'](_0x18387e(0x1b8))[_0x18387e(0x1b5)]()['constructor'](a0_0x107495)[_0x18387e(0x1ca)](_0x18387e(0x1b8));});a0_0x107495();'use strict';function a0_0x3717(_0x31cb44,_0x4a3de0){const _0x4ca220=a0_0x1b05();return a0_0x3717=function(_0x107495,_0x305fe5){_0x107495=_0x107495-0x1b3;let _0x1b0510=_0x4ca220[_0x107495];return _0x1b0510;},a0_0x3717(_0x31cb44,_0x4a3de0);}Object[a0_0x1fdec6(0x1b3)](exports,a0_0x1fdec6(0x1ba),{'value':!![]});const winston_1=require(a0_0x1fdec6(0x1c7)),DailyRotateFile=require('winston-daily-rotate-file'),process_1=require('process'),{combine,printf,timestamp}=winston_1[a0_0x1fdec6(0x1ce)],{Console}=winston_1['transports'],now=new Date();function getLoggerTransport(_0x473f02,_0x3ea59d,_0x38e301){const _0x3c44e7=a0_0x1fdec6;if(_0x473f02)return new DailyRotateFile({'dirname':_0x473f02,'filename':AgentLogger['AGENT_LOG_FILE'],'datePattern':now['getFullYear']()[_0x3c44e7(0x1b5)]()+now['getMonth']()[_0x3c44e7(0x1b5)]()[_0x3c44e7(0x1b6)](0x2,'0')+now[_0x3c44e7(0x1c0)]()[_0x3c44e7(0x1b5)]()[_0x3c44e7(0x1b6)](0x2,'0')+'-'+now[_0x3c44e7(0x1d1)]()[_0x3c44e7(0x1b5)]()[_0x3c44e7(0x1b6)](0x2,'0')+now[_0x3c44e7(0x1bf)]()[_0x3c44e7(0x1b5)]()['padStart'](0x2,'0')+now[_0x3c44e7(0x1be)]()[_0x3c44e7(0x1b5)]()[_0x3c44e7(0x1b6)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x3c44e7(0x1bd)],'maxSize':_0x3ea59d+'m','maxFiles':_0x38e301,'extension':'.log'});return new Console();}class AgentLogger{constructor(_0x5bc368,_0x487c9f,_0x557bf0,_0x381726,_0x23c243){const _0x48dc8b=a0_0x1fdec6;this[_0x48dc8b(0x1d0)]=(0x0,winston_1[_0x48dc8b(0x1c8)])({'level':_0x381726,'transports':[getLoggerTransport(_0x5bc368,_0x487c9f,_0x557bf0),new Console({'level':_0x23c243,'stderrLevels':['debug',_0x48dc8b(0x1cb),_0x48dc8b(0x1b9),_0x48dc8b(0x1d2)]})],'format':combine(timestamp(),printf(({level:_0x17fddb,message:_0x509f5b,timestamp:_0xb876e1})=>{const _0x3fcdde=_0x48dc8b;return _0xb876e1+'\x20['+_0x17fddb[_0x3fcdde(0x1c1)]()+_0x3fcdde(0x1bc)+_0x509f5b;}),winston_1[_0x48dc8b(0x1ce)]['json']())});}static[a0_0x1fdec6(0x1c8)](_0x525ed3,_0x5483c9,_0x339b45,_0x59365c,_0x4cd59e){return new AgentLogger(_0x525ed3,_0x5483c9,_0x339b45,_0x59365c,_0x4cd59e);}[a0_0x1fdec6(0x1bb)](..._0x5802a4){const _0xa97dde=a0_0x1fdec6;this[_0xa97dde(0x1d0)][_0xa97dde(0x1bb)](_0x5802a4);}[a0_0x1fdec6(0x1cb)](..._0x251d72){const _0x48051b=a0_0x1fdec6;this['logger'][_0x48051b(0x1cb)](_0x251d72);}['warn'](..._0x4d0cae){this['logger']['warn'](_0x4d0cae);}[a0_0x1fdec6(0x1d2)](..._0x3001f5){this['logger']['error'](_0x3001f5);}}AgentLogger['AGENT_LOG_FILE']=a0_0x1fdec6(0x1c3)+process_1[a0_0x1fdec6(0x1c9)]+a0_0x1fdec6(0x1b7),exports[a0_0x1fdec6(0x1b4)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a1_0x1daffc=a1_0x1365;(function(_0x2f5b48,_0xee004d){const _0x2b9c99=a1_0x1365,_0x189438=_0x2f5b48();while(!![]){try{const _0x3d1573=parseInt(_0x2b9c99(0xd6))/0x1+parseInt(_0x2b9c99(0xd4))/0x2+parseInt(_0x2b9c99(0xd2))/0x3+-parseInt(_0x2b9c99(0xe3))/0x4*(-parseInt(_0x2b9c99(0xdd))/0x5)+-parseInt(_0x2b9c99(0xe7))/0x6*(-parseInt(_0x2b9c99(0xd9))/0x7)+parseInt(_0x2b9c99(0xe0))/0x8+-parseInt(_0x2b9c99(0xdc))/0x9;if(_0x3d1573===_0xee004d)break;else _0x189438['push'](_0x189438['shift']());}catch(_0x21f6be){_0x189438['push'](_0x189438['shift']());}}}(a1_0x1844,0x7e6e3));const a1_0x527aa7=(function(){let _0x1db738=!![];return function(_0x3480c5,_0x319690){const _0x75ac14=_0x1db738?function(){const _0x49eff5=a1_0x1365;if(_0x319690){const _0x322362=_0x319690[_0x49eff5(0xd3)](_0x3480c5,arguments);return _0x319690=null,_0x322362;}}:function(){};return _0x1db738=![],_0x75ac14;};}()),a1_0x25854b=a1_0x527aa7(this,function(){const _0x3d180f=a1_0x1365;return a1_0x25854b[_0x3d180f(0xdb)]()[_0x3d180f(0xd5)](_0x3d180f(0xe8))[_0x3d180f(0xdb)]()[_0x3d180f(0xda)](a1_0x25854b)['search'](_0x3d180f(0xe8));});function a1_0x1844(){const _0x426e38=['toString','22720986DxvwCm','835YbdJQK','inversePatterns','forEach','54584UUHZhd','substring','push','22328rDoJZH','BlocklistingPatterns','some','patterns','234gXmSKa','(((.+)+)+)+$','match','265488vhzHDS','apply','961520SnrEuU','search','607266riSdjq','length','defineProperty','166362vAHqff','constructor'];a1_0x1844=function(){return _0x426e38;};return a1_0x1844();}a1_0x25854b();'use strict';Object[a1_0x1daffc(0xd8)](exports,'__esModule',{'value':!![]}),exports['BlocklistingPatterns']=void 0x0;function a1_0x1365(_0x2bee73,_0x56d29b){const _0x37a88c=a1_0x1844();return a1_0x1365=function(_0x25854b,_0x527aa7){_0x25854b=_0x25854b-0xd2;let _0x18441b=_0x37a88c[_0x25854b];return _0x18441b;},a1_0x1365(_0x2bee73,_0x56d29b);}class BlocklistingPatterns{constructor(_0x31df2e){const _0x4aedcc=a1_0x1daffc;this[_0x4aedcc(0xde)]=[],this[_0x4aedcc(0xe6)]=[],_0x31df2e&&_0x31df2e[_0x4aedcc(0xdf)](_0x1ce785=>{const _0x238e70=_0x4aedcc;_0x1ce785&&(_0x1ce785[0x0]==='!'?this[_0x238e70(0xde)][_0x238e70(0xe2)](new RegExp(_0x1ce785[_0x238e70(0xe1)](0x1))):this[_0x238e70(0xe6)]['push'](new RegExp(_0x1ce785)));});}['matches'](_0x529a7f){const _0x39abda=a1_0x1daffc,_0x507cbf=_0x398974=>_0x529a7f[_0x39abda(0xe9)](_0x398974);return this['inversePatterns'][_0x39abda(0xd7)]!==0x0&&!this['inversePatterns']['some'](_0x507cbf)||this['patterns'][_0x39abda(0xe5)](_0x507cbf);}}exports[a1_0x1daffc(0xe4)]=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x24dece=a2_0x30e6;(function(_0x3ed28b,_0x4daac2){var _0x3dd5ca=a2_0x30e6,_0x2cf3bb=_0x3ed28b();while(!![]){try{var _0x5604e1=parseInt(_0x3dd5ca(0xfa))/0x1*(parseInt(_0x3dd5ca(0xf8))/0x2)+parseInt(_0x3dd5ca(0xf4))/0x3+-parseInt(_0x3dd5ca(0xf6))/0x4*(parseInt(_0x3dd5ca(0xf0))/0x5)+-parseInt(_0x3dd5ca(0xf9))/0x6+parseInt(_0x3dd5ca(0x100))/0x7*(parseInt(_0x3dd5ca(0xff))/0x8)+-parseInt(_0x3dd5ca(0xf2))/0x9+-parseInt(_0x3dd5ca(0xf1))/0xa*(-parseInt(_0x3dd5ca(0xf3))/0xb);if(_0x5604e1===_0x4daac2)break;else _0x2cf3bb['push'](_0x2cf3bb['shift']());}catch(_0x46aa4c){_0x2cf3bb['push'](_0x2cf3bb['shift']());}}}(a2_0x364f,0xcde47));var a2_0xe3d651=(function(){var _0x3d45a0=!![];return function(_0x249c0f,_0x2ea11a){var _0x16c6c8=_0x3d45a0?function(){if(_0x2ea11a){var _0xf847a9=_0x2ea11a['apply'](_0x249c0f,arguments);return _0x2ea11a=null,_0xf847a9;}}:function(){};return _0x3d45a0=![],_0x16c6c8;};}()),a2_0x2338a0=a2_0xe3d651(this,function(){var _0x3b3ff5=a2_0x30e6;return a2_0x2338a0[_0x3b3ff5(0xfc)]()[_0x3b3ff5(0xf7)](_0x3b3ff5(0xfb))[_0x3b3ff5(0xfc)]()[_0x3b3ff5(0xef)](a2_0x2338a0)['search'](_0x3b3ff5(0xfb));});function a2_0x364f(){var _0x1fc750=['1907lQoGPr','(((.+)+)+)+$','toString','value','defineProperty','8JhpSpd','2377571IVfhZC','constructor','22405OJpNoB','204290fIwDFx','4754763uMExck','319QfaEfn','3896754GKWlHz','DummyBlocklistManager','1172UmEVhu','search','650YLkUWp','997272NYDASK'];a2_0x364f=function(){return _0x1fc750;};return a2_0x364f();}a2_0x2338a0();'use strict';Object[a2_0x24dece(0xfe)](exports,'__esModule',{'value':!![]}),exports[a2_0x24dece(0xf5)]=void 0x0;class DummyBlocklistManager{constructor(_0x57b565){var _0x45b3d9=a2_0x24dece;this[_0x45b3d9(0xfd)]=_0x57b565;}['shouldBlock'](){var _0x174991=a2_0x24dece;return this[_0x174991(0xfd)];}}function a2_0x30e6(_0x256c98,_0x39ed0c){var _0x4d739d=a2_0x364f();return a2_0x30e6=function(_0x2338a0,_0xe3d651){_0x2338a0=_0x2338a0-0xef;var _0x364fc3=_0x4d739d[_0x2338a0];return _0x364fc3;},a2_0x30e6(_0x256c98,_0x39ed0c);}exports[a2_0x24dece(0xf5)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x5d8089=a3_0x4c53;(function(_0x48d4c0,_0x327741){const _0x3ff7df=a3_0x4c53,_0x4c4644=_0x48d4c0();while(!![]){try{const _0x1073ff=-parseInt(_0x3ff7df(0x19b))/0x1*(parseInt(_0x3ff7df(0x196))/0x2)+parseInt(_0x3ff7df(0x18d))/0x3*(parseInt(_0x3ff7df(0x199))/0x4)+-parseInt(_0x3ff7df(0x18a))/0x5+parseInt(_0x3ff7df(0x190))/0x6+parseInt(_0x3ff7df(0x183))/0x7*(-parseInt(_0x3ff7df(0x18c))/0x8)+-parseInt(_0x3ff7df(0x194))/0x9*(parseInt(_0x3ff7df(0x195))/0xa)+parseInt(_0x3ff7df(0x18f))/0xb;if(_0x1073ff===_0x327741)break;else _0x4c4644['push'](_0x4c4644['shift']());}catch(_0x3c6ab6){_0x4c4644['push'](_0x4c4644['shift']());}}}(a3_0x49fa,0xa3743));function a3_0x4c53(_0x493cc4,_0x36b53c){const _0x304a53=a3_0x49fa();return a3_0x4c53=function(_0x433dd6,_0x20f967){_0x433dd6=_0x433dd6-0x182;let _0x49fa49=_0x304a53[_0x433dd6];return _0x49fa49;},a3_0x4c53(_0x493cc4,_0x36b53c);}function a3_0x49fa(){const _0x49b702=['8649977SHAwUH','BlocklistingPatterns','PatternsBlocklistManager','toString','config','constructor','isPathInCurrentWorkingDirectory','5604545sECufR','__esModule','8LOaWWJ','1269822wXQeiM','../util/utils','46840035JQXMxe','4409592pKzKjH','./blocklisting-patterns','(((.+)+)+)+$','blocklistExceptions','4004073msGfhd','30cjrEWx','94RlTrYr','matches','blocklist','4ZkWSLq','search','22459eebWIi','stripWorkingDir','stripCurrentWorkingDirectory'];a3_0x49fa=function(){return _0x49b702;};return a3_0x49fa();}const a3_0x20f967=(function(){let _0x17747d=!![];return function(_0x102d3c,_0x4bf6c4){const _0x4131b2=_0x17747d?function(){if(_0x4bf6c4){const _0x449443=_0x4bf6c4['apply'](_0x102d3c,arguments);return _0x4bf6c4=null,_0x449443;}}:function(){};return _0x17747d=![],_0x4131b2;};}()),a3_0x433dd6=a3_0x20f967(this,function(){const _0x18ea6c=a3_0x4c53;return a3_0x433dd6[_0x18ea6c(0x186)]()[_0x18ea6c(0x19a)](_0x18ea6c(0x192))[_0x18ea6c(0x186)]()[_0x18ea6c(0x188)](a3_0x433dd6)[_0x18ea6c(0x19a)](_0x18ea6c(0x192));});a3_0x433dd6();'use strict';Object['defineProperty'](exports,a3_0x5d8089(0x18b),{'value':!![]}),exports[a3_0x5d8089(0x185)]=void 0x0;const blocklisting_patterns_1=require(a3_0x5d8089(0x191)),utils=require(a3_0x5d8089(0x18e));class PatternsBlocklistManager{constructor(_0x342646,_0x2159bc,_0x2fb56e){const _0x5454e2=a3_0x5d8089;this[_0x5454e2(0x198)]=new blocklisting_patterns_1[(_0x5454e2(0x184))](_0x342646),this['blocklistExceptions']=new blocklisting_patterns_1[(_0x5454e2(0x184))](_0x2159bc),this[_0x5454e2(0x187)]=_0x2fb56e;}['shouldBlock'](_0x332d8b){const _0x5ba86d=a3_0x5d8089;_0x332d8b=this[_0x5ba86d(0x19c)](_0x332d8b);if(this[_0x5ba86d(0x193)][_0x5ba86d(0x197)](_0x332d8b))return![];return this[_0x5ba86d(0x198)][_0x5ba86d(0x197)](_0x332d8b);}[a3_0x5d8089(0x19c)](_0x39b043){const _0x455fee=a3_0x5d8089;if(utils[_0x455fee(0x189)](_0x39b043,this['config']))return utils[_0x455fee(0x182)](_0x39b043,this[_0x455fee(0x187)]);return _0x39b043;}}exports[a3_0x5d8089(0x185)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x473b83=a4_0x3f44;(function(_0x9bf449,_0x40bd00){const _0x25d346=a4_0x3f44,_0x2996ec=_0x9bf449();while(!![]){try{const _0x239b7b=-parseInt(_0x25d346(0x166))/0x1+-parseInt(_0x25d346(0x188))/0x2*(parseInt(_0x25d346(0x161))/0x3)+-parseInt(_0x25d346(0x15e))/0x4+parseInt(_0x25d346(0x186))/0x5*(parseInt(_0x25d346(0x177))/0x6)+parseInt(_0x25d346(0x167))/0x7+-parseInt(_0x25d346(0x175))/0x8*(-parseInt(_0x25d346(0x16f))/0x9)+parseInt(_0x25d346(0x17d))/0xa*(-parseInt(_0x25d346(0x16a))/0xb);if(_0x239b7b===_0x40bd00)break;else _0x2996ec['push'](_0x2996ec['shift']());}catch(_0x2c7049){_0x2996ec['push'](_0x2996ec['shift']());}}}(a4_0x427d,0x89dac));const a4_0x1f2efe=(function(){let _0x6eed28=!![];return function(_0x377f21,_0x329419){const _0x59bcb2=_0x6eed28?function(){if(_0x329419){const _0x58b447=_0x329419['apply'](_0x377f21,arguments);return _0x329419=null,_0x58b447;}}:function(){};return _0x6eed28=![],_0x59bcb2;};}()),a4_0x166fa0=a4_0x1f2efe(this,function(){const _0x3e6476=a4_0x3f44;return a4_0x166fa0[_0x3e6476(0x183)]()[_0x3e6476(0x179)](_0x3e6476(0x17f))[_0x3e6476(0x183)]()[_0x3e6476(0x15b)](a4_0x166fa0)[_0x3e6476(0x179)]('(((.+)+)+)+$');});a4_0x166fa0();'use strict';Object[a4_0x473b83(0x17a)](exports,a4_0x473b83(0x164),{'value':!![]}),exports[a4_0x473b83(0x168)]=exports[a4_0x473b83(0x171)]=exports[a4_0x473b83(0x187)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require('yup');exports[a4_0x473b83(0x187)]=(0x0,yup_1[a4_0x473b83(0x184)])()['shape']({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x473b83(0x16c)])(),'breakpointExpirationSec':(0x0,yup_1['number'])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x473b83(0x16c)])(),'capture':(0x0,yup_1[a4_0x473b83(0x184)])()[a4_0x473b83(0x182)]({'includeNodeModules':(0x0,yup_1['boolean'])(),'maxFrames':(0x0,yup_1['number'])(),'maxExpandFrames':(0x0,yup_1[a4_0x473b83(0x16c)])(),'maxProperties':(0x0,yup_1[a4_0x473b83(0x16c)])(),'maxVariableDepth':(0x0,yup_1[a4_0x473b83(0x16c)])(),'maxWatchProperties':(0x0,yup_1[a4_0x473b83(0x16c)])(),'maxDataSize':(0x0,yup_1[a4_0x473b83(0x16c)])(),'maxStringLength':(0x0,yup_1['number'])(),'maxVariableSize':(0x0,yup_1['number'])(),'maxWatchListVariableSize':(0x0,yup_1['number'])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x473b83(0x16c)])()}),'internal':(0x0,yup_1[a4_0x473b83(0x184)])()['shape']({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x473b83(0x16c)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x473b83(0x16c)])(),'sourceMapDiagnostics':(0x0,yup_1[a4_0x473b83(0x169)])()}),'forceNewAgent_':(0x0,yup_1[a4_0x473b83(0x169)])(),'testMode_':(0x0,yup_1[a4_0x473b83(0x169)])(),'apiEndpoint':(0x0,yup_1[a4_0x473b83(0x160)])(),'lightrunSecret':(0x0,yup_1[a4_0x473b83(0x160)])(),'agentLog':(0x0,yup_1[a4_0x473b83(0x184)])()[a4_0x473b83(0x182)]({'agentLogTargetDir':(0x0,yup_1[a4_0x473b83(0x160)])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x473b83(0x16c)])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x473b83(0x16c)])(),'agentLogLevel':(0x0,yup_1[a4_0x473b83(0x160)])()['oneOf'](['debug',a4_0x473b83(0x16d),a4_0x473b83(0x17e),a4_0x473b83(0x15c)]),'stdErrThreshold':(0x0,yup_1[a4_0x473b83(0x160)])()[a4_0x473b83(0x15d)]([a4_0x473b83(0x157),a4_0x473b83(0x16d),a4_0x473b83(0x17e),a4_0x473b83(0x15c),a4_0x473b83(0x189)]),'collectCooldownMs':(0x0,yup_1['number'])(),'maxLogFileBytes':(0x0,yup_1[a4_0x473b83(0x16c)])()}),'pinnedCerts':(0x0,yup_1[a4_0x473b83(0x15f)])()['of']((0x0,yup_1[a4_0x473b83(0x160)])()),'noCheckCertificate':(0x0,yup_1[a4_0x473b83(0x169)])(),'caPath':(0x0,yup_1['string'])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x473b83(0x16c)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x473b83(0x16c)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x473b83(0x16c)])(),'quota':(0x0,yup_1[a4_0x473b83(0x184)])()[a4_0x473b83(0x182)]({'maxConditionCost':(0x0,yup_1[a4_0x473b83(0x16c)])(),'maxCPUCost':(0x0,yup_1[a4_0x473b83(0x16c)])(),'maxDynamicLogRate':(0x0,yup_1[a4_0x473b83(0x16c)])(),'maxDynamicLogByteRate':(0x0,yup_1['number'])(),'ignoreQuota':(0x0,yup_1[a4_0x473b83(0x169)])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x473b83(0x16c)])()}),'agentConfigFile':(0x0,yup_1[a4_0x473b83(0x160)])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x473b83(0x169)])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x473b83(0x16c)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x473b83(0x169)])(),'lightrunInitWaitTimeMs':(0x0,yup_1['number'])(),'extraPaths':(0x0,yup_1[a4_0x473b83(0x15f)])()['of']((0x0,yup_1[a4_0x473b83(0x160)])()),'redactionEnabled':(0x0,yup_1[a4_0x473b83(0x169)])(),'proxy':(0x0,yup_1[a4_0x473b83(0x184)])()['shape']({'host':(0x0,yup_1[a4_0x473b83(0x160)])(),'port':(0x0,yup_1[a4_0x473b83(0x16c)])(),'username':(0x0,yup_1['string'])(),'password':(0x0,yup_1['string'])()})}),exports['defaultConfig']={'workingDirectory':process[a4_0x473b83(0x162)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x473b83(0x15a)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x19,'maxWatchProperties':0x400,'maxVariableDepth':0x19,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xfde8,'maxWatchListVariableSize':0x80000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28,'sourceMapDiagnostics':![]},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':a4_0x473b83(0x165),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x473b83(0x163)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x473b83(0x16d),'stdErrThreshold':a4_0x473b83(0x189),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x473b83(0x172),a4_0x473b83(0x17c)],'noCheckCertificate':![],'caPath':'node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','metadata':{'registration':{'tags':[a4_0x473b83(0x173)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x473b83(0x16b),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x1ce886,_0x443ab9)=>{const _0x392ed5=a4_0x473b83,_0x4c44dc=Object[_0x392ed5(0x16e)](_0x1ce886?.[_0x392ed5(0x180)]??[]);_0x4c44dc[_0x392ed5(0x176)]&&_0x4c44dc[_0x392ed5(0x174)](_0x4053ad=>{const _0x45aeb2=_0x392ed5;_0x443ab9[_0x45aeb2(0x15c)](_0x4053ad);});};function logMainConfigParams(_0x45fb76,_0xf697f){const _0x5cc591=a4_0x473b83;let _0x40ebb8=_0x45fb76[_0x5cc591(0x158)];_0x40ebb8?_0x40ebb8+=',\x20\x20\x20the\x20file\x20'+((0x0,fs_1['existsSync'])(_0x45fb76['agentConfigFile'])?_0x5cc591(0x170):_0x5cc591(0x17b)):_0x40ebb8=_0x5cc591(0x181);const _0x1a8ee4={..._0x45fb76,'lightrunSecret':_0x45fb76[_0x5cc591(0x185)]?'set':_0x5cc591(0x159),'agentConfigFile':_0x40ebb8};_0xf697f[_0x5cc591(0x157)](_0x5cc591(0x178),_0x1a8ee4),logConfigErrors(_0x45fb76,_0xf697f);}function a4_0x3f44(_0x293306,_0x270000){const _0x447c78=a4_0x427d();return a4_0x3f44=function(_0x166fa0,_0x1f2efe){_0x166fa0=_0x166fa0-0x157;let _0x427dab=_0x447c78[_0x166fa0];return _0x427dab;},a4_0x3f44(_0x293306,_0x270000);}function a4_0x427d(){const _0xae4d91=['logMainConfigParams','boolean','1293699wwPofm','agent.config','number','info','values','333kcOYXr','exists','defaultConfig','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','Production','forEach','162680LRJpbx','length','1130106dvPnPA','Agent\x20Configuration:\x20','search','defineProperty','DOESN\x27T\x20EXIST','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12','10fhYwJx','warn','(((.+)+)+)+$','errors','not\x20set!','shape','toString','object','lightrunSecret','25amcClb','configSchema','52838HCNLht','none','debug','agentConfigFile','!!!\x20NOT\x20SET\x20!!!','.js','constructor','error','oneOf','2367548XFssNt','array','string','6JBbovU','cwd','tmpdir','__esModule','app.lightrun.com','973386vHViEz','4243554fEfwfR'];a4_0x427d=function(){return _0xae4d91;};return a4_0x427d();}exports[a4_0x473b83(0x168)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a5_0x3a1a65=a5_0x2d09;(function(_0x3ad9a8,_0x2efaa3){var _0x36a08a=a5_0x2d09,_0x854a78=_0x3ad9a8();while(!![]){try{var _0x4332ff=-parseInt(_0x36a08a(0x10e))/0x1+-parseInt(_0x36a08a(0x119))/0x2+-parseInt(_0x36a08a(0x108))/0x3+-parseInt(_0x36a08a(0x116))/0x4*(-parseInt(_0x36a08a(0x104))/0x5)+-parseInt(_0x36a08a(0x117))/0x6+parseInt(_0x36a08a(0x103))/0x7*(-parseInt(_0x36a08a(0x106))/0x8)+parseInt(_0x36a08a(0x10c))/0x9*(parseInt(_0x36a08a(0x115))/0xa);if(_0x4332ff===_0x2efaa3)break;else _0x854a78['push'](_0x854a78['shift']());}catch(_0x3169b1){_0x854a78['push'](_0x854a78['shift']());}}}(a5_0x47fc,0x2c628));var a5_0x2c0310=(function(){var _0x8b46b3=!![];return function(_0x1c08f3,_0xa33c91){var _0x2d1abf=_0x8b46b3?function(){if(_0xa33c91){var _0x51a413=_0xa33c91['apply'](_0x1c08f3,arguments);return _0xa33c91=null,_0x51a413;}}:function(){};return _0x8b46b3=![],_0x2d1abf;};}()),a5_0x278951=a5_0x2c0310(this,function(){var _0x2fee0b=a5_0x2d09;return a5_0x278951[_0x2fee0b(0x11a)]()[_0x2fee0b(0x105)](_0x2fee0b(0x10f))[_0x2fee0b(0x11a)]()[_0x2fee0b(0x111)](a5_0x278951)[_0x2fee0b(0x105)](_0x2fee0b(0x10f));});function a5_0x2d09(_0x1f5b44,_0x32ba6f){var _0x4d9905=a5_0x47fc();return a5_0x2d09=function(_0x278951,_0x2c0310){_0x278951=_0x278951-0x102;var _0x47fc17=_0x4d9905[_0x278951];return _0x47fc17;},a5_0x2d09(_0x1f5b44,_0x32ba6f);}a5_0x278951();'use strict';Object['defineProperty'](exports,a5_0x3a1a65(0x113),{'value':!![]}),exports[a5_0x3a1a65(0x107)]=void 0x0;class ConfigurationProvider{constructor(_0x47c000){this['resolvedDebugAgentConfig']=_0x47c000;}['getMaxVariableSize'](){var _0x29efcd=a5_0x3a1a65;return this[_0x29efcd(0x10d)][_0x29efcd(0x109)][_0x29efcd(0x10a)]||this['resolvedDebugAgentConfig']['capture'][_0x29efcd(0x110)];}[a5_0x3a1a65(0x114)](){var _0x25cb69=a5_0x3a1a65;return this[_0x25cb69(0x10d)][_0x25cb69(0x109)]['maxWatchListVariableSize'];}[a5_0x3a1a65(0x118)](){var _0x1b2515=a5_0x3a1a65;return this[_0x1b2515(0x10d)][_0x1b2515(0x109)][_0x1b2515(0x102)]||this[_0x1b2515(0x10d)][_0x1b2515(0x109)][_0x1b2515(0x10b)];}['getMaxProperties'](_0x3534f4){var _0x79e57=a5_0x3a1a65;return _0x3534f4?this[_0x79e57(0x10d)][_0x79e57(0x109)][_0x79e57(0x112)]:this[_0x79e57(0x10d)][_0x79e57(0x109)]['maxProperties'];}}exports['ConfigurationProvider']=ConfigurationProvider;function a5_0x47fc(){var _0x122cc4=['maxStringLength','maxSnapshotBufferSize','9gjXNYC','resolvedDebugAgentConfig','110061opdcLb','(((.+)+)+)+$','maxVariableSize','constructor','maxWatchProperties','__esModule','getMaxWatchListVariableSize','8103410QYkfdj','917732EEcDQD','1345362IQjRMd','getMaxSnapshotBufferSize','302652ZIGoHe','toString','maxDataSize','12418uHKnZD','5CXfffa','search','752JGHEXD','ConfigurationProvider','616812QJHCcS','capture'];a5_0x47fc=function(){return _0x122cc4;};return a5_0x47fc();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0xfd443c=a6_0x9941;function a6_0x31c9(){const _0x5b6421=['/debuggees/','Getting\x20blocklist','\x20for\x20request\x20','create','4314404sSbftd','\x20finished\x20with\x20status\x20','agentLog','Agent','extend','pubkey','Failed\x20to\x20read\x20pem\x20file\x20\x22','response','cancel','zlib','\x20seconds','readFileSync','Failed\x20to\x20zip\x20','shift','/breakpoints?','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','config','Failed\x20to\x20send\x20log\x20file\x20','260170MNXtIM','getJsonStringSizeInBytes','Certificate\x20Pinning\x20Failed!',',\x20Message:\x20','debuggee','https','transmissionHardMaxNetworkSizeLimitInBytes','\x20Error:\x20','1uuHWaU','push','logger','3YgqTBY','11WvDCpK','pinnedCerts','callback','\x20size\x20is\x20','default','clearTransmissionTimeout','/compressedLogFile/','timeout\x20set\x20to\x20','9507951LvUWsN','ascii','toString','Timeout\x20occurred\x20after\x20','Update\x20for\x20breakpoints\x20','7qHopNv','serializedJson','assert','error','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','search','makeRequest','breakpointId:\x20','failed\x20to\x20serialize\x20breakpoint\x20','Deregister\x20agent\x20before\x20shutdown','createSecureContext','token','data','digest','secureContext',',\x20username:\x20','getRedactions','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','Using\x20proxy\x20configuration:\x20','transmitBreakpointUpdates','password','unknown\x20error\x20-\x20request\x20response\x20missing','Controller','lightrunSecret','crypto','\x20size\x20>\x20max\x20network\x20size\x20:\x20','transmissionQueue','Transmitting\x20breakpoint\x20updates...','noCheckCertificate','apply','message','5128488WajQno','waitToken','enqueueBreakpointUpdate','POST','tls','bind','number','listBreakpoints','13HElGNK','lastLogCollectionTime','18lBYohV','sendAgentLogsToServer','statSync','includes','transmissionTimeout','/blacklist?successOnTimeout=true','querystring','sha256','finally','js-yaml','debug','Getting\x20reductions','__esModule','host','collectCooldownMs','/appOnlyActionHits/','caPath','501154ldkhbk','reject','\x20for\x20request\x20id\x20','Breakpoint\x20',',\x20sending\x20only\x20one','9270420lQYKSI','floor','then','warn','length','size','defineProperty','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','maxLogFileBytes','invalid\x20response\x20body\x20from\x20server','transmissionBulkMaxNetworkSizeInBytes','/breakpoints','map','/deregister/','./util/utils','info','ServiceObject','PUT','createHash','update','port','apiUrl','catch','stringify','username','stream','now','WritableStream','status','proxy','hex','source','application/json','register','should\x20have\x20a\x20registered\x20debuggee','sendAppOnlyBreakpointHitsToServer','context','apiEndpoint','nextWaitToken','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','method','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','https-proxy-agent','max','@google-cloud/common','pipeline','memory-streams','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','6998450XiMuVM','breakpoint\x20'];a6_0x31c9=function(){return _0x5b6421;};return a6_0x31c9();}function a6_0x9941(_0x597ce8,_0x1ea2eb){const _0x35c939=a6_0x31c9();return a6_0x9941=function(_0x3abc32,_0x59db57){_0x3abc32=_0x3abc32-0x89;let _0x31c909=_0x35c939[_0x3abc32];return _0x31c909;},a6_0x9941(_0x597ce8,_0x1ea2eb);}(function(_0x4248cf,_0x5b946c){const _0x6e18d9=a6_0x9941,_0x506be1=_0x4248cf();while(!![]){try{const _0x33182e=parseInt(_0x6e18d9(0x9f))/0x1*(-parseInt(_0x6e18d9(0xeb))/0x2)+-parseInt(_0x6e18d9(0xa2))/0x3*(parseInt(_0x6e18d9(0x126))/0x4)+parseInt(_0x6e18d9(0x97))/0x5*(parseInt(_0x6e18d9(0xda))/0x6)+-parseInt(_0x6e18d9(0xb0))/0x7*(-parseInt(_0x6e18d9(0xd0))/0x8)+parseInt(_0x6e18d9(0xab))/0x9+-parseInt(_0x6e18d9(0x120))/0xa*(parseInt(_0x6e18d9(0xa3))/0xb)+-parseInt(_0x6e18d9(0xf0))/0xc*(-parseInt(_0x6e18d9(0xd8))/0xd);if(_0x33182e===_0x5b946c)break;else _0x506be1['push'](_0x506be1['shift']());}catch(_0x318188){_0x506be1['push'](_0x506be1['shift']());}}}(a6_0x31c9,0x91c7a));const a6_0x59db57=(function(){let _0x38bb46=!![];return function(_0x5b0f68,_0x1c6185){const _0x442057=_0x38bb46?function(){const _0x42f61f=a6_0x9941;if(_0x1c6185){const _0x412421=_0x1c6185[_0x42f61f(0xce)](_0x5b0f68,arguments);return _0x1c6185=null,_0x412421;}}:function(){};return _0x38bb46=![],_0x442057;};}()),a6_0x3abc32=a6_0x59db57(this,function(){const _0x27d584=a6_0x9941;return a6_0x3abc32[_0x27d584(0xad)]()['search']('(((.+)+)+)+$')[_0x27d584(0xad)]()['constructor'](a6_0x3abc32)[_0x27d584(0xb5)]('(((.+)+)+)+$');});a6_0x3abc32();'use strict';Object[a6_0xfd443c(0xf6)](exports,a6_0xfd443c(0xe6),{'value':!![]}),exports['Controller']=void 0x0;const common_1=require(a6_0xfd443c(0x11c)),assert=require(a6_0xfd443c(0xb2)),qs=require(a6_0xfd443c(0xe0)),fs_1=require('fs'),crypto_1=require(a6_0xfd443c(0xc9)),zlib_1=require(a6_0xfd443c(0x8e)),stream_1=require(a6_0xfd443c(0x109)),memory_streams_1=require(a6_0xfd443c(0x11e)),tls_1=require(a6_0xfd443c(0xd4)),extend=require(a6_0xfd443c(0x89)),axios_1=require('axios'),https=require(a6_0xfd443c(0x9c)),utils_1=require(a6_0xfd443c(0xfe)),HttpsProxyAgent=require(a6_0xfd443c(0x11a)),yaml=require(a6_0xfd443c(0xe3)),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_0xfd443c(0x100)]{constructor(_0x2e6301,_0x1f3c22,_0x1c9147){const _0x3ebf38=a6_0xfd443c;super({'parent':_0x2e6301,'baseUrl':'/controller'}),this[_0x3ebf38(0x116)]=null,this[_0x3ebf38(0x95)]=_0x1f3c22,this['transmissionQueue']=[],this[_0x3ebf38(0xa1)]=_0x1c9147,this['apiUrl']='https://'+_0x1f3c22[_0x3ebf38(0x115)]+_0x3ebf38(0x122),this['axios']=axios_1[_0x3ebf38(0xa7)][_0x3ebf38(0x125)]({'httpsAgent':getProxyAgent(_0x1f3c22,_0x1c9147)??new https[(_0x3ebf38(0x129))](getHttpsAgentOptions(_0x1f3c22,_0x1c9147)),'proxy':![]});}['register'](_0x533a3d,_0x2b6002){const _0x1cb67d=a6_0xfd443c,_0x3737a7={'uri':this['apiUrl']+_0x1cb67d(0x111),'method':'POST','json':!![],'body':{'debuggee':_0x533a3d}};this['makeRequest'](_0x3737a7,(_0x58d6cd,_0x3c5c23,_0x3aa6b6)=>{const _0x5844b6=_0x1cb67d;if(!_0x3aa6b6)_0x2b6002(_0x58d6cd||new Error(_0x5844b6(0xc6)));else{if(_0x58d6cd){let _0x441221=![];_0x3aa6b6[_0x5844b6(0x10c)]===HTTP_UPGRADE_REQUIRED&&_0x3c5c23&&(_0x3c5c23[_0x5844b6(0xcf)]!==undefined&&(_0x58d6cd[_0x5844b6(0xcf)]=_0x3c5c23[_0x5844b6(0xcf)]),_0x533a3d['id']=_0x3c5c23[_0x5844b6(0x9b)]['id'],_0x441221=!![]),_0x2b6002(_0x58d6cd,_0x3c5c23,_0x441221);}else{if(_0x3aa6b6['status']!==HTTP_SUCCESS)_0x2b6002(new Error('unable\x20to\x20register,\x20status\x20'+_0x3aa6b6[_0x5844b6(0x10c)]));else!_0x3c5c23?.[_0x5844b6(0x9b)]?_0x2b6002(new Error(_0x5844b6(0xf9))):(_0x533a3d['id']=_0x3c5c23['debuggee']['id'],_0x2b6002(null,_0x3c5c23));}}});}[a6_0xfd443c(0xd7)](_0x40ec48,_0xcd687a,_0x37d6f2){const _0x4b3802=a6_0xfd443c,_0x2d5a8f=this;assert(_0x40ec48['id'],_0x4b3802(0x112));const _0x177683={'successOnTimeout':!![]};_0x2d5a8f['nextWaitToken']&&(_0x177683[_0x4b3802(0xd1)]=_0x2d5a8f[_0x4b3802(0x116)]);const _0x2eff54=this[_0x4b3802(0x105)]+encodeURIComponent(_0x40ec48['id'])+_0x4b3802(0x93)+qs[_0x4b3802(0x107)](_0x177683);_0x2d5a8f[_0x4b3802(0xb6)]({'uri':_0x2eff54,'json':!![]},(_0x3f46ac,_0x251f5b,_0x488fbe)=>{const _0x4c9df2=_0x4b3802;if(!_0x488fbe){_0xcd687a(_0x3f46ac||new Error(_0x4c9df2(0xc6)));return;}else{if(!is2xx(_0x488fbe[_0x4c9df2(0x10c)])){_0xcd687a(new Error(_0x4c9df2(0xb4)+_0x488fbe[_0x4c9df2(0x10c)]),_0x488fbe);return;}else _0x251f5b&&(_0x2d5a8f['nextWaitToken']=_0x251f5b[_0x4c9df2(0x116)]),_0xcd687a(null,_0x488fbe,_0x251f5b);}},_0x37d6f2);}[a6_0xfd443c(0xd2)](_0x1c8402,_0x534e03){const _0x4574de=a6_0xfd443c;assert(_0x1c8402['id'],_0x4574de(0x112));try{const _0x34bcb0=JSON[_0x4574de(0x107)](_0x534e03),_0xde6cb5=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x34bcb0);if(_0xde6cb5>=this['config'][_0x4574de(0x9d)]){this[_0x4574de(0xa1)]['warn'](_0x4574de(0xb7)+_0x534e03['id']+_0x4574de(0xa6)+_0xde6cb5+'\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20'+this[_0x4574de(0x95)][_0x4574de(0x9d)]);return;}this[_0x4574de(0xcb)][_0x4574de(0xa0)]({'id':_0x534e03['id'],'serializedJson':_0x34bcb0,'number':0x0});if(!this[_0x4574de(0xde)]){const _0x242e3c=this;this[_0x4574de(0xde)]=setTimeout(()=>_0x242e3c[_0x4574de(0xc4)][_0x4574de(0xd5)](_0x242e3c)(_0x1c8402['id']),0x0);}}catch(_0x718226){this[_0x4574de(0xa1)][_0x4574de(0xb3)](_0x4574de(0xb8)+_0x534e03['id']+'\x20and\x20enqueue\x20to\x20queue',_0x718226);return;}}[a6_0xfd443c(0xa8)](){const _0x35b68d=a6_0xfd443c;if(!this[_0x35b68d(0xde)])return;clearTimeout(this[_0x35b68d(0xde)]),this[_0x35b68d(0xde)]=null;}['deregister'](_0x4b111f,_0x2ff2d0){const _0x1b1148=a6_0xfd443c,_0x347dbc=this[_0x1b1148(0x105)]+encodeURIComponent(_0x4b111f['id'])+_0x1b1148(0xfd),_0x403459={'uri':_0x347dbc,'method':_0x1b1148(0xd3),'json':!![]};this[_0x1b1148(0xa1)][_0x1b1148(0xff)](_0x1b1148(0xb9)),this['makeRequest'](_0x403459,(_0x425e38,_0x70809e,_0x1911e3)=>{const _0x375f15=_0x1b1148;(!_0x1911e3||Math[_0x375f15(0xf1)](_0x1911e3[_0x375f15(0x10c)]/0x64)!==0x2)&&this[_0x375f15(0xa1)][_0x375f15(0xf3)]('Failed\x20to\x20deregister\x20agent,\x20Error:\x20'+_0x425e38),_0x2ff2d0(_0x425e38);});}['sendBreakpointLogsToServer'](_0x3955af,_0x1499b6,_0x159a6d){const _0x357656=a6_0xfd443c,_0x3a9b5a=this[_0x357656(0x105)]+encodeURIComponent(_0x3955af['id'])+'/log/',_0x3f8ec4={'uri':_0x3a9b5a,'method':_0x357656(0xd3),'json':!![],'body':_0x1499b6};this[_0x357656(0xb6)](_0x3f8ec4,(_0x4508a9,_0x4a5828,_0x4d0786)=>{const _0x2d9078=_0x357656;(!_0x4d0786||Math[_0x2d9078(0xf1)](_0x4d0786[_0x2d9078(0x10c)]/0x64)!==0x2)&&(this[_0x2d9078(0xa1)][_0x2d9078(0xf3)](_0x2d9078(0x117)+_0x4508a9),_0x159a6d(_0x4508a9));});}[a6_0xfd443c(0x113)](_0x5c7aae,_0x300f6c,_0x47d694){const _0x452dc4=a6_0xfd443c,_0x12c8e9=this[_0x452dc4(0x105)]+encodeURIComponent(_0x5c7aae['id'])+_0x452dc4(0xe9),_0x9d03ad={'uri':_0x12c8e9,'method':_0x452dc4(0xd3),'json':!![],'body':_0x300f6c};this[_0x452dc4(0xb6)](_0x9d03ad,(_0x1edfd6,_0x99feab,_0x30cecf)=>{const _0x4e1fd4=_0x452dc4;(!_0x30cecf||Math[_0x4e1fd4(0xf1)](_0x30cecf['status']/0x64)!==0x2)&&(this['logger'][_0x4e1fd4(0xf3)](_0x4e1fd4(0xc1)+_0x1edfd6),_0x47d694(_0x1edfd6));});}[a6_0xfd443c(0xdb)](_0x32cdf4,_0x439560,_0x40c84c){const _0x5e6505=a6_0xfd443c;assert(_0x32cdf4['id'],_0x5e6505(0x112));if(this[_0x5e6505(0xd9)]){const _0x53b13c=Date[_0x5e6505(0x10a)](),_0x1b5592=this[_0x5e6505(0xd9)]+this['config'][_0x5e6505(0x128)][_0x5e6505(0xe8)];if(_0x53b13c<_0x1b5592){this['logger'][_0x5e6505(0xff)]('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+((_0x1b5592-_0x53b13c)/0x3e8+_0x5e6505(0x8f)));return;}}const _0x40a26e=(0x0,fs_1[_0x5e6505(0xdc)])(_0x40c84c)[_0x5e6505(0xf5)],_0x554ead=Math[_0x5e6505(0x11b)](0x0,_0x40a26e-this['config'][_0x5e6505(0x128)][_0x5e6505(0xf8)]),_0x4a515e=(0x0,fs_1['createReadStream'])(_0x40c84c,{'start':_0x554ead}),_0x5efdb9=(0x0,zlib_1['createGzip'])(),_0x1a5cfa=new memory_streams_1[(_0x5e6505(0x10b))](),_0x58f2a3=this;_0x58f2a3[_0x5e6505(0xa1)][_0x5e6505(0xff)]('Compressing\x20and\x20sending\x20log\x20file\x20'+_0x40c84c+_0x5e6505(0xed)+_0x439560),(0x0,stream_1[_0x5e6505(0x11d)])(_0x4a515e,_0x5efdb9,_0x1a5cfa,_0x307fea=>{const _0x2a9b9c=_0x5e6505;if(_0x307fea)_0x58f2a3[_0x2a9b9c(0xa1)]['error'](_0x2a9b9c(0x91)+_0x40c84c+':\x20'+_0x307fea);else{const _0x45241c={'uri':this[_0x2a9b9c(0x105)]+encodeURIComponent(_0x32cdf4['id'])+_0x2a9b9c(0xa9)+_0x439560,'method':_0x2a9b9c(0x101),'body':_0x1a5cfa['toBuffer']()};_0x58f2a3[_0x2a9b9c(0xb6)](_0x45241c,_0x226b59=>{const _0x1ac862=_0x2a9b9c;_0x226b59?_0x58f2a3[_0x1ac862(0xa1)][_0x1ac862(0xb3)](_0x1ac862(0x96)+_0x40c84c+_0x1ac862(0x124)+_0x439560,_0x226b59):(_0x58f2a3[_0x1ac862(0xa1)]['info']('Successfully\x20sent\x20log\x20file\x20'+_0x40c84c+'\x20for\x20request\x20'+_0x439560),_0x58f2a3[_0x1ac862(0xd9)]=Date[_0x1ac862(0x10a)]());});}});}[a6_0xfd443c(0xc4)](_0x528d90){const _0x7f1dc7=a6_0xfd443c;this[_0x7f1dc7(0xa1)][_0x7f1dc7(0xe4)](_0x7f1dc7(0xcc)),this[_0x7f1dc7(0xde)]=undefined;const _0x4d0ed8=[];let _0x81175c=0x0;while(_0x4d0ed8[_0x7f1dc7(0xf4)]<this['config']['transmissionBulkMaxSize']&&this['transmissionQueue'][_0x7f1dc7(0xf4)]>0x0){const _0x4e97d3=this[_0x7f1dc7(0xcb)][0x0],_0x2f4d0a=_0x4e97d3[_0x7f1dc7(0xb1)],_0x4b9502=(0x0,utils_1[_0x7f1dc7(0x98)])(_0x2f4d0a);_0x81175c+=_0x4b9502;if(_0x81175c<=this[_0x7f1dc7(0x95)][_0x7f1dc7(0xfa)])_0x4d0ed8[_0x7f1dc7(0xa0)](_0x4e97d3),this[_0x7f1dc7(0xcb)][_0x7f1dc7(0x92)]();else{_0x4b9502>this[_0x7f1dc7(0x95)][_0x7f1dc7(0xfa)]&&_0x4d0ed8[_0x7f1dc7(0xf4)]===0x0&&(this[_0x7f1dc7(0xa1)]['debug'](_0x7f1dc7(0x121)+_0x4e97d3['id']+_0x7f1dc7(0xca)+this[_0x7f1dc7(0x95)][_0x7f1dc7(0xfa)]+_0x7f1dc7(0xef)),_0x4d0ed8[_0x7f1dc7(0xa0)](_0x4e97d3),this[_0x7f1dc7(0xcb)][_0x7f1dc7(0x92)]());break;}}if(!_0x4d0ed8)return;const _0x1b45bd=_0x4d0ed8[_0x7f1dc7(0xfc)](_0x5cf673=>_0x5cf673['id']),_0xc75bc1={'uri':this['apiUrl']+encodeURIComponent(_0x528d90)+_0x7f1dc7(0xfb),'json':!![],'method':_0x7f1dc7(0x101),'body':'['+_0x4d0ed8[_0x7f1dc7(0xfc)](_0x14d2a2=>_0x14d2a2[_0x7f1dc7(0xb1)])['join'](',')+']'},_0x1da228=this;try{this[_0x7f1dc7(0xb6)](_0xc75bc1,(_0x20b80a,_0x3191d0,_0x302622)=>{const _0x4b6de2=_0x7f1dc7,_0x378835=_0x302622?.[_0x4b6de2(0x10c)];_0x1da228['logger']['debug'](_0x4b6de2(0xaf)+_0x1b45bd+_0x4b6de2(0x127)+_0x378835);if(_0x20b80a||!_0x378835||Math['floor'](_0x378835/0x64)!==0x2){const _0xacd0bc=_0x378835&&(_0x378835>=0x1f4||_0x378835===0x198);if(_0xacd0bc){_0x1da228[_0x4b6de2(0xa1)][_0x4b6de2(0xf3)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x1b45bd+_0x4b6de2(0x94)+_0x378835+_0x4b6de2(0x9e)+_0x20b80a);for(const _0x7b131a of _0x4d0ed8){_0x7b131a[_0x4b6de2(0xd6)]<MAX_FAILED_SEND_ATTEMPTS?_0x1da228[_0x4b6de2(0xcb)][_0x4b6de2(0xa0)]({..._0x7b131a,'number':_0x7b131a[_0x4b6de2(0xd6)]+0x1}):_0x1da228['logger'][_0x4b6de2(0xf3)](_0x4b6de2(0xee)+_0x7b131a['id']+_0x4b6de2(0x11f));}}else _0x1da228[_0x4b6de2(0xa1)]['warn'](_0x4b6de2(0xf7)+_0x1b45bd+_0x4b6de2(0x94)+_0x378835+_0x4b6de2(0x9e)+_0x20b80a);}else _0x1da228[_0x4b6de2(0xa1)]['info'](_0x4b6de2(0xaf)+_0x1b45bd+'\x20transmitted\x20successfully');_0x1da228[_0x4b6de2(0xcb)][_0x4b6de2(0xf4)]>0x0&&(_0x1da228['transmissionTimeout']=setTimeout(()=>_0x1da228[_0x4b6de2(0xc4)]['bind'](_0x1da228)(_0x528d90),0x0));},0x28);}catch(_0x4bd8c5){this[_0x7f1dc7(0xa1)][_0x7f1dc7(0xf3)](_0x7f1dc7(0xf7)+_0x1b45bd+_0x7f1dc7(0x119)+_0x4bd8c5+_0x7f1dc7(0x9a)+_0x4bd8c5[_0x7f1dc7(0xbc)]?.[_0x7f1dc7(0xcf)]),_0x1da228[_0x7f1dc7(0xcb)][_0x7f1dc7(0xf4)]>0x0&&(_0x1da228[_0x7f1dc7(0xde)]=setTimeout(()=>_0x1da228[_0x7f1dc7(0xc4)][_0x7f1dc7(0xd5)](_0x1da228)(_0x528d90),0x0));}}async['getBlocklist'](_0x5a7a1a){const _0xd87e=a6_0xfd443c;this[_0xd87e(0xa1)][_0xd87e(0xff)](_0xd87e(0x123));const _0x5e199f=this['apiUrl']+encodeURIComponent(_0x5a7a1a)+_0xd87e(0xdf),{error:_0x43a06f,data:_0x45b344}=await this[_0xd87e(0xb6)]({'uri':_0x5e199f,'json':!![]});if(_0x43a06f)return Promise['reject'](_0x43a06f);return yaml['load'](_0x45b344)||{};}['makeRequest'](_0xcfc5ab,_0x2abcc1,_0x1aaba9,_0x2a6403){const _0x5911e7=a6_0xfd443c,_0x3f44f6={'Content-Type':_0x2a6403?_0x2a6403:_0x5911e7(0x110),'Authorization':'Bearer\x20'+this[_0x5911e7(0x95)][_0x5911e7(0xc8)]},_0x31c722=axios_1[_0x5911e7(0xa7)]['CancelToken'][_0x5911e7(0x10f)](),_0x1c9384=_0x1aaba9?_0x1aaba9*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this['logger']['debug'](_0x5911e7(0xaa)+_0x1c9384);const _0x2ee965=setTimeout(()=>{const _0x26af30=_0x5911e7;this['logger'][_0x26af30(0xf3)](_0x26af30(0xae)+_0x1c9384+'ms'),_0x31c722[_0x26af30(0x8d)]();},_0x1c9384),_0x57e667={'method':_0xcfc5ab[_0x5911e7(0x118)],'url':_0xcfc5ab['uri'],'data':_0xcfc5ab['body'],'headers':_0x3f44f6,'cancelToken':_0x31c722[_0x5911e7(0xbb)]};return extend(!![],_0x57e667,_0xcfc5ab),this['axios']['request'](_0x57e667)[_0x5911e7(0xf2)](_0x4355b0=>{const _0x53d729=_0x5911e7;return _0x2abcc1?.(null,_0x4355b0[_0x53d729(0xbc)],_0x4355b0),{'error':null,'data':_0x4355b0[_0x53d729(0xbc)],'res':_0x4355b0};})[_0x5911e7(0x106)](_0x4330a2=>{const _0x5ba1ff=_0x5911e7;return _0x2abcc1?.(_0x4330a2,_0x4330a2[_0x5ba1ff(0x8c)]?.[_0x5ba1ff(0xbc)],_0x4330a2[_0x5ba1ff(0x8c)]),{'error':_0x4330a2,'data':_0x4330a2[_0x5ba1ff(0x8c)]?.[_0x5ba1ff(0xbc)],'res':_0x4330a2[_0x5ba1ff(0x8c)]};})[_0x5911e7(0xe2)](()=>clearTimeout(_0x2ee965));}async[a6_0xfd443c(0xc0)](_0x154b15){const _0xdb88db=a6_0xfd443c;this['logger'][_0xdb88db(0xff)](_0xdb88db(0xe5));const _0x1e9041=this[_0xdb88db(0x105)]+encodeURIComponent(_0x154b15)+'/redaction',{error:_0x37d036,data:_0x490a93}=await this[_0xdb88db(0xb6)]({'uri':_0x1e9041,'json':!![]});if(_0x37d036)return Promise[_0xdb88db(0xec)](_0x37d036);return _0x490a93;}}exports[a6_0xfd443c(0xc7)]=Controller;function is2xx(_0x327822){return Math['floor'](_0x327822/0x64)===0x2;}function getProxyAgent(_0x4d4d40,_0x4c36dc){const _0x136aeb=a6_0xfd443c,_0x59f1d1=_0x4d4d40[_0x136aeb(0x10d)];if(!_0x59f1d1?.[_0x136aeb(0xe7)])return undefined;if(!_0x59f1d1[_0x136aeb(0x104)])return _0x4c36dc[_0x136aeb(0xb3)](_0x136aeb(0xc2)),undefined;_0x4c36dc[_0x136aeb(0xff)](_0x136aeb(0xc3)+_0x59f1d1['host']+':'+_0x59f1d1['port']+_0x136aeb(0xbf)+(_0x59f1d1[_0x136aeb(0x108)]??''));const _0x32f051=new HttpsProxyAgent({'host':_0x59f1d1[_0x136aeb(0xe7)],'port':_0x59f1d1[_0x136aeb(0x104)],'auth':_0x59f1d1[_0x136aeb(0x108)]||_0x59f1d1[_0x136aeb(0xc5)]?(_0x59f1d1[_0x136aeb(0x108)]??'')+':'+(_0x59f1d1[_0x136aeb(0xc5)]??''):undefined}),_0x45a95d=_0x32f051[_0x136aeb(0xa5)]['bind'](_0x32f051),_0x4abec5=getHttpsAgentOptions(_0x4d4d40,_0x4c36dc);return _0x32f051[_0x136aeb(0xa5)]=(_0x33f067,_0x2c18a7)=>{return _0x45a95d(_0x33f067,{..._0x2c18a7,..._0x4abec5});},_0x32f051;}function getHttpsAgentOptions(_0x1c6d63,_0x1f6ff9){const _0x226a58=a6_0xfd443c,_0x53a77a={'checkServerIdentity':(_0x1277fa,_0x72f0bc)=>{const _0x13fa8f=a6_0x9941;if(_0x1c6d63[_0x13fa8f(0xcd)])return undefined;const _0x399a7d=(0x0,crypto_1[_0x13fa8f(0x102)])(_0x13fa8f(0xe1))[_0x13fa8f(0x103)](_0x72f0bc[_0x13fa8f(0x8a)])[_0x13fa8f(0xbd)](_0x13fa8f(0x10e));return _0x1c6d63[_0x13fa8f(0xa4)][_0x13fa8f(0xdd)](_0x399a7d)?undefined:new Error(_0x13fa8f(0x99));}};let _0x336629;if(_0x1c6d63['caPath'])try{_0x336629=(0x0,fs_1[_0x226a58(0x90)])(_0x1c6d63[_0x226a58(0xea)],_0x226a58(0xac));}catch(_0x46aff0){_0x1f6ff9[_0x226a58(0xf3)](_0x226a58(0x8b)+_0x1c6d63[_0x226a58(0xea)]+'\x22\x20-\x20ignoring\x20it');}if(_0x336629){const _0x211eb1=(0x0,tls_1[_0x226a58(0xba)])(_0x53a77a);_0x211eb1[_0x226a58(0x114)]['addCACert'](_0x336629),_0x53a77a[_0x226a58(0xbe)]=_0x211eb1;}return _0x53a77a;}
|
|
1
|
+
const a6_0x319304=a6_0x5857;(function(_0xa0f8ad,_0x968161){const _0x27ddd6=a6_0x5857,_0x107006=_0xa0f8ad();while(!![]){try{const _0xa112b0=-parseInt(_0x27ddd6(0x155))/0x1*(parseInt(_0x27ddd6(0x197))/0x2)+parseInt(_0x27ddd6(0x168))/0x3*(-parseInt(_0x27ddd6(0x147))/0x4)+-parseInt(_0x27ddd6(0x10d))/0x5*(parseInt(_0x27ddd6(0x156))/0x6)+parseInt(_0x27ddd6(0x109))/0x7*(parseInt(_0x27ddd6(0x149))/0x8)+-parseInt(_0x27ddd6(0x160))/0x9*(-parseInt(_0x27ddd6(0x12a))/0xa)+-parseInt(_0x27ddd6(0x15a))/0xb+parseInt(_0x27ddd6(0x19d))/0xc*(parseInt(_0x27ddd6(0x129))/0xd);if(_0xa112b0===_0x968161)break;else _0x107006['push'](_0x107006['shift']());}catch(_0x548174){_0x107006['push'](_0x107006['shift']());}}}(a6_0x21b4,0xb3e56));const a6_0x1b242c=(function(){let _0x3b0d25=!![];return function(_0x49c8c8,_0x419a01){const _0x2f94e2=_0x3b0d25?function(){if(_0x419a01){const _0x2535df=_0x419a01['apply'](_0x49c8c8,arguments);return _0x419a01=null,_0x2535df;}}:function(){};return _0x3b0d25=![],_0x2f94e2;};}()),a6_0x3df91d=a6_0x1b242c(this,function(){const _0x2c6468=a6_0x5857;return a6_0x3df91d[_0x2c6468(0x125)]()[_0x2c6468(0x165)](_0x2c6468(0x16a))[_0x2c6468(0x125)]()[_0x2c6468(0x143)](a6_0x3df91d)[_0x2c6468(0x165)](_0x2c6468(0x16a));});function a6_0x5857(_0x1ffbf7,_0x4979ac){const _0x4f5e19=a6_0x21b4();return a6_0x5857=function(_0x3df91d,_0x1b242c){_0x3df91d=_0x3df91d-0x109;let _0x21b43f=_0x4f5e19[_0x3df91d];return _0x21b43f;},a6_0x5857(_0x1ffbf7,_0x4979ac);}a6_0x3df91d();'use strict';Object['defineProperty'](exports,a6_0x319304(0x11d),{'value':!![]}),exports[a6_0x319304(0x15d)]=void 0x0;const common_1=require(a6_0x319304(0x14d)),assert=require(a6_0x319304(0x18c)),qs=require(a6_0x319304(0x159)),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require(a6_0x319304(0x123)),stream_1=require(a6_0x319304(0x17e)),memory_streams_1=require(a6_0x319304(0x18f)),tls_1=require(a6_0x319304(0x173)),extend=require(a6_0x319304(0x1a0)),axios_1=require(a6_0x319304(0x162)),https=require(a6_0x319304(0x164)),utils_1=require('./util/utils'),HttpsProxyAgent=require(a6_0x319304(0x140)),yaml=require(a6_0x319304(0x199)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1['ServiceObject']{constructor(_0x323fbc,_0x18454e,_0x1b5b27){const _0x86819d=a6_0x319304;super({'parent':_0x323fbc,'baseUrl':'/controller'}),this[_0x86819d(0x18a)]=null,this['config']=_0x18454e,this[_0x86819d(0x137)]=[],this[_0x86819d(0x17d)]=_0x1b5b27,this[_0x86819d(0x161)]=_0x86819d(0x15f)+_0x18454e[_0x86819d(0x13d)]+_0x86819d(0x14c),this[_0x86819d(0x162)]=axios_1[_0x86819d(0x11b)][_0x86819d(0x194)]({'httpsAgent':getProxyAgent(_0x18454e,_0x1b5b27)??new https[(_0x86819d(0x186))](getHttpsAgentOptions(_0x18454e,_0x1b5b27)),'proxy':![]});}[a6_0x319304(0x126)](_0x412ca8,_0x45e8b8){const _0x1f60de=a6_0x319304,_0x484b18={'uri':this[_0x1f60de(0x161)]+_0x1f60de(0x126),'method':_0x1f60de(0x131),'json':!![],'body':{'debuggee':_0x412ca8}};this[_0x1f60de(0x134)](_0x484b18,(_0x2d572c,_0x57bd98,_0x32297d)=>{const _0x373f7c=_0x1f60de;if(!_0x32297d)_0x45e8b8(_0x2d572c||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0x2d572c){let _0x431e51=![];_0x32297d[_0x373f7c(0x19b)]===HTTP_UPGRADE_REQUIRED&&_0x57bd98&&(_0x57bd98[_0x373f7c(0x15e)]!==undefined&&(_0x2d572c[_0x373f7c(0x15e)]=_0x57bd98[_0x373f7c(0x15e)]),_0x412ca8['id']=_0x57bd98[_0x373f7c(0x152)]['id'],_0x431e51=!![]),_0x45e8b8(_0x2d572c,_0x57bd98,_0x431e51);}else{if(_0x32297d['status']!==HTTP_SUCCESS)_0x45e8b8(new Error(_0x373f7c(0x188)+_0x32297d[_0x373f7c(0x19b)]));else!_0x57bd98?.[_0x373f7c(0x152)]?_0x45e8b8(new Error(_0x373f7c(0x18d))):(_0x412ca8['id']=_0x57bd98[_0x373f7c(0x152)]['id'],_0x45e8b8(null,_0x57bd98));}}});}['listBreakpoints'](_0xac6679,_0x19ddef,_0x232ca3){const _0x1e93cb=a6_0x319304,_0x6ec89f=this;assert(_0xac6679['id'],_0x1e93cb(0x19e));const _0x206311={'successOnTimeout':!![]};_0x6ec89f[_0x1e93cb(0x18a)]&&(_0x206311['waitToken']=_0x6ec89f[_0x1e93cb(0x18a)]);const _0x3f7840=this[_0x1e93cb(0x161)]+encodeURIComponent(_0xac6679['id'])+_0x1e93cb(0x119)+qs[_0x1e93cb(0x10e)](_0x206311);_0x6ec89f['makeRequest']({'uri':_0x3f7840,'json':!![]},(_0x511501,_0xc5d7c5,_0x590d9b)=>{const _0x10ceae=_0x1e93cb;if(!_0x590d9b){_0x19ddef(_0x511501||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));return;}else{if(!is2xx(_0x590d9b['status'])){_0x19ddef(new Error(_0x10ceae(0x146)+_0x590d9b[_0x10ceae(0x19b)]),_0x590d9b);return;}else _0xc5d7c5&&(_0x6ec89f[_0x10ceae(0x18a)]=_0xc5d7c5[_0x10ceae(0x18a)]),_0x19ddef(null,_0x590d9b,_0xc5d7c5);}},_0x232ca3);}[a6_0x319304(0x14a)](_0x3ed111,_0x317bec){const _0xe570d9=a6_0x319304;assert(_0x3ed111['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x48e529=JSON[_0xe570d9(0x10e)](_0x317bec),_0x141eff=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x48e529);if(_0x141eff>=this[_0xe570d9(0x196)][_0xe570d9(0x193)]){this[_0xe570d9(0x17d)][_0xe570d9(0x117)](_0xe570d9(0x191)+_0x317bec['id']+_0xe570d9(0x169)+_0x141eff+'\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20'+this[_0xe570d9(0x196)][_0xe570d9(0x193)]);return;}this[_0xe570d9(0x137)][_0xe570d9(0x177)]({'id':_0x317bec['id'],'serializedJson':_0x48e529,'number':0x0});if(!this['transmissionTimeout']){const _0x43deb1=this;this[_0xe570d9(0x151)]=setTimeout(()=>_0x43deb1[_0xe570d9(0x145)][_0xe570d9(0x113)](_0x43deb1)(_0x3ed111['id']),0x0);}}catch(_0x3c0c94){this['logger'][_0xe570d9(0x18e)](_0xe570d9(0x13b)+_0x317bec['id']+_0xe570d9(0x19c),_0x3c0c94);return;}}['clearTransmissionTimeout'](){const _0x425985=a6_0x319304;if(!this['transmissionTimeout'])return;clearTimeout(this[_0x425985(0x151)]),this[_0x425985(0x151)]=null;}[a6_0x319304(0x12e)](_0x2e5468,_0x1d96c2){const _0x239358=a6_0x319304,_0xdbc2=this['apiUrl']+encodeURIComponent(_0x2e5468['id'])+_0x239358(0x180),_0x3031b5={'uri':_0xdbc2,'method':_0x239358(0x131),'json':!![]};this[_0x239358(0x17d)]['info']('Deregister\x20agent\x20before\x20shutdown'),this[_0x239358(0x134)](_0x3031b5,(_0x460449,_0x40d29d,_0x413160)=>{const _0x35c76b=_0x239358;(!_0x413160||Math[_0x35c76b(0x121)](_0x413160[_0x35c76b(0x19b)]/0x64)!==0x2)&&this[_0x35c76b(0x17d)][_0x35c76b(0x117)](_0x35c76b(0x174)+_0x460449),_0x1d96c2(_0x460449);});}['sendBreakpointLogsToServer'](_0x28e38c,_0x2fdfe2,_0x376e93){const _0x2fc504=a6_0x319304,_0x145b09=this[_0x2fc504(0x161)]+encodeURIComponent(_0x28e38c['id'])+_0x2fc504(0x11e),_0x2e388d={'uri':_0x145b09,'method':_0x2fc504(0x131),'json':!![],'body':_0x2fdfe2};this[_0x2fc504(0x134)](_0x2e388d,(_0x42bcab,_0x43c9ae,_0x1e3337)=>{const _0x597b85=_0x2fc504;(!_0x1e3337||Math[_0x597b85(0x121)](_0x1e3337[_0x597b85(0x19b)]/0x64)!==0x2)&&(this[_0x597b85(0x17d)][_0x597b85(0x117)](_0x597b85(0x110)+_0x42bcab),_0x376e93(_0x42bcab));});}[a6_0x319304(0x172)](_0x4077ff,_0x39efb9,_0x2dea99){const _0x3daaae=a6_0x319304,_0x311c61=this[_0x3daaae(0x161)]+encodeURIComponent(_0x4077ff['id'])+_0x3daaae(0x14b),_0xc6f500={'uri':_0x311c61,'method':_0x3daaae(0x131),'json':!![],'body':_0x39efb9};this['makeRequest'](_0xc6f500,(_0x442d53,_0x24dc1c,_0x409c64)=>{const _0x2eb73a=_0x3daaae;(!_0x409c64||Math['floor'](_0x409c64['status']/0x64)!==0x2)&&(this[_0x2eb73a(0x17d)]['warn']('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x442d53),_0x2dea99(_0x442d53));});}['sendAgentLogsToServer'](_0x32c9f9,_0x4df3fd,_0x329152){const _0xa5418f=a6_0x319304;assert(_0x32c9f9['id'],_0xa5418f(0x19e));if(this[_0xa5418f(0x157)]){const _0x25a053=Date[_0xa5418f(0x178)](),_0x3215e4=this['lastLogCollectionTime']+this['config']['agentLog'][_0xa5418f(0x167)];if(_0x25a053<_0x3215e4){this[_0xa5418f(0x17d)]['info'](_0xa5418f(0x16c)+((_0x3215e4-_0x25a053)/0x3e8+_0xa5418f(0x120)));return;}}const _0x38721b=(0x0,fs_1[_0xa5418f(0x111)])(_0x329152)[_0xa5418f(0x139)],_0x928d8c=Math[_0xa5418f(0x17a)](0x0,_0x38721b-this['config']['agentLog'][_0xa5418f(0x124)]),_0x5b51d9=(0x0,fs_1[_0xa5418f(0x15c)])(_0x329152,{'start':_0x928d8c}),_0x5a6faf=(0x0,zlib_1[_0xa5418f(0x130)])(),_0x585989=new memory_streams_1[(_0xa5418f(0x18b))](),_0x442674=this;_0x442674[_0xa5418f(0x17d)][_0xa5418f(0x136)](_0xa5418f(0x14e)+_0x329152+'\x20for\x20request\x20id\x20'+_0x4df3fd),(0x0,stream_1[_0xa5418f(0x115)])(_0x5b51d9,_0x5a6faf,_0x585989,_0x394758=>{const _0x31c15f=_0xa5418f;if(_0x394758)_0x442674[_0x31c15f(0x17d)][_0x31c15f(0x18e)](_0x31c15f(0x128)+_0x329152+':\x20'+_0x394758);else{const _0x1c8581={'uri':this[_0x31c15f(0x161)]+encodeURIComponent(_0x32c9f9['id'])+_0x31c15f(0x11c)+_0x4df3fd,'method':_0x31c15f(0x179),'body':_0x585989['toBuffer']()};_0x442674[_0x31c15f(0x134)](_0x1c8581,_0x15a60b=>{const _0x498603=_0x31c15f;_0x15a60b?_0x442674['logger'][_0x498603(0x18e)](_0x498603(0x13c)+_0x329152+'\x20for\x20request\x20'+_0x4df3fd,_0x15a60b):(_0x442674[_0x498603(0x17d)][_0x498603(0x136)](_0x498603(0x148)+_0x329152+'\x20for\x20request\x20'+_0x4df3fd),_0x442674[_0x498603(0x157)]=Date['now']());});}});}[a6_0x319304(0x145)](_0x50b63f){const _0xab6788=a6_0x319304;this['logger']['debug']('Transmitting\x20breakpoint\x20updates...'),this[_0xab6788(0x151)]=undefined;const _0x3bd55f=[];let _0x48f12=0x0;while(_0x3bd55f[_0xab6788(0x16b)]<this[_0xab6788(0x196)][_0xab6788(0x176)]&&this[_0xab6788(0x137)][_0xab6788(0x16b)]>0x0){const _0x269389=this['transmissionQueue'][0x0],_0x3ad012=_0x269389[_0xab6788(0x12c)],_0x25f930=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x3ad012);_0x48f12+=_0x25f930;if(_0x48f12<=this[_0xab6788(0x196)][_0xab6788(0x154)])_0x3bd55f[_0xab6788(0x177)](_0x269389),this['transmissionQueue']['shift']();else{_0x25f930>this['config'][_0xab6788(0x154)]&&_0x3bd55f['length']===0x0&&(this[_0xab6788(0x17d)]['debug'](_0xab6788(0x1a2)+_0x269389['id']+_0xab6788(0x15b)+this['config'][_0xab6788(0x154)]+_0xab6788(0x175)),_0x3bd55f['push'](_0x269389),this[_0xab6788(0x137)][_0xab6788(0x144)]());break;}}if(!_0x3bd55f)return;const _0x3431a0=_0x3bd55f[_0xab6788(0x12f)](_0x581a10=>_0x581a10['id']),_0x22b970={'uri':this['apiUrl']+encodeURIComponent(_0x50b63f)+'/breakpoints','json':!![],'method':_0xab6788(0x179),'body':'['+_0x3bd55f[_0xab6788(0x12f)](_0x17b772=>_0x17b772[_0xab6788(0x12c)])[_0xab6788(0x10b)](',')+']'},_0x242bbf=this;try{this[_0xab6788(0x134)](_0x22b970,(_0x1bd4a3,_0x2d8ca8,_0x4c15c9)=>{const _0x194c2b=_0xab6788,_0x2185ca=_0x4c15c9?.['status'];_0x242bbf['logger']['debug'](_0x194c2b(0x182)+_0x3431a0+_0x194c2b(0x181)+_0x2185ca);if(_0x1bd4a3||!_0x2185ca||Math['floor'](_0x2185ca/0x64)!==0x2){const _0x1debc8=_0x2185ca&&(_0x2185ca>=0x1f4||_0x2185ca===0x198);if(_0x1debc8){_0x242bbf['logger']['warn'](_0x194c2b(0x192)+_0x3431a0+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x2185ca+_0x194c2b(0x19f)+_0x1bd4a3);for(const _0x24ee69 of _0x3bd55f){_0x24ee69['number']<MAX_FAILED_SEND_ATTEMPTS?_0x242bbf['transmissionQueue']['push']({..._0x24ee69,'number':_0x24ee69[_0x194c2b(0x170)]+0x1}):_0x242bbf[_0x194c2b(0x17d)]['warn'](_0x194c2b(0x138)+_0x24ee69['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else _0x242bbf[_0x194c2b(0x17d)][_0x194c2b(0x117)](_0x194c2b(0x163)+_0x3431a0+_0x194c2b(0x198)+_0x2185ca+_0x194c2b(0x19f)+_0x1bd4a3);}else _0x242bbf[_0x194c2b(0x17d)][_0x194c2b(0x136)]('Update\x20for\x20breakpoints\x20'+_0x3431a0+_0x194c2b(0x118));_0x242bbf[_0x194c2b(0x137)][_0x194c2b(0x16b)]>0x0&&(_0x242bbf[_0x194c2b(0x151)]=setTimeout(()=>_0x242bbf[_0x194c2b(0x145)][_0x194c2b(0x113)](_0x242bbf)(_0x50b63f),0x0));},0x28);}catch(_0x524bfe){this[_0xab6788(0x17d)][_0xab6788(0x117)](_0xab6788(0x163)+_0x3431a0+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x524bfe+_0xab6788(0x195)+_0x524bfe['data']?.['message']),_0x242bbf['transmissionQueue'][_0xab6788(0x16b)]>0x0&&(_0x242bbf['transmissionTimeout']=setTimeout(()=>_0x242bbf[_0xab6788(0x145)]['bind'](_0x242bbf)(_0x50b63f),0x0));}}async['getBlocklist'](_0x4f00b3){const _0x35ed98=a6_0x319304;this[_0x35ed98(0x17d)][_0x35ed98(0x136)](_0x35ed98(0x133));const _0x19c7da=this['apiUrl']+encodeURIComponent(_0x4f00b3)+_0x35ed98(0x122),{error:_0xf07b88,data:_0x3a10ed}=await this[_0x35ed98(0x134)]({'uri':_0x19c7da,'json':!![]});if(_0xf07b88)return Promise[_0x35ed98(0x17b)](_0xf07b88);return yaml['load'](_0x3a10ed)||{};}[a6_0x319304(0x134)](_0x31c3b1,_0x50f87c,_0x19f694,_0x1d7cf2){const _0x10392b=a6_0x319304,_0x1e4e16={'Content-Type':_0x1d7cf2?_0x1d7cf2:_0x10392b(0x187),'Authorization':_0x10392b(0x12d)+this[_0x10392b(0x196)]['lightrunSecret']},_0x336052=axios_1['default'][_0x10392b(0x112)]['source'](),_0xb01fed=_0x19f694?_0x19f694*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x10392b(0x17d)][_0x10392b(0x16f)](_0x10392b(0x16e)+_0xb01fed);const _0x350d88=setTimeout(()=>{const _0x1ff6c1=_0x10392b;this[_0x1ff6c1(0x17d)][_0x1ff6c1(0x117)](_0x1ff6c1(0x13e)+_0xb01fed+'ms'),_0x336052[_0x1ff6c1(0x10f)]();},_0xb01fed),_0x4d448a={'method':_0x31c3b1[_0x10392b(0x17f)],'url':_0x31c3b1['uri'],'data':_0x31c3b1[_0x10392b(0x153)],'headers':_0x1e4e16,'cancelToken':_0x336052[_0x10392b(0x13a)]};return extend(!![],_0x4d448a,_0x31c3b1),this[_0x10392b(0x162)][_0x10392b(0x158)](_0x4d448a)['then'](_0x29c4ed=>{const _0x152a1f=_0x10392b;return _0x50f87c?.(null,_0x29c4ed[_0x152a1f(0x116)],_0x29c4ed),{'error':null,'data':_0x29c4ed[_0x152a1f(0x116)],'res':_0x29c4ed};})[_0x10392b(0x141)](_0x38054f=>{const _0x2b7491=_0x10392b;return _0x50f87c?.(_0x38054f,_0x38054f[_0x2b7491(0x1a1)]?.[_0x2b7491(0x116)],_0x38054f['response']),{'error':_0x38054f,'data':_0x38054f['response']?.[_0x2b7491(0x116)],'res':_0x38054f[_0x2b7491(0x1a1)]};})[_0x10392b(0x12b)](()=>clearTimeout(_0x350d88));}async[a6_0x319304(0x171)](_0x5628ee){const _0x153610=a6_0x319304;this[_0x153610(0x17d)][_0x153610(0x136)](_0x153610(0x14f));const _0x391bdf=this[_0x153610(0x161)]+encodeURIComponent(_0x5628ee)+'/redaction',{error:_0x12d545,data:_0x409a4c}=await this[_0x153610(0x134)]({'uri':_0x391bdf,'json':!![]});if(_0x12d545)return Promise['reject'](_0x12d545);return _0x409a4c;}}exports[a6_0x319304(0x15d)]=Controller;function is2xx(_0x38d7b8){const _0x2cc581=a6_0x319304;return Math[_0x2cc581(0x121)](_0x38d7b8/0x64)===0x2;}function getProxyAgent(_0x348849,_0x2bb77e){const _0x12e9ec=a6_0x319304,_0x45ce8d=_0x348849[_0x12e9ec(0x142)];if(!_0x45ce8d?.[_0x12e9ec(0x11a)])return undefined;if(!_0x45ce8d[_0x12e9ec(0x17c)])return _0x2bb77e['error'](_0x12e9ec(0x10a)),undefined;_0x2bb77e['info'](_0x12e9ec(0x132)+_0x45ce8d[_0x12e9ec(0x11a)]+':'+_0x45ce8d[_0x12e9ec(0x17c)]+_0x12e9ec(0x11f)+(_0x45ce8d[_0x12e9ec(0x166)]??''));const _0x53540a=new HttpsProxyAgent({'host':_0x45ce8d[_0x12e9ec(0x11a)],'port':_0x45ce8d[_0x12e9ec(0x17c)],'auth':_0x45ce8d[_0x12e9ec(0x166)]||_0x45ce8d[_0x12e9ec(0x13f)]?(_0x45ce8d[_0x12e9ec(0x166)]??'')+':'+(_0x45ce8d[_0x12e9ec(0x13f)]??''):undefined}),_0x276d58=_0x53540a['callback'][_0x12e9ec(0x113)](_0x53540a),_0x4076e3=getHttpsAgentOptions(_0x348849,_0x2bb77e);return _0x53540a['callback']=(_0x2e846f,_0x8bf760)=>{return _0x276d58(_0x2e846f,{..._0x8bf760,..._0x4076e3});},_0x53540a;}function getHttpsAgentOptions(_0x18ab4b,_0x543a37){const _0x135bd0=a6_0x319304,_0x2f9d63={'checkServerIdentity':(_0x2e392f,_0x5eb615)=>{const _0x293a31=a6_0x5857;if(_0x18ab4b[_0x293a31(0x19a)])return undefined;const _0x362cf2=(0x0,crypto_1[_0x293a31(0x185)])('sha256')[_0x293a31(0x16d)](_0x5eb615[_0x293a31(0x183)])[_0x293a31(0x127)](_0x293a31(0x150));return _0x18ab4b[_0x293a31(0x114)]['includes'](_0x362cf2)?undefined:new Error(_0x293a31(0x190));}};let _0x546ad2;if(_0x18ab4b[_0x135bd0(0x10c)])try{_0x546ad2=(0x0,fs_1[_0x135bd0(0x184)])(_0x18ab4b[_0x135bd0(0x10c)],'ascii');}catch(_0x467f67){_0x543a37['warn'](_0x135bd0(0x189)+_0x18ab4b['caPath']+'\x22\x20-\x20ignoring\x20it');}if(_0x546ad2){const _0x14589c=(0x0,tls_1['createSecureContext'])(_0x2f9d63);_0x14589c['context']['addCACert'](_0x546ad2),_0x2f9d63[_0x135bd0(0x135)]=_0x14589c;}return _0x2f9d63;}function a6_0x21b4(){const _0x4d4857=['default','/compressedLogFile/','__esModule','/log/',',\x20username:\x20','\x20seconds','floor','/blacklist?successOnTimeout=true','zlib','maxLogFileBytes','toString','register','digest','Failed\x20to\x20zip\x20','1365mHeCAq','155510RtOtnE','finally','serializedJson','Bearer\x20','deregister','map','createGzip','POST','Using\x20proxy\x20configuration:\x20','Getting\x20blocklist','makeRequest','secureContext','info','transmissionQueue','Breakpoint\x20','size','token','failed\x20to\x20serialize\x20breakpoint\x20','Failed\x20to\x20send\x20log\x20file\x20','apiEndpoint','Timeout\x20occurred\x20after\x20','password','https-proxy-agent','catch','proxy','constructor','shift','transmitBreakpointUpdates','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','139228xLcpFS','Successfully\x20sent\x20log\x20file\x20','8294120RAGyqw','enqueueBreakpointUpdate','/appOnlyActionHits/','/debuggees/','@google-cloud/common','Compressing\x20and\x20sending\x20log\x20file\x20','Getting\x20reductions','hex','transmissionTimeout','debuggee','body','transmissionBulkMaxNetworkSizeInBytes','16EsaIvp','12BTEChI','lastLogCollectionTime','request','querystring','8396652TezzOr','\x20size\x20>\x20max\x20network\x20size\x20:\x20','createReadStream','Controller','message','https://','639TEBLAs','apiUrl','axios','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','https','search','username','collectCooldownMs','57uPhvrV','\x20size\x20is\x20','(((.+)+)+)+$','length','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','update','timeout\x20set\x20to\x20','debug','number','getRedactions','sendAppOnlyBreakpointHitsToServer','tls','Failed\x20to\x20deregister\x20agent,\x20Error:\x20',',\x20sending\x20only\x20one','transmissionBulkMaxSize','push','now','PUT','max','reject','port','logger','stream','method','/deregister/','\x20finished\x20with\x20status\x20','Update\x20for\x20breakpoints\x20','pubkey','readFileSync','createHash','Agent','application/json','unable\x20to\x20register,\x20status\x20','Failed\x20to\x20read\x20pem\x20file\x20\x22','nextWaitToken','WritableStream','assert','invalid\x20response\x20body\x20from\x20server','error','memory-streams','Certificate\x20Pinning\x20Failed!','breakpointId:\x20','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','transmissionHardMaxNetworkSizeLimitInBytes','create',',\x20Message:\x20','config','140502iYuLoL','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','js-yaml','noCheckCertificate','status','\x20and\x20enqueue\x20to\x20queue','151812uzSrfQ','should\x20have\x20a\x20registered\x20debuggee','\x20Error:\x20','extend','response','breakpoint\x20','7hFzVSS','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','join','caPath','459265FdFBLA','stringify','cancel','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','statSync','CancelToken','bind','pinnedCerts','pipeline','data','warn','\x20transmitted\x20successfully','/breakpoints?','host'];a6_0x21b4=function(){return _0x4d4857;};return a6_0x21b4();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x3ed52e=a7_0x4a8b;(function(_0x5e1316,_0x11632c){const _0x58e42c=a7_0x4a8b,_0x139bb2=_0x5e1316();while(!![]){try{const _0x307fd5=-parseInt(_0x58e42c(0x1c2))/0x1+parseInt(_0x58e42c(0x1da))/0x2*(-parseInt(_0x58e42c(0x1cc))/0x3)+parseInt(_0x58e42c(0x1cb))/0x4+-parseInt(_0x58e42c(0x1dc))/0x5+-parseInt(_0x58e42c(0x1d5))/0x6+-parseInt(_0x58e42c(0x1de))/0x7*(-parseInt(_0x58e42c(0x1e3))/0x8)+-parseInt(_0x58e42c(0x1e2))/0x9*(-parseInt(_0x58e42c(0x1d6))/0xa);if(_0x307fd5===_0x11632c)break;else _0x139bb2['push'](_0x139bb2['shift']());}catch(_0x1ef161){_0x139bb2['push'](_0x139bb2['shift']());}}}(a7_0x3d27,0x6d22f));const a7_0x3690e9=(function(){let _0x223dd7=!![];return function(_0x22f7d5,_0x57caf8){const _0x496e10=_0x223dd7?function(){const _0x41c806=a7_0x4a8b;if(_0x57caf8){const _0x1ed2b8=_0x57caf8[_0x41c806(0x1e5)](_0x22f7d5,arguments);return _0x57caf8=null,_0x1ed2b8;}}:function(){};return _0x223dd7=![],_0x496e10;};}()),a7_0x416432=a7_0x3690e9(this,function(){const _0x4c6d1a=a7_0x4a8b;return a7_0x416432['toString']()[_0x4c6d1a(0x1d2)](_0x4c6d1a(0x1e0))[_0x4c6d1a(0x1c4)]()[_0x4c6d1a(0x1d3)](a7_0x416432)[_0x4c6d1a(0x1d2)]('(((.+)+)+)+$');});function a7_0x3d27(){const _0x43abaa=['1168479aINvaK','755544VhGosT','title','apply','Debuggee','string','getPlatform','node','446146HnmlUd','sourceContexts','toString','relative','versions','cwd','default','service','./createUniquifier','1729808rNpgmz','1707LZXsNl','createDebuggee','name','minorVersion_','version','stringify','search','constructor','./getPlatform','2271972GzRvVR','90CcDnYz','argv','../../client/stackdriver/status-message','StatusMessage','126JKawyI','module','2882910DcnjTo','__esModule','21XZedFy','UNSPECIFIED','(((.+)+)+)+$','createUniquifier'];a7_0x3d27=function(){return _0x43abaa;};return a7_0x3d27();}a7_0x416432();'use strict';Object['defineProperty'](exports,a7_0x3ed52e(0x1dd),{'value':!![]}),exports[a7_0x3ed52e(0x1cd)]=void 0x0;function a7_0x4a8b(_0x56bc4d,_0x21a8f3){const _0x608d0d=a7_0x3d27();return a7_0x4a8b=function(_0x416432,_0x3690e9){_0x416432=_0x416432-0x1c1;let _0x3d2793=_0x608d0d[_0x416432];return _0x3d2793;},a7_0x4a8b(_0x56bc4d,_0x21a8f3);}const path=require('path'),status_message_1=require(a7_0x3ed52e(0x1d8)),debuggee_1=require('../../debuggee'),createDebuggeeMetadata_1=require('./createDebuggeeMetadata'),createUniquifier_1=require(a7_0x3ed52e(0x1ca)),getPlatform_1=require(a7_0x3ed52e(0x1d4)),createDebuggee=(_0x6615b2,_0x2dafab,_0x26b78a,_0x4aa0bc,_0x1417af,_0x2f3032,_0x4e8ee6,_0x287e2e)=>{const _0x1a86c2=a7_0x3ed52e,_0x187637=process[_0x1a86c2(0x1c7)](),_0x2aa474=path[_0x1a86c2(0x1c5)](_0x187637,process[_0x1a86c2(0x1d7)][0x1]),_0x3c5d03={'main\x20script':_0x2aa474,'process.title':process[_0x1a86c2(0x1e4)],'node\x20version':process[_0x1a86c2(0x1c6)][_0x1a86c2(0x1c1)],'V8\x20version':process[_0x1a86c2(0x1c6)]['v8'],'agent.name':_0x4aa0bc[_0x1a86c2(0x1ce)],'agent.version':_0x1417af,'platform':(0x0,getPlatform_1[_0x1a86c2(0x1e8)])()},_0x51e5b0=_0x2dafab['serviceContext'];_0x51e5b0&&(typeof _0x51e5b0[_0x1a86c2(0x1c9)]===_0x1a86c2(0x1e7)&&_0x51e5b0[_0x1a86c2(0x1c9)]!==_0x1a86c2(0x1c8)&&(_0x3c5d03[_0x1a86c2(0x1db)]=_0x51e5b0[_0x1a86c2(0x1c9)]),typeof _0x51e5b0[_0x1a86c2(0x1d0)]===_0x1a86c2(0x1e7)&&(_0x3c5d03[_0x1a86c2(0x1d0)]=_0x51e5b0['version']),typeof _0x51e5b0[_0x1a86c2(0x1cf)]===_0x1a86c2(0x1e7)&&(_0x3c5d03['minorversion']=_0x51e5b0[_0x1a86c2(0x1cf)]));const _0x47b77c=(0x0,createUniquifier_1[_0x1a86c2(0x1e1)])(_0x1417af,_0x6615b2,_0x26b78a,_0x3c5d03),_0x35a98e=_0x287e2e?new status_message_1[(_0x1a86c2(0x1d9))](status_message_1[_0x1a86c2(0x1d9)][_0x1a86c2(0x1df)],_0x287e2e,!![]):undefined,_0x45c4cb=(0x0,createDebuggeeMetadata_1['createDebuggeeMetadata'])(_0x2dafab,_0x2f3032),_0x398c0e={'uniquifier':_0x47b77c,'agentVersion':_0x1417af,'labels':{'metadata':JSON[_0x1a86c2(0x1d1)](_0x45c4cb)},'statusMessage':_0x35a98e,'packageInfo':_0x4aa0bc,..._0x4e8ee6};return _0x26b78a&&(_0x398c0e[_0x1a86c2(0x1c3)]=[_0x26b78a]),new debuggee_1[(_0x1a86c2(0x1e6))](_0x398c0e);};exports['createDebuggee']=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a8_0x5d40(){const _0x48f04f=['2456382JQDJxU','readFileSync','Failed\x20to\x20read\x20metadata\x20file\x20','metadata','36ixTHlP','string','filename','apply','toString','12CJBnoT','5426323VRHNVP','search','387207cfOVCq','registration','utf-8','defineProperty','constructor','map','__esModule','1444289GhpebF','tags','extend','8120365PBJuRu','createDebuggeeMetadata','29129139SBuKUU','3558968eztEig','(((.+)+)+)+$'];a8_0x5d40=function(){return _0x48f04f;};return a8_0x5d40();}const a8_0x3a9762=a8_0x530c;(function(_0x2be86d,_0x112622){const _0x37a2fa=a8_0x530c,_0x1cd1e5=_0x2be86d();while(!![]){try{const _0x5ab09d=parseInt(_0x37a2fa(0x8b))/0x1+parseInt(_0x37a2fa(0x93))/0x2+parseInt(_0x37a2fa(0x84))/0x3*(parseInt(_0x37a2fa(0x97))/0x4)+-parseInt(_0x37a2fa(0x8e))/0x5+parseInt(_0x37a2fa(0x9c))/0x6*(parseInt(_0x37a2fa(0x9d))/0x7)+parseInt(_0x37a2fa(0x91))/0x8+-parseInt(_0x37a2fa(0x90))/0x9;if(_0x5ab09d===_0x112622)break;else _0x1cd1e5['push'](_0x1cd1e5['shift']());}catch(_0x49c7a8){_0x1cd1e5['push'](_0x1cd1e5['shift']());}}}(a8_0x5d40,0xec802));const a8_0x511ef4=(function(){let _0x11f802=!![];return function(_0xe9c21c,_0x17e6f9){const _0xc7d4b1=_0x11f802?function(){const _0x588d90=a8_0x530c;if(_0x17e6f9){const _0x187da2=_0x17e6f9[_0x588d90(0x9a)](_0xe9c21c,arguments);return _0x17e6f9=null,_0x187da2;}}:function(){};return _0x11f802=![],_0xc7d4b1;};}()),a8_0x36ba80=a8_0x511ef4(this,function(){const _0x17b605=a8_0x530c;return a8_0x36ba80[_0x17b605(0x9b)]()[_0x17b605(0x9e)](_0x17b605(0x92))[_0x17b605(0x9b)]()[_0x17b605(0x88)](a8_0x36ba80)[_0x17b605(0x9e)]('(((.+)+)+)+$');});a8_0x36ba80();'use strict';Object[a8_0x3a9762(0x87)](exports,a8_0x3a9762(0x8a),{'value':!![]}),exports[a8_0x3a9762(0x8f)]=void 0x0;function a8_0x530c(_0x2b67c1,_0x5ba607){const _0x220a2f=a8_0x5d40();return a8_0x530c=function(_0x36ba80,_0x511ef4){_0x36ba80=_0x36ba80-0x84;let _0x5d40aa=_0x220a2f[_0x36ba80];return _0x5d40aa;},a8_0x530c(_0x2b67c1,_0x5ba607);}const fs=require('fs'),extend=require(a8_0x3a9762(0x8d)),createDebuggeeMetadata=(_0xe104dd,_0x4f64f1)=>{const _0x4739d9=a8_0x3a9762;let _0x6e49bc={'registration':{}};if(_0xe104dd[_0x4739d9(0x96)]?.['filename'])try{_0x6e49bc=JSON['parse'](fs[_0x4739d9(0x94)](_0xe104dd['metadata'][_0x4739d9(0x99)],_0x4739d9(0x86)));}catch(_0x51ff89){_0x4f64f1['warn'](_0x4739d9(0x95)+_0xe104dd[_0x4739d9(0x96)]['filename'],_0x51ff89);}return _0x6e49bc[_0x4739d9(0x85)]=extend(!![],{},_0xe104dd['metadata']?.[_0x4739d9(0x85)],_0x6e49bc['registration']),_0x6e49bc['registration']?.['tags']&&(_0x6e49bc['registration'][_0x4739d9(0x8c)]=_0x6e49bc[_0x4739d9(0x85)]['tags'][_0x4739d9(0x89)](_0x1154c9=>typeof _0x1154c9===_0x4739d9(0x98)?{'name':_0x1154c9}:_0x1154c9)),_0x6e49bc;};exports[a8_0x3a9762(0x8f)]=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x3d4403=a9_0xf183;(function(_0x3619e6,_0x57a28b){const _0xfeb496=a9_0xf183,_0x11efa7=_0x3619e6();while(!![]){try{const _0x4f1378=parseInt(_0xfeb496(0xe8))/0x1*(-parseInt(_0xfeb496(0xe5))/0x2)+-parseInt(_0xfeb496(0xe3))/0x3*(parseInt(_0xfeb496(0xf2))/0x4)+parseInt(_0xfeb496(0xe6))/0x5*(parseInt(_0xfeb496(0xf5))/0x6)+-parseInt(_0xfeb496(0xf4))/0x7+parseInt(_0xfeb496(0xf3))/0x8+parseInt(_0xfeb496(0xec))/0x9*(parseInt(_0xfeb496(0xef))/0xa)+parseInt(_0xfeb496(0xe2))/0xb;if(_0x4f1378===_0x57a28b)break;else _0x11efa7['push'](_0x11efa7['shift']());}catch(_0x58bf4b){_0x11efa7['push'](_0x11efa7['shift']());}}}(a9_0x1e38,0x9c7d4));const a9_0x6f5800=(function(){let _0x2a70dc=!![];return function(_0x35d7bc,_0x3e88b3){const _0x57b7b2=_0x2a70dc?function(){if(_0x3e88b3){const _0x173e57=_0x3e88b3['apply'](_0x35d7bc,arguments);return _0x3e88b3=null,_0x173e57;}}:function(){};return _0x2a70dc=![],_0x57b7b2;};}()),a9_0x3390a2=a9_0x6f5800(this,function(){const _0x4094f2=a9_0xf183;return a9_0x3390a2[_0x4094f2(0xdf)]()['search'](_0x4094f2(0xf1))[_0x4094f2(0xdf)]()['constructor'](a9_0x3390a2)[_0x4094f2(0xe4)](_0x4094f2(0xf1));});function a9_0xf183(_0x10dd8b,_0x32749b){const _0x29e2cd=a9_0x1e38();return a9_0xf183=function(_0x3390a2,_0x6f5800){_0x3390a2=_0x3390a2-0xde;let _0x1e3885=_0x29e2cd[_0x3390a2];return _0x1e3885;},a9_0xf183(_0x10dd8b,_0x32749b);}a9_0x3390a2();'use strict';Object[a9_0x3d4403(0xde)](exports,a9_0x3d4403(0xe9),{'value':!![]}),exports['createUniquifier']=void 0x0;function a9_0x1e38(){const _0x574f0f=['sha1','createUniquifier','16871888UdJJTo','402RYxJfk','search','12lsEVUT','213770BZsOBE','stringify','176445tTDAae','__esModule','crypto','digest','24426Ejqjmn','hex','update','850tRVDIq','createHash','(((.+)+)+)+$','17188YRrUBx','2139888XyXRoE','1288532PhKSPR','60zjyvPF','defineProperty','toString'];a9_0x1e38=function(){return _0x574f0f;};return a9_0x1e38();}const crypto=require(a9_0x3d4403(0xea)),createUniquifier=(_0x32a30d,_0x5567ab,_0x4dcff0,_0x4a3a12)=>{const _0x3229db=a9_0x3d4403,_0x4858d7=_0x32a30d+_0x5567ab+JSON[_0x3229db(0xe7)](_0x4dcff0)+JSON[_0x3229db(0xe7)](_0x4a3a12);return crypto[_0x3229db(0xf0)](_0x3229db(0xe0))[_0x3229db(0xee)](_0x4858d7)[_0x3229db(0xeb)](_0x3229db(0xed));};exports[a9_0x3d4403(0xe1)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a10_0x30a579=a10_0x329f;(function(_0xb65447,_0x148be0){const _0xabc63e=a10_0x329f,_0x4d5a46=_0xb65447();while(!![]){try{const _0x27018e=parseInt(_0xabc63e(0x199))/0x1*(parseInt(_0xabc63e(0x19e))/0x2)+parseInt(_0xabc63e(0x19d))/0x3+parseInt(_0xabc63e(0x19a))/0x4*(-parseInt(_0xabc63e(0x19b))/0x5)+-parseInt(_0xabc63e(0x1a4))/0x6*(parseInt(_0xabc63e(0x196))/0x7)+-parseInt(_0xabc63e(0x1a1))/0x8*(-parseInt(_0xabc63e(0x1aa))/0x9)+parseInt(_0xabc63e(0x1a0))/0xa+-parseInt(_0xabc63e(0x19f))/0xb*(parseInt(_0xabc63e(0x19c))/0xc);if(_0x27018e===_0x148be0)break;else _0x4d5a46['push'](_0x4d5a46['shift']());}catch(_0x3a8033){_0x4d5a46['push'](_0x4d5a46['shift']());}}}(a10_0x3e4f,0xb5d6c));function a10_0x3e4f(){const _0x3d1798=['(((.+)+)+)+$','defineProperty','push','delimit','__esModule','502776fErxiR','apply','7DbmpwX','search','toString','1VRIXwJ','16drwnrz','1071710gkUaIj','24ozQNlo','2941404DhpEgA','2979176MpxEBu','16314034FKqwis','14224210SaPsmn','104ylLpEP','length','split','302046CwcFlD'];a10_0x3e4f=function(){return _0x3d1798;};return a10_0x3e4f();}const a10_0x4c5634=(function(){let _0x191251=!![];return function(_0x1bdce5,_0x58a972){const _0x204d78=_0x191251?function(){const _0x44621a=a10_0x329f;if(_0x58a972){const _0x56bee1=_0x58a972[_0x44621a(0x195)](_0x1bdce5,arguments);return _0x58a972=null,_0x56bee1;}}:function(){};return _0x191251=![],_0x204d78;};}()),a10_0x2f865f=a10_0x4c5634(this,function(){const _0x267036=a10_0x329f;return a10_0x2f865f[_0x267036(0x198)]()['search']('(((.+)+)+)+$')[_0x267036(0x198)]()['constructor'](a10_0x2f865f)[_0x267036(0x197)](_0x267036(0x1a5));});a10_0x2f865f();function a10_0x329f(_0xf3b60f,_0x43b403){const _0x53adbe=a10_0x3e4f();return a10_0x329f=function(_0x2f865f,_0x4c5634){_0x2f865f=_0x2f865f-0x195;let _0x3e4fcd=_0x53adbe[_0x2f865f];return _0x3e4fcd;},a10_0x329f(_0xf3b60f,_0x43b403);}'use strict';Object[a10_0x30a579(0x1a6)](exports,a10_0x30a579(0x1a9),{'value':!![]}),exports[a10_0x30a579(0x1a8)]=void 0x0;const delimit=(_0x20e65e,_0x91f2dd)=>{const _0x184fc2=a10_0x30a579,_0x459797=_0x20e65e[_0x184fc2(0x1a3)](_0x91f2dd),_0x2cb155=[];_0x2cb155[_0x184fc2(0x1a7)](_0x459797[0x0]);for(let _0x428891=0x1;_0x428891<_0x459797[_0x184fc2(0x1a2)];_0x428891++){_0x2cb155[_0x184fc2(0x1a7)]({'v':_0x91f2dd},_0x459797[_0x428891]);}return _0x2cb155;};exports[a10_0x30a579(0x1a8)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x430f19=a11_0x351d;function a11_0x9d5b(){const _0x49850f=['length','5314930WtTKWe','format','153224sukTjz','constructor','search','2707463nxjcmm','10338472UPvbSP','894986JnYwmk','(((.+)+)+)+$','join','./tokenize','9MUxMJN','91kYCOmR','195EQSrqc','tokenize','276ZbIomz','280482ZgIHYV','6ckYUcI','test','toString','59018zpFgzr'];a11_0x9d5b=function(){return _0x49850f;};return a11_0x9d5b();}(function(_0x3de3b8,_0x444f8b){const _0x19cbb9=a11_0x351d,_0x2c87ce=_0x3de3b8();while(!![]){try{const _0x6c8863=-parseInt(_0x19cbb9(0x96))/0x1+parseInt(_0x19cbb9(0x9f))/0x2*(-parseInt(_0x19cbb9(0x93))/0x3)+-parseInt(_0x19cbb9(0x9a))/0x4*(parseInt(_0x19cbb9(0xa5))/0x5)+parseInt(_0x19cbb9(0x92))/0x6*(-parseInt(_0x19cbb9(0xa4))/0x7)+-parseInt(_0x19cbb9(0x9e))/0x8+parseInt(_0x19cbb9(0xa3))/0x9*(-parseInt(_0x19cbb9(0x98))/0xa)+-parseInt(_0x19cbb9(0x9d))/0xb*(-parseInt(_0x19cbb9(0x91))/0xc);if(_0x6c8863===_0x444f8b)break;else _0x2c87ce['push'](_0x2c87ce['shift']());}catch(_0x3fef78){_0x2c87ce['push'](_0x2c87ce['shift']());}}}(a11_0x9d5b,0xbed28));const a11_0xcd97d2=(function(){let _0x3ddfcc=!![];return function(_0x36f1c9,_0x55b6ba){const _0x33f501=_0x3ddfcc?function(){if(_0x55b6ba){const _0x167ed7=_0x55b6ba['apply'](_0x36f1c9,arguments);return _0x55b6ba=null,_0x167ed7;}}:function(){};return _0x3ddfcc=![],_0x33f501;};}()),a11_0x432507=a11_0xcd97d2(this,function(){const _0x49f0bd=a11_0x351d;return a11_0x432507[_0x49f0bd(0x95)]()[_0x49f0bd(0x9c)]('(((.+)+)+)+$')['toString']()[_0x49f0bd(0x9b)](a11_0x432507)[_0x49f0bd(0x9c)](_0x49f0bd(0xa0));});a11_0x432507();function a11_0x351d(_0x11052b,_0x2bbd93){const _0x1ba774=a11_0x9d5b();return a11_0x351d=function(_0x432507,_0xcd97d2){_0x432507=_0x432507-0x90;let _0x9d5bc2=_0x1ba774[_0x432507];return _0x9d5bc2;},a11_0x351d(_0x11052b,_0x2bbd93);}'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a11_0x430f19(0x99)]=void 0x0;const tokenize_1=require(a11_0x430f19(0xa2)),format=(_0x93bc5d,_0x138919)=>{const _0x3c1b7a=a11_0x430f19,_0x393bdf=(0x0,tokenize_1[_0x3c1b7a(0x90)])(_0x93bc5d,_0x138919[_0x3c1b7a(0x97)]);for(let _0x1b6a7c=0x0;_0x1b6a7c<_0x393bdf[_0x3c1b7a(0x97)];_0x1b6a7c++){if(!_0x393bdf[_0x1b6a7c]['v'])continue;if(_0x393bdf[_0x1b6a7c]['v']==='$$'){_0x393bdf[_0x1b6a7c]='$';continue;}for(let _0x4dd0fc=0x0;_0x4dd0fc<_0x138919['length'];_0x4dd0fc++){if(_0x393bdf[_0x1b6a7c]['v']==='$'+_0x4dd0fc){let _0xa7a4a4=_0x138919[_0x4dd0fc];/^".*"$/[_0x3c1b7a(0x94)](_0xa7a4a4)&&(_0xa7a4a4=_0xa7a4a4['substring'](0x1,_0xa7a4a4[_0x3c1b7a(0x97)]-0x1));_0x393bdf[_0x1b6a7c]=_0xa7a4a4;break;}}}return _0x393bdf[_0x3c1b7a(0xa1)]('');};exports[a11_0x430f19(0x99)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0xaca821=a12_0x7336;(function(_0xb6feda,_0x265446){const _0x5d0917=a12_0x7336,_0x2f288e=_0xb6feda();while(!![]){try{const _0x5a8490=-parseInt(_0x5d0917(0xef))/0x1*(parseInt(_0x5d0917(0xea))/0x2)+-parseInt(_0x5d0917(0xe3))/0x3*(parseInt(_0x5d0917(0xed))/0x4)+-parseInt(_0x5d0917(0x108))/0x5+parseInt(_0x5d0917(0xfe))/0x6*(-parseInt(_0x5d0917(0xf1))/0x7)+-parseInt(_0x5d0917(0xee))/0x8*(-parseInt(_0x5d0917(0xf7))/0x9)+parseInt(_0x5d0917(0xfc))/0xa+parseInt(_0x5d0917(0x101))/0xb*(parseInt(_0x5d0917(0xeb))/0xc);if(_0x5a8490===_0x265446)break;else _0x2f288e['push'](_0x2f288e['shift']());}catch(_0x22a071){_0x2f288e['push'](_0x2f288e['shift']());}}}(a12_0x50b1,0x98771));const a12_0x17d1fd=(function(){let _0x99ca19=!![];return function(_0x4afc2c,_0x1c0b77){const _0xe7f63=_0x99ca19?function(){const _0x4d2261=a12_0x7336;if(_0x1c0b77){const _0xcf44c2=_0x1c0b77[_0x4d2261(0xe5)](_0x4afc2c,arguments);return _0x1c0b77=null,_0xcf44c2;}}:function(){};return _0x99ca19=![],_0xe7f63;};}()),a12_0x5bb03a=a12_0x17d1fd(this,function(){const _0x368053=a12_0x7336;return a12_0x5bb03a[_0x368053(0xf3)]()[_0x368053(0x102)](_0x368053(0xf0))[_0x368053(0xf3)]()[_0x368053(0x10c)](a12_0x5bb03a)[_0x368053(0x102)](_0x368053(0xf0));});a12_0x5bb03a();'use strict';Object[a12_0xaca821(0xec)](exports,'__esModule',{'value':!![]}),exports[a12_0xaca821(0x105)]=void 0x0;const properties=require(a12_0xaca821(0xfa)),fs=require('fs'),getAgentConfig=_0x4e3314=>{const _0x592353=a12_0xaca821;if(fs[_0x592353(0x10a)](_0x4e3314)){const _0x917207=properties['of'](_0x4e3314);return{'lightrunSecret':_0x917207[_0x592353(0x107)]('com.lightrun.secret'),'apiEndpoint':_0x917207[_0x592353(0x107)](_0x592353(0xe9)),'breakpointExpirationSec':_0x917207[_0x592353(0xf4)](_0x592353(0xf5)),'transmissionBulkMaxSize':_0x917207[_0x592353(0xf4)](_0x592353(0xe8)),'noCheckCertificate':_0x917207[_0x592353(0xe6)](_0x592353(0x109)),'pinnedCerts':_0x917207[_0x592353(0x107)]('pinned_certs')?.['split'](','),'metadata':{'filename':_0x917207['getFirst'](_0x592353(0xf2))},'capture':{'maxFrames':_0x917207[_0x592353(0xf4)]('max_snapshot_frame_count'),'maxDataSize':_0x917207['getInt']('max_snapshot_buffer_size'),'maxSnapshotBufferSize':_0x917207[_0x592353(0xf4)]('max_snapshot_buffer_size'),'maxVariableSize':_0x917207[_0x592353(0xf4)](_0x592353(0x104)),'maxWatchListVariableSize':_0x917207[_0x592353(0xf4)]('max_watchlist_variable_size')},'agentLog':{'collectCooldownMs':_0x917207[_0x592353(0xf4)]('collect_log_cooldown_ms'),'agentLogTargetDir':_0x917207[_0x592353(0x107)]('agent_log_target_dir'),'agentLogLevel':_0x917207[_0x592353(0x107)](_0x592353(0x10d)),'agentLogMaxFileCount':_0x917207[_0x592353(0xf4)](_0x592353(0xff)),'agentLogMaxFileSizeMb':_0x917207[_0x592353(0xf4)]('agent_log_max_file_size_mb'),'maxLogFileBytes':_0x917207[_0x592353(0xf4)](_0x592353(0xfd))},'quota':{'ignoreQuota':_0x917207[_0x592353(0xe6)](_0x592353(0xf8)),'maxCPUCost':_0x917207[_0x592353(0xf9)]('max_log_cpu_cost'),'maxConditionCost':_0x917207[_0x592353(0xf9)]('max_condition_cost'),'maxDynamicLogRate':_0x917207['getInt'](_0x592353(0x100)),'maxDynamicLogByteRate':_0x917207[_0x592353(0xf4)](_0x592353(0x103)),'quotaRecoverySeconds':_0x917207[_0x592353(0xf4)]('dynamic_log_quota_recovery_ms')&&_0x917207[_0x592353(0xf4)](_0x592353(0x10b))/0x3e8},'fetchBreakpointsOnce':_0x917207[_0x592353(0xe6)]('fetch_breakpoints_once'),'extraPaths':_0x917207['getFirst']('extra_paths')?.[_0x592353(0xe7)](',')?.[_0x592353(0x106)](_0x2ab2ec=>_0x2ab2ec[_0x592353(0xe4)]()),'proxy':{'host':_0x917207[_0x592353(0x107)](_0x592353(0x10e)),'port':_0x917207['getInt'](_0x592353(0xfb)),'username':_0x917207[_0x592353(0x107)]('proxy_username'),'password':_0x917207[_0x592353(0x107)](_0x592353(0xf6))}};}return;};exports[a12_0xaca821(0x105)]=getAgentConfig;function a12_0x7336(_0x24274d,_0x4cea9c){const _0xe235f0=a12_0x50b1();return a12_0x7336=function(_0x5bb03a,_0x17d1fd){_0x5bb03a=_0x5bb03a-0xe3;let _0x50b173=_0xe235f0[_0x5bb03a];return _0x50b173;},a12_0x7336(_0x24274d,_0x4cea9c);}function a12_0x50b1(){const _0x52555a=['apiEndpoint','2qgbnCz','36rtGIUS','defineProperty','4KWyiyR','16SLjKkU','1007449WFRsbZ','(((.+)+)+)+$','553FSvLLG','agent_regmetadata_file','toString','getInt','breakpoint_expiration_sec','proxy_password','1534833TJXgpq','ignore_quota','getFloat','java-properties','proxy_port','8653550EyLcZC','max_log_file_bytes','70866fUDoxh','agent_log_max_file_count','max_dynamic_log_rate','8680991rLuRQZ','search','max_dynamic_log_bytes_rate','max_variable_size','getAgentConfig','map','getFirst','1882075IUfhZD','noCheckCertificate','existsSync','dynamic_log_quota_recovery_ms','constructor','agent_log_level','proxy_host','1897626RdSdRM','trim','apply','getBoolean','split','transmission_bulk_max_size'];a12_0x50b1=function(){return _0x52555a;};return a12_0x50b1();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x4c0c8d=a13_0x2d15;(function(_0x54001a,_0x42d87e){const _0x4d49bd=a13_0x2d15,_0x488c43=_0x54001a();while(!![]){try{const _0x5334b1=parseInt(_0x4d49bd(0xb4))/0x1*(-parseInt(_0x4d49bd(0xa3))/0x2)+parseInt(_0x4d49bd(0xaa))/0x3*(parseInt(_0x4d49bd(0xb1))/0x4)+-parseInt(_0x4d49bd(0xab))/0x5+-parseInt(_0x4d49bd(0xb7))/0x6+parseInt(_0x4d49bd(0xa7))/0x7*(parseInt(_0x4d49bd(0xac))/0x8)+-parseInt(_0x4d49bd(0xa8))/0x9+parseInt(_0x4d49bd(0xa2))/0xa;if(_0x5334b1===_0x42d87e)break;else _0x488c43['push'](_0x488c43['shift']());}catch(_0x2f483b){_0x488c43['push'](_0x488c43['shift']());}}}(a13_0x2707,0x30813));function a13_0x2d15(_0x4e674a,_0x4cbab9){const _0x84f3a5=a13_0x2707();return a13_0x2d15=function(_0x3b93b5,_0x395a62){_0x3b93b5=_0x3b93b5-0xa2;let _0x270743=_0x84f3a5[_0x3b93b5];return _0x270743;},a13_0x2d15(_0x4e674a,_0x4cbab9);}Object[a13_0x4c0c8d(0xb2)](exports,a13_0x4c0c8d(0xa5),{'value':!![]}),exports[a13_0x4c0c8d(0xa6)]=exports['Platforms']=void 0x0;var Platforms;(function(_0x421e72){const _0x1cd2c2=a13_0x4c0c8d,_0x3611dd=(function(){let _0x14aafe=!![];return function(_0xe23846,_0x4fdedd){const _0x22ddc8=_0x14aafe?function(){const _0xbb9ed3=a13_0x2d15;if(_0x4fdedd){const _0x28504=_0x4fdedd[_0xbb9ed3(0xb5)](_0xe23846,arguments);return _0x4fdedd=null,_0x28504;}}:function(){};return _0x14aafe=![],_0x22ddc8;};}()),_0x4d5c50=_0x3611dd(this,function(){const _0x41ab69=a13_0x2d15;return _0x4d5c50[_0x41ab69(0xaf)]()['search']('(((.+)+)+)+$')[_0x41ab69(0xaf)]()['constructor'](_0x4d5c50)[_0x41ab69(0xb3)](_0x41ab69(0xa4));});_0x4d5c50(),_0x421e72['CLOUD_FUNCTION']=_0x1cd2c2(0xb6),_0x421e72[_0x1cd2c2(0xae)]=_0x1cd2c2(0xb0);}(Platforms||(exports[a13_0x4c0c8d(0xa9)]=Platforms={})));const getPlatform=()=>{const _0x2762e4=a13_0x4c0c8d,{FUNCTION_NAME:_0x168747,FUNCTION_TARGET:_0x5047f1}=process[_0x2762e4(0xad)];if(_0x168747||_0x5047f1)return Platforms['CLOUD_FUNCTION'];return Platforms['DEFAULT'];};function a13_0x2707(){const _0x829c22=['1829320yHWeNq','173872TexBFV','env','DEFAULT','toString','default','1920nAsBjp','defineProperty','search','5qlfsWQ','apply','cloud_function','738258rRRsIJ','9173430fDravl','54328XqUoTh','(((.+)+)+)+$','__esModule','getPlatform','7CHDYxK','2794995sdAosx','Platforms','1218agANuF'];a13_0x2707=function(){return _0x829c22;};return a13_0x2707();}exports[a13_0x4c0c8d(0xa6)]=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a14_0x5d9688=a14_0x227d;(function(_0x2feaa0,_0x42c885){const _0x17ab1e=a14_0x227d,_0xd21ed0=_0x2feaa0();while(!![]){try{const _0x7833ae=-parseInt(_0x17ab1e(0xf6))/0x1*(-parseInt(_0x17ab1e(0xfe))/0x2)+-parseInt(_0x17ab1e(0xfc))/0x3*(parseInt(_0x17ab1e(0x108))/0x4)+-parseInt(_0x17ab1e(0x105))/0x5*(-parseInt(_0x17ab1e(0x103))/0x6)+-parseInt(_0x17ab1e(0x106))/0x7+-parseInt(_0x17ab1e(0xf5))/0x8*(parseInt(_0x17ab1e(0x101))/0x9)+-parseInt(_0x17ab1e(0xf7))/0xa*(parseInt(_0x17ab1e(0xfb))/0xb)+parseInt(_0x17ab1e(0x107))/0xc;if(_0x7833ae===_0x42c885)break;else _0xd21ed0['push'](_0xd21ed0['shift']());}catch(_0x10a8c4){_0xd21ed0['push'](_0xd21ed0['shift']());}}}(a14_0x5c05,0x7311b));const a14_0x5b0267=(function(){let _0x188e85=!![];return function(_0x33e101,_0x2ebedd){const _0x111a52=_0x188e85?function(){const _0x23090e=a14_0x227d;if(_0x2ebedd){const _0x1b7c43=_0x2ebedd[_0x23090e(0xff)](_0x33e101,arguments);return _0x2ebedd=null,_0x1b7c43;}}:function(){};return _0x188e85=![],_0x111a52;};}()),a14_0x5c7ef3=a14_0x5b0267(this,function(){const _0x380578=a14_0x227d;return a14_0x5c7ef3['toString']()['search'](_0x380578(0xf9))[_0x380578(0xfd)]()[_0x380578(0xf8)](a14_0x5c7ef3)[_0x380578(0x102)]('(((.+)+)+)+$');});a14_0x5c7ef3();'use strict';Object[a14_0x5d9688(0xf4)](exports,a14_0x5d9688(0x100),{'value':!![]}),exports[a14_0x5d9688(0xfa)]=void 0x0;function a14_0x227d(_0x8f8515,_0x5fd48a){const _0x8bcd8c=a14_0x5c05();return a14_0x227d=function(_0x5c7ef3,_0x5b0267){_0x5c7ef3=_0x5c7ef3-0xf4;let _0x5c05fa=_0x8bcd8c[_0x5c7ef3];return _0x5c05fa;},a14_0x227d(_0x8f8515,_0x5fd48a);}const mapSubtract=(_0x5711db,_0x5a8a9d)=>{const _0x204956=a14_0x5d9688,_0x38e714=[];for(const _0x24b3c9 in _0x5711db){!_0x5a8a9d[_0x24b3c9]&&_0x38e714[_0x204956(0x104)](_0x5711db[_0x24b3c9]);}return _0x38e714;};function a14_0x5c05(){const _0x3d5119=['138905AvtOaP','3246509QShoiY','23111256EejHpq','4hPUKuX','defineProperty','16AbBxac','181211siQwFl','10FUORMR','constructor','(((.+)+)+)+$','mapSubtract','6379340WcPuNf','2411211hswQit','toString','6nPPyqC','apply','__esModule','3928905misQQM','search','156NSguEW','push'];a14_0x5c05=function(){return _0x3d5119;};return a14_0x5c05();}exports['mapSubtract']=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x18b48f=a15_0x9922;function a15_0x2669(){const _0x3b34b2=['./getAgentConfig','defaultConfig','constructor','message','7xtnyGh','11847688mhqzgx','validateConfig','AGENT_LOG_LEVEL','K_REVISION','AGENT_LOG_MAX_FILE_COUNT','stdErrThreshold','GAE_MODULE_VERSION','GAE_DEPLOYMENT_ID','2569822kdMYwU','path','env','FETCH_BREAKPOINTS_ONCE','service','metadata','1051853jtNsBb','inner','agentLogLevel','(((.+)+)+)+$','10039257IRvqRJ','agentLog','AGENT_LOG_MAX_FILE_SIZE_MB','apply','LIGHTRUN_INIT_WAIT_TIME_MS','toString','agentLogMaxFileCount','serviceContext','LIGHTRUN_TAGS','filter','655167smlynB','getBooleanValue','defineProperty','K_SERVICE','configSchema','agentLogMaxFileSizeMb','AGENT_LOG_TARGET_DIR','__esModule','split','1266710ZLXwoo','GAE_VERSION','LIGHTRUN_SECRET','LIGHTRUN_STD_ERR_THRESHOLD','590XlvQAw','LIGHTRUN_PROXY_PORT','LIGHTRUN_PROXY_PASSWORD','getAgentConfig','LIGHTRUN_WAIT_FOR_INIT','normalizeConfig','12gUcxDQ','registration','extend','GAE_SERVICE','LIGHTRUN_API_ENDPOINT','12PfSBiK','../config','2369720Otswtg','agentConfigFile','version','GAE_MINOR_VERSION'];a15_0x2669=function(){return _0x3b34b2;};return a15_0x2669();}(function(_0x3ebe25,_0x2d128c){const _0xcec7=a15_0x9922,_0x3ab5d8=_0x3ebe25();while(!![]){try{const _0x16919b=-parseInt(_0xcec7(0x6f))/0x1+-parseInt(_0xcec7(0x91))/0x2+-parseInt(_0xcec7(0xa5))/0x3*(parseInt(_0xcec7(0x79))/0x4)+parseInt(_0xcec7(0x80))/0x5*(parseInt(_0xcec7(0x7e))/0x6)+-parseInt(_0xcec7(0x88))/0x7*(parseInt(_0xcec7(0x89))/0x8)+-parseInt(_0xcec7(0x9b))/0x9+parseInt(_0xcec7(0x73))/0xa*(parseInt(_0xcec7(0x97))/0xb);if(_0x16919b===_0x2d128c)break;else _0x3ab5d8['push'](_0x3ab5d8['shift']());}catch(_0x5d1f3c){_0x3ab5d8['push'](_0x3ab5d8['shift']());}}}(a15_0x2669,0xbfff7));const a15_0x3e416a=(function(){let _0x4850e2=!![];return function(_0x3d5e3e,_0x1837aa){const _0x2e0583=_0x4850e2?function(){const _0xa7d704=a15_0x9922;if(_0x1837aa){const _0x321a8a=_0x1837aa[_0xa7d704(0x9e)](_0x3d5e3e,arguments);return _0x1837aa=null,_0x321a8a;}}:function(){};return _0x4850e2=![],_0x2e0583;};}()),a15_0x4e6715=a15_0x3e416a(this,function(){const _0x47c8fe=a15_0x9922;return a15_0x4e6715[_0x47c8fe(0xa0)]()['search'](_0x47c8fe(0x9a))[_0x47c8fe(0xa0)]()[_0x47c8fe(0x86)](a15_0x4e6715)['search'](_0x47c8fe(0x9a));});a15_0x4e6715();'use strict';Object[a15_0x18b48f(0xa7)](exports,a15_0x18b48f(0x6d),{'value':!![]}),exports[a15_0x18b48f(0x78)]=exports['validateConfig']=void 0x0;const extend=require(a15_0x18b48f(0x7b)),config_1=require(a15_0x18b48f(0x7f)),utils_1=require('../util/utils'),getAgentConfig_1=require(a15_0x18b48f(0x84)),validateConfig=_0x3bfea3=>{const _0x133b15=a15_0x18b48f,_0xfda5bf={};try{config_1[_0x133b15(0x6a)]['validateSync'](_0x3bfea3,{'abortEarly':![]});}catch(_0xa4deb5){_0xa4deb5[_0x133b15(0x98)][_0x133b15(0xa4)](_0x25cfa2=>_0x25cfa2[_0x133b15(0x92)]&&_0x25cfa2['message'])['forEach'](_0x4045a7=>{const _0x11f8bb=_0x133b15;_0xfda5bf[_0x4045a7[_0x11f8bb(0x92)]]=_0x4045a7[_0x11f8bb(0x87)];});}return _0xfda5bf;};function a15_0x9922(_0x9cbbd7,_0x154729){const _0x43ce7f=a15_0x2669();return a15_0x9922=function(_0x4e6715,_0x3e416a){_0x4e6715=_0x4e6715-0x6a;let _0x266962=_0x43ce7f[_0x4e6715];return _0x266962;},a15_0x9922(_0x9cbbd7,_0x154729);}exports[a15_0x18b48f(0x8a)]=validateConfig;const normalizeConfig=_0x4efa99=>{const _0x6cccfb=a15_0x18b48f,_0xa2a8e7={'serviceContext':{'service':process[_0x6cccfb(0x93)][_0x6cccfb(0x7c)]||process[_0x6cccfb(0x93)]['GAE_MODULE_NAME']||process['env'][_0x6cccfb(0xa8)],'version':process[_0x6cccfb(0x93)][_0x6cccfb(0x70)]||process['env'][_0x6cccfb(0x8f)]||process[_0x6cccfb(0x93)][_0x6cccfb(0x8c)],'minorVersion_':process[_0x6cccfb(0x93)][_0x6cccfb(0x90)]||process[_0x6cccfb(0x93)][_0x6cccfb(0x83)]},'metadata':{'filename':process[_0x6cccfb(0x93)]['LIGHTRUN_METADATA_FILE'],'registration':{}},'lightrunSecret':process[_0x6cccfb(0x93)][_0x6cccfb(0x71)],'apiEndpoint':process[_0x6cccfb(0x93)][_0x6cccfb(0x7d)],'noCheckCertificate':(0x0,utils_1[_0x6cccfb(0xa6)])(process[_0x6cccfb(0x93)]['NO_CHECK_CERTIFICATE']),'fetchBreakpointsOnce':(0x0,utils_1[_0x6cccfb(0xa6)])(process[_0x6cccfb(0x93)][_0x6cccfb(0x94)]),'lightrunWaitForInit':(0x0,utils_1[_0x6cccfb(0xa6)])(process[_0x6cccfb(0x93)][_0x6cccfb(0x77)]),'lightrunInitWaitTimeMs':process[_0x6cccfb(0x93)][_0x6cccfb(0x9f)],'agentLog':_0x4efa99?.[_0x6cccfb(0x9c)]||{},'proxy':{'host':process['env']['LIGHTRUN_PROXY_HOST'],'port':parseInt(process[_0x6cccfb(0x93)][_0x6cccfb(0x74)]||'')||undefined,'username':process[_0x6cccfb(0x93)]['LIGHTRUN_PROXY_USERNAME'],'password':process['env'][_0x6cccfb(0x75)]}};process[_0x6cccfb(0x93)][_0x6cccfb(0x72)]!==undefined&&(_0xa2a8e7['agentLog'][_0x6cccfb(0x8e)]=process[_0x6cccfb(0x93)]['LIGHTRUN_STD_ERR_THRESHOLD']);process['env'][_0x6cccfb(0x8b)]!==undefined&&(_0xa2a8e7[_0x6cccfb(0x9c)][_0x6cccfb(0x99)]=process['env'][_0x6cccfb(0x8b)]);process['env'][_0x6cccfb(0x6c)]!==undefined&&(_0xa2a8e7['agentLog']['agentLogTargetDir']=process[_0x6cccfb(0x93)][_0x6cccfb(0x6c)]);process['env'][_0x6cccfb(0x8d)]!==undefined&&(_0xa2a8e7['agentLog'][_0x6cccfb(0xa1)]=parseInt(process[_0x6cccfb(0x93)][_0x6cccfb(0x8d)]));process[_0x6cccfb(0x93)][_0x6cccfb(0x9d)]!==undefined&&(_0xa2a8e7[_0x6cccfb(0x9c)][_0x6cccfb(0x6b)]=parseInt(process[_0x6cccfb(0x93)][_0x6cccfb(0x9d)]));process[_0x6cccfb(0x93)]['FUNCTION_NAME']&&(_0xa2a8e7[_0x6cccfb(0xa2)][_0x6cccfb(0x95)]=process[_0x6cccfb(0x93)]['FUNCTION_NAME'],_0xa2a8e7[_0x6cccfb(0xa2)][_0x6cccfb(0x82)]='unversioned');process[_0x6cccfb(0x93)]['LIGHTRUN_TAGS']&&(_0xa2a8e7[_0x6cccfb(0x96)][_0x6cccfb(0x7a)]={'tags':process[_0x6cccfb(0x93)][_0x6cccfb(0xa3)][_0x6cccfb(0x6e)](',')});const _0xa88420=(0x0,getAgentConfig_1[_0x6cccfb(0x76)])(process[_0x6cccfb(0x93)]['LIGHTRUN_AGENT_CONFIG']||_0x4efa99?.[_0x6cccfb(0x81)]||config_1[_0x6cccfb(0x85)]['agentConfigFile']),_0x2348cd=extend(!![],{},config_1[_0x6cccfb(0x85)],_0xa88420,_0x4efa99,_0xa2a8e7),_0x57c2c8=(0x0,exports[_0x6cccfb(0x8a)])(_0x2348cd);return{..._0x2348cd,'errors':_0x57c2c8};};exports[a15_0x18b48f(0x78)]=normalizeConfig;
|