@flosum/storages 1.0.8 → 1.0.10

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.
@@ -1 +1 @@
1
- 'use strict';const _0x4147e0=_0x2c70;function _0x49d7(){const _0x2ea1e0=['3295398EugxNW','12PBTwig','21627wxuwAQ','secretAccessKey','8gXnlmc','BaseCredentials','916883JQslDb','__awaiter','3HRPNim','next','bucketName','done','then','promise','message','263109NnNggJ','./base-credentials','3932096APwXWc','__esModule','accessKeyId','default','credentials','830105zkHeZm','value','AwsS3Credentials','7HiGivB','throw','getCredentials','defineProperty','2390QSvHfT','validate','apply','aws-sdk','84536btjUyD','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20'];_0x49d7=function(){return _0x2ea1e0;};return _0x49d7();}(function(_0x53899d,_0x11538){const _0x5105eb=_0x2c70,_0x5da08=_0x53899d();while(!![]){try{const _0x4050ec=parseInt(_0x5105eb(0x1ed))/0x1+parseInt(_0x5105eb(0x1ff))/0x2*(parseInt(_0x5105eb(0x209))/0x3)+parseInt(_0x5105eb(0x205))/0x4*(-parseInt(_0x5105eb(0x1f4))/0x5)+-parseInt(_0x5105eb(0x201))/0x6*(-parseInt(_0x5105eb(0x1f7))/0x7)+parseInt(_0x5105eb(0x1ef))/0x8+-parseInt(_0x5105eb(0x203))/0x9*(parseInt(_0x5105eb(0x1fb))/0xa)+parseInt(_0x5105eb(0x207))/0xb*(-parseInt(_0x5105eb(0x202))/0xc);if(_0x4050ec===_0x11538)break;else _0x5da08['push'](_0x5da08['shift']());}catch(_0x41b844){_0x5da08['push'](_0x5da08['shift']());}}}(_0x49d7,0x5703a));var __awaiter=this&&this[_0x4147e0(0x208)]||function(_0x54b7d3,_0x339bc4,_0x4d2328,_0x31a12d){function _0x70080f(_0x33ed31){return _0x33ed31 instanceof _0x4d2328?_0x33ed31:new _0x4d2328(function(_0x42c935){_0x42c935(_0x33ed31);});}return new(_0x4d2328||(_0x4d2328=Promise))(function(_0x3a2d1e,_0x556f97){const _0x357715=_0x2c70;function _0x3e300c(_0x167d06){const _0xe010e4=_0x2c70;try{_0x42c990(_0x31a12d[_0xe010e4(0x20a)](_0x167d06));}catch(_0x4a15be){_0x556f97(_0x4a15be);}}function _0x45834e(_0x3df116){const _0x130949=_0x2c70;try{_0x42c990(_0x31a12d[_0x130949(0x1f8)](_0x3df116));}catch(_0x1f5882){_0x556f97(_0x1f5882);}}function _0x42c990(_0x54af68){const _0xaff17c=_0x2c70;_0x54af68[_0xaff17c(0x20c)]?_0x3a2d1e(_0x54af68[_0xaff17c(0x1f5)]):_0x70080f(_0x54af68[_0xaff17c(0x1f5)])[_0xaff17c(0x1ea)](_0x3e300c,_0x45834e);}_0x42c990((_0x31a12d=_0x31a12d[_0x357715(0x1fd)](_0x54b7d3,_0x339bc4||[]))[_0x357715(0x20a)]());});},__importDefault=this&&this['__importDefault']||function(_0x128057){return _0x128057&&_0x128057['__esModule']?_0x128057:{'default':_0x128057};};Object[_0x4147e0(0x1fa)](exports,_0x4147e0(0x1f0),{'value':!![]}),exports[_0x4147e0(0x1f6)]=void 0x0;const aws_sdk_1=__importDefault(require(_0x4147e0(0x1fe))),base_credentials_1=require(_0x4147e0(0x1ee));class AwsS3Credentials extends base_credentials_1[_0x4147e0(0x206)]{constructor(){const _0x3d1e0d=_0x4147e0;super(...arguments),this['s3']=new aws_sdk_1[(_0x3d1e0d(0x1f2))]['S3']({'accessKeyId':this[_0x3d1e0d(0x1f3)][_0x3d1e0d(0x1f1)],'secretAccessKey':this[_0x3d1e0d(0x1f3)]['secretAccessKey']});}get[_0x4147e0(0x1f1)](){const _0x5dcbc1=_0x4147e0;return this[_0x5dcbc1(0x1f3)][_0x5dcbc1(0x1f1)];}get['secretAccessKey'](){const _0x2ddbaa=_0x4147e0;return this['credentials'][_0x2ddbaa(0x204)];}get[_0x4147e0(0x20b)](){const _0xd22a78=_0x4147e0;return this[_0xd22a78(0x1f3)][_0xd22a78(0x20b)];}[_0x4147e0(0x1fc)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x867f10=_0x2c70;try{const _0x3f4563={'Bucket':this['credentials'][_0x867f10(0x20b)]};yield this['s3']['headBucket'](_0x3f4563)[_0x867f10(0x1eb)]();}catch(_0x591c4c){throw new Error(_0x867f10(0x200)+_0x591c4c[_0x867f10(0x1ec)]);}});}[_0x4147e0(0x1f9)](_0x439006=![]){const _0x122fef=_0x4147e0;if(_0x439006)return{'bucketName':this[_0x122fef(0x1f3)][_0x122fef(0x20b)]};return this[_0x122fef(0x1f3)];}}function _0x2c70(_0x3cc077,_0x3699a2){const _0x49d76c=_0x49d7();return _0x2c70=function(_0x2c705b,_0x590a10){_0x2c705b=_0x2c705b-0x1ea;let _0x29e3bf=_0x49d76c[_0x2c705b];return _0x29e3bf;},_0x2c70(_0x3cc077,_0x3699a2);}exports[_0x4147e0(0x1f6)]=AwsS3Credentials;
1
+ 'use strict';function _0x19ee(_0x2a6731,_0x5ee58d){const _0x167ac2=_0x167a();return _0x19ee=function(_0x19eeee,_0x52b6fa){_0x19eeee=_0x19eeee-0x145;let _0x3ac2b0=_0x167ac2[_0x19eeee];return _0x3ac2b0;},_0x19ee(_0x2a6731,_0x5ee58d);}const _0x42e9bb=_0x19ee;(function(_0x15936a,_0x56ca3f){const _0x344cb1=_0x19ee,_0x40fe70=_0x15936a();while(!![]){try{const _0x432c5a=parseInt(_0x344cb1(0x15b))/0x1+parseInt(_0x344cb1(0x149))/0x2+parseInt(_0x344cb1(0x147))/0x3*(parseInt(_0x344cb1(0x157))/0x4)+parseInt(_0x344cb1(0x158))/0x5*(parseInt(_0x344cb1(0x153))/0x6)+-parseInt(_0x344cb1(0x14c))/0x7+-parseInt(_0x344cb1(0x156))/0x8*(parseInt(_0x344cb1(0x14d))/0x9)+parseInt(_0x344cb1(0x163))/0xa*(parseInt(_0x344cb1(0x145))/0xb);if(_0x432c5a===_0x56ca3f)break;else _0x40fe70['push'](_0x40fe70['shift']());}catch(_0x186b5a){_0x40fe70['push'](_0x40fe70['shift']());}}}(_0x167a,0xd1d13));function _0x167a(){const _0x5a16ca=['accessKeyId','headBucket','value','2514HWGCOO','bucketName','done','1947456iWyLla','4FhYLSh','755eAiZIr','defineProperty','next','530663UisTjK','throw','apply','secretAccessKey','then','credentials','__awaiter','AwsS3Credentials','210EQmRTb','validate','./base-credentials','__esModule','273405XkvnHJ','message','2289369fROXVG','__importDefault','1658148xEmqHP','promise','getCredentials','6124615EkqtWE','36rMSZyj','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','aws-sdk'];_0x167a=function(){return _0x5a16ca;};return _0x167a();}var __awaiter=this&&this[_0x42e9bb(0x161)]||function(_0x5e88db,_0x4e8d49,_0x219182,_0x426d64){function _0x453681(_0x571159){return _0x571159 instanceof _0x219182?_0x571159:new _0x219182(function(_0x265390){_0x265390(_0x571159);});}return new(_0x219182||(_0x219182=Promise))(function(_0x504cb9,_0x1f6e5c){const _0x38194c=_0x19ee;function _0x494f84(_0x53d861){try{_0x2dda73(_0x426d64['next'](_0x53d861));}catch(_0x203399){_0x1f6e5c(_0x203399);}}function _0x586b8c(_0x1a244c){const _0x496f04=_0x19ee;try{_0x2dda73(_0x426d64[_0x496f04(0x15c)](_0x1a244c));}catch(_0x1badb7){_0x1f6e5c(_0x1badb7);}}function _0x2dda73(_0x559ab7){const _0xf158d2=_0x19ee;_0x559ab7[_0xf158d2(0x155)]?_0x504cb9(_0x559ab7[_0xf158d2(0x152)]):_0x453681(_0x559ab7[_0xf158d2(0x152)])[_0xf158d2(0x15f)](_0x494f84,_0x586b8c);}_0x2dda73((_0x426d64=_0x426d64[_0x38194c(0x15d)](_0x5e88db,_0x4e8d49||[]))[_0x38194c(0x15a)]());});},__importDefault=this&&this[_0x42e9bb(0x148)]||function(_0x4bc629){return _0x4bc629&&_0x4bc629['__esModule']?_0x4bc629:{'default':_0x4bc629};};Object[_0x42e9bb(0x159)](exports,_0x42e9bb(0x166),{'value':!![]}),exports[_0x42e9bb(0x162)]=void 0x0;const aws_sdk_1=__importDefault(require(_0x42e9bb(0x14f))),base_credentials_1=require(_0x42e9bb(0x165));class AwsS3Credentials extends base_credentials_1['BaseCredentials']{constructor(){const _0x125f0f=_0x42e9bb;super(...arguments),this['s3']=new aws_sdk_1['default']['S3']({'accessKeyId':this[_0x125f0f(0x160)][_0x125f0f(0x150)],'secretAccessKey':this[_0x125f0f(0x160)][_0x125f0f(0x15e)]});}get[_0x42e9bb(0x150)](){const _0x1e6baf=_0x42e9bb;return this[_0x1e6baf(0x160)]['accessKeyId'];}get[_0x42e9bb(0x15e)](){const _0x343263=_0x42e9bb;return this['credentials'][_0x343263(0x15e)];}get[_0x42e9bb(0x154)](){const _0x32e122=_0x42e9bb;return this[_0x32e122(0x160)][_0x32e122(0x154)];}[_0x42e9bb(0x164)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1cff35=_0x19ee;try{const _0x4606e9={'Bucket':this[_0x1cff35(0x160)][_0x1cff35(0x154)]};yield this['s3'][_0x1cff35(0x151)](_0x4606e9)[_0x1cff35(0x14a)]();}catch(_0x432295){throw new Error(_0x1cff35(0x14e)+_0x432295[_0x1cff35(0x146)]);}});}[_0x42e9bb(0x14b)](_0x5cce1e=![]){const _0x1151ed=_0x42e9bb;if(_0x5cce1e)return{'bucketName':this['credentials'][_0x1151ed(0x154)]};return this[_0x1151ed(0x160)];}}exports[_0x42e9bb(0x162)]=AwsS3Credentials;
@@ -1 +1 @@
1
- 'use strict';var _0x4c166c=_0x3e58;(function(_0x4ad8a4,_0x3e28b0){var _0x1b1b55=_0x3e58,_0x424dce=_0x4ad8a4();while(!![]){try{var _0x587b8c=parseInt(_0x1b1b55(0x73))/0x1*(-parseInt(_0x1b1b55(0x7f))/0x2)+-parseInt(_0x1b1b55(0x7c))/0x3*(parseInt(_0x1b1b55(0x7d))/0x4)+-parseInt(_0x1b1b55(0x75))/0x5*(-parseInt(_0x1b1b55(0x76))/0x6)+-parseInt(_0x1b1b55(0x80))/0x7+parseInt(_0x1b1b55(0x72))/0x8*(-parseInt(_0x1b1b55(0x71))/0x9)+-parseInt(_0x1b1b55(0x7b))/0xa+parseInt(_0x1b1b55(0x7a))/0xb*(parseInt(_0x1b1b55(0x79))/0xc);if(_0x587b8c===_0x3e28b0)break;else _0x424dce['push'](_0x424dce['shift']());}catch(_0x1cbede){_0x424dce['push'](_0x424dce['shift']());}}}(_0x47d6,0x9da7e));function _0x47d6(){var _0x522bdc=['97729aQIPOl','__esModule','85670cPPGdU','96mEyGze','parse','BaseCredentials','12IoMCfZ','41261143LFdsMO','2476090ZGBpUi','2625vmwllQ','1636IXplBK','defineProperty','18hWvNTX','8831452usHkHK','rawCredentials','210906nQUTkB','216PaZvPE'];_0x47d6=function(){return _0x522bdc;};return _0x47d6();}Object[_0x4c166c(0x7e)](exports,_0x4c166c(0x74),{'value':!![]}),exports[_0x4c166c(0x78)]=void 0x0;class BaseCredentials{constructor(_0x771c08){var _0x2d0790=_0x4c166c;this[_0x2d0790(0x81)]=_0x771c08,this['credentials']=this['rawCredentials']?JSON[_0x2d0790(0x77)](this[_0x2d0790(0x81)]):null;}}function _0x3e58(_0x5b85ce,_0x504b7a){var _0x47d636=_0x47d6();return _0x3e58=function(_0x3e58cd,_0x1293a6){_0x3e58cd=_0x3e58cd-0x71;var _0xc5a3b=_0x47d636[_0x3e58cd];return _0xc5a3b;},_0x3e58(_0x5b85ce,_0x504b7a);}exports[_0x4c166c(0x78)]=BaseCredentials;
1
+ 'use strict';var _0x294340=_0x3090;function _0x2988(){var _0x1e013a=['578464SvjEEf','parse','rawCredentials','2Szalgq','836348wlhAkb','8120240eCgHNn','636pRSPVX','credentials','1706598ryhHcr','BaseCredentials','defineProperty','__esModule','18592MmWvIq','32465142jaxNNE','1490672VNRqRC'];_0x2988=function(){return _0x1e013a;};return _0x2988();}(function(_0x2ed73c,_0x3e13ea){var _0x46afd3=_0x3090,_0xf96bfe=_0x2ed73c();while(!![]){try{var _0x193635=-parseInt(_0x46afd3(0x75))/0x1+-parseInt(_0x46afd3(0x74))/0x2*(-parseInt(_0x46afd3(0x79))/0x3)+-parseInt(_0x46afd3(0x70))/0x4+-parseInt(_0x46afd3(0x76))/0x5+-parseInt(_0x46afd3(0x77))/0x6*(parseInt(_0x46afd3(0x6e))/0x7)+-parseInt(_0x46afd3(0x71))/0x8+parseInt(_0x46afd3(0x6f))/0x9;if(_0x193635===_0x3e13ea)break;else _0xf96bfe['push'](_0xf96bfe['shift']());}catch(_0x5c7e83){_0xf96bfe['push'](_0xf96bfe['shift']());}}}(_0x2988,0xf180c));function _0x3090(_0x5eb505,_0x4ca4bd){var _0x29885c=_0x2988();return _0x3090=function(_0x30905e,_0x4782bd){_0x30905e=_0x30905e-0x6b;var _0x503b18=_0x29885c[_0x30905e];return _0x503b18;},_0x3090(_0x5eb505,_0x4ca4bd);}Object[_0x294340(0x6c)](exports,_0x294340(0x6d),{'value':!![]}),exports[_0x294340(0x6b)]=void 0x0;class BaseCredentials{constructor(_0x19d995){var _0x39ce73=_0x294340;this[_0x39ce73(0x73)]=_0x19d995,this[_0x39ce73(0x78)]=this['rawCredentials']?JSON[_0x39ce73(0x72)](this['rawCredentials']):null;}}exports['BaseCredentials']=BaseCredentials;
@@ -1 +1 @@
1
- 'use strict';var _0x4c329b=_0xdb5e;function _0xdb5e(_0x4424fc,_0x333f87){var _0x19f27f=_0x19f2();return _0xdb5e=function(_0xdb5e3b,_0x58f31c){_0xdb5e3b=_0xdb5e3b-0x170;var _0x2cfcd4=_0x19f27f[_0xdb5e3b];return _0x2cfcd4;},_0xdb5e(_0x4424fc,_0x333f87);}(function(_0xd1cfad,_0x55191a){var _0x2dbd5d=_0xdb5e,_0x32269d=_0xd1cfad();while(!![]){try{var _0x16a838=parseInt(_0x2dbd5d(0x17d))/0x1*(parseInt(_0x2dbd5d(0x183))/0x2)+parseInt(_0x2dbd5d(0x173))/0x3*(parseInt(_0x2dbd5d(0x182))/0x4)+-parseInt(_0x2dbd5d(0x175))/0x5*(parseInt(_0x2dbd5d(0x176))/0x6)+parseInt(_0x2dbd5d(0x17a))/0x7*(-parseInt(_0x2dbd5d(0x171))/0x8)+-parseInt(_0x2dbd5d(0x178))/0x9+-parseInt(_0x2dbd5d(0x174))/0xa*(parseInt(_0x2dbd5d(0x17f))/0xb)+parseInt(_0x2dbd5d(0x172))/0xc;if(_0x16a838===_0x55191a)break;else _0x32269d['push'](_0x32269d['shift']());}catch(_0x245199){_0x32269d['push'](_0x32269d['shift']());}}}(_0x19f2,0x57d75));function _0x19f2(){var _0x5a6375=['100247RvfuLm','./aws-s3-credentials','AwsS3Credentials','1sWZtid','LocalCredentials','13508eOCaBy','./local-credentials','./base-credentials','12ONVhdS','1299734BIjmVd','BaseCredentials','56ssURXT','11691204UCmBdJ','96897zqAfQG','3580VzQeFp','6145zAnXvA','1182qVWUSN','defineProperty','5213250rKtVPi','__esModule'];_0x19f2=function(){return _0x5a6375;};return _0x19f2();}Object[_0x4c329b(0x177)](exports,_0x4c329b(0x179),{'value':!![]}),exports[_0x4c329b(0x17e)]=exports[_0x4c329b(0x17c)]=exports[_0x4c329b(0x170)]=void 0x0;var base_credentials_1=require(_0x4c329b(0x181));Object[_0x4c329b(0x177)](exports,'BaseCredentials',{'enumerable':!![],'get':function(){return base_credentials_1['BaseCredentials'];}});var aws_s3_credentials_1=require(_0x4c329b(0x17b));Object[_0x4c329b(0x177)](exports,'AwsS3Credentials',{'enumerable':!![],'get':function(){var _0x1c1a51=_0x4c329b;return aws_s3_credentials_1[_0x1c1a51(0x17c)];}});var local_credentials_1=require(_0x4c329b(0x180));Object[_0x4c329b(0x177)](exports,_0x4c329b(0x17e),{'enumerable':!![],'get':function(){var _0x183b1e=_0x4c329b;return local_credentials_1[_0x183b1e(0x17e)];}});
1
+ 'use strict';var _0x42501e=_0xac9b;(function(_0x1b5060,_0x499668){var _0x501245=_0xac9b,_0x53f356=_0x1b5060();while(!![]){try{var _0x289c86=parseInt(_0x501245(0x14b))/0x1*(parseInt(_0x501245(0x13f))/0x2)+parseInt(_0x501245(0x146))/0x3+-parseInt(_0x501245(0x148))/0x4*(parseInt(_0x501245(0x14a))/0x5)+parseInt(_0x501245(0x13d))/0x6*(-parseInt(_0x501245(0x13c))/0x7)+-parseInt(_0x501245(0x13b))/0x8+parseInt(_0x501245(0x149))/0x9*(parseInt(_0x501245(0x14c))/0xa)+-parseInt(_0x501245(0x141))/0xb;if(_0x289c86===_0x499668)break;else _0x53f356['push'](_0x53f356['shift']());}catch(_0x4fd445){_0x53f356['push'](_0x53f356['shift']());}}}(_0x5ead,0x5b087));function _0xac9b(_0xe3c2c5,_0x27ee4f){var _0x5eadd8=_0x5ead();return _0xac9b=function(_0xac9bf1,_0x543840){_0xac9bf1=_0xac9bf1-0x13b;var _0x252d6b=_0x5eadd8[_0xac9bf1];return _0x252d6b;},_0xac9b(_0xe3c2c5,_0x27ee4f);}function _0x5ead(){var _0x30a85a=['./aws-s3-credentials','21806jVuZVI','defineProperty','4553494NcbwXC','AwsS3Credentials','__esModule','LocalCredentials','BaseCredentials','798123ufxPJZ','./base-credentials','4KgKfIh','1539yrVjXm','1174210QTvJqY','56WCrQuR','39550QYNJEa','277656mhUujI','56980EvODmI','366bWATJx'];_0x5ead=function(){return _0x30a85a;};return _0x5ead();}Object[_0x42501e(0x140)](exports,_0x42501e(0x143),{'value':!![]}),exports[_0x42501e(0x144)]=exports[_0x42501e(0x142)]=exports['BaseCredentials']=void 0x0;var base_credentials_1=require(_0x42501e(0x147));Object[_0x42501e(0x140)](exports,_0x42501e(0x145),{'enumerable':!![],'get':function(){var _0x51c450=_0x42501e;return base_credentials_1[_0x51c450(0x145)];}});var aws_s3_credentials_1=require(_0x42501e(0x13e));Object['defineProperty'](exports,_0x42501e(0x142),{'enumerable':!![],'get':function(){var _0x3327c2=_0x42501e;return aws_s3_credentials_1[_0x3327c2(0x142)];}});var local_credentials_1=require('./local-credentials');Object[_0x42501e(0x140)](exports,_0x42501e(0x144),{'enumerable':!![],'get':function(){var _0x35d98a=_0x42501e;return local_credentials_1[_0x35d98a(0x144)];}});
@@ -1 +1 @@
1
- 'use strict';const _0x3da1af=_0x2cd5;(function(_0x373fde,_0x1a7248){const _0x39b894=_0x2cd5,_0x2f0959=_0x373fde();while(!![]){try{const _0x4c461f=parseInt(_0x39b894(0x7b))/0x1*(parseInt(_0x39b894(0x7f))/0x2)+parseInt(_0x39b894(0x7c))/0x3*(-parseInt(_0x39b894(0x77))/0x4)+parseInt(_0x39b894(0x84))/0x5+-parseInt(_0x39b894(0x7e))/0x6+parseInt(_0x39b894(0x79))/0x7+-parseInt(_0x39b894(0x7a))/0x8+parseInt(_0x39b894(0x85))/0x9;if(_0x4c461f===_0x1a7248)break;else _0x2f0959['push'](_0x2f0959['shift']());}catch(_0x24bb34){_0x2f0959['push'](_0x2f0959['shift']());}}}(_0x27a8,0x88601));function _0x27a8(){const _0x4b026a=['7284096MmzANf','1rqyUFc','386790hkAhPm','./base-credentials','3973842RqmacG','2143478LTvAHc','BaseCredentials','defineProperty','__esModule','LocalCredentials','414550YxIVGF','6760485nBZZdh','4CWGUHk','getCredentials','2481696qpXEyg'];_0x27a8=function(){return _0x4b026a;};return _0x27a8();}Object[_0x3da1af(0x81)](exports,_0x3da1af(0x82),{'value':!![]}),exports[_0x3da1af(0x83)]=void 0x0;function _0x2cd5(_0x57f9ed,_0x5035ed){const _0x27a83b=_0x27a8();return _0x2cd5=function(_0x2cd5ea,_0x2f04e1){_0x2cd5ea=_0x2cd5ea-0x77;let _0x15527d=_0x27a83b[_0x2cd5ea];return _0x15527d;},_0x2cd5(_0x57f9ed,_0x5035ed);}const base_credentials_1=require(_0x3da1af(0x7d));class LocalCredentials extends base_credentials_1[_0x3da1af(0x80)]{[_0x3da1af(0x78)](){return null;}['validate'](){return Promise['resolve'](undefined);}}exports['LocalCredentials']=LocalCredentials;
1
+ 'use strict';const _0x585f12=_0x2cc3;(function(_0x1fadb8,_0x39d17c){const _0x49cc7b=_0x2cc3,_0x40994b=_0x1fadb8();while(!![]){try{const _0x59ae9f=-parseInt(_0x49cc7b(0x84))/0x1+-parseInt(_0x49cc7b(0x7e))/0x2*(-parseInt(_0x49cc7b(0x82))/0x3)+parseInt(_0x49cc7b(0x8b))/0x4+-parseInt(_0x49cc7b(0x85))/0x5+-parseInt(_0x49cc7b(0x87))/0x6+parseInt(_0x49cc7b(0x7d))/0x7*(parseInt(_0x49cc7b(0x81))/0x8)+parseInt(_0x49cc7b(0x88))/0x9;if(_0x59ae9f===_0x39d17c)break;else _0x40994b['push'](_0x40994b['shift']());}catch(_0x4c983d){_0x40994b['push'](_0x40994b['shift']());}}}(_0x209a,0x5fe71));function _0x2cc3(_0x3332b9,_0x1f7603){const _0x209aa2=_0x209a();return _0x2cc3=function(_0x2cc367,_0x43dc6e){_0x2cc367=_0x2cc367-0x7c;let _0x631232=_0x209aa2[_0x2cc367];return _0x631232;},_0x2cc3(_0x3332b9,_0x1f7603);}Object[_0x585f12(0x7c)](exports,_0x585f12(0x7f),{'value':!![]}),exports[_0x585f12(0x86)]=void 0x0;function _0x209a(){const _0x4c39ee=['defineProperty','3227HMjhDv','42dWazYm','__esModule','validate','4712AbILEY','62772EWbtxm','resolve','731188SmZxkb','3356345iZeFvJ','LocalCredentials','1065684vhXfuv','7376301ACbjsV','getCredentials','BaseCredentials','1769464mOXPMt','./base-credentials'];_0x209a=function(){return _0x4c39ee;};return _0x209a();}const base_credentials_1=require(_0x585f12(0x8c));class LocalCredentials extends base_credentials_1[_0x585f12(0x8a)]{[_0x585f12(0x89)](){return null;}[_0x585f12(0x80)](){const _0x1f8dd4=_0x585f12;return Promise[_0x1f8dd4(0x83)](undefined);}}exports[_0x585f12(0x86)]=LocalCredentials;
@@ -1 +1 @@
1
- 'use strict';const _0xc823d=_0x5a81;(function(_0x279833,_0x2b9f9a){const _0xe64eaf=_0x5a81,_0x58a40c=_0x279833();while(!![]){try{const _0x466f13=-parseInt(_0xe64eaf(0x179))/0x1+-parseInt(_0xe64eaf(0x190))/0x2*(parseInt(_0xe64eaf(0x183))/0x3)+parseInt(_0xe64eaf(0x191))/0x4*(-parseInt(_0xe64eaf(0x195))/0x5)+-parseInt(_0xe64eaf(0x17c))/0x6*(-parseInt(_0xe64eaf(0x186))/0x7)+-parseInt(_0xe64eaf(0x17a))/0x8*(-parseInt(_0xe64eaf(0x182))/0x9)+-parseInt(_0xe64eaf(0x199))/0xa+parseInt(_0xe64eaf(0x189))/0xb;if(_0x466f13===_0x2b9f9a)break;else _0x58a40c['push'](_0x58a40c['shift']());}catch(_0x40eff8){_0x58a40c['push'](_0x58a40c['shift']());}}}(_0x1b07,0xbd4c2));var __awaiter=this&&this[_0xc823d(0x198)]||function(_0xf58efe,_0x26597e,_0x3050b0,_0x14d8a9){function _0x25ded9(_0x4fc0f1){return _0x4fc0f1 instanceof _0x3050b0?_0x4fc0f1:new _0x3050b0(function(_0x3b383b){_0x3b383b(_0x4fc0f1);});}return new(_0x3050b0||(_0x3050b0=Promise))(function(_0x50578a,_0x49cafa){const _0x525fee=_0x5a81;function _0x3ec7dd(_0x1c0e45){const _0xb13246=_0x5a81;try{_0x2e15dd(_0x14d8a9[_0xb13246(0x196)](_0x1c0e45));}catch(_0x1d97e4){_0x49cafa(_0x1d97e4);}}function _0x241baf(_0xd52f4f){const _0x8130f7=_0x5a81;try{_0x2e15dd(_0x14d8a9[_0x8130f7(0x17e)](_0xd52f4f));}catch(_0x205333){_0x49cafa(_0x205333);}}function _0x2e15dd(_0x9008c7){const _0x68ba68=_0x5a81;_0x9008c7['done']?_0x50578a(_0x9008c7['value']):_0x25ded9(_0x9008c7[_0x68ba68(0x18d)])[_0x68ba68(0x17b)](_0x3ec7dd,_0x241baf);}_0x2e15dd((_0x14d8a9=_0x14d8a9['apply'](_0xf58efe,_0x26597e||[]))[_0x525fee(0x196)]());});},__importDefault=this&&this[_0xc823d(0x192)]||function(_0x18fad2){return _0x18fad2&&_0x18fad2['__esModule']?_0x18fad2:{'default':_0x18fad2};};Object[_0xc823d(0x194)](exports,'__esModule',{'value':!![]}),exports[_0xc823d(0x17d)]=void 0x0;function _0x5a81(_0x429e99,_0x2eae0a){const _0x1b079d=_0x1b07();return _0x5a81=function(_0x5a81e4,_0x4a9818){_0x5a81e4=_0x5a81e4-0x173;let _0x4ce749=_0x1b079d[_0x5a81e4];return _0x4ce749;},_0x5a81(_0x429e99,_0x2eae0a);}const aws_sdk_1=__importDefault(require(_0xc823d(0x174))),path_1=__importDefault(require(_0xc823d(0x180))),utils_1=require(_0xc823d(0x176)),aws_s3_utils_1=require('../utils/aws-s3.utils'),_1=require('./');class AwsS3Delete extends _1[_0xc823d(0x17f)]{constructor(_0x2e669a){const _0xf25aae=_0xc823d;super(_0x2e669a),this[_0xf25aae(0x177)]=_0x2e669a,this[_0xf25aae(0x19a)]=0x3e8,this['s3']=new aws_sdk_1[(_0xf25aae(0x188))]['S3']({'accessKeyId':this[_0xf25aae(0x177)][_0xf25aae(0x173)],'secretAccessKey':this['credentials'][_0xf25aae(0x184)]});}[_0xc823d(0x193)](_0x2f0161){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x29adeb=_0x5a81,_0xf4c109=_0x2f0161[_0x29adeb(0x197)](path_1[_0x29adeb(0x188)]['sep'])[_0x29adeb(0x18a)](path_1[_0x29adeb(0x188)][_0x29adeb(0x187)][_0x29adeb(0x18e)]),_0x8610f2=yield aws_s3_utils_1['AwsS3Utils'][_0x29adeb(0x18f)](_0xf4c109,this['credentials'][_0x29adeb(0x178)],this['s3']),_0x2ee538=utils_1[_0x29adeb(0x181)][_0x29adeb(0x175)](_0x8610f2,this['OBJECTS_PER_CHUNK']);for(const _0x1b8cf8 of _0x2ee538){const _0x1d867c=_0x1b8cf8[_0x29adeb(0x18b)](_0x42060a=>({'Key':_0x42060a})),_0x1d95c7={'Bucket':this[_0x29adeb(0x177)][_0x29adeb(0x178)],'Delete':{'Objects':_0x1d867c}};yield this['s3'][_0x29adeb(0x18c)](_0x1d95c7)[_0x29adeb(0x185)]();}});}}function _0x1b07(){const _0x1c1573=['then','114mKfBjc','AwsS3Delete','throw','BaseDelete','path','ArrayUtils','36RmDUno','2219127khvpVh','secretAccessKey','promise','445690AIAHOc','posix','default','17103515lciwQk','join','map','deleteObjects','value','sep','getFilesPaths','2ROYCMN','461328vrARGJ','__importDefault','execute','defineProperty','20PIkShe','next','split','__awaiter','2512430FlNSQD','OBJECTS_PER_CHUNK','accessKeyId','aws-sdk','splitOnChunks','@flosum-service/utils','credentials','bucketName','700601qmqaQr','327296SResqA'];_0x1b07=function(){return _0x1c1573;};return _0x1b07();}exports[_0xc823d(0x17d)]=AwsS3Delete;
1
+ 'use strict';const _0x5b211f=_0x4f63;(function(_0x29d94e,_0x2fed08){const _0x48cfbd=_0x4f63,_0x5f30de=_0x29d94e();while(!![]){try{const _0x57bf56=-parseInt(_0x48cfbd(0x1d3))/0x1+parseInt(_0x48cfbd(0x1dd))/0x2*(parseInt(_0x48cfbd(0x1da))/0x3)+-parseInt(_0x48cfbd(0x1d5))/0x4+parseInt(_0x48cfbd(0x1dc))/0x5*(-parseInt(_0x48cfbd(0x1df))/0x6)+-parseInt(_0x48cfbd(0x1cd))/0x7*(parseInt(_0x48cfbd(0x1c7))/0x8)+-parseInt(_0x48cfbd(0x1c4))/0x9*(parseInt(_0x48cfbd(0x1c8))/0xa)+parseInt(_0x48cfbd(0x1d8))/0xb;if(_0x57bf56===_0x2fed08)break;else _0x5f30de['push'](_0x5f30de['shift']());}catch(_0x3b9013){_0x5f30de['push'](_0x5f30de['shift']());}}}(_0x2b40,0xc3503));var __awaiter=this&&this['__awaiter']||function(_0x274453,_0xb1ff19,_0x239848,_0x49e7f1){function _0x38fb0e(_0x2ffc6d){return _0x2ffc6d instanceof _0x239848?_0x2ffc6d:new _0x239848(function(_0x1cd940){_0x1cd940(_0x2ffc6d);});}return new(_0x239848||(_0x239848=Promise))(function(_0x35d438,_0x160259){const _0x2b3f5c=_0x4f63;function _0xa99643(_0x4c4f7f){try{_0x659a8d(_0x49e7f1['next'](_0x4c4f7f));}catch(_0x3e6bc3){_0x160259(_0x3e6bc3);}}function _0x2f3bbb(_0x59ad54){try{_0x659a8d(_0x49e7f1['throw'](_0x59ad54));}catch(_0x3f4f79){_0x160259(_0x3f4f79);}}function _0x659a8d(_0xe56086){const _0x1dee77=_0x4f63;_0xe56086[_0x1dee77(0x1d4)]?_0x35d438(_0xe56086[_0x1dee77(0x1d2)]):_0x38fb0e(_0xe56086[_0x1dee77(0x1d2)])[_0x1dee77(0x1e1)](_0xa99643,_0x2f3bbb);}_0x659a8d((_0x49e7f1=_0x49e7f1[_0x2b3f5c(0x1db)](_0x274453,_0xb1ff19||[]))[_0x2b3f5c(0x1cf)]());});},__importDefault=this&&this['__importDefault']||function(_0x9c5cf2){const _0x50623c=_0x4f63;return _0x9c5cf2&&_0x9c5cf2[_0x50623c(0x1e0)]?_0x9c5cf2:{'default':_0x9c5cf2};};Object[_0x5b211f(0x1d9)](exports,_0x5b211f(0x1e0),{'value':!![]}),exports[_0x5b211f(0x1cc)]=void 0x0;const aws_sdk_1=__importDefault(require(_0x5b211f(0x1bf))),path_1=__importDefault(require(_0x5b211f(0x1d1))),utils_1=require(_0x5b211f(0x1d0)),aws_s3_utils_1=require('../utils/aws-s3.utils'),_1=require('./');function _0x4f63(_0x193470,_0x45d816){const _0x2b40f1=_0x2b40();return _0x4f63=function(_0x4f6336,_0x1ca8ee){_0x4f6336=_0x4f6336-0x1be;let _0x46eb68=_0x2b40f1[_0x4f6336];return _0x46eb68;},_0x4f63(_0x193470,_0x45d816);}function _0x2b40(){const _0xbc9c3c=['credentials','BaseDelete','sep','promise','783xfJPsA','getFilesPaths','execute','1705008RnuRmN','181690AorsLU','bucketName','secretAccessKey','AwsS3Utils','AwsS3Delete','35sOcjXJ','OBJECTS_PER_CHUNK','next','@flosum-service/utils','path','value','100874excfdS','done','2601892AWWMgh','default','map','42648958jaOUoh','defineProperty','5385KvINOc','apply','5783900gOzDAz','1646bHDfBt','join','6ZWtkin','__esModule','then','deleteObjects','ArrayUtils','splitOnChunks','posix','aws-sdk'];_0x2b40=function(){return _0xbc9c3c;};return _0x2b40();}class AwsS3Delete extends _1[_0x5b211f(0x1c1)]{constructor(_0x4ffc29){const _0x572112=_0x5b211f;super(_0x4ffc29),this[_0x572112(0x1c0)]=_0x4ffc29,this[_0x572112(0x1ce)]=0x3e8,this['s3']=new aws_sdk_1[(_0x572112(0x1d6))]['S3']({'accessKeyId':this[_0x572112(0x1c0)]['accessKeyId'],'secretAccessKey':this['credentials'][_0x572112(0x1ca)]});}[_0x5b211f(0x1c6)](_0x316913){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1dc17a=_0x4f63,_0x3f5eda=_0x316913['split'](path_1[_0x1dc17a(0x1d6)][_0x1dc17a(0x1c2)])[_0x1dc17a(0x1de)](path_1[_0x1dc17a(0x1d6)][_0x1dc17a(0x1be)][_0x1dc17a(0x1c2)]),_0x481dbb=yield aws_s3_utils_1[_0x1dc17a(0x1cb)][_0x1dc17a(0x1c5)](_0x3f5eda,this[_0x1dc17a(0x1c0)][_0x1dc17a(0x1c9)],this['s3']),_0x2cffe4=utils_1[_0x1dc17a(0x1e3)][_0x1dc17a(0x1e4)](_0x481dbb,this[_0x1dc17a(0x1ce)]);for(const _0x3255ac of _0x2cffe4){const _0x147f13=_0x3255ac[_0x1dc17a(0x1d7)](_0x32f26c=>({'Key':_0x32f26c})),_0x58be25={'Bucket':this[_0x1dc17a(0x1c0)][_0x1dc17a(0x1c9)],'Delete':{'Objects':_0x147f13}};yield this['s3'][_0x1dc17a(0x1e2)](_0x58be25)[_0x1dc17a(0x1c3)]();}});}}exports['AwsS3Delete']=AwsS3Delete;
@@ -1 +1 @@
1
- 'use strict';var _0x3bec57=_0x3aba;(function(_0x5c1aaa,_0x15cbe3){var _0x3f3a79=_0x3aba,_0x176c42=_0x5c1aaa();while(!![]){try{var _0x441380=parseInt(_0x3f3a79(0x1f4))/0x1*(-parseInt(_0x3f3a79(0x1f1))/0x2)+-parseInt(_0x3f3a79(0x1f9))/0x3+parseInt(_0x3f3a79(0x1ef))/0x4*(parseInt(_0x3f3a79(0x1f7))/0x5)+-parseInt(_0x3f3a79(0x1f8))/0x6*(parseInt(_0x3f3a79(0x1fa))/0x7)+parseInt(_0x3f3a79(0x1f2))/0x8+-parseInt(_0x3f3a79(0x1f6))/0x9+parseInt(_0x3f3a79(0x1f3))/0xa;if(_0x441380===_0x15cbe3)break;else _0x176c42['push'](_0x176c42['shift']());}catch(_0x2c4775){_0x176c42['push'](_0x176c42['shift']());}}}(_0x8264,0xb3a5e));Object[_0x3bec57(0x1f0)](exports,'__esModule',{'value':!![]}),exports[_0x3bec57(0x1f5)]=void 0x0;class BaseDelete{constructor(_0x57abe2){this['credentials']=_0x57abe2;}}function _0x3aba(_0x402de8,_0x1a5916){var _0x82644b=_0x8264();return _0x3aba=function(_0x3aba45,_0xd3532a){_0x3aba45=_0x3aba45-0x1ef;var _0x2fbde7=_0x82644b[_0x3aba45];return _0x2fbde7;},_0x3aba(_0x402de8,_0x1a5916);}function _0x8264(){var _0x1bb4bc=['defineProperty','34LZIgmI','8144984wDdfPR','1423170QSxfju','11987oabWXK','BaseDelete','5486436RgmyBl','710eYOsqt','48YbvHOi','782091PwsRiI','29722tdUtjd','19252Ckdmxt'];_0x8264=function(){return _0x1bb4bc;};return _0x8264();}exports[_0x3bec57(0x1f5)]=BaseDelete;
1
+ 'use strict';function _0x4405(){var _0x201172=['1114542jcYgeV','33CHoQfX','841407YjXEjA','40tKoBEW','6514920OUkLGS','10591260PQdACi','defineProperty','8UxMIdL','822KOoPuQ','752479RfAINb','BaseDelete','1867325KPrKvC','5266tOmvKE','credentials'];_0x4405=function(){return _0x201172;};return _0x4405();}var _0x586f34=_0x5a3f;(function(_0x261616,_0x29f272){var _0x1bf2f4=_0x5a3f,_0x123b8e=_0x261616();while(!![]){try{var _0x3a5c34=-parseInt(_0x1bf2f4(0x128))/0x1+-parseInt(_0x1bf2f4(0x12b))/0x2*(-parseInt(_0x1bf2f4(0x127))/0x3)+parseInt(_0x1bf2f4(0x126))/0x4*(-parseInt(_0x1bf2f4(0x12a))/0x5)+-parseInt(_0x1bf2f4(0x123))/0x6+-parseInt(_0x1bf2f4(0x121))/0x7*(parseInt(_0x1bf2f4(0x122))/0x8)+-parseInt(_0x1bf2f4(0x11f))/0x9+parseInt(_0x1bf2f4(0x124))/0xa*(parseInt(_0x1bf2f4(0x120))/0xb);if(_0x3a5c34===_0x29f272)break;else _0x123b8e['push'](_0x123b8e['shift']());}catch(_0x102360){_0x123b8e['push'](_0x123b8e['shift']());}}}(_0x4405,0x8fbcc));Object[_0x586f34(0x125)](exports,'__esModule',{'value':!![]}),exports[_0x586f34(0x129)]=void 0x0;function _0x5a3f(_0x1690b6,_0x4f470c){var _0x440505=_0x4405();return _0x5a3f=function(_0x5a3f01,_0x2f8a0d){_0x5a3f01=_0x5a3f01-0x11f;var _0x29bc67=_0x440505[_0x5a3f01];return _0x29bc67;},_0x5a3f(_0x1690b6,_0x4f470c);}class BaseDelete{constructor(_0x38415a){var _0x27f444=_0x586f34;this[_0x27f444(0x12c)]=_0x38415a;}}exports[_0x586f34(0x129)]=BaseDelete;
@@ -1 +1 @@
1
- 'use strict';function _0x493d(_0x2444ac,_0xf8d6a0){var _0x28bb68=_0x28bb();return _0x493d=function(_0x493d4a,_0x3e6fbc){_0x493d4a=_0x493d4a-0x149;var _0x34a19c=_0x28bb68[_0x493d4a];return _0x34a19c;},_0x493d(_0x2444ac,_0xf8d6a0);}var _0x5bf39c=_0x493d;(function(_0x12c1d9,_0x521628){var _0x29fe56=_0x493d,_0xf2350c=_0x12c1d9();while(!![]){try{var _0x46f497=parseInt(_0x29fe56(0x14d))/0x1*(parseInt(_0x29fe56(0x153))/0x2)+parseInt(_0x29fe56(0x152))/0x3*(-parseInt(_0x29fe56(0x14e))/0x4)+-parseInt(_0x29fe56(0x150))/0x5*(-parseInt(_0x29fe56(0x159))/0x6)+parseInt(_0x29fe56(0x155))/0x7+-parseInt(_0x29fe56(0x154))/0x8+-parseInt(_0x29fe56(0x14c))/0x9+parseInt(_0x29fe56(0x14a))/0xa;if(_0x46f497===_0x521628)break;else _0xf2350c['push'](_0xf2350c['shift']());}catch(_0x55366e){_0xf2350c['push'](_0xf2350c['shift']());}}}(_0x28bb,0x86f4f));Object[_0x5bf39c(0x14f)](exports,_0x5bf39c(0x158),{'value':!![]}),exports[_0x5bf39c(0x149)]=exports[_0x5bf39c(0x156)]=exports[_0x5bf39c(0x14b)]=void 0x0;var base_delete_1=require(_0x5bf39c(0x151));Object[_0x5bf39c(0x14f)](exports,'BaseDelete',{'enumerable':!![],'get':function(){return base_delete_1['BaseDelete'];}});var aws_s3_delete_1=require('./aws-s3-delete');Object[_0x5bf39c(0x14f)](exports,_0x5bf39c(0x156),{'enumerable':!![],'get':function(){var _0x2bb0d2=_0x5bf39c;return aws_s3_delete_1[_0x2bb0d2(0x156)];}});function _0x28bb(){var _0x262c44=['__esModule','18zDHnba','LocalDelete','6822230dNnafw','BaseDelete','8598114KqBnTU','10Rbglpx','2127992bQmylK','defineProperty','518955IUNkbT','./base-delete','3tOBClb','198154nGwoWj','64296dihiAB','446586GFETlo','AwsS3Delete','./local-delete'];_0x28bb=function(){return _0x262c44;};return _0x28bb();}var local_delete_1=require(_0x5bf39c(0x157));Object[_0x5bf39c(0x14f)](exports,_0x5bf39c(0x149),{'enumerable':!![],'get':function(){var _0x1d87ff=_0x5bf39c;return local_delete_1[_0x1d87ff(0x149)];}});
1
+ 'use strict';var _0x403e67=_0x30f4;(function(_0x1d5089,_0x22b5ca){var _0x5260bd=_0x30f4,_0x33c9ec=_0x1d5089();while(!![]){try{var _0x44cb33=parseInt(_0x5260bd(0x101))/0x1*(parseInt(_0x5260bd(0x108))/0x2)+-parseInt(_0x5260bd(0xfd))/0x3+-parseInt(_0x5260bd(0xfc))/0x4+-parseInt(_0x5260bd(0xf8))/0x5*(-parseInt(_0x5260bd(0x103))/0x6)+parseInt(_0x5260bd(0xfe))/0x7*(parseInt(_0x5260bd(0xfa))/0x8)+-parseInt(_0x5260bd(0x100))/0x9*(parseInt(_0x5260bd(0xf7))/0xa)+-parseInt(_0x5260bd(0x104))/0xb*(-parseInt(_0x5260bd(0x106))/0xc);if(_0x44cb33===_0x22b5ca)break;else _0x33c9ec['push'](_0x33c9ec['shift']());}catch(_0x593560){_0x33c9ec['push'](_0x33c9ec['shift']());}}}(_0x17ef,0x4cc45));function _0x17ef(){var _0x3f1d97=['__esModule','175116fIpALe','10uXkLMv','6515TMOMtX','defineProperty','496QnmkCV','LocalDelete','1698556qvEDwH','743850qwigSA','13251XzitLg','BaseDelete','4761189nWUXEm','7ltmPQX','./aws-s3-delete','2322IYrMED','11IcaAgs','AwsS3Delete','3378168aGHaej'];_0x17ef=function(){return _0x3f1d97;};return _0x17ef();}Object[_0x403e67(0xf9)](exports,_0x403e67(0x107),{'value':!![]}),exports['LocalDelete']=exports[_0x403e67(0x105)]=exports[_0x403e67(0xff)]=void 0x0;var base_delete_1=require('./base-delete');Object[_0x403e67(0xf9)](exports,_0x403e67(0xff),{'enumerable':!![],'get':function(){var _0x510e83=_0x403e67;return base_delete_1[_0x510e83(0xff)];}});function _0x30f4(_0x359d49,_0x13a989){var _0x17ef2e=_0x17ef();return _0x30f4=function(_0x30f4e2,_0x4e7e84){_0x30f4e2=_0x30f4e2-0xf7;var _0x5dad1d=_0x17ef2e[_0x30f4e2];return _0x5dad1d;},_0x30f4(_0x359d49,_0x13a989);}var aws_s3_delete_1=require(_0x403e67(0x102));Object['defineProperty'](exports,'AwsS3Delete',{'enumerable':!![],'get':function(){var _0x218567=_0x403e67;return aws_s3_delete_1[_0x218567(0x105)];}});var local_delete_1=require('./local-delete');Object[_0x403e67(0xf9)](exports,'LocalDelete',{'enumerable':!![],'get':function(){var _0x3a70f9=_0x403e67;return local_delete_1[_0x3a70f9(0xfb)];}});
@@ -1 +1 @@
1
- 'use strict';function _0x4f1a(_0x561c46,_0x4b1254){const _0x4fb752=_0x4fb7();return _0x4f1a=function(_0x4f1a35,_0x68f79a){_0x4f1a35=_0x4f1a35-0xd4;let _0x7730d0=_0x4fb752[_0x4f1a35];return _0x7730d0;},_0x4f1a(_0x561c46,_0x4b1254);}const _0x2d66ca=_0x4f1a;(function(_0xb6db2f,_0x524bb5){const _0x5baf48=_0x4f1a,_0x31d8d1=_0xb6db2f();while(!![]){try{const _0x27d2fb=parseInt(_0x5baf48(0xe1))/0x1*(-parseInt(_0x5baf48(0xd9))/0x2)+parseInt(_0x5baf48(0xe5))/0x3*(-parseInt(_0x5baf48(0xe6))/0x4)+-parseInt(_0x5baf48(0xd6))/0x5+parseInt(_0x5baf48(0xe9))/0x6*(-parseInt(_0x5baf48(0xe0))/0x7)+-parseInt(_0x5baf48(0xe3))/0x8*(-parseInt(_0x5baf48(0xda))/0x9)+parseInt(_0x5baf48(0xde))/0xa*(parseInt(_0x5baf48(0xd5))/0xb)+parseInt(_0x5baf48(0xeb))/0xc;if(_0x27d2fb===_0x524bb5)break;else _0x31d8d1['push'](_0x31d8d1['shift']());}catch(_0x58a97b){_0x31d8d1['push'](_0x31d8d1['shift']());}}}(_0x4fb7,0x949e5));var __awaiter=this&&this[_0x2d66ca(0xd8)]||function(_0x5878aa,_0x417901,_0x1c9ec2,_0x25a93c){function _0x1cbf01(_0x539e9a){return _0x539e9a instanceof _0x1c9ec2?_0x539e9a:new _0x1c9ec2(function(_0x48a4c9){_0x48a4c9(_0x539e9a);});}return new(_0x1c9ec2||(_0x1c9ec2=Promise))(function(_0x3b68b5,_0xff353c){const _0x339928=_0x4f1a;function _0x4a0d3b(_0x4b44d9){try{_0x1db3e9(_0x25a93c['next'](_0x4b44d9));}catch(_0x197b0a){_0xff353c(_0x197b0a);}}function _0x2535a3(_0x54b271){const _0x476e22=_0x4f1a;try{_0x1db3e9(_0x25a93c[_0x476e22(0xdb)](_0x54b271));}catch(_0x5a95c9){_0xff353c(_0x5a95c9);}}function _0x1db3e9(_0x5e5445){const _0x429794=_0x4f1a;_0x5e5445['done']?_0x3b68b5(_0x5e5445[_0x429794(0xe2)]):_0x1cbf01(_0x5e5445[_0x429794(0xe2)])['then'](_0x4a0d3b,_0x2535a3);}_0x1db3e9((_0x25a93c=_0x25a93c[_0x339928(0xe4)](_0x5878aa,_0x417901||[]))[_0x339928(0xe8)]());});};Object[_0x2d66ca(0xdd)](exports,'__esModule',{'value':!![]}),exports[_0x2d66ca(0xe7)]=void 0x0;const promises_1=require(_0x2d66ca(0xdf)),utils_1=require(_0x2d66ca(0xd7)),_1=require('./');function _0x4fb7(){const _0x34dfce=['9224WnqTZv','9527481lMgHQY','throw','BaseDelete','defineProperty','70CNbqKu','fs/promises','1267VLoYdc','244GmhrkD','value','8olHWST','apply','294405XgfsIR','44pAWFvL','LocalDelete','next','6756fJdanM','FsUtils','23822568VJYUPd','isExistsPath','315271olyBHT','1135450kKHYzA','@flosum-service/utils','__awaiter'];_0x4fb7=function(){return _0x34dfce;};return _0x4fb7();}class LocalDelete extends _1[_0x2d66ca(0xdc)]{['execute'](_0x50f02c){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x113fd5=_0x4f1a;if(yield utils_1[_0x113fd5(0xea)][_0x113fd5(0xd4)](_0x50f02c))yield(0x0,promises_1['rm'])(_0x50f02c,{'recursive':!![]});});}}exports[_0x2d66ca(0xe7)]=LocalDelete;
1
+ 'use strict';const _0x2411ce=_0x39e8;function _0x39e8(_0x34ee17,_0x3541bb){const _0xbab384=_0xbab3();return _0x39e8=function(_0x39e8f7,_0x3c4850){_0x39e8f7=_0x39e8f7-0x1aa;let _0x552075=_0xbab384[_0x39e8f7];return _0x552075;},_0x39e8(_0x34ee17,_0x3541bb);}(function(_0xe432fb,_0x35f26d){const _0x5ea34f=_0x39e8,_0x361535=_0xe432fb();while(!![]){try{const _0x13e5f1=parseInt(_0x5ea34f(0x1b7))/0x1*(parseInt(_0x5ea34f(0x1c0))/0x2)+parseInt(_0x5ea34f(0x1b8))/0x3+parseInt(_0x5ea34f(0x1ab))/0x4+parseInt(_0x5ea34f(0x1ac))/0x5*(parseInt(_0x5ea34f(0x1bc))/0x6)+parseInt(_0x5ea34f(0x1bd))/0x7*(-parseInt(_0x5ea34f(0x1b3))/0x8)+-parseInt(_0x5ea34f(0x1bb))/0x9*(parseInt(_0x5ea34f(0x1ba))/0xa)+parseInt(_0x5ea34f(0x1ad))/0xb*(-parseInt(_0x5ea34f(0x1bf))/0xc);if(_0x13e5f1===_0x35f26d)break;else _0x361535['push'](_0x361535['shift']());}catch(_0x25d2aa){_0x361535['push'](_0x361535['shift']());}}}(_0xbab3,0xd5eae));var __awaiter=this&&this[_0x2411ce(0x1b5)]||function(_0x1fac00,_0x6405d5,_0x4c6e19,_0x4f7754){function _0x32849c(_0x95625d){return _0x95625d instanceof _0x4c6e19?_0x95625d:new _0x4c6e19(function(_0x5f51bd){_0x5f51bd(_0x95625d);});}return new(_0x4c6e19||(_0x4c6e19=Promise))(function(_0x4ed0a8,_0x4eb26a){const _0x5e9dc7=_0x39e8;function _0x34aa78(_0x15a43b){const _0x1b5e12=_0x39e8;try{_0xabb55f(_0x4f7754[_0x1b5e12(0x1af)](_0x15a43b));}catch(_0x24206a){_0x4eb26a(_0x24206a);}}function _0x4ac1b7(_0x26cdd1){try{_0xabb55f(_0x4f7754['throw'](_0x26cdd1));}catch(_0x433de6){_0x4eb26a(_0x433de6);}}function _0xabb55f(_0x40b2cd){const _0x27feae=_0x39e8;_0x40b2cd[_0x27feae(0x1ae)]?_0x4ed0a8(_0x40b2cd[_0x27feae(0x1b1)]):_0x32849c(_0x40b2cd[_0x27feae(0x1b1)])[_0x27feae(0x1b0)](_0x34aa78,_0x4ac1b7);}_0xabb55f((_0x4f7754=_0x4f7754['apply'](_0x1fac00,_0x6405d5||[]))[_0x5e9dc7(0x1af)]());});};Object['defineProperty'](exports,_0x2411ce(0x1b4),{'value':!![]}),exports[_0x2411ce(0x1b9)]=void 0x0;function _0xbab3(){const _0x1c52f4=['415917pSwLDv','LocalDelete','15071890mTXRGH','9IEbHyU','84MPlzhN','28xWXyhy','execute','216WsmFAH','12nABqDj','@flosum-service/utils','6924936ZCrmyP','451370pVNUfd','882706pdjhyl','done','next','then','value','FsUtils','16024KKIxFC','__esModule','__awaiter','fs/promises','117021musNsd'];_0xbab3=function(){return _0x1c52f4;};return _0xbab3();}const promises_1=require(_0x2411ce(0x1b6)),utils_1=require(_0x2411ce(0x1aa)),_1=require('./');class LocalDelete extends _1['BaseDelete']{[_0x2411ce(0x1be)](_0x159a32){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3aef15=_0x39e8;if(yield utils_1[_0x3aef15(0x1b2)]['isExistsPath'](_0x159a32))yield(0x0,promises_1['rm'])(_0x159a32,{'recursive':!![]});});}}exports[_0x2411ce(0x1b9)]=LocalDelete;
@@ -1 +1 @@
1
- 'use strict';function _0xf659(_0x54dc79,_0x42e407){const _0x43ce47=_0x43ce();return _0xf659=function(_0xf659c9,_0x5a7bdc){_0xf659c9=_0xf659c9-0xc3;let _0x47a21a=_0x43ce47[_0xf659c9];return _0x47a21a;},_0xf659(_0x54dc79,_0x42e407);}const _0xa8f994=_0xf659;(function(_0x1520f2,_0x1c04cb){const _0x1d5f45=_0xf659,_0xa1b783=_0x1520f2();while(!![]){try{const _0x322426=-parseInt(_0x1d5f45(0xca))/0x1*(-parseInt(_0x1d5f45(0xe7))/0x2)+-parseInt(_0x1d5f45(0xe6))/0x3*(-parseInt(_0x1d5f45(0xc4))/0x4)+-parseInt(_0x1d5f45(0xe2))/0x5+-parseInt(_0x1d5f45(0xd6))/0x6*(-parseInt(_0x1d5f45(0xc3))/0x7)+parseInt(_0x1d5f45(0xcd))/0x8+-parseInt(_0x1d5f45(0xe4))/0x9+parseInt(_0x1d5f45(0xeb))/0xa*(-parseInt(_0x1d5f45(0xd1))/0xb);if(_0x322426===_0x1c04cb)break;else _0xa1b783['push'](_0xa1b783['shift']());}catch(_0x579911){_0xa1b783['push'](_0xa1b783['shift']());}}}(_0x43ce,0x2ff18));var __awaiter=this&&this['__awaiter']||function(_0x58effc,_0x52569c,_0x2eb046,_0x2105f0){function _0x4ffdf3(_0x5d27e3){return _0x5d27e3 instanceof _0x2eb046?_0x5d27e3:new _0x2eb046(function(_0x557d3c){_0x557d3c(_0x5d27e3);});}return new(_0x2eb046||(_0x2eb046=Promise))(function(_0x3b2d0e,_0x2ca7be){const _0x2e8885=_0xf659;function _0x5b721f(_0x519a12){const _0x18d5dc=_0xf659;try{_0xc54c9c(_0x2105f0[_0x18d5dc(0xd3)](_0x519a12));}catch(_0xcb5367){_0x2ca7be(_0xcb5367);}}function _0x2d77cd(_0x4092e2){const _0x3424ca=_0xf659;try{_0xc54c9c(_0x2105f0[_0x3424ca(0xd0)](_0x4092e2));}catch(_0x17dcdb){_0x2ca7be(_0x17dcdb);}}function _0xc54c9c(_0x18c950){const _0x104358=_0xf659;_0x18c950[_0x104358(0xec)]?_0x3b2d0e(_0x18c950[_0x104358(0xc6)]):_0x4ffdf3(_0x18c950[_0x104358(0xc6)])['then'](_0x5b721f,_0x2d77cd);}_0xc54c9c((_0x2105f0=_0x2105f0['apply'](_0x58effc,_0x52569c||[]))[_0x2e8885(0xd3)]());});},__importDefault=this&&this[_0xa8f994(0xea)]||function(_0x18ce1c){const _0x10429e=_0xa8f994;return _0x18ce1c&&_0x18ce1c[_0x10429e(0xc9)]?_0x18ce1c:{'default':_0x18ce1c};};function _0x43ce(){const _0x282df5=['392476NtXIEq','upload','value','isBuffer','MAX_RETRIES','__esModule','5BWAqlL','BaseDeploy','execute','950376wLZgkK','sep','join','throw','3179jfMJrW','catch','next','posix','promise','186DPZvax','aws-sdk','setTimeout','QUEUE_MAX_SIZE','handleStreamUpload','_queueSize','default','randomUUID','bucketName','credentials','defineProperty','AwsS3Deploy','859510nfkoTO','createReadStream','3227400DlBYsl','split','3IgHoDh','156258nXAEjI','storageClass','tempDir','__importDefault','3350mOwSiy','done','uploadFileStreamFromPath','path','48804xXOQcx'];_0x43ce=function(){return _0x282df5;};return _0x43ce();}Object[_0xa8f994(0xe0)](exports,_0xa8f994(0xc9),{'value':!![]}),exports[_0xa8f994(0xe1)]=void 0x0;const aws_sdk_1=__importDefault(require(_0xa8f994(0xd7))),path_1=__importDefault(require(_0xa8f994(0xee))),crypto_1=require('crypto'),fs_1=require('fs'),promises_1=require('fs/promises'),promises_2=require('timers/promises'),_1=require('./');class AwsS3Deploy extends _1[_0xa8f994(0xcb)]{constructor(_0x2152fa,_0x436e37,_0x55a4b0){const _0x3fbe30=_0xa8f994;super(_0x2152fa,_0x436e37),this['credentials']=_0x2152fa,this[_0x3fbe30(0xe9)]=_0x436e37,this[_0x3fbe30(0xe8)]=_0x55a4b0,this[_0x3fbe30(0xc8)]=0xa,this[_0x3fbe30(0xd9)]=0x2,this['QUEUE_CHECK_TIMEOUT']=0x5*0x3e8,this[_0x3fbe30(0xdb)]=0x0,this['s3']=new aws_sdk_1[(_0x3fbe30(0xdc))]['S3']({'accessKeyId':this['credentials']['accessKeyId'],'secretAccessKey':this['credentials']['secretAccessKey'],'maxRetries':0xa});}['writeToTemp'](_0x46b26c){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x404a07=_0xf659,_0x18c06a=path_1['default'][_0x404a07(0xcf)](this[_0x404a07(0xe9)],(0x0,crypto_1[_0x404a07(0xdd)])());return yield(0x0,promises_1['writeFile'])(_0x18c06a,_0x46b26c),{'path':_0x18c06a};});}[_0xa8f994(0xed)](_0xe3e5bd,_0x3cbe1b,_0x44783b=0x0,_0x289b5c=null){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2ca1f5=_0xf659;if(_0x44783b>this[_0x2ca1f5(0xc8)])throw _0x289b5c;const _0xce026b=(0x0,fs_1[_0x2ca1f5(0xe3)])(_0xe3e5bd);try{yield this['upload'](_0xce026b,_0x3cbe1b);}catch(_0x283823){return this['uploadFileStreamFromPath'](_0xe3e5bd,_0x3cbe1b,_0x44783b+0x1,_0x283823);}});}[_0xa8f994(0xc5)](_0x386fab,_0x3998f5){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x477192=_0xf659,_0x44408b={'Bucket':this[_0x477192(0xdf)][_0x477192(0xde)],'Key':_0x3998f5,'Body':_0x386fab,'StorageClass':this[_0x477192(0xe8)]};yield this['s3'][_0x477192(0xc5)](_0x44408b)[_0x477192(0xd5)]();});}['handleStreamUpload'](_0xd8cb9c,_0x458b9d){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3b228a=_0xf659,{path:_0x346ced}=yield this['writeToTemp'](_0xd8cb9c);try{yield this[_0x3b228a(0xed)](_0x346ced,_0x458b9d);}catch(_0x595e9){throw _0x595e9;}finally{yield(0x0,promises_1['rm'])(_0x346ced)[_0x3b228a(0xd2)](()=>undefined);}});}[_0xa8f994(0xcc)](_0x300bd7,_0x30d262){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1d88fc=_0xf659;if(this[_0x1d88fc(0xdb)]===this['QUEUE_MAX_SIZE'])return yield(0x0,promises_2[_0x1d88fc(0xd8)])(this['QUEUE_CHECK_TIMEOUT']),this['execute'](_0x300bd7,_0x30d262);try{this[_0x1d88fc(0xdb)]+=0x1;const _0x1f95e3=_0x30d262[_0x1d88fc(0xe5)](path_1[_0x1d88fc(0xdc)][_0x1d88fc(0xce)])['join'](path_1[_0x1d88fc(0xdc)][_0x1d88fc(0xd4)][_0x1d88fc(0xce)]);if(Buffer[_0x1d88fc(0xc7)](_0x300bd7)){yield this[_0x1d88fc(0xc5)](_0x300bd7,_0x1f95e3);return;}yield this[_0x1d88fc(0xda)](_0x300bd7,_0x1f95e3);}catch(_0x2b4fc1){throw _0x2b4fc1;}finally{this[_0x1d88fc(0xdb)]-=0x1;}});}}exports[_0xa8f994(0xe1)]=AwsS3Deploy;
1
+ 'use strict';const _0xc69428=_0x33fe;(function(_0x5de203,_0x42c988){const _0x58b6fb=_0x33fe,_0x59691f=_0x5de203();while(!![]){try{const _0x2ff45f=parseInt(_0x58b6fb(0xd4))/0x1+-parseInt(_0x58b6fb(0xd6))/0x2+-parseInt(_0x58b6fb(0xeb))/0x3+parseInt(_0x58b6fb(0xd2))/0x4*(-parseInt(_0x58b6fb(0xe5))/0x5)+parseInt(_0x58b6fb(0xc1))/0x6*(parseInt(_0x58b6fb(0xdd))/0x7)+-parseInt(_0x58b6fb(0xec))/0x8+parseInt(_0x58b6fb(0xcc))/0x9*(parseInt(_0x58b6fb(0xdb))/0xa);if(_0x2ff45f===_0x42c988)break;else _0x59691f['push'](_0x59691f['shift']());}catch(_0x15b659){_0x59691f['push'](_0x59691f['shift']());}}}(_0x24ad,0x6ab9f));function _0x24ad(){const _0x216b1e=['then','posix','10gwUNwy','randomUUID','406FDYKrr','execute','next','upload','QUEUE_CHECK_TIMEOUT','promise','_queueSize','fs/promises','5abkVnT','value','AwsS3Deploy','bucketName','isBuffer','split','812010CzCxKe','2283576gJydWQ','storageClass','BaseDeploy','throw','72294AgbnZd','crypto','QUEUE_MAX_SIZE','MAX_RETRIES','apply','writeFile','handleStreamUpload','secretAccessKey','default','uploadFileStreamFromPath','__esModule','10106199nJaFsN','credentials','accessKeyId','setTimeout','__awaiter','sep','2961356RfwNbC','__importDefault','402084MQeful','writeToTemp','980460QynvRF','join','path'];_0x24ad=function(){return _0x216b1e;};return _0x24ad();}var __awaiter=this&&this[_0xc69428(0xd0)]||function(_0x6c2965,_0x180008,_0x4f9c5a,_0x4dd658){function _0x5ebb9a(_0x5b8393){return _0x5b8393 instanceof _0x4f9c5a?_0x5b8393:new _0x4f9c5a(function(_0x1e0711){_0x1e0711(_0x5b8393);});}return new(_0x4f9c5a||(_0x4f9c5a=Promise))(function(_0x3dfc16,_0x1e8aa4){const _0x115a32=_0x33fe;function _0x58e25b(_0xe85fd1){const _0x6bc32=_0x33fe;try{_0x5f457b(_0x4dd658[_0x6bc32(0xdf)](_0xe85fd1));}catch(_0x1e15ba){_0x1e8aa4(_0x1e15ba);}}function _0x559d75(_0x2ed615){const _0x4fda2b=_0x33fe;try{_0x5f457b(_0x4dd658[_0x4fda2b(0xc0)](_0x2ed615));}catch(_0x1909f1){_0x1e8aa4(_0x1909f1);}}function _0x5f457b(_0x1ae8bd){const _0x5dd81e=_0x33fe;_0x1ae8bd['done']?_0x3dfc16(_0x1ae8bd[_0x5dd81e(0xe6)]):_0x5ebb9a(_0x1ae8bd[_0x5dd81e(0xe6)])[_0x5dd81e(0xd9)](_0x58e25b,_0x559d75);}_0x5f457b((_0x4dd658=_0x4dd658[_0x115a32(0xc5)](_0x6c2965,_0x180008||[]))[_0x115a32(0xdf)]());});},__importDefault=this&&this[_0xc69428(0xd3)]||function(_0x331946){const _0x5ef4b2=_0xc69428;return _0x331946&&_0x331946[_0x5ef4b2(0xcb)]?_0x331946:{'default':_0x331946};};Object['defineProperty'](exports,_0xc69428(0xcb),{'value':!![]}),exports[_0xc69428(0xe7)]=void 0x0;const aws_sdk_1=__importDefault(require('aws-sdk')),path_1=__importDefault(require(_0xc69428(0xd8))),crypto_1=require(_0xc69428(0xc2)),fs_1=require('fs'),promises_1=require(_0xc69428(0xe4)),promises_2=require('timers/promises'),_1=require('./'),https_1=__importDefault(require('https'));class AwsS3Deploy extends _1[_0xc69428(0xee)]{constructor(_0x287b5b,_0x434ef4,_0x553fce){const _0x29dc5e=_0xc69428;super(_0x287b5b,_0x434ef4),this[_0x29dc5e(0xcd)]=_0x287b5b,this['tempDir']=_0x434ef4,this[_0x29dc5e(0xed)]=_0x553fce,this[_0x29dc5e(0xc4)]=0xa,this[_0x29dc5e(0xc3)]=0x2,this['QUEUE_CHECK_TIMEOUT']=0x5*0x3e8,this[_0x29dc5e(0xe3)]=0x0,this['s3']=new aws_sdk_1[(_0x29dc5e(0xc9))]['S3']({'accessKeyId':this[_0x29dc5e(0xcd)][_0x29dc5e(0xce)],'secretAccessKey':this[_0x29dc5e(0xcd)][_0x29dc5e(0xc8)],'maxRetries':0xa,'httpOptions':{'agent':new https_1[(_0x29dc5e(0xc9))]['Agent']({'keepAlive':!![]})}});}[_0xc69428(0xd5)](_0x397550){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4544f4=_0x33fe,_0x55f707=path_1[_0x4544f4(0xc9)][_0x4544f4(0xd7)](this['tempDir'],(0x0,crypto_1[_0x4544f4(0xdc)])());return yield(0x0,promises_1[_0x4544f4(0xc6)])(_0x55f707,_0x397550),{'path':_0x55f707};});}[_0xc69428(0xca)](_0x37dbc6,_0xd7ccef,_0x497a58=0x0,_0x2e8a83=null){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5641d2=_0x33fe;if(_0x497a58>this[_0x5641d2(0xc4)])throw _0x2e8a83;const _0xd45081=(0x0,fs_1['createReadStream'])(_0x37dbc6);try{yield this[_0x5641d2(0xe0)](_0xd45081,_0xd7ccef);}catch(_0x6cf82){return this[_0x5641d2(0xca)](_0x37dbc6,_0xd7ccef,_0x497a58+0x1,_0x6cf82);}});}[_0xc69428(0xe0)](_0x119c3d,_0x15a59a){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x32af52=_0x33fe,_0x118d70={'Bucket':this[_0x32af52(0xcd)][_0x32af52(0xe8)],'Key':_0x15a59a,'Body':_0x119c3d,'StorageClass':this[_0x32af52(0xed)]};yield this['s3'][_0x32af52(0xe0)](_0x118d70)[_0x32af52(0xe2)]();});}['handleStreamUpload'](_0x24b4de,_0x47b834){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3b275b=_0x33fe,{path:_0xc14683}=yield this[_0x3b275b(0xd5)](_0x24b4de);try{yield this['uploadFileStreamFromPath'](_0xc14683,_0x47b834);}catch(_0x11e523){throw _0x11e523;}finally{yield(0x0,promises_1['rm'])(_0xc14683)['catch'](()=>undefined);}});}[_0xc69428(0xde)](_0x2a5851,_0x55e63d){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x936bd7=_0x33fe;if(this[_0x936bd7(0xe3)]===this[_0x936bd7(0xc3)])return yield(0x0,promises_2[_0x936bd7(0xcf)])(this[_0x936bd7(0xe1)]),this[_0x936bd7(0xde)](_0x2a5851,_0x55e63d);try{this['_queueSize']+=0x1;const _0x2a89ce=_0x55e63d[_0x936bd7(0xea)](path_1[_0x936bd7(0xc9)][_0x936bd7(0xd1)])[_0x936bd7(0xd7)](path_1['default'][_0x936bd7(0xda)][_0x936bd7(0xd1)]);if(Buffer[_0x936bd7(0xe9)](_0x2a5851)){yield this[_0x936bd7(0xe0)](_0x2a5851,_0x2a89ce);return;}yield this[_0x936bd7(0xc7)](_0x2a5851,_0x2a89ce);}catch(_0x321813){throw _0x321813;}finally{this[_0x936bd7(0xe3)]-=0x1;}});}}function _0x33fe(_0x549dbf,_0x4ad32e){const _0x24ad2b=_0x24ad();return _0x33fe=function(_0x33fe2c,_0x4e4fb0){_0x33fe2c=_0x33fe2c-0xc0;let _0x111d7e=_0x24ad2b[_0x33fe2c];return _0x111d7e;},_0x33fe(_0x549dbf,_0x4ad32e);}exports[_0xc69428(0xe7)]=AwsS3Deploy;
@@ -1 +1 @@
1
- 'use strict';var _0x1b0fe4=_0xc376;function _0xc376(_0x1172ea,_0x19e8a8){var _0xba3f80=_0xba3f();return _0xc376=function(_0xc37622,_0x3cce16){_0xc37622=_0xc37622-0x1c0;var _0x19f574=_0xba3f80[_0xc37622];return _0x19f574;},_0xc376(_0x1172ea,_0x19e8a8);}function _0xba3f(){var _0x3b82aa=['3619496cmqtNU','50AqIBNJ','3353300xxTUVl','1685776OurrNV','defineProperty','2904yfIfbW','4627710Wknebe','1963332SAmknG','11295aMxHdg','credentials','5634608XwYDre','3pSGDGe','BaseDeploy'];_0xba3f=function(){return _0x3b82aa;};return _0xba3f();}(function(_0x5bfb49,_0x166770){var _0x5c6b78=_0xc376,_0x985d38=_0x5bfb49();while(!![]){try{var _0x43e24e=parseInt(_0x5c6b78(0x1cb))/0x1+parseInt(_0x5c6b78(0x1ca))/0x2*(parseInt(_0x5c6b78(0x1c6))/0x3)+parseInt(_0x5c6b78(0x1c0))/0x4*(parseInt(_0x5c6b78(0x1c3))/0x5)+-parseInt(_0x5c6b78(0x1c2))/0x6+-parseInt(_0x5c6b78(0x1c5))/0x7+-parseInt(_0x5c6b78(0x1c8))/0x8+-parseInt(_0x5c6b78(0x1c1))/0x9*(parseInt(_0x5c6b78(0x1c9))/0xa);if(_0x43e24e===_0x166770)break;else _0x985d38['push'](_0x985d38['shift']());}catch(_0x5321b5){_0x985d38['push'](_0x985d38['shift']());}}}(_0xba3f,0xcec3b));Object[_0x1b0fe4(0x1cc)](exports,'__esModule',{'value':!![]}),exports[_0x1b0fe4(0x1c7)]=void 0x0;class BaseDeploy{constructor(_0x5e0923,_0x11dad4){var _0x3507d3=_0x1b0fe4;this[_0x3507d3(0x1c4)]=_0x5e0923,this['tempDir']=_0x11dad4;}}exports[_0x1b0fe4(0x1c7)]=BaseDeploy;
1
+ 'use strict';var _0x1c190f=_0x2dc4;(function(_0x508146,_0x3914ff){var _0x4d15cf=_0x2dc4,_0x513b84=_0x508146();while(!![]){try{var _0xbead4c=parseInt(_0x4d15cf(0x1eb))/0x1+-parseInt(_0x4d15cf(0x1ec))/0x2*(parseInt(_0x4d15cf(0x1f3))/0x3)+-parseInt(_0x4d15cf(0x1ee))/0x4*(parseInt(_0x4d15cf(0x1ef))/0x5)+parseInt(_0x4d15cf(0x1f4))/0x6+parseInt(_0x4d15cf(0x1f5))/0x7+-parseInt(_0x4d15cf(0x1ed))/0x8+parseInt(_0x4d15cf(0x1f6))/0x9;if(_0xbead4c===_0x3914ff)break;else _0x513b84['push'](_0x513b84['shift']());}catch(_0x12745e){_0x513b84['push'](_0x513b84['shift']());}}}(_0x500c,0x5567d));function _0x2dc4(_0x5db8ec,_0x35164a){var _0x500cf6=_0x500c();return _0x2dc4=function(_0x2dc4ee,_0x32a708){_0x2dc4ee=_0x2dc4ee-0x1ea;var _0x5d0fe2=_0x500cf6[_0x2dc4ee];return _0x5d0fe2;},_0x2dc4(_0x5db8ec,_0x35164a);}Object[_0x1c190f(0x1f2)](exports,_0x1c190f(0x1f7),{'value':!![]}),exports[_0x1c190f(0x1ea)]=void 0x0;function _0x500c(){var _0x52a363=['5010176pKXnaj','17716idsDcU','70mLjeIg','credentials','tempDir','defineProperty','14220KxdINO','907314YMZUSe','3192791SPXMNu','5053815fZEXvU','__esModule','BaseDeploy','158372QvvlRR','122iOQlAJ'];_0x500c=function(){return _0x52a363;};return _0x500c();}class BaseDeploy{constructor(_0x5efc23,_0x242153){var _0x522c38=_0x1c190f;this[_0x522c38(0x1f0)]=_0x5efc23,this[_0x522c38(0x1f1)]=_0x242153;}}exports[_0x1c190f(0x1ea)]=BaseDeploy;
@@ -1 +1 @@
1
- 'use strict';var _0xdbdab2=_0x41e3;function _0x41e3(_0x38d447,_0x58cdf3){var _0x255169=_0x2551();return _0x41e3=function(_0x41e32c,_0xd66ab1){_0x41e32c=_0x41e32c-0xec;var _0x18e79e=_0x255169[_0x41e32c];return _0x18e79e;},_0x41e3(_0x38d447,_0x58cdf3);}(function(_0x1857ca,_0x6adbae){var _0x27d192=_0x41e3,_0x16ccce=_0x1857ca();while(!![]){try{var _0x2e7788=-parseInt(_0x27d192(0xf3))/0x1*(parseInt(_0x27d192(0xec))/0x2)+parseInt(_0x27d192(0xf4))/0x3+parseInt(_0x27d192(0xf5))/0x4+-parseInt(_0x27d192(0xfa))/0x5+parseInt(_0x27d192(0xee))/0x6+-parseInt(_0x27d192(0xf1))/0x7+parseInt(_0x27d192(0xf9))/0x8*(parseInt(_0x27d192(0xf6))/0x9);if(_0x2e7788===_0x6adbae)break;else _0x16ccce['push'](_0x16ccce['shift']());}catch(_0x45fdd3){_0x16ccce['push'](_0x16ccce['shift']());}}}(_0x2551,0x91909));Object[_0xdbdab2(0xf7)](exports,'__esModule',{'value':!![]}),exports[_0xdbdab2(0xed)]=exports[_0xdbdab2(0xef)]=exports[_0xdbdab2(0xf8)]=void 0x0;var base_deploy_1=require('./base-deploy');Object[_0xdbdab2(0xf7)](exports,_0xdbdab2(0xf8),{'enumerable':!![],'get':function(){var _0x750dc=_0xdbdab2;return base_deploy_1[_0x750dc(0xf8)];}});function _0x2551(){var _0x142f55=['675510jxlemi','AwsS3Deploy','./aws-s3-deploy','7522620odVogz','./local-deploy','9677JAwKPS','605964ClhCeq','3641880BImqQx','90aVEHSo','defineProperty','BaseDeploy','463928WfoJuN','379990nkzxQU','12VGWVwS','LocalDeploy'];_0x2551=function(){return _0x142f55;};return _0x2551();}var aws_s3_deploy_1=require(_0xdbdab2(0xf0));Object[_0xdbdab2(0xf7)](exports,_0xdbdab2(0xef),{'enumerable':!![],'get':function(){var _0x4029de=_0xdbdab2;return aws_s3_deploy_1[_0x4029de(0xef)];}});var local_deploy_1=require(_0xdbdab2(0xf2));Object[_0xdbdab2(0xf7)](exports,'LocalDeploy',{'enumerable':!![],'get':function(){var _0x797c7b=_0xdbdab2;return local_deploy_1[_0x797c7b(0xed)];}});
1
+ 'use strict';var _0x19ac7c=_0x26a6;(function(_0x1de0ac,_0x660662){var _0x500ceb=_0x26a6,_0x557e54=_0x1de0ac();while(!![]){try{var _0x3694d4=-parseInt(_0x500ceb(0x6c))/0x1+-parseInt(_0x500ceb(0x70))/0x2+parseInt(_0x500ceb(0x72))/0x3+-parseInt(_0x500ceb(0x71))/0x4+parseInt(_0x500ceb(0x76))/0x5+parseInt(_0x500ceb(0x6a))/0x6+parseInt(_0x500ceb(0x77))/0x7;if(_0x3694d4===_0x660662)break;else _0x557e54['push'](_0x557e54['shift']());}catch(_0x1bf0a0){_0x557e54['push'](_0x557e54['shift']());}}}(_0x5870,0x623e4));Object['defineProperty'](exports,_0x19ac7c(0x73),{'value':!![]}),exports[_0x19ac7c(0x75)]=exports[_0x19ac7c(0x6b)]=exports[_0x19ac7c(0x6f)]=void 0x0;function _0x5870(){var _0x3bf6a6=['6187251CWrSZI','./base-deploy','2722368ilOYHa','AwsS3Deploy','558627LSZsvf','./local-deploy','./aws-s3-deploy','BaseDeploy','1169398gThzqe','560624kXLDtZ','189141lZxNfs','__esModule','defineProperty','LocalDeploy','1426090SlipFf'];_0x5870=function(){return _0x3bf6a6;};return _0x5870();}function _0x26a6(_0x357cb4,_0x1749b6){var _0x58707=_0x5870();return _0x26a6=function(_0x26a6ac,_0x276fd1){_0x26a6ac=_0x26a6ac-0x6a;var _0xc096e3=_0x58707[_0x26a6ac];return _0xc096e3;},_0x26a6(_0x357cb4,_0x1749b6);}var base_deploy_1=require(_0x19ac7c(0x78));Object[_0x19ac7c(0x74)](exports,_0x19ac7c(0x6f),{'enumerable':!![],'get':function(){return base_deploy_1['BaseDeploy'];}});var aws_s3_deploy_1=require(_0x19ac7c(0x6e));Object['defineProperty'](exports,_0x19ac7c(0x6b),{'enumerable':!![],'get':function(){var _0x215092=_0x19ac7c;return aws_s3_deploy_1[_0x215092(0x6b)];}});var local_deploy_1=require(_0x19ac7c(0x6d));Object[_0x19ac7c(0x74)](exports,_0x19ac7c(0x75),{'enumerable':!![],'get':function(){return local_deploy_1['LocalDeploy'];}});
@@ -1 +1 @@
1
- 'use strict';const _0x4e4b56=_0x683d;(function(_0x4d4351,_0x11dcc9){const _0x525a01=_0x683d,_0x442dc3=_0x4d4351();while(!![]){try{const _0x49af9e=parseInt(_0x525a01(0x127))/0x1+-parseInt(_0x525a01(0x130))/0x2*(parseInt(_0x525a01(0x11d))/0x3)+-parseInt(_0x525a01(0x11f))/0x4+-parseInt(_0x525a01(0x125))/0x5*(parseInt(_0x525a01(0x11e))/0x6)+-parseInt(_0x525a01(0x12b))/0x7*(-parseInt(_0x525a01(0x120))/0x8)+-parseInt(_0x525a01(0x12c))/0x9*(-parseInt(_0x525a01(0x121))/0xa)+-parseInt(_0x525a01(0x128))/0xb*(parseInt(_0x525a01(0x12f))/0xc);if(_0x49af9e===_0x11dcc9)break;else _0x442dc3['push'](_0x442dc3['shift']());}catch(_0x21c78d){_0x442dc3['push'](_0x442dc3['shift']());}}}(_0x106e,0x9f524));function _0x683d(_0x1c72bc,_0x474d7a){const _0x106e86=_0x106e();return _0x683d=function(_0x683dea,_0xb5649f){_0x683dea=_0x683dea-0x118;let _0x3479b7=_0x106e86[_0x683dea];return _0x3479b7;},_0x683d(_0x1c72bc,_0x474d7a);}var __awaiter=this&&this[_0x4e4b56(0x123)]||function(_0x44ace2,_0x4e80ba,_0xf01fc9,_0x4a2855){function _0x3384ae(_0x1035c1){return _0x1035c1 instanceof _0xf01fc9?_0x1035c1:new _0xf01fc9(function(_0x5023cc){_0x5023cc(_0x1035c1);});}return new(_0xf01fc9||(_0xf01fc9=Promise))(function(_0x580b96,_0x109b8a){const _0x429970=_0x683d;function _0x37340e(_0x46ebc0){const _0x13aec5=_0x683d;try{_0x5520ce(_0x4a2855[_0x13aec5(0x124)](_0x46ebc0));}catch(_0x5ace91){_0x109b8a(_0x5ace91);}}function _0x19f253(_0x2f2a9d){const _0x12fc02=_0x683d;try{_0x5520ce(_0x4a2855[_0x12fc02(0x11c)](_0x2f2a9d));}catch(_0x2607fa){_0x109b8a(_0x2607fa);}}function _0x5520ce(_0x31b285){const _0x3e3c08=_0x683d;_0x31b285[_0x3e3c08(0x118)]?_0x580b96(_0x31b285[_0x3e3c08(0x138)]):_0x3384ae(_0x31b285['value'])[_0x3e3c08(0x119)](_0x37340e,_0x19f253);}_0x5520ce((_0x4a2855=_0x4a2855[_0x429970(0x133)](_0x44ace2,_0x4e80ba||[]))['next']());});},__importDefault=this&&this[_0x4e4b56(0x12d)]||function(_0xab92d5){const _0x54f6d2=_0x4e4b56;return _0xab92d5&&_0xab92d5[_0x54f6d2(0x11a)]?_0xab92d5:{'default':_0xab92d5};};function _0x106e(){const _0x3df0e8=['isExistsPath','13668ZdVLNn','8gbZsWf','defineProperty','writeFile','apply','LocalDeploy','dirname','path','BaseDeploy','value','@flosum-service/utils','done','then','__esModule','mkdir','throw','13878iHUEvo','138348TMCTIb','739972SofZEG','86560XONpPQ','1030mlfkRI','FsUtils','__awaiter','next','85BkPVGN','default','626459ektEzx','4169CUWMFY','fs/promises','execute','154vwABOc','71235BSWJDp','__importDefault'];_0x106e=function(){return _0x3df0e8;};return _0x106e();}Object[_0x4e4b56(0x131)](exports,'__esModule',{'value':!![]}),exports['LocalDeploy']=void 0x0;const path_1=__importDefault(require(_0x4e4b56(0x136))),promises_1=require(_0x4e4b56(0x129)),utils_1=require(_0x4e4b56(0x139)),_1=require('./');class LocalDeploy extends _1[_0x4e4b56(0x137)]{[_0x4e4b56(0x12a)](_0x3e27c3,_0x6ccf6){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x210109=_0x683d;try{const _0x552ad2=path_1[_0x210109(0x126)][_0x210109(0x135)](_0x6ccf6),_0x3a5a48=yield utils_1['FsUtils'][_0x210109(0x12e)](_0x552ad2);!_0x3a5a48&&(yield(0x0,promises_1[_0x210109(0x11b)])(_0x552ad2,{'recursive':!![]})),yield(0x0,promises_1[_0x210109(0x132)])(_0x6ccf6,_0x3e27c3);}catch(_0x2c46c0){(yield utils_1[_0x210109(0x122)][_0x210109(0x12e)](_0x6ccf6))&&(yield(0x0,promises_1['rm'])(_0x6ccf6,{'recursive':!![]}));throw _0x2c46c0;}});}}exports[_0x4e4b56(0x134)]=LocalDeploy;
1
+ 'use strict';const _0x60eee6=_0x27ea;(function(_0x36b4f7,_0x649994){const _0x2cc1e3=_0x27ea,_0x48ba33=_0x36b4f7();while(!![]){try{const _0x4203e3=-parseInt(_0x2cc1e3(0x1d6))/0x1*(-parseInt(_0x2cc1e3(0x1c6))/0x2)+parseInt(_0x2cc1e3(0x1cb))/0x3+-parseInt(_0x2cc1e3(0x1d8))/0x4+-parseInt(_0x2cc1e3(0x1c5))/0x5+parseInt(_0x2cc1e3(0x1c0))/0x6*(parseInt(_0x2cc1e3(0x1c3))/0x7)+parseInt(_0x2cc1e3(0x1ca))/0x8+parseInt(_0x2cc1e3(0x1d5))/0x9;if(_0x4203e3===_0x649994)break;else _0x48ba33['push'](_0x48ba33['shift']());}catch(_0xd3a9a7){_0x48ba33['push'](_0x48ba33['shift']());}}}(_0x108b,0x23b2b));var __awaiter=this&&this[_0x60eee6(0x1d2)]||function(_0x3c0565,_0xca56c2,_0x5a6bbf,_0x595555){function _0x49bff7(_0x1770d9){return _0x1770d9 instanceof _0x5a6bbf?_0x1770d9:new _0x5a6bbf(function(_0x49ae22){_0x49ae22(_0x1770d9);});}return new(_0x5a6bbf||(_0x5a6bbf=Promise))(function(_0x2735b2,_0x376007){const _0x26791d=_0x27ea;function _0x3970fa(_0x16c3ef){const _0x2573ac=_0x27ea;try{_0x37edce(_0x595555[_0x2573ac(0x1d0)](_0x16c3ef));}catch(_0x50eeb0){_0x376007(_0x50eeb0);}}function _0x56364c(_0x3cd817){const _0x5bb6f3=_0x27ea;try{_0x37edce(_0x595555[_0x5bb6f3(0x1d3)](_0x3cd817));}catch(_0x2115f7){_0x376007(_0x2115f7);}}function _0x37edce(_0x34431a){const _0x3d0262=_0x27ea;_0x34431a[_0x3d0262(0x1c4)]?_0x2735b2(_0x34431a[_0x3d0262(0x1c2)]):_0x49bff7(_0x34431a[_0x3d0262(0x1c2)])[_0x3d0262(0x1c7)](_0x3970fa,_0x56364c);}_0x37edce((_0x595555=_0x595555[_0x26791d(0x1c9)](_0x3c0565,_0xca56c2||[]))[_0x26791d(0x1d0)]());});},__importDefault=this&&this[_0x60eee6(0x1ce)]||function(_0x328738){const _0x44604a=_0x60eee6;return _0x328738&&_0x328738[_0x44604a(0x1cf)]?_0x328738:{'default':_0x328738};};Object[_0x60eee6(0x1cc)](exports,_0x60eee6(0x1cf),{'value':!![]}),exports[_0x60eee6(0x1c1)]=void 0x0;function _0x108b(){const _0x135dd6=['__esModule','next','default','__awaiter','throw','execute','243063zCxIYB','1611qvWbZZ','FsUtils','846540bOjYeW','mkdir','path','isExistsPath','78eRClbV','LocalDeploy','value','10409gshrSL','done','1161740pnnDcr','254WQahlt','then','fs/promises','apply','1622096bCCGPM','409515rNIiMG','defineProperty','BaseDeploy','__importDefault'];_0x108b=function(){return _0x135dd6;};return _0x108b();}const path_1=__importDefault(require(_0x60eee6(0x1be))),promises_1=require(_0x60eee6(0x1c8)),utils_1=require('@flosum-service/utils'),_1=require('./');class LocalDeploy extends _1[_0x60eee6(0x1cd)]{[_0x60eee6(0x1d4)](_0x7afb6c,_0x2dd8f5){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x38a199=_0x27ea;try{const _0x54325e=path_1[_0x38a199(0x1d1)]['dirname'](_0x2dd8f5),_0x857498=yield utils_1[_0x38a199(0x1d7)][_0x38a199(0x1bf)](_0x54325e);!_0x857498&&(yield(0x0,promises_1[_0x38a199(0x1bd)])(_0x54325e,{'recursive':!![]})),yield(0x0,promises_1['writeFile'])(_0x2dd8f5,_0x7afb6c);}catch(_0x199de4){(yield utils_1[_0x38a199(0x1d7)][_0x38a199(0x1bf)](_0x2dd8f5))&&(yield(0x0,promises_1['rm'])(_0x2dd8f5,{'recursive':!![]}));throw _0x199de4;}});}}function _0x27ea(_0x202c3b,_0x47050f){const _0x108b5d=_0x108b();return _0x27ea=function(_0x27ea26,_0x8f2f83){_0x27ea26=_0x27ea26-0x1bd;let _0x1f8bce=_0x108b5d[_0x27ea26];return _0x1f8bce;},_0x27ea(_0x202c3b,_0x47050f);}exports[_0x60eee6(0x1c1)]=LocalDeploy;
package/dist/factory.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1f93e7=_0x16c9;(function(_0x646212,_0xab12fa){const _0x42ac04=_0x16c9,_0x88bb91=_0x646212();while(!![]){try{const _0x2672ae=parseInt(_0x42ac04(0x1f8))/0x1*(-parseInt(_0x42ac04(0x1fa))/0x2)+parseInt(_0x42ac04(0x200))/0x3*(-parseInt(_0x42ac04(0x1f2))/0x4)+-parseInt(_0x42ac04(0x1f3))/0x5*(-parseInt(_0x42ac04(0x1f7))/0x6)+parseInt(_0x42ac04(0x1ec))/0x7+-parseInt(_0x42ac04(0x209))/0x8*(-parseInt(_0x42ac04(0x1fb))/0x9)+-parseInt(_0x42ac04(0x206))/0xa+-parseInt(_0x42ac04(0x205))/0xb;if(_0x2672ae===_0xab12fa)break;else _0x88bb91['push'](_0x88bb91['shift']());}catch(_0x593b0c){_0x88bb91['push'](_0x88bb91['shift']());}}}(_0x2031,0x69f66));function _0x2031(){const _0x103c83=['./retrieve/local-retrieve','AwsS3Deploy','./credentials/local-credentials','Unknown\x20storage\x20type\x20-\x20\x22','3884298HgTkqz','4751720CHvPuU','./deploy/local-deploy','AWS_S3','5080lbdLtt','LocalDelete','createCredentials','Local','./credentials/aws-s3-credentials','./deploy/aws-s3-deploy','4587415Qwopzv','createDeploy','__esModule','LocalDeploy','./delete/aws-s3-delete','createDelete','4csOvXf','290990jqheOU','AwsS3Delete','createRetrieve','StorageType','60dadwKd','15UFZQSi','LocalRetrieve','19442TyYzWA','6741aOorTH','AwsS3Retrieve','./retrieve/aws-s3-retrieve','StorageFactory','./types/storage-type.enum','914439IMIYsU'];_0x2031=function(){return _0x103c83;};return _0x2031();}Object['defineProperty'](exports,_0x1f93e7(0x1ee),{'value':!![]}),exports['StorageFactory']=void 0x0;const storage_type_enum_1=require(_0x1f93e7(0x1ff)),aws_s3_credentials_1=require(_0x1f93e7(0x1ea)),local_credentials_1=require(_0x1f93e7(0x203)),aws_s3_delete_1=require(_0x1f93e7(0x1f0)),local_delete_1=require('./delete/local-delete'),aws_s3_deploy_1=require(_0x1f93e7(0x1eb)),local_deploy_1=require(_0x1f93e7(0x207)),aws_s3_retrieve_1=require(_0x1f93e7(0x1fd)),local_retrieve_1=require(_0x1f93e7(0x201));function _0x16c9(_0x1ec8e0,_0x3f0989){const _0x2031c2=_0x2031();return _0x16c9=function(_0x16c92b,_0x10808e){_0x16c92b=_0x16c92b-0x1ea;let _0x34d3f0=_0x2031c2[_0x16c92b];return _0x34d3f0;},_0x16c9(_0x1ec8e0,_0x3f0989);}class StorageFactory{static[_0x1f93e7(0x1f5)](_0x1374c4,_0x10c39a,_0x4441b6,_0x160f88){const _0x1d470c=_0x1f93e7;switch(_0x1374c4){case storage_type_enum_1['StorageType'][_0x1d470c(0x208)]:return new aws_s3_retrieve_1[(_0x1d470c(0x1fc))](_0x10c39a,_0x4441b6,_0x160f88);case storage_type_enum_1[_0x1d470c(0x1f6)]['Local']:return new local_retrieve_1[(_0x1d470c(0x1f9))](_0x10c39a,_0x4441b6);default:throw new Error('Unknown\x20storage\x20type\x20-\x20\x22'+_0x1374c4+'\x22');}}static[_0x1f93e7(0x1ed)](_0x3dbdec,_0x12c176,_0xea17a1,_0x1d16a0){const _0x494b1a=_0x1f93e7;switch(_0x3dbdec){case storage_type_enum_1[_0x494b1a(0x1f6)][_0x494b1a(0x208)]:return new aws_s3_deploy_1[(_0x494b1a(0x202))](_0x12c176,_0xea17a1,_0x1d16a0);case storage_type_enum_1[_0x494b1a(0x1f6)]['Local']:return new local_deploy_1[(_0x494b1a(0x1ef))](_0x12c176,_0xea17a1);default:throw new Error(_0x494b1a(0x204)+_0x3dbdec+'\x22');}}static[_0x1f93e7(0x1f1)](_0xdc755d,_0x33c489){const _0x13d92e=_0x1f93e7;switch(_0xdc755d){case storage_type_enum_1['StorageType'][_0x13d92e(0x208)]:return new aws_s3_delete_1[(_0x13d92e(0x1f4))](_0x33c489);case storage_type_enum_1[_0x13d92e(0x1f6)]['Local']:return new local_delete_1[(_0x13d92e(0x20a))](_0x33c489);default:throw new Error(_0x13d92e(0x204)+_0xdc755d+'\x22');}}static[_0x1f93e7(0x20b)](_0x470a8f,_0x4e1af2){const _0x5ae155=_0x1f93e7;switch(_0x470a8f){case storage_type_enum_1['StorageType'][_0x5ae155(0x208)]:return new aws_s3_credentials_1['AwsS3Credentials'](_0x4e1af2);case storage_type_enum_1[_0x5ae155(0x1f6)][_0x5ae155(0x20c)]:return new local_credentials_1['LocalCredentials']();default:throw new Error(_0x5ae155(0x204)+_0x470a8f+'\x22');}}}exports[_0x1f93e7(0x1fe)]=StorageFactory;
1
+ 'use strict';const _0x108d0d=_0x5357;(function(_0x276759,_0x3c8255){const _0x22ee69=_0x5357,_0x15827d=_0x276759();while(!![]){try{const _0x3353d8=-parseInt(_0x22ee69(0xae))/0x1*(parseInt(_0x22ee69(0xc8))/0x2)+-parseInt(_0x22ee69(0xbc))/0x3+parseInt(_0x22ee69(0xc3))/0x4*(parseInt(_0x22ee69(0xc4))/0x5)+-parseInt(_0x22ee69(0xc2))/0x6+-parseInt(_0x22ee69(0xaf))/0x7*(-parseInt(_0x22ee69(0xbb))/0x8)+parseInt(_0x22ee69(0xc7))/0x9+parseInt(_0x22ee69(0xba))/0xa;if(_0x3353d8===_0x3c8255)break;else _0x15827d['push'](_0x15827d['shift']());}catch(_0x347490){_0x15827d['push'](_0x15827d['shift']());}}}(_0x34b5,0x1bf42));Object[_0x108d0d(0xb2)](exports,_0x108d0d(0xb1),{'value':!![]}),exports['StorageFactory']=void 0x0;const storage_type_enum_1=require(_0x108d0d(0xb0)),aws_s3_credentials_1=require('./credentials/aws-s3-credentials'),local_credentials_1=require(_0x108d0d(0xc5)),aws_s3_delete_1=require('./delete/aws-s3-delete'),local_delete_1=require(_0x108d0d(0xc1)),aws_s3_deploy_1=require(_0x108d0d(0xbd)),local_deploy_1=require(_0x108d0d(0xc6)),aws_s3_retrieve_1=require('./retrieve/aws-s3-retrieve'),local_retrieve_1=require('./retrieve/local-retrieve');function _0x5357(_0x332189,_0x152371){const _0x34b582=_0x34b5();return _0x5357=function(_0x535793,_0x2e5677){_0x535793=_0x535793-0xad;let _0x53a277=_0x34b582[_0x535793];return _0x53a277;},_0x5357(_0x332189,_0x152371);}function _0x34b5(){const _0x5b281f=['createDelete','LocalDelete','AwsS3Credentials','./delete/local-delete','1327992ZRBNBn','93224tYULGn','10uRgPIi','./credentials/local-credentials','./deploy/local-deploy','1024092SVTjZz','1720LjyzRX','StorageType','AwsS3Delete','16WAgAER','7MBDaiV','./types/storage-type.enum','__esModule','defineProperty','Unknown\x20storage\x20type\x20-\x20\x22','createRetrieve','LocalCredentials','Local','AwsS3Deploy','AWS_S3','AwsS3Retrieve','2020760MpqUye','1212056cNNEvE','493179NGeLfv','./deploy/aws-s3-deploy'];_0x34b5=function(){return _0x5b281f;};return _0x34b5();}class StorageFactory{static[_0x108d0d(0xb4)](_0x558431,_0x675f9b,_0x123601,_0x410009){const _0xe64daa=_0x108d0d;switch(_0x558431){case storage_type_enum_1[_0xe64daa(0xc9)][_0xe64daa(0xb8)]:return new aws_s3_retrieve_1[(_0xe64daa(0xb9))](_0x675f9b,_0x123601,_0x410009);case storage_type_enum_1['StorageType'][_0xe64daa(0xb6)]:return new local_retrieve_1['LocalRetrieve'](_0x675f9b,_0x123601);default:throw new Error(_0xe64daa(0xb3)+_0x558431+'\x22');}}static['createDeploy'](_0x22e446,_0x5a4ae8,_0x4c5eb2,_0x1350c2){const _0x3e0815=_0x108d0d;switch(_0x22e446){case storage_type_enum_1[_0x3e0815(0xc9)][_0x3e0815(0xb8)]:return new aws_s3_deploy_1[(_0x3e0815(0xb7))](_0x5a4ae8,_0x4c5eb2,_0x1350c2);case storage_type_enum_1[_0x3e0815(0xc9)][_0x3e0815(0xb6)]:return new local_deploy_1['LocalDeploy'](_0x5a4ae8,_0x4c5eb2);default:throw new Error(_0x3e0815(0xb3)+_0x22e446+'\x22');}}static[_0x108d0d(0xbe)](_0x1cd95d,_0xe85a58){const _0x18ce67=_0x108d0d;switch(_0x1cd95d){case storage_type_enum_1[_0x18ce67(0xc9)][_0x18ce67(0xb8)]:return new aws_s3_delete_1[(_0x18ce67(0xad))](_0xe85a58);case storage_type_enum_1[_0x18ce67(0xc9)][_0x18ce67(0xb6)]:return new local_delete_1[(_0x18ce67(0xbf))](_0xe85a58);default:throw new Error(_0x18ce67(0xb3)+_0x1cd95d+'\x22');}}static['createCredentials'](_0x3c7a56,_0x11e2de){const _0x5818d0=_0x108d0d;switch(_0x3c7a56){case storage_type_enum_1[_0x5818d0(0xc9)]['AWS_S3']:return new aws_s3_credentials_1[(_0x5818d0(0xc0))](_0x11e2de);case storage_type_enum_1[_0x5818d0(0xc9)]['Local']:return new local_credentials_1[(_0x5818d0(0xb5))]();default:throw new Error(_0x5818d0(0xb3)+_0x3c7a56+'\x22');}}}exports['StorageFactory']=StorageFactory;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x1d04(){var _0x5e11fb=['10010GBtxgy','./factory','create','__createBinding','defineProperty','./deploy','StorageFactory','hasOwnProperty','__esModule','__exportStar','6090930GgdVoA','./retrieve','5hoJgdL','./types','32GTlyZz','getOwnPropertyDescriptor','16853340HzFJie','57WQUVEv','writable','944904XsuSYN','2482640xKaCpb','907697qbJCdx','638268IFGXAd','./init'];_0x1d04=function(){return _0x5e11fb;};return _0x1d04();}var _0x1b18fb=_0x15b9;(function(_0x5bdbc3,_0x48ed1a){var _0x33d662=_0x15b9,_0x4f0768=_0x5bdbc3();while(!![]){try{var _0x2b1309=-parseInt(_0x33d662(0xd4))/0x1*(parseInt(_0x33d662(0xdb))/0x2)+-parseInt(_0x33d662(0xd6))/0x3+-parseInt(_0x33d662(0xd7))/0x4+-parseInt(_0x33d662(0xe7))/0x5*(parseInt(_0x33d662(0xd9))/0x6)+-parseInt(_0x33d662(0xd8))/0x7*(parseInt(_0x33d662(0xd1))/0x8)+parseInt(_0x33d662(0xe5))/0x9+parseInt(_0x33d662(0xd3))/0xa;if(_0x2b1309===_0x48ed1a)break;else _0x4f0768['push'](_0x4f0768['shift']());}catch(_0x2b2983){_0x4f0768['push'](_0x4f0768['shift']());}}}(_0x1d04,0x7e021));var __createBinding=this&&this[_0x1b18fb(0xde)]||(Object[_0x1b18fb(0xdd)]?function(_0x176372,_0x206053,_0x47a5b7,_0x505538){var _0x599543=_0x1b18fb;if(_0x505538===undefined)_0x505538=_0x47a5b7;var _0x5de279=Object[_0x599543(0xd2)](_0x206053,_0x47a5b7);(!_0x5de279||('get'in _0x5de279?!_0x206053[_0x599543(0xe3)]:_0x5de279[_0x599543(0xd5)]||_0x5de279['configurable']))&&(_0x5de279={'enumerable':!![],'get':function(){return _0x206053[_0x47a5b7];}}),Object['defineProperty'](_0x176372,_0x505538,_0x5de279);}:function(_0x2ad3af,_0x2afb48,_0x2f8fa7,_0xa89e99){if(_0xa89e99===undefined)_0xa89e99=_0x2f8fa7;_0x2ad3af[_0xa89e99]=_0x2afb48[_0x2f8fa7];}),__exportStar=this&&this[_0x1b18fb(0xe4)]||function(_0x297942,_0x4f0086){var _0x58258a=_0x1b18fb;for(var _0x4a2de5 in _0x297942)if(_0x4a2de5!=='default'&&!Object['prototype'][_0x58258a(0xe2)]['call'](_0x4f0086,_0x4a2de5))__createBinding(_0x4f0086,_0x297942,_0x4a2de5);};Object[_0x1b18fb(0xdf)](exports,_0x1b18fb(0xe3),{'value':!![]}),exports[_0x1b18fb(0xe1)]=void 0x0,require(_0x1b18fb(0xda)),__exportStar(require('./credentials'),exports),__exportStar(require('./delete'),exports),__exportStar(require(_0x1b18fb(0xe0)),exports),__exportStar(require(_0x1b18fb(0xe6)),exports);var factory_1=require(_0x1b18fb(0xdc));function _0x15b9(_0x1ae13d,_0x4d5f64){var _0x1d0489=_0x1d04();return _0x15b9=function(_0x15b9cd,_0x5e2444){_0x15b9cd=_0x15b9cd-0xd0;var _0x6f0bae=_0x1d0489[_0x15b9cd];return _0x6f0bae;},_0x15b9(_0x1ae13d,_0x4d5f64);}Object[_0x1b18fb(0xdf)](exports,'StorageFactory',{'enumerable':!![],'get':function(){var _0x33a0d1=_0x1b18fb;return factory_1[_0x33a0d1(0xe1)];}}),__exportStar(require(_0x1b18fb(0xd0)),exports);
1
+ 'use strict';var _0x27c158=_0x5653;(function(_0x520f64,_0x538449){var _0x5d396f=_0x5653,_0x3427e0=_0x520f64();while(!![]){try{var _0x2215bf=parseInt(_0x5d396f(0x8e))/0x1*(-parseInt(_0x5d396f(0x90))/0x2)+parseInt(_0x5d396f(0x9f))/0x3*(parseInt(_0x5d396f(0x9c))/0x4)+parseInt(_0x5d396f(0x9a))/0x5+-parseInt(_0x5d396f(0x8d))/0x6*(parseInt(_0x5d396f(0xa2))/0x7)+-parseInt(_0x5d396f(0x95))/0x8*(parseInt(_0x5d396f(0x91))/0x9)+parseInt(_0x5d396f(0x92))/0xa+parseInt(_0x5d396f(0xa1))/0xb;if(_0x2215bf===_0x538449)break;else _0x3427e0['push'](_0x3427e0['shift']());}catch(_0x3e54e3){_0x3427e0['push'](_0x3427e0['shift']());}}}(_0x523f,0x452df));var __createBinding=this&&this['__createBinding']||(Object[_0x27c158(0x9b)]?function(_0x16ff83,_0x556ce0,_0x304bb3,_0x370637){var _0x10c2ab=_0x27c158;if(_0x370637===undefined)_0x370637=_0x304bb3;var _0x4b1a30=Object[_0x10c2ab(0x94)](_0x556ce0,_0x304bb3);(!_0x4b1a30||(_0x10c2ab(0x9e)in _0x4b1a30?!_0x556ce0[_0x10c2ab(0xa4)]:_0x4b1a30[_0x10c2ab(0xa0)]||_0x4b1a30['configurable']))&&(_0x4b1a30={'enumerable':!![],'get':function(){return _0x556ce0[_0x304bb3];}}),Object[_0x10c2ab(0x93)](_0x16ff83,_0x370637,_0x4b1a30);}:function(_0x44f50d,_0x42dcd4,_0x595e08,_0x1ee17c){if(_0x1ee17c===undefined)_0x1ee17c=_0x595e08;_0x44f50d[_0x1ee17c]=_0x42dcd4[_0x595e08];}),__exportStar=this&&this['__exportStar']||function(_0x4fe7cb,_0x31f025){var _0x18209a=_0x27c158;for(var _0x47ee62 in _0x4fe7cb)if(_0x47ee62!==_0x18209a(0xa3)&&!Object[_0x18209a(0x99)]['hasOwnProperty'][_0x18209a(0xa5)](_0x31f025,_0x47ee62))__createBinding(_0x31f025,_0x4fe7cb,_0x47ee62);};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['StorageFactory']=void 0x0,require('./init'),__exportStar(require(_0x27c158(0x97)),exports),__exportStar(require('./delete'),exports),__exportStar(require(_0x27c158(0x96)),exports),__exportStar(require('./retrieve'),exports);function _0x5653(_0x431a05,_0x493b86){var _0x523f5f=_0x523f();return _0x5653=function(_0x565377,_0x3693e6){_0x565377=_0x565377-0x8d;var _0x3b3d3e=_0x523f5f[_0x565377];return _0x3b3d3e;},_0x5653(_0x431a05,_0x493b86);}function _0x523f(){var _0x2e5d5b=['2NXivaf','3035943vpZejr','265400qwMnyK','defineProperty','getOwnPropertyDescriptor','8hFPKql','./deploy','./credentials','StorageFactory','prototype','2188480yTZsLt','create','1037996HmBxEj','./factory','get','6VsbhLw','writable','1462087kWKKHF','1371181nbHHBt','default','__esModule','call','6caNCFg','299582ASIQRw','./types'];_0x523f=function(){return _0x2e5d5b;};return _0x523f();}var factory_1=require(_0x27c158(0x9d));Object[_0x27c158(0x93)](exports,_0x27c158(0x98),{'enumerable':!![],'get':function(){var _0x45b5f9=_0x27c158;return factory_1[_0x45b5f9(0x98)];}}),__exportStar(require(_0x27c158(0x8f)),exports);
package/dist/init.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x3033(){const _0x21977f=['8NUimYk','2016966XhldPx','__esModule','config','1996580jROXDK','35646592bjfOAu','default','3069222jaBNVw','1068193GqCQui','https-proxy-agent','aws-sdk','HTTP_PROXY','1191870BXPMTw','update','defineProperty','HTTPS_PROXY','1429491eYBXiV','env','__importDefault'];_0x3033=function(){return _0x21977f;};return _0x3033();}const _0x4bc1b1=_0x407f;(function(_0x41a58d,_0x50294f){const _0x28e275=_0x407f,_0x327f04=_0x41a58d();while(!![]){try{const _0xce782b=-parseInt(_0x28e275(0x1d7))/0x1+-parseInt(_0x28e275(0x1df))/0x2+-parseInt(_0x28e275(0x1db))/0x3+-parseInt(_0x28e275(0x1de))/0x4*(parseInt(_0x28e275(0x1cf))/0x5)+-parseInt(_0x28e275(0x1d2))/0x6+parseInt(_0x28e275(0x1d3))/0x7+parseInt(_0x28e275(0x1d0))/0x8;if(_0xce782b===_0x50294f)break;else _0x327f04['push'](_0x327f04['shift']());}catch(_0x3d5a6d){_0x327f04['push'](_0x327f04['shift']());}}}(_0x3033,0x97b5c));function _0x407f(_0x53cb8b,_0x1c9a86){const _0x30332a=_0x3033();return _0x407f=function(_0x407fac,_0x38edfd){_0x407fac=_0x407fac-0x1cf;let _0xfc9cf7=_0x30332a[_0x407fac];return _0xfc9cf7;},_0x407f(_0x53cb8b,_0x1c9a86);}var __importDefault=this&&this[_0x4bc1b1(0x1dd)]||function(_0x49d6b3){return _0x49d6b3&&_0x49d6b3['__esModule']?_0x49d6b3:{'default':_0x49d6b3};};Object[_0x4bc1b1(0x1d9)](exports,_0x4bc1b1(0x1e0),{'value':!![]});const aws_sdk_1=__importDefault(require(_0x4bc1b1(0x1d5))),https_proxy_agent_1=require(_0x4bc1b1(0x1d4));(process[_0x4bc1b1(0x1dc)]['HTTP_PROXY']||process[_0x4bc1b1(0x1dc)][_0x4bc1b1(0x1da)])&&aws_sdk_1[_0x4bc1b1(0x1d1)][_0x4bc1b1(0x1e1)][_0x4bc1b1(0x1d8)]({'httpOptions':{'agent':new https_proxy_agent_1['HttpsProxyAgent'](process[_0x4bc1b1(0x1dc)][_0x4bc1b1(0x1d6)]||process[_0x4bc1b1(0x1dc)][_0x4bc1b1(0x1da)])}});
1
+ 'use strict';const _0x39abe3=_0xa241;(function(_0x189435,_0x1901e7){const _0x4d4699=_0xa241,_0x3cd821=_0x189435();while(!![]){try{const _0x53d685=-parseInt(_0x4d4699(0xd4))/0x1+-parseInt(_0x4d4699(0xe3))/0x2*(-parseInt(_0x4d4699(0xdc))/0x3)+-parseInt(_0x4d4699(0xe4))/0x4+-parseInt(_0x4d4699(0xe2))/0x5+-parseInt(_0x4d4699(0xd5))/0x6+-parseInt(_0x4d4699(0xdb))/0x7+parseInt(_0x4d4699(0xdf))/0x8;if(_0x53d685===_0x1901e7)break;else _0x3cd821['push'](_0x3cd821['shift']());}catch(_0x399057){_0x3cd821['push'](_0x3cd821['shift']());}}}(_0x1b0d,0xbe5bb));function _0xa241(_0x5d3505,_0x4e07d3){const _0x1b0d48=_0x1b0d();return _0xa241=function(_0xa24186,_0x51af65){_0xa24186=_0xa24186-0xd4;let _0x47526a=_0x1b0d48[_0xa24186];return _0x47526a;},_0xa241(_0x5d3505,_0x4e07d3);}function _0x1b0d(){const _0x2b2707=['HTTPS_PROXY','config','Agent','__importDefault','1151010gnThrz','2698626yLoexO','HttpsProxyAgent','__esModule','HTTP_PROXY','aws-sdk','assign','8934079plJKbI','3agAVfZ','env','https','30617976CrOBNP','https-proxy-agent','default','3871025SBAVfc','1344542LtuWaS','274112vqEUqH'];_0x1b0d=function(){return _0x2b2707;};return _0x1b0d();}var __importDefault=this&&this[_0x39abe3(0xe8)]||function(_0x18b3c7){const _0x49d754=_0x39abe3;return _0x18b3c7&&_0x18b3c7[_0x49d754(0xd7)]?_0x18b3c7:{'default':_0x18b3c7};};Object['defineProperty'](exports,_0x39abe3(0xd7),{'value':!![]});const aws_sdk_1=__importDefault(require(_0x39abe3(0xd9))),https_proxy_agent_1=require(_0x39abe3(0xe0)),https_1=__importDefault(require(_0x39abe3(0xde)));(process[_0x39abe3(0xdd)][_0x39abe3(0xd8)]||process[_0x39abe3(0xdd)][_0x39abe3(0xe5)])&&aws_sdk_1[_0x39abe3(0xe1)][_0x39abe3(0xe6)]['update']({'httpOptions':{'agent':Object[_0x39abe3(0xda)](new https_proxy_agent_1[(_0x39abe3(0xd6))](process['env'][_0x39abe3(0xd8)]||process[_0x39abe3(0xdd)]['HTTPS_PROXY']),new https_1[(_0x39abe3(0xe1))][(_0x39abe3(0xe7))]({'keepAlive':!![]}))}});
@@ -1 +1 @@
1
- 'use strict';const _0xf44669=_0x3231;(function(_0x12082a,_0x33fb82){const _0x76a608=_0x3231,_0x445f3d=_0x12082a();while(!![]){try{const _0x391c0f=parseInt(_0x76a608(0xb0))/0x1*(parseInt(_0x76a608(0xa9))/0x2)+-parseInt(_0x76a608(0xa7))/0x3+-parseInt(_0x76a608(0x95))/0x4*(-parseInt(_0x76a608(0xbd))/0x5)+parseInt(_0x76a608(0x94))/0x6*(parseInt(_0x76a608(0x82))/0x7)+-parseInt(_0x76a608(0x8e))/0x8+-parseInt(_0x76a608(0xa5))/0x9*(-parseInt(_0x76a608(0x83))/0xa)+-parseInt(_0x76a608(0xb1))/0xb*(parseInt(_0x76a608(0xaf))/0xc);if(_0x391c0f===_0x33fb82)break;else _0x445f3d['push'](_0x445f3d['shift']());}catch(_0x547b03){_0x445f3d['push'](_0x445f3d['shift']());}}}(_0x3b71,0xd91ee));var __awaiter=this&&this['__awaiter']||function(_0x181682,_0x2bb9ac,_0x51d46a,_0x5e87e4){function _0x5a3caa(_0x5635da){return _0x5635da instanceof _0x51d46a?_0x5635da:new _0x51d46a(function(_0x4a24b0){_0x4a24b0(_0x5635da);});}return new(_0x51d46a||(_0x51d46a=Promise))(function(_0x24757f,_0x21c7b6){const _0x5b8f64=_0x3231;function _0x4c8777(_0x1ecc55){const _0x375160=_0x3231;try{_0x12b4cd(_0x5e87e4[_0x375160(0x7e)](_0x1ecc55));}catch(_0x207452){_0x21c7b6(_0x207452);}}function _0x55f17f(_0x4d24f9){const _0x3c9771=_0x3231;try{_0x12b4cd(_0x5e87e4[_0x3c9771(0xac)](_0x4d24f9));}catch(_0x1d604f){_0x21c7b6(_0x1d604f);}}function _0x12b4cd(_0x329bd1){const _0x1ef0d5=_0x3231;_0x329bd1['done']?_0x24757f(_0x329bd1[_0x1ef0d5(0xae)]):_0x5a3caa(_0x329bd1[_0x1ef0d5(0xae)])['then'](_0x4c8777,_0x55f17f);}_0x12b4cd((_0x5e87e4=_0x5e87e4[_0x5b8f64(0xa1)](_0x181682,_0x2bb9ac||[]))[_0x5b8f64(0x7e)]());});},__importDefault=this&&this[_0xf44669(0xb3)]||function(_0x2eb643){const _0x3f84e7=_0xf44669;return _0x2eb643&&_0x2eb643[_0x3f84e7(0xa0)]?_0x2eb643:{'default':_0x2eb643};};function _0x3231(_0x2f12ac,_0x35f25e){const _0x3b7102=_0x3b71();return _0x3231=function(_0x323186,_0x1b199e){_0x323186=_0x323186-0x79;let _0x159529=_0x3b7102[_0x323186];return _0x159529;},_0x3231(_0x2f12ac,_0x35f25e);}Object[_0xf44669(0xa2)](exports,_0xf44669(0xa0),{'value':!![]}),exports['AwsS3Retrieve']=void 0x0;function _0x3b71(){const _0x3e02d5=['extractFileRetrieveStatusFromFileInfo','throw','some','value','12lGSFZL','412BROZmq','27823521CXKgeF','runRestoreFiles','__importDefault','../types/retrieve-status.enum','STANDARD','AwsS3Retrieve','AwsS3Utils','CHECK_RESTORED_TIMEOUT','tryRestoreFilesFromCloud','setTimeout','InProgress','getObject','2895PvPiCC','files','split','accessKeyId','join','sep','waitUtilRetrieveDone','next','fetchFileBody','BaseRetrieve','RETRIEVE_STATUS_CHECK_TIMEOUT','175HdARhg','370vWRJdP','No\x20files\x20left\x20to\x20execute.','RetrieveStatus','credentials','../utils/aws-s3.utils','isDone','restoreType','restoreFile','Cannot\x20execute\x20when\x20retrieve\x20in\x20progress.','fetchFileInfo','path','7554640bJreLL','default','AwsFileRetrieveStatus','headObject','init','status','231906bFtrPA','12048HqBzUW','updateFilesRetrieveStatus','Completed','bucketName','shift','promise','Restoring','getFilesPaths','length','restoreObject','Exception','__esModule','apply','defineProperty','NeedRestore','execute','366057UFOvAP','filter','53043ybJyts','posix','804azYYtd','errorMessage'];_0x3b71=function(){return _0x3e02d5;};return _0x3b71();}const aws_sdk_1=__importDefault(require('aws-sdk')),path_1=__importDefault(require(_0xf44669(0x8d))),promises_1=require('timers/promises'),aws_s3_utils_1=require(_0xf44669(0x87)),_1=require('./'),aws_types_1=require('../types/aws.types'),retrieve_status_enum_1=require(_0xf44669(0xb4));class AwsS3Retrieve extends _1[_0xf44669(0x80)]{constructor(_0x1c34e0,_0x2de6be,_0x24158e){const _0x23ea83=_0xf44669,_0xc5a61f=_0x2de6be[_0x23ea83(0x79)](path_1['default'][_0x23ea83(0x7c)])[_0x23ea83(0x7b)](path_1[_0x23ea83(0x8f)]['posix'][_0x23ea83(0x7c)]);super(_0x1c34e0,_0xc5a61f),this['credentials']=_0x1c34e0,this['restoreType']=_0x24158e,this[_0x23ea83(0xb8)]=0x7530,this[_0x23ea83(0x81)]=0x3e8,this['s3']=new aws_sdk_1[(_0x23ea83(0x8f))]['S3']({'accessKeyId':this[_0x23ea83(0x86)][_0x23ea83(0x7a)],'secretAccessKey':this[_0x23ea83(0x86)]['secretAccessKey']}),this[_0x23ea83(0xbe)]=[];}[_0xf44669(0x7d)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x80a873=_0x3231;this[_0x80a873(0x93)]===retrieve_status_enum_1[_0x80a873(0x85)]['Uninitialized']&&(yield this[_0x80a873(0x92)](),yield this['waitUtilRetrieveDone']());switch(this['status']){case retrieve_status_enum_1['RetrieveStatus'][_0x80a873(0xbb)]:yield(0x0,promises_1[_0x80a873(0xba)])(this[_0x80a873(0x81)]),yield this[_0x80a873(0x7d)]();break;case retrieve_status_enum_1['RetrieveStatus'][_0x80a873(0x9f)]:throw new Error(this[_0x80a873(0xaa)]);}});}[_0xf44669(0xa4)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2405fa=_0x3231;if(this[_0x2405fa(0x93)]===retrieve_status_enum_1['RetrieveStatus'][_0x2405fa(0xbb)])throw new Error(_0x2405fa(0x8b));if(this['isDone']||!this['files']['length'])throw new Error(_0x2405fa(0x84));const _0x383cd0=this[_0x2405fa(0xbe)][_0x2405fa(0x99)](),_0x328634=yield this[_0x2405fa(0x7f)](_0x383cd0[_0x2405fa(0x8d)]);return this[_0x2405fa(0x88)]=!this['files'][_0x2405fa(0x9d)],{'path':this[_0x2405fa(0x8d)][_0x2405fa(0x79)](path_1[_0x2405fa(0x8f)][_0x2405fa(0xa8)][_0x2405fa(0x7c)])[_0x2405fa(0x7b)](path_1[_0x2405fa(0x8f)][_0x2405fa(0x7c)]),'content':_0x328634};});}[_0xf44669(0x8c)](_0x3ff4bc){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x44cabd=_0x3231,_0x964623={'Bucket':this[_0x44cabd(0x86)]['bucketName'],'Key':_0x3ff4bc},{StorageClass:_0x774ee9,Restore:_0x58f7f4}=yield this['s3'][_0x44cabd(0x91)](_0x964623)[_0x44cabd(0x9a)]();return{'StorageClass':_0x774ee9,'Restore':_0x58f7f4};});}[_0xf44669(0x8a)](_0x5a3374){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x241c3d=_0x3231,_0x4793f5={'Bucket':this[_0x241c3d(0x86)][_0x241c3d(0x98)],'Key':_0x5a3374,'RestoreRequest':{'Days':0x1,'GlacierJobParameters':{'Tier':this[_0x241c3d(0x89)]}}};yield this['s3'][_0x241c3d(0x9e)](_0x4793f5)[_0x241c3d(0x9a)]();});}['fetchFileBody'](_0x2d0081){const _0x1340aa=_0xf44669,_0x5abb6c={'Bucket':this[_0x1340aa(0x86)][_0x1340aa(0x98)],'Key':_0x2d0081};return this['s3'][_0x1340aa(0xbc)](_0x5abb6c)['createReadStream']();}[_0xf44669(0x92)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1c463f=_0x3231;yield this[_0x1c463f(0xb9)](),yield this[_0x1c463f(0xb2)](),this[_0x1c463f(0x93)]=retrieve_status_enum_1[_0x1c463f(0x85)][_0x1c463f(0xbb)],this['checkFilesRetrieveStatus']()['catch'](_0x4f9fa2=>{const _0x4acc5b=_0x1c463f;this[_0x4acc5b(0x93)]=retrieve_status_enum_1['RetrieveStatus'][_0x4acc5b(0x9f)],this[_0x4acc5b(0xaa)]=_0x4f9fa2['message'];});});}[_0xf44669(0xb9)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x41e357=_0x3231,_0x2ecce5=yield aws_s3_utils_1[_0x41e357(0xb7)][_0x41e357(0x9c)](this['path'],this['credentials'][_0x41e357(0x98)],this['s3']);for(const _0x4cef41 of _0x2ecce5){const _0x3c4f85=yield this[_0x41e357(0x8c)](_0x4cef41);this[_0x41e357(0xbe)]['push']({'path':_0x4cef41,'class':_0x3c4f85['StorageClass']||_0x41e357(0xb5),'status':aws_s3_utils_1[_0x41e357(0xb7)][_0x41e357(0xab)](_0x3c4f85)});}});}['runRestoreFiles'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x32c407=_0x3231,_0x17e669=this['files'][_0x32c407(0xa6)](_0xeb297a=>_0xeb297a[_0x32c407(0x93)]===aws_types_1['AwsFileRetrieveStatus'][_0x32c407(0xa3)]);for(const _0x478fec of _0x17e669){yield this[_0x32c407(0x8a)](_0x478fec[_0x32c407(0x8d)]),_0x478fec[_0x32c407(0x93)]=aws_types_1[_0x32c407(0x90)][_0x32c407(0x9b)];}});}[_0xf44669(0x96)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5cc4a9=_0x3231,_0x413d99=this['files'][_0x5cc4a9(0xa6)](_0x1b60b7=>_0x1b60b7['status']===aws_types_1['AwsFileRetrieveStatus'][_0x5cc4a9(0x9b)]);for(const _0x55a5e4 of _0x413d99){const _0x1392a3=yield this[_0x5cc4a9(0x8c)](_0x55a5e4[_0x5cc4a9(0x8d)]);_0x55a5e4['status']=aws_s3_utils_1[_0x5cc4a9(0xb7)]['extractFileRetrieveStatusFromFileInfo'](_0x1392a3);}});}['checkFilesRetrieveStatus'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1bb70d=_0x3231,_0x29a78b=this[_0x1bb70d(0xbe)][_0x1bb70d(0xad)](_0x4e824a=>_0x4e824a[_0x1bb70d(0x93)]===aws_types_1[_0x1bb70d(0x90)][_0x1bb70d(0x9b)]);this['status']=_0x29a78b?retrieve_status_enum_1[_0x1bb70d(0x85)][_0x1bb70d(0xbb)]:retrieve_status_enum_1[_0x1bb70d(0x85)][_0x1bb70d(0x97)],_0x29a78b&&(yield(0x0,promises_1[_0x1bb70d(0xba)])(this[_0x1bb70d(0xb8)]),yield this[_0x1bb70d(0x96)](),yield this['checkFilesRetrieveStatus']());});}}exports[_0xf44669(0xb6)]=AwsS3Retrieve;
1
+ 'use strict';const _0x5363a2=_0x54ce;function _0x38c9(){const _0x3a597b=['status','96XysktW','checkFilesRetrieveStatus','catch','restoreFile','updateFilesRetrieveStatus','102314kKueMI','throw','aws-sdk','RETRIEVE_STATUS_CHECK_TIMEOUT','200565hrRDpT','CHECK_RESTORED_TIMEOUT','default','posix','BaseRetrieve','14934FWjRrQ','value','promise','__importDefault','filter','NeedRestore','bucketName','getObject','Restoring','../types/aws.types','AwsFileRetrieveStatus','fetchFileInfo','setTimeout','errorMessage','sep','accessKeyId','tryRestoreFilesFromCloud','623Pbyyip','RetrieveStatus','message','createReadStream','Cannot\x20execute\x20when\x20retrieve\x20in\x20progress.','join','2xCejIq','done','412435BOjvcI','isDone','secretAccessKey','headObject','AwsS3Utils','STANDARD','InProgress','extractFileRetrieveStatusFromFileInfo','1780600YORXKX','351609QCNmGL','split','__awaiter','../utils/aws-s3.utils','274668CJJwFQ','apply','next','fetchFileBody','files','then','waitUtilRetrieveDone','restoreType','AwsS3Retrieve','runRestoreFiles','init','__esModule','credentials','Uninitialized','Exception','path'];_0x38c9=function(){return _0x3a597b;};return _0x38c9();}(function(_0xaa75b3,_0x138e78){const _0x2f6b8e=_0x54ce,_0x5555a7=_0xaa75b3();while(!![]){try{const _0x12667e=parseInt(_0x2f6b8e(0x137))/0x1*(parseInt(_0x2f6b8e(0x15c))/0x2)+parseInt(_0x2f6b8e(0x142))/0x3+parseInt(_0x2f6b8e(0x146))/0x4+parseInt(_0x2f6b8e(0x139))/0x5+parseInt(_0x2f6b8e(0x165))/0x6*(parseInt(_0x2f6b8e(0x131))/0x7)+-parseInt(_0x2f6b8e(0x157))/0x8*(parseInt(_0x2f6b8e(0x160))/0x9)+-parseInt(_0x2f6b8e(0x141))/0xa;if(_0x12667e===_0x138e78)break;else _0x5555a7['push'](_0x5555a7['shift']());}catch(_0x14f0d7){_0x5555a7['push'](_0x5555a7['shift']());}}}(_0x38c9,0x23d18));var __awaiter=this&&this[_0x5363a2(0x144)]||function(_0x4294b7,_0x4efa66,_0x1f67eb,_0x546e3){function _0x3eef95(_0x2fb316){return _0x2fb316 instanceof _0x1f67eb?_0x2fb316:new _0x1f67eb(function(_0x25b5f1){_0x25b5f1(_0x2fb316);});}return new(_0x1f67eb||(_0x1f67eb=Promise))(function(_0xa1af8,_0x4c5b98){const _0xe67c85=_0x54ce;function _0x3ed1a1(_0x400e47){const _0x2d1946=_0x54ce;try{_0x4dc322(_0x546e3[_0x2d1946(0x148)](_0x400e47));}catch(_0x2dcb93){_0x4c5b98(_0x2dcb93);}}function _0x449db3(_0x193318){const _0x34fcd8=_0x54ce;try{_0x4dc322(_0x546e3[_0x34fcd8(0x15d)](_0x193318));}catch(_0x353dc1){_0x4c5b98(_0x353dc1);}}function _0x4dc322(_0x199607){const _0x2b93c0=_0x54ce;_0x199607[_0x2b93c0(0x138)]?_0xa1af8(_0x199607[_0x2b93c0(0x166)]):_0x3eef95(_0x199607[_0x2b93c0(0x166)])[_0x2b93c0(0x14b)](_0x3ed1a1,_0x449db3);}_0x4dc322((_0x546e3=_0x546e3[_0xe67c85(0x147)](_0x4294b7,_0x4efa66||[]))['next']());});},__importDefault=this&&this[_0x5363a2(0x168)]||function(_0x1fc128){const _0xb7eae0=_0x5363a2;return _0x1fc128&&_0x1fc128[_0xb7eae0(0x151)]?_0x1fc128:{'default':_0x1fc128};};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['AwsS3Retrieve']=void 0x0;const aws_sdk_1=__importDefault(require(_0x5363a2(0x15e))),path_1=__importDefault(require(_0x5363a2(0x155))),promises_1=require('timers/promises'),aws_s3_utils_1=require(_0x5363a2(0x145)),_1=require('./'),aws_types_1=require(_0x5363a2(0x16e)),retrieve_status_enum_1=require('../types/retrieve-status.enum');function _0x54ce(_0x291b09,_0x3a38d4){const _0x38c9aa=_0x38c9();return _0x54ce=function(_0x54ceb4,_0x9d6759){_0x54ceb4=_0x54ceb4-0x12e;let _0x2949cf=_0x38c9aa[_0x54ceb4];return _0x2949cf;},_0x54ce(_0x291b09,_0x3a38d4);}class AwsS3Retrieve extends _1[_0x5363a2(0x164)]{constructor(_0x58de95,_0x1a4d4a,_0xc2bbc4){const _0x1c29c9=_0x5363a2,_0x2bfa96=_0x1a4d4a['split'](path_1[_0x1c29c9(0x162)][_0x1c29c9(0x12e)])[_0x1c29c9(0x136)](path_1['default'][_0x1c29c9(0x163)][_0x1c29c9(0x12e)]);super(_0x58de95,_0x2bfa96),this[_0x1c29c9(0x152)]=_0x58de95,this[_0x1c29c9(0x14d)]=_0xc2bbc4,this[_0x1c29c9(0x161)]=0x7530,this[_0x1c29c9(0x15f)]=0x3e8,this['s3']=new aws_sdk_1[(_0x1c29c9(0x162))]['S3']({'accessKeyId':this[_0x1c29c9(0x152)][_0x1c29c9(0x12f)],'secretAccessKey':this[_0x1c29c9(0x152)][_0x1c29c9(0x13b)]}),this[_0x1c29c9(0x14a)]=[];}[_0x5363a2(0x14c)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x300f6f=_0x54ce;this['status']===retrieve_status_enum_1['RetrieveStatus'][_0x300f6f(0x153)]&&(yield this[_0x300f6f(0x150)](),yield this[_0x300f6f(0x14c)]());switch(this[_0x300f6f(0x156)]){case retrieve_status_enum_1['RetrieveStatus'][_0x300f6f(0x13f)]:yield(0x0,promises_1[_0x300f6f(0x171)])(this['RETRIEVE_STATUS_CHECK_TIMEOUT']),yield this[_0x300f6f(0x14c)]();break;case retrieve_status_enum_1[_0x300f6f(0x132)][_0x300f6f(0x154)]:throw new Error(this['errorMessage']);}});}['execute'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x32368f=_0x54ce;if(this[_0x32368f(0x156)]===retrieve_status_enum_1[_0x32368f(0x132)][_0x32368f(0x13f)])throw new Error(_0x32368f(0x135));if(this['isDone']||!this[_0x32368f(0x14a)]['length'])throw new Error('No\x20files\x20left\x20to\x20execute.');const _0x322233=this['files']['shift'](),_0x4c546d=yield this[_0x32368f(0x149)](_0x322233[_0x32368f(0x155)]);return this[_0x32368f(0x13a)]=!this[_0x32368f(0x14a)]['length'],{'path':this['path'][_0x32368f(0x143)](path_1[_0x32368f(0x162)]['posix']['sep'])[_0x32368f(0x136)](path_1[_0x32368f(0x162)]['sep']),'content':_0x4c546d};});}[_0x5363a2(0x170)](_0x42bede){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x571731=_0x54ce,_0x392968={'Bucket':this[_0x571731(0x152)][_0x571731(0x16b)],'Key':_0x42bede},{StorageClass:_0x2fd37b,Restore:_0x2184bb}=yield this['s3'][_0x571731(0x13c)](_0x392968)[_0x571731(0x167)]();return{'StorageClass':_0x2fd37b,'Restore':_0x2184bb};});}[_0x5363a2(0x15a)](_0x150683){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4aa5bb=_0x54ce,_0x1b0d7f={'Bucket':this[_0x4aa5bb(0x152)]['bucketName'],'Key':_0x150683,'RestoreRequest':{'Days':0x1,'GlacierJobParameters':{'Tier':this[_0x4aa5bb(0x14d)]}}};yield this['s3']['restoreObject'](_0x1b0d7f)[_0x4aa5bb(0x167)]();});}[_0x5363a2(0x149)](_0x349f8e){const _0x266196=_0x5363a2,_0x4d763b={'Bucket':this['credentials'][_0x266196(0x16b)],'Key':_0x349f8e};return this['s3'][_0x266196(0x16c)](_0x4d763b)[_0x266196(0x134)]();}[_0x5363a2(0x150)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1a8faf=_0x54ce;yield this[_0x1a8faf(0x130)](),yield this['runRestoreFiles'](),this['status']=retrieve_status_enum_1['RetrieveStatus'][_0x1a8faf(0x13f)],this['checkFilesRetrieveStatus']()[_0x1a8faf(0x159)](_0x361bc8=>{const _0x1e9e8e=_0x1a8faf;this[_0x1e9e8e(0x156)]=retrieve_status_enum_1['RetrieveStatus'][_0x1e9e8e(0x154)],this[_0x1e9e8e(0x172)]=_0x361bc8[_0x1e9e8e(0x133)];});});}['tryRestoreFilesFromCloud'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x345a8c=_0x54ce,_0x204d47=yield aws_s3_utils_1['AwsS3Utils']['getFilesPaths'](this[_0x345a8c(0x155)],this['credentials'][_0x345a8c(0x16b)],this['s3']);for(const _0x523f3a of _0x204d47){const _0xb51d79=yield this['fetchFileInfo'](_0x523f3a);this[_0x345a8c(0x14a)]['push']({'path':_0x523f3a,'class':_0xb51d79['StorageClass']||_0x345a8c(0x13e),'status':aws_s3_utils_1[_0x345a8c(0x13d)]['extractFileRetrieveStatusFromFileInfo'](_0xb51d79)});}});}[_0x5363a2(0x14f)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1f4afa=_0x54ce,_0x5b7b48=this[_0x1f4afa(0x14a)]['filter'](_0xb700e3=>_0xb700e3[_0x1f4afa(0x156)]===aws_types_1[_0x1f4afa(0x16f)][_0x1f4afa(0x16a)]);for(const _0x134e19 of _0x5b7b48){yield this[_0x1f4afa(0x15a)](_0x134e19['path']),_0x134e19[_0x1f4afa(0x156)]=aws_types_1[_0x1f4afa(0x16f)][_0x1f4afa(0x16d)];}});}[_0x5363a2(0x15b)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1631cb=_0x54ce,_0x9f3306=this[_0x1631cb(0x14a)][_0x1631cb(0x169)](_0x2cae38=>_0x2cae38[_0x1631cb(0x156)]===aws_types_1[_0x1631cb(0x16f)][_0x1631cb(0x16d)]);for(const _0x21de22 of _0x9f3306){const _0x1654e3=yield this[_0x1631cb(0x170)](_0x21de22['path']);_0x21de22[_0x1631cb(0x156)]=aws_s3_utils_1[_0x1631cb(0x13d)][_0x1631cb(0x140)](_0x1654e3);}});}[_0x5363a2(0x158)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1f8c1a=_0x54ce,_0xe01fb6=this[_0x1f8c1a(0x14a)]['some'](_0x5a419c=>_0x5a419c['status']===aws_types_1[_0x1f8c1a(0x16f)][_0x1f8c1a(0x16d)]);this[_0x1f8c1a(0x156)]=_0xe01fb6?retrieve_status_enum_1['RetrieveStatus'][_0x1f8c1a(0x13f)]:retrieve_status_enum_1[_0x1f8c1a(0x132)]['Completed'],_0xe01fb6&&(yield(0x0,promises_1[_0x1f8c1a(0x171)])(this[_0x1f8c1a(0x161)]),yield this[_0x1f8c1a(0x15b)](),yield this[_0x1f8c1a(0x158)]());});}}exports[_0x5363a2(0x14e)]=AwsS3Retrieve;
@@ -1 +1 @@
1
- 'use strict';const _0x49d483=_0x3430;function _0x3aae(){const _0x21bbf1=['isDone','credentials','201786ZYUHEw','201296VarCVE','BaseRetrieve','41845jrIsjr','2020536IvHYxB','Uninitialized','9NRMmNR','__esModule','path','defineProperty','28wnBfKi','768170bsFbtF','getIsDone','RetrieveStatus','606894aJShSW','105piUHGU','status','40104nIptdn','../types/retrieve-status.enum'];_0x3aae=function(){return _0x21bbf1;};return _0x3aae();}(function(_0x56e7da,_0x1ab474){const _0x4766d8=_0x3430,_0x3a9ede=_0x56e7da();while(!![]){try{const _0x2c8ee8=parseInt(_0x4766d8(0x1b3))/0x1+-parseInt(_0x4766d8(0x1b2))/0x2+-parseInt(_0x4766d8(0x1ab))/0x3+-parseInt(_0x4766d8(0x1a7))/0x4*(parseInt(_0x4766d8(0x1b5))/0x5)+parseInt(_0x4766d8(0x1b6))/0x6+parseInt(_0x4766d8(0x1ac))/0x7*(-parseInt(_0x4766d8(0x1ae))/0x8)+parseInt(_0x4766d8(0x1b8))/0x9*(parseInt(_0x4766d8(0x1a8))/0xa);if(_0x2c8ee8===_0x1ab474)break;else _0x3a9ede['push'](_0x3a9ede['shift']());}catch(_0x3ca0d3){_0x3a9ede['push'](_0x3a9ede['shift']());}}}(_0x3aae,0x2b6ec));Object[_0x49d483(0x1a6)](exports,_0x49d483(0x1b9),{'value':!![]}),exports[_0x49d483(0x1b4)]=void 0x0;const retrieve_status_enum_1=require(_0x49d483(0x1af));function _0x3430(_0x402b8f,_0x13cab9){const _0x3aaed9=_0x3aae();return _0x3430=function(_0x343001,_0x47df82){_0x343001=_0x343001-0x1a6;let _0x3feb8=_0x3aaed9[_0x343001];return _0x3feb8;},_0x3430(_0x402b8f,_0x13cab9);}class BaseRetrieve{constructor(_0x4bad24,_0x563789){const _0x2f5f79=_0x49d483;this[_0x2f5f79(0x1b1)]=_0x4bad24,this[_0x2f5f79(0x1ba)]=_0x563789,this[_0x2f5f79(0x1b0)]=![],this[_0x2f5f79(0x1ad)]=retrieve_status_enum_1[_0x2f5f79(0x1aa)][_0x2f5f79(0x1b7)];}[_0x49d483(0x1a9)](){const _0x3b9143=_0x49d483;return this[_0x3b9143(0x1b0)];}}exports[_0x49d483(0x1b4)]=BaseRetrieve;
1
+ 'use strict';const _0x1dbce1=_0xda55;(function(_0x33582b,_0x5dcffe){const _0x13022c=_0xda55,_0x103088=_0x33582b();while(!![]){try{const _0xb94bfc=parseInt(_0x13022c(0x1ba))/0x1+-parseInt(_0x13022c(0x1be))/0x2*(parseInt(_0x13022c(0x1b9))/0x3)+-parseInt(_0x13022c(0x1c7))/0x4*(parseInt(_0x13022c(0x1bd))/0x5)+parseInt(_0x13022c(0x1bb))/0x6+parseInt(_0x13022c(0x1b7))/0x7+-parseInt(_0x13022c(0x1bc))/0x8*(-parseInt(_0x13022c(0x1c3))/0x9)+parseInt(_0x13022c(0x1c0))/0xa;if(_0xb94bfc===_0x5dcffe)break;else _0x103088['push'](_0x103088['shift']());}catch(_0x295483){_0x103088['push'](_0x103088['shift']());}}}(_0x3bca,0x92bd8));Object[_0x1dbce1(0x1c4)](exports,_0x1dbce1(0x1c8),{'value':!![]}),exports[_0x1dbce1(0x1b8)]=void 0x0;function _0xda55(_0x122606,_0x2059dc){const _0x3bcaf5=_0x3bca();return _0xda55=function(_0xda55fe,_0x6f3681){_0xda55fe=_0xda55fe-0x1b7;let _0x9cd58e=_0x3bcaf5[_0xda55fe];return _0x9cd58e;},_0xda55(_0x122606,_0x2059dc);}const retrieve_status_enum_1=require(_0x1dbce1(0x1c1));class BaseRetrieve{constructor(_0x27614f,_0x535ee0){const _0x5ba5d3=_0x1dbce1;this['credentials']=_0x27614f,this['path']=_0x535ee0,this['isDone']=![],this[_0x5ba5d3(0x1c6)]=retrieve_status_enum_1[_0x5ba5d3(0x1c5)][_0x5ba5d3(0x1c2)];}['getIsDone'](){const _0x1b6e66=_0x1dbce1;return this[_0x1b6e66(0x1bf)];}}function _0x3bca(){const _0xc3c4a5=['__esModule','2539334BOCrrF','BaseRetrieve','5577iljkFk','509503VUxPdp','1736970ZQVAcf','184oEfBfM','532165pHNKII','1182TOKPFg','isDone','12030650pWRdii','../types/retrieve-status.enum','Uninitialized','197865hXkYfY','defineProperty','RetrieveStatus','status','44ffHRRY'];_0x3bca=function(){return _0xc3c4a5;};return _0x3bca();}exports['BaseRetrieve']=BaseRetrieve;
@@ -1 +1 @@
1
- 'use strict';var _0x11c96a=_0x4da8;function _0x4da8(_0x2ca5ea,_0x4fd764){var _0x1b2de2=_0x1b2d();return _0x4da8=function(_0x4da83f,_0xc73113){_0x4da83f=_0x4da83f-0x110;var _0x254d33=_0x1b2de2[_0x4da83f];return _0x254d33;},_0x4da8(_0x2ca5ea,_0x4fd764);}(function(_0x2ebf82,_0x18723b){var _0x2c7572=_0x4da8,_0x43577c=_0x2ebf82();while(!![]){try{var _0x3efac9=-parseInt(_0x2c7572(0x116))/0x1+parseInt(_0x2c7572(0x11f))/0x2*(parseInt(_0x2c7572(0x11b))/0x3)+parseInt(_0x2c7572(0x11c))/0x4+parseInt(_0x2c7572(0x112))/0x5*(-parseInt(_0x2c7572(0x110))/0x6)+parseInt(_0x2c7572(0x119))/0x7*(-parseInt(_0x2c7572(0x117))/0x8)+-parseInt(_0x2c7572(0x122))/0x9*(-parseInt(_0x2c7572(0x113))/0xa)+parseInt(_0x2c7572(0x11d))/0xb*(parseInt(_0x2c7572(0x123))/0xc);if(_0x3efac9===_0x18723b)break;else _0x43577c['push'](_0x43577c['shift']());}catch(_0x36635d){_0x43577c['push'](_0x43577c['shift']());}}}(_0x1b2d,0xb8918));Object[_0x11c96a(0x114)](exports,_0x11c96a(0x120),{'value':!![]}),exports[_0x11c96a(0x115)]=exports['AwsS3Retrieve']=exports[_0x11c96a(0x111)]=void 0x0;function _0x1b2d(){var _0x4dfda7=['8leojAz','AwsS3Retrieve','10355394KTOjcx','./local-retrieve','30501EVkEgd','4422664zzrIfa','11LxgbcT','./aws-s3-retrieve','122vSDDCV','__esModule','./base-retrieve','27cHjBpx','10552140OWyDZL','1014bFIvuB','BaseRetrieve','6415FVVTpY','2302360QsHOzy','defineProperty','LocalRetrieve','843745RCVHUD'];_0x1b2d=function(){return _0x4dfda7;};return _0x1b2d();}var base_retrieve_1=require(_0x11c96a(0x121));Object[_0x11c96a(0x114)](exports,_0x11c96a(0x111),{'enumerable':!![],'get':function(){var _0x146506=_0x11c96a;return base_retrieve_1[_0x146506(0x111)];}});var aws_s3_retrieve_1=require(_0x11c96a(0x11e));Object['defineProperty'](exports,_0x11c96a(0x118),{'enumerable':!![],'get':function(){var _0x5b7ce4=_0x11c96a;return aws_s3_retrieve_1[_0x5b7ce4(0x118)];}});var local_retrieve_1=require(_0x11c96a(0x11a));Object['defineProperty'](exports,_0x11c96a(0x115),{'enumerable':!![],'get':function(){var _0x34b09f=_0x11c96a;return local_retrieve_1[_0x34b09f(0x115)];}});
1
+ 'use strict';function _0x3d4a(_0x4f716c,_0x1a08e1){var _0x477a5d=_0x477a();return _0x3d4a=function(_0x3d4a7a,_0x118579){_0x3d4a7a=_0x3d4a7a-0x12b;var _0x42222f=_0x477a5d[_0x3d4a7a];return _0x42222f;},_0x3d4a(_0x4f716c,_0x1a08e1);}var _0x502d59=_0x3d4a;(function(_0x54e626,_0x2dc8da){var _0x166a3d=_0x3d4a,_0x5155e1=_0x54e626();while(!![]){try{var _0x59de71=-parseInt(_0x166a3d(0x132))/0x1*(-parseInt(_0x166a3d(0x12b))/0x2)+parseInt(_0x166a3d(0x130))/0x3*(-parseInt(_0x166a3d(0x13a))/0x4)+-parseInt(_0x166a3d(0x12c))/0x5*(parseInt(_0x166a3d(0x137))/0x6)+-parseInt(_0x166a3d(0x139))/0x7+-parseInt(_0x166a3d(0x136))/0x8*(-parseInt(_0x166a3d(0x12d))/0x9)+parseInt(_0x166a3d(0x13d))/0xa+-parseInt(_0x166a3d(0x134))/0xb*(-parseInt(_0x166a3d(0x12f))/0xc);if(_0x59de71===_0x2dc8da)break;else _0x5155e1['push'](_0x5155e1['shift']());}catch(_0x5ee806){_0x5155e1['push'](_0x5155e1['shift']());}}}(_0x477a,0x4f6ec));Object[_0x502d59(0x131)](exports,_0x502d59(0x135),{'value':!![]}),exports[_0x502d59(0x133)]=exports[_0x502d59(0x13c)]=exports[_0x502d59(0x13b)]=void 0x0;var base_retrieve_1=require(_0x502d59(0x138));Object[_0x502d59(0x131)](exports,_0x502d59(0x13b),{'enumerable':!![],'get':function(){var _0xbf561f=_0x502d59;return base_retrieve_1[_0xbf561f(0x13b)];}});function _0x477a(){var _0x5756f8=['4288NUkxQV','BaseRetrieve','AwsS3Retrieve','638850PrxMgI','./local-retrieve','847636yKVSFW','5gKlDoS','18LhruBD','./aws-s3-retrieve','12987288OVrvTN','1614ljPefl','defineProperty','1QeHOjN','LocalRetrieve','11htvzGX','__esModule','868128PLqSXK','1820262ZqZNvY','./base-retrieve','4070780ppJeGG'];_0x477a=function(){return _0x5756f8;};return _0x477a();}var aws_s3_retrieve_1=require(_0x502d59(0x12e));Object[_0x502d59(0x131)](exports,_0x502d59(0x13c),{'enumerable':!![],'get':function(){return aws_s3_retrieve_1['AwsS3Retrieve'];}});var local_retrieve_1=require(_0x502d59(0x13e));Object[_0x502d59(0x131)](exports,_0x502d59(0x133),{'enumerable':!![],'get':function(){var _0xe163a4=_0x502d59;return local_retrieve_1[_0xe163a4(0x133)];}});
@@ -1 +1 @@
1
- 'use strict';const _0x46ecaa=_0x4e30;(function(_0x4a21ce,_0x3fb604){const _0x48c8d7=_0x4e30,_0x2b74da=_0x4a21ce();while(!![]){try{const _0x331e00=parseInt(_0x48c8d7(0x7d))/0x1+-parseInt(_0x48c8d7(0x81))/0x2*(-parseInt(_0x48c8d7(0x86))/0x3)+parseInt(_0x48c8d7(0x72))/0x4+parseInt(_0x48c8d7(0x8e))/0x5*(-parseInt(_0x48c8d7(0x70))/0x6)+parseInt(_0x48c8d7(0x92))/0x7*(-parseInt(_0x48c8d7(0x77))/0x8)+parseInt(_0x48c8d7(0x73))/0x9*(-parseInt(_0x48c8d7(0x7f))/0xa)+parseInt(_0x48c8d7(0x8d))/0xb*(parseInt(_0x48c8d7(0x8f))/0xc);if(_0x331e00===_0x3fb604)break;else _0x2b74da['push'](_0x2b74da['shift']());}catch(_0x565029){_0x2b74da['push'](_0x2b74da['shift']());}}}(_0x1dbd,0x9e9d3));function _0x4e30(_0x2773e2,_0x3851c4){const _0x1dbd7c=_0x1dbd();return _0x4e30=function(_0x4e306d,_0x1ce844){_0x4e306d=_0x4e306d-0x70;let _0x5db894=_0x1dbd7c[_0x4e306d];return _0x5db894;},_0x4e30(_0x2773e2,_0x3851c4);}var __awaiter=this&&this[_0x46ecaa(0x74)]||function(_0x1f2ef4,_0x11aafc,_0x1eb4a7,_0x4ffe4c){function _0x49dce8(_0x3a5fb7){return _0x3a5fb7 instanceof _0x1eb4a7?_0x3a5fb7:new _0x1eb4a7(function(_0x516fb3){_0x516fb3(_0x3a5fb7);});}return new(_0x1eb4a7||(_0x1eb4a7=Promise))(function(_0xe33bf4,_0x267bf3){const _0x17255c=_0x4e30;function _0x21f976(_0x5be826){const _0x5f07e8=_0x4e30;try{_0x3a6aeb(_0x4ffe4c[_0x5f07e8(0x87)](_0x5be826));}catch(_0x411491){_0x267bf3(_0x411491);}}function _0x24b690(_0x2cf02c){try{_0x3a6aeb(_0x4ffe4c['throw'](_0x2cf02c));}catch(_0x5be32c){_0x267bf3(_0x5be32c);}}function _0x3a6aeb(_0x149fd3){const _0xd785bb=_0x4e30;_0x149fd3[_0xd785bb(0x82)]?_0xe33bf4(_0x149fd3[_0xd785bb(0x8c)]):_0x49dce8(_0x149fd3[_0xd785bb(0x8c)])[_0xd785bb(0x76)](_0x21f976,_0x24b690);}_0x3a6aeb((_0x4ffe4c=_0x4ffe4c[_0x17255c(0x89)](_0x1f2ef4,_0x11aafc||[]))[_0x17255c(0x87)]());});};function _0x1dbd(){const _0x27608a=['1125472ACgWhB','waitUtilRetrieveDone','shift','defineProperty','filesPaths','RetrieveStatus','574779YSFtaP','__esModule','1949550momJwr','BaseRetrieve','4mADYwX','done','readFilesToRetrieve','isDone','FsUtils','1335132aNHCrN','next','@flosum-service/utils','apply','../types/retrieve-status.enum','length','value','433433OuJxkI','15JmbsUm','12QInSHz','Completed','path','14GSJinp','994992hSdMkq','createReadStream','2036568lloXOJ','27gOiZHK','__awaiter','LocalRetrieve','then'];_0x1dbd=function(){return _0x27608a;};return _0x1dbd();}Object[_0x46ecaa(0x7a)](exports,_0x46ecaa(0x7e),{'value':!![]}),exports[_0x46ecaa(0x75)]=void 0x0;const fs_1=require('fs'),utils_1=require(_0x46ecaa(0x88)),_1=require('./'),retrieve_status_enum_1=require(_0x46ecaa(0x8a));class LocalRetrieve extends _1[_0x46ecaa(0x80)]{constructor(){super(...arguments),this['filesPaths']=[];}['execute'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x15b1bf=_0x4e30,_0x423d55=this[_0x15b1bf(0x7b)][_0x15b1bf(0x79)](),_0xcb6ad3=(0x0,fs_1[_0x15b1bf(0x71)])(_0x423d55);return this[_0x15b1bf(0x84)]=!this['filesPaths'][_0x15b1bf(0x8b)],{'path':_0x423d55,'content':_0xcb6ad3};});}['readFilesToRetrieve'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x13f229=_0x4e30;this[_0x13f229(0x7b)]=yield utils_1[_0x13f229(0x85)]['getFolderFiles'](this[_0x13f229(0x91)]);});}[_0x46ecaa(0x78)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1f0a22=_0x4e30;this['status']===retrieve_status_enum_1[_0x1f0a22(0x7c)]['Uninitialized']&&(yield this[_0x1f0a22(0x83)](),this['status']=retrieve_status_enum_1[_0x1f0a22(0x7c)][_0x1f0a22(0x90)]);});}}exports['LocalRetrieve']=LocalRetrieve;
1
+ 'use strict';const _0x4ee790=_0x2833;(function(_0xab4822,_0xdc0e24){const _0xd9a3f2=_0x2833,_0x3d07c6=_0xab4822();while(!![]){try{const _0x12e1c0=parseInt(_0xd9a3f2(0xd6))/0x1+-parseInt(_0xd9a3f2(0xd9))/0x2*(parseInt(_0xd9a3f2(0xe9))/0x3)+-parseInt(_0xd9a3f2(0xe7))/0x4+-parseInt(_0xd9a3f2(0xe5))/0x5*(parseInt(_0xd9a3f2(0xd8))/0x6)+parseInt(_0xd9a3f2(0xe2))/0x7*(parseInt(_0xd9a3f2(0xd3))/0x8)+-parseInt(_0xd9a3f2(0xd5))/0x9+parseInt(_0xd9a3f2(0xde))/0xa*(parseInt(_0xd9a3f2(0xee))/0xb);if(_0x12e1c0===_0xdc0e24)break;else _0x3d07c6['push'](_0x3d07c6['shift']());}catch(_0xf2596a){_0x3d07c6['push'](_0x3d07c6['shift']());}}}(_0x53c3,0x8aa13));var __awaiter=this&&this[_0x4ee790(0xdb)]||function(_0x4eb326,_0x134f96,_0x664516,_0x16fe3a){function _0xf353bd(_0x36c5ea){return _0x36c5ea instanceof _0x664516?_0x36c5ea:new _0x664516(function(_0x451135){_0x451135(_0x36c5ea);});}return new(_0x664516||(_0x664516=Promise))(function(_0x3bb4c5,_0x5310c8){const _0x466915=_0x2833;function _0x28ca9a(_0x595d2a){const _0x4f6258=_0x2833;try{_0x25f819(_0x16fe3a[_0x4f6258(0xe0)](_0x595d2a));}catch(_0xbebb4d){_0x5310c8(_0xbebb4d);}}function _0x268cf3(_0x11d334){const _0x11f53f=_0x2833;try{_0x25f819(_0x16fe3a[_0x11f53f(0xd7)](_0x11d334));}catch(_0x247953){_0x5310c8(_0x247953);}}function _0x25f819(_0x6390ec){const _0x2a75ae=_0x2833;_0x6390ec[_0x2a75ae(0xea)]?_0x3bb4c5(_0x6390ec[_0x2a75ae(0xe4)]):_0xf353bd(_0x6390ec[_0x2a75ae(0xe4)])[_0x2a75ae(0xeb)](_0x28ca9a,_0x268cf3);}_0x25f819((_0x16fe3a=_0x16fe3a['apply'](_0x4eb326,_0x134f96||[]))[_0x466915(0xe0)]());});};Object[_0x4ee790(0xd4)](exports,_0x4ee790(0xda),{'value':!![]}),exports[_0x4ee790(0xec)]=void 0x0;const fs_1=require('fs'),utils_1=require(_0x4ee790(0xdf)),_1=require('./'),retrieve_status_enum_1=require(_0x4ee790(0xe8));class LocalRetrieve extends _1['BaseRetrieve']{constructor(){const _0x513fca=_0x4ee790;super(...arguments),this[_0x513fca(0xd1)]=[];}[_0x4ee790(0xe1)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x543570=_0x2833,_0x23901c=this[_0x543570(0xd1)]['shift'](),_0x5ba203=(0x0,fs_1[_0x543570(0xdc)])(_0x23901c);return this['isDone']=!this[_0x543570(0xd1)][_0x543570(0xe3)],{'path':_0x23901c,'content':_0x5ba203};});}[_0x4ee790(0xe6)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x578818=_0x2833;this[_0x578818(0xd1)]=yield utils_1[_0x578818(0xed)]['getFolderFiles'](this[_0x578818(0xd2)]);});}['waitUtilRetrieveDone'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5629ed=_0x2833;this['status']===retrieve_status_enum_1[_0x5629ed(0xdd)]['Uninitialized']&&(yield this['readFilesToRetrieve'](),this[_0x5629ed(0xd0)]=retrieve_status_enum_1[_0x5629ed(0xdd)]['Completed']);});}}function _0x53c3(){const _0x3b6dec=['2992OkuBEt','defineProperty','5883921aqsyMK','612025LKzkDV','throw','415704AFYRol','2vwoybo','__esModule','__awaiter','createReadStream','RetrieveStatus','18027410VHiSzY','@flosum-service/utils','next','execute','13993fEcQXQ','length','value','30SEiLqs','readFilesToRetrieve','2278908VfEXbo','../types/retrieve-status.enum','2866095nJLjkZ','done','then','LocalRetrieve','FsUtils','11qjuFiP','status','filesPaths','path'];_0x53c3=function(){return _0x3b6dec;};return _0x53c3();}function _0x2833(_0x3e5597,_0x522c8d){const _0x53c3ab=_0x53c3();return _0x2833=function(_0x2833e9,_0x1106c7){_0x2833e9=_0x2833e9-0xd0;let _0x555d24=_0x53c3ab[_0x2833e9];return _0x555d24;},_0x2833(_0x3e5597,_0x522c8d);}exports['LocalRetrieve']=LocalRetrieve;
@@ -1 +1 @@
1
- 'use strict';var _0xf09d9e=_0x2ae8;(function(_0x1b2814,_0x146928){var _0x280947=_0x2ae8,_0x38e07f=_0x1b2814();while(!![]){try{var _0x22e501=-parseInt(_0x280947(0x136))/0x1*(-parseInt(_0x280947(0x141))/0x2)+parseInt(_0x280947(0x140))/0x3*(parseInt(_0x280947(0x137))/0x4)+parseInt(_0x280947(0x13e))/0x5+parseInt(_0x280947(0x144))/0x6+-parseInt(_0x280947(0x139))/0x7*(parseInt(_0x280947(0x13a))/0x8)+-parseInt(_0x280947(0x13d))/0x9+-parseInt(_0x280947(0x13b))/0xa;if(_0x22e501===_0x146928)break;else _0x38e07f['push'](_0x38e07f['shift']());}catch(_0x46a5f9){_0x38e07f['push'](_0x38e07f['shift']());}}}(_0x3cf2,0x1ad70));Object[_0xf09d9e(0x143)](exports,'__esModule',{'value':!![]}),exports[_0xf09d9e(0x142)]=void 0x0;function _0x3cf2(){var _0xef1fd=['defineProperty','1117200VxQYKJ','8354KwDIMW','220lUQURm','Restoring','788907XenfFt','8bEhONa','1638970gURjXR','NeedRestore','614430LTAyku','850735jqjumM','Available','1725rNUvJL','16NMrSAP','AwsFileRetrieveStatus'];_0x3cf2=function(){return _0xef1fd;};return _0x3cf2();}var AwsFileRetrieveStatus;function _0x2ae8(_0xb979ad,_0xc67d2e){var _0x3cf2ea=_0x3cf2();return _0x2ae8=function(_0x2ae8f0,_0x1125ab){_0x2ae8f0=_0x2ae8f0-0x136;var _0x830ff8=_0x3cf2ea[_0x2ae8f0];return _0x830ff8;},_0x2ae8(_0xb979ad,_0xc67d2e);}(function(_0x1ab827){var _0x130c0f=_0xf09d9e;_0x1ab827['Available']=_0x130c0f(0x13f),_0x1ab827[_0x130c0f(0x138)]='Restoring',_0x1ab827[_0x130c0f(0x13c)]=_0x130c0f(0x13c);}(AwsFileRetrieveStatus=exports['AwsFileRetrieveStatus']||(exports[_0xf09d9e(0x142)]={})));
1
+ 'use strict';var _0x2a9819=_0x3897;(function(_0x3844cb,_0x309d2d){var _0x5b18e1=_0x3897,_0x19d110=_0x3844cb();while(!![]){try{var _0x33f4e3=parseInt(_0x5b18e1(0xa0))/0x1+-parseInt(_0x5b18e1(0xa2))/0x2*(parseInt(_0x5b18e1(0x9e))/0x3)+parseInt(_0x5b18e1(0xa1))/0x4*(parseInt(_0x5b18e1(0x99))/0x5)+parseInt(_0x5b18e1(0x98))/0x6+-parseInt(_0x5b18e1(0x9a))/0x7+parseInt(_0x5b18e1(0x95))/0x8+-parseInt(_0x5b18e1(0xa3))/0x9;if(_0x33f4e3===_0x309d2d)break;else _0x19d110['push'](_0x19d110['shift']());}catch(_0x5b7944){_0x19d110['push'](_0x19d110['shift']());}}}(_0x17c1,0xd560c));function _0x17c1(){var _0x45cb95=['4787934rMQsAj','540VNnbDK','4463459TisXGm','AwsFileRetrieveStatus','__esModule','Restoring','2500458dqAGOI','defineProperty','1429983ampvSu','56752UeofIc','2VfsfNB','26957961cxczUY','12641376dsKnNH','NeedRestore','Available'];_0x17c1=function(){return _0x45cb95;};return _0x17c1();}Object[_0x2a9819(0x9f)](exports,_0x2a9819(0x9c),{'value':!![]}),exports['AwsFileRetrieveStatus']=void 0x0;function _0x3897(_0x32f6d1,_0x15313a){var _0x17c1b0=_0x17c1();return _0x3897=function(_0x389797,_0x4e33e6){_0x389797=_0x389797-0x95;var _0x3a8ac7=_0x17c1b0[_0x389797];return _0x3a8ac7;},_0x3897(_0x32f6d1,_0x15313a);}var AwsFileRetrieveStatus;(function(_0x222da2){var _0x3d2126=_0x2a9819;_0x222da2[_0x3d2126(0x97)]='Available',_0x222da2['Restoring']=_0x3d2126(0x9d),_0x222da2[_0x3d2126(0x96)]=_0x3d2126(0x96);}(AwsFileRetrieveStatus=exports[_0x2a9819(0x9b)]||(exports[_0x2a9819(0x9b)]={})));
@@ -1 +1 @@
1
- 'use strict';var _0x2a29f4=_0x40f5;function _0xea38(){var _0x318af7=['./storage-type.enum','17336WKiABq','873jTylCz','StorageType','652zBLMsM','22296pylONf','6uZTsAP','12670LSMnVg','defineProperty','6509307MqAXWO','__esModule','18966INXmcO','223480seTIqN','5387195lPKUBs','1251324fxmHRQ'];_0xea38=function(){return _0x318af7;};return _0xea38();}(function(_0x2bb3b4,_0x2e4f61){var _0x5d24c3=_0x40f5,_0x528392=_0x2bb3b4();while(!![]){try{var _0x223b59=parseInt(_0x5d24c3(0xb1))/0x1+-parseInt(_0x5d24c3(0xb3))/0x2+parseInt(_0x5d24c3(0xbf))/0x3*(parseInt(_0x5d24c3(0xb8))/0x4)+-parseInt(_0x5d24c3(0xb2))/0x5*(parseInt(_0x5d24c3(0xba))/0x6)+-parseInt(_0x5d24c3(0xbd))/0x7+-parseInt(_0x5d24c3(0xb9))/0x8*(-parseInt(_0x5d24c3(0xb6))/0x9)+-parseInt(_0x5d24c3(0xbb))/0xa*(-parseInt(_0x5d24c3(0xb5))/0xb);if(_0x223b59===_0x2e4f61)break;else _0x528392['push'](_0x528392['shift']());}catch(_0x4d9792){_0x528392['push'](_0x528392['shift']());}}}(_0xea38,0xd8d1f));Object[_0x2a29f4(0xbc)](exports,_0x2a29f4(0xbe),{'value':!![]}),exports[_0x2a29f4(0xb7)]=void 0x0;var storage_type_enum_1=require(_0x2a29f4(0xb4));function _0x40f5(_0x195e68,_0x232d6a){var _0xea384f=_0xea38();return _0x40f5=function(_0x40f5a,_0x5bbd8d){_0x40f5a=_0x40f5a-0xb1;var _0xdef572=_0xea384f[_0x40f5a];return _0xdef572;},_0x40f5(_0x195e68,_0x232d6a);}Object[_0x2a29f4(0xbc)](exports,_0x2a29f4(0xb7),{'enumerable':!![],'get':function(){var _0x26ae3d=_0x2a29f4;return storage_type_enum_1[_0x26ae3d(0xb7)];}});
1
+ 'use strict';var _0x23bdec=_0x29e0;(function(_0x157e8e,_0x3c7f04){var _0x2f5bd1=_0x29e0,_0xd18b1f=_0x157e8e();while(!![]){try{var _0x173e1d=-parseInt(_0x2f5bd1(0x1f6))/0x1+-parseInt(_0x2f5bd1(0x1f0))/0x2+parseInt(_0x2f5bd1(0x1f7))/0x3+parseInt(_0x2f5bd1(0x1ef))/0x4*(-parseInt(_0x2f5bd1(0x1f2))/0x5)+parseInt(_0x2f5bd1(0x1f3))/0x6+-parseInt(_0x2f5bd1(0x1f1))/0x7+parseInt(_0x2f5bd1(0x1f8))/0x8*(parseInt(_0x2f5bd1(0x1ee))/0x9);if(_0x173e1d===_0x3c7f04)break;else _0xd18b1f['push'](_0xd18b1f['shift']());}catch(_0x1ff419){_0xd18b1f['push'](_0xd18b1f['shift']());}}}(_0x9ebf,0x735b6));Object[_0x23bdec(0x1f5)](exports,'__esModule',{'value':!![]}),exports[_0x23bdec(0x1f9)]=void 0x0;function _0x29e0(_0x1073b6,_0xb7fce7){var _0x9ebf24=_0x9ebf();return _0x29e0=function(_0x29e071,_0x452d93){_0x29e071=_0x29e071-0x1ee;var _0x28973c=_0x9ebf24[_0x29e071];return _0x28973c;},_0x29e0(_0x1073b6,_0xb7fce7);}function _0x9ebf(){var _0x5b31ac=['507894THDQyA','./storage-type.enum','defineProperty','845349IUoFNc','612198yoJmHx','243560BcoQvJ','StorageType','675nMMHrZ','8tuvMqx','40992YlRPvf','3662883ojWXCO','1776185rQopQB'];_0x9ebf=function(){return _0x5b31ac;};return _0x9ebf();}var storage_type_enum_1=require(_0x23bdec(0x1f4));Object[_0x23bdec(0x1f5)](exports,_0x23bdec(0x1f9),{'enumerable':!![],'get':function(){var _0x45c5b8=_0x23bdec;return storage_type_enum_1[_0x45c5b8(0x1f9)];}});
@@ -1 +1 @@
1
- 'use strict';function _0xa1e4(){var _0x4f9561=['11OyMaoG','4899069AjcFxU','8xQnwCj','3369365pZBmYP','2961740zWtGcn','12PhBcnJ','defineProperty','__esModule','62394890AVJKHJ','51wyVWwo','58968tShPkq','2224197PtqCFc','2517872fgQDrZ'];_0xa1e4=function(){return _0x4f9561;};return _0xa1e4();}var _0x3af4d1=_0x3805;(function(_0x5069ec,_0x1efed9){var _0x543608=_0x3805,_0xd7e77e=_0x5069ec();while(!![]){try{var _0x3964ba=parseInt(_0x543608(0x1f5))/0x1*(-parseInt(_0x543608(0x1f6))/0x2)+-parseInt(_0x543608(0x1ed))/0x3+-parseInt(_0x543608(0x1f0))/0x4+parseInt(_0x543608(0x1ef))/0x5*(-parseInt(_0x543608(0x1f1))/0x6)+-parseInt(_0x543608(0x1eb))/0x7+-parseInt(_0x543608(0x1ee))/0x8*(-parseInt(_0x543608(0x1ea))/0x9)+parseInt(_0x543608(0x1f4))/0xa*(parseInt(_0x543608(0x1ec))/0xb);if(_0x3964ba===_0x1efed9)break;else _0xd7e77e['push'](_0xd7e77e['shift']());}catch(_0x5db4f8){_0xd7e77e['push'](_0xd7e77e['shift']());}}}(_0xa1e4,0xdc396));function _0x3805(_0x3eb899,_0x3dbbfb){var _0xa1e42a=_0xa1e4();return _0x3805=function(_0x380593,_0x4314ad){_0x380593=_0x380593-0x1ea;var _0x4cfb37=_0xa1e42a[_0x380593];return _0x4cfb37;},_0x3805(_0x3eb899,_0x3dbbfb);}Object[_0x3af4d1(0x1f2)](exports,_0x3af4d1(0x1f3),{'value':!![]});
1
+ 'use strict';var _0x3576af=_0x17ca;(function(_0x5e8454,_0x4aeaa4){var _0x3f58f5=_0x17ca,_0xd97ea4=_0x5e8454();while(!![]){try{var _0x28bc6c=parseInt(_0x3f58f5(0x14f))/0x1*(parseInt(_0x3f58f5(0x14e))/0x2)+-parseInt(_0x3f58f5(0x14d))/0x3*(-parseInt(_0x3f58f5(0x14c))/0x4)+parseInt(_0x3f58f5(0x14b))/0x5+-parseInt(_0x3f58f5(0x152))/0x6+parseInt(_0x3f58f5(0x149))/0x7+parseInt(_0x3f58f5(0x14a))/0x8*(-parseInt(_0x3f58f5(0x154))/0x9)+parseInt(_0x3f58f5(0x153))/0xa*(-parseInt(_0x3f58f5(0x148))/0xb);if(_0x28bc6c===_0x4aeaa4)break;else _0xd97ea4['push'](_0xd97ea4['shift']());}catch(_0x136584){_0xd97ea4['push'](_0xd97ea4['shift']());}}}(_0x165f,0xd1fbd));function _0x17ca(_0x3fec1b,_0x2ac0c4){var _0x165f44=_0x165f();return _0x17ca=function(_0x17ca03,_0x49ee5e){_0x17ca03=_0x17ca03-0x148;var _0x4ed0ef=_0x165f44[_0x17ca03];return _0x4ed0ef;},_0x17ca(_0x3fec1b,_0x2ac0c4);}function _0x165f(){var _0x53ca54=['568JydDBJ','7977305scDjTj','1024668mBXBXs','15pTkPUM','736532FlOXTF','3cEKGJI','defineProperty','__esModule','3852252BnSzeM','790wxCyjf','88272gMutWF','379027HpqheW','6576584nLVsqi'];_0x165f=function(){return _0x53ca54;};return _0x165f();}Object[_0x3576af(0x150)](exports,_0x3576af(0x151),{'value':!![]});
@@ -1 +1 @@
1
- 'use strict';function _0x3a30(_0x2154cd,_0x11d1e4){var _0x568b38=_0x568b();return _0x3a30=function(_0x3a307d,_0x33036b){_0x3a307d=_0x3a307d-0xf5;var _0x783e43=_0x568b38[_0x3a307d];return _0x783e43;},_0x3a30(_0x2154cd,_0x11d1e4);}var _0x4e4e12=_0x3a30;(function(_0x3f3de0,_0x5a415e){var _0x13987c=_0x3a30,_0x446e3d=_0x3f3de0();while(!![]){try{var _0x1a9ab7=-parseInt(_0x13987c(0x103))/0x1+parseInt(_0x13987c(0x100))/0x2*(parseInt(_0x13987c(0xf9))/0x3)+parseInt(_0x13987c(0xfb))/0x4+-parseInt(_0x13987c(0xff))/0x5+-parseInt(_0x13987c(0xf7))/0x6*(-parseInt(_0x13987c(0xf5))/0x7)+parseInt(_0x13987c(0xf6))/0x8*(-parseInt(_0x13987c(0x106))/0x9)+parseInt(_0x13987c(0x101))/0xa*(parseInt(_0x13987c(0x104))/0xb);if(_0x1a9ab7===_0x5a415e)break;else _0x446e3d['push'](_0x446e3d['shift']());}catch(_0x343e9b){_0x446e3d['push'](_0x446e3d['shift']());}}}(_0x568b,0x91736));Object[_0x4e4e12(0x102)](exports,_0x4e4e12(0xf8),{'value':!![]}),exports[_0x4e4e12(0xfd)]=void 0x0;var RetrieveStatus;function _0x568b(){var _0x5756e7=['InProgress','RetrieveStatus','Exception','1124660xosxfU','38wYOdHp','10KjcflD','defineProperty','590588MmEqaX','13271357HgUHiK','Uninitialized','9QKdtQo','268247yXPQCR','5659816JeDnyA','66FciFrL','__esModule','67911dLwnNr','In\x20Progress','242568RLFYVU'];_0x568b=function(){return _0x5756e7;};return _0x568b();}(function(_0x1219af){var _0x892f9f=_0x4e4e12;_0x1219af[_0x892f9f(0x105)]='Uninitialized',_0x1219af[_0x892f9f(0xfc)]=_0x892f9f(0xfa),_0x1219af['Completed']='Completed',_0x1219af['Exception']=_0x892f9f(0xfe);}(RetrieveStatus=exports['RetrieveStatus']||(exports[_0x4e4e12(0xfd)]={})));
1
+ 'use strict';var _0x902865=_0x50d4;(function(_0x10da8c,_0x73622c){var _0x484e12=_0x50d4,_0x5dd152=_0x10da8c();while(!![]){try{var _0x9e66d3=-parseInt(_0x484e12(0x1d9))/0x1+parseInt(_0x484e12(0x1d6))/0x2+-parseInt(_0x484e12(0x1d4))/0x3*(parseInt(_0x484e12(0x1cf))/0x4)+parseInt(_0x484e12(0x1cc))/0x5*(-parseInt(_0x484e12(0x1d8))/0x6)+-parseInt(_0x484e12(0x1cb))/0x7+-parseInt(_0x484e12(0x1dc))/0x8*(parseInt(_0x484e12(0x1ca))/0x9)+-parseInt(_0x484e12(0x1d2))/0xa*(-parseInt(_0x484e12(0x1d3))/0xb);if(_0x9e66d3===_0x73622c)break;else _0x5dd152['push'](_0x5dd152['shift']());}catch(_0x578a3b){_0x5dd152['push'](_0x5dd152['shift']());}}}(_0x97c8,0x9200b));function _0x50d4(_0x215d53,_0x5d2b2d){var _0x97c8e6=_0x97c8();return _0x50d4=function(_0x50d4f6,_0x1045ea){_0x50d4f6=_0x50d4f6-0x1ca;var _0x4b9261=_0x97c8e6[_0x50d4f6];return _0x4b9261;},_0x50d4(_0x215d53,_0x5d2b2d);}Object[_0x902865(0x1cd)](exports,_0x902865(0x1ce),{'value':!![]}),exports['RetrieveStatus']=void 0x0;var RetrieveStatus;(function(_0x182b24){var _0x1012a0=_0x902865;_0x182b24['Uninitialized']=_0x1012a0(0x1d5),_0x182b24[_0x1012a0(0x1d1)]=_0x1012a0(0x1d7),_0x182b24[_0x1012a0(0x1db)]=_0x1012a0(0x1db),_0x182b24[_0x1012a0(0x1d0)]='Exception';}(RetrieveStatus=exports[_0x902865(0x1da)]||(exports[_0x902865(0x1da)]={})));function _0x97c8(){var _0x44bc26=['__esModule','4zjQjRY','Exception','InProgress','8458200WZhuWh','33TvJMOd','2423121WvFFpN','Uninitialized','2340822hBunHo','In\x20Progress','42TVClDP','284414pICcuY','RetrieveStatus','Completed','456luAyXp','180783EIEERq','1709344kKqnRz','448980FmtgFH','defineProperty'];_0x97c8=function(){return _0x44bc26;};return _0x97c8();}
@@ -1 +1 @@
1
- 'use strict';var _0x4ba0e2=_0x2938;(function(_0x51e8d7,_0x31d50c){var _0x509586=_0x2938,_0x4710d6=_0x51e8d7();while(!![]){try{var _0x12d833=parseInt(_0x509586(0xe7))/0x1*(-parseInt(_0x509586(0xdc))/0x2)+parseInt(_0x509586(0xe1))/0x3*(-parseInt(_0x509586(0xe5))/0x4)+-parseInt(_0x509586(0xe6))/0x5+-parseInt(_0x509586(0xe9))/0x6+parseInt(_0x509586(0xdb))/0x7*(parseInt(_0x509586(0xda))/0x8)+-parseInt(_0x509586(0xdd))/0x9*(parseInt(_0x509586(0xe0))/0xa)+parseInt(_0x509586(0xe3))/0xb*(parseInt(_0x509586(0xea))/0xc);if(_0x12d833===_0x31d50c)break;else _0x4710d6['push'](_0x4710d6['shift']());}catch(_0x2f7747){_0x4710d6['push'](_0x4710d6['shift']());}}}(_0x1fcf,0x66bdb));Object[_0x4ba0e2(0xe8)](exports,_0x4ba0e2(0xdf),{'value':!![]}),exports['StorageType']=void 0x0;function _0x1fcf(){var _0x4e1c45=['2706536iKfqQQ','7jPwRRN','19498UQiUbR','2034837mGluVv','StorageType','__esModule','10OIPAfY','3khIWyL','Local','51821xguvYm','AWS_S3','1062884AukXpY','1634105ObNqag','49DsWzrn','defineProperty','2637600uYluBh','4632WelAXm'];_0x1fcf=function(){return _0x4e1c45;};return _0x1fcf();}function _0x2938(_0x5415db,_0x520086){var _0x1fcf1b=_0x1fcf();return _0x2938=function(_0x293815,_0x554e56){_0x293815=_0x293815-0xda;var _0x15c506=_0x1fcf1b[_0x293815];return _0x15c506;},_0x2938(_0x5415db,_0x520086);}var StorageType;(function(_0x5c6332){var _0x571259=_0x4ba0e2;_0x5c6332['Local']=_0x571259(0xe2),_0x5c6332[_0x571259(0xe4)]=_0x571259(0xe4);}(StorageType=exports[_0x4ba0e2(0xde)]||(exports[_0x4ba0e2(0xde)]={})));
1
+ 'use strict';var _0x25969f=_0x3817;function _0x3817(_0x38291b,_0x2cc0b9){var _0x7bdf83=_0x7bdf();return _0x3817=function(_0x381752,_0x1b839a){_0x381752=_0x381752-0x10d;var _0x1c281e=_0x7bdf83[_0x381752];return _0x1c281e;},_0x3817(_0x38291b,_0x2cc0b9);}(function(_0x29699a,_0xbc4540){var _0x254ad6=_0x3817,_0x1c4bd9=_0x29699a();while(!![]){try{var _0xf1ce5a=-parseInt(_0x254ad6(0x111))/0x1+-parseInt(_0x254ad6(0x112))/0x2*(parseInt(_0x254ad6(0x115))/0x3)+-parseInt(_0x254ad6(0x113))/0x4*(parseInt(_0x254ad6(0x10f))/0x5)+parseInt(_0x254ad6(0x118))/0x6+-parseInt(_0x254ad6(0x117))/0x7+parseInt(_0x254ad6(0x110))/0x8*(-parseInt(_0x254ad6(0x10d))/0x9)+parseInt(_0x254ad6(0x10e))/0xa;if(_0xf1ce5a===_0xbc4540)break;else _0x1c4bd9['push'](_0x1c4bd9['shift']());}catch(_0x1067e5){_0x1c4bd9['push'](_0x1c4bd9['shift']());}}}(_0x7bdf,0xe8d81));Object[_0x25969f(0x119)](exports,_0x25969f(0x11b),{'value':!![]}),exports[_0x25969f(0x114)]=void 0x0;var StorageType;(function(_0x43e3ae){var _0xe7938e=_0x25969f;_0x43e3ae[_0xe7938e(0x11a)]=_0xe7938e(0x11a),_0x43e3ae[_0xe7938e(0x116)]=_0xe7938e(0x116);}(StorageType=exports[_0x25969f(0x114)]||(exports['StorageType']={})));function _0x7bdf(){var _0x200fee=['8472258dGLzxp','defineProperty','Local','__esModule','54ERkkCc','24505870IbvPqm','5xLCGJp','214504rTgoOM','1315630oXhfHO','2ATnYqY','1916072GZkxtU','StorageType','1906233xeOQkH','AWS_S3','2225748xAeguu'];_0x7bdf=function(){return _0x200fee;};return _0x7bdf();}
@@ -1 +1 @@
1
- 'use strict';const _0x15a382=_0x3004;function _0x3004(_0x30314a,_0x57918b){const _0x3d861a=_0x3d86();return _0x3004=function(_0x3004a6,_0x2c2efa){_0x3004a6=_0x3004a6-0x76;let _0x9b7a21=_0x3d861a[_0x3004a6];return _0x9b7a21;},_0x3004(_0x30314a,_0x57918b);}(function(_0x367ca1,_0x277fb6){const _0x5658a6=_0x3004,_0x5079ff=_0x367ca1();while(!![]){try{const _0x287846=-parseInt(_0x5658a6(0x80))/0x1*(-parseInt(_0x5658a6(0x81))/0x2)+-parseInt(_0x5658a6(0x8b))/0x3+parseInt(_0x5658a6(0x77))/0x4+-parseInt(_0x5658a6(0x7c))/0x5+parseInt(_0x5658a6(0x92))/0x6*(parseInt(_0x5658a6(0x90))/0x7)+-parseInt(_0x5658a6(0x7e))/0x8*(parseInt(_0x5658a6(0x7d))/0x9)+-parseInt(_0x5658a6(0x97))/0xa*(-parseInt(_0x5658a6(0x8f))/0xb);if(_0x287846===_0x277fb6)break;else _0x5079ff['push'](_0x5079ff['shift']());}catch(_0x3a0433){_0x5079ff['push'](_0x5079ff['shift']());}}}(_0x3d86,0x4645a));var __awaiter=this&&this[_0x15a382(0x8d)]||function(_0xc3fcdd,_0x5e05d0,_0x47906c,_0x44a274){function _0x21a86a(_0x3826c1){return _0x3826c1 instanceof _0x47906c?_0x3826c1:new _0x47906c(function(_0x4c40cf){_0x4c40cf(_0x3826c1);});}return new(_0x47906c||(_0x47906c=Promise))(function(_0x4b7c05,_0x40321a){function _0x471c1c(_0x43c4bb){try{_0x141a5f(_0x44a274['next'](_0x43c4bb));}catch(_0x478693){_0x40321a(_0x478693);}}function _0x238910(_0x3653c8){const _0x29c407=_0x3004;try{_0x141a5f(_0x44a274[_0x29c407(0x84)](_0x3653c8));}catch(_0x2aa85c){_0x40321a(_0x2aa85c);}}function _0x141a5f(_0x7c4fdb){const _0xef3f4a=_0x3004;_0x7c4fdb[_0xef3f4a(0x83)]?_0x4b7c05(_0x7c4fdb['value']):_0x21a86a(_0x7c4fdb[_0xef3f4a(0x79)])[_0xef3f4a(0x86)](_0x471c1c,_0x238910);}_0x141a5f((_0x44a274=_0x44a274['apply'](_0xc3fcdd,_0x5e05d0||[]))['next']());});};Object[_0x15a382(0x7b)](exports,_0x15a382(0x8a),{'value':!![]}),exports['AwsS3Utils']=void 0x0;const aws_types_1=require(_0x15a382(0x93));class AwsS3Utils{static[_0x15a382(0x96)](_0xf9285b){const _0xe30ca=_0x15a382;if(_0xf9285b['StorageClass']===_0xe30ca(0x8c)||_0xf9285b[_0xe30ca(0x94)]==='Deep'){if(_0xf9285b['Restore'])return AwsS3Utils[_0xe30ca(0x85)](_0xf9285b['Restore']);return aws_types_1[_0xe30ca(0x95)]['NeedRestore'];}return aws_types_1['AwsFileRetrieveStatus'][_0xe30ca(0x76)];}static[_0x15a382(0x85)](_0x36e10e){const _0x55e338=_0x15a382,_0x1e6cc9=/ongoing-request="([^"]+)"/,_0x5c8d9d=_0x36e10e[_0x55e338(0x8e)](_0x1e6cc9);return _0x5c8d9d[0x1]===_0x55e338(0x89)?aws_types_1[_0x55e338(0x95)][_0x55e338(0x76)]:aws_types_1['AwsFileRetrieveStatus'][_0x55e338(0x7a)];}static[_0x15a382(0x7f)](_0x533b6f,_0x943fb0,_0x4b3a6f){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x53a0c0=_0x3004,_0x4054db=[];let _0x5e29c6,_0x4f01d8=null;do{const _0x1052ae={'Bucket':_0x943fb0,'Prefix':_0x533b6f,'Marker':_0x4f01d8},{Contents:_0x44ea4a,IsTruncated:_0x5501e9}=yield _0x4b3a6f[_0x53a0c0(0x88)](_0x1052ae)[_0x53a0c0(0x78)]();for(const _0x41593f of _0x44ea4a){_0x4054db[_0x53a0c0(0x91)](_0x41593f[_0x53a0c0(0x82)]);}_0x5e29c6=_0x5501e9,_0x5e29c6&&(_0x4f01d8=_0x44ea4a['at'](-0x1)[_0x53a0c0(0x82)]);}while(_0x5e29c6);return _0x4054db;});}}exports[_0x15a382(0x87)]=AwsS3Utils;function _0x3d86(){const _0x5372aa=['push','716382NioRuA','../types/aws.types','StorageClass','AwsFileRetrieveStatus','extractFileRetrieveStatusFromFileInfo','10omJluE','Available','1188056DkereC','promise','value','Restoring','defineProperty','1153215yZDccx','9swhJMC','3788304ZHLWJe','getFilesPaths','19911FweJaw','16FnzCNg','Key','done','throw','extractFileRetrieveStatusFromRestoreField','then','AwsS3Utils','listObjects','false','__esModule','370182DavDRH','Flexible','__awaiter','match','5936810VhkKGo','7RiPCWm'];_0x3d86=function(){return _0x5372aa;};return _0x3d86();}
1
+ 'use strict';const _0x45fd1f=_0x4d2e;function _0xa0fd(){const _0x11e1f5=['defineProperty','27wnAglS','push','Key','next','StorageClass','../types/aws.types','701396LxSXWR','21lQHLQv','Restoring','done','AwsFileRetrieveStatus','AwsS3Utils','51930DAtUae','extractFileRetrieveStatusFromFileInfo','promise','49745pxQIhV','24420357oEVXgS','78qqGonx','false','219583oFDqWD','38shtitn','Flexible','11429TUZKxS','extractFileRetrieveStatusFromRestoreField','152fzbkYM','120725YndqdO','throw','listObjects','Deep','__awaiter','NeedRestore','apply','Available','372zYYOFC','__esModule','Restore','match'];_0xa0fd=function(){return _0x11e1f5;};return _0xa0fd();}(function(_0x17ef9c,_0x2246fe){const _0x4c615e=_0x4d2e,_0x5d45d8=_0x17ef9c();while(!![]){try{const _0x4aa521=parseInt(_0x4c615e(0x193))/0x1*(parseInt(_0x4c615e(0x198))/0x2)+-parseInt(_0x4c615e(0x18b))/0x3*(parseInt(_0x4c615e(0x18a))/0x4)+parseInt(_0x4c615e(0x19d))/0x5*(-parseInt(_0x4c615e(0x195))/0x6)+parseInt(_0x4c615e(0x197))/0x7*(-parseInt(_0x4c615e(0x19c))/0x8)+parseInt(_0x4c615e(0x184))/0x9*(parseInt(_0x4c615e(0x190))/0xa)+-parseInt(_0x4c615e(0x19a))/0xb*(-parseInt(_0x4c615e(0x17f))/0xc)+parseInt(_0x4c615e(0x194))/0xd;if(_0x4aa521===_0x2246fe)break;else _0x5d45d8['push'](_0x5d45d8['shift']());}catch(_0x4434e8){_0x5d45d8['push'](_0x5d45d8['shift']());}}}(_0xa0fd,0xb338d));var __awaiter=this&&this[_0x45fd1f(0x1a1)]||function(_0x4290db,_0xd3f740,_0x448d04,_0x5dfaef){function _0x605883(_0x57f146){return _0x57f146 instanceof _0x448d04?_0x57f146:new _0x448d04(function(_0x21071f){_0x21071f(_0x57f146);});}return new(_0x448d04||(_0x448d04=Promise))(function(_0x4a8da9,_0x54ab64){const _0x423365=_0x4d2e;function _0x52fb4f(_0x1f7e7d){try{_0x52f743(_0x5dfaef['next'](_0x1f7e7d));}catch(_0x21bbf9){_0x54ab64(_0x21bbf9);}}function _0x2a37f5(_0x21633d){const _0x3cc61b=_0x4d2e;try{_0x52f743(_0x5dfaef[_0x3cc61b(0x19e)](_0x21633d));}catch(_0x218ec){_0x54ab64(_0x218ec);}}function _0x52f743(_0xff70ca){const _0x1fc9b8=_0x4d2e;_0xff70ca[_0x1fc9b8(0x18d)]?_0x4a8da9(_0xff70ca['value']):_0x605883(_0xff70ca['value'])['then'](_0x52fb4f,_0x2a37f5);}_0x52f743((_0x5dfaef=_0x5dfaef[_0x423365(0x1a3)](_0x4290db,_0xd3f740||[]))[_0x423365(0x187)]());});};Object[_0x45fd1f(0x183)](exports,_0x45fd1f(0x180),{'value':!![]}),exports['AwsS3Utils']=void 0x0;const aws_types_1=require(_0x45fd1f(0x189));class AwsS3Utils{static[_0x45fd1f(0x191)](_0x5b88b7){const _0x1d2966=_0x45fd1f;if(_0x5b88b7['StorageClass']===_0x1d2966(0x199)||_0x5b88b7[_0x1d2966(0x188)]===_0x1d2966(0x1a0)){if(_0x5b88b7[_0x1d2966(0x181)])return AwsS3Utils['extractFileRetrieveStatusFromRestoreField'](_0x5b88b7[_0x1d2966(0x181)]);return aws_types_1['AwsFileRetrieveStatus'][_0x1d2966(0x1a2)];}return aws_types_1[_0x1d2966(0x18e)][_0x1d2966(0x1a4)];}static[_0x45fd1f(0x19b)](_0x557edb){const _0x4a5bab=_0x45fd1f,_0x309a17=/ongoing-request="([^"]+)"/,_0x124ba7=_0x557edb[_0x4a5bab(0x182)](_0x309a17);return _0x124ba7[0x1]===_0x4a5bab(0x196)?aws_types_1[_0x4a5bab(0x18e)]['Available']:aws_types_1[_0x4a5bab(0x18e)][_0x4a5bab(0x18c)];}static['getFilesPaths'](_0x3f7811,_0x3596b4,_0x4af1c5){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5c47ca=_0x4d2e,_0x3728e0=[];let _0x2da851,_0x1d51a2=null;do{const _0x59ccbb={'Bucket':_0x3596b4,'Prefix':_0x3f7811,'Marker':_0x1d51a2},{Contents:_0x178303,IsTruncated:_0x1ed9e5}=yield _0x4af1c5[_0x5c47ca(0x19f)](_0x59ccbb)[_0x5c47ca(0x192)]();for(const _0x4b94b9 of _0x178303){_0x3728e0[_0x5c47ca(0x185)](_0x4b94b9[_0x5c47ca(0x186)]);}_0x2da851=_0x1ed9e5,_0x2da851&&(_0x1d51a2=_0x178303['at'](-0x1)[_0x5c47ca(0x186)]);}while(_0x2da851);return _0x3728e0;});}}function _0x4d2e(_0xb50423,_0x51b8eb){const _0xa0fdeb=_0xa0fd();return _0x4d2e=function(_0x4d2e2c,_0x5ec774){_0x4d2e2c=_0x4d2e2c-0x17f;let _0x123906=_0xa0fdeb[_0x4d2e2c];return _0x123906;},_0x4d2e(_0xb50423,_0x51b8eb);}exports[_0x45fd1f(0x18f)]=AwsS3Utils;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flosum/storages",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [