@maka/maka-cli 5.0.19 → 5.0.20
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/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
|
|
1
|
+
function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1b4;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x1bf))/0x1*(parseInt(f(0x1b7))/0x2)+-parseInt(f(0x1bc))/0x3+-parseInt(f(0x1b4))/0x4*(-parseInt(f(0x1b8))/0x5)+parseInt(f(0x1b6))/0x6*(-parseInt(f(0x1c2))/0x7)+parseInt(f(0x1b5))/0x8+-parseInt(f(0x1c0))/0x9*(parseInt(f(0x1ba))/0xa)+parseInt(f(0x1bd))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xeddd7));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()[h(0x1c1)](h(0x1bb))[h(0x1b9)]()['constructor'](a118a)[h(0x1c1)](h(0x1bb));});a118a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a118c(){var i=['12343600NoUoJk','46374KObCWB','225294LFwAKH','30ikKuTl','toString','20FAeMGt','(((.+)+)+)+$','3092175VRstKh','27151784AqfnRA','apply','4WzWhlF','3741273jxdUtM','search','938NUPivO','207596qaCMAp'];a118c=function(){return i;};return a118c();}
|
|
@@ -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(0xd0))/0x2)+parseInt(f(0xcd))/0x3*(-parseInt(f(0xd3))/0x4)+-parseInt(f(0xca))/0x5*(parseInt(f(0xc4))/0x6)+-parseInt(f(0xc8))/0x7*(-parseInt(f(0xc9))/0x8)+parseInt(f(0xcc))/0x9*(-parseInt(f(0xd4))/0xa)+parseInt(f(0xc5))/0xb+parseInt(f(0xc6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x32e27));function a119c(){const j=['9ZCgOHO','2673QCVdPI','auth','(((.+)+)+)+$','2minOeY','378022yjnVYd','apply','1528tKoCWy','859540twIDXf','search','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','maka\x20g:kit:a','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','19644vomuNE','4199294musNuN','7914600YzfXWJ','create','510657mRavCg','8emgeOQ','155jxtcRW','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'];a119c=function(){return j;};return a119c();}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a['toString']()[h(0xd5)]('(((.+)+)+)+$')[h(0xd6)]()['constructor'](a119a)['search'](h(0xcf));});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator[a119i(0xc7)]({'name':a119i(0xce),'aliases':['a'],'usage':a119i(0xd7),'noNeedResource':!![],'shortDesc':a119i(0xd9),'validOpts':[''],'isPro':!![],'examples':[a119i(0xd8)],'description':a119i(0xcb)},async function(){throw'NIE';},async function(){},a119e);function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xc4;let f=c[d];return f;},a119d(a,b);}export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120r=a120d;(function(a,b){const o=a120d,c=a();while(!![]){try{const d=-parseInt(o(
|
|
1
|
+
const a120r=a120d;(function(a,b){const o=a120d,c=a();while(!![]){try{const d=-parseInt(o(0x1ea))/0x1+parseInt(o(0x217))/0x2+parseInt(o(0x227))/0x3*(parseInt(o(0x1e5))/0x4)+-parseInt(o(0x1f9))/0x5*(-parseInt(o(0x204))/0x6)+parseInt(o(0x1e7))/0x7*(parseInt(o(0x226))/0x8)+-parseInt(o(0x1e8))/0x9+-parseInt(o(0x20c))/0xa*(-parseInt(o(0x20f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xb7afd));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a120d;if(c){const e=c[p(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const q=a120d;return a120a[q(0x216)]()[q(0x1fc)](q(0x1f2))['toString']()[q(0x209)](a120a)[q(0x1fc)](q(0x1f2));});a120a();function a120c(){const t=['\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','findProjectDirectory','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client','cfg','444102NcXeCc','react','injectIntoCodeBlock','meteor','Accounts','constructor','Meteor','AuthService','1190RKexdK','auth/roles','Meteor.publish','90134qCAHeB','meteor/accounts-base','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','const\x20authenticateUser','checkMeteorPackage','pkg','/imports/startup/lib','toString','1456374jvqoNF','return\x20\x5c(','error','engines','imports','kit:auth:provider','scaffold','kit/auth/service/meteor-auth-service.js','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','getMakaProjectConfig','.js','const\x20authenticateToken','true','const\x20registerNewUser','ssr','508328OWyxRJ','590658EpNAiz','\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','\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','force','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','injectIntoFile','4FlZVVO','\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','49WBQqxR','9695340gSLpew','const\x20getUserAuthorizations','1033424HqrfmN','apply','\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','publish','/imports/startup/lib/authentication-service','injectImport','alanning:roles','(((.+)+)+)+$','const\x20deauthenticateUser','useTracker','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','exit','authentication-provider','export\x20const\x20AuthProvider','35nOMvxE','fsi','server','search','pathFromApp','accounts-password'];a120c=function(){return t;};return a120c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120e from'./auth.generator.js';import a120f from'../../../generators/maka.gen.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1e0;let f=c[d];return f;},a120d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a120r(0x207),'aliases':['m'],'usage':a120r(0x1e3),'shortDesc':a120r(0x211),'validOpts':[a120r(0x1e1)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a120r(0x1ff)},async function(a,b){const s=a120r;try{const c=b['force']||![];await this[s(0x214)][s(0x213)]([s(0x1fe),s(0x1f1)],{'shouldInstall':!![]});const d=this[s(0x1fa)][s(0x200)](),f=await this[s(0x203)][s(0x220)](),g=f['engines'][s(0x225)]===s(0x223);await a120f['processAndRunGenerator'](s(0x21c),[],{'force':c,'cwd':d,'config':f});const h=await a120f[s(0x1e2)](s(0x1ee),[s(0x20d)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x215):s(0x202),j=this[s(0x21d)][s(0x1fd)]({'pathParts':[i,'','','authentication-service']});await this[s(0x21d)]['template']({'srcPath':s(0x21e),'destPath':j+s(0x221),'framework':s(0x205),'context':{},'config':f,'force':c,'ignore':![]});const k=this['scaffold']['pathFromApp']({'pathParts':[i,'','',s(0x1f7)]}),l=f[s(0x21a)]['js'];await this[s(0x21d)][s(0x1f0)]({'filePath':k+'.'+l,'importName':s(0x20b),'modulePath':g?s(0x1ef):'/imports/startup/client/authentication-service','isNamedExport':![]}),await this['scaffold'][s(0x206)]({'filePath':k+'.'+l,'content':s(0x1e6),'begin':s(0x212),'replace':!![]}),await this['scaffold'][s(0x206)]({'filePath':k+'.'+l,'content':s(0x1e0),'begin':s(0x222),'replace':!![]}),await this[s(0x21d)][s(0x206)]({'filePath':k+'.'+l,'content':'\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','begin':s(0x1e9),'replace':!![]}),await this[s(0x21d)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x1f3),'replace':!![]}),await this['scaffold'][s(0x206)]({'filePath':k+'.'+l,'content':s(0x1f5),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await this[s(0x21d)][s(0x206)]({'filePath':k+'.'+l,'content':s(0x201),'begin':s(0x224),'replace':!![]}),await this[s(0x21d)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x21f),'begin':'const\x20resetPasswordWithToken','replace':!![]});g&&(await this['scaffold'][s(0x1f0)]({'filePath':k+'.'+l,'importName':s(0x1f4),'modulePath':s(0x1ed),'isNamedExport':!![]}),await this[s(0x21d)][s(0x1e4)]({'filePath':k+'.'+l,'content':s(0x228),'begin':s(0x1f8),'end':s(0x218)}));await this[s(0x21d)][s(0x1f0)]({'filePath':h,'importName':s(0x20a),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x21d)][s(0x206)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x20e),'replace':!![]});const m=this[s(0x21d)][s(0x1fd)]({'pathParts':[s(0x21b),'startup',s(0x1fb),'index']});await this[s(0x21d)]['injectImport']({'filePath':m+'.'+l,'importName':s(0x208),'modulePath':s(0x210),'isNamedExport':!![]}),await this[s(0x21d)][s(0x206)]({'filePath':m+'.'+l,'content':s(0x1ec),'begin':'Meteor.startup','replace':!![]});}catch(n){Log[s(0x219)](n),process[s(0x1f6)](0x1);}},async function(){},a120e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121x=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=parseInt(u(0x193))/0x1*(parseInt(u(0x16f))/0x2)+-parseInt(u(0x19c))/0x3+parseInt(u(0x1a2))/0x4+-parseInt(u(0x179))/0x5+-parseInt(u(0x175))/0x6*(parseInt(u(0x17b))/0x7)+-parseInt(u(0x196))/0x8*(parseInt(u(0x18e))/0x9)+parseInt(u(0x17f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x4bfad));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a121d;if(c){const e=c[v(0x18a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const w=a121d;return a121a[w(0x1a4)]()[w(0x198)](w(0x194))[w(0x1a4)]()[w(0x17c)](a121a)[w(0x198)](w(0x194));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';function a121c(){const z=['provider','411597bYTdza','useContext','cfg','true','kit/auth/provider/authentication-provider.js','27410jGAExD','(((.+)+)+)+$','/imports/startup/lib','40QyQnHM','.js','search','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','AuthContext','/routes','461952iOJeRs','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','<AppRoutes\x20/>','replaceAll','\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','injectIntoCodeBlock','1819872uoqRBC','getMakaProjectConfig','toString','ssr','14WOAeoi','template','error','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','REACT','/imports/startup/lib/authentication-provider','2340YQBLbj','pathFromApp','force','AuthProvider','288195vvbzAN','const\x20PrivateRoute','2086ctcMee','constructor','split','react','2208830toHyyu','appName','/imports/startup/client/authentication-provider','scaffold','\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/index','const\x20useAuth','</AuthProvider>','bright','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','engines','apply','injectAroundString','injectImport'];a121c=function(){return z;};return a121c();}import{headerCase}from'change-case';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x16e;let f=c[d];return f;},a121d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a121x(0x18d),'aliases':['p'],'usage':a121x(0x19d),'shortDesc':a121x(0x172),'validOpts':[a121x(0x177)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121x(0x173)]},'description':a121x(0x199)},async function(a,b){const y=a121x;try{const c=b['force']||![];Log[y(0x187)](y(0x188));const d=await this[y(0x190)][y(0x1a3)](),f=d[y(0x189)][y(0x16e)]===y(0x191),g={'name':headerCase(d[y(0x180)])[y(0x19f)]('-','\x20')},h=f?y(0x195):'/imports/startup/client',i=this[y(0x182)][y(0x176)]({'pathParts':[h,'','','authentication-provider']});await this[y(0x182)][y(0x170)]({'srcPath':y(0x192),'destPath':i+y(0x197),'framework':y(0x17e),'context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x189)]['js'],k=h+y(0x19b),l=k[y(0x17d)]('/'),m=this[y(0x182)][y(0x176)]({'pathParts':l});await this[y(0x182)][y(0x18c)]({'filePath':m+'.'+j,'importName':y(0x19a),'modulePath':f?y(0x174):y(0x181),'isNamedExport':!![]}),await this[y(0x182)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x18f),'modulePath':y(0x17e),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x182)][y(0x1a1)]({'filePath':m+'.'+j,'content':y(0x1a0),'begin':[y(0x185),'function\x20useAuth'],'replace':!![]}),await this['scaffold'][y(0x1a1)]({'filePath':m+'.'+j,'content':y(0x183),'begin':[y(0x17a)],'replace':!![]});const n=y(0x184),o=n[y(0x17d)]('/'),p=this[y(0x182)][y(0x176)]({'pathParts':o});await this['scaffold'][y(0x18c)]({'filePath':p+'.'+j,'importName':y(0x178),'modulePath':f?y(0x174):y(0x181),'isNamedExport':!![]}),await this['scaffold']['injectAroundString']({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x186),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q['split']('/'),s=this['scaffold'][y(0x176)]({'pathParts':r});await this['scaffold'][y(0x18c)]({'filePath':s+'.'+j,'importName':y(0x178),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x181),'isNamedExport':!![]}),await this[y(0x182)][y(0x18b)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x186),'targetString':y(0x19e),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x171)](t),process['exit'](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x80))/0x1+-parseInt(f(0x7d))/0x2+-parseInt(f(0x7e))/0x3*(-parseInt(f(0x84))/0x4)+parseInt(f(0x78))/0x5*(parseInt(f(0x7a))/0x6)+parseInt(f(0x81))/0x7+parseInt(f(0x83))/0x8*(-parseInt(f(0x85))/0x9)+parseInt(f(0x82))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xc47c0));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x79)]()[h(0x7f)](h(0x7c))['toString']()['constructor'](a122a)[h(0x7f)](h(0x7c));});a122a();function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x78;var f=c[d];return f;},a122d(a,b);}function a122c(){var i=['apply','(((.+)+)+)+$','2015500OrXbGm','3cXUMaa','search','565506UeiVHN','7881300aDLidk','7199380pUkaWX','36616rnLqLb','4882024czJXlK','2961RiVlRl','1362575rmTaJl','toString','18CDlCTk'];a122c=function(){return i;};return a122c();}import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d
|
|
1
|
+
const a123i=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x121;let f=c[d];return f;},a123d(a,b);}(function(a,b){const f=a123d,c=a();while(!![]){try{const d=parseInt(f(0x12f))/0x1+parseInt(f(0x130))/0x2+parseInt(f(0x122))/0x3+parseInt(f(0x12d))/0x4*(-parseInt(f(0x127))/0x5)+parseInt(f(0x125))/0x6+parseInt(f(0x12b))/0x7+parseInt(f(0x132))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xea8a6));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0x12e)]()[h(0x129)](h(0x121))[h(0x12e)]()[h(0x124)](a123a)[h(0x129)](h(0x121));});a123a();import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator[a123i(0x126)]({'name':'esri','aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a123i(0x12a),'validOpts':[''],'isPro':!![],'examples':[a123i(0x123)],'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':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0x12c)],'filesUpdated':[j(0x128)]}};},async function(){},a123e);export default EsriGen;function a123c(){const k=['(((.+)+)+)+$','2297049EqMywJ','maka\x20g:kit:e','constructor','5846016VdWeCf','create','52735ZnMJNY','/foo','search','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','179158qOtVNR','/foo/bar','672uFDKAi','toString','205903QaQsfb','304860BCmmtW','apply','4869024cwkIMh'];a123c=function(){return k;};return a123c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a124r=a124d;(function(a,b){const p=a124d,c=a();while(!![]){try{const d=parseInt(p(0x1dc))/0x1+parseInt(p(0x1ea))/0x2+parseInt(p(0x1d5))/0x3+parseInt(p(0x1c9))/0x4*(parseInt(p(0x1bf))/0x5)+-parseInt(p(0x1df))/0x6+parseInt(p(0x1d3))/0x7*(-parseInt(p(0x1c8))/0x8)+parseInt(p(0x1c6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x1b85d));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const q=a124d;return a124a[q(0x1e7)]()[q(0x1de)](q(0x1d8))[q(0x1e7)]()[q(0x1c7)](a124a)['search'](q(0x1d8));});a124a();function a124c(){const t=['dir','scaffold','/imports/startup/client/templates','findProjectDirectory','injectTemplateModule','\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','@esri/react-arcgis','pathFromApp','/imports/startup/lib/templates','pkg','45QcZOTV','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','fsi','replaceAll','processAndRunGenerator','cfg','split','1126449MYrQMM','constructor','41464apqjmj','54396EqGqIs','true','FALSE','map','/imports/ui/','<div\x20id=\x22map\x22>','baseDir','Generate\x20an\x20Esri\x20map\x20component','.js','/imports/ui/hooks','189yvvyFg','engines','56313IcZjlW','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','create','(((.+)+)+)+$','Generating\x20a\x20map\x20component','</div>','checkNpmPackage','36006WuqEew','injectImport','search','473568SgTiTw','REACT','exit','react','bright','kit/esri/map/','esri-loader','getMakaProjectConfig','toString','injectIntoFile','appName','58546GWoFTL'];a124c=function(){return t;};return a124c();}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{paramCase,headerCase,pascalCase}from'change-case';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1bb;let f=c[d];return f;},a124d(a,b);}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124r(0x1d7)]({'name':a124r(0x1cc),'aliases':['m'],'usage':a124r(0x1d6),'shortDesc':a124r(0x1d0),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a124r(0x1e0)],'ssr':SsrEngines[a124r(0x1cb)]},'description':a124r(0x1f0)},async function(a,b){const s=a124r;try{Log[s(0x1e3)](s(0x1d9));const c='basic-map';await this[s(0x1be)][s(0x1db)]([s(0x1bb),s(0x1e5)],{'shouldInstall':!![]});const d=this[s(0x1c1)][s(0x1ee)](),f=await this[s(0x1c4)][s(0x1e6)](),g=f[s(0x1d4)]['ssr']===s(0x1ca),h=await a124f[s(0x1c3)]('page',[s(0x1cc)],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0x1e9)])[s(0x1c2)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?s(0x1cd)+b[s(0x1cf)]:s(0x1d2),k=this[s(0x1ec)][s(0x1bc)]({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[s(0x1ec)]['template']({'srcPath':s(0x1e4)+c+s(0x1d1),'destPath':k+s(0x1d1),'framework':s(0x1e2),'context':i,'config':f,'force':![],'ignore':![]});const l=''+j+b[s(0x1eb)]+'/'+c+'/'+c;await this[s(0x1ec)][s(0x1ef)](c,f,l);const m=h[s(0x1c5)]('/'),n=this['scaffold'][s(0x1bc)]({'pathParts':m});await this[s(0x1ec)][s(0x1dd)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0x1bd):s(0x1ed),'isNamedExport':!![]}),await this[s(0x1ec)][s(0x1e8)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0x1c0),'begin':[s(0x1ce),s(0x1ce)],'end':[s(0x1da)],'replace':!![]});}catch(o){Log['error'](o),process[s(0x1e1)](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125h=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d
|
|
1
|
+
const a125h=a125d;function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x15e;let f=c[d];return f;},a125d(a,b);}(function(a,b){const f=a125d,c=a();while(!![]){try{const d=-parseInt(f(0x160))/0x1*(-parseInt(f(0x169))/0x2)+parseInt(f(0x168))/0x3*(-parseInt(f(0x15e))/0x4)+-parseInt(f(0x16d))/0x5+parseInt(f(0x15f))/0x6+-parseInt(f(0x165))/0x7+-parseInt(f(0x162))/0x8*(-parseInt(f(0x164))/0x9)+parseInt(f(0x170))/0xa*(parseInt(f(0x167))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xf1c91));const a125b=(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;};}()),a125a=a125b(this,function(){const g=a125d;return a125a[g(0x16b)]()['search'](g(0x161))[g(0x16b)]()['constructor'](a125a)[g(0x16c)](g(0x161));});a125a();function a125c(){const i=['maka\x20g:k','maka\x20g:kit','8090BtaatU','95276gMyGPM','9069312UBGagj','4ltFyfB','(((.+)+)+)+$','75016goNLRG','create','63eoQADz','7795977jNuBhy','kit','15763fDBQuS','165hWwmqT','570254HkODIL','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','toString','search','2314435EgZBDX'];a125c=function(){return i;};return a125c();}import{Generator}from'../../generator.js';const KitGen=Generator[a125h(0x163)]({'name':a125h(0x166),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a125h(0x16a),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a125h(0x16f),a125h(0x16e)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a126d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(0xe4))/0x1*(-parseInt(f(0xe8))/0x2)+parseInt(f(0xe1))/0x3+-parseInt(f(0xe3))/0x4+-parseInt(f(0xe7))/0x5+-parseInt(f(0xec))/0x6+-parseInt(f(0xe9))/0x7+-parseInt(f(0xe2))/0x8*(-parseInt(f(0xe6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x416d1));function a126c(){var i=['apply','195174gYZaGT','4720792bbOIkV','2085992ahUcrW','1xVyvgh','search','18SrDqlT','1146710hKVjRx','481532jlWipw','2899568kuFvqv','(((.+)+)+)+$','toString','317838okhWDB'];a126c=function(){return i;};return a126c();}var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a['toString']()[h(0xe5)](h(0xea))[h(0xeb)]()['constructor'](a126a)['search'](h(0xea));});a126a();function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0xe0;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 a127J=a127d;(function(a,b){const G=a127d,c=a();while(!![]){try{const d=-parseInt(G(
|
|
1
|
+
const a127J=a127d;(function(a,b){const G=a127d,c=a();while(!![]){try{const d=-parseInt(G(0x1c5))/0x1+parseInt(G(0x1a5))/0x2*(-parseInt(G(0x1ce))/0x3)+parseInt(G(0x1bd))/0x4*(-parseInt(G(0x19a))/0x5)+parseInt(G(0x1bf))/0x6+-parseInt(G(0x19d))/0x7+-parseInt(G(0x1ac))/0x8*(parseInt(G(0x1ca))/0x9)+parseInt(G(0x198))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x66e86));function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x198;let f=c[d];return f;},a127d(a,b);}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a127d;if(c){const e=c[H(0x1cc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const I=a127d;return a127a[I(0x1a3)]()[I(0x1c9)]('(((.+)+)+)+$')[I(0x1a3)]()[I(0x1c0)](a127a)[I(0x1c9)](I(0x1c2));});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';import a127f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127J(0x1c7)]({'name':a127J(0x1d8),'aliases':['a'],'usage':a127J(0x1cd),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a127J(0x1a4),a127J(0x1b4)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a127J(0x1ae)],'client':ClientEngines[a127J(0x1e0)]},'examples':[a127J(0x1ba),a127J(0x19c)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const K=a127J;try{const c=b['force']||![],d=this['fsi'][K(0x1d9)](),f=await this[K(0x1cb)]['getMakaProjectConfig'](),{authType:g}=await Actions[K(0x1a0)]({'type':'list','name':K(0x1b5),'message':K(0x1a9),'choices':[{'name':'Meteor\x20Accounts','value':K(0x1bc)},{'name':K(0x1d5),'value':K(0x1c1)}]}),h=K(0x1d2),i=K(0x1dc),j=K(0x1b2),k=K(0x1d3),l=K(0x1d1),m=b[K(0x1ad)]?K(0x1b9)+b[K(0x1ad)]:K(0x199),n=this[K(0x1b7)][K(0x1dd)]({'pathParts':[m,b[K(0x1db)],paramCase(h),paramCase(h)]}),o=this['scaffold'][K(0x1dd)]({'pathParts':[m,b[K(0x1db)],paramCase(i),paramCase(i)]}),p=this['scaffold'][K(0x1dd)]({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this[K(0x1b7)][K(0x1dd)]({'pathParts':[m,b[K(0x1db)],paramCase(k),paramCase(k)]}),r=this['scaffold'][K(0x1dd)]({'pathParts':[m,b[K(0x1db)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1b3)])[K(0x1c4)]('-','\x20')};await this[K(0x1b7)][K(0x19b)]({'srcPath':K(0x1bb)+h+K(0x1d7),'destPath':n+K(0x1d7),'framework':K(0x1aa),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x1b7)][K(0x19b)]({'srcPath':K(0x1be)+i+K(0x1d7),'destPath':o+K(0x1d7),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x1b7)][K(0x19b)]({'srcPath':K(0x1b6)+j+K(0x1d7),'destPath':p+K(0x1d7),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x1b7)][K(0x19b)]({'srcPath':K(0x1c8)+k+K(0x1d7),'destPath':q+K(0x1d7),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x1b7)][K(0x19b)]({'srcPath':K(0x1a8)+l+K(0x1d7),'destPath':r+K(0x1d7),'framework':K(0x1aa),'context':s,'config':f,'force':c,'ignore':![]});const t=''+m+b[K(0x1db)]+'/'+h+'/'+h;await this['scaffold']['injectTemplateModule'](h,f,t);const u=''+m+b[K(0x1db)]+'/'+i+'/'+i;await this[K(0x1b7)][K(0x1a2)](i,f,u);const v=''+m+b[K(0x1db)]+'/'+j+'/'+j;await this[K(0x1b7)][K(0x1a2)](j,f,v);const w=''+m+b['dir']+'/'+k+'/'+k;await this['scaffold']['injectTemplateModule'](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this['scaffold'][K(0x1a2)](l,f,x),await a127e[K(0x19f)](K(0x1a6),[K(0x1d2)],{'route':K(0x1a1),'cwd':d,'config':f}),await a127e[K(0x19f)]('route',[K(0x1dc)],{'route':K(0x1d6),'private':!![],'cwd':d,'config':f}),await a127e[K(0x19f)](K(0x1a6),[K(0x1b2)],{'route':K(0x1cf),'cwd':d,'config':f}),await a127e[K(0x19f)](K(0x1a6),[K(0x1d3)],{'route':K(0x1d0),'cwd':d,'config':f}),await a127e['processAndRunGenerator'](K(0x1a6),[K(0x1d1)],{'route':K(0x1c6),'cwd':d,'config':f});g==='meteor'&&await a127e[K(0x19f)](K(0x1df),[],{'force':c,'cwd':d,'config':f});g===K(0x1c1)&&await a127e[K(0x19f)](K(0x1de),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x1b1)][K(0x1ab)]===K(0x1da),z=f[K(0x1b1)]['js'],A=this[K(0x1b7)][K(0x1dd)]({'pathParts':t[K(0x1b8)]('/')});await this[K(0x1b7)]['injectImport']({'filePath':A+'.'+z,'importName':K(0x1af),'modulePath':y?K(0x19e):K(0x1b0),'isNamedExport':!![]});const B=this[K(0x1b7)][K(0x1dd)]({'pathParts':u[K(0x1b8)]('/')});await this[K(0x1b7)][K(0x1d4)]({'filePath':B+'.'+z,'importName':K(0x1af),'modulePath':y?K(0x19e):K(0x1b0),'isNamedExport':!![]});const C=this[K(0x1b7)][K(0x1dd)]({'pathParts':v[K(0x1b8)]('/')});await this[K(0x1b7)][K(0x1d4)]({'filePath':C+'.'+z,'importName':K(0x1af),'modulePath':y?K(0x19e):K(0x1b0),'isNamedExport':!![]});const D=this[K(0x1b7)][K(0x1dd)]({'pathParts':w[K(0x1b8)]('/')});await this[K(0x1b7)][K(0x1d4)]({'filePath':D+'.'+z,'importName':K(0x1af),'modulePath':y?K(0x19e):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[K(0x1b7)]['pathFromApp']({'pathParts':x['split']('/')});await this[K(0x1b7)][K(0x1d4)]({'filePath':E+'.'+z,'importName':K(0x1af),'modulePath':y?K(0x19e):K(0x1b0),'isNamedExport':!![]});}catch(F){Log[K(0x1a7)](F);}},async function(){const L=a127J;console[L(0x1e1)](L(0x1c3));},a127f);function a127c(){const M=['baseDir','MATERIAL','AuthContext','/imports/startup/client/authentication-provider','engines','basic-register-page','appName','force','authType','kit/mui/auth/register/','scaffold','split','/imports/ui/','maka\x20generate:kit:mui:frame','kit/mui/auth/login/','meteor','128TsEvdu','kit/mui/auth/logout/','1513890SmkFfU','constructor','custom','(((.+)+)+)+$','Cleaning\x20up...','replaceAll','64677Fwtsdb','forgot-password','create','kit/mui/auth/password-reset/','search','45vGhDEn','cfg','apply','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','6cZIQVC','register','reset-password/:token','basic-forgot-password-page','basic-login-page','basic-password-reset-page','injectImport','Custom\x20(roll\x20your\x20own)','logout','.js','auth','findProjectDirectory','true','dir','basic-logout-page','pathFromApp','kit:auth:provider','kit:auth:meteor','REACT','log','22569880WSseci','/imports/ui/pages/auth','94160lFwOyA','template','maka\x20g:k:m:f','4887757VRDHqT','/imports/startup/lib/authentication-provider','processAndRunGenerator','options','login','injectTemplateModule','toString','layouts','644426NPQGNC','route','error','kit/mui/auth/forgot-password/','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','react','ssr','124504kinErf'];a127c=function(){return M;};return a127c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a128c(){const H=['
|
|
1
|
+
function a128c(){const H=['Cleaning\x20up...','options','engines','/imports/ui/components','error','imports','.js','<Outlet\x20/>','/imports/startup/lib/templates','template','6ErpyIm','create','-hook\x22>','fsi','5821320nVDYni','findAppDirectory','injectImport','force','Box','597237HPuGhs','replaceAll','react','frame','maka:react-tracker','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','Container','cfg','</div>','1327340cJaAca','basic-app-bar','@mui/material/Container','checkMeteorPackage','maka\x20generate:kit:mui:frame','baseDir','pathFromApp','true','getMakaProjectConfig','965421oPCEEY','@mui/material/Box','dir','/imports/startup/client/templates','kit/mui/frame/app-bars/','MATERIAL','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','2283253SjTVXh','basic-drawer','5070564wormxa','join','maka\x20g:k:m:f','jsx','scaffold','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','/imports/ui/','<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>','toString','length','<Outlet/>','constructor','108892ttYsSW','checkbox','injectTemplateModule','basic-sticky-footer','tsx','getFiles','kit/mui/frame/drawers/','appName','kit/mui/frame/footers/','app-tests','test','search','log','\x20/>\x0a','pkg','apply','<div\x20id=\x22','24TohnWX','injectAroundString','layouts','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','(((.+)+)+)+$','No\x20layouts\x20selected','REACT'];a128c=function(){return H;};return a128c();}const a128E=a128d;(function(a,b){const B=a128d,c=a();while(!![]){try{const d=parseInt(B(0x1da))/0x1*(parseInt(B(0x20a))/0x2)+-parseInt(B(0x1e3))/0x3+-parseInt(B(0x1fe))/0x4+parseInt(B(0x1ec))/0x5+parseInt(B(0x1de))/0x6+parseInt(B(0x1fc))/0x7+parseInt(B(0x1c9))/0x8*(parseInt(B(0x1f5))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xb58ce));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a128d;if(c){const e=c[C(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const D=a128d;return a128a[D(0x206)]()[D(0x1c3)](D(0x1cd))[D(0x206)]()[D(0x209)](a128a)[D(0x1c3)](D(0x1cd));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a128d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'path';import a128f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128E(0x1db)]({'name':a128E(0x1e6),'aliases':['f'],'usage':a128E(0x203),'shortDesc':a128E(0x1cc),'validOpts':['layouts',a128E(0x1f1),'dir',a128E(0x1e1)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128E(0x1fa)],'client':ClientEngines[a128E(0x1cf)]},'examples':[a128E(0x1f0),a128E(0x200)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const F=a128E;try{const c=b[F(0x1e1)]||![],d=F(0x1ed),f=F(0x1fd),g=F(0x1bb),h=await this[F(0x1ea)][F(0x1f4)](),i=h[F(0x1d2)]['ssr']===F(0x1f3);await this[F(0x1c6)][F(0x1ef)](['session',F(0x1e7)],{'shouldInstall':!![]});const j=this[F(0x1dd)][F(0x1df)](),k=a128e[F(0x1ff)](j,F(0x1d5),'ui','layouts'),l=this[F(0x1dd)]['getDirectories'](k),m=await Actions[F(0x1d1)]({'type':F(0x20b),'name':'layouts','message':F(0x1fb),'choices':l});if(m[F(0x1cb)][F(0x207)]===0x0){Log[F(0x1d4)](F(0x1ce));return;}const n=b[F(0x1f1)]?F(0x204)+b[F(0x1f1)]:F(0x1d3),o=this[F(0x202)][F(0x1f2)]({'pathParts':[n,b[F(0x1f7)],paramCase(d),paramCase(d)]}),p=this[F(0x202)][F(0x1f2)]({'pathParts':[n,b[F(0x1f7)],paramCase(f),paramCase(f)]}),q=this[F(0x202)][F(0x1f2)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1bf)])[F(0x1e4)]('-','\x20')};await this[F(0x202)][F(0x1d9)]({'srcPath':F(0x1f9)+d+F(0x1d6),'destPath':o+'.js','framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x202)][F(0x1d9)]({'srcPath':F(0x1be)+f+F(0x1d6),'destPath':p+F(0x1d6),'framework':F(0x1e5),'context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x202)]['template']({'srcPath':F(0x1c0)+g+F(0x1d6),'destPath':q+F(0x1d6),'framework':F(0x1e5),'context':r,'config':h,'force':c,'ignore':![]});const s=''+n+b[F(0x1f7)]+'/'+d+'/'+d;await this['scaffold'][F(0x1ba)](d,h,s);const t=''+n+b[F(0x1f7)]+'/'+f+'/'+f;await this[F(0x202)][F(0x1ba)](f,h,t);const u=''+n+b[F(0x1f7)]+'/'+g+'/'+g;await this['scaffold'][F(0x1ba)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x1dd)][F(0x1bd)](a128e[F(0x1ff)](k,w),{'extensions':[F(0x201),F(0x1bc)],'omit':[F(0x1c1),'tests',F(0x1c2)]});for(const y of x){const z=a128e[F(0x1ff)](k,w,y);await this[F(0x202)][F(0x1e0)]({'filePath':z,'importName':F(0x1e2),'modulePath':F(0x1f6),'isNamedExport':![]}),await this['scaffold'][F(0x1e0)]({'filePath':z,'importName':F(0x1e9),'modulePath':F(0x1ee),'isNamedExport':![]}),await this[F(0x202)][F(0x1e0)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x1d8):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x202)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x1c8)+w+'\x22>',F(0x1c8)+w+F(0x1dc)],'end':[F(0x208),'<Outlet\x20/>']}),await this[F(0x202)][F(0x1e0)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x1d8):F(0x1f8),'isNamedExport':!![]}),await this['scaffold']['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0x1c5),'begin':[F(0x1c8)+w+'\x22>','<div\x20id=\x22'+w+F(0x1dc)],'end':[F(0x208),F(0x1d7)]}),await this[F(0x202)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[F(0x208),F(0x1d7)],'end':[F(0x1eb)]}),await this[F(0x202)][F(0x1e0)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':F(0x1f8),'isNamedExport':!![]}),await this['scaffold'][F(0x1ca)]({'filePath':z,'aboveContent':F(0x205),'belowContent':F(0x1e8),'targetString':[F(0x208),F(0x1d7)],'targetIndentAdjustment':0x6});}}}catch(A){Log[F(0x1d4)](A);}},async function(){const G=a128E;console[G(0x1c4)](G(0x1d0));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d
|
|
1
|
+
const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0x1a2))/0x1*(parseInt(g(0x1b0))/0x2)+-parseInt(g(0x1ba))/0x3+parseInt(g(0x1ab))/0x4*(parseInt(g(0x1b3))/0x5)+parseInt(g(0x1ad))/0x6+parseInt(g(0x19c))/0x7*(parseInt(g(0x1aa))/0x8)+-parseInt(g(0x19d))/0x9*(parseInt(g(0x1b1))/0xa)+-parseInt(g(0x194))/0xb*(parseInt(g(0x1b8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x589bf));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0x1b5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a[i(0x1b7)]()[i(0x19f)](i(0x1a3))[i(0x1b7)]()[i(0x19b)](a129a)['search'](i(0x1a3));});a129a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x194;let f=c[d];return f;},a129d(a,b);}import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';const MuiGen=Generator['create']({'name':a129j(0x1ac),'aliases':['m'],'usage':a129j(0x1a8),'noNeedResource':!![],'shortDesc':a129j(0x198),'validOpts':[''],'isPro':!![],'examples':[a129j(0x19e)]},async function(){const k=a129j;Log[k(0x1a9)](k(0x1ae)),Log[k(0x1b4)](k(0x1af));const {kitChoices:a}=await Actions['options']({'type':'checkbox','name':k(0x199),'message':k(0x1b2),'choices':[{'name':k(0x1a6),'value':k(0x1b9)},{'name':k(0x19a),'value':k(0x197)}]}),b=this[k(0x1a4)][k(0x1bb)](),c=this[k(0x195)][k(0x196)]();a[k(0x1b6)](k(0x1b9))&&await a129e[k(0x1a1)](k(0x1a7),[],{'force':!![],'cwd':b,'config':c});a[k(0x1b6)](k(0x197))&&await a129e[k(0x1a1)](k(0x1a0),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log['info'](k(0x1a5));return;}},async function(){},a129f);function a129c(){const l=['Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','\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','6ascNES','3890eRmXQg','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','535qjGtLS','notice','apply','includes','toString','12eWQsyi','frame','461625OBEGag','findProjectDirectory','6299601iUZjsK','cfg','getMakaProjectConfig','auth','Material-UI\x20Kit','kitChoices','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','constructor','764918qVZkXh','10953GYTfWM','maka\x20g:kit:m','search','kit:mui:auth','processAndRunGenerator','77365BmazOc','(((.+)+)+)+$','fsi','No\x20MUI\x20kits\x20selected.\x20Exiting.','Header,\x20Footer,\x20and\x20Drawer','kit:mui:frame','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','info','32XjLtoU','20632mBVLXt','mui','2050950YLpfZS'];a129c=function(){return l;};return a129c();}export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130o=a130d;function a130c(){const q=['
|
|
1
|
+
const a130o=a130d;function a130c(){const q=['component/component.js','fileName','527838koluSq','176qsSuCQ','installNpmPackage','cfg','dir','.app-tests.js','layout','fsi','hook/hook.js','33537AdSRrm','warn','constructor','getMakaProjectConfig','withHook','checkNpmPackage','withHooks','findProjectDirectory','toString','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','includes','test','40PorzhP','findAppDirectory','react','493104FsGTbz','assign','/imports/ui/layouts','4680657RwTggE','css','create','2358uABVpz','injectAtBeginningOfFile','client','injectTemplateModule','search','1220280SVdrxM','ramda','maka\x20g:layout\x20mobile/iPhone8','template','.css','setTemplate','features','theme','split','engines','resourceName','withTranslations','template/template.css','test/test.js','600340nuQhSa','.js','import\x20\x27./','scaffold','graphql','Scaffolding\x20for\x20a\x20React\x20Layout.','ssr','string','none','apply','(((.+)+)+)+$','maka\x20g:l\x20web/safari','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','pkg','api','14fbDGVb','1MkhUqU','8285WWtYro'];a130c=function(){return q;};return a130c();}(function(a,b){const l=a130d,c=a();while(!![]){try{const d=-parseInt(l(0x1a9))/0x1*(parseInt(l(0x1ad))/0x2)+-parseInt(l(0x171))/0x3*(-parseInt(l(0x17d))/0x4)+-parseInt(l(0x1aa))/0x5*(-parseInt(l(0x186))/0x6)+-parseInt(l(0x1a8))/0x7*(parseInt(l(0x18b))/0x8)+-parseInt(l(0x183))/0x9+parseInt(l(0x199))/0xa+-parseInt(l(0x1ae))/0xb*(-parseInt(l(0x180))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x5f90b));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a130d;if(c){const e=c[m(0x1a2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const n=a130d;return a130a[n(0x179)]()[n(0x18a)](n(0x1a3))[n(0x179)]()[n(0x173)](a130a)[n(0x18a)](n(0x1a3));});function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x171;let f=c[d];return f;},a130d(a,b);}a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a130o(0x185)]({'name':a130o(0x1b3),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a130o(0x19e),'validOpts':[a130o(0x175)],'examples':[a130o(0x18d),a130o(0x1a4)]},async function(a,b){const p=a130o,c=p(0x182),d=this['fsi'][p(0x17e)](),e=this[p(0x19c)]['pathFromApp']({'pathParts':[c,b[p(0x1b1)],paramCase(b['resourceName']),paramCase(b[p(0x195)])]}),f=await this['cfg'][p(0x174)]();typeof f['template'][p(0x17c)]===p(0x1a0)&&this['cfg'][p(0x190)](p(0x17c),f[p(0x18e)][p(0x17c)]);typeof f[p(0x18e)][p(0x184)]===p(0x1a0)&&this[p(0x1b0)][p(0x190)]('css',f[p(0x18e)][p(0x184)]);typeof f['template']['js']===p(0x1a0)&&this['cfg']['setTemplate']('js',f[p(0x18e)]['js']);const g=b['_']?b['_'][0x0][p(0x193)](':')[0x1]:![],h=b['_']&&aliases[p(0x17b)](g);h&&!this['pkg'][p(0x176)](p(0x18c))&&(Log['warn'](p(0x1a5)),this[p(0x1a6)][p(0x1af)](p(0x18c),{'cwd':d}));if(h&&!this[p(0x1a6)][p(0x176)](p(0x17f))){Log[p(0x172)](p(0x17a));return;}const i={'name':pascalCase(b[p(0x195)]),'myPath':a130e['relative'](this[p(0x1b4)][p(0x178)](),e),'cssCaseName':paramCase(b[p(0x195)]),'className':pascalCase(b[p(0x195)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[p(0x195)]),'graphql':f[p(0x194)][p(0x19d)],'features':f[p(0x191)],'client':f[p(0x194)][p(0x188)],'api':f[p(0x194)][p(0x1a7)],'ssr':f['engines'][p(0x19f)],'test':f[p(0x194)][p(0x17c)],'theme':f['engines'][p(0x192)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0x191)][p(0x196)]};f[p(0x191)]?.[p(0x177)]||b[p(0x175)]?await this[p(0x19c)][p(0x18e)]({'srcPath':p(0x1b5),'destPath':e+'.js','framework':'react','context':i,'config':f}):await this['scaffold']['template']({'srcPath':p(0x1ab),'destPath':e+p(0x19a),'framework':p(0x17f),'context':i,'config':f});f[p(0x194)]['test']!==p(0x1a1)&&await this[p(0x19c)]['template']({'srcPath':p(0x198),'destPath':e+p(0x1b2),'framework':p(0x17f),'context':i,'config':f});f[p(0x18e)][p(0x184)]&&(await this[p(0x19c)]['template']({'srcPath':p(0x197),'destPath':e+p(0x18f),'context':Object[p(0x181)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[p(0x19c)][p(0x187)]({'filePath':e+'.'+f[p(0x194)]['js'],'content':p(0x19b)+i[p(0x1ac)]+'.'+f[p(0x194)]['css']+'\x27;'}));const j=b[p(0x1b1)]?'/'+b['dir']+'/':'/',k=''+c+j+i['fileName']+'/'+i[p(0x1ac)];await this['scaffold'][p(0x189)](i['className'],f,k);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a131c(){const j=['
|
|
1
|
+
const a131i=a131d;function a131c(){const j=['2046708bIsivP','maka\x20g:route\x20todos/edit','search','apply','maka\x20g:api\x20trucks','constructor','maka\x20generate:scaffold\x20todos','8icXmay','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:dbc\x20geoserver\x20--type=pgsql','1389946pmFJtu','maka\x20g:package\x20package:name','811350KjRmlx','216DFlPfC','generate','3223998ZogPIr','5945877eRTFrA','Scaffold\x20various\x20parts\x20of\x20your\x20application','23631jSCoGf','2471330Ubyxyc'];a131c=function(){return j;};return a131c();}(function(a,b){const f=a131d,c=a();while(!![]){try{const d=parseInt(f(0xb1))/0x1+parseInt(f(0xbb))/0x2+parseInt(f(0xb9))/0x3*(-parseInt(f(0xb4))/0x4)+-parseInt(f(0xba))/0x5+-parseInt(f(0xb3))/0x6+-parseInt(f(0xb7))/0x7+-parseInt(f(0xae))/0x8*(-parseInt(f(0xb6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xd3bbe));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a['toString']()[h(0xbd)]('(((.+)+)+)+$')['toString']()[h(0xac)](a131a)[h(0xbd)]('(((.+)+)+)+$');});a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a131i(0xb5),'aliases':['g'],'usage':a131i(0xaf),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a131i(0xb8),'examples':[a131i(0xad),'maka\x20g:scaffold\x20todos','maka\x20g:template\x20todos/todo_item',a131i(0xb2),a131i(0xbc),a131i(0xab),a131i(0xb0)]},async function(){});function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xaa;let f=c[d];return f;},a131d(a,b);}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a132n=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0xa3))/0x1+-parseInt(k(0x89))/0x2*(-parseInt(k(0x8e))/0x3)+parseInt(k(0x9c))/0x4+parseInt(k(0xa2))/0x5*(-parseInt(k(0x8a))/0x6)+-parseInt(k(0x87))/0x7*(-parseInt(k(0x88))/0x8)+-parseInt(k(0x90))/0x9+parseInt(k(0xa9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xd2ba4));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0x8f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a['toString']()[m(0xa8)](m(0xab))[m(0xa7)]()[m(0x91)](a132a)[m(0xa8)](m(0xab));});a132a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a132c(){const p=['pathFromApp','injectAtEndOfFile','startup','23590GiuVLu','1047577McOyKK','maka:check','maka\x20g:method\x20todos','index.','toString','search','26547140qqpaIu','maka\x20{generate,\x20g}:{method,\x20m}\x20name','(((.+)+)+)+$','21wVHQJI','1125680niqnPa','962wbcxsw','2088tGfJxO','methods','resourceName','cfg','4983vxKlcU','apply','12583728iNPMeX','constructor','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','imports','appPathPrefix','-rpc-method.','ddp-rate-limiter','scaffold','getMakaProjectConfig','dir','method','checkMeteorPackage','4299952VWXDIL','method/method.js','error'];a132c=function(){return p;};return a132c();}import{camelCase,paramCase,pascalCase}from'change-case';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x87;let f=c[d];return f;},a132d(a,b);}Generator['create']({'name':a132n(0x9a),'aliases':['m'],'usage':a132n(0xaa),'checkWhere':!![],'shortDesc':a132n(0x92),'validOpts':['dir'],'examples':[a132n(0xa5)]},async function(a,b){const o=a132n;try{const c=await this[o(0x8d)][o(0x98)](),d=b[o(0x99)]?'/'+b[o(0x99)]+'/':'/',f=paramCase(b[o(0x8c)]),g={'name':b[o(0x8c)],'fileName':f,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0x8c)]),'noRename':!![]};let h='js';c['engines']['js']==='tsx'&&(h='ts');await this['pkg'][o(0x9b)]([o(0xa4),o(0x96),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x97)]['template']({'srcPath':o(0x9d),'destPath':this['scaffold']['pathFromApp']({'pathParts':[o(0x93),o(0xa1),b[o(0x94)],o(0x8b),d,f+o(0x95)+h]}),'context':g,'config':c});const i=this['scaffold'][o(0x9f)]({'pathParts':[o(0x93),'startup',b[o(0x94)],o(0xa6)+c['engines']['js']]});await this['scaffold'][o(0xa0)]({'filePath':i,'content':'import\x20\x27./methods'+d+f+'-rpc-method\x27;'});}catch(j){Log[o(0x9e)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-
|
|
1
|
+
const a133p=a133d;function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x88;let f=c[d];return f;},a133d(a,b);}(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0xb2))/0x1+parseInt(m(0xa8))/0x2*(parseInt(m(0xa6))/0x3)+parseInt(m(0x96))/0x4*(parseInt(m(0xa3))/0x5)+parseInt(m(0xa4))/0x6+-parseInt(m(0xae))/0x7*(parseInt(m(0xad))/0x8)+parseInt(m(0xb6))/0x9*(-parseInt(m(0xb5))/0xa)+-parseInt(m(0x9d))/0xb*(parseInt(m(0xac))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x89877));function a133c(){const r=['apply','graphql','toString','917004JMNBOy','template/template.js','pathFromApp','/package.js','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','tests/server','420OxGUWs','6309390ySfQSd','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','1196067gwfxrC','store','4poxlpN','ssr','findProjectDirectory','component','204PZQlsi','9784KMieGd','3129fYqlKE','package/','server','resourceName','158247GOnEEJ','scaffold','hasOwnProperty','10gbQyXK','1262934xMRCuL','template','package','getMakaProjectConfig','theme','dir','search','fsi','packages','layout','features','package.js','maka\x20g:package\x20todos:package','create','/client/','.js','(((.+)+)+)+$','31444JlffSg','noRename','pathFromAppWithNoReWrite','engines'];a133c=function(){return r;};return a133c();}const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0x9c)]()[o(0x8b)](o(0x95))[o(0x9c)]()['constructor'](a133a)[o(0x8b)](o(0x95));});a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133p(0x92)]({'name':a133p(0xb8),'aliases':['p'],'usage':a133p(0xa5),'shortDesc':a133p(0xa1),'validOpts':[a133p(0x8a)],'examples':[a133p(0x91)]},async function(a,b){const q=a133p,c=paramCase(b['resourceName']),d=b[q(0x8a)]?'/'+b[q(0x8a)]+'/':'/',e=this[q(0xb3)][q(0x9f)]({'pathParts':['packages',d,c]}),f=this['scaffold'][q(0x98)]({'pathParts':[q(0x8d),d,c,q(0x90)]}),g=await this['cfg'][q(0x88)](),h={'name':paramCase(b[q(0xb1)]),'myPath':a133e['relative'](this[q(0x8c)][q(0xaa)](),e),'cssCaseName':paramCase(b[q(0xb1)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xb1)]),'fileName':c,'client':g[q(0x99)]['client'],'graphql':g['engines'][q(0x9b)],'ssr':g['engines'][q(0xa9)],'isComponent':b[q(0xb4)](q(0xab)),'isLayout':b['hasOwnProperty'](q(0x8e)),'isStore':b[q(0xb4)](q(0xa7)),'features':g[q(0x8f)],'noRename':!![],'theme':g[q(0x99)][q(0x89)]};await this[q(0xb3)][q(0xb7)]({'srcPath':'package/package.js','destPath':f,'context':h,'config':g}),h[q(0x97)]=![];const i=e+q(0x93)+c+'.js';await this[q(0xb3)]['template']({'srcPath':q(0x9e),'destPath':i,'context':h,'config':g});const j=['lib',q(0xb0),'tests/client',q(0xa2)];for(const k of j){const l=e+'/'+k+'/'+c+q(0x94);await this[q(0xb3)][q(0xb7)]({'srcPath':q(0xaf)+k+q(0xa0),'destPath':l,'context':h,'config':g});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a134t=a134d;(function(a,b){const r=a134d,c=a();while(!![]){try{const d=-parseInt(r(0x1f5))/0x1*(-parseInt(r(0x238))/0x2)+-parseInt(r(0x214))/0x3*(parseInt(r(0x219))/0x4)+parseInt(r(0x22d))/0x5*(parseInt(r(0x23a))/0x6)+-parseInt(r(0x240))/0x7+-parseInt(r(0x207))/0x8+parseInt(r(0x209))/0x9+parseInt(r(0x227))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xcab51));const a134b=(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;};}()),a134a=a134b(this,function(){const s=a134d;return a134a[s(0x200)]()[s(0x204)](s(0x23c))['toString']()[s(0x1fd)](a134a)['search'](s(0x23c));});a134a();import a134e from'path';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a134d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';function a134c(){const v=['fileName','2SUjwBE','<Route\x20index','4042758Ihazcf','routes.','(((.+)+)+)+$','url','error','toLowerCase','11079551YaRqYe','/imports/ui/pages','relative','</Route>','injectTemplateModule','.html','127234dGpELy','getMakaProjectConfig','engines','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','ssr','css','vanilla','injectAtBeginningOfFile','constructor','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','<Route\x20element={<PrivateRoute\x20/>}>','toString','warn','maka\x20g:page\x20todos/todos-item','setTemplate','search','string','.js','5760776OhzOmO','\x27;\x0a','11786931QmaQxT','template','ramda','indexOf','private','pkg','client','features','component/component.js','checkNpmPackage','test/test.js','20541MFVeyo','api','/>}/>\x0a','root','html','172TbrYkl','react','assign','import\x20\x27./','store','startup','installNpmPackage','withTranslations','trim','component','replaceAll','cfg','scaffold','pathFromApp','13169140ROXSgy','<Route\x20path=\x22*\x22','slice','fsi','\x22\x20element={<Component.','replace','5QxiefE','Updating\x20npm\x20packages\x20...','dir','test','create','resourceName','theme','hasOwnProperty','join','lib'];a134c=function(){return v;};return a134c();}const aliases=['p'];Generator[a134t(0x231)]({'name':'page','aliases':aliases,'usage':a134t(0x1f8),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a134t(0x20d),'boolFlag':!![]},{'name':a134t(0x23d)}],'examples':[a134t(0x202)]},async function(a,b){const u=a134t,c=u(0x241),d=this[u(0x22a)]['findAppDirectory'](),e=b['resourceName']['includes'](':')?b['resourceName']['split'](':')[0x0][u(0x221)]():b[u(0x232)]['trim'](),f=b['dir'][u(0x223)]('/','_')+'_'+e[u(0x223)]('/','_'),g=this[u(0x225)][u(0x226)]({'pathParts':[c,b[u(0x22f)],paramCase(f),paramCase(f)]}),h=await this[u(0x224)][u(0x1f6)]();let i='';typeof h[u(0x20a)]['html']===u(0x205)&&this[u(0x224)][u(0x203)](u(0x218),h[u(0x20a)][u(0x218)]);typeof h[u(0x20a)][u(0x230)]==='string'&&this[u(0x224)][u(0x203)](u(0x230),h['template'][u(0x230)]);typeof h[u(0x20a)][u(0x1fa)]===u(0x205)&&this[u(0x224)]['setTemplate']('css',h[u(0x20a)][u(0x1fa)]);typeof h[u(0x20a)]['js']==='string'&&this[u(0x224)]['setTemplate']('js',h[u(0x20a)]['js']);!b[u(0x217)]&&!this[u(0x20e)][u(0x212)]('ramda')&&(Log[u(0x201)](u(0x22e)),this[u(0x20e)][u(0x21f)](u(0x20b),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a134e[u(0x242)](this['fsi']['findProjectDirectory'](),g),'cssCaseName':paramCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':paramCase(f),'graphql':h['engines']['graphql'],'features':h[u(0x210)],'client':h[u(0x1f7)]['client'],'api':h[u(0x1f7)][u(0x215)],'ssr':h[u(0x1f7)][u(0x1f9)],'isStore':b[u(0x234)](u(0x21d)),'isComponent':b[u(0x234)](u(0x222)),'isLayout':b[u(0x234)]('layout'),'withTranslations':h[u(0x210)][u(0x220)],'test':h[u(0x1f7)][u(0x230)],'theme':h[u(0x1f7)][u(0x233)]};h['template']['html']&&await this[u(0x225)][u(0x20a)]({'srcPath':'template/template.html','destPath':g+u(0x1f4),'context':j,'config':h});h[u(0x210)]?.['withHooks']?await this[u(0x225)][u(0x20a)]({'srcPath':'hook/hook.js','destPath':g+u(0x206),'framework':u(0x21a),'context':j,'config':h}):await this[u(0x225)][u(0x20a)]({'srcPath':u(0x211),'destPath':g+u(0x206),'framework':'react','context':j,'config':h});h[u(0x1f7)][u(0x230)]!=='none'&&await this[u(0x225)][u(0x20a)]({'srcPath':u(0x213),'destPath':g+'.app-tests.js','framework':'react','context':j,'config':h});h['template'][u(0x1fa)]&&await this[u(0x225)][u(0x20a)]({'srcPath':'template/template.css','destPath':g+'.css','context':Object[u(0x21b)]({},j,{'className':paramCase(b[u(0x232)])}),'config':h});h['engines'][u(0x20f)]!=='react'&&h[u(0x1f7)]['client']!==u(0x1fb)?(h[u(0x20a)][u(0x1fa)]&&await this[u(0x225)]['injectAtBeginningOfFile']({'filePath':g+'.'+h['engines']['js'],'content':u(0x21c)+j[u(0x237)]+'.'+h[u(0x1f7)]['html']+u(0x208)+u(0x21c)+j[u(0x237)]+'.'+h[u(0x1f7)][u(0x1fa)]+'\x27;'}),!h[u(0x20a)][u(0x1fa)]&&await this[u(0x225)][u(0x1fc)]({'filePath':g+'.'+h[u(0x1f7)]['js'],'content':u(0x21c)+j[u(0x237)]+'.'+h[u(0x1f7)][u(0x218)]+'\x27;'})):h['template']['css']&&await this[u(0x225)][u(0x1fc)]({'filePath':g+'.'+h[u(0x1f7)]['js'],'content':'import\x20\x27./'+j[u(0x237)]+'.'+h[u(0x1f7)][u(0x1fa)]+'\x27;'});const k=b[u(0x22f)]?'/'+b[u(0x22f)]+'/':'/';i=''+c+k+j[u(0x237)]+'/'+j[u(0x237)],await this['scaffold'][u(0x244)](j['className'],h,i);if(!b[u(0x217)]){const l=b['private']??![];if(!f){Log[u(0x23e)](u(0x1fe));throw new UsageError();}let m=b[u(0x23d)]?b['url']:'/'+b[u(0x22f)]['trim']()+'/'+b[u(0x232)][u(0x221)]()['replace'](/\\/g,'/')['replace'](/\/+$/,'')[u(0x23f)]();const n=b[u(0x232)][u(0x20c)](':');n!==-0x1&&(m+='/'+b[u(0x232)]['substring'](0x0,n)[u(0x221)]());m['endsWith']('/')&&(m=m[u(0x229)](0x0,-0x1));m=m[u(0x22c)](/\/\//g,'/');const o=h['engines']['js'],p=h[u(0x1f7)][u(0x1f9)]==='true'?u(0x236):u(0x20f),q=a134e[u(0x235)](d,'imports',u(0x21e),p,u(0x23b)+o);l?await this[u(0x225)]['injectIntoFile']({'filePath':q,'content':'<Route\x20path=\x22'+m+u(0x22b)+pascalCase(f)+u(0x216),'begin':[u(0x1ff)],'end':[u(0x243)]}):await this['scaffold']['injectIntoFile']({'filePath':q,'content':'<Route\x20path=\x22'+m+'\x22\x20element={<Component.'+pascalCase(f)+u(0x216),'begin':[u(0x239)],'end':[u(0x228)]});}});
|