@flosum/storages 1.3.3-beta.2 → 1.3.3-beta.4

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.
Files changed (55) hide show
  1. package/README.md +25 -0
  2. package/dist/copy/aws-s3-copy.d.ts +7 -0
  3. package/dist/copy/aws-s3-copy.js +1 -0
  4. package/dist/copy/base-copy.d.ts +6 -0
  5. package/dist/copy/base-copy.js +1 -0
  6. package/dist/copy/index.d.ts +3 -0
  7. package/dist/copy/index.js +1 -0
  8. package/dist/copy/local-copy.d.ts +5 -0
  9. package/dist/copy/local-copy.js +1 -0
  10. package/dist/credentials/aws-s3-credentials.js +1 -1
  11. package/dist/credentials/azure-credentials.js +1 -1
  12. package/dist/credentials/base-credentials.js +1 -1
  13. package/dist/credentials/index.js +1 -1
  14. package/dist/credentials/local-credentials.js +1 -1
  15. package/dist/delete/aws-s3-delete.js +1 -1
  16. package/dist/delete/azure-delete.js +1 -1
  17. package/dist/delete/base-delete.js +1 -1
  18. package/dist/delete/index.js +1 -1
  19. package/dist/delete/local-delete.js +1 -1
  20. package/dist/deploy/aws-s3-deploy.js +1 -1
  21. package/dist/deploy/azure-deploy.js +1 -1
  22. package/dist/deploy/base-deploy.js +1 -1
  23. package/dist/deploy/index.js +1 -1
  24. package/dist/deploy/local-deploy.js +1 -1
  25. package/dist/factory.d.ts +2 -0
  26. package/dist/factory.js +1 -1
  27. package/dist/file-size-retriever/aws-s3-file-size-retriever.js +1 -1
  28. package/dist/file-size-retriever/azure-file-size-retriever.js +1 -1
  29. package/dist/file-size-retriever/base-file-size-retriever.js +1 -1
  30. package/dist/file-size-retriever/index.js +1 -1
  31. package/dist/file-size-retriever/local-size-retriever.js +1 -1
  32. package/dist/index.d.ts +1 -0
  33. package/dist/index.js +1 -1
  34. package/dist/init.js +1 -1
  35. package/dist/retrieve/aws-s3-import-helper.js +1 -1
  36. package/dist/retrieve/aws-s3-retrieve.js +1 -1
  37. package/dist/retrieve/azure-retrieve.js +1 -1
  38. package/dist/retrieve/base-retrieve.js +1 -1
  39. package/dist/retrieve/helpers/aws-s3-helper.d.ts +2 -9
  40. package/dist/retrieve/helpers/aws-s3-helper.js +1 -1
  41. package/dist/retrieve/helpers/azure-helper.js +1 -1
  42. package/dist/retrieve/helpers/base-helper.js +1 -1
  43. package/dist/retrieve/helpers/local-helper.js +1 -1
  44. package/dist/retrieve/index.js +1 -1
  45. package/dist/retrieve/local-retrieve.js +1 -1
  46. package/dist/types/aws.types.js +1 -1
  47. package/dist/types/azure.types.js +1 -1
  48. package/dist/types/index.js +1 -1
  49. package/dist/types/internal.types.js +1 -1
  50. package/dist/types/retrieve-status.enum.js +1 -1
  51. package/dist/types/storage-type.enum.js +1 -1
  52. package/dist/utils/aws-s3.utils.js +1 -1
  53. package/dist/utils/azure.utils.js +1 -1
  54. package/dist/utils/cache.utils.js +1 -1
  55. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # Flosum Storages
