@flosum/storages 1.3.4-backup.1 → 1.3.5

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 (61) hide show
  1. package/dist/copy/aws-s3-copy.d.ts +2 -1
  2. package/dist/copy/aws-s3-copy.js +1 -1
  3. package/dist/copy/base-copy.js +1 -1
  4. package/dist/copy/index.js +1 -1
  5. package/dist/copy/local-copy.js +1 -1
  6. package/dist/credentials/aws-s3-credentials.js +1 -1
  7. package/dist/credentials/azure-credentials.js +1 -1
  8. package/dist/credentials/base-credentials.js +1 -1
  9. package/dist/credentials/index.js +1 -1
  10. package/dist/credentials/local-credentials.js +1 -1
  11. package/dist/delete/aws-s3-delete.d.ts +2 -1
  12. package/dist/delete/aws-s3-delete.js +1 -1
  13. package/dist/delete/azure-delete.js +1 -1
  14. package/dist/delete/base-delete.js +1 -1
  15. package/dist/delete/index.js +1 -1
  16. package/dist/delete/local-delete.js +1 -1
  17. package/dist/deploy/aws-s3-deploy.d.ts +2 -2
  18. package/dist/deploy/aws-s3-deploy.js +1 -1
  19. package/dist/deploy/azure-deploy.js +1 -1
  20. package/dist/deploy/base-deploy.js +1 -1
  21. package/dist/deploy/index.js +1 -1
  22. package/dist/deploy/local-deploy.js +1 -1
  23. package/dist/factory.d.ts +6 -0
  24. package/dist/factory.js +1 -1
  25. package/dist/file-size-retriever/aws-s3-file-size-retriever.js +1 -1
  26. package/dist/file-size-retriever/azure-file-size-retriever.js +1 -1
  27. package/dist/file-size-retriever/base-file-size-retriever.js +1 -1
  28. package/dist/file-size-retriever/index.js +1 -1
  29. package/dist/file-size-retriever/local-size-retriever.js +1 -1
  30. package/dist/index.d.ts +2 -1
  31. package/dist/index.js +1 -1
  32. package/dist/init.js +1 -1
  33. package/dist/instances/aws-s3.storage-instance.d.ts +15 -0
  34. package/dist/instances/aws-s3.storage-instance.js +1 -0
  35. package/dist/instances/base.storage-instance.d.ts +34 -0
  36. package/dist/instances/base.storage-instance.js +1 -0
  37. package/dist/instances/index.d.ts +3 -0
  38. package/dist/instances/index.js +1 -0
  39. package/dist/instances/local.storage-instance.d.ts +9 -0
  40. package/dist/instances/local.storage-instance.js +1 -0
  41. package/dist/retrieve/aws-s3-import-helper.js +1 -1
  42. package/dist/retrieve/aws-s3-retrieve.d.ts +2 -2
  43. package/dist/retrieve/aws-s3-retrieve.js +1 -1
  44. package/dist/retrieve/azure-retrieve.js +1 -1
  45. package/dist/retrieve/base-retrieve.js +1 -1
  46. package/dist/retrieve/helpers/aws-s3-helper.js +1 -1
  47. package/dist/retrieve/helpers/azure-helper.js +1 -1
  48. package/dist/retrieve/helpers/base-helper.js +1 -1
  49. package/dist/retrieve/helpers/local-helper.js +1 -1
  50. package/dist/retrieve/index.js +1 -1
  51. package/dist/retrieve/local-retrieve.js +1 -1
  52. package/dist/types/aws.types.js +1 -1
  53. package/dist/types/azure.types.js +1 -1
  54. package/dist/types/index.js +1 -1
  55. package/dist/types/internal.types.js +1 -1
  56. package/dist/types/retrieve-status.enum.js +1 -1
  57. package/dist/types/storage-type.enum.js +1 -1
  58. package/dist/utils/aws-s3.utils.js +1 -1
  59. package/dist/utils/azure.utils.js +1 -1
  60. package/dist/utils/cache.utils.js +1 -1
  61. package/package.json +3 -2
@@ -1,7 +1,8 @@
1
1
  import { AwsS3Credentials } from '../credentials';
2
2
  import { BaseCopy } from './base-copy';
3
+ import { S3Client } from '@aws-sdk/client-s3';
3
4
  export declare class AwsS3Copy extends BaseCopy<AwsS3Credentials> {
4
5
  private readonly s3Client;
5
- constructor(credentials: AwsS3Credentials);
6
+ constructor(credentials: AwsS3Credentials, s3Client?: S3Client);
6
7
  execute(sourcePath: string, destinationPath: string): Promise<void>;
7
8
  }
