@maka/maka-cli 4.13.13 → 4.13.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/aws/_index.js +1 -1
  109. package/bundle/obf/src/generators/aws/aws.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/tool.js +1 -1
  145. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/options/options.class.js +1 -1
  157. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  158. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  163. package/package.json +1 -1
@@ -1 +1 @@
1
- const a116k=a116d;(function(a,b){const h=a116d,c=a();while(!![]){try{const d=parseInt(h(0x14f))/0x1*(parseInt(h(0x15a))/0x2)+-parseInt(h(0x154))/0x3+-parseInt(h(0x14b))/0x4*(-parseInt(h(0x150))/0x5)+parseInt(h(0x14c))/0x6+-parseInt(h(0x15d))/0x7+parseInt(h(0x159))/0x8+parseInt(h(0x160))/0x9*(-parseInt(h(0x153))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xe09b7));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a[j(0x147)]()[j(0x164)](j(0x146))[j(0x147)]()[j(0x152)](a116a)['search'](j(0x146));});function a116c(){const n=['isFile','app','(((.+)+)+)+$','toString','getGlobalConfig','Dockerfile','docker/Dockerfile','1191884xgOZtN','4083846GFIFwY','getMakaProjectConfig','findProjectDirectory','29wUyMht','20uiTYzf','join','constructor','1990GweYHs','1956318rphfIa','withValue','app.tar.gz','apply','error','13396872vQDHui','31658RwJfmB','fsi','create','12540549fegADE','maka\x20{generate,\x20g}:dockerfile','cert','29061tjhIdN','template','force','dockerfile','search'];a116c=function(){return n;};return a116c();}a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x145;let f=c[d];return f;},a116d(a,b);}import a116e from'path';Generator[a116k(0x15c)]({'name':a116k(0x163),'usage':a116k(0x15e),'shortDesc':'Generate\x20an\x20updated\x20dockerfile','validOpts':[{'name':a116k(0x162),'boolFlag':!![]}],'noNeedResource':!![],'examples':['maka\x20g:dockerfile']},async function(a,b){const l=a116k;try{const c=await this[l(0x15b)][l(0x14d)](),d=await this[l(0x15b)][l(0x148)](),f=this[l(0x15b)][l(0x14e)]();await this[l(0x15b)][l(0x155)](c,async()=>{const m=l,g={'app':d['appName'],'config':c,'appPath':a116e[m(0x151)](f,m(0x145)),'bundlePath':a116e[m(0x151)](f,'build',m(0x156)),'useCert':this[m(0x15b)][m(0x165)](d[m(0x15f)])};await this['fsi'][m(0x161)]({'srcPath':m(0x14a),'destPath':a116e[m(0x151)](f,m(0x149)),'framework':'service','context':g,'config':c,'force':b['force']});});}catch(g){Log[l(0x158)](g);}});
1
+ const a116k=a116d;(function(a,b){const h=a116d,c=a();while(!![]){try{const d=parseInt(h(0x149))/0x1*(-parseInt(h(0x157))/0x2)+parseInt(h(0x160))/0x3+parseInt(h(0x142))/0x4+-parseInt(h(0x144))/0x5*(-parseInt(h(0x156))/0x6)+parseInt(h(0x151))/0x7*(-parseInt(h(0x14f))/0x8)+parseInt(h(0x14d))/0x9+-parseInt(h(0x14b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x9c7f8));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a['toString']()[j(0x161)](j(0x14a))[j(0x148)]()[j(0x15b)](a116a)['search']('(((.+)+)+)+$');});function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x142;let f=c[d];return f;},a116d(a,b);}a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a116e from'path';Generator[a116k(0x150)]({'name':a116k(0x14e),'usage':a116k(0x146),'shortDesc':a116k(0x15a),'validOpts':[{'name':a116k(0x159),'boolFlag':!![]}],'noNeedResource':!![],'examples':['maka\x20g:dockerfile']},async function(a,b){const l=a116k;try{const c=await this['fsi'][l(0x152)](),d=await this[l(0x145)][l(0x147)](),f=this['fsi'][l(0x153)]();await this['fsi'][l(0x15d)](c,async()=>{const m=l,g={'app':d['appName'],'config':c,'appPath':a116e[m(0x15c)](f,'app'),'bundlePath':a116e[m(0x15c)](f,'build',m(0x155)),'useCert':this['fsi'][m(0x14c)](d[m(0x154)])};await this['fsi'][m(0x15f)]({'srcPath':m(0x158),'destPath':a116e[m(0x15c)](f,'Dockerfile'),'framework':m(0x15e),'context':g,'config':c,'force':b[m(0x159)]});});}catch(g){Log['error'](g);}});function a116c(){const n=['248142Oqsuhc','49018FfyUqw','docker/Dockerfile','force','Generate\x20an\x20updated\x20dockerfile','constructor','join','withValue','service','template','1727925YOjVqo','search','2547388UoRITO','apply','35tnTMZB','fsi','maka\x20{generate,\x20g}:dockerfile','getGlobalConfig','toString','11PzbCCz','(((.+)+)+)+$','3221180jzBNdG','isFile','4512834AcwZhE','dockerfile','3084056pUihsp','create','14rfVUEy','getMakaProjectConfig','findProjectDirectory','cert','app.tar.gz'];a116c=function(){return n;};return a116c();}
@@ -1 +1 @@
1
- const a117n=a117d;function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x168;let f=c[d];return f;},a117d(a,b);}(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x187))/0x1*(-parseInt(l(0x198))/0x2)+parseInt(l(0x181))/0x3+-parseInt(l(0x16c))/0x4+-parseInt(l(0x18e))/0x5*(parseInt(l(0x1a6))/0x6)+parseInt(l(0x1a2))/0x7+-parseInt(l(0x175))/0x8*(parseInt(l(0x172))/0x9)+-parseInt(l(0x17f))/0xa*(parseInt(l(0x19d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xe4e20));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a[m(0x197)]()[m(0x171)](m(0x17c))[m(0x197)]()[m(0x18b)](a117a)[m(0x171)](m(0x17c));});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a117c(){const q=['apollo','error','warn','33GSjhpF','hook/hook.js','@apollo/client','graphql','fileName','9748704iuHvlK','template','pathFromProject','pathFromApp','744TaXHxJ','withTranslations','test','hooks','hook','react','2964092ePYquy','create','/imports/ui/components','engines','resourceName','search','270cprnGV','features','notice','57992ndetlH','css','fsi','getMakaProjectConfig','.js','true','pages','(((.+)+)+)+$','@apollo/client\x20isomorphic-fetch','installNpmPackage','3349940zpMzeD','findAppDirectory','4327404cTzbHi','template/template.css','className','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','baseDir','setTemplate','518811TSTOvM','cssCaseName','/imports/ui/','string','constructor','.app-tests.js','components','18265LrImTi','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','dir','injectTemplateModule','test/test.js','.css','\x20hook...','layouts','none','toString','2JNuEVe','force'];a117c=function(){return q;};return a117c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117n(0x16d)]({'name':a117n(0x16a),'aliases':['h'],'checkWhere':![],'usage':a117n(0x184),'shortDesc':a117n(0x18f),'validOpts':[{'name':a117n(0x185),'values':[a117n(0x169),a117n(0x18d),a117n(0x17b),a117n(0x195)]},{'name':a117n(0x199),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':'\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'},async function(a,b){const o=a117n;Log[o(0x174)]('Creating\x20'+b['resourceName']+o(0x194));try{const c=this[o(0x177)]['checkNpmPackage'](o(0x16b));if(!c){Log[o(0x19b)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[o(0x177)][o(0x180)](),f=b['baseDir']?o(0x189)+b[o(0x185)]:o(0x16e),g=this['fsi'][o(0x1a5)]({'pathParts':[f,b[o(0x190)],paramCase(b[o(0x170)]),paramCase(b[o(0x170)])]}),h=await this[o(0x177)][o(0x178)]();await this[o(0x177)]['withValue'](h,async()=>{const p=o;typeof h['template'][p(0x176)]===p(0x18a)&&(h[p(0x1a3)][p(0x176)]=h[p(0x1a3)][p(0x176)]===p(0x17a)?!![]:![],this[p(0x177)][p(0x186)](p(0x176),h[p(0x1a3)]['css']));h[p(0x16f)]['graphql']===p(0x19a)&&!this[p(0x177)]['checkNpmPackage'](p(0x19f))&&(Log[p(0x19c)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[p(0x177)][p(0x17e)](p(0x17d),{'cwd':d}));const i={'cssCaseName':paramCase(b[p(0x170)]),'camelCaseName':camelCase(b[p(0x170)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b['resourceName']),'graphql':h[p(0x16f)][p(0x1a0)],'theme':h[p(0x16f)]['theme'],'features':h['features'],'myPath':a117e['relative'](this['fsi'][p(0x1a4)]({}),g),'fileName':paramCase(b[p(0x170)]),'isComponent':![],'isLayout':![],'withTranslations':h[p(0x173)][p(0x1a7)]};await this[p(0x177)]['template']({'srcPath':p(0x19e),'destPath':g+p(0x179),'context':i,'config':h,'framework':p(0x16b),'force':b[p(0x199)]});h[p(0x1a3)][p(0x176)]&&(await this['fsi'][p(0x1a3)]({'srcPath':p(0x182),'destPath':g+p(0x193),'context':Object['assign']({},i,{'className':i[p(0x188)]}),'config':h,'force':b['force']}),await this[p(0x177)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[p(0x16f)]['js'],'content':'import\x20\x27./'+i[p(0x1a1)]+'.'+h['engines'][p(0x176)]+'\x27;'}));h[p(0x16f)][p(0x168)]!==p(0x196)&&await this[p(0x177)][p(0x1a3)]({'srcPath':p(0x192),'destPath':g+p(0x18c),'framework':p(0x16b),'context':i,'config':h,'force':b['force']});const j=b['dir']?'/'+b[p(0x190)]+'/':'/',k=''+f+j+i['fileName']+'/'+i[p(0x1a1)];await this[p(0x177)][p(0x191)](i[p(0x183)],h,k);});}catch(i){Log['error'](i);}});
1
+ const a117o=a117d;function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a117d(a,b);}(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x1bb))/0x1+-parseInt(l(0x1f1))/0x2*(parseInt(l(0x1f6))/0x3)+-parseInt(l(0x1ed))/0x4+parseInt(l(0x1ef))/0x5*(-parseInt(l(0x1f7))/0x6)+parseInt(l(0x1d4))/0x7+-parseInt(l(0x1c7))/0x8+parseInt(l(0x1bf))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x4a2c2));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x1f3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x1e1)]()[n(0x1ee)](n(0x1cd))[n(0x1e1)]()[n(0x1c4)](a117a)[n(0x1ee)](n(0x1cd));});a117a();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[a117o(0x1be)]({'name':a117o(0x1ea),'aliases':['h'],'checkWhere':![],'usage':a117o(0x1c5),'shortDesc':a117o(0x1c8),'validOpts':[{'name':a117o(0x1d0),'values':['hooks',a117o(0x1ce),a117o(0x1eb),a117o(0x1db)]},{'name':a117o(0x1e3),'boolFlag':!![]}],'examples':[a117o(0x1f4)],'description':a117o(0x1d1)},async function(a,b){const p=a117o;Log[p(0x1bd)]('Creating\x20'+b[p(0x1d6)]+p(0x1f5));try{const c=this[p(0x1dc)][p(0x1f0)](p(0x1e7));if(!c){Log[p(0x1cf)](p(0x1cb));throw new UsageError();}const d=this[p(0x1dc)]['findAppDirectory'](),f=b[p(0x1d0)]?'/imports/ui/'+b['baseDir']:p(0x1e9),g=this[p(0x1dc)]['pathFromApp']({'pathParts':[f,b[p(0x1e0)],paramCase(b[p(0x1d6)]),paramCase(b[p(0x1d6)])]}),h=await this[p(0x1dc)]['getMakaProjectConfig']();await this[p(0x1dc)][p(0x1cc)](h,async()=>{const q=p;typeof h[q(0x1ca)]['css']==='string'&&(h['template'][q(0x1d8)]=h[q(0x1ca)]['css']==='true'?!![]:![],this[q(0x1dc)][q(0x1c3)]('css',h[q(0x1ca)][q(0x1d8)]));h['engines'][q(0x1c9)]===q(0x1f2)&&!this[q(0x1dc)][q(0x1f0)](q(0x1d9))&&(Log[q(0x1e8)](q(0x1b9)),await this[q(0x1dc)][q(0x1d5)](q(0x1c0),{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[q(0x1d6)]),'name':pascalCase(b[q(0x1d6)]),'graphql':h[q(0x1e5)][q(0x1c9)],'theme':h[q(0x1e5)][q(0x1e2)],'features':h['features'],'myPath':a117e[q(0x1df)](this[q(0x1dc)]['pathFromProject']({}),g),'fileName':paramCase(b[q(0x1d6)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x1de)]['withTranslations']};await this[q(0x1dc)][q(0x1ca)]({'srcPath':q(0x1d2),'destPath':g+q(0x1e4),'context':i,'config':h,'framework':q(0x1e7),'force':b[q(0x1e3)]});h[q(0x1ca)][q(0x1d8)]&&(await this[q(0x1dc)][q(0x1ca)]({'srcPath':q(0x1c1),'destPath':g+q(0x1ec),'context':Object[q(0x1b8)]({},i,{'className':i[q(0x1da)]}),'config':h,'force':b[q(0x1e3)]}),await this[q(0x1dc)][q(0x1e6)]({'filePath':g+'.'+h[q(0x1e5)]['js'],'content':q(0x1d3)+i[q(0x1c6)]+'.'+h[q(0x1e5)][q(0x1d8)]+'\x27;'}));h['engines']['test']!==q(0x1dd)&&await this[q(0x1dc)]['template']({'srcPath':q(0x1ba),'destPath':g+q(0x1c2),'framework':q(0x1e7),'context':i,'config':h,'force':b['force']});const j=b[q(0x1e0)]?'/'+b['dir']+'/':'/',k=''+f+j+i[q(0x1c6)]+'/'+i['fileName'];await this[q(0x1dc)][q(0x1d7)](i[q(0x1bc)],h,k);});}catch(i){Log[p(0x1cf)](i);}});function a117c(){const r=['@apollo/client','cssCaseName','layouts','fsi','none','features','relative','dir','toString','theme','force','.js','engines','injectAtBeginningOfFile','react','warn','/imports/ui/components','hook','pages','.css','1487232ZBbQEW','search','17505kLXFxg','checkNpmPackage','860278byNjeF','apollo','apply','maka\x20g:hook\x20cool-hook','\x20hook...','3ZclVNJ','846hdMffQ','assign','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','test/test.js','257012GkaOBv','className','notice','create','17578359FqLvRL','@apollo/client\x20isomorphic-fetch','template/template.css','.app-tests.js','setTemplate','constructor','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','fileName','1390448ifAFCh','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','graphql','template','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','withValue','(((.+)+)+)+$','components','error','baseDir','\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','hook/hook.js','import\x20\x27./','539455eRoYbV','installNpmPackage','resourceName','injectTemplateModule','css'];a117c=function(){return r;};return a117c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x1dc))/0x1*(-parseInt(f(0x1dd))/0x2)+parseInt(f(0x1db))/0x3+parseInt(f(0x1d4))/0x4*(parseInt(f(0x1d5))/0x5)+-parseInt(f(0x1df))/0x6+-parseInt(f(0x1d6))/0x7*(parseInt(f(0x1e0))/0x8)+-parseInt(f(0x1da))/0x9+parseInt(f(0x1d7))/0xa*(parseInt(f(0x1d3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x34806));function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1d3;var f=c[d];return f;},a118d(a,b);}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1e1)]()[h(0x1d8)](h(0x1d9))[h(0x1e1)]()['constructor'](a118a)[h(0x1d8)](h(0x1d9));});a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a118c(){var i=['toString','363kIzIXL','4TyWHSi','1369835Bbchoo','406DmCVEt','36200CpkEAc','search','(((.+)+)+)+$','1737198DzICMF','515013ljvPGI','8ddjGxv','38810nEkxXg','apply','75504reIgJa','41336BZGKvu'];a118c=function(){return i;};return a118c();}import'./auth/_index.js';
1
+ (function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x107))/0x1+-parseInt(f(0x100))/0x2+-parseInt(f(0xfa))/0x3+parseInt(f(0xfc))/0x4*(-parseInt(f(0x103))/0x5)+parseInt(f(0x101))/0x6*(-parseInt(f(0xf9))/0x7)+-parseInt(f(0x102))/0x8*(-parseInt(f(0xfe))/0x9)+parseInt(f(0x104))/0xa*(parseInt(f(0xff))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x1febc));function a118c(){var i=['680991rpdUjL','toString','2012bxGTkZ','(((.+)+)+)+$','9fagIoz','1794661afLSTm','49966HKCDGU','399174HkPoQu','372824oYHFQn','415okpfZE','30aFpSrf','search','apply','88008JaUBcG','21cmgliN'];a118c=function(){return i;};return a118c();}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xfb)]()[h(0x105)](h(0xfd))[h(0xfb)]()['constructor'](a118a)[h(0x105)](h(0xfd));});a118a();import'./kit.js';import'./mui/_index.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xf9;var f=c[d];return f;},a118d(a,b);}import'./esri/_index.js';import'./auth/_index.js';
@@ -1 +1 @@
1
- (function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x139))/0x1*(-parseInt(f(0x13a))/0x2)+-parseInt(f(0x13b))/0x3+parseInt(f(0x131))/0x4+parseInt(f(0x134))/0x5+-parseInt(f(0x136))/0x6*(parseInt(f(0x132))/0x7)+parseInt(f(0x12d))/0x8*(-parseInt(f(0x133))/0x9)+parseInt(f(0x12e))/0xa*(-parseInt(f(0x130))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xd2de8));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a['toString']()[h(0x12c)](h(0x12f))[h(0x135)]()[h(0x137)](a119a)['search'](h(0x12f));});a119a();function a119c(){var i=['859552iIIfcz','1999101xltRcH','search','9432wnybVw','4197800jLTTpV','(((.+)+)+)+$','11TnvSVv','6665464wVRxzJ','37681uLypiR','7155yqdBEL','2218635JycHhz','toString','1050CLFYel','constructor','apply','4tTTFeC'];a119c=function(){return i;};return a119c();}function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x12c;var f=c[d];return f;},a119d(a,b);}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(0x142))/0x1+-parseInt(f(0x136))/0x2*(parseInt(f(0x13b))/0x3)+-parseInt(f(0x13c))/0x4+parseInt(f(0x13f))/0x5*(parseInt(f(0x143))/0x6)+parseInt(f(0x141))/0x7+-parseInt(f(0x140))/0x8*(parseInt(f(0x137))/0x9)+parseInt(f(0x13d))/0xa*(parseInt(f(0x144))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xa2466));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(0x138)]()['search'](g(0x13a))[g(0x138)]()[g(0x13e)](a119a)[g(0x139)]('(((.+)+)+)+$');});function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x136;var f=c[d];return f;},a119d(a,b);}a119a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a119c(){var h=['15aIyiID','5355128fCjzVv','1387743AplDyi','7996MoLxAN','1849044oLtpOq','618277MWAsLf','6896CvLBQe','9VLWQZV','toString','search','(((.+)+)+)+$','15FZDtuZ','2715080kFpxvZ','160BWhqBA','constructor'];a119c=function(){return h;};return a119c();}
@@ -1 +1 @@
1
- const a120h=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a120d(a,b);}(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0x1b3))/0x1+parseInt(f(0x1a9))/0x2*(-parseInt(f(0x1ab))/0x3)+parseInt(f(0x1b4))/0x4*(-parseInt(f(0x1a7))/0x5)+-parseInt(f(0x1b2))/0x6+-parseInt(f(0x1b7))/0x7+parseInt(f(0x1b5))/0x8*(parseInt(f(0x1af))/0x9)+-parseInt(f(0x1ac))/0xa*(-parseInt(f(0x1ad))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x83b7e));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[g(0x1b0)]()[g(0x1b6)](g(0x1a8))[g(0x1b0)]()[g(0x1b1)](a120a)[g(0x1b6)](g(0x1a8));});a120a();import{Generator}from'../../../generator.js';function a120c(){const j=['132SPzoRI','NIE','66663PlCnPt','toString','constructor','2788434KNctRH','968198NbdOde','1183312RuIdCr','16DTkVtO','search','6524623qBofSV','maka\x20g:kit:a','15lXHmaQ','(((.+)+)+)+$','22udcHxu','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','163686DXHeek','3647830ZKqQdk'];a120c=function(){return j;};return a120c();}import a120e from'../kit.js';const AuthGen=Generator['create']({'name':'auth','aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','validOpts':[''],'isPro':!![],'examples':[a120h(0x1a6)],'description':a120h(0x1aa)},async function(){const i=a120h;throw i(0x1ae);},async function(){},a120e);export default AuthGen;
1
+ const a120i=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a120d(a,b);}(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0x1d2))/0x1+parseInt(f(0x1d1))/0x2*(parseInt(f(0x1cb))/0x3)+parseInt(f(0x1cf))/0x4*(parseInt(f(0x1c3))/0x5)+parseInt(f(0x1ce))/0x6*(-parseInt(f(0x1d5))/0x7)+-parseInt(f(0x1c7))/0x8+-parseInt(f(0x1cc))/0x9*(parseInt(f(0x1d8))/0xa)+parseInt(f(0x1cd))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x29223));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0x1c2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0x1c4)]()[h(0x1ca)](h(0x1c6))[h(0x1c4)]()[h(0x1d6)](a120a)['search']('(((.+)+)+)+$');});a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator[a120i(0x1d7)]({'name':a120i(0x1c8),'aliases':['a'],'usage':a120i(0x1d3),'noNeedResource':!![],'shortDesc':a120i(0x1c9),'validOpts':[''],'isPro':!![],'examples':[a120i(0x1d0)],'description':a120i(0x1d4)},async function(){const j=a120i;throw j(0x1c5);},async function(){},a120e);export default AuthGen;function a120c(){const k=['(((.+)+)+)+$','1555680fcmYMb','auth','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','search','89277AyrIoP','9uUDzqj','8200819wtAybT','66zyfgiH','1138316XbMrxT','maka\x20g:kit:a','2BfupKs','274590cmteBS','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','122738SyaVtM','constructor','create','2294600sMOETG','apply','5hJCNNO','toString','NIE'];a120c=function(){return k;};return a120c();}
@@ -1 +1 @@
1
- const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(0x14b))/0x1*(-parseInt(o(0x14c))/0x2)+parseInt(o(0x12d))/0x3*(-parseInt(o(0x147))/0x4)+-parseInt(o(0x136))/0x5*(parseInt(o(0x13f))/0x6)+parseInt(o(0x14e))/0x7*(-parseInt(o(0x14a))/0x8)+-parseInt(o(0x13c))/0x9*(parseInt(o(0x13b))/0xa)+-parseInt(o(0x149))/0xb+parseInt(o(0x14f))/0xc*(parseInt(o(0x123))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x20b2d));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x164)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a['toString']()[q(0x152)](q(0x12c))[q(0x133)]()['constructor'](a121a)['search'](q(0x12c));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a121c(){const u=['REACT','create','1071186XwdMBA','processAndRunGenerator','kit:auth:provider','const\x20authenticateUser','/imports/startup/client/authentication-service','\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','meteor/maka:react-tracker','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','12uhXVBO','AuthService','742577kvvWJW','152rVMPCO','1181EfGlls','260ydAhwH','\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','95641XOTxkN','471948gsYYwu','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','/imports/startup/client','search','\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','alanning:roles','pathFromApp','const\x20deauthenticateUser','return\x20\x5c(','meteor/accounts-base','publish','findProjectDirectory','error','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','template','/imports/startup/lib/authentication-service','const\x20resetPasswordWithToken','injectImport','true','react','getMakaProjectConfig','apply','fsi','injectIntoCodeBlock','meteor/meteor','authentication-service','234gikkvX','useTracker','const\x20registerNewUser','\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','index','engines','ssr','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','(((.+)+)+)+$','196617NRLbDN','\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','.js','/imports/startup/lib','auth/roles','Meteor.publish','toString','export\x20const\x20AuthProvider','injectIntoFile','5pZdgjv','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','const\x20authenticateToken','force','imports','252670IMfvnd','9DkaCJo'];a121c=function(){return u;};return a121c();}import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x120;let f=c[d];return f;},a121d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x13e)]({'name':'meteor','aliases':['m'],'usage':a121r(0x137),'shortDesc':a121r(0x150),'validOpts':[a121r(0x139)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x13d)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20'},async function(a,b){const s=a121r;try{const c=b[s(0x139)]||![];await this[s(0x165)]['checkMeteorPackage'](['accounts-password',s(0x154)],{'shouldInstall':!![]});const d=this[s(0x165)][s(0x15a)](),f=this[s(0x165)][s(0x163)](),g=f['engines'][s(0x12a)]===s(0x161);await a121f['processAndRunGenerator'](s(0x141),[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0x140)](s(0x159),[s(0x131)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x130):s(0x151),j=this[s(0x165)]['pathFromApp']({'pathParts':[i,'','',s(0x122)]});await this[s(0x165)]['withValue'](f,async()=>{const t=s;await this[t(0x165)][t(0x15d)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0x12f),'framework':t(0x162),'context':{},'config':f,'force':c,'ignore':![]});});const k=this['fsi'][s(0x155)]({'pathParts':[i,'','','authentication-provider']}),l=f[s(0x129)]['js'];await this[s(0x165)][s(0x160)]({'filePath':k+'.'+l,'importName':s(0x148),'modulePath':g?s(0x15e):s(0x143),'isNamedExport':![]}),await this['fsi'][s(0x120)]({'filePath':k+'.'+l,'content':s(0x144),'begin':s(0x142),'replace':!![]}),await this[s(0x165)][s(0x120)]({'filePath':k+'.'+l,'content':s(0x12e),'begin':s(0x138),'replace':!![]}),await this['fsi'][s(0x120)]({'filePath':k+'.'+l,'content':s(0x153),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x165)][s(0x120)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x156),'replace':!![]}),await this[s(0x165)][s(0x120)]({'filePath':k+'.'+l,'content':s(0x12b),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await this[s(0x165)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x146),'begin':s(0x125),'replace':!![]}),await this[s(0x165)][s(0x120)]({'filePath':k+'.'+l,'content':s(0x15c),'begin':s(0x15f),'replace':!![]});g&&(await this[s(0x165)][s(0x160)]({'filePath':k+'.'+l,'importName':s(0x124),'modulePath':s(0x145),'isNamedExport':!![]}),await this[s(0x165)][s(0x135)]({'filePath':k+'.'+l,'content':s(0x126),'begin':s(0x134),'end':s(0x157)}));await this['fsi'][s(0x160)]({'filePath':h,'importName':'Meteor','modulePath':s(0x121),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x165)][s(0x120)]({'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(0x132),'replace':!![]});const m=this[s(0x165)]['pathFromApp']({'pathParts':[s(0x13a),'startup','server',s(0x128)]});await this['fsi'][s(0x160)]({'filePath':m+'.'+l,'importName':s(0x127),'modulePath':s(0x158),'isNamedExport':!![]}),await this['fsi'][s(0x120)]({'filePath':m+'.'+l,'content':s(0x14d),'begin':'Meteor.startup','replace':!![]});}catch(n){Log[s(0x15b)](n),process['exit'](0x1);}},async function(){},a121e);
1
+ const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0xf5))/0x1*(-parseInt(o(0x116))/0x2)+parseInt(o(0xfb))/0x3+parseInt(o(0xf3))/0x4*(parseInt(o(0x122))/0x5)+-parseInt(o(0x12d))/0x6+parseInt(o(0x11a))/0x7*(parseInt(o(0x11e))/0x8)+parseInt(o(0x119))/0x9*(-parseInt(o(0xf4))/0xa)+-parseInt(o(0xfe))/0xb*(-parseInt(o(0x11c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xe9497));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x124)]()[q(0xf8)](q(0xff))['toString']()[q(0x104)](a121a)[q(0xf8)](q(0xff));});a121a();import{Generator}from'../../../generator.js';function a121c(){const u=['react','REACT','/imports/startup/client/authentication-service','return\x20\x5c(','index','force','const\x20resetPasswordWithToken','1006170fNyxce','const\x20authenticateUser','.js','processAndRunGenerator','checkMeteorPackage','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','const\x20deauthenticateUser','548LFpFfB','1071740Obosji','167txnEXo','startup','injectIntoFile','search','error','\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','5063184OOCbFo','\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','AuthService','65890aFtgWF','(((.+)+)+)+$','auth/roles','engines','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','findProjectDirectory','constructor','Accounts','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','kit/auth/service/meteor-auth-service.js','meteor/meteor','\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','apply','accounts-password','create','meteor/accounts-base','injectIntoCodeBlock','imports','publish','server','kit:auth:provider','const\x20authenticateToken','/imports/startup/lib','13466iXaMYj','const\x20sendForgotPasswordEmail','pathFromApp','117yPnQAW','73374KSSyRn','authentication-service','2472dyTACu','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','328LtzHqU','meteor/maka:react-tracker','Meteor.startup','fsi','10565oTqWRR','/imports/startup/lib/authentication-service','toString','injectImport'];a121c=function(){return u;};return a121c();}import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xee;let f=c[d];return f;},a121d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x10d)]({'name':'meteor','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a121r(0x11d),'validOpts':[a121r(0x12b)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x127)]},'description':a121r(0x10a)},async function(a,b){const s=a121r;try{const c=b[s(0x12b)]||![];await this['fsi'][s(0xf0)]([s(0x10c),'alanning:roles'],{'shouldInstall':!![]});const d=this[s(0x121)][s(0x103)](),f=this[s(0x121)]['getMakaProjectConfig'](),g=f[s(0x101)]['ssr']==='true';await a121f['processAndRunGenerator'](s(0x113),[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0xef)](s(0x111),[s(0x100)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x115):'/imports/startup/client',j=this[s(0x121)][s(0x118)]({'pathParts':[i,'','',s(0x11b)]});await this[s(0x121)]['withValue'](f,async()=>{const t=s;await this[t(0x121)]['template']({'srcPath':t(0x108),'destPath':j+t(0xee),'framework':t(0x126),'context':{},'config':f,'force':c,'ignore':![]});});const k=this['fsi'][s(0x118)]({'pathParts':[i,'','','authentication-provider']}),l=f[s(0x101)]['js'];await this[s(0x121)][s(0x125)]({'filePath':k+'.'+l,'importName':s(0xfd),'modulePath':g?s(0x123):s(0x128),'isNamedExport':![]}),await this['fsi'][s(0x10f)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x12e),'replace':!![]}),await this['fsi'][s(0x10f)]({'filePath':k+'.'+l,'content':s(0xf1),'begin':s(0x114),'replace':!![]}),await this[s(0x121)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x106),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x121)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xf2),'replace':!![]}),await this[s(0x121)][s(0x10f)]({'filePath':k+'.'+l,'content':s(0x107),'begin':s(0x117),'replace':!![]}),await this['fsi'][s(0x10f)]({'filePath':k+'.'+l,'content':s(0x102),'begin':'const\x20registerNewUser','replace':!![]}),await this[s(0x121)][s(0x10f)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x12c),'replace':!![]});g&&(await this[s(0x121)][s(0x125)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0x11f),'isNamedExport':!![]}),await this[s(0x121)][s(0xf7)]({'filePath':k+'.'+l,'content':s(0xfa),'begin':'export\x20const\x20AuthProvider','end':s(0x129)}));await this[s(0x121)][s(0x125)]({'filePath':h,'importName':'Meteor','modulePath':s(0x109),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x121)][s(0x10f)]({'filePath':h,'content':s(0xfc),'begin':'Meteor.publish','replace':!![]});const m=this['fsi']['pathFromApp']({'pathParts':[s(0x110),s(0xf6),s(0x112),s(0x12a)]});await this[s(0x121)][s(0x125)]({'filePath':m+'.'+l,'importName':s(0x105),'modulePath':s(0x10e),'isNamedExport':!![]}),await this[s(0x121)]['injectIntoCodeBlock']({'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(0x120),'replace':!![]});}catch(n){Log[s(0xf9)](n),process['exit'](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0x1e5))/0x1+parseInt(u(0x1ec))/0x2*(-parseInt(u(0x1f1))/0x3)+-parseInt(u(0x216))/0x4+parseInt(u(0x1fd))/0x5+-parseInt(u(0x203))/0x6*(parseInt(u(0x215))/0x7)+-parseInt(u(0x201))/0x8*(-parseInt(u(0x1fc))/0x9)+parseInt(u(0x1f8))/0xa*(parseInt(u(0x1eb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xeb2f6));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x20c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0x1fb)]()[w(0x1ff)]('(((.+)+)+)+$')[w(0x1fb)]()[w(0x1ea)](a122a)[w(0x1ff)]('(((.+)+)+)+$');});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';function a122c(){const A=['</AuthProvider>','/imports/startup/client/index','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','ssr','function\x20Routes','/imports/startup/server/index','189610dsNAOy','injectIntoCodeBlock','<AuthProvider>','toString','419112qlCyIT','6169670YNRrqH','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','search','<Routes\x20history={browserHistory}/>','168VQUHYG','/routes','1583286tTvVGc','<Routes\x20history={history}/>','/imports/startup/lib/authentication-provider','getMakaProjectConfig','bright','withValue','fsi','pathFromApp','\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','apply','injectImport','REACT','split','engines','replaceAll','force','/imports/startup/client/authentication-provider','AuthProvider','7qsJbja','4083756IwKZWM','authentication-provider','provider','1082614jembId','error','useContext','kit/auth/provider/authentication-provider.js','react','constructor','77VgcTjS','2AVxLwE','/imports/startup/lib','injectAroundString','true','exit','3537195SSMTkO'];a122c=function(){return A;};return a122c();}import{headerCase}from'change-case';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1e5;let f=c[d];return f;},a122d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a122x(0x218),'aliases':['p'],'usage':a122x(0x1f4),'shortDesc':a122x(0x1fe),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0x20e)]},'description':a122x(0x20b)},async function(a,b){const y=a122x;try{const c=b[y(0x212)]||![];Log[y(0x207)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[y(0x209)][y(0x206)](),f=d[y(0x210)][y(0x1f5)]===y(0x1ef),g={'name':headerCase(d['appName'])[y(0x211)]('-','\x20')},h=f?y(0x1ed):'/imports/startup/client',i=this[y(0x209)][y(0x20a)]({'pathParts':[h,'','',y(0x217)]});await this[y(0x209)][y(0x208)](d,async()=>{const z=y;await this[z(0x209)]['template']({'srcPath':z(0x1e8),'destPath':i+'.js','framework':z(0x1e9),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x210)]['js'],k=h+y(0x202),l=k[y(0x20f)]('/'),m=this[y(0x209)]['pathFromApp']({'pathParts':l});await this[y(0x209)][y(0x20d)]({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x213),'isNamedExport':!![]}),await this['fsi'][y(0x20d)]({'filePath':m+'.'+j,'importName':y(0x1e7),'modulePath':y(0x1e9),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x209)][y(0x1f9)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','begin':['const\x20Routes',y(0x1f6)],'replace':!![]});const n=y(0x1f3),o=n[y(0x20f)]('/'),p=this[y(0x209)][y(0x20a)]({'pathParts':o});await this['fsi']['injectImport']({'filePath':p+'.'+j,'importName':y(0x214),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x213),'isNamedExport':!![]}),await this[y(0x209)][y(0x1ee)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1f2),'targetString':y(0x200),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1f7),r=q['split']('/'),s=this[y(0x209)][y(0x20a)]({'pathParts':r});await this['fsi'][y(0x20d)]({'filePath':s+'.'+j,'importName':y(0x214),'modulePath':f?y(0x205):y(0x213),'isNamedExport':!![]}),await this[y(0x209)][y(0x1ee)]({'filePath':s+'.'+j,'aboveContent':y(0x1fa),'belowContent':y(0x1f2),'targetString':y(0x204),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x1e6)](t),process[y(0x1f0)](0x1);}},async function(){},a122e);
1
+ const a122x=a122d;function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xf3;let f=c[d];return f;},a122d(a,b);}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0x117))/0x1*(-parseInt(u(0x106))/0x2)+-parseInt(u(0x120))/0x3*(-parseInt(u(0x11d))/0x4)+-parseInt(u(0x128))/0x5+-parseInt(u(0x126))/0x6*(-parseInt(u(0x121))/0x7)+-parseInt(u(0x11b))/0x8*(-parseInt(u(0x125))/0x9)+parseInt(u(0x12a))/0xa*(parseInt(u(0xf9))/0xb)+-parseInt(u(0xf7))/0xc*(parseInt(u(0xfa))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x738a0));function a122c(){const A=['/imports/startup/lib/authentication-provider','toString','getMakaProjectConfig','fsi','withValue','replaceAll','/imports/startup/client/authentication-provider','1432092rTmivN','split','7255545pGgQJy','39ZyzRrm','create','apply','kit/auth/provider/authentication-provider.js','bright','appName','<Routes\x20history={history}/>','/routes','template','authentication-provider','exit','useContext','11334gfeXwj','engines','AuthProvider','function\x20Routes','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','.js','injectAroundString','ssr','AuthContext','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','react','/imports/startup/server/index','force','/imports/startup/client','\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','injectImport','search','143pkZaMN','<AuthProvider>','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','const\x20Routes','27704BZYLln','<Routes\x20history={browserHistory}/>','4QXVojt','pathFromApp','</AuthProvider>','1192185sWjGUb','67039yGzENI','true','(((.+)+)+)+$','/imports/startup/client/index','396RovxEP','498mBPJcb','error','1813005ZwCXEq','injectIntoCodeBlock','10GDdqZX'];a122c=function(){return A;};return a122c();}const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0x12c)]()[w(0x116)](w(0x123))[w(0x12c)]()['constructor'](a122a)[w(0x116)]('(((.+)+)+)+$');});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122x(0xfb)]({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a122x(0x10f),'validOpts':[a122x(0x112)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a122x(0x114)},async function(a,b){const y=a122x;try{const c=b[y(0x112)]||![];Log[y(0xfe)](y(0x119));const d=this[y(0xf3)][y(0x12d)](),f=d[y(0x107)][y(0x10d)]===y(0x122),g={'name':headerCase(d[y(0xff)])[y(0xf5)]('-','\x20')},h=f?'/imports/startup/lib':y(0x113),i=this[y(0xf3)][y(0x11e)]({'pathParts':[h,'','',y(0x103)]});await this[y(0xf3)][y(0xf4)](d,async()=>{const z=y;await this[z(0xf3)][z(0x102)]({'srcPath':z(0xfd),'destPath':i+z(0x10b),'framework':z(0x110),'context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+y(0x101),l=k['split']('/'),m=this[y(0xf3)][y(0x11e)]({'pathParts':l});await this['fsi'][y(0x115)]({'filePath':m+'.'+j,'importName':y(0x10e),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0xf6),'isNamedExport':!![]}),await this[y(0xf3)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x105),'modulePath':y(0x110),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][y(0x129)]({'filePath':m+'.'+j,'content':y(0x10a),'begin':[y(0x11a),y(0x109)],'replace':!![]});const n=y(0x124),o=n[y(0xf8)]('/'),p=this[y(0xf3)]['pathFromApp']({'pathParts':o});await this[y(0xf3)][y(0x115)]({'filePath':p+'.'+j,'importName':y(0x108),'modulePath':f?y(0x12b):y(0xf6),'isNamedExport':!![]}),await this[y(0xf3)][y(0x10c)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x11f),'targetString':y(0x11c),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x111),r=q[y(0xf8)]('/'),s=this['fsi'][y(0x11e)]({'pathParts':r});await this[y(0xf3)][y(0x115)]({'filePath':s+'.'+j,'importName':y(0x108),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0xf6),'isNamedExport':!![]}),await this[y(0xf3)][y(0x10c)]({'filePath':s+'.'+j,'aboveContent':y(0x118),'belowContent':'</AuthProvider>','targetString':y(0x100),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x127)](t),process[y(0x104)](0x1);}},async function(){},a122e);
@@ -1 +1 @@
1
- (function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0x129))/0x1*(parseInt(f(0x121))/0x2)+-parseInt(f(0x12a))/0x3*(-parseInt(f(0x127))/0x4)+parseInt(f(0x11f))/0x5+-parseInt(f(0x11e))/0x6*(parseInt(f(0x123))/0x7)+parseInt(f(0x122))/0x8*(-parseInt(f(0x124))/0x9)+-parseInt(f(0x12b))/0xa*(parseInt(f(0x128))/0xb)+parseInt(f(0x11c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xd0d1f));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0x125)]()[h(0x11b)](h(0x126))[h(0x125)]()[h(0x11d)](a123a)[h(0x11b)]('(((.+)+)+)+$');});a123a();function a123c(){var i=['880896RorojH','13640HVzyHl','109011WFfOzA','7191ZyvfJF','toString','(((.+)+)+)+$','1268uxMzgo','3704327VyYhpA','3Xivhnl','5274eXJloU','40nbVYMr','search','66306396IEcDrA','constructor','504BswAZg','556535BOLSkA','apply'];a123c=function(){return i;};return a123c();}import'./esri.generator.js';function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x11b;var f=c[d];return f;},a123d(a,b);}import'./map.esri.gen.js';
1
+ (function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0x175))/0x1*(parseInt(f(0x16f))/0x2)+-parseInt(f(0x174))/0x3+-parseInt(f(0x173))/0x4+parseInt(f(0x179))/0x5*(parseInt(f(0x17b))/0x6)+-parseInt(f(0x171))/0x7+parseInt(f(0x16e))/0x8+-parseInt(f(0x177))/0x9*(-parseInt(f(0x17a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xb2770));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0x170)]()[h(0x178)](h(0x172))['toString']()['constructor'](a123a)[h(0x178)]('(((.+)+)+)+$');});function a123c(){var i=['1795129iPxvYh','(((.+)+)+)+$','1886460hJhHcK','3035289sJnyPI','3bgTgMf','apply','9bVLtvD','search','3802615eYFTlX','2693130VHhblM','6ZKwCpE','3580296yoAGdQ','662296KbJVnc','toString'];a123c=function(){return i;};return a123c();}function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x16e;var f=c[d];return f;},a123d(a,b);}a123a();import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a124i=a124d;function a124c(){const k=['apply','11cldsnl','create','esri','2005MuMkWg','40272rguXHU','toString','588495fbmQVJ','(((.+)+)+)+$','2335541OSDqJN','1086dNfOTq','104080tBFbms','/foo/bar','511WBTWnD','search','constructor','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','28BgNURk','126XBNkFe','\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','4aWXZDQ','7576RirAay','9011pztdqI'];a124c=function(){return k;};return a124c();}(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x1a6))/0x1*(parseInt(f(0x1b8))/0x2)+parseInt(f(0x1ae))/0x3*(-parseInt(f(0x1a4))/0x4)+-parseInt(f(0x1ab))/0x5*(parseInt(f(0x1b1))/0x6)+parseInt(f(0x1b4))/0x7*(-parseInt(f(0x1a5))/0x8)+-parseInt(f(0x1b9))/0x9*(-parseInt(f(0x1b2))/0xa)+-parseInt(f(0x1a8))/0xb*(-parseInt(f(0x1ac))/0xc)+parseInt(f(0x1b0))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x1c90a));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a['toString']()[h(0x1b5)](h(0x1af))[h(0x1ad)]()[h(0x1b6)](a124a)[h(0x1b5)]('(((.+)+)+)+$');});a124a();function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a124d(a,b);}import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x1a9)]({'name':a124i(0x1aa),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a124i(0x1b7),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a124i(0x1a3)},async function(){const j=a124i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0x1b3)],'filesUpdated':['/foo']}};},async function(){},a124e);export default EsriGen;
1
+ const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0xfc))/0x1+-parseInt(f(0xfe))/0x2*(parseInt(f(0xf9))/0x3)+-parseInt(f(0xf5))/0x4+parseInt(f(0x100))/0x5+parseInt(f(0x103))/0x6+parseInt(f(0xfd))/0x7*(-parseInt(f(0x105))/0x8)+parseInt(f(0x104))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x48228));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a['toString']()['search'](h(0xfb))[h(0xf6)]()[h(0x106)](a124a)[h(0xf7)]('(((.+)+)+)+$');});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0xf4)]({'name':'esri','aliases':['e'],'usage':a124i(0xf3),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a124i(0xfa)},async function(){const j=a124i;return{'success':!![],'message':j(0xf8),'details':{'filesCreated':[j(0xff)],'filesUpdated':[j(0x102)]}};},async function(){},a124e);function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xf3;let f=c[d];return f;},a124d(a,b);}function a124c(){const k=['280964HStiYX','/foo/bar','148260gwQXBs','apply','/foo','2801076sTywTm','3674412oKVKAK','1298488AgPQcj','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','create','211856MaWcre','toString','search','Esri\x20Kit\x20generated\x20successfully','6bWmfvR','\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','(((.+)+)+)+$','211559zPvRlV','21lGTXUv'];a124c=function(){return k;};return a124c();}export default EsriGen;
@@ -1 +1 @@
1
- const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0xf7))/0x1+-parseInt(p(0x100))/0x2+parseInt(p(0xeb))/0x3*(parseInt(p(0xd7))/0x4)+-parseInt(p(0xea))/0x5+-parseInt(p(0xd6))/0x6*(-parseInt(p(0xf8))/0x7)+parseInt(p(0xfa))/0x8+parseInt(p(0xd3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x37327));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0xfe)]()[r(0xe5)](r(0xd4))[r(0xfe)]()['constructor'](a125a)['search'](r(0xd4));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a125c(){const v=['356hBXVjQ','withValue','/imports/startup/client/templates','getMakaProjectConfig','pathFromApp','checkNpmPackage','<div\x20id=\x22map\x22>','appName','fsi','injectTemplateModule','page','baseDir','basic-map','Generating\x20a\x20map\x20component','search','FALSE','true','.js','@esri/react-arcgis','638600WDJRHA','5043DTmSTN','kit/esri/map/','engines','esri-loader','</div>','/imports/startup/lib/templates','REACT','error','ssr','injectImport','map','\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','197590oRGNMG','371jutnzZ','dir','2990928OUSBZH','processAndRunGenerator','replaceAll','bright','toString','injectIntoFile','278608SsGwue','apply','split','/imports/ui/','900198GJlsMu','(((.+)+)+)+$','findProjectDirectory','7608XTXley'];a125c=function(){return v;};return a125c();}function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xd2;let f=c[d];return f;},a125d(a,b);}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['create']({'name':'map','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(0xf1)],'ssr':SsrEngines[a125s(0xe6)]},'description':a125s(0xf6)},async function(a,b){const t=a125s;try{Log[t(0xfd)](t(0xe4));const c=t(0xe3);await this[t(0xdf)][t(0xdc)]([t(0xe9),t(0xee)],{'shouldInstall':!![]});const d=this['fsi'][t(0xd5)](),f=this['fsi'][t(0xda)](),g=f[t(0xed)][t(0xf3)]===t(0xe7),h=await a125f[t(0xfb)](t(0xe1),[t(0xf5)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0xde)])[t(0xfc)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0xe2)]?t(0xd2)+b[t(0xe2)]:'/imports/ui/hooks',k=this[t(0xdf)][t(0xdb)]({'pathParts':[j,b[t(0xf9)],paramCase(c),paramCase(c)]});await this[t(0xdf)][t(0xd8)](f,async()=>{const u=t;await this[u(0xdf)]['template']({'srcPath':u(0xec)+c+u(0xe8),'destPath':k+'.js','framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[t(0xdf)][t(0xe0)](c,f,l);const m=h[t(0x102)]('/'),n=this[t(0xdf)][t(0xdb)]({'pathParts':m});await this['fsi'][t(0xf4)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0xf0):t(0xd9),'isNamedExport':!![]}),await this[t(0xdf)][t(0xff)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0xdd),t(0xdd)],'end':[t(0xef)],'replace':!![]});}catch(o){Log[t(0xf2)](o),process['exit'](0x1);}},async function(){},a125e);
1
+ const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=parseInt(p(0x15b))/0x1*(-parseInt(p(0x170))/0x2)+-parseInt(p(0x159))/0x3+parseInt(p(0x164))/0x4*(-parseInt(p(0x17e))/0x5)+parseInt(p(0x16d))/0x6*(parseInt(p(0x17c))/0x7)+-parseInt(p(0x15d))/0x8+-parseInt(p(0x15a))/0x9+parseInt(p(0x16b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x57685));function a125c(){const v=['template','replaceAll','pathFromApp','</div>','injectIntoFile','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','22258510XmgQab','appName','102EwCrKd','split','checkNpmPackage','18lPzyfW','findProjectDirectory','page','/imports/startup/client/templates','create','.js','react','withValue','search','@esri/react-arcgis','Generating\x20a\x20map\x20component','getMakaProjectConfig','244741NzBGPo','bright','605pjFqEi','apply','basic-map','/imports/ui/','fsi','constructor','(((.+)+)+)+$','toString','esri-loader','2106405fjSUJI','5350338ycpQOG','36127Pnyyuz','baseDir','3101272VCrWVb','FALSE','true','exit','map','dir','\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','14968UdyskE'];a125c=function(){return v;};return a125c();}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x157)]()[r(0x178)](r(0x156))[r(0x157)]()[r(0x155)](a125a)['search'](r(0x156));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x153;let f=c[d];return f;},a125d(a,b);}import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x174)]({'name':'map','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['REACT'],'ssr':SsrEngines[a125s(0x15e)]},'description':a125s(0x163)},async function(a,b){const t=a125s;try{Log[t(0x17d)](t(0x17a));const c=t(0x180);await this[t(0x154)][t(0x16f)]([t(0x179),t(0x158)],{'shouldInstall':!![]});const d=this['fsi'][t(0x171)](),f=this[t(0x154)][t(0x17b)](),g=f['engines']['ssr']===t(0x15f),h=await a125f['processAndRunGenerator'](t(0x172),[t(0x161)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x16c)])[t(0x166)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x15c)]?t(0x153)+b[t(0x15c)]:'/imports/ui/hooks',k=this[t(0x154)][t(0x167)]({'pathParts':[j,b[t(0x162)],paramCase(c),paramCase(c)]});await this[t(0x154)][t(0x177)](f,async()=>{const u=t;await this['fsi'][u(0x165)]({'srcPath':'kit/esri/map/'+c+u(0x175),'destPath':k+u(0x175),'framework':u(0x176),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x162)]+'/'+c+'/'+c;await this[t(0x154)]['injectTemplateModule'](c,f,l);const m=h[t(0x16e)]('/'),n=this['fsi']['pathFromApp']({'pathParts':m});await this[t(0x154)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x173),'isNamedExport':!![]}),await this[t(0x154)][t(0x169)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x16a),'begin':['<div\x20id=\x22map\x22>','<div\x20id=\x22map\x22>'],'end':[t(0x168)],'replace':!![]});}catch(o){Log['error'](o),process[t(0x160)](0x1);}},async function(){},a125e);
@@ -1 +1 @@
1
- const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x104))/0x1+-parseInt(f(0x106))/0x2*(parseInt(f(0x102))/0x3)+-parseInt(f(0x107))/0x4+parseInt(f(0x105))/0x5*(-parseInt(f(0xfd))/0x6)+parseInt(f(0xff))/0x7+parseInt(f(0xfe))/0x8+parseInt(f(0x101))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xb669f));function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xfb;let f=c[d];return f;},a126d(a,b);}const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0xfb)]()[h(0x10a)]('(((.+)+)+)+$')[h(0xfb)]()[h(0x109)](a126a)[h(0x10a)]('(((.+)+)+)+$');});a126a();import{Generator}from'../../generator.js';function a126c(){const j=['constructor','search','toString','apply','24apkgyO','223144CGRhhz','1291059LgvDFP','kit','19925784kGlhZP','3TlQNUZ','maka\x20g:k','529629prdNhU','990910gDrzWe','701534AKbgCj','4261092shsauQ','maka\x20{generate,\x20g}:{kit}\x20<name>'];a126c=function(){return j;};return a126c();}const KitGen=Generator['create']({'name':a126i(0x100),'aliases':['k'],'usage':a126i(0x108),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a126i(0x103)]},async function(){});export default KitGen;
1
+ const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x197))/0x1+parseInt(f(0x196))/0x2+parseInt(f(0x18e))/0x3+parseInt(f(0x192))/0x4*(parseInt(f(0x194))/0x5)+parseInt(f(0x19b))/0x6*(-parseInt(f(0x191))/0x7)+parseInt(f(0x195))/0x8+parseInt(f(0x193))/0x9*(-parseInt(f(0x199))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xbfd72));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a['toString']()[h(0x18b)](h(0x18a))[h(0x18c)]()['constructor'](a126a)[h(0x18b)]('(((.+)+)+)+$');});a126a();import{Generator}from'../../generator.js';const KitGen=Generator[a126i(0x18d)]({'name':a126i(0x190),'aliases':['k'],'usage':a126i(0x19a),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x198),'maka\x20g:k']},async function(){});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x18a;let f=c[d];return f;},a126d(a,b);}export default KitGen;function a126c(){const j=['18487EalerC','326272eOUKuR','261JLqkYs','5VWvkrp','8171176bgtjAd','3131926ofgcUg','883219ljnepn','maka\x20g:kit','1116510niGJNa','maka\x20{generate,\x20g}:{kit}\x20<name>','462BNLgVw','(((.+)+)+)+$','search','toString','create','2024601MzbrCX','apply','kit'];a126c=function(){return j;};return a126c();}
@@ -1 +1 @@
1
- function a127c(){var i=['6525533bWXurq','11TCRemw','576801XGvDhS','toString','4dnWBqd','390UyXiHu','(((.+)+)+)+$','1464678JOvnXZ','5275GGATNw','search','17994516SsRbZY','11416060sICVNR','8MtlbpL','3275FWqKKz','6GRDSYR','apply'];a127c=function(){return i;};return a127c();}(function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x11a))/0x1*(-parseInt(f(0x127))/0x2)+-parseInt(f(0x124))/0x3*(-parseInt(f(0x126))/0x4)+-parseInt(f(0x11f))/0x5*(-parseInt(f(0x120))/0x6)+-parseInt(f(0x122))/0x7*(-parseInt(f(0x11e))/0x8)+parseInt(f(0x119))/0x9+-parseInt(f(0x11d))/0xa+-parseInt(f(0x123))/0xb*(-parseInt(f(0x11c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x96aeb));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x125)]()[h(0x11b)](h(0x118))[h(0x125)]()['constructor'](a127a)[h(0x11b)](h(0x118));});function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x118;var f=c[d];return f;},a127d(a,b);}a127a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x18c))/0x1+-parseInt(f(0x18a))/0x2*(parseInt(f(0x186))/0x3)+-parseInt(f(0x18e))/0x4+-parseInt(f(0x18b))/0x5*(-parseInt(f(0x188))/0x6)+-parseInt(f(0x184))/0x7+-parseInt(f(0x189))/0x8*(-parseInt(f(0x190))/0x9)+parseInt(f(0x18f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xd9096));function a127c(){var h=['19736YaKsYC','2YszDAM','5GscWwk','1353712Krobas','(((.+)+)+)+$','6817312bouHXo','21852660vlsAby','2331gLYtGE','toString','11657016hCLLrP','constructor','4627785ouGrOc','search','9739572WLfAsn'];a127c=function(){return h;};return a127c();}var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var g=a127d;return a127a[g(0x191)]()['search'](g(0x18d))[g(0x191)]()[g(0x185)](a127a)[g(0x187)]('(((.+)+)+)+$');});function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x184;var f=c[d];return f;},a127d(a,b);}a127a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a128I=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0x20d))/0x1*(-parseInt(G(0x1fa))/0x2)+-parseInt(G(0x1fb))/0x3+-parseInt(G(0x1ff))/0x4+-parseInt(G(0x228))/0x5+parseInt(G(0x223))/0x6+parseInt(G(0x206))/0x7+parseInt(G(0x210))/0x8*(parseInt(G(0x22d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x2ae8c));const a128b=(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;};}()),a128a=a128b(this,function(){const H=a128d;return a128a[H(0x217)]()[H(0x22b)](H(0x22c))[H(0x217)]()[H(0x21b)](a128a)[H(0x22b)]('(((.+)+)+)+$');});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';function a128c(){const M=['92ZwRrNK','546225sIsGMm','kit:auth:meteor','basic-password-reset-page','withValue','1332540VLYyNi','register','basic-logout-page','maka\x20generate:kit:mui:frame','react','findProjectDirectory','processAndRunGenerator','2213841VRkUEG','maka\x20g:k:m:f','layouts','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','template','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','basic-register-page','878NhZEdL','authType','fsi','323080VLQoRg','pathFromApp','auth','.js','/imports/ui/','logout','reset-password/:token','toString','AuthContext','/imports/startup/lib/authentication-provider','engines','constructor','route','split','kit/mui/auth/register/','injectImport','Cleaning\x20up...','true','options','132816RryxDL','list','error','login','baseDir','1064130FDmSgM','dir','MATERIAL','search','(((.+)+)+)+$','117dKWpiS','basic-forgot-password-page','meteor','force','basic-login-page','kit/mui/auth/forgot-password/','injectTemplateModule','/imports/ui/pages/auth','kit/mui/auth/password-reset/','/imports/startup/client/authentication-provider','appName','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','forgot-password','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','kit:auth:provider','REACT','Meteor\x20Accounts','custom'];a128c=function(){return M;};return a128c();}import{paramCase,headerCase}from'change-case';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1ec;let f=c[d];return f;},a128d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a128I(0x212),'aliases':['a'],'usage':a128I(0x209),'shortDesc':a128I(0x20b),'validOpts':[a128I(0x208),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128I(0x22a)],'client':ClientEngines[a128I(0x1f7)]},'examples':[a128I(0x202),a128I(0x207)],'description':a128I(0x1f3)},async function(a,b){const J=a128I;try{const c=b[J(0x230)]||![],d=this[J(0x20f)][J(0x204)](),f=this['fsi']['getMakaProjectConfig'](),{authType:g}=await Actions[J(0x222)]({'type':J(0x224),'name':J(0x20e),'message':J(0x1f5),'choices':[{'name':J(0x1f8),'value':'meteor'},{'name':'Custom\x20(roll\x20your\x20own)','value':J(0x1f9)}]}),h='basic-login-page',i=J(0x201),j='basic-register-page',k='basic-password-reset-page',l=J(0x22e),m=b[J(0x227)]?J(0x214)+b[J(0x227)]:J(0x1ef),n=this[J(0x20f)][J(0x211)]({'pathParts':[m,b[J(0x229)],paramCase(h),paramCase(h)]}),o=this[J(0x20f)][J(0x211)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[J(0x20f)]['pathFromApp']({'pathParts':[m,b[J(0x229)],paramCase(j),paramCase(j)]}),q=this[J(0x20f)][J(0x211)]({'pathParts':[m,b[J(0x229)],paramCase(k),paramCase(k)]}),r=this[J(0x20f)][J(0x211)]({'pathParts':[m,b[J(0x229)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[J(0x1f2)])['replaceAll']('-','\x20')};await this[J(0x20f)][J(0x1fe)](f,async()=>{const K=J;await this['fsi'][K(0x20a)]({'srcPath':'kit/mui/auth/login/'+h+K(0x213),'destPath':n+'.js','framework':K(0x203),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x20f)][K(0x20a)]({'srcPath':'kit/mui/auth/logout/'+i+K(0x213),'destPath':o+K(0x213),'framework':K(0x203),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x20f)][K(0x20a)]({'srcPath':K(0x21e)+j+K(0x213),'destPath':p+'.js','framework':K(0x203),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x20f)][K(0x20a)]({'srcPath':K(0x1f0)+k+'.js','destPath':q+K(0x213),'framework':K(0x203),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':K(0x1ed)+l+K(0x213),'destPath':r+K(0x213),'framework':K(0x203),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0x229)]+'/'+h+'/'+h;await this['fsi'][J(0x1ee)](h,f,t);const u=''+m+b[J(0x229)]+'/'+i+'/'+i;await this[J(0x20f)]['injectTemplateModule'](i,f,u);const v=''+m+b[J(0x229)]+'/'+j+'/'+j;await this[J(0x20f)][J(0x1ee)](j,f,v);const w=''+m+b[J(0x229)]+'/'+k+'/'+k;await this[J(0x20f)][J(0x1ee)](k,f,w);const x=''+m+b[J(0x229)]+'/'+l+'/'+l;await this[J(0x20f)]['injectTemplateModule'](l,f,x),await a128e[J(0x205)](J(0x21c),[J(0x1ec)],{'url':J(0x226),'cwd':d,'config':f}),await a128e[J(0x205)](J(0x21c),[J(0x201)],{'url':J(0x215),'private':!![],'cwd':d,'config':f}),await a128e[J(0x205)](J(0x21c),[J(0x20c)],{'url':J(0x200),'cwd':d,'config':f}),await a128e[J(0x205)](J(0x21c),[J(0x1fd)],{'url':J(0x216),'cwd':d,'config':f}),await a128e[J(0x205)](J(0x21c),[J(0x22e)],{'url':J(0x1f4),'cwd':d,'config':f});g===J(0x22f)&&await a128e[J(0x205)](J(0x1fc),[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a128e[J(0x205)](J(0x1f6),[],{'force':c,'cwd':d,'config':f});const y=f['engines']['ssr']===J(0x221),z=f[J(0x21a)]['js'],A=this[J(0x20f)][J(0x211)]({'pathParts':t['split']('/')});await this[J(0x20f)]['injectImport']({'filePath':A+'.'+z,'importName':J(0x218),'modulePath':y?J(0x219):J(0x1f1),'isNamedExport':!![]});const B=this[J(0x20f)][J(0x211)]({'pathParts':u[J(0x21d)]('/')});await this[J(0x20f)][J(0x21f)]({'filePath':B+'.'+z,'importName':J(0x218),'modulePath':y?J(0x219):J(0x1f1),'isNamedExport':!![]});const C=this[J(0x20f)]['pathFromApp']({'pathParts':v[J(0x21d)]('/')});await this[J(0x20f)][J(0x21f)]({'filePath':C+'.'+z,'importName':J(0x218),'modulePath':y?J(0x219):J(0x1f1),'isNamedExport':!![]});const D=this[J(0x20f)][J(0x211)]({'pathParts':w[J(0x21d)]('/')});await this[J(0x20f)][J(0x21f)]({'filePath':D+'.'+z,'importName':J(0x218),'modulePath':y?J(0x219):J(0x1f1),'isNamedExport':!![]});const E=this['fsi'][J(0x211)]({'pathParts':x[J(0x21d)]('/')});await this[J(0x20f)][J(0x21f)]({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?J(0x219):J(0x1f1),'isNamedExport':!![]});}catch(F){Log[J(0x225)](F);}},async function(){const L=a128I;console['log'](L(0x220));},a128f);
1
+ function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a128d(a,b);}const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0x1d7))/0x1*(-parseInt(G(0x1e4))/0x2)+-parseInt(G(0x1f5))/0x3+-parseInt(G(0x1ee))/0x4*(-parseInt(G(0x1e1))/0x5)+-parseInt(G(0x1dc))/0x6*(parseInt(G(0x1e0))/0x7)+-parseInt(G(0x1f1))/0x8+parseInt(G(0x1fb))/0x9*(parseInt(G(0x1f6))/0xa)+-parseInt(G(0x1f9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x7c1de));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x1f2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x1ca)]()[I(0x1db)](I(0x1ec))[I(0x1ca)]()[I(0x1f7)](a128a)[I(0x1db)](I(0x1ec));});a128a();function a128c(){const N=['.js','authType','template','kit/mui/auth/logout/','kit/mui/auth/forgot-password/','split','1477cATMGg','kit:auth:meteor','appName','basic-register-page','search','17208eeAbUv','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-forgot-password-page','create','994QqvITq','15rGfram','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','injectTemplateModule','478wMlTDn','basic-logout-page','dir','kit/mui/auth/register/','basic-login-page','ssr','log','basic-password-reset-page','(((.+)+)+)+$','getMakaProjectConfig','1109996WoasuA','custom','engines','1969440WXdSsz','apply','processAndRunGenerator','findProjectDirectory','1348992sLWECy','2190yoUuVv','constructor','fsi','3208491mwsBqH','register','29493rBKhkG','/imports/startup/lib/authentication-provider','Meteor\x20Accounts','pathFromApp','layouts','/imports/startup/client/authentication-provider','MATERIAL','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','REACT','replaceAll','react','auth','login','/imports/ui/pages/auth','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','route','toString','Custom\x20(roll\x20your\x20own)','injectImport','Cleaning\x20up...','AuthContext','meteor','force'];a128c=function(){return N;};return a128c();}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';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0x1df)]({'name':a128J(0x1c5),'aliases':['a'],'usage':a128J(0x1c8),'shortDesc':a128J(0x1c1),'validOpts':[a128J(0x1ff),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0x1c0)],'client':ClientEngines[a128J(0x1c2)]},'examples':['maka\x20generate:kit:mui:frame','maka\x20g:k:m:f'],'description':a128J(0x1dd)},async function(a,b){const K=a128J;try{const c=b[K(0x1d0)]||![],d=this['fsi'][K(0x1f4)](),f=this[K(0x1f8)][K(0x1ed)](),{authType:g}=await Actions['options']({'type':'list','name':K(0x1d2),'message':K(0x1e2),'choices':[{'name':K(0x1fd),'value':K(0x1cf)},{'name':K(0x1cb),'value':K(0x1ef)}]}),h=K(0x1e8),i='basic-logout-page',j=K(0x1da),k=K(0x1eb),l='basic-forgot-password-page',m=b['baseDir']?'/imports/ui/'+b['baseDir']:K(0x1c7),n=this[K(0x1f8)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0x1f8)][K(0x1fe)]({'pathParts':[m,b[K(0x1e6)],paramCase(i),paramCase(i)]}),p=this[K(0x1f8)][K(0x1fe)]({'pathParts':[m,b[K(0x1e6)],paramCase(j),paramCase(j)]}),q=this[K(0x1f8)][K(0x1fe)]({'pathParts':[m,b[K(0x1e6)],paramCase(k),paramCase(k)]}),r=this[K(0x1f8)]['pathFromApp']({'pathParts':[m,b[K(0x1e6)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1d9)])[K(0x1c3)]('-','\x20')};await this[K(0x1f8)]['withValue'](f,async()=>{const L=K;await this[L(0x1f8)]['template']({'srcPath':'kit/mui/auth/login/'+h+L(0x1d1),'destPath':n+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1f8)][L(0x1d3)]({'srcPath':L(0x1d4)+i+L(0x1d1),'destPath':o+L(0x1d1),'framework':L(0x1c4),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1f8)][L(0x1d3)]({'srcPath':L(0x1e7)+j+'.js','destPath':p+L(0x1d1),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1f8)][L(0x1d3)]({'srcPath':'kit/mui/auth/password-reset/'+k+L(0x1d1),'destPath':q+L(0x1d1),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1f8)][L(0x1d3)]({'srcPath':L(0x1d5)+l+'.js','destPath':r+L(0x1d1),'framework':L(0x1c4),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x1e6)]+'/'+h+'/'+h;await this[K(0x1f8)][K(0x1e3)](h,f,t);const u=''+m+b[K(0x1e6)]+'/'+i+'/'+i;await this['fsi'][K(0x1e3)](i,f,u);const v=''+m+b[K(0x1e6)]+'/'+j+'/'+j;await this['fsi'][K(0x1e3)](j,f,v);const w=''+m+b[K(0x1e6)]+'/'+k+'/'+k;await this[K(0x1f8)][K(0x1e3)](k,f,w);const x=''+m+b[K(0x1e6)]+'/'+l+'/'+l;await this[K(0x1f8)]['injectTemplateModule'](l,f,x),await a128e[K(0x1f3)](K(0x1c9),[K(0x1e8)],{'url':K(0x1c6),'cwd':d,'config':f}),await a128e[K(0x1f3)](K(0x1c9),[K(0x1e5)],{'url':'logout','private':!![],'cwd':d,'config':f}),await a128e['processAndRunGenerator'](K(0x1c9),['basic-register-page'],{'url':K(0x1fa),'cwd':d,'config':f}),await a128e[K(0x1f3)](K(0x1c9),[K(0x1eb)],{'url':'reset-password/:token','cwd':d,'config':f}),await a128e['processAndRunGenerator'](K(0x1c9),[K(0x1de)],{'url':'forgot-password','cwd':d,'config':f});g===K(0x1cf)&&await a128e['processAndRunGenerator'](K(0x1d8),[],{'force':c,'cwd':d,'config':f});g===K(0x1ef)&&await a128e[K(0x1f3)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f[K(0x1f0)][K(0x1e9)]==='true',z=f[K(0x1f0)]['js'],A=this['fsi'][K(0x1fe)]({'pathParts':t[K(0x1d6)]('/')});await this['fsi'][K(0x1cc)]({'filePath':A+'.'+z,'importName':K(0x1ce),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x200),'isNamedExport':!![]});const B=this[K(0x1f8)][K(0x1fe)]({'pathParts':u['split']('/')});await this[K(0x1f8)][K(0x1cc)]({'filePath':B+'.'+z,'importName':K(0x1ce),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x200),'isNamedExport':!![]});const C=this[K(0x1f8)][K(0x1fe)]({'pathParts':v['split']('/')});await this[K(0x1f8)]['injectImport']({'filePath':C+'.'+z,'importName':K(0x1ce),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x200),'isNamedExport':!![]});const D=this[K(0x1f8)][K(0x1fe)]({'pathParts':w['split']('/')});await this[K(0x1f8)][K(0x1cc)]({'filePath':D+'.'+z,'importName':K(0x1ce),'modulePath':y?K(0x1fc):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[K(0x1f8)]['pathFromApp']({'pathParts':x['split']('/')});await this[K(0x1f8)][K(0x1cc)]({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?K(0x1fc):K(0x200),'isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const M=a128J;console[M(0x1ea)](M(0x1cd));},a128f);
@@ -1 +1 @@
1
- const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0x143))/0x1*(parseInt(B(0x12a))/0x2)+parseInt(B(0x128))/0x3+-parseInt(B(0x149))/0x4*(-parseInt(B(0x132))/0x5)+-parseInt(B(0x136))/0x6*(parseInt(B(0x140))/0x7)+parseInt(B(0x12f))/0x8+parseInt(B(0x135))/0x9*(parseInt(B(0x168))/0xa)+parseInt(B(0x138))/0xb*(-parseInt(B(0x158))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xa1554));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x167)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x146)]()[D(0x147)](D(0x16e))['toString']()[D(0x16d)](a129a)['search'](D(0x16e));});function a129c(){const I=['/imports/startup/lib/templates','injectIntoFile','app-tests','baseDir','session','getDirectories','template','options','join','.js','{\x20this.props.children\x20}','react','{\x20props.children\x20}','12xsnrRX','{props.children}','test','maka:react-tracker','Container','MATERIAL','No\x20layouts\x20selected','/imports/startup/client/templates','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','/imports/ui/','ssr','<div\x20id=\x22','maka\x20generate:kit:mui:frame','dir','/imports/ui/components','apply','7550hhNOOI','injectTemplateModule','layouts','force','kit/mui/frame/app-bars/','constructor','(((.+)+)+)+$','-hook\x22>','basic-app-bar','true','pathFromApp','injectImport','jsx','1666038BmYKCf','appName','93638xJbmkM','basic-drawer','error','injectAroundString','\x20/>\x0a','8129960cdXxdD','@mui/material/Box','tests','15IYNeql','getFiles','{this.props.children}','63UgAAdZ','3882EaCrhN','Cleaning\x20up...','9943439dsPjTL','</div>','kit/mui/frame/drawers/','length','frame','maka\x20g:k:m:f','REACT','withValue','9653sTUGZL','log','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','2CgxAmA','replaceAll','Box','toString','search','fsi','1048624UCVjbF','kit/mui/frame/footers/'];a129c=function(){return I;};return a129c();}a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x122;let f=c[d];return f;},a129d(a,b);}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['create']({'name':a129E(0x13c),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a129E(0x16a),'baseDir','dir',a129E(0x16b)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x15d)],'client':ClientEngines[a129E(0x13e)]},'examples':[a129E(0x164),a129E(0x13d)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const F=a129E;try{const c=b[F(0x16b)]||![],d=F(0x123),f=F(0x12b),g='basic-sticky-footer',h=this[F(0x148)]['getMakaProjectConfig'](),i=h['engines'][F(0x162)]===F(0x124);await this['fsi']['checkMeteorPackage']([F(0x14f),F(0x15b)],{'shouldInstall':!![]});const j=this[F(0x148)]['findAppDirectory'](),k=a129e[F(0x153)](j,'imports','ui',F(0x16a)),l=this[F(0x148)][F(0x150)](k),m=await Actions[F(0x152)]({'type':'checkbox','name':F(0x16a),'message':F(0x160),'choices':l});if(m[F(0x16a)][F(0x13b)]===0x0){Log[F(0x12c)](F(0x15e));return;}const n=b[F(0x14e)]?F(0x161)+b[F(0x14e)]:F(0x166),o=this[F(0x148)][F(0x125)]({'pathParts':[n,b[F(0x165)],paramCase(d),paramCase(d)]}),p=this['fsi'][F(0x125)]({'pathParts':[n,b[F(0x165)],paramCase(f),paramCase(f)]}),q=this[F(0x148)][F(0x125)]({'pathParts':[n,b[F(0x165)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x129)])[F(0x144)]('-','\x20')};await this[F(0x148)][F(0x13f)](h,async()=>{const G=F;await this[G(0x148)][G(0x151)]({'srcPath':G(0x16c)+d+G(0x154),'destPath':o+G(0x154),'framework':G(0x156),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x148)][G(0x151)]({'srcPath':G(0x13a)+f+G(0x154),'destPath':p+G(0x154),'framework':G(0x156),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x148)][G(0x151)]({'srcPath':G(0x14a)+g+'.js','destPath':q+G(0x154),'framework':G(0x156),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x165)]+'/'+d+'/'+d;await this['fsi'][F(0x169)](d,h,s);const t=''+n+b[F(0x165)]+'/'+f+'/'+f;await this[F(0x148)][F(0x169)](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this[F(0x148)][F(0x169)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x148)][F(0x133)](a129e[F(0x153)](k,w),{'extensions':[F(0x127),'tsx'],'omit':[F(0x14d),F(0x131),F(0x15a)]});for(const y of x){const z=a129e[F(0x153)](k,w,y);await this['fsi'][F(0x126)]({'filePath':z,'importName':F(0x145),'modulePath':F(0x130),'isNamedExport':![]}),await this['fsi'][F(0x126)]({'filePath':z,'importName':F(0x15c),'modulePath':'@mui/material/Container','isNamedExport':![]}),await this[F(0x148)]['injectImport']({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x14b):F(0x15f),'isNamedExport':!![]}),await this[F(0x148)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+F(0x12e),'begin':[F(0x163)+w+'\x22>',F(0x163)+w+F(0x122)],'end':[F(0x134),'{\x20this.props.children\x20}',F(0x159),F(0x157)]}),await this['fsi'][F(0x126)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x14b):F(0x15f),'isNamedExport':!![]}),await this[F(0x148)][F(0x14c)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x12e),'begin':[F(0x163)+w+'\x22>',F(0x163)+w+'-hook\x22>'],'end':[F(0x134),F(0x155),'{props.children}',F(0x157)]}),await this[F(0x148)][F(0x14c)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x12e),'begin':[F(0x134),F(0x155),'{props.children}',F(0x157)],'end':[F(0x139)]}),await this[F(0x148)][F(0x126)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x14b):'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi'][F(0x12d)]({'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(0x142),'targetString':[F(0x134),F(0x155),F(0x159),F(0x157)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x12c)](A);}},async function(){const H=a129E;console[H(0x141)](H(0x137));},a129f);
1
+ const a129E=a129d;function a129c(){const I=['dir','join','8nOByoO','/imports/startup/lib/templates','options','tsx','Container','maka:react-tracker','<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>','maka\x20g:k:m:f','MATERIAL','tests','injectIntoFile','Box','basic-app-bar','{\x20this.props.children\x20}','test','length','baseDir','\x20/>\x0a','16UxnnSF','injectImport','true','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','9722700IDOMlF','frame','21096020MkpaoE','imports','error','search','maka\x20generate:kit:mui:frame','checkbox','178378xEBAcL','injectTemplateModule','11788441oqYpec','355497xmqUaC','session','/imports/ui/components','template','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','40yLmJOz','{this.props.children}','</div>','jsx','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','withValue','{props.children}','force','kit/mui/frame/drawers/','6192695zaOAXj','apply','20pANEJp','log','appName','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','create','<div\x20id=\x22','layouts','@mui/material/Container','getFiles','-hook\x22>','kit/mui/frame/footers/','/imports/startup/client/templates','REACT','/imports/ui/','fsi','getDirectories','(((.+)+)+)+$','pathFromApp','kit/mui/frame/app-bars/','react','replaceAll','.js','engines','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','{\x20props.children\x20}','1209591uABlpB','checkMeteorPackage'];a129c=function(){return I;};return a129c();}(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0x160))/0x1*(-parseInt(B(0x154))/0x2)+-parseInt(B(0x115))/0x3*(parseInt(B(0x125))/0x4)+-parseInt(B(0x123))/0x5+parseInt(B(0x158))/0x6+parseInt(B(0x114))/0x7*(-parseInt(B(0x142))/0x8)+parseInt(B(0x13e))/0x9*(-parseInt(B(0x11a))/0xa)+parseInt(B(0x15a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xdecd9));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a['toString']()[D(0x15d)](D(0x135))['toString']()['constructor'](a129a)[D(0x15d)](D(0x135));});function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x113;let f=c[d];return f;},a129d(a,b);}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(0x129)]({'name':a129E(0x159),'aliases':['f'],'usage':a129E(0x119),'shortDesc':a129E(0x11e),'validOpts':['layouts',a129E(0x152),a129E(0x140),a129E(0x121)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x14a)],'client':ClientEngines[a129E(0x131)]},'examples':[a129E(0x15e),a129E(0x149)],'description':a129E(0x13c)},async function(a,b){const F=a129E;try{const c=b[F(0x121)]||![],d=F(0x14e),f='basic-drawer',g='basic-sticky-footer',h=this[F(0x133)]['getMakaProjectConfig'](),i=h[F(0x13b)]['ssr']===F(0x156);await this[F(0x133)][F(0x13f)]([F(0x116),F(0x147)],{'shouldInstall':!![]});const j=this[F(0x133)]['findAppDirectory'](),k=a129e[F(0x141)](j,F(0x15b),'ui',F(0x12b)),l=this[F(0x133)][F(0x134)](k),m=await Actions[F(0x144)]({'type':F(0x15f),'name':F(0x12b),'message':F(0x128),'choices':l});if(m[F(0x12b)][F(0x151)]===0x0){Log[F(0x15c)]('No\x20layouts\x20selected');return;}const n=b['baseDir']?F(0x132)+b[F(0x152)]:F(0x117),o=this['fsi'][F(0x136)]({'pathParts':[n,b[F(0x140)],paramCase(d),paramCase(d)]}),p=this['fsi'][F(0x136)]({'pathParts':[n,b[F(0x140)],paramCase(f),paramCase(f)]}),q=this[F(0x133)][F(0x136)]({'pathParts':[n,b[F(0x140)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x127)])[F(0x139)]('-','\x20')};await this[F(0x133)][F(0x11f)](h,async()=>{const G=F;await this[G(0x133)][G(0x118)]({'srcPath':G(0x137)+d+G(0x13a),'destPath':o+G(0x13a),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x133)][G(0x118)]({'srcPath':G(0x122)+f+G(0x13a),'destPath':p+'.js','framework':G(0x138),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x133)][G(0x118)]({'srcPath':G(0x12f)+g+G(0x13a),'destPath':q+G(0x13a),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x140)]+'/'+d+'/'+d;await this[F(0x133)][F(0x113)](d,h,s);const t=''+n+b[F(0x140)]+'/'+f+'/'+f;await this[F(0x133)][F(0x113)](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this[F(0x133)][F(0x113)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x133)][F(0x12d)](a129e[F(0x141)](k,w),{'extensions':[F(0x11d),F(0x145)],'omit':['app-tests',F(0x14b),F(0x150)]});for(const y of x){const z=a129e['join'](k,w,y);await this[F(0x133)][F(0x155)]({'filePath':z,'importName':F(0x14d),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this['fsi'][F(0x155)]({'filePath':z,'importName':F(0x146),'modulePath':F(0x12c),'isNamedExport':![]}),await this['fsi'][F(0x155)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':F(0x130),'isNamedExport':!![]}),await this[F(0x133)][F(0x14c)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':['<div\x20id=\x22'+w+'\x22>',F(0x12a)+w+F(0x12e)],'end':[F(0x11b),F(0x14f),F(0x120),F(0x13d)]}),await this[F(0x133)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x143):F(0x130),'isNamedExport':!![]}),await this[F(0x133)][F(0x14c)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x153),'begin':['<div\x20id=\x22'+w+'\x22>',F(0x12a)+w+F(0x12e)],'end':[F(0x11b),F(0x14f),F(0x120),F(0x13d)]}),await this[F(0x133)][F(0x14c)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x153),'begin':[F(0x11b),F(0x14f),'{props.children}',F(0x13d)],'end':[F(0x11c)]}),await this[F(0x133)][F(0x155)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':F(0x130),'isNamedExport':!![]}),await this[F(0x133)]['injectAroundString']({'filePath':z,'aboveContent':F(0x148),'belowContent':F(0x157),'targetString':[F(0x11b),'{\x20this.props.children\x20}',F(0x120),'{\x20props.children\x20}'],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x15c)](A);}},async function(){const H=a129E;console[H(0x126)]('Cleaning\x20up...');},a129f);
@@ -1 +1 @@
1
- const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0x10d))/0x1+parseInt(g(0xfa))/0x2+parseInt(g(0x102))/0x3*(parseInt(g(0x115))/0x4)+parseInt(g(0x103))/0x5+-parseInt(g(0x107))/0x6*(parseInt(g(0x100))/0x7)+-parseInt(g(0x10b))/0x8+-parseInt(g(0xfb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x6b038));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0x110)]()['search'](i(0x104))[i(0x110)]()[i(0x109)](a130a)[i(0xfc)](i(0x104));});a130a();import{Generator}from'../../../generator.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xf8;let f=c[d];return f;},a130d(a,b);}function a130c(){const l=['includes','731004yzOHUA','1706958VicgjW','search','getMakaProjectConfig','kitChoices','maka\x20g:kit:m','583779eFZMPa','apply','1747059AnLBlv','2972360CQwPnG','(((.+)+)+)+$','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','Material-UI\x20Kit','60mrptlh','kit:mui:frame','constructor','auth','2265496WatBLZ','options','202820fQBKDK','processAndRunGenerator','notice','toString','fsi','No\x20MUI\x20kits\x20selected.\x20Exiting.','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','findProjectDirectory','4xmOwad','checkbox','length','info','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'];a130c=function(){return l;};return a130c();}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';const MuiGen=Generator['create']({'name':'mui','aliases':['m'],'usage':a130j(0x113),'noNeedResource':!![],'shortDesc':a130j(0x106),'validOpts':[''],'isPro':!![],'examples':[a130j(0xff)]},async function(){const k=a130j;Log[k(0x118)](k(0xf8)),Log[k(0x10f)]('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const {kitChoices:a}=await Actions[k(0x10c)]({'type':k(0x116),'name':k(0xfe),'message':k(0x105),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':'frame'},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':'auth'}]}),b=this[k(0x111)][k(0x114)](),c=this[k(0x111)][k(0xfd)]();a['includes']('frame')&&await a130e[k(0x10e)](k(0x108),[],{'force':!![],'cwd':b,'config':c});a[k(0xf9)](k(0x10a))&&await a130e[k(0x10e)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0x117)]===0x0){Log['info'](k(0x112));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(0x1ee))/0x1*(parseInt(g(0x1e8))/0x2)+-parseInt(g(0x201))/0x3*(parseInt(g(0x1f4))/0x4)+-parseInt(g(0x1e2))/0x5*(parseInt(g(0x200))/0x6)+-parseInt(g(0x1da))/0x7*(-parseInt(g(0x1f2))/0x8)+-parseInt(g(0x1ec))/0x9+-parseInt(g(0x1e4))/0xa+parseInt(g(0x1fb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xe13ed));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0x1e1)]()[i(0x1f5)](i(0x1ef))['toString']()[i(0x1dd)](a130a)[i(0x1f5)](i(0x1ef));});function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1da;let f=c[d];return f;},a130d(a,b);}function a130c(){const l=['5368SwxAAM','search','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','notice','info','Material-UI\x20Kit','Header,\x20Footer,\x20and\x20Drawer','54961027NkflcK','includes','maka\x20g:kit:m','No\x20MUI\x20kits\x20selected.\x20Exiting.','auth','18714LBqYlu','1083AozMcj','763WwoGXI','fsi','checkbox','constructor','kitChoices','findProjectDirectory','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','toString','1515zqAjoQ','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','17882470GasYjk','apply','mui','processAndRunGenerator','36bPHJLI','create','kit:mui:frame','kit:mui:auth','7038495rLQUqn','length','45006SaYCym','(((.+)+)+)+$','frame','options','54024ehyWvj','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?'];a130c=function(){return l;};return a130c();}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';const MuiGen=Generator[a130j(0x1e9)]({'name':a130j(0x1e6),'aliases':['m'],'usage':a130j(0x1f6),'noNeedResource':!![],'shortDesc':a130j(0x1f9),'validOpts':[''],'isPro':!![],'examples':[a130j(0x1fd)]},async function(){const k=a130j;Log[k(0x1f8)](k(0x1e0)),Log[k(0x1f7)]('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const {kitChoices:a}=await Actions[k(0x1f1)]({'type':k(0x1dc),'name':k(0x1de),'message':k(0x1f3),'choices':[{'name':k(0x1fa),'value':k(0x1f0)},{'name':k(0x1e3),'value':k(0x1ff)}]}),b=this[k(0x1db)][k(0x1df)](),c=this['fsi']['getMakaProjectConfig']();a[k(0x1fc)]('frame')&&await a130e[k(0x1e7)](k(0x1ea),[],{'force':!![],'cwd':b,'config':c});a[k(0x1fc)](k(0x1ff))&&await a130e[k(0x1e7)](k(0x1eb),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1ed)]===0x0){Log[k(0x1f8)](k(0x1fe));return;}},async function(){},a130f);export default MuiGen;
@@ -1 +1 @@
1
- const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=parseInt(l(0x225))/0x1+-parseInt(l(0x1fe))/0x2+parseInt(l(0x206))/0x3*(parseInt(l(0x224))/0x4)+parseInt(l(0x210))/0x5*(parseInt(l(0x211))/0x6)+parseInt(l(0x212))/0x7+-parseInt(l(0x223))/0x8*(parseInt(l(0x20b))/0x9)+-parseInt(l(0x1ef))/0xa*(-parseInt(l(0x208))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x67e73));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x20c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a['toString']()['search']('(((.+)+)+)+$')[n(0x1f6)]()[n(0x1ec)](a131a)[n(0x201)](n(0x205));});a131a();function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a131d(a,b);}import a131e from'path';import{Generator}from'../generator.js';function a131c(){const r=['toString','withTranslations','graphql','.js','engines','test/test.js','injectTemplateModule','assign','1670984eonkiB','create','react','search','fsi','template','findAppDirectory','(((.+)+)+)+$','10632QQIloj','ramda','33NFjrLj','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','withValue','6597mAfsHn','apply','setTemplate','none','withHook','345dFqFdr','48186cZvzDR','2462978wtgEXu','component/component.js','injectAtBeginningOfFile','features','includes','import\x20\x27./','hook/hook.js','split','template/template.css','getMakaProjectConfig','installNpmPackage','Scaffolding\x20for\x20a\x20React\x20Layout.','fileName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','dir','ssr','checkNpmPackage','8656WWlLvk','464fpELQw','678135rwIyAB','resourceName','api','constructor','string','test','196510vqMWlL','pathFromApp','warn','maka\x20g:layout\x20mobile/iPhone8','layout','css','maka\x20g:l\x20web/safari'];a131c=function(){return r;};return a131c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a131o(0x1ff)]({'name':a131o(0x1f3),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a131o(0x21d),'validOpts':[a131o(0x20f)],'examples':[a131o(0x1f2),a131o(0x1f5)]},async function(a,b){const p=a131o,c='/imports/ui/layouts',d=this['fsi'][p(0x204)](),e=this[p(0x202)][p(0x1f0)]({'pathParts':[c,b['dir'],paramCase(b[p(0x1ea)]),paramCase(b[p(0x1ea)])]}),f=this[p(0x202)][p(0x21b)]();await this[p(0x202)][p(0x20a)](f,async()=>{const q=p;typeof f[q(0x203)][q(0x1ee)]===q(0x1ed)&&(f[q(0x203)]['test']=f[q(0x203)][q(0x1ee)]==='true'?!![]:![],this[q(0x202)][q(0x20d)](q(0x1ee),f[q(0x203)][q(0x1ee)]));typeof f['template'][q(0x1f4)]===q(0x1ed)&&(f[q(0x203)][q(0x1f4)]=f[q(0x203)]['css']==='true'?!![]:![],this['fsi'][q(0x20d)](q(0x1f4),f[q(0x203)]['css']));typeof f[q(0x203)]['js']==='string'&&(f[q(0x203)]['js']=f[q(0x203)]['js']==='true'?!![]:![],this[q(0x202)][q(0x20d)]('js',f[q(0x203)]['js']));!f[q(0x215)]&&(f[q(0x215)]={});const g=b['_']?b['_'][0x0][q(0x219)](':')[0x1]:![],h=b['_']&&aliases[q(0x216)](g);h&&!this[q(0x222)](q(0x207))&&(Log[q(0x1f1)](q(0x21f)),this['fsi'][q(0x21c)](q(0x207),{'cwd':d}));if(h&&!this[q(0x222)](q(0x200))){Log[q(0x1f1)](q(0x209));return;}const i={'name':pascalCase(b[q(0x1ea)]),'myPath':a131e['relative'](this[q(0x202)]['pathFromProject']({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x1ea)]),'camelCaseName':camelCase(b[q(0x1ea)]),'fileName':paramCase(b[q(0x1ea)]),'graphql':f[q(0x1fa)][q(0x1f8)],'features':f[q(0x215)],'client':f[q(0x1fa)]['client'],'api':f['engines'][q(0x1eb)],'ssr':f[q(0x1fa)][q(0x221)],'test':f[q(0x1fa)]['test'],'theme':f[q(0x1fa)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x215)][q(0x1f7)]};f[q(0x215)]?.['withHooks']||b[q(0x20f)]?await this[q(0x202)][q(0x203)]({'srcPath':q(0x218),'destPath':e+q(0x1f9),'framework':q(0x200),'context':i,'config':f}):await this[q(0x202)][q(0x203)]({'srcPath':q(0x213),'destPath':e+'.js','framework':q(0x200),'context':i,'config':f});f[q(0x1fa)]['test']!==q(0x20e)&&await this[q(0x202)]['template']({'srcPath':q(0x1fb),'destPath':e+'.app-tests.js','framework':q(0x200),'context':i,'config':f});f[q(0x203)]['css']&&(await this[q(0x202)][q(0x203)]({'srcPath':q(0x21a),'destPath':e+'.css','context':Object[q(0x1fd)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this['fsi'][q(0x214)]({'filePath':e+'.'+f[q(0x1fa)]['js'],'content':q(0x217)+i[q(0x21e)]+'.'+f[q(0x1fa)][q(0x1f4)]+'\x27;'}));const j=b[q(0x220)]?'/'+b[q(0x220)]+'/':'/',k=''+c+j+i[q(0x21e)]+'/'+i[q(0x21e)];await this[q(0x202)][q(0x1fc)](i['className'],f,k);});});
1
+ const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=parseInt(l(0x122))/0x1*(-parseInt(l(0x127))/0x2)+-parseInt(l(0x134))/0x3+parseInt(l(0x132))/0x4+-parseInt(l(0x147))/0x5+parseInt(l(0x14a))/0x6*(parseInt(l(0x121))/0x7)+parseInt(l(0x14c))/0x8*(-parseInt(l(0x110))/0x9)+-parseInt(l(0x125))/0xa*(-parseInt(l(0x140))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xee87b));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0x141)]()[n(0x11b)](n(0x12a))[n(0x141)]()[n(0x144)](a131a)['search'](n(0x12a));});a131a();import a131e from'path';import{Generator}from'../generator.js';function a131c(){const r=['fsi','pathFromProject','2817120QcCmds','hook/hook.js','dir','4152lvgfzC','className','9294088XDAUUK','injectAtBeginningOfFile','9KyKIWQ','Scaffolding\x20for\x20a\x20React\x20Layout.','test','injectTemplateModule','assign','string','withHook','react','template/template.css','split','client','search','fileName','theme','component/component.js','/imports/ui/layouts','findAppDirectory','3311WiefaZ','70064YgYbUs','pathFromApp','apply','30VksDCm','test/test.js','8jHWJwR','withValue','features','(((.+)+)+)+$','setTemplate','engines','checkNpmPackage','installNpmPackage','maka\x20g:l\x20web/safari','.js','template','1961376LnjWwY','.app-tests.js','194760wRhoGd','resourceName','.css','graphql','warn','ramda','relative','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','true','api','import\x20\x27./','css','8175640ozqMkb','toString','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','maka\x20g:layout\x20mobile/iPhone8','constructor'];a131c=function(){return r;};return a131c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x110;let f=c[d];return f;},a131d(a,b);}Generator['create']({'name':'layout','aliases':aliases,'usage':a131o(0x13b),'shortDesc':a131o(0x111),'validOpts':['withHook'],'examples':[a131o(0x143),a131o(0x12f)]},async function(a,b){const p=a131o,c=p(0x11f),d=this[p(0x145)][p(0x120)](),e=this[p(0x145)][p(0x123)]({'pathParts':[c,b[p(0x149)],paramCase(b[p(0x135)]),paramCase(b[p(0x135)])]}),f=this[p(0x145)]['getMakaProjectConfig']();await this[p(0x145)][p(0x128)](f,async()=>{const q=p;typeof f[q(0x131)][q(0x112)]===q(0x115)&&(f[q(0x131)][q(0x112)]=f[q(0x131)][q(0x112)]===q(0x13c)?!![]:![],this[q(0x145)][q(0x12b)](q(0x112),f[q(0x131)][q(0x112)]));typeof f[q(0x131)]['css']===q(0x115)&&(f[q(0x131)][q(0x13f)]=f[q(0x131)]['css']===q(0x13c)?!![]:![],this[q(0x145)][q(0x12b)]('css',f['template'][q(0x13f)]));typeof f['template']['js']==='string'&&(f[q(0x131)]['js']=f[q(0x131)]['js']===q(0x13c)?!![]:![],this[q(0x145)][q(0x12b)]('js',f['template']['js']));!f[q(0x129)]&&(f[q(0x129)]={});const g=b['_']?b['_'][0x0][q(0x119)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0x12d)](q(0x139))&&(Log['warn'](q(0x142)),this['fsi'][q(0x12e)]('ramda',{'cwd':d}));if(h&&!this[q(0x12d)](q(0x117))){Log[q(0x138)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b[q(0x135)]),'myPath':a131e[q(0x13a)](this[q(0x145)][q(0x146)]({}),e),'cssCaseName':paramCase(b[q(0x135)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x135)]),'fileName':paramCase(b['resourceName']),'graphql':f[q(0x12c)][q(0x137)],'features':f[q(0x129)],'client':f[q(0x12c)][q(0x11a)],'api':f[q(0x12c)][q(0x13d)],'ssr':f[q(0x12c)]['ssr'],'test':f[q(0x12c)][q(0x112)],'theme':f[q(0x12c)][q(0x11d)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x129)]['withTranslations']};f[q(0x129)]?.['withHooks']||b[q(0x116)]?await this['fsi'][q(0x131)]({'srcPath':q(0x148),'destPath':e+q(0x130),'framework':q(0x117),'context':i,'config':f}):await this['fsi']['template']({'srcPath':q(0x11e),'destPath':e+q(0x130),'framework':q(0x117),'context':i,'config':f});f['engines'][q(0x112)]!=='none'&&await this[q(0x145)][q(0x131)]({'srcPath':q(0x126),'destPath':e+q(0x133),'framework':'react','context':i,'config':f});f[q(0x131)][q(0x13f)]&&(await this['fsi'][q(0x131)]({'srcPath':q(0x118),'destPath':e+q(0x136),'context':Object[q(0x114)]({},i,{'className':paramCase(b[q(0x135)])}),'config':f}),await this[q(0x145)][q(0x14d)]({'filePath':e+'.'+f[q(0x12c)]['js'],'content':q(0x13e)+i[q(0x11c)]+'.'+f[q(0x12c)][q(0x13f)]+'\x27;'}));const j=b[q(0x149)]?'/'+b[q(0x149)]+'/':'/',k=''+c+j+i[q(0x11c)]+'/'+i[q(0x11c)];await this[q(0x145)][q(0x113)](i[q(0x14b)],f,k);});});
@@ -1 +1 @@
1
- const a132i=a132d;function a132c(){const j=['8AWuzgM','375196WbWOHX','355332vEUsII','6VJGaNN','203470GANFuL','2EdygEU','maka\x20g:route\x20todos/edit','constructor','112167NdGoEJ','maka\x20g:package\x20package:name','apply','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:scaffold\x20todos','729379aHwFcK','7143697jMYsDQ','maka\x20g:template\x20todos/todo_item','search','(((.+)+)+)+$','775270mTwHXe','maka\x20{generate,\x20g}:<generator>\x20<name>','8jgrZbY','generate','Scaffold\x20various\x20parts\x20of\x20your\x20application'];a132c=function(){return j;};return a132c();}(function(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0x177))/0x1*(parseInt(f(0x173))/0x2)+-parseInt(f(0x174))/0x3*(-parseInt(f(0x186))/0x4)+parseInt(f(0x184))/0x5+-parseInt(f(0x175))/0x6*(-parseInt(f(0x17f))/0x7)+-parseInt(f(0x172))/0x8*(parseInt(f(0x17a))/0x9)+-parseInt(f(0x176))/0xa+-parseInt(f(0x180))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x2e2aa));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a['toString']()[h(0x182)]('(((.+)+)+)+$')['toString']()[h(0x179)](a132a)[h(0x182)](h(0x183));});a132a();import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x172;let f=c[d];return f;},a132d(a,b);}const MakaGen=new Generator({'name':a132i(0x187),'aliases':['g'],'usage':a132i(0x185),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0x188),'examples':['maka\x20generate:scaffold\x20todos',a132i(0x17e),a132i(0x181),a132i(0x17b),a132i(0x178),'maka\x20g:api\x20trucks',a132i(0x17d)]},function(){});export default MakaGen;
1
+ function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x124;let f=c[d];return f;},a132d(a,b);}const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0x135))/0x1+parseInt(f(0x136))/0x2*(-parseInt(f(0x134))/0x3)+-parseInt(f(0x139))/0x4+-parseInt(f(0x128))/0x5*(parseInt(f(0x12f))/0x6)+parseInt(f(0x127))/0x7*(-parseInt(f(0x126))/0x8)+-parseInt(f(0x125))/0x9*(parseInt(f(0x137))/0xa)+parseInt(f(0x130))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x38c6e));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0x12c)]()[h(0x138)](h(0x131))[h(0x12c)]()[h(0x12e)](a132a)[h(0x138)](h(0x131));});a132a();import{Generator}from'../generator.js';function a132c(){const j=['(((.+)+)+)+$','maka\x20g:scaffold\x20todos','maka\x20generate:scaffold\x20todos','3FDnFxe','206683SSIQvq','300478HcVaXH','189470SaYiat','search','784320KSEzpZ','maka\x20g:dbc\x20geoserver\x20--type=pgsql','144PCKKdz','24IYgxmU','552223drIOOX','35uYLKEd','maka\x20g:route\x20todos/edit','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:api\x20trucks','toString','apply','constructor','395574AfYtRe','15108676GspqjJ'];a132c=function(){return j;};return a132c();}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a132i(0x12a),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a132i(0x133),a132i(0x132),'maka\x20g:template\x20todos/todo_item','maka\x20g:package\x20package:name',a132i(0x129),a132i(0x12b),a132i(0x124)]},function(){});export default MakaGen;
@@ -1 +1 @@
1
- const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0x1f7))/0x1+-parseInt(j(0x1e9))/0x2+-parseInt(j(0x1fe))/0x3*(-parseInt(j(0x202))/0x4)+parseInt(j(0x201))/0x5*(-parseInt(j(0x1ee))/0x6)+parseInt(j(0x203))/0x7*(-parseInt(j(0x1e2))/0x8)+-parseInt(j(0x1fd))/0x9*(-parseInt(j(0x1e4))/0xa)+parseInt(j(0x1f1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x9e3e0));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a['toString']()[l(0x1ef)](l(0x1f6))[l(0x200)]()[l(0x1fb)](a133a)[l(0x1ef)](l(0x1f6));});function a133c(){const p=['resourceName','engines','maka\x20g:method\x20todos','ddp-rate-limiter','(((.+)+)+)+$','612413IcZDIO','pathFromApp','getMakaProjectConfig','apply','constructor','injectAtEndOfFile','36opByDi','498MNlUqW','maka\x20{generate,\x20g}:{method,\x20m}\x20name','toString','20245rWSzQH','22324XlkcLu','7CAlwWf','index.','checkMeteorPackage','withValue','method','fsi','838232PmlDWR','template','1512790ImmjKm','-rpc-method.','mdg:validated-method','imports','dir','1750430UggbuK','error','-rpc-method\x27;','startup','method/method.js','1698PLzoPk','search','appPathPrefix','6930506nZSIbq'];a133c=function(){return p;};return a133c();}a133a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1dd;let f=c[d];return f;},a133d(a,b);}Generator['create']({'name':a133m(0x1e0),'aliases':['m'],'usage':a133m(0x1ff),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a133m(0x1e8)],'examples':[a133m(0x1f4)]},async function(a,b){const n=a133m;try{const c=this[n(0x1e1)][n(0x1f9)]();await this['fsi'][n(0x1df)](c,async()=>{const o=n,d=paramCase(b[o(0x1f2)]),f={'name':b[o(0x1f2)],'fileName':d,'className':pascalCase(b[o(0x1f2)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[o(0x1f3)]['js']==='tsx'&&(g='ts');await this[o(0x1e1)][o(0x1de)](['maka:check',o(0x1f5),o(0x1e6)],{'shouldInstall':!![]}),await this['fsi'][o(0x1e3)]({'srcPath':o(0x1ed),'destPath':this[o(0x1e1)][o(0x1f8)]({'pathParts':[o(0x1e7),o(0x1ec),b[o(0x1f0)],'methods',b[o(0x1e8)],d+o(0x1e5)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x1e8)]+'/':'/',i=this[o(0x1e1)][o(0x1f8)]({'pathParts':['imports','startup',b[o(0x1f0)],o(0x1dd)+c['engines']['js']]});await this[o(0x1e1)][o(0x1fc)]({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0x1eb)});});}catch(d){Log[n(0x1ea)](d);}});
1
+ const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0x1dc))/0x1*(-parseInt(j(0x1be))/0x2)+-parseInt(j(0x1c2))/0x3*(parseInt(j(0x1dd))/0x4)+parseInt(j(0x1c4))/0x5*(-parseInt(j(0x1bf))/0x6)+-parseInt(j(0x1ce))/0x7+parseInt(j(0x1d6))/0x8+parseInt(j(0x1c1))/0x9*(-parseInt(j(0x1e0))/0xa)+parseInt(j(0x1da))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xf281e));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x1e1)]()[l(0x1d4)](l(0x1ca))[l(0x1e1)]()['constructor'](a133a)[l(0x1d4)]('(((.+)+)+)+$');});a133a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a133d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133m(0x1ba)]({'name':a133m(0x1de),'aliases':['m'],'usage':a133m(0x1bb),'checkWhere':!![],'shortDesc':a133m(0x1c5),'validOpts':[a133m(0x1bc)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a133m;try{const c=this[n(0x1cd)][n(0x1cc)]();await this[n(0x1cd)][n(0x1c3)](c,async()=>{const o=n,d=paramCase(b[o(0x1d3)]),f={'name':b[o(0x1d3)],'fileName':d,'className':pascalCase(b[o(0x1d3)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[o(0x1c7)]['js']===o(0x1c8)&&(g='ts');await this['fsi'][o(0x1bd)]([o(0x1cb),o(0x1d0),o(0x1c6)],{'shouldInstall':!![]}),await this['fsi']['template']({'srcPath':'method/method.js','destPath':this['fsi'][o(0x1df)]({'pathParts':[o(0x1d2),o(0x1d8),b[o(0x1e2)],o(0x1d1),b[o(0x1bc)],d+o(0x1c9)+g]}),'context':f,'config':c});const h=b[o(0x1bc)]?'/'+b[o(0x1bc)]+'/':'/',i=this[o(0x1cd)][o(0x1df)]({'pathParts':[o(0x1d2),o(0x1d8),b['appPathPrefix'],o(0x1d9)+c[o(0x1c7)]['js']]});await this[o(0x1cd)][o(0x1db)]({'filePath':i,'content':o(0x1c0)+h+d+o(0x1d5)});});}catch(d){Log[n(0x1d7)](d);}});function a133c(){const p=['index.','43981707OmUtbw','injectAtEndOfFile','69809ROtwlZ','80ICPAFE','method','pathFromApp','930080JqNyyp','toString','appPathPrefix','create','maka\x20{generate,\x20g}:{method,\x20m}\x20name','dir','checkMeteorPackage','30edSSLe','144SWaVsb','import\x20\x27./methods','36PARQDt','7269IcYCuN','withValue','408515HxSjwT','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','mdg:validated-method','engines','tsx','-rpc-method.','(((.+)+)+)+$','maka:check','getMakaProjectConfig','fsi','12192054jUtffp','apply','ddp-rate-limiter','methods','imports','resourceName','search','-rpc-method\x27;','567392IoLkmH','error','startup'];a133c=function(){return p;};return a133c();}