@sparrowai/sparrow-mcp 1.1.5 → 1.1.6

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 (48) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/scripts/mcp-test/mcp-client.js +1 -1
  3. package/dist/scripts/test-runner/check-failed-tests.js +1 -1
  4. package/dist/scripts/test-runner/compare-responses.js +1 -1
  5. package/dist/scripts/test-runner/standalone-test-fixed-header.js +1 -1
  6. package/dist/scripts/test-runner/standalone-test.js +1 -1
  7. package/dist/src/config/appConfig.js +1 -1
  8. package/dist/src/config/constants.js +1 -1
  9. package/dist/src/controllers/__tests__/analysis.controller.test.js +1 -1
  10. package/dist/src/controllers/__tests__/sast.controller.test.js +1 -1
  11. package/dist/src/controllers/__tests__/sca.controller.test.js +1 -1
  12. package/dist/src/controllers/__tests__/security.controller.test.js +1 -1
  13. package/dist/src/controllers/__tests__/system.controller.test.js +1 -1
  14. package/dist/src/controllers/analysis.controller.js +1 -1
  15. package/dist/src/controllers/sast.controller.js +1 -1
  16. package/dist/src/controllers/sca.controller.js +1 -1
  17. package/dist/src/controllers/security.controller.js +1 -1
  18. package/dist/src/controllers/system.controller.js +1 -1
  19. package/dist/src/schemas/tool.schemas.js +1 -1
  20. package/dist/src/server.js +1 -1
  21. package/dist/src/services/__tests__/checker.service.test.js +1 -1
  22. package/dist/src/services/__tests__/llm.service.test.js +1 -1
  23. package/dist/src/services/__tests__/s3.service.test.js +1 -1
  24. package/dist/src/services/__tests__/sparrow.service.test.js +1 -1
  25. package/dist/src/services/analysis.service.js +1 -1
  26. package/dist/src/services/checker.service.js +1 -1
  27. package/dist/src/services/llm/AnthropicProvider.js +1 -1
  28. package/dist/src/services/llm/BedrockProvider.js +1 -1
  29. package/dist/src/services/llm/GeminiProvider.js +1 -1
  30. package/dist/src/services/llm/LLMFactory.js +1 -1
  31. package/dist/src/services/llm/LLMProvider.js +1 -1
  32. package/dist/src/services/llm/OllamaProvider.js +1 -1
  33. package/dist/src/services/llm/OpenAIProvider.js +1 -1
  34. package/dist/src/services/llm.service.js +1 -1
  35. package/dist/src/services/s3.service.js +1 -1
  36. package/dist/src/services/sparrow.service.js +1 -1
  37. package/dist/src/types/types.js +1 -1
  38. package/dist/src/utils/__tests__/crypto.util.test.js +1 -1
  39. package/dist/src/utils/__tests__/diff.util.test.js +1 -1
  40. package/dist/src/utils/__tests__/fileManager.test.js +1 -1
  41. package/dist/src/utils/__tests__/fileManagerSecure.test.js +1 -1
  42. package/dist/src/utils/__tests__/logger.test.js +1 -1
  43. package/dist/src/utils/crypto.util.js +1 -1
  44. package/dist/src/utils/diff.util.js +1 -1
  45. package/dist/src/utils/fileManager.js +1 -1
  46. package/dist/src/utils/fileManagerSecure.js +1 -1
  47. package/dist/src/utils/logger.js +1 -1
  48. package/package.json +2 -1
