lightrun 1.50.0 → 1.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/agent/agent-logger.js +1 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.js +1 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js +1 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js +1 -1
- package/build/src/agent/config.js +1 -1
- package/build/src/agent/configuration-provider.js +1 -1
- package/build/src/agent/controller.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggee.js +1 -1
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -1
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -1
- package/build/src/agent/debuglet-helpers/delimit.js +1 -1
- package/build/src/agent/debuglet-helpers/format.js +1 -1
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -1
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -1
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -1
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -1
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.js +1 -1
- package/build/src/lambda.js +1 -1
- package/build/src/resources/version.txt +1 -1
- package/build/src/types/lightrun.js +1 -1
- package/build/src/types/stackdriver.js +1 -1
- package/build/src/types/v8.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0_0x2b8764=a0_0x6b7f;(function(_0x1a8632,_0x330cb9){const _0x4c46f2=a0_0x6b7f,_0x2d3428=_0x1a8632();while(!![]){try{const _0x16902a=parseInt(_0x4c46f2(0xa3))/0x1+-parseInt(_0x4c46f2(0xbc))/0x2+parseInt(_0x4c46f2(0xac))/0x3*(parseInt(_0x4c46f2(0x9f))/0x4)+-parseInt(_0x4c46f2(0xba))/0x5+parseInt(_0x4c46f2(0xc3))/0x6+-parseInt(_0x4c46f2(0xa4))/0x7+parseInt(_0x4c46f2(0x9e))/0x8;if(_0x16902a===_0x330cb9)break;else _0x2d3428['push'](_0x2d3428['shift']());}catch(_0x56ff76){_0x2d3428['push'](_0x2d3428['shift']());}}}(a0_0x288b,0xf32be));const a0_0x4fefac=(function(){let _0x157cf8=!![];return function(_0x135e45,_0x346ce9){const _0x5bb7d9=_0x157cf8?function(){const _0x55b77f=a0_0x6b7f;if(_0x346ce9){const _0x4b71d5=_0x346ce9[_0x55b77f(0xb2)](_0x135e45,arguments);return _0x346ce9=null,_0x4b71d5;}}:function(){};return _0x157cf8=![],_0x5bb7d9;};}()),a0_0x1f280e=a0_0x4fefac(this,function(){const _0x3b1dc3=a0_0x6b7f;return a0_0x1f280e[_0x3b1dc3(0xbf)]()[_0x3b1dc3(0xbe)](_0x3b1dc3(0xb1))[_0x3b1dc3(0xbf)]()[_0x3b1dc3(0xbb)](a0_0x1f280e)[_0x3b1dc3(0xbe)](_0x3b1dc3(0xb1));});a0_0x1f280e();'use strict';function a0_0x6b7f(_0x121f5b,_0x58c547){const _0x290b6d=a0_0x288b();return a0_0x6b7f=function(_0x1f280e,_0x4fefac){_0x1f280e=_0x1f280e-0x9e;let _0x288b27=_0x290b6d[_0x1f280e];return _0x288b27;},a0_0x6b7f(_0x121f5b,_0x58c547);}function a0_0x288b(){const _0x54cbc9=['createLogger','lightrun_nodejs_agent.','process','7835300RqPQHM','constructor','1550642kIAvJt','debug','search','toString','info','pid','padStart','4917690nuCaFf','4248592UkIceH','588136gIfpHC','getFullYear','json','format','1893042iXJGoh','2424954fProfw','transports','getSeconds','getMonth','winston','AGENT_LOG_FILE','__esModule','.log','9PQFXJX','default','warn','winston-daily-rotate-file','error','(((.+)+)+)+$','apply','getMinutes','logger','defineProperty','.%DATE%'];a0_0x288b=function(){return _0x54cbc9;};return a0_0x288b();}Object[a0_0x2b8764(0xb5)](exports,a0_0x2b8764(0xaa),{'value':!![]});const winston_1=require(a0_0x2b8764(0xa8)),DailyRotateFile=require(a0_0x2b8764(0xaf)),process_1=require(a0_0x2b8764(0xb9)),{combine,printf,timestamp}=winston_1[a0_0x2b8764(0xa2)],{Console}=winston_1[a0_0x2b8764(0xa5)],now=new Date();function getLoggerTransport(_0x1c6219,_0x1209dd,_0x2f2859){const _0x57e599=a0_0x2b8764;if(_0x1c6219)return new DailyRotateFile({'dirname':_0x1c6219,'filename':AgentLogger[_0x57e599(0xa9)],'datePattern':now[_0x57e599(0xa0)]()[_0x57e599(0xbf)]()+now[_0x57e599(0xa7)]()['toString']()[_0x57e599(0xc2)](0x2,'0')+now['getDate']()[_0x57e599(0xbf)]()[_0x57e599(0xc2)](0x2,'0')+'-'+now['getHours']()[_0x57e599(0xbf)]()[_0x57e599(0xc2)](0x2,'0')+now[_0x57e599(0xb3)]()[_0x57e599(0xbf)]()['padStart'](0x2,'0')+now[_0x57e599(0xa6)]()[_0x57e599(0xbf)]()[_0x57e599(0xc2)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x57e599(0xa9)],'maxSize':_0x1209dd+'m','maxFiles':_0x2f2859,'extension':_0x57e599(0xab)});return new Console();}class AgentLogger{constructor(_0x51ac1c,_0x77f506,_0x473166,_0x3cea98,_0x37759a){const _0x170186=a0_0x2b8764;this[_0x170186(0xb4)]=(0x0,winston_1[_0x170186(0xb7)])({'level':_0x3cea98,'transports':[getLoggerTransport(_0x51ac1c,_0x77f506,_0x473166),new Console({'level':_0x37759a,'stderrLevels':[_0x170186(0xbd),_0x170186(0xc0),_0x170186(0xae),_0x170186(0xb0)]})],'format':combine(timestamp(),printf(({level:_0x24033c,message:_0x451562,timestamp:_0xdb159a})=>{return _0xdb159a+'\x20['+_0x24033c['toUpperCase']()+']\x20-\x20'+_0x451562;}),winston_1['format'][_0x170186(0xa1)]())});}static[a0_0x2b8764(0xb7)](_0x400f19,_0x5d177d,_0x4e1434,_0x1be002,_0x588bd0){return new AgentLogger(_0x400f19,_0x5d177d,_0x4e1434,_0x1be002,_0x588bd0);}['debug'](..._0x282d59){const _0x188420=a0_0x2b8764;this[_0x188420(0xb4)][_0x188420(0xbd)](_0x282d59);}[a0_0x2b8764(0xc0)](..._0x35556f){this['logger']['info'](_0x35556f);}['warn'](..._0x2f4551){const _0x3fef72=a0_0x2b8764;this[_0x3fef72(0xb4)][_0x3fef72(0xae)](_0x2f4551);}[a0_0x2b8764(0xb0)](..._0x5595c4){this['logger']['error'](_0x5595c4);}}AgentLogger['AGENT_LOG_FILE']=a0_0x2b8764(0xb8)+process_1[a0_0x2b8764(0xc1)]+a0_0x2b8764(0xb6),exports[a0_0x2b8764(0xad)]=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x124151=a1_0x4bae;(function(_0x266b3d,_0x67a692){const _0x23a903=a1_0x4bae,_0xed03d7=_0x266b3d();while(!![]){try{const _0x5cfba7=parseInt(_0x23a903(0x1b2))/0x1+-parseInt(_0x23a903(0x1bb))/0x2*(parseInt(_0x23a903(0x1b9))/0x3)+parseInt(_0x23a903(0x1bf))/0x4+parseInt(_0x23a903(0x1b4))/0x5*(-parseInt(_0x23a903(0x1ad))/0x6)+parseInt(_0x23a903(0x1b0))/0x7+-parseInt(_0x23a903(0x1b1))/0x8+parseInt(_0x23a903(0x1bc))/0x9;if(_0x5cfba7===_0x67a692)break;else _0xed03d7['push'](_0xed03d7['shift']());}catch(_0x5924cc){_0xed03d7['push'](_0xed03d7['shift']());}}}(a1_0x5b3a,0x2d168));const a1_0x5d4893=(function(){let _0x255c56=!![];return function(_0x3532ed,_0x2642e0){const _0x165c8b=_0x255c56?function(){if(_0x2642e0){const _0x4bc9b9=_0x2642e0['apply'](_0x3532ed,arguments);return _0x2642e0=null,_0x4bc9b9;}}:function(){};return _0x255c56=![],_0x165c8b;};}()),a1_0x3e1c02=a1_0x5d4893(this,function(){const _0x3c54c0=a1_0x4bae;return a1_0x3e1c02['toString']()[_0x3c54c0(0x1b5)](_0x3c54c0(0x1b7))['toString']()[_0x3c54c0(0x1b3)](a1_0x3e1c02)[_0x3c54c0(0x1b5)](_0x3c54c0(0x1b7));});function a1_0x4bae(_0x331d72,_0x42cb67){const _0x27fba3=a1_0x5b3a();return a1_0x4bae=function(_0x3e1c02,_0x5d4893){_0x3e1c02=_0x3e1c02-0x1ac;let _0x5b3a50=_0x27fba3[_0x3e1c02];return _0x5b3a50;},a1_0x4bae(_0x331d72,_0x42cb67);}function a1_0x5b3a(){const _0x422b95=['length','__esModule','1311667BKpXwD','1572352VLcgpO','31074UNfcDI','constructor','788840WGpoBX','search','defineProperty','(((.+)+)+)+$','patterns','11565KQGzRJ','push','156YQIxus','4522329JNNJAc','BlocklistingPatterns','inversePatterns','474984lYIOgD','substring','6krQcaD'];a1_0x5b3a=function(){return _0x422b95;};return a1_0x5b3a();}a1_0x3e1c02();'use strict';Object[a1_0x124151(0x1b6)](exports,a1_0x124151(0x1af),{'value':!![]}),exports[a1_0x124151(0x1bd)]=void 0x0;class BlocklistingPatterns{constructor(_0x10e799){const _0x5b92c2=a1_0x124151;this[_0x5b92c2(0x1be)]=[],this[_0x5b92c2(0x1b8)]=[],_0x10e799&&_0x10e799['forEach'](_0x2ee65e=>{const _0x45abe6=_0x5b92c2;_0x2ee65e&&(_0x2ee65e[0x0]==='!'?this[_0x45abe6(0x1be)][_0x45abe6(0x1ba)](new RegExp(_0x2ee65e[_0x45abe6(0x1ac)](0x1))):this[_0x45abe6(0x1b8)][_0x45abe6(0x1ba)](new RegExp(_0x2ee65e)));});}['matches'](_0x1294e9){const _0x57adf9=a1_0x124151,_0x39706d=_0x38702f=>_0x1294e9['match'](_0x38702f);return this[_0x57adf9(0x1be)][_0x57adf9(0x1ae)]!==0x0&&!this[_0x57adf9(0x1be)]['some'](_0x39706d)||this[_0x57adf9(0x1b8)]['some'](_0x39706d);}}exports[a1_0x124151(0x1bd)]=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a2_0x24a08b=a2_0x56cc;(function(_0x14d9f7,_0x408148){var _0x5a5397=a2_0x56cc,_0x11a767=_0x14d9f7();while(!![]){try{var _0xa50fcd=parseInt(_0x5a5397(0x7f))/0x1*(parseInt(_0x5a5397(0x78))/0x2)+-parseInt(_0x5a5397(0x84))/0x3+parseInt(_0x5a5397(0x7d))/0x4+-parseInt(_0x5a5397(0x76))/0x5+-parseInt(_0x5a5397(0x81))/0x6+-parseInt(_0x5a5397(0x75))/0x7*(-parseInt(_0x5a5397(0x79))/0x8)+parseInt(_0x5a5397(0x82))/0x9;if(_0xa50fcd===_0x408148)break;else _0x11a767['push'](_0x11a767['shift']());}catch(_0x603752){_0x11a767['push'](_0x11a767['shift']());}}}(a2_0x1dae,0x22058));var a2_0xeb2245=(function(){var _0x4dac1e=!![];return function(_0x272238,_0x4778ac){var _0x149c04=_0x4dac1e?function(){var _0x5e8240=a2_0x56cc;if(_0x4778ac){var _0x2efd07=_0x4778ac[_0x5e8240(0x86)](_0x272238,arguments);return _0x4778ac=null,_0x2efd07;}}:function(){};return _0x4dac1e=![],_0x149c04;};}()),a2_0x5e60a1=a2_0xeb2245(this,function(){var _0x45e96c=a2_0x56cc;return a2_0x5e60a1[_0x45e96c(0x77)]()[_0x45e96c(0x7e)](_0x45e96c(0x80))['toString']()[_0x45e96c(0x7c)](a2_0x5e60a1)[_0x45e96c(0x7e)](_0x45e96c(0x80));});function a2_0x56cc(_0x428054,_0x2a7717){var _0x380ea0=a2_0x1dae();return a2_0x56cc=function(_0x5e60a1,_0xeb2245){_0x5e60a1=_0x5e60a1-0x75;var _0x1daeba=_0x380ea0[_0x5e60a1];return _0x1daeba;},a2_0x56cc(_0x428054,_0x2a7717);}a2_0x5e60a1();'use strict';Object[a2_0x24a08b(0x87)](exports,a2_0x24a08b(0x85),{'value':!![]}),exports[a2_0x24a08b(0x83)]=void 0x0;class DummyBlocklistManager{constructor(_0xc0d598){var _0x210701=a2_0x24a08b;this[_0x210701(0x7b)]=_0xc0d598;}[a2_0x24a08b(0x7a)](){var _0x243500=a2_0x24a08b;return this[_0x243500(0x7b)];}}function a2_0x1dae(){var _0x599d86=['919392KBJSsw','search','4pqnQJK','(((.+)+)+)+$','275184AFwlHz','273924kEWLfn','DummyBlocklistManager','419298jYMevh','__esModule','apply','defineProperty','16989uSVOxf','1046765Nrvgbq','toString','92126rvgBPq','296OgAyXJ','shouldBlock','value','constructor'];a2_0x1dae=function(){return _0x599d86;};return a2_0x1dae();}exports[a2_0x24a08b(0x83)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x5641f1=a3_0x4a20;(function(_0x3be87f,_0x1dd68d){const _0x3796c0=a3_0x4a20,_0x519a9a=_0x3be87f();while(!![]){try{const _0xb14e89=parseInt(_0x3796c0(0x77))/0x1*(-parseInt(_0x3796c0(0x7a))/0x2)+-parseInt(_0x3796c0(0x78))/0x3+-parseInt(_0x3796c0(0x71))/0x4+-parseInt(_0x3796c0(0x7b))/0x5*(parseInt(_0x3796c0(0x76))/0x6)+-parseInt(_0x3796c0(0x83))/0x7+-parseInt(_0x3796c0(0x75))/0x8*(parseInt(_0x3796c0(0x6e))/0x9)+-parseInt(_0x3796c0(0x74))/0xa*(-parseInt(_0x3796c0(0x72))/0xb);if(_0xb14e89===_0x1dd68d)break;else _0x519a9a['push'](_0x519a9a['shift']());}catch(_0x3bf4be){_0x519a9a['push'](_0x519a9a['shift']());}}}(a3_0x3ccc,0x7abed));function a3_0x3ccc(){const _0x254f0e=['apply','569316jDUTCA','950829HSEwEX','./blocklisting-patterns','370DFdAop','18416WSyXwg','24BxMguM','1FZfUkr','1988049lbkJRE','isPathInCurrentWorkingDirectory','1244574CiSEtZ','736940GIDxhX','PatternsBlocklistManager','blocklist','../util/utils','config','defineProperty','search','toString','2075465yaHYVV','BlocklistingPatterns','shouldBlock','(((.+)+)+)+$','stripCurrentWorkingDirectory','matches','1494ocBqMT','stripWorkingDir'];a3_0x3ccc=function(){return _0x254f0e;};return a3_0x3ccc();}const a3_0x31bbca=(function(){let _0x3d998f=!![];return function(_0x401443,_0x35b7f3){const _0x19167b=_0x3d998f?function(){const _0x23138c=a3_0x4a20;if(_0x35b7f3){const _0x148464=_0x35b7f3[_0x23138c(0x70)](_0x401443,arguments);return _0x35b7f3=null,_0x148464;}}:function(){};return _0x3d998f=![],_0x19167b;};}()),a3_0x271e46=a3_0x31bbca(this,function(){const _0x2191c6=a3_0x4a20;return a3_0x271e46[_0x2191c6(0x82)]()[_0x2191c6(0x81)](_0x2191c6(0x86))[_0x2191c6(0x82)]()['constructor'](a3_0x271e46)[_0x2191c6(0x81)]('(((.+)+)+)+$');});a3_0x271e46();function a3_0x4a20(_0x3913dd,_0x15fb0d){const _0x269d38=a3_0x3ccc();return a3_0x4a20=function(_0x271e46,_0x31bbca){_0x271e46=_0x271e46-0x6e;let _0x3cccc1=_0x269d38[_0x271e46];return _0x3cccc1;},a3_0x4a20(_0x3913dd,_0x15fb0d);}'use strict';Object[a3_0x5641f1(0x80)](exports,'__esModule',{'value':!![]}),exports[a3_0x5641f1(0x7c)]=void 0x0;const blocklisting_patterns_1=require(a3_0x5641f1(0x73)),utils=require(a3_0x5641f1(0x7e));class PatternsBlocklistManager{constructor(_0x2d0c72,_0x12c2c3,_0x37b831){const _0x4c991d=a3_0x5641f1;this[_0x4c991d(0x7d)]=new blocklisting_patterns_1[(_0x4c991d(0x84))](_0x2d0c72),this['blocklistExceptions']=new blocklisting_patterns_1[(_0x4c991d(0x84))](_0x12c2c3),this[_0x4c991d(0x7f)]=_0x37b831;}[a3_0x5641f1(0x85)](_0x47a91b){const _0x53dd54=a3_0x5641f1;_0x47a91b=this[_0x53dd54(0x6f)](_0x47a91b);if(this['blocklistExceptions'][_0x53dd54(0x88)](_0x47a91b))return![];return this[_0x53dd54(0x7d)][_0x53dd54(0x88)](_0x47a91b);}['stripWorkingDir'](_0x5b3abe){const _0x5c952b=a3_0x5641f1;if(utils[_0x5c952b(0x79)](_0x5b3abe,this['config']))return utils[_0x5c952b(0x87)](_0x5b3abe,this[_0x5c952b(0x7f)]);return _0x5b3abe;}}exports[a3_0x5641f1(0x7c)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x103193=a4_0x1da1;(function(_0x323146,_0x58bfa5){const _0x3dc6d8=a4_0x1da1,_0x488d4c=_0x323146();while(!![]){try{const _0x22f19f=parseInt(_0x3dc6d8(0x157))/0x1*(-parseInt(_0x3dc6d8(0x16f))/0x2)+parseInt(_0x3dc6d8(0x174))/0x3+parseInt(_0x3dc6d8(0x170))/0x4*(-parseInt(_0x3dc6d8(0x158))/0x5)+-parseInt(_0x3dc6d8(0x155))/0x6+parseInt(_0x3dc6d8(0x152))/0x7*(-parseInt(_0x3dc6d8(0x168))/0x8)+parseInt(_0x3dc6d8(0x14d))/0x9+parseInt(_0x3dc6d8(0x150))/0xa;if(_0x22f19f===_0x58bfa5)break;else _0x488d4c['push'](_0x488d4c['shift']());}catch(_0x5c8b9c){_0x488d4c['push'](_0x488d4c['shift']());}}}(a4_0x5c04,0xb6893));function a4_0x1da1(_0x592271,_0x43548d){const _0x1a1a09=a4_0x5c04();return a4_0x1da1=function(_0x529644,_0x4b66ed){_0x529644=_0x529644-0x14a;let _0x5c043d=_0x1a1a09[_0x529644];return _0x5c043d;},a4_0x1da1(_0x592271,_0x43548d);}const a4_0x4b66ed=(function(){let _0x5af213=!![];return function(_0x232b75,_0x9751c0){const _0x147a3c=_0x5af213?function(){const _0x4f4302=a4_0x1da1;if(_0x9751c0){const _0x2d2ea8=_0x9751c0[_0x4f4302(0x154)](_0x232b75,arguments);return _0x9751c0=null,_0x2d2ea8;}}:function(){};return _0x5af213=![],_0x147a3c;};}()),a4_0x529644=a4_0x4b66ed(this,function(){const _0x5bcfa4=a4_0x1da1;return a4_0x529644[_0x5bcfa4(0x173)]()[_0x5bcfa4(0x179)](_0x5bcfa4(0x165))[_0x5bcfa4(0x173)]()[_0x5bcfa4(0x171)](a4_0x529644)[_0x5bcfa4(0x179)](_0x5bcfa4(0x165));});a4_0x529644();'use strict';Object[a4_0x103193(0x160)](exports,'__esModule',{'value':!![]}),exports['logMainConfigParams']=exports[a4_0x103193(0x16a)]=exports[a4_0x103193(0x15d)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require(a4_0x103193(0x177));exports['configSchema']=(0x0,yup_1['object'])()[a4_0x103193(0x163)]({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x103193(0x15a)])(),'breakpointExpirationSec':(0x0,yup_1[a4_0x103193(0x15a)])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x103193(0x15a)])(),'capture':(0x0,yup_1[a4_0x103193(0x16e)])()['shape']({'includeNodeModules':(0x0,yup_1['boolean'])(),'maxFrames':(0x0,yup_1[a4_0x103193(0x15a)])(),'maxExpandFrames':(0x0,yup_1[a4_0x103193(0x15a)])(),'maxProperties':(0x0,yup_1[a4_0x103193(0x15a)])(),'maxVariableDepth':(0x0,yup_1['number'])(),'maxWatchProperties':(0x0,yup_1[a4_0x103193(0x15a)])(),'maxDataSize':(0x0,yup_1[a4_0x103193(0x15a)])(),'maxStringLength':(0x0,yup_1[a4_0x103193(0x15a)])(),'maxVariableSize':(0x0,yup_1[a4_0x103193(0x15a)])(),'maxWatchListVariableSize':(0x0,yup_1[a4_0x103193(0x15a)])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x103193(0x15a)])()}),'internal':(0x0,yup_1[a4_0x103193(0x16e)])()[a4_0x103193(0x163)]({'registerDelayOnFetcherErrorSec':(0x0,yup_1['number'])(),'maxRequestRetryDelaySeconds':(0x0,yup_1['number'])()}),'forceNewAgent_':(0x0,yup_1[a4_0x103193(0x15c)])(),'testMode_':(0x0,yup_1['boolean'])(),'apiEndpoint':(0x0,yup_1[a4_0x103193(0x176)])(),'lightrunSecret':(0x0,yup_1[a4_0x103193(0x176)])(),'agentLog':(0x0,yup_1[a4_0x103193(0x16e)])()[a4_0x103193(0x163)]({'agentLogTargetDir':(0x0,yup_1['string'])(),'agentLogMaxFileSizeMb':(0x0,yup_1['number'])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x103193(0x15a)])(),'agentLogLevel':(0x0,yup_1[a4_0x103193(0x176)])()[a4_0x103193(0x166)]([a4_0x103193(0x15e),'info',a4_0x103193(0x14f),'error']),'stdErrThreshold':(0x0,yup_1[a4_0x103193(0x176)])()[a4_0x103193(0x166)]([a4_0x103193(0x15e),a4_0x103193(0x162),a4_0x103193(0x14f),a4_0x103193(0x16b),'none']),'collectCooldownMs':(0x0,yup_1[a4_0x103193(0x15a)])(),'maxLogFileBytes':(0x0,yup_1[a4_0x103193(0x15a)])()}),'pinnedCerts':(0x0,yup_1[a4_0x103193(0x151)])()['of']((0x0,yup_1[a4_0x103193(0x176)])()),'noCheckCertificate':(0x0,yup_1[a4_0x103193(0x15c)])(),'caPath':(0x0,yup_1[a4_0x103193(0x176)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x103193(0x15a)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x103193(0x15a)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x103193(0x15a)])(),'quota':(0x0,yup_1['object'])()[a4_0x103193(0x163)]({'maxConditionCost':(0x0,yup_1[a4_0x103193(0x15a)])(),'maxCPUCost':(0x0,yup_1[a4_0x103193(0x15a)])(),'maxDynamicLogRate':(0x0,yup_1['number'])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x103193(0x15a)])(),'ignoreQuota':(0x0,yup_1[a4_0x103193(0x15c)])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x103193(0x15a)])()}),'agentConfigFile':(0x0,yup_1[a4_0x103193(0x176)])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x103193(0x15c)])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x103193(0x15a)])(),'lightrunWaitForInit':(0x0,yup_1[a4_0x103193(0x15c)])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x103193(0x15a)])(),'extraPaths':(0x0,yup_1['array'])()['of']((0x0,yup_1[a4_0x103193(0x176)])()),'redactionEnabled':(0x0,yup_1[a4_0x103193(0x15c)])(),'proxy':(0x0,yup_1[a4_0x103193(0x16e)])()[a4_0x103193(0x163)]({'host':(0x0,yup_1[a4_0x103193(0x176)])(),'port':(0x0,yup_1[a4_0x103193(0x15a)])(),'username':(0x0,yup_1['string'])(),'password':(0x0,yup_1[a4_0x103193(0x176)])()})}),exports['defaultConfig']={'workingDirectory':process[a4_0x103193(0x14e)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x103193(0x16c)],'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_0x103193(0x14b),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x103193(0x169)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':'info','stdErrThreshold':a4_0x103193(0x15b),'collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':['515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2',a4_0x103193(0x178)],'noCheckCertificate':![],'caPath':a4_0x103193(0x15f),'metadata':{'registration':{'tags':['Production']}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x103193(0x153),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x57cf88,_0x4ba966)=>{const _0x59d982=a4_0x103193,_0x23dd67=Object['values'](_0x57cf88?.['errors']??[]);_0x23dd67[_0x59d982(0x16d)]&&_0x23dd67['forEach'](_0x2a65bf=>{const _0x2e8b8d=_0x59d982;_0x4ba966[_0x2e8b8d(0x16b)](_0x2a65bf);});};function logMainConfigParams(_0x5223a3,_0x279705){const _0x2c0b0d=a4_0x103193;let _0xaff59c=_0x5223a3[_0x2c0b0d(0x175)];_0xaff59c?_0xaff59c+=_0x2c0b0d(0x159)+((0x0,fs_1[_0x2c0b0d(0x14a)])(_0x5223a3['agentConfigFile'])?_0x2c0b0d(0x167):_0x2c0b0d(0x161)):_0xaff59c='not\x20set!';const _0x201462={..._0x5223a3,'lightrunSecret':_0x5223a3[_0x2c0b0d(0x164)]?_0x2c0b0d(0x172):_0x2c0b0d(0x156),'agentConfigFile':_0xaff59c};_0x279705['debug'](_0x2c0b0d(0x14c),_0x201462),logConfigErrors(_0x5223a3,_0x279705);}function a4_0x5c04(){const _0x991a30=['Agent\x20Configuration:\x20','3922164opHagA','cwd','warn','45887990IOrRRk','array','16793YzHhTI','agent.config','apply','4922592ZCrVrb','!!!\x20NOT\x20SET\x20!!!','3397bfoxwB','215JgTvtY',',\x20\x20\x20the\x20file\x20','number','none','boolean','configSchema','debug','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','defineProperty','DOESN\x27T\x20EXIST','info','shape','lightrunSecret','(((.+)+)+)+$','oneOf','exists','3424FFduNr','tmpdir','defaultConfig','error','.js','length','object','694bwggNW','118564JKWmeq','constructor','set','toString','70794Hznqog','agentConfigFile','string','yup','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12','search','existsSync','app.lightrun.com'];a4_0x5c04=function(){return _0x991a30;};return a4_0x5c04();}exports['logMainConfigParams']=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x20de0a=a5_0x42ea;function a5_0x5556(){var _0x36ef0d=['3536144AOMtdc','maxProperties','maxSnapshotBufferSize','capture','maxWatchListVariableSize','search','maxVariableSize','maxStringLength','1113849kHzunD','maxWatchProperties','14450220GKriMf','89882kLlMUX','resolvedDebugAgentConfig','60bsXZTG','924793FivMRg','21wcngdf','toString','ConfigurationProvider','47766EEuBVX','constructor','defineProperty','apply','getMaxSnapshotBufferSize','1335719DFEwgi','getMaxWatchListVariableSize','getMaxProperties','24mBYFgA','22MvQsQp','__esModule'];a5_0x5556=function(){return _0x36ef0d;};return a5_0x5556();}(function(_0x130a07,_0x309193){var _0x9cccd=a5_0x42ea,_0x2e39ca=_0x130a07();while(!![]){try{var _0x14054f=-parseInt(_0x9cccd(0xb3))/0x1+parseInt(_0x9cccd(0xb0))/0x2*(-parseInt(_0x9cccd(0xb4))/0x3)+-parseInt(_0x9cccd(0xa5))/0x4+parseInt(_0x9cccd(0xb2))/0x5*(-parseInt(_0x9cccd(0xb7))/0x6)+parseInt(_0x9cccd(0x9f))/0x7+parseInt(_0x9cccd(0xa2))/0x8*(-parseInt(_0x9cccd(0xad))/0x9)+-parseInt(_0x9cccd(0xaf))/0xa*(-parseInt(_0x9cccd(0xa3))/0xb);if(_0x14054f===_0x309193)break;else _0x2e39ca['push'](_0x2e39ca['shift']());}catch(_0x33343c){_0x2e39ca['push'](_0x2e39ca['shift']());}}}(a5_0x5556,0x77c86));var a5_0x20d7f7=(function(){var _0x9af181=!![];return function(_0x2b2a9e,_0x4891cf){var _0x2a0b3f=_0x9af181?function(){var _0x387b16=a5_0x42ea;if(_0x4891cf){var _0x534661=_0x4891cf[_0x387b16(0xba)](_0x2b2a9e,arguments);return _0x4891cf=null,_0x534661;}}:function(){};return _0x9af181=![],_0x2a0b3f;};}()),a5_0x59589f=a5_0x20d7f7(this,function(){var _0x261bd0=a5_0x42ea;return a5_0x59589f['toString']()[_0x261bd0(0xaa)]('(((.+)+)+)+$')[_0x261bd0(0xb5)]()[_0x261bd0(0xb8)](a5_0x59589f)[_0x261bd0(0xaa)]('(((.+)+)+)+$');});a5_0x59589f();'use strict';function a5_0x42ea(_0xf9ef0c,_0x22dbfa){var _0x2b1ae2=a5_0x5556();return a5_0x42ea=function(_0x59589f,_0x20d7f7){_0x59589f=_0x59589f-0x9f;var _0x5556f7=_0x2b1ae2[_0x59589f];return _0x5556f7;},a5_0x42ea(_0xf9ef0c,_0x22dbfa);}Object[a5_0x20de0a(0xb9)](exports,a5_0x20de0a(0xa4),{'value':!![]}),exports[a5_0x20de0a(0xb6)]=void 0x0;class ConfigurationProvider{constructor(_0x2c2568){var _0x1f9697=a5_0x20de0a;this[_0x1f9697(0xb1)]=_0x2c2568;}['getMaxVariableSize'](){var _0x5f530b=a5_0x20de0a;return this[_0x5f530b(0xb1)]['capture'][_0x5f530b(0xac)]||this[_0x5f530b(0xb1)][_0x5f530b(0xa8)][_0x5f530b(0xab)];}[a5_0x20de0a(0xa0)](){var _0x5465ea=a5_0x20de0a;return this['resolvedDebugAgentConfig'][_0x5465ea(0xa8)][_0x5465ea(0xa9)];}[a5_0x20de0a(0xbb)](){var _0xc87f4d=a5_0x20de0a;return this[_0xc87f4d(0xb1)][_0xc87f4d(0xa8)]['maxDataSize']||this[_0xc87f4d(0xb1)][_0xc87f4d(0xa8)][_0xc87f4d(0xa7)];}[a5_0x20de0a(0xa1)](_0x2c7470){var _0x1ea605=a5_0x20de0a;return _0x2c7470?this[_0x1ea605(0xb1)][_0x1ea605(0xa8)][_0x1ea605(0xae)]:this[_0x1ea605(0xb1)][_0x1ea605(0xa8)][_0x1ea605(0xa6)];}}exports[a5_0x20de0a(0xb6)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x2c7d17=a6_0x1fa9;(function(_0x18c7ac,_0x399896){const _0x2f26b6=a6_0x1fa9,_0x2424a7=_0x18c7ac();while(!![]){try{const _0x4f6efb=parseInt(_0x2f26b6(0xc1))/0x1*(-parseInt(_0x2f26b6(0xd8))/0x2)+parseInt(_0x2f26b6(0x124))/0x3+parseInt(_0x2f26b6(0x123))/0x4+-parseInt(_0x2f26b6(0x12c))/0x5*(parseInt(_0x2f26b6(0xf3))/0x6)+parseInt(_0x2f26b6(0x107))/0x7*(-parseInt(_0x2f26b6(0x139))/0x8)+parseInt(_0x2f26b6(0x100))/0x9+parseInt(_0x2f26b6(0x127))/0xa;if(_0x4f6efb===_0x399896)break;else _0x2424a7['push'](_0x2424a7['shift']());}catch(_0x16b2a5){_0x2424a7['push'](_0x2424a7['shift']());}}}(a6_0x2a84,0x613cb));const a6_0x1ea029=(function(){let _0x472c80=!![];return function(_0x507f36,_0x6885b4){const _0x37e913=_0x472c80?function(){const _0x4a7a29=a6_0x1fa9;if(_0x6885b4){const _0x4e6fba=_0x6885b4[_0x4a7a29(0xe6)](_0x507f36,arguments);return _0x6885b4=null,_0x4e6fba;}}:function(){};return _0x472c80=![],_0x37e913;};}()),a6_0x7cfaea=a6_0x1ea029(this,function(){const _0x1ee89b=a6_0x1fa9;return a6_0x7cfaea['toString']()[_0x1ee89b(0x117)]('(((.+)+)+)+$')['toString']()[_0x1ee89b(0xfe)](a6_0x7cfaea)['search'](_0x1ee89b(0x10d));});a6_0x7cfaea();'use strict';Object['defineProperty'](exports,a6_0x2c7d17(0x12a),{'value':!![]}),exports[a6_0x2c7d17(0xe7)]=void 0x0;const common_1=require('@google-cloud/common'),assert=require('assert'),qs=require(a6_0x2c7d17(0xe3)),fs_1=require('fs'),crypto_1=require(a6_0x2c7d17(0x130)),zlib_1=require(a6_0x2c7d17(0xfb)),stream_1=require('stream'),memory_streams_1=require('memory-streams'),tls_1=require(a6_0x2c7d17(0xe1)),extend=require(a6_0x2c7d17(0x119)),axios_1=require('axios'),https=require(a6_0x2c7d17(0x145)),utils_1=require(a6_0x2c7d17(0x120)),HttpsProxyAgent=require(a6_0x2c7d17(0xcc)),yaml=require(a6_0x2c7d17(0x106)),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_0x2c7d17(0x115)]{constructor(_0x5275c5,_0x1883ca,_0x5081c5){const _0x1bda56=a6_0x2c7d17;super({'parent':_0x5275c5,'baseUrl':'/controller'}),this['nextWaitToken']=null,this[_0x1bda56(0xf9)]=_0x1883ca,this['transmissionQueue']=[],this['logger']=_0x5081c5,this[_0x1bda56(0xfc)]=_0x1bda56(0xf6)+_0x1883ca[_0x1bda56(0xcf)]+_0x1bda56(0x10a),this['axios']=axios_1[_0x1bda56(0x135)][_0x1bda56(0x108)]({'httpsAgent':getProxyAgent(_0x1883ca,_0x5081c5)??new https[(_0x1bda56(0x147))](getHttpsAgentOptions(_0x1883ca,_0x5081c5)),'proxy':![]});}['register'](_0x9c104e,_0x2a412c){const _0x478c9c=a6_0x2c7d17,_0x4e147b={'uri':this['apiUrl']+_0x478c9c(0xf5),'method':_0x478c9c(0x143),'json':!![],'body':{'debuggee':_0x9c104e}};this[_0x478c9c(0x140)](_0x4e147b,(_0x35705a,_0x15b174,_0x18b6aa)=>{const _0x1aa9e8=_0x478c9c;if(!_0x18b6aa)_0x2a412c(_0x35705a||new Error(_0x1aa9e8(0x105)));else{if(_0x35705a){let _0x55d743=![];_0x18b6aa['status']===HTTP_UPGRADE_REQUIRED&&_0x15b174&&(_0x15b174[_0x1aa9e8(0xc2)]!==undefined&&(_0x35705a[_0x1aa9e8(0xc2)]=_0x15b174['message']),_0x9c104e['id']=_0x15b174[_0x1aa9e8(0x132)]['id'],_0x55d743=!![]),_0x2a412c(_0x35705a,_0x15b174,_0x55d743);}else{if(_0x18b6aa[_0x1aa9e8(0xd5)]!==HTTP_SUCCESS)_0x2a412c(new Error(_0x1aa9e8(0xc4)+_0x18b6aa[_0x1aa9e8(0xd5)]));else!_0x15b174?.['debuggee']?_0x2a412c(new Error(_0x1aa9e8(0xbd))):(_0x9c104e['id']=_0x15b174[_0x1aa9e8(0x132)]['id'],_0x2a412c(null,_0x15b174));}}});}['listBreakpoints'](_0x2c9af1,_0x48a178,_0x346b42){const _0x5cddc9=a6_0x2c7d17,_0x197939=this;assert(_0x2c9af1['id'],_0x5cddc9(0xef));const _0x45b9c5={'successOnTimeout':!![]};_0x197939[_0x5cddc9(0x144)]&&(_0x45b9c5[_0x5cddc9(0xc8)]=_0x197939[_0x5cddc9(0x144)]);const _0x248179=this[_0x5cddc9(0xfc)]+encodeURIComponent(_0x2c9af1['id'])+_0x5cddc9(0x11f)+qs[_0x5cddc9(0xc9)](_0x45b9c5);_0x197939[_0x5cddc9(0x140)]({'uri':_0x248179,'json':!![]},(_0x477601,_0x57ab89,_0x14eda5)=>{const _0xaec138=_0x5cddc9;if(!_0x14eda5){_0x48a178(_0x477601||new Error(_0xaec138(0x105)));return;}else{if(!is2xx(_0x14eda5[_0xaec138(0xd5)])){_0x48a178(new Error(_0xaec138(0xba)+_0x14eda5['status']),_0x14eda5);return;}else _0x57ab89&&(_0x197939['nextWaitToken']=_0x57ab89[_0xaec138(0x144)]),_0x48a178(null,_0x14eda5,_0x57ab89);}},_0x346b42);}[a6_0x2c7d17(0x14d)](_0x517472,_0x86db5b){const _0x906bf3=a6_0x2c7d17;assert(_0x517472['id'],'should\x20have\x20a\x20registered\x20debuggee');try{const _0x2d38cc=JSON['stringify'](_0x86db5b),_0x521559=(0x0,utils_1['getJsonStringSizeInBytes'])(_0x2d38cc);if(_0x521559>=this[_0x906bf3(0xf9)][_0x906bf3(0x10b)]){this[_0x906bf3(0x137)][_0x906bf3(0xdc)](_0x906bf3(0x13f)+_0x86db5b['id']+_0x906bf3(0xd3)+_0x521559+_0x906bf3(0x12d)+this[_0x906bf3(0xf9)][_0x906bf3(0x10b)]);return;}this[_0x906bf3(0x13d)][_0x906bf3(0xf1)]({'id':_0x86db5b['id'],'serializedJson':_0x2d38cc,'number':0x0});if(!this[_0x906bf3(0xd1)]){const _0x4999f9=this;this['transmissionTimeout']=setTimeout(()=>_0x4999f9[_0x906bf3(0x110)]['bind'](_0x4999f9)(_0x517472['id']),0x0);}}catch(_0x436947){this[_0x906bf3(0x137)][_0x906bf3(0x13c)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x86db5b['id']+_0x906bf3(0xdd),_0x436947);return;}}[a6_0x2c7d17(0xb9)](){const _0x168b54=a6_0x2c7d17;if(!this[_0x168b54(0xd1)])return;clearTimeout(this[_0x168b54(0xd1)]),this[_0x168b54(0xd1)]=null;}['deregister'](_0x2dfa6c,_0x12128a){const _0x2f384d=a6_0x2c7d17,_0x166889=this[_0x2f384d(0xfc)]+encodeURIComponent(_0x2dfa6c['id'])+_0x2f384d(0x149),_0x3e6741={'uri':_0x166889,'method':_0x2f384d(0x143),'json':!![]};this['logger']['info'](_0x2f384d(0xd0)),this[_0x2f384d(0x140)](_0x3e6741,(_0x309840,_0x3cdace,_0x42eb40)=>{const _0x49a526=_0x2f384d;(!_0x42eb40||Math[_0x49a526(0x14a)](_0x42eb40[_0x49a526(0xd5)]/0x64)!==0x2)&&this[_0x49a526(0x137)][_0x49a526(0xdc)](_0x49a526(0xc5)+_0x309840),_0x12128a(_0x309840);});}[a6_0x2c7d17(0xe2)](_0x5ea87b,_0x3aaddb,_0x56d7b4){const _0xa38744=a6_0x2c7d17,_0x1e8922=this[_0xa38744(0xfc)]+encodeURIComponent(_0x5ea87b['id'])+_0xa38744(0x141),_0x489910={'uri':_0x1e8922,'method':_0xa38744(0x143),'json':!![],'body':_0x3aaddb};this[_0xa38744(0x140)](_0x489910,(_0x3deda7,_0x26035f,_0x3e2ce8)=>{const _0x49a566=_0xa38744;(!_0x3e2ce8||Math[_0x49a566(0x14a)](_0x3e2ce8[_0x49a566(0xd5)]/0x64)!==0x2)&&(this[_0x49a566(0x137)]['warn'](_0x49a566(0xfa)+_0x3deda7),_0x56d7b4(_0x3deda7));});}[a6_0x2c7d17(0x133)](_0x246742,_0x4ece71,_0x1966d0){const _0x3b1227=a6_0x2c7d17,_0x1212da=this[_0x3b1227(0xfc)]+encodeURIComponent(_0x246742['id'])+_0x3b1227(0x136),_0x2fe273={'uri':_0x1212da,'method':_0x3b1227(0x143),'json':!![],'body':_0x4ece71};this[_0x3b1227(0x140)](_0x2fe273,(_0x2742e3,_0x153bec,_0x11c38e)=>{const _0x22b6e3=_0x3b1227;(!_0x11c38e||Math[_0x22b6e3(0x14a)](_0x11c38e[_0x22b6e3(0xd5)]/0x64)!==0x2)&&(this[_0x22b6e3(0x137)][_0x22b6e3(0xdc)]('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x2742e3),_0x1966d0(_0x2742e3));});}[a6_0x2c7d17(0xf7)](_0xb4a8fe,_0x403861,_0x10fdf5){const _0x15c3fb=a6_0x2c7d17;assert(_0xb4a8fe['id'],'should\x20have\x20a\x20registered\x20debuggee');if(this['lastLogCollectionTime']){const _0x44f209=Date['now'](),_0x831522=this[_0x15c3fb(0x121)]+this[_0x15c3fb(0xf9)][_0x15c3fb(0x151)][_0x15c3fb(0x152)];if(_0x44f209<_0x831522){this[_0x15c3fb(0x137)]['info'](_0x15c3fb(0xed)+((_0x831522-_0x44f209)/0x3e8+_0x15c3fb(0x12b)));return;}}const _0x2f2bd3=(0x0,fs_1[_0x15c3fb(0x11c)])(_0x10fdf5)['size'],_0x16536c=Math[_0x15c3fb(0x11b)](0x0,_0x2f2bd3-this['config'][_0x15c3fb(0x151)][_0x15c3fb(0xbf)]),_0x5e39b6=(0x0,fs_1['createReadStream'])(_0x10fdf5,{'start':_0x16536c}),_0x6b5d13=(0x0,zlib_1['createGzip'])(),_0x2f23fd=new memory_streams_1[(_0x15c3fb(0xcb))](),_0x11c2d8=this;_0x11c2d8[_0x15c3fb(0x137)][_0x15c3fb(0xd4)](_0x15c3fb(0x131)+_0x10fdf5+_0x15c3fb(0x122)+_0x403861),(0x0,stream_1[_0x15c3fb(0x112)])(_0x5e39b6,_0x6b5d13,_0x2f23fd,_0x1b64a9=>{const _0x4c02d5=_0x15c3fb;if(_0x1b64a9)_0x11c2d8[_0x4c02d5(0x137)][_0x4c02d5(0x13c)](_0x4c02d5(0xf8)+_0x10fdf5+':\x20'+_0x1b64a9);else{const _0x171952={'uri':this[_0x4c02d5(0xfc)]+encodeURIComponent(_0xb4a8fe['id'])+'/compressedLogFile/'+_0x403861,'method':_0x4c02d5(0x11a),'body':_0x2f23fd[_0x4c02d5(0x11e)]()};_0x11c2d8['makeRequest'](_0x171952,_0x4c88eb=>{const _0x58e607=_0x4c02d5;_0x4c88eb?_0x11c2d8[_0x58e607(0x137)][_0x58e607(0x13c)](_0x58e607(0x146)+_0x10fdf5+_0x58e607(0x113)+_0x403861,_0x4c88eb):(_0x11c2d8[_0x58e607(0x137)][_0x58e607(0xd4)](_0x58e607(0x109)+_0x10fdf5+_0x58e607(0x113)+_0x403861),_0x11c2d8[_0x58e607(0x121)]=Date[_0x58e607(0x12e)]());});}});}[a6_0x2c7d17(0x110)](_0x434b82){const _0x43edc8=a6_0x2c7d17;this['logger']['debug']('Transmitting\x20breakpoint\x20updates...'),this[_0x43edc8(0xd1)]=undefined;const _0x52da39=[];let _0x4d8fc1=0x0;while(_0x52da39[_0x43edc8(0x128)]<this[_0x43edc8(0xf9)][_0x43edc8(0xbb)]&&this['transmissionQueue']['length']>0x0){const _0x598402=this[_0x43edc8(0x13d)][0x0],_0x3fbc2c=_0x598402[_0x43edc8(0xe0)],_0x1687f7=(0x0,utils_1[_0x43edc8(0xd7)])(_0x3fbc2c);_0x4d8fc1+=_0x1687f7;if(_0x4d8fc1<=this[_0x43edc8(0xf9)][_0x43edc8(0xf0)])_0x52da39['push'](_0x598402),this['transmissionQueue'][_0x43edc8(0x103)]();else{_0x1687f7>this[_0x43edc8(0xf9)][_0x43edc8(0xf0)]&&_0x52da39[_0x43edc8(0x128)]===0x0&&(this[_0x43edc8(0x137)][_0x43edc8(0xc6)](_0x43edc8(0xeb)+_0x598402['id']+_0x43edc8(0x134)+this[_0x43edc8(0xf9)]['transmissionBulkMaxNetworkSizeInBytes']+_0x43edc8(0xdb)),_0x52da39['push'](_0x598402),this['transmissionQueue'][_0x43edc8(0x103)]());break;}}if(!_0x52da39)return;const _0x55d8fb=_0x52da39[_0x43edc8(0xc3)](_0x290a38=>_0x290a38['id']),_0x31d9b0={'uri':this[_0x43edc8(0xfc)]+encodeURIComponent(_0x434b82)+_0x43edc8(0x150),'json':!![],'method':_0x43edc8(0x11a),'body':'['+_0x52da39[_0x43edc8(0xc3)](_0x1c347d=>_0x1c347d[_0x43edc8(0xe0)])[_0x43edc8(0xe9)](',')+']'},_0x1c60fc=this;try{this[_0x43edc8(0x140)](_0x31d9b0,(_0x4adbd5,_0x4c8aff,_0x500a9b)=>{const _0x21807c=_0x43edc8,_0x5b429f=_0x500a9b?.[_0x21807c(0xd5)];_0x1c60fc['logger'][_0x21807c(0xc6)]('Update\x20for\x20breakpoints\x20'+_0x55d8fb+_0x21807c(0xc0)+_0x5b429f);if(_0x4adbd5||!_0x5b429f||Math['floor'](_0x5b429f/0x64)!==0x2){const _0x2e64c9=_0x5b429f&&(_0x5b429f>=0x1f4||_0x5b429f===0x198);if(_0x2e64c9){_0x1c60fc[_0x21807c(0x137)][_0x21807c(0xdc)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x55d8fb+_0x21807c(0xd2)+_0x5b429f+_0x21807c(0xbe)+_0x4adbd5);for(const _0x30c7f7 of _0x52da39){_0x30c7f7[_0x21807c(0x118)]<MAX_FAILED_SEND_ATTEMPTS?_0x1c60fc['transmissionQueue'][_0x21807c(0xf1)]({..._0x30c7f7,'number':_0x30c7f7[_0x21807c(0x118)]+0x1}):_0x1c60fc[_0x21807c(0x137)][_0x21807c(0xdc)]('Breakpoint\x20'+_0x30c7f7['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else _0x1c60fc['logger'][_0x21807c(0xdc)](_0x21807c(0x126)+_0x55d8fb+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x5b429f+_0x21807c(0xbe)+_0x4adbd5);}else _0x1c60fc[_0x21807c(0x137)][_0x21807c(0xd4)](_0x21807c(0xee)+_0x55d8fb+_0x21807c(0x114));_0x1c60fc[_0x21807c(0x13d)][_0x21807c(0x128)]>0x0&&(_0x1c60fc[_0x21807c(0xd1)]=setTimeout(()=>_0x1c60fc[_0x21807c(0x110)][_0x21807c(0x14e)](_0x1c60fc)(_0x434b82),0x0));},0x28);}catch(_0x13e753){this[_0x43edc8(0x137)]['warn'](_0x43edc8(0x126)+_0x55d8fb+_0x43edc8(0xec)+_0x13e753+',\x20Message:\x20'+_0x13e753[_0x43edc8(0xd6)]?.[_0x43edc8(0xc2)]),_0x1c60fc[_0x43edc8(0x13d)][_0x43edc8(0x128)]>0x0&&(_0x1c60fc[_0x43edc8(0xd1)]=setTimeout(()=>_0x1c60fc[_0x43edc8(0x110)][_0x43edc8(0x14e)](_0x1c60fc)(_0x434b82),0x0));}}async[a6_0x2c7d17(0xcd)](_0x49e043){const _0x5cfdf9=a6_0x2c7d17;this[_0x5cfdf9(0x137)][_0x5cfdf9(0xd4)]('Getting\x20blocklist');const _0x282ed1=this['apiUrl']+encodeURIComponent(_0x49e043)+_0x5cfdf9(0x129),{error:_0x5f3599,data:_0x115b0a}=await this[_0x5cfdf9(0x140)]({'uri':_0x282ed1,'json':!![]});if(_0x5f3599)return Promise[_0x5cfdf9(0x14c)](_0x5f3599);return yaml[_0x5cfdf9(0x101)](_0x115b0a)||{};}[a6_0x2c7d17(0x140)](_0x2a92fc,_0x1d8257,_0x2d5d4f,_0x55f49c){const _0x27bbd5=a6_0x2c7d17,_0x145ba9={'Content-Type':_0x55f49c?_0x55f49c:'application/json','Authorization':_0x27bbd5(0xc7)+this['config'][_0x27bbd5(0x142)]},_0x3e83bb=axios_1['default']['CancelToken'][_0x27bbd5(0x11d)](),_0x281c9e=_0x2d5d4f?_0x2d5d4f*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x27bbd5(0x137)][_0x27bbd5(0xc6)]('timeout\x20set\x20to\x20'+_0x281c9e);const _0x187f80=setTimeout(()=>{const _0x3b749d=_0x27bbd5;this[_0x3b749d(0x137)]['warn'](_0x3b749d(0x13e)+_0x281c9e+'ms'),_0x3e83bb['cancel']();},_0x281c9e),_0x349d35={'method':_0x2a92fc[_0x27bbd5(0xf4)],'url':_0x2a92fc[_0x27bbd5(0x13a)],'data':_0x2a92fc[_0x27bbd5(0x104)],'headers':_0x145ba9,'cancelToken':_0x3e83bb[_0x27bbd5(0xce)]};return extend(!![],_0x349d35,_0x2a92fc),this['axios']['request'](_0x349d35)[_0x27bbd5(0xf2)](_0x3b7a35=>{return _0x1d8257?.(null,_0x3b7a35['data'],_0x3b7a35),{'error':null,'data':_0x3b7a35['data'],'res':_0x3b7a35};})[_0x27bbd5(0xe5)](_0x5cd097=>{const _0x1cc0c9=_0x27bbd5;return _0x1d8257?.(_0x5cd097,_0x5cd097[_0x1cc0c9(0x13b)]?.[_0x1cc0c9(0xd6)],_0x5cd097[_0x1cc0c9(0x13b)]),{'error':_0x5cd097,'data':_0x5cd097[_0x1cc0c9(0x13b)]?.['data'],'res':_0x5cd097[_0x1cc0c9(0x13b)]};})[_0x27bbd5(0x10c)](()=>clearTimeout(_0x187f80));}async['getRedactions'](_0x23da3d){const _0x2a2235=a6_0x2c7d17;this['logger'][_0x2a2235(0xd4)](_0x2a2235(0x125));const _0x12cc91=this[_0x2a2235(0xfc)]+encodeURIComponent(_0x23da3d)+_0x2a2235(0xff),{error:_0x486cc4,data:_0x4f81cf}=await this[_0x2a2235(0x140)]({'uri':_0x12cc91,'json':!![]});if(_0x486cc4)return Promise['reject'](_0x486cc4);return _0x4f81cf;}}function a6_0x1fa9(_0xa8915c,_0x31021c){const _0x38ce83=a6_0x2a84();return a6_0x1fa9=function(_0x7cfaea,_0x1ea029){_0x7cfaea=_0x7cfaea-0xb9;let _0x2a8446=_0x38ce83[_0x7cfaea];return _0x2a8446;},a6_0x1fa9(_0xa8915c,_0x31021c);}exports[a6_0x2c7d17(0xe7)]=Controller;function a6_0x2a84(){const _0x5ea1d3=['token','apiEndpoint','Deregister\x20agent\x20before\x20shutdown','transmissionTimeout','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','\x20size\x20is\x20','info','status','data','getJsonStringSizeInBytes','2Ymjsth','port','Failed\x20to\x20read\x20pem\x20file\x20\x22',',\x20sending\x20only\x20one','warn','\x20and\x20enqueue\x20to\x20queue','caPath','ascii','serializedJson','tls','sendBreakpointLogsToServer','querystring','pubkey','catch','apply','Controller','Certificate\x20Pinning\x20Failed!','join','readFileSync','breakpoint\x20','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','Update\x20for\x20breakpoints\x20','should\x20have\x20a\x20registered\x20debuggee','transmissionBulkMaxNetworkSizeInBytes','push','then','90PVfnAM','method','register','https://','sendAgentLogsToServer','Failed\x20to\x20zip\x20','config','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','zlib','apiUrl','includes','constructor','/redaction','5476266uwYCka','load','\x22\x20-\x20ignoring\x20it','shift','body','unknown\x20error\x20-\x20request\x20response\x20missing','js-yaml','14pjwduQ','create','Successfully\x20sent\x20log\x20file\x20','/debuggees/','transmissionHardMaxNetworkSizeLimitInBytes','finally','(((.+)+)+)+$','proxy','createHash','transmitBreakpointUpdates','update','pipeline','\x20for\x20request\x20','\x20transmitted\x20successfully','ServiceObject','addCACert','search','number','extend','PUT','max','statSync','source','toBuffer','/breakpoints?','./util/utils','lastLogCollectionTime','\x20for\x20request\x20id\x20','1788712deoKcE','2340585gIExNZ','Getting\x20reductions','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','894060nfGveA','length','/blacklist?successOnTimeout=true','__esModule','\x20seconds','103725NospFg','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','now','host','crypto','Compressing\x20and\x20sending\x20log\x20file\x20','debuggee','sendAppOnlyBreakpointHitsToServer','\x20size\x20>\x20max\x20network\x20size\x20:\x20','default','/appOnlyActionHits/','logger','password','3181384UdFIJU','uri','response','error','transmissionQueue','Timeout\x20occurred\x20after\x20','breakpointId:\x20','makeRequest','/log/','lightrunSecret','POST','nextWaitToken','https','Failed\x20to\x20send\x20log\x20file\x20','Agent','createSecureContext','/deregister/','floor','noCheckCertificate','reject','enqueueBreakpointUpdate','bind','callback','/breakpoints','agentLog','collectCooldownMs','clearTransmissionTimeout','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','transmissionBulkMaxSize','username','invalid\x20response\x20body\x20from\x20server','\x20Error:\x20','maxLogFileBytes','\x20finished\x20with\x20status\x20','420449WIYwYF','message','map','unable\x20to\x20register,\x20status\x20','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','debug','Bearer\x20','waitToken','stringify','secureContext','WritableStream','https-proxy-agent','getBlocklist'];a6_0x2a84=function(){return _0x5ea1d3;};return a6_0x2a84();}function is2xx(_0x1be91c){const _0x22ace8=a6_0x2c7d17;return Math[_0x22ace8(0x14a)](_0x1be91c/0x64)===0x2;}function getProxyAgent(_0x1aa1bd,_0x9b4831){const _0x33f2af=a6_0x2c7d17,_0x2569a9=_0x1aa1bd[_0x33f2af(0x10e)];if(!_0x2569a9?.['host'])return undefined;if(!_0x2569a9[_0x33f2af(0xd9)])return _0x9b4831['error']('Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration'),undefined;_0x9b4831[_0x33f2af(0xd4)]('Using\x20proxy\x20configuration:\x20'+_0x2569a9['host']+':'+_0x2569a9[_0x33f2af(0xd9)]+',\x20username:\x20'+(_0x2569a9['username']??''));const _0x594197=new HttpsProxyAgent({'host':_0x2569a9[_0x33f2af(0x12f)],'port':_0x2569a9[_0x33f2af(0xd9)],'auth':_0x2569a9[_0x33f2af(0xbc)]||_0x2569a9[_0x33f2af(0x138)]?(_0x2569a9[_0x33f2af(0xbc)]??'')+':'+(_0x2569a9[_0x33f2af(0x138)]??''):undefined}),_0x5e1005=_0x594197['callback'][_0x33f2af(0x14e)](_0x594197),_0x1f6af4=getHttpsAgentOptions(_0x1aa1bd,_0x9b4831);return _0x594197[_0x33f2af(0x14f)]=(_0x3f1f09,_0x56882a)=>{return _0x5e1005(_0x3f1f09,{..._0x56882a,..._0x1f6af4});},_0x594197;}function getHttpsAgentOptions(_0x13fc0a,_0xc57ae6){const _0x346dff=a6_0x2c7d17,_0x2bed5a={'checkServerIdentity':(_0x2b4ece,_0x30fd52)=>{const _0x153080=a6_0x1fa9;if(_0x13fc0a[_0x153080(0x14b)])return undefined;const _0x5c0fdb=(0x0,crypto_1[_0x153080(0x10f)])('sha256')[_0x153080(0x111)](_0x30fd52[_0x153080(0xe4)])['digest']('hex');return _0x13fc0a['pinnedCerts'][_0x153080(0xfd)](_0x5c0fdb)?undefined:new Error(_0x153080(0xe8));}};let _0x5ed2c8;if(_0x13fc0a[_0x346dff(0xde)])try{_0x5ed2c8=(0x0,fs_1[_0x346dff(0xea)])(_0x13fc0a[_0x346dff(0xde)],_0x346dff(0xdf));}catch(_0x422777){_0xc57ae6[_0x346dff(0xdc)](_0x346dff(0xda)+_0x13fc0a['caPath']+_0x346dff(0x102));}if(_0x5ed2c8){const _0x40af26=(0x0,tls_1[_0x346dff(0x148)])(_0x2bed5a);_0x40af26['context'][_0x346dff(0x116)](_0x5ed2c8),_0x2bed5a[_0x346dff(0xca)]=_0x40af26;}return _0x2bed5a;}
|
|
1
|
+
const a6_0x38dfb2=a6_0x23ed;(function(_0x28fdc9,_0x3b4ee5){const _0xe3f4f7=a6_0x23ed,_0x37109b=_0x28fdc9();while(!![]){try{const _0x5246a1=parseInt(_0xe3f4f7(0x1cd))/0x1+parseInt(_0xe3f4f7(0x1b4))/0x2+parseInt(_0xe3f4f7(0x1ba))/0x3*(parseInt(_0xe3f4f7(0x1bc))/0x4)+parseInt(_0xe3f4f7(0x1c0))/0x5*(-parseInt(_0xe3f4f7(0x186))/0x6)+-parseInt(_0xe3f4f7(0x195))/0x7+parseInt(_0xe3f4f7(0x159))/0x8+-parseInt(_0xe3f4f7(0x1a4))/0x9;if(_0x5246a1===_0x3b4ee5)break;else _0x37109b['push'](_0x37109b['shift']());}catch(_0x35ff2e){_0x37109b['push'](_0x37109b['shift']());}}}(a6_0x38c1,0xc4168));const a6_0x2676b0=(function(){let _0x3f0272=!![];return function(_0x214d91,_0x4f0829){const _0x4870ab=_0x3f0272?function(){const _0xc64eb0=a6_0x23ed;if(_0x4f0829){const _0x245405=_0x4f0829[_0xc64eb0(0x1cc)](_0x214d91,arguments);return _0x4f0829=null,_0x245405;}}:function(){};return _0x3f0272=![],_0x4870ab;};}()),a6_0x51c78b=a6_0x2676b0(this,function(){const _0x4bdd93=a6_0x23ed;return a6_0x51c78b[_0x4bdd93(0x1b5)]()[_0x4bdd93(0x196)](_0x4bdd93(0x1d0))[_0x4bdd93(0x1b5)]()[_0x4bdd93(0x19a)](a6_0x51c78b)[_0x4bdd93(0x196)](_0x4bdd93(0x1d0));});function a6_0x23ed(_0x538192,_0x16b78d){const _0x3f1da8=a6_0x38c1();return a6_0x23ed=function(_0x51c78b,_0x2676b0){_0x51c78b=_0x51c78b-0x158;let _0x38c1e7=_0x3f1da8[_0x51c78b];return _0x38c1e7;},a6_0x23ed(_0x538192,_0x16b78d);}a6_0x51c78b();'use strict';Object[a6_0x38dfb2(0x188)](exports,a6_0x38dfb2(0x177),{'value':!![]}),exports[a6_0x38dfb2(0x179)]=void 0x0;const common_1=require(a6_0x38dfb2(0x1ae)),assert=require(a6_0x38dfb2(0x19f)),qs=require(a6_0x38dfb2(0x1c7)),fs_1=require('fs'),crypto_1=require(a6_0x38dfb2(0x1e5)),zlib_1=require(a6_0x38dfb2(0x197)),stream_1=require(a6_0x38dfb2(0x1b2)),memory_streams_1=require('memory-streams'),tls_1=require('tls'),extend=require('extend'),axios_1=require(a6_0x38dfb2(0x166)),https=require(a6_0x38dfb2(0x198)),utils_1=require(a6_0x38dfb2(0x1ab)),HttpsProxyAgent=require(a6_0x38dfb2(0x17c)),yaml=require(a6_0x38dfb2(0x1bf)),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_0x38dfb2(0x1cf)]{constructor(_0x5ca756,_0x1e824f,_0x8fd1cc){const _0x1ba578=a6_0x38dfb2;super({'parent':_0x5ca756,'baseUrl':'/controller'}),this[_0x1ba578(0x1b6)]=null,this[_0x1ba578(0x172)]=_0x1e824f,this[_0x1ba578(0x189)]=[],this[_0x1ba578(0x18c)]=_0x8fd1cc,this[_0x1ba578(0x1a5)]='https://'+_0x1e824f['apiEndpoint']+_0x1ba578(0x17a),this[_0x1ba578(0x166)]=axios_1[_0x1ba578(0x1d2)]['create']({'httpsAgent':getProxyAgent(_0x1e824f,_0x8fd1cc)??new https['Agent'](getHttpsAgentOptions(_0x1e824f,_0x8fd1cc)),'proxy':![]});}['register'](_0x2fb964,_0x34fd7e){const _0x9b63ef=a6_0x38dfb2,_0x4da7f5={'uri':this[_0x9b63ef(0x1a5)]+_0x9b63ef(0x1eb),'method':_0x9b63ef(0x1c4),'json':!![],'body':{'debuggee':_0x2fb964}};this[_0x9b63ef(0x1ec)](_0x4da7f5,(_0x30e884,_0x4996e6,_0x4a3c30)=>{const _0x337033=_0x9b63ef;if(!_0x4a3c30)_0x34fd7e(_0x30e884||new Error(_0x337033(0x181)));else{if(_0x30e884){let _0x116b3e=![];_0x4a3c30[_0x337033(0x15e)]===HTTP_UPGRADE_REQUIRED&&_0x4996e6&&(_0x4996e6[_0x337033(0x191)]!==undefined&&(_0x30e884[_0x337033(0x191)]=_0x4996e6['message']),_0x2fb964['id']=_0x4996e6[_0x337033(0x1aa)]['id'],_0x116b3e=!![]),_0x34fd7e(_0x30e884,_0x4996e6,_0x116b3e);}else{if(_0x4a3c30['status']!==HTTP_SUCCESS)_0x34fd7e(new Error(_0x337033(0x1b7)+_0x4a3c30['status']));else!_0x4996e6?.[_0x337033(0x1aa)]?_0x34fd7e(new Error(_0x337033(0x1be))):(_0x2fb964['id']=_0x4996e6['debuggee']['id'],_0x34fd7e(null,_0x4996e6));}}});}[a6_0x38dfb2(0x1e7)](_0x5982d9,_0x17807a,_0x227bd8){const _0x4e2ae2=a6_0x38dfb2,_0x3734c9=this;assert(_0x5982d9['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x255d13={'successOnTimeout':!![]};_0x3734c9[_0x4e2ae2(0x1b6)]&&(_0x255d13['waitToken']=_0x3734c9[_0x4e2ae2(0x1b6)]);const _0x5e0d03=this[_0x4e2ae2(0x1a5)]+encodeURIComponent(_0x5982d9['id'])+_0x4e2ae2(0x173)+qs[_0x4e2ae2(0x168)](_0x255d13);_0x3734c9[_0x4e2ae2(0x1ec)]({'uri':_0x5e0d03,'json':!![]},(_0x5e388b,_0x53c60c,_0x518cde)=>{const _0x76e316=_0x4e2ae2;if(!_0x518cde){_0x17807a(_0x5e388b||new Error(_0x76e316(0x181)));return;}else{if(!is2xx(_0x518cde['status'])){_0x17807a(new Error(_0x76e316(0x1a9)+_0x518cde[_0x76e316(0x15e)]),_0x518cde);return;}else _0x53c60c&&(_0x3734c9[_0x76e316(0x1b6)]=_0x53c60c['nextWaitToken']),_0x17807a(null,_0x518cde,_0x53c60c);}},_0x227bd8);}[a6_0x38dfb2(0x1bd)](_0x372f10,_0x3ae674){const _0x5dece8=a6_0x38dfb2;assert(_0x372f10['id'],_0x5dece8(0x1e8));try{const _0x27cff6=JSON[_0x5dece8(0x168)](_0x3ae674),_0x195a89=(0x0,utils_1[_0x5dece8(0x1b1)])(_0x27cff6);if(_0x195a89>=this[_0x5dece8(0x172)]['transmissionHardMaxNetworkSizeLimitInBytes']){this['logger'][_0x5dece8(0x1a7)](_0x5dece8(0x1d7)+_0x3ae674['id']+'\x20size\x20is\x20'+_0x195a89+_0x5dece8(0x1c6)+this['config'][_0x5dece8(0x1c2)]);return;}this[_0x5dece8(0x189)]['push']({'id':_0x3ae674['id'],'serializedJson':_0x27cff6,'number':0x0});if(!this[_0x5dece8(0x184)]){const _0x5dcea5=this;this['transmissionTimeout']=setTimeout(()=>_0x5dcea5['transmitBreakpointUpdates'][_0x5dece8(0x1cb)](_0x5dcea5)(_0x372f10['id']),0x0);}}catch(_0x1d4212){this[_0x5dece8(0x18c)][_0x5dece8(0x1e0)](_0x5dece8(0x1d3)+_0x3ae674['id']+'\x20and\x20enqueue\x20to\x20queue',_0x1d4212);return;}}[a6_0x38dfb2(0x1a1)](){const _0x389917=a6_0x38dfb2;if(!this[_0x389917(0x184)])return;clearTimeout(this['transmissionTimeout']),this[_0x389917(0x184)]=null;}[a6_0x38dfb2(0x19b)](_0x53b192,_0x25789e){const _0x3d0419=a6_0x38dfb2,_0x56a847=this[_0x3d0419(0x1a5)]+encodeURIComponent(_0x53b192['id'])+_0x3d0419(0x16c),_0x680590={'uri':_0x56a847,'method':'POST','json':!![]};this[_0x3d0419(0x18c)][_0x3d0419(0x187)](_0x3d0419(0x16f)),this[_0x3d0419(0x1ec)](_0x680590,(_0x29f722,_0x5b18d5,_0x463397)=>{const _0x16bc22=_0x3d0419;(!_0x463397||Math['floor'](_0x463397['status']/0x64)!==0x2)&&this[_0x16bc22(0x18c)][_0x16bc22(0x1a7)](_0x16bc22(0x1ad)+_0x29f722),_0x25789e(_0x29f722);});}[a6_0x38dfb2(0x1c8)](_0x859313,_0x6b56f6,_0x121d3b){const _0x4ff70b=a6_0x38dfb2,_0x1d83ca=this['apiUrl']+encodeURIComponent(_0x859313['id'])+_0x4ff70b(0x18d),_0xe479d0={'uri':_0x1d83ca,'method':_0x4ff70b(0x1c4),'json':!![],'body':_0x6b56f6};this['makeRequest'](_0xe479d0,(_0x224aa5,_0x20c30d,_0x237ba7)=>{const _0x197e31=_0x4ff70b;(!_0x237ba7||Math[_0x197e31(0x1a6)](_0x237ba7['status']/0x64)!==0x2)&&(this[_0x197e31(0x18c)][_0x197e31(0x1a7)]('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x224aa5),_0x121d3b(_0x224aa5));});}[a6_0x38dfb2(0x160)](_0x102b17,_0xf7dbbd,_0x556a6f){const _0x2dac68=a6_0x38dfb2,_0x580c2f=this['apiUrl']+encodeURIComponent(_0x102b17['id'])+_0x2dac68(0x180),_0x5820e8={'uri':_0x580c2f,'method':_0x2dac68(0x1c4),'json':!![],'body':_0xf7dbbd};this[_0x2dac68(0x1ec)](_0x5820e8,(_0x1bc3a9,_0x4f4a97,_0x365424)=>{const _0x7959d8=_0x2dac68;(!_0x365424||Math['floor'](_0x365424[_0x7959d8(0x15e)]/0x64)!==0x2)&&(this[_0x7959d8(0x18c)][_0x7959d8(0x1a7)](_0x7959d8(0x17d)+_0x1bc3a9),_0x556a6f(_0x1bc3a9));});}[a6_0x38dfb2(0x1e4)](_0x3c7ad3,_0x5d0a51,_0x584aa3){const _0xe901f6=a6_0x38dfb2;assert(_0x3c7ad3['id'],'should\x20have\x20a\x20registered\x20debuggee');if(this['lastLogCollectionTime']){const _0x11a8d6=Date[_0xe901f6(0x182)](),_0x207c81=this[_0xe901f6(0x1ac)]+this['config'][_0xe901f6(0x19d)]['collectCooldownMs'];if(_0x11a8d6<_0x207c81){this['logger'][_0xe901f6(0x187)]('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+((_0x207c81-_0x11a8d6)/0x3e8+'\x20seconds'));return;}}const _0x3a5b5d=(0x0,fs_1[_0xe901f6(0x18a)])(_0x584aa3)[_0xe901f6(0x175)],_0x16d508=Math[_0xe901f6(0x174)](0x0,_0x3a5b5d-this[_0xe901f6(0x172)][_0xe901f6(0x19d)][_0xe901f6(0x1ea)]),_0x597fbd=(0x0,fs_1[_0xe901f6(0x170)])(_0x584aa3,{'start':_0x16d508}),_0x336a1c=(0x0,zlib_1[_0xe901f6(0x1dd)])(),_0x4fd616=new memory_streams_1['WritableStream'](),_0x599299=this;_0x599299[_0xe901f6(0x18c)][_0xe901f6(0x187)](_0xe901f6(0x15b)+_0x584aa3+_0xe901f6(0x1ee)+_0x5d0a51),(0x0,stream_1[_0xe901f6(0x178)])(_0x597fbd,_0x336a1c,_0x4fd616,_0x4d3e35=>{const _0x402bca=_0xe901f6;if(_0x4d3e35)_0x599299[_0x402bca(0x18c)][_0x402bca(0x1e0)]('Failed\x20to\x20zip\x20'+_0x584aa3+':\x20'+_0x4d3e35);else{const _0x347afb={'uri':this['apiUrl']+encodeURIComponent(_0x3c7ad3['id'])+_0x402bca(0x1b8)+_0x5d0a51,'method':_0x402bca(0x171),'body':_0x4fd616[_0x402bca(0x1e2)]()};_0x599299[_0x402bca(0x1ec)](_0x347afb,_0x5a199b=>{const _0x42d982=_0x402bca;_0x5a199b?_0x599299[_0x42d982(0x18c)][_0x42d982(0x1e0)](_0x42d982(0x1d1)+_0x584aa3+_0x42d982(0x169)+_0x5d0a51,_0x5a199b):(_0x599299[_0x42d982(0x18c)][_0x42d982(0x187)]('Successfully\x20sent\x20log\x20file\x20'+_0x584aa3+'\x20for\x20request\x20'+_0x5d0a51),_0x599299[_0x42d982(0x1ac)]=Date[_0x42d982(0x182)]());});}});}[a6_0x38dfb2(0x18e)](_0x42d0a9){const _0x41fd59=a6_0x38dfb2;this[_0x41fd59(0x18c)][_0x41fd59(0x158)](_0x41fd59(0x15d)),this['transmissionTimeout']=undefined;const _0x1833ad=[];let _0x46276b=0x0;while(_0x1833ad[_0x41fd59(0x192)]<this['config'][_0x41fd59(0x1a2)]&&this[_0x41fd59(0x189)][_0x41fd59(0x192)]>0x0){const _0x24ebfb=this[_0x41fd59(0x189)][0x0],_0x2e13d2=_0x24ebfb[_0x41fd59(0x1ce)],_0x1164bf=(0x0,utils_1[_0x41fd59(0x1b1)])(_0x2e13d2);_0x46276b+=_0x1164bf;if(_0x46276b<=this['config'][_0x41fd59(0x1de)])_0x1833ad[_0x41fd59(0x165)](_0x24ebfb),this[_0x41fd59(0x189)]['shift']();else{_0x1164bf>this[_0x41fd59(0x172)][_0x41fd59(0x1de)]&&_0x1833ad['length']===0x0&&(this[_0x41fd59(0x18c)][_0x41fd59(0x158)]('breakpoint\x20'+_0x24ebfb['id']+_0x41fd59(0x1b0)+this[_0x41fd59(0x172)][_0x41fd59(0x1de)]+',\x20sending\x20only\x20one'),_0x1833ad[_0x41fd59(0x165)](_0x24ebfb),this[_0x41fd59(0x189)][_0x41fd59(0x1ef)]());break;}}if(!_0x1833ad)return;const _0x3f8e34=_0x1833ad[_0x41fd59(0x161)](_0x1caf43=>_0x1caf43['id']),_0x5a6fd2={'uri':this[_0x41fd59(0x1a5)]+encodeURIComponent(_0x42d0a9)+_0x41fd59(0x1e9),'json':!![],'method':_0x41fd59(0x171),'body':'['+_0x1833ad[_0x41fd59(0x161)](_0x489269=>_0x489269[_0x41fd59(0x1ce)])[_0x41fd59(0x1a8)](',')+']'},_0x38b6ca=this;try{this[_0x41fd59(0x1ec)](_0x5a6fd2,(_0x1bf1e3,_0x143516,_0x454e52)=>{const _0x148d18=_0x41fd59,_0x808ece=_0x454e52?.['status'];_0x38b6ca[_0x148d18(0x18c)][_0x148d18(0x158)](_0x148d18(0x1ed)+_0x3f8e34+_0x148d18(0x176)+_0x808ece);if(_0x1bf1e3||!_0x808ece||Math[_0x148d18(0x1a6)](_0x808ece/0x64)!==0x2){const _0x5c11aa=_0x808ece&&(_0x808ece>=0x1f4||_0x808ece===0x198);if(_0x5c11aa){_0x38b6ca[_0x148d18(0x18c)][_0x148d18(0x1a7)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x3f8e34+_0x148d18(0x18f)+_0x808ece+'\x20Error:\x20'+_0x1bf1e3);for(const _0x589acc of _0x1833ad){_0x589acc['number']<MAX_FAILED_SEND_ATTEMPTS?_0x38b6ca['transmissionQueue']['push']({..._0x589acc,'number':_0x589acc['number']+0x1}):_0x38b6ca[_0x148d18(0x18c)][_0x148d18(0x1a7)](_0x148d18(0x16d)+_0x589acc['id']+_0x148d18(0x17b));}}else _0x38b6ca[_0x148d18(0x18c)][_0x148d18(0x1a7)](_0x148d18(0x1c9)+_0x3f8e34+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20'+_0x808ece+'\x20Error:\x20'+_0x1bf1e3);}else _0x38b6ca[_0x148d18(0x18c)][_0x148d18(0x187)](_0x148d18(0x1ed)+_0x3f8e34+_0x148d18(0x190));_0x38b6ca[_0x148d18(0x189)]['length']>0x0&&(_0x38b6ca[_0x148d18(0x184)]=setTimeout(()=>_0x38b6ca[_0x148d18(0x18e)]['bind'](_0x38b6ca)(_0x42d0a9),0x0));},0x28);}catch(_0x22701a){this[_0x41fd59(0x18c)][_0x41fd59(0x1a7)](_0x41fd59(0x1c9)+_0x3f8e34+_0x41fd59(0x162)+_0x22701a+_0x41fd59(0x1e6)+_0x22701a[_0x41fd59(0x1c3)]?.['message']),_0x38b6ca['transmissionQueue']['length']>0x0&&(_0x38b6ca['transmissionTimeout']=setTimeout(()=>_0x38b6ca[_0x41fd59(0x18e)][_0x41fd59(0x1cb)](_0x38b6ca)(_0x42d0a9),0x0));}}async[a6_0x38dfb2(0x1f0)](_0x3db278){const _0x50025e=a6_0x38dfb2;this[_0x50025e(0x18c)][_0x50025e(0x187)](_0x50025e(0x1f1));const _0x1fdc31=this['apiUrl']+encodeURIComponent(_0x3db278)+_0x50025e(0x193),{error:_0x3bc78b,data:_0x28d7e1}=await this[_0x50025e(0x1ec)]({'uri':_0x1fdc31,'json':!![]});if(_0x3bc78b)return Promise['reject'](_0x3bc78b);return yaml[_0x50025e(0x1da)](_0x28d7e1)||{};}['makeRequest'](_0x5f464e,_0x12c90d,_0x19ee52,_0x30eeca){const _0x1d0a47=a6_0x38dfb2,_0x45a015={'Content-Type':_0x30eeca?_0x30eeca:_0x1d0a47(0x1a0),'Authorization':_0x1d0a47(0x1dc)+this[_0x1d0a47(0x172)][_0x1d0a47(0x17e)]},_0x21740f=axios_1[_0x1d0a47(0x1d2)][_0x1d0a47(0x17f)][_0x1d0a47(0x15f)](),_0xa744e4=_0x19ee52?_0x19ee52*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x1d0a47(0x18c)]['debug']('timeout\x20set\x20to\x20'+_0xa744e4);const _0x1c5774=setTimeout(()=>{const _0x54142e=_0x1d0a47;this[_0x54142e(0x18c)][_0x54142e(0x1a7)](_0x54142e(0x1b3)+_0xa744e4+'ms'),_0x21740f['cancel']();},_0xa744e4),_0x18b153={'method':_0x5f464e['method'],'url':_0x5f464e[_0x1d0a47(0x1df)],'data':_0x5f464e[_0x1d0a47(0x167)],'headers':_0x45a015,'cancelToken':_0x21740f[_0x1d0a47(0x18b)]};return extend(!![],_0x18b153,_0x5f464e),this[_0x1d0a47(0x166)][_0x1d0a47(0x1d4)](_0x18b153)[_0x1d0a47(0x1a3)](_0x1e82e3=>{const _0xd64793=_0x1d0a47;return _0x12c90d?.(null,_0x1e82e3[_0xd64793(0x1c3)],_0x1e82e3),{'error':null,'data':_0x1e82e3['data'],'res':_0x1e82e3};})['catch'](_0x5150d5=>{const _0x11dbab=_0x1d0a47;return _0x12c90d?.(_0x5150d5,_0x5150d5['response']?.['data'],_0x5150d5[_0x11dbab(0x1bb)]),{'error':_0x5150d5,'data':_0x5150d5['response']?.[_0x11dbab(0x1c3)],'res':_0x5150d5[_0x11dbab(0x1bb)]};})[_0x1d0a47(0x1db)](()=>clearTimeout(_0x1c5774));}async[a6_0x38dfb2(0x19e)](_0x17eed4){const _0x34f5da=a6_0x38dfb2;this['logger'][_0x34f5da(0x187)]('Getting\x20reductions');const _0x162704=this[_0x34f5da(0x1a5)]+encodeURIComponent(_0x17eed4)+_0x34f5da(0x16e),{error:_0x2db204,data:_0x426e57}=await this[_0x34f5da(0x1ec)]({'uri':_0x162704,'json':!![]});if(_0x2db204)return Promise[_0x34f5da(0x15c)](_0x2db204);return _0x426e57;}}exports[a6_0x38dfb2(0x179)]=Controller;function a6_0x38c1(){const _0xc3e600=['breakpointId:\x20','port','proxy','load','finally','Bearer\x20','createGzip','transmissionBulkMaxNetworkSizeInBytes','uri','error','Using\x20proxy\x20configuration:\x20','toBuffer','update','sendAgentLogsToServer','crypto',',\x20Message:\x20','listBreakpoints','should\x20have\x20a\x20registered\x20debuggee','/breakpoints','maxLogFileBytes','register','makeRequest','Update\x20for\x20breakpoints\x20','\x20for\x20request\x20id\x20','shift','getBlocklist','Getting\x20blocklist','debug','5927336VLtJcL','addCACert','Compressing\x20and\x20sending\x20log\x20file\x20','reject','Transmitting\x20breakpoint\x20updates...','status','source','sendAppOnlyBreakpointHitsToServer','map','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','createHash','\x22\x20-\x20ignoring\x20it','push','axios','body','stringify','\x20for\x20request\x20','secureContext',',\x20username:\x20','/deregister/','Breakpoint\x20','/redaction','Deregister\x20agent\x20before\x20shutdown','createReadStream','PUT','config','/breakpoints?','max','size','\x20finished\x20with\x20status\x20','__esModule','pipeline','Controller','/debuggees/','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','https-proxy-agent','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','lightrunSecret','CancelToken','/appOnlyActionHits/','unknown\x20error\x20-\x20request\x20response\x20missing','now','digest','transmissionTimeout','createSecureContext','24dwWPAi','info','defineProperty','transmissionQueue','statSync','token','logger','/log/','transmitBreakpointUpdates','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','\x20transmitted\x20successfully','message','length','/blacklist?successOnTimeout=true','caPath','9923179MdPNgs','search','zlib','https','password','constructor','deregister','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','agentLog','getRedactions','assert','application/json','clearTransmissionTimeout','transmissionBulkMaxSize','then','2046159bvTAVv','apiUrl','floor','warn','join','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','debuggee','./util/utils','lastLogCollectionTime','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','@google-cloud/common','Failed\x20to\x20read\x20pem\x20file\x20\x22','\x20size\x20>\x20max\x20network\x20size\x20:\x20','getJsonStringSizeInBytes','stream','Timeout\x20occurred\x20after\x20','1390382RCHFWb','toString','nextWaitToken','unable\x20to\x20register,\x20status\x20','/compressedLogFile/','pubkey','3575259OLbdpC','response','4rZRHOX','enqueueBreakpointUpdate','invalid\x20response\x20body\x20from\x20server','js-yaml','1506700pzCWCg','callback','transmissionHardMaxNetworkSizeLimitInBytes','data','POST','host','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','querystring','sendBreakpointLogsToServer','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','hex','bind','apply','1025623WjihZW','serializedJson','ServiceObject','(((.+)+)+)+$','Failed\x20to\x20send\x20log\x20file\x20','default','failed\x20to\x20serialize\x20breakpoint\x20','request','Certificate\x20Pinning\x20Failed!','sha256'];a6_0x38c1=function(){return _0xc3e600;};return a6_0x38c1();}function is2xx(_0x223ba8){const _0x54483e=a6_0x38dfb2;return Math[_0x54483e(0x1a6)](_0x223ba8/0x64)===0x2;}function getProxyAgent(_0x4b586b,_0x4c4d6d){const _0xb27f5f=a6_0x38dfb2,_0x4cc331=_0x4b586b[_0xb27f5f(0x1d9)];if(!_0x4cc331?.[_0xb27f5f(0x1c5)])return undefined;if(!_0x4cc331[_0xb27f5f(0x1d8)])return _0x4c4d6d[_0xb27f5f(0x1e0)](_0xb27f5f(0x19c)),undefined;_0x4c4d6d['info'](_0xb27f5f(0x1e1)+_0x4cc331['host']+':'+_0x4cc331['port']+_0xb27f5f(0x16b)+(_0x4cc331['username']??''));const _0x3901be=new HttpsProxyAgent({'host':_0x4cc331[_0xb27f5f(0x1c5)],'port':_0x4cc331[_0xb27f5f(0x1d8)],'auth':_0x4cc331['username']||_0x4cc331['password']?(_0x4cc331['username']??'')+':'+(_0x4cc331[_0xb27f5f(0x199)]??''):undefined}),_0x16e14b=_0x3901be['callback']['bind'](_0x3901be),_0x3655a0=getHttpsAgentOptions(_0x4b586b,_0x4c4d6d);return _0x3901be[_0xb27f5f(0x1c1)]=(_0x434d7f,_0x53640a)=>{return _0x16e14b(_0x434d7f,{..._0x53640a,..._0x3655a0});},_0x3901be;}function getHttpsAgentOptions(_0x3ee72b,_0x4c7540){const _0x439d52=a6_0x38dfb2,_0x19b1e4={'checkServerIdentity':(_0x21fd1d,_0x1eee82)=>{const _0x107321=a6_0x23ed;if(_0x3ee72b['noCheckCertificate'])return undefined;const _0x404952=(0x0,crypto_1[_0x107321(0x163)])(_0x107321(0x1d6))[_0x107321(0x1e3)](_0x1eee82[_0x107321(0x1b9)])[_0x107321(0x183)](_0x107321(0x1ca));return _0x3ee72b['pinnedCerts']['includes'](_0x404952)?undefined:new Error(_0x107321(0x1d5));}};let _0x16c540;if(_0x3ee72b[_0x439d52(0x194)])try{_0x16c540=(0x0,fs_1['readFileSync'])(_0x3ee72b[_0x439d52(0x194)],'ascii');}catch(_0x3d8af6){_0x4c7540[_0x439d52(0x1a7)](_0x439d52(0x1af)+_0x3ee72b[_0x439d52(0x194)]+_0x439d52(0x164));}if(_0x16c540){const _0x55b845=(0x0,tls_1[_0x439d52(0x185)])(_0x19b1e4);_0x55b845['context'][_0x439d52(0x15a)](_0x16c540),_0x19b1e4[_0x439d52(0x16a)]=_0x55b845;}return _0x19b1e4;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a7_0x29bc(){const _0x12a78d=['../../client/stackdriver/status-message','25990050QdWEhQ','4ZoLYJY','string','minorVersion_','service','./createUniquifier','createUniquifier','createDebuggee','serviceContext','30454mmjOox','1496WBeeaw','relative','version','StatusMessage','apply','66KSmrel','search','(((.+)+)+)+$','toString','sourceContexts','createDebuggeeMetadata','module','minorversion','constructor','4978204UYRfyE','./createDebuggeeMetadata','name','cwd','versions','UNSPECIFIED','2607204yFFTYu','__esModule','default','875412FrHkeO','5843880LTGJOg','15759gyPIjZ','node','stringify'];a7_0x29bc=function(){return _0x12a78d;};return a7_0x29bc();}function a7_0x413a(_0x1190a0,_0x495b74){const _0x19032e=a7_0x29bc();return a7_0x413a=function(_0x2c668b,_0x3bb14d){_0x2c668b=_0x2c668b-0xad;let _0x29bc01=_0x19032e[_0x2c668b];return _0x29bc01;},a7_0x413a(_0x1190a0,_0x495b74);}const a7_0x54cd78=a7_0x413a;(function(_0xfb19c8,_0x1a6d20){const _0x5915a4=a7_0x413a,_0x4ba4e9=_0xfb19c8();while(!![]){try{const _0x3a68da=-parseInt(_0x5915a4(0xcf))/0x1*(parseInt(_0x5915a4(0xae))/0x2)+parseInt(_0x5915a4(0xbd))/0x3*(-parseInt(_0x5915a4(0xc7))/0x4)+-parseInt(_0x5915a4(0xc1))/0x5+parseInt(_0x5915a4(0xc0))/0x6+parseInt(_0x5915a4(0xb7))/0x7+parseInt(_0x5915a4(0xd0))/0x8*(parseInt(_0x5915a4(0xc2))/0x9)+parseInt(_0x5915a4(0xc6))/0xa;if(_0x3a68da===_0x1a6d20)break;else _0x4ba4e9['push'](_0x4ba4e9['shift']());}catch(_0x4172e7){_0x4ba4e9['push'](_0x4ba4e9['shift']());}}}(a7_0x29bc,0xb4d52));const a7_0x3bb14d=(function(){let _0x33763a=!![];return function(_0x3cb68a,_0x3f04c3){const _0x3e7449=_0x33763a?function(){const _0x3c8649=a7_0x413a;if(_0x3f04c3){const _0x4ba343=_0x3f04c3[_0x3c8649(0xad)](_0x3cb68a,arguments);return _0x3f04c3=null,_0x4ba343;}}:function(){};return _0x33763a=![],_0x3e7449;};}()),a7_0x2c668b=a7_0x3bb14d(this,function(){const _0x2dff1e=a7_0x413a;return a7_0x2c668b[_0x2dff1e(0xb1)]()[_0x2dff1e(0xaf)](_0x2dff1e(0xb0))[_0x2dff1e(0xb1)]()[_0x2dff1e(0xb6)](a7_0x2c668b)['search'](_0x2dff1e(0xb0));});a7_0x2c668b();'use strict';Object['defineProperty'](exports,a7_0x54cd78(0xbe),{'value':!![]}),exports[a7_0x54cd78(0xcd)]=void 0x0;const path=require('path'),status_message_1=require(a7_0x54cd78(0xc5)),debuggee_1=require('../../debuggee'),createDebuggeeMetadata_1=require(a7_0x54cd78(0xb8)),createUniquifier_1=require(a7_0x54cd78(0xcb)),getPlatform_1=require('./getPlatform'),createDebuggee=(_0x4176f4,_0x4bc001,_0x46f6ca,_0x31523f,_0x29e310,_0x475868,_0x58f77b,_0xbea4fa)=>{const _0x6edc22=a7_0x54cd78,_0x1f6c4b=process[_0x6edc22(0xba)](),_0x39ee3a=path[_0x6edc22(0xd1)](_0x1f6c4b,process['argv'][0x1]),_0x532eb5={'main\x20script':_0x39ee3a,'process.title':process['title'],'node\x20version':process[_0x6edc22(0xbb)][_0x6edc22(0xc3)],'V8\x20version':process[_0x6edc22(0xbb)]['v8'],'agent.name':_0x31523f[_0x6edc22(0xb9)],'agent.version':_0x29e310,'platform':(0x0,getPlatform_1['getPlatform'])()},_0x1bd020=_0x4bc001[_0x6edc22(0xce)];_0x1bd020&&(typeof _0x1bd020[_0x6edc22(0xca)]===_0x6edc22(0xc8)&&_0x1bd020[_0x6edc22(0xca)]!==_0x6edc22(0xbf)&&(_0x532eb5[_0x6edc22(0xb4)]=_0x1bd020['service']),typeof _0x1bd020[_0x6edc22(0xd2)]===_0x6edc22(0xc8)&&(_0x532eb5[_0x6edc22(0xd2)]=_0x1bd020['version']),typeof _0x1bd020[_0x6edc22(0xc9)]===_0x6edc22(0xc8)&&(_0x532eb5[_0x6edc22(0xb5)]=_0x1bd020[_0x6edc22(0xc9)]));const _0x26305a=(0x0,createUniquifier_1[_0x6edc22(0xcc)])(_0x29e310,_0x4176f4,_0x46f6ca,_0x532eb5),_0x549fa4=_0xbea4fa?new status_message_1['StatusMessage'](status_message_1[_0x6edc22(0xd3)][_0x6edc22(0xbc)],_0xbea4fa,!![]):undefined,_0x3f147d=(0x0,createDebuggeeMetadata_1[_0x6edc22(0xb3)])(_0x4bc001,_0x475868),_0x4e5d4a={'uniquifier':_0x26305a,'agentVersion':_0x29e310,'labels':{'metadata':JSON[_0x6edc22(0xc4)](_0x3f147d)},'statusMessage':_0x549fa4,'packageInfo':_0x31523f,..._0x58f77b};return _0x46f6ca&&(_0x4e5d4a[_0x6edc22(0xb2)]=[_0x46f6ca]),new debuggee_1['Debuggee'](_0x4e5d4a);};exports[a7_0x54cd78(0xcd)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a8_0x3a4f2f=a8_0x2bd7;(function(_0x38f5b7,_0x13f30a){const _0x33b756=a8_0x2bd7,_0x19ad73=_0x38f5b7();while(!![]){try{const _0x54f640=parseInt(_0x33b756(0xd3))/0x1+parseInt(_0x33b756(0xd1))/0x2*(parseInt(_0x33b756(0xd6))/0x3)+-parseInt(_0x33b756(0xd2))/0x4+parseInt(_0x33b756(0xe2))/0x5+-parseInt(_0x33b756(0xdd))/0x6+-parseInt(_0x33b756(0xdf))/0x7+-parseInt(_0x33b756(0xe5))/0x8*(-parseInt(_0x33b756(0xe7))/0x9);if(_0x54f640===_0x13f30a)break;else _0x19ad73['push'](_0x19ad73['shift']());}catch(_0x24c817){_0x19ad73['push'](_0x19ad73['shift']());}}}(a8_0x5213,0xcbc70));const a8_0x579a1c=(function(){let _0x4a537a=!![];return function(_0x8d35c5,_0x2d17e5){const _0xd308e7=_0x4a537a?function(){if(_0x2d17e5){const _0x2646de=_0x2d17e5['apply'](_0x8d35c5,arguments);return _0x2d17e5=null,_0x2646de;}}:function(){};return _0x4a537a=![],_0xd308e7;};}()),a8_0x57da35=a8_0x579a1c(this,function(){const _0x3131d2=a8_0x2bd7;return a8_0x57da35[_0x3131d2(0xe6)]()[_0x3131d2(0xcc)](_0x3131d2(0xd8))['toString']()[_0x3131d2(0xda)](a8_0x57da35)[_0x3131d2(0xcc)](_0x3131d2(0xd8));});a8_0x57da35();'use strict';function a8_0x2bd7(_0x198d20,_0x4ad0c5){const _0x597103=a8_0x5213();return a8_0x2bd7=function(_0x57da35,_0x579a1c){_0x57da35=_0x57da35-0xcc;let _0x5213e7=_0x597103[_0x57da35];return _0x5213e7;},a8_0x2bd7(_0x198d20,_0x4ad0c5);}Object[a8_0x3a4f2f(0xd4)](exports,a8_0x3a4f2f(0xe0),{'value':!![]}),exports[a8_0x3a4f2f(0xd5)]=void 0x0;function a8_0x5213(){const _0x5f537d=['Failed\x20to\x20read\x20metadata\x20file\x20','46tzeMxD','5686016iJHhcj','319235vLhrUK','defineProperty','createDebuggeeMetadata','140814TsVcSn','metadata','(((.+)+)+)+$','map','constructor','string','utf-8','4883262sAFEuI','extend','1547644onxdAq','__esModule','readFileSync','4231755jiXuEm','tags','filename','1673576bqfXSk','toString','45qmGUan','search','parse','warn','registration'];a8_0x5213=function(){return _0x5f537d;};return a8_0x5213();}const fs=require('fs'),extend=require(a8_0x3a4f2f(0xde)),createDebuggeeMetadata=(_0xfd721a,_0x59131d)=>{const _0x323a92=a8_0x3a4f2f;let _0x344d52={'registration':{}};if(_0xfd721a['metadata']?.[_0x323a92(0xe4)])try{_0x344d52=JSON[_0x323a92(0xcd)](fs[_0x323a92(0xe1)](_0xfd721a['metadata'][_0x323a92(0xe4)],_0x323a92(0xdc)));}catch(_0x53fdc7){_0x59131d[_0x323a92(0xce)](_0x323a92(0xd0)+_0xfd721a[_0x323a92(0xd7)]['filename'],_0x53fdc7);}return _0x344d52['registration']=extend(!![],{},_0xfd721a['metadata']?.[_0x323a92(0xcf)],_0x344d52[_0x323a92(0xcf)]),_0x344d52['registration']?.['tags']&&(_0x344d52[_0x323a92(0xcf)][_0x323a92(0xe3)]=_0x344d52[_0x323a92(0xcf)]['tags'][_0x323a92(0xd9)](_0x31a180=>typeof _0x31a180===_0x323a92(0xdb)?{'name':_0x31a180}:_0x31a180)),_0x344d52;};exports[a8_0x3a4f2f(0xd5)]=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a9_0x412d(){const _0x445c67=['841224sFweAh','search','40yglSnV','(((.+)+)+)+$','3zWgMDq','toString','update','stringify','2932911TsXXkU','15UYHMGg','6835756svnMkn','1244500eotsTS','constructor','apply','80610DwiqNK','93159aFLTbC','createUniquifier','hex','sha1','__esModule','2803829rBKKgr','crypto','digest','1670jmIFns','createHash'];a9_0x412d=function(){return _0x445c67;};return a9_0x412d();}const a9_0x26e331=a9_0x5009;(function(_0x40fa53,_0x4dca52){const _0x4e19d4=a9_0x5009,_0x1ce56a=_0x40fa53();while(!![]){try{const _0x184f0a=parseInt(_0x4e19d4(0x145))/0x1+-parseInt(_0x4e19d4(0x15b))/0x2+-parseInt(_0x4e19d4(0x154))/0x3*(-parseInt(_0x4e19d4(0x15a))/0x4)+parseInt(_0x4e19d4(0x159))/0x5*(parseInt(_0x4e19d4(0x150))/0x6)+-parseInt(_0x4e19d4(0x14b))/0x7+parseInt(_0x4e19d4(0x152))/0x8*(-parseInt(_0x4e19d4(0x158))/0x9)+-parseInt(_0x4e19d4(0x14e))/0xa*(-parseInt(_0x4e19d4(0x146))/0xb);if(_0x184f0a===_0x4dca52)break;else _0x1ce56a['push'](_0x1ce56a['shift']());}catch(_0x38bc58){_0x1ce56a['push'](_0x1ce56a['shift']());}}}(a9_0x412d,0xed604));const a9_0x2598cd=(function(){let _0xa59689=!![];return function(_0x4c6562,_0x296336){const _0x153ef=_0xa59689?function(){const _0x8e850e=a9_0x5009;if(_0x296336){const _0x2c4f67=_0x296336[_0x8e850e(0x15d)](_0x4c6562,arguments);return _0x296336=null,_0x2c4f67;}}:function(){};return _0xa59689=![],_0x153ef;};}()),a9_0x2a8a9d=a9_0x2598cd(this,function(){const _0x507a98=a9_0x5009;return a9_0x2a8a9d[_0x507a98(0x155)]()[_0x507a98(0x151)](_0x507a98(0x153))[_0x507a98(0x155)]()[_0x507a98(0x15c)](a9_0x2a8a9d)[_0x507a98(0x151)](_0x507a98(0x153));});function a9_0x5009(_0x17670e,_0x712731){const _0x16eb74=a9_0x412d();return a9_0x5009=function(_0x2a8a9d,_0x2598cd){_0x2a8a9d=_0x2a8a9d-0x145;let _0x412dad=_0x16eb74[_0x2a8a9d];return _0x412dad;},a9_0x5009(_0x17670e,_0x712731);}a9_0x2a8a9d();'use strict';Object['defineProperty'](exports,a9_0x26e331(0x14a),{'value':!![]}),exports[a9_0x26e331(0x147)]=void 0x0;const crypto=require(a9_0x26e331(0x14c)),createUniquifier=(_0x3cb944,_0x32e026,_0x390248,_0x478fd1)=>{const _0x1217ab=a9_0x26e331,_0x27670f=_0x3cb944+_0x32e026+JSON[_0x1217ab(0x157)](_0x390248)+JSON[_0x1217ab(0x157)](_0x478fd1);return crypto[_0x1217ab(0x14f)](_0x1217ab(0x149))[_0x1217ab(0x156)](_0x27670f)[_0x1217ab(0x14d)](_0x1217ab(0x148));};exports['createUniquifier']=createUniquifier;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x464973=a10_0x3705;(function(_0x10ed92,_0x5636c0){const _0x5af84a=a10_0x3705,_0xa42da4=_0x10ed92();while(!![]){try{const _0x3d9eb0=-parseInt(_0x5af84a(0xde))/0x1*(-parseInt(_0x5af84a(0xeb))/0x2)+-parseInt(_0x5af84a(0xdb))/0x3+-parseInt(_0x5af84a(0xe9))/0x4+parseInt(_0x5af84a(0xdc))/0x5+-parseInt(_0x5af84a(0xe2))/0x6*(parseInt(_0x5af84a(0xdd))/0x7)+-parseInt(_0x5af84a(0xe7))/0x8*(parseInt(_0x5af84a(0xe6))/0x9)+-parseInt(_0x5af84a(0xe0))/0xa*(-parseInt(_0x5af84a(0xed))/0xb);if(_0x3d9eb0===_0x5636c0)break;else _0xa42da4['push'](_0xa42da4['shift']());}catch(_0x12d364){_0xa42da4['push'](_0xa42da4['shift']());}}}(a10_0x458b,0xf2e62));const a10_0x2baef2=(function(){let _0x1d118c=!![];return function(_0x1cca3c,_0x24124c){const _0x4d5845=_0x1d118c?function(){if(_0x24124c){const _0x44afcc=_0x24124c['apply'](_0x1cca3c,arguments);return _0x24124c=null,_0x44afcc;}}:function(){};return _0x1d118c=![],_0x4d5845;};}()),a10_0xec72ac=a10_0x2baef2(this,function(){const _0xb0a8a2=a10_0x3705;return a10_0xec72ac['toString']()['search'](_0xb0a8a2(0xe3))[_0xb0a8a2(0xea)]()['constructor'](a10_0xec72ac)[_0xb0a8a2(0xe5)](_0xb0a8a2(0xe3));});a10_0xec72ac();function a10_0x458b(){const _0x424fd7=['6872860xprVEK','toString','966uZcnwz','defineProperty','11sPxPiC','__esModule','4126329bhFnhR','3251310cwKRhR','2513QGVEPA','1967qYBCVT','length','57231910bYAsxN','split','20976wxpkyL','(((.+)+)+)+$','delimit','search','9uKiETG','15839024SpGLRQ','push'];a10_0x458b=function(){return _0x424fd7;};return a10_0x458b();}'use strict';Object[a10_0x464973(0xec)](exports,a10_0x464973(0xda),{'value':!![]}),exports['delimit']=void 0x0;const delimit=(_0x275918,_0x515a04)=>{const _0xebb767=a10_0x464973,_0x3cdc11=_0x275918[_0xebb767(0xe1)](_0x515a04),_0x19409f=[];_0x19409f[_0xebb767(0xe8)](_0x3cdc11[0x0]);for(let _0x1704a4=0x1;_0x1704a4<_0x3cdc11[_0xebb767(0xdf)];_0x1704a4++){_0x19409f[_0xebb767(0xe8)]({'v':_0x515a04},_0x3cdc11[_0x1704a4]);}return _0x19409f;};function a10_0x3705(_0xbe6415,_0x272cfe){const _0x55e4ef=a10_0x458b();return a10_0x3705=function(_0xec72ac,_0x2baef2){_0xec72ac=_0xec72ac-0xda;let _0x458b1a=_0x55e4ef[_0xec72ac];return _0x458b1a;},a10_0x3705(_0xbe6415,_0x272cfe);}exports[a10_0x464973(0xe4)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a11_0x106f(){const _0x48c6b2=['__esModule','47283KgdLFi','format','321006hHjMhW','11xSZeBc','substring','83491hoAfCy','search','13610530LSxpZI','8672aYgZFi','defineProperty','./tokenize','length','(((.+)+)+)+$','58dsrRtq','874900fyJudi','1273868EVKese','774mIbEHG','join','63YMcSFC','toString','constructor','test'];a11_0x106f=function(){return _0x48c6b2;};return a11_0x106f();}const a11_0x186fbd=a11_0x3e04;(function(_0x38dbb4,_0x4470bc){const _0x5962fe=a11_0x3e04,_0x4e7a58=_0x38dbb4();while(!![]){try{const _0x519330=parseInt(_0x5962fe(0x1b4))/0x1+-parseInt(_0x5962fe(0x1bc))/0x2*(-parseInt(_0x5962fe(0x1af))/0x3)+parseInt(_0x5962fe(0x1a7))/0x4+parseInt(_0x5962fe(0x1bd))/0x5+-parseInt(_0x5962fe(0x1b1))/0x6*(-parseInt(_0x5962fe(0x1aa))/0x7)+-parseInt(_0x5962fe(0x1b7))/0x8*(-parseInt(_0x5962fe(0x1a8))/0x9)+-parseInt(_0x5962fe(0x1b6))/0xa*(parseInt(_0x5962fe(0x1b2))/0xb);if(_0x519330===_0x4470bc)break;else _0x4e7a58['push'](_0x4e7a58['shift']());}catch(_0x44fef7){_0x4e7a58['push'](_0x4e7a58['shift']());}}}(a11_0x106f,0x3c787));function a11_0x3e04(_0x19ecf8,_0x2b52bc){const _0x464b96=a11_0x106f();return a11_0x3e04=function(_0x135107,_0x480fcc){_0x135107=_0x135107-0x1a7;let _0x106f0a=_0x464b96[_0x135107];return _0x106f0a;},a11_0x3e04(_0x19ecf8,_0x2b52bc);}const a11_0x480fcc=(function(){let _0x53fc1c=!![];return function(_0x192a0a,_0xbb953d){const _0x2666c3=_0x53fc1c?function(){if(_0xbb953d){const _0x150658=_0xbb953d['apply'](_0x192a0a,arguments);return _0xbb953d=null,_0x150658;}}:function(){};return _0x53fc1c=![],_0x2666c3;};}()),a11_0x135107=a11_0x480fcc(this,function(){const _0x35134b=a11_0x3e04;return a11_0x135107[_0x35134b(0x1ab)]()[_0x35134b(0x1b5)]('(((.+)+)+)+$')['toString']()[_0x35134b(0x1ac)](a11_0x135107)[_0x35134b(0x1b5)](_0x35134b(0x1bb));});a11_0x135107();'use strict';Object[a11_0x186fbd(0x1b8)](exports,a11_0x186fbd(0x1ae),{'value':!![]}),exports['format']=void 0x0;const tokenize_1=require(a11_0x186fbd(0x1b9)),format=(_0x1ebc6f,_0x7889f2)=>{const _0x16c918=a11_0x186fbd,_0x414322=(0x0,tokenize_1['tokenize'])(_0x1ebc6f,_0x7889f2[_0x16c918(0x1ba)]);for(let _0x52bb25=0x0;_0x52bb25<_0x414322[_0x16c918(0x1ba)];_0x52bb25++){if(!_0x414322[_0x52bb25]['v'])continue;if(_0x414322[_0x52bb25]['v']==='$$'){_0x414322[_0x52bb25]='$';continue;}for(let _0x5ae700=0x0;_0x5ae700<_0x7889f2[_0x16c918(0x1ba)];_0x5ae700++){if(_0x414322[_0x52bb25]['v']==='$'+_0x5ae700){let _0x421878=_0x7889f2[_0x5ae700];/^".*"$/[_0x16c918(0x1ad)](_0x421878)&&(_0x421878=_0x421878[_0x16c918(0x1b3)](0x1,_0x421878['length']-0x1));_0x414322[_0x52bb25]=_0x421878;break;}}}return _0x414322[_0x16c918(0x1a9)]('');};exports[a11_0x186fbd(0x1b0)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x39dc28=a12_0xc519;(function(_0x5e0e68,_0x26110c){const _0x4844b5=a12_0xc519,_0x141ad6=_0x5e0e68();while(!![]){try{const _0x14e482=-parseInt(_0x4844b5(0x11d))/0x1*(parseInt(_0x4844b5(0x100))/0x2)+parseInt(_0x4844b5(0x112))/0x3+parseInt(_0x4844b5(0x123))/0x4+parseInt(_0x4844b5(0x115))/0x5+-parseInt(_0x4844b5(0x10a))/0x6+parseInt(_0x4844b5(0x11c))/0x7+parseInt(_0x4844b5(0x117))/0x8*(-parseInt(_0x4844b5(0x118))/0x9);if(_0x14e482===_0x26110c)break;else _0x141ad6['push'](_0x141ad6['shift']());}catch(_0x2093a3){_0x141ad6['push'](_0x141ad6['shift']());}}}(a12_0x370d,0x8001e));function a12_0xc519(_0x435f07,_0x190654){const _0x18d2e8=a12_0x370d();return a12_0xc519=function(_0x4cc767,_0x1534f3){_0x4cc767=_0x4cc767-0xff;let _0x370d66=_0x18d2e8[_0x4cc767];return _0x370d66;},a12_0xc519(_0x435f07,_0x190654);}function a12_0x370d(){const _0x455e62=['max_watchlist_variable_size','ignore_quota','java-properties','max_dynamic_log_bytes_rate','getFirst','(((.+)+)+)+$','2003802hbxSkX','map','fetch_breakpoints_once','toString','breakpoint_expiration_sec','getInt','trim','agent_log_target_dir','79884HpRuaE','getBoolean','collect_log_cooldown_ms','4721155PBJzsf','split','8rlIBUa','3986289ZdJOvB','apiEndpoint','transmission_bulk_max_size','dynamic_log_quota_recovery_ms','5888743MHqJGs','56HtzuAd','max_dynamic_log_rate','__esModule','max_condition_cost','agent_regmetadata_file','getFloat','1170120HbscNs','proxy_port','agent_log_max_file_size_mb','apply','search','proxy_username','max_log_cpu_cost','28694OYjBGU','max_snapshot_buffer_size','noCheckCertificate','proxy_password'];a12_0x370d=function(){return _0x455e62;};return a12_0x370d();}const a12_0x1534f3=(function(){let _0x3227c8=!![];return function(_0x1ccbf3,_0x2dbaef){const _0x5746e1=_0x3227c8?function(){const _0x3cc19d=a12_0xc519;if(_0x2dbaef){const _0x9d4dfc=_0x2dbaef[_0x3cc19d(0x126)](_0x1ccbf3,arguments);return _0x2dbaef=null,_0x9d4dfc;}}:function(){};return _0x3227c8=![],_0x5746e1;};}()),a12_0x4cc767=a12_0x1534f3(this,function(){const _0x294b19=a12_0xc519;return a12_0x4cc767['toString']()[_0x294b19(0x127)](_0x294b19(0x109))[_0x294b19(0x10d)]()['constructor'](a12_0x4cc767)['search'](_0x294b19(0x109));});a12_0x4cc767();'use strict';Object['defineProperty'](exports,a12_0x39dc28(0x11f),{'value':!![]}),exports['getAgentConfig']=void 0x0;const properties=require(a12_0x39dc28(0x106)),fs=require('fs'),getAgentConfig=_0x7574d1=>{const _0x24b9cc=a12_0x39dc28;if(fs['existsSync'](_0x7574d1)){const _0x48a01e=properties['of'](_0x7574d1);return{'lightrunSecret':_0x48a01e[_0x24b9cc(0x108)]('com.lightrun.secret'),'apiEndpoint':_0x48a01e[_0x24b9cc(0x108)](_0x24b9cc(0x119)),'breakpointExpirationSec':_0x48a01e['getInt'](_0x24b9cc(0x10e)),'transmissionBulkMaxSize':_0x48a01e['getInt'](_0x24b9cc(0x11a)),'noCheckCertificate':_0x48a01e['getBoolean'](_0x24b9cc(0x102)),'pinnedCerts':_0x48a01e[_0x24b9cc(0x108)]('pinned_certs')?.[_0x24b9cc(0x116)](','),'metadata':{'filename':_0x48a01e[_0x24b9cc(0x108)](_0x24b9cc(0x121))},'capture':{'maxFrames':_0x48a01e['getInt']('max_snapshot_frame_count'),'maxDataSize':_0x48a01e[_0x24b9cc(0x10f)](_0x24b9cc(0x101)),'maxSnapshotBufferSize':_0x48a01e[_0x24b9cc(0x10f)]('max_snapshot_buffer_size'),'maxVariableSize':_0x48a01e[_0x24b9cc(0x10f)]('max_variable_size'),'maxWatchListVariableSize':_0x48a01e[_0x24b9cc(0x10f)](_0x24b9cc(0x104))},'agentLog':{'collectCooldownMs':_0x48a01e[_0x24b9cc(0x10f)](_0x24b9cc(0x114)),'agentLogTargetDir':_0x48a01e[_0x24b9cc(0x108)](_0x24b9cc(0x111)),'agentLogLevel':_0x48a01e[_0x24b9cc(0x108)]('agent_log_level'),'agentLogMaxFileCount':_0x48a01e[_0x24b9cc(0x10f)]('agent_log_max_file_count'),'agentLogMaxFileSizeMb':_0x48a01e[_0x24b9cc(0x10f)](_0x24b9cc(0x125)),'maxLogFileBytes':_0x48a01e[_0x24b9cc(0x10f)]('max_log_file_bytes')},'quota':{'ignoreQuota':_0x48a01e[_0x24b9cc(0x113)](_0x24b9cc(0x105)),'maxCPUCost':_0x48a01e[_0x24b9cc(0x122)](_0x24b9cc(0xff)),'maxConditionCost':_0x48a01e['getFloat'](_0x24b9cc(0x120)),'maxDynamicLogRate':_0x48a01e[_0x24b9cc(0x10f)](_0x24b9cc(0x11e)),'maxDynamicLogByteRate':_0x48a01e['getInt'](_0x24b9cc(0x107)),'quotaRecoverySeconds':_0x48a01e['getInt']('dynamic_log_quota_recovery_ms')&&_0x48a01e[_0x24b9cc(0x10f)](_0x24b9cc(0x11b))/0x3e8},'fetchBreakpointsOnce':_0x48a01e[_0x24b9cc(0x113)](_0x24b9cc(0x10c)),'extraPaths':_0x48a01e[_0x24b9cc(0x108)]('extra_paths')?.[_0x24b9cc(0x116)](',')?.[_0x24b9cc(0x10b)](_0x3037cf=>_0x3037cf[_0x24b9cc(0x110)]()),'proxy':{'host':_0x48a01e[_0x24b9cc(0x108)]('proxy_host'),'port':_0x48a01e[_0x24b9cc(0x10f)](_0x24b9cc(0x124)),'username':_0x48a01e[_0x24b9cc(0x108)](_0x24b9cc(0x128)),'password':_0x48a01e[_0x24b9cc(0x108)](_0x24b9cc(0x103))}};}return;};exports['getAgentConfig']=getAgentConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x4ce025=a13_0x25a0;(function(_0x2ce8da,_0x43f219){const _0x5ede0b=a13_0x25a0,_0x4af462=_0x2ce8da();while(!![]){try{const _0x28ce48=-parseInt(_0x5ede0b(0x155))/0x1+parseInt(_0x5ede0b(0x161))/0x2+-parseInt(_0x5ede0b(0x15f))/0x3*(parseInt(_0x5ede0b(0x156))/0x4)+-parseInt(_0x5ede0b(0x157))/0x5+-parseInt(_0x5ede0b(0x151))/0x6+parseInt(_0x5ede0b(0x15e))/0x7*(-parseInt(_0x5ede0b(0x160))/0x8)+parseInt(_0x5ede0b(0x15a))/0x9;if(_0x28ce48===_0x43f219)break;else _0x4af462['push'](_0x4af462['shift']());}catch(_0x45a1ff){_0x4af462['push'](_0x4af462['shift']());}}}(a13_0xe3dd,0x5ec20));function a13_0xe3dd(){const _0x3258f3=['toString','defineProperty','(((.+)+)+)+$','158969svGuFN','104auWEvA','2765065ilpWSx','Platforms','CLOUD_FUNCTION','13504248CepkIx','constructor','DEFAULT','getPlatform','27706QEyJBO','35139XgItBm','8trjNju','1172954IbgadG','search','4070058drYQoa'];a13_0xe3dd=function(){return _0x3258f3;};return a13_0xe3dd();}Object[a13_0x4ce025(0x153)](exports,'__esModule',{'value':!![]}),exports[a13_0x4ce025(0x15d)]=exports[a13_0x4ce025(0x158)]=void 0x0;var Platforms;function a13_0x25a0(_0x3d4c89,_0x3484a3){const _0x20119b=a13_0xe3dd();return a13_0x25a0=function(_0x6438bd,_0x2d6e36){_0x6438bd=_0x6438bd-0x150;let _0xe3dd05=_0x20119b[_0x6438bd];return _0xe3dd05;},a13_0x25a0(_0x3d4c89,_0x3484a3);}(function(_0x524475){const _0x5939f9=a13_0x4ce025,_0x5c043b=(function(){let _0x46dab0=!![];return function(_0xe55838,_0x4947b4){const _0x7fc170=_0x46dab0?function(){if(_0x4947b4){const _0x4b972c=_0x4947b4['apply'](_0xe55838,arguments);return _0x4947b4=null,_0x4b972c;}}:function(){};return _0x46dab0=![],_0x7fc170;};}()),_0x4eff1b=_0x5c043b(this,function(){const _0x39c367=a13_0x25a0;return _0x4eff1b[_0x39c367(0x152)]()[_0x39c367(0x150)](_0x39c367(0x154))[_0x39c367(0x152)]()[_0x39c367(0x15b)](_0x4eff1b)[_0x39c367(0x150)](_0x39c367(0x154));});_0x4eff1b(),_0x524475[_0x5939f9(0x159)]='cloud_function',_0x524475['DEFAULT']='default';}(Platforms||(exports['Platforms']=Platforms={})));const getPlatform=()=>{const _0x2728a2=a13_0x4ce025,{FUNCTION_NAME:_0x2d3bc2,FUNCTION_TARGET:_0x37d48f}=process['env'];if(_0x2d3bc2||_0x37d48f)return Platforms['CLOUD_FUNCTION'];return Platforms[_0x2728a2(0x15c)];};exports[a13_0x4ce025(0x15d)]=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14_0x318bce=a14_0x115b;function a14_0x115b(_0x1f2993,_0x50d92b){const _0xceef6f=a14_0x2366();return a14_0x115b=function(_0x1cb87a,_0x5e9cb1){_0x1cb87a=_0x1cb87a-0x15e;let _0x23669a=_0xceef6f[_0x1cb87a];return _0x23669a;},a14_0x115b(_0x1f2993,_0x50d92b);}(function(_0x44c8a4,_0x317844){const _0x29722d=a14_0x115b,_0x1a8006=_0x44c8a4();while(!![]){try{const _0x3659ae=parseInt(_0x29722d(0x165))/0x1*(-parseInt(_0x29722d(0x163))/0x2)+parseInt(_0x29722d(0x167))/0x3*(parseInt(_0x29722d(0x162))/0x4)+-parseInt(_0x29722d(0x16a))/0x5*(parseInt(_0x29722d(0x15e))/0x6)+-parseInt(_0x29722d(0x16d))/0x7+-parseInt(_0x29722d(0x170))/0x8*(parseInt(_0x29722d(0x161))/0x9)+parseInt(_0x29722d(0x15f))/0xa+parseInt(_0x29722d(0x16b))/0xb;if(_0x3659ae===_0x317844)break;else _0x1a8006['push'](_0x1a8006['shift']());}catch(_0x62e885){_0x1a8006['push'](_0x1a8006['shift']());}}}(a14_0x2366,0xb5ea7));const a14_0x5e9cb1=(function(){let _0x3159a0=!![];return function(_0x42c206,_0x585dcd){const _0x5d746f=_0x3159a0?function(){const _0x57f939=a14_0x115b;if(_0x585dcd){const _0x1e52d5=_0x585dcd[_0x57f939(0x16f)](_0x42c206,arguments);return _0x585dcd=null,_0x1e52d5;}}:function(){};return _0x3159a0=![],_0x5d746f;};}()),a14_0x1cb87a=a14_0x5e9cb1(this,function(){const _0x1188ed=a14_0x115b;return a14_0x1cb87a[_0x1188ed(0x168)]()[_0x1188ed(0x169)](_0x1188ed(0x160))[_0x1188ed(0x168)]()[_0x1188ed(0x164)](a14_0x1cb87a)[_0x1188ed(0x169)](_0x1188ed(0x160));});function a14_0x2366(){const _0x55a886=['402795vCAobU','4dCbYZn','748282EIUfDn','constructor','3zQmEMx','mapSubtract','1498677WlLIdb','toString','search','95rJQYHz','46219151FbIYdJ','__esModule','9211048tHycIH','defineProperty','apply','248laxCZv','293298oMoSWQ','7982960KNwwHJ','(((.+)+)+)+$'];a14_0x2366=function(){return _0x55a886;};return a14_0x2366();}a14_0x1cb87a();'use strict';Object[a14_0x318bce(0x16e)](exports,a14_0x318bce(0x16c),{'value':!![]}),exports[a14_0x318bce(0x166)]=void 0x0;const mapSubtract=(_0x50b237,_0x4d541e)=>{const _0x2d2035=[];for(const _0x51263a in _0x50b237){!_0x4d541e[_0x51263a]&&_0x2d2035['push'](_0x50b237[_0x51263a]);}return _0x2d2035;};exports[a14_0x318bce(0x166)]=mapSubtract;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15_0x34f2dc=a15_0x5bad;function a15_0x5bad(_0x3f7744,_0x4945d4){const _0x55eebe=a15_0x10b4();return a15_0x5bad=function(_0x196248,_0x43c141){_0x196248=_0x196248-0xf8;let _0x10b4d9=_0x55eebe[_0x196248];return _0x10b4d9;},a15_0x5bad(_0x3f7744,_0x4945d4);}(function(_0x3b6dcd,_0x546d53){const _0x11e0cf=a15_0x5bad,_0x2deabd=_0x3b6dcd();while(!![]){try{const _0x7501fd=parseInt(_0x11e0cf(0xfe))/0x1+parseInt(_0x11e0cf(0x11c))/0x2+parseInt(_0x11e0cf(0x128))/0x3*(-parseInt(_0x11e0cf(0x10d))/0x4)+parseInt(_0x11e0cf(0x104))/0x5+-parseInt(_0x11e0cf(0x107))/0x6+-parseInt(_0x11e0cf(0x131))/0x7+-parseInt(_0x11e0cf(0x129))/0x8*(parseInt(_0x11e0cf(0x126))/0x9);if(_0x7501fd===_0x546d53)break;else _0x2deabd['push'](_0x2deabd['shift']());}catch(_0x2b21b8){_0x2deabd['push'](_0x2deabd['shift']());}}}(a15_0x10b4,0x534a8));const a15_0x43c141=(function(){let _0x1790e5=!![];return function(_0x4ab03e,_0x10abc5){const _0x430df4=_0x1790e5?function(){if(_0x10abc5){const _0x3bd489=_0x10abc5['apply'](_0x4ab03e,arguments);return _0x10abc5=null,_0x3bd489;}}:function(){};return _0x1790e5=![],_0x430df4;};}()),a15_0x196248=a15_0x43c141(this,function(){const _0x206ce0=a15_0x5bad;return a15_0x196248[_0x206ce0(0x120)]()[_0x206ce0(0xfc)](_0x206ce0(0xfa))[_0x206ce0(0x120)]()[_0x206ce0(0x11a)](a15_0x196248)['search'](_0x206ce0(0xfa));});a15_0x196248();'use strict';function a15_0x10b4(){const _0x221055=['8ROndGf','env','unversioned','LIGHTRUN_TAGS','LIGHTRUN_INIT_WAIT_TIME_MS','AGENT_LOG_MAX_FILE_COUNT','../util/utils','agentLogLevel','690137IAqaWt','LIGHTRUN_PROXY_HOST','../config','inner','GAE_MODULE_NAME','(((.+)+)+)+$','FETCH_BREAKPOINTS_ONCE','search','validateConfig','532167TvqtUG','extend','getBooleanValue','AGENT_LOG_LEVEL','__esModule','LIGHTRUN_PROXY_PORT','2103145aYuTAR','./getAgentConfig','agentConfigFile','1421730mBSXkS','agentLog','LIGHTRUN_STD_ERR_THRESHOLD','path','defaultConfig','GAE_MINOR_VERSION','440xNDBKy','message','LIGHTRUN_SECRET','service','configSchema','serviceContext','GAE_VERSION','LIGHTRUN_METADATA_FILE','K_SERVICE','normalizeConfig','LIGHTRUN_API_ENDPOINT','AGENT_LOG_MAX_FILE_SIZE_MB','LIGHTRUN_AGENT_CONFIG','constructor','GAE_DEPLOYMENT_ID','933262mnRRVg','forEach','K_REVISION','metadata','toString','NO_CHECK_CERTIFICATE','LIGHTRUN_PROXY_USERNAME','FUNCTION_NAME','GAE_MODULE_VERSION','GAE_SERVICE','4170879OJOCSj','version','7617GyMITR'];a15_0x10b4=function(){return _0x221055;};return a15_0x10b4();}Object['defineProperty'](exports,a15_0x34f2dc(0x102),{'value':!![]}),exports[a15_0x34f2dc(0x116)]=exports[a15_0x34f2dc(0xfd)]=void 0x0;const extend=require(a15_0x34f2dc(0xff)),config_1=require(a15_0x34f2dc(0x133)),utils_1=require(a15_0x34f2dc(0x12f)),getAgentConfig_1=require(a15_0x34f2dc(0x105)),validateConfig=_0x25461d=>{const _0x5f0d09=a15_0x34f2dc,_0x2c28e4={};try{config_1[_0x5f0d09(0x111)]['validateSync'](_0x25461d,{'abortEarly':![]});}catch(_0x5ed934){_0x5ed934[_0x5f0d09(0xf8)]['filter'](_0x3a4a5d=>_0x3a4a5d[_0x5f0d09(0x10a)]&&_0x3a4a5d[_0x5f0d09(0x10e)])[_0x5f0d09(0x11d)](_0x1d7cb3=>{const _0x2ea743=_0x5f0d09;_0x2c28e4[_0x1d7cb3[_0x2ea743(0x10a)]]=_0x1d7cb3[_0x2ea743(0x10e)];});}return _0x2c28e4;};exports[a15_0x34f2dc(0xfd)]=validateConfig;const normalizeConfig=_0x26f409=>{const _0x28733a=a15_0x34f2dc,_0x237661={'serviceContext':{'service':process[_0x28733a(0x12a)][_0x28733a(0x125)]||process[_0x28733a(0x12a)][_0x28733a(0xf9)]||process[_0x28733a(0x12a)][_0x28733a(0x115)],'version':process[_0x28733a(0x12a)][_0x28733a(0x113)]||process[_0x28733a(0x12a)][_0x28733a(0x124)]||process[_0x28733a(0x12a)][_0x28733a(0x11e)],'minorVersion_':process['env'][_0x28733a(0x11b)]||process[_0x28733a(0x12a)][_0x28733a(0x10c)]},'metadata':{'filename':process[_0x28733a(0x12a)][_0x28733a(0x114)],'registration':{}},'lightrunSecret':process['env'][_0x28733a(0x10f)],'apiEndpoint':process[_0x28733a(0x12a)][_0x28733a(0x117)],'noCheckCertificate':(0x0,utils_1[_0x28733a(0x100)])(process[_0x28733a(0x12a)][_0x28733a(0x121)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x28733a(0x100)])(process[_0x28733a(0x12a)][_0x28733a(0xfb)]),'lightrunWaitForInit':(0x0,utils_1['getBooleanValue'])(process['env']['LIGHTRUN_WAIT_FOR_INIT']),'lightrunInitWaitTimeMs':process['env'][_0x28733a(0x12d)],'agentLog':_0x26f409?.[_0x28733a(0x108)]||{},'proxy':{'host':process[_0x28733a(0x12a)][_0x28733a(0x132)],'port':parseInt(process[_0x28733a(0x12a)][_0x28733a(0x103)]||'')||undefined,'username':process[_0x28733a(0x12a)][_0x28733a(0x122)],'password':process[_0x28733a(0x12a)]['LIGHTRUN_PROXY_PASSWORD']}};process[_0x28733a(0x12a)][_0x28733a(0x109)]!==undefined&&(_0x237661[_0x28733a(0x108)]['stdErrThreshold']=process[_0x28733a(0x12a)][_0x28733a(0x109)]);process['env'][_0x28733a(0x101)]!==undefined&&(_0x237661['agentLog'][_0x28733a(0x130)]=process[_0x28733a(0x12a)]['AGENT_LOG_LEVEL']);process[_0x28733a(0x12a)]['AGENT_LOG_TARGET_DIR']!==undefined&&(_0x237661['agentLog']['agentLogTargetDir']=process[_0x28733a(0x12a)]['AGENT_LOG_TARGET_DIR']);process[_0x28733a(0x12a)][_0x28733a(0x12e)]!==undefined&&(_0x237661[_0x28733a(0x108)]['agentLogMaxFileCount']=parseInt(process['env'][_0x28733a(0x12e)]));process[_0x28733a(0x12a)][_0x28733a(0x118)]!==undefined&&(_0x237661[_0x28733a(0x108)]['agentLogMaxFileSizeMb']=parseInt(process[_0x28733a(0x12a)][_0x28733a(0x118)]));process[_0x28733a(0x12a)][_0x28733a(0x123)]&&(_0x237661[_0x28733a(0x112)][_0x28733a(0x110)]=process[_0x28733a(0x12a)][_0x28733a(0x123)],_0x237661[_0x28733a(0x112)][_0x28733a(0x127)]=_0x28733a(0x12b));process[_0x28733a(0x12a)][_0x28733a(0x12c)]&&(_0x237661[_0x28733a(0x11f)]['registration']={'tags':process['env'][_0x28733a(0x12c)]['split'](',')});const _0x34fc63=(0x0,getAgentConfig_1['getAgentConfig'])(process[_0x28733a(0x12a)][_0x28733a(0x119)]||_0x26f409?.[_0x28733a(0x106)]||config_1[_0x28733a(0x10b)][_0x28733a(0x106)]),_0x5beab4=extend(!![],{},config_1[_0x28733a(0x10b)],_0x34fc63,_0x26f409,_0x237661),_0x2cbb29=(0x0,exports[_0x28733a(0xfd)])(_0x5beab4);return{..._0x5beab4,'errors':_0x2cbb29};};exports['normalizeConfig']=normalizeConfig;
|