@maka/maka-cli 5.0.1 → 5.0.2
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/templates/react/component/component.js.jsx +1 -1
- package/bundle/obf/src/templates/react/component/component.js.tsx +1 -1
- package/bundle/obf/src/templates/react/hook/hook.js.tsx +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
|
-
function a117c(){const
|
|
1
|
+
const a117o=a117d;function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xfc;let f=c[d];return f;},a117d(a,b);}(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x131))/0x1*(-parseInt(l(0x123))/0x2)+parseInt(l(0x10e))/0x3*(parseInt(l(0x138))/0x4)+-parseInt(l(0x11e))/0x5*(-parseInt(l(0x12b))/0x6)+parseInt(l(0x119))/0x7+parseInt(l(0x106))/0x8*(-parseInt(l(0x139))/0x9)+parseInt(l(0x124))/0xa+-parseInt(l(0x136))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xda2bb));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x10d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x13c)]()[n(0x12f)]('(((.+)+)+)+$')[n(0x13c)]()['constructor'](a117a)[n(0x12f)](n(0x132));});a117a();function a117c(){const r=['template/template.css','1255749lJQjfI','.css','4peMJts','9834147bSxVRe','error','css','toString','maka\x20g:hook\x20cool-hook','components','.js','engines','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','.app-tests.js','relative','warn','test','features','8lPRTIJ','pages','template','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','true','withTranslations','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','apply','1239258YqMfwT','hooks','@apollo/client','notice','test/test.js','none','import\x20\x27./','pathFromApp','graphql','installNpmPackage','pathFromProject','6658680cioSRS','resourceName','force','/imports/ui/components','fsi','750pQOxGz','assign','getMakaProjectConfig','react','className','3072140zpBNep','15492130grSCXr','layouts','apollo','fileName','baseDir','\x20hook...','dir','28920lHNsiH','theme','\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','findAppDirectory','search','setTemplate','1RBSqlE','(((.+)+)+)+$','hook','@apollo/client\x20isomorphic-fetch'];a117c=function(){return r;};return a117c();}import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator['create']({'name':a117o(0x133),'aliases':['h'],'checkWhere':![],'usage':a117o(0x10c),'shortDesc':a117o(0x109),'validOpts':[{'name':a117o(0x128),'values':[a117o(0x10f),a117o(0xfd),a117o(0x107),a117o(0x125)]},{'name':'force','boolFlag':!![]}],'examples':[a117o(0xfc)],'description':a117o(0x12d)},async function(a,b){const p=a117o;Log[p(0x111)]('Creating\x20'+b[p(0x11a)]+p(0x129));try{const c=this[p(0x11d)]['checkNpmPackage'](p(0x121));if(!c){Log[p(0x13a)](p(0x100));throw new UsageError();}const d=this[p(0x11d)][p(0x12e)](),f=b[p(0x128)]?'/imports/ui/'+b[p(0x128)]:p(0x11c),g=this[p(0x11d)][p(0x115)]({'pathParts':[f,b[p(0x12a)],paramCase(b[p(0x11a)]),paramCase(b[p(0x11a)])]}),h=await this[p(0x11d)][p(0x120)]();await this[p(0x11d)]['withValue'](h,async()=>{const q=p;typeof h[q(0x108)]['css']==='string'&&(h['template'][q(0x13b)]=h[q(0x108)]['css']===q(0x10a)?!![]:![],this[q(0x11d)][q(0x130)](q(0x13b),h[q(0x108)][q(0x13b)]));h[q(0xff)]['graphql']===q(0x126)&&!this[q(0x11d)]['checkNpmPackage'](q(0x110))&&(Log[q(0x103)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[q(0x11d)][q(0x117)](q(0x134),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x11a)]),'camelCaseName':camelCase(b[q(0x11a)]),'className':pascalCase(b[q(0x11a)]),'name':pascalCase(b[q(0x11a)]),'graphql':h[q(0xff)][q(0x116)],'theme':h[q(0xff)][q(0x12c)],'features':h[q(0x105)],'myPath':a117e[q(0x102)](this['fsi'][q(0x118)]({}),g),'fileName':paramCase(b[q(0x11a)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x105)][q(0x10b)]};await this[q(0x11d)]['template']({'srcPath':'hook/hook.js','destPath':g+q(0xfe),'context':i,'config':h,'framework':q(0x121),'force':b[q(0x11b)]});h[q(0x108)]['css']&&(await this['fsi'][q(0x108)]({'srcPath':q(0x135),'destPath':g+q(0x137),'context':Object[q(0x11f)]({},i,{'className':i['cssCaseName']}),'config':h,'force':b['force']}),await this[q(0x11d)]['injectAtBeginningOfFile']({'filePath':g+'.'+h['engines']['js'],'content':q(0x114)+i[q(0x127)]+'.'+h[q(0xff)][q(0x13b)]+'\x27;'}));h[q(0xff)][q(0x104)]!==q(0x113)&&await this[q(0x11d)][q(0x108)]({'srcPath':q(0x112),'destPath':g+q(0x101),'framework':q(0x121),'context':i,'config':h,'force':b[q(0x11b)]});const j=b[q(0x12a)]?'/'+b['dir']+'/':'/',k=''+f+j+i['fileName']+'/'+i[q(0x127)];await this[q(0x11d)]['injectTemplateModule'](i[q(0x122)],h,k);});}catch(i){Log[p(0x13a)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xfb))/0x1+-parseInt(f(0xf3))/0x2*(parseInt(f(0xef))/0x3)+-parseInt(f(0xfa))/0x4*(parseInt(f(0xf2))/0x5)+parseInt(f(0xf4))/0x6+-parseInt(f(0xee))/0x7*(parseInt(f(0xf7))/0x8)+parseInt(f(0xf1))/0x9*(-parseInt(f(0xf5))/0xa)+parseInt(f(0xf8))/0xb*(parseInt(f(0xec))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xba933));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xf9)]()[h(0xf6)]('(((.+)+)+)+$')['toString']()[h(0xf0)](a118a)['search']('(((.+)+)+)+$');});function a118c(){var i=['347103iidGri','constructor','8682507NteJmi','1519315hQDXjD','2DLAUYr','4745616CUQwtL','10nOQRCQ','search','19784KZxhwc','46089098VmvsrA','toString','16bynEEy','602658gaLxqw','12lKBZMn','apply','3731Fcydok'];a118c=function(){return i;};return a118c();}a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xec;var f=c[d];return f;},a118d(a,b);}import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x9d))/0x1*(parseInt(f(0xa6))/0x2)+-parseInt(f(0x9f))/0x3+-parseInt(f(0xa2))/0x4+-parseInt(f(0x9b))/0x5+parseInt(f(0xa0))/0x6+-parseInt(f(0xa3))/0x7+parseInt(f(0xa5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xd6bb0));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a['toString']()['search'](h(0x9c))[h(0xa7)]()[h(0xa4)](a119a)[h(0x9e)](h(0x9c));});a119a();import'./auth.generator.js';import'./provider.auth.gen.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x9b;var f=c[d];return f;},a119d(a,b);}function a119c(){var i=['toString','590955IYmzQd','(((.+)+)+)+$','20mHWeeg','search','367686ZhznTJ','4383036lJXulI','apply','3284444moNvhm','8948793TdyUZE','constructor','31533384HDFFso','145238QzoLHZ'];a119c=function(){return i;};return a119c();}import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120h=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0xd5))/0x1*(parseInt(f(0xe4))/0x2)+-parseInt(f(0xdd))/0x3*(-parseInt(f(0xe1))/0x4)+parseInt(f(0xdf))/0x5+parseInt(f(0xd4))/0x6*(parseInt(f(0xe6))/0x7)+-parseInt(f(0xe8))/0x8+parseInt(f(0xdc))/0x9*(parseInt(f(0xd8))/0xa)+parseInt(f(0xe7))/0xb*(-parseInt(f(0xe3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xcd489));function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xd2;let f=c[d];return f;},a120d(a,b);}const a120b=(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;};}()),a120a=a120b(this,function(){const g=a120d;return a120a['toString']()[g(0xd2)]('(((.+)+)+)+$')[g(0xe0)]()[g(0xde)](a120a)['search'](g(0xe2));});function a120c(){const j=['auth','13370aaxvCe','242aAiZsq','6502744XmTTvA','search','maka\x20g:kit:a','3804KRGGiL','7IEtplx','NIE','create','221440thIitX','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','36lVnrDB','27gsXHwu','constructor','936390SleOBw','toString','656384PrdiYe','(((.+)+)+)+$','45624SfJQvr','350380fofzFl'];a120c=function(){return j;};return a120c();}a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator[a120h(0xd7)]({'name':a120h(0xe5),'aliases':['a'],'usage':a120h(0xdb),'noNeedResource':!![],'shortDesc':a120h(0xd9),'validOpts':[''],'isPro':!![],'examples':[a120h(0xd3)],'description':a120h(0xda)},async function(){const i=a120h;throw i(0xd6);},async function(){},a120e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(
|
|
1
|
+
const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(0x181))/0x1+-parseInt(o(0x168))/0x2+parseInt(o(0x18c))/0x3+-parseInt(o(0x172))/0x4+-parseInt(o(0x191))/0x5+-parseInt(o(0x16d))/0x6*(-parseInt(o(0x179))/0x7)+parseInt(o(0x175))/0x8*(parseInt(o(0x1a3))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x1b808));function a121c(){const u=['withValue','exit','authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','engines','fsi','alanning:roles','\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','constructor','27hOwXZD','const\x20registerNewUser','getMakaProjectConfig','Meteor.startup','error','publish','react','authentication-provider','298666EqEqPR','(((.+)+)+)+$','Meteor','/imports/startup/client/authentication-service','startup','333522VrFaBu','const\x20resetPasswordWithToken','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','accounts-password','export\x20const\x20AuthProvider','498508GjOBBP','\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/accounts-base','879768ibyLru','meteor/meteor','REACT','true','7dkBiqx','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','const\x20getUserAuthorizations','const\x20authenticateUser','injectImport','apply','\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','99622EHgXOP','injectIntoCodeBlock','force','index','search','Meteor.publish','\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','checkMeteorPackage','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','ssr','imports','555405RgSaLs','pathFromApp','toString','return\x20\x5c(','kit/auth/service/meteor-auth-service.js','422025BfBWzV','AuthService','create','const\x20deauthenticateUser','/imports/startup/client','\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','Accounts','processAndRunGenerator','kit:auth:provider'];a121c=function(){return u;};return a121c();}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x18e)]()['search'](q(0x169))[q(0x18e)]()[q(0x1a2)](a121a)[q(0x185)](q(0x169));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x168;let f=c[d];return f;},a121d(a,b);}import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x193)]({'name':'meteor','aliases':['m'],'usage':a121r(0x17b),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x177)]},'description':a121r(0x173)},async function(a,b){const s=a121r;try{const c=b[s(0x183)]||![];await this[s(0x19f)][s(0x188)]([s(0x170),s(0x1a0)],{'shouldInstall':!![]});const d=this[s(0x19f)]['findProjectDirectory'](),f=this[s(0x19f)][s(0x1a5)](),g=f[s(0x19e)][s(0x18a)]===s(0x178);await a121f[s(0x198)](s(0x199),[],{'force':c,'cwd':d,'config':f});const h=await a121f['processAndRunGenerator'](s(0x1a8),['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':s(0x195),j=this[s(0x19f)][s(0x18d)]({'pathParts':[i,'','',s(0x19c)]});await this[s(0x19f)][s(0x19a)](f,async()=>{const t=s;await this[t(0x19f)]['template']({'srcPath':t(0x190),'destPath':j+'.js','framework':t(0x1a9),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x19f)][s(0x18d)]({'pathParts':[i,'','',s(0x1aa)]}),l=f['engines']['js'];await this['fsi'][s(0x17e)]({'filePath':k+'.'+l,'importName':s(0x192),'modulePath':g?'/imports/startup/lib/authentication-service':s(0x16b),'isNamedExport':![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x1a1),'begin':s(0x17d),'replace':!![]}),await this[s(0x19f)][s(0x182)]({'filePath':k+'.'+l,'content':s(0x180),'begin':'const\x20authenticateToken','replace':!![]}),await this[s(0x19f)][s(0x182)]({'filePath':k+'.'+l,'content':s(0x187),'begin':s(0x17c),'replace':!![]}),await this[s(0x19f)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x19d),'begin':s(0x194),'replace':!![]}),await this[s(0x19f)][s(0x182)]({'filePath':k+'.'+l,'content':s(0x17a),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await this[s(0x19f)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x16f),'begin':s(0x1a4),'replace':!![]}),await this[s(0x19f)][s(0x182)]({'filePath':k+'.'+l,'content':s(0x189),'begin':s(0x16e),'replace':!![]});g&&(await this[s(0x19f)][s(0x17e)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await this[s(0x19f)]['injectIntoFile']({'filePath':k+'.'+l,'content':s(0x196),'begin':s(0x171),'end':s(0x18f)}));await this['fsi']['injectImport']({'filePath':h,'importName':s(0x16a),'modulePath':s(0x176),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x19f)][s(0x182)]({'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(0x186),'replace':!![]});const m=this[s(0x19f)][s(0x18d)]({'pathParts':[s(0x18b),s(0x16c),'server',s(0x184)]});await this['fsi'][s(0x17e)]({'filePath':m+'.'+l,'importName':s(0x197),'modulePath':s(0x174),'isNamedExport':!![]}),await this['fsi'][s(0x182)]({'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(0x1a6),'replace':!![]});}catch(n){Log[s(0x1a7)](n),process[s(0x19b)](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(0x1ea))/0x1*(parseInt(u(0x202))/0x2)+-parseInt(u(0x1e4))/0x3*(-parseInt(u(0x1d7))/0x4)+-parseInt(u(0x1d6))/0x5*(parseInt(u(0x1f4))/0x6)+parseInt(u(0x1e8))/0x7+-parseInt(u(0x1e6))/0x8*(-parseInt(u(0x203))/0x9)+-parseInt(u(0x1db))/0xa+-parseInt(u(0x200))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xef281));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0x1e9)]()[w(0x1eb)](w(0x1e0))[w(0x1e9)]()[w(0x1ed)](a122a)[w(0x1eb)]('(((.+)+)+)+$');});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a122d(a,b);}function a122c(){const A=['Creating\x20an\x20AuthProvider\x20and\x20AuthContext','5522176TuAPdX','exit','68GviTZm','135FVUxCD','const\x20PrivateRoute','pathFromApp','.js','REACT','kit/auth/provider/authentication-provider.js','bright','fsi','create','</AuthProvider>','/imports/startup/client','true','4335kspcze','4280ypKBlv','<AppRoutes\x20/>','/routes','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','5892190XOQiam','getMakaProjectConfig','replaceAll','injectAroundString','/imports/startup/lib/authentication-provider','(((.+)+)+)+$','/imports/startup/client/authentication-provider','apply','split','1299KSFlVs','\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','327768hyBsUg','injectImport','12122474LjnsXt','toString','8139Nxxapi','search','error','constructor','\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','const\x20useAuth','useContext','injectIntoCodeBlock','\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','AuthContext','3198DXDSpE','react','<AuthProvider>','provider','/imports/startup/client/index','/imports/startup/server/index','force','engines','ssr','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','template'];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(0x1d2)]({'name':a122x(0x1f7),'aliases':['p'],'usage':a122x(0x1fd),'shortDesc':a122x(0x1da),'validOpts':[a122x(0x1fa)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0x207)]},'description':a122x(0x1f2)},async function(a,b){const y=a122x;try{const c=b[y(0x1fa)]||![];Log[y(0x1d0)](y(0x1ff));const d=this['fsi'][y(0x1dc)](),f=d[y(0x1fb)][y(0x1fc)]===y(0x1d5),g={'name':headerCase(d['appName'])[y(0x1dd)]('-','\x20')},h=f?'/imports/startup/lib':y(0x1d4),i=this[y(0x1d1)][y(0x205)]({'pathParts':[h,'','','authentication-provider']});await this[y(0x1d1)]['withValue'](d,async()=>{const z=y;await this['fsi'][z(0x1fe)]({'srcPath':z(0x208),'destPath':i+z(0x206),'framework':z(0x1f5),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x1fb)]['js'],k=h+y(0x1d9),l=k['split']('/'),m=this[y(0x1d1)][y(0x205)]({'pathParts':l});await this[y(0x1d1)][y(0x1e7)]({'filePath':m+'.'+j,'importName':y(0x1f3),'modulePath':f?y(0x1df):y(0x1e1),'isNamedExport':!![]}),await this[y(0x1d1)][y(0x1e7)]({'filePath':m+'.'+j,'importName':y(0x1f0),'modulePath':y(0x1f5),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x1d1)][y(0x1f1)]({'filePath':m+'.'+j,'content':y(0x1ee),'begin':[y(0x1ef),'function\x20useAuth'],'replace':!![]}),await this[y(0x1d1)][y(0x1f1)]({'filePath':m+'.'+j,'content':y(0x1e5),'begin':[y(0x204)],'replace':!![]});const n=y(0x1f8),o=n[y(0x1e3)]('/'),p=this[y(0x1d1)]['pathFromApp']({'pathParts':o});await this[y(0x1d1)]['injectImport']({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x1d1)][y(0x1de)]({'filePath':p+'.'+j,'aboveContent':y(0x1f6),'belowContent':y(0x1d3),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1f9),r=q['split']('/'),s=this[y(0x1d1)][y(0x205)]({'pathParts':r});await this[y(0x1d1)]['injectImport']({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x1df):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi'][y(0x1de)]({'filePath':s+'.'+j,'aboveContent':y(0x1f6),'belowContent':y(0x1d3),'targetString':y(0x1d8),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x1ec)](t),process[y(0x201)](0x1);}},async function(){},a122e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0x1ec))/0x1*(-parseInt(f(0x1f2))/0x2)+-parseInt(f(0x1ee))/0x3+-parseInt(f(0x1f4))/0x4+parseInt(f(0x1f3))/0x5*(parseInt(f(0x1f0))/0x6)+parseInt(f(0x1f6))/0x7+-parseInt(f(0x1ed))/0x8*(-parseInt(f(0x1eb))/0x9)+parseInt(f(0x1ef))/0xa*(parseInt(f(0x1f7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xc2e88));var a123b=(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;};}()),a123a=a123b(this,function(){var g=a123d;return a123a['toString']()[g(0x1f5)]('(((.+)+)+)+$')[g(0x1f1)]()[g(0x1ea)](a123a)[g(0x1f5)]('(((.+)+)+)+$');});a123a();function a123c(){var h=['toString','14yuCtjY','10RvdsFC','4890688hBfBKQ','search','5571566pPPZYp','11055OvWyTi','constructor','1971EtcZih','202374kkZxUW','9528IekJzN','2517900GzSQCR','1070nvbqmf','838188sADxaU'];a123c=function(){return h;};return a123c();}import'./esri.generator.js';function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x1ea;var f=c[d];return f;},a123d(a,b);}import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x187))/0x1*(parseInt(f(0x186))/0x2)+parseInt(f(0x193))/0x3+-parseInt(f(0x185))/0x4+parseInt(f(0x191))/0x5+parseInt(f(0x192))/0x6*(-parseInt(f(0x188))/0x7)+-parseInt(f(0x194))/0x8+-parseInt(f(0x18c))/0x9*(-parseInt(f(0x18f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xdab7a));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x18b)]()['search'](h(0x182))[h(0x18b)]()['constructor'](a124a)[h(0x184)](h(0x182));});a124a();import{Generator}from'../../../generator.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x182;let f=c[d];return f;},a124d(a,b);}import a124e from'../kit.js';const EsriGen=Generator[a124i(0x18d)]({'name':a124i(0x190),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a124i(0x189),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a124i(0x18e)},async function(){const j=a124i;return{'success':!![],'message':j(0x18a),'details':{'filesCreated':[j(0x183)],'filesUpdated':['/foo']}};},async function(){},a124e);export default EsriGen;function a124c(){const k=['apply','(((.+)+)+)+$','/foo/bar','search','4177568tKxOtn','506812TxVbff','2yFCQGn','26509EODAQp','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','Esri\x20Kit\x20generated\x20successfully','toString','20881971NjrjGZ','create','\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','10AUnmnH','esri','1296950kwBTwO','1326pqfhhJ','3982440mKSIRA','13093728JtkUbu'];a124c=function(){return k;};return a124c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(
|
|
1
|
+
function a125c(){const v=['create','.js','(((.+)+)+)+$','page','esri-loader','constructor','split','apply','/imports/ui/hooks','dir','findProjectDirectory','1TLwAZr','error','react','756608JnBXuT','injectTemplateModule','search','528105orleeD','map','@esri/react-arcgis','exit','fsi','331191Uaecdy','injectImport','kit/esri/map/','Generating\x20a\x20map\x20component','baseDir','checkNpmPackage','toString','engines','processAndRunGenerator','getMakaProjectConfig','injectIntoFile','<div\x20id=\x22map\x22>','71141cVWlJb','/imports/startup/lib/templates','ssr','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','16NMjdlI','102SjfLTp','/imports/ui/','bright','84442PwKoDK','pathFromApp','FALSE','REACT','</div>','1436470uwfLyf','484887fSEKpr','/imports/startup/client/templates'];a125c=function(){return v;};return a125c();}const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0x201))/0x1*(parseInt(p(0x1ee))/0x2)+parseInt(p(0x1f4))/0x3+-parseInt(p(0x204))/0x4+parseInt(p(0x207))/0x5+parseInt(p(0x21d))/0x6*(parseInt(p(0x218))/0x7)+parseInt(p(0x21c))/0x8*(parseInt(p(0x20c))/0x9)+-parseInt(p(0x1f3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x21d67));function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a125d(a,b);}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x1fd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x212)]()[r(0x206)](r(0x1f8))[r(0x212)]()[r(0x1fb)](a125a)[r(0x206)]('(((.+)+)+)+$');});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(0x1f6)]({'name':a125s(0x208),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x1f1)],'ssr':SsrEngines[a125s(0x1f0)]},'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(0x21f)](t(0x20f));const c='basic-map';await this[t(0x20b)][t(0x211)]([t(0x209),t(0x1fa)],{'shouldInstall':!![]});const d=this[t(0x20b)][t(0x200)](),f=this[t(0x20b)][t(0x215)](),g=f[t(0x213)][t(0x21a)]==='true',h=await a125f[t(0x214)](t(0x1f9),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x210)]?t(0x21e)+b['baseDir']:t(0x1fe),k=this[t(0x20b)][t(0x1ef)]({'pathParts':[j,b[t(0x1ff)],paramCase(c),paramCase(c)]});await this['fsi']['withValue'](f,async()=>{const u=t;await this[u(0x20b)]['template']({'srcPath':u(0x20e)+c+u(0x1f7),'destPath':k+u(0x1f7),'framework':u(0x203),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x1ff)]+'/'+c+'/'+c;await this[t(0x20b)][t(0x205)](c,f,l);const m=h[t(0x1fc)]('/'),n=this[t(0x20b)][t(0x1ef)]({'pathParts':m});await this[t(0x20b)][t(0x20d)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x219):t(0x1f5),'isNamedExport':!![]}),await this[t(0x20b)][t(0x216)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x21b),'begin':[t(0x217),t(0x217)],'end':[t(0x1f2)],'replace':!![]});}catch(o){Log[t(0x202)](o),process[t(0x20a)](0x1);}},async function(){},a125e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a126i=a126d;function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xd7;let f=c[d];return f;},a126d(a,b);}function a126c(){const j=['1288147HDAuMG','10pcWEBp','constructor','2TIxIiq','toString','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','apply','3912YcTiDT','create','1892664VMAvej','maka\x20{generate,\x20g}:{kit}\x20<name>','kit','4989941kDVMrF','205676hcjdQI','145kiBZaY','maka\x20g:kit','192722ReVQbq','12vfuDEf','(((.+)+)+)+$','search','maka\x20g:k','953808HWxOAL'];a126c=function(){return j;};return a126c();}(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0xd9))/0x1*(-parseInt(f(0xe2))/0x2)+-parseInt(f(0xda))/0x3*(-parseInt(f(0xec))/0x4)+parseInt(f(0xd7))/0x5*(parseInt(f(0xe6))/0x6)+-parseInt(f(0xdf))/0x7+parseInt(f(0xde))/0x8+parseInt(f(0xe8))/0x9+-parseInt(f(0xe0))/0xa*(parseInt(f(0xeb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x1aa78));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0xe3)]()[h(0xdc)](h(0xdb))[h(0xe3)]()[h(0xe1)](a126a)[h(0xdc)](h(0xdb));});a126a();import{Generator}from'../../generator.js';const KitGen=Generator[a126i(0xe7)]({'name':a126i(0xea),'aliases':['k'],'usage':a126i(0xe9),'shortDesc':a126i(0xe4),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0xd8),a126i(0xdd)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a127c(){var i=['2500992IkZdDF','137570FQsVRY','search','2645904DlYkFU','558989PbfhPx','17676YRFfNK','constructor','8353513HsLpvP','4448vHnrGI','402858LVcfOA','4aTNmna','toString','110LcFhjD','440EgwEXh','(((.+)+)+)+$','apply'];a127c=function(){return i;};return a127c();}(function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(0x130))/0x1+parseInt(f(0x12c))/0x2+parseInt(f(0x12f))/0x3*(parseInt(f(0x126))/0x4)+parseInt(f(0x128))/0x5*(-parseInt(f(0x135))/0x6)+parseInt(f(0x133))/0x7+parseInt(f(0x134))/0x8*(-parseInt(f(0x131))/0x9)+-parseInt(f(0x12d))/0xa*(-parseInt(f(0x129))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xb69d0));function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x126;var f=c[d];return f;},a127d(a,b);}var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x127)]()[h(0x12e)](h(0x12a))[h(0x127)]()[h(0x132)](a127a)[h(0x12e)](h(0x12a));});a127a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128J=a128d;function a128c(){const N=['
|
|
1
|
+
const a128J=a128d;function a128c(){const N=['kit/mui/auth/register/','meteor','basic-register-page','getMakaProjectConfig','MATERIAL','toString','1704498KSWRHa','route','3069vffdyx','30LBDzJX','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','baseDir','.js','pathFromApp','kit/mui/auth/logout/','70PRYNaH','(((.+)+)+)+$','auth','injectImport','/imports/startup/lib/authentication-provider','basic-login-page','login','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','constructor','list','authType','fsi','3EjvcQN','basic-forgot-password-page','maka\x20generate:kit:mui:frame','32976ZLycvp','options','kit:auth:meteor','split','/imports/startup/client/authentication-provider','Custom\x20(roll\x20your\x20own)','kit/mui/auth/password-reset/','search','basic-password-reset-page','template','/imports/ui/','Meteor\x20Accounts','layouts','reset-password/:token','react','log','REACT','kit/mui/auth/forgot-password/','1941368hpYUME','35BAuiAM','processAndRunGenerator','error','custom','basic-logout-page','dir','injectTemplateModule','maka\x20g:k:m:f','true','apply','182212qlGRWm','force','kit/mui/auth/login/','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','860797FdqzdC','withValue','644396igNwAF','AuthContext','632061ICHABs'];a128c=function(){return N;};return a128c();}(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0xbb))/0x1+-parseInt(G(0xc4))/0x2*(-parseInt(G(0xd9))/0x3)+parseInt(G(0xb5))/0x4*(-parseInt(G(0xab))/0x5)+parseInt(G(0xc7))/0x6*(parseInt(G(0xb9))/0x7)+parseInt(G(0xaa))/0x8+-parseInt(G(0xbd))/0x9*(-parseInt(G(0xcd))/0xa)+-parseInt(G(0xc6))/0xb*(parseInt(G(0xdc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x7317b));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0xc3)]()[I(0xe3)](I(0xce))[I(0xc3)]()[I(0xd5)](a128a)[I(0xe3)](I(0xce));});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';import{paramCase,headerCase}from'change-case';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xa0;let f=c[d];return f;},a128d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a128J(0xcf),'aliases':['a'],'usage':a128J(0xb8),'shortDesc':a128J(0xc8),'validOpts':[a128J(0xa4),a128J(0xb6)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0xc2)],'client':ClientEngines[a128J(0xa8)]},'examples':[a128J(0xdb),a128J(0xb2)],'description':a128J(0xd4)},async function(a,b){const K=a128J;try{const c=b['force']||![],d=this[K(0xd8)]['findProjectDirectory'](),f=this[K(0xd8)][K(0xc1)](),{authType:g}=await Actions[K(0xdd)]({'type':K(0xd6),'name':K(0xd7),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':K(0xa3),'value':K(0xbf)},{'name':K(0xe1),'value':K(0xae)}]}),h='basic-login-page',i='basic-logout-page',j=K(0xc0),k=K(0xa0),l='basic-forgot-password-page',m=b['baseDir']?K(0xa2)+b[K(0xc9)]:'/imports/ui/pages/auth',n=this[K(0xd8)][K(0xcb)]({'pathParts':[m,b[K(0xb0)],paramCase(h),paramCase(h)]}),o=this['fsi'][K(0xcb)]({'pathParts':[m,b[K(0xb0)],paramCase(i),paramCase(i)]}),p=this[K(0xd8)][K(0xcb)]({'pathParts':[m,b[K(0xb0)],paramCase(j),paramCase(j)]}),q=this['fsi'][K(0xcb)]({'pathParts':[m,b[K(0xb0)],paramCase(k),paramCase(k)]}),r=this[K(0xd8)][K(0xcb)]({'pathParts':[m,b[K(0xb0)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f['appName'])['replaceAll']('-','\x20')};await this[K(0xd8)][K(0xba)](f,async()=>{const L=K;await this[L(0xd8)][L(0xa1)]({'srcPath':L(0xb7)+h+L(0xca),'destPath':n+L(0xca),'framework':L(0xa6),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0xa1)]({'srcPath':L(0xcc)+i+'.js','destPath':o+L(0xca),'framework':L(0xa6),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0xa1)]({'srcPath':L(0xbe)+j+L(0xca),'destPath':p+L(0xca),'framework':L(0xa6),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xd8)][L(0xa1)]({'srcPath':L(0xe2)+k+L(0xca),'destPath':q+L(0xca),'framework':L(0xa6),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xd8)][L(0xa1)]({'srcPath':L(0xa9)+l+L(0xca),'destPath':r+L(0xca),'framework':L(0xa6),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0xb0)]+'/'+h+'/'+h;await this[K(0xd8)][K(0xb1)](h,f,t);const u=''+m+b[K(0xb0)]+'/'+i+'/'+i;await this[K(0xd8)][K(0xb1)](i,f,u);const v=''+m+b[K(0xb0)]+'/'+j+'/'+j;await this['fsi']['injectTemplateModule'](j,f,v);const w=''+m+b[K(0xb0)]+'/'+k+'/'+k;await this[K(0xd8)][K(0xb1)](k,f,w);const x=''+m+b[K(0xb0)]+'/'+l+'/'+l;await this['fsi'][K(0xb1)](l,f,x),await a128e[K(0xac)](K(0xc5),[K(0xd2)],{'route':K(0xd3),'cwd':d,'config':f}),await a128e[K(0xac)](K(0xc5),[K(0xaf)],{'route':'logout','private':!![],'cwd':d,'config':f}),await a128e[K(0xac)](K(0xc5),[K(0xc0)],{'route':'register','cwd':d,'config':f}),await a128e[K(0xac)](K(0xc5),[K(0xa0)],{'route':K(0xa5),'cwd':d,'config':f}),await a128e[K(0xac)](K(0xc5),[K(0xda)],{'route':'forgot-password','cwd':d,'config':f});g===K(0xbf)&&await a128e[K(0xac)](K(0xde),[],{'force':c,'cwd':d,'config':f});g===K(0xae)&&await a128e[K(0xac)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f['engines']['ssr']===K(0xb3),z=f['engines']['js'],A=this[K(0xd8)][K(0xcb)]({'pathParts':t[K(0xdf)]('/')});await this[K(0xd8)][K(0xd0)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?K(0xd1):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[K(0xd8)][K(0xcb)]({'pathParts':u[K(0xdf)]('/')});await this[K(0xd8)][K(0xd0)]({'filePath':B+'.'+z,'importName':K(0xbc),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0xe0),'isNamedExport':!![]});const C=this[K(0xd8)][K(0xcb)]({'pathParts':v[K(0xdf)]('/')});await this['fsi'][K(0xd0)]({'filePath':C+'.'+z,'importName':K(0xbc),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0xe0),'isNamedExport':!![]});const D=this[K(0xd8)][K(0xcb)]({'pathParts':w[K(0xdf)]('/')});await this[K(0xd8)]['injectImport']({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?K(0xd1):K(0xe0),'isNamedExport':!![]});const E=this[K(0xd8)]['pathFromApp']({'pathParts':x['split']('/')});await this[K(0xd8)]['injectImport']({'filePath':E+'.'+z,'importName':K(0xbc),'modulePath':y?K(0xd1):K(0xe0),'isNamedExport':!![]});}catch(F){Log[K(0xad)](F);}},async function(){const M=a128J;console[M(0xa7)]('Cleaning\x20up...');},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0x11c))/0x1+parseInt(B(0x132))/0x2+-parseInt(B(0x126))/0x3*(-parseInt(B(0x14a))/0x4)+parseInt(B(0x108))/0x5*(parseInt(B(0x10b))/0x6)+parseInt(B(0x10f))/0x7+-parseInt(B(0x10a))/0x8*(parseInt(B(0x144))/0x9)+-parseInt(B(0x130))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xb2fd9));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x125)]()['search'](D(0x11f))[D(0x125)]()[D(0x106)](a129a)[D(0x12f)](D(0x11f));});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';function a129c(){const I=['checkMeteorPackage','<Outlet/>','<div\x20id=\x22','injectImport','Box','fsi','react','search','9936830IHCGUZ','tsx','507202SOyNKy','join','injectAroundString','kit/mui/frame/app-bars/','getFiles','apply','@mui/material/Container','injectTemplateModule','/imports/ui/','length','tests','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','true','<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>','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','injectIntoFile','dir','/imports/ui/components','5286618roYDyL','test','checkbox','Container','.js','replaceAll','1452OkRHPv','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','appName','options','layouts','maka:react-tracker','constructor','Cleaning\x20up...','880BeKfTf','pathFromApp','16qzZina','20952ajAKRK','create','-hook\x22>','findAppDirectory','3258444BSHUrf','/imports/startup/lib/templates','withValue','baseDir','kit/mui/frame/drawers/','template','engines','ssr','MATERIAL','imports','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','No\x20layouts\x20selected','@mui/material/Box','353349USHbKm','log','basic-app-bar','(((.+)+)+)+$','force','\x20/>\x0a','<Outlet\x20/>','maka\x20g:k:m:f','session','toString','10038mZZTyW','basic-drawer'];a129c=function(){return I;};return a129c();}import a129f from'./mui.generator.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x104;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[a129E(0x10c)]({'name':'frame','aliases':['f'],'usage':a129E(0x13d),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a129E(0x104),a129E(0x112),'dir','force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x117)],'client':ClientEngines['REACT']},'examples':['maka\x20generate:kit:mui:frame',a129E(0x123)],'description':a129E(0x119)},async function(a,b){const F=a129E;try{const c=b[F(0x120)]||![],d=F(0x11e),f=F(0x127),g='basic-sticky-footer',h=this['fsi']['getMakaProjectConfig'](),i=h[F(0x115)][F(0x116)]===F(0x13e);await this[F(0x12d)][F(0x128)]([F(0x124),F(0x105)],{'shouldInstall':!![]});const j=this['fsi'][F(0x10e)](),k=a129e['join'](j,F(0x118),'ui',F(0x104)),l=this[F(0x12d)]['getDirectories'](k),m=await Actions[F(0x14d)]({'type':F(0x146),'name':F(0x104),'message':F(0x14b),'choices':l});if(m[F(0x104)][F(0x13b)]===0x0){Log['error'](F(0x11a));return;}const n=b[F(0x112)]?F(0x13a)+b[F(0x112)]:F(0x143),o=this[F(0x12d)]['pathFromApp']({'pathParts':[n,b[F(0x142)],paramCase(d),paramCase(d)]}),p=this[F(0x12d)][F(0x109)]({'pathParts':[n,b[F(0x142)],paramCase(f),paramCase(f)]}),q=this['fsi'][F(0x109)]({'pathParts':[n,b[F(0x142)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x14c)])[F(0x149)]('-','\x20')};await this[F(0x12d)][F(0x111)](h,async()=>{const G=F;await this[G(0x12d)]['template']({'srcPath':G(0x135)+d+G(0x148),'destPath':o+G(0x148),'framework':G(0x12e),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x114)]({'srcPath':G(0x113)+f+G(0x148),'destPath':p+'.js','framework':G(0x12e),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x12d)][G(0x114)]({'srcPath':'kit/mui/frame/footers/'+g+G(0x148),'destPath':q+'.js','framework':G(0x12e),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this[F(0x12d)][F(0x139)](d,h,s);const t=''+n+b[F(0x142)]+'/'+f+'/'+f;await this[F(0x12d)][F(0x139)](f,h,t);const u=''+n+b[F(0x142)]+'/'+g+'/'+g;await this[F(0x12d)][F(0x139)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x12d)][F(0x136)](a129e[F(0x133)](k,w),{'extensions':['jsx',F(0x131)],'omit':['app-tests',F(0x13c),F(0x145)]});for(const y of x){const z=a129e[F(0x133)](k,w,y);await this[F(0x12d)][F(0x12b)]({'filePath':z,'importName':F(0x12c),'modulePath':F(0x11b),'isNamedExport':![]}),await this[F(0x12d)][F(0x12b)]({'filePath':z,'importName':F(0x147),'modulePath':F(0x138),'isNamedExport':![]}),await this[F(0x12d)][F(0x12b)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x110):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x12d)][F(0x141)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x12a)+w+'\x22>',F(0x12a)+w+F(0x10d)],'end':[F(0x129)]}),await this[F(0x12d)][F(0x12b)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x12d)][F(0x141)]({'filePath':z,'content':'<'+pascalCase(f)+'\x20/>\x0a','begin':[F(0x12a)+w+'\x22>','<div\x20id=\x22'+w+F(0x10d)],'end':[F(0x129),F(0x122)]}),await this[F(0x12d)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+F(0x121),'begin':['<Outlet/>','<Outlet\x20/>'],'end':['</div>']}),await this[F(0x12d)][F(0x12b)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x110):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x12d)][F(0x134)]({'filePath':z,'aboveContent':F(0x13f),'belowContent':F(0x140),'targetString':[F(0x129),'<Outlet/>'],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const H=a129E;console[H(0x11d)](H(0x107));},a129f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=-parseInt(g(
|
|
1
|
+
const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=-parseInt(g(0xcb))/0x1*(parseInt(g(0xda))/0x2)+parseInt(g(0xc1))/0x3+parseInt(g(0xca))/0x4+-parseInt(g(0xd1))/0x5*(-parseInt(g(0xdb))/0x6)+-parseInt(g(0xd5))/0x7*(parseInt(g(0xc9))/0x8)+-parseInt(g(0xc3))/0x9+-parseInt(g(0xdd))/0xa*(-parseInt(g(0xd2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x2a4b9));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a['toString']()['search'](i(0xcd))[i(0xd7)]()[i(0xce)](a130a)[i(0xc4)](i(0xcd));});function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xc1;let f=c[d];return f;},a130d(a,b);}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';import a130f from'../kit.js';function a130c(){const l=['40079dMgslL','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','(((.+)+)+)+$','constructor','length','info','1080OttZMS','22bonMMH','mui','fsi','1057ixeDyc','processAndRunGenerator','toString','kitChoices','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','10iCJxWG','7392ykOTxU','kit:mui:frame','858530alSAiN','maka\x20g:kit:m','options','Header,\x20Footer,\x20and\x20Drawer','516795GRoQed','apply','2905056JiWqmC','search','frame','includes','\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','auth','10064oGfIcM','1105180tCtdzX'];a130c=function(){return l;};return a130c();}const MuiGen=Generator['create']({'name':a130j(0xd3),'aliases':['m'],'usage':a130j(0xcc),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a130j(0xde)]},async function(){const k=a130j;Log[k(0xd0)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log['notice'](k(0xc7));const {kitChoices:a}=await Actions[k(0xdf)]({'type':'checkbox','name':k(0xd8),'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':k(0xe0),'value':'frame'},{'name':k(0xd9),'value':k(0xc8)}]}),b=this['fsi']['findProjectDirectory'](),c=this[k(0xd4)]['getMakaProjectConfig']();a[k(0xc6)](k(0xc5))&&await a130e[k(0xd6)](k(0xdc),[],{'force':!![],'cwd':b,'config':c});a[k(0xc6)]('auth')&&await a130e[k(0xd6)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0xcf)]===0x0){Log['info']('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}},async function(){},a130f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=parseInt(l(0x78))/0x1+-parseInt(l(0x9e))/0x2*(-parseInt(l(0x96))/0x3)+-parseInt(l(0x95))/0x4*(parseInt(l(0xab))/0x5)+-parseInt(l(0xa4))/0x6+parseInt(l(0xa3))/0x7*(parseInt(l(0x77))/0x8)+-parseInt(l(0x75))/0x9*(parseInt(l(0xa8))/0xa)+parseInt(l(0x98))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xa061c));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a['toString']()['search'](n(0xa2))[n(0x7e)]()[n(0x7b)](a131a)[n(0x8d)]('(((.+)+)+)+$');});a131a();import a131e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a131c(){const r=['fileName','2kfCZEM','injectTemplateModule','template/template.css','setTemplate','(((.+)+)+)+$','4084871CFrnwt','214872VMjIrR','fsi','features','api','1270hOuqFp','/imports/ui/layouts','react','2358305ObhhbE','pathFromProject','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','create','ramda','checkNpmPackage','engines','split','findAppDirectory','warn','relative','string','injectAtBeginningOfFile','test/test.js','none','70326HsXRJY','.app-tests.js','8owchSb','913554kBSRxV','client','maka\x20g:l\x20web/safari','constructor','installNpmPackage','withHook','toString','Scaffolding\x20for\x20a\x20React\x20Layout.','dir','.js','import\x20\x27./','layout','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','theme','hook/hook.js','css','graphql','component/component.js','getMakaProjectConfig','withHooks','ssr','search','template','resourceName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','test','includes','className','withValue','4UUYDmj','899169pJljhM','maka\x20g:layout\x20mobile/iPhone8','3959395EfHIsj','pathFromApp','true','apply','assign'];a131c=function(){return r;};return a131c();}function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x71;let f=c[d];return f;},a131d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a131o(0xae)]({'name':a131o(0x83),'aliases':aliases,'usage':a131o(0xad),'shortDesc':a131o(0x7f),'validOpts':['withHook'],'examples':[a131o(0x97),a131o(0x7a)]},async function(a,b){const p=a131o,c=p(0xa9),d=this['fsi'][p(0xb3)](),e=this[p(0xa5)][p(0x99)]({'pathParts':[c,b[p(0x80)],paramCase(b[p(0x8f)]),paramCase(b[p(0x8f)])]}),f=this['fsi'][p(0x8a)]();await this['fsi'][p(0x94)](f,async()=>{const q=p;typeof f['template'][q(0x91)]==='string'&&(f[q(0x8e)][q(0x91)]=f[q(0x8e)][q(0x91)]===q(0x9a)?!![]:![],this[q(0xa5)][q(0xa1)]('test',f[q(0x8e)][q(0x91)]));typeof f[q(0x8e)][q(0x87)]===q(0x71)&&(f['template']['css']=f['template'][q(0x87)]===q(0x9a)?!![]:![],this['fsi']['setTemplate'](q(0x87),f[q(0x8e)]['css']));typeof f[q(0x8e)]['js']===q(0x71)&&(f[q(0x8e)]['js']=f[q(0x8e)]['js']===q(0x9a)?!![]:![],this['fsi'][q(0xa1)]('js',f[q(0x8e)]['js']));!f[q(0xa6)]&&(f[q(0xa6)]={});const g=b['_']?b['_'][0x0][q(0xb2)](':')[0x1]:![],h=b['_']&&aliases[q(0x92)](g);h&&!this[q(0xb0)](q(0xaf))&&(Log[q(0xb4)](q(0x84)),this[q(0xa5)][q(0x7c)](q(0xaf),{'cwd':d}));if(h&&!this[q(0xb0)](q(0xaa))){Log[q(0xb4)](q(0x90));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a131e[q(0xb5)](this[q(0xa5)][q(0xac)]({}),e),'cssCaseName':paramCase(b[q(0x8f)]),'className':pascalCase(b[q(0x8f)]),'camelCaseName':camelCase(b[q(0x8f)]),'fileName':paramCase(b['resourceName']),'graphql':f['engines'][q(0x88)],'features':f[q(0xa6)],'client':f[q(0xb1)][q(0x79)],'api':f[q(0xb1)][q(0xa7)],'ssr':f['engines'][q(0x8c)],'test':f[q(0xb1)][q(0x91)],'theme':f[q(0xb1)][q(0x85)],'isComponent':![],'isLayout':!![],'withTranslations':f['features']['withTranslations']};f[q(0xa6)]?.[q(0x8b)]||b[q(0x7d)]?await this[q(0xa5)][q(0x8e)]({'srcPath':q(0x86),'destPath':e+q(0x81),'framework':q(0xaa),'context':i,'config':f}):await this[q(0xa5)][q(0x8e)]({'srcPath':q(0x89),'destPath':e+'.js','framework':q(0xaa),'context':i,'config':f});f[q(0xb1)][q(0x91)]!==q(0x74)&&await this[q(0xa5)][q(0x8e)]({'srcPath':q(0x73),'destPath':e+q(0x76),'framework':'react','context':i,'config':f});f[q(0x8e)][q(0x87)]&&(await this[q(0xa5)][q(0x8e)]({'srcPath':q(0xa0),'destPath':e+'.css','context':Object[q(0x9c)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this['fsi'][q(0x72)]({'filePath':e+'.'+f[q(0xb1)]['js'],'content':q(0x82)+i[q(0x9d)]+'.'+f[q(0xb1)][q(0x87)]+'\x27;'}));const j=b[q(0x80)]?'/'+b[q(0x80)]+'/':'/',k=''+c+j+i[q(0x9d)]+'/'+i[q(0x9d)];await this[q(0xa5)][q(0x9f)](i[q(0x93)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a132h=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0x1c2))/0x1+-parseInt(f(0x1be))/0x2+parseInt(f(0x1b5))/0x3*(-parseInt(f(0x1ba))/0x4)+parseInt(f(0x1bb))/0x5*(-parseInt(f(0x1b7))/0x6)+parseInt(f(0x1b2))/0x7*(parseInt(f(0x1b8))/0x8)+-parseInt(f(0x1ac))/0x9+parseInt(f(0x1b6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x6a408));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(0x1c0)]()[g(0x1bf)]('(((.+)+)+)+$')[g(0x1c0)]()[g(0x1ad)](a132a)[g(0x1bf)](g(0x1b3));});function a132c(){const i=['2813544ssoJHJ','maka\x20g:route\x20todos/edit','8164JDrmLr','6635iztnYq','generate','maka\x20g:template\x20todos/todo_item','653758NVodVD','search','toString','maka\x20g:scaffold\x20todos','673537TRCCxf','5472684hDCTbf','constructor','maka\x20g:package\x20package:name','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:api\x20trucks','maka\x20generate:scaffold\x20todos','7cJfVDK','(((.+)+)+)+$','maka\x20{generate,\x20g}:<generator>\x20<name>','879FlHiSI','10212390efiLCo','354IYxqhA'];a132c=function(){return i;};return a132c();}a132a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a132h(0x1bc),'aliases':['g'],'usage':a132h(0x1b4),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132h(0x1af),'examples':[a132h(0x1b1),a132h(0x1c1),a132h(0x1bd),a132h(0x1ae),a132h(0x1b9),a132h(0x1b0),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1ac;let f=c[d];return f;},a132d(a,b);}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a133l=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0xea))/0x1*(parseInt(j(0xf6))/0x2)+-parseInt(j(0xda))/0x3+parseInt(j(0xe4))/0x4+-parseInt(j(0xf9))/0x5*(-parseInt(j(0xe6))/0x6)+-parseInt(j(0xef))/0x7*(-parseInt(j(0xe0))/0x8)+parseInt(j(0xee))/0x9+parseInt(j(0xeb))/0xa*(-parseInt(j(0xf5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x7e9e0));function a133c(){const o=['method/method.js','(((.+)+)+)+$','5zBaUNT','error','resourceName','dir','toString','958380PtjFzL','pathFromApp','import\x20\x27./methods','fsi','appPathPrefix','tsx','128EILFwL','maka\x20{generate,\x20g}:{method,\x20m}\x20name','search','engines','2577484iqrOcm','ddp-rate-limiter','739812WPXZiW','checkMeteorPackage','create','-rpc-method\x27;','44EDlYkI','2100QywCYK','mdg:validated-method','maka\x20g:method\x20todos','1519623wMlqKU','430934KkBVHq','methods','constructor','imports','startup','getMakaProjectConfig','5258bGCDbe','44684AoSoIE'];a133c=function(){return o;};return a133c();}const a133b=(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;};}()),a133a=a133b(this,function(){const k=a133d;return a133a['toString']()[k(0xe2)](k(0xf8))[k(0xd9)]()[k(0xf1)](a133a)[k(0xe2)]('(((.+)+)+)+$');});a133a();function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xd7;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';Generator[a133l(0xe8)]({'name':'method','aliases':['m'],'usage':a133l(0xe1),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':['dir'],'examples':[a133l(0xed)]},async function(a,b){const m=a133l;try{const c=this[m(0xdd)][m(0xf4)]();await this['fsi']['withValue'](c,async()=>{const n=m,d=paramCase(b[n(0xd7)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[n(0xd7)]),'camelCase':camelCase(b[n(0xd7)]),'noRename':!![]};let g='js';c['engines']['js']===n(0xdf)&&(g='ts');await this[n(0xdd)][n(0xe7)](['maka:check',n(0xe5),n(0xec)],{'shouldInstall':!![]}),await this[n(0xdd)]['template']({'srcPath':n(0xf7),'destPath':this['fsi'][n(0xdb)]({'pathParts':[n(0xf2),n(0xf3),b[n(0xde)],n(0xf0),b[n(0xd8)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[n(0xd8)]?'/'+b['dir']+'/':'/',i=this[n(0xdd)][n(0xdb)]({'pathParts':[n(0xf2),'startup',b[n(0xde)],'index.'+c[n(0xe3)]['js']]});await this[n(0xdd)]['injectAtEndOfFile']({'filePath':i,'content':n(0xdc)+h+d+n(0xe9)});});}catch(d){Log[m(0xfa)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a134c(){const r=['package/package.js','12815400GaOPXv','package','package/','633684jVegtR','apply','constructor','59590jPTpYj','toString','14694XpXUdj','8HllHPy','3057255dBOnKx','/package.js','search','maka\x20g:package\x20todos:package','packages','engines','8324kyFbCb','store','server','getMakaProjectConfig','1295JfUhTR','350naEIHt','resourceName','theme','tests/client','component','template/template.js','4686MWgiNY','/client/','graphql','template','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','pathFromAppWithNoReWrite','(((.+)+)+)+$','106UrwkZR','relative','package.js','noRename','hasOwnProperty','create','client','fsi','352ssSAMn'];a134c=function(){return r;};return a134c();}const a134o=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=-parseInt(l(0x11d))/0x1*(parseInt(l(0x116))/0x2)+parseInt(l(0x12a))/0x3+parseInt(l(0x137))/0x4*(-parseInt(l(0x110))/0x5)+parseInt(l(0x12f))/0x6*(-parseInt(l(0x10f))/0x7)+-parseInt(l(0x130))/0x8*(parseInt(l(0x131))/0x9)+-parseInt(l(0x12d))/0xa*(-parseInt(l(0x125))/0xb)+parseInt(l(0x127))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x451c6));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a[n(0x12e)]()[n(0x133)](n(0x11c))[n(0x12e)]()[n(0x12c)](a134a)[n(0x133)](n(0x11c));});a134a();import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x10c;let f=c[d];return f;},a134d(a,b);}Generator[a134o(0x122)]({'name':a134o(0x128),'aliases':['p'],'usage':a134o(0x11a),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':['dir'],'examples':[a134o(0x134)]},async function(a,b){const p=a134o,c=paramCase(b[p(0x111)]),d=this['fsi']['pathFromApp']({'pathParts':[p(0x135),b['dir'],c]}),e=this[p(0x124)][p(0x11b)]({'pathParts':[p(0x135),b['dir'],c,p(0x11f)]}),f=this[p(0x124)][p(0x10e)]();await this[p(0x124)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0x111)]),'myPath':a134e[q(0x11e)](this['fsi']['pathFromProject']({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x111)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f['engines'][q(0x123)],'graphql':f[q(0x136)][q(0x118)],'ssr':f['engines']['ssr'],'isComponent':b[q(0x121)](q(0x114)),'isLayout':b[q(0x121)]('layout'),'isStore':b[q(0x121)](q(0x10c)),'features':f['features'],'noRename':!![],'theme':f[q(0x136)][q(0x112)]};await this[q(0x124)][q(0x119)]({'srcPath':q(0x126),'destPath':e,'context':g,'config':f}),g[q(0x120)]=![];const h=d+q(0x117)+c+'.js';await this[q(0x124)][q(0x119)]({'srcPath':q(0x115),'destPath':h,'context':g,'config':f});const i=['lib',q(0x10d),q(0x113),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0x124)]['template']({'srcPath':q(0x129)+j+q(0x132),'destPath':k,'context':g,'config':f});}});});
|