@maka/maka-cli 4.5.21 → 4.5.22
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/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.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/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/exec.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/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
|
-
|
|
1
|
+
const a97i=a97d;(function(a,b){const f=a97d,c=a();while(!![]){try{const d=parseInt(f(0xc8))/0x1*(parseInt(f(0xd2))/0x2)+parseInt(f(0xc1))/0x3+parseInt(f(0xc4))/0x4+-parseInt(f(0xc0))/0x5*(-parseInt(f(0xd0))/0x6)+-parseInt(f(0xc3))/0x7*(parseInt(f(0xcb))/0x8)+parseInt(f(0xca))/0x9+-parseInt(f(0xcc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0xd2549));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a97d;if(c){const e=c[g(0xcd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const h=a97d;return a97a[h(0xc5)]()[h(0xbf)](h(0xc7))[h(0xc5)]()[h(0xce)](a97a)['search']('(((.+)+)+)+$');});function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0xbf;let f=c[d];return f;},a97d(a,b);}function a97c(){const j=['(((.+)+)+)+$','21etrAat','maka','6644790TTjoKl','7153624pGGDUy','23363210BoSNgu','apply','constructor','maka\x20g:hook\x20cool-hook','6uoYQZY','\x0a\x20\x20For\x20more\x20information\x20visit:\x0a\x20\x20\x20\x20https://www.maka-cli.com\x0a\x20\x20\x20\x20https://medium.com/@maka-io\x0a\x20\x20\x20\x20https://gitter.im/meteor/meteor\x20(@maka-io)\x0a\x20\x20','36622zRNYOG','search','7604980GdyZhE','157962MkKPQK','maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','7UyGKkf','5582184RUjlGi','toString','maka\x20generate:api\x20Trucks'];a97c=function(){return j;};return a97c();}a97a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a97i(0xc9),'shortDesc':'Maka!','validOpts':[],'description':a97i(0xd1),'usage':a97i(0xc2),'examples':[a97i(0xc6),a97i(0xcf)]},function(){return null;});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98m=a98d;function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0xbf;let f=c[d];return f;},a98d(a,b);}(function(a,b){const k=a98d,c=a();while(!![]){try{const d=-parseInt(k(0xc6))/0x1+parseInt(k(0xe5))/0x2+parseInt(k(0xda))/0x3*(parseInt(k(0xe8))/0x4)+-parseInt(k(0xe2))/0x5+parseInt(k(0xc3))/0x6*(-parseInt(k(0xd4))/0x7)+-parseInt(k(0xc5))/0x8*(-parseInt(k(0xc2))/0x9)+parseInt(k(0xd2))/0xa*(parseInt(k(0xc4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x9a12c));const a98b=(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;};}()),a98a=a98b(this,function(){const l=a98d;return a98a[l(0xc1)]()[l(0xe9)](l(0xcd))['toString']()['constructor'](a98a)[l(0xe9)]('(((.+)+)+)+$');});a98a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a98c(){const p=['appPathPrefix','resourceName','engines','startup','10foYvdb','fsi','1764511vhaLAd','template','checkMeteorPackage','installMeteorPackage','imports','injectAtEndOfFile','726933womzEJ','method','mdg:validated-method','method/method.js','methods','ddp-rate-limiter','warn','-rpc-method\x27;','820425kMSwgE','error','tsx','568240EgiEmT','withValue','-rpc-method.','16yFyhpj','search','index.','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','toString','9wuzyHj','18qBVkMH','1222859fULPdT','2000512HdqdEI','63209SmMeQv','maka\x20{generate,\x20g}:{method,\x20m}\x20name','create','dir','pathFromApp','check\x20ddp-rate-limiter\x20mdg:validated-method','import\x20\x27./methods','(((.+)+)+)+$'];a98c=function(){return p;};return a98c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a98m(0xc8)]({'name':a98m(0xdb),'aliases':['m'],'usage':a98m(0xc7),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a98m(0xc9)],'examples':['maka\x20g:method\x20todos']},function(a,b){const n=a98m;try{const c=this[n(0xd3)]['getProjectConfig']();this['fsi'][n(0xe6)](c,async()=>{const o=n,d=paramCase(b[o(0xcf)]),f={'name':b[o(0xcf)],'fileName':d,'className':pascalCase(b[o(0xcf)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c['engines']['js']===o(0xe4)&&(g='ts');const h=this[o(0xd3)][o(0xca)]({});(!this[o(0xd3)][o(0xd6)]('check')||!this[o(0xd3)][o(0xd6)](o(0xdf))||!this[o(0xd3)][o(0xd6)](o(0xdc)))&&(Log[o(0xe0)](o(0xc0)),this['fsi'][o(0xd7)](o(0xcb),{'cwd':h}));this[o(0xd3)][o(0xd5)]({'srcPath':o(0xdd),'destPath':this[o(0xd3)]['pathFromApp']({'pathParts':[o(0xd8),o(0xd1),b[o(0xce)],o(0xde),b[o(0xc9)],d+o(0xe7)+g]}),'context':f,'config':c});const i=b[o(0xc9)]?'/'+b[o(0xc9)]+'/':'/',j=this['fsi'][o(0xca)]({'pathParts':[o(0xd8),o(0xd1),b['appPathPrefix'],o(0xbf)+c[o(0xd0)]['js']]});this[o(0xd3)][o(0xd9)]({'filePath':j,'content':o(0xcc)+i+d+o(0xe1)});});}catch(d){Log[n(0xe3)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a99o=a99d;(function(a,b){const l=a99d,c=a();while(!![]){try{const d
|
|
1
|
+
const a99o=a99d;(function(a,b){const l=a99d,c=a();while(!![]){try{const d=-parseInt(l(0x10b))/0x1*(parseInt(l(0xf0))/0x2)+-parseInt(l(0xfb))/0x3+-parseInt(l(0xf4))/0x4+parseInt(l(0x10c))/0x5+parseInt(l(0xee))/0x6+parseInt(l(0xe9))/0x7+parseInt(l(0x107))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xc6ae8));function a99c(){const s=['engines','resourceName','maka\x20g:package\x20todos:package','5270384GKitGk','constructor','/client/','pathFromProject','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','withValue','client','2226501ruNMhD','template','pathFromAppWithNoReWrite','package/package.js','toString','search','tests/server','apply','dir','hasOwnProperty','lib','fsi','14063320CMTrvZ','(((.+)+)+)+$','forEach','packages','10BzibaT','5080715JEzFxo','template/template.js','layout','features','getProjectConfig','package/','relative','noRename','tests/client','5251148gTKKAs','component','graphql','theme','package','1412826SYABcQ','/package.js','177226dwTthW'];a99c=function(){return s;};return a99c();}const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a99d;if(c){const e=c[m(0x102)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const n=a99d;return a99a[n(0xff)]()[n(0x100)](n(0x108))[n(0xff)]()[n(0xf5)](a99a)['search'](n(0x108));});a99a();function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0xe6;let f=c[d];return f;},a99d(a,b);}import a99e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a99o(0xed),'aliases':['p'],'usage':a99o(0xf8),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a99o(0x103)],'examples':[a99o(0xf3)]},async function(a,b){const p=a99o,c=paramCase(b[p(0xf2)]),d=this['fsi']['pathFromApp']({'pathParts':[p(0x10a),b[p(0x103)],c]}),e=this[p(0x106)][p(0xfd)]({'pathParts':[p(0x10a),b[p(0x103)],c,'package.js']}),f=this['fsi'][p(0x110)]();this[p(0x106)][p(0xf9)](f,async()=>{const q=p,g={'name':paramCase(b[q(0xf2)]),'myPath':a99e[q(0xe6)](this['fsi'][q(0xf7)]({}),d),'cssCaseName':paramCase(b[q(0xf2)]),'className':pascalCase(b[q(0xf2)]),'camelCaseName':camelCase(b[q(0xf2)]),'fileName':c,'client':f[q(0xf1)][q(0xfa)],'graphql':f[q(0xf1)][q(0xeb)],'ssr':f[q(0xf1)]['ssr'],'isComponent':b['hasOwnProperty'](q(0xea)),'isLayout':b[q(0x104)](q(0x10e)),'isStore':b[q(0x104)]('store'),'features':f[q(0x10f)],'noRename':!![],'theme':f['engines'][q(0xec)]};this['fsi']['template']({'srcPath':q(0xfe),'destPath':e,'context':g,'config':f}),g[q(0xe7)]=![];const h=d+q(0xf6)+c+'.js';this[q(0x106)]['template']({'srcPath':q(0x10d),'destPath':h,'context':g,'config':f});const i=[q(0x105),'server',q(0xe8),q(0x101)];i[q(0x109)](j=>{const r=q,k=d+'/'+j+'/'+c+'.js';this[r(0x106)][r(0xfc)]({'srcPath':r(0x111)+j+r(0xef),'destPath':k,'context':g,'config':f});});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a100p=a100d;(function(a,b){const m=a100d,c=a();while(!![]){try{const d=-parseInt(m(0x194))/0x1*(parseInt(m(0x1c4))/0x2)+parseInt(m(0x1a4))/0x3+parseInt(m(0x1a7))/0x4+parseInt(m(0x197))/0x5+-parseInt(m(0x1c9))/0x6*(-parseInt(m(0x1ab))/0x7)+parseInt(m(0x1cb))/0x8+-parseInt(m(0x1ca))/0x9*(parseInt(m(0x19f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x6ddbd));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a100d;if(c){const e=c[n(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const o=a100d;return a100a[o(0x19c)]()[o(0x195)]('(((.+)+)+)+$')['toString']()[o(0x1c1)](a100a)[o(0x195)]('(((.+)+)+)+$');});a100a();function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x193;let f=c[d];return f;},a100d(a,b);}import a100e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':'page','aliases':aliases,'usage':a100p(0x1ba),'shortDesc':a100p(0x1bb),'validOpts':['dir',a100p(0x1a6)],'examples':['maka\x20g:page\x20todos/todos-item']},function(a,b){const q=a100p,c=q(0x1ae),d=this[q(0x19b)][q(0x1ad)](b),e=this['fsi']['pathFromApp']({'pathParts':[c,b[q(0x199)],paramCase(b['resourceName']),paramCase(b[q(0x19e)])]}),f=this[q(0x19b)][q(0x1d8)]();this[q(0x19b)][q(0x1bf)](f,()=>{const r=q;typeof f[r(0x1b1)]['html']===r(0x1c8)&&(f['template'][r(0x1cc)]=f[r(0x1b1)][r(0x1cc)]===r(0x1b8)?!![]:![],this[r(0x19b)][r(0x1c0)](r(0x1cc),f['template'][r(0x1cc)]));typeof f[r(0x1b1)][r(0x1c2)]===r(0x1c8)&&(f[r(0x1b1)][r(0x1c2)]=f[r(0x1b1)][r(0x1c2)]===r(0x1b8)?!![]:![],this['fsi'][r(0x1c0)]('test',f[r(0x1b1)][r(0x1c2)]));typeof f[r(0x1b1)][r(0x1c6)]===r(0x1c8)&&(f[r(0x1b1)][r(0x1c6)]=f[r(0x1b1)]['css']===r(0x1b8)?!![]:![],this[r(0x19b)][r(0x1c0)](r(0x1c6),f[r(0x1b1)][r(0x1c6)]));typeof f[r(0x1b1)]['js']===r(0x1c8)&&(f['template']['js']=f[r(0x1b1)]['js']===r(0x1b8)?!![]:![],this[r(0x19b)][r(0x1c0)]('js',f[r(0x1b1)]['js']));!f[r(0x1ac)]&&(f[r(0x1ac)]={});!b['root']&&!this[r(0x19b)]['checkNpmPackage'](r(0x1a1))&&(Log[r(0x1a5)](r(0x1a2)),this[r(0x19b)]['installNpmPackage'](r(0x1a1),{'cwd':d}));const g={'name':pascalCase(b[r(0x19e)]),'myPath':a100e[r(0x1a0)](this[r(0x19b)][r(0x1bc)]({}),e),'cssCaseName':paramCase(b[r(0x19e)]),'className':pascalCase(b[r(0x19e)]),'camelCaseName':camelCase(b[r(0x19e)]),'fileName':paramCase(b['resourceName']),'graphql':f[r(0x1b7)][r(0x1da)],'features':f[r(0x1ac)],'client':f[r(0x1b7)][r(0x1aa)],'api':f[r(0x1b7)]['api'],'ssr':f[r(0x1b7)]['ssr'],'isStore':b[r(0x1d3)](r(0x1b4)),'isComponent':b[r(0x1d3)]('component'),'isLayout':b['hasOwnProperty'](r(0x193)),'withTranslations':f[r(0x1ac)][r(0x198)],'test':f[r(0x1b7)]['test'],'theme':f[r(0x1b7)][r(0x1b2)]};f[r(0x1b1)][r(0x1cc)]&&this[r(0x19b)][r(0x1b1)]({'srcPath':r(0x1a8),'destPath':e+r(0x1d1),'context':g,'config':f});f[r(0x1ac)]?.[r(0x1d2)]||b[r(0x1a6)]?this['fsi'][r(0x1b1)]({'srcPath':'hook/hook.js','destPath':e+r(0x1b0),'framework':'react','context':g,'config':f}):this[r(0x19b)]['template']({'srcPath':r(0x1bd),'destPath':e+'.js','framework':'react','context':g,'config':f});f['engines'][r(0x1c2)]!==r(0x1be)&&this['fsi'][r(0x1b1)]({'srcPath':'test/test.js','destPath':e+r(0x1c5),'framework':r(0x1c7),'context':g,'config':f});f[r(0x1b1)][r(0x1c6)]&&this[r(0x19b)][r(0x1b1)]({'srcPath':r(0x1c3),'destPath':e+r(0x1a3),'context':Object[r(0x1b9)]({},g,{'className':paramCase(b['resourceName'])}),'config':f});f['engines'][r(0x1aa)]!==r(0x1c7)&&f['engines'][r(0x1aa)]!=='vanilla'?(f[r(0x1b1)][r(0x1c6)]&&this['fsi'][r(0x1b5)]({'filePath':e+'.'+f[r(0x1b7)]['js'],'content':'import\x20\x27./'+g[r(0x1d4)]+'.'+f[r(0x1b7)][r(0x1cc)]+'\x27;\x0a'+r(0x1d6)+g['fileName']+'.'+f[r(0x1b7)][r(0x1c6)]+'\x27;'}),!f['template'][r(0x1c6)]&&this['fsi'][r(0x1b5)]({'filePath':e+'.'+f[r(0x1b7)]['js'],'content':'import\x20\x27./'+g[r(0x1d4)]+'.'+f['engines'][r(0x1cc)]+'\x27;'})):f[r(0x1b1)][r(0x1c6)]&&this[r(0x19b)][r(0x1b5)]({'filePath':e+'.'+f[r(0x1b7)]['js'],'content':r(0x1d6)+g[r(0x1d4)]+'.'+f[r(0x1b7)][r(0x1c6)]+'\x27;'});const h=b[r(0x199)]?'/'+b[r(0x199)]+'/':'/',i=''+c+h+g[r(0x1d4)]+'/'+g[r(0x1d4)];let j;if(f[r(0x1b7)]['ssr']===r(0x1b8)){const k=this[r(0x19b)]['pathFromApp']({'pathParts':[r(0x1cf),r(0x1d7),r(0x1b3),r(0x1b6)]});j=this[r(0x19b)][r(0x196)]({'pathParts':[k],'config':f});}else{const l=this[r(0x19b)][r(0x1ad)]({'pathParts':[r(0x1cf),r(0x1d7),r(0x1aa),'templates.js']});j=this[r(0x19b)][r(0x196)]({'pathParts':[l],'config':f});}f[r(0x1b7)][r(0x1aa)]===r(0x1c7)?(f[r(0x1b7)]['js']===r(0x1d5)?this['fsi'][r(0x1b5)]({'filePath':j,'content':r(0x1d9)+g[r(0x1ce)]+r(0x1a9)+i+r(0x19d)}):this[r(0x19b)][r(0x1b5)]({'filePath':j,'content':r(0x1d9)+g['className']+'\x20}\x20from\x20\x27'+i+'.'+f['engines']['js']+r(0x19d)}),this['fsi'][r(0x1af)]({'filePath':j,'content':r(0x1cd)+g['className']+'\x20};\x0a'})):this[r(0x19b)][r(0x1af)]({'filePath':j,'content':r(0x19a)+i+'.'+f[r(0x1b7)]['js']+r(0x19d)});});});function a100c(){const s=['Generate\x20a\x20page.','pathFromProject','component/component.js','none','withValue','setTemplate','constructor','test','template/template.css','412FMLOsK','.app-tests.js','css','react','string','546tNYnlx','1566342gyzZEt','1572432IKIaQw','html','export\x20{\x20','className','imports','apply','.html','withHooks','hasOwnProperty','fileName','tsx','import\x20\x27./','startup','getProjectConfig','import\x20{\x20','graphql','layout','4262CTUmKx','search','rewriteDestinationPathForEngine','2347390UnDFLM','withTranslations','dir','import\x20\x27','fsi','toString','\x27;\x0a','resourceName','10XUYDpK','relative','ramda','Updating\x20npm\x20packages\x20...','.css','1159686hjWHSY','warn','withHook','282620fsajdY','template/template.html','\x20}\x20from\x20\x27','client','29134JWbwST','features','pathFromApp','/imports/ui/pages','injectAtEndOfFile','.js','template','theme','lib','store','injectAtBeginningOfFile','templates.js','engines','true','assign','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>'];a100c=function(){return s;};return a100c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a101k=a101d;(function(a,b){const h=a101d,c=a();while(!![]){try{const d=parseInt(h(0xc7))/0x1+parseInt(h(0xb8))/0x2*(-parseInt(h(0xc0))/0x3)+-parseInt(h(0xbf))/0x4+-parseInt(h(0xc8))/0x5*(parseInt(h(0xb0))/0x6)+parseInt(h(0xb9))/0x7+-parseInt(h(0xb4))/0x8*(parseInt(h(0xb1))/0x9)+parseInt(h(0xc6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x890c2));function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0xae;let f=c[d];return f;},a101d(a,b);}const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a101d;if(c){const e=c[i(0xae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const j=a101d;return a101a['toString']()[j(0xb7)](j(0xc5))[j(0xc4)]()[j(0xb3)](a101a)[j(0xb7)](j(0xc5));});a101a();function a101c(){const n=['fsi','server/publish.','400200oDTrDT','39EHlhnm','resourceName','rewriteDestinationPathForEngine','maka\x20g:publish\x20todos','toString','(((.+)+)+)+$','16596460LNYwEP','136412PbfHAm','18545EoXDSZ','apply','templateContent','1554yFlLxT','9EPApIm','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','constructor','1137736cGFhbv','engines','injectAtEndOfFile','search','127522YBbGJP','5579553PXnxbr','withValue','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','create'];a101c=function(){return n;};return a101c();}import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a101k(0xbc)]({'name':'publish','aliases':['p'],'usage':a101k(0xb2),'shortDesc':a101k(0xbb),'validOpts':[],'examples':[a101k(0xc3)]},async function(a,b){const l=a101k,c=this['fsi']['getProjectConfig']();this['fsi'][l(0xba)](c,async()=>{const m=l,d={'name':b[m(0xc1)],'collection':paramCase(b[m(0xc1)]),'noRename':!![]};let e='js';c[m(0xb5)]['js']==='tsx'&&(e='ts');const f=this['fsi'][m(0xc2)]({'pathParts':[m(0xbe)+c['engines']['js']]}),g=this['fsi'][m(0xaf)]({'srcPath':'publish/publish.'+e,'context':d,'config':c});this[m(0xbd)][m(0xb6)]({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a102y=a102d;function
|
|
1
|
+
const a102y=a102d;function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x98;let f=c[d];return f;},a102d(a,b);}(function(a,b){const v=a102d,c=a();while(!![]){try{const d=-parseInt(v(0xb9))/0x1+-parseInt(v(0xc8))/0x2+parseInt(v(0xdc))/0x3+-parseInt(v(0xba))/0x4+-parseInt(v(0x9c))/0x5*(parseInt(v(0xcc))/0x6)+parseInt(v(0xa0))/0x7+parseInt(v(0xa1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0xc5354));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a102d;if(c){const e=c[w(0xab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const x=a102d;return a102a[x(0xd2)]()[x(0xa3)](x(0xaa))[x(0xd2)]()[x(0xdf)](a102a)[x(0xa3)](x(0xaa));});a102a();import a102e from'path';function a102c(){const H=['\x22*\x22','readFileLines','lib','injectIntoFile','cwd','518945XmbmFC','1675300oAIvyj','route/route.js','toLowerCase','root','maka\x20g:route\x20lists/listIndex\x20lists','newForm','fsi','startup','features','/imports/ui/pages','ssr','length','vanilla','maka\x20g:route\x20todosEdit\x20todos/:id/edit','3073172CMidiG','injectAfterLineNumber','react','<Route','6WIBvLW','templateName','getProjectConfig','error','\x0a\x09\x09','withHook','toString','injectAtEndOfFile','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','withValue','const\x20privateRoutes\x20=\x20(<>','client','withTranslations','true','invoke','Scaffolding\x20for\x20a\x20Route.','1173807MhtAwB','engines','join','constructor','const\x20publicRoutes\x20=\x20(<>','filter','pathFromApp','imports','1444735YdbHmy','route','url','routes.js','3020500LZnZVb','21986384rWxcgz','private','search','create','warn','layout','page','MasterLayout','PrivateLayout','(((.+)+)+)+$','apply','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','rewriteDestinationPathForEngine','maka\x20g:route\x20todosIndex\x20todos','only','indexOf','map','templateContent','includes'];a102c=function(){return H;};return a102c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a102f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a102y(0xa4)]({'name':a102y(0x9d),'aliases':aliases,'validOpts':[a102y(0xa2),a102y(0xa6),a102y(0xaf),a102y(0xb8),'config','root',a102y(0xd1),a102y(0x9e)],'usage':'maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','shortDesc':a102y(0xdb),'examples':[a102y(0xae),a102y(0xc7),'maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView',a102y(0xbe)]},function(a,b){const z=a102y;try{const c=this[z(0xc0)][z(0xce)]();this[z(0xc0)][z(0xd5)](c,async()=>{const A=z,d=b['private']??![];let f=paramCase(a[0x0]),g='/'+f;a[A(0xc5)]>0x1&&(g='/'+a[A(0x99)](function(l){return l!=='/';})['join']('/')[A(0xbc)]());f=camelCase(f);b[A(0xa6)]&&(b[A(0xa6)]=camelCase(b[A(0xa6)]));const h=a102e[A(0xde)](A(0xc3),f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b[A(0xa6)]||A(0xa8),'templatePath':h,'templateName':pascalCase(f),'client':c[A(0xdd)]['client'],'newForm':![],'withTranslations':c[A(0xc2)][A(0xd8)]};d&&(i['layout']=A(0xa9));if(!b[A(0xbd)]){const l=a102f['findGenerator'](A(0xa7));l&&await l[A(0xda)](a,b);}let j,k;if(c[A(0xdd)][A(0xd7)]===A(0xca)){if(c[A(0xdd)][A(0xc4)]===A(0xd9)){const p=this[A(0xc0)][A(0x9a)]({'pathParts':[A(0x9b),A(0xc1),A(0xb6),A(0x9f)]});j=this['fsi'][A(0xad)]({'pathParts':[p],'config':c});}else{const q=this['fsi']['pathFromApp']({'pathParts':[A(0x9b),A(0xc1),'client',A(0x9f)]});j=this[A(0xc0)][A(0xad)]({'pathParts':[q],'config':c});}const m=this[A(0xc0)]['readFileLines'](j)[A(0xb1)]((r,s)=>{const B=A;return r['includes'](B(0xd4))?s+0x1:null;})[A(0x99)](r=>r!==null);let n=this['fsi'][A(0xb5)](j)[A(0xb1)]((r,s)=>{const C=A;return r[C(0xb3)](C(0x98))?s+0x1:null;})[A(0x99)](r=>r!==null),o=this['fsi'][A(0xb5)](j)[A(0xb1)]((r,s)=>{const D=A;return r[D(0xb3)](D(0xd6))?s+0x1:null;})['filter'](r=>r!==null);n[A(0xc5)]>0x0&&o['length']>0x0&&(i[A(0xbf)]=!![]);k=this[A(0xc0)][A(0xb2)]({'srcPath':A(0xbb),'framework':A(0xca),'context':i,'config':c});if(n[A(0xc5)]>0x0||o[A(0xc5)]>0x0){this[A(0xc0)][A(0xc9)]({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o['length']>0x0)o=this[A(0xc0)][A(0xb5)](j)[A(0xb1)]((r,s)=>{const E=A;return r['includes'](E(0xd6))?s+0x1:null;})[A(0x99)](r=>r!==null),this['fsi'][A(0xc9)]({'filePath':j,'content':'\x09{'+i[A(0xcd)]+'}','lineNumber':o[0x0]});else n[A(0xc5)]>0x0?(n=this['fsi']['readFileLines'](j)[A(0xb1)]((r,s)=>{const F=A;return r['includes'](F(0x98))?s+0x1:null;})[A(0x99)](r=>r!==null),this[A(0xc0)][A(0xc9)]({'filePath':j,'content':'\x09{'+i[A(0xcd)]+'}','lineNumber':n[0x0]})):Log[A(0xa5)](A(0xac)+j);}else{const r=this[A(0xc0)][A(0xb5)](j)[A(0xb1)](u=>{const G=A;return u[G(0xb3)](G(0xb4));}),s=r[A(0xb0)](!![])>-0x1,t=s?A(0xcb):'</Router>';this[A(0xc0)][A(0xb7)]({'filePath':j,'content':'\x0a\x09\x09'+k+A(0xd0),'begin':'<Router','end':t});}}else{if(c[A(0xdd)][A(0xd7)]===A(0xc6)){const u=this[A(0xc0)][A(0x9a)]({'pathParts':[A(0x9b),A(0xc1),A(0xd7),A(0x9f)]});j=this[A(0xc0)][A(0xad)]({'pathParts':[u],'config':c}),k=this[A(0xc0)][A(0xb2)]({'srcPath':A(0xbb),'context':i}),this[A(0xc0)][A(0xd3)]({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log[z(0xcf)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a103l=a103d;
|
|
1
|
+
const a103l=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=-parseInt(j(0x1bc))/0x1+parseInt(j(0x1cb))/0x2*(-parseInt(j(0x1c2))/0x3)+parseInt(j(0x1bf))/0x4+-parseInt(j(0x1be))/0x5*(-parseInt(j(0x1b7))/0x6)+parseInt(j(0x1b2))/0x7+parseInt(j(0x1ca))/0x8*(-parseInt(j(0x1b8))/0x9)+parseInt(j(0x1d0))/0xa*(parseInt(j(0x1c6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x35230));const a103b=(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;};}()),a103a=a103b(this,function(){const k=a103d;return a103a[k(0x1b1)]()[k(0x1cd)](k(0x1c8))['toString']()[k(0x1b4)](a103a)[k(0x1cd)](k(0x1c8));});a103a();import{camelCase,paramCase,pascalCase}from'change-case';function a103c(){const o=['762ZixOcp','template','checkNpmPackage','imports','3599662IzsKWi','logger','(((.+)+)+)+$','create','374456RdhSSK','1418QPJQjE','Installing\x20winston','search','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','startup','10UJuOIa','services','winston','svc','withValue','toString','924574cfndde','engines','constructor','maka\x20{generate,\x20g}:{service}\x20[service-type]','resourceName','3750ulGCHb','18nUtmTw','fsi','installNpmPackage','winston\x20setimmediate','353777CjzCVQ','pathFromApp','1450GVviWS','818204SqoSxo','error','type'];a103c=function(){return o;};return a103c();}function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a103d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a103l(0x1c9)]({'name':'service','aliases':[a103l(0x1af)],'usage':a103l(0x1b5),'shortDesc':a103l(0x1ce),'validOpts':[a103l(0x1c1)],'validArgs':[a103l(0x1c7)],'maxArgLength':0x1,'minArgLength':0x1,'examples':['maka\x20g:svc\x20logger']},async function(a,b){const m=a103l;try{const c=this[m(0x1b9)]['getProjectConfig']();this[m(0x1b9)][m(0x1b0)](c,async()=>{const n=m,d=this[n(0x1b9)][n(0x1bd)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b['resourceName']),'fileName':f,'camelCase':camelCase(b[n(0x1b6)]),'type':a[0x0],'engine':c[n(0x1b3)]['js'],'noRename':!![]};let h='js';c[n(0x1b3)]['js']==='tsx'&&(h='ts');if(a[0x0]===n(0x1c7)){!this['fsi'][n(0x1c4)](n(0x1ae))&&await this[n(0x1b9)][n(0x1ba)](n(0x1bb),{'cwd':d,'msg':n(0x1cc)});const i=this[n(0x1b9)][n(0x1bd)]({'pathParts':[n(0x1c5),n(0x1cf),'lib',n(0x1ad),f+'.'+h]});this[n(0x1b9)][n(0x1c3)]({'srcPath':'service/logger/logger.js','destPath':i,'context':g,'config':c});}});}catch(d){Log[m(0x1c0)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a104d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a104d,c=a();while(!![]){try{var d=parseInt(f(0x1ba))/0x1+-parseInt(f(0x1c0))/0x2*(-parseInt(f(0x1c1))/0x3)+-parseInt(f(0x1c3))/0x4*(-parseInt(f(0x1bb))/0x5)+-parseInt(f(0x1bd))/0x6*(-parseInt(f(0x1c2))/0x7)+-parseInt(f(0x1b9))/0x8+-parseInt(f(0x1b8))/0x9*(-parseInt(f(0x1b6))/0xa)+-parseInt(f(0x1bf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xc2e44));var a104b=(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;};}()),a104a=a104b(this,function(){var g=a104d;return a104a[g(0x1b7)]()['search'](g(0x1bc))[g(0x1b7)]()['constructor'](a104a)[g(0x1be)](g(0x1bc));});a104a();import'./translation.js';function a104c(){var h=['10749056lrGZIT','416551zqTwNB','3973315PkAomR','(((.+)+)+)+$','661038vhoAtu','search','32442058lVMmHC','33594Nsntxq','168DsVHfG','91YocjwF','4iSsfWg','15070910mkrQEq','toString','9zeanXI'];a104c=function(){return h;};return a104c();}function a104d(a,b){var c=a104c();return a104d=function(d,e){d=d-0x1b6;var f=c[d];return f;},a104d(a,b);}import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a105k=a105d;(function(a,b){const i=a105d,c=a();while(!![]){try{const d=parseInt(i(0x14e))/0x1+parseInt(i(0x162))/0x2*(-parseInt(i(0x15b))/0x3)+parseInt(i(0x15e))/0x4+-parseInt(i(0x166))/0x5+-parseInt(i(0x151))/0x6*(-parseInt(i(0x158))/0x7)+-parseInt(i(0x155))/0x8+parseInt(i(0x159))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x6d0ee));const a105b=(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;};}()),a105a=a105b(this,function(){const j=a105d;return a105a[j(0x14f)]()[j(0x16a)]('(((.+)+)+)+$')[j(0x14f)]()[j(0x15d)](a105a)[j(0x16a)]('(((.+)+)+)+$');});function a105c(){const n=['constructor','35608Unetei','withValue','error','join','1057646zTjTbE','fsi','maka\x20g:sslconfig\x20--env\x20dev','env','2072495jbOePI','Generate\x20a\x20new\x20openssl\x20config\x20file','template','sslconfig','search','237903hQDXFQ','toString','_keys','746298dkqUBr','appName','openssl/openssl.conf','maka\x20{generate,\x20g}:sslconfig','6665368PEsShX','service','getProjectConfig','7aVynyi','16668063QMEefx','create','3CUwshI','getGlobalConfig'];a105c=function(){return n;};return a105c();}a105a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x14e;let f=c[d];return f;},a105d(a,b);}import a105e from'path';Generator[a105k(0x15a)]({'name':a105k(0x169),'usage':a105k(0x154),'shortDesc':a105k(0x167),'noResource':!![],'requiredOpts':['env'],'examples':[a105k(0x164)],'validOpts':[a105k(0x165)]},async function(a,b){const l=a105k;try{const c=await this[l(0x163)][l(0x157)](),d=await this['fsi'][l(0x15c)](),f=this[l(0x163)]['getConfigPath'](b[l(0x165)]),g=a105e[l(0x161)](f,l(0x150),'openssl.conf');await this[l(0x163)][l(0x15f)](c,async()=>{const m=l,h={'app':d[m(0x152)],'noRename':!![]};await this[m(0x163)][m(0x168)]({'srcPath':m(0x153),'destPath':g,'framework':m(0x156),'context':h,'config':c});});}catch(h){Log[l(0x160)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a106A=a106d;(function(a,b){const x=a106d,c=a();while(!![]){try{const d
|
|
1
|
+
const a106A=a106d;(function(a,b){const x=a106d,c=a();while(!![]){try{const d=-parseInt(x(0x9b))/0x1+-parseInt(x(0xaf))/0x2+-parseInt(x(0x9f))/0x3*(-parseInt(x(0xc3))/0x4)+parseInt(x(0xa4))/0x5*(-parseInt(x(0x8e))/0x6)+parseInt(x(0x95))/0x7*(parseInt(x(0xa2))/0x8)+-parseInt(x(0xcd))/0x9*(-parseInt(x(0xcf))/0xa)+-parseInt(x(0xac))/0xb*(-parseInt(x(0xbd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x6249a));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a106d;if(c){const e=c[y(0xc1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const z=a106d;return a106a['toString']()[z(0xc4)]('(((.+)+)+)+$')['toString']()[z(0xa6)](a106a)[z(0xc4)](z(0xb4));});a106a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';function a106c(){const D=['service','pathFromApp','features.withTranslations','21kCedaB','appName','grep','56RACZsp','template','430ouVBII','ssr','constructor','engines','create','Locale\x20already\x20exported:\x20','services','locales','253keCjoC','\x20}\x20from\x20\x27./','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','1438764FvrEbp','i18n/i18n.js','imports','translations','import\x20\x27../lib/services/translations/i18n\x27;\x0a','(((.+)+)+)+$','warn','import\x20\x27../lib/services/translations/i18n\x27;','i18next\x20i18next-browser-languagedetector\x20react-i18next','server','Locale\x20already\x20defined:\x20','checkNpmPackage','export\x20{\x20default\x20as\x20','isFile','217860rVUGeH','maka\x20g:translation\x20--lang=de','maka\x20g:translation\x20--lang=fr','true','apply','i18n','355016kHNkpu','search','i18n/index.js','error','index.js','readFileSync','i18next','setProjectConfig','index.','fsi','391518DiNway','translation','90jGuEpC','i18n.js','lang','rewriteDestinationPathForEngine','9864CAbXZc','lib','toString','default\x20as\x20','startup','maka\x20g:translation\x20--lang=en\x20(default)','getGlobalConfig','287714TMARoS','.js','i18n/locales.js','exit','injectAtBeginningOfFile','findAppDirectory','454723DWMiHS'];a106c=function(){return D;};return a106c();}import a106e from'fs';function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x8c;let f=c[d];return f;},a106d(a,b);}Generator[a106A(0xa8)]({'name':a106A(0xce),'usage':'maka\x20{generate,\x20g}:translation\x20--lang=<language>','aliases':[a106A(0xc2)],'shortDesc':'Generate\x20a\x20new\x20locale\x20translation','noResource':!![],'examples':[a106A(0x93),a106A(0xbf),a106A(0xbe)],'validOpts':['lang']},function(a,b){const B=a106A;try{const c=this['fsi']['getProjectConfig'](),d=this['fsi'][B(0x94)](),f=this['fsi'][B(0x9a)]();this[B(0xcc)]['withValue'](c,()=>{const C=B;try{!b[C(0x8c)]&&(b[C(0x8c)]='en');!b['root']&&!this[C(0xcc)][C(0xba)](C(0xc9))&&(Log[C(0xb5)](C(0xae)),this[C(0xcc)]['installNpmPackage'](C(0xb7),{'cwd':f}),this[C(0xcc)][C(0xca)](C(0x9e),!![]));const g=this[C(0xcc)]['pathFromApp']({'pathParts':[C(0xb1),C(0x92),'client',C(0xc7)]}),h=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[g],'config':c}),i=this[C(0xcc)]['grep'](a106e[C(0xc8)](h)[C(0x90)](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];if(c[C(0xa7)][C(0xa5)]===C(0xc0)){!i&&this[C(0xcc)][C(0x99)]({'filePath':h,'content':C(0xb3)});const t=this[C(0xcc)][C(0x9d)]({'pathParts':[C(0xb1),'startup',C(0xb8),'index.js']}),u=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[t],'config':c}),v=this[C(0xcc)][C(0xa1)](a106e[C(0xc8)](u)[C(0x90)](),C(0xb6))[0x0]&&!![];!v&&this['fsi'][C(0x99)]({'filePath':u,'content':C(0xb3)});}else!i&&this['fsi'][C(0x99)]({'filePath':h,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const j={'app':d[C(0xa0)],'config':c},k=this[C(0xcc)][C(0x9d)]({'pathParts':['imports',C(0x92),C(0x8f),C(0xaa),C(0xb2),C(0xd0)]}),l=this[C(0xcc)]['isFile'](this[C(0xcc)][C(0x8d)]({'pathParts':[k],'config':c}));!l&&this[C(0xcc)][C(0xa3)]({'srcPath':C(0xb0),'destPath':k,'framework':C(0x9c),'context':j,'config':c});const m=this['fsi'][C(0x9d)]({'pathParts':[C(0xb1),C(0x92),'lib',C(0xaa),C(0xb2),C(0xab),b[C(0x8c)]+C(0x96)]}),n=this[C(0xcc)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':c}),o=this[C(0xcc)]['isFile'](n);!o?this[C(0xcc)]['template']({'srcPath':C(0x97),'destPath':m,'framework':C(0x9c),'context':j,'config':c}):Log['warn'](C(0xb9)+n);const p=this[C(0xcc)][C(0x9d)]({'pathParts':[C(0xb1),C(0x92),C(0x8f),C(0xaa),C(0xb2),'locales',C(0xcb)+c[C(0xa7)]['js']]}),q=this[C(0xcc)][C(0x8d)]({'pathParts':[p],'config':c}),r=this[C(0xcc)][C(0xbc)](q);!r&&this[C(0xcc)][C(0xa3)]({'srcPath':C(0xc5),'destPath':p,'framework':C(0x9c),'context':j,'config':c});const s=this[C(0xcc)][C(0xa1)](a106e[C(0xc8)](p)[C(0x90)](),C(0x91)+b[C(0x8c)])[0x0]&&!![];!s?this[C(0xcc)]['injectAtEndOfFile']({'filePath':p,'content':C(0xbb)+b[C(0x8c)]+C(0xad)+b[C(0x8c)]+'\x27;'}):Log[C(0xb5)](C(0xa9)+p);}catch(w){Log[C(0xc6)](w),process['exit'](0x1);}});}catch(g){Log[B(0xc6)](g),process[B(0x98)](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a107l=a107d;(function(a,b){const j=a107d,c=a();while(!![]){try{const d=-parseInt(j(0xee))/0x1*(-parseInt(j(0xe3))/0x2)+parseInt(j(0xef))/0x3+-parseInt(j(0xf0))/0x4*(parseInt(j(0xe1))/0x5)+-parseInt(j(0xea))/0x6+-parseInt(j(0xe0))/0x7*(-parseInt(j(0xe5))/0x8)+-parseInt(j(0xe9))/0x9+-parseInt(j(0xf2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x9f73d));function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0xd8;let f=c[d];return f;},a107d(a,b);}const a107b=(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;};}()),a107a=a107b(this,function(){const k=a107d;return a107a['toString']()[k(0xe4)](k(0xd8))[k(0xde)]()[k(0xdb)](a107a)[k(0xe4)]('(((.+)+)+)+$');});a107a();import a107e from'minimist';import a107f from'os';import a107g from'path';import a107h from'humps';import a107i from'./commands/maka.cmd.js';import'./commands/_index.js';function a107c(){const m=['3838590WDbXks','18776tbzkMo','dirname','5456270yfDypx','(((.+)+)+)+$','env','TOOL_NODE_FLAGS','constructor','run','--max-old-space-size=','toString','MAKA_COMMAND_PATH','3991631RWgCRz','85ypScoN','BROWSERSLIST_IGNORE_OLD_DATA','1626aUeqVS','search','8KdfpXy','argv','floor','totalmem','6362883oaxFVj','1873182TXTdYQ','parse','camelizeKeys','url','551iWblAG'];a107c=function(){return m;};return a107c();}import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a107l(0xed)]),__dirname=a107g[a107l(0xf1)](__filename);global[a107l(0xdf)]=__dirname;const total_memory=a107f[a107l(0xe8)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a107l(0xe7)](total_mem_in_mb),process[a107l(0xd9)][a107l(0xda)]=a107l(0xdd)+total_mem_in_mb,process['env'][a107l(0xe2)]='1';const argv=a107e(process[a107l(0xe6)]['slice'](0x2)),args=argv['_'],deepCopyArgv=JSON[a107l(0xeb)](JSON['stringify'](argv));delete deepCopyArgv['_'];const opts=a107h[a107l(0xec)](deepCopyArgv);a107i[a107l(0xdc)](args,opts);
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a108j=a108d;(function(a,b){const h=a108d,c=a();while(!![]){try{const d=-parseInt(h(0x148))/0x1*(-parseInt(h(0x13b))/0x2)+-parseInt(h(0x138))/0x3+parseInt(h(0x126))/0x4+-parseInt(h(0x132))/0x5+parseInt(h(0x11d))/0x6+-parseInt(h(0x13c))/0x7+-parseInt(h(0x13a))/0x8*(-parseInt(h(0x121))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x93910));const a108b=(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;};}()),a108a=a108b(this,function(){const i=a108d;return a108a[i(0x147)]()[i(0x12b)](i(0x13f))['toString']()['constructor'](a108a)[i(0x12b)](i(0x13f));});a108a();function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x11a;let f=c[d];return f;},a108d(a,b);}import a108e from'path';import a108f from'os';import a108g from'fs';const homeDir=a108f['homedir']();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';function a108c(){const x=['description','fsi','2140172DpSwqV','No\x20usage\x20provided.','Invalid\x20argument:\x20','.meteor','join','search','existsSync','forEach','help','validateParams','Invalid\x20options:\x20','name','2442330cvZSSJ','AppData','Missing\x20required\x20options\x20','_handler','config','length','1829991SsvSUd','Local','2488264ZEOCZQ','214YQwDpp','6001394OQaHxK','platform','concat','(((.+)+)+)+$','Missing\x20required\x20option:\x20','cwd','shortDesc','validateMeteorInstall','keys','error','includes','toString','8171VmSXUB','parent','examples','dir','match','options','push','3172986UllRUL','docker','validateMakaProject','findProjectDirectory','18JLgmIm','aliases','usage'];a108c=function(){return x;};return a108c();}import{UsageError}from'./error.js';export class Tool{[a108j(0x11e)];[a108j(0x125)];[a108j(0x11b)];[a108j(0x131)];[a108j(0x149)];[a108j(0x135)];constructor(){const k=a108j;this['docker']=new Docker(),this[k(0x125)]=new FSI();}[a108j(0x11a)](a){const l=a108j,b=[this['name']]['concat'](this[l(0x11b)][l(0x122)]||[]);return this[l(0x149)]&&b[l(0x11c)](this['parent']),b['includes'](a);}[a108j(0x11f)](){const m=a108j,a=this[m(0x125)][m(0x120)]();return a!==![]?!![]:![];}[a108j(0x143)](){const n=a108j;let a=a108e[n(0x12a)](homeDir,n(0x129));const b=process[n(0x13d)]==='win32';if(b){a=a108e[n(0x12a)](homeDir,n(0x133),n(0x139),n(0x129));if(!a108g[n(0x12c)](a))return![];}else{if(!a108g[n(0x12c)](a))return![];}return!![];}[a108j(0x12f)](a,b,c){const o=a108j,{requiredOpts:requiredOpts=[],validArgs:d}=c;let {validOpts:validOpts=[]}=c;const e=Object[o(0x144)](b);d?.[o(0x137)]>0x0&&a[o(0x12d)](f=>{const p=o;if(!d[p(0x146)](f)){Log['error'](p(0x128)+f);throw new UsageError();}});if(requiredOpts?.['length']>0x0){if(e[o(0x137)]===0x0){Log['error'](o(0x134)+requiredOpts[o(0x12a)](',\x20'));throw new UsageError();}requiredOpts[o(0x12d)](f=>{const q=o;if(!e[q(0x146)](f)){Log[q(0x145)](q(0x140)+f);throw new UsageError();}});}validOpts=validOpts[o(0x13e)](requiredOpts),validOpts?.[o(0x137)]>0x0&&(validOpts['push'](o(0x12e)),validOpts['push']('resourceName'),validOpts[o(0x11c)](o(0x14b)),validOpts['push'](o(0x141)),validOpts['push']('root'),validOpts[o(0x11c)](o(0x136)),e[o(0x12d)](f=>{const r=o;if(!validOpts[r(0x146)](f)){Log[r(0x145)](r(0x130)+f);throw new UsageError();}}));}[a108j(0x124)](){const s=a108j;return this[s(0x11b)][s(0x124)]||this[s(0x11b)]['shortDesc']||'No\x20description\x20provided.';}[a108j(0x142)](){const t=a108j;return this[t(0x11b)][t(0x142)]||'NIE';}[a108j(0x123)](){const u=a108j;return this[u(0x11b)][u(0x123)]||u(0x127);}['examples'](){const v=a108j;return this['options'][v(0x14a)]||[];}[a108j(0x122)](){const w=a108j;return this[w(0x11b)][w(0x122)]||'None';}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-
|
|
1
|
+
function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x188;let f=c[d];return f;},a109d(a,b);}const a109j=a109d;(function(a,b){const f=a109d,c=a();while(!![]){try{const d=-parseInt(f(0x192))/0x1+parseInt(f(0x19a))/0x2+parseInt(f(0x18a))/0x3*(parseInt(f(0x188))/0x4)+-parseInt(f(0x198))/0x5*(-parseInt(f(0x18b))/0x6)+parseInt(f(0x18c))/0x7*(-parseInt(f(0x19c))/0x8)+parseInt(f(0x18e))/0x9*(-parseInt(f(0x190))/0xa)+parseInt(f(0x18d))/0xb*(parseInt(f(0x196))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xb524b));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a109d;if(c){const e=c[g(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const h=a109d;return a109a[h(0x19b)]()[h(0x197)](h(0x194))[h(0x19b)]()['constructor'](a109a)['search']('(((.+)+)+)+$');});a109a();import a109e from'inquirer';export class Actions{static async['ask'](a,b){const i=a109d,{answer:c}=await a109e[i(0x18f)]({'type':b?i(0x199):i(0x189),'name':'answer','message':a});return c;}static async[a109j(0x193)](a,b=![]){const {answer:c}=await a109e['prompt']({'type':'confirm','name':'answer','message':a,'default':b});return c;}static async[a109j(0x191)](a){const b=await a109e['prompt'](a);return b;}}function a109c(){const k=['2328556AjVOZw','toString','7919848pagvdP','1460VBPKsI','input','11814FUmPqC','4002mFOwUM','7mDLfvJ','4213OluBsm','54lLHAKi','prompt','2172500YcyJPQ','options','1284497PGTukL','confirm','(((.+)+)+)+$','apply','9888eOIatt','search','10515EhLBHN','password'];a109c=function(){return k;};return a109c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a110s=a110d;
|
|
1
|
+
const a110s=a110d;(function(a,b){const p=a110d,c=a();while(!![]){try{const d=parseInt(p(0xc5))/0x1+-parseInt(p(0x9f))/0x2+-parseInt(p(0x103))/0x3*(-parseInt(p(0xcc))/0x4)+parseInt(p(0xda))/0x5+-parseInt(p(0xbd))/0x6+parseInt(p(0xa6))/0x7+-parseInt(p(0x99))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x3be92));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a110d;if(c){const e=c[q(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const r=a110d;return a110a[r(0x9c)]()[r(0xb1)](r(0x100))[r(0x9c)]()[r(0xbc)](a110a)[r(0xb1)](r(0x100));});function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x97;let f=c[d];return f;},a110d(a,b);}a110a();import a110e from'fs';import a110f from'path';import{execSync}from'child_process';import{Actions}from'../actions/actions.class.js';import{Log}from'../log/log.class.js';import{FSI}from'../fsi/fsi.class.js';import{EC2Client,DescribeInstancesCommand,RunInstancesCommand,TerminateInstancesCommand,CreateKeyPairCommand,AuthorizeSecurityGroupIngressCommand,CreateSecurityGroupCommand,RebootInstancesCommand,DescribeVpcsCommand,DescribeKeyPairsCommand,DeleteKeyPairCommand,DescribeSecurityGroupsCommand,DeleteSecurityGroupCommand}from'@aws-sdk/client-ec2';import{ECRClient,CreateRepositoryCommand}from'@aws-sdk/client-ecr';const client=new EC2Client({}),ecrClient=new ECRClient({});function a110c(){const R=['userData','[+]\x20Setting\x20VPC\x20ID\x20to:\x20','readFileSync','GroupName','pem','Pem\x20key\x20saved\x20to\x20','222540kgrara','description','maka-cli','fsi','join','instance','ID:\x20','[?]\x20Please\x20choose\x20an\x20instance\x20ID:\x20','confirm','_keys','Please\x20choose\x20a\x20VPC:\x20[0]\x20','Invalid\x20choice','\x20INSTANCE_ID:\x20','log','Port\x20','vpcId','.pem.txt','VpcId','length','running','ingressRule','Web\x20App','type','Key\x20Name:\x20[','UserData','send','GroupId','file://','notice','apply','ec2create','deleteSecurityGroup','\x20VPCID:\x20','createFile','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','ec2terminateInstance','config','$metadata','(((.+)+)+)+$','\x20ENV:\x20','forEach','569883wkngTn','httpStatusCode','ec2createSG','\x20NAME:\x20','instanceId','\x20CIDR:\x20','No\x20instances\x20found','push','446416jWzgvs','privateIp','ec2describeKeys','toString','ask','Created:\x20','821354mItPWK','Error\x20saving\x20pem\x20file,\x20aborting','ssh.json','createKeyPair','name','sgPorts','suggestion','3039834zbPPPv','Instance\x20rebooted!','createKeyPairEC2Key','sgIds','Would\x20you\x20like\x20to\x20update\x20the\x20ssh.json\x20config\x20file?','KeyName','\x20PRIV_IP:\x20','exit','parse','chooseInstance','tags','search','ec2rebootInstance','status','utf8','chooseVPC','key','subnet','Name','terminated','minCount','success','constructor','1723332LMLmYD','Instances','getProjectConfig','error','tcp','CidrBlock','You\x20have\x20no\x20instances\x20created\x20by\x20maka-cli.\x20\x20Please\x20reivew\x20your\x20AWS\x20console\x20manually!!!','publicIp','330364pLJXfm','chmod\x20400\x20','Value','AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials','deleteKeyPair','writeFileSync','KeyMaterial','4YpQaoP','ec2describeInstances','cidr','Error\x20generating\x20key\x20pair','find','split','imageId','tag:created-by'];a110c=function(){return R;};return a110c();}export class AWS{[a110s(0xdd)];constructor(){const t=a110s;this[t(0xdd)]=new FSI();}async['ecrCreateRepository'](a){const u=a110s;try{const b={'repositoryName':a[u(0xa3)]},c=new CreateRepositoryCommand(b),d=await ecrClient[u(0xf3)](c);return d;}catch(f){Log['error'](f);}}async[a110s(0xf8)](a){const v=a110s;try{const b={'BlockDeviceMappings':[{'DeviceName':'/dev/sdh','Ebs':{'VolumeSize':0x64}}],'ImageId':a[v(0xd2)],'InstanceType':a[v(0xf0)],'KeyName':a[v(0xb6)],'MaxCount':a['maxCount'],'MinCount':a[v(0xba)],'SecurityGroupIds':a[v(0xa9)][v(0xd1)](','),'SubnetId':a[v(0xb7)],'TagSpecifications':[{'ResourceType':v(0xdf),'Tags':a[v(0xb0)]}]};a[v(0xd4)]&&(b[v(0xf2)]=v(0xf5)+a[v(0xd4)]);const c=new RunInstancesCommand(b),d=await client['send'](c);return d;}catch(f){Log['error'](f);}}async[a110s(0xfd)](a){const w=a110s;try{const b={'InstanceIds':[a['instanceId']]},c=new TerminateInstancesCommand(b),d=await client[w(0xf3)](c);return d;}catch(f){return Log[w(0xc0)](f),{};}}async[a110s(0xa8)]({keyName:a,env:b}){const x=a110s,c=this[x(0xdd)]['getConfigPath'](b),d=a110f[x(0xde)](c,x(0xe3),a+x(0xea));try{const f={'KeyName':a},g=new CreateKeyPairCommand(f),h=await client[x(0xf3)](g),i=h[x(0xcb)];if(i){await this[x(0xdd)][x(0xfb)]({'filePath':d,'data':i}),execSync(x(0xc6)+d,{'stdio':'ignore'});const j=this[x(0xdd)]['isFile'](d);if(j)return Log[x(0xbb)](x(0xd9)+d),{'keyName':a,'filePath':d};else throw new Error(x(0xa0));}else throw new Error(x(0xcf));}catch(k){Log[x(0xc0)](k),process[x(0xad)](0x1);}}async[a110s(0xee)]({port:a,groupId:b}){const y=a110s,c={'GroupId':b,'IpPermissions':[{'FromPort':a,'IpProtocol':y(0xc1),'IpRanges':[{'CidrIp':'0.0.0.0/0','Description':''}],'ToPort':a}]},d=new AuthorizeSecurityGroupIngressCommand(c);return Log[y(0xf6)](y(0xe8)+a+'\x20opened!'),await client[y(0xf3)](d);}async[a110s(0x105)](a){const z=a110s;try{a[z(0xdb)]===''&&(a['description']=await Actions[z(0x9d)]('Description:')||z(0xef));const b={'Description':a[z(0xdb)],'GroupName':a['name'],'VpcId':a[z(0xe9)]},c=new CreateSecurityGroupCommand(b),d=await client[z(0xf3)](c),{GroupId:f}=d;if(!d)throw new Error(z(0xc8));f&&a[z(0xa4)][z(0x102)](g=>{this['ingressRule']({'port':parseInt(g),'groupId':f});}),Log[z(0xbb)](z(0x9e)+f+'\x20NAME:\x20'+a['name']);}catch(g){return Log['error'](g),![];}return!![];}async[a110s(0x9b)](a){const A=a110s,b=[];try{const c={},d=new DescribeKeyPairsCommand(c),f=await client[A(0xf3)](d);if(!f)throw A(0xc8);const {KeyPairs:g}=f;g?(g?.['forEach']((h,i)=>{const B=A;h[B(0xab)]&&b[B(0x98)]({'id':i,'name':h[B(0xab)]});}),b[A(0xec)]>0x0&&b['forEach'](h=>{const C=A;h[C(0xa3)]===a?.[C(0xa5)]?Log['success'](C(0xe0)+h['id']+C(0x106)+h[C(0xa3)]):Log['notice']('ID:\x20'+h['id']+C(0x106)+h[C(0xa3)]);})):Log[A(0xc0)]('You\x20have\x20no\x20key-pairs,\x20please\x20create\x20one.\x20(maka\x20aws\x20create-key-pair\x20--env).');}catch(h){Log[A(0xc0)](h);}return b;}async[a110s(0xc9)](a){const D=a110s;try{const b={'KeyName':a},c=new DeleteKeyPairCommand(b);await client['send'](c);}catch(d){Log[D(0xc0)](d),process[D(0xad)](0x1);}}async[a110s(0xcd)](){const E=a110s,a=[];try{const b={'Filters':[{'Name':E(0xd3),'Values':[E(0xdc)]}]},c=new DescribeInstancesCommand(b),d=await client[E(0xf3)](c);d['Reservations']?.['forEach']((f,g)=>{const F=E;if(f?.[F(0xbe)]){const {InstanceId:h,PublicIpAddress:i,PrivateIpAddress:j,State:k,KeyName:l,Tags:m}=f[F(0xbe)][0x0],n=m?.[F(0xd0)](({Key:o})=>o==='environment');a[F(0x98)]({'id':g,'instanceId':h,'privateIp':j,'publicIp':i,'status':k?.[F(0xb8)],'name':l,'env':n?.[F(0xc7)]});}}),a['length']>0x0?a[E(0x102)](f=>{const G=E,g=G(0xe0)+f['id']+'\x20NAME:\x20'+f[G(0xa3)]+G(0x101)+f['env']+'\x20STATUS:\x20'+f[G(0xb3)]+G(0xe6)+f[G(0x107)]+'\x20PUB_IP:\x20'+f[G(0xc4)]+G(0xac)+f[G(0x9a)];if(f[G(0xb3)]===G(0xb9))Log[G(0xc0)](g);else f['status']===G(0xed)?Log['success'](g):Log[G(0xf6)](g);}):Log[E(0xc0)](E(0xc3));}catch(f){Log[E(0xc0)](f);}return a;}async[a110s(0xb2)](a){const H=a110s;try{const b={'InstanceIds':[a[H(0x107)]]},c=new RebootInstancesCommand(b),d=await client['send'](c);return d[H(0xff)][H(0x104)]===0xc8&&Log[H(0xbb)](H(0xa7)),d;}catch(f){Log[H(0xc0)](f);}}async[a110s(0xb5)](){const I=a110s;let a='';Log[I(0xf6)]('**\x20Available\x20\x20VPCs\x20**');const b=new DescribeVpcsCommand({}),c=await client[I(0xf3)](b),{Vpcs:d}=c,e=[];d&&d[I(0x102)]((g,h)=>{const J=I;g[J(0xeb)]&&g['CidrBlock']&&e[J(0x98)]({'id':h,'vpcId':g[J(0xeb)],'cidr':g[J(0xc2)]});});e[I(0x102)](function(g){const K=I;console[K(0xe7)]('ID:\x20'+g['id']+K(0xfa)+g[K(0xe9)]+K(0x108)+g[K(0xce)]);});const f=await Actions[I(0x9d)](I(0xe4))||0x0;e[I(0x102)](function(g){const L=I;g['id']==f&&(a=g[L(0xe9)],Log[L(0xbb)](L(0xd5)+a+'\x0a'));});if(a==='')return Log[I(0xc0)](I(0xfc)),'';return a;}async[a110s(0xaf)](){const M=a110s,a=await this['ec2describeInstances']();if(a[M(0xec)]===0x0)return Log[M(0xc0)](M(0x97)),null;const b=await Actions[M(0x9d)](M(0xe1));!b&&(Log['error'](M(0xe5)),process[M(0xad)](0x0));const c=a[M(0xd0)](({id:d})=>{return d==parseInt(b);})||null;return c;}async[a110s(0xa2)]({env:a}){const N=a110s,b=this[N(0xdd)][N(0xbf)](),{appName:c}=b,d=c+'-'+a,f=await Actions[N(0x9d)](N(0xf1)+d+']\x20')||d,{filePath:g}=await this['createKeyPairEC2Key']({'keyName':f,'env':a});try{const h=await Actions[N(0xe2)](N(0xaa),!![]);if(h)try{const i=a110e[N(0xd6)](a110f[N(0xde)](N(0xfe),a,N(0xa1)),N(0xb4)),j=JSON[N(0xae)](i);j[N(0xd8)]=a110f['join'](N(0xe3),f+N(0xea)),a110e[N(0xca)](a110f['join'](N(0xfe),a,'ssh.json'),JSON['stringify'](j,null,0x2));}catch(k){Log['error'](k),Log['error']('You\x20will\x20need\x20to\x20update\x20the\x20ssh.json\x20file\x20yourself.');}}catch(l){Log[N(0xc0)](l),process[N(0xad)](0x1);}return{'keyName':f,'filePath':g};}async['getSecurityGroups'](a){const O=a110s,b=[],c={},d=new DescribeSecurityGroupsCommand(c),e=await client[O(0xf3)](d),{SecurityGroups:f}=e;f&&f[O(0x102)](function(i,j){const P=O;i[P(0xd7)]&&i[P(0xf4)]&&b[P(0x98)]({'id':j,'name':i[P(0xd7)],'sgId':i[P(0xf4)]});});let g='',h=0x0;return b['forEach'](function(i){const Q=O;i[Q(0xa3)]===a&&(g=i['sgId'],h=i['id']);}),{'sgList':b,'createdSgId':g,'listIndexId':h};}async[a110s(0xf9)](a){try{const b={'GroupId':a},c=new DeleteSecurityGroupCommand(b);await client['send'](c);}catch(d){Log['error'](d),process['exit'](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a111d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a111c(){var h=['toString','3486XPitKg','3381064NMGaPO','5959557BcTxZe','(((.+)+)+)+$','search','2972vLGRkm','2314524hPMuqF','3456524nlWqem','99lzOliv','constructor','158WplSZe','14JnTmQv','2460foepiG','820730YAxNWV'];a111c=function(){return h;};return a111c();}function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0x1d6;var f=c[d];return f;},a111d(a,b);}(function(a,b){var f=a111d,c=a();while(!![]){try{var d=parseInt(f(0x1e3))/0x1*(parseInt(f(0x1d9))/0x2)+parseInt(f(0x1e4))/0x3+parseInt(f(0x1d6))/0x4+-parseInt(f(0x1db))/0x5*(parseInt(f(0x1de))/0x6)+parseInt(f(0x1da))/0x7*(-parseInt(f(0x1df))/0x8)+parseInt(f(0x1e0))/0x9+parseInt(f(0x1dc))/0xa*(-parseInt(f(0x1d7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0xa1d29));var a111b=(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;};}()),a111a=a111b(this,function(){var g=a111d;return a111a[g(0x1dd)]()['search'](g(0x1e1))[g(0x1dd)]()[g(0x1d8)](a111a)[g(0x1e2)]('(((.+)+)+)+$');});a111a();export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a112m=a112d;(function(a,b){const j=a112d,c=a();while(!![]){try{const d=-parseInt(j(0x145))/0x1*(-parseInt(j(0x143))/0x2)+parseInt(j(0x141))/0x3+-parseInt(j(0x154))/0x4+parseInt(j(0x147))/0x5*(parseInt(j(0x140))/0x6)+-parseInt(j(0x14a))/0x7+-parseInt(j(0x155))/0x8+parseInt(j(0x142))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x5dc1c));function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x13f;let f=c[d];return f;},a112d(a,b);}const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a112d;if(c){const e=c[k(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const l=a112d;return a112a[l(0x14c)]()['search'](l(0x153))[l(0x14c)]()['constructor'](a112a)[l(0x144)](l(0x153));});a112a();function a112c(){const q=['login','--password-stdin','(((.+)+)+)+$','1445384jGVWzz','5694648WXucFn','join','--username','error','486xSgXMB','2269851xhqKXD','4201614SPoTGK','16278vakGkO','search','3TQgFUP','awsLogin','24345yDmYiB','docker\x20','inherit','1295448saoDbq','tag','toString','.dkr.ecr.','.amazonaws.com/','.amazonaws.com','apply'];a112c=function(){return q;};return a112c();}import{execSync}from'child_process';import{Log}from'../log/log.class.js';export class Docker{static[a112m(0x14b)]({imageName:a,awsAccountId:b,region:c,repoName:d}){const n=a112m;try{const f=[n(0x14b),a,b+n(0x14d)+c+n(0x14e)+d],g='docker\x20'+f[n(0x156)]('\x20'),h=execSync(g,{'stdio':n(0x149)})['toString']();return h;}catch(i){return Log[n(0x13f)](i),'';}}static[a112m(0x146)]({awsAccountId:a,region:b}){const o=a112m;try{const c=[o(0x151),o(0x157),'AWS',o(0x152),a+o(0x14d)+b+o(0x14f)],d=o(0x148)+c[o(0x156)]('\x20'),f=execSync(d,{'stdio':'inherit'})['toString']();return f;}catch(g){return Log[o(0x13f)](g),'';}}static['pushImage']({awsAccountId:a,region:b,repoName:c}){const p=a112m;try{const d=['push',a+p(0x14d)+b+'.amazonaws.com/'+c],f='docker\x20'+d[p(0x156)]('\x20'),g=execSync(f,{'stdio':p(0x149)})['toString']();return g;}catch(h){return Log[p(0x13f)](h),'';}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a113d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a113d,c=a();while(!![]){try{var d=-parseInt(f(0xa0))/0x1+parseInt(f(0x9e))/0x2+-parseInt(f(0x9b))/0x3*(parseInt(f(0xa4))/0x4)+-parseInt(f(0x98))/0x5+-parseInt(f(0x9c))/0x6+-parseInt(f(0x99))/0x7+parseInt(f(0x9f))/0x8*(parseInt(f(0x9d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x8e4dd));function a113c(){var i=['651608NsPinb','4370915udAaUW','4051915zkcaHg','search','21OABHXW','4318584spzGTd','9qGqTfS','1249874DwIXao','30383992xzlPGJ','526953mpwtFx','apply','(((.+)+)+)+$','toString'];a113c=function(){return i;};return a113c();}var a113b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a113d;if(c){var e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){var h=a113d;return a113a[h(0xa3)]()['search'](h(0xa2))[h(0xa3)]()['constructor'](a113a)[h(0x9a)](h(0xa2));});function a113d(a,b){var c=a113c();return a113d=function(d,e){d=d-0x98;var f=c[d];return f;},a113d(a,b);}a113a();export{};
|