@maka/maka-cli 4.12.26 → 4.12.27

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.
Files changed (158) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/collection.js +1 -1
  109. package/bundle/obf/src/generators/component.js +1 -1
  110. package/bundle/obf/src/generators/config.js +1 -1
  111. package/bundle/obf/src/generators/dbc.js +1 -1
  112. package/bundle/obf/src/generators/dockerfile.js +1 -1
  113. package/bundle/obf/src/generators/hook.js +1 -1
  114. package/bundle/obf/src/generators/kits/_index.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  117. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/kit.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  127. package/bundle/obf/src/generators/layout.js +1 -1
  128. package/bundle/obf/src/generators/maka.gen.js +1 -1
  129. package/bundle/obf/src/generators/methods.js +1 -1
  130. package/bundle/obf/src/generators/package.js +1 -1
  131. package/bundle/obf/src/generators/page.js +1 -1
  132. package/bundle/obf/src/generators/publish.js +1 -1
  133. package/bundle/obf/src/generators/route.js +1 -1
  134. package/bundle/obf/src/generators/service.js +1 -1
  135. package/bundle/obf/src/generators/services/_index.js +1 -1
  136. package/bundle/obf/src/generators/services/openssl.js +1 -1
  137. package/bundle/obf/src/generators/services/translation.js +1 -1
  138. package/bundle/obf/src/maka.js +1 -1
  139. package/bundle/obf/src/tool.js +1 -1
  140. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  141. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  142. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  143. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  144. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  146. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/https/https.class.js +1 -1
  148. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  149. package/bundle/obf/src/tools/log/log.class.js +1 -1
  150. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/options/options.class.js +1 -1
  152. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  153. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  154. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  155. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  156. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  158. package/package.json +1 -1
