@maka/maka-cli 5.0.0-beta.7 → 5.0.1

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 (163) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/aws/_index.js +1 -1
  109. package/bundle/obf/src/generators/aws/aws.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/tool.js +1 -1
  145. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/options/options.class.js +1 -1
  157. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  158. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  163. package/package.json +1 -1
@@ -1 +1 @@
1
- const a116k=a116d;function a116c(){const n=['join','appName','dockerfile','1981107yKeWJZ','findProjectDirectory','maka\x20g:dockerfile','fsi','getGlobalConfig','toString','6QfHyad','create','force','apply','template','app.tar.gz','error','(((.+)+)+)+$','6baKiew','1399290RvHicJ','1194464dRIjcd','2377115AltIqG','withValue','docker/Dockerfile','getMakaProjectConfig','87826bWNUKv','4ylyzuI','16ktRUYn','5744035rxsLgU','1075445SSzMJQ','constructor'];a116c=function(){return n;};return a116c();}(function(a,b){const h=a116d,c=a();while(!![]){try{const d=-parseInt(h(0x175))/0x1*(parseInt(h(0x176))/0x2)+parseInt(h(0x166))/0x3*(parseInt(h(0x170))/0x4)+parseInt(h(0x171))/0x5*(-parseInt(h(0x16e))/0x6)+parseInt(h(0x179))/0x7+-parseInt(h(0x177))/0x8*(parseInt(h(0x160))/0x9)+parseInt(h(0x16f))/0xa+parseInt(h(0x178))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x4e87c));function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x15e;let f=c[d];return f;},a116d(a,b);}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x169)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a['toString']()['search'](j(0x16d))[j(0x165)]()[j(0x17a)](a116a)['search'](j(0x16d));});a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a116e from'path';Generator[a116k(0x167)]({'name':a116k(0x15f),'usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':'Generate\x20an\x20updated\x20dockerfile','validOpts':[{'name':a116k(0x168),'boolFlag':!![]}],'noNeedResource':!![],'examples':[a116k(0x162)]},async function(a,b){const l=a116k;try{const c=await this[l(0x163)][l(0x174)](),d=await this['fsi'][l(0x164)](),f=this['fsi'][l(0x161)]();await this[l(0x163)][l(0x172)](c,async()=>{const m=l,g={'app':d[m(0x15e)],'config':c,'appPath':a116e[m(0x17b)](f,'app'),'bundlePath':a116e[m(0x17b)](f,'build',m(0x16b)),'useCert':this[m(0x163)]['isFile'](d['cert'])};await this['fsi'][m(0x16a)]({'srcPath':m(0x173),'destPath':a116e['join'](f,'Dockerfile'),'framework':'service','context':g,'config':c,'force':b[m(0x168)]});});}catch(g){Log[l(0x16c)](g);}});
1
+ const a116k=a116d;function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1a9;let f=c[d];return f;},a116d(a,b);}(function(a,b){const h=a116d,c=a();while(!![]){try{const d=-parseInt(h(0x1c2))/0x1*(parseInt(h(0x1b4))/0x2)+parseInt(h(0x1bb))/0x3*(-parseInt(h(0x1b2))/0x4)+parseInt(h(0x1ad))/0x5+-parseInt(h(0x1bf))/0x6+parseInt(h(0x1c4))/0x7*(-parseInt(h(0x1bc))/0x8)+-parseInt(h(0x1b6))/0x9+parseInt(h(0x1c1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x22e2c));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x1ab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a[j(0x1ba)]()[j(0x1b5)]('(((.+)+)+)+$')['toString']()['constructor'](a116a)[j(0x1b5)](j(0x1b8));});a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a116e from'path';function a116c(){const n=['docker/Dockerfile','join','app','maka\x20{generate,\x20g}:dockerfile','apply','error','1177850QgEcfg','getMakaProjectConfig','appName','app.tar.gz','service','336slNiHk','fsi','38nGkKpm','search','1990980UEWCEB','force','(((.+)+)+)+$','build','toString','9753AaGNov','163488uFNyHG','dockerfile','cert','520740GHpLel','withValue','7634210UmUMOj','1567biKOxu','Dockerfile','84KvaEee','getGlobalConfig','maka\x20g:dockerfile'];a116c=function(){return n;};return a116c();}Generator['create']({'name':a116k(0x1bd),'usage':a116k(0x1aa),'shortDesc':'Generate\x20an\x20updated\x20dockerfile','validOpts':[{'name':a116k(0x1b7),'boolFlag':!![]}],'noNeedResource':!![],'examples':[a116k(0x1c6)]},async function(a,b){const l=a116k;try{const c=await this['fsi'][l(0x1ae)](),d=await this['fsi'][l(0x1c5)](),f=this[l(0x1b3)]['findProjectDirectory']();await this[l(0x1b3)][l(0x1c0)](c,async()=>{const m=l,g={'app':d[m(0x1af)],'config':c,'appPath':a116e[m(0x1c8)](f,m(0x1a9)),'bundlePath':a116e[m(0x1c8)](f,m(0x1b9),m(0x1b0)),'useCert':this[m(0x1b3)]['isFile'](d[m(0x1be)])};await this[m(0x1b3)]['template']({'srcPath':m(0x1c7),'destPath':a116e[m(0x1c8)](f,m(0x1c3)),'framework':m(0x1b1),'context':g,'config':c,'force':b[m(0x1b7)]});});}catch(g){Log[l(0x1ac)](g);}});
@@ -1 +1 @@
1
- const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x122))/0x1*(-parseInt(l(0x12a))/0x2)+-parseInt(l(0x115))/0x3+-parseInt(l(0x13e))/0x4*(-parseInt(l(0x143))/0x5)+-parseInt(l(0x141))/0x6+parseInt(l(0x14b))/0x7*(-parseInt(l(0x136))/0x8)+parseInt(l(0x157))/0x9+-parseInt(l(0x148))/0xa*(-parseInt(l(0x132))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x5a70d));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x142)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x127)]()[n(0x156)](n(0x12b))[n(0x127)]()[n(0x158)](a117a)[n(0x156)]('(((.+)+)+)+$');});a117a();import a117e from'path';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x115;let f=c[d];return f;},a117d(a,b);}import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a117c(){const r=['className','1043jslZcs','test/test.js','@apollo/client','hook','pathFromProject','true','assign','css','dir','none','create','search','6013296QRWjqu','constructor','1962486psplAA','relative','force','apollo','react','pages','warn','components','notice','.css','cssCaseName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','getMakaProjectConfig','46794LDAAFm','/imports/ui/','baseDir','setTemplate','engines','toString','test','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','20vMRyxt','(((.+)+)+)+$','.js','resourceName','Creating\x20','error','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','string','19371yJmwlE','injectTemplateModule','fsi','hooks','1464WcCjjX','fileName','\x20hook...','checkNpmPackage','import\x20\x27./','findAppDirectory','theme','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','94404biwGNH','template','withTranslations','1092330eZNdel','apply','25ooLscD','graphql','layouts','features','.app-tests.js','5200bfUPcU','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html'];a117c=function(){return r;};return a117c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117o(0x155)]({'name':a117o(0x14e),'aliases':['h'],'checkWhere':![],'usage':a117o(0x13d),'shortDesc':a117o(0x149),'validOpts':[{'name':a117o(0x124),'values':[a117o(0x135),a117o(0x11c),a117o(0x11a),a117o(0x145)]},{'name':a117o(0x117),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':a117o(0x130)},async function(a,b){const p=a117o;Log[p(0x11d)](p(0x12e)+b[p(0x12d)]+p(0x138));try{const c=this[p(0x134)][p(0x139)](p(0x119));if(!c){Log['error'](p(0x120));throw new UsageError();}const d=this[p(0x134)][p(0x13b)](),f=b['baseDir']?p(0x123)+b[p(0x124)]:'/imports/ui/components',g=this[p(0x134)]['pathFromApp']({'pathParts':[f,b['dir'],paramCase(b[p(0x12d)]),paramCase(b[p(0x12d)])]}),h=await this[p(0x134)][p(0x121)]();await this['fsi']['withValue'](h,async()=>{const q=p;typeof h[q(0x13f)][q(0x152)]===q(0x131)&&(h[q(0x13f)][q(0x152)]=h[q(0x13f)][q(0x152)]===q(0x150)?!![]:![],this[q(0x134)][q(0x125)](q(0x152),h[q(0x13f)][q(0x152)]));h[q(0x126)]['graphql']===q(0x118)&&!this[q(0x134)][q(0x139)](q(0x14d))&&(Log[q(0x11b)](q(0x129)),await this['fsi']['installNpmPackage']('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x12d)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[q(0x12d)]),'name':pascalCase(b[q(0x12d)]),'graphql':h[q(0x126)][q(0x144)],'theme':h[q(0x126)][q(0x13c)],'features':h['features'],'myPath':a117e[q(0x116)](this[q(0x134)][q(0x14f)]({}),g),'fileName':paramCase(b[q(0x12d)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x146)][q(0x140)]};await this[q(0x134)][q(0x13f)]({'srcPath':'hook/hook.js','destPath':g+q(0x12c),'context':i,'config':h,'framework':q(0x119),'force':b['force']});h[q(0x13f)][q(0x152)]&&(await this[q(0x134)][q(0x13f)]({'srcPath':'template/template.css','destPath':g+q(0x11e),'context':Object[q(0x151)]({},i,{'className':i[q(0x11f)]}),'config':h,'force':b['force']}),await this[q(0x134)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[q(0x126)]['js'],'content':q(0x13a)+i['fileName']+'.'+h['engines'][q(0x152)]+'\x27;'}));h[q(0x126)][q(0x128)]!==q(0x154)&&await this[q(0x134)][q(0x13f)]({'srcPath':q(0x14c),'destPath':g+q(0x147),'framework':q(0x119),'context':i,'config':h,'force':b['force']});const j=b[q(0x153)]?'/'+b[q(0x153)]+'/':'/',k=''+f+j+i[q(0x137)]+'/'+i['fileName'];await this[q(0x134)][q(0x133)](i[q(0x14a)],h,k);});}catch(i){Log[p(0x12f)](i);}});
1
+ function a117c(){const q=['test','true','1126730IYwbqV','layouts','hook','54iOqgjN','21zKNRuo','graphql','findAppDirectory','css','template','fileName','768039iSoLLc','baseDir','maka\x20g:hook\x20cool-hook','constructor','withValue','features','injectTemplateModule','/imports/ui/components','Creating\x20','notice','template/template.css','import\x20\x27./','none','/imports/ui/','10894912QFqUMd','734102nfPVoD','installNpmPackage','dir','toString','checkNpmPackage','test/test.js','assign','string','injectAtBeginningOfFile','error','pages','force','hook/hook.js','129656NkhSZD','className','(((.+)+)+)+$','\x20hook...','5814585DNhaUd','pathFromProject','400398Ulnhoo','.css','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','setTemplate','engines','@apollo/client\x20isomorphic-fetch','react','resourceName','fsi','getMakaProjectConfig','components','.js'];a117c=function(){return q;};return a117c();}const a117n=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0xed))/0x1+-parseInt(l(0xfc))/0x2+parseInt(l(0x120))/0x3*(-parseInt(l(0x109))/0x4)+parseInt(l(0x11d))/0x5+parseInt(l(0x10f))/0x6*(parseInt(l(0x121))/0x7)+parseInt(l(0xfb))/0x8+parseInt(l(0x10d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xae8b4));const a117b=(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;};}()),a117a=a117b(this,function(){const m=a117d;return a117a[m(0xff)]()['search']('(((.+)+)+)+$')[m(0xff)]()[m(0xf0)](a117a)['search'](m(0x10b));});a117a();function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xea;let f=c[d];return f;},a117d(a,b);}import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator['create']({'name':a117n(0x11f),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':'baseDir','values':['hooks',a117n(0x119),a117n(0x106),a117n(0x11e)]},{'name':a117n(0x107),'boolFlag':!![]}],'examples':[a117n(0xef)],'description':a117n(0x111)},async function(a,b){const o=a117n;Log[o(0xf6)](o(0xf5)+b[o(0x116)]+o(0x10c));try{const c=this[o(0x117)][o(0x100)](o(0x115));if(!c){Log[o(0x105)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[o(0x117)][o(0x123)](),f=b[o(0xee)]?o(0xfa)+b['baseDir']:o(0xf4),g=this['fsi']['pathFromApp']({'pathParts':[f,b[o(0xfe)],paramCase(b['resourceName']),paramCase(b[o(0x116)])]}),h=await this[o(0x117)][o(0x118)]();await this[o(0x117)][o(0xf1)](h,async()=>{const p=o;typeof h[p(0xeb)]['css']===p(0x103)&&(h[p(0xeb)][p(0xea)]=h[p(0xeb)]['css']===p(0x11c)?!![]:![],this[p(0x117)][p(0x112)](p(0xea),h[p(0xeb)][p(0xea)]));h['engines'][p(0x122)]==='apollo'&&!this[p(0x117)][p(0x100)]('@apollo/client')&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[p(0x117)][p(0xfd)](p(0x114),{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b['resourceName']),'name':pascalCase(b['resourceName']),'graphql':h['engines'][p(0x122)],'theme':h['engines']['theme'],'features':h[p(0xf2)],'myPath':a117e['relative'](this[p(0x117)][p(0x10e)]({}),g),'fileName':paramCase(b[p(0x116)]),'isComponent':![],'isLayout':![],'withTranslations':h[p(0xf2)]['withTranslations']};await this[p(0x117)][p(0xeb)]({'srcPath':p(0x108),'destPath':g+p(0x11a),'context':i,'config':h,'framework':p(0x115),'force':b[p(0x107)]});h['template'][p(0xea)]&&(await this[p(0x117)][p(0xeb)]({'srcPath':p(0xf7),'destPath':g+p(0x110),'context':Object[p(0x102)]({},i,{'className':i['cssCaseName']}),'config':h,'force':b['force']}),await this['fsi'][p(0x104)]({'filePath':g+'.'+h['engines']['js'],'content':p(0xf8)+i['fileName']+'.'+h['engines'][p(0xea)]+'\x27;'}));h[p(0x113)][p(0x11b)]!==p(0xf9)&&await this['fsi']['template']({'srcPath':p(0x101),'destPath':g+'.app-tests.js','framework':p(0x115),'context':i,'config':h,'force':b[p(0x107)]});const j=b[p(0xfe)]?'/'+b[p(0xfe)]+'/':'/',k=''+f+j+i[p(0xec)]+'/'+i['fileName'];await this[p(0x117)][p(0xf3)](i[p(0x10a)],h,k);});}catch(i){Log[o(0x105)](i);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x1c7))/0x1+-parseInt(f(0x1cd))/0x2+parseInt(f(0x1c9))/0x3+parseInt(f(0x1c8))/0x4*(-parseInt(f(0x1d1))/0x5)+-parseInt(f(0x1d0))/0x6+parseInt(f(0x1ca))/0x7+-parseInt(f(0x1cc))/0x8*(-parseInt(f(0x1cb))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x89a95));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1cf)]()['search'](h(0x1c5))[h(0x1cf)]()[h(0x1ce)](a118a)[h(0x1c6)](h(0x1c5));});function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1c4;var f=c[d];return f;},a118d(a,b);}a118a();function a118c(){var i=['3122202hfthgv','260lccWdp','apply','(((.+)+)+)+$','search','703201JbyaKW','116ZhTsdo','910752uFUiid','1502767kzWfXz','189WbmCWe','891416VSvCWO','2138590TFqgvM','constructor','toString'];a118c=function(){return i;};return a118c();}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
1
+ (function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x1ce))/0x1+parseInt(f(0x1c3))/0x2+-parseInt(f(0x1cd))/0x3*(-parseInt(f(0x1cf))/0x4)+-parseInt(f(0x1c8))/0x5*(-parseInt(f(0x1ca))/0x6)+parseInt(f(0x1c2))/0x7*(-parseInt(f(0x1c5))/0x8)+-parseInt(f(0x1c7))/0x9+parseInt(f(0x1c1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x534f2));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1cb)]()[h(0x1c6)](h(0x1c9))[h(0x1cb)]()[h(0x1cc)](a118a)[h(0x1c6)](h(0x1c9));});a118a();function a118c(){var i=['5256680eMGIAv','1232JySOjf','240676cSiKzu','apply','23624UYBDlr','search','3692556RVEnGj','45755dJQnxf','(((.+)+)+)+$','78ABzPvo','toString','constructor','132954luNKDw','196051TTmdPy','28BQryjX'];a118c=function(){return i;};return a118c();}function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1c1;var f=c[d];return f;},a118d(a,b);}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
@@ -1 +1 @@
1
- function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x1b0;var f=c[d];return f;},a119d(a,b);}(function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0x1b5))/0x1+-parseInt(f(0x1b3))/0x2+-parseInt(f(0x1b2))/0x3*(-parseInt(f(0x1be))/0x4)+-parseInt(f(0x1b7))/0x5*(-parseInt(f(0x1bc))/0x6)+-parseInt(f(0x1bf))/0x7*(parseInt(f(0x1ba))/0x8)+parseInt(f(0x1b4))/0x9*(-parseInt(f(0x1bb))/0xa)+parseInt(f(0x1b9))/0xb*(parseInt(f(0x1b8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x22b7a));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var g=a119d;return a119a[g(0x1b6)]()[g(0x1bd)](g(0x1b0))[g(0x1b6)]()[g(0x1b1)](a119a)['search']('(((.+)+)+)+$');});a119a();function a119c(){var h=['toString','3060sKUFuO','1704228tmRZgn','11vfkksZ','8056GfRiLA','270MxhKIa','1788YELywR','search','4NbYqbi','791qNcPkJ','(((.+)+)+)+$','constructor','384765bfndAA','480322TKnPyM','6345CYdcxX','62539AZngbJ'];a119c=function(){return h;};return a119c();}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
1
+ (function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x163))/0x1+-parseInt(f(0x16b))/0x2*(-parseInt(f(0x16d))/0x3)+parseInt(f(0x162))/0x4+-parseInt(f(0x16e))/0x5*(parseInt(f(0x168))/0x6)+parseInt(f(0x164))/0x7*(parseInt(f(0x16a))/0x8)+parseInt(f(0x169))/0x9*(parseInt(f(0x16c))/0xa)+-parseInt(f(0x161))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x82dce));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x167)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x165)]()[h(0x160)](h(0x166))['toString']()['constructor'](a119a)[h(0x160)](h(0x166));});function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x160;var f=c[d];return f;},a119d(a,b);}function a119c(){var i=['26577nZgtkH','36664KZjEqo','49976NinJQq','3500bxBzpM','81nDXwXV','2874745MuWnYc','search','5867433xvQDqj','328376KUxvKs','443849vXZSWS','455cvzRry','toString','(((.+)+)+)+$','apply','6dWutwf'];a119c=function(){return i;};return a119c();}a119a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
@@ -1 +1 @@
1
- const a120h=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xd6;let f=c[d];return f;},a120d(a,b);}(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0xe0))/0x1+parseInt(f(0xe3))/0x2*(parseInt(f(0xe9))/0x3)+-parseInt(f(0xdf))/0x4*(-parseInt(f(0xe8))/0x5)+-parseInt(f(0xe4))/0x6+parseInt(f(0xe7))/0x7*(-parseInt(f(0xd9))/0x8)+-parseInt(f(0xdc))/0x9*(parseInt(f(0xdd))/0xa)+parseInt(f(0xda))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x4d89f));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 g=a120d;return a120a['toString']()[g(0xe6)](g(0xe1))[g(0xd8)]()[g(0xd7)](a120a)['search'](g(0xe1));});a120a();import{Generator}from'../../../generator.js';function a120c(){const i=['search','6167NKCVEb','5zxLMae','30boopdW','create','constructor','toString','1432IugyCC','11507265OTeaIs','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','3142872XWWawz','10iKxJfT','maka\x20g:kit:a','1929352pibQju','545056seNqNb','(((.+)+)+)+$','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','69880JACqZW','3049746OwGczH','auth'];a120c=function(){return i;};return a120c();}import a120e from'../kit.js';const AuthGen=Generator[a120h(0xd6)]({'name':a120h(0xe5),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','noNeedResource':!![],'shortDesc':a120h(0xdb),'validOpts':[''],'isPro':!![],'examples':[a120h(0xde)],'description':a120h(0xe2)},async function(){throw'NIE';},async function(){},a120e);export default AuthGen;
1
+ const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=parseInt(f(0x7a))/0x1+-parseInt(f(0x81))/0x2*(-parseInt(f(0x7f))/0x3)+-parseInt(f(0x7c))/0x4*(parseInt(f(0x71))/0x5)+-parseInt(f(0x7b))/0x6*(-parseInt(f(0x6f))/0x7)+-parseInt(f(0x80))/0x8+parseInt(f(0x7e))/0x9+-parseInt(f(0x83))/0xa*(parseInt(f(0x73))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x81940));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0x77)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0x74)]()[h(0x76)](h(0x78))[h(0x74)]()[h(0x70)](a120a)[h(0x76)](h(0x78));});function a120c(){const j=['maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','1594390wulkRS','3474569qRvpzt','constructor','216955SbGRiL','auth','121GEXnlr','toString','create','search','apply','(((.+)+)+)+$','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','721558iumjdJ','6OCmlvI','4ArnGEZ','maka\x20g:kit:a','6426261DkWxjx','53646fuINRs','2840208zijWsB','84PACbkY'];a120c=function(){return j;};return a120c();}function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x6f;let f=c[d];return f;},a120d(a,b);}a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator[a120i(0x75)]({'name':a120i(0x72),'aliases':['a'],'usage':a120i(0x82),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','validOpts':[''],'isPro':!![],'examples':[a120i(0x7d)],'description':a120i(0x79)},async function(){throw'NIE';},async function(){},a120e);export default AuthGen;
@@ -1 +1 @@
1
- function a121c(){const u=['ssr','injectIntoFile','1082RGQaHl','Accounts','pathFromApp','injectIntoCodeBlock','getMakaProjectConfig','const\x20sendForgotPasswordEmail','export\x20const\x20AuthProvider','accounts-password','processAndRunGenerator','8799552yWFvcm','server','meteor/maka:react-tracker','return\x20\x5c(','2372976gxUbjT','constructor','const\x20authenticateUser','10tnwvHp','(((.+)+)+)+$','\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','meteor/meteor','2185266gziALU','injectImport','17984619MveZRO','authentication-provider','\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','true','withValue','findProjectDirectory','template','useTracker','\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','fsi','index','\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','Meteor.startup','toString','\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','imports','error','meteor/accounts-base','auth/roles','publish','alanning:roles','4172035ecMCsd','.js','/imports/startup/lib/authentication-service','engines','kit:auth:provider','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','const\x20deauthenticateUser','Meteor','meteor','checkMeteorPackage','create','\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','1601yesBSg','145iYoBEL','\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','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','/imports/startup/lib','const\x20authenticateToken','apply','exit','const\x20getUserAuthorizations','/imports/startup/client/authentication-service','/imports/startup/client','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','search','162812EbNXcT','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20'];a121c=function(){return u;};return a121c();}function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1f2;let f=c[d];return f;},a121d(a,b);}const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(0x1fd))/0x1*(parseInt(o(0x20e))/0x2)+parseInt(o(0x21b))/0x3+parseInt(o(0x20a))/0x4*(-parseInt(o(0x1fe))/0x5)+parseInt(o(0x222))/0x6+parseInt(o(0x239))/0x7+-parseInt(o(0x217))/0x8+-parseInt(o(0x224))/0x9*(-parseInt(o(0x21e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x93393));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x203)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x231)]()[q(0x209)](q(0x21f))[q(0x231)]()[q(0x21c)](a121a)[q(0x209)](q(0x21f));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x1fb)]({'name':a121r(0x1f9),'aliases':['m'],'usage':a121r(0x200),'shortDesc':a121r(0x208),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a121r(0x220)},async function(a,b){const s=a121r;try{const c=b['force']||![];await this[s(0x22d)][s(0x1fa)]([s(0x215),s(0x238)],{'shouldInstall':!![]});const d=this[s(0x22d)][s(0x229)](),f=this[s(0x22d)][s(0x212)](),g=f['engines'][s(0x20c)]===s(0x227);await a121f['processAndRunGenerator'](s(0x1f5),[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0x216)](s(0x237),[s(0x236)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x201):s(0x207),j=this[s(0x22d)][s(0x210)]({'pathParts':[i,'','','authentication-service']});await this['fsi'][s(0x228)](f,async()=>{const t=s;await this['fsi'][t(0x22a)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0x1f2),'framework':'react','context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x22d)][s(0x210)]({'pathParts':[i,'','',s(0x225)]}),l=f[s(0x1f4)]['js'];await this[s(0x22d)][s(0x223)]({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?s(0x1f3):s(0x206),'isNamedExport':![]}),await this[s(0x22d)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x232),'begin':s(0x21d),'replace':!![]}),await this[s(0x22d)][s(0x211)]({'filePath':k+'.'+l,'content':s(0x1ff),'begin':s(0x202),'replace':!![]}),await this['fsi'][s(0x211)]({'filePath':k+'.'+l,'content':s(0x22f),'begin':s(0x205),'replace':!![]}),await this[s(0x22d)][s(0x211)]({'filePath':k+'.'+l,'content':s(0x20b),'begin':s(0x1f7),'replace':!![]}),await this[s(0x22d)][s(0x211)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x213),'replace':!![]}),await this[s(0x22d)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20registerNewUser','replace':!![]}),await this['fsi'][s(0x211)]({'filePath':k+'.'+l,'content':s(0x1f6),'begin':'const\x20resetPasswordWithToken','replace':!![]});g&&(await this[s(0x22d)][s(0x223)]({'filePath':k+'.'+l,'importName':s(0x22b),'modulePath':s(0x219),'isNamedExport':!![]}),await this[s(0x22d)][s(0x20d)]({'filePath':k+'.'+l,'content':s(0x226),'begin':s(0x214),'end':s(0x21a)}));await this[s(0x22d)][s(0x223)]({'filePath':h,'importName':s(0x1f8),'modulePath':s(0x221),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x22d)][s(0x211)]({'filePath':h,'content':s(0x1fc),'begin':'Meteor.publish','replace':!![]});const m=this[s(0x22d)][s(0x210)]({'pathParts':[s(0x233),'startup',s(0x218),s(0x22e)]});await this[s(0x22d)][s(0x223)]({'filePath':m+'.'+l,'importName':s(0x20f),'modulePath':s(0x235),'isNamedExport':!![]}),await this[s(0x22d)][s(0x211)]({'filePath':m+'.'+l,'content':s(0x22c),'begin':s(0x230),'replace':!![]});}catch(n){Log[s(0x234)](n),process[s(0x204)](0x1);}},async function(){},a121e);
1
+ const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(0x13c))/0x1+-parseInt(o(0x147))/0x2+-parseInt(o(0x16b))/0x3+-parseInt(o(0x13d))/0x4+-parseInt(o(0x16d))/0x5+-parseInt(o(0x14b))/0x6+parseInt(o(0x155))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x67d79));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x146)]()[q(0x154)](q(0x168))[q(0x146)]()[q(0x135)](a121a)[q(0x154)](q(0x168));});a121a();import{Generator}from'../../../generator.js';function a121c(){const u=['index','apply','meteor/accounts-base','/imports/startup/client','toString','130982SRhuBm','\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','pathFromApp','REACT','430422XGEruL','\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','publish','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','export\x20const\x20AuthProvider','alanning:roles','\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','const\x20sendForgotPasswordEmail','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','search','14841722YYZuTq','const\x20authenticateToken','/imports/startup/client/authentication-service','Meteor.publish','Meteor','/imports/startup/lib','\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','imports','auth/roles','const\x20deauthenticateUser','injectImport','force','meteor','const\x20getUserAuthorizations','accounts-password','.js','\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','checkMeteorPackage','Meteor.startup','(((.+)+)+)+$','fsi','Accounts','2109543XnrUWN','processAndRunGenerator','955225GmRtFm','const\x20resetPasswordWithToken','ssr','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','react','const\x20registerNewUser','meteor/meteor','engines','getMakaProjectConfig','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','kit/auth/service/meteor-auth-service.js','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','const\x20authenticateUser','authentication-provider','injectIntoCodeBlock','/imports/startup/lib/authentication-service','useTracker','243848AqensK','1678428soOOfy','injectIntoFile','\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.','true'];a121c=function(){return u;};return a121c();}import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x135;let f=c[d];return f;},a121d(a,b);}import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a121r(0x161),'aliases':['m'],'usage':a121r(0x136),'shortDesc':a121r(0x140),'validOpts':[a121r(0x160)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x14a)]},'description':a121r(0x148)},async function(a,b){const s=a121r;try{const c=b[s(0x160)]||![];await this['fsi'][s(0x166)]([s(0x163),s(0x150)],{'shouldInstall':!![]});const d=this[s(0x169)]['findProjectDirectory'](),f=this['fsi'][s(0x175)](),g=f[s(0x174)][s(0x16f)]===s(0x141);await a121f[s(0x16c)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a121f['processAndRunGenerator'](s(0x14d),[s(0x15d)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x15a):s(0x145),j=this[s(0x169)][s(0x149)]({'pathParts':[i,'','','authentication-service']});await this[s(0x169)]['withValue'](f,async()=>{const t=s;await this[t(0x169)]['template']({'srcPath':t(0x177),'destPath':j+t(0x164),'framework':t(0x171),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x169)][s(0x149)]({'pathParts':[i,'','',s(0x138)]}),l=f[s(0x174)]['js'];await this[s(0x169)][s(0x15f)]({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?s(0x13a):s(0x157),'isNamedExport':![]}),await this[s(0x169)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x13f),'begin':s(0x137),'replace':!![]}),await this[s(0x169)][s(0x139)]({'filePath':k+'.'+l,'content':s(0x151),'begin':s(0x156),'replace':!![]}),await this[s(0x169)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x165),'begin':s(0x162),'replace':!![]}),await this[s(0x169)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x14e),'begin':s(0x15e),'replace':!![]}),await this[s(0x169)][s(0x139)]({'filePath':k+'.'+l,'content':s(0x170),'begin':s(0x152),'replace':!![]}),await this[s(0x169)][s(0x139)]({'filePath':k+'.'+l,'content':s(0x153),'begin':s(0x172),'replace':!![]}),await this['fsi'][s(0x139)]({'filePath':k+'.'+l,'content':s(0x176),'begin':s(0x16e),'replace':!![]});g&&(await this[s(0x169)][s(0x15f)]({'filePath':k+'.'+l,'importName':s(0x13b),'modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await this['fsi'][s(0x13e)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x14f),'end':'return\x20\x5c('}));await this[s(0x169)][s(0x15f)]({'filePath':h,'importName':s(0x159),'modulePath':s(0x173),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][s(0x139)]({'filePath':h,'content':s(0x15b),'begin':s(0x158),'replace':!![]});const m=this[s(0x169)]['pathFromApp']({'pathParts':[s(0x15c),'startup','server',s(0x142)]});await this[s(0x169)][s(0x15f)]({'filePath':m+'.'+l,'importName':s(0x16a),'modulePath':s(0x144),'isNamedExport':!![]}),await this[s(0x169)][s(0x139)]({'filePath':m+'.'+l,'content':s(0x14c),'begin':s(0x167),'replace':!![]});}catch(n){Log['error'](n),process['exit'](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- const a122w=a122d;function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xd0;let f=c[d];return f;},a122d(a,b);}function a122c(){const z=['/imports/startup/lib','4363681fAZpmE','authentication-provider','12295540IOoSJN','8TISpCp','/imports/startup/server/index','engines','withValue','bright','3675336puqPLC','useContext','(((.+)+)+)+$','injectImport','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','12967Mlzyhl','exit','toString','injectAroundString','force','<AppRoutes\x20/>','split','10324836ZgrsKk','AuthProvider','search','ssr','pathFromApp','324lZdMTu','/imports/startup/client/authentication-provider','getMakaProjectConfig','function\x20useAuth','kit/auth/provider/authentication-provider.js','102uchmYk','164oZdDxG','\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','fsi','11erAUWD','190585SJrRMk','23691EohybU','/imports/startup/client/index','.js','/imports/startup/lib/authentication-provider','const\x20useAuth','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','AuthContext','injectIntoCodeBlock','replaceAll','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','const\x20PrivateRoute'];a122c=function(){return z;};return a122c();}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0xd1))/0x1*(parseInt(u(0xe3))/0x2)+parseInt(u(0xe8))/0x3*(-parseInt(u(0xdd))/0x4)+-parseInt(u(0xe7))/0x5*(-parseInt(u(0xe2))/0x6)+-parseInt(u(0xf4))/0x7+parseInt(u(0xf7))/0x8*(parseInt(u(0xd8))/0x9)+-parseInt(u(0xf6))/0xa*(parseInt(u(0xe6))/0xb)+parseInt(u(0xfc))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xa41ab));const a122b=(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;};}()),a122a=a122b(this,function(){const v=a122d;return a122a['toString']()[v(0xda)]('(((.+)+)+)+$')[v(0xd3)]()['constructor'](a122a)[v(0xda)](v(0xfe));});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'provider','aliases':['p'],'usage':a122w(0x100),'shortDesc':a122w(0xd0),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a122w(0xed)},async function(a,b){const x=a122w;try{const c=b[x(0xd5)]||![];Log[x(0xfb)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[x(0xe5)][x(0xdf)](),f=d[x(0xf9)][x(0xdb)]==='true',g={'name':headerCase(d['appName'])[x(0xf0)]('-','\x20')},h=f?x(0xf3):'/imports/startup/client',i=this[x(0xe5)][x(0xdc)]({'pathParts':[h,'','',x(0xf5)]});await this['fsi'][x(0xfa)](d,async()=>{const y=x;await this[y(0xe5)]['template']({'srcPath':y(0xe1),'destPath':i+y(0xea),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+'/routes',l=k[x(0xd7)]('/'),m=this[x(0xe5)]['pathFromApp']({'pathParts':l});await this[x(0xe5)][x(0xff)]({'filePath':m+'.'+j,'importName':x(0xee),'modulePath':f?x(0xeb):x(0xde),'isNamedExport':!![]}),await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':x(0xfd),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[x(0xe5)][x(0xef)]({'filePath':m+'.'+j,'content':x(0xf1),'begin':[x(0xec),x(0xe0)],'replace':!![]}),await this['fsi'][x(0xef)]({'filePath':m+'.'+j,'content':x(0xe4),'begin':[x(0xf2)],'replace':!![]});const n=x(0xe9),o=n[x(0xd7)]('/'),p=this[x(0xe5)][x(0xdc)]({'pathParts':o});await this['fsi'][x(0xff)]({'filePath':p+'.'+j,'importName':x(0xd9),'modulePath':f?x(0xeb):x(0xde),'isNamedExport':!![]}),await this['fsi'][x(0xd4)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':x(0xd6),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0xf8),r=q['split']('/'),s=this[x(0xe5)][x(0xdc)]({'pathParts':r});await this[x(0xe5)][x(0xff)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?x(0xeb):x(0xde),'isNamedExport':!![]}),await this['fsi']['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':x(0xd6),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[x(0xd2)](0x1);}},async function(){},a122e);
1
+ const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0x1d3))/0x1+-parseInt(u(0x1e8))/0x2+parseInt(u(0x1e7))/0x3*(parseInt(u(0x1f5))/0x4)+parseInt(u(0x1dd))/0x5+-parseInt(u(0x1eb))/0x6*(parseInt(u(0x1d2))/0x7)+-parseInt(u(0x1ea))/0x8*(-parseInt(u(0x203))/0x9)+parseInt(u(0x1f1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x3d8e9));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a['toString']()[w(0x1ec)](w(0x1d7))['toString']()[w(0x1e2)](a122a)[w(0x1ec)](w(0x1d7));});function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a122d(a,b);}function a122c(){const A=['</AuthProvider>','3048lRSHFs','424790QSecYO','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','517008MEZLtH','42qXvAGs','search','useContext','react','<AuthProvider>','create','180110RmgKOG','injectIntoCodeBlock','getMakaProjectConfig','\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','1160xXiCIb','\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','withValue','engines','\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','REACT','AuthProvider','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','split','<AppRoutes\x20/>','fsi','/imports/startup/client/index','/imports/startup/client','9rxQWJd','/routes','injectImport','262850TpLzqp','211434GyZtxT','/imports/startup/client/authentication-provider','function\x20useAuth','pathFromApp','(((.+)+)+)+$','/imports/startup/lib','injectAroundString','kit/auth/provider/authentication-provider.js','AuthContext','provider','693355fRKKRU','.js','/imports/startup/server/index','appName','apply','constructor','ssr','/imports/startup/lib/authentication-provider','force'];a122c=function(){return A;};return a122c();}a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122x(0x1f0)]({'name':a122x(0x1dc),'aliases':['p'],'usage':a122x(0x1fd),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a122x(0x1e5)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0x1fb)]},'description':a122x(0x1f6)},async function(a,b){const y=a122x;try{const c=b[y(0x1e5)]||![];Log[y(0x1f7)](y(0x1e9));const d=this[y(0x200)][y(0x1f3)](),f=d[y(0x1f9)][y(0x1e3)]==='true',g={'name':headerCase(d[y(0x1e0)])['replaceAll']('-','\x20')},h=f?y(0x1d8):y(0x202),i=this[y(0x200)][y(0x1d6)]({'pathParts':[h,'','','authentication-provider']});await this['fsi'][y(0x1f8)](d,async()=>{const z=y;await this['fsi']['template']({'srcPath':z(0x1da),'destPath':i+z(0x1de),'framework':z(0x1ee),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x1f9)]['js'],k=h+y(0x1d0),l=k[y(0x1fe)]('/'),m=this['fsi'][y(0x1d6)]({'pathParts':l});await this[y(0x200)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x1db),'modulePath':f?y(0x1e4):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':y(0x1ed),'modulePath':y(0x1ee),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][y(0x1f2)]({'filePath':m+'.'+j,'content':y(0x1fa),'begin':['const\x20useAuth',y(0x1d5)],'replace':!![]}),await this[y(0x200)][y(0x1f2)]({'filePath':m+'.'+j,'content':y(0x1f4),'begin':['const\x20PrivateRoute'],'replace':!![]});const n=y(0x201),o=n[y(0x1fe)]('/'),p=this[y(0x200)][y(0x1d6)]({'pathParts':o});await this[y(0x200)]['injectImport']({'filePath':p+'.'+j,'importName':y(0x1fc),'modulePath':f?y(0x1e4):y(0x1d4),'isNamedExport':!![]}),await this[y(0x200)][y(0x1d9)]({'filePath':p+'.'+j,'aboveContent':y(0x1ef),'belowContent':y(0x1e6),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1df),r=q[y(0x1fe)]('/'),s=this['fsi'][y(0x1d6)]({'pathParts':r});await this['fsi'][y(0x1d1)]({'filePath':s+'.'+j,'importName':y(0x1fc),'modulePath':f?y(0x1e4):y(0x1d4),'isNamedExport':!![]}),await this[y(0x200)][y(0x1d9)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':y(0x1ff),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process['exit'](0x1);}},async function(){},a122e);
@@ -1 +1 @@
1
- (function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0x80))/0x1+parseInt(f(0x7b))/0x2*(-parseInt(f(0x7f))/0x3)+parseInt(f(0x78))/0x4*(parseInt(f(0x7e))/0x5)+-parseInt(f(0x79))/0x6+-parseInt(f(0x82))/0x7*(parseInt(f(0x81))/0x8)+-parseInt(f(0x76))/0x9+parseInt(f(0x7d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x685bf));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x83)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0x7a)]()[h(0x75)](h(0x77))[h(0x7a)]()[h(0x7c)](a123a)[h(0x75)]('(((.+)+)+)+$');});function a123c(){var i=['(((.+)+)+)+$','16LoEace','3782610SoPTDE','toString','4LYgqFn','constructor','16971500DSAUUN','627915kdtpwq','340005qxDaxg','303697RJRUOV','8IBWUaT','5812338pRiWBJ','apply','search','3494565EMIfBY'];a123c=function(){return i;};return a123c();}a123a();function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x75;var f=c[d];return f;},a123d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0x199))/0x1+parseInt(f(0x1a2))/0x2*(-parseInt(f(0x1a0))/0x3)+parseInt(f(0x19c))/0x4*(parseInt(f(0x197))/0x5)+parseInt(f(0x19f))/0x6+parseInt(f(0x198))/0x7+parseInt(f(0x196))/0x8+-parseInt(f(0x19d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xc9761));function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x196;var f=c[d];return f;},a123d(a,b);}var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var g=a123d;return a123a[g(0x19e)]()[g(0x19b)](g(0x19a))[g(0x19e)]()[g(0x1a1)](a123a)[g(0x19b)](g(0x19a));});function a123c(){var h=['6836598zOetgN','9CEPrwQ','constructor','475990ZgOHXj','3776216naxRFx','2573565ZSnPtJ','5446098ApGLQh','690746FAgfXd','(((.+)+)+)+$','search','4ThompJ','6068439RsCjGa','toString'];a123c=function(){return h;};return a123c();}a123a();import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x87))/0x1+parseInt(f(0x8a))/0x2+parseInt(f(0x8f))/0x3*(-parseInt(f(0x93))/0x4)+parseInt(f(0x80))/0x5*(parseInt(f(0x7d))/0x6)+parseInt(f(0x91))/0x7+-parseInt(f(0x8e))/0x8*(-parseInt(f(0x86))/0x9)+-parseInt(f(0x88))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x7f60f));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x85)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x7e)]()['search']('(((.+)+)+)+$')[h(0x7e)]()[h(0x7f)](a124a)[h(0x90)](h(0x8b));});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';function a124c(){const k=['269392YSnVCb','3uNdBdA','search','3631775wqYEqF','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','1776540njvixx','6pWaHVp','toString','constructor','4710500jbNaIg','\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','/foo/bar','create','Esri\x20Kit\x20generated\x20successfully','apply','18swPBAx','473065ZUuaDs','15732910aySZcc','maka\x20g:kit:e','1075662NSEqeM','(((.+)+)+)+$','/foo','esri'];a124c=function(){return k;};return a124c();}const EsriGen=Generator[a124i(0x83)]({'name':a124i(0x8d),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a124i(0x92),'validOpts':[''],'isPro':!![],'examples':[a124i(0x89)],'description':a124i(0x81)},async function(){const j=a124i;return{'success':!![],'message':j(0x84),'details':{'filesCreated':[j(0x82)],'filesUpdated':[j(0x8c)]}};},async function(){},a124e);function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x7d;let f=c[d];return f;},a124d(a,b);}export default EsriGen;
1
+ const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x140))/0x1+parseInt(f(0x145))/0x2+-parseInt(f(0x136))/0x3+parseInt(f(0x146))/0x4*(parseInt(f(0x13c))/0x5)+parseInt(f(0x144))/0x6+parseInt(f(0x139))/0x7+-parseInt(f(0x138))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x7274c));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x13d)]()[h(0x141)](h(0x137))[h(0x13d)]()[h(0x148)](a124a)[h(0x141)](h(0x137));});function a124c(){const k=['683124HKRmfX','search','maka\x20g:kit:e','\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','5428686mKKkfb','978022KNazCj','41732JcFSdr','/foo/bar','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','77313YdTiIr','(((.+)+)+)+$','17347928nWkqKl','597618onfagS','/foo','esri','240hchhZQ','toString','create','apply'];a124c=function(){return k;};return a124c();}a124a();function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x136;let f=c[d];return f;},a124d(a,b);}import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x13e)]({'name':a124i(0x13b),'aliases':['e'],'usage':a124i(0x149),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a124i(0x142)],'description':a124i(0x143)},async function(){const j=a124i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0x147)],'filesUpdated':[j(0x13a)]}};},async function(){},a124e);export default EsriGen;
@@ -1 +1 @@
1
- const a125r=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0x1d4))/0x1+-parseInt(p(0x1c6))/0x2*(-parseInt(p(0x1cf))/0x3)+-parseInt(p(0x1b0))/0x4*(-parseInt(p(0x1be))/0x5)+parseInt(p(0x1b9))/0x6+-parseInt(p(0x1bc))/0x7*(-parseInt(p(0x1a9))/0x8)+-parseInt(p(0x1b2))/0x9*(-parseInt(p(0x1c1))/0xa)+parseInt(p(0x1cb))/0xb*(-parseInt(p(0x1a5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x422ee));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 q=a125d;return a125a['toString']()[q(0x1c5)](q(0x1d2))[q(0x1a3)]()[q(0x1a6)](a125a)[q(0x1c5)](q(0x1d2));});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a125d(a,b);}a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';function a125c(){const u=['/imports/startup/lib/templates','/imports/startup/client/templates','84sfrZjq','split','11277rfnhVS','@esri/react-arcgis','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','create','injectIntoFile','esri-loader','bright','2134656KeuLrq','withValue','getMakaProjectConfig','953141dJjhhd','baseDir','65020PPCDJc','</div>','findProjectDirectory','1140lEyKnb','appName','checkNpmPackage','.js','search','84982SSBTzr','pathFromApp','/imports/ui/hooks','map','<div\x20id=\x22map\x22>','5291704FwjOfQ','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','error','replaceAll','24uCbsxR','fsi','Generate\x20an\x20Esri\x20map\x20component','(((.+)+)+)+$','engines','14579QBxHvc','toString','processAndRunGenerator','24VjGKtc','constructor','Generating\x20a\x20map\x20component','react','8FmdIXZ','\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','injectImport','ssr','dir'];a125c=function(){return u;};return a125c();}Generator[a125r(0x1b5)]({'name':a125r(0x1c9),'aliases':['m'],'usage':a125r(0x1cc),'shortDesc':a125r(0x1d1),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines['FALSE']},'description':a125r(0x1aa)},async function(a,b){const s=a125r;try{Log[s(0x1b8)](s(0x1a7));const c='basic-map';await this['fsi'][s(0x1c3)]([s(0x1b3),s(0x1b7)],{'shouldInstall':!![]});const d=this[s(0x1d0)][s(0x1c0)](),f=this[s(0x1d0)][s(0x1bb)](),g=f[s(0x1d3)][s(0x1ac)]==='true',h=await a125f[s(0x1a4)]('page',[s(0x1c9)],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0x1c2)])[s(0x1ce)]('-','\x20'),'componentName':pascalCase(c)},j=b[s(0x1bd)]?'/imports/ui/'+b[s(0x1bd)]:s(0x1c8),k=this[s(0x1d0)]['pathFromApp']({'pathParts':[j,b[s(0x1ad)],paramCase(c),paramCase(c)]});await this['fsi'][s(0x1ba)](f,async()=>{const t=s;await this[t(0x1d0)]['template']({'srcPath':'kit/esri/map/'+c+t(0x1c4),'destPath':k+t(0x1c4),'framework':t(0x1a8),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[s(0x1ad)]+'/'+c+'/'+c;await this[s(0x1d0)]['injectTemplateModule'](c,f,l);const m=h[s(0x1b1)]('/'),n=this[s(0x1d0)][s(0x1c7)]({'pathParts':m});await this['fsi'][s(0x1ab)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0x1ae):s(0x1af),'isNamedExport':!![]}),await this[s(0x1d0)][s(0x1b6)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0x1b4),'begin':[s(0x1ca),s(0x1ca)],'end':[s(0x1bf)],'replace':!![]});}catch(o){Log[s(0x1cd)](o),process['exit'](0x1);}},async function(){},a125e);
1
+ const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0x100))/0x1*(-parseInt(p(0x120))/0x2)+-parseInt(p(0x128))/0x3*(-parseInt(p(0x102))/0x4)+parseInt(p(0x125))/0x5*(parseInt(p(0x122))/0x6)+-parseInt(p(0x11e))/0x7*(-parseInt(p(0x11a))/0x8)+parseInt(p(0x121))/0x9+parseInt(p(0x101))/0xa+-parseInt(p(0x113))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xce7d6));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0xfe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x124)]()['search'](r(0x104))[r(0x124)]()[r(0xff)](a125a)['search'](r(0x104));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xfa;let f=c[d];return f;},a125d(a,b);}function a125c(){const v=['FALSE','@esri/react-arcgis','exit','apply','constructor','168VPErqG','18110DpbYzA','248MKdHMW','Generate\x20an\x20Esri\x20map\x20component','(((.+)+)+)+$','findProjectDirectory','processAndRunGenerator','withValue','basic-map','/imports/ui/','<div\x20id=\x22map\x22>','</div>','engines','fsi','/imports/startup/lib/templates','REACT','injectTemplateModule','create','kit/esri/map/','36629285TJXIGa','pathFromApp','replaceAll','true','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','appName','injectIntoFile','16gOYIJn','/imports/startup/client/templates','error','baseDir','4781567RunYdh','map','116TxPeDH','10306908kEJGWj','12mttedd','dir','toString','706935yUahMF','ssr','Generating\x20a\x20map\x20component','66291NKAAzS','.js','split','\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'];a125c=function(){return v;};return a125c();}import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x111)]({'name':a125s(0x11f),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a125s(0x103),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x10f)],'ssr':SsrEngines[a125s(0xfb)]},'description':a125s(0xfa)},async function(a,b){const t=a125s;try{Log['bright'](t(0x127));const c=t(0x108);await this['fsi']['checkNpmPackage']([t(0xfc),'esri-loader'],{'shouldInstall':!![]});const d=this[t(0x10d)][t(0x105)](),f=this[t(0x10d)]['getMakaProjectConfig'](),g=f[t(0x10c)][t(0x126)]===t(0x116),h=await a125f[t(0x106)]('page',[t(0x11f)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x118)])[t(0x115)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?t(0x109)+b[t(0x11d)]:'/imports/ui/hooks',k=this[t(0x10d)][t(0x114)]({'pathParts':[j,b[t(0x123)],paramCase(c),paramCase(c)]});await this[t(0x10d)][t(0x107)](f,async()=>{const u=t;await this[u(0x10d)]['template']({'srcPath':u(0x112)+c+u(0x129),'destPath':k+'.js','framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x123)]+'/'+c+'/'+c;await this[t(0x10d)][t(0x110)](c,f,l);const m=h[t(0x12a)]('/'),n=this['fsi'][t(0x114)]({'pathParts':m});await this[t(0x10d)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x10e):t(0x11b),'isNamedExport':!![]}),await this['fsi'][t(0x119)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x117),'begin':[t(0x10a),t(0x10a)],'end':[t(0x10b)],'replace':!![]});}catch(o){Log[t(0x11c)](o),process[t(0xfd)](0x1);}},async function(){},a125e);
@@ -1 +1 @@
1
- const a126i=a126d;function a126c(){const j=['maka\x20g:k','kit','apply','create','(((.+)+)+)+$','toString','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','1CNQnXf','712629TzkXAF','541905qgAmDL','184PntAJs','2421896LilBdk','maka\x20g:kit','12607lsZEbI','873LwlTUN','718438qIjMNI','66KMUygr','12HlWzRV','52310YOJoRD','constructor','maka\x20{generate,\x20g}:{kit}\x20<name>','search','840084oshfFy'];a126c=function(){return j;};return a126c();}(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x178))/0x1*(-parseInt(f(0x169))/0x2)+parseInt(f(0x179))/0x3+parseInt(f(0x17c))/0x4+-parseInt(f(0x17a))/0x5*(parseInt(f(0x16b))/0x6)+-parseInt(f(0x167))/0x7*(-parseInt(f(0x17b))/0x8)+-parseInt(f(0x168))/0x9*(-parseInt(f(0x16c))/0xa)+parseInt(f(0x16a))/0xb*(-parseInt(f(0x170))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x60a30));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x176)]()[h(0x16f)](h(0x175))[h(0x176)]()[h(0x16d)](a126a)[h(0x16f)](h(0x175));});a126a();import{Generator}from'../../generator.js';const KitGen=Generator[a126i(0x174)]({'name':a126i(0x172),'aliases':['k'],'usage':a126i(0x16e),'shortDesc':a126i(0x177),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x17d),a126i(0x171)]},async function(){});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x167;let f=c[d];return f;},a126d(a,b);}export default KitGen;
1
+ function a126c(){const i=['887620uTyeWM','6WdFgEX','(((.+)+)+)+$','maka\x20g:kit','maka\x20g:k','constructor','1FpZiIj','261336TAtcZW','4835156TMkSdh','toString','1580211zSiubs','1111810eZmnXG','1126638JoyviX','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','search','1923715gcscZH','261lTEDVP','kit'];a126c=function(){return i;};return a126c();}const a126h=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x13c))/0x1*(parseInt(f(0x142))/0x2)+-parseInt(f(0x140))/0x3+-parseInt(f(0x13e))/0x4+parseInt(f(0x133))/0x5+parseInt(f(0x137))/0x6*(parseInt(f(0x141))/0x7)+-parseInt(f(0x13d))/0x8+-parseInt(f(0x134))/0x9*(-parseInt(f(0x136))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xbfeef));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const g=a126d;return a126a[g(0x13f)]()[g(0x144)](g(0x138))[g(0x13f)]()[g(0x13b)](a126a)[g(0x144)]('(((.+)+)+)+$');});a126a();import{Generator}from'../../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x133;let f=c[d];return f;},a126d(a,b);}const KitGen=Generator['create']({'name':a126h(0x135),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a126h(0x143),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126h(0x139),a126h(0x13a)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x1a4))/0x1+-parseInt(f(0x1a7))/0x2*(-parseInt(f(0x1a8))/0x3)+parseInt(f(0x1aa))/0x4*(-parseInt(f(0x1a2))/0x5)+-parseInt(f(0x1a5))/0x6*(-parseInt(f(0x1a3))/0x7)+parseInt(f(0x1ad))/0x8+parseInt(f(0x1a9))/0x9*(-parseInt(f(0x1af))/0xa)+parseInt(f(0x1a1))/0xb*(-parseInt(f(0x1a0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xbe757));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x1ae)]()['search'](h(0x1ab))[h(0x1ae)]()[h(0x1a6)](a127a)['search'](h(0x1ab));});a127a();import'./mui.generator.js';function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x1a0;var f=c[d];return f;},a127d(a,b);}import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a127c(){var i=['519827lMafCP','4934862KhdwTI','constructor','30922PgVmMP','105frOzxj','92511RizCmn','532oGhKTm','(((.+)+)+)+$','apply','10687208uBJuej','toString','290xQLmSr','7679508yWtbjT','11OazXSd','56435DXrnDZ','7gzVxSB'];a127c=function(){return i;};return a127c();}
1
+ (function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(0x1e3))/0x1*(-parseInt(f(0x1dd))/0x2)+parseInt(f(0x1dc))/0x3*(-parseInt(f(0x1e5))/0x4)+parseInt(f(0x1e8))/0x5+parseInt(f(0x1de))/0x6+parseInt(f(0x1da))/0x7*(-parseInt(f(0x1e1))/0x8)+-parseInt(f(0x1e0))/0x9*(-parseInt(f(0x1e6))/0xa)+parseInt(f(0x1e4))/0xb*(-parseInt(f(0x1e7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x3c635));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var g=a127d;return a127a['toString']()[g(0x1db)](g(0x1e2))['toString']()[g(0x1df)](a127a)[g(0x1db)]('(((.+)+)+)+$');});a127a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x1da;var f=c[d];return f;},a127d(a,b);}function a127c(){var h=['44737exVfxy','search','3xBsNoh','14116iKLFtR','2921418KiAhxC','constructor','522153NxtvLs','88cHAVNb','(((.+)+)+)+$','43vOwERf','2152216dylvnm','1198156fBTJAS','20znluUS','24DlPvRi','510350jFJUQg'];a127c=function(){return h;};return a127c();}
@@ -1 +1 @@
1
- const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0x200))/0x1+parseInt(G(0x21e))/0x2*(-parseInt(G(0x22f))/0x3)+-parseInt(G(0x1f2))/0x4*(parseInt(G(0x221))/0x5)+parseInt(G(0x1fb))/0x6+parseInt(G(0x214))/0x7*(-parseInt(G(0x1ea))/0x8)+-parseInt(G(0x224))/0x9*(-parseInt(G(0x21b))/0xa)+parseInt(G(0x1ee))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x54507));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x206)]()['search']('(((.+)+)+)+$')[I(0x206)]()['constructor'](a128a)[I(0x1f0)](I(0x231));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a128d(a,b);}import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0x20e)]({'name':a128J(0x207),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a128J(0x228),'validOpts':[a128J(0x222),a128J(0x208)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0x205)],'client':ClientEngines[a128J(0x209)]},'examples':[a128J(0x230),a128J(0x1f8)],'description':a128J(0x1ec)},async function(a,b){const K=a128J;try{const c=b[K(0x208)]||![],d=this[K(0x22e)][K(0x21a)](),f=this[K(0x22e)][K(0x210)](),{authType:g}=await Actions[K(0x227)]({'type':'list','name':K(0x20d),'message':K(0x1ed),'choices':[{'name':K(0x22a),'value':K(0x20f)},{'name':K(0x1fc),'value':K(0x22c)}]}),h=K(0x215),i=K(0x1f1),j=K(0x225),k=K(0x201),l=K(0x204),m=b[K(0x218)]?'/imports/ui/'+b[K(0x218)]:'/imports/ui/pages/auth',n=this[K(0x22e)][K(0x21c)]({'pathParts':[m,b[K(0x21f)],paramCase(h),paramCase(h)]}),o=this[K(0x22e)]['pathFromApp']({'pathParts':[m,b[K(0x21f)],paramCase(i),paramCase(i)]}),p=this[K(0x22e)][K(0x21c)]({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this[K(0x22e)]['pathFromApp']({'pathParts':[m,b[K(0x21f)],paramCase(k),paramCase(k)]}),r=this[K(0x22e)][K(0x21c)]({'pathParts':[m,b[K(0x21f)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1ef)])[K(0x203)]('-','\x20')};await this[K(0x22e)][K(0x226)](f,async()=>{const L=K;await this[L(0x22e)]['template']({'srcPath':L(0x1f7)+h+L(0x211),'destPath':n+L(0x211),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x22e)][L(0x1f3)]({'srcPath':L(0x217)+i+'.js','destPath':o+L(0x211),'framework':L(0x20c),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x22e)][L(0x1f3)]({'srcPath':'kit/mui/auth/register/'+j+L(0x211),'destPath':p+L(0x211),'framework':L(0x20c),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':'kit/mui/auth/password-reset/'+k+L(0x211),'destPath':q+L(0x211),'framework':L(0x20c),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x1f3)]({'srcPath':'kit/mui/auth/forgot-password/'+l+'.js','destPath':r+L(0x211),'framework':L(0x20c),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x21f)]+'/'+h+'/'+h;await this[K(0x22e)][K(0x213)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this['fsi'][K(0x213)](i,f,u);const v=''+m+b[K(0x21f)]+'/'+j+'/'+j;await this[K(0x22e)]['injectTemplateModule'](j,f,v);const w=''+m+b[K(0x21f)]+'/'+k+'/'+k;await this[K(0x22e)]['injectTemplateModule'](k,f,w);const x=''+m+b[K(0x21f)]+'/'+l+'/'+l;await this[K(0x22e)][K(0x213)](l,f,x),await a128e[K(0x1f4)](K(0x1fd),[K(0x215)],{'route':K(0x216),'cwd':d,'config':f}),await a128e[K(0x1f4)](K(0x1fd),[K(0x1f1)],{'route':K(0x212),'private':!![],'cwd':d,'config':f}),await a128e[K(0x1f4)](K(0x1fd),['basic-register-page'],{'route':K(0x220),'cwd':d,'config':f}),await a128e[K(0x1f4)](K(0x1fd),['basic-password-reset-page'],{'route':K(0x1ff),'cwd':d,'config':f}),await a128e[K(0x1f4)](K(0x1fd),[K(0x204)],{'route':K(0x1f5),'cwd':d,'config':f});g===K(0x20f)&&await a128e['processAndRunGenerator'](K(0x219),[],{'force':c,'cwd':d,'config':f});g===K(0x22c)&&await a128e['processAndRunGenerator'](K(0x1eb),[],{'force':c,'cwd':d,'config':f});const y=f['engines'][K(0x1fe)]===K(0x22b),z=f[K(0x20b)]['js'],A=this['fsi'][K(0x21c)]({'pathParts':t[K(0x223)]('/')});await this[K(0x22e)][K(0x20a)]({'filePath':A+'.'+z,'importName':K(0x1f6),'modulePath':y?K(0x1f9):K(0x202),'isNamedExport':!![]});const B=this['fsi']['pathFromApp']({'pathParts':u[K(0x223)]('/')});await this[K(0x22e)][K(0x20a)]({'filePath':B+'.'+z,'importName':K(0x1f6),'modulePath':y?K(0x1f9):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0x22e)][K(0x21c)]({'pathParts':v[K(0x223)]('/')});await this[K(0x22e)][K(0x20a)]({'filePath':C+'.'+z,'importName':K(0x1f6),'modulePath':y?K(0x1f9):K(0x202),'isNamedExport':!![]});const D=this['fsi'][K(0x21c)]({'pathParts':w[K(0x223)]('/')});await this[K(0x22e)][K(0x20a)]({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':K(0x202),'isNamedExport':!![]});const E=this[K(0x22e)][K(0x21c)]({'pathParts':x[K(0x223)]('/')});await this[K(0x22e)][K(0x20a)]({'filePath':E+'.'+z,'importName':K(0x1f6),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log[K(0x22d)](F);}},async function(){const M=a128J;console[M(0x229)](M(0x21d));},a128f);function a128c(){const N=['reset-password/:token','396643rnZFfv','basic-password-reset-page','/imports/startup/client/authentication-provider','replaceAll','basic-forgot-password-page','MATERIAL','toString','auth','force','REACT','injectImport','engines','react','authType','create','meteor','getMakaProjectConfig','.js','logout','injectTemplateModule','371IPfpED','basic-login-page','login','kit/mui/auth/logout/','baseDir','kit:auth:meteor','findProjectDirectory','10zTEpkY','pathFromApp','Cleaning\x20up...','2gObhGx','dir','register','460715lBJurN','layouts','split','1790442bHkTod','basic-register-page','withValue','options','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','log','Meteor\x20Accounts','true','custom','error','fsi','792066ptBnTW','maka\x20generate:kit:mui:frame','(((.+)+)+)+$','62296RVwOJr','kit:auth:provider','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','13555993zIYecf','appName','search','basic-logout-page','4QeTjiD','template','processAndRunGenerator','forgot-password','AuthContext','kit/mui/auth/login/','maka\x20g:k:m:f','/imports/startup/lib/authentication-provider','apply','477414cNqRNf','Custom\x20(roll\x20your\x20own)','route','ssr'];a128c=function(){return N;};return a128c();}
1
+ const a128J=a128d;function a128c(){const N=['baseDir','6RYkMlO','react','2553355XeGuAH','AuthContext','appName','force','meteor','register','split','/imports/startup/client/authentication-provider','8150zDqRbV','MATERIAL','toString','list','415350cGdzeF','kit/mui/auth/login/','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','log','true','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','kit/mui/auth/logout/','processAndRunGenerator','pathFromApp','basic-logout-page','basic-register-page','error','maka\x20generate:kit:mui:frame','33aYsgVB','getMakaProjectConfig','.js','fsi','REACT','Meteor\x20Accounts','injectTemplateModule','kit/mui/auth/password-reset/','kit:auth:provider','dir','route','/imports/ui/pages/auth','forgot-password','basic-password-reset-page','1056htNRnM','injectImport','findProjectDirectory','custom','template','13654UVDNRm','kit/mui/auth/forgot-password/','1236876iZcRIG','(((.+)+)+)+$','search','basic-forgot-password-page','1570680QCRjID','/imports/startup/lib/authentication-provider','auth','kit/mui/auth/register/','29vONSDR','8naTMvI','Cleaning\x20up...','replaceAll','basic-login-page','create','2597016DyEgmg','authType','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','engines','apply'];a128c=function(){return N;};return a128c();}(function(a,b){const G=a128d,c=a();while(!![]){try{const d=parseInt(G(0x1e5))/0x1*(-parseInt(G(0x1db))/0x2)+-parseInt(G(0x1dd))/0x3+-parseInt(G(0x1d6))/0x4*(-parseInt(G(0x1b7))/0x5)+-parseInt(G(0x1ad))/0x6*(parseInt(G(0x1af))/0x7)+parseInt(G(0x1e6))/0x8*(-parseInt(G(0x1bb))/0x9)+parseInt(G(0x1e1))/0xa+-parseInt(G(0x1c8))/0xb*(-parseInt(G(0x1eb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x3499c));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x1ab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a['toString']()[I(0x1df)](I(0x1de))[I(0x1b9)]()['constructor'](a128a)['search']('(((.+)+)+)+$');});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'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a128d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0x1ea)]({'name':a128J(0x1e3),'aliases':['a'],'usage':a128J(0x1c0),'shortDesc':a128J(0x1a9),'validOpts':['layouts',a128J(0x1b2)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0x1b8)],'client':ClientEngines[a128J(0x1cc)]},'examples':[a128J(0x1c7),'maka\x20g:k:m:f'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const K=a128J;try{const c=b[K(0x1b2)]||![],d=this['fsi'][K(0x1d8)](),f=this[K(0x1cb)][K(0x1c9)](),{authType:g}=await Actions['options']({'type':K(0x1ba),'name':K(0x1a8),'message':K(0x1bd),'choices':[{'name':K(0x1cd),'value':K(0x1b3)},{'name':'Custom\x20(roll\x20your\x20own)','value':K(0x1d9)}]}),h=K(0x1e9),i='basic-logout-page',j=K(0x1c5),k='basic-password-reset-page',l=K(0x1e0),m=b[K(0x1ac)]?'/imports/ui/'+b['baseDir']:K(0x1d3),n=this[K(0x1cb)][K(0x1c3)]({'pathParts':[m,b[K(0x1d1)],paramCase(h),paramCase(h)]}),o=this[K(0x1cb)][K(0x1c3)]({'pathParts':[m,b[K(0x1d1)],paramCase(i),paramCase(i)]}),p=this[K(0x1cb)]['pathFromApp']({'pathParts':[m,b[K(0x1d1)],paramCase(j),paramCase(j)]}),q=this[K(0x1cb)]['pathFromApp']({'pathParts':[m,b[K(0x1d1)],paramCase(k),paramCase(k)]}),r=this[K(0x1cb)][K(0x1c3)]({'pathParts':[m,b[K(0x1d1)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1b1)])[K(0x1e8)]('-','\x20')};await this[K(0x1cb)]['withValue'](f,async()=>{const L=K;await this[L(0x1cb)][L(0x1da)]({'srcPath':L(0x1bc)+h+'.js','destPath':n+L(0x1ca),'framework':L(0x1ae),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1cb)]['template']({'srcPath':L(0x1c1)+i+L(0x1ca),'destPath':o+L(0x1ca),'framework':L(0x1ae),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1cb)][L(0x1da)]({'srcPath':L(0x1e4)+j+L(0x1ca),'destPath':p+L(0x1ca),'framework':L(0x1ae),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1cb)][L(0x1da)]({'srcPath':L(0x1cf)+k+L(0x1ca),'destPath':q+L(0x1ca),'framework':L(0x1ae),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1cb)][L(0x1da)]({'srcPath':L(0x1dc)+l+L(0x1ca),'destPath':r+L(0x1ca),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b['dir']+'/'+h+'/'+h;await this[K(0x1cb)][K(0x1ce)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this['fsi'][K(0x1ce)](i,f,u);const v=''+m+b[K(0x1d1)]+'/'+j+'/'+j;await this[K(0x1cb)][K(0x1ce)](j,f,v);const w=''+m+b[K(0x1d1)]+'/'+k+'/'+k;await this[K(0x1cb)]['injectTemplateModule'](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[K(0x1cb)][K(0x1ce)](l,f,x),await a128e[K(0x1c2)]('route',[K(0x1e9)],{'route':'login','cwd':d,'config':f}),await a128e['processAndRunGenerator'](K(0x1d2),[K(0x1c4)],{'route':'logout','private':!![],'cwd':d,'config':f}),await a128e[K(0x1c2)](K(0x1d2),[K(0x1c5)],{'route':K(0x1b4),'cwd':d,'config':f}),await a128e[K(0x1c2)]('route',[K(0x1d5)],{'route':'reset-password/:token','cwd':d,'config':f}),await a128e['processAndRunGenerator'](K(0x1d2),['basic-forgot-password-page'],{'route':K(0x1d4),'cwd':d,'config':f});g===K(0x1b3)&&await a128e[K(0x1c2)]('kit:auth:meteor',[],{'force':c,'cwd':d,'config':f});g===K(0x1d9)&&await a128e[K(0x1c2)](K(0x1d0),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x1aa)]['ssr']===K(0x1bf),z=f['engines']['js'],A=this['fsi'][K(0x1c3)]({'pathParts':t[K(0x1b5)]('/')});await this[K(0x1cb)]['injectImport']({'filePath':A+'.'+z,'importName':K(0x1b0),'modulePath':y?K(0x1e2):K(0x1b6),'isNamedExport':!![]});const B=this[K(0x1cb)][K(0x1c3)]({'pathParts':u[K(0x1b5)]('/')});await this[K(0x1cb)]['injectImport']({'filePath':B+'.'+z,'importName':'AuthContext','modulePath':y?K(0x1e2):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0x1cb)][K(0x1c3)]({'pathParts':v[K(0x1b5)]('/')});await this[K(0x1cb)][K(0x1d7)]({'filePath':C+'.'+z,'importName':K(0x1b0),'modulePath':y?K(0x1e2):K(0x1b6),'isNamedExport':!![]});const D=this[K(0x1cb)][K(0x1c3)]({'pathParts':w[K(0x1b5)]('/')});await this[K(0x1cb)][K(0x1d7)]({'filePath':D+'.'+z,'importName':K(0x1b0),'modulePath':y?K(0x1e2):K(0x1b6),'isNamedExport':!![]});const E=this[K(0x1cb)][K(0x1c3)]({'pathParts':x[K(0x1b5)]('/')});await this[K(0x1cb)][K(0x1d7)]({'filePath':E+'.'+z,'importName':K(0x1b0),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x1b6),'isNamedExport':!![]});}catch(F){Log[K(0x1c6)](F);}},async function(){const M=a128J;console[M(0x1be)](M(0x1e7));},a128f);
@@ -1 +1 @@
1
- const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0x196))/0x1*(parseInt(B(0x1b1))/0x2)+-parseInt(B(0x1a2))/0x3*(parseInt(B(0x1d4))/0x4)+parseInt(B(0x1b6))/0x5*(-parseInt(B(0x1be))/0x6)+parseInt(B(0x1a0))/0x7*(parseInt(B(0x1ca))/0x8)+-parseInt(B(0x1b9))/0x9+-parseInt(B(0x197))/0xa+parseInt(B(0x1bb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xb44e1));function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x18f;let f=c[d];return f;},a129d(a,b);}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x1d2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x1d5)]()[D(0x1c6)](D(0x1a5))[D(0x1d5)]()['constructor'](a129a)[D(0x1c6)]('(((.+)+)+)+$');});function a129c(){const I=['react','template','maka\x20generate:kit:mui:frame','injectAroundString','checkbox','session','imports','fsi','/imports/startup/lib/templates','app-tests','11982IotCUc','Cleaning\x20up...','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','replaceAll','injectTemplateModule','2197655BoaHqS','tests','<div\x20id=\x22','7884477VzNSSd','pathFromApp','34456642hKjSdh','.js','getMakaProjectConfig','12jsQufo','Box','</div>','layouts','ssr','REACT','basic-app-bar','checkMeteorPackage','search','injectImport','No\x20layouts\x20selected','findAppDirectory','8PjPaiJ','join','Container','error','jsx','@mui/material/Box','<Outlet/>','-hook\x22>','apply','/imports/startup/client/templates','8QMFvGn','toString','basic-sticky-footer','create','/imports/ui/components','@mui/material/Container','maka:react-tracker','baseDir','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','23hMwDsP','13418830DTeFbR','/imports/ui/','injectIntoFile','dir','options','kit/mui/frame/app-bars/','test','\x20/>\x0a','log','9448460AHmqRO','appName','763323STpYaR','engines','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','(((.+)+)+)+$','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout'];a129c=function(){return I;};return a129c();}a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0x190)]({'name':'frame','aliases':['f'],'usage':a129E(0x1a4),'shortDesc':a129E(0x1a6),'validOpts':[a129E(0x1c1),'baseDir','dir','force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a129E(0x1c3)]},'examples':[a129E(0x1a9),'maka\x20g:k:m:f'],'description':a129E(0x195)},async function(a,b){const F=a129E;try{const c=b['force']||![],d=F(0x1c4),f='basic-drawer',g=F(0x18f),h=this[F(0x1ae)][F(0x1bd)](),i=h[F(0x1a3)][F(0x1c2)]==='true';await this['fsi'][F(0x1c5)]([F(0x1ac),F(0x193)],{'shouldInstall':!![]});const j=this['fsi'][F(0x1c9)](),k=a129e[F(0x1cb)](j,F(0x1ad),'ui',F(0x1c1)),l=this['fsi']['getDirectories'](k),m=await Actions[F(0x19b)]({'type':F(0x1ab),'name':F(0x1c1),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x1c1)]['length']===0x0){Log[F(0x1cd)](F(0x1c8));return;}const n=b[F(0x194)]?F(0x198)+b['baseDir']:F(0x191),o=this[F(0x1ae)][F(0x1ba)]({'pathParts':[n,b[F(0x19a)],paramCase(d),paramCase(d)]}),p=this['fsi'][F(0x1ba)]({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this[F(0x1ae)][F(0x1ba)]({'pathParts':[n,b[F(0x19a)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1a1)])[F(0x1b4)]('-','\x20')};await this['fsi']['withValue'](h,async()=>{const G=F;await this['fsi'][G(0x1a8)]({'srcPath':G(0x19c)+d+G(0x1bc),'destPath':o+G(0x1bc),'framework':G(0x1a7),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x1a8)]({'srcPath':'kit/mui/frame/drawers/'+f+G(0x1bc),'destPath':p+G(0x1bc),'framework':G(0x1a7),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x1a8)]({'srcPath':'kit/mui/frame/footers/'+g+'.js','destPath':q+G(0x1bc),'framework':G(0x1a7),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x19a)]+'/'+d+'/'+d;await this[F(0x1ae)][F(0x1b5)](d,h,s);const t=''+n+b[F(0x19a)]+'/'+f+'/'+f;await this[F(0x1ae)]['injectTemplateModule'](f,h,t);const u=''+n+b[F(0x19a)]+'/'+g+'/'+g;await this[F(0x1ae)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this['fsi']['getFiles'](a129e['join'](k,w),{'extensions':[F(0x1ce),'tsx'],'omit':[F(0x1b0),F(0x1b7),F(0x19d)]});for(const y of x){const z=a129e['join'](k,w,y);await this[F(0x1ae)][F(0x1c7)]({'filePath':z,'importName':F(0x1bf),'modulePath':F(0x1cf),'isNamedExport':![]}),await this[F(0x1ae)][F(0x1c7)]({'filePath':z,'importName':F(0x1cc),'modulePath':F(0x192),'isNamedExport':![]}),await this[F(0x1ae)][F(0x1c7)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x1af):F(0x1d3),'isNamedExport':!![]}),await this['fsi'][F(0x199)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x19e),'begin':[F(0x1b8)+w+'\x22>',F(0x1b8)+w+F(0x1d1)],'end':[F(0x1d0)]}),await this[F(0x1ae)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':F(0x1d3),'isNamedExport':!![]}),await this['fsi'][F(0x199)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x19e),'begin':['<div\x20id=\x22'+w+'\x22>',F(0x1b8)+w+F(0x1d1)],'end':['<Outlet/>']}),await this[F(0x1ae)][F(0x199)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x19e),'begin':[F(0x1d0)],'end':[F(0x1c0)]}),await this['fsi'][F(0x1c7)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x1af):F(0x1d3),'isNamedExport':!![]}),await this[F(0x1ae)][F(0x1aa)]({'filePath':z,'aboveContent':'<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','belowContent':F(0x1b3),'targetString':[F(0x1d0)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x1cd)](A);}},async function(){const H=a129E;console[H(0x19f)](H(0x1b2));},a129f);
1
+ const a129D=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0x9e))/0x1+parseInt(B(0xa3))/0x2*(parseInt(B(0xaf))/0x3)+-parseInt(B(0xa2))/0x4*(parseInt(B(0xab))/0x5)+parseInt(B(0x7f))/0x6+-parseInt(B(0x9a))/0x7+-parseInt(B(0xa8))/0x8*(parseInt(B(0x7b))/0x9)+parseInt(B(0x8b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xb7e24));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 C=a129d;return a129a[C(0xa5)]()[C(0x76)](C(0x8c))['toString']()['constructor'](a129a)[C(0x76)](C(0x8c));});function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x6f;let f=c[d];return f;},a129d(a,b);}a129a();import{Generator}from'../../../generator.js';function a129c(){const H=['REACT','MATERIAL','session','baseDir','search','force','/imports/ui/','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','injectIntoFile','1993662PNkahE','replaceAll','length','/imports/ui/components','6859836rsmaFA','engines','tsx','pathFromApp','getMakaProjectConfig','injectAroundString','checkMeteorPackage','log','@mui/material/Box','template','findAppDirectory','join','3259500PeEbmn','(((.+)+)+)+$','maka:react-tracker','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','true','create','kit/mui/frame/footers/','kit/mui/frame/drawers/','frame','</div>','-hook\x22>','react','error','getFiles','kit/mui/frame/app-bars/','566510ZqbbGS','basic-drawer','injectImport','No\x20layouts\x20selected','292490tovrMG','tests','/imports/startup/lib/templates','.js','4CFtMnM','311486OUyYkM','Container','toString','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','/imports/startup/client/templates','8KlCQkF','<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>','injectTemplateModule','4309265YMgSgo','@mui/material/Container','Box','\x20/>\x0a','3RcBIey','jsx','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','layouts','dir','<Outlet/>','<div\x20id=\x22','fsi','maka\x20generate:kit:mui:frame'];a129c=function(){return H;};return a129c();}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129D(0x90)]({'name':a129D(0x93),'aliases':['f'],'usage':a129D(0x8e),'shortDesc':a129D(0x79),'validOpts':[a129D(0xb2),a129D(0x75),a129D(0xb3),'force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129D(0x73)],'client':ClientEngines[a129D(0x72)]},'examples':[a129D(0x71),'maka\x20g:k:m:f'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const E=a129D;try{const c=b[E(0x77)]||![],d='basic-app-bar',f=E(0x9b),g='basic-sticky-footer',h=this[E(0x70)][E(0x83)](),i=h[E(0x80)]['ssr']===E(0x8f);await this[E(0x70)][E(0x85)]([E(0x74),E(0x8d)],{'shouldInstall':!![]});const j=this[E(0x70)][E(0x89)](),k=a129e[E(0x8a)](j,'imports','ui',E(0xb2)),l=this[E(0x70)]['getDirectories'](k),m=await Actions['options']({'type':'checkbox','name':E(0xb2),'message':E(0xb1),'choices':l});if(m['layouts'][E(0x7d)]===0x0){Log['error'](E(0x9d));return;}const n=b[E(0x75)]?E(0x78)+b[E(0x75)]:E(0x7e),o=this[E(0x70)][E(0x82)]({'pathParts':[n,b[E(0xb3)],paramCase(d),paramCase(d)]}),p=this[E(0x70)][E(0x82)]({'pathParts':[n,b[E(0xb3)],paramCase(f),paramCase(f)]}),q=this['fsi'][E(0x82)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h['appName'])[E(0x7c)]('-','\x20')};await this[E(0x70)]['withValue'](h,async()=>{const F=E;await this[F(0x70)][F(0x88)]({'srcPath':F(0x99)+d+F(0xa1),'destPath':o+F(0xa1),'framework':F(0x96),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':F(0x92)+f+F(0xa1),'destPath':p+'.js','framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x70)][F(0x88)]({'srcPath':F(0x91)+g+'.js','destPath':q+F(0xa1),'framework':F(0x96),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this['fsi']['injectTemplateModule'](d,h,s);const t=''+n+b[E(0xb3)]+'/'+f+'/'+f;await this[E(0x70)][E(0xaa)](f,h,t);const u=''+n+b[E(0xb3)]+'/'+g+'/'+g;await this['fsi'][E(0xaa)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this['fsi'][E(0x98)](a129e[E(0x8a)](k,w),{'extensions':[E(0xb0),E(0x81)],'omit':['app-tests',E(0x9f),'test']});for(const y of x){const z=a129e[E(0x8a)](k,w,y);await this[E(0x70)][E(0x9c)]({'filePath':z,'importName':E(0xad),'modulePath':E(0x87),'isNamedExport':![]}),await this[E(0x70)][E(0x9c)]({'filePath':z,'importName':E(0xa4),'modulePath':E(0xac),'isNamedExport':![]}),await this['fsi']['injectImport']({'filePath':z,'importName':pascalCase(d),'modulePath':i?E(0xa0):E(0xa7),'isNamedExport':!![]}),await this[E(0x70)][E(0x7a)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[E(0x6f)+w+'\x22>','<div\x20id=\x22'+w+E(0x95)],'end':[E(0xb4)]}),await this[E(0x70)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?E(0xa0):'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi'][E(0x7a)]({'filePath':z,'content':'<'+pascalCase(f)+E(0xae),'begin':[E(0x6f)+w+'\x22>',E(0x6f)+w+E(0x95)],'end':['<Outlet/>']}),await this[E(0x70)][E(0x7a)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':['<Outlet/>'],'end':[E(0x94)]}),await this['fsi'][E(0x9c)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?E(0xa0):E(0xa7),'isNamedExport':!![]}),await this[E(0x70)][E(0x84)]({'filePath':z,'aboveContent':E(0xa9),'belowContent':E(0xa6),'targetString':[E(0xb4)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[E(0x97)](A);}},async function(){const G=a129D;console[G(0x86)]('Cleaning\x20up...');},a129f);
@@ -1 +1 @@
1
- const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0xb1))/0x1*(parseInt(g(0x8f))/0x2)+parseInt(g(0xaa))/0x3*(parseInt(g(0xb4))/0x4)+-parseInt(g(0xab))/0x5*(-parseInt(g(0xb0))/0x6)+-parseInt(g(0xae))/0x7*(parseInt(g(0x9e))/0x8)+-parseInt(g(0xb3))/0x9*(parseInt(g(0xa4))/0xa)+parseInt(g(0x9f))/0xb+-parseInt(g(0xad))/0xc*(parseInt(g(0x97))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xda088));function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x8f;let f=c[d];return f;},a130d(a,b);}const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0xb6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0xaf)]()[i(0xa8)](i(0x91))[i(0xaf)]()[i(0xb2)](a130a)[i(0xa8)]('(((.+)+)+)+$');});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a130c(){const l=['info','39SHfNif','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','checkbox','maka\x20g:kit:m','includes','auth','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','8LLdMJA','16478594tSBDJc','fsi','\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','processAndRunGenerator','kit:mui:frame','10EJaAdC','mui','kit:mui:auth','frame','search','notice','33QIhDmS','9820NKbEiu','getMakaProjectConfig','2846424QlSXvR','484953TGZMTK','toString','3138YUIHZI','157pWOTlz','constructor','13551723IjeOFK','83444LjJTCv','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','apply','5414rLpFDJ','create','(((.+)+)+)+$','Material-UI\x20Kit','options','length','No\x20MUI\x20kits\x20selected.\x20Exiting.'];a130c=function(){return l;};return a130c();}import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'../kit.js';const MuiGen=Generator[a130j(0x90)]({'name':a130j(0xa5),'aliases':['m'],'usage':a130j(0x98),'noNeedResource':!![],'shortDesc':a130j(0x92),'validOpts':[''],'isPro':!![],'examples':[a130j(0x9a)]},async function(){const k=a130j;Log[k(0x96)](k(0xb5)),Log[k(0xa9)](k(0xa1));const {kitChoices:a}=await Actions[k(0x93)]({'type':k(0x99),'name':'kitChoices','message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':k(0xa7)},{'name':k(0x9d),'value':k(0x9c)}]}),b=this[k(0xa0)]['findProjectDirectory'](),c=this['fsi'][k(0xac)]();a['includes'](k(0xa7))&&await a130e[k(0xa2)](k(0xa3),[],{'force':!![],'cwd':b,'config':c});a[k(0x9b)](k(0x9c))&&await a130e['processAndRunGenerator'](k(0xa6),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x94)]===0x0){Log[k(0x96)](k(0x95));return;}},async function(){},a130f);export default MuiGen;
1
+ const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=-parseInt(g(0xdb))/0x1+-parseInt(g(0xe3))/0x2+parseInt(g(0xd3))/0x3*(-parseInt(g(0xde))/0x4)+parseInt(g(0xec))/0x5+parseInt(g(0xdd))/0x6*(-parseInt(g(0xd4))/0x7)+-parseInt(g(0xe6))/0x8+parseInt(g(0xed))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x66e9d));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0xd6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0xe0)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a130a)[i(0xdc)](i(0xd1));});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xd0;let f=c[d];return f;},a130d(a,b);}import a130f from'../kit.js';const MuiGen=Generator['create']({'name':a130j(0xe2),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a130j(0xe8),'validOpts':[''],'isPro':!![],'examples':[a130j(0xe9)]},async function(){const k=a130j;Log['info']('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log['notice']('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const {kitChoices:a}=await Actions[k(0xeb)]({'type':'checkbox','name':k(0xe5),'message':k(0xd0),'choices':[{'name':k(0xd2),'value':k(0xdf)},{'name':k(0xd5),'value':'auth'}]}),b=this[k(0xe7)][k(0xd7)](),c=this[k(0xe7)]['getMakaProjectConfig']();a[k(0xea)](k(0xdf))&&await a130e[k(0xe1)]('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0xd8))&&await a130e[k(0xe1)](k(0xe4),[],{'force':!![],'cwd':b,'config':c});if(a[k(0xda)]===0x0){Log[k(0xd9)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}},async function(){},a130f);export default MuiGen;function a130c(){const l=['Header,\x20Footer,\x20and\x20Drawer','855126SYpfGQ','10885ikOPnk','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','apply','findProjectDirectory','auth','info','length','234436uGuhhj','search','564rnnPRW','8YtSGYQ','frame','toString','processAndRunGenerator','mui','759180sLivCd','kit:mui:auth','kitChoices','3174024ZvPwLn','fsi','Material-UI\x20Kit','maka\x20g:kit:m','includes','options','2059990QIvHKP','15629112ssaETV','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','(((.+)+)+)+$'];a130c=function(){return l;};return a130c();}
@@ -1 +1 @@
1
- const a131n=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0x14e))/0x1+parseInt(l(0x173))/0x2+parseInt(l(0x139))/0x3*(-parseInt(l(0x141))/0x4)+-parseInt(l(0x151))/0x5*(-parseInt(l(0x161))/0x6)+parseInt(l(0x158))/0x7+-parseInt(l(0x13a))/0x8*(-parseInt(l(0x13f))/0x9)+-parseInt(l(0x159))/0xa*(parseInt(l(0x162))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x4e234));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 m=a131d;return a131a['toString']()[m(0x15b)](m(0x144))['toString']()[m(0x165)](a131a)[m(0x15b)]('(((.+)+)+)+$');});function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x139;let f=c[d];return f;},a131d(a,b);}a131a();import a131e from'path';function a131c(){const q=['hook/hook.js','(((.+)+)+)+$','resourceName','injectTemplateModule','pathFromApp','includes','Scaffolding\x20for\x20a\x20React\x20Layout.','css','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','maka\x20g:l\x20web/safari','533930qRJmaw','.css','getMakaProjectConfig','835680magSXw','true','installNpmPackage','test','component/component.js','template/template.css','react','3532970FMgznC','420aqJmRr','fileName','search','fsi','maka\x20g:layout\x20mobile/iPhone8','engines','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','template','12OviMpH','121682RtHEAs','split','setTemplate','constructor','checkNpmPackage','relative','ramda','withTranslations','assign','string','withHooks','ssr','withHook','import\x20\x27./','features','.js','findAppDirectory','1018422XlkUJx','246984GDitrI','56rRQnOp','client','api','warn','dir','385335ymvSbb','/imports/ui/layouts','16VQRTMQ','.app-tests.js'];a131c=function(){return q;};return a131c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':'layout','aliases':aliases,'usage':a131n(0x14c),'shortDesc':a131n(0x149),'validOpts':[a131n(0x16e)],'examples':[a131n(0x15d),a131n(0x14d)]},async function(a,b){const o=a131n,c=o(0x140),d=this[o(0x15c)][o(0x172)](),e=this[o(0x15c)][o(0x147)]({'pathParts':[c,b[o(0x13e)],paramCase(b[o(0x145)]),paramCase(b[o(0x145)])]}),f=this[o(0x15c)][o(0x150)]();await this[o(0x15c)]['withValue'](f,async()=>{const p=o;typeof f[p(0x160)][p(0x154)]==='string'&&(f[p(0x160)][p(0x154)]=f[p(0x160)]['test']===p(0x152)?!![]:![],this['fsi'][p(0x164)]('test',f[p(0x160)][p(0x154)]));typeof f[p(0x160)][p(0x14a)]==='string'&&(f[p(0x160)]['css']=f['template'][p(0x14a)]===p(0x152)?!![]:![],this['fsi'][p(0x164)](p(0x14a),f[p(0x160)][p(0x14a)]));typeof f[p(0x160)]['js']===p(0x16b)&&(f[p(0x160)]['js']=f['template']['js']===p(0x152)?!![]:![],this[p(0x15c)][p(0x164)]('js',f[p(0x160)]['js']));!f[p(0x170)]&&(f['features']={});const g=b['_']?b['_'][0x0][p(0x163)](':')[0x1]:![],h=b['_']&&aliases[p(0x148)](g);h&&!this[p(0x166)](p(0x168))&&(Log[p(0x13d)](p(0x14b)),this[p(0x15c)][p(0x153)](p(0x168),{'cwd':d}));if(h&&!this[p(0x166)]('react')){Log[p(0x13d)](p(0x15f));return;}const i={'name':pascalCase(b[p(0x145)]),'myPath':a131e[p(0x167)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[p(0x145)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x145)]),'fileName':paramCase(b['resourceName']),'graphql':f[p(0x15e)]['graphql'],'features':f[p(0x170)],'client':f['engines'][p(0x13b)],'api':f[p(0x15e)][p(0x13c)],'ssr':f[p(0x15e)][p(0x16d)],'test':f[p(0x15e)][p(0x154)],'theme':f[p(0x15e)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][p(0x169)]};f[p(0x170)]?.[p(0x16c)]||b['withHook']?await this[p(0x15c)][p(0x160)]({'srcPath':p(0x143),'destPath':e+p(0x171),'framework':p(0x157),'context':i,'config':f}):await this[p(0x15c)][p(0x160)]({'srcPath':p(0x155),'destPath':e+'.js','framework':'react','context':i,'config':f});f[p(0x15e)]['test']!=='none'&&await this['fsi'][p(0x160)]({'srcPath':'test/test.js','destPath':e+p(0x142),'framework':p(0x157),'context':i,'config':f});f[p(0x160)][p(0x14a)]&&(await this[p(0x15c)][p(0x160)]({'srcPath':p(0x156),'destPath':e+p(0x14f),'context':Object[p(0x16a)]({},i,{'className':paramCase(b[p(0x145)])}),'config':f}),await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[p(0x15e)]['js'],'content':p(0x16f)+i[p(0x15a)]+'.'+f[p(0x15e)][p(0x14a)]+'\x27;'}));const j=b[p(0x13e)]?'/'+b['dir']+'/':'/',k=''+c+j+i[p(0x15a)]+'/'+i[p(0x15a)];await this[p(0x15c)][p(0x146)](i['className'],f,k);});});
1
+ const a131n=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0x1a9))/0x1+-parseInt(l(0x1b4))/0x2+parseInt(l(0x1ab))/0x3+-parseInt(l(0x189))/0x4*(-parseInt(l(0x18d))/0x5)+-parseInt(l(0x1b0))/0x6*(parseInt(l(0x1aa))/0x7)+parseInt(l(0x19d))/0x8+parseInt(l(0x194))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x91f1f));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 m=a131d;return a131a[m(0x1b7)]()['search']('(((.+)+)+)+$')[m(0x1b7)]()[m(0x183)](a131a)['search'](m(0x1b3));});function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x17f;let f=c[d];return f;},a131d(a,b);}a131a();import a131e from'path';function a131c(){const q=['relative','withTranslations','assign','template/template.css','className','.app-tests.js','warn','303518YtCkUn','35Trpwnp','3017913EkLHWK','layout','.js','ssr','features','1122576TJXQCM','create','import\x20\x27./','(((.+)+)+)+$','306484MWfMFI','withHooks','Scaffolding\x20for\x20a\x20React\x20Layout.','toString','test/test.js','graphql','string','checkNpmPackage','none','constructor','injectTemplateModule','setTemplate','template','withHook','installNpmPackage','2485816KgHXTV','maka\x20g:l\x20web/safari','fileName','getMakaProjectConfig','5ZeGMKq','split','engines','resourceName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fsi','hook/hook.js','2464425xXjgPQ','/imports/ui/layouts','test','react','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','withValue','ramda','true','maka\x20g:layout\x20mobile/iPhone8','710248yFniPl','pathFromProject','dir','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','css'];a131c=function(){return q;};return a131c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a131n(0x1b1)]({'name':a131n(0x1ac),'aliases':aliases,'usage':a131n(0x1a0),'shortDesc':a131n(0x1b6),'validOpts':[a131n(0x187)],'examples':[a131n(0x19c),a131n(0x18a)]},async function(a,b){const o=a131n,c=o(0x195),d=this[o(0x192)]['findAppDirectory'](),e=this[o(0x192)]['pathFromApp']({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),f=this[o(0x192)][o(0x18c)]();await this[o(0x192)][o(0x199)](f,async()=>{const p=o;typeof f[p(0x186)][p(0x196)]===p(0x180)&&(f['template']['test']=f[p(0x186)]['test']===p(0x19b)?!![]:![],this[p(0x192)][p(0x185)]('test',f[p(0x186)][p(0x196)]));typeof f[p(0x186)]['css']===p(0x180)&&(f[p(0x186)]['css']=f[p(0x186)][p(0x1a1)]===p(0x19b)?!![]:![],this[p(0x192)][p(0x185)](p(0x1a1),f[p(0x186)][p(0x1a1)]));typeof f[p(0x186)]['js']===p(0x180)&&(f['template']['js']=f['template']['js']==='true'?!![]:![],this[p(0x192)][p(0x185)]('js',f[p(0x186)]['js']));!f['features']&&(f['features']={});const g=b['_']?b['_'][0x0][p(0x18e)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this['checkNpmPackage'](p(0x19a))&&(Log[p(0x1a8)](p(0x191)),this[p(0x192)][p(0x188)]('ramda',{'cwd':d}));if(h&&!this[p(0x181)](p(0x197))){Log[p(0x1a8)](p(0x198));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a131e[p(0x1a2)](this[p(0x192)][p(0x19e)]({}),e),'cssCaseName':paramCase(b[p(0x190)]),'className':pascalCase(b[p(0x190)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[p(0x190)]),'graphql':f[p(0x18f)][p(0x17f)],'features':f['features'],'client':f['engines']['client'],'api':f['engines']['api'],'ssr':f[p(0x18f)][p(0x1ae)],'test':f['engines'][p(0x196)],'theme':f[p(0x18f)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][p(0x1a3)]};f[p(0x1af)]?.[p(0x1b5)]||b[p(0x187)]?await this['fsi'][p(0x186)]({'srcPath':p(0x193),'destPath':e+p(0x1ad),'framework':p(0x197),'context':i,'config':f}):await this[p(0x192)][p(0x186)]({'srcPath':'component/component.js','destPath':e+p(0x1ad),'framework':p(0x197),'context':i,'config':f});f[p(0x18f)][p(0x196)]!==p(0x182)&&await this[p(0x192)][p(0x186)]({'srcPath':p(0x1b8),'destPath':e+p(0x1a7),'framework':p(0x197),'context':i,'config':f});f[p(0x186)][p(0x1a1)]&&(await this[p(0x192)]['template']({'srcPath':p(0x1a5),'destPath':e+'.css','context':Object[p(0x1a4)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[p(0x192)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[p(0x18f)]['js'],'content':p(0x1b2)+i[p(0x18b)]+'.'+f[p(0x18f)][p(0x1a1)]+'\x27;'}));const j=b[p(0x19f)]?'/'+b[p(0x19f)]+'/':'/',k=''+c+j+i[p(0x18b)]+'/'+i[p(0x18b)];await this[p(0x192)][p(0x184)](i[p(0x1a6)],f,k);});});
@@ -1 +1 @@
1
- function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x67;let f=c[d];return f;},a132d(a,b);}const a132h=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x67))/0x1+-parseInt(f(0x75))/0x2*(-parseInt(f(0x6c))/0x3)+parseInt(f(0x74))/0x4*(parseInt(f(0x77))/0x5)+-parseInt(f(0x79))/0x6+parseInt(f(0x76))/0x7+parseInt(f(0x6d))/0x8+parseInt(f(0x6a))/0x9*(-parseInt(f(0x69))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xe0d66));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 g=a132d;return a132a['toString']()[g(0x71)](g(0x6e))['toString']()[g(0x78)](a132a)[g(0x71)]('(((.+)+)+)+$');});function a132c(){const i=['maka\x20g:template\x20todos/todo_item','288lZnsQw','12083184DnqqIT','(((.+)+)+)+$','maka\x20g:package\x20package:name','maka\x20g:api\x20trucks','search','Scaffold\x20various\x20parts\x20of\x20your\x20application','generate','2252DaYyYU','7678AAxfWa','11568788naUZpW','6395NllLYM','constructor','7726536hmMaUy','168114lREgIA','maka\x20{generate,\x20g}:<generator>\x20<name>','130fHUFUL','1298007DlhklP'];a132c=function(){return i;};return a132c();}a132a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a132h(0x73),'aliases':['g'],'usage':a132h(0x68),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132h(0x72),'examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos',a132h(0x6b),a132h(0x6f),'maka\x20g:route\x20todos/edit',a132h(0x70),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
1
+ function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x9c;let f=c[d];return f;},a132d(a,b);}const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x9f))/0x1+parseInt(f(0xae))/0x2+-parseInt(f(0xaa))/0x3+-parseInt(f(0xa9))/0x4+-parseInt(f(0xa5))/0x5*(parseInt(f(0x9e))/0x6)+-parseInt(f(0xa7))/0x7*(-parseInt(f(0xb1))/0x8)+parseInt(f(0xad))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xe22c2));function a132c(){const j=['maka\x20g:api\x20trucks','26085897sDRohU','1431850cVByFe','generate','maka\x20g:dbc\x20geoserver\x20--type=pgsql','8925688sygTxx','constructor','maka\x20g:scaffold\x20todos','354FuyWum','593488nggaJa','search','apply','toString','maka\x20g:route\x20todos/edit','maka\x20{generate,\x20g}:<generator>\x20<name>','90490tWHzSd','maka\x20g:template\x20todos/todo_item','7ZzppSD','maka\x20generate:scaffold\x20todos','6001732ugwTtc','1925892XpkIrE','(((.+)+)+)+$'];a132c=function(){return j;};return a132c();}const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a['toString']()[h(0xa0)](h(0xab))[h(0xa2)]()[h(0x9c)](a132a)[h(0xa0)]('(((.+)+)+)+$');});a132a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a132i(0xaf),'aliases':['g'],'usage':a132i(0xa4),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a132i(0xa8),a132i(0x9d),a132i(0xa6),'maka\x20g:package\x20package:name',a132i(0xa3),a132i(0xac),a132i(0xb0)]},function(){});export default MakaGen;
@@ -1 +1 @@
1
- const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0xd5))/0x1+parseInt(j(0xe7))/0x2*(-parseInt(j(0xdf))/0x3)+parseInt(j(0xe3))/0x4*(parseInt(j(0xde))/0x5)+-parseInt(j(0xe4))/0x6+parseInt(j(0xe9))/0x7*(parseInt(j(0xf7))/0x8)+parseInt(j(0xd0))/0x9*(parseInt(j(0xd1))/0xa)+-parseInt(j(0xd7))/0xb*(-parseInt(j(0xec))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xae306));function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xce;let f=c[d];return f;},a133d(a,b);}const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0xf0)]()[l(0xef)](l(0xf2))['toString']()[l(0xe5)](a133a)[l(0xef)]('(((.+)+)+)+$');});a133a();function a133c(){const p=['apply','error','import\x20\x27./methods','maka:check','5qFUFcp','1203EsRAJl','methods','imports','checkMeteorPackage','3227012oQtGfa','5552880ncVYZQ','constructor','startup','4612nAPEKr','getMakaProjectConfig','2051rKfnge','method/method.js','index.','12dObxGH','mdg:validated-method','engines','search','toString','pathFromApp','(((.+)+)+)+$','create','method','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','fsi','30984UyckiV','template','maka\x20g:method\x20todos','1143YGtVoq','91430PpkvCb','tsx','ddp-rate-limiter','-rpc-method\x27;','1193085bogjKy','resourceName','7194506gqBPOq','dir','appPathPrefix'];a133c=function(){return p;};return a133c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133m(0xf3)]({'name':a133m(0xf4),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a133m(0xf5),'validOpts':[a133m(0xd8)],'examples':[a133m(0xcf)]},async function(a,b){const n=a133m;try{const c=this[n(0xf6)][n(0xe8)]();await this[n(0xf6)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0xd6)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[o(0xd6)]),'camelCase':camelCase(b[o(0xd6)]),'noRename':!![]};let g='js';c[o(0xee)]['js']===o(0xd2)&&(g='ts');await this[o(0xf6)][o(0xe2)]([o(0xdd),o(0xd3),o(0xed)],{'shouldInstall':!![]}),await this['fsi'][o(0xce)]({'srcPath':o(0xea),'destPath':this[o(0xf6)]['pathFromApp']({'pathParts':[o(0xe1),'startup',b[o(0xd9)],o(0xe0),b[o(0xd8)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[o(0xd8)]?'/'+b[o(0xd8)]+'/':'/',i=this[o(0xf6)][o(0xf1)]({'pathParts':[o(0xe1),o(0xe6),b['appPathPrefix'],o(0xeb)+c[o(0xee)]['js']]});await this[o(0xf6)]['injectAtEndOfFile']({'filePath':i,'content':o(0xdc)+h+d+o(0xd4)});});}catch(d){Log[n(0xdb)](d);}});
1
+ const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0xf4))/0x1+-parseInt(j(0x105))/0x2*(parseInt(j(0xeb))/0x3)+-parseInt(j(0x100))/0x4*(-parseInt(j(0xec))/0x5)+parseInt(j(0xed))/0x6+-parseInt(j(0xf7))/0x7*(parseInt(j(0x104))/0x8)+parseInt(j(0xef))/0x9+-parseInt(j(0xf2))/0xa*(-parseInt(j(0x107))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x7cab6));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x10c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0xf6)]()[l(0xf0)](l(0x106))[l(0xf6)]()[l(0xe7)](a133a)[l(0xf0)](l(0x106));});a133a();import{Generator}from'../generator.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xe3;let f=c[d];return f;},a133d(a,b);}import{Log}from'../tools/log/log.class.js';function a133c(){const p=['imports','template','mdg:validated-method','dir','index.','fsi','20OTfmAO','appPathPrefix','engines','create','4184UTEQov','67892BZyhuv','(((.+)+)+)+$','17040793HLeOna','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','maka\x20{generate,\x20g}:{method,\x20m}\x20name','maka:check','ddp-rate-limiter','apply','checkMeteorPackage','resourceName','-rpc-method\x27;','withValue','constructor','method/method.js','startup','import\x20\x27./methods','51PRIFHq','440735pdfPmJ','3705246qtTtay','getMakaProjectConfig','1611963GIypPg','search','methods','10cKvbCC','method','735975fzfpRD','maka\x20g:method\x20todos','toString','12887nEsSCB','error','tsx'];a133c=function(){return p;};return a133c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133m(0x103)]({'name':a133m(0xf3),'aliases':['m'],'usage':a133m(0x109),'checkWhere':!![],'shortDesc':a133m(0x108),'validOpts':[a133m(0xfd)],'examples':[a133m(0xf5)]},async function(a,b){const n=a133m;try{const c=this[n(0xff)][n(0xee)]();await this[n(0xff)][n(0xe6)](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':b[o(0xe4)],'fileName':d,'className':pascalCase(b[o(0xe4)]),'camelCase':camelCase(b[o(0xe4)]),'noRename':!![]};let g='js';c[o(0x102)]['js']===o(0xf9)&&(g='ts');await this[o(0xff)][o(0xe3)]([o(0x10a),o(0x10b),o(0xfc)],{'shouldInstall':!![]}),await this[o(0xff)][o(0xfb)]({'srcPath':o(0xe8),'destPath':this[o(0xff)]['pathFromApp']({'pathParts':[o(0xfa),o(0xe9),b[o(0x101)],o(0xf1),b[o(0xfd)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[o(0xfd)]?'/'+b['dir']+'/':'/',i=this[o(0xff)]['pathFromApp']({'pathParts':[o(0xfa),'startup',b[o(0x101)],o(0xfe)+c[o(0x102)]['js']]});await this[o(0xff)]['injectAtEndOfFile']({'filePath':i,'content':o(0xea)+h+d+o(0xe5)});});}catch(d){Log[n(0xf8)](d);}});