@@ -1 +1 @@
1
- const a29_0x1b55b2=a29_0x5d55;(function(_0x5e566d,_0x49f587){const _0x407de6=a29_0x5d55,_0x5039ba=_0x5e566d();while(!![]){try{const _0x2fbc36=-parseInt(_0x407de6(0x179))/0x1+-parseInt(_0x407de6(0x1fd))/0x2*(parseInt(_0x407de6(0x209))/0x3)+-parseInt(_0x407de6(0x145))/0x4+parseInt(_0x407de6(0x187))/0x5+-parseInt(_0x407de6(0x1c8))/0x6*(-parseInt(_0x407de6(0x20b))/0x7)+-parseInt(_0x407de6(0x148))/0x8*(parseInt(_0x407de6(0x1c6))/0x9)+-parseInt(_0x407de6(0x227))/0xa*(-parseInt(_0x407de6(0x221))/0xb);if(_0x2fbc36===_0x49f587)break;else _0x5039ba['push'](_0x5039ba['shift']());}catch(_0x2aedca){_0x5039ba['push'](_0x5039ba['shift']());}}}(a29_0x525a,0x4a200));const a29_0x1b8575=(function(){let _0x4b6232=!![];return function(_0x337269,_0xb3fee7){const _0x3a98a3=_0x4b6232?function(){const _0x1aac0f=a29_0x5d55;if(_0xb3fee7){const _0x43e032=_0xb3fee7[_0x1aac0f(0x1c0)](_0x337269,arguments);return _0xb3fee7=null,_0x43e032;}}:function(){};return _0x4b6232=![],_0x3a98a3;};}()),a29_0x11025c=a29_0x1b8575(this,function(){const _0x213f33=a29_0x5d55;return a29_0x11025c[_0x213f33(0x1e1)]()[_0x213f33(0x211)]('(((.+)+)+)'+'+$')['toString']()[_0x213f33(0x186)+'r'](a29_0x11025c)[_0x213f33(0x211)](_0x213f33(0x155)+'+$');});a29_0x11025c();import{S3Client,PutObjectCommand,GetObjectCommand}from'@aws-sdk/client-s3';import{appConfig}from'../config/appConfig.js';function a29_0x5d55(_0x5a2fc0,_0x3e5120){_0x5a2fc0=_0x5a2fc0-0x13b;const _0xfc9a84=a29_0x525a();let _0x11025c=_0xfc9a84[_0x5a2fc0];return _0x11025c;}import{logger}from'../utils/logger.js';import{decryptInternal}from'../utils/crypto.util.js';const ENCRYPTED_ACCESS_KEY_ID=a29_0x1b55b2(0x15e)+'JaKD4uJUEZ'+a29_0x1b55b2(0x177),ENCRYPTED_SECRET_ACCESS_KEY='Jn4eEwgeMz'+a29_0x1b55b2(0x150)+a29_0x1b55b2(0x21e)+'A1PA0SHi0K'+'HRknHVVUYw'+a29_0x1b55b2(0x16d),ENCRYPTED_BUCKET_NAME=a29_0x1b55b2(0x1da)+a29_0x1b55b2(0x17e),STORAGE_REGION_DEFAULT='ap-northea'+a29_0x1b55b2(0x151),DEFAULT_EXCLUDE_FOLDERS=[a29_0x1b55b2(0x184)+'es',a29_0x1b55b2(0x1fe),'dist',a29_0x1b55b2(0x174),a29_0x1b55b2(0x1b8),'out',a29_0x1b55b2(0x14a),a29_0x1b55b2(0x1d8)+'_',a29_0x1b55b2(0x200),a29_0x1b55b2(0x215),a29_0x1b55b2(0x1dd),'vendor',a29_0x1b55b2(0x19f)+a29_0x1b55b2(0x1b2),a29_0x1b55b2(0x158),a29_0x1b55b2(0x140),a29_0x1b55b2(0x1c1),a29_0x1b55b2(0x219),'.svn','.hg',a29_0x1b55b2(0x212)];function a29_0x525a(){const _0x3ed8be=['concat','ror','close','습니다.','폴더\x20탐색\x20실패:\x20','bucket','endsWith','스토리지\x20컨테이너\x20','fileName','Message','IbprF','VfkxG','archiver','multiple-f','Z8Rw==','파일\x20다운로드\x20실패','buildObjec','VYAsC','\x20무시:','스토리지\x20Secre','zipPath','build','rpqHC','심볼릭\x20링크가\x20기준','ZGh/Ygc=','Code','573296oxySZP','폴더\x20압축\x20스토리지','TaEIb','t\x20Access\x20K','edSecretKe','FDDhEJ','접근\x20실패\x20(건너뜀','realpathSy','파일\x20크기가\x20너무\x20','ipleFiles','native','node_modul','개\x20파일을\x20건너뛰었','constructo','1069975RakukZ','감지\x20(건너뜀):\x20','message','utf8','파일\x20다운로드\x20성공','now','ZIP\x20파일\x20스토리','existsSync','downloadFi','MB까지\x20허용됩니다','\x20KB)','IDKCh','byteLength','push','has','content','):\x20','파일\x20정보\x20조회\x20실','cPkQs','withFileTy','eFiles','.s3.','로드\x20성공:\x20','endpoint','bower_comp','finalize','info','$response','sep','큽니다.\x20최대\x20','\x20->\x20','createZipF','zlib','경로\x20정규화\x20실패\x20','ile','압축된\x20파일\x20크기가','pes','error','파일\x20업로드\x20성공:','body','버킷\x20이름\x20복호화\x20','name','습니다:\x20','onents','zhDTi','(건너뜀):\x20','edBucket','\x20업로드\x20실패:','\x20오류\x20무시:','.next','Secret\x20Acc','제외된\x20폴더\x20(','thInZip','fileCount','path','includes','Access\x20Key','apply','bin','relative','용이\x20비어있습니다','MB)','AnvRG','9vdoMVI','uploadMult','1686QpXmWd','패:\x20','.\x20(발견:\x20','isFile','총\x20파일\x20크기가\x20너','EvOeX','basename','eJDuF','업로드할\x20파일이\x20없','스토리지\x20다중\x20파일','tGzLg','toFixed','\x20-\x20','WTNFe','region','심볼릭\x20링크\x20대상\x20','__pycache_','ZIP\x20파일\x20크기가','PF07LggYMS','sanitizeFi','경로가\x20기준\x20폴더\x20','.idea','split','statSync','data','toString','getDecrypt','성공:\x20','\x20너무\x20큽니다.\x20최','지\x20업로드\x20실패:','개):\x20','uploadZipF','leName','.com/','.zip','createRead','sanitizePa','fileConten','ZIP\x20파일\x20업로드','파일이\x20아닙니다:\x20','다운로드된\x20파일\x20내','secretAcce','join','end','zip','무\x20큽니다.\x20최대\x20','\x20수\x20없습니다:\x20','화\x20실패:','warn','순환\x20심볼릭\x20링크\x20','file_','s\x20Key\x20ID\x20복','sFromPaths','84392fXxrFG','.git','유효한\x20파일이\x20없습','.cache','isSymbolic','level','trim','isAbsolute','LMDpl','romFolder','ssKey','wuAWN','42MdJhCi','ZIP\x20파일을\x20찾을','8043WPoxlN','폴더가\x20아닙니다:\x20','feoMv','success','\x20ID\x20복호화\x20실패','us-east-1','search','.DS_Store','\x20(건너뜀):\x20','applicatio','.vscode','tUrl','map','n/zip','obj','파일\x20압축\x20추가\x20실','romFilePat','lstatSync','.com','W1dZRgF/PA','romMultipl','send','2723732AIaFgs','cwd','qohlY','Unknown\x20er','mbVYz','밖으로\x20나감\x20(건너','50YOXLzu','기화\x20완료:\x20리전=','\x20기반\x20업로드\x20실패','JSHMd','totalSize','size','WPKap','filePath','default','스토리지\x20파일\x20경로','Link','폴더\x20압축\x20업로드\x20','스토리지\x20Acces','add','ess\x20Key\x20복호','iles-','드\x20실패:','target','.amazonaws','호화\x20실패','uploadFile','accessKeyI','417148yFRcLm','\x20(에러\x20코드:\x20','input/','1623848yzyVZD','resolve','coverage','append','readdirSyn','match','파일\x20경로\x20기반\x20업','에\x20도달했습니다\x20(','ZYTDc1ICIq','st-2','length','Body','ZteAE','(((.+)+)+)','slice','폴더를\x20찾을\x20수\x20없','.gradle','\x20성공:\x20','파일\x20스트림\x20오류\x20','replace','Stream','개\x20파일)','EngWClY3G3'];a29_0x525a=function(){return _0x3ed8be;};return a29_0x525a();}export class S3Service{[a29_0x1b55b2(0x164)];[a29_0x1b55b2(0x1d6)];['accessKeyI'+'d'];[a29_0x1b55b2(0x1f1)+a29_0x1b55b2(0x207)];[a29_0x1b55b2(0x19e)];['s3'];constructor(){const _0x345c0c=a29_0x1b55b2;this[_0x345c0c(0x164)]=appConfig['s3']['bucket']||this[_0x345c0c(0x1e2)+_0x345c0c(0x1b5)](),this[_0x345c0c(0x1d6)]=appConfig['s3']['region']&&appConfig['s3'][_0x345c0c(0x1d6)]!==_0x345c0c(0x210)?appConfig['s3'][_0x345c0c(0x1d6)]:STORAGE_REGION_DEFAULT,this['endpoint']=appConfig['s3'][_0x345c0c(0x19e)],this['accessKeyI'+'d']=this[_0x345c0c(0x1e2)+'edAccessKe'+'y'](),this['secretAcce'+'ssKey']=this[_0x345c0c(0x1e2)+'edSecretKe'+'y']();const _0x4bc2d0=this[_0x345c0c(0x19e)]||'https://s3'+'.'+this[_0x345c0c(0x1d6)]+(_0x345c0c(0x141)+_0x345c0c(0x21d));this['s3']=new S3Client({'region':this['region'],'credentials':{'accessKeyId':this[_0x345c0c(0x144)+'d'],'secretAccessKey':this[_0x345c0c(0x1f1)+'ssKey']},'endpoint':_0x4bc2d0,'forcePathStyle':!![]}),logger[_0x345c0c(0x1a1)]('S3\x20클라이언트\x20초'+_0x345c0c(0x228)+this[_0x345c0c(0x1d6)]);}[a29_0x1b55b2(0x1e2)+'edAccessKe'+'y'](){const _0x223af6=a29_0x1b55b2,_0xaaa53a={'zhDTi':function(_0x508276,_0x2d0561){return _0x508276(_0x2d0561);}};if(appConfig['s3']['accessKeyI'+'d'])return appConfig['s3'][_0x223af6(0x144)+'d'];try{return _0xaaa53a[_0x223af6(0x1b3)](decryptInternal,ENCRYPTED_ACCESS_KEY_ID);}catch(_0x252168){logger[_0x223af6(0x1ac)](_0x223af6(0x1bf)+_0x223af6(0x20f)+':',_0x252168);throw new Error(_0x223af6(0x13b)+_0x223af6(0x1fb)+_0x223af6(0x142));}}[a29_0x1b55b2(0x1e2)+a29_0x1b55b2(0x17d)+'y'](){const _0x2b7f92=a29_0x1b55b2;if(appConfig['s3']['secretAcce'+_0x2b7f92(0x207)])return appConfig['s3'][_0x2b7f92(0x1f1)+_0x2b7f92(0x207)];try{return decryptInternal(ENCRYPTED_SECRET_ACCESS_KEY);}catch(_0x43b14b){logger[_0x2b7f92(0x1ac)](_0x2b7f92(0x1b9)+_0x2b7f92(0x13d)+_0x2b7f92(0x1f7),_0x43b14b);throw new Error(_0x2b7f92(0x172)+_0x2b7f92(0x17c)+'ey\x20복호화\x20실패');}}[a29_0x1b55b2(0x1e2)+'edBucket'](){const _0x3b51bd=a29_0x1b55b2;if(appConfig['s3'][_0x3b51bd(0x164)])return appConfig['s3'][_0x3b51bd(0x164)];try{return decryptInternal(ENCRYPTED_BUCKET_NAME);}catch(_0x3faa49){logger[_0x3b51bd(0x1ac)](_0x3b51bd(0x1af)+'실패:',_0x3faa49);throw new Error(_0x3b51bd(0x166)+'이름\x20복호화\x20실패');}}async[a29_0x1b55b2(0x143)](_0xee7a9f,_0x2c7555){const _0x50bc22=a29_0x1b55b2,_0x10a6e0={};_0x10a6e0[_0x50bc22(0x192)]=function(_0x43d739,_0x16043d){return _0x43d739*_0x16043d;},_0x10a6e0[_0x50bc22(0x223)]=function(_0x44f5b3,_0x14e65b){return _0x44f5b3>_0x14e65b;},_0x10a6e0['kjlji']='Unknown\x20er'+_0x50bc22(0x160);const _0x314268=_0x10a6e0;try{const _0x2300cc=0x64*0x400*0x400,_0xebcffb=Buffer['byteLength'](_0xee7a9f,_0x50bc22(0x18a));if(_0xebcffb>_0x2300cc)throw new Error(_0x50bc22(0x181)+_0x50bc22(0x1a4)+_0x2300cc/0x400/0x400+(_0x50bc22(0x190)+'.'));const _0x96c0d5=this[_0x50bc22(0x1db)+'leName'](_0x2c7555),_0x5c8331=await this[_0x50bc22(0x1a6)+_0x50bc22(0x1a9)](_0xee7a9f,_0x96c0d5),_0x4ee69c=_0x314268[_0x50bc22(0x192)](0x64*0x400,0x400);if(_0x314268[_0x50bc22(0x223)](_0x5c8331[_0x50bc22(0x152)],_0x4ee69c))throw new Error(_0x50bc22(0x1aa)+_0x50bc22(0x1e4)+'대\x20'+_0x4ee69c/0x400/0x400+(_0x50bc22(0x190)+'.'));const _0x46fed4=_0x50bc22(0x147)+Date[_0x50bc22(0x18c)]()+'-'+_0x96c0d5+_0x50bc22(0x1ea);return await this['s3'][_0x50bc22(0x220)](new PutObjectCommand({'Bucket':this['bucket'],'Key':_0x46fed4,'Body':_0x5c8331,'ContentType':_0x50bc22(0x214)+_0x50bc22(0x218)})),logger['info'](_0x50bc22(0x1ad)+'\x20'+_0x46fed4),{'success':!![],'key':_0x46fed4,'url':this['buildObjec'+_0x50bc22(0x216)](_0x46fed4)};}catch(_0x490d0e){logger[_0x50bc22(0x1ac)]('스토리지\x20파일\x20업로'+_0x50bc22(0x13f),_0x490d0e);let _0x4a424b=_0x314268['kjlji'];if(_0x490d0e instanceof Error){_0x4a424b=_0x490d0e[_0x50bc22(0x189)];const _0x41c61b=_0x490d0e;if(_0x41c61b['$response']?.[_0x50bc22(0x1ae)]){const _0x23b8e4=_0x41c61b[_0x50bc22(0x1a2)][_0x50bc22(0x1ae)];_0x23b8e4['Code']&&(_0x4a424b+=_0x50bc22(0x146)+_0x23b8e4[_0x50bc22(0x178)]+')'),_0x23b8e4['Message']&&(_0x4a424b+='\x20('+_0x23b8e4[_0x50bc22(0x168)]+')');}}const _0x580078={};return _0x580078[_0x50bc22(0x20e)]=![],_0x580078[_0x50bc22(0x1ac)]=_0x4a424b,_0x580078;}}async[a29_0x1b55b2(0x1a6)+'ile'](_0x3aebd3,_0x3219f6){const _0x22547b=a29_0x1b55b2,_0x2f13b5={};_0x2f13b5[_0x22547b(0x1c5)]='data';const _0x538e01=_0x2f13b5,_0x43c83c=await import(_0x22547b(0x16b));return new Promise((_0x48d5f9,_0xea0606)=>{const _0xd6dcb1=_0x22547b,_0x185c1d=[],_0x311c49={};_0x311c49[_0xd6dcb1(0x202)]=0x9;const _0x3c4f71={};_0x3c4f71[_0xd6dcb1(0x1a7)]=_0x311c49;const _0x3cfe4c=_0x43c83c[_0xd6dcb1(0x22f)](_0xd6dcb1(0x1f4),_0x3c4f71);_0x3cfe4c['on'](_0x538e01['AnvRG'],_0x1037f0=>_0x185c1d[_0xd6dcb1(0x194)](_0x1037f0)),_0x3cfe4c['on']('end',()=>_0x48d5f9(Buffer[_0xd6dcb1(0x15f)](_0x185c1d))),_0x3cfe4c['on'](_0xd6dcb1(0x1ac),_0xea0606);const _0x1eb0ff={};_0x1eb0ff[_0xd6dcb1(0x1b0)]=_0x3219f6,_0x3cfe4c['append'](_0x3aebd3,_0x1eb0ff),_0x3cfe4c[_0xd6dcb1(0x1a0)]();});}async[a29_0x1b55b2(0x1c7)+a29_0x1b55b2(0x182)](_0x69a5d7,_0x28165e){const _0xed9a6c=a29_0x1b55b2,_0x4b545c={};_0x4b545c[_0xed9a6c(0x22d)]=function(_0x13f0ea,_0x3d130c){return _0x13f0ea/_0x3d130c;},_0x4b545c[_0xed9a6c(0x17b)]=function(_0x5ccce4,_0x4769d7){return _0x5ccce4>_0x4769d7;};const _0x383aa=_0x4b545c;try{if(!_0x69a5d7||_0x69a5d7[_0xed9a6c(0x152)]===0x0)throw new Error(_0xed9a6c(0x1d0)+'습니다.');const _0x29b855=_0x69a5d7[_0xed9a6c(0x217)](_0x5badc6=>({'fileName':this[_0xed9a6c(0x1db)+_0xed9a6c(0x1e8)](_0x5badc6[_0xed9a6c(0x167)]),'fileContent':_0x5badc6[_0xed9a6c(0x1ed)+'t']})),_0x48d841=0x64*0x400*0x400,_0x49c266=_0x29b855['reduce']((_0x445ec5,_0x299f05)=>_0x445ec5+Buffer[_0xed9a6c(0x193)](_0x299f05[_0xed9a6c(0x1ed)+'t'],_0xed9a6c(0x18a)),0x0);if(_0x49c266>_0x48d841)throw new Error(_0xed9a6c(0x1cc)+_0xed9a6c(0x1f5)+_0x383aa[_0xed9a6c(0x22d)](_0x48d841/0x400,0x400)+('MB까지\x20허용됩니다'+'.'));const _0x375f8c=await this[_0xed9a6c(0x1a6)+_0xed9a6c(0x21f)+'eFiles'](_0x29b855),_0x30679b=0x64*0x400*0x400;if(_0x383aa[_0xed9a6c(0x17b)](_0x375f8c[_0xed9a6c(0x152)],_0x30679b))throw new Error(_0xed9a6c(0x1aa)+_0xed9a6c(0x1e4)+'대\x20'+_0x30679b/0x400/0x400+(_0xed9a6c(0x190)+'.'));const _0x5c4855=Date[_0xed9a6c(0x18c)](),_0x35907d=_0x28165e?this['sanitizeFi'+'leName'](_0x28165e,_0xed9a6c(0x1ea)):_0xed9a6c(0x16c)+_0xed9a6c(0x13e)+_0x5c4855+_0xed9a6c(0x1ea),_0x349944=_0xed9a6c(0x147)+_0x5c4855+'-'+_0x35907d;return await this['s3']['send'](new PutObjectCommand({'Bucket':this[_0xed9a6c(0x164)],'Key':_0x349944,'Body':_0x375f8c,'ContentType':_0xed9a6c(0x214)+_0xed9a6c(0x218)})),logger['info']('다중\x20파일\x20업로드\x20'+_0xed9a6c(0x1e3)+_0x349944+'\x20('+_0x69a5d7[_0xed9a6c(0x152)]+'개\x20파일)'),{'success':!![],'key':_0x349944,'url':this[_0xed9a6c(0x16f)+'tUrl'](_0x349944)};}catch(_0xe79845){logger[_0xed9a6c(0x1ac)](_0xed9a6c(0x1d1)+_0xed9a6c(0x1b6),_0xe79845);const _0x362a75={};return _0x362a75[_0xed9a6c(0x20e)]=![],_0x362a75[_0xed9a6c(0x1ac)]=_0xe79845 instanceof Error?_0xe79845[_0xed9a6c(0x189)]:_0xed9a6c(0x224)+_0xed9a6c(0x160),_0x362a75;}}[a29_0x1b55b2(0x1db)+'leName'](_0xda8aca,_0x5d4989){const _0x150e97=a29_0x1b55b2;if(!_0xda8aca||_0xda8aca[_0x150e97(0x203)]()[_0x150e97(0x152)]===0x0)return _0x150e97(0x1fa)+Date[_0x150e97(0x18c)]()+(_0x5d4989||'');let _0x3618bd=_0xda8aca[_0x150e97(0x15b)](/\.\./g,'')[_0x150e97(0x15b)](/[\/\\]/g,'_')[_0x150e97(0x15b)](/^[\/\\]+/,'')['trim']();_0x3618bd=_0x3618bd['replace'](/[<>:"|?*\x00-\x1f]/g,'_');if(_0x3618bd['length']>0xff){if(_0x150e97(0x169)===_0x150e97(0x169)){const _0x4085ce=_0x3618bd['match'](/\.([^.]+)$/),_0x49b6f5=_0x4085ce?'.'+_0x4085ce[0x1]:'',_0x48f94c=_0x3618bd['slice'](0x0,_0x3618bd['length']-_0x49b6f5[_0x150e97(0x152)]);_0x3618bd=_0x48f94c['slice'](0x0,0xff-_0x49b6f5['length'])+_0x49b6f5;}else{if(this[_0x150e97(0x19e)]){const _0x10b88=this[_0x150e97(0x19e)][_0x150e97(0x15b)](/\/$/,'');return _0x10b88+'/'+this[_0x150e97(0x164)]+'/'+_0x5c9f5f;}return'https://'+this[_0x150e97(0x164)]+_0x150e97(0x19c)+this['region']+('.amazonaws'+'.com/')+_0x52b370;}}if(_0x5d4989&&!_0x3618bd[_0x150e97(0x165)](_0x5d4989)){const _0x666d56=_0x3618bd[_0x150e97(0x14d)](/\.[^.]+$/)?.[0x0];!_0x666d56&&(_0x3618bd+=_0x5d4989);}return _0x3618bd||'file_'+Date[_0x150e97(0x18c)]()+(_0x5d4989||'');}async[a29_0x1b55b2(0x1a6)+a29_0x1b55b2(0x21f)+a29_0x1b55b2(0x19b)](_0x263bf2){const _0x242e4d=await import('archiver');return new Promise((_0x27431f,_0xa6df0e)=>{const _0x20a8de=a29_0x5d55,_0x4bf1c8=[],_0xa01f54={};_0xa01f54[_0x20a8de(0x202)]=0x9;const _0x23a108={};_0x23a108[_0x20a8de(0x1a7)]=_0xa01f54;const _0x306ee6=_0x242e4d['default'](_0x20a8de(0x1f4),_0x23a108);_0x306ee6['on']('data',_0x3ddb14=>_0x4bf1c8[_0x20a8de(0x194)](_0x3ddb14)),_0x306ee6['on'](_0x20a8de(0x1f3),()=>_0x27431f(Buffer[_0x20a8de(0x15f)](_0x4bf1c8))),_0x306ee6['on'](_0x20a8de(0x1ac),_0xa6df0e);for(const _0x196ea5 of _0x263bf2){_0x306ee6[_0x20a8de(0x14b)](_0x196ea5[_0x20a8de(0x1ed)+'t'],{'name':_0x196ea5[_0x20a8de(0x167)]});}_0x306ee6[_0x20a8de(0x1a0)]();});}async['uploadFile'+a29_0x1b55b2(0x1fc)](_0x6b9651,_0x34fec4){const _0x22d527=a29_0x1b55b2;try{const _0x4d44d0=await import('fs'),_0x4d937d=await import('path');if(!_0x6b9651||_0x6b9651[_0x22d527(0x152)]===0x0)throw new Error('업로드할\x20파일이\x20없'+_0x22d527(0x162));const _0x1941d9=[],_0x384268=[];for(const _0x5dbaf5 of _0x6b9651){try{const _0x1ae24d=_0x4d937d['default'][_0x22d527(0x204)](_0x5dbaf5)?_0x5dbaf5:_0x4d937d[_0x22d527(0x22f)]['resolve'](process[_0x22d527(0x222)](),_0x5dbaf5);if(!_0x4d44d0[_0x22d527(0x18e)](_0x1ae24d)){_0x384268[_0x22d527(0x194)]('파일을\x20찾을\x20수\x20없'+_0x22d527(0x1b1)+_0x5dbaf5);continue;}const _0x166fe8=_0x4d44d0[_0x22d527(0x1df)](_0x1ae24d);if(!_0x166fe8[_0x22d527(0x1cb)]()){_0x384268[_0x22d527(0x194)](_0x22d527(0x1ef)+_0x5dbaf5);continue;}_0x1941d9[_0x22d527(0x194)](_0x1ae24d);}catch(_0x29af22){_0x384268[_0x22d527(0x194)]('파일\x20검증\x20실패:\x20'+_0x5dbaf5+_0x22d527(0x1d4)+(_0x29af22 instanceof Error?_0x29af22[_0x22d527(0x189)]:_0x22d527(0x224)+_0x22d527(0x160)));}}if(_0x1941d9[_0x22d527(0x152)]===0x0)throw new Error(_0x22d527(0x1ff)+'니다:\x0a'+_0x384268['join']('\x0a'));_0x384268[_0x22d527(0x152)]>0x0&&logger[_0x22d527(0x1f8)](_0x384268['length']+(_0x22d527(0x185)+'습니다:\x0a')+_0x384268['join']('\x0a'));const _0x488c9a=await this[_0x22d527(0x1a6)+_0x22d527(0x21b)+'hs'](_0x1941d9),_0x3eb044=0x64*0x400*0x400;if(_0x488c9a['length']>_0x3eb044)throw new Error(_0x22d527(0x1aa)+'\x20너무\x20큽니다.\x20최'+'대\x20'+_0x3eb044/0x400/0x400+(_0x22d527(0x190)+'.'));const _0x487e40=Date[_0x22d527(0x18c)](),_0x547c52=_0x34fec4?this[_0x22d527(0x1db)+_0x22d527(0x1e8)](_0x34fec4,_0x22d527(0x1ea)):_0x22d527(0x16c)+_0x22d527(0x13e)+_0x487e40+_0x22d527(0x1ea),_0x351243=_0x22d527(0x147)+_0x487e40+'-'+_0x547c52;return await this['s3']['send'](new PutObjectCommand({'Bucket':this[_0x22d527(0x164)],'Key':_0x351243,'Body':_0x488c9a,'ContentType':_0x22d527(0x214)+_0x22d527(0x218)})),logger[_0x22d527(0x1a1)](_0x22d527(0x14e)+_0x22d527(0x19d)+_0x351243+'\x20('+_0x1941d9[_0x22d527(0x152)]+_0x22d527(0x15d)),{'success':!![],'key':_0x351243,'url':this[_0x22d527(0x16f)+_0x22d527(0x216)](_0x351243)};}catch(_0x145067){logger['error'](_0x22d527(0x230)+_0x22d527(0x229)+':',_0x145067);const _0xfa545e={};return _0xfa545e['success']=![],_0xfa545e['error']=_0x145067 instanceof Error?_0x145067[_0x22d527(0x189)]:_0x22d527(0x224)+_0x22d527(0x160),_0xfa545e;}}async[a29_0x1b55b2(0x1a6)+a29_0x1b55b2(0x21b)+'hs'](_0x15e405){const _0x4c9e7b=a29_0x1b55b2,_0x48d9a6=await import(_0x4c9e7b(0x16b)),_0x2d545a=await import('fs'),_0x55e49c=await import(_0x4c9e7b(0x1bd));return new Promise((_0x219d97,_0x3f1df3)=>{const _0x37d636=_0x4c9e7b,_0x49e161={};_0x49e161[_0x37d636(0x1d5)]=function(_0x36de40,_0x267f28){return _0x36de40===_0x267f28;},_0x49e161[_0x37d636(0x175)]=function(_0x27e9c5,_0x34b902){return _0x27e9c5<_0x34b902;},_0x49e161[_0x37d636(0x199)]='error',_0x49e161[_0x37d636(0x225)]='close';const _0x4ffd91=_0x49e161,_0x159a54=[],_0x4063a0={};_0x4063a0['level']=0x9;const _0x2ebcab={};_0x2ebcab['zlib']=_0x4063a0;const _0x5117be=_0x48d9a6[_0x37d636(0x22f)](_0x37d636(0x1f4),_0x2ebcab);_0x5117be['on'](_0x37d636(0x1e0),_0x2b42da=>_0x159a54['push'](_0x2b42da)),_0x5117be['on'](_0x37d636(0x1f3),()=>_0x219d97(Buffer[_0x37d636(0x15f)](_0x159a54))),_0x5117be['on'](_0x37d636(0x1ac),_0x3f1df3);const _0x270ba5=0x14;let _0x3d3077=0x0,_0x1f4fcf=0x0,_0x5c1e9d=![];const _0x2b94d9=()=>{const _0x54643a=_0x37d636;if(_0x5c1e9d||_0x3d3077>=_0x15e405[_0x54643a(0x152)]){_0x4ffd91[_0x54643a(0x1d5)](_0x1f4fcf,0x0)&&_0x3d3077>=_0x15e405['length']&&_0x5117be[_0x54643a(0x1a0)]();return;}while(_0x1f4fcf<_0x270ba5&&_0x4ffd91[_0x54643a(0x175)](_0x3d3077,_0x15e405['length'])){const _0xcd2bf4=_0x15e405[_0x3d3077++];_0x1f4fcf++;try{const _0x2b7904=_0x55e49c[_0x54643a(0x22f)][_0x54643a(0x1ce)](_0xcd2bf4),_0x25afbb=this[_0x54643a(0x1db)+_0x54643a(0x1e8)](_0x2b7904),_0x25511c=_0x2d545a[_0x54643a(0x1eb)+_0x54643a(0x15c)](_0xcd2bf4);_0x25511c['on'](_0x4ffd91[_0x54643a(0x199)],_0x2c7296=>{const _0x16da44=_0x54643a;_0x1f4fcf--,logger['warn'](_0x16da44(0x15a)+_0x16da44(0x1b4)+_0xcd2bf4,_0x2c7296),_0x2b94d9();}),_0x25511c['on'](_0x4ffd91[_0x54643a(0x225)],()=>{_0x1f4fcf--,_0x2b94d9();});const _0x210975={};_0x210975[_0x54643a(0x1b0)]=_0x25afbb,_0x5117be['append'](_0x25511c,_0x210975);}catch(_0x5e3137){_0x1f4fcf--,logger[_0x54643a(0x1ac)](_0x54643a(0x21a)+_0x54643a(0x1c9)+_0xcd2bf4,_0x5e3137),_0x2b94d9();}}};_0x2b94d9(),_0x5117be['on'](_0x37d636(0x1ac),()=>{_0x5c1e9d=!![];});});}async[a29_0x1b55b2(0x1e7)+a29_0x1b55b2(0x1a9)](_0x215362,_0x21ac38){const _0x4b74f3=a29_0x1b55b2,_0x5cf50d={};_0x5cf50d[_0x4b74f3(0x205)]=_0x4b74f3(0x1ea);const _0x1c79a6=_0x5cf50d;try{const _0x3931af=await import('fs'),_0x51ddb9=await import(_0x4b74f3(0x1bd)),_0x59046b=_0x51ddb9[_0x4b74f3(0x22f)][_0x4b74f3(0x204)](_0x215362)?_0x215362:_0x51ddb9['default'][_0x4b74f3(0x149)](process[_0x4b74f3(0x222)](),_0x215362);if(!_0x3931af[_0x4b74f3(0x18e)](_0x59046b))throw new Error(_0x4b74f3(0x20a)+_0x4b74f3(0x1f6)+_0x215362);const _0x49fc73=_0x3931af[_0x4b74f3(0x1df)](_0x59046b);if(!_0x49fc73['isFile']())throw new Error('ZIP\x20파일이\x20아닙'+'니다:\x20'+_0x215362);const _0x5051eb=_0x49fc73[_0x4b74f3(0x22c)],_0x523149=0xc8*0x400*0x400;if(_0x5051eb>_0x523149)throw new Error(_0x4b74f3(0x1d9)+_0x4b74f3(0x1e4)+'대\x20'+_0x523149/0x400/0x400+(_0x4b74f3(0x190)+'.'));const _0x57e6c2=_0x3931af[_0x4b74f3(0x1eb)+_0x4b74f3(0x15c)](_0x59046b),_0x2d4bb7=[];for await(const _0xa832a1 of _0x57e6c2){_0x2d4bb7['push'](_0xa832a1);}const _0x6151d5=Buffer[_0x4b74f3(0x15f)](_0x2d4bb7),_0x32cf63=Date[_0x4b74f3(0x18c)](),_0x209b97=_0x51ddb9[_0x4b74f3(0x22f)][_0x4b74f3(0x1ce)](_0x59046b),_0x2c7654=this[_0x4b74f3(0x1db)+'leName'](_0x209b97,_0x1c79a6['LMDpl']),_0x35f46a=_0x21ac38||_0x4b74f3(0x147)+_0x32cf63+'-'+_0x2c7654;return await this['s3'][_0x4b74f3(0x220)](new PutObjectCommand({'Bucket':this[_0x4b74f3(0x164)],'Key':_0x35f46a,'Body':_0x6151d5,'ContentType':_0x4b74f3(0x214)+_0x4b74f3(0x218)})),logger[_0x4b74f3(0x1a1)](_0x4b74f3(0x1ee)+_0x4b74f3(0x159)+_0x35f46a+'\x20('+(_0x5051eb/0x400)[_0x4b74f3(0x1d3)](0x2)+_0x4b74f3(0x191)),{'success':!![],'key':_0x35f46a,'url':this[_0x4b74f3(0x16f)+'tUrl'](_0x35f46a)};}catch(_0x261a13){logger[_0x4b74f3(0x1ac)](_0x4b74f3(0x18d)+_0x4b74f3(0x1e5),_0x261a13);const _0x567cb3={};return _0x567cb3[_0x4b74f3(0x20e)]=![],_0x567cb3[_0x4b74f3(0x1ac)]=_0x261a13 instanceof Error?_0x261a13['message']:_0x4b74f3(0x224)+_0x4b74f3(0x160),_0x567cb3;}}async['uploadFold'+'erAsZip'](_0x375c9c,_0x3ed5bc){const _0x35fffe=a29_0x1b55b2,_0x5ec96e={};_0x5ec96e[_0x35fffe(0x20d)]=function(_0x1ed443,_0x55bc62){return _0x1ed443/_0x55bc62;},_0x5ec96e[_0x35fffe(0x1cd)]=_0x35fffe(0x214)+_0x35fffe(0x218);const _0x17d443=_0x5ec96e;try{const _0x22701f=await import('fs'),_0x2d8bf2=await import(_0x35fffe(0x1bd)),_0x40d9c1=_0x2d8bf2[_0x35fffe(0x22f)][_0x35fffe(0x204)](_0x375c9c)?_0x375c9c:_0x2d8bf2['default'][_0x35fffe(0x149)](process[_0x35fffe(0x222)](),_0x375c9c);if(!_0x22701f[_0x35fffe(0x18e)](_0x40d9c1))throw new Error(_0x35fffe(0x157)+_0x35fffe(0x1b1)+_0x375c9c);const _0x3f8213=_0x22701f[_0x35fffe(0x1df)](_0x40d9c1);if(!_0x3f8213['isDirector'+'y']())throw new Error(_0x35fffe(0x20c)+_0x375c9c);const _0x2ad816=await this['createZipF'+_0x35fffe(0x206)](_0x40d9c1),{buffer:_0xe4d4b1,skippedFolders:_0x91ff65}=_0x2ad816;_0x91ff65[_0x35fffe(0x152)]>0x0&&logger[_0x35fffe(0x1a1)](_0x35fffe(0x1ba)+_0x91ff65[_0x35fffe(0x152)]+_0x35fffe(0x1e6)+_0x91ff65[_0x35fffe(0x1f2)](',\x20'));const _0x40c4a3=0xc8*0x400*0x400;if(_0xe4d4b1['length']>_0x40c4a3)throw new Error(_0x35fffe(0x1aa)+'\x20너무\x20큽니다.\x20최'+'대\x20'+_0x17d443[_0x35fffe(0x20d)](_0x40c4a3/0x400,0x400)+('MB까지\x20허용됩니다'+'.'));const _0x5adebc=Date[_0x35fffe(0x18c)](),_0xb79087=_0x2d8bf2[_0x35fffe(0x22f)][_0x35fffe(0x1ce)](_0x40d9c1),_0x52c9e3=_0x3ed5bc?this['sanitizeFi'+'leName'](_0x3ed5bc,_0x35fffe(0x1ea)):_0xb79087+'-'+_0x5adebc+'.zip',_0x5c0048=_0x35fffe(0x147)+_0x5adebc+'-'+_0x52c9e3;return await this['s3'][_0x35fffe(0x220)](new PutObjectCommand({'Bucket':this[_0x35fffe(0x164)],'Key':_0x5c0048,'Body':_0xe4d4b1,'ContentType':_0x17d443[_0x35fffe(0x1cd)]})),logger[_0x35fffe(0x1a1)](_0x35fffe(0x232)+_0x35fffe(0x1e3)+_0x5c0048+'\x20('+(_0xe4d4b1[_0x35fffe(0x152)]/0x400)[_0x35fffe(0x1d3)](0x2)+_0x35fffe(0x191)),{'success':!![],'key':_0x5c0048,'url':this[_0x35fffe(0x16f)+_0x35fffe(0x216)](_0x5c0048),'skippedFolders':_0x91ff65['length']>0x0?_0x91ff65:undefined};}catch(_0x558c27){logger['error'](_0x35fffe(0x17a)+'\x20업로드\x20실패:',_0x558c27);const _0x42e4e3={};return _0x42e4e3[_0x35fffe(0x20e)]=![],_0x42e4e3['error']=_0x558c27 instanceof Error?_0x558c27['message']:'Unknown\x20er'+_0x35fffe(0x160),_0x42e4e3;}}async[a29_0x1b55b2(0x1a6)+a29_0x1b55b2(0x206)](_0x3ad117){const _0x40c9eb=a29_0x1b55b2,_0x576b99={'wuAWN':'VfkxG','tGzLg':function(_0x3a0700){return _0x3a0700();}},_0x4b3a90=await import(_0x40c9eb(0x16b)),_0x57a79f=await import('fs'),_0x2cab4d=await import(_0x40c9eb(0x1bd));return new Promise((_0x2c4dd8,_0xe0a800)=>{const _0x197be0=_0x40c9eb,_0x99c446=[],_0x542d09={};_0x542d09['level']=0x9;const _0x26ae9e={};_0x26ae9e[_0x197be0(0x1a7)]=_0x542d09;const _0x396d2f=_0x4b3a90['default']('zip',_0x26ae9e);_0x396d2f['on']('data',_0x57a161=>_0x99c446[_0x197be0(0x194)](_0x57a161)),_0x396d2f['on'](_0x197be0(0x1f3),()=>_0x2c4dd8({'buffer':Buffer['concat'](_0x99c446),'skippedFolders':_0x1a3c6d})),_0x396d2f['on']('error',_0xe0a800);const _0x560fe0=0x32,_0x1b2db2=new Set(),_0x1a3c6d=[],_0x437032=(_0x5ca30f,_0x37582f)=>{const _0x5d0f37=_0x197be0;try{const _0x42be66=_0x2cab4d[_0x5d0f37(0x149)](_0x5ca30f),_0x6a55c0=_0x2cab4d['resolve'](_0x37582f);if(!_0x42be66['startsWith'](_0x6a55c0+_0x2cab4d[_0x5d0f37(0x1a3)])&&_0x42be66!==_0x6a55c0)return logger['warn'](_0x5d0f37(0x1dc)+_0x5d0f37(0x226)+'뜀):\x20'+_0x5ca30f),null;return _0x42be66;}catch(_0x287783){return logger['warn'](_0x5d0f37(0x1a8)+_0x5d0f37(0x1b4)+_0x5ca30f,_0x287783),null;}};let _0x1db88e=0x0;const _0x42593a=0x3e8,_0x53e1ef=0x64*0x400*0x400;let _0x1ccd13=0x0;const _0x245712=(_0x40354e,_0xac5921,_0x4a62ff=0x0)=>{const _0x1cb414=_0x197be0;if(_0x4a62ff>_0x560fe0){const _0x3f9eb1={};return _0x3f9eb1[_0x1cb414(0x1bc)]=0x0,_0x3f9eb1['totalSize']=0x0,_0x3f9eb1;}let _0x3899a9=0x0,_0x3e77b5=0x0;try{const _0x590781=_0x437032(_0x40354e,_0xac5921);if(!_0x590781){const _0x5eea9a={};return _0x5eea9a[_0x1cb414(0x1bc)]=0x0,_0x5eea9a[_0x1cb414(0x22b)]=0x0,_0x5eea9a;}const _0x2d10f2={};_0x2d10f2[_0x1cb414(0x19a)+'pes']=!![];const _0x36fb69=_0x57a79f[_0x1cb414(0x14c)+'c'](_0x590781,_0x2d10f2);for(const _0x3282d4 of _0x36fb69){if(_0x1cb414(0x170)!==_0x1cb414(0x154)){const _0x561701=_0x2cab4d[_0x1cb414(0x1f2)](_0x590781,_0x3282d4[_0x1cb414(0x1b0)]),_0x1176f0=_0x437032(_0x561701,_0xac5921);if(!_0x1176f0)continue;try{const _0x29c598=_0x57a79f[_0x1cb414(0x21c)](_0x1176f0);if(_0x29c598[_0x1cb414(0x201)+_0x1cb414(0x231)]())continue;const _0x181648=_0x57a79f[_0x1cb414(0x1df)](_0x1176f0);if(_0x181648['isDirector'+'y']()){if(DEFAULT_EXCLUDE_FOLDERS[_0x1cb414(0x1be)](_0x3282d4[_0x1cb414(0x1b0)])){const _0x23bcc9=_0x2cab4d['relative'](_0xac5921,_0x1176f0);!_0x1a3c6d[_0x1cb414(0x1be)](_0x23bcc9)&&_0x1a3c6d[_0x1cb414(0x194)](_0x23bcc9);continue;}const _0x3cbf18=_0x245712(_0x1176f0,_0xac5921,_0x4a62ff+0x1);_0x3899a9+=_0x3cbf18[_0x1cb414(0x1bc)],_0x3e77b5+=_0x3cbf18[_0x1cb414(0x22b)];}else{if(_0x181648['isFile']()){_0x3899a9++,_0x3e77b5+=_0x181648['size'];if(_0x3899a9>_0x42593a||_0x3e77b5>_0x53e1ef){const _0x4f590d={};return _0x4f590d['fileCount']=_0x3899a9,_0x4f590d[_0x1cb414(0x22b)]=_0x3e77b5,_0x4f590d;}}}}catch(_0x4251ec){logger[_0x1cb414(0x1f8)]('개별\x20항목\x20처리\x20중'+_0x1cb414(0x1b7),_0x4251ec);}}else{const _0x176c49={'GMFNL':function(_0x3d8cc3){return _0x3d8cc3();}},_0x2f1a93=_0x5c9579[_0x1cb414(0x1eb)+_0x1cb414(0x15c)](_0x12a4f9[_0x1cb414(0x22e)]);_0x2f1a93['on'](_0x1cb414(0x1ac),_0x270d34=>{const _0x2edf51=_0x1cb414;_0xde0cea--,_0x3aa5b4[_0x2edf51(0x1f8)]('파일\x20스트림\x20오류\x20'+_0x2edf51(0x1b4)+_0x3bab4a['filePath'],_0x270d34),_0x176c49['GMFNL'](_0x2c5094);}),_0x2f1a93['on'](_0x1cb414(0x161),()=>{_0x441ca8--,_0x4b0f37();});const _0x3ce38f={};_0x3ce38f[_0x1cb414(0x1b0)]=_0x59851a[_0x1cb414(0x173)],_0x2f2fb9['append'](_0x2f1a93,_0x3ce38f);}}}catch(_0x460f49){logger[_0x1cb414(0x1f8)]('폴더\x20스캔\x20중\x20오류'+_0x1cb414(0x171),_0x460f49);}const _0x5c9af8={};return _0x5c9af8['fileCount']=_0x3899a9,_0x5c9af8[_0x1cb414(0x22b)]=_0x3e77b5,_0x5c9af8;},_0x51a3af=_0x2cab4d[_0x197be0(0x149)](_0x3ad117),_0x5db468=_0x245712(_0x3ad117,_0x51a3af);if(_0x5db468[_0x197be0(0x22b)]>_0x53e1ef){_0xe0a800(new Error(_0x197be0(0x1cc)+_0x197be0(0x1f5)+_0x53e1ef/0x400/0x400+(_0x197be0(0x190)+_0x197be0(0x1ca))+(_0x5db468[_0x197be0(0x22b)]/0x400/0x400)[_0x197be0(0x1d3)](0x2)+_0x197be0(0x1c4)));return;}const _0x975d67=[],_0xbaa291=(_0x1e9b64,_0x495d58,_0x579090=0x0)=>{const _0x500c5a=_0x197be0;if(_0x579090>_0x560fe0){logger[_0x500c5a(0x1f8)]('최대\x20디렉토리\x20깊이'+_0x500c5a(0x14f)+_0x560fe0+_0x500c5a(0x197)+_0x1e9b64);return;}try{const _0x3a5882=_0x437032(_0x1e9b64,_0x495d58);if(!_0x3a5882)return;const _0x5bd3eb={};_0x5bd3eb['withFileTy'+_0x500c5a(0x1ab)]=!![];const _0x587216=_0x57a79f[_0x500c5a(0x14c)+'c'](_0x3a5882,_0x5bd3eb);for(const _0x2cb576 of _0x587216){const _0x33d83d=_0x2cab4d[_0x500c5a(0x1f2)](_0x3a5882,_0x2cb576[_0x500c5a(0x1b0)]),_0x3f598f=_0x437032(_0x33d83d,_0x495d58);if(!_0x3f598f)continue;try{let _0x3b1163=_0x57a79f['lstatSync'](_0x3f598f);const _0x45c077=_0x3b1163[_0x500c5a(0x201)+_0x500c5a(0x231)]();if(_0x45c077){const _0x131e77=_0x57a79f[_0x500c5a(0x180)+'nc']['native'](_0x3f598f),_0x1aaea7=_0x437032(_0x131e77,_0x495d58);if(!_0x1aaea7){logger[_0x500c5a(0x1f8)](_0x500c5a(0x176)+'\x20폴더\x20밖을\x20가리킴'+_0x500c5a(0x213)+_0x33d83d+_0x500c5a(0x1a5)+_0x131e77);continue;}const _0x11247f=_0x3f598f+'->'+_0x1aaea7;if(_0x1b2db2[_0x500c5a(0x195)](_0x11247f)){logger[_0x500c5a(0x1f8)](_0x500c5a(0x1f9)+_0x500c5a(0x188)+_0x33d83d);continue;}_0x1b2db2[_0x500c5a(0x13c)](_0x11247f);try{_0x3b1163=_0x57a79f['statSync'](_0x1aaea7);}catch(_0x26b885){logger[_0x500c5a(0x1f8)](_0x500c5a(0x1d7)+_0x500c5a(0x17f)+_0x500c5a(0x197)+_0x33d83d,_0x26b885);continue;}}const _0x34e2f5=_0x3b1163;if(_0x34e2f5['isDirector'+'y']()){if(DEFAULT_EXCLUDE_FOLDERS[_0x500c5a(0x1be)](_0x2cb576['name']))continue;const _0x4e3ace=_0x45c077?_0x437032(_0x57a79f[_0x500c5a(0x180)+'nc']['native'](_0x3f598f),_0x495d58):_0x3f598f;_0x4e3ace&&_0xbaa291(_0x4e3ace,_0x495d58,_0x579090+0x1);}else{if(_0x34e2f5['isFile']()){const _0x56c98f=_0x45c077?_0x437032(_0x57a79f[_0x500c5a(0x180)+'nc'][_0x500c5a(0x183)](_0x3f598f),_0x495d58):_0x3f598f;if(_0x56c98f){const _0x565bbe=_0x2cab4d[_0x500c5a(0x1c2)](_0x495d58,_0x3f598f),_0x3eb927=_0x565bbe['replace'](/\\/g,'/'),_0x146ec8=this[_0x500c5a(0x1ec)+_0x500c5a(0x1bb)](_0x3eb927),_0x5b02a6={};_0x5b02a6['filePath']=_0x56c98f,_0x5b02a6[_0x500c5a(0x173)]=_0x146ec8,_0x975d67[_0x500c5a(0x194)](_0x5b02a6);}}}}catch(_0x429ce2){logger['warn'](_0x500c5a(0x198)+'패\x20(건너뜀):\x20'+_0x33d83d,_0x429ce2);}}}catch(_0x54e092){logger[_0x500c5a(0x1ac)](_0x500c5a(0x163)+_0x1e9b64,_0x54e092);}};_0xbaa291(_0x51a3af,_0x51a3af);const _0x54233a=0x14;let _0x33821e=0x0,_0x45cf00=0x0,_0x49d645=![];const _0x25bd1e=()=>{const _0xd32314=_0x197be0;if(_0x49d645||_0x33821e>=_0x975d67[_0xd32314(0x152)]){_0x45cf00===0x0&&_0x33821e>=_0x975d67[_0xd32314(0x152)]&&_0x396d2f['finalize']();return;}while(_0x45cf00<_0x54233a&&_0x33821e<_0x975d67[_0xd32314(0x152)]){const _0x51f30c=_0x975d67[_0x33821e++];_0x45cf00++;try{const _0x3d6790=_0x57a79f['createRead'+_0xd32314(0x15c)](_0x51f30c[_0xd32314(0x22e)]);_0x3d6790['on']('error',_0x5ae71d=>{const _0x25a25c=_0xd32314;_0x45cf00--,logger['warn'](_0x25a25c(0x15a)+_0x25a25c(0x1b4)+_0x51f30c[_0x25a25c(0x22e)],_0x5ae71d),_0x25bd1e();}),_0x3d6790['on'](_0xd32314(0x161),()=>{_0x45cf00--,_0x25bd1e();});const _0x53bbf6={};_0x53bbf6[_0xd32314(0x1b0)]=_0x51f30c[_0xd32314(0x173)],_0x396d2f['append'](_0x3d6790,_0x53bbf6);}catch(_0x1ecb02){_0xd32314(0x16a)!==_0x576b99[_0xd32314(0x208)]?(_0x24f02b--,_0x1c57b0[_0xd32314(0x1ac)](_0xd32314(0x21a)+_0xd32314(0x1c9)+_0x490fcd[_0xd32314(0x22e)],_0x343a4b),_0x5f553d()):(_0x45cf00--,logger[_0xd32314(0x1ac)](_0xd32314(0x21a)+_0xd32314(0x1c9)+_0x51f30c[_0xd32314(0x22e)],_0x1ecb02),_0x25bd1e());}}};_0x576b99[_0x197be0(0x1d2)](_0x25bd1e),_0x396d2f['on'](_0x197be0(0x1ac),()=>{_0x49d645=!![];});});}[a29_0x1b55b2(0x1ec)+a29_0x1b55b2(0x1bb)](_0x2b9f23){const _0x4900b9=a29_0x1b55b2;if(!_0x2b9f23||_0x2b9f23[_0x4900b9(0x203)]()[_0x4900b9(0x152)]===0x0)return _0x4900b9(0x1fa)+Date['now']();let _0x4c4c0c=_0x2b9f23[_0x4900b9(0x15b)](/\.\./g,'')[_0x4900b9(0x15b)](/^[\/\\]+/,'')['trim']();_0x4c4c0c=_0x4c4c0c[_0x4900b9(0x15b)](/\\/g,'/'),_0x4c4c0c=_0x4c4c0c['replace'](/[<>:"|?*\x00-\x1f]/g,'_');if(_0x4c4c0c['length']>0x1f4){const _0xb35783=_0x4c4c0c[_0x4900b9(0x1de)]('/'),_0x318a5b=_0xb35783[_0xb35783[_0x4900b9(0x152)]-0x1];_0x4c4c0c=_0xb35783[_0x4900b9(0x156)](0x0,-0x1)[_0x4900b9(0x1f2)]('/')[_0x4900b9(0x156)](0x0,0x1f4-_0x318a5b[_0x4900b9(0x152)])+'/'+_0x318a5b;}return _0x4c4c0c||_0x4900b9(0x1fa)+Date[_0x4900b9(0x18c)]();}async[a29_0x1b55b2(0x18f)+'le'](_0x3fdb76){const _0x2a8a2d=a29_0x1b55b2;try{if(_0x2a8a2d(0x1cf)!==_0x2a8a2d(0x22a)){const _0x46535f=await this['s3'][_0x2a8a2d(0x220)](new GetObjectCommand({'Bucket':this[_0x2a8a2d(0x164)],'Key':_0x3fdb76}));if(!_0x46535f[_0x2a8a2d(0x153)])throw new Error(_0x2a8a2d(0x1f0)+_0x2a8a2d(0x1c3));const _0x41875e=[];for await(const _0x5f1e15 of _0x46535f[_0x2a8a2d(0x153)]){_0x41875e['push'](_0x5f1e15);}const _0x1fc432=Buffer[_0x2a8a2d(0x15f)](_0x41875e),_0x465661=_0x1fc432[_0x2a8a2d(0x1e1)]('utf-8');logger[_0x2a8a2d(0x1a1)](_0x2a8a2d(0x18b)+':\x20'+_0x3fdb76);const _0x271d8d={};return _0x271d8d[_0x2a8a2d(0x20e)]=!![],_0x271d8d[_0x2a8a2d(0x196)]=_0x465661,_0x271d8d;}else{const _0x34d3fc=_0x139a60?_0x430b02(_0x1fff34[_0x2a8a2d(0x180)+'nc'][_0x2a8a2d(0x183)](_0x5f39d0),_0x53d351):_0x7ddd69;if(_0x34d3fc){const _0x533fcb=_0x3e5698[_0x2a8a2d(0x1c2)](_0x20b8df,_0x19e6f0),_0x5306e3=_0x533fcb[_0x2a8a2d(0x15b)](/\\/g,'/'),_0x37ea5e=this['sanitizePa'+_0x2a8a2d(0x1bb)](_0x5306e3),_0x69ac63={};_0x69ac63['filePath']=_0x34d3fc,_0x69ac63[_0x2a8a2d(0x173)]=_0x37ea5e,_0x4fa733[_0x2a8a2d(0x194)](_0x69ac63);}}}catch(_0x52e54a){logger['error'](_0x2a8a2d(0x16e)+':',_0x52e54a);const _0x127a10={};return _0x127a10[_0x2a8a2d(0x20e)]=![],_0x127a10['error']=_0x52e54a instanceof Error?_0x52e54a['message']:_0x2a8a2d(0x224)+_0x2a8a2d(0x160),_0x127a10;}}[a29_0x1b55b2(0x16f)+a29_0x1b55b2(0x216)](_0x212ac8){const _0x4eef04=a29_0x1b55b2;if(this[_0x4eef04(0x19e)]){const _0x1305ff=this[_0x4eef04(0x19e)][_0x4eef04(0x15b)](/\/$/,'');return _0x1305ff+'/'+this[_0x4eef04(0x164)]+'/'+_0x212ac8;}return'https://'+this['bucket']+_0x4eef04(0x19c)+this[_0x4eef04(0x1d6)]+(_0x4eef04(0x141)+_0x4eef04(0x1e9))+_0x212ac8;}}
1
+ const a29_0x44acdd=a29_0x4b5f;(function(_0x2fb319,_0x5762f9){const _0x212497=a29_0x4b5f,_0x5d5a91=_0x2fb319();while(!![]){try{const _0x1aca69=parseInt(_0x212497(0xdf))/0x1+parseInt(_0x212497(0xdd))/0x2*(-parseInt(_0x212497(0x18b))/0x3)+-parseInt(_0x212497(0xf2))/0x4*(-parseInt(_0x212497(0xd6))/0x5)+parseInt(_0x212497(0x197))/0x6*(parseInt(_0x212497(0x1b2))/0x7)+parseInt(_0x212497(0x169))/0x8+parseInt(_0x212497(0x1b4))/0x9+parseInt(_0x212497(0x105))/0xa*(-parseInt(_0x212497(0x1c6))/0xb);if(_0x1aca69===_0x5762f9)break;else _0x5d5a91['push'](_0x5d5a91['shift']());}catch(_0x5cfecd){_0x5d5a91['push'](_0x5d5a91['shift']());}}}(a29_0x279b,0xaf762));const a29_0x27a53a=(function(){let _0x390594=!![];return function(_0x238cdf,_0x43ff42){const _0xb2d5ce=a29_0x4b5f;if('oVgsn'===_0xb2d5ce(0x1a9)){const _0x263950=_0x390594?function(){const _0x3d6187=_0xb2d5ce;if(_0x43ff42){const _0x58d4e4=_0x43ff42[_0x3d6187(0x117)](_0x238cdf,arguments);return _0x43ff42=null,_0x58d4e4;}}:function(){};return _0x390594=![],_0x263950;}else throw new _0xf1c409('ZIP\x20파일을\x20찾을'+'\x20수\x20없습니다:\x20'+_0x106099);};}()),a29_0x29ae96=a29_0x27a53a(this,function(){const _0x3de923=a29_0x4b5f,_0x95dd6e={};_0x95dd6e['NyQld']='(((.+)+)+)'+'+$';const _0x309f5f=_0x95dd6e;return a29_0x29ae96[_0x3de923(0xf1)]()[_0x3de923(0x1b0)](_0x309f5f[_0x3de923(0x14a)])[_0x3de923(0xf1)]()['constructo'+'r'](a29_0x29ae96)['search'](_0x3de923(0xe6)+'+$');});function a29_0x279b(){const _0x5be6fa=['\x20수\x20없습니다:\x20','로드\x20성공:\x20','byteLength','close','ZIP\x20파일을\x20찾을','utf8','HjTVx','concat','multiple-f','폴더\x20압축\x20스토리지','coverage','build','fileCount','):\x20','body','https://','.git','push','개별\x20항목\x20처리\x20중','slice','applicatio','MuuIL','node_modul','개\x20파일)','edBucket','11115624wqUpHX','secretAcce','파일\x20스트림\x20오류\x20','\x20(건너뜀):\x20','endsWith','existsSync','eFiles','isDirector','Stream','\x20폴더\x20밖을\x20가리킴','vmEkr','sanitizeFi','svXka','trim','error','다중\x20파일\x20업로드\x20','createRead','스토리지\x20파일\x20업로','input/','message','니다:\x0a','패:\x20','data','info','파일\x20정보\x20조회\x20실','totalSize','resolve','FiEbG','총\x20파일\x20크기가\x20너','ssKey','최대\x20디렉토리\x20깊이','W1dZRgF/PA','\x20무시:','isFile','771trQBhD','ZIP\x20파일\x20크기가','warn','실패:','Jn4eEwgeMz','sFromPaths','\x20성공:\x20','파일\x20업로드\x20성공:','dist','pes','endpoint','.hg','6957030HcTSqH','kbaEF','fileConten','ROjmM','finalize','match','accessKeyI','밖으로\x20나감\x20(건너','level','\x20KB)','thInZip','\x20기반\x20업로드\x20실패','\x20->\x20','\x20너무\x20큽니다.\x20최','RYpYw','now','심볼릭\x20링크가\x20기준','Body','oVgsn','습니다:\x0a','ror','PF07LggYMS','us-east-1','.idea','zipPath','search','buildObjec','7ikaDDM','isAbsolute','11130840uoXYXv','용이\x20비어있습니다','uploadFile','has','폴더를\x20찾을\x20수\x20없','path','aZYKK','호화\x20실패','.vscode','edAccessKe','length','lstatSync','append','downloadFi','name','startsWith','ap-northea','.com/','11AhMAOO','.\x20(발견:\x20','sep','Z8Rw==','getDecrypt','스토리지\x20Acces','reduce','onents','uploadFold','파일\x20다운로드\x20실패','readdirSyn','iles-','개\x20파일을\x20건너뛰었','join','Unknown\x20er','aRMpg','ZYTDc1ICIq','106310mQDdeB','KIAFk','statSync','유효한\x20파일이\x20없습','.amazonaws','\x20(에러\x20코드:\x20','Secret\x20Acc','4426YxoJUD','leName','577813UfLClx','utf-8','폴더가\x20아닙니다:\x20','BYmJh','default','.svn','n/zip','(((.+)+)+)','$response','제외된\x20폴더\x20(','심볼릭\x20링크\x20대상\x20','bin','add','경로\x20정규화\x20실패\x20','bhycY','파일\x20압축\x20추가\x20실','end','Message','toString','176ZocPLd','send','접근\x20실패\x20(건너뜀','스토리지\x20다중\x20파일','file_','WnsEX','size','\x20업로드\x20실패:','includes','isSymbolic','target','Code','Link','cwd','HRknHVVUYw','ess\x20Key\x20복호','파일이\x20아닙니다:\x20','지\x20업로드\x20실패:','obj','40116280cgxcIT','s\x20Key\x20ID\x20복','습니다:\x20','\x20-\x20','성공:\x20','니다:\x20','폴더\x20압축\x20업로드\x20','tUrl','zip','sanitizePa','압축된\x20파일\x20크기가','.s3.','ey\x20복호화\x20실패','습니다.','t\x20Access\x20K','edSecretKe','ZIP\x20파일\x20스토리','xdJVA','apply','filePath','uploadZipF','fileName','romFolder','WQJwd','native','개):\x20','content','region','createZipF','FDDhEJ','MB)','무\x20큽니다.\x20최대\x20','스토리지\x20컨테이너\x20','폴더\x20탐색\x20실패:\x20','업로드할\x20파일이\x20없','.gradle','이름\x20복호화\x20실패','MB까지\x20허용됩니다','realpathSy','기화\x20완료:\x20리전=','zlib','archiver','romFilePat','replace','romMultipl','hDJCR','ipleFiles','순환\x20심볼릭\x20링크\x20','폴더\x20스캔\x20중\x20오류','스토리지\x20Secre','ZIP\x20파일\x20업로드','tVufC','.cache','kBFky','뜀):\x20','bucket','ile','파일을\x20찾을\x20수\x20없','success','PtPne','quMPm','에\x20도달했습니다\x20(','.zip','스토리지\x20파일\x20경로','mlLzb','버킷\x20이름\x20복호화\x20','ZIP\x20파일이\x20아닙','ikKQQ','ZGh/Ygc=','NyQld','relative','map','KKPJB','파일\x20경로\x20기반\x20업','S3\x20클라이언트\x20초'];a29_0x279b=function(){return _0x5be6fa;};return a29_0x279b();}a29_0x29ae96();import{S3Client,PutObjectCommand,GetObjectCommand}from'@aws-sdk/client-s3';import{appConfig}from'../config/appConfig.js';import{logger}from'../utils/logger.js';function a29_0x4b5f(_0x459bc4,_0x5779d2){_0x459bc4=_0x459bc4-0xd1;const _0x4e55e4=a29_0x279b();let _0x29ae96=_0x4e55e4[_0x459bc4];return _0x29ae96;}import{decryptInternal}from'../utils/crypto.util.js';const ENCRYPTED_ACCESS_KEY_ID='EngWClY3G3'+'JaKD4uJUEZ'+a29_0x44acdd(0x149),ENCRYPTED_SECRET_ACCESS_KEY=a29_0x44acdd(0x18f)+a29_0x44acdd(0xd5)+a29_0x44acdd(0x188)+'A1PA0SHi0K'+a29_0x44acdd(0x100)+a29_0x44acdd(0x1c9),ENCRYPTED_BUCKET_NAME=a29_0x44acdd(0x1ac)+a29_0x44acdd(0x122),STORAGE_REGION_DEFAULT=a29_0x44acdd(0x1c4)+'st-2',DEFAULT_EXCLUDE_FOLDERS=[a29_0x44acdd(0x166)+'es',a29_0x44acdd(0x160),a29_0x44acdd(0x193),a29_0x44acdd(0x15b),'.next','out',a29_0x44acdd(0x15a),'__pycache_'+'_',a29_0x44acdd(0x139),a29_0x44acdd(0x1bc),a29_0x44acdd(0x1ae),'vendor','bower_comp'+a29_0x44acdd(0x1cd),a29_0x44acdd(0x128),a29_0x44acdd(0xfc),a29_0x44acdd(0xea),a29_0x44acdd(0x104),a29_0x44acdd(0xe4),a29_0x44acdd(0x196),'.DS_Store'];export class S3Service{[a29_0x44acdd(0x13c)];[a29_0x44acdd(0x120)];[a29_0x44acdd(0x19d)+'d'];[a29_0x44acdd(0x16a)+'ssKey'];[a29_0x44acdd(0x195)];['s3'];constructor(){const _0x4d5720=a29_0x44acdd;this[_0x4d5720(0x13c)]=appConfig['s3']['bucket']||this[_0x4d5720(0x1ca)+_0x4d5720(0x168)](),this[_0x4d5720(0x120)]=appConfig['s3'][_0x4d5720(0x120)]&&appConfig['s3']['region']!==_0x4d5720(0x1ad)?appConfig['s3'][_0x4d5720(0x120)]:STORAGE_REGION_DEFAULT,this[_0x4d5720(0x195)]=appConfig['s3'][_0x4d5720(0x195)],this['accessKeyI'+'d']=this[_0x4d5720(0x1ca)+_0x4d5720(0x1bd)+'y'](),this[_0x4d5720(0x16a)+'ssKey']=this[_0x4d5720(0x1ca)+_0x4d5720(0x114)+'y']();const _0x4bcf37=this[_0x4d5720(0x195)]||'https://s3'+'.'+this[_0x4d5720(0x120)]+(_0x4d5720(0xda)+'.com');this['s3']=new S3Client({'region':this[_0x4d5720(0x120)],'credentials':{'accessKeyId':this[_0x4d5720(0x19d)+'d'],'secretAccessKey':this['secretAcce'+_0x4d5720(0x186)]},'endpoint':_0x4bcf37,'forcePathStyle':!![]}),logger[_0x4d5720(0x180)](_0x4d5720(0x14f)+_0x4d5720(0x12c)+this['region']);}['getDecrypt'+a29_0x44acdd(0x1bd)+'y'](){const _0xb1b2ed=a29_0x44acdd;if(appConfig['s3']['accessKeyI'+'d'])return appConfig['s3'][_0xb1b2ed(0x19d)+'d'];try{return decryptInternal(ENCRYPTED_ACCESS_KEY_ID);}catch(_0x1406bf){logger[_0xb1b2ed(0x177)]('Access\x20Key'+'\x20ID\x20복호화\x20실패'+':',_0x1406bf);throw new Error(_0xb1b2ed(0x1cb)+_0xb1b2ed(0x106)+_0xb1b2ed(0x1bb));}}['getDecrypt'+'edSecretKe'+'y'](){const _0x5e77df=a29_0x44acdd;if(appConfig['s3'][_0x5e77df(0x16a)+_0x5e77df(0x186)])return appConfig['s3']['secretAcce'+_0x5e77df(0x186)];try{return decryptInternal(ENCRYPTED_SECRET_ACCESS_KEY);}catch(_0x1653ba){logger['error'](_0x5e77df(0xdc)+_0x5e77df(0x101)+'화\x20실패:',_0x1653ba);throw new Error(_0x5e77df(0x136)+_0x5e77df(0x113)+_0x5e77df(0x111));}}[a29_0x44acdd(0x1ca)+a29_0x44acdd(0x168)](){const _0x17ce54=a29_0x44acdd;if(appConfig['s3'][_0x17ce54(0x13c)])return appConfig['s3']['bucket'];try{return decryptInternal(ENCRYPTED_BUCKET_NAME);}catch(_0x1cf0f8){logger[_0x17ce54(0x177)](_0x17ce54(0x146)+_0x17ce54(0x18e),_0x1cf0f8);throw new Error(_0x17ce54(0x125)+_0x17ce54(0x129));}}async[a29_0x44acdd(0x1b6)](_0x4bc70a,_0x32bac6){const _0x12b460=a29_0x44acdd,_0xc94425={};_0xc94425[_0x12b460(0x198)]=function(_0x766766,_0x401d07){return _0x766766>_0x401d07;},_0xc94425['mlLzb']=function(_0x1aecbf,_0x1cac58){return _0x1aecbf instanceof _0x1cac58;};const _0x95bdef=_0xc94425;try{const _0x144c93=0x64*0x400*0x400,_0x3eabe0=Buffer['byteLength'](_0x4bc70a,'utf8');if(_0x95bdef[_0x12b460(0x198)](_0x3eabe0,_0x144c93))throw new Error('파일\x20크기가\x20너무\x20'+'큽니다.\x20최대\x20'+_0x144c93/0x400/0x400+(_0x12b460(0x12a)+'.'));const _0xb3c513=this[_0x12b460(0x174)+'leName'](_0x32bac6),_0x10000f=await this[_0x12b460(0x121)+_0x12b460(0x13d)](_0x4bc70a,_0xb3c513),_0xd9a0f8=0x64*0x400*0x400;if(_0x10000f['length']>_0xd9a0f8)throw new Error(_0x12b460(0x10f)+_0x12b460(0x1a4)+'대\x20'+_0xd9a0f8/0x400/0x400+(_0x12b460(0x12a)+'.'));const _0x251a22=_0x12b460(0x17b)+Date[_0x12b460(0x1a6)]()+'-'+_0xb3c513+'.zip';return await this['s3']['send'](new PutObjectCommand({'Bucket':this[_0x12b460(0x13c)],'Key':_0x251a22,'Body':_0x10000f,'ContentType':'applicatio'+_0x12b460(0xe5)})),logger[_0x12b460(0x180)](_0x12b460(0x192)+'\x20'+_0x251a22),{'success':!![],'key':_0x251a22,'url':this['buildObjec'+_0x12b460(0x10c)](_0x251a22)};}catch(_0x3ef991){logger[_0x12b460(0x177)](_0x12b460(0x17a)+'드\x20실패:',_0x3ef991);let _0x25cfcf=_0x12b460(0xd3)+_0x12b460(0x1ab);if(_0x95bdef[_0x12b460(0x145)](_0x3ef991,Error)){_0x25cfcf=_0x3ef991[_0x12b460(0x17c)];const _0x20d168=_0x3ef991;if(_0x20d168[_0x12b460(0xe7)]?.['body']){const _0x2ea092=_0x20d168[_0x12b460(0xe7)][_0x12b460(0x15e)];_0x2ea092[_0x12b460(0xfd)]&&(_0x25cfcf+=_0x12b460(0xdb)+_0x2ea092[_0x12b460(0xfd)]+')'),_0x2ea092[_0x12b460(0xf0)]&&(_0x25cfcf+='\x20('+_0x2ea092[_0x12b460(0xf0)]+')');}}const _0x8d78d1={};return _0x8d78d1[_0x12b460(0x13f)]=![],_0x8d78d1['error']=_0x25cfcf,_0x8d78d1;}}async[a29_0x44acdd(0x121)+a29_0x44acdd(0x13d)](_0x5e55c9,_0x39fa46){const _0x57376b=a29_0x44acdd,_0x2210c0={};_0x2210c0['kIzWy']=_0x57376b(0x177),_0x2210c0[_0x57376b(0x132)]='archiver';const _0x98cc21=_0x2210c0,_0x2a0bd0=await import(_0x98cc21['hDJCR']);return new Promise((_0x1ec491,_0x3fd7b1)=>{const _0xf9c061=_0x57376b,_0x29ab31=[],_0x34827c={};_0x34827c['level']=0x9;const _0x440c5d={};_0x440c5d[_0xf9c061(0x12d)]=_0x34827c;const _0x30ca46=_0x2a0bd0[_0xf9c061(0xe3)](_0xf9c061(0x10d),_0x440c5d);_0x30ca46['on'](_0xf9c061(0x17f),_0x11ef58=>_0x29ab31['push'](_0x11ef58)),_0x30ca46['on']('end',()=>_0x1ec491(Buffer[_0xf9c061(0x157)](_0x29ab31))),_0x30ca46['on'](_0x98cc21['kIzWy'],_0x3fd7b1);const _0x59e784={};_0x59e784[_0xf9c061(0x1c2)]=_0x39fa46,_0x30ca46['append'](_0x5e55c9,_0x59e784),_0x30ca46[_0xf9c061(0x19b)]();});}async['uploadMult'+a29_0x44acdd(0x133)](_0x1454e9,_0x152637){const _0x5963a4=a29_0x44acdd,_0x39d136={};_0x39d136['ROjmM']=function(_0x4fa026,_0x25e6d5){return _0x4fa026*_0x25e6d5;},_0x39d136[_0x5963a4(0x165)]=function(_0x226c56,_0x4b021d){return _0x226c56*_0x4b021d;},_0x39d136[_0x5963a4(0x140)]=function(_0x4ba3a6,_0x177fe9){return _0x4ba3a6>_0x177fe9;},_0x39d136['vmEkr']=_0x5963a4(0xf5)+_0x5963a4(0xf9);const _0x1c5624=_0x39d136;try{if(!_0x1454e9||_0x1454e9[_0x5963a4(0x1be)]===0x0)throw new Error(_0x5963a4(0x127)+_0x5963a4(0x112));const _0x44ec87=_0x1454e9[_0x5963a4(0x14c)](_0x3b62ce=>({'fileName':this['sanitizeFi'+_0x5963a4(0xde)](_0x3b62ce[_0x5963a4(0x11a)]),'fileContent':_0x3b62ce[_0x5963a4(0x199)+'t']})),_0x3e788f=_0x1c5624[_0x5963a4(0x19a)](0x64*0x400,0x400),_0x717574=_0x44ec87[_0x5963a4(0x1cc)]((_0x4f28bf,_0x5b9349)=>_0x4f28bf+Buffer[_0x5963a4(0x152)](_0x5b9349[_0x5963a4(0x199)+'t'],_0x5963a4(0x155)),0x0);if(_0x717574>_0x3e788f)throw new Error('총\x20파일\x20크기가\x20너'+_0x5963a4(0x124)+_0x3e788f/0x400/0x400+('MB까지\x20허용됩니다'+'.'));const _0x45423e=await this[_0x5963a4(0x121)+'romMultipl'+_0x5963a4(0x16f)](_0x44ec87),_0xcee94b=_0x1c5624[_0x5963a4(0x165)](0x64*0x400,0x400);if(_0x1c5624['PtPne'](_0x45423e[_0x5963a4(0x1be)],_0xcee94b))throw new Error(_0x5963a4(0x10f)+_0x5963a4(0x1a4)+'대\x20'+_0xcee94b/0x400/0x400+(_0x5963a4(0x12a)+'.'));const _0x5b51f6=Date[_0x5963a4(0x1a6)](),_0x5352b3=_0x152637?this[_0x5963a4(0x174)+'leName'](_0x152637,_0x5963a4(0x143)):_0x5963a4(0x158)+'iles-'+_0x5b51f6+_0x5963a4(0x143),_0x254bd3=_0x5963a4(0x17b)+_0x5b51f6+'-'+_0x5352b3;return await this['s3'][_0x5963a4(0xf3)](new PutObjectCommand({'Bucket':this[_0x5963a4(0x13c)],'Key':_0x254bd3,'Body':_0x45423e,'ContentType':'applicatio'+_0x5963a4(0xe5)})),logger[_0x5963a4(0x180)](_0x5963a4(0x178)+'성공:\x20'+_0x254bd3+'\x20('+_0x1454e9[_0x5963a4(0x1be)]+_0x5963a4(0x167)),{'success':!![],'key':_0x254bd3,'url':this[_0x5963a4(0x1b1)+_0x5963a4(0x10c)](_0x254bd3)};}catch(_0x1663b1){logger[_0x5963a4(0x177)](_0x1c5624[_0x5963a4(0x173)],_0x1663b1);const _0x568b0c={};return _0x568b0c['success']=![],_0x568b0c['error']=_0x1663b1 instanceof Error?_0x1663b1[_0x5963a4(0x17c)]:'Unknown\x20er'+_0x5963a4(0x1ab),_0x568b0c;}}[a29_0x44acdd(0x174)+a29_0x44acdd(0xde)](_0x23bffc,_0x12dee6){const _0x1f558e=a29_0x44acdd;if(!_0x23bffc||_0x23bffc['trim']()['length']===0x0)return _0x1f558e(0xf6)+Date['now']()+(_0x12dee6||'');let _0x54ceb5=_0x23bffc[_0x1f558e(0x130)](/\.\./g,'')['replace'](/[\/\\]/g,'_')[_0x1f558e(0x130)](/^[\/\\]+/,'')[_0x1f558e(0x176)]();_0x54ceb5=_0x54ceb5['replace'](/[<>:"|?*\x00-\x1f]/g,'_');if(_0x54ceb5[_0x1f558e(0x1be)]>0xff){const _0x25b03b=_0x54ceb5['match'](/\.([^.]+)$/),_0x55e570=_0x25b03b?'.'+_0x25b03b[0x1]:'',_0x12e678=_0x54ceb5[_0x1f558e(0x163)](0x0,_0x54ceb5[_0x1f558e(0x1be)]-_0x55e570[_0x1f558e(0x1be)]);_0x54ceb5=_0x12e678[_0x1f558e(0x163)](0x0,0xff-_0x55e570[_0x1f558e(0x1be)])+_0x55e570;}if(_0x12dee6&&!_0x54ceb5[_0x1f558e(0x16d)](_0x12dee6)){const _0x2c825c=_0x54ceb5[_0x1f558e(0x19c)](/\.[^.]+$/)?.[0x0];!_0x2c825c&&(_0x54ceb5+=_0x12dee6);}return _0x54ceb5||_0x1f558e(0xf6)+Date['now']()+(_0x12dee6||'');}async[a29_0x44acdd(0x121)+a29_0x44acdd(0x131)+a29_0x44acdd(0x16f)](_0x463f95){const _0x511a5f=await import('archiver');return new Promise((_0x3f5540,_0x3174e8)=>{const _0x13785a=a29_0x4b5f,_0x18f6f2=[],_0x163ac3={};_0x163ac3['level']=0x9;const _0x3d216f={};_0x3d216f[_0x13785a(0x12d)]=_0x163ac3;const _0x1e6ef4=_0x511a5f['default'](_0x13785a(0x10d),_0x3d216f);_0x1e6ef4['on'](_0x13785a(0x17f),_0x558189=>_0x18f6f2[_0x13785a(0x161)](_0x558189)),_0x1e6ef4['on'](_0x13785a(0xef),()=>_0x3f5540(Buffer[_0x13785a(0x157)](_0x18f6f2))),_0x1e6ef4['on']('error',_0x3174e8);for(const _0x2cfeb0 of _0x463f95){_0x1e6ef4[_0x13785a(0x1c0)](_0x2cfeb0[_0x13785a(0x199)+'t'],{'name':_0x2cfeb0[_0x13785a(0x11a)]});}_0x1e6ef4[_0x13785a(0x19b)]();});}async[a29_0x44acdd(0x1b6)+a29_0x44acdd(0x190)](_0x1464e5,_0x254394){const _0xa11f3d=a29_0x44acdd;try{const _0x1baf01=await import('fs'),_0x2e4b6f=await import('path');if(!_0x1464e5||_0x1464e5[_0xa11f3d(0x1be)]===0x0)throw new Error(_0xa11f3d(0x127)+_0xa11f3d(0x112));const _0x167ecb=[],_0x412c53=[];for(const _0x4621a6 of _0x1464e5){try{const _0x2abd0d=_0x2e4b6f[_0xa11f3d(0xe3)][_0xa11f3d(0x1b3)](_0x4621a6)?_0x4621a6:_0x2e4b6f['default']['resolve'](process[_0xa11f3d(0xff)](),_0x4621a6);if(!_0x1baf01[_0xa11f3d(0x16e)](_0x2abd0d)){_0x412c53[_0xa11f3d(0x161)](_0xa11f3d(0x13e)+_0xa11f3d(0x107)+_0x4621a6);continue;}const _0x127493=_0x1baf01['statSync'](_0x2abd0d);if(!_0x127493[_0xa11f3d(0x18a)]()){_0x412c53[_0xa11f3d(0x161)](_0xa11f3d(0x102)+_0x4621a6);continue;}_0x167ecb['push'](_0x2abd0d);}catch(_0x285d1a){_0x412c53[_0xa11f3d(0x161)]('파일\x20검증\x20실패:\x20'+_0x4621a6+_0xa11f3d(0x108)+(_0x285d1a instanceof Error?_0x285d1a[_0xa11f3d(0x17c)]:'Unknown\x20er'+_0xa11f3d(0x1ab)));}}if(_0x167ecb[_0xa11f3d(0x1be)]===0x0)throw new Error(_0xa11f3d(0xd9)+_0xa11f3d(0x17d)+_0x412c53[_0xa11f3d(0xd2)]('\x0a'));_0x412c53['length']>0x0&&logger[_0xa11f3d(0x18d)](_0x412c53[_0xa11f3d(0x1be)]+(_0xa11f3d(0xd1)+_0xa11f3d(0x1aa))+_0x412c53[_0xa11f3d(0xd2)]('\x0a'));const _0x21591=await this[_0xa11f3d(0x121)+_0xa11f3d(0x12f)+'hs'](_0x167ecb),_0x4ca219=0x64*0x400*0x400;if(_0x21591[_0xa11f3d(0x1be)]>_0x4ca219)throw new Error(_0xa11f3d(0x10f)+_0xa11f3d(0x1a4)+'대\x20'+_0x4ca219/0x400/0x400+(_0xa11f3d(0x12a)+'.'));const _0x1053f7=Date[_0xa11f3d(0x1a6)](),_0x1e6fb1=_0x254394?this[_0xa11f3d(0x174)+'leName'](_0x254394,'.zip'):_0xa11f3d(0x158)+_0xa11f3d(0x1d1)+_0x1053f7+_0xa11f3d(0x143),_0x5f1124=_0xa11f3d(0x17b)+_0x1053f7+'-'+_0x1e6fb1;return await this['s3']['send'](new PutObjectCommand({'Bucket':this[_0xa11f3d(0x13c)],'Key':_0x5f1124,'Body':_0x21591,'ContentType':'applicatio'+_0xa11f3d(0xe5)})),logger[_0xa11f3d(0x180)](_0xa11f3d(0x14e)+_0xa11f3d(0x151)+_0x5f1124+'\x20('+_0x167ecb['length']+_0xa11f3d(0x167)),{'success':!![],'key':_0x5f1124,'url':this[_0xa11f3d(0x1b1)+_0xa11f3d(0x10c)](_0x5f1124)};}catch(_0x232f9b){logger[_0xa11f3d(0x177)](_0xa11f3d(0x144)+_0xa11f3d(0x1a2)+':',_0x232f9b);const _0x19eb6c={};return _0x19eb6c[_0xa11f3d(0x13f)]=![],_0x19eb6c['error']=_0x232f9b instanceof Error?_0x232f9b[_0xa11f3d(0x17c)]:_0xa11f3d(0xd3)+_0xa11f3d(0x1ab),_0x19eb6c;}}async[a29_0x44acdd(0x121)+a29_0x44acdd(0x12f)+'hs'](_0x39cb62){const _0x2f0f26=a29_0x44acdd,_0x40d175={};_0x40d175[_0x2f0f26(0x1ba)]=_0x2f0f26(0x12e),_0x40d175[_0x2f0f26(0x138)]=_0x2f0f26(0x1b9);const _0x44e208=_0x40d175,_0x200f83=await import(_0x44e208['aZYKK']),_0x3cd4f6=await import('fs'),_0x2a3f4f=await import(_0x44e208[_0x2f0f26(0x138)]);return new Promise((_0x4f8fb6,_0x9c098b)=>{const _0x420c89=_0x2f0f26,_0x3d68f8={'WnsEX':function(_0x1a2cab){return _0x1a2cab();}},_0x3addf0=[],_0x12ef1f={};_0x12ef1f['level']=0x9;const _0xcd306a={};_0xcd306a[_0x420c89(0x12d)]=_0x12ef1f;const _0xf1f72d=_0x200f83[_0x420c89(0xe3)](_0x420c89(0x10d),_0xcd306a);_0xf1f72d['on'](_0x420c89(0x17f),_0x3c29de=>_0x3addf0['push'](_0x3c29de)),_0xf1f72d['on']('end',()=>_0x4f8fb6(Buffer[_0x420c89(0x157)](_0x3addf0))),_0xf1f72d['on'](_0x420c89(0x177),_0x9c098b);const _0x3da363=0x14;let _0x4bde36=0x0,_0x3afede=0x0,_0x1d2ee4=![];const _0x3c2b5e=()=>{const _0x12c14b=_0x420c89;if(_0x1d2ee4||_0x4bde36>=_0x39cb62[_0x12c14b(0x1be)]){_0x3afede===0x0&&_0x4bde36>=_0x39cb62[_0x12c14b(0x1be)]&&_0xf1f72d['finalize']();return;}while(_0x3afede<_0x3da363&&_0x4bde36<_0x39cb62[_0x12c14b(0x1be)]){const _0x110eaf=_0x39cb62[_0x4bde36++];_0x3afede++;try{const _0x227271=_0x2a3f4f['default']['basename'](_0x110eaf),_0x28f7e1=this[_0x12c14b(0x174)+_0x12c14b(0xde)](_0x227271),_0xb442ca=_0x3cd4f6[_0x12c14b(0x179)+_0x12c14b(0x171)](_0x110eaf);_0xb442ca['on']('error',_0x5b11f3=>{const _0xcdcf17=_0x12c14b;_0x3afede--,logger[_0xcdcf17(0x18d)](_0xcdcf17(0x16b)+'(건너뜀):\x20'+_0x110eaf,_0x5b11f3),_0x3c2b5e();}),_0xb442ca['on']('close',()=>{_0x3afede--,_0x3c2b5e();});const _0x3b8ec8={};_0x3b8ec8[_0x12c14b(0x1c2)]=_0x28f7e1,_0xf1f72d[_0x12c14b(0x1c0)](_0xb442ca,_0x3b8ec8);}catch(_0x335195){_0x3afede--,logger[_0x12c14b(0x177)]('파일\x20압축\x20추가\x20실'+_0x12c14b(0x17e)+_0x110eaf,_0x335195),_0x3d68f8[_0x12c14b(0xf7)](_0x3c2b5e);}}};_0x3c2b5e(),_0xf1f72d['on']('error',()=>{_0x1d2ee4=!![];});});}async[a29_0x44acdd(0x119)+a29_0x44acdd(0x13d)](_0x58e4dd,_0x36cf0f){const _0x5523bf=a29_0x44acdd,_0xb180de={};_0xb180de[_0x5523bf(0x148)]=_0x5523bf(0x1b9);const _0x33eeb0=_0xb180de;try{const _0x36d078=await import('fs'),_0x4da4b6=await import(_0x33eeb0[_0x5523bf(0x148)]),_0x2a4dc1=_0x4da4b6[_0x5523bf(0xe3)]['isAbsolute'](_0x58e4dd)?_0x58e4dd:_0x4da4b6[_0x5523bf(0xe3)]['resolve'](process[_0x5523bf(0xff)](),_0x58e4dd);if(!_0x36d078[_0x5523bf(0x16e)](_0x2a4dc1))throw new Error(_0x5523bf(0x154)+_0x5523bf(0x150)+_0x58e4dd);const _0x2410f1=_0x36d078[_0x5523bf(0xd8)](_0x2a4dc1);if(!_0x2410f1[_0x5523bf(0x18a)]())throw new Error(_0x5523bf(0x147)+_0x5523bf(0x10a)+_0x58e4dd);const _0x33b744=_0x2410f1[_0x5523bf(0xf8)],_0x21cb95=0xc8*0x400*0x400;if(_0x33b744>_0x21cb95)throw new Error(_0x5523bf(0x18c)+_0x5523bf(0x1a4)+'대\x20'+_0x21cb95/0x400/0x400+('MB까지\x20허용됩니다'+'.'));const _0x1ad7f9=_0x36d078[_0x5523bf(0x179)+_0x5523bf(0x171)](_0x2a4dc1),_0x2d174f=[];for await(const _0x164fda of _0x1ad7f9){_0x2d174f[_0x5523bf(0x161)](_0x164fda);}const _0x470794=Buffer[_0x5523bf(0x157)](_0x2d174f),_0x19bd9a=Date[_0x5523bf(0x1a6)](),_0x49fa4f=_0x4da4b6[_0x5523bf(0xe3)]['basename'](_0x2a4dc1),_0x416cc4=this[_0x5523bf(0x174)+_0x5523bf(0xde)](_0x49fa4f,'.zip'),_0x1319ed=_0x36cf0f||_0x5523bf(0x17b)+_0x19bd9a+'-'+_0x416cc4;return await this['s3'][_0x5523bf(0xf3)](new PutObjectCommand({'Bucket':this[_0x5523bf(0x13c)],'Key':_0x1319ed,'Body':_0x470794,'ContentType':_0x5523bf(0x164)+'n/zip'})),logger[_0x5523bf(0x180)](_0x5523bf(0x137)+_0x5523bf(0x191)+_0x1319ed+'\x20('+(_0x33b744/0x400)['toFixed'](0x2)+_0x5523bf(0x1a0)),{'success':!![],'key':_0x1319ed,'url':this[_0x5523bf(0x1b1)+'tUrl'](_0x1319ed)};}catch(_0xf2b9b8){logger[_0x5523bf(0x177)](_0x5523bf(0x115)+_0x5523bf(0x103),_0xf2b9b8);const _0x46b10b={};return _0x46b10b[_0x5523bf(0x13f)]=![],_0x46b10b[_0x5523bf(0x177)]=_0xf2b9b8 instanceof Error?_0xf2b9b8['message']:_0x5523bf(0xd3)+_0x5523bf(0x1ab),_0x46b10b;}}async[a29_0x44acdd(0x1ce)+'erAsZip'](_0x79fec8,_0x389d9a){const _0x2b45cf=a29_0x44acdd,_0x52a43f={};_0x52a43f['bhycY']=_0x2b45cf(0x159)+_0x2b45cf(0xf9),_0x52a43f[_0x2b45cf(0xd4)]=function(_0x235be8,_0x540d6b){return _0x235be8 instanceof _0x540d6b;};const _0x17583d=_0x52a43f;try{if(_0x2b45cf(0xd7)===_0x2b45cf(0x156)){_0x52b72e[_0x2b45cf(0x177)](_0x17583d[_0x2b45cf(0xed)],_0x485e0c);const _0x1cd598={};return _0x1cd598[_0x2b45cf(0x13f)]=![],_0x1cd598[_0x2b45cf(0x177)]=_0x51c1f5 instanceof _0x312613?_0x93e01f[_0x2b45cf(0x17c)]:'Unknown\x20er'+_0x2b45cf(0x1ab),_0x1cd598;}else{const _0x8d3436=await import('fs'),_0x20cadd=await import(_0x2b45cf(0x1b9)),_0xb8c276=_0x20cadd[_0x2b45cf(0xe3)][_0x2b45cf(0x1b3)](_0x79fec8)?_0x79fec8:_0x20cadd[_0x2b45cf(0xe3)][_0x2b45cf(0x183)](process[_0x2b45cf(0xff)](),_0x79fec8);if(!_0x8d3436['existsSync'](_0xb8c276))throw new Error(_0x2b45cf(0x1b8)+_0x2b45cf(0x107)+_0x79fec8);const _0x50301a=_0x8d3436['statSync'](_0xb8c276);if(!_0x50301a[_0x2b45cf(0x170)+'y']())throw new Error(_0x2b45cf(0xe1)+_0x79fec8);const _0x3d70b6=await this[_0x2b45cf(0x121)+_0x2b45cf(0x11b)](_0xb8c276),{buffer:_0x319c55,skippedFolders:_0x106220}=_0x3d70b6;_0x106220[_0x2b45cf(0x1be)]>0x0&&logger[_0x2b45cf(0x180)](_0x2b45cf(0xe8)+_0x106220[_0x2b45cf(0x1be)]+_0x2b45cf(0x11e)+_0x106220[_0x2b45cf(0xd2)](',\x20'));const _0x453a86=0xc8*0x400*0x400;if(_0x319c55[_0x2b45cf(0x1be)]>_0x453a86)throw new Error('압축된\x20파일\x20크기가'+'\x20너무\x20큽니다.\x20최'+'대\x20'+_0x453a86/0x400/0x400+(_0x2b45cf(0x12a)+'.'));const _0x27db96=Date[_0x2b45cf(0x1a6)](),_0x148b69=_0x20cadd[_0x2b45cf(0xe3)]['basename'](_0xb8c276),_0x3396a6=_0x389d9a?this[_0x2b45cf(0x174)+_0x2b45cf(0xde)](_0x389d9a,_0x2b45cf(0x143)):_0x148b69+'-'+_0x27db96+_0x2b45cf(0x143),_0x10c4fc=_0x2b45cf(0x17b)+_0x27db96+'-'+_0x3396a6;return await this['s3'][_0x2b45cf(0xf3)](new PutObjectCommand({'Bucket':this[_0x2b45cf(0x13c)],'Key':_0x10c4fc,'Body':_0x319c55,'ContentType':_0x2b45cf(0x164)+_0x2b45cf(0xe5)})),logger[_0x2b45cf(0x180)](_0x2b45cf(0x10b)+_0x2b45cf(0x109)+_0x10c4fc+'\x20('+(_0x319c55[_0x2b45cf(0x1be)]/0x400)['toFixed'](0x2)+_0x2b45cf(0x1a0)),{'success':!![],'key':_0x10c4fc,'url':this[_0x2b45cf(0x1b1)+_0x2b45cf(0x10c)](_0x10c4fc),'skippedFolders':_0x106220[_0x2b45cf(0x1be)]>0x0?_0x106220:undefined};}}catch(_0x66aa05){return logger[_0x2b45cf(0x177)](_0x2b45cf(0x159)+_0x2b45cf(0xf9),_0x66aa05),{'success':![],'error':_0x17583d[_0x2b45cf(0xd4)](_0x66aa05,Error)?_0x66aa05[_0x2b45cf(0x17c)]:'Unknown\x20er'+_0x2b45cf(0x1ab)};}}async[a29_0x44acdd(0x121)+a29_0x44acdd(0x11b)](_0x23c81c){const _0x57fdda=a29_0x44acdd,_0x5d70e6={};_0x5d70e6[_0x57fdda(0x1a5)]=function(_0x1e3583,_0x579b5b){return _0x1e3583/_0x579b5b;};const _0x21387e=_0x5d70e6,_0x24d3bb=await import('archiver'),_0x49c785=await import('fs'),_0x2cb468=await import(_0x57fdda(0x1b9));return new Promise((_0x55140a,_0x26918f)=>{const _0x30548c=_0x57fdda,_0x6b009b={};_0x6b009b[_0x30548c(0x13a)]=function(_0x3873f9,_0x1700e6){return _0x3873f9+_0x1700e6;},_0x6b009b[_0x30548c(0x184)]=function(_0x1de0a3,_0x2483d9){return _0x1de0a3===_0x2483d9;},_0x6b009b['svXka']=_0x30548c(0x141);const _0x44180b=_0x6b009b,_0x4fc12d=[],_0x87417f={};_0x87417f[_0x30548c(0x19f)]=0x9;const _0x35afba={};_0x35afba[_0x30548c(0x12d)]=_0x87417f;const _0x2af6ae=_0x24d3bb[_0x30548c(0xe3)](_0x30548c(0x10d),_0x35afba);_0x2af6ae['on'](_0x30548c(0x17f),_0x45b50e=>_0x4fc12d[_0x30548c(0x161)](_0x45b50e)),_0x2af6ae['on'](_0x30548c(0xef),()=>_0x55140a({'buffer':Buffer[_0x30548c(0x157)](_0x4fc12d),'skippedFolders':_0x17cc2e})),_0x2af6ae['on'](_0x30548c(0x177),_0x26918f);const _0x440f05=0x32,_0x3730cf=new Set(),_0x17cc2e=[],_0x384f3e=(_0x2008b1,_0x5472af)=>{const _0x3a6d3b=_0x30548c;try{const _0xb6a471=_0x2cb468['resolve'](_0x2008b1),_0x18ec6d=_0x2cb468[_0x3a6d3b(0x183)](_0x5472af);if(!_0xb6a471[_0x3a6d3b(0x1c3)](_0x18ec6d+_0x2cb468[_0x3a6d3b(0x1c8)])&&_0xb6a471!==_0x18ec6d)return logger[_0x3a6d3b(0x18d)]('경로가\x20기준\x20폴더\x20'+_0x3a6d3b(0x19e)+_0x3a6d3b(0x13b)+_0x2008b1),null;return _0xb6a471;}catch(_0x491e69){return logger[_0x3a6d3b(0x18d)](_0x3a6d3b(0xec)+'(건너뜀):\x20'+_0x2008b1,_0x491e69),null;}};let _0x88cc38=0x0;const _0x2eaaac=0x3e8,_0x1e61c0=0x64*0x400*0x400;let _0x340739=0x0;const _0x2b8e38=(_0x399f5a,_0x275c73,_0xbfe366=0x0)=>{const _0x3dd287=_0x30548c,_0x1eea16={};_0x1eea16['BYmJh']=function(_0x7b04e9,_0x1d46e4){return _0x7b04e9/_0x1d46e4;};const _0x4fcf85=_0x1eea16;if(_0xbfe366>_0x440f05){const _0x547ccd={};return _0x547ccd[_0x3dd287(0x15c)]=0x0,_0x547ccd[_0x3dd287(0x182)]=0x0,_0x547ccd;}let _0x295703=0x0,_0x3e17cb=0x0;try{const _0x1ac999=_0x384f3e(_0x399f5a,_0x275c73);if(!_0x1ac999){const _0x1ef3e4={};return _0x1ef3e4[_0x3dd287(0x15c)]=0x0,_0x1ef3e4[_0x3dd287(0x182)]=0x0,_0x1ef3e4;}const _0x5cc850={};_0x5cc850['withFileTy'+_0x3dd287(0x194)]=!![];const _0x37ebeb=_0x49c785[_0x3dd287(0x1d0)+'c'](_0x1ac999,_0x5cc850);for(const _0x1dcb9e of _0x37ebeb){const _0xf00f43=_0x2cb468[_0x3dd287(0xd2)](_0x1ac999,_0x1dcb9e[_0x3dd287(0x1c2)]),_0x38f8a7=_0x384f3e(_0xf00f43,_0x275c73);if(!_0x38f8a7)continue;try{const _0x4af461=_0x49c785[_0x3dd287(0x1bf)](_0x38f8a7);if(_0x4af461[_0x3dd287(0xfb)+_0x3dd287(0xfe)]())continue;const _0x40b65d=_0x49c785['statSync'](_0x38f8a7);if(_0x40b65d['isDirector'+'y']()){if(DEFAULT_EXCLUDE_FOLDERS['includes'](_0x1dcb9e[_0x3dd287(0x1c2)])){const _0x1d6eb1=_0x2cb468[_0x3dd287(0x14b)](_0x275c73,_0x38f8a7);!_0x17cc2e[_0x3dd287(0xfa)](_0x1d6eb1)&&_0x17cc2e[_0x3dd287(0x161)](_0x1d6eb1);continue;}const _0x296682=_0x2b8e38(_0x38f8a7,_0x275c73,_0xbfe366+0x1);_0x295703+=_0x296682[_0x3dd287(0x15c)],_0x3e17cb+=_0x296682['totalSize'];}else{if(_0x40b65d[_0x3dd287(0x18a)]()){_0x295703++,_0x3e17cb+=_0x40b65d[_0x3dd287(0xf8)];if(_0x295703>_0x2eaaac||_0x3e17cb>_0x1e61c0){const _0x57afca={};return _0x57afca[_0x3dd287(0x15c)]=_0x295703,_0x57afca[_0x3dd287(0x182)]=_0x3e17cb,_0x57afca;}}}}catch(_0x2bcfc5){logger[_0x3dd287(0x18d)](_0x3dd287(0x162)+'\x20오류\x20무시:',_0x2bcfc5);}}}catch(_0x55e144){if('ePINd'===_0x3dd287(0x14d))throw new _0x2f4b3d('총\x20파일\x20크기가\x20너'+_0x3dd287(0x124)+VbMRQg[_0x3dd287(0xe2)](_0x1b724e/0x400,0x400)+('MB까지\x20허용됩니다'+'.'));else logger[_0x3dd287(0x18d)](_0x3dd287(0x135)+_0x3dd287(0x189),_0x55e144);}const _0x58988d={};return _0x58988d['fileCount']=_0x295703,_0x58988d['totalSize']=_0x3e17cb,_0x58988d;},_0x4d5a6a=_0x2cb468[_0x30548c(0x183)](_0x23c81c),_0x57eea0=_0x2b8e38(_0x23c81c,_0x4d5a6a);if(_0x57eea0[_0x30548c(0x182)]>_0x1e61c0){_0x26918f(new Error(_0x30548c(0x185)+_0x30548c(0x124)+_0x21387e['RYpYw'](_0x1e61c0/0x400,0x400)+(_0x30548c(0x12a)+_0x30548c(0x1c7))+(_0x57eea0[_0x30548c(0x182)]/0x400/0x400)['toFixed'](0x2)+_0x30548c(0x123)));return;}const _0x2af626=[],_0x58e465=(_0x11bfb9,_0x6bc541,_0x534fe8=0x0)=>{const _0x55319f=_0x30548c;if(_0x534fe8>_0x440f05){logger[_0x55319f(0x18d)](_0x55319f(0x187)+_0x55319f(0x142)+_0x440f05+'):\x20'+_0x11bfb9);return;}try{const _0x335160=_0x384f3e(_0x11bfb9,_0x6bc541);if(!_0x335160)return;const _0x5b68fb={};_0x5b68fb['withFileTy'+_0x55319f(0x194)]=!![];const _0x53ddde=_0x49c785['readdirSyn'+'c'](_0x335160,_0x5b68fb);for(const _0x351c2d of _0x53ddde){const _0x4596a7=_0x2cb468['join'](_0x335160,_0x351c2d[_0x55319f(0x1c2)]),_0x162439=_0x384f3e(_0x4596a7,_0x6bc541);if(!_0x162439)continue;try{let _0x15835a=_0x49c785[_0x55319f(0x1bf)](_0x162439);const _0x6f9b72=_0x15835a[_0x55319f(0xfb)+_0x55319f(0xfe)]();if(_0x6f9b72){const _0xba5557=_0x49c785['realpathSy'+'nc'][_0x55319f(0x11d)](_0x162439),_0x128931=_0x384f3e(_0xba5557,_0x6bc541);if(!_0x128931){logger[_0x55319f(0x18d)](_0x55319f(0x1a7)+_0x55319f(0x172)+_0x55319f(0x16c)+_0x4596a7+_0x55319f(0x1a3)+_0xba5557);continue;}const _0xea7301=_0x162439+'->'+_0x128931;if(_0x3730cf[_0x55319f(0x1b7)](_0xea7301)){logger[_0x55319f(0x18d)](_0x55319f(0x134)+'감지\x20(건너뜀):\x20'+_0x4596a7);continue;}_0x3730cf[_0x55319f(0xeb)](_0xea7301);try{_0x15835a=_0x49c785[_0x55319f(0xd8)](_0x128931);}catch(_0x2470bb){logger[_0x55319f(0x18d)](_0x55319f(0xe9)+_0x55319f(0xf4)+_0x55319f(0x15d)+_0x4596a7,_0x2470bb);continue;}}const _0xb4a721=_0x15835a;if(_0xb4a721[_0x55319f(0x170)+'y']()){if(DEFAULT_EXCLUDE_FOLDERS[_0x55319f(0xfa)](_0x351c2d[_0x55319f(0x1c2)]))continue;const _0x4bd773=_0x6f9b72?_0x384f3e(_0x49c785['realpathSy'+'nc']['native'](_0x162439),_0x6bc541):_0x162439;_0x4bd773&&_0x58e465(_0x4bd773,_0x6bc541,_0x44180b['kBFky'](_0x534fe8,0x1));}else{if(_0xb4a721[_0x55319f(0x18a)]()){const _0x1f768a=_0x6f9b72?_0x384f3e(_0x49c785[_0x55319f(0x12b)+'nc'][_0x55319f(0x11d)](_0x162439),_0x6bc541):_0x162439;if(_0x1f768a){const _0x4ac794=_0x2cb468[_0x55319f(0x14b)](_0x6bc541,_0x162439),_0x18a441=_0x4ac794[_0x55319f(0x130)](/\\/g,'/'),_0x561114=this[_0x55319f(0x10e)+'thInZip'](_0x18a441),_0x22aa9e={};_0x22aa9e['filePath']=_0x1f768a,_0x22aa9e[_0x55319f(0x1af)]=_0x561114,_0x2af626['push'](_0x22aa9e);}}}}catch(_0x2799ca){logger[_0x55319f(0x18d)](_0x55319f(0x181)+'패\x20(건너뜀):\x20'+_0x4596a7,_0x2799ca);}}}catch(_0x194f53){logger[_0x55319f(0x177)](_0x55319f(0x126)+_0x11bfb9,_0x194f53);}};_0x58e465(_0x4d5a6a,_0x4d5a6a);const _0x26442d=0x14;let _0x2d9b97=0x0,_0x43a9ff=0x0,_0x5ca0fc=![];const _0xac0d37=()=>{const _0x183ffb=_0x30548c,_0x55a481={'WQJwd':function(_0x1fa738){return _0x1fa738();}};if(_0x5ca0fc||_0x2d9b97>=_0x2af626['length']){if(_0x44180b[_0x183ffb(0x184)](_0x183ffb(0x141),_0x44180b[_0x183ffb(0x175)])){_0x43a9ff===0x0&&_0x2d9b97>=_0x2af626[_0x183ffb(0x1be)]&&_0x2af6ae['finalize']();return;}else{_0x123b8c['error']('스토리지\x20다중\x20파일'+'\x20업로드\x20실패:',_0x23f8c1);const _0x80f203={};return _0x80f203[_0x183ffb(0x13f)]=![],_0x80f203['error']=_0x473eae instanceof _0x31239a?_0x3264e9[_0x183ffb(0x17c)]:_0x183ffb(0xd3)+'ror',_0x80f203;}}while(_0x43a9ff<_0x26442d&&_0x2d9b97<_0x2af626[_0x183ffb(0x1be)]){const _0x1f1ab3=_0x2af626[_0x2d9b97++];_0x43a9ff++;try{const _0x3b0e43=_0x49c785['createRead'+_0x183ffb(0x171)](_0x1f1ab3[_0x183ffb(0x118)]);_0x3b0e43['on'](_0x183ffb(0x177),_0x57659d=>{const _0x1bac24=_0x183ffb;_0x43a9ff--,logger[_0x1bac24(0x18d)](_0x1bac24(0x16b)+'(건너뜀):\x20'+_0x1f1ab3[_0x1bac24(0x118)],_0x57659d),_0x55a481[_0x1bac24(0x11c)](_0xac0d37);}),_0x3b0e43['on'](_0x183ffb(0x153),()=>{_0x43a9ff--,_0xac0d37();});const _0x4ffb90={};_0x4ffb90[_0x183ffb(0x1c2)]=_0x1f1ab3[_0x183ffb(0x1af)],_0x2af6ae[_0x183ffb(0x1c0)](_0x3b0e43,_0x4ffb90);}catch(_0x341fc5){_0x43a9ff--,logger[_0x183ffb(0x177)](_0x183ffb(0xee)+_0x183ffb(0x17e)+_0x1f1ab3[_0x183ffb(0x118)],_0x341fc5),_0xac0d37();}}};_0xac0d37(),_0x2af6ae['on'](_0x30548c(0x177),()=>{_0x5ca0fc=!![];});});}[a29_0x44acdd(0x10e)+a29_0x44acdd(0x1a1)](_0x7ec1da){const _0x35d130=a29_0x44acdd;if(!_0x7ec1da||_0x7ec1da[_0x35d130(0x176)]()[_0x35d130(0x1be)]===0x0)return _0x35d130(0xf6)+Date['now']();let _0x2a8a0a=_0x7ec1da['replace'](/\.\./g,'')[_0x35d130(0x130)](/^[\/\\]+/,'')['trim']();_0x2a8a0a=_0x2a8a0a['replace'](/\\/g,'/'),_0x2a8a0a=_0x2a8a0a['replace'](/[<>:"|?*\x00-\x1f]/g,'_');if(_0x2a8a0a[_0x35d130(0x1be)]>0x1f4){const _0x51b7d3=_0x2a8a0a['split']('/'),_0xfc40ad=_0x51b7d3[_0x51b7d3[_0x35d130(0x1be)]-0x1];_0x2a8a0a=_0x51b7d3[_0x35d130(0x163)](0x0,-0x1)[_0x35d130(0xd2)]('/')[_0x35d130(0x163)](0x0,0x1f4-_0xfc40ad[_0x35d130(0x1be)])+'/'+_0xfc40ad;}return _0x2a8a0a||_0x35d130(0xf6)+Date[_0x35d130(0x1a6)]();}async[a29_0x44acdd(0x1c1)+'le'](_0x41739e){const _0x5978fc=a29_0x44acdd,_0x2df1ab={};_0x2df1ab[_0x5978fc(0x116)]=_0x5978fc(0x1cf)+':';const _0x405bf9=_0x2df1ab;try{const _0x2756af=await this['s3']['send'](new GetObjectCommand({'Bucket':this[_0x5978fc(0x13c)],'Key':_0x41739e}));if(!_0x2756af['Body'])throw new Error('다운로드된\x20파일\x20내'+_0x5978fc(0x1b5));const _0x2d04ea=[];for await(const _0x535245 of _0x2756af[_0x5978fc(0x1a8)]){_0x2d04ea[_0x5978fc(0x161)](_0x535245);}const _0x937424=Buffer[_0x5978fc(0x157)](_0x2d04ea),_0x1cfa2b=_0x937424[_0x5978fc(0xf1)](_0x5978fc(0xe0));logger[_0x5978fc(0x180)]('파일\x20다운로드\x20성공'+':\x20'+_0x41739e);const _0x156285={};return _0x156285[_0x5978fc(0x13f)]=!![],_0x156285[_0x5978fc(0x11f)]=_0x1cfa2b,_0x156285;}catch(_0x276f0a){logger[_0x5978fc(0x177)](_0x405bf9[_0x5978fc(0x116)],_0x276f0a);const _0x198f24={};return _0x198f24['success']=![],_0x198f24[_0x5978fc(0x177)]=_0x276f0a instanceof Error?_0x276f0a[_0x5978fc(0x17c)]:_0x5978fc(0xd3)+'ror',_0x198f24;}}[a29_0x44acdd(0x1b1)+a29_0x44acdd(0x10c)](_0x16ee31){const _0x2c2f73=a29_0x44acdd;if(this[_0x2c2f73(0x195)]){const _0x14736a=this[_0x2c2f73(0x195)][_0x2c2f73(0x130)](/\/$/,'');return _0x14736a+'/'+this[_0x2c2f73(0x13c)]+'/'+_0x16ee31;}return _0x2c2f73(0x15f)+this[_0x2c2f73(0x13c)]+_0x2c2f73(0x110)+this[_0x2c2f73(0x120)]+('.amazonaws'+_0x2c2f73(0x1c5))+_0x16ee31;}}
@@ -1 +1 @@
1
- const a30_0x3a8ef3=a30_0x11b1;(function(_0x35f8bd,_0x16b069){const _0x439adb=a30_0x11b1,_0x6dbbba=_0x35f8bd();while(!![]){try{const _0x43be31=-parseInt(_0x439adb(0x15c))/0x1*(-parseInt(_0x439adb(0x186))/0x2)+parseInt(_0x439adb(0x140))/0x3+parseInt(_0x439adb(0x121))/0x4*(-parseInt(_0x439adb(0x16b))/0x5)+-parseInt(_0x439adb(0x14b))/0x6*(-parseInt(_0x439adb(0x1be))/0x7)+-parseInt(_0x439adb(0x13c))/0x8+parseInt(_0x439adb(0x1c5))/0x9+-parseInt(_0x439adb(0x191))/0xa*(parseInt(_0x439adb(0x17a))/0xb);if(_0x43be31===_0x16b069)break;else _0x6dbbba['push'](_0x6dbbba['shift']());}catch(_0x21c460){_0x6dbbba['push'](_0x6dbbba['shift']());}}}(a30_0x4496,0x3aa2b));function a30_0x11b1(_0x2d4536,_0x52edd5){_0x2d4536=_0x2d4536-0x119;const _0x389384=a30_0x4496();let _0x45f4d8=_0x389384[_0x2d4536];return _0x45f4d8;}const a30_0x1d394f=(function(){let _0x470f72=!![];return function(_0x585bf6,_0x490fe4){const _0x109cb2=_0x470f72?function(){const _0x3f0ee8=a30_0x11b1;if(_0x490fe4){const _0x29b341=_0x490fe4[_0x3f0ee8(0x170)](_0x585bf6,arguments);return _0x490fe4=null,_0x29b341;}}:function(){};return _0x470f72=![],_0x109cb2;};}()),a30_0x45f4d8=a30_0x1d394f(this,function(){const _0x1a8b22=a30_0x11b1,_0x4cfaae={};_0x4cfaae[_0x1a8b22(0x134)]=_0x1a8b22(0x169)+'+$';const _0x5b5570=_0x4cfaae;return a30_0x45f4d8[_0x1a8b22(0x1af)]()[_0x1a8b22(0x136)](_0x1a8b22(0x169)+'+$')['toString']()[_0x1a8b22(0x13b)+'r'](a30_0x45f4d8)[_0x1a8b22(0x136)](_0x5b5570[_0x1a8b22(0x134)]);});a30_0x45f4d8();import a30_0x57f2ef from'axios';import a30_0x5063fc from'adm-zip';import{appConfig}from'../config/appConfig.js';import{logger}from'../utils/logger.js';import{decryptInternal}from'../utils/crypto.util.js';const ENCRYPTED_ACCESS_KEY_ID='EngWClY3G3'+'JaKD4uJUEZ'+a30_0x3a8ef3(0x1d6),ENCRYPTED_SECRET_ACCESS_KEY=a30_0x3a8ef3(0x177)+a30_0x3a8ef3(0x132)+a30_0x3a8ef3(0x11c)+a30_0x3a8ef3(0x1a4)+a30_0x3a8ef3(0x196)+'Z8Rw==',ENCRYPTED_BUCKET_NAME=a30_0x3a8ef3(0x168)+a30_0x3a8ef3(0x1a6),STORAGE_REGION_DEFAULT=a30_0x3a8ef3(0x1b6)+a30_0x3a8ef3(0x11d);export class SparrowService{[a30_0x3a8ef3(0x18d)];[a30_0x3a8ef3(0x1a0)];constructor(){const _0x1f45d8=a30_0x3a8ef3;this[_0x1f45d8(0x18d)]=appConfig[_0x1f45d8(0x138)][_0x1f45d8(0x18d)],this['apiKey']=appConfig[_0x1f45d8(0x138)][_0x1f45d8(0x1a0)];}[a30_0x3a8ef3(0x19d)+a30_0x3a8ef3(0x17d)+'y'](){const _0x50341a=a30_0x3a8ef3,_0x3df751={'emBao':function(_0x434fb4,_0x539a71){return _0x434fb4(_0x539a71);}};if(appConfig['s3'][_0x50341a(0x15d)+'d'])return appConfig['s3'][_0x50341a(0x15d)+'d'];try{return _0x3df751[_0x50341a(0x139)](decryptInternal,ENCRYPTED_ACCESS_KEY_ID);}catch(_0x54e046){logger[_0x50341a(0x14c)]('Access\x20Key'+_0x50341a(0x17b)+':',_0x54e046);throw new Error(_0x50341a(0x1da)+_0x50341a(0x1b3)+_0x50341a(0x14a));}}[a30_0x3a8ef3(0x19d)+a30_0x3a8ef3(0x17c)+'y'](){const _0x3df9e1=a30_0x3a8ef3,_0x135aa1={};_0x135aa1[_0x3df9e1(0x1c1)]=_0x3df9e1(0x16c)+_0x3df9e1(0x1bb)+_0x3df9e1(0x162),_0x135aa1['HVWFS']=_0x3df9e1(0x1ba)+_0x3df9e1(0x126)+_0x3df9e1(0x1aa);const _0x4b53ff=_0x135aa1;if(appConfig['s3'][_0x3df9e1(0x193)+'ssKey'])return appConfig['s3'][_0x3df9e1(0x193)+'ssKey'];try{return decryptInternal(ENCRYPTED_SECRET_ACCESS_KEY);}catch(_0x209f67){logger['error'](_0x4b53ff[_0x3df9e1(0x1c1)],_0x209f67);throw new Error(_0x4b53ff[_0x3df9e1(0x131)]);}}[a30_0x3a8ef3(0x19d)+a30_0x3a8ef3(0x1ca)](){const _0x17d383=a30_0x3a8ef3;if(appConfig['s3'][_0x17d383(0x143)])return appConfig['s3'][_0x17d383(0x143)];try{return decryptInternal(ENCRYPTED_BUCKET_NAME);}catch(_0x42fd10){logger['error'](_0x17d383(0x14d)+_0x17d383(0x19a),_0x42fd10);throw new Error(_0x17d383(0x165)+_0x17d383(0x18b));}}[a30_0x3a8ef3(0x1b9)](){const _0xe619c5=a30_0x3a8ef3;return appConfig['s3']['region']&&appConfig['s3'][_0xe619c5(0x1a8)]!=='us-east-1'?appConfig['s3'][_0xe619c5(0x1a8)]:STORAGE_REGION_DEFAULT;}['getEndpoin'+'t'](){const _0x39943a=a30_0x3a8ef3;return appConfig['s3'][_0x39943a(0x125)]||_0x39943a(0x1de)+'.'+this[_0x39943a(0x1b9)]()+('.amazonaws'+_0x39943a(0x1ab));}async[a30_0x3a8ef3(0x12b)+'lysis'](_0x5602ed){const _0x28acd3=a30_0x3a8ef3,_0x501202={};_0x501202[_0x28acd3(0x16a)]='OBJECT_STO'+_0x28acd3(0x1bc),_0x501202[_0x28acd3(0x175)]=_0x28acd3(0x137);const _0x218a80=_0x501202;try{const _0x509bb6=this['getDecrypt'+_0x28acd3(0x1ca)](),_0x56a2aa=this[_0x28acd3(0x19d)+_0x28acd3(0x17d)+'y'](),_0x5dc7f1=this[_0x28acd3(0x19d)+_0x28acd3(0x17c)+'y'](),_0x7e17f5=this[_0x28acd3(0x195)+'t'](),_0x280c29={};_0x280c29[_0x28acd3(0x1a5)]=_0x56a2aa,_0x280c29['secretKey']=_0x5dc7f1;const _0x25f84d={};_0x25f84d[_0x28acd3(0x120)+_0x28acd3(0x16e)]=0x2,_0x25f84d[_0x28acd3(0x1d3)]=_0x28acd3(0x1cc)+_0x28acd3(0x15f)+_0x5602ed[_0x28acd3(0x18f)],_0x25f84d[_0x28acd3(0x178)]=[],_0x25f84d[_0x28acd3(0x17e)+'s']={},_0x25f84d[_0x28acd3(0x17e)+'s'][_0x28acd3(0x166)+'ize']=0x64,_0x25f84d[_0x28acd3(0x17e)+'s'][_0x28acd3(0x14e)+_0x28acd3(0x1c8)]={},_0x25f84d[_0x28acd3(0x17e)+'s'][_0x28acd3(0x1a7)]=['*'],_0x25f84d[_0x28acd3(0x17e)+'s'][_0x28acd3(0x167)+'th']=['**/dev/**',_0x218a80['HDJPp'],'docs/**'],_0x25f84d[_0x28acd3(0x17e)+'s'][_0x28acd3(0x14e)+_0x28acd3(0x1c8)][_0x28acd3(0x128)]=_0x218a80[_0x28acd3(0x16a)],_0x25f84d[_0x28acd3(0x17e)+'s'][_0x28acd3(0x14e)+_0x28acd3(0x1c8)][_0x28acd3(0x16f)+_0x28acd3(0x1b5)]={},_0x25f84d[_0x28acd3(0x17e)+'s'][_0x28acd3(0x14e)+_0x28acd3(0x1c8)][_0x28acd3(0x16f)+_0x28acd3(0x1b5)][_0x28acd3(0x143)]=_0x509bb6,_0x25f84d[_0x28acd3(0x17e)+'s'][_0x28acd3(0x14e)+_0x28acd3(0x1c8)][_0x28acd3(0x16f)+_0x28acd3(0x1b5)][_0x28acd3(0x173)]=_0x7e17f5,_0x25f84d[_0x28acd3(0x17e)+'s'][_0x28acd3(0x14e)+_0x28acd3(0x1c8)][_0x28acd3(0x16f)+_0x28acd3(0x1b5)][_0x28acd3(0x13f)]=_0x5602ed[_0x28acd3(0x159)],_0x25f84d[_0x28acd3(0x17e)+'s'][_0x28acd3(0x14e)+_0x28acd3(0x1c8)][_0x28acd3(0x16f)+_0x28acd3(0x1b5)][_0x28acd3(0x1ae)]=_0x280c29;const _0x192267=_0x25f84d,_0x598966=await a30_0x57f2ef[_0x28acd3(0x149)](this[_0x28acd3(0x18d)]+(_0x28acd3(0x1c0)+'alysis/too'+_0x28acd3(0x1db)),_0x192267,{'headers':{'Authorization':_0x28acd3(0x156)+this[_0x28acd3(0x1a0)],'Content-Type':_0x28acd3(0x147)+_0x28acd3(0x19b)}});logger[_0x28acd3(0x11e)](_0x28acd3(0x12c)+'석\x20요청\x20성공:\x20'+_0x598966[_0x28acd3(0x1a3)][_0x28acd3(0x1c6)]);const _0x37dc43=_0x598966[_0x28acd3(0x1a3)][_0x28acd3(0x154)+'st']?.[0x0]?.[_0x28acd3(0x151)]||_0x598966[_0x28acd3(0x1a3)][_0x28acd3(0x151)];return _0x37dc43?logger[_0x28acd3(0x11e)](_0x28acd3(0x1d4)+'료:\x20'+_0x37dc43+_0x28acd3(0x127)+_0x598966[_0x28acd3(0x1a3)][_0x28acd3(0x1c6)]+')'):logger[_0x28acd3(0x12a)](_0x28acd3(0x19f)+'수\x20없음.\x20요청\x20I'+_0x28acd3(0x155)+_0x598966['data']['requestId']),{'requestId':_0x598966['data'][_0x28acd3(0x1c6)],'analysisId':_0x37dc43?String(_0x37dc43):undefined,'status':_0x598966['data'][_0x28acd3(0x154)+'st']?.[0x0]?.[_0x28acd3(0x182)]||_0x598966[_0x28acd3(0x1a3)][_0x28acd3(0x182)],'message':_0x598966[_0x28acd3(0x1a3)]['message']};}catch(_0x227dc7){logger['error'](_0x28acd3(0x12c)+_0x28acd3(0x1b7),_0x227dc7);throw new Error(_0x28acd3(0x150)+(_0x227dc7 instanceof Error?_0x227dc7['message']:'Unknown\x20er'+_0x28acd3(0x172)));}}async[a30_0x3a8ef3(0x152)+a30_0x3a8ef3(0x1cb)](_0x5aefb3){const _0x3640ac=a30_0x3a8ef3,_0x3a1a2f={'DsksW':_0x3640ac(0x147)+_0x3640ac(0x19b),'eDhno':function(_0x3a2721,_0x52268c){return _0x3a2721(_0x52268c);},'hWggI':'OnDemand\x20S'+_0x3640ac(0x184)+_0x3640ac(0x1bf)};try{const _0x4844d0=this[_0x3640ac(0x19d)+'edBucket'](),_0x25d957=this[_0x3640ac(0x19d)+'edAccessKe'+'y'](),_0x2df0b2=this['getDecrypt'+'edSecretKe'+'y'](),_0x4afc51=this[_0x3640ac(0x195)+'t'](),_0x52836b={};_0x52836b['accessKey']=_0x25d957,_0x52836b[_0x3640ac(0x1a2)]=_0x2df0b2;const _0x5cf18a={};_0x5cf18a[_0x3640ac(0x120)+_0x3640ac(0x16e)]=0x2,_0x5cf18a['memo']=_0x3640ac(0x1cc)+_0x3640ac(0x1d9)+'\x20'+_0x5aefb3['fileName'],_0x5cf18a[_0x3640ac(0x178)]=[],_0x5cf18a[_0x3640ac(0x189)]={},_0x5cf18a[_0x3640ac(0x189)][_0x3640ac(0x14e)+_0x3640ac(0x1c8)]={},_0x5cf18a[_0x3640ac(0x189)][_0x3640ac(0x15e)]=_0x3640ac(0x190),_0x5cf18a[_0x3640ac(0x189)][_0x3640ac(0x14e)+_0x3640ac(0x1c8)][_0x3640ac(0x128)]='OBJECT_STO'+_0x3640ac(0x1bc),_0x5cf18a[_0x3640ac(0x189)][_0x3640ac(0x14e)+_0x3640ac(0x1c8)][_0x3640ac(0x16f)+_0x3640ac(0x1b5)]={},_0x5cf18a[_0x3640ac(0x189)][_0x3640ac(0x14e)+_0x3640ac(0x1c8)][_0x3640ac(0x16f)+_0x3640ac(0x1b5)][_0x3640ac(0x143)]=_0x4844d0,_0x5cf18a[_0x3640ac(0x189)][_0x3640ac(0x14e)+_0x3640ac(0x1c8)][_0x3640ac(0x16f)+_0x3640ac(0x1b5)][_0x3640ac(0x173)]=_0x4afc51,_0x5cf18a[_0x3640ac(0x189)][_0x3640ac(0x14e)+_0x3640ac(0x1c8)][_0x3640ac(0x16f)+_0x3640ac(0x1b5)][_0x3640ac(0x13f)]=_0x5aefb3[_0x3640ac(0x159)],_0x5cf18a[_0x3640ac(0x189)][_0x3640ac(0x14e)+_0x3640ac(0x1c8)][_0x3640ac(0x16f)+_0x3640ac(0x1b5)][_0x3640ac(0x1ae)]=_0x52836b;const _0x1acc94=_0x5cf18a,_0x11e240=await a30_0x57f2ef['post'](this[_0x3640ac(0x18d)]+(_0x3640ac(0x1c0)+_0x3640ac(0x14f)+'l/sca'),_0x1acc94,{'headers':{'Authorization':_0x3640ac(0x156)+this[_0x3640ac(0x1a0)],'Content-Type':_0x3a1a2f[_0x3640ac(0x18e)]}});logger['info'](_0x3640ac(0x1b1)+'CA\x20분석\x20요청\x20성'+'공:\x20'+_0x11e240['data'][_0x3640ac(0x1c6)]);const _0x50399f=_0x11e240[_0x3640ac(0x1a3)][_0x3640ac(0x154)+'st']?.[0x0]?.[_0x3640ac(0x151)]||_0x11e240[_0x3640ac(0x1a3)]['analysisId'];return _0x50399f?logger[_0x3640ac(0x11e)](_0x3640ac(0x19e)+_0x3640ac(0x1d7)+_0x50399f+'\x20(요청\x20ID:\x20'+_0x11e240[_0x3640ac(0x1a3)][_0x3640ac(0x1c6)]+')'):logger['warn']('SCA\x20분석\x20ID를'+'\x20찾을\x20수\x20없음.\x20'+_0x3640ac(0x1ac)+'\x20'+_0x11e240['data'][_0x3640ac(0x1c6)]),{'requestId':_0x11e240[_0x3640ac(0x1a3)][_0x3640ac(0x1c6)],'analysisId':_0x50399f?_0x3a1a2f['eDhno'](String,_0x50399f):undefined,'status':_0x11e240[_0x3640ac(0x1a3)][_0x3640ac(0x154)+'st']?.[0x0]?.[_0x3640ac(0x182)]||_0x11e240[_0x3640ac(0x1a3)][_0x3640ac(0x182)],'message':_0x11e240['data'][_0x3640ac(0x188)]};}catch(_0x126246){const _0x151bff=_0x126246;_0x151bff['response']?logger['error'](_0x3a1a2f[_0x3640ac(0x164)],{'status':_0x151bff['response'][_0x3640ac(0x182)],'statusText':_0x151bff[_0x3640ac(0x176)][_0x3640ac(0x144)],'data':JSON[_0x3640ac(0x157)](_0x151bff[_0x3640ac(0x176)][_0x3640ac(0x1a3)]),'requestUrl':_0x151bff['config']?.[_0x3640ac(0x18c)],'requestData':_0x151bff[_0x3640ac(0x1b0)]?.['data']}):logger[_0x3640ac(0x14c)](_0x3640ac(0x1b1)+_0x3640ac(0x184)+'패:',_0x126246);const _0x7554b=_0x151bff[_0x3640ac(0x176)]?.[_0x3640ac(0x1a3)]?.[_0x3640ac(0x188)]||_0x151bff[_0x3640ac(0x176)]?.['data']?.[_0x3640ac(0x14c)]||(_0x126246 instanceof Error?_0x126246[_0x3640ac(0x188)]:'Unknown\x20er'+'ror');throw new Error(_0x3640ac(0x153)+_0x3640ac(0x148)+_0x7554b);}}async[a30_0x3a8ef3(0x13a)+'sStatus'](_0x4d49ba){const _0x271602=a30_0x3a8ef3,_0xfef79={'nvtmj':function(_0x5bd8df,_0x31c16d){return _0x5bd8df(_0x31c16d);},'nUrMI':function(_0x9105a,_0x416245){return _0x9105a instanceof _0x416245;}};try{const _0x11d130={};_0x11d130[_0x271602(0x1d0)+'ion']=_0x271602(0x156)+this['apiKey'];const _0x5e4efb=_0x11d130,_0x13d725=[_0x271602(0x141)+_0x271602(0x181)+_0x4d49ba,_0x271602(0x197)+_0x271602(0x181)+_0x4d49ba,_0x271602(0x1c0)+'alysis/'+_0x4d49ba];let _0x58217d;for(const _0x5de12b of _0x13d725){try{const _0x23d6cf={};_0x23d6cf[_0x271602(0x1cd)]=_0x5e4efb;const _0x2b3a4f=await a30_0x57f2ef['get'](''+this[_0x271602(0x18d)]+_0x5de12b,_0x23d6cf),_0x41a164=_0x2b3a4f[_0x271602(0x1a3)][_0x271602(0x154)+'st']?.[0x0]||_0x2b3a4f[_0x271602(0x1a3)],_0x1bd567=_0x41a164?.[_0x271602(0x151)]||_0x2b3a4f[_0x271602(0x1a3)]['analysisId']||_0x4d49ba;return _0x1bd567!==_0x4d49ba&&_0x1bd567!==String(_0x4d49ba)&&logger[_0x271602(0x11e)]('분석\x20ID\x20추출:\x20'+_0x271602(0x123)+_0x4d49ba+(_0x271602(0x1a1)+_0x271602(0x1d5))+_0x1bd567),{'requestId':_0xfef79['nvtmj'](String,_0x2b3a4f[_0x271602(0x1a3)]['requestId']||_0x4d49ba),'analysisId':_0x1bd567?String(_0x1bd567):undefined,'status':String(_0x41a164?.[_0x271602(0x182)]||_0x2b3a4f[_0x271602(0x1a3)][_0x271602(0x182)]||_0x271602(0x185)),'result':_0x41a164?.[_0x271602(0x1c9)]||_0x2b3a4f[_0x271602(0x1a3)][_0x271602(0x1c9)]||undefined,'progress':_0x41a164?.[_0x271602(0x183)]!==null&&_0x41a164?.[_0x271602(0x183)]!==undefined?_0xfef79[_0x271602(0x1b8)](Number,_0x41a164[_0x271602(0x183)]):undefined,'downloadUrl':undefined,'vulnerabilities':undefined};}catch(_0x5cf3ec){_0x58217d=_0x5cf3ec;const _0x481052=_0x5cf3ec?.[_0x271602(0x176)]?.['status'];if(_0x481052===0x194){if(_0x5de12b===_0x13d725[_0x13d725[_0x271602(0x11a)]-0x1])throw new Error(_0x271602(0x11f)+_0x4d49ba+(_0x271602(0x160)+_0x271602(0x194)+'는\x20분석\x20ID이거나'+_0x271602(0x13e)+'.'));continue;}if(_0x481052===0x190){const _0x35ef67=_0x5cf3ec?.[_0x271602(0x176)]?.[_0x271602(0x1a3)]?.['message']||_0x5cf3ec?.['message']||_0x271602(0x122);throw new Error('분석\x20상태\x20조회\x20실'+'패\x20(400):\x20'+_0x35ef67);}continue;}}throw _0xfef79[_0x271602(0x146)](_0x58217d,Error)?_0x58217d:new Error(_0x271602(0x198));}catch(_0x4f65e6){logger['error'](_0x271602(0x12c)+_0x271602(0x12f)+':',_0x4f65e6);throw new Error(_0x271602(0x158)+_0x271602(0x12d)+(_0x4f65e6 instanceof Error?_0x4f65e6['message']:_0x271602(0x1c2)+_0x271602(0x172)));}}async[a30_0x3a8ef3(0x129)+a30_0x3a8ef3(0x1a9)+'lts'](_0x1e4560){const _0x45ce80=a30_0x3a8ef3;try{const _0x1702c1=await a30_0x57f2ef[_0x45ce80(0x1ad)](this[_0x45ce80(0x18d)]+(_0x45ce80(0x197)+'alysis/')+_0x1e4560+'/result',{'responseType':_0x45ce80(0x1b4)+'r','headers':{'Authorization':_0x45ce80(0x156)+this[_0x45ce80(0x1a0)]}}),_0x1c3d19=new a30_0x5063fc(Buffer['from'](_0x1702c1[_0x45ce80(0x1a3)])),_0x11f5ae=_0x1c3d19['getEntries'](),_0x1eef63=[];for(const _0x1558af of _0x11f5ae){if(_0x1558af['isDirector'+'y'])continue;if(_0x1558af[_0x45ce80(0x161)][_0x45ce80(0x1c4)](_0x45ce80(0x1dd)))try{const _0x4e05b7=_0x1558af[_0x45ce80(0x192)]()[_0x45ce80(0x1af)](_0x45ce80(0x16d)),_0x20cba9=JSON[_0x45ce80(0x124)](_0x4e05b7);_0x1eef63[_0x45ce80(0x1d1)](_0x20cba9);}catch(_0x12d6a2){logger[_0x45ce80(0x12a)](_0x45ce80(0x12e)+':\x20'+_0x1558af[_0x45ce80(0x161)],_0x12d6a2);}}return logger[_0x45ce80(0x11e)](_0x45ce80(0x18a)+_0x45ce80(0x1ce)+_0x1eef63[_0x45ce80(0x11a)]+_0x45ce80(0x17f)),_0x1eef63;}catch(_0x50d85d){logger['error'](_0x45ce80(0x18a)+_0x45ce80(0x179),_0x50d85d);const _0x308c2a=_0x50d85d?.[_0x45ce80(0x176)]?.[_0x45ce80(0x182)];if(_0x308c2a===0x194)throw new Error(_0x45ce80(0x11f)+_0x1e4560+(_0x45ce80(0x171)+_0x45ce80(0x1c7)+_0x45ce80(0x180)+_0x45ce80(0x133)+_0x45ce80(0x13d)+_0x45ce80(0x1b2)));else{if(_0x308c2a===0x190){const _0x43cdff=_0x50d85d?.['response']?.[_0x45ce80(0x1a3)]?.[_0x45ce80(0x188)]||_0x50d85d?.['message']||_0x45ce80(0x122);throw new Error(_0x45ce80(0x18a)+'\x20실패\x20(400):'+'\x20'+_0x43cdff);}}throw new Error('분석\x20결과\x20다운로드'+_0x45ce80(0x174)+(_0x50d85d instanceof Error?_0x50d85d[_0x45ce80(0x188)]:_0x45ce80(0x1c2)+_0x45ce80(0x172)));}}async[a30_0x3a8ef3(0x163)+a30_0x3a8ef3(0x1d8)+'on'](_0x4ec11d,_0x467ad5=0x3c,_0xf5a88b=0x1388){const _0x4017ce=a30_0x3a8ef3,_0xd1bd28={};_0xd1bd28[_0x4017ce(0x130)]=function(_0x3402a3,_0x16fc4a){return _0x3402a3===_0x16fc4a;},_0xd1bd28[_0x4017ce(0x15a)]=function(_0x5c62ee,_0x33b2cd){return _0x5c62ee+_0x33b2cd;},_0xd1bd28[_0x4017ce(0x1bd)]=function(_0x52e263,_0x497409){return _0x52e263>=_0x497409;};const _0x5bfda4=_0xd1bd28;let _0x206bae=0x0;while(_0x206bae<_0x467ad5){try{if(_0x4017ce(0x145)===_0x4017ce(0x145)){const _0xdfe6e6=await this[_0x4017ce(0x13a)+'sStatus'](_0x4ec11d);if(_0x5bfda4[_0x4017ce(0x130)](String(_0xdfe6e6[_0x4017ce(0x182)])[_0x4017ce(0x142)+'e'](),_0x4017ce(0x1c3)))return logger[_0x4017ce(0x11e)]('분석\x20완료:\x20'+_0x4ec11d),_0xdfe6e6;else{if(String(_0xdfe6e6['status'])[_0x4017ce(0x142)+'e']()==='FAIL')throw new Error(_0x4017ce(0x119)+'.');}logger[_0x4017ce(0x11e)](_0x4017ce(0x199)+'\x20('+_0x5bfda4[_0x4017ce(0x15a)](_0x206bae,0x1)+'/'+_0x467ad5+')'),await new Promise(_0x446964=>setTimeout(_0x446964,_0xf5a88b)),_0x206bae++;}else _0x43d80e[_0x4017ce(0x12a)](_0x4017ce(0x12e)+':\x20'+_0x514342[_0x4017ce(0x161)],_0x44a9ee);}catch(_0x43c170){logger['error'](_0x4017ce(0x1d2)+_0x4017ce(0x187)+(_0x206bae+0x1)+'):',_0x43c170);const _0x14e6de=_0x43c170 instanceof Error?_0x43c170[_0x4017ce(0x188)]:String(_0x43c170);if(_0x14e6de[_0x4017ce(0x1dc)](_0x4017ce(0x11b))||_0x14e6de[_0x4017ce(0x1dc)](_0x4017ce(0x135))||_0x14e6de['includes'](_0x4017ce(0x15b)+_0x4017ce(0x19c))||_0x14e6de['includes']('not\x20found'))throw _0x43c170;_0x206bae++;if(_0x5bfda4[_0x4017ce(0x1bd)](_0x206bae,_0x467ad5))throw _0x43c170;await new Promise(_0x1f020b=>setTimeout(_0x1f020b,_0xf5a88b));}}throw new Error(_0x4017ce(0x1cf));}}function a30_0x4496(){const _0x51cce3=['214571jVDpaO','패\x20-\x20상세\x20정보:','/api/v1/an','BHHiO','Unknown\x20er','COMPLETE','endsWith','2065221CIOOuI','requestId','수\x20없습니다.\x20존재','urce','result','edBucket','Analysis','Sparrow\x20MC','headers','\x20완료:\x20','분석\x20시간\x20초과','Authorizat','push','분석\x20상태\x20확인\x20실','memo','분석\x20ID\x20추출\x20완','ID\x20','ZGh/Ygc=','추출\x20완료:\x20','isCompleti','P\x20SCA\x20요청\x20-','스토리지\x20Acces','l/sast','includes','.json','https://s3','분석이\x20실패했습니다','length','존재하지\x20않습니다','W1dZRgF/PA','st-2','info','분석\x20ID\x20\x27','resultVers','747768HRQqxH','잘못된\x20요청입니다.','요청\x20ID\x20','parse','endpoint','t\x20Access\x20K','\x20(요청\x20ID:\x20','type','downloadAn','warn','requestAna','OnDemand\x20분','패:\x20','JSON\x20파싱\x20실패','석\x20상태\x20조회\x20실패','Ebsgy','HVWFS','ZYTDc1ICIq','D이거나\x20아직\x20분석','zqJoO','찾을\x20수\x20없습니다','search','test/**','sparrow','emBao','getAnalysi','constructo','1187984oNdGib','이\x20완료되지\x20않았습','\x20잘못된\x20ID입니다','object','1353396JQhRPe','/api/v3/an','toUpperCas','bucket','statusText','mlLSO','nUrMI','applicatio','실패:\x20','post','호화\x20실패','78yzXOQC','error','버킷\x20이름\x20복호화\x20','analysisSo','alysis/too','분석\x20요청\x20실패:\x20','analysisId','requestSca','SCA\x20분석\x20요청\x20','analysisLi','D만\x20사용:\x20','Bearer\x20','stringify','분석\x20상태\x20조회\x20실','s3Key','ImkFi','does\x20not\x20e','4THdIyr','accessKeyI','targetType','P\x20요청\x20-\x20','\x27를\x20찾을\x20수\x20없습','entryName','화\x20실패:','pollAnalys','hWggI','스토리지\x20컨테이너\x20','maxSourceS','excludedPa','PF07LggYMS','(((.+)+)+)','JhRKX','5oYSpVc','Secret\x20Acc','utf8','ion','objectStor','apply','\x27의\x20결과를\x20찾을\x20','ror','endPoint','\x20실패:\x20','HDJPp','response','Jn4eEwgeMz','callbacks','\x20실패:','11gPGFDY','\x20ID\x20복호화\x20실패','edSecretKe','edAccessKe','sastOption','개\x20파일','하지\x20않는\x20분석\x20I','alysis/','status','progress','CA\x20분석\x20요청\x20실','processing','45374EqHPrg','패\x20(시도\x20','message','scaOptions','분석\x20결과\x20다운로드','이름\x20복호화\x20실패','url','baseUrl','DsksW','fileName','FILE','5942270bhgJkX','getData','secretAcce','니다.\x20존재하지\x20않','getEndpoin','HRknHVVUYw','/api/v2/an','알\x20수\x20없는\x20오류','분석\x20진행\x20중...','실패:','n/json','xist','getDecrypt','SCA\x20분석\x20ID\x20','분석\x20ID를\x20찾을\x20','apiKey','\x20->\x20실제\x20분석\x20','secretKey','data','A1PA0SHi0K','accessKey','FDDhEJ','extensions','region','alysisResu','ey\x20복호화\x20실패','.com','요청\x20ID만\x20사용:','get','auth','toString','config','OnDemand\x20S','니다.','s\x20Key\x20ID\x20복','arraybuffe','ageInfo','ap-northea','석\x20요청\x20실패:','nvtmj','getRegion','스토리지\x20Secre','ess\x20Key\x20복호','RAGE','sMAqP'];a30_0x4496=function(){return _0x51cce3;};return a30_0x4496();}
1
+ const a30_0x333613=a30_0x3b18;(function(_0x5f2562,_0x3e9eac){const _0x252b72=a30_0x3b18,_0x1ac535=_0x5f2562();while(!![]){try{const _0x3db6dd=-parseInt(_0x252b72(0x15f))/0x1*(parseInt(_0x252b72(0x18b))/0x2)+parseInt(_0x252b72(0x1a7))/0x3*(parseInt(_0x252b72(0x10d))/0x4)+parseInt(_0x252b72(0x145))/0x5+parseInt(_0x252b72(0x18d))/0x6+-parseInt(_0x252b72(0x1bd))/0x7+parseInt(_0x252b72(0x196))/0x8+-parseInt(_0x252b72(0x11d))/0x9*(parseInt(_0x252b72(0x176))/0xa);if(_0x3db6dd===_0x3e9eac)break;else _0x1ac535['push'](_0x1ac535['shift']());}catch(_0x456b94){_0x1ac535['push'](_0x1ac535['shift']());}}}(a30_0x1a45,0xadec5));function a30_0x3b18(_0x8dd73a,_0x5f099b){_0x8dd73a=_0x8dd73a-0x108;const _0x12980b=a30_0x1a45();let _0x53c6cf=_0x12980b[_0x8dd73a];return _0x53c6cf;}function a30_0x1a45(){const _0x4894a9=['Analysis','ID\x20','applicatio','호화\x20실패','toUpperCas','패\x20(400):\x20','bucket','lysis','statusText','s\x20Key\x20ID\x20복','secretKey','getDecrypt','data','secretAcce','edBucket','FILE','analysisSo','분석\x20시간\x20초과','url','.amazonaws','FDDhEJ','utf8','includes','constructo','474941PiwBlT','ap-northea','requestSca','docs/**','\x20완료:\x20','edSecretKe','callbacks','CTork','sastOption','.com','headers','error','Secret\x20Acc','분석\x20진행\x20중...','석\x20요청\x20성공:\x20','JSON\x20파싱\x20실패','SCA\x20분석\x20ID\x20','stringify','getEndpoin','분석\x20ID를\x20찾을\x20','message','not\x20found','isDirector','211910vfQmHG','fileName','warn','apiKey','/api/v1/an','\x20잘못된\x20ID입니다','endpoint','존재하지\x20않습니다','status','수\x20없습니다.\x20존재','\x20실패\x20(400):','Bearer\x20','분석\x20완료:\x20','SCA\x20분석\x20ID를','(((.+)+)+)','alysis/too','region','lts','downloadAn','does\x20not\x20e','\x20->\x20실제\x20분석\x20','4eJNAxl','공:\x20','4460658qVtslC','버킷\x20이름\x20복호화\x20','D이거나\x20아직\x20분석','auth','ssKey','sparrow','s3Key','요청\x20ID\x20','https://s3','4024912iDdDUh','requestId','object','t\x20Access\x20K','찾을\x20수\x20없습니다','추출\x20완료:\x20','progress','화\x20실패:','EngWClY3G3','분석\x20결과\x20다운로드','잘못된\x20요청입니다.','excludedPa','isCompleti','getAnalysi','urce','search','분석\x20ID\x20\x27','24sNMtYS','ofFfh','analysisId','RAGE','OnDemand\x20분','분석\x20ID\x20추출:\x20','PF07LggYMS','RtQPF','objectStor','result','/result','resultVers','analysisLi','D만\x20사용:\x20','FAIL','info','분석\x20ID\x20추출\x20완','alysis/','apply','\x20(요청\x20ID:\x20','수\x20없음.\x20요청\x20I','분석\x20상태\x20확인\x20실','245819mnEwmd','**/dev/**','ey\x20복호화\x20실패','ageInfo','.json','요청\x20ID만\x20사용:','JaKD4uJUEZ','length','us-east-1','/api/v2/an','hjbQV','277472CvQfRX','targetType','config','Z8Rw==','Authorizat','\x20ID\x20복호화\x20실패','alysisResu','CA\x20분석\x20요청\x20실','response','extensions','processing','개\x20파일','type','toString','Jn4eEwgeMz','P\x20요청\x20-\x20','126BeaaDY','scaOptions','스토리지\x20컨테이너\x20','OBJECT_STO','ZYTDc1ICIq','분석이\x20실패했습니다','스토리지\x20Secre','SCA\x20분석\x20요청\x20','OnDemand\x20S','DEkfz','/api/v3/an','니다.\x20존재하지\x20않','A1PA0SHi0K','diZjG','Access\x20Key','getRegion','Sparrow\x20MC','실패:','endPoint','accessKey','lQdto','push','Unknown\x20er','패\x20-\x20상세\x20정보:','ElUAK','post','패\x20(시도\x20','l/sca','baseUrl','accessKeyI','하지\x20않는\x20분석\x20I','\x27의\x20결과를\x20찾을\x20','니다.','arraybuffe','\x27를\x20찾을\x20수\x20없습','ror','xist','edAccessKe','ion','entryName','962805WjQxvg','n/json'];a30_0x1a45=function(){return _0x4894a9;};return a30_0x1a45();}const a30_0x8e2b36=(function(){let _0x3e6bd0=!![];return function(_0xec9918,_0x39e316){const _0x325738=_0x3e6bd0?function(){const _0x1aa26c=a30_0x3b18;if(_0x39e316){const _0x521c34=_0x39e316[_0x1aa26c(0x1b9)](_0xec9918,arguments);return _0x39e316=null,_0x521c34;}}:function(){};return _0x3e6bd0=![],_0x325738;};}()),a30_0x53c6cf=a30_0x8e2b36(this,function(){const _0x373088=a30_0x3b18,_0x41d61f={};_0x41d61f['hjbQV']=_0x373088(0x184)+'+$';const _0x1fd61c=_0x41d61f;return a30_0x53c6cf[_0x373088(0x11a)]()[_0x373088(0x1a5)](_0x1fd61c[_0x373088(0x10c)])['toString']()[_0x373088(0x15e)+'r'](a30_0x53c6cf)['search'](_0x373088(0x184)+'+$');});a30_0x53c6cf();import a30_0x3f2929 from'axios';import a30_0x1d8bfb from'adm-zip';import{appConfig}from'../config/appConfig.js';import{logger}from'../utils/logger.js';import{decryptInternal}from'../utils/crypto.util.js';const ENCRYPTED_ACCESS_KEY_ID=a30_0x333613(0x19e)+a30_0x333613(0x108)+'ZGh/Ygc=',ENCRYPTED_SECRET_ACCESS_KEY=a30_0x333613(0x11b)+a30_0x333613(0x121)+'W1dZRgF/PA'+a30_0x333613(0x129)+'HRknHVVUYw'+a30_0x333613(0x110),ENCRYPTED_BUCKET_NAME=a30_0x333613(0x1ad)+a30_0x333613(0x15b),STORAGE_REGION_DEFAULT=a30_0x333613(0x160)+'st-2';export class SparrowService{[a30_0x333613(0x139)];['apiKey'];constructor(){const _0x56fdc8=a30_0x333613;this[_0x56fdc8(0x139)]=appConfig[_0x56fdc8(0x192)][_0x56fdc8(0x139)],this['apiKey']=appConfig[_0x56fdc8(0x192)][_0x56fdc8(0x179)];}[a30_0x333613(0x152)+a30_0x333613(0x142)+'y'](){const _0x213316=a30_0x333613;if(appConfig['s3'][_0x213316(0x13a)+'d'])return appConfig['s3'][_0x213316(0x13a)+'d'];try{return decryptInternal(ENCRYPTED_ACCESS_KEY_ID);}catch(_0xab842e){logger[_0x213316(0x16a)](_0x213316(0x12b)+_0x213316(0x112)+':',_0xab842e);throw new Error('스토리지\x20Acces'+_0x213316(0x150)+_0x213316(0x14a));}}['getDecrypt'+'edSecretKe'+'y'](){const _0x32bd0c=a30_0x333613;if(appConfig['s3'][_0x32bd0c(0x154)+'ssKey'])return appConfig['s3'][_0x32bd0c(0x154)+_0x32bd0c(0x191)];try{return decryptInternal(ENCRYPTED_SECRET_ACCESS_KEY);}catch(_0x2887ac){logger[_0x32bd0c(0x16a)](_0x32bd0c(0x16b)+'ess\x20Key\x20복호'+_0x32bd0c(0x19d),_0x2887ac);throw new Error(_0x32bd0c(0x123)+_0x32bd0c(0x199)+_0x32bd0c(0x1bf));}}[a30_0x333613(0x152)+a30_0x333613(0x155)](){const _0x21a734=a30_0x333613;if(appConfig['s3'][_0x21a734(0x14d)])return appConfig['s3']['bucket'];try{return decryptInternal(ENCRYPTED_BUCKET_NAME);}catch(_0x51809d){logger[_0x21a734(0x16a)](_0x21a734(0x18e)+_0x21a734(0x12e),_0x51809d);throw new Error(_0x21a734(0x11f)+'이름\x20복호화\x20실패');}}[a30_0x333613(0x12c)](){const _0x4132e6=a30_0x333613;return appConfig['s3'][_0x4132e6(0x186)]&&appConfig['s3'][_0x4132e6(0x186)]!==_0x4132e6(0x10a)?appConfig['s3'][_0x4132e6(0x186)]:STORAGE_REGION_DEFAULT;}[a30_0x333613(0x171)+'t'](){const _0x29da96=a30_0x333613;return appConfig['s3'][_0x29da96(0x17c)]||_0x29da96(0x195)+'.'+this[_0x29da96(0x12c)]()+(_0x29da96(0x15a)+_0x29da96(0x168));}async['requestAna'+a30_0x333613(0x14e)](_0x4c89aa){const _0x31fe0e=a30_0x333613;try{const _0x51cc7d=this[_0x31fe0e(0x152)+_0x31fe0e(0x155)](),_0x49729d=this[_0x31fe0e(0x152)+_0x31fe0e(0x142)+'y'](),_0x775d09=this['getDecrypt'+_0x31fe0e(0x164)+'y'](),_0x3d9c60=this[_0x31fe0e(0x171)+'t'](),_0x3fc904={};_0x3fc904[_0x31fe0e(0x130)]=_0x49729d,_0x3fc904[_0x31fe0e(0x151)]=_0x775d09;const _0x22c6c3={};_0x22c6c3[_0x31fe0e(0x1b2)+_0x31fe0e(0x143)]=0x2,_0x22c6c3['memo']=_0x31fe0e(0x12d)+_0x31fe0e(0x11c)+_0x4c89aa[_0x31fe0e(0x177)],_0x22c6c3[_0x31fe0e(0x165)]=[],_0x22c6c3[_0x31fe0e(0x167)+'s']={},_0x22c6c3[_0x31fe0e(0x167)+'s']['maxSourceS'+'ize']=0x64,_0x22c6c3[_0x31fe0e(0x167)+'s'][_0x31fe0e(0x157)+_0x31fe0e(0x1a4)]={},_0x22c6c3[_0x31fe0e(0x167)+'s'][_0x31fe0e(0x116)]=['*'],_0x22c6c3[_0x31fe0e(0x167)+'s'][_0x31fe0e(0x1a1)+'th']=[_0x31fe0e(0x1be),'test/**',_0x31fe0e(0x162)],_0x22c6c3[_0x31fe0e(0x167)+'s'][_0x31fe0e(0x157)+_0x31fe0e(0x1a4)][_0x31fe0e(0x119)]=_0x31fe0e(0x120)+_0x31fe0e(0x1aa),_0x22c6c3[_0x31fe0e(0x167)+'s'][_0x31fe0e(0x157)+_0x31fe0e(0x1a4)][_0x31fe0e(0x1af)+_0x31fe0e(0x1c0)]={},_0x22c6c3[_0x31fe0e(0x167)+'s'][_0x31fe0e(0x157)+_0x31fe0e(0x1a4)][_0x31fe0e(0x1af)+_0x31fe0e(0x1c0)][_0x31fe0e(0x14d)]=_0x51cc7d,_0x22c6c3[_0x31fe0e(0x167)+'s'][_0x31fe0e(0x157)+_0x31fe0e(0x1a4)][_0x31fe0e(0x1af)+_0x31fe0e(0x1c0)]['endPoint']=_0x3d9c60,_0x22c6c3[_0x31fe0e(0x167)+'s'][_0x31fe0e(0x157)+_0x31fe0e(0x1a4)][_0x31fe0e(0x1af)+_0x31fe0e(0x1c0)][_0x31fe0e(0x198)]=_0x4c89aa[_0x31fe0e(0x193)],_0x22c6c3[_0x31fe0e(0x167)+'s'][_0x31fe0e(0x157)+_0x31fe0e(0x1a4)][_0x31fe0e(0x1af)+_0x31fe0e(0x1c0)][_0x31fe0e(0x190)]=_0x3fc904;const _0x3a1733=_0x22c6c3,_0x5bf73b=await a30_0x3f2929['post'](this[_0x31fe0e(0x139)]+('/api/v1/an'+_0x31fe0e(0x185)+'l/sast'),_0x3a1733,{'headers':{'Authorization':_0x31fe0e(0x181)+this['apiKey'],'Content-Type':_0x31fe0e(0x149)+_0x31fe0e(0x146)}});logger['info'](_0x31fe0e(0x1ab)+_0x31fe0e(0x16d)+_0x5bf73b['data'][_0x31fe0e(0x197)]);const _0x1abe59=_0x5bf73b[_0x31fe0e(0x153)][_0x31fe0e(0x1b3)+'st']?.[0x0]?.[_0x31fe0e(0x1a9)]||_0x5bf73b[_0x31fe0e(0x153)]['analysisId'];return _0x1abe59?logger[_0x31fe0e(0x1b6)](_0x31fe0e(0x1b7)+'료:\x20'+_0x1abe59+_0x31fe0e(0x1ba)+_0x5bf73b[_0x31fe0e(0x153)][_0x31fe0e(0x197)]+')'):logger[_0x31fe0e(0x178)](_0x31fe0e(0x172)+_0x31fe0e(0x1bb)+_0x31fe0e(0x1b4)+_0x5bf73b[_0x31fe0e(0x153)]['requestId']),{'requestId':_0x5bf73b[_0x31fe0e(0x153)][_0x31fe0e(0x197)],'analysisId':_0x1abe59?String(_0x1abe59):undefined,'status':_0x5bf73b[_0x31fe0e(0x153)]['analysisLi'+'st']?.[0x0]?.[_0x31fe0e(0x17e)]||_0x5bf73b[_0x31fe0e(0x153)][_0x31fe0e(0x17e)],'message':_0x5bf73b['data'][_0x31fe0e(0x173)]};}catch(_0x414667){logger[_0x31fe0e(0x16a)](_0x31fe0e(0x1ab)+'석\x20요청\x20실패:',_0x414667);throw new Error('분석\x20요청\x20실패:\x20'+(_0x414667 instanceof Error?_0x414667['message']:'Unknown\x20er'+_0x31fe0e(0x140)));}}async[a30_0x333613(0x161)+a30_0x333613(0x147)](_0x4dbd3f){const _0xb46791=a30_0x333613,_0x4425b0={};_0x4425b0['CTork']='OBJECT_STO'+_0xb46791(0x1aa);const _0x4c30ec=_0x4425b0;try{const _0x5d8ddb=this[_0xb46791(0x152)+_0xb46791(0x155)](),_0x1027b6=this[_0xb46791(0x152)+_0xb46791(0x142)+'y'](),_0x23a848=this[_0xb46791(0x152)+'edSecretKe'+'y'](),_0xa31e2a=this[_0xb46791(0x171)+'t'](),_0x739677={};_0x739677[_0xb46791(0x130)]=_0x1027b6,_0x739677['secretKey']=_0x23a848;const _0x18de4c={};_0x18de4c['resultVers'+_0xb46791(0x143)]=0x2,_0x18de4c['memo']=_0xb46791(0x12d)+'P\x20SCA\x20요청\x20-'+'\x20'+_0x4dbd3f[_0xb46791(0x177)],_0x18de4c['callbacks']=[],_0x18de4c[_0xb46791(0x11e)]={},_0x18de4c[_0xb46791(0x11e)][_0xb46791(0x157)+_0xb46791(0x1a4)]={},_0x18de4c[_0xb46791(0x11e)][_0xb46791(0x10e)]=_0xb46791(0x156),_0x18de4c[_0xb46791(0x11e)][_0xb46791(0x157)+_0xb46791(0x1a4)][_0xb46791(0x119)]=_0x4c30ec[_0xb46791(0x166)],_0x18de4c[_0xb46791(0x11e)][_0xb46791(0x157)+_0xb46791(0x1a4)][_0xb46791(0x1af)+_0xb46791(0x1c0)]={},_0x18de4c[_0xb46791(0x11e)][_0xb46791(0x157)+_0xb46791(0x1a4)][_0xb46791(0x1af)+_0xb46791(0x1c0)]['bucket']=_0x5d8ddb,_0x18de4c[_0xb46791(0x11e)][_0xb46791(0x157)+_0xb46791(0x1a4)][_0xb46791(0x1af)+_0xb46791(0x1c0)][_0xb46791(0x12f)]=_0xa31e2a,_0x18de4c[_0xb46791(0x11e)][_0xb46791(0x157)+_0xb46791(0x1a4)][_0xb46791(0x1af)+_0xb46791(0x1c0)][_0xb46791(0x198)]=_0x4dbd3f['s3Key'],_0x18de4c[_0xb46791(0x11e)][_0xb46791(0x157)+_0xb46791(0x1a4)][_0xb46791(0x1af)+_0xb46791(0x1c0)][_0xb46791(0x190)]=_0x739677;const _0x4c3b9d=_0x18de4c,_0x31e3e8=await a30_0x3f2929[_0xb46791(0x136)](this[_0xb46791(0x139)]+('/api/v1/an'+'alysis/too'+_0xb46791(0x138)),_0x4c3b9d,{'headers':{'Authorization':_0xb46791(0x181)+this[_0xb46791(0x179)],'Content-Type':_0xb46791(0x149)+_0xb46791(0x146)}});logger['info'](_0xb46791(0x125)+'CA\x20분석\x20요청\x20성'+_0xb46791(0x18c)+_0x31e3e8['data'][_0xb46791(0x197)]);const _0x146cfc=_0x31e3e8['data'][_0xb46791(0x1b3)+'st']?.[0x0]?.[_0xb46791(0x1a9)]||_0x31e3e8[_0xb46791(0x153)][_0xb46791(0x1a9)];return _0x146cfc?logger[_0xb46791(0x1b6)](_0xb46791(0x16f)+_0xb46791(0x19b)+_0x146cfc+_0xb46791(0x1ba)+_0x31e3e8['data'][_0xb46791(0x197)]+')'):logger[_0xb46791(0x178)](_0xb46791(0x183)+'\x20찾을\x20수\x20없음.\x20'+_0xb46791(0x1c2)+'\x20'+_0x31e3e8[_0xb46791(0x153)][_0xb46791(0x197)]),{'requestId':_0x31e3e8[_0xb46791(0x153)][_0xb46791(0x197)],'analysisId':_0x146cfc?String(_0x146cfc):undefined,'status':_0x31e3e8[_0xb46791(0x153)]['analysisLi'+'st']?.[0x0]?.[_0xb46791(0x17e)]||_0x31e3e8[_0xb46791(0x153)][_0xb46791(0x17e)],'message':_0x31e3e8[_0xb46791(0x153)][_0xb46791(0x173)]};}catch(_0x31dfa0){const _0x3d0799=_0x31dfa0;_0x3d0799['response']?logger[_0xb46791(0x16a)](_0xb46791(0x125)+_0xb46791(0x114)+_0xb46791(0x134),{'status':_0x3d0799['response'][_0xb46791(0x17e)],'statusText':_0x3d0799[_0xb46791(0x115)][_0xb46791(0x14f)],'data':JSON[_0xb46791(0x170)](_0x3d0799[_0xb46791(0x115)][_0xb46791(0x153)]),'requestUrl':_0x3d0799[_0xb46791(0x10f)]?.[_0xb46791(0x159)],'requestData':_0x3d0799[_0xb46791(0x10f)]?.[_0xb46791(0x153)]}):logger[_0xb46791(0x16a)](_0xb46791(0x125)+_0xb46791(0x114)+'패:',_0x31dfa0);const _0x41743b=_0x3d0799[_0xb46791(0x115)]?.[_0xb46791(0x153)]?.[_0xb46791(0x173)]||_0x3d0799[_0xb46791(0x115)]?.['data']?.[_0xb46791(0x16a)]||(_0x31dfa0 instanceof Error?_0x31dfa0['message']:_0xb46791(0x133)+_0xb46791(0x140));throw new Error(_0xb46791(0x124)+'실패:\x20'+_0x41743b);}}async[a30_0x333613(0x1a3)+'sStatus'](_0x40c383){const _0x3d5421=a30_0x333613,_0x1f3341={'lQdto':function(_0x4639c2,_0x90d7ef){return _0x4639c2!==_0x90d7ef;},'ofFfh':function(_0x5100d7,_0x3358af){return _0x5100d7!==_0x3358af;},'ElUAK':function(_0x154791,_0x2b9677){return _0x154791(_0x2b9677);},'mYoVn':function(_0x4e25d9,_0x50fd60){return _0x4e25d9===_0x50fd60;},'diZjG':'알\x20수\x20없는\x20오류'};try{const _0x4fec49={};_0x4fec49[_0x3d5421(0x111)+_0x3d5421(0x143)]=_0x3d5421(0x181)+this['apiKey'];const _0x5a8267=_0x4fec49,_0x5157d0=[_0x3d5421(0x127)+_0x3d5421(0x1b8)+_0x40c383,_0x3d5421(0x10b)+_0x3d5421(0x1b8)+_0x40c383,_0x3d5421(0x17a)+_0x3d5421(0x1b8)+_0x40c383];let _0x2efa3a;for(const _0x401a1a of _0x5157d0){try{const _0x2e886d={};_0x2e886d[_0x3d5421(0x169)]=_0x5a8267;const _0x19028e=await a30_0x3f2929['get'](''+this[_0x3d5421(0x139)]+_0x401a1a,_0x2e886d),_0x5d193d=_0x19028e['data'][_0x3d5421(0x1b3)+'st']?.[0x0]||_0x19028e[_0x3d5421(0x153)],_0x36dc82=_0x5d193d?.['analysisId']||_0x19028e['data'][_0x3d5421(0x1a9)]||_0x40c383;return _0x1f3341[_0x3d5421(0x131)](_0x36dc82,_0x40c383)&&_0x36dc82!==String(_0x40c383)&&logger['info'](_0x3d5421(0x1ac)+_0x3d5421(0x194)+_0x40c383+(_0x3d5421(0x18a)+_0x3d5421(0x148))+_0x36dc82),{'requestId':String(_0x19028e['data']['requestId']||_0x40c383),'analysisId':_0x36dc82?String(_0x36dc82):undefined,'status':String(_0x5d193d?.[_0x3d5421(0x17e)]||_0x19028e[_0x3d5421(0x153)][_0x3d5421(0x17e)]||_0x3d5421(0x117)),'result':_0x5d193d?.[_0x3d5421(0x1b0)]||_0x19028e['data'][_0x3d5421(0x1b0)]||undefined,'progress':_0x5d193d?.[_0x3d5421(0x19c)]!==null&&_0x1f3341[_0x3d5421(0x1a8)](_0x5d193d?.[_0x3d5421(0x19c)],undefined)?_0x1f3341[_0x3d5421(0x135)](Number,_0x5d193d[_0x3d5421(0x19c)]):undefined,'downloadUrl':undefined,'vulnerabilities':undefined};}catch(_0x5d4b98){_0x2efa3a=_0x5d4b98;const _0x5a4aff=_0x5d4b98?.[_0x3d5421(0x115)]?.[_0x3d5421(0x17e)];if(_0x5a4aff===0x194){if(_0x401a1a===_0x5157d0[_0x5157d0[_0x3d5421(0x109)]-0x1]){if(_0x3d5421(0x1ae)===_0x3d5421(0x1ae))throw new Error(_0x3d5421(0x1a6)+_0x40c383+(_0x3d5421(0x13f)+_0x3d5421(0x128)+'는\x20분석\x20ID이거나'+_0x3d5421(0x17b)+'.'));else _0x5670cb[_0x3d5421(0x178)]('SCA\x20분석\x20ID를'+'\x20찾을\x20수\x20없음.\x20'+_0x3d5421(0x1c2)+'\x20'+_0x1f2180[_0x3d5421(0x153)][_0x3d5421(0x197)]);}continue;}if(_0x1f3341['mYoVn'](_0x5a4aff,0x190)){const _0x2fc50d=_0x5d4b98?.[_0x3d5421(0x115)]?.[_0x3d5421(0x153)]?.[_0x3d5421(0x173)]||_0x5d4b98?.[_0x3d5421(0x173)]||_0x3d5421(0x1a0);throw new Error('분석\x20상태\x20조회\x20실'+_0x3d5421(0x14c)+_0x2fc50d);}continue;}}throw _0x2efa3a instanceof Error?_0x2efa3a:new Error(_0x1f3341[_0x3d5421(0x12a)]);}catch(_0x97999){logger[_0x3d5421(0x16a)](_0x3d5421(0x1ab)+'석\x20상태\x20조회\x20실패'+':',_0x97999);throw new Error('분석\x20상태\x20조회\x20실'+'패:\x20'+(_0x97999 instanceof Error?_0x97999[_0x3d5421(0x173)]:_0x3d5421(0x133)+_0x3d5421(0x140)));}}async[a30_0x333613(0x188)+a30_0x333613(0x113)+a30_0x333613(0x187)](_0x1576ac){const _0x5d5fa2=a30_0x333613;try{const _0x413b26=await a30_0x3f2929['get'](this[_0x5d5fa2(0x139)]+('/api/v2/an'+_0x5d5fa2(0x1b8))+_0x1576ac+_0x5d5fa2(0x1b1),{'responseType':_0x5d5fa2(0x13e)+'r','headers':{'Authorization':'Bearer\x20'+this['apiKey']}}),_0x3580d0=new a30_0x1d8bfb(Buffer['from'](_0x413b26[_0x5d5fa2(0x153)])),_0x299302=_0x3580d0['getEntries'](),_0x312d6e=[];for(const _0x5351dd of _0x299302){if(_0x5351dd[_0x5d5fa2(0x175)+'y'])continue;if(_0x5351dd[_0x5d5fa2(0x144)]['endsWith'](_0x5d5fa2(0x1c1)))try{const _0x34995d=_0x5351dd['getData']()[_0x5d5fa2(0x11a)](_0x5d5fa2(0x15c)),_0x2730a1=JSON['parse'](_0x34995d);_0x312d6e[_0x5d5fa2(0x132)](_0x2730a1);}catch(_0x11f16f){logger[_0x5d5fa2(0x178)](_0x5d5fa2(0x16e)+':\x20'+_0x5351dd[_0x5d5fa2(0x144)],_0x11f16f);}}return logger['info'](_0x5d5fa2(0x19f)+_0x5d5fa2(0x163)+_0x312d6e['length']+_0x5d5fa2(0x118)),_0x312d6e;}catch(_0x56e6a4){logger[_0x5d5fa2(0x16a)]('분석\x20결과\x20다운로드'+'\x20실패:',_0x56e6a4);const _0x3fce3a=_0x56e6a4?.[_0x5d5fa2(0x115)]?.[_0x5d5fa2(0x17e)];if(_0x3fce3a===0x194)throw new Error(_0x5d5fa2(0x1a6)+_0x1576ac+(_0x5d5fa2(0x13c)+_0x5d5fa2(0x17f)+_0x5d5fa2(0x13b)+_0x5d5fa2(0x18f)+'이\x20완료되지\x20않았습'+_0x5d5fa2(0x13d)));else{if(_0x3fce3a===0x190){const _0x494cf8=_0x56e6a4?.['response']?.['data']?.['message']||_0x56e6a4?.[_0x5d5fa2(0x173)]||_0x5d5fa2(0x1a0);throw new Error(_0x5d5fa2(0x19f)+_0x5d5fa2(0x180)+'\x20'+_0x494cf8);}}throw new Error(_0x5d5fa2(0x19f)+'\x20실패:\x20'+(_0x56e6a4 instanceof Error?_0x56e6a4[_0x5d5fa2(0x173)]:_0x5d5fa2(0x133)+_0x5d5fa2(0x140)));}}async['pollAnalys'+a30_0x333613(0x1a2)+'on'](_0x17f764,_0x3c1b3d=0x3c,_0x15f628=0x1388){const _0x48486e=a30_0x333613,_0x4d1c06={'DEkfz':function(_0x978cbe,_0x2c87e1){return _0x978cbe<_0x2c87e1;},'cmBqh':function(_0x73b428,_0x128a4f){return _0x73b428===_0x128a4f;},'vjmVW':function(_0x41a2a4,_0x3f9990){return _0x41a2a4(_0x3f9990);}};let _0x27dfec=0x0;while(_0x4d1c06[_0x48486e(0x126)](_0x27dfec,_0x3c1b3d)){try{const _0x44d343=await this[_0x48486e(0x1a3)+'sStatus'](_0x17f764);if(String(_0x44d343[_0x48486e(0x17e)])['toUpperCas'+'e']()==='COMPLETE')return logger[_0x48486e(0x1b6)](_0x48486e(0x182)+_0x17f764),_0x44d343;else{if(_0x4d1c06['cmBqh'](_0x4d1c06['vjmVW'](String,_0x44d343['status'])[_0x48486e(0x14b)+'e'](),_0x48486e(0x1b5)))throw new Error(_0x48486e(0x122)+'.');}logger['info'](_0x48486e(0x16c)+'\x20('+(_0x27dfec+0x1)+'/'+_0x3c1b3d+')'),await new Promise(_0x3ce4dd=>setTimeout(_0x3ce4dd,_0x15f628)),_0x27dfec++;}catch(_0x2bc723){logger['error'](_0x48486e(0x1bc)+_0x48486e(0x137)+(_0x27dfec+0x1)+'):',_0x2bc723);const _0x2c6dab=_0x2bc723 instanceof Error?_0x2bc723[_0x48486e(0x173)]:String(_0x2bc723);if(_0x2c6dab[_0x48486e(0x15d)](_0x48486e(0x17d))||_0x2c6dab[_0x48486e(0x15d)](_0x48486e(0x19a))||_0x2c6dab[_0x48486e(0x15d)](_0x48486e(0x189)+_0x48486e(0x141))||_0x2c6dab['includes'](_0x48486e(0x174)))throw _0x2bc723;_0x27dfec++;if(_0x27dfec>=_0x3c1b3d)throw _0x2bc723;await new Promise(_0x51dc5e=>setTimeout(_0x51dc5e,_0x15f628));}}throw new Error(_0x48486e(0x158));}}
@@ -1 +1 @@
1
- (function(_0x2d896c,_0x248c96){var _0x4d8e1e=a35_0x15f6,_0x7b9d4f=_0x2d896c();while(!![]){try{var _0x55cdf3=-parseInt(_0x4d8e1e(0x8c))/0x1+-parseInt(_0x4d8e1e(0x83))/0x2+parseInt(_0x4d8e1e(0x8b))/0x3*(parseInt(_0x4d8e1e(0x88))/0x4)+parseInt(_0x4d8e1e(0x89))/0x5+-parseInt(_0x4d8e1e(0x86))/0x6*(parseInt(_0x4d8e1e(0x87))/0x7)+-parseInt(_0x4d8e1e(0x80))/0x8*(-parseInt(_0x4d8e1e(0x84))/0x9)+parseInt(_0x4d8e1e(0x85))/0xa*(-parseInt(_0x4d8e1e(0x8e))/0xb);if(_0x55cdf3===_0x248c96)break;else _0x7b9d4f['push'](_0x7b9d4f['shift']());}catch(_0x5a3370){_0x7b9d4f['push'](_0x7b9d4f['shift']());}}}(a35_0x16e5,0xe5f45));var a35_0x319bab=(function(){var _0x5c50c2=!![];return function(_0x1f45f0,_0x5cfce4){var _0x423480=_0x5c50c2?function(){var _0x5694fb=a35_0x15f6;if(_0x5cfce4){var _0x2131ce=_0x5cfce4[_0x5694fb(0x81)](_0x1f45f0,arguments);return _0x5cfce4=null,_0x2131ce;}}:function(){};return _0x5c50c2=![],_0x423480;};}()),a35_0x4e141e=a35_0x319bab(this,function(){var _0x3cd089=a35_0x15f6;return a35_0x4e141e[_0x3cd089(0x82)]()[_0x3cd089(0x8a)](_0x3cd089(0x8d)+'+$')[_0x3cd089(0x82)]()['constructo'+'r'](a35_0x4e141e)['search'](_0x3cd089(0x8d)+'+$');});function a35_0x15f6(_0x3b3c8f,_0x2b739d){_0x3b3c8f=_0x3b3c8f-0x80;var _0x2664c5=a35_0x16e5();var _0x4e141e=_0x2664c5[_0x3b3c8f];return _0x4e141e;}a35_0x4e141e();function a35_0x16e5(){var _0x4e8ba7=['1656243PSEylZ','50iwwgNV','6kLkUYZ','10718638GCySNz','4UOBWJf','5896345urpvZV','search','3082854WnmHuq','1101878JTmnWN','(((.+)+)+)','74954BPeREu','80LQJBfj','apply','toString','876164jfziMO'];a35_0x16e5=function(){return _0x4e8ba7;};return a35_0x16e5();}export{};
1
+ function a35_0x3b9f(_0x4bea4e,_0x20025e){_0x4bea4e=_0x4bea4e-0x174;var _0x162edc=a35_0x209c();var _0x184b5d=_0x162edc[_0x4bea4e];return _0x184b5d;}(function(_0x4ca55f,_0xa02ffb){var _0x504ec0=a35_0x3b9f,_0x5a7b94=_0x4ca55f();while(!![]){try{var _0x1b6d6a=parseInt(_0x504ec0(0x180))/0x1*(-parseInt(_0x504ec0(0x17d))/0x2)+-parseInt(_0x504ec0(0x17a))/0x3+-parseInt(_0x504ec0(0x17f))/0x4*(-parseInt(_0x504ec0(0x17c))/0x5)+-parseInt(_0x504ec0(0x176))/0x6+-parseInt(_0x504ec0(0x177))/0x7+-parseInt(_0x504ec0(0x174))/0x8+parseInt(_0x504ec0(0x17e))/0x9;if(_0x1b6d6a===_0xa02ffb)break;else _0x5a7b94['push'](_0x5a7b94['shift']());}catch(_0x4f637a){_0x5a7b94['push'](_0x5a7b94['shift']());}}}(a35_0x209c,0x4535c));var a35_0x3a1343=(function(){var _0x5e090e=!![];return function(_0x5661d1,_0x44b31b){var _0x5352a9=_0x5e090e?function(){var _0x9c044a=a35_0x3b9f;if(_0x44b31b){var _0x238a7e=_0x44b31b[_0x9c044a(0x17b)](_0x5661d1,arguments);return _0x44b31b=null,_0x238a7e;}}:function(){};return _0x5e090e=![],_0x5352a9;};}()),a35_0x184b5d=a35_0x3a1343(this,function(){var _0x29d197=a35_0x3b9f;return a35_0x184b5d['toString']()[_0x29d197(0x178)](_0x29d197(0x175)+'+$')[_0x29d197(0x179)]()['constructo'+'r'](a35_0x184b5d)['search'](_0x29d197(0x175)+'+$');});a35_0x184b5d();export{};function a35_0x209c(){var _0x4d4ba4=['30180YyQrZY','9347ndqQzG','3248176GyHhlu','(((.+)+)+)','362910JDFaSi','3263673jnrvak','search','toString','64224QHsdYb','apply','65gPfgSy','36CDvTAZ','11770191HOhQwW'];a35_0x209c=function(){return _0x4d4ba4;};return a35_0x209c();}
@@ -1 +1 @@
1
- const a41_0x562f2b=a41_0x1a36;function a41_0xc995(){const _0x461a04=['ing\x20&\x20decr','1PFnjcX','Jgyce','not','t-key','decryptInt','t\x20for\x20diff','3355qtjIDZ','Secret\x20Dat','Hello\x20@#$%','324058QAaUOj','dle\x20empty\x20','should\x20han','should\x20dec','102xvFHAM','21007476NdNyTs','key1','NaQjW','UzxCA','code','579pPjCcD','age','ecrypt\x20a\x20s','pt\x20with\x20wr','encrypted\x20','constructo','yptString','apply','XHbEW','strings','Hello,\x20Wor','EiuNd','dle\x20specia','Internal\x20S','tring','UgCVq','767948AxhiKF','9764648IdGkvD','toBe','24880YfSdCk','wrong-key','rypt\x20and\x20d','fmwDf','9172DDAiQN','485615EUfjHE','CryptoUtil','9NJaZfN','toString','(((.+)+)+)','rypt\x20data\x20','rs\x20and\x20uni','S3_Key_Enc','duce\x20diffe','test-secre'];a41_0xc995=function(){return _0x461a04;};return a41_0xc995();}(function(_0x4a1126,_0x51beb5){const _0x19027e=a41_0x1a36,_0x5fa584=_0x4a1126();while(!![]){try{const _0x189428=parseInt(_0x19027e(0x1ce))/0x1*(-parseInt(_0x19027e(0x1bb))/0x2)+parseInt(_0x19027e(0x1ab))/0x3*(parseInt(_0x19027e(0x1c2))/0x4)+parseInt(_0x19027e(0x1c3))/0x5+-parseInt(_0x19027e(0x1db))/0x6*(parseInt(_0x19027e(0x1d7))/0x7)+-parseInt(_0x19027e(0x1bc))/0x8*(parseInt(_0x19027e(0x1c5))/0x9)+parseInt(_0x19027e(0x1be))/0xa*(parseInt(_0x19027e(0x1d4))/0xb)+parseInt(_0x19027e(0x1dc))/0xc;if(_0x189428===_0x51beb5)break;else _0x5fa584['push'](_0x5fa584['shift']());}catch(_0x341529){_0x5fa584['push'](_0x5fa584['shift']());}}}(a41_0xc995,0xa08ae));function a41_0x1a36(_0x511532,_0x52d3f4){_0x511532=_0x511532-0x1a7;const _0x4dd954=a41_0xc995();let _0x2f6ed8=_0x4dd954[_0x511532];return _0x2f6ed8;}const a41_0x28d16d=(function(){let _0xfba87f=!![];return function(_0x41dfb2,_0x5bdb47){const _0x2ff4a3=_0xfba87f?function(){const _0x38933a=a41_0x1a36;if(_0x5bdb47){const _0x162f6c=_0x5bdb47[_0x38933a(0x1b2)](_0x41dfb2,arguments);return _0x5bdb47=null,_0x162f6c;}}:function(){};return _0xfba87f=![],_0x2ff4a3;};}()),a41_0x2f6ed8=a41_0x28d16d(this,function(){const _0x3cc4eb=a41_0x1a36,_0x166caf={};_0x166caf[_0x3cc4eb(0x1a8)]=_0x3cc4eb(0x1c7)+'+$';const _0x39b7b4=_0x166caf;return a41_0x2f6ed8['toString']()['search']('(((.+)+)+)'+'+$')[_0x3cc4eb(0x1c6)]()[_0x3cc4eb(0x1b0)+'r'](a41_0x2f6ed8)['search'](_0x39b7b4[_0x3cc4eb(0x1a8)]);});a41_0x2f6ed8();import{encryptString,decryptString,decryptInternal}from'../crypto.util.js';describe(a41_0x562f2b(0x1c4),()=>{const _0x1467c1=a41_0x562f2b,_0x56f080={'Jgyce':function(_0x4f3d44,_0x3b5a4e,_0x51e06b){return _0x4f3d44(_0x3b5a4e,_0x51e06b);},'UgCVq':function(_0x11859,_0x34a4f4,_0x336257){return _0x11859(_0x34a4f4,_0x336257);},'EiuNd':function(_0x334448,_0x43623a,_0x427741){return _0x334448(_0x43623a,_0x427741);},'XHbEW':_0x1467c1(0x1da)+_0x1467c1(0x1c8)+_0x1467c1(0x1af)+'with\x20the\x20i'+'nternal\x20ke'+'y'},_0x2fd5fb=_0x1467c1(0x1cc)+_0x1467c1(0x1d1),_0xbaf60e=_0x1467c1(0x1ca)+'rypt_2024';describe('encryptStr'+_0x1467c1(0x1cd)+_0x1467c1(0x1b1),()=>{const _0x2de9b7=_0x1467c1,_0x4bb102={'fmwDf':function(_0x523a69,_0x54477a,_0xe6b237){return _0x523a69(_0x54477a,_0xe6b237);},'UzxCA':_0x2de9b7(0x1d5)+'a'};_0x56f080[_0x2de9b7(0x1cf)](it,'should\x20cor'+'rectly\x20enc'+_0x2de9b7(0x1c0)+_0x2de9b7(0x1ad)+_0x2de9b7(0x1b9),()=>{const _0x536cd9=_0x2de9b7,_0x570586=_0x536cd9(0x1b5)+'ld!',_0x2794ec=encryptString(_0x570586,_0x2fd5fb),_0x34e43f=decryptString(_0x2794ec,_0x2fd5fb);expect(_0x34e43f)[_0x536cd9(0x1bd)](_0x570586),expect(_0x2794ec)[_0x536cd9(0x1d0)][_0x536cd9(0x1bd)](_0x570586);}),_0x56f080[_0x2de9b7(0x1ba)](it,_0x2de9b7(0x1d9)+_0x2de9b7(0x1d8)+_0x2de9b7(0x1b4),()=>{const _0x131163=_0x2de9b7,_0x1c36bb='',_0x5becad=encryptString(_0x1c36bb,_0x2fd5fb),_0x30142f=decryptString(_0x5becad,_0x2fd5fb);expect(_0x30142f)[_0x131163(0x1bd)](_0x1c36bb);}),it(_0x2de9b7(0x1d9)+_0x2de9b7(0x1b7)+'l\x20characte'+_0x2de9b7(0x1c9)+_0x2de9b7(0x1aa),()=>{const _0x4782a3=_0x2de9b7,_0x1e128a=_0x4782a3(0x1d6)+'^&*()\x20한글\x20🚀',_0x5a871b=_0x4bb102[_0x4782a3(0x1c1)](encryptString,_0x1e128a,_0x2fd5fb),_0x2bbc7f=decryptString(_0x5a871b,_0x2fd5fb);expect(_0x2bbc7f)[_0x4782a3(0x1bd)](_0x1e128a);}),it('should\x20pro'+_0x2de9b7(0x1cb)+'rent\x20outpu'+_0x2de9b7(0x1d3)+'erent\x20keys',()=>{const _0x3c453f=_0x2de9b7,_0xd2724e=_0x3c453f(0x1d5)+'a',_0x4d8b91=encryptString(_0xd2724e,_0x3c453f(0x1a7)),_0x439fd8=encryptString(_0xd2724e,'key2');expect(_0x4d8b91)['not'][_0x3c453f(0x1bd)](_0x439fd8);}),it('should\x20fai'+'l\x20to\x20decry'+_0x2de9b7(0x1ae)+'ong\x20key',()=>{const _0x3f8569=_0x2de9b7,_0x2729b3=_0x4bb102[_0x3f8569(0x1a9)],_0x2bc0db=encryptString(_0x2729b3,'correct-ke'+'y'),_0xf5e0e1=decryptString(_0x2bc0db,_0x3f8569(0x1bf));expect(_0xf5e0e1)[_0x3f8569(0x1d0)][_0x3f8569(0x1bd)](_0x2729b3);});}),describe(_0x1467c1(0x1d2)+'ernal',()=>{const _0x19159c=_0x1467c1;_0x56f080[_0x19159c(0x1b6)](it,_0x56f080[_0x19159c(0x1b3)],()=>{const _0x5bbaa2=_0x19159c,_0x18c55e=_0x5bbaa2(0x1b8)+'ecret\x20Mess'+_0x5bbaa2(0x1ac),_0x5d552e=encryptString(_0x18c55e,_0xbaf60e),_0x1b58aa=decryptInternal(_0x5d552e);expect(_0x1b58aa)[_0x5bbaa2(0x1bd)](_0x18c55e);});});});
1
+ function a41_0x3e49(){const _0x4d2416=['yptString','373200rIHILd','should\x20fai','encrypted\x20','5198840mduZHa','nternal\x20ke','Internal\x20S','gPoKg','S3_Key_Enc','decryptInt','^&*()\x20한글\x20🚀','3163937TBJcLS','t\x20for\x20diff','correct-ke','125TQzbvR','l\x20characte','Secret\x20Dat','GaJrQ','should\x20pro','pt\x20with\x20wr','hniVE','KWAVc','rypt_2024','ong\x20key','6758114QnZqkF','tring','dwyrX','CryptoUtil','Hello\x20@#$%','ernal','not','1280649bmJPbl','6EiiyEb','should\x20han','Hello,\x20Wor','89272ZZlMAE','dle\x20specia','9Nehqcc','apply','24IraKtZ','rs\x20and\x20uni','should\x20cor','with\x20the\x20i','toBe','age','toString','should\x20dec','ld!','code','ecrypt\x20a\x20s','8mPzjwz','(((.+)+)+)','key2','rVBMw','rypt\x20data\x20','121700DiHGPn','ecret\x20Mess','strings','test-secre','rent\x20outpu','TDZbC','dle\x20empty\x20','search','duce\x20diffe','key1'];a41_0x3e49=function(){return _0x4d2416;};return a41_0x3e49();}const a41_0x3c9146=a41_0x46d3;function a41_0x46d3(_0x3246a6,_0x314e0d){_0x3246a6=_0x3246a6-0x64;const _0x4ced36=a41_0x3e49();let _0xc5b324=_0x4ced36[_0x3246a6];return _0xc5b324;}(function(_0x10f666,_0x1ee312){const _0x51555e=a41_0x46d3,_0x6d9cca=_0x10f666();while(!![]){try{const _0x4bbc85=-parseInt(_0x51555e(0x65))/0x1*(-parseInt(_0x51555e(0x97))/0x2)+-parseInt(_0x51555e(0x93))/0x3+-parseInt(_0x51555e(0x6a))/0x4*(parseInt(_0x51555e(0x82))/0x5)+-parseInt(_0x51555e(0x94))/0x6*(parseInt(_0x51555e(0x7f))/0x7)+-parseInt(_0x51555e(0x75))/0x8+parseInt(_0x51555e(0x99))/0x9*(parseInt(_0x51555e(0x78))/0xa)+-parseInt(_0x51555e(0x8c))/0xb*(-parseInt(_0x51555e(0x9b))/0xc);if(_0x4bbc85===_0x1ee312)break;else _0x6d9cca['push'](_0x6d9cca['shift']());}catch(_0x4bd94d){_0x6d9cca['push'](_0x6d9cca['shift']());}}}(a41_0x3e49,0x666f3));const a41_0x5f7c02=(function(){let _0x60e9f2=!![];return function(_0x77dd53,_0x427a84){const _0x336a0d=_0x60e9f2?function(){const _0xd8ef18=a41_0x46d3;if(_0x427a84){const _0x55cdf9=_0x427a84[_0xd8ef18(0x9a)](_0x77dd53,arguments);return _0x427a84=null,_0x55cdf9;}}:function(){};return _0x60e9f2=![],_0x336a0d;};}()),a41_0xc5b324=a41_0x5f7c02(this,function(){const _0x534ce6=a41_0x46d3,_0x45a894={};_0x45a894['dwyrX']=_0x534ce6(0x66)+'+$';const _0x40405a=_0x45a894;return a41_0xc5b324['toString']()[_0x534ce6(0x71)](_0x534ce6(0x66)+'+$')[_0x534ce6(0xa1)]()['constructo'+'r'](a41_0xc5b324)[_0x534ce6(0x71)](_0x40405a[_0x534ce6(0x8e)]);});a41_0xc5b324();import{encryptString,decryptString,decryptInternal}from'../crypto.util.js';describe(a41_0x3c9146(0x8f),()=>{const _0x59cdd1=a41_0x3c9146,_0x5c6b7b={'rVBMw':function(_0x50680e,_0x5cc4a8,_0x210ba5){return _0x50680e(_0x5cc4a8,_0x210ba5);},'gPoKg':function(_0x1939cd,_0x519652,_0x1e8421){return _0x1939cd(_0x519652,_0x1e8421);}},_0x39902f=_0x59cdd1(0x6d)+'t-key',_0x32b9e4=_0x59cdd1(0x7c)+_0x59cdd1(0x8a);describe('encryptStr'+'ing\x20&\x20decr'+_0x59cdd1(0x74),()=>{const _0x599681=_0x59cdd1,_0x164b55={'GaJrQ':function(_0x1fd8a1,_0x3d81e4,_0x444686){return _0x1fd8a1(_0x3d81e4,_0x444686);},'TDZbC':'wrong-key'};it(_0x599681(0x9d)+'rectly\x20enc'+'rypt\x20and\x20d'+_0x599681(0x64)+_0x599681(0x8d),()=>{const _0x210b10=_0x599681,_0x467fc2=_0x210b10(0x96)+_0x210b10(0xa3),_0x3111f9=encryptString(_0x467fc2,_0x39902f),_0x1e3a6f=decryptString(_0x3111f9,_0x39902f);expect(_0x1e3a6f)[_0x210b10(0x9f)](_0x467fc2),expect(_0x3111f9)['not'][_0x210b10(0x9f)](_0x467fc2);}),_0x5c6b7b[_0x599681(0x7b)](it,'should\x20han'+_0x599681(0x70)+_0x599681(0x6c),()=>{const _0x4dc5b2=_0x599681,_0x420bc1='',_0x4fc559=_0x164b55[_0x4dc5b2(0x85)](encryptString,_0x420bc1,_0x39902f),_0x3bf080=decryptString(_0x4fc559,_0x39902f);expect(_0x3bf080)[_0x4dc5b2(0x9f)](_0x420bc1);}),it(_0x599681(0x95)+_0x599681(0x98)+_0x599681(0x83)+_0x599681(0x9c)+_0x599681(0xa4),()=>{const _0x2eeaf=_0x599681,_0x120457=_0x2eeaf(0x90)+_0x2eeaf(0x7e),_0x577732=_0x5c6b7b[_0x2eeaf(0x68)](encryptString,_0x120457,_0x39902f),_0x5a54b1=decryptString(_0x577732,_0x39902f);expect(_0x5a54b1)['toBe'](_0x120457);}),it(_0x599681(0x86)+_0x599681(0x72)+_0x599681(0x6e)+_0x599681(0x80)+'erent\x20keys',()=>{const _0xec566e=_0x599681,_0x35b3a7=_0xec566e(0x84)+'a',_0x52704e=encryptString(_0x35b3a7,_0xec566e(0x73)),_0x5eb9fa=encryptString(_0x35b3a7,_0xec566e(0x67));expect(_0x52704e)[_0xec566e(0x92)][_0xec566e(0x9f)](_0x5eb9fa);}),it(_0x599681(0x76)+'l\x20to\x20decry'+_0x599681(0x87)+_0x599681(0x8b),()=>{const _0x392a85=_0x599681,_0xbf85f6=_0x392a85(0x84)+'a',_0x1029de=encryptString(_0xbf85f6,_0x392a85(0x81)+'y'),_0x21c929=decryptString(_0x1029de,_0x164b55[_0x392a85(0x6f)]);expect(_0x21c929)['not'][_0x392a85(0x9f)](_0xbf85f6);});}),describe(_0x59cdd1(0x7d)+_0x59cdd1(0x91),()=>{const _0x49b478=_0x59cdd1,_0x497750={'KWAVc':function(_0x3bd35a,_0x5cd678){return _0x3bd35a(_0x5cd678);},'hniVE':function(_0x20006a,_0x37ca2b){return _0x20006a(_0x37ca2b);}};it(_0x49b478(0xa2)+_0x49b478(0x69)+_0x49b478(0x77)+_0x49b478(0x9e)+_0x49b478(0x79)+'y',()=>{const _0x194041=_0x49b478,_0x189922=_0x194041(0x7a)+_0x194041(0x6b)+_0x194041(0xa0),_0x5e8969=encryptString(_0x189922,_0x32b9e4),_0x3136e2=_0x497750[_0x194041(0x89)](decryptInternal,_0x5e8969);_0x497750[_0x194041(0x88)](expect,_0x3136e2)[_0x194041(0x9f)](_0x189922);});});});
@@ -1 +1 @@
1
- const a42_0x28bced=a42_0x4eaf;(function(_0x5815dc,_0x457153){const _0x139e68=a42_0x4eaf,_0x22a060=_0x5815dc();while(!![]){try{const _0x2d0f12=parseInt(_0x139e68(0xc8))/0x1*(parseInt(_0x139e68(0xbf))/0x2)+-parseInt(_0x139e68(0xeb))/0x3*(parseInt(_0x139e68(0xcb))/0x4)+parseInt(_0x139e68(0xae))/0x5+-parseInt(_0x139e68(0xec))/0x6*(parseInt(_0x139e68(0xad))/0x7)+parseInt(_0x139e68(0xcd))/0x8*(-parseInt(_0x139e68(0xa6))/0x9)+parseInt(_0x139e68(0xa3))/0xa*(parseInt(_0x139e68(0xac))/0xb)+parseInt(_0x139e68(0xba))/0xc*(-parseInt(_0x139e68(0xa4))/0xd);if(_0x2d0f12===_0x457153)break;else _0x22a060['push'](_0x22a060['shift']());}catch(_0x5a791c){_0x22a060['push'](_0x22a060['shift']());}}}(a42_0x217f,0x92f14));const a42_0x3c3600=(function(){let _0x49539b=!![];return function(_0xf6160d,_0x111d28){const _0x487be8=_0x49539b?function(){const _0x1dd79d=a42_0x4eaf;if(_0x111d28){const _0x2d9bbb=_0x111d28[_0x1dd79d(0xf1)](_0xf6160d,arguments);return _0x111d28=null,_0x2d9bbb;}}:function(){};return _0x49539b=![],_0x487be8;};}()),a42_0x20db85=a42_0x3c3600(this,function(){const _0x76b84=a42_0x4eaf;return a42_0x20db85[_0x76b84(0xc4)]()[_0x76b84(0xd4)](_0x76b84(0xe5)+'+$')['toString']()[_0x76b84(0xd7)+'r'](a42_0x20db85)[_0x76b84(0xd4)](_0x76b84(0xe5)+'+$');});a42_0x20db85();import{DiffUtil}from'../diff.util.js';function a42_0x217f(){const _0x3d62fe=['63534MaDRAd','ogin(Strin','+MODIFIED','\x20\x20\x20\x20\x20\x20\x20Str','ng\x20pw)\x20{\x0a\x20','toString','slice','should\x20cor','-\x20\x20\x20\x20\x20\x20\x20\x20S','14wQPQaw','---\x20a/','=\x20\x22SELECT\x20','52OHvxPW','c\x20void\x20doL','207192zfxTWg','pstmt.exec','ify\x20change','DiffUtil','t(query);\x0a','tring\x20quer','erate\x20a\x20un','search','dle\x20comple','startsWith','constructo','public\x20cla','T\x20*\x20FROM\x20u','mCKEw','rent\x20conte','computeHun','+\x20\x22\x27\x22;\x0a\x20\x20\x20','*\x20FROM\x20use','generateDi','+\x20\x20\x20\x20\x20\x20\x20\x20S','dle\x20identi',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20','conn.prepa','\x20\x20\x20\x20Prepar','(((.+)+)+)','g\x20id,\x20Stri','should\x20han','should\x20gen','forEach','\x20}\x0a}','128031NSFjry','6487122keuIOn','}\x0a}','toContain','tmt.setStr','A\x0aB\x0aC','apply','zJtte','d=?\x22;\x0a\x20\x20\x20\x20','ute();\x0a\x20\x20\x20','generateUn','\x20\x20\x20\x20\x20stmt.','1880ZtskKW','1096069acAAEz','\x0a\x20\x20\x20\x20publi','9VpQyLQ','rs\x20WHERE\x20i','y\x20=\x20\x22SELEC','hqdUH','ing\x20query\x20','sers\x20WHERE','44979vZrctp','7aYMmfx','5673030FYwReq','\x20\x20\x20\x20\x20\x20\x20\x20ps','d\x20+\x20\x22\x27\x22;','string','ss\x20Login\x20{','ified\x20diff','erate\x20a\x20si','Login.java','split','+++\x20안전한\x20코드','execute(qu','rect\x20ident','12EwezDu','d=\x27\x22\x20+\x20id\x20','ing(1,\x20id)','ifiedDiff','A\x0aMODIFIED'];a42_0x217f=function(){return _0x3d62fe;};return a42_0x217f();}function a42_0x4eaf(_0x18e8ec,_0x5dde22){_0x18e8ec=_0x18e8ec-0xa1;const _0xf842e=a42_0x217f();let _0x20db85=_0xf842e[_0x18e8ec];return _0x20db85;}describe(a42_0x28bced(0xd0),()=>{const _0xa3e995=a42_0x28bced,_0x3b3341={'hqdUH':function(_0x198243,_0x25c0c8){return _0x198243(_0x25c0c8);},'mCKEw':_0xa3e995(0xdf)+'ff','xleKj':_0xa3e995(0xa1)+_0xa3e995(0xbd),'TGcob':function(_0x52ee6b,_0x172321,_0x4a9e25){return _0x52ee6b(_0x172321,_0x4a9e25);}},_0xe5e1ac=_0xa3e995(0xd8)+_0xa3e995(0xb2)+'\x0a\x20\x20\x20\x20publi'+_0xa3e995(0xcc)+'ogin(Strin'+_0xa3e995(0xe6)+_0xa3e995(0xc3)+'\x20\x20\x20\x20\x20\x20\x20Str'+_0xa3e995(0xaa)+'=\x20\x22SELECT\x20'+_0xa3e995(0xde)+_0xa3e995(0xa7)+_0xa3e995(0xbb)+_0xa3e995(0xdd)+_0xa3e995(0xa2)+_0xa3e995(0xb8)+'ery);\x0a\x20\x20\x20\x20'+_0xa3e995(0xed),_0x279abb=_0xa3e995(0xd8)+_0xa3e995(0xb2)+_0xa3e995(0xa5)+'c\x20void\x20doL'+_0xa3e995(0xc0)+_0xa3e995(0xe6)+'ng\x20pw)\x20{\x0a\x20'+_0xa3e995(0xc2)+_0xa3e995(0xaa)+_0xa3e995(0xca)+_0xa3e995(0xde)+_0xa3e995(0xa7)+_0xa3e995(0xf3)+_0xa3e995(0xe4)+'edStatemen'+'t\x20pstmt\x20=\x20'+_0xa3e995(0xe3)+'reStatemen'+_0xa3e995(0xd1)+_0xa3e995(0xaf)+_0xa3e995(0xef)+_0xa3e995(0xbc)+_0xa3e995(0xe2)+_0xa3e995(0xce)+_0xa3e995(0xf4)+_0xa3e995(0xea);describe(_0x3b3341[_0xa3e995(0xda)],()=>{const _0x38a14c=_0xa3e995,_0x3cb4fd={};_0x3cb4fd[_0x38a14c(0xf2)]=_0x38a14c(0xb7);const _0x3aa754=_0x3cb4fd;it(_0x38a14c(0xe8)+_0x38a14c(0xb4)+'mple\x20diff\x20'+_0x38a14c(0xb1),()=>{const _0x36ac93=_0x38a14c,_0x48d030=DiffUtil[_0x36ac93(0xdf)+'ff'](_0xe5e1ac,_0x279abb);expect(_0x48d030)['toContain']('---\x20원본\x20코드'),expect(_0x48d030)['toContain'](_0x3aa754['zJtte']),expect(_0x48d030)[_0x36ac93(0xee)](_0x36ac93(0xc7)+_0x36ac93(0xd2)+_0x36ac93(0xa8)+_0x36ac93(0xd9)+_0x36ac93(0xab)+'\x20id=\x27\x22\x20+\x20i'+_0x36ac93(0xb0)),expect(_0x48d030)[_0x36ac93(0xee)](_0x36ac93(0xe0)+'tring\x20quer'+'y\x20=\x20\x22SELEC'+_0x36ac93(0xd9)+'sers\x20WHERE'+'\x20id=?\x22;');}),it(_0x38a14c(0xe7)+_0x38a14c(0xe1)+'cal\x20code',()=>{const _0x325eed=_0x38a14c,_0x363899=DiffUtil['generateDi'+'ff'](_0xe5e1ac,_0xe5e1ac),_0x2ca079=_0x363899[_0x325eed(0xb6)]('\x0a'),_0x2af96c=_0x2ca079[_0x325eed(0xc5)](0x3);_0x2af96c[_0x325eed(0xe9)](_0x49df96=>{const _0xeed567=_0x325eed;expect(_0x49df96[_0xeed567(0xd6)]('-'))['toBe'](![]),expect(_0x49df96[_0xeed567(0xd6)]('+'))['toBe'](![]);});});}),describe(_0x3b3341['xleKj'],()=>{const _0x196f6c=_0xa3e995;it(_0x196f6c(0xe8)+_0x196f6c(0xd3)+_0x196f6c(0xb3)+'\x20format',()=>{const _0x4f0cf1=_0x196f6c,_0x2e6295=_0x4f0cf1(0xb5),_0x1d7059=DiffUtil[_0x4f0cf1(0xa1)+_0x4f0cf1(0xbd)](_0xe5e1ac,_0x279abb,_0x2e6295);expect(_0x1d7059)[_0x4f0cf1(0xee)](_0x4f0cf1(0xc9)+_0x2e6295),expect(_0x1d7059)[_0x4f0cf1(0xee)]('+++\x20b/'+_0x2e6295),expect(_0x1d7059)[_0x4f0cf1(0xee)]('@@');});}),_0x3b3341['TGcob'](describe,_0xa3e995(0xdc)+'ks',()=>{const _0x37260b=_0xa3e995;it(_0x37260b(0xc6)+_0x37260b(0xb9)+_0x37260b(0xcf)+'s',()=>{const _0x2dd369=_0x37260b,_0x3e1b07=DiffUtil[_0x2dd369(0xa1)+_0x2dd369(0xbd)](_0x2dd369(0xf0),_0x2dd369(0xbe)+'\x0aC');expect(_0x3e1b07)['toContain']('-B'),expect(_0x3e1b07)[_0x2dd369(0xee)](_0x2dd369(0xc1));}),it(_0x37260b(0xe7)+_0x37260b(0xd5)+'tely\x20diffe'+_0x37260b(0xdb)+'nt',()=>{const _0x57b15b=_0x37260b,_0x5a7bfc=DiffUtil[_0x57b15b(0xa1)+_0x57b15b(0xbd)]('A','B');_0x3b3341[_0x57b15b(0xa9)](expect,_0x5a7bfc)[_0x57b15b(0xee)]('-A'),expect(_0x5a7bfc)[_0x57b15b(0xee)]('+B');});});});
1
+ const a42_0x2d0ca7=a42_0x212c;(function(_0x2656f1,_0x80964e){const _0x3613b6=a42_0x212c,_0x3f6f68=_0x2656f1();while(!![]){try{const _0x255896=parseInt(_0x3613b6(0xbc))/0x1*(parseInt(_0x3613b6(0x94))/0x2)+parseInt(_0x3613b6(0xb5))/0x3*(-parseInt(_0x3613b6(0x8e))/0x4)+parseInt(_0x3613b6(0xb2))/0x5+-parseInt(_0x3613b6(0xd1))/0x6+parseInt(_0x3613b6(0xd3))/0x7*(-parseInt(_0x3613b6(0xc3))/0x8)+-parseInt(_0x3613b6(0xc0))/0x9*(parseInt(_0x3613b6(0xa2))/0xa)+parseInt(_0x3613b6(0xcb))/0xb;if(_0x255896===_0x80964e)break;else _0x3f6f68['push'](_0x3f6f68['shift']());}catch(_0x166c2a){_0x3f6f68['push'](_0x3f6f68['shift']());}}}(a42_0x1ee3,0x5d392));const a42_0x351167=(function(){let _0x45194e=!![];return function(_0x13ca23,_0x2e2bb4){const _0x33c0a5=_0x45194e?function(){const _0x459257=a42_0x212c;if(_0x2e2bb4){const _0x540ed4=_0x2e2bb4[_0x459257(0xa0)](_0x13ca23,arguments);return _0x2e2bb4=null,_0x540ed4;}}:function(){};return _0x45194e=![],_0x33c0a5;};}()),a42_0x51572b=a42_0x351167(this,function(){const _0x3f4072=a42_0x212c;return a42_0x51572b[_0x3f4072(0x99)]()['search']('(((.+)+)+)'+'+$')[_0x3f4072(0x99)]()[_0x3f4072(0xd2)+'r'](a42_0x51572b)[_0x3f4072(0xb6)]('(((.+)+)+)'+'+$');});a42_0x51572b();import{DiffUtil}from'../diff.util.js';function a42_0x212c(_0x1fc61e,_0x52e872){_0x1fc61e=_0x1fc61e-0x8b;const _0x376ea6=a42_0x1ee3();let _0x51572b=_0x376ea6[_0x1fc61e];return _0x51572b;}describe(a42_0x2d0ca7(0xb9),()=>{const _0x4c5463=a42_0x2d0ca7,_0x5977a8={'SVUGQ':function(_0x4557e7,_0x2a6ad5){return _0x4557e7(_0x2a6ad5);},'RJLQA':function(_0x3029e7,_0x2f7d44,_0x1e9cc8){return _0x3029e7(_0x2f7d44,_0x1e9cc8);},'QBVsp':_0x4c5463(0xab)+'rect\x20ident'+_0x4c5463(0xbb)+'s'},_0x3459b4=_0x4c5463(0xba)+_0x4c5463(0xd5)+_0x4c5463(0xa6)+'c\x20void\x20doL'+_0x4c5463(0x8b)+_0x4c5463(0x9b)+_0x4c5463(0xd0)+_0x4c5463(0xc9)+'ing\x20query\x20'+'=\x20\x22SELECT\x20'+_0x4c5463(0xaf)+'rs\x20WHERE\x20i'+_0x4c5463(0xb0)+'+\x20\x22\x27\x22;\x0a\x20\x20\x20'+_0x4c5463(0xb4)+_0x4c5463(0x9f)+_0x4c5463(0xcc)+'}\x0a}',_0x3d419f='public\x20cla'+'ss\x20Login\x20{'+_0x4c5463(0xa6)+_0x4c5463(0x9a)+_0x4c5463(0x8b)+'g\x20id,\x20Stri'+'ng\x20pw)\x20{\x0a\x20'+'\x20\x20\x20\x20\x20\x20\x20Str'+_0x4c5463(0xd4)+_0x4c5463(0x8d)+'*\x20FROM\x20use'+'rs\x20WHERE\x20i'+_0x4c5463(0xcd)+_0x4c5463(0xb1)+'edStatemen'+_0x4c5463(0xbd)+_0x4c5463(0x97)+'reStatemen'+_0x4c5463(0xac)+_0x4c5463(0xa9)+'tmt.setStr'+'ing(1,\x20id)'+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4c5463(0x92)+_0x4c5463(0xca)+_0x4c5463(0x9d);describe(_0x4c5463(0xae)+'ff',()=>{const _0xda5f08=_0x4c5463;it(_0xda5f08(0xc5)+'erate\x20a\x20si'+_0xda5f08(0xc6)+_0xda5f08(0xa7),()=>{const _0x5b84a2=_0xda5f08,_0x3e3098=DiffUtil['generateDi'+'ff'](_0x3459b4,_0x3d419f);expect(_0x3e3098)['toContain'](_0x5b84a2(0xc2)),expect(_0x3e3098)['toContain']('+++\x20안전한\x20코드'),_0x5977a8[_0x5b84a2(0x93)](expect,_0x3e3098)[_0x5b84a2(0xce)]('-\x20\x20\x20\x20\x20\x20\x20\x20S'+_0x5b84a2(0x9e)+_0x5b84a2(0xb7)+_0x5b84a2(0xcf)+_0x5b84a2(0xbf)+'\x20id=\x27\x22\x20+\x20i'+_0x5b84a2(0xa8)),expect(_0x3e3098)[_0x5b84a2(0xce)](_0x5b84a2(0xa4)+_0x5b84a2(0x9e)+_0x5b84a2(0xb7)+_0x5b84a2(0xcf)+_0x5b84a2(0xbf)+_0x5b84a2(0xa5));}),_0x5977a8[_0xda5f08(0x91)](it,_0xda5f08(0xaa)+_0xda5f08(0x8f)+'cal\x20code',()=>{const _0x1a1e0c=_0xda5f08,_0x5a6b19=DiffUtil[_0x1a1e0c(0xae)+'ff'](_0x3459b4,_0x3459b4),_0x100106=_0x5a6b19['split']('\x0a'),_0x55aac1=_0x100106[_0x1a1e0c(0x90)](0x3);_0x55aac1['forEach'](_0x1bbe2f=>{const _0x4954a2=_0x1a1e0c;expect(_0x1bbe2f[_0x4954a2(0x95)]('-'))[_0x4954a2(0xad)](![]),expect(_0x1bbe2f['startsWith']('+'))['toBe'](![]);});});}),describe('generateUn'+_0x4c5463(0xb3),()=>{const _0x3ca6af=_0x4c5463,_0xb24eba={};_0xb24eba[_0x3ca6af(0xa3)]=_0x3ca6af(0xc7);const _0x4b323f=_0xb24eba;it(_0x3ca6af(0xc5)+_0x3ca6af(0xbe)+'ified\x20diff'+_0x3ca6af(0xb8),()=>{const _0x4da3a1=_0x3ca6af,_0x4d502d=_0x4b323f['mAxEK'],_0x2361fe=DiffUtil[_0x4da3a1(0xc1)+'ifiedDiff'](_0x3459b4,_0x3d419f,_0x4d502d);expect(_0x2361fe)[_0x4da3a1(0xce)](_0x4da3a1(0x8c)+_0x4d502d),expect(_0x2361fe)[_0x4da3a1(0xce)](_0x4da3a1(0xa1)+_0x4d502d),expect(_0x2361fe)[_0x4da3a1(0xce)]('@@');});}),describe('computeHun'+'ks',()=>{const _0x116405=_0x4c5463;it(_0x5977a8['QBVsp'],()=>{const _0x2ce178=a42_0x212c,_0x41abc7=DiffUtil[_0x2ce178(0xc1)+_0x2ce178(0xb3)](_0x2ce178(0x9c),_0x2ce178(0x96)+'\x0aC');expect(_0x41abc7)[_0x2ce178(0xce)]('-B'),expect(_0x41abc7)['toContain']('+MODIFIED');}),it(_0x116405(0xaa)+_0x116405(0xc8)+_0x116405(0xc4)+_0x116405(0x98)+'nt',()=>{const _0x4d1c39=_0x116405,_0x35bba3=DiffUtil['generateUn'+_0x4d1c39(0xb3)]('A','B');expect(_0x35bba3)[_0x4d1c39(0xce)]('-A'),expect(_0x35bba3)[_0x4d1c39(0xce)]('+B');});});});function a42_0x1ee3(){const _0x417518=['toBe','generateDi','*\x20FROM\x20use','d=\x27\x22\x20+\x20id\x20','\x20\x20\x20\x20Prepar','1013225TDzsfH','ifiedDiff','\x20\x20\x20\x20\x20stmt.','2031987QYCdbW','search','y\x20=\x20\x22SELEC','\x20format','DiffUtil','public\x20cla','ify\x20change','551677msgNjb','t\x20pstmt\x20=\x20','erate\x20a\x20un','sers\x20WHERE','699606BaiLNe','generateUn','---\x20원본\x20코드','411288PgciTh','tely\x20diffe','should\x20gen','mple\x20diff\x20','Login.java','dle\x20comple','\x20\x20\x20\x20\x20\x20\x20Str','ute();\x0a\x20\x20\x20','20117196cjFfAq','ery);\x0a\x20\x20\x20\x20','d=?\x22;\x0a\x20\x20\x20\x20','toContain','T\x20*\x20FROM\x20u','ng\x20pw)\x20{\x0a\x20','2177502XneYoK','constructo','84gcTWim','ing\x20query\x20','ss\x20Login\x20{','ogin(Strin','---\x20a/','=\x20\x22SELECT\x20','4cLXqNo','dle\x20identi','slice','RJLQA','pstmt.exec','SVUGQ','2opgMVA','startsWith','A\x0aMODIFIED','conn.prepa','rent\x20conte','toString','c\x20void\x20doL','g\x20id,\x20Stri','A\x0aB\x0aC','\x20}\x0a}','tring\x20quer','execute(qu','apply','+++\x20b/','70vpuLhe','mAxEK','+\x20\x20\x20\x20\x20\x20\x20\x20S','\x20id=?\x22;','\x0a\x20\x20\x20\x20publi','string','d\x20+\x20\x22\x27\x22;','\x20\x20\x20\x20\x20\x20\x20\x20ps','should\x20han','should\x20cor','t(query);\x0a'];a42_0x1ee3=function(){return _0x417518;};return a42_0x1ee3();}
@@ -1 +1 @@
1
- function a43_0x2ebe(_0x4def3e,_0x10f139){_0x4def3e=_0x4def3e-0x128;const _0x56d2d5=a43_0x5cf5();let _0x342235=_0x56d2d5[_0x4def3e];return _0x342235;}const a43_0x3b5e69=a43_0x2ebe;(function(_0x4348e2,_0x3a79ce){const _0x20ef03=a43_0x2ebe,_0x3b7f44=_0x4348e2();while(!![]){try{const _0x3b584a=-parseInt(_0x20ef03(0x15a))/0x1*(-parseInt(_0x20ef03(0x145))/0x2)+parseInt(_0x20ef03(0x157))/0x3*(-parseInt(_0x20ef03(0x14e))/0x4)+parseInt(_0x20ef03(0x135))/0x5*(-parseInt(_0x20ef03(0x150))/0x6)+parseInt(_0x20ef03(0x137))/0x7+parseInt(_0x20ef03(0x134))/0x8*(parseInt(_0x20ef03(0x133))/0x9)+-parseInt(_0x20ef03(0x13d))/0xa+-parseInt(_0x20ef03(0x149))/0xb*(parseInt(_0x20ef03(0x152))/0xc);if(_0x3b584a===_0x3a79ce)break;else _0x3b7f44['push'](_0x3b7f44['shift']());}catch(_0x48dda2){_0x3b7f44['push'](_0x3b7f44['shift']());}}}(a43_0x5cf5,0xc331e));const a43_0x152a9b=(function(){let _0x30542f=!![];return function(_0x4545cd,_0x403f75){const _0x29a02f=_0x30542f?function(){if(_0x403f75){const _0x5eda35=_0x403f75['apply'](_0x4545cd,arguments);return _0x403f75=null,_0x5eda35;}}:function(){};return _0x30542f=![],_0x29a02f;};}()),a43_0x342235=a43_0x152a9b(this,function(){const _0x5832dc=a43_0x2ebe;return a43_0x342235['toString']()[_0x5832dc(0x144)](_0x5832dc(0x13a)+'+$')['toString']()['constructo'+'r'](a43_0x342235)[_0x5832dc(0x144)](_0x5832dc(0x13a)+'+$');});a43_0x342235();import{jest,describe,it,expect,beforeEach}from'@jest/globals';const mockReadFileSync=jest['fn'](),mockWriteFileSync=jest['fn'](),mockExistsSync=jest['fn'](),mockUnlinkSync=jest['fn'](),a43_0x5deb81={};a43_0x5deb81[a43_0x3b5e69(0x140)+'nc']=mockReadFileSync,a43_0x5deb81['writeFileS'+a43_0x3b5e69(0x130)]=mockWriteFileSync,a43_0x5deb81[a43_0x3b5e69(0x156)]=mockExistsSync,a43_0x5deb81[a43_0x3b5e69(0x13f)]=mockUnlinkSync,jest[a43_0x3b5e69(0x13c)+'ockModule']('fs',()=>({'default':a43_0x5deb81,'readFileSync':mockReadFileSync,'writeFileSync':mockWriteFileSync,'existsSync':mockExistsSync,'unlinkSync':mockUnlinkSync}));const {FileManager}=await import(a43_0x3b5e69(0x154)+'ager.js');function a43_0x5cf5(){const _0x1e77f6=['d\x20file\x20con','(((.+)+)+)','clearAllMo','unstable_m','10278080zmjOvP','toBe','unlinkSync','readFileSy','exists','zMbyq','/base/dir','search','2yIeqvJ','should\x20not','Value','not','1606KgmnAe','readFile','mockReturn','f\x20exists','Called','2612LaLonW','\x20to\x20file','6eleVnK','ZCalb','25836aqlLNz','should\x20del','../fileMan','CalledWith','existsSync','1275pjEaHx','poJXK','tent','871177HUOjSR','cks','stringCont','content','utf-8','\x20delete\x20fi','toHaveBeen','FileManage','ete\x20file\x20i','test.txt','ync','te\x20content','writeFile','434349gPgxds','240MsPILl','2560015nWBMLZ','aining','4285295BrAADD','deleteFile'];a43_0x5cf5=function(){return _0x1e77f6;};return a43_0x5cf5();}describe(a43_0x3b5e69(0x12d)+'r',()=>{const _0x204dc7=a43_0x3b5e69,_0x401327={};_0x401327[_0x204dc7(0x151)]=_0x204dc7(0x12a),_0x401327['LlxqU']=_0x204dc7(0x12f),_0x401327['zMbyq']=_0x204dc7(0x146)+_0x204dc7(0x12b)+'le\x20if\x20not\x20'+_0x204dc7(0x141),_0x401327['poJXK']=_0x204dc7(0x14a);const _0x5dcfb4=_0x401327;let _0x4dbc42;const _0x23e12b=_0x204dc7(0x143);beforeEach(()=>{const _0x13fe3e=_0x204dc7;jest[_0x13fe3e(0x13b)+_0x13fe3e(0x15b)](),_0x4dbc42=new FileManager(_0x23e12b);}),describe(_0x5dcfb4[_0x204dc7(0x158)],()=>{const _0x4072df=_0x204dc7;it('should\x20rea'+_0x4072df(0x139)+_0x4072df(0x159),()=>{const _0x443ac6=_0x4072df;mockReadFileSync['mockReturn'+_0x443ac6(0x147)](_0x443ac6(0x129));const _0x3ffd63=_0x4dbc42[_0x443ac6(0x14a)](_0x443ac6(0x12f));expect(_0x3ffd63)[_0x443ac6(0x13e)](_0x443ac6(0x129)),expect(mockReadFileSync)['toHaveBeen'+_0x443ac6(0x155)](expect[_0x443ac6(0x128)+_0x443ac6(0x136)]('test.txt'),_0x5dcfb4[_0x443ac6(0x151)]);});}),describe(_0x204dc7(0x132),()=>{const _0xbbc422=_0x204dc7;it('should\x20wri'+_0xbbc422(0x131)+_0xbbc422(0x14f),()=>{const _0x5e4ec0=_0xbbc422;_0x4dbc42[_0x5e4ec0(0x132)](_0x5e4ec0(0x12f),_0x5e4ec0(0x129)),expect(mockWriteFileSync)[_0x5e4ec0(0x12c)+'CalledWith'](expect['stringCont'+_0x5e4ec0(0x136)]('test.txt'),_0x5e4ec0(0x129),'utf-8');});}),describe('deleteFile',()=>{const _0x59025c=_0x204dc7;it(_0x59025c(0x153)+_0x59025c(0x12e)+_0x59025c(0x14c),()=>{const _0x235056=_0x59025c;mockExistsSync['mockReturn'+_0x235056(0x147)](!![]),_0x4dbc42[_0x235056(0x138)]('test.txt'),expect(mockUnlinkSync)['toHaveBeen'+_0x235056(0x14d)]();}),it(_0x5dcfb4[_0x59025c(0x142)],()=>{const _0x975911=_0x59025c;mockExistsSync[_0x975911(0x14b)+_0x975911(0x147)](![]),_0x4dbc42['deleteFile'](_0x5dcfb4['LlxqU']),expect(mockUnlinkSync)[_0x975911(0x148)][_0x975911(0x12c)+_0x975911(0x14d)]();});});});
1
+ const a43_0x1bae1c=a43_0x2a2e;(function(_0x8fa0b8,_0x4e7e7a){const _0x54acb8=a43_0x2a2e,_0x72283c=_0x8fa0b8();while(!![]){try{const _0x691dc2=-parseInt(_0x54acb8(0xe8))/0x1+-parseInt(_0x54acb8(0xd7))/0x2+-parseInt(_0x54acb8(0xc3))/0x3*(parseInt(_0x54acb8(0xde))/0x4)+parseInt(_0x54acb8(0xd9))/0x5*(parseInt(_0x54acb8(0xc5))/0x6)+-parseInt(_0x54acb8(0xe6))/0x7*(-parseInt(_0x54acb8(0xe2))/0x8)+parseInt(_0x54acb8(0xbf))/0x9+parseInt(_0x54acb8(0xc1))/0xa;if(_0x691dc2===_0x4e7e7a)break;else _0x72283c['push'](_0x72283c['shift']());}catch(_0x4a393b){_0x72283c['push'](_0x72283c['shift']());}}}(a43_0x103d,0x3aee8));const a43_0x1b3fa0=(function(){let _0x4594b5=!![];return function(_0x11fc4f,_0x3197b7){const _0x3e3dd0=_0x4594b5?function(){if(_0x3197b7){const _0x4838be=_0x3197b7['apply'](_0x11fc4f,arguments);return _0x3197b7=null,_0x4838be;}}:function(){};return _0x4594b5=![],_0x3e3dd0;};}()),a43_0x408f05=a43_0x1b3fa0(this,function(){const _0x2471d9=a43_0x2a2e;return a43_0x408f05[_0x2471d9(0xd8)]()[_0x2471d9(0xcc)](_0x2471d9(0xd0)+'+$')[_0x2471d9(0xd8)]()['constructo'+'r'](a43_0x408f05)[_0x2471d9(0xcc)](_0x2471d9(0xd0)+'+$');});a43_0x408f05();import{jest,describe,it,expect,beforeEach}from'@jest/globals';function a43_0x103d(){const _0x224ee1=['\x20delete\x20fi','f\x20exists','ZvamT','3285225EpntKN','writeFile','359630bAntvk','unstable_m','3yIccYC','\x20to\x20file','12aLsQMH','exists','readFileSy','stringCont','ager.js','toBe','test.txt','search','../fileMan','unlinkSync','clearAllMo','(((.+)+)+)','should\x20not','should\x20del','should\x20wri','should\x20rea','ync','mockReturn','470768VZQYKa','toString','607065cjIomC','content','deleteFile','cks','aining','497164ZYsXVi','utf-8','/base/dir','Value','16bIpibW','toHaveBeen','Called','readFile','1025122ArxOZQ','le\x20if\x20not\x20','335647AqwIAH','ockModule','writeFileS','ete\x20file\x20i','CalledWith'];a43_0x103d=function(){return _0x224ee1;};return a43_0x103d();}const mockReadFileSync=jest['fn'](),mockWriteFileSync=jest['fn'](),mockExistsSync=jest['fn'](),mockUnlinkSync=jest['fn'](),a43_0xa74ee8={};a43_0xa74ee8[a43_0x1bae1c(0xc7)+'nc']=mockReadFileSync,a43_0xa74ee8[a43_0x1bae1c(0xb9)+a43_0x1bae1c(0xd5)]=mockWriteFileSync,a43_0xa74ee8['existsSync']=mockExistsSync,a43_0xa74ee8[a43_0x1bae1c(0xce)]=mockUnlinkSync,jest[a43_0x1bae1c(0xc2)+a43_0x1bae1c(0xe9)]('fs',()=>({'default':a43_0xa74ee8,'readFileSync':mockReadFileSync,'writeFileSync':mockWriteFileSync,'existsSync':mockExistsSync,'unlinkSync':mockUnlinkSync}));function a43_0x2a2e(_0x109791,_0xcb682d){_0x109791=_0x109791-0xb9;const _0x362ebf=a43_0x103d();let _0x408f05=_0x362ebf[_0x109791];return _0x408f05;}const {FileManager}=await import(a43_0x1bae1c(0xcd)+a43_0x1bae1c(0xc9));describe('FileManage'+'r',()=>{const _0x4deb05=a43_0x1bae1c,_0x3fe653={'ZvamT':function(_0x32fe8b,_0x55c768){return _0x32fe8b(_0x55c768);}};let _0x53b38e;const _0x30fae2=_0x4deb05(0xe0);_0x3fe653[_0x4deb05(0xbe)](beforeEach,()=>{const _0x265c18=_0x4deb05;jest[_0x265c18(0xcf)+_0x265c18(0xdc)](),_0x53b38e=new FileManager(_0x30fae2);}),describe(_0x4deb05(0xe5),()=>{const _0x2d8f2b=_0x4deb05;it(_0x2d8f2b(0xd4)+'d\x20file\x20con'+'tent',()=>{const _0x582112=_0x2d8f2b;mockReadFileSync['mockReturn'+_0x582112(0xe1)](_0x582112(0xda));const _0x6274fc=_0x53b38e[_0x582112(0xe5)](_0x582112(0xcb));expect(_0x6274fc)[_0x582112(0xca)](_0x582112(0xda)),expect(mockReadFileSync)[_0x582112(0xe3)+_0x582112(0xbb)](expect[_0x582112(0xc8)+_0x582112(0xdd)](_0x582112(0xcb)),_0x582112(0xdf));});}),describe('writeFile',()=>{const _0x7d6685=_0x4deb05;it(_0x7d6685(0xd3)+'te\x20content'+_0x7d6685(0xc4),()=>{const _0xfc0bcf=_0x7d6685;_0x53b38e[_0xfc0bcf(0xc0)](_0xfc0bcf(0xcb),'content'),expect(mockWriteFileSync)[_0xfc0bcf(0xe3)+'CalledWith'](expect[_0xfc0bcf(0xc8)+_0xfc0bcf(0xdd)](_0xfc0bcf(0xcb)),'content',_0xfc0bcf(0xdf));});}),describe('deleteFile',()=>{const _0x12ee7b=_0x4deb05;it(_0x12ee7b(0xd2)+_0x12ee7b(0xba)+_0x12ee7b(0xbd),()=>{const _0x586fe3=_0x12ee7b;mockExistsSync[_0x586fe3(0xd6)+_0x586fe3(0xe1)](!![]),_0x53b38e[_0x586fe3(0xdb)](_0x586fe3(0xcb)),expect(mockUnlinkSync)[_0x586fe3(0xe3)+_0x586fe3(0xe4)]();}),it(_0x12ee7b(0xd1)+_0x12ee7b(0xbc)+_0x12ee7b(0xe7)+_0x12ee7b(0xc6),()=>{const _0x2140ad=_0x12ee7b;mockExistsSync[_0x2140ad(0xd6)+_0x2140ad(0xe1)](![]),_0x53b38e[_0x2140ad(0xdb)]('test.txt'),expect(mockUnlinkSync)['not'][_0x2140ad(0xe3)+'Called']();});});});
@@ -1 +1 @@
1
- function a44_0x1129(){const _0x2186c5=['existsSync','Access\x20den','ockModule','8939861rIjduq','../hack.tx','6LAHtnS','jKiMl','urely','search','18huuIYO','ync','1216054YZhSTl','should\x20wri','should\x20thr','60856SXiekf','ow\x20error\x20o','KFqKh','toString','toThrow','test.txt','(((.+)+)+)','d\x20file\x20sec','410omKNgF','constructo','cks','versal','agerSecure','unlinkSync','ied','34845420jUjrXB','readFile','324914aUKyBU','527024eGVxpM','/base/dir','writeFile','clearAllMo','te\x20file\x20se','r\x20(Secure)','../../etc/','should\x20rea','toHaveBeen','toBe','mockReturn','3946542eCTKYO','content','resolve','writeFileS','MnbgT','n\x20path\x20tra','../fileMan'];a44_0x1129=function(){return _0x2186c5;};return a44_0x1129();}const a44_0x3bf0b8=a44_0x21fd;(function(_0x36301e,_0x91bb59){const _0x12d45d=a44_0x21fd,_0x5af359=_0x36301e();while(!![]){try{const _0x3b7ab1=-parseInt(_0x12d45d(0x176))/0x1+-parseInt(_0x12d45d(0x18a))/0x2+-parseInt(_0x12d45d(0x164))/0x3+parseInt(_0x12d45d(0x179))/0x4*(parseInt(_0x12d45d(0x181))/0x5)+parseInt(_0x12d45d(0x170))/0x6*(-parseInt(_0x12d45d(0x16e))/0x7)+parseInt(_0x12d45d(0x18b))/0x8*(parseInt(_0x12d45d(0x174))/0x9)+parseInt(_0x12d45d(0x188))/0xa;if(_0x3b7ab1===_0x91bb59)break;else _0x5af359['push'](_0x5af359['shift']());}catch(_0x33c492){_0x5af359['push'](_0x5af359['shift']());}}}(a44_0x1129,0xd9f1a));function a44_0x21fd(_0x53b6ac,_0x524236){_0x53b6ac=_0x53b6ac-0x161;const _0x5e13c1=a44_0x1129();let _0x339e13=_0x5e13c1[_0x53b6ac];return _0x339e13;}const a44_0x21d97c=(function(){let _0x2f1a81=!![];return function(_0x45b98c,_0x15dc3f){const _0x51359e=_0x2f1a81?function(){if(_0x15dc3f){const _0x38f7b3=_0x15dc3f['apply'](_0x45b98c,arguments);return _0x15dc3f=null,_0x38f7b3;}}:function(){};return _0x2f1a81=![],_0x51359e;};}()),a44_0x339e13=a44_0x21d97c(this,function(){const _0x381a76=a44_0x21fd;return a44_0x339e13[_0x381a76(0x17c)]()[_0x381a76(0x173)](_0x381a76(0x17f)+'+$')[_0x381a76(0x17c)]()[_0x381a76(0x182)+'r'](a44_0x339e13)['search'](_0x381a76(0x17f)+'+$');});a44_0x339e13();import{jest,describe,it,expect,beforeEach}from'@jest/globals';import a44_0x4061e4 from'path';const mockReadFileSync=jest['fn'](),mockWriteFileSync=jest['fn'](),mockExistsSync=jest['fn'](),mockUnlinkSync=jest['fn'](),a44_0x22bc1b={};a44_0x22bc1b['readFileSy'+'nc']=mockReadFileSync,a44_0x22bc1b[a44_0x3bf0b8(0x167)+a44_0x3bf0b8(0x175)]=mockWriteFileSync,a44_0x22bc1b[a44_0x3bf0b8(0x16b)]=mockExistsSync,a44_0x22bc1b[a44_0x3bf0b8(0x186)]=mockUnlinkSync,jest['unstable_m'+a44_0x3bf0b8(0x16d)]('fs',()=>({'default':a44_0x22bc1b,'readFileSync':mockReadFileSync,'writeFileSync':mockWriteFileSync,'existsSync':mockExistsSync,'unlinkSync':mockUnlinkSync}));const {FileManager}=await import(a44_0x3bf0b8(0x16a)+a44_0x3bf0b8(0x185)+'.js');describe('FileManage'+a44_0x3bf0b8(0x190),()=>{const _0x2837a=a44_0x3bf0b8,_0x287ea8={'jKiMl':function(_0x136788,_0x334ef2){return _0x136788(_0x334ef2);}};let _0x45c888;const _0x172583=a44_0x4061e4[_0x2837a(0x166)](_0x2837a(0x18c));beforeEach(()=>{const _0x3e5c83=_0x2837a;jest[_0x3e5c83(0x18e)+_0x3e5c83(0x183)](),_0x45c888=new FileManager(_0x172583);}),describe('readFile',()=>{const _0x16a686=_0x2837a,_0x1831f3={'MnbgT':function(_0x3a2562,_0x4e8e03){const _0x18cd5f=a44_0x21fd;return _0x287ea8[_0x18cd5f(0x171)](_0x3a2562,_0x4e8e03);},'KFqKh':_0x16a686(0x165)};it(_0x16a686(0x192)+_0x16a686(0x180)+_0x16a686(0x172),()=>{const _0x3b9892=_0x16a686;mockReadFileSync[_0x3b9892(0x163)+'Value'](_0x3b9892(0x165));const _0x371b1a=_0x45c888[_0x3b9892(0x189)]('test.txt');_0x1831f3[_0x3b9892(0x168)](expect,_0x371b1a)[_0x3b9892(0x162)](_0x1831f3[_0x3b9892(0x17b)]);}),it(_0x16a686(0x178)+'ow\x20error\x20o'+'n\x20path\x20tra'+_0x16a686(0x184),()=>{const _0x578498=_0x16a686;expect(()=>{const _0x140a54=a44_0x21fd;_0x45c888[_0x140a54(0x189)](_0x140a54(0x191)+'passwd');})[_0x578498(0x17d)](_0x578498(0x16c)+_0x578498(0x187));});}),describe(_0x2837a(0x18d),()=>{const _0x5f0aa8=_0x2837a,_0x2a2e14={};_0x2a2e14['KWZul']='content';const _0x10e69e=_0x2a2e14;it(_0x5f0aa8(0x177)+_0x5f0aa8(0x18f)+'curely',()=>{const _0x476197=_0x5f0aa8;_0x45c888[_0x476197(0x18d)](_0x476197(0x17e),_0x10e69e['KWZul']),expect(mockWriteFileSync)[_0x476197(0x161)+'Called']();}),it('should\x20thr'+_0x5f0aa8(0x17a)+_0x5f0aa8(0x169)+_0x5f0aa8(0x184),()=>{const _0x39dcd3=_0x5f0aa8;expect(()=>{const _0x464aa5=a44_0x21fd;_0x45c888[_0x464aa5(0x18d)](_0x464aa5(0x16f)+'t',_0x464aa5(0x165));})[_0x39dcd3(0x17d)](_0x39dcd3(0x16c)+_0x39dcd3(0x187));});});});
1
+ const a44_0x6b02eb=a44_0x3a1f;(function(_0x43f990,_0xa78f36){const _0x2d880f=a44_0x3a1f,_0x2a4707=_0x43f990();while(!![]){try{const _0x336b71=parseInt(_0x2d880f(0xd0))/0x1*(-parseInt(_0x2d880f(0x9c))/0x2)+parseInt(_0x2d880f(0xbe))/0x3+parseInt(_0x2d880f(0xad))/0x4*(parseInt(_0x2d880f(0xb4))/0x5)+-parseInt(_0x2d880f(0x9f))/0x6*(parseInt(_0x2d880f(0xb7))/0x7)+-parseInt(_0x2d880f(0xb3))/0x8*(-parseInt(_0x2d880f(0xa3))/0x9)+parseInt(_0x2d880f(0xc6))/0xa*(parseInt(_0x2d880f(0xb1))/0xb)+-parseInt(_0x2d880f(0xa0))/0xc*(-parseInt(_0x2d880f(0xbd))/0xd);if(_0x336b71===_0xa78f36)break;else _0x2a4707['push'](_0x2a4707['shift']());}catch(_0x4572b7){_0x2a4707['push'](_0x2a4707['shift']());}}}(a44_0x2cf9,0x4bb14));const a44_0x224a7c=(function(){let _0x36701f=!![];return function(_0x185219,_0x6d2ee3){const _0x337ea0=_0x36701f?function(){const _0x2c7720=a44_0x3a1f;if(_0x6d2ee3){const _0x1cf283=_0x6d2ee3[_0x2c7720(0xc2)](_0x185219,arguments);return _0x6d2ee3=null,_0x1cf283;}}:function(){};return _0x36701f=![],_0x337ea0;};}()),a44_0x56d176=a44_0x224a7c(this,function(){const _0x703284=a44_0x3a1f;return a44_0x56d176[_0x703284(0xab)]()[_0x703284(0xbc)](_0x703284(0xa8)+'+$')['toString']()[_0x703284(0xcf)+'r'](a44_0x56d176)['search'](_0x703284(0xa8)+'+$');});a44_0x56d176();import{jest,describe,it,expect,beforeEach}from'@jest/globals';import a44_0x5ddef1 from'path';function a44_0x2cf9(){const _0x14b0d8=['ync','Called','n\x20path\x20tra','constructo','2YTWluU','mockReturn','ow\x20error\x20o','content','475526QBiqbo','ockModule','FileManage','6gWpuYl','24sSwLjE','test.txt','/base/dir','287262sQgUKa','NIsul','.js','SGgZQ','toBe','(((.+)+)+)','readFile','agerSecure','toString','versal','244100hnxtfC','d\x20file\x20sec','existsSync','writeFileS','297qCeIpL','readFileSy','40eHsRmr','45GmgBUz','../fileMan','writeFile','2827615salzDC','cks','should\x20thr','should\x20wri','curely','search','1279798reZdAg','703899YQklyF','gEJDI','te\x20file\x20se','should\x20rea','apply','passwd','../../etc/','toThrow','18210DLBjKv','DYJrV','unstable_m','Access\x20den','r\x20(Secure)','ied'];a44_0x2cf9=function(){return _0x14b0d8;};return a44_0x2cf9();}const mockReadFileSync=jest['fn'](),mockWriteFileSync=jest['fn'](),mockExistsSync=jest['fn'](),mockUnlinkSync=jest['fn'](),a44_0x2cc018={};a44_0x2cc018[a44_0x6b02eb(0xb2)+'nc']=mockReadFileSync,a44_0x2cc018[a44_0x6b02eb(0xb0)+a44_0x6b02eb(0xcc)]=mockWriteFileSync,a44_0x2cc018[a44_0x6b02eb(0xaf)]=mockExistsSync,a44_0x2cc018['unlinkSync']=mockUnlinkSync,jest[a44_0x6b02eb(0xc8)+a44_0x6b02eb(0x9d)]('fs',()=>({'default':a44_0x2cc018,'readFileSync':mockReadFileSync,'writeFileSync':mockWriteFileSync,'existsSync':mockExistsSync,'unlinkSync':mockUnlinkSync}));const {FileManager}=await import(a44_0x6b02eb(0xb5)+a44_0x6b02eb(0xaa)+a44_0x6b02eb(0xa5));function a44_0x3a1f(_0x2d78c1,_0x11f190){_0x2d78c1=_0x2d78c1-0x9a;const _0x53b479=a44_0x2cf9();let _0x56d176=_0x53b479[_0x2d78c1];return _0x56d176;}describe(a44_0x6b02eb(0x9e)+a44_0x6b02eb(0xca),()=>{const _0x5485fc=a44_0x6b02eb,_0x11ab6c={'DYJrV':function(_0xa1707c,_0x3b63e5,_0x37db62){return _0xa1707c(_0x3b63e5,_0x37db62);},'NIsul':function(_0x5bcfb7,_0x5d8efe,_0x6ca5ae){return _0x5bcfb7(_0x5d8efe,_0x6ca5ae);},'csuUm':_0x5485fc(0x9b),'SGgZQ':function(_0x32e91f,_0x44e5ac){return _0x32e91f(_0x44e5ac);}};let _0x587103;const _0x41ddd3=a44_0x5ddef1['resolve'](_0x5485fc(0xa2));beforeEach(()=>{const _0x1df5f3=_0x5485fc;jest['clearAllMo'+_0x1df5f3(0xb8)](),_0x587103=new FileManager(_0x41ddd3);}),describe(_0x5485fc(0xa9),()=>{const _0x58b926=_0x5485fc,_0x4fbb86={};_0x4fbb86[_0x58b926(0xbf)]=_0x58b926(0x9b);const _0x2184bb=_0x4fbb86;_0x11ab6c[_0x58b926(0xc7)](it,_0x58b926(0xc1)+_0x58b926(0xae)+'urely',()=>{const _0x1b6b98=_0x58b926;mockReadFileSync[_0x1b6b98(0xd1)+'Value'](_0x2184bb[_0x1b6b98(0xbf)]);const _0x34d011=_0x587103[_0x1b6b98(0xa9)](_0x1b6b98(0xa1));expect(_0x34d011)[_0x1b6b98(0xa7)](_0x1b6b98(0x9b));}),_0x11ab6c[_0x58b926(0xa4)](it,_0x58b926(0xb9)+_0x58b926(0x9a)+_0x58b926(0xce)+'versal',()=>{const _0x4602d7=_0x58b926;expect(()=>{const _0x1266f7=a44_0x3a1f;_0x587103[_0x1266f7(0xa9)](_0x1266f7(0xc4)+_0x1266f7(0xc3));})[_0x4602d7(0xc5)](_0x4602d7(0xc9)+_0x4602d7(0xcb));});}),describe('writeFile',()=>{const _0x56d161=_0x5485fc;it(_0x56d161(0xba)+_0x56d161(0xc0)+_0x56d161(0xbb),()=>{const _0x4c7f6f=_0x56d161;_0x587103[_0x4c7f6f(0xb6)](_0x4c7f6f(0xa1),_0x11ab6c['csuUm']),_0x11ab6c[_0x4c7f6f(0xa6)](expect,mockWriteFileSync)['toHaveBeen'+_0x4c7f6f(0xcd)]();}),it(_0x56d161(0xb9)+_0x56d161(0x9a)+'n\x20path\x20tra'+_0x56d161(0xac),()=>{const _0x187ed0=_0x56d161;expect(()=>{const _0x49b613=a44_0x3a1f;_0x587103[_0x49b613(0xb6)]('../hack.tx'+'t',_0x49b613(0x9b));})['toThrow'](_0x187ed0(0xc9)+_0x187ed0(0xcb));});});});
@@ -1 +1 @@
1
- const a45_0x3ea19e=a45_0x3c33;(function(_0x5bd7c0,_0x2dfa6b){const _0x2a472b=a45_0x3c33,_0x11b5be=_0x5bd7c0();while(!![]){try{const _0x57d1b2=-parseInt(_0x2a472b(0xcd))/0x1*(-parseInt(_0x2a472b(0xca))/0x2)+parseInt(_0x2a472b(0xcb))/0x3+parseInt(_0x2a472b(0xc0))/0x4+-parseInt(_0x2a472b(0xc8))/0x5+parseInt(_0x2a472b(0xd3))/0x6+-parseInt(_0x2a472b(0xcc))/0x7+-parseInt(_0x2a472b(0xbe))/0x8;if(_0x57d1b2===_0x2dfa6b)break;else _0x11b5be['push'](_0x11b5be['shift']());}catch(_0xf012dc){_0x11b5be['push'](_0x11b5be['shift']());}}}(a45_0x4401,0x6b061));const a45_0x614113=(function(){let _0x126de7=!![];return function(_0x285510,_0x3564e){const _0x56c2d3=_0x126de7?function(){const _0x3fe1d5=a45_0x3c33;if(_0x3564e){const _0x5d0c34=_0x3564e[_0x3fe1d5(0xd1)](_0x285510,arguments);return _0x3564e=null,_0x5d0c34;}}:function(){};return _0x126de7=![],_0x56c2d3;};}()),a45_0x29e5f7=a45_0x614113(this,function(){const _0x13678d=a45_0x3c33;return a45_0x29e5f7[_0x13678d(0xbc)]()['search'](_0x13678d(0xc7)+'+$')['toString']()['constructo'+'r'](a45_0x29e5f7)[_0x13678d(0xb6)](_0x13678d(0xc7)+'+$');});function a45_0x3c33(_0x521ce2,_0x251d05){_0x521ce2=_0x521ce2-0xaf;const _0x1aa0e6=a45_0x4401();let _0x29e5f7=_0x1aa0e6[_0x521ce2];return _0x29e5f7;}a45_0x29e5f7();function a45_0x4401(){const _0x407955=['unstable_m','CalledWith','Logger','Called','UsOdH','transports','(((.+)+)+)','3590395aLkLhB','test\x20error','2iZIlUj','592977iohsie','4051719YdfrrW','462677pmBrKk','initialize','error','toHaveBeen','apply','winston','3400386WtELto','\x20info','createLogg','toBeDefine','format','VgDhP','ockModule','\x20error','search','peSSc','should\x20log','TXPBq','../logger.','info','toString','test\x20info','364760sFstnW','should\x20be\x20','2215172CyDDtd'];a45_0x4401=function(){return _0x407955;};return a45_0x4401();}import{jest,describe,it,expect}from'@jest/globals';const mockInfo=jest['fn'](),mockWarn=jest['fn'](),mockError=jest['fn'](),mockDebug=jest['fn'](),mockLogger={'info':mockInfo,'warn':mockWarn,'error':mockError,'debug':mockDebug,'add':jest['fn']()},mockCreateLogger=jest['fn'](()=>mockLogger),mockTransports={'Console':jest['fn'](),'File':jest['fn']()},mockFormat={'combine':jest['fn'](),'timestamp':jest['fn'](),'printf':jest['fn'](),'colorize':jest['fn'](),'simple':jest['fn'](),'errors':jest['fn'](),'json':jest['fn']()},a45_0x3c718c={};a45_0x3c718c[a45_0x3ea19e(0xb0)+'er']=mockCreateLogger,a45_0x3c718c[a45_0x3ea19e(0xc6)]=mockTransports,a45_0x3c718c[a45_0x3ea19e(0xb2)]=mockFormat,jest[a45_0x3ea19e(0xc1)+a45_0x3ea19e(0xb4)](a45_0x3ea19e(0xd2),()=>({'default':a45_0x3c718c,'createLogger':mockCreateLogger,'transports':mockTransports,'format':mockFormat}));const {logger}=await import(a45_0x3ea19e(0xba)+'js');describe(a45_0x3ea19e(0xc3),()=>{const _0x521f5b=a45_0x3ea19e,_0x5b3be1={'peSSc':function(_0x30b66e,_0x1417d4){return _0x30b66e(_0x1417d4);}};it(_0x521f5b(0xbf)+_0x521f5b(0xce)+'d',()=>{const _0x3f75e2=_0x521f5b;expect(logger)[_0x3f75e2(0xb1)+'d'](),_0x5b3be1[_0x3f75e2(0xb7)](expect,mockCreateLogger)[_0x3f75e2(0xd0)+_0x3f75e2(0xc4)]();}),it(_0x521f5b(0xb8)+_0x521f5b(0xaf),()=>{const _0x5d6276=_0x521f5b;'SKRTG'===_0x5d6276(0xc5)?(_0x11f47d[_0x5d6276(0xcf)](_0x5d6276(0xc9)),_0xb1f356(_0x570269)[_0x5d6276(0xd0)+_0x5d6276(0xc2)](_0x5d6276(0xc9))):(logger[_0x5d6276(0xbb)](_0x5d6276(0xbd)),expect(mockInfo)['toHaveBeen'+_0x5d6276(0xc2)](_0x5d6276(0xbd)));}),it(_0x521f5b(0xb8)+_0x521f5b(0xb5),()=>{const _0x5e7f36=_0x521f5b;_0x5e7f36(0xb3)===_0x5e7f36(0xb9)?(_0x221e88[_0x5e7f36(0xbb)](_0x5e7f36(0xbd)),_0x539a3f(_0x411ed7)[_0x5e7f36(0xd0)+_0x5e7f36(0xc2)](_0x5e7f36(0xbd))):(logger['error'](_0x5e7f36(0xc9)),expect(mockError)[_0x5e7f36(0xd0)+_0x5e7f36(0xc2)]('test\x20error'));});});
1
+ const a45_0x11a789=a45_0x3370;function a45_0x3370(_0x43f3bb,_0x5afeb9){_0x43f3bb=_0x43f3bb-0x128;const _0x37f46c=a45_0x1e5d();let _0x15f723=_0x37f46c[_0x43f3bb];return _0x15f723;}function a45_0x1e5d(){const _0x4b0a71=['toHaveBeen','toBeDefine','7318530YQLlNV','16DXBEOr','704KannGq','search','transports','should\x20log','toString','format','test\x20info','initialize','3196623qtKzIO','7142280QnPGyV','kvLNt','constructo','winston','ockModule','2582839usmSbO','MEaef','4OeDdxd','(((.+)+)+)','../logger.','90rwjfGN','483216ZsTnpx','462155oSyyXK','4cWaULY','info','CalledWith','apply','195273RhjmBH','Called'];a45_0x1e5d=function(){return _0x4b0a71;};return a45_0x1e5d();}(function(_0x227eef,_0x5307e3){const _0x497b82=a45_0x3370,_0x11701a=_0x227eef();while(!![]){try{const _0x320a6f=parseInt(_0x497b82(0x13b))/0x1*(parseInt(_0x497b82(0x136))/0x2)+parseInt(_0x497b82(0x12e))/0x3+-parseInt(_0x497b82(0x13c))/0x4*(parseInt(_0x497b82(0x144))/0x5)+-parseInt(_0x497b82(0x12f))/0x6+-parseInt(_0x497b82(0x134))/0x7*(parseInt(_0x497b82(0x145))/0x8)+parseInt(_0x497b82(0x140))/0x9*(-parseInt(_0x497b82(0x139))/0xa)+parseInt(_0x497b82(0x146))/0xb*(parseInt(_0x497b82(0x13a))/0xc);if(_0x320a6f===_0x5307e3)break;else _0x11701a['push'](_0x11701a['shift']());}catch(_0x11d15d){_0x11701a['push'](_0x11701a['shift']());}}}(a45_0x1e5d,0xef2ea));const a45_0x134f93=(function(){let _0x3b383f=!![];return function(_0x3eef88,_0x4df317){const _0x500016=_0x3b383f?function(){const _0x283254=a45_0x3370;if(_0x4df317){const _0x56b109=_0x4df317[_0x283254(0x13f)](_0x3eef88,arguments);return _0x4df317=null,_0x56b109;}}:function(){};return _0x3b383f=![],_0x500016;};}()),a45_0x15f723=a45_0x134f93(this,function(){const _0x2b8b00=a45_0x3370;return a45_0x15f723[_0x2b8b00(0x12a)]()[_0x2b8b00(0x147)](_0x2b8b00(0x137)+'+$')[_0x2b8b00(0x12a)]()[_0x2b8b00(0x131)+'r'](a45_0x15f723)[_0x2b8b00(0x147)](_0x2b8b00(0x137)+'+$');});a45_0x15f723();import{jest,describe,it,expect}from'@jest/globals';const mockInfo=jest['fn'](),mockWarn=jest['fn'](),mockError=jest['fn'](),mockDebug=jest['fn'](),mockLogger={'info':mockInfo,'warn':mockWarn,'error':mockError,'debug':mockDebug,'add':jest['fn']()},mockCreateLogger=jest['fn'](()=>mockLogger),mockTransports={'Console':jest['fn'](),'File':jest['fn']()},mockFormat={'combine':jest['fn'](),'timestamp':jest['fn'](),'printf':jest['fn'](),'colorize':jest['fn'](),'simple':jest['fn'](),'errors':jest['fn'](),'json':jest['fn']()},a45_0x149796={};a45_0x149796['createLogg'+'er']=mockCreateLogger,a45_0x149796[a45_0x11a789(0x128)]=mockTransports,a45_0x149796[a45_0x11a789(0x12b)]=mockFormat,jest['unstable_m'+a45_0x11a789(0x133)](a45_0x11a789(0x132),()=>({'default':a45_0x149796,'createLogger':mockCreateLogger,'transports':mockTransports,'format':mockFormat}));const {logger}=await import(a45_0x11a789(0x138)+'js');describe('Logger',()=>{const _0xf2518f=a45_0x11a789,_0x2509b1={'MEaef':function(_0x4a5ad2,_0x1e73d8){return _0x4a5ad2(_0x1e73d8);},'kvLNt':'should\x20log'+'\x20info'};it('should\x20be\x20'+_0xf2518f(0x12d)+'d',()=>{const _0x5910bb=_0xf2518f;expect(logger)[_0x5910bb(0x143)+'d'](),_0x2509b1[_0x5910bb(0x135)](expect,mockCreateLogger)[_0x5910bb(0x142)+_0x5910bb(0x141)]();}),it(_0x2509b1[_0xf2518f(0x130)],()=>{const _0x16e629=_0xf2518f;logger[_0x16e629(0x13d)](_0x16e629(0x12c)),expect(mockInfo)[_0x16e629(0x142)+_0x16e629(0x13e)](_0x16e629(0x12c));}),it(_0xf2518f(0x129)+'\x20error',()=>{const _0x5a4f49=_0xf2518f;logger['error']('test\x20error'),expect(mockError)[_0x5a4f49(0x142)+_0x5a4f49(0x13e)]('test\x20error');});});
@@ -1 +1 @@
1
- (function(_0x9ebb87,_0x1d660b){const _0x2e4145=a36_0x281c,_0x1e0e63=_0x9ebb87();while(!![]){try{const _0x422125=-parseInt(_0x2e4145(0x18f))/0x1*(parseInt(_0x2e4145(0x185))/0x2)+-parseInt(_0x2e4145(0x18a))/0x3*(-parseInt(_0x2e4145(0x195))/0x4)+-parseInt(_0x2e4145(0x197))/0x5+parseInt(_0x2e4145(0x18d))/0x6+parseInt(_0x2e4145(0x18b))/0x7+parseInt(_0x2e4145(0x184))/0x8+parseInt(_0x2e4145(0x198))/0x9;if(_0x422125===_0x1d660b)break;else _0x1e0e63['push'](_0x1e0e63['shift']());}catch(_0x2fc74c){_0x1e0e63['push'](_0x1e0e63['shift']());}}}(a36_0x5788,0xabde2));const a36_0xdfca8d=(function(){let _0x58645b=!![];return function(_0x4a471d,_0x29dc21){const _0x54800d=_0x58645b?function(){const _0x43e4e7=a36_0x281c;if(_0x29dc21){const _0x4ecac8=_0x29dc21[_0x43e4e7(0x191)](_0x4a471d,arguments);return _0x29dc21=null,_0x4ecac8;}}:function(){};return _0x58645b=![],_0x54800d;};}()),a36_0x5c9bba=a36_0xdfca8d(this,function(){const _0x103133=a36_0x281c,_0x2be0b7={};_0x2be0b7[_0x103133(0x18c)]=_0x103133(0x186)+'+$';const _0x19c356=_0x2be0b7;return a36_0x5c9bba[_0x103133(0x194)]()[_0x103133(0x183)](_0x103133(0x186)+'+$')[_0x103133(0x194)]()[_0x103133(0x188)+'r'](a36_0x5c9bba)[_0x103133(0x183)](_0x19c356[_0x103133(0x18c)]);});a36_0x5c9bba();function a36_0x5788(){const _0xd99e4f=['fromCharCo','3412740CrHkIu','675630qufBam','xYiEk','BkTyc','alloc','search','9068704xVdDdE','38XHeuNj','(((.+)+)+)','base64','constructo','utf8','407466XVfhbS','6188973gqyGDB','CmVBs','424290qtqcPI','iSIRT','62340oOQXXg','jORcy','apply','length','from','toString','12aKHEjm'];a36_0x5788=function(){return _0xd99e4f;};return a36_0x5788();}function a36_0x281c(_0x3975ab,_0x5b0f1b){_0x3975ab=_0x3975ab-0x182;const _0x10ef45=a36_0x5788();let _0x5c9bba=_0x10ef45[_0x3975ab];return _0x5c9bba;}export function encryptString(_0x2f9b92,_0x1dfa2f){const _0x31c156=a36_0x281c,_0x5f032f={};_0x5f032f[_0x31c156(0x190)]=function(_0x5ba585,_0x42b963){return _0x5ba585%_0x42b963;};const _0x18af28=_0x5f032f,_0x5202ef=Buffer['from'](_0x1dfa2f,_0x31c156(0x189)),_0x4cf86c=Buffer[_0x31c156(0x193)](_0x2f9b92,_0x31c156(0x189)),_0x3e67d7=Buffer[_0x31c156(0x182)](_0x4cf86c[_0x31c156(0x192)]);for(let _0x3768ff=0x0;_0x3768ff<_0x4cf86c[_0x31c156(0x192)];_0x3768ff++){_0x3e67d7[_0x3768ff]=_0x4cf86c[_0x3768ff]^_0x5202ef[_0x18af28['jORcy'](_0x3768ff,_0x5202ef[_0x31c156(0x192)])];}return _0x3e67d7['toString']('base64');}export function decryptString(_0x37b201,_0x24d139){const _0x2d9fbf=a36_0x281c,_0x3d4ba3={};_0x3d4ba3[_0x2d9fbf(0x19a)]=function(_0x178f38,_0x8e4c0d){return _0x178f38<_0x8e4c0d;},_0x3d4ba3[_0x2d9fbf(0x18e)]=function(_0x1b2f7a,_0x9786db){return _0x1b2f7a^_0x9786db;},_0x3d4ba3[_0x2d9fbf(0x199)]=function(_0x192998,_0x501c4c){return _0x192998%_0x501c4c;};const _0x47140c=_0x3d4ba3,_0x5b0f79=Buffer[_0x2d9fbf(0x193)](_0x24d139,_0x2d9fbf(0x189)),_0x298669=Buffer['from'](_0x37b201,_0x2d9fbf(0x187)),_0x57abff=Buffer['alloc'](_0x298669[_0x2d9fbf(0x192)]);for(let _0x4d1a91=0x0;_0x47140c['BkTyc'](_0x4d1a91,_0x298669[_0x2d9fbf(0x192)]);_0x4d1a91++){_0x57abff[_0x4d1a91]=_0x47140c[_0x2d9fbf(0x18e)](_0x298669[_0x4d1a91],_0x5b0f79[_0x47140c[_0x2d9fbf(0x199)](_0x4d1a91,_0x5b0f79['length'])]);}return _0x57abff[_0x2d9fbf(0x194)](_0x2d9fbf(0x189));}export function decryptInternal(_0x43c457){const _0x23be31=a36_0x281c,_0x199f14=String[_0x23be31(0x196)+'de'](0x53,0x33,0x5f,0x4b,0x65,0x79),_0x5adf6c=String[_0x23be31(0x196)+'de'](0x5f,0x45,0x6e,0x63,0x72,0x79,0x70,0x74),_0x58dbd8=String[_0x23be31(0x196)+'de'](0x5f,0x32,0x30,0x32,0x34),_0x16f31a=_0x199f14+_0x5adf6c+_0x58dbd8;return decryptString(_0x43c457,_0x16f31a);}
1
+ (function(_0x5e5ccc,_0x20093f){const _0x46dfdf=a36_0x554f,_0x2069e3=_0x5e5ccc();while(!![]){try{const _0x4d0957=parseInt(_0x46dfdf(0xe5))/0x1+parseInt(_0x46dfdf(0xda))/0x2+parseInt(_0x46dfdf(0xde))/0x3+-parseInt(_0x46dfdf(0xee))/0x4*(-parseInt(_0x46dfdf(0xe2))/0x5)+-parseInt(_0x46dfdf(0xe0))/0x6+-parseInt(_0x46dfdf(0xe4))/0x7*(-parseInt(_0x46dfdf(0xe3))/0x8)+-parseInt(_0x46dfdf(0xed))/0x9*(parseInt(_0x46dfdf(0xec))/0xa);if(_0x4d0957===_0x20093f)break;else _0x2069e3['push'](_0x2069e3['shift']());}catch(_0x1f443c){_0x2069e3['push'](_0x2069e3['shift']());}}}(a36_0x4b86,0x884cd));function a36_0x4b86(){const _0x52b70e=['5552984PoCPHu','7SNKrnF','530980lwJBTH','toString','constructo','base64','(((.+)+)+)','length','from','54110pHnGvN','2691goJIEi','1584748ZfHSUq','search','utf8','382892QLPDNl','apply','gEBzW','fromCharCo','2115462YRiIFO','ROyAU','2050296xvpShR','alloc','5naDFio'];a36_0x4b86=function(){return _0x52b70e;};return a36_0x4b86();}const a36_0x4534c7=(function(){let _0x524cce=!![];return function(_0x181983,_0x3df170){const _0x43468f=_0x524cce?function(){const _0x545537=a36_0x554f;if(_0x3df170){const _0x2bf651=_0x3df170[_0x545537(0xdb)](_0x181983,arguments);return _0x3df170=null,_0x2bf651;}}:function(){};return _0x524cce=![],_0x43468f;};}()),a36_0x3dc1c4=a36_0x4534c7(this,function(){const _0xd1cf4e=a36_0x554f,_0x38371f={};_0x38371f['ROyAU']=_0xd1cf4e(0xe9)+'+$';const _0x5c5682=_0x38371f;return a36_0x3dc1c4['toString']()[_0xd1cf4e(0xef)](_0xd1cf4e(0xe9)+'+$')[_0xd1cf4e(0xe6)]()[_0xd1cf4e(0xe7)+'r'](a36_0x3dc1c4)[_0xd1cf4e(0xef)](_0x5c5682[_0xd1cf4e(0xdf)]);});function a36_0x554f(_0x2b3534,_0x406e61){_0x2b3534=_0x2b3534-0xda;const _0x5bc68f=a36_0x4b86();let _0x3dc1c4=_0x5bc68f[_0x2b3534];return _0x3dc1c4;}a36_0x3dc1c4();export function encryptString(_0x4fc0ba,_0x5c217a){const _0x2d5617=a36_0x554f,_0x5bc2b5=Buffer[_0x2d5617(0xeb)](_0x5c217a,_0x2d5617(0xf0)),_0x20d82a=Buffer[_0x2d5617(0xeb)](_0x4fc0ba,_0x2d5617(0xf0)),_0x30405b=Buffer[_0x2d5617(0xe1)](_0x20d82a[_0x2d5617(0xea)]);for(let _0x2e6bfb=0x0;_0x2e6bfb<_0x20d82a[_0x2d5617(0xea)];_0x2e6bfb++){_0x30405b[_0x2e6bfb]=_0x20d82a[_0x2e6bfb]^_0x5bc2b5[_0x2e6bfb%_0x5bc2b5[_0x2d5617(0xea)]];}return _0x30405b[_0x2d5617(0xe6)](_0x2d5617(0xe8));}export function decryptString(_0x503bb4,_0x1b2aaa){const _0x33e179=a36_0x554f,_0x1f41b6=Buffer[_0x33e179(0xeb)](_0x1b2aaa,_0x33e179(0xf0)),_0x2eec15=Buffer[_0x33e179(0xeb)](_0x503bb4,_0x33e179(0xe8)),_0x32c292=Buffer[_0x33e179(0xe1)](_0x2eec15[_0x33e179(0xea)]);for(let _0x13f6ed=0x0;_0x13f6ed<_0x2eec15[_0x33e179(0xea)];_0x13f6ed++){_0x32c292[_0x13f6ed]=_0x2eec15[_0x13f6ed]^_0x1f41b6[_0x13f6ed%_0x1f41b6[_0x33e179(0xea)]];}return _0x32c292['toString'](_0x33e179(0xf0));}export function decryptInternal(_0x2c30f1){const _0x31be75=a36_0x554f,_0x45c01a={};_0x45c01a['gEBzW']=function(_0x53a10c,_0x689b0d){return _0x53a10c+_0x689b0d;};const _0x25269d=_0x45c01a,_0x5aecdb=String[_0x31be75(0xdd)+'de'](0x53,0x33,0x5f,0x4b,0x65,0x79),_0x22a51a=String[_0x31be75(0xdd)+'de'](0x5f,0x45,0x6e,0x63,0x72,0x79,0x70,0x74),_0x131d35=String[_0x31be75(0xdd)+'de'](0x5f,0x32,0x30,0x32,0x34),_0x2274e7=_0x25269d[_0x31be75(0xdc)](_0x5aecdb,_0x22a51a)+_0x131d35;return decryptString(_0x2c30f1,_0x2274e7);}