@@ -1 +1 @@
1
- 'use strict';function _0x3746(_0x51da55,_0x559a0d){const _0x452d0f=_0x452d();return _0x3746=function(_0x3746ab,_0x440285){_0x3746ab=_0x3746ab-0x1af;let _0x5ae4c0=_0x452d0f[_0x3746ab];return _0x5ae4c0;},_0x3746(_0x51da55,_0x559a0d);}const _0x43813f=_0x3746;(function(_0x1c7341,_0x650623){const _0x5b9c86=_0x3746,_0x32d4f6=_0x1c7341();while(!![]){try{const _0x51443c=parseInt(_0x5b9c86(0x1bf))/0x1*(-parseInt(_0x5b9c86(0x1b5))/0x2)+-parseInt(_0x5b9c86(0x1af))/0x3*(parseInt(_0x5b9c86(0x1ca))/0x4)+parseInt(_0x5b9c86(0x1b0))/0x5+-parseInt(_0x5b9c86(0x1b7))/0x6*(-parseInt(_0x5b9c86(0x1bd))/0x7)+parseInt(_0x5b9c86(0x1c9))/0x8*(parseInt(_0x5b9c86(0x1ba))/0x9)+parseInt(_0x5b9c86(0x1c3))/0xa+parseInt(_0x5b9c86(0x1bb))/0xb*(-parseInt(_0x5b9c86(0x1c7))/0xc);if(_0x51443c===_0x650623)break;else _0x32d4f6['push'](_0x32d4f6['shift']());}catch(_0x379625){_0x32d4f6['push'](_0x32d4f6['shift']());}}}(_0x452d,0x4e726));function _0x452d(){const _0x1917dc=['CopyObjectCommand','apply','27AZJocF','44605UfQavS','bucketName','12677HAJJaz','__awaiter','19HJFAHW','s3Client','__esModule','./base-copy','5131230mMQmIa','defineProperty','BaseCopy','../utils/aws-s3.utils','60YifVYq','execute','578312JiHuVg','1244UhUXBn','AwsS3Utils','credentials','5178KcPOHb','1680890hcGeRR','done','value','next','throw','44740Zzrjam','createS3Client','786tGMItK'];_0x452d=function(){return _0x1917dc;};return _0x452d();}var __awaiter=this&&this[_0x43813f(0x1be)]||function(_0x5ec728,_0x524e54,_0x114f77,_0x58d461){function _0x5bbd5d(_0x45dad6){return _0x45dad6 instanceof _0x114f77?_0x45dad6:new _0x114f77(function(_0x50a739){_0x50a739(_0x45dad6);});}return new(_0x114f77||(_0x114f77=Promise))(function(_0x53904a,_0x3bab55){const _0x46d1bc=_0x3746;function _0x3d5441(_0xef1c25){const _0x4f3596=_0x3746;try{_0x3aa667(_0x58d461[_0x4f3596(0x1b3)](_0xef1c25));}catch(_0x5438ba){_0x3bab55(_0x5438ba);}}function _0x45c4d1(_0xe46417){const _0x34941c=_0x3746;try{_0x3aa667(_0x58d461[_0x34941c(0x1b4)](_0xe46417));}catch(_0x53d022){_0x3bab55(_0x53d022);}}function _0x3aa667(_0x5cf9ea){const _0x5e6a94=_0x3746;_0x5cf9ea[_0x5e6a94(0x1b1)]?_0x53904a(_0x5cf9ea[_0x5e6a94(0x1b2)]):_0x5bbd5d(_0x5cf9ea[_0x5e6a94(0x1b2)])['then'](_0x3d5441,_0x45c4d1);}_0x3aa667((_0x58d461=_0x58d461[_0x46d1bc(0x1b9)](_0x5ec728,_0x524e54||[]))[_0x46d1bc(0x1b3)]());});};Object[_0x43813f(0x1c4)](exports,_0x43813f(0x1c1),{'value':!![]}),exports['AwsS3Copy']=void 0x0;const base_copy_1=require(_0x43813f(0x1c2)),client_s3_1=require('@aws-sdk/client-s3'),aws_s3_utils_1=require(_0x43813f(0x1c6));class AwsS3Copy extends base_copy_1[_0x43813f(0x1c5)]{constructor(_0x57e1b1){const _0x57b2cd=_0x43813f;super(_0x57e1b1),this['s3Client']=aws_s3_utils_1[_0x57b2cd(0x1cb)][_0x57b2cd(0x1b6)](_0x57e1b1);}[_0x43813f(0x1c8)](_0x1cf4f4,_0x4bee97){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x61dbdd=_0x3746,_0x1d1964=new client_s3_1[(_0x61dbdd(0x1b8))]({'Bucket':this[_0x61dbdd(0x1cc)][_0x61dbdd(0x1bc)],'CopySource':_0x1cf4f4,'Key':_0x4bee97});yield this[_0x61dbdd(0x1c0)]['send'](_0x1d1964);});}}exports['AwsS3Copy']=AwsS3Copy;
1
+ 'use strict';function _0x1880(){const _0x838b8a=['__awaiter','credentials','../utils/aws-s3.utils','value','28hEKEqF','1617248uwzRJN','done','458922SZuQyx','1023955hrQSSw','throw','12KUbPgy','56030eIGHpb','2726440gEIAwi','bucketName','s3Client','__esModule','execute','12LsJpcC','AwsS3Utils','defineProperty','next','CopyObjectCommand','createS3Client','AwsS3Copy','./base-copy','46502LNyUvx','1008wEktqq','5522693QLaAQP','6BOCENF'];_0x1880=function(){return _0x838b8a;};return _0x1880();}const _0x47c082=_0x16f9;(function(_0xa43cb2,_0x4c7c04){const _0x23c5fc=_0x16f9,_0x28f657=_0xa43cb2();while(!![]){try{const _0x294baa=-parseInt(_0x23c5fc(0x1cd))/0x1*(-parseInt(_0x23c5fc(0x1c5))/0x2)+-parseInt(_0x23c5fc(0x1d0))/0x3*(parseInt(_0x23c5fc(0x1d6))/0x4)+-parseInt(_0x23c5fc(0x1d9))/0x5+-parseInt(_0x23c5fc(0x1d8))/0x6*(parseInt(_0x23c5fc(0x1d5))/0x7)+parseInt(_0x23c5fc(0x1c0))/0x8+-parseInt(_0x23c5fc(0x1ce))/0x9*(-parseInt(_0x23c5fc(0x1bf))/0xa)+-parseInt(_0x23c5fc(0x1cf))/0xb*(-parseInt(_0x23c5fc(0x1db))/0xc);if(_0x294baa===_0x4c7c04)break;else _0x28f657['push'](_0x28f657['shift']());}catch(_0x5aab3a){_0x28f657['push'](_0x28f657['shift']());}}}(_0x1880,0x68fe5));var __awaiter=this&&this[_0x47c082(0x1d1)]||function(_0x4987bc,_0x3a136b,_0x5e8178,_0x30d4a0){function _0x335de9(_0x4eae0e){return _0x4eae0e instanceof _0x5e8178?_0x4eae0e:new _0x5e8178(function(_0x335ca1){_0x335ca1(_0x4eae0e);});}return new(_0x5e8178||(_0x5e8178=Promise))(function(_0x448278,_0x4d12e6){function _0x261f84(_0x6a1e70){const _0x38f519=_0x16f9;try{_0x3c3f44(_0x30d4a0[_0x38f519(0x1c8)](_0x6a1e70));}catch(_0x39c7ea){_0x4d12e6(_0x39c7ea);}}function _0x51716b(_0x4a3571){const _0x17b37d=_0x16f9;try{_0x3c3f44(_0x30d4a0[_0x17b37d(0x1da)](_0x4a3571));}catch(_0x4112fa){_0x4d12e6(_0x4112fa);}}function _0x3c3f44(_0x4b7016){const _0x1cd710=_0x16f9;_0x4b7016[_0x1cd710(0x1d7)]?_0x448278(_0x4b7016[_0x1cd710(0x1d4)]):_0x335de9(_0x4b7016[_0x1cd710(0x1d4)])['then'](_0x261f84,_0x51716b);}_0x3c3f44((_0x30d4a0=_0x30d4a0['apply'](_0x4987bc,_0x3a136b||[]))['next']());});};Object[_0x47c082(0x1c7)](exports,_0x47c082(0x1c3),{'value':!![]}),exports[_0x47c082(0x1cb)]=void 0x0;const base_copy_1=require(_0x47c082(0x1cc)),client_s3_1=require('@aws-sdk/client-s3'),aws_s3_utils_1=require(_0x47c082(0x1d3));class AwsS3Copy extends base_copy_1['BaseCopy']{constructor(_0x33f11d,_0x1760a9){const _0x552068=_0x47c082;super(_0x33f11d),this[_0x552068(0x1c2)]=_0x1760a9||aws_s3_utils_1[_0x552068(0x1c6)][_0x552068(0x1ca)](_0x33f11d);}[_0x47c082(0x1c4)](_0x4081e0,_0x71fcc0){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x507d1b=_0x16f9,_0x4675db=new client_s3_1[(_0x507d1b(0x1c9))]({'Bucket':this[_0x507d1b(0x1d2)][_0x507d1b(0x1c1)],'CopySource':_0x4081e0,'Key':_0x71fcc0});yield this[_0x507d1b(0x1c2)]['send'](_0x4675db);});}}function _0x16f9(_0x41747e,_0x190555){const _0x1880c3=_0x1880();return _0x16f9=function(_0x16f923,_0x303845){_0x16f923=_0x16f923-0x1bf;let _0x385db7=_0x1880c3[_0x16f923];return _0x385db7;},_0x16f9(_0x41747e,_0x190555);}exports[_0x47c082(0x1cb)]=AwsS3Copy;
@@ -1 +1 @@
1
- 'use strict';var _0x21d4a5=_0x20d3;(function(_0x4b6b99,_0x5d65d6){var _0x588d9d=_0x20d3,_0x530765=_0x4b6b99();while(!![]){try{var _0x303519=parseInt(_0x588d9d(0xc6))/0x1+-parseInt(_0x588d9d(0xcb))/0x2*(parseInt(_0x588d9d(0xce))/0x3)+parseInt(_0x588d9d(0xcd))/0x4+-parseInt(_0x588d9d(0xc4))/0x5+-parseInt(_0x588d9d(0xcc))/0x6+-parseInt(_0x588d9d(0xc9))/0x7*(-parseInt(_0x588d9d(0xc5))/0x8)+-parseInt(_0x588d9d(0xc2))/0x9*(-parseInt(_0x588d9d(0xc8))/0xa);if(_0x303519===_0x5d65d6)break;else _0x530765['push'](_0x530765['shift']());}catch(_0x3279e3){_0x530765['push'](_0x530765['shift']());}}}(_0x306f,0xb559f));function _0x306f(){var _0x109c34=['__esModule','84tFcFDO','8838174OPHIfP','1264508eMPIkX','103806sLQEeg','BaseCopy','21343347yohGku','defineProperty','3086170TbFPmw','118248ixwGRz','977950DGVELx','credentials','10dYqhox','294LYSsgd'];_0x306f=function(){return _0x109c34;};return _0x306f();}Object[_0x21d4a5(0xc3)](exports,_0x21d4a5(0xca),{'value':!![]}),exports[_0x21d4a5(0xc1)]=void 0x0;function _0x20d3(_0x1fe7cb,_0x3b1429){var _0x306f7d=_0x306f();return _0x20d3=function(_0x20d33f,_0x5ab363){_0x20d33f=_0x20d33f-0xc1;var _0x1eb37f=_0x306f7d[_0x20d33f];return _0x1eb37f;},_0x20d3(_0x1fe7cb,_0x3b1429);}class BaseCopy{constructor(_0x170a1e){var _0x266239=_0x21d4a5;this[_0x266239(0xc7)]=_0x170a1e;}}exports[_0x21d4a5(0xc1)]=BaseCopy;
1
+ 'use strict';function _0x3a9b(_0x5c8c6b,_0x5bd1a0){var _0x23b7e7=_0x23b7();return _0x3a9b=function(_0x3a9bb7,_0x2a8f68){_0x3a9bb7=_0x3a9bb7-0x1f0;var _0x37806f=_0x23b7e7[_0x3a9bb7];return _0x37806f;},_0x3a9b(_0x5c8c6b,_0x5bd1a0);}function _0x23b7(){var _0x59719a=['6LUPtsO','1722444VHZCEO','12770wSjfdo','2556888EfuCkS','2797332lraAUl','defineProperty','674779mHOUxA','5TVOfjn','__esModule','3KgvilS','1098046TlPwUC','11GovjAC','436233rkOUwq','2124QrfLXp','credentials','BaseCopy'];_0x23b7=function(){return _0x59719a;};return _0x23b7();}var _0x24eb2a=_0x3a9b;(function(_0x39b687,_0x4bc914){var _0x443979=_0x3a9b,_0x197cd4=_0x39b687();while(!![]){try{var _0x2928f9=-parseInt(_0x443979(0x1fb))/0x1+parseInt(_0x443979(0x1ff))/0x2*(parseInt(_0x443979(0x1fe))/0x3)+-parseInt(_0x443979(0x1f6))/0x4*(parseInt(_0x443979(0x1fc))/0x5)+parseInt(_0x443979(0x1f5))/0x6*(parseInt(_0x443979(0x1f1))/0x7)+parseInt(_0x443979(0x1f8))/0x8+-parseInt(_0x443979(0x1f2))/0x9*(-parseInt(_0x443979(0x1f7))/0xa)+parseInt(_0x443979(0x1f0))/0xb*(parseInt(_0x443979(0x1f9))/0xc);if(_0x2928f9===_0x4bc914)break;else _0x197cd4['push'](_0x197cd4['shift']());}catch(_0xd7ce35){_0x197cd4['push'](_0x197cd4['shift']());}}}(_0x23b7,0x57e6e));Object[_0x24eb2a(0x1fa)](exports,_0x24eb2a(0x1fd),{'value':!![]}),exports[_0x24eb2a(0x1f4)]=void 0x0;class BaseCopy{constructor(_0x1f50b2){var _0x48d419=_0x24eb2a;this[_0x48d419(0x1f3)]=_0x1f50b2;}}exports[_0x24eb2a(0x1f4)]=BaseCopy;
@@ -1 +1 @@
1
- 'use strict';var _0x3ef739=_0x141f;(function(_0x5afe5c,_0x2d66da){var _0x48ceb4=_0x141f,_0x1a20ec=_0x5afe5c();while(!![]){try{var _0x41f938=parseInt(_0x48ceb4(0x11b))/0x1+-parseInt(_0x48ceb4(0x11c))/0x2+-parseInt(_0x48ceb4(0x11a))/0x3*(parseInt(_0x48ceb4(0x123))/0x4)+-parseInt(_0x48ceb4(0x119))/0x5+parseInt(_0x48ceb4(0x122))/0x6+parseInt(_0x48ceb4(0x117))/0x7+-parseInt(_0x48ceb4(0x118))/0x8*(-parseInt(_0x48ceb4(0x121))/0x9);if(_0x41f938===_0x2d66da)break;else _0x1a20ec['push'](_0x1a20ec['shift']());}catch(_0x4a4a7d){_0x1a20ec['push'](_0x1a20ec['shift']());}}}(_0x5497,0x5c6b4));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x3ef739(0x11e)]=exports[_0x3ef739(0x11f)]=exports[_0x3ef739(0x120)]=void 0x0;var base_copy_1=require(_0x3ef739(0x11d));function _0x5497(){var _0x3212e7=['928917ewpovH','220176dbgEzb','4wsOSpu','defineProperty','953547QVWTxG','16QBmHKx','401735axmDok','124347wOfRiC','150202noOqFQ','58402GQDeQE','./base-copy','AwsS3Copy','LocalCopy','BaseCopy'];_0x5497=function(){return _0x3212e7;};return _0x5497();}Object['defineProperty'](exports,_0x3ef739(0x120),{'enumerable':!![],'get':function(){return base_copy_1['BaseCopy'];}});function _0x141f(_0x170ed8,_0x47e3bc){var _0x5497e2=_0x5497();return _0x141f=function(_0x141f74,_0x215b98){_0x141f74=_0x141f74-0x116;var _0x3e0fc5=_0x5497e2[_0x141f74];return _0x3e0fc5;},_0x141f(_0x170ed8,_0x47e3bc);}var local_copy_1=require('./local-copy');Object['defineProperty'](exports,_0x3ef739(0x11f),{'enumerable':!![],'get':function(){var _0x4bc35d=_0x3ef739;return local_copy_1[_0x4bc35d(0x11f)];}});var aws_s3_copy_1=require('./aws-s3-copy');Object[_0x3ef739(0x116)](exports,_0x3ef739(0x11e),{'enumerable':!![],'get':function(){return aws_s3_copy_1['AwsS3Copy'];}});
1
+ 'use strict';var _0x1773cf=_0x1b69;function _0x1b69(_0x4a4235,_0xb1c9d3){var _0x49ebc3=_0x49eb();return _0x1b69=function(_0x1b6952,_0x1234f0){_0x1b6952=_0x1b6952-0x18f;var _0x206b7b=_0x49ebc3[_0x1b6952];return _0x206b7b;},_0x1b69(_0x4a4235,_0xb1c9d3);}(function(_0x2578a7,_0x78fff3){var _0x21e090=_0x1b69,_0x3b40b3=_0x2578a7();while(!![]){try{var _0x3253e2=-parseInt(_0x21e090(0x19a))/0x1+-parseInt(_0x21e090(0x193))/0x2*(-parseInt(_0x21e090(0x194))/0x3)+-parseInt(_0x21e090(0x191))/0x4+-parseInt(_0x21e090(0x196))/0x5+-parseInt(_0x21e090(0x18f))/0x6*(-parseInt(_0x21e090(0x195))/0x7)+parseInt(_0x21e090(0x199))/0x8*(-parseInt(_0x21e090(0x19d))/0x9)+parseInt(_0x21e090(0x19e))/0xa*(parseInt(_0x21e090(0x19b))/0xb);if(_0x3253e2===_0x78fff3)break;else _0x3b40b3['push'](_0x3b40b3['shift']());}catch(_0xf055e2){_0x3b40b3['push'](_0x3b40b3['shift']());}}}(_0x49eb,0xec979));function _0x49eb(){var _0x545604=['19154069aYSlyj','LocalCopy','18PlkVnu','20lHqpuW','933270wYBBMj','__esModule','5624456JPErOI','AwsS3Copy','62970YTUnJR','114LqLMBF','21DRSNte','2508370mpvjdm','defineProperty','BaseCopy','7394112SOVhyI','420226qAKfRF'];_0x49eb=function(){return _0x545604;};return _0x49eb();}Object[_0x1773cf(0x197)](exports,_0x1773cf(0x190),{'value':!![]}),exports[_0x1773cf(0x192)]=exports['LocalCopy']=exports[_0x1773cf(0x198)]=void 0x0;var base_copy_1=require('./base-copy');Object[_0x1773cf(0x197)](exports,_0x1773cf(0x198),{'enumerable':!![],'get':function(){var _0x54ef54=_0x1773cf;return base_copy_1[_0x54ef54(0x198)];}});var local_copy_1=require('./local-copy');Object[_0x1773cf(0x197)](exports,'LocalCopy',{'enumerable':!![],'get':function(){var _0xea1447=_0x1773cf;return local_copy_1[_0xea1447(0x19c)];}});var aws_s3_copy_1=require('./aws-s3-copy');Object[_0x1773cf(0x197)](exports,'AwsS3Copy',{'enumerable':!![],'get':function(){var _0x4c1e54=_0x1773cf;return aws_s3_copy_1[_0x4c1e54(0x192)];}});
@@ -1 +1 @@
1
- 'use strict';function _0x45d7(_0x4e5cd4,_0x413d27){const _0x207a40=_0x207a();return _0x45d7=function(_0x45d7ba,_0x3a3051){_0x45d7ba=_0x45d7ba-0xe7;let _0x2dff4e=_0x207a40[_0x45d7ba];return _0x2dff4e;},_0x45d7(_0x4e5cd4,_0x413d27);}const _0x50e84a=_0x45d7;(function(_0x4a773f,_0x4d3186){const _0x4db854=_0x45d7,_0x313460=_0x4a773f();while(!![]){try{const _0x4a25cc=parseInt(_0x4db854(0xfe))/0x1*(-parseInt(_0x4db854(0xf3))/0x2)+-parseInt(_0x4db854(0xfd))/0x3+parseInt(_0x4db854(0xf8))/0x4*(parseInt(_0x4db854(0xea))/0x5)+parseInt(_0x4db854(0xed))/0x6*(-parseInt(_0x4db854(0xf0))/0x7)+parseInt(_0x4db854(0xe8))/0x8*(-parseInt(_0x4db854(0x100))/0x9)+parseInt(_0x4db854(0xe9))/0xa*(parseInt(_0x4db854(0xe7))/0xb)+parseInt(_0x4db854(0xeb))/0xc*(parseInt(_0x4db854(0xff))/0xd);if(_0x4a25cc===_0x4d3186)break;else _0x313460['push'](_0x313460['shift']());}catch(_0x4a160d){_0x313460['push'](_0x313460['shift']());}}}(_0x207a,0x8f4b8));var __awaiter=this&&this[_0x50e84a(0xee)]||function(_0xfb1654,_0x34a996,_0x21008a,_0x3eee74){function _0x50d00e(_0x133d9d){return _0x133d9d instanceof _0x21008a?_0x133d9d:new _0x21008a(function(_0x1bbae7){_0x1bbae7(_0x133d9d);});}return new(_0x21008a||(_0x21008a=Promise))(function(_0x293a5e,_0x5d6f85){const _0x5aa229=_0x45d7;function _0x40f6c9(_0x17e44d){const _0x2fd327=_0x45d7;try{_0x5d46a5(_0x3eee74[_0x2fd327(0xf2)](_0x17e44d));}catch(_0xdc1104){_0x5d6f85(_0xdc1104);}}function _0x349e72(_0x23a787){try{_0x5d46a5(_0x3eee74['throw'](_0x23a787));}catch(_0x588bbc){_0x5d6f85(_0x588bbc);}}function _0x5d46a5(_0x110943){const _0x3e48a0=_0x45d7;_0x110943[_0x3e48a0(0xf4)]?_0x293a5e(_0x110943['value']):_0x50d00e(_0x110943[_0x3e48a0(0xec)])['then'](_0x40f6c9,_0x349e72);}_0x5d46a5((_0x3eee74=_0x3eee74[_0x5aa229(0x102)](_0xfb1654,_0x34a996||[]))[_0x5aa229(0xf2)]());});};Object[_0x50e84a(0xfc)](exports,_0x50e84a(0xfa),{'value':!![]}),exports[_0x50e84a(0x101)]=void 0x0;const base_copy_1=require(_0x50e84a(0xf5)),promises_1=require('fs/promises'),path_1=require(_0x50e84a(0xef));class LocalCopy extends base_copy_1[_0x50e84a(0xf7)]{[_0x50e84a(0xfb)](_0x2a4106,_0x50cff2){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x286fcd=_0x45d7,_0x3e483b=(0x0,path_1[_0x286fcd(0xf6)])(_0x50cff2);yield(0x0,promises_1[_0x286fcd(0xf1)])(_0x3e483b,{'recursive':!![]}),yield(0x0,promises_1[_0x286fcd(0xf9)])(_0x2a4106,_0x50cff2);});}}function _0x207a(){const _0x32a20c=['execute','defineProperty','736116QwmJdI','17427BxEXZd','13uIAFSB','50283GLYntq','LocalCopy','apply','319hBAVju','1592SylADe','45970wvNuDF','5483880eiCzxD','10714008exbEsk','value','6cbHrMB','__awaiter','path','153713JsLTzg','mkdir','next','18qPMXGR','done','./base-copy','dirname','BaseCopy','4iDVXrA','copyFile','__esModule'];_0x207a=function(){return _0x32a20c;};return _0x207a();}exports[_0x50e84a(0x101)]=LocalCopy;
1
+ 'use strict';const _0x28757a=_0x509f;(function(_0x1e56b5,_0x9005aa){const _0x4a02dd=_0x509f,_0x5f4b57=_0x1e56b5();while(!![]){try{const _0x46cbd6=-parseInt(_0x4a02dd(0x1f0))/0x1+-parseInt(_0x4a02dd(0x1f3))/0x2+parseInt(_0x4a02dd(0x1f5))/0x3+parseInt(_0x4a02dd(0x1f1))/0x4+-parseInt(_0x4a02dd(0x1e7))/0x5+parseInt(_0x4a02dd(0x1e6))/0x6*(parseInt(_0x4a02dd(0x1f6))/0x7)+-parseInt(_0x4a02dd(0x1e8))/0x8;if(_0x46cbd6===_0x9005aa)break;else _0x5f4b57['push'](_0x5f4b57['shift']());}catch(_0x11d025){_0x5f4b57['push'](_0x5f4b57['shift']());}}}(_0x210c,0x5cde7));var __awaiter=this&&this[_0x28757a(0x1ee)]||function(_0x3c4446,_0x1cd0fe,_0xe77852,_0x17a072){function _0x15d48d(_0x41781c){return _0x41781c instanceof _0xe77852?_0x41781c:new _0xe77852(function(_0x5d536c){_0x5d536c(_0x41781c);});}return new(_0xe77852||(_0xe77852=Promise))(function(_0x1460b3,_0xbf1ec8){const _0x5883a6=_0x509f;function _0x2dd8eb(_0x21e7c0){try{_0x55e0e2(_0x17a072['next'](_0x21e7c0));}catch(_0x43a723){_0xbf1ec8(_0x43a723);}}function _0x3c8bfc(_0x4fbea8){try{_0x55e0e2(_0x17a072['throw'](_0x4fbea8));}catch(_0x3e0db1){_0xbf1ec8(_0x3e0db1);}}function _0x55e0e2(_0x1a60f1){const _0x3163f0=_0x509f;_0x1a60f1[_0x3163f0(0x1ec)]?_0x1460b3(_0x1a60f1[_0x3163f0(0x1f8)]):_0x15d48d(_0x1a60f1[_0x3163f0(0x1f8)])[_0x3163f0(0x1fa)](_0x2dd8eb,_0x3c8bfc);}_0x55e0e2((_0x17a072=_0x17a072[_0x5883a6(0x1eb)](_0x3c4446,_0x1cd0fe||[]))['next']());});};function _0x509f(_0x240382,_0x34e869){const _0x210c72=_0x210c();return _0x509f=function(_0x509ff1,_0x2a4320){_0x509ff1=_0x509ff1-0x1e6;let _0x4f092d=_0x210c72[_0x509ff1];return _0x4f092d;},_0x509f(_0x240382,_0x34e869);}Object[_0x28757a(0x1f9)](exports,'__esModule',{'value':!![]}),exports[_0x28757a(0x1ed)]=void 0x0;function _0x210c(){const _0x2aff92=['path','2118297lupLZN','853258sIQhyt','mkdir','value','defineProperty','then','24BHWjzO','71320WcPxLw','4611056LTTufE','execute','dirname','apply','done','LocalCopy','__awaiter','copyFile','526741LqsFgU','2842160mHxoUo','./base-copy','812874JddTBO'];_0x210c=function(){return _0x2aff92;};return _0x210c();}const base_copy_1=require(_0x28757a(0x1f2)),promises_1=require('fs/promises'),path_1=require(_0x28757a(0x1f4));class LocalCopy extends base_copy_1['BaseCopy']{[_0x28757a(0x1e9)](_0x59f946,_0x12f4b3){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x19d459=_0x509f,_0x467c1f=(0x0,path_1[_0x19d459(0x1ea)])(_0x12f4b3);yield(0x0,promises_1[_0x19d459(0x1f7)])(_0x467c1f,{'recursive':!![]}),yield(0x0,promises_1[_0x19d459(0x1ef)])(_0x59f946,_0x12f4b3);});}}exports[_0x28757a(0x1ed)]=LocalCopy;
@@ -1 +1 @@
1
- 'use strict';const _0x2de795=_0x21c8;(function(_0x4f49e5,_0x3394ec){const _0x3a73fd=_0x21c8,_0x40363b=_0x4f49e5();while(!![]){try{const _0x25e242=parseInt(_0x3a73fd(0x135))/0x1+parseInt(_0x3a73fd(0x13b))/0x2*(parseInt(_0x3a73fd(0x12d))/0x3)+parseInt(_0x3a73fd(0x120))/0x4+parseInt(_0x3a73fd(0x136))/0x5+-parseInt(_0x3a73fd(0x12c))/0x6*(parseInt(_0x3a73fd(0x129))/0x7)+-parseInt(_0x3a73fd(0x12b))/0x8*(-parseInt(_0x3a73fd(0x126))/0x9)+-parseInt(_0x3a73fd(0x122))/0xa;if(_0x25e242===_0x3394ec)break;else _0x40363b['push'](_0x40363b['shift']());}catch(_0x6673d7){_0x40363b['push'](_0x40363b['shift']());}}}(_0xca12,0xb620e));function _0xca12(){const _0x451deb=['24NudxkX','266394NPTUaK','1338IMenVC','BaseCredentials','credentials','AwsS3Credentials','apply','send','message','region','986550wfrIav','663725iQskJa','validate','accessKeyId','secretAccessKey','done','398tqvDIw','676696HHzyjT','next','11078610LUnBfr','defineProperty','createS3Client','value','3294666FadBmz','__esModule','s3Client','98knshsg','bucketName'];_0xca12=function(){return _0x451deb;};return _0xca12();}var __awaiter=this&&this['__awaiter']||function(_0x241ae0,_0x321f79,_0x263f85,_0x450c37){function _0xf7d95(_0xfad359){return _0xfad359 instanceof _0x263f85?_0xfad359:new _0x263f85(function(_0x1ccc22){_0x1ccc22(_0xfad359);});}return new(_0x263f85||(_0x263f85=Promise))(function(_0x4cbe4e,_0x332792){const _0x51816a=_0x21c8;function _0xaab8e2(_0x25ed37){const _0x369253=_0x21c8;try{_0x116b71(_0x450c37[_0x369253(0x121)](_0x25ed37));}catch(_0x832958){_0x332792(_0x832958);}}function _0x5a6e93(_0xa1ba74){try{_0x116b71(_0x450c37['throw'](_0xa1ba74));}catch(_0x13f5ed){_0x332792(_0x13f5ed);}}function _0x116b71(_0x1a3f98){const _0x37a026=_0x21c8;_0x1a3f98[_0x37a026(0x13a)]?_0x4cbe4e(_0x1a3f98[_0x37a026(0x125)]):_0xf7d95(_0x1a3f98[_0x37a026(0x125)])['then'](_0xaab8e2,_0x5a6e93);}_0x116b71((_0x450c37=_0x450c37[_0x51816a(0x131)](_0x241ae0,_0x321f79||[]))[_0x51816a(0x121)]());});};Object[_0x2de795(0x123)](exports,_0x2de795(0x127),{'value':!![]}),exports[_0x2de795(0x130)]=void 0x0;const base_credentials_1=require('./base-credentials'),client_s3_1=require('@aws-sdk/client-s3'),aws_s3_utils_1=require('../utils/aws-s3.utils');class AwsS3Credentials extends base_credentials_1[_0x2de795(0x12e)]{constructor(_0x656961){const _0x4af407=_0x2de795;super(_0x656961),this[_0x4af407(0x128)]=aws_s3_utils_1['AwsS3Utils'][_0x4af407(0x124)](this[_0x4af407(0x12f)]);}get['accessKeyId'](){const _0x47488c=_0x2de795;return this['credentials'][_0x47488c(0x138)];}get[_0x2de795(0x139)](){const _0x4537cf=_0x2de795;return this[_0x4537cf(0x12f)][_0x4537cf(0x139)];}get[_0x2de795(0x12a)](){const _0x58abe2=_0x2de795;return this['credentials'][_0x58abe2(0x12a)];}get['region'](){const _0x35fb2f=_0x2de795;return this[_0x35fb2f(0x12f)][_0x35fb2f(0x134)];}[_0x2de795(0x137)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x256eeb=_0x21c8;try{const _0x43f86c=new client_s3_1['HeadBucketCommand']({'Bucket':this[_0x256eeb(0x12f)][_0x256eeb(0x12a)]});yield this[_0x256eeb(0x128)][_0x256eeb(0x132)](_0x43f86c);}catch(_0xa7ec4d){throw new Error('Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20'+_0xa7ec4d[_0x256eeb(0x133)]);}});}['getCredentials'](_0x16df37=![]){const _0x662b37=_0x2de795;if(_0x16df37)return{'bucketName':this['credentials'][_0x662b37(0x12a)]};return this[_0x662b37(0x12f)];}}function _0x21c8(_0x576c0e,_0x14b913){const _0xca1237=_0xca12();return _0x21c8=function(_0x21c806,_0x349749){_0x21c806=_0x21c806-0x120;let _0x334c82=_0xca1237[_0x21c806];return _0x334c82;},_0x21c8(_0x576c0e,_0x14b913);}exports[_0x2de795(0x130)]=AwsS3Credentials;
1
+ 'use strict';function _0x4b61(_0x3c0534,_0x3a3362){const _0x4222fe=_0x4222();return _0x4b61=function(_0x4b6192,_0x38c8fb){_0x4b6192=_0x4b6192-0x12e;let _0x2c3fef=_0x4222fe[_0x4b6192];return _0x2c3fef;},_0x4b61(_0x3c0534,_0x3a3362);}const _0x3ddb74=_0x4b61;(function(_0x206b7,_0x11f51c){const _0x17a273=_0x4b61,_0x36926d=_0x206b7();while(!![]){try{const _0x263e5e=-parseInt(_0x17a273(0x14f))/0x1+-parseInt(_0x17a273(0x14c))/0x2+-parseInt(_0x17a273(0x14d))/0x3+-parseInt(_0x17a273(0x143))/0x4*(parseInt(_0x17a273(0x13f))/0x5)+parseInt(_0x17a273(0x13c))/0x6+parseInt(_0x17a273(0x148))/0x7*(parseInt(_0x17a273(0x141))/0x8)+-parseInt(_0x17a273(0x130))/0x9*(-parseInt(_0x17a273(0x137))/0xa);if(_0x263e5e===_0x11f51c)break;else _0x36926d['push'](_0x36926d['shift']());}catch(_0x3dbfb0){_0x36926d['push'](_0x36926d['shift']());}}}(_0x4222,0x29305));var __awaiter=this&&this['__awaiter']||function(_0x2407f1,_0x3063fb,_0x46e13e,_0x5bac3a){function _0x4a700a(_0x3209f3){return _0x3209f3 instanceof _0x46e13e?_0x3209f3:new _0x46e13e(function(_0x598bb9){_0x598bb9(_0x3209f3);});}return new(_0x46e13e||(_0x46e13e=Promise))(function(_0x381869,_0x2b8def){const _0x5ed316=_0x4b61;function _0x8f8ed2(_0x2dd4d6){try{_0x5281b7(_0x5bac3a['next'](_0x2dd4d6));}catch(_0x22497a){_0x2b8def(_0x22497a);}}function _0x196127(_0x3c5716){const _0x236258=_0x4b61;try{_0x5281b7(_0x5bac3a[_0x236258(0x150)](_0x3c5716));}catch(_0x4d080b){_0x2b8def(_0x4d080b);}}function _0x5281b7(_0x4dbc19){const _0x29cff5=_0x4b61;_0x4dbc19[_0x29cff5(0x146)]?_0x381869(_0x4dbc19['value']):_0x4a700a(_0x4dbc19[_0x29cff5(0x140)])[_0x29cff5(0x14b)](_0x8f8ed2,_0x196127);}_0x5281b7((_0x5bac3a=_0x5bac3a[_0x5ed316(0x136)](_0x2407f1,_0x3063fb||[]))[_0x5ed316(0x12f)]());});};function _0x4222(){const _0x514a05=['7kxAJIO','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','@aws-sdk/client-s3','then','569366HJOVlg','477087LQzYKx','BaseCredentials','63049odZxXg','throw','AwsS3Credentials','./base-credentials','next','305919pDBokW','credentials','secretAccessKey','AwsS3Utils','bucketName','createS3Client','apply','160bgMnYT','defineProperty','s3Client','__esModule','getCredentials','1996158liFbCY','region','message','5GTYFjV','value','822648bYVQeK','validate','1215640BUGarA','accessKeyId','HeadBucketCommand','done','../utils/aws-s3.utils'];_0x4222=function(){return _0x514a05;};return _0x4222();}Object[_0x3ddb74(0x138)](exports,_0x3ddb74(0x13a),{'value':!![]}),exports[_0x3ddb74(0x151)]=void 0x0;const base_credentials_1=require(_0x3ddb74(0x12e)),client_s3_1=require(_0x3ddb74(0x14a)),aws_s3_utils_1=require(_0x3ddb74(0x147));class AwsS3Credentials extends base_credentials_1[_0x3ddb74(0x14e)]{constructor(_0x2a34fb){const _0x4c6a46=_0x3ddb74;super(_0x2a34fb),this['s3Client']=aws_s3_utils_1[_0x4c6a46(0x133)][_0x4c6a46(0x135)](this[_0x4c6a46(0x131)]);}get[_0x3ddb74(0x144)](){return this['credentials']['accessKeyId'];}get[_0x3ddb74(0x132)](){const _0x32046f=_0x3ddb74;return this['credentials'][_0x32046f(0x132)];}get[_0x3ddb74(0x134)](){const _0x77729c=_0x3ddb74;return this[_0x77729c(0x131)][_0x77729c(0x134)];}get[_0x3ddb74(0x13d)](){const _0x333c63=_0x3ddb74;return this['credentials'][_0x333c63(0x13d)];}[_0x3ddb74(0x142)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2656e5=_0x4b61;try{const _0x4fd1d5=new client_s3_1[(_0x2656e5(0x145))]({'Bucket':this[_0x2656e5(0x131)][_0x2656e5(0x134)]});yield this[_0x2656e5(0x139)]['send'](_0x4fd1d5);}catch(_0x58eca3){throw new Error(_0x2656e5(0x149)+_0x58eca3[_0x2656e5(0x13e)]);}});}[_0x3ddb74(0x13b)](_0xc187ba=![]){if(_0xc187ba)return{'bucketName':this['credentials']['bucketName']};return this['credentials'];}}exports[_0x3ddb74(0x151)]=AwsS3Credentials;
@@ -1 +1 @@
1
- 'use strict';const _0x11dafb=_0x3f89;(function(_0xcf5bfa,_0x14bb67){const _0x31017f=_0x3f89,_0x41bbe6=_0xcf5bfa();while(!![]){try{const _0x1fe206=parseInt(_0x31017f(0x1e2))/0x1*(parseInt(_0x31017f(0x1e5))/0x2)+-parseInt(_0x31017f(0x1dd))/0x3*(parseInt(_0x31017f(0x1df))/0x4)+parseInt(_0x31017f(0x1d8))/0x5*(-parseInt(_0x31017f(0x1d3))/0x6)+parseInt(_0x31017f(0x1e4))/0x7*(parseInt(_0x31017f(0x1e8))/0x8)+-parseInt(_0x31017f(0x1d9))/0x9*(parseInt(_0x31017f(0x1da))/0xa)+-parseInt(_0x31017f(0x1e7))/0xb+parseInt(_0x31017f(0x1d1))/0xc;if(_0x1fe206===_0x14bb67)break;else _0x41bbe6['push'](_0x41bbe6['shift']());}catch(_0x23be39){_0x41bbe6['push'](_0x41bbe6['shift']());}}}(_0x3b10,0x9ff35));function _0x3f89(_0x3c595d,_0x37a95a){const _0x3b105c=_0x3b10();return _0x3f89=function(_0x3f8928,_0x49c958){_0x3f8928=_0x3f8928-0x1cc;let _0x5e8404=_0x3b105c[_0x3f8928];return _0x5e8404;},_0x3f89(_0x3c595d,_0x37a95a);}var __awaiter=this&&this[_0x11dafb(0x1db)]||function(_0x3b7c3d,_0x1779cd,_0x56d786,_0x3e4a70){function _0x113ba1(_0x2181cb){return _0x2181cb instanceof _0x56d786?_0x2181cb:new _0x56d786(function(_0x1621e7){_0x1621e7(_0x2181cb);});}return new(_0x56d786||(_0x56d786=Promise))(function(_0x12a205,_0x27fbe4){const _0x599412=_0x3f89;function _0x209144(_0x125958){const _0x5e176e=_0x3f89;try{_0x934d55(_0x3e4a70[_0x5e176e(0x1ce)](_0x125958));}catch(_0x3abf92){_0x27fbe4(_0x3abf92);}}function _0x29b905(_0x5da2b0){const _0xd0042=_0x3f89;try{_0x934d55(_0x3e4a70[_0xd0042(0x1eb)](_0x5da2b0));}catch(_0x4eb72b){_0x27fbe4(_0x4eb72b);}}function _0x934d55(_0x2abc41){const _0x2825a7=_0x3f89;_0x2abc41[_0x2825a7(0x1d7)]?_0x12a205(_0x2abc41[_0x2825a7(0x1e0)]):_0x113ba1(_0x2abc41[_0x2825a7(0x1e0)])['then'](_0x209144,_0x29b905);}_0x934d55((_0x3e4a70=_0x3e4a70[_0x599412(0x1cf)](_0x3b7c3d,_0x1779cd||[]))['next']());});};Object['defineProperty'](exports,_0x11dafb(0x1e1),{'value':!![]}),exports[_0x11dafb(0x1e6)]=void 0x0;const base_credentials_1=require(_0x11dafb(0x1dc)),azure_utils_1=require('../utils/azure.utils');class AzureCredentials extends base_credentials_1['BaseCredentials']{constructor(_0xa2e0f6){const _0x44cc5b=_0x11dafb;super(_0xa2e0f6),this[_0x44cc5b(0x1cc)]=azure_utils_1['AzureUtils']['createAzureBlobServiceClient'](this[_0x44cc5b(0x1cd)]);}get[_0x11dafb(0x1e9)](){const _0x574faf=_0x11dafb;return this[_0x574faf(0x1cd)][_0x574faf(0x1e9)];}get[_0x11dafb(0x1e3)](){const _0x12eec7=_0x11dafb;return this[_0x12eec7(0x1cd)][_0x12eec7(0x1e3)];}get[_0x11dafb(0x1de)](){const _0x1c4e94=_0x11dafb;return this[_0x1c4e94(0x1cd)][_0x1c4e94(0x1de)];}[_0x11dafb(0x1d5)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x506014=_0x3f89;try{const _0x411c03=this[_0x506014(0x1cc)][_0x506014(0x1d4)](this['credentials']['containerName']);yield _0x411c03[_0x506014(0x1d0)]();}catch(_0x35534c){throw new Error(_0x506014(0x1d2)+_0x35534c[_0x506014(0x1d6)]);}});}[_0x11dafb(0x1ea)](_0x33ef27=![]){const _0x6e7405=_0x11dafb;if(_0x33ef27)return{'accountName':this['credentials'][_0x6e7405(0x1e3)]};return this['credentials'];}}exports[_0x11dafb(0x1e6)]=AzureCredentials;function _0x3b10(){const _0x2b3e68=['__esModule','292gnPtpN','accountName','7849989zTJDap','6430FrBDqH','AzureCredentials','10901231BNWpmD','8nhcgCl','accountKey','getCredentials','throw','blobServiceClient','credentials','next','apply','exists','22978344njipqL','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','6sGATcL','getContainerClient','validate','message','done','4090700PfVxwV','549xjPYEl','209140jbjEKD','__awaiter','./base-credentials','1239QDyPxb','containerName','2276ExELVc','value'];_0x3b10=function(){return _0x2b3e68;};return _0x3b10();}
1
+ 'use strict';function _0x3c02(_0xfbbe63,_0x1d5783){const _0x451be3=_0x451b();return _0x3c02=function(_0x3c02ce,_0x5e76af){_0x3c02ce=_0x3c02ce-0x13e;let _0x332e6f=_0x451be3[_0x3c02ce];return _0x332e6f;},_0x3c02(_0xfbbe63,_0x1d5783);}const _0x27e828=_0x3c02;(function(_0x4f807e,_0x349f9c){const _0x444cca=_0x3c02,_0x16704d=_0x4f807e();while(!![]){try{const _0x4c4412=parseInt(_0x444cca(0x13e))/0x1*(-parseInt(_0x444cca(0x146))/0x2)+-parseInt(_0x444cca(0x14c))/0x3+-parseInt(_0x444cca(0x150))/0x4*(parseInt(_0x444cca(0x152))/0x5)+parseInt(_0x444cca(0x145))/0x6+-parseInt(_0x444cca(0x155))/0x7+-parseInt(_0x444cca(0x14b))/0x8+parseInt(_0x444cca(0x143))/0x9;if(_0x4c4412===_0x349f9c)break;else _0x16704d['push'](_0x16704d['shift']());}catch(_0x139b1d){_0x16704d['push'](_0x16704d['shift']());}}}(_0x451b,0x20065));var __awaiter=this&&this['__awaiter']||function(_0x411179,_0x33a219,_0x555047,_0x32354e){function _0x16bc12(_0x359897){return _0x359897 instanceof _0x555047?_0x359897:new _0x555047(function(_0x440129){_0x440129(_0x359897);});}return new(_0x555047||(_0x555047=Promise))(function(_0x353868,_0x114f91){const _0x364585=_0x3c02;function _0x41d6b3(_0x14f016){try{_0x5c1d82(_0x32354e['next'](_0x14f016));}catch(_0x505de6){_0x114f91(_0x505de6);}}function _0x193ea6(_0x3f0101){const _0x4ad802=_0x3c02;try{_0x5c1d82(_0x32354e[_0x4ad802(0x14a)](_0x3f0101));}catch(_0x4cd3de){_0x114f91(_0x4cd3de);}}function _0x5c1d82(_0x2ca853){const _0x363aef=_0x3c02;_0x2ca853[_0x363aef(0x156)]?_0x353868(_0x2ca853[_0x363aef(0x13f)]):_0x16bc12(_0x2ca853['value'])['then'](_0x41d6b3,_0x193ea6);}_0x5c1d82((_0x32354e=_0x32354e[_0x364585(0x144)](_0x411179,_0x33a219||[]))[_0x364585(0x14d)]());});};Object[_0x27e828(0x147)](exports,'__esModule',{'value':!![]}),exports[_0x27e828(0x153)]=void 0x0;const base_credentials_1=require(_0x27e828(0x142)),azure_utils_1=require('../utils/azure.utils');class AzureCredentials extends base_credentials_1['BaseCredentials']{constructor(_0x3e0b93){const _0x1db372=_0x27e828;super(_0x3e0b93),this['blobServiceClient']=azure_utils_1[_0x1db372(0x157)][_0x1db372(0x14f)](this[_0x1db372(0x148)]);}get[_0x27e828(0x140)](){const _0x18b258=_0x27e828;return this[_0x18b258(0x148)][_0x18b258(0x140)];}get[_0x27e828(0x151)](){const _0x1d63e4=_0x27e828;return this[_0x1d63e4(0x148)]['accountName'];}get['containerName'](){const _0xa642e9=_0x27e828;return this[_0xa642e9(0x148)][_0xa642e9(0x141)];}[_0x27e828(0x154)](){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x52eb34=_0x3c02;try{const _0xac3a89=this['blobServiceClient']['getContainerClient'](this['credentials'][_0x52eb34(0x141)]);yield _0xac3a89[_0x52eb34(0x149)]();}catch(_0x41a9d5){throw new Error(_0x52eb34(0x158)+_0x41a9d5['message']);}});}[_0x27e828(0x14e)](_0x20d7a=![]){const _0x34940c=_0x27e828;if(_0x20d7a)return{'accountName':this[_0x34940c(0x148)]['accountName']};return this[_0x34940c(0x148)];}}exports[_0x27e828(0x153)]=AzureCredentials;function _0x451b(){const _0xbe3c4c=['6574365ixxNAc','apply','353214PoSghK','24086Flspxw','defineProperty','credentials','exists','throw','1239104UXCRVA','487836MxCxmy','next','getCredentials','createAzureBlobServiceClient','358268VvUdcS','accountName','10LUXKuH','AzureCredentials','validate','34916yPzRgl','done','AzureUtils','Failed\x20to\x20validate\x20storage\x20credentials.\x20Raw\x20error:\x20','13ifheiL','value','accountKey','containerName','./base-credentials'];_0x451b=function(){return _0xbe3c4c;};return _0x451b();}
@@ -1 +1 @@
1
- 'use strict';var _0x233e74=_0x3538;(function(_0x2cfeb4,_0x97f924){var _0x1ee098=_0x3538,_0x9b8345=_0x2cfeb4();while(!![]){try{var _0x4d7baa=parseInt(_0x1ee098(0x7d))/0x1*(parseInt(_0x1ee098(0x74))/0x2)+-parseInt(_0x1ee098(0x77))/0x3*(parseInt(_0x1ee098(0x7e))/0x4)+-parseInt(_0x1ee098(0x70))/0x5*(parseInt(_0x1ee098(0x7f))/0x6)+-parseInt(_0x1ee098(0x75))/0x7*(-parseInt(_0x1ee098(0x6f))/0x8)+-parseInt(_0x1ee098(0x6e))/0x9*(parseInt(_0x1ee098(0x73))/0xa)+-parseInt(_0x1ee098(0x7c))/0xb*(-parseInt(_0x1ee098(0x6d))/0xc)+-parseInt(_0x1ee098(0x72))/0xd*(-parseInt(_0x1ee098(0x78))/0xe);if(_0x4d7baa===_0x97f924)break;else _0x9b8345['push'](_0x9b8345['shift']());}catch(_0x4f140b){_0x9b8345['push'](_0x9b8345['shift']());}}}(_0x1efc,0xa00eb));function _0x3538(_0x241531,_0x3a3e8f){var _0x1efced=_0x1efc();return _0x3538=function(_0x353868,_0x19363d){_0x353868=_0x353868-0x6d;var _0x4aa3f2=_0x1efced[_0x353868];return _0x4aa3f2;},_0x3538(_0x241531,_0x3a3e8f);}Object[_0x233e74(0x79)](exports,_0x233e74(0x7b),{'value':!![]}),exports['BaseCredentials']=void 0x0;class BaseCredentials{constructor(_0x2f5e95){var _0x19eb37=_0x233e74;this[_0x19eb37(0x7a)]=_0x2f5e95,this[_0x19eb37(0x76)]=this['rawCredentials']?this[_0x19eb37(0x7a)]:null;}}exports[_0x233e74(0x71)]=BaseCredentials;function _0x1efc(){var _0x294046=['9havkMG','56uKKthl','6554495fHRlgQ','BaseCredentials','15236vLJJES','5927710YsMnuq','2MCtmnD','1084867numpEA','credentials','3iboogX','21322WHYiXz','defineProperty','rawCredentials','__esModule','14179tDbdGB','204026mghowq','5146780CYisLd','6GajNff','7188SFWcIg'];_0x1efc=function(){return _0x294046;};return _0x1efc();}
1
+ 'use strict';var _0x29a238=_0x21d7;(function(_0x2fd442,_0x1d288d){var _0x49cd09=_0x21d7,_0x4b7e7d=_0x2fd442();while(!![]){try{var _0x59af81=-parseInt(_0x49cd09(0xb4))/0x1*(parseInt(_0x49cd09(0xba))/0x2)+parseInt(_0x49cd09(0xb6))/0x3+-parseInt(_0x49cd09(0xb7))/0x4+-parseInt(_0x49cd09(0xbd))/0x5+-parseInt(_0x49cd09(0xbb))/0x6*(-parseInt(_0x49cd09(0xb2))/0x7)+-parseInt(_0x49cd09(0xb5))/0x8+parseInt(_0x49cd09(0xbe))/0x9;if(_0x59af81===_0x1d288d)break;else _0x4b7e7d['push'](_0x4b7e7d['shift']());}catch(_0x1dcefd){_0x4b7e7d['push'](_0x4b7e7d['shift']());}}}(_0x5415,0x2de40));Object[_0x29a238(0xb1)](exports,_0x29a238(0xb3),{'value':!![]}),exports[_0x29a238(0xb9)]=void 0x0;function _0x21d7(_0x573cdc,_0x407a74){var _0x54159c=_0x5415();return _0x21d7=function(_0x21d702,_0x51c3b0){_0x21d702=_0x21d702-0xb1;var _0x1da4f4=_0x54159c[_0x21d702];return _0x1da4f4;},_0x21d7(_0x573cdc,_0x407a74);}class BaseCredentials{constructor(_0x586597){var _0x269fd3=_0x29a238;this[_0x269fd3(0xb8)]=_0x586597,this[_0x269fd3(0xbc)]=this[_0x269fd3(0xb8)]?this['rawCredentials']:null;}}exports[_0x29a238(0xb9)]=BaseCredentials;function _0x5415(){var _0x8596e7=['18KxbsVl','credentials','336705lhYtMP','9968346jViYKZ','defineProperty','4837nLEmoC','__esModule','320833eLIdJl','2255808wnoElP','66102nNDlMl','1094332kLQxvC','rawCredentials','BaseCredentials','2arKHmS'];_0x5415=function(){return _0x8596e7;};return _0x5415();}
@@ -1 +1 @@
1
- 'use strict';function _0x34db(){var _0x1b1610=['AwsS3Credentials','562463dCiPTx','162970FMHAEf','2277qSgZJm','defineProperty','7952860yEkfLk','__esModule','./aws-s3-credentials','13818312wVbVHB','305560YWidhb','960822eqNkiR','./azure-credentials','BaseCredentials','6seSsDa','35Lscnrw','3143670nfMkkm','./base-credentials','AzureCredentials','LocalCredentials'];_0x34db=function(){return _0x1b1610;};return _0x34db();}var _0x2938a2=_0x580e;(function(_0x858e75,_0x3edd92){var _0xe0b517=_0x580e,_0xd59e9c=_0x858e75();while(!![]){try{var _0x72b0df=-parseInt(_0xe0b517(0xf8))/0x1+-parseInt(_0xe0b517(0xf3))/0x2+parseInt(_0xe0b517(0xf1))/0x3*(-parseInt(_0xe0b517(0x100))/0x4)+parseInt(_0xe0b517(0xfc))/0x5+parseInt(_0xe0b517(0xee))/0x6*(-parseInt(_0xe0b517(0xf2))/0x7)+-parseInt(_0xe0b517(0xff))/0x8+-parseInt(_0xe0b517(0xfa))/0x9*(-parseInt(_0xe0b517(0xf9))/0xa);if(_0x72b0df===_0x3edd92)break;else _0xd59e9c['push'](_0xd59e9c['shift']());}catch(_0x13eba3){_0xd59e9c['push'](_0xd59e9c['shift']());}}}(_0x34db,0xdb665));Object['defineProperty'](exports,_0x2938a2(0xfd),{'value':!![]}),exports[_0x2938a2(0xf5)]=exports[_0x2938a2(0xf6)]=exports[_0x2938a2(0xf7)]=exports[_0x2938a2(0xf0)]=void 0x0;function _0x580e(_0x5f4c45,_0x28c4b1){var _0x34db95=_0x34db();return _0x580e=function(_0x580e3a,_0x37ae8f){_0x580e3a=_0x580e3a-0xee;var _0x128310=_0x34db95[_0x580e3a];return _0x128310;},_0x580e(_0x5f4c45,_0x28c4b1);}var base_credentials_1=require(_0x2938a2(0xf4));Object['defineProperty'](exports,_0x2938a2(0xf0),{'enumerable':!![],'get':function(){var _0x5ed55d=_0x2938a2;return base_credentials_1[_0x5ed55d(0xf0)];}});var aws_s3_credentials_1=require(_0x2938a2(0xfe));Object[_0x2938a2(0xfb)](exports,_0x2938a2(0xf7),{'enumerable':!![],'get':function(){var _0x2e44be=_0x2938a2;return aws_s3_credentials_1[_0x2e44be(0xf7)];}});var local_credentials_1=require('./local-credentials');Object[_0x2938a2(0xfb)](exports,_0x2938a2(0xf6),{'enumerable':!![],'get':function(){var _0x491003=_0x2938a2;return local_credentials_1[_0x491003(0xf6)];}});var azure_credentials_1=require(_0x2938a2(0xef));Object['defineProperty'](exports,_0x2938a2(0xf5),{'enumerable':!![],'get':function(){var _0x11fea9=_0x2938a2;return azure_credentials_1[_0x11fea9(0xf5)];}});
1
+ 'use strict';var _0x79931c=_0x3c8c;(function(_0x52d05c,_0x395caa){var _0x2d7e5f=_0x3c8c,_0x8fe2c=_0x52d05c();while(!![]){try{var _0xc846fa=parseInt(_0x2d7e5f(0x13a))/0x1+parseInt(_0x2d7e5f(0x137))/0x2*(-parseInt(_0x2d7e5f(0x131))/0x3)+-parseInt(_0x2d7e5f(0x13c))/0x4*(parseInt(_0x2d7e5f(0x13d))/0x5)+parseInt(_0x2d7e5f(0x130))/0x6*(-parseInt(_0x2d7e5f(0x141))/0x7)+parseInt(_0x2d7e5f(0x135))/0x8*(-parseInt(_0x2d7e5f(0x140))/0x9)+parseInt(_0x2d7e5f(0x142))/0xa*(parseInt(_0x2d7e5f(0x138))/0xb)+parseInt(_0x2d7e5f(0x139))/0xc;if(_0xc846fa===_0x395caa)break;else _0x8fe2c['push'](_0x8fe2c['shift']());}catch(_0x4db1bb){_0x8fe2c['push'](_0x8fe2c['shift']());}}}(_0x5147,0xc4d06));function _0x3c8c(_0x517f37,_0x581528){var _0x514736=_0x5147();return _0x3c8c=function(_0x3c8c56,_0x2b454a){_0x3c8c56=_0x3c8c56-0x12e;var _0x44af54=_0x514736[_0x3c8c56];return _0x44af54;},_0x3c8c(_0x517f37,_0x581528);}Object['defineProperty'](exports,_0x79931c(0x134),{'value':!![]}),exports['AzureCredentials']=exports[_0x79931c(0x136)]=exports['AwsS3Credentials']=exports[_0x79931c(0x13f)]=void 0x0;var base_credentials_1=require(_0x79931c(0x12e));Object[_0x79931c(0x133)](exports,_0x79931c(0x13f),{'enumerable':!![],'get':function(){var _0x30f965=_0x79931c;return base_credentials_1[_0x30f965(0x13f)];}});var aws_s3_credentials_1=require(_0x79931c(0x13b));Object[_0x79931c(0x133)](exports,_0x79931c(0x12f),{'enumerable':!![],'get':function(){var _0x8554a2=_0x79931c;return aws_s3_credentials_1[_0x8554a2(0x12f)];}});var local_credentials_1=require('./local-credentials');Object[_0x79931c(0x133)](exports,_0x79931c(0x136),{'enumerable':!![],'get':function(){var _0x3c6082=_0x79931c;return local_credentials_1[_0x3c6082(0x136)];}});var azure_credentials_1=require(_0x79931c(0x13e));function _0x5147(){var _0x452307=['__esModule','428680tbSxNp','LocalCredentials','242EpoWJQ','251504zVWkQx','42588924zLnawr','5148vCzLbE','./aws-s3-credentials','8RHJQAw','2369870fdItsA','./azure-credentials','BaseCredentials','81XxSAaC','7vUffyP','160bwqbEG','./base-credentials','AwsS3Credentials','4503930pkBtRk','23133wLlpes','AzureCredentials','defineProperty'];_0x5147=function(){return _0x452307;};return _0x5147();}Object[_0x79931c(0x133)](exports,_0x79931c(0x132),{'enumerable':!![],'get':function(){var _0x244b39=_0x79931c;return azure_credentials_1[_0x244b39(0x132)];}});
@@ -1 +1 @@
1
- 'use strict';const _0x20012a=_0x4dcb;(function(_0x3392e6,_0x48db85){const _0x228f43=_0x4dcb,_0x16d99b=_0x3392e6();while(!![]){try{const _0x46ae44=-parseInt(_0x228f43(0x16d))/0x1+parseInt(_0x228f43(0x17d))/0x2*(-parseInt(_0x228f43(0x179))/0x3)+-parseInt(_0x228f43(0x172))/0x4*(parseInt(_0x228f43(0x177))/0x5)+-parseInt(_0x228f43(0x17a))/0x6*(-parseInt(_0x228f43(0x170))/0x7)+parseInt(_0x228f43(0x17b))/0x8+-parseInt(_0x228f43(0x17c))/0x9+parseInt(_0x228f43(0x16f))/0xa*(parseInt(_0x228f43(0x175))/0xb);if(_0x46ae44===_0x48db85)break;else _0x16d99b['push'](_0x16d99b['shift']());}catch(_0x588686){_0x16d99b['push'](_0x16d99b['shift']());}}}(_0x4d1c,0x588ce));Object[_0x20012a(0x16e)](exports,_0x20012a(0x173),{'value':!![]}),exports[_0x20012a(0x174)]=void 0x0;const base_credentials_1=require(_0x20012a(0x176));function _0x4dcb(_0x190843,_0x18907b){const _0x4d1cb5=_0x4d1c();return _0x4dcb=function(_0x4dcb17,_0x48f37a){_0x4dcb17=_0x4dcb17-0x16d;let _0x5be209=_0x4d1cb5[_0x4dcb17];return _0x5be209;},_0x4dcb(_0x190843,_0x18907b);}function _0x4d1c(){const _0x40ea90=['2324664MNmbnZ','4298670phBmcn','144OMavto','452762yvZYjM','defineProperty','16640540XLbMpR','2802184lxgdsk','BaseCredentials','1996pATnTr','__esModule','LocalCredentials','11EWCWWw','./base-credentials','5545vaKIyU','getCredentials','21186zyImKj','6qOVlPf'];_0x4d1c=function(){return _0x40ea90;};return _0x4d1c();}class LocalCredentials extends base_credentials_1[_0x20012a(0x171)]{[_0x20012a(0x178)](){return null;}['validate'](){return Promise['resolve'](undefined);}}exports['LocalCredentials']=LocalCredentials;
1
+ 'use strict';function _0x669a(_0x473bef,_0x13a8fa){const _0x386571=_0x3865();return _0x669a=function(_0x669a3,_0x2c3550){_0x669a3=_0x669a3-0x138;let _0x224f0a=_0x386571[_0x669a3];return _0x224f0a;},_0x669a(_0x473bef,_0x13a8fa);}const _0x336657=_0x669a;(function(_0x3587af,_0xeee8e3){const _0x6b7380=_0x669a,_0x417074=_0x3587af();while(!![]){try{const _0x59ca13=parseInt(_0x6b7380(0x13a))/0x1*(-parseInt(_0x6b7380(0x13d))/0x2)+-parseInt(_0x6b7380(0x145))/0x3+parseInt(_0x6b7380(0x13c))/0x4*(-parseInt(_0x6b7380(0x148))/0x5)+-parseInt(_0x6b7380(0x141))/0x6*(-parseInt(_0x6b7380(0x143))/0x7)+-parseInt(_0x6b7380(0x138))/0x8*(-parseInt(_0x6b7380(0x140))/0x9)+parseInt(_0x6b7380(0x13f))/0xa*(-parseInt(_0x6b7380(0x139))/0xb)+parseInt(_0x6b7380(0x142))/0xc;if(_0x59ca13===_0xeee8e3)break;else _0x417074['push'](_0x417074['shift']());}catch(_0x4bf137){_0x417074['push'](_0x417074['shift']());}}}(_0x3865,0x7d976));function _0x3865(){const _0x1fc805=['2701731iGxkDy','__esModule','LocalCredentials','190eMtzIx','16pZbDig','369963DGFHqD','373133ikafOS','./base-credentials','23788cuwxug','2DjvNSN','defineProperty','10NYsuyA','4433094gWTCNH','9930LbEiTj','6098328eftxYN','2345JTCHbA','resolve'];_0x3865=function(){return _0x1fc805;};return _0x3865();}Object[_0x336657(0x13e)](exports,_0x336657(0x146),{'value':!![]}),exports['LocalCredentials']=void 0x0;const base_credentials_1=require(_0x336657(0x13b));class LocalCredentials extends base_credentials_1['BaseCredentials']{['getCredentials'](){return null;}['validate'](){const _0x34d4aa=_0x336657;return Promise[_0x34d4aa(0x144)](undefined);}}exports[_0x336657(0x147)]=LocalCredentials;
@@ -1,10 +1,11 @@
1
1
  import { AwsS3Credentials } from '../credentials';
