@maka/maka-cli 5.0.24 → 5.0.26

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 (176) 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/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/test.js +1 -1
  100. package/bundle/obf/src/commands/undo.js +1 -1
  101. package/bundle/obf/src/commands/version.js +1 -1
  102. package/bundle/obf/src/error.js +1 -1
  103. package/bundle/obf/src/exec.js +1 -1
  104. package/bundle/obf/src/generator.js +1 -1
  105. package/bundle/obf/src/generators/_index.js +1 -1
  106. package/bundle/obf/src/generators/api.js +1 -1
  107. package/bundle/obf/src/generators/aws/_index.js +1 -1
  108. package/bundle/obf/src/generators/aws/aws.js +1 -1
  109. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  112. package/bundle/obf/src/generators/collection.js +1 -1
  113. package/bundle/obf/src/generators/component.js +1 -1
  114. package/bundle/obf/src/generators/config.js +1 -1
  115. package/bundle/obf/src/generators/dbc.js +1 -1
  116. package/bundle/obf/src/generators/dockerfile.js +1 -1
  117. package/bundle/obf/src/generators/hook.js +1 -1
  118. package/bundle/obf/src/generators/kits/_index.js +1 -1
  119. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/kit.js +1 -1
  127. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  131. package/bundle/obf/src/generators/layout.js +1 -1
  132. package/bundle/obf/src/generators/maka.gen.js +1 -1
  133. package/bundle/obf/src/generators/methods.js +1 -1
  134. package/bundle/obf/src/generators/package.js +1 -1
  135. package/bundle/obf/src/generators/page.js +1 -1
  136. package/bundle/obf/src/generators/publish.js +1 -1
  137. package/bundle/obf/src/generators/route.js +1 -1
  138. package/bundle/obf/src/generators/service.js +1 -1
  139. package/bundle/obf/src/generators/services/_index.js +1 -1
  140. package/bundle/obf/src/generators/services/openssl.js +1 -1
  141. package/bundle/obf/src/generators/services/translation.js +1 -1
  142. package/bundle/obf/src/maka.js +1 -1
  143. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +6 -6
  144. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +6 -6
  145. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +8 -10
  146. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +8 -10
  147. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +1 -1
  148. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +1 -1
  149. package/bundle/obf/src/templates/react/kit/auth/service/meteor-auth-service.js.jsx +2 -2
  150. package/bundle/obf/src/tool.js +1 -1
  151. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  152. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  153. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  154. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  155. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  156. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  158. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  159. package/bundle/obf/src/tools/https/https.class.js +1 -1
  160. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  161. package/bundle/obf/src/tools/log/log.class.js +1 -1
  162. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  164. package/bundle/obf/src/tools/options/options.class.js +1 -1
  165. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  166. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  167. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  168. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  169. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  170. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  171. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  172. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  173. package/package.json +1 -1
  174. package/delete-1.1.0.tgz +0 -0
  175. package/maka-maka-cli-5.0.23.tgz +0 -0
  176. package/matched-5.0.1.tgz +0 -0
