@maka/maka-cli 4.9.4 → 4.9.6
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/patreon.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/register.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/undo.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/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.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 -1
- 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/meteor/project/package.json +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/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
|
@@ -1 +1 @@
|
|
|
1
|
-
const a115A=a115d;
|
|
1
|
+
const a115A=a115d;(function(a,b){const x=a115d,c=a();while(!![]){try{const d=parseInt(x(0x185))/0x1+parseInt(x(0x182))/0x2*(parseInt(x(0x17a))/0x3)+-parseInt(x(0x174))/0x4*(parseInt(x(0x1a9))/0x5)+parseInt(x(0x18f))/0x6*(-parseInt(x(0x179))/0x7)+-parseInt(x(0x17d))/0x8+-parseInt(x(0x191))/0x9+parseInt(x(0x192))/0xa*(parseInt(x(0x1a5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x6d7e1));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a115d;if(c){const e=c[y(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const z=a115d;return a115a[z(0x180)]()[z(0x17b)](z(0x184))[z(0x180)]()['constructor'](a115a)[z(0x17b)](z(0x184));});a115a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a115e from'path';function a115c(){const E=['basic-drawer','<div\x20id=\x22','react','REACT','findAppDirectory','dir','/imports/ui/','{props.children}','1195548TgQppU','baseDir','7886475ujaqtH','12204590fTgDnX','true','/imports/startup/client/templates','fsi','getDirectories','pathFromApp','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','checkMeteorPackage','template','/imports/startup/lib/templates','appName','maka\x20generate:kit:mui:frame','{\x20this.props.children\x20}','withValue','{\x20props.children\x20}','{this.props.children}','tsx','kit/mui/frame/app-bars/','11ajkkxv','test','jsx','.js','5NeMWMB','maka\x20g:k:m:f','tests','getFiles','injectImport','app-tests','engines','frame','session','No\x20layouts\x20selected','basic-app-bar','injectIntoFile','-hook\x22>','/imports/ui/hooks','2252020LPQkve','join','log','kit/mui/frame/drawers/','checkbox','14bHNbvK','2196fceZmX','search','layouts','3525456nhbqwZ','length','Cleaning\x20up...','toString','injectTemplateModule','2084pVtaeU','apply','(((.+)+)+)+$','743756xCsZdS','error'];a115c=function(){return E;};return a115c();}import a115f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x16b;let f=c[d];return f;},a115d(a,b);}Generator['create']({'name':a115A(0x16d),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a115A(0x199),'validOpts':[a115A(0x17c)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a115A(0x18a)]},'examples':[a115A(0x19e),a115A(0x1aa)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const B=a115A;try{const c=B(0x170),d=B(0x187),f=this[B(0x195)]['getMakaProjectConfig'](),g=f[B(0x16c)]['ssr']===B(0x193);await this[B(0x195)][B(0x19a)](B(0x16e),{'shouldInstall':!![]});const h=this[B(0x195)][B(0x18b)](),i=a115e[B(0x175)](h,'imports','ui',B(0x17c)),j=this[B(0x195)][B(0x196)](i),k=await Actions['options']({'type':B(0x178),'name':B(0x17c),'message':B(0x198),'choices':j});if(k[B(0x17c)][B(0x17e)]===0x0){Log['error'](B(0x16f));return;}const l=b[B(0x190)]?B(0x18d)+b['baseDir']:B(0x173),m=this[B(0x195)]['pathFromApp']({'pathParts':[l,b['dir'],paramCase(c),paramCase(c)]}),n=this[B(0x195)][B(0x197)]({'pathParts':[l,b[B(0x18c)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[B(0x19d)])['replaceAll']('-','\x20')};await this[B(0x195)][B(0x1a0)](f,async()=>{const C=B;await this[C(0x195)][C(0x19b)]({'srcPath':C(0x1a4)+c+'.js','destPath':m+'.js','framework':C(0x189),'context':o,'config':f,'force':![],'ignore':![]}),await this['fsi']['template']({'srcPath':C(0x177)+d+C(0x1a8),'destPath':n+C(0x1a8),'framework':C(0x189),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0x18c)]+'/'+c+'/'+c;await this[B(0x195)][B(0x181)](c,f,p);const q=''+l+b[B(0x18c)]+'/'+d+'/'+d;await this['fsi'][B(0x181)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0x195)][B(0x1ac)](a115e[B(0x175)](i,s),{'extensions':[B(0x1a7),B(0x1a3)],'omit':[B(0x16b),B(0x1ab),B(0x1a6)]});for(const u of t){const v=a115e[B(0x175)](i,s,u);await this[B(0x195)]['injectImport']({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0x19c):B(0x194),'isNamedExport':!![]}),await this[B(0x195)][B(0x171)]({'filePath':v,'content':'<'+pascalCase(c)+'\x20/>\x0a','begin':[B(0x188)+s+'\x22>','<div\x20id=\x22'+s+B(0x172)],'end':[B(0x1a2),B(0x19f),'{props.children}',B(0x1a1)]}),await this[B(0x195)][B(0x1ad)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?B(0x19c):B(0x194),'isNamedExport':!![]}),await this[B(0x195)][B(0x171)]({'filePath':v,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':['<div\x20id=\x22'+s+'\x22>',B(0x188)+s+B(0x172)],'end':[B(0x1a2),'{\x20this.props.children\x20}',B(0x18e),'{\x20props.children\x20}']});}}return!![];}catch(w){Log[B(0x186)](w);}},async function(){const D=a115A;console[D(0x176)](D(0x17f));},a115f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=parseInt(f(0x123))/0x1+-parseInt(f(0x127))/0x2+-parseInt(f(0x12d))/0x3+-parseInt(f(0x11f))/0x4*(parseInt(f(0x121))/0x5)+-parseInt(f(0x126))/0x6*(-parseInt(f(0x12c))/0x7)+parseInt(f(0x12e))/0x8+-parseInt(f(0x11e))/0x9*(-parseInt(f(0x11c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xaa7a3));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a116d;if(c){const e=c[g(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const h=a116d;return a116a[h(0x128)]()[h(0x12b)](h(0x125))[h(0x128)]()[h(0x122)](a116a)[h(0x12b)](h(0x125));});a116a();import{Generator}from'../../../generator.js';import a116e from'../kit.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x11c;let f=c[d];return f;},a116d(a,b);}const MuiGen=Generator[a116i(0x129)]({'name':a116i(0x11d),'aliases':['m'],'usage':a116i(0x12a),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':![],'examples':[a116i(0x124)]},async function(){throw'NIE';},async function(){},a116e);export default MuiGen;function a116c(){const j=['29286yBHQBd','2585652BMAsPC','toString','create','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','search','553kFhwtK','1210989Uftwec','10427480dbebwe','10lSlJZE','mui','2479023UkJqQj','4dBoIOS','apply','2658115UAgfFZ','constructor','961906PRXEPd','maka\x20g:kit:m','(((.+)+)+)+$'];a116c=function(){return j;};return a116c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x110))/0x1*(parseInt(l(0x12c))/0x2)+-parseInt(l(0x100))/0x3*(-parseInt(l(0x123))/0x4)+-parseInt(l(0x128))/0x5+parseInt(l(0x107))/0x6*(-parseInt(l(0x121))/0x7)+-parseInt(l(0x105))/0x8*(-parseInt(l(0x120))/0x9)+-parseInt(l(0x11a))/0xa+parseInt(l(0x13e))/0xb*(parseInt(l(0x138))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x44477));function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xfe;let f=c[d];return f;},a117d(a,b);}const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x111)]()[n(0x13b)]('(((.+)+)+)+$')[n(0x111)]()[n(0x126)](a117a)['search'](n(0x11e));});a117a();import a117e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a117c(){const r=['1856jZgaoX','ramda','36BjZtVd','includes','hook/hook.js','className','apply','template/template.css','css','test/test.js','.app-tests.js','1HPAcZy','toString','checkNpmPackage','react','injectAtBeginningOfFile','dir','resourceName','.js','/imports/ui/layouts','pathFromProject','3539510ZqgFVK','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','withHook','withTranslations','(((.+)+)+)+$','fsi','10170AJyzyp','572089NbKGlA','pathFromApp','1048pgzxPC','findAppDirectory','string','constructor','injectTemplateModule','2228055vRFesO','relative','layout','features','352922nlKpvW','component/component.js','test','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','ssr','create','installNpmPackage','true','withValue','Scaffolding\x20for\x20a\x20React\x20Layout.','maka\x20g:layout\x20mobile/iPhone8','maka\x20g:l\x20web/safari','1013868mqWCkh','warn','api','search','setTemplate','fileName','132vokSqL','engines','.css','5382dXzQak','split','template','none','client'];a117c=function(){return r;};return a117c();}const aliases=['l'];Generator[a117o(0x131)]({'name':a117o(0x12a),'aliases':aliases,'usage':a117o(0x11b),'shortDesc':a117o(0x135),'validOpts':[],'examples':[a117o(0x136),a117o(0x137)]},async function(a,b){const p=a117o,c=p(0x118),d=this['fsi'][p(0x124)](),e=this[p(0x11f)][p(0x122)]({'pathParts':[c,b[p(0x115)],paramCase(b[p(0x116)]),paramCase(b[p(0x116)])]}),f=this[p(0x11f)]['getMakaProjectConfig']();await this['fsi'][p(0x134)](f,async()=>{const q=p;typeof f[q(0x102)]['test']===q(0x125)&&(f[q(0x102)][q(0x12e)]=f[q(0x102)][q(0x12e)]===q(0x133)?!![]:![],this['fsi'][q(0x13c)]('test',f['template'][q(0x12e)]));typeof f['template'][q(0x10d)]===q(0x125)&&(f[q(0x102)][q(0x10d)]=f[q(0x102)][q(0x10d)]===q(0x133)?!![]:![],this[q(0x11f)][q(0x13c)](q(0x10d),f[q(0x102)]['css']));typeof f[q(0x102)]['js']===q(0x125)&&(f['template']['js']=f['template']['js']===q(0x133)?!![]:![],this['fsi']['setTemplate']('js',f[q(0x102)]['js']));!f[q(0x12b)]&&(f[q(0x12b)]={});const g=b['_']?b['_'][0x0][q(0x101)](':')[0x1]:![],h=b['_']&&aliases[q(0x108)](g);h&&!this[q(0x112)](q(0x106))&&(Log[q(0x139)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this['fsi'][q(0x132)](q(0x106),{'cwd':d}));if(h&&!this[q(0x112)]('react')){Log['warn'](q(0x12f));return;}const i={'name':pascalCase(b[q(0x116)]),'myPath':a117e[q(0x129)](this['fsi'][q(0x119)]({}),e),'cssCaseName':paramCase(b[q(0x116)]),'className':pascalCase(b[q(0x116)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0x116)]),'graphql':f[q(0xfe)]['graphql'],'features':f[q(0x12b)],'client':f[q(0xfe)][q(0x104)],'api':f['engines'][q(0x13a)],'ssr':f[q(0xfe)][q(0x130)],'test':f[q(0xfe)][q(0x12e)],'theme':f['engines']['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][q(0x11d)]};f[q(0x12b)]?.['withHooks']||b[q(0x11c)]?await this[q(0x11f)][q(0x102)]({'srcPath':q(0x109),'destPath':e+'.js','framework':q(0x113),'context':i,'config':f}):await this[q(0x11f)]['template']({'srcPath':q(0x12d),'destPath':e+q(0x117),'framework':'react','context':i,'config':f});f['engines']['test']!==q(0x103)&&await this[q(0x11f)][q(0x102)]({'srcPath':q(0x10e),'destPath':e+q(0x10f),'framework':q(0x113),'context':i,'config':f});f[q(0x102)][q(0x10d)]&&(await this[q(0x11f)]['template']({'srcPath':q(0x10c),'destPath':e+q(0xff),'context':Object['assign']({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this['fsi'][q(0x114)]({'filePath':e+'.'+f[q(0xfe)]['js'],'content':'import\x20\x27./'+i[q(0x13d)]+'.'+f[q(0xfe)][q(0x10d)]+'\x27;'}));const j=b['dir']?'/'+b[q(0x115)]+'/':'/',k=''+c+j+i[q(0x13d)]+'/'+i[q(0x13d)];await this['fsi'][q(0x127)](i[q(0x10a)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a118i=a118d;function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x99;let f=c[d];return f;},a118d(a,b);}(function(a,b){const f=a118d,c=a();while(!![]){try{const d=-parseInt(f(0xa0))/0x1*(parseInt(f(0x9a))/0x2)+parseInt(f(0xa1))/0x3+-parseInt(f(0x9d))/0x4*(-parseInt(f(0xa5))/0x5)+parseInt(f(0xaf))/0x6+parseInt(f(0xaa))/0x7+parseInt(f(0x9e))/0x8+-parseInt(f(0xa3))/0x9*(parseInt(f(0xa6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x49a14));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0xab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a[h(0x9b)]()[h(0xa4)](h(0xa9))['toString']()[h(0xa2)](a118a)['search'](h(0xa9));});function a118c(){const j=['1554izWTCt','918738lVjtyn','constructor','5513499IVwZKA','search','366330VkGILb','10dviNst','maka\x20generate:scaffold\x20todos','maka\x20g:api\x20trucks','(((.+)+)+)+$','1415960RjxWAJ','apply','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:route\x20todos/edit','generate','877770rzeWup','maka\x20g:package\x20package:name','86zboZjI','toString','maka\x20g:scaffold\x20todos','16UQrLHI','265088CrIahJ','Scaffold\x20various\x20parts\x20of\x20your\x20application'];a118c=function(){return j;};return a118c();}a118a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a118i(0xae),'aliases':['g'],'usage':a118i(0xac),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a118i(0x9f),'examples':[a118i(0xa7),a118i(0x9c),'maka\x20g:template\x20todos/todo_item',a118i(0x99),a118i(0xad),a118i(0xa8),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=parseInt(j(0x15f))/0x1*(-parseInt(j(0x186))/0x2)+-parseInt(j(0x17d))/0x3*(parseInt(j(0x168))/0x4)+-parseInt(j(0x178))/0x5+-parseInt(j(0x16c))/0x6*(parseInt(j(0x16a))/0x7)+-parseInt(j(0x165))/0x8*(-parseInt(j(0x15e))/0x9)+-parseInt(j(0x160))/0xa*(parseInt(j(0x173))/0xb)+parseInt(j(0x163))/0xc*(parseInt(j(0x180))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xa5ab5));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a119d;if(c){const e=c[k(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const l=a119d;return a119a[l(0x184)]()[l(0x164)](l(0x17c))[l(0x184)]()[l(0x17a)](a119a)[l(0x164)]('(((.+)+)+)+$');});a119a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a119c(){const p=['maka\x20{generate,\x20g}:{method,\x20m}\x20name','methods','2799070LYeyDh','pathFromApp','constructor','dir','(((.+)+)+)+$','370509cpychH','error','appPathPrefix','180934OVueHV','maka\x20g:method\x20todos','getMakaProjectConfig','method/method.js','toString','resourceName','34798YHTTbE','withValue','create','7537842ZUoAdf','15cimdrc','30PRoGCO','fsi','engines','1776HydyIy','search','8eiUduG','apply','method','4TSZDwP','startup','5593GKjkLc','mdg:validated-method','7338IcCKMA','checkMeteorPackage','imports','-rpc-method\x27;','index.','template','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','1090254tBBDqE','import\x20\x27./methods','tsx'];a119c=function(){return p;};return a119c();}import{camelCase,paramCase,pascalCase}from'change-case';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x15c;let f=c[d];return f;},a119d(a,b);}Generator[a119m(0x15d)]({'name':a119m(0x167),'aliases':['m'],'usage':a119m(0x176),'checkWhere':!![],'shortDesc':a119m(0x172),'validOpts':[a119m(0x17b)],'examples':[a119m(0x181)]},async function(a,b){const n=a119m;try{const c=this[n(0x161)][n(0x182)]();await this[n(0x161)][n(0x15c)](c,async()=>{const o=n,d=paramCase(b[o(0x185)]),f={'name':b[o(0x185)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0x185)]),'noRename':!![]};let g='js';c[o(0x162)]['js']===o(0x175)&&(g='ts');await this[o(0x161)][o(0x16d)](['maka:check','ddp-rate-limiter',o(0x16b)],{'shouldInstall':!![]}),await this[o(0x161)][o(0x171)]({'srcPath':o(0x183),'destPath':this[o(0x161)][o(0x179)]({'pathParts':[o(0x16e),o(0x169),b['appPathPrefix'],o(0x177),b['dir'],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[o(0x17b)]?'/'+b[o(0x17b)]+'/':'/',i=this[o(0x161)]['pathFromApp']({'pathParts':[o(0x16e),o(0x169),b[o(0x17f)],o(0x170)+c[o(0x162)]['js']]});await this[o(0x161)]['injectAtEndOfFile']({'filePath':i,'content':o(0x174)+h+d+o(0x16f)});});}catch(d){Log[n(0x17e)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x123;let f=c[d];return f;},a120d(a,b);}const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d=-parseInt(l(0x148))/0x1+-parseInt(l(0x13c))/0x2+-parseInt(l(0x131))/0x3+-parseInt(l(0x138))/0x4*(-parseInt(l(0x132))/0x5)+-parseInt(l(0x143))/0x6+-parseInt(l(0x136))/0x7+parseInt(l(0x13b))/0x8*(parseInt(l(0x12d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xc4e39));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a120d;if(c){const e=c[m(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const n=a120d;return a120a['toString']()['search'](n(0x149))[n(0x135)]()[n(0x130)](a120a)['search']('(((.+)+)+)+$');});a120a();import a120e from'path';import{Generator}from'../generator.js';function a120c(){const r=['3217128xfGHHr','/package.js','template','create','client','1363456szgkas','(((.+)+)+)+$','getMakaProjectConfig','package/','apply','/client/','withValue','package/package.js','engines','pathFromAppWithNoReWrite','resourceName','fsi','29565927iNdYFr','theme','hasOwnProperty','constructor','3337410sBqHLA','5207030HhqJHB','tests/server','lib','toString','2921716zETvpk','dir','4POIHOF','template/template.js','.js','8QYAiGJ','181100GtsnuL','packages','pathFromApp','features','relative','tests/client','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>'];a120c=function(){return r;};return a120c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a120o(0x146)]({'name':'package','aliases':['p'],'usage':a120o(0x142),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a120o(0x137)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a120o,c=paramCase(b[p(0x12b)]),d=this[p(0x12c)][p(0x13e)]({'pathParts':[p(0x13d),b[p(0x137)],c]}),e=this[p(0x12c)][p(0x12a)]({'pathParts':[p(0x13d),b[p(0x137)],c,'package.js']}),f=this[p(0x12c)][p(0x123)]();await this['fsi'][p(0x127)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x12b)]),'myPath':a120e[q(0x140)](this[q(0x12c)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x12b)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[q(0x129)][q(0x147)],'graphql':f[q(0x129)]['graphql'],'ssr':f[q(0x129)]['ssr'],'isComponent':b[q(0x12f)]('component'),'isLayout':b[q(0x12f)]('layout'),'isStore':b[q(0x12f)]('store'),'features':f[q(0x13f)],'noRename':!![],'theme':f[q(0x129)][q(0x12e)]};await this['fsi'][q(0x145)]({'srcPath':q(0x128),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+q(0x126)+c+q(0x13a);await this[q(0x12c)][q(0x145)]({'srcPath':q(0x139),'destPath':h,'context':g,'config':f});const i=[q(0x134),'server',q(0x141),q(0x133)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x13a);await this['fsi']['template']({'srcPath':q(0x124)+j+q(0x144),'destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121l=a121d;(function(a,b){const j=a121d,c=a();while(!![]){try{const d
|
|
1
|
+
const a121l=a121d;(function(a,b){const j=a121d,c=a();while(!![]){try{const d=parseInt(j(0x18e))/0x1*(parseInt(j(0x18b))/0x2)+parseInt(j(0x19e))/0x3*(-parseInt(j(0x1ab))/0x4)+-parseInt(j(0x18d))/0x5+-parseInt(j(0x180))/0x6*(parseInt(j(0x16e))/0x7)+parseInt(j(0x1ae))/0x8+parseInt(j(0x18f))/0x9+-parseInt(j(0x19f))/0xa*(-parseInt(j(0x16c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xccb28));const a121b=(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;};}()),a121a=a121b(this,function(){const k=a121d;return a121a['toString']()[k(0x1a8)]('(((.+)+)+)+$')['toString']()[k(0x18c)](a121a)[k(0x1a8)](k(0x181));});a121a();function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x16a;let f=c[d];return f;},a121d(a,b);}import a121e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a121f from'../generators/maka.gen.js';function a121c(){const o=['Generate\x20a\x20page.','component','hasOwnProperty','withHook','1123935FdNlbf','51830yqQSFh','true','injectTemplateModule','none','withValue','/imports/ui/','dir','fsi','/imports/ui/pages','search','vanilla','pathFromProject','4WpzoKs','withHooks','template','4624584JoFZTD','api','components','682AGUPwR','resourceName','1676899SNbczh','html','warn','layout','react','import\x20\x27./','Updating\x20npm\x20packages\x20...','test','hooks','root','injectAtBeginningOfFile','baseDir','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','css','layouts','store','getMakaProjectConfig','client','6MtzgOO','(((.+)+)+)+$','engines','setTemplate','processAndRunGenerator','maka\x20g:page\x20todos/todos-item','ssr','component/component.js','test/test.js','ramda','features','4liivit','constructor','6178160vCNMtw','82471TVQLOV','14615217TTnYgZ','graphql','string','template/template.html','assign','relative','.css','pathFromApp','create','fileName','.html'];a121c=function(){return o;};return a121c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a121l(0x197)]({'name':'page','aliases':aliases,'usage':a121l(0x17a),'shortDesc':a121l(0x19a),'validOpts':[{'name':a121l(0x179),'values':[a121l(0x176),a121l(0x16b),'pages',a121l(0x17c)]},{'name':a121l(0x19d),'boolFlag':!![]}],'examples':[a121l(0x185)]},async function(a,b){const m=a121l,c=b['baseDir']?m(0x1a4)+b['baseDir']:m(0x1a7),d=this[m(0x1a6)][m(0x196)](b),e=this[m(0x1a6)][m(0x196)]({'pathParts':[c,b[m(0x1a5)],paramCase(b[m(0x16d)]),paramCase(b[m(0x16d)])]}),f=this['fsi'][m(0x17e)]();let g='';return await this[m(0x1a6)][m(0x1a3)](f,async()=>{const n=m;typeof f[n(0x1ad)][n(0x16f)]==='string'&&(f['template'][n(0x16f)]=f[n(0x1ad)][n(0x16f)]===n(0x1a0)?!![]:![],this['fsi'][n(0x183)](n(0x16f),f[n(0x1ad)][n(0x16f)]));typeof f[n(0x1ad)]['test']===n(0x191)&&(f[n(0x1ad)][n(0x175)]=f[n(0x1ad)][n(0x175)]===n(0x1a0)?!![]:![],this[n(0x1a6)][n(0x183)](n(0x175),f['template']['test']));typeof f[n(0x1ad)][n(0x17b)]===n(0x191)&&(f['template'][n(0x17b)]=f[n(0x1ad)]['css']===n(0x1a0)?!![]:![],this[n(0x1a6)][n(0x183)](n(0x17b),f['template'][n(0x17b)]));typeof f[n(0x1ad)]['js']===n(0x191)&&(f[n(0x1ad)]['js']=f['template']['js']===n(0x1a0)?!![]:![],this[n(0x1a6)][n(0x183)]('js',f[n(0x1ad)]['js']));!f['features']&&(f['features']={});!b[n(0x177)]&&!this[n(0x1a6)]['checkNpmPackage'](n(0x189))&&(Log[n(0x170)](n(0x174)),this[n(0x1a6)]['installNpmPackage'](n(0x189),{'cwd':d}));const h={'name':pascalCase(b[n(0x16d)]),'myPath':a121e[n(0x194)](this['fsi'][n(0x1aa)]({}),e),'cssCaseName':paramCase(b[n(0x16d)]),'className':pascalCase(b[n(0x16d)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[n(0x16d)]),'graphql':f[n(0x182)][n(0x190)],'features':f['features'],'client':f[n(0x182)][n(0x17f)],'api':f[n(0x182)][n(0x16a)],'ssr':f[n(0x182)][n(0x186)],'isStore':b[n(0x19c)](n(0x17d)),'isComponent':b[n(0x19c)](n(0x19b)),'isLayout':b['hasOwnProperty'](n(0x171)),'withTranslations':f['features']['withTranslations'],'test':f[n(0x182)]['test'],'theme':f[n(0x182)]['theme']};f[n(0x1ad)]['html']&&await this[n(0x1a6)]['template']({'srcPath':n(0x192),'destPath':e+n(0x199),'context':h,'config':f});f[n(0x18a)]?.[n(0x1ac)]||b[n(0x19d)]?await this[n(0x1a6)][n(0x1ad)]({'srcPath':'hook/hook.js','destPath':e+'.js','framework':n(0x172),'context':h,'config':f}):await this[n(0x1a6)]['template']({'srcPath':n(0x187),'destPath':e+'.js','framework':n(0x172),'context':h,'config':f});f[n(0x182)][n(0x175)]!==n(0x1a2)&&await this['fsi'][n(0x1ad)]({'srcPath':n(0x188),'destPath':e+'.app-tests.js','framework':n(0x172),'context':h,'config':f});f[n(0x1ad)][n(0x17b)]&&await this[n(0x1a6)][n(0x1ad)]({'srcPath':'template/template.css','destPath':e+n(0x195),'context':Object[n(0x193)]({},h,{'className':paramCase(b[n(0x16d)])}),'config':f});f[n(0x182)][n(0x17f)]!==n(0x172)&&f['engines'][n(0x17f)]!==n(0x1a9)?(f[n(0x1ad)][n(0x17b)]&&await this[n(0x1a6)][n(0x178)]({'filePath':e+'.'+f[n(0x182)]['js'],'content':n(0x173)+h[n(0x198)]+'.'+f[n(0x182)]['html']+'\x27;\x0a'+n(0x173)+h[n(0x198)]+'.'+f[n(0x182)]['css']+'\x27;'}),!f[n(0x1ad)]['css']&&await this[n(0x1a6)][n(0x178)]({'filePath':e+'.'+f[n(0x182)]['js'],'content':n(0x173)+h[n(0x198)]+'.'+f[n(0x182)][n(0x16f)]+'\x27;'})):f[n(0x1ad)]['css']&&await this['fsi'][n(0x178)]({'filePath':e+'.'+f[n(0x182)]['js'],'content':n(0x173)+h[n(0x198)]+'.'+f[n(0x182)]['css']+'\x27;'});const i=b[n(0x1a5)]?'/'+b[n(0x1a5)]+'/':'/';g=''+c+i+h[n(0x198)]+'/'+h[n(0x198)],await this['fsi'][n(0x1a1)](h['className'],f,g),!b[n(0x177)]&&await a121f[n(0x184)]('route',[i+b[n(0x16d)]],b);}),g+'.'+f[m(0x182)]['js'];});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a122k=a122d;(function(a,b){const h=a122d,c=a();while(!![]){try{const d=-parseInt(h(0xe1))/0x1*(-parseInt(h(0xf4))/0x2)+-parseInt(h(0xe7))/0x3+parseInt(h(0xe2))/0x4+parseInt(h(0xe6))/0x5+parseInt(h(0xef))/0x6*(parseInt(h(0xe5))/0x7)+parseInt(h(0xee))/0x8*(parseInt(h(0xf2))/0x9)+-parseInt(h(0xf6))/0xa*(parseInt(h(0xec))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x8c051));function a122c(){const n=['apply','publish','9tQRJHT','getMakaProjectConfig','138chTVcp','maka\x20g:publish\x20todos','3210LkUyTl','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','fsi','publish/publish.','withValue','(((.+)+)+)+$','11217hewkpj','3053396UkPwOj','search','toString','2744791MHlJHz','4537315IDhyit','2207586YwPXqw','create','resourceName','tsx','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','58498ZRIOac','engines','1436504WkndnL','6dIIxIz'];a122c=function(){return n;};return a122c();}const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a122d;if(c){const e=c[i(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const j=a122d;return a122a[j(0xe4)]()[j(0xe3)](j(0xe0))['toString']()['constructor'](a122a)[j(0xe3)](j(0xe0));});function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xdd;let f=c[d];return f;},a122d(a,b);}a122a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a122k(0xe8)]({'name':a122k(0xf1),'aliases':['p'],'usage':a122k(0xeb),'shortDesc':a122k(0xf7),'validOpts':[],'examples':[a122k(0xf5)]},async function(a,b){const l=a122k,c=this['fsi'][l(0xf3)]();await this['fsi'][l(0xdf)](c,async()=>{const m=l,d={'name':b[m(0xe9)],'collection':paramCase(b[m(0xe9)]),'noRename':!![]};let e='js';c[m(0xed)]['js']===m(0xea)&&(e='ts');const f=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':['server/publish.'+c['engines']['js']]}),g=this[m(0xdd)]['templateContent']({'srcPath':m(0xde)+e,'context':d,'config':c});await this[m(0xdd)]['injectAtEndOfFile']({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a123B=a123d;(function(a,b){const y=a123d,c=a();while(!![]){try{const d=parseInt(y(0xfe))/0x1*(-parseInt(y(0xea))/0x2)+parseInt(y(0x11b))/0x3*(parseInt(y(0x10e))/0x4)+parseInt(y(0x113))/0x5+-parseInt(y(0xe6))/0x6+-parseInt(y(0x118))/0x7+parseInt(y(0xe1))/0x8+parseInt(y(0x109))/0x9*(parseInt(y(0xe9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x8c176));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a123d;if(c){const e=c[z(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const A=a123d;return a123a[A(0x115)]()[A(0xf3)]('(((.+)+)+)+$')[A(0x115)]()[A(0xe4)](a123a)['search'](A(0x119));});a123a();import a123e from'path';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xe1;let f=c[d];return f;},a123d(a,b);}function a123c(){const K=['route','1428658CJVUrl','(((.+)+)+)+$','react','9YxXyuq','length','getMakaProjectConfig','Scaffolding\x20for\x20a\x20Route.','rewriteDestinationPathForEngine','engines','components','fsi','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','injectIntoFile','only','resourceName','pathFromApp','pathFromProject','<Route','injectAfterLineNumber','true','\x20already\x20exists.\x20\x20Skipping.','readFileLines','pop','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','filter','cwd','baseDir','templateName','config','private','apply','6139392hjERfD','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','imports','constructor','withHook','982434juWNvj','PrivateLayout','maka\x20g:route\x20todosEdit\x20todos/:id/edit','410790XFrJOi','58cHcVho','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','\x22*\x22','route/route.js','const\x20privateRoutes\x20=\x20(<>','newForm','const\x20publicRoutes\x20=\x20(<>','join','dir','search','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','maka\x20g:route\x20todosIndex\x20todos','layout','<Router','Adding\x20route\x20','map','</Router>','MasterLayout','Valid\x20options\x20are:\x20','routes.js','26053LYUCko','\x20to\x20','maka\x20g:route\x20pages/about','Route\x20','templateContent','layouts','client','split','info','error','root','72tfUDhW','replace','includes','lib','/imports/ui/pages','715948SWFKNF','withValue','url','fileContainsString','startup','320835MkjfkJ','\x0a\x09\x09','toString','indexOf'];a123c=function(){return K;};return a123c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator['create']({'name':a123B(0x117),'aliases':aliases,'validOpts':[a123B(0x135),a123B(0xf6),a123B(0x125),a123B(0x131),a123B(0x134),a123B(0x108),a123B(0xe5),a123B(0x110),a123B(0x132)],'usage':a123B(0xf4),'shortDesc':a123B(0x11e),'examples':[a123B(0xf5),a123B(0xe8),a123B(0x12f),'maka\x20g:route\x20pages/lists/listIndex\x20lists',a123B(0x100)]},async function(a,b){const C=a123B;try{const c=['hooks',C(0x121),'pages',C(0x103)];if(b[C(0x132)]&&!c[C(0x10b)](b['baseDir'])){Log[C(0x107)]('Invalid\x20directory\x20option\x20\x22'+b[C(0x132)]+'\x22'),Log[C(0x107)](C(0xfc)+c[C(0xf1)](',\x20'));throw new UsageError();}const d=this['fsi'][C(0x11d)]();await this[C(0x122)][C(0x10f)](d,async()=>{const D=C,f=b[D(0x135)]??![];let g=b['resourceName'][D(0x105)]('/')[D(0x12e)]();if(!g){Log[D(0x107)](D(0xeb));throw new UsageError();}g=pascalCase(g);let h='/'+b[D(0x126)];a[D(0x11c)]>0x1&&(h='/'+a[D(0x130)](function(n){return n!=='/';})['join']('/')['toLowerCase']());h=h[D(0x10a)](/\/\//g,'/');b[D(0xf6)]&&(b[D(0xf6)]=camelCase(b['layout']));const i=b[D(0x132)]?'/imports/ui/'+b[D(0x132)]:D(0x10d),j=a123e[D(0xf1)](i,b[D(0xf2)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[D(0xf6)]||D(0xfb),'templatePath':j,'templateName':pascalCase(g),'client':d['engines']['client'],'newForm':![],'withTranslations':d['features']['withTranslations']};f&&(k[D(0xf6)]=D(0xe7));let l,m;if(d[D(0x120)][D(0x104)]==='react'){if(d[D(0x120)]['ssr']===D(0x12b)){const r=this['fsi'][D(0x127)]({'pathParts':[D(0xe3),D(0x112),D(0x10c),D(0xfd)]});l=this[D(0x122)][D(0x11f)]({'pathParts':[r],'config':d});}else{const s=this['fsi'][D(0x127)]({'pathParts':[D(0xe3),D(0x112),D(0x104),D(0xfd)]});l=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[s],'config':d});}const n=await this[D(0x122)][D(0x111)](l,g);if(n){Log['warn'](D(0x101)+g+D(0x12c));return;}else{const t=this[D(0x122)][D(0x128)](l);Log[D(0x106)](D(0xf8)+g+D(0xff)+l['replace'](t,''));}const o=this[D(0x122)][D(0x12d)](l)['map']((u,v)=>{const E=D;return u[E(0x10b)](E(0xe2))?v+0x1:null;})['filter'](u=>u!==null);let p=this['fsi'][D(0x12d)](l)[D(0xf9)]((u,v)=>{const F=D;return u[F(0x10b)](F(0xf0))?v+0x1:null;})[D(0x130)](u=>u!==null),q=this[D(0x122)]['readFileLines'](l)['map']((u,v)=>{const G=D;return u[G(0x10b)](G(0xee))?v+0x1:null;})['filter'](u=>u!==null);p[D(0x11c)]>0x0&&q[D(0x11c)]>0x0&&(k[D(0xef)]=!![]);m=this['fsi'][D(0x102)]({'srcPath':D(0xed),'framework':D(0x11a),'context':k,'config':d});if(p[D(0x11c)]>0x0||q[D(0x11c)]>0x0){this['fsi'][D(0x12a)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q[D(0x11c)]>0x0)q=this['fsi'][D(0x12d)](l)[D(0xf9)]((u,v)=>{const H=D;return u[H(0x10b)](H(0xee))?v+0x1:null;})[D(0x130)](u=>u!==null),this[D(0x122)][D(0x12a)]({'filePath':l,'content':'\x09{'+k[D(0x133)]+'}','lineNumber':q[0x0]});else p[D(0x11c)]>0x0?(p=this['fsi'][D(0x12d)](l)[D(0xf9)]((u,v)=>{const I=D;return u[I(0x10b)](I(0xf0))?v+0x1:null;})[D(0x130)](u=>u!==null),this[D(0x122)][D(0x12a)]({'filePath':l,'content':'\x09{'+k[D(0x133)]+'}','lineNumber':p[0x0]})):Log['warn'](D(0x123)+l);}else{const u=this[D(0x122)][D(0x12d)](l)[D(0xf9)](x=>{const J=D;return x[J(0x10b)](J(0xec));}),v=u[D(0x116)](!![])>-0x1,w=v?D(0x129):D(0xfa);await this['fsi'][D(0x124)]({'filePath':l,'content':D(0x114)+m+D(0x114),'begin':D(0xf7),'end':w});}}else{if(d[D(0x120)]['client']==='vanilla'){const x=this[D(0x122)][D(0x127)]({'pathParts':[D(0xe3),D(0x112),D(0x104),D(0xfd)]});l=this[D(0x122)]['rewriteDestinationPathForEngine']({'pathParts':[x],'config':d}),m=this[D(0x122)][D(0x102)]({'srcPath':D(0xed),'context':k}),await this[D(0x122)]['injectAtEndOfFile']({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[C(0x107)](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a124m=a124d;(function(a,b){const j=a124d,c=a();while(!![]){try{const d=parseInt(j(0x187))/0x1*(-parseInt(j(0x18a))/0x2)+parseInt(j(0x18f))/0x3*(-parseInt(j(0x196))/0x4)+-parseInt(j(0x17d))/0x5*(-parseInt(j(0x192))/0x6)+-parseInt(j(0x186))/0x7+parseInt(j(0x19b))/0x8*(-parseInt(j(0x18e))/0x9)+-parseInt(j(0x19f))/0xa*(parseInt(j(0x1a1))/0xb)+parseInt(j(0x199))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xb93e7));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a124d;if(c){const e=c[k(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const l=a124d;return a124a[l(0x19d)]()[l(0x180)]('(((.+)+)+)+$')[l(0x19d)]()['constructor'](a124a)['search']('(((.+)+)+)+$');});a124a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x17d;let f=c[d];return f;},a124d(a,b);}import{Log}from'../tools/log/log.class.js';function a124c(){const p=['9dviHhm','fsi','type','192378qtmXtz','logger','pathFromApp','error','1183636YpgXap','lib','installNpmPackage','39794376VcfRnv','service/logger/logger.js','81304SJIaDw','winston','toString','maka\x20{generate,\x20g}:{service}\x20<resource-name>','310OVMkjK','checkNpmPackage','37191fEVGmU','45enbZBC','Installing\x20winston','withValue','search','resourceName','startup','winston\x20setimmediate','engines','tsx','2518474Znekem','1bdzOBQ','create','services','2479222wyFRqn','service','apply','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','225GolcOE'];a124c=function(){return p;};return a124c();}Generator[a124m(0x188)]({'name':a124m(0x18b),'aliases':['svc'],'usage':a124m(0x19e),'shortDesc':a124m(0x18d),'requiredOpts':[{'name':a124m(0x191),'values':[a124m(0x193)]}],'validOpts':[],'maxArgLength':0x1,'examples':['maka\x20g:svc\x20service-logger\x20--type=logger']},async function(a,b){const n=a124m;try{const c=this[n(0x190)]['getMakaProjectConfig']();await this[n(0x190)][n(0x17f)](c,async()=>{const o=n,d=this[o(0x190)][o(0x194)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[o(0x181)]),'fileName':f,'camelCase':camelCase(b['resourceName']),'type':b[o(0x191)],'engine':c[o(0x184)]['js'],'noRename':!![]};let h='js';c['engines']['js']===o(0x185)&&(h='ts');if(b[o(0x191)]==='logger'){!this[o(0x190)][o(0x1a0)](o(0x19c))&&await this['fsi'][o(0x198)](o(0x183),{'cwd':d,'msg':o(0x17e)});const i=this[o(0x190)][o(0x194)]({'pathParts':['imports',o(0x182),o(0x197),o(0x189),f+'.'+h]});await this[o(0x190)]['template']({'srcPath':o(0x19a),'destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0x195)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a125d,c=a();while(!![]){try{var d
|
|
1
|
+
function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x11f;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x123))/0x1*(parseInt(f(0x12a))/0x2)+-parseInt(f(0x127))/0x3*(parseInt(f(0x129))/0x4)+parseInt(f(0x126))/0x5+-parseInt(f(0x124))/0x6*(-parseInt(f(0x121))/0x7)+-parseInt(f(0x122))/0x8+parseInt(f(0x120))/0x9*(-parseInt(f(0x125))/0xa)+parseInt(f(0x11f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x588bf));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a['toString']()['search']('(((.+)+)+)+$')['toString']()[h(0x12c)](a125a)[h(0x12b)]('(((.+)+)+)+$');});a125a();import'./translation.js';function a125c(){var i=['98180Bxibss','search','constructor','5192330BZhEuC','5084757ceYTDM','4568018fHUnda','3715304EHjCHk','1vvDbBR','6HVhWzk','10AbDInL','3609030IlDvjF','3yZFkov','apply','2013708PXyhiJ'];a125c=function(){return i;};return a125c();}import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126l=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d=parseInt(i(
|
|
1
|
+
const a126l=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d=parseInt(i(0x123))/0x1*(parseInt(i(0x124))/0x2)+-parseInt(i(0x11f))/0x3+parseInt(i(0x117))/0x4+-parseInt(i(0x11b))/0x5*(parseInt(i(0x121))/0x6)+parseInt(i(0x10e))/0x7+-parseInt(i(0x10b))/0x8+parseInt(i(0x10f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x2581d));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a126d;if(c){const e=c[j(0x116)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const k=a126d;return a126a[k(0x11d)]()[k(0x113)](k(0x115))[k(0x11d)]()[k(0x10c)](a126a)[k(0x113)](k(0x115));});a126a();function a126c(){const o=['1504376AMaMYS','constructor','_keys','1397935wYLtlR','237906KTjqSX','create','fsi','env','search','maka\x20g:sslconfig\x20--env\x20dev','(((.+)+)+)+$','apply','827584PZeqcA','openssl/openssl.conf','Generate\x20a\x20new\x20openssl\x20config\x20file','template','5HMExPY','join','toString','getAppConfigPath','762912iVXNVs','getGlobalConfig','484896GlpmJs','openssl.conf','34823vXqVKg','14TozMfP'];a126c=function(){return o;};return a126c();}import{Generator}from'../../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x10b;let f=c[d];return f;},a126d(a,b);}import{Log}from'../../tools/log/log.class.js';import a126e from'path';Generator[a126l(0x110)]({'name':'sslconfig','usage':'maka\x20{generate,\x20g}:sslconfig','shortDesc':a126l(0x119),'noNeedResource':!![],'requiredOpts':[a126l(0x112)],'examples':[a126l(0x114)],'validOpts':[]},async function(a,b){const m=a126l;try{const c=await this[m(0x111)]['getMakaProjectConfig'](),d=await this[m(0x111)][m(0x120)](),f=this['fsi'][m(0x11e)](b[m(0x112)]),g=a126e[m(0x11c)](f,m(0x10d),m(0x122));await this[m(0x111)]['withValue'](c,async()=>{const n=m,h={'app':d['appName'],'noRename':!![]};await this[n(0x111)][n(0x11a)]({'srcPath':n(0x118),'destPath':g,'framework':'service','context':h,'config':c});});}catch(h){Log['error'](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127A=a127d;
|
|
1
|
+
const a127A=a127d;(function(a,b){const x=a127d,c=a();while(!![]){try{const d=parseInt(x(0x1a0))/0x1+parseInt(x(0x195))/0x2+-parseInt(x(0x18c))/0x3*(-parseInt(x(0x19d))/0x4)+parseInt(x(0x1a4))/0x5+-parseInt(x(0x17e))/0x6*(parseInt(x(0x16e))/0x7)+-parseInt(x(0x18b))/0x8*(parseInt(x(0x178))/0x9)+-parseInt(x(0x187))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x49646));function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x163;let f=c[d];return f;},a127d(a,b);}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a127d;if(c){const e=c[y(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const z=a127d;return a127a[z(0x1a2)]()[z(0x176)](z(0x163))['toString']()[z(0x185)](a127a)[z(0x176)](z(0x163));});function a127c(){const D=['translation','import\x20\x27../lib/services/translations/i18n\x27;\x0a','i18next\x20i18next-browser-languagedetector\x20react-i18next','constructor','maka\x20g:translation\x20--lang=en\x20(default)','1000230JwajMs','engines','pathFromApp','services','8vqQLWX','9zilfZy','index.js','getMakaProjectConfig','grep','features.withTranslations','injectAtBeginningOfFile','import\x20\x27../lib/services/translations/i18n\x27;','readFileSync','i18n.js','360470XsCfDb','installNpmPackage','setProjectConfig','lib','\x20}\x20from\x20\x27./','client','service','exit','235724LslXlF','warn','imports','381481BwnTmb','template','toString','default\x20as\x20','1169040vBoinP','isFile','lang','fsi','locales','(((.+)+)+)+$','root','Generate\x20a\x20new\x20locale\x20translation','Locale\x20already\x20defined:\x20','startup','i18n/i18n.js','checkNpmPackage','findAppDirectory','translations','i18n/index.js','getGlobalConfig','2509157NXcJTr','error','ssr','server','Locale\x20already\x20exported:\x20','apply','i18n/locales.js','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','search','maka\x20g:translation\x20--lang=de','1919061KcnHej','rewriteDestinationPathForEngine','export\x20{\x20default\x20as\x20','i18next','index.','create','6CaEIfw','true','maka\x20g:translation\x20--lang=fr','.js'];a127c=function(){return D;};return a127c();}a127a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a127e from'fs';Generator[a127A(0x17d)]({'name':a127A(0x182),'usage':'maka\x20{generate,\x20g}:translation','aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':'lang','boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a127A(0x165),'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':[a127A(0x186),a127A(0x180),a127A(0x177)],'validOpts':[]},async function(a,b){const B=a127A;try{const c=this[B(0x1a7)][B(0x18e)](),d=this[B(0x1a7)][B(0x16d)](),f=this[B(0x1a7)][B(0x16a)]();await this[B(0x1a7)]['withValue'](c,async()=>{const C=B;try{!b[C(0x1a6)]&&(b[C(0x1a6)]='en');!b[C(0x164)]&&!this[C(0x1a7)][C(0x169)](C(0x17b))&&(Log[C(0x19e)](C(0x175)),this[C(0x1a7)][C(0x196)](C(0x184),{'cwd':f}),this[C(0x1a7)][C(0x197)](C(0x190),!![]));const g=this['fsi']['pathFromApp']({'pathParts':[C(0x19f),'startup',C(0x19a),'index.js']}),h=this[C(0x1a7)][C(0x179)]({'pathParts':[g],'config':c}),i=this[C(0x1a7)]['grep'](a127e['readFileSync'](h)['toString'](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];if(c['engines'][C(0x170)]===C(0x17f)){!i&&this['fsi'][C(0x191)]({'filePath':h,'content':C(0x183)});const t=this['fsi']['pathFromApp']({'pathParts':[C(0x19f),'startup',C(0x171),C(0x18d)]}),u=this['fsi'][C(0x179)]({'pathParts':[t],'config':c}),v=this[C(0x1a7)][C(0x18f)](a127e[C(0x193)](u)[C(0x1a2)](),C(0x192))[0x0]&&!![];!v&&this['fsi'][C(0x191)]({'filePath':u,'content':C(0x183)});}else!i&&this['fsi']['injectAtBeginningOfFile']({'filePath':h,'content':C(0x183)});const j={'app':d['appName'],'config':c},k=this[C(0x1a7)]['pathFromApp']({'pathParts':[C(0x19f),'startup','lib','services','translations',C(0x194)]}),l=this[C(0x1a7)][C(0x1a5)](this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[k],'config':c}));!l&&await this[C(0x1a7)]['template']({'srcPath':C(0x168),'destPath':k,'framework':C(0x19b),'context':j,'config':c});const m=this[C(0x1a7)][C(0x189)]({'pathParts':[C(0x19f),C(0x167),C(0x198),C(0x18a),'translations','locales',b['lang']+C(0x181)]}),n=this[C(0x1a7)][C(0x179)]({'pathParts':[m],'config':c}),o=this[C(0x1a7)][C(0x1a5)](n);!o?await this[C(0x1a7)]['template']({'srcPath':C(0x174),'destPath':m,'framework':'service','context':j,'config':c}):Log[C(0x19e)](C(0x166)+n);const p=this[C(0x1a7)]['pathFromApp']({'pathParts':[C(0x19f),C(0x167),C(0x198),C(0x18a),C(0x16b),C(0x1a8),C(0x17c)+c[C(0x188)]['js']]}),q=this[C(0x1a7)][C(0x179)]({'pathParts':[p],'config':c}),r=this[C(0x1a7)][C(0x1a5)](q);!r&&await this[C(0x1a7)][C(0x1a1)]({'srcPath':C(0x16c),'destPath':p,'framework':C(0x19b),'context':j,'config':c});const s=this[C(0x1a7)]['grep'](a127e[C(0x193)](p)[C(0x1a2)](),C(0x1a3)+b[C(0x1a6)])[0x0]&&!![];!s?await this[C(0x1a7)]['injectAtEndOfFile']({'filePath':p,'content':C(0x17a)+b[C(0x1a6)]+C(0x199)+b['lang']+'\x27;'}):Log[C(0x19e)](C(0x172)+p);}catch(w){Log[C(0x16f)](w),process[C(0x19c)](0x1);}});}catch(g){Log[B(0x16f)](g),process[B(0x19c)](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d
|
|
1
|
+
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0xa9))/0x1+-parseInt(j(0xa3))/0x2*(parseInt(j(0x97))/0x3)+parseInt(j(0x96))/0x4+parseInt(j(0x9d))/0x5+parseInt(j(0xaf))/0x6*(-parseInt(j(0xad))/0x7)+-parseInt(j(0x98))/0x8+parseInt(j(0x9b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xad05b));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x9a)]()[l(0x9c)]('(((.+)+)+)+$')['toString']()[l(0xa7)](a128a)['search'](l(0xac));});a128a();import a128e from'minimist';import a128f from'os';function a128c(){const n=['slice','(((.+)+)+)+$','7EyBNzI','argv','3039540SuqWai','camelizeKeys','3776704xZzwuI','1662umfnLj','7033184MJUpjd','BROWSERSLIST_IGNORE_OLD_DATA','toString','2265489azfBgU','search','5203535maqwrC','--max-old-space-size=','parse','apply','floor','MAKA_COMMAND_PATH','3054bwuSEh','run','url','env','constructor','TOOL_NODE_FLAGS','703791fANpZT','NODE_NO_WARNINGS'];a128c=function(){return n;};return a128c();}import a128g from'path';import a128h from'humps';import a128i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a128m(0xa5)]),__dirname=a128g['dirname'](__filename);global[a128m(0xa2)]=__dirname;const total_memory=a128f['totalmem'](),total_mem_in_kb=total_memory/0x400;function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x95;let f=c[d];return f;},a128d(a,b);}let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a128m(0xa1)](total_mem_in_mb),process['env'][a128m(0xa8)]=a128m(0x9e)+total_mem_in_mb,process[a128m(0xa6)][a128m(0x99)]='1',process[a128m(0xa6)][a128m(0xaa)]='1';const argv=a128e(process[a128m(0xae)][a128m(0xab)](0x2)),args=argv['_'],deepCopyArgv=JSON[a128m(0x9f)](JSON['stringify'](argv));delete deepCopyArgv['_'];const opts=a128h[a128m(0x95)](deepCopyArgv);a128i[a128m(0xa4)](args,opts);
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129L=a129d;(function(a,b){const I=a129d,c=a();while(!![]){try{const d
|
|
1
|
+
const a129L=a129d;(function(a,b){const I=a129d,c=a();while(!![]){try{const d=-parseInt(I(0xed))/0x1+parseInt(I(0xe7))/0x2+-parseInt(I(0x128))/0x3*(parseInt(I(0x107))/0x4)+parseInt(I(0xe6))/0x5*(parseInt(I(0x10b))/0x6)+-parseInt(I(0xe8))/0x7*(parseInt(I(0x111))/0x8)+parseInt(I(0xd1))/0x9*(parseInt(I(0x127))/0xa)+parseInt(I(0x117))/0xb*(parseInt(I(0xeb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x1cb46));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a129d;if(c){const e=c[J(0xe1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const K=a129d;return a129a[K(0x122)]()[K(0xf8)](K(0x119))['toString']()[K(0xf9)](a129a)['search'](K(0x119));});a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xcd;let f=c[d];return f;},a129d(a,b);}function a129c(){const a2=['(((.+)+)+)+$','fsi','config','keys','No\x20usage\x20provided.','homedir','Please\x20choose\x20an\x20environment','To\x20use\x20this\x20command,\x20\x22','cwd','toString','env','getMakaProjectConfig','win32','isCommand','20RTNPub','66819unYNES','Local','list','findProjectDirectory','parent','466146oHUpfF','isGenerator','error','includes','options','find','.meteor','length','every','To\x20use\x20this\x20generator,\x20\x22','aliases','Please\x20provide\x20a\x20valid\x20argument\x20for\x20','join','existsSync','roles','getPro','apply','map','string','Please\x20choose\x20a\x20value\x20for\x20','match','1270JtCskq','345158kqvGim','7WllzcZ','usage','validateEngines','8952tibAoI','indexOf','112936aDhWAc','proCommands','resourceName','remapShortToLong','formatToNamedParam','dir','examples','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.meteor/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','ask','getShortName','root','search','constructor','concat','NIE','engines','platform','Invalid\x20value\x20for\x20','\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27','singleLicense','_handler','AppData','description','No\x20description\x20provided.','help','isPro','32xbaASv','disableAuthCheck','Please\x20provide\x20a\x20resource\x20name:','validateMakaProject','996vpeTmZ','getAppProjectConfigs','Please\x20provide\x20a\x20value\x20for\x20','shortDesc','Invalid\x20argument:\x20','proGenerators','1359928OLYLfl','docker','push','name','You\x20must\x20have\x20','exit','3839AIJMnL','Please\x20choose\x20a\x20valid\x20value\x20for\x20'];a129c=function(){return a2;};return a129c();}import a129e from'path';import a129f from'os';import a129g from'fs';const homeDir=a129f[a129L(0x11e)]();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{['docker'];[a129L(0x11a)];['options'];[a129L(0x114)];[a129L(0xd0)];[a129L(0x101)];constructor(){const M=a129L;this[M(0x112)]=new Docker(),this[M(0x11a)]=new FSI();}['getShortName'](a){return a['charAt'](0x0);}[a129L(0xf0)](a,b){const N=a129L,c=this[N(0xf1)](b),d={...a};for(const e of c){const f=this[N(0xf6)](e[N(0x114)]);a[f]&&(d[e[N(0x114)]]=a[f],delete d[f]);}return d;}[a129L(0xf1)](a){const O=a129L;if(a[O(0xd9)](b=>typeof b===O(0xe3)))return a[O(0xe2)](b=>({'name':b}));return a;}[a129L(0xe5)](a){const P=a129L,b=[this['name']]['concat'](this[P(0xd5)][P(0xdb)]||[]);return this[P(0xd0)]&&b[P(0x113)](this[P(0xd0)]),b[P(0xd4)](a);}[a129L(0x10a)](){const Q=a129L,a=this['fsi'][Q(0xcf)]();return a!==![]?!![]:![];}['validateMeteorInstall'](){const R=a129L;let a=a129e[R(0xdd)](homeDir,R(0xd7));const b=process[R(0xfd)]===R(0x125);if(b){a=a129e[R(0xdd)](homeDir,R(0x102),R(0xcd),R(0xd7));if(!a129g['existsSync'](a))return![];}else{if(!a129g[R(0xde)](a))return![];}return!![];}[a129L(0xea)](a){const S=a129L,b=this[S(0x11a)][S(0x124)](),c=b[S(0xfc)],d=Object[S(0x11c)](a);if(d[S(0xd8)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[S(0xd3)](S(0x115)+e+'\x20version\x20'+a[e]+'\x20installed\x20to\x20use\x20this\x20command.');throw UsageError;}}}async['validateParams'](a,b,c){const T=a129L,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object[T(0x11c)](b);if(h[T(0xd4)](T(0xef))&&b[T(0xef)]===undefined&&!g){const m=await Actions[T(0xf5)](T(0x109));b[T(0xef)]=m;}let i=[],j=b;if(d){i=this[T(0xf1)](d),j=this[T(0xf0)](b,i);if(i&&i?.[T(0xd8)]>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object[T(0x11c)](j)[T(0xd4)](o)){if(o==='env'){const r=this[T(0x11a)][T(0x10c)](),s=await Actions['options']({'type':T(0xce),'name':'env','message':T(0x11f),'choices':r});b[T(0x123)]=s[T(0x123)];}else{const t=p;if(t){const u=await Actions[T(0xd5)]({'type':'list','name':o,'message':T(0xe4)+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[T(0xf5)](T(0x10d)+o);if(v[T(0xe5)](q))b[o]=v;else{Log['error'](T(0xfe)+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions['ask'](T(0x10d)+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p[T(0xd4)](x)){Log['error']('Invalid\x20value\x20for\x20'+o+':\x20'+x);throw new UsageError();}}}}let k=this['formatToNamedParam'](f),l=b;if(k&&Object[T(0x11c)](k)?.['length']>0x0){k=k[T(0xfa)](i||[]),k[T(0x113)]({'name':T(0xef),'hidden':!![]}),k['push']({'name':T(0x105),'boolFlag':!![]}),k[T(0x113)]({'name':T(0xf2),'hidden':!![]}),k['push']({'name':T(0x121),'hidden':!![]}),k['push']({'name':T(0xf7),'hidden':!![]}),k[T(0x113)]({'name':T(0x11b),'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[T(0xd4)](B))){const C=A;if(C){const D=await Actions[T(0xd5)]({'type':T(0xce),'name':z,'message':T(0x118)+z,'choices':A});l[z]=D[z];}}if(k[T(0xd8)]>0x0)for(const E of Object[T(0x11c)](l)){const F=k[T(0xd6)](G=>G[T(0x114)]===E);if(!F){Log[T(0xd3)]('Invalid\x20option:\x20'+E);throw new UsageError();}}}}if(e&&e?.['length']>0x0)for(const G of e){if(!e[T(0xd4)](G)){Log[T(0xd3)](T(0x10f)+G);const H=await Actions[T(0xf5)](T(0xdc)+G);a[a[T(0xec)](G)]=H;}}return Object['assign'](j,l);}async['validateMakaSubscription'](a){const U=a129L;try{if(!a)return;const b=await this[U(0x11a)][U(0xe0)]();!b&&(Log[U(0xd3)](U(0xf4)),process['exit'](0x1));const c=!b?.[U(0xdf)][U(0xd4)](U(0x100))&&!b?.[U(0xdf)]['includes']('domainLicense');if(this[U(0x126)](a)){const d=U(0x120)+a[U(0x114)]+U(0xff);if(a[U(0xd5)][U(0x108)])return;const f=b?.['proCommands'][U(0xd4)](a[U(0x114)])||b?.[U(0xee)][U(0xd4)](a['parent']||'')||this[U(0xd5)][U(0x106)];if(f&&c)throw d;}else{if(this[U(0xd2)](a)){const g=b?.[U(0x110)][U(0xd4)](a['name'])||b?.[U(0x110)]['includes'](a[U(0xd0)]||'');if(g&&c)throw U(0xda)+a[U(0x114)]+U(0xff);}}}catch(h){Log[U(0xd3)](h),process[U(0x116)](0x1);}}['isCommand'](a){const V=a129L;return V(0xd5)in a;}[a129L(0xd2)](a){const W=a129L;return!(W(0xd5)in a);}['description'](){const X=a129L;return this[X(0xd5)][X(0x103)]||this[X(0xd5)][X(0x10e)]||X(0x104);}[a129L(0x10e)](){const Y=a129L;return this[Y(0xd5)][Y(0x10e)]||Y(0xfb);}[a129L(0xe9)](){const Z=a129L;return this[Z(0xd5)]['usage']||Z(0x11d);}[a129L(0xf3)](){const a0=a129L;return this[a0(0xd5)][a0(0xf3)]||[];}['aliases'](){const a1=a129L;return this[a1(0xd5)][a1(0xdb)]||'None';}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a130i=a130d;(function(a,b){const f=a130d,c=a();while(!![]){try{const d=parseInt(f(0xe6))/0x1+-parseInt(f(0xf1))/0x2+-parseInt(f(0xf8))/0x3*(-parseInt(f(0xf6))/0x4)+parseInt(f(0xf2))/0x5+-parseInt(f(0xe5))/0x6*(parseInt(f(0xec))/0x7)+parseInt(f(0xed))/0x8*(parseInt(f(0xe8))/0x9)+-parseInt(f(0xeb))/0xa*(parseInt(f(0xee))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x493c1));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a130d;if(c){const e=c[g(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0xe7)]()[h(0xf5)]('(((.+)+)+)+$')['toString']()['constructor'](a130a)[h(0xf5)](h(0xef));});a130a();function a130c(){const m=['287qhIMwk','8PfKqLu','187PoNpMK','(((.+)+)+)+$','confirm','203644TDbVsN','2245510uplJec','apply','ask','search','104212feTacZ','answer','69udOwKA','options','85494wcIiAL','405685hRcign','toString','3056517EjYdyk','input','prompt','475070pErePR'];a130c=function(){return m;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xe5;let f=c[d];return f;},a130d(a,b);}import a130e from'inquirer';export class Actions{static async[a130i(0xf4)](a,b){const j=a130i,{answer:c}=await a130e[j(0xea)]({'type':b?'password':j(0xe9),'name':j(0xf7),'message':a});return c;}static async[a130i(0xf0)](a,b=![]){const k=a130i,{answer:c}=await a130e[k(0xea)]({'type':'confirm','name':k(0xf7),'message':a,'default':b});return c;}static async[a130i(0xf9)](a){const l=a130i,b=await a130e[l(0xea)](a);return b;}}
|