lightrun 1.23.0 → 1.25.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 -0
- package/build/src/agent/debuglet-helpers/createDebuggeeMetadata.js +1 -0
- package/build/src/agent/debuglet-helpers/createUniquifier.js +1 -0
- package/build/src/agent/debuglet-helpers/delimit.js +1 -0
- package/build/src/agent/debuglet-helpers/format.js +1 -0
- package/build/src/agent/debuglet-helpers/getAgentConfig.js +1 -0
- package/build/src/agent/debuglet-helpers/getPlatform.js +1 -0
- package/build/src/agent/debuglet-helpers/mapSubtract.js +1 -0
- package/build/src/agent/debuglet-helpers/normalizeConfig.js +1 -0
- package/build/src/agent/debuglet-helpers/tokenize.js +1 -0
- package/build/src/agent/debuglet.js +1 -1
- package/build/src/agent/environment-metadata.js +1 -1
- package/build/src/agent/io/file-index.js +1 -1
- package/build/src/agent/io/scan-results.js +1 -1
- package/build/src/agent/io/scanner.js +1 -1
- package/build/src/agent/io/sourcemapper.js +1 -1
- package/build/src/agent/leaky-bucket.js +1 -1
- package/build/src/agent/log-data.js +1 -1
- package/build/src/agent/piping-manager.js +1 -1
- package/build/src/agent/quota-manager.js +1 -1
- package/build/src/agent/reduction/redaction-manager-re2js.js +1 -1
- package/build/src/agent/reduction/redaction-manager.js +1 -1
- package/build/src/agent/state/inspector-state.js +1 -1
- package/build/src/agent/state/legacy-state.js +1 -1
- package/build/src/agent/util/debug-assert.js +1 -1
- package/build/src/agent/util/utils.js +1 -1
- package/build/src/agent/util/validator.js +1 -1
- package/build/src/agent/v8/debugapi.js +1 -1
- package/build/src/agent/v8/inspector-debugapi.js +1 -1
- package/build/src/agent/v8/legacy-debugapi.js +1 -1
- package/build/src/agent/v8/v8inspector.js +1 -1
- package/build/src/client/stackdriver/debug.js +1 -1
- package/build/src/client/stackdriver/status-message.js +1 -1
- package/build/src/debuggee.js +1 -1
- package/build/src/gcp.js +1 -1
- package/build/src/index.d.ts +561 -18
- 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 +8 -11
- package/build/src/agent/agent-logger.d.ts +0 -10
- package/build/src/agent/agent-logger.js.map +0 -1
- package/build/src/agent/blocklisting/blocklisting-patterns.d.ts +0 -6
- package/build/src/agent/blocklisting/blocklisting-patterns.js.map +0 -1
- package/build/src/agent/blocklisting/dummy-blocklist-manager.d.ts +0 -6
- package/build/src/agent/blocklisting/dummy-blocklist-manager.js.map +0 -1
- package/build/src/agent/blocklisting/patterns-blocklist-manager.d.ts +0 -10
- package/build/src/agent/blocklisting/patterns-blocklist-manager.js.map +0 -1
- package/build/src/agent/config.d.ts +0 -418
- package/build/src/agent/config.js.map +0 -1
- package/build/src/agent/configuration-provider.d.ts +0 -19
- package/build/src/agent/configuration-provider.js.map +0 -1
- package/build/src/agent/controller.d.ts +0 -71
- package/build/src/agent/controller.js.map +0 -1
- package/build/src/agent/debuglet.d.ts +0 -234
- package/build/src/agent/debuglet.js.map +0 -1
- package/build/src/agent/environment-metadata.d.ts +0 -36
- package/build/src/agent/environment-metadata.js.map +0 -1
- package/build/src/agent/io/file-index.d.ts +0 -76
- package/build/src/agent/io/file-index.js.map +0 -1
- package/build/src/agent/io/scan-results.d.ts +0 -60
- package/build/src/agent/io/scan-results.js.map +0 -1
- package/build/src/agent/io/scanner.d.ts +0 -43
- package/build/src/agent/io/scanner.js.map +0 -1
- package/build/src/agent/io/sourcemapper.d.ts +0 -72
- package/build/src/agent/io/sourcemapper.js.map +0 -1
- package/build/src/agent/leaky-bucket.d.ts +0 -16
- package/build/src/agent/leaky-bucket.js.map +0 -1
- package/build/src/agent/log-data.d.ts +0 -13
- package/build/src/agent/log-data.js.map +0 -1
- package/build/src/agent/piping-manager.d.ts +0 -39
- package/build/src/agent/piping-manager.js.map +0 -1
- package/build/src/agent/quota-manager.d.ts +0 -40
- package/build/src/agent/quota-manager.js.map +0 -1
- package/build/src/agent/reduction/redaction-manager-re2.d.ts +0 -8
- package/build/src/agent/reduction/redaction-manager-re2.js +0 -1
- package/build/src/agent/reduction/redaction-manager-re2.js.map +0 -1
- package/build/src/agent/reduction/redaction-manager-re2js.d.ts +0 -8
- package/build/src/agent/reduction/redaction-manager-re2js.js.map +0 -1
- package/build/src/agent/reduction/redaction-manager.d.ts +0 -6
- package/build/src/agent/reduction/redaction-manager.js.map +0 -1
- package/build/src/agent/state/inspector-state.d.ts +0 -28
- package/build/src/agent/state/inspector-state.js.map +0 -1
- package/build/src/agent/state/legacy-state.d.ts +0 -22
- package/build/src/agent/state/legacy-state.js.map +0 -1
- package/build/src/agent/util/debug-assert.d.ts +0 -22
- package/build/src/agent/util/debug-assert.js.map +0 -1
- package/build/src/agent/util/utils.d.ts +0 -65
- package/build/src/agent/util/utils.js.map +0 -1
- package/build/src/agent/util/validator.d.ts +0 -12
- package/build/src/agent/util/validator.js.map +0 -1
- package/build/src/agent/v8/debugapi.d.ts +0 -23
- package/build/src/agent/v8/debugapi.js.map +0 -1
- package/build/src/agent/v8/inspector-debugapi.d.ts +0 -82
- package/build/src/agent/v8/inspector-debugapi.js.map +0 -1
- package/build/src/agent/v8/legacy-debugapi.d.ts +0 -58
- package/build/src/agent/v8/legacy-debugapi.js.map +0 -1
- package/build/src/agent/v8/v8inspector.d.ts +0 -53
- package/build/src/agent/v8/v8inspector.js.map +0 -1
- package/build/src/client/stackdriver/debug.d.ts +0 -43
- package/build/src/client/stackdriver/debug.js.map +0 -1
- package/build/src/client/stackdriver/status-message.d.ts +0 -35
- package/build/src/client/stackdriver/status-message.js.map +0 -1
- package/build/src/debuggee.d.ts +0 -80
- package/build/src/debuggee.js.map +0 -1
- package/build/src/gcp.d.ts +0 -2
- package/build/src/gcp.js.map +0 -1
- package/build/src/index.js.map +0 -1
- package/build/src/lambda.d.ts +0 -2
- package/build/src/lambda.js.map +0 -1
- package/build/src/types/lightrun.d.ts +0 -18
- package/build/src/types/lightrun.js.map +0 -1
- package/build/src/types/stackdriver.d.ts +0 -79
- package/build/src/types/stackdriver.js.map +0 -1
- package/build/src/types/v8.d.ts +0 -214
- package/build/src/types/v8.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a0_0x52fa(){const _0x1c5580=['format','63LcJwsp','105zuFRVy','AGENT_LOG_FILE','216699UyBmoB','YYYY-MM-DD-HH','168lofsnU','createLogger','winston-daily-rotate-file','__esModule','warn','constructor','2382dsQhxE','20m','debug','(((.+)+)+)+$','446438RMOPlh','search','toString','default',']\x20-\x20','transports','logger','397792nnjjEJ','json','error','lightrun_nodejs_agent.log','info','115330vcCBJA','36471TwdGpi','2828UqTwkp'];a0_0x52fa=function(){return _0x1c5580;};return a0_0x52fa();}const a0_0x5313aa=a0_0x1dd1;(function(_0x52bc52,_0x15679f){const _0x3e3ffd=a0_0x1dd1,_0x572191=_0x52bc52();while(!![]){try{const _0x5e0038=-parseInt(_0x3e3ffd(0x91))/0x1+parseInt(_0x3e3ffd(0x84))/0x2+-parseInt(_0x3e3ffd(0x78))/0x3+-parseInt(_0x3e3ffd(0x92))/0x4*(parseInt(_0x3e3ffd(0x76))/0x5)+-parseInt(_0x3e3ffd(0x80))/0x6*(parseInt(_0x3e3ffd(0x7a))/0x7)+-parseInt(_0x3e3ffd(0x8b))/0x8+-parseInt(_0x3e3ffd(0x75))/0x9*(-parseInt(_0x3e3ffd(0x90))/0xa);if(_0x5e0038===_0x15679f)break;else _0x572191['push'](_0x572191['shift']());}catch(_0x16be40){_0x572191['push'](_0x572191['shift']());}}}(a0_0x52fa,0x1d93b));const a0_0xf06a29=(function(){let _0x4f3ada=!![];return function(_0x2c1b72,_0x51e176){const _0x33f9fb=_0x4f3ada?function(){if(_0x51e176){const _0x421a94=_0x51e176['apply'](_0x2c1b72,arguments);return _0x51e176=null,_0x421a94;}}:function(){};return _0x4f3ada=![],_0x33f9fb;};}()),a0_0x22ad56=a0_0xf06a29(this,function(){const _0x4da271=a0_0x1dd1;return a0_0x22ad56[_0x4da271(0x86)]()[_0x4da271(0x85)](_0x4da271(0x83))[_0x4da271(0x86)]()[_0x4da271(0x7f)](a0_0x22ad56)['search']('(((.+)+)+)+$');});a0_0x22ad56();'use strict';Object['defineProperty'](exports,a0_0x5313aa(0x7d),{'value':!![]});function a0_0x1dd1(_0x42ac25,_0x3f9c86){const _0x40d77a=a0_0x52fa();return a0_0x1dd1=function(_0x22ad56,_0xf06a29){_0x22ad56=_0x22ad56-0x75;let _0x52fa7f=_0x40d77a[_0x22ad56];return _0x52fa7f;},a0_0x1dd1(_0x42ac25,_0x3f9c86);}const winston_1=require('winston'),DailyRotateFile=require(a0_0x5313aa(0x7c)),{combine,printf,timestamp}=winston_1[a0_0x5313aa(0x93)],{Console}=winston_1[a0_0x5313aa(0x89)];function getLoggerTransport(_0x53579e){const _0x5e713b=a0_0x5313aa;if(_0x53579e)return new DailyRotateFile({'dirname':_0x53579e,'filename':AgentLogger['AGENT_LOG_FILE'],'datePattern':_0x5e713b(0x79),'createSymlink':!![],'symlinkName':AgentLogger[_0x5e713b(0x77)],'maxSize':_0x5e713b(0x81),'maxFiles':'10'});return new Console();}class AgentLogger{constructor(_0x490aec,_0x3d0bc4,_0x1a5012){const _0x1960f3=a0_0x5313aa;this['logger']=(0x0,winston_1[_0x1960f3(0x7b)])({'level':_0x3d0bc4,'transports':[getLoggerTransport(_0x490aec),new Console({'level':_0x1a5012,'stderrLevels':[_0x1960f3(0x82),_0x1960f3(0x8f),_0x1960f3(0x7e),_0x1960f3(0x8d)]})],'format':combine(timestamp(),printf(({level:_0xac8f03,message:_0x16cd7e,timestamp:_0x51aca4})=>{const _0x2c3060=_0x1960f3;return _0x51aca4+'\x20['+_0xac8f03['toUpperCase']()+_0x2c3060(0x88)+_0x16cd7e;}),winston_1['format'][_0x1960f3(0x8c)]())});}static[a0_0x5313aa(0x7b)](_0x1693fc,_0x84e83,_0x4a0831){return new AgentLogger(_0x1693fc,_0x84e83,_0x4a0831);}[a0_0x5313aa(0x82)](..._0xfe5cee){const _0xb21f4c=a0_0x5313aa;this['logger'][_0xb21f4c(0x82)](_0xfe5cee);}[a0_0x5313aa(0x8f)](..._0x10a98c){const _0x23a4b5=a0_0x5313aa;this[_0x23a4b5(0x8a)][_0x23a4b5(0x8f)](_0x10a98c);}[a0_0x5313aa(0x7e)](..._0x34d763){const _0x277992=a0_0x5313aa;this[_0x277992(0x8a)][_0x277992(0x7e)](_0x34d763);}[a0_0x5313aa(0x8d)](..._0x1e07d6){const _0x4c99bc=a0_0x5313aa;this['logger'][_0x4c99bc(0x8d)](_0x1e07d6);}}exports[a0_0x5313aa(0x87)]=AgentLogger,AgentLogger[a0_0x5313aa(0x77)]=a0_0x5313aa(0x8e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0xa63275=a1_0x8bf9;(function(_0x1bba58,_0x547f41){const _0x29dadc=a1_0x8bf9,_0x3a9d1e=_0x1bba58();while(!![]){try{const _0x34b1e8=parseInt(_0x29dadc(0xb6))/0x1+-parseInt(_0x29dadc(0xae))/0x2*(parseInt(_0x29dadc(0xb5))/0x3)+-parseInt(_0x29dadc(0xb2))/0x4*(parseInt(_0x29dadc(0xa2))/0x5)+parseInt(_0x29dadc(0xa7))/0x6*(parseInt(_0x29dadc(0x9e))/0x7)+-parseInt(_0x29dadc(0xa5))/0x8*(parseInt(_0x29dadc(0xad))/0x9)+-parseInt(_0x29dadc(0xa6))/0xa*(parseInt(_0x29dadc(0xa1))/0xb)+parseInt(_0x29dadc(0xb7))/0xc;if(_0x34b1e8===_0x547f41)break;else _0x3a9d1e['push'](_0x3a9d1e['shift']());}catch(_0x28e598){_0x3a9d1e['push'](_0x3a9d1e['shift']());}}}(a1_0x2157,0x23d1d));function a1_0x2157(){const _0x10a668=['10wGDJpH','6126FiFJYk','push','match','patterns','some','__esModule','12609vViQjU','8WCjJxI','search','forEach','defineProperty','33028rxeWDR','constructor','matches','175449RclqhV','112769QNmftT','9076512tmJLIl','693rgYEKR','inversePatterns','toString','2450261OdJDFP','55HkJgsK','length','(((.+)+)+)+$','1576BejFoF'];a1_0x2157=function(){return _0x10a668;};return a1_0x2157();}const a1_0x2fba6b=(function(){let _0x218d95=!![];return function(_0x5d3aaa,_0x556bf6){const _0x89a4e7=_0x218d95?function(){if(_0x556bf6){const _0x54904c=_0x556bf6['apply'](_0x5d3aaa,arguments);return _0x556bf6=null,_0x54904c;}}:function(){};return _0x218d95=![],_0x89a4e7;};}()),a1_0x1363be=a1_0x2fba6b(this,function(){const _0x40818a=a1_0x8bf9;return a1_0x1363be[_0x40818a(0xa0)]()['search'](_0x40818a(0xa4))[_0x40818a(0xa0)]()[_0x40818a(0xb3)](a1_0x1363be)[_0x40818a(0xaf)](_0x40818a(0xa4));});a1_0x1363be();function a1_0x8bf9(_0x531fd5,_0x40eabd){const _0xf63c00=a1_0x2157();return a1_0x8bf9=function(_0x1363be,_0x2fba6b){_0x1363be=_0x1363be-0x9e;let _0x2157e7=_0xf63c00[_0x1363be];return _0x2157e7;},a1_0x8bf9(_0x531fd5,_0x40eabd);}'use strict';Object[a1_0xa63275(0xb1)](exports,a1_0xa63275(0xac),{'value':!![]}),exports['BlocklistingPatterns']=void 0x0;class BlocklistingPatterns{constructor(_0x4b82ee){const _0x1c99c2=a1_0xa63275;this[_0x1c99c2(0x9f)]=[],this['patterns']=[],_0x4b82ee&&_0x4b82ee[_0x1c99c2(0xb0)](_0x597752=>{const _0x11de62=_0x1c99c2;_0x597752&&(_0x597752[0x0]==='!'?this[_0x11de62(0x9f)][_0x11de62(0xa8)](new RegExp(_0x597752['substring'](0x1))):this[_0x11de62(0xaa)]['push'](new RegExp(_0x597752)));});}[a1_0xa63275(0xb4)](_0x432ec0){const _0x473ae1=a1_0xa63275,_0x4115ff=_0x2b8195=>_0x432ec0[_0x473ae1(0xa9)](_0x2b8195);return this[_0x473ae1(0x9f)][_0x473ae1(0xa3)]!==0x0&&!this[_0x473ae1(0x9f)][_0x473ae1(0xab)](_0x4115ff)||this[_0x473ae1(0xaa)]['some'](_0x4115ff);}}exports['BlocklistingPatterns']=BlocklistingPatterns;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x123a49=a2_0x5a3b;(function(_0x1e9662,_0x225ef8){var _0x44880e=a2_0x5a3b,_0xd7b538=_0x1e9662();while(!![]){try{var _0x3d488e=-parseInt(_0x44880e(0xd7))/0x1+parseInt(_0x44880e(0xd5))/0x2+parseInt(_0x44880e(0xe1))/0x3+parseInt(_0x44880e(0xe2))/0x4+-parseInt(_0x44880e(0xde))/0x5*(-parseInt(_0x44880e(0xdf))/0x6)+-parseInt(_0x44880e(0xd6))/0x7*(parseInt(_0x44880e(0xdd))/0x8)+parseInt(_0x44880e(0xe3))/0x9*(parseInt(_0x44880e(0xd3))/0xa);if(_0x3d488e===_0x225ef8)break;else _0xd7b538['push'](_0xd7b538['shift']());}catch(_0x87f941){_0xd7b538['push'](_0xd7b538['shift']());}}}(a2_0x43cb,0xe4c4b));var a2_0x99df=(function(){var _0x589099=!![];return function(_0x2c75f9,_0x28bea9){var _0x4cbaa0=_0x589099?function(){var _0x400e8b=a2_0x5a3b;if(_0x28bea9){var _0x51cd2b=_0x28bea9[_0x400e8b(0xd4)](_0x2c75f9,arguments);return _0x28bea9=null,_0x51cd2b;}}:function(){};return _0x589099=![],_0x4cbaa0;};}()),a2_0x5b358a=a2_0x99df(this,function(){var _0x184278=a2_0x5a3b;return a2_0x5b358a[_0x184278(0xd2)]()[_0x184278(0xd8)]('(((.+)+)+)+$')[_0x184278(0xd2)]()[_0x184278(0xe0)](a2_0x5b358a)[_0x184278(0xd8)]('(((.+)+)+)+$');});a2_0x5b358a();function a2_0x43cb(){var _0x52a735=['297NdZXsD','toString','281540xVIzpj','apply','821162dOYwjh','14YgHyFa','1170459NAXAul','search','DummyBlocklistManager','shouldBlock','__esModule','value','6103528UDkZem','4193930TXjzZF','6fFXtrd','constructor','3686406TrBagK','904500ziisUC'];a2_0x43cb=function(){return _0x52a735;};return a2_0x43cb();}'use strict';Object['defineProperty'](exports,a2_0x123a49(0xdb),{'value':!![]}),exports[a2_0x123a49(0xd9)]=void 0x0;class DummyBlocklistManager{constructor(_0x33e3ee){var _0x482943=a2_0x123a49;this[_0x482943(0xdc)]=_0x33e3ee;}[a2_0x123a49(0xda)](){var _0x305c4e=a2_0x123a49;return this[_0x305c4e(0xdc)];}}function a2_0x5a3b(_0x17881c,_0x2121ad){var _0x532e93=a2_0x43cb();return a2_0x5a3b=function(_0x5b358a,_0x99df){_0x5b358a=_0x5b358a-0xd2;var _0x43cba3=_0x532e93[_0x5b358a];return _0x43cba3;},a2_0x5a3b(_0x17881c,_0x2121ad);}exports[a2_0x123a49(0xd9)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0xa6f6b2=a3_0x4386;function a3_0x4386(_0x30e35f,_0x14f469){const _0x4fae4f=a3_0x2300();return a3_0x4386=function(_0x2b6f05,_0x3358f5){_0x2b6f05=_0x2b6f05-0x12b;let _0x230045=_0x4fae4f[_0x2b6f05];return _0x230045;},a3_0x4386(_0x30e35f,_0x14f469);}function a3_0x2300(){const _0x484b40=['stripWorkingDir','1414488PkuZSw','constructor','393147FSwEdu','10whvnWp','isPathInCurrentWorkingDirectory','search','apply','1kGHKJo','shouldBlock','697400DEncWu','218216RPpDqe','./blocklisting-patterns','../util/utils','matches','9TIjkFE','config','toString','(((.+)+)+)+$','blocklist','1993810EpopsD','BlocklistingPatterns','defineProperty','2189960qAWuao','579032QpjxDE','blocklistExceptions'];a3_0x2300=function(){return _0x484b40;};return a3_0x2300();}(function(_0x1dec6a,_0x4b7bdc){const _0xfaa2d5=a3_0x4386,_0x3dee6e=_0x1dec6a();while(!![]){try{const _0x26174e=-parseInt(_0xfaa2d5(0x13a))/0x1*(parseInt(_0xfaa2d5(0x130))/0x2)+-parseInt(_0xfaa2d5(0x141))/0x3*(-parseInt(_0xfaa2d5(0x13d))/0x4)+parseInt(_0xfaa2d5(0x12f))/0x5+-parseInt(_0xfaa2d5(0x133))/0x6+parseInt(_0xfaa2d5(0x12c))/0x7+-parseInt(_0xfaa2d5(0x13c))/0x8+parseInt(_0xfaa2d5(0x135))/0x9*(-parseInt(_0xfaa2d5(0x136))/0xa);if(_0x26174e===_0x4b7bdc)break;else _0x3dee6e['push'](_0x3dee6e['shift']());}catch(_0x2a6b46){_0x3dee6e['push'](_0x3dee6e['shift']());}}}(a3_0x2300,0x383da));const a3_0x3358f5=(function(){let _0x1bc92a=!![];return function(_0x5425fc,_0x3ead69){const _0x2b1774=_0x1bc92a?function(){const _0x1165ec=a3_0x4386;if(_0x3ead69){const _0x42f6c5=_0x3ead69[_0x1165ec(0x139)](_0x5425fc,arguments);return _0x3ead69=null,_0x42f6c5;}}:function(){};return _0x1bc92a=![],_0x2b1774;};}()),a3_0x2b6f05=a3_0x3358f5(this,function(){const _0x4703a0=a3_0x4386;return a3_0x2b6f05[_0x4703a0(0x143)]()[_0x4703a0(0x138)](_0x4703a0(0x144))['toString']()[_0x4703a0(0x134)](a3_0x2b6f05)[_0x4703a0(0x138)]('(((.+)+)+)+$');});a3_0x2b6f05();'use strict';Object[a3_0xa6f6b2(0x12e)](exports,'__esModule',{'value':!![]}),exports['PatternsBlocklistManager']=void 0x0;const blocklisting_patterns_1=require(a3_0xa6f6b2(0x13e)),utils=require(a3_0xa6f6b2(0x13f));class PatternsBlocklistManager{constructor(_0xbd855f,_0x453e73,_0xadd6b7){const _0x73ae4c=a3_0xa6f6b2;this[_0x73ae4c(0x12b)]=new blocklisting_patterns_1[(_0x73ae4c(0x12d))](_0xbd855f),this['blocklistExceptions']=new blocklisting_patterns_1[(_0x73ae4c(0x12d))](_0x453e73),this[_0x73ae4c(0x142)]=_0xadd6b7;}[a3_0xa6f6b2(0x13b)](_0x540d87){const _0x4fefcf=a3_0xa6f6b2;_0x540d87=this[_0x4fefcf(0x132)](_0x540d87);if(this[_0x4fefcf(0x131)][_0x4fefcf(0x140)](_0x540d87))return![];return this[_0x4fefcf(0x12b)][_0x4fefcf(0x140)](_0x540d87);}[a3_0xa6f6b2(0x132)](_0xe55a36){const _0x572623=a3_0xa6f6b2;if(utils[_0x572623(0x137)](_0xe55a36,this[_0x572623(0x142)]))return utils['stripCurrentWorkingDirectory'](_0xe55a36,this[_0x572623(0x142)]);return _0xe55a36;}}exports['PatternsBlocklistManager']=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x23a0ce=a4_0x101b;(function(_0x6d32ff,_0x1ce4d2){const _0xb5232=a4_0x101b,_0x3a63a4=_0x6d32ff();while(!![]){try{const _0x1a3ca8=-parseInt(_0xb5232(0xe3))/0x1*(parseInt(_0xb5232(0xcc))/0x2)+parseInt(_0xb5232(0xd0))/0x3*(-parseInt(_0xb5232(0xc1))/0x4)+-parseInt(_0xb5232(0xda))/0x5*(-parseInt(_0xb5232(0xc3))/0x6)+-parseInt(_0xb5232(0xdd))/0x7*(parseInt(_0xb5232(0xc2))/0x8)+-parseInt(_0xb5232(0xc4))/0x9*(-parseInt(_0xb5232(0xcf))/0xa)+parseInt(_0xb5232(0xce))/0xb*(parseInt(_0xb5232(0xc9))/0xc)+parseInt(_0xb5232(0xd2))/0xd;if(_0x1a3ca8===_0x1ce4d2)break;else _0x3a63a4['push'](_0x3a63a4['shift']());}catch(_0x25cd89){_0x3a63a4['push'](_0x3a63a4['shift']());}}}(a4_0x31f2,0x1cdd2));const a4_0x206225=(function(){let _0x43e393=!![];return function(_0x4e41a3,_0x5aeee2){const _0x6df639=_0x43e393?function(){if(_0x5aeee2){const _0x143818=_0x5aeee2['apply'](_0x4e41a3,arguments);return _0x5aeee2=null,_0x143818;}}:function(){};return _0x43e393=![],_0x6df639;};}()),a4_0x3a69ab=a4_0x206225(this,function(){const _0x1b0dba=a4_0x101b;return a4_0x3a69ab[_0x1b0dba(0xdb)]()[_0x1b0dba(0xc7)](_0x1b0dba(0xdc))[_0x1b0dba(0xdb)]()[_0x1b0dba(0xcd)](a4_0x3a69ab)[_0x1b0dba(0xc7)](_0x1b0dba(0xdc));});a4_0x3a69ab();'use strict';Object['defineProperty'](exports,a4_0x23a0ce(0xe2),{'value':!![]}),exports['logMainConfigParams']=exports['defaultConfig']=void 0x0;const os_1=require('os'),fs_1=require('fs');function a4_0x31f2(){const _0x315613=['DOESN\x27T\x20EXIST','.js','debug','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12','885995ngJFVw','toString','(((.+)+)+)+$','434CHaslM','515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2','agent.config','cwd','exists','__esModule','1FdVxly','Production','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','tmpdir','existsSync','12ZIDNLN','13768ZPSiNs','6RJXauu','36pUHWSz','!!!\x20NOT\x20SET\x20!!!','set','search','info','581448TEsVHG','agentConfigFile','Agent\x20Configuration:\x20','351178xcwWze','constructor','44hOzJBk','257590lwQJQw','133995cCfccy','defaultConfig','785993MMtbSn','logMainConfigParams','app.lightrun.com','lightrunSecret'];a4_0x31f2=function(){return _0x315613;};return a4_0x31f2();}function a4_0x101b(_0x328535,_0x2b35fa){const _0x24825d=a4_0x31f2();return a4_0x101b=function(_0x3a69ab,_0x206225){_0x3a69ab=_0x3a69ab-0xbf;let _0x31f285=_0x24825d[_0x3a69ab];return _0x31f285;},a4_0x101b(_0x328535,_0x2b35fa);}exports[a4_0x23a0ce(0xd1)]={'workingDirectory':process[a4_0x23a0ce(0xe0)](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x23a0ce(0xd7)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x5,'maxProperties':0xa,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xfde8,'maxWatchListVariableSize':0x8000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':a4_0x23a0ce(0xd4),'lightrunSecret':'','agentLog':{'logsPath':(0x0,os_1[a4_0x23a0ce(0xbf)])(),'level':a4_0x23a0ce(0xc8),'stdErrThreshold':'none','collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':[a4_0x23a0ce(0xde),a4_0x23a0ce(0xd9)],'noCheckCertificate':![],'caPath':a4_0x23a0ce(0xe5),'metadata':{'registration':{'tags':[a4_0x23a0ce(0xe4)]}},'transmissionBulkMaxSize':0xa,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x23a0ce(0xdf),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0,'requestTimeoutMs':0x4e20};function logMainConfigParams(_0x427a66,_0x34eb67){const _0x2e9ffd=a4_0x23a0ce;let _0x848a04=_0x427a66[_0x2e9ffd(0xca)];_0x848a04?_0x848a04+=',\x20\x20\x20the\x20file\x20'+((0x0,fs_1[_0x2e9ffd(0xc0)])(_0x427a66['agentConfigFile'])?_0x2e9ffd(0xe1):_0x2e9ffd(0xd6)):_0x848a04='not\x20set!';const _0x59b325={..._0x427a66,'lightrunSecret':_0x427a66[_0x2e9ffd(0xd5)]?_0x2e9ffd(0xc6):_0x2e9ffd(0xc5),'agentConfigFile':_0x848a04};_0x34eb67[_0x2e9ffd(0xd8)](_0x2e9ffd(0xcb),_0x59b325);}exports[a4_0x23a0ce(0xd3)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a5_0x3c6c79=a5_0xf385;(function(_0x46e0f2,_0x19df62){var _0xfdf306=a5_0xf385,_0x32c9ea=_0x46e0f2();while(!![]){try{var _0x406043=parseInt(_0xfdf306(0x119))/0x1*(-parseInt(_0xfdf306(0x123))/0x2)+-parseInt(_0xfdf306(0x126))/0x3+-parseInt(_0xfdf306(0x12d))/0x4*(parseInt(_0xfdf306(0x122))/0x5)+-parseInt(_0xfdf306(0x11c))/0x6*(parseInt(_0xfdf306(0x12a))/0x7)+parseInt(_0xfdf306(0x11e))/0x8*(parseInt(_0xfdf306(0x11f))/0x9)+-parseInt(_0xfdf306(0x116))/0xa*(-parseInt(_0xfdf306(0x11a))/0xb)+-parseInt(_0xfdf306(0x120))/0xc*(-parseInt(_0xfdf306(0x115))/0xd);if(_0x406043===_0x19df62)break;else _0x32c9ea['push'](_0x32c9ea['shift']());}catch(_0x205bf3){_0x32c9ea['push'](_0x32c9ea['shift']());}}}(a5_0x1dff,0x69beb));var a5_0x57556c=(function(){var _0x1656fa=!![];return function(_0x3aa810,_0x56a5ba){var _0x58f46c=_0x1656fa?function(){if(_0x56a5ba){var _0x1ed999=_0x56a5ba['apply'](_0x3aa810,arguments);return _0x56a5ba=null,_0x1ed999;}}:function(){};return _0x1656fa=![],_0x58f46c;};}()),a5_0x223bf4=a5_0x57556c(this,function(){var _0x4888e8=a5_0xf385;return a5_0x223bf4[_0x4888e8(0x128)]()[_0x4888e8(0x12b)]('(((.+)+)+)+$')['toString']()[_0x4888e8(0x12e)](a5_0x223bf4)[_0x4888e8(0x12b)](_0x4888e8(0x118));});a5_0x223bf4();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a5_0x3c6c79(0x129)]=void 0x0;class ConfigurationProvider{constructor(_0x5f325b){var _0x27b696=a5_0x3c6c79;this[_0x27b696(0x117)]=_0x5f325b;}[a5_0x3c6c79(0x11b)](){var _0x386bfa=a5_0x3c6c79;return this[_0x386bfa(0x117)]['capture'][_0x386bfa(0x12c)]||this[_0x386bfa(0x117)][_0x386bfa(0x11d)][_0x386bfa(0x114)];}[a5_0x3c6c79(0x124)](){var _0x346938=a5_0x3c6c79;return this[_0x346938(0x117)][_0x346938(0x11d)][_0x346938(0x125)];}[a5_0x3c6c79(0x127)](){var _0xd6c71c=a5_0x3c6c79;return this[_0xd6c71c(0x117)]['capture']['maxDataSize']||this[_0xd6c71c(0x117)]['capture'][_0xd6c71c(0x121)];}}function a5_0xf385(_0x55bf93,_0x4f8853){var _0x4469dc=a5_0x1dff();return a5_0xf385=function(_0x223bf4,_0x57556c){_0x223bf4=_0x223bf4-0x114;var _0x1dff73=_0x4469dc[_0x223bf4];return _0x1dff73;},a5_0xf385(_0x55bf93,_0x4f8853);}function a5_0x1dff(){var _0x44f838=['maxStringLength','12NQqaEt','constructor','maxVariableSize','702OKYICO','5029890GdgpqU','resolvedDebugAgentConfig','(((.+)+)+)+$','370735EzkDtt','11QQhFzC','getMaxVariableSize','30JeERqv','capture','8mGQBgj','4587201uwLiqr','403992CJqJgt','maxSnapshotBufferSize','923415ULDxUK','2COSiyL','getMaxWatchListVariableSize','maxWatchListVariableSize','2490276woEcaC','getMaxSnapshotBufferSize','toString','ConfigurationProvider','899689lsFpQQ','search'];a5_0x1dff=function(){return _0x44f838;};return a5_0x1dff();}exports[a5_0x3c6c79(0x129)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x12822a=a6_0x2091;(function(_0x3bccc4,_0x3f9438){const _0x411214=a6_0x2091,_0x298406=_0x3bccc4();while(!![]){try{const _0x434d26=parseInt(_0x411214(0x172))/0x1+parseInt(_0x411214(0x16d))/0x2+-parseInt(_0x411214(0x15b))/0x3*(parseInt(_0x411214(0x15c))/0x4)+parseInt(_0x411214(0x196))/0x5*(-parseInt(_0x411214(0x162))/0x6)+parseInt(_0x411214(0x16e))/0x7+parseInt(_0x411214(0x158))/0x8+-parseInt(_0x411214(0x18f))/0x9*(parseInt(_0x411214(0x168))/0xa);if(_0x434d26===_0x3f9438)break;else _0x298406['push'](_0x298406['shift']());}catch(_0x56e0a3){_0x298406['push'](_0x298406['shift']());}}}(a6_0x3b53,0xa415c));function a6_0x3b53(){const _0x10857e=['lightrunSecret','body','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','enqueueBreakpointUpdate','selfSignedCA','Controller','default','createGzip','zlib','size','assert','data','https','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','POST','length','Compressing\x20and\x20sending\x20log\x20file\x20','source','Failed\x20to\x20read\x20pem\x20file\x20\x22','makeRequest','waitToken','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','stream','Bearer\x20','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','verifyCertificate','\x20transmitted\x20successfully','unknown\x20error\x20-\x20request\x20response\x20missing','\x20for\x20request\x20','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','/breakpoints?','status','axios','uri','https://','crypto','warn','transmitBreakpointUpdates','should\x20have\x20a\x20registered\x20debuggee','lastLogCollectionTime','maxLogFileBytes','cancel','Successfully\x20sent\x20log\x20file\x20','sendAgentLogsToServer','transmissionTimeout','search','constructor','update','response','sendBreakpointLogsToServer','register','apiUrl','ServiceObject',',\x20Message:\x20','application/json','/breakpoints','toString','1196328qIalrD','stringify','collectCooldownMs','2073lOIRBi','1652BcFkzv','\x20for\x20request\x20id\x20','Timeout\x20occurred\x20after\x20','load','/blacklist?successOnTimeout=true','config','1032582ffrpdy','error','method','logger','@google-cloud/common','PUT','5313010NOQOyf','push','caPath','WritableStream','Update\x20for\x20breakpoints\x20','2048056NWrFeS','1811201vcgACu','pipeline','apiEndpoint','context','400658EhDALP','digest','map','__esModule','max','defineProperty','reject','pinnedCerts','agentLog','debug','readFileSync','agentId','Transmitting\x20breakpoint\x20updates...','statSync','floor','noCheckCertificate','debuggee','Getting\x20blocklist','\x20seconds','\x20Error:\x20','now','/controller','querystring','transmissionQueue','message','invalid\x20response\x20body\x20from\x20server','listBreakpoints','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','shift','9FoxyRi','Failed\x20to\x20zip\x20','info','Agent','toBuffer','bind','/debuggees/','10SIJmDx','includes','Certificate\x20Pinning\x20Failed!','then','nextWaitToken','Breakpoint\x20','hex','pubkey','catch','extend','deregister','getBlocklist','/appOnlyActionHits/','secureContext','addCACert'];a6_0x3b53=function(){return _0x10857e;};return a6_0x3b53();}const a6_0x5903ca=(function(){let _0x180413=!![];return function(_0x302189,_0x40558e){const _0x5ff4fb=_0x180413?function(){if(_0x40558e){const _0x1be85f=_0x40558e['apply'](_0x302189,arguments);return _0x40558e=null,_0x1be85f;}}:function(){};return _0x180413=![],_0x5ff4fb;};}()),a6_0x1368a8=a6_0x5903ca(this,function(){const _0x2839ed=a6_0x2091;return a6_0x1368a8[_0x2839ed(0x157)]()['search']('(((.+)+)+)+$')[_0x2839ed(0x157)]()[_0x2839ed(0x14d)](a6_0x1368a8)[_0x2839ed(0x14c)]('(((.+)+)+)+$');});a6_0x1368a8();'use strict';Object[a6_0x12822a(0x177)](exports,a6_0x12822a(0x175),{'value':!![]}),exports[a6_0x12822a(0x1aa)]=void 0x0;const common_1=require(a6_0x12822a(0x166)),assert=require(a6_0x12822a(0x1af)),qs=require(a6_0x12822a(0x188)),fs_1=require('fs'),crypto_1=require(a6_0x12822a(0x142)),zlib_1=require(a6_0x12822a(0x1ad)),stream_1=require(a6_0x12822a(0x135)),memory_streams_1=require('memory-streams'),tls_1=require('tls'),extend=require(a6_0x12822a(0x19f)),axios_1=require(a6_0x12822a(0x13f)),https=require(a6_0x12822a(0x1b1)),yaml=require('js-yaml'),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa;class Controller extends common_1[a6_0x12822a(0x153)]{constructor(_0x326351,_0xf684a7,_0x4457df){const _0x2ee169=a6_0x12822a;super({'parent':_0x326351,'baseUrl':_0x2ee169(0x187)}),this[_0x2ee169(0x19a)]=null,this['agentId']=null,this[_0x2ee169(0x161)]=_0xf684a7,this[_0x2ee169(0x189)]=[],this[_0x2ee169(0x165)]=_0x4457df;if(_0xf684a7[_0x2ee169(0x16a)])try{this[_0x2ee169(0x1a9)]=fs_1[_0x2ee169(0x17c)](_0xf684a7[_0x2ee169(0x16a)],'ascii');}catch(_0x501b40){_0x4457df[_0x2ee169(0x143)](_0x2ee169(0x1b7)+_0xf684a7[_0x2ee169(0x16a)]+'\x22\x20-\x20ignoring\x20it');}this['apiUrl']=_0x2ee169(0x141)+_0xf684a7[_0x2ee169(0x170)]+_0x2ee169(0x195);}[a6_0x12822a(0x151)](_0x105994,_0xaf7b4a){const _0x136e72=a6_0x12822a,_0x539c4c={'uri':this['apiUrl']+_0x136e72(0x151),'method':_0x136e72(0x1b3),'json':!![],'body':{'debuggee':_0x105994}};this[_0x136e72(0x1b8)](_0x539c4c,(_0x5abe05,_0x175a09,_0x1bc66f)=>{const _0x5b8e99=_0x136e72;if(!_0x1bc66f)_0xaf7b4a(_0x5abe05||new Error(_0x5b8e99(0x13a)));else{if(_0x5abe05)_0x1bc66f[_0x5b8e99(0x13e)]===HTTP_UPGRADE_REQUIRED&&_0x175a09&&(_0x105994['id']=_0x175a09[_0x5b8e99(0x182)]['id']),_0xaf7b4a(_0x5abe05,_0x175a09);else{if(_0x1bc66f[_0x5b8e99(0x13e)]!==HTTP_SUCCESS)_0xaf7b4a(new Error('unable\x20to\x20register,\x20status\x20'+_0x1bc66f['status']));else!(_0x175a09===null||_0x175a09===void 0x0?void 0x0:_0x175a09['debuggee'])?_0xaf7b4a(new Error(_0x5b8e99(0x18b))):(_0x105994['id']=_0x175a09['debuggee']['id'],this[_0x5b8e99(0x17d)]=_0x175a09['agentId'],_0xaf7b4a(null,_0x175a09));}}});}[a6_0x12822a(0x18c)](_0x35a06f,_0x31237d){const _0x3833b2=a6_0x12822a,_0x28d688=this;assert(_0x35a06f['id'],_0x3833b2(0x145));const _0x5cf097={'successOnTimeout':!![]};_0x28d688['nextWaitToken']&&(_0x5cf097[_0x3833b2(0x133)]=_0x28d688['nextWaitToken']);_0x28d688[_0x3833b2(0x17d)]&&(_0x5cf097[_0x3833b2(0x17d)]=_0x28d688[_0x3833b2(0x17d)]);const _0x48366b=this[_0x3833b2(0x152)]+encodeURIComponent(_0x35a06f['id'])+_0x3833b2(0x13d)+qs[_0x3833b2(0x159)](_0x5cf097);_0x28d688[_0x3833b2(0x1b8)]({'uri':_0x48366b,'json':!![]},(_0x577864,_0x87b4f3,_0x2742f6)=>{const _0x2c9733=_0x3833b2;if(!_0x2742f6){_0x31237d(_0x577864||new Error(_0x2c9733(0x13a)));return;}else{if(!is2xx(_0x2742f6[_0x2c9733(0x13e)])){_0x31237d(new Error(_0x2c9733(0x1b2)+_0x2742f6[_0x2c9733(0x13e)]),_0x2742f6);return;}else _0x87b4f3&&(_0x28d688[_0x2c9733(0x19a)]=_0x87b4f3['nextWaitToken']),_0x31237d(null,_0x2742f6,_0x87b4f3);}});}[a6_0x12822a(0x1a8)](_0x5401b8,_0xbc5de1){const _0x3b1a7a=a6_0x12822a;assert(_0x5401b8['id'],_0x3b1a7a(0x145)),this[_0x3b1a7a(0x189)][_0x3b1a7a(0x169)]([_0xbc5de1,0x0]);if(!this[_0x3b1a7a(0x14b)]){const _0x4dec67=this;this[_0x3b1a7a(0x14b)]=setTimeout(()=>_0x4dec67[_0x3b1a7a(0x144)][_0x3b1a7a(0x194)](_0x4dec67)(_0x5401b8['id']),0x0);}}['clearTransmissionTimeout'](){const _0x46027b=a6_0x12822a;if(!this['transmissionTimeout'])return;clearTimeout(this[_0x46027b(0x14b)]),this[_0x46027b(0x14b)]=null;}[a6_0x12822a(0x1a0)](_0x1929fe,_0x1a12e5){const _0x288298=a6_0x12822a,_0x1aa165=this[_0x288298(0x152)]+encodeURIComponent(_0x1929fe['id'])+'/deregister/',_0xad8859={'uri':_0x1aa165,'method':_0x288298(0x1b3),'json':!![]};this['logger'][_0x288298(0x191)]('Deregister\x20agent\x20before\x20shutdown'),this[_0x288298(0x1b8)](_0xad8859,(_0x37fbe3,_0x583f2f,_0x230995)=>{const _0x31f8b5=_0x288298;(!_0x230995||Math[_0x31f8b5(0x180)](_0x230995[_0x31f8b5(0x13e)]/0x64)!==0x2)&&this[_0x31f8b5(0x165)][_0x31f8b5(0x143)](_0x31f8b5(0x137)+_0x37fbe3),_0x1a12e5(_0x37fbe3);});}[a6_0x12822a(0x150)](_0x305965,_0x3618ff,_0x432a78){const _0x43cb7f=a6_0x12822a,_0x1c2c2a=this[_0x43cb7f(0x152)]+encodeURIComponent(_0x305965['id'])+'/log/',_0x122ee9={'uri':_0x1c2c2a,'method':'POST','json':!![],'body':_0x3618ff};this[_0x43cb7f(0x1b8)](_0x122ee9,(_0x5e9e33,_0x319830,_0x956bb3)=>{const _0x226b45=_0x43cb7f;(!_0x956bb3||Math[_0x226b45(0x180)](_0x956bb3[_0x226b45(0x13e)]/0x64)!==0x2)&&(this['logger'][_0x226b45(0x143)]('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x5e9e33),_0x432a78(_0x5e9e33));});}['sendAppOnlyBreakpointHitsToServer'](_0x2a79e9,_0xbbe484,_0x4739d2){const _0x4e1348=a6_0x12822a,_0x275cd1=this[_0x4e1348(0x152)]+encodeURIComponent(_0x2a79e9['id'])+_0x4e1348(0x1a2),_0x27fc12={'uri':_0x275cd1,'method':_0x4e1348(0x1b3),'json':!![],'body':_0xbbe484};this[_0x4e1348(0x1b8)](_0x27fc12,(_0x36b606,_0x5cc483,_0x3955ec)=>{const _0x4ff694=_0x4e1348;(!_0x3955ec||Math['floor'](_0x3955ec[_0x4ff694(0x13e)]/0x64)!==0x2)&&(this[_0x4ff694(0x165)][_0x4ff694(0x143)](_0x4ff694(0x13c)+_0x36b606),_0x4739d2(_0x36b606));});}[a6_0x12822a(0x14a)](_0x2ea1a4,_0x2f8db6,_0x21101f){const _0x454efc=a6_0x12822a;assert(_0x2ea1a4['id'],_0x454efc(0x145));if(this[_0x454efc(0x146)]){const _0x154577=Date[_0x454efc(0x186)](),_0x91ae91=this['lastLogCollectionTime']+this['config'][_0x454efc(0x17a)][_0x454efc(0x15a)];if(_0x154577<_0x91ae91){this[_0x454efc(0x165)][_0x454efc(0x191)]('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+((_0x91ae91-_0x154577)/0x3e8+_0x454efc(0x184)));return;}}const _0x5559e7=fs_1[_0x454efc(0x17f)](_0x21101f)[_0x454efc(0x1ae)],_0x59b514=Math[_0x454efc(0x176)](0x0,_0x5559e7-this[_0x454efc(0x161)][_0x454efc(0x17a)][_0x454efc(0x147)]),_0x3f060b=fs_1['createReadStream'](_0x21101f,{'start':_0x59b514}),_0x1db5d7=zlib_1[_0x454efc(0x1ac)](),_0x3f7ea7=new memory_streams_1[(_0x454efc(0x16b))](),_0x104db0=this;_0x104db0[_0x454efc(0x165)][_0x454efc(0x191)](_0x454efc(0x1b5)+_0x21101f+_0x454efc(0x15d)+_0x2f8db6),stream_1[_0x454efc(0x16f)](_0x3f060b,_0x1db5d7,_0x3f7ea7,_0x5d2495=>{const _0x537afb=_0x454efc;if(_0x5d2495)_0x104db0[_0x537afb(0x165)]['error'](_0x537afb(0x190)+_0x21101f+':\x20'+_0x5d2495);else{const _0x3e30ad={'uri':this[_0x537afb(0x152)]+encodeURIComponent(_0x2ea1a4['id'])+'/compressedLogFile/'+_0x2f8db6,'method':_0x537afb(0x167),'body':_0x3f7ea7[_0x537afb(0x193)]()};_0x104db0[_0x537afb(0x1b8)](_0x3e30ad,_0x5a4d95=>{const _0x32164f=_0x537afb;_0x5a4d95?_0x104db0[_0x32164f(0x165)][_0x32164f(0x163)]('Failed\x20to\x20send\x20log\x20file\x20'+_0x21101f+_0x32164f(0x13b)+_0x2f8db6,_0x5a4d95):(_0x104db0[_0x32164f(0x165)][_0x32164f(0x191)](_0x32164f(0x149)+_0x21101f+_0x32164f(0x13b)+_0x2f8db6),_0x104db0[_0x32164f(0x146)]=Date[_0x32164f(0x186)]());});}});}[a6_0x12822a(0x144)](_0x1e4014){const _0x56e481=a6_0x12822a;var _0x45bce6;this[_0x56e481(0x165)][_0x56e481(0x17b)](_0x56e481(0x17e)),this[_0x56e481(0x14b)]=undefined;const _0x5e193e=[];while(_0x5e193e[_0x56e481(0x1b4)]<this[_0x56e481(0x161)]['transmissionBulkMaxSize']&&this[_0x56e481(0x189)][_0x56e481(0x1b4)]>0x0){_0x5e193e[_0x56e481(0x169)](this[_0x56e481(0x189)][_0x56e481(0x18e)]());}if(!_0x5e193e)return;const _0x342301=_0x5e193e[_0x56e481(0x174)](_0x436ebc=>_0x436ebc[0x0]['id']),_0x3856cd={'uri':this[_0x56e481(0x152)]+encodeURIComponent(_0x1e4014)+_0x56e481(0x156),'json':!![],'method':_0x56e481(0x167),'body':_0x5e193e[_0x56e481(0x174)](_0x105a27=>_0x105a27[0x0])},_0x201461=this;try{this[_0x56e481(0x1b8)](_0x3856cd,(_0xfb76b9,_0x3c0fbd,_0x5483cb)=>{const _0x409043=_0x56e481,_0x227bb5=_0x5483cb===null||_0x5483cb===void 0x0?void 0x0:_0x5483cb['status'];if(_0xfb76b9||!_0x227bb5||Math['floor'](_0x227bb5/0x64)!==0x2){const _0x54a7dd=_0x227bb5&&(_0x227bb5>=0x1f4||_0x227bb5===0x198);if(_0x54a7dd){_0x201461[_0x409043(0x165)][_0x409043(0x143)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x342301+_0x409043(0x134)+_0x227bb5+_0x409043(0x185)+_0xfb76b9);for(const _0x4598aa of _0x5e193e){_0x4598aa[0x1]<MAX_FAILED_SEND_ATTEMPTS?_0x201461[_0x409043(0x189)]['push']([_0x4598aa[0x0],_0x4598aa[0x1]+0x1]):_0x201461[_0x409043(0x165)]['warn'](_0x409043(0x19b)+_0x4598aa[0x0]['id']+_0x409043(0x18d));}}else _0x201461['logger'][_0x409043(0x143)](_0x409043(0x1a7)+_0x342301+_0x409043(0x134)+_0x227bb5+_0x409043(0x185)+_0xfb76b9);}else _0x201461[_0x409043(0x165)][_0x409043(0x191)](_0x409043(0x16c)+_0x342301+_0x409043(0x139));_0x201461[_0x409043(0x189)][_0x409043(0x1b4)]>0x0&&(_0x201461[_0x409043(0x14b)]=setTimeout(()=>_0x201461[_0x409043(0x144)][_0x409043(0x194)](_0x201461)(_0x1e4014),0x0));});}catch(_0x4cc35d){this[_0x56e481(0x165)][_0x56e481(0x143)](_0x56e481(0x1a7)+_0x342301+'.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x4cc35d+_0x56e481(0x154)+((_0x45bce6=_0x4cc35d[_0x56e481(0x1b0)])===null||_0x45bce6===void 0x0?void 0x0:_0x45bce6[_0x56e481(0x18a)])),_0x201461['transmissionQueue'][_0x56e481(0x1b4)]>0x0&&(_0x201461[_0x56e481(0x14b)]=setTimeout(()=>_0x201461[_0x56e481(0x144)][_0x56e481(0x194)](_0x201461)(_0x1e4014),0x0));}}async[a6_0x12822a(0x1a1)](_0x11d739){const _0x44f480=a6_0x12822a;this[_0x44f480(0x165)][_0x44f480(0x191)](_0x44f480(0x183));const _0x226bb5=this[_0x44f480(0x152)]+encodeURIComponent(_0x11d739)+_0x44f480(0x160),{error:_0x18977d,data:_0x349e87}=await this[_0x44f480(0x1b8)]({'uri':_0x226bb5,'json':!![]});if(_0x18977d)return Promise['reject'](_0x18977d);return yaml[_0x44f480(0x15f)](_0x349e87)||{};}[a6_0x12822a(0x1b8)](_0x94fd31,_0x54c16a){const _0x5bdb1c=a6_0x12822a,_0x5d6d95={'Content-Type':_0x5bdb1c(0x155),'Authorization':_0x5bdb1c(0x136)+this[_0x5bdb1c(0x161)][_0x5bdb1c(0x1a5)]},_0x378941={'checkServerIdentity':(_0x266807,_0x21d8ed)=>this[_0x5bdb1c(0x138)](_0x266807,_0x21d8ed,this[_0x5bdb1c(0x161)])};if(this['selfSignedCA']){const _0x51749c=tls_1['createSecureContext'](_0x378941);_0x51749c[_0x5bdb1c(0x171)][_0x5bdb1c(0x1a4)](this['selfSignedCA']),_0x378941[_0x5bdb1c(0x1a3)]=_0x51749c;}const _0x5e4b75=axios_1[_0x5bdb1c(0x1ab)]['CancelToken'][_0x5bdb1c(0x1b6)](),_0x450c47=setTimeout(()=>{const _0x1032a9=_0x5bdb1c;this[_0x1032a9(0x165)]['warn'](_0x1032a9(0x15e)+this[_0x1032a9(0x161)]['requestTimeoutMs']+'ms'),_0x5e4b75[_0x1032a9(0x148)]();},this[_0x5bdb1c(0x161)]['requestTimeoutMs']),_0x38fad6={'method':_0x94fd31[_0x5bdb1c(0x164)],'httpsAgent':new https[(_0x5bdb1c(0x192))](_0x378941),'url':_0x94fd31[_0x5bdb1c(0x140)],'data':_0x94fd31[_0x5bdb1c(0x1a6)],'headers':_0x5d6d95,'cancelToken':_0x5e4b75['token']};return extend(!![],_0x38fad6,_0x94fd31),axios_1[_0x5bdb1c(0x1ab)]['request'](_0x38fad6)[_0x5bdb1c(0x199)](_0x3ad58d=>{const _0x5e409d=_0x5bdb1c;return _0x54c16a===null||_0x54c16a===void 0x0?void 0x0:_0x54c16a(null,_0x3ad58d[_0x5e409d(0x1b0)],_0x3ad58d),{'error':null,'data':_0x3ad58d[_0x5e409d(0x1b0)],'res':_0x3ad58d};})[_0x5bdb1c(0x19e)](_0xd0fa47=>{const _0x1476c3=_0x5bdb1c;var _0x36ab43,_0x2be7ee;return _0x54c16a===null||_0x54c16a===void 0x0?void 0x0:_0x54c16a(_0xd0fa47,(_0x36ab43=_0xd0fa47[_0x1476c3(0x14f)])===null||_0x36ab43===void 0x0?void 0x0:_0x36ab43['data'],_0xd0fa47[_0x1476c3(0x14f)]),{'error':_0xd0fa47,'data':(_0x2be7ee=_0xd0fa47[_0x1476c3(0x14f)])===null||_0x2be7ee===void 0x0?void 0x0:_0x2be7ee['data'],'res':_0xd0fa47['response']};})['finally'](()=>clearTimeout(_0x450c47));}['verifyCertificate'](_0x3f0589,_0x27a973,_0x5c6597){const _0x512fbd=a6_0x12822a;if(_0x5c6597[_0x512fbd(0x181)])return undefined;const _0x1b7f88=crypto_1['createHash']('sha256')[_0x512fbd(0x14e)](_0x27a973[_0x512fbd(0x19d)])[_0x512fbd(0x173)](_0x512fbd(0x19c));return _0x5c6597[_0x512fbd(0x179)][_0x512fbd(0x197)](_0x1b7f88)?undefined:new Error(_0x512fbd(0x198));}async['getRedactions'](_0x31197a){const _0x22a625=a6_0x12822a;this[_0x22a625(0x165)][_0x22a625(0x191)]('Getting\x20reductions');const _0x45b2b2=this[_0x22a625(0x152)]+encodeURIComponent(_0x31197a)+'/redaction',{error:_0x95fb19,data:_0x2a13ba}=await this[_0x22a625(0x1b8)]({'uri':_0x45b2b2,'json':!![]});if(_0x95fb19)return Promise[_0x22a625(0x178)](_0x95fb19);return _0x2a13ba;}}function a6_0x2091(_0x5874ce,_0x377d99){const _0x25a3b5=a6_0x3b53();return a6_0x2091=function(_0x1368a8,_0x5903ca){_0x1368a8=_0x1368a8-0x133;let _0x3b53a=_0x25a3b5[_0x1368a8];return _0x3b53a;},a6_0x2091(_0x5874ce,_0x377d99);}exports[a6_0x12822a(0x1aa)]=Controller;function is2xx(_0x3205dc){return Math['floor'](_0x3205dc/0x64)===0x2;}
|
|
1
|
+
const a6_0x561650=a6_0x331a;(function(_0x6d50f3,_0x40f4f0){const _0x143507=a6_0x331a,_0x3a2b4f=_0x6d50f3();while(!![]){try{const _0x44a74b=-parseInt(_0x143507(0x177))/0x1*(-parseInt(_0x143507(0x120))/0x2)+-parseInt(_0x143507(0x1a6))/0x3*(parseInt(_0x143507(0x165))/0x4)+-parseInt(_0x143507(0x11d))/0x5*(parseInt(_0x143507(0x1a3))/0x6)+parseInt(_0x143507(0x123))/0x7+parseInt(_0x143507(0x19c))/0x8*(-parseInt(_0x143507(0x163))/0x9)+-parseInt(_0x143507(0x17b))/0xa*(-parseInt(_0x143507(0x16a))/0xb)+parseInt(_0x143507(0x162))/0xc*(parseInt(_0x143507(0x161))/0xd);if(_0x44a74b===_0x40f4f0)break;else _0x3a2b4f['push'](_0x3a2b4f['shift']());}catch(_0x5d0889){_0x3a2b4f['push'](_0x3a2b4f['shift']());}}}(a6_0x3915,0xc00f7));const a6_0x3d8e0b=(function(){let _0x4096ba=!![];return function(_0xf28400,_0x4d57e4){const _0x4ee32f=_0x4096ba?function(){const _0x491da0=a6_0x331a;if(_0x4d57e4){const _0x5b0b1a=_0x4d57e4[_0x491da0(0x174)](_0xf28400,arguments);return _0x4d57e4=null,_0x5b0b1a;}}:function(){};return _0x4096ba=![],_0x4ee32f;};}()),a6_0x98f204=a6_0x3d8e0b(this,function(){const _0x5b46c0=a6_0x331a;return a6_0x98f204['toString']()[_0x5b46c0(0x1a5)](_0x5b46c0(0x18e))[_0x5b46c0(0x137)]()[_0x5b46c0(0x140)](a6_0x98f204)[_0x5b46c0(0x1a5)](_0x5b46c0(0x18e));});a6_0x98f204();function a6_0x331a(_0x35bc57,_0x1bae31){const _0x4fabed=a6_0x3915();return a6_0x331a=function(_0x98f204,_0x3d8e0b){_0x98f204=_0x98f204-0x11b;let _0x39159e=_0x4fabed[_0x98f204];return _0x39159e;},a6_0x331a(_0x35bc57,_0x1bae31);}'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a6_0x561650(0x15f)]=void 0x0;const common_1=require(a6_0x561650(0x12a)),assert=require(a6_0x561650(0x152)),qs=require(a6_0x561650(0x190)),fs_1=require('fs'),crypto_1=require(a6_0x561650(0x173)),zlib_1=require(a6_0x561650(0x141)),stream_1=require(a6_0x561650(0x175)),memory_streams_1=require(a6_0x561650(0x15e)),tls_1=require(a6_0x561650(0x128)),extend=require(a6_0x561650(0x164)),axios_1=require(a6_0x561650(0x169)),https=require(a6_0x561650(0x12f)),yaml=require(a6_0x561650(0x125)),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa;class Controller extends common_1['ServiceObject']{constructor(_0x98721b,_0x14ee9b,_0x205687){const _0x3f084c=a6_0x561650;super({'parent':_0x98721b,'baseUrl':_0x3f084c(0x124)}),this[_0x3f084c(0x155)]=null,this[_0x3f084c(0x11c)]=null,this[_0x3f084c(0x199)]=_0x14ee9b,this[_0x3f084c(0x122)]=[],this[_0x3f084c(0x195)]=_0x205687;if(_0x14ee9b['caPath'])try{this[_0x3f084c(0x138)]=(0x0,fs_1[_0x3f084c(0x16e)])(_0x14ee9b[_0x3f084c(0x187)],_0x3f084c(0x172));}catch(_0x11e4cc){_0x205687[_0x3f084c(0x148)](_0x3f084c(0x150)+_0x14ee9b[_0x3f084c(0x187)]+_0x3f084c(0x157));}this[_0x3f084c(0x167)]=_0x3f084c(0x127)+_0x14ee9b[_0x3f084c(0x19a)]+_0x3f084c(0x184);}[a6_0x561650(0x146)](_0xa09020,_0x35c93b){const _0x3d6970=a6_0x561650,_0x5bdfb1={'uri':this['apiUrl']+_0x3d6970(0x146),'method':_0x3d6970(0x13d),'json':!![],'body':{'debuggee':_0xa09020}};this[_0x3d6970(0x1a4)](_0x5bdfb1,(_0x1b5778,_0x326237,_0x2198e2)=>{const _0x4510a4=_0x3d6970;if(!_0x2198e2)_0x35c93b(_0x1b5778||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));else{if(_0x1b5778)_0x2198e2[_0x4510a4(0x185)]===HTTP_UPGRADE_REQUIRED&&_0x326237&&(_0xa09020['id']=_0x326237[_0x4510a4(0x179)]['id']),_0x35c93b(_0x1b5778,_0x326237);else{if(_0x2198e2['status']!==HTTP_SUCCESS)_0x35c93b(new Error(_0x4510a4(0x14c)+_0x2198e2[_0x4510a4(0x185)]));else!(_0x326237===null||_0x326237===void 0x0?void 0x0:_0x326237[_0x4510a4(0x179)])?_0x35c93b(new Error('invalid\x20response\x20body\x20from\x20server')):(_0xa09020['id']=_0x326237[_0x4510a4(0x179)]['id'],this[_0x4510a4(0x11c)]=_0x326237['agentId'],_0x35c93b(null,_0x326237));}}});}['listBreakpoints'](_0x33aa51,_0x53dae1){const _0x4b7a79=a6_0x561650,_0x41fa02=this;assert(_0x33aa51['id'],_0x4b7a79(0x159));const _0x3dd640={'successOnTimeout':!![]};_0x41fa02[_0x4b7a79(0x155)]&&(_0x3dd640[_0x4b7a79(0x145)]=_0x41fa02[_0x4b7a79(0x155)]);_0x41fa02[_0x4b7a79(0x11c)]&&(_0x3dd640['agentId']=_0x41fa02['agentId']);const _0x223b5d=this[_0x4b7a79(0x167)]+encodeURIComponent(_0x33aa51['id'])+'/breakpoints?'+qs['stringify'](_0x3dd640);_0x41fa02[_0x4b7a79(0x1a4)]({'uri':_0x223b5d,'json':!![]},(_0x38f1f5,_0x162435,_0x59d020)=>{const _0x625aab=_0x4b7a79;if(!_0x59d020){_0x53dae1(_0x38f1f5||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));return;}else{if(!is2xx(_0x59d020[_0x625aab(0x185)])){_0x53dae1(new Error(_0x625aab(0x15b)+_0x59d020[_0x625aab(0x185)]),_0x59d020);return;}else _0x162435&&(_0x41fa02['nextWaitToken']=_0x162435[_0x625aab(0x155)]),_0x53dae1(null,_0x59d020,_0x162435);}});}[a6_0x561650(0x13a)](_0x4ec150,_0x5b2cff){const _0x3b84b1=a6_0x561650;assert(_0x4ec150['id'],'should\x20have\x20a\x20registered\x20debuggee'),this['transmissionQueue'][_0x3b84b1(0x176)]([_0x5b2cff,0x0]);if(!this[_0x3b84b1(0x192)]){const _0x82f090=this;this[_0x3b84b1(0x192)]=setTimeout(()=>_0x82f090['transmitBreakpointUpdates'][_0x3b84b1(0x168)](_0x82f090)(_0x4ec150['id']),0x0);}}[a6_0x561650(0x17f)](){const _0x4aaeac=a6_0x561650;if(!this[_0x4aaeac(0x192)])return;clearTimeout(this[_0x4aaeac(0x192)]),this[_0x4aaeac(0x192)]=null;}[a6_0x561650(0x196)](_0x486506,_0x4a997c){const _0x20004c=a6_0x561650,_0x27b6c8=this[_0x20004c(0x167)]+encodeURIComponent(_0x486506['id'])+'/deregister/',_0x45f7e9={'uri':_0x27b6c8,'method':'POST','json':!![]};this[_0x20004c(0x195)][_0x20004c(0x1a2)]('Deregister\x20agent\x20before\x20shutdown'),this[_0x20004c(0x1a4)](_0x45f7e9,(_0x27f54a,_0x372f1a,_0x2d4b48)=>{const _0x51f87c=_0x20004c;(!_0x2d4b48||Math[_0x51f87c(0x15c)](_0x2d4b48['status']/0x64)!==0x2)&&this[_0x51f87c(0x195)][_0x51f87c(0x148)]('Failed\x20to\x20deregister\x20agent,\x20Error:\x20'+_0x27f54a),_0x4a997c(_0x27f54a);});}[a6_0x561650(0x12d)](_0x2b34d5,_0x4e9638,_0x1a4af0){const _0x4bca28=a6_0x561650,_0x17dd94=this[_0x4bca28(0x167)]+encodeURIComponent(_0x2b34d5['id'])+'/log/',_0x182bbc={'uri':_0x17dd94,'method':_0x4bca28(0x13d),'json':!![],'body':_0x4e9638};this['makeRequest'](_0x182bbc,(_0x275073,_0x57ce30,_0x5ea216)=>{const _0x213912=_0x4bca28;(!_0x5ea216||Math[_0x213912(0x15c)](_0x5ea216[_0x213912(0x185)]/0x64)!==0x2)&&(this[_0x213912(0x195)][_0x213912(0x148)]('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x275073),_0x1a4af0(_0x275073));});}['sendAppOnlyBreakpointHitsToServer'](_0x4d946c,_0x212aa3,_0x306584){const _0x438f3c=a6_0x561650,_0x30f696=this[_0x438f3c(0x167)]+encodeURIComponent(_0x4d946c['id'])+_0x438f3c(0x16d),_0x24a327={'uri':_0x30f696,'method':_0x438f3c(0x13d),'json':!![],'body':_0x212aa3};this[_0x438f3c(0x1a4)](_0x24a327,(_0x307f31,_0x2e266a,_0x1052a8)=>{const _0x231a47=_0x438f3c;(!_0x1052a8||Math['floor'](_0x1052a8['status']/0x64)!==0x2)&&(this[_0x231a47(0x195)][_0x231a47(0x148)](_0x231a47(0x18d)+_0x307f31),_0x306584(_0x307f31));});}[a6_0x561650(0x18f)](_0x53c5fb,_0x5ee4cb,_0xf04e17){const _0x5128b0=a6_0x561650;assert(_0x53c5fb['id'],_0x5128b0(0x159));if(this[_0x5128b0(0x17d)]){const _0xbc4578=Date[_0x5128b0(0x11f)](),_0x19a235=this[_0x5128b0(0x17d)]+this[_0x5128b0(0x199)][_0x5128b0(0x17e)][_0x5128b0(0x154)];if(_0xbc4578<_0x19a235){this[_0x5128b0(0x195)][_0x5128b0(0x1a2)](_0x5128b0(0x14a)+((_0x19a235-_0xbc4578)/0x3e8+_0x5128b0(0x12c)));return;}}const _0x555c76=(0x0,fs_1[_0x5128b0(0x16f)])(_0xf04e17)[_0x5128b0(0x1a1)],_0x257034=Math[_0x5128b0(0x16b)](0x0,_0x555c76-this[_0x5128b0(0x199)][_0x5128b0(0x17e)][_0x5128b0(0x16c)]),_0x35b33a=(0x0,fs_1['createReadStream'])(_0xf04e17,{'start':_0x257034}),_0x299980=(0x0,zlib_1['createGzip'])(),_0x2b082d=new memory_streams_1[(_0x5128b0(0x13f))](),_0x1707a3=this;_0x1707a3[_0x5128b0(0x195)][_0x5128b0(0x1a2)](_0x5128b0(0x188)+_0xf04e17+_0x5128b0(0x1a0)+_0x5ee4cb),(0x0,stream_1['pipeline'])(_0x35b33a,_0x299980,_0x2b082d,_0x4ce295=>{const _0xd1191e=_0x5128b0;if(_0x4ce295)_0x1707a3[_0xd1191e(0x195)]['error'](_0xd1191e(0x131)+_0xf04e17+':\x20'+_0x4ce295);else{const _0x1de502={'uri':this[_0xd1191e(0x167)]+encodeURIComponent(_0x53c5fb['id'])+'/compressedLogFile/'+_0x5ee4cb,'method':'PUT','body':_0x2b082d[_0xd1191e(0x186)]()};_0x1707a3[_0xd1191e(0x1a4)](_0x1de502,_0x4c0a29=>{const _0x3ba5f7=_0xd1191e;_0x4c0a29?_0x1707a3[_0x3ba5f7(0x195)]['error'](_0x3ba5f7(0x1a7)+_0xf04e17+_0x3ba5f7(0x15a)+_0x5ee4cb,_0x4c0a29):(_0x1707a3[_0x3ba5f7(0x195)]['info'](_0x3ba5f7(0x19d)+_0xf04e17+_0x3ba5f7(0x15a)+_0x5ee4cb),_0x1707a3[_0x3ba5f7(0x17d)]=Date[_0x3ba5f7(0x11f)]());});}});}[a6_0x561650(0x18c)](_0x1dd798){const _0x3ce06e=a6_0x561650;var _0x5edcdb;this[_0x3ce06e(0x195)][_0x3ce06e(0x149)](_0x3ce06e(0x15d)),this[_0x3ce06e(0x192)]=undefined;const _0x5b048c=[];while(_0x5b048c[_0x3ce06e(0x14e)]<this[_0x3ce06e(0x199)][_0x3ce06e(0x13e)]&&this[_0x3ce06e(0x122)][_0x3ce06e(0x14e)]>0x0){_0x5b048c[_0x3ce06e(0x176)](this[_0x3ce06e(0x122)][_0x3ce06e(0x156)]());}if(!_0x5b048c)return;const _0x5401d0=_0x5b048c[_0x3ce06e(0x182)](_0x39ede3=>_0x39ede3[0x0]['id']),_0x7c71b5={'uri':this['apiUrl']+encodeURIComponent(_0x1dd798)+_0x3ce06e(0x19f),'json':!![],'method':_0x3ce06e(0x183),'body':_0x5b048c[_0x3ce06e(0x182)](_0x25d6b6=>_0x25d6b6[0x0])},_0x53cf26=this;try{this['makeRequest'](_0x7c71b5,(_0x29a64b,_0x3f95e9,_0x16e39b)=>{const _0xbbf54d=_0x3ce06e,_0x3a8c93=_0x16e39b===null||_0x16e39b===void 0x0?void 0x0:_0x16e39b['status'];if(_0x29a64b||!_0x3a8c93||Math['floor'](_0x3a8c93/0x64)!==0x2){const _0x2c991b=_0x3a8c93&&(_0x3a8c93>=0x1f4||_0x3a8c93===0x198);if(_0x2c991b){_0x53cf26[_0xbbf54d(0x195)][_0xbbf54d(0x148)]('Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20'+_0x5401d0+_0xbbf54d(0x12b)+_0x3a8c93+_0xbbf54d(0x13b)+_0x29a64b);for(const _0x54e350 of _0x5b048c){_0x54e350[0x1]<MAX_FAILED_SEND_ATTEMPTS?_0x53cf26['transmissionQueue'][_0xbbf54d(0x176)]([_0x54e350[0x0],_0x54e350[0x1]+0x1]):_0x53cf26[_0xbbf54d(0x195)][_0xbbf54d(0x148)](_0xbbf54d(0x126)+_0x54e350[0x0]['id']+_0xbbf54d(0x11b));}}else _0x53cf26[_0xbbf54d(0x195)][_0xbbf54d(0x148)](_0xbbf54d(0x151)+_0x5401d0+_0xbbf54d(0x12b)+_0x3a8c93+_0xbbf54d(0x13b)+_0x29a64b);}else _0x53cf26[_0xbbf54d(0x195)]['info'](_0xbbf54d(0x11e)+_0x5401d0+_0xbbf54d(0x160));_0x53cf26[_0xbbf54d(0x122)][_0xbbf54d(0x14e)]>0x0&&(_0x53cf26[_0xbbf54d(0x192)]=setTimeout(()=>_0x53cf26[_0xbbf54d(0x18c)][_0xbbf54d(0x168)](_0x53cf26)(_0x1dd798),0x0));});}catch(_0x3062fc){this['logger'][_0x3ce06e(0x148)](_0x3ce06e(0x151)+_0x5401d0+_0x3ce06e(0x193)+_0x3062fc+',\x20Message:\x20'+((_0x5edcdb=_0x3062fc['data'])===null||_0x5edcdb===void 0x0?void 0x0:_0x5edcdb[_0x3ce06e(0x170)])),_0x53cf26[_0x3ce06e(0x122)][_0x3ce06e(0x14e)]>0x0&&(_0x53cf26[_0x3ce06e(0x192)]=setTimeout(()=>_0x53cf26[_0x3ce06e(0x18c)][_0x3ce06e(0x168)](_0x53cf26)(_0x1dd798),0x0));}}async['getBlocklist'](_0x55177b){const _0x57d090=a6_0x561650;this[_0x57d090(0x195)][_0x57d090(0x1a2)](_0x57d090(0x180));const _0x1670b2=this[_0x57d090(0x167)]+encodeURIComponent(_0x55177b)+_0x57d090(0x166),{error:_0x2ef2ae,data:_0x26d77a}=await this['makeRequest']({'uri':_0x1670b2,'json':!![]});if(_0x2ef2ae)return Promise[_0x57d090(0x178)](_0x2ef2ae);return yaml[_0x57d090(0x133)](_0x26d77a)||{};}[a6_0x561650(0x1a4)](_0x4a67d6,_0x333224){const _0x31b526=a6_0x561650,_0xfe65a3={'Content-Type':'application/json','Authorization':_0x31b526(0x135)+this[_0x31b526(0x199)][_0x31b526(0x136)]},_0x9dcf82={'checkServerIdentity':(_0x56a2ce,_0x47a27b)=>this['verifyCertificate'](_0x56a2ce,_0x47a27b,this[_0x31b526(0x199)])};if(this['selfSignedCA']){const _0xb137db=(0x0,tls_1[_0x31b526(0x19e)])(_0x9dcf82);_0xb137db[_0x31b526(0x18a)][_0x31b526(0x198)](this[_0x31b526(0x138)]),_0x9dcf82[_0x31b526(0x17c)]=_0xb137db;}const _0x30e47e=axios_1[_0x31b526(0x14d)]['CancelToken'][_0x31b526(0x121)](),_0x1ff6ba=setTimeout(()=>{const _0x559d6b=_0x31b526;this['logger'][_0x559d6b(0x148)](_0x559d6b(0x143)+this[_0x559d6b(0x199)][_0x559d6b(0x191)]+'ms'),_0x30e47e[_0x559d6b(0x194)]();},this[_0x31b526(0x199)][_0x31b526(0x191)]),_0x1694f4={'method':_0x4a67d6[_0x31b526(0x130)],'httpsAgent':new https[(_0x31b526(0x144))](_0x9dcf82),'url':_0x4a67d6[_0x31b526(0x19b)],'data':_0x4a67d6[_0x31b526(0x17a)],'headers':_0xfe65a3,'cancelToken':_0x30e47e[_0x31b526(0x12e)]};return extend(!![],_0x1694f4,_0x4a67d6),axios_1[_0x31b526(0x14d)][_0x31b526(0x189)](_0x1694f4)[_0x31b526(0x153)](_0xc8b019=>{const _0x3c09ab=_0x31b526;return _0x333224===null||_0x333224===void 0x0?void 0x0:_0x333224(null,_0xc8b019[_0x3c09ab(0x142)],_0xc8b019),{'error':null,'data':_0xc8b019[_0x3c09ab(0x142)],'res':_0xc8b019};})[_0x31b526(0x129)](_0xddcacd=>{const _0x1d7ab8=_0x31b526;var _0x4fb0e8,_0x41b419;return _0x333224===null||_0x333224===void 0x0?void 0x0:_0x333224(_0xddcacd,(_0x4fb0e8=_0xddcacd[_0x1d7ab8(0x171)])===null||_0x4fb0e8===void 0x0?void 0x0:_0x4fb0e8['data'],_0xddcacd[_0x1d7ab8(0x171)]),{'error':_0xddcacd,'data':(_0x41b419=_0xddcacd[_0x1d7ab8(0x171)])===null||_0x41b419===void 0x0?void 0x0:_0x41b419['data'],'res':_0xddcacd['response']};})['finally'](()=>clearTimeout(_0x1ff6ba));}[a6_0x561650(0x197)](_0x39cdf3,_0x1a11e6,_0x54d8d1){const _0x412501=a6_0x561650;if(_0x54d8d1[_0x412501(0x14f)])return undefined;const _0x47d83e=(0x0,crypto_1[_0x412501(0x13c)])(_0x412501(0x18b))[_0x412501(0x139)](_0x1a11e6[_0x412501(0x132)])[_0x412501(0x158)]('hex');return _0x54d8d1[_0x412501(0x181)]['includes'](_0x47d83e)?undefined:new Error('Certificate\x20Pinning\x20Failed!');}async[a6_0x561650(0x14b)](_0x3599a7){const _0x5527df=a6_0x561650;this[_0x5527df(0x195)]['info'](_0x5527df(0x134));const _0x3bc75a=this['apiUrl']+encodeURIComponent(_0x3599a7)+_0x5527df(0x147),{error:_0x360959,data:_0x4acf86}=await this[_0x5527df(0x1a4)]({'uri':_0x3bc75a,'json':!![]});if(_0x360959)return Promise[_0x5527df(0x178)](_0x360959);return _0x4acf86;}}exports[a6_0x561650(0x15f)]=Controller;function a6_0x3915(){const _0x35e586=['https','method','Failed\x20to\x20zip\x20','pubkey','load','Getting\x20reductions','Bearer\x20','lightrunSecret','toString','selfSignedCA','update','enqueueBreakpointUpdate','\x20Error:\x20','createHash','POST','transmissionBulkMaxSize','WritableStream','constructor','zlib','data','Timeout\x20occurred\x20after\x20','Agent','waitToken','register','/redaction','warn','debug','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','getRedactions','unable\x20to\x20register,\x20status\x20','default','length','noCheckCertificate','Failed\x20to\x20read\x20pem\x20file\x20\x22','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','assert','then','collectCooldownMs','nextWaitToken','shift','\x22\x20-\x20ignoring\x20it','digest','should\x20have\x20a\x20registered\x20debuggee','\x20for\x20request\x20','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','floor','Transmitting\x20breakpoint\x20updates...','memory-streams','Controller','\x20transmitted\x20successfully','293527OFKvFZ','948RVBJWg','45svmXGI','extend','64kkvwZP','/blacklist?successOnTimeout=true','apiUrl','bind','axios','1158355CCzhao','max','maxLogFileBytes','/appOnlyActionHits/','readFileSync','statSync','message','response','ascii','crypto','apply','stream','push','188ZrXWKe','reject','debuggee','body','30cNejjL','secureContext','lastLogCollectionTime','agentLog','clearTransmissionTimeout','Getting\x20blocklist','pinnedCerts','map','PUT','/debuggees/','status','toBuffer','caPath','Compressing\x20and\x20sending\x20log\x20file\x20','request','context','sha256','transmitBreakpointUpdates','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','(((.+)+)+)+$','sendAgentLogsToServer','querystring','requestTimeoutMs','transmissionTimeout','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','cancel','logger','deregister','verifyCertificate','addCACert','config','apiEndpoint','uri','959432UhUNjt','Successfully\x20sent\x20log\x20file\x20','createSecureContext','/breakpoints','\x20for\x20request\x20id\x20','size','info','420ntatSo','makeRequest','search','102990CbSJcv','Failed\x20to\x20send\x20log\x20file\x20','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','agentId','64085FYfsay','Update\x20for\x20breakpoints\x20','now','2018FZotBM','source','transmissionQueue','3804122RmBAld','/controller','js-yaml','Breakpoint\x20','https://','tls','catch','@google-cloud/common','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','\x20seconds','sendBreakpointLogsToServer','token'];a6_0x3915=function(){return _0x35e586;};return a6_0x3915();}function is2xx(_0x2f3a97){return Math['floor'](_0x2f3a97/0x64)===0x2;}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function a7_0x5421(_0x18f45f,_0x559c1d){const _0x51d550=a7_0x40fb();return a7_0x5421=function(_0x4630ee,_0x12c7e8){_0x4630ee=_0x4630ee-0x1ad;let _0x40fbc3=_0x51d550[_0x4630ee];return _0x40fbc3;},a7_0x5421(_0x18f45f,_0x559c1d);}const a7_0x581dde=a7_0x5421;(function(_0x523231,_0x4347ea){const _0x184feb=a7_0x5421,_0x1c032e=_0x523231();while(!![]){try{const _0x19cc3e=parseInt(_0x184feb(0x1c2))/0x1+-parseInt(_0x184feb(0x1d2))/0x2*(parseInt(_0x184feb(0x1b2))/0x3)+parseInt(_0x184feb(0x1ae))/0x4*(parseInt(_0x184feb(0x1d1))/0x5)+parseInt(_0x184feb(0x1cc))/0x6*(-parseInt(_0x184feb(0x1cb))/0x7)+-parseInt(_0x184feb(0x1af))/0x8*(-parseInt(_0x184feb(0x1bb))/0x9)+parseInt(_0x184feb(0x1c8))/0xa+-parseInt(_0x184feb(0x1cf))/0xb;if(_0x19cc3e===_0x4347ea)break;else _0x1c032e['push'](_0x1c032e['shift']());}catch(_0x2c25d7){_0x1c032e['push'](_0x1c032e['shift']());}}}(a7_0x40fb,0x5fdb3));const a7_0x12c7e8=(function(){let _0x29f9e1=!![];return function(_0x23b284,_0x2e8b27){const _0xbc938e=_0x29f9e1?function(){const _0xd9c9a3=a7_0x5421;if(_0x2e8b27){const _0x1fe1d0=_0x2e8b27[_0xd9c9a3(0x1b1)](_0x23b284,arguments);return _0x2e8b27=null,_0x1fe1d0;}}:function(){};return _0x29f9e1=![],_0xbc938e;};}()),a7_0x4630ee=a7_0x12c7e8(this,function(){const _0x203831=a7_0x5421;return a7_0x4630ee[_0x203831(0x1cd)]()['search'](_0x203831(0x1c6))[_0x203831(0x1cd)]()[_0x203831(0x1d3)](a7_0x4630ee)[_0x203831(0x1bc)](_0x203831(0x1c6));});a7_0x4630ee();'use strict';Object[a7_0x581dde(0x1b7)](exports,a7_0x581dde(0x1ce),{'value':!![]}),exports[a7_0x581dde(0x1b4)]=void 0x0;const path=require('path'),status_message_1=require(a7_0x581dde(0x1b9)),debuggee_1=require('../../debuggee'),createDebuggeeMetadata_1=require('./createDebuggeeMetadata'),createUniquifier_1=require(a7_0x581dde(0x1be)),getPlatform_1=require('./getPlatform'),createDebuggee=(_0x5773c6,_0x37eb8b,_0x260e0d,_0x1ab0ff,_0x1babca,_0x128351,_0x28c5a5,_0xefbf14)=>{const _0x3b47a3=a7_0x581dde,_0x53e68d=process[_0x3b47a3(0x1b8)](),_0x2ac74a=path['relative'](_0x53e68d,process[_0x3b47a3(0x1b5)][0x1]),_0x4f6136={'main\x20script':_0x2ac74a,'process.title':process['title'],'node\x20version':process['versions']['node'],'V8\x20version':process['versions']['v8'],'agent.name':_0x1ab0ff[_0x3b47a3(0x1b0)],'agent.version':_0x1babca,'platform':(0x0,getPlatform_1[_0x3b47a3(0x1c7)])()},_0x476ac1=_0x37eb8b[_0x3b47a3(0x1c9)];_0x476ac1&&(typeof _0x476ac1[_0x3b47a3(0x1b6)]===_0x3b47a3(0x1ca)&&_0x476ac1[_0x3b47a3(0x1b6)]!==_0x3b47a3(0x1c3)&&(_0x4f6136[_0x3b47a3(0x1bd)]=_0x476ac1[_0x3b47a3(0x1b6)]),typeof _0x476ac1[_0x3b47a3(0x1c0)]===_0x3b47a3(0x1ca)&&(_0x4f6136[_0x3b47a3(0x1c0)]=_0x476ac1['version']),typeof _0x476ac1[_0x3b47a3(0x1ad)]===_0x3b47a3(0x1ca)&&(_0x4f6136[_0x3b47a3(0x1d0)]=_0x476ac1[_0x3b47a3(0x1ad)]));const _0x39bf98=(0x0,createUniquifier_1['createUniquifier'])(_0x1babca,_0x5773c6,_0x260e0d,_0x4f6136),_0x133c20=_0xefbf14?new status_message_1['StatusMessage'](status_message_1[_0x3b47a3(0x1ba)][_0x3b47a3(0x1c4)],_0xefbf14,!![]):undefined,_0x14192c=(0x0,createDebuggeeMetadata_1[_0x3b47a3(0x1c1)])(_0x37eb8b,_0x128351),_0x1013f2={'uniquifier':_0x39bf98,'agentVersion':_0x1babca,'labels':{'metadata':JSON[_0x3b47a3(0x1bf)](_0x14192c)},'statusMessage':_0x133c20,'packageInfo':_0x1ab0ff,..._0x28c5a5};return _0x260e0d&&(_0x1013f2[_0x3b47a3(0x1c5)]=[_0x260e0d]),new debuggee_1[(_0x3b47a3(0x1b3))](_0x1013f2);};function a7_0x40fb(){const _0xc6ab01=['7ljjvZY','3391158zbrwMD','toString','__esModule','2814570iPbLcu','minorversion','683030OSyzJx','6BrXQcx','constructor','minorVersion_','16BHsMQu','47288GbNSZq','name','apply','427092KXetpz','Debuggee','createDebuggee','argv','service','defineProperty','cwd','../../client/stackdriver/status-message','StatusMessage','801EeEXvA','search','module','./createUniquifier','stringify','version','createDebuggeeMetadata','471727pKSCwh','default','UNSPECIFIED','sourceContexts','(((.+)+)+)+$','getPlatform','965520KVZtxu','serviceContext','string'];a7_0x40fb=function(){return _0xc6ab01;};return a7_0x40fb();}exports[a7_0x581dde(0x1b4)]=createDebuggee;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a8_0x2b55bf=a8_0x5d11;(function(_0x2f5395,_0x486492){const _0x5c2acd=a8_0x5d11,_0x2c6336=_0x2f5395();while(!![]){try{const _0x11ed4d=-parseInt(_0x5c2acd(0x117))/0x1*(parseInt(_0x5c2acd(0x11f))/0x2)+parseInt(_0x5c2acd(0x126))/0x3*(parseInt(_0x5c2acd(0x121))/0x4)+parseInt(_0x5c2acd(0x11e))/0x5*(parseInt(_0x5c2acd(0x120))/0x6)+-parseInt(_0x5c2acd(0x118))/0x7*(parseInt(_0x5c2acd(0x124))/0x8)+-parseInt(_0x5c2acd(0x123))/0x9+parseInt(_0x5c2acd(0x127))/0xa+-parseInt(_0x5c2acd(0x11c))/0xb*(-parseInt(_0x5c2acd(0x12c))/0xc);if(_0x11ed4d===_0x486492)break;else _0x2c6336['push'](_0x2c6336['shift']());}catch(_0x4c77bc){_0x2c6336['push'](_0x2c6336['shift']());}}}(a8_0x4b22,0x95cd7));const a8_0x712472=(function(){let _0x29c2e7=!![];return function(_0x438530,_0x4fd295){const _0x2132aa=_0x29c2e7?function(){if(_0x4fd295){const _0x33a0b9=_0x4fd295['apply'](_0x438530,arguments);return _0x4fd295=null,_0x33a0b9;}}:function(){};return _0x29c2e7=![],_0x2132aa;};}()),a8_0x49747f=a8_0x712472(this,function(){const _0x2deca5=a8_0x5d11;return a8_0x49747f['toString']()[_0x2deca5(0x116)]('(((.+)+)+)+$')[_0x2deca5(0x128)]()[_0x2deca5(0x130)](a8_0x49747f)[_0x2deca5(0x116)]('(((.+)+)+)+$');});a8_0x49747f();'use strict';function a8_0x4b22(){const _0x1e04d9=['32SKfUJQ','defineProperty','1353399MUYZhB','9323030wOzjrk','toString','__esModule','readFileSync','metadata','284568EXNYgl','registration','Failed\x20to\x20read\x20metadata\x20file\x20','map','constructor','warn','search','44777ZZykyi','143542qjqdSm','utf-8','string','extend','550hTWTTS','tags','131420FevIxt','52OpgIIs','60EXaTvG','4uDSLFV','filename','8749431Hqwrqp'];a8_0x4b22=function(){return _0x1e04d9;};return a8_0x4b22();}Object[a8_0x2b55bf(0x125)](exports,a8_0x2b55bf(0x129),{'value':!![]}),exports['createDebuggeeMetadata']=void 0x0;function a8_0x5d11(_0x4a20be,_0x33d191){const _0xd60937=a8_0x4b22();return a8_0x5d11=function(_0x49747f,_0x712472){_0x49747f=_0x49747f-0x115;let _0x4b222d=_0xd60937[_0x49747f];return _0x4b222d;},a8_0x5d11(_0x4a20be,_0x33d191);}const fs=require('fs'),extend=require(a8_0x2b55bf(0x11b)),createDebuggeeMetadata=(_0x15cdba,_0x5cb79d)=>{const _0x10e643=a8_0x2b55bf;var _0x4e6294,_0x126b90,_0x4735f6;let _0xde3920={'registration':{}};if((_0x4e6294=_0x15cdba[_0x10e643(0x12b)])===null||_0x4e6294===void 0x0?void 0x0:_0x4e6294[_0x10e643(0x122)])try{_0xde3920=JSON['parse'](fs[_0x10e643(0x12a)](_0x15cdba[_0x10e643(0x12b)][_0x10e643(0x122)],_0x10e643(0x119)));}catch(_0x417c54){_0x5cb79d[_0x10e643(0x115)](_0x10e643(0x12e)+_0x15cdba[_0x10e643(0x12b)][_0x10e643(0x122)],_0x417c54);}return _0xde3920[_0x10e643(0x12d)]=extend(!![],{},(_0x126b90=_0x15cdba['metadata'])===null||_0x126b90===void 0x0?void 0x0:_0x126b90[_0x10e643(0x12d)],_0xde3920[_0x10e643(0x12d)]),((_0x4735f6=_0xde3920[_0x10e643(0x12d)])===null||_0x4735f6===void 0x0?void 0x0:_0x4735f6[_0x10e643(0x11d)])&&(_0xde3920['registration'][_0x10e643(0x11d)]=_0xde3920['registration'][_0x10e643(0x11d)][_0x10e643(0x12f)](_0x7a8108=>typeof _0x7a8108===_0x10e643(0x11a)?{'name':_0x7a8108}:_0x7a8108)),_0xde3920;};exports['createDebuggeeMetadata']=createDebuggeeMetadata;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a9_0x7ddc64=a9_0x4d33;(function(_0x528149,_0x31dfb8){const _0x41c4c9=a9_0x4d33,_0x47c421=_0x528149();while(!![]){try{const _0x2774b2=parseInt(_0x41c4c9(0x14f))/0x1+-parseInt(_0x41c4c9(0x140))/0x2+parseInt(_0x41c4c9(0x141))/0x3+-parseInt(_0x41c4c9(0x148))/0x4*(-parseInt(_0x41c4c9(0x142))/0x5)+-parseInt(_0x41c4c9(0x150))/0x6+parseInt(_0x41c4c9(0x14e))/0x7*(-parseInt(_0x41c4c9(0x151))/0x8)+-parseInt(_0x41c4c9(0x145))/0x9;if(_0x2774b2===_0x31dfb8)break;else _0x47c421['push'](_0x47c421['shift']());}catch(_0x11858a){_0x47c421['push'](_0x47c421['shift']());}}}(a9_0x71ed,0x33438));const a9_0x5f30ad=(function(){let _0x467ba9=!![];return function(_0x90239b,_0x4c2832){const _0x588c73=_0x467ba9?function(){const _0x6ad73c=a9_0x4d33;if(_0x4c2832){const _0x5e8d03=_0x4c2832[_0x6ad73c(0x13e)](_0x90239b,arguments);return _0x4c2832=null,_0x5e8d03;}}:function(){};return _0x467ba9=![],_0x588c73;};}()),a9_0x282eac=a9_0x5f30ad(this,function(){const _0x72941=a9_0x4d33;return a9_0x282eac[_0x72941(0x152)]()['search'](_0x72941(0x146))[_0x72941(0x152)]()['constructor'](a9_0x282eac)[_0x72941(0x13f)](_0x72941(0x146));});a9_0x282eac();function a9_0x71ed(){const _0x39264f=['132787tnXHhA','467292kGQVAT','77848hFfGvH','toString','crypto','apply','search','696886uRSrtW','1160415tvrhna','11755lZbiSz','hex','createHash','2286855MtVOdt','(((.+)+)+)+$','update','664NTjIyY','createUniquifier','digest','defineProperty','stringify','sha1','14KmNUtn'];a9_0x71ed=function(){return _0x39264f;};return a9_0x71ed();}'use strict';Object[a9_0x7ddc64(0x14b)](exports,'__esModule',{'value':!![]}),exports[a9_0x7ddc64(0x149)]=void 0x0;const crypto=require(a9_0x7ddc64(0x153)),createUniquifier=(_0x4cda94,_0x566df1,_0x375784,_0x37275a)=>{const _0x3a76ba=a9_0x7ddc64,_0x574156=_0x4cda94+_0x566df1+JSON[_0x3a76ba(0x14c)](_0x375784)+JSON['stringify'](_0x37275a);return crypto[_0x3a76ba(0x144)](_0x3a76ba(0x14d))[_0x3a76ba(0x147)](_0x574156)[_0x3a76ba(0x14a)](_0x3a76ba(0x143));};function a9_0x4d33(_0x57e855,_0x5612cc){const _0x5bd574=a9_0x71ed();return a9_0x4d33=function(_0x282eac,_0x5f30ad){_0x282eac=_0x282eac-0x13e;let _0x71edb3=_0x5bd574[_0x282eac];return _0x71edb3;},a9_0x4d33(_0x57e855,_0x5612cc);}exports['createUniquifier']=createUniquifier;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function a10_0x267d(){const _0x59e899=['51784lLKQVX','91DjwhGy','toString','50QVOkkj','77628gcppDQ','756072gOFzaE','__esModule','8mfeYdg','defineProperty','7821050JiSaHL','(((.+)+)+)+$','length','123813ICDjQz','delimit','apply','split','1424504rOWuNI','219379cDWKFW','constructor','push','search'];a10_0x267d=function(){return _0x59e899;};return a10_0x267d();}const a10_0x4be863=a10_0x1e1c;(function(_0x20e1ec,_0x2a7b70){const _0x11f521=a10_0x1e1c,_0x597b2f=_0x20e1ec();while(!![]){try{const _0x11137b=-parseInt(_0x11f521(0x16a))/0x1+-parseInt(_0x11f521(0x160))/0x2*(-parseInt(_0x11f521(0x165))/0x3)+-parseInt(_0x11f521(0x159))/0x4*(parseInt(_0x11f521(0x15c))/0x5)+parseInt(_0x11f521(0x15d))/0x6*(-parseInt(_0x11f521(0x15a))/0x7)+-parseInt(_0x11f521(0x169))/0x8+-parseInt(_0x11f521(0x15e))/0x9+parseInt(_0x11f521(0x162))/0xa;if(_0x11137b===_0x2a7b70)break;else _0x597b2f['push'](_0x597b2f['shift']());}catch(_0x43f10f){_0x597b2f['push'](_0x597b2f['shift']());}}}(a10_0x267d,0x29095));const a10_0x273650=(function(){let _0x35e425=!![];return function(_0x37af53,_0x3191c3){const _0x3dc334=_0x35e425?function(){const _0x408939=a10_0x1e1c;if(_0x3191c3){const _0xa4adb4=_0x3191c3[_0x408939(0x167)](_0x37af53,arguments);return _0x3191c3=null,_0xa4adb4;}}:function(){};return _0x35e425=![],_0x3dc334;};}()),a10_0x1e1c0a=a10_0x273650(this,function(){const _0x3bc6c3=a10_0x1e1c;return a10_0x1e1c0a['toString']()[_0x3bc6c3(0x158)](_0x3bc6c3(0x163))[_0x3bc6c3(0x15b)]()[_0x3bc6c3(0x16b)](a10_0x1e1c0a)['search'](_0x3bc6c3(0x163));});a10_0x1e1c0a();function a10_0x1e1c(_0xaa4afc,_0xe3cdf6){const _0xb12974=a10_0x267d();return a10_0x1e1c=function(_0x1e1c0a,_0x273650){_0x1e1c0a=_0x1e1c0a-0x158;let _0x267dcc=_0xb12974[_0x1e1c0a];return _0x267dcc;},a10_0x1e1c(_0xaa4afc,_0xe3cdf6);}'use strict';Object[a10_0x4be863(0x161)](exports,a10_0x4be863(0x15f),{'value':!![]}),exports[a10_0x4be863(0x166)]=void 0x0;const delimit=(_0x1dbebe,_0x2a3e2e)=>{const _0x4fc5bb=a10_0x4be863,_0x596db5=_0x1dbebe[_0x4fc5bb(0x168)](_0x2a3e2e),_0x53ff14=[];_0x53ff14[_0x4fc5bb(0x16c)](_0x596db5[0x0]);for(let _0x1f8b6c=0x1;_0x1f8b6c<_0x596db5[_0x4fc5bb(0x164)];_0x1f8b6c++){_0x53ff14[_0x4fc5bb(0x16c)]({'v':_0x2a3e2e},_0x596db5[_0x1f8b6c]);}return _0x53ff14;};exports[a10_0x4be863(0x166)]=delimit;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function a11_0x17dd(){const _0x1f2975=['(((.+)+)+)+$','392452nxUnHT','__esModule','1034757GHVLfd','7411734fqyKik','15524IxqpJJ','20488pDDAsF','length','format','toString','search','constructor','14sbTqXa','15567rLPizm','175KlOQOo','apply','defineProperty','302376gsgnyM'];a11_0x17dd=function(){return _0x1f2975;};return a11_0x17dd();}const a11_0x3ae3c4=a11_0x302b;(function(_0x5e1e92,_0x3f8859){const _0x34c688=a11_0x302b,_0x1118b0=_0x5e1e92();while(!![]){try{const _0x10dfea=-parseInt(_0x34c688(0x1fa))/0x1+-parseInt(_0x34c688(0x1ee))/0x2+-parseInt(_0x34c688(0x1f0))/0x3+-parseInt(_0x34c688(0x1f2))/0x4*(parseInt(_0x34c688(0x1fb))/0x5)+parseInt(_0x34c688(0x1fe))/0x6+-parseInt(_0x34c688(0x1f9))/0x7*(parseInt(_0x34c688(0x1f3))/0x8)+parseInt(_0x34c688(0x1f1))/0x9;if(_0x10dfea===_0x3f8859)break;else _0x1118b0['push'](_0x1118b0['shift']());}catch(_0x42aefb){_0x1118b0['push'](_0x1118b0['shift']());}}}(a11_0x17dd,0x2b07d));const a11_0x51df41=(function(){let _0x125193=!![];return function(_0x5c4517,_0x6cdc73){const _0x219e29=_0x125193?function(){const _0x2ec695=a11_0x302b;if(_0x6cdc73){const _0x5d2138=_0x6cdc73[_0x2ec695(0x1fc)](_0x5c4517,arguments);return _0x6cdc73=null,_0x5d2138;}}:function(){};return _0x125193=![],_0x219e29;};}()),a11_0x7be838=a11_0x51df41(this,function(){const _0x175d4b=a11_0x302b;return a11_0x7be838[_0x175d4b(0x1f6)]()[_0x175d4b(0x1f7)](_0x175d4b(0x1ed))[_0x175d4b(0x1f6)]()[_0x175d4b(0x1f8)](a11_0x7be838)['search'](_0x175d4b(0x1ed));});a11_0x7be838();function a11_0x302b(_0xa5a344,_0x4567d6){const _0x5cc54a=a11_0x17dd();return a11_0x302b=function(_0x7be838,_0x51df41){_0x7be838=_0x7be838-0x1ed;let _0x17dde=_0x5cc54a[_0x7be838];return _0x17dde;},a11_0x302b(_0xa5a344,_0x4567d6);}'use strict';Object[a11_0x3ae3c4(0x1fd)](exports,a11_0x3ae3c4(0x1ef),{'value':!![]}),exports[a11_0x3ae3c4(0x1f5)]=void 0x0;const tokenize_1=require('./tokenize'),format=(_0x15796e,_0x5e9096)=>{const _0x319f64=a11_0x3ae3c4,_0x17712a=(0x0,tokenize_1['tokenize'])(_0x15796e,_0x5e9096[_0x319f64(0x1f4)]);for(let _0x47f02b=0x0;_0x47f02b<_0x17712a['length'];_0x47f02b++){if(!_0x17712a[_0x47f02b]['v'])continue;if(_0x17712a[_0x47f02b]['v']==='$$'){_0x17712a[_0x47f02b]='$';continue;}for(let _0x20ff91=0x0;_0x20ff91<_0x5e9096[_0x319f64(0x1f4)];_0x20ff91++){if(_0x17712a[_0x47f02b]['v']==='$'+_0x20ff91){_0x17712a[_0x47f02b]=_0x5e9096[_0x20ff91];break;}}}return _0x17712a['join']('');};exports[a11_0x3ae3c4(0x1f5)]=format;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a12_0x3e9d54=a12_0x935c;(function(_0x895ba2,_0x4228b6){const _0x3c1eac=a12_0x935c,_0x47ac2a=_0x895ba2();while(!![]){try{const _0x1da3fe=-parseInt(_0x3c1eac(0x7e))/0x1*(-parseInt(_0x3c1eac(0x8b))/0x2)+parseInt(_0x3c1eac(0x7d))/0x3*(parseInt(_0x3c1eac(0x72))/0x4)+-parseInt(_0x3c1eac(0x69))/0x5*(-parseInt(_0x3c1eac(0x76))/0x6)+-parseInt(_0x3c1eac(0x89))/0x7*(-parseInt(_0x3c1eac(0x6a))/0x8)+parseInt(_0x3c1eac(0x81))/0x9+parseInt(_0x3c1eac(0x6c))/0xa+parseInt(_0x3c1eac(0x73))/0xb*(-parseInt(_0x3c1eac(0x64))/0xc);if(_0x1da3fe===_0x4228b6)break;else _0x47ac2a['push'](_0x47ac2a['shift']());}catch(_0x38aee7){_0x47ac2a['push'](_0x47ac2a['shift']());}}}(a12_0x254a,0x51da1));function a12_0x254a(){const _0x4431b7=['getFirst','204KDzeKT','3073zXqkiH','max_log_cpu_cost','transmission_bulk_max_size','2555766TZgqMM','toString','max_dynamic_log_rate','fetch_breakpoints_once','apiEndpoint','getBoolean','trim','pinned_certs','7qecMpw','getFloat','278plrezZ','dynamic_log_quota_recovery_ms','max_dynamic_log_bytes_rate','(((.+)+)+)+$','max_snapshot_buffer_size','24fneLRa','__esModule','getAgentConfig','split','apply','25nmrRYB','5261032zQgBlo','max_variable_size','6400330cZVFPg','max_condition_cost','max_watchlist_variable_size','getInt','agent_regmetadata_file','search','26288CTuCIr','15223087hCHdnM','extra_paths','existsSync','776904QMfuhh','collect_log_cooldown_ms','constructor','max_snapshot_frame_count','breakpoint_expiration_sec','noCheckCertificate'];a12_0x254a=function(){return _0x4431b7;};return a12_0x254a();}const a12_0x3c9262=(function(){let _0x40dffb=!![];return function(_0x45a830,_0x1817ef){const _0x3400b6=_0x40dffb?function(){const _0xac474d=a12_0x935c;if(_0x1817ef){const _0x16895d=_0x1817ef[_0xac474d(0x68)](_0x45a830,arguments);return _0x1817ef=null,_0x16895d;}}:function(){};return _0x40dffb=![],_0x3400b6;};}()),a12_0x14436b=a12_0x3c9262(this,function(){const _0x660122=a12_0x935c;return a12_0x14436b[_0x660122(0x82)]()[_0x660122(0x71)](_0x660122(0x8e))[_0x660122(0x82)]()[_0x660122(0x78)](a12_0x14436b)[_0x660122(0x71)](_0x660122(0x8e));});function a12_0x935c(_0x53b2d9,_0x16e165){const _0x33997b=a12_0x254a();return a12_0x935c=function(_0x14436b,_0x3c9262){_0x14436b=_0x14436b-0x64;let _0x254a41=_0x33997b[_0x14436b];return _0x254a41;},a12_0x935c(_0x53b2d9,_0x16e165);}a12_0x14436b();'use strict';Object['defineProperty'](exports,a12_0x3e9d54(0x65),{'value':!![]}),exports['getAgentConfig']=void 0x0;const properties=require('java-properties'),fs=require('fs'),getAgentConfig=_0x591cb6=>{const _0x252f24=a12_0x3e9d54;var _0x3ce800,_0x3a240d,_0x4e47cd;if(fs[_0x252f24(0x75)](_0x591cb6)){const _0xc3d35c=properties['of'](_0x591cb6);return{'lightrunSecret':_0xc3d35c[_0x252f24(0x7c)]('com.lightrun.secret'),'apiEndpoint':_0xc3d35c[_0x252f24(0x7c)](_0x252f24(0x85)),'breakpointExpirationSec':_0xc3d35c[_0x252f24(0x6f)](_0x252f24(0x7a)),'transmissionBulkMaxSize':_0xc3d35c['getInt'](_0x252f24(0x80)),'noCheckCertificate':_0xc3d35c[_0x252f24(0x86)](_0x252f24(0x7b)),'pinnedCerts':(_0x3ce800=_0xc3d35c[_0x252f24(0x7c)](_0x252f24(0x88)))===null||_0x3ce800===void 0x0?void 0x0:_0x3ce800[_0x252f24(0x67)](','),'metadata':{'filename':_0xc3d35c[_0x252f24(0x7c)](_0x252f24(0x70))},'capture':{'maxFrames':_0xc3d35c['getInt'](_0x252f24(0x79)),'maxDataSize':_0xc3d35c['getInt'](_0x252f24(0x8f)),'maxSnapshotBufferSize':_0xc3d35c[_0x252f24(0x6f)](_0x252f24(0x8f)),'maxVariableSize':_0xc3d35c[_0x252f24(0x6f)](_0x252f24(0x6b)),'maxWatchListVariableSize':_0xc3d35c['getInt'](_0x252f24(0x6e))},'agentLog':{'collectCooldownMs':_0xc3d35c['getInt'](_0x252f24(0x77)),'maxLogFileBytes':_0xc3d35c[_0x252f24(0x6f)]('max_log_file_bytes')},'quota':{'ignoreQuota':_0xc3d35c[_0x252f24(0x86)]('ignore_quota'),'maxCPUCost':_0xc3d35c[_0x252f24(0x8a)](_0x252f24(0x7f)),'maxConditionCost':_0xc3d35c[_0x252f24(0x8a)](_0x252f24(0x6d)),'maxDynamicLogRate':_0xc3d35c[_0x252f24(0x6f)](_0x252f24(0x83)),'maxDynamicLogByteRate':_0xc3d35c[_0x252f24(0x6f)](_0x252f24(0x8d)),'quotaRecoverySeconds':_0xc3d35c[_0x252f24(0x6f)](_0x252f24(0x8c))&&_0xc3d35c[_0x252f24(0x6f)](_0x252f24(0x8c))/0x3e8},'fetchBreakpointsOnce':_0xc3d35c['getBoolean'](_0x252f24(0x84)),'extraPaths':(_0x4e47cd=(_0x3a240d=_0xc3d35c[_0x252f24(0x7c)](_0x252f24(0x74)))===null||_0x3a240d===void 0x0?void 0x0:_0x3a240d['split'](','))===null||_0x4e47cd===void 0x0?void 0x0:_0x4e47cd['map'](_0x53ab3d=>_0x53ab3d[_0x252f24(0x87)]())};}return;};exports[a12_0x3e9d54(0x66)]=getAgentConfig;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function a13_0x5d89(){const _0x3876f3=['11910vEXmsD','293McOzeU','100kGFDTq','cloud_function','126480azZGqV','env','956592HzYkJl','35sbRZtD','getPlatform','defineProperty','apply','Platforms','search','42XWqKfW','844516SOTFLD','1487604uUEage','62293561TdOwdN','constructor','3121104CRKMUB','(((.+)+)+)+$','default','CLOUD_FUNCTION','DEFAULT','toString'];a13_0x5d89=function(){return _0x3876f3;};return a13_0x5d89();}const a13_0x4e2095=a13_0x3069;(function(_0x445263,_0x1eff45){const _0x440373=a13_0x3069,_0x17f6ca=_0x445263();while(!![]){try{const _0x33cf50=parseInt(_0x440373(0x1d4))/0x1*(-parseInt(_0x440373(0x1d3))/0x2)+parseInt(_0x440373(0x1cd))/0x3+parseInt(_0x440373(0x1c9))/0x4*(-parseInt(_0x440373(0x1c2))/0x5)+-parseInt(_0x440373(0x1ca))/0x6*(parseInt(_0x440373(0x1c8))/0x7)+-parseInt(_0x440373(0x1d7))/0x8+-parseInt(_0x440373(0x1d9))/0x9*(parseInt(_0x440373(0x1d5))/0xa)+parseInt(_0x440373(0x1cb))/0xb;if(_0x33cf50===_0x1eff45)break;else _0x17f6ca['push'](_0x17f6ca['shift']());}catch(_0x4b21fd){_0x17f6ca['push'](_0x17f6ca['shift']());}}}(a13_0x5d89,0xdf3e7));Object[a13_0x4e2095(0x1c4)](exports,'__esModule',{'value':!![]}),exports[a13_0x4e2095(0x1c3)]=exports[a13_0x4e2095(0x1c6)]=void 0x0;var Platforms;(function(_0x1b7e18){const _0x49a645=a13_0x4e2095,_0x56c367=(function(){let _0x211e42=!![];return function(_0xdbccaf,_0x4b971f){const _0x31c982=_0x211e42?function(){const _0x389bd1=a13_0x3069;if(_0x4b971f){const _0x19e0f7=_0x4b971f[_0x389bd1(0x1c5)](_0xdbccaf,arguments);return _0x4b971f=null,_0x19e0f7;}}:function(){};return _0x211e42=![],_0x31c982;};}()),_0x5014a7=_0x56c367(this,function(){const _0xc6b289=a13_0x3069;return _0x5014a7[_0xc6b289(0x1d2)]()[_0xc6b289(0x1c7)](_0xc6b289(0x1ce))[_0xc6b289(0x1d2)]()[_0xc6b289(0x1cc)](_0x5014a7)[_0xc6b289(0x1c7)](_0xc6b289(0x1ce));});_0x5014a7(),_0x1b7e18[_0x49a645(0x1d0)]=_0x49a645(0x1d6),_0x1b7e18[_0x49a645(0x1d1)]=_0x49a645(0x1cf);}(Platforms=exports['Platforms']||(exports[a13_0x4e2095(0x1c6)]={})));function a13_0x3069(_0x30630a,_0x36fae7){const _0x5ae8de=a13_0x5d89();return a13_0x3069=function(_0x395c49,_0x5df0b0){_0x395c49=_0x395c49-0x1c2;let _0x5d8924=_0x5ae8de[_0x395c49];return _0x5d8924;},a13_0x3069(_0x30630a,_0x36fae7);}const getPlatform=()=>{const _0x37e80a=a13_0x4e2095,{FUNCTION_NAME:_0x374a9e,FUNCTION_TARGET:_0x10df7d}=process[_0x37e80a(0x1d8)];if(_0x374a9e||_0x10df7d)return Platforms[_0x37e80a(0x1d0)];return Platforms[_0x37e80a(0x1d1)];};exports[a13_0x4e2095(0x1c3)]=getPlatform;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a14_0x3da6af=a14_0x15fd;(function(_0x584880,_0x17aaa2){const _0x4524c1=a14_0x15fd,_0x128f85=_0x584880();while(!![]){try{const _0x2a95cd=-parseInt(_0x4524c1(0x114))/0x1*(parseInt(_0x4524c1(0x118))/0x2)+-parseInt(_0x4524c1(0x11e))/0x3*(-parseInt(_0x4524c1(0x122))/0x4)+-parseInt(_0x4524c1(0x115))/0x5+-parseInt(_0x4524c1(0x117))/0x6+parseInt(_0x4524c1(0x113))/0x7+-parseInt(_0x4524c1(0x11f))/0x8*(parseInt(_0x4524c1(0x121))/0x9)+parseInt(_0x4524c1(0x112))/0xa;if(_0x2a95cd===_0x17aaa2)break;else _0x128f85['push'](_0x128f85['shift']());}catch(_0x5c2dc3){_0x128f85['push'](_0x128f85['shift']());}}}(a14_0x4891,0xb1c6a));const a14_0x321859=(function(){let _0xc9bad9=!![];return function(_0x3325eb,_0x26e235){const _0xb341d8=_0xc9bad9?function(){const _0x1e4697=a14_0x15fd;if(_0x26e235){const _0x51660b=_0x26e235[_0x1e4697(0x11d)](_0x3325eb,arguments);return _0x26e235=null,_0x51660b;}}:function(){};return _0xc9bad9=![],_0xb341d8;};}()),a14_0x4e4fda=a14_0x321859(this,function(){const _0x2ae61e=a14_0x15fd;return a14_0x4e4fda[_0x2ae61e(0x11a)]()[_0x2ae61e(0x11b)](_0x2ae61e(0x123))['toString']()[_0x2ae61e(0x119)](a14_0x4e4fda)[_0x2ae61e(0x11b)](_0x2ae61e(0x123));});function a14_0x15fd(_0x45f1c4,_0x467870){const _0x3bf7bc=a14_0x4891();return a14_0x15fd=function(_0x4e4fda,_0x321859){_0x4e4fda=_0x4e4fda-0x112;let _0x489152=_0x3bf7bc[_0x4e4fda];return _0x489152;},a14_0x15fd(_0x45f1c4,_0x467870);}a14_0x4e4fda();'use strict';function a14_0x4891(){const _0x520058=['3256113pmJymG','460255MWBWmx','5522825Kxcswb','mapSubtract','7019406WcvzTO','4gLqyqP','constructor','toString','search','defineProperty','apply','378pWikZk','91112pLrNUI','push','162dRBJuc','22772NkUYqK','(((.+)+)+)+$','29456710UjCNKu'];a14_0x4891=function(){return _0x520058;};return a14_0x4891();}Object[a14_0x3da6af(0x11c)](exports,'__esModule',{'value':!![]}),exports[a14_0x3da6af(0x116)]=void 0x0;const mapSubtract=(_0x29f94c,_0x5adb04)=>{const _0x4d0ac1=a14_0x3da6af,_0x261a54=[];for(const _0xff631 in _0x29f94c){!_0x5adb04[_0xff631]&&_0x261a54[_0x4d0ac1(0x120)](_0x29f94c[_0xff631]);}return _0x261a54;};exports[a14_0x3da6af(0x116)]=mapSubtract;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a15_0x174550=a15_0x262f;(function(_0x64b785,_0x2630f5){const _0x2a7dd5=a15_0x262f,_0xb36517=_0x64b785();while(!![]){try{const _0x32105e=parseInt(_0x2a7dd5(0x89))/0x1+parseInt(_0x2a7dd5(0x8a))/0x2*(-parseInt(_0x2a7dd5(0x6e))/0x3)+-parseInt(_0x2a7dd5(0x8e))/0x4+-parseInt(_0x2a7dd5(0x81))/0x5+parseInt(_0x2a7dd5(0x76))/0x6+-parseInt(_0x2a7dd5(0x7f))/0x7+-parseInt(_0x2a7dd5(0x75))/0x8*(-parseInt(_0x2a7dd5(0x6a))/0x9);if(_0x32105e===_0x2630f5)break;else _0xb36517['push'](_0xb36517['shift']());}catch(_0x489442){_0xb36517['push'](_0xb36517['shift']());}}}(a15_0x28de,0x3b54c));const a15_0x839ac7=(function(){let _0x520606=!![];return function(_0x27ba2a,_0xa30fc7){const _0x300c4d=_0x520606?function(){const _0x1cdc5e=a15_0x262f;if(_0xa30fc7){const _0x970cba=_0xa30fc7[_0x1cdc5e(0x84)](_0x27ba2a,arguments);return _0xa30fc7=null,_0x970cba;}}:function(){};return _0x520606=![],_0x300c4d;};}()),a15_0x47a532=a15_0x839ac7(this,function(){const _0x4ea2c9=a15_0x262f;return a15_0x47a532[_0x4ea2c9(0x7d)]()[_0x4ea2c9(0x83)](_0x4ea2c9(0x69))[_0x4ea2c9(0x7d)]()[_0x4ea2c9(0x67)](a15_0x47a532)[_0x4ea2c9(0x83)](_0x4ea2c9(0x69));});function a15_0x262f(_0x13e632,_0x54ee50){const _0x15d818=a15_0x28de();return a15_0x262f=function(_0x47a532,_0x839ac7){_0x47a532=_0x47a532-0x64;let _0x28de16=_0x15d818[_0x47a532];return _0x28de16;},a15_0x262f(_0x13e632,_0x54ee50);}a15_0x47a532();'use strict';Object['defineProperty'](exports,a15_0x174550(0x7e),{'value':!![]}),exports[a15_0x174550(0x72)]=void 0x0;function a15_0x28de(){const _0x5dd9d5=['__esModule','83566urrzdt','env','471410qaTxOk','GAE_MODULE_VERSION','search','apply','registration','defaultConfig','LIGHTRUN_API_ENDPOINT','serviceContext','426952aIZTbZ','59916wxcaJW','split','LIGHTRUN_METADATA_FILE','metadata','1098596ePHNDj','LIGHTRUN_SECRET','../config','GAE_DEPLOYMENT_ID','GAE_VERSION','constructor','agentConfigFile','(((.+)+)+)+$','316566KonZww','K_REVISION','FETCH_BREAKPOINTS_ONCE','LIGHTRUN_INIT_WAIT_TIME_MS','33dMHyrd','service','LIGHTRUN_TAGS','K_SERVICE','normalizeConfig','unversioned','./getAgentConfig','24FXRipN','2525718BSaqYB','NO_CHECK_CERTIFICATE','version','getBooleanValue','LIGHTRUN_WAIT_FOR_INIT','../util/utils','extend','toString'];a15_0x28de=function(){return _0x5dd9d5;};return a15_0x28de();}const extend=require(a15_0x174550(0x7c)),config_1=require(a15_0x174550(0x64)),utils_1=require(a15_0x174550(0x7b)),getAgentConfig_1=require(a15_0x174550(0x74)),normalizeConfig=_0x452118=>{const _0x32ff2f=a15_0x174550,_0x26673e={'serviceContext':{'service':process[_0x32ff2f(0x80)]['GAE_SERVICE']||process[_0x32ff2f(0x80)]['GAE_MODULE_NAME']||process['env'][_0x32ff2f(0x71)],'version':process[_0x32ff2f(0x80)][_0x32ff2f(0x66)]||process['env'][_0x32ff2f(0x82)]||process[_0x32ff2f(0x80)][_0x32ff2f(0x6b)],'minorVersion_':process[_0x32ff2f(0x80)][_0x32ff2f(0x65)]||process[_0x32ff2f(0x80)]['GAE_MINOR_VERSION']},'metadata':{'filename':process[_0x32ff2f(0x80)][_0x32ff2f(0x8c)],'registration':{}},'lightrunSecret':process[_0x32ff2f(0x80)][_0x32ff2f(0x8f)],'apiEndpoint':process[_0x32ff2f(0x80)][_0x32ff2f(0x87)],'noCheckCertificate':(0x0,utils_1[_0x32ff2f(0x79)])(process[_0x32ff2f(0x80)][_0x32ff2f(0x77)]),'fetchBreakpointsOnce':(0x0,utils_1[_0x32ff2f(0x79)])(process[_0x32ff2f(0x80)][_0x32ff2f(0x6c)]),'lightrunWaitForInit':(0x0,utils_1[_0x32ff2f(0x79)])(process[_0x32ff2f(0x80)][_0x32ff2f(0x7a)]),'lightrunInitWaitTimeMs':process[_0x32ff2f(0x80)][_0x32ff2f(0x6d)]};process[_0x32ff2f(0x80)]['FUNCTION_NAME']&&(_0x26673e[_0x32ff2f(0x88)][_0x32ff2f(0x6f)]=process[_0x32ff2f(0x80)]['FUNCTION_NAME'],_0x26673e[_0x32ff2f(0x88)][_0x32ff2f(0x78)]=_0x32ff2f(0x73));process[_0x32ff2f(0x80)][_0x32ff2f(0x70)]&&(_0x26673e[_0x32ff2f(0x8d)][_0x32ff2f(0x85)]={'tags':process[_0x32ff2f(0x80)][_0x32ff2f(0x70)][_0x32ff2f(0x8b)](',')});const _0x28e510=(0x0,getAgentConfig_1['getAgentConfig'])(process[_0x32ff2f(0x80)]['LIGHTRUN_AGENT_CONFIG']||(_0x452118===null||_0x452118===void 0x0?void 0x0:_0x452118[_0x32ff2f(0x68)])||config_1[_0x32ff2f(0x86)]['agentConfigFile']);return extend(!![],{},config_1['defaultConfig'],_0x28e510,_0x452118,_0x26673e);};exports[a15_0x174550(0x72)]=normalizeConfig;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a16_0xe790ea=a16_0x5b54;function a16_0x8b65(){const _0x5a5240=['length','defineProperty','./delimit','push','5VElzbB','661176lJjtMf','tokenize','toString','18XYbOuf','207372ZPvCLC','5216Hflzfp','70147lxvMfz','__esModule','825sWuLfr','254319OqCSTw','6412DLhBPa','969160ktUHrR','delimit','(((.+)+)+)+$','search','apply','120HoGsCJ','40MtIdFg'];a16_0x8b65=function(){return _0x5a5240;};return a16_0x8b65();}(function(_0xabaac2,_0x1efc67){const _0x54b4e5=a16_0x5b54,_0x30379d=_0xabaac2();while(!![]){try{const _0x445eaa=-parseInt(_0x54b4e5(0x170))/0x1*(-parseInt(_0x54b4e5(0x164))/0x2)+parseInt(_0x54b4e5(0x163))/0x3+-parseInt(_0x54b4e5(0x176))/0x4*(-parseInt(_0x54b4e5(0x162))/0x5)+-parseInt(_0x54b4e5(0x171))/0x6+parseInt(_0x54b4e5(0x177))/0x7*(-parseInt(_0x54b4e5(0x16b))/0x8)+parseInt(_0x54b4e5(0x174))/0x9*(-parseInt(_0x54b4e5(0x165))/0xa)+parseInt(_0x54b4e5(0x175))/0xb*(parseInt(_0x54b4e5(0x16a))/0xc);if(_0x445eaa===_0x1efc67)break;else _0x30379d['push'](_0x30379d['shift']());}catch(_0x5b690f){_0x30379d['push'](_0x30379d['shift']());}}}(a16_0x8b65,0x24b4e));const a16_0x1ee070=(function(){let _0x5ce9d4=!![];return function(_0x4dca76,_0x4a8aab){const _0x55bf8e=_0x5ce9d4?function(){const _0xec2ad4=a16_0x5b54;if(_0x4a8aab){const _0x123ccc=_0x4a8aab[_0xec2ad4(0x169)](_0x4dca76,arguments);return _0x4a8aab=null,_0x123ccc;}}:function(){};return _0x5ce9d4=![],_0x55bf8e;};}()),a16_0x58e382=a16_0x1ee070(this,function(){const _0x384cc2=a16_0x5b54;return a16_0x58e382[_0x384cc2(0x173)]()[_0x384cc2(0x168)](_0x384cc2(0x167))['toString']()['constructor'](a16_0x58e382)['search'](_0x384cc2(0x167));});a16_0x58e382();'use strict';Object[a16_0xe790ea(0x16d)](exports,a16_0xe790ea(0x161),{'value':!![]}),exports[a16_0xe790ea(0x172)]=void 0x0;function a16_0x5b54(_0x2f2349,_0x2016ca){const _0x2e3ed3=a16_0x8b65();return a16_0x5b54=function(_0x58e382,_0x1ee070){_0x58e382=_0x58e382-0x161;let _0x8b6521=_0x2e3ed3[_0x58e382];return _0x8b6521;},a16_0x5b54(_0x2f2349,_0x2016ca);}const delimit_1=require(a16_0xe790ea(0x16e)),tokenize=(_0x180fb7,_0xb1c4a4)=>{const _0x49a85f=a16_0xe790ea;let _0x29a8fa=(0x0,delimit_1[_0x49a85f(0x166)])(_0x180fb7,'$$');for(let _0x32594f=_0xb1c4a4-0x1;_0x32594f>=0x0;_0x32594f--){const _0x203369=[];for(let _0x4e5750=0x0;_0x4e5750<_0x29a8fa[_0x49a85f(0x16c)];_0x4e5750++){_0x29a8fa[_0x4e5750]['v']?_0x203369['push'](_0x29a8fa[_0x4e5750]):_0x203369[_0x49a85f(0x16f)](...(0x0,delimit_1[_0x49a85f(0x166)])(_0x29a8fa[_0x4e5750],'$'+_0x32594f));}_0x29a8fa=_0x203369;}return _0x29a8fa;};exports[a16_0xe790ea(0x172)]=tokenize;
|