2
2
  import { BaseDelete } from './';
3
+ import { S3Client } from '@aws-sdk/client-s3';
3
4
  import { AwsBuildMiddleware } from '../types';
4
5
  export declare class AwsS3Delete extends BaseDelete<AwsS3Credentials> {
5
6
  protected readonly credentials: AwsS3Credentials;
6
7
  private readonly OBJECTS_PER_CHUNK;
7
8
  private readonly s3Client;
8
- constructor(credentials: AwsS3Credentials, middlewareStack?: AwsBuildMiddleware[]);
9
+ constructor(credentials: AwsS3Credentials, middlewareStack?: AwsBuildMiddleware[], s3Client?: S3Client);
9
10
  execute(path: string): Promise<void>;
10
11
  }
@@ -1 +1 @@
1
- 'use strict';const _0x3a59b3=_0x2558;function _0x2558(_0x3492ee,_0x5ad80f){const _0x26f3f9=_0x26f3();return _0x2558=function(_0x25585a,_0x59e93d){_0x25585a=_0x25585a-0x1f0;let _0x20cea2=_0x26f3f9[_0x25585a];return _0x20cea2;},_0x2558(_0x3492ee,_0x5ad80f);}(function(_0x2e0e3b,_0x524248){const _0x2273e7=_0x2558,_0x388593=_0x2e0e3b();while(!![]){try{const _0x2454b2=parseInt(_0x2273e7(0x1f5))/0x1+parseInt(_0x2273e7(0x1f8))/0x2*(parseInt(_0x2273e7(0x211))/0x3)+-parseInt(_0x2273e7(0x1f3))/0x4+-parseInt(_0x2273e7(0x1fd))/0x5*(parseInt(_0x2273e7(0x1f6))/0x6)+-parseInt(_0x2273e7(0x1f0))/0x7+-parseInt(_0x2273e7(0x1f9))/0x8+parseInt(_0x2273e7(0x214))/0x9;if(_0x2454b2===_0x524248)break;else _0x388593['push'](_0x388593['shift']());}catch(_0x243835){_0x388593['push'](_0x388593['shift']());}}}(_0x26f3,0xaa08b));function _0x26f3(){const _0x4da91f=['posix','s3Client','credentials','split','splitOnChunks','@aws-sdk/client-s3','3IwVpak','next','DeleteObjectsCommand','28397088UWSVWv','1808800yazOCO','BaseDelete','done','4963504sqqjzY','createS3Client','1010441AlJwqZ','144RBlVKg','__esModule','305590QZefqA','6331816krWMjv','path','sep','execute','277345olPWBd','bucketName','__awaiter','AwsS3Delete','value','default','throw','OBJECTS_PER_CHUNK','then','@flosum/utils','send','getFilesPaths','apply','AwsS3Utils'];_0x26f3=function(){return _0x4da91f;};return _0x26f3();}var __awaiter=this&&this[_0x3a59b3(0x1ff)]||function(_0xef5050,_0x2b75a6,_0x279788,_0x197f26){function _0x1d43a8(_0x48f0ff){return _0x48f0ff instanceof _0x279788?_0x48f0ff:new _0x279788(function(_0x74956c){_0x74956c(_0x48f0ff);});}return new(_0x279788||(_0x279788=Promise))(function(_0x3c5fd7,_0x1bb683){const _0x829863=_0x2558;function _0x109c42(_0x385e2d){try{_0x1a3d84(_0x197f26['next'](_0x385e2d));}catch(_0x762a07){_0x1bb683(_0x762a07);}}function _0x3bb92d(_0x2d6b27){const _0x59a1fe=_0x2558;try{_0x1a3d84(_0x197f26[_0x59a1fe(0x203)](_0x2d6b27));}catch(_0x373d88){_0x1bb683(_0x373d88);}}function _0x1a3d84(_0x42398c){const _0x499e1b=_0x2558;_0x42398c[_0x499e1b(0x1f2)]?_0x3c5fd7(_0x42398c[_0x499e1b(0x201)]):_0x1d43a8(_0x42398c['value'])[_0x499e1b(0x205)](_0x109c42,_0x3bb92d);}_0x1a3d84((_0x197f26=_0x197f26[_0x829863(0x209)](_0xef5050,_0x2b75a6||[]))[_0x829863(0x212)]());});},__importDefault=this&&this['__importDefault']||function(_0x38b328){const _0x5d4c68=_0x3a59b3;return _0x38b328&&_0x38b328[_0x5d4c68(0x1f7)]?_0x38b328:{'default':_0x38b328};};Object['defineProperty'](exports,_0x3a59b3(0x1f7),{'value':!![]}),exports[_0x3a59b3(0x200)]=void 0x0;const path_1=__importDefault(require(_0x3a59b3(0x1fa))),utils_1=require(_0x3a59b3(0x206)),aws_s3_utils_1=require('../utils/aws-s3.utils'),_1=require('./'),client_s3_1=require(_0x3a59b3(0x210));class AwsS3Delete extends _1[_0x3a59b3(0x1f1)]{constructor(_0x4c5a42,_0x216f4a){const _0x295793=_0x3a59b3;super(_0x4c5a42),this[_0x295793(0x20d)]=_0x4c5a42,this[_0x295793(0x204)]=0x3e8,this['s3Client']=aws_s3_utils_1[_0x295793(0x20a)][_0x295793(0x1f4)](_0x4c5a42,_0x216f4a);}[_0x3a59b3(0x1fc)](_0x5a0133){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1b5a7d=_0x2558,_0x277963=_0x5a0133[_0x1b5a7d(0x20e)](path_1[_0x1b5a7d(0x202)]['sep'])['join'](path_1[_0x1b5a7d(0x202)][_0x1b5a7d(0x20b)][_0x1b5a7d(0x1fb)]),_0x911183=yield aws_s3_utils_1[_0x1b5a7d(0x20a)][_0x1b5a7d(0x208)](_0x277963,this[_0x1b5a7d(0x20d)][_0x1b5a7d(0x1fe)],this[_0x1b5a7d(0x20c)]),_0x154c88=utils_1['ArrayUtils'][_0x1b5a7d(0x20f)](_0x911183,this[_0x1b5a7d(0x204)]);for(const _0xd2f726 of _0x154c88){const _0x549d39=_0xd2f726['map'](_0x30b940=>({'Key':_0x30b940})),_0x5ac0f3=new client_s3_1[(_0x1b5a7d(0x213))]({'Bucket':this[_0x1b5a7d(0x20d)][_0x1b5a7d(0x1fe)],'Delete':{'Objects':_0x549d39}});yield this[_0x1b5a7d(0x20c)][_0x1b5a7d(0x207)](_0x5ac0f3);}});}}exports[_0x3a59b3(0x200)]=AwsS3Delete;
1
+ 'use strict';const _0xd3501a=_0x2cd8;(function(_0x5086cf,_0x1280f0){const _0x2cba25=_0x2cd8,_0x24227c=_0x5086cf();while(!![]){try{const _0x27615f=-parseInt(_0x2cba25(0x1e8))/0x1+parseInt(_0x2cba25(0x1ef))/0x2+parseInt(_0x2cba25(0x1e2))/0x3+parseInt(_0x2cba25(0x200))/0x4+-parseInt(_0x2cba25(0x1f5))/0x5*(parseInt(_0x2cba25(0x1f1))/0x6)+parseInt(_0x2cba25(0x1e9))/0x7*(-parseInt(_0x2cba25(0x1dd))/0x8)+parseInt(_0x2cba25(0x1fa))/0x9*(-parseInt(_0x2cba25(0x1fd))/0xa);if(_0x27615f===_0x1280f0)break;else _0x24227c['push'](_0x24227c['shift']());}catch(_0x1b2635){_0x24227c['push'](_0x24227c['shift']());}}}(_0x3acf,0x2f8b7));function _0x2cd8(_0x2418af,_0x255999){const _0x3acf8b=_0x3acf();return _0x2cd8=function(_0x2cd804,_0x206891){_0x2cd804=_0x2cd804-0x1dd;let _0x316ed9=_0x3acf8b[_0x2cd804];return _0x316ed9;},_0x2cd8(_0x2418af,_0x255999);}var __awaiter=this&&this['__awaiter']||function(_0x15dfd8,_0x1315c0,_0x4c50aa,_0x445ff3){function _0x2c144f(_0x55db89){return _0x55db89 instanceof _0x4c50aa?_0x55db89:new _0x4c50aa(function(_0x47b5e8){_0x47b5e8(_0x55db89);});}return new(_0x4c50aa||(_0x4c50aa=Promise))(function(_0x31a8e5,_0x10b1d0){const _0x3aba5a=_0x2cd8;function _0xe9a262(_0x40c921){try{_0x56b978(_0x445ff3['next'](_0x40c921));}catch(_0x472ea5){_0x10b1d0(_0x472ea5);}}function _0xbb62e5(_0x4cd81e){try{_0x56b978(_0x445ff3['throw'](_0x4cd81e));}catch(_0x230227){_0x10b1d0(_0x230227);}}function _0x56b978(_0x5a62a9){const _0x5ed28c=_0x2cd8;_0x5a62a9[_0x5ed28c(0x1f0)]?_0x31a8e5(_0x5a62a9[_0x5ed28c(0x1df)]):_0x2c144f(_0x5a62a9[_0x5ed28c(0x1df)])[_0x5ed28c(0x1e6)](_0xe9a262,_0xbb62e5);}_0x56b978((_0x445ff3=_0x445ff3['apply'](_0x15dfd8,_0x1315c0||[]))[_0x3aba5a(0x1de)]());});},__importDefault=this&&this['__importDefault']||function(_0x4d0bc4){const _0x551cb6=_0x2cd8;return _0x4d0bc4&&_0x4d0bc4[_0x551cb6(0x1fb)]?_0x4d0bc4:{'default':_0x4d0bc4};};Object[_0xd3501a(0x1e0)](exports,_0xd3501a(0x1fb),{'value':!![]}),exports['AwsS3Delete']=void 0x0;const path_1=__importDefault(require(_0xd3501a(0x1e5))),utils_1=require(_0xd3501a(0x1e4)),aws_s3_utils_1=require(_0xd3501a(0x201)),_1=require('./'),client_s3_1=require(_0xd3501a(0x1f3));function _0x3acf(){const _0x7c9f50=['4145wRJEVv','sep','createS3Client','join','default','4862736XZXQqh','__esModule','splitOnChunks','10uJGJIe','posix','OBJECTS_PER_CHUNK','1485808mxLqbz','../utils/aws-s3.utils','40DZsmAd','next','value','defineProperty','AwsS3Delete','1110576xpKKSn','execute','@flosum/utils','path','then','credentials','58162XMzuTT','30793rgLpum','split','AwsS3Utils','map','getFilesPaths','s3Client','662758vLBlsV','done','1866RHPCNl','send','@aws-sdk/client-s3','BaseDelete'];_0x3acf=function(){return _0x7c9f50;};return _0x3acf();}class AwsS3Delete extends _1[_0xd3501a(0x1f4)]{constructor(_0x2cf5bd,_0xc03d91,_0x20d36d){const _0x2a7f16=_0xd3501a;super(_0x2cf5bd),this[_0x2a7f16(0x1e7)]=_0x2cf5bd,this[_0x2a7f16(0x1ff)]=0x3e8,this['s3Client']=_0x20d36d||aws_s3_utils_1[_0x2a7f16(0x1eb)][_0x2a7f16(0x1f7)](_0x2cf5bd,_0xc03d91);}[_0xd3501a(0x1e3)](_0x5c92bf){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x52aec7=_0x2cd8,_0xb59124=_0x5c92bf[_0x52aec7(0x1ea)](path_1[_0x52aec7(0x1f9)][_0x52aec7(0x1f6)])[_0x52aec7(0x1f8)](path_1['default'][_0x52aec7(0x1fe)][_0x52aec7(0x1f6)]),_0x59f334=yield aws_s3_utils_1['AwsS3Utils'][_0x52aec7(0x1ed)](_0xb59124,this[_0x52aec7(0x1e7)]['bucketName'],this[_0x52aec7(0x1ee)]),_0xf54c55=utils_1['ArrayUtils'][_0x52aec7(0x1fc)](_0x59f334,this['OBJECTS_PER_CHUNK']);for(const _0x2b04d6 of _0xf54c55){const _0x31791b=_0x2b04d6[_0x52aec7(0x1ec)](_0x192e64=>({'Key':_0x192e64})),_0x117eb9=new client_s3_1['DeleteObjectsCommand']({'Bucket':this[_0x52aec7(0x1e7)]['bucketName'],'Delete':{'Objects':_0x31791b}});yield this['s3Client'][_0x52aec7(0x1f2)](_0x117eb9);}});}}exports[_0xd3501a(0x1e1)]=AwsS3Delete;
@@ -1 +1 @@
1
- 'use strict';const _0x4bfcab=_0x2711;function _0x2711(_0x5340dc,_0x22353d){const _0x2fa4c8=_0x2fa4();return _0x2711=function(_0x2711b3,_0x481b9f){_0x2711b3=_0x2711b3-0x1ca;let _0x307362=_0x2fa4c8[_0x2711b3];return _0x307362;},_0x2711(_0x5340dc,_0x22353d);}(function(_0x171740,_0x49f9d1){const _0x1bde52=_0x2711,_0x5c0a2d=_0x171740();while(!![]){try{const _0x402ffd=parseInt(_0x1bde52(0x1e7))/0x1+parseInt(_0x1bde52(0x1d2))/0x2*(parseInt(_0x1bde52(0x1e3))/0x3)+-parseInt(_0x1bde52(0x1e6))/0x4+parseInt(_0x1bde52(0x1db))/0x5+parseInt(_0x1bde52(0x1d4))/0x6*(-parseInt(_0x1bde52(0x1d7))/0x7)+-parseInt(_0x1bde52(0x1de))/0x8*(-parseInt(_0x1bde52(0x1dd))/0x9)+-parseInt(_0x1bde52(0x1d9))/0xa;if(_0x402ffd===_0x49f9d1)break;else _0x5c0a2d['push'](_0x5c0a2d['shift']());}catch(_0x1c1e30){_0x5c0a2d['push'](_0x5c0a2d['shift']());}}}(_0x2fa4,0x98a13));var __awaiter=this&&this[_0x4bfcab(0x1e0)]||function(_0xf90f89,_0x452179,_0x483eba,_0x840271){function _0x4298a2(_0x224a5e){return _0x224a5e instanceof _0x483eba?_0x224a5e:new _0x483eba(function(_0xb123f5){_0xb123f5(_0x224a5e);});}return new(_0x483eba||(_0x483eba=Promise))(function(_0x427f1f,_0x30f490){const _0x49c890=_0x2711;function _0x57d5ea(_0xa630ce){const _0x5d3039=_0x2711;try{_0x1bcd3c(_0x840271[_0x5d3039(0x1d6)](_0xa630ce));}catch(_0x276495){_0x30f490(_0x276495);}}function _0x30399c(_0xb19173){const _0x4c07e7=_0x2711;try{_0x1bcd3c(_0x840271[_0x4c07e7(0x1dc)](_0xb19173));}catch(_0x36e7f1){_0x30f490(_0x36e7f1);}}function _0x1bcd3c(_0x4757b6){const _0x30552e=_0x2711;_0x4757b6['done']?_0x427f1f(_0x4757b6[_0x30552e(0x1cf)]):_0x4298a2(_0x4757b6['value'])[_0x30552e(0x1d1)](_0x57d5ea,_0x30399c);}_0x1bcd3c((_0x840271=_0x840271[_0x49c890(0x1e4)](_0xf90f89,_0x452179||[]))['next']());});},__importDefault=this&&this['__importDefault']||function(_0x207f9c){return _0x207f9c&&_0x207f9c['__esModule']?_0x207f9c:{'default':_0x207f9c};};function _0x2fa4(){const _0x569372=['throw','2070diIwRz','9624hHoYxd','default','__awaiter','join','containerClient','3673131TlASQN','apply','execute','4571268PLXzcq','600113EVOquq','credentials','AzureDelete','path','AzureUtils','../utils/azure.utils','posix','deleteBlob','split','value','sep','then','2vShbCT','defineProperty','3072HoxSro','__esModule','next','686CxqeyP','BaseDelete','12029420kxjzAx','getAzureBlobsPaths','4599630syyRfa'];_0x2fa4=function(){return _0x569372;};return _0x2fa4();}Object[_0x4bfcab(0x1d3)](exports,_0x4bfcab(0x1d5),{'value':!![]}),exports['AzureDelete']=void 0x0;const path_1=__importDefault(require(_0x4bfcab(0x1ea))),_1=require('./'),azure_utils_1=require(_0x4bfcab(0x1cb));class AzureDelete extends _1[_0x4bfcab(0x1d8)]{constructor(_0x4cd2b1){const _0x59851f=_0x4bfcab;super(_0x4cd2b1),this[_0x59851f(0x1e8)]=_0x4cd2b1,this[_0x59851f(0x1e2)]=azure_utils_1[_0x59851f(0x1ca)]['createAzureBlobContainerClient'](_0x4cd2b1);}[_0x4bfcab(0x1e5)](_0x3074ed){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2b8a9a=_0x2711,_0x3b03f0=_0x3074ed[_0x2b8a9a(0x1ce)](path_1['default'][_0x2b8a9a(0x1d0)])[_0x2b8a9a(0x1e1)](path_1[_0x2b8a9a(0x1df)][_0x2b8a9a(0x1cc)][_0x2b8a9a(0x1d0)]),_0x3aba5c=yield azure_utils_1[_0x2b8a9a(0x1ca)][_0x2b8a9a(0x1da)](_0x3b03f0,this['containerClient']);for(const _0x2b163e of _0x3aba5c){yield this[_0x2b8a9a(0x1e2)][_0x2b8a9a(0x1cd)](_0x2b163e);}});}}exports[_0x4bfcab(0x1e9)]=AzureDelete;
1
+ 'use strict';const _0x44f15f=_0x5d36;(function(_0x376d44,_0x32a388){const _0x58bdcc=_0x5d36,_0x4533c9=_0x376d44();while(!![]){try{const _0x2eb0e9=parseInt(_0x58bdcc(0x1e6))/0x1+-parseInt(_0x58bdcc(0x1da))/0x2+parseInt(_0x58bdcc(0x1e2))/0x3+parseInt(_0x58bdcc(0x1e1))/0x4*(parseInt(_0x58bdcc(0x1d5))/0x5)+-parseInt(_0x58bdcc(0x1d3))/0x6+-parseInt(_0x58bdcc(0x1d7))/0x7+-parseInt(_0x58bdcc(0x1e8))/0x8*(-parseInt(_0x58bdcc(0x1ed))/0x9);if(_0x2eb0e9===_0x32a388)break;else _0x4533c9['push'](_0x4533c9['shift']());}catch(_0x396cdc){_0x4533c9['push'](_0x4533c9['shift']());}}}(_0x3210,0x456a5));function _0x5d36(_0x34f1f0,_0x11b39e){const _0x3210ac=_0x3210();return _0x5d36=function(_0x5d36dc,_0x10ccf2){_0x5d36dc=_0x5d36dc-0x1ce;let _0x4afd85=_0x3210ac[_0x5d36dc];return _0x4afd85;},_0x5d36(_0x34f1f0,_0x11b39e);}var __awaiter=this&&this[_0x44f15f(0x1e3)]||function(_0x323276,_0x4555ad,_0x4eaed7,_0x22c99c){function _0x49912c(_0x4064fc){return _0x4064fc instanceof _0x4eaed7?_0x4064fc:new _0x4eaed7(function(_0x24cc62){_0x24cc62(_0x4064fc);});}return new(_0x4eaed7||(_0x4eaed7=Promise))(function(_0x23d1ab,_0x3b144b){const _0x20dcd6=_0x5d36;function _0x29a146(_0xfce7ee){const _0x241369=_0x5d36;try{_0x4dbf5c(_0x22c99c[_0x241369(0x1ea)](_0xfce7ee));}catch(_0x1b1629){_0x3b144b(_0x1b1629);}}function _0x3b55ff(_0xd5659f){const _0x22924f=_0x5d36;try{_0x4dbf5c(_0x22c99c[_0x22924f(0x1d6)](_0xd5659f));}catch(_0x33afb4){_0x3b144b(_0x33afb4);}}function _0x4dbf5c(_0x65fa2){const _0x29739a=_0x5d36;_0x65fa2[_0x29739a(0x1dd)]?_0x23d1ab(_0x65fa2[_0x29739a(0x1d8)]):_0x49912c(_0x65fa2[_0x29739a(0x1d8)])[_0x29739a(0x1d9)](_0x29a146,_0x3b55ff);}_0x4dbf5c((_0x22c99c=_0x22c99c[_0x20dcd6(0x1d0)](_0x323276,_0x4555ad||[]))[_0x20dcd6(0x1ea)]());});},__importDefault=this&&this[_0x44f15f(0x1d2)]||function(_0xebe792){const _0x132430=_0x44f15f;return _0xebe792&&_0xebe792[_0x132430(0x1ec)]?_0xebe792:{'default':_0xebe792};};Object[_0x44f15f(0x1d1)](exports,_0x44f15f(0x1ec),{'value':!![]}),exports[_0x44f15f(0x1dc)]=void 0x0;const path_1=__importDefault(require(_0x44f15f(0x1de))),_1=require('./'),azure_utils_1=require(_0x44f15f(0x1e5));function _0x3210(){const _0x454f3e=['__esModule','9178362EgAXQn','containerClient','deleteBlob','default','apply','defineProperty','__importDefault','2505852lHLiqJ','createAzureBlobContainerClient','85DmTDdf','throw','3720871cWuTJm','value','then','347150PnlJaB','split','AzureDelete','done','path','AzureUtils','join','1492sZSKfm','1059330WMlPYN','__awaiter','posix','../utils/azure.utils','27826pPADnT','sep','8TrogRu','execute','next','credentials'];_0x3210=function(){return _0x454f3e;};return _0x3210();}class AzureDelete extends _1['BaseDelete']{constructor(_0x178270){const _0x2a9d05=_0x44f15f;super(_0x178270),this[_0x2a9d05(0x1eb)]=_0x178270,this[_0x2a9d05(0x1ee)]=azure_utils_1[_0x2a9d05(0x1df)][_0x2a9d05(0x1d4)](_0x178270);}[_0x44f15f(0x1e9)](_0xe97ce){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x122cb6=_0x5d36,_0x4d8e01=_0xe97ce[_0x122cb6(0x1db)](path_1[_0x122cb6(0x1cf)][_0x122cb6(0x1e7)])[_0x122cb6(0x1e0)](path_1[_0x122cb6(0x1cf)][_0x122cb6(0x1e4)]['sep']),_0x3f1cf7=yield azure_utils_1[_0x122cb6(0x1df)]['getAzureBlobsPaths'](_0x4d8e01,this[_0x122cb6(0x1ee)]);for(const _0xac3a26 of _0x3f1cf7){yield this[_0x122cb6(0x1ee)][_0x122cb6(0x1ce)](_0xac3a26);}});}}exports[_0x44f15f(0x1dc)]=AzureDelete;
@@ -1 +1 @@
1
- 'use strict';var _0x133819=_0xc266;(function(_0x2a5f46,_0x55d6e3){var _0x5c9f7f=_0xc266,_0x446a00=_0x2a5f46();while(!![]){try{var _0x54658e=-parseInt(_0x5c9f7f(0xfa))/0x1*(-parseInt(_0x5c9f7f(0x106))/0x2)+-parseInt(_0x5c9f7f(0x104))/0x3*(parseInt(_0x5c9f7f(0xfe))/0x4)+-parseInt(_0x5c9f7f(0x101))/0x5*(-parseInt(_0x5c9f7f(0xfc))/0x6)+parseInt(_0x5c9f7f(0xf7))/0x7+-parseInt(_0x5c9f7f(0xff))/0x8+parseInt(_0x5c9f7f(0x103))/0x9*(-parseInt(_0x5c9f7f(0x105))/0xa)+-parseInt(_0x5c9f7f(0xfd))/0xb*(-parseInt(_0x5c9f7f(0x100))/0xc);if(_0x54658e===_0x55d6e3)break;else _0x446a00['push'](_0x446a00['shift']());}catch(_0x12bc98){_0x446a00['push'](_0x446a00['shift']());}}}(_0x440d,0xe25f7));function _0xc266(_0xc01b88,_0x1a2e0a){var _0x440d98=_0x440d();return _0xc266=function(_0xc26697,_0x3daf0a){_0xc26697=_0xc26697-0xf7;var _0x31af1b=_0x440d98[_0xc26697];return _0x31af1b;},_0xc266(_0xc01b88,_0x1a2e0a);}Object[_0x133819(0x102)](exports,_0x133819(0xf9),{'value':!![]}),exports[_0x133819(0xf8)]=void 0x0;class BaseDelete{constructor(_0x757ed3){var _0x4296cb=_0x133819;this[_0x4296cb(0xfb)]=_0x757ed3;}}exports['BaseDelete']=BaseDelete;function _0x440d(){var _0x202a6d=['44mcqqUh','8KdLtXG','7762720wHTUJG','9798468yjlvNh','197705lYaBwn','defineProperty','11921841NjKuSj','1642929qwDuxM','10bwHhFa','276iZDJUX','2520189bAgPfX','BaseDelete','__esModule','4723pbdNEk','credentials','6zqfZih'];_0x440d=function(){return _0x202a6d;};return _0x440d();}
1
+ 'use strict';var _0x33ec92=_0x1672;function _0x3505(){var _0x48653a=['2009073iksUkx','7306obrbtT','13589361jmeQYz','credentials','BaseDelete','10XolvEo','50zCiWpn','defineProperty','3991160XUgBSi','29ElUkZb','358120WPRLXN','__esModule','6272112tKCKbd','4770414UpemOt'];_0x3505=function(){return _0x48653a;};return _0x3505();}function _0x1672(_0x47966f,_0x10e8e9){var _0x350543=_0x3505();return _0x1672=function(_0x1672e5,_0x26521b){_0x1672e5=_0x1672e5-0x137;var _0x333ef3=_0x350543[_0x1672e5];return _0x333ef3;},_0x1672(_0x47966f,_0x10e8e9);}(function(_0x4bc020,_0xc4e7c0){var _0x38d0d0=_0x1672,_0x9fa9f=_0x4bc020();while(!![]){try{var _0x4b22ed=parseInt(_0x38d0d0(0x13d))/0x1*(-parseInt(_0x38d0d0(0x143))/0x2)+parseInt(_0x38d0d0(0x142))/0x3+parseInt(_0x38d0d0(0x13e))/0x4*(-parseInt(_0x38d0d0(0x13a))/0x5)+-parseInt(_0x38d0d0(0x141))/0x6+parseInt(_0x38d0d0(0x140))/0x7+-parseInt(_0x38d0d0(0x13c))/0x8+parseInt(_0x38d0d0(0x144))/0x9*(parseInt(_0x38d0d0(0x139))/0xa);if(_0x4b22ed===_0xc4e7c0)break;else _0x9fa9f['push'](_0x9fa9f['shift']());}catch(_0xe18e9b){_0x9fa9f['push'](_0x9fa9f['shift']());}}}(_0x3505,0xbe893));Object[_0x33ec92(0x13b)](exports,_0x33ec92(0x13f),{'value':!![]}),exports[_0x33ec92(0x138)]=void 0x0;class BaseDelete{constructor(_0x464683){var _0x1a6d38=_0x33ec92;this[_0x1a6d38(0x137)]=_0x464683;}}exports[_0x33ec92(0x138)]=BaseDelete;
@@ -1 +1 @@
1
- 'use strict';var _0x529cda=_0x216e;(function(_0x5e6a24,_0x1dfcf9){var _0x2c5f90=_0x216e,_0x11a178=_0x5e6a24();while(!![]){try{var _0x126227=-parseInt(_0x2c5f90(0x1cf))/0x1*(-parseInt(_0x2c5f90(0x1ce))/0x2)+parseInt(_0x2c5f90(0x1d3))/0x3*(parseInt(_0x2c5f90(0x1d2))/0x4)+-parseInt(_0x2c5f90(0x1d5))/0x5+parseInt(_0x2c5f90(0x1d1))/0x6+parseInt(_0x2c5f90(0x1d8))/0x7*(parseInt(_0x2c5f90(0x1de))/0x8)+-parseInt(_0x2c5f90(0x1cd))/0x9+-parseInt(_0x2c5f90(0x1db))/0xa;if(_0x126227===_0x1dfcf9)break;else _0x11a178['push'](_0x11a178['shift']());}catch(_0x56ce17){_0x11a178['push'](_0x11a178['shift']());}}}(_0x5a90,0x61150));Object['defineProperty'](exports,_0x529cda(0x1d6),{'value':!![]}),exports[_0x529cda(0x1d0)]=exports['LocalDelete']=exports[_0x529cda(0x1d7)]=exports['BaseDelete']=void 0x0;var base_delete_1=require(_0x529cda(0x1dc));function _0x216e(_0x46ecf7,_0x51bd6d){var _0x5a90d8=_0x5a90();return _0x216e=function(_0x216e22,_0x5bf732){_0x216e22=_0x216e22-0x1cd;var _0xfed982=_0x5a90d8[_0x216e22];return _0xfed982;},_0x216e(_0x46ecf7,_0x51bd6d);}Object[_0x529cda(0x1d4)](exports,_0x529cda(0x1da),{'enumerable':!![],'get':function(){var _0xa06e05=_0x529cda;return base_delete_1[_0xa06e05(0x1da)];}});var aws_s3_delete_1=require('./aws-s3-delete');Object[_0x529cda(0x1d4)](exports,_0x529cda(0x1d7),{'enumerable':!![],'get':function(){var _0x40dc45=_0x529cda;return aws_s3_delete_1[_0x40dc45(0x1d7)];}});var local_delete_1=require(_0x529cda(0x1d9));Object[_0x529cda(0x1d4)](exports,_0x529cda(0x1df),{'enumerable':!![],'get':function(){return local_delete_1['LocalDelete'];}});function _0x5a90(){var _0xd15a11=['AwsS3Delete','2288692lLIUIf','./local-delete','BaseDelete','390160SWCino','./base-delete','./azure-delete','8tuSPah','LocalDelete','2628981qwtpNP','696INQprr','232HMIWJV','AzureDelete','539100UBPaMF','556peanWt','12999DRYrHh','defineProperty','1855280ODviWh','__esModule'];_0x5a90=function(){return _0xd15a11;};return _0x5a90();}var azure_delete_1=require(_0x529cda(0x1dd));Object['defineProperty'](exports,_0x529cda(0x1d0),{'enumerable':!![],'get':function(){var _0x535f09=_0x529cda;return azure_delete_1[_0x535f09(0x1d0)];}});
1
+ 'use strict';var _0x2c987b=_0x310a;(function(_0x3f5079,_0x3a40e2){var _0x479c67=_0x310a,_0x2c9a67=_0x3f5079();while(!![]){try{var _0x4d9725=parseInt(_0x479c67(0xde))/0x1*(-parseInt(_0x479c67(0xda))/0x2)+parseInt(_0x479c67(0xd1))/0x3+-parseInt(_0x479c67(0xd6))/0x4+-parseInt(_0x479c67(0xd9))/0x5+-parseInt(_0x479c67(0xe0))/0x6*(parseInt(_0x479c67(0xdd))/0x7)+parseInt(_0x479c67(0xdb))/0x8*(-parseInt(_0x479c67(0xdf))/0x9)+parseInt(_0x479c67(0xe1))/0xa;if(_0x4d9725===_0x3a40e2)break;else _0x2c9a67['push'](_0x2c9a67['shift']());}catch(_0x45c796){_0x2c9a67['push'](_0x2c9a67['shift']());}}}(_0x49ee,0x34ae3));Object[_0x2c987b(0xdc)](exports,_0x2c987b(0xe3),{'value':!![]}),exports[_0x2c987b(0xd8)]=exports[_0x2c987b(0xd4)]=exports[_0x2c987b(0xd5)]=exports['BaseDelete']=void 0x0;var base_delete_1=require('./base-delete');Object[_0x2c987b(0xdc)](exports,_0x2c987b(0xd7),{'enumerable':!![],'get':function(){var _0x365944=_0x2c987b;return base_delete_1[_0x365944(0xd7)];}});var aws_s3_delete_1=require(_0x2c987b(0xd3));Object[_0x2c987b(0xdc)](exports,'AwsS3Delete',{'enumerable':!![],'get':function(){var _0xb426db=_0x2c987b;return aws_s3_delete_1[_0xb426db(0xd5)];}});var local_delete_1=require(_0x2c987b(0xd2));function _0x310a(_0xf9485b,_0x2b6654){var _0x49ee0d=_0x49ee();return _0x310a=function(_0x310a59,_0x46232e){_0x310a59=_0x310a59-0xd1;var _0x281cd9=_0x49ee0d[_0x310a59];return _0x281cd9;},_0x310a(_0xf9485b,_0x2b6654);}Object['defineProperty'](exports,_0x2c987b(0xd4),{'enumerable':!![],'get':function(){var _0x1825a7=_0x2c987b;return local_delete_1[_0x1825a7(0xd4)];}});var azure_delete_1=require(_0x2c987b(0xe2));function _0x49ee(){var _0xec3e50=['__esModule','526653fKRTDE','./local-delete','./aws-s3-delete','LocalDelete','AwsS3Delete','1509732ChQLYF','BaseDelete','AzureDelete','1240040uqaerL','38NZtkQn','48bpCboo','defineProperty','7cJWHSj','5386MWUIsT','132822xHnOXI','860442iCwPAG','9999580FGRTMT','./azure-delete'];_0x49ee=function(){return _0xec3e50;};return _0x49ee();}Object['defineProperty'](exports,_0x2c987b(0xd8),{'enumerable':!![],'get':function(){return azure_delete_1['AzureDelete'];}});
@@ -1 +1 @@
1
- 'use strict';const _0x1aec06=_0x4b7c;function _0x4b7c(_0x441b00,_0x5d5040){const _0x308729=_0x3087();return _0x4b7c=function(_0x4b7c06,_0xc35eba){_0x4b7c06=_0x4b7c06-0x1f4;let _0x58f302=_0x308729[_0x4b7c06];return _0x58f302;},_0x4b7c(_0x441b00,_0x5d5040);}(function(_0x4d38b3,_0x3400b5){const _0x3e27f9=_0x4b7c,_0x1375c5=_0x4d38b3();while(!![]){try{const _0x5e57b1=-parseInt(_0x3e27f9(0x209))/0x1+-parseInt(_0x3e27f9(0x1f6))/0x2+parseInt(_0x3e27f9(0x1f4))/0x3*(-parseInt(_0x3e27f9(0x1fd))/0x4)+parseInt(_0x3e27f9(0x1f7))/0x5+-parseInt(_0x3e27f9(0x208))/0x6+parseInt(_0x3e27f9(0x201))/0x7+parseInt(_0x3e27f9(0x1fb))/0x8;if(_0x5e57b1===_0x3400b5)break;else _0x1375c5['push'](_0x1375c5['shift']());}catch(_0x2d749f){_0x1375c5['push'](_0x1375c5['shift']());}}}(_0x3087,0x445bc));var __awaiter=this&&this['__awaiter']||function(_0x1f1470,_0xe6848b,_0x58a8d9,_0x34c496){function _0x4d328c(_0x36f443){return _0x36f443 instanceof _0x58a8d9?_0x36f443:new _0x58a8d9(function(_0x365377){_0x365377(_0x36f443);});}return new(_0x58a8d9||(_0x58a8d9=Promise))(function(_0x504760,_0x3f14db){const _0x9d3642=_0x4b7c;function _0x17e649(_0x308dcb){const _0x146d89=_0x4b7c;try{_0x260efd(_0x34c496[_0x146d89(0x202)](_0x308dcb));}catch(_0x1197a4){_0x3f14db(_0x1197a4);}}function _0x4e6afc(_0x22b441){const _0x448771=_0x4b7c;try{_0x260efd(_0x34c496[_0x448771(0x1ff)](_0x22b441));}catch(_0x16d6bb){_0x3f14db(_0x16d6bb);}}function _0x260efd(_0x26c435){const _0x4dd8da=_0x4b7c;_0x26c435[_0x4dd8da(0x203)]?_0x504760(_0x26c435[_0x4dd8da(0x1f8)]):_0x4d328c(_0x26c435[_0x4dd8da(0x1f8)])[_0x4dd8da(0x206)](_0x17e649,_0x4e6afc);}_0x260efd((_0x34c496=_0x34c496[_0x9d3642(0x1fe)](_0x1f1470,_0xe6848b||[]))['next']());});};Object[_0x1aec06(0x1f9)](exports,_0x1aec06(0x207),{'value':!![]}),exports[_0x1aec06(0x204)]=void 0x0;const promises_1=require(_0x1aec06(0x200)),utils_1=require('@flosum/utils'),_1=require('./');class LocalDelete extends _1[_0x1aec06(0x1fc)]{[_0x1aec06(0x1f5)](_0x2fc906){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x49ba34=_0x4b7c;if(yield utils_1[_0x49ba34(0x1fa)][_0x49ba34(0x205)](_0x2fc906))yield(0x0,promises_1['rm'])(_0x2fc906,{'recursive':!![]});});}}function _0x3087(){const _0x520623=['BaseDelete','4ktHmaE','apply','throw','fs/promises','19523kMGncB','next','done','LocalDelete','isExistsPath','then','__esModule','2175936fqclkh','179375zpTFil','30543ZWAXwV','execute','262984JlNOLf','2663935IZZGBX','value','defineProperty','FsUtils','3424992SOyBro'];_0x3087=function(){return _0x520623;};return _0x3087();}exports[_0x1aec06(0x204)]=LocalDelete;
1
+ 'use strict';const _0x447d2e=_0x4cf9;(function(_0x590eda,_0x117d49){const _0x48658a=_0x4cf9,_0x4392a2=_0x590eda();while(!![]){try{const _0x33b250=-parseInt(_0x48658a(0xdf))/0x1+parseInt(_0x48658a(0xd8))/0x2+-parseInt(_0x48658a(0xd9))/0x3+parseInt(_0x48658a(0xda))/0x4+-parseInt(_0x48658a(0xde))/0x5+parseInt(_0x48658a(0xd7))/0x6*(parseInt(_0x48658a(0xd2))/0x7)+parseInt(_0x48658a(0xd0))/0x8;if(_0x33b250===_0x117d49)break;else _0x4392a2['push'](_0x4392a2['shift']());}catch(_0x3e2468){_0x4392a2['push'](_0x4392a2['shift']());}}}(_0x4054,0xebeed));var __awaiter=this&&this['__awaiter']||function(_0xeeb58a,_0x138087,_0xdb5041,_0x39dd72){function _0x2eac69(_0x4b17e6){return _0x4b17e6 instanceof _0xdb5041?_0x4b17e6:new _0xdb5041(function(_0x55f943){_0x55f943(_0x4b17e6);});}return new(_0xdb5041||(_0xdb5041=Promise))(function(_0x5c27f1,_0x3534d2){const _0x47dc10=_0x4cf9;function _0x22f20f(_0x2ad676){const _0x470983=_0x4cf9;try{_0x4e13a2(_0x39dd72[_0x470983(0xcf)](_0x2ad676));}catch(_0x4cff33){_0x3534d2(_0x4cff33);}}function _0x3f586a(_0x366ad0){const _0xc22a23=_0x4cf9;try{_0x4e13a2(_0x39dd72[_0xc22a23(0xd5)](_0x366ad0));}catch(_0x2337d0){_0x3534d2(_0x2337d0);}}function _0x4e13a2(_0x233d27){const _0x36d4db=_0x4cf9;_0x233d27[_0x36d4db(0xdc)]?_0x5c27f1(_0x233d27[_0x36d4db(0xce)]):_0x2eac69(_0x233d27[_0x36d4db(0xce)])[_0x36d4db(0xcd)](_0x22f20f,_0x3f586a);}_0x4e13a2((_0x39dd72=_0x39dd72[_0x47dc10(0xd4)](_0xeeb58a,_0x138087||[]))[_0x47dc10(0xcf)]());});};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['LocalDelete']=void 0x0;function _0x4cf9(_0x391c3d,_0x535cca){const _0x40543=_0x4054();return _0x4cf9=function(_0x4cf91e,_0x3e9a79){_0x4cf91e=_0x4cf91e-0xcd;let _0x451209=_0x40543[_0x4cf91e];return _0x451209;},_0x4cf9(_0x391c3d,_0x535cca);}function _0x4054(){const _0x13256d=['throw','execute','36keBUbX','1331366LNdAXi','112821PQTPlw','4320424JsMJVu','LocalDelete','done','BaseDelete','719180ilhAXK','1211845lZLzQm','then','value','next','1531168VuWksb','isExistsPath','492898WcxWQO','@flosum/utils','apply'];_0x4054=function(){return _0x13256d;};return _0x4054();}const promises_1=require('fs/promises'),utils_1=require(_0x447d2e(0xd3)),_1=require('./');class LocalDelete extends _1[_0x447d2e(0xdd)]{[_0x447d2e(0xd6)](_0x4fe423){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5a518b=_0x4cf9;if(yield utils_1['FsUtils'][_0x5a518b(0xd1)](_0x4fe423))yield(0x0,promises_1['rm'])(_0x4fe423,{'recursive':!![]});});}}exports[_0x447d2e(0xdb)]=LocalDelete;
@@ -3,13 +3,13 @@
3
3
  import { AwsS3Credentials } from '../credentials';