@@ -1 +1 @@
1
- function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x6d;let f=c[d];return f;},a115d(a,b);}const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=parseInt(f(0x72))/0x1*(parseInt(f(0x70))/0x2)+parseInt(f(0x74))/0x3*(parseInt(f(0x7c))/0x4)+-parseInt(f(0x6d))/0x5+-parseInt(f(0x75))/0x6*(parseInt(f(0x7b))/0x7)+-parseInt(f(0x7a))/0x8+parseInt(f(0x77))/0x9+parseInt(f(0x78))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x60a0e));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a115d;if(c){const e=c[g(0x79)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const h=a115d;return a115a[h(0x71)]()['search'](h(0x6e))[h(0x71)]()['constructor'](a115a)[h(0x7e)](h(0x6e));});a115a();import{Generator}from'../../../generator.js';import a115e from'../kit.js';const AuthGen=Generator[a115i(0x76)]({'name':'auth','aliases':['a'],'usage':a115i(0x73),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','validOpts':[''],'isPro':!![],'examples':[a115i(0x6f)],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){const j=a115i;throw j(0x7d);},async function(){},a115e);export default AuthGen;function a115c(){const k=['136964UMsIAF','NIE','search','1412150NGfUTC','(((.+)+)+)+$','maka\x20g:kit:a','8386yqUTSx','toString','109eLybTe','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','3tRokkc','1415508jGYlZE','create','3747987QCYWFw','8198980BIVlif','apply','2733160rHtQLd','21efKplu'];a115c=function(){return k;};return a115c();}
1
+ const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=parseInt(f(0x19a))/0x1+parseInt(f(0x18f))/0x2*(-parseInt(f(0x19b))/0x3)+-parseInt(f(0x190))/0x4*(-parseInt(f(0x192))/0x5)+-parseInt(f(0x195))/0x6+parseInt(f(0x191))/0x7+-parseInt(f(0x194))/0x8*(-parseInt(f(0x19d))/0x9)+-parseInt(f(0x197))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x1b3a6));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a115d;if(c){const e=c[g(0x193)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const h=a115d;return a115a[h(0x198)]()[h(0x19c)](h(0x18a))[h(0x198)]()[h(0x18d)](a115a)[h(0x19c)](h(0x18a));});a115a();import{Generator}from'../../../generator.js';import a115e from'../kit.js';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x18a;let f=c[d];return f;},a115d(a,b);}const AuthGen=Generator[a115i(0x199)]({'name':'auth','aliases':['a'],'usage':a115i(0x196),'noNeedResource':!![],'shortDesc':a115i(0x18b),'validOpts':[''],'isPro':!![],'examples':[a115i(0x18c)],'description':a115i(0x18e)},async function(){throw'NIE';},async function(){},a115e);function a115c(){const j=['constructor','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','40MqTQva','4472wfwzkU','851501QeDByD','430GbKXoQ','apply','574456UtTGuF','1027968ywxpbI','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','1811300AZQXoR','toString','create','131392zdfsQo','15093vasPKd','search','27aYmEex','(((.+)+)+)+$','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','maka\x20g:kit:a'];a115c=function(){return j;};return a115c();}export default AuthGen;
@@ -1 +1 @@
1
- const a116r=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=-parseInt(o(0x1cf))/0x1+parseInt(o(0x1d7))/0x2*(-parseInt(o(0x1f7))/0x3)+-parseInt(o(0x201))/0x4+-parseInt(o(0x1d8))/0x5*(parseInt(o(0x1be))/0x6)+-parseInt(o(0x1e0))/0x7*(parseInt(o(0x1fd))/0x8)+-parseInt(o(0x1c6))/0x9*(parseInt(o(0x1dc))/0xa)+parseInt(o(0x1d9))/0xb*(parseInt(o(0x1ce))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xb5142));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0x1f6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0x1da)]()[q(0x1c2)](q(0x1d3))[q(0x1da)]()[q(0x1c8)](a116a)[q(0x1c2)](q(0x1d3));});a116a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a116e from'./auth.generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a116d(a,b);}import a116f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a116c(){const u=['injectImport','\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','useTracker','search','\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','meteor','Accounts','797994AtaRws','kit/auth/service/meteor-auth-service.js','constructor','/imports/startup/client/authentication-service','meteor/maka:react-tracker','export\x20const\x20AuthProvider','authentication-provider','checkMeteorPackage','4872XxAHOZ','242391HDaOLo','injectIntoFile','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','processAndRunGenerator','(((.+)+)+)+$','fsi','create','const\x20sendForgotPasswordEmail','3194sVQVXl','419570PGHOBS','95216QSlfOW','toString','engines','60xnLsGc','\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','startup','index','4921jjDNQB','const\x20getUserAuthorizations','true','force','REACT','react','/imports/startup/lib','error','template','getMakaProjectConfig','pathFromApp','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','meteor/accounts-base','authentication-service','publish','/imports/startup/lib/authentication-service','withValue','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','AuthService','injectIntoCodeBlock','const\x20deauthenticateUser','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','apply','354ydTYZg','server','const\x20registerNewUser','alanning:roles','exit','accounts-password','3896uubTOZ','const\x20authenticateToken','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','findProjectDirectory','5534120EOUBDD','\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','const\x20authenticateUser','6ZMHbJj'];a116c=function(){return u;};return a116c();}Generator[a116r(0x1d5)]({'name':a116r(0x1c4),'aliases':['m'],'usage':a116r(0x1d1),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a116r(0x1e3)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116r(0x1e4)]},'description':a116r(0x1bc)},async function(a,b){const s=a116r;try{const c=b[s(0x1e3)]||![];await this[s(0x1d4)][s(0x1cd)]([s(0x1fc),s(0x1fa)],{'shouldInstall':!![]});const d=this[s(0x1d4)][s(0x200)](),f=this[s(0x1d4)][s(0x1e9)](),g=f[s(0x1db)]['ssr']===s(0x1e2);await a116f[s(0x1d2)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0x1d2)](s(0x1ee),['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x1e6):'/imports/startup/client',j=this[s(0x1d4)][s(0x1ea)]({'pathParts':[i,'','',s(0x1ed)]});await this[s(0x1d4)][s(0x1f0)](f,async()=>{const t=s;await this['fsi'][t(0x1e8)]({'srcPath':t(0x1c7),'destPath':j+'.js','framework':t(0x1e5),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x1d4)][s(0x1ea)]({'pathParts':[i,'','',s(0x1cc)]}),l=f[s(0x1db)]['js'];await this[s(0x1d4)][s(0x1bf)]({'filePath':k+'.'+l,'importName':s(0x1f2),'modulePath':g?s(0x1ef):s(0x1c9),'isNamedExport':![]}),await this[s(0x1d4)][s(0x1f3)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x1bd),'replace':!![]}),await this[s(0x1d4)][s(0x1f3)]({'filePath':k+'.'+l,'content':s(0x1c3),'begin':s(0x1fe),'replace':!![]}),await this[s(0x1d4)][s(0x1f3)]({'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(0x1e1),'replace':!![]}),await this[s(0x1d4)][s(0x1f3)]({'filePath':k+'.'+l,'content':s(0x1eb),'begin':s(0x1f4),'replace':!![]}),await this[s(0x1d4)][s(0x1f3)]({'filePath':k+'.'+l,'content':s(0x1ff),'begin':s(0x1d6),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x1f5),'begin':s(0x1f9),'replace':!![]}),await this[s(0x1d4)][s(0x1f3)]({'filePath':k+'.'+l,'content':s(0x1f1),'begin':'const\x20resetPasswordWithToken','replace':!![]});g&&(await this[s(0x1d4)][s(0x1bf)]({'filePath':k+'.'+l,'importName':s(0x1c1),'modulePath':s(0x1ca),'isNamedExport':!![]}),await this[s(0x1d4)][s(0x1d0)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x1cb),'end':'return\x20\x5c('}));await this[s(0x1d4)][s(0x1bf)]({'filePath':h,'importName':'Meteor','modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x1d4)][s(0x1f3)]({'filePath':h,'content':s(0x1c0),'begin':'Meteor.publish','replace':!![]});const m=this[s(0x1d4)][s(0x1ea)]({'pathParts':['imports',s(0x1de),s(0x1f8),s(0x1df)]});await this[s(0x1d4)]['injectImport']({'filePath':m+'.'+l,'importName':s(0x1c5),'modulePath':s(0x1ec),'isNamedExport':!![]}),await this[s(0x1d4)]['injectIntoCodeBlock']({'filePath':m+'.'+l,'content':s(0x1dd),'begin':'Meteor.startup','replace':!![]});}catch(n){Log[s(0x1e7)](n),process[s(0x1fb)](0x1);}},async function(){},a116e);
1
+ const a116q=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=-parseInt(o(0x12d))/0x1+-parseInt(o(0x142))/0x2+parseInt(o(0x165))/0x3*(-parseInt(o(0x145))/0x4)+parseInt(o(0x13f))/0x5*(parseInt(o(0x164))/0x6)+parseInt(o(0x161))/0x7*(-parseInt(o(0x128))/0x8)+parseInt(o(0x12e))/0x9+parseInt(o(0x141))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xd4c0a));const a116b=(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;};}()),a116a=a116b(this,function(){const p=a116d;return a116a[p(0x148)]()[p(0x15b)](p(0x152))['toString']()['constructor'](a116a)[p(0x15b)](p(0x152));});a116a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a116e from'./auth.generator.js';import a116f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a116c(){const t=['template','AuthService','pathFromApp','authentication-provider','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','server','6575015HwQfrM','getMakaProjectConfig','37034760fMfDws','3133002iIfbHm','processAndRunGenerator','\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','8RzmxXA','const\x20resetPasswordWithToken','publish','toString','react','injectIntoCodeBlock','meteor/meteor','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','auth/roles','withValue','kit:auth:provider','/imports/startup/lib/authentication-service','const\x20sendForgotPasswordEmail','(((.+)+)+)+$','findProjectDirectory','Meteor.startup','error','export\x20const\x20AuthProvider','force','const\x20authenticateUser','meteor/maka:react-tracker','injectImport','search','Meteor.publish','exit','fsi','.js','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','1068242eZQCpt','const\x20getUserAuthorizations','alanning:roles','6EbzyCK','1583943RpVpLG','imports','injectIntoFile','88GFLHhU','const\x20authenticateToken','\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\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','index','1356010SGEPYy','13590846MDaVqY','\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\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','\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','ssr','authentication-service','/imports/startup/lib','return\x20\x5c(','REACT','create','checkMeteorPackage'];a116c=function(){return t;};return a116c();}function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x128;let f=c[d];return f;},a116d(a,b);}Generator[a116q(0x137)]({'name':'meteor','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a116q(0x14c),'validOpts':[a116q(0x157)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116q(0x136)]},'description':a116q(0x12f)},async function(a,b){const r=a116q;try{const c=b['force']||![];await this['fsi'][r(0x138)](['accounts-password',r(0x163)],{'shouldInstall':!![]});const d=this[r(0x15e)][r(0x153)](),f=this['fsi'][r(0x140)](),g=f['engines'][r(0x132)]==='true';await a116f[r(0x143)](r(0x14f),[],{'force':c,'cwd':d,'config':f});const h=await a116f[r(0x143)](r(0x147),[r(0x14d)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?r(0x134):'/imports/startup/client',j=this[r(0x15e)]['pathFromApp']({'pathParts':[i,'','',r(0x133)]});await this[r(0x15e)][r(0x14e)](f,async()=>{const s=r;await this['fsi'][s(0x139)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+s(0x15f),'framework':s(0x149),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[r(0x15e)][r(0x13b)]({'pathParts':[i,'','',r(0x13c)]}),l=f['engines']['js'];await this[r(0x15e)][r(0x15a)]({'filePath':k+'.'+l,'importName':r(0x13a),'modulePath':g?r(0x150):'/imports/startup/client/authentication-service','isNamedExport':![]}),await this[r(0x15e)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x130),'begin':r(0x158),'replace':!![]}),await this[r(0x15e)][r(0x14a)]({'filePath':k+'.'+l,'content':'\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','begin':r(0x129),'replace':!![]}),await this[r(0x15e)][r(0x14a)]({'filePath':k+'.'+l,'content':r(0x12b),'begin':r(0x162),'replace':!![]}),await this[r(0x15e)][r(0x14a)]({'filePath':k+'.'+l,'content':r(0x160),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[r(0x15e)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x151),'replace':!![]}),await this[r(0x15e)][r(0x14a)]({'filePath':k+'.'+l,'content':r(0x13d),'begin':'const\x20registerNewUser','replace':!![]}),await this['fsi'][r(0x14a)]({'filePath':k+'.'+l,'content':r(0x12a),'begin':r(0x146),'replace':!![]});g&&(await this[r(0x15e)][r(0x15a)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':r(0x159),'isNamedExport':!![]}),await this[r(0x15e)][r(0x167)]({'filePath':k+'.'+l,'content':r(0x131),'begin':r(0x156),'end':r(0x135)}));await this['fsi'][r(0x15a)]({'filePath':h,'importName':'Meteor','modulePath':r(0x14b),'isNamedExport':!![],'injectAtStart':!![]}),await this[r(0x15e)]['injectIntoCodeBlock']({'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':r(0x15c),'replace':!![]});const m=this['fsi']['pathFromApp']({'pathParts':[r(0x166),'startup',r(0x13e),r(0x12c)]});await this[r(0x15e)][r(0x15a)]({'filePath':m+'.'+l,'importName':'Accounts','modulePath':'meteor/accounts-base','isNamedExport':!![]}),await this['fsi'][r(0x14a)]({'filePath':m+'.'+l,'content':r(0x144),'begin':r(0x154),'replace':!![]});}catch(n){Log[r(0x155)](n),process[r(0x15d)](0x1);}},async function(){},a116e);
@@ -1 +1 @@
1
- const a117x=a117d;function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x17d;let f=c[d];return f;},a117d(a,b);}(function(a,b){const u=a117d,c=a();while(!![]){try{const d=-parseInt(u(0x19e))/0x1+-parseInt(u(0x1a5))/0x2*(parseInt(u(0x187))/0x3)+-parseInt(u(0x1a2))/0x4+parseInt(u(0x1a6))/0x5+-parseInt(u(0x181))/0x6+parseInt(u(0x18b))/0x7+parseInt(u(0x19a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x6d96a));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0x19c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a[w(0x180)]()['search'](w(0x19b))[w(0x180)]()[w(0x189)](a117a)[w(0x18a)](w(0x19b));});a117a();import{Generator}from'../../../generator.js';function a117c(){const A=['constructor','search','2960132CAVUBC','/imports/startup/client','injectImport','injectIntoCodeBlock','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/lib/authentication-provider','function\x20Routes','REACT','true','create','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','error','\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','appName','split','6158592ctgPEY','(((.+)+)+)+$','apply','<Routes\x20history={history}/>','399330AtqULx','injectAroundString','replaceAll','react','2902860ArrMfg','</AuthProvider>','/routes','93178yMJyJQ','2817000OiyqtR','engines','fsi','kit/auth/provider/authentication-provider.js','exit','.js','<AuthProvider>','force','AuthContext','toString','813552bywVaH','/imports/startup/client/authentication-provider','/imports/startup/client/index','pathFromApp','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','useContext','3BXkIJv','/imports/startup/server/index'];a117c=function(){return A;};return a117c();}import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117x(0x194)]({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a117x(0x185),'validOpts':[a117x(0x17e)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117x(0x192)]},'description':a117x(0x197)},async function(a,b){const y=a117x;try{const c=b[y(0x17e)]||![];Log['bright'](y(0x195));const d=this[y(0x1a8)]['getMakaProjectConfig'](),f=d[y(0x1a7)]['ssr']===y(0x193),g={'name':headerCase(d[y(0x198)])[y(0x1a0)]('-','\x20')},h=f?'/imports/startup/lib':y(0x18c),i=this[y(0x1a8)][y(0x184)]({'pathParts':[h,'','','authentication-provider']});await this[y(0x1a8)]['withValue'](d,async()=>{const z=y;await this[z(0x1a8)]['template']({'srcPath':z(0x1a9),'destPath':i+z(0x1ab),'framework':z(0x1a1),'context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+y(0x1a4),l=k[y(0x199)]('/'),m=this[y(0x1a8)][y(0x184)]({'pathParts':l});await this[y(0x1a8)][y(0x18d)]({'filePath':m+'.'+j,'importName':y(0x17f),'modulePath':f?y(0x190):y(0x182),'isNamedExport':!![]}),await this[y(0x1a8)][y(0x18d)]({'filePath':m+'.'+j,'importName':y(0x186),'modulePath':y(0x1a1),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x1a8)][y(0x18e)]({'filePath':m+'.'+j,'content':y(0x18f),'begin':['const\x20Routes',y(0x191)],'replace':!![]});const n=y(0x183),o=n[y(0x199)]('/'),p=this[y(0x1a8)][y(0x184)]({'pathParts':o});await this[y(0x1a8)][y(0x18d)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x190):y(0x182),'isNamedExport':!![]}),await this['fsi']['injectAroundString']({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1a3),'targetString':'<Routes\x20history={browserHistory}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x188),r=q[y(0x199)]('/'),s=this[y(0x1a8)][y(0x184)]({'pathParts':r});await this[y(0x1a8)][y(0x18d)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x190):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi'][y(0x19f)]({'filePath':s+'.'+j,'aboveContent':y(0x17d),'belowContent':'</AuthProvider>','targetString':y(0x19d),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x196)](t),process[y(0x1aa)](0x1);}},async function(){},a117e);
1
+ const a117x=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=-parseInt(u(0xe0))/0x1*(parseInt(u(0xe2))/0x2)+parseInt(u(0xf2))/0x3*(-parseInt(u(0xda))/0x4)+parseInt(u(0xe4))/0x5*(parseInt(u(0xff))/0x6)+-parseInt(u(0xe9))/0x7*(parseInt(u(0xd8))/0x8)+parseInt(u(0xfb))/0x9+-parseInt(u(0xe6))/0xa+parseInt(u(0xef))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xe7239));function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xcd;let f=c[d];return f;},a117d(a,b);}const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0xf8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a[w(0xec)]()[w(0xfe)](w(0xce))[w(0xec)]()[w(0xf4)](a117a)[w(0xfe)]('(((.+)+)+)+$');});a117a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a117c(){const A=['fsi','3945230wLxDuU','<AuthProvider>','/imports/startup/client/authentication-provider','423437NDQlwi','bright','react','toString','function\x20Routes','AuthContext','31976296fWIMYq','error','injectAroundString','3iDRsoD','kit/auth/provider/authentication-provider.js','constructor','withValue','/imports/startup/client/index','/imports/startup/client','apply','AuthProvider','template','1871379YsweaI','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/lib/authentication-provider','search','684yIlrRq','injectImport','REACT','(((.+)+)+)+$','exit','force','.js','\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','pathFromApp','engines','const\x20Routes','</AuthProvider>','injectIntoCodeBlock','40mnnBxV','<Routes\x20history={history}/>','5361196MVUcFl','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','/imports/startup/lib','replaceAll','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','create','41Okwozu','provider','6822yGeKNE','split','395yIlIoJ'];a117c=function(){return A;};return a117c();}Generator[a117x(0xdf)]({'name':a117x(0xe1),'aliases':['p'],'usage':a117x(0xde),'shortDesc':a117x(0xdb),'validOpts':[a117x(0xd0)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117x(0xcd)]},'description':a117x(0xd2)},async function(a,b){const y=a117x;try{const c=b[y(0xd0)]||![];Log[y(0xea)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[y(0xe5)]['getMakaProjectConfig'](),f=d[y(0xd4)]['ssr']==='true',g={'name':headerCase(d['appName'])[y(0xdd)]('-','\x20')},h=f?y(0xdc):y(0xf7),i=this['fsi'][y(0xd3)]({'pathParts':[h,'','','authentication-provider']});await this[y(0xe5)][y(0xf5)](d,async()=>{const z=y;await this[z(0xe5)][z(0xfa)]({'srcPath':z(0xf3),'destPath':i+z(0xd1),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+'/routes',l=k[y(0xe3)]('/'),m=this['fsi']['pathFromApp']({'pathParts':l});await this[y(0xe5)][y(0x100)]({'filePath':m+'.'+j,'importName':y(0xee),'modulePath':f?y(0xfd):y(0xe8),'isNamedExport':!![]}),await this['fsi'][y(0x100)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0xeb),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][y(0xd7)]({'filePath':m+'.'+j,'content':y(0xfc),'begin':[y(0xd5),y(0xed)],'replace':!![]});const n=y(0xf6),o=n[y(0xe3)]('/'),p=this[y(0xe5)][y(0xd3)]({'pathParts':o});await this['fsi'][y(0x100)]({'filePath':p+'.'+j,'importName':y(0xf9),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0xe8),'isNamedExport':!![]}),await this[y(0xe5)][y(0xf1)]({'filePath':p+'.'+j,'aboveContent':y(0xe7),'belowContent':y(0xd6),'targetString':'<Routes\x20history={browserHistory}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[y(0xe3)]('/'),s=this[y(0xe5)][y(0xd3)]({'pathParts':r});await this[y(0xe5)][y(0x100)]({'filePath':s+'.'+j,'importName':y(0xf9),'modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi'][y(0xf1)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':y(0xd9),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0xf0)](t),process[y(0xcf)](0x1);}},async function(){},a117e);
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x1a2))/0x1+parseInt(f(0x1a8))/0x2*(parseInt(f(0x1a0))/0x3)+parseInt(f(0x1a5))/0x4*(parseInt(f(0x19e))/0x5)+-parseInt(f(0x1ae))/0x6*(-parseInt(f(0x1ac))/0x7)+parseInt(f(0x1a3))/0x8+parseInt(f(0x1a9))/0x9*(-parseInt(f(0x1a1))/0xa)+parseInt(f(0x1ab))/0xb*(-parseInt(f(0x1a4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x906ec));function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x19e;var f=c[d];return f;},a118d(a,b);}function a118c(){var i=['98870GrwNoG','apply','18AkJmHf','6568730yFdgyI','226581YyEqsN','3604136tgTakd','11244uVphQc','124qfnNIY','search','constructor','256814CnkiLM','9bSbsmL','toString','17897arGKmy','1662346rRZCAA','(((.+)+)+)+$','18fnZXPj'];a118c=function(){return i;};return a118c();}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1aa)]()[h(0x1a6)](h(0x1ad))[h(0x1aa)]()[h(0x1a7)](a118a)[h(0x1a6)](h(0x1ad));});a118a();import'./esri.generator.js';import'./map.esri.gen.js';
1
+ function a118c(){var i=['apply','search','257607IyNgRV','constructor','(((.+)+)+)+$','24TjiwtF','toString','295468ntYyJm','179739HJiuES','3830670BfHdhF','4twyIOb','3346483KdLzTR','2927020xtsShM','694876Bpnsky'];a118c=function(){return i;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x1f2))/0x1+parseInt(f(0x1f8))/0x2+parseInt(f(0x1f3))/0x3+-parseInt(f(0x1f5))/0x4*(parseInt(f(0x1f7))/0x5)+parseInt(f(0x1f4))/0x6+-parseInt(f(0x1f6))/0x7+parseInt(f(0x1f0))/0x8*(parseInt(f(0x1fb))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x58c8c));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1f9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1f1)]()['search']('(((.+)+)+)+$')[h(0x1f1)]()[h(0x1ee)](a118a)[h(0x1fa)](h(0x1ef));});function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1ee;var f=c[d];return f;},a118d(a,b);}a118a();import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x121;let f=c[d];return f;},a119d(a,b);}const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=-parseInt(f(0x12d))/0x1+parseInt(f(0x123))/0x2*(parseInt(f(0x12f))/0x3)+-parseInt(f(0x12c))/0x4+parseInt(f(0x122))/0x5+parseInt(f(0x126))/0x6+-parseInt(f(0x12a))/0x7+parseInt(f(0x121))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x6c4cc));function a119c(){const k=['search','create','1774428SyZjOf','(((.+)+)+)+$','/foo','apply','5924982rRKTdn','toString','1622952YQfAUC','871186ndYnFm','/foo/bar','237IxZMrV','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','constructor','8831568ZpeORc','4146895vZcgRe','8554cVNmey'];a119c=function(){return k;};return a119c();}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x12b)]()[h(0x124)](h(0x127))[h(0x12b)]()[h(0x131)](a119a)[h(0x124)](h(0x127));});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const EsriGen=Generator[a119i(0x125)]({'name':'esri','aliases':['e'],'usage':a119i(0x130),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a119i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0x12e)],'filesUpdated':[j(0x128)]}};},async function(){},a119e);export default EsriGen;
1
+ function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x11b;let f=c[d];return f;},a119d(a,b);}const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x122))/0x1+-parseInt(f(0x11c))/0x2*(-parseInt(f(0x12f))/0x3)+parseInt(f(0x11d))/0x4*(-parseInt(f(0x125))/0x5)+parseInt(f(0x12c))/0x6*(parseInt(f(0x12b))/0x7)+-parseInt(f(0x11f))/0x8*(parseInt(f(0x11b))/0x9)+parseInt(f(0x128))/0xa*(-parseInt(f(0x130))/0xb)+parseInt(f(0x126))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xa0cf2));function a119c(){const k=['4DcMFGb','1087004lMUUGR','apply','460808YdrNNx','esri','constructor','1075967LYoQze','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','15YAGhMx','7571016iuRdVT','(((.+)+)+)+$','1143570aEGCYd','Esri\x20Kit\x20generated\x20successfully','search','20356vYioBI','1446VinzUG','toString','/foo','572613UGtdmO','121QLAJBc','9rVNhqp'];a119c=function(){return k;};return a119c();}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x12d)]()[h(0x12a)](h(0x127))[h(0x12d)]()[h(0x121)](a119a)[h(0x12a)](h(0x127));});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const EsriGen=Generator['create']({'name':a119i(0x120),'aliases':['e'],'usage':a119i(0x124),'noNeedResource':!![],'shortDesc':a119i(0x123),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a119i;return{'success':!![],'message':j(0x129),'details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0x12e)]}};},async function(){},a119e);export default EsriGen;
@@ -1 +1 @@
1
- const a120s=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=-parseInt(p(0x16c))/0x1+-parseInt(p(0x177))/0x2+parseInt(p(0x17a))/0x3+-parseInt(p(0x169))/0x4*(-parseInt(p(0x18a))/0x5)+-parseInt(p(0x178))/0x6+parseInt(p(0x179))/0x7+parseInt(p(0x183))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xb7805));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0x164)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a[r(0x18b)]()[r(0x180)](r(0x186))['toString']()[r(0x163)](a120a)[r(0x180)]('(((.+)+)+)+$');});a120a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120e from'./esri.generator.js';import a120f from'../../../generators/maka.gen.js';function a120c(){const v=['4160OXiJeK','toString','page','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','template','constructor','apply','basic-map','esri-loader','injectImport','engines','804mKrLPX','checkNpmPackage','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','545179hqSZkQ','/imports/startup/client/templates','getMakaProjectConfig','error','FALSE','findProjectDirectory','Generate\x20an\x20Esri\x20map\x20component','react','<div\x20id=\x22map\x22>','map','</div>','934046vZYrow','3196920LNLKTG','7342279YByPli','2881833FbLogv','\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','true','replaceAll','fsi','/imports/ui/','search','@esri/react-arcgis','/imports/ui/hooks','959224nqGvqM','pathFromApp','injectTemplateModule','(((.+)+)+)+$','injectIntoFile','dir','kit/esri/map/'];a120c=function(){return v;};return a120c();}import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x160;let f=c[d];return f;},a120d(a,b);}Generator['create']({'name':'map','aliases':['m'],'usage':a120s(0x16b),'shortDesc':a120s(0x172),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a120s(0x170)]},'description':a120s(0x17b)},async function(a,b){const t=a120s;try{Log['bright']('Generating\x20a\x20map\x20component');const c=t(0x165);await this[t(0x17e)][t(0x16a)]([t(0x181),t(0x166)],{'shouldInstall':!![]});const d=this[t(0x17e)][t(0x171)](),f=this['fsi'][t(0x16e)](),g=f[t(0x168)]['ssr']===t(0x17c),h=await a120f['processAndRunGenerator'](t(0x160),[t(0x175)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[t(0x17d)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?t(0x17f)+b['baseDir']:t(0x182),k=this[t(0x17e)][t(0x184)]({'pathParts':[j,b[t(0x188)],paramCase(c),paramCase(c)]});await this['fsi']['withValue'](f,async()=>{const u=t;await this[u(0x17e)][u(0x162)]({'srcPath':u(0x189)+c+'.js','destPath':k+'.js','framework':u(0x173),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[t(0x17e)][t(0x185)](c,f,l);const m=h['split']('/'),n=this['fsi'][t(0x184)]({'pathParts':m});await this[t(0x17e)][t(0x167)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x16d),'isNamedExport':!![]}),await this[t(0x17e)][t(0x187)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x161),'begin':[t(0x174),'<div\x20id=\x22map\x22>'],'end':[t(0x176)],'replace':!![]});}catch(o){Log[t(0x16f)](o),process['exit'](0x1);}},async function(){},a120e);
1
+ const a120r=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=-parseInt(p(0xb5))/0x1*(parseInt(p(0xc5))/0x2)+parseInt(p(0xb7))/0x3+parseInt(p(0xbb))/0x4+parseInt(p(0xbc))/0x5*(-parseInt(p(0xce))/0x6)+parseInt(p(0xd5))/0x7*(-parseInt(p(0xc9))/0x8)+parseInt(p(0xe0))/0x9+-parseInt(p(0xd8))/0xa*(-parseInt(p(0xcc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xb5727));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 q=a120d;return a120a['toString']()[q(0xc4)](q(0xd2))[q(0xe6)]()['constructor'](a120a)[q(0xc4)](q(0xd2));});a120a();function a120c(){const u=['getMakaProjectConfig','FALSE','(((.+)+)+)+$','REACT','esri-loader','7DaqfDx','pathFromApp','page','123430lPrPqj','fsi','replaceAll','basic-map','react','create','findProjectDirectory','<div\x20id=\x22map\x22>','4890159zAhbsf','withValue','.js','appName','Generate\x20an\x20Esri\x20map\x20component','baseDir','toString','map','kit/esri/map/','22867LbounF','true','3392967elAEAP','checkNpmPackage','injectIntoFile','processAndRunGenerator','2426016EYKKnb','5jQDvMo','</div>','injectImport','bright','ssr','/imports/startup/client/templates','dir','/imports/startup/lib/templates','search','122YMDkCY','template','@esri/react-arcgis','split','5186384rfpqZX','/imports/ui/hooks','engines','1177CzvnPL','/imports/ui/','4890918UWQXiK','error'];a120c=function(){return u;};return a120c();}import{Generator}from'../../../generator.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xb5;let f=c[d];return f;},a120d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a120e from'./esri.generator.js';import a120f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120r(0xdd)]({'name':a120r(0xe7),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a120r(0xe4),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120r(0xd3)],'ssr':SsrEngines[a120r(0xd1)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const s=a120r;try{Log[s(0xbf)]('Generating\x20a\x20map\x20component');const c=s(0xdb);await this['fsi'][s(0xb8)]([s(0xc7),s(0xd4)],{'shouldInstall':!![]});const d=this[s(0xd9)][s(0xde)](),f=this[s(0xd9)][s(0xd0)](),g=f[s(0xcb)][s(0xc0)]===s(0xb6),h=await a120f[s(0xba)](s(0xd7),[s(0xe7)],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0xe3)])[s(0xda)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?s(0xcd)+b[s(0xe5)]:s(0xca),k=this[s(0xd9)]['pathFromApp']({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[s(0xd9)][s(0xe1)](f,async()=>{const t=s;await this[t(0xd9)][t(0xc6)]({'srcPath':t(0xe8)+c+'.js','destPath':k+t(0xe2),'framework':t(0xdc),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[s(0xc2)]+'/'+c+'/'+c;await this[s(0xd9)]['injectTemplateModule'](c,f,l);const m=h[s(0xc8)]('/'),n=this[s(0xd9)][s(0xd6)]({'pathParts':m});await this[s(0xd9)][s(0xbe)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0xc3):s(0xc1),'isNamedExport':!![]}),await this[s(0xd9)][s(0xb9)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[s(0xdf),s(0xdf)],'end':[s(0xbd)],'replace':!![]});}catch(o){Log[s(0xcf)](o),process['exit'](0x1);}},async function(){},a120e);
@@ -1 +1 @@
1
- const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=-parseInt(f(0x179))/0x1+parseInt(f(0x182))/0x2+parseInt(f(0x186))/0x3*(parseInt(f(0x176))/0x4)+parseInt(f(0x184))/0x5*(-parseInt(f(0x17f))/0x6)+parseInt(f(0x177))/0x7+-parseInt(f(0x174))/0x8+parseInt(f(0x185))/0x9*(parseInt(f(0x175))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x3241e));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0x180)]()[h(0x17e)](h(0x178))[h(0x180)]()['constructor'](a121a)['search'](h(0x178));});a121a();function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x174;let f=c[d];return f;},a121d(a,b);}import{Generator}from'../../generator.js';const KitGen=Generator[a121i(0x181)]({'name':a121i(0x17c),'aliases':['k'],'usage':a121i(0x17a),'shortDesc':a121i(0x17b),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a121i(0x17d)]},async function(){});export default KitGen;function a121c(){const j=['35tNASGS','2016MAykUx','636DvMKaC','391168NrKljf','9140ydTnxc','704luAKig','2306745vIRLsZ','(((.+)+)+)+$','184078jiFUDh','maka\x20{generate,\x20g}:{kit}\x20<name>','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','kit','maka\x20g:k','search','301302sxiqwQ','toString','create','437528AxnQlq','apply'];a121c=function(){return j;};return a121c();}
1
+ const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=-parseInt(f(0x1f6))/0x1+-parseInt(f(0x1ff))/0x2*(parseInt(f(0x203))/0x3)+parseInt(f(0x1f4))/0x4*(-parseInt(f(0x1f7))/0x5)+parseInt(f(0x1ef))/0x6*(parseInt(f(0x1f2))/0x7)+-parseInt(f(0x202))/0x8+parseInt(f(0x1f9))/0x9*(parseInt(f(0x1f8))/0xa)+-parseInt(f(0x1fc))/0xb*(-parseInt(f(0x1f0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x9439a));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0x1f3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0x1fe)]()[h(0x1fa)](h(0x1fb))[h(0x1fe)]()[h(0x201)](a121a)['search'](h(0x1fb));});a121a();function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a121d(a,b);}function a121c(){const j=['maka\x20{generate,\x20g}:{kit}\x20<name>','158032uOdkoW','295WlFxuW','130asojLD','204228qfOGDy','search','(((.+)+)+)+$','29935807GBnoly','create','toString','6KJVnDS','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','constructor','2513488gYVrIi','978363JICNUr','12iNkOub','12hjMeTq','maka\x20g:kit','828163DvPHPV','apply','81040eEpcfA'];a121c=function(){return j;};return a121c();}import{Generator}from'../../generator.js';const KitGen=Generator[a121i(0x1fd)]({'name':'kit','aliases':['k'],'usage':a121i(0x1f5),'shortDesc':a121i(0x200),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0x1f1),'maka\x20g:k']},async function(){});export default KitGen;
@@ -1 +1 @@
1
- function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0xe0;var f=c[d];return f;},a122d(a,b);}(function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0xe9))/0x1+-parseInt(f(0xe8))/0x2+parseInt(f(0xee))/0x3*(-parseInt(f(0xe4))/0x4)+parseInt(f(0xe6))/0x5+parseInt(f(0xe0))/0x6*(parseInt(f(0xe5))/0x7)+-parseInt(f(0xed))/0x8+parseInt(f(0xe7))/0x9*(parseInt(f(0xec))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xa155c));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0xe2)]()[h(0xe3)](h(0xeb))[h(0xe2)]()[h(0xe1)](a122a)[h(0xe3)]('(((.+)+)+)+$');});a122a();import'./mui.generator.js';function a122c(){var i=['apply','(((.+)+)+)+$','17202750VKRcur','1383584cTEcqK','18030dbKinh','372vGASDT','constructor','toString','search','716tWorUR','94206uRMcAO','1236970usUVDG','9pAfqgs','1778684sJvuxG','3157ongQOl'];a122c=function(){return i;};return a122c();}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x134))/0x1*(-parseInt(f(0x13e))/0x2)+-parseInt(f(0x133))/0x3*(-parseInt(f(0x136))/0x4)+parseInt(f(0x139))/0x5*(-parseInt(f(0x137))/0x6)+-parseInt(f(0x13b))/0x7*(-parseInt(f(0x142))/0x8)+parseInt(f(0x13c))/0x9+parseInt(f(0x13a))/0xa+-parseInt(f(0x141))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xe2e9d));function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x133;var f=c[d];return f;},a122d(a,b);}function a122c(){var i=['187260LqsZrm','toString','35NNEMtb','12386760toYXzS','7kmkeYW','11098692GFKplT','apply','1768970LkWJDW','(((.+)+)+)+$','search','51166346WtDftt','7921448aIINYU','4358589BEaSTg','1qDIZUh','constructor','4Ndgoqd'];a122c=function(){return i;};return a122c();}var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x138)]()['search'](h(0x13f))['toString']()[h(0x135)](a122a)[h(0x140)](h(0x13f));});a122a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=-parseInt(G(0x139))/0x1+parseInt(G(0x12f))/0x2+-parseInt(G(0x11c))/0x3+-parseInt(G(0x129))/0x4*(-parseInt(G(0x114))/0x5)+-parseInt(G(0x127))/0x6+parseInt(G(0x118))/0x7*(parseInt(G(0x10d))/0x8)+parseInt(G(0x119))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xe7c9b));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a[I(0x110)]()[I(0x105)](I(0x109))['toString']()[I(0x12c)](a123a)[I(0x105)](I(0x109));});function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xfc;let f=c[d];return f;},a123d(a,b);}a123a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a123e from'../../../generators/maka.gen.js';function a123c(){const N=['true','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','maka\x20generate:kit:mui:frame','kit:auth:meteor','auth','4214148aMubif','.js','4QiRhgv','kit/mui/auth/forgot-password/','force','constructor','login','basic-register-page','356408nplOoW','react','layouts','/imports/startup/lib/authentication-provider','withValue','kit/mui/auth/login/','apply','kit/mui/auth/register/','kit/mui/auth/password-reset/','basic-login-page','1127883GqrjMZ','fsi','route','list','log','reset-password/:token','register','Custom\x20(roll\x20your\x20own)','template','AuthContext','basic-forgot-password-page','kit/mui/auth/logout/','search','replaceAll','ssr','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','(((.+)+)+)+$','/imports/ui/','meteor','findProjectDirectory','96CJRcrD','injectImport','/imports/startup/client/authentication-provider','toString','dir','engines','split','2776705oXBKrt','baseDir','authType','Meteor\x20Accounts','906073czorkw','16967052KsRmtL','forgot-password','pathFromApp','4177191skhNcH','processAndRunGenerator','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','maka\x20g:k:m:f','basic-password-reset-page','injectTemplateModule'];a123c=function(){return N;};return a123c();}import a123f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a123J(0x126),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a123J(0x11e),'validOpts':[a123J(0x131),a123J(0x12b)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':[a123J(0x124),a123J(0x11f)],'description':a123J(0x123)},async function(a,b){const K=a123J;try{const c=b[K(0x12b)]||![],d=this['fsi'][K(0x10c)](),f=this['fsi']['getMakaProjectConfig'](),{authType:g}=await Actions['options']({'type':K(0xfc),'name':K(0x116),'message':K(0x108),'choices':[{'name':K(0x117),'value':K(0x10b)},{'name':K(0x100),'value':'custom'}]}),h='basic-login-page',i='basic-logout-page',j=K(0x12e),k=K(0x120),l=K(0x103),m=b['baseDir']?K(0x10a)+b[K(0x115)]:'/imports/ui/pages/auth',n=this[K(0x13a)]['pathFromApp']({'pathParts':[m,b[K(0x111)],paramCase(h),paramCase(h)]}),o=this[K(0x13a)][K(0x11b)]({'pathParts':[m,b[K(0x111)],paramCase(i),paramCase(i)]}),p=this[K(0x13a)][K(0x11b)]({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this[K(0x13a)][K(0x11b)]({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this[K(0x13a)][K(0x11b)]({'pathParts':[m,b[K(0x111)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f['appName'])[K(0x106)]('-','\x20')};await this[K(0x13a)][K(0x133)](f,async()=>{const L=K;await this[L(0x13a)][L(0x101)]({'srcPath':L(0x134)+h+L(0x128),'destPath':n+L(0x128),'framework':L(0x130),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x13a)]['template']({'srcPath':L(0x104)+i+L(0x128),'destPath':o+L(0x128),'framework':L(0x130),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x13a)][L(0x101)]({'srcPath':L(0x136)+j+L(0x128),'destPath':p+L(0x128),'framework':L(0x130),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x13a)][L(0x101)]({'srcPath':L(0x137)+k+L(0x128),'destPath':q+L(0x128),'framework':L(0x130),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x101)]({'srcPath':L(0x12a)+l+'.js','destPath':r+L(0x128),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b['dir']+'/'+h+'/'+h;await this[K(0x13a)][K(0x121)](h,f,t);const u=''+m+b[K(0x111)]+'/'+i+'/'+i;await this[K(0x13a)]['injectTemplateModule'](i,f,u);const v=''+m+b[K(0x111)]+'/'+j+'/'+j;await this[K(0x13a)][K(0x121)](j,f,v);const w=''+m+b[K(0x111)]+'/'+k+'/'+k;await this[K(0x13a)][K(0x121)](k,f,w);const x=''+m+b[K(0x111)]+'/'+l+'/'+l;await this[K(0x13a)]['injectTemplateModule'](l,f,x),await a123e[K(0x11d)]('route',[K(0x138)],{'url':K(0x12d),'cwd':d,'config':f}),await a123e[K(0x11d)](K(0x13b),['basic-logout-page'],{'url':'logout','private':!![],'cwd':d,'config':f}),await a123e[K(0x11d)](K(0x13b),[K(0x12e)],{'url':K(0xff),'cwd':d,'config':f}),await a123e[K(0x11d)]('route',[K(0x120)],{'url':K(0xfe),'cwd':d,'config':f}),await a123e[K(0x11d)](K(0x13b),[K(0x103)],{'url':K(0x11a),'cwd':d,'config':f});g===K(0x10b)&&await a123e[K(0x11d)](K(0x125),[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a123e[K(0x11d)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f[K(0x112)][K(0x107)]===K(0x122),z=f[K(0x112)]['js'],A=this[K(0x13a)][K(0x11b)]({'pathParts':t[K(0x113)]('/')});await this['fsi'][K(0x10e)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?K(0x132):K(0x10f),'isNamedExport':!![]});const B=this[K(0x13a)][K(0x11b)]({'pathParts':u[K(0x113)]('/')});await this[K(0x13a)][K(0x10e)]({'filePath':B+'.'+z,'importName':K(0x102),'modulePath':y?K(0x132):K(0x10f),'isNamedExport':!![]});const C=this[K(0x13a)][K(0x11b)]({'pathParts':v[K(0x113)]('/')});await this[K(0x13a)][K(0x10e)]({'filePath':C+'.'+z,'importName':K(0x102),'modulePath':y?K(0x132):K(0x10f),'isNamedExport':!![]});const D=this['fsi'][K(0x11b)]({'pathParts':w[K(0x113)]('/')});await this[K(0x13a)][K(0x10e)]({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?K(0x132):K(0x10f),'isNamedExport':!![]});const E=this[K(0x13a)][K(0x11b)]({'pathParts':x[K(0x113)]('/')});await this[K(0x13a)]['injectImport']({'filePath':E+'.'+z,'importName':K(0x102),'modulePath':y?K(0x132):K(0x10f),'isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const M=a123J;console[M(0xfd)]('Cleaning\x20up...');},a123f);
1
+ function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xd2;let f=c[d];return f;},a123d(a,b);}const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=parseInt(G(0x101))/0x1*(parseInt(G(0xe1))/0x2)+parseInt(G(0x105))/0x3*(parseInt(G(0xf2))/0x4)+-parseInt(G(0xef))/0x5*(-parseInt(G(0xe8))/0x6)+parseInt(G(0xf1))/0x7*(parseInt(G(0x116))/0x8)+parseInt(G(0xe3))/0x9+-parseInt(G(0xec))/0xa*(parseInt(G(0x110))/0xb)+-parseInt(G(0xff))/0xc*(parseInt(G(0xe7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xd6790));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a[I(0xda)]()[I(0x100)](I(0x108))[I(0xda)]()['constructor'](a123a)[I(0x100)](I(0x108));});function a123c(){const N=['\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','split','/imports/ui/pages/auth','REACT','dir','/imports/startup/lib/authentication-provider','10522uGEpfi','kit:auth:provider','12482343kXsTnB','login','engines','injectImport','47996689QezJcA','4050966DoYmIv','custom','logout','template','14540tTiWkW','maka\x20generate:kit:mui:frame','.js','10QQYqLE','kit/mui/auth/forgot-password/','483TBfFVP','20284TdSIuK','reset-password/:token','appName','basic-register-page','apply','meteor','Meteor\x20Accounts','auth','withValue','Cleaning\x20up...','forgot-password','fsi','force','12mYXWbB','search','171QifBhQ','basic-logout-page','authType','list','93NJqEdz','Custom\x20(roll\x20your\x20own)','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','(((.+)+)+)+$','/imports/ui/','injectTemplateModule','findProjectDirectory','layouts','pathFromApp','ssr','basic-forgot-password-page','6083HSLkQl','route','processAndRunGenerator','baseDir','maka\x20g:k:m:f','react','183248EnOxUv','basic-password-reset-page','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','basic-login-page','getMakaProjectConfig','/imports/startup/client/authentication-provider','AuthContext','create','error','toString'];a123c=function(){return N;};return a123c();}a123a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a123e from'../../../generators/maka.gen.js';import a123f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123J(0xd8)]({'name':a123J(0xf9),'aliases':['a'],'usage':a123J(0xd3),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a123J(0x10c),a123J(0xfe)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a123J(0xde)]},'examples':[a123J(0xed),a123J(0x114)],'description':a123J(0xdb)},async function(a,b){const K=a123J;try{const c=b[K(0xfe)]||![],d=this[K(0xfd)][K(0x10b)](),f=this[K(0xfd)][K(0xd5)](),{authType:g}=await Actions['options']({'type':K(0x104),'name':K(0x103),'message':K(0x107),'choices':[{'name':K(0xf8),'value':K(0xf7)},{'name':K(0x106),'value':K(0xe9)}]}),h=K(0xd4),i=K(0x102),j=K(0xf5),k=K(0xd2),l=K(0x10f),m=b['baseDir']?K(0x109)+b[K(0x113)]:K(0xdd),n=this[K(0xfd)]['pathFromApp']({'pathParts':[m,b[K(0xdf)],paramCase(h),paramCase(h)]}),o=this[K(0xfd)][K(0x10d)]({'pathParts':[m,b[K(0xdf)],paramCase(i),paramCase(i)]}),p=this['fsi'][K(0x10d)]({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this[K(0xfd)][K(0x10d)]({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this[K(0xfd)][K(0x10d)]({'pathParts':[m,b[K(0xdf)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0xf4)])['replaceAll']('-','\x20')};await this[K(0xfd)][K(0xfa)](f,async()=>{const L=K;await this['fsi'][L(0xeb)]({'srcPath':'kit/mui/auth/login/'+h+L(0xee),'destPath':n+'.js','framework':L(0x115),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xfd)][L(0xeb)]({'srcPath':'kit/mui/auth/logout/'+i+L(0xee),'destPath':o+L(0xee),'framework':L(0x115),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xfd)][L(0xeb)]({'srcPath':'kit/mui/auth/register/'+j+L(0xee),'destPath':p+L(0xee),'framework':L(0x115),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xfd)][L(0xeb)]({'srcPath':'kit/mui/auth/password-reset/'+k+L(0xee),'destPath':q+'.js','framework':L(0x115),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xfd)][L(0xeb)]({'srcPath':L(0xf0)+l+L(0xee),'destPath':r+L(0xee),'framework':L(0x115),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0xdf)]+'/'+h+'/'+h;await this[K(0xfd)][K(0x10a)](h,f,t);const u=''+m+b[K(0xdf)]+'/'+i+'/'+i;await this[K(0xfd)][K(0x10a)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[K(0xfd)]['injectTemplateModule'](j,f,v);const w=''+m+b[K(0xdf)]+'/'+k+'/'+k;await this['fsi']['injectTemplateModule'](k,f,w);const x=''+m+b[K(0xdf)]+'/'+l+'/'+l;await this[K(0xfd)]['injectTemplateModule'](l,f,x),await a123e['processAndRunGenerator'](K(0x111),[K(0xd4)],{'url':K(0xe4),'cwd':d,'config':f}),await a123e['processAndRunGenerator'](K(0x111),['basic-logout-page'],{'url':K(0xea),'private':!![],'cwd':d,'config':f}),await a123e['processAndRunGenerator']('route',[K(0xf5)],{'url':'register','cwd':d,'config':f}),await a123e[K(0x112)](K(0x111),[K(0xd2)],{'url':K(0xf3),'cwd':d,'config':f}),await a123e['processAndRunGenerator'](K(0x111),['basic-forgot-password-page'],{'url':K(0xfc),'cwd':d,'config':f});g===K(0xf7)&&await a123e['processAndRunGenerator']('kit:auth:meteor',[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a123e['processAndRunGenerator'](K(0xe2),[],{'force':c,'cwd':d,'config':f});const y=f[K(0xe5)][K(0x10e)]==='true',z=f[K(0xe5)]['js'],A=this['fsi'][K(0x10d)]({'pathParts':t[K(0xdc)]('/')});await this[K(0xfd)][K(0xe6)]({'filePath':A+'.'+z,'importName':K(0xd7),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this['fsi'][K(0x10d)]({'pathParts':u['split']('/')});await this[K(0xfd)]['injectImport']({'filePath':B+'.'+z,'importName':K(0xd7),'modulePath':y?K(0xe0):K(0xd6),'isNamedExport':!![]});const C=this[K(0xfd)][K(0x10d)]({'pathParts':v[K(0xdc)]('/')});await this['fsi'][K(0xe6)]({'filePath':C+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':K(0xd6),'isNamedExport':!![]});const D=this[K(0xfd)]['pathFromApp']({'pathParts':w[K(0xdc)]('/')});await this[K(0xfd)][K(0xe6)]({'filePath':D+'.'+z,'importName':K(0xd7),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[K(0xfd)][K(0x10d)]({'pathParts':x['split']('/')});await this[K(0xfd)][K(0xe6)]({'filePath':E+'.'+z,'importName':K(0xd7),'modulePath':y?K(0xe0):K(0xd6),'isNamedExport':!![]});}catch(F){Log[K(0xd9)](F);}},async function(){const M=a123J;console['log'](M(0xfb));},a123f);
@@ -1 +1 @@
1
- const a124E=a124d;function a124c(){const I=['toString','pathFromApp','/imports/startup/lib/templates','37350JeIkUt','fsi','Container','maka\x20generate:kit:mui:frame','checkMeteorPackage','replaceAll','jsx','36iyByCn','-hook\x22>','dir','<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>','51688IFRFob','imports','test','{\x20this.props.children\x20}','checkbox','348sXFfMs','{\x20props.children\x20}','\x20/>\x0a','error','.js','/imports/startup/client/templates','basic-drawer','Cleaning\x20up...','injectIntoFile','Box','{this.props.children}','true','kit/mui/frame/drawers/','getFiles','</div>','injectTemplateModule','(((.+)+)+)+$','@mui/material/Container','basic-app-bar','join','appName','685264jtFAVW','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','3449970tSyYik','ssr','kit/mui/frame/app-bars/','react','findAppDirectory','injectImport','apply','engines','/imports/ui/components','{props.children}','tsx','template','baseDir','maka\x20g:k:m:f','force','basic-sticky-footer','kit/mui/frame/footers/','/imports/ui/','create','2573795IHhtvo','2392008mLikZk','70WCVAkZ','getMakaProjectConfig','REACT','search','maka:react-tracker','1110708vfkunz','<div\x20id=\x22','layouts','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','@mui/material/Box'];a124c=function(){return I;};return a124c();}(function(a,b){const B=a124d,c=a();while(!![]){try{const d=-parseInt(B(0xd9))/0x1+-parseInt(B(0xc6))/0x2+parseInt(B(0xce))/0x3*(parseInt(B(0xde))/0x4)+-parseInt(B(0xbf))/0x5+parseInt(B(0xc0))/0x6+-parseInt(B(0xc1))/0x7*(parseInt(B(0xaa))/0x8)+-parseInt(B(0xd5))/0x9*(-parseInt(B(0xac))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xd7ae1));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0xb2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a[D(0xcb)]()['search'](D(0xa5))[D(0xcb)]()['constructor'](a124a)[D(0xc4)](D(0xa5));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x9c;let f=c[d];return f;},a124d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a124e from'path';import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124E(0xbe)]({'name':'frame','aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a124E(0xc8),a124E(0xb8),a124E(0xd7),a124E(0xba)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a124E(0xc3)]},'examples':[a124E(0xd1),a124E(0xb9)],'description':a124E(0xc9)},async function(a,b){const F=a124E;try{const c=b['force']||![],d=F(0xa7),f=F(0xe4),g=F(0xbb),h=this[F(0xcf)][F(0xc2)](),i=h[F(0xb3)][F(0xad)]===F(0xa0);await this['fsi'][F(0xd2)](['session',F(0xc5)],{'shouldInstall':!![]});const j=this['fsi'][F(0xb0)](),k=a124e[F(0xa8)](j,F(0xda),'ui',F(0xc8)),l=this[F(0xcf)]['getDirectories'](k),m=await Actions['options']({'type':F(0xdd),'name':'layouts','message':F(0xab),'choices':l});if(m['layouts']['length']===0x0){Log[F(0xe1)]('No\x20layouts\x20selected');return;}const n=b[F(0xb8)]?F(0xbd)+b[F(0xb8)]:F(0xb4),o=this[F(0xcf)]['pathFromApp']({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[F(0xcf)][F(0xcc)]({'pathParts':[n,b[F(0xd7)],paramCase(f),paramCase(f)]}),q=this['fsi'][F(0xcc)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0xa9)])[F(0xd3)]('-','\x20')};await this[F(0xcf)]['withValue'](h,async()=>{const G=F;await this['fsi'][G(0xb7)]({'srcPath':G(0xae)+d+G(0xe2),'destPath':o+'.js','framework':G(0xaf),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xcf)][G(0xb7)]({'srcPath':G(0xa1)+f+G(0xe2),'destPath':p+G(0xe2),'framework':G(0xaf),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xcf)][G(0xb7)]({'srcPath':G(0xbc)+g+G(0xe2),'destPath':q+G(0xe2),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this[F(0xcf)]['injectTemplateModule'](d,h,s);const t=''+n+b[F(0xd7)]+'/'+f+'/'+f;await this[F(0xcf)][F(0xa4)](f,h,t);const u=''+n+b[F(0xd7)]+'/'+g+'/'+g;await this[F(0xcf)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0xcf)][F(0xa2)](a124e[F(0xa8)](k,w),{'extensions':[F(0xd4),F(0xb6)],'omit':['app-tests','tests',F(0xdb)]});for(const y of x){const z=a124e[F(0xa8)](k,w,y);await this[F(0xcf)][F(0xb1)]({'filePath':z,'importName':F(0x9e),'modulePath':F(0xca),'isNamedExport':![]}),await this['fsi'][F(0xb1)]({'filePath':z,'importName':F(0xd0),'modulePath':F(0xa6),'isNamedExport':![]}),await this['fsi'][F(0xb1)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0xcd):F(0xe3),'isNamedExport':!![]}),await this['fsi'][F(0x9d)]({'filePath':z,'content':'<'+pascalCase(d)+F(0xe0),'begin':[F(0xc7)+w+'\x22>',F(0xc7)+w+'-hook\x22>'],'end':['{this.props.children}',F(0xdc),F(0xb5),'{\x20props.children\x20}']}),await this['fsi'][F(0xb1)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0xcd):F(0xe3),'isNamedExport':!![]}),await this[F(0xcf)][F(0x9d)]({'filePath':z,'content':'<'+pascalCase(f)+'\x20/>\x0a','begin':[F(0xc7)+w+'\x22>','<div\x20id=\x22'+w+F(0xd6)],'end':[F(0x9f),F(0xdc),'{props.children}',F(0xdf)]}),await this['fsi'][F(0x9d)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[F(0x9f),'{\x20this.props.children\x20}','{props.children}',F(0xdf)],'end':[F(0xa3)]}),await this[F(0xcf)][F(0xb1)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0xcd):F(0xe3),'isNamedExport':!![]}),await this[F(0xcf)]['injectAroundString']({'filePath':z,'aboveContent':F(0xd8),'belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[F(0x9f),F(0xdc),F(0xb5),F(0xdf)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0xe1)](A);}},async function(){const H=a124E;console['log'](H(0x9c));},a124f);
1
+ function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x182;let f=c[d];return f;},a124d(a,b);}const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=-parseInt(B(0x1bf))/0x1+parseInt(B(0x1c2))/0x2+parseInt(B(0x189))/0x3*(parseInt(B(0x1ca))/0x4)+-parseInt(B(0x18b))/0x5+parseInt(B(0x19c))/0x6*(-parseInt(B(0x19f))/0x7)+parseInt(B(0x1a9))/0x8+parseInt(B(0x194))/0x9*(parseInt(B(0x1b9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x7ec16));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a[D(0x1c7)]()[D(0x1b4)](D(0x18c))[D(0x1c7)]()[D(0x1d0)](a124a)[D(0x1b4)]('(((.+)+)+)+$');});a124a();function a124c(){const I=['toString','kit/mui/frame/drawers/','apply','109784toGGCG','app-tests','layouts','pathFromApp','template','getDirectories','constructor','fsi','withValue','tests','engines','tsx','checkbox','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','3VxWIwA','join','1031530JObHxD','(((.+)+)+)+$','injectImport','/imports/ui/','react','{\x20this.props.children\x20}','log','findAppDirectory','/imports/startup/lib/templates','285372GZspxm','appName','injectTemplateModule','maka\x20generate:kit:mui:frame','force','options','Cleaning\x20up...','injectIntoFile','138CjYJPf','dir','frame','21623SLXbPC','No\x20layouts\x20selected','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','<div\x20id=\x22','replaceAll','kit/mui/frame/app-bars/','session','getMakaProjectConfig','ssr','error','541112mxicvC','{props.children}','MATERIAL','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','basic-sticky-footer','/imports/startup/client/templates','maka\x20g:k:m:f','{this.props.children}','\x20/>\x0a','injectAroundString','getFiles','search','jsx','imports','Container','REACT','410EFhlFH','basic-drawer','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','@mui/material/Box','{\x20props.children\x20}','create','868969sMsntM','.js','-hook\x22>','540798JFeuQI','baseDir','</div>','kit/mui/frame/footers/','maka:react-tracker'];a124c=function(){return I;};return a124c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a124e from'path';import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124E(0x1be)]({'name':a124E(0x19e),'aliases':['f'],'usage':a124E(0x1ac),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':['layouts',a124E(0x1c3),a124E(0x19d),a124E(0x198)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0x1ab)],'client':ClientEngines[a124E(0x1b8)]},'examples':[a124E(0x197),a124E(0x1af)],'description':a124E(0x188)},async function(a,b){const F=a124E;try{const c=b[F(0x198)]||![],d='basic-app-bar',f=F(0x1ba),g=F(0x1ad),h=this[F(0x182)][F(0x1a6)](),i=h[F(0x185)][F(0x1a7)]==='true';await this[F(0x182)]['checkMeteorPackage']([F(0x1a5),F(0x1c6)],{'shouldInstall':!![]});const j=this[F(0x182)][F(0x192)](),k=a124e[F(0x18a)](j,F(0x1b6),'ui',F(0x1cc)),l=this[F(0x182)][F(0x1cf)](k),m=await Actions[F(0x199)]({'type':F(0x187),'name':F(0x1cc),'message':F(0x1a1),'choices':l});if(m[F(0x1cc)]['length']===0x0){Log[F(0x1a8)](F(0x1a0));return;}const n=b['baseDir']?F(0x18e)+b[F(0x1c3)]:'/imports/ui/components',o=this[F(0x182)][F(0x1cd)]({'pathParts':[n,b[F(0x19d)],paramCase(d),paramCase(d)]}),p=this[F(0x182)]['pathFromApp']({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this['fsi'][F(0x1cd)]({'pathParts':[n,b[F(0x19d)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x195)])[F(0x1a3)]('-','\x20')};await this[F(0x182)][F(0x183)](h,async()=>{const G=F;await this[G(0x182)]['template']({'srcPath':G(0x1a4)+d+'.js','destPath':o+'.js','framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x182)]['template']({'srcPath':G(0x1c8)+f+G(0x1c0),'destPath':p+'.js','framework':G(0x18f),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x182)][G(0x1ce)]({'srcPath':G(0x1c5)+g+G(0x1c0),'destPath':q+G(0x1c0),'framework':G(0x18f),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x19d)]+'/'+d+'/'+d;await this[F(0x182)][F(0x196)](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0x182)][F(0x196)](f,h,t);const u=''+n+b[F(0x19d)]+'/'+g+'/'+g;await this[F(0x182)][F(0x196)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x182)][F(0x1b3)](a124e[F(0x18a)](k,w),{'extensions':[F(0x1b5),F(0x186)],'omit':[F(0x1cb),F(0x184),'test']});for(const y of x){const z=a124e[F(0x18a)](k,w,y);await this[F(0x182)]['injectImport']({'filePath':z,'importName':'Box','modulePath':F(0x1bc),'isNamedExport':![]}),await this[F(0x182)][F(0x18d)]({'filePath':z,'importName':F(0x1b7),'modulePath':'@mui/material/Container','isNamedExport':![]}),await this[F(0x182)][F(0x18d)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x193):F(0x1ae),'isNamedExport':!![]}),await this['fsi'][F(0x19b)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x1b1),'begin':[F(0x1a2)+w+'\x22>','<div\x20id=\x22'+w+F(0x1c1)],'end':['{this.props.children}',F(0x190),'{props.children}','{\x20props.children\x20}']}),await this['fsi']['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':F(0x1ae),'isNamedExport':!![]}),await this[F(0x182)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0x1b1),'begin':[F(0x1a2)+w+'\x22>',F(0x1a2)+w+'-hook\x22>'],'end':[F(0x1b0),'{\x20this.props.children\x20}',F(0x1aa),'{\x20props.children\x20}']}),await this[F(0x182)][F(0x19b)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x1b1),'begin':[F(0x1b0),F(0x190),F(0x1aa),F(0x1bd)],'end':[F(0x1c4)]}),await this[F(0x182)][F(0x18d)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x193):F(0x1ae),'isNamedExport':!![]}),await this[F(0x182)][F(0x1b2)]({'filePath':z,'aboveContent':'<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','belowContent':F(0x1bb),'targetString':[F(0x1b0),F(0x190),'{props.children}',F(0x1bd)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x1a8)](A);}},async function(){const H=a124E;console[H(0x191)](H(0x19a));},a124f);
@@ -1 +1 @@
1
- const a125j=a125d;function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xe2;let f=c[d];return f;},a125d(a,b);}function a125c(){const l=['includes','4934620rCIoUi','checkbox','maka\x20g:kit:m','No\x20MUI\x20kits\x20selected.\x20Exiting.','create','kitChoices','9SOqYRR','frame','\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','2335851oNIVol','findProjectDirectory','info','search','processAndRunGenerator','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','1757564xwLpyJ','mui','notice','kit:mui:auth','kit:mui:frame','Material-UI\x20Kit','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','apply','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','984Nklitn','auth','1032900UryEXr','1515784byDPGz','length','1867220CwnDkp','constructor','Header,\x20Footer,\x20and\x20Drawer','toString','fsi','462aDIigI','(((.+)+)+)+$'];a125c=function(){return l;};return a125c();}(function(a,b){const g=a125d,c=a();while(!![]){try{const d=parseInt(g(0xf1))/0x1+-parseInt(g(0xf4))/0x2+parseInt(g(0x105))/0x3+parseInt(g(0xe6))/0x4+-parseInt(g(0xfc))/0x5+parseInt(g(0xef))/0x6*(parseInt(g(0xf9))/0x7)+-parseInt(g(0xf2))/0x8*(-parseInt(g(0x102))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x818ef));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0xed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0xf7)]()[i(0xe3)](i(0xfa))[i(0xf7)]()[i(0xf5)](a125a)[i(0xe3)](i(0xfa));});a125a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator[a125j(0x100)]({'name':a125j(0xe7),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a125j(0xeb),'validOpts':[''],'isPro':!![],'examples':[a125j(0xfe)]},async function(){const k=a125j;Log[k(0xe2)](k(0xec)),Log[k(0xe8)](k(0x104));const {kitChoices:a}=await Actions['options']({'type':k(0xfd),'name':k(0x101),'message':k(0xee),'choices':[{'name':k(0xf6),'value':k(0x103)},{'name':k(0xe5),'value':k(0xf0)}]}),b=this['fsi'][k(0x106)](),c=this[k(0xf8)]['getMakaProjectConfig']();a[k(0xfb)]('frame')&&await a125e[k(0xe4)](k(0xea),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0xf0))&&await a125e[k(0xe4)](k(0xe9),[],{'force':!![],'cwd':b,'config':c});if(a[k(0xf3)]===0x0){Log[k(0xe2)](k(0xff));return;}},async function(){},a125f);export default MuiGen;
1
+ const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=parseInt(g(0x1e6))/0x1*(-parseInt(g(0x200))/0x2)+-parseInt(g(0x204))/0x3+parseInt(g(0x1f4))/0x4+parseInt(g(0x1f1))/0x5+parseInt(g(0x1ff))/0x6+-parseInt(g(0x1fc))/0x7+parseInt(g(0x1fa))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x22f1f));function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1e5;let f=c[d];return f;},a125d(a,b);}function a125c(){const l=['fsi','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','685120envQKK','No\x20MUI\x20kits\x20selected.\x20Exiting.','1890070fbaqAE','includes','toString','1683240JyUslC','8292QJYUPO','Header,\x20Footer,\x20and\x20Drawer','search','(((.+)+)+)+$','612825bvpDkH','frame','apply','processAndRunGenerator','create','4EaUApG','checkbox','kit:mui:frame','kitChoices','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','auth','constructor','maka\x20g:kit:m','kit:mui:auth','mui','getMakaProjectConfig','834795ZFshCt','length','\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','403460TAFJCG','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','options','info'];a125c=function(){return l;};return a125c();}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x206)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0x1fe)]()[i(0x202)](i(0x203))[i(0x1fe)]()[i(0x1ec)](a125a)[i(0x202)](i(0x203));});a125a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator[a125j(0x1e5)]({'name':a125j(0x1ef),'aliases':['m'],'usage':a125j(0x1f9),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a125j(0x1ed)]},async function(){const k=a125j;Log[k(0x1f7)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log['notice'](k(0x1f3));const {kitChoices:a}=await Actions[k(0x1f6)]({'type':k(0x1e7),'name':k(0x1e9),'message':k(0x1ea),'choices':[{'name':k(0x201),'value':k(0x205)},{'name':k(0x1f5),'value':k(0x1eb)}]}),b=this[k(0x1f8)]['findProjectDirectory'](),c=this['fsi'][k(0x1f0)]();a[k(0x1fd)]('frame')&&await a125e[k(0x207)](k(0x1e8),[],{'force':!![],'cwd':b,'config':c});a[k(0x1fd)]('auth')&&await a125e[k(0x207)](k(0x1ee),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1f2)]===0x0){Log[k(0x1f7)](k(0x1fb));return;}},async function(){},a125f);export default MuiGen;
@@ -1 +1 @@
1
- const a126n=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(0x18e))/0x1+-parseInt(l(0x171))/0x2*(parseInt(l(0x175))/0x3)+-parseInt(l(0x194))/0x4*(parseInt(l(0x167))/0x5)+-parseInt(l(0x17b))/0x6*(-parseInt(l(0x16c))/0x7)+parseInt(l(0x15f))/0x8+parseInt(l(0x17c))/0x9+-parseInt(l(0x18b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x67f45));const a126b=(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;};}()),a126a=a126b(this,function(){const m=a126d;return a126a[m(0x15c)]()[m(0x17f)](m(0x161))[m(0x15c)]()[m(0x17d)](a126a)[m(0x17f)](m(0x161));});a126a();import a126e from'path';import{Generator}from'../generator.js';function a126c(){const q=['maka\x20g:layout\x20mobile/iPhone8','getMakaProjectConfig','api','dir','1692788HdKreo','resourceName','injectAtBeginningOfFile','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','toString','pathFromProject','test/test.js','3541584GfQxcm','engines','(((.+)+)+)+$','/imports/ui/layouts','Scaffolding\x20for\x20a\x20React\x20Layout.','warn','split','withValue','5wXLkuZ','checkNpmPackage','import\x20\x27./','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','template/template.css','3811801MuIZzs','.css','css','fileName','ramda','1626yMtFOf','test','withHook','component/component.js','591FKmouu','theme','ssr','react','true','setTemplate','6TFiEGI','5781195XtLvFt','constructor','template','search','assign','graphql','.js','withHooks','maka\x20g:l\x20web/safari','relative','create','string','none','features','fsi','10559470ihYSRi','withTranslations','pathFromApp','435506yaGBWg','installNpmPackage'];a126c=function(){return q;};return a126c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x159;let f=c[d];return f;},a126d(a,b);}Generator[a126n(0x186)]({'name':'layout','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a126n(0x163),'validOpts':['withHook'],'examples':[a126n(0x190),a126n(0x184)]},async function(a,b){const o=a126n,c=o(0x162),d=this[o(0x18a)]['findAppDirectory'](),e=this[o(0x18a)][o(0x18d)]({'pathParts':[c,b[o(0x193)],paramCase(b['resourceName']),paramCase(b[o(0x159)])]}),f=this[o(0x18a)][o(0x191)]();await this[o(0x18a)][o(0x166)](f,async()=>{const p=o;typeof f['template'][p(0x172)]===p(0x187)&&(f['template'][p(0x172)]=f[p(0x17e)]['test']===p(0x179)?!![]:![],this[p(0x18a)][p(0x17a)]('test',f['template'][p(0x172)]));typeof f['template'][p(0x16e)]===p(0x187)&&(f['template'][p(0x16e)]=f[p(0x17e)][p(0x16e)]==='true'?!![]:![],this[p(0x18a)][p(0x17a)](p(0x16e),f[p(0x17e)]['css']));typeof f[p(0x17e)]['js']==='string'&&(f[p(0x17e)]['js']=f[p(0x17e)]['js']===p(0x179)?!![]:![],this['fsi'][p(0x17a)]('js',f[p(0x17e)]['js']));!f[p(0x189)]&&(f['features']={});const g=b['_']?b['_'][0x0][p(0x165)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this['checkNpmPackage'](p(0x170))&&(Log[p(0x164)](p(0x16a)),this[p(0x18a)][p(0x18f)]('ramda',{'cwd':d}));if(h&&!this[p(0x168)]('react')){Log[p(0x164)](p(0x15b));return;}const i={'name':pascalCase(b[p(0x159)]),'myPath':a126e[p(0x185)](this['fsi'][p(0x15d)]({}),e),'cssCaseName':paramCase(b[p(0x159)]),'className':pascalCase(b[p(0x159)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'graphql':f[p(0x160)][p(0x181)],'features':f[p(0x189)],'client':f['engines']['client'],'api':f['engines'][p(0x192)],'ssr':f[p(0x160)][p(0x177)],'test':f['engines'][p(0x172)],'theme':f[p(0x160)][p(0x176)],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][p(0x18c)]};f[p(0x189)]?.[p(0x183)]||b[p(0x173)]?await this['fsi'][p(0x17e)]({'srcPath':'hook/hook.js','destPath':e+p(0x182),'framework':p(0x178),'context':i,'config':f}):await this[p(0x18a)][p(0x17e)]({'srcPath':p(0x174),'destPath':e+p(0x182),'framework':p(0x178),'context':i,'config':f});f[p(0x160)][p(0x172)]!==p(0x188)&&await this[p(0x18a)][p(0x17e)]({'srcPath':p(0x15e),'destPath':e+'.app-tests.js','framework':p(0x178),'context':i,'config':f});f[p(0x17e)][p(0x16e)]&&(await this[p(0x18a)][p(0x17e)]({'srcPath':p(0x16b),'destPath':e+p(0x16d),'context':Object[p(0x180)]({},i,{'className':paramCase(b[p(0x159)])}),'config':f}),await this['fsi'][p(0x15a)]({'filePath':e+'.'+f['engines']['js'],'content':p(0x169)+i['fileName']+'.'+f[p(0x160)]['css']+'\x27;'}));const j=b[p(0x193)]?'/'+b['dir']+'/':'/',k=''+c+j+i[p(0x16f)]+'/'+i[p(0x16f)];await this[p(0x18a)]['injectTemplateModule'](i['className'],f,k);});});
1
+ function a126c(){const r=['search','773490clbjBm','checkNpmPackage','toString','assign','(((.+)+)+)+$','pathFromApp','hook/hook.js','2772555ErJMPe','features','template','262130YZIWMP','fsi','2140892DUQxDs','withValue','apply','2696088lbKetq','none','true','test','.css','css','maka\x20g:layout\x20mobile/iPhone8','import\x20\x27./','graphql','resourceName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','injectTemplateModule','component/component.js','className','ramda','/imports/ui/layouts','506wIPlot','.js','withHook','.app-tests.js','maka\x20g:l\x20web/safari','findAppDirectory','setTemplate','5108117TLWgvw','6RSlZVB','api','1334187XqgYrJ','template/template.css','includes','react','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','test/test.js','24YaqwYI','dir','relative','create','6KMpdea','theme','warn','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','getMakaProjectConfig','string','constructor','split','client','fileName','withHooks','engines'];a126c=function(){return r;};return a126c();}const a126o=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(0x1c8))/0x1+-parseInt(l(0x1d4))/0x2+-parseInt(l(0x1ef))/0x3*(-parseInt(l(0x1d7))/0x4)+-parseInt(l(0x1cf))/0x5*(-parseInt(l(0x1fb))/0x6)+parseInt(l(0x1ee))/0x7+-parseInt(l(0x1f7))/0x8*(parseInt(l(0x1f1))/0x9)+parseInt(l(0x1d2))/0xa*(-parseInt(l(0x1e7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xa7303));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a[n(0x1ca)]()[n(0x1c7)](n(0x1cc))['toString']()[n(0x201)](a126a)['search'](n(0x1cc));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a126d(a,b);}a126a();import a126e 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[a126o(0x1fa)]({'name':'layout','aliases':aliases,'usage':a126o(0x1f5),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a126o(0x1e9)],'examples':[a126o(0x1dd),a126o(0x1eb)]},async function(a,b){const p=a126o,c=p(0x1e6),d=this[p(0x1d3)][p(0x1ec)](),e=this[p(0x1d3)][p(0x1cd)]({'pathParts':[c,b['dir'],paramCase(b[p(0x1e0)]),paramCase(b['resourceName'])]}),f=this[p(0x1d3)][p(0x1ff)]();await this[p(0x1d3)][p(0x1d5)](f,async()=>{const q=p;typeof f[q(0x1d1)][q(0x1da)]==='string'&&(f['template'][q(0x1da)]=f[q(0x1d1)][q(0x1da)]===q(0x1d9)?!![]:![],this[q(0x1d3)][q(0x1ed)](q(0x1da),f['template'][q(0x1da)]));typeof f[q(0x1d1)][q(0x1dc)]===q(0x200)&&(f[q(0x1d1)][q(0x1dc)]=f[q(0x1d1)][q(0x1dc)]===q(0x1d9)?!![]:![],this[q(0x1d3)]['setTemplate']('css',f[q(0x1d1)][q(0x1dc)]));typeof f['template']['js']===q(0x200)&&(f[q(0x1d1)]['js']=f[q(0x1d1)]['js']==='true'?!![]:![],this[q(0x1d3)][q(0x1ed)]('js',f[q(0x1d1)]['js']));!f[q(0x1d0)]&&(f['features']={});const g=b['_']?b['_'][0x0][q(0x1c2)](':')[0x1]:![],h=b['_']&&aliases[q(0x1f3)](g);h&&!this[q(0x1c9)]('ramda')&&(Log[q(0x1fd)](q(0x1e1)),this[q(0x1d3)]['installNpmPackage'](q(0x1e5),{'cwd':d}));if(h&&!this[q(0x1c9)](q(0x1f4))){Log[q(0x1fd)](q(0x1fe));return;}const i={'name':pascalCase(b[q(0x1e0)]),'myPath':a126e[q(0x1f9)](this[q(0x1d3)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0x1e0)]),'className':pascalCase(b[q(0x1e0)]),'camelCaseName':camelCase(b[q(0x1e0)]),'fileName':paramCase(b[q(0x1e0)]),'graphql':f[q(0x1c6)][q(0x1df)],'features':f[q(0x1d0)],'client':f[q(0x1c6)][q(0x1c3)],'api':f[q(0x1c6)][q(0x1f0)],'ssr':f[q(0x1c6)]['ssr'],'test':f[q(0x1c6)][q(0x1da)],'theme':f['engines'][q(0x1fc)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1d0)]['withTranslations']};f[q(0x1d0)]?.[q(0x1c5)]||b[q(0x1e9)]?await this[q(0x1d3)][q(0x1d1)]({'srcPath':q(0x1ce),'destPath':e+q(0x1e8),'framework':q(0x1f4),'context':i,'config':f}):await this['fsi'][q(0x1d1)]({'srcPath':q(0x1e3),'destPath':e+q(0x1e8),'framework':'react','context':i,'config':f});f[q(0x1c6)][q(0x1da)]!==q(0x1d8)&&await this[q(0x1d3)][q(0x1d1)]({'srcPath':q(0x1f6),'destPath':e+q(0x1ea),'framework':q(0x1f4),'context':i,'config':f});f[q(0x1d1)][q(0x1dc)]&&(await this[q(0x1d3)][q(0x1d1)]({'srcPath':q(0x1f2),'destPath':e+q(0x1db),'context':Object[q(0x1cb)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[q(0x1c6)]['js'],'content':q(0x1de)+i[q(0x1c4)]+'.'+f['engines'][q(0x1dc)]+'\x27;'}));const j=b[q(0x1f8)]?'/'+b[q(0x1f8)]+'/':'/',k=''+c+j+i[q(0x1c4)]+'/'+i[q(0x1c4)];await this[q(0x1d3)][q(0x1e2)](i[q(0x1e4)],f,k);});});
@@ -1 +1 @@
1
- const a127h=a127d;(function(a,b){const f=a127d,c=a();while(!![]){try{const d=parseInt(f(0x126))/0x1*(-parseInt(f(0x118))/0x2)+parseInt(f(0x115))/0x3*(parseInt(f(0x112))/0x4)+-parseInt(f(0x116))/0x5+parseInt(f(0x11b))/0x6+-parseInt(f(0x11a))/0x7*(-parseInt(f(0x11f))/0x8)+parseInt(f(0x117))/0x9+parseInt(f(0x121))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xa8ba4));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const g=a127d;return a127a[g(0x120)]()[g(0x11c)](g(0x124))[g(0x120)]()[g(0x123)](a127a)[g(0x11c)](g(0x124));});function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x112;let f=c[d];return f;},a127d(a,b);}a127a();function a127c(){const i=['maka\x20g:dbc\x20geoserver\x20--type=pgsql','generate','236247kuvfpe','5501500USHxst','1740492qFebBT','8iGYOJW','Scaffold\x20various\x20parts\x20of\x20your\x20application','1138697pHqNSt','1882464knrdMx','search','maka\x20g:package\x20package:name','maka\x20g:route\x20todos/edit','32pSfaNB','toString','7431930ihniGt','maka\x20{generate,\x20g}:<generator>\x20<name>','constructor','(((.+)+)+)+$','maka\x20g:scaffold\x20todos','165211PqGzrD','28EgPNXh'];a127c=function(){return i;};return a127c();}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a127h(0x114),'aliases':['g'],'usage':a127h(0x122),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127h(0x119),'examples':['maka\x20generate:scaffold\x20todos',a127h(0x125),'maka\x20g:template\x20todos/todo_item',a127h(0x11d),a127h(0x11e),'maka\x20g:api\x20trucks',a127h(0x113)]},function(){});export default MakaGen;
1
+ const a127i=a127d;(function(a,b){const f=a127d,c=a();while(!![]){try{const d=-parseInt(f(0x1c6))/0x1*(-parseInt(f(0x1d2))/0x2)+-parseInt(f(0x1c4))/0x3*(-parseInt(f(0x1d0))/0x4)+-parseInt(f(0x1ca))/0x5*(parseInt(f(0x1c1))/0x6)+-parseInt(f(0x1cb))/0x7*(parseInt(f(0x1bd))/0x8)+parseInt(f(0x1c3))/0x9*(-parseInt(f(0x1d1))/0xa)+parseInt(f(0x1ce))/0xb+parseInt(f(0x1c5))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xdafc5));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a[h(0x1c7)]()[h(0x1cf)](h(0x1c8))[h(0x1c7)]()[h(0x1c2)](a127a)[h(0x1cf)]('(((.+)+)+)+$');});function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a127d(a,b);}a127a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a127i(0x1bc),'aliases':['g'],'usage':a127i(0x1cc),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0x1ba),'examples':[a127i(0x1cd),'maka\x20g:scaffold\x20todos',a127i(0x1c9),a127i(0x1bf),'maka\x20g:route\x20todos/edit',a127i(0x1be),a127i(0x1c0)]},function(){});function a127c(){const j=['maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20generate:scaffold\x20todos','14152094Psssxz','search','176yVLDjL','17390GrwaXi','22CDTpiD','Scaffold\x20various\x20parts\x20of\x20your\x20application','apply','generate','11751368vlmKAE','maka\x20g:api\x20trucks','maka\x20g:package\x20package:name','maka\x20g:dbc\x20geoserver\x20--type=pgsql','8807676aNLeQN','constructor','5976JsrWsx','3228fIJegA','27133668nXtSwC','126681gzRDdr','toString','(((.+)+)+)+$','maka\x20g:template\x20todos/todo_item','5vVotDB','7UbxIKe'];a127c=function(){return j;};return a127c();}export default MakaGen;
@@ -1 +1 @@
1
- function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x136;let f=c[d];return f;},a128d(a,b);}const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(0x13e))/0x1+parseInt(j(0x15a))/0x2+-parseInt(j(0x143))/0x3+parseInt(j(0x148))/0x4*(parseInt(j(0x153))/0x5)+-parseInt(j(0x14a))/0x6*(-parseInt(j(0x152))/0x7)+parseInt(j(0x138))/0x8*(parseInt(j(0x14b))/0x9)+parseInt(j(0x13b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xa345e));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x154)]()[l(0x139)](l(0x156))[l(0x154)]()[l(0x141)](a128a)[l(0x139)]('(((.+)+)+)+$');});a128a();import{Generator}from'../generator.js';function a128c(){const p=['56752jARQAX','mdg:validated-method','create','startup','8UlFrEJ','search','-rpc-method.','6165920CwQnED','fsi','maka\x20{generate,\x20g}:{method,\x20m}\x20name','1054903Mkqtqk','dir','pathFromApp','constructor','tsx','527862kEPHEB','engines','method','import\x20\x27./methods','methods','43540bUuIqk','template','14520WoxBGJ','3127185cPNLIQ','apply','ddp-rate-limiter','error','maka\x20g:method\x20todos','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','withValue','672PGvbFI','310IBabgJ','toString','-rpc-method\x27;','(((.+)+)+)+$','resourceName','appPathPrefix','imports'];a128c=function(){return p;};return a128c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a128m(0x136)]({'name':a128m(0x145),'aliases':['m'],'usage':a128m(0x13d),'checkWhere':!![],'shortDesc':a128m(0x150),'validOpts':[a128m(0x13f)],'examples':[a128m(0x14f)]},async function(a,b){const n=a128m;try{const c=this[n(0x13c)]['getMakaProjectConfig']();await this[n(0x13c)][n(0x151)](c,async()=>{const o=n,d=paramCase(b[o(0x157)]),f={'name':b[o(0x157)],'fileName':d,'className':pascalCase(b[o(0x157)]),'camelCase':camelCase(b[o(0x157)]),'noRename':!![]};let g='js';c[o(0x144)]['js']===o(0x142)&&(g='ts');await this['fsi']['checkMeteorPackage'](['maka:check',o(0x14d),o(0x15b)],{'shouldInstall':!![]}),await this[o(0x13c)][o(0x149)]({'srcPath':'method/method.js','destPath':this[o(0x13c)][o(0x140)]({'pathParts':['imports','startup',b[o(0x158)],o(0x147),b[o(0x13f)],d+o(0x13a)+g]}),'context':f,'config':c});const h=b[o(0x13f)]?'/'+b['dir']+'/':'/',i=this[o(0x13c)][o(0x140)]({'pathParts':[o(0x159),o(0x137),b[o(0x158)],'index.'+c['engines']['js']]});await this[o(0x13c)]['injectAtEndOfFile']({'filePath':i,'content':o(0x146)+h+d+o(0x155)});});}catch(d){Log[n(0x14e)](d);}});
1
+ function a128c(){const p=['constructor','29436ORgynz','dir','548116njMEMi','startup','error','apply','resourceName','methods','1631481eTLtAK','pathFromApp','ddp-rate-limiter','-rpc-method\x27;','engines','3315438SgtCSg','(((.+)+)+)+$','maka\x20g:method\x20todos','9AGRTGA','maka:check','import\x20\x27./methods','toString','8275910DFfFyM','-rpc-method.','2889208nwPlKQ','maka\x20{generate,\x20g}:{method,\x20m}\x20name','11rcyLhN','imports','4oPkVBv','fsi','create','tsx','method','index.','search','5cglaGK','method/method.js','844504VUrHbX','getMakaProjectConfig'];a128c=function(){return p;};return a128c();}function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x8d;let f=c[d];return f;},a128d(a,b);}const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0xa7))/0x1+parseInt(j(0xa5))/0x2+parseInt(j(0xad))/0x3*(parseInt(j(0x99))/0x4)+parseInt(j(0xa0))/0x5*(parseInt(j(0xb2))/0x6)+-parseInt(j(0x95))/0x7+parseInt(j(0xa2))/0x8*(-parseInt(j(0x8f))/0x9)+-parseInt(j(0x93))/0xa*(parseInt(j(0x97))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x4c7f8));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x92)]()[l(0x9f)](l(0x8d))[l(0x92)]()[l(0xa4)](a128a)[l(0x9f)](l(0x8d));});a128a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a128m(0x9b)]({'name':a128m(0x9d),'aliases':['m'],'usage':a128m(0x96),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a128m(0xa6)],'examples':[a128m(0x8e)]},async function(a,b){const n=a128m;try{const c=this['fsi'][n(0xa3)]();await this['fsi']['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0xab)]),f={'name':b[o(0xab)],'fileName':d,'className':pascalCase(b[o(0xab)]),'camelCase':camelCase(b[o(0xab)]),'noRename':!![]};let g='js';c[o(0xb1)]['js']===o(0x9c)&&(g='ts');await this[o(0x9a)]['checkMeteorPackage']([o(0x90),o(0xaf),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x9a)]['template']({'srcPath':o(0xa1),'destPath':this[o(0x9a)][o(0xae)]({'pathParts':['imports',o(0xa8),b['appPathPrefix'],o(0xac),b[o(0xa6)],d+o(0x94)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0xa6)]+'/':'/',i=this[o(0x9a)][o(0xae)]({'pathParts':[o(0x98),o(0xa8),b['appPathPrefix'],o(0x9e)+c[o(0xb1)]['js']]});await this[o(0x9a)]['injectAtEndOfFile']({'filePath':i,'content':o(0x91)+h+d+o(0xb0)});});}catch(d){Log[n(0xa9)](d);}});
@@ -1 +1 @@
1
- const a129n=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=-parseInt(l(0x201))/0x1*(-parseInt(l(0x1fd))/0x2)+parseInt(l(0x1f1))/0x3+parseInt(l(0x1f0))/0x4*(-parseInt(l(0x1de))/0x5)+-parseInt(l(0x1dc))/0x6+parseInt(l(0x1fa))/0x7+-parseInt(l(0x1e8))/0x8+parseInt(l(0x1f5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xef7e0));const a129b=(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;};}()),a129a=a129b(this,function(){const m=a129d;return a129a[m(0x1eb)]()[m(0x1f7)](m(0x1e6))['toString']()[m(0x1ec)](a129a)[m(0x1f7)](m(0x1e6));});a129a();function a129c(){const q=['template','6666eHTeKW','.js','5Mnlzko','pathFromApp','withValue','dir','theme','hasOwnProperty','ssr','relative','(((.+)+)+)+$','/client/','14373080RNhSgW','tests/client','/package.js','toString','constructor','pathFromAppWithNoReWrite','packages','graphql','3704940ujoLYj','2340711PptRad','package/','package/package.js','server','5259195pikCPd','features','search','pathFromProject','package','10803268StwaON','store','client','50xzueBd','fsi','package.js','engines','31881GeLZiA','layout','resourceName','getMakaProjectConfig','maka\x20g:package\x20todos:package','create','noRename','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','component'];a129c=function(){return q;};return a129c();}import a129e from'path';import{Generator}from'../generator.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1da;let f=c[d];return f;},a129d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a129n(0x206)]({'name':a129n(0x1f9),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a129n(0x208),'validOpts':['dir'],'examples':[a129n(0x205)]},async function(a,b){const o=a129n,c=paramCase(b['resourceName']),d=this[o(0x1fe)][o(0x1df)]({'pathParts':[o(0x1ee),b['dir'],c]}),e=this[o(0x1fe)][o(0x1ed)]({'pathParts':['packages',b[o(0x1e1)],c,o(0x1ff)]}),f=this[o(0x1fe)][o(0x204)]();await this[o(0x1fe)][o(0x1e0)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x203)]),'myPath':a129e[p(0x1e5)](this[p(0x1fe)][p(0x1f8)]({}),d),'cssCaseName':paramCase(b[p(0x203)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[p(0x200)][p(0x1fc)],'graphql':f[p(0x200)][p(0x1ef)],'ssr':f['engines'][p(0x1e4)],'isComponent':b['hasOwnProperty'](p(0x1da)),'isLayout':b['hasOwnProperty'](p(0x202)),'isStore':b[p(0x1e3)](p(0x1fb)),'features':f[p(0x1f6)],'noRename':!![],'theme':f['engines'][p(0x1e2)]};await this[p(0x1fe)][p(0x1db)]({'srcPath':p(0x1f3),'destPath':e,'context':g,'config':f}),g[p(0x207)]=![];const h=d+p(0x1e7)+c+p(0x1dd);await this[p(0x1fe)][p(0x1db)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=['lib',p(0x1f4),p(0x1e9),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+p(0x1dd);await this['fsi'][p(0x1db)]({'srcPath':p(0x1f2)+j+p(0x1ea),'destPath':k,'context':g,'config':f});}});});
1
+ const a129o=a129d;function a129c(){const r=['dir','12730Crykrj','/client/','980382bYHKVw','lib','template','495065NPKcIZ','package/','tests/client','536FOwTGH','apply','template/template.js','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','toString','features','graphql','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','16wgzyxF','(((.+)+)+)+$','1044FJhgnq','getMakaProjectConfig','relative','store','maka\x20g:package\x20todos:package','resourceName','2391414fsFuYN','engines','component','constructor','.js','pathFromApp','pathFromAppWithNoReWrite','/package.js','hasOwnProperty','package/package.js','noRename','search','478070DnEtzB','client','40425egRYOd','187285RLuITT','fsi'];a129c=function(){return r;};return a129c();}(function(a,b){const l=a129d,c=a();while(!![]){try{const d=parseInt(l(0x1c2))/0x1+parseInt(l(0x1bf))/0x2+parseInt(l(0x1c7))/0x3+-parseInt(l(0x1d5))/0x4*(-parseInt(l(0x1ca))/0x5)+-parseInt(l(0x1dd))/0x6+parseInt(l(0x1c1))/0x7*(-parseInt(l(0x1cd))/0x8)+parseInt(l(0x1d7))/0x9*(-parseInt(l(0x1c5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x34bc4));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a['toString']()[n(0x1be)](n(0x1d6))[n(0x1d1)]()[n(0x1e0)](a129a)['search'](n(0x1d6));});a129a();import a129e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a129d(a,b);}Generator['create']({'name':'package','aliases':['p'],'usage':a129o(0x1d0),'shortDesc':a129o(0x1d4),'validOpts':[a129o(0x1c4)],'examples':[a129o(0x1db)]},async function(a,b){const p=a129o,c=paramCase(b[p(0x1dc)]),d=this[p(0x1c3)][p(0x1e2)]({'pathParts':['packages',b[p(0x1c4)],c]}),e=this[p(0x1c3)][p(0x1b9)]({'pathParts':['packages',b['dir'],c,'package.js']}),f=this['fsi'][p(0x1d8)]();await this['fsi']['withValue'](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a129e[q(0x1d9)](this[q(0x1c3)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x1dc)]),'className':pascalCase(b[q(0x1dc)]),'camelCaseName':camelCase(b[q(0x1dc)]),'fileName':c,'client':f[q(0x1de)][q(0x1c0)],'graphql':f[q(0x1de)][q(0x1d3)],'ssr':f['engines']['ssr'],'isComponent':b[q(0x1bb)](q(0x1df)),'isLayout':b[q(0x1bb)]('layout'),'isStore':b[q(0x1bb)](q(0x1da)),'features':f[q(0x1d2)],'noRename':!![],'theme':f['engines']['theme']};await this[q(0x1c3)]['template']({'srcPath':q(0x1bc),'destPath':e,'context':g,'config':f}),g[q(0x1bd)]=![];const h=d+q(0x1c6)+c+q(0x1e1);await this[q(0x1c3)][q(0x1c9)]({'srcPath':q(0x1cf),'destPath':h,'context':g,'config':f});const i=[q(0x1c8),'server',q(0x1cc),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0x1c3)][q(0x1c9)]({'srcPath':q(0x1cb)+j+q(0x1ba),'destPath':k,'context':g,'config':f});}});});
@@ -1 +1 @@
1
- const a130m=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=-parseInt(j(0xe4))/0x1*(-parseInt(j(0xb1))/0x2)+parseInt(j(0xbd))/0x3+-parseInt(j(0xc4))/0x4*(-parseInt(j(0xc7))/0x5)+-parseInt(j(0xe6))/0x6+-parseInt(j(0xdf))/0x7*(parseInt(j(0xad))/0x8)+parseInt(j(0xcb))/0x9+-parseInt(j(0xd7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x9175d));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a[l(0xe7)]()[l(0xd5)]('(((.+)+)+)+$')[l(0xe7)]()['constructor'](a130a)[l(0xd5)](l(0xe5));});function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xa9;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';function a130c(){const p=['6731358YkQqPm','toString','vanilla','assign','graphql','injectAtBeginningOfFile','features','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','fsi','component','page','788696yTATkj','engines','fileName','withHook','13730UmbEdL','template','\x27;\x0a','api','baseDir','.js','root','string','true','warn','pathFromApp','processAndRunGenerator','522141UHiOnT','test','layout','ssr','findAppDirectory','setTemplate','css','8XOAteJ','template/template.html','import\x20\x27./','1925215orIfYF','Updating\x20npm\x20packages\x20...','maka\x20g:page\x20todos/todos-item','/imports/ui/','9435726uBbQvM','layouts','checkNpmPackage','theme','apply','client','getMakaProjectConfig','test/test.js','html','dir','search','ramda','134130KadjbO','relative','route','component/component.js','pathFromProject','react','template/template.css','none','21TDlJFr','pages','installNpmPackage','hasOwnProperty','resourceName','5kWLxzY','(((.+)+)+)+$'];a130c=function(){return p;};return a130c();}import a130f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a130m(0xac),'aliases':aliases,'usage':a130m(0xa9),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a130m(0xb5),'values':['hooks','components',a130m(0xe0),a130m(0xcc)]},{'name':a130m(0xb0),'boolFlag':!![]}],'examples':[a130m(0xc9)]},async function(a,b){const n=a130m,c=b['baseDir']?n(0xca)+b[n(0xb5)]:'/imports/ui/pages',d=this[n(0xaa)][n(0xc1)](),e=this[n(0xaa)][n(0xbb)]({'pathParts':[c,b[n(0xd4)],paramCase(b[n(0xe3)]),paramCase(b[n(0xe3)])]}),f=this[n(0xaa)][n(0xd1)]();let g='';return await this[n(0xaa)]['withValue'](f,async()=>{const o=n;typeof f[o(0xb2)][o(0xd3)]===o(0xb8)&&(f[o(0xb2)][o(0xd3)]=f[o(0xb2)][o(0xd3)]===o(0xb9)?!![]:![],this[o(0xaa)]['setTemplate'](o(0xd3),f[o(0xb2)][o(0xd3)]));typeof f['template']['test']===o(0xb8)&&(f[o(0xb2)][o(0xbe)]=f[o(0xb2)]['test']===o(0xb9)?!![]:![],this['fsi'][o(0xc2)](o(0xbe),f['template'][o(0xbe)]));typeof f[o(0xb2)][o(0xc3)]===o(0xb8)&&(f[o(0xb2)][o(0xc3)]=f[o(0xb2)][o(0xc3)]===o(0xb9)?!![]:![],this[o(0xaa)]['setTemplate'](o(0xc3),f[o(0xb2)]['css']));typeof f[o(0xb2)]['js']===o(0xb8)&&(f[o(0xb2)]['js']=f[o(0xb2)]['js']===o(0xb9)?!![]:![],this[o(0xaa)]['setTemplate']('js',f['template']['js']));!f['features']&&(f['features']={});!b[o(0xb7)]&&!this[o(0xaa)][o(0xcd)](o(0xd6))&&(Log[o(0xba)](o(0xc8)),this[o(0xaa)][o(0xe1)]('ramda',{'cwd':d}));const h={'name':pascalCase(b[o(0xe3)]),'myPath':a130e[o(0xd8)](this[o(0xaa)][o(0xdb)]({}),e),'cssCaseName':paramCase(b[o(0xe3)]),'className':pascalCase(b[o(0xe3)]),'camelCaseName':camelCase(b[o(0xe3)]),'fileName':paramCase(b[o(0xe3)]),'graphql':f[o(0xae)][o(0xea)],'features':f[o(0xec)],'client':f[o(0xae)][o(0xd0)],'api':f[o(0xae)][o(0xb4)],'ssr':f[o(0xae)][o(0xc0)],'isStore':b[o(0xe2)]('store'),'isComponent':b[o(0xe2)](o(0xab)),'isLayout':b[o(0xe2)](o(0xbf)),'withTranslations':f['features']['withTranslations'],'test':f[o(0xae)][o(0xbe)],'theme':f[o(0xae)][o(0xce)]};f[o(0xb2)][o(0xd3)]&&await this[o(0xaa)][o(0xb2)]({'srcPath':o(0xc5),'destPath':e+'.html','context':h,'config':f});f['features']?.['withHooks']||b['withHook']?await this[o(0xaa)][o(0xb2)]({'srcPath':'hook/hook.js','destPath':e+'.js','framework':o(0xdc),'context':h,'config':f}):await this[o(0xaa)]['template']({'srcPath':o(0xda),'destPath':e+o(0xb6),'framework':'react','context':h,'config':f});f[o(0xae)]['test']!==o(0xde)&&await this[o(0xaa)][o(0xb2)]({'srcPath':o(0xd2),'destPath':e+'.app-tests.js','framework':'react','context':h,'config':f});f['template'][o(0xc3)]&&await this[o(0xaa)][o(0xb2)]({'srcPath':o(0xdd),'destPath':e+'.css','context':Object[o(0xe9)]({},h,{'className':paramCase(b[o(0xe3)])}),'config':f});f['engines']['client']!==o(0xdc)&&f[o(0xae)][o(0xd0)]!==o(0xe8)?(f['template'][o(0xc3)]&&await this[o(0xaa)]['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':o(0xc6)+h[o(0xaf)]+'.'+f[o(0xae)][o(0xd3)]+o(0xb3)+o(0xc6)+h[o(0xaf)]+'.'+f[o(0xae)]['css']+'\x27;'}),!f[o(0xb2)]['css']&&await this[o(0xaa)][o(0xeb)]({'filePath':e+'.'+f[o(0xae)]['js'],'content':o(0xc6)+h[o(0xaf)]+'.'+f[o(0xae)][o(0xd3)]+'\x27;'})):f[o(0xb2)][o(0xc3)]&&await this[o(0xaa)][o(0xeb)]({'filePath':e+'.'+f[o(0xae)]['js'],'content':o(0xc6)+h[o(0xaf)]+'.'+f[o(0xae)][o(0xc3)]+'\x27;'});const i=b[o(0xd4)]?'/'+b[o(0xd4)]+'/':'/';g=''+c+i+h[o(0xaf)]+'/'+h[o(0xaf)],await this['fsi']['injectTemplateModule'](h['className'],f,g),!b[o(0xb7)]&&await a130f[o(0xbc)](o(0xd9),[i+b[o(0xe3)]],b);}),g+'.'+f[n(0xae)]['js'];});
1
+ const a130l=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=parseInt(j(0x7f))/0x1*(parseInt(j(0x87))/0x2)+parseInt(j(0x8b))/0x3*(-parseInt(j(0xb1))/0x4)+-parseInt(j(0x86))/0x5+parseInt(j(0x80))/0x6*(parseInt(j(0xb2))/0x7)+parseInt(j(0x79))/0x8*(-parseInt(j(0xb6))/0x9)+parseInt(j(0x88))/0xa*(-parseInt(j(0xb3))/0xb)+-parseInt(j(0x74))/0xc*(-parseInt(j(0xae))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x94af2));const a130b=(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;};}()),a130a=a130b(this,function(){const k=a130d;return a130a[k(0xb4)]()['search'](k(0x8f))[k(0xb4)]()[k(0xa5)](a130a)[k(0x9f)](k(0x8f));});a130a();import a130e from'path';function a130c(){const o=['resourceName','dir','warn','.html','react','test/test.js','component/component.js','search','layouts','className','root','components','setTemplate','constructor','findAppDirectory','create','withValue','.app-tests.js','template/template.css','injectAtBeginningOfFile','fileName','ssr','24505qwvcXw','string','.js','4591612JhGVVL','105PdSRcG','3978953xGvDtG','toString','withHooks','9jYkEyp','hook/hook.js','assign','pathFromProject','template','fsi','getMakaProjectConfig','13164ySzfSP','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','features','Updating\x20npm\x20packages\x20...','none','8841368EWHUXo','test','vanilla','client','maka\x20g:page\x20todos/todos-item','ramda','139yPicjM','456552lDnglN','template/template.html','/imports/ui/pages','baseDir','injectTemplateModule','engines','377920dYbAkD','6502JdxaJZ','20qlyOrx','\x27;\x0a','hooks','3MaDSTo','hasOwnProperty','css','component','(((.+)+)+)+$','checkNpmPackage','withHook','true','/imports/ui/','pathFromApp','html','import\x20\x27./','theme'];a130c=function(){return o;};return a130c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x70;let f=c[d];return f;},a130d(a,b);}import a130f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a130l(0xa7)]({'name':'page','aliases':aliases,'usage':a130l(0x75),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':'baseDir','values':[a130l(0x8a),a130l(0xa3),'pages',a130l(0xa0)]},{'name':'withHook','boolFlag':!![]}],'examples':[a130l(0x7d)]},async function(a,b){const m=a130l,c=b[m(0x83)]?m(0x93)+b['baseDir']:m(0x82),d=this[m(0x72)][m(0xa6)](),e=this[m(0x72)][m(0x94)]({'pathParts':[c,b[m(0x99)],paramCase(b[m(0x98)]),paramCase(b['resourceName'])]}),f=this[m(0x72)][m(0x73)]();let g='';return await this[m(0x72)][m(0xa8)](f,async()=>{const n=m;typeof f[n(0x71)][n(0x95)]===n(0xaf)&&(f[n(0x71)][n(0x95)]=f[n(0x71)]['html']===n(0x92)?!![]:![],this[n(0x72)][n(0xa4)](n(0x95),f['template'][n(0x95)]));typeof f[n(0x71)][n(0x7a)]===n(0xaf)&&(f[n(0x71)][n(0x7a)]=f['template'][n(0x7a)]===n(0x92)?!![]:![],this[n(0x72)][n(0xa4)](n(0x7a),f[n(0x71)][n(0x7a)]));typeof f[n(0x71)][n(0x8d)]===n(0xaf)&&(f[n(0x71)]['css']=f[n(0x71)]['css']===n(0x92)?!![]:![],this[n(0x72)]['setTemplate'](n(0x8d),f[n(0x71)][n(0x8d)]));typeof f[n(0x71)]['js']===n(0xaf)&&(f[n(0x71)]['js']=f[n(0x71)]['js']==='true'?!![]:![],this[n(0x72)][n(0xa4)]('js',f[n(0x71)]['js']));!f[n(0x76)]&&(f['features']={});!b[n(0xa2)]&&!this[n(0x72)][n(0x90)]('ramda')&&(Log[n(0x9a)](n(0x77)),this['fsi']['installNpmPackage'](n(0x7e),{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a130e['relative'](this['fsi'][n(0x70)]({}),e),'cssCaseName':paramCase(b[n(0x98)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[n(0x98)]),'fileName':paramCase(b['resourceName']),'graphql':f['engines']['graphql'],'features':f[n(0x76)],'client':f['engines']['client'],'api':f[n(0x85)]['api'],'ssr':f[n(0x85)][n(0xad)],'isStore':b[n(0x8c)]('store'),'isComponent':b[n(0x8c)](n(0x8e)),'isLayout':b[n(0x8c)]('layout'),'withTranslations':f[n(0x76)]['withTranslations'],'test':f[n(0x85)][n(0x7a)],'theme':f[n(0x85)][n(0x97)]};f[n(0x71)][n(0x95)]&&await this['fsi'][n(0x71)]({'srcPath':n(0x81),'destPath':e+n(0x9b),'context':h,'config':f});f[n(0x76)]?.[n(0xb5)]||b[n(0x91)]?await this[n(0x72)][n(0x71)]({'srcPath':n(0xb7),'destPath':e+n(0xb0),'framework':n(0x9c),'context':h,'config':f}):await this['fsi']['template']({'srcPath':n(0x9e),'destPath':e+n(0xb0),'framework':n(0x9c),'context':h,'config':f});f[n(0x85)][n(0x7a)]!==n(0x78)&&await this[n(0x72)][n(0x71)]({'srcPath':n(0x9d),'destPath':e+n(0xa9),'framework':'react','context':h,'config':f});f[n(0x71)]['css']&&await this[n(0x72)][n(0x71)]({'srcPath':n(0xaa),'destPath':e+'.css','context':Object[n(0xb8)]({},h,{'className':paramCase(b[n(0x98)])}),'config':f});f['engines']['client']!==n(0x9c)&&f['engines'][n(0x7c)]!==n(0x7b)?(f[n(0x71)][n(0x8d)]&&await this[n(0x72)][n(0xab)]({'filePath':e+'.'+f['engines']['js'],'content':n(0x96)+h['fileName']+'.'+f[n(0x85)][n(0x95)]+n(0x89)+n(0x96)+h[n(0xac)]+'.'+f[n(0x85)][n(0x8d)]+'\x27;'}),!f['template'][n(0x8d)]&&await this[n(0x72)][n(0xab)]({'filePath':e+'.'+f['engines']['js'],'content':n(0x96)+h[n(0xac)]+'.'+f[n(0x85)]['html']+'\x27;'})):f[n(0x71)][n(0x8d)]&&await this[n(0x72)][n(0xab)]({'filePath':e+'.'+f[n(0x85)]['js'],'content':n(0x96)+h[n(0xac)]+'.'+f[n(0x85)][n(0x8d)]+'\x27;'});const i=b[n(0x99)]?'/'+b['dir']+'/':'/';g=''+c+i+h[n(0xac)]+'/'+h[n(0xac)],await this['fsi'][n(0x84)](h[n(0xa1)],f,g),!b['root']&&await a130f['processAndRunGenerator']('route',[i+b['resourceName']],b);}),g+'.'+f[m(0x85)]['js'];});
@@ -1 +1 @@
1
- const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=-parseInt(m(0x17b))/0x1+parseInt(m(0x171))/0x2*(parseInt(m(0x188))/0x3)+-parseInt(m(0x17f))/0x4+parseInt(m(0x184))/0x5+-parseInt(m(0x16e))/0x6*(-parseInt(m(0x175))/0x7)+-parseInt(m(0x17d))/0x8+parseInt(m(0x178))/0x9*(parseInt(m(0x189))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x4d415));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0x182)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a[o(0x17a)]()[o(0x18f)]('(((.+)+)+)+$')[o(0x17a)]()['constructor'](a131a)[o(0x18f)](o(0x186));});a131a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x16e;let f=c[d];return f;},a131d(a,b);}function a131c(){const s=['7wBADBu','force','template','26181hJoBNu','engines','toString','546839ZXkCxT','fsi','2457504bYUmMd','/imports/ui/','864152AbroQe','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','pathFromApp','apply','/imports/startup/server/publications','2985800vtjkoK','globalPublish','(((.+)+)+)+$','baseDir','113862ESANdu','1570jHzacG','create','injectAtEndOfFile','resourceName','imports','maka\x20g:publish\x20todos','search','dir','error','publish','401706YmqOmP','index.','getMakaProjectConfig','14QBeiHo','startup','exit','tsx'];a131c=function(){return s;};return a131c();}import{Log}from'../tools/log/log.class.js';Generator[a131p(0x18a)]({'name':a131p(0x192),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':a131p(0x180),'validOpts':[a131p(0x176),a131p(0x185)],'examples':[a131p(0x18e)]},async function(a,b){const q=a131p;try{const c=b['force']||![],d=b[q(0x187)]?q(0x17e)+b[q(0x187)]:q(0x183),f=this[q(0x17c)][q(0x170)](),g=paramCase(b[q(0x18c)]),h=this[q(0x17c)][q(0x181)]({'pathParts':[d,b[q(0x190)],'',g]});let i='js';f[q(0x179)]['js']===q(0x174)&&(i='ts');await this[q(0x17c)]['withValue'](f,async()=>{const r=q,l={'name':b[r(0x18c)],'collection':pascalCase(b[r(0x18c)]),'noRename':!![],'globalPublish':b[r(0x185)]};await this[r(0x17c)][r(0x177)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0x17c)]['pathFromApp']({'pathParts':[q(0x18d),q(0x172),'server',b['appPathPrefix'],q(0x16f)+f[q(0x179)]['js']]}),k=b[q(0x190)]?'/'+b['dir']+'/':'/';return await this[q(0x17c)][q(0x18b)]({'filePath':j,'content':'import\x20\x27./publications'+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0x191)](l),process[q(0x173)](0x1);}});
1
+ const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=parseInt(m(0xc8))/0x1*(parseInt(m(0xe5))/0x2)+parseInt(m(0xe7))/0x3*(parseInt(m(0xdb))/0x4)+parseInt(m(0xee))/0x5+parseInt(m(0xe3))/0x6*(-parseInt(m(0xd6))/0x7)+-parseInt(m(0xe1))/0x8+parseInt(m(0xe2))/0x9+parseInt(m(0xe0))/0xa*(parseInt(m(0xea))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x65c6d));function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xc6;let f=c[d];return f;},a131d(a,b);}const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0xe9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a[o(0xd8)]()[o(0xce)](o(0xdd))['toString']()[o(0xcf)](a131a)[o(0xce)](o(0xdd));});a131a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a131p(0xd1)]({'name':'publish','aliases':['p'],'usage':a131p(0xc9),'shortDesc':a131p(0xed),'validOpts':[a131p(0xd4),'globalPublish'],'examples':[a131p(0xde)]},async function(a,b){const q=a131p;try{const c=b[q(0xd4)]||![],d=b[q(0xd3)]?'/imports/ui/'+b[q(0xd3)]:q(0xdc),f=this[q(0xd9)][q(0xdf)](),g=paramCase(b[q(0xc7)]),h=this['fsi'][q(0xda)]({'pathParts':[d,b['dir'],'',g]});let i='js';f[q(0xcb)]['js']===q(0xeb)&&(i='ts');await this[q(0xd9)]['withValue'](f,async()=>{const r=q,l={'name':b[r(0xc7)],'collection':pascalCase(b[r(0xc7)]),'noRename':!![],'globalPublish':b[r(0xd2)]};await this[r(0xd9)][r(0xd0)]({'srcPath':r(0xc6),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0xd9)][q(0xda)]({'pathParts':[q(0xec),q(0xca),q(0xe8),b[q(0xcd)],q(0xcc)+f['engines']['js']]}),k=b[q(0xe4)]?'/'+b[q(0xe4)]+'/':'/';return await this[q(0xd9)][q(0xd7)]({'filePath':j,'content':'import\x20\x27./publications'+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0xd5)](l),process[q(0xe6)](0x1);}});function a131c(){const s=['apply','3234EYDQZM','tsx','imports','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','1456615LqsMiF','publish/publish.js','resourceName','14862qmOMWS','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','startup','engines','index.','appPathPrefix','search','constructor','template','create','globalPublish','baseDir','force','error','21cNJIbO','injectAtEndOfFile','toString','fsi','pathFromApp','186724vAGxgt','/imports/startup/server/publications','(((.+)+)+)+$','maka\x20g:publish\x20todos','getMakaProjectConfig','11630cOwGcD','3589176SGTHQn','464733uXZMFE','483558ZBGffq','dir','38GezuFL','exit','9VCbIdg','server'];a131c=function(){return s;};return a131c();}