lightrun 1.55.0 → 1.55.2
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
|
+
function a0_0x467c(_0x42b7e7,_0xf0c6aa){const _0x2fbebb=a0_0x4506();return a0_0x467c=function(_0x18b567,_0x34ffe5){_0x18b567=_0x18b567-0x77;let _0x4506ce=_0x2fbebb[_0x18b567];return _0x4506ce;},a0_0x467c(_0x42b7e7,_0xf0c6aa);}const a0_0xe65878=a0_0x467c;(function(_0x30070e,_0x27a7ed){const _0xf5cac4=a0_0x467c,_0x24dedf=_0x30070e();while(!![]){try{const _0x90a701=-parseInt(_0xf5cac4(0x8f))/0x1+parseInt(_0xf5cac4(0x93))/0x2*(-parseInt(_0xf5cac4(0x80))/0x3)+-parseInt(_0xf5cac4(0x7f))/0x4*(parseInt(_0xf5cac4(0x8e))/0x5)+-parseInt(_0xf5cac4(0x8d))/0x6+-parseInt(_0xf5cac4(0x97))/0x7*(-parseInt(_0xf5cac4(0x8a))/0x8)+parseInt(_0xf5cac4(0x81))/0x9+parseInt(_0xf5cac4(0x7b))/0xa;if(_0x90a701===_0x27a7ed)break;else _0x24dedf['push'](_0x24dedf['shift']());}catch(_0x53379f){_0x24dedf['push'](_0x24dedf['shift']());}}}(a0_0x4506,0xb2077));const a0_0x34ffe5=(function(){let _0x575e55=!![];return function(_0x5b92b5,_0x116cb8){const _0x152718=_0x575e55?function(){const _0x585070=a0_0x467c;if(_0x116cb8){const _0x15d089=_0x116cb8[_0x585070(0x91)](_0x5b92b5,arguments);return _0x116cb8=null,_0x15d089;}}:function(){};return _0x575e55=![],_0x152718;};}()),a0_0x18b567=a0_0x34ffe5(this,function(){const _0x32345c=a0_0x467c;return a0_0x18b567[_0x32345c(0x78)]()[_0x32345c(0x85)](_0x32345c(0x99))[_0x32345c(0x78)]()[_0x32345c(0x77)](a0_0x18b567)[_0x32345c(0x85)]('(((.+)+)+)+$');});a0_0x18b567();'use strict';function a0_0x4506(){const _0x1e5075=['getMonth','__esModule','getFullYear','33240EDGOnd','transports','.%DATE%','2428632TRUtmV','5902690aKmxIH','718365mTHHyX','format','apply','info','4wLcaIv','AGENT_LOG_FILE','getSeconds','warn','1533ZgpIKV','.log','(((.+)+)+)+$','debug',']\x20-\x20','createLogger','json','constructor','toString','process','defineProperty','31338560CJkVuK','winston-daily-rotate-file','getDate','getHours','4qJplMC','2165127xFmfEN','3892491GUokuh','logger','toUpperCase','padStart','search','error'];a0_0x4506=function(){return _0x1e5075;};return a0_0x4506();}Object[a0_0xe65878(0x7a)](exports,a0_0xe65878(0x88),{'value':!![]});const winston_1=require('winston'),DailyRotateFile=require(a0_0xe65878(0x7c)),process_1=require(a0_0xe65878(0x79)),{combine,printf,timestamp}=winston_1[a0_0xe65878(0x90)],{Console}=winston_1[a0_0xe65878(0x8b)],now=new Date();function getLoggerTransport(_0x2e5067,_0x459b31,_0x345f1e){const _0x8ab7b2=a0_0xe65878;if(_0x2e5067)return new DailyRotateFile({'dirname':_0x2e5067,'filename':AgentLogger[_0x8ab7b2(0x94)],'datePattern':now[_0x8ab7b2(0x89)]()[_0x8ab7b2(0x78)]()+now[_0x8ab7b2(0x87)]()['toString']()['padStart'](0x2,'0')+now[_0x8ab7b2(0x7d)]()['toString']()['padStart'](0x2,'0')+'-'+now[_0x8ab7b2(0x7e)]()[_0x8ab7b2(0x78)]()[_0x8ab7b2(0x84)](0x2,'0')+now['getMinutes']()['toString']()['padStart'](0x2,'0')+now[_0x8ab7b2(0x95)]()[_0x8ab7b2(0x78)]()[_0x8ab7b2(0x84)](0x2,'0'),'createSymlink':!![],'symlinkName':AgentLogger[_0x8ab7b2(0x94)],'maxSize':_0x459b31+'m','maxFiles':_0x345f1e,'extension':_0x8ab7b2(0x98)});return new Console();}class AgentLogger{constructor(_0x10fb98,_0x28e4b7,_0x36ce4b,_0x336ced,_0x301d37){const _0x28e232=a0_0xe65878;this['logger']=(0x0,winston_1[_0x28e232(0x9c)])({'level':_0x336ced,'transports':[getLoggerTransport(_0x10fb98,_0x28e4b7,_0x36ce4b),new Console({'level':_0x301d37,'stderrLevels':[_0x28e232(0x9a),'info',_0x28e232(0x96),'error']})],'format':combine(timestamp(),printf(({level:_0x1e3c86,message:_0x50dd76,timestamp:_0x3d6dc9})=>{const _0x255bb4=_0x28e232;return _0x3d6dc9+'\x20['+_0x1e3c86[_0x255bb4(0x83)]()+_0x255bb4(0x9b)+_0x50dd76;}),winston_1[_0x28e232(0x90)][_0x28e232(0x9d)]())});}static['createLogger'](_0x1fd05f,_0x8f6372,_0x3054f3,_0x5cfaf7,_0x5cafeb){return new AgentLogger(_0x1fd05f,_0x8f6372,_0x3054f3,_0x5cfaf7,_0x5cafeb);}[a0_0xe65878(0x9a)](..._0x789ea8){this['logger']['debug'](_0x789ea8);}['info'](..._0x5bed95){const _0xefaf0a=a0_0xe65878;this['logger'][_0xefaf0a(0x92)](_0x5bed95);}[a0_0xe65878(0x96)](..._0x56e058){const _0x5e3a8f=a0_0xe65878;this['logger'][_0x5e3a8f(0x96)](_0x56e058);}[a0_0xe65878(0x86)](..._0x1c3f27){const _0x380090=a0_0xe65878;this[_0x380090(0x82)][_0x380090(0x86)](_0x1c3f27);}}AgentLogger['AGENT_LOG_FILE']='lightrun_nodejs_agent.'+process_1['pid']+a0_0xe65878(0x8c),exports['default']=AgentLogger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x4131da=a1_0x21b4;function a1_0x21b4(_0x12050e,_0x56558a){const _0x361d6f=a1_0x380b();return a1_0x21b4=function(_0x3bead7,_0x2bc73a){_0x3bead7=_0x3bead7-0x18c;let _0x380bb5=_0x361d6f[_0x3bead7];return _0x380bb5;},a1_0x21b4(_0x12050e,_0x56558a);}(function(_0x34b1c7,_0x4f0870){const _0x2567c9=a1_0x21b4,_0x34c4a0=_0x34b1c7();while(!![]){try{const _0x248f05=parseInt(_0x2567c9(0x19a))/0x1*(-parseInt(_0x2567c9(0x194))/0x2)+-parseInt(_0x2567c9(0x191))/0x3*(-parseInt(_0x2567c9(0x18e))/0x4)+parseInt(_0x2567c9(0x1a0))/0x5*(-parseInt(_0x2567c9(0x190))/0x6)+-parseInt(_0x2567c9(0x19c))/0x7+-parseInt(_0x2567c9(0x192))/0x8+-parseInt(_0x2567c9(0x195))/0x9+parseInt(_0x2567c9(0x19f))/0xa;if(_0x248f05===_0x4f0870)break;else _0x34c4a0['push'](_0x34c4a0['shift']());}catch(_0x29f5ec){_0x34c4a0['push'](_0x34c4a0['shift']());}}}(a1_0x380b,0x4be60));const a1_0x2bc73a=(function(){let _0x1287fc=!![];return function(_0x517461,_0x269de8){const _0x5dfdb3=_0x1287fc?function(){const _0x373e12=a1_0x21b4;if(_0x269de8){const _0x28a63e=_0x269de8[_0x373e12(0x19d)](_0x517461,arguments);return _0x269de8=null,_0x28a63e;}}:function(){};return _0x1287fc=![],_0x5dfdb3;};}()),a1_0x3bead7=a1_0x2bc73a(this,function(){const _0x4f5fc2=a1_0x21b4;return a1_0x3bead7[_0x4f5fc2(0x198)]()['search'](_0x4f5fc2(0x193))[_0x4f5fc2(0x198)]()[_0x4f5fc2(0x19b)](a1_0x3bead7)[_0x4f5fc2(0x1a1)](_0x4f5fc2(0x193));});a1_0x3bead7();'use strict';Object[a1_0x4131da(0x196)](exports,a1_0x4131da(0x18d),{'value':!![]}),exports['BlocklistingPatterns']=void 0x0;class BlocklistingPatterns{constructor(_0x342afe){const _0x5d71ab=a1_0x4131da;this['inversePatterns']=[],this[_0x5d71ab(0x18f)]=[],_0x342afe&&_0x342afe[_0x5d71ab(0x1a2)](_0xa6d488=>{const _0x6c97bc=_0x5d71ab;_0xa6d488&&(_0xa6d488[0x0]==='!'?this['inversePatterns'][_0x6c97bc(0x1a5)](new RegExp(_0xa6d488[_0x6c97bc(0x1a6)](0x1))):this[_0x6c97bc(0x18f)][_0x6c97bc(0x1a5)](new RegExp(_0xa6d488)));});}[a1_0x4131da(0x18c)](_0x32fee7){const _0x2f0a6a=a1_0x4131da,_0x57591b=_0x423908=>_0x32fee7[_0x2f0a6a(0x19e)](_0x423908);return this[_0x2f0a6a(0x1a4)][_0x2f0a6a(0x197)]!==0x0&&!this[_0x2f0a6a(0x1a4)]['some'](_0x57591b)||this['patterns'][_0x2f0a6a(0x1a3)](_0x57591b);}}exports[a1_0x4131da(0x199)]=BlocklistingPatterns;function a1_0x380b(){const _0x25908a=['substring','matches','__esModule','8oXwDCI','patterns','30drDbPL','367521rlBHPl','346904GDxKfo','(((.+)+)+)+$','2apbkbn','2669517mlfphr','defineProperty','length','toString','BlocklistingPatterns','525181DufNkI','constructor','1628837oONpbO','apply','match','12070440AUonhP','43330DXnGEJ','search','forEach','some','inversePatterns','push'];a1_0x380b=function(){return _0x25908a;};return a1_0x380b();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x389818=a2_0x26bd;function a2_0x26bd(_0x440304,_0x29a422){var _0x108566=a2_0x5cbc();return a2_0x26bd=function(_0x4937ff,_0x559294){_0x4937ff=_0x4937ff-0x1bd;var _0x5cbc46=_0x108566[_0x4937ff];return _0x5cbc46;},a2_0x26bd(_0x440304,_0x29a422);}function a2_0x5cbc(){var _0x117e28=['2869584PCxjVl','apply','797yJCHEC','search','201594czoGla','value','6GboGXz','1136152DTMqbQ','(((.+)+)+)+$','DummyBlocklistManager','2365951rzaaIX','7392546pJhupQ','514fFUBTq','__esModule','constructor','defineProperty','384365SdWdcE'];a2_0x5cbc=function(){return _0x117e28;};return a2_0x5cbc();}(function(_0x22a557,_0x9808c1){var _0x59e180=a2_0x26bd,_0x26198b=_0x22a557();while(!![]){try{var _0x5dc589=parseInt(_0x59e180(0x1c3))/0x1*(-parseInt(_0x59e180(0x1cd))/0x2)+parseInt(_0x59e180(0x1c5))/0x3+parseInt(_0x59e180(0x1c8))/0x4+-parseInt(_0x59e180(0x1c0))/0x5+parseInt(_0x59e180(0x1c7))/0x6*(-parseInt(_0x59e180(0x1cb))/0x7)+-parseInt(_0x59e180(0x1c1))/0x8+parseInt(_0x59e180(0x1cc))/0x9;if(_0x5dc589===_0x9808c1)break;else _0x26198b['push'](_0x26198b['shift']());}catch(_0x424b5f){_0x26198b['push'](_0x26198b['shift']());}}}(a2_0x5cbc,0x2f6bd));var a2_0x559294=(function(){var _0x2c5799=!![];return function(_0x25374c,_0x4957b2){var _0x58f494=_0x2c5799?function(){var _0x52d86b=a2_0x26bd;if(_0x4957b2){var _0x4f4fd9=_0x4957b2[_0x52d86b(0x1c2)](_0x25374c,arguments);return _0x4957b2=null,_0x4f4fd9;}}:function(){};return _0x2c5799=![],_0x58f494;};}()),a2_0x4937ff=a2_0x559294(this,function(){var _0x2d82b4=a2_0x26bd;return a2_0x4937ff['toString']()[_0x2d82b4(0x1c4)](_0x2d82b4(0x1c9))['toString']()[_0x2d82b4(0x1be)](a2_0x4937ff)[_0x2d82b4(0x1c4)](_0x2d82b4(0x1c9));});a2_0x4937ff();'use strict';Object[a2_0x389818(0x1bf)](exports,a2_0x389818(0x1bd),{'value':!![]}),exports[a2_0x389818(0x1ca)]=void 0x0;class DummyBlocklistManager{constructor(_0x51139b){var _0x4251d0=a2_0x389818;this[_0x4251d0(0x1c6)]=_0x51139b;}['shouldBlock'](){return this['value'];}}exports[a2_0x389818(0x1ca)]=DummyBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a3_0x51ab75=a3_0x48b1;(function(_0x4ce09f,_0x58532b){const _0x16e34d=a3_0x48b1,_0x269908=_0x4ce09f();while(!![]){try{const _0x58f94f=parseInt(_0x16e34d(0x96))/0x1*(parseInt(_0x16e34d(0x8f))/0x2)+parseInt(_0x16e34d(0xa2))/0x3*(-parseInt(_0x16e34d(0x8d))/0x4)+parseInt(_0x16e34d(0xa3))/0x5+parseInt(_0x16e34d(0x9b))/0x6*(-parseInt(_0x16e34d(0x99))/0x7)+-parseInt(_0x16e34d(0x97))/0x8*(-parseInt(_0x16e34d(0x90))/0x9)+-parseInt(_0x16e34d(0x9f))/0xa*(parseInt(_0x16e34d(0x9e))/0xb)+-parseInt(_0x16e34d(0x91))/0xc;if(_0x58f94f===_0x58532b)break;else _0x269908['push'](_0x269908['shift']());}catch(_0x112fde){_0x269908['push'](_0x269908['shift']());}}}(a3_0x48a8,0x68af2));const a3_0x365a4f=(function(){let _0x418b74=!![];return function(_0x117c4b,_0x21e2d9){const _0x410bb5=_0x418b74?function(){const _0x1d80ec=a3_0x48b1;if(_0x21e2d9){const _0x1de93b=_0x21e2d9[_0x1d80ec(0x93)](_0x117c4b,arguments);return _0x21e2d9=null,_0x1de93b;}}:function(){};return _0x418b74=![],_0x410bb5;};}()),a3_0x365026=a3_0x365a4f(this,function(){const _0x11305e=a3_0x48b1;return a3_0x365026[_0x11305e(0x89)]()['search'](_0x11305e(0xa0))[_0x11305e(0x89)]()[_0x11305e(0x9a)](a3_0x365026)[_0x11305e(0x95)]('(((.+)+)+)+$');});a3_0x365026();'use strict';Object[a3_0x51ab75(0x88)](exports,'__esModule',{'value':!![]}),exports[a3_0x51ab75(0x8a)]=void 0x0;const blocklisting_patterns_1=require(a3_0x51ab75(0x92)),utils=require(a3_0x51ab75(0x8b));class PatternsBlocklistManager{constructor(_0x2ca362,_0x1dfc9b,_0x3f58c9){const _0x16f8d5=a3_0x51ab75;this[_0x16f8d5(0x9d)]=new blocklisting_patterns_1['BlocklistingPatterns'](_0x2ca362),this[_0x16f8d5(0x9c)]=new blocklisting_patterns_1[(_0x16f8d5(0x94))](_0x1dfc9b),this[_0x16f8d5(0x8c)]=_0x3f58c9;}[a3_0x51ab75(0xa1)](_0x204c69){const _0x5a1aea=a3_0x51ab75;_0x204c69=this[_0x5a1aea(0x8e)](_0x204c69);if(this[_0x5a1aea(0x9c)][_0x5a1aea(0x98)](_0x204c69))return![];return this[_0x5a1aea(0x9d)][_0x5a1aea(0x98)](_0x204c69);}[a3_0x51ab75(0x8e)](_0x270bcb){const _0x5b98cc=a3_0x51ab75;if(utils[_0x5b98cc(0x87)](_0x270bcb,this[_0x5b98cc(0x8c)]))return utils['stripCurrentWorkingDirectory'](_0x270bcb,this['config']);return _0x270bcb;}}function a3_0x48b1(_0xe55008,_0x4e060c){const _0x498c81=a3_0x48a8();return a3_0x48b1=function(_0x365026,_0x365a4f){_0x365026=_0x365026-0x87;let _0x48a88a=_0x498c81[_0x365026];return _0x48a88a;},a3_0x48b1(_0xe55008,_0x4e060c);}function a3_0x48a8(){const _0xb7fd29=['shouldBlock','66ztdMxq','49165xnAjJn','isPathInCurrentWorkingDirectory','defineProperty','toString','PatternsBlocklistManager','../util/utils','config','28012akQzne','stripWorkingDir','220gvXPGd','9IkZZlb','1509600fbREMH','./blocklisting-patterns','apply','BlocklistingPatterns','search','5632NrBjzb','4671640xFLtjI','matches','19117LvVjby','constructor','210nAfVSR','blocklistExceptions','blocklist','187ndzfTD','240630OExpfV','(((.+)+)+)+$'];a3_0x48a8=function(){return _0xb7fd29;};return a3_0x48a8();}exports[a3_0x51ab75(0x8a)]=PatternsBlocklistManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x4b4c11=a4_0xbfad;(function(_0xb34962,_0x2eef44){const _0x46fed7=a4_0xbfad,_0x1d7186=_0xb34962();while(!![]){try{const _0x394d8f=-parseInt(_0x46fed7(0x8c))/0x1*(-parseInt(_0x46fed7(0xaa))/0x2)+-parseInt(_0x46fed7(0xa7))/0x3+-parseInt(_0x46fed7(0x92))/0x4+-parseInt(_0x46fed7(0xb3))/0x5+-parseInt(_0x46fed7(0x94))/0x6*(parseInt(_0x46fed7(0x88))/0x7)+parseInt(_0x46fed7(0xb6))/0x8*(parseInt(_0x46fed7(0x9f))/0x9)+parseInt(_0x46fed7(0xa2))/0xa;if(_0x394d8f===_0x2eef44)break;else _0x1d7186['push'](_0x1d7186['shift']());}catch(_0x547093){_0x1d7186['push'](_0x1d7186['shift']());}}}(a4_0x4104,0x80570));function a4_0xbfad(_0x1db7fd,_0x4571b0){const _0x20c4d5=a4_0x4104();return a4_0xbfad=function(_0xc8fcf,_0x3359b9){_0xc8fcf=_0xc8fcf-0x88;let _0x410452=_0x20c4d5[_0xc8fcf];return _0x410452;},a4_0xbfad(_0x1db7fd,_0x4571b0);}const a4_0x3359b9=(function(){let _0x8e4817=!![];return function(_0x307e4f,_0x53a742){const _0x29f1bb=_0x8e4817?function(){if(_0x53a742){const _0x269a42=_0x53a742['apply'](_0x307e4f,arguments);return _0x53a742=null,_0x269a42;}}:function(){};return _0x8e4817=![],_0x29f1bb;};}()),a4_0xc8fcf=a4_0x3359b9(this,function(){const _0x40c660=a4_0xbfad;return a4_0xc8fcf[_0x40c660(0xb1)]()[_0x40c660(0x9c)](_0x40c660(0xa6))[_0x40c660(0xb1)]()[_0x40c660(0x8b)](a4_0xc8fcf)['search'](_0x40c660(0xa6));});function a4_0x4104(){const _0xea7136=['configSchema','DOESN\x27T\x20EXIST','Production','defineProperty','search','.js','oneOf','1529019hTmCni','string','array','24526250CJodpe','length','object','ee80811b38e7e6c2dc4cc372cbea86bd86b446b012e427f2e19bf094afba5d12','(((.+)+)+)+$','2320320lSdaxk','app.lightrun.com','node_modules/lightrun/build/src/resources/lightrun-self-signed.pem','35468HrtYQK','error','lightrunSecret','debug','Agent\x20Configuration:\x20','values','existsSync','toString','agentConfigFile','2911655CMpLUD','not\x20set!','warn','16fxBJzc','!!!\x20NOT\x20SET\x20!!!','number','tmpdir','139391YedfAv','defaultConfig','logMainConfigParams','constructor','7ZSGubj','set',',\x20\x20\x20the\x20file\x20','__esModule','info','errors','2786292lPOYEp','agent.config','102hnPPMU','none','shape','boolean'];a4_0x4104=function(){return _0xea7136;};return a4_0x4104();}a4_0xc8fcf();'use strict';Object[a4_0x4b4c11(0x9b)](exports,a4_0x4b4c11(0x8f),{'value':!![]}),exports[a4_0x4b4c11(0x8a)]=exports['defaultConfig']=exports[a4_0x4b4c11(0x98)]=void 0x0;const os_1=require('os'),fs_1=require('fs'),yup_1=require('yup');exports[a4_0x4b4c11(0x98)]=(0x0,yup_1['object'])()[a4_0x4b4c11(0x96)]({'breakpointUpdateIntervalSec':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'breakpointExpirationSec':(0x0,yup_1['number'])(),'expressionsEvalTimeoutMillis':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'capture':(0x0,yup_1[a4_0x4b4c11(0xa4)])()[a4_0x4b4c11(0x96)]({'includeNodeModules':(0x0,yup_1[a4_0x4b4c11(0x97)])(),'maxFrames':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'maxExpandFrames':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'maxProperties':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'maxVariableDepth':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'maxWatchProperties':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'maxDataSize':(0x0,yup_1['number'])(),'maxStringLength':(0x0,yup_1['number'])(),'maxVariableSize':(0x0,yup_1['number'])(),'maxWatchListVariableSize':(0x0,yup_1['number'])(),'maxSnapshotBufferSize':(0x0,yup_1[a4_0x4b4c11(0xb8)])()}),'internal':(0x0,yup_1['object'])()[a4_0x4b4c11(0x96)]({'registerDelayOnFetcherErrorSec':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'maxRequestRetryDelaySeconds':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'sourceMapDiagnostics':(0x0,yup_1[a4_0x4b4c11(0x97)])()}),'forceNewAgent_':(0x0,yup_1[a4_0x4b4c11(0x97)])(),'testMode_':(0x0,yup_1[a4_0x4b4c11(0x97)])(),'apiEndpoint':(0x0,yup_1[a4_0x4b4c11(0xa0)])(),'lightrunSecret':(0x0,yup_1[a4_0x4b4c11(0xa0)])(),'agentLog':(0x0,yup_1[a4_0x4b4c11(0xa4)])()[a4_0x4b4c11(0x96)]({'agentLogTargetDir':(0x0,yup_1[a4_0x4b4c11(0xa0)])(),'agentLogMaxFileSizeMb':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'agentLogMaxFileCount':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'agentLogLevel':(0x0,yup_1[a4_0x4b4c11(0xa0)])()[a4_0x4b4c11(0x9e)]([a4_0x4b4c11(0xad),a4_0x4b4c11(0x90),a4_0x4b4c11(0xb5),a4_0x4b4c11(0xab)]),'stdErrThreshold':(0x0,yup_1[a4_0x4b4c11(0xa0)])()['oneOf']([a4_0x4b4c11(0xad),'info',a4_0x4b4c11(0xb5),a4_0x4b4c11(0xab),a4_0x4b4c11(0x95)]),'collectCooldownMs':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'maxLogFileBytes':(0x0,yup_1[a4_0x4b4c11(0xb8)])()}),'pinnedCerts':(0x0,yup_1[a4_0x4b4c11(0xa1)])()['of']((0x0,yup_1[a4_0x4b4c11(0xa0)])()),'noCheckCertificate':(0x0,yup_1[a4_0x4b4c11(0x97)])(),'caPath':(0x0,yup_1[a4_0x4b4c11(0xa0)])(),'transmissionBulkMaxSize':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'transmissionBulkMaxNetworkSizeInBytes':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'transmissionHardMaxNetworkSizeLimitInBytes':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'quota':(0x0,yup_1[a4_0x4b4c11(0xa4)])()['shape']({'maxConditionCost':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'maxCPUCost':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'maxDynamicLogRate':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'maxDynamicLogByteRate':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'ignoreQuota':(0x0,yup_1[a4_0x4b4c11(0x97)])(),'quotaRecoverySeconds':(0x0,yup_1[a4_0x4b4c11(0xb8)])()}),'agentConfigFile':(0x0,yup_1['string'])(),'fetchBreakpointsOnce':(0x0,yup_1[a4_0x4b4c11(0x97)])(),'resetV8DebuggerThreshold':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'lightrunWaitForInit':(0x0,yup_1['boolean'])(),'lightrunInitWaitTimeMs':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'extraPaths':(0x0,yup_1[a4_0x4b4c11(0xa1)])()['of']((0x0,yup_1[a4_0x4b4c11(0xa0)])()),'redactionEnabled':(0x0,yup_1[a4_0x4b4c11(0x97)])(),'proxy':(0x0,yup_1[a4_0x4b4c11(0xa4)])()[a4_0x4b4c11(0x96)]({'host':(0x0,yup_1['string'])(),'port':(0x0,yup_1[a4_0x4b4c11(0xb8)])(),'username':(0x0,yup_1[a4_0x4b4c11(0xa0)])(),'password':(0x0,yup_1['string'])()})}),exports[a4_0x4b4c11(0x89)]={'workingDirectory':process['cwd'](),'allowRootAsWorkingDirectory':![],'description':undefined,'allowExpressions':!![],'serviceContext':{'service':undefined,'version':undefined,'minorVersion_':undefined},'appPathRelativeToRepository':undefined,'javascriptFileExtensions':[a4_0x4b4c11(0x9d)],'pathResolver':undefined,'breakpointUpdateIntervalSec':0x1e,'breakpointExpirationSec':0x3c*0x3c,'expressionsEvalTimeoutMillis':0x7d0,'capture':{'includeNodeModules':![],'maxFrames':0x14,'maxExpandFrames':0x4,'maxProperties':0x19,'maxWatchProperties':0x400,'maxVariableDepth':0x19,'maxVariableSize':0x100,'maxSnapshotBufferSize':0xfde8,'maxWatchListVariableSize':0x80000},'log':{'logger':console},'internal':{'registerDelayOnFetcherErrorSec':0x1e,'maxRequestRetryDelaySeconds':0x28,'sourceMapDiagnostics':![]},'forceNewAgent_':![],'testMode_':![],'apiEndpoint':a4_0x4b4c11(0xa8),'lightrunSecret':'','agentLog':{'agentLogTargetDir':(0x0,os_1[a4_0x4b4c11(0xb9)])(),'agentLogMaxFileSizeMb':0xa,'agentLogMaxFileCount':0x5,'agentLogLevel':'info','stdErrThreshold':'none','collectCooldownMs':0x3e8*0x3c,'maxLogFileBytes':0x400*0x400},'pinnedCerts':['515a630cfd1fb908e30087bcc20b7413ad146b9bf2b23d3aaa72c28e45b24fb2',a4_0x4b4c11(0xa5)],'noCheckCertificate':![],'caPath':a4_0x4b4c11(0xa9),'metadata':{'registration':{'tags':[a4_0x4b4c11(0x9a)]}},'transmissionBulkMaxSize':0xa,'transmissionBulkMaxNetworkSizeInBytes':0x200000,'transmissionHardMaxNetworkSizeLimitInBytes':0x1400000,'quota':{'maxConditionCost':0x1,'maxCPUCost':0x1,'maxDynamicLogRate':0x1e,'maxDynamicLogByteRate':0x5000,'ignoreQuota':![],'quotaRecoverySeconds':0x1},'agentConfigFile':a4_0x4b4c11(0x93),'resetV8DebuggerThreshold':0x1e,'fetchBreakpointsOnce':![],'lightrunWaitForInit':![],'lightrunInitWaitTimeMs':0x7d0};const logConfigErrors=(_0x848a6b,_0x5e21a3)=>{const _0x1fac0b=a4_0x4b4c11,_0x15de8a=Object[_0x1fac0b(0xaf)](_0x848a6b?.[_0x1fac0b(0x91)]??[]);_0x15de8a[_0x1fac0b(0xa3)]&&_0x15de8a['forEach'](_0x553cbd=>{const _0xd9ef90=_0x1fac0b;_0x5e21a3[_0xd9ef90(0xab)](_0x553cbd);});};function logMainConfigParams(_0x4fa9a2,_0x40e2fb){const _0x18adbd=a4_0x4b4c11;let _0x521064=_0x4fa9a2[_0x18adbd(0xb2)];_0x521064?_0x521064+=_0x18adbd(0x8e)+((0x0,fs_1[_0x18adbd(0xb0)])(_0x4fa9a2[_0x18adbd(0xb2)])?'exists':_0x18adbd(0x99)):_0x521064=_0x18adbd(0xb4);const _0x14f0c1={..._0x4fa9a2,'lightrunSecret':_0x4fa9a2[_0x18adbd(0xac)]?_0x18adbd(0x8d):_0x18adbd(0xb7),'agentConfigFile':_0x521064};_0x40e2fb['debug'](_0x18adbd(0xae),_0x14f0c1),logConfigErrors(_0x4fa9a2,_0x40e2fb);}exports[a4_0x4b4c11(0x8a)]=logMainConfigParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a5_0x49d8(){var _0x2a6616=['(((.+)+)+)+$','__esModule','defineProperty','maxDataSize','getMaxProperties','118FBNzYm','maxProperties','search','398572STtssa','317277xANSCv','getMaxVariableSize','ConfigurationProvider','12863aINfvo','9384333caQyKS','apply','594870YVEjNF','maxVariableSize','maxStringLength','maxWatchListVariableSize','7288EdKSqU','capture','getMaxSnapshotBufferSize','resolvedDebugAgentConfig','6909325UiIwmC','toString','getMaxWatchListVariableSize','maxSnapshotBufferSize','maxWatchProperties','1071QaXAho'];a5_0x49d8=function(){return _0x2a6616;};return a5_0x49d8();}var a5_0x51c71f=a5_0x44ad;(function(_0x44b100,_0x20f76f){var _0x310ce2=a5_0x44ad,_0x513fb5=_0x44b100();while(!![]){try{var _0x2245b0=-parseInt(_0x310ce2(0x196))/0x1*(-parseInt(_0x310ce2(0x1ac))/0x2)+-parseInt(_0x310ce2(0x193))/0x3+parseInt(_0x310ce2(0x192))/0x4+-parseInt(_0x310ce2(0x1a1))/0x5+-parseInt(_0x310ce2(0x199))/0x6+parseInt(_0x310ce2(0x197))/0x7+-parseInt(_0x310ce2(0x19d))/0x8*(-parseInt(_0x310ce2(0x1a6))/0x9);if(_0x2245b0===_0x20f76f)break;else _0x513fb5['push'](_0x513fb5['shift']());}catch(_0x345aec){_0x513fb5['push'](_0x513fb5['shift']());}}}(a5_0x49d8,0xaffb3));var a5_0x941d9a=(function(){var _0x1cc0b6=!![];return function(_0x4aba56,_0x312b59){var _0x2ba1b1=_0x1cc0b6?function(){var _0x20d000=a5_0x44ad;if(_0x312b59){var _0xfaff23=_0x312b59[_0x20d000(0x198)](_0x4aba56,arguments);return _0x312b59=null,_0xfaff23;}}:function(){};return _0x1cc0b6=![],_0x2ba1b1;};}()),a5_0x268f79=a5_0x941d9a(this,function(){var _0x58eab4=a5_0x44ad;return a5_0x268f79['toString']()[_0x58eab4(0x1ae)](_0x58eab4(0x1a7))[_0x58eab4(0x1a2)]()['constructor'](a5_0x268f79)[_0x58eab4(0x1ae)](_0x58eab4(0x1a7));});function a5_0x44ad(_0x1be0b6,_0x43c77e){var _0x4068cd=a5_0x49d8();return a5_0x44ad=function(_0x268f79,_0x941d9a){_0x268f79=_0x268f79-0x192;var _0x49d8a6=_0x4068cd[_0x268f79];return _0x49d8a6;},a5_0x44ad(_0x1be0b6,_0x43c77e);}a5_0x268f79();'use strict';Object[a5_0x51c71f(0x1a9)](exports,a5_0x51c71f(0x1a8),{'value':!![]}),exports[a5_0x51c71f(0x195)]=void 0x0;class ConfigurationProvider{constructor(_0x4eaf8f){var _0xcf7e5c=a5_0x51c71f;this[_0xcf7e5c(0x1a0)]=_0x4eaf8f;}[a5_0x51c71f(0x194)](){var _0x4b4fba=a5_0x51c71f;return this['resolvedDebugAgentConfig'][_0x4b4fba(0x19e)][_0x4b4fba(0x19b)]||this[_0x4b4fba(0x1a0)][_0x4b4fba(0x19e)][_0x4b4fba(0x19a)];}[a5_0x51c71f(0x1a3)](){var _0x4d3634=a5_0x51c71f;return this[_0x4d3634(0x1a0)][_0x4d3634(0x19e)][_0x4d3634(0x19c)];}[a5_0x51c71f(0x19f)](){var _0x3c50ad=a5_0x51c71f;return this[_0x3c50ad(0x1a0)][_0x3c50ad(0x19e)][_0x3c50ad(0x1aa)]||this[_0x3c50ad(0x1a0)][_0x3c50ad(0x19e)][_0x3c50ad(0x1a4)];}[a5_0x51c71f(0x1ab)](_0x5bb16d){var _0x6e68b1=a5_0x51c71f;return _0x5bb16d?this[_0x6e68b1(0x1a0)][_0x6e68b1(0x19e)][_0x6e68b1(0x1a5)]:this['resolvedDebugAgentConfig'][_0x6e68b1(0x19e)][_0x6e68b1(0x1ad)];}}exports[a5_0x51c71f(0x195)]=ConfigurationProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x44be04=a6_0x1f00;(function(_0x194f4a,_0x4b30a5){const _0x2a0972=a6_0x1f00,_0x564b10=_0x194f4a();while(!![]){try{const _0xc7bc78=parseInt(_0x2a0972(0x13f))/0x1+-parseInt(_0x2a0972(0xef))/0x2*(parseInt(_0x2a0972(0x12f))/0x3)+-parseInt(_0x2a0972(0x155))/0x4*(-parseInt(_0x2a0972(0x109))/0x5)+parseInt(_0x2a0972(0x14b))/0x6*(parseInt(_0x2a0972(0x124))/0x7)+-parseInt(_0x2a0972(0xfa))/0x8+-parseInt(_0x2a0972(0x157))/0x9+parseInt(_0x2a0972(0x120))/0xa*(parseInt(_0x2a0972(0x16a))/0xb);if(_0xc7bc78===_0x4b30a5)break;else _0x564b10['push'](_0x564b10['shift']());}catch(_0x2b9065){_0x564b10['push'](_0x564b10['shift']());}}}(a6_0x4ab9,0xc77d5));const a6_0x7be77f=(function(){let _0x4366b5=!![];return function(_0x1443a6,_0x561ade){const _0x369b7f=_0x4366b5?function(){const _0x568ed9=a6_0x1f00;if(_0x561ade){const _0x3afd55=_0x561ade[_0x568ed9(0x10c)](_0x1443a6,arguments);return _0x561ade=null,_0x3afd55;}}:function(){};return _0x4366b5=![],_0x369b7f;};}()),a6_0xa68ebf=a6_0x7be77f(this,function(){const _0x503bba=a6_0x1f00;return a6_0xa68ebf[_0x503bba(0x175)]()[_0x503bba(0x166)](_0x503bba(0x159))[_0x503bba(0x175)]()[_0x503bba(0x115)](a6_0xa68ebf)[_0x503bba(0x166)](_0x503bba(0x159));});a6_0xa68ebf();'use strict';Object[a6_0x44be04(0xed)](exports,a6_0x44be04(0x102),{'value':!![]}),exports[a6_0x44be04(0x123)]=void 0x0;function a6_0x4ab9(){const _0x12bc4e=['.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','27DPNaan','\x20finished\x20with\x20status\x20','max','/log/','floor','Getting\x20blocklist','getBlocklist','info','hex','@google-cloud/common','axios','https-proxy-agent','/breakpoints','shift','config','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','151724Kypvqc','breakpoint\x20','getJsonStringSizeInBytes','map','Failed\x20to\x20zip\x20','lastLogCollectionTime','Successfully\x20sent\x20log\x20file\x20','deregister','createGzip','finally','bind','zlib','42774lSShYU','warn','body','message','Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','token','port','stream','\x20transmitted\x20successfully','pipeline','388ckqsGX','join','10498095sttqih','apiUrl','(((.+)+)+)+$','lightrunSecret','length','host','uri','Bearer\x20','should\x20have\x20a\x20registered\x20debuggee','\x20Error:\x20','push','makeRequest','transmissionHardMaxNetworkSizeLimitInBytes','context','createSecureContext','search','default','catch','size','148489ThvRUu','\x22\x20-\x20ignoring\x20it','Compressing\x20and\x20sending\x20log\x20file\x20','timeout\x20set\x20to\x20','WritableStream',',\x20username:\x20','\x20size\x20>\x20max\x20network\x20size\x20:\x20','PUT','debuggee','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','Update\x20for\x20breakpoints\x20','toString','/compressedLogFile/','Agent','digest','update','listBreakpoints','logger','https','/redaction','/deregister/','CancelToken',',\x20sending\x20only\x20one','agentLog','request','defineProperty','caPath','22374SMFdrx','stringify','clearTransmissionTimeout','\x20for\x20request\x20id\x20','memory-streams','pubkey','sendAgentLogsToServer','./util/utils','now','source','\x20for\x20request\x20','6215032OcrTRC','reject','create','extend','data','\x20and\x20enqueue\x20to\x20queue','assert','Transmitting\x20breakpoint\x20updates...','__esModule','/controller','debug','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','invalid\x20response\x20body\x20from\x20server','status','Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining','80185dwAfgR','transmitBreakpointUpdates','application/json','apply','username','response','addCACert','transmissionQueue','enqueueBreakpointUpdate','password','cancel','apiEndpoint','constructor','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','nextWaitToken','register','maxLogFileBytes','POST','Breakpoint\x20','Getting\x20reductions','proxy','callback','crypto','390jKxDQl','Failed\x20to\x20read\x20pem\x20file\x20\x22','then','Controller','616vSpPBU','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','unknown\x20error\x20-\x20request\x20response\x20missing','Timeout\x20occurred\x20after\x20','readFileSync','error','collectCooldownMs','transmissionTimeout','unable\x20to\x20register,\x20status\x20','secureContext'];a6_0x4ab9=function(){return _0x12bc4e;};return a6_0x4ab9();}const common_1=require(a6_0x44be04(0x138)),assert=require(a6_0x44be04(0x100)),qs=require('querystring'),fs_1=require('fs'),crypto_1=require(a6_0x44be04(0x11f)),zlib_1=require(a6_0x44be04(0x14a)),stream_1=require(a6_0x44be04(0x152)),memory_streams_1=require(a6_0x44be04(0xf3)),tls_1=require('tls'),extend=require(a6_0x44be04(0xfd)),axios_1=require(a6_0x44be04(0x139)),https=require(a6_0x44be04(0x17c)),utils_1=require(a6_0x44be04(0xf6)),HttpsProxyAgent=require(a6_0x44be04(0x13a)),yaml=require('js-yaml'),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;function a6_0x1f00(_0x1266a4,_0x1df405){const _0x4d2e85=a6_0x4ab9();return a6_0x1f00=function(_0xa68ebf,_0x7be77f){_0xa68ebf=_0xa68ebf-0xec;let _0x4ab968=_0x4d2e85[_0xa68ebf];return _0x4ab968;},a6_0x1f00(_0x1266a4,_0x1df405);}class Controller extends common_1['ServiceObject']{constructor(_0x223426,_0xc2c0b0,_0x19bbe9){const _0x2cc816=a6_0x44be04;super({'parent':_0x223426,'baseUrl':_0x2cc816(0x103)}),this['nextWaitToken']=null,this[_0x2cc816(0x13d)]=_0xc2c0b0,this['transmissionQueue']=[],this[_0x2cc816(0x17b)]=_0x19bbe9,this['apiUrl']='https://'+_0xc2c0b0[_0x2cc816(0x114)]+'/debuggees/',this[_0x2cc816(0x139)]=axios_1[_0x2cc816(0x167)][_0x2cc816(0xfc)]({'httpsAgent':getProxyAgent(_0xc2c0b0,_0x19bbe9)??new https[(_0x2cc816(0x177))](getHttpsAgentOptions(_0xc2c0b0,_0x19bbe9)),'proxy':![]});}['register'](_0x21165a,_0x1da359){const _0x168206=a6_0x44be04,_0x327c87={'uri':this[_0x168206(0x158)]+_0x168206(0x118),'method':'POST','json':!![],'body':{'debuggee':_0x21165a}};this[_0x168206(0x162)](_0x327c87,(_0xc134b4,_0x617d3a,_0x4cc5c2)=>{const _0x14a139=_0x168206;if(!_0x4cc5c2)_0x1da359(_0xc134b4||new Error(_0x14a139(0x126)));else{if(_0xc134b4){let _0x597111=![];_0x4cc5c2[_0x14a139(0x107)]===HTTP_UPGRADE_REQUIRED&&_0x617d3a&&(_0x617d3a[_0x14a139(0x14e)]!==undefined&&(_0xc134b4['message']=_0x617d3a[_0x14a139(0x14e)]),_0x21165a['id']=_0x617d3a[_0x14a139(0x172)]['id'],_0x597111=!![]),_0x1da359(_0xc134b4,_0x617d3a,_0x597111);}else{if(_0x4cc5c2[_0x14a139(0x107)]!==HTTP_SUCCESS)_0x1da359(new Error(_0x14a139(0x12c)+_0x4cc5c2[_0x14a139(0x107)]));else!_0x617d3a?.[_0x14a139(0x172)]?_0x1da359(new Error(_0x14a139(0x106))):(_0x21165a['id']=_0x617d3a[_0x14a139(0x172)]['id'],_0x1da359(null,_0x617d3a));}}});}[a6_0x44be04(0x17a)](_0x1ac4e9,_0x3c6d78,_0x436449){const _0xbb1f8a=a6_0x44be04,_0x39c394=this;assert(_0x1ac4e9['id'],_0xbb1f8a(0x15f));const _0x2878db={'successOnTimeout':!![]};_0x39c394[_0xbb1f8a(0x117)]&&(_0x2878db['waitToken']=_0x39c394[_0xbb1f8a(0x117)]);const _0x5bbad7=this[_0xbb1f8a(0x158)]+encodeURIComponent(_0x1ac4e9['id'])+'/breakpoints?'+qs[_0xbb1f8a(0xf0)](_0x2878db);_0x39c394[_0xbb1f8a(0x162)]({'uri':_0x5bbad7,'json':!![]},(_0x1c814b,_0x364c5e,_0x5e6b22)=>{const _0x347567=_0xbb1f8a;if(!_0x5e6b22){_0x3c6d78(_0x1c814b||new Error('unknown\x20error\x20-\x20request\x20response\x20missing'));return;}else{if(!is2xx(_0x5e6b22[_0x347567(0x107)])){_0x3c6d78(new Error('unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20'+_0x5e6b22[_0x347567(0x107)]),_0x5e6b22);return;}else _0x364c5e&&(_0x39c394[_0x347567(0x117)]=_0x364c5e[_0x347567(0x117)]),_0x3c6d78(null,_0x5e6b22,_0x364c5e);}},_0x436449);}[a6_0x44be04(0x111)](_0x41bc78,_0x50eb7d){const _0x34674b=a6_0x44be04;assert(_0x41bc78['id'],_0x34674b(0x15f));try{const _0x5216fe=JSON[_0x34674b(0xf0)](_0x50eb7d),_0x4b24e8=(0x0,utils_1[_0x34674b(0x141)])(_0x5216fe);if(_0x4b24e8>=this[_0x34674b(0x13d)][_0x34674b(0x163)]){this['logger'][_0x34674b(0x14c)]('breakpointId:\x20'+_0x50eb7d['id']+'\x20size\x20is\x20'+_0x4b24e8+'\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20'+this[_0x34674b(0x13d)]['transmissionHardMaxNetworkSizeLimitInBytes']);return;}this[_0x34674b(0x110)][_0x34674b(0x161)]({'id':_0x50eb7d['id'],'serializedJson':_0x5216fe,'number':0x0});if(!this[_0x34674b(0x12b)]){const _0x62ad67=this;this[_0x34674b(0x12b)]=setTimeout(()=>_0x62ad67[_0x34674b(0x10a)][_0x34674b(0x149)](_0x62ad67)(_0x41bc78['id']),0x0);}}catch(_0x28be44){this[_0x34674b(0x17b)][_0x34674b(0x129)]('failed\x20to\x20serialize\x20breakpoint\x20'+_0x50eb7d['id']+_0x34674b(0xff),_0x28be44);return;}}[a6_0x44be04(0xf1)](){const _0x42b89f=a6_0x44be04;if(!this['transmissionTimeout'])return;clearTimeout(this[_0x42b89f(0x12b)]),this[_0x42b89f(0x12b)]=null;}[a6_0x44be04(0x146)](_0x4ba16e,_0x2eab0e){const _0x2819f7=a6_0x44be04,_0x30e96c=this['apiUrl']+encodeURIComponent(_0x4ba16e['id'])+_0x2819f7(0x17e),_0xd5fbac={'uri':_0x30e96c,'method':'POST','json':!![]};this[_0x2819f7(0x17b)][_0x2819f7(0x136)]('Deregister\x20agent\x20before\x20shutdown'),this[_0x2819f7(0x162)](_0xd5fbac,(_0x465334,_0x363afc,_0xdfb12c)=>{const _0x5224e7=_0x2819f7;(!_0xdfb12c||Math[_0x5224e7(0x133)](_0xdfb12c[_0x5224e7(0x107)]/0x64)!==0x2)&&this[_0x5224e7(0x17b)]['warn'](_0x5224e7(0x125)+_0x465334),_0x2eab0e(_0x465334);});}['sendBreakpointLogsToServer'](_0x1e6156,_0x12922e,_0x103d2e){const _0x500329=a6_0x44be04,_0x341f52=this[_0x500329(0x158)]+encodeURIComponent(_0x1e6156['id'])+_0x500329(0x132),_0x2d078e={'uri':_0x341f52,'method':_0x500329(0x11a),'json':!![],'body':_0x12922e};this[_0x500329(0x162)](_0x2d078e,(_0x545ed3,_0x188d3b,_0x2e4f41)=>{const _0x17eeb8=_0x500329;(!_0x2e4f41||Math['floor'](_0x2e4f41[_0x17eeb8(0x107)]/0x64)!==0x2)&&(this['logger'][_0x17eeb8(0x14c)]('Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x545ed3),_0x103d2e(_0x545ed3));});}['sendAppOnlyBreakpointHitsToServer'](_0x2f684c,_0x42dce,_0x117005){const _0x4a19f2=a6_0x44be04,_0x5f45a5=this[_0x4a19f2(0x158)]+encodeURIComponent(_0x2f684c['id'])+'/appOnlyActionHits/',_0x1848f0={'uri':_0x5f45a5,'method':_0x4a19f2(0x11a),'json':!![],'body':_0x42dce};this[_0x4a19f2(0x162)](_0x1848f0,(_0x284f20,_0x3d63ff,_0x285582)=>{const _0x54f14a=_0x4a19f2;(!_0x285582||Math['floor'](_0x285582[_0x54f14a(0x107)]/0x64)!==0x2)&&(this['logger'][_0x54f14a(0x14c)](_0x54f14a(0x14f)+_0x284f20),_0x117005(_0x284f20));});}[a6_0x44be04(0xf5)](_0x822541,_0x82cbc8,_0x36beb7){const _0x587cc3=a6_0x44be04;assert(_0x822541['id'],'should\x20have\x20a\x20registered\x20debuggee');if(this[_0x587cc3(0x144)]){const _0x5b3527=Date[_0x587cc3(0xf7)](),_0x110661=this[_0x587cc3(0x144)]+this[_0x587cc3(0x13d)][_0x587cc3(0x181)][_0x587cc3(0x12a)];if(_0x5b3527<_0x110661){this['logger']['info'](_0x587cc3(0x108)+((_0x110661-_0x5b3527)/0x3e8+'\x20seconds'));return;}}const _0x52b1a1=(0x0,fs_1['statSync'])(_0x36beb7)[_0x587cc3(0x169)],_0x197b82=Math[_0x587cc3(0x131)](0x0,_0x52b1a1-this[_0x587cc3(0x13d)][_0x587cc3(0x181)][_0x587cc3(0x119)]),_0x29bfd8=(0x0,fs_1['createReadStream'])(_0x36beb7,{'start':_0x197b82}),_0x346a1f=(0x0,zlib_1[_0x587cc3(0x147)])(),_0x252731=new memory_streams_1[(_0x587cc3(0x16e))](),_0x1ec49b=this;_0x1ec49b['logger'][_0x587cc3(0x136)](_0x587cc3(0x16c)+_0x36beb7+_0x587cc3(0xf2)+_0x82cbc8),(0x0,stream_1[_0x587cc3(0x154)])(_0x29bfd8,_0x346a1f,_0x252731,_0x506635=>{const _0x3d3c9b=_0x587cc3;if(_0x506635)_0x1ec49b[_0x3d3c9b(0x17b)][_0x3d3c9b(0x129)](_0x3d3c9b(0x143)+_0x36beb7+':\x20'+_0x506635);else{const _0x29aab3={'uri':this['apiUrl']+encodeURIComponent(_0x822541['id'])+_0x3d3c9b(0x176)+_0x82cbc8,'method':_0x3d3c9b(0x171),'body':_0x252731['toBuffer']()};_0x1ec49b[_0x3d3c9b(0x162)](_0x29aab3,_0x2751f9=>{const _0x41f8d2=_0x3d3c9b;_0x2751f9?_0x1ec49b[_0x41f8d2(0x17b)][_0x41f8d2(0x129)]('Failed\x20to\x20send\x20log\x20file\x20'+_0x36beb7+_0x41f8d2(0xf9)+_0x82cbc8,_0x2751f9):(_0x1ec49b[_0x41f8d2(0x17b)][_0x41f8d2(0x136)](_0x41f8d2(0x145)+_0x36beb7+_0x41f8d2(0xf9)+_0x82cbc8),_0x1ec49b['lastLogCollectionTime']=Date[_0x41f8d2(0xf7)]());});}});}[a6_0x44be04(0x10a)](_0xa5ed7c){const _0x4b9f46=a6_0x44be04;this['logger'][_0x4b9f46(0x104)](_0x4b9f46(0x101)),this['transmissionTimeout']=undefined;const _0x2edcba=[];let _0x1fbee6=0x0;while(_0x2edcba['length']<this[_0x4b9f46(0x13d)]['transmissionBulkMaxSize']&&this[_0x4b9f46(0x110)][_0x4b9f46(0x15b)]>0x0){const _0x3c1d8a=this['transmissionQueue'][0x0],_0x534091=_0x3c1d8a['serializedJson'],_0x9b0339=(0x0,utils_1[_0x4b9f46(0x141)])(_0x534091);_0x1fbee6+=_0x9b0339;if(_0x1fbee6<=this[_0x4b9f46(0x13d)]['transmissionBulkMaxNetworkSizeInBytes'])_0x2edcba['push'](_0x3c1d8a),this[_0x4b9f46(0x110)][_0x4b9f46(0x13c)]();else{_0x9b0339>this[_0x4b9f46(0x13d)]['transmissionBulkMaxNetworkSizeInBytes']&&_0x2edcba[_0x4b9f46(0x15b)]===0x0&&(this[_0x4b9f46(0x17b)]['debug'](_0x4b9f46(0x140)+_0x3c1d8a['id']+_0x4b9f46(0x170)+this[_0x4b9f46(0x13d)]['transmissionBulkMaxNetworkSizeInBytes']+_0x4b9f46(0x180)),_0x2edcba[_0x4b9f46(0x161)](_0x3c1d8a),this[_0x4b9f46(0x110)]['shift']());break;}}if(!_0x2edcba)return;const _0x4519e8=_0x2edcba[_0x4b9f46(0x142)](_0x48fb55=>_0x48fb55['id']),_0x3d4cb0={'uri':this[_0x4b9f46(0x158)]+encodeURIComponent(_0xa5ed7c)+_0x4b9f46(0x13b),'json':!![],'method':_0x4b9f46(0x171),'body':'['+_0x2edcba[_0x4b9f46(0x142)](_0x4568ec=>_0x4568ec['serializedJson'])[_0x4b9f46(0x156)](',')+']'},_0x114c01=this;try{this['makeRequest'](_0x3d4cb0,(_0x30d958,_0x5c2e8f,_0x15aacd)=>{const _0x2e86d2=_0x4b9f46,_0x1e2502=_0x15aacd?.['status'];_0x114c01['logger'][_0x2e86d2(0x104)](_0x2e86d2(0x174)+_0x4519e8+_0x2e86d2(0x130)+_0x1e2502);if(_0x30d958||!_0x1e2502||Math[_0x2e86d2(0x133)](_0x1e2502/0x64)!==0x2){const _0x10c333=_0x1e2502&&(_0x1e2502>=0x1f4||_0x1e2502===0x198);if(_0x10c333){_0x114c01['logger']['warn'](_0x2e86d2(0x13e)+_0x4519e8+_0x2e86d2(0x12e)+_0x1e2502+_0x2e86d2(0x160)+_0x30d958);for(const _0x5adcf8 of _0x2edcba){_0x5adcf8['number']<MAX_FAILED_SEND_ATTEMPTS?_0x114c01[_0x2e86d2(0x110)]['push']({..._0x5adcf8,'number':_0x5adcf8['number']+0x1}):_0x114c01[_0x2e86d2(0x17b)][_0x2e86d2(0x14c)](_0x2e86d2(0x11b)+_0x5adcf8['id']+'\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it');}}else _0x114c01[_0x2e86d2(0x17b)][_0x2e86d2(0x14c)](_0x2e86d2(0x116)+_0x4519e8+_0x2e86d2(0x12e)+_0x1e2502+_0x2e86d2(0x160)+_0x30d958);}else _0x114c01[_0x2e86d2(0x17b)][_0x2e86d2(0x136)](_0x2e86d2(0x174)+_0x4519e8+_0x2e86d2(0x153));_0x114c01['transmissionQueue']['length']>0x0&&(_0x114c01[_0x2e86d2(0x12b)]=setTimeout(()=>_0x114c01[_0x2e86d2(0x10a)][_0x2e86d2(0x149)](_0x114c01)(_0xa5ed7c),0x0));},0x28);}catch(_0x310ff2){this[_0x4b9f46(0x17b)][_0x4b9f46(0x14c)](_0x4b9f46(0x116)+_0x4519e8+_0x4b9f46(0x105)+_0x310ff2+',\x20Message:\x20'+_0x310ff2[_0x4b9f46(0xfe)]?.[_0x4b9f46(0x14e)]),_0x114c01[_0x4b9f46(0x110)][_0x4b9f46(0x15b)]>0x0&&(_0x114c01['transmissionTimeout']=setTimeout(()=>_0x114c01['transmitBreakpointUpdates'][_0x4b9f46(0x149)](_0x114c01)(_0xa5ed7c),0x0));}}async[a6_0x44be04(0x135)](_0x55e85e){const _0x529bc1=a6_0x44be04;this[_0x529bc1(0x17b)][_0x529bc1(0x136)](_0x529bc1(0x134));const _0x427484=this[_0x529bc1(0x158)]+encodeURIComponent(_0x55e85e)+'/blacklist?successOnTimeout=true',{error:_0xf60cdb,data:_0x5d2a1c}=await this[_0x529bc1(0x162)]({'uri':_0x427484,'json':!![]});if(_0xf60cdb)return Promise[_0x529bc1(0xfb)](_0xf60cdb);return yaml['load'](_0x5d2a1c)||{};}[a6_0x44be04(0x162)](_0x482501,_0x13b479,_0x380c49,_0x159209){const _0x1d330f=a6_0x44be04,_0x4ba418={'Content-Type':_0x159209?_0x159209:_0x1d330f(0x10b),'Authorization':_0x1d330f(0x15e)+this[_0x1d330f(0x13d)][_0x1d330f(0x15a)]},_0x40be4d=axios_1[_0x1d330f(0x167)][_0x1d330f(0x17f)][_0x1d330f(0xf8)](),_0x38a5a7=_0x380c49?_0x380c49*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this['logger'][_0x1d330f(0x104)](_0x1d330f(0x16d)+_0x38a5a7);const _0x41fae2=setTimeout(()=>{const _0x301e82=_0x1d330f;this['logger'][_0x301e82(0x14c)](_0x301e82(0x127)+_0x38a5a7+'ms'),_0x40be4d[_0x301e82(0x113)]();},_0x38a5a7),_0x2b8797={'method':_0x482501['method'],'url':_0x482501[_0x1d330f(0x15d)],'data':_0x482501[_0x1d330f(0x14d)],'headers':_0x4ba418,'cancelToken':_0x40be4d[_0x1d330f(0x150)]};return extend(!![],_0x2b8797,_0x482501),this[_0x1d330f(0x139)][_0x1d330f(0xec)](_0x2b8797)[_0x1d330f(0x122)](_0x55cca1=>{const _0x2860b9=_0x1d330f;return _0x13b479?.(null,_0x55cca1['data'],_0x55cca1),{'error':null,'data':_0x55cca1[_0x2860b9(0xfe)],'res':_0x55cca1};})[_0x1d330f(0x168)](_0x16a3a2=>{const _0x327cb3=_0x1d330f;return _0x13b479?.(_0x16a3a2,_0x16a3a2[_0x327cb3(0x10e)]?.[_0x327cb3(0xfe)],_0x16a3a2[_0x327cb3(0x10e)]),{'error':_0x16a3a2,'data':_0x16a3a2[_0x327cb3(0x10e)]?.[_0x327cb3(0xfe)],'res':_0x16a3a2[_0x327cb3(0x10e)]};})[_0x1d330f(0x148)](()=>clearTimeout(_0x41fae2));}async['getRedactions'](_0x417683){const _0x152c79=a6_0x44be04;this['logger'][_0x152c79(0x136)](_0x152c79(0x11c));const _0x461507=this['apiUrl']+encodeURIComponent(_0x417683)+_0x152c79(0x17d),{error:_0x2f63ed,data:_0x51777d}=await this[_0x152c79(0x162)]({'uri':_0x461507,'json':!![]});if(_0x2f63ed)return Promise[_0x152c79(0xfb)](_0x2f63ed);return _0x51777d;}}exports['Controller']=Controller;function is2xx(_0x325a4c){const _0x23164=a6_0x44be04;return Math[_0x23164(0x133)](_0x325a4c/0x64)===0x2;}function getProxyAgent(_0x35a0b2,_0x419c07){const _0x37dc6b=a6_0x44be04,_0x5ae124=_0x35a0b2[_0x37dc6b(0x11d)];if(!_0x5ae124?.[_0x37dc6b(0x15c)])return undefined;if(!_0x5ae124[_0x37dc6b(0x151)])return _0x419c07['error'](_0x37dc6b(0x173)),undefined;_0x419c07[_0x37dc6b(0x136)]('Using\x20proxy\x20configuration:\x20'+_0x5ae124[_0x37dc6b(0x15c)]+':'+_0x5ae124[_0x37dc6b(0x151)]+_0x37dc6b(0x16f)+(_0x5ae124[_0x37dc6b(0x10d)]??''));const _0x1da8bd=new HttpsProxyAgent({'host':_0x5ae124['host'],'port':_0x5ae124[_0x37dc6b(0x151)],'auth':_0x5ae124[_0x37dc6b(0x10d)]||_0x5ae124[_0x37dc6b(0x112)]?(_0x5ae124[_0x37dc6b(0x10d)]??'')+':'+(_0x5ae124[_0x37dc6b(0x112)]??''):undefined}),_0x156a7a=_0x1da8bd[_0x37dc6b(0x11e)]['bind'](_0x1da8bd),_0x2273bb=getHttpsAgentOptions(_0x35a0b2,_0x419c07);return _0x1da8bd[_0x37dc6b(0x11e)]=(_0x50c944,_0x1cd6dd)=>{return _0x156a7a(_0x50c944,{..._0x1cd6dd,..._0x2273bb});},_0x1da8bd;}function getHttpsAgentOptions(_0x44206a,_0x55defa){const _0x17a5a8=a6_0x44be04,_0x2dafd2={'checkServerIdentity':(_0x3d815b,_0x36a30d)=>{const _0x41be2a=a6_0x1f00;if(_0x44206a['noCheckCertificate'])return undefined;const _0x1a9715=(0x0,crypto_1['createHash'])('sha256')[_0x41be2a(0x179)](_0x36a30d[_0x41be2a(0xf4)])[_0x41be2a(0x178)](_0x41be2a(0x137));return _0x44206a['pinnedCerts']['includes'](_0x1a9715)?undefined:new Error('Certificate\x20Pinning\x20Failed!');}};let _0xa0f978;if(_0x44206a[_0x17a5a8(0xee)])try{_0xa0f978=(0x0,fs_1[_0x17a5a8(0x128)])(_0x44206a[_0x17a5a8(0xee)],'ascii');}catch(_0x849611){_0x55defa[_0x17a5a8(0x14c)](_0x17a5a8(0x121)+_0x44206a[_0x17a5a8(0xee)]+_0x17a5a8(0x16b));}if(_0xa0f978){const _0x4c6716=(0x0,tls_1[_0x17a5a8(0x165)])(_0x2dafd2);_0x4c6716[_0x17a5a8(0x164)][_0x17a5a8(0x10f)](_0xa0f978),_0x2dafd2[_0x17a5a8(0x12d)]=_0x4c6716;}return _0x2dafd2;}
|
|
1
|
+
const a6_0x19a55e=a6_0x19d0;(function(_0x2ada3e,_0x18643e){const _0x588bd2=a6_0x19d0,_0x2e63da=_0x2ada3e();while(!![]){try{const _0x40c790=parseInt(_0x588bd2(0x20b))/0x1*(parseInt(_0x588bd2(0x1b8))/0x2)+-parseInt(_0x588bd2(0x219))/0x3*(parseInt(_0x588bd2(0x194))/0x4)+parseInt(_0x588bd2(0x209))/0x5+-parseInt(_0x588bd2(0x1d7))/0x6+-parseInt(_0x588bd2(0x211))/0x7*(-parseInt(_0x588bd2(0x1ca))/0x8)+parseInt(_0x588bd2(0x197))/0x9*(parseInt(_0x588bd2(0x1f0))/0xa)+-parseInt(_0x588bd2(0x1e3))/0xb*(parseInt(_0x588bd2(0x206))/0xc);if(_0x40c790===_0x18643e)break;else _0x2e63da['push'](_0x2e63da['shift']());}catch(_0x2d8d98){_0x2e63da['push'](_0x2e63da['shift']());}}}(a6_0x70f7,0xc708f));const a6_0x1fe646=(function(){let _0x361b6=!![];return function(_0xa23c17,_0x3fbeb4){const _0x273ab0=_0x361b6?function(){const _0x23ca1a=a6_0x19d0;if(_0x3fbeb4){const _0x3e3293=_0x3fbeb4[_0x23ca1a(0x196)](_0xa23c17,arguments);return _0x3fbeb4=null,_0x3e3293;}}:function(){};return _0x361b6=![],_0x273ab0;};}()),a6_0x408beb=a6_0x1fe646(this,function(){const _0x54ee9d=a6_0x19d0;return a6_0x408beb['toString']()[_0x54ee9d(0x216)](_0x54ee9d(0x199))[_0x54ee9d(0x1a0)]()[_0x54ee9d(0x204)](a6_0x408beb)[_0x54ee9d(0x216)](_0x54ee9d(0x199));});function a6_0x70f7(){const _0x1ff594=['stringify','\x20size\x20>\x20max\x20network\x20size\x20:\x20','bind','load','ascii','includes','transmissionBulkMaxSize','callback','defineProperty','649680TmpEDU','Compressing\x20and\x20sending\x20log\x20file\x20','secureContext','crypto','\x20seconds','sha256','apiEndpoint','update','apiUrl','serializedJson','@google-cloud/common','tls','source','status','Proxy\x20host\x20is\x20set\x20but\x20port\x20is\x20missing.\x20Ignoring\x20proxy\x20configuration','Agent','debuggee','Deregister\x20agent\x20before\x20shutdown','clearTransmissionTimeout','querystring','constructor','https-proxy-agent','492vXQpMm','\x20transmitted\x20successfully','breakpointId:\x20','6108670bHoGBn','debug','1CAQgEo','POST','/redaction','enqueueBreakpointUpdate','/blacklist?successOnTimeout=true','statSync','9323419ZOnfqt','createSecureContext','unable\x20to\x20register,\x20status\x20','getBlocklist','Transmitting\x20breakpoint\x20updates...','search','Failed\x20to\x20read\x20pem\x20file\x20\x22','sendAppOnlyBreakpointHitsToServer','5352LVJUpL','info','Using\x20proxy\x20configuration:\x20','breakpoint\x20','lightrunSecret','memory-streams','config','body','timeout\x20set\x20to\x20','caPath','CancelToken','sendAgentLogsToServer','transmissionTimeout','proxy','create','transmissionQueue',',\x20Message:\x20',',\x20username:\x20','finally','size','password','collectCooldownMs','Update\x20for\x20breakpoints\x20','token','Timeout\x20occurred\x20after\x20','warn','response','\x20which\x20is\x20>\x0a\x20\x20\x20\x20\x20\x20maxLimit:\x20','shift','Failed\x20transmitting\x20breakpoint\x20updates\x20for\x20ids:\x20','\x20for\x20request\x20','1668hPjUzA','transmissionHardMaxNetworkSizeLimitInBytes','apply','90kNQnwn','username','(((.+)+)+)+$','\x20Error:\x20','error','pipeline','reject','port','Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20','toString','Getting\x20blocklist','getRedactions','logger','unknown\x20error\x20-\x20request\x20response\x20missing','\x20size\x20is\x20','length','Failed\x20to\x20zip\x20','application/json','makeRequest','stream','Failed\x20to\x20deregister\x20agent,\x20Error:\x20','zlib','unable\x20to\x20list\x20breakpoints,\x20status\x20code\x20','register','now','\x20finished\x20with\x20status\x20','getJsonStringSizeInBytes','map','PUT','message','WritableStream','ServiceObject','nextWaitToken','1292614SuPTeR','max','toBuffer','/debuggees/','/controller','\x20for\x20request\x20id\x20','__esModule','https://','floor','/breakpoints','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status\x20code:\x20','\x20retry\x20count\x20exceeded\x20maximum\x20-\x20Dropping\x20it','deregister','createHash','lastLogCollectionTime','then','.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','Getting\x20reductions','8ZpuSkc','push','default','/appOnlyActionHits/','Controller','hex','number','catch','data','uri','Failed\x20transmitting\x20breakpoint\x20logs,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20','/log/','transmitBreakpointUpdates','6901764jdAmun','digest','waitToken','transmissionBulkMaxNetworkSizeInBytes','\x20and\x20enqueue\x20to\x20queue','readFileSync',',\x20sending\x20only\x20one','axios','should\x20have\x20a\x20registered\x20debuggee','Bearer\x20','agentLog','Certificate\x20Pinning\x20Failed!','305899WHdUxg','host','createReadStream','./util/utils'];a6_0x70f7=function(){return _0x1ff594;};return a6_0x70f7();}a6_0x408beb();'use strict';function a6_0x19d0(_0x521411,_0x3611a1){const _0xb0510b=a6_0x70f7();return a6_0x19d0=function(_0x408beb,_0x1fe646){_0x408beb=_0x408beb-0x178;let _0x70f7ac=_0xb0510b[_0x408beb];return _0x70f7ac;},a6_0x19d0(_0x521411,_0x3611a1);}Object[a6_0x19a55e(0x1ef)](exports,a6_0x19a55e(0x1be),{'value':!![]}),exports[a6_0x19a55e(0x1ce)]=void 0x0;const common_1=require(a6_0x19a55e(0x1fa)),assert=require('assert'),qs=require(a6_0x19a55e(0x203)),fs_1=require('fs'),crypto_1=require(a6_0x19a55e(0x1f3)),zlib_1=require(a6_0x19a55e(0x1ac)),stream_1=require(a6_0x19a55e(0x1aa)),memory_streams_1=require(a6_0x19a55e(0x17a)),tls_1=require(a6_0x19a55e(0x1fb)),extend=require('extend'),axios_1=require(a6_0x19a55e(0x1de)),https=require('https'),utils_1=require(a6_0x19a55e(0x1e6)),HttpsProxyAgent=require(a6_0x19a55e(0x205)),yaml=require('js-yaml'),MAX_FAILED_SEND_ATTEMPTS=0x5,HTTP_SUCCESS=0xc8,HTTP_UPGRADE_REQUIRED=0x1aa,DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS=0x4e20;class Controller extends common_1[a6_0x19a55e(0x1b6)]{constructor(_0x47b66c,_0x35539a,_0x35acfe){const _0x21d663=a6_0x19a55e;super({'parent':_0x47b66c,'baseUrl':_0x21d663(0x1bc)}),this[_0x21d663(0x1b7)]=null,this[_0x21d663(0x17b)]=_0x35539a,this[_0x21d663(0x184)]=[],this['logger']=_0x35acfe,this[_0x21d663(0x1f8)]=_0x21d663(0x1bf)+_0x35539a[_0x21d663(0x1f6)]+_0x21d663(0x1bb),this[_0x21d663(0x1de)]=axios_1['default'][_0x21d663(0x183)]({'httpsAgent':getProxyAgent(_0x35539a,_0x35acfe)??new https[(_0x21d663(0x1ff))](getHttpsAgentOptions(_0x35539a,_0x35acfe)),'proxy':![]});}[a6_0x19a55e(0x1ae)](_0x56811f,_0x3d3159){const _0x33396a=a6_0x19a55e,_0x483a49={'uri':this[_0x33396a(0x1f8)]+_0x33396a(0x1ae),'method':_0x33396a(0x20c),'json':!![],'body':{'debuggee':_0x56811f}};this['makeRequest'](_0x483a49,(_0x5012d4,_0x4dd614,_0xe09936)=>{const _0x2f94da=_0x33396a;if(!_0xe09936)_0x3d3159(_0x5012d4||new Error(_0x2f94da(0x1a4)));else{if(_0x5012d4){let _0x2d83e0=![];_0xe09936[_0x2f94da(0x1fd)]===HTTP_UPGRADE_REQUIRED&&_0x4dd614&&(_0x4dd614[_0x2f94da(0x1b4)]!==undefined&&(_0x5012d4[_0x2f94da(0x1b4)]=_0x4dd614[_0x2f94da(0x1b4)]),_0x56811f['id']=_0x4dd614[_0x2f94da(0x200)]['id'],_0x2d83e0=!![]),_0x3d3159(_0x5012d4,_0x4dd614,_0x2d83e0);}else{if(_0xe09936[_0x2f94da(0x1fd)]!==HTTP_SUCCESS)_0x3d3159(new Error(_0x2f94da(0x213)+_0xe09936['status']));else!_0x4dd614?.[_0x2f94da(0x200)]?_0x3d3159(new Error('invalid\x20response\x20body\x20from\x20server')):(_0x56811f['id']=_0x4dd614['debuggee']['id'],_0x3d3159(null,_0x4dd614));}}});}['listBreakpoints'](_0x55f1bf,_0x341018,_0x102b11){const _0x4fe012=a6_0x19a55e,_0x3ce386=this;assert(_0x55f1bf['id'],'should\x20have\x20a\x20registered\x20debuggee');const _0x5b7a55={'successOnTimeout':!![]};_0x3ce386[_0x4fe012(0x1b7)]&&(_0x5b7a55[_0x4fe012(0x1d9)]=_0x3ce386['nextWaitToken']);const _0x1f9e32=this[_0x4fe012(0x1f8)]+encodeURIComponent(_0x55f1bf['id'])+'/breakpoints?'+qs[_0x4fe012(0x1e7)](_0x5b7a55);_0x3ce386[_0x4fe012(0x1a9)]({'uri':_0x1f9e32,'json':!![]},(_0x5e5576,_0x3fd6c3,_0x3cb3f1)=>{const _0x32f0f4=_0x4fe012;if(!_0x3cb3f1){_0x341018(_0x5e5576||new Error(_0x32f0f4(0x1a4)));return;}else{if(!is2xx(_0x3cb3f1[_0x32f0f4(0x1fd)])){_0x341018(new Error(_0x32f0f4(0x1ad)+_0x3cb3f1['status']),_0x3cb3f1);return;}else _0x3fd6c3&&(_0x3ce386[_0x32f0f4(0x1b7)]=_0x3fd6c3[_0x32f0f4(0x1b7)]),_0x341018(null,_0x3cb3f1,_0x3fd6c3);}},_0x102b11);}[a6_0x19a55e(0x20e)](_0x55d80f,_0x4f6ee6){const _0x2c363c=a6_0x19a55e;assert(_0x55d80f['id'],_0x2c363c(0x1df));try{const _0x2d4c4c=JSON['stringify'](_0x4f6ee6),_0x432ec7=(0x0,utils_1[_0x2c363c(0x1b1)])(_0x2d4c4c);if(_0x432ec7>=this[_0x2c363c(0x17b)]['transmissionHardMaxNetworkSizeLimitInBytes']){this[_0x2c363c(0x1a3)]['warn'](_0x2c363c(0x208)+_0x4f6ee6['id']+_0x2c363c(0x1a5)+_0x432ec7+_0x2c363c(0x190)+this['config'][_0x2c363c(0x195)]);return;}this['transmissionQueue'][_0x2c363c(0x1cb)]({'id':_0x4f6ee6['id'],'serializedJson':_0x2d4c4c,'number':0x0});if(!this[_0x2c363c(0x181)]){const _0x403bb4=this;this[_0x2c363c(0x181)]=setTimeout(()=>_0x403bb4[_0x2c363c(0x1d6)][_0x2c363c(0x1e9)](_0x403bb4)(_0x55d80f['id']),0x0);}}catch(_0x461bc5){this[_0x2c363c(0x1a3)]['error']('failed\x20to\x20serialize\x20breakpoint\x20'+_0x4f6ee6['id']+_0x2c363c(0x1db),_0x461bc5);return;}}[a6_0x19a55e(0x202)](){const _0x4a3561=a6_0x19a55e;if(!this[_0x4a3561(0x181)])return;clearTimeout(this[_0x4a3561(0x181)]),this[_0x4a3561(0x181)]=null;}[a6_0x19a55e(0x1c4)](_0x41cbb0,_0x25826d){const _0x46406e=a6_0x19a55e,_0x409d17=this[_0x46406e(0x1f8)]+encodeURIComponent(_0x41cbb0['id'])+'/deregister/',_0x823832={'uri':_0x409d17,'method':_0x46406e(0x20c),'json':!![]};this[_0x46406e(0x1a3)][_0x46406e(0x21a)](_0x46406e(0x201)),this['makeRequest'](_0x823832,(_0x449505,_0x1e1291,_0x45c5eb)=>{const _0x1d2c50=_0x46406e;(!_0x45c5eb||Math[_0x1d2c50(0x1c0)](_0x45c5eb[_0x1d2c50(0x1fd)]/0x64)!==0x2)&&this[_0x1d2c50(0x1a3)]['warn'](_0x1d2c50(0x1ab)+_0x449505),_0x25826d(_0x449505);});}['sendBreakpointLogsToServer'](_0x15e846,_0x19e459,_0x4cb367){const _0xd38bbe=a6_0x19a55e,_0x5b0fd8=this[_0xd38bbe(0x1f8)]+encodeURIComponent(_0x15e846['id'])+_0xd38bbe(0x1d5),_0x823a81={'uri':_0x5b0fd8,'method':_0xd38bbe(0x20c),'json':!![],'body':_0x19e459};this[_0xd38bbe(0x1a9)](_0x823a81,(_0x2aaadf,_0x57d9d0,_0x28b7fc)=>{const _0x4a35b8=_0xd38bbe;(!_0x28b7fc||Math[_0x4a35b8(0x1c0)](_0x28b7fc[_0x4a35b8(0x1fd)]/0x64)!==0x2)&&(this[_0x4a35b8(0x1a3)][_0x4a35b8(0x18e)](_0x4a35b8(0x1d4)+_0x2aaadf),_0x4cb367(_0x2aaadf));});}[a6_0x19a55e(0x218)](_0x46376a,_0x18643d,_0x31017f){const _0x1b7dc2=a6_0x19a55e,_0x40eeb1=this[_0x1b7dc2(0x1f8)]+encodeURIComponent(_0x46376a['id'])+_0x1b7dc2(0x1cd),_0x3d6ce8={'uri':_0x40eeb1,'method':_0x1b7dc2(0x20c),'json':!![],'body':_0x18643d};this[_0x1b7dc2(0x1a9)](_0x3d6ce8,(_0x2276c9,_0x441554,_0x2a7229)=>{const _0x52d919=_0x1b7dc2;(!_0x2a7229||Math[_0x52d919(0x1c0)](_0x2a7229[_0x52d919(0x1fd)]/0x64)!==0x2)&&(this[_0x52d919(0x1a3)][_0x52d919(0x18e)]('Failed\x20transmitting\x20app_only\x20breakpoint\x20hits,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Error:\x20'+_0x2276c9),_0x31017f(_0x2276c9));});}[a6_0x19a55e(0x180)](_0x343a7f,_0x1a8d4a,_0x1a8126){const _0x41219b=a6_0x19a55e;assert(_0x343a7f['id'],_0x41219b(0x1df));if(this[_0x41219b(0x1c6)]){const _0x5730ab=Date[_0x41219b(0x1af)](),_0x223944=this[_0x41219b(0x1c6)]+this[_0x41219b(0x17b)][_0x41219b(0x1e1)][_0x41219b(0x18a)];if(_0x5730ab<_0x223944){this[_0x41219b(0x1a3)][_0x41219b(0x21a)]('Request\x20to\x20collect\x20and\x20send\x20logs\x20to\x20backend\x20before\x20cooldown\x20reached::\x20remaining'+((_0x223944-_0x5730ab)/0x3e8+_0x41219b(0x1f4)));return;}}const _0x2ed351=(0x0,fs_1[_0x41219b(0x210)])(_0x1a8126)[_0x41219b(0x188)],_0xd295fd=Math[_0x41219b(0x1b9)](0x0,_0x2ed351-this[_0x41219b(0x17b)]['agentLog']['maxLogFileBytes']),_0x2c5a88=(0x0,fs_1[_0x41219b(0x1e5)])(_0x1a8126,{'start':_0xd295fd}),_0x5d5bbb=(0x0,zlib_1['createGzip'])(),_0x3b492d=new memory_streams_1[(_0x41219b(0x1b5))](),_0x4459d4=this;_0x4459d4[_0x41219b(0x1a3)][_0x41219b(0x21a)](_0x41219b(0x1f1)+_0x1a8126+_0x41219b(0x1bd)+_0x1a8d4a),(0x0,stream_1[_0x41219b(0x19c)])(_0x2c5a88,_0x5d5bbb,_0x3b492d,_0x3c85cc=>{const _0x195fc7=_0x41219b;if(_0x3c85cc)_0x4459d4[_0x195fc7(0x1a3)]['error'](_0x195fc7(0x1a7)+_0x1a8126+':\x20'+_0x3c85cc);else{const _0x3d9220={'uri':this[_0x195fc7(0x1f8)]+encodeURIComponent(_0x343a7f['id'])+'/compressedLogFile/'+_0x1a8d4a,'method':_0x195fc7(0x1b3),'body':_0x3b492d[_0x195fc7(0x1ba)]()};_0x4459d4[_0x195fc7(0x1a9)](_0x3d9220,_0x264d1a=>{const _0x2d53ef=_0x195fc7;_0x264d1a?_0x4459d4[_0x2d53ef(0x1a3)][_0x2d53ef(0x19b)]('Failed\x20to\x20send\x20log\x20file\x20'+_0x1a8126+_0x2d53ef(0x193)+_0x1a8d4a,_0x264d1a):(_0x4459d4[_0x2d53ef(0x1a3)][_0x2d53ef(0x21a)]('Successfully\x20sent\x20log\x20file\x20'+_0x1a8126+_0x2d53ef(0x193)+_0x1a8d4a),_0x4459d4['lastLogCollectionTime']=Date[_0x2d53ef(0x1af)]());});}});}['transmitBreakpointUpdates'](_0x16365f){const _0x35df24=a6_0x19a55e;this['logger']['debug'](_0x35df24(0x215)),this[_0x35df24(0x181)]=undefined;const _0x546740=[];let _0x3b8307=0x0;while(_0x546740[_0x35df24(0x1a6)]<this[_0x35df24(0x17b)][_0x35df24(0x1ed)]&&this['transmissionQueue'][_0x35df24(0x1a6)]>0x0){const _0x62fa22=this[_0x35df24(0x184)][0x0],_0xfbe763=_0x62fa22['serializedJson'],_0x28d252=(0x0,utils_1[_0x35df24(0x1b1)])(_0xfbe763);_0x3b8307+=_0x28d252;if(_0x3b8307<=this[_0x35df24(0x17b)]['transmissionBulkMaxNetworkSizeInBytes'])_0x546740[_0x35df24(0x1cb)](_0x62fa22),this[_0x35df24(0x184)][_0x35df24(0x191)]();else{_0x28d252>this[_0x35df24(0x17b)][_0x35df24(0x1da)]&&_0x546740['length']===0x0&&(this[_0x35df24(0x1a3)][_0x35df24(0x20a)](_0x35df24(0x178)+_0x62fa22['id']+_0x35df24(0x1e8)+this[_0x35df24(0x17b)][_0x35df24(0x1da)]+_0x35df24(0x1dd)),_0x546740['push'](_0x62fa22),this[_0x35df24(0x184)][_0x35df24(0x191)]());break;}}if(!_0x546740)return;const _0x33113e=_0x546740['map'](_0x5f734c=>_0x5f734c['id']),_0x371dc8={'uri':this[_0x35df24(0x1f8)]+encodeURIComponent(_0x16365f)+_0x35df24(0x1c1),'json':!![],'method':'PUT','body':'['+_0x546740[_0x35df24(0x1b2)](_0x4cebb1=>_0x4cebb1[_0x35df24(0x1f9)])['join'](',')+']'},_0x447ce8=this;try{this[_0x35df24(0x1a9)](_0x371dc8,(_0x60703e,_0x4a9e6c,_0x545263)=>{const _0x108438=_0x35df24,_0x4975f1=_0x545263?.['status'];_0x447ce8[_0x108438(0x1a3)][_0x108438(0x20a)](_0x108438(0x18b)+_0x33113e+_0x108438(0x1b0)+_0x4975f1);if(_0x60703e||!_0x4975f1||Math[_0x108438(0x1c0)](_0x4975f1/0x64)!==0x2){const _0x3bf3c3=_0x4975f1&&(_0x4975f1>=0x1f4||_0x4975f1===0x198);if(_0x3bf3c3){_0x447ce8['logger']['warn'](_0x108438(0x192)+_0x33113e+_0x108438(0x1c2)+_0x4975f1+_0x108438(0x19a)+_0x60703e);for(const _0x101b7c of _0x546740){_0x101b7c[_0x108438(0x1d0)]<MAX_FAILED_SEND_ATTEMPTS?_0x447ce8['transmissionQueue'][_0x108438(0x1cb)]({..._0x101b7c,'number':_0x101b7c[_0x108438(0x1d0)]+0x1}):_0x447ce8[_0x108438(0x1a3)][_0x108438(0x18e)]('Breakpoint\x20'+_0x101b7c['id']+_0x108438(0x1c3));}}else _0x447ce8[_0x108438(0x1a3)][_0x108438(0x18e)]('Failed\x20transmitting\x20breakpoint\x20updates,\x20dismissing\x20breakpoints:\x20'+_0x33113e+_0x108438(0x1c2)+_0x4975f1+_0x108438(0x19a)+_0x60703e);}else _0x447ce8[_0x108438(0x1a3)]['info'](_0x108438(0x18b)+_0x33113e+_0x108438(0x207));_0x447ce8[_0x108438(0x184)][_0x108438(0x1a6)]>0x0&&(_0x447ce8[_0x108438(0x181)]=setTimeout(()=>_0x447ce8[_0x108438(0x1d6)][_0x108438(0x1e9)](_0x447ce8)(_0x16365f),0x0));},0x28);}catch(_0x5c9adc){this[_0x35df24(0x1a3)][_0x35df24(0x18e)](_0x35df24(0x19f)+_0x33113e+_0x35df24(0x1c8)+_0x5c9adc+_0x35df24(0x185)+_0x5c9adc['data']?.[_0x35df24(0x1b4)]),_0x447ce8[_0x35df24(0x184)][_0x35df24(0x1a6)]>0x0&&(_0x447ce8['transmissionTimeout']=setTimeout(()=>_0x447ce8['transmitBreakpointUpdates']['bind'](_0x447ce8)(_0x16365f),0x0));}}async[a6_0x19a55e(0x214)](_0x5933c9){const _0x40b514=a6_0x19a55e;this[_0x40b514(0x1a3)]['info'](_0x40b514(0x1a1));const _0x31dea2=this[_0x40b514(0x1f8)]+encodeURIComponent(_0x5933c9)+_0x40b514(0x20f),{error:_0x53d668,data:_0x50f5fb}=await this[_0x40b514(0x1a9)]({'uri':_0x31dea2,'json':!![]});if(_0x53d668)return Promise[_0x40b514(0x19d)](_0x53d668);return yaml[_0x40b514(0x1ea)](_0x50f5fb)||{};}[a6_0x19a55e(0x1a9)](_0x31fb87,_0x2815bd,_0x174a00,_0x29b12d){const _0x4b1c27=a6_0x19a55e,_0x27a88b={'Content-Type':_0x29b12d?_0x29b12d:_0x4b1c27(0x1a8),'Authorization':_0x4b1c27(0x1e0)+this[_0x4b1c27(0x17b)][_0x4b1c27(0x179)]},_0x181d50=axios_1[_0x4b1c27(0x1cc)][_0x4b1c27(0x17f)][_0x4b1c27(0x1fc)](),_0x3c0fdd=_0x174a00?_0x174a00*0x3e8:DEFAULT_AGENT_CONNECTION_TIMEOUT_IN_MILLIS;this[_0x4b1c27(0x1a3)]['debug'](_0x4b1c27(0x17d)+_0x3c0fdd);const _0x204fbf=setTimeout(()=>{const _0x2ce7bf=_0x4b1c27;this[_0x2ce7bf(0x1a3)][_0x2ce7bf(0x18e)](_0x2ce7bf(0x18d)+_0x3c0fdd+'ms'),_0x181d50['cancel']();},_0x3c0fdd),_0x6de65b={'method':_0x31fb87['method'],'url':_0x31fb87[_0x4b1c27(0x1d3)],'data':_0x31fb87[_0x4b1c27(0x17c)],'headers':_0x27a88b,'cancelToken':_0x181d50[_0x4b1c27(0x18c)]};return extend(!![],_0x6de65b,_0x31fb87),this[_0x4b1c27(0x1de)]['request'](_0x6de65b)[_0x4b1c27(0x1c7)](_0x20c1a8=>{const _0x42eddb=_0x4b1c27;return _0x2815bd?.(null,_0x20c1a8[_0x42eddb(0x1d2)],_0x20c1a8),{'error':null,'data':_0x20c1a8[_0x42eddb(0x1d2)],'res':_0x20c1a8};})[_0x4b1c27(0x1d1)](_0x451516=>{const _0x1200f6=_0x4b1c27;return _0x2815bd?.(_0x451516,_0x451516[_0x1200f6(0x18f)]?.[_0x1200f6(0x1d2)],_0x451516['response']),{'error':_0x451516,'data':_0x451516[_0x1200f6(0x18f)]?.[_0x1200f6(0x1d2)],'res':_0x451516[_0x1200f6(0x18f)]};})[_0x4b1c27(0x187)](()=>clearTimeout(_0x204fbf));}async[a6_0x19a55e(0x1a2)](_0x41b36d){const _0x49a98f=a6_0x19a55e;this[_0x49a98f(0x1a3)][_0x49a98f(0x21a)](_0x49a98f(0x1c9));const _0x1485e3=this['apiUrl']+encodeURIComponent(_0x41b36d)+_0x49a98f(0x20d),{error:_0x54fc38,data:_0x10de29}=await this[_0x49a98f(0x1a9)]({'uri':_0x1485e3,'json':!![]});if(_0x54fc38)return Promise[_0x49a98f(0x19d)](_0x54fc38);return _0x10de29;}}exports[a6_0x19a55e(0x1ce)]=Controller;function is2xx(_0x4fdc7c){const _0x30d53f=a6_0x19a55e;return Math[_0x30d53f(0x1c0)](_0x4fdc7c/0x64)===0x2;}function getProxyAgent(_0x37f3a2,_0x5d1bb5){const _0x2c11b8=a6_0x19a55e,_0x34465f=_0x37f3a2[_0x2c11b8(0x182)];if(!_0x34465f?.[_0x2c11b8(0x1e4)])return undefined;if(!_0x34465f[_0x2c11b8(0x19e)])return _0x5d1bb5[_0x2c11b8(0x19b)](_0x2c11b8(0x1fe)),undefined;_0x5d1bb5['info'](_0x2c11b8(0x21b)+_0x34465f[_0x2c11b8(0x1e4)]+':'+_0x34465f['port']+_0x2c11b8(0x186)+(_0x34465f[_0x2c11b8(0x198)]??''));const _0x6c6334=new HttpsProxyAgent({'host':_0x34465f[_0x2c11b8(0x1e4)],'port':_0x34465f[_0x2c11b8(0x19e)],'auth':_0x34465f['username']||_0x34465f[_0x2c11b8(0x189)]?(_0x34465f[_0x2c11b8(0x198)]??'')+':'+(_0x34465f[_0x2c11b8(0x189)]??''):undefined}),_0x416b1b=_0x6c6334[_0x2c11b8(0x1ee)][_0x2c11b8(0x1e9)](_0x6c6334),_0x26765b=getHttpsAgentOptions(_0x37f3a2,_0x5d1bb5);return _0x6c6334[_0x2c11b8(0x1ee)]=(_0x142da4,_0x369d07)=>{return _0x416b1b(_0x142da4,{..._0x369d07,..._0x26765b});},_0x6c6334;}function getHttpsAgentOptions(_0x218b26,_0xed743d){const _0x39e0bb=a6_0x19a55e,_0x56e609={'checkServerIdentity':(_0x256dbd,_0x2ce636)=>{const _0x1c0186=a6_0x19d0;if(_0x218b26['noCheckCertificate'])return undefined;const _0x585ee3=(0x0,crypto_1[_0x1c0186(0x1c5)])(_0x1c0186(0x1f5))[_0x1c0186(0x1f7)](_0x2ce636['pubkey'])[_0x1c0186(0x1d8)](_0x1c0186(0x1cf));return _0x218b26['pinnedCerts'][_0x1c0186(0x1ec)](_0x585ee3)?undefined:new Error(_0x1c0186(0x1e2));}};let _0x50d69c;if(_0x218b26['caPath'])try{_0x50d69c=(0x0,fs_1[_0x39e0bb(0x1dc)])(_0x218b26[_0x39e0bb(0x17e)],_0x39e0bb(0x1eb));}catch(_0x1c6206){_0xed743d[_0x39e0bb(0x18e)](_0x39e0bb(0x217)+_0x218b26[_0x39e0bb(0x17e)]+'\x22\x20-\x20ignoring\x20it');}if(_0x50d69c){const _0x353959=(0x0,tls_1[_0x39e0bb(0x212)])(_0x56e609);_0x353959['context']['addCACert'](_0x50d69c),_0x56e609[_0x39e0bb(0x1f2)]=_0x353959;}return _0x56e609;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a7_0xd3269=a7_0x3e82;function a7_0x3e82(_0x19f7d6,_0x3e22e7){const _0x57eae9=a7_0x57cd();return a7_0x3e82=function(_0x1b5d60,_0x382322){_0x1b5d60=_0x1b5d60-0x108;let _0x57cdd4=_0x57eae9[_0x1b5d60];return _0x57cdd4;},a7_0x3e82(_0x19f7d6,_0x3e22e7);}(function(_0x33674c,_0x4a6537){const _0x4b9023=a7_0x3e82,_0x1695e7=_0x33674c();while(!![]){try{const _0x1f5357=parseInt(_0x4b9023(0x120))/0x1+-parseInt(_0x4b9023(0x12f))/0x2+parseInt(_0x4b9023(0x112))/0x3+parseInt(_0x4b9023(0x122))/0x4+-parseInt(_0x4b9023(0x12e))/0x5+-parseInt(_0x4b9023(0x10f))/0x6+parseInt(_0x4b9023(0x11c))/0x7*(parseInt(_0x4b9023(0x12c))/0x8);if(_0x1f5357===_0x4a6537)break;else _0x1695e7['push'](_0x1695e7['shift']());}catch(_0x2f2833){_0x1695e7['push'](_0x1695e7['shift']());}}}(a7_0x57cd,0xf03a7));const a7_0x382322=(function(){let _0x4f5391=!![];return function(_0x5e8a39,_0x479e39){const _0x1c096f=_0x4f5391?function(){if(_0x479e39){const _0x1d0fbc=_0x479e39['apply'](_0x5e8a39,arguments);return _0x479e39=null,_0x1d0fbc;}}:function(){};return _0x4f5391=![],_0x1c096f;};}()),a7_0x1b5d60=a7_0x382322(this,function(){const _0x5e75bb=a7_0x3e82;return a7_0x1b5d60[_0x5e75bb(0x109)]()[_0x5e75bb(0x125)](_0x5e75bb(0x12d))[_0x5e75bb(0x109)]()[_0x5e75bb(0x11a)](a7_0x1b5d60)[_0x5e75bb(0x125)](_0x5e75bb(0x12d));});a7_0x1b5d60();'use strict';Object[a7_0xd3269(0x12b)](exports,a7_0xd3269(0x128),{'value':!![]}),exports[a7_0xd3269(0x12a)]=exports[a7_0xd3269(0x10c)]=void 0x0;const path=require(a7_0xd3269(0x11d)),status_message_1=require('../../client/stackdriver/status-message'),debuggee_1=require(a7_0xd3269(0x116)),createDebuggeeMetadata_1=require(a7_0xd3269(0x113)),createUniquifier_1=require(a7_0xd3269(0x123)),getPlatform_1=require('./getPlatform'),encodeBase64=_0x187782=>Buffer[a7_0xd3269(0x129)](_0x187782,a7_0xd3269(0x10d))[a7_0xd3269(0x109)](a7_0xd3269(0x115));function a7_0x57cd(){const _0x56b74d=['title','createDebuggeeMetadata','__esModule','from','createDebuggee','defineProperty','8IJWDKr','(((.+)+)+)+$','3370405fOpnLw','290298LgrkVw','minorversion','version','UNSPECIFIED','toString','getPlatform','Debuggee','encodeBase64','utf-8','node','3776808uNNfYC','service','createUniquifier','884997ffmBlh','./createDebuggeeMetadata','sourceContexts','base64','../../debuggee','StatusMessage','relative','minorVersion_','constructor','module','7496888sUEbjG','path','stringify','string','316058VyrTxC','cwd','3002528ufQGfk','./createUniquifier','versions','search'];a7_0x57cd=function(){return _0x56b74d;};return a7_0x57cd();}exports[a7_0xd3269(0x10c)]=encodeBase64;const createDebuggee=(_0xf2a846,_0xdd1bb6,_0x178a0b,_0x3e9807,_0x4747cc,_0x165248,_0x2c19da,_0x4132a9)=>{const _0x1bbf1e=a7_0xd3269,_0x50caf7=process[_0x1bbf1e(0x121)](),_0x45f8c5=path[_0x1bbf1e(0x118)](_0x50caf7,process['argv'][0x1]),_0x86ae1b={'main\x20script':_0x45f8c5,'process.title':process[_0x1bbf1e(0x126)],'node\x20version':process[_0x1bbf1e(0x124)][_0x1bbf1e(0x10e)],'V8\x20version':process[_0x1bbf1e(0x124)]['v8'],'agent.name':_0x3e9807['name'],'agent.version':_0x4747cc,'platform':(0x0,getPlatform_1[_0x1bbf1e(0x10a)])()},_0x212190=_0xdd1bb6['serviceContext'];_0x212190&&(typeof _0x212190[_0x1bbf1e(0x110)]==='string'&&_0x212190[_0x1bbf1e(0x110)]!=='default'&&(_0x86ae1b[_0x1bbf1e(0x11b)]=_0x212190[_0x1bbf1e(0x110)]),typeof _0x212190[_0x1bbf1e(0x131)]===_0x1bbf1e(0x11f)&&(_0x86ae1b['version']=_0x212190[_0x1bbf1e(0x131)]),typeof _0x212190[_0x1bbf1e(0x119)]==='string'&&(_0x86ae1b[_0x1bbf1e(0x130)]=_0x212190[_0x1bbf1e(0x119)]));const _0x5a36bf=(0x0,createUniquifier_1[_0x1bbf1e(0x111)])(_0x4747cc,_0xf2a846,_0x178a0b,_0x86ae1b),_0x59e28c=_0x4132a9?new status_message_1[(_0x1bbf1e(0x117))](status_message_1[_0x1bbf1e(0x117)][_0x1bbf1e(0x108)],_0x4132a9,!![]):undefined,_0x1daab5=(0x0,createDebuggeeMetadata_1[_0x1bbf1e(0x127)])(_0xdd1bb6,_0x165248),_0xc80b07={'uniquifier':_0x5a36bf,'agentVersion':_0x4747cc,'labels':{'metadataV2':(0x0,exports[_0x1bbf1e(0x10c)])(JSON[_0x1bbf1e(0x11e)](_0x1daab5))},'statusMessage':_0x59e28c,'packageInfo':_0x3e9807,..._0x2c19da};return _0x178a0b&&(_0xc80b07[_0x1bbf1e(0x114)]=[_0x178a0b]),new debuggee_1[(_0x1bbf1e(0x10b))](_0xc80b07);};exports[a7_0xd3269(0x12a)]=createDebuggee;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a8_0x5047(){const _0x22702b=['createDebuggeeMetadata','730092YuLKEL','metadata','parse','registration','52860rCsaub','514lAFcue','tags','toString','extend','search','apply','32175mJRuTs','3928vJTxsT','2480hjvwoz','16Xancly','2453541fREhyo','filename','1200VNNUMl','254012aaDAMD','315LYoUvh','utf-8','map','string','constructor','__esModule','Failed\x20to\x20read\x20metadata\x20file\x20','863198OnTZSG'];a8_0x5047=function(){return _0x22702b;};return a8_0x5047();}const a8_0x9e197a=a8_0x1623;(function(_0xfd9f1,_0x2c6b0d){const _0x22a444=a8_0x1623,_0x29bebc=_0xfd9f1();while(!![]){try{const _0x33d04a=parseInt(_0x22a444(0x1a2))/0x1*(-parseInt(_0x22a444(0x1a9))/0x2)+-parseInt(_0x22a444(0x190))/0x3+parseInt(_0x22a444(0x1a1))/0x4*(parseInt(_0x22a444(0x194))/0x5)+-parseInt(_0x22a444(0x19d))/0x6+parseInt(_0x22a444(0x19b))/0x7*(parseInt(_0x22a444(0x1ab))/0x8)+parseInt(_0x22a444(0x1a8))/0x9*(-parseInt(_0x22a444(0x1aa))/0xa)+-parseInt(_0x22a444(0x193))/0xb*(-parseInt(_0x22a444(0x192))/0xc);if(_0x33d04a===_0x2c6b0d)break;else _0x29bebc['push'](_0x29bebc['shift']());}catch(_0x1f4fad){_0x29bebc['push'](_0x29bebc['shift']());}}}(a8_0x5047,0x86f2c));const a8_0x1aa8f0=(function(){let _0x550a73=!![];return function(_0x24cffc,_0x5257f8){const _0xbde1e4=_0x550a73?function(){const _0x139659=a8_0x1623;if(_0x5257f8){const _0x43ef55=_0x5257f8[_0x139659(0x1a7)](_0x24cffc,arguments);return _0x5257f8=null,_0x43ef55;}}:function(){};return _0x550a73=![],_0xbde1e4;};}()),a8_0x428763=a8_0x1aa8f0(this,function(){const _0x3ad5b8=a8_0x1623;return a8_0x428763[_0x3ad5b8(0x1a4)]()[_0x3ad5b8(0x1a6)]('(((.+)+)+)+$')['toString']()[_0x3ad5b8(0x198)](a8_0x428763)[_0x3ad5b8(0x1a6)]('(((.+)+)+)+$');});a8_0x428763();function a8_0x1623(_0x4ce481,_0x19d6d8){const _0x3e7a62=a8_0x5047();return a8_0x1623=function(_0x428763,_0x1aa8f0){_0x428763=_0x428763-0x190;let _0x504775=_0x3e7a62[_0x428763];return _0x504775;},a8_0x1623(_0x4ce481,_0x19d6d8);}'use strict';Object['defineProperty'](exports,a8_0x9e197a(0x199),{'value':!![]}),exports[a8_0x9e197a(0x19c)]=void 0x0;const fs=require('fs'),extend=require(a8_0x9e197a(0x1a5)),createDebuggeeMetadata=(_0x19b2b5,_0x376fe7)=>{const _0x6d7588=a8_0x9e197a;let _0x3027f4={'registration':{}};if(_0x19b2b5[_0x6d7588(0x19e)]?.[_0x6d7588(0x191)])try{_0x3027f4=JSON[_0x6d7588(0x19f)](fs['readFileSync'](_0x19b2b5[_0x6d7588(0x19e)][_0x6d7588(0x191)],_0x6d7588(0x195)));}catch(_0x36faa0){_0x376fe7['warn'](_0x6d7588(0x19a)+_0x19b2b5[_0x6d7588(0x19e)][_0x6d7588(0x191)],_0x36faa0);}return _0x3027f4['registration']=extend(!![],{},_0x19b2b5[_0x6d7588(0x19e)]?.['registration'],_0x3027f4['registration']),_0x3027f4['registration']?.[_0x6d7588(0x1a3)]&&(_0x3027f4[_0x6d7588(0x1a0)][_0x6d7588(0x1a3)]=_0x3027f4[_0x6d7588(0x1a0)][_0x6d7588(0x1a3)][_0x6d7588(0x196)](_0x37390a=>typeof _0x37390a===_0x6d7588(0x197)?{'name':_0x37390a}:_0x37390a)),_0x3027f4;};exports[a8_0x9e197a(0x19c)]=createDebuggeeMetadata;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0x2d5aa4=a9_0x5515;(function(_0x4497b4,_0x489273){const _0x5c5bae=a9_0x5515,_0x145340=_0x4497b4();while(!![]){try{const _0x272327=-parseInt(_0x5c5bae(0x11e))/0x1*(-parseInt(_0x5c5bae(0x122))/0x2)+-parseInt(_0x5c5bae(0x115))/0x3*(-parseInt(_0x5c5bae(0x124))/0x4)+-parseInt(_0x5c5bae(0x119))/0x5+parseInt(_0x5c5bae(0x11c))/0x6*(parseInt(_0x5c5bae(0x112))/0x7)+-parseInt(_0x5c5bae(0x121))/0x8*(parseInt(_0x5c5bae(0x117))/0x9)+-parseInt(_0x5c5bae(0x11a))/0xa+-parseInt(_0x5c5bae(0x126))/0xb*(parseInt(_0x5c5bae(0x11f))/0xc);if(_0x272327===_0x489273)break;else _0x145340['push'](_0x145340['shift']());}catch(_0x1d92ab){_0x145340['push'](_0x145340['shift']());}}}(a9_0x3e4e,0xda41d));const a9_0x1ee1ad=(function(){let _0x11b943=!![];return function(_0x55ffcb,_0x2ae69c){const _0x2449b3=_0x11b943?function(){const _0x434f78=a9_0x5515;if(_0x2ae69c){const _0x305c4a=_0x2ae69c[_0x434f78(0x123)](_0x55ffcb,arguments);return _0x2ae69c=null,_0x305c4a;}}:function(){};return _0x11b943=![],_0x2449b3;};}()),a9_0x1cd0d9=a9_0x1ee1ad(this,function(){const _0x4e771c=a9_0x5515;return a9_0x1cd0d9['toString']()[_0x4e771c(0x111)]('(((.+)+)+)+$')[_0x4e771c(0x113)]()[_0x4e771c(0x116)](a9_0x1cd0d9)[_0x4e771c(0x111)]('(((.+)+)+)+$');});a9_0x1cd0d9();'use strict';Object['defineProperty'](exports,a9_0x2d5aa4(0x110),{'value':!![]}),exports[a9_0x2d5aa4(0x10f)]=void 0x0;function a9_0x5515(_0x209a1d,_0x3bb3a5){const _0x793ea6=a9_0x3e4e();return a9_0x5515=function(_0x1cd0d9,_0x1ee1ad){_0x1cd0d9=_0x1cd0d9-0x10f;let _0x3e4ea5=_0x793ea6[_0x1cd0d9];return _0x3e4ea5;},a9_0x5515(_0x209a1d,_0x3bb3a5);}const crypto=require('crypto'),createUniquifier=(_0x5195a0,_0x261619,_0x5114cd,_0x56c47b)=>{const _0x2374e1=a9_0x2d5aa4,_0x3f2667=_0x5195a0+_0x261619+JSON['stringify'](_0x5114cd)+JSON[_0x2374e1(0x120)](_0x56c47b);return crypto[_0x2374e1(0x11b)](_0x2374e1(0x114))[_0x2374e1(0x11d)](_0x3f2667)[_0x2374e1(0x125)](_0x2374e1(0x118));};exports[a9_0x2d5aa4(0x10f)]=createUniquifier;function a9_0x3e4e(){const _0x52296a=['8101790vAoLfu','createHash','612RYSoZu','update','279SzAjLq','1332uYwmxT','stringify','86224TlYgce','4474EOyosg','apply','814276vQUbUs','digest','92983NnDszp','createUniquifier','__esModule','search','117922ohhFpQ','toString','sha1','9GadUbm','constructor','72cwBiMq','hex','1122275MlfWtS'];a9_0x3e4e=function(){return _0x52296a;};return a9_0x3e4e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a10_0x24b7(_0x5b7c25,_0x211e55){const _0x329aec=a10_0x2588();return a10_0x24b7=function(_0x55a8b4,_0x2852e2){_0x55a8b4=_0x55a8b4-0x12a;let _0x258864=_0x329aec[_0x55a8b4];return _0x258864;},a10_0x24b7(_0x5b7c25,_0x211e55);}const a10_0x4a002a=a10_0x24b7;(function(_0x5be8a9,_0x472d08){const _0x2e3389=a10_0x24b7,_0x8ae23a=_0x5be8a9();while(!![]){try{const _0x4c413a=-parseInt(_0x2e3389(0x134))/0x1*(parseInt(_0x2e3389(0x138))/0x2)+-parseInt(_0x2e3389(0x136))/0x3+parseInt(_0x2e3389(0x135))/0x4+-parseInt(_0x2e3389(0x13b))/0x5+-parseInt(_0x2e3389(0x132))/0x6*(-parseInt(_0x2e3389(0x12f))/0x7)+parseInt(_0x2e3389(0x131))/0x8*(-parseInt(_0x2e3389(0x13c))/0x9)+parseInt(_0x2e3389(0x137))/0xa*(parseInt(_0x2e3389(0x12b))/0xb);if(_0x4c413a===_0x472d08)break;else _0x8ae23a['push'](_0x8ae23a['shift']());}catch(_0x2bc5b6){_0x8ae23a['push'](_0x8ae23a['shift']());}}}(a10_0x2588,0x8fecc));const a10_0x2852e2=(function(){let _0x577873=!![];return function(_0x44de5c,_0x23bfb9){const _0x1c34cb=_0x577873?function(){const _0x30c639=a10_0x24b7;if(_0x23bfb9){const _0x509218=_0x23bfb9[_0x30c639(0x13a)](_0x44de5c,arguments);return _0x23bfb9=null,_0x509218;}}:function(){};return _0x577873=![],_0x1c34cb;};}()),a10_0x55a8b4=a10_0x2852e2(this,function(){const _0x10816c=a10_0x24b7;return a10_0x55a8b4['toString']()[_0x10816c(0x12a)](_0x10816c(0x12c))['toString']()['constructor'](a10_0x55a8b4)[_0x10816c(0x12a)]('(((.+)+)+)+$');});a10_0x55a8b4();'use strict';Object[a10_0x4a002a(0x130)](exports,a10_0x4a002a(0x133),{'value':!![]}),exports[a10_0x4a002a(0x139)]=void 0x0;function a10_0x2588(){const _0x559ce6=['length','push','21WzWoUt','defineProperty','8LYpUcV','138888UmVmwZ','__esModule','1ZGYObA','956688UAniXX','2425836gRPSjV','670kxJNFH','976174nlGlvm','delimit','apply','4017225IzInQS','2405385kxsHxO','search','434797oAIPHL','(((.+)+)+)+$'];a10_0x2588=function(){return _0x559ce6;};return a10_0x2588();}const delimit=(_0x2f99c9,_0x5f5a45)=>{const _0x33bf35=a10_0x4a002a,_0x29545f=_0x2f99c9['split'](_0x5f5a45),_0x23529e=[];_0x23529e['push'](_0x29545f[0x0]);for(let _0x35a416=0x1;_0x35a416<_0x29545f[_0x33bf35(0x12d)];_0x35a416++){_0x23529e[_0x33bf35(0x12e)]({'v':_0x5f5a45},_0x29545f[_0x35a416]);}return _0x23529e;};exports[a10_0x4a002a(0x139)]=delimit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a11_0x1bc9(_0x16dfdb,_0x30143d){const _0x10ea15=a11_0x5125();return a11_0x1bc9=function(_0x85b2e3,_0x2d47b9){_0x85b2e3=_0x85b2e3-0xa7;let _0x5125ee=_0x10ea15[_0x85b2e3];return _0x5125ee;},a11_0x1bc9(_0x16dfdb,_0x30143d);}const a11_0x465aa5=a11_0x1bc9;(function(_0x8d6978,_0x49a562){const _0x2d5e8f=a11_0x1bc9,_0x1201ee=_0x8d6978();while(!![]){try{const _0x4007b3=-parseInt(_0x2d5e8f(0xae))/0x1+parseInt(_0x2d5e8f(0xb2))/0x2+-parseInt(_0x2d5e8f(0xb0))/0x3+parseInt(_0x2d5e8f(0xb8))/0x4+parseInt(_0x2d5e8f(0xb1))/0x5*(-parseInt(_0x2d5e8f(0xad))/0x6)+parseInt(_0x2d5e8f(0xaa))/0x7*(parseInt(_0x2d5e8f(0xb6))/0x8)+-parseInt(_0x2d5e8f(0xb4))/0x9;if(_0x4007b3===_0x49a562)break;else _0x1201ee['push'](_0x1201ee['shift']());}catch(_0x25992d){_0x1201ee['push'](_0x1201ee['shift']());}}}(a11_0x5125,0x1dc00));const a11_0x2d47b9=(function(){let _0x14fdc8=!![];return function(_0x1bd1f9,_0x3de8ef){const _0x397855=_0x14fdc8?function(){if(_0x3de8ef){const _0x2750cb=_0x3de8ef['apply'](_0x1bd1f9,arguments);return _0x3de8ef=null,_0x2750cb;}}:function(){};return _0x14fdc8=![],_0x397855;};}()),a11_0x85b2e3=a11_0x2d47b9(this,function(){const _0x33d51d=a11_0x1bc9;return a11_0x85b2e3[_0x33d51d(0xb3)]()[_0x33d51d(0xb7)](_0x33d51d(0xa7))[_0x33d51d(0xb3)]()['constructor'](a11_0x85b2e3)[_0x33d51d(0xb7)](_0x33d51d(0xa7));});function a11_0x5125(){const _0x11cadd=['110227UnCKHn','./tokenize','719781CwGtZd','5fGgEVP','241022KXXYDm','toString','640737ftASKc','format','8YVuCou','search','735600jWkvJv','substring','length','(((.+)+)+)+$','__esModule','join','1696891RJiSOE','test','tokenize','21726anwdSE'];a11_0x5125=function(){return _0x11cadd;};return a11_0x5125();}a11_0x85b2e3();'use strict';Object['defineProperty'](exports,a11_0x465aa5(0xa8),{'value':!![]}),exports['format']=void 0x0;const tokenize_1=require(a11_0x465aa5(0xaf)),format=(_0x3d30d4,_0x480404)=>{const _0x2f62dd=a11_0x465aa5,_0x482535=(0x0,tokenize_1[_0x2f62dd(0xac)])(_0x3d30d4,_0x480404['length']);for(let _0x581e8c=0x0;_0x581e8c<_0x482535[_0x2f62dd(0xba)];_0x581e8c++){if(!_0x482535[_0x581e8c]['v'])continue;if(_0x482535[_0x581e8c]['v']==='$$'){_0x482535[_0x581e8c]='$';continue;}for(let _0x3fd7b7=0x0;_0x3fd7b7<_0x480404[_0x2f62dd(0xba)];_0x3fd7b7++){if(_0x482535[_0x581e8c]['v']==='$'+_0x3fd7b7){let _0x24d2c9=_0x480404[_0x3fd7b7];/^".*"$/[_0x2f62dd(0xab)](_0x24d2c9)&&(_0x24d2c9=_0x24d2c9[_0x2f62dd(0xb9)](0x1,_0x24d2c9[_0x2f62dd(0xba)]-0x1));_0x482535[_0x581e8c]=_0x24d2c9;break;}}}return _0x482535[_0x2f62dd(0xa9)]('');};exports[a11_0x465aa5(0xb5)]=format;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x167d62=a12_0x1512;(function(_0x3661a8,_0x110d2c){const _0x290ec8=a12_0x1512,_0x5b7b7d=_0x3661a8();while(!![]){try{const _0x54221c=parseInt(_0x290ec8(0x1d2))/0x1+parseInt(_0x290ec8(0x1e0))/0x2*(parseInt(_0x290ec8(0x1ea))/0x3)+-parseInt(_0x290ec8(0x1c3))/0x4*(parseInt(_0x290ec8(0x1d9))/0x5)+-parseInt(_0x290ec8(0x1f3))/0x6*(-parseInt(_0x290ec8(0x1dc))/0x7)+-parseInt(_0x290ec8(0x1d4))/0x8+parseInt(_0x290ec8(0x1f1))/0x9*(-parseInt(_0x290ec8(0x1db))/0xa)+parseInt(_0x290ec8(0x1c2))/0xb*(parseInt(_0x290ec8(0x1c6))/0xc);if(_0x54221c===_0x110d2c)break;else _0x5b7b7d['push'](_0x5b7b7d['shift']());}catch(_0x231640){_0x5b7b7d['push'](_0x5b7b7d['shift']());}}}(a12_0x487c,0x7480e));const a12_0x4740d7=(function(){let _0x59fb42=!![];return function(_0x352bb3,_0x1d83f5){const _0x198340=_0x59fb42?function(){const _0xd5b9ab=a12_0x1512;if(_0x1d83f5){const _0x1595f8=_0x1d83f5[_0xd5b9ab(0x1e2)](_0x352bb3,arguments);return _0x1d83f5=null,_0x1595f8;}}:function(){};return _0x59fb42=![],_0x198340;};}()),a12_0x4e3f90=a12_0x4740d7(this,function(){const _0x5d8221=a12_0x1512;return a12_0x4e3f90[_0x5d8221(0x1d0)]()[_0x5d8221(0x1e5)](_0x5d8221(0x1e1))[_0x5d8221(0x1d0)]()['constructor'](a12_0x4e3f90)['search'](_0x5d8221(0x1e1));});a12_0x4e3f90();'use strict';Object[a12_0x167d62(0x1cf)](exports,a12_0x167d62(0x1e7),{'value':!![]}),exports['getAgentConfig']=void 0x0;function a12_0x1512(_0x3f7d50,_0x22156b){const _0x2f46be=a12_0x487c();return a12_0x1512=function(_0x4e3f90,_0x4740d7){_0x4e3f90=_0x4e3f90-0x1c0;let _0x487c60=_0x2f46be[_0x4e3f90];return _0x487c60;},a12_0x1512(_0x3f7d50,_0x22156b);}const properties=require(a12_0x167d62(0x1c1)),fs=require('fs'),getAgentConfig=_0x4ae91e=>{const _0x350ac1=a12_0x167d62;if(fs['existsSync'](_0x4ae91e)){const _0x36106a=properties['of'](_0x4ae91e);return{'lightrunSecret':_0x36106a[_0x350ac1(0x1da)]('com.lightrun.secret'),'apiEndpoint':_0x36106a[_0x350ac1(0x1da)](_0x350ac1(0x1ef)),'breakpointExpirationSec':_0x36106a[_0x350ac1(0x1e3)](_0x350ac1(0x1df)),'transmissionBulkMaxSize':_0x36106a[_0x350ac1(0x1e3)]('transmission_bulk_max_size'),'noCheckCertificate':_0x36106a[_0x350ac1(0x1c7)](_0x350ac1(0x1d7)),'pinnedCerts':_0x36106a[_0x350ac1(0x1da)](_0x350ac1(0x1d6))?.['split'](','),'metadata':{'filename':_0x36106a[_0x350ac1(0x1da)](_0x350ac1(0x1e9))},'capture':{'maxFrames':_0x36106a[_0x350ac1(0x1e3)](_0x350ac1(0x1c9)),'maxDataSize':_0x36106a[_0x350ac1(0x1e3)](_0x350ac1(0x1ed)),'maxSnapshotBufferSize':_0x36106a[_0x350ac1(0x1e3)](_0x350ac1(0x1ed)),'maxVariableSize':_0x36106a['getInt'](_0x350ac1(0x1ca)),'maxWatchListVariableSize':_0x36106a[_0x350ac1(0x1e3)](_0x350ac1(0x1e4))},'agentLog':{'collectCooldownMs':_0x36106a['getInt'](_0x350ac1(0x1c5)),'agentLogTargetDir':_0x36106a[_0x350ac1(0x1da)](_0x350ac1(0x1dd)),'agentLogLevel':_0x36106a['getFirst'](_0x350ac1(0x1eb)),'agentLogMaxFileCount':_0x36106a['getInt'](_0x350ac1(0x1ce)),'agentLogMaxFileSizeMb':_0x36106a[_0x350ac1(0x1e3)](_0x350ac1(0x1cc)),'maxLogFileBytes':_0x36106a[_0x350ac1(0x1e3)](_0x350ac1(0x1e8))},'quota':{'ignoreQuota':_0x36106a[_0x350ac1(0x1c7)](_0x350ac1(0x1cb)),'maxCPUCost':_0x36106a[_0x350ac1(0x1f4)](_0x350ac1(0x1d5)),'maxConditionCost':_0x36106a[_0x350ac1(0x1f4)](_0x350ac1(0x1ee)),'maxDynamicLogRate':_0x36106a['getInt'](_0x350ac1(0x1d3)),'maxDynamicLogByteRate':_0x36106a['getInt'](_0x350ac1(0x1c0)),'quotaRecoverySeconds':_0x36106a[_0x350ac1(0x1e3)](_0x350ac1(0x1d8))&&_0x36106a[_0x350ac1(0x1e3)](_0x350ac1(0x1d8))/0x3e8},'fetchBreakpointsOnce':_0x36106a['getBoolean'](_0x350ac1(0x1c8)),'extraPaths':_0x36106a[_0x350ac1(0x1da)]('extra_paths')?.[_0x350ac1(0x1e6)](',')?.[_0x350ac1(0x1f0)](_0x5819c8=>_0x5819c8[_0x350ac1(0x1d1)]()),'proxy':{'host':_0x36106a[_0x350ac1(0x1da)](_0x350ac1(0x1c4)),'port':_0x36106a[_0x350ac1(0x1e3)](_0x350ac1(0x1f2)),'username':_0x36106a[_0x350ac1(0x1da)](_0x350ac1(0x1de)),'password':_0x36106a[_0x350ac1(0x1da)](_0x350ac1(0x1cd))}};}return;};exports[a12_0x167d62(0x1ec)]=getAgentConfig;function a12_0x487c(){const _0x331baa=['proxy_host','collect_log_cooldown_ms','340716TdQyIW','getBoolean','fetch_breakpoints_once','max_snapshot_frame_count','max_variable_size','ignore_quota','agent_log_max_file_size_mb','proxy_password','agent_log_max_file_count','defineProperty','toString','trim','157596KKMUpe','max_dynamic_log_rate','3031528gEjeQy','max_log_cpu_cost','pinned_certs','noCheckCertificate','dynamic_log_quota_recovery_ms','5OEZPQO','getFirst','3075620hGxksc','3780847VLKWnY','agent_log_target_dir','proxy_username','breakpoint_expiration_sec','81670VUmqOl','(((.+)+)+)+$','apply','getInt','max_watchlist_variable_size','search','split','__esModule','max_log_file_bytes','agent_regmetadata_file','51iYLkOn','agent_log_level','getAgentConfig','max_snapshot_buffer_size','max_condition_cost','apiEndpoint','map','27NFOwKj','proxy_port','6znKnzM','getFloat','max_dynamic_log_bytes_rate','java-properties','275HkQsdX','1291648HgfOtS'];a12_0x487c=function(){return _0x331baa;};return a12_0x487c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x2d0d49=a13_0x510b;function a13_0x3380(){const _0x1d8878=['toString','13036lFFqii','121huDiKT','apply','8vYhXad','default','7137792NFrtmJ','6201643kMNftg','search','718959cCHLND','getPlatform','CLOUD_FUNCTION','5585PuXMOB','defineProperty','__esModule','221770Rrohat','(((.+)+)+)+$','cloud_function','Platforms','98WPVqSe','4dpXSqb','DEFAULT','5232OTZnxZ','constructor','env','24402132PMnrjG'];a13_0x3380=function(){return _0x1d8878;};return a13_0x3380();}(function(_0x29e565,_0x50a0cf){const _0x591152=a13_0x510b,_0x1f7713=_0x29e565();while(!![]){try{const _0x395311=-parseInt(_0x591152(0x173))/0x1*(parseInt(_0x591152(0x17b))/0x2)+parseInt(_0x591152(0x183))/0x3*(parseInt(_0x591152(0x174))/0x4)+parseInt(_0x591152(0x16c))/0x5*(-parseInt(_0x591152(0x176))/0x6)+-parseInt(_0x591152(0x181))/0x7*(-parseInt(_0x591152(0x17e))/0x8)+-parseInt(_0x591152(0x180))/0x9+parseInt(_0x591152(0x16f))/0xa*(-parseInt(_0x591152(0x17c))/0xb)+parseInt(_0x591152(0x179))/0xc;if(_0x395311===_0x50a0cf)break;else _0x1f7713['push'](_0x1f7713['shift']());}catch(_0x37d1cf){_0x1f7713['push'](_0x1f7713['shift']());}}}(a13_0x3380,0x7c56a));function a13_0x510b(_0x3da9e3,_0x4907a6){const _0x28928c=a13_0x3380();return a13_0x510b=function(_0x280c8e,_0x6b8b3){_0x280c8e=_0x280c8e-0x16c;let _0x33801d=_0x28928c[_0x280c8e];return _0x33801d;},a13_0x510b(_0x3da9e3,_0x4907a6);}Object[a13_0x2d0d49(0x16d)](exports,a13_0x2d0d49(0x16e),{'value':!![]}),exports[a13_0x2d0d49(0x184)]=exports['Platforms']=void 0x0;var Platforms;(function(_0x548056){const _0x5f11bf=a13_0x2d0d49,_0x4ed129=(function(){let _0x473157=!![];return function(_0x34901f,_0x40955a){const _0x495ca6=_0x473157?function(){const _0x556f02=a13_0x510b;if(_0x40955a){const _0x198186=_0x40955a[_0x556f02(0x17d)](_0x34901f,arguments);return _0x40955a=null,_0x198186;}}:function(){};return _0x473157=![],_0x495ca6;};}()),_0xf3b3b0=_0x4ed129(this,function(){const _0x239b13=a13_0x510b;return _0xf3b3b0[_0x239b13(0x17a)]()[_0x239b13(0x182)](_0x239b13(0x170))[_0x239b13(0x17a)]()[_0x239b13(0x177)](_0xf3b3b0)['search'](_0x239b13(0x170));});_0xf3b3b0(),_0x548056[_0x5f11bf(0x185)]=_0x5f11bf(0x171),_0x548056[_0x5f11bf(0x175)]=_0x5f11bf(0x17f);}(Platforms||(exports[a13_0x2d0d49(0x172)]=Platforms={})));const getPlatform=()=>{const _0x342608=a13_0x2d0d49,{FUNCTION_NAME:_0x388d7f,FUNCTION_TARGET:_0x55329d}=process[_0x342608(0x178)];if(_0x388d7f||_0x55329d)return Platforms[_0x342608(0x185)];return Platforms[_0x342608(0x175)];};exports['getPlatform']=getPlatform;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a14_0x1235(){const _0x50da26=['1473824Btnkbs','apply','72532OrNAkK','255sfzlUw','search','10636450nyZRWq','3457070HGRwFH','defineProperty','114dJRClj','515290OtJTJx','(((.+)+)+)+$','constructor','mapSubtract','3xAPLgU','54586eRPxBs','2556544fiFduA','push','9ZqPrYE'];a14_0x1235=function(){return _0x50da26;};return a14_0x1235();}const a14_0x239a8e=a14_0x4109;function a14_0x4109(_0xd21789,_0x3e69eb){const _0x36a1fb=a14_0x1235();return a14_0x4109=function(_0x5b2ff8,_0x475ba6){_0x5b2ff8=_0x5b2ff8-0xb0;let _0x123571=_0x36a1fb[_0x5b2ff8];return _0x123571;},a14_0x4109(_0xd21789,_0x3e69eb);}(function(_0x1e834f,_0x39c626){const _0x36210f=a14_0x4109,_0xc389c6=_0x1e834f();while(!![]){try{const _0xe96125=parseInt(_0x36210f(0xbc))/0x1+-parseInt(_0x36210f(0xb3))/0x2*(parseInt(_0x36210f(0xc0))/0x3)+-parseInt(_0x36210f(0xb5))/0x4*(parseInt(_0x36210f(0xb6))/0x5)+parseInt(_0x36210f(0xbb))/0x6*(parseInt(_0x36210f(0xc1))/0x7)+parseInt(_0x36210f(0xb0))/0x8+parseInt(_0x36210f(0xb2))/0x9*(parseInt(_0x36210f(0xb9))/0xa)+parseInt(_0x36210f(0xb8))/0xb;if(_0xe96125===_0x39c626)break;else _0xc389c6['push'](_0xc389c6['shift']());}catch(_0x41e382){_0xc389c6['push'](_0xc389c6['shift']());}}}(a14_0x1235,0x9ac7e));const a14_0x475ba6=(function(){let _0xf8f139=!![];return function(_0x685457,_0x171bb8){const _0x2d6516=_0xf8f139?function(){const _0x501b52=a14_0x4109;if(_0x171bb8){const _0x1c3787=_0x171bb8[_0x501b52(0xb4)](_0x685457,arguments);return _0x171bb8=null,_0x1c3787;}}:function(){};return _0xf8f139=![],_0x2d6516;};}()),a14_0x5b2ff8=a14_0x475ba6(this,function(){const _0x4b288b=a14_0x4109;return a14_0x5b2ff8['toString']()[_0x4b288b(0xb7)](_0x4b288b(0xbd))['toString']()[_0x4b288b(0xbe)](a14_0x5b2ff8)[_0x4b288b(0xb7)](_0x4b288b(0xbd));});a14_0x5b2ff8();'use strict';Object[a14_0x239a8e(0xba)](exports,'__esModule',{'value':!![]}),exports[a14_0x239a8e(0xbf)]=void 0x0;const mapSubtract=(_0x328a77,_0x5791a0)=>{const _0x10de49=a14_0x239a8e,_0x3c550b=[];for(const _0x37aa74 in _0x328a77){!_0x5791a0[_0x37aa74]&&_0x3c550b[_0x10de49(0xb1)](_0x328a77[_0x37aa74]);}return _0x3c550b;};exports[a14_0x239a8e(0xbf)]=mapSubtract;
|