4
4
  import { BaseDeploy } from './';
5
5
  import * as stream from 'stream';
6
- import { StorageClass } from '@aws-sdk/client-s3';
6
+ import { S3Client, StorageClass } from '@aws-sdk/client-s3';
7
7
  import { AwsBuildMiddleware } from '../types';
8
8
  export declare class AwsS3Deploy extends BaseDeploy<AwsS3Credentials> {
9
9
  protected credentials: AwsS3Credentials;
10
10
  private storageClass;
11
11
  private readonly s3Client;
12
- constructor(credentials: AwsS3Credentials, storageClass: StorageClass, middlewareStack?: AwsBuildMiddleware[]);
12
+ constructor(credentials: AwsS3Credentials, storageClass: StorageClass, middlewareStack?: AwsBuildMiddleware[], s3Client?: S3Client);
13
13
  private upload;
14
14
  execute(file: Buffer | stream.Readable, pathToFile: string): Promise<void>;
15
15
  }
@@ -1 +1 @@
1
- 'use strict';const _0x36215b=_0x1928;function _0x510e(){const _0x2dcf87=['305848EhYNMH','storageClass','7JOgnTG','path','2bQiijB','20qwsgbH','value','Upload','bucketName','sep','done','945768JTFoQw','split','AwsS3Deploy','credentials','259325NxbaGs','next','defineProperty','createS3Client','throw','150JEFpyW','307566esPRZD','1666872Xsguyz','__importDefault','@aws-sdk/lib-storage','../utils/aws-s3.utils','default','1970124gnvMxN','AwsS3Utils','__esModule','388635SLDDYa','__awaiter','upload'];_0x510e=function(){return _0x2dcf87;};return _0x510e();}function _0x1928(_0x5750ee,_0x94ace3){const _0x510e07=_0x510e();return _0x1928=function(_0x1928a2,_0x554a25){_0x1928a2=_0x1928a2-0x181;let _0x23b5d5=_0x510e07[_0x1928a2];return _0x23b5d5;},_0x1928(_0x5750ee,_0x94ace3);}(function(_0x31760a,_0xa96bd6){const _0x53896c=_0x1928,_0x15473a=_0x31760a();while(!![]){try{const _0x30bfad=-parseInt(_0x53896c(0x18c))/0x1+-parseInt(_0x53896c(0x19c))/0x2*(-parseInt(_0x53896c(0x195))/0x3)+parseInt(_0x53896c(0x198))/0x4*(parseInt(_0x53896c(0x19d))/0x5)+parseInt(_0x53896c(0x192))/0x6+-parseInt(_0x53896c(0x19a))/0x7*(parseInt(_0x53896c(0x182))/0x8)+parseInt(_0x53896c(0x18d))/0x9+-parseInt(_0x53896c(0x18b))/0xa*(parseInt(_0x53896c(0x186))/0xb);if(_0x30bfad===_0xa96bd6)break;else _0x15473a['push'](_0x15473a['shift']());}catch(_0x3c41cc){_0x15473a['push'](_0x15473a['shift']());}}}(_0x510e,0x29647));var __awaiter=this&&this[_0x36215b(0x196)]||function(_0x173f40,_0x23c2d9,_0x84d00c,_0x4d6dfe){function _0x1a65d3(_0x27cd17){return _0x27cd17 instanceof _0x84d00c?_0x27cd17:new _0x84d00c(function(_0x31296f){_0x31296f(_0x27cd17);});}return new(_0x84d00c||(_0x84d00c=Promise))(function(_0x296c4a,_0x17eae1){const _0xbb7f8a=_0x1928;function _0x5893ce(_0x4b9f6e){const _0x40caaf=_0x1928;try{_0x42fd12(_0x4d6dfe[_0x40caaf(0x187)](_0x4b9f6e));}catch(_0xee57ac){_0x17eae1(_0xee57ac);}}function _0x1a0704(_0x448da4){const _0x4313a3=_0x1928;try{_0x42fd12(_0x4d6dfe[_0x4313a3(0x18a)](_0x448da4));}catch(_0x4e0462){_0x17eae1(_0x4e0462);}}function _0x42fd12(_0x56ca9d){const _0x440209=_0x1928;_0x56ca9d[_0x440209(0x181)]?_0x296c4a(_0x56ca9d['value']):_0x1a65d3(_0x56ca9d[_0x440209(0x19e)])['then'](_0x5893ce,_0x1a0704);}_0x42fd12((_0x4d6dfe=_0x4d6dfe['apply'](_0x173f40,_0x23c2d9||[]))[_0xbb7f8a(0x187)]());});},__importDefault=this&&this[_0x36215b(0x18e)]||function(_0x15d2d7){return _0x15d2d7&&_0x15d2d7['__esModule']?_0x15d2d7:{'default':_0x15d2d7};};Object[_0x36215b(0x188)](exports,_0x36215b(0x194),{'value':!![]}),exports[_0x36215b(0x184)]=void 0x0;const path_1=__importDefault(require(_0x36215b(0x19b))),_1=require('./'),lib_storage_1=require(_0x36215b(0x18f)),aws_s3_utils_1=require(_0x36215b(0x190));class AwsS3Deploy extends _1['BaseDeploy']{constructor(_0x29ce99,_0x271f5c,_0x32c63d){const _0x5e8565=_0x36215b;super(_0x29ce99),this['credentials']=_0x29ce99,this[_0x5e8565(0x199)]=_0x271f5c,this['s3Client']=aws_s3_utils_1[_0x5e8565(0x193)][_0x5e8565(0x189)](_0x29ce99,_0x32c63d);}[_0x36215b(0x197)](_0x49b161,_0x1d206c){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x36ce47=_0x1928,_0x1f78c3=new lib_storage_1[(_0x36ce47(0x19f))]({'client':this['s3Client'],'params':{'Bucket':this[_0x36ce47(0x185)][_0x36ce47(0x1a0)],'Key':_0x1d206c,'Body':_0x49b161,'StorageClass':this[_0x36ce47(0x199)]}});yield _0x1f78c3[_0x36ce47(0x181)]();});}['execute'](_0x4cdf94,_0x3a7035){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5ac970=_0x1928;try{const _0x29e3d8=_0x3a7035[_0x5ac970(0x183)](path_1[_0x5ac970(0x191)][_0x5ac970(0x1a1)])['join'](path_1[_0x5ac970(0x191)]['posix']['sep']);yield this['upload'](_0x4cdf94,_0x29e3d8);}catch(_0x407c5c){throw _0x407c5c;}});}}exports['AwsS3Deploy']=AwsS3Deploy;
1
+ 'use strict';const _0x12f521=_0x4412;(function(_0x406fb3,_0xdec3f5){const _0x268931=_0x4412,_0x2befd4=_0x406fb3();while(!![]){try{const _0x21ecf4=-parseInt(_0x268931(0x161))/0x1+parseInt(_0x268931(0x15b))/0x2*(-parseInt(_0x268931(0x16d))/0x3)+-parseInt(_0x268931(0x176))/0x4+-parseInt(_0x268931(0x157))/0x5+-parseInt(_0x268931(0x16a))/0x6+-parseInt(_0x268931(0x16b))/0x7+parseInt(_0x268931(0x16c))/0x8;if(_0x21ecf4===_0xdec3f5)break;else _0x2befd4['push'](_0x2befd4['shift']());}catch(_0x4153c8){_0x2befd4['push'](_0x2befd4['shift']());}}}(_0x5d54,0x3c110));var __awaiter=this&&this[_0x12f521(0x173)]||function(_0x506335,_0x461d5f,_0x42f4b3,_0x5a0a2b){function _0x30b1af(_0x3fe34e){return _0x3fe34e instanceof _0x42f4b3?_0x3fe34e:new _0x42f4b3(function(_0x1fe40a){_0x1fe40a(_0x3fe34e);});}return new(_0x42f4b3||(_0x42f4b3=Promise))(function(_0x56719e,_0x4fd461){const _0x22443f=_0x4412;function _0x28b4ac(_0x4bc805){const _0x22637e=_0x4412;try{_0x371515(_0x5a0a2b[_0x22637e(0x15e)](_0x4bc805));}catch(_0x1772d5){_0x4fd461(_0x1772d5);}}function _0x3c681b(_0x23f473){const _0x1cfcf0=_0x4412;try{_0x371515(_0x5a0a2b[_0x1cfcf0(0x168)](_0x23f473));}catch(_0x4a518a){_0x4fd461(_0x4a518a);}}function _0x371515(_0x2c9877){const _0x368d0a=_0x4412;_0x2c9877[_0x368d0a(0x163)]?_0x56719e(_0x2c9877[_0x368d0a(0x159)]):_0x30b1af(_0x2c9877[_0x368d0a(0x159)])[_0x368d0a(0x158)](_0x28b4ac,_0x3c681b);}_0x371515((_0x5a0a2b=_0x5a0a2b[_0x22443f(0x178)](_0x506335,_0x461d5f||[]))[_0x22443f(0x15e)]());});},__importDefault=this&&this['__importDefault']||function(_0x2cba4a){const _0x2b647d=_0x12f521;return _0x2cba4a&&_0x2cba4a[_0x2b647d(0x162)]?_0x2cba4a:{'default':_0x2cba4a};};Object[_0x12f521(0x16f)](exports,_0x12f521(0x162),{'value':!![]}),exports['AwsS3Deploy']=void 0x0;const path_1=__importDefault(require(_0x12f521(0x160))),_1=require('./'),lib_storage_1=require(_0x12f521(0x170)),aws_s3_utils_1=require(_0x12f521(0x15a));class AwsS3Deploy extends _1[_0x12f521(0x15d)]{constructor(_0x45f38b,_0x1b6098,_0x57fb2a,_0x39739d){const _0x489821=_0x12f521;super(_0x45f38b),this[_0x489821(0x15c)]=_0x45f38b,this[_0x489821(0x16e)]=_0x1b6098,this[_0x489821(0x179)]=_0x39739d||aws_s3_utils_1[_0x489821(0x177)][_0x489821(0x172)](_0x45f38b,_0x57fb2a);}['upload'](_0x51cbe0,_0x47104c){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2187b0=_0x4412,_0x204cf5=new lib_storage_1[(_0x2187b0(0x165))]({'client':this[_0x2187b0(0x179)],'params':{'Bucket':this['credentials'][_0x2187b0(0x15f)],'Key':_0x47104c,'Body':_0x51cbe0,'StorageClass':this[_0x2187b0(0x16e)]}});yield _0x204cf5[_0x2187b0(0x163)]();});}[_0x12f521(0x171)](_0x170629,_0x3491b6){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1a4417=_0x4412;try{const _0x408e29=_0x3491b6[_0x1a4417(0x166)](path_1['default']['sep'])[_0x1a4417(0x174)](path_1[_0x1a4417(0x164)][_0x1a4417(0x169)][_0x1a4417(0x175)]);yield this['upload'](_0x170629,_0x408e29);}catch(_0x46508a){throw _0x46508a;}});}}function _0x4412(_0x3abc4f,_0x523164){const _0x5d54e8=_0x5d54();return _0x4412=function(_0x441263,_0x3ddd11){_0x441263=_0x441263-0x157;let _0x3c40bb=_0x5d54e8[_0x441263];return _0x3c40bb;},_0x4412(_0x3abc4f,_0x523164);}function _0x5d54(){const _0x4e94c1=['__awaiter','join','sep','1405584FxrKxM','AwsS3Utils','apply','s3Client','1955955TMecTv','then','value','../utils/aws-s3.utils','7086abzApD','credentials','BaseDeploy','next','bucketName','path','470721dXitFE','__esModule','done','default','Upload','split','AwsS3Deploy','throw','posix','89040TahXNM','2265368Uhrbbz','17641992rrMMzs','345wHbdkP','storageClass','defineProperty','@aws-sdk/lib-storage','execute','createS3Client'];_0x5d54=function(){return _0x4e94c1;};return _0x5d54();}exports[_0x12f521(0x167)]=AwsS3Deploy;
@@ -1 +1 @@
1
- 'use strict';const _0x533eee=_0x4166;(function(_0x1f6bc2,_0x22e197){const _0x3e3a8b=_0x4166,_0x4cba04=_0x1f6bc2();while(!![]){try{const _0x1860da=parseInt(_0x3e3a8b(0x1d9))/0x1*(parseInt(_0x3e3a8b(0x1c9))/0x2)+-parseInt(_0x3e3a8b(0x1cb))/0x3+-parseInt(_0x3e3a8b(0x1db))/0x4+parseInt(_0x3e3a8b(0x1d7))/0x5*(-parseInt(_0x3e3a8b(0x1cf))/0x6)+-parseInt(_0x3e3a8b(0x1c2))/0x7+parseInt(_0x3e3a8b(0x1d3))/0x8+parseInt(_0x3e3a8b(0x1d8))/0x9;if(_0x1860da===_0x22e197)break;else _0x4cba04['push'](_0x4cba04['shift']());}catch(_0x265813){_0x4cba04['push'](_0x4cba04['shift']());}}}(_0x1ecc,0x9ffa5));function _0x1ecc(){const _0x5c417c=['upload','byteLength','3618755KujCoi','__importDefault','__esModule','uploadStream','throw','sep','BaseDeploy','2KbTjiI','getBlockBlobClient','2943807DXIXWH','apply','join','value','25758nJXGXD','__awaiter','done','AzureUtils','1338936gPzdtN','createAzureBlobContainerClient','credentials','AzureDeploy','805gWFxyu','20569590tFAQJF','731270WsQcXG','defineProperty','1357884LRBCaA','default','next'];_0x1ecc=function(){return _0x5c417c;};return _0x1ecc();}function _0x4166(_0x2a7f40,_0xae8fa8){const _0x1ecc6a=_0x1ecc();return _0x4166=function(_0x4166e7,_0x53e3b0){_0x4166e7=_0x4166e7-0x1c0;let _0x301dcf=_0x1ecc6a[_0x4166e7];return _0x301dcf;},_0x4166(_0x2a7f40,_0xae8fa8);}var __awaiter=this&&this[_0x533eee(0x1d0)]||function(_0x3547e2,_0x57ac24,_0x5d8235,_0x347e82){function _0x115584(_0xff6d76){return _0xff6d76 instanceof _0x5d8235?_0xff6d76:new _0x5d8235(function(_0x5a2c8d){_0x5a2c8d(_0xff6d76);});}return new(_0x5d8235||(_0x5d8235=Promise))(function(_0x203933,_0x597371){const _0x4b0f60=_0x4166;function _0xe497ae(_0x2ae305){const _0xb01e2d=_0x4166;try{_0x1942ad(_0x347e82[_0xb01e2d(0x1dd)](_0x2ae305));}catch(_0x19664b){_0x597371(_0x19664b);}}function _0x880a67(_0x9fa7e7){const _0x560199=_0x4166;try{_0x1942ad(_0x347e82[_0x560199(0x1c6)](_0x9fa7e7));}catch(_0x1c6364){_0x597371(_0x1c6364);}}function _0x1942ad(_0x41cd23){const _0x1695dd=_0x4166;_0x41cd23[_0x1695dd(0x1d1)]?_0x203933(_0x41cd23[_0x1695dd(0x1ce)]):_0x115584(_0x41cd23[_0x1695dd(0x1ce)])['then'](_0xe497ae,_0x880a67);}_0x1942ad((_0x347e82=_0x347e82[_0x4b0f60(0x1cc)](_0x3547e2,_0x57ac24||[]))['next']());});},__importDefault=this&&this[_0x533eee(0x1c3)]||function(_0x2e174f){const _0x36601c=_0x533eee;return _0x2e174f&&_0x2e174f[_0x36601c(0x1c4)]?_0x2e174f:{'default':_0x2e174f};};Object[_0x533eee(0x1da)](exports,_0x533eee(0x1c4),{'value':!![]}),exports[_0x533eee(0x1d6)]=void 0x0;const path_1=__importDefault(require('path')),_1=require('./'),azure_utils_1=require('../utils/azure.utils');class AzureDeploy extends _1[_0x533eee(0x1c8)]{constructor(_0x17ed51){const _0x23246c=_0x533eee;super(_0x17ed51),this['credentials']=_0x17ed51,this['containerClient']=azure_utils_1[_0x23246c(0x1d2)][_0x23246c(0x1d4)](this[_0x23246c(0x1d5)]);}[_0x533eee(0x1c0)](_0x472036,_0x5a390e){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x28a651=_0x4166,_0x3ea29d=this['containerClient'][_0x28a651(0x1ca)](_0x5a390e);_0x472036 instanceof Buffer?yield _0x3ea29d[_0x28a651(0x1c0)](_0x472036,_0x472036[_0x28a651(0x1c1)]):yield _0x3ea29d[_0x28a651(0x1c5)](_0x472036);});}['execute'](_0x3b0232,_0x16d06d){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x2bd51e=_0x4166,_0x3d4d43=_0x16d06d['split'](path_1[_0x2bd51e(0x1dc)]['sep'])[_0x2bd51e(0x1cd)](path_1[_0x2bd51e(0x1dc)]['posix'][_0x2bd51e(0x1c7)]);yield this[_0x2bd51e(0x1c0)](_0x3b0232,_0x3d4d43);});}}exports['AzureDeploy']=AzureDeploy;
1
+ 'use strict';const _0x3a0486=_0x2dbe;(function(_0x1d07c1,_0x577446){const _0x49a057=_0x2dbe,_0x373b43=_0x1d07c1();while(!![]){try{const _0xf821ca=parseInt(_0x49a057(0x87))/0x1+-parseInt(_0x49a057(0x8b))/0x2*(-parseInt(_0x49a057(0x78))/0x3)+-parseInt(_0x49a057(0x81))/0x4*(parseInt(_0x49a057(0x6f))/0x5)+-parseInt(_0x49a057(0x89))/0x6+-parseInt(_0x49a057(0x74))/0x7+-parseInt(_0x49a057(0x82))/0x8*(-parseInt(_0x49a057(0x77))/0x9)+parseInt(_0x49a057(0x85))/0xa;if(_0xf821ca===_0x577446)break;else _0x373b43['push'](_0x373b43['shift']());}catch(_0x243daf){_0x373b43['push'](_0x373b43['shift']());}}}(_0x16a4,0x7228a));var __awaiter=this&&this[_0x3a0486(0x80)]||function(_0x31777c,_0x2e5c7b,_0x2c9220,_0x36ad2e){function _0x43fc5b(_0x339e20){return _0x339e20 instanceof _0x2c9220?_0x339e20:new _0x2c9220(function(_0x478c78){_0x478c78(_0x339e20);});}return new(_0x2c9220||(_0x2c9220=Promise))(function(_0x287b8f,_0x31e526){function _0x323998(_0x51941e){const _0x39d2b8=_0x2dbe;try{_0x2ca559(_0x36ad2e[_0x39d2b8(0x73)](_0x51941e));}catch(_0x3329c0){_0x31e526(_0x3329c0);}}function _0x5e1467(_0x5a2a51){const _0x120bfb=_0x2dbe;try{_0x2ca559(_0x36ad2e[_0x120bfb(0x79)](_0x5a2a51));}catch(_0x59bc4b){_0x31e526(_0x59bc4b);}}function _0x2ca559(_0x556942){const _0x5da97f=_0x2dbe;_0x556942[_0x5da97f(0x84)]?_0x287b8f(_0x556942['value']):_0x43fc5b(_0x556942[_0x5da97f(0x86)])[_0x5da97f(0x8a)](_0x323998,_0x5e1467);}_0x2ca559((_0x36ad2e=_0x36ad2e['apply'](_0x31777c,_0x2e5c7b||[]))['next']());});},__importDefault=this&&this[_0x3a0486(0x7a)]||function(_0x571fac){return _0x571fac&&_0x571fac['__esModule']?_0x571fac:{'default':_0x571fac};};Object[_0x3a0486(0x6d)](exports,_0x3a0486(0x7c),{'value':!![]}),exports['AzureDeploy']=void 0x0;function _0x2dbe(_0x497bba,_0x3b0e2d){const _0x16a41f=_0x16a4();return _0x2dbe=function(_0x2dbe7b,_0x22d19a){_0x2dbe7b=_0x2dbe7b-0x6b;let _0x1173ba=_0x16a41f[_0x2dbe7b];return _0x1173ba;},_0x2dbe(_0x497bba,_0x3b0e2d);}const path_1=__importDefault(require(_0x3a0486(0x6e))),_1=require('./'),azure_utils_1=require(_0x3a0486(0x83));function _0x16a4(){const _0x5a1e76=['AzureUtils','5119434oBIwtb','then','14PUowaN','posix','AzureDeploy','join','getBlockBlobClient','defineProperty','path','285265zdSpAw','sep','byteLength','default','next','6210792WGdFDy','containerClient','credentials','1223190XdYXMd','276132kvlDJJ','throw','__importDefault','BaseDeploy','__esModule','split','uploadStream','upload','__awaiter','16uCDONz','24XPnEnl','../utils/azure.utils','done','9582760hOEgXd','value','425987ZVqfVJ'];_0x16a4=function(){return _0x5a1e76;};return _0x16a4();}class AzureDeploy extends _1[_0x3a0486(0x7b)]{constructor(_0x4a6cc2){const _0x3854d7=_0x3a0486;super(_0x4a6cc2),this[_0x3854d7(0x76)]=_0x4a6cc2,this[_0x3854d7(0x75)]=azure_utils_1[_0x3854d7(0x88)]['createAzureBlobContainerClient'](this[_0x3854d7(0x76)]);}[_0x3a0486(0x7f)](_0x37dc01,_0x470844){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x3f4c9f=_0x2dbe,_0x3f8050=this[_0x3f4c9f(0x75)][_0x3f4c9f(0x6c)](_0x470844);_0x37dc01 instanceof Buffer?yield _0x3f8050[_0x3f4c9f(0x7f)](_0x37dc01,_0x37dc01[_0x3f4c9f(0x71)]):yield _0x3f8050[_0x3f4c9f(0x7e)](_0x37dc01);});}['execute'](_0x1d18d8,_0x247089){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x5a6f42=_0x2dbe,_0x47abf8=_0x247089[_0x5a6f42(0x7d)](path_1[_0x5a6f42(0x72)][_0x5a6f42(0x70)])[_0x5a6f42(0x6b)](path_1[_0x5a6f42(0x72)][_0x5a6f42(0x8c)][_0x5a6f42(0x70)]);yield this[_0x5a6f42(0x7f)](_0x1d18d8,_0x47abf8);});}}exports[_0x3a0486(0x8d)]=AzureDeploy;
@@ -1 +1 @@
1
- 'use strict';function _0x42f9(){var _0x7c3d17=['394oUChGN','credentials','16098888BafLkT','__esModule','18Fxzvih','29696PrLKtD','518142sIKwzE','12DNlUcu','12LGEEoe','77onmIkh','defineProperty','BaseDeploy','11iOFUns','2139860eEUsvi','274945AjbOKG','2853FjoxAB','5361204gOKLfL'];_0x42f9=function(){return _0x7c3d17;};return _0x42f9();}var _0x5e3ff3=_0x803c;(function(_0x6044ea,_0x428921){var _0x590760=_0x803c,_0x4d00d8=_0x6044ea();while(!![]){try{var _0xbfc62b=-parseInt(_0x590760(0x123))/0x1*(parseInt(_0x590760(0x125))/0x2)+parseInt(_0x590760(0x12b))/0x3*(parseInt(_0x590760(0x12c))/0x4)+-parseInt(_0x590760(0x133))/0x5*(-parseInt(_0x590760(0x12d))/0x6)+parseInt(_0x590760(0x12e))/0x7*(-parseInt(_0x590760(0x12a))/0x8)+parseInt(_0x590760(0x129))/0x9*(-parseInt(_0x590760(0x132))/0xa)+parseInt(_0x590760(0x131))/0xb*(-parseInt(_0x590760(0x124))/0xc)+parseInt(_0x590760(0x127))/0xd;if(_0xbfc62b===_0x428921)break;else _0x4d00d8['push'](_0x4d00d8['shift']());}catch(_0x7a013c){_0x4d00d8['push'](_0x4d00d8['shift']());}}}(_0x42f9,0x5ef14));function _0x803c(_0xf84fcd,_0x58e52c){var _0x42f97b=_0x42f9();return _0x803c=function(_0x803ca0,_0x49a86e){_0x803ca0=_0x803ca0-0x123;var _0xe21304=_0x42f97b[_0x803ca0];return _0xe21304;},_0x803c(_0xf84fcd,_0x58e52c);}Object[_0x5e3ff3(0x12f)](exports,_0x5e3ff3(0x128),{'value':!![]}),exports[_0x5e3ff3(0x130)]=void 0x0;class BaseDeploy{constructor(_0x2bc6a2){var _0x13886a=_0x5e3ff3;this[_0x13886a(0x126)]=_0x2bc6a2;}}exports[_0x5e3ff3(0x130)]=BaseDeploy;
1
+ 'use strict';var _0x4e88ea=_0x1e15;function _0x1e15(_0x2fd0b3,_0x2645d8){var _0x3d3467=_0x3d34();return _0x1e15=function(_0x1e15e4,_0x243490){_0x1e15e4=_0x1e15e4-0x151;var _0x34cfc7=_0x3d3467[_0x1e15e4];return _0x34cfc7;},_0x1e15(_0x2fd0b3,_0x2645d8);}(function(_0xae5e18,_0x45894a){var _0x53bbd3=_0x1e15,_0x5c6829=_0xae5e18();while(!![]){try{var _0x4db374=-parseInt(_0x53bbd3(0x155))/0x1*(parseInt(_0x53bbd3(0x157))/0x2)+-parseInt(_0x53bbd3(0x15c))/0x3+parseInt(_0x53bbd3(0x159))/0x4*(-parseInt(_0x53bbd3(0x15d))/0x5)+-parseInt(_0x53bbd3(0x15f))/0x6+parseInt(_0x53bbd3(0x15a))/0x7*(parseInt(_0x53bbd3(0x154))/0x8)+-parseInt(_0x53bbd3(0x153))/0x9*(parseInt(_0x53bbd3(0x158))/0xa)+-parseInt(_0x53bbd3(0x15b))/0xb*(-parseInt(_0x53bbd3(0x15e))/0xc);if(_0x4db374===_0x45894a)break;else _0x5c6829['push'](_0x5c6829['shift']());}catch(_0x53bce8){_0x5c6829['push'](_0x5c6829['shift']());}}}(_0x3d34,0x8eb65));Object[_0x4e88ea(0x151)](exports,_0x4e88ea(0x152),{'value':!![]}),exports[_0x4e88ea(0x156)]=void 0x0;class BaseDeploy{constructor(_0x209a34){this['credentials']=_0x209a34;}}exports[_0x4e88ea(0x156)]=BaseDeploy;function _0x3d34(){var _0x324f36=['BaseDeploy','66HjDCRk','988940bRcVSE','116168MwNDoL','28ijepXg','376343NvNPVz','1186692EYxaXV','30SQMIHb','144DYCsRc','425370pGyolX','defineProperty','__esModule','9hYThZR','1881448GdsNFw','822hzluLJ'];_0x3d34=function(){return _0x324f36;};return _0x3d34();}
@@ -1 +1 @@
1
- 'use strict';var _0x1141cd=_0x3051;(function(_0x41bc84,_0x5a8d21){var _0x51e786=_0x3051,_0x313eec=_0x41bc84();while(!![]){try{var _0x33132f=-parseInt(_0x51e786(0x15b))/0x1+parseInt(_0x51e786(0x14d))/0x2*(parseInt(_0x51e786(0x15f))/0x3)+parseInt(_0x51e786(0x159))/0x4*(parseInt(_0x51e786(0x14f))/0x5)+parseInt(_0x51e786(0x153))/0x6*(parseInt(_0x51e786(0x161))/0x7)+-parseInt(_0x51e786(0x15e))/0x8*(-parseInt(_0x51e786(0x156))/0x9)+-parseInt(_0x51e786(0x155))/0xa*(-parseInt(_0x51e786(0x158))/0xb)+-parseInt(_0x51e786(0x160))/0xc*(parseInt(_0x51e786(0x14e))/0xd);if(_0x33132f===_0x5a8d21)break;else _0x313eec['push'](_0x313eec['shift']());}catch(_0x3119fc){_0x313eec['push'](_0x313eec['shift']());}}}(_0x4779,0xa5605));Object[_0x1141cd(0x151)](exports,'__esModule',{'value':!![]}),exports[_0x1141cd(0x15a)]=exports[_0x1141cd(0x15d)]=exports[_0x1141cd(0x15c)]=exports[_0x1141cd(0x154)]=void 0x0;function _0x4779(){var _0x260517=['575630LYaaZE','63HoRDZt','./azure-deploy','33whaVxE','104DUcudL','AzureDeploy','119544bbxmMh','AwsS3Deploy','LocalDeploy','1302392UcjAnz','26844sjHGqi','492IvwhZM','28rinusp','162ZFbkfW','541463VlBGFe','21795Htqrzk','./base-deploy','defineProperty','./local-deploy','531318aemecP','BaseDeploy'];_0x4779=function(){return _0x260517;};return _0x4779();}function _0x3051(_0x137f95,_0x2d07bb){var _0x477914=_0x4779();return _0x3051=function(_0x30515f,_0x31566a){_0x30515f=_0x30515f-0x14d;var _0x2182e6=_0x477914[_0x30515f];return _0x2182e6;},_0x3051(_0x137f95,_0x2d07bb);}var base_deploy_1=require(_0x1141cd(0x150));Object['defineProperty'](exports,_0x1141cd(0x154),{'enumerable':!![],'get':function(){var _0x2aedd7=_0x1141cd;return base_deploy_1[_0x2aedd7(0x154)];}});var aws_s3_deploy_1=require('./aws-s3-deploy');Object[_0x1141cd(0x151)](exports,_0x1141cd(0x15c),{'enumerable':!![],'get':function(){var _0x3c97ef=_0x1141cd;return aws_s3_deploy_1[_0x3c97ef(0x15c)];}});var local_deploy_1=require(_0x1141cd(0x152));Object[_0x1141cd(0x151)](exports,_0x1141cd(0x15d),{'enumerable':!![],'get':function(){var _0x1c7183=_0x1141cd;return local_deploy_1[_0x1c7183(0x15d)];}});var azure_deploy_1=require(_0x1141cd(0x157));Object['defineProperty'](exports,_0x1141cd(0x15a),{'enumerable':!![],'get':function(){return azure_deploy_1['AzureDeploy'];}});
1
+ 'use strict';var _0x5adfdc=_0x38b1;(function(_0x5afb3a,_0x3350e6){var _0x4b2a9e=_0x38b1,_0x53d815=_0x5afb3a();while(!![]){try{var _0xabc37a=-parseInt(_0x4b2a9e(0x103))/0x1+-parseInt(_0x4b2a9e(0x113))/0x2+parseInt(_0x4b2a9e(0x10b))/0x3*(parseInt(_0x4b2a9e(0x10c))/0x4)+parseInt(_0x4b2a9e(0x112))/0x5+parseInt(_0x4b2a9e(0x102))/0x6*(parseInt(_0x4b2a9e(0x10d))/0x7)+parseInt(_0x4b2a9e(0x105))/0x8*(parseInt(_0x4b2a9e(0x114))/0x9)+-parseInt(_0x4b2a9e(0x115))/0xa*(parseInt(_0x4b2a9e(0x109))/0xb);if(_0xabc37a===_0x3350e6)break;else _0x53d815['push'](_0x53d815['shift']());}catch(_0x64dc61){_0x53d815['push'](_0x53d815['shift']());}}}(_0x416a,0x2784a));function _0x38b1(_0xb0368c,_0x139295){var _0x416a5b=_0x416a();return _0x38b1=function(_0x38b1cd,_0x513880){_0x38b1cd=_0x38b1cd-0x102;var _0x55865f=_0x416a5b[_0x38b1cd];return _0x55865f;},_0x38b1(_0xb0368c,_0x139295);}Object[_0x5adfdc(0x106)](exports,_0x5adfdc(0x104),{'value':!![]}),exports[_0x5adfdc(0x110)]=exports[_0x5adfdc(0x108)]=exports[_0x5adfdc(0x10e)]=exports[_0x5adfdc(0x107)]=void 0x0;var base_deploy_1=require(_0x5adfdc(0x10a));Object[_0x5adfdc(0x106)](exports,'BaseDeploy',{'enumerable':!![],'get':function(){var _0x44c720=_0x5adfdc;return base_deploy_1[_0x44c720(0x107)];}});var aws_s3_deploy_1=require('./aws-s3-deploy');Object[_0x5adfdc(0x106)](exports,'AwsS3Deploy',{'enumerable':!![],'get':function(){var _0x4d40c3=_0x5adfdc;return aws_s3_deploy_1[_0x4d40c3(0x10e)];}});var local_deploy_1=require(_0x5adfdc(0x111));function _0x416a(){var _0x2313c6=['20tbHOJq','6uWseZj','297811XMAHTh','__esModule','1877592xiPLQh','defineProperty','BaseDeploy','LocalDeploy','1171973sTbRax','./base-deploy','73455YWHHib','20dDfqlm','1848791MwwQJZ','AwsS3Deploy','./azure-deploy','AzureDeploy','./local-deploy','465450MxWRmm','83128DagxSi','9nqpTkb'];_0x416a=function(){return _0x2313c6;};return _0x416a();}Object[_0x5adfdc(0x106)](exports,'LocalDeploy',{'enumerable':!![],'get':function(){var _0x371ae4=_0x5adfdc;return local_deploy_1[_0x371ae4(0x108)];}});var azure_deploy_1=require(_0x5adfdc(0x10f));Object[_0x5adfdc(0x106)](exports,_0x5adfdc(0x110),{'enumerable':!![],'get':function(){return azure_deploy_1['AzureDeploy'];}});
@@ -1 +1 @@
1
- 'use strict';function _0x4331(){const _0x29b768=['160008jcNiUL','default','apply','7pCtAia','dirname','@flosum/utils','5hsVLgC','defineProperty','100fPeJvW','BaseDeploy','mkdir','2662dVoEUg','__awaiter','FsUtils','7904868IWDMll','next','__esModule','479709GtCZLm','889851pvseVz','fs/promises','then','execute','done','607226TGBDMB','path','LocalDeploy','8096344kdxuYw','writeFile','value','__importDefault','1655404DBLoet','3dfZDhA'];_0x4331=function(){return _0x29b768;};return _0x4331();}const _0x1eb27c=_0x3965;(function(_0x58e20a,_0x56438c){const _0x11d3a0=_0x3965,_0x4f888e=_0x58e20a();while(!![]){try{const _0x3b362b=-parseInt(_0x11d3a0(0x13b))/0x1*(parseInt(_0x11d3a0(0x133))/0x2)+-parseInt(_0x11d3a0(0x12e))/0x3+-parseInt(_0x11d3a0(0x13a))/0x4*(parseInt(_0x11d3a0(0x142))/0x5)+-parseInt(_0x11d3a0(0x14a))/0x6+parseInt(_0x11d3a0(0x13f))/0x7*(parseInt(_0x11d3a0(0x136))/0x8)+parseInt(_0x11d3a0(0x12d))/0x9*(-parseInt(_0x11d3a0(0x144))/0xa)+parseInt(_0x11d3a0(0x147))/0xb*(parseInt(_0x11d3a0(0x13c))/0xc);if(_0x3b362b===_0x56438c)break;else _0x4f888e['push'](_0x4f888e['shift']());}catch(_0x24d3d6){_0x4f888e['push'](_0x4f888e['shift']());}}}(_0x4331,0xbb464));var __awaiter=this&&this[_0x1eb27c(0x148)]||function(_0x2a7a8b,_0x2f0989,_0x47c888,_0x2f9114){function _0x41e636(_0xcff38c){return _0xcff38c instanceof _0x47c888?_0xcff38c:new _0x47c888(function(_0x92d8fa){_0x92d8fa(_0xcff38c);});}return new(_0x47c888||(_0x47c888=Promise))(function(_0x4d96e1,_0x2e1f76){const _0x1dfb6d=_0x3965;function _0x915331(_0x254070){const _0x667d65=_0x3965;try{_0x535761(_0x2f9114[_0x667d65(0x12b)](_0x254070));}catch(_0x55b5f0){_0x2e1f76(_0x55b5f0);}}function _0x4a6382(_0x300137){try{_0x535761(_0x2f9114['throw'](_0x300137));}catch(_0x145e6d){_0x2e1f76(_0x145e6d);}}function _0x535761(_0x4dc0ee){const _0x24c88a=_0x3965;_0x4dc0ee[_0x24c88a(0x132)]?_0x4d96e1(_0x4dc0ee[_0x24c88a(0x138)]):_0x41e636(_0x4dc0ee[_0x24c88a(0x138)])[_0x24c88a(0x130)](_0x915331,_0x4a6382);}_0x535761((_0x2f9114=_0x2f9114[_0x1dfb6d(0x13e)](_0x2a7a8b,_0x2f0989||[]))[_0x1dfb6d(0x12b)]());});},__importDefault=this&&this[_0x1eb27c(0x139)]||function(_0x3ed380){const _0x4b2f49=_0x1eb27c;return _0x3ed380&&_0x3ed380[_0x4b2f49(0x12c)]?_0x3ed380:{'default':_0x3ed380};};Object[_0x1eb27c(0x143)](exports,'__esModule',{'value':!![]}),exports[_0x1eb27c(0x135)]=void 0x0;const path_1=__importDefault(require(_0x1eb27c(0x134))),promises_1=require(_0x1eb27c(0x12f)),utils_1=require(_0x1eb27c(0x141)),_1=require('./');function _0x3965(_0x2e0f29,_0x58b36f){const _0x433103=_0x4331();return _0x3965=function(_0x39656c,_0x30ca1d){_0x39656c=_0x39656c-0x12b;let _0x120854=_0x433103[_0x39656c];return _0x120854;},_0x3965(_0x2e0f29,_0x58b36f);}class LocalDeploy extends _1[_0x1eb27c(0x145)]{[_0x1eb27c(0x131)](_0x5ca0d3,_0x29015e){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x1c5edc=_0x3965;try{const _0x3b3cba=path_1[_0x1c5edc(0x13d)][_0x1c5edc(0x140)](_0x29015e),_0x1092a3=yield utils_1['FsUtils']['isExistsPath'](_0x3b3cba);!_0x1092a3&&(yield(0x0,promises_1[_0x1c5edc(0x146)])(_0x3b3cba,{'recursive':!![]})),yield(0x0,promises_1[_0x1c5edc(0x137)])(_0x29015e,_0x5ca0d3);}catch(_0x819182){(yield utils_1[_0x1c5edc(0x149)]['isExistsPath'](_0x29015e))&&(yield(0x0,promises_1['rm'])(_0x29015e,{'recursive':!![]}));throw _0x819182;}});}}exports[_0x1eb27c(0x135)]=LocalDeploy;
1
+ 'use strict';const _0xab37b=_0x4026;(function(_0x16ba50,_0x2f1836){const _0x2f14b6=_0x4026,_0x3c62d3=_0x16ba50();while(!![]){try{const _0x51a0e7=parseInt(_0x2f14b6(0x127))/0x1+-parseInt(_0x2f14b6(0x122))/0x2*(parseInt(_0x2f14b6(0x119))/0x3)+-parseInt(_0x2f14b6(0x11b))/0x4*(parseInt(_0x2f14b6(0x115))/0x5)+-parseInt(_0x2f14b6(0x11d))/0x6*(parseInt(_0x2f14b6(0x11a))/0x7)+-parseInt(_0x2f14b6(0x125))/0x8*(-parseInt(_0x2f14b6(0x12c))/0x9)+parseInt(_0x2f14b6(0x123))/0xa*(parseInt(_0x2f14b6(0x11c))/0xb)+parseInt(_0x2f14b6(0x12f))/0xc;if(_0x51a0e7===_0x2f1836)break;else _0x3c62d3['push'](_0x3c62d3['shift']());}catch(_0x14e764){_0x3c62d3['push'](_0x3c62d3['shift']());}}}(_0x2b05,0x25dae));function _0x4026(_0x4ff873,_0x3608d6){const _0x2b0524=_0x2b05();return _0x4026=function(_0x4026cc,_0x2297bb){_0x4026cc=_0x4026cc-0x113;let _0x538d38=_0x2b0524[_0x4026cc];return _0x538d38;},_0x4026(_0x4ff873,_0x3608d6);}function _0x2b05(){const _0x59364a=['2773200OIgEhX','value','next','219045KnrRrb','then','defineProperty','mkdir','306LAkjUu','2443fTqSdv','28ufzxSy','3279419iVTFrV','12daRYfQ','BaseDeploy','__awaiter','execute','__esModule','2712TyjPBX','10MhDKzl','dirname','5224NLxRJZ','__importDefault','38195ocBnJj','done','isExistsPath','apply','writeFile','459xHknMM','FsUtils','LocalDeploy'];_0x2b05=function(){return _0x59364a;};return _0x2b05();}var __awaiter=this&&this[_0xab37b(0x11f)]||function(_0x3857b3,_0x5b9321,_0x51a41c,_0x5d4629){function _0x33f4e1(_0x405dab){return _0x405dab instanceof _0x51a41c?_0x405dab:new _0x51a41c(function(_0xcdd6d0){_0xcdd6d0(_0x405dab);});}return new(_0x51a41c||(_0x51a41c=Promise))(function(_0x5bfd1f,_0x2623b2){const _0xcac264=_0x4026;function _0x1f8716(_0x18eb53){try{_0x263ab2(_0x5d4629['next'](_0x18eb53));}catch(_0x123357){_0x2623b2(_0x123357);}}function _0x1a8067(_0x18cab6){try{_0x263ab2(_0x5d4629['throw'](_0x18cab6));}catch(_0x28bcd8){_0x2623b2(_0x28bcd8);}}function _0x263ab2(_0x440d9c){const _0x5af51c=_0x4026;_0x440d9c[_0x5af51c(0x128)]?_0x5bfd1f(_0x440d9c[_0x5af51c(0x113)]):_0x33f4e1(_0x440d9c['value'])[_0x5af51c(0x116)](_0x1f8716,_0x1a8067);}_0x263ab2((_0x5d4629=_0x5d4629[_0xcac264(0x12a)](_0x3857b3,_0x5b9321||[]))[_0xcac264(0x114)]());});},__importDefault=this&&this[_0xab37b(0x126)]||function(_0x912825){return _0x912825&&_0x912825['__esModule']?_0x912825:{'default':_0x912825};};Object[_0xab37b(0x117)](exports,_0xab37b(0x121),{'value':!![]}),exports[_0xab37b(0x12e)]=void 0x0;const path_1=__importDefault(require('path')),promises_1=require('fs/promises'),utils_1=require('@flosum/utils'),_1=require('./');class LocalDeploy extends _1[_0xab37b(0x11e)]{[_0xab37b(0x120)](_0x3386e5,_0xec8c0e){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x55a835=_0x4026;try{const _0x26dc85=path_1['default'][_0x55a835(0x124)](_0xec8c0e),_0x1f67f4=yield utils_1[_0x55a835(0x12d)][_0x55a835(0x129)](_0x26dc85);!_0x1f67f4&&(yield(0x0,promises_1[_0x55a835(0x118)])(_0x26dc85,{'recursive':!![]})),yield(0x0,promises_1[_0x55a835(0x12b)])(_0xec8c0e,_0x3386e5);}catch(_0x4f9262){(yield utils_1['FsUtils']['isExistsPath'](_0xec8c0e))&&(yield(0x0,promises_1['rm'])(_0xec8c0e,{'recursive':!![]}));throw _0x4f9262;}});}}exports[_0xab37b(0x12e)]=LocalDeploy;
package/dist/factory.d.ts CHANGED
@@ -7,6 +7,11 @@ import { BaseFileSizeRetriever } from './file-size-retriever';
7
7
  import { StorageClass, Tier } from '@aws-sdk/client-s3';