@@ -1 +1 @@
1
- (function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(0xea))/0x1*(-parseInt(f(0xef))/0x2)+parseInt(f(0xee))/0x3+parseInt(f(0xe8))/0x4+parseInt(f(0xed))/0x5*(-parseInt(f(0xe9))/0x6)+parseInt(f(0xeb))/0x7+parseInt(f(0xf5))/0x8+parseInt(f(0xf4))/0x9*(-parseInt(f(0xec))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x1deeb));function a117c(){var i=['442ahXgYt','constructor','(((.+)+)+)+$','search','apply','94887zUSbxN','1920144YdCFBa','923628tfGBfD','1447926hpWwmN','279gMTVep','440958ZkKYUn','250xqarMU','5yQrkUH','95763utgNRA'];a117c=function(){return i;};return a117c();}var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a['toString']()[h(0xf2)](h(0xf1))['toString']()[h(0xf0)](a117a)[h(0xf2)](h(0xf1));});a117a();import'./kit.js';function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0xe8;var f=c[d];return f;},a117d(a,b);}import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
1
+ function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x1c8;var f=c[d];return f;},a117d(a,b);}(function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(0x1d2))/0x1+parseInt(f(0x1c9))/0x2*(parseInt(f(0x1c8))/0x3)+parseInt(f(0x1cf))/0x4*(parseInt(f(0x1d6))/0x5)+-parseInt(f(0x1ce))/0x6*(-parseInt(f(0x1d7))/0x7)+parseInt(f(0x1d4))/0x8*(parseInt(f(0x1cb))/0x9)+parseInt(f(0x1cd))/0xa+-parseInt(f(0x1d0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xcf361));function a117c(){var i=['27KwMgqv','(((.+)+)+)+$','8210440ZaHrjM','24WLbNlw','4IyGRuW','26288427kNYRkZ','constructor','1150129RJSoVe','apply','2884256OEpTJH','search','4393735kAvdwW','2172583CvufEn','109758ajcuJq','20dIsLOv','toString'];a117c=function(){return i;};return a117c();}var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a['toString']()[h(0x1d5)]('(((.+)+)+)+$')[h(0x1ca)]()[h(0x1d1)](a117a)[h(0x1d5)](h(0x1cc));});a117a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xa8))/0x1+parseInt(f(0xa4))/0x2+parseInt(f(0xa1))/0x3+parseInt(f(0x9d))/0x4+parseInt(f(0xa9))/0x5*(-parseInt(f(0xa2))/0x6)+parseInt(f(0xa6))/0x7*(-parseInt(f(0x9b))/0x8)+parseInt(f(0xa5))/0x9*(parseInt(f(0x9e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x95bfa));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xa7)]()[h(0x9f)](h(0xa0))[h(0xa7)]()[h(0xa3)](a118a)[h(0x9f)](h(0xa0));});function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x9b;var f=c[d];return f;},a118d(a,b);}function a118c(){var i=['10510qnjiVj','search','(((.+)+)+)+$','3390978RXBzwf','213630mAZNVD','constructor','914438zorGZJ','5112uazSKL','35YgLzXU','toString','229226yKZySr','85VLjYqf','1602976ypioYM','apply','1060912Pojwqg'];a118c=function(){return i;};return a118c();}a118a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
1
+ (function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x128))/0x1+-parseInt(f(0x124))/0x2*(-parseInt(f(0x12f))/0x3)+-parseInt(f(0x12e))/0x4*(parseInt(f(0x130))/0x5)+-parseInt(f(0x12b))/0x6*(parseInt(f(0x127))/0x7)+parseInt(f(0x12c))/0x8+-parseInt(f(0x126))/0x9+parseInt(f(0x12d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xd6c1b));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x129)]()['search']('(((.+)+)+)+$')[h(0x129)]()[h(0x12a)](a118a)['search']('(((.+)+)+)+$');});a118a();function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x124;var f=c[d];return f;},a118d(a,b);}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a118c(){var i=['315036sAAtpe','6137866zgdRCl','574531NuOitR','toString','constructor','12SAFSBr','4232152hNYfnO','24510510nOolJd','20cMgbPM','33MzdBiR','1176755OENUMC','52814BRusir','apply'];a118c=function(){return i;};return a118c();}
@@ -1 +1 @@
1
- const a119h=a119d;function a119c(){const j=['1006490qBbvww','28695524gnCFaN','16GGNSiU','170OVctRQ','2782713OUHxHY','NIE','create','maka\x20g:kit:a','6MasGNC','constructor','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','auth','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','3690CmqElJ','(((.+)+)+)+$','search','21915ChaSXX','925120PKZxMS','toString','13427tPnYvp','6877619wHgpXy'];a119c=function(){return j;};return a119c();}(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x110))/0x1*(parseInt(f(0x115))/0x2)+parseInt(f(0x116))/0x3+-parseInt(f(0x114))/0x4*(parseInt(f(0x112))/0x5)+-parseInt(f(0x11a))/0x6*(-parseInt(f(0x111))/0x7)+parseInt(f(0x10e))/0x8+-parseInt(f(0x10d))/0x9*(-parseInt(f(0x10a))/0xa)+-parseInt(f(0x113))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x9f18e));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const g=a119d;return a119a[g(0x10f)]()[g(0x10c)](g(0x10b))['toString']()[g(0x11b)](a119a)[g(0x10c)](g(0x10b));});a119a();function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x107;let f=c[d];return f;},a119d(a,b);}import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator[a119h(0x118)]({'name':a119h(0x108),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':a119h(0x109),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a119h(0x119)],'description':a119h(0x107)},async function(){const i=a119h;throw i(0x117);},async function(){},a119e);export default AuthGen;
1
+ const a119h=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x19f))/0x1*(-parseInt(f(0x193))/0x2)+parseInt(f(0x1a4))/0x3*(-parseInt(f(0x19e))/0x4)+-parseInt(f(0x194))/0x5+-parseInt(f(0x1a0))/0x6*(parseInt(f(0x19c))/0x7)+-parseInt(f(0x1a3))/0x8+parseInt(f(0x197))/0x9*(-parseInt(f(0x198))/0xa)+parseInt(f(0x192))/0xb*(parseInt(f(0x196))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xd4bb9));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const g=a119d;return a119a[g(0x19d)]()[g(0x1a1)](g(0x1a2))[g(0x19d)]()['constructor'](a119a)[g(0x1a1)](g(0x1a2));});a119a();import{Generator}from'../../../generator.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x192;let f=c[d];return f;},a119d(a,b);}function a119c(){const i=['3hoZRom','auth','11Jkzwfq','504194QBLzqD','8540815GoCuPn','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','75377592riRDUZ','3279618cVthMI','10ZgPnAv','create','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','maka\x20g:kit:a','215432ElQdqy','toString','1122372yxYMDC','1wxkntt','240dHVMiL','search','(((.+)+)+)+$','12590544obZERw'];a119c=function(){return i;};return a119c();}import a119e from'../kit.js';const AuthGen=Generator[a119h(0x199)]({'name':a119h(0x1a5),'aliases':['a'],'usage':a119h(0x195),'shortDesc':a119h(0x19a),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a119h(0x19b)],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){throw'NIE';},async function(){},a119e);export default AuthGen;
@@ -1 +1 @@
1
- const a120v=a120d;function a120c(){const x=['\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','findAppDirectory','index','injectIntoCodeBlock','toString','normalize','auth/roles','101648nXxLjJ','create','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','search','alanning:roles','meteor/meteor','meteor/maka:react-tracker','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','pathFromApp','kit:auth:provider','force','ssr','(((.+)+)+)+$','startup','injectImport','/imports/startup/server/publications/auth/roles.js','Meteor','const\x20sendForgotPasswordEmail','99DPNGYF','checkMeteorPackage','\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','kit/auth/service/meteor-auth-service.js','\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','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','30tySMJg','return\x20\x5c(','421323PRouUr','\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','server','export\x20const\x20AuthProvider','2042864JSfMNk','/imports/startup/client/authentication-service','apply','imports','injectIntoFile','const\x20resetPasswordWithToken','error','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','REACT','905244MszeuA','AuthService','meteor','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','meteor/accounts-base','processAndRunGenerator','90226XzcuBR','2aAxxli','findProjectDirectory','authentication-provider','48055pDQOus','const\x20registerNewUser','/imports/startup/client','.js','template','engines','const\x20deauthenticateUser','Meteor.startup','207490COodwz','Accounts','Meteor.publish','publish'];a120c=function(){return x;};return a120c();}(function(a,b){const s=a120d,c=a();while(!![]){try{const d=-parseInt(s(0xfc))/0x1*(-parseInt(s(0xfb))/0x2)+-parseInt(s(0xe8))/0x3+-parseInt(s(0x112))/0x4*(parseInt(s(0xe6))/0x5)+-parseInt(s(0xf5))/0x6+parseInt(s(0xff))/0x7+parseInt(s(0xec))/0x8+parseInt(s(0xe0))/0x9*(parseInt(s(0x107))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x216c5));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a120d;if(c){const e=c[t(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const u=a120d;return a120a['toString']()[u(0x115)](u(0xda))[u(0x10f)]()['constructor'](a120a)[u(0x115)](u(0xda));});a120a();import a120e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120f from'./auth.generator.js';import a120g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xd1;let f=c[d];return f;},a120d(a,b);}Generator[a120v(0x113)]({'name':a120v(0xf7),'aliases':['m'],'usage':a120v(0xf8),'shortDesc':a120v(0xe5),'validOpts':[a120v(0xd8)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a120v(0xf4)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20'},async function(a,b){const w=a120v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0xd8)]||![];await d[w(0xe1)](['accounts-password',w(0xd1)],{'shouldInstall':!![]});const i=c[w(0xfd)](),j=c[w(0x10c)](),k=g[w(0x104)][w(0xd9)]===w(0xf7);await a120g[w(0xfa)](w(0xd7),[],{'force':h,'cwd':i,'config':g}),await a120g['processAndRunGenerator'](w(0x10a),[w(0x111)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e[w(0x110)](w(0xdd)),m=k?'/imports/startup/lib':w(0x101),n=f[w(0xd6)]({'pathParts':[m,'','','authentication-service']});await f[w(0x103)]({'srcPath':w(0xe3),'destPath':n+w(0x102),'framework':'react','context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0xd6)]({'pathParts':[m,'','',w(0xfe)]}),p=g['engines']['js'];await f[w(0xdc)]({'filePath':o+'.'+p,'importName':w(0xf6),'modulePath':k?'/imports/startup/lib/authentication-service':w(0xed),'isNamedExport':![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0xe4),'begin':'const\x20authenticateUser','replace':!![]}),await f[w(0x10e)]({'filePath':o+'.'+p,'content':w(0xe9),'begin':'const\x20authenticateToken','replace':!![]}),await f[w(0x10e)]({'filePath':o+'.'+p,'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':'const\x20getUserAuthorizations','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0xd5),'begin':w(0x105),'replace':!![]}),await f[w(0x10e)]({'filePath':o+'.'+p,'content':w(0xd4),'begin':w(0xdf),'replace':!![]}),await f[w(0x10e)]({'filePath':o+'.'+p,'content':w(0xf3),'begin':w(0x100),'replace':!![]}),await f[w(0x10e)]({'filePath':o+'.'+p,'content':w(0x114),'begin':w(0xf1),'replace':!![]});k&&(await f['injectImport']({'filePath':o+'.'+p,'importName':'useTracker','modulePath':w(0xd3),'isNamedExport':!![]}),await f[w(0xf0)]({'filePath':o+'.'+p,'content':w(0xe2),'begin':w(0xeb),'end':w(0xe7)}));await f[w(0xdc)]({'filePath':l,'importName':w(0xde),'modulePath':w(0xd2),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x10e)]({'filePath':l,'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':w(0x109),'replace':!![]});const q=f[w(0xd6)]({'pathParts':[w(0xef),w(0xdb),w(0xea),w(0x10d)]});await f[w(0xdc)]({'filePath':q+'.'+p,'importName':w(0x108),'modulePath':w(0xf9),'isNamedExport':!![]}),await f['injectIntoCodeBlock']({'filePath':q+'.'+p,'content':w(0x10b),'begin':w(0x106),'replace':!![]});}catch(r){Log[w(0xf2)](r),process['exit'](0x1);}},async function(){},a120f);
1
+ const a120u=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x167;let f=c[d];return f;},a120d(a,b);}(function(a,b){const s=a120d,c=a();while(!![]){try{const d=-parseInt(s(0x193))/0x1*(-parseInt(s(0x171))/0x2)+parseInt(s(0x179))/0x3*(parseInt(s(0x170))/0x4)+parseInt(s(0x19a))/0x5*(parseInt(s(0x168))/0x6)+parseInt(s(0x187))/0x7+-parseInt(s(0x184))/0x8+parseInt(s(0x190))/0x9*(parseInt(s(0x176))/0xa)+parseInt(s(0x18d))/0xb*(-parseInt(s(0x17a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xdf493));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 t=a120d;return a120a['toString']()[t(0x18c)](t(0x18f))[t(0x1a2)]()[t(0x19f)](a120a)[t(0x18c)](t(0x18f));});a120a();import a120e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120f from'./auth.generator.js';import a120g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120u(0x1a7)]({'name':a120u(0x16d),'aliases':['m'],'usage':a120u(0x188),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a120u(0x199)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a120u(0x175)]},'description':a120u(0x19b)},async function(a,b){const v=a120u,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[v(0x199)]||![];await d[v(0x19e)]([v(0x19d)],{'shouldInstall':!![]});const i=c[v(0x194)](),j=c['findAppDirectory'](),k=g[v(0x189)][v(0x1a1)]===v(0x16d);await a120g['processAndRunGenerator']('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a120g['processAndRunGenerator']('publish',['auth/roles'],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e[v(0x182)](v(0x18e)),m=k?v(0x195):v(0x1a3),n=f[v(0x1a0)]({'pathParts':[m,'','',v(0x173)]});await f[v(0x169)]({'srcPath':v(0x16b),'destPath':n+v(0x198),'framework':v(0x17c),'context':{},'config':g,'force':h,'ignore':![]});const o=f[v(0x1a0)]({'pathParts':[m,'','','authentication-provider']}),p=g[v(0x189)]['js'];await f[v(0x1a6)]({'filePath':o+'.'+p,'importName':v(0x16e),'modulePath':k?v(0x177):v(0x1a8),'isNamedExport':![]}),await f[v(0x16a)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x17b),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x186),'begin':v(0x18b),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x196),'begin':v(0x185),'replace':!![]}),await f[v(0x16a)]({'filePath':o+'.'+p,'content':v(0x181),'begin':'const\x20deauthenticateUser','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x197),'replace':!![]}),await f[v(0x16a)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x17e),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x1a9),'replace':!![]});k&&(await f['injectImport']({'filePath':o+'.'+p,'importName':v(0x191),'modulePath':v(0x17f),'isNamedExport':!![]}),await f[v(0x16c)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x167),'end':v(0x18a)}));await f[v(0x1a6)]({'filePath':l,'importName':'Meteor','modulePath':v(0x178),'isNamedExport':!![],'injectAtStart':!![]}),await f[v(0x16a)]({'filePath':l,'content':v(0x192),'begin':v(0x17d),'replace':!![]});const q=f[v(0x1a0)]({'pathParts':[v(0x172),v(0x1a4),v(0x19c),'index']});await f[v(0x1a6)]({'filePath':q+'.'+p,'importName':v(0x174),'modulePath':v(0x16f),'isNamedExport':!![]}),await f[v(0x16a)]({'filePath':q+'.'+p,'content':v(0x183),'begin':v(0x1a5),'replace':!![]});}catch(r){Log[v(0x180)](r),process['exit'](0x1);}},async function(){},a120f);function a120c(){const w=['react','Meteor.publish','const\x20registerNewUser','meteor/maka:react-tracker','error','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','normalize','\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','10574232cohUmU','const\x20getUserAuthorizations','\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','7939113ScWlRs','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','engines','useEffect\x5c(','const\x20authenticateToken','search','22UYQifI','/imports/startup/server/publications/auth/roles.js','(((.+)+)+)+$','369gdTrYB','useTracker','\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','118519yVYFgX','findProjectDirectory','/imports/startup/lib','\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','const\x20sendForgotPasswordEmail','.js','force','5fZqlIs','\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','server','accounts-password','checkMeteorPackage','constructor','pathFromApp','ssr','toString','/imports/startup/client','startup','Meteor.startup','injectImport','create','/imports/startup/client/authentication-service','const\x20resetPasswordWithToken','export\x20const\x20AuthProvider','8697156bzUyDV','template','injectIntoCodeBlock','kit/auth/service/meteor-auth-service.js','injectIntoFile','meteor','AuthService','meteor/accounts-base','204664XoxaTR','2eHAGtY','imports','authentication-service','Accounts','REACT','39980nJxCNP','/imports/startup/lib/authentication-service','meteor/meteor','12tuQECI','5006568XLvsmL','const\x20authenticateUser'];a120c=function(){return w;};return a120c();}
@@ -1 +1 @@
1
- function a121c(){const z=['toString','scaffold','.js','/imports/startup/lib/authentication-provider','search','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','3bWFDhs','/routes','split','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','7872516XETOjf','injectAroundString','const\x20PrivateRoute','/imports/startup/client/index','force','create','injectImport','kit/auth/provider/authentication-provider.js','function\x20useAuth','appName','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','apply','11dQDPHU','5930776vfyzDZ','const\x20useAuth','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','react','/imports/startup/lib','\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','(((.+)+)+)+$','/imports/startup/client/authentication-provider','800620MyvNLi','template','engines','18bqIwSW','</AuthProvider>','/imports/startup/client','1180RQgYdi','authentication-provider','injectIntoCodeBlock','AuthContext','AuthProvider','pathFromApp','607274WsXGeC','10455FYTaMu','<AppRoutes\x20/>','<AuthProvider>','25707730qpJtqx','9703120SdnoJD','useContext'];a121c=function(){return z;};return a121c();}const a121x=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=parseInt(u(0x11a))/0x1*(parseInt(u(0x10c))/0x2)+parseInt(u(0x10d))/0x3*(parseInt(u(0x106))/0x4)+parseInt(u(0x100))/0x5+parseInt(u(0x11e))/0x6+parseInt(u(0x111))/0x7+parseInt(u(0xf8))/0x8*(-parseInt(u(0x103))/0x9)+-parseInt(u(0x110))/0xa*(parseInt(u(0xf7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xb59d1));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a121d;if(c){const e=c[v(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const w=a121d;return a121a['toString']()[w(0x117)](w(0xfe))[w(0x113)]()['constructor'](a121a)[w(0x117)](w(0xfe));});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xf1;let f=c[d];return f;},a121d(a,b);}a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121x(0x123)]({'name':'provider','aliases':['p'],'usage':a121x(0x11d),'shortDesc':a121x(0xfa),'validOpts':[a121x(0x122)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a121x(0xfd)},async function(a,b){const y=a121x;try{const c=b[y(0x122)]||![];Log['bright'](y(0x118));const {projectConfig:d}=this,f=d[y(0x102)]['ssr']==='meteor',g={'name':capitalCase(d[y(0xf4)])},h=f?y(0xfc):y(0x105),i=this[y(0x114)][y(0x10b)]({'pathParts':[h,'','',y(0x107)]});await this['scaffold'][y(0x101)]({'srcPath':y(0xf2),'destPath':i+y(0x115),'framework':y(0xfb),'context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x102)]['js'],k=h+y(0x11b),l=k[y(0x11c)]('/'),m=this[y(0x114)][y(0x10b)]({'pathParts':l});await this[y(0x114)][y(0xf1)]({'filePath':m+'.'+j,'importName':y(0x109),'modulePath':f?y(0x116):y(0xff),'isNamedExport':!![]}),await this['scaffold'][y(0xf1)]({'filePath':m+'.'+j,'importName':y(0x112),'modulePath':y(0xfb),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold'][y(0x108)]({'filePath':m+'.'+j,'content':y(0xf5),'begin':[y(0xf9),y(0xf3)],'replace':!![]}),await this[y(0x114)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x119),'begin':[y(0x120)],'replace':!![]});const n=y(0x121),o=n[y(0x11c)]('/'),p=this[y(0x114)][y(0x10b)]({'pathParts':o});await this[y(0x114)][y(0xf1)]({'filePath':p+'.'+j,'importName':y(0x10a),'modulePath':f?y(0x116):y(0xff),'isNamedExport':!![]}),await this[y(0x114)][y(0x11f)]({'filePath':p+'.'+j,'aboveContent':y(0x10f),'belowContent':y(0x104),'targetString':y(0x10e),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[y(0x11c)]('/'),s=this[y(0x114)][y(0x10b)]({'pathParts':r});await this['scaffold'][y(0xf1)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x116):y(0xff),'isNamedExport':!![]}),await this[y(0x114)][y(0x11f)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x104),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process['exit'](0x1);}},async function(){},a121e);
1
+ function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x86;let f=c[d];return f;},a121d(a,b);}function a121c(){const y=['create','/imports/startup/client/index','REACT','ssr','/routes','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','<AppRoutes\x20history={history}/>','</AuthProvider>','injectAroundString','const\x20useAuth','194850dgjwIK','/imports/startup/client/authentication-provider','search','pathFromApp','<AppRoutes\x20/>','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','168400iNIKzt','/imports/startup/client','force','498594TrkYWd','exit','split','injectIntoCodeBlock','injectImport','constructor','\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','bright','AuthContext','function\x20useAuth','<AuthProvider>','error','AuthProvider','(((.+)+)+)+$','engines','useContext','/imports/startup/lib/authentication-provider','const\x20PrivateRoute','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','toString','template','7mmKYJb','.js','1060840EipXuF','scaffold','505452NRiqDi','react','kit/auth/provider/authentication-provider.js','97174cUKJqe','930276lIanqe'];a121c=function(){return y;};return a121c();}const a121w=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=-parseInt(u(0x8b))/0x1+-parseInt(u(0x97))/0x2+parseInt(u(0xa0))/0x3+parseInt(u(0x88))/0x4+parseInt(u(0x9d))/0x5+-parseInt(u(0x8c))/0x6+-parseInt(u(0xb5))/0x7*(-parseInt(u(0x86))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x1aa91));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const v=a121d;return a121a[v(0xb3)]()[v(0x99)](v(0xad))[v(0xb3)]()[v(0xa5)](a121a)[v(0x99)](v(0xad));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121w(0x8d)]({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a121w(0x92),'validOpts':[a121w(0x9f)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a121w(0x8f)]},'description':a121w(0xa6)},async function(a,b){const x=a121w;try{const c=b[x(0x9f)]||![];Log[x(0xa7)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const {projectConfig:d}=this,f=d[x(0xae)][x(0x90)]==='meteor',g={'name':capitalCase(d['appName'])},h=f?'/imports/startup/lib':x(0x9e),i=this['scaffold'][x(0x9a)]({'pathParts':[h,'','','authentication-provider']});await this[x(0x87)][x(0xb4)]({'srcPath':x(0x8a),'destPath':i+x(0xb6),'framework':x(0x89),'context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+x(0x91),l=k['split']('/'),m=this['scaffold'][x(0x9a)]({'pathParts':l});await this['scaffold'][x(0xa4)]({'filePath':m+'.'+j,'importName':x(0xa8),'modulePath':f?x(0xb0):x(0x98),'isNamedExport':!![]}),await this[x(0x87)][x(0xa4)]({'filePath':m+'.'+j,'importName':x(0xaf),'modulePath':x(0x89),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x87)][x(0xa3)]({'filePath':m+'.'+j,'content':x(0xb2),'begin':[x(0x96),x(0xa9)],'replace':!![]}),await this[x(0x87)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':x(0x9c),'begin':[x(0xb1)],'replace':!![]});const n=x(0x8e),o=n[x(0xa2)]('/'),p=this['scaffold'][x(0x9a)]({'pathParts':o});await this[x(0x87)][x(0xa4)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?x(0xb0):x(0x98),'isNamedExport':!![]}),await this[x(0x87)][x(0x95)]({'filePath':p+'.'+j,'aboveContent':x(0xaa),'belowContent':x(0x94),'targetString':x(0x9b),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q['split']('/'),s=this[x(0x87)]['pathFromApp']({'pathParts':r});await this['scaffold']['injectImport']({'filePath':s+'.'+j,'importName':x(0xac),'modulePath':f?x(0xb0):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x87)][x(0x95)]({'filePath':s+'.'+j,'aboveContent':x(0xaa),'belowContent':x(0x94),'targetString':x(0x93),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0xab)](t),process[x(0xa1)](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- (function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x13f))/0x1+-parseInt(f(0x14a))/0x2+parseInt(f(0x142))/0x3+parseInt(f(0x140))/0x4*(-parseInt(f(0x14c))/0x5)+-parseInt(f(0x147))/0x6+-parseInt(f(0x141))/0x7+-parseInt(f(0x149))/0x8*(-parseInt(f(0x143))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x3bb62));function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x13f;var f=c[d];return f;},a122d(a,b);}var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a['toString']()[h(0x148)](h(0x14b))[h(0x145)]()[h(0x146)](a122a)['search'](h(0x14b));});a122a();function a122c(){var i=['toString','constructor','520392akQtPM','search','19504nrBMVB','544264ZavsyF','(((.+)+)+)+$','5nExYUU','322613BqsnjQ','1729220zLPIrG','1439004WgLwdB','54720pXOjTK','5706mnFeEX','apply'];a122c=function(){return i;};return a122c();}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x1b3))/0x1*(-parseInt(f(0x1b5))/0x2)+-parseInt(f(0x1a8))/0x3*(parseInt(f(0x1aa))/0x4)+-parseInt(f(0x1b7))/0x5*(-parseInt(f(0x1ae))/0x6)+-parseInt(f(0x1b0))/0x7+parseInt(f(0x1ab))/0x8*(parseInt(f(0x1b1))/0x9)+-parseInt(f(0x1ac))/0xa+parseInt(f(0x1ad))/0xb*(parseInt(f(0x1af))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xad8a9));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x1a7)]()[h(0x1b6)](h(0x1a9))['toString']()[h(0x1b4)](a122a)[h(0x1b6)](h(0x1a9));});a122a();import'./esri.generator.js';import'./map.esri.gen.js';function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x1a7;var f=c[d];return f;},a122d(a,b);}function a122c(){var i=['7166920GauyjD','22wvbKbd','7435410kVNivt','2685408wZJTop','4559884omoFKX','7018056rHvHPM','apply','839rGgEGM','constructor','1738kQuKAy','search','5pYsfhj','toString','3350247aOgHMy','(((.+)+)+)+$','4vQRuOE','8wYzVke'];a122c=function(){return i;};return a122c();}
@@ -1 +1 @@
1
- const a123h=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d=parseInt(f(0x89))/0x1+parseInt(f(0x9c))/0x2*(parseInt(f(0x9d))/0x3)+parseInt(f(0x98))/0x4+parseInt(f(0x8b))/0x5*(parseInt(f(0x8d))/0x6)+parseInt(f(0x93))/0x7*(-parseInt(f(0x9a))/0x8)+parseInt(f(0x8a))/0x9+-parseInt(f(0x8f))/0xa*(parseInt(f(0x9b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x1bc0f));const a123b=(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;};}()),a123a=a123b(this,function(){const g=a123d;return a123a[g(0x99)]()['search'](g(0x8e))[g(0x99)]()[g(0x95)](a123a)[g(0x9f)](g(0x8e));});a123a();function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x89;let f=c[d];return f;},a123d(a,b);}function a123c(){const j=['153135LdhGZG','10rtcJjA','maka\x20g:kit:e','186324MFQJkN','(((.+)+)+)+$','211160iBEHBD','create','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','\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','3038sfvFuy','esri','constructor','Esri\x20Kit\x20generated\x20successfully','/foo','837376TXQBUA','toString','1336oeQafI','154GlPXUr','2LDFKNg','155334YaDFAa','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','search','141536ddEezE'];a123c=function(){return j;};return a123c();}import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator[a123h(0x90)]({'name':a123h(0x94),'aliases':['e'],'usage':a123h(0x9e),'shortDesc':a123h(0x91),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a123h(0x8c)],'description':a123h(0x92)},async function(){const i=a123h;return{'success':!![],'message':i(0x96),'details':{'filesCreated':['/foo/bar'],'filesUpdated':[i(0x97)]}};},async function(){},a123e);export default EsriGen;
1
+ const a123h=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a123d(a,b);}(function(a,b){const f=a123d,c=a();while(!![]){try{const d=parseInt(f(0x1cc))/0x1+-parseInt(f(0x1ce))/0x2*(parseInt(f(0x1c0))/0x3)+parseInt(f(0x1c5))/0x4+parseInt(f(0x1ca))/0x5*(parseInt(f(0x1c9))/0x6)+-parseInt(f(0x1cd))/0x7*(-parseInt(f(0x1c2))/0x8)+-parseInt(f(0x1bd))/0x9+parseInt(f(0x1c8))/0xa*(-parseInt(f(0x1c1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x1e032));const a123b=(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;};}()),a123a=a123b(this,function(){const g=a123d;return a123a[g(0x1c4)]()[g(0x1bb)]('(((.+)+)+)+$')[g(0x1c4)]()['constructor'](a123a)[g(0x1bb)](g(0x1c3));});a123a();function a123c(){const j=['352cVdcof','(((.+)+)+)+$','toString','77108WBDmyl','esri','\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','330NvrLTM','1938bppDGM','355LKiWjk','/foo','156074KJHSlg','28049OphuXw','980sLnqAX','maka\x20g:kit:e','Esri\x20Kit\x20generated\x20successfully','search','create','618309IBgZwj','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','/foo/bar','747xwCWsQ','20317TGQpey'];a123c=function(){return j;};return a123c();}import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator[a123h(0x1bc)]({'name':a123h(0x1c6),'aliases':['e'],'usage':a123h(0x1be),'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a123h(0x1b9)],'description':a123h(0x1c7)},async function(){const i=a123h;return{'success':!![],'message':i(0x1ba),'details':{'filesCreated':[i(0x1bf)],'filesUpdated':[i(0x1cb)]}};},async function(){},a123e);export default EsriGen;
@@ -1 +1 @@
1
- function a124c(){const w=['error','/imports/startup/client/templates','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','processAndRunGenerator','523457vLMYyx','bright','basic-map','11FJWzam','map','search','toString','injectTemplateModule','exit','888612YyTdnC','30fKfhOF','/imports/ui/','replaceAll','7908640HOGuAL','react','REACT','27908gqhXDn','\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','ssr','@esri/react-arcgis','58066IKmRqS','findProjectDirectory','(((.+)+)+)+$','kit/esri/map/','constructor','588QSVitj','create','5233144rXVGHO','split','/imports/startup/lib/templates','baseDir','esri-loader','.js','9anIAyg','injectIntoFile','159DSjdFH','Generate\x20an\x20Esri\x20map\x20component','<div\x20id=\x22map\x22>','meteor','dir','2749064ZBnZNl','injectImport','engines'];a124c=function(){return w;};return a124c();}function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x86;let f=c[d];return f;},a124d(a,b);}const a124u=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=-parseInt(s(0x8a))/0x1*(parseInt(s(0x9b))/0x2)+parseInt(s(0xaa))/0x3*(parseInt(s(0x97))/0x4)+parseInt(s(0x91))/0x5*(parseInt(s(0x90))/0x6)+parseInt(s(0xa2))/0x7+parseInt(s(0xaf))/0x8+-parseInt(s(0xa8))/0x9*(-parseInt(s(0x94))/0xa)+parseInt(s(0x87))/0xb*(-parseInt(s(0xa0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x7778c));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const t=a124d;return a124a[t(0x8d)]()[t(0x8c)](t(0x9d))[t(0x8d)]()[t(0x9f)](a124a)['search'](t(0x9d));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124u(0xa1)]({'name':a124u(0x8b),'aliases':['m'],'usage':a124u(0xb5),'shortDesc':a124u(0xab),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124u(0x96)],'ssr':SsrEngines['NONE']},'description':a124u(0x98)},async function(a,b){const v=a124u;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[v(0x88)]('Generating\x20a\x20map\x20component');const h=v(0x89);await f['checkNpmPackage']([v(0x9a),v(0xa6)],{'shouldInstall':!![]});const i=d[v(0x9c)](),j=c[v(0xb1)][v(0x99)]===v(0xad),k=await a124f[v(0x86)]('page',[v(0x8b)],{'cwd':i,'config':c}),l={'name':capitalCase(c['appName'])[v(0x93)]('-','\x20'),'componentName':pascalCase(h)},m=b[v(0xa5)]?v(0x92)+b[v(0xa5)]:'/imports/ui/hooks',n=g['pathFromApp']({'pathParts':[m,b[v(0xae)],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':v(0x9e)+h+'.js','destPath':n+v(0xa7),'framework':v(0x95),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[v(0xae)]+'/'+h+'/'+h;await g[v(0x8e)](h,c,o);const p=k[v(0xa3)]('/'),q=g['pathFromApp']({'pathParts':p});await g[v(0xb0)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?v(0xa4):v(0xb3),'isNamedExport':!![]}),await g[v(0xa9)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+v(0xb4),'begin':[v(0xac),'<div\x20id=\x22map\x22>'],'end':['</div>'],'replace':!![]});}catch(r){Log[v(0xb2)](r),process[v(0x8f)](0x1);}},async function(){},a124e);
1
+ const a124u=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=-parseInt(s(0x11a))/0x1+-parseInt(s(0x11b))/0x2*(parseInt(s(0x115))/0x3)+-parseInt(s(0x12b))/0x4*(parseInt(s(0x11e))/0x5)+-parseInt(s(0x10f))/0x6*(-parseInt(s(0x124))/0x7)+parseInt(s(0x10c))/0x8*(parseInt(s(0x117))/0x9)+-parseInt(s(0x121))/0xa+parseInt(s(0x11f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x8cd79));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const t=a124d;return a124a[t(0x125)]()['search'](t(0x120))[t(0x125)]()[t(0x11c)](a124a)['search']('(((.+)+)+)+$');});a124a();function a124c(){const w=['NONE','419728FLtZxO','22AtARRl','constructor','esri-loader','40505epuDsQ','16984858Qebzos','(((.+)+)+)+$','910310VeIzkK','injectTemplateModule','processAndRunGenerator','2030154btjaJv','toString','dir','appName','Generate\x20an\x20Esri\x20map\x20component','Generating\x20a\x20map\x20component','<div\x20id=\x22map\x22>','84zpqLbg','template','pathFromApp','react','/imports/startup/client/templates','@esri/react-arcgis','create','ssr','injectIntoFile','/imports/startup/lib/templates','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','checkNpmPackage','REACT','map','</div>','112gUHenD','error','/imports/ui/','6sbrHVY','findProjectDirectory','/imports/ui/hooks','injectImport','.js','meteor','175917GExmsC','kit/esri/map/','44163JlRscR','baseDir'];a124c=function(){return w;};return a124c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x105;let f=c[d];return f;},a124d(a,b);}Generator[a124u(0x131)]({'name':a124u(0x10a),'aliases':['m'],'usage':a124u(0x107),'shortDesc':a124u(0x128),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124u(0x109)],'ssr':SsrEngines[a124u(0x119)]},'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 v=a124u;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log['bright'](v(0x129));const h='basic-map';await f[v(0x108)]([v(0x130),v(0x11d)],{'shouldInstall':!![]});const i=d[v(0x110)](),j=c['engines'][v(0x132)]===v(0x114),k=await a124f[v(0x123)]('page',['map'],{'cwd':i,'config':c}),l={'name':capitalCase(c[v(0x127)])['replaceAll']('-','\x20'),'componentName':pascalCase(h)},m=b[v(0x118)]?v(0x10e)+b[v(0x118)]:v(0x111),n=g['pathFromApp']({'pathParts':[m,b[v(0x126)],kebabCase(h),kebabCase(h)]});await g[v(0x12c)]({'srcPath':v(0x116)+h+v(0x113),'destPath':n+v(0x113),'framework':v(0x12e),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[v(0x126)]+'/'+h+'/'+h;await g[v(0x122)](h,c,o);const p=k['split']('/'),q=g[v(0x12d)]({'pathParts':p});await g[v(0x112)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?v(0x106):v(0x12f),'isNamedExport':!![]}),await g[v(0x105)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[v(0x12a),v(0x12a)],'end':[v(0x10b)],'replace':!![]});}catch(r){Log[v(0x10d)](r),process['exit'](0x1);}},async function(){},a124e);
@@ -1 +1 @@
1
- const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=parseInt(f(0xec))/0x1+parseInt(f(0xe3))/0x2*(-parseInt(f(0xdf))/0x3)+-parseInt(f(0xde))/0x4+parseInt(f(0xe6))/0x5*(parseInt(f(0xee))/0x6)+parseInt(f(0xe4))/0x7+parseInt(f(0xe7))/0x8+parseInt(f(0xe8))/0x9*(-parseInt(f(0xdd))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x7c85e));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0xe1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0xea)]()['search'](h(0xeb))['toString']()[h(0xdc)](a125a)['search'](h(0xeb));});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xdc;let f=c[d];return f;},a125d(a,b);}a125a();import{Generator}from'../../generator.js';const KitGen=Generator[a125i(0xed)]({'name':a125i(0xe9),'aliases':['k'],'usage':a125i(0xe0),'shortDesc':a125i(0xef),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a125i(0xe2),a125i(0xe5)]},async function(){});export default KitGen;function a125c(){const j=['2188008HFrfdV','1378779jDwojp','maka\x20{generate,\x20g}:{kit}\x20<name>','apply','maka\x20g:kit','2GSneyk','1317008RzkyQT','maka\x20g:k','15GJESZF','4667664SwNuii','9qFRMDP','kit','toString','(((.+)+)+)+$','201966huvaTL','create','1739082NGMFuv','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','constructor','3264680zCWPKW'];a125c=function(){return j;};return a125c();}
1
+ const a125h=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=parseInt(f(0x1eb))/0x1+parseInt(f(0x1e2))/0x2*(parseInt(f(0x1e6))/0x3)+-parseInt(f(0x1ec))/0x4*(-parseInt(f(0x1ef))/0x5)+parseInt(f(0x1e8))/0x6*(-parseInt(f(0x1ea))/0x7)+parseInt(f(0x1e7))/0x8+parseInt(f(0x1ee))/0x9+-parseInt(f(0x1f2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xa3d24));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const g=a125d;return a125a[g(0x1ed)]()[g(0x1e3)](g(0x1e4))[g(0x1ed)]()[g(0x1f1)](a125a)[g(0x1e3)](g(0x1e4));});a125a();function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a125d(a,b);}import{Generator}from'../../generator.js';const KitGen=Generator[a125h(0x1f3)]({'name':'kit','aliases':['k'],'usage':a125h(0x1e9),'shortDesc':a125h(0x1e5),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a125h(0x1f0),'maka\x20g:k']},async function(){});function a125c(){const i=['(((.+)+)+)+$','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','6uzeBic','1571488xVNdXt','6iURUcG','maka\x20{generate,\x20g}:{kit}\x20<name>','6234389KILRoU','614575zmXwzH','12sNMWpd','toString','8584686HcYjTa','6390ZQrzIQ','maka\x20g:kit','constructor','8188260AWMpRJ','create','611766kEKWVi','search'];a125c=function(){return i;};return a125c();}export default KitGen;
@@ -1 +1 @@
1
- function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0xc8;var f=c[d];return f;},a126d(a,b);}(function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(0xc9))/0x1+parseInt(f(0xd2))/0x2+-parseInt(f(0xca))/0x3*(-parseInt(f(0xcf))/0x4)+parseInt(f(0xc8))/0x5*(parseInt(f(0xd0))/0x6)+-parseInt(f(0xcc))/0x7+parseInt(f(0xce))/0x8+-parseInt(f(0xd5))/0x9*(parseInt(f(0xd3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x1af4d));function a126c(){var i=['247332kLCZwG','toString','226464QgUpLK','(((.+)+)+)+$','1088872ELsLmm','4UVDGxb','6RSGbJC','search','174640zWITEK','1464670gduQvk','apply','9BPbUyN','135155oBKsMv','43672kFAYWC'];a126c=function(){return i;};return a126c();}var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a[h(0xcb)]()['search'](h(0xcd))[h(0xcb)]()['constructor'](a126a)[h(0xd1)](h(0xcd));});a126a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(0xbc))/0x1+parseInt(f(0xbe))/0x2+-parseInt(f(0xbd))/0x3+-parseInt(f(0xb7))/0x4+-parseInt(f(0xbf))/0x5*(-parseInt(f(0xc0))/0x6)+-parseInt(f(0xb8))/0x7+parseInt(f(0xbb))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x2d136));function a126c(){var i=['339327tYXVNk','728748uhkKyC','431912Nnnhea','909785gzvKue','6toxFQi','apply','(((.+)+)+)+$','constructor','787360lpKCxe','1515745vcSOHw','toString','search','6258680uORpGp'];a126c=function(){return i;};return a126c();}var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0xc1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a[h(0xb9)]()[h(0xba)](h(0xb5))[h(0xb9)]()[h(0xb6)](a126a)[h(0xba)]('(((.+)+)+)+$');});a126a();import'./mui.generator.js';function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0xb5;var f=c[d];return f;},a126d(a,b);}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a127K=a127d;(function(a,b){const I=a127d,c=a();while(!![]){try{const d=parseInt(I(0xdf))/0x1+parseInt(I(0x109))/0x2+-parseInt(I(0x114))/0x3*(-parseInt(I(0xe6))/0x4)+parseInt(I(0xed))/0x5*(parseInt(I(0xff))/0x6)+-parseInt(I(0xdd))/0x7*(parseInt(I(0xf1))/0x8)+parseInt(I(0xe3))/0x9+-parseInt(I(0xf4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xee75e));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const J=a127d;return a127a[J(0xfa)]()[J(0xf7)](J(0x10c))[J(0xfa)]()[J(0x103)](a127a)[J(0xf7)](J(0x10c));});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';import a127f from'./mui.generator.js';function a127c(){const N=['layouts','engines','kit/mui/auth/register/','669080QGWCxc','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','kit/mui/auth/forgot-password/','15707920ALhDGF','register','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','search','AuthContext','Meteor\x20Accounts','toString','kit:auth:provider','/imports/startup/client/authentication-provider','kit:auth:meteor','basic-forgot-password-page','33294pFTUDr','processAndRunGenerator','injectTemplateModule','react','constructor','logout','basic-register-page','basic-password-reset-page','template','findProjectDirectory','917994MvbeJG','appName','split','(((.+)+)+)+$','MATERIAL','force','basic-logout-page','error','baseDir','meteor','reset-password/:token','18714RexKxl','injectImport','kit/mui/auth/login/','pathFromApp','ssr','route','authType','kit/mui/auth/password-reset/','log','77xMdrhu','dir','32753QCIsKX','Cleaning\x20up...','.js','kit/mui/auth/logout/','12986190lCKYav','/imports/ui/','maka\x20g:k:m:a','652bbktgF','Custom\x20(roll\x20your\x20own)','/imports/ui/pages/auth','/imports/startup/lib/authentication-provider','REACT','auth','custom','465NKmTQG'];a127c=function(){return N;};return a127c();}import{kebabCase,capitalCase}from'change-case';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xd5;let f=c[d];return f;},a127d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a127K(0xeb),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','shortDesc':a127K(0xf2),'validOpts':[a127K(0xee),a127K(0x10e)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127K(0x10d)],'client':ClientEngines[a127K(0xea)]},'examples':['maka\x20generate:kit:mui:auth',a127K(0xe5)],'description':a127K(0xf6)},async function(a,b){const L=a127K;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[L(0x10e)]||![],h=d[L(0x108)](),i=await Actions['select']({'name':L(0xda),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':L(0xf9),'value':L(0x112)},{'name':L(0xe7),'value':L(0xec)}]}),j='basic-login-page',k=L(0x10f),l=L(0x105),m=L(0x106),n=L(0xfe),o=b[L(0x111)]?L(0xe4)+b[L(0x111)]:L(0xe8),p=f[L(0xd7)]({'pathParts':[o,b[L(0xde)],kebabCase(j),kebabCase(j)]}),q=f[L(0xd7)]({'pathParts':[o,b[L(0xde)],kebabCase(k),kebabCase(k)]}),r=f[L(0xd7)]({'pathParts':[o,b['dir'],kebabCase(l),kebabCase(l)]}),s=f['pathFromApp']({'pathParts':[o,b[L(0xde)],kebabCase(m),kebabCase(m)]}),t=f[L(0xd7)]({'pathParts':[o,b[L(0xde)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[L(0x10a)])};await f[L(0x107)]({'srcPath':L(0xd6)+j+L(0xe1),'destPath':p+L(0xe1),'framework':L(0x102),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x107)]({'srcPath':L(0xe2)+k+L(0xe1),'destPath':q+L(0xe1),'framework':L(0x102),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x107)]({'srcPath':L(0xf0)+l+L(0xe1),'destPath':r+'.js','framework':L(0x102),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x107)]({'srcPath':L(0xdb)+m+L(0xe1),'destPath':s+'.js','framework':L(0x102),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':L(0xf3)+n+L(0xe1),'destPath':t+'.js','framework':'react','context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[L(0xde)]+'/'+j+'/'+j;await f[L(0x101)](j,c,v);const w=''+o+b['dir']+'/'+k+'/'+k;await f[L(0x101)](k,c,w);const x=''+o+b['dir']+'/'+l+'/'+l;await f['injectTemplateModule'](l,c,x);const y=''+o+b[L(0xde)]+'/'+m+'/'+m;await f[L(0x101)](m,c,y);const z=''+o+b[L(0xde)]+'/'+n+'/'+n;await f[L(0x101)](n,c,z),await a127e[L(0x100)](L(0xd9),['basic-login-page'],{'route':'login','cwd':h,'config':c}),await a127e['processAndRunGenerator'](L(0xd9),[L(0x10f)],{'route':L(0x104),'private':!![],'cwd':h,'config':c}),await a127e[L(0x100)]('route',[L(0x105)],{'route':L(0xf5),'cwd':h,'config':c}),await a127e[L(0x100)](L(0xd9),[L(0x106)],{'route':L(0x113),'cwd':h,'config':c}),await a127e[L(0x100)](L(0xd9),[L(0xfe)],{'route':'forgot-password','cwd':h,'config':c});i==='meteor'&&await a127e[L(0x100)](L(0xfd),[],{'force':g,'cwd':h,'config':c});i===L(0xec)&&await a127e[L(0x100)](L(0xfb),[],{'force':g,'cwd':h,'config':c});const A=c[L(0xef)][L(0xd8)]===L(0x112),B=c[L(0xef)]['js'],C=f[L(0xd7)]({'pathParts':v['split']('/')});await f['injectImport']({'filePath':C+'.'+B,'importName':L(0xf8),'modulePath':A?L(0xe9):L(0xfc),'isNamedExport':!![]});const D=f[L(0xd7)]({'pathParts':w[L(0x10b)]('/')});await f[L(0xd5)]({'filePath':D+'.'+B,'importName':L(0xf8),'modulePath':A?L(0xe9):L(0xfc),'isNamedExport':!![]});const E=f[L(0xd7)]({'pathParts':x[L(0x10b)]('/')});await f['injectImport']({'filePath':E+'.'+B,'importName':L(0xf8),'modulePath':A?L(0xe9):L(0xfc),'isNamedExport':!![]});const F=f[L(0xd7)]({'pathParts':y[L(0x10b)]('/')});await f[L(0xd5)]({'filePath':F+'.'+B,'importName':L(0xf8),'modulePath':A?L(0xe9):L(0xfc),'isNamedExport':!![]});const G=f['pathFromApp']({'pathParts':z[L(0x10b)]('/')});await f['injectImport']({'filePath':G+'.'+B,'importName':L(0xf8),'modulePath':A?L(0xe9):L(0xfc),'isNamedExport':!![]});}catch(H){Log[L(0x110)](H);}},async function(){const M=a127K;console[M(0xdc)](M(0xe0));},a127f);export default a127f;
1
+ const a127K=a127d;function a127c(){const N=['(((.+)+)+)+$','basic-login-page','error','force','3987770TETBLH','maka\x20generate:kit:mui:auth','layouts','basic-register-page','meteor','3155901csQXvQ','4BkYQxV','REACT','forgot-password','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','processAndRunGenerator','.js','ssr','36UNKeQC','MATERIAL','logout','18akZvTb','constructor','toString','appName','pathFromApp','auth','Cleaning\x20up...','injectImport','custom','dir','AuthContext','Meteor\x20Accounts','kit/mui/auth/register/','template','203594gFjRoy','kit/mui/auth/logout/','1570135xGjNel','search','maka\x20g:k:m:a','baseDir','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','kit/mui/auth/password-reset/','/imports/startup/lib/authentication-provider','2174228mvshHR','react','kit:auth:provider','3431854LcpBkJ','basic-logout-page','basic-password-reset-page','engines','Custom\x20(roll\x20your\x20own)','exit','login','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','8322432hVPWAd','basic-forgot-password-page','/imports/ui/','reset-password/:token','route','kit/mui/auth/login/','split','/imports/startup/client/authentication-provider','injectTemplateModule','findProjectDirectory','kit:auth:meteor'];a127c=function(){return N;};return a127c();}(function(a,b){const I=a127d,c=a();while(!![]){try{const d=-parseInt(I(0x18e))/0x1+-parseInt(I(0x19a))/0x2+-parseInt(I(0x1b6))/0x3*(-parseInt(I(0x1b7))/0x4)+-parseInt(I(0x190))/0x5*(-parseInt(I(0x1c1))/0x6)+parseInt(I(0x197))/0x7+-parseInt(I(0x1a2))/0x8+-parseInt(I(0x1be))/0x9*(-parseInt(I(0x1b1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xe579f));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const J=a127d;return a127a['toString']()[J(0x191)]('(((.+)+)+)+$')[J(0x182)]()[J(0x1c2)](a127a)[J(0x191)](J(0x1ad));});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';import a127f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x182;let f=c[d];return f;},a127d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a127K(0x185),'aliases':['a'],'usage':a127K(0x194),'shortDesc':a127K(0x1ba),'validOpts':[a127K(0x1b3),a127K(0x1b0)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127K(0x1bf)],'client':ClientEngines[a127K(0x1b8)]},'examples':[a127K(0x1b2),a127K(0x192)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20'},async function(a,b){const L=a127K;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[L(0x1b0)]||![],h=d[L(0x1ab)](),i=await Actions['select']({'name':'authType','message':L(0x1a1),'choices':[{'name':L(0x18b),'value':L(0x1b5)},{'name':L(0x19e),'value':'custom'}]}),j=L(0x1ae),k=L(0x19b),l='basic-register-page',m=L(0x19c),n=L(0x1a3),o=b[L(0x193)]?L(0x1a4)+b[L(0x193)]:'/imports/ui/pages/auth',p=f['pathFromApp']({'pathParts':[o,b['dir'],kebabCase(j),kebabCase(j)]}),q=f[L(0x184)]({'pathParts':[o,b[L(0x189)],kebabCase(k),kebabCase(k)]}),r=f[L(0x184)]({'pathParts':[o,b[L(0x189)],kebabCase(l),kebabCase(l)]}),s=f['pathFromApp']({'pathParts':[o,b['dir'],kebabCase(m),kebabCase(m)]}),t=f[L(0x184)]({'pathParts':[o,b[L(0x189)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[L(0x183)])};await f['template']({'srcPath':L(0x1a7)+j+L(0x1bc),'destPath':p+L(0x1bc),'framework':L(0x198),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x18d)]({'srcPath':L(0x18f)+k+L(0x1bc),'destPath':q+L(0x1bc),'framework':L(0x198),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x18d)]({'srcPath':L(0x18c)+l+'.js','destPath':r+L(0x1bc),'framework':L(0x198),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x18d)]({'srcPath':L(0x195)+m+L(0x1bc),'destPath':s+L(0x1bc),'framework':L(0x198),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x18d)]({'srcPath':'kit/mui/auth/forgot-password/'+n+L(0x1bc),'destPath':t+L(0x1bc),'framework':L(0x198),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[L(0x189)]+'/'+j+'/'+j;await f[L(0x1aa)](j,c,v);const w=''+o+b[L(0x189)]+'/'+k+'/'+k;await f[L(0x1aa)](k,c,w);const x=''+o+b[L(0x189)]+'/'+l+'/'+l;await f[L(0x1aa)](l,c,x);const y=''+o+b['dir']+'/'+m+'/'+m;await f[L(0x1aa)](m,c,y);const z=''+o+b['dir']+'/'+n+'/'+n;await f[L(0x1aa)](n,c,z),await a127e[L(0x1bb)](L(0x1a6),[L(0x1ae)],{'route':L(0x1a0),'cwd':h,'config':c}),await a127e[L(0x1bb)](L(0x1a6),[L(0x19b)],{'route':L(0x1c0),'private':!![],'cwd':h,'config':c}),await a127e[L(0x1bb)](L(0x1a6),[L(0x1b4)],{'route':'register','cwd':h,'config':c}),await a127e[L(0x1bb)](L(0x1a6),[L(0x19c)],{'route':L(0x1a5),'cwd':h,'config':c}),await a127e['processAndRunGenerator'](L(0x1a6),['basic-forgot-password-page'],{'route':L(0x1b9),'cwd':h,'config':c});i===L(0x1b5)&&await a127e['processAndRunGenerator'](L(0x1ac),[],{'force':g,'cwd':h,'config':c});i===L(0x188)&&await a127e[L(0x1bb)](L(0x199),[],{'force':g,'cwd':h,'config':c});const A=c[L(0x19d)][L(0x1bd)]===L(0x1b5),B=c['engines']['js'],C=f[L(0x184)]({'pathParts':v[L(0x1a8)]('/')});await f[L(0x187)]({'filePath':C+'.'+B,'importName':L(0x18a),'modulePath':A?L(0x196):L(0x1a9),'isNamedExport':!![]});const D=f[L(0x184)]({'pathParts':w[L(0x1a8)]('/')});await f[L(0x187)]({'filePath':D+'.'+B,'importName':L(0x18a),'modulePath':A?L(0x196):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=f[L(0x184)]({'pathParts':x[L(0x1a8)]('/')});await f['injectImport']({'filePath':E+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':L(0x1a9),'isNamedExport':!![]});const F=f[L(0x184)]({'pathParts':y[L(0x1a8)]('/')});await f[L(0x187)]({'filePath':F+'.'+B,'importName':L(0x18a),'modulePath':A?L(0x196):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const G=f[L(0x184)]({'pathParts':z[L(0x1a8)]('/')});await f[L(0x187)]({'filePath':G+'.'+B,'importName':L(0x18a),'modulePath':A?L(0x196):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(H){Log[L(0x1af)](H),process[L(0x19f)](0x1);}},async function(){const M=a127K;console['log'](M(0x186));},a127f);export default a127f;
@@ -1 +1 @@
1
- const a128H=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d=parseInt(E(0xb4))/0x1+parseInt(E(0xbf))/0x2*(parseInt(E(0xc0))/0x3)+parseInt(E(0xce))/0x4*(-parseInt(E(0x9f))/0x5)+-parseInt(E(0xcc))/0x6*(parseInt(E(0x90))/0x7)+-parseInt(E(0xc5))/0x8+parseInt(E(0xb1))/0x9*(-parseInt(E(0xb7))/0xa)+-parseInt(E(0xd1))/0xb*(-parseInt(E(0xb0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x53249));function a128c(){const K=['.js','1524504uksojk','<div\x20id=\x22','error','<Outlet\x20/>','-hook\x22>','baseDir','pathFromApp','161004iNfVIj','/imports/ui/components','76WxPNSz','join','@mui/material/Container','113663mFmiKM','layouts','map','<Outlet/>','basic-drawer','\x20/>\x0a','Container','7Mealzz','/imports/startup/lib/templates','injectAroundString','dir','react','frame','maka\x20g:k:m:f','MATERIAL','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','template','/imports/startup/client/templates','imports','apply','maka\x20generate:kit:mui:frame','checkMeteorPackage','44855BtUwmM','injectIntoFile','kit/mui/frame/footers/','ssr','kit/mui/frame/app-bars/','meteor','constructor','engines','toString','log','findAppDirectory','basic-sticky-footer','app-tests','checkbox','session','injectImport','REACT','96NjUwZB','243531tuGdES','force','</div>','321497qHXgPc','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','(((.+)+)+)+$','110GHcdxa','No\x20layouts\x20selected','appName','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-app-bar','search','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','maka:react-tracker','146lLvueH','25557ygxOmD','length','injectTemplateModule','getFiles'];a128c=function(){return K;};return a128c();}const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a128d;if(c){const e=c[F(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const G=a128d;return a128a[G(0xa7)]()[G(0xbc)](G(0xb6))[G(0xa7)]()[G(0xa5)](a128a)[G(0xbc)]('(((.+)+)+)+$');});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'path';import a128f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x8c;let f=c[d];return f;},a128d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a128H(0x95),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':a128H(0x98),'validOpts':[a128H(0xd2),'baseDir','dir',a128H(0xb2)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a128H(0x97)],'client':ClientEngines[a128H(0xaf)]},'examples':[a128H(0x9d),a128H(0x96)],'description':a128H(0xba)},async function(a,b){const I=a128H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0xb2)]||![],i=I(0xbb),j=I(0x8d),k=I(0xaa),l=c[I(0xa6)][I(0xa2)]===I(0xa4);await f[I(0x9e)]([I(0xad),I(0xbe)],{'shouldInstall':!![]});const m=d[I(0xa9)](),n=a128e['join'](m,I(0x9b),'ui','layouts'),o=d['getDirectories'](n),p=o[I(0xd3)](z=>({'name':z,'value':z})),q=await Actions[I(0xac)]({'message':I(0xbd),'name':'layouts','choices':p});if(q[I(0xc1)]===0x0){Log['error'](I(0xb8));return;}const r=b[I(0xca)]?'/imports/ui/'+b[I(0xca)]:I(0xcd),s=g['pathFromApp']({'pathParts':[r,b[I(0x93)],kebabCase(i),kebabCase(i)]}),t=g[I(0xcb)]({'pathParts':[r,b['dir'],kebabCase(j),kebabCase(j)]}),u=g[I(0xcb)]({'pathParts':[r,b[I(0x93)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0xb9)])};await g[I(0x99)]({'srcPath':I(0xa3)+i+I(0xc4),'destPath':s+'.js','framework':I(0x94),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x99)]({'srcPath':'kit/mui/frame/drawers/'+j+I(0xc4),'destPath':t+I(0xc4),'framework':I(0x94),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x99)]({'srcPath':I(0xa1)+k+I(0xc4),'destPath':u+I(0xc4),'framework':I(0x94),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b['dir']+'/'+i+'/'+i;await g[I(0xc2)](i,c,w);const x=''+r+b[I(0x93)]+'/'+j+'/'+j;await g['injectTemplateModule'](j,c,x);const y=''+r+b['dir']+'/'+k+'/'+k;await g[I(0xc2)](k,c,y);for(const z of q){const A=d[I(0xc3)](a128e[I(0xcf)](n,z),{'extensions':['jsx','tsx'],'omit':[I(0xab),'tests','test']});for(const B of A){const C=a128e[I(0xcf)](n,z,B);await g[I(0xae)]({'filePath':C,'importName':'Box','modulePath':'@mui/material/Box','isNamedExport':![]}),await g[I(0xae)]({'filePath':C,'importName':I(0x8f),'modulePath':I(0xd0),'isNamedExport':![]}),await g[I(0xae)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?'/imports/startup/lib/templates':I(0x9a),'isNamedExport':!![]}),await g[I(0xa0)]({'filePath':C,'content':'<'+pascalCase(i)+I(0x8e),'begin':['<div\x20id=\x22'+z+'\x22>','<div\x20id=\x22'+z+'-hook\x22>'],'end':['<Outlet/>',I(0xc8)]}),await g[I(0xae)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?I(0x91):I(0x9a),'isNamedExport':!![]}),await g[I(0xa0)]({'filePath':C,'content':'<'+pascalCase(j)+I(0x8e),'begin':[I(0xc6)+z+'\x22>','<div\x20id=\x22'+z+I(0xc9)],'end':[I(0x8c),I(0xc8)]}),await g[I(0xa0)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x8e),'begin':[I(0x8c),'<Outlet\x20/>'],'end':[I(0xb3)]}),await g[I(0xae)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0x91):'/imports/startup/client/templates','isNamedExport':!![]}),await g[I(0x92)]({'filePath':C,'aboveContent':'<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','belowContent':I(0xb5),'targetString':[I(0x8c),I(0xc8)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0xc7)](D);}},async function(){const J=a128H;console[J(0xa8)]('Cleaning\x20up...');},a128f);
1
+ function a128c(){const K=['.js','876UPQBCh','/imports/ui/components','create','Container','tsx','checkMeteorPackage','kit/mui/frame/app-bars/','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','<Outlet\x20/>','log','imports','injectTemplateModule','injectIntoFile','toString','12rjZwEU','@mui/material/Container','pathFromApp','(((.+)+)+)+$','engines','3149159LSLCoq','5784CpIzQs','697455biNGZY','basic-sticky-footer','/imports/startup/lib/templates','injectAroundString','93HmCneY','react','maka\x20generate:kit:mui:frame','join','Cleaning\x20up...','<div\x20id=\x22','@mui/material/Box','appName','REACT','jsx','775496kOhfKI','14VzxbGc','search','maka\x20g:k:m:f','maka:react-tracker','session','2362698QjDFRT','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','</div>','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','MATERIAL','<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>','60tudjmA','map','injectImport','length','meteor','checkbox','/imports/ui/','template','getFiles','error','ssr','<Outlet/>','force','layouts','basic-app-bar','-hook\x22>','46476vRZqZm','dir','80WyZFAq','apply','No\x20layouts\x20selected','baseDir','kit/mui/frame/drawers/','test','tests','15862byzIyw','constructor','/imports/startup/client/templates','\x20/>\x0a'];a128c=function(){return K;};return a128c();}const a128H=a128d;function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x154;let f=c[d];return f;},a128d(a,b);}(function(a,b){const E=a128d,c=a();while(!![]){try{const d=-parseInt(E(0x17b))/0x1*(-parseInt(E(0x15d))/0x2)+-parseInt(E(0x176))/0x3*(parseInt(E(0x162))/0x4)+-parseInt(E(0x156))/0x5*(parseInt(E(0x154))/0x6)+parseInt(E(0x186))/0x7*(-parseInt(E(0x185))/0x8)+parseInt(E(0x18b))/0x9+-parseInt(E(0x191))/0xa*(-parseInt(E(0x177))/0xb)+-parseInt(E(0x170))/0xc*(parseInt(E(0x175))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x613aa));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a128d;if(c){const e=c[F(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const G=a128d;return a128a[G(0x16f)]()[G(0x187)](G(0x173))['toString']()[G(0x15e)](a128a)[G(0x187)](G(0x173));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'path';import a128f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128H(0x164)]({'name':'frame','aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':a128H(0x18c),'validOpts':[a128H(0x19e),a128H(0x159),'dir',a128H(0x19d)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a128H(0x18f)],'client':ClientEngines[a128H(0x183)]},'examples':[a128H(0x17d),a128H(0x188)],'description':a128H(0x18e)},async function(a,b){const I=a128H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x19d)]||![],i=I(0x19f),j='basic-drawer',k=I(0x178),l=c[I(0x174)][I(0x19b)]===I(0x195);await f[I(0x167)]([I(0x18a),I(0x189)],{'shouldInstall':!![]});const m=d['findAppDirectory'](),n=a128e[I(0x17e)](m,I(0x16c),'ui','layouts'),o=d['getDirectories'](n),p=o[I(0x192)](z=>({'name':z,'value':z})),q=await Actions[I(0x196)]({'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','name':I(0x19e),'choices':p});if(q[I(0x194)]===0x0){Log[I(0x19a)](I(0x158));return;}const r=b[I(0x159)]?I(0x197)+b[I(0x159)]:I(0x163),s=g[I(0x172)]({'pathParts':[r,b[I(0x155)],kebabCase(i),kebabCase(i)]}),t=g[I(0x172)]({'pathParts':[r,b[I(0x155)],kebabCase(j),kebabCase(j)]}),u=g[I(0x172)]({'pathParts':[r,b[I(0x155)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x182)])};await g[I(0x198)]({'srcPath':I(0x168)+i+I(0x161),'destPath':s+I(0x161),'framework':I(0x17c),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':I(0x15a)+j+'.js','destPath':t+I(0x161),'framework':I(0x17c),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':'kit/mui/frame/footers/'+k+I(0x161),'destPath':u+I(0x161),'framework':I(0x17c),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0x155)]+'/'+i+'/'+i;await g['injectTemplateModule'](i,c,w);const x=''+r+b[I(0x155)]+'/'+j+'/'+j;await g[I(0x16d)](j,c,x);const y=''+r+b[I(0x155)]+'/'+k+'/'+k;await g[I(0x16d)](k,c,y);for(const z of q){const A=d[I(0x199)](a128e[I(0x17e)](n,z),{'extensions':[I(0x184),I(0x166)],'omit':['app-tests',I(0x15c),I(0x15b)]});for(const B of A){const C=a128e['join'](n,z,B);await g[I(0x193)]({'filePath':C,'importName':'Box','modulePath':I(0x181),'isNamedExport':![]}),await g[I(0x193)]({'filePath':C,'importName':I(0x165),'modulePath':I(0x171),'isNamedExport':![]}),await g['injectImport']({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0x179):I(0x15f),'isNamedExport':!![]}),await g[I(0x16e)]({'filePath':C,'content':'<'+pascalCase(i)+I(0x160),'begin':[I(0x180)+z+'\x22>',I(0x180)+z+'-hook\x22>'],'end':['<Outlet/>','<Outlet\x20/>']}),await g[I(0x193)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?I(0x179):I(0x15f),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(j)+I(0x160),'begin':['<div\x20id=\x22'+z+'\x22>',I(0x180)+z+I(0x1a0)],'end':[I(0x19c),'<Outlet\x20/>']}),await g[I(0x16e)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x160),'begin':[I(0x19c),I(0x16a)],'end':[I(0x18d)]}),await g[I(0x193)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0x179):I(0x15f),'isNamedExport':!![]}),await g[I(0x17a)]({'filePath':C,'aboveContent':I(0x190),'belowContent':I(0x169),'targetString':[I(0x19c),'<Outlet\x20/>'],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x19a)](D);}},async function(){const J=a128H;console[J(0x16b)](J(0x17f));},a128f);
@@ -1 +1 @@
1
- const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0x16f))/0x1*(parseInt(g(0x16c))/0x2)+-parseInt(g(0x159))/0x3+parseInt(g(0x167))/0x4+parseInt(g(0x161))/0x5+parseInt(g(0x171))/0x6*(parseInt(g(0x15a))/0x7)+parseInt(g(0x163))/0x8*(parseInt(g(0x15e))/0x9)+-parseInt(g(0x16a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xf0e6f));function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x152;let f=c[d];return f;},a129d(a,b);}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a[i(0x152)]()['search'](i(0x16e))[i(0x152)]()[i(0x169)](a129a)['search']('(((.+)+)+)+$');});a129a();function a129c(){const l=['includes','2GjlaSV','maka\x20g:kit:m','(((.+)+)+)+$','395990GKiWKn','processAndRunGenerator','12neKWmr','\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','notice','kitChoices','cfg','toString','Header,\x20Footer,\x20and\x20Drawer','frame','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','kit:mui:auth','info','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','1371831xOvSWg','6745697bvoRMe','fsi','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','No\x20MUI\x20kits\x20selected.\x20Exiting.','117mhUzFu','length','mui','2352600RFOLAA','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','53912rrCTAh','Material-UI\x20Kit','auth','apply','1249708JFIXQi','getMakaProjectConfig','constructor','17498740oyWYfw'];a129c=function(){return l;};return a129c();}import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';const MuiGen=Generator['create']({'name':a129j(0x160),'aliases':['m'],'usage':a129j(0x158),'resourceNameRequired':![],'shortDesc':a129j(0x164),'validOpts':[''],'isPro':!![],'examples':[a129j(0x16d)]},async function(){const k=a129j;Log[k(0x157)](k(0x162)),Log[k(0x173)](k(0x172));const a=await Actions['checkbox']({'message':k(0x155),'name':k(0x174),'choices':[{'name':k(0x153),'value':k(0x154)},{'name':k(0x15c),'value':k(0x165)}]}),b=this[k(0x15b)]['findProjectDirectory'](),c=this[k(0x175)][k(0x168)]();a[k(0x16b)](k(0x154))&&await a129e[k(0x170)]('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x165))&&await a129e['processAndRunGenerator'](k(0x156),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x15f)]===0x0){Log[k(0x157)](k(0x15d));return;}},async function(){},a129f);export default MuiGen;
1
+ const a129i=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0x115))/0x1*(parseInt(g(0x129))/0x2)+-parseInt(g(0x11e))/0x3*(-parseInt(g(0x12c))/0x4)+-parseInt(g(0x105))/0x5*(parseInt(g(0x12a))/0x6)+-parseInt(g(0x123))/0x7+-parseInt(g(0x10e))/0x8+-parseInt(g(0x11c))/0x9+parseInt(g(0x12b))/0xa*(parseInt(g(0x11b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xaee81));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 h=a129d;return a129a[h(0x109)]()[h(0x111)]('(((.+)+)+)+$')[h(0x109)]()[h(0x10a)](a129a)[h(0x111)](h(0x116));});a129a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a129c(){const k=['5NxEDfE','(((.+)+)+)+$','auth','info','maka\x20g:kit:m','length','55lsrZGZ','11383272myXEdv','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','3ChAZlP','Material-UI\x20Kit','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','\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','notice','168994HahDGd','error','includes','frame','create','getMakaProjectConfig','493226oEEDFW','2964OWHerJ','1622020wcVeuQ','4611412SankWX','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','680KniHsr','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','fsi','kit:mui:frame','toString','constructor','mui','kit:mui:auth','No\x20MUI\x20kits\x20selected.\x20Exiting.','8995016ErSAUf','checkbox','Header,\x20Footer,\x20and\x20Drawer','search','kitChoices','exit','processAndRunGenerator'];a129c=function(){return k;};return a129c();}function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x105;let f=c[d];return f;},a129d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';const MuiGen=Generator[a129i(0x127)]({'name':a129i(0x10b),'aliases':['m'],'usage':a129i(0x12d),'resourceNameRequired':![],'shortDesc':a129i(0x11f),'validOpts':[''],'isPro':!![],'examples':[a129i(0x119)]},async function(){const j=a129i;try{Log[j(0x118)](j(0x11d)),Log[j(0x122)](j(0x121));const a=await Actions[j(0x10f)]({'message':j(0x120),'name':j(0x112),'choices':[{'name':j(0x110),'value':j(0x126)},{'name':j(0x106),'value':j(0x117)}]}),b=this[j(0x107)]['findProjectDirectory'](),c=this['cfg'][j(0x128)]();a[j(0x125)](j(0x126))&&await a129e[j(0x114)](j(0x108),[],{'force':!![],'cwd':b,'config':c});a[j(0x125)](j(0x117))&&await a129e[j(0x114)](j(0x10c),[],{'force':!![],'cwd':b,'config':c});if(a[j(0x11a)]===0x0){Log[j(0x118)](j(0x10d));return;}}catch(d){Log[j(0x124)](d),process[j(0x113)](0x1);}},async function(){},a129f);export default MuiGen;
@@ -1 +1 @@
1
- const a130s=a130d;function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a130d(a,b);}(function(a,b){const p=a130d,c=a();while(!![]){try{const d=-parseInt(p(0x1cf))/0x1+parseInt(p(0x206))/0x2+-parseInt(p(0x200))/0x3*(-parseInt(p(0x1fa))/0x4)+parseInt(p(0x1f1))/0x5*(-parseInt(p(0x203))/0x6)+-parseInt(p(0x1d2))/0x7*(-parseInt(p(0x1f9))/0x8)+-parseInt(p(0x1d7))/0x9*(parseInt(p(0x1ee))/0xa)+parseInt(p(0x1d6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xc4bf2));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a130d;if(c){const e=c[q(0x1f2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const r=a130d;return a130a['toString']()[r(0x1e3)](r(0x1e7))[r(0x1d9)]()[r(0x1db)](a130a)[r(0x1e3)](r(0x1e7));});function a130c(){const u=['css','678854hCtDeH','606942gOmuOV','withTranslations','toString','test','constructor','relative','findProjectDirectory','/imports/ui/layouts','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','.app-tests.js','component/component.js','client','search','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','dir','findAppDirectory','(((.+)+)+)+$','import\x20\x27./','template','ssr','layout','warn','setTemplate','160ZtXdCw','features','template/template.css','5mVSULu','apply','checkNpmPackage','api','fileName','.css','resourceName','test/test.js','8WCCAJj','275924HVexMr','ramda','maka\x20g:layout\x20mobile/iPhone8','react','withHook','pathFromApp','66RDANbm','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','engines','3891090uKJtTH','installNpmPackage','.js','1024974HKtScY','226083QCNRMq','injectAtBeginningOfFile','string','4673879zaEPCh','create','Scaffolding\x20for\x20a\x20React\x20Layout.'];a130c=function(){return u;};return a130c();}a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator[a130s(0x1d3)]({'name':a130s(0x1eb),'aliases':aliases,'usage':a130s(0x1e4),'shortDesc':a130s(0x1d4),'validOpts':['withHook'],'mustBeInMakaProject':!![],'examples':[a130s(0x1fc),'maka\x20g:l\x20web/safari']},async function(a,b){const t=a130s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0x1de),i=d[t(0x1e6)](),j=g[t(0x1ff)]({'pathParts':[h,b[t(0x1e5)],kebabCase(b['resourceName']),kebabCase(b['resourceName'])]});typeof c['template']['test']===t(0x1d1)&&e[t(0x1ed)]('test',c['template'][t(0x1da)]);typeof c[t(0x1e9)][t(0x1d5)]==='string'&&e[t(0x1ed)](t(0x1d5),c[t(0x1e9)]['css']);typeof c[t(0x1e9)]['js']===t(0x1d1)&&e[t(0x1ed)]('js',c[t(0x1e9)]['js']);const k=b['_']?b['_'][0x0]['split'](':')[0x1]:![],l=b['_']&&aliases['includes'](k);l&&!f[t(0x1f3)]('ramda')&&(Log[t(0x1ec)](t(0x201)),f[t(0x204)](t(0x1fb),{'cwd':i}));if(l&&!f['checkNpmPackage'](t(0x1fd))){Log[t(0x1ec)](t(0x1df));return;}const m={'name':pascalCase(b[t(0x1f7)]),'myPath':a130e[t(0x1dc)](d[t(0x1dd)](),j),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[t(0x1f7)]),'camelCaseName':camelCase(b[t(0x1f7)]),'fileName':kebabCase(b[t(0x1f7)]),'graphql':c['engines']['graphql'],'features':c[t(0x1ef)],'client':c['engines'][t(0x1e2)],'api':c[t(0x202)][t(0x1f4)],'ssr':c[t(0x202)][t(0x1ea)],'test':c[t(0x202)][t(0x1da)],'theme':c[t(0x202)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0x1ef)][t(0x1d8)]};c[t(0x1ef)]?.['withHooks']||b[t(0x1fe)]?await g[t(0x1e9)]({'srcPath':'hook/hook.js','destPath':j+'.js','framework':t(0x1fd),'context':m,'config':c}):await g['template']({'srcPath':t(0x1e1),'destPath':j+t(0x205),'framework':t(0x1fd),'context':m,'config':c});c['engines']['test']!=='none'&&await g[t(0x1e9)]({'srcPath':t(0x1f8),'destPath':j+t(0x1e0),'framework':'react','context':m,'config':c});c['template'][t(0x1d5)]&&(await g['template']({'srcPath':t(0x1f0),'destPath':j+t(0x1f6),'context':Object['assign']({},m,{'className':kebabCase(b[t(0x1f7)])}),'config':c}),await g[t(0x1d0)]({'filePath':j+'.'+c[t(0x202)]['js'],'content':t(0x1e8)+m[t(0x1f5)]+'.'+c['engines'][t(0x1d5)]+'\x27;'}));const n=b[t(0x1e5)]?'/'+b[t(0x1e5)]+'/':'/',o=''+h+n+m[t(0x1f5)]+'/'+m['fileName'];await g['injectTemplateModule'](m['className'],c,o);});
1
+ const a130r=a130d;function a130c(){const t=['import\x20\x27./','42696ZSdZQO','setTemplate','template/template.css','778DGANZl','hook/hook.js','none','.css','engines','withHooks','injectTemplateModule','3771798ggMOXG','resourceName','.js','assign','12077769hqPlMK','(((.+)+)+)+$','split','/imports/ui/layouts','fileName','theme','pathFromApp','322YWgidD','maka\x20g:l\x20web/safari','dir','findAppDirectory','template','4762472ZKCdzq','1747kqZHaT','test/test.js','features','className','warn','string','maka\x20g:layout\x20mobile/iPhone8','.app-tests.js','component/component.js','create','10sxdown','search','css','withTranslations','1075SBmNTR','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','graphql','withHook','test','findProjectDirectory','api','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','constructor','react','installNpmPackage','1038762FBfmuS','checkNpmPackage','4744dTnlhx','relative'];a130c=function(){return t;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x10b;let f=c[d];return f;},a130d(a,b);}(function(a,b){const p=a130d,c=a();while(!![]){try{const d=-parseInt(p(0x12d))/0x1*(-parseInt(p(0x115))/0x2)+parseInt(p(0x11c))/0x3+parseInt(p(0x10f))/0x4*(-parseInt(p(0x13b))/0x5)+-parseInt(p(0x112))/0x6*(parseInt(p(0x127))/0x7)+parseInt(p(0x12c))/0x8+parseInt(p(0x10d))/0x9*(-parseInt(p(0x137))/0xa)+-parseInt(p(0x120))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xb3cb3));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 q=a130d;return a130a['toString']()[q(0x138)](q(0x121))['toString']()[q(0x143)](a130a)[q(0x138)]('(((.+)+)+)+$');});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator[a130r(0x136)]({'name':'layout','aliases':aliases,'usage':a130r(0x13c),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':['withHook'],'mustBeInMakaProject':!![],'examples':[a130r(0x133),a130r(0x128)]},async function(a,b){const s=a130r,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=s(0x123),i=d[s(0x12a)](),j=g[s(0x126)]({'pathParts':[h,b[s(0x129)],kebabCase(b['resourceName']),kebabCase(b[s(0x11d)])]});typeof c[s(0x12b)][s(0x13f)]===s(0x132)&&e[s(0x113)](s(0x13f),c['template']['test']);typeof c[s(0x12b)]['css']===s(0x132)&&e[s(0x113)]('css',c[s(0x12b)][s(0x139)]);typeof c[s(0x12b)]['js']==='string'&&e[s(0x113)]('js',c['template']['js']);const k=b['_']?b['_'][0x0][s(0x122)](':')[0x1]:![],l=b['_']&&aliases['includes'](k);l&&!f[s(0x10e)]('ramda')&&(Log[s(0x131)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),f[s(0x10c)]('ramda',{'cwd':i}));if(l&&!f[s(0x10e)](s(0x10b))){Log['warn'](s(0x142));return;}const m={'name':pascalCase(b[s(0x11d)]),'myPath':a130e[s(0x110)](d[s(0x140)](),j),'cssCaseName':kebabCase(b[s(0x11d)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[s(0x11d)]),'fileName':kebabCase(b['resourceName']),'graphql':c[s(0x119)][s(0x13d)],'features':c[s(0x12f)],'client':c[s(0x119)]['client'],'api':c[s(0x119)][s(0x141)],'ssr':c[s(0x119)]['ssr'],'test':c['engines']['test'],'theme':c['engines'][s(0x125)],'isComponent':![],'isLayout':!![],'withTranslations':c[s(0x12f)][s(0x13a)]};c['features']?.[s(0x11a)]||b[s(0x13e)]?await g[s(0x12b)]({'srcPath':s(0x116),'destPath':j+s(0x11e),'framework':s(0x10b),'context':m,'config':c}):await g[s(0x12b)]({'srcPath':s(0x135),'destPath':j+s(0x11e),'framework':s(0x10b),'context':m,'config':c});c[s(0x119)]['test']!==s(0x117)&&await g[s(0x12b)]({'srcPath':s(0x12e),'destPath':j+s(0x134),'framework':s(0x10b),'context':m,'config':c});c[s(0x12b)][s(0x139)]&&(await g[s(0x12b)]({'srcPath':s(0x114),'destPath':j+s(0x118),'context':Object[s(0x11f)]({},m,{'className':kebabCase(b[s(0x11d)])}),'config':c}),await g['injectAtBeginningOfFile']({'filePath':j+'.'+c['engines']['js'],'content':s(0x111)+m[s(0x124)]+'.'+c[s(0x119)][s(0x139)]+'\x27;'}));const n=b[s(0x129)]?'/'+b[s(0x129)]+'/':'/',o=''+h+n+m[s(0x124)]+'/'+m[s(0x124)];await g[s(0x11b)](m[s(0x130)],c,o);});
@@ -1 +1 @@
1
- const a131i=a131d;function a131c(){const j=['maka\x20g:route\x20todos/edit','apply','823960iFOcBb','591564xuJJZc','340196Yooakc','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:scaffold\x20todos','maka\x20g:dbc\x20geoserver\x20--type=pgsql','10680vIgxvm','search','2110500DonNNS','maka\x20g:api\x20trucks','247060Zmhnzp','(((.+)+)+)+$','maka\x20g:template\x20todos/todo_item','21qsDOlX','maka\x20g:package\x20package:name','48agkSdx','3LGmZsy','299947hNsYLf','generate','3987UfRkgW','20nDWvXe'];a131c=function(){return j;};return a131c();}(function(a,b){const f=a131d,c=a();while(!![]){try{const d=-parseInt(f(0x113))/0x1+parseInt(f(0x104))/0x2*(-parseInt(f(0x112))/0x3)+-parseInt(f(0x10a))/0x4+-parseInt(f(0x116))/0x5*(-parseInt(f(0x11a))/0x6)+-parseInt(f(0x10f))/0x7*(-parseInt(f(0x119))/0x8)+-parseInt(f(0x115))/0x9*(-parseInt(f(0x108))/0xa)+-parseInt(f(0x10c))/0xb*(-parseInt(f(0x111))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x4196f));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a['toString']()[h(0x109)](h(0x10d))['toString']()['constructor'](a131a)[h(0x109)](h(0x10d));});a131a();import{Generator}from'../generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x104;let f=c[d];return f;},a131d(a,b);}const MakaGen=new Generator({'name':a131i(0x114),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a131i(0x105),'examples':['maka\x20generate:scaffold\x20todos',a131i(0x106),a131i(0x10e),a131i(0x110),a131i(0x117),a131i(0x10b),a131i(0x107)]},async function(){});export default MakaGen;
1
+ function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x183;let f=c[d];return f;},a131d(a,b);}const a131h=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=-parseInt(f(0x191))/0x1+parseInt(f(0x183))/0x2+-parseInt(f(0x18b))/0x3*(parseInt(f(0x193))/0x4)+parseInt(f(0x189))/0x5+-parseInt(f(0x18a))/0x6*(parseInt(f(0x190))/0x7)+-parseInt(f(0x186))/0x8*(-parseInt(f(0x18f))/0x9)+-parseInt(f(0x18d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x9a450));const a131b=(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;};}()),a131a=a131b(this,function(){const g=a131d;return a131a['toString']()[g(0x18e)](g(0x184))[g(0x194)]()['constructor'](a131a)[g(0x18e)]('(((.+)+)+)+$');});a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a131h(0x195),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a131h(0x18c),a131h(0x192),a131h(0x185),'maka\x20g:package\x20package:name',a131h(0x188),a131h(0x187),a131h(0x196)]},async function(){});export default MakaGen;function a131c(){const i=['maka\x20g:template\x20todos/todo_item','880208eDURfw','maka\x20g:api\x20trucks','maka\x20g:route\x20todos/edit','3227400uvYhmT','5910ejreoj','3XVYuNM','maka\x20generate:scaffold\x20todos','2591840LTekoW','search','27WMaJuN','1155cYkRfI','147448SbnEwF','maka\x20g:scaffold\x20todos','1438876PHQesU','toString','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:dbc\x20geoserver\x20--type=pgsql','1170412asgiqM','(((.+)+)+)+$'];a131c=function(){return i;};return a131c();}
@@ -1 +1 @@
1
- const a132m=a132d;function a132c(){const o=['-rpc-method.','toString','import\x20\x27./methods','2182869KKcgzX','injectAtEndOfFile','92958heQkuS','267288iPdZFC','-rpc-method\x27;','checkMeteorPackage','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','constructor','610599RrZjQw','4igKPSc','scaffold','search','create','maka\x20g:method\x20todos','8ZzJXvC','imports','pkg','appPathPrefix','462682ZkBGCQ','error','maka:check','engines','methods','template','resourceName','3933tAFiQz','1CgXOsx','ddp-rate-limiter','index.','(((.+)+)+)+$','maka\x20{generate,\x20g}:{method,\x20m}\x20name','projectConfig','dir','55gkSIsP','pathFromApp','110hCHchV','startup','989156ofCivA','6070siVfZU'];a132c=function(){return o;};return a132c();}(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x1ca))/0x1*(-parseInt(k(0x1c2))/0x2)+-parseInt(k(0x1b8))/0x3*(-parseInt(k(0x1b9))/0x4)+-parseInt(k(0x1a7))/0x5*(-parseInt(k(0x1b2))/0x6)+-parseInt(k(0x1ab))/0x7*(parseInt(k(0x1be))/0x8)+-parseInt(k(0x1c9))/0x9*(parseInt(k(0x1ac))/0xa)+parseInt(k(0x1a9))/0xb*(-parseInt(k(0x1b3))/0xc)+parseInt(k(0x1b0))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x2321f));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const l=a132d;return a132a[l(0x1ae)]()['search'](l(0x1a3))[l(0x1ae)]()[l(0x1b7)](a132a)[l(0x1bb)]('(((.+)+)+)+$');});a132a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a132d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a132m(0x1bc)]({'name':'method','aliases':['m'],'usage':a132m(0x1a4),'checkWhere':!![],'shortDesc':a132m(0x1b6),'validOpts':['dir'],'examples':[a132m(0x1bd)]},async function(a,b){const n=a132m;try{const c=this[n(0x1a5)],d=b[n(0x1a6)]?'/'+b['dir']+'/':'/',f=kebabCase(b[n(0x1c8)]),g={'name':b['resourceName'],'fileName':f,'className':pascalCase(b[n(0x1c8)]),'camelCase':camelCase(b[n(0x1c8)]),'noRename':!![]};let h='js';c[n(0x1c5)]['js']==='tsx'&&(h='ts');await this[n(0x1c0)][n(0x1b5)]([n(0x1c4),n(0x1cb),'mdg:validated-method'],{'shouldInstall':!![]}),await this[n(0x1ba)][n(0x1c7)]({'srcPath':'method/method.js','destPath':this[n(0x1ba)]['pathFromApp']({'pathParts':['imports',n(0x1aa),b[n(0x1c1)],n(0x1c6),d,f+n(0x1ad)+h]}),'context':g,'config':c});const i=this[n(0x1ba)][n(0x1a8)]({'pathParts':[n(0x1bf),'startup',b[n(0x1c1)],n(0x1cc)+c['engines']['js']]});await this[n(0x1ba)][n(0x1b1)]({'filePath':i,'content':n(0x1af)+d+f+n(0x1b4)});}catch(j){Log[n(0x1c3)](j);}});
1
+ const a132n=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=parseInt(k(0xcb))/0x1+-parseInt(k(0xe1))/0x2+-parseInt(k(0xdb))/0x3+-parseInt(k(0xdd))/0x4*(-parseInt(k(0xd2))/0x5)+-parseInt(k(0xc6))/0x6*(-parseInt(k(0xd0))/0x7)+-parseInt(k(0xe5))/0x8*(parseInt(k(0xc0))/0x9)+-parseInt(k(0xe2))/0xa*(-parseInt(k(0xce))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xa94f8));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0xcd)]()[m(0xda)](m(0xdc))['toString']()['constructor'](a132a)[m(0xda)]('(((.+)+)+)+$');});a132a();function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xc0;let f=c[d];return f;},a132d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':a132n(0xd9),'aliases':['m'],'usage':a132n(0xd6),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a132n(0xdf)],'examples':[a132n(0xc1)]},async function(a,b){const o=a132n;try{const c=this[o(0xd8)],d=b[o(0xdf)]?'/'+b[o(0xdf)]+'/':'/',f=kebabCase(b['resourceName']),g={'name':b[o(0xde)],'fileName':f,'className':pascalCase(b[o(0xde)]),'camelCase':camelCase(b[o(0xde)]),'noRename':!![]};let h='js';c[o(0xd3)]['js']===o(0xcc)&&(h='ts');await this[o(0xc8)]['checkMeteorPackage']([o(0xc5),o(0xc3),o(0xd4)],{'shouldInstall':!![]}),await this[o(0xc7)][o(0xcf)]({'srcPath':o(0xe6),'destPath':this[o(0xc7)]['pathFromApp']({'pathParts':['imports',o(0xe3),b[o(0xe0)],o(0xca),d,f+'-rpc-method.'+h]}),'context':g,'config':c});const i=this['scaffold'][o(0xc9)]({'pathParts':[o(0xc4),o(0xe3),b[o(0xe0)],o(0xc2)+c['engines']['js']]});await this[o(0xc7)][o(0xe7)]({'filePath':i,'content':o(0xd5)+d+f+o(0xd1)});}catch(j){Log[o(0xe4)](j);}});function a132c(){const p=['startup','error','6763928LenEhj','method/method.js','injectAtEndOfFile','9CUnDEM','maka\x20g:method\x20todos','index.','ddp-rate-limiter','imports','maka:check','6yKzkDq','scaffold','pkg','pathFromApp','methods','762917BHtSND','tsx','toString','1874917pjZxwC','template','2078692TjxJHD','-rpc-method\x27;','4841105KDqRSH','engines','mdg:validated-method','import\x20\x27./methods','maka\x20{generate,\x20g}:{method,\x20m}\x20name','apply','projectConfig','method','search','1821168jNqnGL','(((.+)+)+)+$','4Qmjxps','resourceName','dir','appPathPrefix','1127678hqBzKI','40rmLogb'];a132c=function(){return p;};return a132c();}
@@ -1 +1 @@
1
- const a133p=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0xc7))/0x1*(-parseInt(m(0xa8))/0x2)+-parseInt(m(0xbe))/0x3+parseInt(m(0xa2))/0x4+-parseInt(m(0xbc))/0x5*(-parseInt(m(0xca))/0x6)+parseInt(m(0xbb))/0x7+-parseInt(m(0xc4))/0x8+parseInt(m(0xce))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x274db));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0xb5)]()[o(0xc8)](o(0xc0))['toString']()['constructor'](a133a)[o(0xc8)](o(0xc0));});function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xa2;let f=c[d];return f;},a133d(a,b);}a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a133p(0xb0)]({'name':a133p(0xa6),'aliases':['p'],'usage':a133p(0xc5),'shortDesc':a133p(0xcb),'validOpts':['dir'],'examples':[a133p(0xbd)]},async function(a,b){const q=a133p,c=kebabCase(b[q(0xb1)]),d=b[q(0xac)]?'/'+b['dir']+'/':'/',e=this[q(0xb4)]['pathFromApp']({'pathParts':[q(0xaf),d,c]}),f=this[q(0xb4)][q(0xb2)]({'pathParts':[q(0xaf),d,c,'package.js']}),g=this[q(0xc6)],h={'name':kebabCase(b[q(0xb1)]),'myPath':a133e[q(0xb6)](this['fsi'][q(0xa4)](),e),'cssCaseName':kebabCase(b[q(0xb1)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xb1)]),'fileName':c,'client':g['engines']['client'],'graphql':g['engines'][q(0xc3)],'ssr':g[q(0xa3)][q(0xa9)],'isComponent':b[q(0xab)](q(0xb9)),'isLayout':b[q(0xab)](q(0xb7)),'isStore':b[q(0xab)](q(0xb8)),'features':g[q(0xbf)],'noRename':!![],'theme':g['engines']['theme']};await this[q(0xb4)][q(0xba)]({'srcPath':q(0xc2),'destPath':f,'context':h,'config':g}),h[q(0xae)]=![];const i=e+q(0xb3)+c+'.js';await this['scaffold']['template']({'srcPath':q(0xc1),'destPath':i,'context':h,'config':g});const j=[q(0xcd),q(0xad),q(0xaa),q(0xcc)];for(const k of j){const l=e+'/'+k+'/'+c+q(0xa5);await this[q(0xb4)][q(0xba)]({'srcPath':q(0xa7)+k+'/package.js','destPath':l,'context':h,'config':g});}});function a133c(){const r=['server','noRename','packages','create','resourceName','pathFromAppWithNoReWrite','/client/','scaffold','toString','relative','layout','store','component','template','320670DFMVkp','254455vHZBEH','maka\x20g:package\x20todos:package','810345QxqSSb','features','(((.+)+)+)+$','template/template.js','package/package.js','graphql','630776jwfoqz','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','projectConfig','9mXyKPg','search','apply','6VcXaSo','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','tests/server','lib','2165814BoELGB','890820oxUGpp','engines','findProjectDirectory','.js','package','package/','11134JSZOCl','ssr','tests/client','hasOwnProperty','dir'];a133c=function(){return r;};return a133c();}
1
+ const a133p=a133d;function a133c(){const r=['pathFromAppWithNoReWrite','(((.+)+)+)+$','11887490SkdHvB','features','template/template.js','lib','dir','engines','138WzoAPa','relative','172KoUItF','server','create','graphql','toString','package/package.js','template','resourceName','2986EGbyRB','2164158IomySv','tests/server','search','constructor','package/','tests/client','store','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','.js','projectConfig','1051815gbflir','2385584rDjXLW','53IoEOow','packages','theme','apply','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','package.js','124138DUALFG','scaffold','findProjectDirectory','hasOwnProperty','pathFromApp','7017SvQXzQ'];a133c=function(){return r;};return a133c();}(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0x91))/0x1*(parseInt(m(0xaf))/0x2)+parseInt(m(0x9c))/0x3*(parseInt(m(0xa7))/0x4)+-parseInt(m(0x8f))/0x5+parseInt(m(0xa5))/0x6*(-parseInt(m(0x97))/0x7)+-parseInt(m(0x90))/0x8+-parseInt(m(0xb0))/0x9+parseInt(m(0x9f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x33a5e));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0xab)]()[o(0xb2)](o(0x9e))[o(0xab)]()[o(0xb3)](a133a)['search'](o(0x9e));});function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x8f;let f=c[d];return f;},a133d(a,b);}a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a133p(0xa9)]({'name':'package','aliases':['p'],'usage':a133p(0xb7),'mustBeInMakaProject':!![],'shortDesc':a133p(0x95),'validOpts':[a133p(0xa3)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const q=a133p,c=kebabCase(b[q(0xae)]),d=b[q(0xa3)]?'/'+b['dir']+'/':'/',e=this['scaffold'][q(0x9b)]({'pathParts':['packages',d,c]}),f=this[q(0x98)][q(0x9d)]({'pathParts':[q(0x92),d,c,q(0x96)]}),g=this[q(0xb9)],h={'name':kebabCase(b[q(0xae)]),'myPath':a133e[q(0xa6)](this['fsi'][q(0x99)](),e),'cssCaseName':kebabCase(b[q(0xae)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xae)]),'fileName':c,'client':g[q(0xa4)]['client'],'graphql':g[q(0xa4)][q(0xaa)],'ssr':g['engines']['ssr'],'isComponent':b[q(0x9a)]('component'),'isLayout':b['hasOwnProperty']('layout'),'isStore':b['hasOwnProperty'](q(0xb6)),'features':g[q(0xa0)],'noRename':!![],'theme':g['engines'][q(0x93)]};await this[q(0x98)][q(0xad)]({'srcPath':q(0xac),'destPath':f,'context':h,'config':g}),h['noRename']=![];const i=e+'/client/'+c+q(0xb8);await this[q(0x98)][q(0xad)]({'srcPath':q(0xa1),'destPath':i,'context':h,'config':g});const j=[q(0xa2),q(0xa8),q(0xb5),q(0xb1)];for(const k of j){const l=e+'/'+k+'/'+c+q(0xb8);await this[q(0x98)]['template']({'srcPath':q(0xb4)+k+'/package.js','destPath':l,'context':h,'config':g});}});
@@ -1 +1 @@
1
- const a134u=a134d;(function(a,b){const r=a134d,c=a();while(!![]){try{const d=-parseInt(r(0x1ce))/0x1*(parseInt(r(0x1c1))/0x2)+-parseInt(r(0x1ec))/0x3+parseInt(r(0x1eb))/0x4*(-parseInt(r(0x1ba))/0x5)+-parseInt(r(0x1c7))/0x6*(parseInt(r(0x1e8))/0x7)+-parseInt(r(0x1f5))/0x8+parseInt(r(0x1fe))/0x9*(parseInt(r(0x1a3))/0xa)+parseInt(r(0x1f0))/0xb*(parseInt(r(0x1f2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xef8cc));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a134d;if(c){const e=c[s(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const t=a134d;return a134a[t(0x1d6)]()[t(0x1f7)](t(0x1b7))[t(0x1d6)]()[t(0x1fb)](a134a)['search'](t(0x1b7));});a134a();function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a134d(a,b);}import a134e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,kebabCase,pascalCase}from'change-case';function a134c(){const w=['join','component/component.js','withHooks','findAppDirectory','</Route>','.css','injectTemplateModule','Updating\x20npm\x20packages\x20...','ramda','error','template/template.html','test','graphql','<Route\x20path=\x22*\x22','(((.+)+)+)+$','apply','includes','74245LEPjkm','<Route\x20path=\x22','\x27;\x0a','resourceName','none','<Route\x20index','store','88VHgZsd','/>}/>\x0a','split','template','checkNpmPackage','replace','24mCqGlT','lib','slice','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','root','fsi','css','4133cnTwPO','injectIntoFile','vanilla','projectConfig','routes.','client','indexOf','import\x20\x27./','toString','maka\x20g:page\x20todos/todos-item','url','html','engines','pathFromApp','react','setTemplate','template/template.css','Generate\x20a\x20page.','pkg','<Route\x20element={<PrivateRoute\x20/>}>','api','fileName','.js','.html','withTranslations','substring','3010427ZfBSSs','trim','features','276qEihws','135267CLQjRf','hasOwnProperty','injectAtBeginningOfFile','hook/hook.js','11DbzGtx','.app-tests.js','50860044biXbtx','string','findProjectDirectory','11864816fYmmKt','private','search','cfg','toLowerCase','ssr','constructor','page','startup','9kPUsbU','warn','replaceAll','scaffold','relative','11977270JquqfL','endsWith','imports','dir','test/test.js','/imports/ui/pages'];a134c=function(){return w;};return a134c();}const aliases=['p'];Generator['create']({'name':a134u(0x1fc),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a134u(0x1df),'mustBeInMakaProject':!![],'validOpts':[{'name':a134u(0x1f6),'boolFlag':!![]},{'name':a134u(0x1d8)}],'examples':[a134u(0x1d7)]},async function(a,b){const v=a134u,c=v(0x1a8),d=this[v(0x1cc)][v(0x1ac)](),e=b[v(0x1bd)][v(0x1b9)](':')?b[v(0x1bd)][v(0x1c3)](':')[0x0][v(0x1e9)]():b[v(0x1bd)][v(0x1e9)](),f=b['dir'][v(0x200)]('/','_')+'_'+e[v(0x200)]('/','_'),g=this[v(0x201)][v(0x1db)]({'pathParts':[c,b[v(0x1a6)],kebabCase(f),kebabCase(f)]}),h=this[v(0x1d1)];let i='';typeof h['template'][v(0x1d9)]==='string'&&this[v(0x1f8)][v(0x1dd)](v(0x1d9),h['template'][v(0x1d9)]);typeof h[v(0x1c4)][v(0x1b4)]===v(0x1f3)&&this[v(0x1f8)][v(0x1dd)]('test',h['template'][v(0x1b4)]);typeof h[v(0x1c4)][v(0x1cd)]===v(0x1f3)&&this['cfg']['setTemplate'](v(0x1cd),h[v(0x1c4)][v(0x1cd)]);typeof h[v(0x1c4)]['js']===v(0x1f3)&&this[v(0x1f8)][v(0x1dd)]('js',h[v(0x1c4)]['js']);!b[v(0x1cb)]&&!this['pkg'][v(0x1c5)](v(0x1b1))&&(Log[v(0x1ff)](v(0x1b0)),this[v(0x1e0)]['installNpmPackage'](v(0x1b1),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a134e[v(0x1a2)](this[v(0x1cc)][v(0x1f4)](),g),'cssCaseName':kebabCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':kebabCase(f),'graphql':h[v(0x1da)][v(0x1b5)],'features':h[v(0x1ea)],'client':h[v(0x1da)][v(0x1d3)],'api':h['engines'][v(0x1e2)],'ssr':h[v(0x1da)]['ssr'],'isStore':b[v(0x1ed)](v(0x1c0)),'isComponent':b['hasOwnProperty']('component'),'isLayout':b[v(0x1ed)]('layout'),'withTranslations':h[v(0x1ea)][v(0x1e6)],'test':h[v(0x1da)][v(0x1b4)],'theme':h[v(0x1da)]['theme']};h[v(0x1c4)][v(0x1d9)]&&await this['scaffold'][v(0x1c4)]({'srcPath':v(0x1b3),'destPath':g+v(0x1e5),'context':j,'config':h});h[v(0x1ea)]?.[v(0x1ab)]?await this[v(0x201)][v(0x1c4)]({'srcPath':v(0x1ef),'destPath':g+v(0x1e4),'framework':v(0x1dc),'context':j,'config':h}):await this[v(0x201)][v(0x1c4)]({'srcPath':v(0x1aa),'destPath':g+v(0x1e4),'framework':v(0x1dc),'context':j,'config':h});h[v(0x1da)][v(0x1b4)]!==v(0x1be)&&await this[v(0x201)][v(0x1c4)]({'srcPath':v(0x1a7),'destPath':g+v(0x1f1),'framework':v(0x1dc),'context':j,'config':h});h['template'][v(0x1cd)]&&await this[v(0x201)][v(0x1c4)]({'srcPath':v(0x1de),'destPath':g+v(0x1ae),'context':Object['assign']({},j,{'className':kebabCase(b[v(0x1bd)])}),'config':h});h[v(0x1da)]['client']!==v(0x1dc)&&h[v(0x1da)][v(0x1d3)]!==v(0x1d0)?(h[v(0x1c4)][v(0x1cd)]&&await this['scaffold'][v(0x1ee)]({'filePath':g+'.'+h[v(0x1da)]['js'],'content':v(0x1d5)+j[v(0x1e3)]+'.'+h[v(0x1da)][v(0x1d9)]+v(0x1bc)+'import\x20\x27./'+j[v(0x1e3)]+'.'+h[v(0x1da)][v(0x1cd)]+'\x27;'}),!h[v(0x1c4)][v(0x1cd)]&&await this['scaffold'][v(0x1ee)]({'filePath':g+'.'+h[v(0x1da)]['js'],'content':v(0x1d5)+j[v(0x1e3)]+'.'+h[v(0x1da)]['html']+'\x27;'})):h[v(0x1c4)][v(0x1cd)]&&await this['scaffold'][v(0x1ee)]({'filePath':g+'.'+h[v(0x1da)]['js'],'content':v(0x1d5)+j[v(0x1e3)]+'.'+h['engines'][v(0x1cd)]+'\x27;'});const k=b[v(0x1a6)]?'/'+b[v(0x1a6)]+'/':'/';i=''+c+k+j[v(0x1e3)]+'/'+j[v(0x1e3)],await this[v(0x201)][v(0x1af)](j['className'],h,i);if(!b[v(0x1cb)]){const l=b[v(0x1f6)]??![];if(!f){Log[v(0x1b2)](v(0x1ca));throw new UsageError();}let m=b[v(0x1d8)]?b['url']:'/'+b[v(0x1a6)][v(0x1e9)]()+'/'+b[v(0x1bd)][v(0x1e9)]()[v(0x1c6)](/\\/g,'/')[v(0x1c6)](/\/+$/,'')[v(0x1f9)]();const n=b[v(0x1bd)][v(0x1d4)](':');n!==-0x1&&(m+='/'+b['resourceName'][v(0x1e7)](0x0,n)[v(0x1e9)]());m[v(0x1a4)]('/')&&(m=m[v(0x1c9)](0x0,-0x1));m=m['replace'](/\/\//g,'/');const o=h[v(0x1da)]['js'],p=h[v(0x1da)][v(0x1fa)]==='meteor'?v(0x1c8):v(0x1d3),q=a134e[v(0x1a9)](d,v(0x1a5),v(0x1fd),p,v(0x1d2)+o);l?await this[v(0x201)]['injectIntoFile']({'filePath':q,'content':v(0x1bb)+m+'\x22\x20element={<Component.'+pascalCase(f)+v(0x1c2),'begin':[v(0x1e1)],'end':[v(0x1ad)]}):await this[v(0x201)][v(0x1cf)]({'filePath':q,'content':v(0x1bb)+m+'\x22\x20element={<Component.'+pascalCase(f)+v(0x1c2),'begin':[v(0x1bf)],'end':[v(0x1b6)]});}});
1
+ const a134t=a134d;function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0xaa;let f=c[d];return f;},a134d(a,b);}(function(a,b){const r=a134d,c=a();while(!![]){try{const d=-parseInt(r(0xb7))/0x1+parseInt(r(0xd0))/0x2*(parseInt(r(0xf5))/0x3)+parseInt(r(0xdf))/0x4*(-parseInt(r(0xad))/0x5)+-parseInt(r(0xce))/0x6+-parseInt(r(0xec))/0x7*(-parseInt(r(0xc8))/0x8)+-parseInt(r(0xb0))/0x9*(parseInt(r(0xbb))/0xa)+parseInt(r(0xd7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xe7976));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const s=a134d;return a134a[s(0xc5)]()[s(0xfc)](s(0xf3))[s(0xc5)]()[s(0xd5)](a134a)['search'](s(0xf3));});a134a();function a134c(){const v=['scaffold','api','theme','lib','7RCwisx','pkg','test','checkNpmPackage','resourceName','split','engines','(((.+)+)+)+$','private','1360548qCYpXH','html','features','replaceAll','/>}/>\x0a','import\x20\x27./','cfg','search','fileName','template/template.css','.js','projectConfig','<Route\x20index','url','.html','ramda','ssr','trim','5hEjnoG','fsi','react','423pLYnis','graphql','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','setTemplate','template/template.html','hasOwnProperty','css','766239KCHTvO','<Route\x20element={<PrivateRoute\x20/>}>','startup','.css','203310yEIozo','routes.','Generate\x20a\x20page.','component','withTranslations','endsWith','none','findAppDirectory','substring','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','toString','page','withHooks','5414224zUZiHw','className','injectIntoFile','toLowerCase','Updating\x20npm\x20packages\x20...','replace','979968ukgEye','template','2AmqsUx','findProjectDirectory','.app-tests.js','client','pathFromApp','constructor','layout','19270537uJIUSc','error','hook/hook.js','<Route\x20path=\x22','indexOf','string','root','slice','193756Thnufd','store','dir','injectAtBeginningOfFile','<Route\x20path=\x22*\x22','\x22\x20element={<Component.','join','includes','component/component.js'];a134c=function(){return v;};return a134c();}import a134e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a134t(0xc6),'aliases':aliases,'usage':a134t(0xc4),'shortDesc':a134t(0xbd),'mustBeInMakaProject':!![],'validOpts':[{'name':a134t(0xf4),'boolFlag':!![]},{'name':'url'}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const u=a134t,c='/imports/ui/pages',d=this['fsi'][u(0xc2)](),e=b[u(0xf0)][u(0xe6)](':')?b['resourceName'][u(0xf1)](':')[0x0][u(0xac)]():b[u(0xf0)][u(0xac)](),f=b[u(0xe1)][u(0xf8)]('/','_')+'_'+e[u(0xf8)]('/','_'),g=this[u(0xe8)][u(0xd4)]({'pathParts':[c,b[u(0xe1)],kebabCase(f),kebabCase(f)]}),h=this[u(0x100)];let i='';typeof h[u(0xcf)][u(0xf6)]==='string'&&this[u(0xfb)][u(0xb3)](u(0xf6),h[u(0xcf)][u(0xf6)]);typeof h[u(0xcf)]['test']==='string'&&this[u(0xfb)]['setTemplate'](u(0xee),h[u(0xcf)][u(0xee)]);typeof h['template'][u(0xb6)]===u(0xdc)&&this['cfg'][u(0xb3)]('css',h['template']['css']);typeof h[u(0xcf)]['js']===u(0xdc)&&this[u(0xfb)][u(0xb3)]('js',h[u(0xcf)]['js']);!b['root']&&!this[u(0xed)][u(0xef)](u(0xaa))&&(Log['warn'](u(0xcc)),this[u(0xed)]['installNpmPackage'](u(0xaa),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a134e['relative'](this[u(0xae)][u(0xd1)](),g),'cssCaseName':kebabCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':kebabCase(f),'graphql':h[u(0xf2)][u(0xb1)],'features':h[u(0xf7)],'client':h[u(0xf2)][u(0xd3)],'api':h[u(0xf2)][u(0xe9)],'ssr':h[u(0xf2)][u(0xab)],'isStore':b[u(0xb5)](u(0xe0)),'isComponent':b[u(0xb5)](u(0xbe)),'isLayout':b[u(0xb5)](u(0xd6)),'withTranslations':h['features'][u(0xbf)],'test':h[u(0xf2)][u(0xee)],'theme':h[u(0xf2)][u(0xea)]};h['template'][u(0xf6)]&&await this[u(0xe8)][u(0xcf)]({'srcPath':u(0xb4),'destPath':g+u(0x103),'context':j,'config':h});h[u(0xf7)]?.[u(0xc7)]?await this[u(0xe8)]['template']({'srcPath':u(0xd9),'destPath':g+u(0xff),'framework':u(0xaf),'context':j,'config':h}):await this[u(0xe8)][u(0xcf)]({'srcPath':u(0xe7),'destPath':g+u(0xff),'framework':u(0xaf),'context':j,'config':h});h['engines']['test']!==u(0xc1)&&await this[u(0xe8)][u(0xcf)]({'srcPath':'test/test.js','destPath':g+u(0xd2),'framework':u(0xaf),'context':j,'config':h});h[u(0xcf)][u(0xb6)]&&await this[u(0xe8)]['template']({'srcPath':u(0xfe),'destPath':g+u(0xba),'context':Object['assign']({},j,{'className':kebabCase(b[u(0xf0)])}),'config':h});h[u(0xf2)]['client']!==u(0xaf)&&h[u(0xf2)]['client']!=='vanilla'?(h[u(0xcf)][u(0xb6)]&&await this['scaffold']['injectAtBeginningOfFile']({'filePath':g+'.'+h[u(0xf2)]['js'],'content':u(0xfa)+j[u(0xfd)]+'.'+h[u(0xf2)][u(0xf6)]+'\x27;\x0a'+u(0xfa)+j['fileName']+'.'+h[u(0xf2)]['css']+'\x27;'}),!h[u(0xcf)][u(0xb6)]&&await this['scaffold'][u(0xe2)]({'filePath':g+'.'+h[u(0xf2)]['js'],'content':u(0xfa)+j[u(0xfd)]+'.'+h[u(0xf2)][u(0xf6)]+'\x27;'})):h['template'][u(0xb6)]&&await this[u(0xe8)][u(0xe2)]({'filePath':g+'.'+h['engines']['js'],'content':u(0xfa)+j[u(0xfd)]+'.'+h[u(0xf2)][u(0xb6)]+'\x27;'});const k=b['dir']?'/'+b[u(0xe1)]+'/':'/';i=''+c+k+j[u(0xfd)]+'/'+j[u(0xfd)],await this[u(0xe8)]['injectTemplateModule'](j[u(0xc9)],h,i);if(!b[u(0xdd)]){const l=b[u(0xf4)]??![];if(!f){Log[u(0xd8)](u(0xb2));throw new UsageError();}let m=b[u(0x102)]?b['url']:'/'+b[u(0xe1)][u(0xac)]()+'/'+b[u(0xf0)][u(0xac)]()[u(0xcd)](/\\/g,'/')[u(0xcd)](/\/+$/,'')[u(0xcb)]();const n=b[u(0xf0)][u(0xdb)](':');n!==-0x1&&(m+='/'+b[u(0xf0)][u(0xc3)](0x0,n)[u(0xac)]());m[u(0xc0)]('/')&&(m=m[u(0xde)](0x0,-0x1));m=m[u(0xcd)](/\/\//g,'/');const o=h[u(0xf2)]['js'],p=h[u(0xf2)]['ssr']==='meteor'?u(0xeb):u(0xd3),q=a134e[u(0xe5)](d,'imports',u(0xb9),p,u(0xbc)+o);l?await this['scaffold'][u(0xca)]({'filePath':q,'content':'<Route\x20path=\x22'+m+u(0xe4)+pascalCase(f)+u(0xf9),'begin':[u(0xb8)],'end':['</Route>']}):await this[u(0xe8)][u(0xca)]({'filePath':q,'content':u(0xda)+m+u(0xe4)+pascalCase(f)+u(0xf9),'begin':[u(0x101)],'end':[u(0xe3)]});}});