@maka/maka-cli 4.6.23 → 4.7.1
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/ai.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/chz.sub.cmd.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/rdn.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/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.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/say.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/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.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/abstracts.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/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/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/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -0
- package/bundle/obf/src/generators/kits/mui/mui.generator.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/templates/react/kit/mui/frame/{basic-app-bar.js.jsx → app-bars/basic-app-bar.js.jsx} +12 -2
- package/bundle/obf/src/templates/react/kit/mui/frame/{basic-app-bar.js → app-bars/basic-app-bar.js.tsx} +10 -2
- package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +118 -0
- package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +116 -0
- 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/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.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
- package/bundle/obf/src/generators/kits/mui/layout.mui.gen.js +0 -1
- package/bundle/obf/src/templates/react/kit/mui/frame/basic-app-bar.js.ts +0 -0
- package/bundle/obf/src/templates/react/kit/mui/frame/basic-app-bar.js.tsx +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a115p=a115d;(function(a,b){const m=a115d,c=a();while(!![]){try{const d=parseInt(m(0x216))/0x1+parseInt(m(0x230))/0x2*(parseInt(m(0x1f2))/0x3)+parseInt(m(0x22a))/0x4+-parseInt(m(0x232))/0x5*(parseInt(m(0x205))/0x6)+parseInt(m(0x22e))/0x7+parseInt(m(0x1f9))/0x8*(-parseInt(m(0x21d))/0x9)+-parseInt(m(0x22c))/0xa*(-parseInt(m(0x21c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x967af));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a115d;if(c){const e=c[n(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const o=a115d;return a115a[o(0x215)]()[o(0x1fe)](o(0x20d))[o(0x215)]()[o(0x1ee)](a115a)[o(0x1fe)](o(0x20d));});a115a();function a115c(){const s=['resourceName','react','2265304uKvHkq','injectAtEndOfFile','800EKsvtK','layout','1686741SDTkDC','template/template.html','93196EpbRbc','string','10teigay','engines','hasOwnProperty','dir','baseDir','injectAtBeginningOfFile','Generate\x20a\x20page.','constructor','.js','test','warn','72VhTVyn','\x27;\x0a','lib','\x20}\x20from\x20\x27','withHooks','imports','rewriteDestinationPathForEngine','1035208xQCuCN','ramda','.html','template','withTranslations','search','apply','/imports/ui/pages','hooks','create','component/component.js','export\x20\x27','2571306tQlOBG','html','pathFromProject','css','root','client','pathFromApp','import\x20\x27./','(((.+)+)+)+$','hook/hook.js','templates.js','true','withValue','features','/imports/ui/','setTemplate','toString','484716zbIQpV','api','maka\x20g:page\x20todos/todos-item','components','test/test.js','startup','13519IyuNBX','72lXsfeN','layouts','fileName','fsi','vanilla','none','page','installNpmPackage','ssr','.app-tests.js','withHook'];a115c=function(){return s;};return a115c();}import a115e from'path';import{Generator}from'../generator.js';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x1e9;let f=c[d];return f;},a115d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a115p(0x202)]({'name':a115p(0x223),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a115p(0x1ed),'validOpts':[{'name':a115p(0x1eb),'values':[a115p(0x201),a115p(0x219),'pages',a115p(0x21e)]},{'name':a115p(0x227),'boolFlag':!![]}],'examples':[a115p(0x218)]},async function(a,b){const q=a115p,c=b[q(0x1eb)]?q(0x213)+b['baseDir']:q(0x200),d=this['fsi']['pathFromApp'](b),e=this['fsi'][q(0x20b)]({'pathParts':[c,b['dir'],paramCase(b[q(0x228)]),paramCase(b['resourceName'])]}),f=this[q(0x220)]['getMakaProjectConfig']();await this['fsi'][q(0x211)](f,async()=>{const r=q;typeof f[r(0x1fc)][r(0x206)]===r(0x231)&&(f[r(0x1fc)][r(0x206)]=f['template']['html']===r(0x210)?!![]:![],this[r(0x220)][r(0x214)](r(0x206),f[r(0x1fc)][r(0x206)]));typeof f[r(0x1fc)][r(0x1f0)]==='string'&&(f[r(0x1fc)][r(0x1f0)]=f[r(0x1fc)][r(0x1f0)]===r(0x210)?!![]:![],this[r(0x220)][r(0x214)](r(0x1f0),f['template'][r(0x1f0)]));typeof f['template'][r(0x208)]===r(0x231)&&(f[r(0x1fc)][r(0x208)]=f[r(0x1fc)][r(0x208)]==='true'?!![]:![],this['fsi'][r(0x214)]('css',f[r(0x1fc)][r(0x208)]));typeof f[r(0x1fc)]['js']===r(0x231)&&(f[r(0x1fc)]['js']=f[r(0x1fc)]['js']===r(0x210)?!![]:![],this[r(0x220)][r(0x214)]('js',f['template']['js']));!f[r(0x212)]&&(f[r(0x212)]={});!b[r(0x209)]&&!this[r(0x220)]['checkNpmPackage'](r(0x1fa))&&(Log[r(0x1f1)]('Updating\x20npm\x20packages\x20...'),this[r(0x220)][r(0x224)]('ramda',{'cwd':d}));const g={'name':pascalCase(b[r(0x228)]),'myPath':a115e['relative'](this[r(0x220)][r(0x207)]({}),e),'cssCaseName':paramCase(b[r(0x228)]),'className':pascalCase(b[r(0x228)]),'camelCaseName':camelCase(b[r(0x228)]),'fileName':paramCase(b[r(0x228)]),'graphql':f[r(0x233)]['graphql'],'features':f[r(0x212)],'client':f['engines'][r(0x20a)],'api':f[r(0x233)][r(0x217)],'ssr':f[r(0x233)][r(0x225)],'isStore':b['hasOwnProperty']('store'),'isComponent':b[r(0x1e9)]('component'),'isLayout':b['hasOwnProperty'](r(0x22d)),'withTranslations':f[r(0x212)][r(0x1fd)],'test':f[r(0x233)][r(0x1f0)],'theme':f[r(0x233)]['theme']};f['template']['html']&&await this[r(0x220)][r(0x1fc)]({'srcPath':r(0x22f),'destPath':e+r(0x1fb),'context':g,'config':f});f[r(0x212)]?.[r(0x1f6)]||b[r(0x227)]?await this['fsi'][r(0x1fc)]({'srcPath':r(0x20e),'destPath':e+r(0x1ef),'framework':r(0x229),'context':g,'config':f}):await this[r(0x220)][r(0x1fc)]({'srcPath':r(0x203),'destPath':e+'.js','framework':r(0x229),'context':g,'config':f});f[r(0x233)][r(0x1f0)]!==r(0x222)&&await this[r(0x220)][r(0x1fc)]({'srcPath':r(0x21a),'destPath':e+r(0x226),'framework':'react','context':g,'config':f});f[r(0x1fc)][r(0x208)]&&await this[r(0x220)][r(0x1fc)]({'srcPath':'template/template.css','destPath':e+'.css','context':Object['assign']({},g,{'className':paramCase(b['resourceName'])}),'config':f});f[r(0x233)][r(0x20a)]!==r(0x229)&&f['engines'][r(0x20a)]!==r(0x221)?(f[r(0x1fc)][r(0x208)]&&await this[r(0x220)][r(0x1ec)]({'filePath':e+'.'+f[r(0x233)]['js'],'content':r(0x20c)+g[r(0x21f)]+'.'+f[r(0x233)][r(0x206)]+r(0x1f3)+r(0x20c)+g[r(0x21f)]+'.'+f[r(0x233)][r(0x208)]+'\x27;'}),!f[r(0x1fc)]['css']&&await this[r(0x220)][r(0x1ec)]({'filePath':e+'.'+f['engines']['js'],'content':r(0x20c)+g[r(0x21f)]+'.'+f['engines'][r(0x206)]+'\x27;'})):f[r(0x1fc)][r(0x208)]&&await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[r(0x233)]['js'],'content':r(0x20c)+g[r(0x21f)]+'.'+f[r(0x233)][r(0x208)]+'\x27;'});const h=b['dir']?'/'+b[r(0x1ea)]+'/':'/',i=''+c+h+g[r(0x21f)]+'/'+g[r(0x21f)];let j;if(f[r(0x233)][r(0x225)]===r(0x210)){const k=this[r(0x220)]['pathFromApp']({'pathParts':[r(0x1f7),r(0x21b),r(0x1f4),r(0x20f)]});j=this[r(0x220)][r(0x1f8)]({'pathParts':[k],'config':f});}else{const l=this['fsi'][r(0x20b)]({'pathParts':[r(0x1f7),'startup',r(0x20a),r(0x20f)]});j=this[r(0x220)][r(0x1f8)]({'pathParts':[l],'config':f});}f['engines'][r(0x20a)]==='react'?await this[r(0x220)]['injectAtEndOfFile']({'filePath':j,'content':'export\x20{\x20'+g['className']+r(0x1f5)+i+r(0x1f3)}):await this[r(0x220)][r(0x22b)]({'filePath':j,'content':r(0x204)+i+'.'+f['engines']['js']+r(0x1f3)});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a116c(){const n=['1076056gYwEyi','server/publish.','resourceName','318829cDdsSD','(((.+)+)+)+$','create','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','injectAtEndOfFile','3609666uDeDiR','constructor','toString','9192935Qrveir','63iSzFqb','engines','2049405yPLOFf','rewriteDestinationPathForEngine','fsi','templateContent','search','maka\x20g:publish\x20todos','5987828MrocYR','apply','publish/publish.','publish','754299bfeHzA','6gzQQiG','withValue'];a116c=function(){return n;};return a116c();}const a116k=a116d;function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x114;let f=c[d];return f;},a116d(a,b);}(function(a,b){const h=a116d,c=a();while(!![]){try{const d=parseInt(h(0x121))/0x1+-parseInt(h(0x12c))/0x2+parseInt(h(0x117))/0x3+-parseInt(h(0x11d))/0x4+parseInt(h(0x114))/0x5*(parseInt(h(0x122))/0x6)+parseInt(h(0x127))/0x7+-parseInt(h(0x124))/0x8*(-parseInt(h(0x115))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xeab2f));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a[j(0x12e)]()[j(0x11b)]('(((.+)+)+)+$')[j(0x12e)]()[j(0x12d)](a116a)[j(0x11b)](j(0x128));});a116a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a116k(0x129)]({'name':a116k(0x120),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':a116k(0x12a),'validOpts':[],'examples':[a116k(0x11c)]},async function(a,b){const l=a116k,c=this['fsi']['getMakaProjectConfig']();await this['fsi'][l(0x123)](c,async()=>{const m=l,d={'name':b[m(0x126)],'collection':paramCase(b[m(0x126)]),'noRename':!![]};let e='js';c[m(0x116)]['js']==='tsx'&&(e='ts');const f=this[m(0x119)][m(0x118)]({'pathParts':[m(0x125)+c['engines']['js']]}),g=this[m(0x119)][m(0x11a)]({'srcPath':m(0x11f)+e,'context':d,'config':c});await this[m(0x119)][m(0x12b)]({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117y=a117d;(function(a,b){const w=a117d,c=a();while(!![]){try{const d=-parseInt(w(0x1c1))/0x1+-parseInt(w(0x1d2))/0x2*(-parseInt(w(0x1db))/0x3)+-parseInt(w(0x1ec))/0x4+-parseInt(w(0x1e7))/0x5+-parseInt(w(0x1f3))/0x6+-parseInt(w(0x1ff))/0x7+parseInt(w(0x1c2))/0x8*(parseInt(w(0x1ee))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xddc4b));function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a117d(a,b);}const a117b=(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;};}()),a117a=a117b(this,function(){const x=a117d;return a117a[x(0x1ea)]()[x(0x1e3)](x(0x1e9))['toString']()[x(0x1d0)](a117a)[x(0x1e3)](x(0x1e9));});a117a();import a117e from'path';import{Generator}from'../generator.js';function a117c(){const H=['/imports/ui/pages','filter','create','layouts','route/route.js','maka\x20g:route\x20todosIndex\x20todos','<Route','layout','url','maka\x20g:route\x20todosEdit\x20todos/:id/edit','MasterLayout','Valid\x20options\x20are:\x20','newForm','constructor','withHook','2pSQzzW','lib','client','/imports/ui/','error','imports','injectIntoFile','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','baseDir','3691926xmhcqm','hooks','dir','PrivateLayout','pathFromApp','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','indexOf','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','search','pages','templateName','vanilla','6784915JLAjwd','toLowerCase','(((.+)+)+)+$','toString','\x22*\x22','2589516HLREux','const\x20privateRoutes\x20=\x20(<>','21633759WxiwTL','react','maka\x20g:route\x20pages/lists/listIndex\x20lists','only','readFileLines','6410460jqyHpM','true','routes.js','resourceName','private','fsi','engines','map','route','withValue','injectAfterLineNumber','templateContent','12193734OFdhpX','Invalid\x20directory\x20option\x20\x22','join','<Router','config','\x0a\x09\x09','injectAtEndOfFile','includes','features','rewriteDestinationPathForEngine','maka\x20g:route\x20pages/about','length','root','startup','getMakaProjectConfig','components','withTranslations','315047ywWjgb','16ggfeiL'];a117c=function(){return H;};return a117c();}import{Log}from'../tools/log/log.class.js';import a117f from'../generators/maka.gen.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a117y(0x1c5)]({'name':a117y(0x1fb),'aliases':aliases,'validOpts':[a117y(0x1f7),a117y(0x1ca),a117y(0x1f1),'cwd',a117y(0x203),a117y(0x1bc),a117y(0x1d1),a117y(0x1cb),a117y(0x1da)],'usage':a117y(0x1d9),'shortDesc':'Scaffolding\x20for\x20a\x20Route.','examples':[a117y(0x1c8),a117y(0x1cc),a117y(0x1e0),a117y(0x1f0),a117y(0x1ba)]},async function(a,b){const z=a117y;try{const c=[z(0x1dc),z(0x1bf),z(0x1e4),z(0x1c6)];if(b[z(0x1da)]&&!c[z(0x1b7)](b[z(0x1da)])){Log[z(0x1d6)](z(0x200)+b[z(0x1da)]+'\x22'),Log[z(0x1d6)](z(0x1ce)+c[z(0x201)](',\x20'));throw new UsageError();}const d=this[z(0x1f8)][z(0x1be)]();await this[z(0x1f8)][z(0x1fc)](d,async()=>{const A=z,f=b[A(0x1f7)]??![];let g=paramCase(b[A(0x1f6)]),h='/'+g;a[A(0x1bb)]>0x1&&(h='/'+a[A(0x1c4)](function(n){return n!=='/';})['join']('/')[A(0x1e8)]());g=camelCase(g);b['layout']&&(b['layout']=camelCase(b[A(0x1ca)]));const i=b[A(0x1da)]?A(0x1d5)+b['baseDir']:A(0x1c3),j=a117e['join'](i,b[A(0x1dd)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[A(0x1ca)]||A(0x1cd),'templatePath':j,'templateName':pascalCase(g),'client':d[A(0x1f9)]['client'],'newForm':![],'withTranslations':d[A(0x1b8)][A(0x1c0)]};f&&(k[A(0x1ca)]=A(0x1de));!b[A(0x1bc)]&&await a117f['processAndRunGenerator']('page',a,b);let l,m;if(d[A(0x1f9)][A(0x1d4)]==='react'){if(d['engines']['ssr']===A(0x1f4)){const q=this[A(0x1f8)][A(0x1df)]({'pathParts':['imports',A(0x1bd),A(0x1d3),'routes.js']});l=this[A(0x1f8)][A(0x1b9)]({'pathParts':[q],'config':d});}else{const r=this[A(0x1f8)]['pathFromApp']({'pathParts':[A(0x1d7),A(0x1bd),A(0x1d4),A(0x1f5)]});l=this[A(0x1f8)][A(0x1b9)]({'pathParts':[r],'config':d});}const n=this[A(0x1f8)][A(0x1f2)](l)['map']((s,t)=>{const B=A;return s[B(0x1b7)](B(0x1e2))?t+0x1:null;})[A(0x1c4)](s=>s!==null);let o=this[A(0x1f8)]['readFileLines'](l)['map']((s,t)=>{const C=A;return s[C(0x1b7)]('const\x20publicRoutes\x20=\x20(<>')?t+0x1:null;})['filter'](s=>s!==null),p=this['fsi'][A(0x1f2)](l)[A(0x1fa)]((s,t)=>{const D=A;return s[D(0x1b7)](D(0x1ed))?t+0x1:null;})[A(0x1c4)](s=>s!==null);o[A(0x1bb)]>0x0&&p['length']>0x0&&(k[A(0x1cf)]=!![]);m=this[A(0x1f8)]['templateContent']({'srcPath':A(0x1c7),'framework':A(0x1ef),'context':k,'config':d});if(o['length']>0x0||p[A(0x1bb)]>0x0){this[A(0x1f8)][A(0x1fd)]({'filePath':l,'content':m,'lineNumber':n[0x0]});if(f&&p['length']>0x0)p=this[A(0x1f8)]['readFileLines'](l)[A(0x1fa)]((s,t)=>{const E=A;return s[E(0x1b7)](E(0x1ed))?t+0x1:null;})['filter'](s=>s!==null),this[A(0x1f8)][A(0x1fd)]({'filePath':l,'content':'\x09{'+k['templateName']+'}','lineNumber':p[0x0]});else o[A(0x1bb)]>0x0?(o=this[A(0x1f8)]['readFileLines'](l)['map']((s,t)=>{const F=A;return s[F(0x1b7)]('const\x20publicRoutes\x20=\x20(<>')?t+0x1:null;})['filter'](s=>s!==null),this[A(0x1f8)][A(0x1fd)]({'filePath':l,'content':'\x09{'+k[A(0x1e5)]+'}','lineNumber':o[0x0]})):Log['warn']('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+l);}else{const s=this[A(0x1f8)][A(0x1f2)](l)['map'](v=>{const G=A;return v[G(0x1b7)](G(0x1eb));}),t=s[A(0x1e1)](!![])>-0x1,u=t?A(0x1c9):'</Router>';await this[A(0x1f8)][A(0x1d8)]({'filePath':l,'content':A(0x204)+m+A(0x204),'begin':A(0x202),'end':u});}}else{if(d[A(0x1f9)][A(0x1d4)]===A(0x1e6)){const v=this[A(0x1f8)][A(0x1df)]({'pathParts':[A(0x1d7),'startup',A(0x1d4),A(0x1f5)]});l=this[A(0x1f8)][A(0x1b9)]({'pathParts':[v],'config':d}),m=this['fsi'][A(0x1fe)]({'srcPath':'route/route.js','context':k}),await this[A(0x1f8)][A(0x205)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[z(0x1d6)](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a118m=a118d;(function(a,b){const j=a118d,c=a();while(!![]){try{const d
|
|
1
|
+
function a118c(){const p=['engines','template','2689940abyJtH','lib','installNpmPackage','winston\x20setimmediate','service/logger/logger.js','checkNpmPackage','9384824icAwXn','887868eFrutc','2937840lodbkj','getMakaProjectConfig','Installing\x20winston','constructor','imports','tsx','create','services','62280fQRrLC','4ExFGGJ','error','search','81942XalocD','logger','startup','toString','maka\x20g:svc\x20service-logger\x20--type=logger','type','fsi','95165IuqcZS','(((.+)+)+)+$','apply','service','withValue','resourceName'];a118c=function(){return p;};return a118c();}const a118m=a118d;(function(a,b){const j=a118d,c=a();while(!![]){try{const d=parseInt(j(0x68))/0x1+-parseInt(j(0x6c))/0x2+-parseInt(j(0x82))/0x3*(-parseInt(j(0x69))/0x4)+-parseInt(j(0x7b))/0x5+-parseInt(j(0x83))/0x6+-parseInt(j(0x73))/0x7+parseInt(j(0x81))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x6da79));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a118d;if(c){const e=c[k(0x75)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const l=a118d;return a118a[l(0x6f)]()[l(0x6b)]('(((.+)+)+)+$')[l(0x6f)]()[l(0x86)](a118a)[l(0x6b)](l(0x74));});a118a();function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x66;let f=c[d];return f;},a118d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a118m(0x66)]({'name':a118m(0x76),'aliases':['svc'],'usage':'maka\x20{generate,\x20g}:{service}\x20<resource-name>','shortDesc':'Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','requiredOpts':[{'name':a118m(0x71),'values':[a118m(0x6d)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a118m(0x70)]},async function(a,b){const n=a118m;try{const c=this[n(0x72)][n(0x84)]();await this[n(0x72)][n(0x77)](c,async()=>{const o=n,d=this['fsi']['pathFromApp']({}),f=paramCase(b[o(0x78)]),g={'name':pascalCase(b[o(0x78)]),'fileName':f,'camelCase':camelCase(b[o(0x78)]),'type':b[o(0x71)],'engine':c[o(0x79)]['js'],'noRename':!![]};let h='js';c[o(0x79)]['js']===o(0x88)&&(h='ts');if(b[o(0x71)]===o(0x6d)){!this[o(0x72)][o(0x80)]('winston')&&await this['fsi'][o(0x7d)](o(0x7e),{'cwd':d,'msg':o(0x85)});const i=this['fsi']['pathFromApp']({'pathParts':[o(0x87),o(0x6e),o(0x7c),o(0x67),f+'.'+h]});await this['fsi'][o(0x7a)]({'srcPath':o(0x7f),'destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0x6a)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x1f8))/0x1+-parseInt(f(0x1f6))/0x2+parseInt(f(0x1ee))/0x3+parseInt(f(0x1f2))/0x4*(parseInt(f(0x1ed))/0x5)+-parseInt(f(0x1ef))/0x6*(parseInt(f(0x1f4))/0x7)+-parseInt(f(0x1f7))/0x8*(parseInt(f(0x1f1))/0x9)+parseInt(f(0x1f0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x999d7));var a119b=(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;};}()),a119a=a119b(this,function(){var g=a119d;return a119a[g(0x1ec)]()['search'](g(0x1f3))[g(0x1ec)]()['constructor'](a119a)[g(0x1f5)](g(0x1f3));});a119a();import'./translation.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x1ec;var f=c[d];return f;},a119d(a,b);}import'./openssl.js';function a119c(){var h=['3805630cDDtfT','3289890UxOFgn','6JuNANO','8756420aDavUY','3951RPAqfo','4qcUGYm','(((.+)+)+)+$','1738107eiPZFk','search','2002956cJdhho','11512FWTrlF','222691xYbZJr','toString'];a119c=function(){return h;};return a119c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120l=a120d;(function(a,b){const i=a120d,c=a();while(!![]){try{const d
|
|
1
|
+
const a120l=a120d;(function(a,b){const i=a120d,c=a();while(!![]){try{const d=parseInt(i(0x83))/0x1*(parseInt(i(0x8b))/0x2)+parseInt(i(0x8c))/0x3*(-parseInt(i(0x97))/0x4)+-parseInt(i(0x87))/0x5*(parseInt(i(0x92))/0x6)+-parseInt(i(0xa2))/0x7*(-parseInt(i(0x99))/0x8)+-parseInt(i(0x94))/0x9*(-parseInt(i(0x9e))/0xa)+parseInt(i(0x8a))/0xb+-parseInt(i(0x91))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xa28c3));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a120d;if(c){const e=c[j(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const k=a120d;return a120a[k(0x9c)]()['search'](k(0x89))[k(0x9c)]()[k(0x9b)](a120a)[k(0x8e)]('(((.+)+)+)+$');});function a120c(){const o=['5HiGFal','_keys','maka\x20g:sslconfig\x20--env\x20dev','env','8005UrcvcD','join','(((.+)+)+)+$','14180727viUVno','528746zyYfoB','756ZvIfds','service','search','withValue','getGlobalConfig','22435164pIlFSq','4452YFIjLG','appName','7605zBIkfX','getAppConfigPath','apply','5244rbeTgI','create','2722744cObkbj','error','constructor','toString','Generate\x20a\x20new\x20openssl\x20config\x20file','4990cONQFz','fsi','openssl/openssl.conf','sslconfig','21tzvHTK'];a120c=function(){return o;};return a120c();}a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x83;let f=c[d];return f;},a120d(a,b);}import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a120e from'path';Generator[a120l(0x98)]({'name':a120l(0xa1),'usage':'maka\x20{generate,\x20g}:sslconfig','shortDesc':a120l(0x9d),'noNeedResource':!![],'requiredOpts':[a120l(0x86)],'examples':[a120l(0x85)],'validOpts':[]},async function(a,b){const m=a120l;try{const c=await this['fsi']['getMakaProjectConfig'](),d=await this['fsi'][m(0x90)](),f=this[m(0x9f)][m(0x95)](b['env']),g=a120e[m(0x88)](f,m(0x84),'openssl.conf');await this['fsi'][m(0x8f)](c,async()=>{const n=m,h={'app':d[n(0x93)],'noRename':!![]};await this[n(0x9f)]['template']({'srcPath':n(0xa0),'destPath':g,'framework':n(0x8d),'context':h,'config':c});});}catch(h){Log[m(0x9a)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121A=a121d;(function(a,b){const x=a121d,c=a();while(!![]){try{const d=-parseInt(x(
|
|
1
|
+
const a121A=a121d;(function(a,b){const x=a121d,c=a();while(!![]){try{const d=-parseInt(x(0xdc))/0x1+-parseInt(x(0xce))/0x2+-parseInt(x(0xf2))/0x3*(parseInt(x(0xc2))/0x4)+parseInt(x(0xf3))/0x5+-parseInt(x(0xcc))/0x6+-parseInt(x(0xe4))/0x7*(parseInt(x(0xd6))/0x8)+parseInt(x(0xe9))/0x9*(parseInt(x(0xf5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x85834));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a121d;if(c){const e=c[y(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const z=a121d;return a121a[z(0xd7)]()[z(0xd0)](z(0xfc))[z(0xd7)]()[z(0xff)](a121a)[z(0xd0)]('(((.+)+)+)+$');});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xc0;let f=c[d];return f;},a121d(a,b);}a121a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';function a121c(){const D=['startup','client','Locale\x20already\x20exported:\x20','create','readFileSync','i18next\x20i18next-browser-languagedetector\x20react-i18next','2999184sBheyg','isFile','1631990JwWAzf','engines','search','grep','root','checkNpmPackage','template','setProjectConfig','2702616aJUPta','toString','i18n/index.js','i18next','maka\x20g:translation\x20--lang=de','error','761395IiOWhH','\x20}\x20from\x20\x27./','warn','injectAtEndOfFile','findAppDirectory','installNpmPackage','fsi','rewriteDestinationPathForEngine','21WBnRDj','locales','translations','.js','server','335457BLLxtp','maka\x20g:translation\x20--lang=en\x20(default)','import\x20\x27../lib/services/translations/i18n\x27;\x0a','index.','i18n.js','Locale\x20already\x20defined:\x20','index.js','exit','import\x20\x27../lib/services/translations/i18n\x27;','6ojRiPQ','4816695CJCDbn','service','860YrSgOg','apply','Generate\x20a\x20new\x20locale\x20translation','translation','export\x20{\x20default\x20as\x20','getGlobalConfig','imports','(((.+)+)+)+$','getMakaProjectConfig','injectAtBeginningOfFile','constructor','pathFromApp','appName','lib','i18n/locales.js','services','1062428MnrJat','maka\x20g:translation\x20--lang=fr','lang','i18n/i18n.js'];a121c=function(){return D;};return a121c();}import a121e from'fs';Generator[a121A(0xc9)]({'name':a121A(0xf8),'usage':'maka\x20{generate,\x20g}:translation','aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a121A(0xc4),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a121A(0xf7),'description':'\x0a\x20\x20Generate\x20a\x20new\x20locale\x20translation\x20file.\x0a\x0a\x20\x20\x20\x20--lang\x20\x20The\x20language\x20code\x20for\x20the\x20new\x20locale\x20file.\x20(i.e.\x20en,\x20fr,\x20de)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20must\x20be\x20the\x20two\x20character\x20language\x20code.\x0a\x20\x20','examples':[a121A(0xea),a121A(0xc3),a121A(0xda)],'validOpts':[]},async function(a,b){const B=a121A;try{const c=this[B(0xe2)][B(0xfd)](),d=this[B(0xe2)][B(0xfa)](),f=this[B(0xe2)][B(0xe0)]();await this[B(0xe2)]['withValue'](c,()=>{const C=B;try{!b[C(0xc4)]&&(b[C(0xc4)]='en');!b[C(0xd2)]&&!this['fsi'][C(0xd3)](C(0xd9))&&(Log['warn']('Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...'),this[C(0xe2)][C(0xe1)](C(0xcb),{'cwd':f}),this[C(0xe2)][C(0xd5)]('features.withTranslations',!![]));const g=this[C(0xe2)][C(0x100)]({'pathParts':['imports',C(0xc6),C(0xc7),C(0xef)]}),h=this['fsi'][C(0xe3)]({'pathParts':[g],'config':c}),i=this['fsi'][C(0xd1)](a121e['readFileSync'](h)[C(0xd7)](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];if(c[C(0xcf)]['ssr']==='true'){!i&&this[C(0xe2)][C(0xfe)]({'filePath':h,'content':C(0xeb)});const t=this['fsi'][C(0x100)]({'pathParts':[C(0xfb),'startup',C(0xe8),C(0xef)]}),u=this['fsi'][C(0xe3)]({'pathParts':[t],'config':c}),v=this[C(0xe2)]['grep'](a121e[C(0xca)](u)['toString'](),C(0xf1))[0x0]&&!![];!v&&this[C(0xe2)][C(0xfe)]({'filePath':u,'content':C(0xeb)});}else!i&&this[C(0xe2)][C(0xfe)]({'filePath':h,'content':C(0xeb)});const j={'app':d[C(0x101)],'config':c},k=this[C(0xe2)][C(0x100)]({'pathParts':['imports',C(0xc6),C(0x102),C(0xc1),C(0xe6),C(0xed)]}),l=this[C(0xe2)][C(0xcd)](this[C(0xe2)][C(0xe3)]({'pathParts':[k],'config':c}));!l&&this[C(0xe2)][C(0xd4)]({'srcPath':C(0xc5),'destPath':k,'framework':C(0xf4),'context':j,'config':c});const m=this[C(0xe2)][C(0x100)]({'pathParts':['imports',C(0xc6),C(0x102),C(0xc1),C(0xe6),'locales',b[C(0xc4)]+C(0xe7)]}),n=this[C(0xe2)][C(0xe3)]({'pathParts':[m],'config':c}),o=this['fsi'][C(0xcd)](n);!o?this['fsi'][C(0xd4)]({'srcPath':C(0xc0),'destPath':m,'framework':'service','context':j,'config':c}):Log[C(0xde)](C(0xee)+n);const p=this[C(0xe2)][C(0x100)]({'pathParts':['imports',C(0xc6),C(0x102),C(0xc1),'translations',C(0xe5),C(0xec)+c[C(0xcf)]['js']]}),q=this[C(0xe2)][C(0xe3)]({'pathParts':[p],'config':c}),r=this['fsi']['isFile'](q);!r&&this['fsi'][C(0xd4)]({'srcPath':C(0xd8),'destPath':p,'framework':C(0xf4),'context':j,'config':c});const s=this[C(0xe2)][C(0xd1)](a121e['readFileSync'](p)[C(0xd7)](),'default\x20as\x20'+b[C(0xc4)])[0x0]&&!![];!s?this[C(0xe2)][C(0xdf)]({'filePath':p,'content':C(0xf9)+b[C(0xc4)]+C(0xdd)+b['lang']+'\x27;'}):Log['warn'](C(0xc8)+p);}catch(w){Log[C(0xdb)](w),process[C(0xf0)](0x1);}});}catch(g){Log['error'](g),process[B(0xf0)](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122m=a122d;(function(a,b){const j=a122d,c=a();while(!![]){try{const d=-parseInt(j(
|
|
1
|
+
const a122m=a122d;(function(a,b){const j=a122d,c=a();while(!![]){try{const d=-parseInt(j(0xe8))/0x1+parseInt(j(0xe4))/0x2*(-parseInt(j(0xdd))/0x3)+parseInt(j(0xdb))/0x4*(parseInt(j(0xe3))/0x5)+-parseInt(j(0xe0))/0x6+-parseInt(j(0xed))/0x7+-parseInt(j(0xe5))/0x8*(parseInt(j(0xef))/0x9)+parseInt(j(0xe1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xce8e6));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a122d;if(c){const e=c[k(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const l=a122d;return a122a[l(0xf0)]()['search']('(((.+)+)+)+$')[l(0xf0)]()['constructor'](a122a)[l(0xd9)](l(0xea));});a122a();import a122e from'minimist';import a122f from'os';import a122g from'path';import a122h from'humps';import a122i from'./commands/maka.cmd.js';import'./commands/_index.js';function a122c(){const n=['argv','5204940oULSQE','50905290AcWQxH','slice','17275XhGrSl','455586ULdAWV','16216VpLFSH','env','floor','1513505htTWKk','--max-old-space-size=','(((.+)+)+)+$','TOOL_NODE_FLAGS','camelizeKeys','8457967XVZiDO','apply','6147BWQPea','toString','stringify','search','dirname','1108TChUzp','url','3ZIgeXN','parse'];a122c=function(){return n;};return a122c();}import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a122m(0xdc)]),__dirname=a122g[a122m(0xda)](__filename);global['MAKA_COMMAND_PATH']=__dirname;const total_memory=a122f['totalmem'](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a122m(0xe7)](total_mem_in_mb),process[a122m(0xe6)][a122m(0xeb)]=a122m(0xe9)+total_mem_in_mb,process[a122m(0xe6)]['BROWSERSLIST_IGNORE_OLD_DATA']='1',process[a122m(0xe6)]['NODE_NO_WARNINGS']='1';const argv=a122e(process[a122m(0xdf)][a122m(0xe2)](0x2)),args=argv['_'],deepCopyArgv=JSON[a122m(0xde)](JSON[a122m(0xf1)](argv));function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xd9;let f=c[d];return f;},a122d(a,b);}delete deepCopyArgv['_'];const opts=a122h[a122m(0xec)](deepCopyArgv);a122i['run'](args,opts);
|
|
@@ -7,7 +7,14 @@ import Button from '@mui/material/Button';
|
|
|
7
7
|
import IconButton from '@mui/material/IconButton';
|
|
8
8
|
import MenuIcon from '@mui/icons-material/Menu';
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
import { Session } from 'meteor/session';
|
|
11
|
+
|
|
12
|
+
function BasicAppBar() {
|
|
13
|
+
|
|
14
|
+
const handleDrawerToggle = () => {
|
|
15
|
+
Session.set('drawerOpen', !Session.get('drawerOpen'));
|
|
16
|
+
};
|
|
17
|
+
|
|
11
18
|
return (
|
|
12
19
|
<Box sx={{ flexGrow: 1 }}>
|
|
13
20
|
<AppBar position="static">
|
|
@@ -18,6 +25,7 @@ export default function ButtonAppBar() {
|
|
|
18
25
|
color="inherit"
|
|
19
26
|
aria-label="menu"
|
|
20
27
|
sx={{ mr: 2 }}
|
|
28
|
+
onClick={handleDrawerToggle}
|
|
21
29
|
>
|
|
22
30
|
<MenuIcon />
|
|
23
31
|
</IconButton>
|
|
@@ -29,4 +37,6 @@ export default function ButtonAppBar() {
|
|
|
29
37
|
</AppBar>
|
|
30
38
|
</Box>
|
|
31
39
|
);
|
|
32
|
-
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { BasicAppBar };
|
|
@@ -7,7 +7,12 @@ import Button from '@mui/material/Button';
|
|
|
7
7
|
import IconButton from '@mui/material/IconButton';
|
|
8
8
|
import MenuIcon from '@mui/icons-material/Menu';
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
import { Session } from 'meteor/session';
|
|
11
|
+
function BasicAppBar() {
|
|
12
|
+
const handleDrawerToggle = () => {
|
|
13
|
+
Session.set('drawerOpen', !Session.get('drawerOpen'));
|
|
14
|
+
};
|
|
15
|
+
|
|
11
16
|
return (
|
|
12
17
|
<Box sx={{ flexGrow: 1 }}>
|
|
13
18
|
<AppBar position="static">
|
|
@@ -18,6 +23,7 @@ export function BasicAppBar() {
|
|
|
18
23
|
color="inherit"
|
|
19
24
|
aria-label="menu"
|
|
20
25
|
sx={{ mr: 2 }}
|
|
26
|
+
onClick={handleDrawerToggle}
|
|
21
27
|
>
|
|
22
28
|
<MenuIcon />
|
|
23
29
|
</IconButton>
|
|
@@ -29,4 +35,6 @@ export function BasicAppBar() {
|
|
|
29
35
|
</AppBar>
|
|
30
36
|
</Box>
|
|
31
37
|
);
|
|
32
|
-
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { BasicAppBar };
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Box from '@mui/material/Box';
|
|
4
|
+
import Divider from '@mui/material/Divider';
|
|
5
|
+
import Drawer from '@mui/material/Drawer';
|
|
6
|
+
import InboxIcon from '@mui/icons-material/MoveToInbox';
|
|
7
|
+
import List from '@mui/material/List';
|
|
8
|
+
import ListItem from '@mui/material/ListItem';
|
|
9
|
+
import ListItemButton from '@mui/material/ListItemButton';
|
|
10
|
+
import ListItemIcon from '@mui/material/ListItemIcon';
|
|
11
|
+
import ListItemText from '@mui/material/ListItemText';
|
|
12
|
+
import MailIcon from '@mui/icons-material/Mail';
|
|
13
|
+
import Toolbar from '@mui/material/Toolbar';
|
|
14
|
+
|
|
15
|
+
const drawerWidth = 240;
|
|
16
|
+
|
|
17
|
+
import { Session } from 'meteor/session';
|
|
18
|
+
import { useTracker } from 'meteor/react-meteor-data';
|
|
19
|
+
function BasicDrawer(props) {
|
|
20
|
+
|
|
21
|
+
const { drawerOpen } = useTracker(() => {
|
|
22
|
+
let drawerOpen = false;
|
|
23
|
+
if (Meteor.isClient) {
|
|
24
|
+
Meteor.subscribe('drawerState', { drawerOpen: Session.get('drawerOpen') });
|
|
25
|
+
drawerOpen = Session.get('drawerOpen');
|
|
26
|
+
}
|
|
27
|
+
return { drawerOpen }
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
const { window } = props;
|
|
31
|
+
|
|
32
|
+
const handleDrawerToggle = () => {
|
|
33
|
+
Session.set('drawerOpen', !Session.get('drawerOpen'));
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
const drawer = (
|
|
37
|
+
<div>
|
|
38
|
+
<Toolbar />
|
|
39
|
+
<Divider />
|
|
40
|
+
<List>
|
|
41
|
+
{['Inbox', 'Starred', 'Send email', 'Drafts'].map((text, index) => (
|
|
42
|
+
<ListItem key={text} disablePadding>
|
|
43
|
+
<ListItemButton>
|
|
44
|
+
<ListItemIcon>
|
|
45
|
+
{index % 2 === 0 ? <InboxIcon /> : <MailIcon />}
|
|
46
|
+
</ListItemIcon>
|
|
47
|
+
<ListItemText primary={text} />
|
|
48
|
+
</ListItemButton>
|
|
49
|
+
</ListItem>
|
|
50
|
+
))}
|
|
51
|
+
</List>
|
|
52
|
+
<Divider />
|
|
53
|
+
<List>
|
|
54
|
+
{['All mail', 'Trash', 'Spam'].map((text, index) => (
|
|
55
|
+
<ListItem key={text} disablePadding>
|
|
56
|
+
<ListItemButton>
|
|
57
|
+
<ListItemIcon>
|
|
58
|
+
{index % 2 === 0 ? <InboxIcon /> : <MailIcon />}
|
|
59
|
+
</ListItemIcon>
|
|
60
|
+
<ListItemText primary={text} />
|
|
61
|
+
</ListItemButton>
|
|
62
|
+
</ListItem>
|
|
63
|
+
))}
|
|
64
|
+
</List>
|
|
65
|
+
</div>
|
|
66
|
+
);
|
|
67
|
+
|
|
68
|
+
const container = window !== undefined ? () => window().document.body : undefined;
|
|
69
|
+
|
|
70
|
+
return (
|
|
71
|
+
<Box sx={{ display: 'flex' }}
|
|
72
|
+
onClick={handleDrawerToggle}
|
|
73
|
+
onKeyDown={handleDrawerToggle}
|
|
74
|
+
>
|
|
75
|
+
<Box
|
|
76
|
+
component="nav"
|
|
77
|
+
sx={{ width: { sm: drawerWidth }, flexShrink: { sm: 0 } }}
|
|
78
|
+
aria-label="mailbox folders"
|
|
79
|
+
>
|
|
80
|
+
{/* The implementation can be swapped with js to avoid SEO duplication of links. */}
|
|
81
|
+
<Drawer
|
|
82
|
+
container={container}
|
|
83
|
+
variant="temporary"
|
|
84
|
+
open={drawerOpen}
|
|
85
|
+
onClose={handleDrawerToggle}
|
|
86
|
+
ModalProps={{
|
|
87
|
+
keepMounted: true, // Better open performance on mobile.
|
|
88
|
+
}}
|
|
89
|
+
sx={{
|
|
90
|
+
display: { xs: 'block', sm: 'none' },
|
|
91
|
+
'& .MuiDrawer-paper': { boxSizing: 'border-box', width: drawerWidth },
|
|
92
|
+
}}
|
|
93
|
+
>
|
|
94
|
+
{drawer}
|
|
95
|
+
</Drawer>
|
|
96
|
+
<Drawer
|
|
97
|
+
sx={{
|
|
98
|
+
display: { xs: 'none', sm: 'block' },
|
|
99
|
+
'& .MuiDrawer-paper': { boxSizing: 'border-box', width: drawerWidth },
|
|
100
|
+
}}
|
|
101
|
+
open={drawerOpen}
|
|
102
|
+
>
|
|
103
|
+
{drawer}
|
|
104
|
+
</Drawer>
|
|
105
|
+
</Box>
|
|
106
|
+
</Box>
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
BasicDrawer.propTypes = {
|
|
111
|
+
/**
|
|
112
|
+
* Injected by the documentation to work in an iframe.
|
|
113
|
+
* You won't need it on your project.
|
|
114
|
+
*/
|
|
115
|
+
window: PropTypes.func,
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
export { BasicDrawer };
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Box from '@mui/material/Box';
|
|
3
|
+
import Divider from '@mui/material/Divider';
|
|
4
|
+
import Drawer from '@mui/material/Drawer';
|
|
5
|
+
import InboxIcon from '@mui/icons-material/MoveToInbox';
|
|
6
|
+
import List from '@mui/material/List';
|
|
7
|
+
import ListItem from '@mui/material/ListItem';
|
|
8
|
+
import ListItemButton from '@mui/material/ListItemButton';
|
|
9
|
+
import ListItemIcon from '@mui/material/ListItemIcon';
|
|
10
|
+
import ListItemText from '@mui/material/ListItemText';
|
|
11
|
+
import MailIcon from '@mui/icons-material/Mail';
|
|
12
|
+
import Toolbar from '@mui/material/Toolbar';
|
|
13
|
+
|
|
14
|
+
const drawerWidth = 240;
|
|
15
|
+
|
|
16
|
+
import { Meteor } from 'meteor/meteor';
|
|
17
|
+
import { Session } from 'meteor/session';
|
|
18
|
+
import { useTracker } from 'meteor/react-meteor-data';
|
|
19
|
+
interface Props {
|
|
20
|
+
/**
|
|
21
|
+
* Injected by the documentation to work in an iframe.
|
|
22
|
+
* You won't need it on your project.
|
|
23
|
+
*/
|
|
24
|
+
window?: () => Window;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function BasicDrawer(props: Props) {
|
|
28
|
+
const { window } = props;
|
|
29
|
+
const { drawerOpen } = useTracker(() => {
|
|
30
|
+
let drawerOpen = false;
|
|
31
|
+
if (Meteor.isClient) {
|
|
32
|
+
Meteor.subscribe('drawerState', { drawerOpen: Session.get('drawerOpen') });
|
|
33
|
+
drawerOpen = Session.get('drawerOpen');
|
|
34
|
+
}
|
|
35
|
+
return { drawerOpen }
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
const handleDrawerToggle = () => {
|
|
39
|
+
Session.set('drawerOpen', !Session.get('drawerOpen'));
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
const drawer = (
|
|
43
|
+
<div>
|
|
44
|
+
<Toolbar />
|
|
45
|
+
<Divider />
|
|
46
|
+
<List>
|
|
47
|
+
{['Inbox', 'Starred', 'Send email', 'Drafts'].map((text, index) => (
|
|
48
|
+
<ListItem key={text} disablePadding>
|
|
49
|
+
<ListItemButton>
|
|
50
|
+
<ListItemIcon>
|
|
51
|
+
{index % 2 === 0 ? <InboxIcon /> : <MailIcon />}
|
|
52
|
+
</ListItemIcon>
|
|
53
|
+
<ListItemText primary={text} />
|
|
54
|
+
</ListItemButton>
|
|
55
|
+
</ListItem>
|
|
56
|
+
))}
|
|
57
|
+
</List>
|
|
58
|
+
<Divider />
|
|
59
|
+
<List>
|
|
60
|
+
{['All mail', 'Trash', 'Spam'].map((text, index) => (
|
|
61
|
+
<ListItem key={text} disablePadding>
|
|
62
|
+
<ListItemButton>
|
|
63
|
+
<ListItemIcon>
|
|
64
|
+
{index % 2 === 0 ? <InboxIcon /> : <MailIcon />}
|
|
65
|
+
</ListItemIcon>
|
|
66
|
+
<ListItemText primary={text} />
|
|
67
|
+
</ListItemButton>
|
|
68
|
+
</ListItem>
|
|
69
|
+
))}
|
|
70
|
+
</List>
|
|
71
|
+
</div>
|
|
72
|
+
);
|
|
73
|
+
|
|
74
|
+
const container = window !== undefined ? () => window().document.body : undefined;
|
|
75
|
+
|
|
76
|
+
return (
|
|
77
|
+
<Box sx={{ display: 'flex' }}
|
|
78
|
+
onClick={handleDrawerToggle}
|
|
79
|
+
onKeyDown={handleDrawerToggle}
|
|
80
|
+
>
|
|
81
|
+
<Box
|
|
82
|
+
component="nav"
|
|
83
|
+
sx={{ width: { sm: drawerWidth }, flexShrink: { sm: 0 } }}
|
|
84
|
+
aria-label="mailbox folders"
|
|
85
|
+
>
|
|
86
|
+
{/* The implementation can be swapped with js to avoid SEO duplication of links. */}
|
|
87
|
+
<Drawer
|
|
88
|
+
container={container}
|
|
89
|
+
variant="temporary"
|
|
90
|
+
open={drawerOpen}
|
|
91
|
+
onClose={handleDrawerToggle}
|
|
92
|
+
ModalProps={{
|
|
93
|
+
keepMounted: true, // Better open performance on mobile.
|
|
94
|
+
}}
|
|
95
|
+
sx={{
|
|
96
|
+
display: { xs: 'block', sm: 'none' },
|
|
97
|
+
'& .MuiDrawer-paper': { boxSizing: 'border-box', width: drawerWidth },
|
|
98
|
+
}}
|
|
99
|
+
>
|
|
100
|
+
{drawer}
|
|
101
|
+
</Drawer>
|
|
102
|
+
<Drawer
|
|
103
|
+
sx={{
|
|
104
|
+
display: { xs: 'none', sm: 'block' },
|
|
105
|
+
'& .MuiDrawer-paper': { boxSizing: 'border-box', width: drawerWidth },
|
|
106
|
+
}}
|
|
107
|
+
open={drawerOpen}
|
|
108
|
+
>
|
|
109
|
+
{drawer}
|
|
110
|
+
</Drawer>
|
|
111
|
+
</Box>
|
|
112
|
+
</Box>
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export { BasicDrawer };
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123L=a123d;(function(a,b){const I=a123d,c=a();while(!![]){try{const d
|
|
1
|
+
const a123L=a123d;(function(a,b){const I=a123d,c=a();while(!![]){try{const d=parseInt(I(0x8c))/0x1*(parseInt(I(0x89))/0x2)+parseInt(I(0x78))/0x3+parseInt(I(0x90))/0x4+-parseInt(I(0xa4))/0x5+-parseInt(I(0x8f))/0x6+parseInt(I(0x77))/0x7+parseInt(I(0x87))/0x8*(-parseInt(I(0xb2))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xc0528));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a123d;if(c){const e=c[J(0x97)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const K=a123d;return a123a[K(0x93)]()[K(0x99)](K(0x9f))[K(0x93)]()['constructor'](a123a)[K(0x99)](K(0x9f));});a123a();import a123e from'path';import a123f from'os';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x66;let f=c[d];return f;},a123d(a,b);}import a123g from'fs';const homeDir=a123f[a123L(0xa5)]();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';function a123c(){const a2=['(((.+)+)+)+$','push','engines','existsSync','dir','6062935oiJyCA','homedir','AppData','validateMeteorInstall','join','shortDesc','examples','Local','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','description','parent','NIE','getAppProjectConfigs','Please\x20provide\x20a\x20resource\x20name:','2255661RuOwqr','formatToNamedParam','getPro','Invalid\x20value\x20for\x20','string','exit','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','No\x20description\x20provided.','roles','domainLicense','length','help','Please\x20choose\x20a\x20valid\x20value\x20for\x20','env','Please\x20provide\x20a\x20value\x20for\x20','includes','root','keys','resourceName','ask','error','docker','concat','getMakaProjectConfig','config','name','Please\x20provide\x20a\x20valid\x20argument\x20for\x20','Please\x20choose\x20an\x20environment','win32','6713693vULewH','1938075gxalfO','aliases','usage','remapShortToLong','isCommand','indexOf','list','proCommands','singleLicense','Please\x20choose\x20a\x20value\x20for\x20','Invalid\x20argument:\x20','isPro','_handler','.meteor','validateParams','24UCfhud','charAt','112WEVpQV','findProjectDirectory','Invalid\x20option:\x20','6931tylUmS','validateMakaSubscription','fsi','1581504GqCLmU','4090200pRlFvw','cwd','getShortName','toString','platform','assign','isGenerator','apply','find','search','match','To\x20use\x20this\x20generator,\x20\x22','You\x20must\x20have\x20','options','\x20installed\x20to\x20use\x20this\x20command.'];a123c=function(){return a2;};return a123c();}import{Log}from'./tools/log/log.class.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError}from'./error.js';export class Tool{['docker'];[a123L(0x8e)];[a123L(0x9d)];[a123L(0x73)];[a123L(0xae)];[a123L(0x84)];constructor(){const M=a123L;this[M(0x6f)]=new Docker(),this[M(0x8e)]=new FSI();}['getShortName'](a){const N=a123L;return a[N(0x88)](0x0);}[a123L(0x7b)](a,b){const O=a123L,c=this[O(0xb3)](b),d={...a};for(const e of c){const f=this[O(0x92)](e[O(0x73)]);a[f]&&(d[e[O(0x73)]]=a[f],delete d[f]);}return d;}[a123L(0xb3)](a){const P=a123L;if(a['every'](b=>typeof b===P(0xb6)))return a['map'](b=>({'name':b}));return a;}[a123L(0x9a)](a){const Q=a123L,b=[this['name']]['concat'](this[Q(0x9d)]['aliases']||[]);return this[Q(0xae)]&&b[Q(0xa0)](this[Q(0xae)]),b[Q(0x69)](a);}['validateMakaProject'](){const R=a123L,a=this[R(0x8e)][R(0x8a)]();return a!==![]?!![]:![];}[a123L(0xa7)](){const S=a123L;let a=a123e[S(0xa8)](homeDir,S(0x85));const b=process[S(0x94)]===S(0x76);if(b){a=a123e['join'](homeDir,S(0xa6),S(0xab),S(0x85));if(!a123g[S(0xa2)](a))return![];}else{if(!a123g[S(0xa2)](a))return![];}return!![];}['validateEngines'](a){const T=a123L,b=this[T(0x8e)][T(0x71)](),c=b[T(0xa1)],d=Object[T(0x6b)](a);if(d[T(0xbc)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[T(0x6e)](T(0x9c)+e+'\x20version\x20'+a[e]+T(0x9e));throw UsageError;}}}async[a123L(0x86)](a,b,c){const U=a123L,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object['keys'](b);if(h['includes'](U(0x6c))&&b[U(0x6c)]===undefined&&!g){const m=await Actions['ask'](U(0xb1));b[U(0x6c)]=m;}let i=[],j=b;if(d){i=this[U(0xb3)](d),j=this[U(0x7b)](b,i);if(i&&i?.['length']>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object[U(0x6b)](j)[U(0x69)](o)){if(o===U(0x67)){const r=this[U(0x8e)][U(0xb0)](),s=await Actions[U(0x9d)]({'type':U(0x7e),'name':U(0x67),'message':U(0x75),'choices':r});b[U(0x67)]=s[U(0x67)];}else{const t=p;if(t){const u=await Actions[U(0x9d)]({'type':U(0x7e),'name':o,'message':U(0x81)+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[U(0x6d)](U(0x68)+o);if(v[U(0x9a)](q))b[o]=v;else{Log[U(0x6e)](U(0xb5)+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions['ask']('Please\x20provide\x20a\x20value\x20for\x20'+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p[U(0x69)](x)){Log[U(0x6e)](U(0xb5)+o+':\x20'+x);throw new UsageError();}}}}let k=this[U(0xb3)](f),l=b;if(k&&Object['keys'](k)?.[U(0xbc)]>0x0){k=k[U(0x70)](i||[]),k[U(0xa0)]({'name':U(0x6c),'hidden':!![]}),k[U(0xa0)]({'name':U(0xbd),'boolFlag':!![]}),k['push']({'name':U(0xa3),'hidden':!![]}),k[U(0xa0)]({'name':U(0x91),'hidden':!![]}),k[U(0xa0)]({'name':U(0x6a),'hidden':!![]}),k[U(0xa0)]({'name':U(0x72),'hidden':!![]}),l=this['remapShortToLong'](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A[U(0x69)](B))){const C=A;if(C){const D=await Actions['options']({'type':U(0x7e),'name':z,'message':U(0x66)+z,'choices':A});l[z]=D[z];}}if(k[U(0xbc)]>0x0)for(const E of Object[U(0x6b)](l)){const F=k[U(0x98)](G=>G[U(0x73)]===E);if(!F){Log[U(0x6e)](U(0x8b)+E);throw new UsageError();}}}}if(e&&e?.[U(0xbc)]>0x0)for(const G of e){if(!e[U(0x69)](G)){Log[U(0x6e)](U(0x82)+G);const H=await Actions['ask'](U(0x74)+G);a[a[U(0x7d)](G)]=H;}}return Object[U(0x95)](j,l);}async[a123L(0x8d)](a){const V=a123L;try{if(!a)return;const b=await this[V(0x8e)][V(0xb4)]();!b&&(Log['error'](V(0xb8)),process[V(0xb7)](0x1));const c=!b?.[V(0xba)][V(0x69)](V(0x80))&&!b?.[V(0xba)][V(0x69)](V(0xbb));if(this[V(0x7c)](a)){const d='To\x20use\x20this\x20command,\x20\x22'+a['name']+V(0xac);if(a[V(0x9d)]['disableAuthCheck'])return;const f=b?.['proCommands'][V(0x69)](a['name'])||b?.[V(0x7f)][V(0x69)](a[V(0xae)]||'')||this[V(0x9d)][V(0x83)];if(f&&c)throw d;}else{if(this[V(0x96)](a)){const g=b?.['proGenerators']['includes'](a[V(0x73)])||b?.['proGenerators']['includes'](a[V(0xae)]||'');if(g&&c)throw V(0x9b)+a[V(0x73)]+V(0xac);}}}catch(h){Log[V(0x6e)](h),process[V(0xb7)](0x1);}}[a123L(0x7c)](a){const W=a123L;return W(0x9d)in a;}[a123L(0x96)](a){return!('options'in a);}[a123L(0xad)](){const X=a123L;return this[X(0x9d)][X(0xad)]||this['options'][X(0xa9)]||X(0xb9);}['shortDesc'](){const Y=a123L;return this['options'][Y(0xa9)]||Y(0xaf);}[a123L(0x7a)](){const Z=a123L;return this[Z(0x9d)][Z(0x7a)]||'No\x20usage\x20provided.';}['examples'](){const a0=a123L;return this[a0(0x9d)][a0(0xaa)]||[];}['aliases'](){const a1=a123L;return this['options'][a1(0x79)]||'None';}}
|