lightrun 1.44.0 → 1.45.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/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 +9 -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 +4 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a0_0x21f2c9=a0_0x1e1c;(function(_0xf4bab4,_0x2d6938){const _0xee4e12=a0_0x1e1c,_0x1f80cd=_0xf4bab4();while(!![]){try{const _0x81e610=-parseInt(_0xee4e12(0x216))/0x1*(-parseInt(_0xee4e12(0x1fe))/0x2)+-parseInt(_0xee4e12(0x209))/0x3*(parseInt(_0xee4e12(0x213))/0x4)+-parseInt(_0xee4e12(0x208))/0x5+parseInt(_0xee4e12(0x210))/0x6+parseInt(_0xee4e12(0x201))/0x7+parseInt(_0xee4e12(0x215))/0x8+-parseInt(_0xee4e12(0x203))/0x9;if(_0x81e610===_0x2d6938)break;else _0x1f80cd['push'](_0x1f80cd['shift']());}catch(_0x58cddf){_0x1f80cd['push'](_0x1f80cd['shift']());}}}(a0_0x3ca0,0x786d9));const a0_0x334333=(function(){let _0x374280=!![];return function(_0x334d29,_0x13b412){const _0x48c748=_0x374280?function(){const _0xf5868a=a0_0x1e1c;if(_0x13b412){const _0x1c3c2b=_0x13b412[_0xf5868a(0x20e)](_0x334d29,arguments);return _0x13b412=null,_0x1c3c2b;}}:function(){};return _0x374280=![],_0x48c748;};}()),a0_0x294cdc=a0_0x334333(this,function(){const _0x16a491=a0_0x1e1c;return a0_0x294cdc[_0x16a491(0x1f9)]()['search']('(((.+)+)+)+$')[_0x16a491(0x1f9)]()[_0x16a491(0x1f7)](a0_0x294cdc)['search'](_0x16a491(0x1f5));});a0_0x294cdc();'use strict';function a0_0x3ca0(){const _0x48ed9d=['logger','warn','winston-daily-rotate-file','134wNeEju','toUpperCase','transports','2615291LNaiYL','debug','11438982JmWfxF','getMinutes','getDate','format','__esModule','1771170LOLVsA','28797tBQXsg','.log','pid','getHours','padStart','apply','defineProperty','2361912UJbFkj','default','lightrun_nodejs_agent.','28aUTtfJ','winston','6282800IksNbL','9449lAWhmz','getFullYear','createLogger',']\x20-\x20','process','(((.+)+)+)+$','error','constructor','info','toString','AGENT_LOG_FILE'];a0_0x3ca0=function(){return _0x48ed9d;};return a0_0x3ca0();}function a0_0x1e1c(_0x24bf95,_0x28c4ac){const _0x42c19d=a0_0x3ca0();return a0_0x1e1c=function(_0x294cdc,_0x334333){_0x294cdc=_0x294cdc-0x1f2;let _0x3ca07c=_0x42c19d[_0x294cdc];return _0x3ca07c;},a0_0x1e1c(_0x24bf95,_0x28c4ac);}Object[a0_0x21f2c9(0x20f)](exports,a0_0x21f2c9(0x207),{'value':!![]});const winston_1=require(a0_0x21f2c9(0x214)),DailyRotateFile=require(a0_0x21f2c9(0x1fd)),process_1=require(a0_0x21f2c9(0x1f4)),{combine,printf,timestamp}=winston_1[a0_0x21f2c9(0x206)],{Console}=winston_1[a0_0x21f2c9(0x200)],now=new Date();function getLoggerTransport(_0x1a90a3,_0x144297,_0x15c3c9){const _0xb571a4=a0_0x21f2c9;if(_0x1a90a3)return new DailyRotateFile({'dirname':_0x1a90a3,'filename':AgentLogger[_0xb571a4(0x1fa)],'datePattern':now[_0xb571a4(0x217)]()['toString']()+now['getMonth']()['toString']()['padStart'](0x2,'0')+now[_0xb571a4(0x205)]()[_0xb571a4(0x1f9)]()[_0xb571a4(0x20d)](0x2,'0')+'-'+now[_0xb571a4(0x20c)]()[_0xb571a4(0x1f9)]()[_0xb571a4(0x20d)](0x2,'0')+now[_0xb571a4(0x204)]()[_0xb571a4(0x1f9)]()[_0xb571a4(0x20d)](0x2,'0')+now['getSeconds']()['toString']()[_0xb571a4(0x20d)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger['AGENT_LOG_FILE'],'maxSize':_0x144297+'m','maxFiles':_0x15c3c9,'extension':_0xb571a4(0x20a)});return new Console();}class AgentLogger{constructor(_0x583740,_0x4cbe64,_0x1f0d32,_0x10bdbd,_0x22a44f){const _0xf08a2b=a0_0x21f2c9;this['logger']=(0x0,winston_1[_0xf08a2b(0x1f2)])({'level':_0x10bdbd,'transports':[getLoggerTransport(_0x583740,_0x4cbe64,_0x1f0d32),new Console({'level':_0x22a44f,'stderrLevels':[_0xf08a2b(0x202),'info',_0xf08a2b(0x1fc),_0xf08a2b(0x1f6)]})],'format':combine(timestamp(),printf(({level:_0x13fee2,message:_0x57edbf,timestamp:_0x12b0b0})=>{const _0x2fd100=_0xf08a2b;return _0x12b0b0+'\x20['+_0x13fee2[_0x2fd100(0x1ff)]()+_0x2fd100(0x1f3)+_0x57edbf;}),winston_1[_0xf08a2b(0x206)]['json']())});}static[a0_0x21f2c9(0x1f2)](_0x25ac46,_0x38401c,_0x52c180,_0x3deb33,_0x5eb1a7){return new AgentLogger(_0x25ac46,_0x38401c,_0x52c180,_0x3deb33,_0x5eb1a7);}[a0_0x21f2c9(0x202)](..._0x2a1950){const _0x1fb27b=a0_0x21f2c9;this[_0x1fb27b(0x1fb)][_0x1fb27b(0x202)](_0x2a1950);}['info'](..._0x18ba1e){const _0x36d4ad=a0_0x21f2c9;this[_0x36d4ad(0x1fb)][_0x36d4ad(0x1f8)](_0x18ba1e);}[a0_0x21f2c9(0x1fc)](..._0x17d99b){const _0x51d75a=a0_0x21f2c9;this[_0x51d75a(0x1fb)][_0x51d75a(0x1fc)](_0x17d99b);}[a0_0x21f2c9(0x1f6)](..._0x1af23a){const _0x4d21c9=a0_0x21f2c9;this[_0x4d21c9(0x1fb)]['error'](_0x1af23a);}}AgentLogger[a0_0x21f2c9(0x1fa)]=a0_0x21f2c9(0x212)+process_1[a0_0x21f2c9(0x20b)]+'.%DATE%',exports[a0_0x21f2c9(0x211)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a1_0xc14b42=a1_0x5e75;(function(_0x4e6b2e,_0x17513d){const _0x39ed74=a1_0x5e75,_0x3d588d=_0x4e6b2e();while(!![]){try{const _0x2fad40=parseInt(_0x39ed74(0xbb))/0x1*(-parseInt(_0x39ed74(0xb4))/0x2)+parseInt(_0x39ed74(0xb5))/0x3+-parseInt(_0x39ed74(0xc5))/0x4*(parseInt(_0x39ed74(0xbc))/0x5)+-parseInt(_0x39ed74(0xbe))/0x6+parseInt(_0x39ed74(0xc8))/0x7+-parseInt(_0x39ed74(0xb9))/0x8*(parseInt(_0x39ed74(0xc2))/0x9)+-parseInt(_0x39ed74(0xc1))/0xa*(-parseInt(_0x39ed74(0xc9))/0xb);if(_0x2fad40===_0x17513d)break;else _0x3d588d['push'](_0x3d588d['shift']());}catch(_0x3eaea3){_0x3d588d['push'](_0x3d588d['shift']());}}}(a1_0x5035,0xab2d5));const a1_0x21c256=(function(){let _0x53ee1a=!![];return function(_0x36429e,_0x5a63a2){const _0x2685c3=_0x53ee1a?function(){const _0x346ffb=a1_0x5e75;if(_0x5a63a2){const _0x21678b=_0x5a63a2[_0x346ffb(0xc3)](_0x36429e,arguments);return _0x5a63a2=null,_0x21678b;}}:function(){};return _0x53ee1a=![],_0x2685c3;};}()),a1_0x15ac9c=a1_0x21c256(this,function(){const _0x2d2655=a1_0x5e75;return a1_0x15ac9c[_0x2d2655(0xb2)]()[_0x2d2655(0xc7)]('(((.+)+)+)+$')[_0x2d2655(0xb2)]()[_0x2d2655(0xbf)](a1_0x15ac9c)['search'](_0x2d2655(0xb3));});a1_0x15ac9c();'use strict';Object[a1_0xc14b42(0xbd)](exports,'__esModule',{'value':!![]}),exports[a1_0xc14b42(0xb6)]=void 0x0;function a1_0x5e75(_0x15a581,_0x54e028){const _0x5204d2=a1_0x5035();return a1_0x5e75=function(_0x15ac9c,_0x21c256){_0x15ac9c=_0x15ac9c-0xb0;let _0x5035ea=_0x5204d2[_0x15ac9c];return _0x5035ea;},a1_0x5e75(_0x15a581,_0x54e028);}class BlocklistingPatterns{constructor(_0x4e4c77){const _0x2c9f86=a1_0xc14b42;this[_0x2c9f86(0xc0)]=[],this['patterns']=[],_0x4e4c77&&_0x4e4c77[_0x2c9f86(0xb8)](_0x32785b=>{const _0x325156=_0x2c9f86;_0x32785b&&(_0x32785b[0x0]==='!'?this[_0x325156(0xc0)][_0x325156(0xb7)](new RegExp(_0x32785b['substring'](0x1))):this['patterns']['push'](new RegExp(_0x32785b)));});}[a1_0xc14b42(0xc4)](_0x4544e2){const _0x56d694=a1_0xc14b42,_0x10a8f1=_0x1b3aa4=>_0x4544e2[_0x56d694(0xba)](_0x1b3aa4);return this[_0x56d694(0xc0)][_0x56d694(0xc6)]!==0x0&&!this[_0x56d694(0xc0)][_0x56d694(0xb0)](_0x10a8f1)||this[_0x56d694(0xb1)]['some'](_0x10a8f1);}}exports[a1_0xc14b42(0xb6)]=BlocklistingPatterns;function a1_0x5035(){const _0x3a57d7=['698762AYGJmE','9580kudjAc','defineProperty','6791964FoIRsi','constructor','inversePatterns','3606270XEQVIb','3908133rYsaci','apply','matches','2764bgMLiK','length','search','2867200rjIfcZ','88GosWlI','some','patterns','toString','(((.+)+)+)+$','2yvzRDM','2986422GkpvlJ','BlocklistingPatterns','push','forEach','8MuqJvn','match'];a1_0x5035=function(){return _0x3a57d7;};return a1_0x5035();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var a2_0x598a20=a2_0x27b3;function a2_0x27b3(_0x439555,_0x4f43a1){var _0x421354=a2_0xefc0();return a2_0x27b3=function(_0x146359,_0x48652c){_0x146359=_0x146359-0x1d9;var _0xefc019=_0x421354[_0x146359];return _0xefc019;},a2_0x27b3(_0x439555,_0x4f43a1);}(function(_0x38c9cc,_0x54a86a){var _0xbe60e9=a2_0x27b3,_0x51926e=_0x38c9cc();while(!![]){try{var _0x50b72e=-parseInt(_0xbe60e9(0x1e7))/0x1+parseInt(_0xbe60e9(0x1d9))/0x2+-parseInt(_0xbe60e9(0x1e0))/0x3+parseInt(_0xbe60e9(0x1e8))/0x4*(-parseInt(_0xbe60e9(0x1de))/0x5)+parseInt(_0xbe60e9(0x1e3))/0x6*(parseInt(_0xbe60e9(0x1dc))/0x7)+parseInt(_0xbe60e9(0x1e6))/0x8+parseInt(_0xbe60e9(0x1e2))/0x9;if(_0x50b72e===_0x54a86a)break;else _0x51926e['push'](_0x51926e['shift']());}catch(_0x369be4){_0x51926e['push'](_0x51926e['shift']());}}}(a2_0xefc0,0x22eac));var a2_0x48652c=(function(){var _0x452678=!![];return function(_0x3e7b9a,_0x52ffa3){var _0x395821=_0x452678?function(){var _0x527a25=a2_0x27b3;if(_0x52ffa3){var _0x24aa53=_0x52ffa3[_0x527a25(0x1df)](_0x3e7b9a,arguments);return _0x52ffa3=null,_0x24aa53;}}:function(){};return _0x452678=![],_0x395821;};}()),a2_0x146359=a2_0x48652c(this,function(){var _0xcfdbc7=a2_0x27b3;return a2_0x146359[_0xcfdbc7(0x1e5)]()[_0xcfdbc7(0x1e4)](_0xcfdbc7(0x1dd))[_0xcfdbc7(0x1e5)]()[_0xcfdbc7(0x1db)](a2_0x146359)[_0xcfdbc7(0x1e4)]('(((.+)+)+)+$');});a2_0x146359();function a2_0xefc0(){var _0x110a59=['DummyBlocklistManager','3270951OpleTB','6bmHgTW','search','toString','710280fhiCXV','262183tpUOfw','4zyehps','shouldBlock','__esModule','269574gLdqVF','value','constructor','1077335ZLSccr','(((.+)+)+)+$','844340OVaDjP','apply','500535TQmdnz'];a2_0xefc0=function(){return _0x110a59;};return a2_0xefc0();}'use strict';Object['defineProperty'](exports,a2_0x598a20(0x1ea),{'value':!![]}),exports[a2_0x598a20(0x1e1)]=void 0x0;class DummyBlocklistManager{constructor(_0x41b54f){var _0x106f45=a2_0x598a20;this[_0x106f45(0x1da)]=_0x41b54f;}[a2_0x598a20(0x1e9)](){return this['value'];}}exports[a2_0x598a20(0x1e1)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x5cc255=a3_0xe2d6;(function(_0x3dab09,_0x448a5d){const _0x5f475f=a3_0xe2d6,_0x36c1e1=_0x3dab09();while(!![]){try{const _0x4337b5=parseInt(_0x5f475f(0xe0))/0x1*(-parseInt(_0x5f475f(0xe7))/0x2)+parseInt(_0x5f475f(0xe8))/0x3+-parseInt(_0x5f475f(0xec))/0x4*(-parseInt(_0x5f475f(0xe2))/0x5)+-parseInt(_0x5f475f(0xeb))/0x6+parseInt(_0x5f475f(0xf2))/0x7*(-parseInt(_0x5f475f(0xdd))/0x8)+-parseInt(_0x5f475f(0xed))/0x9*(parseInt(_0x5f475f(0xf4))/0xa)+-parseInt(_0x5f475f(0xe9))/0xb*(-parseInt(_0x5f475f(0xf0))/0xc);if(_0x4337b5===_0x448a5d)break;else _0x36c1e1['push'](_0x36c1e1['shift']());}catch(_0x361dfe){_0x36c1e1['push'](_0x36c1e1['shift']());}}}(a3_0x42a8,0xabfe8));const a3_0x28661c=(function(){let _0x258be1=!![];return function(_0x53d42a,_0x51b469){const _0xe63291=_0x258be1?function(){const _0x4c4ffb=a3_0xe2d6;if(_0x51b469){const _0x3da0c3=_0x51b469[_0x4c4ffb(0xf7)](_0x53d42a,arguments);return _0x51b469=null,_0x3da0c3;}}:function(){};return _0x258be1=![],_0xe63291;};}()),a3_0x1b8b5f=a3_0x28661c(this,function(){const _0x17405e=a3_0xe2d6;return a3_0x1b8b5f[_0x17405e(0xf5)]()[_0x17405e(0xe1)]('(((.+)+)+)+$')[_0x17405e(0xf5)]()[_0x17405e(0xe5)](a3_0x1b8b5f)[_0x17405e(0xe1)]('(((.+)+)+)+$');});a3_0x1b8b5f();function a3_0xe2d6(_0x142434,_0x50f70b){const _0x418bc9=a3_0x42a8();return a3_0xe2d6=function(_0x1b8b5f,_0x28661c){_0x1b8b5f=_0x1b8b5f-0xdd;let _0x42a8af=_0x418bc9[_0x1b8b5f];return _0x42a8af;},a3_0xe2d6(_0x142434,_0x50f70b);}'use strict';Object[a3_0x5cc255(0xf8)](exports,a3_0x5cc255(0xf1),{'value':!![]}),exports['PatternsBlocklistManager']=void 0x0;const blocklisting_patterns_1=require(a3_0x5cc255(0xef)),utils=require(a3_0x5cc255(0xf3));class PatternsBlocklistManager{constructor(_0x1d6a74,_0x45a4a2,_0x4bd2e1){const _0x23c60a=a3_0x5cc255;this[_0x23c60a(0xde)]=new blocklisting_patterns_1[(_0x23c60a(0xee))](_0x1d6a74),this[_0x23c60a(0xdf)]=new blocklisting_patterns_1[(_0x23c60a(0xee))](_0x45a4a2),this[_0x23c60a(0xe4)]=_0x4bd2e1;}[a3_0x5cc255(0xe3)](_0x1eeb49){const _0x2be091=a3_0x5cc255;_0x1eeb49=this[_0x2be091(0xe6)](_0x1eeb49);if(this[_0x2be091(0xdf)]['matches'](_0x1eeb49))return![];return this[_0x2be091(0xde)]['matches'](_0x1eeb49);}['stripWorkingDir'](_0x50d04f){const _0x39472b=a3_0x5cc255;if(utils[_0x39472b(0xf6)](_0x50d04f,this[_0x39472b(0xe4)]))return utils[_0x39472b(0xea)](_0x50d04f,this[_0x39472b(0xe4)]);return _0x50d04f;}}function a3_0x42a8(){const _0x500968=['search','20QllakI','shouldBlock','config','constructor','stripWorkingDir','2ebabeC','2256615LaEVeK','22SrUbYP','stripCurrentWorkingDirectory','6052110hxtGoD','141096oLbGdv','495QmVXXH','BlocklistingPatterns','./blocklisting-patterns','16394556wczRcZ','__esModule','316218fqLykq','../util/utils','163730aVSVbp','toString','isPathInCurrentWorkingDirectory','apply','defineProperty','104uzjjaD','blocklist','blocklistExceptions','424777CFYNGO'];a3_0x42a8=function(){return _0x500968;};return a3_0x42a8();}exports['PatternsBlocklistManager']=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x49da45=a4_0x4d6c;(function(_0x1b6806,_0x56b0dc){const _0x24d674=a4_0x4d6c,_0x30d70a=_0x1b6806();while(!![]){try{const _0x2b2e75=-parseInt(_0x24d674(0xe3))/0x1*(parseInt(_0x24d674(0xb5))/0x2)+parseInt(_0x24d674(0xbe))/0x3+-parseInt(_0x24d674(0xb6))/0x4*(-parseInt(_0x24d674(0xd6))/0x5)+-parseInt(_0x24d674(0xd1))/0x6+-parseInt(_0x24d674(0xbc))/0x7*(parseInt(_0x24d674(0xb9))/0x8)+-parseInt(_0x24d674(0xcf))/0x9+-parseInt(_0x24d674(0xb8))/0xa*(-parseInt(_0x24d674(0xb7))/0xb);if(_0x2b2e75===_0x56b0dc)break;else _0x30d70a['push'](_0x30d70a['shift']());}catch(_0x526e45){_0x30d70a['push'](_0x30d70a['shift']());}}}(a4_0xa2c8,0x32d30));const a4_0x351e2d=(function(){let _0x2efc79=!![];return function(_0x90711d,_0x5a8d9b){const _0x4ce230=_0x2efc79?function(){const _0xec9133=a4_0x4d6c;if(_0x5a8d9b){const _0x38711f=_0x5a8d9b[_0xec9133(0xbb)](_0x90711d,arguments);return _0x5a8d9b=null,_0x38711f;}}:function(){};return _0x2efc79=![],_0x4ce230;};}()),a4_0x565068=a4_0x351e2d(this,function(){const _0x5cd55b=a4_0x4d6c;return a4_0x565068['toString']()[_0x5cd55b(0xba)]('(((.+)+)+)+$')[_0x5cd55b(0xd2)]()['constructor'](a4_0x565068)['search'](_0x5cd55b(0xdd));});a4_0x565068();'use strict';Object['defineProperty'](exports,a4_0x49da45(0xca),{'value':!![]}),exports[a4_0x49da45(0xc9)]=exports[a4_0x49da45(0xdf)]=exports[a4_0x49da45(0xc1)]=void 0x0;function a4_0xa2c8(){const _0x334d5e=['array','(((.+)+)+)+$','!!!\x20NOT\x20SET\x20!!!','defaultConfig','none','values','yup','1138bqLuAQ','agent.config','object','info','440UUthZn','207272rioUzT','2288ImSGhV','46660hLsYdI','267656PvoLtp','search','apply','14yubAEV','not\x20set!','182568tArItp','agentConfigFile','errors','configSchema','.js','debug','app.lightrun.com','error','string','set','Production','logMainConfigParams','__esModule','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','DOESN\x27T\x20EXIST','tmpdir','oneOf','3658635CxukyQ','forEach','1529238ZkBNIS','toString','shape','warn','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12','15lNdFYY','cwd','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','number','boolean','lightrunSecret'];a4_0xa2c8=function(){return _0x334d5e;};return a4_0xa2c8();}const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x49da45(0xe2));exports['configSchema']=(0x0,yup_1[a4_0x49da45(0xb3)])()['shape']({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x49da45(0xd9)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x49da45(0xd9)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1['number'])(),'capture':(0x0,yup_1[a4_0x49da45(0xb3)])()[a4_0x49da45(0xd3)]({'includeNodeModules':(0x0,yup_1['boolean'])(),'maxFrames':(0x0,yup_1[a4_0x49da45(0xd9)])(),'maxExpandFrames':(0x0,yup_1[a4_0x49da45(0xd9)])(),'maxProperties':(0x0,yup_1[a4_0x49da45(0xd9)])(),'maxVariableDepth':(0x0,yup_1['number'])(),'maxWatchProperties':(0x0,yup_1['number'])(),'maxDataSize':(0x0,yup_1[a4_0x49da45(0xd9)])(),'maxStringLength':(0x0,yup_1['number'])(),'maxVariableSize':(0x0,yup_1[a4_0x49da45(0xd9)])(),'maxWatchListVariableSize':(0x0,yup_1[a4_0x49da45(0xd9)])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x49da45(0xd9)])()}),'internal':(0x0,yup_1[a4_0x49da45(0xb3)])()[a4_0x49da45(0xd3)]({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x49da45(0xd9)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x49da45(0xd9)])()}),'forceNewAgent_':(0x0,yup_1[a4_0x49da45(0xda)])(),'testMode_':(0x0,yup_1[a4_0x49da45(0xda)])(),'apiEndpoint':(0x0,yup_1['string'])(),'lightrunSecret':(0x0,yup_1[a4_0x49da45(0xc6)])(),'agentLog':(0x0,yup_1[a4_0x49da45(0xb3)])()[a4_0x49da45(0xd3)]({'agentLogTargetDir':(0x0,yup_1[a4_0x49da45(0xc6)])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x49da45(0xd9)])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x49da45(0xd9)])(),'agentLogLevel':(0x0,yup_1[a4_0x49da45(0xc6)])()['oneOf']([a4_0x49da45(0xc3),'info',a4_0x49da45(0xd4),a4_0x49da45(0xc5)]),'stdErrThreshold':(0x0,yup_1[a4_0x49da45(0xc6)])()[a4_0x49da45(0xce)]([a4_0x49da45(0xc3),a4_0x49da45(0xb4),a4_0x49da45(0xd4),a4_0x49da45(0xc5),a4_0x49da45(0xe0)]),'collectCooldownMs':(0x0,yup_1['number'])(),'maxLogFileBytes':(0x0,yup_1[a4_0x49da45(0xd9)])()}),'pinnedCerts':(0x0,yup_1[a4_0x49da45(0xdc)])()['of']((0x0,yup_1[a4_0x49da45(0xc6)])()),'noCheckCertificate':(0x0,yup_1[a4_0x49da45(0xda)])(),'caPath':(0x0,yup_1[a4_0x49da45(0xc6)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x49da45(0xd9)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x49da45(0xd9)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x49da45(0xd9)])(),'quota':(0x0,yup_1['object'])()[a4_0x49da45(0xd3)]({'maxConditionCost':(0x0,yup_1[a4_0x49da45(0xd9)])(),'maxCPUCost':(0x0,yup_1[a4_0x49da45(0xd9)])(),'maxDynamicLogRate':(0x0,yup_1[a4_0x49da45(0xd9)])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x49da45(0xd9)])(),'ignoreQuota':(0x0,yup_1[a4_0x49da45(0xda)])(),'quotaRecoverySeconds':(0x0,yup_1['number'])()}),'agentConfigFile':(0x0,yup_1[a4_0x49da45(0xc6)])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x49da45(0xda)])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x49da45(0xd9)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x49da45(0xda)])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x49da45(0xd9)])(),'extraPaths':(0x0,yup_1['array'])()['of']((0x0,yup_1[a4_0x49da45(0xc6)])()),'redactionEnabled':(0x0,yup_1['boolean'])(),'proxy':(0x0,yup_1['object'])()['shape']({'host':(0x0,yup_1['string'])(),'port':(0x0,yup_1[a4_0x49da45(0xd9)])(),'username':(0x0,yup_1['string'])(),'password':(0x0,yup_1[a4_0x49da45(0xc6)])()})}),exports[a4_0x49da45(0xdf)]={'workingDirectory':process[a4_0x49da45(0xd7)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x49da45(0xc2)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x14,'maxWatchProperties':0x400,'maxVariableDepth':0x32,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xfde8,'maxWatchListVariableSize':0x8000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':a4_0x49da45(0xc4),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x49da45(0xcd)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':a4_0x49da45(0xb4),'stdErrThreshold':'none','collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x49da45(0xd8),a4_0x49da45(0xd5)],'noCheckCertificate':![],'caPath':a4_0x49da45(0xcb),'metadata':{'registration':{'tags':[a4_0x49da45(0xc8)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x49da45(0xe4),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};function a4_0x4d6c(_0x5ee1c0,_0x36c702){const _0x188455=a4_0xa2c8();return a4_0x4d6c=function(_0x565068,_0x351e2d){_0x565068=_0x565068-0xb3;let _0xa2c8d8=_0x188455[_0x565068];return _0xa2c8d8;},a4_0x4d6c(_0x5ee1c0,_0x36c702);}const logConfigErrors=(_0x5f382c,_0x43e356)=>{const _0x4d47e6=a4_0x49da45;var _0x147f51;const _0x527707=Object[_0x4d47e6(0xe1)]((_0x147f51=_0x5f382c===null||_0x5f382c===void 0x0?void 0x0:_0x5f382c[_0x4d47e6(0xc0)])!==null&&_0x147f51!==void 0x0?_0x147f51:[]);_0x527707['length']&&_0x527707[_0x4d47e6(0xd0)](_0x3e3ad3=>{const _0x205cb4=_0x4d47e6;_0x43e356[_0x205cb4(0xc5)](_0x3e3ad3);});};function logMainConfigParams(_0x3b9b47,_0x5cd0da){const _0x4407df=a4_0x49da45;let _0x53821b=_0x3b9b47[_0x4407df(0xbf)];_0x53821b?_0x53821b+=',\x20\x20\x20the\x20file\x20'+((0x0,fs_1['existsSync'])(_0x3b9b47['agentConfigFile'])?'exists':_0x4407df(0xcc)):_0x53821b=_0x4407df(0xbd);const _0x20992a={..._0x3b9b47,'lightrunSecret':_0x3b9b47[_0x4407df(0xdb)]?_0x4407df(0xc7):_0x4407df(0xde),'agentConfigFile':_0x53821b};_0x5cd0da[_0x4407df(0xc3)]('Agent\x20Configuration:\x20',_0x20992a),logConfigErrors(_0x3b9b47,_0x5cd0da);}exports[a4_0x49da45(0xc9)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a5_0x3855f9=a5_0x3e10;(function(_0x4d6c76,_0x44460f){var _0x51a2bd=a5_0x3e10,_0x45f8c3=_0x4d6c76();while(!![]){try{var _0x1d669a=-parseInt(_0x51a2bd(0x1fa))/0x1+parseInt(_0x51a2bd(0x1ed))/0x2+-parseInt(_0x51a2bd(0x1f5))/0x3*(parseInt(_0x51a2bd(0x1f0))/0x4)+-parseInt(_0x51a2bd(0x1ef))/0x5*(parseInt(_0x51a2bd(0x1f2))/0x6)+parseInt(_0x51a2bd(0x1f4))/0x7+-parseInt(_0x51a2bd(0x1eb))/0x8+parseInt(_0x51a2bd(0x1f6))/0x9;if(_0x1d669a===_0x44460f)break;else _0x45f8c3['push'](_0x45f8c3['shift']());}catch(_0x4f3b79){_0x45f8c3['push'](_0x45f8c3['shift']());}}}(a5_0x32bd,0x5df9d));var a5_0xc749be=(function(){var _0x6f56fa=!![];return function(_0x36dceb,_0xc9f773){var _0xc9c6f8=_0x6f56fa?function(){if(_0xc9f773){var _0x6aafd3=_0xc9f773['apply'](_0x36dceb,arguments);return _0xc9f773=null,_0x6aafd3;}}:function(){};return _0x6f56fa=![],_0xc9c6f8;};}()),a5_0x5301b3=a5_0xc749be(this,function(){var _0x4247e6=a5_0x3e10;return a5_0x5301b3[_0x4247e6(0x1f1)]()[_0x4247e6(0x1ec)](_0x4247e6(0x1f7))['toString']()[_0x4247e6(0x1fb)](a5_0x5301b3)[_0x4247e6(0x1ec)](_0x4247e6(0x1f7));});function a5_0x3e10(_0x42136a,_0x236d7b){var _0x163662=a5_0x32bd();return a5_0x3e10=function(_0x5301b3,_0xc749be){_0x5301b3=_0x5301b3-0x1e9;var _0x32bd03=_0x163662[_0x5301b3];return _0x32bd03;},a5_0x3e10(_0x42136a,_0x236d7b);}a5_0x5301b3();'use strict';Object[a5_0x3855f9(0x1f3)](exports,a5_0x3855f9(0x1e9),{'value':!![]}),exports[a5_0x3855f9(0x1fe)]=void 0x0;function a5_0x32bd(){var _0x2f9de1=['9974448tZieMh','(((.+)+)+)+$','capture','maxWatchListVariableSize','147015eZcizg','constructor','getMaxProperties','getMaxVariableSize','ConfigurationProvider','maxVariableSize','maxDataSize','__esModule','maxSnapshotBufferSize','290472GjTGyW','search','214394zoNGFK','resolvedDebugAgentConfig','5yYrGLq','44PqhVfR','toString','3228912fpybQq','defineProperty','4535279bNzbiS','206445zMxghH'];a5_0x32bd=function(){return _0x2f9de1;};return a5_0x32bd();}class ConfigurationProvider{constructor(_0x111385){var _0x29b44f=a5_0x3855f9;this[_0x29b44f(0x1ee)]=_0x111385;}[a5_0x3855f9(0x1fd)](){var _0x203fd2=a5_0x3855f9;return this[_0x203fd2(0x1ee)][_0x203fd2(0x1f8)]['maxStringLength']||this[_0x203fd2(0x1ee)][_0x203fd2(0x1f8)][_0x203fd2(0x1ff)];}['getMaxWatchListVariableSize'](){var _0x5601a9=a5_0x3855f9;return this[_0x5601a9(0x1ee)][_0x5601a9(0x1f8)][_0x5601a9(0x1f9)];}['getMaxSnapshotBufferSize'](){var _0x2e1876=a5_0x3855f9;return this[_0x2e1876(0x1ee)][_0x2e1876(0x1f8)][_0x2e1876(0x200)]||this[_0x2e1876(0x1ee)][_0x2e1876(0x1f8)][_0x2e1876(0x1ea)];}[a5_0x3855f9(0x1fc)](_0x95e9c2){var _0x1c270e=a5_0x3855f9;return _0x95e9c2?this['resolvedDebugAgentConfig']['capture']['maxWatchProperties']:this[_0x1c270e(0x1ee)][_0x1c270e(0x1f8)]['maxProperties'];}}exports['ConfigurationProvider']=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x52c3df=a6_0x131b;function a6_0x284d(){const _0x3ece19=['sendBreakpointLogsToServer','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','token','update','473577hVxECU','apiEndpoint','verifyCertificate','join','register','logger','deregister','https','PUT','sendAgentLogsToServer','/controller','timeout\x20set\x20to\x20','transmissionTimeout','6854806rWanKn','CancelToken','clearTransmissionTimeout','423945VNLTpB','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Bearer\x20','method','lastLogCollectionTime','push','createHash','transmissionQueue','context','serializedJson','invalid\x20response\x20body\x20from\x20server','Successfully\x20sent\x20log\x20file\x20','@google-cloud/common','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','statSync','./util/utils','transmitBreakpointUpdates','(((.+)+)+)+$','Timeout\x20occurred\x20after\x20','application/json','maxLogFileBytes','unable\x20to\x20register,\x20status\x20','\x20seconds','pubkey','Getting\x20reductions','https://','Update\x20for\x20breakpoints\x20','Getting\x20blocklist','/blacklist?successOnTimeout=true','POST','transmissionBulkMaxNetworkSizeInBytes','/log/','\x20and\x20enqueue\x20to\x20queue','reject','unknown\x20error\x20-\x20request\x20response\x20missing','selfSignedCA','12520uzDOaq','number','Controller',',\x20Message:\x20','agentLog','9266778ulERlU','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','createGzip','includes','debug','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','\x20for\x20request\x20','waitToken','2830382rRBLiy','__esModule','now','Certificate\x20Pinning\x20Failed!','sendAppOnlyBreakpointHitsToServer','/appOnlyActionHits/','\x20Error:\x20','cancel','then','debuggee','extend','Deregister\x20agent\x20before\x20shutdown','getRedactions','enqueueBreakpointUpdate','finally','data','breakpointId:\x20','toBuffer','floor','Agent','600lvCueA','29764460uGayCV','status','error','getBlocklist','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','map','WritableStream','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','config','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','length','memory-streams','\x20transmitted\x20successfully','warn','source','apiUrl','info','transmissionBulkMaxSize','assert','lightrunSecret','tls','listBreakpoints','Breakpoint\x20','\x20finished\x20with\x20status\x20',',\x20sending\x20only\x20one','makeRequest','breakpoint\x20','16FBdihp','message','response','zlib','readFileSync','ServiceObject','Transmitting\x20breakpoint\x20updates...','max','toString','should\x20have\x20a\x20registered\x20debuggee','/deregister/','nextWaitToken','caPath','search','5lNEZqV','stream','Failed\x20to\x20zip\x20','\x22\x20-\x20ignoring\x20it','default','\x20for\x20request\x20id\x20','/debuggees/','defineProperty','/redaction','sha256'];a6_0x284d=function(){return _0x3ece19;};return a6_0x284d();}(function(_0x21f167,_0xd0fe33){const _0x57e9f5=a6_0x131b,_0x44a172=_0x21f167();while(!![]){try{const _0x1b08e9=parseInt(_0x57e9f5(0x225))/0x1+-parseInt(_0x57e9f5(0x267))/0x2+parseInt(_0x57e9f5(0x1ed))/0x3*(-parseInt(_0x57e9f5(0x25a))/0x4)+-parseInt(_0x57e9f5(0x217))/0x5*(parseInt(_0x57e9f5(0x25f))/0x6)+parseInt(_0x57e9f5(0x232))/0x7+-parseInt(_0x57e9f5(0x209))/0x8*(-parseInt(_0x57e9f5(0x235))/0x9)+parseInt(_0x57e9f5(0x1ee))/0xa;if(_0x1b08e9===_0xd0fe33)break;else _0x44a172['push'](_0x44a172['shift']());}catch(_0x201f4b){_0x44a172['push'](_0x44a172['shift']());}}}(a6_0x284d,0xe4f6d));function a6_0x131b(_0x5392ef,_0x415d13){const _0x14a852=a6_0x284d();return a6_0x131b=function(_0x24c6f1,_0x3d052b){_0x24c6f1=_0x24c6f1-0x1db;let _0x284d6b=_0x14a852[_0x24c6f1];return _0x284d6b;},a6_0x131b(_0x5392ef,_0x415d13);}const a6_0x3d052b=(function(){let _0x77ea39=!![];return function(_0x22a82d,_0x3b3b4c){const _0x4c275b=_0x77ea39?function(){if(_0x3b3b4c){const _0x8876bb=_0x3b3b4c['apply'](_0x22a82d,arguments);return _0x3b3b4c=null,_0x8876bb;}}:function(){};return _0x77ea39=![],_0x4c275b;};}()),a6_0x24c6f1=a6_0x3d052b(this,function(){const _0x8265a5=a6_0x131b;return a6_0x24c6f1['toString']()[_0x8265a5(0x216)](_0x8265a5(0x247))[_0x8265a5(0x211)]()['constructor'](a6_0x24c6f1)['search'](_0x8265a5(0x247));});a6_0x24c6f1();'use strict';Object[a6_0x52c3df(0x21e)](exports,a6_0x52c3df(0x268),{'value':!![]}),exports[a6_0x52c3df(0x25c)]=void 0x0;const common_1=require(a6_0x52c3df(0x242)),assert=require(a6_0x52c3df(0x200)),qs=require('querystring'),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require(a6_0x52c3df(0x20c)),stream_1=require(a6_0x52c3df(0x218)),memory_streams_1=require(a6_0x52c3df(0x1f9)),tls_1=require(a6_0x52c3df(0x202)),extend=require(a6_0x52c3df(0x1e3)),axios_1=require('axios'),https=require(a6_0x52c3df(0x22c)),utils_1=require(a6_0x52c3df(0x245)),yaml=require('js-yaml'),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1[a6_0x52c3df(0x20e)]{constructor(_0x1d76ab,_0x463569,_0x586803){const _0x1b65cf=a6_0x52c3df;super({'parent':_0x1d76ab,'baseUrl':_0x1b65cf(0x22f)}),this[_0x1b65cf(0x214)]=null,this[_0x1b65cf(0x1f6)]=_0x463569,this[_0x1b65cf(0x23d)]=[],this[_0x1b65cf(0x22a)]=_0x586803;if(_0x463569[_0x1b65cf(0x215)])try{this[_0x1b65cf(0x259)]=(0x0,fs_1[_0x1b65cf(0x20d)])(_0x463569[_0x1b65cf(0x215)],'ascii');}catch(_0x1be7ee){_0x586803[_0x1b65cf(0x1fb)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x463569[_0x1b65cf(0x215)]+_0x1b65cf(0x21a));}this[_0x1b65cf(0x1fd)]=_0x1b65cf(0x24f)+_0x463569[_0x1b65cf(0x226)]+_0x1b65cf(0x21d);}['register'](_0x3d2e92,_0x1de670){const _0x2247f1=a6_0x52c3df,_0x201373={'uri':this['apiUrl']+_0x2247f1(0x229),'method':_0x2247f1(0x253),'json':!![],'body':{'debuggee':_0x3d2e92}};this[_0x2247f1(0x207)](_0x201373,(_0x3657c1,_0x26533d,_0x1a60d5)=>{const _0x282c8c=_0x2247f1;if(!_0x1a60d5)_0x1de670(_0x3657c1||new Error(_0x282c8c(0x258)));else{if(_0x3657c1){let _0x4339e8=![];_0x1a60d5['status']===HTTP_UPGRADE_REQUIRED&&_0x26533d&&(_0x26533d['message']!==undefined&&(_0x3657c1[_0x282c8c(0x20a)]=_0x26533d['message']),_0x3d2e92['id']=_0x26533d[_0x282c8c(0x1e2)]['id'],_0x4339e8=!![]),_0x1de670(_0x3657c1,_0x26533d,_0x4339e8);}else{if(_0x1a60d5[_0x282c8c(0x1ef)]!==HTTP_SUCCESS)_0x1de670(new Error(_0x282c8c(0x24b)+_0x1a60d5[_0x282c8c(0x1ef)]));else!(_0x26533d===null||_0x26533d===void 0x0?void 0x0:_0x26533d[_0x282c8c(0x1e2)])?_0x1de670(new Error(_0x282c8c(0x240))):(_0x3d2e92['id']=_0x26533d[_0x282c8c(0x1e2)]['id'],_0x1de670(null,_0x26533d));}}});}[a6_0x52c3df(0x203)](_0x5e02e4,_0x2d2468,_0x484e59){const _0x28166=a6_0x52c3df,_0x136cbd=this;assert(_0x5e02e4['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x54ef58={'successOnTimeout':!![]};_0x136cbd[_0x28166(0x214)]&&(_0x54ef58[_0x28166(0x266)]=_0x136cbd['nextWaitToken']);const _0x1952a1=this[_0x28166(0x1fd)]+encodeURIComponent(_0x5e02e4['id'])+'/breakpoints?'+qs['stringify'](_0x54ef58);_0x136cbd[_0x28166(0x207)]({'uri':_0x1952a1,'json':!![]},(_0xd55ced,_0x213fd9,_0x2c33c1)=>{const _0x588828=_0x28166;if(!_0x2c33c1){_0x2d2468(_0xd55ced||new Error(_0x588828(0x258)));return;}else{if(!is2xx(_0x2c33c1[_0x588828(0x1ef)])){_0x2d2468(new Error(_0x588828(0x1f7)+_0x2c33c1[_0x588828(0x1ef)]),_0x2c33c1);return;}else _0x213fd9&&(_0x136cbd[_0x588828(0x214)]=_0x213fd9[_0x588828(0x214)]),_0x2d2468(null,_0x2c33c1,_0x213fd9);}},_0x484e59);}[a6_0x52c3df(0x1e6)](_0x4b2e04,_0x9282a3){const _0x3c9676=a6_0x52c3df;assert(_0x4b2e04['id'],_0x3c9676(0x212));try{const _0x45f70d=JSON['stringify'](_0x9282a3),_0x1e8f29=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x45f70d);if(_0x1e8f29>=this[_0x3c9676(0x1f6)]['transmissionHardMaxNetworkSizeLimitInBytes']){this[_0x3c9676(0x22a)][_0x3c9676(0x1fb)](_0x3c9676(0x1e9)+_0x9282a3['id']+'\x20size\x20is\x20'+_0x1e8f29+_0x3c9676(0x260)+this[_0x3c9676(0x1f6)]['transmissionHardMaxNetworkSizeLimitInBytes']);return;}this['transmissionQueue'][_0x3c9676(0x23b)]({'id':_0x9282a3['id'],'serializedJson':_0x45f70d,'number':0x0});if(!this[_0x3c9676(0x231)]){const _0x3423ec=this;this[_0x3c9676(0x231)]=setTimeout(()=>_0x3423ec['transmitBreakpointUpdates']['bind'](_0x3423ec)(_0x4b2e04['id']),0x0);}}catch(_0x148d8d){this[_0x3c9676(0x22a)][_0x3c9676(0x1f0)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x9282a3['id']+_0x3c9676(0x256),_0x148d8d);return;}}[a6_0x52c3df(0x234)](){const _0x41162a=a6_0x52c3df;if(!this[_0x41162a(0x231)])return;clearTimeout(this[_0x41162a(0x231)]),this[_0x41162a(0x231)]=null;}[a6_0x52c3df(0x22b)](_0x3d2490,_0x305743){const _0x11a226=a6_0x52c3df,_0x40cc52=this[_0x11a226(0x1fd)]+encodeURIComponent(_0x3d2490['id'])+_0x11a226(0x213),_0x4282bd={'uri':_0x40cc52,'method':_0x11a226(0x253),'json':!![]};this[_0x11a226(0x22a)][_0x11a226(0x1fe)](_0x11a226(0x1e4)),this[_0x11a226(0x207)](_0x4282bd,(_0x4cef80,_0x1071a0,_0x328de1)=>{const _0x2bddd8=_0x11a226;(!_0x328de1||Math[_0x2bddd8(0x1eb)](_0x328de1['status']/0x64)!==0x2)&&this[_0x2bddd8(0x22a)]['warn'](_0x2bddd8(0x264)+_0x4cef80),_0x305743(_0x4cef80);});}[a6_0x52c3df(0x221)](_0x1a7615,_0x12409e,_0x26b1cd){const _0x4f8d25=a6_0x52c3df,_0x13fa6c=this[_0x4f8d25(0x1fd)]+encodeURIComponent(_0x1a7615['id'])+_0x4f8d25(0x255),_0x3b6754={'uri':_0x13fa6c,'method':_0x4f8d25(0x253),'json':!![],'body':_0x12409e};this[_0x4f8d25(0x207)](_0x3b6754,(_0x1bca24,_0x43648f,_0x2edf4f)=>{const _0x4a5f21=_0x4f8d25;(!_0x2edf4f||Math['floor'](_0x2edf4f[_0x4a5f21(0x1ef)]/0x64)!==0x2)&&(this[_0x4a5f21(0x22a)]['warn'](_0x4a5f21(0x1f5)+_0x1bca24),_0x26b1cd(_0x1bca24));});}[a6_0x52c3df(0x1dd)](_0x296a2f,_0x2feaad,_0x5e31a2){const _0x2bf2b5=a6_0x52c3df,_0x174871=this[_0x2bf2b5(0x1fd)]+encodeURIComponent(_0x296a2f['id'])+_0x2bf2b5(0x1de),_0x4cbb56={'uri':_0x174871,'method':_0x2bf2b5(0x253),'json':!![],'body':_0x2feaad};this[_0x2bf2b5(0x207)](_0x4cbb56,(_0x4e89e7,_0x22259b,_0x34d341)=>{const _0x18fd3d=_0x2bf2b5;(!_0x34d341||Math[_0x18fd3d(0x1eb)](_0x34d341['status']/0x64)!==0x2)&&(this[_0x18fd3d(0x22a)][_0x18fd3d(0x1fb)](_0x18fd3d(0x1f2)+_0x4e89e7),_0x5e31a2(_0x4e89e7));});}[a6_0x52c3df(0x22e)](_0x52f35d,_0x48b7d5,_0x4595ef){const _0x56ecc5=a6_0x52c3df;assert(_0x52f35d['id'],_0x56ecc5(0x212));if(this[_0x56ecc5(0x23a)]){const _0xdf6e17=Date[_0x56ecc5(0x1db)](),_0x455d2a=this[_0x56ecc5(0x23a)]+this['config'][_0x56ecc5(0x25e)]['collectCooldownMs'];if(_0xdf6e17<_0x455d2a){this['logger']['info'](_0x56ecc5(0x236)+((_0x455d2a-_0xdf6e17)/0x3e8+_0x56ecc5(0x24c)));return;}}const _0x3d7b85=(0x0,fs_1[_0x56ecc5(0x244)])(_0x4595ef)['size'],_0x2af2f3=Math[_0x56ecc5(0x210)](0x0,_0x3d7b85-this[_0x56ecc5(0x1f6)][_0x56ecc5(0x25e)][_0x56ecc5(0x24a)]),_0x357cd2=(0x0,fs_1['createReadStream'])(_0x4595ef,{'start':_0x2af2f3}),_0x569ad3=(0x0,zlib_1[_0x56ecc5(0x261)])(),_0xb32f41=new memory_streams_1[(_0x56ecc5(0x1f4))](),_0x4c5330=this;_0x4c5330[_0x56ecc5(0x22a)][_0x56ecc5(0x1fe)]('Compressing\x20and\x20sending\x20log\x20file\x20'+_0x4595ef+_0x56ecc5(0x21c)+_0x48b7d5),(0x0,stream_1['pipeline'])(_0x357cd2,_0x569ad3,_0xb32f41,_0x2c2797=>{const _0x3562b5=_0x56ecc5;if(_0x2c2797)_0x4c5330['logger']['error'](_0x3562b5(0x219)+_0x4595ef+':\x20'+_0x2c2797);else{const _0x4ceeea={'uri':this[_0x3562b5(0x1fd)]+encodeURIComponent(_0x52f35d['id'])+'/compressedLogFile/'+_0x48b7d5,'method':_0x3562b5(0x22d),'body':_0xb32f41[_0x3562b5(0x1ea)]()};_0x4c5330['makeRequest'](_0x4ceeea,_0x19d65e=>{const _0x53fcad=_0x3562b5;_0x19d65e?_0x4c5330[_0x53fcad(0x22a)][_0x53fcad(0x1f0)]('Failed\x20to\x20send\x20log\x20file\x20'+_0x4595ef+_0x53fcad(0x265)+_0x48b7d5,_0x19d65e):(_0x4c5330[_0x53fcad(0x22a)][_0x53fcad(0x1fe)](_0x53fcad(0x241)+_0x4595ef+'\x20for\x20request\x20'+_0x48b7d5),_0x4c5330[_0x53fcad(0x23a)]=Date[_0x53fcad(0x1db)]());});}});}[a6_0x52c3df(0x246)](_0x5b8427){const _0x2b770d=a6_0x52c3df;var _0x3eaf74;this[_0x2b770d(0x22a)][_0x2b770d(0x263)](_0x2b770d(0x20f)),this[_0x2b770d(0x231)]=undefined;const _0x4ade8b=[];let _0x1235f4=0x0;while(_0x4ade8b[_0x2b770d(0x1f8)]<this[_0x2b770d(0x1f6)][_0x2b770d(0x1ff)]&&this[_0x2b770d(0x23d)][_0x2b770d(0x1f8)]>0x0){const _0x1d7c6c=this[_0x2b770d(0x23d)][0x0],_0x59e6bb=_0x1d7c6c[_0x2b770d(0x23f)],_0x11854a=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x59e6bb);_0x1235f4+=_0x11854a;if(_0x1235f4<=this[_0x2b770d(0x1f6)][_0x2b770d(0x254)])_0x4ade8b[_0x2b770d(0x23b)](_0x1d7c6c),this['transmissionQueue']['shift']();else{_0x11854a>this[_0x2b770d(0x1f6)][_0x2b770d(0x254)]&&_0x4ade8b['length']===0x0&&(this['logger'][_0x2b770d(0x263)](_0x2b770d(0x208)+_0x1d7c6c['id']+'\x20size\x20>\x20max\x20network\x20size\x20:\x20'+this[_0x2b770d(0x1f6)]['transmissionBulkMaxNetworkSizeInBytes']+_0x2b770d(0x206)),_0x4ade8b[_0x2b770d(0x23b)](_0x1d7c6c),this[_0x2b770d(0x23d)]['shift']());break;}}if(!_0x4ade8b)return;const _0x2f9fe8=_0x4ade8b[_0x2b770d(0x1f3)](_0x4f06a3=>_0x4f06a3['id']),_0x3a877c={'uri':this[_0x2b770d(0x1fd)]+encodeURIComponent(_0x5b8427)+'/breakpoints','json':!![],'method':_0x2b770d(0x22d),'body':'['+_0x4ade8b[_0x2b770d(0x1f3)](_0x3ce104=>_0x3ce104[_0x2b770d(0x23f)])[_0x2b770d(0x228)](',')+']'},_0x47034f=this;try{this[_0x2b770d(0x207)](_0x3a877c,(_0x17b172,_0x46fbc1,_0x4dc81a)=>{const _0x4efa1b=_0x2b770d,_0x2f34aa=_0x4dc81a===null||_0x4dc81a===void 0x0?void 0x0:_0x4dc81a[_0x4efa1b(0x1ef)];_0x47034f[_0x4efa1b(0x22a)]['debug'](_0x4efa1b(0x250)+_0x2f9fe8+_0x4efa1b(0x205)+_0x2f34aa);if(_0x17b172||!_0x2f34aa||Math['floor'](_0x2f34aa/0x64)!==0x2){const _0xea54c6=_0x2f34aa&&(_0x2f34aa>=0x1f4||_0x2f34aa===0x198);if(_0xea54c6){_0x47034f['logger'][_0x4efa1b(0x1fb)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x2f9fe8+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x2f34aa+_0x4efa1b(0x1df)+_0x17b172);for(const _0x1f8d0f of _0x4ade8b){_0x1f8d0f[_0x4efa1b(0x25b)]<MAX_FAILED_SEND_ATTEMPTS?_0x47034f[_0x4efa1b(0x23d)]['push']({..._0x1f8d0f,'number':_0x1f8d0f[_0x4efa1b(0x25b)]+0x1}):_0x47034f['logger'][_0x4efa1b(0x1fb)](_0x4efa1b(0x204)+_0x1f8d0f['id']+_0x4efa1b(0x243));}}else _0x47034f[_0x4efa1b(0x22a)][_0x4efa1b(0x1fb)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x2f9fe8+_0x4efa1b(0x222)+_0x2f34aa+_0x4efa1b(0x1df)+_0x17b172);}else _0x47034f[_0x4efa1b(0x22a)]['info']('Update\x20for\x20breakpoints\x20'+_0x2f9fe8+_0x4efa1b(0x1fa));_0x47034f[_0x4efa1b(0x23d)][_0x4efa1b(0x1f8)]>0x0&&(_0x47034f['transmissionTimeout']=setTimeout(()=>_0x47034f[_0x4efa1b(0x246)]['bind'](_0x47034f)(_0x5b8427),0x0));},0x28);}catch(_0x227733){this[_0x2b770d(0x22a)][_0x2b770d(0x1fb)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x2f9fe8+_0x2b770d(0x237)+_0x227733+_0x2b770d(0x25d)+((_0x3eaf74=_0x227733[_0x2b770d(0x1e8)])===null||_0x3eaf74===void 0x0?void 0x0:_0x3eaf74[_0x2b770d(0x20a)])),_0x47034f['transmissionQueue'][_0x2b770d(0x1f8)]>0x0&&(_0x47034f[_0x2b770d(0x231)]=setTimeout(()=>_0x47034f['transmitBreakpointUpdates']['bind'](_0x47034f)(_0x5b8427),0x0));}}async[a6_0x52c3df(0x1f1)](_0x196096){const _0x3c4723=a6_0x52c3df;this[_0x3c4723(0x22a)][_0x3c4723(0x1fe)](_0x3c4723(0x251));const _0xcb3515=this[_0x3c4723(0x1fd)]+encodeURIComponent(_0x196096)+_0x3c4723(0x252),{error:_0x482352,data:_0x28d11f}=await this[_0x3c4723(0x207)]({'uri':_0xcb3515,'json':!![]});if(_0x482352)return Promise[_0x3c4723(0x257)](_0x482352);return yaml['load'](_0x28d11f)||{};}[a6_0x52c3df(0x207)](_0x37abd2,_0x27b886,_0x55d58f,_0x5c73a5){const _0x15aa5f=a6_0x52c3df,_0x68e902={'Content-Type':_0x5c73a5?_0x5c73a5:_0x15aa5f(0x249),'Authorization':_0x15aa5f(0x238)+this[_0x15aa5f(0x1f6)][_0x15aa5f(0x201)]},_0x202be2={'checkServerIdentity':(_0x947668,_0x3dfc96)=>this['verifyCertificate'](_0x947668,_0x3dfc96,this['config'])};if(this[_0x15aa5f(0x259)]){const _0x343523=(0x0,tls_1['createSecureContext'])(_0x202be2);_0x343523[_0x15aa5f(0x23e)]['addCACert'](this[_0x15aa5f(0x259)]),_0x202be2['secureContext']=_0x343523;}const _0x230b1a=axios_1[_0x15aa5f(0x21b)][_0x15aa5f(0x233)][_0x15aa5f(0x1fc)](),_0x2a48b2=_0x55d58f?_0x55d58f*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x15aa5f(0x22a)][_0x15aa5f(0x263)](_0x15aa5f(0x230)+_0x2a48b2);const _0x4b0904=setTimeout(()=>{const _0xb78de3=_0x15aa5f;this['logger'][_0xb78de3(0x1fb)](_0xb78de3(0x248)+_0x2a48b2+'ms'),_0x230b1a[_0xb78de3(0x1e0)]();},_0x2a48b2),_0x59b771={'method':_0x37abd2[_0x15aa5f(0x239)],'httpsAgent':new https[(_0x15aa5f(0x1ec))](_0x202be2),'url':_0x37abd2['uri'],'data':_0x37abd2['body'],'headers':_0x68e902,'cancelToken':_0x230b1a[_0x15aa5f(0x223)]};return extend(!![],_0x59b771,_0x37abd2),axios_1[_0x15aa5f(0x21b)]['request'](_0x59b771)[_0x15aa5f(0x1e1)](_0x4459c9=>{const _0xb14916=_0x15aa5f;return _0x27b886===null||_0x27b886===void 0x0?void 0x0:_0x27b886(null,_0x4459c9[_0xb14916(0x1e8)],_0x4459c9),{'error':null,'data':_0x4459c9[_0xb14916(0x1e8)],'res':_0x4459c9};})['catch'](_0x192e8b=>{const _0xa044fb=_0x15aa5f;var _0x34a3fa,_0x3fe45e;return _0x27b886===null||_0x27b886===void 0x0?void 0x0:_0x27b886(_0x192e8b,(_0x34a3fa=_0x192e8b['response'])===null||_0x34a3fa===void 0x0?void 0x0:_0x34a3fa['data'],_0x192e8b['response']),{'error':_0x192e8b,'data':(_0x3fe45e=_0x192e8b[_0xa044fb(0x20b)])===null||_0x3fe45e===void 0x0?void 0x0:_0x3fe45e['data'],'res':_0x192e8b[_0xa044fb(0x20b)]};})[_0x15aa5f(0x1e7)](()=>clearTimeout(_0x4b0904));}[a6_0x52c3df(0x227)](_0x59d1bf,_0x13738b,_0x305642){const _0x4edbba=a6_0x52c3df;if(_0x305642['noCheckCertificate'])return undefined;const _0x43345e=(0x0,crypto_1[_0x4edbba(0x23c)])(_0x4edbba(0x220))[_0x4edbba(0x224)](_0x13738b[_0x4edbba(0x24d)])['digest']('hex');return _0x305642['pinnedCerts'][_0x4edbba(0x262)](_0x43345e)?undefined:new Error(_0x4edbba(0x1dc));}async[a6_0x52c3df(0x1e5)](_0x5f2e4d){const _0x1c5024=a6_0x52c3df;this[_0x1c5024(0x22a)][_0x1c5024(0x1fe)](_0x1c5024(0x24e));const _0x37ae1d=this[_0x1c5024(0x1fd)]+encodeURIComponent(_0x5f2e4d)+_0x1c5024(0x21f),{error:_0x5d86cd,data:_0x4ba504}=await this['makeRequest']({'uri':_0x37ae1d,'json':!![]});if(_0x5d86cd)return Promise[_0x1c5024(0x257)](_0x5d86cd);return _0x4ba504;}}exports[a6_0x52c3df(0x25c)]=Controller;function is2xx(_0x2fed9a){return Math['floor'](_0x2fed9a/0x64)===0x2;}
|
|
1
|
+
const a6_0x44b038=a6_0x5554;(function(_0x338435,_0x3f9a63){const _0x2ba7bd=a6_0x5554,_0x58082d=_0x338435();while(!![]){try{const _0x1f0da2=-parseInt(_0x2ba7bd(0x8e))/0x1*(-parseInt(_0x2ba7bd(0xd7))/0x2)+-parseInt(_0x2ba7bd(0xe6))/0x3+parseInt(_0x2ba7bd(0x101))/0x4*(parseInt(_0x2ba7bd(0xf3))/0x5)+-parseInt(_0x2ba7bd(0xb2))/0x6*(-parseInt(_0x2ba7bd(0xfd))/0x7)+-parseInt(_0x2ba7bd(0x102))/0x8+parseInt(_0x2ba7bd(0xb7))/0x9+-parseInt(_0x2ba7bd(0xa5))/0xa*(parseInt(_0x2ba7bd(0x94))/0xb);if(_0x1f0da2===_0x3f9a63)break;else _0x58082d['push'](_0x58082d['shift']());}catch(_0x227d94){_0x58082d['push'](_0x58082d['shift']());}}}(a6_0x1044,0x3b533));function a6_0x5554(_0xc79417,_0x8bd74b){const _0x5f3500=a6_0x1044();return a6_0x5554=function(_0x1eac87,_0x4a7c01){_0x1eac87=_0x1eac87-0x7e;let _0x104457=_0x5f3500[_0x1eac87];return _0x104457;},a6_0x5554(_0xc79417,_0x8bd74b);}const a6_0x4a7c01=(function(){let _0x53a16d=!![];return function(_0x569d66,_0x4bfd86){const _0x2f87fd=_0x53a16d?function(){if(_0x4bfd86){const _0xda0a4f=_0x4bfd86['apply'](_0x569d66,arguments);return _0x4bfd86=null,_0xda0a4f;}}:function(){};return _0x53a16d=![],_0x2f87fd;};}()),a6_0x1eac87=a6_0x4a7c01(this,function(){const _0x307620=a6_0x5554;return a6_0x1eac87[_0x307620(0xcb)]()[_0x307620(0x7f)]('(((.+)+)+)+$')[_0x307620(0xcb)]()[_0x307620(0xa0)](a6_0x1eac87)['search'](_0x307620(0xb4));});a6_0x1eac87();'use strict';Object[a6_0x44b038(0x112)](exports,a6_0x44b038(0x93),{'value':!![]}),exports[a6_0x44b038(0xa6)]=void 0x0;const common_1=require(a6_0x44b038(0xae)),assert=require(a6_0x44b038(0x117)),qs=require('querystring'),fs_1=require('fs'),crypto_1=require('crypto'),zlib_1=require(a6_0x44b038(0x8a)),stream_1=require('stream'),memory_streams_1=require(a6_0x44b038(0xc9)),tls_1=require(a6_0x44b038(0x9e)),extend=require(a6_0x44b038(0x8f)),axios_1=require(a6_0x44b038(0x10f)),https=require('https'),utils_1=require('./util/utils'),HttpsProxyAgent=require(a6_0x44b038(0x105)),yaml=require(a6_0x44b038(0x85)),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(_0x43edcd,_0x58c826,_0x471ff3){const _0x5eb90f=a6_0x44b038;var _0x5f1534;super({'parent':_0x43edcd,'baseUrl':_0x5eb90f(0x99)}),this[_0x5eb90f(0xed)]=null,this[_0x5eb90f(0x114)]=_0x58c826,this[_0x5eb90f(0xd5)]=[],this[_0x5eb90f(0x10a)]=_0x471ff3,this[_0x5eb90f(0x9a)]=_0x5eb90f(0xda)+_0x58c826['apiEndpoint']+_0x5eb90f(0xc1),this[_0x5eb90f(0x10f)]=axios_1[_0x5eb90f(0xf2)][_0x5eb90f(0xad)]({'httpsAgent':(_0x5f1534=getProxyAgent(_0x58c826,_0x471ff3))!==null&&_0x5f1534!==void 0x0?_0x5f1534:new https[(_0x5eb90f(0xe2))](getHttpsAgentOptions(_0x58c826,_0x471ff3)),'proxy':![]});}[a6_0x44b038(0x10e)](_0x10325a,_0x5baa6c){const _0x401dc5=a6_0x44b038,_0x13cd26={'uri':this[_0x401dc5(0x9a)]+_0x401dc5(0x10e),'method':'POST','json':!![],'body':{'debuggee':_0x10325a}};this[_0x401dc5(0x10c)](_0x13cd26,(_0x39f29a,_0x331655,_0x1261c9)=>{const _0x147ba5=_0x401dc5;if(!_0x1261c9)_0x5baa6c(_0x39f29a||new Error(_0x147ba5(0x91)));else{if(_0x39f29a){let _0x3e9170=![];_0x1261c9[_0x147ba5(0xef)]===HTTP_UPGRADE_REQUIRED&&_0x331655&&(_0x331655[_0x147ba5(0xcf)]!==undefined&&(_0x39f29a['message']=_0x331655[_0x147ba5(0xcf)]),_0x10325a['id']=_0x331655[_0x147ba5(0xc8)]['id'],_0x3e9170=!![]),_0x5baa6c(_0x39f29a,_0x331655,_0x3e9170);}else{if(_0x1261c9[_0x147ba5(0xef)]!==HTTP_SUCCESS)_0x5baa6c(new Error(_0x147ba5(0xe0)+_0x1261c9[_0x147ba5(0xef)]));else!(_0x331655===null||_0x331655===void 0x0?void 0x0:_0x331655[_0x147ba5(0xc8)])?_0x5baa6c(new Error(_0x147ba5(0xd3))):(_0x10325a['id']=_0x331655[_0x147ba5(0xc8)]['id'],_0x5baa6c(null,_0x331655));}}});}[a6_0x44b038(0xd4)](_0x2971fc,_0x599cc0,_0x160683){const _0x24d466=a6_0x44b038,_0x24a72d=this;assert(_0x2971fc['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x2411ac={'successOnTimeout':!![]};_0x24a72d[_0x24d466(0xed)]&&(_0x2411ac[_0x24d466(0xb9)]=_0x24a72d[_0x24d466(0xed)]);const _0x55a1ff=this[_0x24d466(0x9a)]+encodeURIComponent(_0x2971fc['id'])+_0x24d466(0x96)+qs['stringify'](_0x2411ac);_0x24a72d[_0x24d466(0x10c)]({'uri':_0x55a1ff,'json':!![]},(_0x53d44a,_0x5ae97e,_0x867670)=>{const _0x2a1d04=_0x24d466;if(!_0x867670){_0x599cc0(_0x53d44a||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));return;}else{if(!is2xx(_0x867670['status'])){_0x599cc0(new Error('unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20'+_0x867670['status']),_0x867670);return;}else _0x5ae97e&&(_0x24a72d['nextWaitToken']=_0x5ae97e[_0x2a1d04(0xed)]),_0x599cc0(null,_0x867670,_0x5ae97e);}},_0x160683);}['enqueueBreakpointUpdate'](_0x320564,_0x5d5754){const _0xe258dd=a6_0x44b038;assert(_0x320564['id'],_0xe258dd(0xac));try{const _0x31ea77=JSON['stringify'](_0x5d5754),_0x34a10c=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x31ea77);if(_0x34a10c>=this[_0xe258dd(0x114)]['transmissionHardMaxNetworkSizeLimitInBytes']){this[_0xe258dd(0x10a)]['warn'](_0xe258dd(0xa1)+_0x5d5754['id']+_0xe258dd(0x11a)+_0x34a10c+_0xe258dd(0xcc)+this['config'][_0xe258dd(0x8c)]);return;}this[_0xe258dd(0xd5)]['push']({'id':_0x5d5754['id'],'serializedJson':_0x31ea77,'number':0x0});if(!this['transmissionTimeout']){const _0x427831=this;this[_0xe258dd(0xf9)]=setTimeout(()=>_0x427831[_0xe258dd(0x95)][_0xe258dd(0xf4)](_0x427831)(_0x320564['id']),0x0);}}catch(_0x3b3828){this[_0xe258dd(0x10a)][_0xe258dd(0xf0)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x5d5754['id']+_0xe258dd(0xa3),_0x3b3828);return;}}[a6_0x44b038(0xdd)](){const _0x4a5b66=a6_0x44b038;if(!this[_0x4a5b66(0xf9)])return;clearTimeout(this[_0x4a5b66(0xf9)]),this['transmissionTimeout']=null;}[a6_0x44b038(0xca)](_0x4a0f09,_0x18951a){const _0xcf524a=a6_0x44b038,_0x3f14f4=this[_0xcf524a(0x9a)]+encodeURIComponent(_0x4a0f09['id'])+_0xcf524a(0x118),_0x897716={'uri':_0x3f14f4,'method':_0xcf524a(0xbf),'json':!![]};this[_0xcf524a(0x10a)]['info'](_0xcf524a(0xfb)),this['makeRequest'](_0x897716,(_0x325f88,_0x5d4038,_0x5dd36e)=>{const _0x7770de=_0xcf524a;(!_0x5dd36e||Math[_0x7770de(0x8d)](_0x5dd36e[_0x7770de(0xef)]/0x64)!==0x2)&&this[_0x7770de(0x10a)][_0x7770de(0xdb)](_0x7770de(0xe8)+_0x325f88),_0x18951a(_0x325f88);});}[a6_0x44b038(0xeb)](_0x5920b9,_0x51aa70,_0x1344b6){const _0x75f358=a6_0x44b038,_0x565c7b=this[_0x75f358(0x9a)]+encodeURIComponent(_0x5920b9['id'])+_0x75f358(0xc0),_0xfcb882={'uri':_0x565c7b,'method':_0x75f358(0xbf),'json':!![],'body':_0x51aa70};this[_0x75f358(0x10c)](_0xfcb882,(_0x4f811c,_0x509fdd,_0x57569e)=>{const _0x4c1f5a=_0x75f358;(!_0x57569e||Math[_0x4c1f5a(0x8d)](_0x57569e[_0x4c1f5a(0xef)]/0x64)!==0x2)&&(this[_0x4c1f5a(0x10a)][_0x4c1f5a(0xdb)]('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x4f811c),_0x1344b6(_0x4f811c));});}['sendAppOnlyBreakpointHitsToServer'](_0x20cd44,_0x40c2a8,_0x1317a0){const _0x345104=a6_0x44b038,_0x1409d5=this['apiUrl']+encodeURIComponent(_0x20cd44['id'])+_0x345104(0x106),_0x317168={'uri':_0x1409d5,'method':_0x345104(0xbf),'json':!![],'body':_0x40c2a8};this[_0x345104(0x10c)](_0x317168,(_0x43b67f,_0x490f7e,_0x31e654)=>{const _0x4524fe=_0x345104;(!_0x31e654||Math[_0x4524fe(0x8d)](_0x31e654[_0x4524fe(0xef)]/0x64)!==0x2)&&(this[_0x4524fe(0x10a)][_0x4524fe(0xdb)](_0x4524fe(0xb1)+_0x43b67f),_0x1317a0(_0x43b67f));});}['sendAgentLogsToServer'](_0x40b5be,_0xbaf256,_0x35a90b){const _0x18d5f1=a6_0x44b038;assert(_0x40b5be['id'],'should\x20have\x20a\x20registered\x20debuggee');if(this[_0x18d5f1(0xf8)]){const _0x17d1d2=Date[_0x18d5f1(0xee)](),_0x4e96a1=this[_0x18d5f1(0xf8)]+this['config'][_0x18d5f1(0xba)][_0x18d5f1(0xb0)];if(_0x17d1d2<_0x4e96a1){this[_0x18d5f1(0x10a)][_0x18d5f1(0x90)](_0x18d5f1(0x83)+((_0x4e96a1-_0x17d1d2)/0x3e8+_0x18d5f1(0x9c)));return;}}const _0x53bd19=(0x0,fs_1[_0x18d5f1(0x107)])(_0x35a90b)[_0x18d5f1(0xa9)],_0x1ce896=Math[_0x18d5f1(0xaa)](0x0,_0x53bd19-this[_0x18d5f1(0x114)]['agentLog'][_0x18d5f1(0xe1)]),_0x443430=(0x0,fs_1[_0x18d5f1(0xd1)])(_0x35a90b,{'start':_0x1ce896}),_0x1ac52d=(0x0,zlib_1[_0x18d5f1(0x110)])(),_0x4e2b45=new memory_streams_1['WritableStream'](),_0x33873e=this;_0x33873e[_0x18d5f1(0x10a)]['info'](_0x18d5f1(0x108)+_0x35a90b+'\x20for\x20request\x20id\x20'+_0xbaf256),(0x0,stream_1[_0x18d5f1(0xfa)])(_0x443430,_0x1ac52d,_0x4e2b45,_0x5a4b63=>{const _0x513de1=_0x18d5f1;if(_0x5a4b63)_0x33873e['logger'][_0x513de1(0xf0)](_0x513de1(0xd2)+_0x35a90b+':\x20'+_0x5a4b63);else{const _0x4d8522={'uri':this['apiUrl']+encodeURIComponent(_0x40b5be['id'])+'/compressedLogFile/'+_0xbaf256,'method':_0x513de1(0xc4),'body':_0x4e2b45[_0x513de1(0x100)]()};_0x33873e[_0x513de1(0x10c)](_0x4d8522,_0x26c588=>{const _0x535344=_0x513de1;_0x26c588?_0x33873e[_0x535344(0x10a)][_0x535344(0xf0)](_0x535344(0xe5)+_0x35a90b+'\x20for\x20request\x20'+_0xbaf256,_0x26c588):(_0x33873e['logger'][_0x535344(0x90)]('Successfully\x20sent\x20log\x20file\x20'+_0x35a90b+_0x535344(0xec)+_0xbaf256),_0x33873e[_0x535344(0xf8)]=Date[_0x535344(0xee)]());});}});}[a6_0x44b038(0x95)](_0x328360){const _0x46443b=a6_0x44b038;var _0x1421c3;this['logger'][_0x46443b(0xf6)](_0x46443b(0xdf)),this['transmissionTimeout']=undefined;const _0x1d9135=[];let _0x20f061=0x0;while(_0x1d9135[_0x46443b(0xde)]<this[_0x46443b(0x114)][_0x46443b(0xf5)]&&this[_0x46443b(0xd5)][_0x46443b(0xde)]>0x0){const _0x3c5eaa=this[_0x46443b(0xd5)][0x0],_0x8d4a62=_0x3c5eaa['serializedJson'],_0x123a7d=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x8d4a62);_0x20f061+=_0x123a7d;if(_0x20f061<=this['config']['transmissionBulkMaxNetworkSizeInBytes'])_0x1d9135[_0x46443b(0x115)](_0x3c5eaa),this[_0x46443b(0xd5)][_0x46443b(0x9b)]();else{_0x123a7d>this[_0x46443b(0x114)]['transmissionBulkMaxNetworkSizeInBytes']&&_0x1d9135['length']===0x0&&(this['logger'][_0x46443b(0xf6)](_0x46443b(0xdc)+_0x3c5eaa['id']+_0x46443b(0x10d)+this[_0x46443b(0x114)][_0x46443b(0xbd)]+_0x46443b(0x8b)),_0x1d9135[_0x46443b(0x115)](_0x3c5eaa),this[_0x46443b(0xd5)][_0x46443b(0x9b)]());break;}}if(!_0x1d9135)return;const _0x45ecc4=_0x1d9135[_0x46443b(0xd8)](_0x4fbb15=>_0x4fbb15['id']),_0x50d125={'uri':this[_0x46443b(0x9a)]+encodeURIComponent(_0x328360)+'/breakpoints','json':!![],'method':'PUT','body':'['+_0x1d9135[_0x46443b(0xd8)](_0x11e5c9=>_0x11e5c9[_0x46443b(0x80)])[_0x46443b(0xd9)](',')+']'},_0x4a70a7=this;try{this[_0x46443b(0x10c)](_0x50d125,(_0x2a4b9b,_0x4ec75a,_0x45e9d9)=>{const _0x4513aa=_0x46443b,_0x5dfe70=_0x45e9d9===null||_0x45e9d9===void 0x0?void 0x0:_0x45e9d9[_0x4513aa(0xef)];_0x4a70a7[_0x4513aa(0x10a)][_0x4513aa(0xf6)]('Update\x20for\x20breakpoints\x20'+_0x45ecc4+_0x4513aa(0x86)+_0x5dfe70);if(_0x2a4b9b||!_0x5dfe70||Math['floor'](_0x5dfe70/0x64)!==0x2){const _0x5a848f=_0x5dfe70&&(_0x5dfe70>=0x1f4||_0x5dfe70===0x198);if(_0x5a848f){_0x4a70a7['logger'][_0x4513aa(0xdb)](_0x4513aa(0xc2)+_0x45ecc4+_0x4513aa(0x11b)+_0x5dfe70+_0x4513aa(0x84)+_0x2a4b9b);for(const _0x7a7a2b of _0x1d9135){_0x7a7a2b[_0x4513aa(0xaf)]<MAX_FAILED_SEND_ATTEMPTS?_0x4a70a7['transmissionQueue']['push']({..._0x7a7a2b,'number':_0x7a7a2b[_0x4513aa(0xaf)]+0x1}):_0x4a70a7[_0x4513aa(0x10a)]['warn'](_0x4513aa(0x103)+_0x7a7a2b['id']+_0x4513aa(0xc3));}}else _0x4a70a7[_0x4513aa(0x10a)][_0x4513aa(0xdb)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x45ecc4+_0x4513aa(0x11b)+_0x5dfe70+'\x20Error:\x20'+_0x2a4b9b);}else _0x4a70a7[_0x4513aa(0x10a)][_0x4513aa(0x90)](_0x4513aa(0x111)+_0x45ecc4+'\x20transmitted\x20successfully');_0x4a70a7['transmissionQueue'][_0x4513aa(0xde)]>0x0&&(_0x4a70a7[_0x4513aa(0xf9)]=setTimeout(()=>_0x4a70a7[_0x4513aa(0x95)][_0x4513aa(0xf4)](_0x4a70a7)(_0x328360),0x0));},0x28);}catch(_0x1ae283){this[_0x46443b(0x10a)]['warn'](_0x46443b(0x109)+_0x45ecc4+_0x46443b(0xea)+_0x1ae283+',\x20Message:\x20'+((_0x1421c3=_0x1ae283['data'])===null||_0x1421c3===void 0x0?void 0x0:_0x1421c3[_0x46443b(0xcf)])),_0x4a70a7['transmissionQueue'][_0x46443b(0xde)]>0x0&&(_0x4a70a7[_0x46443b(0xf9)]=setTimeout(()=>_0x4a70a7[_0x46443b(0x95)]['bind'](_0x4a70a7)(_0x328360),0x0));}}async[a6_0x44b038(0x119)](_0x5c4231){const _0x28ca27=a6_0x44b038;this[_0x28ca27(0x10a)]['info']('Getting\x20blocklist');const _0x24da35=this[_0x28ca27(0x9a)]+encodeURIComponent(_0x5c4231)+_0x28ca27(0xd0),{error:_0x46e804,data:_0x332497}=await this[_0x28ca27(0x10c)]({'uri':_0x24da35,'json':!![]});if(_0x46e804)return Promise[_0x28ca27(0xcd)](_0x46e804);return yaml[_0x28ca27(0xb8)](_0x332497)||{};}[a6_0x44b038(0x10c)](_0x45ef25,_0x4a4d3c,_0x501912,_0x3cbc6f){const _0x11e56f=a6_0x44b038,_0x44f45e={'Content-Type':_0x3cbc6f?_0x3cbc6f:_0x11e56f(0xbb),'Authorization':_0x11e56f(0x92)+this[_0x11e56f(0x114)][_0x11e56f(0xbc)]},_0xce5e87=axios_1[_0x11e56f(0xf2)][_0x11e56f(0xe3)][_0x11e56f(0xe7)](),_0x1fb441=_0x501912?_0x501912*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x11e56f(0x10a)][_0x11e56f(0xf6)](_0x11e56f(0xb6)+_0x1fb441);const _0x507604=setTimeout(()=>{const _0x447dfe=_0x11e56f;this['logger'][_0x447dfe(0xdb)](_0x447dfe(0xa2)+_0x1fb441+'ms'),_0xce5e87[_0x447dfe(0x116)]();},_0x1fb441),_0xd5d6d5={'method':_0x45ef25[_0x11e56f(0xb3)],'url':_0x45ef25[_0x11e56f(0x104)],'data':_0x45ef25['body'],'headers':_0x44f45e,'cancelToken':_0xce5e87[_0x11e56f(0xff)]};return extend(!![],_0xd5d6d5,_0x45ef25),this[_0x11e56f(0x10f)]['request'](_0xd5d6d5)['then'](_0x37e344=>{const _0x2a9c97=_0x11e56f;return _0x4a4d3c===null||_0x4a4d3c===void 0x0?void 0x0:_0x4a4d3c(null,_0x37e344[_0x2a9c97(0x7e)],_0x37e344),{'error':null,'data':_0x37e344[_0x2a9c97(0x7e)],'res':_0x37e344};})[_0x11e56f(0xfe)](_0x72a8e=>{const _0x1f9b2d=_0x11e56f;var _0x130c35,_0x1952f8;return _0x4a4d3c===null||_0x4a4d3c===void 0x0?void 0x0:_0x4a4d3c(_0x72a8e,(_0x130c35=_0x72a8e[_0x1f9b2d(0x89)])===null||_0x130c35===void 0x0?void 0x0:_0x130c35[_0x1f9b2d(0x7e)],_0x72a8e[_0x1f9b2d(0x89)]),{'error':_0x72a8e,'data':(_0x1952f8=_0x72a8e[_0x1f9b2d(0x89)])===null||_0x1952f8===void 0x0?void 0x0:_0x1952f8[_0x1f9b2d(0x7e)],'res':_0x72a8e[_0x1f9b2d(0x89)]};})[_0x11e56f(0x87)](()=>clearTimeout(_0x507604));}async[a6_0x44b038(0xa8)](_0x311588){const _0x551807=a6_0x44b038;this['logger'][_0x551807(0x90)](_0x551807(0xa4));const _0x1cc5f8=this['apiUrl']+encodeURIComponent(_0x311588)+_0x551807(0x98),{error:_0x18ae65,data:_0x555f3d}=await this[_0x551807(0x10c)]({'uri':_0x1cc5f8,'json':!![]});if(_0x18ae65)return Promise[_0x551807(0xcd)](_0x18ae65);return _0x555f3d;}}exports[a6_0x44b038(0xa6)]=Controller;function is2xx(_0x161183){const _0x20fb02=a6_0x44b038;return Math[_0x20fb02(0x8d)](_0x161183/0x64)===0x2;}function a6_0x1044(){const _0x520d8f=['create','@google-cloud/common','number','collectCooldownMs','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','9390zRXsbL','method','(((.+)+)+)+$','ascii','timeout\x20set\x20to\x20','3648267DDrfxg','load','waitToken','agentLog','application/json','lightrunSecret','transmissionBulkMaxNetworkSizeInBytes','includes','POST','/log/','/debuggees/','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','PUT','noCheckCertificate','Using\x20proxy\x20configuration:\x20','createHash','debuggee','memory-streams','deregister','toString','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','reject','host','message','/blacklist?successOnTimeout=true','createReadStream','Failed\x20to\x20zip\x20','invalid\x20response\x20body\x20from\x20server','listBreakpoints','transmissionQueue','digest','48522YRUYhT','map','join','https://','warn','breakpoint\x20','clearTransmissionTimeout','length','Transmitting\x20breakpoint\x20updates...','unable\x20to\x20register,\x20status\x20','maxLogFileBytes','Agent','CancelToken','sha256','Failed\x20to\x20send\x20log\x20file\x20','1060740gqSffh','source','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','Certificate\x20Pinning\x20Failed!','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','sendBreakpointLogsToServer','\x20for\x20request\x20','nextWaitToken','now','status','error','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','default','5tJDDsN','bind','transmissionBulkMaxSize','debug','createSecureContext','lastLogCollectionTime','transmissionTimeout','pipeline','Deregister\x20agent\x20before\x20shutdown','hex','791iPQRwp','catch','token','toBuffer','1686796mWKrUW','2400584vMUgAt','Breakpoint\x20','uri','https-proxy-agent','/appOnlyActionHits/','statSync','Compressing\x20and\x20sending\x20log\x20file\x20','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','logger','port','makeRequest','\x20size\x20>\x20max\x20network\x20size\x20:\x20','register','axios','createGzip','Update\x20for\x20breakpoints\x20','defineProperty','\x22\x20-\x20ignoring\x20it','config','push','cancel','assert','/deregister/','getBlocklist','\x20size\x20is\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','data','search','serializedJson','secureContext','pinnedCerts','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','\x20Error:\x20','js-yaml','\x20finished\x20with\x20status\x20','finally','callback','response','zlib',',\x20sending\x20only\x20one','transmissionHardMaxNetworkSizeLimitInBytes','floor','9MChSFk','extend','info','unknown\x20error\x20-\x20request\x20response\x20missing','Bearer\x20','__esModule','149237bUdcjI','transmitBreakpointUpdates','/breakpoints?','caPath','/redaction','/controller','apiUrl','shift','\x20seconds','context','tls','addCACert','constructor','breakpointId:\x20','Timeout\x20occurred\x20after\x20','\x20and\x20enqueue\x20to\x20queue','Getting\x20reductions','240scZqoy','Controller','update','getRedactions','size','max','username','should\x20have\x20a\x20registered\x20debuggee'];a6_0x1044=function(){return _0x520d8f;};return a6_0x1044();}function getProxyAgent(_0x196f43,_0x41bac5){const _0x479a8c=a6_0x44b038;var _0x2532af,_0x2981f8,_0x2751fc;const _0x2fbb7a=_0x196f43['proxy'];if(!(_0x2fbb7a===null||_0x2fbb7a===void 0x0?void 0x0:_0x2fbb7a[_0x479a8c(0xce)]))return undefined;if(!_0x2fbb7a[_0x479a8c(0x10b)])return _0x41bac5['error'](_0x479a8c(0xf1)),undefined;_0x41bac5[_0x479a8c(0x90)](_0x479a8c(0xc6)+_0x2fbb7a[_0x479a8c(0xce)]+':'+_0x2fbb7a[_0x479a8c(0x10b)]+',\x20username:\x20'+((_0x2532af=_0x2fbb7a[_0x479a8c(0xab)])!==null&&_0x2532af!==void 0x0?_0x2532af:''));const _0x222052=new HttpsProxyAgent({'host':_0x2fbb7a[_0x479a8c(0xce)],'port':_0x2fbb7a[_0x479a8c(0x10b)],'auth':_0x2fbb7a['username']||_0x2fbb7a['password']?((_0x2981f8=_0x2fbb7a[_0x479a8c(0xab)])!==null&&_0x2981f8!==void 0x0?_0x2981f8:'')+':'+((_0x2751fc=_0x2fbb7a['password'])!==null&&_0x2751fc!==void 0x0?_0x2751fc:''):undefined}),_0x46fb81=_0x222052['callback'][_0x479a8c(0xf4)](_0x222052),_0x5517fd=getHttpsAgentOptions(_0x196f43,_0x41bac5);return _0x222052[_0x479a8c(0x88)]=(_0x43bfff,_0x5af508)=>{return _0x46fb81(_0x43bfff,{..._0x5af508,..._0x5517fd});},_0x222052;}function getHttpsAgentOptions(_0x6bee2e,_0x7c5752){const _0x2dcf2e=a6_0x44b038,_0x34df61={'checkServerIdentity':(_0x123d4d,_0x4c0c1c)=>{const _0x473340=a6_0x5554;if(_0x6bee2e[_0x473340(0xc5)])return undefined;const _0x3d1853=(0x0,crypto_1[_0x473340(0xc7)])(_0x473340(0xe4))[_0x473340(0xa7)](_0x4c0c1c['pubkey'])[_0x473340(0xd6)](_0x473340(0xfc));return _0x6bee2e[_0x473340(0x82)][_0x473340(0xbe)](_0x3d1853)?undefined:new Error(_0x473340(0xe9));}};let _0x118983;if(_0x6bee2e[_0x2dcf2e(0x97)])try{_0x118983=(0x0,fs_1['readFileSync'])(_0x6bee2e[_0x2dcf2e(0x97)],_0x2dcf2e(0xb5));}catch(_0x80b5e0){_0x7c5752[_0x2dcf2e(0xdb)]('Failed\x20to\x20read\x20pem\x20file\x20\x22'+_0x6bee2e[_0x2dcf2e(0x97)]+_0x2dcf2e(0x113));}if(_0x118983){const _0x10e9ce=(0x0,tls_1[_0x2dcf2e(0xf7)])(_0x34df61);_0x10e9ce[_0x2dcf2e(0x9d)][_0x2dcf2e(0x9f)](_0x118983),_0x34df61[_0x2dcf2e(0x81)]=_0x10e9ce;}return _0x34df61;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7_0x51dba0=a7_0x44fb;(function(_0x226847,_0x498212){const _0x579f8a=a7_0x44fb,_0x5aa485=_0x226847();while(!![]){try{const _0x42e35d=-parseInt(_0x579f8a(0xa0))/0x1+-parseInt(_0x579f8a(0xa4))/0x2+-parseInt(_0x579f8a(0xa1))/0x3*(parseInt(_0x579f8a(0x88))/0x4)+parseInt(_0x579f8a(0x9d))/0x5*(-parseInt(_0x579f8a(0x9a))/0x6)+-parseInt(_0x579f8a(0x89))/0x7*(parseInt(_0x579f8a(0x8e))/0x8)+-parseInt(_0x579f8a(0x92))/0x9*(parseInt(_0x579f8a(0xa6))/0xa)+parseInt(_0x579f8a(0x8a))/0xb;if(_0x42e35d===_0x498212)break;else _0x5aa485['push'](_0x5aa485['shift']());}catch(_0x34691a){_0x5aa485['push'](_0x5aa485['shift']());}}}(a7_0x13b0,0x7412e));const a7_0xd69b2a=(function(){let _0x497f59=!![];return function(_0x1ca8c4,_0x3769c7){const _0x3b5955=_0x497f59?function(){const _0x41a262=a7_0x44fb;if(_0x3769c7){const _0x563c69=_0x3769c7[_0x41a262(0x97)](_0x1ca8c4,arguments);return _0x3769c7=null,_0x563c69;}}:function(){};return _0x497f59=![],_0x3b5955;};}()),a7_0x122c57=a7_0xd69b2a(this,function(){const _0x920bf9=a7_0x44fb;return a7_0x122c57[_0x920bf9(0x91)]()[_0x920bf9(0x9f)](_0x920bf9(0x99))[_0x920bf9(0x91)]()[_0x920bf9(0xa3)](a7_0x122c57)[_0x920bf9(0x9f)](_0x920bf9(0x99));});function a7_0x44fb(_0x462343,_0x18cdfb){const _0x41b5e2=a7_0x13b0();return a7_0x44fb=function(_0x122c57,_0xd69b2a){_0x122c57=_0x122c57-0x85;let _0x13b058=_0x41b5e2[_0x122c57];return _0x13b058;},a7_0x44fb(_0x462343,_0x18cdfb);}a7_0x122c57();function a7_0x13b0(){const _0x2da598=['3hDtmfo','default','constructor','807520CmgDri','minorVersion_','290EdPjFk','createDebuggee','relative','StatusMessage','./createDebuggeeMetadata','minorversion','createUniquifier','argv','3644348pHFmMa','7VDOFAP','35209515vQhsoj','stringify','__esModule','node','4611160zqNsNx','versions','../../client/stackdriver/status-message','toString','69102sElYgR','module','getPlatform','path','../../debuggee','apply','version','(((.+)+)+)+$','24EDYPun','UNSPECIFIED','service','674665hUBZTm','string','search','71791HmOQhS'];a7_0x13b0=function(){return _0x2da598;};return a7_0x13b0();}'use strict';Object['defineProperty'](exports,a7_0x51dba0(0x8c),{'value':!![]}),exports[a7_0x51dba0(0xa7)]=void 0x0;const path=require(a7_0x51dba0(0x95)),status_message_1=require(a7_0x51dba0(0x90)),debuggee_1=require(a7_0x51dba0(0x96)),createDebuggeeMetadata_1=require(a7_0x51dba0(0xaa)),createUniquifier_1=require('./createUniquifier'),getPlatform_1=require('./getPlatform'),createDebuggee=(_0xe5b69c,_0xdb093d,_0x25a03a,_0x5d8250,_0x3fa21b,_0x1dd9c4,_0x2c11e6,_0x1c14a4)=>{const _0x1b42d1=a7_0x51dba0,_0x479ab1=process['cwd'](),_0x3ec909=path[_0x1b42d1(0xa8)](_0x479ab1,process[_0x1b42d1(0x87)][0x1]),_0x58a75a={'main\x20script':_0x3ec909,'process.title':process['title'],'node\x20version':process[_0x1b42d1(0x8f)][_0x1b42d1(0x8d)],'V8\x20version':process['versions']['v8'],'agent.name':_0x5d8250['name'],'agent.version':_0x3fa21b,'platform':(0x0,getPlatform_1[_0x1b42d1(0x94)])()},_0x807328=_0xdb093d['serviceContext'];_0x807328&&(typeof _0x807328[_0x1b42d1(0x9c)]===_0x1b42d1(0x9e)&&_0x807328['service']!==_0x1b42d1(0xa2)&&(_0x58a75a[_0x1b42d1(0x93)]=_0x807328[_0x1b42d1(0x9c)]),typeof _0x807328[_0x1b42d1(0x98)]===_0x1b42d1(0x9e)&&(_0x58a75a['version']=_0x807328[_0x1b42d1(0x98)]),typeof _0x807328['minorVersion_']==='string'&&(_0x58a75a[_0x1b42d1(0x85)]=_0x807328[_0x1b42d1(0xa5)]));const _0x196ad1=(0x0,createUniquifier_1[_0x1b42d1(0x86)])(_0x3fa21b,_0xe5b69c,_0x25a03a,_0x58a75a),_0x10e016=_0x1c14a4?new status_message_1[(_0x1b42d1(0xa9))](status_message_1[_0x1b42d1(0xa9)][_0x1b42d1(0x9b)],_0x1c14a4,!![]):undefined,_0x2e4a1d=(0x0,createDebuggeeMetadata_1['createDebuggeeMetadata'])(_0xdb093d,_0x1dd9c4),_0x5aa0d4={'uniquifier':_0x196ad1,'agentVersion':_0x3fa21b,'labels':{'metadata':JSON[_0x1b42d1(0x8b)](_0x2e4a1d)},'statusMessage':_0x10e016,'packageInfo':_0x5d8250,..._0x2c11e6};return _0x25a03a&&(_0x5aa0d4['sourceContexts']=[_0x25a03a]),new debuggee_1['Debuggee'](_0x5aa0d4);};exports['createDebuggee']=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8_0x28331b=a8_0x20bd;(function(_0x3b738f,_0x3c246d){const _0x4057d3=a8_0x20bd,_0x2baf96=_0x3b738f();while(!![]){try{const _0x59f813=parseInt(_0x4057d3(0x132))/0x1*(-parseInt(_0x4057d3(0x122))/0x2)+-parseInt(_0x4057d3(0x126))/0x3+parseInt(_0x4057d3(0x11c))/0x4*(parseInt(_0x4057d3(0x12e))/0x5)+-parseInt(_0x4057d3(0x135))/0x6+parseInt(_0x4057d3(0x11d))/0x7*(-parseInt(_0x4057d3(0x138))/0x8)+-parseInt(_0x4057d3(0x11e))/0x9*(parseInt(_0x4057d3(0x130))/0xa)+parseInt(_0x4057d3(0x12a))/0xb;if(_0x59f813===_0x3c246d)break;else _0x2baf96['push'](_0x2baf96['shift']());}catch(_0x4093b6){_0x2baf96['push'](_0x2baf96['shift']());}}}(a8_0x17be,0x43802));const a8_0x9cf215=(function(){let _0x176809=!![];return function(_0x337999,_0x48f2b0){const _0x2f890a=_0x176809?function(){const _0x309449=a8_0x20bd;if(_0x48f2b0){const _0x39f0b7=_0x48f2b0[_0x309449(0x11f)](_0x337999,arguments);return _0x48f2b0=null,_0x39f0b7;}}:function(){};return _0x176809=![],_0x2f890a;};}()),a8_0x5d40f8=a8_0x9cf215(this,function(){const _0x3ed501=a8_0x20bd;return a8_0x5d40f8['toString']()[_0x3ed501(0x134)](_0x3ed501(0x121))[_0x3ed501(0x12b)]()['constructor'](a8_0x5d40f8)[_0x3ed501(0x134)](_0x3ed501(0x121));});a8_0x5d40f8();function a8_0x20bd(_0x64293d,_0x549562){const _0x5ac36a=a8_0x17be();return a8_0x20bd=function(_0x5d40f8,_0x9cf215){_0x5d40f8=_0x5d40f8-0x11c;let _0x17be91=_0x5ac36a[_0x5d40f8];return _0x17be91;},a8_0x20bd(_0x64293d,_0x549562);}'use strict';Object[a8_0x28331b(0x124)](exports,a8_0x28331b(0x131),{'value':!![]}),exports['createDebuggeeMetadata']=void 0x0;function a8_0x17be(){const _0x460a2a=['utf-8','(((.+)+)+)+$','34EUjqqS','registration','defineProperty','string','813159nEadbg','parse','tags','map','19446823ZsihJp','toString','Failed\x20to\x20read\x20metadata\x20file\x20','extend','29170lTDPTQ','filename','10fqTRSx','__esModule','7215zVGOIZ','createDebuggeeMetadata','search','2002854NycOcS','readFileSync','metadata','66208RBZgGZ','64eSvYOm','259aWaryI','4959234bctoYB','apply'];a8_0x17be=function(){return _0x460a2a;};return a8_0x17be();}const fs=require('fs'),extend=require(a8_0x28331b(0x12d)),createDebuggeeMetadata=(_0x49ba52,_0xb08f7c)=>{const _0x8b1c66=a8_0x28331b;var _0x49dc1a,_0x21a561,_0x1aee0c;let _0x4b5f95={'registration':{}};if((_0x49dc1a=_0x49ba52[_0x8b1c66(0x137)])===null||_0x49dc1a===void 0x0?void 0x0:_0x49dc1a['filename'])try{_0x4b5f95=JSON[_0x8b1c66(0x127)](fs[_0x8b1c66(0x136)](_0x49ba52[_0x8b1c66(0x137)][_0x8b1c66(0x12f)],_0x8b1c66(0x120)));}catch(_0x55d784){_0xb08f7c['warn'](_0x8b1c66(0x12c)+_0x49ba52[_0x8b1c66(0x137)][_0x8b1c66(0x12f)],_0x55d784);}return _0x4b5f95['registration']=extend(!![],{},(_0x21a561=_0x49ba52[_0x8b1c66(0x137)])===null||_0x21a561===void 0x0?void 0x0:_0x21a561[_0x8b1c66(0x123)],_0x4b5f95[_0x8b1c66(0x123)]),((_0x1aee0c=_0x4b5f95[_0x8b1c66(0x123)])===null||_0x1aee0c===void 0x0?void 0x0:_0x1aee0c[_0x8b1c66(0x128)])&&(_0x4b5f95['registration'][_0x8b1c66(0x128)]=_0x4b5f95[_0x8b1c66(0x123)][_0x8b1c66(0x128)][_0x8b1c66(0x129)](_0x3cde0b=>typeof _0x3cde0b===_0x8b1c66(0x125)?{'name':_0x3cde0b}:_0x3cde0b)),_0x4b5f95;};exports[a8_0x28331b(0x133)]=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x366f49=a9_0x13e8;(function(_0x4c3ea2,_0x498713){const _0x24d7d7=a9_0x13e8,_0x4983d0=_0x4c3ea2();while(!![]){try{const _0x517507=-parseInt(_0x24d7d7(0x10d))/0x1+-parseInt(_0x24d7d7(0x110))/0x2*(parseInt(_0x24d7d7(0x10a))/0x3)+parseInt(_0x24d7d7(0x115))/0x4*(-parseInt(_0x24d7d7(0x10e))/0x5)+-parseInt(_0x24d7d7(0x113))/0x6*(-parseInt(_0x24d7d7(0xfd))/0x7)+-parseInt(_0x24d7d7(0x102))/0x8*(-parseInt(_0x24d7d7(0x114))/0x9)+-parseInt(_0x24d7d7(0x10f))/0xa+parseInt(_0x24d7d7(0x111))/0xb*(parseInt(_0x24d7d7(0x106))/0xc);if(_0x517507===_0x498713)break;else _0x4983d0['push'](_0x4983d0['shift']());}catch(_0xc235b){_0x4983d0['push'](_0x4983d0['shift']());}}}(a9_0x5370,0x78fdc));const a9_0x1f7921=(function(){let _0x19e34e=!![];return function(_0x50faad,_0x330bd4){const _0x1f2c1d=_0x19e34e?function(){const _0x359bfb=a9_0x13e8;if(_0x330bd4){const _0x79f50d=_0x330bd4[_0x359bfb(0x10b)](_0x50faad,arguments);return _0x330bd4=null,_0x79f50d;}}:function(){};return _0x19e34e=![],_0x1f2c1d;};}()),a9_0x23d8cf=a9_0x1f7921(this,function(){const _0x384323=a9_0x13e8;return a9_0x23d8cf[_0x384323(0x107)]()['search'](_0x384323(0x108))[_0x384323(0x107)]()['constructor'](a9_0x23d8cf)['search'](_0x384323(0x108));});function a9_0x5370(){const _0x14fdf5=['10095XgJqfG','apply','hex','257212soPNEU','35IiEUBF','9673570eSCnzY','236lqPjRU','103939EfNxAW','digest','642vqNiHm','18KRmMnn','281004SjNxwZ','3871kVatpL','createUniquifier','crypto','stringify','createHash','2904592bBpiTS','defineProperty','__esModule','sha1','2316wngSfN','toString','(((.+)+)+)+$','update'];a9_0x5370=function(){return _0x14fdf5;};return a9_0x5370();}function a9_0x13e8(_0x37e609,_0x235869){const _0x27cd98=a9_0x5370();return a9_0x13e8=function(_0x23d8cf,_0x1f7921){_0x23d8cf=_0x23d8cf-0xfd;let _0x5370d5=_0x27cd98[_0x23d8cf];return _0x5370d5;},a9_0x13e8(_0x37e609,_0x235869);}a9_0x23d8cf();'use strict';Object[a9_0x366f49(0x103)](exports,a9_0x366f49(0x104),{'value':!![]}),exports['createUniquifier']=void 0x0;const crypto=require(a9_0x366f49(0xff)),createUniquifier=(_0x297044,_0x40824a,_0x51aaa2,_0x3218cc)=>{const _0x57cf6f=a9_0x366f49,_0xba45db=_0x297044+_0x40824a+JSON[_0x57cf6f(0x100)](_0x51aaa2)+JSON[_0x57cf6f(0x100)](_0x3218cc);return crypto[_0x57cf6f(0x101)](_0x57cf6f(0x105))[_0x57cf6f(0x109)](_0xba45db)[_0x57cf6f(0x112)](_0x57cf6f(0x10c));};exports[a9_0x366f49(0xfe)]=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0xb2f522=a10_0x4967;(function(_0x2d59df,_0x179746){const _0x4e8324=a10_0x4967,_0x1e3b02=_0x2d59df();while(!![]){try{const _0x3f55f6=-parseInt(_0x4e8324(0x1cb))/0x1+parseInt(_0x4e8324(0x1d3))/0x2*(parseInt(_0x4e8324(0x1ca))/0x3)+-parseInt(_0x4e8324(0x1db))/0x4*(-parseInt(_0x4e8324(0x1d4))/0x5)+-parseInt(_0x4e8324(0x1d0))/0x6*(parseInt(_0x4e8324(0x1d9))/0x7)+parseInt(_0x4e8324(0x1cf))/0x8+parseInt(_0x4e8324(0x1da))/0x9+-parseInt(_0x4e8324(0x1d1))/0xa;if(_0x3f55f6===_0x179746)break;else _0x1e3b02['push'](_0x1e3b02['shift']());}catch(_0x4b5e1a){_0x1e3b02['push'](_0x1e3b02['shift']());}}}(a10_0x1d3f,0x3629d));const a10_0x4d566d=(function(){let _0x38faf1=!![];return function(_0x204704,_0x11f971){const _0x5c517a=_0x38faf1?function(){const _0x2e4adc=a10_0x4967;if(_0x11f971){const _0x2b8be3=_0x11f971[_0x2e4adc(0x1d7)](_0x204704,arguments);return _0x11f971=null,_0x2b8be3;}}:function(){};return _0x38faf1=![],_0x5c517a;};}()),a10_0x58e696=a10_0x4d566d(this,function(){const _0x426a6c=a10_0x4967;return a10_0x58e696[_0x426a6c(0x1ce)]()[_0x426a6c(0x1c9)]('(((.+)+)+)+$')['toString']()[_0x426a6c(0x1d5)](a10_0x58e696)['search'](_0x426a6c(0x1cc));});a10_0x58e696();function a10_0x4967(_0x5df504,_0x5010ba){const _0x1ea78d=a10_0x1d3f();return a10_0x4967=function(_0x58e696,_0x4d566d){_0x58e696=_0x58e696-0x1c9;let _0x1d3fd1=_0x1ea78d[_0x58e696];return _0x1d3fd1;},a10_0x4967(_0x5df504,_0x5010ba);}'use strict';function a10_0x1d3f(){const _0x41d466=['438vSyBjP','1319040ubkxfR','split','44cohdMn','15Famfdh','constructor','defineProperty','apply','push','10213kCAOwl','3060918HfnsyE','344924KzfUET','search','8247HbFKzg','351760gxJlSI','(((.+)+)+)+$','delimit','toString','1222008zvyLoe'];a10_0x1d3f=function(){return _0x41d466;};return a10_0x1d3f();}Object[a10_0xb2f522(0x1d6)](exports,'__esModule',{'value':!![]}),exports[a10_0xb2f522(0x1cd)]=void 0x0;const delimit=(_0x3be2d4,_0xd0defe)=>{const _0x30134c=a10_0xb2f522,_0x1797c9=_0x3be2d4[_0x30134c(0x1d2)](_0xd0defe),_0xc538f3=[];_0xc538f3[_0x30134c(0x1d8)](_0x1797c9[0x0]);for(let _0x26c427=0x1;_0x26c427<_0x1797c9['length'];_0x26c427++){_0xc538f3[_0x30134c(0x1d8)]({'v':_0xd0defe},_0x1797c9[_0x26c427]);}return _0xc538f3;};exports[a10_0xb2f522(0x1cd)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x37b7fc=a11_0x2f08;(function(_0x5ba1ff,_0x593928){const _0xdc0c13=a11_0x2f08,_0x337fb2=_0x5ba1ff();while(!![]){try{const _0x236824=parseInt(_0xdc0c13(0x139))/0x1+parseInt(_0xdc0c13(0x135))/0x2+-parseInt(_0xdc0c13(0x13f))/0x3+parseInt(_0xdc0c13(0x13b))/0x4*(parseInt(_0xdc0c13(0x140))/0x5)+-parseInt(_0xdc0c13(0x134))/0x6+-parseInt(_0xdc0c13(0x144))/0x7+parseInt(_0xdc0c13(0x138))/0x8*(parseInt(_0xdc0c13(0x137))/0x9);if(_0x236824===_0x593928)break;else _0x337fb2['push'](_0x337fb2['shift']());}catch(_0x2ac38c){_0x337fb2['push'](_0x337fb2['shift']());}}}(a11_0x2332,0x40267));const a11_0x1d4a85=(function(){let _0xe90f99=!![];return function(_0x520ce1,_0x24c620){const _0x11bd41=_0xe90f99?function(){const _0x239d18=a11_0x2f08;if(_0x24c620){const _0x29ce66=_0x24c620[_0x239d18(0x146)](_0x520ce1,arguments);return _0x24c620=null,_0x29ce66;}}:function(){};return _0xe90f99=![],_0x11bd41;};}()),a11_0x58c676=a11_0x1d4a85(this,function(){const _0x332167=a11_0x2f08;return a11_0x58c676[_0x332167(0x142)]()[_0x332167(0x133)](_0x332167(0x147))[_0x332167(0x142)]()[_0x332167(0x13c)](a11_0x58c676)['search'](_0x332167(0x147));});a11_0x58c676();function a11_0x2f08(_0x32ffe5,_0x305432){const _0x377071=a11_0x2332();return a11_0x2f08=function(_0x58c676,_0x1d4a85){_0x58c676=_0x58c676-0x133;let _0x233243=_0x377071[_0x58c676];return _0x233243;},a11_0x2f08(_0x32ffe5,_0x305432);}'use strict';function a11_0x2332(){const _0x9de8ad=['format','46552Ysmumk','constructor','defineProperty','join','344862jyHyWp','155wvAide','__esModule','toString','length','2969099gEyvzk','substring','apply','(((.+)+)+)+$','search','1155918mKTWJO','697592xRhUqt','./tokenize','79578UIfCGC','8FzsToP','276107YsJUha'];a11_0x2332=function(){return _0x9de8ad;};return a11_0x2332();}Object[a11_0x37b7fc(0x13d)](exports,a11_0x37b7fc(0x141),{'value':!![]}),exports[a11_0x37b7fc(0x13a)]=void 0x0;const tokenize_1=require(a11_0x37b7fc(0x136)),format=(_0x43aba4,_0xf84a50)=>{const _0x45163c=a11_0x37b7fc,_0x43f86e=(0x0,tokenize_1['tokenize'])(_0x43aba4,_0xf84a50[_0x45163c(0x143)]);for(let _0x4e4e5f=0x0;_0x4e4e5f<_0x43f86e[_0x45163c(0x143)];_0x4e4e5f++){if(!_0x43f86e[_0x4e4e5f]['v'])continue;if(_0x43f86e[_0x4e4e5f]['v']==='$$'){_0x43f86e[_0x4e4e5f]='$';continue;}for(let _0x478764=0x0;_0x478764<_0xf84a50[_0x45163c(0x143)];_0x478764++){if(_0x43f86e[_0x4e4e5f]['v']==='$'+_0x478764){let _0x5a1a4b=_0xf84a50[_0x478764];/^".*"$/['test'](_0x5a1a4b)&&(_0x5a1a4b=_0x5a1a4b[_0x45163c(0x145)](0x1,_0x5a1a4b['length']-0x1));_0x43f86e[_0x4e4e5f]=_0x5a1a4b;break;}}}return _0x43f86e[_0x45163c(0x13e)]('');};exports[a11_0x37b7fc(0x13a)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x2526e2=a12_0x1efa;(function(_0x241899,_0x2ce332){const _0x465e00=a12_0x1efa,_0x3d4201=_0x241899();while(!![]){try{const _0xa078b5=parseInt(_0x465e00(0xb6))/0x1*(-parseInt(_0x465e00(0xc6))/0x2)+parseInt(_0x465e00(0xc5))/0x3*(parseInt(_0x465e00(0xbc))/0x4)+parseInt(_0x465e00(0xd3))/0x5*(-parseInt(_0x465e00(0xba))/0x6)+parseInt(_0x465e00(0xcb))/0x7*(parseInt(_0x465e00(0xdd))/0x8)+parseInt(_0x465e00(0xda))/0x9+-parseInt(_0x465e00(0xd9))/0xa+parseInt(_0x465e00(0xb8))/0xb;if(_0xa078b5===_0x2ce332)break;else _0x3d4201['push'](_0x3d4201['shift']());}catch(_0x167c8e){_0x3d4201['push'](_0x3d4201['shift']());}}}(a12_0x5340,0x31826));const a12_0x263c5b=(function(){let _0x192889=!![];return function(_0x247c8f,_0x442f36){const _0x9ee559=_0x192889?function(){if(_0x442f36){const _0x30c288=_0x442f36['apply'](_0x247c8f,arguments);return _0x442f36=null,_0x30c288;}}:function(){};return _0x192889=![],_0x9ee559;};}()),a12_0x4399e3=a12_0x263c5b(this,function(){const _0x171126=a12_0x1efa;return a12_0x4399e3[_0x171126(0xbe)]()[_0x171126(0xb9)](_0x171126(0xc0))[_0x171126(0xbe)]()[_0x171126(0xe0)](a12_0x4399e3)[_0x171126(0xb9)]('(((.+)+)+)+$');});a12_0x4399e3();'use strict';Object[a12_0x2526e2(0xd7)](exports,a12_0x2526e2(0xc7),{'value':!![]}),exports['getAgentConfig']=void 0x0;function a12_0x5340(){const _0xfcd02d=['48950tzRSQh','782352aRdsGp','pinned_certs','breakpoint_expiration_sec','8tXdOvw','dynamic_log_quota_recovery_ms','fetch_breakpoints_once','constructor','existsSync','max_dynamic_log_rate','map','11UGVGxg','agent_log_max_file_size_mb','2915836lnZUpm','search','977316wsneqA','max_dynamic_log_bytes_rate','12YRBjll','com.lightrun.secret','toString','max_condition_cost','(((.+)+)+)+$','max_log_cpu_cost','getFloat','agent_regmetadata_file','getAgentConfig','50397RBmAWA','61954kuMFzk','__esModule','apiEndpoint','noCheckCertificate','getInt','2162419ZUhYys','proxy_host','extra_paths','proxy_port','agent_log_target_dir','getBoolean','split','proxy_username','5KxFnWJ','getFirst','agent_log_max_file_count','max_variable_size','defineProperty','max_snapshot_buffer_size'];a12_0x5340=function(){return _0xfcd02d;};return a12_0x5340();}const properties=require('java-properties'),fs=require('fs'),getAgentConfig=_0x27e5fd=>{const _0x46fe00=a12_0x2526e2;var _0x22ca42,_0x15b368,_0x1cf6f8;if(fs[_0x46fe00(0xe1)](_0x27e5fd)){const _0x49b3a4=properties['of'](_0x27e5fd);return{'lightrunSecret':_0x49b3a4[_0x46fe00(0xd4)](_0x46fe00(0xbd)),'apiEndpoint':_0x49b3a4['getFirst'](_0x46fe00(0xc8)),'breakpointExpirationSec':_0x49b3a4[_0x46fe00(0xca)](_0x46fe00(0xdc)),'transmissionBulkMaxSize':_0x49b3a4[_0x46fe00(0xca)]('transmission_bulk_max_size'),'noCheckCertificate':_0x49b3a4[_0x46fe00(0xd0)](_0x46fe00(0xc9)),'pinnedCerts':(_0x22ca42=_0x49b3a4[_0x46fe00(0xd4)](_0x46fe00(0xdb)))===null||_0x22ca42===void 0x0?void 0x0:_0x22ca42['split'](','),'metadata':{'filename':_0x49b3a4['getFirst'](_0x46fe00(0xc3))},'capture':{'maxFrames':_0x49b3a4[_0x46fe00(0xca)]('max_snapshot_frame_count'),'maxDataSize':_0x49b3a4[_0x46fe00(0xca)]('max_snapshot_buffer_size'),'maxSnapshotBufferSize':_0x49b3a4[_0x46fe00(0xca)](_0x46fe00(0xd8)),'maxVariableSize':_0x49b3a4[_0x46fe00(0xca)](_0x46fe00(0xd6)),'maxWatchListVariableSize':_0x49b3a4['getInt']('max_watchlist_variable_size')},'agentLog':{'collectCooldownMs':_0x49b3a4[_0x46fe00(0xca)]('collect_log_cooldown_ms'),'agentLogTargetDir':_0x49b3a4[_0x46fe00(0xd4)](_0x46fe00(0xcf)),'agentLogLevel':_0x49b3a4[_0x46fe00(0xd4)]('agent_log_level'),'agentLogMaxFileCount':_0x49b3a4[_0x46fe00(0xca)](_0x46fe00(0xd5)),'agentLogMaxFileSizeMb':_0x49b3a4['getInt'](_0x46fe00(0xb7)),'maxLogFileBytes':_0x49b3a4[_0x46fe00(0xca)]('max_log_file_bytes')},'quota':{'ignoreQuota':_0x49b3a4[_0x46fe00(0xd0)]('ignore_quota'),'maxCPUCost':_0x49b3a4[_0x46fe00(0xc2)](_0x46fe00(0xc1)),'maxConditionCost':_0x49b3a4[_0x46fe00(0xc2)](_0x46fe00(0xbf)),'maxDynamicLogRate':_0x49b3a4[_0x46fe00(0xca)](_0x46fe00(0xe2)),'maxDynamicLogByteRate':_0x49b3a4[_0x46fe00(0xca)](_0x46fe00(0xbb)),'quotaRecoverySeconds':_0x49b3a4[_0x46fe00(0xca)](_0x46fe00(0xde))&&_0x49b3a4[_0x46fe00(0xca)](_0x46fe00(0xde))/0x3e8},'fetchBreakpointsOnce':_0x49b3a4[_0x46fe00(0xd0)](_0x46fe00(0xdf)),'extraPaths':(_0x1cf6f8=(_0x15b368=_0x49b3a4[_0x46fe00(0xd4)](_0x46fe00(0xcd)))===null||_0x15b368===void 0x0?void 0x0:_0x15b368[_0x46fe00(0xd1)](','))===null||_0x1cf6f8===void 0x0?void 0x0:_0x1cf6f8[_0x46fe00(0xb5)](_0x2a1f06=>_0x2a1f06['trim']()),'proxy':{'host':_0x49b3a4[_0x46fe00(0xd4)](_0x46fe00(0xcc)),'port':_0x49b3a4[_0x46fe00(0xca)](_0x46fe00(0xce)),'username':_0x49b3a4[_0x46fe00(0xd4)](_0x46fe00(0xd2)),'password':_0x49b3a4[_0x46fe00(0xd4)]('proxy_password')}};}return;};function a12_0x1efa(_0x4dc2fd,_0x229483){const _0x3da842=a12_0x5340();return a12_0x1efa=function(_0x4399e3,_0x263c5b){_0x4399e3=_0x4399e3-0xb5;let _0x53403f=_0x3da842[_0x4399e3];return _0x53403f;},a12_0x1efa(_0x4dc2fd,_0x229483);}exports[a12_0x2526e2(0xc4)]=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function a13_0x5af7(_0x47014e,_0x3b6094){const _0x189b19=a13_0x3119();return a13_0x5af7=function(_0xacd7e8,_0x4def12){_0xacd7e8=_0xacd7e8-0x168;let _0x3119dd=_0x189b19[_0xacd7e8];return _0x3119dd;},a13_0x5af7(_0x47014e,_0x3b6094);}const a13_0x4f29bd=a13_0x5af7;(function(_0x3a2e39,_0x2b522e){const _0x21c458=a13_0x5af7,_0x22468c=_0x3a2e39();while(!![]){try{const _0x528d04=parseInt(_0x21c458(0x179))/0x1+parseInt(_0x21c458(0x172))/0x2*(parseInt(_0x21c458(0x168))/0x3)+parseInt(_0x21c458(0x16e))/0x4*(-parseInt(_0x21c458(0x171))/0x5)+parseInt(_0x21c458(0x175))/0x6*(parseInt(_0x21c458(0x173))/0x7)+-parseInt(_0x21c458(0x16a))/0x8+parseInt(_0x21c458(0x16f))/0x9+parseInt(_0x21c458(0x170))/0xa;if(_0x528d04===_0x2b522e)break;else _0x22468c['push'](_0x22468c['shift']());}catch(_0x4c8378){_0x22468c['push'](_0x22468c['shift']());}}}(a13_0x3119,0x48c0e));Object['defineProperty'](exports,a13_0x4f29bd(0x17a),{'value':!![]}),exports[a13_0x4f29bd(0x16d)]=exports['Platforms']=void 0x0;var Platforms;(function(_0x26d7e2){const _0x2260d9=a13_0x4f29bd,_0x184a74=(function(){let _0x144bae=!![];return function(_0x281735,_0x224023){const _0x18a9c8=_0x144bae?function(){const _0x457e27=a13_0x5af7;if(_0x224023){const _0x37741b=_0x224023[_0x457e27(0x178)](_0x281735,arguments);return _0x224023=null,_0x37741b;}}:function(){};return _0x144bae=![],_0x18a9c8;};}()),_0x3cb697=_0x184a74(this,function(){const _0x44cea0=a13_0x5af7;return _0x3cb697['toString']()[_0x44cea0(0x177)](_0x44cea0(0x16b))[_0x44cea0(0x17b)]()['constructor'](_0x3cb697)['search'](_0x44cea0(0x16b));});_0x3cb697(),_0x26d7e2['CLOUD_FUNCTION']=_0x2260d9(0x16c),_0x26d7e2[_0x2260d9(0x174)]='default';}(Platforms=exports[a13_0x4f29bd(0x169)]||(exports[a13_0x4f29bd(0x169)]={})));const getPlatform=()=>{const _0x4d48c4=a13_0x4f29bd,{FUNCTION_NAME:_0x40eff6,FUNCTION_TARGET:_0x3c00ff}=process['env'];if(_0x40eff6||_0x3c00ff)return Platforms[_0x4d48c4(0x176)];return Platforms[_0x4d48c4(0x174)];};function a13_0x3119(){const _0x31e451=['toString','96927YYXaMe','Platforms','4382600ZJDLzN','(((.+)+)+)+$','cloud_function','getPlatform','1845992PQzaUS','734751XghxMz','3881720iEUIeV','5QOnfSy','2qKQAhz','1043tGHeQJ','DEFAULT','13866yZIjcb','CLOUD_FUNCTION','search','apply','460862aBMRJr','__esModule'];a13_0x3119=function(){return _0x31e451;};return a13_0x3119();}exports[a13_0x4f29bd(0x16d)]=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x4ed319=a14_0x5c1c;(function(_0x20a920,_0x259249){const _0x5e60bc=a14_0x5c1c,_0x8cc750=_0x20a920();while(!![]){try{const _0x3dd1ee=parseInt(_0x5e60bc(0x90))/0x1+-parseInt(_0x5e60bc(0x91))/0x2+parseInt(_0x5e60bc(0x8b))/0x3*(parseInt(_0x5e60bc(0x93))/0x4)+-parseInt(_0x5e60bc(0x95))/0x5*(-parseInt(_0x5e60bc(0x8e))/0x6)+-parseInt(_0x5e60bc(0x8f))/0x7*(-parseInt(_0x5e60bc(0x8d))/0x8)+parseInt(_0x5e60bc(0x8a))/0x9+-parseInt(_0x5e60bc(0x87))/0xa;if(_0x3dd1ee===_0x259249)break;else _0x8cc750['push'](_0x8cc750['shift']());}catch(_0xe169b8){_0x8cc750['push'](_0x8cc750['shift']());}}}(a14_0x5e20,0xa2de3));const a14_0xbae1fb=(function(){let _0x4ff950=!![];return function(_0x2d823a,_0x572931){const _0x33c6f9=_0x4ff950?function(){if(_0x572931){const _0x161ea8=_0x572931['apply'](_0x2d823a,arguments);return _0x572931=null,_0x161ea8;}}:function(){};return _0x4ff950=![],_0x33c6f9;};}()),a14_0x16b0a0=a14_0xbae1fb(this,function(){const _0xee0e10=a14_0x5c1c;return a14_0x16b0a0[_0xee0e10(0x94)]()[_0xee0e10(0x89)](_0xee0e10(0x88))[_0xee0e10(0x94)]()[_0xee0e10(0x85)](a14_0x16b0a0)['search'](_0xee0e10(0x88));});a14_0x16b0a0();'use strict';Object['defineProperty'](exports,a14_0x4ed319(0x8c),{'value':!![]}),exports[a14_0x4ed319(0x92)]=void 0x0;function a14_0x5e20(){const _0x1b5a20=['search','2663226VdXWCa','3245262axKFTh','__esModule','5644928YBpyyP','12fHjWcT','7amFEEE','458663mpiSdd','1712580pSPtNb','mapSubtract','4nRucde','toString','1631415oNBaQD','constructor','push','16711160AIpKmo','(((.+)+)+)+$'];a14_0x5e20=function(){return _0x1b5a20;};return a14_0x5e20();}function a14_0x5c1c(_0x180742,_0x116fc6){const _0x2987af=a14_0x5e20();return a14_0x5c1c=function(_0x16b0a0,_0xbae1fb){_0x16b0a0=_0x16b0a0-0x85;let _0x5e200c=_0x2987af[_0x16b0a0];return _0x5e200c;},a14_0x5c1c(_0x180742,_0x116fc6);}const mapSubtract=(_0x18beb8,_0x1efbd5)=>{const _0x4bc3db=a14_0x4ed319,_0x87815=[];for(const _0x4a9e88 in _0x18beb8){!_0x1efbd5[_0x4a9e88]&&_0x87815[_0x4bc3db(0x86)](_0x18beb8[_0x4a9e88]);}return _0x87815;};exports[a14_0x4ed319(0x92)]=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x1f64c7=a15_0x2d68;(function(_0x3968d8,_0x5a3c8a){const _0x4e1e27=a15_0x2d68,_0x4016bd=_0x3968d8();while(!![]){try{const _0x218b1d=-parseInt(_0x4e1e27(0x95))/0x1+-parseInt(_0x4e1e27(0x9f))/0x2+parseInt(_0x4e1e27(0x9c))/0x3+parseInt(_0x4e1e27(0xc0))/0x4+parseInt(_0x4e1e27(0x8e))/0x5*(parseInt(_0x4e1e27(0x96))/0x6)+-parseInt(_0x4e1e27(0x90))/0x7+-parseInt(_0x4e1e27(0x93))/0x8;if(_0x218b1d===_0x5a3c8a)break;else _0x4016bd['push'](_0x4016bd['shift']());}catch(_0x121fcf){_0x4016bd['push'](_0x4016bd['shift']());}}}(a15_0x36f7,0x8e42e));const a15_0x80dbea=(function(){let _0x315b73=!![];return function(_0x244071,_0x1ae78c){const _0x538adc=_0x315b73?function(){if(_0x1ae78c){const _0x42c9d9=_0x1ae78c['apply'](_0x244071,arguments);return _0x1ae78c=null,_0x42c9d9;}}:function(){};return _0x315b73=![],_0x538adc;};}()),a15_0x532098=a15_0x80dbea(this,function(){const _0x59f8d1=a15_0x2d68;return a15_0x532098[_0x59f8d1(0xa4)]()['search']('(((.+)+)+)+$')['toString']()[_0x59f8d1(0xa9)](a15_0x532098)[_0x59f8d1(0x8b)]('(((.+)+)+)+$');});a15_0x532098();'use strict';Object[a15_0x1f64c7(0xad)](exports,a15_0x1f64c7(0xa5),{'value':!![]}),exports[a15_0x1f64c7(0xa2)]=exports['validateConfig']=void 0x0;const extend=require('extend'),config_1=require(a15_0x1f64c7(0xae)),utils_1=require(a15_0x1f64c7(0x88)),getAgentConfig_1=require(a15_0x1f64c7(0xbc)),validateConfig=_0x655e7a=>{const _0x5965c4=a15_0x1f64c7,_0x335221={};try{config_1[_0x5965c4(0xc1)][_0x5965c4(0x9d)](_0x655e7a,{'abortEarly':![]});}catch(_0x3d9147){_0x3d9147[_0x5965c4(0xb0)][_0x5965c4(0x99)](_0x5f472a=>_0x5f472a[_0x5965c4(0xa1)]&&_0x5f472a['message'])['forEach'](_0x589d89=>{const _0x35c71a=_0x5965c4;_0x335221[_0x589d89[_0x35c71a(0xa1)]]=_0x589d89[_0x35c71a(0xb2)];});}return _0x335221;};function a15_0x2d68(_0x125a04,_0x5e0333){const _0x137310=a15_0x36f7();return a15_0x2d68=function(_0x532098,_0x80dbea){_0x532098=_0x532098-0x88;let _0x36f740=_0x137310[_0x532098];return _0x36f740;},a15_0x2d68(_0x125a04,_0x5e0333);}exports['validateConfig']=validateConfig;function a15_0x36f7(){const _0x119aab=['168264PkstXA','NO_CHECK_CERTIFICATE','path','normalizeConfig','LIGHTRUN_WAIT_FOR_INIT','toString','__esModule','split','LIGHTRUN_PROXY_PORT','LIGHTRUN_INIT_WAIT_TIME_MS','constructor','FETCH_BREAKPOINTS_ONCE','agentLogTargetDir','agentLogMaxFileSizeMb','defineProperty','../config','agentLog','inner','getAgentConfig','message','LIGHTRUN_METADATA_FILE','LIGHTRUN_PROXY_PASSWORD','K_REVISION','serviceContext','validateConfig','LIGHTRUN_PROXY_HOST','env','LIGHTRUN_API_ENDPOINT','LIGHTRUN_SECRET','./getAgentConfig','GAE_MODULE_VERSION','GAE_MINOR_VERSION','AGENT_LOG_TARGET_DIR','3539592YpaNrM','configSchema','agentLogMaxFileCount','../util/utils','GAE_MODULE_NAME','LIGHTRUN_TAGS','search','AGENT_LOG_LEVEL','GAE_SERVICE','85uVtGop','GAE_DEPLOYMENT_ID','1954001JEveoH','defaultConfig','GAE_VERSION','6629576VtsyMu','registration','144257rsoaBg','199242hgfOqo','unversioned','getBooleanValue','filter','agentLogLevel','AGENT_LOG_MAX_FILE_COUNT','1408542cjIsgI','validateSync','AGENT_LOG_MAX_FILE_SIZE_MB'];a15_0x36f7=function(){return _0x119aab;};return a15_0x36f7();}const normalizeConfig=_0x556029=>{const _0x3e385f=a15_0x1f64c7,_0x5e8006={'serviceContext':{'service':process['env'][_0x3e385f(0x8d)]||process[_0x3e385f(0xb9)][_0x3e385f(0x89)]||process[_0x3e385f(0xb9)]['K_SERVICE'],'version':process[_0x3e385f(0xb9)][_0x3e385f(0x92)]||process[_0x3e385f(0xb9)][_0x3e385f(0xbd)]||process[_0x3e385f(0xb9)][_0x3e385f(0xb5)],'minorVersion_':process['env'][_0x3e385f(0x8f)]||process[_0x3e385f(0xb9)][_0x3e385f(0xbe)]},'metadata':{'filename':process[_0x3e385f(0xb9)][_0x3e385f(0xb3)],'registration':{}},'lightrunSecret':process[_0x3e385f(0xb9)][_0x3e385f(0xbb)],'apiEndpoint':process[_0x3e385f(0xb9)][_0x3e385f(0xba)],'noCheckCertificate':(0x0,utils_1[_0x3e385f(0x98)])(process[_0x3e385f(0xb9)][_0x3e385f(0xa0)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x3e385f(0x98)])(process[_0x3e385f(0xb9)][_0x3e385f(0xaa)]),'lightrunWaitForInit':(0x0,utils_1[_0x3e385f(0x98)])(process['env'][_0x3e385f(0xa3)]),'lightrunInitWaitTimeMs':process['env'][_0x3e385f(0xa8)],'agentLog':(_0x556029===null||_0x556029===void 0x0?void 0x0:_0x556029[_0x3e385f(0xaf)])||{},'proxy':{'host':process[_0x3e385f(0xb9)][_0x3e385f(0xb8)],'port':parseInt(process[_0x3e385f(0xb9)][_0x3e385f(0xa7)]||'')||undefined,'username':process['env']['LIGHTRUN_PROXY_USERNAME'],'password':process[_0x3e385f(0xb9)][_0x3e385f(0xb4)]}};process[_0x3e385f(0xb9)]['LIGHTRUN_STD_ERR_THRESHOLD']!==undefined&&(_0x5e8006['agentLog']['stdErrThreshold']=process[_0x3e385f(0xb9)]['LIGHTRUN_STD_ERR_THRESHOLD']);process[_0x3e385f(0xb9)][_0x3e385f(0x8c)]!==undefined&&(_0x5e8006[_0x3e385f(0xaf)][_0x3e385f(0x9a)]=process[_0x3e385f(0xb9)][_0x3e385f(0x8c)]);process['env'][_0x3e385f(0xbf)]!==undefined&&(_0x5e8006[_0x3e385f(0xaf)][_0x3e385f(0xab)]=process[_0x3e385f(0xb9)][_0x3e385f(0xbf)]);process[_0x3e385f(0xb9)][_0x3e385f(0x9b)]!==undefined&&(_0x5e8006[_0x3e385f(0xaf)][_0x3e385f(0xc2)]=parseInt(process[_0x3e385f(0xb9)][_0x3e385f(0x9b)]));process[_0x3e385f(0xb9)]['AGENT_LOG_MAX_FILE_SIZE_MB']!==undefined&&(_0x5e8006[_0x3e385f(0xaf)][_0x3e385f(0xac)]=parseInt(process['env'][_0x3e385f(0x9e)]));process['env']['FUNCTION_NAME']&&(_0x5e8006[_0x3e385f(0xb6)]['service']=process[_0x3e385f(0xb9)]['FUNCTION_NAME'],_0x5e8006[_0x3e385f(0xb6)]['version']=_0x3e385f(0x97));process[_0x3e385f(0xb9)][_0x3e385f(0x8a)]&&(_0x5e8006['metadata'][_0x3e385f(0x94)]={'tags':process[_0x3e385f(0xb9)][_0x3e385f(0x8a)][_0x3e385f(0xa6)](',')});const _0x1d133a=(0x0,getAgentConfig_1[_0x3e385f(0xb1)])(process[_0x3e385f(0xb9)]['LIGHTRUN_AGENT_CONFIG']||(_0x556029===null||_0x556029===void 0x0?void 0x0:_0x556029['agentConfigFile'])||config_1[_0x3e385f(0x91)]['agentConfigFile']),_0x570605=extend(!![],{},config_1[_0x3e385f(0x91)],_0x1d133a,_0x556029,_0x5e8006),_0x5337b8=(0x0,exports[_0x3e385f(0xb7)])(_0x570605);return{..._0x570605,'errors':_0x5337b8};};exports[a15_0x1f64c7(0xa2)]=normalizeConfig;
|