@maka/maka-cli 4.5.8 → 4.5.9
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/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 a36y=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d
|
|
1
|
+
const a36y=a36d;function a36c(){const A=['5073376asVSyP','start','cert','1613390EJdPdl','update','Password:\x20','Using\x20CA\x20Cert\x20','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','4249pNvwin','True','164865srrMdQ','54GsZGSx','post','/api/v1/login','create','error','Preflight\x20Check','password','maka\x20login','(((.+)+)+)+$','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','MAKA_DEV','233591WtkHLa','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','exit','5542jGtsfP','help','Email:','digest','72008QQWAQS','search','assign','ask','get','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','123fRHTbp','notice','cacert','failure','fsi','localhost','24viSYIi','153JuluFp','debug','parse','www.maka-cli.com','authToken','toHex','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Logging\x20into\x20https://','toString','login','env','sha256','https://','email','constructor'];a36c=function(){return A;};return a36c();}(function(a,b){const w=a36d,c=a();while(!![]){try{const d=-parseInt(w(0x164))/0x1+parseInt(w(0x167))/0x2*(parseInt(w(0x137))/0x3)+parseInt(w(0x13d))/0x4*(-parseInt(w(0x158))/0x5)+parseInt(w(0x159))/0x6*(parseInt(w(0x156))/0x7)+parseInt(w(0x16b))/0x8*(parseInt(w(0x13e))/0x9)+-parseInt(w(0x150))/0xa+parseInt(w(0x14d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x224fb));const a36b=(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;};}()),a36a=a36b(this,function(){const x=a36d;return a36a[x(0x146)]()[x(0x16c)](x(0x161))[x(0x146)]()[x(0x14c)](a36a)[x(0x16c)]('(((.+)+)+)+$');});a36a();import a36e from'node-forge';import{Command}from'../command.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x137;let f=c[d];return f;},a36d(a,b);}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a36y(0x148)][a36y(0x163)]===a36y(0x157)?a36y(0x13c):a36y(0x141);Command[a36y(0x15c)]({'name':a36y(0x147),'validOpts':[a36y(0x14b),a36y(0x15f),a36y(0x168),a36y(0x139),a36y(0x13f)],'usage':a36y(0x160),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36y(0x154),'examples':[a36y(0x160),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const z=a36y,c=Log['withSpinner']();try{let d='';b[z(0x139)]&&(this[z(0x13b)]['isFile'](b['cacert'])?(d=b[z(0x139)],Log[z(0x138)](z(0x153)+d)):Log[z(0x15d)](z(0x165)+d));const f=await this[z(0x13b)]['getGlobalConfig']();if(f[z(0x14f)]){if(this[z(0x13b)]['isFile'](f[z(0x14f)]))d=f[z(0x14f)];else{Log[z(0x15d)](z(0x144)+d);return;}}Log['header'](z(0x145)+hostname);const g={'url':z(0x14a)+hostname+'/api/v1/status'};b['cacert']&&Object[z(0x16d)](g,{'cert':d});c[z(0x14e)](z(0x15e));const {statusCode:h}=await HTTPS[z(0x16f)](g);if(h===0x198){c[z(0x13a)]();throw z(0x170);}if(h!==0xc8){c[z(0x13a)]();throw z(0x14a)+hostname+z(0x155);}c['success']();const i=b['email']?b[z(0x14b)]:await Actions[z(0x16e)](z(0x169)),j=b[z(0x15f)]?b[z(0x15f)]:await Actions[z(0x16e)](z(0x152),!![]),k=a36e['md'][z(0x149)]['create']();k[z(0x151)](j);const l=k[z(0x16a)]()[z(0x143)](),m={'hostname':hostname,'path':z(0x15b),'data':{'email':i,'password':l,'hashed':!![]}};b[z(0x139)]&&Object['assign'](m,{'cert':d});c[z(0x14e)]('Logging\x20in');const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[z(0x13a)]('\x0a');throw z(0x162)+hostname;}const p=JSON[z(0x140)](n);if(p[z(0x142)]){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p[z(0x142)]},'data':{}};b['cacert']&&Object[z(0x16d)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[z(0x15a)](q),{token:t}=JSON[z(0x140)](r);if(s===0x198)throw z(0x162)+hostname;const u={'token':p,'hash':t};this[z(0x13b)]['setGlobalConfig'](u);}else{c['failure']();throw p;}c['success']();}catch(v){c[z(0x13a)](),console[z(0x15d)](v),process[z(0x166)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=parseInt(l(0xbe))/0x1*(-parseInt(l(0xd1))/0x2)+parseInt(l(0xc3))/0x3+parseInt(l(0xd3))/0x4+-parseInt(l(0xc2))/0x5*(-parseInt(l(0xe3))/0x6)+-parseInt(l(0xe5))/0x7*(-parseInt(l(0xe6))/0x8)+-parseInt(l(0xd6))/0x9*(parseInt(l(0xc4))/0xa)+-parseInt(l(0xde))/0xb*(parseInt(l(0xda))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x5a95e));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a[n(0xdb)]()['search'](n(0xcd))[n(0xdb)]()[n(0xca)](a37a)['search'](n(0xcd));});a37a();function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xba;let f=c[d];return f;},a37d(a,b);}import{Command}from'../command.js';function a37c(){const q=['header','5277YfURgI','cacert','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','token','15wOqqWq','269571LTNiLP','20CGRdtT','Logging\x20out','https://','failure','localhost','isFile','constructor','get','Logging\x20out\x20of\x20https://','(((.+)+)+)+$','apply','start','notice','136bybNKe','fsi','1332344wXvvxu','error','www.maka-cli.com','977391LyZbXz','Using\x20CA\x20Cert\x20','cert','assign','1140EkFHJO','toString','/api/v1/status','authToken','19503WOXGMq','exit','/api/v1/logoutAll','env','setGlobalConfig','1329792veTkDQ','logout','14MhTQwY','110672aJILmB','Preflight\x20Check','withSpinner','success','post','True'];a37c=function(){return q;};return a37c();}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37o(0xe1)]['MAKA_DEV']===a37o(0xbc)?a37o(0xc8):a37o(0xd5);Command['create']({'name':a37o(0xe4),'validOpts':[a37o(0xbf)],'usage':'maka\x20logout','maxArgLength':0x2,'shortDesc':a37o(0xc0),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a37o,c=Log[p(0xe8)]();try{let d='';b[p(0xbf)]&&(this[p(0xd2)][p(0xc9)](b['cacert'])?(d=b[p(0xbf)],Log[p(0xd0)](p(0xd7)+d)):Log[p(0xd4)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this['fsi']['getGlobalConfig']();if(f[p(0xd8)]){if(this[p(0xd2)][p(0xc9)](f[p(0xd8)]))d=f[p(0xd8)];else{c[p(0xc7)]();throw Log[p(0xd4)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log[p(0xbd)](p(0xcc)+hostname);const g={'url':p(0xc6)+hostname+p(0xdc)};b[p(0xbf)]&&Object[p(0xd9)](g,{'cert':d});c[p(0xcf)](p(0xe7));const {statusCode:h}=await HTTPS[p(0xcb)](g);if(h===0x198){c[p(0xc7)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0xba)]();if(h!==0xc8){c[p(0xc7)]();throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}if(!f?.[p(0xc1)]?.['authToken'])throw Log['error']('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');c[p(0xcf)](p(0xc5));const i={'hostname':hostname,'path':p(0xe0),'data':{},'headers':{'x-auth-token':f['token'][p(0xdd)]}};b[p(0xbf)]&&Object[p(0xd9)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0xbb)](i);if(j===0x198){c[p(0xc7)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[p(0xd2)][p(0xe2)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0xba)]();}catch(k){k&&console['error'](k),process[p(0xdf)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d
|
|
1
|
+
const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x7b))/0x1+-parseInt(h(0x81))/0x2+parseInt(h(0x7a))/0x3+parseInt(h(0x82))/0x4*(-parseInt(h(0x72))/0x5)+parseInt(h(0x7c))/0x6*(-parseInt(h(0x69))/0x7)+-parseInt(h(0x79))/0x8*(-parseInt(h(0x7e))/0x9)+parseInt(h(0x6f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x38fe7));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x67;let f=c[d];return f;},a38d(a,b);}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x78)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x70)]()['search']('(((.+)+)+)+$')[j(0x70)]()['constructor'](a38a)['search'](j(0x7d));});a38a();import a38e from'fs';import a38f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':'logs','aliases':['l','log'],'usage':a38k(0x80),'requiredOpts':[a38k(0x6a)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38k(0x6d),'examples':[a38k(0x73),a38k(0x76),a38k(0x71)]},function(a,b){const l=a38k,c=l(0x7f),d=this[l(0x6b)][l(0x74)](b['env']),e=a38f[l(0x67)](d,l(0x6c)),f=a38e[l(0x77)](e),g=JSON[l(0x6e)](f[l(0x70)]());Object[l(0x68)](g,{'env':d}),SSH[l(0x75)](c,g,{'tty':!![],'verbose':!![]});});function a38c(){const m=['1418960qCqrup','join','assign','13545MxwOhu','env','fsi','ssh.json','View\x20the\x20PM2\x20logs','parse','3890560dMxOkp','toString','maka\x20l\x20-e\x20p','5CxVsOJ','maka\x20logs\x20--env\x20dev','getConfigPath','sshSync','maka\x20logs\x20--env\x20staging','readFileSync','apply','632LwpXzg','1326963EzhoVM','271548RTNHHt','18zjvHFE','(((.+)+)+)+$','27567RuTBab','pm2\x20logs','maka\x20logs','415628ghTHkT'];a38c=function(){return m;};return a38c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a39j=a39d;function a39c(){const l=['700hAiZjB','maka\x20run','25183092bFjTLm','maka\x20<command>\x20[<args>]\x20[<opts>]','48264hDnlSK','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20::\x20\x20\x20\x20.\x20.-\x20\x20\x20\x20.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20::\x20\x20\x20.-\x20:-\x20\x20\x20.-:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20..\x20\x20\x20.:\x20.:\x20\x20\x20\x20:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20..-:::..-::-:.\x20.-:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20::\x20\x20\x20.-::-\x20\x20\x20.-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.:.\x20\x20\x20..\x20\x20\x20.:\x20.:\x20\x20\x20\x20:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20::::..-:::\x20\x20\x20\x20:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20.::\x20\x20\x20.-..-..\x20\x20:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20:::::..::::\x20\x20\x20\x20:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20::::..-..-\x20\x20\x20.-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20::\x20...:::-\x20\x20\x20.-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20.::::::.:::::..\x20-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20::\x20\x20\x20.-\x20.:\x20\x20\x20.-:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20::....-..-\x20\x20\x20.-:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20..\x20\x20\x20\x20::::\x20\x20\x20\x20:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20::\x20\x20\x20.-.:--.\x20.-:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20.::..\x20.:.::\x20\x20\x20.-:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20.:\x20\x20\x20\x20\x20\x20\x20:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20..\x0a\x0a\x20\x20','4583490jwbZJw','apply','maybeProxyCommandToMeteor','316560lGrIEA','fsi','maka\x20install\x20meteor','slice','search','toString','runSubCommand','8905865CEZBHU','119970FIEnZQ','135BkhXbk','constructor','(((.+)+)+)+$','2TtIzDr','maka','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','error','findSubCommand','4poFMxO','868470yEUmPV','maka\x20create\x20Todo'];a39c=function(){return l;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x20a))/0x1*(-parseInt(g(0x1f3))/0x2)+parseInt(g(0x1fb))/0x3*(parseInt(g(0x1f2))/0x4)+parseInt(g(0x205))/0x5+-parseInt(g(0x1f9))/0x6*(parseInt(g(0x1f5))/0x7)+parseInt(g(0x1fe))/0x8+-parseInt(g(0x207))/0x9*(parseInt(g(0x206))/0xa)+-parseInt(g(0x1f7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xe64d4));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1fc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x203)]()[i(0x202)](i(0x209))[i(0x203)]()[i(0x208)](a39a)[i(0x202)](i(0x209));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'../command.js';const Maka=new Command({'name':a39j(0x1ee),'minArgLength':0x1,'shortDesc':a39j(0x1ef),'validOpts':[],'usage':a39j(0x1f8),'disableAuthCheck':!![],'examples':['maka\x20--help',a39j(0x200),a39j(0x1f4),a39j(0x1f6)],'description':a39j(0x1fa)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this[k(0x1f1)](c);d?this[k(0x204)](c,a[k(0x201)](0x1),b):this[k(0x1ff)][k(0x1fd)]();}catch(f){console[k(0x1f0)](f),process['exit'](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a40c(){var k=['
|
|
1
|
+
function a40c(){var k=['3318meHGxA','3819390NqGPGp','murder','796464tVwmBR','454226AcEFNa','toString','24HQDicW','194660fdQKkZ','220GkOAGL','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','error','log','apply','11RXWuPb','4943076utqyod','(((.+)+)+)+$','25626nEMnPw','1407PjbWDd','search','3SiAIga','constructor'];a40c=function(){return k;};return a40c();}var a40i=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=-parseInt(f(0x1ee))/0x1*(-parseInt(f(0x1f4))/0x2)+parseInt(f(0x1eb))/0x3*(-parseInt(f(0x1e3))/0x4)+-parseInt(f(0x1f7))/0x5+-parseInt(f(0x1f0))/0x6*(parseInt(f(0x1ec))/0x7)+parseInt(f(0x1f6))/0x8*(parseInt(f(0x1f3))/0x9)+-parseInt(f(0x1f1))/0xa+parseInt(f(0x1e8))/0xb*(parseInt(f(0x1e9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x57234));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x1e7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0x1f5)]()[h(0x1ed)](h(0x1ea))[h(0x1f5)]()[h(0x1ef)](a40a)[h(0x1ed)]('(((.+)+)+)+$');});a40a();function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x1e3;var f=c[d];return f;},a40d(a,b);}import{Command}from'../command.js';Command['create']({'name':a40i(0x1f2),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a40i;try{console[j(0x1e6)](j(0x1e4),'font-family:\x20monospace');}catch(a){console[j(0x1e5)](a),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(
|
|
1
|
+
const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(0x9e))/0x1+-parseInt(n(0x9f))/0x2+-parseInt(n(0xb2))/0x3+parseInt(n(0xad))/0x4*(-parseInt(n(0xa6))/0x5)+parseInt(n(0x9a))/0x6*(-parseInt(n(0xbe))/0x7)+parseInt(n(0xb4))/0x8*(parseInt(n(0xb6))/0x9)+-parseInt(n(0xaf))/0xa*(-parseInt(n(0xae))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x7d1dc));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0xa9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a[p(0xa4)]()['search'](p(0x9d))[p(0xa4)]()[p(0xab)](a41a)[p(0xac)]('(((.+)+)+)+$');});a41a();import a41e from'fs';import a41f from'path';import a41g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x94;let f=c[d];return f;},a41d(a,b);}function a41c(){const s=['targetHost','help','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','targetPort','toString','readFileSync','5ErvQIl','.crt','fsi','apply','genSSC','constructor','search','1594616inXmYs','7843sqewls','26330YuKwJG','create','getConfigPath','2717898JxXMJr','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','737032TJUaxD','sslconfig','9BGDkzW','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','.key','utf8','appName','bright','listenPort','6433nDeQfx','=>\x20SSL\x20Proxy\x20forwarding\x20','proxy','createProxyServer','listen','join','maka\x20proxy','4098wbHnQB','getProjectConfig','isFile','(((.+)+)+)+$','957658rmwvXs','964686mpHqgh'];a41c=function(){return s;};return a41c();}import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';Command[a41q(0xb0)]({'name':a41q(0x95),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a41q(0xa1),a41q(0xa3),a41q(0xbd),a41q(0xa0)],'maxArgLength':0x1,'shortDesc':a41q(0xb8),'description':a41q(0xb3),'examples':[a41q(0x99),a41q(0xa2),'maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a41q,c=this[r(0xa8)][r(0x9b)](),d='development',e=this[r(0xa8)][r(0xb1)](d),f=this['fsi']['mkKeysDir']({'configPath':e}),g=b[r(0xa3)]?b[r(0xa3)]:0xbb8,h=b[r(0xbd)]?b['listenPort']:0xd73,i=b['targetHost']?b[r(0xa0)]:'localhost',j=a41f[r(0x98)](f,c[r(0xbb)]+r(0xb9)),k=a41f[r(0x98)](f,c[r(0xbb)]+r(0xa7));if(!this[r(0xa8)][r(0x9c)](j)||!this[r(0xa8)][r(0x9c)](k)){const m=a41h['findGenerator']('sslconfig');m&&await m['invoke']([r(0xb5)],{'env':d}),SSL['genCSR']({'keyName':c[r(0xbb)]+'.key','csrName':c[r(0xbb)]+'.csr','cwd':f}),SSL[r(0xaa)]({'keyName':c[r(0xbb)]+r(0xb9),'crtName':c[r(0xbb)]+r(0xa7),'cwd':f});}if(g===h){Log['error'](r(0xb7));throw new UsageError();}const l={'ssl':{'key':a41e[r(0xa5)](j,'utf8'),'cert':a41e[r(0xa5)](k,r(0xba))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0x96)](l)[r(0x97)](h),Log[r(0xbc)](r(0x94)+h+'\x20to\x20'+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=parseInt(n(0x1e7))/0x1*(-parseInt(n(0x1d5))/0x2)+parseInt(n(0x1db))/0x3*(-parseInt(n(0x1da))/0x4)+-parseInt(n(0x1df))/0x5*(parseInt(n(0x1cf))/0x6)+parseInt(n(0x1e5))/0x7*(-parseInt(n(0x1e2))/0x8)+parseInt(n(0x1dc))/0x9+-parseInt(n(0x1e3))/0xa+-parseInt(n(0x1d7))/0xb*(-parseInt(n(0x1d0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x655af));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a[p(0x1cd)]()[p(0x1d3)]('(((.+)+)+)+$')[p(0x1cd)]()[p(0x1d9)](a42a)[p(0x1d3)](p(0x1c7));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a42d(a,b);}function a42c(){const s=['_keys','parse','5840DSiztQ','5142890twhiBJ','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','4263FHsqCJ','~/pm2.config.js','534059PfQisY','ssh','create','join','env','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','maka\x20reconfig\x20--env\x20prod','~/ses.json','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','ping','(((.+)+)+)+$','exit','fsi','Remote\x20host\x20connection\x20successful','success','ssh.json','toString','settings.json','54ZCcnZX','48fcKHmW','pm2\x20delete\x20all','scp','search','existsSync','2hOiRXr','apply','6606941dJMdTd','error','constructor','841864uMIIdo','9GYlqwy','6818490uEonuS','Reconfigure\x20your\x20deployed\x20applications','pm2.config.js','344815ABSOOQ'];a42c=function(){return s;};return a42c();}a42a();import a42e from'fs';import a42f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a42q(0x1e9)]({'name':'reconfig','validOpts':[''],'requiredOpts':[a42q(0x1eb)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','shortDesc':a42q(0x1dd),'description':a42q(0x1e4),'examples':[a42q(0x1ed)]},async function(a,b){const r=a42q;try{const c=this[r(0x1c9)]['getConfigPath'](b[r(0x1eb)]),d=a42f[r(0x1ea)](c,r(0x1cc)),f=a42e['readFileSync'](d)[r(0x1cd)](),g=JSON[r(0x1e1)](f);Object['assign'](g,{'env':c}),Log['notice']('Checking\x20remote\x20host\x20availability');const h=SSH[r(0x1f0)]('uname\x20-a',g);if(!h)throw r(0x1ec);if(h)Log[r(0x1cb)](r(0x1ca));const i=a42f[r(0x1ea)](c,r(0x1e0),'ses.json');if(a42e[r(0x1d4)](i)){const l={'source':i,'dest':r(0x1ee),'verbose':!![]};SSH['scp'](l,{...g});}const j=a42f[r(0x1ea)](c,r(0x1de));SSH[r(0x1d2)]({'source':j,'dest':r(0x1e6),'verbose':!![]},{...g});const k=a42f[r(0x1ea)](c,r(0x1ce));SSH[r(0x1d2)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH['sshSync'](r(0x1d1),g),await SSH[r(0x1e8)](r(0x1ef),{...g},{'verbose':!![]});}catch(m){console[r(0x1d8)](m),process[r(0x1c8)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a43d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x13b))/0x1*(-parseInt(f(0x139))/0x2)+-parseInt(f(0x12e))/0x3+parseInt(f(0x134))/0x4*(parseInt(f(0x13d))/0x5)+parseInt(f(0x138))/0x6*(parseInt(f(0x13a))/0x7)+-parseInt(f(0x13c))/0x8*(-parseInt(f(0x12f))/0x9)+-parseInt(f(0x135))/0xa+parseInt(f(0x133))/0xb*(-parseInt(f(0x137))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xbe087));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x13e)]()[h(0x130)](h(0x136))['toString']()[h(0x131)](a43a)[h(0x130)](h(0x136));});a43a();import'./run.command.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x12e;var f=c[d];return f;},a43d(a,b);}function a43c(){var i=['160LwaiyK','4527755MmGDmk','toString','807111vgvFdt','601110ppwArJ','search','constructor','apply','6379439MUtAZB','4ONdCtm','14262080Gmllmd','(((.+)+)+)+$','12YRJYhK','5316tulceL','6UEEejT','7798TiDZEE','58262TSIKzj'];a43c=function(){return i;};return a43c();}import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a44l=a44d;
|
|
1
|
+
const a44l=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=-parseInt(i(0x1dd))/0x1*(parseInt(i(0x1f2))/0x2)+-parseInt(i(0x1e2))/0x3*(parseInt(i(0x1f9))/0x4)+parseInt(i(0x1f6))/0x5*(parseInt(i(0x1f4))/0x6)+parseInt(i(0x1e8))/0x7+-parseInt(i(0x1db))/0x8+parseInt(i(0x1ef))/0x9+parseInt(i(0x1f5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x1f4c1));function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1d8;let f=c[d];return f;},a44d(a,b);}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a[k(0x1f7)]()['search']('(((.+)+)+)+$')[k(0x1f7)]()[k(0x1ec)](a44a)[k(0x1f1)](k(0x1d9));});a44a();import a44e from'./run.command.js';import{execSync}from'child_process';import a44f from'path';import a44g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';function a44c(){const n=['Run\x20your\x20application\x20in\x20a\x20Docker\x20container','(((.+)+)+)+$','maka\x20run\x20docker','1100784fJYYqH','config/docker-compose.yaml','70411jhjOMV','existsSync','appName','getProjectConfig','docker','3tCwZkM','inherit','pm2.config.js','join','apply','templateContent','773339pWqZUm','Docker\x20Compose\x20Path:\x20','docker-compose.yaml','getConfigPath','constructor','docker-compose\x20--project-directory\x20','\x20up\x20--remove-orphans','1415133MkOUnP','fsi','search','2qvRiSV','notice','63894tCqqDr','1072250PnHnOA','40SmEkld','toString','exit','495716CzLagq'];a44c=function(){return n;};return a44c();}import{paramCase}from'change-case';Command['create']({'name':a44l(0x1e1),'aliases':['d'],'shortDesc':a44l(0x1d8),'description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':a44l(0x1da),'validOpts':['']},async function(){const m=a44l;try{const a=this['fsi'][m(0x1e0)](),b=this[m(0x1f0)][m(0x1eb)](m(0x1e1)),c=a44f[m(0x1e5)](b,m(0x1ea)),d=a44f['join'](b,m(0x1e4));Log[m(0x1f3)]('PM2\x20Config\x20File:\x20'+d),Log['notice'](m(0x1e9)+c);if(!a44g[m(0x1de)](c)){const f={'app':a[m(0x1df)],'appFileCase':paramCase(a[m(0x1df)])},g=this[m(0x1f0)][m(0x1e7)]({'srcPath':m(0x1dc),'context':f})+'\x0a';this['fsi']['createFile']({'filePath':c,'data':g});}execSync(m(0x1ed)+b+m(0x1ee),{'stdio':m(0x1e3)});}catch(h){process[m(0x1f8)](0x1);}},a44e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a45d(a,b);}const a45u=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0x1dc))/0x1+parseInt(q(0x1e5))/0x2+-parseInt(q(0x1ed))/0x3*(-parseInt(q(0x1c9))/0x4)+parseInt(q(0x1e0))/0x5*(-parseInt(q(0x1dd))/0x6)+-parseInt(q(0x1ec))/0x7+-parseInt(q(0x1ee))/0x8+-parseInt(q(0x1e9))/0x9*(-parseInt(q(0x1d8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xc903a));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a[s(0x1d7)]()[s(0x1c4)](s(0x1cd))['toString']()[s(0x1fb)](a45a)[s(0x1c4)](s(0x1cd));});a45a();import a45e from'path';import a45f from'fs';import a45g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a45d;a45f[t(0x1e7)](a,'r'),a45g[t(0x1ef)]({'path':a});},Run=Command['create']({'name':a45u(0x1e6),'mustBeInMakaProject':!![],'shortDesc':a45u(0x1ce),'description':a45u(0x1d4),'validOpts':[a45u(0x1f6),a45u(0x1c5),'r',a45u(0x1d5),'p','port','i','inspect','m',a45u(0x1c1),'v',a45u(0x1cc),'allowIncompatibleUpdate','extraPackages','x','exclude-archs',a45u(0x1df)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this['findSubCommand'](c);d&&this[v(0x1ca)](c,a,b);if(c===v(0x1d6)){const m=this['fsi'][v(0x1fa)](),n=a45e['join'](m,'app','.meteor',v(0x1f0),v(0x1c6));this[v(0x1f5)][v(0x1da)](n)&&await rimraf(n);}if(b[v(0x1e1)]&&b[v(0x1e1)]===!![]||b['m']&&b['m']===!![])throw v(0x1de);await this[v(0x1f5)][v(0x1cf)]();const f=b[v(0x1f6)]?b[v(0x1f6)]:v(0x1e2),g=this[v(0x1f5)]['getConfigPath'](f),h=a45e['join'](g,v(0x1f4));let i=a45e[v(0x1f9)](g,'settings.json');b[v(0x1e3)]?i=b[v(0x1e3)]:i=a45e['join'](g,v(0x1d9));if(this[v(0x1f5)][v(0x1d3)](h)&&!b[v(0x1c5)])Log[v(0x1d2)](v(0x1c3)+h),syncSource(h);else!b[v(0x1c5)]&&Log[v(0x1d0)](v(0x1f8)+h);this[v(0x1f5)][v(0x1d3)](i)?(Log[v(0x1d2)](v(0x1f2)+i),a=a['concat']([v(0x1c8),i])):Log[v(0x1d0)](v(0x1f1)+i);const j=g[v(0x1c7)](a45e[v(0x1db)]),k=j[j[v(0x1f7)]-0x1];k===v(0x1df)&&a[v(0x1fc)]('--production');const l=process[v(0x1e4)]['slice'](0x2)[v(0x1eb)](o=>o!==v(0x1e6))[v(0x1eb)](o=>o!==a[0x0]);l[v(0x1d1)]((o,p)=>{const w=v;o===w(0x1c2)&&l['splice'](p,0x2),o==='-e'&&l[w(0x1e8)](p,0x2);}),this['fsi']['invokeMeteorCommand']('run',a['concat'](l));}catch(o){console[v(0x1ea)](o),process[v(0x1f3)](0x1);}});export default Run;function a45c(){const x=['local','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Meteor\x20Settings:\x20','exit','process.env','fsi','env','length','Cannot\x20find\x20Node\x20Environment\x20File:\x20','join','findProjectDirectory','constructor','push','mobileServer','--env','Node\x20Env\x20Config:\x20','search','docker','cordova-build','split','--settings','636Qmhksl','runSubCommand','apply','verbose','(((.+)+)+)+$','Run\x20your\x20Meteor\x20application','compareMakaToLatest','warn','forEach','notice','isFile','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','rawLogs','ios','toString','50URoDsp','settings.json','isDirectory','sep','108451UXAnMz','6524574AryCfD','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','production','5eEtFVa','mobile-server','development','settings','argv','1200786HcUwdX','run','openSync','splice','5791572IghTiy','error','filter','2832592RqPwvj','324hFJkuu','11289720VZUCBe','config'];a45c=function(){return x;};return a45c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a46c(){var i=['3509726KOumww','apply','2290TqEZWC','1661630TCMFOn','381576jcpWSp','1408RneYVL','toString','22098wqJFIa','11486ciJuGm','34WVBMUQ','7tTmDbS','800336rRmSsj','9iqRjpn','(((.+)+)+)+$','search'];a46c=function(){return i;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x175))/0x1*(parseInt(f(0x176))/0x2)+parseInt(f(0x171))/0x3+parseInt(f(0x172))/0x4*(parseInt(f(0x16f))/0x5)+-parseInt(f(0x174))/0x6*(-parseInt(f(0x177))/0x7)+parseInt(f(0x178))/0x8+-parseInt(f(0x16a))/0x9*(parseInt(f(0x170))/0xa)+-parseInt(f(0x16d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x18f16));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x16e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x173)]()[h(0x16c)](h(0x16b))[h(0x173)]()['constructor'](a46a)[h(0x16c)](h(0x16b));});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x16a;var f=c[d];return f;},a46d(a,b);}a46a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a47k=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d
|
|
1
|
+
function a47c(){const m=['450KoAJaJ','fsi','4740suyIGL','Set\x20allowInsecure:\x20','1971830EQAfPD','Set\x20CA\x20Cert\x20Path:\x20','4svTAEd','toString','search','802746qoeopu','workspace','Set\x20workspace:\x20','(((.+)+)+)+$','create','exit','Could\x20not\x20find\x20directory','isFile','boolean','allowInsecure','error','apply','constructor','1eZPCli','cacert','One\x20or\x20the\x20other\x20buddy','maka\x20set:gc\x20--insecure\x20<path>','success','85545tFmXNP','maka\x20set:global-config\x20--cacert\x20<path>','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','setGlobalConfig','resolve','isDirectory','3726316YKjBsB','disallowInsecure','16GGYqqK','64498ILDVBq','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','65428BrfvYx'];a47c=function(){return m;};return a47c();}const a47k=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=parseInt(h(0x137))/0x1*(parseInt(h(0x147))/0x2)+-parseInt(h(0x13c))/0x3+-parseInt(h(0x14e))/0x4*(-parseInt(h(0x14c))/0x5)+parseInt(h(0x151))/0x6+parseInt(h(0x145))/0x7*(-parseInt(h(0x144))/0x8)+parseInt(h(0x148))/0x9*(parseInt(h(0x14a))/0xa)+-parseInt(h(0x142))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x308d8));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a['toString']()[j(0x150)]('(((.+)+)+)+$')[j(0x14f)]()[j(0x136)](a47a)[j(0x150)](j(0x154));});a47a();import a47e from'path';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x130;let f=c[d];return f;},a47d(a,b);}import a47f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a47k(0x155)]({'name':'global-config','usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47k(0x138),a47k(0x133),a47k(0x143),a47k(0x152),'help'],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a47k(0x146),'examples':[a47k(0x13d),a47k(0x13a),'maka\x20set:gc\x20--workspace\x20<path>']},async function(a,b){const l=a47k;try{if(b[l(0x138)]){if(this[l(0x149)][l(0x131)](b[l(0x138)]))this[l(0x149)][l(0x13f)]({'cert':b[l(0x138)]}),Log['success'](l(0x14d)+b[l(0x138)]);else{const c=typeof b[l(0x138)]===l(0x132)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':l(0x13e)+b[l(0x138)];throw Log[l(0x134)](c);}}if(b['workspace']){const d=this[l(0x149)][l(0x141)](b[l(0x152)]);if(d)this[l(0x149)]['setGlobalConfig']({'workspace':a47e[l(0x140)](b[l(0x152)])}),Log[l(0x13b)](l(0x153)+a47e[l(0x140)](b[l(0x152)]));else throw Log[l(0x134)](l(0x130));}if(b[l(0x133)]){if(b[l(0x133)]&&b[l(0x143)])throw Log[l(0x134)](l(0x139));let f=b[l(0x133)];b[l(0x143)]&&(f=![]),this['fsi'][l(0x13f)]({'allowInsecure':f}),Log[l(0x13b)](l(0x14b)+f);}}catch(g){console[l(0x134)](g),process[l(0x156)](0x0);}},a47f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a48h=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0x1cd))/0x1+parseInt(f(0x1d0))/0x2+parseInt(f(0x1cb))/0x3*(parseInt(f(0x1d2))/0x4)+-parseInt(f(0x1d4))/0x5+parseInt(f(0x1d3))/0x6*(parseInt(f(0x1d7))/0x7)+parseInt(f(0x1ca))/0x8+parseInt(f(0x1cc))/0x9*(-parseInt(f(0x1cf))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x18e26));var a48b=(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;};}()),a48a=a48b(this,function(){var g=a48d;return a48a[g(0x1da)]()[g(0x1d6)](g(0x1d5))[g(0x1da)]()['constructor'](a48a)[g(0x1d6)](g(0x1d5));});a48a();function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x1c9;var f=c[d];return f;},a48d(a,b);}import a48e from'./set.command.js';import{Command}from'../../command.js';function a48c(){var j=['local-config','toString','Set\x20local\x20maka\x20app\x20settings','856688USfiuW','3ZVYCTo','117BSlfwx','118711SERfuV','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','51640lvKVFd','195646JujBnt','Sorry,\x20not\x20implemented\x20yet','248564WrhPVY','996924duNpoU','727175EZcnvM','(((.+)+)+)+$','search','7XmGPVy','maka\x20set:local-config\x20<opts>'];a48c=function(){return j;};return a48c();}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a48h(0x1d9),'usage':a48h(0x1d8),'examples':['maka\x20set:lc\x20<opts>',a48h(0x1d8)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48h(0x1c9),'validOpts':[],'description':a48h(0x1ce)},async function(){var i=a48h;Log['notice'](i(0x1d1));},a48e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0xb8))/0x1+-parseInt(f(0xb3))/0x2+-parseInt(f(0xb1))/0x3*(-parseInt(f(0xb7))/0x4)+parseInt(f(0xb9))/0x5+-parseInt(f(0xbe))/0x6*(parseInt(f(0xbb))/0x7)+-parseInt(f(0xaa))/0x8*(-parseInt(f(0xb2))/0x9)+-parseInt(f(0xb6))/0xa*(-parseInt(f(0xae))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x7d797));function a49c(){const k=['help','findSubCommand','6RMmPtZ','209016SixkmU','678936wzQeLh','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','create','450890cluiIq','469548ElNziu','76056AwaZKd','2816360BVnxKW','apply','280WPfjqt','(((.+)+)+)+$','set','28038Kfvxzv','toString','32gAGkwz','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','search','constructor','55qbBgQC'];a49c=function(){return k;};return a49c();}const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a[h(0xa9)]()[h(0xac)](h(0xbc))[h(0xa9)]()[h(0xad)](a49a)['search'](h(0xbc));});function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0xa9;let f=c[d];return f;},a49d(a,b);}a49a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49i(0xb5)]({'name':a49i(0xbd),'usage':'maka\x20set:<sub-command>\x20<opts>','minArgLength':0x1,'shortDesc':a49i(0xab),'description':a49i(0xb4),'validOpts':[]},async function(a,b){const j=a49i,c=a[0x0];if(b[j(0xaf)])throw new UsageError();const d=this[j(0xb0)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a50l=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=parseInt(j(0x94))/0x1*(-parseInt(j(0x9b))/0x2)+-parseInt(j(0xa1))/0x3*(-parseInt(j(0xb4))/0x4)+parseInt(j(0xa9))/0x5*(-parseInt(j(0xac))/0x6)+parseInt(j(0x9e))/0x7*(parseInt(j(0x96))/0x8)+-parseInt(j(0xaa))/0x9+-parseInt(j(0x99))/0xa*(-parseInt(j(0x9d))/0xb)+parseInt(j(0xa7))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xe87b9));const a50b=(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;};}()),a50a=a50b(this,function(){const k=a50d;return a50a[k(0x97)]()['search']('(((.+)+)+)+$')[k(0x97)]()['constructor'](a50a)[k(0xb1)](k(0xb0));});a50a();import a50e from'fs';import a50f from'path';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x93;let f=c[d];return f;},a50d(a,b);}function a50c(){const n=['sshSync','2064920ayNHLD','toString','exit','4984110Naahfs','parse','29728pxhAkn','readFileSync','11qiMOgO','7CtuJUf','env','length','406809lCvVbE','fsi','error','maka\x20ssh\x20<command>','join','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','18434328QAltHC','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','30WnAMjo','9153972kngdOI','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','321288dhvKaW','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','maka\x20ssh\x20--env\x20prod','assign','(((.+)+)+)+$','search','ssh','ssh.json','28HJNxGr','maka\x20ssh\x20--env\x20dev','64zwhxdW'];a50c=function(){return n;};return a50c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a50l(0xb2),'usage':a50l(0xa4),'mustBeInMakaProject':!![],'requiredOpts':[a50l(0x9f)],'validOpts':[a50l(0x9f),'v'],'shortDesc':a50l(0xa8),'examples':[a50l(0x93),'maka\x20ssh\x20--env\x20staging',a50l(0xae),a50l(0xab),a50l(0xa6),a50l(0xad)]},async function(a,b){const m=a50l;try{const c=this[m(0xa2)]['getConfigPath'](b[m(0x9f)]);let d='';a[m(0xa0)]>0x0&&(d=a[0x0]);const f=a50f[m(0xa5)](c,m(0xb3)),g=a50e[m(0x9c)](f)[m(0x97)](),h=JSON[m(0x9a)](g);Object[m(0xaf)](h,{'env':c}),SSH[m(0x95)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[m(0xa3)](i),process[m(0x98)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=-parseInt(v(
|
|
1
|
+
const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=-parseInt(v(0x106))/0x1*(-parseInt(v(0x114))/0x2)+-parseInt(v(0x112))/0x3*(parseInt(v(0x10d))/0x4)+-parseInt(v(0xf4))/0x5*(parseInt(v(0x120))/0x6)+-parseInt(v(0x126))/0x7+-parseInt(v(0x109))/0x8+-parseInt(v(0x12c))/0x9*(-parseInt(v(0x105))/0xa)+parseInt(v(0x122))/0xb*(parseInt(v(0x11a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x2d9f6));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a[x(0x10f)]()[x(0x110)](x(0x104))[x(0x10f)]()[x(0x10a)](a51a)['search']('(((.+)+)+)+$');});a51a();import a51e from'fs';import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xef;let f=c[d];return f;},a51d(a,b);}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a51c(){const A=['writeFileSync','genCSR','letsencrypt.json','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','maka\x20ssl\x20--env\x20dev\x20generate-csr','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','Email\x20to\x20use\x20for\x20auto-updates:\x20','(((.+)+)+)+$','230QdiAHH','21731SBQmkH','success','uname\x20-a','910688xZhNJJ','constructor','Using\x20saved\x20letsencrypt\x20config','parse','140300QaqMKu','letsencrypt','toString','search','appName','21IMwbsO','env','2JVWGRn','getConfigPath','Verifying\x20Letsencrypt\x20configuration','\x20--email\x20','Remote\x20host\x20connection\x20successful','exit','12CvOWak','notice','.crt','ssh','start','New\x20CSR\x20written\x20to\x20','3048kSwTDv','existsSync','6603784vcYBvM','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','join','domainNames','2146501mcCHyk','ping','email','fsi','assign','error','104625uKtsQN','.csr','Create\x20and\x20manage\x20your\x20SSL\x20operations.','stringify','ask','sudo\x20snap\x20install\x20--classic\x20certbot','domains','360TwcJyS','Checking\x20remote\x20host\x20availability','emailUpdate','create','/ssh.json','apply'];a51c=function(){return A;};return a51c();}import{SSL}from'../tools/ssl/ssl.class.js';Command[a51y(0xf7)]({'name':'ssl','usage':'maka\x20ssl\x20[command]','validOpts':[a51y(0xf3),a51y(0x128)],'requiredOpts':[a51y(0x113)],'shortDesc':a51y(0xef),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51y(0x101),a51y(0x123),a51y(0xfd)]},async function(a,b){const z=a51y,c=this[z(0x129)]['getProjectConfig'](),d=this[z(0x129)][z(0x115)](b[z(0x113)]),f=this[z(0x129)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0xfb)]({'keyName':c[z(0x111)]+'.key','csrName':c[z(0x111)]+z(0x12d),'cwd':f});else{if(g==='generate-ssc'){if(!a51e[z(0x121)](a51f['join'](f,c[z(0x111)]+'.key')))throw z(0x102)+a51f[z(0x124)](f,c[z(0x111)]+'.key');if(!a51e[z(0x121)](a51f[z(0x124)](f,c[z(0x111)]+z(0x12d))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a51f[z(0x124)](f,c['appName']+z(0x12d));SSL['genSSC']({'keyName':c[z(0x111)]+'.key','crtName':c[z(0x111)]+z(0x11c),'cwd':f}),Log['notice'](z(0x11f)+f);}else{if(g===z(0x10e)){let h=b[z(0xf3)],i=b[z(0x128)];try{const p=a51e['readFileSync'](a51f['join'](d,z(0xfc)))[z(0x10f)](),q=JSON[z(0x10c)](p);h=b['domains']?b[z(0xf3)]:q[z(0x125)],i=b[z(0x128)]?b[z(0x128)]:q[z(0xf6)],(!b[z(0x128)]||!b['domains'])&&Log[z(0x11b)](z(0x10b));}catch(r){}const j=JSON[z(0x10c)](a51e['readFileSync'](d+z(0xf8))['toString']());Object[z(0x12a)](j,{'env':d}),Log['notice'](z(0xf5));try{const s=SSH[z(0x127)](z(0x108),j);if(!s)throw z(0xfe);if(s)Log[z(0x107)](z(0x118));}catch(t){Log[z(0x12b)](t);return;}const k=Log['withSpinner']();k[z(0x11e)](z(0x116)),SSH['ssh'](z(0x100),{...j}),SSH[z(0x11d)](z(0xf2),{...j}),SSH[z(0x11d)](z(0xff),{...j}),k[z(0x107)]();const l=h?h:await Actions[z(0xf1)]('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[z(0xf1)](z(0x103));SSH[z(0x11d)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0x117)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xf0)](n,null,0x2);a51e[z(0xfa)](a51f[z(0x124)](d,z(0xfc)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x12b)](u),process[z(0x119)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d
|
|
1
|
+
function a52c(){const t=['config.json','--env','6kriCJK','create','invokeMeteorCommand','argv','once','40DiwSEq','(((.+)+)+)+$','env','Meteor\x20Settings:\x20','6082RzNKfu','getConfigPath','test-packages','--driver','none','maka\x20test\x20<opts>','splice','filter','.maka','parse','openSync','findProjectDirectory','development','test','sanjo:jasmine','Node\x20Env\x20Config:\x20','559eDRKBS','inspect','forEach','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','driver-package','131054AnePvF','meteortesting:mocha','warn','process.env','engines','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','packages','3950484aVKMGY','350777KKnkIv','slice','concat','24VGiIXr','join','921024wEqNyK','unit','toString','3987ZkUMxX','port','driver','settings.json','jasmine','driverPackage','--full-app','Cannot\x20find\x20Node\x20Environment\x20File:\x20','testAppPath','678820GGQwXR','11icPqYe','notice','utf8','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','148nnPKIq','constructor','31qGtssV','isFile','apply','rawLogs','search','fsi','readFileSync','--settings'];a52c=function(){return t;};return a52c();}const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=-parseInt(m(0x19b))/0x1*(-parseInt(m(0x166))/0x2)+-parseInt(m(0x18b))/0x3*(parseInt(m(0x199))/0x4)+-parseInt(m(0x194))/0x5*(parseInt(m(0x1a5))/0x6)+parseInt(m(0x183))/0x7*(-parseInt(m(0x186))/0x8)+parseInt(m(0x188))/0x9*(parseInt(m(0x162))/0xa)+-parseInt(m(0x195))/0xb*(parseInt(m(0x182))/0xc)+-parseInt(m(0x176))/0xd*(-parseInt(m(0x17b))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x3affd));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0x18a)]()['search'](o(0x163))[o(0x18a)]()[o(0x19a)](a52a)[o(0x19f)](o(0x163));});a52a();import a52e from'fs';import a52f from'path';import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a52d;a52e[p(0x170)](a,'r'),a52g['config']({'path':a});};function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x15e;let f=c[d];return f;},a52d(a,b);}Command[a52q(0x15e)]({'name':a52q(0x173),'mustBeInMakaProject':!![],'validOpts':[a52q(0x161),a52q(0x181),'driver',a52q(0x190),'unit',a52q(0x164),a52q(0x19e),a52q(0x18c),a52q(0x177),a52q(0x193)],'usage':a52q(0x16b),'shortDesc':a52q(0x179),'examples':[]},function(a,b){const r=a52q;try{let c=this[r(0x1a0)][r(0x167)](r(0x172));b[r(0x164)]&&(c=this['fsi']['getConfigPath'](b[r(0x164)]));(!b[r(0x189)]||!!b[r(0x161)])&&(a=a[r(0x185)]([r(0x191)]));b[r(0x189)]&&delete b[r(0x189)];let d=b[r(0x17a)]||b[r(0x18d)]||r(0x16a);if(d===r(0x16a)){const j=JSON[r(0x16f)](a52e[r(0x1a1)](a52f[r(0x187)](this[r(0x1a0)][r(0x171)](),r(0x16e),r(0x1a3)),r(0x197)));if(j[r(0x17f)][r(0x173)]===r(0x18f))d=r(0x174);else j[r(0x17f)][r(0x173)]==='mocha'&&(d=r(0x17c));}if(d===r(0x16a))throw r(0x180);(!b[r(0x17a)]||!b['driver'])&&(a=a[r(0x185)](['--driver-package',d]));const f=a52f[r(0x187)](c,r(0x18e));this['fsi'][r(0x19c)](f)?(Log['notice'](r(0x165)+f),a=a[r(0x185)]([r(0x1a2),f])):Log[r(0x17d)](r(0x198)+f);const g=a52f[r(0x187)](c,r(0x17e));this['fsi'][r(0x19c)](g)?(Log[r(0x196)](r(0x175)+g),syncSource(g)):Log['warn'](r(0x192)+g);const h=process[r(0x160)][r(0x184)](0x2)['filter'](k=>k!==r(0x1a4))[r(0x16d)](k=>k!=='test')[r(0x16d)](k=>k!==a[0x0]);h[r(0x178)]((k,l)=>{const s=r;(k===s(0x1a4)||k===s(0x169))&&h[s(0x16c)](l,0x2),k==='--packages'&&h[s(0x16c)](l,0x1);});const i=b[r(0x181)]?r(0x168):r(0x173);this[r(0x1a0)][r(0x15f)](i,a[r(0x185)](h));}catch(k){console['error'](k),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d
|
|
1
|
+
const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=parseInt(i(0x84))/0x1*(-parseInt(i(0x77))/0x2)+-parseInt(i(0x9e))/0x3*(parseInt(i(0x76))/0x4)+parseInt(i(0x97))/0x5*(parseInt(i(0x87))/0x6)+-parseInt(i(0xa4))/0x7+-parseInt(i(0x8c))/0x8*(-parseInt(i(0x9b))/0x9)+-parseInt(i(0x8a))/0xa*(parseInt(i(0x82))/0xb)+-parseInt(i(0x8e))/0xc*(-parseInt(i(0x7b))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x458ce));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x76;let f=c[d];return f;},a53d(a,b);}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a['toString']()[k(0x85)](k(0x93))['toString']()['constructor'](a53a)[k(0x85)](k(0x93));});a53a();import{execSync}from'child_process';import a53e from'semver';function a53c(){const n=['getProjectsMeteorNodeVersion','669IuFpwq','fsi','bright','version','compareMakaToLatest','maka\x20version','3184671TWucEE','isMakaProject','toString','1496MojEVd','10GykJJb','System\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Version\x20','getGlobalMeteorVersion','142454YLpXFs','----------------------Project----------------------------','----------------------System----------------------------','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','N/A','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','node\x20-v','189013JKdaDz','meteor','11821ShqhFF','search','notice','2778gAGFVo','warn','replace','10aHJDWG','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','45520riDLYO','win32','132mFPXcE','error','apply','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','(((.+)+)+)+$','Project\x27s\x20Meteor\x20Node\x20Version\x20','create','System\x27s\x20Meteor\x20Version\x20','3005iXxHOz','getProjectMeteorVersion','meteor.bat','exit','792QOFCsx','Maka\x20'];a53c=function(){return n;};return a53c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.5.9'};Command[a53l(0x95)]({'name':a53l(0xa1),'aliases':['v'],'usage':a53l(0xa3),'maxArgLength':0x1,'validOpts':[],'shortDesc':a53l(0x7e),'examples':['maka\x20v',a53l(0xa3)]},async function(){const m=a53l;try{const a=process['platform']===m(0x8d)?m(0x99):m(0x83);Log['majestic'](m(0x9c)+pjson['version']),await this[m(0x9f)][m(0xa2)](),Log[m(0xa0)](m(0x7d));const b=this[m(0x9f)][m(0x7a)]();Log[m(0xa0)]((m(0x96)+b)[m(0x89)]('\x0a',''));const c=execSync(a+'\x20node\x20-v')[m(0xa6)]()[m(0x89)](/\r?\n|\r/,'')[m(0x89)]('v','');Log[m(0xa0)](m(0x91)+c);const d=execSync(m(0x81))['toString']()[m(0x89)](/\r?\n|\r/,'')['replace']('v','');a53e['gt'](c,d)?(Log[m(0x88)](m(0x78)+d),Log[m(0x88)](m(0x8b)+d+')\x20to\x20at\x20least\x20meteor\x27s\x20('+c+')')):Log[m(0xa0)](m(0x78)+d);if(this['fsi'][m(0xa5)]()){Log[m(0xa0)](m(0x7c));const f=this[m(0x9f)][m(0x98)]();a53e['gt'](b,f)?(Log[m(0x88)](m(0x79)+f[m(0x89)]('\x0a','')),Log[m(0x88)](m(0x92)+b+'\x22')):Log[m(0x86)](('Project\x27s\x20Meteor\x20Version\x20'+f)[m(0x89)]('\x0a',''));const g=await this[m(0x9f)][m(0x9d)]();g===m(0x7f)?(Log[m(0x88)](m(0x94)+g),Log['warn'](m(0x80))):Log['bright'](m(0x94)+g),Log['bright']('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}catch(h){console[m(0x8f)](h),process[m(0x9a)](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a54d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x1e9;var f=c[d];return f;},a54d(a,b);}(function(a,b){var f=a54d,c=a();while(!![]){try{var d=parseInt(f(0x1f4))/0x1+-parseInt(f(0x1ee))/0x2+-parseInt(f(0x1f6))/0x3+parseInt(f(0x1f1))/0x4+parseInt(f(0x1eb))/0x5*(parseInt(f(0x1f0))/0x6)+parseInt(f(0x1ed))/0x7*(parseInt(f(0x1f2))/0x8)+-parseInt(f(0x1f7))/0x9*(parseInt(f(0x1e9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x915ed));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0x1ef)]()[h(0x1ea)](h(0x1f3))[h(0x1ef)]()[h(0x1f5)](a54a)[h(0x1ea)](h(0x1f3));});function a54c(){var i=['10PUCuDY','search','207280gtIOCD','apply','1743tvWYoL','976944tJKFTK','toString','156BzrCpj','864772NiBKXW','6056rmJgRS','(((.+)+)+)+$','881575aXOrWs','constructor','55005qeQPyx','11356857bVUfvk'];a54c=function(){return i;};return a54c();}a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a55t=a55d;(function(a,b){const q=a55d,c=a();while(!![]){try{const d=parseInt(q(0xd1))/0x1*(-parseInt(q(0xc8))/0x2)+parseInt(q(0xf8))/0x3+-parseInt(q(0xb0))/0x4*(-parseInt(q(0xb2))/0x5)+-parseInt(q(0xf9))/0x6+parseInt(q(0xc9))/0x7+-parseInt(q(0xf1))/0x8+-parseInt(q(0xae))/0x9*(-parseInt(q(0xeb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x9dbfe));const a55b=(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;};}()),a55a=a55b(this,function(){const r=a55d;return a55a[r(0xf2)]()[r(0xcd)]('(((.+)+)+)+$')[r(0xf2)]()['constructor'](a55a)[r(0xcd)](r(0xba));});a55a();import a55e from'path';import a55f from'cli-table';import{paramCase}from'change-case';import a55g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0xa3;let f=c[d];return f;},a55d(a,b);}import{Actions}from'./tools/actions/actions.class.js';function a55c(){const F=['appPathPrefix','search','bind','To\x20use\x20these\x20pro\x20flags,\x20\x22','cwd','36878sXqpoE','map','list','domainLicense','Alias','dir','validateMakaProject','Generators:','Too\x20many\x20arguments','Generator\x20requires\x20a\x20name','addGenerator\x20requires\x20a\x20Generator\x20instance','validateMeteorInstall','_handler','notice','usage','Too\x20few\x20arguments','help','length','roles','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','Generator.create\x20requires\x20some\x20options!','findProjectDirectory','Description','match','chdir','Both','20uYemMj','checkWhere','Please\x20run\x20\x22maka\x20install\x20meteor\x22','replace','minArgLength','singleLicense','1814208lVyrIu','toString','Too\x20many\x20options','proGenerators','fsi','sep','addGenerator','212739iBuEOQ','5182296ZlmqHY','Generator\x20requires\x20a\x20handler\x20function','No\x20resource\x20name\x20specified','push','Generator.create\x20requires\x20a\x20handler\x20function!','mustHaveMeteorInstalled','both','tableList','bright','mustBeInMakaProject','proFlags','client','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','listGenerators','keys','join','where','getPro','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','exit','call','_generators','lib','find','shortDesc','6369039IHuOzJ','aliases','30052dnWQwK','server','335XHiifv','invoke','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','name','maxArgLength','pop','root','sort','(((.+)+)+)+$','Client','includes','error','create','number','options','maxOptsLength','findGenerator','assign','validateMakaSubscription','slice','function','validateParams','20wNDCkh','810516ZVnVTe','parent','resourceName'];a55c=function(){return F;};return a55c();}import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const s=a55d,c=process['cwd']();let d=null;try{process[s(0xe9)](a),d=b();}finally{process[s(0xe9)](c);}return d;}export class Generator extends Tool{[a55t(0xc0)];['_generators'];constructor(a,b){const u=a55t;super();if(!a)throw new Error(u(0xe4));if(!a[u(0xb5)])throw new Error(u(0xda));if(typeof b!=='function')throw new Error(u(0xfa));this[u(0xaa)]=[],this[u(0xc0)]=Object[u(0xc3)]({},a),this[u(0xb5)]=this['options'][u(0xb5)],this[u(0xdd)]=b[u(0xce)](this);}static[a55t(0xbe)](a,b,c){const v=a55t;if(!a)throw new Error(v(0xe5));if(typeof b!==v(0xc6))throw new Error(v(0xfd));const d=new Generator(a,b);return c=c||a55g,Object[v(0xc3)](d,{'parent':c?.[v(0xc0)]?.[v(0xb5)]}),c[v(0xf7)](d),d;}['addGenerator'](a){const w=a55t;if(!(a instanceof Generator))throw new Error(w(0xdb));this[w(0xaa)][w(0xfc)](a);}[a55t(0xc2)](a){const x=a55t,b=this['_generators'][x(0xac)](c=>c[x(0xe8)](a));return b;}async['validateMakaSubscription'](a,b){const y=a55t,c=this[y(0xc2)](a[0x0]);if(c){const d=c?.[y(0xb5)]||a[0x0],e=c?.[y(0xca)]||'',f=Object[y(0xa3)](b),g=await this[y(0xf5)][y(0xa6)]();!g&&(Log[y(0xbd)](y(0xb4)),process['exit'](0x1));const h=!g?.[y(0xe3)][y(0xbc)](y(0xf0))&&!g?.[y(0xe3)][y(0xbc)](y(0xd4)),i=g?.[y(0xf4)][y(0xbc)](d)||g?.[y(0xf4)][y(0xbc)](e);if(i&&h)throw'To\x20use\x20this\x20generator,\x20\x22'+d+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';if(f[y(0xe2)]>0x0){const j=g?.[y(0x103)]['filter'](k=>f[y(0xbc)](k));if(j&&j[y(0xe2)]>0x0&&h)throw y(0xcf)+j?.[y(0xa4)](',\x20')+y(0xa7);}}}async[a55t(0xb3)](a,b){const z=a55t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this['options'];try{await this[z(0xc4)](a,b);}catch(g){Log['error'](g),process[z(0xa8)](0x1);}const f=a[z(0xc5)]();b['resourceName']=f[0x0];try{if((a[0x0]===_prevGen||a[z(0xe2)]===0x0)&&b[z(0xe1)])throw new UsageError();if(this['options'][z(0x102)]){const h=this[z(0xd7)]();if(!h)throw new MustBeInProjectError();}if(this[z(0xc0)][z(0xfe)]){const i=this[z(0xdc)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[z(0xc0)][z(0xef)]===z(0xbf)){if(a[z(0xe2)]<this[z(0xc0)]['minArgLength']){Log[z(0xbd)](z(0xe0));throw new UsageError();}}if(typeof this[z(0xc0)][z(0xb6)]===z(0xbf)){if(a[z(0xe2)]>this[z(0xc0)][z(0xb6)]){Log[z(0xbd)](z(0xd9));throw new UsageError();}}if(typeof this['options']['minOptsLength']===z(0xbf)){if(Object[z(0xa3)](b)[z(0xe2)]<this['options']['minOptsLength']){Log[z(0xbd)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[z(0xc0)][z(0xc1)]===z(0xbf)){if(Object['keys'](b)[z(0xe2)]>=this[z(0xc0)][z(0xc1)]){Log[z(0xbd)](z(0xf3));throw new UsageError();}}this[z(0xc7)](a,b,this[z(0xc0)]);if(!b[z(0xcb)]&&!this[z(0xc0)]['noResource']){Log['error'](z(0xfb));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[z(0xdf)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[z(0xaa)]['length']>0x0&&b[z(0xe1)]&&(Log[z(0xde)](z(0xd8)),this['tableList'](this[z(0xaa)]));else{if(j instanceof MustBeInProjectError)Log[z(0xbd)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(j instanceof NoMeteorFoundError)Log[z(0xbd)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[z(0xde)](z(0xed));else{if(j instanceof NoMeteorAppFoundError)Log['error']('There\x20is\x20no\x20Meteor\x20application\x20here');else throw j;}}}process[z(0xa8)](0x1);}return new Promise(k=>{const A=z;inside(b[A(0xd0)],async()=>{const B=A;try{if(!b[B(0xb8)]&&!this['fsi'][B(0xe6)]())throw new MustBeInProjectError();const l=b['resourceName']?.[B(0xee)](/\\/g,'/')['split']('/');!b[B(0xd6)]&&(l?.[B(0xe2)]>0x1?(b[B(0xcb)]=l[B(0xb7)](),f[0x0]=b[B(0xcb)],b[B(0xd6)]=l[B(0xd2)](m=>{return paramCase(m);})[B(0xa4)](a55e[B(0xf6)])):b[B(0xd6)]='');if(this[B(0xc0)][B(0xec)]){if(!b[B(0xa5)]){const n={'type':B(0xd3),'name':'colLocAnswer','message':'Location','choices':[{'name':B(0xbb),'value':B(0x104)},{'name':'Server','value':'server'},{'name':B(0xea),'value':B(0xff)}]},{colLocAnswer:o}=await Actions[B(0xc0)](n);o?b[B(0xa5)]=o:b['where']='both';}const m=[B(0xff),B(0x104),B(0xb1)];if(!m[B(0xbc)](b[B(0xa5)])){Log[B(0xbd)](B(0x105));throw new UsageError();}switch(b[B(0xa5)]){case B(0xff):b[B(0xcc)]=B(0xab);break;case B(0xb1):b[B(0xcc)]=B(0xb1);break;case B(0x104):b[B(0xcc)]=B(0x104);break;default:b[B(0xcc)]='';}}k(this[B(0xdd)][B(0xa9)](this,f,b));}catch(p){console['error'](p);}});});}[a55t(0x106)](){const C=a55t;this[C(0x100)](this[C(0xaa)]);}[a55t(0x100)](a){const D=a55t,b=new a55f({});b[D(0xfc)](['Name',D(0xd5),D(0xe7)]),a[D(0xb9)]()['forEach'](c=>{const E=D;b['push']([c[E(0xb5)],c[E(0xaf)](),c[E(0xad)]()]);}),Log[D(0x101)](b[D(0xf2)]());}}
|