@maka/maka-cli 5.0.15 → 5.0.16
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(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(0xd8))/0x1+-parseInt(f(0xda))/0x2*(-parseInt(f(0xd9))/0x3)+-parseInt(f(0xe1))/0x4+parseInt(f(0xdf))/0x5*(parseInt(f(0xdc))/0x6)+-parseInt(f(0xd6))/0x7*(-parseInt(f(0xdd))/0x8)+-parseInt(f(0xd7))/0x9*(parseInt(f(0xd3))/0xa)+parseInt(f(0xe0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x3dd1b));var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a[h(0xd5)]()[h(0xde)]('(((.+)+)+)+$')[h(0xd5)]()[h(0xd4)](a117a)[h(0xde)](h(0xe2));});a117a();function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0xd3;var f=c[d];return f;},a117d(a,b);}import'./kit.js';import'./mui/_index.js';function a117c(){var i=['696912krvsns','search','85IyyPdy','8044377nebZXh','1426476PHBdfC','(((.+)+)+)+$','30WaRHap','constructor','toString','7OmFlDF','1241883UmXpQk','131874bUekLD','8187nJhbyl','162oZVDjw','apply','41010fXTzoj'];a117c=function(){return i;};return a117c();}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(0xfa))/0x1*(-parseInt(f(0xf1))/0x2)+-parseInt(f(0xfb))/0x3*(parseInt(f(0xee))/0x4)+parseInt(f(0xef))/0x5*(-parseInt(f(0xf4))/0x6)+-parseInt(f(0xf3))/0x7*(parseInt(f(0xf2))/0x8)+parseInt(f(0xf8))/0x9*(parseInt(f(0xfc))/0xa)+parseInt(f(0xed))/0xb+parseInt(f(0xf5))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xba6ad));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()[h(0xf0)](h(0xf7))[h(0xf6)]()['constructor'](a118a)[h(0xf0)](h(0xf7));});function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xed;var f=c[d];return f;},a118d(a,b);}a118a();import'./auth.generator.js';import'./provider.auth.gen.js';function a118c(){var i=['5596452cjLoWY','toString','(((.+)+)+)+$','18IrYzmh','apply','1VLQhLx','8331EjkvCB','4392730ajNVjp','14711510hzoIJP','280nvXtDf','5080NIIDDW','search','1215776thtjdQ','688WPrXhH','44814pnqfOr','3342HZlJGG'];a118c=function(){return i;};return a118c();}import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119h=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x109))/0x1+parseInt(f(0x11a))/0x2*(parseInt(f(0x115))/0x3)+parseInt(f(0x10f))/0x4+-parseInt(f(0x110))/0x5*(parseInt(f(0x113))/0x6)+-parseInt(f(0x116))/0x7*(parseInt(f(0x118))/0x8)+-parseInt(f(0x114))/0x9+parseInt(f(0x10e))/0xa*(-parseInt(f(0x11b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xe1408));const a119b=(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;};}()),a119a=a119b(this,function(){const g=a119d;return a119a[g(0x10d)]()[g(0x119)]('(((.+)+)+)+$')['toString']()[g(0x10b)](a119a)[g(0x119)](g(0x112));});function a119c(){const j=['\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','1749800NoGGYQ','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','constructor','create','toString','430HMrdvT','2714904Dvunlf','1145eDFwQm','NIE','(((.+)+)+)+$','21690ngFbhL','11993004HFOrXl','4997001nNGjPf','3857791LbCliV','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','8Pjfvij','search','2GYNHPQ','117689chPfnE'];a119c=function(){return j;};return a119c();}a119a();import{Generator}from'../../../generator.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x109;let f=c[d];return f;},a119d(a,b);}import a119e from'../kit.js';const AuthGen=Generator[a119h(0x10c)]({'name':'auth','aliases':['a'],'usage':a119h(0x117),'noNeedResource':!![],'shortDesc':a119h(0x10a),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:a'],'description':a119h(0x11c)},async function(){const i=a119h;throw i(0x111);},async function(){},a119e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120q=a120d;(function(a,b){const o=a120d,c=a();while(!![]){try{const d=-parseInt(o(0x188))/0x1*(parseInt(o(0x18b))/0x2)+parseInt(o(0x17b))/0x3+parseInt(o(0x159))/0x4*(-parseInt(o(0x169))/0x5)+-parseInt(o(0x18d))/0x6+parseInt(o(0x160))/0x7*(-parseInt(o(0x15e))/0x8)+parseInt(o(0x18c))/0x9*(-parseInt(o(0x175))/0xa)+-parseInt(o(0x15d))/0xb*(-parseInt(o(0x16e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xd7115));function a120c(){const s=['624063Yyparh','/imports/startup/client/authentication-service','Accounts','fsi','processAndRunGenerator','injectIntoCodeBlock','const\x20authenticateUser','kit/auth/service/meteor-auth-service.js','true','search','alanning:roles','ssr','force','101373GLrlkc','authentication-service','meteor/meteor','2kntMbb','1654677lfqLqL','898494KdEKxP','injectIntoFile','\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','auth/roles','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\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','kit:auth:provider','server','/imports/startup/lib/authentication-service','meteor/maka:react-tracker','constructor','accounts-password','react','Meteor','pkg','REACT','cfg','injectImport','26104VDUpPV','index','const\x20authenticateToken','\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','470822rXGhkb','58184roHUoC','meteor','483NUbzRi','Meteor.publish','startup','imports','error','getMakaProjectConfig','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','create','scaffold','545BQYMEQ','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','export\x20const\x20AuthProvider','authentication-provider','960AwRMIH','pathFromApp','engines','checkMeteorPackage','\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','findProjectDirectory','(((.+)+)+)+$','70LIiJic','const\x20registerNewUser','\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','AuthService','/imports/startup/lib','toString'];a120c=function(){return s;};return a120c();}const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const p=a120d;return a120a[p(0x17a)]()[p(0x184)](p(0x174))[p(0x17a)]()[p(0x197)](a120a)['search'](p(0x174));});a120a();import{Generator}from'../../../generator.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x158;let f=c[d];return f;},a120d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a120e from'./auth.generator.js';import a120f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120q(0x167)]({'name':a120q(0x15f),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a120q(0x166),'validOpts':[a120q(0x187)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120q(0x19c)]},'description':a120q(0x16a)},async function(a,b){const r=a120q;try{const c=b[r(0x187)]||![];await this[r(0x19b)][r(0x171)]([r(0x198),r(0x185)],{'shouldInstall':!![]});const d=this[r(0x17e)][r(0x173)](),f=await this[r(0x19d)][r(0x165)](),g=f['engines'][r(0x186)]===r(0x183);await a120f[r(0x17f)](r(0x193),[],{'force':c,'cwd':d,'config':f});const h=await a120f[r(0x17f)]('publish',[r(0x190)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?r(0x179):'/imports/startup/client',j=this[r(0x168)][r(0x16f)]({'pathParts':[i,'','',r(0x189)]});await this[r(0x168)]['template']({'srcPath':r(0x182),'destPath':j+'.js','framework':r(0x199),'context':{},'config':f,'force':c,'ignore':![]});const k=this[r(0x168)][r(0x16f)]({'pathParts':[i,'','',r(0x16d)]}),l=f[r(0x170)]['js'];await this['scaffold'][r(0x158)]({'filePath':k+'.'+l,'importName':r(0x178),'modulePath':g?r(0x195):r(0x17c),'isNamedExport':![]}),await this[r(0x168)][r(0x180)]({'filePath':k+'.'+l,'content':r(0x192),'begin':r(0x181),'replace':!![]}),await this[r(0x168)][r(0x180)]({'filePath':k+'.'+l,'content':r(0x177),'begin':r(0x15b),'replace':!![]}),await this[r(0x168)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x18f),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this[r(0x168)][r(0x180)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20deauthenticateUser','replace':!![]}),await this[r(0x168)][r(0x180)]({'filePath':k+'.'+l,'content':r(0x16b),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await this['scaffold'][r(0x180)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x176),'replace':!![]}),await this[r(0x168)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x191),'begin':'const\x20resetPasswordWithToken','replace':!![]});g&&(await this[r(0x168)][r(0x158)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':r(0x196),'isNamedExport':!![]}),await this['scaffold'][r(0x18e)]({'filePath':k+'.'+l,'content':r(0x15c),'begin':r(0x16c),'end':'return\x20\x5c('}));await this[r(0x168)]['injectImport']({'filePath':h,'importName':r(0x19a),'modulePath':r(0x18a),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold'][r(0x180)]({'filePath':h,'content':r(0x172),'begin':r(0x161),'replace':!![]});const m=this[r(0x168)][r(0x16f)]({'pathParts':[r(0x163),r(0x162),r(0x194),r(0x15a)]});await this['scaffold'][r(0x158)]({'filePath':m+'.'+l,'importName':r(0x17d),'modulePath':'meteor/accounts-base','isNamedExport':!![]}),await this['scaffold'][r(0x180)]({'filePath':m+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':'Meteor.startup','replace':!![]});}catch(n){Log[r(0x164)](n),process['exit'](0x1);}},async function(){},a120e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121w=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=-parseInt(u(
|
|
1
|
+
const a121w=a121d;function a121c(){const y=['appName','engines','error','toString','12JeSLsD','/imports/startup/lib/authentication-provider','(((.+)+)+)+$','/imports/startup/lib','pathFromApp','exit','const\x20PrivateRoute','injectAroundString','<AuthProvider>','bright','AuthContext','react','6844952WaLDSJ','constructor','scaffold','\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','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','authentication-provider','/imports/startup/server/index','force','/routes','2365174VPancM','function\x20useAuth','split','/imports/startup/client/index','</AuthProvider>','1004935hoDozn','7620235pacWwv','injectImport','true','20886903MeHpPy','<AppRoutes\x20/>','injectIntoCodeBlock','create','/imports/startup/client/authentication-provider','3480PPfPkA','252715qomzcU','1068Eaclzu','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','getMakaProjectConfig','replaceAll'];a121c=function(){return y;};return a121c();}(function(a,b){const u=a121d,c=a();while(!![]){try{const d=-parseInt(u(0xfc))/0x1+parseInt(u(0xed))/0x2+parseInt(u(0xfb))/0x3*(-parseInt(u(0xfd))/0x4)+-parseInt(u(0xf2))/0x5*(parseInt(u(0x105))/0x6)+-parseInt(u(0xf3))/0x7+-parseInt(u(0x111))/0x8+parseInt(u(0xf6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x91321));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[v(0x104)]()['search'](v(0x107))[v(0x104)]()[v(0x112)](a121a)['search']('(((.+)+)+)+$');});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xec;let f=c[d];return f;},a121d(a,b);}import a121e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121w(0xf9)]({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a121w(0xfe),'validOpts':[a121w(0x118)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a121w(0x114)},async function(a,b){const x=a121w;try{const c=b[x(0x118)]||![];Log[x(0x10e)](x(0x115));const d=await this['cfg'][x(0xff)](),f=d[x(0x102)]['ssr']===x(0xf5),g={'name':headerCase(d[x(0x101)])[x(0x100)]('-','\x20')},h=f?x(0x108):'/imports/startup/client',i=this['scaffold']['pathFromApp']({'pathParts':[h,'','',x(0x116)]});await this[x(0x113)]['template']({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+'.js','framework':x(0x110),'context':g,'config':d,'force':c,'ignore':![]});const j=d[x(0x102)]['js'],k=h+x(0xec),l=k[x(0xef)]('/'),m=this[x(0x113)][x(0x109)]({'pathParts':l});await this[x(0x113)]['injectImport']({'filePath':m+'.'+j,'importName':x(0x10f),'modulePath':f?x(0x106):x(0xfa),'isNamedExport':!![]}),await this[x(0x113)][x(0xf4)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':x(0x110),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x113)][x(0xf8)]({'filePath':m+'.'+j,'content':'\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','begin':['const\x20useAuth',x(0xee)],'replace':!![]}),await this[x(0x113)][x(0xf8)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','begin':[x(0x10b)],'replace':!![]});const n=x(0xf0),o=n['split']('/'),p=this[x(0x113)][x(0x109)]({'pathParts':o});await this[x(0x113)]['injectImport']({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':x(0xfa),'isNamedExport':!![]}),await this['scaffold'][x(0x10c)]({'filePath':p+'.'+j,'aboveContent':x(0x10d),'belowContent':x(0xf1),'targetString':x(0xf7),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x117),r=q[x(0xef)]('/'),s=this['scaffold'][x(0x109)]({'pathParts':r});await this[x(0x113)][x(0xf4)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['scaffold'][x(0x10c)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0x103)](t),process[x(0x10a)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x16c))/0x1+parseInt(f(0x16a))/0x2+-parseInt(f(0x170))/0x3*(parseInt(f(0x167))/0x4)+-parseInt(f(0x166))/0x5+-parseInt(f(0x16f))/0x6+parseInt(f(0x16d))/0x7+-parseInt(f(0x16e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xd2aa4));function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x166;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(0x16b)]()[g(0x171)]('(((.+)+)+)+$')['toString']()[g(0x169)](a122a)[g(0x171)](g(0x168));});a122a();import'./esri.generator.js';function a122c(){var h=['7680474QMdFed','1106817tjlvVe','search','1947620iGhMlI','4ZEeJuP','(((.+)+)+)+$','constructor','3164292pwtcII','toString','465831sMoSSz','6915027IEPUdm','1075296KLCipA'];a122c=function(){return h;};return a122c();}import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x165;let f=c[d];return f;},a123d(a,b);}const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d=-parseInt(f(0x166))/0x1+-parseInt(f(0x16b))/0x2+-parseInt(f(0x174))/0x3+parseInt(f(0x178))/0x4+parseInt(f(0x170))/0x5+parseInt(f(0x175))/0x6+parseInt(f(0x16a))/0x7*(parseInt(f(0x167))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x23ffe));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0x16e)]()['search']('(((.+)+)+)+$')[h(0x16e)]()[h(0x168)](a123a)[h(0x177)](h(0x16c));});a123a();import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator['create']({'name':'esri','aliases':['e'],'usage':a123i(0x16f),'noNeedResource':!![],'shortDesc':a123i(0x16d),'validOpts':[''],'isPro':!![],'examples':[a123i(0x173)],'description':a123i(0x176)},async function(){const j=a123i;return{'success':!![],'message':j(0x165),'details':{'filesCreated':[j(0x171)],'filesUpdated':[j(0x169)]}};},async function(){},a123e);function a123c(){const k=['8GRSJpq','constructor','/foo','39263agaqUM','255250Kppevk','(((.+)+)+)+$','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','900005VSSEUP','/foo/bar','apply','maka\x20g:kit:e','140304vvUEuz','713442VNnAti','\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','search','736156iWKdTN','Esri\x20Kit\x20generated\x20successfully','166709FUdorB'];a123c=function(){return k;};return a123c();}export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124s=a124d;(function(a,b){const p=a124d,c=a();while(!![]){try{const d=parseInt(p(
|
|
1
|
+
const a124s=a124d;(function(a,b){const p=a124d,c=a();while(!![]){try{const d=parseInt(p(0x190))/0x1+-parseInt(p(0x188))/0x2*(parseInt(p(0x1a5))/0x3)+parseInt(p(0x174))/0x4+-parseInt(p(0x1a6))/0x5+parseInt(p(0x18d))/0x6+-parseInt(p(0x18f))/0x7+parseInt(p(0x184))/0x8*(parseInt(p(0x182))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xb7f3a));function a124c(){const u=['esri-loader','getMakaProjectConfig','findProjectDirectory','template','engines','Generating\x20a\x20map\x20component','/imports/startup/client/templates','549OQumzV','/imports/startup/lib/templates','82224azSdjZ','replaceAll','appName','ssr','1672smvniy','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','toString','baseDir','page','5067978LukSEL','injectIntoFile','2665579RVCSEi','249282OnMxdG','create','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','(((.+)+)+)+$','/imports/ui/','pathFromApp','REACT','\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','apply','FALSE','@esri/react-arcgis','map','<div\x20id=\x22map\x22>','dir','search','fsi','basic-map','bright','checkNpmPackage','scaffold','.js','4260OmvNnD','4239470RzVaso','cfg','5793496HsXnuo','/imports/ui/hooks','react','constructor','Generate\x20an\x20Esri\x20map\x20component','error','injectImport'];a124c=function(){return u;};return a124c();}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a124d;if(c){const e=c[q(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const r=a124d;return a124a[r(0x18a)]()[r(0x19e)](r(0x193))[r(0x18a)]()[r(0x177)](a124a)['search'](r(0x193));});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';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x173;let f=c[d];return f;},a124d(a,b);}import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124s(0x191)]({'name':a124s(0x19b),'aliases':['m'],'usage':a124s(0x189),'shortDesc':a124s(0x178),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a124s(0x196)],'ssr':SsrEngines[a124s(0x199)]},'description':a124s(0x197)},async function(a,b){const t=a124s;try{Log[t(0x1a1)](t(0x180));const c=t(0x1a0);await this['pkg'][t(0x1a2)]([t(0x19a),t(0x17b)],{'shouldInstall':!![]});const d=this[t(0x19f)][t(0x17d)](),f=await this[t(0x173)][t(0x17c)](),g=f[t(0x17f)][t(0x187)]==='true',h=await a124f['processAndRunGenerator'](t(0x18c),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x186)])[t(0x185)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x18b)]?t(0x194)+b['baseDir']:t(0x175),k=this[t(0x1a3)][t(0x195)]({'pathParts':[j,b[t(0x19d)],paramCase(c),paramCase(c)]});await this[t(0x1a3)][t(0x17e)]({'srcPath':'kit/esri/map/'+c+'.js','destPath':k+t(0x1a4),'framework':t(0x176),'context':i,'config':f,'force':![],'ignore':![]});const l=''+j+b['dir']+'/'+c+'/'+c;await this[t(0x1a3)]['injectTemplateModule'](c,f,l);const m=h['split']('/'),n=this[t(0x1a3)][t(0x195)]({'pathParts':m});await this[t(0x1a3)][t(0x17a)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x183):t(0x181),'isNamedExport':!![]}),await this[t(0x1a3)][t(0x18e)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x192),'begin':[t(0x19c),t(0x19c)],'end':['</div>'],'replace':!![]});}catch(o){Log[t(0x179)](o),process['exit'](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=-parseInt(f(0x1dc))/0x1*(parseInt(f(0x1d6))/0x2)+-parseInt(f(0x1df))/0x3*(parseInt(f(0x1e2))/0x4)+-parseInt(f(0x1dd))/0x5+-parseInt(f(0x1db))/0x6*(parseInt(f(0x1d8))/0x7)+parseInt(f(0x1d5))/0x8*(parseInt(f(0x1d1))/0x9)+parseInt(f(0x1e1))/0xa*(parseInt(f(0x1da))/0xb)+-parseInt(f(0x1d2))/0xc*(-parseInt(f(0x1d9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x2a582));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0x1cf)]()[h(0x1de)](h(0x1d7))[h(0x1cf)]()['constructor'](a125a)[h(0x1de)]('(((.+)+)+)+$');});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a125d(a,b);}a125a();function a125c(){const j=['toString','maka\x20g:kit','99dgLTjO','155508TiCMAm','kit','create','173696aFdUML','12614wliUeH','(((.+)+)+)+$','7EWaqwF','520AyEoEe','3388rXvivn','949080cgRXkR','49xvcxRN','33070qlBKRl','search','291PuajYW','apply','4900yHWvwB','10756asQbMo','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.'];a125c=function(){return j;};return a125c();}import{Generator}from'../../generator.js';const KitGen=Generator[a125i(0x1d4)]({'name':a125i(0x1d3),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a125i(0x1ce),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a125i(0x1d0),'maka\x20g:k']},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a126d,c=a();while(!![]){try{var d
|
|
1
|
+
function a126c(){var i=['28MjGJuL','apply','6873328qvWuis','31745bKLHmD','699682stMtcd','60gyMvVM','1067148ZYmJiZ','constructor','4521960rhiuoo','(((.+)+)+)+$','search','2213748Jqmzio','105642NNmXcR','toString','1170gmnSoK'];a126c=function(){return i;};return a126c();}(function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(0x136))/0x1+-parseInt(f(0x132))/0x2*(-parseInt(f(0x12f))/0x3)+parseInt(f(0x12e))/0x4+parseInt(f(0x13a))/0x5+parseInt(f(0x131))/0x6*(parseInt(f(0x135))/0x7)+-parseInt(f(0x134))/0x8+parseInt(f(0x138))/0x9*(-parseInt(f(0x137))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x89e86));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a['toString']()[h(0x12d)](h(0x13b))[h(0x130)]()[h(0x139)](a126a)[h(0x12d)](h(0x13b));});a126a();import'./mui.generator.js';import'./frame.mui.gen.js';function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x12d;var f=c[d];return f;},a126d(a,b);}import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a127c(){const M=['kit:auth:meteor','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','kit/mui/auth/logout/','meteor','ssr','1527865ICRAtG','8JfOOPE','layouts','maka\x20g:k:m:f','create','basic-login-page','template','REACT','getMakaProjectConfig','true','AuthContext','2824591hKXeWD','react','injectImport','/imports/startup/client/authentication-provider','84zbSxSf','toString','dir','injectTemplateModule','/imports/ui/','auth','scaffold','(((.+)+)+)+$','kit/mui/auth/forgot-password/','13304890tAMgXQ','baseDir','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','force','apply','route','.js','97742jtqIPP','log','forgot-password','split','pathFromApp','error','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','custom','basic-register-page','3CiSapU','259twuMwY','engines','kit/mui/auth/register/','basic-logout-page','maka\x20generate:kit:mui:frame','register','kit/mui/auth/login/','basic-password-reset-page','kit:auth:provider','/imports/startup/lib/authentication-provider','MATERIAL','14433444LlRKUO','3dWSrpI','processAndRunGenerator','appName','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','options','3183404jjriht','55470NvQSDy','Custom\x20(roll\x20your\x20own)','logout','basic-forgot-password-page'];a127c=function(){return M;};return a127c();}const a127J=a127d;(function(a,b){const G=a127d,c=a();while(!![]){try{const d=-parseInt(G(0xdc))/0x1*(-parseInt(G(0xd3))/0x2)+parseInt(G(0xa5))/0x3*(-parseInt(G(0xaa))/0x4)+-parseInt(G(0xb4))/0x5+parseInt(G(0xab))/0x6*(parseInt(G(0xdd))/0x7)+parseInt(G(0xb5))/0x8*(-parseInt(G(0xa4))/0x9)+parseInt(G(0xcc))/0xa+parseInt(G(0xbf))/0xb*(parseInt(G(0xc3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xde886));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a127d;if(c){const e=c[H(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const I=a127d;return a127a[I(0xc4)]()['search'](I(0xca))[I(0xc4)]()['constructor'](a127a)['search'](I(0xca));});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';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x9e;let f=c[d];return f;},a127d(a,b);}import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127J(0xb8)]({'name':a127J(0xc8),'aliases':['a'],'usage':a127J(0xa8),'shortDesc':a127J(0xd9),'validOpts':[a127J(0xb6),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a127J(0xa3)],'client':ClientEngines[a127J(0xbb)]},'examples':[a127J(0xe1),a127J(0xb7)],'description':a127J(0xce)},async function(a,b){const K=a127J;try{const c=b[K(0xcf)]||![],d=this['fsi']['findProjectDirectory'](),f=await this['cfg'][K(0xbc)](),{authType:g}=await Actions[K(0xa9)]({'type':'list','name':'authType','message':K(0xb0),'choices':[{'name':'Meteor\x20Accounts','value':K(0xb2)},{'name':K(0xac),'value':'custom'}]}),h='basic-login-page',i=K(0xe0),j=K(0xdb),k=K(0xa0),l=K(0xae),m=b[K(0xcd)]?K(0xc7)+b['baseDir']:'/imports/ui/pages/auth',n=this[K(0xc9)][K(0xd7)]({'pathParts':[m,b[K(0xc5)],paramCase(h),paramCase(h)]}),o=this[K(0xc9)]['pathFromApp']({'pathParts':[m,b[K(0xc5)],paramCase(i),paramCase(i)]}),p=this['scaffold']['pathFromApp']({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this[K(0xc9)][K(0xd7)]({'pathParts':[m,b[K(0xc5)],paramCase(k),paramCase(k)]}),r=this[K(0xc9)][K(0xd7)]({'pathParts':[m,b[K(0xc5)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0xa7)])['replaceAll']('-','\x20')};await this[K(0xc9)][K(0xba)]({'srcPath':K(0x9f)+h+K(0xd2),'destPath':n+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['scaffold'][K(0xba)]({'srcPath':K(0xb1)+i+K(0xd2),'destPath':o+K(0xd2),'framework':K(0xc0),'context':s,'config':f,'force':c,'ignore':![]}),await this['scaffold'][K(0xba)]({'srcPath':K(0xdf)+j+K(0xd2),'destPath':p+K(0xd2),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0xc9)][K(0xba)]({'srcPath':'kit/mui/auth/password-reset/'+k+K(0xd2),'destPath':q+K(0xd2),'framework':K(0xc0),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0xc9)][K(0xba)]({'srcPath':K(0xcb)+l+K(0xd2),'destPath':r+K(0xd2),'framework':K(0xc0),'context':s,'config':f,'force':c,'ignore':![]});const t=''+m+b[K(0xc5)]+'/'+h+'/'+h;await this['scaffold'][K(0xc6)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this[K(0xc9)][K(0xc6)](i,f,u);const v=''+m+b[K(0xc5)]+'/'+j+'/'+j;await this[K(0xc9)]['injectTemplateModule'](j,f,v);const w=''+m+b[K(0xc5)]+'/'+k+'/'+k;await this[K(0xc9)][K(0xc6)](k,f,w);const x=''+m+b[K(0xc5)]+'/'+l+'/'+l;await this[K(0xc9)]['injectTemplateModule'](l,f,x),await a127e[K(0xa6)](K(0xd1),[K(0xb9)],{'route':'login','cwd':d,'config':f}),await a127e[K(0xa6)](K(0xd1),[K(0xe0)],{'route':K(0xad),'private':!![],'cwd':d,'config':f}),await a127e[K(0xa6)](K(0xd1),['basic-register-page'],{'route':K(0x9e),'cwd':d,'config':f}),await a127e[K(0xa6)](K(0xd1),['basic-password-reset-page'],{'route':'reset-password/:token','cwd':d,'config':f}),await a127e[K(0xa6)](K(0xd1),[K(0xae)],{'route':K(0xd5),'cwd':d,'config':f});g==='meteor'&&await a127e['processAndRunGenerator'](K(0xaf),[],{'force':c,'cwd':d,'config':f});g===K(0xda)&&await a127e[K(0xa6)](K(0xa1),[],{'force':c,'cwd':d,'config':f});const y=f[K(0xde)][K(0xb3)]===K(0xbd),z=f[K(0xde)]['js'],A=this[K(0xc9)][K(0xd7)]({'pathParts':t[K(0xd6)]('/')});await this[K(0xc9)][K(0xc1)]({'filePath':A+'.'+z,'importName':K(0xbe),'modulePath':y?K(0xa2):K(0xc2),'isNamedExport':!![]});const B=this['scaffold'][K(0xd7)]({'pathParts':u['split']('/')});await this[K(0xc9)][K(0xc1)]({'filePath':B+'.'+z,'importName':K(0xbe),'modulePath':y?K(0xa2):K(0xc2),'isNamedExport':!![]});const C=this[K(0xc9)]['pathFromApp']({'pathParts':v['split']('/')});await this[K(0xc9)]['injectImport']({'filePath':C+'.'+z,'importName':'AuthContext','modulePath':y?K(0xa2):K(0xc2),'isNamedExport':!![]});const D=this['scaffold']['pathFromApp']({'pathParts':w[K(0xd6)]('/')});await this['scaffold'][K(0xc1)]({'filePath':D+'.'+z,'importName':K(0xbe),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[K(0xc9)][K(0xd7)]({'pathParts':x[K(0xd6)]('/')});await this['scaffold'][K(0xc1)]({'filePath':E+'.'+z,'importName':K(0xbe),'modulePath':y?K(0xa2):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log[K(0xd8)](F);}},async function(){const L=a127J;console[L(0xd4)]('Cleaning\x20up...');},a127f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128E=a128d;
|
|
1
|
+
const a128E=a128d;(function(a,b){const B=a128d,c=a();while(!![]){try{const d=parseInt(B(0x203))/0x1+-parseInt(B(0x205))/0x2*(-parseInt(B(0x1f5))/0x3)+-parseInt(B(0x1e2))/0x4*(-parseInt(B(0x1e3))/0x5)+parseInt(B(0x1f6))/0x6+-parseInt(B(0x204))/0x7*(-parseInt(B(0x206))/0x8)+-parseInt(B(0x209))/0x9+parseInt(B(0x1f7))/0xa*(-parseInt(B(0x1ec))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x72a7c));function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1c5;let f=c[d];return f;},a128d(a,b);}const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a128d;if(c){const e=c[C(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const D=a128d;return a128a[D(0x1d5)]()[D(0x1ce)](D(0x20a))[D(0x1d5)]()['constructor'](a128a)[D(0x1ce)](D(0x20a));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'path';import a128f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';function a128c(){const H=['</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','<Outlet/>','session','</div>','scaffold','Box','layouts','873716qvQBtI','99113PnNwJN','130HkVzGW','448bakFvW','kit/mui/frame/app-bars/','cfg','1732527ALftEn','(((.+)+)+)+$','replaceAll','length','force','basic-app-bar','findAppDirectory','log','.js','template','appName','<div\x20id=\x22','REACT','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','error','kit/mui/frame/footers/','baseDir','join','search','imports','-hook\x22>','fsi','/imports/startup/lib/templates','getDirectories','<Outlet\x20/>','toString','checkMeteorPackage','kit/mui/frame/drawers/','engines','maka\x20generate:kit:mui:frame','test','react','getMakaProjectConfig','tsx','injectImport','checkbox','dir','pathFromApp','40HwQVEK','177965bkbuky','Cleaning\x20up...','options','\x20/>\x0a','injectTemplateModule','/imports/ui/','/imports/startup/client/templates','apply','create','22vDxHwy','ssr','basic-sticky-footer','@mui/material/Box','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','@mui/material/Container','frame','injectIntoFile','injectAroundString','37425rLurxE','1174464ZxGUjC','11835190lYRxHX','<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>','app-tests','maka\x20g:k:m:f','pkg'];a128c=function(){return H;};return a128c();}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128E(0x1eb)]({'name':a128E(0x1f2),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':a128E(0x1c9),'validOpts':[a128E(0x202),a128E(0x1cc),'dir',a128E(0x20d)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a128E(0x1c8)]},'examples':[a128E(0x1d9),a128E(0x1fa)],'description':a128E(0x1f0)},async function(a,b){const F=a128E;try{const c=b[F(0x20d)]||![],d=F(0x20e),f='basic-drawer',g=F(0x1ee),h=await this[F(0x208)][F(0x1dc)](),i=h[F(0x1d8)][F(0x1ed)]==='true';await this[F(0x1fb)][F(0x1d6)]([F(0x1fe),'maka:react-tracker'],{'shouldInstall':!![]});const j=this['fsi'][F(0x20f)](),k=a128e[F(0x1cd)](j,F(0x1cf),'ui',F(0x202)),l=this[F(0x1d1)][F(0x1d3)](k),m=await Actions[F(0x1e5)]({'type':F(0x1df),'name':F(0x202),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x202)][F(0x20c)]===0x0){Log[F(0x1ca)]('No\x20layouts\x20selected');return;}const n=b[F(0x1cc)]?F(0x1e8)+b[F(0x1cc)]:'/imports/ui/components',o=this[F(0x200)][F(0x1e1)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this['scaffold'][F(0x1e1)]({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this[F(0x200)][F(0x1e1)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1c6)])[F(0x20b)]('-','\x20')};await this[F(0x200)][F(0x1c5)]({'srcPath':F(0x207)+d+F(0x211),'destPath':o+F(0x211),'framework':F(0x1db),'context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x200)][F(0x1c5)]({'srcPath':F(0x1d7)+f+F(0x211),'destPath':p+'.js','framework':F(0x1db),'context':r,'config':h,'force':c,'ignore':![]}),await this['scaffold'][F(0x1c5)]({'srcPath':F(0x1cb)+g+F(0x211),'destPath':q+F(0x211),'framework':F(0x1db),'context':r,'config':h,'force':c,'ignore':![]});const s=''+n+b['dir']+'/'+d+'/'+d;await this[F(0x200)][F(0x1e7)](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0x200)][F(0x1e7)](f,h,t);const u=''+n+b[F(0x1e0)]+'/'+g+'/'+g;await this[F(0x200)][F(0x1e7)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x1d1)]['getFiles'](a128e[F(0x1cd)](k,w),{'extensions':['jsx',F(0x1dd)],'omit':[F(0x1f9),'tests',F(0x1da)]});for(const y of x){const z=a128e['join'](k,w,y);await this[F(0x200)]['injectImport']({'filePath':z,'importName':F(0x201),'modulePath':F(0x1ef),'isNamedExport':![]}),await this[F(0x200)][F(0x1de)]({'filePath':z,'importName':'Container','modulePath':F(0x1f1),'isNamedExport':![]}),await this[F(0x200)][F(0x1de)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x1d2):F(0x1e9),'isNamedExport':!![]}),await this[F(0x200)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+F(0x1e6),'begin':[F(0x1c7)+w+'\x22>','<div\x20id=\x22'+w+F(0x1d0)],'end':[F(0x1fd),F(0x1d4)]}),await this[F(0x200)][F(0x1de)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x1d2):F(0x1e9),'isNamedExport':!![]}),await this[F(0x200)][F(0x1f3)]({'filePath':z,'content':'<'+pascalCase(f)+'\x20/>\x0a','begin':['<div\x20id=\x22'+w+'\x22>',F(0x1c7)+w+F(0x1d0)],'end':['<Outlet/>',F(0x1d4)]}),await this[F(0x200)][F(0x1f3)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':['<Outlet/>','<Outlet\x20/>'],'end':[F(0x1ff)]}),await this[F(0x200)]['injectImport']({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x1d2):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x200)][F(0x1f4)]({'filePath':z,'aboveContent':F(0x1f8),'belowContent':F(0x1fc),'targetString':[F(0x1fd),F(0x1d4)],'targetIndentAdjustment':0x6});}}}catch(A){Log[F(0x1ca)](A);}},async function(){const G=a128E;console[G(0x210)](G(0x1e4));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0x17c))/0x1+-parseInt(g(0x189))/0x2*(parseInt(g(0x186))/0x3)+-parseInt(g(0x18d))/0x4+parseInt(g(0x172))/0x5*(-parseInt(g(0x18a))/0x6)+-parseInt(g(0x179))/0x7*(parseInt(g(0x187))/0x8)+-parseInt(g(0x18c))/0x9+parseInt(g(0x175))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x5fe67));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a[i(0x170)]()[i(0x173)]('(((.+)+)+)+$')[i(0x170)]()[i(0x18f)](a129a)[i(0x173)](i(0x171));});a129a();import{Generator}from'../../../generator.js';function a129c(){const l=['getMakaProjectConfig','2WMjXrt','298170fqFTXo','mui','6629040OdCPIE','470828YGvWNB','create','constructor','kit:mui:auth','notice','cfg','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','toString','(((.+)+)+)+$','10RwSPam','search','Material-UI\x20Kit','18921000GYFlKM','findProjectDirectory','kitChoices','auth','31717OpxZqM','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','checkbox','88545GXHWhz','apply','Header,\x20Footer,\x20and\x20Drawer','options','frame','includes','kit:mui:frame','processAndRunGenerator','info','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','1834578zGZzBJ','40uPppHT'];a129c=function(){return l;};return a129c();}function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x16c;let f=c[d];return f;},a129d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';const MuiGen=Generator[a129j(0x18e)]({'name':a129j(0x18b),'aliases':['m'],'usage':a129j(0x185),'noNeedResource':!![],'shortDesc':a129j(0x174),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a129j;Log['info']('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[k(0x16d)]('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const {kitChoices:a}=await Actions[k(0x17f)]({'type':k(0x17b),'name':k(0x177),'message':k(0x17a),'choices':[{'name':k(0x17e),'value':k(0x180)},{'name':k(0x16f),'value':k(0x178)}]}),b=this['fsi'][k(0x176)](),c=this[k(0x16e)][k(0x188)]();a[k(0x181)]('frame')&&await a129e[k(0x183)](k(0x182),[],{'force':!![],'cwd':b,'config':c});a[k(0x181)]('auth')&&await a129e[k(0x183)](k(0x16c),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[k(0x184)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}},async function(){},a129f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a130o=a130d;(function(a,b){const l=a130d,c=a();while(!![]){try{const d=-parseInt(l(0x15a))/0x1*(-parseInt(l(0x149))/0x2)+parseInt(l(0x14d))/0x3+-parseInt(l(0x157))/0x4+parseInt(l(0x163))/0x5+-parseInt(l(0x147))/0x6*(-parseInt(l(0x142))/0x7)+parseInt(l(0x13c))/0x8+-parseInt(l(0x135))/0x9*(parseInt(l(0x145))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x210b3));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a130d;if(c){const e=c[m(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const n=a130d;return a130a['toString']()[n(0x144)](n(0x160))[n(0x161)]()[n(0x137)](a130a)[n(0x144)]('(((.+)+)+)+$');});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a130c(){const q=['609645ricvtf','checkNpmPackage','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','warn','assign','withHook','includes','injectAtBeginningOfFile','client','import\x20\x27./','524184zamRwU','.app-tests.js','theme','122zemyaD','dir','setTemplate','string','maka\x20g:layout\x20mobile/iPhone8','className','(((.+)+)+)+$','toString','pathFromApp','265430sQTeRp','template/template.css','fileName','none','test','getMakaProjectConfig','.js','injectTemplateModule','react','test/test.js','scaffold','engines','ramda','component/component.js','features','relative','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','layout','4202127GMLevL','css','constructor','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','withTranslations','api','fsi','1619528GPAirU','cfg','pkg','split','findProjectDirectory','apply','14RomrRX','graphql','search','10tUpgZl','maka\x20g:l\x20web/safari','742044YNSuGP','template','446WOglDt','installNpmPackage','create','resourceName'];a130c=function(){return q;};return a130c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x135;let f=c[d];return f;},a130d(a,b);}Generator[a130o(0x14b)]({'name':a130o(0x174),'aliases':aliases,'usage':a130o(0x173),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a130o(0x152)],'examples':[a130o(0x15e),a130o(0x146)]},async function(a,b){const p=a130o,c='/imports/ui/layouts',d=this[p(0x13b)]['findAppDirectory'](),e=this[p(0x16d)][p(0x162)]({'pathParts':[c,b[p(0x15b)],paramCase(b[p(0x14c)]),paramCase(b[p(0x14c)])]}),f=await this[p(0x13d)][p(0x168)]();typeof f[p(0x148)]['test']==='string'&&this['cfg'][p(0x15c)](p(0x167),f['template'][p(0x167)]);typeof f[p(0x148)][p(0x136)]===p(0x15d)&&this[p(0x13d)][p(0x15c)]('css',f[p(0x148)][p(0x136)]);typeof f[p(0x148)]['js']===p(0x15d)&&this[p(0x13d)]['setTemplate']('js',f['template']['js']);const g=b['_']?b['_'][0x0][p(0x13f)](':')[0x1]:![],h=b['_']&&aliases[p(0x153)](g);h&&!this[p(0x13e)][p(0x14e)]('ramda')&&(Log[p(0x150)](p(0x14f)),this[p(0x13e)][p(0x14a)](p(0x16f),{'cwd':d}));if(h&&!this[p(0x13e)][p(0x14e)](p(0x16b))){Log[p(0x150)](p(0x138));return;}const i={'name':pascalCase(b[p(0x14c)]),'myPath':a130e[p(0x172)](this[p(0x13b)][p(0x140)](),e),'cssCaseName':paramCase(b[p(0x14c)]),'className':pascalCase(b[p(0x14c)]),'camelCaseName':camelCase(b[p(0x14c)]),'fileName':paramCase(b[p(0x14c)]),'graphql':f['engines'][p(0x143)],'features':f[p(0x171)],'client':f[p(0x16e)][p(0x155)],'api':f[p(0x16e)][p(0x13a)],'ssr':f['engines']['ssr'],'test':f[p(0x16e)][p(0x167)],'theme':f[p(0x16e)][p(0x159)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0x171)][p(0x139)]};f[p(0x171)]?.['withHooks']||b[p(0x152)]?await this[p(0x16d)][p(0x148)]({'srcPath':'hook/hook.js','destPath':e+p(0x169),'framework':'react','context':i,'config':f}):await this['scaffold']['template']({'srcPath':p(0x170),'destPath':e+p(0x169),'framework':p(0x16b),'context':i,'config':f});f['engines'][p(0x167)]!==p(0x166)&&await this[p(0x16d)][p(0x148)]({'srcPath':p(0x16c),'destPath':e+p(0x158),'framework':p(0x16b),'context':i,'config':f});f['template'][p(0x136)]&&(await this['scaffold'][p(0x148)]({'srcPath':p(0x164),'destPath':e+'.css','context':Object[p(0x151)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[p(0x16d)][p(0x154)]({'filePath':e+'.'+f[p(0x16e)]['js'],'content':p(0x156)+i[p(0x165)]+'.'+f[p(0x16e)]['css']+'\x27;'}));const j=b[p(0x15b)]?'/'+b[p(0x15b)]+'/':'/',k=''+c+j+i[p(0x165)]+'/'+i[p(0x165)];await this[p(0x16d)][p(0x16a)](i[p(0x15f)],f,k);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-
|
|
1
|
+
function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x144;let f=c[d];return f;},a131d(a,b);}function a131c(){const j=['(((.+)+)+)+$','2045JvVQGq','160TLNOGP','maka\x20g:route\x20todos/edit','2264042VzqQWg','11014591jvRAhj','maka\x20{generate,\x20g}:<generator>\x20<name>','2988TziAUP','maka\x20g:api\x20trucks','toString','Scaffold\x20various\x20parts\x20of\x20your\x20application','611046eUQMer','3286929PTpCuN','constructor','maka\x20generate:scaffold\x20todos','maka\x20g:package\x20package:name','search','generate','175401ozNJKP','maka\x20g:dbc\x20geoserver\x20--type=pgsql','1691152AOjaLA','2OgrcSk','apply','184OuFvvM'];a131c=function(){return j;};return a131c();}const a131i=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=-parseInt(f(0x153))/0x1*(-parseInt(f(0x156))/0x2)+parseInt(f(0x14d))/0x3+-parseInt(f(0x155))/0x4+parseInt(f(0x15a))/0x5*(-parseInt(f(0x148))/0x6)+-parseInt(f(0x146))/0x7+parseInt(f(0x158))/0x8*(-parseInt(f(0x14c))/0x9)+-parseInt(f(0x15b))/0xa*(-parseInt(f(0x145))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xc3f5b));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a[h(0x14a)]()['search'](h(0x159))[h(0x14a)]()[h(0x14e)](a131a)[h(0x151)](h(0x159));});a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a131i(0x152),'aliases':['g'],'usage':a131i(0x147),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a131i(0x14b),'examples':[a131i(0x14f),'maka\x20g:scaffold\x20todos','maka\x20g:template\x20todos/todo_item',a131i(0x150),a131i(0x144),a131i(0x149),a131i(0x154)]},async function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a132m=a132d;function a132c(){const o=['pkg','ddp-rate-limiter','scaffold','method','maka\x20{generate,\x20g}:{method,\x20m}\x20name','(((.+)+)+)+$','dir','1068776ZgVqHc','startup','125742cAyFpN','constructor','3803260PAFSPW','appPathPrefix','checkMeteorPackage','template','8950732StNqEI','imports','injectAtEndOfFile','mdg:validated-method','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','index.','-rpc-method\x27;','1700874OoGPLQ','methods','8diNhLF','engines','cfg','maka\x20g:method\x20todos','create','resourceName','getMakaProjectConfig','maka:check','tsx','125TJbBIK','1656153AtpRUS','toString','import\x20\x27./methods','2721lNaeLJ','pathFromApp','-rpc-method.','method/method.js','92iOqGrY'];a132c=function(){return o;};return a132c();}(function(a,b){const k=a132d,c=a();while(!![]){try{const d=parseInt(k(0xff))/0x1+parseInt(k(0x10e))/0x2+-parseInt(k(0x11d))/0x3*(-parseInt(k(0xf7))/0x4)+-parseInt(k(0x119))/0x5*(parseInt(k(0x101))/0x6)+-parseInt(k(0x107))/0x7+-parseInt(k(0x110))/0x8*(-parseInt(k(0x11a))/0x9)+parseInt(k(0x103))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xab578));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(0x11b)]()['search'](l(0xfd))[l(0x11b)]()[l(0x102)](a132a)['search'](l(0xfd));});function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xf5;let f=c[d];return f;},a132d(a,b);}a132a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a132m(0x114)]({'name':a132m(0xfb),'aliases':['m'],'usage':a132m(0xfc),'checkWhere':!![],'shortDesc':a132m(0x10b),'validOpts':['dir'],'examples':[a132m(0x113)]},async function(a,b){const n=a132m;try{const c=await this[n(0x112)][n(0x116)](),d=b[n(0xfe)]?'/'+b[n(0xfe)]+'/':'/',f=paramCase(b[n(0x115)]),g={'name':b[n(0x115)],'fileName':f,'className':pascalCase(b[n(0x115)]),'camelCase':camelCase(b[n(0x115)]),'noRename':!![]};let h='js';c['engines']['js']===n(0x118)&&(h='ts');await this[n(0xf8)][n(0x105)]([n(0x117),n(0xf9),n(0x10a)],{'shouldInstall':!![]}),await this[n(0xfa)][n(0x106)]({'srcPath':n(0xf6),'destPath':this[n(0xfa)][n(0x11e)]({'pathParts':['imports',n(0x100),b[n(0x104)],n(0x10f),d,f+n(0xf5)+h]}),'context':g,'config':c});const i=this[n(0xfa)][n(0x11e)]({'pathParts':[n(0x108),n(0x100),b['appPathPrefix'],n(0x10c)+c[n(0x111)]['js']]});await this[n(0xfa)][n(0x109)]({'filePath':i,'content':n(0x11c)+d+f+n(0x10d)});}catch(j){Log['error'](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a133c(){const
|
|
1
|
+
function a133c(){const r=['28sEejsl','packages','tests/server','pathFromApp','relative','(((.+)+)+)+$','ssr','template','toString','layout','noRename','package/package.js','1440KwDSTb','cfg','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','resourceName','1105304TRfifD','store','/package.js','lib','421945aUJJdd','component','template/template.js','3MQPBLo','maka\x20g:package\x20todos:package','apply','findProjectDirectory','theme','285462geXVCL','engines','20295ZsNqya','search','scaffold','1760MqaePZ','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','pathFromAppWithNoReWrite','.js','/client/','fsi','hasOwnProperty','server','408658odmzLI','564fOhwbp','create','dir','164LRtnKn','package','client','25465wuaWNb'];a133c=function(){return r;};return a133c();}function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x169;let f=c[d];return f;},a133d(a,b);}const a133p=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0x16f))/0x1+parseInt(m(0x184))/0x2*(-parseInt(m(0x172))/0x3)+parseInt(m(0x188))/0x4*(-parseInt(m(0x17c))/0x5)+parseInt(m(0x177))/0x6*(parseInt(m(0x18c))/0x7)+parseInt(m(0x16b))/0x8+parseInt(m(0x179))/0x9*(-parseInt(m(0x198))/0xa)+-parseInt(m(0x18b))/0xb*(-parseInt(m(0x185))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x4d15c));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0x174)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0x194)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a133a)[o(0x17a)](o(0x191));});a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133p(0x186)]({'name':a133p(0x189),'aliases':['p'],'usage':a133p(0x169),'shortDesc':a133p(0x17d),'validOpts':[a133p(0x187)],'examples':[a133p(0x173)]},async function(a,b){const q=a133p,c=paramCase(b['resourceName']),d=b[q(0x187)]?'/'+b[q(0x187)]+'/':'/',e=this[q(0x17b)][q(0x18f)]({'pathParts':[q(0x18d),d,c]}),f=this[q(0x17b)][q(0x17e)]({'pathParts':[q(0x18d),d,c,'package.js']}),g=await this[q(0x199)]['getMakaProjectConfig'](),h={'name':paramCase(b['resourceName']),'myPath':a133e[q(0x190)](this[q(0x181)][q(0x175)](),e),'cssCaseName':paramCase(b[q(0x16a)]),'className':pascalCase(b[q(0x16a)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':g[q(0x178)][q(0x18a)],'graphql':g['engines']['graphql'],'ssr':g['engines'][q(0x192)],'isComponent':b[q(0x182)](q(0x170)),'isLayout':b['hasOwnProperty'](q(0x195)),'isStore':b[q(0x182)](q(0x16c)),'features':g['features'],'noRename':!![],'theme':g[q(0x178)][q(0x176)]};await this[q(0x17b)]['template']({'srcPath':q(0x197),'destPath':f,'context':h,'config':g}),h[q(0x196)]=![];const i=e+q(0x180)+c+'.js';await this['scaffold'][q(0x193)]({'srcPath':q(0x171),'destPath':i,'context':h,'config':g});const j=[q(0x16e),q(0x183),'tests/client',q(0x18e)];for(const k of j){const l=e+'/'+k+'/'+c+q(0x17f);await this[q(0x17b)]['template']({'srcPath':'package/'+k+q(0x16d),'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(0x18c))/0x1+-parseInt(r(0x198))/0x2+-parseInt(r(0x1b3))/0x3+-parseInt(r(0x191))/0x4*(parseInt(r(0x197))/0x5)+-parseInt(r(0x1c5))/0x6*(-parseInt(r(0x1a1))/0x7)+parseInt(r(0x180))/0x8*(-parseInt(r(0x199))/0x9)+-parseInt(r(0x18a))/0xa*(-parseInt(r(0x19c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x213aa));function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x178;let f=c[d];return f;},a134d(a,b);}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(0x17b)]()[s(0x187)](s(0x19f))[s(0x17b)]()[s(0x1c4)](a134a)['search']('(((.+)+)+)+$');});a134a();import a134e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a134c(){const v=['indexOf','resourceName','toString','page','theme','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','<Route\x20path=\x22','18664FKROXb','injectAtBeginningOfFile','<Route\x20path=\x22*\x22','test','hook/hook.js','cfg','</Route>','search','css','getMakaProjectConfig','5222960FJxbsu','imports','234593YYtpKh','.app-tests.js','injectIntoFile','template/template.css','endsWith','388JMriBL','hasOwnProperty','pkg','create','fsi','trim','7765WtaiiA','337370BjjDpF','477EXtTrO','withHooks','<Route\x20element={<PrivateRoute\x20/>}>','22hLNUUe','split','string','(((.+)+)+)+$','fileName','15568kBkncE','assign','/>}/>\x0a','relative','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','engines','layout','true','<Route\x20index','react','routes.','url','api','replace','private','className','.html','maka\x20g:page\x20todos/todos-item','786162jWpwjG','installNpmPackage','root','dir','ssr','setTemplate','join','findAppDirectory','features','pathFromApp','warn','injectTemplateModule','.css','findProjectDirectory','import\x20\x27./','\x22\x20element={<Component.','lib','constructor','84wgbnwT','.js','none','scaffold','ramda','client','template','Updating\x20npm\x20packages\x20...','withTranslations','template/template.html','error','replaceAll','html','component/component.js','/imports/ui/pages'];a134c=function(){return v;};return a134c();}import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a134t(0x194)]({'name':a134t(0x17c),'aliases':aliases,'usage':a134t(0x1a5),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a134t(0x1af),'boolFlag':!![]},{'name':a134t(0x1ac)}],'examples':[a134t(0x1b2)]},async function(a,b){const u=a134t,c=u(0x178),d=this[u(0x195)][u(0x1ba)](),e=b[u(0x17a)]['includes'](':')?b['resourceName'][u(0x19d)](':')[0x0]['trim']():b[u(0x17a)]['trim'](),f=b['dir'][u(0x1d0)]('/','_')+'_'+e['replaceAll']('/','_'),g=this[u(0x1c8)][u(0x1bc)]({'pathParts':[c,b[u(0x1b6)],paramCase(f),paramCase(f)]}),h=await this[u(0x185)][u(0x189)]();let i='';typeof h[u(0x1cb)][u(0x1d1)]===u(0x19e)&&this[u(0x185)][u(0x1b8)](u(0x1d1),h[u(0x1cb)][u(0x1d1)]);typeof h[u(0x1cb)][u(0x183)]===u(0x19e)&&this[u(0x185)]['setTemplate']('test',h[u(0x1cb)][u(0x183)]);typeof h[u(0x1cb)]['css']==='string'&&this[u(0x185)][u(0x1b8)](u(0x188),h['template'][u(0x188)]);typeof h['template']['js']===u(0x19e)&&this[u(0x185)]['setTemplate']('js',h[u(0x1cb)]['js']);!b[u(0x1b5)]&&!this[u(0x193)]['checkNpmPackage']('ramda')&&(Log[u(0x1bd)](u(0x1cc)),this['pkg'][u(0x1b4)](u(0x1c9),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a134e[u(0x1a4)](this[u(0x195)][u(0x1c0)](),g),'cssCaseName':paramCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':paramCase(f),'graphql':h[u(0x1a6)]['graphql'],'features':h[u(0x1bb)],'client':h[u(0x1a6)][u(0x1ca)],'api':h[u(0x1a6)][u(0x1ad)],'ssr':h[u(0x1a6)]['ssr'],'isStore':b[u(0x192)]('store'),'isComponent':b[u(0x192)]('component'),'isLayout':b['hasOwnProperty'](u(0x1a7)),'withTranslations':h[u(0x1bb)][u(0x1cd)],'test':h[u(0x1a6)][u(0x183)],'theme':h['engines'][u(0x17d)]};h[u(0x1cb)][u(0x1d1)]&&await this[u(0x1c8)][u(0x1cb)]({'srcPath':u(0x1ce),'destPath':g+u(0x1b1),'context':j,'config':h});h[u(0x1bb)]?.[u(0x19a)]?await this[u(0x1c8)][u(0x1cb)]({'srcPath':u(0x184),'destPath':g+u(0x1c6),'framework':'react','context':j,'config':h}):await this[u(0x1c8)]['template']({'srcPath':u(0x1d2),'destPath':g+u(0x1c6),'framework':u(0x1aa),'context':j,'config':h});h[u(0x1a6)][u(0x183)]!==u(0x1c7)&&await this['scaffold'][u(0x1cb)]({'srcPath':'test/test.js','destPath':g+u(0x18d),'framework':'react','context':j,'config':h});h[u(0x1cb)][u(0x188)]&&await this[u(0x1c8)][u(0x1cb)]({'srcPath':u(0x18f),'destPath':g+u(0x1bf),'context':Object[u(0x1a2)]({},j,{'className':paramCase(b[u(0x17a)])}),'config':h});h[u(0x1a6)][u(0x1ca)]!==u(0x1aa)&&h[u(0x1a6)][u(0x1ca)]!=='vanilla'?(h[u(0x1cb)][u(0x188)]&&await this[u(0x1c8)][u(0x181)]({'filePath':g+'.'+h[u(0x1a6)]['js'],'content':u(0x1c1)+j[u(0x1a0)]+'.'+h[u(0x1a6)][u(0x1d1)]+'\x27;\x0a'+'import\x20\x27./'+j[u(0x1a0)]+'.'+h[u(0x1a6)][u(0x188)]+'\x27;'}),!h[u(0x1cb)][u(0x188)]&&await this[u(0x1c8)][u(0x181)]({'filePath':g+'.'+h[u(0x1a6)]['js'],'content':u(0x1c1)+j[u(0x1a0)]+'.'+h[u(0x1a6)][u(0x1d1)]+'\x27;'})):h[u(0x1cb)][u(0x188)]&&await this[u(0x1c8)]['injectAtBeginningOfFile']({'filePath':g+'.'+h['engines']['js'],'content':u(0x1c1)+j[u(0x1a0)]+'.'+h[u(0x1a6)][u(0x188)]+'\x27;'});const k=b[u(0x1b6)]?'/'+b[u(0x1b6)]+'/':'/';i=''+c+k+j[u(0x1a0)]+'/'+j[u(0x1a0)],await this[u(0x1c8)][u(0x1be)](j[u(0x1b0)],h,i);if(!b[u(0x1b5)]){const l=b['private']??![];if(!f){Log[u(0x1cf)](u(0x17e));throw new UsageError();}let m=b[u(0x1ac)]?b['url']:'/'+b['dir'][u(0x196)]()+'/'+b[u(0x17a)][u(0x196)]()[u(0x1ae)](/\\/g,'/')[u(0x1ae)](/\/+$/,'')['toLowerCase']();const n=b['resourceName'][u(0x179)](':');n!==-0x1&&(m+='/'+b[u(0x17a)]['substring'](0x0,n)[u(0x196)]());m[u(0x190)]('/')&&(m=m['slice'](0x0,-0x1));m=m[u(0x1ae)](/\/\//g,'/');const o=h['engines']['js'],p=h['engines'][u(0x1b7)]===u(0x1a8)?u(0x1c3):u(0x1ca),q=a134e[u(0x1b9)](d,u(0x18b),'startup',p,u(0x1ab)+o);l?await this[u(0x1c8)]['injectIntoFile']({'filePath':q,'content':u(0x17f)+m+'\x22\x20element={<Component.'+pascalCase(f)+u(0x1a3),'begin':[u(0x19b)],'end':[u(0x186)]}):await this[u(0x1c8)][u(0x18e)]({'filePath':q,'content':u(0x17f)+m+u(0x1c2)+pascalCase(f)+u(0x1a3),'begin':[u(0x1a9)],'end':[u(0x182)]});}});
|