@maka/maka-cli 5.0.41 → 5.0.43
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/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 +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117n=a117d;(function(a,b){const k=a117d,c=a();while(!![]){try{const d=parseInt(k(0x11e))/0x1*(-parseInt(k(0x11f))/0x2)+parseInt(k(0x139))/0x3+-parseInt(k(0x147))/0x4+-parseInt(k(0x11c))/0x5+parseInt(k(0x129))/0x6+parseInt(k(0x11d))/0x7*(-parseInt(k(0x132))/0x8)+-parseInt(k(0x13e))/0x9*(-parseInt(k(0x120))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xd2ba7));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a117d;if(c){const e=c[l(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a[m(0x13a)]()['search'](m(0x12f))[m(0x13a)]()[m(0x12d)](a117a)['search']('(((.+)+)+)+$');});a117a();function a117c(){const p=['maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','create','maka\x20g:dbc\x20azure\x20--type=mssql','tsx','1712934NfNwkD','pgsql','config.','apply','constructor','pathFromApp','(((.+)+)+)+$','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','scaffold','8qdktFC','dbc/conn.js','dbc/register-dbc.js','injectAtEndOfFile','better-sqlite3','maka\x20g:dbc\x20geoserver\x20--type=pgsql','server','1695576FeMjKK','toString','maka\x20g:dbc\x20todos\x20--type=sqlite','engines','type','27izVxNy','import\x20\x27./register-','mssql','pkg','template','checkNpmPackage','sqlite','imports','dbc','152312ifFUHG','dir','1764510NOaPwM','4180519LSYvEB','27PGgkfX','119552TgVebT','8715370iWQNSq','resourceName','dbc/config.js','startup','-dbc\x27;'];a117c=function(){return p;};return a117c();}import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x11c;let f=c[d];return f;},a117d(a,b);}Generator[a117n(0x126)]({'name':'dbc','usage':a117n(0x125),'shortDesc':a117n(0x130),'validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a117n(0x13d),'values':[a117n(0x12a),a117n(0x140),a117n(0x144)]}],'examples':[a117n(0x137),a117n(0x127),a117n(0x13b)]},async function(a,b){const o=a117n;try{const c=this['projectConfig'],d=kebabCase(b['resourceName']),f={'name':pascalCase(b[o(0x121)]),'fileName':kebabCase(b[o(0x121)]),'camelCase':camelCase(b['resourceName']),'type':b[o(0x13d)],'engine':c[o(0x13c)]['js'],'noRename':!![]},g=b[o(0x148)]?'/'+b[o(0x148)]+'/':'/';let h='js';c[o(0x13c)]['js']===o(0x128)&&(h='ts');b[o(0x13d)]==='pgsql'&&await this[o(0x141)][o(0x143)]('pg',{'shouldInstall':!![]});b[o(0x13d)]==='mssql'&&await this[o(0x141)][o(0x143)]('mssql',{'shouldInstall':!![]});b[o(0x13d)]===o(0x144)&&await this[o(0x141)][o(0x143)](o(0x136),{'shouldInstall':!![]});await this['scaffold'][o(0x142)]({'srcPath':o(0x122),'destPath':this[o(0x131)]['pathFromApp']({'pathParts':[o(0x145),o(0x123),o(0x138),o(0x146),g,d,o(0x12b)+h]}),'context':f,'config':c}),await this[o(0x131)][o(0x142)]({'srcPath':o(0x133),'destPath':this[o(0x131)][o(0x12e)]({'pathParts':['imports',o(0x123),'server',o(0x146),g,d,'conn.'+h]}),'context':f,'config':c}),await this[o(0x131)][o(0x142)]({'srcPath':o(0x134),'destPath':this[o(0x131)][o(0x12e)]({'pathParts':[o(0x145),o(0x123),o(0x138),'register-'+d+'-dbc.'+h]}),'context':f,'config':c});const i=this[o(0x131)][o(0x12e)]({'pathParts':[o(0x145),o(0x123),o(0x138),'index.'+c[o(0x13c)]['js']]});await this[o(0x131)][o(0x135)]({'filePath':i,'content':o(0x13f)+d+o(0x124)});}catch(j){Log['error'](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d=-parseInt(i(0xb9))/0x1*(parseInt(i(0xcd))/0x2)+-parseInt(i(0xbf))/0x3*(parseInt(i(0xd4))/0x4)+-parseInt(i(0xd5))/0x5*(-parseInt(i(0xd1))/0x6)+parseInt(i(0xcf))/0x7*(parseInt(i(0xc4))/0x8)+-parseInt(i(0xc8))/0x9*(parseInt(i(0xb7))/0xa)+parseInt(i(0xd6))/0xb*(-parseInt(i(0xc9))/0xc)+parseInt(i(0xca))/0xd*(parseInt(i(0xd2))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x2b104));function a118c(){const n=['16dsgMQk','join','fsi','cert','512199vaourk','9792ECDgZJ','345059oxeTYp','scaffold','constructor','2bYlNbp','apply','547498xEBnji','Dockerfile','1020876YSmoMh','56BtzOFQ','maka\x20{generate,\x20g}:dockerfile','8gtEOpy','10TqbcGC','605iGlWAu','Generate\x20an\x20updated\x20dockerfile','(((.+)+)+)+$','docker/Dockerfile','30Cxxzwv','getGlobalConfig','47477hKsqDD','search','app','dockerfile','maka\x20g:dockerfile','build','245121UUBWVz','toString','app.tar.gz','force','cfg'];a118c=function(){return n;};return a118c();}const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a118d;if(c){const e=c[j(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const k=a118d;return a118a['toString']()['search'](k(0xb5))[k(0xc0)]()[k(0xcc)](a118a)[k(0xba)](k(0xb5));});a118a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xb4;let f=c[d];return f;},a118d(a,b);}import a118e from'path';Generator['create']({'name':a118l(0xbc),'usage':a118l(0xd3),'shortDesc':a118l(0xb4),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118l(0xc2),'boolFlag':!![]}],'examples':[a118l(0xbd)]},async function(a,b){const m=a118l;try{const c=this[m(0xc3)]['getMakaProjectConfig'](),d=await this[m(0xc3)][m(0xb8)](),f=this[m(0xc6)]['findProjectDirectory'](),g={'app':c['appName'],'config':c,'appPath':a118e['join'](f,m(0xbb)),'bundlePath':a118e['join'](f,m(0xbe),m(0xc1)),'useCert':d[m(0xc7)]?this[m(0xc6)]['isFile'](d[m(0xc7)]):![]};await this[m(0xcb)]['template']({'srcPath':m(0xb6),'destPath':a118e[m(0xc5)](f,m(0xd0)),'framework':'service','context':g,'config':c,'force':b[m(0xc2)]});}catch(h){Log['error'](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a119c(){const q=['
|
|
1
|
+
function a119c(){const q=['constructor','4552305MkIxgv','notice','findAppDirectory','cssCaseName','layouts','@apollo/client\x20isomorphic-fetch','search','\x20hook...','pages','theme','template','apply','baseDir','react','7768SuROUk','force','fileName','.css','hooks','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','string','findProjectDirectory','2849DgSOMz','apollo','relative','hook/hook.js','33DttoSX','setTemplate','3462iDtneX','projectConfig','pkg','4816080oNLVRQ','(((.+)+)+)+$','components','injectAtBeginningOfFile','warn','test/test.js','\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','.js','injectTemplateModule','withTranslations','maka\x20g:hook\x20cool-hook','create','features','17001BHCISN','installNpmPackage','dir','Creating\x20','test','/imports/ui/components','hook','fsi','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','scaffold','14903RZCKIc','css','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','894imWtNy','engines','185390AjSXwS','checkNpmPackage','pathFromApp','/imports/ui/','6239360TkwWeI','.app-tests.js'];a119c=function(){return q;};return a119c();}const a119o=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d=-parseInt(l(0x1af))/0x1*(parseInt(l(0x1b1))/0x2)+-parseInt(l(0x1b4))/0x3+-parseInt(l(0x192))/0x4+parseInt(l(0x195))/0x5+-parseInt(l(0x18c))/0x6*(-parseInt(l(0x189))/0x7)+parseInt(l(0x1a3))/0x8*(-parseInt(l(0x17f))/0x9)+parseInt(l(0x18e))/0xa*(parseInt(l(0x1ab))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xed7c5));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a119d;if(c){const e=c[m(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const n=a119d;return a119a['toString']()[n(0x19b)]('(((.+)+)+)+$')['toString']()[n(0x194)](a119a)['search'](n(0x1b5));});a119a();import a119e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x178;let f=c[d];return f;},a119d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a119o(0x17d)]({'name':a119o(0x185),'aliases':['h'],'checkWhere':![],'usage':a119o(0x187),'shortDesc':a119o(0x1a8),'mustBeInMakaProject':!![],'validOpts':[{'name':a119o(0x1a1),'values':[a119o(0x1a7),a119o(0x1b6),a119o(0x19d),a119o(0x199)]},{'name':'force','boolFlag':!![]}],'examples':[a119o(0x17c)],'description':a119o(0x1ba)},async function(a,b){const p=a119o;Log[p(0x196)](p(0x182)+b['resourceName']+p(0x19c));try{await this[p(0x1b3)][p(0x18f)](p(0x1a2),{'shouldInstall':!![]});const c=this[p(0x186)][p(0x197)](),d=b[p(0x1a1)]?p(0x191)+b[p(0x1a1)]:p(0x184),f=this[p(0x188)][p(0x190)]({'pathParts':[d,b['dir'],kebabCase(b[p(0x178)]),kebabCase(b[p(0x178)])]}),g=this[p(0x1b2)];typeof g[p(0x19f)][p(0x18a)]===p(0x1a9)&&this['cfg'][p(0x1b0)](p(0x18a),g['template'][p(0x18a)]);g['engines']['graphql']===p(0x1ac)&&!this['pkg'][p(0x18f)]('@apollo/client')&&(Log[p(0x1b8)](p(0x18b)),await this[p(0x1b3)][p(0x180)](p(0x19a),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x178)]),'camelCaseName':camelCase(b[p(0x178)]),'className':pascalCase(b[p(0x178)]),'name':pascalCase(b[p(0x178)]),'graphql':g[p(0x18d)]['graphql'],'theme':g[p(0x18d)][p(0x19e)],'test':g[p(0x18d)][p(0x183)],'features':g['features'],'myPath':a119e[p(0x1ad)](this[p(0x186)][p(0x1aa)](),f),'fileName':kebabCase(b[p(0x178)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x17e)][p(0x17b)]};await this[p(0x188)][p(0x19f)]({'srcPath':p(0x1ae),'destPath':f+p(0x179),'context':h,'config':g,'framework':p(0x1a2),'force':b[p(0x1a4)]});g[p(0x19f)][p(0x18a)]&&(await this[p(0x188)][p(0x19f)]({'srcPath':'template/template.css','destPath':f+p(0x1a6),'context':Object['assign']({},h,{'className':h[p(0x198)]}),'config':g,'force':b[p(0x1a4)]}),await this['scaffold'][p(0x1b7)]({'filePath':f+'.'+g[p(0x18d)]['js'],'content':'import\x20\x27./'+h['fileName']+'.'+g[p(0x18d)]['css']+'\x27;'}));g[p(0x18d)][p(0x183)]!=='none'&&await this[p(0x188)][p(0x19f)]({'srcPath':p(0x1b9),'destPath':f+p(0x193),'framework':p(0x1a2),'context':h,'config':g,'force':b[p(0x1a4)]});const i=b[p(0x181)]?'/'+b[p(0x181)]+'/':'/',j=''+d+i+h[p(0x1a5)]+'/'+h[p(0x1a5)];await this[p(0x188)][p(0x17a)](h['className'],g,j);}catch(k){Log['error'](k);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a120d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a120d,c=a();while(!![]){try{var d=-parseInt(f(0xf0))/0x1+parseInt(f(0xee))/0x2+-parseInt(f(0xf2))/0x3+-parseInt(f(0xec))/0x4+parseInt(f(0xe8))/0x5*(-parseInt(f(0xe7))/0x6)+-parseInt(f(0xe6))/0x7*(parseInt(f(0xe9))/0x8)+parseInt(f(0xe4))/0x9*(parseInt(f(0xf1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x3c794));var a120b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a120d;if(c){var e=c[g(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){var h=a120d;return a120a[h(0xed)]()[h(0xef)](h(0xeb))[h(0xed)]()[h(0xea)](a120a)[h(0xef)](h(0xeb));});a120a();function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0xe4;var f=c[d];return f;},a120d(a,b);}function a120c(){var i=['7kkltjv','1318230gXadon','5mboSpt','1054824BgiqmY','constructor','(((.+)+)+)+$','596272xHrrnF','toString','354712TzHIrb','search','233041CpVxDt','30JfnaBs','743160Lfotfj','3155193qoONQZ','apply'];a120c=function(){return i;};return a120c();}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';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(0xb0))/0x1+parseInt(f(0xae))/0x2+-parseInt(f(0xab))/0x3*(-parseInt(f(0xaf))/0x4)+parseInt(f(0xb3))/0x5*(parseInt(f(0xb5))/0x6)+-parseInt(f(0xa9))/0x7+parseInt(f(0xb1))/0x8+parseInt(f(0xb4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x5a195));function a121c(){var h=['3563308nNMjVt','(((.+)+)+)+$','19407inBTeM','toString','constructor','567396SCEiMW','92OlYUkJ','660310fBhupc','1906344qeNnAq','search','30UJQnhd','4412583HIRrsH','377334JNQAqc'];a121c=function(){return h;};return a121c();}var a121b=(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;};}()),a121a=a121b(this,function(){var g=a121d;return a121a['toString']()[g(0xb2)](g(0xaa))[g(0xac)]()[g(0xad)](a121a)[g(0xb2)](g(0xaa));});a121a();import'./auth.generator.js';function a121d(a,b){var c=a121c();return a121d=function(d,e){d=d-0xa9;var f=c[d];return f;},a121d(a,b);}import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-
|
|
1
|
+
function a122c(){const j=['maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','maka\x20g:kit:a','3721422kGweZB','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','848091VULnDT','auth','toString','search','(((.+)+)+)+$','711269yvJRgv','11691736hrlZXD','NIE','create','6349427wvRUrB','constructor','6ReXkQz','1657600tSzPHM','835300GhtyZM'];a122c=function(){return j;};return a122c();}const a122h=a122d;function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xf1;let f=c[d];return f;},a122d(a,b);}(function(a,b){const f=a122d,c=a();while(!![]){try{const d=parseInt(f(0x100))/0x1+-parseInt(f(0xf4))/0x2*(-parseInt(f(0xfb))/0x3)+-parseInt(f(0xf6))/0x4+parseInt(f(0xf5))/0x5+-parseInt(f(0xf9))/0x6+parseInt(f(0xf2))/0x7+-parseInt(f(0x101))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x7be14));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[g(0xfd)]()[g(0xfe)]('(((.+)+)+)+$')['toString']()[g(0xf3)](a122a)[g(0xfe)](g(0xff));});a122a();import{Generator}from'../../../generator.js';import a122e from'../kit.js';const AuthGen=Generator[a122h(0xf1)]({'name':a122h(0xfc),'aliases':['a'],'usage':a122h(0xf7),'shortDesc':a122h(0xfa),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a122h(0xf8)],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){const i=a122h;throw i(0x102);},async function(){},a122e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a123v=a123d;(function(a,b){const s=a123d,c=a();while(!![]){try{const d=parseInt(s(0xfc))/0x1*(-parseInt(s(0x121))/0x2)+parseInt(s(0x102))/0x3*(parseInt(s(0x115))/0x4)+parseInt(s(0x104))/0x5+-parseInt(s(0xef))/0x6+-parseInt(s(0xe6))/0x7*(parseInt(s(0xe8))/0x8)+-parseInt(s(0x119))/0x9*(-parseInt(s(0xff))/0xa)+parseInt(s(0xf1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xbf398));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a123d;if(c){const e=c[t(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const u=a123d;return a123a[u(0x117)]()[u(0x103)](u(0x111))[u(0x117)]()[u(0xe9)](a123a)[u(0x103)](u(0x111));});function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xe6;let f=c[d];return f;},a123d(a,b);}a123a();import a123e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a123c(){const x=['checkMeteorPackage','authentication-service','/imports/startup/lib/authentication-service','imports','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','ssr','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','authentication-provider','1757ILJDoq','findProjectDirectory','export\x20const\x20AuthProvider','279170WcUXAT','Meteor.startup','/imports/startup/client','17958rQAbRn','search','6960345RvgtmO','const\x20registerNewUser','auth/roles','AuthService','injectImport','\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','findAppDirectory','index','processAndRunGenerator','.js','const\x20deauthenticateUser','\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','exit','(((.+)+)+)+$','react','engines','pathFromApp','312ZwEsIu','\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','toString','create','288yGPEFc','error','server','const\x20getUserAuthorizations','apply','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','const\x20authenticateUser','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','1262zkgQuz','kit:auth:provider','REACT','/imports/startup/client/authentication-service','meteor','\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','Meteor.publish','581PdGisB','injectIntoCodeBlock','142752jPrcdP','constructor','kit/auth/service/meteor-auth-service.js','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','startup','\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','meteor/maka:react-tracker','6861288nGdRaO','meteor/meteor','19406222bwbKMc','/imports/startup/lib','accounts-password'];a123c=function(){return x;};return a123c();}import a123f from'./auth.generator.js';import a123g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123v(0x118)]({'name':a123v(0x125),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a123v(0xf8),'validOpts':['force'],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a123v(0x123)]},'description':'\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'},async function(a,b){const w=a123v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b['force']||![];await d[w(0xf4)]([w(0xf3)],{'shouldInstall':!![]});const i=c[w(0xfd)](),j=c[w(0x10a)](),k=g['engines'][w(0xf9)]==='meteor';await a123g[w(0x10c)](w(0x122),[],{'force':h,'cwd':i,'config':g}),await a123g[w(0x10c)]('publish',[w(0x106)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e['normalize']('/imports/startup/server/publications/auth/roles.js'),m=k?w(0xf2):w(0x101),n=f[w(0x114)]({'pathParts':[m,'','',w(0xf5)]});await f['template']({'srcPath':w(0xea),'destPath':n+w(0x10d),'framework':w(0x112),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x114)]({'pathParts':[m,'','',w(0xfb)]}),p=g[w(0x113)]['js'];await f[w(0x108)]({'filePath':o+'.'+p,'importName':w(0x107),'modulePath':k?w(0xf6):w(0x124),'isNamedExport':![]}),await f[w(0xe7)]({'filePath':o+'.'+p,'content':'\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','begin':w(0x11f),'replace':!![]}),await f[w(0xe7)]({'filePath':o+'.'+p,'content':w(0x109),'begin':'const\x20authenticateToken','replace':!![]}),await f[w(0xe7)]({'filePath':o+'.'+p,'content':w(0x10f),'begin':w(0x11c),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x120),'begin':w(0x10e),'replace':!![]}),await f[w(0xe7)]({'filePath':o+'.'+p,'content':w(0xeb),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await f[w(0xe7)]({'filePath':o+'.'+p,'content':w(0xfa),'begin':w(0x105),'replace':!![]}),await f[w(0xe7)]({'filePath':o+'.'+p,'content':w(0x11e),'begin':'const\x20resetPasswordWithToken','replace':!![]});k&&(await f[w(0x108)]({'filePath':o+'.'+p,'importName':'useTracker','modulePath':w(0xee),'isNamedExport':!![]}),await f['injectIntoFile']({'filePath':o+'.'+p,'content':w(0x126),'begin':w(0xfe),'end':'useEffect\x5c('}));await f[w(0x108)]({'filePath':l,'importName':'Meteor','modulePath':w(0xf0),'isNamedExport':!![],'injectAtStart':!![]}),await f['injectIntoCodeBlock']({'filePath':l,'content':w(0x116),'begin':w(0x127),'replace':!![]});const q=f['pathFromApp']({'pathParts':[w(0xf7),w(0xec),w(0x11b),w(0x10b)]});await f[w(0x108)]({'filePath':q+'.'+p,'importName':'Accounts','modulePath':'meteor/accounts-base','isNamedExport':!![]}),await f[w(0xe7)]({'filePath':q+'.'+p,'content':w(0xed),'begin':w(0x100),'replace':!![]});}catch(r){Log[w(0x11a)](r),process[w(0x110)](0x1);}},async function(){},a123f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124x=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d
|
|
1
|
+
const a124x=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=parseInt(u(0x168))/0x1+-parseInt(u(0x16b))/0x2+-parseInt(u(0x173))/0x3*(parseInt(u(0x18f))/0x4)+parseInt(u(0x171))/0x5*(parseInt(u(0x170))/0x6)+-parseInt(u(0x18b))/0x7+-parseInt(u(0x18c))/0x8+parseInt(u(0x17a))/0x9*(parseInt(u(0x18a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x3d7eb));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a124d;if(c){const e=c[v(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const w=a124d;return a124a[w(0x172)]()[w(0x174)](w(0x19c))[w(0x172)]()[w(0x187)](a124a)[w(0x174)]('(((.+)+)+)+$');});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./auth.generator.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x165;let f=c[d];return f;},a124d(a,b);}function a124c(){const z=['scaffold','/imports/startup/lib/authentication-provider','478100FSRNbR','<AppRoutes\x20/>','ssr','injectIntoCodeBlock','force','<AppRoutes\x20history={history}/>','bright','apply','authentication-provider','/imports/startup/client/index','<AuthProvider>','const\x20PrivateRoute','provider','(((.+)+)+)+$','exit','appName','template','258742KiePdR','</AuthProvider>','\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','33682mIhwAf','create','/routes','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','48PRfWxg','181565dPJphT','toString','12deoSGh','search','REACT','meteor','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client/authentication-provider','AuthProvider','8463879ucehzE','react','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','split','useContext','/imports/startup/client','\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','error','AuthContext','injectImport','/imports/startup/server/index','function\x20useAuth','kit/auth/provider/authentication-provider.js','constructor','pathFromApp','engines','10nsKPrm','2447284AUihrG','3145928kwHlQt'];a124c=function(){return z;};return a124c();}import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124x(0x16c)]({'name':a124x(0x19b),'aliases':['p'],'usage':a124x(0x16f),'shortDesc':a124x(0x16e),'validOpts':[a124x(0x193)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124x(0x175)]},'description':a124x(0x180)},async function(a,b){const y=a124x;try{const c=b['force']||![];Log[y(0x195)](y(0x17c));const {projectConfig:d}=this,f=d['engines'][y(0x191)]===y(0x176),g={'name':capitalCase(d[y(0x166)])},h=f?'/imports/startup/lib':y(0x17f),i=this[y(0x18d)][y(0x188)]({'pathParts':[h,'','',y(0x197)]});await this[y(0x18d)][y(0x167)]({'srcPath':y(0x186),'destPath':i+'.js','framework':y(0x17b),'context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x189)]['js'],k=h+y(0x16d),l=k[y(0x17d)]('/'),m=this[y(0x18d)][y(0x188)]({'pathParts':l});await this[y(0x18d)][y(0x183)]({'filePath':m+'.'+j,'importName':y(0x182),'modulePath':f?y(0x18e):y(0x178),'isNamedExport':!![]}),await this[y(0x18d)][y(0x183)]({'filePath':m+'.'+j,'importName':y(0x17e),'modulePath':y(0x17b),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x18d)][y(0x192)]({'filePath':m+'.'+j,'content':y(0x177),'begin':['const\x20useAuth',y(0x185)],'replace':!![]}),await this[y(0x18d)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x16a),'begin':[y(0x19a)],'replace':!![]});const n=y(0x198),o=n[y(0x17d)]('/'),p=this[y(0x18d)][y(0x188)]({'pathParts':o});await this[y(0x18d)][y(0x183)]({'filePath':p+'.'+j,'importName':y(0x179),'modulePath':f?y(0x18e):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x18d)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':y(0x199),'belowContent':y(0x169),'targetString':y(0x190),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x184),r=q[y(0x17d)]('/'),s=this[y(0x18d)][y(0x188)]({'pathParts':r});await this['scaffold'][y(0x183)]({'filePath':s+'.'+j,'importName':y(0x179),'modulePath':f?y(0x18e):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['scaffold']['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x169),'targetString':y(0x194),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x181)](t),process[y(0x165)](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a125d,c=a();while(!![]){try{var d
|
|
1
|
+
function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0xbc;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0xcb))/0x1*(parseInt(f(0xbd))/0x2)+parseInt(f(0xc6))/0x3*(-parseInt(f(0xc8))/0x4)+-parseInt(f(0xbc))/0x5*(-parseInt(f(0xc3))/0x6)+parseInt(f(0xc0))/0x7+-parseInt(f(0xc7))/0x8*(-parseInt(f(0xca))/0x9)+parseInt(f(0xbf))/0xa*(parseInt(f(0xbe))/0xb)+-parseInt(f(0xc2))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x9a627));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a['toString']()[h(0xc5)](h(0xc1))['toString']()[h(0xc4)](a125a)['search'](h(0xc1));});a125a();function a125c(){var i=['1393030eMKssp','928xARnJc','98197smPGbD','1220WOkPsL','4207301xtrppq','(((.+)+)+)+$','17884332YNiHnp','6ZSlhWA','constructor','search','3ETzPre','64DxIZPx','4929628JURqVj','apply','1308078zOXnXn','482QhpcrD'];a125c=function(){return i;};return a125c();}import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x198;let f=c[d];return f;},a126d(a,b);}const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x19d))/0x1*(parseInt(f(0x19f))/0x2)+parseInt(f(0x198))/0x3+-parseInt(f(0x1a2))/0x4*(parseInt(f(0x1aa))/0x5)+parseInt(f(0x1a1))/0x6+-parseInt(f(0x1a6))/0x7*(parseInt(f(0x1a5))/0x8)+-parseInt(f(0x19a))/0x9+parseInt(f(0x19c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x9de2a));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x1a4)]()['search'](h(0x1a3))['toString']()[h(0x19b)](a126a)[h(0x1a0)](h(0x1a3));});a126a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a126e from'../kit.js';const EsriGen=Generator[a126i(0x1a7)]({'name':a126i(0x1ab),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','shortDesc':a126i(0x199),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x19e)],'description':a126i(0x1a8)},async function(){throw UsageError;},async function(){},a126e);export default EsriGen;function a126c(){const j=['apply','75QFPmpH','esri','1521351ghgPNV','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','4535451BaKhjY','constructor','2896640oRuymI','36514DxUswZ','maka\x20g:kit:e','16TZgZsp','search','4692732iaEiRS','1916WvRfjV','(((.+)+)+)+$','toString','1031752dNekRK','7JeofMc','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'];a126c=function(){return j;};return a126c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127v=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d
|
|
1
|
+
function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x13f;let f=c[d];return f;},a127d(a,b);}const a127v=a127d;function a127c(){const x=['apply','dir','987266GzIyBp','toString','/imports/ui/','.js','11RCzCkS','injectTemplateModule','724298XrloFf','appName','/imports/ui/components','pathFromApp','<div\x20id=\x22map\x22>','7361950sbxVQC','search','(((.+)+)+)+$','create','@esri/react-arcgis','split','checkNpmPackage','/imports/startup/client/templates','injectIntoFile','13976pcLxSn','map','12jbUGPc','kit/esri/map/','exit','REACT','Generating\x20a\x20map\x20component','template','replaceAll','70645mDwDho','basic-map','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','</div>','esri-loader','NONE','processAndRunGenerator','1830LeRSIR','Generate\x20an\x20Esri\x20map\x20component','1528hGhlYO','meteor','findProjectDirectory','1048yuZsxr','10809wwaYHs','page','baseDir','react'];a127c=function(){return x;};return a127c();}(function(a,b){const s=a127d,c=a();while(!![]){try{const d=parseInt(s(0x142))/0x1+-parseInt(s(0x164))/0x2+parseInt(s(0x152))/0x3*(-parseInt(s(0x154))/0x4)+-parseInt(s(0x14b))/0x5*(-parseInt(s(0x144))/0x6)+-parseInt(s(0x15e))/0x7+parseInt(s(0x157))/0x8*(parseInt(s(0x158))/0x9)+parseInt(s(0x169))/0xa*(parseInt(s(0x162))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x30b81));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a127d;if(c){const e=c[t(0x15c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a[u(0x15f)]()[u(0x16a)](u(0x16b))['toString']()['constructor'](a127a)[u(0x16a)](u(0x16b));});a127a();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';Generator[a127v(0x16c)]({'name':a127v(0x143),'aliases':['m'],'usage':a127v(0x14d),'shortDesc':a127v(0x153),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127v(0x147)],'ssr':SsrEngines[a127v(0x150)]},'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 w=a127v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log['bright'](w(0x148));const h=w(0x14c);await f[w(0x13f)]([w(0x16d),w(0x14f)],{'shouldInstall':!![]});const i=d[w(0x156)](),j=c['engines']['ssr']===w(0x155),k=await a127f[w(0x151)](w(0x159),[w(0x143)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x165)])[w(0x14a)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x15a)]?w(0x160)+b[w(0x15a)]:w(0x166),n=g[w(0x167)]({'pathParts':[m,b[w(0x15d)],kebabCase(h),kebabCase(h)]});await g[w(0x149)]({'srcPath':w(0x145)+h+w(0x161),'destPath':n+w(0x161),'framework':w(0x15b),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b['dir']+'/'+h+'/'+h;await g[w(0x163)](h,c,o);const p=k[w(0x16e)]('/'),q=g[w(0x167)]({'pathParts':p});await g['injectImport']({'filePath':q,'importName':pascalCase(h),'modulePath':j?'/imports/startup/lib/templates':w(0x140),'isNamedExport':!![]}),await g[w(0x141)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[w(0x168),'<div\x20id=\x22map\x22>'],'end':[w(0x14e)],'replace':!![]});}catch(r){Log['error'](r),process[w(0x146)](0x1);}},async function(){},a127e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a128i=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=-parseInt(f(0x1a6))/0x1+-parseInt(f(0x1a7))/0x2+-parseInt(f(0x1a0))/0x3*(parseInt(f(0x19d))/0x4)+parseInt(f(0x1a1))/0x5+-parseInt(f(0x19e))/0x6*(parseInt(f(0x19c))/0x7)+parseInt(f(0x1a8))/0x8+parseInt(f(0x19b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x72462));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a128d;if(c){const e=c[g(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const h=a128d;return a128a[h(0x1a4)]()[h(0x1ac)](h(0x1ab))[h(0x1a4)]()[h(0x1a2)](a128a)[h(0x1ac)]('(((.+)+)+)+$');});a128a();function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x19b;let f=c[d];return f;},a128d(a,b);}import{Generator}from'../../generator.js';function a128c(){const j=['maka\x20{generate,\x20g}:{kit}\x20<name>','toString','kit','358915WxFdOe','258438tvaYNf','3484824CVDHYk','maka\x20g:kit','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','(((.+)+)+)+$','search','maka\x20g:k','14126958AwExAu','24521uviMiE','33956cGjIPS','1554QbZviV','apply','309WDtrRF','3662895kCTToA','constructor'];a128c=function(){return j;};return a128c();}const KitGen=Generator['create']({'name':a128i(0x1a5),'aliases':['k'],'usage':a128i(0x1a3),'shortDesc':a128i(0x1aa),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a128i(0x1a9),a128i(0x1ad)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a129d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(0x1d3))/0x1*(-parseInt(f(0x1d6))/0x2)+parseInt(f(0x1d9))/0x3+-parseInt(f(0x1d4))/0x4*(-parseInt(f(0x1d8))/0x5)+parseInt(f(0x1cf))/0x6*(parseInt(f(0x1d2))/0x7)+-parseInt(f(0x1d0))/0x8*(-parseInt(f(0x1db))/0x9)+-parseInt(f(0x1d7))/0xa+-parseInt(f(0x1da))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x54c21));var a129b=(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;};}()),a129a=a129b(this,function(){var g=a129d;return a129a[g(0x1d5)]()[g(0x1dc)](g(0x1d1))[g(0x1d5)]()['constructor'](a129a)[g(0x1dc)](g(0x1d1));});a129a();function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x1cf;var f=c[d];return f;},a129d(a,b);}import'./mui.generator.js';function a129c(){var h=['352624osZeXp','(((.+)+)+)+$','117838nhKKGN','1XqWOKw','27948foecgh','toString','517886plqkMX','6385440iewHYr','445IxKAbB','916536OKxICQ','9542731fTFJUM','9vkguji','search','222WbPCBD'];a129c=function(){return h;};return a129c();}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130L=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d=-parseInt(I(
|
|
1
|
+
const a130L=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d=-parseInt(I(0xa4))/0x1+parseInt(I(0xa6))/0x2*(-parseInt(I(0xa1))/0x3)+-parseInt(I(0x99))/0x4+-parseInt(I(0x9a))/0x5*(parseInt(I(0x80))/0x6)+parseInt(I(0x82))/0x7+-parseInt(I(0xa3))/0x8+parseInt(I(0x83))/0x9*(parseInt(I(0x81))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x44ee0));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a[K(0x9f)]()[K(0x9d)](K(0xb5))[K(0x9f)]()[K(0x97)](a130a)[K(0x9d)]('(((.+)+)+)+$');});a130a();import{Generator}from'../../../generator.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x79;let f=c[d];return f;},a130d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a130c(){const O=['Cleaning\x20up...','log','kit/mui/auth/login/','meteor','MATERIAL','split','basic-login-page','engines','template','login','basic-password-reset-page','processAndRunGenerator','custom','REACT','(((.+)+)+)+$','pathFromApp','kit/mui/auth/forgot-password/','authType','kit/mui/auth/logout/','findProjectDirectory','auth','maka\x20generate:kit:mui:auth','basic-logout-page','apply','appName','12rLJKNo','123060ZvLSWn','2738281MHMRJn','846rFkmAG','ssr','kit:auth:provider','basic-register-page','forgot-password','injectTemplateModule','react','/imports/startup/lib/authentication-provider','reset-password/:token','kit/mui/auth/password-reset/','.js','create','kit/mui/auth/register/','error','/imports/startup/client/authentication-provider','injectImport','/imports/ui/','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','baseDir','/imports/ui/pages/auth','constructor','basic-forgot-password-page','1590752VNzrpQ','209715vsuDCV','AuthContext','dir','search','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','toString','Custom\x20(roll\x20your\x20own)','81AFRjds','register','34880jyFNTE','426895LYaXyf','route','26132CioKPN'];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(0x8e)]({'name':a130L(0x7b),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','shortDesc':a130L(0x94),'validOpts':['layouts','force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a130L(0xab)],'client':ClientEngines[a130L(0xb4)]},'examples':[a130L(0x7c),'maka\x20g:k:m:a'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20'},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b['force']||![],h=d[M(0x7a)](),i=await Actions['select']({'name':M(0xb8),'message':M(0x9e),'choices':[{'name':'Meteor\x20Accounts','value':M(0xaa)},{'name':M(0xa0),'value':M(0xb3)}]}),j='basic-login-page',k='basic-logout-page',l='basic-register-page',m=M(0xb1),n='basic-forgot-password-page',o=b[M(0x95)]?M(0x93)+b[M(0x95)]:M(0x96),p=f[M(0xb6)]({'pathParts':[o,b[M(0x9c)],kebabCase(j),kebabCase(j)]}),q=f[M(0xb6)]({'pathParts':[o,b[M(0x9c)],kebabCase(k),kebabCase(k)]}),r=f[M(0xb6)]({'pathParts':[o,b[M(0x9c)],kebabCase(l),kebabCase(l)]}),s=f[M(0xb6)]({'pathParts':[o,b[M(0x9c)],kebabCase(m),kebabCase(m)]}),t=f[M(0xb6)]({'pathParts':[o,b[M(0x9c)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x7f)])};await f['template']({'srcPath':M(0xa9)+j+M(0x8d),'destPath':p+M(0x8d),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xaf)]({'srcPath':M(0x79)+k+M(0x8d),'destPath':q+M(0x8d),'framework':M(0x89),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xaf)]({'srcPath':M(0x8f)+l+M(0x8d),'destPath':r+M(0x8d),'framework':M(0x89),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xaf)]({'srcPath':M(0x8c)+m+M(0x8d),'destPath':s+M(0x8d),'framework':M(0x89),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xaf)]({'srcPath':M(0xb7)+n+M(0x8d),'destPath':t+M(0x8d),'framework':M(0x89),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x9c)]+'/'+j+'/'+j;await f[M(0x88)](j,c,v);const w=''+o+b[M(0x9c)]+'/'+k+'/'+k;await f[M(0x88)](k,c,w);const x=''+o+b[M(0x9c)]+'/'+l+'/'+l;await f[M(0x88)](l,c,x);const y=''+o+b[M(0x9c)]+'/'+m+'/'+m;await f[M(0x88)](m,c,y);const z=''+o+b[M(0x9c)]+'/'+n+'/'+n;await f[M(0x88)](n,c,z),await a130e[M(0xb2)]('route',[M(0xad)],{'route':M(0xb0),'cwd':h,'config':c}),await a130e[M(0xb2)](M(0xa5),[M(0x7d)],{'route':'logout','private':!![],'cwd':h,'config':c}),await a130e['processAndRunGenerator'](M(0xa5),[M(0x86)],{'route':M(0xa2),'cwd':h,'config':c}),await a130e['processAndRunGenerator']('route',['basic-password-reset-page'],{'route':M(0x8b),'cwd':h,'config':c}),await a130e[M(0xb2)](M(0xa5),[M(0x98)],{'route':M(0x87),'cwd':h,'config':c});i===M(0xaa)&&await a130e[M(0xb2)]('kit:auth:meteor',[],{'force':g,'cwd':h,'config':c});i===M(0xb3)&&await a130e[M(0xb2)](M(0x85),[],{'force':g,'cwd':h,'config':c});const A=c['engines'][M(0x84)]===M(0xaa),B=c[M(0xae)]['js'],C=f[M(0xb6)]({'pathParts':v[M(0xac)]('/')});await f[M(0x92)]({'filePath':C+'.'+B,'importName':M(0x9b),'modulePath':A?M(0x8a):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=f['pathFromApp']({'pathParts':w['split']('/')});await f[M(0x92)]({'filePath':D+'.'+B,'importName':M(0x9b),'modulePath':A?M(0x8a):M(0x91),'isNamedExport':!![]});const E=f[M(0xb6)]({'pathParts':x[M(0xac)]('/')});await f[M(0x92)]({'filePath':E+'.'+B,'importName':M(0x9b),'modulePath':A?M(0x8a):M(0x91),'isNamedExport':!![]});const F=f['pathFromApp']({'pathParts':y[M(0xac)]('/')});await f['injectImport']({'filePath':F+'.'+B,'importName':M(0x9b),'modulePath':A?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const G=f['pathFromApp']({'pathParts':z['split']('/')});await f[M(0x92)]({'filePath':G+'.'+B,'importName':M(0x9b),'modulePath':A?M(0x8a):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(H){Log[M(0x90)](H),process['exit'](0x1);}},async function(){const N=a130L;console[N(0xa8)](N(0xa7));},a130f);export default a130f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a131c(){const J=['template','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','injectIntoFile','constructor','1749456fBiQLc','</div>','kit/mui/frame/footers/','length','tsx','<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>','test','MATERIAL','app-tests','1AloPaI','4ugsugn','<Outlet/>','@mui/material/Container','getDirectories','error','layouts','injectTemplateModule','apply','kit/mui/frame/app-bars/','694244DDoZuL','maka\x20generate:kit:mui:frame','force','\x20/>\x0a','checkbox','frame','/imports/startup/lib/templates','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','<Outlet\x20/>','pathFromApp','appName','ssr','engines','<div\x20id=\x22','imports','search','25HvfwMZ','243ljEuzg','2080470MmluWz','/imports/startup/client/templates','@mui/material/Box','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','dir','226910oyAIjZ','18792708kIXMks','session','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','injectImport','(((.+)+)+)+$','Box','basic-drawer','-hook\x22>','tests','kit/mui/frame/drawers/','injectAroundString','join','No\x20layouts\x20selected','baseDir','887334lHqedD','jsx','basic-app-bar','toString','5117098ANRahK','react','meteor','.js','getFiles','checkMeteorPackage'];a131c=function(){return J;};return a131c();}const a131H=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=parseInt(E(0x170))/0x1*(parseInt(E(0x17a))/0x2)+-parseInt(E(0x18c))/0x3*(-parseInt(E(0x171))/0x4)+parseInt(E(0x18a))/0x5*(parseInt(E(0x159))/0x6)+parseInt(E(0x15d))/0x7+parseInt(E(0x167))/0x8+parseInt(E(0x18b))/0x9*(-parseInt(E(0x191))/0xa)+-parseInt(E(0x192))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x63c5c));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a131d;if(c){const e=c[F(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const G=a131d;return a131a[G(0x15c)]()[G(0x189)](G(0x14f))['toString']()[G(0x166)](a131a)[G(0x189)](G(0x14f));});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-0x14f;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':a131H(0x17f),'aliases':['f'],'usage':a131H(0x194),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':['layouts','baseDir',a131H(0x190),a131H(0x17c)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a131H(0x16e)],'client':ClientEngines['REACT']},'examples':[a131H(0x17b),'maka\x20g:k:m:f'],'description':a131H(0x18f)},async function(a,b){const I=a131H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x17c)]||![],i=I(0x15b),j=I(0x151),k='basic-sticky-footer',l=c[I(0x186)][I(0x185)]===I(0x15f);await f[I(0x162)]([I(0x193),'maka:react-tracker'],{'shouldInstall':!![]});const m=d['findAppDirectory'](),n=a131e['join'](m,I(0x188),'ui',I(0x176)),o=d[I(0x174)](n),p=o['map'](z=>({'name':z,'value':z})),q=await Actions[I(0x17e)]({'message':I(0x181),'name':'layouts','choices':p});if(q[I(0x16a)]===0x0){Log[I(0x175)](I(0x157));return;}const r=b['baseDir']?'/imports/ui/'+b[I(0x158)]:'/imports/ui/components',s=g['pathFromApp']({'pathParts':[r,b[I(0x190)],kebabCase(i),kebabCase(i)]}),t=g[I(0x183)]({'pathParts':[r,b[I(0x190)],kebabCase(j),kebabCase(j)]}),u=g[I(0x183)]({'pathParts':[r,b[I(0x190)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x184)])};await g[I(0x163)]({'srcPath':I(0x179)+i+'.js','destPath':s+I(0x160),'framework':I(0x15e),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x163)]({'srcPath':I(0x154)+j+'.js','destPath':t+I(0x160),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x163)]({'srcPath':I(0x169)+k+I(0x160),'destPath':u+I(0x160),'framework':I(0x15e),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b['dir']+'/'+i+'/'+i;await g[I(0x177)](i,c,w);const x=''+r+b['dir']+'/'+j+'/'+j;await g[I(0x177)](j,c,x);const y=''+r+b[I(0x190)]+'/'+k+'/'+k;await g[I(0x177)](k,c,y);for(const z of q){const A=d[I(0x161)](a131e[I(0x156)](n,z),{'extensions':[I(0x15a),I(0x16b)],'omit':[I(0x16f),I(0x153),I(0x16d)]});for(const B of A){const C=a131e['join'](n,z,B);await g[I(0x195)]({'filePath':C,'importName':I(0x150),'modulePath':I(0x18e),'isNamedExport':![]}),await g[I(0x195)]({'filePath':C,'importName':'Container','modulePath':I(0x173),'isNamedExport':![]}),await g[I(0x195)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0x180):I(0x18d),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':[I(0x187)+z+'\x22>',I(0x187)+z+I(0x152)],'end':[I(0x172),I(0x182)]}),await g[I(0x195)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?'/imports/startup/lib/templates':I(0x18d),'isNamedExport':!![]}),await g[I(0x165)]({'filePath':C,'content':'<'+pascalCase(j)+I(0x17d),'begin':[I(0x187)+z+'\x22>','<div\x20id=\x22'+z+I(0x152)],'end':['<Outlet/>',I(0x182)]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(k)+'\x20/>\x0a','begin':[I(0x172),'<Outlet\x20/>'],'end':[I(0x168)]}),await g[I(0x195)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0x180):'/imports/startup/client/templates','isNamedExport':!![]}),await g[I(0x155)]({'filePath':C,'aboveContent':I(0x16c),'belowContent':I(0x164),'targetString':['<Outlet/>','<Outlet\x20/>'],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x175)](D);}},async function(){console['log']('Cleaning\x20up...');},a131f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a132i=a132d;(function(a,b){const g=a132d,c=a();while(!![]){try{const d=parseInt(g(0x169))/0x1+-parseInt(g(0x15a))/0x2+parseInt(g(0x167))/0x3*(-parseInt(g(0x170))/0x4)+parseInt(g(0x178))/0x5*(-parseInt(g(0x168))/0x6)+parseInt(g(0x16c))/0x7+-parseInt(g(0x177))/0x8*(-parseInt(g(0x15b))/0x9)+parseInt(g(0x16a))/0xa*(parseInt(g(0x161))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x1ecf4));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 h=a132d;return a132a[h(0x15f)]()[h(0x176)](h(0x166))[h(0x15f)]()[h(0x16d)](a132a)[h(0x176)](h(0x166));});function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x157;let f=c[d];return f;},a132d(a,b);}a132a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a132e from'../../../generators/maka.gen.js';function a132c(){const k=['Auth\x20workflow\x20(login,\x20logout,\x20etc.)','includes','maka\x20g:kit:m','getMakaProjectConfig','search','1495432HLKzJy','5tieGBw','exit','processAndRunGenerator','kitChoices','mui','findProjectDirectory','417530JUwuNj','9dzVCZL','No\x20MUI\x20kits\x20selected.\x20Exiting.','notice','frame','toString','kit:mui:frame','77ZGhsZa','Material-UI\x20Kit','Header,\x20Footer,\x20and\x20Drawer','checkbox','cfg','(((.+)+)+)+$','399UqqwgU','663486LMJDbF','101485xTjivK','116040IrzKhF','info','533162FysyUD','constructor','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','auth','8HzRCsy','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?'];a132c=function(){return k;};return a132c();}import a132f from'../kit.js';const MuiGen=Generator['create']({'name':a132i(0x158),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','resourceNameRequired':![],'shortDesc':a132i(0x162),'validOpts':[''],'isPro':!![],'examples':[a132i(0x174)]},async function(){const j=a132i;try{Log[j(0x16b)](j(0x16e)),Log[j(0x15d)]('\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');const a=await Actions[j(0x164)]({'message':j(0x171),'name':j(0x157),'choices':[{'name':j(0x163),'value':j(0x15e)},{'name':j(0x172),'value':j(0x16f)}]}),b=this['fsi'][j(0x159)](),c=this[j(0x165)][j(0x175)]();a['includes']('frame')&&await a132e[j(0x17a)](j(0x160),[],{'force':!![],'cwd':b,'config':c});a[j(0x173)](j(0x16f))&&await a132e[j(0x17a)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[j(0x16b)](j(0x15c));return;}}catch(d){Log['error'](d),process[j(0x179)](0x1);}},async function(){},a132f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133r=a133d;(function(a,b){const p=a133d,c=a();while(!![]){try{const d
|
|
1
|
+
const a133r=a133d;(function(a,b){const p=a133d,c=a();while(!![]){try{const d=parseInt(p(0x1ec))/0x1+parseInt(p(0x1f7))/0x2*(-parseInt(p(0x1f1))/0x3)+parseInt(p(0x205))/0x4+parseInt(p(0x201))/0x5*(parseInt(p(0x1fd))/0x6)+-parseInt(p(0x1f2))/0x7*(-parseInt(p(0x222))/0x8)+parseInt(p(0x204))/0x9*(parseInt(p(0x21f))/0xa)+-parseInt(p(0x203))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x3a528));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 q=a133d;return a133a[q(0x206)]()[q(0x20c)](q(0x21c))[q(0x206)]()['constructor'](a133a)[q(0x20c)](q(0x21c));});a133a();import a133e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a133d(a,b);}function a133c(){const t=['113502lTMsHm','14khWDaH','findAppDirectory','.js','features','template/template.css','2PzPZxM','hook/hook.js','installNpmPackage','/imports/ui/layouts','test/test.js','findProjectDirectory','6ZooDXf','includes','create','api','350890oFuqoB','css','10951523vOiaWr','18FCBpPY','668900dxiWqF','toString','test','engines','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','none','template','search','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','checkNpmPackage','resourceName','fileName','Scaffolding\x20for\x20a\x20React\x20Layout.','.css','string','injectAtBeginningOfFile','.app-tests.js','ramda','component/component.js','assign','maka\x20g:layout\x20mobile/iPhone8','injectTemplateModule','dir','(((.+)+)+)+$','className','warn','1763740YwnCPQ','split','setTemplate','1571896xFUjUV','withHook','289190JFrWGf','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','react','ssr','withTranslations'];a133c=function(){return t;};return a133c();}import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator[a133r(0x1ff)]({'name':'layout','aliases':aliases,'usage':a133r(0x20d),'shortDesc':a133r(0x211),'validOpts':[a133r(0x1eb)],'mustBeInMakaProject':!![],'examples':[a133r(0x219),'maka\x20g:l\x20web/safari']},async function(a,b){const s=a133r,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=s(0x1fa),i=d[s(0x1f3)](),j=g['pathFromApp']({'pathParts':[h,b[s(0x21b)],kebabCase(b['resourceName']),kebabCase(b['resourceName'])]});typeof c[s(0x20b)][s(0x207)]==='string'&&e[s(0x221)](s(0x207),c[s(0x20b)][s(0x207)]);typeof c[s(0x20b)][s(0x202)]===s(0x213)&&e[s(0x221)]('css',c['template'][s(0x202)]);typeof c[s(0x20b)]['js']===s(0x213)&&e[s(0x221)]('js',c['template']['js']);const k=b['_']?b['_'][0x0][s(0x220)](':')[0x1]:![],l=b['_']&&aliases[s(0x1fe)](k);l&&!f[s(0x20e)](s(0x216))&&(Log['warn'](s(0x209)),f[s(0x1f9)]('ramda',{'cwd':i}));if(l&&!f[s(0x20e)](s(0x1ee))){Log[s(0x21e)](s(0x1ed));return;}const m={'name':pascalCase(b[s(0x20f)]),'myPath':a133e['relative'](d[s(0x1fc)](),j),'cssCaseName':kebabCase(b[s(0x20f)]),'className':pascalCase(b[s(0x20f)]),'camelCaseName':camelCase(b['resourceName']),'fileName':kebabCase(b['resourceName']),'graphql':c[s(0x208)]['graphql'],'features':c[s(0x1f5)],'client':c[s(0x208)]['client'],'api':c[s(0x208)][s(0x200)],'ssr':c[s(0x208)][s(0x1ef)],'test':c[s(0x208)][s(0x207)],'theme':c[s(0x208)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':c['features'][s(0x1f0)]};c[s(0x1f5)]?.['withHooks']||b['withHook']?await g['template']({'srcPath':s(0x1f8),'destPath':j+s(0x1f4),'framework':s(0x1ee),'context':m,'config':c}):await g[s(0x20b)]({'srcPath':s(0x217),'destPath':j+s(0x1f4),'framework':s(0x1ee),'context':m,'config':c});c[s(0x208)][s(0x207)]!==s(0x20a)&&await g['template']({'srcPath':s(0x1fb),'destPath':j+s(0x215),'framework':s(0x1ee),'context':m,'config':c});c[s(0x20b)][s(0x202)]&&(await g[s(0x20b)]({'srcPath':s(0x1f6),'destPath':j+s(0x212),'context':Object[s(0x218)]({},m,{'className':kebabCase(b[s(0x20f)])}),'config':c}),await g[s(0x214)]({'filePath':j+'.'+c[s(0x208)]['js'],'content':'import\x20\x27./'+m[s(0x210)]+'.'+c[s(0x208)][s(0x202)]+'\x27;'}));const n=b[s(0x21b)]?'/'+b['dir']+'/':'/',o=''+h+n+m[s(0x210)]+'/'+m[s(0x210)];await g[s(0x21a)](m[s(0x21d)],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(0x178))/0x1*(parseInt(f(0x17d))/0x2)+parseInt(f(0x174))/0x3*(parseInt(f(0x173))/0x4)+parseInt(f(0x17c))/0x5+-parseInt(f(0x187))/0x6+-parseInt(f(0x176))/0x7*(parseInt(f(0x185))/0x8)+-parseInt(f(0x17b))/0x9*(-parseInt(f(0x181))/0xa)+-parseInt(f(0x17f))/0xb*(parseInt(f(0x17a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x1edf6));function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x172;let f=c[d];return f;},a134d(a,b);}const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a134d;if(c){const e=c[g(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const h=a134d;return a134a[h(0x183)]()[h(0x182)](h(0x17e))[h(0x183)]()['constructor'](a134a)[h(0x182)](h(0x17e));});a134a();import{Generator}from'../generator.js';function a134c(){const j=['11OkxUHc','maka\x20g:route\x20todos/edit','560njtcDT','search','toString','apply','16AabCsR','maka\x20generate:scaffold\x20todos','293706ERczUD','maka\x20g:template\x20todos/todo_item','756488YVmVHL','3gebolX','maka\x20g:api\x20trucks','426874IZUHLu','maka\x20g:scaffold\x20todos','127wCdbSu','maka\x20g:package\x20package:name','5126772PBlQUd','31482ZRLpGy','531455GNbmUn','3674WWGtmW','(((.+)+)+)+$'];a134c=function(){return j;};return a134c();}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a134i(0x186),a134i(0x177),a134i(0x172),a134i(0x179),a134i(0x180),a134i(0x175),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},async function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a135m=a135d;(function(a,b){const k=a135d,c=a();while(!![]){try{const d=parseInt(k(0x106))/0x1+parseInt(k(0x120))/0x2+parseInt(k(0x114))/0x3*(-parseInt(k(0x10b))/0x4)+parseInt(k(0x10c))/0x5*(-parseInt(k(0x109))/0x6)+-parseInt(k(0x111))/0x7+parseInt(k(0x11a))/0x8+parseInt(k(0x103))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x8f623));function a135c(){const o=['template','engines','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','42584FGNCJP','-rpc-method.','injectAtEndOfFile','scaffold','methods','pkg','423608EVOfUW','-rpc-method\x27;','resourceName','startup','mdg:validated-method','error','method','19845684DTWVsn','ddp-rate-limiter','dir','869169BWFDzr','maka\x20g:method\x20todos','method/method.js','5286CxVawl','pathFromApp','7408vgYBOA','6355bTnvnY','search','toString','imports','(((.+)+)+)+$','7382550tZrjlK','maka:check','appPathPrefix','858nZkZcZ','maka\x20{generate,\x20g}:{method,\x20m}\x20name','index.'];a135c=function(){return o;};return a135c();}function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x100;let f=c[d];return f;},a135d(a,b);}const a135b=(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;};}()),a135a=a135b(this,function(){const l=a135d;return a135a[l(0x10e)]()['search'](l(0x110))[l(0x10e)]()['constructor'](a135a)[l(0x10d)](l(0x110));});a135a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':a135m(0x102),'aliases':['m'],'usage':a135m(0x115),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a135m(0x119),'validOpts':[a135m(0x105)],'examples':[a135m(0x107)]},async function(a,b){const n=a135m;try{const c=this['projectConfig'],d=b['dir']?'/'+b[n(0x105)]+'/':'/',f=kebabCase(b[n(0x122)]),g={'name':b[n(0x122)],'fileName':f,'className':pascalCase(b[n(0x122)]),'camelCase':camelCase(b[n(0x122)]),'noRename':!![]};let h='js';c['engines']['js']==='tsx'&&(h='ts');await this[n(0x11f)]['checkMeteorPackage']([n(0x112),n(0x104),n(0x100)],{'shouldInstall':!![]}),await this[n(0x11d)][n(0x117)]({'srcPath':n(0x108),'destPath':this[n(0x11d)][n(0x10a)]({'pathParts':[n(0x10f),n(0x123),b[n(0x113)],n(0x11e),d,f+n(0x11b)+h]}),'context':g,'config':c});const i=this[n(0x11d)]['pathFromApp']({'pathParts':[n(0x10f),n(0x123),b['appPathPrefix'],n(0x116)+c[n(0x118)]['js']]});await this[n(0x11d)][n(0x11c)]({'filePath':i,'content':'import\x20\x27./methods'+d+f+n(0x121)});}catch(j){Log[n(0x101)](j);}});
|