2
+
3
+ ## AWS IAM Policy Example for S3
4
+
5
+ ```json
6
+ {
7
+ "Version": "2012-10-17",
8
+ "Statement": [
9
+ {
10
+ "Effect": "Allow",
11
+ "Action": [
12
+ "s3:ListBucket",
13
+ "s3:GetObject",
14
+ "s3:HeadObject",
15
+ "s3:RestoreObject",
16
+ "s3:DeleteObject",
17
+ "s3:HeadBucket"
18
+ ],
19
+ "Resource": [
20
+ "arn:aws:s3:::your-bucket-name",
21
+ "arn:aws:s3:::your-bucket-name/*"
22
+ ]
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,7 @@
1
+ import { AwsS3Credentials } from '../credentials';
2
+ import { BaseCopy } from './base-copy';
3
+ export declare class AwsS3Copy extends BaseCopy<AwsS3Credentials> {
4
+ private readonly s3Client;
5
+ constructor(credentials: AwsS3Credentials);
6
+ execute(sourcePath: string, destinationPath: string): Promise<void>;
7
+ }
@@ -0,0 +1 @@
1
+ 'use strict';function _0x4775(_0x50bf14,_0x4e4afc){const _0x3dfb43=_0x3dfb();return _0x4775=function(_0x477579,_0x42040b){_0x477579=_0x477579-0x1bd;let _0x4d5b34=_0x3dfb43[_0x477579];return _0x4d5b34;},_0x4775(_0x50bf14,_0x4e4afc);}const _0x54648d=_0x4775;(function(_0x14007e,_0x4a4f81){const _0x3268ae=_0x4775,_0x3f08d3=_0x14007e();while(!![]){try{const _0x3267a4=parseInt(_0x3268ae(0x1d8))/0x1+-parseInt(_0x3268ae(0x1cb))/0x2*(-parseInt(_0x3268ae(0x1d0))/0x3)+parseInt(_0x3268ae(0x1cd))/0x4*(-parseInt(_0x3268ae(0x1c0))/0x5)+-parseInt(_0x3268ae(0x1ca))/0x6+parseInt(_0x3268ae(0x1d5))/0x7+-parseInt(_0x3268ae(0x1c6))/0x8+-parseInt(_0x3268ae(0x1d6))/0x9*(-parseInt(_0x3268ae(0x1c5))/0xa);if(_0x3267a4===_0x4a4f81)break;else _0x3f08d3['push'](_0x3f08d3['shift']());}catch(_0x2dc33e){_0x3f08d3['push'](_0x3f08d3['shift']());}}}(_0x3dfb,0x6e772));function _0x3dfb(){const _0x4b12e7=['12Pphzkv','apply','s3Client','10662HjRlqQ','CopyObjectCommand','bucketName','BaseCopy','credentials','2796381dTNmAU','5024691KqCCdO','defineProperty','859871ccStnS','done','AwsS3Utils','execute','next','541455oHxiVm','../utils/aws-s3.utils','value','./base-copy','then','10PIJmDS','5474880MSjgHX','@aws-sdk/client-s3','send','AwsS3Copy','4012236XYescW','176ijNfOL','createS3Client'];_0x3dfb=function(){return _0x4b12e7;};return _0x3dfb();}var __awaiter=this&&this['__awaiter']||function(_0x2cf02b,_0x14e43c,_0x1d0a7a,_0x4e5e1c){function _0x19193d(_0x4d4560){return _0x4d4560 instanceof _0x1d0a7a?_0x4d4560:new _0x1d0a7a(function(_0x5b517e){_0x5b517e(_0x4d4560);});}return new(_0x1d0a7a||(_0x1d0a7a=Promise))(function(_0x27acde,_0x321d89){const _0x49e150=_0x4775;function _0x2bed27(_0x417e83){const _0x281f3c=_0x4775;try{_0x550daf(_0x4e5e1c[_0x281f3c(0x1bf)](_0x417e83));}catch(_0xa619ee){_0x321d89(_0xa619ee);}}function _0x1fa4f4(_0x22764b){try{_0x550daf(_0x4e5e1c['throw'](_0x22764b));}catch(_0x6c1209){_0x321d89(_0x6c1209);}}function _0x550daf(_0x43a90c){const _0xf1e767=_0x4775;_0x43a90c[_0xf1e767(0x1d9)]?_0x27acde(_0x43a90c['value']):_0x19193d(_0x43a90c[_0xf1e767(0x1c2)])[_0xf1e767(0x1c4)](_0x2bed27,_0x1fa4f4);}_0x550daf((_0x4e5e1c=_0x4e5e1c[_0x49e150(0x1ce)](_0x2cf02b,_0x14e43c||[]))['next']());});};Object[_0x54648d(0x1d7)](exports,'__esModule',{'value':!![]}),exports[_0x54648d(0x1c9)]=void 0x0;const base_copy_1=require(_0x54648d(0x1c3)),client_s3_1=require(_0x54648d(0x1c7)),aws_s3_utils_1=require(_0x54648d(0x1c1));class AwsS3Copy extends base_copy_1[_0x54648d(0x1d3)]{constructor(_0x1f2f42){const _0x18ca4e=_0x54648d;super(_0x1f2f42),this[_0x18ca4e(0x1cf)]=aws_s3_utils_1[_0x18ca4e(0x1bd)][_0x18ca4e(0x1cc)](_0x1f2f42);}[_0x54648d(0x1be)](_0xde6430,_0xe9c368){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1eced4=_0x4775,_0x575dc8=new client_s3_1[(_0x1eced4(0x1d1))]({'Bucket':this[_0x1eced4(0x1d4)][_0x1eced4(0x1d2)],'CopySource':_0xde6430,'Key':_0xe9c368});yield this[_0x1eced4(0x1cf)][_0x1eced4(0x1c8)](_0x575dc8);});}}exports['AwsS3Copy']=AwsS3Copy;
@@ -0,0 +1,6 @@
1
+ import { BaseCredentials } from '../credentials';
2
+ export declare abstract class BaseCopy<T extends BaseCredentials = BaseCredentials> {
3
+ protected readonly credentials: T;
4
+ constructor(credentials: T);
5
+ abstract execute(sourcePath: string, destinationPath: string): Promise<void>;
6
+ }
@@ -0,0 +1 @@
1
+ 'use strict';var _0x14c034=_0x2007;function _0x2007(_0x3aaa88,_0x25ef65){var _0x2138e4=_0x2138();return _0x2007=function(_0x2007f9,_0x5f4034){_0x2007f9=_0x2007f9-0x19e;var _0x2742da=_0x2138e4[_0x2007f9];return _0x2742da;},_0x2007(_0x3aaa88,_0x25ef65);}(function(_0x27ed1d,_0x241bab){var _0x914ad1=_0x2007,_0x1c1c60=_0x27ed1d();while(!![]){try{var _0x2a0ca1=-parseInt(_0x914ad1(0x1a8))/0x1*(-parseInt(_0x914ad1(0x1a4))/0x2)+parseInt(_0x914ad1(0x1a0))/0x3+-parseInt(_0x914ad1(0x1a1))/0x4+parseInt(_0x914ad1(0x1a5))/0x5+parseInt(_0x914ad1(0x1a7))/0x6+-parseInt(_0x914ad1(0x19f))/0x7+-parseInt(_0x914ad1(0x1a3))/0x8;if(_0x2a0ca1===_0x241bab)break;else _0x1c1c60['push'](_0x1c1c60['shift']());}catch(_0x277826){_0x1c1c60['push'](_0x1c1c60['shift']());}}}(_0x2138,0xb0e3b));function _0x2138(){var _0x1dd3e1=['2987550ziXEmG','3339416NXSBjr','__esModule','3118448UZpXZx','47494NVdFKS','4044595gTIsPJ','defineProperty','144918HyVbFR','22LuVQKE','BaseCopy','2815099kOOAkf'];_0x2138=function(){return _0x1dd3e1;};return _0x2138();}Object[_0x14c034(0x1a6)](exports,_0x14c034(0x1a2),{'value':!![]}),exports[_0x14c034(0x19e)]=void 0x0;class BaseCopy{constructor(_0x547130){this['credentials']=_0x547130;}}exports[_0x14c034(0x19e)]=BaseCopy;
@@ -0,0 +1,3 @@
1
+ export { BaseCopy } from './base-copy';
2
+ export { LocalCopy } from './local-copy';
3
+ export { AwsS3Copy } from './aws-s3-copy';
@@ -0,0 +1 @@
1
+ 'use strict';var _0x4f7ba7=_0xefc5;(function(_0x57eb9c,_0xa9af96){var _0x178982=_0xefc5,_0x2b1101=_0x57eb9c();while(!![]){try{var _0x2016d8=-parseInt(_0x178982(0xd1))/0x1*(-parseInt(_0x178982(0xd5))/0x2)+parseInt(_0x178982(0xe0))/0x3*(-parseInt(_0x178982(0xd9))/0x4)+-parseInt(_0x178982(0xdc))/0x5+parseInt(_0x178982(0xde))/0x6+parseInt(_0x178982(0xda))/0x7*(-parseInt(_0x178982(0xdf))/0x8)+parseInt(_0x178982(0xdd))/0x9+parseInt(_0x178982(0xdb))/0xa;if(_0x2016d8===_0xa9af96)break;else _0x2b1101['push'](_0x2b1101['shift']());}catch(_0x6f7aa7){_0x2b1101['push'](_0x2b1101['shift']());}}}(_0x4282,0x5823e));function _0x4282(){var _0x13eda0=['AwsS3Copy','LocalCopy','./aws-s3-copy','376cIkemb','3993689ldJyvE','5869490KleIec','2564405eStwob','345726BmwLVG','2388462pCKWri','8uPlKUE','7806HyyCcF','BaseCopy','./base-copy','4967ZCGBoK','defineProperty','./local-copy','__esModule','268eoUFKs'];_0x4282=function(){return _0x13eda0;};return _0x4282();}function _0xefc5(_0x4cb959,_0x5b43b9){var _0x428278=_0x4282();return _0xefc5=function(_0xefc59e,_0x42ceec){_0xefc59e=_0xefc59e-0xcf;var _0x4d5bb0=_0x428278[_0xefc59e];return _0x4d5bb0;},_0xefc5(_0x4cb959,_0x5b43b9);}Object['defineProperty'](exports,_0x4f7ba7(0xd4),{'value':!![]}),exports[_0x4f7ba7(0xd6)]=exports[_0x4f7ba7(0xd7)]=exports[_0x4f7ba7(0xcf)]=void 0x0;var base_copy_1=require(_0x4f7ba7(0xd0));Object[_0x4f7ba7(0xd2)](exports,_0x4f7ba7(0xcf),{'enumerable':!![],'get':function(){var _0x162431=_0x4f7ba7;return base_copy_1[_0x162431(0xcf)];}});var local_copy_1=require(_0x4f7ba7(0xd3));Object[_0x4f7ba7(0xd2)](exports,_0x4f7ba7(0xd7),{'enumerable':!![],'get':function(){var _0x4d1683=_0x4f7ba7;return local_copy_1[_0x4d1683(0xd7)];}});var aws_s3_copy_1=require(_0x4f7ba7(0xd8));Object[_0x4f7ba7(0xd2)](exports,_0x4f7ba7(0xd6),{'enumerable':!![],'get':function(){var _0x3bfb4e=_0x4f7ba7;return aws_s3_copy_1[_0x3bfb4e(0xd6)];}});
@@ -0,0 +1,5 @@
1
+ import { LocalCredentials } from '../credentials';
2
+ import { BaseCopy } from './base-copy';
3
+ export declare class LocalCopy extends BaseCopy<LocalCredentials> {
4
+ execute(sourcePath: string, destinationPath: string): Promise<void>;
5
+ }
@@ -0,0 +1 @@
1
+ 'use strict';const _0x21d517=_0x4ddd;(function(_0x132af8,_0x4474ea){const _0xb2193c=_0x4ddd,_0x125268=_0x132af8();while(!![]){try{const _0x3c3fb9=parseInt(_0xb2193c(0x137))/0x1*(parseInt(_0xb2193c(0x143))/0x2)+parseInt(_0xb2193c(0x145))/0x3*(-parseInt(_0xb2193c(0x13c))/0x4)+parseInt(_0xb2193c(0x13e))/0x5+parseInt(_0xb2193c(0x135))/0x6+-parseInt(_0xb2193c(0x136))/0x7+-parseInt(_0xb2193c(0x13b))/0x8+parseInt(_0xb2193c(0x140))/0x9;if(_0x3c3fb9===_0x4474ea)break;else _0x125268['push'](_0x125268['shift']());}catch(_0x3b2374){_0x125268['push'](_0x125268['shift']());}}}(_0x1aa8,0x34570));function _0x4ddd(_0x44acd5,_0x170952){const _0x1aa8af=_0x1aa8();return _0x4ddd=function(_0x4ddd50,_0x1a3b53){_0x4ddd50=_0x4ddd50-0x133;let _0x86d92f=_0x1aa8af[_0x4ddd50];return _0x86d92f;},_0x4ddd(_0x44acd5,_0x170952);}function _0x1aa8(){const _0x370da5=['38438rIhErW','mkdir','LocalCopy','next','3155120JrvQLN','4xjVJGb','value','236370QUvEct','BaseCopy','9135513goYUvS','fs/promises','done','2owiCeC','dirname','830541dVfEdl','defineProperty','path','1044378CUNaKT','2724477wVoAZB'];_0x1aa8=function(){return _0x370da5;};return _0x1aa8();}var __awaiter=this&&this['__awaiter']||function(_0x5f52ab,_0xdf5995,_0x138056,_0x4c211){function _0x1490a7(_0xeaec75){return _0xeaec75 instanceof _0x138056?_0xeaec75:new _0x138056(function(_0x3b0f4c){_0x3b0f4c(_0xeaec75);});}return new(_0x138056||(_0x138056=Promise))(function(_0x570784,_0x187ffd){const _0x30cf94=_0x4ddd;function _0x1810d9(_0x3e70e4){const _0x3494b4=_0x4ddd;try{_0x398254(_0x4c211[_0x3494b4(0x13a)](_0x3e70e4));}catch(_0x48b425){_0x187ffd(_0x48b425);}}function _0x348f67(_0x555ec9){try{_0x398254(_0x4c211['throw'](_0x555ec9));}catch(_0x10d122){_0x187ffd(_0x10d122);}}function _0x398254(_0x48dfa2){const _0x368317=_0x4ddd;_0x48dfa2[_0x368317(0x142)]?_0x570784(_0x48dfa2[_0x368317(0x13d)]):_0x1490a7(_0x48dfa2[_0x368317(0x13d)])['then'](_0x1810d9,_0x348f67);}_0x398254((_0x4c211=_0x4c211['apply'](_0x5f52ab,_0xdf5995||[]))[_0x30cf94(0x13a)]());});};Object[_0x21d517(0x133)](exports,'__esModule',{'value':!![]}),exports[_0x21d517(0x139)]=void 0x0;const base_copy_1=require('./base-copy'),promises_1=require(_0x21d517(0x141)),path_1=require(_0x21d517(0x134));class LocalCopy extends base_copy_1[_0x21d517(0x13f)]{['execute'](_0x558e57,_0x110af1){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5abbb5=_0x4ddd,_0x308b0d=(0x0,path_1[_0x5abbb5(0x144)])(_0x110af1);yield(0x0,promises_1[_0x5abbb5(0x138)])(_0x308b0d,{'recursive':!![]}),yield(0x0,promises_1['copyFile'])(_0x558e57,_0x110af1);});}}exports[_0x21d517(0x139)]=LocalCopy;
@@ -1 +1 @@
1
- 'use strict';const _0x1d6ce4=_0x50eb;(function(_0xf4560b,_0x45c7cf){const _0x95ddc3=_0x50eb,_0x1561d7=_0xf4560b();while(!![]){try{const _0x45efa3=-parseInt(_0x95ddc3(0xef))/0x1+-parseInt(_0x95ddc3(0xeb))/0x2+parseInt(_0x95ddc3(0xf3))/0x3+-parseInt(_0x95ddc3(0xf8))/0x4*(parseInt(_0x95ddc3(0xe8))/0x5)+-parseInt(_0x95ddc3(0xec))/0x6*(parseInt(_0x95ddc3(0xf7))/0x7)+parseInt(_0x95ddc3(0xe3))/0x8*(-parseInt(_0x95ddc3(0xf4))/0x9)+-parseInt(_0x95ddc3(0xe5))/0xa*(-parseInt(_0x95ddc3(0xf2))/0xb);if(_0x45efa3===_0x45c7cf)break;else _0x1561d7['push'](_0x1561d7['shift']());}catch(_0xe07a68){_0x1561d7['push'](_0x1561d7['shift']());}}}(_0x343d,0xbbbca));var __awaiter=this&&this['__awaiter']||function(_0x3abbbc,_0x2c4e70,_0x4abd6a,_0xc407d){function _0x16d4f1(_0x5dc67a){return _0x5dc67a instanceof _0x4abd6a?_0x5dc67a:new _0x4abd6a(function(_0x431668){_0x431668(_0x5dc67a);});}return new(_0x4abd6a||(_0x4abd6a=Promise))(function(_0x42195b,_0xb872a9){const _0x1c4523=_0x50eb;function _0x47a55e(_0x27ee73){const _0x5eb6f0=_0x50eb;try{_0x434407(_0xc407d[_0x5eb6f0(0xfc)](_0x27ee73));}catch(_0x2b817f){_0xb872a9(_0x2b817f);}}function _0x3e4e2a(_0x26d707){const _0x66905a=_0x50eb;try{_0x434407(_0xc407d[_0x66905a(0xe9)](_0x26d707));}catch(_0x3c724c){_0xb872a9(_0x3c724c);}}function _0x434407(_0x48e6e1){const _0x2a67c0=_0x50eb;_0x48e6e1[_0x2a67c0(0xf0)]?_0x42195b(_0x48e6e1[_0x2a67c0(0xe7)]):_0x16d4f1(_0x48e6e1[_0x2a67c0(0xe7)])[_0x2a67c0(0xe6)](_0x47a55e,_0x3e4e2a);}_0x434407((_0xc407d=_0xc407d[_0x1c4523(0xf9)](_0x3abbbc,_0x2c4e70||[]))['next']());});};function _0x50eb(_0x3bbdd8,_0xe5453e){const _0x343d93=_0x343d();return _0x50eb=function(_0x50eb2a,_0x1e8aed){_0x50eb2a=_0x50eb2a-0xdd;let _0x105781=_0x343d93[_0x50eb2a];return _0x105781;},_0x50eb(_0x3bbdd8,_0xe5453e);}function _0x343d(){const _0x46cc73=['1126279qduCdC','4332270zLNOfi','9lBxqxq','send','s3Client','7XdCMSc','125116yMkrRT','apply','credentials','secretAccessKey','next','accessKeyId','region','bucketName','AwsS3Credentials','./base-credentials','defineProperty','../utils/aws-s3.utils','11944064cLNSoY','createS3Client','380VgQojL','then','value','175TrlQtd','throw','validate','1767958ucTDkD','3966498NRIYsF','BaseCredentials','AwsS3Utils','433067WnFUfm','done','__esModule'];_0x343d=function(){return _0x46cc73;};return _0x343d();}Object[_0x1d6ce4(0xe1)](exports,_0x1d6ce4(0xf1),{'value':!![]}),exports[_0x1d6ce4(0xdf)]=void 0x0;const base_credentials_1=require(_0x1d6ce4(0xe0)),client_s3_1=require('@aws-sdk/client-s3'),aws_s3_utils_1=require(_0x1d6ce4(0xe2));class AwsS3Credentials extends base_credentials_1[_0x1d6ce4(0xed)]{constructor(_0x185346){const _0x589c6e=_0x1d6ce4;super(_0x185346),this[_0x589c6e(0xf6)]=aws_s3_utils_1[_0x589c6e(0xee)][_0x589c6e(0xe4)](this[_0x589c6e(0xfa)]);}get[_0x1d6ce4(0xfd)](){const _0x1723f8=_0x1d6ce4;return this[_0x1723f8(0xfa)][_0x1723f8(0xfd)];}get[_0x1d6ce4(0xfb)](){const _0x28b83f=_0x1d6ce4;return this[_0x28b83f(0xfa)]['secretAccessKey'];}get['bucketName'](){const _0x30e2a7=_0x1d6ce4;return this[_0x30e2a7(0xfa)][_0x30e2a7(0xde)];}get[_0x1d6ce4(0xdd)](){const _0x3714f7=_0x1d6ce4;return this[_0x3714f7(0xfa)][_0x3714f7(0xdd)];}[_0x1d6ce4(0xea)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4553f7=_0x50eb;try{const _0x3f0a3b=new client_s3_1['HeadBucketCommand']({'Bucket':this[_0x4553f7(0xfa)][_0x4553f7(0xde)]});yield this[_0x4553f7(0xf6)][_0x4553f7(0xf5)](_0x3f0a3b);}catch(_0x45359d){throw new Error('Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20'+_0x45359d['message']);}});}['getCredentials'](_0x3175fa=![]){const _0x4bd447=_0x1d6ce4;if(_0x3175fa)return{'bucketName':this['credentials'][_0x4bd447(0xde)]};return this[_0x4bd447(0xfa)];}}exports[_0x1d6ce4(0xdf)]=AwsS3Credentials;
1
+ 'use strict';function _0x1787(){const _0xe318=['accessKeyId','@aws-sdk/client-s3','done','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','4341804zxBJUY','then','message','__awaiter','secretAccessKey','region','throw','credentials','../utils/aws-s3.utils','apply','send','AwsS3Credentials','1579604WLGhZn','createS3Client','next','4872784QMlJet','value','3311230ptebfs','./base-credentials','8eGnbGh','43353xyJvFS','607481UjLhJC','BaseCredentials','4078624nLLqCA'];_0x1787=function(){return _0xe318;};return _0x1787();}const _0x1ad869=_0x4202;(function(_0x4c8f93,_0xb32959){const _0x611135=_0x4202,_0x2d5887=_0x4c8f93();while(!![]){try{const _0x1a20d3=parseInt(_0x611135(0x14e))/0x1+parseInt(_0x611135(0x14c))/0x2*(parseInt(_0x611135(0x14d))/0x3)+-parseInt(_0x611135(0x145))/0x4+-parseInt(_0x611135(0x14a))/0x5+parseInt(_0x611135(0x155))/0x6+parseInt(_0x611135(0x148))/0x7+-parseInt(_0x611135(0x150))/0x8;if(_0x1a20d3===_0xb32959)break;else _0x2d5887['push'](_0x2d5887['shift']());}catch(_0x2356f9){_0x2d5887['push'](_0x2d5887['shift']());}}}(_0x1787,0x7e7a8));function _0x4202(_0x29d2f7,_0x4ac107){const _0x1787e7=_0x1787();return _0x4202=function(_0x4202f9,_0x382ad1){_0x4202f9=_0x4202f9-0x141;let _0x20a8d3=_0x1787e7[_0x4202f9];return _0x20a8d3;},_0x4202(_0x29d2f7,_0x4ac107);}var __awaiter=this&&this[_0x1ad869(0x158)]||function(_0xbd20db,_0x34d90e,_0x54c23e,_0xe0be78){function _0x56c520(_0x24ac0c){return _0x24ac0c instanceof _0x54c23e?_0x24ac0c:new _0x54c23e(function(_0x305689){_0x305689(_0x24ac0c);});}return new(_0x54c23e||(_0x54c23e=Promise))(function(_0x504b0b,_0x57c460){const _0x42725d=_0x4202;function _0x4e5d63(_0x3dff2f){const _0x4d1fda=_0x4202;try{_0xd7242e(_0xe0be78[_0x4d1fda(0x147)](_0x3dff2f));}catch(_0x59f5be){_0x57c460(_0x59f5be);}}function _0x584926(_0x2f61af){const _0x48e0b0=_0x4202;try{_0xd7242e(_0xe0be78[_0x48e0b0(0x15b)](_0x2f61af));}catch(_0xef4972){_0x57c460(_0xef4972);}}function _0xd7242e(_0x5c0ce8){const _0x83d528=_0x4202;_0x5c0ce8[_0x83d528(0x153)]?_0x504b0b(_0x5c0ce8[_0x83d528(0x149)]):_0x56c520(_0x5c0ce8[_0x83d528(0x149)])[_0x83d528(0x156)](_0x4e5d63,_0x584926);}_0xd7242e((_0xe0be78=_0xe0be78[_0x42725d(0x142)](_0xbd20db,_0x34d90e||[]))[_0x42725d(0x147)]());});};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x1ad869(0x144)]=void 0x0;const base_credentials_1=require(_0x1ad869(0x14b)),client_s3_1=require(_0x1ad869(0x152)),aws_s3_utils_1=require(_0x1ad869(0x141));class AwsS3Credentials extends base_credentials_1[_0x1ad869(0x14f)]{constructor(_0x47371c){const _0x5c85a9=_0x1ad869;super(_0x47371c),this['s3Client']=aws_s3_utils_1['AwsS3Utils'][_0x5c85a9(0x146)](this[_0x5c85a9(0x15c)]);}get[_0x1ad869(0x151)](){const _0x1f1d9c=_0x1ad869;return this[_0x1f1d9c(0x15c)][_0x1f1d9c(0x151)];}get[_0x1ad869(0x159)](){const _0x3465f3=_0x1ad869;return this[_0x3465f3(0x15c)][_0x3465f3(0x159)];}get['bucketName'](){const _0x5eec22=_0x1ad869;return this[_0x5eec22(0x15c)]['bucketName'];}get[_0x1ad869(0x15a)](){const _0x503b20=_0x1ad869;return this[_0x503b20(0x15c)][_0x503b20(0x15a)];}['validate'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x12da8e=_0x4202;try{const _0xbb94d2=new client_s3_1['HeadBucketCommand']({'Bucket':this[_0x12da8e(0x15c)]['bucketName']});yield this['s3Client'][_0x12da8e(0x143)](_0xbb94d2);}catch(_0x346a87){throw new Error(_0x12da8e(0x154)+_0x346a87[_0x12da8e(0x157)]);}});}['getCredentials'](_0x61f291=![]){const _0x105aaa=_0x1ad869;if(_0x61f291)return{'bucketName':this[_0x105aaa(0x15c)]['bucketName']};return this[_0x105aaa(0x15c)];}}exports[_0x1ad869(0x144)]=AwsS3Credentials;
@@ -1 +1 @@
1
- 'use strict';const _0x1efcb0=_0x28aa;(function(_0x1df502,_0x4b3619){const _0x4552e7=_0x28aa,_0x1ef3c0=_0x1df502();while(!![]){try{const _0x5498b8=parseInt(_0x4552e7(0x201))/0x1+-parseInt(_0x4552e7(0x1f2))/0x2*(-parseInt(_0x4552e7(0x1f0))/0x3)+parseInt(_0x4552e7(0x1fc))/0x4+-parseInt(_0x4552e7(0x1fb))/0x5+parseInt(_0x4552e7(0x1f6))/0x6+-parseInt(_0x4552e7(0x1f8))/0x7+-parseInt(_0x4552e7(0x1e9))/0x8;if(_0x5498b8===_0x4b3619)break;else _0x1ef3c0['push'](_0x1ef3c0['shift']());}catch(_0x23a5f3){_0x1ef3c0['push'](_0x1ef3c0['shift']());}}}(_0x3fe1,0x667f7));var __awaiter=this&&this['__awaiter']||function(_0x3fb35e,_0x530e84,_0x496ae7,_0x44de69){function _0xd027fe(_0xe42383){return _0xe42383 instanceof _0x496ae7?_0xe42383:new _0x496ae7(function(_0x175471){_0x175471(_0xe42383);});}return new(_0x496ae7||(_0x496ae7=Promise))(function(_0x2190ed,_0x2b094c){const _0x56b15d=_0x28aa;function _0x1feb4e(_0x104f7a){const _0x3f250f=_0x28aa;try{_0x32ccda(_0x44de69[_0x3f250f(0x1f1)](_0x104f7a));}catch(_0x21fe7a){_0x2b094c(_0x21fe7a);}}function _0x3b293b(_0xe7177f){const _0x20500c=_0x28aa;try{_0x32ccda(_0x44de69[_0x20500c(0x1ff)](_0xe7177f));}catch(_0x132714){_0x2b094c(_0x132714);}}function _0x32ccda(_0x1bf996){const _0x1cbb85=_0x28aa;_0x1bf996[_0x1cbb85(0x1ef)]?_0x2190ed(_0x1bf996[_0x1cbb85(0x1ee)]):_0xd027fe(_0x1bf996[_0x1cbb85(0x1ee)])[_0x1cbb85(0x1f3)](_0x1feb4e,_0x3b293b);}_0x32ccda((_0x44de69=_0x44de69[_0x56b15d(0x202)](_0x3fb35e,_0x530e84||[]))[_0x56b15d(0x1f1)]());});};Object[_0x1efcb0(0x1fa)](exports,_0x1efcb0(0x1ec),{'value':!![]}),exports[_0x1efcb0(0x1ea)]=void 0x0;function _0x28aa(_0x5dd34b,_0x3f4779){const _0x3fe102=_0x3fe1();return _0x28aa=function(_0x28aacc,_0x451adc){_0x28aacc=_0x28aacc-0x1e7;let _0x3851e0=_0x3fe102[_0x28aacc];return _0x3851e0;},_0x28aa(_0x5dd34b,_0x3f4779);}const base_credentials_1=require('./base-credentials'),azure_utils_1=require(_0x1efcb0(0x1f4));class AzureCredentials extends base_credentials_1[_0x1efcb0(0x1f7)]{constructor(_0x18d137){const _0x510adc=_0x1efcb0;super(_0x18d137),this['blobServiceClient']=azure_utils_1[_0x510adc(0x1f5)]['createAzureBlobServiceClient'](this[_0x510adc(0x203)]);}get[_0x1efcb0(0x1e7)](){return this['credentials']['accountKey'];}get[_0x1efcb0(0x1f9)](){const _0x350855=_0x1efcb0;return this[_0x350855(0x203)]['accountName'];}get[_0x1efcb0(0x1e8)](){const _0x4b0048=_0x1efcb0;return this[_0x4b0048(0x203)][_0x4b0048(0x1e8)];}['validate'](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x16b121=_0x28aa;try{const _0x39b7e0=this['blobServiceClient'][_0x16b121(0x1fd)](this['credentials'][_0x16b121(0x1e8)]);yield _0x39b7e0[_0x16b121(0x1fe)]();}catch(_0x244d16){throw new Error(_0x16b121(0x1eb)+_0x244d16[_0x16b121(0x200)]);}});}[_0x1efcb0(0x1ed)](_0x3570a2=![]){const _0x34ffc6=_0x1efcb0;if(_0x3570a2)return{'accountName':this[_0x34ffc6(0x203)][_0x34ffc6(0x1f9)]};return this[_0x34ffc6(0x203)];}}function _0x3fe1(){const _0x570462=['done','1383anzlUe','next','856SxVepV','then','../utils/azure.utils','AzureUtils','4778250vzJgdW','BaseCredentials','2714782FrZryx','accountName','defineProperty','2357670qODiWw','1634008IjuGOb','getContainerClient','exists','throw','message','764295tOuhUx','apply','credentials','accountKey','containerName','7098312YJyVrM','AzureCredentials','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','__esModule','getCredentials','value'];_0x3fe1=function(){return _0x570462;};return _0x3fe1();}exports['AzureCredentials']=AzureCredentials;
1
+ 'use strict';function _0x40cf(_0x39db28,_0x59beec){const _0x10c32e=_0x10c3();return _0x40cf=function(_0x40cf05,_0x34a880){_0x40cf05=_0x40cf05-0x153;let _0x1bdbbf=_0x10c32e[_0x40cf05];return _0x1bdbbf;},_0x40cf(_0x39db28,_0x59beec);}const _0x29faf3=_0x40cf;(function(_0x50119a,_0x485555){const _0x59f6c1=_0x40cf,_0x542830=_0x50119a();while(!![]){try{const _0xa2cc58=-parseInt(_0x59f6c1(0x156))/0x1*(-parseInt(_0x59f6c1(0x16c))/0x2)+parseInt(_0x59f6c1(0x167))/0x3+parseInt(_0x59f6c1(0x170))/0x4*(parseInt(_0x59f6c1(0x16e))/0x5)+parseInt(_0x59f6c1(0x15b))/0x6+parseInt(_0x59f6c1(0x162))/0x7*(-parseInt(_0x59f6c1(0x171))/0x8)+parseInt(_0x59f6c1(0x168))/0x9+parseInt(_0x59f6c1(0x159))/0xa*(-parseInt(_0x59f6c1(0x15c))/0xb);if(_0xa2cc58===_0x485555)break;else _0x542830['push'](_0x542830['shift']());}catch(_0x4ad252){_0x542830['push'](_0x542830['shift']());}}}(_0x10c3,0xaef2d));var __awaiter=this&&this[_0x29faf3(0x16d)]||function(_0x2ff80a,_0x253d47,_0x5e8aca,_0xe4c9cf){function _0x6338c(_0x6ae882){return _0x6ae882 instanceof _0x5e8aca?_0x6ae882:new _0x5e8aca(function(_0x433460){_0x433460(_0x6ae882);});}return new(_0x5e8aca||(_0x5e8aca=Promise))(function(_0x4cf3f9,_0x3410b6){const _0x31a33f=_0x40cf;function _0x57b105(_0x2169d5){const _0x43aabc=_0x40cf;try{_0x50bbd8(_0xe4c9cf[_0x43aabc(0x166)](_0x2169d5));}catch(_0x424b7c){_0x3410b6(_0x424b7c);}}function _0x28f875(_0x11774){const _0x243efd=_0x40cf;try{_0x50bbd8(_0xe4c9cf[_0x243efd(0x154)](_0x11774));}catch(_0x1b89d7){_0x3410b6(_0x1b89d7);}}function _0x50bbd8(_0x411606){const _0x54e51d=_0x40cf;_0x411606[_0x54e51d(0x163)]?_0x4cf3f9(_0x411606[_0x54e51d(0x169)]):_0x6338c(_0x411606[_0x54e51d(0x169)])[_0x54e51d(0x157)](_0x57b105,_0x28f875);}_0x50bbd8((_0xe4c9cf=_0xe4c9cf[_0x31a33f(0x153)](_0x2ff80a,_0x253d47||[]))[_0x31a33f(0x166)]());});};Object[_0x29faf3(0x16f)](exports,'__esModule',{'value':!![]}),exports[_0x29faf3(0x155)]=void 0x0;const base_credentials_1=require(_0x29faf3(0x16b)),azure_utils_1=require('../utils/azure.utils');function _0x10c3(){const _0x42c76a=['2347875xOJgeD','12498903gYmiCe','value','blobServiceClient','./base-credentials','2qpuBps','__awaiter','485PVDnYE','defineProperty','22856vUaCqq','184EEcaZK','AzureUtils','apply','throw','AzureCredentials','184453ejyiuU','then','accountKey','607690nTfFFV','getCredentials','3835890EOuMZX','462OWZgBD','credentials','validate','BaseCredentials','exists','getContainerClient','85379uTbCzm','done','containerName','createAzureBlobServiceClient','next'];_0x10c3=function(){return _0x42c76a;};return _0x10c3();}class AzureCredentials extends base_credentials_1[_0x29faf3(0x15f)]{constructor(_0x28ef44){const _0x43c589=_0x29faf3;super(_0x28ef44),this[_0x43c589(0x16a)]=azure_utils_1[_0x43c589(0x172)][_0x43c589(0x165)](this[_0x43c589(0x15d)]);}get[_0x29faf3(0x158)](){const _0x3574b7=_0x29faf3;return this['credentials'][_0x3574b7(0x158)];}get['accountName'](){const _0x191b64=_0x29faf3;return this[_0x191b64(0x15d)]['accountName'];}get[_0x29faf3(0x164)](){const _0x8ea5f8=_0x29faf3;return this[_0x8ea5f8(0x15d)][_0x8ea5f8(0x164)];}[_0x29faf3(0x15e)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x28462=_0x40cf;try{const _0xf1822e=this[_0x28462(0x16a)][_0x28462(0x161)](this[_0x28462(0x15d)][_0x28462(0x164)]);yield _0xf1822e[_0x28462(0x160)]();}catch(_0x4b5272){throw new Error('Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20'+_0x4b5272['message']);}});}[_0x29faf3(0x15a)](_0x55bc4f=![]){const _0x4602e8=_0x29faf3;if(_0x55bc4f)return{'accountName':this['credentials']['accountName']};return this[_0x4602e8(0x15d)];}}exports['AzureCredentials']=AzureCredentials;
@@ -1 +1 @@
1
- 'use strict';var _0x2609f7=_0x3db8;function _0x3db8(_0x3bf738,_0x44bee7){var _0x1fe82a=_0x1fe8();return _0x3db8=function(_0x3db823,_0xa7433b){_0x3db823=_0x3db823-0x7f;var _0x2b335c=_0x1fe82a[_0x3db823];return _0x2b335c;},_0x3db8(_0x3bf738,_0x44bee7);}function _0x1fe8(){var _0xebdc01=['1264YMpGvO','509370kDZMAg','122UaCdTX','4613097sErHKH','defineProperty','11760570cVEekb','10498768OUSftm','35664750bzmjaP','51147uVMVZh','10891dvzCCV','50SLnmML','4SdlxBH','__esModule','credentials','rawCredentials'];_0x1fe8=function(){return _0xebdc01;};return _0x1fe8();}(function(_0x132c3b,_0x520261){var _0x21f803=_0x3db8,_0x5b52cc=_0x132c3b();while(!![]){try{var _0x4f5602=-parseInt(_0x21f803(0x82))/0x1*(-parseInt(_0x21f803(0x8a))/0x2)+-parseInt(_0x21f803(0x8b))/0x3*(parseInt(_0x21f803(0x84))/0x4)+parseInt(_0x21f803(0x83))/0x5*(-parseInt(_0x21f803(0x89))/0x6)+parseInt(_0x21f803(0x7f))/0x7+parseInt(_0x21f803(0x88))/0x8*(-parseInt(_0x21f803(0x81))/0x9)+-parseInt(_0x21f803(0x8d))/0xa+parseInt(_0x21f803(0x80))/0xb;if(_0x4f5602===_0x520261)break;else _0x5b52cc['push'](_0x5b52cc['shift']());}catch(_0x11651c){_0x5b52cc['push'](_0x5b52cc['shift']());}}}(_0x1fe8,0xe6e8d));Object[_0x2609f7(0x8c)](exports,_0x2609f7(0x85),{'value':!![]}),exports['BaseCredentials']=void 0x0;class BaseCredentials{constructor(_0x536f26){var _0x43fa5b=_0x2609f7;this[_0x43fa5b(0x87)]=_0x536f26,this[_0x43fa5b(0x86)]=this[_0x43fa5b(0x87)]?this[_0x43fa5b(0x87)]:null;}}exports['BaseCredentials']=BaseCredentials;
1
+ 'use strict';var _0xb980f2=_0x5aa3;(function(_0x42fc26,_0x31f83d){var _0x499871=_0x5aa3,_0xaaeb0a=_0x42fc26();while(!![]){try{var _0x19af53=-parseInt(_0x499871(0x15c))/0x1+parseInt(_0x499871(0x164))/0x2*(parseInt(_0x499871(0x161))/0x3)+-parseInt(_0x499871(0x163))/0x4*(-parseInt(_0x499871(0x166))/0x5)+-parseInt(_0x499871(0x15d))/0x6*(-parseInt(_0x499871(0x165))/0x7)+parseInt(_0x499871(0x15a))/0x8+-parseInt(_0x499871(0x159))/0x9*(parseInt(_0x499871(0x15b))/0xa)+parseInt(_0x499871(0x162))/0xb;if(_0x19af53===_0x31f83d)break;else _0xaaeb0a['push'](_0xaaeb0a['shift']());}catch(_0x31b835){_0xaaeb0a['push'](_0xaaeb0a['shift']());}}}(_0x5828,0xdce07));function _0x5828(){var _0x3124d3=['8893413DWbuWl','7339064SznyWl','10ETsjcp','1496953nCafcx','1104jYCdrg','BaseCredentials','__esModule','defineProperty','3016137ampwdO','4833059urxNqE','1768WWYHYM','2VZySkr','32354rCqyAN','2005SNjpLD','rawCredentials'];_0x5828=function(){return _0x3124d3;};return _0x5828();}function _0x5aa3(_0x4cd849,_0x3b9662){var _0x582821=_0x5828();return _0x5aa3=function(_0x5aa35b,_0x1c3d4d){_0x5aa35b=_0x5aa35b-0x158;var _0x4699c2=_0x582821[_0x5aa35b];return _0x4699c2;},_0x5aa3(_0x4cd849,_0x3b9662);}Object[_0xb980f2(0x160)](exports,_0xb980f2(0x15f),{'value':!![]}),exports[_0xb980f2(0x15e)]=void 0x0;class BaseCredentials{constructor(_0x53b8ea){var _0x278ccd=_0xb980f2;this[_0x278ccd(0x158)]=_0x53b8ea,this['credentials']=this[_0x278ccd(0x158)]?this[_0x278ccd(0x158)]:null;}}exports['BaseCredentials']=BaseCredentials;
@@ -1 +1 @@
1
- 'use strict';var _0x2bfb63=_0x37bb;function _0x2532(){var _0x2095e5=['./base-credentials','5405520FvHYJi','BaseCredentials','1595168wPPMPE','3344ndKVyA','561675sGvJJu','7xQobbp','937355PMBvEx','./azure-credentials','68274evRGtx','LocalCredentials','2283CCoDAl','AzureCredentials','defineProperty','20vHvSmL','AwsS3Credentials','__esModule','./local-credentials','4428654pikPcN'];_0x2532=function(){return _0x2095e5;};return _0x2532();}(function(_0xff97e1,_0x35a9e4){var _0x3ed0aa=_0x37bb,_0x297bde=_0xff97e1();while(!![]){try{var _0x16c220=-parseInt(_0x3ed0aa(0x1e1))/0x1+parseInt(_0x3ed0aa(0x1dd))/0x2+parseInt(_0x3ed0aa(0x1e5))/0x3*(-parseInt(_0x3ed0aa(0x1de))/0x4)+-parseInt(_0x3ed0aa(0x1df))/0x5+parseInt(_0x3ed0aa(0x1d9))/0x6*(parseInt(_0x3ed0aa(0x1e0))/0x7)+parseInt(_0x3ed0aa(0x1db))/0x8+-parseInt(_0x3ed0aa(0x1e3))/0x9*(-parseInt(_0x3ed0aa(0x1e8))/0xa);if(_0x16c220===_0x35a9e4)break;else _0x297bde['push'](_0x297bde['shift']());}catch(_0x279431){_0x297bde['push'](_0x297bde['shift']());}}}(_0x2532,0x83ffd));Object[_0x2bfb63(0x1e7)](exports,_0x2bfb63(0x1ea),{'value':!![]}),exports['AzureCredentials']=exports[_0x2bfb63(0x1e4)]=exports[_0x2bfb63(0x1e9)]=exports[_0x2bfb63(0x1dc)]=void 0x0;var base_credentials_1=require(_0x2bfb63(0x1da));Object[_0x2bfb63(0x1e7)](exports,_0x2bfb63(0x1dc),{'enumerable':!![],'get':function(){var _0x49831a=_0x2bfb63;return base_credentials_1[_0x49831a(0x1dc)];}});var aws_s3_credentials_1=require('./aws-s3-credentials');Object[_0x2bfb63(0x1e7)](exports,_0x2bfb63(0x1e9),{'enumerable':!![],'get':function(){var _0x3f2ba2=_0x2bfb63;return aws_s3_credentials_1[_0x3f2ba2(0x1e9)];}});var local_credentials_1=require(_0x2bfb63(0x1d8));function _0x37bb(_0x942935,_0x26012a){var _0x2532d8=_0x2532();return _0x37bb=function(_0x37bbe0,_0x290b2b){_0x37bbe0=_0x37bbe0-0x1d8;var _0x120bea=_0x2532d8[_0x37bbe0];return _0x120bea;},_0x37bb(_0x942935,_0x26012a);}Object['defineProperty'](exports,_0x2bfb63(0x1e4),{'enumerable':!![],'get':function(){var _0x450b41=_0x2bfb63;return local_credentials_1[_0x450b41(0x1e4)];}});var azure_credentials_1=require(_0x2bfb63(0x1e2));Object[_0x2bfb63(0x1e7)](exports,_0x2bfb63(0x1e6),{'enumerable':!![],'get':function(){var _0x4f55e1=_0x2bfb63;return azure_credentials_1[_0x4f55e1(0x1e6)];}});
1
+ 'use strict';var _0x5ae84d=_0x38dc;(function(_0x464d7f,_0x167c24){var _0x14a9db=_0x38dc,_0x2896b4=_0x464d7f();while(!![]){try{var _0x367d19=parseInt(_0x14a9db(0x142))/0x1*(-parseInt(_0x14a9db(0x14d))/0x2)+-parseInt(_0x14a9db(0x151))/0x3*(-parseInt(_0x14a9db(0x152))/0x4)+parseInt(_0x14a9db(0x150))/0x5*(-parseInt(_0x14a9db(0x141))/0x6)+parseInt(_0x14a9db(0x144))/0x7+parseInt(_0x14a9db(0x14f))/0x8*(parseInt(_0x14a9db(0x13f))/0x9)+parseInt(_0x14a9db(0x148))/0xa+-parseInt(_0x14a9db(0x147))/0xb;if(_0x367d19===_0x167c24)break;else _0x2896b4['push'](_0x2896b4['shift']());}catch(_0x2a6948){_0x2896b4['push'](_0x2896b4['shift']());}}}(_0x5a0f,0x91edb));Object[_0x5ae84d(0x153)](exports,_0x5ae84d(0x14a),{'value':!![]}),exports['AzureCredentials']=exports[_0x5ae84d(0x14b)]=exports['AwsS3Credentials']=exports[_0x5ae84d(0x140)]=void 0x0;var base_credentials_1=require(_0x5ae84d(0x146));Object[_0x5ae84d(0x153)](exports,_0x5ae84d(0x140),{'enumerable':!![],'get':function(){var _0x464805=_0x5ae84d;return base_credentials_1[_0x464805(0x140)];}});var aws_s3_credentials_1=require(_0x5ae84d(0x14e));Object[_0x5ae84d(0x153)](exports,_0x5ae84d(0x145),{'enumerable':!![],'get':function(){var _0x501a9f=_0x5ae84d;return aws_s3_credentials_1[_0x501a9f(0x145)];}});function _0x38dc(_0x1f23d1,_0x2d359e){var _0x5a0f7f=_0x5a0f();return _0x38dc=function(_0x38dc9a,_0x3434a3){_0x38dc9a=_0x38dc9a-0x13f;var _0x8e57d0=_0x5a0f7f[_0x38dc9a];return _0x8e57d0;},_0x38dc(_0x1f23d1,_0x2d359e);}var local_credentials_1=require(_0x5ae84d(0x143));function _0x5a0f(){var _0x4eab11=['5234124zvwOoa','AwsS3Credentials','./base-credentials','4936899FGQXrV','8203470UiCSYC','AzureCredentials','__esModule','LocalCredentials','./azure-credentials','19682ZZMebm','./aws-s3-credentials','2289296upSTPw','275IWCmFW','3XLDhHl','1003016wrhIBS','defineProperty','9ELUHkK','BaseCredentials','53202miXWrb','58YpCSnW','./local-credentials'];_0x5a0f=function(){return _0x4eab11;};return _0x5a0f();}Object[_0x5ae84d(0x153)](exports,_0x5ae84d(0x14b),{'enumerable':!![],'get':function(){return local_credentials_1['LocalCredentials'];}});var azure_credentials_1=require(_0x5ae84d(0x14c));Object[_0x5ae84d(0x153)](exports,'AzureCredentials',{'enumerable':!![],'get':function(){var _0x539ff8=_0x5ae84d;return azure_credentials_1[_0x539ff8(0x149)];}});
@@ -1 +1 @@
1
- 'use strict';const _0x51a970=_0xa7f2;(function(_0x13ffac,_0x2b3dcc){const _0x3dd1ed=_0xa7f2,_0x5816ab=_0x13ffac();while(!![]){try{const _0x3b4963=-parseInt(_0x3dd1ed(0xa9))/0x1+parseInt(_0x3dd1ed(0xad))/0x2*(parseInt(_0x3dd1ed(0xa3))/0x3)+-parseInt(_0x3dd1ed(0xb0))/0x4*(parseInt(_0x3dd1ed(0xa8))/0x5)+-parseInt(_0x3dd1ed(0xb1))/0x6*(parseInt(_0x3dd1ed(0xa2))/0x7)+-parseInt(_0x3dd1ed(0xaf))/0x8*(-parseInt(_0x3dd1ed(0xa5))/0x9)+-parseInt(_0x3dd1ed(0xae))/0xa+parseInt(_0x3dd1ed(0xa7))/0xb;if(_0x3b4963===_0x2b3dcc)break;else _0x5816ab['push'](_0x5816ab['shift']());}catch(_0x1ba293){_0x5816ab['push'](_0x5816ab['shift']());}}}(_0x23c3,0xd0c61));Object[_0x51a970(0xa4)](exports,_0x51a970(0xa1),{'value':!![]}),exports[_0x51a970(0xa6)]=void 0x0;const base_credentials_1=require(_0x51a970(0xab));class LocalCredentials extends base_credentials_1[_0x51a970(0xaa)]{[_0x51a970(0xac)](){return null;}[_0x51a970(0xa0)](){return Promise['resolve'](undefined);}}exports[_0x51a970(0xa6)]=LocalCredentials;function _0xa7f2(_0x41b9cc,_0x58bc93){const _0x23c329=_0x23c3();return _0xa7f2=function(_0xa7f2e4,_0x4d6db6){_0xa7f2e4=_0xa7f2e4-0xa0;let _0x4d1f27=_0x23c329[_0xa7f2e4];return _0x4d1f27;},_0xa7f2(_0x41b9cc,_0x58bc93);}function _0x23c3(){const _0x1c3a87=['LocalCredentials','19089312RMuPQN','113695gEEuHd','917637XffjvU','BaseCredentials','./base-credentials','getCredentials','12644Cmpcsu','2065770ANpiCx','1496344cDtTsQ','40LzqmWu','868254fcbsBn','validate','__esModule','77qeIOoT','624CTtWsl','defineProperty','36uSuVzC'];_0x23c3=function(){return _0x1c3a87;};return _0x23c3();}
1
+ 'use strict';const _0x583543=_0x1171;(function(_0x3b08f8,_0xbf4edb){const _0x3f7d42=_0x1171,_0x3380aa=_0x3b08f8();while(!![]){try{const _0x4c2e2c=-parseInt(_0x3f7d42(0x198))/0x1*(-parseInt(_0x3f7d42(0x193))/0x2)+-parseInt(_0x3f7d42(0x19b))/0x3+parseInt(_0x3f7d42(0x199))/0x4*(-parseInt(_0x3f7d42(0x19f))/0x5)+parseInt(_0x3f7d42(0x191))/0x6+parseInt(_0x3f7d42(0x19e))/0x7*(-parseInt(_0x3f7d42(0x196))/0x8)+parseInt(_0x3f7d42(0x195))/0x9+parseInt(_0x3f7d42(0x19a))/0xa;if(_0x4c2e2c===_0xbf4edb)break;else _0x3380aa['push'](_0x3380aa['shift']());}catch(_0x4a8835){_0x3380aa['push'](_0x3380aa['shift']());}}}(_0x5661,0xb79bf));Object[_0x583543(0x197)](exports,'__esModule',{'value':!![]}),exports[_0x583543(0x192)]=void 0x0;function _0x5661(){const _0x3e0342=['defineProperty','3713RRvRfI','5515188QOwVaU','9153830rHHEDl','2504301wEbbeD','getCredentials','resolve','1352701GkLkpz','5ZZWmNh','./base-credentials','validate','5705970XSaBwz','LocalCredentials','634mTuNpM','BaseCredentials','1039239rOtHxZ','8klEHhk'];_0x5661=function(){return _0x3e0342;};return _0x5661();}const base_credentials_1=require(_0x583543(0x1a0));function _0x1171(_0x19ffad,_0x5127ff){const _0x5661b7=_0x5661();return _0x1171=function(_0x117114,_0x6142b){_0x117114=_0x117114-0x191;let _0x278d9f=_0x5661b7[_0x117114];return _0x278d9f;},_0x1171(_0x19ffad,_0x5127ff);}class LocalCredentials extends base_credentials_1[_0x583543(0x194)]{[_0x583543(0x19c)](){return null;}[_0x583543(0x1a1)](){const _0x373f28=_0x583543;return Promise[_0x373f28(0x19d)](undefined);}}exports[_0x583543(0x192)]=LocalCredentials;
@@ -1 +1 @@
1
- 'use strict';function _0x41bc(_0x14b54a,_0x20f133){const _0x15cf65=_0x15cf();return _0x41bc=function(_0x41bc9d,_0x52d5e8){_0x41bc9d=_0x41bc9d-0x1cb;let _0x46327d=_0x15cf65[_0x41bc9d];return _0x46327d;},_0x41bc(_0x14b54a,_0x20f133);}const _0x20247c=_0x41bc;(function(_0x1c31f4,_0x4afd55){const _0x2cde07=_0x41bc,_0x443a00=_0x1c31f4();while(!![]){try{const _0x2a9618=-parseInt(_0x2cde07(0x1d9))/0x1+parseInt(_0x2cde07(0x1d3))/0x2+-parseInt(_0x2cde07(0x1ce))/0x3+parseInt(_0x2cde07(0x1d7))/0x4+parseInt(_0x2cde07(0x1ea))/0x5*(-parseInt(_0x2cde07(0x1ee))/0x6)+-parseInt(_0x2cde07(0x1e5))/0x7*(parseInt(_0x2cde07(0x1e8))/0x8)+parseInt(_0x2cde07(0x1cd))/0x9;if(_0x2a9618===_0x4afd55)break;else _0x443a00['push'](_0x443a00['shift']());}catch(_0x9c8576){_0x443a00['push'](_0x443a00['shift']());}}}(_0x15cf,0x198f1));var __awaiter=this&&this['__awaiter']||function(_0x3ea6e0,_0x5d34ef,_0x1765c0,_0x2cb98d){function _0x3105ab(_0x3bc75c){return _0x3bc75c instanceof _0x1765c0?_0x3bc75c:new _0x1765c0(function(_0x94c459){_0x94c459(_0x3bc75c);});}return new(_0x1765c0||(_0x1765c0=Promise))(function(_0x1f63cd,_0x236e77){const _0x1bd5d9=_0x41bc;function _0x59c455(_0x2c319e){const _0x54f949=_0x41bc;try{_0x542454(_0x2cb98d[_0x54f949(0x1dd)](_0x2c319e));}catch(_0x51b2b3){_0x236e77(_0x51b2b3);}}function _0x34dcc3(_0x213940){const _0x3dc1be=_0x41bc;try{_0x542454(_0x2cb98d[_0x3dc1be(0x1d8)](_0x213940));}catch(_0x590550){_0x236e77(_0x590550);}}function _0x542454(_0x19cfe0){const _0xe51f0f=_0x41bc;_0x19cfe0[_0xe51f0f(0x1df)]?_0x1f63cd(_0x19cfe0[_0xe51f0f(0x1ef)]):_0x3105ab(_0x19cfe0[_0xe51f0f(0x1ef)])[_0xe51f0f(0x1d5)](_0x59c455,_0x34dcc3);}_0x542454((_0x2cb98d=_0x2cb98d[_0x1bd5d9(0x1d2)](_0x3ea6e0,_0x5d34ef||[]))[_0x1bd5d9(0x1dd)]());});},__importDefault=this&&this['__importDefault']||function(_0x2357fa){return _0x2357fa&&_0x2357fa['__esModule']?_0x2357fa:{'default':_0x2357fa};};function _0x15cf(){const _0x38ca3c=['__esModule','posix','default','175PAoABc','splitOnChunks','createS3Client','52336maUGGF','../utils/aws-s3.utils','358825usRHRV','@aws-sdk/client-s3','DeleteObjectsCommand','defineProperty','12PpULPa','value','OBJECTS_PER_CHUNK','@flosum/utils','3938157YSuyPZ','428805ZYytiT','AwsS3Utils','s3Client','send','apply','202052CegkiI','split','then','bucketName','147084hkJYCZ','throw','20666vYiIrN','sep','path','credentials','next','ArrayUtils','done','getFilesPaths','AwsS3Delete'];_0x15cf=function(){return _0x38ca3c;};return _0x15cf();}Object[_0x20247c(0x1ed)](exports,_0x20247c(0x1e2),{'value':!![]}),exports[_0x20247c(0x1e1)]=void 0x0;const path_1=__importDefault(require(_0x20247c(0x1db))),utils_1=require(_0x20247c(0x1cc)),aws_s3_utils_1=require(_0x20247c(0x1e9)),_1=require('./'),client_s3_1=require(_0x20247c(0x1eb));class AwsS3Delete extends _1['BaseDelete']{constructor(_0x4d1540,_0x1a1cdb){const _0x2633cd=_0x20247c;super(_0x4d1540),this[_0x2633cd(0x1dc)]=_0x4d1540,this[_0x2633cd(0x1cb)]=0x3e8,this[_0x2633cd(0x1d0)]=aws_s3_utils_1['AwsS3Utils'][_0x2633cd(0x1e7)](_0x4d1540,_0x1a1cdb);}['execute'](_0x256845){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x51ef82=_0x41bc,_0x2c4c54=_0x256845[_0x51ef82(0x1d4)](path_1['default']['sep'])['join'](path_1[_0x51ef82(0x1e4)][_0x51ef82(0x1e3)][_0x51ef82(0x1da)]),_0x45d32d=yield aws_s3_utils_1[_0x51ef82(0x1cf)][_0x51ef82(0x1e0)](_0x2c4c54,this[_0x51ef82(0x1dc)][_0x51ef82(0x1d6)],this[_0x51ef82(0x1d0)]),_0xb57e32=utils_1[_0x51ef82(0x1de)][_0x51ef82(0x1e6)](_0x45d32d,this[_0x51ef82(0x1cb)]);for(const _0x3854d2 of _0xb57e32){const _0x591993=_0x3854d2['map'](_0x7f6802=>({'Key':_0x7f6802})),_0xfc6c4e=new client_s3_1[(_0x51ef82(0x1ec))]({'Bucket':this[_0x51ef82(0x1dc)][_0x51ef82(0x1d6)],'Delete':{'Objects':_0x591993}});yield this['s3Client'][_0x51ef82(0x1d1)](_0xfc6c4e);}});}}exports[_0x20247c(0x1e1)]=AwsS3Delete;
1
+ 'use strict';function _0x4434(){const _0x108613=['throw','576910dwIBlt','done','AwsS3Delete','send','value','__esModule','596586jxEvSJ','351966NUXhKf','12oZbhIs','2350143YyYLWk','DeleteObjectsCommand','ArrayUtils','split','apply','__awaiter','path','next','8xNgLHM','OBJECTS_PER_CHUNK','1249479tgEeqd','2xnMVTt','11IwTfBY','join','243290rxrQqy','AwsS3Utils','bucketName','@flosum/utils','posix','default','../utils/aws-s3.utils','createS3Client','s3Client','sep','credentials','1145438cHfmIw','__importDefault'];_0x4434=function(){return _0x108613;};return _0x4434();}const _0x2e3f62=_0xa631;(function(_0x1019e5,_0xe4f993){const _0x4af450=_0xa631,_0x297581=_0x1019e5();while(!![]){try{const _0x546245=parseInt(_0x4af450(0xf3))/0x1*(parseInt(_0x4af450(0xe6))/0x2)+-parseInt(_0x4af450(0xf2))/0x3+parseInt(_0x4af450(0xe7))/0x4*(parseInt(_0x4af450(0xdf))/0x5)+-parseInt(_0x4af450(0xe5))/0x6+-parseInt(_0x4af450(0x101))/0x7+-parseInt(_0x4af450(0xf0))/0x8*(-parseInt(_0x4af450(0xe8))/0x9)+parseInt(_0x4af450(0xf6))/0xa*(-parseInt(_0x4af450(0xf4))/0xb);if(_0x546245===_0xe4f993)break;else _0x297581['push'](_0x297581['shift']());}catch(_0x43b9ac){_0x297581['push'](_0x297581['shift']());}}}(_0x4434,0x3e578));var __awaiter=this&&this[_0x2e3f62(0xed)]||function(_0x1f6931,_0x5c97df,_0x480cbb,_0x5d6596){function _0x1e33d7(_0x5b494b){return _0x5b494b instanceof _0x480cbb?_0x5b494b:new _0x480cbb(function(_0xd0837){_0xd0837(_0x5b494b);});}return new(_0x480cbb||(_0x480cbb=Promise))(function(_0x5266fd,_0x275793){const _0x51578b=_0xa631;function _0x255330(_0x42d9c4){const _0x51d91d=_0xa631;try{_0x34c6b4(_0x5d6596[_0x51d91d(0xef)](_0x42d9c4));}catch(_0x5b9f5c){_0x275793(_0x5b9f5c);}}function _0x34bb96(_0x4a354d){const _0x26610a=_0xa631;try{_0x34c6b4(_0x5d6596[_0x26610a(0x103)](_0x4a354d));}catch(_0x51cac4){_0x275793(_0x51cac4);}}function _0x34c6b4(_0x580a31){const _0xe82c56=_0xa631;_0x580a31[_0xe82c56(0xe0)]?_0x5266fd(_0x580a31[_0xe82c56(0xe3)]):_0x1e33d7(_0x580a31[_0xe82c56(0xe3)])['then'](_0x255330,_0x34bb96);}_0x34c6b4((_0x5d6596=_0x5d6596[_0x51578b(0xec)](_0x1f6931,_0x5c97df||[]))['next']());});},__importDefault=this&&this[_0x2e3f62(0x102)]||function(_0x5aaad3){const _0x1c101e=_0x2e3f62;return _0x5aaad3&&_0x5aaad3[_0x1c101e(0xe4)]?_0x5aaad3:{'default':_0x5aaad3};};function _0xa631(_0x3d13d2,_0x5d8e8f){const _0x44346b=_0x4434();return _0xa631=function(_0xa63108,_0x43af4f){_0xa63108=_0xa63108-0xdf;let _0x3da5a8=_0x44346b[_0xa63108];return _0x3da5a8;},_0xa631(_0x3d13d2,_0x5d8e8f);}Object['defineProperty'](exports,_0x2e3f62(0xe4),{'value':!![]}),exports['AwsS3Delete']=void 0x0;const path_1=__importDefault(require(_0x2e3f62(0xee))),utils_1=require(_0x2e3f62(0xf9)),aws_s3_utils_1=require(_0x2e3f62(0xfc)),_1=require('./'),client_s3_1=require('@aws-sdk/client-s3');class AwsS3Delete extends _1['BaseDelete']{constructor(_0xd1ae4a,_0x14dc53){const _0x53ef0d=_0x2e3f62;super(_0xd1ae4a),this['credentials']=_0xd1ae4a,this['OBJECTS_PER_CHUNK']=0x3e8,this['s3Client']=aws_s3_utils_1[_0x53ef0d(0xf7)][_0x53ef0d(0xfd)](_0xd1ae4a,_0x14dc53);}['execute'](_0x3eaa52){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x516e1f=_0xa631,_0x5f3aa0=_0x3eaa52[_0x516e1f(0xeb)](path_1['default'][_0x516e1f(0xff)])[_0x516e1f(0xf5)](path_1[_0x516e1f(0xfb)][_0x516e1f(0xfa)][_0x516e1f(0xff)]),_0xdb60e9=yield aws_s3_utils_1[_0x516e1f(0xf7)]['getFilesPaths'](_0x5f3aa0,this[_0x516e1f(0x100)][_0x516e1f(0xf8)],this[_0x516e1f(0xfe)]),_0x9e2ed5=utils_1[_0x516e1f(0xea)]['splitOnChunks'](_0xdb60e9,this[_0x516e1f(0xf1)]);for(const _0x2d9476 of _0x9e2ed5){const _0xe65a02=_0x2d9476['map'](_0x3d67c9=>({'Key':_0x3d67c9})),_0x15c085=new client_s3_1[(_0x516e1f(0xe9))]({'Bucket':this['credentials'][_0x516e1f(0xf8)],'Delete':{'Objects':_0xe65a02}});yield this['s3Client'][_0x516e1f(0xe2)](_0x15c085);}});}}exports[_0x2e3f62(0xe1)]=AwsS3Delete;
@@ -1 +1 @@
1
- 'use strict';const _0x161ca6=_0xb172;(function(_0x427233,_0x3e0fab){const _0x98ecbf=_0xb172,_0x2e666c=_0x427233();while(!![]){try{const _0x2f7c92=-parseInt(_0x98ecbf(0xfe))/0x1*(parseInt(_0x98ecbf(0x101))/0x2)+-parseInt(_0x98ecbf(0x114))/0x3*(parseInt(_0x98ecbf(0x113))/0x4)+-parseInt(_0x98ecbf(0x10d))/0x5*(parseInt(_0x98ecbf(0xfa))/0x6)+-parseInt(_0x98ecbf(0x103))/0x7*(-parseInt(_0x98ecbf(0x102))/0x8)+parseInt(_0x98ecbf(0x115))/0x9+parseInt(_0x98ecbf(0x10f))/0xa*(-parseInt(_0x98ecbf(0x10b))/0xb)+parseInt(_0x98ecbf(0xfb))/0xc;if(_0x2f7c92===_0x3e0fab)break;else _0x2e666c['push'](_0x2e666c['shift']());}catch(_0x42d96a){_0x2e666c['push'](_0x2e666c['shift']());}}}(_0x379b,0x9cd1f));var __awaiter=this&&this[_0x161ca6(0x110)]||function(_0x3e30d9,_0x2cb9b1,_0x25838e,_0x56ea5a){function _0xeee2c8(_0x2844f3){return _0x2844f3 instanceof _0x25838e?_0x2844f3:new _0x25838e(function(_0xe35681){_0xe35681(_0x2844f3);});}return new(_0x25838e||(_0x25838e=Promise))(function(_0x5a8477,_0x23ee6c){const _0xde466e=_0xb172;function _0x108168(_0x375405){const _0x184f4d=_0xb172;try{_0xf604be(_0x56ea5a[_0x184f4d(0xff)](_0x375405));}catch(_0x202a09){_0x23ee6c(_0x202a09);}}function _0x5ce8e0(_0x1c72bb){const _0x1707ba=_0xb172;try{_0xf604be(_0x56ea5a[_0x1707ba(0x107)](_0x1c72bb));}catch(_0x553b32){_0x23ee6c(_0x553b32);}}function _0xf604be(_0x3d4da9){const _0xb7a2c=_0xb172;_0x3d4da9[_0xb7a2c(0x10e)]?_0x5a8477(_0x3d4da9[_0xb7a2c(0x109)]):_0xeee2c8(_0x3d4da9['value'])[_0xb7a2c(0x117)](_0x108168,_0x5ce8e0);}_0xf604be((_0x56ea5a=_0x56ea5a['apply'](_0x3e30d9,_0x2cb9b1||[]))[_0xde466e(0xff)]());});},__importDefault=this&&this[_0x161ca6(0x10a)]||function(_0x5b6e69){const _0xfcb716=_0x161ca6;return _0x5b6e69&&_0x5b6e69[_0xfcb716(0x105)]?_0x5b6e69:{'default':_0x5b6e69};};function _0x379b(){const _0x64ae62=['3371940ZHaLzK','default','then','AzureDelete','12VyVmuQ','23989584oyTivY','defineProperty','execute','784129HqPhJA','next','AzureUtils','2sJMJFX','629144ULoIjf','14pbNHdM','sep','__esModule','containerClient','throw','path','value','__importDefault','3199273BjMZHg','posix','634310ngHjoX','done','10QPEFeP','__awaiter','getAzureBlobsPaths','deleteBlob','4juBMAX','1680141MUYaSy'];_0x379b=function(){return _0x64ae62;};return _0x379b();}function _0xb172(_0x2e76d8,_0x5801c5){const _0x379bd8=_0x379b();return _0xb172=function(_0xb172f3,_0x5dc666){_0xb172f3=_0xb172f3-0xfa;let _0x37db0d=_0x379bd8[_0xb172f3];return _0x37db0d;},_0xb172(_0x2e76d8,_0x5801c5);}Object[_0x161ca6(0xfc)](exports,_0x161ca6(0x105),{'value':!![]}),exports[_0x161ca6(0x118)]=void 0x0;const path_1=__importDefault(require(_0x161ca6(0x108))),_1=require('./'),azure_utils_1=require('../utils/azure.utils');class AzureDelete extends _1['BaseDelete']{constructor(_0x415bc9){const _0x1ff0eb=_0x161ca6;super(_0x415bc9),this['credentials']=_0x415bc9,this[_0x1ff0eb(0x106)]=azure_utils_1[_0x1ff0eb(0x100)]['createAzureBlobContainerClient'](_0x415bc9);}[_0x161ca6(0xfd)](_0x250a5c){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x633503=_0xb172,_0x3528b6=_0x250a5c['split'](path_1[_0x633503(0x116)][_0x633503(0x104)])['join'](path_1[_0x633503(0x116)][_0x633503(0x10c)][_0x633503(0x104)]),_0x166a28=yield azure_utils_1[_0x633503(0x100)][_0x633503(0x111)](_0x3528b6,this['containerClient']);for(const _0x13c260 of _0x166a28){yield this[_0x633503(0x106)][_0x633503(0x112)](_0x13c260);}});}}exports[_0x161ca6(0x118)]=AzureDelete;
1
+ 'use strict';const _0xcd42fb=_0x48e6;(function(_0x4863b5,_0x5b7bd9){const _0x6ae512=_0x48e6,_0xcbbbdb=_0x4863b5();while(!![]){try{const _0x3af827=parseInt(_0x6ae512(0x13a))/0x1+-parseInt(_0x6ae512(0x131))/0x2*(parseInt(_0x6ae512(0x130))/0x3)+parseInt(_0x6ae512(0x142))/0x4+-parseInt(_0x6ae512(0x143))/0x5*(parseInt(_0x6ae512(0x12e))/0x6)+parseInt(_0x6ae512(0x132))/0x7*(-parseInt(_0x6ae512(0x139))/0x8)+-parseInt(_0x6ae512(0x144))/0x9*(parseInt(_0x6ae512(0x14b))/0xa)+-parseInt(_0x6ae512(0x137))/0xb*(-parseInt(_0x6ae512(0x148))/0xc);if(_0x3af827===_0x5b7bd9)break;else _0xcbbbdb['push'](_0xcbbbdb['shift']());}catch(_0x33a69e){_0xcbbbdb['push'](_0xcbbbdb['shift']());}}}(_0x3966,0x46ec9));function _0x3966(){const _0x35ef5e=['__awaiter','split','value','createAzureBlobContainerClient','AzureDelete','credentials','__importDefault','2147552qlgozq','49615BSGtOi','18bIdlHL','../utils/azure.utils','AzureUtils','BaseDelete','31404eLjeIZ','default','throw','779430pVyYVz','join','deleteBlob','next','path','containerClient','102DUDRfa','done','3iFPAtf','873604YfSkgy','7JdGzoF','execute','sep','apply','defineProperty','2629FAVWyz','__esModule','1257208AJMYIr','46684uGUMls'];_0x3966=function(){return _0x35ef5e;};return _0x3966();}function _0x48e6(_0x4c47f7,_0x1208ab){const _0x3966bc=_0x3966();return _0x48e6=function(_0x48e605,_0x239e2d){_0x48e605=_0x48e605-0x12e;let _0x364344=_0x3966bc[_0x48e605];return _0x364344;},_0x48e6(_0x4c47f7,_0x1208ab);}var __awaiter=this&&this[_0xcd42fb(0x13b)]||function(_0x45d579,_0x56274b,_0x48e1b0,_0x4bfab0){function _0x57aafe(_0x94a220){return _0x94a220 instanceof _0x48e1b0?_0x94a220:new _0x48e1b0(function(_0x46eb5c){_0x46eb5c(_0x94a220);});}return new(_0x48e1b0||(_0x48e1b0=Promise))(function(_0x41b3d7,_0x28c21f){const _0x465e66=_0x48e6;function _0x3b172a(_0x424d1a){const _0x153bcc=_0x48e6;try{_0x31beef(_0x4bfab0[_0x153bcc(0x14e)](_0x424d1a));}catch(_0x45a759){_0x28c21f(_0x45a759);}}function _0x24f992(_0x3cbf3e){const _0x58695d=_0x48e6;try{_0x31beef(_0x4bfab0[_0x58695d(0x14a)](_0x3cbf3e));}catch(_0x203b90){_0x28c21f(_0x203b90);}}function _0x31beef(_0x5e3967){const _0x5ed8c4=_0x48e6;_0x5e3967[_0x5ed8c4(0x12f)]?_0x41b3d7(_0x5e3967['value']):_0x57aafe(_0x5e3967[_0x5ed8c4(0x13d)])['then'](_0x3b172a,_0x24f992);}_0x31beef((_0x4bfab0=_0x4bfab0[_0x465e66(0x135)](_0x45d579,_0x56274b||[]))[_0x465e66(0x14e)]());});},__importDefault=this&&this[_0xcd42fb(0x141)]||function(_0x40aaee){return _0x40aaee&&_0x40aaee['__esModule']?_0x40aaee:{'default':_0x40aaee};};Object[_0xcd42fb(0x136)](exports,_0xcd42fb(0x138),{'value':!![]}),exports[_0xcd42fb(0x13f)]=void 0x0;const path_1=__importDefault(require(_0xcd42fb(0x14f))),_1=require('./'),azure_utils_1=require(_0xcd42fb(0x145));class AzureDelete extends _1[_0xcd42fb(0x147)]{constructor(_0x4a06e1){const _0x346962=_0xcd42fb;super(_0x4a06e1),this[_0x346962(0x140)]=_0x4a06e1,this['containerClient']=azure_utils_1[_0x346962(0x146)][_0x346962(0x13e)](_0x4a06e1);}[_0xcd42fb(0x133)](_0x33c72c){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2bd180=_0x48e6,_0x44d755=_0x33c72c[_0x2bd180(0x13c)](path_1[_0x2bd180(0x149)][_0x2bd180(0x134)])[_0x2bd180(0x14c)](path_1['default']['posix'][_0x2bd180(0x134)]),_0x2292f9=yield azure_utils_1[_0x2bd180(0x146)]['getAzureBlobsPaths'](_0x44d755,this['containerClient']);for(const _0x57b78c of _0x2292f9){yield this[_0x2bd180(0x150)][_0x2bd180(0x14d)](_0x57b78c);}});}}exports[_0xcd42fb(0x13f)]=AzureDelete;
@@ -1 +1 @@
1
- 'use strict';var _0x32dcfc=_0x7021;(function(_0x54247f,_0x155b3b){var _0x2650fb=_0x7021,_0x41be77=_0x54247f();while(!![]){try{var _0x4c29c2=parseInt(_0x2650fb(0xf5))/0x1+parseInt(_0x2650fb(0xf9))/0x2+parseInt(_0x2650fb(0xf7))/0x3*(parseInt(_0x2650fb(0xf6))/0x4)+parseInt(_0x2650fb(0xf1))/0x5*(parseInt(_0x2650fb(0xef))/0x6)+-parseInt(_0x2650fb(0xfb))/0x7+-parseInt(_0x2650fb(0xf0))/0x8*(parseInt(_0x2650fb(0xf4))/0x9)+-parseInt(_0x2650fb(0xf3))/0xa;if(_0x4c29c2===_0x155b3b)break;else _0x41be77['push'](_0x41be77['shift']());}catch(_0xed51a7){_0x41be77['push'](_0x41be77['shift']());}}}(_0x1746,0x8f0f2));function _0x7021(_0x137d8a,_0x193b7e){var _0x174641=_0x1746();return _0x7021=function(_0x702163,_0x36d990){_0x702163=_0x702163-0xef;var _0x1ce2e1=_0x174641[_0x702163];return _0x1ce2e1;},_0x7021(_0x137d8a,_0x193b7e);}Object[_0x32dcfc(0xfa)](exports,'__esModule',{'value':!![]}),exports[_0x32dcfc(0xf2)]=void 0x0;class BaseDelete{constructor(_0x53687a){var _0x234e64=_0x32dcfc;this[_0x234e64(0xf8)]=_0x53687a;}}exports[_0x32dcfc(0xf2)]=BaseDelete;function _0x1746(){var _0x557db6=['1077940ofAlpL','1422FVEDFQ','135798qGPlYH','20oPixcr','228786nDzHXM','credentials','726852lYrzBk','defineProperty','753795QiOyVK','186ALJBIi','20016DSUKDV','51005fFjtLd','BaseDelete'];_0x1746=function(){return _0x557db6;};return _0x1746();}
1
+ 'use strict';var _0x31b599=_0x498c;function _0x498c(_0x2c1911,_0x5e623d){var _0x52fae5=_0x52fa();return _0x498c=function(_0x498c4f,_0xe80c21){_0x498c4f=_0x498c4f-0xed;var _0x31a0b5=_0x52fae5[_0x498c4f];return _0x31a0b5;},_0x498c(_0x2c1911,_0x5e623d);}(function(_0x1d2195,_0x2a0309){var _0x24cd3d=_0x498c,_0x219488=_0x1d2195();while(!![]){try{var _0xd63d6f=parseInt(_0x24cd3d(0xf6))/0x1+parseInt(_0x24cd3d(0xf4))/0x2*(parseInt(_0x24cd3d(0xf5))/0x3)+parseInt(_0x24cd3d(0xfa))/0x4*(-parseInt(_0x24cd3d(0xf0))/0x5)+-parseInt(_0x24cd3d(0xfb))/0x6+parseInt(_0x24cd3d(0xed))/0x7*(-parseInt(_0x24cd3d(0xf9))/0x8)+-parseInt(_0x24cd3d(0xef))/0x9*(parseInt(_0x24cd3d(0xf7))/0xa)+parseInt(_0x24cd3d(0xf8))/0xb;if(_0xd63d6f===_0x2a0309)break;else _0x219488['push'](_0x219488['shift']());}catch(_0x1dbd27){_0x219488['push'](_0x219488['shift']());}}}(_0x52fa,0x5b58c));Object[_0x31b599(0xf1)](exports,_0x31b599(0xee),{'value':!![]}),exports[_0x31b599(0xf2)]=void 0x0;class BaseDelete{constructor(_0x4ff268){var _0x59f8e1=_0x31b599;this[_0x59f8e1(0xf3)]=_0x4ff268;}}function _0x52fa(){var _0x1adfb1=['7cbNhDn','__esModule','27XnHpLT','1574670LXpxyL','defineProperty','BaseDelete','credentials','6DQcLqU','365655gaWuFW','688630OVcFrm','2059190rddSOv','15950198xoBjkV','5696104ozQqtk','8ASREib','1023054kdYwWG'];_0x52fa=function(){return _0x1adfb1;};return _0x52fa();}exports['BaseDelete']=BaseDelete;
@@ -1 +1 @@
1
- 'use strict';var _0x4f6b7b=_0x3e37;function _0x3e37(_0x2b3770,_0x48a70e){var _0x2d7003=_0x2d70();return _0x3e37=function(_0x3e37fe,_0x318291){_0x3e37fe=_0x3e37fe-0x1cd;var _0x2a101c=_0x2d7003[_0x3e37fe];return _0x2a101c;},_0x3e37(_0x2b3770,_0x48a70e);}(function(_0x52df38,_0x4f20ba){var _0x52ced8=_0x3e37,_0x2e9be7=_0x52df38();while(!![]){try{var _0x1cda8c=-parseInt(_0x52ced8(0x1e1))/0x1+parseInt(_0x52ced8(0x1d7))/0x2*(parseInt(_0x52ced8(0x1db))/0x3)+parseInt(_0x52ced8(0x1ce))/0x4*(parseInt(_0x52ced8(0x1d0))/0x5)+-parseInt(_0x52ced8(0x1d5))/0x6*(-parseInt(_0x52ced8(0x1d4))/0x7)+parseInt(_0x52ced8(0x1d9))/0x8+-parseInt(_0x52ced8(0x1cd))/0x9+-parseInt(_0x52ced8(0x1cf))/0xa*(parseInt(_0x52ced8(0x1d3))/0xb);if(_0x1cda8c===_0x4f20ba)break;else _0x2e9be7['push'](_0x2e9be7['shift']());}catch(_0xcd99c6){_0x2e9be7['push'](_0x2e9be7['shift']());}}}(_0x2d70,0x46f3c));Object[_0x4f6b7b(0x1dd)](exports,_0x4f6b7b(0x1d1),{'value':!![]}),exports[_0x4f6b7b(0x1d2)]=exports['LocalDelete']=exports[_0x4f6b7b(0x1da)]=exports[_0x4f6b7b(0x1dc)]=void 0x0;var base_delete_1=require(_0x4f6b7b(0x1d6));Object[_0x4f6b7b(0x1dd)](exports,_0x4f6b7b(0x1dc),{'enumerable':!![],'get':function(){var _0x29f339=_0x4f6b7b;return base_delete_1[_0x29f339(0x1dc)];}});var aws_s3_delete_1=require(_0x4f6b7b(0x1d8));function _0x2d70(){var _0x2fedac=['3377016STJsIs','231980sLubHS','20dGmtDJ','10ZBonCM','__esModule','AzureDelete','665863NnWpiP','770IbEgYS','21900zbuwWJ','./base-delete','556qmElQH','./aws-s3-delete','4058400mREijr','AwsS3Delete','2391MYVsXH','BaseDelete','defineProperty','LocalDelete','./local-delete','./azure-delete','459446TdIYnP'];_0x2d70=function(){return _0x2fedac;};return _0x2d70();}Object[_0x4f6b7b(0x1dd)](exports,_0x4f6b7b(0x1da),{'enumerable':!![],'get':function(){var _0x1b0a45=_0x4f6b7b;return aws_s3_delete_1[_0x1b0a45(0x1da)];}});var local_delete_1=require(_0x4f6b7b(0x1df));Object['defineProperty'](exports,'LocalDelete',{'enumerable':!![],'get':function(){var _0x15c01c=_0x4f6b7b;return local_delete_1[_0x15c01c(0x1de)];}});var azure_delete_1=require(_0x4f6b7b(0x1e0));Object[_0x4f6b7b(0x1dd)](exports,'AzureDelete',{'enumerable':!![],'get':function(){var _0x4eccbf=_0x4f6b7b;return azure_delete_1[_0x4eccbf(0x1d2)];}});
1
+ 'use strict';var _0x3bc658=_0x23e8;function _0x23e8(_0x1b485b,_0x2af61d){var _0x133748=_0x1337();return _0x23e8=function(_0x23e869,_0xe3a77b){_0x23e869=_0x23e869-0x73;var _0x5c983c=_0x133748[_0x23e869];return _0x5c983c;},_0x23e8(_0x1b485b,_0x2af61d);}(function(_0x469e15,_0x3cd266){var _0x2509f4=_0x23e8,_0x257777=_0x469e15();while(!![]){try{var _0xb6b893=parseInt(_0x2509f4(0x85))/0x1+parseInt(_0x2509f4(0x80))/0x2+-parseInt(_0x2509f4(0x7d))/0x3+parseInt(_0x2509f4(0x81))/0x4*(parseInt(_0x2509f4(0x76))/0x5)+parseInt(_0x2509f4(0x86))/0x6*(-parseInt(_0x2509f4(0x73))/0x7)+parseInt(_0x2509f4(0x7f))/0x8*(-parseInt(_0x2509f4(0x7c))/0x9)+-parseInt(_0x2509f4(0x7b))/0xa*(parseInt(_0x2509f4(0x82))/0xb);if(_0xb6b893===_0x3cd266)break;else _0x257777['push'](_0x257777['shift']());}catch(_0x3c6b59){_0x257777['push'](_0x257777['shift']());}}}(_0x1337,0x5bdae));function _0x1337(){var _0x36a441=['1052346WnfVib','7CiXlDD','./local-delete','AzureDelete','410TQFEEO','BaseDelete','LocalDelete','__esModule','AwsS3Delete','14370KSDDqX','2871wQmDDC','370371RshjKM','./aws-s3-delete','11960AcAskJ','1204986rNVBAN','25196OOjfkh','11KFmZZW','./azure-delete','defineProperty','34417sSoFmO'];_0x1337=function(){return _0x36a441;};return _0x1337();}Object['defineProperty'](exports,_0x3bc658(0x79),{'value':!![]}),exports[_0x3bc658(0x75)]=exports[_0x3bc658(0x78)]=exports[_0x3bc658(0x7a)]=exports[_0x3bc658(0x77)]=void 0x0;var base_delete_1=require('./base-delete');Object[_0x3bc658(0x84)](exports,_0x3bc658(0x77),{'enumerable':!![],'get':function(){return base_delete_1['BaseDelete'];}});var aws_s3_delete_1=require(_0x3bc658(0x7e));Object[_0x3bc658(0x84)](exports,'AwsS3Delete',{'enumerable':!![],'get':function(){return aws_s3_delete_1['AwsS3Delete'];}});var local_delete_1=require(_0x3bc658(0x74));Object[_0x3bc658(0x84)](exports,_0x3bc658(0x78),{'enumerable':!![],'get':function(){var _0x13aea2=_0x3bc658;return local_delete_1[_0x13aea2(0x78)];}});var azure_delete_1=require(_0x3bc658(0x83));Object[_0x3bc658(0x84)](exports,'AzureDelete',{'enumerable':!![],'get':function(){return azure_delete_1['AzureDelete'];}});
@@ -1 +1 @@
1
- 'use strict';const _0x4c8cf5=_0x2d3e;(function(_0x57ff72,_0x1ff646){const _0xa056d1=_0x2d3e,_0x348dc6=_0x57ff72();while(!![]){try{const _0x1ec1e2=parseInt(_0xa056d1(0x1e6))/0x1+parseInt(_0xa056d1(0x1e3))/0x2*(-parseInt(_0xa056d1(0x1ec))/0x3)+parseInt(_0xa056d1(0x1f3))/0x4+-parseInt(_0xa056d1(0x1eb))/0x5+parseInt(_0xa056d1(0x1ef))/0x6+parseInt(_0xa056d1(0x1e7))/0x7*(parseInt(_0xa056d1(0x1f2))/0x8)+-parseInt(_0xa056d1(0x1f0))/0x9;if(_0x1ec1e2===_0x1ff646)break;else _0x348dc6['push'](_0x348dc6['shift']());}catch(_0x31f4b8){_0x348dc6['push'](_0x348dc6['shift']());}}}(_0x14bf,0x6d085));var __awaiter=this&&this['__awaiter']||function(_0x37395a,_0x47e0e5,_0x5bcaae,_0x1ed7fd){function _0x178ea8(_0x3283fc){return _0x3283fc instanceof _0x5bcaae?_0x3283fc:new _0x5bcaae(function(_0x123f5d){_0x123f5d(_0x3283fc);});}return new(_0x5bcaae||(_0x5bcaae=Promise))(function(_0x24161f,_0x384262){const _0x4bdd11=_0x2d3e;function _0x4d8457(_0x2305c5){const _0x13349c=_0x2d3e;try{_0x32305(_0x1ed7fd[_0x13349c(0x1e8)](_0x2305c5));}catch(_0x302ce0){_0x384262(_0x302ce0);}}function _0x25115d(_0x1dd287){const _0x577231=_0x2d3e;try{_0x32305(_0x1ed7fd[_0x577231(0x1ea)](_0x1dd287));}catch(_0x1df83a){_0x384262(_0x1df83a);}}function _0x32305(_0x350f97){const _0x57021d=_0x2d3e;_0x350f97[_0x57021d(0x1e9)]?_0x24161f(_0x350f97[_0x57021d(0x1f5)]):_0x178ea8(_0x350f97['value'])[_0x57021d(0x1e1)](_0x4d8457,_0x25115d);}_0x32305((_0x1ed7fd=_0x1ed7fd[_0x4bdd11(0x1f1)](_0x37395a,_0x47e0e5||[]))[_0x4bdd11(0x1e8)]());});};function _0x14bf(){const _0x23b1a1=['fs/promises','853114MzwaUU','29197HIsRzx','next','done','throw','1953730KQNErj','86433KWEDWo','__esModule','FsUtils','2448768wKRNcw','12185955BeWSlC','apply','1472fvEGCo','1687724poiwEj','isExistsPath','value','LocalDelete','then','defineProperty','18KSpiWc','BaseDelete'];_0x14bf=function(){return _0x23b1a1;};return _0x14bf();}function _0x2d3e(_0x2a2e42,_0x259111){const _0x14bfd1=_0x14bf();return _0x2d3e=function(_0x2d3e8d,_0x3b2792){_0x2d3e8d=_0x2d3e8d-0x1e1;let _0x87084a=_0x14bfd1[_0x2d3e8d];return _0x87084a;},_0x2d3e(_0x2a2e42,_0x259111);}Object[_0x4c8cf5(0x1e2)](exports,_0x4c8cf5(0x1ed),{'value':!![]}),exports['LocalDelete']=void 0x0;const promises_1=require(_0x4c8cf5(0x1e5)),utils_1=require('@flosum/utils'),_1=require('./');class LocalDelete extends _1[_0x4c8cf5(0x1e4)]{['execute'](_0x50075b){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4b8e2a=_0x2d3e;if(yield utils_1[_0x4b8e2a(0x1ee)][_0x4b8e2a(0x1f4)](_0x50075b))yield(0x0,promises_1['rm'])(_0x50075b,{'recursive':!![]});});}}exports[_0x4c8cf5(0x1f6)]=LocalDelete;
1
+ 'use strict';const _0x58035e=_0x361b;(function(_0x137491,_0x1c1b04){const _0x4e13ef=_0x361b,_0x4c0332=_0x137491();while(!![]){try{const _0x2af790=parseInt(_0x4e13ef(0x1ee))/0x1*(parseInt(_0x4e13ef(0x1f6))/0x2)+-parseInt(_0x4e13ef(0x1ed))/0x3+-parseInt(_0x4e13ef(0x1e9))/0x4+parseInt(_0x4e13ef(0x1f8))/0x5+parseInt(_0x4e13ef(0x1f2))/0x6+parseInt(_0x4e13ef(0x1f5))/0x7+-parseInt(_0x4e13ef(0x1f0))/0x8;if(_0x2af790===_0x1c1b04)break;else _0x4c0332['push'](_0x4c0332['shift']());}catch(_0x313389){_0x4c0332['push'](_0x4c0332['shift']());}}}(_0x43f8,0xcf7e4));function _0x361b(_0x29126e,_0x5c3a1f){const _0x43f84a=_0x43f8();return _0x361b=function(_0x361b0d,_0x2b93bb){_0x361b0d=_0x361b0d-0x1e8;let _0x4d3d75=_0x43f84a[_0x361b0d];return _0x4d3d75;},_0x361b(_0x29126e,_0x5c3a1f);}var __awaiter=this&&this['__awaiter']||function(_0x3ece37,_0x92364b,_0xeaf3f7,_0x406db4){function _0x39882c(_0x230707){return _0x230707 instanceof _0xeaf3f7?_0x230707:new _0xeaf3f7(function(_0x22f9d6){_0x22f9d6(_0x230707);});}return new(_0xeaf3f7||(_0xeaf3f7=Promise))(function(_0x44ad29,_0x22a857){const _0x11fc7e=_0x361b;function _0x4f46aa(_0x1891a4){try{_0x56e97f(_0x406db4['next'](_0x1891a4));}catch(_0x4a04b){_0x22a857(_0x4a04b);}}function _0x2cfd1c(_0x9c23c1){const _0x38d871=_0x361b;try{_0x56e97f(_0x406db4[_0x38d871(0x1f1)](_0x9c23c1));}catch(_0x52c1df){_0x22a857(_0x52c1df);}}function _0x56e97f(_0x385179){const _0x56fee5=_0x361b;_0x385179[_0x56fee5(0x1fc)]?_0x44ad29(_0x385179['value']):_0x39882c(_0x385179[_0x56fee5(0x1eb)])[_0x56fee5(0x1f4)](_0x4f46aa,_0x2cfd1c);}_0x56e97f((_0x406db4=_0x406db4[_0x11fc7e(0x1fa)](_0x3ece37,_0x92364b||[]))[_0x11fc7e(0x1fb)]());});};Object[_0x58035e(0x1e8)](exports,'__esModule',{'value':!![]}),exports[_0x58035e(0x1f7)]=void 0x0;function _0x43f8(){const _0x1f7f7f=['235783OjvBsR','FsUtils','12135168wViIRl','throw','7542480yAkZnO','@flosum/utils','then','9442468umnDqH','4VANeOm','LocalDelete','1179840XLSysp','isExistsPath','apply','next','done','defineProperty','3390860JKXAaE','execute','value','fs/promises','297105InMByP'];_0x43f8=function(){return _0x1f7f7f;};return _0x43f8();}const promises_1=require(_0x58035e(0x1ec)),utils_1=require(_0x58035e(0x1f3)),_1=require('./');class LocalDelete extends _1['BaseDelete']{[_0x58035e(0x1ea)](_0x279c6f){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4fb316=_0x361b;if(yield utils_1[_0x4fb316(0x1ef)][_0x4fb316(0x1f9)](_0x279c6f))yield(0x0,promises_1['rm'])(_0x279c6f,{'recursive':!![]});});}}exports[_0x58035e(0x1f7)]=LocalDelete;
@@ -1 +1 @@
1
- 'use strict';function _0x3b0d(){const _0xf84ba1=['upload','1593155UBjcTy','__importDefault','value','AwsS3Deploy','bucketName','1302jJkTct','BaseDeploy','default','4776InnKDV','path','posix','execute','267348JYMZRX','../utils/aws-s3.utils','__esModule','join','defineProperty','AwsS3Utils','apply','createS3Client','792711MONQSi','next','sep','split','48qssiTF','367366hqauVX','__awaiter','298068hoPVYD','3Nidnud','@aws-sdk/lib-storage','credentials','1798980ELNAsr','done','throw','s3Client'];_0x3b0d=function(){return _0xf84ba1;};return _0x3b0d();}const _0x543df4=_0x3aef;(function(_0xcf6664,_0x19363b){const _0x3b9a8a=_0x3aef,_0x412b31=_0xcf6664();while(!![]){try{const _0x5ccaae=-parseInt(_0x3b9a8a(0x1c0))/0x1*(parseInt(_0x3b9a8a(0x1bd))/0x2)+-parseInt(_0x3b9a8a(0x1bf))/0x3+parseInt(_0x3b9a8a(0x1d4))/0x4+parseInt(_0x3b9a8a(0x1c8))/0x5+-parseInt(_0x3b9a8a(0x1d0))/0x6*(parseInt(_0x3b9a8a(0x1cd))/0x7)+parseInt(_0x3b9a8a(0x1bc))/0x8*(parseInt(_0x3b9a8a(0x1b8))/0x9)+parseInt(_0x3b9a8a(0x1c3))/0xa;if(_0x5ccaae===_0x19363b)break;else _0x412b31['push'](_0x412b31['shift']());}catch(_0x124518){_0x412b31['push'](_0x412b31['shift']());}}}(_0x3b0d,0x481d3));var __awaiter=this&&this[_0x543df4(0x1be)]||function(_0x38428f,_0x340d8b,_0x27306f,_0x3370f1){function _0x536a41(_0xb505f9){return _0xb505f9 instanceof _0x27306f?_0xb505f9:new _0x27306f(function(_0x3a242c){_0x3a242c(_0xb505f9);});}return new(_0x27306f||(_0x27306f=Promise))(function(_0x2ba55f,_0xa7d5a){const _0x89a4f5=_0x3aef;function _0x4f0147(_0x42ff01){const _0x53d39d=_0x3aef;try{_0x490676(_0x3370f1[_0x53d39d(0x1b9)](_0x42ff01));}catch(_0x512172){_0xa7d5a(_0x512172);}}function _0x22f741(_0x4f0c23){const _0x40f0cf=_0x3aef;try{_0x490676(_0x3370f1[_0x40f0cf(0x1c5)](_0x4f0c23));}catch(_0x64bebb){_0xa7d5a(_0x64bebb);}}function _0x490676(_0x3e6af4){const _0x20b0f3=_0x3aef;_0x3e6af4[_0x20b0f3(0x1c4)]?_0x2ba55f(_0x3e6af4[_0x20b0f3(0x1ca)]):_0x536a41(_0x3e6af4[_0x20b0f3(0x1ca)])['then'](_0x4f0147,_0x22f741);}_0x490676((_0x3370f1=_0x3370f1[_0x89a4f5(0x1b6)](_0x38428f,_0x340d8b||[]))[_0x89a4f5(0x1b9)]());});},__importDefault=this&&this[_0x543df4(0x1c9)]||function(_0x2e63ce){const _0x18e2b7=_0x543df4;return _0x2e63ce&&_0x2e63ce[_0x18e2b7(0x1d6)]?_0x2e63ce:{'default':_0x2e63ce};};Object[_0x543df4(0x1b4)](exports,_0x543df4(0x1d6),{'value':!![]}),exports[_0x543df4(0x1cb)]=void 0x0;const path_1=__importDefault(require(_0x543df4(0x1d1))),_1=require('./'),lib_storage_1=require(_0x543df4(0x1c1)),aws_s3_utils_1=require(_0x543df4(0x1d5));class AwsS3Deploy extends _1[_0x543df4(0x1ce)]{constructor(_0x466dce,_0x3b80b2,_0xe25c3a){const _0x50330c=_0x543df4;super(_0x466dce),this[_0x50330c(0x1c2)]=_0x466dce,this['storageClass']=_0x3b80b2,this[_0x50330c(0x1c6)]=aws_s3_utils_1[_0x50330c(0x1b5)][_0x50330c(0x1b7)](_0x466dce,_0xe25c3a);}[_0x543df4(0x1c7)](_0x335096,_0x51e7c2){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5aadbf=_0x3aef,_0x3f44fe=new lib_storage_1['Upload']({'client':this[_0x5aadbf(0x1c6)],'params':{'Bucket':this['credentials'][_0x5aadbf(0x1cc)],'Key':_0x51e7c2,'Body':_0x335096,'StorageClass':this['storageClass']}});yield _0x3f44fe[_0x5aadbf(0x1c4)]();});}[_0x543df4(0x1d3)](_0x41b17e,_0x5c8f87){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5f2331=_0x3aef;try{const _0x998e5b=_0x5c8f87[_0x5f2331(0x1bb)](path_1[_0x5f2331(0x1cf)][_0x5f2331(0x1ba)])[_0x5f2331(0x1d7)](path_1[_0x5f2331(0x1cf)][_0x5f2331(0x1d2)][_0x5f2331(0x1ba)]);yield this[_0x5f2331(0x1c7)](_0x41b17e,_0x998e5b);}catch(_0x3e5b96){throw _0x3e5b96;}});}}function _0x3aef(_0x7820d1,_0x362df8){const _0x3b0da4=_0x3b0d();return _0x3aef=function(_0x3aeffd,_0x4fa680){_0x3aeffd=_0x3aeffd-0x1b4;let _0x195d3c=_0x3b0da4[_0x3aeffd];return _0x195d3c;},_0x3aef(_0x7820d1,_0x362df8);}exports['AwsS3Deploy']=AwsS3Deploy;
1
+ 'use strict';const _0x3c60d6=_0x59d8;(function(_0x5a5109,_0x5edf10){const _0x4c0ff3=_0x59d8,_0xe45eae=_0x5a5109();while(!![]){try{const _0x239b8b=-parseInt(_0x4c0ff3(0xac))/0x1+parseInt(_0x4c0ff3(0xba))/0x2*(parseInt(_0x4c0ff3(0xbd))/0x3)+parseInt(_0x4c0ff3(0x9e))/0x4+parseInt(_0x4c0ff3(0xc0))/0x5*(-parseInt(_0x4c0ff3(0xb2))/0x6)+-parseInt(_0x4c0ff3(0xa1))/0x7*(-parseInt(_0x4c0ff3(0xbe))/0x8)+-parseInt(_0x4c0ff3(0xb8))/0x9*(parseInt(_0x4c0ff3(0xbf))/0xa)+-parseInt(_0x4c0ff3(0xb1))/0xb*(-parseInt(_0x4c0ff3(0xa8))/0xc);if(_0x239b8b===_0x5edf10)break;else _0xe45eae['push'](_0xe45eae['shift']());}catch(_0xd4ff73){_0xe45eae['push'](_0xe45eae['shift']());}}}(_0x530c,0xd8caa));function _0x530c(){const _0x716acb=['bucketName','credentials','7udRpDR','__awaiter','apply','__importDefault','BaseDeploy','defineProperty','default','13314684ZxvxlF','createS3Client','upload','__esModule','975275uXQHAm','sep','next','AwsS3Utils','join','11VqZEKU','598368esymjk','storageClass','value','done','s3Client','then','9eJPDPT','../utils/aws-s3.utils','178WBsXao','AwsS3Deploy','Upload','30165bsHdRm','5199352dLHIlJ','3956930Mrbafs','25WbIDzy','path','412860MYKiLu'];_0x530c=function(){return _0x716acb;};return _0x530c();}function _0x59d8(_0x1caa72,_0x1d85a4){const _0x530c4b=_0x530c();return _0x59d8=function(_0x59d8d3,_0x195413){_0x59d8d3=_0x59d8d3-0x9e;let _0x2f088a=_0x530c4b[_0x59d8d3];return _0x2f088a;},_0x59d8(_0x1caa72,_0x1d85a4);}var __awaiter=this&&this[_0x3c60d6(0xa2)]||function(_0x3a6adf,_0x460dae,_0x54f3e0,_0x16d131){function _0x980229(_0x45ee72){return _0x45ee72 instanceof _0x54f3e0?_0x45ee72:new _0x54f3e0(function(_0x36315f){_0x36315f(_0x45ee72);});}return new(_0x54f3e0||(_0x54f3e0=Promise))(function(_0x1c9f27,_0x2a241d){const _0x55e6cb=_0x59d8;function _0x3df074(_0x540788){const _0x279a90=_0x59d8;try{_0x1a7744(_0x16d131[_0x279a90(0xae)](_0x540788));}catch(_0x1f30ab){_0x2a241d(_0x1f30ab);}}function _0x2dbac7(_0x2a3ca8){try{_0x1a7744(_0x16d131['throw'](_0x2a3ca8));}catch(_0x414c8f){_0x2a241d(_0x414c8f);}}function _0x1a7744(_0x124f8e){const _0x2ebb57=_0x59d8;_0x124f8e[_0x2ebb57(0xb5)]?_0x1c9f27(_0x124f8e[_0x2ebb57(0xb4)]):_0x980229(_0x124f8e[_0x2ebb57(0xb4)])[_0x2ebb57(0xb7)](_0x3df074,_0x2dbac7);}_0x1a7744((_0x16d131=_0x16d131[_0x55e6cb(0xa3)](_0x3a6adf,_0x460dae||[]))[_0x55e6cb(0xae)]());});},__importDefault=this&&this[_0x3c60d6(0xa4)]||function(_0x4dbfa8){const _0xad2772=_0x3c60d6;return _0x4dbfa8&&_0x4dbfa8[_0xad2772(0xab)]?_0x4dbfa8:{'default':_0x4dbfa8};};Object[_0x3c60d6(0xa6)](exports,_0x3c60d6(0xab),{'value':!![]}),exports[_0x3c60d6(0xbb)]=void 0x0;const path_1=__importDefault(require(_0x3c60d6(0xc1))),_1=require('./'),lib_storage_1=require('@aws-sdk/lib-storage'),aws_s3_utils_1=require(_0x3c60d6(0xb9));class AwsS3Deploy extends _1[_0x3c60d6(0xa5)]{constructor(_0x22e940,_0x38bb08,_0x2a8c7a){const _0x1782b7=_0x3c60d6;super(_0x22e940),this['credentials']=_0x22e940,this['storageClass']=_0x38bb08,this[_0x1782b7(0xb6)]=aws_s3_utils_1[_0x1782b7(0xaf)][_0x1782b7(0xa9)](_0x22e940,_0x2a8c7a);}[_0x3c60d6(0xaa)](_0xc9d0a7,_0x3819f2){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x151414=_0x59d8,_0x395e60=new lib_storage_1[(_0x151414(0xbc))]({'client':this[_0x151414(0xb6)],'params':{'Bucket':this[_0x151414(0xa0)][_0x151414(0x9f)],'Key':_0x3819f2,'Body':_0xc9d0a7,'StorageClass':this[_0x151414(0xb3)]}});yield _0x395e60[_0x151414(0xb5)]();});}['execute'](_0x5591c1,_0x155e37){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4333e9=_0x59d8;try{const _0x2505d5=_0x155e37['split'](path_1['default'][_0x4333e9(0xad)])[_0x4333e9(0xb0)](path_1[_0x4333e9(0xa7)]['posix']['sep']);yield this[_0x4333e9(0xaa)](_0x5591c1,_0x2505d5);}catch(_0xf3e168){throw _0xf3e168;}});}}exports[_0x3c60d6(0xbb)]=AwsS3Deploy;
@@ -1 +1 @@
1
- 'use strict';const _0x49e29e=_0x3123;(function(_0x4e20b7,_0x168b4e){const _0x21cfb4=_0x3123,_0x1b703d=_0x4e20b7();while(!![]){try{const _0x1633d0=parseInt(_0x21cfb4(0x1ca))/0x1+-parseInt(_0x21cfb4(0x1d4))/0x2+parseInt(_0x21cfb4(0x1d8))/0x3*(parseInt(_0x21cfb4(0x1c3))/0x4)+-parseInt(_0x21cfb4(0x1d9))/0x5+parseInt(_0x21cfb4(0x1d0))/0x6+-parseInt(_0x21cfb4(0x1c8))/0x7+-parseInt(_0x21cfb4(0x1db))/0x8*(-parseInt(_0x21cfb4(0x1d5))/0x9);if(_0x1633d0===_0x168b4e)break;else _0x1b703d['push'](_0x1b703d['shift']());}catch(_0x5deac7){_0x1b703d['push'](_0x1b703d['shift']());}}}(_0x295f,0xc032b));function _0x3123(_0x3cfbcb,_0x11a1c7){const _0x295f04=_0x295f();return _0x3123=function(_0x31236a,_0x2f96a9){_0x31236a=_0x31236a-0x1bf;let _0x146e46=_0x295f04[_0x31236a];return _0x146e46;},_0x3123(_0x3cfbcb,_0x11a1c7);}var __awaiter=this&&this['__awaiter']||function(_0x4d96ee,_0x530d31,_0x534d9c,_0x495d8e){function _0x25e339(_0xf777f9){return _0xf777f9 instanceof _0x534d9c?_0xf777f9:new _0x534d9c(function(_0x1ba959){_0x1ba959(_0xf777f9);});}return new(_0x534d9c||(_0x534d9c=Promise))(function(_0x2bfdc9,_0x3aa1b3){const _0xc487d=_0x3123;function _0x3c31d6(_0x37d58c){try{_0xc1c02(_0x495d8e['next'](_0x37d58c));}catch(_0x43a960){_0x3aa1b3(_0x43a960);}}function _0xb4bfb7(_0x57bea0){const _0x3cf08b=_0x3123;try{_0xc1c02(_0x495d8e[_0x3cf08b(0x1d6)](_0x57bea0));}catch(_0x4db8cf){_0x3aa1b3(_0x4db8cf);}}function _0xc1c02(_0x3159cb){const _0x1a986b=_0x3123;_0x3159cb[_0x1a986b(0x1c2)]?_0x2bfdc9(_0x3159cb[_0x1a986b(0x1c9)]):_0x25e339(_0x3159cb[_0x1a986b(0x1c9)])[_0x1a986b(0x1c0)](_0x3c31d6,_0xb4bfb7);}_0xc1c02((_0x495d8e=_0x495d8e[_0xc487d(0x1da)](_0x4d96ee,_0x530d31||[]))['next']());});},__importDefault=this&&this['__importDefault']||function(_0x589aa6){const _0x114ced=_0x3123;return _0x589aa6&&_0x589aa6[_0x114ced(0x1d7)]?_0x589aa6:{'default':_0x589aa6};};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x49e29e(0x1d2)]=void 0x0;const path_1=__importDefault(require(_0x49e29e(0x1c6))),_1=require('./'),azure_utils_1=require(_0x49e29e(0x1c7));function _0x295f(){const _0xf4988e=['value','72578LnNhJh','byteLength','uploadStream','upload','posix','createAzureBlobContainerClient','1841982mYeclb','credentials','AzureDeploy','sep','971908hxdylj','2907PnFhvO','throw','__esModule','103707vkgLLQ','5987930gcsDZM','apply','31904LagOhS','default','join','then','BaseDeploy','done','124AwqxcZ','containerClient','execute','path','../utils/azure.utils','1879885BRMkDN'];_0x295f=function(){return _0xf4988e;};return _0x295f();}class AzureDeploy extends _1[_0x49e29e(0x1c1)]{constructor(_0x2011bf){const _0x22cf41=_0x49e29e;super(_0x2011bf),this['credentials']=_0x2011bf,this[_0x22cf41(0x1c4)]=azure_utils_1['AzureUtils'][_0x22cf41(0x1cf)](this[_0x22cf41(0x1d1)]);}[_0x49e29e(0x1cd)](_0xe96740,_0x5b3c9e){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5a587b=_0x3123,_0x40dddf=this[_0x5a587b(0x1c4)]['getBlockBlobClient'](_0x5b3c9e);_0xe96740 instanceof Buffer?yield _0x40dddf['upload'](_0xe96740,_0xe96740[_0x5a587b(0x1cb)]):yield _0x40dddf[_0x5a587b(0x1cc)](_0xe96740);});}[_0x49e29e(0x1c5)](_0x4dc934,_0x5b35ef){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2343ad=_0x3123,_0x526afc=_0x5b35ef['split'](path_1['default'][_0x2343ad(0x1d3)])[_0x2343ad(0x1bf)](path_1[_0x2343ad(0x1dc)][_0x2343ad(0x1ce)][_0x2343ad(0x1d3)]);yield this['upload'](_0x4dc934,_0x526afc);});}}exports[_0x49e29e(0x1d2)]=AzureDeploy;
1
+ 'use strict';function _0x42bb(_0x5ffcdb,_0x24479f){const _0x12e460=_0x12e4();return _0x42bb=function(_0x42bbc9,_0x2b5f3f){_0x42bbc9=_0x42bbc9-0x10e;let _0x45f6e4=_0x12e460[_0x42bbc9];return _0x45f6e4;},_0x42bb(_0x5ffcdb,_0x24479f);}const _0x16f38c=_0x42bb;(function(_0x2791f2,_0x14ae3c){const _0x17a0ff=_0x42bb,_0x2d5a9e=_0x2791f2();while(!![]){try{const _0x12ca52=-parseInt(_0x17a0ff(0x11b))/0x1+-parseInt(_0x17a0ff(0x116))/0x2+-parseInt(_0x17a0ff(0x11f))/0x3+parseInt(_0x17a0ff(0x123))/0x4+-parseInt(_0x17a0ff(0x115))/0x5+parseInt(_0x17a0ff(0x122))/0x6+parseInt(_0x17a0ff(0x114))/0x7;if(_0x12ca52===_0x14ae3c)break;else _0x2d5a9e['push'](_0x2d5a9e['shift']());}catch(_0x4bbdd7){_0x2d5a9e['push'](_0x2d5a9e['shift']());}}}(_0x12e4,0xedb2f));var __awaiter=this&&this['__awaiter']||function(_0x2b6f9,_0x5e743b,_0x5a453a,_0x4df250){function _0x113eb9(_0x5ef856){return _0x5ef856 instanceof _0x5a453a?_0x5ef856:new _0x5a453a(function(_0x4e9716){_0x4e9716(_0x5ef856);});}return new(_0x5a453a||(_0x5a453a=Promise))(function(_0x14e5ba,_0x1d86a9){const _0x24257=_0x42bb;function _0x6f0db9(_0x20e93f){const _0x59e829=_0x42bb;try{_0x371267(_0x4df250[_0x59e829(0x120)](_0x20e93f));}catch(_0x290f20){_0x1d86a9(_0x290f20);}}function _0x2395b6(_0x532441){const _0x158b6a=_0x42bb;try{_0x371267(_0x4df250[_0x158b6a(0x11a)](_0x532441));}catch(_0x3006be){_0x1d86a9(_0x3006be);}}function _0x371267(_0xeb5f35){const _0x3a7172=_0x42bb;_0xeb5f35[_0x3a7172(0x117)]?_0x14e5ba(_0xeb5f35[_0x3a7172(0x11e)]):_0x113eb9(_0xeb5f35[_0x3a7172(0x11e)])[_0x3a7172(0x110)](_0x6f0db9,_0x2395b6);}_0x371267((_0x4df250=_0x4df250[_0x24257(0x11c)](_0x2b6f9,_0x5e743b||[]))[_0x24257(0x120)]());});},__importDefault=this&&this[_0x16f38c(0x125)]||function(_0x427030){const _0x230c1e=_0x16f38c;return _0x427030&&_0x427030[_0x230c1e(0x124)]?_0x427030:{'default':_0x427030};};Object[_0x16f38c(0x11d)](exports,_0x16f38c(0x124),{'value':!![]}),exports[_0x16f38c(0x126)]=void 0x0;const path_1=__importDefault(require(_0x16f38c(0x113))),_1=require('./'),azure_utils_1=require(_0x16f38c(0x10f));class AzureDeploy extends _1['BaseDeploy']{constructor(_0x4ea031){const _0x4190b7=_0x16f38c;super(_0x4ea031),this[_0x4190b7(0x119)]=_0x4ea031,this[_0x4190b7(0x118)]=azure_utils_1[_0x4190b7(0x127)][_0x4190b7(0x129)](this[_0x4190b7(0x119)]);}['upload'](_0x35dec7,_0x4645b0){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2e7f6e=_0x42bb,_0x3bf5c6=this['containerClient']['getBlockBlobClient'](_0x4645b0);_0x35dec7 instanceof Buffer?yield _0x3bf5c6['upload'](_0x35dec7,_0x35dec7[_0x2e7f6e(0x112)]):yield _0x3bf5c6[_0x2e7f6e(0x12b)](_0x35dec7);});}['execute'](_0x4736b3,_0x1c07e0){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4289e3=_0x42bb,_0x2eddeb=_0x1c07e0[_0x4289e3(0x128)](path_1['default'][_0x4289e3(0x111)])['join'](path_1[_0x4289e3(0x12a)][_0x4289e3(0x121)]['sep']);yield this[_0x4289e3(0x10e)](_0x4736b3,_0x2eddeb);});}}exports[_0x16f38c(0x126)]=AzureDeploy;function _0x12e4(){const _0x384361=['createAzureBlobContainerClient','default','uploadStream','upload','../utils/azure.utils','then','sep','byteLength','path','40803805pIjvhp','6220795wEzBdp','2304700CyfqaO','done','containerClient','credentials','throw','896710wMlzkW','apply','defineProperty','value','4852494KlzsKX','next','posix','179442aaBjZt','101240wtBSWg','__esModule','__importDefault','AzureDeploy','AzureUtils','split'];_0x12e4=function(){return _0x384361;};return _0x12e4();}
@@ -1 +1 @@
1
- 'use strict';var _0x1f49b3=_0x3289;(function(_0x6422cf,_0x452050){var _0x5685e1=_0x3289,_0x4dfdd4=_0x6422cf();while(!![]){try{var _0x226feb=-parseInt(_0x5685e1(0x98))/0x1+parseInt(_0x5685e1(0x91))/0x2*(-parseInt(_0x5685e1(0x94))/0x3)+-parseInt(_0x5685e1(0x93))/0x4*(parseInt(_0x5685e1(0x9a))/0x5)+-parseInt(_0x5685e1(0x90))/0x6*(parseInt(_0x5685e1(0x9b))/0x7)+-parseInt(_0x5685e1(0x8f))/0x8*(-parseInt(_0x5685e1(0x95))/0x9)+-parseInt(_0x5685e1(0x96))/0xa+parseInt(_0x5685e1(0x97))/0xb;if(_0x226feb===_0x452050)break;else _0x4dfdd4['push'](_0x4dfdd4['shift']());}catch(_0x543285){_0x4dfdd4['push'](_0x4dfdd4['shift']());}}}(_0x3a72,0x1c89e));Object[_0x1f49b3(0x8e)](exports,'__esModule',{'value':!![]}),exports[_0x1f49b3(0x99)]=void 0x0;class BaseDeploy{constructor(_0xbd8af0){var _0x6e70ea=_0x1f49b3;this[_0x6e70ea(0x92)]=_0xbd8af0;}}function _0x3a72(){var _0x448d18=['520578GmljhD','421390lQqOjE','4396095gmyKoD','130638cYEXxd','BaseDeploy','567265lfIWRt','8323cFFkkm','defineProperty','24qRhwUu','762PqHpMC','184RppNFs','credentials','4SKnxSN','621GyoyVv'];_0x3a72=function(){return _0x448d18;};return _0x3a72();}function _0x3289(_0x5712cc,_0x29ac5d){var _0x3a72e4=_0x3a72();return _0x3289=function(_0x32895f,_0x18fc0c){_0x32895f=_0x32895f-0x8e;var _0x5a0d7a=_0x3a72e4[_0x32895f];return _0x5a0d7a;},_0x3289(_0x5712cc,_0x29ac5d);}exports['BaseDeploy']=BaseDeploy;
1
+ 'use strict';var _0x168856=_0x3b98;function _0x3b98(_0x139e8b,_0x2084c1){var _0x33dc46=_0x33dc();return _0x3b98=function(_0x3b9899,_0x12bb36){_0x3b9899=_0x3b9899-0x188;var _0x5a7f64=_0x33dc46[_0x3b9899];return _0x5a7f64;},_0x3b98(_0x139e8b,_0x2084c1);}(function(_0x4aadaa,_0x49c923){var _0x5b1e6e=_0x3b98,_0x18ab98=_0x4aadaa();while(!![]){try{var _0x3f79ec=-parseInt(_0x5b1e6e(0x189))/0x1+parseInt(_0x5b1e6e(0x188))/0x2+parseInt(_0x5b1e6e(0x18a))/0x3+parseInt(_0x5b1e6e(0x18e))/0x4*(parseInt(_0x5b1e6e(0x191))/0x5)+-parseInt(_0x5b1e6e(0x190))/0x6+parseInt(_0x5b1e6e(0x18d))/0x7+-parseInt(_0x5b1e6e(0x192))/0x8;if(_0x3f79ec===_0x49c923)break;else _0x18ab98['push'](_0x18ab98['shift']());}catch(_0x43b565){_0x18ab98['push'](_0x18ab98['shift']());}}}(_0x33dc,0xd9b79));function _0x33dc(){var _0x3bf61f=['888489CwbugR','4351965JvuAyU','BaseDeploy','__esModule','8273111AFyzSj','8rKQxXB','credentials','5530794NKyulk','2997385mtjAss','9840400remext','201250yJdooH'];_0x33dc=function(){return _0x3bf61f;};return _0x33dc();}Object['defineProperty'](exports,_0x168856(0x18c),{'value':!![]}),exports['BaseDeploy']=void 0x0;class BaseDeploy{constructor(_0x128b64){var _0x1e7d70=_0x168856;this[_0x1e7d70(0x18f)]=_0x128b64;}}exports[_0x168856(0x18b)]=BaseDeploy;
@@ -1 +1 @@
1
- 'use strict';var _0x7cedbc=_0xcea2;(function(_0x399a0e,_0x54c087){var _0x1d9070=_0xcea2,_0x272160=_0x399a0e();while(!![]){try{var _0x26be58=-parseInt(_0x1d9070(0x16a))/0x1+-parseInt(_0x1d9070(0x16b))/0x2+parseInt(_0x1d9070(0x15e))/0x3*(-parseInt(_0x1d9070(0x16d))/0x4)+-parseInt(_0x1d9070(0x162))/0x5*(-parseInt(_0x1d9070(0x163))/0x6)+-parseInt(_0x1d9070(0x160))/0x7*(parseInt(_0x1d9070(0x15f))/0x8)+-parseInt(_0x1d9070(0x168))/0x9+-parseInt(_0x1d9070(0x166))/0xa*(-parseInt(_0x1d9070(0x15d))/0xb);if(_0x26be58===_0x54c087)break;else _0x272160['push'](_0x272160['shift']());}catch(_0x3c49a4){_0x272160['push'](_0x272160['shift']());}}}(_0xc390,0x895d0));function _0xcea2(_0x54a1dc,_0x375852){var _0xc390ed=_0xc390();return _0xcea2=function(_0xcea258,_0xbb1f2a){_0xcea258=_0xcea258-0x15b;var _0x5971c7=_0xc390ed[_0xcea258];return _0x5971c7;},_0xcea2(_0x54a1dc,_0x375852);}Object[_0x7cedbc(0x169)](exports,'__esModule',{'value':!![]}),exports[_0x7cedbc(0x15b)]=exports[_0x7cedbc(0x164)]=exports[_0x7cedbc(0x167)]=exports[_0x7cedbc(0x16c)]=void 0x0;var base_deploy_1=require(_0x7cedbc(0x165));Object[_0x7cedbc(0x169)](exports,_0x7cedbc(0x16c),{'enumerable':!![],'get':function(){var _0x3d0677=_0x7cedbc;return base_deploy_1[_0x3d0677(0x16c)];}});var aws_s3_deploy_1=require(_0x7cedbc(0x15c));Object['defineProperty'](exports,_0x7cedbc(0x167),{'enumerable':!![],'get':function(){var _0x1ea472=_0x7cedbc;return aws_s3_deploy_1[_0x1ea472(0x167)];}});var local_deploy_1=require('./local-deploy');Object[_0x7cedbc(0x169)](exports,_0x7cedbc(0x164),{'enumerable':!![],'get':function(){return local_deploy_1['LocalDeploy'];}});var azure_deploy_1=require(_0x7cedbc(0x161));Object[_0x7cedbc(0x169)](exports,'AzureDeploy',{'enumerable':!![],'get':function(){var _0x47e557=_0x7cedbc;return azure_deploy_1[_0x47e557(0x15b)];}});function _0xc390(){var _0x4654b4=['18BTgsaB','LocalDeploy','./base-deploy','31858410jGNEGA','AwsS3Deploy','9924966RDfiaq','defineProperty','456924fGIOzM','979278aifAJB','BaseDeploy','9252ZhzPDO','AzureDeploy','./aws-s3-deploy','11IuRtMJ','1041dflbIS','1999024dJnqOS','21yumLAv','./azure-deploy','1630635SixWIz'];_0xc390=function(){return _0x4654b4;};return _0xc390();}
1
+ 'use strict';var _0x4c6faa=_0x233f;(function(_0x9c7082,_0xc43248){var _0x39623d=_0x233f,_0x3fa630=_0x9c7082();while(!![]){try{var _0x47de91=-parseInt(_0x39623d(0xa3))/0x1+-parseInt(_0x39623d(0xa1))/0x2*(parseInt(_0x39623d(0xab))/0x3)+parseInt(_0x39623d(0xa7))/0x4+parseInt(_0x39623d(0xad))/0x5+parseInt(_0x39623d(0xae))/0x6+parseInt(_0x39623d(0xa9))/0x7+-parseInt(_0x39623d(0xa0))/0x8;if(_0x47de91===_0xc43248)break;else _0x3fa630['push'](_0x3fa630['shift']());}catch(_0x1825f4){_0x3fa630['push'](_0x3fa630['shift']());}}}(_0x12ca,0x9f89c));function _0x12ca(){var _0x36c0bd=['4UkBDvI','AwsS3Deploy','202238NIVzjO','BaseDeploy','./azure-deploy','defineProperty','1999796OTwkVb','AzureDeploy','4072866pnCHqC','./aws-s3-deploy','1281963ERbyLs','LocalDeploy','2737840fYnFna','1855944vFPYqX','./local-deploy','1826648NwPTIE'];_0x12ca=function(){return _0x36c0bd;};return _0x12ca();}function _0x233f(_0x558ba5,_0x4ae7b8){var _0x12caf9=_0x12ca();return _0x233f=function(_0x233f15,_0xf0d749){_0x233f15=_0x233f15-0xa0;var _0x4fa6f4=_0x12caf9[_0x233f15];return _0x4fa6f4;},_0x233f(_0x558ba5,_0x4ae7b8);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x4c6faa(0xa8)]=exports[_0x4c6faa(0xac)]=exports[_0x4c6faa(0xa2)]=exports[_0x4c6faa(0xa4)]=void 0x0;var base_deploy_1=require('./base-deploy');Object['defineProperty'](exports,_0x4c6faa(0xa4),{'enumerable':!![],'get':function(){var _0x497aef=_0x4c6faa;return base_deploy_1[_0x497aef(0xa4)];}});var aws_s3_deploy_1=require(_0x4c6faa(0xaa));Object['defineProperty'](exports,_0x4c6faa(0xa2),{'enumerable':!![],'get':function(){return aws_s3_deploy_1['AwsS3Deploy'];}});var local_deploy_1=require(_0x4c6faa(0xaf));Object['defineProperty'](exports,_0x4c6faa(0xac),{'enumerable':!![],'get':function(){var _0x5e32b2=_0x4c6faa;return local_deploy_1[_0x5e32b2(0xac)];}});var azure_deploy_1=require(_0x4c6faa(0xa5));Object[_0x4c6faa(0xa6)](exports,_0x4c6faa(0xa8),{'enumerable':!![],'get':function(){return azure_deploy_1['AzureDeploy'];}});
@@ -1 +1 @@
1
- 'use strict';const _0x30d8b5=_0x3292;(function(_0x3cfcb7,_0x18240e){const _0x5e87ff=_0x3292,_0x3e12e6=_0x3cfcb7();while(!![]){try{const _0x4067dc=parseInt(_0x5e87ff(0x167))/0x1*(parseInt(_0x5e87ff(0x151))/0x2)+-parseInt(_0x5e87ff(0x14f))/0x3*(-parseInt(_0x5e87ff(0x161))/0x4)+-parseInt(_0x5e87ff(0x15b))/0x5*(parseInt(_0x5e87ff(0x16a))/0x6)+-parseInt(_0x5e87ff(0x160))/0x7*(-parseInt(_0x5e87ff(0x15f))/0x8)+-parseInt(_0x5e87ff(0x154))/0x9*(parseInt(_0x5e87ff(0x14d))/0xa)+-parseInt(_0x5e87ff(0x14e))/0xb+parseInt(_0x5e87ff(0x15c))/0xc;if(_0x4067dc===_0x18240e)break;else _0x3e12e6['push'](_0x3e12e6['shift']());}catch(_0x53ba81){_0x3e12e6['push'](_0x3e12e6['shift']());}}}(_0x2775,0xcb15e));function _0x3292(_0x365ee0,_0x132bf1){const _0x2775e3=_0x2775();return _0x3292=function(_0x32929d,_0x273ab2){_0x32929d=_0x32929d-0x14b;let _0x1c8597=_0x2775e3[_0x32929d];return _0x1c8597;},_0x3292(_0x365ee0,_0x132bf1);}var __awaiter=this&&this[_0x30d8b5(0x155)]||function(_0x4a31d4,_0x462f43,_0x53b993,_0x270652){function _0x42c5d3(_0x5f28bb){return _0x5f28bb instanceof _0x53b993?_0x5f28bb:new _0x53b993(function(_0x4531e7){_0x4531e7(_0x5f28bb);});}return new(_0x53b993||(_0x53b993=Promise))(function(_0x3cbbb8,_0x2961c3){const _0x1ca4c6=_0x3292;function _0x2e0139(_0x220943){try{_0x46a357(_0x270652['next'](_0x220943));}catch(_0x1fb1a4){_0x2961c3(_0x1fb1a4);}}function _0x268ac8(_0x4f1770){try{_0x46a357(_0x270652['throw'](_0x4f1770));}catch(_0x3ca33c){_0x2961c3(_0x3ca33c);}}function _0x46a357(_0x50451a){const _0x858d31=_0x3292;_0x50451a[_0x858d31(0x14b)]?_0x3cbbb8(_0x50451a['value']):_0x42c5d3(_0x50451a[_0x858d31(0x157)])[_0x858d31(0x163)](_0x2e0139,_0x268ac8);}_0x46a357((_0x270652=_0x270652[_0x1ca4c6(0x152)](_0x4a31d4,_0x462f43||[]))[_0x1ca4c6(0x168)]());});},__importDefault=this&&this[_0x30d8b5(0x162)]||function(_0x528f26){const _0xdf3ae4=_0x30d8b5;return _0x528f26&&_0x528f26[_0xdf3ae4(0x159)]?_0x528f26:{'default':_0x528f26};};Object['defineProperty'](exports,_0x30d8b5(0x159),{'value':!![]}),exports[_0x30d8b5(0x164)]=void 0x0;function _0x2775(){const _0x41de3a=['isExistsPath','335096NGmMPf','21gbNIuf','446816VgAfEy','__importDefault','then','LocalDeploy','path','execute','1Bqztdv','next','FsUtils','258lWHUTG','done','writeFile','40QbhuJF','8112401MtjFQe','12jhicOi','default','213046iVkVvo','apply','@flosum/utils','3140856NBQyJM','__awaiter','mkdir','value','dirname','__esModule','BaseDeploy','116345YHWsnY','39441984QhqPmc','fs/promises'];_0x2775=function(){return _0x41de3a;};return _0x2775();}const path_1=__importDefault(require(_0x30d8b5(0x165))),promises_1=require(_0x30d8b5(0x15d)),utils_1=require(_0x30d8b5(0x153)),_1=require('./');class LocalDeploy extends _1[_0x30d8b5(0x15a)]{[_0x30d8b5(0x166)](_0x1003af,_0x41ee72){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x567c33=_0x3292;try{const _0x1be09f=path_1[_0x567c33(0x150)][_0x567c33(0x158)](_0x41ee72),_0x2e05b5=yield utils_1[_0x567c33(0x169)]['isExistsPath'](_0x1be09f);!_0x2e05b5&&(yield(0x0,promises_1[_0x567c33(0x156)])(_0x1be09f,{'recursive':!![]})),yield(0x0,promises_1[_0x567c33(0x14c)])(_0x41ee72,_0x1003af);}catch(_0x494135){(yield utils_1[_0x567c33(0x169)][_0x567c33(0x15e)](_0x41ee72))&&(yield(0x0,promises_1['rm'])(_0x41ee72,{'recursive':!![]}));throw _0x494135;}});}}exports[_0x30d8b5(0x164)]=LocalDeploy;
1
+ 'use strict';function _0x32c2(_0x1a1b84,_0x5872ac){const _0x2405d4=_0x2405();return _0x32c2=function(_0x32c243,_0x494a52){_0x32c243=_0x32c243-0x110;let _0x819e82=_0x2405d4[_0x32c243];return _0x819e82;},_0x32c2(_0x1a1b84,_0x5872ac);}const _0x5e7c59=_0x32c2;(function(_0x3ba873,_0x1d9f30){const _0x2e95fb=_0x32c2,_0x460650=_0x3ba873();while(!![]){try{const _0x47e13d=parseInt(_0x2e95fb(0x115))/0x1+-parseInt(_0x2e95fb(0x126))/0x2+-parseInt(_0x2e95fb(0x118))/0x3+-parseInt(_0x2e95fb(0x121))/0x4+-parseInt(_0x2e95fb(0x128))/0x5+-parseInt(_0x2e95fb(0x119))/0x6+parseInt(_0x2e95fb(0x110))/0x7*(parseInt(_0x2e95fb(0x12b))/0x8);if(_0x47e13d===_0x1d9f30)break;else _0x460650['push'](_0x460650['shift']());}catch(_0x132313){_0x460650['push'](_0x460650['shift']());}}}(_0x2405,0xf409e));var __awaiter=this&&this[_0x5e7c59(0x116)]||function(_0x1db6f3,_0x3de926,_0x1fbe41,_0x2c3736){function _0x4253e3(_0x4733e6){return _0x4733e6 instanceof _0x1fbe41?_0x4733e6:new _0x1fbe41(function(_0x30413d){_0x30413d(_0x4733e6);});}return new(_0x1fbe41||(_0x1fbe41=Promise))(function(_0x3beec8,_0x2daa64){const _0x281049=_0x32c2;function _0x112927(_0x4986a2){const _0xb6bb1c=_0x32c2;try{_0x168d2f(_0x2c3736[_0xb6bb1c(0x114)](_0x4986a2));}catch(_0xd23d8c){_0x2daa64(_0xd23d8c);}}function _0x318f13(_0x15f5cb){const _0x16dbe4=_0x32c2;try{_0x168d2f(_0x2c3736[_0x16dbe4(0x117)](_0x15f5cb));}catch(_0x533de9){_0x2daa64(_0x533de9);}}function _0x168d2f(_0x25a38e){const _0xdce868=_0x32c2;_0x25a38e[_0xdce868(0x122)]?_0x3beec8(_0x25a38e[_0xdce868(0x112)]):_0x4253e3(_0x25a38e['value'])[_0xdce868(0x123)](_0x112927,_0x318f13);}_0x168d2f((_0x2c3736=_0x2c3736[_0x281049(0x11f)](_0x1db6f3,_0x3de926||[]))[_0x281049(0x114)]());});},__importDefault=this&&this[_0x5e7c59(0x120)]||function(_0x68f843){const _0x28c86f=_0x5e7c59;return _0x68f843&&_0x68f843[_0x28c86f(0x12a)]?_0x68f843:{'default':_0x68f843};};Object[_0x5e7c59(0x11a)](exports,_0x5e7c59(0x12a),{'value':!![]}),exports['LocalDeploy']=void 0x0;const path_1=__importDefault(require(_0x5e7c59(0x127))),promises_1=require(_0x5e7c59(0x11b)),utils_1=require(_0x5e7c59(0x113)),_1=require('./');class LocalDeploy extends _1[_0x5e7c59(0x11d)]{['execute'](_0x32a5f6,_0x551345){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x328167=_0x32c2;try{const _0x148dd7=path_1['default'][_0x328167(0x11c)](_0x551345),_0x5abb6d=yield utils_1[_0x328167(0x111)][_0x328167(0x11e)](_0x148dd7);!_0x5abb6d&&(yield(0x0,promises_1[_0x328167(0x125)])(_0x148dd7,{'recursive':!![]})),yield(0x0,promises_1[_0x328167(0x124)])(_0x551345,_0x32a5f6);}catch(_0x4a6ff4){(yield utils_1[_0x328167(0x111)]['isExistsPath'](_0x551345))&&(yield(0x0,promises_1['rm'])(_0x551345,{'recursive':!![]}));throw _0x4a6ff4;}});}}function _0x2405(){const _0x244f22=['__importDefault','7315756dCYMXI','done','then','writeFile','mkdir','2218656aIluuB','path','6510865ikOzSa','LocalDeploy','__esModule','24UiCuPX','10911551iWuYEm','FsUtils','value','@flosum/utils','next','1736643NQltDk','__awaiter','throw','401949hFlJKV','6234102ZMKcES','defineProperty','fs/promises','dirname','BaseDeploy','isExistsPath','apply'];_0x2405=function(){return _0x244f22;};return _0x2405();}exports[_0x5e7c59(0x129)]=LocalDeploy;
package/dist/factory.d.ts CHANGED
@@ -6,6 +6,7 @@ import { BaseHelper, BaseRetrieve } from './retrieve';
6
6
  import { BaseFileSizeRetriever } from './file-size-retriever';
7
7
  import { StorageClass, Tier } from '@aws-sdk/client-s3';
8
8
  import { AwsBuildMiddleware } from './types';
9
+ import { BaseCopy } from './copy';
9
10
  export declare class StorageFactory {
10
11
  static createRetrieve(storageType: StorageType, credentials: BaseCredentials, path: string, restoreType?: Tier, cachePath?: string, middlewareStack?: AwsBuildMiddleware[]): BaseRetrieve;
11
12
  static createDeploy(storageType: StorageType, credentials: BaseCredentials, storageClass?: StorageClass, middlewareStack?: AwsBuildMiddleware[]): BaseDeploy;
@@ -13,4 +14,5 @@ export declare class StorageFactory {
13
14
  static createCredentials(storageType: StorageType, rawCredentials?: Record<string, any>): BaseCredentials;
14
15
  static createFileSizeRetriever(storageType: StorageType, credentials: BaseCredentials, middlewareStack?: AwsBuildMiddleware[]): BaseFileSizeRetriever;
15
16
  static createRetrieveHelper(storageType: StorageType, credentials: BaseCredentials, sourcePath: string): BaseHelper;
17
+ static createCopy(storageType: StorageType, credentials: BaseCredentials): BaseCopy;
16
18
  }
package/dist/factory.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x32e9(){const _0x82789e=['AWS_S3','./deploy','StorageFactory','Local','3882576STrvfr','2164694bGxICV','568115aIadDH','LocalHelper','6330bQqkkL','3BjPJkv','2877237eXuutD','1041AlpOek','LocalRetrieve','AwsS3Credentials','AwsS3Deploy','AwsS3FileSizeRetriever','createRetrieve','Unknown\x20storage\x20type\x20-\x20\x22','LocalFileSizeRetriever','12avhWEk','./retrieve','__esModule','AzureFileSizeRetriever','973380nwkNKl','StorageType','LocalDelete','LocalDeploy','defineProperty','LocalCredentials','./types/storage-type.enum','createRetrieveHelper','createDelete','./delete','3597ndpDkU','AzureHelper','AzureDelete','AwsS3Delete','AZURE_BLOB','./credentials','282hMGlbG'];_0x32e9=function(){return _0x82789e;};return _0x32e9();}function _0x3bd6(_0x3361d5,_0x223ff2){const _0x32e951=_0x32e9();return _0x3bd6=function(_0x3bd6d3,_0x27d415){_0x3bd6d3=_0x3bd6d3-0x10b;let _0x5c39cb=_0x32e951[_0x3bd6d3];return _0x5c39cb;},_0x3bd6(_0x3361d5,_0x223ff2);}const _0x5b28b4=_0x3bd6;(function(_0x570060,_0x14e000){const _0x3150ef=_0x3bd6,_0x20b91f=_0x570060();while(!![]){try{const _0x25bd2c=parseInt(_0x3150ef(0x12e))/0x1*(-parseInt(_0x3150ef(0x122))/0x2)+parseInt(_0x3150ef(0x12c))/0x3*(-parseInt(_0x3150ef(0x112))/0x4)+-parseInt(_0x3150ef(0x129))/0x5*(parseInt(_0x3150ef(0x10e))/0x6)+parseInt(_0x3150ef(0x128))/0x7+parseInt(_0x3150ef(0x127))/0x8+parseInt(_0x3150ef(0x12d))/0x9+parseInt(_0x3150ef(0x12b))/0xa*(-parseInt(_0x3150ef(0x11c))/0xb);if(_0x25bd2c===_0x14e000)break;else _0x20b91f['push'](_0x20b91f['shift']());}catch(_0x346747){_0x20b91f['push'](_0x20b91f['shift']());}}}(_0x32e9,0x46c66));Object[_0x5b28b4(0x116)](exports,_0x5b28b4(0x110),{'value':!![]}),exports[_0x5b28b4(0x125)]=void 0x0;const storage_type_enum_1=require(_0x5b28b4(0x118)),credentials_1=require(_0x5b28b4(0x121)),delete_1=require(_0x5b28b4(0x11b)),deploy_1=require(_0x5b28b4(0x124)),retrieve_1=require(_0x5b28b4(0x10f)),file_size_retriever_1=require('./file-size-retriever');class StorageFactory{static[_0x5b28b4(0x10b)](_0x4d1ae1,_0x39c418,_0x2c62ec,_0x347ea6,_0x38d630,_0x26de8b){const _0x50bbf0=_0x5b28b4;switch(_0x4d1ae1){case storage_type_enum_1[_0x50bbf0(0x113)]['AWS_S3']:return new retrieve_1['AwsS3Retrieve'](_0x39c418,_0x2c62ec,_0x347ea6,_0x38d630,_0x26de8b);case storage_type_enum_1[_0x50bbf0(0x113)][_0x50bbf0(0x126)]:return new retrieve_1[(_0x50bbf0(0x12f))](_0x39c418,_0x2c62ec);case storage_type_enum_1[_0x50bbf0(0x113)]['AZURE_BLOB']:return new retrieve_1['AzureRetrieve'](_0x39c418,_0x2c62ec,_0x38d630);default:throw new Error('Unknown\x20storage\x20type\x20-\x20\x22'+_0x4d1ae1+'\x22');}}static['createDeploy'](_0x2f1ed9,_0x10a50f,_0x24bfc8,_0x443476){const _0x1fb561=_0x5b28b4;switch(_0x2f1ed9){case storage_type_enum_1[_0x1fb561(0x113)][_0x1fb561(0x123)]:return new deploy_1[(_0x1fb561(0x131))](_0x10a50f,_0x24bfc8,_0x443476);case storage_type_enum_1['StorageType']['Local']:return new deploy_1[(_0x1fb561(0x115))](_0x10a50f);case storage_type_enum_1[_0x1fb561(0x113)][_0x1fb561(0x120)]:return new deploy_1['AzureDeploy'](_0x10a50f);default:throw new Error(_0x1fb561(0x10c)+_0x2f1ed9+'\x22');}}static[_0x5b28b4(0x11a)](_0x15c3c6,_0x4e471e,_0x3c051a){const _0x1e1377=_0x5b28b4;switch(_0x15c3c6){case storage_type_enum_1[_0x1e1377(0x113)][_0x1e1377(0x123)]:return new delete_1[(_0x1e1377(0x11f))](_0x4e471e,_0x3c051a);case storage_type_enum_1[_0x1e1377(0x113)][_0x1e1377(0x126)]:return new delete_1[(_0x1e1377(0x114))](_0x4e471e);case storage_type_enum_1[_0x1e1377(0x113)]['AZURE_BLOB']:return new delete_1[(_0x1e1377(0x11e))](_0x4e471e);default:throw new Error(_0x1e1377(0x10c)+_0x15c3c6+'\x22');}}static['createCredentials'](_0x1cb54f,_0xdb8feb){const _0x2c2525=_0x5b28b4;switch(_0x1cb54f){case storage_type_enum_1[_0x2c2525(0x113)]['AWS_S3']:return new credentials_1[(_0x2c2525(0x130))](_0xdb8feb);case storage_type_enum_1[_0x2c2525(0x113)]['Local']:return new credentials_1[(_0x2c2525(0x117))]();case storage_type_enum_1[_0x2c2525(0x113)]['AZURE_BLOB']:return new credentials_1['AzureCredentials'](_0xdb8feb);default:throw new Error('Unknown\x20storage\x20type\x20-\x20\x22'+_0x1cb54f+'\x22');}}static['createFileSizeRetriever'](_0x1b4d62,_0x48c7ee,_0x59b3da){const _0x631ab4=_0x5b28b4;switch(_0x1b4d62){case storage_type_enum_1['StorageType'][_0x631ab4(0x123)]:return new file_size_retriever_1[(_0x631ab4(0x132))](_0x48c7ee,_0x59b3da);case storage_type_enum_1[_0x631ab4(0x113)][_0x631ab4(0x126)]:return new file_size_retriever_1[(_0x631ab4(0x10d))](_0x48c7ee);case storage_type_enum_1[_0x631ab4(0x113)]['AZURE_BLOB']:return new file_size_retriever_1[(_0x631ab4(0x111))](_0x48c7ee);default:throw new Error(_0x631ab4(0x10c)+_0x1b4d62+'\x22');}}static[_0x5b28b4(0x119)](_0x50ec5c,_0x34b40c,_0x5c566d){const _0x1e0fad=_0x5b28b4;switch(_0x50ec5c){case storage_type_enum_1[_0x1e0fad(0x113)][_0x1e0fad(0x126)]:return new retrieve_1[(_0x1e0fad(0x12a))](_0x5c566d);case storage_type_enum_1['StorageType'][_0x1e0fad(0x123)]:const {accessKeyId:_0x4c829a,secretAccessKey:_0x54add7,region:_0x1ffd85,bucketName:_0x580d1a}=_0x34b40c;return new retrieve_1['AwsS3Helper'](_0x5c566d,{'bucketName':_0x580d1a,'region':_0x1ffd85,'credentials':{'accessKeyId':_0x4c829a,'secretAccessKey':_0x54add7}});case storage_type_enum_1[_0x1e0fad(0x113)][_0x1e0fad(0x120)]:return new retrieve_1[(_0x1e0fad(0x11d))](_0x34b40c,_0x5c566d);default:throw new Error('Unknown\x20storage\x20type\x20for\x20creating\x20retrieve\x20helper\x20-\x20\x22'+_0x50ec5c+'\x22');}}}exports[_0x5b28b4(0x125)]=StorageFactory;
1
+ 'use strict';const _0x284cc7=_0xad94;(function(_0x4ede20,_0x10feb1){const _0x58d99f=_0xad94,_0x43bc16=_0x4ede20();while(!![]){try{const _0xf1b6c7=parseInt(_0x58d99f(0x150))/0x1*(-parseInt(_0x58d99f(0x146))/0x2)+parseInt(_0x58d99f(0x155))/0x3+parseInt(_0x58d99f(0x14e))/0x4+parseInt(_0x58d99f(0x15a))/0x5*(parseInt(_0x58d99f(0x15b))/0x6)+parseInt(_0x58d99f(0x15d))/0x7+parseInt(_0x58d99f(0x15f))/0x8+-parseInt(_0x58d99f(0x151))/0x9;if(_0xf1b6c7===_0x10feb1)break;else _0x43bc16['push'](_0x43bc16['shift']());}catch(_0x19e789){_0x43bc16['push'](_0x43bc16['shift']());}}}(_0xaa34,0xf3488));Object[_0x284cc7(0x14d)](exports,_0x284cc7(0x159),{'value':!![]}),exports[_0x284cc7(0x154)]=void 0x0;const storage_type_enum_1=require('./types/storage-type.enum'),credentials_1=require('./credentials'),delete_1=require(_0x284cc7(0x14f)),deploy_1=require(_0x284cc7(0x165)),retrieve_1=require(_0x284cc7(0x14a)),file_size_retriever_1=require(_0x284cc7(0x14c)),copy_1=require('./copy');class StorageFactory{static['createRetrieve'](_0x2bab7a,_0x53ad3d,_0x8e35e,_0xea7177,_0x5402a9,_0x17ae9b){const _0x5da511=_0x284cc7;switch(_0x2bab7a){case storage_type_enum_1[_0x5da511(0x152)][_0x5da511(0x14b)]:return new retrieve_1[(_0x5da511(0x153))](_0x53ad3d,_0x8e35e,_0xea7177,_0x5402a9,_0x17ae9b);case storage_type_enum_1[_0x5da511(0x152)]['Local']:return new retrieve_1[(_0x5da511(0x158))](_0x53ad3d,_0x8e35e);case storage_type_enum_1['StorageType']['AZURE_BLOB']:return new retrieve_1[(_0x5da511(0x143))](_0x53ad3d,_0x8e35e,_0x5402a9);default:throw new Error(_0x5da511(0x15c)+_0x2bab7a+'\x22');}}static[_0x284cc7(0x145)](_0x2b5836,_0x502942,_0x112878,_0x57c1df){const _0xb5ec02=_0x284cc7;switch(_0x2b5836){case storage_type_enum_1[_0xb5ec02(0x152)][_0xb5ec02(0x14b)]:return new deploy_1['AwsS3Deploy'](_0x502942,_0x112878,_0x57c1df);case storage_type_enum_1['StorageType'][_0xb5ec02(0x166)]:return new deploy_1['LocalDeploy'](_0x502942);case storage_type_enum_1[_0xb5ec02(0x152)]['AZURE_BLOB']:return new deploy_1[(_0xb5ec02(0x157))](_0x502942);default:throw new Error('Unknown\x20storage\x20type\x20-\x20\x22'+_0x2b5836+'\x22');}}static['createDelete'](_0x396944,_0x1628f4,_0x15a994){const _0x2fe810=_0x284cc7;switch(_0x396944){case storage_type_enum_1[_0x2fe810(0x152)][_0x2fe810(0x14b)]:return new delete_1['AwsS3Delete'](_0x1628f4,_0x15a994);case storage_type_enum_1[_0x2fe810(0x152)][_0x2fe810(0x166)]:return new delete_1['LocalDelete'](_0x1628f4);case storage_type_enum_1[_0x2fe810(0x152)][_0x2fe810(0x162)]:return new delete_1[(_0x2fe810(0x15e))](_0x1628f4);default:throw new Error(_0x2fe810(0x15c)+_0x396944+'\x22');}}static[_0x284cc7(0x148)](_0xa03838,_0xcdab92){const _0x2ac991=_0x284cc7;switch(_0xa03838){case storage_type_enum_1[_0x2ac991(0x152)][_0x2ac991(0x14b)]:return new credentials_1['AwsS3Credentials'](_0xcdab92);case storage_type_enum_1[_0x2ac991(0x152)][_0x2ac991(0x166)]:return new credentials_1[(_0x2ac991(0x147))]();case storage_type_enum_1[_0x2ac991(0x152)][_0x2ac991(0x162)]:return new credentials_1[(_0x2ac991(0x160))](_0xcdab92);default:throw new Error('Unknown\x20storage\x20type\x20-\x20\x22'+_0xa03838+'\x22');}}static['createFileSizeRetriever'](_0x167c8a,_0x5155e9,_0x46ef90){const _0x239019=_0x284cc7;switch(_0x167c8a){case storage_type_enum_1[_0x239019(0x152)][_0x239019(0x14b)]:return new file_size_retriever_1[(_0x239019(0x161))](_0x5155e9,_0x46ef90);case storage_type_enum_1[_0x239019(0x152)]['Local']:return new file_size_retriever_1[(_0x239019(0x164))](_0x5155e9);case storage_type_enum_1['StorageType'][_0x239019(0x162)]:return new file_size_retriever_1[(_0x239019(0x163))](_0x5155e9);default:throw new Error(_0x239019(0x15c)+_0x167c8a+'\x22');}}static['createRetrieveHelper'](_0x4bc42b,_0x23740d,_0xe0e3fa){const _0x1e94fd=_0x284cc7;switch(_0x4bc42b){case storage_type_enum_1[_0x1e94fd(0x152)][_0x1e94fd(0x166)]:return new retrieve_1[(_0x1e94fd(0x149))](_0xe0e3fa);case storage_type_enum_1[_0x1e94fd(0x152)]['AWS_S3']:return new retrieve_1['AwsS3Helper'](_0xe0e3fa,_0x23740d);case storage_type_enum_1['StorageType'][_0x1e94fd(0x162)]:return new retrieve_1['AzureHelper'](_0x23740d,_0xe0e3fa);default:throw new Error(_0x1e94fd(0x144)+_0x4bc42b+'\x22');}}static[_0x284cc7(0x156)](_0x14a12b,_0x277203){const _0x2418b7=_0x284cc7;switch(_0x14a12b){case storage_type_enum_1[_0x2418b7(0x152)]['Local']:return new copy_1['LocalCopy'](_0x277203);case storage_type_enum_1['StorageType'][_0x2418b7(0x14b)]:return new copy_1['AwsS3Copy'](_0x277203);default:throw new Error(_0x2418b7(0x15c)+_0x14a12b+'\x22');}}}function _0xad94(_0x22172d,_0x22a201){const _0xaa34be=_0xaa34();return _0xad94=function(_0xad94c5,_0x413625){_0xad94c5=_0xad94c5-0x143;let _0x22e035=_0xaa34be[_0xad94c5];return _0x22e035;},_0xad94(_0x22172d,_0x22a201);}function _0xaa34(){const _0x5d0012=['AwsS3FileSizeRetriever','AZURE_BLOB','AzureFileSizeRetriever','LocalFileSizeRetriever','./deploy','Local','AzureRetrieve','Unknown\x20storage\x20type\x20for\x20creating\x20retrieve\x20helper\x20-\x20\x22','createDeploy','17206IhJyFv','LocalCredentials','createCredentials','LocalHelper','./retrieve','AWS_S3','./file-size-retriever','defineProperty','1549108XQuSSz','./delete','80HAClgd','29546838DXmmLW','StorageType','AwsS3Retrieve','StorageFactory','2654937kLtpPy','createCopy','AzureDeploy','LocalRetrieve','__esModule','8549910bkEKWw','6MzZnoI','Unknown\x20storage\x20type\x20-\x20\x22','1540994qjAWms','AzureDelete','14122640mhyBbW','AzureCredentials'];_0xaa34=function(){return _0x5d0012;};return _0xaa34();}exports[_0x284cc7(0x154)]=StorageFactory;
@@ -1 +1 @@
1
- 'use strict';const _0x44b6a1=_0x3fb3;(function(_0xfbea1a,_0x23c6c9){const _0x2caae9=_0x3fb3,_0x4cfb5b=_0xfbea1a();while(!![]){try{const _0x5b397f=parseInt(_0x2caae9(0x1f8))/0x1*(parseInt(_0x2caae9(0x1de))/0x2)+-parseInt(_0x2caae9(0x1ea))/0x3*(-parseInt(_0x2caae9(0x1f4))/0x4)+parseInt(_0x2caae9(0x1f0))/0x5+-parseInt(_0x2caae9(0x1f2))/0x6+-parseInt(_0x2caae9(0x1e4))/0x7+-parseInt(_0x2caae9(0x1ee))/0x8+parseInt(_0x2caae9(0x1ec))/0x9;if(_0x5b397f===_0x23c6c9)break;else _0x4cfb5b['push'](_0x4cfb5b['shift']());}catch(_0x42f055){_0x4cfb5b['push'](_0x4cfb5b['shift']());}}}(_0x29f9,0xc12e8));function _0x3fb3(_0x151ce8,_0x49c06a){const _0x29f9d6=_0x29f9();return _0x3fb3=function(_0x3fb3f2,_0x2d766c){_0x3fb3f2=_0x3fb3f2-0x1db;let _0x1c85bc=_0x29f9d6[_0x3fb3f2];return _0x1c85bc;},_0x3fb3(_0x151ce8,_0x49c06a);}var __awaiter=this&&this[_0x44b6a1(0x1f9)]||function(_0x2f10da,_0x17c694,_0x32cc12,_0xd86ed4){function _0xd37560(_0x5a6d7f){return _0x5a6d7f instanceof _0x32cc12?_0x5a6d7f:new _0x32cc12(function(_0x3ab967){_0x3ab967(_0x5a6d7f);});}return new(_0x32cc12||(_0x32cc12=Promise))(function(_0x559466,_0x4edb12){const _0x306226=_0x3fb3;function _0x425685(_0x31b6a2){const _0xf72112=_0x3fb3;try{_0x5575f8(_0xd86ed4[_0xf72112(0x1db)](_0x31b6a2));}catch(_0xea77e5){_0x4edb12(_0xea77e5);}}function _0x418cab(_0x373dd5){const _0x42fb84=_0x3fb3;try{_0x5575f8(_0xd86ed4[_0x42fb84(0x1eb)](_0x373dd5));}catch(_0x50bd3d){_0x4edb12(_0x50bd3d);}}function _0x5575f8(_0x25319){const _0x2563ca=_0x3fb3;_0x25319['done']?_0x559466(_0x25319[_0x2563ca(0x1e2)]):_0xd37560(_0x25319[_0x2563ca(0x1e2)])['then'](_0x425685,_0x418cab);}_0x5575f8((_0xd86ed4=_0xd86ed4[_0x306226(0x1e5)](_0x2f10da,_0x17c694||[]))[_0x306226(0x1db)]());});},__importDefault=this&&this[_0x44b6a1(0x1f3)]||function(_0x4aa91d){const _0x5d87e0=_0x44b6a1;return _0x4aa91d&&_0x4aa91d[_0x5d87e0(0x1ef)]?_0x4aa91d:{'default':_0x4aa91d};};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x44b6a1(0x1e1)]=void 0x0;const base_file_size_retriever_1=require('./base-file-size-retriever'),client_s3_1=require('@aws-sdk/client-s3'),path_1=__importDefault(require(_0x44b6a1(0x1fa))),aws_s3_utils_1=require(_0x44b6a1(0x1e3));class AwsS3FileSizeRetriever extends base_file_size_retriever_1[_0x44b6a1(0x1e9)]{constructor(_0x149cfc,_0x4ad252){const _0x1f9e4b=_0x44b6a1;super(_0x149cfc),this[_0x1f9e4b(0x1ed)]=aws_s3_utils_1[_0x1f9e4b(0x1df)]['createS3Client'](_0x149cfc,_0x4ad252);}['execute'](_0x2f0d8b){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x354e02=_0x3fb3,_0x6d2275=_0x2f0d8b[_0x354e02(0x1fb)](path_1[_0x354e02(0x1e8)][_0x354e02(0x1e0)])[_0x354e02(0x1f6)](path_1[_0x354e02(0x1e8)][_0x354e02(0x1e6)][_0x354e02(0x1e0)]),_0x477db4=new client_s3_1[(_0x354e02(0x1fc))]({'Bucket':this[_0x354e02(0x1f5)][_0x354e02(0x1dd)],'Key':_0x6d2275});try{const _0x35344d=yield this[_0x354e02(0x1ed)][_0x354e02(0x1dc)](_0x477db4);return _0x35344d[_0x354e02(0x1e7)];}catch(_0x3be56c){if(_0x3be56c[_0x354e02(0x1f1)]===_0x354e02(0x1f7))return null;throw _0x3be56c;}});}}exports[_0x44b6a1(0x1e1)]=AwsS3FileSizeRetriever;function _0x29f9(){const _0x35ee47=['AwsS3FileSizeRetriever','value','../utils/aws-s3.utils','6835899zpEncm','apply','posix','ContentLength','default','BaseFileSizeRetriever','21KTvOEI','throw','5418801FdtbzS','s3Client','4827624lNGMBv','__esModule','2779690raytYv','name','3176454nwoQEe','__importDefault','605188yzmXoH','credentials','join','NotFound','97655RVXtFh','__awaiter','path','split','HeadObjectCommand','next','send','bucketName','14JkhbVK','AwsS3Utils','sep'];_0x29f9=function(){return _0x35ee47;};return _0x29f9();}
1
+ 'use strict';const _0x15a995=_0x45dd;(function(_0x3193cc,_0x563a79){const _0x29cf93=_0x45dd,_0x10d88e=_0x3193cc();while(!![]){try{const _0x3537b2=-parseInt(_0x29cf93(0x1d5))/0x1+parseInt(_0x29cf93(0x1bf))/0x2*(-parseInt(_0x29cf93(0x1d3))/0x3)+-parseInt(_0x29cf93(0x1c2))/0x4+parseInt(_0x29cf93(0x1c9))/0x5+-parseInt(_0x29cf93(0x1bd))/0x6*(parseInt(_0x29cf93(0x1be))/0x7)+-parseInt(_0x29cf93(0x1dc))/0x8+-parseInt(_0x29cf93(0x1da))/0x9*(-parseInt(_0x29cf93(0x1df))/0xa);if(_0x3537b2===_0x563a79)break;else _0x10d88e['push'](_0x10d88e['shift']());}catch(_0x1b8dd1){_0x10d88e['push'](_0x10d88e['shift']());}}}(_0x51b7,0xc655c));var __awaiter=this&&this[_0x15a995(0x1ca)]||function(_0x4ba363,_0x13860e,_0x993d3e,_0x16827c){function _0x17da44(_0x190224){return _0x190224 instanceof _0x993d3e?_0x190224:new _0x993d3e(function(_0x510fae){_0x510fae(_0x190224);});}return new(_0x993d3e||(_0x993d3e=Promise))(function(_0x2e17ec,_0x1dc8eb){const _0x1ed70f=_0x45dd;function _0x52efd4(_0x1baf7a){try{_0x5ea1fb(_0x16827c['next'](_0x1baf7a));}catch(_0x2a5bee){_0x1dc8eb(_0x2a5bee);}}function _0x2e1829(_0x215471){const _0x32a2e5=_0x45dd;try{_0x5ea1fb(_0x16827c[_0x32a2e5(0x1e0)](_0x215471));}catch(_0x3ff5a3){_0x1dc8eb(_0x3ff5a3);}}function _0x5ea1fb(_0xcfb4cc){const _0x22a857=_0x45dd;_0xcfb4cc['done']?_0x2e17ec(_0xcfb4cc['value']):_0x17da44(_0xcfb4cc[_0x22a857(0x1c8)])[_0x22a857(0x1d9)](_0x52efd4,_0x2e1829);}_0x5ea1fb((_0x16827c=_0x16827c[_0x1ed70f(0x1e1)](_0x4ba363,_0x13860e||[]))[_0x1ed70f(0x1db)]());});},__importDefault=this&&this[_0x15a995(0x1cc)]||function(_0x3abb5b){const _0x2aeef7=_0x15a995;return _0x3abb5b&&_0x3abb5b[_0x2aeef7(0x1c3)]?_0x3abb5b:{'default':_0x3abb5b};};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x15a995(0x1c1)]=void 0x0;const base_file_size_retriever_1=require(_0x15a995(0x1d8)),client_s3_1=require('@aws-sdk/client-s3'),path_1=__importDefault(require(_0x15a995(0x1c0))),aws_s3_utils_1=require(_0x15a995(0x1d0));class AwsS3FileSizeRetriever extends base_file_size_retriever_1[_0x15a995(0x1d2)]{constructor(_0x270263,_0x22bd8a){const _0x17027c=_0x15a995;super(_0x270263),this[_0x17027c(0x1dd)]=aws_s3_utils_1[_0x17027c(0x1d6)]['createS3Client'](_0x270263,_0x22bd8a);}[_0x15a995(0x1c5)](_0x596263){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3ec050=_0x45dd,_0x2ea7aa=_0x596263[_0x3ec050(0x1cf)](path_1['default'][_0x3ec050(0x1c4)])[_0x3ec050(0x1c7)](path_1['default'][_0x3ec050(0x1cb)][_0x3ec050(0x1c4)]),_0x240d16=new client_s3_1[(_0x3ec050(0x1de))]({'Bucket':this[_0x3ec050(0x1d7)][_0x3ec050(0x1ce)],'Key':_0x2ea7aa});try{const _0x2a44b6=yield this[_0x3ec050(0x1dd)][_0x3ec050(0x1d1)](_0x240d16);return _0x2a44b6[_0x3ec050(0x1d4)];}catch(_0x364585){if(_0x364585[_0x3ec050(0x1cd)]===_0x3ec050(0x1c6))return null;throw _0x364585;}});}}function _0x45dd(_0x2b6f80,_0x4d79ad){const _0x51b73d=_0x51b7();return _0x45dd=function(_0x45dd67,_0x4b7db0){_0x45dd67=_0x45dd67-0x1bd;let _0x16d027=_0x51b73d[_0x45dd67];return _0x16d027;},_0x45dd(_0x2b6f80,_0x4d79ad);}function _0x51b7(){const _0x18c3ce=['6064056rzMivN','s3Client','HeadObjectCommand','82230qroOOe','throw','apply','4447932dceRqP','7YQZCeQ','8596FDMWkB','path','AwsS3FileSizeRetriever','4642756GSLMxc','__esModule','sep','execute','NotFound','join','value','7600280tUCGPq','__awaiter','posix','__importDefault','name','bucketName','split','../utils/aws-s3.utils','send','BaseFileSizeRetriever','69kmiSsL','ContentLength','234798JmbcYR','AwsS3Utils','credentials','./base-file-size-retriever','then','2502pSXXNl','next'];_0x51b7=function(){return _0x18c3ce;};return _0x51b7();}exports['AwsS3FileSizeRetriever']=AwsS3FileSizeRetriever;