@maka/maka-cli 5.0.0 → 5.0.2

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 (166) 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/templates/react/component/component.js.jsx +1 -1
  145. package/bundle/obf/src/templates/react/component/component.js.tsx +1 -1
  146. package/bundle/obf/src/templates/react/hook/hook.js.tsx +1 -1
  147. package/bundle/obf/src/tool.js +1 -1
  148. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  149. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  150. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  152. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  153. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  154. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  155. package/bundle/obf/src/tools/https/https.class.js +1 -1
  156. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  157. package/bundle/obf/src/tools/log/log.class.js +1 -1
  158. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  159. package/bundle/obf/src/tools/options/options.class.js +1 -1
  160. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  161. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  162. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  164. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  166. 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(a,b){const h=a116d,c=a();while(!![]){try{const d=parseInt(h(0x1fa))/0x1*(parseInt(h(0x20e))/0x2)+parseInt(h(0x210))/0x3+-parseInt(h(0x206))/0x4*(-parseInt(h(0x1fd))/0x5)+parseInt(h(0x1f8))/0x6*(-parseInt(h(0x20c))/0x7)+parseInt(h(0x1fc))/0x8+parseInt(h(0x20d))/0x9+-parseInt(h(0x1f6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x6bd69));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x1f9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a[j(0x209)]()[j(0x207)]('(((.+)+)+)+$')[j(0x209)]()['constructor'](a116a)[j(0x207)](j(0x20f));});function a116c(){const n=['25287880kNqSZA','create','2250BxSoTH','apply','5601yMHodY','build','1950368qwkGZs','4082245dgObFp','maka\x20g:dockerfile','app.tar.gz','getMakaProjectConfig','findProjectDirectory','service','Generate\x20an\x20updated\x20dockerfile','maka\x20{generate,\x20g}:dockerfile','join','4yMaIpK','search','withValue','toString','isFile','force','4529hGodTE','5943807AqBawh','230mvSTxV','(((.+)+)+)+$','2545005hsCetQ','getGlobalConfig','dockerfile','fsi','appName'];a116c=function(){return n;};return a116c();}a116a();import{Generator}from'../generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a116d(a,b);}import{Log}from'../tools/log/log.class.js';import a116e from'path';Generator[a116k(0x1f7)]({'name':a116k(0x212),'usage':a116k(0x204),'shortDesc':a116k(0x203),'validOpts':[{'name':'force','boolFlag':!![]}],'noNeedResource':!![],'examples':[a116k(0x1fe)]},async function(a,b){const l=a116k;try{const c=await this[l(0x1f4)][l(0x200)](),d=await this[l(0x1f4)][l(0x211)](),f=this[l(0x1f4)][l(0x201)]();await this[l(0x1f4)][l(0x208)](c,async()=>{const m=l,g={'app':d[m(0x1f5)],'config':c,'appPath':a116e['join'](f,'app'),'bundlePath':a116e[m(0x205)](f,m(0x1fb),m(0x1ff)),'useCert':this[m(0x1f4)][m(0x20a)](d['cert'])};await this[m(0x1f4)]['template']({'srcPath':'docker/Dockerfile','destPath':a116e[m(0x205)](f,'Dockerfile'),'framework':m(0x202),'context':g,'config':c,'force':b[m(0x20b)]});});}catch(g){Log['error'](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
+ const a117o=a117d;function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xfc;let f=c[d];return f;},a117d(a,b);}(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x131))/0x1*(-parseInt(l(0x123))/0x2)+parseInt(l(0x10e))/0x3*(parseInt(l(0x138))/0x4)+-parseInt(l(0x11e))/0x5*(-parseInt(l(0x12b))/0x6)+parseInt(l(0x119))/0x7+parseInt(l(0x106))/0x8*(-parseInt(l(0x139))/0x9)+parseInt(l(0x124))/0xa+-parseInt(l(0x136))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xda2bb));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x10d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x13c)]()[n(0x12f)]('(((.+)+)+)+$')[n(0x13c)]()['constructor'](a117a)[n(0x12f)](n(0x132));});a117a();function a117c(){const r=['template/template.css','1255749lJQjfI','.css','4peMJts','9834147bSxVRe','error','css','toString','maka\x20g:hook\x20cool-hook','components','.js','engines','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','.app-tests.js','relative','warn','test','features','8lPRTIJ','pages','template','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','true','withTranslations','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','apply','1239258YqMfwT','hooks','@apollo/client','notice','test/test.js','none','import\x20\x27./','pathFromApp','graphql','installNpmPackage','pathFromProject','6658680cioSRS','resourceName','force','/imports/ui/components','fsi','750pQOxGz','assign','getMakaProjectConfig','react','className','3072140zpBNep','15492130grSCXr','layouts','apollo','fileName','baseDir','\x20hook...','dir','28920lHNsiH','theme','\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','findAppDirectory','search','setTemplate','1RBSqlE','(((.+)+)+)+$','hook','@apollo/client\x20isomorphic-fetch'];a117c=function(){return r;};return a117c();}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':a117o(0x133),'aliases':['h'],'checkWhere':![],'usage':a117o(0x10c),'shortDesc':a117o(0x109),'validOpts':[{'name':a117o(0x128),'values':[a117o(0x10f),a117o(0xfd),a117o(0x107),a117o(0x125)]},{'name':'force','boolFlag':!![]}],'examples':[a117o(0xfc)],'description':a117o(0x12d)},async function(a,b){const p=a117o;Log[p(0x111)]('Creating\x20'+b[p(0x11a)]+p(0x129));try{const c=this[p(0x11d)]['checkNpmPackage'](p(0x121));if(!c){Log[p(0x13a)](p(0x100));throw new UsageError();}const d=this[p(0x11d)][p(0x12e)](),f=b[p(0x128)]?'/imports/ui/'+b[p(0x128)]:p(0x11c),g=this[p(0x11d)][p(0x115)]({'pathParts':[f,b[p(0x12a)],paramCase(b[p(0x11a)]),paramCase(b[p(0x11a)])]}),h=await this[p(0x11d)][p(0x120)]();await this[p(0x11d)]['withValue'](h,async()=>{const q=p;typeof h[q(0x108)]['css']==='string'&&(h['template'][q(0x13b)]=h[q(0x108)]['css']===q(0x10a)?!![]:![],this[q(0x11d)][q(0x130)](q(0x13b),h[q(0x108)][q(0x13b)]));h[q(0xff)]['graphql']===q(0x126)&&!this[q(0x11d)]['checkNpmPackage'](q(0x110))&&(Log[q(0x103)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[q(0x11d)][q(0x117)](q(0x134),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x11a)]),'camelCaseName':camelCase(b[q(0x11a)]),'className':pascalCase(b[q(0x11a)]),'name':pascalCase(b[q(0x11a)]),'graphql':h[q(0xff)][q(0x116)],'theme':h[q(0xff)][q(0x12c)],'features':h[q(0x105)],'myPath':a117e[q(0x102)](this['fsi'][q(0x118)]({}),g),'fileName':paramCase(b[q(0x11a)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x105)][q(0x10b)]};await this[q(0x11d)]['template']({'srcPath':'hook/hook.js','destPath':g+q(0xfe),'context':i,'config':h,'framework':q(0x121),'force':b[q(0x11b)]});h[q(0x108)]['css']&&(await this['fsi'][q(0x108)]({'srcPath':q(0x135),'destPath':g+q(0x137),'context':Object[q(0x11f)]({},i,{'className':i['cssCaseName']}),'config':h,'force':b['force']}),await this[q(0x11d)]['injectAtBeginningOfFile']({'filePath':g+'.'+h['engines']['js'],'content':q(0x114)+i[q(0x127)]+'.'+h[q(0xff)][q(0x13b)]+'\x27;'}));h[q(0xff)][q(0x104)]!==q(0x113)&&await this[q(0x11d)][q(0x108)]({'srcPath':q(0x112),'destPath':g+q(0x101),'framework':q(0x121),'context':i,'config':h,'force':b[q(0x11b)]});const j=b[q(0x12a)]?'/'+b['dir']+'/':'/',k=''+f+j+i['fileName']+'/'+i[q(0x127)];await this[q(0x11d)]['injectTemplateModule'](i[q(0x122)],h,k);});}catch(i){Log[p(0x13a)](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(0xfb))/0x1+-parseInt(f(0xf3))/0x2*(parseInt(f(0xef))/0x3)+-parseInt(f(0xfa))/0x4*(parseInt(f(0xf2))/0x5)+parseInt(f(0xf4))/0x6+-parseInt(f(0xee))/0x7*(parseInt(f(0xf7))/0x8)+parseInt(f(0xf1))/0x9*(-parseInt(f(0xf5))/0xa)+parseInt(f(0xf8))/0xb*(parseInt(f(0xec))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xba933));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xf9)]()[h(0xf6)]('(((.+)+)+)+$')['toString']()[h(0xf0)](a118a)['search']('(((.+)+)+)+$');});function a118c(){var i=['347103iidGri','constructor','8682507NteJmi','1519315hQDXjD','2DLAUYr','4745616CUQwtL','10nOQRCQ','search','19784KZxhwc','46089098VmvsrA','toString','16bynEEy','602658gaLxqw','12lKBZMn','apply','3731Fcydok'];a118c=function(){return i;};return a118c();}a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xec;var f=c[d];return f;},a118d(a,b);}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(0x9d))/0x1*(parseInt(f(0xa6))/0x2)+-parseInt(f(0x9f))/0x3+-parseInt(f(0xa2))/0x4+-parseInt(f(0x9b))/0x5+parseInt(f(0xa0))/0x6+-parseInt(f(0xa3))/0x7+parseInt(f(0xa5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xd6bb0));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a['toString']()['search'](h(0x9c))[h(0xa7)]()[h(0xa4)](a119a)[h(0x9e)](h(0x9c));});a119a();import'./auth.generator.js';import'./provider.auth.gen.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x9b;var f=c[d];return f;},a119d(a,b);}function a119c(){var i=['toString','590955IYmzQd','(((.+)+)+)+$','20mHWeeg','search','367686ZhznTJ','4383036lJXulI','apply','3284444moNvhm','8948793TdyUZE','constructor','31533384HDFFso','145238QzoLHZ'];a119c=function(){return i;};return a119c();}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 a120h=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0xd5))/0x1*(parseInt(f(0xe4))/0x2)+-parseInt(f(0xdd))/0x3*(-parseInt(f(0xe1))/0x4)+parseInt(f(0xdf))/0x5+parseInt(f(0xd4))/0x6*(parseInt(f(0xe6))/0x7)+-parseInt(f(0xe8))/0x8+parseInt(f(0xdc))/0x9*(parseInt(f(0xd8))/0xa)+parseInt(f(0xe7))/0xb*(-parseInt(f(0xe3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xcd489));function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xd2;let f=c[d];return f;},a120d(a,b);}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(0xd2)]('(((.+)+)+)+$')[g(0xe0)]()[g(0xde)](a120a)['search'](g(0xe2));});function a120c(){const j=['auth','13370aaxvCe','242aAiZsq','6502744XmTTvA','search','maka\x20g:kit:a','3804KRGGiL','7IEtplx','NIE','create','221440thIitX','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','36lVnrDB','27gsXHwu','constructor','936390SleOBw','toString','656384PrdiYe','(((.+)+)+)+$','45624SfJQvr','350380fofzFl'];a120c=function(){return j;};return a120c();}a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator[a120h(0xd7)]({'name':a120h(0xe5),'aliases':['a'],'usage':a120h(0xdb),'noNeedResource':!![],'shortDesc':a120h(0xd9),'validOpts':[''],'isPro':!![],'examples':[a120h(0xd3)],'description':a120h(0xda)},async function(){const i=a120h;throw i(0xd6);},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(0x181))/0x1+-parseInt(o(0x168))/0x2+parseInt(o(0x18c))/0x3+-parseInt(o(0x172))/0x4+-parseInt(o(0x191))/0x5+-parseInt(o(0x16d))/0x6*(-parseInt(o(0x179))/0x7)+parseInt(o(0x175))/0x8*(parseInt(o(0x1a3))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x1b808));function a121c(){const u=['withValue','exit','authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','engines','fsi','alanning:roles','\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','constructor','27hOwXZD','const\x20registerNewUser','getMakaProjectConfig','Meteor.startup','error','publish','react','authentication-provider','298666EqEqPR','(((.+)+)+)+$','Meteor','/imports/startup/client/authentication-service','startup','333522VrFaBu','const\x20resetPasswordWithToken','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','accounts-password','export\x20const\x20AuthProvider','498508GjOBBP','\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/accounts-base','879768ibyLru','meteor/meteor','REACT','true','7dkBiqx','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','const\x20getUserAuthorizations','const\x20authenticateUser','injectImport','apply','\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','99622EHgXOP','injectIntoCodeBlock','force','index','search','Meteor.publish','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','ssr','imports','555405RgSaLs','pathFromApp','toString','return\x20\x5c(','kit/auth/service/meteor-auth-service.js','422025BfBWzV','AuthService','create','const\x20deauthenticateUser','/imports/startup/client','\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','Accounts','processAndRunGenerator','kit:auth:provider'];a121c=function(){return u;};return a121c();}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x18e)]()['search'](q(0x169))[q(0x18e)]()[q(0x1a2)](a121a)[q(0x185)](q(0x169));});a121a();import{Generator}from'../../../generator.js';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-0x168;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[a121r(0x193)]({'name':'meteor','aliases':['m'],'usage':a121r(0x17b),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x177)]},'description':a121r(0x173)},async function(a,b){const s=a121r;try{const c=b[s(0x183)]||![];await this[s(0x19f)][s(0x188)]([s(0x170),s(0x1a0)],{'shouldInstall':!![]});const d=this[s(0x19f)]['findProjectDirectory'](),f=this[s(0x19f)][s(0x1a5)](),g=f[s(0x19e)][s(0x18a)]===s(0x178);await a121f[s(0x198)](s(0x199),[],{'force':c,'cwd':d,'config':f});const h=await a121f['processAndRunGenerator'](s(0x1a8),['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':s(0x195),j=this[s(0x19f)][s(0x18d)]({'pathParts':[i,'','',s(0x19c)]});await this[s(0x19f)][s(0x19a)](f,async()=>{const t=s;await this[t(0x19f)]['template']({'srcPath':t(0x190),'destPath':j+'.js','framework':t(0x1a9),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x19f)][s(0x18d)]({'pathParts':[i,'','',s(0x1aa)]}),l=f['engines']['js'];await this['fsi'][s(0x17e)]({'filePath':k+'.'+l,'importName':s(0x192),'modulePath':g?'/imports/startup/lib/authentication-service':s(0x16b),'isNamedExport':![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x1a1),'begin':s(0x17d),'replace':!![]}),await this[s(0x19f)][s(0x182)]({'filePath':k+'.'+l,'content':s(0x180),'begin':'const\x20authenticateToken','replace':!![]}),await this[s(0x19f)][s(0x182)]({'filePath':k+'.'+l,'content':s(0x187),'begin':s(0x17c),'replace':!![]}),await this[s(0x19f)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x19d),'begin':s(0x194),'replace':!![]}),await this[s(0x19f)][s(0x182)]({'filePath':k+'.'+l,'content':s(0x17a),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await this[s(0x19f)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x16f),'begin':s(0x1a4),'replace':!![]}),await this[s(0x19f)][s(0x182)]({'filePath':k+'.'+l,'content':s(0x189),'begin':s(0x16e),'replace':!![]});g&&(await this[s(0x19f)][s(0x17e)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await this[s(0x19f)]['injectIntoFile']({'filePath':k+'.'+l,'content':s(0x196),'begin':s(0x171),'end':s(0x18f)}));await this['fsi']['injectImport']({'filePath':h,'importName':s(0x16a),'modulePath':s(0x176),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x19f)][s(0x182)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x186),'replace':!![]});const m=this[s(0x19f)][s(0x18d)]({'pathParts':[s(0x18b),s(0x16c),'server',s(0x184)]});await this['fsi'][s(0x17e)]({'filePath':m+'.'+l,'importName':s(0x197),'modulePath':s(0x174),'isNamedExport':!![]}),await this['fsi'][s(0x182)]({'filePath':m+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x1a6),'replace':!![]});}catch(n){Log[s(0x1a7)](n),process[s(0x19b)](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(0x1ea))/0x1*(parseInt(u(0x202))/0x2)+-parseInt(u(0x1e4))/0x3*(-parseInt(u(0x1d7))/0x4)+-parseInt(u(0x1d6))/0x5*(parseInt(u(0x1f4))/0x6)+parseInt(u(0x1e8))/0x7+-parseInt(u(0x1e6))/0x8*(-parseInt(u(0x203))/0x9)+-parseInt(u(0x1db))/0xa+-parseInt(u(0x200))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xef281));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0x1e9)]()[w(0x1eb)](w(0x1e0))[w(0x1e9)]()[w(0x1ed)](a122a)[w(0x1eb)]('(((.+)+)+)+$');});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';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=['Creating\x20an\x20AuthProvider\x20and\x20AuthContext','5522176TuAPdX','exit','68GviTZm','135FVUxCD','const\x20PrivateRoute','pathFromApp','.js','REACT','kit/auth/provider/authentication-provider.js','bright','fsi','create','</AuthProvider>','/imports/startup/client','true','4335kspcze','4280ypKBlv','<AppRoutes\x20/>','/routes','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','5892190XOQiam','getMakaProjectConfig','replaceAll','injectAroundString','/imports/startup/lib/authentication-provider','(((.+)+)+)+$','/imports/startup/client/authentication-provider','apply','split','1299KSFlVs','\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','327768hyBsUg','injectImport','12122474LjnsXt','toString','8139Nxxapi','search','error','constructor','\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\x20useAuth','useContext','injectIntoCodeBlock','\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','3198DXDSpE','react','<AuthProvider>','provider','/imports/startup/client/index','/imports/startup/server/index','force','engines','ssr','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','template'];a122c=function(){return A;};return a122c();}import a122e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122x(0x1d2)]({'name':a122x(0x1f7),'aliases':['p'],'usage':a122x(0x1fd),'shortDesc':a122x(0x1da),'validOpts':[a122x(0x1fa)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0x207)]},'description':a122x(0x1f2)},async function(a,b){const y=a122x;try{const c=b[y(0x1fa)]||![];Log[y(0x1d0)](y(0x1ff));const d=this['fsi'][y(0x1dc)](),f=d[y(0x1fb)][y(0x1fc)]===y(0x1d5),g={'name':headerCase(d['appName'])[y(0x1dd)]('-','\x20')},h=f?'/imports/startup/lib':y(0x1d4),i=this[y(0x1d1)][y(0x205)]({'pathParts':[h,'','','authentication-provider']});await this[y(0x1d1)]['withValue'](d,async()=>{const z=y;await this['fsi'][z(0x1fe)]({'srcPath':z(0x208),'destPath':i+z(0x206),'framework':z(0x1f5),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x1fb)]['js'],k=h+y(0x1d9),l=k['split']('/'),m=this[y(0x1d1)][y(0x205)]({'pathParts':l});await this[y(0x1d1)][y(0x1e7)]({'filePath':m+'.'+j,'importName':y(0x1f3),'modulePath':f?y(0x1df):y(0x1e1),'isNamedExport':!![]}),await this[y(0x1d1)][y(0x1e7)]({'filePath':m+'.'+j,'importName':y(0x1f0),'modulePath':y(0x1f5),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x1d1)][y(0x1f1)]({'filePath':m+'.'+j,'content':y(0x1ee),'begin':[y(0x1ef),'function\x20useAuth'],'replace':!![]}),await this[y(0x1d1)][y(0x1f1)]({'filePath':m+'.'+j,'content':y(0x1e5),'begin':[y(0x204)],'replace':!![]});const n=y(0x1f8),o=n[y(0x1e3)]('/'),p=this[y(0x1d1)]['pathFromApp']({'pathParts':o});await this[y(0x1d1)]['injectImport']({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x1d1)][y(0x1de)]({'filePath':p+'.'+j,'aboveContent':y(0x1f6),'belowContent':y(0x1d3),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1f9),r=q['split']('/'),s=this[y(0x1d1)][y(0x205)]({'pathParts':r});await this[y(0x1d1)]['injectImport']({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x1df):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi'][y(0x1de)]({'filePath':s+'.'+j,'aboveContent':y(0x1f6),'belowContent':y(0x1d3),'targetString':y(0x1d8),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x1ec)](t),process[y(0x201)](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(0x1ec))/0x1*(-parseInt(f(0x1f2))/0x2)+-parseInt(f(0x1ee))/0x3+-parseInt(f(0x1f4))/0x4+parseInt(f(0x1f3))/0x5*(parseInt(f(0x1f0))/0x6)+parseInt(f(0x1f6))/0x7+-parseInt(f(0x1ed))/0x8*(-parseInt(f(0x1eb))/0x9)+parseInt(f(0x1ef))/0xa*(parseInt(f(0x1f7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xc2e88));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['toString']()[g(0x1f5)]('(((.+)+)+)+$')[g(0x1f1)]()[g(0x1ea)](a123a)[g(0x1f5)]('(((.+)+)+)+$');});a123a();function a123c(){var h=['toString','14yuCtjY','10RvdsFC','4890688hBfBKQ','search','5571566pPPZYp','11055OvWyTi','constructor','1971EtcZih','202374kkZxUW','9528IekJzN','2517900GzSQCR','1070nvbqmf','838188sADxaU'];a123c=function(){return h;};return a123c();}import'./esri.generator.js';function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x1ea;var f=c[d];return f;},a123d(a,b);}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(0x187))/0x1*(parseInt(f(0x186))/0x2)+parseInt(f(0x193))/0x3+-parseInt(f(0x185))/0x4+parseInt(f(0x191))/0x5+parseInt(f(0x192))/0x6*(-parseInt(f(0x188))/0x7)+-parseInt(f(0x194))/0x8+-parseInt(f(0x18c))/0x9*(-parseInt(f(0x18f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xdab7a));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x18b)]()['search'](h(0x182))[h(0x18b)]()['constructor'](a124a)[h(0x184)](h(0x182));});a124a();import{Generator}from'../../../generator.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x182;let f=c[d];return f;},a124d(a,b);}import a124e from'../kit.js';const EsriGen=Generator[a124i(0x18d)]({'name':a124i(0x190),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a124i(0x189),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a124i(0x18e)},async function(){const j=a124i;return{'success':!![],'message':j(0x18a),'details':{'filesCreated':[j(0x183)],'filesUpdated':['/foo']}};},async function(){},a124e);export default EsriGen;function a124c(){const k=['apply','(((.+)+)+)+$','/foo/bar','search','4177568tKxOtn','506812TxVbff','2yFCQGn','26509EODAQp','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','Esri\x20Kit\x20generated\x20successfully','toString','20881971NjrjGZ','create','\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','10AUnmnH','esri','1296950kwBTwO','1326pqfhhJ','3982440mKSIRA','13093728JtkUbu'];a124c=function(){return k;};return a124c();}
@@ -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
+ function a125c(){const v=['create','.js','(((.+)+)+)+$','page','esri-loader','constructor','split','apply','/imports/ui/hooks','dir','findProjectDirectory','1TLwAZr','error','react','756608JnBXuT','injectTemplateModule','search','528105orleeD','map','@esri/react-arcgis','exit','fsi','331191Uaecdy','injectImport','kit/esri/map/','Generating\x20a\x20map\x20component','baseDir','checkNpmPackage','toString','engines','processAndRunGenerator','getMakaProjectConfig','injectIntoFile','<div\x20id=\x22map\x22>','71141cVWlJb','/imports/startup/lib/templates','ssr','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','16NMjdlI','102SjfLTp','/imports/ui/','bright','84442PwKoDK','pathFromApp','FALSE','REACT','</div>','1436470uwfLyf','484887fSEKpr','/imports/startup/client/templates'];a125c=function(){return v;};return a125c();}const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0x201))/0x1*(parseInt(p(0x1ee))/0x2)+parseInt(p(0x1f4))/0x3+-parseInt(p(0x204))/0x4+parseInt(p(0x207))/0x5+parseInt(p(0x21d))/0x6*(parseInt(p(0x218))/0x7)+parseInt(p(0x21c))/0x8*(parseInt(p(0x20c))/0x9)+-parseInt(p(0x1f3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x21d67));function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a125d(a,b);}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x1fd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x212)]()[r(0x206)](r(0x1f8))[r(0x212)]()[r(0x1fb)](a125a)[r(0x206)]('(((.+)+)+)+$');});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';Generator[a125s(0x1f6)]({'name':a125s(0x208),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x1f1)],'ssr':SsrEngines[a125s(0x1f0)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const t=a125s;try{Log[t(0x21f)](t(0x20f));const c='basic-map';await this[t(0x20b)][t(0x211)]([t(0x209),t(0x1fa)],{'shouldInstall':!![]});const d=this[t(0x20b)][t(0x200)](),f=this[t(0x20b)][t(0x215)](),g=f[t(0x213)][t(0x21a)]==='true',h=await a125f[t(0x214)](t(0x1f9),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x210)]?t(0x21e)+b['baseDir']:t(0x1fe),k=this[t(0x20b)][t(0x1ef)]({'pathParts':[j,b[t(0x1ff)],paramCase(c),paramCase(c)]});await this['fsi']['withValue'](f,async()=>{const u=t;await this[u(0x20b)]['template']({'srcPath':u(0x20e)+c+u(0x1f7),'destPath':k+u(0x1f7),'framework':u(0x203),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x1ff)]+'/'+c+'/'+c;await this[t(0x20b)][t(0x205)](c,f,l);const m=h[t(0x1fc)]('/'),n=this[t(0x20b)][t(0x1ef)]({'pathParts':m});await this[t(0x20b)][t(0x20d)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x219):t(0x1f5),'isNamedExport':!![]}),await this[t(0x20b)][t(0x216)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x21b),'begin':[t(0x217),t(0x217)],'end':[t(0x1f2)],'replace':!![]});}catch(o){Log[t(0x202)](o),process[t(0x20a)](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
+ const a126i=a126d;function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xd7;let f=c[d];return f;},a126d(a,b);}function a126c(){const j=['1288147HDAuMG','10pcWEBp','constructor','2TIxIiq','toString','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','apply','3912YcTiDT','create','1892664VMAvej','maka\x20{generate,\x20g}:{kit}\x20<name>','kit','4989941kDVMrF','205676hcjdQI','145kiBZaY','maka\x20g:kit','192722ReVQbq','12vfuDEf','(((.+)+)+)+$','search','maka\x20g:k','953808HWxOAL'];a126c=function(){return j;};return a126c();}(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0xd9))/0x1*(-parseInt(f(0xe2))/0x2)+-parseInt(f(0xda))/0x3*(-parseInt(f(0xec))/0x4)+parseInt(f(0xd7))/0x5*(parseInt(f(0xe6))/0x6)+-parseInt(f(0xdf))/0x7+parseInt(f(0xde))/0x8+parseInt(f(0xe8))/0x9+-parseInt(f(0xe0))/0xa*(parseInt(f(0xeb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x1aa78));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0xe3)]()[h(0xdc)](h(0xdb))[h(0xe3)]()[h(0xe1)](a126a)[h(0xdc)](h(0xdb));});a126a();import{Generator}from'../../generator.js';const KitGen=Generator[a126i(0xe7)]({'name':a126i(0xea),'aliases':['k'],'usage':a126i(0xe9),'shortDesc':a126i(0xe4),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0xd8),a126i(0xdd)]},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 a127c(){var i=['2500992IkZdDF','137570FQsVRY','search','2645904DlYkFU','558989PbfhPx','17676YRFfNK','constructor','8353513HsLpvP','4448vHnrGI','402858LVcfOA','4aTNmna','toString','110LcFhjD','440EgwEXh','(((.+)+)+)+$','apply'];a127c=function(){return i;};return a127c();}(function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(0x130))/0x1+parseInt(f(0x12c))/0x2+parseInt(f(0x12f))/0x3*(parseInt(f(0x126))/0x4)+parseInt(f(0x128))/0x5*(-parseInt(f(0x135))/0x6)+parseInt(f(0x133))/0x7+parseInt(f(0x134))/0x8*(-parseInt(f(0x131))/0x9)+-parseInt(f(0x12d))/0xa*(-parseInt(f(0x129))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xb69d0));function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x126;var f=c[d];return f;},a127d(a,b);}var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x127)]()[h(0x12e)](h(0x12a))[h(0x127)]()[h(0x132)](a127a)[h(0x12e)](h(0x12a));});a127a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -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=['kit/mui/auth/register/','meteor','basic-register-page','getMakaProjectConfig','MATERIAL','toString','1704498KSWRHa','route','3069vffdyx','30LBDzJX','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','baseDir','.js','pathFromApp','kit/mui/auth/logout/','70PRYNaH','(((.+)+)+)+$','auth','injectImport','/imports/startup/lib/authentication-provider','basic-login-page','login','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','constructor','list','authType','fsi','3EjvcQN','basic-forgot-password-page','maka\x20generate:kit:mui:frame','32976ZLycvp','options','kit:auth:meteor','split','/imports/startup/client/authentication-provider','Custom\x20(roll\x20your\x20own)','kit/mui/auth/password-reset/','search','basic-password-reset-page','template','/imports/ui/','Meteor\x20Accounts','layouts','reset-password/:token','react','log','REACT','kit/mui/auth/forgot-password/','1941368hpYUME','35BAuiAM','processAndRunGenerator','error','custom','basic-logout-page','dir','injectTemplateModule','maka\x20g:k:m:f','true','apply','182212qlGRWm','force','kit/mui/auth/login/','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','860797FdqzdC','withValue','644396igNwAF','AuthContext','632061ICHABs'];a128c=function(){return N;};return a128c();}(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0xbb))/0x1+-parseInt(G(0xc4))/0x2*(-parseInt(G(0xd9))/0x3)+parseInt(G(0xb5))/0x4*(-parseInt(G(0xab))/0x5)+parseInt(G(0xc7))/0x6*(parseInt(G(0xb9))/0x7)+parseInt(G(0xaa))/0x8+-parseInt(G(0xbd))/0x9*(-parseInt(G(0xcd))/0xa)+-parseInt(G(0xc6))/0xb*(parseInt(G(0xdc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x7317b));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0xc3)]()[I(0xe3)](I(0xce))[I(0xc3)]()[I(0xd5)](a128a)[I(0xe3)](I(0xce));});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-0xa0;let f=c[d];return f;},a128d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a128J(0xcf),'aliases':['a'],'usage':a128J(0xb8),'shortDesc':a128J(0xc8),'validOpts':[a128J(0xa4),a128J(0xb6)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0xc2)],'client':ClientEngines[a128J(0xa8)]},'examples':[a128J(0xdb),a128J(0xb2)],'description':a128J(0xd4)},async function(a,b){const K=a128J;try{const c=b['force']||![],d=this[K(0xd8)]['findProjectDirectory'](),f=this[K(0xd8)][K(0xc1)](),{authType:g}=await Actions[K(0xdd)]({'type':K(0xd6),'name':K(0xd7),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':K(0xa3),'value':K(0xbf)},{'name':K(0xe1),'value':K(0xae)}]}),h='basic-login-page',i='basic-logout-page',j=K(0xc0),k=K(0xa0),l='basic-forgot-password-page',m=b['baseDir']?K(0xa2)+b[K(0xc9)]:'/imports/ui/pages/auth',n=this[K(0xd8)][K(0xcb)]({'pathParts':[m,b[K(0xb0)],paramCase(h),paramCase(h)]}),o=this['fsi'][K(0xcb)]({'pathParts':[m,b[K(0xb0)],paramCase(i),paramCase(i)]}),p=this[K(0xd8)][K(0xcb)]({'pathParts':[m,b[K(0xb0)],paramCase(j),paramCase(j)]}),q=this['fsi'][K(0xcb)]({'pathParts':[m,b[K(0xb0)],paramCase(k),paramCase(k)]}),r=this[K(0xd8)][K(0xcb)]({'pathParts':[m,b[K(0xb0)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f['appName'])['replaceAll']('-','\x20')};await this[K(0xd8)][K(0xba)](f,async()=>{const L=K;await this[L(0xd8)][L(0xa1)]({'srcPath':L(0xb7)+h+L(0xca),'destPath':n+L(0xca),'framework':L(0xa6),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0xa1)]({'srcPath':L(0xcc)+i+'.js','destPath':o+L(0xca),'framework':L(0xa6),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0xa1)]({'srcPath':L(0xbe)+j+L(0xca),'destPath':p+L(0xca),'framework':L(0xa6),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xd8)][L(0xa1)]({'srcPath':L(0xe2)+k+L(0xca),'destPath':q+L(0xca),'framework':L(0xa6),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xd8)][L(0xa1)]({'srcPath':L(0xa9)+l+L(0xca),'destPath':r+L(0xca),'framework':L(0xa6),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0xb0)]+'/'+h+'/'+h;await this[K(0xd8)][K(0xb1)](h,f,t);const u=''+m+b[K(0xb0)]+'/'+i+'/'+i;await this[K(0xd8)][K(0xb1)](i,f,u);const v=''+m+b[K(0xb0)]+'/'+j+'/'+j;await this['fsi']['injectTemplateModule'](j,f,v);const w=''+m+b[K(0xb0)]+'/'+k+'/'+k;await this[K(0xd8)][K(0xb1)](k,f,w);const x=''+m+b[K(0xb0)]+'/'+l+'/'+l;await this['fsi'][K(0xb1)](l,f,x),await a128e[K(0xac)](K(0xc5),[K(0xd2)],{'route':K(0xd3),'cwd':d,'config':f}),await a128e[K(0xac)](K(0xc5),[K(0xaf)],{'route':'logout','private':!![],'cwd':d,'config':f}),await a128e[K(0xac)](K(0xc5),[K(0xc0)],{'route':'register','cwd':d,'config':f}),await a128e[K(0xac)](K(0xc5),[K(0xa0)],{'route':K(0xa5),'cwd':d,'config':f}),await a128e[K(0xac)](K(0xc5),[K(0xda)],{'route':'forgot-password','cwd':d,'config':f});g===K(0xbf)&&await a128e[K(0xac)](K(0xde),[],{'force':c,'cwd':d,'config':f});g===K(0xae)&&await a128e[K(0xac)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f['engines']['ssr']===K(0xb3),z=f['engines']['js'],A=this[K(0xd8)][K(0xcb)]({'pathParts':t[K(0xdf)]('/')});await this[K(0xd8)][K(0xd0)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?K(0xd1):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[K(0xd8)][K(0xcb)]({'pathParts':u[K(0xdf)]('/')});await this[K(0xd8)][K(0xd0)]({'filePath':B+'.'+z,'importName':K(0xbc),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0xe0),'isNamedExport':!![]});const C=this[K(0xd8)][K(0xcb)]({'pathParts':v[K(0xdf)]('/')});await this['fsi'][K(0xd0)]({'filePath':C+'.'+z,'importName':K(0xbc),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0xe0),'isNamedExport':!![]});const D=this[K(0xd8)][K(0xcb)]({'pathParts':w[K(0xdf)]('/')});await this[K(0xd8)]['injectImport']({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?K(0xd1):K(0xe0),'isNamedExport':!![]});const E=this[K(0xd8)]['pathFromApp']({'pathParts':x['split']('/')});await this[K(0xd8)]['injectImport']({'filePath':E+'.'+z,'importName':K(0xbc),'modulePath':y?K(0xd1):K(0xe0),'isNamedExport':!![]});}catch(F){Log[K(0xad)](F);}},async function(){const M=a128J;console[M(0xa7)]('Cleaning\x20up...');},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 a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0x11c))/0x1+parseInt(B(0x132))/0x2+-parseInt(B(0x126))/0x3*(-parseInt(B(0x14a))/0x4)+parseInt(B(0x108))/0x5*(parseInt(B(0x10b))/0x6)+parseInt(B(0x10f))/0x7+-parseInt(B(0x10a))/0x8*(parseInt(B(0x144))/0x9)+-parseInt(B(0x130))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xb2fd9));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x125)]()['search'](D(0x11f))[D(0x125)]()[D(0x106)](a129a)[D(0x12f)](D(0x11f));});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';function a129c(){const I=['checkMeteorPackage','<Outlet/>','<div\x20id=\x22','injectImport','Box','fsi','react','search','9936830IHCGUZ','tsx','507202SOyNKy','join','injectAroundString','kit/mui/frame/app-bars/','getFiles','apply','@mui/material/Container','injectTemplateModule','/imports/ui/','length','tests','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','true','<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>','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','injectIntoFile','dir','/imports/ui/components','5286618roYDyL','test','checkbox','Container','.js','replaceAll','1452OkRHPv','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','appName','options','layouts','maka:react-tracker','constructor','Cleaning\x20up...','880BeKfTf','pathFromApp','16qzZina','20952ajAKRK','create','-hook\x22>','findAppDirectory','3258444BSHUrf','/imports/startup/lib/templates','withValue','baseDir','kit/mui/frame/drawers/','template','engines','ssr','MATERIAL','imports','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','No\x20layouts\x20selected','@mui/material/Box','353349USHbKm','log','basic-app-bar','(((.+)+)+)+$','force','\x20/>\x0a','<Outlet\x20/>','maka\x20g:k:m:f','session','toString','10038mZZTyW','basic-drawer'];a129c=function(){return I;};return a129c();}import a129f from'./mui.generator.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x104;let f=c[d];return f;},a129d(a,b);}import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0x10c)]({'name':'frame','aliases':['f'],'usage':a129E(0x13d),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a129E(0x104),a129E(0x112),'dir','force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x117)],'client':ClientEngines['REACT']},'examples':['maka\x20generate:kit:mui:frame',a129E(0x123)],'description':a129E(0x119)},async function(a,b){const F=a129E;try{const c=b[F(0x120)]||![],d=F(0x11e),f=F(0x127),g='basic-sticky-footer',h=this['fsi']['getMakaProjectConfig'](),i=h[F(0x115)][F(0x116)]===F(0x13e);await this[F(0x12d)][F(0x128)]([F(0x124),F(0x105)],{'shouldInstall':!![]});const j=this['fsi'][F(0x10e)](),k=a129e['join'](j,F(0x118),'ui',F(0x104)),l=this[F(0x12d)]['getDirectories'](k),m=await Actions[F(0x14d)]({'type':F(0x146),'name':F(0x104),'message':F(0x14b),'choices':l});if(m[F(0x104)][F(0x13b)]===0x0){Log['error'](F(0x11a));return;}const n=b[F(0x112)]?F(0x13a)+b[F(0x112)]:F(0x143),o=this[F(0x12d)]['pathFromApp']({'pathParts':[n,b[F(0x142)],paramCase(d),paramCase(d)]}),p=this[F(0x12d)][F(0x109)]({'pathParts':[n,b[F(0x142)],paramCase(f),paramCase(f)]}),q=this['fsi'][F(0x109)]({'pathParts':[n,b[F(0x142)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x14c)])[F(0x149)]('-','\x20')};await this[F(0x12d)][F(0x111)](h,async()=>{const G=F;await this[G(0x12d)]['template']({'srcPath':G(0x135)+d+G(0x148),'destPath':o+G(0x148),'framework':G(0x12e),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x114)]({'srcPath':G(0x113)+f+G(0x148),'destPath':p+'.js','framework':G(0x12e),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x12d)][G(0x114)]({'srcPath':'kit/mui/frame/footers/'+g+G(0x148),'destPath':q+'.js','framework':G(0x12e),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this[F(0x12d)][F(0x139)](d,h,s);const t=''+n+b[F(0x142)]+'/'+f+'/'+f;await this[F(0x12d)][F(0x139)](f,h,t);const u=''+n+b[F(0x142)]+'/'+g+'/'+g;await this[F(0x12d)][F(0x139)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x12d)][F(0x136)](a129e[F(0x133)](k,w),{'extensions':['jsx',F(0x131)],'omit':['app-tests',F(0x13c),F(0x145)]});for(const y of x){const z=a129e[F(0x133)](k,w,y);await this[F(0x12d)][F(0x12b)]({'filePath':z,'importName':F(0x12c),'modulePath':F(0x11b),'isNamedExport':![]}),await this[F(0x12d)][F(0x12b)]({'filePath':z,'importName':F(0x147),'modulePath':F(0x138),'isNamedExport':![]}),await this[F(0x12d)][F(0x12b)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x110):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x12d)][F(0x141)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x12a)+w+'\x22>',F(0x12a)+w+F(0x10d)],'end':[F(0x129)]}),await this[F(0x12d)][F(0x12b)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x12d)][F(0x141)]({'filePath':z,'content':'<'+pascalCase(f)+'\x20/>\x0a','begin':[F(0x12a)+w+'\x22>','<div\x20id=\x22'+w+F(0x10d)],'end':[F(0x129),F(0x122)]}),await this[F(0x12d)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+F(0x121),'begin':['<Outlet/>','<Outlet\x20/>'],'end':['</div>']}),await this[F(0x12d)][F(0x12b)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x110):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x12d)][F(0x134)]({'filePath':z,'aboveContent':F(0x13f),'belowContent':F(0x140),'targetString':[F(0x129),'<Outlet/>'],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const H=a129E;console[H(0x11d)](H(0x107));},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(0xcb))/0x1*(parseInt(g(0xda))/0x2)+parseInt(g(0xc1))/0x3+parseInt(g(0xca))/0x4+-parseInt(g(0xd1))/0x5*(-parseInt(g(0xdb))/0x6)+-parseInt(g(0xd5))/0x7*(parseInt(g(0xc9))/0x8)+-parseInt(g(0xc3))/0x9+-parseInt(g(0xdd))/0xa*(-parseInt(g(0xd2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x2a4b9));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a['toString']()['search'](i(0xcd))[i(0xd7)]()[i(0xce)](a130a)[i(0xc4)](i(0xcd));});function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xc1;let f=c[d];return f;},a130d(a,b);}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';import a130f from'../kit.js';function a130c(){const l=['40079dMgslL','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','(((.+)+)+)+$','constructor','length','info','1080OttZMS','22bonMMH','mui','fsi','1057ixeDyc','processAndRunGenerator','toString','kitChoices','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','10iCJxWG','7392ykOTxU','kit:mui:frame','858530alSAiN','maka\x20g:kit:m','options','Header,\x20Footer,\x20and\x20Drawer','516795GRoQed','apply','2905056JiWqmC','search','frame','includes','\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','auth','10064oGfIcM','1105180tCtdzX'];a130c=function(){return l;};return a130c();}const MuiGen=Generator['create']({'name':a130j(0xd3),'aliases':['m'],'usage':a130j(0xcc),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a130j(0xde)]},async function(){const k=a130j;Log[k(0xd0)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log['notice'](k(0xc7));const {kitChoices:a}=await Actions[k(0xdf)]({'type':'checkbox','name':k(0xd8),'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':k(0xe0),'value':'frame'},{'name':k(0xd9),'value':k(0xc8)}]}),b=this['fsi']['findProjectDirectory'](),c=this[k(0xd4)]['getMakaProjectConfig']();a[k(0xc6)](k(0xc5))&&await a130e[k(0xd6)](k(0xdc),[],{'force':!![],'cwd':b,'config':c});a[k(0xc6)]('auth')&&await a130e[k(0xd6)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0xcf)]===0x0){Log['info']('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}},async function(){},a130f);export default MuiGen;
@@ -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 a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=parseInt(l(0x78))/0x1+-parseInt(l(0x9e))/0x2*(-parseInt(l(0x96))/0x3)+-parseInt(l(0x95))/0x4*(parseInt(l(0xab))/0x5)+-parseInt(l(0xa4))/0x6+parseInt(l(0xa3))/0x7*(parseInt(l(0x77))/0x8)+-parseInt(l(0x75))/0x9*(parseInt(l(0xa8))/0xa)+parseInt(l(0x98))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xa061c));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a['toString']()['search'](n(0xa2))[n(0x7e)]()[n(0x7b)](a131a)[n(0x8d)]('(((.+)+)+)+$');});a131a();import a131e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a131c(){const r=['fileName','2kfCZEM','injectTemplateModule','template/template.css','setTemplate','(((.+)+)+)+$','4084871CFrnwt','214872VMjIrR','fsi','features','api','1270hOuqFp','/imports/ui/layouts','react','2358305ObhhbE','pathFromProject','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','create','ramda','checkNpmPackage','engines','split','findAppDirectory','warn','relative','string','injectAtBeginningOfFile','test/test.js','none','70326HsXRJY','.app-tests.js','8owchSb','913554kBSRxV','client','maka\x20g:l\x20web/safari','constructor','installNpmPackage','withHook','toString','Scaffolding\x20for\x20a\x20React\x20Layout.','dir','.js','import\x20\x27./','layout','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','theme','hook/hook.js','css','graphql','component/component.js','getMakaProjectConfig','withHooks','ssr','search','template','resourceName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','test','includes','className','withValue','4UUYDmj','899169pJljhM','maka\x20g:layout\x20mobile/iPhone8','3959395EfHIsj','pathFromApp','true','apply','assign'];a131c=function(){return r;};return a131c();}function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x71;let f=c[d];return f;},a131d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a131o(0xae)]({'name':a131o(0x83),'aliases':aliases,'usage':a131o(0xad),'shortDesc':a131o(0x7f),'validOpts':['withHook'],'examples':[a131o(0x97),a131o(0x7a)]},async function(a,b){const p=a131o,c=p(0xa9),d=this['fsi'][p(0xb3)](),e=this[p(0xa5)][p(0x99)]({'pathParts':[c,b[p(0x80)],paramCase(b[p(0x8f)]),paramCase(b[p(0x8f)])]}),f=this['fsi'][p(0x8a)]();await this['fsi'][p(0x94)](f,async()=>{const q=p;typeof f['template'][q(0x91)]==='string'&&(f[q(0x8e)][q(0x91)]=f[q(0x8e)][q(0x91)]===q(0x9a)?!![]:![],this[q(0xa5)][q(0xa1)]('test',f[q(0x8e)][q(0x91)]));typeof f[q(0x8e)][q(0x87)]===q(0x71)&&(f['template']['css']=f['template'][q(0x87)]===q(0x9a)?!![]:![],this['fsi']['setTemplate'](q(0x87),f[q(0x8e)]['css']));typeof f[q(0x8e)]['js']===q(0x71)&&(f[q(0x8e)]['js']=f[q(0x8e)]['js']===q(0x9a)?!![]:![],this['fsi'][q(0xa1)]('js',f[q(0x8e)]['js']));!f[q(0xa6)]&&(f[q(0xa6)]={});const g=b['_']?b['_'][0x0][q(0xb2)](':')[0x1]:![],h=b['_']&&aliases[q(0x92)](g);h&&!this[q(0xb0)](q(0xaf))&&(Log[q(0xb4)](q(0x84)),this[q(0xa5)][q(0x7c)](q(0xaf),{'cwd':d}));if(h&&!this[q(0xb0)](q(0xaa))){Log[q(0xb4)](q(0x90));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a131e[q(0xb5)](this[q(0xa5)][q(0xac)]({}),e),'cssCaseName':paramCase(b[q(0x8f)]),'className':pascalCase(b[q(0x8f)]),'camelCaseName':camelCase(b[q(0x8f)]),'fileName':paramCase(b['resourceName']),'graphql':f['engines'][q(0x88)],'features':f[q(0xa6)],'client':f[q(0xb1)][q(0x79)],'api':f[q(0xb1)][q(0xa7)],'ssr':f['engines'][q(0x8c)],'test':f[q(0xb1)][q(0x91)],'theme':f[q(0xb1)][q(0x85)],'isComponent':![],'isLayout':!![],'withTranslations':f['features']['withTranslations']};f[q(0xa6)]?.[q(0x8b)]||b[q(0x7d)]?await this[q(0xa5)][q(0x8e)]({'srcPath':q(0x86),'destPath':e+q(0x81),'framework':q(0xaa),'context':i,'config':f}):await this[q(0xa5)][q(0x8e)]({'srcPath':q(0x89),'destPath':e+'.js','framework':q(0xaa),'context':i,'config':f});f[q(0xb1)][q(0x91)]!==q(0x74)&&await this[q(0xa5)][q(0x8e)]({'srcPath':q(0x73),'destPath':e+q(0x76),'framework':'react','context':i,'config':f});f[q(0x8e)][q(0x87)]&&(await this[q(0xa5)][q(0x8e)]({'srcPath':q(0xa0),'destPath':e+'.css','context':Object[q(0x9c)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this['fsi'][q(0x72)]({'filePath':e+'.'+f[q(0xb1)]['js'],'content':q(0x82)+i[q(0x9d)]+'.'+f[q(0xb1)][q(0x87)]+'\x27;'}));const j=b[q(0x80)]?'/'+b[q(0x80)]+'/':'/',k=''+c+j+i[q(0x9d)]+'/'+i[q(0x9d)];await this[q(0xa5)][q(0x9f)](i[q(0x93)],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
+ const a132h=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0x1c2))/0x1+-parseInt(f(0x1be))/0x2+parseInt(f(0x1b5))/0x3*(-parseInt(f(0x1ba))/0x4)+parseInt(f(0x1bb))/0x5*(-parseInt(f(0x1b7))/0x6)+parseInt(f(0x1b2))/0x7*(parseInt(f(0x1b8))/0x8)+-parseInt(f(0x1ac))/0x9+parseInt(f(0x1b6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x6a408));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[g(0x1c0)]()[g(0x1bf)]('(((.+)+)+)+$')[g(0x1c0)]()[g(0x1ad)](a132a)[g(0x1bf)](g(0x1b3));});function a132c(){const i=['2813544ssoJHJ','maka\x20g:route\x20todos/edit','8164JDrmLr','6635iztnYq','generate','maka\x20g:template\x20todos/todo_item','653758NVodVD','search','toString','maka\x20g:scaffold\x20todos','673537TRCCxf','5472684hDCTbf','constructor','maka\x20g:package\x20package:name','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:api\x20trucks','maka\x20generate:scaffold\x20todos','7cJfVDK','(((.+)+)+)+$','maka\x20{generate,\x20g}:<generator>\x20<name>','879FlHiSI','10212390efiLCo','354IYxqhA'];a132c=function(){return i;};return a132c();}a132a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a132h(0x1bc),'aliases':['g'],'usage':a132h(0x1b4),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132h(0x1af),'examples':[a132h(0x1b1),a132h(0x1c1),a132h(0x1bd),a132h(0x1ae),a132h(0x1b9),a132h(0x1b0),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1ac;let f=c[d];return f;},a132d(a,b);}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 a133l=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0xea))/0x1*(parseInt(j(0xf6))/0x2)+-parseInt(j(0xda))/0x3+parseInt(j(0xe4))/0x4+-parseInt(j(0xf9))/0x5*(-parseInt(j(0xe6))/0x6)+-parseInt(j(0xef))/0x7*(-parseInt(j(0xe0))/0x8)+parseInt(j(0xee))/0x9+parseInt(j(0xeb))/0xa*(-parseInt(j(0xf5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x7e9e0));function a133c(){const o=['method/method.js','(((.+)+)+)+$','5zBaUNT','error','resourceName','dir','toString','958380PtjFzL','pathFromApp','import\x20\x27./methods','fsi','appPathPrefix','tsx','128EILFwL','maka\x20{generate,\x20g}:{method,\x20m}\x20name','search','engines','2577484iqrOcm','ddp-rate-limiter','739812WPXZiW','checkMeteorPackage','create','-rpc-method\x27;','44EDlYkI','2100QywCYK','mdg:validated-method','maka\x20g:method\x20todos','1519623wMlqKU','430934KkBVHq','methods','constructor','imports','startup','getMakaProjectConfig','5258bGCDbe','44684AoSoIE'];a133c=function(){return o;};return a133c();}const a133b=(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;};}()),a133a=a133b(this,function(){const k=a133d;return a133a['toString']()[k(0xe2)](k(0xf8))[k(0xd9)]()[k(0xf1)](a133a)[k(0xe2)]('(((.+)+)+)+$');});a133a();function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xd7;let f=c[d];return f;},a133d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133l(0xe8)]({'name':'method','aliases':['m'],'usage':a133l(0xe1),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':['dir'],'examples':[a133l(0xed)]},async function(a,b){const m=a133l;try{const c=this[m(0xdd)][m(0xf4)]();await this['fsi']['withValue'](c,async()=>{const n=m,d=paramCase(b[n(0xd7)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[n(0xd7)]),'camelCase':camelCase(b[n(0xd7)]),'noRename':!![]};let g='js';c['engines']['js']===n(0xdf)&&(g='ts');await this[n(0xdd)][n(0xe7)](['maka:check',n(0xe5),n(0xec)],{'shouldInstall':!![]}),await this[n(0xdd)]['template']({'srcPath':n(0xf7),'destPath':this['fsi'][n(0xdb)]({'pathParts':[n(0xf2),n(0xf3),b[n(0xde)],n(0xf0),b[n(0xd8)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[n(0xd8)]?'/'+b['dir']+'/':'/',i=this[n(0xdd)][n(0xdb)]({'pathParts':[n(0xf2),'startup',b[n(0xde)],'index.'+c[n(0xe3)]['js']]});await this[n(0xdd)]['injectAtEndOfFile']({'filePath':i,'content':n(0xdc)+h+d+n(0xe9)});});}catch(d){Log[m(0xfa)](d);}});