@maka/maka-cli 4.3.31 → 4.4.0
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.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/actions/actions.test.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a70j=a70d;(function(a,b){const h=a70d,c=a();while(!![]){try{const d=parseInt(h(0xc4))/0x1*(parseInt(h(0xd3))/0x2)+parseInt(h(0xc2))/0x3*(parseInt(h(0xcd))/0x4)+-parseInt(h(0xd1))/0x5+-parseInt(h(0xca))/0x6*(parseInt(h(0xc7))/0x7)+parseInt(h(0xc1))/0x8+-parseInt(h(0xc9))/0x9*(parseInt(h(0xc3))/0xa)+parseInt(h(0xd6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0x25c1c));const a70b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a70a=a70b(this,function(){const i=a70d;return a70a[i(0xc0)]()[i(0xd5)](i(0xc5))[i(0xc0)]()[i(0xd8)](a70a)[i(0xd5)]('(((.+)+)+)+$');});a70a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a70j(0xda)]({'name':'publish','aliases':['p'],'usage':a70j(0xd4),'shortDesc':a70j(0xcc),'validOpts':[],'examples':[a70j(0xd0)]},async function(a,b){const k=a70j,c=this[k(0xd2)]['getProjectConfig']();this[k(0xd2)][k(0xc8)](c,async()=>{const l=k,d={'name':b[l(0xce)],'collection':paramCase(b[l(0xce)]),'noRename':!![]};let e='js';c['engines']['js']===l(0xc6)&&(e='ts');const f=this[l(0xd2)]['rewriteDestinationPathForEngine']({'pathParts':[l(0xcb)+c[l(0xcf)]['js']]}),g=this['fsi'][l(0xd7)]({'srcPath':l(0xd9)+e,'context':d,'config':c});this['fsi']['injectAtEndOfFile']({'filePath':f,'content':'\x0a'+g});});});function a70d(a,b){const c=a70c();return a70d=function(d,e){d=d-0xc0;let f=c[d];return f;},a70d(a,b);}function a70c(){const m=['883664kUntMi','resourceName','engines','maka\x20g:publish\x20todos','309465DmEzCU','fsi','18jTaZtl','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','search','2439668jmSTFg','templateContent','constructor','publish/publish.','create','toString','561720zxGVag','3eSqGXj','10vynbdX','3812iRepFu','(((.+)+)+)+$','tsx','7bZxDCa','withValue','1359711SIrnOR','1077618zKGKDk','server/publish.','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html'];a70c=function(){return m;};return a70c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a71x=a71d;(function(a,b){const v=a71d,c=a();while(!![]){try{const d=parseInt(v(0xbd))/0x1*(-parseInt(v(0xc0))/0x2)+parseInt(v(0xb5))/0x3+parseInt(v(0xaa))/0x4*(-parseInt(v(0xc5))/0x5)+-parseInt(v(0xd8))/0x6+parseInt(v(0xbe))/0x7*(-parseInt(v(0xbf))/0x8)+parseInt(v(0xba))/0x9*(-parseInt(v(0xcd))/0xa)+parseInt(v(0xa7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0xcbced));const a71b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a71a=a71b(this,function(){const w=a71d;return a71a[w(0xc3)]()[w(0xb3)](w(0xaf))[w(0xc3)]()[w(0xdc)](a71a)[w(0xb3)](w(0xaf));});a71a();import a71e from'path';import{Generator}from'../generator.js';function a71d(a,b){const c=a71c();return a71d=function(d,e){d=d-0xa0;let f=c[d];return f;},a71d(a,b);}function a71c(){const G=['Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','constructor','react','injectIntoFile','imports','filter','vanilla','maka\x20g:route\x20lists/listIndex\x20lists','engines','findGenerator','injectAtEndOfFile','withHook','features','/imports/ui/pages','rewriteDestinationPathForEngine','const\x20privateRoutes\x20=\x20(<>','38888949WOJljz','includes','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','16JdlXbB','length','</Router>','fsi','routes.js','(((.+)+)+)+$','pathFromApp','private','route/route.js','search','join','2642571yoqfrz','templateContent','injectAfterLineNumber','ssr','error','711BTsLKn','startup','withValue','1LwfmeF','91sSgDqo','155576ZgLWBV','2009266fyjLXO','invoke','const\x20publicRoutes\x20=\x20(<>','toString','templateName','174905RPgoQP','readFileLines','\x0a\x09\x09','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','maka\x20g:route\x20todosEdit\x20todos/:id/edit','\x22*\x22','root','warn','155130EYRCav','getProjectConfig','<Router','lib','layout','PrivateLayout','MasterLayout','map','true','<Route','withTranslations','5751144EGaFIC','indexOf','client'];a71c=function(){return G;};return a71c();}import{Log}from'../tools/log/log.class.js';import a71f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator['create']({'name':'route','aliases':aliases,'validOpts':[a71x(0xb1),a71x(0xd1),'only','cwd','config',a71x(0xcb),a71x(0xa2)],'usage':a71x(0xc8),'shortDesc':'Scaffolding\x20for\x20a\x20Route.','examples':['maka\x20g:route\x20todosIndex\x20todos',a71x(0xc9),a71x(0xa9),a71x(0xe2)]},function(a,b){const y=a71x;try{const c=this[y(0xad)][y(0xce)]();this['fsi'][y(0xbc)](c,async()=>{const z=y,d=b['private']??![];let f=paramCase(a[0x0]),g='/'+f;a[z(0xab)]>0x1&&(g='/'+a[z(0xe0)](function(l){return l!=='/';})[z(0xb4)]('/')['toLowerCase']());f=camelCase(f);b[z(0xd1)]&&(b[z(0xd1)]=camelCase(b[z(0xd1)]));const h=a71e[z(0xb4)](z(0xa4),f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b['layout']||z(0xd3),'templatePath':h,'templateName':pascalCase(f),'client':c[z(0xe3)]['client'],'newForm':![],'withTranslations':c[z(0xa3)][z(0xd7)]};d&&(i[z(0xd1)]=z(0xd2));if(!b[z(0xcb)]){const l=a71f[z(0xa0)]('page');l&&await l[z(0xc1)](a,b);}let j,k;if(c[z(0xe3)][z(0xda)]===z(0xdd)){if(c['engines'][z(0xb8)]===z(0xd5)){const p=this[z(0xad)][z(0xb0)]({'pathParts':[z(0xdf),z(0xbb),z(0xd0),z(0xae)]});j=this['fsi'][z(0xa5)]({'pathParts':[p],'config':c});}else{const q=this[z(0xad)][z(0xb0)]({'pathParts':['imports',z(0xbb),z(0xda),z(0xae)]});j=this[z(0xad)][z(0xa5)]({'pathParts':[q],'config':c});}const m=this['fsi'][z(0xc6)](j)[z(0xd4)]((r,s)=>{const A=z;return r[A(0xa8)]('import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;')?s+0x1:null;})['filter'](r=>r!==null);let n=this[z(0xad)]['readFileLines'](j)[z(0xd4)]((r,s)=>{const B=z;return r[B(0xa8)]('const\x20publicRoutes\x20=\x20(<>')?s+0x1:null;})[z(0xe0)](r=>r!==null),o=this[z(0xad)]['readFileLines'](j)[z(0xd4)]((r,s)=>{const C=z;return r['includes'](C(0xa6))?s+0x1:null;})[z(0xe0)](r=>r!==null);n[z(0xab)]>0x0&&o[z(0xab)]>0x0&&(i['newForm']=!![]);k=this[z(0xad)][z(0xb6)]({'srcPath':'route/route.js','framework':z(0xdd),'context':i,'config':c});if(n[z(0xab)]>0x0||o[z(0xab)]>0x0){this[z(0xad)]['injectAfterLineNumber']({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o[z(0xab)]>0x0)o=this['fsi'][z(0xc6)](j)['map']((r,s)=>{const D=z;return r[D(0xa8)]('const\x20privateRoutes\x20=\x20(<>')?s+0x1:null;})[z(0xe0)](r=>r!==null),this[z(0xad)][z(0xb7)]({'filePath':j,'content':'\x09{'+i[z(0xc4)]+'}','lineNumber':o[0x0]});else n['length']>0x0?(n=this[z(0xad)]['readFileLines'](j)[z(0xd4)]((r,s)=>{const E=z;return r[E(0xa8)](E(0xc2))?s+0x1:null;})[z(0xe0)](r=>r!==null),this[z(0xad)][z(0xb7)]({'filePath':j,'content':'\x09{'+i[z(0xc4)]+'}','lineNumber':n[0x0]})):Log[z(0xcc)](z(0xdb)+j);}else{const r=this[z(0xad)][z(0xc6)](j)['map'](u=>{const F=z;return u[F(0xa8)](F(0xca));}),s=r[z(0xd9)](!![])>-0x1,t=s?z(0xd6):z(0xac);this[z(0xad)][z(0xde)]({'filePath':j,'content':'\x0a\x09\x09'+k+z(0xc7),'begin':z(0xcf),'end':t});}}else{if(c[z(0xe3)][z(0xda)]===z(0xe1)){const u=this[z(0xad)]['pathFromApp']({'pathParts':[z(0xdf),'startup',z(0xda),'routes.js']});j=this[z(0xad)][z(0xa5)]({'pathParts':[u],'config':c}),k=this['fsi'][z(0xb6)]({'srcPath':z(0xb2),'context':i}),this[z(0xad)][z(0xa1)]({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log[y(0xb9)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a72m=a72d;(function(a,b){const j=a72d,c=a();while(!![]){try{const d
|
|
1
|
+
const a72m=a72d;(function(a,b){const j=a72d,c=a();while(!![]){try{const d=-parseInt(j(0xbb))/0x1*(-parseInt(j(0xb8))/0x2)+-parseInt(j(0xb4))/0x3+parseInt(j(0xce))/0x4+-parseInt(j(0xd6))/0x5+parseInt(j(0xb6))/0x6+parseInt(j(0xd0))/0x7*(-parseInt(j(0xc0))/0x8)+parseInt(j(0xd4))/0x9*(parseInt(j(0xbc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0xd01d4));const a72b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a72d;if(c){const e=c[k(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a72a=a72b(this,function(){const l=a72d;return a72a[l(0xc3)]()[l(0xbe)](l(0xc5))['toString']()[l(0xbf)](a72a)[l(0xbe)]('(((.+)+)+)+$');});a72a();function a72c(){const p=['getProjectConfig','8brOvPY','pathFromApp','startup','307674Xvxxxh','24950dkCDaP','winston\x20setimmediate','search','constructor','8caovoL','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','resourceName','toString','checkNpmPackage','(((.+)+)+)+$','withValue','services','service/logger/logger.js','tsx','engines','Installing\x20winston','service','lib','2348764xlksse','apply','9739982vbYQvJ','winston','fsi','imports','2493DUqMoc','template','2162410GKxfLX','logger','maka\x20g:svc\x20logger','4373061iNrYfY','maka\x20{generate,\x20g}:{service}\x20[service-type]','9750174FBvsgj'];a72c=function(){return p;};return a72c();}import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a72d(a,b){const c=a72c();return a72d=function(d,e){d=d-0xb4;let f=c[d];return f;},a72d(a,b);}import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a72m(0xcc),'aliases':['svc'],'usage':a72m(0xb5),'shortDesc':a72m(0xc1),'validOpts':['type'],'validArgs':[a72m(0xd7)],'maxArgLength':0x1,'minArgLength':0x1,'examples':[a72m(0xd8)]},async function(a,b){const n=a72m;try{const c=this[n(0xd2)][n(0xb7)]();this['fsi'][n(0xc6)](c,async()=>{const o=n,d=this[o(0xd2)][o(0xb9)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[o(0xc2)]),'fileName':f,'camelCase':camelCase(b[o(0xc2)]),'type':a[0x0],'engine':c[o(0xca)]['js'],'noRename':!![]};let h='js';c['engines']['js']===o(0xc9)&&(h='ts');if(a[0x0]===o(0xd7)){!this[o(0xd2)][o(0xc4)](o(0xd1))&&await this[o(0xd2)]['installNpmPackage'](o(0xbd),{'cwd':d,'msg':o(0xcb)});const i=this[o(0xd2)][o(0xb9)]({'pathParts':[o(0xd3),o(0xba),o(0xcd),o(0xc7),f+'.'+h]});this[o(0xd2)][o(0xd5)]({'srcPath':o(0xc8),'destPath':i,'context':g,'config':c});}});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a73d,c=a();while(!![]){try{var d=parseInt(f(0x91))/0x1+parseInt(f(0x90))/0x2+-parseInt(f(0x8f))/0x3+-parseInt(f(0x8a))/0x4*(-parseInt(f(0x87))/0x5)+parseInt(f(0x8e))/0x6+-parseInt(f(0x8d))/0x7*(-parseInt(f(0x89))/0x8)+-parseInt(f(0x8c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0xa82f8));function a73d(a,b){var c=a73c();return a73d=function(d,e){d=d-0x86;var f=c[d];return f;},a73d(a,b);}var a73b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a73d;if(c){var e=c[g(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a73a=a73b(this,function(){var h=a73d;return a73a[h(0x88)]()[h(0x8b)](h(0x93))[h(0x88)]()[h(0x86)](a73a)[h(0x8b)](h(0x93));});function a73c(){var i=['5012712BAJwPp','4NRJyvq','search','12678030JYAWeJ','7qpCoMp','5813832LllpzW','1173603QDdsRx','1263024HSnunJ','144517YANoVF','apply','(((.+)+)+)+$','constructor','585845GzTaMZ','toString'];a73c=function(){return i;};return a73c();}a73a();import'./translation.js';import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a74l=a74d;(function(a,b){const i=a74d,c=a();while(!![]){try{const d=-parseInt(i(
|
|
1
|
+
const a74l=a74d;function a74c(){const o=['sslconfig','353755ACNRxe','maka\x20g:sslconfig\x20--env\x20dev','1166jGBWHQ','Generate\x20a\x20new\x20openssl\x20config\x20file','maka\x20{generate,\x20g}:sslconfig','12FtvBij','165915URKemN','getProjectConfig','openssl/openssl.conf','495bJtLSR','error','1266894uMdFBU','44008yjgTma','32uKqrrr','apply','constructor','search','withValue','template','408583rYjwgt','env','82780XbnRyv','89882kyeDeX','create','toString','getGlobalConfig','service','appName','fsi','join','getConfigPath','(((.+)+)+)+$'];a74c=function(){return o;};return a74c();}function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0x1ec;let f=c[d];return f;},a74d(a,b);}(function(a,b){const i=a74d,c=a();while(!![]){try{const d=-parseInt(i(0x1f1))/0x1+parseInt(i(0x207))/0x2*(-parseInt(i(0x1f6))/0x3)+-parseInt(i(0x1fe))/0x4*(parseInt(i(0x1f7))/0x5)+-parseInt(i(0x1fc))/0x6+parseInt(i(0x204))/0x7+-parseInt(i(0x1fd))/0x8*(-parseInt(i(0x1fa))/0x9)+-parseInt(i(0x206))/0xa*(-parseInt(i(0x1f3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0x37ba4));const a74b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a74d;if(c){const e=c[j(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a74a=a74b(this,function(){const k=a74d;return a74a['toString']()[k(0x201)]('(((.+)+)+)+$')[k(0x209)]()[k(0x200)](a74a)[k(0x201)](k(0x1ef));});a74a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a74e from'path';Generator[a74l(0x208)]({'name':a74l(0x1f0),'usage':a74l(0x1f5),'shortDesc':a74l(0x1f4),'noResource':!![],'requiredOpts':[a74l(0x205)],'examples':[a74l(0x1f2)],'validOpts':[a74l(0x205)]},async function(a,b){const m=a74l;try{const c=await this[m(0x1ec)][m(0x1f8)](),d=await this[m(0x1ec)][m(0x20a)](),f=this[m(0x1ec)][m(0x1ee)](b[m(0x205)]),g=a74e[m(0x1ed)](f,'_keys','openssl.conf');await this['fsi'][m(0x202)](c,async()=>{const n=m,h={'app':d[n(0x20c)],'noRename':!![]};await this[n(0x1ec)][n(0x203)]({'srcPath':n(0x1f9),'destPath':g,'framework':n(0x20b),'context':h,'config':c});});}catch(h){Log[m(0x1fb)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a75A=a75d;(function(a,b){const x=a75d,c=a();while(!![]){try{const d=-parseInt(x(
|
|
1
|
+
function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x146;let f=c[d];return f;},a75d(a,b);}const a75A=a75d;(function(a,b){const x=a75d,c=a();while(!![]){try{const d=-parseInt(x(0x166))/0x1*(-parseInt(x(0x15e))/0x2)+parseInt(x(0x14c))/0x3*(-parseInt(x(0x182))/0x4)+-parseInt(x(0x14e))/0x5*(-parseInt(x(0x14b))/0x6)+parseInt(x(0x153))/0x7+parseInt(x(0x157))/0x8+-parseInt(x(0x15a))/0x9*(parseInt(x(0x146))/0xa)+-parseInt(x(0x177))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0x9175f));const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a75d;if(c){const e=c[y(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const z=a75d;return a75a['toString']()[z(0x169)]('(((.+)+)+)+$')[z(0x17f)]()[z(0x14f)](a75a)[z(0x169)](z(0x172));});a75a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a75e from'fs';Generator['create']({'name':'translation','usage':a75A(0x178),'aliases':[a75A(0x16b)],'shortDesc':'Generate\x20a\x20new\x20locale\x20translation','noResource':!![],'examples':['maka\x20g:translation\x20--lang=en\x20(default)',a75A(0x170),a75A(0x16a)],'validOpts':[a75A(0x161)]},function(a,b){const B=a75A;try{const c=this[B(0x17e)][B(0x15f)](),d=this[B(0x17e)][B(0x162)](),f=this[B(0x17e)][B(0x16c)]();this[B(0x17e)]['withValue'](c,()=>{const C=B;try{!b[C(0x161)]&&(b[C(0x161)]='en');!b[C(0x16d)]&&!this[C(0x17e)][C(0x16e)](C(0x15d))&&(Log['warn'](C(0x15c)),this[C(0x17e)][C(0x152)]('i18next\x20i18next-browser-languagedetector\x20react-i18next',{'cwd':f}),this[C(0x17e)]['setProjectConfig'](C(0x149),!![]));const g=this['fsi'][C(0x164)]({'pathParts':[C(0x175),C(0x17b),C(0x168),C(0x148)]}),h=this[C(0x17e)][C(0x163)]({'pathParts':[g],'config':c}),i=this[C(0x17e)]['grep'](a75e['readFileSync'](h)['toString'](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];if(c[C(0x14d)]['ssr']===C(0x16f)){!i&&this[C(0x17e)][C(0x147)]({'filePath':h,'content':C(0x180)});const t=this[C(0x17e)]['pathFromApp']({'pathParts':[C(0x175),'startup',C(0x160),C(0x148)]}),u=this[C(0x17e)]['rewriteDestinationPathForEngine']({'pathParts':[t],'config':c}),v=this[C(0x17e)][C(0x176)](a75e[C(0x183)](u)['toString'](),C(0x159))[0x0]&&!![];!v&&this[C(0x17e)][C(0x147)]({'filePath':u,'content':C(0x180)});}else!i&&this[C(0x17e)][C(0x147)]({'filePath':h,'content':C(0x180)});const j={'app':d['appName'],'config':c},k=this[C(0x17e)][C(0x164)]({'pathParts':['imports',C(0x17b),C(0x171),C(0x156),C(0x17c),C(0x151)]}),l=this['fsi'][C(0x17d)](this[C(0x17e)][C(0x163)]({'pathParts':[k],'config':c}));!l&&this['fsi']['template']({'srcPath':C(0x167),'destPath':k,'framework':C(0x158),'context':j,'config':c});const m=this[C(0x17e)][C(0x164)]({'pathParts':[C(0x175),'startup',C(0x171),C(0x156),C(0x17c),C(0x15b),b[C(0x161)]+'.js']}),n=this[C(0x17e)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':c}),o=this[C(0x17e)]['isFile'](n);!o?this[C(0x17e)]['template']({'srcPath':C(0x150),'destPath':m,'framework':C(0x158),'context':j,'config':c}):Log[C(0x17a)]('Locale\x20already\x20defined:\x20'+n);const p=this['fsi'][C(0x164)]({'pathParts':[C(0x175),C(0x17b),C(0x171),C(0x156),C(0x17c),C(0x15b),'index.'+c[C(0x14d)]['js']]}),q=this[C(0x17e)][C(0x163)]({'pathParts':[p],'config':c}),r=this['fsi'][C(0x17d)](q);!r&&this[C(0x17e)][C(0x181)]({'srcPath':C(0x179),'destPath':p,'framework':'service','context':j,'config':c});const s=this[C(0x17e)][C(0x176)](a75e[C(0x183)](p)[C(0x17f)](),C(0x174)+b[C(0x161)])[0x0]&&!![];!s?this['fsi'][C(0x14a)]({'filePath':p,'content':'export\x20{\x20default\x20as\x20'+b[C(0x161)]+C(0x173)+b[C(0x161)]+'\x27;'}):Log[C(0x17a)]('Locale\x20already\x20exported:\x20'+p);}catch(w){Log[C(0x165)](w),process[C(0x154)](0x1);}});}catch(g){Log[B(0x165)](g),process[B(0x154)](0x1);}});function a75c(){const D=['import\x20\x27../lib/services/translations/i18n\x27;\x0a','template','4zwZoNT','readFileSync','8805330qeOEne','injectAtBeginningOfFile','index.js','features.withTranslations','injectAtEndOfFile','30VmEWQd','334083ZTzFDe','engines','527030FhZWXc','constructor','i18n/locales.js','i18n.js','installNpmPackage','5701101gaXnHp','exit','apply','services','5395440FPqyqU','service','import\x20\x27../lib/services/translations/i18n\x27;','9FkMPTA','locales','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','i18next','2eBxtYe','getProjectConfig','server','lang','getGlobalConfig','rewriteDestinationPathForEngine','pathFromApp','error','98297SFrwwn','i18n/i18n.js','client','search','maka\x20g:translation\x20--lang=de','i18n','findAppDirectory','root','checkNpmPackage','true','maka\x20g:translation\x20--lang=fr','lib','(((.+)+)+)+$','\x20}\x20from\x20\x27./','default\x20as\x20','imports','grep','5791489idWEsv','maka\x20{generate,\x20g}:translation\x20--lang=<language>','i18n/index.js','warn','startup','translations','isFile','fsi','toString'];a75c=function(){return D;};return a75c();}
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env -S node --experimental-modules --no-warnings --experimental-json-modules
|
|
2
|
-
const
|
|
2
|
+
const a76l=a76d;(function(a,b){const j=a76d,c=a();while(!![]){try{const d=-parseInt(j(0x1b1))/0x1+-parseInt(j(0x1af))/0x2+parseInt(j(0x1ac))/0x3*(-parseInt(j(0x1bb))/0x4)+-parseInt(j(0x1b2))/0x5+parseInt(j(0x1b0))/0x6*(-parseInt(j(0x1b8))/0x7)+-parseInt(j(0x1bc))/0x8+parseInt(j(0x1ba))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xc4429));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const k=a76d;return a76a[k(0x1aa)]()[k(0x1ad)]('(((.+)+)+)+$')[k(0x1aa)]()[k(0x1b5)](a76a)[k(0x1ad)](k(0x1bd));});a76a();import a76e from'minimist';import a76f from'os';import a76g from'path';import a76h from'humps';import a76i from'./commands/maka.cmd.js';function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a76d(a,b);}import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a76l(0x1a9)]),__dirname=a76g[a76l(0x1a8)](__filename);global[a76l(0x1b6)]=__dirname;const total_memory=a76f[a76l(0x1ab)](),total_mem_in_kb=total_memory/0x400;function a76c(){const m=['141253kwwQPq','6294115bwCHBQ','floor','argv','constructor','MAKA_COMMAND_PATH','env','1268911vjndeV','slice','39252006iTtWxM','981004DfPkak','6311616BAohzi','(((.+)+)+)+$','dirname','url','toString','totalmem','9nZEuSa','search','stringify','177706wWFjxT','18aymXNF'];a76c=function(){return m;};return a76c();}let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a76l(0x1b3)](total_mem_in_mb),process[a76l(0x1b7)]['TOOL_NODE_FLAGS']='--max-old-space-size='+total_mem_in_mb,process[a76l(0x1b7)]['BROWSERSLIST_IGNORE_OLD_DATA']='1';const argv=a76e(process[a76l(0x1b4)][a76l(0x1b9)](0x2)),args=argv['_'],deepCopyArgv=JSON['parse'](JSON[a76l(0x1ae)](argv));delete deepCopyArgv['_'];const opts=a76h['camelizeKeys'](deepCopyArgv);a76i['run'](args,opts);
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a77k=a77d;(function(a,b){const h=a77d,c=a();while(!![]){try{const d=parseInt(h(
|
|
1
|
+
const a77k=a77d;(function(a,b){const h=a77d,c=a();while(!![]){try{const d=parseInt(h(0x13a))/0x1*(-parseInt(h(0x128))/0x2)+parseInt(h(0x144))/0x3*(-parseInt(h(0x123))/0x4)+parseInt(h(0x121))/0x5*(-parseInt(h(0x147))/0x6)+-parseInt(h(0x119))/0x7+-parseInt(h(0x13e))/0x8*(-parseInt(h(0x125))/0x9)+parseInt(h(0x11e))/0xa*(parseInt(h(0x11f))/0xb)+parseInt(h(0x13d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xb5353));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a77d;if(c){const e=c[i(0x140)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const j=a77d;return a77a[j(0x11b)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a77a)[j(0x146)](j(0x120));});function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x115;let f=c[d];return f;},a77d(a,b);}a77a();import a77e from'path';import a77f from'os';function a77c(){const y=['9RAYBna','_handler','dir','17825652mFjjRf','184OyucrS','root','apply','Missing\x20required\x20options\x20','No\x20usage\x20provided.','platform','15ZtcFHP','usage','search','3972jezlEf','aliases','shortDesc','keys','fsi','5532905epefbq','Invalid\x20options:\x20','toString','push','.meteor','6966100gCYZSR','11QXPEZd','(((.+)+)+)+$','55SsLkBA','No\x20description\x20provided.','914532WEsWkY','forEach','212067ABOmfl','findProjectDirectory','docker','9098OHAzSz','existsSync','parent','description','examples','help','name','options','includes','validateMeteorInstall','Invalid\x20argument:\x20','length','join','validateMakaProject','error','AppData','concat','homedir'];a77c=function(){return y;};return a77c();}import a77g from'fs';const homeDir=a77f[a77k(0x139)]();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';import{UsageError}from'./error.js';export class Tool{[a77k(0x127)];[a77k(0x118)];[a77k(0x12f)];[a77k(0x12e)];['parent'];[a77k(0x13b)];constructor(){const l=a77k;this[l(0x127)]=new Docker(),this['fsi']=new FSI();}['match'](a){const m=a77k,b=[this[m(0x12e)]][m(0x138)](this[m(0x12f)][m(0x115)]||[]);return this[m(0x12a)]&&b[m(0x11c)](this[m(0x12a)]),b['includes'](a);}[a77k(0x135)](){const n=a77k,a=this[n(0x118)][n(0x126)]();return a!==![]?!![]:![];}[a77k(0x131)](){const o=a77k;let a=a77e['join'](homeDir,o(0x11d));const b=process[o(0x143)]==='win32';if(b){a=a77e[o(0x134)](homeDir,o(0x137),'Local',o(0x11d));if(!a77g['existsSync'](a))return![];}else{if(!a77g[o(0x129)](a))return![];}return!![];}['validateParams'](a,b,c){const p=a77k,{requiredOpts:requiredOpts=[],validArgs:d}=c;let {validOpts:validOpts=[]}=c;const e=Object[p(0x117)](b);d?.[p(0x133)]>0x0&&a['forEach'](f=>{const q=p;if(!d[q(0x130)](f)){Log[q(0x136)](q(0x132)+f);throw new UsageError();}});if(requiredOpts?.[p(0x133)]>0x0){if(e[p(0x133)]===0x0){Log[p(0x136)](p(0x141)+requiredOpts['join'](',\x20'));throw new UsageError();}requiredOpts['forEach'](f=>{const r=p;if(!e[r(0x130)](f)){Log[r(0x136)]('Missing\x20required\x20option:\x20'+f);throw new UsageError();}});}validOpts=validOpts[p(0x138)](requiredOpts),validOpts?.[p(0x133)]>0x0&&(validOpts[p(0x11c)](p(0x12d)),validOpts[p(0x11c)]('resourceName'),validOpts[p(0x11c)](p(0x13c)),validOpts[p(0x11c)]('cwd'),validOpts['push'](p(0x13f)),validOpts['push']('config'),e[p(0x124)](f=>{const s=p;if(!validOpts['includes'](f)){Log[s(0x136)](s(0x11a)+f);throw new UsageError();}}));}['description'](){const t=a77k;return this['options'][t(0x12b)]||this[t(0x12f)][t(0x116)]||t(0x122);}[a77k(0x116)](){const u=a77k;return this[u(0x12f)][u(0x116)]||'NIE';}[a77k(0x145)](){const v=a77k;return this[v(0x12f)][v(0x145)]||v(0x142);}[a77k(0x12c)](){const w=a77k;return this['options'][w(0x12c)]||[];}[a77k(0x115)](){const x=a77k;return this[x(0x12f)]['aliases']||'None';}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x7e;let f=c[d];return f;},a78d(a,b);}function a78c(){const k=['1466415YjrHbf','158739jepzlj','48umiJML','97592rTeqUx','4pnoqdo','toString','constructor','1220772oqHUMy','ask','confirm','search','2737290BJABmA','99DqNIkV','4188YHsVhr','answer','prompt','853812smgPNG','input','(((.+)+)+)+$','82PJtRUX','password','77uSHapr'];a78c=function(){return k;};return a78c();}const a78h=a78d;(function(a,b){const f=a78d,c=a();while(!![]){try{const d=parseInt(f(0x8e))/0x1*(-parseInt(f(0x7e))/0x2)+-parseInt(f(0x91))/0x3+-parseInt(f(0x85))/0x4*(parseInt(f(0x81))/0x5)+parseInt(f(0x83))/0x6*(-parseInt(f(0x82))/0x7)+parseInt(f(0x84))/0x8*(parseInt(f(0x8d))/0x9)+parseInt(f(0x8c))/0xa+parseInt(f(0x80))/0xb*(parseInt(f(0x88))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x2e260));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const g=a78d;return a78a[g(0x86)]()['search'](g(0x93))['toString']()[g(0x87)](a78a)[g(0x8b)]('(((.+)+)+)+$');});a78a();import a78e from'inquirer';export class Actions{static async[a78h(0x89)](a,b){const i=a78h,{answer:c}=await a78e[i(0x90)]({'type':b?i(0x7f):i(0x92),'name':'answer','message':a});return c;}static async[a78h(0x8a)](a,b=![]){const j=a78h,{answer:c}=await a78e['prompt']({'type':'confirm','name':j(0x8f),'message':a,'default':b});return c;}static async['options'](a){const b=await a78e['prompt'](a);return b;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x69;let f=c[d];return f;},a79d(a,b);}const a79i=a79d;(function(a,b){const f=a79d,c=a();while(!![]){try{const d=-parseInt(f(0x71))/0x1*(-parseInt(f(0x75))/0x2)+parseInt(f(0x77))/0x3*(-parseInt(f(0x72))/0x4)+-parseInt(f(0x6e))/0x5+parseInt(f(0x6a))/0x6+parseInt(f(0x6b))/0x7+parseInt(f(0x6d))/0x8+-parseInt(f(0x69))/0x9*(parseInt(f(0x7a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x7e06a));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a79d;if(c){const e=c[g(0x6f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const h=a79d;return a79a[h(0x76)]()[h(0x74)](h(0x73))[h(0x76)]()[h(0x70)](a79a)[h(0x74)]('(((.+)+)+)+$');});a79a();import a79e from'chai';function a79c(){const k=['Actions\x20Test','630zmvmnQ','39915BKLRut','4915308WgecEg','1773716yDPnPy','ask','7737568TskxNz','4501160ctwTXr','apply','constructor','69059OGgZli','40iszCVo','(((.+)+)+)+$','search','6zMrwDf','toString','165342etkJgD','log'];a79c=function(){return k;};return a79c();}const {expect}=a79e;import{describe,it}from'mocha';import{Actions}from'./actions.class.js';describe(a79i(0x79),function(){it('works',async function(a){const j=a79d,b=await Actions[j(0x6c)]('Password:\x20',!![]);console[j(0x78)](b),a();});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a80p=a80d;(function(a,b){const m=a80d,c=a();while(!![]){try{const d=-parseInt(m(0x1de))/0x1+-parseInt(m(0x1d0))/0x2*(parseInt(m(0x190))/0x3)+parseInt(m(0x1fd))/0x4+-parseInt(m(0x189))/0x5+parseInt(m(0x183))/0x6*(-parseInt(m(0x1e3))/0x7)+-parseInt(m(0x1a5))/0x8+parseInt(m(0x1d9))/0x9*(parseInt(m(0x1e5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xe89d7));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a80d;if(c){const e=c[n(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const o=a80d;return a80a[o(0x197)]()['search'](o(0x1f7))['toString']()[o(0x1bd)](a80a)[o(0x182)](o(0x1f7));});a80a();import a80e from'fs';import a80f from'path';import{execSync}from'child_process';import{Actions}from'../actions/actions.class.js';function a80c(){const T=['ecr','toString','--security-group-ids','\x20opened!','cidr','Pem\x20key\x20saved\x20to\x20','ecrCreateRepository','vpcId','--filters','deleteKeyPair','chooseInstance','tcp','ec2key','running','\x22Name=tag:created-by,Values=maka-cli\x22','12007968mklUwg','apply','Port\x20','Invalid\x20choice','tags','--instance-type','ecrGetLoginPassword','ssh.json','\x20INSTANCE_ID:\x20','ec2terminateInstance','status','readFileSync','length','describe-key-pairs','log','sgPorts','publicIp','You\x20have\x20no\x20key-pairs,\x20please\x20create\x20one.\x20(maka\x20aws\x20create-key-pair\x20--env).','delete-repository','reboot-instances','join','userData','_keys','\x20VPCID:\x20','constructor','GroupId','ec2term','ask','You\x20have\x20no\x20instances\x20created\x20by\x20maka-cli.\x20\x20Please\x20reivew\x20your\x20AWS\x20console\x20manually!!!','ignore','\x20CIDR:\x20','delete-key-pair','parse','pem','Key\x20Name:\x20[','sgId','\x22Reservations[*].Instances[*].{instanceId:InstanceId,publicIp:PublicIpAddress,privateIp:PrivateIpAddress,status:State.Name,name:Tags[?Key==\x27Name\x27].Value,env:Tags[?Key==\x27environment\x27].Value}[*]\x22','createFile','--vpc-id','name','--region','config','--force','2362018qagTxu','writeFileSync','count','[-]\x20AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials','forEach','--query','--user-data','push','--key-name','62802Jtlhgr','chmod\x20400\x20','[?]\x20Please\x20choose\x20an\x20instance\x20ID:\x20','ingressRule','exit','525208OThbzz','getProjectConfig','.pem.txt','CidrBlock','ec2createSG','12054203nIoqxp','terminate-instances','8270jYlFua','create-key-pair','\x20NAME:\x20','\x20PUB_IP:\x20','ec2describeKeys','deleteSecurityGroup','privateIp','--count','error','\x20SG\x20NAME:\x20','cwd','get-login-password','ec2','\x20SGID:\x20','You\x20will\x20need\x20to\x20update\x20the\x20ssh.json\x20file\x20yourself.','notice','Created:\x20','[+]\x20Setting\x20VPC\x20ID\x20to:\x20','(((.+)+)+)+$','\x20ENV:\x20','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','--repository-name','AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials','suggestion','468748FZBETK','concat','--image-id','--group-id','subnet','fsi','keys','success','create-security-group','aws\x20ec2\x20describe-vpcs','inherit','search','6fAbiMY','instanceId','Name','confirm','chooseVPC','--instance-ids','29800hzNORD','ec2create','env','aws\x20ec2\x20describe-security-groups\x20--query\x20\x22SecurityGroups[*].{Name:GroupName,ID:GroupId}\x22','awsLogin','--group-name','createKeyPair','3ksesMV','aws\x20','\x20STATUS:\x20','ec2describeInstances','ID:\x20','stringify'];a80c=function(){return T;};return a80c();}import{Log}from'../log/log.class.js';import{Docker}from'../docker/docker.class.js';function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x17e;let f=c[d];return f;},a80d(a,b);}import{FSI}from'../fsi/fsi.class.js';export class AWS{[a80p(0x202)];constructor(){this['fsi']=new FSI();}[a80p(0x19c)](a){const q=a80p;try{const b=[q(0x196),'create-repository',q(0x1fa),a[q(0x1cc)],q(0x1cd),a['region']],c=q(0x191)+b[q(0x1b9)]('\x20'),d=execSync(c)[q(0x197)]();return d;}catch(f){Log['error'](f);}}[a80p(0x1ab)]({awsAccountId:a,region:b}){const r=a80p;try{const c=[r(0x196),r(0x1f0),'|',Docker[r(0x18d)]({'awsAccountId':a,'region':b})],d='aws\x20'+c['join']('\x20'),f=execSync(d)['toString']();return f;}catch(g){Log['error'](g);}}['ecrDeleteRepository']({repoName:a,region:b}){const s=a80p;try{const c=[s(0x196),s(0x1b7),s(0x1fa),a,s(0x1cd),b,s(0x1cf)],d=s(0x191)+c[s(0x1b9)]('\x20'),f=execSync(d)[s(0x197)]();return f;}catch(g){Log[s(0x1ed)](g);}}[a80p(0x18a)](a){const t=a80p;try{const b=[t(0x1f1),'run-instances',t(0x1ff),a['imageId'],t(0x1ec),a[t(0x1d2)],t(0x1aa),a['type'],t(0x1d8),a['key'],t(0x198),a['sgIds'],'--subnet-id',a[t(0x201)],'--tag-specifications',a[t(0x1a9)]];a[t(0x1ba)]&&(b[t(0x1d7)](t(0x1d6)),b[t(0x1d7)]('file://'+a[t(0x1ba)]));const c=t(0x191)+b[t(0x1b9)]('\x20'),d=execSync(c)[t(0x197)]();return d;}catch(f){Log['error'](f);}}[a80p(0x1bf)](a){const u=a80p;try{const b=[u(0x1f1),u(0x1e4),u(0x188),a[u(0x184)]],c=u(0x191)+b['join']('\x20');execSync(c,{'stdio':u(0x181)});}catch(d){return Log[u(0x1ed)](d),{};}}async[a80p(0x1a2)]({fileName:a,env:b}){const v=a80p,c=this[v(0x202)]['getConfigPath'](b),d=a80f['join'](c,v(0x1bb),a+v(0x1e0));try{const g=[v(0x1f1),v(0x1e6),v(0x1d8),a],h=v(0x191)+g['join']('\x20'),i=execSync(h)[v(0x197)](),j=JSON[v(0x1c5)](i),k=j['KeyMaterial'];await this[v(0x202)][v(0x1ca)]({'filePath':d,'data':k}),execSync(v(0x1da)+d,{'stdio':v(0x1c2)}),Log[v(0x17e)](v(0x19b)+d);}catch(l){return Log['error'](l),![];}const f=this[v(0x202)]['isFile'](d);return f;}[a80p(0x1dc)]=(a,b)=>{const w=a80p,c=[w(0x1f1),'authorize-security-group-ingress','--group-id',b,'--protocol',w(0x1a1),'--port',a,'--cidr','0.0.0.0/0'];return c;};[a80p(0x1e2)](a){const x=a80p;try{const b=a['cwd']?a[x(0x1ef)]:process['cwd'](),c=[x(0x1f1),x(0x17f),'--description',a['description'],x(0x18e),a[x(0x1cc)],x(0x1cb),a[x(0x19d)]],d=x(0x191)+c[x(0x1b9)]('\x20'),f=execSync(d,{'cwd':b})[x(0x197)]();if(!f)throw x(0x1fb);const g=JSON[x(0x1c5)](f);return a[x(0x1b4)][x(0x1d4)](h=>{const y=x,i=y(0x191)+this['ingressRule'](h,g[y(0x1be)])[y(0x1b9)]('\x20');execSync(i,{'cwd':b,'stdio':y(0x1c2)}),Log['notice'](y(0x1a7)+h+y(0x199));}),Log['success'](x(0x1f5)+g['GroupId']+x(0x1e7)+a[x(0x1cc)]),!![];}catch(h){Log[x(0x1ed)](h);}}[a80p(0x1e9)](a){const z=a80p;try{const b=['ec2',z(0x1b2),z(0x1d5),'\x22KeyPairs[*].{name:KeyName}\x22'],c=z(0x191)+b[z(0x1b9)]('\x20'),d=execSync(c)[z(0x197)]();if(!d)throw z(0x1fb);const f=JSON[z(0x1c5)](d),g=[];if(f)f['forEach']((h,i)=>{const A=z;g[A(0x1d7)]({'id':i,'name':h[A(0x1cc)]});}),g[z(0x1d4)](h=>{const B=z;h[B(0x1cc)]===a?.[B(0x1fc)]?Log[B(0x17e)](B(0x194)+h['id']+B(0x1e7)+h['name']):Log[B(0x1f4)](B(0x194)+h['id']+'\x20NAME:\x20'+h[B(0x1cc)]);});else return Log[z(0x1ed)](z(0x1b6)),[];return g;}catch(h){Log[z(0x1ed)](h);}}async[a80p(0x19f)](a){const C=a80p;try{const b=[C(0x1f1),C(0x1c4),C(0x1d8),a],c=C(0x191)+b[C(0x1b9)]('\x20');execSync(c,{'stdio':'inherit'});}catch(d){Log[C(0x1ed)](d),process[C(0x1dd)](0x1);}}[a80p(0x193)](a){const D=a80p,b=[];try{const c=a?.[D(0x1ef)]?a['cwd']:process[D(0x1ef)](),d=[D(0x1f1),'describe-instances',D(0x19e),D(0x1a4),D(0x1d5),D(0x1c9)],f='aws\x20'+d['join']('\x20'),g=execSync(f,{'cwd':c})['toString']();if(!g)throw D(0x1d3);let h=JSON[D(0x1c5)](g);h[D(0x1b1)]>0x0?(h=[][D(0x1fe)][D(0x1a6)]([],h),h[D(0x1d4)](function(i,j){const E=D;b[E(0x1d7)]({'id':j,'instanceId':i[E(0x184)],'privateIp':i[E(0x1eb)],'publicIp':i[E(0x1b5)],'status':i['status'],'name':i['name'],'env':i[E(0x18b)][0x0]});}),b[D(0x1d4)](i=>{const F=D,j=F(0x194)+i['id']+F(0x1e7)+i[F(0x1cc)]+F(0x1f8)+i[F(0x18b)]+F(0x192)+i['status']+F(0x1ad)+i[F(0x184)]+F(0x1e8)+i[F(0x1b5)]+'\x20PRIV_IP:\x20'+i['privateIp'];if(i[F(0x1af)]==='terminated')Log[F(0x1ed)](j);else i['status']===F(0x1a3)?Log['success'](j):Log[F(0x1f4)](j);})):Log[D(0x1ed)](D(0x1c1));}catch(i){Log['error'](i);}return b;}[a80p(0x1ae)](a){const G=a80p;try{const b=[G(0x1f1),G(0x1e4),'--instance-id',a['instanceId']],c=G(0x191)+b[G(0x1b9)]('\x20'),d=execSync(c)['toString']();return d;}catch(f){Log[G(0x1ed)](f);}}['ec2rebootInstance'](a){const H=a80p;try{const b=[H(0x1f1),H(0x1b8),'--instance-id',a['instanceId']],c=H(0x191)+b['join']('\x20');Log[H(0x1f4)](c);const d=execSync(c)['toString']();return Log[H(0x1f4)](d),d;}catch(f){Log['error'](f);}}async[a80p(0x187)](){const I=a80p;let a='';Log[I(0x1f4)]('**\x20Available\x20\x20VPCs\x20**');const b=execSync(I(0x180))['toString'](),c=JSON['parse'](b),d=[];Object[I(0x203)](c)['forEach'](function(f){const J=I;c[f][J(0x1d4)](function(g,h){const K=J;d[K(0x1d7)]({'id':h,'vpcId':g['VpcId'],'cidr':g[K(0x1e1)]});});}),d[I(0x1d4)](function(f){const L=I;console[L(0x1b3)](L(0x194)+f['id']+L(0x1bc)+f[L(0x19d)]+L(0x1c3)+f[L(0x19a)]);});const e=await Actions[I(0x1c0)]('Please\x20choose\x20a\x20VPC:\x20[0]\x20')||0x0;d['forEach'](function(f){const M=I;f['id']==e&&(a=f[M(0x19d)],Log[M(0x17e)](M(0x1f6)+a+'\x0a'));});if(a==='')return Log['error'](I(0x1f9)),'';return a;}async[a80p(0x1a0)](){const N=a80p,a=this[N(0x193)]({});if(a[N(0x1b1)]===0x0)return Log['error']('No\x20instances\x20found'),null;const b=await Actions[N(0x1c0)](N(0x1db));!b&&Log[N(0x1ed)](N(0x1a8));const c=a['find'](({id:d})=>{return d==parseInt(b);})||null;return c;}async[a80p(0x18f)]({env:a}){const O=a80p,b=this[O(0x202)][O(0x1df)](),{appName:c}=b,d=c+'-'+a,f=await Actions[O(0x1c0)](O(0x1c7)+d+']\x20')||d;try{const g=await this[O(0x1a2)]({'fileName':f,'env':a});if(!g)throw'Could\x20not\x20create\x20key.';const h=await Actions[O(0x186)]('Would\x20you\x20like\x20to\x20update\x20the\x20ssh.json\x20config\x20file?');if(h)try{const i=a80e[O(0x1b0)](a80f[O(0x1b9)](O(0x1ce),a,'ssh.json'),'utf8'),j=JSON[O(0x1c5)](i);j[O(0x1c6)]=a80f[O(0x1b9)](O(0x1bb),f+O(0x1e0)),a80e[O(0x1d1)](a80f[O(0x1b9)](O(0x1ce),a,O(0x1ac)),JSON[O(0x195)](j,null,0x2));}catch(k){Log[O(0x1ed)](k),Log[O(0x1ed)](O(0x1f3));}}catch(l){Log[O(0x1ed)](l),process[O(0x1dd)](0x1);}return f;}async['listSecurityGroups'](a){const P=a80p;Log['notice']('**\x20Available\x20Security\x20Groups\x20**');const b=execSync(P(0x18c))[P(0x197)](),c=JSON['parse'](b),d=[];return c[P(0x1d4)](function(e,f){const Q=P;d[Q(0x1d7)]({'id':f,'name':e[Q(0x185)],'sgId':e['ID']});}),d['forEach'](function(e){const R=P;e[R(0x1cc)]===a?Log[R(0x1f4)](R(0x194)+e['id']+R(0x1ee)+e[R(0x1cc)]+R(0x1f2)+e[R(0x1c8)]):Log['bright'](R(0x194)+e['id']+R(0x1ee)+e[R(0x1cc)]+R(0x1f2)+e['sgId']);}),d;}async[a80p(0x1ea)](a){const S=a80p;try{const b=[S(0x1f1),'delete-security-group',S(0x200),a],c=S(0x191)+b[S(0x1b9)]('\x20');execSync(c,{'stdio':'inherit'});}catch(d){Log['error'](d),process[S(0x1dd)](0x1);}}}
|
|
1
|
+
const a80q=a80d;(function(a,b){const m=a80d,c=a();while(!![]){try{const d=-parseInt(m(0x123))/0x1*(-parseInt(m(0xed))/0x2)+-parseInt(m(0x14b))/0x3+parseInt(m(0x10d))/0x4+-parseInt(m(0x112))/0x5+-parseInt(m(0x10c))/0x6*(parseInt(m(0x163))/0x7)+-parseInt(m(0x161))/0x8*(parseInt(m(0x116))/0x9)+parseInt(m(0x134))/0xa*(parseInt(m(0x149))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x19f51));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a80d;if(c){const e=c[n(0x146)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const o=a80d;return a80a[o(0x148)]()['search'](o(0x121))[o(0x148)]()[o(0x12a)](a80a)[o(0x15d)](o(0x121));});function a80c(){const U=['--count','create-security-group','KeyMaterial','terminate-instances','chmod\x20400\x20','fsi','log','describe-instances','\x20NAME:\x20','--instance-id','2QWYeLh','instanceId','--description','--group-id','\x20PUB_IP:\x20','ecr','[?]\x20Please\x20choose\x20an\x20instance\x20ID:\x20','\x22Name=tag:created-by,Values=maka-cli\x22','**\x20Available\x20Security\x20Groups\x20**','suggestion','authorize-security-group-ingress','--filters','You\x20have\x20no\x20instances\x20created\x20by\x20maka-cli.\x20\x20Please\x20reivew\x20your\x20AWS\x20console\x20manually!!!','inherit','ec2term','chooseInstance','getProjectConfig','--repository-name','\x20STATUS:\x20','Invalid\x20choice','forEach','delete-repository','--key-name','ec2terminateInstance','ecrGetLoginPassword','tags','region','You\x20have\x20no\x20key-pairs,\x20please\x20create\x20one.\x20(maka\x20aws\x20create-key-pair\x20--env).','getConfigPath','utf8','vpcId','6dmrzMj','757848CCnVlk','type','sgIds','You\x20will\x20need\x20to\x20update\x20the\x20ssh.json\x20file\x20yourself.','.pem.txt','623830jYwVnu','description','pem','imageId','27WfteYQ','--vpc-id','ec2create','join','running','tcp','config','--force','aws\x20ec2\x20describe-vpcs','stringify','ingressRule','(((.+)+)+)+$','Created:\x20','179121CmmTQm','ID:\x20','ecrCreateRepository','exit','ec2key','ec2','\x20INSTANCE_ID:\x20','constructor','error','success','Port\x20','delete-security-group','--image-id','writeFileSync','notice','ec2describeKeys','ec2describeInstances','24390YsTYpb','parse','create-key-pair','subnet','Could\x20not\x20create\x20key.','readFileSync','sgPorts','cidr','sgId','name','env','_keys','deleteKeyPair','No\x20instances\x20found','ignore','--subnet-id','get-login-password','--user-data','apply','GroupId','toString','891LGUCtR','push','597552EOHIZD','privateIp','aws\x20ec2\x20describe-security-groups\x20--query\x20\x22SecurityGroups[*].{Name:GroupName,ID:GroupId}\x22','create-repository','awsLogin','VpcId','0.0.0.0/0','\x22Reservations[*].Instances[*].{instanceId:InstanceId,publicIp:PublicIpAddress,privateIp:PrivateIpAddress,status:State.Name,name:Tags[?Key==\x27Name\x27].Value,env:Tags[?Key==\x27environment\x27].Value}[*]\x22','Name','\x20SGID:\x20','length','userData','run-instances','AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials','ask','confirm','\x20SG\x20NAME:\x20','status','search','[-]\x20AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials','--cidr','--port','136704HlIFHE','--query','592249hNzZxI','--group-name','--instance-type','publicIp','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','find','ec2createSG','**\x20Available\x20\x20VPCs\x20**','cwd','aws\x20','listSecurityGroups','ec2rebootInstance','Pem\x20key\x20saved\x20to\x20','bright','keys','ecrDeleteRepository'];a80c=function(){return U;};return a80c();}a80a();import a80e from'fs';import a80f from'path';import{execSync}from'child_process';import{Actions}from'../actions/actions.class.js';import{Log}from'../log/log.class.js';function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0xed;let f=c[d];return f;},a80d(a,b);}import{Docker}from'../docker/docker.class.js';import{FSI}from'../fsi/fsi.class.js';export class AWS{['fsi'];constructor(){const p=a80d;this[p(0x178)]=new FSI();}[a80q(0x125)](a){const r=a80q;try{const b=[r(0xf2),r(0x14e),r(0xfe),a[r(0x13d)],'--region',a[r(0x107)]],c=r(0x16c)+b[r(0x119)]('\x20'),d=execSync(c)[r(0x148)]();return d;}catch(f){Log['error'](f);}}[a80q(0x105)]({awsAccountId:a,region:b}){const s=a80q;try{const c=[s(0xf2),s(0x144),'|',Docker[s(0x14f)]({'awsAccountId':a,'region':b})],d=s(0x16c)+c[s(0x119)]('\x20'),f=execSync(d)[s(0x148)]();return f;}catch(g){Log[s(0x12b)](g);}}[a80q(0x172)]({repoName:a,region:b}){const t=a80q;try{const c=[t(0xf2),t(0x102),'--repository-name',a,'--region',b,t(0x11d)],d=t(0x16c)+c[t(0x119)]('\x20'),f=execSync(d)['toString']();return f;}catch(g){Log['error'](g);}}[a80q(0x118)](a){const u=a80q;try{const b=[u(0x128),u(0x157),u(0x12f),a[u(0x115)],u(0x173),a['count'],u(0x165),a[u(0x10e)],'--key-name',a['key'],'--security-group-ids',a[u(0x10f)],u(0x143),a[u(0x137)],'--tag-specifications',a[u(0x106)]];a['userData']&&(b['push'](u(0x145)),b[u(0x14a)]('file://'+a[u(0x156)]));const c=u(0x16c)+b[u(0x119)]('\x20'),d=execSync(c)['toString']();return d;}catch(f){Log[u(0x12b)](f);}}[a80q(0xfb)](a){const v=a80q;try{const b=[v(0x128),v(0x176),'--instance-ids',a[v(0xee)]],c='aws\x20'+b[v(0x119)]('\x20');execSync(c,{'stdio':v(0xfa)});}catch(d){return Log['error'](d),{};}}async[a80q(0x127)]({fileName:a,env:b}){const w=a80q,c=this[w(0x178)][w(0x109)](b),d=a80f[w(0x119)](c,w(0x13f),a+w(0x111));try{const g=[w(0x128),w(0x136),w(0x103),a],h=w(0x16c)+g[w(0x119)]('\x20'),i=execSync(h)[w(0x148)](),j=JSON[w(0x135)](i),k=j[w(0x175)];await this['fsi']['createFile']({'filePath':d,'data':k}),execSync(w(0x177)+d,{'stdio':w(0x142)}),Log[w(0x12c)](w(0x16f)+d);}catch(l){return Log[w(0x12b)](l),![];}const f=this['fsi']['isFile'](d);return f;}[a80q(0x120)]=(a,b)=>{const x=a80q,c=['ec2',x(0xf7),x(0xf0),b,'--protocol',x(0x11b),x(0x160),a,x(0x15f),x(0x151)];return c;};[a80q(0x169)](a){const y=a80q;try{const b=a[y(0x16b)]?a['cwd']:process[y(0x16b)](),c=['ec2',y(0x174),y(0xef),a[y(0x113)],y(0x164),a['name'],y(0x117),a['vpcId']],d='aws\x20'+c['join']('\x20'),f=execSync(d,{'cwd':b})[y(0x148)]();if(!f)throw y(0x158);const g=JSON[y(0x135)](f);return a[y(0x13a)]['forEach'](h=>{const z=y,i='aws\x20'+this[z(0x120)](h,g[z(0x147)])[z(0x119)]('\x20');execSync(i,{'cwd':b,'stdio':z(0x142)}),Log[z(0x131)](z(0x12d)+h+'\x20opened!');}),Log['success'](y(0x122)+g[y(0x147)]+y(0x17b)+a[y(0x13d)]),!![];}catch(h){Log[y(0x12b)](h);}}[a80q(0x132)](a){const A=a80q;try{const b=[A(0x128),'describe-key-pairs',A(0x162),'\x22KeyPairs[*].{name:KeyName}\x22'],c=A(0x16c)+b[A(0x119)]('\x20'),d=execSync(c)['toString']();if(!d)throw A(0x158);const f=JSON[A(0x135)](d),g=[];if(f)f[A(0x101)]((h,i)=>{const B=A;g[B(0x14a)]({'id':i,'name':h[B(0x13d)]});}),g[A(0x101)](h=>{const C=A;h[C(0x13d)]===a?.[C(0xf6)]?Log[C(0x12c)](C(0x124)+h['id']+C(0x17b)+h[C(0x13d)]):Log[C(0x131)](C(0x124)+h['id']+C(0x17b)+h[C(0x13d)]);});else return Log[A(0x12b)](A(0x108)),[];return g;}catch(h){Log[A(0x12b)](h);}}async[a80q(0x140)](a){const D=a80q;try{const b=['ec2','delete-key-pair',D(0x103),a],c='aws\x20'+b[D(0x119)]('\x20');execSync(c,{'stdio':D(0xfa)});}catch(d){Log[D(0x12b)](d),process[D(0x126)](0x1);}}[a80q(0x133)](a){const E=a80q,b=[];try{const c=a?.[E(0x16b)]?a['cwd']:process[E(0x16b)](),d=['ec2',E(0x17a),E(0xf8),E(0xf4),E(0x162),E(0x152)],f=E(0x16c)+d[E(0x119)]('\x20'),g=execSync(f,{'cwd':c})[E(0x148)]();if(!g)throw E(0x15e);let h=JSON[E(0x135)](g);h[E(0x155)]>0x0?(h=[]['concat'][E(0x146)]([],h),h[E(0x101)](function(i,j){const F=E;b['push']({'id':j,'instanceId':i[F(0xee)],'privateIp':i[F(0x14c)],'publicIp':i[F(0x166)],'status':i['status'],'name':i[F(0x13d)],'env':i[F(0x13e)][0x0]});}),b[E(0x101)](i=>{const G=E,j=G(0x124)+i['id']+G(0x17b)+i[G(0x13d)]+'\x20ENV:\x20'+i[G(0x13e)]+G(0xff)+i[G(0x15c)]+G(0x129)+i[G(0xee)]+G(0xf1)+i[G(0x166)]+'\x20PRIV_IP:\x20'+i[G(0x14c)];if(i[G(0x15c)]==='terminated')Log[G(0x12b)](j);else i[G(0x15c)]===G(0x11a)?Log[G(0x12c)](j):Log[G(0x131)](j);})):Log[E(0x12b)](E(0xf9));}catch(i){Log[E(0x12b)](i);}return b;}[a80q(0x104)](a){const H=a80q;try{const b=[H(0x128),H(0x176),H(0x17c),a[H(0xee)]],c=H(0x16c)+b[H(0x119)]('\x20'),d=execSync(c)[H(0x148)]();return d;}catch(f){Log[H(0x12b)](f);}}[a80q(0x16e)](a){const I=a80q;try{const b=[I(0x128),'reboot-instances',I(0x17c),a['instanceId']],c=I(0x16c)+b[I(0x119)]('\x20');Log[I(0x131)](c);const d=execSync(c)[I(0x148)]();return Log[I(0x131)](d),d;}catch(f){Log[I(0x12b)](f);}}async['chooseVPC'](){const J=a80q;let a='';Log['notice'](J(0x16a));const b=execSync(J(0x11e))[J(0x148)](),c=JSON[J(0x135)](b),d=[];Object[J(0x171)](c)['forEach'](function(f){const K=J;c[f][K(0x101)](function(g,h){const L=K;d[L(0x14a)]({'id':h,'vpcId':g[L(0x150)],'cidr':g['CidrBlock']});});}),d[J(0x101)](function(f){const M=J;console[M(0x179)](M(0x124)+f['id']+'\x20VPCID:\x20'+f[M(0x10b)]+'\x20CIDR:\x20'+f[M(0x13b)]);});const e=await Actions[J(0x159)]('Please\x20choose\x20a\x20VPC:\x20[0]\x20')||0x0;d[J(0x101)](function(f){const N=J;f['id']==e&&(a=f[N(0x10b)],Log[N(0x12c)]('[+]\x20Setting\x20VPC\x20ID\x20to:\x20'+a+'\x0a'));});if(a==='')return Log[J(0x12b)](J(0x167)),'';return a;}async[a80q(0xfc)](){const O=a80q,a=this[O(0x133)]({});if(a[O(0x155)]===0x0)return Log[O(0x12b)](O(0x141)),null;const b=await Actions[O(0x159)](O(0xf3));!b&&Log[O(0x12b)](O(0x100));const c=a[O(0x168)](({id:d})=>{return d==parseInt(b);})||null;return c;}async['createKeyPair']({env:a}){const P=a80q,b=this['fsi'][P(0xfd)](),{appName:c}=b,d=c+'-'+a,f=await Actions[P(0x159)]('Key\x20Name:\x20['+d+']\x20')||d;try{const g=await this[P(0x127)]({'fileName':f,'env':a});if(!g)throw P(0x138);const h=await Actions[P(0x15a)]('Would\x20you\x20like\x20to\x20update\x20the\x20ssh.json\x20config\x20file?');if(h)try{const i=a80e[P(0x139)](a80f[P(0x119)](P(0x11c),a,'ssh.json'),P(0x10a)),j=JSON[P(0x135)](i);j[P(0x114)]=a80f[P(0x119)](P(0x13f),f+P(0x111)),a80e[P(0x130)](a80f[P(0x119)]('config',a,'ssh.json'),JSON[P(0x11f)](j,null,0x2));}catch(k){Log[P(0x12b)](k),Log[P(0x12b)](P(0x110));}}catch(l){Log[P(0x12b)](l),process[P(0x126)](0x1);}return f;}async[a80q(0x16d)](a){const Q=a80q;Log[Q(0x131)](Q(0xf5));const b=execSync(Q(0x14d))['toString'](),c=JSON[Q(0x135)](b),d=[];return c[Q(0x101)](function(e,f){const R=Q;d[R(0x14a)]({'id':f,'name':e[R(0x153)],'sgId':e['ID']});}),d[Q(0x101)](function(e){const S=Q;e[S(0x13d)]===a?Log['notice'](S(0x124)+e['id']+'\x20SG\x20NAME:\x20'+e[S(0x13d)]+'\x20SGID:\x20'+e[S(0x13c)]):Log[S(0x170)](S(0x124)+e['id']+S(0x15b)+e['name']+S(0x154)+e['sgId']);}),d;}async['deleteSecurityGroup'](a){const T=a80q;try{const b=[T(0x128),T(0x12e),T(0xf0),a],c=T(0x16c)+b['join']('\x20');execSync(c,{'stdio':T(0xfa)});}catch(d){Log[T(0x12b)](d),process[T(0x126)](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0xbe))/0x1+parseInt(f(0xb9))/0x2+-parseInt(f(0xbc))/0x3+-parseInt(f(0xbb))/0x4+parseInt(f(0xb7))/0x5+-parseInt(f(0xc1))/0x6*(-parseInt(f(0xb6))/0x7)+-parseInt(f(0xc2))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x2ebc6));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0xbd)]()[h(0xb8)](h(0xbf))[h(0xbd)]()[h(0xc0)](a81a)[h(0xb8)]('(((.+)+)+)+$');});a81a();function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0xb6;var f=c[d];return f;},a81d(a,b);}export{};function a81c(){var i=['7UznDBR','610715rvGSJQ','search','448746bnhuPJ','apply','1109944OphzCS','984357JHyJmv','toString','379121mVHfKw','(((.+)+)+)+$','constructor','1586892pVvMcD','1544672pFafCF'];a81c=function(){return i;};return a81c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a83c(){const p=['4ZBjfCb','docker\x20','22VleKiM','login','push','inherit','8TWeyFW','--password-stdin','join','.dkr.ecr.','constructor','search','.amazonaws.com/','2299743IQuwic','.amazonaws.com','AWS','3075120tFbShO','awsLogin','tag','640209WZkKbU','14266gQFfXj','toString','50495fhzfnJ','(((.+)+)+)+$','1057987NvtYCA','error','97632ePdwcF','pushImage','--username'];a83c=function(){return p;};return a83c();}const a83l=a83d;(function(a,b){const j=a83d,c=a();while(!![]){try{const d=-parseInt(j(0xed))/0x1*(-parseInt(j(0xff))/0x2)+parseInt(j(0xfe))/0x3+parseInt(j(0xeb))/0x4*(-parseInt(j(0x101))/0x5)+-parseInt(j(0xe8))/0x6+-parseInt(j(0x103))/0x7+-parseInt(j(0xf1))/0x8*(-parseInt(j(0xf8))/0x9)+-parseInt(j(0xfb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x22620));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const k=a83d;return a83a[k(0x100)]()[k(0xf6)](k(0x102))[k(0x100)]()[k(0xf5)](a83a)[k(0xf6)](k(0x102));});a83a();import{execSync}from'child_process';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xe8;let f=c[d];return f;},a83d(a,b);}import{Log}from'../log/log.class.js';export class Docker{static[a83l(0xfd)]({imageName:a,awsAccountId:b,region:c,repoName:d}){const m=a83l;try{const f=[m(0xfd),a,b+m(0xf4)+c+m(0xf7)+d],g=m(0xec)+f['join']('\x20'),h=execSync(g,{'stdio':m(0xf0)})[m(0x100)]();return h;}catch(i){return Log[m(0x104)](i),'';}}static[a83l(0xfc)]({awsAccountId:a,region:b}){const n=a83l;try{const c=[n(0xee),n(0xea),n(0xfa),n(0xf2),a+n(0xf4)+b+n(0xf9)],d=n(0xec)+c[n(0xf3)]('\x20'),f=execSync(d,{'stdio':n(0xf0)})[n(0x100)]();return f;}catch(g){return Log[n(0x104)](g),'';}}static[a83l(0xe9)]({awsAccountId:a,region:b,repoName:c}){const o=a83l;try{const d=[o(0xef),a+o(0xf4)+b+o(0xf7)+c],f='docker\x20'+d[o(0xf3)]('\x20'),g=execSync(f,{'stdio':o(0xf0)})[o(0x100)]();return g;}catch(h){return Log[o(0x104)](h),'';}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a84c(){var h=['40AZfdmB','search','toString','constructor','83763kLrGGX','(((.+)+)+)+$','4RBvvqy','1338600ZfilZM','1860210qfKNUF','176279uaeJcN','1212765aMvjmx','28JrfKcM','104972ZJIqEF','509958HaeCFR'];a84c=function(){return h;};return a84c();}(function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0x1b9))/0x1*(-parseInt(f(0x1c4))/0x2)+-parseInt(f(0x1c2))/0x3*(parseInt(f(0x1bb))/0x4)+parseInt(f(0x1ba))/0x5+parseInt(f(0x1bd))/0x6+-parseInt(f(0x1bc))/0x7*(-parseInt(f(0x1be))/0x8)+parseInt(f(0x1b8))/0x9+parseInt(f(0x1b7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x2f9ff));function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x1b7;var f=c[d];return f;},a84d(a,b);}var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var g=a84d;return a84a[g(0x1c0)]()[g(0x1bf)](g(0x1c3))[g(0x1c0)]()[g(0x1c1)](a84a)[g(0x1bf)](g(0x1c3));});a84a();export{};
|