@maka/maka-cli 5.1.0 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +6 -2
- 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/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/_index.js +1 -1
- package/bundle/obf/src/commands/test/jest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/test/mocha.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/test/test.command.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/cfg/cfg.class.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/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.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 +6 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d=-parseInt(i(
|
|
1
|
+
const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d=-parseInt(i(0x1a4))/0x1+-parseInt(i(0x1ae))/0x2*(-parseInt(i(0x1a1))/0x3)+parseInt(i(0x1a7))/0x4*(-parseInt(i(0x1a0))/0x5)+parseInt(i(0x1a9))/0x6+parseInt(i(0x1ad))/0x7*(parseInt(i(0x1b3))/0x8)+parseInt(i(0x19d))/0x9*(-parseInt(i(0x1b0))/0xa)+parseInt(i(0x1a8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x19d44));function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x197;let f=c[d];return f;},a118d(a,b);}const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a118d;if(c){const e=c[j(0x1ab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const k=a118d;return a118a['toString']()[k(0x197)](k(0x1ac))[k(0x198)]()['constructor'](a118a)[k(0x197)](k(0x1ac));});a118a();function a118c(){const n=['Generate\x20an\x20updated\x20dockerfile','docker/Dockerfile','2988ZGUFdP','template','cert','36130RTcMSM','10023ENJXnx','app','error','129197tZXlCk','force','isFile','68pRVRdM','1548118pCAIJh','1142370SWzgTB','build','apply','(((.+)+)+)+$','264551XbQjmU','82epOtpC','maka\x20{generate,\x20g}:dockerfile','4460SLomjh','Dockerfile','dockerfile','8jZuxrf','maka\x20g:dockerfile','fsi','cfg','app.tar.gz','search','toString','getGlobalConfig','appName'];a118c=function(){return n;};return a118c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a118e from'path';Generator['create']({'name':a118l(0x1b2),'usage':a118l(0x1af),'shortDesc':a118l(0x19b),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118l(0x1a5),'boolFlag':!![]}],'examples':[a118l(0x1b4)]},async function(a,b){const m=a118l;try{const c=this[m(0x1b6)]['getMakaProjectConfig'](),d=await this[m(0x1b6)][m(0x199)](),f=this[m(0x1b5)]['findProjectDirectory'](),g={'app':c[m(0x19a)],'config':c,'appPath':a118e['join'](f,m(0x1a2)),'bundlePath':a118e['join'](f,m(0x1aa),m(0x1b7)),'useCert':d[m(0x19f)]?this[m(0x1b5)][m(0x1a6)](d[m(0x19f)]):![]};await this['scaffold'][m(0x19e)]({'srcPath':m(0x19c),'destPath':a118e['join'](f,m(0x1b1)),'framework':'service','context':g,'config':c,'force':b['force']});}catch(h){Log[m(0x1a3)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119o=a119d;
|
|
1
|
+
const a119o=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d=-parseInt(l(0x20a))/0x1*(-parseInt(l(0x1f0))/0x2)+parseInt(l(0x22b))/0x3+-parseInt(l(0x21b))/0x4*(-parseInt(l(0x1f4))/0x5)+-parseInt(l(0x1f8))/0x6+-parseInt(l(0x20d))/0x7+parseInt(l(0x228))/0x8*(parseInt(l(0x225))/0x9)+-parseInt(l(0x1ee))/0xa*(parseInt(l(0x1fd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x801d9));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a119d;if(c){const e=c[m(0x22a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const n=a119d;return a119a[n(0x1f1)]()[n(0x222)](n(0x213))['toString']()[n(0x214)](a119a)[n(0x222)](n(0x213));});a119a();import a119e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a119c(){const q=['.css','template','theme','11XGYnOl','features','findAppDirectory','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','maka\x20g:hook\x20cool-hook','baseDir','scaffold','/imports/ui/components','components','findProjectDirectory','injectAtBeginningOfFile','pathFromApp','import\x20\x27./','243353faqsCE','/imports/ui/','fsi','2738722ICOxBv','warn','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','react','layouts','template/template.css','(((.+)+)+)+$','constructor','\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','resourceName','string','@apollo/client','className','apollo','972exlFYj','pkg','.app-tests.js','pages','assign','relative','notice','search','cssCaseName','test/test.js','9AceTfY','hook/hook.js','create','2624408fPvMOu','css','apply','1755036lpaqaa','projectConfig','force','graphql','.js','2713670uaukzO','withTranslations','4ekiYbH','toString','hooks','installNpmPackage','13785xxhQbz','engines','fileName','dir','5294076vDdqFx','checkNpmPackage'];a119c=function(){return q;};return a119c();}function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a119d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a119o(0x227)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a119o(0x20f),'mustBeInMakaProject':!![],'validOpts':[{'name':a119o(0x202),'values':[a119o(0x1f2),a119o(0x205),a119o(0x21e),a119o(0x211)]},{'name':a119o(0x22d),'boolFlag':!![]}],'examples':[a119o(0x201)],'description':a119o(0x215)},async function(a,b){const p=a119o;Log[p(0x221)]('Creating\x20'+b['resourceName']+'\x20hook...');try{await this[p(0x21c)]['checkNpmPackage'](p(0x210),{'shouldInstall':!![]});const c=this[p(0x20c)][p(0x1ff)](),d=b[p(0x202)]?p(0x20b)+b['baseDir']:p(0x204),f=this[p(0x203)][p(0x208)]({'pathParts':[d,b['dir'],kebabCase(b[p(0x216)]),kebabCase(b['resourceName'])]}),g=this[p(0x22c)];typeof g[p(0x1fb)][p(0x229)]===p(0x217)&&this['cfg']['setTemplate'](p(0x229),g[p(0x1fb)][p(0x229)]);g[p(0x1f5)][p(0x22e)]===p(0x21a)&&!this[p(0x21c)][p(0x1f9)](p(0x218))&&(Log[p(0x20e)](p(0x200)),await this[p(0x21c)][p(0x1f3)]('@apollo/client\x20isomorphic-fetch',{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x216)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[p(0x216)]),'name':pascalCase(b[p(0x216)]),'graphql':g[p(0x1f5)][p(0x22e)],'theme':g[p(0x1f5)][p(0x1fc)],'test':g[p(0x1f5)]['test'],'features':g[p(0x1fe)],'myPath':a119e[p(0x220)](this[p(0x20c)][p(0x206)](),f),'fileName':kebabCase(b[p(0x216)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x1fe)][p(0x1ef)]};await this[p(0x203)][p(0x1fb)]({'srcPath':p(0x226),'destPath':f+p(0x22f),'context':h,'config':g,'framework':p(0x210),'force':b[p(0x22d)]});g[p(0x1fb)][p(0x229)]&&(await this[p(0x203)][p(0x1fb)]({'srcPath':p(0x212),'destPath':f+p(0x1fa),'context':Object[p(0x21f)]({},h,{'className':h[p(0x223)]}),'config':g,'force':b[p(0x22d)]}),await this['scaffold'][p(0x207)]({'filePath':f+'.'+g[p(0x1f5)]['js'],'content':p(0x209)+h[p(0x1f6)]+'.'+g[p(0x1f5)][p(0x229)]+'\x27;'}));g[p(0x1f5)]['test']!=='none'&&await this[p(0x203)][p(0x1fb)]({'srcPath':p(0x224),'destPath':f+p(0x21d),'framework':p(0x210),'context':h,'config':g,'force':b['force']});const i=b[p(0x1f7)]?'/'+b[p(0x1f7)]+'/':'/',j=''+d+i+h[p(0x1f6)]+'/'+h[p(0x1f6)];await this['scaffold']['injectTemplateModule'](h[p(0x219)],g,j);}catch(k){Log['error'](k);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a120d,c=a();while(!![]){try{var d=parseInt(f(0x14d))/0x1*(parseInt(f(0x151))/0x2)+-parseInt(f(0x14c))/0x3*(-parseInt(f(0x152))/0x4)+-parseInt(f(0x154))/0x5*(parseInt(f(0x155))/0x6)+-parseInt(f(0x150))/0x7*(-parseInt(f(0x157))/0x8)+-parseInt(f(0x156))/0x9*(-parseInt(f(0x14e))/0xa)+-parseInt(f(0x149))/0xb*(parseInt(f(0x159))/0xc)+-parseInt(f(0x14b))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x6fbe2));var a120b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a120d;if(c){var e=c[g(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){var h=a120d;return a120a[h(0x158)]()['search'](h(0x14a))[h(0x158)]()[h(0x153)](a120a)[h(0x148)]('(((.+)+)+)+$');});a120a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a120c(){var i=['7820ITXGue','constructor','10PEAied','611526wGraVQ','9lzQDqL','872Xwbjie','toString','24LvJqzR','search','408903LNSRhZ','(((.+)+)+)+$','16175874iGbrJn','345RokjHF','15511DxWUyx','5034230QbUNXY','apply','25613kSjpVy','110uzrCms'];a120c=function(){return i;};return a120c();}function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0x148;var f=c[d];return f;},a120d(a,b);}import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a121d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a121d,c=a();while(!![]){try{var d=-parseInt(f(0x138))/0x1*(-parseInt(f(0x13b))/0x2)+parseInt(f(0x136))/0x3*(parseInt(f(0x12f))/0x4)+parseInt(f(0x12d))/0x5+parseInt(f(0x12e))/0x6+parseInt(f(0x12c))/0x7*(-parseInt(f(0x137))/0x8)+-parseInt(f(0x13a))/0x9+-parseInt(f(0x130))/0xa*(parseInt(f(0x131))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xe3f4c));var a121b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a121d;if(c){var e=c[g(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){var h=a121d;return a121a[h(0x139)]()[h(0x132)](h(0x135))[h(0x139)]()[h(0x133)](a121a)[h(0x132)](h(0x135));});function a121d(a,b){var c=a121c();return a121d=function(d,e){d=d-0x12c;var f=c[d];return f;},a121d(a,b);}a121a();import'./auth.generator.js';import'./provider.auth.gen.js';function a121c(){var i=['2695dsQXIH','search','constructor','apply','(((.+)+)+)+$','5013213jyqBhC','8siaEeR','582423aZZpJi','toString','4983507PgRvho','2IhGypZ','6691895cinuRE','3563135StTXAn','6529020ZwjIKI','4KpPFTQ','65750uatlOt'];a121c=function(){return i;};return a121c();}import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a122h=a122d;(function(a,b){const f=a122d,c=a();while(!![]){try{const d=parseInt(f(0xc3))/0x1+parseInt(f(0xb5))/0x2+parseInt(f(0xbc))/0x3+parseInt(f(0xb7))/0x4+-parseInt(f(0xbd))/0x5+parseInt(f(0xb6))/0x6*(-parseInt(f(0xb8))/0x7)+-parseInt(f(0xc2))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x3cc32));function a122c(){const j=['maka\x20g:kit:a','732056KRSPkb','40866RHHNqR','677008cTDFzW','35TqNnBc','NIE','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','1338405aTYnOF','1104715VuWVTR','create','constructor','search','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','6368440sBzZvU','318520QjwyCo','(((.+)+)+)+$'];a122c=function(){return j;};return a122c();}const a122b=(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;};}()),a122a=a122b(this,function(){const g=a122d;return a122a['toString']()[g(0xc0)](g(0xc4))['toString']()[g(0xbf)](a122a)[g(0xc0)](g(0xc4));});a122a();function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xb4;let f=c[d];return f;},a122d(a,b);}import{Generator}from'../../../generator.js';import a122e from'../kit.js';const AuthGen=Generator[a122h(0xbe)]({'name':'auth','aliases':['a'],'usage':a122h(0xc1),'shortDesc':a122h(0xbb),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a122h(0xb4)],'description':a122h(0xba)},async function(){const i=a122h;throw i(0xb9);},async function(){},a122e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a123v=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xda;let f=c[d];return f;},a123d(a,b);}(function(a,b){const s=a123d,c=a();while(!![]){try{const d=-parseInt(s(0xe4))/0x1+parseInt(s(0x118))/0x2*(parseInt(s(0x113))/0x3)+-parseInt(s(0xe8))/0x4*(parseInt(s(0xe3))/0x5)+-parseInt(s(0xf6))/0x6*(parseInt(s(0xe7))/0x7)+parseInt(s(0x102))/0x8*(parseInt(s(0x10d))/0x9)+parseInt(s(0xf1))/0xa*(-parseInt(s(0xe9))/0xb)+-parseInt(s(0xeb))/0xc*(-parseInt(s(0xdb))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xc9752));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a123d;if(c){const e=c[t(0x104)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const u=a123d;return a123a['toString']()['search'](u(0x106))[u(0xf4)]()['constructor'](a123a)[u(0xdf)](u(0x106));});a123a();import a123e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a123f from'./auth.generator.js';import a123g from'../../../generators/maka.gen.js';function a123c(){const x=['\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','useTracker','create','const\x20authenticateToken','authentication-service','/imports/startup/client/authentication-service','meteor/maka:react-tracker','112MgXsbw','meteor/meteor','apply','Meteor.publish','(((.+)+)+)+$','injectIntoFile','pathFromApp','\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','.js','Meteor','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','321795dRsYsG','\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','/imports/startup/lib','accounts-password','useEffect\x5c(','AuthService','822CXbTAO','REACT','findProjectDirectory','server','force','6274JIcOvP','/imports/startup/server/publications/auth/roles.js','ssr','26nQYnNf','const\x20authenticateUser','publish','processAndRunGenerator','search','/imports/startup/client','Meteor.startup','template','685uYIfRA','686203EbbbDr','Accounts','findAppDirectory','7gbbQIS','4860uoAdHT','242EjebjV','injectIntoCodeBlock','18698556PChZLO','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','startup','meteor','564340sWEVnq','\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','react','toString','\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','9342948aBjhFp','index','const\x20deauthenticateUser','exit','injectImport'];a123c=function(){return x;};return a123c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123v(0xfd)]({'name':a123v(0xf0),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a123v(0x10c),'validOpts':[a123v(0x117)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a123v(0x114)]},'description':a123v(0xec)},async function(a,b){const w=a123v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x117)]||![];await d['checkMeteorPackage']([w(0x110)],{'shouldInstall':!![]});const i=c[w(0x115)](),j=c[w(0xe6)](),k=g['engines'][w(0xda)]===w(0xf0);await a123g['processAndRunGenerator']('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a123g[w(0xde)](w(0xdd),['auth/roles'],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e['normalize'](w(0x119)),m=k?w(0x10f):w(0xe0),n=f['pathFromApp']({'pathParts':[m,'','',w(0xff)]});await f[w(0xe2)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':n+w(0x10a),'framework':w(0xf3),'context':{},'config':g,'force':h,'ignore':![]});const o=f['pathFromApp']({'pathParts':[m,'','','authentication-provider']}),p=g['engines']['js'];await f[w(0xfa)]({'filePath':o+'.'+p,'importName':w(0x112),'modulePath':k?'/imports/startup/lib/authentication-service':w(0x100),'isNamedExport':![]}),await f[w(0xea)]({'filePath':o+'.'+p,'content':w(0xf2),'begin':w(0xdc),'replace':!![]}),await f[w(0xea)]({'filePath':o+'.'+p,'content':w(0x10e),'begin':w(0xfe),'replace':!![]}),await f[w(0xea)]({'filePath':o+'.'+p,'content':w(0xf5),'begin':'const\x20getUserAuthorizations','replace':!![]}),await f[w(0xea)]({'filePath':o+'.'+p,'content':w(0xed),'begin':w(0xf8),'replace':!![]}),await f[w(0xea)]({'filePath':o+'.'+p,'content':w(0xee),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await f[w(0xea)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20registerNewUser','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20resetPasswordWithToken','replace':!![]});k&&(await f[w(0xfa)]({'filePath':o+'.'+p,'importName':w(0xfc),'modulePath':w(0x101),'isNamedExport':!![]}),await f[w(0x107)]({'filePath':o+'.'+p,'content':w(0xfb),'begin':'export\x20const\x20AuthProvider','end':w(0x111)}));await f[w(0xfa)]({'filePath':l,'importName':w(0x10b),'modulePath':w(0x103),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0xea)]({'filePath':l,'content':w(0x109),'begin':w(0x105),'replace':!![]});const q=f[w(0x108)]({'pathParts':['imports',w(0xef),w(0x116),w(0xf7)]});await f['injectImport']({'filePath':q+'.'+p,'importName':w(0xe5),'modulePath':'meteor/accounts-base','isNamedExport':!![]}),await f['injectIntoCodeBlock']({'filePath':q+'.'+p,'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':w(0xe1),'replace':!![]});}catch(r){Log['error'](r),process[w(0xf9)](0x1);}},async function(){},a123f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124w=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d
|
|
1
|
+
const a124w=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=parseInt(u(0x1d4))/0x1+-parseInt(u(0x1bf))/0x2*(-parseInt(u(0x1c3))/0x3)+parseInt(u(0x1ce))/0x4+-parseInt(u(0x1cf))/0x5+-parseInt(u(0x1d0))/0x6*(parseInt(u(0x1e5))/0x7)+parseInt(u(0x1c8))/0x8+-parseInt(u(0x1df))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x9f3e4));const a124b=(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;};}()),a124a=a124b(this,function(){const v=a124d;return a124a[v(0x1e2)]()[v(0x1bc)](v(0x1d9))[v(0x1e2)]()[v(0x1ca)](a124a)['search'](v(0x1d9));});a124a();import{Generator}from'../../../generator.js';function a124c(){const y=['1014mfuIYf','exit','<AppRoutes\x20history={history}/>','<AppRoutes\x20/>','177615wCvrhl','function\x20useAuth','provider','/imports/startup/client','/imports/startup/client/index','(((.+)+)+)+$','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','scaffold','split','/routes','injectAroundString','16372692ttLuiH','/imports/startup/client/authentication-provider','create','toString','const\x20PrivateRoute','engines','19201kABBhT','/imports/startup/lib/authentication-provider','/imports/startup/lib','.js','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','AuthContext','meteor','template','authentication-provider','search','pathFromApp','/imports/startup/server/index','8kUBkLr','injectIntoCodeBlock','injectImport','\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','699429TXYUeb','</AuthProvider>','force','bright','<AuthProvider>','9714280YSzZpT','kit/auth/provider/authentication-provider.js','constructor','AuthProvider','ssr','REACT','2709688zvayKU','334395maHdOL'];a124c=function(){return y;};return a124c();}import{Log}from'../../../tools/log/log.class.js';import a124e from'./auth.generator.js';import{capitalCase}from'change-case';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a124d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124w(0x1e1)]({'name':a124w(0x1d6),'aliases':['p'],'usage':a124w(0x1b7),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a124w(0x1c5)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124w(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 x=a124w;try{const c=b[x(0x1c5)]||![];Log[x(0x1c6)](x(0x1da));const {projectConfig:d}=this,f=d['engines'][x(0x1cc)]===x(0x1b9),g={'name':capitalCase(d['appName'])},h=f?x(0x1b5):x(0x1d7),i=this[x(0x1db)]['pathFromApp']({'pathParts':[h,'','',x(0x1bb)]});await this['scaffold'][x(0x1ba)]({'srcPath':x(0x1c9),'destPath':i+x(0x1b6),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});const j=d[x(0x1e4)]['js'],k=h+x(0x1dd),l=k[x(0x1dc)]('/'),m=this['scaffold']['pathFromApp']({'pathParts':l});await this[x(0x1db)][x(0x1c1)]({'filePath':m+'.'+j,'importName':x(0x1b8),'modulePath':f?x(0x1e6):x(0x1e0),'isNamedExport':!![]}),await this['scaffold']['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x1db)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':x(0x1c2),'begin':['const\x20useAuth',x(0x1d5)],'replace':!![]}),await this['scaffold'][x(0x1c0)]({'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':[x(0x1e3)],'replace':!![]});const n=x(0x1d8),o=n['split']('/'),p=this[x(0x1db)][x(0x1bd)]({'pathParts':o});await this[x(0x1db)][x(0x1c1)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?x(0x1e6):x(0x1e0),'isNamedExport':!![]}),await this[x(0x1db)][x(0x1de)]({'filePath':p+'.'+j,'aboveContent':x(0x1c7),'belowContent':x(0x1c4),'targetString':x(0x1d3),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x1be),r=q[x(0x1dc)]('/'),s=this[x(0x1db)][x(0x1bd)]({'pathParts':r});await this[x(0x1db)]['injectImport']({'filePath':s+'.'+j,'importName':x(0x1cb),'modulePath':f?x(0x1e6):x(0x1e0),'isNamedExport':!![]}),await this[x(0x1db)][x(0x1de)]({'filePath':s+'.'+j,'aboveContent':x(0x1c7),'belowContent':x(0x1c4),'targetString':x(0x1d2),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[x(0x1d1)](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x1af))/0x1+parseInt(f(0x1aa))/0x2+parseInt(f(0x1b5))/0x3*(-parseInt(f(0x1b2))/0x4)+parseInt(f(0x1b0))/0x5*(parseInt(f(0x1b8))/0x6)+parseInt(f(0x1b3))/0x7*(parseInt(f(0x1b1))/0x8)+-parseInt(f(0x1b6))/0x9*(-parseInt(f(0x1b4))/0xa)+-parseInt(f(0x1ae))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xdeace));function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x1aa;var f=c[d];return f;},a125d(a,b);}var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0x1ab)]()[h(0x1ad)](h(0x1ac))[h(0x1ab)]()['constructor'](a125a)[h(0x1ad)](h(0x1ac));});a125a();import'./esri.generator.js';import'./map.esri.gen.js';function a125c(){var i=['10obNkAj','6KjwXWO','9369081mmhNum','apply','912TnFGfm','2713598xMRoJo','toString','(((.+)+)+)+$','search','47384227GaxtAp','643076npZvTp','42965OCSsqj','152cCUJBh','1695584cBjAhL','633871JDqXxx'];a125c=function(){return i;};return a125c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x9f))/0x1*(-parseInt(f(0xa0))/0x2)+-parseInt(f(0x9c))/0x3+-parseInt(f(0xac))/0x4+-parseInt(f(0x9d))/0x5*(-parseInt(f(0xa2))/0x6)+-parseInt(f(0xad))/0x7*(-parseInt(f(0xae))/0x8)+parseInt(f(0xa3))/0x9+parseInt(f(0x9e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x88656));function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x9c;let f=c[d];return f;},a126d(a,b);}const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0xab)]()[h(0xa5)](h(0xa1))[h(0xab)]()[h(0xa8)](a126a)[h(0xa5)](h(0xa1));});a126a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a126e from'../kit.js';const EsriGen=Generator['create']({'name':a126i(0xa4),'aliases':['e'],'usage':a126i(0xa9),'shortDesc':a126i(0xa6),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a126i(0xa7)},async function(){throw UsageError;},async function(){},a126e);export default EsriGen;function a126c(){const j=['toString','1988168aTUoSN','17948FJTEny','1280eAZCDP','1935330ggvmro','250aswndz','15185100seBIBK','898069tcnsNI','2yNrSro','(((.+)+)+)+$','70428Iddifw','749241FxPHWx','esri','search','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','\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','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','apply'];a126c=function(){return j;};return a126c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a127u=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0x171))/0x1+parseInt(s(0x14f))/0x2*(parseInt(s(0x16a))/0x3)+-parseInt(s(0x15a))/0x4+parseInt(s(0x14e))/0x5+-parseInt(s(0x158))/0x6+-parseInt(s(0x165))/0x7+parseInt(s(0x169))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x9601e));const a127b=(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;};}()),a127a=a127b(this,function(){const t=a127d;return a127a['toString']()[t(0x15e)](t(0x172))['toString']()[t(0x15c)](a127a)[t(0x15e)](t(0x172));});a127a();function a127c(){const w=['appName','@esri/react-arcgis','</div>','Generate\x20an\x20Esri\x20map\x20component','esri-loader','\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','1120930hEukxB','(((.+)+)+)+$','split','/imports/startup/lib/templates','engines','pathFromApp','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','<div\x20id=\x22map\x22>','124905nTcZEc','66QJbnyb','exit','/imports/startup/client/templates','checkNpmPackage','REACT','Generating\x20a\x20map\x20component','injectIntoFile','injectImport','react','2888706LkooFo','NONE','3985260IQfksx','ssr','constructor','map','search','kit/esri/map/','injectTemplateModule','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','dir','meteor','processAndRunGenerator','8092847fHOXLJ','baseDir','error','basic-map','32079016GNJZqD','30399yrjtCK'];a127c=function(){return w;};return a127c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127e from'./esri.generator.js';import a127f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x14c;let f=c[d];return f;},a127d(a,b);}Generator['create']({'name':a127u(0x15d),'aliases':['m'],'usage':a127u(0x14c),'shortDesc':a127u(0x16e),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127u(0x153)],'ssr':SsrEngines[a127u(0x159)]},'description':a127u(0x170)},async function(a,b){const v=a127u;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log['bright'](v(0x154));const h=v(0x168);await f[v(0x152)]([v(0x16c),v(0x16f)],{'shouldInstall':!![]});const i=d['findProjectDirectory'](),j=c[v(0x175)][v(0x15b)]===v(0x163),k=await a127f[v(0x164)]('page',[v(0x15d)],{'cwd':i,'config':c}),l={'name':capitalCase(c[v(0x16b)])['replaceAll']('-','\x20'),'componentName':pascalCase(h)},m=b['baseDir']?'/imports/ui/'+b[v(0x166)]:'/imports/ui/components',n=g[v(0x176)]({'pathParts':[m,b[v(0x162)],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':v(0x15f)+h+'.js','destPath':n+'.js','framework':v(0x157),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[v(0x162)]+'/'+h+'/'+h;await g[v(0x160)](h,c,o);const p=k[v(0x173)]('/'),q=g[v(0x176)]({'pathParts':p});await g[v(0x156)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?v(0x174):v(0x151),'isNamedExport':!![]}),await g[v(0x155)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+v(0x161),'begin':[v(0x14d),v(0x14d)],'end':[v(0x16d)],'replace':!![]});}catch(r){Log[v(0x167)](r),process[v(0x150)](0x1);}},async function(){},a127e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a128d(a,b);}const a128i=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=parseInt(f(0x1cd))/0x1+parseInt(f(0x1d5))/0x2*(-parseInt(f(0x1c5))/0x3)+-parseInt(f(0x1c4))/0x4*(-parseInt(f(0x1c3))/0x5)+parseInt(f(0x1d6))/0x6*(-parseInt(f(0x1d2))/0x7)+parseInt(f(0x1d4))/0x8*(-parseInt(f(0x1c9))/0x9)+-parseInt(f(0x1c7))/0xa*(parseInt(f(0x1cc))/0xb)+parseInt(f(0x1cb))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xb2dbe));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a128d;if(c){const e=c[g(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const h=a128d;return a128a[h(0x1d3)]()[h(0x1cf)](h(0x1d1))[h(0x1d3)]()[h(0x1ca)](a128a)['search'](h(0x1d1));});a128a();import{Generator}from'../../generator.js';function a128c(){const j=['41919480UaphcY','12120713yoFhNZ','490554HgLFcZ','apply','search','create','(((.+)+)+)+$','6908321mSmvWz','toString','1992Xiuutx','118qGaWWo','6JnuVOm','maka\x20g:kit','kit','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','5KzlygB','3274516TqzTxg','60990tyIYTb','maka\x20{generate,\x20g}:{kit}\x20<name>','10wrmDbl','maka\x20g:k','28251ElfOpl','constructor'];a128c=function(){return j;};return a128c();}const KitGen=Generator[a128i(0x1d0)]({'name':a128i(0x1d8),'aliases':['k'],'usage':a128i(0x1c6),'shortDesc':a128i(0x1c2),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a128i(0x1d7),a128i(0x1c8)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a129c(){var i=['6929112fYHPaQ','518737EHdNgW','(((.+)+)+)+$','17053590nMspEM','apply','184684jGVzgX','7oaPKlM','search','toString','797110ZnyVHa','3233658VPOzXO','7117605IUpFEh','2AhLTzX','constructor','27bgiKOQ'];a129c=function(){return i;};return a129c();}(function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(0x168))/0x1*(-parseInt(f(0x164))/0x2)+-parseInt(f(0x166))/0x3*(parseInt(f(0x16c))/0x4)+-parseInt(f(0x170))/0x5+-parseInt(f(0x162))/0x6*(-parseInt(f(0x16d))/0x7)+parseInt(f(0x167))/0x8+parseInt(f(0x163))/0x9+-parseInt(f(0x16a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x6a0a8));var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a[h(0x16f)]()[h(0x16e)](h(0x169))[h(0x16f)]()[h(0x165)](a129a)[h(0x16e)]('(((.+)+)+)+$');});a129a();function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x162;var f=c[d];return f;},a129d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130L=a130d;
|
|
1
|
+
const a130L=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d=parseInt(I(0x18b))/0x1*(parseInt(I(0x1b2))/0x2)+parseInt(I(0x19e))/0x3+-parseInt(I(0x17e))/0x4*(-parseInt(I(0x1a0))/0x5)+parseInt(I(0x198))/0x6+parseInt(I(0x17b))/0x7*(-parseInt(I(0x199))/0x8)+parseInt(I(0x1ab))/0x9+parseInt(I(0x18c))/0xa*(-parseInt(I(0x186))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x8fbbb));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a[K(0x192)]()[K(0x195)]('(((.+)+)+)+$')[K(0x192)]()[K(0x196)](a130a)[K(0x195)](K(0x1b8));});a130a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x174;let f=c[d];return f;},a130d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';function a130c(){const O=['2546022eLhfoE','.js','6595wlNUdU','/imports/ui/','basic-logout-page','apply','react','error','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','kit/mui/auth/forgot-password/','Custom\x20(roll\x20your\x20own)','appName','meteor','4561740yUSelg','authType','route','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','template','MATERIAL','kit/mui/auth/logout/','12NzaLkR','kit:auth:meteor','register','pathFromApp','force','maka\x20generate:kit:mui:auth','(((.+)+)+)+$','processAndRunGenerator','/imports/ui/pages/auth','dir','kit/mui/auth/login/','baseDir','REACT','Cleaning\x20up...','1281PmHkNE','logout','injectImport','1508kbXolD','forgot-password','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','engines','basic-login-page','Meteor\x20Accounts','basic-password-reset-page','kit/mui/auth/password-reset/','3993gapVlZ','select','/imports/startup/lib/authentication-provider','AuthContext','exit','62448yLhcjk','34250SsXyIi','log','ssr','create','/imports/startup/client/authentication-provider','injectTemplateModule','toString','auth','basic-register-page','search','constructor','kit/mui/auth/register/','1261506ykwzzc','26480gsNJYh','kit:auth:provider','split','basic-forgot-password-page','maka\x20g:k:m:a'];a130c=function(){return O;};return a130c();}import a130e from'../../../generators/maka.gen.js';import a130f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a130L(0x18f)]({'name':a130L(0x193),'aliases':['a'],'usage':a130L(0x1a6),'shortDesc':a130L(0x180),'validOpts':['layouts',a130L(0x1b6)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a130L(0x1b0)],'client':ClientEngines[a130L(0x179)]},'examples':[a130L(0x1b7),a130L(0x19d)],'description':a130L(0x1ae)},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x1b6)]||![],h=d['findProjectDirectory'](),i=await Actions[M(0x187)]({'name':M(0x1ac),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':M(0x183),'value':M(0x1aa)},{'name':M(0x1a8),'value':'custom'}]}),j='basic-login-page',k='basic-logout-page',l='basic-register-page',m=M(0x184),n=M(0x19c),o=b[M(0x178)]?M(0x1a1)+b[M(0x178)]:M(0x175),p=f[M(0x1b5)]({'pathParts':[o,b[M(0x176)],kebabCase(j),kebabCase(j)]}),q=f[M(0x1b5)]({'pathParts':[o,b[M(0x176)],kebabCase(k),kebabCase(k)]}),r=f[M(0x1b5)]({'pathParts':[o,b['dir'],kebabCase(l),kebabCase(l)]}),s=f[M(0x1b5)]({'pathParts':[o,b[M(0x176)],kebabCase(m),kebabCase(m)]}),t=f['pathFromApp']({'pathParts':[o,b[M(0x176)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x1a9)])};await f[M(0x1af)]({'srcPath':M(0x177)+j+'.js','destPath':p+'.js','framework':M(0x1a4),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x1b1)+k+M(0x19f),'destPath':q+M(0x19f),'framework':M(0x1a4),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1af)]({'srcPath':M(0x197)+l+'.js','destPath':r+'.js','framework':M(0x1a4),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1af)]({'srcPath':M(0x185)+m+'.js','destPath':s+M(0x19f),'framework':M(0x1a4),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1af)]({'srcPath':M(0x1a7)+n+M(0x19f),'destPath':t+'.js','framework':M(0x1a4),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b['dir']+'/'+j+'/'+j;await f[M(0x191)](j,c,v);const w=''+o+b[M(0x176)]+'/'+k+'/'+k;await f[M(0x191)](k,c,w);const x=''+o+b['dir']+'/'+l+'/'+l;await f[M(0x191)](l,c,x);const y=''+o+b['dir']+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b[M(0x176)]+'/'+n+'/'+n;await f[M(0x191)](n,c,z),await a130e[M(0x174)](M(0x1ad),[M(0x182)],{'route':'login','cwd':h,'config':c}),await a130e['processAndRunGenerator']('route',[M(0x1a2)],{'route':M(0x17c),'private':!![],'cwd':h,'config':c}),await a130e[M(0x174)](M(0x1ad),[M(0x194)],{'route':M(0x1b4),'cwd':h,'config':c}),await a130e[M(0x174)]('route',[M(0x184)],{'route':'reset-password/:token','cwd':h,'config':c}),await a130e[M(0x174)](M(0x1ad),[M(0x19c)],{'route':M(0x17f),'cwd':h,'config':c});i===M(0x1aa)&&await a130e[M(0x174)](M(0x1b3),[],{'force':g,'cwd':h,'config':c});i==='custom'&&await a130e[M(0x174)](M(0x19a),[],{'force':g,'cwd':h,'config':c});const A=c[M(0x181)][M(0x18e)]===M(0x1aa),B=c[M(0x181)]['js'],C=f['pathFromApp']({'pathParts':v[M(0x19b)]('/')});await f[M(0x17d)]({'filePath':C+'.'+B,'importName':M(0x189),'modulePath':A?M(0x188):M(0x190),'isNamedExport':!![]});const D=f[M(0x1b5)]({'pathParts':w['split']('/')});await f[M(0x17d)]({'filePath':D+'.'+B,'importName':M(0x189),'modulePath':A?M(0x188):M(0x190),'isNamedExport':!![]});const E=f['pathFromApp']({'pathParts':x[M(0x19b)]('/')});await f[M(0x17d)]({'filePath':E+'.'+B,'importName':M(0x189),'modulePath':A?M(0x188):M(0x190),'isNamedExport':!![]});const F=f[M(0x1b5)]({'pathParts':y['split']('/')});await f[M(0x17d)]({'filePath':F+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':M(0x190),'isNamedExport':!![]});const G=f[M(0x1b5)]({'pathParts':z['split']('/')});await f[M(0x17d)]({'filePath':G+'.'+B,'importName':M(0x189),'modulePath':A?M(0x188):M(0x190),'isNamedExport':!![]});}catch(H){Log[M(0x1a5)](H),process[M(0x18a)](0x1);}},async function(){const N=a130L;console[N(0x18d)](N(0x17a));},a130f);export default a130f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a131H=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d
|
|
1
|
+
const a131H=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=parseInt(E(0x132))/0x1+-parseInt(E(0x164))/0x2*(parseInt(E(0x169))/0x3)+parseInt(E(0x133))/0x4*(parseInt(E(0x16f))/0x5)+-parseInt(E(0x142))/0x6*(parseInt(E(0x15c))/0x7)+parseInt(E(0x159))/0x8+parseInt(E(0x14c))/0x9+parseInt(E(0x157))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xb1750));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a131d;if(c){const e=c[F(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const G=a131d;return a131a[G(0x158)]()[G(0x16b)](G(0x139))[G(0x158)]()['constructor'](a131a)[G(0x16b)](G(0x139));});function a131c(){const K=['baseDir','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','getFiles','kit/mui/frame/drawers/','injectTemplateModule','findAppDirectory','6rykeQR','<Outlet\x20/>','@mui/material/Container','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','Box','error','apply','basic-drawer','/imports/startup/client/templates','-hook\x22>','5895648JSIJKW','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','meteor','injectImport','engines','appName','.js','<Outlet/>','Container','dir','<div\x20id=\x22','2843290vzcGrl','toString','1321416EZmmeB','length','getDirectories','6161687PSfbfv','<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>','@mui/material/Box','join','layouts','react','log','\x20/>\x0a','62tCMQSt','basic-app-bar','test','/imports/startup/lib/templates','force','43467VKnQQx','/imports/ui/components','search','MATERIAL','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','maka\x20g:k:m:f','15bXcnJb','kit/mui/frame/footers/','template','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','maka:react-tracker','430565GPwizK','694828GMWbtQ','map','ssr','pathFromApp','tests','checkMeteorPackage','(((.+)+)+)+$','injectIntoFile','Cleaning\x20up...'];a131c=function(){return K;};return a131c();}a131a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a131e from'path';import a131f from'./mui.generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x132;let f=c[d];return f;},a131d(a,b);}import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'frame','aliases':['f'],'usage':a131H(0x145),'shortDesc':a131H(0x16d),'validOpts':[a131H(0x160),a131H(0x13c),a131H(0x155),a131H(0x168)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a131H(0x16c)],'client':ClientEngines['REACT']},'examples':['maka\x20generate:kit:mui:frame',a131H(0x16e)],'description':a131H(0x13d)},async function(a,b){const I=a131H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x168)]||![],i=I(0x165),j=I(0x149),k='basic-sticky-footer',l=c[I(0x150)][I(0x135)]===I(0x14e);await f[I(0x138)](['session',I(0x173)],{'shouldInstall':!![]});const m=d[I(0x141)](),n=a131e[I(0x15f)](m,'imports','ui',I(0x160)),o=d[I(0x15b)](n),p=o[I(0x134)](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':I(0x172),'name':I(0x160),'choices':p});if(q[I(0x15a)]===0x0){Log['error']('No\x20layouts\x20selected');return;}const r=b[I(0x13c)]?'/imports/ui/'+b[I(0x13c)]:I(0x16a),s=g[I(0x136)]({'pathParts':[r,b['dir'],kebabCase(i),kebabCase(i)]}),t=g['pathFromApp']({'pathParts':[r,b[I(0x155)],kebabCase(j),kebabCase(j)]}),u=g[I(0x136)]({'pathParts':[r,b[I(0x155)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x151)])};await g['template']({'srcPath':'kit/mui/frame/app-bars/'+i+I(0x152),'destPath':s+I(0x152),'framework':I(0x161),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x171)]({'srcPath':I(0x13f)+j+I(0x152),'destPath':t+I(0x152),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':I(0x170)+k+I(0x152),'destPath':u+I(0x152),'framework':I(0x161),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0x155)]+'/'+i+'/'+i;await g[I(0x140)](i,c,w);const x=''+r+b['dir']+'/'+j+'/'+j;await g[I(0x140)](j,c,x);const y=''+r+b[I(0x155)]+'/'+k+'/'+k;await g[I(0x140)](k,c,y);for(const z of q){const A=d[I(0x13e)](a131e[I(0x15f)](n,z),{'extensions':['jsx','tsx'],'omit':['app-tests',I(0x137),I(0x166)]});for(const B of A){const C=a131e[I(0x15f)](n,z,B);await g['injectImport']({'filePath':C,'importName':I(0x146),'modulePath':I(0x15e),'isNamedExport':![]}),await g[I(0x14f)]({'filePath':C,'importName':I(0x154),'modulePath':I(0x144),'isNamedExport':![]}),await g[I(0x14f)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?'/imports/startup/lib/templates':I(0x14a),'isNamedExport':!![]}),await g[I(0x13a)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':[I(0x156)+z+'\x22>',I(0x156)+z+I(0x14b)],'end':[I(0x153),'<Outlet\x20/>']}),await g[I(0x14f)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?I(0x167):I(0x14a),'isNamedExport':!![]}),await g[I(0x13a)]({'filePath':C,'content':'<'+pascalCase(j)+I(0x163),'begin':['<div\x20id=\x22'+z+'\x22>',I(0x156)+z+I(0x14b)],'end':['<Outlet/>','<Outlet\x20/>']}),await g[I(0x13a)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x163),'begin':[I(0x153),'<Outlet\x20/>'],'end':['</div>']}),await g[I(0x14f)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?'/imports/startup/lib/templates':I(0x14a),'isNamedExport':!![]}),await g['injectAroundString']({'filePath':C,'aboveContent':I(0x15d),'belowContent':I(0x14d),'targetString':[I(0x153),I(0x143)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x147)](D);}},async function(){const J=a131H;console[J(0x162)](J(0x13b));},a131f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-
|
|
1
|
+
const a132j=a132d;(function(a,b){const g=a132d,c=a();while(!![]){try{const d=parseInt(g(0xb4))/0x1*(-parseInt(g(0xb5))/0x2)+parseInt(g(0xcc))/0x3*(-parseInt(g(0xb7))/0x4)+-parseInt(g(0xb1))/0x5+parseInt(g(0xc0))/0x6*(parseInt(g(0xb9))/0x7)+parseInt(g(0xb0))/0x8+-parseInt(g(0xac))/0x9*(parseInt(g(0xad))/0xa)+parseInt(g(0xaa))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xccef3));function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xa9;let f=c[d];return f;},a132d(a,b);}const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a132d;if(c){const e=c[h(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const i=a132d;return a132a['toString']()[i(0xc5)](i(0xa9))['toString']()[i(0xbe)](a132a)['search'](i(0xa9));});a132a();import{Generator}from'../../../generator.js';function a132c(){const l=['getMakaProjectConfig','findProjectDirectory','mui','fsi','3376248AXSvhF','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','kit:mui:frame','processAndRunGenerator','(((.+)+)+)+$','24442836epPhgy','No\x20MUI\x20kits\x20selected.\x20Exiting.','10323pUkIfv','6150LpvXUo','notice','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','4785376UloTRv','5211900tZWqjE','length','error','30fTyllY','51782WFZxUX','Header,\x20Footer,\x20and\x20Drawer','4rqspcz','frame','343637ixhSUH','\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','maka\x20g:kit:m','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','kitChoices','constructor','apply','204SuzfJx','create','kit:mui:auth','auth','exit','search','checkbox','info'];a132c=function(){return l;};return a132c();}import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a132e from'../../../generators/maka.gen.js';import a132f from'../kit.js';const MuiGen=Generator[a132j(0xc1)]({'name':a132j(0xca),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','resourceNameRequired':![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a132j(0xbb)]},async function(){const k=a132j;try{Log[k(0xc7)](k(0xaf)),Log[k(0xae)](k(0xba));const a=await Actions[k(0xc6)]({'message':k(0xcd),'name':k(0xbd),'choices':[{'name':k(0xb6),'value':k(0xb8)},{'name':k(0xbc),'value':'auth'}]}),b=this[k(0xcb)][k(0xc9)](),c=this['cfg'][k(0xc8)]();a['includes'](k(0xb8))&&await a132e['processAndRunGenerator'](k(0xce),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0xc3))&&await a132e[k(0xcf)](k(0xc2),[],{'force':!![],'cwd':b,'config':c});if(a[k(0xb2)]===0x0){Log[k(0xc7)](k(0xab));return;}}catch(d){Log[k(0xb3)](d),process[k(0xc4)](0x1);}},async function(){},a132f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133s=a133d;(function(a,b){const p=a133d,c=a();while(!![]){try{const d
|
|
1
|
+
const a133s=a133d;(function(a,b){const p=a133d,c=a();while(!![]){try{const d=-parseInt(p(0x1b7))/0x1*(parseInt(p(0x1c6))/0x2)+-parseInt(p(0x1ac))/0x3+-parseInt(p(0x19e))/0x4*(parseInt(p(0x198))/0x5)+parseInt(p(0x196))/0x6+-parseInt(p(0x1a9))/0x7+-parseInt(p(0x1b9))/0x8+parseInt(p(0x1c0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x2ab84));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a133d;if(c){const e=c[q(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const r=a133d;return a133a['toString']()[r(0x1af)]('(((.+)+)+)+$')['toString']()[r(0x1c5)](a133a)[r(0x1af)](r(0x1be));});a133a();import a133e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a133c(){const u=['className','theme','installNpmPackage','setTemplate','dir','775eMDWxH','maka\x20g:l\x20web/safari','490928UBwBPC','withHook','api','resourceName','test','(((.+)+)+)+$','includes','8706663HeXwVW','react','relative','ssr','template','constructor','898wkJGvi','engines','features','test/test.js','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','maka\x20g:layout\x20mobile/iPhone8','layout','1511370VPITrB','component/component.js','66320gxJFDD','/imports/ui/layouts','injectAtBeginningOfFile','.app-tests.js','none','string','76wwaKwI','Scaffolding\x20for\x20a\x20React\x20Layout.','apply','split','findProjectDirectory','fileName','assign','checkNpmPackage','css','create','import\x20\x27./','526764sfXzND','withTranslations','hook/hook.js','923139xkohYf','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','client','search','warn','ramda'];a133c=function(){return u;};return a133c();}import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x196;let f=c[d];return f;},a133d(a,b);}Generator[a133s(0x1a7)]({'name':a133s(0x1cc),'aliases':aliases,'usage':a133s(0x1ca),'shortDesc':a133s(0x19f),'validOpts':['withHook'],'mustBeInMakaProject':!![],'examples':[a133s(0x1cb),a133s(0x1b8)]},async function(a,b){const t=a133s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0x199),i=d['findAppDirectory'](),j=g['pathFromApp']({'pathParts':[h,b['dir'],kebabCase(b[t(0x1bc)]),kebabCase(b['resourceName'])]});typeof c[t(0x1c4)]['test']===t(0x19d)&&e[t(0x1b5)](t(0x1bd),c['template']['test']);typeof c[t(0x1c4)]['css']===t(0x19d)&&e[t(0x1b5)](t(0x1a6),c[t(0x1c4)]['css']);typeof c[t(0x1c4)]['js']==='string'&&e[t(0x1b5)]('js',c[t(0x1c4)]['js']);const k=b['_']?b['_'][0x0][t(0x1a1)](':')[0x1]:![],l=b['_']&&aliases[t(0x1bf)](k);l&&!f[t(0x1a5)](t(0x1b1))&&(Log[t(0x1b0)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),f[t(0x1b4)]('ramda',{'cwd':i}));if(l&&!f['checkNpmPackage'](t(0x1c1))){Log['warn'](t(0x1ad));return;}const m={'name':pascalCase(b[t(0x1bc)]),'myPath':a133e[t(0x1c2)](d[t(0x1a2)](),j),'cssCaseName':kebabCase(b[t(0x1bc)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':kebabCase(b['resourceName']),'graphql':c[t(0x1c7)]['graphql'],'features':c['features'],'client':c[t(0x1c7)][t(0x1ae)],'api':c[t(0x1c7)][t(0x1bb)],'ssr':c[t(0x1c7)][t(0x1c3)],'test':c[t(0x1c7)][t(0x1bd)],'theme':c['engines'][t(0x1b3)],'isComponent':![],'isLayout':!![],'withTranslations':c['features'][t(0x1aa)]};c[t(0x1c8)]?.['withHooks']||b[t(0x1ba)]?await g[t(0x1c4)]({'srcPath':t(0x1ab),'destPath':j+'.js','framework':t(0x1c1),'context':m,'config':c}):await g['template']({'srcPath':t(0x197),'destPath':j+'.js','framework':'react','context':m,'config':c});c[t(0x1c7)][t(0x1bd)]!==t(0x19c)&&await g[t(0x1c4)]({'srcPath':t(0x1c9),'destPath':j+t(0x19b),'framework':t(0x1c1),'context':m,'config':c});c['template'][t(0x1a6)]&&(await g[t(0x1c4)]({'srcPath':'template/template.css','destPath':j+'.css','context':Object[t(0x1a4)]({},m,{'className':kebabCase(b[t(0x1bc)])}),'config':c}),await g[t(0x19a)]({'filePath':j+'.'+c[t(0x1c7)]['js'],'content':t(0x1a8)+m[t(0x1a3)]+'.'+c['engines'][t(0x1a6)]+'\x27;'}));const n=b[t(0x1b6)]?'/'+b[t(0x1b6)]+'/':'/',o=''+h+n+m[t(0x1a3)]+'/'+m[t(0x1a3)];await g['injectTemplateModule'](m[t(0x1b2)],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a134i=a134d;(function(a,b){const f=a134d,c=a();while(!![]){try{const d
|
|
1
|
+
const a134i=a134d;(function(a,b){const f=a134d,c=a();while(!![]){try{const d=parseInt(f(0xd9))/0x1+parseInt(f(0xdf))/0x2+-parseInt(f(0xcf))/0x3+parseInt(f(0xd6))/0x4*(-parseInt(f(0xd8))/0x5)+-parseInt(f(0xdd))/0x6+-parseInt(f(0xcd))/0x7*(parseInt(f(0xde))/0x8)+parseInt(f(0xd4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x558da));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a134d;if(c){const e=c[g(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const h=a134d;return a134a[h(0xda)]()[h(0xce)](h(0xd3))['toString']()[h(0xd5)](a134a)[h(0xce)](h(0xd3));});a134a();function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0xcd;let f=c[d];return f;},a134d(a,b);}function a134c(){const j=['maka\x20g:dbc\x20geoserver\x20--type=pgsql','3556860mauRNW','3275296oonvRU','996784xLTHdk','7EDFruH','search','238968zwlXIu','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:route\x20todos/edit','apply','(((.+)+)+)+$','8292960chsJwT','constructor','2012396fehMzu','maka\x20g:template\x20todos/todo_item','5DjWtpH','515571ZmQLsF','toString','generate'];a134c=function(){return j;};return a134c();}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a134i(0xdb),'aliases':['g'],'usage':a134i(0xd0),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos',a134i(0xd7),'maka\x20g:package\x20package:name',a134i(0xd1),'maka\x20g:api\x20trucks',a134i(0xdc)]},async function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a135n=a135d;(function(a,b){const k=a135d,c=a();while(!![]){try{const d
|
|
1
|
+
function a135c(){const p=['5nBhAtk','appPathPrefix','method/method.js','7DQLbwm','8AmgdXu','pathFromApp','scaffold','35364WICjFK','resourceName','apply','projectConfig','constructor','(((.+)+)+)+$','checkMeteorPackage','dir','engines','error','startup','1757232ACmnrI','maka\x20g:method\x20todos','import\x20\x27./methods','injectAtEndOfFile','-rpc-method\x27;','methods','3215510RnnhpM','20foeWxB','5061dwXZdW','2227169WbHWfo','search','-rpc-method.','11OCNTVv','create','1750338xxunEr','10016556vOfspC','method','template','maka\x20{generate,\x20g}:{method,\x20m}\x20name','tsx','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','imports','toString'];a135c=function(){return p;};return a135c();}const a135n=a135d;(function(a,b){const k=a135d,c=a();while(!![]){try{const d=parseInt(k(0xd5))/0x1*(-parseInt(k(0xd9))/0x2)+-parseInt(k(0xc3))/0x3*(parseInt(k(0xc2))/0x4)+-parseInt(k(0xd2))/0x5*(parseInt(k(0xc9))/0x6)+parseInt(k(0xc4))/0x7+-parseInt(k(0xd6))/0x8*(parseInt(k(0xbb))/0x9)+-parseInt(k(0xc1))/0xa+-parseInt(k(0xc7))/0xb*(-parseInt(k(0xca))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x33cb5));function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0xb4;let f=c[d];return f;},a135d(a,b);}const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a135d;if(c){const e=c[l(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const m=a135d;return a135a['toString']()[m(0xc5)](m(0xb5))[m(0xd1)]()[m(0xb4)](a135a)[m(0xc5)](m(0xb5));});a135a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a135n(0xc8)]({'name':a135n(0xcb),'aliases':['m'],'usage':a135n(0xcd),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a135n(0xcf),'validOpts':[a135n(0xb7)],'examples':[a135n(0xbc)]},async function(a,b){const o=a135n;try{const c=this[o(0xdc)],d=b[o(0xb7)]?'/'+b[o(0xb7)]+'/':'/',f=kebabCase(b[o(0xda)]),g={'name':b[o(0xda)],'fileName':f,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let h='js';c['engines']['js']===o(0xce)&&(h='ts');await this['pkg'][o(0xb6)](['maka:check','ddp-rate-limiter','mdg:validated-method'],{'shouldInstall':!![]}),await this['scaffold'][o(0xcc)]({'srcPath':o(0xd4),'destPath':this['scaffold'][o(0xd7)]({'pathParts':[o(0xd0),o(0xba),b[o(0xd3)],o(0xc0),d,f+o(0xc6)+h]}),'context':g,'config':c});const i=this['scaffold'][o(0xd7)]({'pathParts':[o(0xd0),o(0xba),b['appPathPrefix'],'index.'+c[o(0xb8)]['js']]});await this[o(0xd8)][o(0xbe)]({'filePath':i,'content':o(0xbd)+d+f+o(0xbf)});}catch(j){Log[o(0xb9)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a136p=a136d;function a136c(){const r=['1243603OSgLlT','fsi','component','engines','tests/server','pathFromAppWithNoReWrite','tests/client','lib','package/package.js','132363bFegRj','992595kDWWVT','352GXWIEO','packages','create','ssr','theme','constructor','303gLImAN','/package.js','(((.+)+)+)+$','features','projectConfig','relative','hasOwnProperty','package/','4601317TCQLjy','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','graphql','store','template/template.js','scaffold','template','search','5924XRmAMZ','layout','apply','server','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','toString','noRename','1306984bFpyDo','package.js','maka\x20g:package\x20todos:package','findProjectDirectory','resourceName','7228770XHUwao','dir','.js'];a136c=function(){return r;};return a136c();}(function(a,b){const m=a136d,c=a();while(!![]){try{const d=-parseInt(m(0x85))/0x1+parseInt(m(0x7d))/0x2+-parseInt(m(0x96))/0x3*(parseInt(m(0x76))/0x4)+parseInt(m(0x8f))/0x5+parseInt(m(0x82))/0x6+parseInt(m(0x6e))/0x7+parseInt(m(0x90))/0x8*(-parseInt(m(0x8e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0xa4835));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a136d;if(c){const e=c[n(0x78)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const o=a136d;return a136a[o(0x7b)]()[o(0x75)](o(0x68))['toString']()[o(0x95)](a136a)[o(0x75)](o(0x68));});a136a();import a136e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0x67;let f=c[d];return f;},a136d(a,b);}Generator[a136p(0x92)]({'name':'package','aliases':['p'],'usage':a136p(0x6f),'mustBeInMakaProject':!![],'shortDesc':a136p(0x7a),'validOpts':[a136p(0x83)],'examples':[a136p(0x7f)]},async function(a,b){const q=a136p,c=kebabCase(b['resourceName']),d=b['dir']?'/'+b[q(0x83)]+'/':'/',e=this[q(0x73)]['pathFromApp']({'pathParts':[q(0x91),d,c]}),f=this[q(0x73)][q(0x8a)]({'pathParts':[q(0x91),d,c,q(0x7e)]}),g=this[q(0x6a)],h={'name':kebabCase(b[q(0x81)]),'myPath':a136e[q(0x6b)](this[q(0x86)][q(0x80)](),e),'cssCaseName':kebabCase(b[q(0x81)]),'className':pascalCase(b[q(0x81)]),'camelCaseName':camelCase(b[q(0x81)]),'fileName':c,'client':g['engines']['client'],'graphql':g[q(0x88)][q(0x70)],'ssr':g[q(0x88)][q(0x93)],'isComponent':b[q(0x6c)](q(0x87)),'isLayout':b[q(0x6c)](q(0x77)),'isStore':b[q(0x6c)](q(0x71)),'features':g[q(0x69)],'noRename':!![],'theme':g[q(0x88)][q(0x94)]};await this[q(0x73)]['template']({'srcPath':q(0x8d),'destPath':f,'context':h,'config':g}),h[q(0x7c)]=![];const i=e+'/client/'+c+q(0x84);await this[q(0x73)][q(0x74)]({'srcPath':q(0x72),'destPath':i,'context':h,'config':g});const j=[q(0x8c),q(0x79),q(0x8b),q(0x89)];for(const k of j){const l=e+'/'+k+'/'+c+'.js';await this['scaffold'][q(0x74)]({'srcPath':q(0x6d)+k+q(0x67),'destPath':l,'context':h,'config':g});}});
|