@maka/maka-cli 5.0.4 → 5.0.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/cecr.sub.cmd.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/decr.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/lecr.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/profile.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/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.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/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.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/auth.mui.gen.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/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 a116k=a116d;(function(a,b){const h=a116d,c=a();while(!![]){try{const d
|
|
1
|
+
function a116c(){const n=['dockerfile','1900mmXmBl','search','toString','1891925qRZSYg','Generate\x20an\x20updated\x20dockerfile','service','168497nRxCmm','cert','join','(((.+)+)+)+$','create','build','4705352ilHJbi','findProjectDirectory','app.tar.gz','force','withValue','18InfLBT','apply','error','getMakaProjectConfig','constructor','738594AHiAjy','5439DeIJUi','5483790sqpFal','template','maka\x20g:dockerfile','295130aNeXiE','appName','maka\x20{generate,\x20g}:dockerfile','Dockerfile','getGlobalConfig','fsi','54vIWbzp'];a116c=function(){return n;};return a116c();}const a116k=a116d;(function(a,b){const h=a116d,c=a();while(!![]){try{const d=parseInt(h(0x199))/0x1+parseInt(h(0x19e))/0x2+parseInt(h(0x19a))/0x3*(parseInt(h(0x1a6))/0x4)+parseInt(h(0x1a9))/0x5+parseInt(h(0x1a4))/0x6*(parseInt(h(0x1ac))/0x7)+-parseInt(h(0x1b2))/0x8*(parseInt(h(0x1b7))/0x9)+-parseInt(h(0x19b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x96ca9));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a['toString']()[j(0x1a7)](j(0x1af))[j(0x1a8)]()[j(0x198)](a116a)['search'](j(0x1af));});a116a();import{Generator}from'../generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x197;let f=c[d];return f;},a116d(a,b);}import{Log}from'../tools/log/log.class.js';import a116e from'path';Generator[a116k(0x1b0)]({'name':a116k(0x1a5),'usage':a116k(0x1a0),'shortDesc':a116k(0x1aa),'validOpts':[{'name':a116k(0x1b5),'boolFlag':!![]}],'noNeedResource':!![],'examples':[a116k(0x19d)]},async function(a,b){const l=a116k;try{const c=await this['fsi'][l(0x197)](),d=await this['fsi'][l(0x1a2)](),f=this[l(0x1a3)][l(0x1b3)]();await this[l(0x1a3)][l(0x1b6)](c,async()=>{const m=l,g={'app':d[m(0x19f)],'config':c,'appPath':a116e['join'](f,'app'),'bundlePath':a116e[m(0x1ae)](f,m(0x1b1),m(0x1b4)),'useCert':this[m(0x1a3)]['isFile'](d[m(0x1ad)])};await this[m(0x1a3)][m(0x19c)]({'srcPath':'docker/Dockerfile','destPath':a116e[m(0x1ae)](f,m(0x1a1)),'framework':m(0x1ab),'context':g,'config':c,'force':b['force']});});}catch(g){Log[l(0x1b9)](g);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117n=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x150))/0x1+parseInt(l(0x171))/0x2+parseInt(l(0x142))/0x3+-parseInt(l(0x13e))/0x4*(-parseInt(l(0x167))/0x5)+parseInt(l(0x172))/0x6*(parseInt(l(0x154))/0x7)+-parseInt(l(0x16f))/0x8*(-parseInt(l(0x175))/0x9)+parseInt(l(0x156))/0xa*(-parseInt(l(0x13d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x4e9d3));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a['toString']()[m(0x177)]('(((.+)+)+)+$')[m(0x141)]()['constructor'](a117a)['search'](m(0x157));});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a117c(){const q=['error','\x20hook...','react','44ySxxCD','48kBrRZx','graphql','fsi','toString','1705359WbWtuJ','true','hook','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','@apollo/client','.js','template','installNpmPackage','string','css','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','template/template.css','assign','74675wqiEwa','none','test','withTranslations','2163819ntPent','warn','4290590tXpMIR','(((.+)+)+)+$','findAppDirectory','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','/imports/ui/components','setTemplate','checkNpmPackage','resourceName','className','theme','import\x20\x27./','maka\x20g:hook\x20cool-hook','components','dir','.app-tests.js','force','/imports/ui/','124945IoHrVA','engines','features','hooks','notice','injectAtBeginningOfFile','apollo','baseDir','22136kcRVRI','Creating\x20','527764QZqClg','12CfkLRs','layouts','getMakaProjectConfig','1179MJYDFl','fileName','search'];a117c=function(){return q;};return a117c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x13c;let f=c[d];return f;},a117d(a,b);}Generator['create']({'name':a117n(0x144),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a117n(0x14d),'validOpts':[{'name':a117n(0x16e),'values':[a117n(0x16a),a117n(0x162),'pages',a117n(0x173)]},{'name':a117n(0x165),'boolFlag':!![]}],'examples':[a117n(0x161)],'description':a117n(0x145)},async function(a,b){const o=a117n;Log[o(0x16b)](o(0x170)+b[o(0x15d)]+o(0x179));try{const c=this[o(0x140)][o(0x15c)](o(0x13c));if(!c){Log[o(0x178)](o(0x14c));throw new UsageError();}const d=this[o(0x140)][o(0x158)](),f=b['baseDir']?o(0x166)+b[o(0x16e)]:o(0x15a),g=this['fsi']['pathFromApp']({'pathParts':[f,b[o(0x163)],paramCase(b[o(0x15d)]),paramCase(b[o(0x15d)])]}),h=await this[o(0x140)][o(0x174)]();await this['fsi']['withValue'](h,async()=>{const p=o;typeof h[p(0x148)][p(0x14b)]===p(0x14a)&&(h[p(0x148)][p(0x14b)]=h['template'][p(0x14b)]===p(0x143)?!![]:![],this[p(0x140)][p(0x15b)](p(0x14b),h[p(0x148)][p(0x14b)]));h['engines'][p(0x13f)]===p(0x16d)&&!this[p(0x140)]['checkNpmPackage'](p(0x146))&&(Log[p(0x155)](p(0x159)),await this[p(0x140)][p(0x149)]('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[p(0x15d)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[p(0x15d)]),'name':pascalCase(b[p(0x15d)]),'graphql':h[p(0x168)]['graphql'],'theme':h['engines'][p(0x15f)],'features':h['features'],'myPath':a117e['relative'](this[p(0x140)]['pathFromProject']({}),g),'fileName':paramCase(b[p(0x15d)]),'isComponent':![],'isLayout':![],'withTranslations':h[p(0x169)][p(0x153)]};await this[p(0x140)][p(0x148)]({'srcPath':'hook/hook.js','destPath':g+p(0x147),'context':i,'config':h,'framework':p(0x13c),'force':b[p(0x165)]});h[p(0x148)][p(0x14b)]&&(await this[p(0x140)]['template']({'srcPath':p(0x14e),'destPath':g+'.css','context':Object[p(0x14f)]({},i,{'className':i['cssCaseName']}),'config':h,'force':b[p(0x165)]}),await this[p(0x140)][p(0x16c)]({'filePath':g+'.'+h['engines']['js'],'content':p(0x160)+i[p(0x176)]+'.'+h[p(0x168)][p(0x14b)]+'\x27;'}));h['engines'][p(0x152)]!==p(0x151)&&await this[p(0x140)]['template']({'srcPath':'test/test.js','destPath':g+p(0x164),'framework':p(0x13c),'context':i,'config':h,'force':b[p(0x165)]});const j=b[p(0x163)]?'/'+b[p(0x163)]+'/':'/',k=''+f+j+i[p(0x176)]+'/'+i[p(0x176)];await this['fsi']['injectTemplateModule'](i[p(0x15e)],h,k);});}catch(i){Log[o(0x178)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d
|
|
1
|
+
function a118c(){var i=['1156784QyIAfj','1638OiDzjD','8070KPwzoF','toString','5kdtIoh','1bTJAqt','2177819mSvUUC','apply','(((.+)+)+)+$','10296RFrJcY','1303812hkgjwo','constructor','24064EEbFMh','search','5031240NjKiZN','795891JSYqAQ'];a118c=function(){return i;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xbe))/0x1*(-parseInt(f(0xb3))/0x2)+-parseInt(f(0xb8))/0x3+-parseInt(f(0xb9))/0x4*(-parseInt(f(0xbd))/0x5)+parseInt(f(0xb7))/0x6+parseInt(f(0xbf))/0x7+parseInt(f(0xb5))/0x8*(-parseInt(f(0xba))/0x9)+-parseInt(f(0xbb))/0xa*(parseInt(f(0xc2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x7f99e));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xbc)]()[h(0xb6)](h(0xc1))['toString']()[h(0xb4)](a118a)[h(0xb6)]('(((.+)+)+)+$');});a118a();import'./kit.js';import'./mui/_index.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xb3;var f=c[d];return f;},a118d(a,b);}import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x1bb))/0x1+parseInt(f(0x1c1))/0x2+parseInt(f(0x1c8))/0x3+parseInt(f(0x1c0))/0x4*(-parseInt(f(0x1c2))/0x5)+-parseInt(f(0x1c4))/0x6+parseInt(f(0x1c5))/0x7*(parseInt(f(0x1c7))/0x8)+-parseInt(f(0x1bf))/0x9*(-parseInt(f(0x1bd))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xd8876));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x1c6)]()[h(0x1c3)]('(((.+)+)+)+$')['toString']()[h(0x1be)](a119a)['search'](h(0x1bc));});a119a();import'./auth.generator.js';import'./provider.auth.gen.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x1bb;var f=c[d];return f;},a119d(a,b);}import'./basic-meteor.auth.gen.js';function a119c(){var i=['constructor','36VZRsMc','4WEgBiq','3234636KOXtSa','5273105gAUclG','search','7803972iHsaNG','4373138mSJyOT','toString','8SrqIZa','3138696thzclW','apply','90183MVCNIs','(((.+)+)+)+$','110210ZKDqHK'];a119c=function(){return i;};return a119c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0x117))/0x1+parseInt(f(0x10e))/0x2*(parseInt(f(0x10a))/0x3)+-parseInt(f(0x10c))/0x4+-parseInt(f(0x114))/0x5*(-parseInt(f(0x110))/0x6)+-parseInt(f(0x118))/0x7*(parseInt(f(0x10d))/0x8)+-parseInt(f(0x119))/0x9*(parseInt(f(0x10f))/0xa)+parseInt(f(0x109))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x55c5e));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0x113)]()[h(0x115)](h(0x112))[h(0x113)]()['constructor'](a120a)[h(0x115)](h(0x112));});a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x109;let f=c[d];return f;},a120d(a,b);}import{Generator}from'../../../generator.js';import a120e from'../kit.js';function a120c(){const j=['3358220oubFrg','12zGDmYw','maka\x20g:kit:a','(((.+)+)+)+$','toString','297165yHYIDs','search','auth','239585TotiCv','21BQDjwD','18Rwrhrw','12133924vMzoPi','259344RHEiSg','apply','169680RRdjie','1622824KZtHmC','16OsItSF'];a120c=function(){return j;};return a120c();}const AuthGen=Generator['create']({'name':a120i(0x116),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','validOpts':[''],'isPro':!![],'examples':[a120i(0x111)],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){throw'NIE';},async function(){},a120e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x84;let f=c[d];return f;},a121d(a,b);}function a121c(){const u=['ssr','accounts-password','3118956GGamIT','const\x20sendForgotPasswordEmail','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','const\x20getUserAuthorizations','true','authentication-provider','error','publish','766647UcbYSp','(((.+)+)+)+$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','Meteor','imports','.js','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','Meteor.publish','2TMqJYZ','apply','13551348ZFDbbl','const\x20deauthenticateUser','auth/roles','4joRPDM','findProjectDirectory','meteor','42472vVFeGB','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','30JAGcZy','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','exit','/imports/startup/client','kit/auth/service/meteor-auth-service.js','toString','create','136767YYrfNQ','fsi','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','REACT','startup','index','getMakaProjectConfig','const\x20registerNewUser','processAndRunGenerator','meteor/maka:react-tracker','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','checkMeteorPackage','676830SzjMqG','constructor','AuthService','kit:auth:provider','react','authentication-service','meteor/accounts-base','const\x20authenticateToken','11isRBBz','35Oqeeau','const\x20resetPasswordWithToken','server','2967675zQWCNz','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','injectImport','injectIntoCodeBlock','search','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','pathFromApp','Meteor.startup','injectIntoFile','withValue','const\x20authenticateUser','force','template'];a121c=function(){return u;};return a121c();}const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0x87))/0x1*(-parseInt(o(0xbf))/0x2)+parseInt(o(0x93))/0x3+-parseInt(o(0xc4))/0x4*(-parseInt(o(0x9f))/0x5)+parseInt(o(0xaf))/0x6+parseInt(o(0x9c))/0x7*(-parseInt(o(0xc7))/0x8)+parseInt(o(0xb7))/0x9*(parseInt(o(0xc9))/0xa)+-parseInt(o(0x9b))/0xb*(parseInt(o(0xc1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x49b69));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x85)]()[q(0xa3)](q(0xb8))[q(0x85)]()[q(0x94)](a121a)[q(0xa3)](q(0xb8));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x86)]({'name':a121r(0xc6),'aliases':['m'],'usage':a121r(0x91),'shortDesc':a121r(0xa4),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x8a)]},'description':a121r(0xbd)},async function(a,b){const s=a121r;try{const c=b[s(0xab)]||![];await this['fsi'][s(0x92)]([s(0xae),'alanning:roles'],{'shouldInstall':!![]});const d=this['fsi'][s(0xc5)](),f=this[s(0x88)][s(0x8d)](),g=f['engines'][s(0xad)]===s(0xb3);await a121f[s(0x8f)](s(0x96),[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0x8f)](s(0xb6),[s(0xc3)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':s(0xcc),j=this[s(0x88)][s(0xa6)]({'pathParts':[i,'','',s(0x98)]});await this[s(0x88)][s(0xa9)](f,async()=>{const t=s;await this[t(0x88)][t(0xac)]({'srcPath':t(0x84),'destPath':j+t(0xbc),'framework':t(0x97),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x88)][s(0xa6)]({'pathParts':[i,'','',s(0xb4)]}),l=f['engines']['js'];await this[s(0x88)][s(0xa1)]({'filePath':k+'.'+l,'importName':s(0x95),'modulePath':g?'/imports/startup/lib/authentication-service':'/imports/startup/client/authentication-service','isNamedExport':![]}),await this[s(0x88)][s(0xa2)]({'filePath':k+'.'+l,'content':s(0xb1),'begin':s(0xaa),'replace':!![]}),await this['fsi'][s(0xa2)]({'filePath':k+'.'+l,'content':s(0xb9),'begin':s(0x9a),'replace':!![]}),await this[s(0x88)][s(0xa2)]({'filePath':k+'.'+l,'content':s(0xa5),'begin':s(0xb2),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0xc8),'begin':s(0xc2),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0xca),'begin':s(0xb0),'replace':!![]}),await this[s(0x88)][s(0xa2)]({'filePath':k+'.'+l,'content':s(0x89),'begin':s(0x8e),'replace':!![]}),await this[s(0x88)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x9d),'replace':!![]});g&&(await this[s(0x88)][s(0xa1)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0x90),'isNamedExport':!![]}),await this[s(0x88)][s(0xa8)]({'filePath':k+'.'+l,'content':s(0xa0),'begin':'export\x20const\x20AuthProvider','end':'return\x20\x5c('}));await this['fsi'][s(0xa1)]({'filePath':h,'importName':s(0xba),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][s(0xa2)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xbe),'replace':!![]});const m=this[s(0x88)]['pathFromApp']({'pathParts':[s(0xbb),s(0x8b),s(0x9e),s(0x8c)]});await this[s(0x88)]['injectImport']({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0x99),'isNamedExport':!![]}),await this[s(0x88)][s(0xa2)]({'filePath':m+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xa7),'replace':!![]});}catch(n){Log[s(0xb5)](n),process[s(0xcb)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d
|
|
1
|
+
const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0x1c8))/0x1*(parseInt(u(0x1b4))/0x2)+parseInt(u(0x1c1))/0x3+-parseInt(u(0x1cb))/0x4*(-parseInt(u(0x1cf))/0x5)+parseInt(u(0x1a7))/0x6+-parseInt(u(0x1ad))/0x7+-parseInt(u(0x1b8))/0x8*(parseInt(u(0x1b3))/0x9)+parseInt(u(0x1bd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xc898e));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0x1ce)]()[w(0x1a1)](w(0x1d1))[w(0x1ce)]()['constructor'](a122a)['search'](w(0x1d1));});a122a();import{Generator}from'../../../generator.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1a0;let f=c[d];return f;},a122d(a,b);}import{Log}from'../../../tools/log/log.class.js';function a122c(){const A=['apply','/routes','464efJcKk','true','const\x20useAuth','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client/authentication-provider','5080350pIjfBx','getMakaProjectConfig','react','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','957591gUWGES','force','injectAroundString','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','appName','/imports/startup/lib/authentication-provider','.js','289085rPSGIJ','fsi','exit','132jMCrhx','</AuthProvider>','REACT','toString','143285Plaeha','<AuthProvider>','(((.+)+)+)+$','/imports/startup/server/index','kit/auth/provider/authentication-provider.js','search','withValue','engines','AuthContext','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','<AppRoutes\x20/>','2561022VqRVRG','error','AuthProvider','injectImport','split','ssr','4128600IJLEZc','provider','injectIntoCodeBlock','pathFromApp','create','/imports/startup/client','32607vGqkXV','4FGntCN','authentication-provider'];a122c=function(){return A;};return a122c();}import a122e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122x(0x1b1)]({'name':a122x(0x1ae),'aliases':['p'],'usage':a122x(0x1c4),'shortDesc':a122x(0x1a5),'validOpts':[a122x(0x1c2)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0x1cd)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const y=a122x;try{const c=b[y(0x1c2)]||![];Log['bright'](y(0x1c0));const d=this['fsi'][y(0x1be)](),f=d[y(0x1a3)][y(0x1ac)]===y(0x1b9),g={'name':headerCase(d[y(0x1c5)])['replaceAll']('-','\x20')},h=f?'/imports/startup/lib':y(0x1b2),i=this['fsi'][y(0x1b0)]({'pathParts':[h,'','',y(0x1b5)]});await this[y(0x1c9)][y(0x1a2)](d,async()=>{const z=y;await this[z(0x1c9)]['template']({'srcPath':z(0x1a0),'destPath':i+z(0x1c7),'framework':z(0x1bf),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x1a3)]['js'],k=h+y(0x1b7),l=k[y(0x1ab)]('/'),m=this[y(0x1c9)][y(0x1b0)]({'pathParts':l});await this['fsi'][y(0x1aa)]({'filePath':m+'.'+j,'importName':y(0x1a4),'modulePath':f?y(0x1c6):y(0x1bc),'isNamedExport':!![]}),await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0x1bf),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x1c9)][y(0x1af)]({'filePath':m+'.'+j,'content':y(0x1bb),'begin':[y(0x1ba),'function\x20useAuth'],'replace':!![]}),await this[y(0x1c9)][y(0x1af)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','begin':['const\x20PrivateRoute'],'replace':!![]});const n='/imports/startup/client/index',o=n[y(0x1ab)]('/'),p=this['fsi'][y(0x1b0)]({'pathParts':o});await this[y(0x1c9)][y(0x1aa)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x1bc),'isNamedExport':!![]}),await this['fsi'][y(0x1c3)]({'filePath':p+'.'+j,'aboveContent':y(0x1d0),'belowContent':'</AuthProvider>','targetString':y(0x1a6),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1d2),r=q[y(0x1ab)]('/'),s=this[y(0x1c9)][y(0x1b0)]({'pathParts':r});await this[y(0x1c9)]['injectImport']({'filePath':s+'.'+j,'importName':y(0x1a9),'modulePath':f?y(0x1c6):y(0x1bc),'isNamedExport':!![]}),await this[y(0x1c9)][y(0x1c3)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1cc),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x1a8)](t),process[y(0x1ca)](0x1);}},async function(){},a122e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a123d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0x9a))/0x1*(-parseInt(f(0x8b))/0x2)+parseInt(f(0x8a))/0x3*(-parseInt(f(0x94))/0x4)+-parseInt(f(0x8c))/0x5*(-parseInt(f(0x99))/0x6)+-parseInt(f(0x8f))/0x7+parseInt(f(0x96))/0x8*(-parseInt(f(0x91))/0x9)+parseInt(f(0x93))/0xa+-parseInt(f(0x8e))/0xb*(-parseInt(f(0x97))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xa6c20));function a123c(){var i=['19276644TgOKsY','(((.+)+)+)+$','7662zVQyph','72055sgeflq','33gaCqdO','16ZzdGBB','3075LHbKby','search','11DsSiSj','9442286auPnkG','constructor','1395WedwUc','apply','11260690qIddke','156652VpEUUB','toString','24704TzBQxT'];a123c=function(){return i;};return a123c();}var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a['toString']()[h(0x8d)](h(0x98))[h(0x95)]()[h(0x90)](a123a)[h(0x8d)](h(0x98));});a123a();function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x8a;var f=c[d];return f;},a123d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a124i=a124d;function a124c(){const k=['/foo/bar','Esri\x20Kit\x20generated\x20successfully','4254BmFRCy','187DYuVwD','433kCaTTL','15PWOetj','1263130cOeiKA','search','54MZOxDD','maka\x20g:kit:e','11527074DSDORr','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','create','109952YldMjJ','apply','2546097Kqyndh','1553572mKrEoU','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','/foo','866229hDXyLC','toString'];a124c=function(){return k;};return a124c();}(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x88))/0x1*(-parseInt(f(0x86))/0x2)+parseInt(f(0x7d))/0x3+-parseInt(f(0x7e))/0x4*(-parseInt(f(0x89))/0x5)+-parseInt(f(0x8c))/0x6*(parseInt(f(0x82))/0x7)+-parseInt(f(0x91))/0x8+-parseInt(f(0x8e))/0x9+parseInt(f(0x8a))/0xa*(parseInt(f(0x87))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xcb1d3));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x7c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x83)]()[h(0x8b)](h(0x7f))[h(0x83)]()['constructor'](a124a)['search'](h(0x7f));});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x90)]({'name':'esri','aliases':['e'],'usage':a124i(0x80),'noNeedResource':!![],'shortDesc':a124i(0x8f),'validOpts':[''],'isPro':!![],'examples':[a124i(0x8d)],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a124i;return{'success':!![],'message':j(0x85),'details':{'filesCreated':[j(0x84)],'filesUpdated':[j(0x81)]}};},async function(){},a124e);function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x7c;let f=c[d];return f;},a124d(a,b);}export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d
|
|
1
|
+
function a125c(){const v=['FALSE','esri-loader','kit/esri/map/','54XLfDpb','findProjectDirectory','3701080EOjODS','/imports/startup/client/templates','replaceAll','Generate\x20an\x20Esri\x20map\x20component','toString','.js','ssr','injectIntoFile','REACT','withValue','search','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','template','dir','/imports/startup/lib/templates','true','<div\x20id=\x22map\x22>','5048yFbTut','(((.+)+)+)+$','7560820oXdvXH','map','1161HwSNyU','injectTemplateModule','1665986WmWHGI','pathFromApp','1871436vrKqdb','split','48PGwHOA','getMakaProjectConfig','/imports/ui/hooks','9259970jFVIFi','exit','constructor','appName','create','</div>','error','apply','checkNpmPackage','bright','processAndRunGenerator','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','baseDir','fsi','9780912gQUeuZ','/imports/ui/','page'];a125c=function(){return v;};return a125c();}const a125s=a125d;function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x127;let f=c[d];return f;},a125d(a,b);}(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0x135))/0x1+-parseInt(p(0x12f))/0x2*(parseInt(p(0x133))/0x3)+parseInt(p(0x152))/0x4+-parseInt(p(0x13c))/0x5+-parseInt(p(0x14a))/0x6+-parseInt(p(0x137))/0x7*(-parseInt(p(0x139))/0x8)+-parseInt(p(0x150))/0x9*(-parseInt(p(0x131))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xe5b82));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a['toString']()[r(0x128)](r(0x130))[r(0x156)]()[r(0x13e)](a125a)['search']('(((.+)+)+)+$');});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x140)]({'name':a125s(0x132),'aliases':['m'],'usage':a125s(0x129),'shortDesc':a125s(0x155),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x15a)],'ssr':SsrEngines[a125s(0x14d)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const t=a125s;try{Log[t(0x145)]('Generating\x20a\x20map\x20component');const c='basic-map';await this[t(0x149)][t(0x144)](['@esri/react-arcgis',t(0x14e)],{'shouldInstall':!![]});const d=this[t(0x149)][t(0x151)](),f=this[t(0x149)][t(0x13a)](),g=f['engines'][t(0x158)]===t(0x12d),h=await a125f[t(0x146)](t(0x14c),[t(0x132)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x13f)])[t(0x154)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x148)]?t(0x14b)+b['baseDir']:t(0x13b),k=this[t(0x149)][t(0x136)]({'pathParts':[j,b[t(0x12b)],paramCase(c),paramCase(c)]});await this[t(0x149)][t(0x127)](f,async()=>{const u=t;await this[u(0x149)][u(0x12a)]({'srcPath':u(0x14f)+c+u(0x157),'destPath':k+'.js','framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x12b)]+'/'+c+'/'+c;await this[t(0x149)][t(0x134)](c,f,l);const m=h[t(0x138)]('/'),n=this[t(0x149)][t(0x136)]({'pathParts':m});await this[t(0x149)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x12c):t(0x153),'isNamedExport':!![]}),await this[t(0x149)][t(0x159)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x147),'begin':['<div\x20id=\x22map\x22>',t(0x12e)],'end':[t(0x141)],'replace':!![]});}catch(o){Log[t(0x142)](o),process[t(0x13d)](0x1);}},async function(){},a125e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126i=a126d;
|
|
1
|
+
const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x14f))/0x1+parseInt(f(0x145))/0x2+-parseInt(f(0x152))/0x3*(-parseInt(f(0x146))/0x4)+parseInt(f(0x153))/0x5+-parseInt(f(0x151))/0x6+parseInt(f(0x14b))/0x7*(parseInt(f(0x156))/0x8)+parseInt(f(0x148))/0x9*(-parseInt(f(0x14a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x18c84));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x147)]()[h(0x149)](h(0x14e))[h(0x147)]()['constructor'](a126a)['search'](h(0x14e));});a126a();import{Generator}from'../../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x144;let f=c[d];return f;},a126d(a,b);}const KitGen=Generator['create']({'name':a126i(0x155),'aliases':['k'],'usage':a126i(0x14d),'shortDesc':a126i(0x150),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x14c),a126i(0x154)]},async function(){});export default KitGen;function a126c(){const j=['maka\x20g:k','kit','5912MrWwSl','apply','159310wJIVHv','4wjWjQr','toString','5958GFYWtq','search','3310CtQtiA','1799rGIBxP','maka\x20g:kit','maka\x20{generate,\x20g}:{kit}\x20<name>','(((.+)+)+)+$','125655PfsIKF','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','194490IYnABy','350739AzmLpF','461045NYQFTb'];a126c=function(){return j;};return a126c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x82))/0x1+-parseInt(f(0x85))/0x2*(-parseInt(f(0x88))/0x3)+parseInt(f(0x7f))/0x4+-parseInt(f(0x83))/0x5+-parseInt(f(0x7e))/0x6+-parseInt(f(0x87))/0x7+parseInt(f(0x81))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x31639));function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x7e;var f=c[d];return f;},a127d(a,b);}var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var g=a127d;return a127a['toString']()[g(0x86)](g(0x80))['toString']()[g(0x84)](a127a)[g(0x86)](g(0x80));});a127a();import'./mui.generator.js';import'./frame.mui.gen.js';function a127c(){var h=['2625016xYOlIi','20044OUxhbF','437920WgXmyv','constructor','1892OCYtCU','search','2632588KZTUtU','519YvvAqi','1154382IzmdLR','1386132nYTWax','(((.+)+)+)+$'];a127c=function(){return h;};return a127c();}import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-
|
|
1
|
+
const a128J=a128d;function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xf2;let f=c[d];return f;},a128d(a,b);}(function(a,b){const G=a128d,c=a();while(!![]){try{const d=parseInt(G(0x11a))/0x1+parseInt(G(0xff))/0x2+parseInt(G(0xf4))/0x3*(parseInt(G(0x102))/0x4)+parseInt(G(0x11d))/0x5*(parseInt(G(0x12f))/0x6)+-parseInt(G(0x133))/0x7*(-parseInt(G(0x12e))/0x8)+-parseInt(G(0x134))/0x9*(parseInt(G(0x126))/0xa)+-parseInt(G(0x117))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x630a1));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x124)]()[I(0x12d)](I(0x103))[I(0x124)]()['constructor'](a128a)[I(0x12d)](I(0x103));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';function a128c(){const N=['create','error','Cleaning\x20up...','/imports/startup/lib/authentication-provider','true','kit:auth:meteor','kit/mui/auth/forgot-password/','auth','kit/mui/auth/login/','baseDir','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','options','split','basic-logout-page','basic-register-page','log','injectImport','basic-forgot-password-page','engines','14555706LTljBY','ssr','force','706846UgqYJc','route','processAndRunGenerator','25iXTVdd','login','dir','maka\x20generate:kit:mui:frame','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','withValue','layouts','toString','kit:auth:provider','1180YWIExL','custom','meteor','AuthContext','.js','register','injectTemplateModule','search','32XdCIST','75066Hzihjk','/imports/startup/client/authentication-provider','pathFromApp','basic-password-reset-page','973168KGNRhV','42039DihkXo','findProjectDirectory','getMakaProjectConfig','template','apply','36588GCzrTH','kit/mui/auth/logout/','react','fsi','basic-login-page','kit/mui/auth/register/','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','replaceAll','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','logout','authType','1396952AIWuiN','maka\x20g:k:m:f','Custom\x20(roll\x20your\x20own)','84ejthUg','(((.+)+)+)+$'];a128c=function(){return N;};return a128c();}import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0x104)]({'name':a128J(0x10b),'aliases':['a'],'usage':a128J(0xfa),'shortDesc':a128J(0x121),'validOpts':[a128J(0x123),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':[a128J(0x120),a128J(0x100)],'description':a128J(0x10e)},async function(a,b){const K=a128J;try{const c=b[K(0x119)]||![],d=this['fsi'][K(0x135)](),f=this[K(0xf7)][K(0x136)](),{authType:g}=await Actions[K(0x10f)]({'type':'list','name':K(0xfe),'message':K(0xfc),'choices':[{'name':'Meteor\x20Accounts','value':K(0x128)},{'name':K(0x101),'value':K(0x127)}]}),h='basic-login-page',i='basic-logout-page',j=K(0x112),k=K(0x132),l='basic-forgot-password-page',m=b[K(0x10d)]?'/imports/ui/'+b['baseDir']:'/imports/ui/pages/auth',n=this[K(0xf7)][K(0x131)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0xf7)]['pathFromApp']({'pathParts':[m,b[K(0x11f)],paramCase(i),paramCase(i)]}),p=this[K(0xf7)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this[K(0xf7)]['pathFromApp']({'pathParts':[m,b[K(0x11f)],paramCase(k),paramCase(k)]}),r=this[K(0xf7)][K(0x131)]({'pathParts':[m,b[K(0x11f)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f['appName'])[K(0xfb)]('-','\x20')};await this[K(0xf7)][K(0x122)](f,async()=>{const L=K;await this[L(0xf7)][L(0xf2)]({'srcPath':L(0x10c)+h+L(0x12a),'destPath':n+L(0x12a),'framework':L(0xf6),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xf7)][L(0xf2)]({'srcPath':L(0xf5)+i+'.js','destPath':o+L(0x12a),'framework':L(0xf6),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':L(0xf9)+j+L(0x12a),'destPath':p+L(0x12a),'framework':L(0xf6),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0xf2)]({'srcPath':'kit/mui/auth/password-reset/'+k+'.js','destPath':q+L(0x12a),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xf7)][L(0xf2)]({'srcPath':L(0x10a)+l+L(0x12a),'destPath':r+L(0x12a),'framework':L(0xf6),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b['dir']+'/'+h+'/'+h;await this[K(0xf7)][K(0x12c)](h,f,t);const u=''+m+b[K(0x11f)]+'/'+i+'/'+i;await this[K(0xf7)][K(0x12c)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[K(0xf7)][K(0x12c)](j,f,v);const w=''+m+b[K(0x11f)]+'/'+k+'/'+k;await this[K(0xf7)][K(0x12c)](k,f,w);const x=''+m+b[K(0x11f)]+'/'+l+'/'+l;await this['fsi'][K(0x12c)](l,f,x),await a128e[K(0x11c)]('route',[K(0xf8)],{'route':K(0x11e),'cwd':d,'config':f}),await a128e[K(0x11c)](K(0x11b),[K(0x111)],{'route':K(0xfd),'private':!![],'cwd':d,'config':f}),await a128e[K(0x11c)](K(0x11b),['basic-register-page'],{'route':K(0x12b),'cwd':d,'config':f}),await a128e[K(0x11c)](K(0x11b),[K(0x132)],{'route':'reset-password/:token','cwd':d,'config':f}),await a128e[K(0x11c)](K(0x11b),[K(0x115)],{'route':'forgot-password','cwd':d,'config':f});g===K(0x128)&&await a128e[K(0x11c)](K(0x109),[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a128e[K(0x11c)](K(0x125),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x116)][K(0x118)]===K(0x108),z=f[K(0x116)]['js'],A=this['fsi'][K(0x131)]({'pathParts':t[K(0x110)]('/')});await this[K(0xf7)][K(0x114)]({'filePath':A+'.'+z,'importName':K(0x129),'modulePath':y?K(0x107):K(0x130),'isNamedExport':!![]});const B=this[K(0xf7)][K(0x131)]({'pathParts':u[K(0x110)]('/')});await this[K(0xf7)][K(0x114)]({'filePath':B+'.'+z,'importName':K(0x129),'modulePath':y?K(0x107):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0xf7)][K(0x131)]({'pathParts':v[K(0x110)]('/')});await this[K(0xf7)][K(0x114)]({'filePath':C+'.'+z,'importName':K(0x129),'modulePath':y?K(0x107):K(0x130),'isNamedExport':!![]});const D=this[K(0xf7)][K(0x131)]({'pathParts':w[K(0x110)]('/')});await this['fsi'][K(0x114)]({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?K(0x107):K(0x130),'isNamedExport':!![]});const E=this[K(0xf7)][K(0x131)]({'pathParts':x['split']('/')});await this[K(0xf7)][K(0x114)]({'filePath':E+'.'+z,'importName':K(0x129),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x130),'isNamedExport':!![]});}catch(F){Log[K(0x105)](F);}},async function(){const M=a128J;console[M(0x113)](M(0x106));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(
|
|
1
|
+
const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0xef))/0x1*(-parseInt(B(0xe5))/0x2)+-parseInt(B(0xd9))/0x3+-parseInt(B(0xc3))/0x4*(parseInt(B(0xc5))/0x5)+-parseInt(B(0xd7))/0x6+parseInt(B(0xd2))/0x7*(parseInt(B(0xb6))/0x8)+parseInt(B(0xf1))/0x9+parseInt(B(0xd1))/0xa*(parseInt(B(0xe3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x5fb17));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0xf2)]()[D(0xb9)](D(0xda))[D(0xf2)]()[D(0xbe)](a129a)[D(0xb9)]('(((.+)+)+)+$');});a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';function a129c(){const I=['replaceAll','appName','/imports/startup/client/templates','110qRXfBh','4179AyqpFp','fsi','pathFromApp','/imports/ui/components','/imports/ui/','1182378EXXUeW','apply','136590QBDWbs','(((.+)+)+)+$','layouts','checkbox','app-tests','getFiles','ssr','MATERIAL','<Outlet\x20/>','length','790955SQQqhR','engines','2uObFOy','injectIntoFile','kit/mui/frame/drawers/','\x20/>\x0a','tests','maka\x20g:k:m:f','getMakaProjectConfig','error','force','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','297294ymdsdJ','Cleaning\x20up...','174519rfBwWl','toString','dir','<Outlet/>','injectAroundString','-hook\x22>','react','REACT','withValue','baseDir','session','/imports/startup/lib/templates','<div\x20id=\x22','488QfdCKN','maka\x20generate:kit:mui:frame','Box','search','.js','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','true','constructor','@mui/material/Container','join','injectImport','No\x20layouts\x20selected','20JTZsde','kit/mui/frame/app-bars/','509505TVOmVv','template','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','options','injectTemplateModule','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','test','log'];a129c=function(){return I;};return a129c();}function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xac;let f=c[d];return f;},a129d(a,b);}import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'frame','aliases':['f'],'usage':a129E(0xee),'shortDesc':a129E(0xbb),'validOpts':[a129E(0xdb),a129E(0xb2),a129E(0xf3),a129E(0xed)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0xe0)],'client':ClientEngines[a129E(0xb0)]},'examples':[a129E(0xb7),a129E(0xea)],'description':a129E(0xc8)},async function(a,b){const F=a129E;try{const c=b[F(0xed)]||![],d='basic-app-bar',f='basic-drawer',g='basic-sticky-footer',h=this[F(0xd3)][F(0xeb)](),i=h[F(0xe4)][F(0xdf)]===F(0xbd);await this['fsi']['checkMeteorPackage']([F(0xb3),'maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0xd3)]['findAppDirectory'](),k=a129e['join'](j,'imports','ui',F(0xdb)),l=this[F(0xd3)]['getDirectories'](k),m=await Actions[F(0xc9)]({'type':F(0xdc),'name':F(0xdb),'message':F(0xc7),'choices':l});if(m[F(0xdb)][F(0xe2)]===0x0){Log[F(0xec)](F(0xc2));return;}const n=b[F(0xb2)]?F(0xd6)+b[F(0xb2)]:F(0xd5),o=this[F(0xd3)][F(0xd4)]({'pathParts':[n,b[F(0xf3)],paramCase(d),paramCase(d)]}),p=this[F(0xd3)][F(0xd4)]({'pathParts':[n,b[F(0xf3)],paramCase(f),paramCase(f)]}),q=this['fsi'][F(0xd4)]({'pathParts':[n,b[F(0xf3)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0xcf)])[F(0xce)]('-','\x20')};await this['fsi'][F(0xb1)](h,async()=>{const G=F;await this[G(0xd3)][G(0xc6)]({'srcPath':G(0xc4)+d+G(0xba),'destPath':o+G(0xba),'framework':G(0xaf),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xd3)][G(0xc6)]({'srcPath':G(0xe7)+f+G(0xba),'destPath':p+G(0xba),'framework':G(0xaf),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xd3)]['template']({'srcPath':'kit/mui/frame/footers/'+g+G(0xba),'destPath':q+G(0xba),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0xf3)]+'/'+d+'/'+d;await this[F(0xd3)]['injectTemplateModule'](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0xd3)]['injectTemplateModule'](f,h,t);const u=''+n+b[F(0xf3)]+'/'+g+'/'+g;await this[F(0xd3)][F(0xca)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0xd3)][F(0xde)](a129e['join'](k,w),{'extensions':['jsx','tsx'],'omit':[F(0xdd),F(0xe9),F(0xcc)]});for(const y of x){const z=a129e[F(0xc0)](k,w,y);await this[F(0xd3)][F(0xc1)]({'filePath':z,'importName':F(0xb8),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this['fsi'][F(0xc1)]({'filePath':z,'importName':'Container','modulePath':F(0xbf),'isNamedExport':![]}),await this['fsi'][F(0xc1)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0xd3)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+F(0xe8),'begin':[F(0xb5)+w+'\x22>',F(0xb5)+w+F(0xae)],'end':['<Outlet/>',F(0xe1)]}),await this[F(0xd3)][F(0xc1)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0xb4):F(0xd0),'isNamedExport':!![]}),await this[F(0xd3)][F(0xe6)]({'filePath':z,'content':'<'+pascalCase(f)+F(0xe8),'begin':[F(0xb5)+w+'\x22>',F(0xb5)+w+F(0xae)],'end':['<Outlet/>',F(0xe1)]}),await this[F(0xd3)][F(0xe6)]({'filePath':z,'content':'<'+pascalCase(g)+F(0xe8),'begin':[F(0xac),F(0xe1)],'end':['</div>']}),await this[F(0xd3)][F(0xc1)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0xb4):F(0xd0),'isNamedExport':!![]}),await this[F(0xd3)][F(0xad)]({'filePath':z,'aboveContent':F(0xbc),'belowContent':F(0xcb),'targetString':[F(0xac),F(0xe1)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const H=a129E;console[H(0xcd)](H(0xf0));},a129f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a130i=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0x207))/0x1*(-parseInt(g(0x1f4))/0x2)+-parseInt(g(0x1f2))/0x3+-parseInt(g(0x1f5))/0x4*(-parseInt(g(0x201))/0x5)+-parseInt(g(0x1e9))/0x6*(parseInt(g(0x1fb))/0x7)+parseInt(g(0x209))/0x8*(parseInt(g(0x203))/0x9)+-parseInt(g(0x1e5))/0xa*(-parseInt(g(0x1fd))/0xb)+-parseInt(g(0x1f6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xe41f3));function a130c(){const k=['options','findProjectDirectory','kit:mui:frame','5226048afMFFu','search','86nRXWcj','96632oamFGj','7628628LXEOqd','frame','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','length','includes','276031TSYCrD','fsi','45419belsBi','toString','constructor','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','185xKxmaj','kit:mui:auth','17739pnEHJO','processAndRunGenerator','notice','mui','1929BbrMEW','auth','7392KIoilx','info','4130JCydkg','Header,\x20Footer,\x20and\x20Drawer','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','156ADTzQd','(((.+)+)+)+$','maka\x20g:kit:m','create','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','Material-UI\x20Kit'];a130c=function(){return k;};return a130c();}const a130b=(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;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0x1fe)]()[h(0x1f3)](h(0x1ea))['toString']()[h(0x1ff)](a130a)[h(0x1f3)](h(0x1ea));});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1e5;let f=c[d];return f;},a130d(a,b);}import a130f from'../kit.js';const MuiGen=Generator[a130i(0x1ec)]({'name':a130i(0x206),'aliases':['m'],'usage':a130i(0x1f8),'noNeedResource':!![],'shortDesc':a130i(0x1ee),'validOpts':[''],'isPro':!![],'examples':[a130i(0x1eb)]},async function(){const j=a130i;Log[j(0x20a)](j(0x200)),Log[j(0x205)](j(0x1ed));const {kitChoices:a}=await Actions[j(0x1ef)]({'type':'checkbox','name':'kitChoices','message':j(0x1e7),'choices':[{'name':j(0x1e6),'value':j(0x1f7)},{'name':j(0x1e8),'value':j(0x208)}]}),b=this['fsi'][j(0x1f0)](),c=this[j(0x1fc)]['getMakaProjectConfig']();a['includes'](j(0x1f7))&&await a130e[j(0x204)](j(0x1f1),[],{'force':!![],'cwd':b,'config':c});a[j(0x1fa)]('auth')&&await a130e['processAndRunGenerator'](j(0x202),[],{'force':!![],'cwd':b,'config':c});if(a[j(0x1f9)]===0x0){Log[j(0x20a)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}},async function(){},a130f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(
|
|
1
|
+
const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0x1e5))/0x1*(parseInt(l(0x1ec))/0x2)+parseInt(l(0x1c5))/0x3*(parseInt(l(0x1d1))/0x4)+-parseInt(l(0x1df))/0x5*(parseInt(l(0x1bd))/0x6)+parseInt(l(0x1cb))/0x7+parseInt(l(0x1d3))/0x8+-parseInt(l(0x1d8))/0x9*(-parseInt(l(0x1bf))/0xa)+parseInt(l(0x1d9))/0xb*(-parseInt(l(0x1ea))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x87f8c));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0x1dd)]()[n(0x1db)](n(0x1c3))[n(0x1dd)]()[n(0x1c9)](a131a)['search'](n(0x1c3));});a131a();import a131e from'path';function a131c(){const r=['316170dzsvNa','graphql','9845870PeBvtz','injectTemplateModule','css','pathFromApp','(((.+)+)+)+$','withValue','11139xeGjab','maka\x20g:l\x20web/safari','resourceName','dir','constructor','installNpmPackage','4909177vhmFhd','template','includes','getMakaProjectConfig','split','relative','188JqToWJ','ssr','7794296qrzkbL','layout','className','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','true','9Gumwhj','392007DyiELz','react','search','api','toString','client','30ERNefK','.css','setTemplate','apply','withHooks','string','215373mVOhmH','findAppDirectory','ramda','.js','/imports/ui/layouts','588wjCnlC','features','2ZCiaPr','assign','engines','test','withHook','checkNpmPackage','Scaffolding\x20for\x20a\x20React\x20Layout.','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','fileName','fsi','test/test.js'];a131c=function(){return r;};return a131c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a131d(a,b);}Generator['create']({'name':a131o(0x1d4),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a131o(0x1b8),'validOpts':[a131o(0x1f0)],'examples':['maka\x20g:layout\x20mobile/iPhone8',a131o(0x1c6)]},async function(a,b){const p=a131o,c=p(0x1e9),d=this[p(0x1bb)][p(0x1e6)](),e=this['fsi'][p(0x1c2)]({'pathParts':[c,b[p(0x1c8)],paramCase(b['resourceName']),paramCase(b[p(0x1c7)])]}),f=this['fsi'][p(0x1ce)]();await this[p(0x1bb)][p(0x1c4)](f,async()=>{const q=p;typeof f[q(0x1cc)][q(0x1ef)]===q(0x1e4)&&(f[q(0x1cc)][q(0x1ef)]=f[q(0x1cc)][q(0x1ef)]===q(0x1d7)?!![]:![],this[q(0x1bb)][q(0x1e1)]('test',f['template'][q(0x1ef)]));typeof f[q(0x1cc)]['css']===q(0x1e4)&&(f[q(0x1cc)][q(0x1c1)]=f[q(0x1cc)][q(0x1c1)]===q(0x1d7)?!![]:![],this['fsi'][q(0x1e1)](q(0x1c1),f[q(0x1cc)][q(0x1c1)]));typeof f[q(0x1cc)]['js']===q(0x1e4)&&(f[q(0x1cc)]['js']=f[q(0x1cc)]['js']===q(0x1d7)?!![]:![],this[q(0x1bb)][q(0x1e1)]('js',f[q(0x1cc)]['js']));!f[q(0x1eb)]&&(f[q(0x1eb)]={});const g=b['_']?b['_'][0x0][q(0x1cf)](':')[0x1]:![],h=b['_']&&aliases[q(0x1cd)](g);h&&!this[q(0x1b7)](q(0x1e7))&&(Log['warn'](q(0x1d6)),this[q(0x1bb)][q(0x1ca)](q(0x1e7),{'cwd':d}));if(h&&!this[q(0x1b7)](q(0x1da))){Log['warn'](q(0x1b9));return;}const i={'name':pascalCase(b[q(0x1c7)]),'myPath':a131e[q(0x1d0)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0x1c7)]),'className':pascalCase(b[q(0x1c7)]),'camelCaseName':camelCase(b[q(0x1c7)]),'fileName':paramCase(b[q(0x1c7)]),'graphql':f[q(0x1ee)][q(0x1be)],'features':f[q(0x1eb)],'client':f['engines'][q(0x1de)],'api':f[q(0x1ee)][q(0x1dc)],'ssr':f['engines'][q(0x1d2)],'test':f[q(0x1ee)][q(0x1ef)],'theme':f[q(0x1ee)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1eb)]['withTranslations']};f[q(0x1eb)]?.[q(0x1e3)]||b[q(0x1f0)]?await this[q(0x1bb)][q(0x1cc)]({'srcPath':'hook/hook.js','destPath':e+'.js','framework':q(0x1da),'context':i,'config':f}):await this['fsi']['template']({'srcPath':'component/component.js','destPath':e+q(0x1e8),'framework':q(0x1da),'context':i,'config':f});f[q(0x1ee)]['test']!=='none'&&await this[q(0x1bb)][q(0x1cc)]({'srcPath':q(0x1bc),'destPath':e+'.app-tests.js','framework':q(0x1da),'context':i,'config':f});f[q(0x1cc)][q(0x1c1)]&&(await this[q(0x1bb)][q(0x1cc)]({'srcPath':'template/template.css','destPath':e+q(0x1e0),'context':Object[q(0x1ed)]({},i,{'className':paramCase(b[q(0x1c7)])}),'config':f}),await this[q(0x1bb)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[q(0x1ee)]['js'],'content':'import\x20\x27./'+i[q(0x1ba)]+'.'+f[q(0x1ee)][q(0x1c1)]+'\x27;'}));const j=b[q(0x1c8)]?'/'+b[q(0x1c8)]+'/':'/',k=''+c+j+i[q(0x1ba)]+'/'+i['fileName'];await this[q(0x1bb)][q(0x1c0)](i[q(0x1d5)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a132h=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x1b0))/0x1+-parseInt(f(0x1b6))/0x2*(-parseInt(f(0x1b4))/0x3)+-parseInt(f(0x1bf))/0x4+-parseInt(f(0x1b5))/0x5+parseInt(f(0x1ba))/0x6+-parseInt(f(0x1bd))/0x7+parseInt(f(0x1bc))/0x8*(parseInt(f(0x1b1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xa078a));const a132b=(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;};}()),a132a=a132b(this,function(){const g=a132d;return a132a[g(0x1af)]()['search'](g(0x1ac))[g(0x1af)]()[g(0x1ab)](a132a)['search'](g(0x1ac));});function a132c(){const i=['toString','1027200CIwAIl','90pgaBzV','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:route\x20todos/edit','6BlrngC','4556190OBXdLH','1180726ntHDpr','maka\x20generate:scaffold\x20todos','maka\x20g:package\x20package:name','maka\x20g:template\x20todos/todo_item','2568108GERHPm','maka\x20{generate,\x20g}:<generator>\x20<name>','2125928PzFHvy','4652711VONDCY','maka\x20g:scaffold\x20todos','4023012NNmtKy','constructor','(((.+)+)+)+$','generate','Scaffold\x20various\x20parts\x20of\x20your\x20application'];a132c=function(){return i;};return a132c();}a132a();import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a132d(a,b);}const MakaGen=new Generator({'name':a132h(0x1ad),'aliases':['g'],'usage':a132h(0x1bb),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132h(0x1ae),'examples':[a132h(0x1b7),a132h(0x1be),a132h(0x1b9),a132h(0x1b8),a132h(0x1b3),'maka\x20g:api\x20trucks',a132h(0x1b2)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(
|
|
1
|
+
const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0x1d2))/0x1*(parseInt(j(0x1d7))/0x2)+parseInt(j(0x1db))/0x3+-parseInt(j(0x1d3))/0x4*(parseInt(j(0x1cc))/0x5)+parseInt(j(0x1d1))/0x6+parseInt(j(0x1e2))/0x7+parseInt(j(0x1c8))/0x8*(-parseInt(j(0x1c1))/0x9)+-parseInt(j(0x1cb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xddde7));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x1df)]()[l(0x1e1)]('(((.+)+)+)+$')[l(0x1df)]()[l(0x1e3)](a133a)[l(0x1e1)](l(0x1bd));});a133a();function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a133d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a133c(){const p=['1832NvBNKQ','maka:check','resourceName','error','1649336OwMjMI','template','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','maka\x20{generate,\x20g}:{method,\x20m}\x20name','734349VwgWgc','pathFromApp','create','mdg:validated-method','toString','maka\x20g:method\x20todos','search','8348760kGUyTK','constructor','engines','(((.+)+)+)+$','dir','import\x20\x27./methods','imports','9lnjfaL','-rpc-method.','apply','getMakaProjectConfig','-rpc-method\x27;','fsi','startup','13072072MBXoCA','appPathPrefix','index.','5027670vRBqws','1735JHFMDH','injectAtEndOfFile','ddp-rate-limiter','method/method.js','methods','706068tfJmaX','2oPDiFW'];a133c=function(){return p;};return a133c();}Generator[a133m(0x1dd)]({'name':'method','aliases':['m'],'usage':a133m(0x1da),'checkWhere':!![],'shortDesc':a133m(0x1d9),'validOpts':[a133m(0x1be)],'examples':[a133m(0x1e0)]},async function(a,b){const n=a133m;try{const c=this['fsi'][n(0x1c4)]();await this[n(0x1c6)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0x1d5)]),f={'name':b[o(0x1d5)],'fileName':d,'className':pascalCase(b[o(0x1d5)]),'camelCase':camelCase(b[o(0x1d5)]),'noRename':!![]};let g='js';c[o(0x1bc)]['js']==='tsx'&&(g='ts');await this[o(0x1c6)]['checkMeteorPackage']([o(0x1d4),o(0x1ce),o(0x1de)],{'shouldInstall':!![]}),await this[o(0x1c6)][o(0x1d8)]({'srcPath':o(0x1cf),'destPath':this[o(0x1c6)][o(0x1dc)]({'pathParts':[o(0x1c0),'startup',b[o(0x1c9)],o(0x1d0),b[o(0x1be)],d+o(0x1c2)+g]}),'context':f,'config':c});const h=b[o(0x1be)]?'/'+b[o(0x1be)]+'/':'/',i=this[o(0x1c6)]['pathFromApp']({'pathParts':[o(0x1c0),o(0x1c7),b[o(0x1c9)],o(0x1ca)+c[o(0x1bc)]['js']]});await this[o(0x1c6)][o(0x1cd)]({'filePath':i,'content':o(0x1bf)+h+d+o(0x1c5)});});}catch(d){Log[n(0x1d6)](d);}});
|