@maka/maka-cli 5.0.29 → 5.0.30
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.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/api/apollo-gateway.js +2 -0
- package/bundle/obf/src/templates/meteor/api/apollo-gateway.js.ts +3 -1
- package/bundle/obf/src/templates/meteor/api/graphql-api.js +2 -0
- package/bundle/obf/src/templates/meteor/api/graphql-api.js.ts +2 -0
- 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
|
-
(function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(0x12c))/0x1*(-parseInt(f(0x12b))/0x2)+-parseInt(f(0x125))/0x3*(-parseInt(f(0x126))/0x4)+-parseInt(f(0x12e))/0x5*(-parseInt(f(0x12f))/0x6)+-parseInt(f(0x129))/0x7+parseInt(f(0x12d))/0x8*(parseInt(f(0x124))/0x9)+parseInt(f(0x132))/0xa+-parseInt(f(0x12a))/0xb*(parseInt(f(0x127))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x74ea3));var a117b=(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;};}()),a117a=a117b(this,function(){var g=a117d;return a117a['toString']()[g(0x131)]('(((.+)+)+)+$')[g(0x130)]()[g(0x128)](a117a)[g(0x131)]('(((.+)+)+)+$');});function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x124;var f=c[d];return f;},a117d(a,b);}function a117c(){var h=['922767HCPZbC','8vIHEMo','1200660xYPaYv','constructor','2573249xgtwmK','132RGDfQO','10NMtDuE','93809dGBLVr','16SpDfuS','1055PVjawR','11652ALMfEO','toString','search','5038510giVDCZ','221913lAqXMz'];a117c=function(){return h;};return a117c();}a117a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x117))/0x1+-parseInt(f(0x110))/0x2+-parseInt(f(0x116))/0x3*(-parseInt(f(0x113))/0x4)+parseInt(f(0x118))/0x5+-parseInt(f(0x115))/0x6+-parseInt(f(0x111))/0x7+parseInt(f(0x10e))/0x8*(parseInt(f(0x10d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x1e80b));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x114)]()[h(0x112)](h(0x119))[h(0x114)]()['constructor'](a118a)[h(0x112)](h(0x119));});function a118c(){var i=['toString','1171704cWQYvo','15858zOCwHL','38572EMWkHm','95030VvCgDI','(((.+)+)+)+$','5858901EUkxXp','8OVICmL','apply','451840zcrRvY','929978igOOOm','search','36xrlPnU'];a118c=function(){return i;};return a118c();}a118a();function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x10d;var f=c[d];return f;},a118d(a,b);}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=-parseInt(f(0xd1))/0x1*(-parseInt(f(0xdc))/0x2)+-parseInt(f(0xde))/0x3*(-parseInt(f(0xd3))/0x4)+parseInt(f(0xd7))/0x5+parseInt(f(0xce))/0x6*(parseInt(f(0xda))/0x7)+parseInt(f(0xd4))/0x8+parseInt(f(0xcc))/0x9+-parseInt(f(0xd9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xa675a));function a119c(){const k=['38345010LEOxWu','119gZHITG','constructor','7690kcKwDs','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','152667LZidfY','(((.+)+)+)+$','7114743yYuuEz','search','199914cwnELN','maka\x20g:kit:a','apply','14FTPaNQ','auth','96ubDlDO','6357008mEsbCQ','toString','NIE','5447885vWcJkK','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'];a119c=function(){return k;};return a119c();}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0xd5)]()[h(0xcd)]('(((.+)+)+)+$')['toString']()[h(0xdb)](a119a)[h(0xcd)](h(0xdf));});a119a();function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xcc;let f=c[d];return f;},a119d(a,b);}import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator['create']({'name':a119i(0xd2),'aliases':['a'],'usage':a119i(0xdd),'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a119i(0xcf)],'description':a119i(0xd8)},async function(){const j=a119i;throw j(0xd6);},async function(){},a119e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120v=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d
|
|
1
|
+
const a120v=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d=-parseInt(s(0x120))/0x1+-parseInt(s(0x149))/0x2*(-parseInt(s(0x157))/0x3)+parseInt(s(0x143))/0x4+-parseInt(s(0x122))/0x5*(-parseInt(s(0x13e))/0x6)+-parseInt(s(0x152))/0x7+parseInt(s(0x150))/0x8+-parseInt(s(0x128))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x42aa4));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a120d;if(c){const e=c[t(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const u=a120d;return a120a[u(0x129)]()[u(0x141)](u(0x13a))[u(0x129)]()['constructor'](a120a)['search'](u(0x13a));});function a120c(){const x=['authentication-provider','Meteor.startup','239818LdJQvL','normalize','10DSAmNY','pathFromApp','const\x20resetPasswordWithToken','injectIntoFile','injectIntoCodeBlock','publish','948528PIyfuj','toString','\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','\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','kit/auth/service/meteor-auth-service.js','REACT','apply','findProjectDirectory','const\x20authenticateToken','const\x20sendForgotPasswordEmail','\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','error','.js','meteor','server','meteor/meteor','ssr','Meteor','(((.+)+)+)+$','const\x20deauthenticateUser','index','\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','208110qhHMtL','authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','search','\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','1749184jNrxrI','AuthService','engines','meteor/maka:react-tracker','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','meteor/accounts-base','36JhWnXC','react','/imports/startup/client/authentication-service','const\x20getUserAuthorizations','findAppDirectory','exit','export\x20const\x20AuthProvider','1476152nZSyfE','kit:auth:provider','2860431ZuzJQz','injectImport','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','accounts-password','create','55953QWwjfP','/imports/startup/server/publications/auth/roles.js','/imports/startup/client','imports','template','/imports/startup/lib','Meteor.publish','checkMeteorPackage','\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','processAndRunGenerator'];a120c=function(){return x;};return a120c();}a120a();import a120e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120f from'./auth.generator.js';import a120g from'../../../generators/maka.gen.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x11d;let f=c[d];return f;},a120d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120v(0x156)]({'name':a120v(0x135),'aliases':['m'],'usage':a120v(0x154),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':['force'],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a120v(0x12d)]},'description':a120v(0x142)},async function(a,b){const w=a120v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b['force']||![];await d[w(0x15e)]([w(0x155)],{'shouldInstall':!![]});const i=c[w(0x12f)](),j=c[w(0x14d)](),k=g['engines'][w(0x138)]===w(0x135);await a120g[w(0x11d)](w(0x151),[],{'force':h,'cwd':i,'config':g}),await a120g[w(0x11d)](w(0x127),['auth/roles'],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e[w(0x121)](w(0x158)),m=k?w(0x15c):w(0x159),n=f[w(0x123)]({'pathParts':[m,'','',w(0x13f)]});await f[w(0x15b)]({'srcPath':w(0x12c),'destPath':n+w(0x134),'framework':w(0x14a),'context':{},'config':g,'force':h,'ignore':![]});const o=f['pathFromApp']({'pathParts':[m,'','',w(0x11e)]}),p=g[w(0x145)]['js'];await f[w(0x153)]({'filePath':o+'.'+p,'importName':w(0x144),'modulePath':k?'/imports/startup/lib/authentication-service':w(0x14b),'isNamedExport':![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x15f),'begin':'const\x20authenticateUser','replace':!![]}),await f[w(0x126)]({'filePath':o+'.'+p,'content':w(0x13d),'begin':w(0x130),'replace':!![]}),await f[w(0x126)]({'filePath':o+'.'+p,'content':w(0x12b),'begin':w(0x14c),'replace':!![]}),await f[w(0x126)]({'filePath':o+'.'+p,'content':w(0x140),'begin':w(0x13b),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x131),'replace':!![]}),await f[w(0x126)]({'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[w(0x126)]({'filePath':o+'.'+p,'content':w(0x147),'begin':w(0x124),'replace':!![]});k&&(await f[w(0x153)]({'filePath':o+'.'+p,'importName':'useTracker','modulePath':w(0x146),'isNamedExport':!![]}),await f[w(0x125)]({'filePath':o+'.'+p,'content':'\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','begin':w(0x14f),'end':'useEffect\x5c('}));await f[w(0x153)]({'filePath':l,'importName':w(0x139),'modulePath':w(0x137),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x126)]({'filePath':l,'content':w(0x132),'begin':w(0x15d),'replace':!![]});const q=f[w(0x123)]({'pathParts':[w(0x15a),'startup',w(0x136),w(0x13c)]});await f[w(0x153)]({'filePath':q+'.'+p,'importName':'Accounts','modulePath':w(0x148),'isNamedExport':!![]}),await f[w(0x126)]({'filePath':q+'.'+p,'content':w(0x12a),'begin':w(0x11f),'replace':!![]});}catch(r){Log[w(0x133)](r),process[w(0x14e)](0x1);}},async function(){},a120f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a121w=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=parseInt(u(0x1c4))/0x1+parseInt(u(0x1cc))/0x2+parseInt(u(0x1c5))/0x3+parseInt(u(0x1e2))/0x4+parseInt(u(0x1e4))/0x5*(-parseInt(u(0x1d1))/0x6)+parseInt(u(0x1dc))/0x7+-parseInt(u(0x1e6))/0x8*(parseInt(u(0x1de))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xc8ecc));function a121c(){const y=['engines','const\x20useAuth','</AuthProvider>','2868780qmJzRP','\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','20RLBvcV','create','24741048wgWlKL','meteor','error','bright','injectAroundString','kit/auth/provider/authentication-provider.js','<AppRoutes\x20history={history}/>','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','REACT','\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','/imports/startup/client/authentication-provider','ssr','useContext','pathFromApp','function\x20useAuth','search','1509366dFUmIL','3759204uTYyiq','AuthContext','authentication-provider','AuthProvider','/imports/startup/lib/authentication-provider','scaffold','<AuthProvider>','3044526WkJNKn','/imports/startup/lib','/imports/startup/server/index','/imports/startup/client/index','provider','1665252iJiuNO','(((.+)+)+)+$','exit','injectIntoCodeBlock','/routes','split','react','.js','force','<AppRoutes\x20/>','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','167265pJdOwk','injectImport','9kVAsJa'];a121c=function(){return y;};return a121c();}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const v=a121d;return a121a['toString']()[v(0x1c3)](v(0x1d2))['toString']()['constructor'](a121a)[v(0x1c3)](v(0x1d2));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{capitalCase}from'change-case';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a121d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121w(0x1e5)]({'name':a121w(0x1d0),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a121w(0x1bb),'validOpts':[a121w(0x1d9)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a121w(0x1bc)]},'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=a121w;try{const c=b[x(0x1d9)]||![];Log[x(0x1e9)](x(0x1db));const {projectConfig:d}=this,f=d[x(0x1df)][x(0x1bf)]===x(0x1e7),g={'name':capitalCase(d['appName'])},h=f?x(0x1cd):'/imports/startup/client',i=this[x(0x1ca)][x(0x1c1)]({'pathParts':[h,'','',x(0x1c7)]});await this[x(0x1ca)]['template']({'srcPath':x(0x1b9),'destPath':i+x(0x1d8),'framework':x(0x1d7),'context':g,'config':d,'force':c,'ignore':![]});const j=d[x(0x1df)]['js'],k=h+x(0x1d5),l=k[x(0x1d6)]('/'),m=this[x(0x1ca)][x(0x1c1)]({'pathParts':l});await this[x(0x1ca)][x(0x1dd)]({'filePath':m+'.'+j,'importName':x(0x1c6),'modulePath':f?x(0x1c9):x(0x1be),'isNamedExport':!![]}),await this[x(0x1ca)][x(0x1dd)]({'filePath':m+'.'+j,'importName':x(0x1c0),'modulePath':x(0x1d7),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x1ca)][x(0x1d4)]({'filePath':m+'.'+j,'content':x(0x1e3),'begin':[x(0x1e0),x(0x1c2)],'replace':!![]}),await this[x(0x1ca)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':x(0x1bd),'begin':['const\x20PrivateRoute'],'replace':!![]});const n=x(0x1cf),o=n['split']('/'),p=this[x(0x1ca)][x(0x1c1)]({'pathParts':o});await this[x(0x1ca)][x(0x1dd)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':x(0x1be),'isNamedExport':!![]}),await this[x(0x1ca)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':x(0x1cb),'belowContent':'</AuthProvider>','targetString':x(0x1da),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x1ce),r=q[x(0x1d6)]('/'),s=this[x(0x1ca)][x(0x1c1)]({'pathParts':r});await this['scaffold']['injectImport']({'filePath':s+'.'+j,'importName':x(0x1c8),'modulePath':f?x(0x1c9):x(0x1be),'isNamedExport':!![]}),await this[x(0x1ca)][x(0x1ea)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0x1e1),'targetString':x(0x1ba),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0x1e8)](t),process[x(0x1d3)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a122d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x10e))/0x1+parseInt(f(0x112))/0x2*(-parseInt(f(0x116))/0x3)+parseInt(f(0x110))/0x4*(-parseInt(f(0x118))/0x5)+-parseInt(f(0x111))/0x6+parseInt(f(0x10b))/0x7*(parseInt(f(0x115))/0x8)+-parseInt(f(0x109))/0x9*(-parseInt(f(0x10f))/0xa)+parseInt(f(0x10a))/0xb*(parseInt(f(0x113))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x83772));function a122c(){var h=['79389OhGpZv','toString','620qemBxt','9186084PGUETp','5859403ZxdDwB','6884633NMvgFs','constructor','search','818879ipsAFV','10aCJYUv','23792gOrfuW','1401984MfnvMz','56osOOCo','24hwOBit','(((.+)+)+)+$','8ulXXkS'];a122c=function(){return h;};return a122c();}function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x109;var f=c[d];return f;},a122d(a,b);}var a122b=(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;};}()),a122a=a122b(this,function(){var g=a122d;return a122a[g(0x117)]()[g(0x10d)](g(0x114))['toString']()[g(0x10c)](a122a)[g(0x10d)]('(((.+)+)+)+$');});a122a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a123c(){const
|
|
1
|
+
const a123i=a123d;function a123c(){const k=['4338950sHKhnN','275976BdPxKU','256vOBEGg','toString','search','Esri\x20Kit\x20generated\x20successfully','constructor','(((.+)+)+)+$','646360iRLmFn','31032vtdlWN','27490BKfeOh','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','create','3179qWSIoA','16DrasPR','2343858VdnbJo','apply','esri','3437064rgzTaJ','6XKsFzh','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','/foo'];a123c=function(){return k;};return a123c();}(function(a,b){const f=a123d,c=a();while(!![]){try{const d=-parseInt(f(0x15c))/0x1*(-parseInt(f(0x158))/0x2)+parseInt(f(0x164))/0x3*(parseInt(f(0x15d))/0x4)+parseInt(f(0x163))/0x5+-parseInt(f(0x16a))/0x6+-parseInt(f(0x15b))/0x7+-parseInt(f(0x169))/0x8*(parseInt(f(0x16d))/0x9)+-parseInt(f(0x165))/0xa*(-parseInt(f(0x168))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x9c1a0));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0x15e)]()[h(0x15f)](h(0x162))[h(0x15e)]()[h(0x161)](a123a)[h(0x15f)](h(0x162));});a123a();function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x158;let f=c[d];return f;},a123d(a,b);}import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator[a123i(0x167)]({'name':a123i(0x16c),'aliases':['e'],'usage':a123i(0x159),'shortDesc':a123i(0x166),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a123i;return{'success':!![],'message':j(0x160),'details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0x15a)]}};},async function(){},a123e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124v=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d
|
|
1
|
+
function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x15e;let f=c[d];return f;},a124d(a,b);}const a124v=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=-parseInt(s(0x16c))/0x1+parseInt(s(0x167))/0x2*(-parseInt(s(0x184))/0x3)+-parseInt(s(0x16e))/0x4*(parseInt(s(0x17f))/0x5)+-parseInt(s(0x170))/0x6+parseInt(s(0x164))/0x7*(parseInt(s(0x173))/0x8)+-parseInt(s(0x160))/0x9*(-parseInt(s(0x165))/0xa)+parseInt(s(0x166))/0xb*(parseInt(s(0x183))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xf1759));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a124d;if(c){const e=c[t(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const u=a124d;return a124a['toString']()[u(0x171)](u(0x185))[u(0x15f)]()['constructor'](a124a)[u(0x171)](u(0x185));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124v(0x18a)]({'name':a124v(0x188),'aliases':['m'],'usage':a124v(0x172),'shortDesc':a124v(0x175),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124v(0x182)],'ssr':SsrEngines[a124v(0x17b)]},'description':a124v(0x169)},async function(a,b){const w=a124v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x16d)](w(0x16f));const h=w(0x17d);await f['checkNpmPackage'](['@esri/react-arcgis','esri-loader'],{'shouldInstall':!![]});const i=d[w(0x17e)](),j=c['engines']['ssr']===w(0x17a),k=await a124f[w(0x186)]('page',[w(0x188)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x176)])[w(0x180)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x174)]?w(0x163)+b['baseDir']:'/imports/ui/hooks',n=g['pathFromApp']({'pathParts':[m,b[w(0x16a)],kebabCase(h),kebabCase(h)]});await g[w(0x15e)]({'srcPath':w(0x16b)+h+w(0x161),'destPath':n+w(0x161),'framework':'react','context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b['dir']+'/'+h+'/'+h;await g[w(0x162)](h,c,o);const p=k[w(0x178)]('/'),q=g['pathFromApp']({'pathParts':p});await g[w(0x177)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x179):w(0x17c),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x181),'begin':['<div\x20id=\x22map\x22>',w(0x187)],'end':[w(0x189)],'replace':!![]});}catch(r){Log['error'](r),process['exit'](0x1);}},async function(){},a124e);function a124c(){const x=['264888rceypg','bright','175988uaBEeG','Generating\x20a\x20map\x20component','10548870KqnCgr','search','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','10306936KufQEm','baseDir','Generate\x20an\x20Esri\x20map\x20component','appName','injectImport','split','/imports/startup/lib/templates','meteor','NONE','/imports/startup/client/templates','basic-map','findProjectDirectory','135qSnbzQ','replaceAll','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','REACT','1388304DOEoJT','2329941ruuGpL','(((.+)+)+)+$','processAndRunGenerator','<div\x20id=\x22map\x22>','map','</div>','create','template','toString','168741KUTfiv','.js','injectTemplateModule','/imports/ui/','7TwBzOg','160tsGDHd','396shxlZF','4mTGADt','apply','\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','dir','kit/esri/map/'];a124c=function(){return x;};return a124c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a125d(a,b);}function a125c(){const j=['18pcRGCY','constructor','3502071EzCeJN','2060130Dmqodl','maka\x20g:kit','maka\x20g:k','2gIpvRH','create','55zOkbZN','1671pmBfOp','1131648HlqHWa','19744ZkCZKl','1866830uWaXJV','toString','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','search','kit','apply','5312kPGvdL','1747333VonkCx','(((.+)+)+)+$'];a125c=function(){return j;};return a125c();}const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=-parseInt(f(0x1f6))/0x1*(parseInt(f(0x1f1))/0x2)+-parseInt(f(0x1f4))/0x3*(-parseInt(f(0x1fd))/0x4)+parseInt(f(0x203))/0x5+parseInt(f(0x200))/0x6*(parseInt(f(0x1fe))/0x7)+-parseInt(f(0x1f5))/0x8+-parseInt(f(0x202))/0x9+-parseInt(f(0x1f7))/0xa*(parseInt(f(0x1f3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x65c4d));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0x1fc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0x1f8)]()['search']('(((.+)+)+)+$')[h(0x1f8)]()[h(0x201)](a125a)[h(0x1fa)](h(0x1ff));});a125a();import{Generator}from'../../generator.js';const KitGen=Generator[a125i(0x1f2)]({'name':a125i(0x1fb),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a125i(0x1f9),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a125i(0x1ef),a125i(0x1f0)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(0x16c))/0x1+-parseInt(f(0x173))/0x2+-parseInt(f(0x167))/0x3+parseInt(f(0x168))/0x4*(-parseInt(f(0x16b))/0x5)+-parseInt(f(0x16a))/0x6*(-parseInt(f(0x171))/0x7)+-parseInt(f(0x172))/0x8*(parseInt(f(0x16e))/0x9)+parseInt(f(0x16d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x6c83c));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a['toString']()[h(0x16f)](h(0x174))[h(0x170)]()[h(0x169)](a126a)[h(0x16f)]('(((.+)+)+)+$');});function a126c(){var i=['499384MDGuya','111224CjozRo','(((.+)+)+)+$','apply','1760091dcLCII','4moemDz','constructor','240204CWPXyo','4088965tErLyb','588310skOahT','16745630HlXbuz','9fHaAXi','search','toString','154vADZab'];a126c=function(){return i;};return a126c();}a126a();function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x167;var f=c[d];return f;},a126d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127K=a127d;(function(a,b){const I=a127d,c=a();while(!![]){try{const d=parseInt(I(0x102))/0x1+-parseInt(I(0xe3))/0x2+parseInt(I(0xf4))/0x3*(parseInt(I(0xde))/0x4)+parseInt(I(0xfc))/0x5+parseInt(I(0x100))/0x6+parseInt(I(0x109))/0x7+-parseInt(I(0xe5))/0x8*(parseInt(I(0xff))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x8d27d));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 J=a127d;return a127a[J(0x101)]()[J(0x10e)](J(0x113))['toString']()[J(0xe9)](a127a)[J(0x10e)](J(0x113));});function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xda;let f=c[d];return f;},a127d(a,b);}a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a127c(){const N=['Cleaning\x20up...','Custom\x20(roll\x20your\x20own)','appName','template','1975148mtNvyo','meteor','custom','logout','findProjectDirectory','search','log','AuthContext','/imports/startup/client/authentication-provider','login','(((.+)+)+)+$','pathFromApp','kit/mui/auth/password-reset/','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','basic-login-page','select','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','force','maka\x20g:k:m:a','authType','basic-password-reset-page','6572DIvJEe','baseDir','REACT','basic-forgot-password-page','create','1194606vihoeh','Meteor\x20Accounts','4964008yAFEtT','register','processAndRunGenerator','kit:auth:meteor','constructor','react','dir','kit/mui/auth/register/','kit/mui/auth/forgot-password/','maka\x20generate:kit:mui:auth','basic-logout-page','injectImport','layouts','injectTemplateModule','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','276VxDycH','engines','auth','route','kit/mui/auth/login/','split','MATERIAL','.js','91765NeLrjN','error','/imports/startup/lib/authentication-provider','9aygOSR','4061016jZXuZS','toString','667468gbVPCq','ssr','kit:auth:provider'];a127c=function(){return N;};return a127c();}import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';import a127f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127K(0xe2)]({'name':a127K(0xf6),'aliases':['a'],'usage':a127K(0xf3),'shortDesc':a127K(0x116),'validOpts':[a127K(0xf1),a127K(0xda)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127K(0xfa)],'client':ClientEngines[a127K(0xe0)]},'examples':[a127K(0xee),a127K(0xdb)],'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 L=a127K;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[L(0xda)]||![],h=d[L(0x10d)](),i=await Actions[L(0x118)]({'name':L(0xdc),'message':L(0x119),'choices':[{'name':L(0xe4),'value':'meteor'},{'name':L(0x106),'value':L(0x10b)}]}),j=L(0x117),k=L(0xef),l='basic-register-page',m=L(0xdd),n='basic-forgot-password-page',o=b[L(0xdf)]?'/imports/ui/'+b[L(0xdf)]:'/imports/ui/pages/auth',p=f[L(0x114)]({'pathParts':[o,b[L(0xeb)],kebabCase(j),kebabCase(j)]}),q=f[L(0x114)]({'pathParts':[o,b[L(0xeb)],kebabCase(k),kebabCase(k)]}),r=f[L(0x114)]({'pathParts':[o,b['dir'],kebabCase(l),kebabCase(l)]}),s=f[L(0x114)]({'pathParts':[o,b['dir'],kebabCase(m),kebabCase(m)]}),t=f['pathFromApp']({'pathParts':[o,b['dir'],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[L(0x107)])};await f[L(0x108)]({'srcPath':L(0xf8)+j+L(0xfb),'destPath':p+L(0xfb),'framework':L(0xea),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x108)]({'srcPath':'kit/mui/auth/logout/'+k+'.js','destPath':q+L(0xfb),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x108)]({'srcPath':L(0xec)+l+L(0xfb),'destPath':r+L(0xfb),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x108)]({'srcPath':L(0x115)+m+L(0xfb),'destPath':s+L(0xfb),'framework':L(0xea),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x108)]({'srcPath':L(0xed)+n+L(0xfb),'destPath':t+L(0xfb),'framework':L(0xea),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[L(0xeb)]+'/'+j+'/'+j;await f[L(0xf2)](j,c,v);const w=''+o+b[L(0xeb)]+'/'+k+'/'+k;await f[L(0xf2)](k,c,w);const x=''+o+b[L(0xeb)]+'/'+l+'/'+l;await f[L(0xf2)](l,c,x);const y=''+o+b[L(0xeb)]+'/'+m+'/'+m;await f[L(0xf2)](m,c,y);const z=''+o+b[L(0xeb)]+'/'+n+'/'+n;await f[L(0xf2)](n,c,z),await a127e[L(0xe7)]('route',[L(0x117)],{'route':L(0x112),'cwd':h,'config':c}),await a127e['processAndRunGenerator'](L(0xf7),[L(0xef)],{'route':L(0x10c),'private':!![],'cwd':h,'config':c}),await a127e[L(0xe7)](L(0xf7),['basic-register-page'],{'route':L(0xe6),'cwd':h,'config':c}),await a127e[L(0xe7)]('route',[L(0xdd)],{'route':'reset-password/:token','cwd':h,'config':c}),await a127e['processAndRunGenerator'](L(0xf7),[L(0xe1)],{'route':'forgot-password','cwd':h,'config':c});i==='meteor'&&await a127e[L(0xe7)](L(0xe8),[],{'force':g,'cwd':h,'config':c});i==='custom'&&await a127e[L(0xe7)](L(0x104),[],{'force':g,'cwd':h,'config':c});const A=c[L(0xf5)][L(0x103)]===L(0x10a),B=c['engines']['js'],C=f[L(0x114)]({'pathParts':v['split']('/')});await f['injectImport']({'filePath':C+'.'+B,'importName':L(0x110),'modulePath':A?'/imports/startup/lib/authentication-provider':L(0x111),'isNamedExport':!![]});const D=f[L(0x114)]({'pathParts':w['split']('/')});await f[L(0xf0)]({'filePath':D+'.'+B,'importName':L(0x110),'modulePath':A?L(0xfe):L(0x111),'isNamedExport':!![]});const E=f['pathFromApp']({'pathParts':x[L(0xf9)]('/')});await f[L(0xf0)]({'filePath':E+'.'+B,'importName':L(0x110),'modulePath':A?L(0xfe):L(0x111),'isNamedExport':!![]});const F=f[L(0x114)]({'pathParts':y[L(0xf9)]('/')});await f[L(0xf0)]({'filePath':F+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':L(0x111),'isNamedExport':!![]});const G=f[L(0x114)]({'pathParts':z[L(0xf9)]('/')});await f[L(0xf0)]({'filePath':G+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':L(0x111),'isNamedExport':!![]});}catch(H){Log[L(0xfd)](H),process['exit'](0x1);}},async function(){const M=a127K;console[M(0x10f)](M(0x105));},a127f);export default a127f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a128G=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d=parseInt(E(0xcb))/0x1+-parseInt(E(0xc4))/0x2*(-parseInt(E(0xf0))/0x3)+-parseInt(E(0xd2))/0x4*(parseInt(E(0xbf))/0x5)+parseInt(E(0xc0))/0x6*(parseInt(E(0xc2))/0x7)+parseInt(E(0xb5))/0x8*(parseInt(E(0xaf))/0x9)+-parseInt(E(0xb4))/0xa*(-parseInt(E(0xd4))/0xb)+-parseInt(E(0xd8))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x340a3));const a128b=(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;};}()),a128a=a128b(this,function(){const F=a128d;return a128a[F(0xbe)]()[F(0xb6)]('(((.+)+)+)+$')[F(0xbe)]()[F(0xb1)](a128a)[F(0xb6)](F(0xc8));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a128c(){const J=['950CQVGvA','289208yDnclO','search','pathFromApp','.js','join','kit/mui/frame/drawers/','baseDir','/imports/ui/','basic-sticky-footer','toString','383765KSzCWR','35724uOJjcE','error','343KAyzUh','frame','7166uTToiS','dir','app-tests','Container','(((.+)+)+)+$','length','findAppDirectory','418674wtLHso','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','injectTemplateModule','checkMeteorPackage','test','session','</div>','4hjxxHL','maka\x20g:k:m:f','39490UJneVT','jsx','-hook\x22>','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','14520948HAeyTE','injectIntoFile','/imports/ui/components','getFiles','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','injectImport','maka\x20generate:kit:mui:frame','engines','basic-app-bar','tsx','<Outlet/>','template','checkbox','layouts','basic-drawer','appName','<div\x20id=\x22','Box','kit/mui/frame/app-bars/','kit/mui/frame/footers/','@mui/material/Container','ssr','<Outlet\x20/>','Cleaning\x20up...','315ePKDUH','/imports/startup/client/templates','REACT','maka:react-tracker','/imports/startup/lib/templates','18mTvUCM','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','constructor','react','MATERIAL'];a128c=function(){return J;};return a128c();}import{Actions}from'../../../tools/actions/actions.class.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xaf;let f=c[d];return f;},a128d(a,b);}import a128e from'path';import a128f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a128G(0xc3),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':a128G(0xd7),'validOpts':[a128G(0xe5),a128G(0xbb),a128G(0xc5),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a128G(0xb3)],'client':ClientEngines[a128G(0xf2)]},'examples':[a128G(0xde),a128G(0xd3)],'description':a128G(0xdc)},async function(a,b){const H=a128G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b['force']||![],i=H(0xe0),j=H(0xe6),k=H(0xbd),l=c[H(0xdf)][H(0xed)]==='meteor';await f[H(0xce)]([H(0xd0),H(0xf3)],{'shouldInstall':!![]});const m=d[H(0xca)](),n=a128e[H(0xb9)](m,'imports','ui',H(0xe5)),o=d['getDirectories'](n),p=o['map'](z=>({'name':z,'value':z})),q=await Actions[H(0xe4)]({'message':H(0xb0),'name':H(0xe5),'choices':p});if(q[H(0xc9)]===0x0){Log[H(0xc1)]('No\x20layouts\x20selected');return;}const r=b[H(0xbb)]?H(0xbc)+b['baseDir']:H(0xda),s=g['pathFromApp']({'pathParts':[r,b[H(0xc5)],kebabCase(i),kebabCase(i)]}),t=g[H(0xb7)]({'pathParts':[r,b[H(0xc5)],kebabCase(j),kebabCase(j)]}),u=g['pathFromApp']({'pathParts':[r,b['dir'],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0xe7)])};await g['template']({'srcPath':H(0xea)+i+H(0xb8),'destPath':s+H(0xb8),'framework':H(0xb2),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0xe3)]({'srcPath':H(0xba)+j+'.js','destPath':t+H(0xb8),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':H(0xeb)+k+H(0xb8),'destPath':u+H(0xb8),'framework':H(0xb2),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[H(0xc5)]+'/'+i+'/'+i;await g[H(0xcd)](i,c,w);const x=''+r+b[H(0xc5)]+'/'+j+'/'+j;await g[H(0xcd)](j,c,x);const y=''+r+b[H(0xc5)]+'/'+k+'/'+k;await g[H(0xcd)](k,c,y);for(const z of q){const A=d[H(0xdb)](a128e[H(0xb9)](n,z),{'extensions':[H(0xd5),H(0xe1)],'omit':[H(0xc6),'tests',H(0xcf)]});for(const B of A){const C=a128e[H(0xb9)](n,z,B);await g['injectImport']({'filePath':C,'importName':H(0xe9),'modulePath':'@mui/material/Box','isNamedExport':![]}),await g[H(0xdd)]({'filePath':C,'importName':H(0xc7),'modulePath':H(0xec),'isNamedExport':![]}),await g[H(0xdd)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0xf4):H(0xf1),'isNamedExport':!![]}),await g[H(0xd9)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':[H(0xe8)+z+'\x22>',H(0xe8)+z+H(0xd6)],'end':[H(0xe2),H(0xee)]}),await g[H(0xdd)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0xf4):H(0xf1),'isNamedExport':!![]}),await g[H(0xd9)]({'filePath':C,'content':'<'+pascalCase(j)+'\x20/>\x0a','begin':[H(0xe8)+z+'\x22>',H(0xe8)+z+H(0xd6)],'end':[H(0xe2),H(0xee)]}),await g[H(0xd9)]({'filePath':C,'content':'<'+pascalCase(k)+'\x20/>\x0a','begin':['<Outlet/>',H(0xee)],'end':[H(0xd1)]}),await g[H(0xdd)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0xf4):H(0xf1),'isNamedExport':!![]}),await g['injectAroundString']({'filePath':C,'aboveContent':'<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>','belowContent':H(0xcc),'targetString':['<Outlet/>',H(0xee)],'targetIndentAdjustment':0x6});}}}catch(D){Log[H(0xc1)](D);}},async function(){const I=a128G;console['log'](I(0xef));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=-parseInt(g(0x1ba))/0x1+parseInt(g(0x1ad))/0x2+parseInt(g(0x1b5))/0x3*(parseInt(g(0x1c8))/0x4)+parseInt(g(0x1c0))/0x5+-parseInt(g(0x1c4))/0x6*(parseInt(g(0x1ac))/0x7)+parseInt(g(0x1b7))/0x8*(-parseInt(g(0x1ae))/0x9)+parseInt(g(0x1bb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x670e6));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0x1ab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a[i(0x1aa)]()['search'](i(0x1c5))[i(0x1aa)]()[i(0x1c2)](a129a)[i(0x1bd)]('(((.+)+)+)+$');});a129a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';function a129c(){const l=['search','create','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','31180UOuhey','kit:mui:auth','constructor','cfg','112314dnEjoA','(((.+)+)+)+$','\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','20WFJsuO','length','kit:mui:frame','kitChoices','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','toString','apply','168XHhVKI','359534hhAaMb','2929779vOqZlS','processAndRunGenerator','mui','info','No\x20MUI\x20kits\x20selected.\x20Exiting.','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','notice','93741glsKQP','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','8BYWaSp','Material-UI\x20Kit','findProjectDirectory','480948KMHeus','13356150mkAwFs','includes'];a129c=function(){return l;};return a129c();}import a129f from'../kit.js';const MuiGen=Generator[a129j(0x1be)]({'name':a129j(0x1b0),'aliases':['m'],'usage':a129j(0x1b6),'resourceNameRequired':![],'shortDesc':a129j(0x1b8),'validOpts':[''],'isPro':!![],'examples':[a129j(0x1c7)]},async function(){const k=a129j;try{Log[k(0x1b1)](k(0x1bf)),Log[k(0x1b4)](k(0x1c6));const a=await Actions['checkbox']({'message':k(0x1a9),'name':k(0x1a8),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':'frame'},{'name':k(0x1b3),'value':'auth'}]}),b=this['fsi'][k(0x1b9)](),c=this[k(0x1c3)]['getMakaProjectConfig']();a[k(0x1bc)]('frame')&&await a129e[k(0x1af)](k(0x1ca),[],{'force':!![],'cwd':b,'config':c});a[k(0x1bc)]('auth')&&await a129e[k(0x1af)](k(0x1c1),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1c9)]===0x0){Log['info'](k(0x1b2));return;}}catch(d){Log['error'](d),process['exit'](0x1);}},async function(){},a129f);function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a129d(a,b);}export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a130c(){const u=['
|
|
1
|
+
const a130s=a130d;(function(a,b){const p=a130d,c=a();while(!![]){try{const d=-parseInt(p(0x118))/0x1*(-parseInt(p(0x117))/0x2)+parseInt(p(0x132))/0x3*(-parseInt(p(0x13a))/0x4)+-parseInt(p(0x14b))/0x5+-parseInt(p(0x136))/0x6+parseInt(p(0x142))/0x7+-parseInt(p(0x144))/0x8+parseInt(p(0x12a))/0x9*(parseInt(p(0x115))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x69abe));function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x114;let f=c[d];return f;},a130d(a,b);}function a130c(){const u=['setTemplate','layout','findProjectDirectory','template','Scaffolding\x20for\x20a\x20React\x20Layout.','63lNvilg','template/template.css','ramda','split','/imports/ui/layouts','ssr','withTranslations','.js','205473fKzSbA','react','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','includes','3268056iUvYFW','resourceName','graphql','dir','36OvAXzI','className','maka\x20g:l\x20web/safari','search','import\x20\x27./','installNpmPackage','test','(((.+)+)+)+$','1827028eBVrkK','withHook','110912zcWjmk','fileName','theme','findAppDirectory','css','features','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','1682335bwlDrD','apply','create','warn','1846990HRwoLk','component/component.js','2CKMEXY','390359BgCWCB','test/test.js','.app-tests.js','none','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','string','checkNpmPackage','pathFromApp','hook/hook.js','engines','api','toString','client'];a130c=function(){return u;};return a130c();}const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a130d;if(c){const e=c[q(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const r=a130d;return a130a[r(0x123)]()[r(0x13d)]('(((.+)+)+)+$')[r(0x123)]()['constructor'](a130a)['search'](r(0x141));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator[a130s(0x14d)]({'name':a130s(0x126),'aliases':aliases,'usage':a130s(0x11c),'shortDesc':a130s(0x129),'validOpts':[a130s(0x143)],'mustBeInMakaProject':!![],'examples':['maka\x20g:layout\x20mobile/iPhone8',a130s(0x13c)]},async function(a,b){const t=a130s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0x12e),i=d[t(0x147)](),j=g[t(0x11f)]({'pathParts':[h,b[t(0x139)],kebabCase(b[t(0x137)]),kebabCase(b['resourceName'])]});typeof c[t(0x128)][t(0x140)]===t(0x11d)&&e[t(0x125)](t(0x140),c[t(0x128)][t(0x140)]);typeof c[t(0x128)][t(0x148)]===t(0x11d)&&e[t(0x125)](t(0x148),c[t(0x128)]['css']);typeof c[t(0x128)]['js']===t(0x11d)&&e[t(0x125)]('js',c[t(0x128)]['js']);const k=b['_']?b['_'][0x0][t(0x12d)](':')[0x1]:![],l=b['_']&&aliases[t(0x135)](k);l&&!f[t(0x11e)](t(0x12c))&&(Log[t(0x114)](t(0x14a)),f[t(0x13f)](t(0x12c),{'cwd':i}));if(l&&!f[t(0x11e)](t(0x133))){Log[t(0x114)](t(0x134));return;}const m={'name':pascalCase(b[t(0x137)]),'myPath':a130e['relative'](d[t(0x127)](),j),'cssCaseName':kebabCase(b[t(0x137)]),'className':pascalCase(b[t(0x137)]),'camelCaseName':camelCase(b['resourceName']),'fileName':kebabCase(b['resourceName']),'graphql':c[t(0x121)][t(0x138)],'features':c[t(0x149)],'client':c[t(0x121)][t(0x124)],'api':c['engines'][t(0x122)],'ssr':c[t(0x121)][t(0x12f)],'test':c[t(0x121)][t(0x140)],'theme':c[t(0x121)][t(0x146)],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0x149)][t(0x130)]};c[t(0x149)]?.['withHooks']||b[t(0x143)]?await g[t(0x128)]({'srcPath':t(0x120),'destPath':j+t(0x131),'framework':t(0x133),'context':m,'config':c}):await g[t(0x128)]({'srcPath':t(0x116),'destPath':j+t(0x131),'framework':t(0x133),'context':m,'config':c});c[t(0x121)]['test']!==t(0x11b)&&await g[t(0x128)]({'srcPath':t(0x119),'destPath':j+t(0x11a),'framework':t(0x133),'context':m,'config':c});c[t(0x128)][t(0x148)]&&(await g[t(0x128)]({'srcPath':t(0x12b),'destPath':j+'.css','context':Object['assign']({},m,{'className':kebabCase(b['resourceName'])}),'config':c}),await g['injectAtBeginningOfFile']({'filePath':j+'.'+c['engines']['js'],'content':t(0x13e)+m[t(0x145)]+'.'+c[t(0x121)]['css']+'\x27;'}));const n=b[t(0x139)]?'/'+b[t(0x139)]+'/':'/',o=''+h+n+m[t(0x145)]+'/'+m['fileName'];await g['injectTemplateModule'](m[t(0x13b)],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a131i=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a131i=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=parseInt(f(0x12e))/0x1+parseInt(f(0x139))/0x2*(parseInt(f(0x133))/0x3)+parseInt(f(0x13d))/0x4*(-parseInt(f(0x13b))/0x5)+-parseInt(f(0x12b))/0x6+-parseInt(f(0x138))/0x7*(parseInt(f(0x12c))/0x8)+parseInt(f(0x13a))/0x9+parseInt(f(0x131))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x510b2));function a131c(){const j=['1234106kSASKj','1956861bKBZPZ','505205nQnzAL','maka\x20{generate,\x20g}:<generator>\x20<name>','4WnTZrH','generate','maka\x20g:route\x20todos/edit','3606732mzOsLy','325880AdWZsn','Scaffold\x20various\x20parts\x20of\x20your\x20application','76758NcFzMp','maka\x20g:api\x20trucks','maka\x20g:template\x20todos/todo_item','4080220mvMkem','(((.+)+)+)+$','3WmTfIG','apply','toString','constructor','search','49uoVptb'];a131c=function(){return j;};return a131c();}const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a[h(0x135)]()['search'](h(0x132))[h(0x135)]()[h(0x136)](a131a)[h(0x137)]('(((.+)+)+)+$');});a131a();function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x129;let f=c[d];return f;},a131d(a,b);}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a131i(0x129),'aliases':['g'],'usage':a131i(0x13c),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a131i(0x12d),'examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos',a131i(0x130),'maka\x20g:package\x20package:name',a131i(0x12a),a131i(0x12f),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},async function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a132m=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x12c))/0x1+-parseInt(k(0x130))/0x2*(-parseInt(k(0x133))/0x3)+parseInt(k(0x13f))/0x4*(-parseInt(k(0x128))/0x5)+-parseInt(k(0x137))/0x6+parseInt(k(0x132))/0x7+parseInt(k(0x129))/0x8*(parseInt(k(0x139))/0x9)+parseInt(k(0x12e))/0xa*(parseInt(k(0x123))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x64653));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 l=a132d;return a132a[l(0x135)]()['search'](l(0x12a))['toString']()[l(0x140)](a132a)[l(0x13a)]('(((.+)+)+)+$');});a132a();import{Generator}from'../generator.js';function a132c(){const o=['resourceName','1097128BDABnS','constructor','engines','tsx','dir','template','checkMeteorPackage','appPathPrefix','mdg:validated-method','108977apvDAA','method','-rpc-method.','import\x20\x27./methods','ddp-rate-limiter','5WeqYVs','95240wCxNSu','(((.+)+)+)+$','pathFromApp','688695yHStmY','projectConfig','770sdsYIW','imports','6050gqRNuG','maka:check','3173408OBtWyK','3lWUXQD','methods','toString','startup','3427302WAdALH','create','549NfSLOg','search','method/method.js','maka\x20{generate,\x20g}:{method,\x20m}\x20name','scaffold'];a132c=function(){return o;};return a132c();}function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x11c;let f=c[d];return f;},a132d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a132m(0x138)]({'name':a132m(0x124),'aliases':['m'],'usage':a132m(0x13c),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a132m(0x11e)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a132m;try{const c=this[n(0x12d)],d=b[n(0x11e)]?'/'+b[n(0x11e)]+'/':'/',f=kebabCase(b[n(0x13e)]),g={'name':b[n(0x13e)],'fileName':f,'className':pascalCase(b[n(0x13e)]),'camelCase':camelCase(b[n(0x13e)]),'noRename':!![]};let h='js';c[n(0x11c)]['js']===n(0x11d)&&(h='ts');await this['pkg'][n(0x120)]([n(0x131),n(0x127),n(0x122)],{'shouldInstall':!![]}),await this['scaffold'][n(0x11f)]({'srcPath':n(0x13b),'destPath':this[n(0x13d)][n(0x12b)]({'pathParts':[n(0x12f),'startup',b[n(0x121)],n(0x134),d,f+n(0x125)+h]}),'context':g,'config':c});const i=this[n(0x13d)]['pathFromApp']({'pathParts':[n(0x12f),n(0x136),b[n(0x121)],'index.'+c[n(0x11c)]['js']]});await this[n(0x13d)]['injectAtEndOfFile']({'filePath':i,'content':n(0x126)+d+f+'-rpc-method\x27;'});}catch(j){Log['error'](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xa6;let f=c[d];return f;},a133d(a,b);}const a133o=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0xc1))/0x1*(parseInt(m(0xb1))/0x2)+parseInt(m(0xc7))/0x3+parseInt(m(0xad))/0x4*(-parseInt(m(0xcf))/0x5)+parseInt(m(0xb4))/0x6+-parseInt(m(0xb5))/0x7*(-parseInt(m(0xbb))/0x8)+-parseInt(m(0xa9))/0x9*(-parseInt(m(0xb8))/0xa)+parseInt(m(0xb6))/0xb*(-parseInt(m(0xae))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x604fc));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 n=a133d;return a133a[n(0xbf)]()[n(0xbe)](n(0xb9))[n(0xbf)]()[n(0xaf)](a133a)[n(0xbe)]('(((.+)+)+)+$');});function a133c(){const q=['projectConfig','features','pathFromApp','102591GAikjm','template','/client/','theme','1292hpRrAa','12YbLPyk','constructor','scaffold','130Xwesze','resourceName','packages','118860ZFDHKB','14stcHDC','4719583ekmOJc','layout','530XENvIa','(((.+)+)+)+$','hasOwnProperty','12608idWwcN','tests/server','engines','search','toString','client','3937eBQBcV','template/template.js','component','package.js','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','store','722763DLWUIh','noRename','/package.js','relative','package','create','tests/client','package/','4650IzipAJ','lib','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','fsi','maka\x20g:package\x20todos:package','dir','server'];a133c=function(){return q;};return a133c();}a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a133o(0xcc)]({'name':a133o(0xcb),'aliases':['p'],'usage':a133o(0xd1),'mustBeInMakaProject':!![],'shortDesc':a133o(0xc5),'validOpts':[a133o(0xd4)],'examples':[a133o(0xd3)]},async function(a,b){const p=a133o,c=kebabCase(b[p(0xb2)]),d=b[p(0xd4)]?'/'+b[p(0xd4)]+'/':'/',e=this[p(0xb0)][p(0xa8)]({'pathParts':[p(0xb3),d,c]}),f=this[p(0xb0)]['pathFromAppWithNoReWrite']({'pathParts':[p(0xb3),d,c,p(0xc4)]}),g=this[p(0xa6)],h={'name':kebabCase(b[p(0xb2)]),'myPath':a133e[p(0xca)](this[p(0xd2)]['findProjectDirectory'](),e),'cssCaseName':kebabCase(b[p(0xb2)]),'className':pascalCase(b[p(0xb2)]),'camelCaseName':camelCase(b[p(0xb2)]),'fileName':c,'client':g['engines'][p(0xc0)],'graphql':g[p(0xbd)]['graphql'],'ssr':g['engines']['ssr'],'isComponent':b['hasOwnProperty'](p(0xc3)),'isLayout':b[p(0xba)](p(0xb7)),'isStore':b['hasOwnProperty'](p(0xc6)),'features':g[p(0xa7)],'noRename':!![],'theme':g[p(0xbd)][p(0xac)]};await this[p(0xb0)][p(0xaa)]({'srcPath':'package/package.js','destPath':f,'context':h,'config':g}),h[p(0xc8)]=![];const i=e+p(0xab)+c+'.js';await this['scaffold'][p(0xaa)]({'srcPath':p(0xc2),'destPath':i,'context':h,'config':g});const j=[p(0xd0),p(0xd5),p(0xcd),p(0xbc)];for(const k of j){const l=e+'/'+k+'/'+c+'.js';await this[p(0xb0)][p(0xaa)]({'srcPath':p(0xce)+k+p(0xc9),'destPath':l,'context':h,'config':g});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a134u=a134d;(function(a,b){const r=a134d,c=a();while(!![]){try{const d=parseInt(r(0x1f8))/0x1*(parseInt(r(0x1c6))/0x2)+-parseInt(r(0x20e))/0x3*(parseInt(r(0x211))/0x4)+-parseInt(r(0x205))/0x5+parseInt(r(0x20f))/0x6+-parseInt(r(0x1c0))/0x7+-parseInt(r(0x1e2))/0x8*(parseInt(r(0x1d8))/0x9)+parseInt(r(0x1ed))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xb48db));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a134d;if(c){const e=c[s(0x204)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const t=a134d;return a134a[t(0x1c3)]()['search'](t(0x216))[t(0x1c3)]()[t(0x1df)](a134a)[t(0x1cf)]('(((.+)+)+)+$');});a134a();import a134e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a134c(){const w=['react','search','vanilla','component/component.js','ramda','import\x20\x27./','test','substring','.app-tests.js','test/test.js','9gVInba','graphql','withHooks','endsWith','fsi','setTemplate','imports','constructor','resourceName','scaffold','10015832qJcZXG','withTranslations','injectAtBeginningOfFile','\x22\x20element={<Component.','className','replace','pathFromApp','error','\x27;\x0a','layout','Generate\x20a\x20page.','32495180AGbkLV','component','css','template/template.css','findAppDirectory','/>}/>\x0a','findProjectDirectory','private','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','none','cfg','47RfuUga','maka\x20g:page\x20todos/todos-item','trim','.js','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','/imports/ui/pages','create','injectTemplateModule','meteor','routes.','projectConfig','pkg','apply','3431970QcnMvv','dir','.html','indexOf','replaceAll','<Route\x20path=\x22*\x22','injectIntoFile','api','theme','18cDPOpM','903594WsVBJM','checkNpmPackage','210060zMedoS','hasOwnProperty','slice','url','installNpmPackage','(((.+)+)+)+$','ssr','root','string','Updating\x20npm\x20packages\x20...','fileName','8647716cFuqjb','warn','template/template.html','toString','<Route\x20path=\x22','includes','35246RLtrys','startup','features','html','hook/hook.js','client','engines','template'];a134c=function(){return w;};return a134c();}function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a134d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['p'];Generator[a134u(0x1fe)]({'name':'page','aliases':aliases,'usage':a134u(0x1fc),'shortDesc':a134u(0x1ec),'mustBeInMakaProject':!![],'validOpts':[{'name':'private','boolFlag':!![]},{'name':a134u(0x214)}],'examples':[a134u(0x1f9)]},async function(a,b){const v=a134u,c=v(0x1fd),d=this[v(0x1dc)][v(0x1f1)](),e=b['resourceName'][v(0x1c5)](':')?b[v(0x1e0)]['split'](':')[0x0][v(0x1fa)]():b[v(0x1e0)][v(0x1fa)](),f=b[v(0x206)][v(0x209)]('/','_')+'_'+e[v(0x209)]('/','_'),g=this[v(0x1e1)][v(0x1e8)]({'pathParts':[c,b['dir'],kebabCase(f),kebabCase(f)]}),h=this[v(0x202)];let i='';typeof h[v(0x1cd)][v(0x1c9)]==='string'&&this['cfg'][v(0x1dd)](v(0x1c9),h[v(0x1cd)]['html']);typeof h[v(0x1cd)][v(0x1d4)]===v(0x1bd)&&this[v(0x1f7)]['setTemplate'](v(0x1d4),h[v(0x1cd)][v(0x1d4)]);typeof h[v(0x1cd)][v(0x1ef)]===v(0x1bd)&&this[v(0x1f7)][v(0x1dd)](v(0x1ef),h[v(0x1cd)][v(0x1ef)]);typeof h['template']['js']===v(0x1bd)&&this['cfg']['setTemplate']('js',h[v(0x1cd)]['js']);!b[v(0x1bc)]&&!this[v(0x203)][v(0x210)](v(0x1d2))&&(Log[v(0x1c1)](v(0x1be)),this[v(0x203)][v(0x215)](v(0x1d2),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a134e['relative'](this[v(0x1dc)][v(0x1f3)](),g),'cssCaseName':kebabCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':kebabCase(f),'graphql':h[v(0x1cc)][v(0x1d9)],'features':h['features'],'client':h[v(0x1cc)]['client'],'api':h[v(0x1cc)][v(0x20c)],'ssr':h[v(0x1cc)]['ssr'],'isStore':b[v(0x212)]('store'),'isComponent':b[v(0x212)](v(0x1ee)),'isLayout':b[v(0x212)](v(0x1eb)),'withTranslations':h[v(0x1c8)][v(0x1e3)],'test':h[v(0x1cc)]['test'],'theme':h[v(0x1cc)][v(0x20d)]};h[v(0x1cd)][v(0x1c9)]&&await this[v(0x1e1)]['template']({'srcPath':v(0x1c2),'destPath':g+v(0x207),'context':j,'config':h});h['features']?.[v(0x1da)]?await this[v(0x1e1)][v(0x1cd)]({'srcPath':v(0x1ca),'destPath':g+v(0x1fb),'framework':v(0x1ce),'context':j,'config':h}):await this[v(0x1e1)]['template']({'srcPath':v(0x1d1),'destPath':g+v(0x1fb),'framework':'react','context':j,'config':h});h[v(0x1cc)][v(0x1d4)]!==v(0x1f6)&&await this[v(0x1e1)]['template']({'srcPath':v(0x1d7),'destPath':g+v(0x1d6),'framework':v(0x1ce),'context':j,'config':h});h['template'][v(0x1ef)]&&await this[v(0x1e1)][v(0x1cd)]({'srcPath':v(0x1f0),'destPath':g+'.css','context':Object['assign']({},j,{'className':kebabCase(b[v(0x1e0)])}),'config':h});h['engines']['client']!=='react'&&h[v(0x1cc)][v(0x1cb)]!==v(0x1d0)?(h[v(0x1cd)][v(0x1ef)]&&await this[v(0x1e1)][v(0x1e4)]({'filePath':g+'.'+h[v(0x1cc)]['js'],'content':v(0x1d3)+j[v(0x1bf)]+'.'+h['engines']['html']+v(0x1ea)+'import\x20\x27./'+j[v(0x1bf)]+'.'+h[v(0x1cc)][v(0x1ef)]+'\x27;'}),!h[v(0x1cd)][v(0x1ef)]&&await this[v(0x1e1)][v(0x1e4)]({'filePath':g+'.'+h[v(0x1cc)]['js'],'content':v(0x1d3)+j[v(0x1bf)]+'.'+h[v(0x1cc)]['html']+'\x27;'})):h[v(0x1cd)]['css']&&await this['scaffold'][v(0x1e4)]({'filePath':g+'.'+h[v(0x1cc)]['js'],'content':v(0x1d3)+j[v(0x1bf)]+'.'+h[v(0x1cc)][v(0x1ef)]+'\x27;'});const k=b['dir']?'/'+b['dir']+'/':'/';i=''+c+k+j['fileName']+'/'+j[v(0x1bf)],await this[v(0x1e1)][v(0x1ff)](j[v(0x1e6)],h,i);if(!b[v(0x1bc)]){const l=b[v(0x1f4)]??![];if(!f){Log[v(0x1e9)](v(0x1f5));throw new UsageError();}let m=b[v(0x214)]?b[v(0x214)]:'/'+b['dir'][v(0x1fa)]()+'/'+b[v(0x1e0)][v(0x1fa)]()[v(0x1e7)](/\\/g,'/')[v(0x1e7)](/\/+$/,'')['toLowerCase']();const n=b[v(0x1e0)][v(0x208)](':');n!==-0x1&&(m+='/'+b[v(0x1e0)][v(0x1d5)](0x0,n)[v(0x1fa)]());m[v(0x1db)]('/')&&(m=m[v(0x213)](0x0,-0x1));m=m[v(0x1e7)](/\/\//g,'/');const o=h[v(0x1cc)]['js'],p=h[v(0x1cc)][v(0x217)]===v(0x200)?'lib':v(0x1cb),q=a134e['join'](d,v(0x1de),v(0x1c7),p,v(0x201)+o);l?await this[v(0x1e1)][v(0x20b)]({'filePath':q,'content':v(0x1c4)+m+'\x22\x20element={<Component.'+pascalCase(f)+'/>}/>\x0a','begin':['<Route\x20element={<PrivateRoute\x20/>}>'],'end':['</Route>']}):await this[v(0x1e1)][v(0x20b)]({'filePath':q,'content':v(0x1c4)+m+v(0x1e5)+pascalCase(f)+v(0x1f2),'begin':['<Route\x20index'],'end':[v(0x20a)]});}});
|