8
8
  import { AwsBuildMiddleware } from './types';
9
9
  import { BaseCopy } from './copy';
10
+ import { BaseStorageInstance } from './instances/base.storage-instance';
11
+ export declare type CreateInstanceOptions = {
12
+ credentials: BaseCredentials;
13
+ middlewareStack?: AwsBuildMiddleware[];
14
+ };
10
15
  export declare class StorageFactory {
11
16
  static createRetrieve(storageType: StorageType, credentials: BaseCredentials, path: string, restoreType?: Tier, cachePath?: string, middlewareStack?: AwsBuildMiddleware[]): BaseRetrieve;
12
17
  static createDeploy(storageType: StorageType, credentials: BaseCredentials, storageClass?: StorageClass, middlewareStack?: AwsBuildMiddleware[]): BaseDeploy;
@@ -15,4 +20,5 @@ export declare class StorageFactory {
15
20
  static createFileSizeRetriever(storageType: StorageType, credentials: BaseCredentials, middlewareStack?: AwsBuildMiddleware[]): BaseFileSizeRetriever;
16
21
  static createRetrieveHelper(storageType: StorageType, credentials: BaseCredentials, sourcePath: string): BaseHelper;
17
22
  static createCopy(storageType: StorageType, credentials: BaseCredentials): BaseCopy;
23
+ static createInstance({ credentials, middlewareStack }: CreateInstanceOptions): BaseStorageInstance;
18
24
  }
package/dist/factory.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x2e56e4=_0x74c7;(function(_0x49d478,_0x2e2a2a){const _0x4a23e3=_0x74c7,_0x298af9=_0x49d478();while(!![]){try{const _0xb70af8=-parseInt(_0x4a23e3(0x1ca))/0x1*(parseInt(_0x4a23e3(0x1d9))/0x2)+parseInt(_0x4a23e3(0x1cb))/0x3+-parseInt(_0x4a23e3(0x1c2))/0x4*(parseInt(_0x4a23e3(0x1e8))/0x5)+parseInt(_0x4a23e3(0x1d3))/0x6+parseInt(_0x4a23e3(0x1cf))/0x7*(-parseInt(_0x4a23e3(0x1de))/0x8)+-parseInt(_0x4a23e3(0x1c8))/0x9+parseInt(_0x4a23e3(0x1d2))/0xa;if(_0xb70af8===_0x2e2a2a)break;else _0x298af9['push'](_0x298af9['shift']());}catch(_0x325dd7){_0x298af9['push'](_0x298af9['shift']());}}}(_0x1e66,0x2ba62));function _0x74c7(_0x4b12fe,_0xae43cd){const _0x1e66e7=_0x1e66();return _0x74c7=function(_0x74c787,_0x39fb82){_0x74c787=_0x74c787-0x1bf;let _0x282a55=_0x1e66e7[_0x74c787];return _0x282a55;},_0x74c7(_0x4b12fe,_0xae43cd);}function _0x1e66(){const _0x391753=['./credentials','1019440ugFoJM','createFileSizeRetriever','./file-size-retriever','AwsS3Delete','AwsS3Helper','createRetrieveHelper','AwsS3Deploy','AwsS3Credentials','./retrieve','AzureDeploy','10dTbQKc','AzureDelete','AzureRetrieve','./types/storage-type.enum','AZURE_BLOB','430900EEdwfU','StorageType','StorageFactory','Unknown\x20storage\x20type\x20-\x20\x22','LocalFileSizeRetriever','Azure\x20Blob\x20Storage\x20functionality\x20is\x20not\x20currently\x20supported','2660274pZszOx','AzureFileSizeRetriever','17IukPEK','27984lWdhRO','AWS_S3','createRetrieve','LocalCopy','7jiRrOU','Local','LocalHelper','6911890VnuvMY','1546704UtrMHA','defineProperty','./copy','AzureHelper','__esModule','createCopy','16594CJZAHF','createDelete','AwsS3FileSizeRetriever','LocalDeploy'];_0x1e66=function(){return _0x391753;};return _0x1e66();}Object[_0x2e56e4(0x1d4)](exports,_0x2e56e4(0x1d7),{'value':!![]}),exports[_0x2e56e4(0x1c4)]=void 0x0;const storage_type_enum_1=require(_0x2e56e4(0x1c0)),credentials_1=require(_0x2e56e4(0x1dd)),delete_1=require('./delete'),deploy_1=require('./deploy'),retrieve_1=require(_0x2e56e4(0x1e6)),file_size_retriever_1=require(_0x2e56e4(0x1e0)),copy_1=require(_0x2e56e4(0x1d5));class StorageFactory{static[_0x2e56e4(0x1cd)](_0x8f1c90,_0xa40c6f,_0x4d4d54,_0x5b8fbb,_0xf44707,_0x3641f9){const _0x3ab753=_0x2e56e4;switch(_0x8f1c90){case storage_type_enum_1[_0x3ab753(0x1c3)][_0x3ab753(0x1cc)]:return new retrieve_1['AwsS3Retrieve'](_0xa40c6f,_0x4d4d54,_0x5b8fbb,_0xf44707,_0x3641f9);case storage_type_enum_1[_0x3ab753(0x1c3)][_0x3ab753(0x1d0)]:return new retrieve_1['LocalRetrieve'](_0xa40c6f,_0x4d4d54);case storage_type_enum_1[_0x3ab753(0x1c3)][_0x3ab753(0x1c1)]:return new retrieve_1[(_0x3ab753(0x1bf))](_0xa40c6f,_0x4d4d54,_0xf44707);default:throw new Error(_0x3ab753(0x1c5)+_0x8f1c90+'\x22');}}static['createDeploy'](_0x566e0e,_0x55470e,_0x4b8930,_0x3404e4){const _0x531c34=_0x2e56e4;switch(_0x566e0e){case storage_type_enum_1[_0x531c34(0x1c3)][_0x531c34(0x1cc)]:return new deploy_1[(_0x531c34(0x1e4))](_0x55470e,_0x4b8930,_0x3404e4);case storage_type_enum_1[_0x531c34(0x1c3)][_0x531c34(0x1d0)]:return new deploy_1[(_0x531c34(0x1dc))](_0x55470e);case storage_type_enum_1[_0x531c34(0x1c3)]['AZURE_BLOB']:return new deploy_1[(_0x531c34(0x1e7))](_0x55470e);default:throw new Error(_0x531c34(0x1c5)+_0x566e0e+'\x22');}}static[_0x2e56e4(0x1da)](_0x389353,_0x21cc29,_0x256972){const _0x34f73c=_0x2e56e4;switch(_0x389353){case storage_type_enum_1[_0x34f73c(0x1c3)][_0x34f73c(0x1cc)]:return new delete_1[(_0x34f73c(0x1e1))](_0x21cc29,_0x256972);case storage_type_enum_1[_0x34f73c(0x1c3)]['Local']:return new delete_1['LocalDelete'](_0x21cc29);case storage_type_enum_1[_0x34f73c(0x1c3)]['AZURE_BLOB']:return new delete_1[(_0x34f73c(0x1e9))](_0x21cc29);default:throw new Error(_0x34f73c(0x1c5)+_0x389353+'\x22');}}static['createCredentials'](_0x3f4ccb,_0xde62b8){const _0x236710=_0x2e56e4;switch(_0x3f4ccb){case storage_type_enum_1['StorageType'][_0x236710(0x1cc)]:return new credentials_1[(_0x236710(0x1e5))](_0xde62b8);case storage_type_enum_1[_0x236710(0x1c3)][_0x236710(0x1d0)]:return new credentials_1['LocalCredentials']();case storage_type_enum_1[_0x236710(0x1c3)][_0x236710(0x1c1)]:throw new Error(_0x236710(0x1c7));default:throw new Error(_0x236710(0x1c5)+_0x3f4ccb+'\x22');}}static[_0x2e56e4(0x1df)](_0x599ff2,_0xf03a6f,_0x4dba52){const _0x599883=_0x2e56e4;switch(_0x599ff2){case storage_type_enum_1[_0x599883(0x1c3)][_0x599883(0x1cc)]:return new file_size_retriever_1[(_0x599883(0x1db))](_0xf03a6f,_0x4dba52);case storage_type_enum_1[_0x599883(0x1c3)][_0x599883(0x1d0)]:return new file_size_retriever_1[(_0x599883(0x1c6))](_0xf03a6f);case storage_type_enum_1[_0x599883(0x1c3)][_0x599883(0x1c1)]:return new file_size_retriever_1[(_0x599883(0x1c9))](_0xf03a6f);default:throw new Error(_0x599883(0x1c5)+_0x599ff2+'\x22');}}static[_0x2e56e4(0x1e3)](_0x11ed1c,_0x148be8,_0x1ee4bc){const _0x278258=_0x2e56e4;switch(_0x11ed1c){case storage_type_enum_1[_0x278258(0x1c3)][_0x278258(0x1d0)]:return new retrieve_1[(_0x278258(0x1d1))](_0x1ee4bc);case storage_type_enum_1['StorageType']['AWS_S3']:return new retrieve_1[(_0x278258(0x1e2))](_0x1ee4bc,_0x148be8);case storage_type_enum_1[_0x278258(0x1c3)][_0x278258(0x1c1)]:return new retrieve_1[(_0x278258(0x1d6))](_0x148be8,_0x1ee4bc);default:throw new Error('Unknown\x20storage\x20type\x20for\x20creating\x20retrieve\x20helper\x20-\x20\x22'+_0x11ed1c+'\x22');}}static[_0x2e56e4(0x1d8)](_0x307ec6,_0x1710e8){const _0x813339=_0x2e56e4;switch(_0x307ec6){case storage_type_enum_1[_0x813339(0x1c3)][_0x813339(0x1d0)]:return new copy_1[(_0x813339(0x1ce))](_0x1710e8);case storage_type_enum_1[_0x813339(0x1c3)][_0x813339(0x1cc)]:return new copy_1['AwsS3Copy'](_0x1710e8);default:throw new Error('Unknown\x20storage\x20type\x20-\x20\x22'+_0x307ec6+'\x22');}}}exports['StorageFactory']=StorageFactory;
1
+ 'use strict';const _0x3024d6=_0x58d8;(function(_0x51edc8,_0x2e6640){const _0x5d59b9=_0x58d8,_0x417cfe=_0x51edc8();while(!![]){try{const _0x4329af=-parseInt(_0x5d59b9(0x98))/0x1+parseInt(_0x5d59b9(0x90))/0x2+parseInt(_0x5d59b9(0x91))/0x3+parseInt(_0x5d59b9(0xa0))/0x4+parseInt(_0x5d59b9(0xb7))/0x5*(parseInt(_0x5d59b9(0xb3))/0x6)+-parseInt(_0x5d59b9(0x9f))/0x7*(-parseInt(_0x5d59b9(0x9b))/0x8)+parseInt(_0x5d59b9(0xb0))/0x9*(parseInt(_0x5d59b9(0xad))/0xa);if(_0x4329af===_0x2e6640)break;else _0x417cfe['push'](_0x417cfe['shift']());}catch(_0x528bac){_0x417cfe['push'](_0x417cfe['shift']());}}}(_0x537e,0xf41eb));Object['defineProperty'](exports,_0x3024d6(0x9c),{'value':!![]}),exports[_0x3024d6(0xa2)]=void 0x0;function _0x58d8(_0x5c1835,_0x1a9dd8){const _0x537ec3=_0x537e();return _0x58d8=function(_0x58d823,_0xbb403d){_0x58d823=_0x58d823-0x8b;let _0x300a3c=_0x537ec3[_0x58d823];return _0x300a3c;},_0x58d8(_0x5c1835,_0x1a9dd8);}const storage_type_enum_1=require(_0x3024d6(0xa8)),credentials_1=require(_0x3024d6(0xba)),delete_1=require(_0x3024d6(0x95)),deploy_1=require(_0x3024d6(0xb6)),retrieve_1=require(_0x3024d6(0xaf)),file_size_retriever_1=require(_0x3024d6(0xbd)),copy_1=require(_0x3024d6(0xa6)),instances_1=require('./instances');class StorageFactory{static[_0x3024d6(0xa4)](_0x11f992,_0x42d810,_0x28a29a,_0x30ebbd,_0x16d444,_0x134454){const _0x3b385a=_0x3024d6;switch(_0x11f992){case storage_type_enum_1[_0x3b385a(0x8c)][_0x3b385a(0x8f)]:return new retrieve_1[(_0x3b385a(0x9d))](_0x42d810,_0x28a29a,_0x30ebbd,_0x16d444,_0x134454);case storage_type_enum_1[_0x3b385a(0x8c)][_0x3b385a(0xab)]:return new retrieve_1[(_0x3b385a(0xbe))](_0x42d810,_0x28a29a);case storage_type_enum_1['StorageType'][_0x3b385a(0x96)]:return new retrieve_1[(_0x3b385a(0x8d))](_0x42d810,_0x28a29a,_0x16d444);default:throw new Error(_0x3b385a(0x8e)+_0x11f992+'\x22');}}static[_0x3024d6(0xb2)](_0x59e52e,_0x4fccfc,_0x314ba2,_0x23e864){const _0xa9711=_0x3024d6;switch(_0x59e52e){case storage_type_enum_1[_0xa9711(0x8c)]['AWS_S3']:return new deploy_1[(_0xa9711(0xa1))](_0x4fccfc,_0x314ba2,_0x23e864);case storage_type_enum_1['StorageType']['Local']:return new deploy_1[(_0xa9711(0x9e))](_0x4fccfc);case storage_type_enum_1[_0xa9711(0x8c)]['AZURE_BLOB']:return new deploy_1[(_0xa9711(0x9a))](_0x4fccfc);default:throw new Error('Unknown\x20storage\x20type\x20-\x20\x22'+_0x59e52e+'\x22');}}static['createDelete'](_0x2eace6,_0xd6b444,_0x1a1011){const _0x156017=_0x3024d6;switch(_0x2eace6){case storage_type_enum_1['StorageType']['AWS_S3']:return new delete_1[(_0x156017(0xac))](_0xd6b444,_0x1a1011);case storage_type_enum_1[_0x156017(0x8c)][_0x156017(0xab)]:return new delete_1['LocalDelete'](_0xd6b444);case storage_type_enum_1['StorageType'][_0x156017(0x96)]:return new delete_1[(_0x156017(0xb5))](_0xd6b444);default:throw new Error(_0x156017(0x8e)+_0x2eace6+'\x22');}}static[_0x3024d6(0xb4)](_0x3baeda,_0x689735){const _0x19d76e=_0x3024d6;switch(_0x3baeda){case storage_type_enum_1[_0x19d76e(0x8c)][_0x19d76e(0x8f)]:return new credentials_1[(_0x19d76e(0xb1))](_0x689735);case storage_type_enum_1[_0x19d76e(0x8c)][_0x19d76e(0xab)]:return new credentials_1[(_0x19d76e(0x97))]();case storage_type_enum_1[_0x19d76e(0x8c)]['AZURE_BLOB']:return new credentials_1[(_0x19d76e(0xa7))](_0x689735);default:throw new Error('Unknown\x20storage\x20type\x20-\x20\x22'+_0x3baeda+'\x22');}}static[_0x3024d6(0xa5)](_0x20dbe0,_0x18e928,_0x142710){const _0xcfcdb8=_0x3024d6;switch(_0x20dbe0){case storage_type_enum_1[_0xcfcdb8(0x8c)][_0xcfcdb8(0x8f)]:return new file_size_retriever_1['AwsS3FileSizeRetriever'](_0x18e928,_0x142710);case storage_type_enum_1[_0xcfcdb8(0x8c)]['Local']:return new file_size_retriever_1[(_0xcfcdb8(0x92))](_0x18e928);case storage_type_enum_1['StorageType'][_0xcfcdb8(0x96)]:return new file_size_retriever_1[(_0xcfcdb8(0xae))](_0x18e928);default:throw new Error(_0xcfcdb8(0x8e)+_0x20dbe0+'\x22');}}static[_0x3024d6(0x93)](_0x1802a4,_0x59c254,_0xcd80d9){const _0x4ac082=_0x3024d6;switch(_0x1802a4){case storage_type_enum_1[_0x4ac082(0x8c)][_0x4ac082(0xab)]:return new retrieve_1[(_0x4ac082(0xbc))](_0xcd80d9);case storage_type_enum_1[_0x4ac082(0x8c)][_0x4ac082(0x8f)]:return new retrieve_1['AwsS3Helper'](_0xcd80d9,_0x59c254);case storage_type_enum_1[_0x4ac082(0x8c)][_0x4ac082(0x96)]:return new retrieve_1['AzureHelper'](_0x59c254,_0xcd80d9);default:throw new Error(_0x4ac082(0x94)+_0x1802a4+'\x22');}}static[_0x3024d6(0xa9)](_0x1e0dcc,_0x26da71){const _0x1d1c30=_0x3024d6;switch(_0x1e0dcc){case storage_type_enum_1[_0x1d1c30(0x8c)][_0x1d1c30(0xab)]:return new copy_1[(_0x1d1c30(0xbb))](_0x26da71);case storage_type_enum_1[_0x1d1c30(0x8c)]['AWS_S3']:return new copy_1['AwsS3Copy'](_0x26da71);default:throw new Error('Unknown\x20storage\x20type\x20-\x20\x22'+_0x1e0dcc+'\x22');}}static[_0x3024d6(0xaa)]({credentials:_0x813535,middlewareStack:_0x4c196f}){const _0x9225fb=_0x3024d6;if(_0x813535 instanceof credentials_1['AwsS3Credentials'])return new instances_1[(_0x9225fb(0x99))]({'credentials':_0x813535,'middlewareStack':_0x4c196f});if(_0x813535 instanceof credentials_1['LocalCredentials'])return new instances_1[(_0x9225fb(0xa3))]({'credentials':_0x813535});throw new Error(_0x9225fb(0x8b)+_0x813535[_0x9225fb(0xb9)][_0x9225fb(0xb8)]+'\x22');}}exports['StorageFactory']=StorageFactory;function _0x537e(){const _0x3abe35=['name','constructor','./credentials','LocalCopy','LocalHelper','./file-size-retriever','LocalRetrieve','Unknown\x20storage\x20credentials\x20-\x20\x22','StorageType','AzureRetrieve','Unknown\x20storage\x20type\x20-\x20\x22','AWS_S3','519804xJZrny','889869efsUcy','LocalFileSizeRetriever','createRetrieveHelper','Unknown\x20storage\x20type\x20for\x20creating\x20retrieve\x20helper\x20-\x20\x22','./delete','AZURE_BLOB','LocalCredentials','1474091oYyZjr','AwsS3StorageInstance','AzureDeploy','72TkYLcL','__esModule','AwsS3Retrieve','LocalDeploy','188867SlCVQb','3759492cfzkBv','AwsS3Deploy','StorageFactory','LocalStorageInstance','createRetrieve','createFileSizeRetriever','./copy','AzureCredentials','./types/storage-type.enum','createCopy','createInstance','Local','AwsS3Delete','70cMMkKI','AzureFileSizeRetriever','./retrieve','745947hmDxjA','AwsS3Credentials','createDeploy','927588foeXqN','createCredentials','AzureDelete','./deploy','5YjKWLI'];_0x537e=function(){return _0x3abe35;};return _0x537e();}