@gugananuvem/aws-local-simulator 1.0.5 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- (function(_0xbb8518,_0x798fb4){const _0x479f64=_0xbb8518();function _0x48547c(_0x2807b5,_0x46222e){return _0x5270(_0x46222e- -0x181,_0x2807b5);}while(!![]){try{const _0x56878a=-parseInt(_0x48547c(-0x113,-0x109))/0x1*(-parseInt(_0x48547c(-0xf7,-0xfa))/0x2)+parseInt(_0x48547c(-0xf1,-0xff))/0x3+parseInt(_0x48547c(-0x100,-0x102))/0x4*(-parseInt(_0x48547c(-0xe6,-0xf2))/0x5)+parseInt(_0x48547c(-0xf4,-0xfd))/0x6+parseInt(_0x48547c(-0x10c,-0x106))/0x7+-parseInt(_0x48547c(-0x109,-0x107))/0x8*(parseInt(_0x48547c(-0xf9,-0xf5))/0x9)+parseInt(_0x48547c(-0xef,-0xf0))/0xa*(-parseInt(_0x48547c(-0xf5,-0xf9))/0xb);if(_0x56878a===_0x798fb4)break;else _0x479f64['push'](_0x479f64['shift']());}catch(_0x32bef0){_0x479f64['push'](_0x479f64['shift']());}}}(_0x3491,0x8bec6));const {AWSLocalSimulator}=require(_0x204db7(0x295,0x2a0));function _0x204db7(_0x525760,_0x5ccb7f){return _0x5270(_0x5ccb7f-0x216,_0x525760);}const logger=require('../src/utils/logger'),path=require(_0x204db7(0x28d,0x29b)),command=process[_0x204db7(0x291,0x29f)][0x2],configPath=process[_0x204db7(0x2a2,0x29f)][0x3],simulator=new AWSLocalSimulator({'configPath':configPath?path[_0x204db7(0x2ae,0x2a3)](process[_0x204db7(0x2a5,0x297)](),configPath):undefined});function _0x3491(){const _0xc833e0=['../src/index','restart','45TLNsoI','resolve','help','4025muprsl','error','8290pACRpQ','catch','reset','97nOcfoO','getStatus','311944sFLCxE','5907349iUhesR','start','stop','exit','2524tOzIZP','log','cwd','2941443lwmbWv','\x0aAWS\x20Local\x20Simulator\x20-\x20CLI\x20Commands:\x0a\x20\x20start\x20[configPath]\x20\x20-\x20Inicia\x20o\x20simulador\x0a\x20\x20stop\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Para\x20o\x20simulador\x0a\x20\x20restart\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Reinicia\x20o\x20simulador\x0a\x20\x20reset\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Reseta\x20todos\x20os\x20dados\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Mostra\x20status\x20dos\x20serviços\x0a\x20\x20help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Mostra\x20esta\x20ajuda\x0a\x0aExemplos:\x0a\x20\x20npx\x20aws-local-simulator\x20start\x0a\x20\x20npx\x20aws-local-simulator\x20start\x20./my-config.json\x0a\x20\x20AWS_LOCAL_SIMULATOR_LOG=verboso\x20npx\x20aws-local-simulator\x20start\x0a\x20\x20\x20\x20\x20\x20','1275846AzZIrV','path','stringify','20854cqejSB','23518sFXNwX','argv'];_0x3491=function(){return _0xc833e0;};return _0x3491();}function _0x5270(_0x5c3bdd,_0x4e2362){_0x5c3bdd=_0x5c3bdd-0x76;const _0x349153=_0x3491();let _0x527059=_0x349153[_0x5c3bdd];return _0x527059;}async function main(){function _0x23bf25(_0x48e667,_0x5f1e4d){return _0x204db7(_0x48e667,_0x5f1e4d-0x156);}switch(command){case _0x23bf25(0x3e0,0x3e8):await simulator['start']();break;case _0x23bf25(0x3f5,0x3e9):await simulator[_0x23bf25(0x3f4,0x3e9)]();break;case _0x23bf25(0x3ee,0x3f7):await simulator['restart']();break;case'reset':await simulator[_0x23bf25(0x3d5,0x3e3)]();break;case'status':const _0x4a7b8a=simulator[_0x23bf25(0x3ec,0x3e5)]();console[_0x23bf25(0x3e6,0x3ec)](JSON[_0x23bf25(0x3f6,0x3f2)](_0x4a7b8a,null,0x2));break;case _0x23bf25(0x408,0x3fa):default:console[_0x23bf25(0x3f3,0x3ec)](_0x23bf25(0x3e2,0x3ef));break;}}main()[_0x204db7(0x291,0x28c)](_0x146022=>{function _0x15786c(_0x43d9d4,_0x442b6f){return _0x204db7(_0x43d9d4,_0x442b6f-0x16);}logger[_0x15786c(0x2ae,0x2bc)]('Erro:',_0x146022),process[_0x15786c(0x2b8,0x2aa)](0x1);});
3
+ (function(_0x1806d8,_0x213cfd){function _0x21d08c(_0x6c77c6,_0x425b51){return _0x5446(_0x425b51-0x53,_0x6c77c6);}const _0x566036=_0x1806d8();while(!![]){try{const _0x55cd2b=-parseInt(_0x21d08c(0x1c4,0x1b9))/0x1+parseInt(_0x21d08c(0x1bb,0x1b4))/0x2+-parseInt(_0x21d08c(0x1a9,0x1a2))/0x3*(-parseInt(_0x21d08c(0x1ab,0x1a3))/0x4)+-parseInt(_0x21d08c(0x1bf,0x1b8))/0x5*(parseInt(_0x21d08c(0x1a6,0x1a8))/0x6)+parseInt(_0x21d08c(0x1aa,0x1a7))/0x7+parseInt(_0x21d08c(0x1ad,0x1b6))/0x8+-parseInt(_0x21d08c(0x1ae,0x1a9))/0x9;if(_0x55cd2b===_0x213cfd)break;else _0x566036['push'](_0x566036['shift']());}catch(_0xb76872){_0x566036['push'](_0x566036['shift']());}}}(_0x29e7,0xbe531));function _0x5446(_0x43728d,_0x3090ef){_0x43728d=_0x43728d-0x14f;const _0x29e789=_0x29e7();let _0x5446c5=_0x29e789[_0x43728d];return _0x5446c5;}const {AWSLocalSimulator}=require(_0x5b2cfc(0x4ed,0x4f9));function _0x29e7(){const _0x5850a7=['catch','Erro:','log','5193608nMgeOD','697164AYBvBD','2610306HLTuYk','reset','stringify','restart','\x0aAWS\x20Local\x20Simulator\x20-\x20CLI\x20Commands:\x0a\x20\x20start\x20[configPath]\x20\x20-\x20Inicia\x20o\x20simulador\x0a\x20\x20stop\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Para\x20o\x20simulador\x0a\x20\x20restart\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Reinicia\x20o\x20simulador\x0a\x20\x20reset\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Reseta\x20todos\x20os\x20dados\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Mostra\x20status\x20dos\x20serviços\x0a\x20\x20help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Mostra\x20esta\x20ajuda\x0a\x0aExemplos:\x0a\x20\x20npx\x20aws-local-simulator\x20start\x0a\x20\x20npx\x20aws-local-simulator\x20start\x20./my-config.json\x0a\x20\x20AWS_LOCAL_SIMULATOR_LOG=verboso\x20npx\x20aws-local-simulator\x20start\x0a\x20\x20\x20\x20\x20\x20','getStatus','start','cwd','exit','stop','path','1611254ZmUIbu','argv','4315048VSZSEW','../src/index','65qqfscz','1000745OVtyBn','2240877HpqKQg','8vUjbFl'];_0x29e7=function(){return _0x5850a7;};return _0x29e7();}function _0x5b2cfc(_0x16ecfa,_0x4b679c){return _0x5446(_0x4b679c-0x395,_0x16ecfa);}const logger=require('../src/utils/logger'),path=require(_0x5b2cfc(0x4fb,0x4f5)),command=process[_0x5b2cfc(0x503,0x4f7)][0x2],configPath=process[_0x5b2cfc(0x4fe,0x4f7)][0x3],simulator=new AWSLocalSimulator({'configPath':configPath?path['resolve'](process[_0x5b2cfc(0x4f0,0x4f2)](),configPath):undefined});async function main(){function _0x344dd5(_0x342def,_0x2bcdfe){return _0x5b2cfc(_0x342def,_0x2bcdfe- -0x306);}switch(command){case'start':await simulator[_0x344dd5(0x1f2,0x1eb)]();break;case'stop':await simulator[_0x344dd5(0x1f2,0x1ee)]();break;case _0x344dd5(0x1f2,0x1e8):await simulator['restart']();break;case _0x344dd5(0x1eb,0x1e6):await simulator['reset']();break;case'status':const _0x34576f=simulator[_0x344dd5(0x1ec,0x1ea)]();console[_0x344dd5(0x1e8,0x1e2)](JSON[_0x344dd5(0x1f2,0x1e7)](_0x34576f,null,0x2));break;case'help':default:console[_0x344dd5(0x1ea,0x1e2)](_0x344dd5(0x1ef,0x1e9));break;}}main()[_0x5b2cfc(0x4e7,0x4e6)](_0x4a613c=>{function _0x255ebf(_0x45f7ce,_0x25da30){return _0x5b2cfc(_0x25da30,_0x45f7ce- -0x5a4);}logger['error'](_0x255ebf(-0xbd,-0xb1),_0x4a613c),process[_0x255ebf(-0xb1,-0xbb)](0x1);});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gugananuvem/aws-local-simulator",
3
- "version": "1.0.5",
3
+ "version": "1.0.8",
4
4
  "description": "Simulador local completo para serviços AWS",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -107,5 +107,5 @@
