@maka/maka-cli 4.6.22 → 4.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +2 -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 +2 -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 a115o=a115d;(function(a,b){const m=a115d,c=a();while(!![]){try{const d=-parseInt(m(0xd9))/0x1*(-parseInt(m(0xca))/0x2)+-parseInt(m(0xc0))/0x3+-parseInt(m(0xe9))/0x4*(parseInt(m(0xee))/0x5)+-parseInt(m(0xf7))/0x6+-parseInt(m(0xf2))/0x7+parseInt(m(0xdd))/0x8*(-parseInt(m(0xcb))/0x9)+parseInt(m(0xc8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x74762));const a115b=(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;};}()),a115a=a115b(this,function(){const n=a115d;return a115a[n(0xf1)]()[n(0xb8)](n(0xd2))[n(0xf1)]()[n(0xfa)](a115a)['search'](n(0xd2));});a115a();function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0xb6;let f=c[d];return f;},a115d(a,b);}import a115e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':'page','aliases':aliases,'usage':a115o(0xf8),'shortDesc':a115o(0xde),'validOpts':[{'name':a115o(0xce),'values':[a115o(0xcf),a115o(0xfe),a115o(0xe1),a115o(0xc3)]},{'name':'withHook','boolFlag':!![]}],'examples':[a115o(0xfd)]},async function(a,b){const p=a115o,c=b[p(0xce)]?p(0xd0)+b[p(0xce)]:'/imports/ui/pages',d=this[p(0xf0)]['pathFromApp'](b),e=this[p(0xf0)]['pathFromApp']({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b[p(0xc4)])]}),f=this[p(0xf0)][p(0xe3)]();await this[p(0xf0)]['withValue'](f,async()=>{const q=p;typeof f[q(0xd4)][q(0xd5)]==='string'&&(f[q(0xd4)][q(0xd5)]=f[q(0xd4)]['html']===q(0xdf)?!![]:![],this[q(0xf0)][q(0xf6)]('html',f[q(0xd4)][q(0xd5)]));typeof f[q(0xd4)][q(0xc7)]===q(0xf3)&&(f[q(0xd4)][q(0xc7)]=f['template']['test']===q(0xdf)?!![]:![],this[q(0xf0)][q(0xf6)]('test',f[q(0xd4)][q(0xc7)]));typeof f[q(0xd4)][q(0xb7)]===q(0xf3)&&(f[q(0xd4)]['css']=f[q(0xd4)][q(0xb7)]===q(0xdf)?!![]:![],this['fsi']['setTemplate'](q(0xb7),f[q(0xd4)]['css']));typeof f[q(0xd4)]['js']===q(0xf3)&&(f[q(0xd4)]['js']=f[q(0xd4)]['js']===q(0xdf)?!![]:![],this[q(0xf0)]['setTemplate']('js',f[q(0xd4)]['js']));!f[q(0xdb)]&&(f[q(0xdb)]={});!b[q(0xcc)]&&!this[q(0xf0)]['checkNpmPackage']('ramda')&&(Log[q(0xf4)](q(0xeb)),this[q(0xf0)][q(0xb9)](q(0xda),{'cwd':d}));const g={'name':pascalCase(b['resourceName']),'myPath':a115e['relative'](this[q(0xf0)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0xc4)]),'className':pascalCase(b[q(0xc4)]),'camelCaseName':camelCase(b[q(0xc4)]),'fileName':paramCase(b[q(0xc4)]),'graphql':f[q(0xd6)][q(0xc2)],'features':f['features'],'client':f[q(0xd6)][q(0xe2)],'api':f[q(0xd6)][q(0xbb)],'ssr':f['engines'][q(0xfc)],'isStore':b[q(0xe0)](q(0xe8)),'isComponent':b['hasOwnProperty']('component'),'isLayout':b['hasOwnProperty'](q(0xed)),'withTranslations':f[q(0xdb)]['withTranslations'],'test':f['engines']['test'],'theme':f['engines'][q(0xd7)]};f[q(0xd4)][q(0xd5)]&&await this['fsi'][q(0xd4)]({'srcPath':q(0xef),'destPath':e+'.html','context':g,'config':f});f['features']?.[q(0xe6)]||b[q(0xd8)]?await this[q(0xf0)][q(0xd4)]({'srcPath':q(0xcd),'destPath':e+'.js','framework':q(0xe5),'context':g,'config':f}):await this[q(0xf0)][q(0xd4)]({'srcPath':q(0xc9),'destPath':e+q(0xdc),'framework':'react','context':g,'config':f});f['engines'][q(0xc7)]!=='none'&&await this['fsi']['template']({'srcPath':q(0xc1),'destPath':e+q(0xc5),'framework':q(0xe5),'context':g,'config':f});f['template']['css']&&await this[q(0xf0)]['template']({'srcPath':'template/template.css','destPath':e+'.css','context':Object['assign']({},g,{'className':paramCase(b[q(0xc4)])}),'config':f});f[q(0xd6)][q(0xe2)]!==q(0xe5)&&f[q(0xd6)][q(0xe2)]!==q(0xea)?(f[q(0xd4)]['css']&&await this[q(0xf0)][q(0xfb)]({'filePath':e+'.'+f['engines']['js'],'content':q(0xbc)+g[q(0xe4)]+'.'+f['engines'][q(0xd5)]+'\x27;\x0a'+q(0xbc)+g[q(0xe4)]+'.'+f[q(0xd6)][q(0xb7)]+'\x27;'}),!f[q(0xd4)][q(0xb7)]&&await this[q(0xf0)]['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':q(0xbc)+g[q(0xe4)]+'.'+f[q(0xd6)][q(0xd5)]+'\x27;'})):f[q(0xd4)][q(0xb7)]&&await this[q(0xf0)][q(0xfb)]({'filePath':e+'.'+f[q(0xd6)]['js'],'content':q(0xbc)+g[q(0xe4)]+'.'+f['engines'][q(0xb7)]+'\x27;'});const h=b[q(0xbd)]?'/'+b['dir']+'/':'/',i=''+c+h+g['fileName']+'/'+g[q(0xe4)];let j;if(f[q(0xd6)][q(0xfc)]===q(0xdf)){const k=this[q(0xf0)][q(0xc6)]({'pathParts':['imports',q(0xf9),q(0xb6),q(0xd1)]});j=this[q(0xf0)]['rewriteDestinationPathForEngine']({'pathParts':[k],'config':f});}else{const l=this[q(0xf0)]['pathFromApp']({'pathParts':['imports',q(0xf9),q(0xe2),'templates.js']});j=this['fsi'][q(0xbf)]({'pathParts':[l],'config':f});}f['engines'][q(0xe2)]===q(0xe5)?await this[q(0xf0)][q(0xf5)]({'filePath':j,'content':q(0xba)+g[q(0xbe)]+q(0xd3)+i+q(0xec)}):await this[q(0xf0)][q(0xf5)]({'filePath':j,'content':q(0xe7)+i+'.'+f[q(0xd6)]['js']+q(0xec)});});});function a115c(){const r=['/imports/ui/','templates.js','(((.+)+)+)+$','\x20}\x20from\x20\x27','template','html','engines','theme','withHook','34kJmlkm','ramda','features','.js','1272mzxSzE','Generate\x20a\x20page.','true','hasOwnProperty','pages','client','getMakaProjectConfig','fileName','react','withHooks','export\x20\x27','store','44AEDtWi','vanilla','Updating\x20npm\x20packages\x20...','\x27;\x0a','layout','322395pnTtIZ','template/template.html','fsi','toString','6143221zADPqt','string','warn','injectAtEndOfFile','setTemplate','2185890kiSGpN','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','startup','constructor','injectAtBeginningOfFile','ssr','maka\x20g:page\x20todos/todos-item','components','lib','css','search','installNpmPackage','export\x20{\x20','api','import\x20\x27./','dir','className','rewriteDestinationPathForEngine','513090myvMwM','test/test.js','graphql','layouts','resourceName','.app-tests.js','pathFromApp','test','20328360nZWpBI','component/component.js','42194oqCjZi','8541LCmiPz','root','hook/hook.js','baseDir','hooks'];a115c=function(){return r;};return a115c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116j=a116d;function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x159;let f=c[d];return f;},a116d(a,b);}(function(a,b){const h=a116d,c=a();while(!![]){try{const d=-parseInt(h(0x161))/0x1+parseInt(h(0x163))/0x2+-parseInt(h(0x170))/0x3+parseInt(h(0x16e))/0x4*(-parseInt(h(0x165))/0x5)+parseInt(h(0x15f))/0x6*(-parseInt(h(0x16c))/0x7)+parseInt(h(0x159))/0x8+parseInt(h(0x15d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xac8e3));function a116c(){const m=['fsi','1041861RvEqml','3430256dFshUq','injectAtEndOfFile','getMakaProjectConfig','(((.+)+)+)+$','12107133EfClVM','publish/publish.','78waQnLa','templateContent','1169186PkyWpU','resourceName','1886804KIRxvM','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','445435TgBLno','withValue','maka\x20g:publish\x20todos','rewriteDestinationPathForEngine','server/publish.','tsx','engines','74207DdEttd','toString','16sdOKRY'];a116c=function(){return m;};return a116c();}const a116b=(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;};}()),a116a=a116b(this,function(){const i=a116d;return a116a[i(0x16d)]()['search'](i(0x15c))[i(0x16d)]()['constructor'](a116a)['search']('(((.+)+)+)+$');});a116a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator['create']({'name':'publish','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':a116j(0x164),'validOpts':[],'examples':[a116j(0x167)]},async function(a,b){const k=a116j,c=this[k(0x16f)][k(0x15b)]();await this[k(0x16f)][k(0x166)](c,async()=>{const l=k,d={'name':b[l(0x162)],'collection':paramCase(b[l(0x162)]),'noRename':!![]};let e='js';c[l(0x16b)]['js']===l(0x16a)&&(e='ts');const f=this[l(0x16f)][l(0x168)]({'pathParts':[l(0x169)+c[l(0x16b)]['js']]}),g=this[l(0x16f)][l(0x160)]({'srcPath':l(0x15e)+e,'context':d,'config':c});await this[l(0x16f)][l(0x15a)]({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117z=a117d;(function(a,b){const w=a117d,c=a();while(!![]){try{const d
|
|
1
|
+
const a117z=a117d;(function(a,b){const w=a117d,c=a();while(!![]){try{const d=parseInt(w(0x12a))/0x1+-parseInt(w(0x111))/0x2+-parseInt(w(0x12f))/0x3+-parseInt(w(0x135))/0x4+-parseInt(w(0x142))/0x5*(-parseInt(w(0x126))/0x6)+-parseInt(w(0x130))/0x7*(parseInt(w(0x116))/0x8)+parseInt(w(0x120))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xb96da));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a117d;if(c){const e=c[x(0x149)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const y=a117d;return a117a['toString']()[y(0x145)](y(0x146))[y(0x151)]()[y(0x13a)](a117a)['search'](y(0x146));});a117a();import a117e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a117c(){const I=['import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','indexOf','ssr','length','maka\x20g:route\x20todosIndex\x20todos','1980cXlthz','engines','\x0a\x09\x09','search','(((.+)+)+)+$','templateContent','PrivateLayout','apply','resourceName','hooks','withHook','templateName','filter','layout','route','toString','processAndRunGenerator','const\x20privateRoutes\x20=\x20(<>','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','routes.js','<Route','withValue','create','rewriteDestinationPathForEngine','config','toLowerCase','MasterLayout','react','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','Valid\x20options\x20are:\x20','const\x20publicRoutes\x20=\x20(<>','imports','1999552PhdAZX','client','dir','root','warn','1536560UWgdZT','fsi','readFileLines','layouts','</Router>','error','Scaffolding\x20for\x20a\x20Route.','url','route/route.js','startup','47042181XQdJGP','maka\x20g:route\x20pages/about','map','injectAtEndOfFile','private','includes','1326DDxmju','\x22*\x22','vanilla','maka\x20g:route\x20pages/lists/listIndex\x20lists','136763TOTVAJ','injectIntoFile','features','lib','<Router','2957304QzdFub','49dLhYYQ','components','pathFromApp','maka\x20g:route\x20todosEdit\x20todos/:id/edit','baseDir','5446560cSziHK','injectAfterLineNumber','/imports/ui/pages','page','true','constructor','newForm','join'];a117c=function(){return I;};return a117c();}import a117f from'../generators/maka.gen.js';import{UsageError}from'../error.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x111;let f=c[d];return f;},a117d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a117z(0x158)]({'name':a117z(0x150),'aliases':aliases,'validOpts':[a117z(0x124),'layout','only','cwd',a117z(0x15a),a117z(0x114),a117z(0x14c),a117z(0x11d),a117z(0x134)],'usage':'maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','shortDesc':a117z(0x11c),'examples':[a117z(0x141),a117z(0x133),a117z(0x15e),a117z(0x129),a117z(0x121)]},async function(a,b){const A=a117z;try{const c=[A(0x14b),A(0x131),'pages',A(0x119)];if(b['baseDir']&&!c[A(0x125)](b[A(0x134)])){Log[A(0x11b)]('Invalid\x20directory\x20option\x20\x22'+b[A(0x134)]+'\x22'),Log['error'](A(0x15f)+c['join'](',\x20'));throw new UsageError();}const d=this[A(0x117)]['getMakaProjectConfig']();await this[A(0x117)][A(0x157)](d,async()=>{const B=A,f=b[B(0x124)]??![];let g=paramCase(b[B(0x14a)]),h='/'+g;a[B(0x140)]>0x1&&(h='/'+a[B(0x14e)](function(n){return n!=='/';})[B(0x13c)]('/')[B(0x15b)]());g=camelCase(g);b[B(0x14f)]&&(b[B(0x14f)]=camelCase(b[B(0x14f)]));const i=b[B(0x134)]?'/imports/ui/'+b[B(0x134)]:B(0x137),j=a117e[B(0x13c)](i,b[B(0x113)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[B(0x14f)]||B(0x15c),'templatePath':j,'templateName':pascalCase(g),'client':d['engines'][B(0x112)],'newForm':![],'withTranslations':d[B(0x12c)]['withTranslations']};f&&(k[B(0x14f)]=B(0x148));!b[B(0x114)]&&await a117f[B(0x152)](B(0x138),a,b);let l,m;if(d[B(0x143)]['client']===B(0x15d)){if(d['engines'][B(0x13f)]===B(0x139)){const q=this[B(0x117)]['pathFromApp']({'pathParts':['imports',B(0x11f),B(0x12d),B(0x155)]});l=this[B(0x117)][B(0x159)]({'pathParts':[q],'config':d});}else{const r=this[B(0x117)][B(0x132)]({'pathParts':[B(0x161),B(0x11f),B(0x112),B(0x155)]});l=this[B(0x117)][B(0x159)]({'pathParts':[r],'config':d});}const n=this[B(0x117)][B(0x118)](l)['map']((s,t)=>{const C=B;return s[C(0x125)](C(0x13d))?t+0x1:null;})[B(0x14e)](s=>s!==null);let o=this['fsi'][B(0x118)](l)[B(0x122)]((s,t)=>{const D=B;return s[D(0x125)](D(0x160))?t+0x1:null;})[B(0x14e)](s=>s!==null),p=this[B(0x117)][B(0x118)](l)[B(0x122)]((s,t)=>{const E=B;return s[E(0x125)](E(0x153))?t+0x1:null;})[B(0x14e)](s=>s!==null);o[B(0x140)]>0x0&&p[B(0x140)]>0x0&&(k[B(0x13b)]=!![]);m=this[B(0x117)][B(0x147)]({'srcPath':B(0x11e),'framework':B(0x15d),'context':k,'config':d});if(o[B(0x140)]>0x0||p[B(0x140)]>0x0){this[B(0x117)]['injectAfterLineNumber']({'filePath':l,'content':m,'lineNumber':n[0x0]});if(f&&p[B(0x140)]>0x0)p=this[B(0x117)]['readFileLines'](l)['map']((s,t)=>{const F=B;return s[F(0x125)](F(0x153))?t+0x1:null;})[B(0x14e)](s=>s!==null),this[B(0x117)]['injectAfterLineNumber']({'filePath':l,'content':'\x09{'+k[B(0x14d)]+'}','lineNumber':p[0x0]});else o[B(0x140)]>0x0?(o=this[B(0x117)]['readFileLines'](l)[B(0x122)]((s,t)=>{const G=B;return s['includes'](G(0x160))?t+0x1:null;})[B(0x14e)](s=>s!==null),this[B(0x117)][B(0x136)]({'filePath':l,'content':'\x09{'+k['templateName']+'}','lineNumber':o[0x0]})):Log[B(0x115)](B(0x154)+l);}else{const s=this['fsi']['readFileLines'](l)[B(0x122)](v=>{const H=B;return v[H(0x125)](H(0x127));}),t=s[B(0x13e)](!![])>-0x1,u=t?B(0x156):B(0x11a);await this[B(0x117)][B(0x12b)]({'filePath':l,'content':'\x0a\x09\x09'+m+B(0x144),'begin':B(0x12e),'end':u});}}else{if(d[B(0x143)][B(0x112)]===B(0x128)){const v=this['fsi'][B(0x132)]({'pathParts':[B(0x161),'startup',B(0x112),B(0x155)]});l=this[B(0x117)][B(0x159)]({'pathParts':[v],'config':d}),m=this[B(0x117)]['templateContent']({'srcPath':B(0x11e),'context':k}),await this['fsi'][B(0x123)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log['error'](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a118m=a118d;(function(a,b){const j=a118d,c=a();while(!![]){try{const d
|
|
1
|
+
const a118m=a118d;(function(a,b){const j=a118d,c=a();while(!![]){try{const d=parseInt(j(0xa9))/0x1+parseInt(j(0xc0))/0x2+-parseInt(j(0xb7))/0x3*(parseInt(j(0xb0))/0x4)+-parseInt(j(0xaf))/0x5+parseInt(j(0xaa))/0x6+-parseInt(j(0xb4))/0x7+-parseInt(j(0xc7))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x44f6b));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a118d;if(c){const e=c[k(0xbd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const l=a118d;return a118a[l(0xad)]()['search'](l(0xb8))[l(0xad)]()['constructor'](a118a)['search'](l(0xb8));});a118a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xa9;let f=c[d];return f;},a118d(a,b);}function a118c(){const p=['pathFromApp','fsi','withValue','logger','resourceName','tsx','1516120pczPrO','331052GTJFeQ','3213636vgyLCP','engines','maka\x20g:svc\x20service-logger\x20--type=logger','toString','winston','1705960iXfxsJ','143876ZSSSWE','checkNpmPackage','winston\x20setimmediate','Installing\x20winston','3318tuBHGJ','service/logger/logger.js','getMakaProjectConfig','45nlDXqO','(((.+)+)+)+$','error','type','template','installNpmPackage','apply','service','lib','973066HlipmP'];a118c=function(){return p;};return a118c();}Generator['create']({'name':a118m(0xbe),'aliases':['svc'],'usage':'maka\x20{generate,\x20g}:{service}\x20<resource-name>','shortDesc':'Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','requiredOpts':[{'name':a118m(0xba),'values':[a118m(0xc4)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a118m(0xac)]},async function(a,b){const n=a118m;try{const c=this[n(0xc2)][n(0xb6)]();await this[n(0xc2)][n(0xc3)](c,async()=>{const o=n,d=this[o(0xc2)][o(0xc1)]({}),f=paramCase(b[o(0xc5)]),g={'name':pascalCase(b[o(0xc5)]),'fileName':f,'camelCase':camelCase(b[o(0xc5)]),'type':b[o(0xba)],'engine':c[o(0xab)]['js'],'noRename':!![]};let h='js';c['engines']['js']===o(0xc6)&&(h='ts');if(b[o(0xba)]==='logger'){!this[o(0xc2)][o(0xb1)](o(0xae))&&await this['fsi'][o(0xbc)](o(0xb2),{'cwd':d,'msg':o(0xb3)});const i=this[o(0xc2)]['pathFromApp']({'pathParts':['imports','startup',o(0xbf),'services',f+'.'+h]});await this['fsi'][o(0xbb)]({'srcPath':o(0xb5),'destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0xb9)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x152))/0x1*(parseInt(f(0x14a))/0x2)+-parseInt(f(0x155))/0x3*(-parseInt(f(0x156))/0x4)+parseInt(f(0x14e))/0x5+parseInt(f(0x14b))/0x6+-parseInt(f(0x14c))/0x7+parseInt(f(0x14f))/0x8+parseInt(f(0x154))/0x9*(-parseInt(f(0x153))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xc1985));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x149)]()[h(0x157)](h(0x14d))[h(0x149)]()[h(0x151)](a119a)[h(0x157)](h(0x14d));});a119a();function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x149;var f=c[d];return f;},a119d(a,b);}function a119c(){var i=['toString','6HZjxhF','5066760gjvtgu','576940mZYfeq','(((.+)+)+)+$','4032890jnDOml','199296ugIuYJ','apply','constructor','418720UgUjqv','190sfXfKy','359190LKVzMU','255LCdpFo','57124LsLXhC','search'];a119c=function(){return i;};return a119c();}import'./translation.js';import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a120l=a120d;(function(a,b){const i=a120d,c=a();while(!![]){try{const d=-parseInt(i(0x124))/0x1*(parseInt(i(0x13b))/0x2)+parseInt(i(0x128))/0x3*(parseInt(i(0x135))/0x4)+parseInt(i(0x133))/0x5*(parseInt(i(0x138))/0x6)+parseInt(i(0x127))/0x7*(parseInt(i(0x12a))/0x8)+parseInt(i(0x12d))/0x9+-parseInt(i(0x13c))/0xa+-parseInt(i(0x13a))/0xb*(-parseInt(i(0x125))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xde390));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a120d;if(c){const e=c[j(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const k=a120d;return a120a[k(0x13e)]()['search'](k(0x13d))[k(0x13e)]()[k(0x130)](a120a)['search']('(((.+)+)+)+$');});function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x124;let f=c[d];return f;},a120d(a,b);}a120a();function a120c(){const o=['join','169202fDlUcF','1473878lMgymE','15939500ZXkCku','(((.+)+)+)+$','toString','service','1MjclgL','204ZIMLRB','getAppConfigPath','91kvSVRn','4239bvYtwj','maka\x20{generate,\x20g}:sslconfig','530496BikdlM','sslconfig','maka\x20g:sslconfig\x20--env\x20dev','15838587Nmhvxf','env','fsi','constructor','Generate\x20a\x20new\x20openssl\x20config\x20file','withValue','1315TPRUDk','getMakaProjectConfig','796LDqRbh','create','apply','1746ERUNMv'];a120c=function(){return o;};return a120c();}import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a120e from'path';Generator[a120l(0x136)]({'name':a120l(0x12b),'usage':a120l(0x129),'shortDesc':a120l(0x131),'noNeedResource':!![],'requiredOpts':[a120l(0x12e)],'examples':[a120l(0x12c)],'validOpts':[]},async function(a,b){const m=a120l;try{const c=await this['fsi'][m(0x134)](),d=await this[m(0x12f)]['getGlobalConfig'](),f=this['fsi'][m(0x126)](b[m(0x12e)]),g=a120e[m(0x139)](f,'_keys','openssl.conf');await this[m(0x12f)][m(0x132)](c,async()=>{const n=m,h={'app':d['appName'],'noRename':!![]};await this[n(0x12f)]['template']({'srcPath':'openssl/openssl.conf','destPath':g,'framework':n(0x13f),'context':h,'config':c});});}catch(h){Log['error'](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a121c(){const D=['2482566NXGgGB','fsi','client','1662689RIBFbE','Locale\x20already\x20exported:\x20','isFile','\x20}\x20from\x20\x27./','error','exit','engines','i18n/i18n.js','Generate\x20a\x20new\x20locale\x20translation','.js','constructor','i18n.js','startup','services','search','warn','create','imports','18630623WcEJaz','(((.+)+)+)+$','pathFromApp','\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','Locale\x20already\x20defined:\x20','server','index.','appName','import\x20\x27../lib/services/translations/i18n\x27;\x0a','19ONiDNC','true','template','3849050ERdDHv','50266TwrXFK','maka\x20g:translation\x20--lang=en\x20(default)','10100GbJEXI','i18next\x20i18next-browser-languagedetector\x20react-i18next','maka\x20g:translation\x20--lang=de','injectAtBeginningOfFile','63WfSwOd','lib','injectAtEndOfFile','apply','i18n/index.js','installNpmPackage','5715yIHNff','5SrSXAd','service','setProjectConfig','checkNpmPackage','withValue','6176xjdnhJ','i18next','index.js','lang','grep','locales','maka\x20g:translation\x20--lang=fr','i18n/locales.js','translation','readFileSync','toString','rewriteDestinationPathForEngine','translations','ssr'];a121c=function(){return D;};return a121c();}const a121A=a121d;(function(a,b){const x=a121d,c=a();while(!![]){try{const d=-parseInt(x(0x162))/0x1*(-parseInt(x(0x166))/0x2)+parseInt(x(0x16c))/0x3*(-parseInt(x(0x168))/0x4)+parseInt(x(0x131))/0x5*(parseInt(x(0x144))/0x6)+parseInt(x(0x147))/0x7+-parseInt(x(0x136))/0x8*(-parseInt(x(0x130))/0x9)+parseInt(x(0x165))/0xa+-parseInt(x(0x159))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x3ecc6));function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x12e;let f=c[d];return f;},a121d(a,b);}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a121d;if(c){const e=c[y(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const z=a121d;return a121a[z(0x140)]()[z(0x155)]('(((.+)+)+)+$')[z(0x140)]()[z(0x151)](a121a)[z(0x155)](z(0x15a));});a121a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a121e from'fs';Generator[a121A(0x157)]({'name':a121A(0x13e),'usage':'maka\x20{generate,\x20g}:translation','aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':'lang','boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a121A(0x14f),'description':a121A(0x15c),'examples':[a121A(0x167),a121A(0x13c),a121A(0x16a)],'validOpts':[]},async function(a,b){const B=a121A;try{const c=this['fsi']['getMakaProjectConfig'](),d=this['fsi']['getGlobalConfig'](),f=this[B(0x145)]['findAppDirectory']();await this[B(0x145)][B(0x135)](c,()=>{const C=B;try{!b[C(0x139)]&&(b['lang']='en');!b['root']&&!this['fsi'][C(0x134)](C(0x137))&&(Log[C(0x156)]('Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...'),this['fsi'][C(0x12f)](C(0x169),{'cwd':f}),this[C(0x145)][C(0x133)]('features.withTranslations',!![]));const g=this['fsi'][C(0x15b)]({'pathParts':[C(0x158),C(0x153),C(0x146),C(0x138)]}),h=this[C(0x145)][C(0x141)]({'pathParts':[g],'config':c}),i=this['fsi'][C(0x13a)](a121e['readFileSync'](h)['toString'](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];if(c[C(0x14d)][C(0x143)]===C(0x163)){!i&&this[C(0x145)][C(0x16b)]({'filePath':h,'content':C(0x161)});const t=this[C(0x145)]['pathFromApp']({'pathParts':[C(0x158),C(0x153),C(0x15e),C(0x138)]}),u=this['fsi'][C(0x141)]({'pathParts':[t],'config':c}),v=this[C(0x145)][C(0x13a)](a121e[C(0x13f)](u)[C(0x140)](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];!v&&this[C(0x145)][C(0x16b)]({'filePath':u,'content':C(0x161)});}else!i&&this[C(0x145)][C(0x16b)]({'filePath':h,'content':C(0x161)});const j={'app':d[C(0x160)],'config':c},k=this['fsi'][C(0x15b)]({'pathParts':[C(0x158),C(0x153),'lib',C(0x154),'translations',C(0x152)]}),l=this[C(0x145)][C(0x149)](this[C(0x145)][C(0x141)]({'pathParts':[k],'config':c}));!l&&this[C(0x145)]['template']({'srcPath':C(0x14e),'destPath':k,'framework':C(0x132),'context':j,'config':c});const m=this[C(0x145)]['pathFromApp']({'pathParts':[C(0x158),C(0x153),C(0x16d),C(0x154),C(0x142),C(0x13b),b[C(0x139)]+C(0x150)]}),n=this[C(0x145)][C(0x141)]({'pathParts':[m],'config':c}),o=this[C(0x145)][C(0x149)](n);!o?this[C(0x145)][C(0x164)]({'srcPath':C(0x13d),'destPath':m,'framework':C(0x132),'context':j,'config':c}):Log[C(0x156)](C(0x15d)+n);const p=this['fsi'][C(0x15b)]({'pathParts':['imports',C(0x153),C(0x16d),'services','translations',C(0x13b),C(0x15f)+c['engines']['js']]}),q=this[C(0x145)][C(0x141)]({'pathParts':[p],'config':c}),r=this['fsi']['isFile'](q);!r&&this[C(0x145)]['template']({'srcPath':C(0x12e),'destPath':p,'framework':C(0x132),'context':j,'config':c});const s=this[C(0x145)][C(0x13a)](a121e['readFileSync'](p)['toString'](),'default\x20as\x20'+b[C(0x139)])[0x0]&&!![];!s?this['fsi'][C(0x16e)]({'filePath':p,'content':'export\x20{\x20default\x20as\x20'+b['lang']+C(0x14a)+b[C(0x139)]+'\x27;'}):Log[C(0x156)](C(0x148)+p);}catch(w){Log[C(0x14b)](w),process[C(0x14c)](0x1);}});}catch(g){Log[B(0x14b)](g),process[B(0x14c)](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a122m=a122d;function a122c(){const n=['url','NODE_NO_WARNINGS','env','3252452cMfNfc','488036Bxfvfh','(((.+)+)+)+$','toString','argv','totalmem','615240zpiHqE','slice','search','apply','camelizeKeys','2028200pPXQvU','27ROuhpQ','6ESvfMh','dirname','--max-old-space-size=','TOOL_NODE_FLAGS','parse','245441Kbhqvu','constructor','874652DcZRLD','floor','MAKA_COMMAND_PATH','2861130pEiPRC'];a122c=function(){return n;};return a122c();}(function(a,b){const j=a122d,c=a();while(!![]){try{const d=-parseInt(j(0x1a6))/0x1+parseInt(j(0x1a8))/0x2+parseInt(j(0x1a1))/0x3*(parseInt(j(0x1b0))/0x4)+-parseInt(j(0x19f))/0x5+-parseInt(j(0x1ab))/0x6+parseInt(j(0x1af))/0x7+parseInt(j(0x19a))/0x8*(parseInt(j(0x1a0))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x3cbb7));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a122d;if(c){const e=c[k(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const l=a122d;return a122a[l(0x1b2)]()[l(0x19c)]('(((.+)+)+)+$')[l(0x1b2)]()[l(0x1a7)](a122a)[l(0x19c)](l(0x1b1));});function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x198;let f=c[d];return f;},a122d(a,b);}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';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a122m(0x1ac)]),__dirname=a122g[a122m(0x1a2)](__filename);global[a122m(0x1aa)]=__dirname;const total_memory=a122f[a122m(0x199)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a122m(0x1a9)](total_mem_in_mb),process[a122m(0x1ae)][a122m(0x1a4)]=a122m(0x1a3)+total_mem_in_mb,process[a122m(0x1ae)]['BROWSERSLIST_IGNORE_OLD_DATA']='1',process[a122m(0x1ae)][a122m(0x1ad)]='1';const argv=a122e(process[a122m(0x198)][a122m(0x19b)](0x2)),args=argv['_'],deepCopyArgv=JSON[a122m(0x1a5)](JSON['stringify'](argv));delete deepCopyArgv['_'];const opts=a122h[a122m(0x19e)](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
|
-
function
|
|
1
|
+
const a123L=a123d;(function(a,b){const I=a123d,c=a();while(!![]){try{const d=parseInt(I(0x98))/0x1+-parseInt(I(0x7e))/0x2+parseInt(I(0x8a))/0x3+-parseInt(I(0x94))/0x4*(-parseInt(I(0x87))/0x5)+parseInt(I(0x86))/0x6+-parseInt(I(0x8f))/0x7+parseInt(I(0xbc))/0x8*(parseInt(I(0xac))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xa9269));function a123c(){const a1=['Please\x20choose\x20a\x20valid\x20value\x20for\x20','push','shortDesc','docker','cwd','homedir','isCommand','resourceName','validateMeteorInstall','(((.+)+)+)+$','proCommands','fsi','isGenerator','roles','Please\x20choose\x20an\x20environment','_handler','None','2417276RVfZkO','search','dir','isPro','platform','No\x20description\x20provided.','list','getShortName','2157888kDmexA','4675ZufBFQ','examples','\x20installed\x20to\x20use\x20this\x20command.','948216LGBxbw','env','Invalid\x20value\x20for\x20','string','description','3010189IwTpbL','keys','\x20version\x20','domainLicense','length','5308LWqIPJ','root','formatToNamedParam','win32','414768dirayk','parent','To\x20use\x20this\x20generator,\x20\x22','error','charAt','validateMakaSubscription','To\x20use\x20this\x20command,\x20\x22','Please\x20provide\x20a\x20value\x20for\x20','config','.meteor','ask','apply','name','aliases','getPro','No\x20usage\x20provided.','assign','AppData','remapShortToLong','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','9FDhxMG','help','validateMakaProject','Local','includes','validateParams','NIE','usage','Please\x20provide\x20a\x20valid\x20argument\x20for\x20','exit','toString','every','options','findProjectDirectory','getMakaProjectConfig','join','2184cfyMUR'];a123c=function(){return a1;};return a123c();}const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a123d;if(c){const e=c[J(0xa3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const K=a123d;return a123a[K(0xb6)]()[K(0x7f)](K(0xc6))['toString']()['constructor'](a123a)[K(0x7f)]('(((.+)+)+)+$');});function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x7d;let f=c[d];return f;},a123d(a,b);}a123a();import a123e from'path';import a123f from'os';import a123g from'fs';const homeDir=a123f[a123L(0xc2)]();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError}from'./error.js';export class Tool{[a123L(0xc0)];[a123L(0xc8)];['options'];['name'];[a123L(0x99)];[a123L(0xcc)];constructor(){const M=a123L;this[M(0xc0)]=new Docker(),this[M(0xc8)]=new FSI();}[a123L(0x85)](a){const N=a123L;return a[N(0x9c)](0x0);}[a123L(0xaa)](a,b){const O=a123L,c=this[O(0x96)](b),d={...a};for(const e of c){const f=this[O(0x85)](e[O(0xa4)]);a[f]&&(d[e[O(0xa4)]]=a[f],delete d[f]);}return d;}[a123L(0x96)](a){const P=a123L;if(a[P(0xb7)](b=>typeof b===P(0x8d)))return a['map'](b=>({'name':b}));return a;}['match'](a){const Q=a123L,b=[this[Q(0xa4)]]['concat'](this[Q(0xb8)][Q(0xa5)]||[]);return this[Q(0x99)]&&b['push'](this['parent']),b['includes'](a);}[a123L(0xae)](){const R=a123L,a=this[R(0xc8)][R(0xb9)]();return a!==![]?!![]:![];}[a123L(0xc5)](){const S=a123L;let a=a123e[S(0xbb)](homeDir,S(0xa1));const b=process[S(0x82)]===S(0x97);if(b){a=a123e[S(0xbb)](homeDir,S(0xa9),S(0xaf),S(0xa1));if(!a123g['existsSync'](a))return![];}else{if(!a123g['existsSync'](a))return![];}return!![];}['validateEngines'](a){const T=a123L,b=this[T(0xc8)][T(0xba)](),c=b['engines'],d=Object[T(0x90)](a);if(d[T(0x93)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log['error']('You\x20must\x20have\x20'+e+T(0x91)+a[e]+T(0x89));throw UsageError;}}}async[a123L(0xb1)](a,b,c){const U=a123L,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object['keys'](b);if(h[U(0xb0)](U(0xc4))&&b[U(0xc4)]===undefined&&!g){const m=await Actions[U(0xa2)]('Please\x20provide\x20a\x20resource\x20name:');b['resourceName']=m;}let i=[],j=b;if(d){i=this[U(0x96)](d),j=this[U(0xaa)](b,i);if(i&&i?.[U(0x93)]>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object[U(0x90)](j)[U(0xb0)](o)){if(o===U(0x8b)){const r=this[U(0xc8)]['getAppProjectConfigs'](),s=await Actions[U(0xb8)]({'type':U(0x84),'name':U(0x8b),'message':U(0xcb),'choices':r});b['env']=s['env'];}else{const t=p;if(t){const u=await Actions[U(0xb8)]({'type':U(0x84),'name':o,'message':'Please\x20choose\x20a\x20value\x20for\x20'+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[U(0xa2)]('Please\x20provide\x20a\x20value\x20for\x20'+o);if(v['match'](q))b[o]=v;else{Log[U(0x9b)](U(0x8c)+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions[U(0xa2)](U(0x9f)+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p[U(0xb0)](x)){Log['error']('Invalid\x20value\x20for\x20'+o+':\x20'+x);throw new UsageError();}}}}let k=this['formatToNamedParam'](f),l=b;if(k&&Object[U(0x90)](k)?.['length']>0x0){k=k['concat'](i||[]),k[U(0xbe)]({'name':U(0xc4),'hidden':!![]}),k[U(0xbe)]({'name':U(0xad),'boolFlag':!![]}),k[U(0xbe)]({'name':U(0x80),'hidden':!![]}),k[U(0xbe)]({'name':U(0xc1),'hidden':!![]}),k[U(0xbe)]({'name':U(0x95),'hidden':!![]}),k['push']({'name':U(0xa0),'hidden':!![]}),l=this[U(0xaa)](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A[U(0xb0)](B))){const C=A;if(C){const D=await Actions[U(0xb8)]({'type':U(0x84),'name':z,'message':U(0xbd)+z,'choices':A});l[z]=D[z];}}if(k[U(0x93)]>0x0)for(const E of Object[U(0x90)](l)){const F=k['find'](G=>G[U(0xa4)]===E);if(!F){Log['error']('Invalid\x20option:\x20'+E);throw new UsageError();}}}}if(e&&e?.[U(0x93)]>0x0)for(const G of e){if(!e[U(0xb0)](G)){Log[U(0x9b)]('Invalid\x20argument:\x20'+G);const H=await Actions[U(0xa2)](U(0xb4)+G);a[a['indexOf'](G)]=H;}}return Object[U(0xa8)](j,l);}async[a123L(0x9d)](a){const V=a123L;try{if(!a)return;const b=await this['fsi'][V(0xa6)]();!b&&(Log[V(0x9b)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process['exit'](0x1));const c=!b?.['roles']['includes']('singleLicense')&&!b?.[V(0xca)][V(0xb0)](V(0x92));if(this[V(0xc3)](a)){const d=V(0x9e)+a[V(0xa4)]+V(0xab);if(a[V(0xb8)]['disableAuthCheck'])return;const f=b?.[V(0xc7)]['includes'](a[V(0xa4)])||b?.[V(0xc7)][V(0xb0)](a[V(0x99)]||'')||this[V(0xb8)][V(0x81)];if(f&&c)throw d;}else{if(this[V(0xc9)](a)){const g=b?.['proGenerators'][V(0xb0)](a[V(0xa4)])||b?.['proGenerators']['includes'](a[V(0x99)]||'');if(g&&c)throw V(0x9a)+a[V(0xa4)]+V(0xab);}}}catch(h){Log[V(0x9b)](h),process[V(0xb5)](0x1);}}[a123L(0xc3)](a){return'options'in a;}[a123L(0xc9)](a){const W=a123L;return!(W(0xb8)in a);}['description'](){const X=a123L;return this[X(0xb8)][X(0x8e)]||this[X(0xb8)]['shortDesc']||X(0x83);}['shortDesc'](){const Y=a123L;return this[Y(0xb8)][Y(0xbf)]||Y(0xb2);}[a123L(0xb3)](){const Z=a123L;return this[Z(0xb8)][Z(0xb3)]||Z(0xa7);}[a123L(0x88)](){return this['options']['examples']||[];}[a123L(0xa5)](){const a0=a123L;return this['options'][a0(0xa5)]||a0(0x7d);}}
|