107
107
  "start": "node bin/aws-local-simulator.js start"
108
108
  },
109
109
  "obfuscated": true,
110
- "obfuscatedAt": "2026-03-29T02:15:49.611Z"
110
+ "obfuscatedAt": "2026-03-29T02:34:32.163Z"
111
111
  }
package/src/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x2f356a,_0x45bfcb){function _0x590083(_0x2e9e0d,_0xccf026){return _0x4bb2(_0x2e9e0d- -0x378,_0xccf026);}const _0x288943=_0x2f356a();while(!![]){try{const _0x391595=parseInt(_0x590083(-0x30b,-0x31b))/0x1+-parseInt(_0x590083(-0x2f8,-0x2e4))/0x2*(-parseInt(_0x590083(-0x2e3,-0x2fa))/0x3)+-parseInt(_0x590083(-0x302,-0x30a))/0x4*(parseInt(_0x590083(-0x2f3,-0x309))/0x5)+-parseInt(_0x590083(-0x308,-0x311))/0x6*(parseInt(_0x590083(-0x309,-0x318))/0x7)+parseInt(_0x590083(-0x2fe,-0x2fd))/0x8+parseInt(_0x590083(-0x2e5,-0x2dc))/0x9+-parseInt(_0x590083(-0x2ff,-0x2f7))/0xa;if(_0x391595===_0x45bfcb)break;else _0x288943['push'](_0x288943['shift']());}catch(_0x1333a8){_0x288943['push'](_0x288943['shift']());}}}(_0x20e9,0xeef5e));const Server=require(_0x148c69(0x25,0x2c)),{loadConfig}=require(_0x148c69(0x29,0x3e)),logger=require(_0x148c69(0x24,0x1b));function _0x148c69(_0x558771,_0x238e4d){return _0x4bb2(_0x558771- -0x58,_0x238e4d);}const DynamoDBService=require('./services/dynamodb'),S3Service=require(_0x148c69(0x33,0x43)),SQSService=require(_0x148c69(0x30,0x22)),LambdaService=require(_0x148c69(0x20,0x1d)),SNSService=require(_0x148c69(0x27,0x1e)),EventBridgeService=require(_0x148c69(0x1a,0x23)),LocalStore=require(_0x148c69(0x34,0x35)),HandlerLoader=require(_0x148c69(0x37,0x43)),RouteRegistry=require(_0x148c69(0x1f,0xb));class AWSLocalSimulator{constructor(_0x46c361={}){this[_0x4ea9eb(0x14b,0x160)]=_0x46c361;function _0x4ea9eb(_0x26012b,_0x5e3f03){return _0x148c69(_0x5e3f03-0x136,_0x26012b);}this['server']=null,this['isRunning']=![];}async[_0x148c69(0x3a,0x43)](){function _0x1352da(_0x1101e4,_0x1bdb4c){return _0x148c69(_0x1bdb4c-0x1c7,_0x1101e4);}if(this[_0x1352da(0x1d6,0x1dd)])return logger[_0x1352da(0x1ea,0x1f3)](_0x1352da(0x205,0x206)),this;try{const _0xcce84d=await loadConfig(this[_0x1352da(0x205,0x1f1)]['configPath']);return this[_0x1352da(0x1f0,0x1e0)]=new Server(_0xcce84d),await this[_0x1352da(0x1ed,0x1e0)]['start'](),this[_0x1352da(0x1e3,0x1dd)]=!![],logger[_0x1352da(0x20d,0x1f6)]('✅\x20AWS\x20Local\x20Simulator\x20iniciado\x20com\x20sucesso'),this;}catch(_0x1dae16){logger[_0x1352da(0x1f7,0x1e4)](_0x1352da(0x1e4,0x1f8),_0x1dae16);throw _0x1dae16;}}async[_0x148c69(0x2e,0x40)](){if(!this['isRunning']||!this[_0x1bf189(-0xec,-0xe9)])return logger[_0x1bf189(-0xcb,-0xd6)](_0x1bf189(-0xf1,-0xdf)),this;function _0x1bf189(_0x2907be,_0x2967b0){return _0x148c69(_0x2967b0- -0x102,_0x2907be);}try{return await this['server']['stop'](),this['isRunning']=![],logger['info'](_0x1bf189(-0xcb,-0xc9)),this;}catch(_0x264754){logger[_0x1bf189(-0xf7,-0xe5)](_0x1bf189(-0xf3,-0xee),_0x264754);throw _0x264754;}}async['restart'](){function _0x49c439(_0x36a649,_0x5cf531){return _0x148c69(_0x36a649- -0x9b,_0x5cf531);}return await this[_0x49c439(-0x6d,-0x70)](),await this[_0x49c439(-0x61,-0x6a)](),this;}async['reset'](){if(!this[_0xe57ca(0x63,0x5f)])throw new Error(_0xe57ca(0x5d,0x59));await this[_0xe57ca(0x76,0x5f)][_0xe57ca(0x6b,0x6c)]();function _0xe57ca(_0x289454,_0x1caa20){return _0x148c69(_0x1caa20-0x46,_0x289454);}return logger[_0xe57ca(0x6d,0x75)](_0xe57ca(0x85,0x7c)),this;}['getStatus'](){function _0x5a63f0(_0x11573f,_0x469545){return _0x148c69(_0x11573f- -0x344,_0x469545);}if(!this['server'])return{'running':![]};return{'running':this['isRunning'],'services':this[_0x5a63f0(-0x32b,-0x327)][_0x5a63f0(-0x319,-0x304)]()};}[_0x148c69(0x1b,0x1d)](_0x50f7eb){if(!this[_0x34c8ab(0x446,0x44f)])return null;function _0x34c8ab(_0x57c326,_0x10d01a){return _0x148c69(_0x10d01a-0x436,_0x57c326);}return this['server'][_0x34c8ab(0x466,0x451)](_0x50f7eb);}[_0x148c69(0x38,0x29)](){function _0x31da62(_0x5a2375,_0x2f4e7c){return _0x148c69(_0x5a2375-0xf2,_0x2f4e7c);}return this[_0x31da62(0x10d,0x106)](_0x31da62(0x127,0x112))?.[_0x31da62(0x12e,0x13a)]();}['getS3'](){function _0x258ef4(_0x11939b,_0x11d16a){return _0x148c69(_0x11d16a-0xf8,_0x11939b);}return this[_0x258ef4(0x111,0x113)]('s3')?.[_0x258ef4(0x124,0x134)]();}[_0x148c69(0x1c,0x14)](){function _0x26fb24(_0x19311d,_0x3231f8){return _0x148c69(_0x3231f8-0x101,_0x19311d);}return this[_0x26fb24(0x12a,0x11c)](_0x26fb24(0x143,0x13f))?.['getSimulator']();}['getLambda'](){function _0x1aecce(_0x8622c,_0x4b22aa){return _0x148c69(_0x8622c-0x80,_0x4b22aa);}return this[_0x1aecce(0x9b,0x88)](_0x1aecce(0x92,0x91))?.['getSimulator']();}}function _0x20e9(){const _0x4b3e3f=['408NORBvF','./services/lambda/route-registry','./services/lambda','25489310pEDEdD','11472856hayYjy','Simulador\x20não\x20está\x20rodando','./utils/logger','./server','reset','./services/sns','3595874ECdEYG','./config/config-loader','options','getStatus','warn','67875VMydAd','stop','success','./services/sqs','❌\x20Erro\x20ao\x20iniciar\x20simulador:','exports','./services/s3','./utils/local-store','dynamodb','🗑️\x20Todos\x20os\x20dados\x20foram\x20resetados','./services/lambda/handler-loader','getDynamoDB','🛑\x20AWS\x20Local\x20Simulator\x20parado','start','15800985myFFOH','getSimulator','3TpDgwF','sqs','Simulador\x20já\x20está\x20rodando','lambda','Simulador\x20não\x20iniciado','❌\x20Erro\x20ao\x20parar\x20simulador:','1553056AjuPmV','isRunning','14WemHkt','4885206BfdjuB','server','./services/eventbridge','getService','getSQS','error'];_0x20e9=function(){return _0x4b3e3f;};return _0x20e9();}function _0x4bb2(_0x57e0d4,_0x1a81a7){_0x57e0d4=_0x57e0d4-0x6a;const _0x20e95d=_0x20e9();let _0x4bb2b8=_0x20e95d[_0x57e0d4];return _0x4bb2b8;}module['exports']={'AWSLocalSimulator':AWSLocalSimulator,'Server':Server,'DynamoDBService':DynamoDBService,'S3Service':S3Service,'SQSService':SQSService,'LambdaService':LambdaService,'SNSService':SNSService,'EventBridgeService':EventBridgeService,'LocalStore':LocalStore,'HandlerLoader':HandlerLoader,'RouteRegistry':RouteRegistry},module[_0x148c69(0x32,0x1d)]['default']=AWSLocalSimulator;
1
+ function _0x3c6e(){const _0x267fa4=['3667699EdwGTD','1913860DGyRaC','dynamodb','./services/sns','./services/s3','configPath','getStatus','default','getLambda','getService','start','./services/lambda/route-registry','./services/sqs','3155872WshjSv','error','reset','3484602cYDLHv','isRunning','warn','exports','./services/lambda/handler-loader','./utils/logger','❌\x20Erro\x20ao\x20iniciar\x20simulador:','options','864603JLPxOd','stop','restart','2322aZMexD','getS3','✅\x20AWS\x20Local\x20Simulator\x20iniciado\x20com\x20sucesso','974244HpguIW','lambda','success','getSQS','🗑️\x20Todos\x20os\x20dados\x20foram\x20resetados','2162OGKWFU','./config/config-loader','getDynamoDB','❌\x20Erro\x20ao\x20parar\x20simulador:','10nRArVF','getSimulator','server','🛑\x20AWS\x20Local\x20Simulator\x20parado'];_0x3c6e=function(){return _0x267fa4;};return _0x3c6e();}(function(_0x4a0c2d,_0xff59ce){const _0x20fb27=_0x4a0c2d();function _0x5a60f9(_0x53963f,_0x2bde90){return _0x4f28(_0x2bde90- -0x30a,_0x53963f);}while(!![]){try{const _0x249898=-parseInt(_0x5a60f9(-0x1b0,-0x1b5))/0x1+-parseInt(_0x5a60f9(-0x1af,-0x1aa))/0x2*(-parseInt(_0x5a60f9(-0x1a3,-0x1b2))/0x3)+-parseInt(_0x5a60f9(-0x1a4,-0x1a1))/0x4+-parseInt(_0x5a60f9(-0x1a4,-0x1a6))/0x5*(parseInt(_0x5a60f9(-0x19b,-0x1af))/0x6)+parseInt(_0x5a60f9(-0x195,-0x1a2))/0x7+parseInt(_0x5a60f9(-0x1a7,-0x195))/0x8+parseInt(_0x5a60f9(-0x198,-0x192))/0x9;if(_0x249898===_0xff59ce)break;else _0x20fb27['push'](_0x20fb27['shift']());}catch(_0x484db7){_0x20fb27['push'](_0x20fb27['shift']());}}}(_0x3c6e,0x73d81));function _0x4f28(_0x5daf5c,_0x4a0a48){_0x5daf5c=_0x5daf5c-0x14e;const _0x3c6e41=_0x3c6e();let _0x4f28d4=_0x3c6e41[_0x5daf5c];return _0x4f28d4;}const Server=require('./server'),{loadConfig}=require(_0x255a6e(0x449,0x455)),logger=require(_0x255a6e(0x43a,0x436)),DynamoDBService=require('./services/dynamodb'),S3Service=require(_0x255a6e(0x454,0x447)),SQSService=require(_0x255a6e(0x45c,0x466)),LambdaService=require('./services/lambda'),SNSService=require(_0x255a6e(0x453,0x44e)),EventBridgeService=require('./services/eventbridge');function _0x255a6e(_0x3976c1,_0x4db590){return _0x4f28(_0x3976c1-0x2e8,_0x4db590);}const LocalStore=require('./utils/local-store'),HandlerLoader=require(_0x255a6e(0x439,0x43f)),RouteRegistry=require(_0x255a6e(0x45b,0x453));class AWSLocalSimulator{constructor(_0x55e30e={}){function _0x25d1ea(_0x62d8ed,_0x3e4dff){return _0x255a6e(_0x3e4dff-0x59,_0x62d8ed);}this[_0x25d1ea(0x4a4,0x495)]=_0x55e30e,this['server']=null,this['isRunning']=![];}async[_0x255a6e(0x45a,0x447)](){function _0x11214a(_0x22d13f,_0x4c5fc1){return _0x255a6e(_0x4c5fc1- -0x37,_0x22d13f);}if(this['isRunning'])return logger[_0x11214a(0x409,0x400)]('Simulador\x20já\x20está\x20rodando'),this;try{const _0x1f07ba=await loadConfig(this[_0x11214a(0x40d,0x405)][_0x11214a(0x421,0x41e)]);return this[_0x11214a(0x40c,0x417)]=new Server(_0x1f07ba),await this[_0x11214a(0x420,0x417)][_0x11214a(0x435,0x423)](),this[_0x11214a(0x40d,0x3ff)]=!![],logger[_0x11214a(0x3ff,0x40e)](_0x11214a(0x40c,0x40b)),this;}catch(_0x2d397d){logger[_0x11214a(0x43c,0x427)](_0x11214a(0x40d,0x404),_0x2d397d);throw _0x2d397d;}}async['stop'](){if(!this['isRunning']||!this[_0xaff410(0x3a7,0x3b6)])return logger[_0xaff410(0x390,0x38c)]('Simulador\x20não\x20está\x20rodando'),this;function _0xaff410(_0x4b13ba,_0xb219b9){return _0x255a6e(_0x4b13ba- -0xa7,_0xb219b9);}try{return await this[_0xaff410(0x3a7,0x3b6)][_0xaff410(0x397,0x38b)](),this[_0xaff410(0x38f,0x389)]=![],logger['info'](_0xaff410(0x3a8,0x3aa)),this;}catch(_0x163692){logger[_0xaff410(0x3b7,0x3a6)](_0xaff410(0x3a4,0x3b0),_0x163692);throw _0x163692;}}async[_0x255a6e(0x43f,0x435)](){await this[_0x427f33(0x53,0x40)]();function _0x427f33(_0x522dd6,_0x4a1838){return _0x255a6e(_0x522dd6- -0x3eb,_0x4a1838);}return await this[_0x427f33(0x6f,0x70)](),this;}async[_0x255a6e(0x45f,0x465)](){function _0x4d9747(_0x36ee96,_0x44874d){return _0x255a6e(_0x36ee96- -0x152,_0x44874d);}if(!this[_0x4d9747(0x2fc,0x30d)])throw new Error('Simulador\x20não\x20iniciado');return await this[_0x4d9747(0x2fc,0x2ef)][_0x4d9747(0x30d,0x313)](),logger[_0x4d9747(0x2f3,0x2f1)](_0x4d9747(0x2f5,0x2f0)),this;}[_0x255a6e(0x456,0x44e)](){if(!this[_0x4ad5a4(0x14,0x1f)])return{'running':![]};function _0x4ad5a4(_0x244a31,_0xaa5681){return _0x255a6e(_0x244a31- -0x43a,_0xaa5681);}return{'running':this['isRunning'],'services':this[_0x4ad5a4(0x14,0x5)][_0x4ad5a4(0x1c,0xc)]()};}['getService'](_0x5845df){function _0x4aeb90(_0x27ab3b,_0x43520e){return _0x255a6e(_0x43520e- -0x1a6,_0x27ab3b);}if(!this[_0x4aeb90(0x2b6,0x2a8)])return null;return this[_0x4aeb90(0x2a8,0x2a8)][_0x4aeb90(0x2a0,0x2b3)](_0x5845df);}[_0x255a6e(0x44a,0x443)](){function _0x446ce2(_0x3a8ca7,_0x3a3704){return _0x255a6e(_0x3a3704- -0x3cd,_0x3a8ca7);}return this[_0x446ce2(0x97,0x8c)](_0x446ce2(0x98,0x85))?.[_0x446ce2(0x70,0x80)]();}[_0x255a6e(0x441,0x451)](){function _0x1abf5c(_0x236fea,_0x46b8eb){return _0x255a6e(_0x236fea- -0x16d,_0x46b8eb);}return this[_0x1abf5c(0x2ec,0x2eb)]('s3')?.[_0x1abf5c(0x2e0,0x2ea)]();}[_0x255a6e(0x446,0x455)](){function _0x33e45d(_0xad40df,_0x3e2b44){return _0x255a6e(_0xad40df- -0x2bb,_0x3e2b44);}return this[_0x33e45d(0x19e,0x1ac)]('sqs')?.[_0x33e45d(0x192,0x19c)]();}[_0x255a6e(0x458,0x45f)](){function _0x4abf8a(_0x43b4a2,_0x321257){return _0x255a6e(_0x43b4a2- -0x31a,_0x321257);}return this[_0x4abf8a(0x13f,0x152)](_0x4abf8a(0x12a,0x134))?.['getSimulator']();}}module[_0x255a6e(0x438,0x43b)]={'AWSLocalSimulator':AWSLocalSimulator,'Server':Server,'DynamoDBService':DynamoDBService,'S3Service':S3Service,'SQSService':SQSService,'LambdaService':LambdaService,'SNSService':SNSService,'EventBridgeService':EventBridgeService,'LocalStore':LocalStore,'HandlerLoader':HandlerLoader,'RouteRegistry':RouteRegistry},module['exports'][_0x255a6e(0x457,0x445)]=AWSLocalSimulator;