@maka/maka-cli 4.13.6 → 4.13.7

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 a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0xca))/0x1+parseInt(l(0x103))/0x2+parseInt(l(0xf2))/0x3+parseInt(l(0xe5))/0x4+-parseInt(l(0xd0))/0x5+-parseInt(l(0xcc))/0x6+-parseInt(l(0xce))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xb7cc4));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a['toString']()[n(0xfa)](n(0xf3))['toString']()['constructor'](a117a)[n(0xfa)](n(0xf3));});function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xc8;let f=c[d];return f;},a117d(a,b);}a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a117c(){const r=['apply','hooks','checkNpmPackage','none','/imports/ui/','true','injectTemplateModule','.app-tests.js','react','relative','string','4480224odUmlz','(((.+)+)+)+$','error','resourceName','baseDir','theme','features','pages','search','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','engines','components','.js','template/template.css','maka\x20g:hook\x20cool-hook','warn','setTemplate','498224TOzVVY','Creating\x20','notice','findAppDirectory','css','94974MQlViY','assign','417984zNOYNf','\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','6256992gkLWAC','pathFromProject','4649885hNceHp','hook','fsi','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','test','layouts','cssCaseName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','@apollo/client','installNpmPackage','\x20hook...','create','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','dir','fileName','force','hook/hook.js','test/test.js','@apollo/client\x20isomorphic-fetch','template','import\x20\x27./','3995148emqozg','getMakaProjectConfig'];a117c=function(){return r;};return a117c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117o(0xdb)]({'name':a117o(0xd1),'aliases':['h'],'checkWhere':![],'usage':a117o(0xdc),'shortDesc':a117o(0xd3),'validOpts':[{'name':a117o(0xf6),'values':[a117o(0xe8),a117o(0xfd),a117o(0xf9),a117o(0xd5)]},{'name':'force','boolFlag':!![]}],'examples':[a117o(0x100)],'description':a117o(0xcd)},async function(a,b){const p=a117o;Log[p(0x105)](p(0x104)+b[p(0xf5)]+p(0xda));try{const c=this[p(0xd2)][p(0xe9)](p(0xef));if(!c){Log[p(0xf4)](p(0xfb));throw new UsageError();}const d=this['fsi'][p(0xc8)](),f=b['baseDir']?p(0xeb)+b[p(0xf6)]:'/imports/ui/components',g=this[p(0xd2)]['pathFromApp']({'pathParts':[f,b['dir'],paramCase(b[p(0xf5)]),paramCase(b['resourceName'])]}),h=await this[p(0xd2)][p(0xe6)]();await this[p(0xd2)]['withValue'](h,async()=>{const q=p;typeof h[q(0xe3)][q(0xc9)]===q(0xf1)&&(h['template'][q(0xc9)]=h[q(0xe3)][q(0xc9)]===q(0xec)?!![]:![],this[q(0xd2)][q(0x102)]('css',h[q(0xe3)][q(0xc9)]));h[q(0xfc)]['graphql']==='apollo'&&!this[q(0xd2)]['checkNpmPackage'](q(0xd8))&&(Log[q(0x101)](q(0xd7)),await this['fsi'][q(0xd9)](q(0xe2),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0xf5)]),'camelCaseName':camelCase(b[q(0xf5)]),'className':pascalCase(b[q(0xf5)]),'name':pascalCase(b['resourceName']),'graphql':h[q(0xfc)]['graphql'],'theme':h[q(0xfc)][q(0xf7)],'features':h[q(0xf8)],'myPath':a117e[q(0xf0)](this[q(0xd2)][q(0xcf)]({}),g),'fileName':paramCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':h[q(0xf8)]['withTranslations']};await this[q(0xd2)]['template']({'srcPath':q(0xe0),'destPath':g+q(0xfe),'context':i,'config':h,'framework':q(0xef),'force':b[q(0xdf)]});h[q(0xe3)][q(0xc9)]&&(await this[q(0xd2)][q(0xe3)]({'srcPath':q(0xff),'destPath':g+'.css','context':Object[q(0xcb)]({},i,{'className':i[q(0xd6)]}),'config':h,'force':b[q(0xdf)]}),await this[q(0xd2)]['injectAtBeginningOfFile']({'filePath':g+'.'+h['engines']['js'],'content':q(0xe4)+i[q(0xde)]+'.'+h[q(0xfc)][q(0xc9)]+'\x27;'}));h[q(0xfc)][q(0xd4)]!==q(0xea)&&await this[q(0xd2)][q(0xe3)]({'srcPath':q(0xe1),'destPath':g+q(0xee),'framework':'react','context':i,'config':h,'force':b[q(0xdf)]});const j=b[q(0xdd)]?'/'+b[q(0xdd)]+'/':'/',k=''+f+j+i[q(0xde)]+'/'+i[q(0xde)];await this[q(0xd2)][q(0xed)](i['className'],h,k);});}catch(i){Log['error'](i);}});
1
+ const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x140))/0x1+-parseInt(l(0x13b))/0x2+-parseInt(l(0x176))/0x3+parseInt(l(0x13d))/0x4*(-parseInt(l(0x161))/0x5)+-parseInt(l(0x170))/0x6+parseInt(l(0x159))/0x7+-parseInt(l(0x13e))/0x8*(-parseInt(l(0x139))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x4e3fe));function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x139;let f=c[d];return f;},a117d(a,b);}const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x16b)]()[n(0x146)](n(0x14e))[n(0x16b)]()[n(0x172)](a117a)[n(0x146)](n(0x14e));});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';function a117c(){const r=['error','671388ecMJvJ','988173lbVDeM','css','27992fLNgKL','resourceName','872OCfpCp','72ijyVoV','warn','316890AvJicp','create','checkNpmPackage','.js','\x20hook...','layouts','search','pathFromProject','react','fsi','template','true','test/test.js','force','(((.+)+)+)+$','fileName','engines','graphql','hooks','.app-tests.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','string','import\x20\x27./','hook','components','1393840GYgjaP','withTranslations','@apollo/client\x20isomorphic-fetch','installNpmPackage','setTemplate','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','theme','baseDir','13655LzoHaV','cssCaseName','getMakaProjectConfig','pages','dir','findAppDirectory','maka\x20g:hook\x20cool-hook','/imports/ui/','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','injectAtBeginningOfFile','toString','apply','Creating\x20','features','none','2103138uKYpGb','notice','constructor','hook/hook.js','injectTemplateModule'];a117c=function(){return r;};return a117c();}Generator[a117o(0x141)]({'name':a117o(0x157),'aliases':['h'],'checkWhere':![],'usage':a117o(0x169),'shortDesc':a117o(0x15e),'validOpts':[{'name':a117o(0x160),'values':[a117o(0x152),a117o(0x158),a117o(0x164),a117o(0x145)]},{'name':a117o(0x14d),'boolFlag':!![]}],'examples':[a117o(0x167)],'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 p=a117o;Log[p(0x171)](p(0x16d)+b[p(0x13c)]+p(0x144));try{const c=this[p(0x149)]['checkNpmPackage'](p(0x148));if(!c){Log[p(0x175)](p(0x154));throw new UsageError();}const d=this[p(0x149)][p(0x166)](),f=b[p(0x160)]?p(0x168)+b['baseDir']:'/imports/ui/components',g=this['fsi']['pathFromApp']({'pathParts':[f,b[p(0x165)],paramCase(b[p(0x13c)]),paramCase(b['resourceName'])]}),h=await this['fsi'][p(0x163)]();await this['fsi']['withValue'](h,async()=>{const q=p;typeof h[q(0x14a)][q(0x13a)]===q(0x155)&&(h[q(0x14a)][q(0x13a)]=h['template'][q(0x13a)]===q(0x14b)?!![]:![],this[q(0x149)][q(0x15d)](q(0x13a),h[q(0x14a)]['css']));h[q(0x150)]['graphql']==='apollo'&&!this[q(0x149)][q(0x142)]('@apollo/client')&&(Log[q(0x13f)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this['fsi'][q(0x15c)](q(0x15b),{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x13c)]),'className':pascalCase(b[q(0x13c)]),'name':pascalCase(b[q(0x13c)]),'graphql':h[q(0x150)][q(0x151)],'theme':h[q(0x150)][q(0x15f)],'features':h[q(0x16e)],'myPath':a117e['relative'](this[q(0x149)][q(0x147)]({}),g),'fileName':paramCase(b[q(0x13c)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x16e)][q(0x15a)]};await this[q(0x149)]['template']({'srcPath':q(0x173),'destPath':g+q(0x143),'context':i,'config':h,'framework':q(0x148),'force':b[q(0x14d)]});h[q(0x14a)][q(0x13a)]&&(await this[q(0x149)][q(0x14a)]({'srcPath':'template/template.css','destPath':g+'.css','context':Object['assign']({},i,{'className':i[q(0x162)]}),'config':h,'force':b[q(0x14d)]}),await this[q(0x149)][q(0x16a)]({'filePath':g+'.'+h[q(0x150)]['js'],'content':q(0x156)+i['fileName']+'.'+h[q(0x150)]['css']+'\x27;'}));h[q(0x150)]['test']!==q(0x16f)&&await this['fsi'][q(0x14a)]({'srcPath':q(0x14c),'destPath':g+q(0x153),'framework':q(0x148),'context':i,'config':h,'force':b['force']});const j=b[q(0x165)]?'/'+b['dir']+'/':'/',k=''+f+j+i[q(0x14f)]+'/'+i[q(0x14f)];await this['fsi'][q(0x174)](i['className'],h,k);});}catch(i){Log['error'](i);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x1f6))/0x1*(-parseInt(f(0x1ee))/0x2)+parseInt(f(0x1ef))/0x3*(-parseInt(f(0x1f2))/0x4)+-parseInt(f(0x1f8))/0x5*(-parseInt(f(0x1ed))/0x6)+-parseInt(f(0x1eb))/0x7*(-parseInt(f(0x1f1))/0x8)+parseInt(f(0x1fa))/0x9*(parseInt(f(0x1f4))/0xa)+parseInt(f(0x1ec))/0xb+parseInt(f(0x1fb))/0xc*(-parseInt(f(0x1f9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x623f8));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1f0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1f7)]()[h(0x1f3)]('(((.+)+)+)+$')[h(0x1f7)]()['constructor'](a118a)['search'](h(0x1f5));});a118a();function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1eb;var f=c[d];return f;},a118d(a,b);}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a118c(){var i=['6994141VuLILQ','1170zcWKHT','642pPxSYU','3tZOIjX','apply','157976kVLwYm','2580216LsRzgX','search','20JArgoG','(((.+)+)+)+$','854sXvElf','toString','2845IEYECG','2340663mUYGFA','840879oCUcOQ','12FiPuDE','7cbdowm'];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(0x161))/0x1+-parseInt(f(0x162))/0x2+-parseInt(f(0x16a))/0x3+-parseInt(f(0x163))/0x4+-parseInt(f(0x168))/0x5*(parseInt(f(0x16b))/0x6)+parseInt(f(0x167))/0x7*(parseInt(f(0x169))/0x8)+-parseInt(f(0x164))/0x9*(-parseInt(f(0x16c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xad430));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x160)]()[h(0x166)](h(0x165))[h(0x160)]()[h(0x15f)](a118a)['search'](h(0x165));});a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a118c(){var i=['2107100DlqdgC','1576876mVESOC','9938349NKLkCM','(((.+)+)+)+$','search','45801AZdQbE','7230fZOTVl','1528wobYkL','3341292NqsdbB','2466iwEQdF','20UtdPCl','apply','constructor','toString','407284GoERNl'];a118c=function(){return i;};return a118c();}function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x15f;var f=c[d];return f;},a118d(a,b);}import'./auth/_index.js';
@@ -1 +1 @@
1
- (function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x91))/0x1+parseInt(f(0x93))/0x2*(-parseInt(f(0x87))/0x3)+parseInt(f(0x88))/0x4*(-parseInt(f(0x90))/0x5)+-parseInt(f(0x92))/0x6+parseInt(f(0x8d))/0x7*(parseInt(f(0x8b))/0x8)+parseInt(f(0x89))/0x9+parseInt(f(0x8c))/0xa*(parseInt(f(0x8f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xd05be));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x8a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x85)]()[h(0x94)](h(0x86))['toString']()[h(0x8e)](a119a)[h(0x94)](h(0x86));});a119a();function a119c(){var i=['2081782jvOFXv','search','toString','(((.+)+)+)+$','3afZFZU','128GzwnkZ','36045SjcnPy','apply','37728XBlJQU','110mtuUKP','952IQtUan','constructor','3531000eUUaNO','101825pptjeb','339650ZTDXGv','7744332VtReAl'];a119c=function(){return i;};return a119c();}import'./auth.generator.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x85;var f=c[d];return f;},a119d(a,b);}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(0xb2))/0x1+-parseInt(f(0xae))/0x2*(parseInt(f(0xbd))/0x3)+-parseInt(f(0xbc))/0x4*(-parseInt(f(0xb0))/0x5)+parseInt(f(0xb1))/0x6+parseInt(f(0xaf))/0x7*(parseInt(f(0xb3))/0x8)+parseInt(f(0xb5))/0x9+parseInt(f(0xb9))/0xa*(-parseInt(f(0xb8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x2c435));function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0xae;var f=c[d];return f;},a119d(a,b);}var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a['toString']()['search']('(((.+)+)+)+$')[h(0xbb)]()[h(0xb7)](a119a)[h(0xb6)](h(0xb4));});a119a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a119c(){var i=['apply','toString','3164jKJoLU','3EVrUlE','159784wXzsZU','644EKeVPE','1245yzurzp','1197762mHiqZU','287721dmKRFq','27320ObEflo','(((.+)+)+)+$','1159191UDuweK','search','constructor','11cstOKR','2906510UeIIVJ'];a119c=function(){return i;};return a119c();}
@@ -1 +1 @@
1
- const a120h=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=parseInt(f(0xcf))/0x1+parseInt(f(0xcc))/0x2+-parseInt(f(0xd1))/0x3+-parseInt(f(0xc7))/0x4+parseInt(f(0xca))/0x5+-parseInt(f(0xc5))/0x6+-parseInt(f(0xc9))/0x7*(-parseInt(f(0xcd))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x45381));function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xc5;let f=c[d];return f;},a120d(a,b);}const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const g=a120d;return a120a[g(0xcb)]()[g(0xd0)]('(((.+)+)+)+$')[g(0xcb)]()['constructor'](a120a)[g(0xd0)](g(0xc6));});function a120c(){const j=['\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','NIE','1380054BoTItJ','(((.+)+)+)+$','184520kZkmXX','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','224pyYbpu','1520950JkTYGD','toString','146370NTJRgo','3128nDAmhN','maka\x20g:kit:a','257714OAnXFc','search','263823uVwhho'];a120c=function(){return j;};return a120c();}a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator['create']({'name':'auth','aliases':['a'],'usage':a120h(0xc8),'noNeedResource':!![],'shortDesc':a120h(0xd3),'validOpts':[''],'isPro':!![],'examples':[a120h(0xce)],'description':a120h(0xd2)},async function(){const i=a120h;throw i(0xd4);},async function(){},a120e);export default AuthGen;
1
+ const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=parseInt(f(0xcf))/0x1+-parseInt(f(0xe0))/0x2*(parseInt(f(0xdd))/0x3)+parseInt(f(0xd1))/0x4+parseInt(f(0xd5))/0x5+parseInt(f(0xd3))/0x6*(parseInt(f(0xd4))/0x7)+parseInt(f(0xd0))/0x8+-parseInt(f(0xdf))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xc7181));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0xd2)]()[h(0xcd)](h(0xd7))['toString']()[h(0xce)](a120a)[h(0xcd)]('(((.+)+)+)+$');});function a120c(){const k=['constructor','1554325VEatcO','8747872PQFBch','6358256pldmxL','toString','163524ySRAYp','217IwQucg','6678560dXowko','create','(((.+)+)+)+$','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','maka\x20g:kit:a','apply','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','NIE','445515bUeUqF','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','49085685ORMOqf','2CvBMSb','search'];a120c=function(){return k;};return a120c();}a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xcd;let f=c[d];return f;},a120d(a,b);}import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator[a120i(0xd6)]({'name':'auth','aliases':['a'],'usage':a120i(0xdb),'noNeedResource':!![],'shortDesc':a120i(0xd8),'validOpts':[''],'isPro':!![],'examples':[a120i(0xd9)],'description':a120i(0xde)},async function(){const j=a120i;throw j(0xdc);},async function(){},a120e);export default AuthGen;
@@ -1 +1 @@
1
- const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(0x1fc))/0x1+parseInt(o(0x215))/0x2*(-parseInt(o(0x1f7))/0x3)+-parseInt(o(0x209))/0x4+parseInt(o(0x224))/0x5*(parseInt(o(0x226))/0x6)+-parseInt(o(0x21c))/0x7+parseInt(o(0x20b))/0x8*(parseInt(o(0x21f))/0x9)+-parseInt(o(0x1fe))/0xa*(-parseInt(o(0x21d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x1d921));function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a121d(a,b);}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x200)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a['toString']()[q(0x1e6)](q(0x21a))[q(0x1ee)]()['constructor'](a121a)['search'](q(0x21a));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';function a121c(){const u=['Meteor','const\x20resetPasswordWithToken','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client/authentication-service','force','injectIntoFile','authentication-provider','getMakaProjectConfig','imports','4538xxssJx','index','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','fsi','/imports/startup/lib/authentication-service','(((.+)+)+)+$','REACT','1062292GGeqVd','275nyWJOj','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','621eqPDHY','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','Meteor.startup','publish','meteor','207335OyURTQ','react','12lFNLfR','accounts-password','\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','true','engines','pathFromApp','search','const\x20registerNewUser','export\x20const\x20AuthProvider','\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','create','const\x20authenticateToken','injectIntoCodeBlock','const\x20authenticateUser','toString','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','injectImport','const\x20deauthenticateUser','processAndRunGenerator','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','auth/roles','/imports/startup/lib','template','204Xswzvo','meteor/accounts-base','/imports/startup/client','authentication-service','\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','194962GwBDAV','Accounts','251920zZjctV','meteor/maka:react-tracker','apply','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','Meteor.publish','AuthService','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','const\x20getUserAuthorizations','error','return\x20\x5c(','useTracker','906132jjiyIP','withValue','15760jeGNFF'];a121c=function(){return u;};return a121c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x1ea)]({'name':a121r(0x223),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a121r(0x1ef),'validOpts':[a121r(0x210)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x21b)]},'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(0x210)]||![];await this['fsi']['checkMeteorPackage']([s(0x227),'alanning:roles'],{'shouldInstall':!![]});const d=this[s(0x218)]['findProjectDirectory'](),f=this[s(0x218)][s(0x213)](),g=f[s(0x22a)]['ssr']===s(0x229);await a121f[s(0x1f2)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a121f['processAndRunGenerator'](s(0x222),[s(0x1f4)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x1f5):s(0x1f9),j=this['fsi']['pathFromApp']({'pathParts':[i,'','',s(0x1fa)]});await this[s(0x218)][s(0x20a)](f,async()=>{const t=s;await this[t(0x218)][t(0x1f6)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+'.js','framework':t(0x225),'context':{},'config':f,'force':c,'ignore':![]});});const k=this['fsi'][s(0x22b)]({'pathParts':[i,'','',s(0x212)]}),l=f[s(0x22a)]['js'];await this['fsi'][s(0x1f0)]({'filePath':k+'.'+l,'importName':s(0x203),'modulePath':g?s(0x219):s(0x20f),'isNamedExport':![]}),await this[s(0x218)][s(0x1ec)]({'filePath':k+'.'+l,'content':s(0x20e),'begin':s(0x1ed),'replace':!![]}),await this[s(0x218)][s(0x1ec)]({'filePath':k+'.'+l,'content':s(0x228),'begin':s(0x1eb),'replace':!![]}),await this[s(0x218)][s(0x1ec)]({'filePath':k+'.'+l,'content':s(0x220),'begin':s(0x205),'replace':!![]}),await this[s(0x218)][s(0x1ec)]({'filePath':k+'.'+l,'content':s(0x1f3),'begin':s(0x1f1),'replace':!![]}),await this[s(0x218)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x21e),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await this['fsi'][s(0x1ec)]({'filePath':k+'.'+l,'content':s(0x204),'begin':s(0x1e7),'replace':!![]}),await this['fsi'][s(0x1ec)]({'filePath':k+'.'+l,'content':s(0x201),'begin':s(0x20d),'replace':!![]});g&&(await this['fsi'][s(0x1f0)]({'filePath':k+'.'+l,'importName':s(0x208),'modulePath':s(0x1ff),'isNamedExport':!![]}),await this[s(0x218)][s(0x211)]({'filePath':k+'.'+l,'content':s(0x1e9),'begin':s(0x1e8),'end':s(0x207)}));await this[s(0x218)][s(0x1f0)]({'filePath':h,'importName':s(0x20c),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x218)][s(0x1ec)]({'filePath':h,'content':s(0x1fb),'begin':s(0x202),'replace':!![]});const m=this[s(0x218)]['pathFromApp']({'pathParts':[s(0x214),'startup','server',s(0x216)]});await this[s(0x218)][s(0x1f0)]({'filePath':m+'.'+l,'importName':s(0x1fd),'modulePath':s(0x1f8),'isNamedExport':!![]}),await this[s(0x218)][s(0x1ec)]({'filePath':m+'.'+l,'content':s(0x217),'begin':s(0x221),'replace':!![]});}catch(n){Log[s(0x206)](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(0x216))/0x1*(-parseInt(o(0x1f1))/0x2)+-parseInt(o(0x1f6))/0x3+parseInt(o(0x215))/0x4+-parseInt(o(0x1d1))/0x5+-parseInt(o(0x1d3))/0x6*(-parseInt(o(0x1cf))/0x7)+-parseInt(o(0x1de))/0x8*(parseInt(o(0x1fd))/0x9)+parseInt(o(0x1fe))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x6223e));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x201)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x1e4)]()[q(0x212)](q(0x1cd))[q(0x1e4)]()[q(0x208)](a121a)[q(0x212)]('(((.+)+)+)+$');});a121a();function a121c(){const u=['constructor','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','force','const\x20registerNewUser','const\x20sendForgotPasswordEmail','\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','meteor/meteor','checkMeteorPackage','meteor/accounts-base','search','/imports/startup/lib','fsi','1863716KFIOWb','251151NZMLjm','(((.+)+)+)+$','const\x20authenticateUser','266uRPaTR','exit','3483050APkABz','\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','2004vEZOag','const\x20resetPasswordWithToken','index','AuthService','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','template','Accounts','imports','create','accounts-password','injectImport','8VTTgjd','auth/roles','getMakaProjectConfig','/imports/startup/client/authentication-service','meteor','Meteor.startup','toString','useTracker','error','processAndRunGenerator','\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','alanning:roles','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','ssr','\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','return\x20\x5c(','true','\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','server','6GnvKBz','authentication-provider','export\x20const\x20AuthProvider','pathFromApp','kit:auth:provider','818781jhunkv','startup','kit/auth/service/meteor-auth-service.js','\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','withValue','const\x20authenticateToken','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','2861379CidVtC','4573760EAdNtL','REACT','/imports/startup/lib/authentication-service','apply','injectIntoFile','Meteor','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','injectIntoCodeBlock','meteor/maka:react-tracker','engines'];a121c=function(){return u;};return a121c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a121d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x1db)]({'name':a121r(0x1e2),'aliases':['m'],'usage':a121r(0x204),'shortDesc':a121r(0x1fc),'validOpts':[a121r(0x20b)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x1ff)]},'description':a121r(0x1ec)},async function(a,b){const s=a121r;try{const c=b[s(0x20b)]||![];await this[s(0x214)][s(0x210)]([s(0x1dc),s(0x1e9)],{'shouldInstall':!![]});const d=this['fsi']['findProjectDirectory'](),f=this['fsi'][s(0x1e0)](),g=f[s(0x207)][s(0x1eb)]===s(0x1ee);await a121f[s(0x1e7)](s(0x1f5),[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0x1e7)]('publish',[s(0x1df)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x213):'/imports/startup/client',j=this[s(0x214)][s(0x1f4)]({'pathParts':[i,'','','authentication-service']});await this[s(0x214)][s(0x1fa)](f,async()=>{const t=s;await this['fsi'][t(0x1d8)]({'srcPath':t(0x1f8),'destPath':j+'.js','framework':'react','context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x214)][s(0x1f4)]({'pathParts':[i,'','',s(0x1f2)]}),l=f['engines']['js'];await this[s(0x214)][s(0x1dd)]({'filePath':k+'.'+l,'importName':s(0x1d6),'modulePath':g?s(0x200):s(0x1e1),'isNamedExport':![]}),await this[s(0x214)][s(0x205)]({'filePath':k+'.'+l,'content':s(0x1e8),'begin':s(0x1ce),'replace':!![]}),await this[s(0x214)][s(0x205)]({'filePath':k+'.'+l,'content':s(0x1f9),'begin':s(0x1fb),'replace':!![]}),await this[s(0x214)][s(0x205)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x214)][s(0x205)]({'filePath':k+'.'+l,'content':s(0x209),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[s(0x214)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x1ea),'begin':s(0x20d),'replace':!![]}),await this[s(0x214)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x20a),'begin':s(0x20c),'replace':!![]}),await this[s(0x214)][s(0x205)]({'filePath':k+'.'+l,'content':s(0x1d7),'begin':s(0x1d4),'replace':!![]});g&&(await this[s(0x214)][s(0x1dd)]({'filePath':k+'.'+l,'importName':s(0x1e5),'modulePath':s(0x206),'isNamedExport':!![]}),await this[s(0x214)][s(0x202)]({'filePath':k+'.'+l,'content':s(0x20e),'begin':s(0x1f3),'end':s(0x1ed)}));await this[s(0x214)][s(0x1dd)]({'filePath':h,'importName':s(0x203),'modulePath':s(0x20f),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':h,'content':s(0x1ef),'begin':'Meteor.publish','replace':!![]});const m=this[s(0x214)][s(0x1f4)]({'pathParts':[s(0x1da),s(0x1f7),s(0x1f0),s(0x1d5)]});await this['fsi'][s(0x1dd)]({'filePath':m+'.'+l,'importName':s(0x1d9),'modulePath':s(0x211),'isNamedExport':!![]}),await this[s(0x214)][s(0x205)]({'filePath':m+'.'+l,'content':s(0x1d2),'begin':s(0x1e3),'replace':!![]});}catch(n){Log[s(0x1e6)](n),process[s(0x1d0)](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- const a122w=a122d;function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x89;let f=c[d];return f;},a122d(a,b);}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0x96))/0x1*(-parseInt(u(0x8d))/0x2)+-parseInt(u(0x93))/0x3*(-parseInt(u(0xb7))/0x4)+parseInt(u(0xa5))/0x5*(parseInt(u(0x8f))/0x6)+parseInt(u(0xa0))/0x7*(parseInt(u(0x9b))/0x8)+parseInt(u(0xae))/0x9+-parseInt(u(0xac))/0xa+parseInt(u(0xb3))/0xb*(-parseInt(u(0x98))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xa0d9a));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const v=a122d;return a122a[v(0xb9)]()[v(0x94)]('(((.+)+)+)+$')[v(0xb9)]()[v(0xa9)](a122a)[v(0x94)]('(((.+)+)+)+$');});a122a();function a122c(){const z=['\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','10791010bYIDDH','authentication-provider','10605420uSlNPC','true','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','error','template','1661UcFXAv','create','fsi','function\x20Routes','15908SdVBQQ','injectImport','toString','injectAroundString','withValue','/imports/startup/client/authentication-provider','injectIntoCodeBlock','ssr','force','823010YgoBgA','<AuthProvider>','1721118UJaTuM','/imports/startup/client','exit','/imports/startup/client/index','810DHgSVU','search','/routes','3aBULEO','getMakaProjectConfig','257916OPOxRh','AuthContext','engines','2419696hmeeuW','const\x20Routes','split','AuthProvider','kit/auth/provider/authentication-provider.js','28kBXEEo','react','</AuthProvider>','REACT','appName','5yJmefY','/imports/startup/lib/authentication-provider','provider','<Routes\x20history={history}/>','constructor','pathFromApp'];a122c=function(){return z;};return a122c();}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[a122w(0xb4)]({'name':a122w(0xa7),'aliases':['p'],'usage':a122w(0xb0),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122w(0xa3)]},'description':'\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'},async function(a,b){const x=a122w;try{const c=b[x(0x8c)]||![];Log['bright']('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this['fsi'][x(0x97)](),f=d[x(0x9a)][x(0x8b)]===x(0xaf),g={'name':headerCase(d[x(0xa4)])['replaceAll']('-','\x20')},h=f?'/imports/startup/lib':x(0x90),i=this['fsi'][x(0xaa)]({'pathParts':[h,'','',x(0xad)]});await this[x(0xb5)][x(0xbb)](d,async()=>{const y=x;await this[y(0xb5)][y(0xb2)]({'srcPath':y(0x9f),'destPath':i+'.js','framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d[x(0x9a)]['js'],k=h+x(0x95),l=k['split']('/'),m=this[x(0xb5)][x(0xaa)]({'pathParts':l});await this['fsi'][x(0xb8)]({'filePath':m+'.'+j,'importName':x(0x99),'modulePath':f?x(0xa6):x(0x89),'isNamedExport':!![]}),await this[x(0xb5)]['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':x(0xa1),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][x(0x8a)]({'filePath':m+'.'+j,'content':x(0xab),'begin':[x(0x9c),x(0xb6)],'replace':!![]});const n=x(0x92),o=n['split']('/'),p=this[x(0xb5)]['pathFromApp']({'pathParts':o});await this[x(0xb5)]['injectImport']({'filePath':p+'.'+j,'importName':x(0x9e),'modulePath':f?x(0xa6):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0xb5)][x(0xba)]({'filePath':p+'.'+j,'aboveContent':x(0x8e),'belowContent':x(0xa2),'targetString':'<Routes\x20history={browserHistory}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[x(0x9d)]('/'),s=this[x(0xb5)]['pathFromApp']({'pathParts':r});await this[x(0xb5)][x(0xb8)]({'filePath':s+'.'+j,'importName':x(0x9e),'modulePath':f?x(0xa6):x(0x89),'isNamedExport':!![]}),await this[x(0xb5)][x(0xba)]({'filePath':s+'.'+j,'aboveContent':x(0x8e),'belowContent':x(0xa2),'targetString':x(0xa8),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0xb1)](t),process[x(0x91)](0x1);}},async function(){},a122e);
1
+ function a122c(){const A=['provider','3825AYdpHR','replaceAll','6637140zgirvi','bright','<Routes\x20history={history}/>','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','withValue','search','/imports/startup/client/authentication-provider','15jtrklg','\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','pathFromApp','authentication-provider','1154685KdilJQ','278071OOSwwY','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','kit/auth/provider/authentication-provider.js','appName','create','const\x20Routes','apply','</AuthProvider>','/imports/startup/client','/imports/startup/lib/authentication-provider','\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','24792cJtZgT','react','4AknJyo','/imports/startup/client/index','function\x20Routes','injectAroundString','toString','<Routes\x20history={browserHistory}/>','(((.+)+)+)+$','fsi','error','force','.js','getMakaProjectConfig','injectImport','engines','AuthProvider','useContext','633696Xdezoe','33887760QQDvLg','1190468BlZXYX','ssr','split','/imports/startup/lib'];a122c=function(){return A;};return a122c();}const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0x90))/0x1*(-parseInt(u(0x9d))/0x2)+parseInt(u(0x8f))/0x3+parseInt(u(0xaf))/0x4*(parseInt(u(0x8b))/0x5)+parseInt(u(0xb6))/0x6+-parseInt(u(0xad))/0x7+parseInt(u(0x9b))/0x8*(parseInt(u(0xb4))/0x9)+-parseInt(u(0xae))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xbde79));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0xa1)]()[w(0xbb)](w(0xa3))[w(0xa1)]()['constructor'](a122a)[w(0xbb)](w(0xa3));});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';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x8b;let f=c[d];return f;},a122d(a,b);}Generator[a122x(0x94)]({'name':a122x(0xb3),'aliases':['p'],'usage':a122x(0x91),'shortDesc':a122x(0xb9),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a122x(0x9a)},async function(a,b){const y=a122x;try{const c=b[y(0xa6)]||![];Log[y(0xb7)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this['fsi'][y(0xa8)](),f=d['engines'][y(0xb0)]==='true',g={'name':headerCase(d[y(0x93)])[y(0xb5)]('-','\x20')},h=f?y(0xb2):y(0x98),i=this['fsi'][y(0x8d)]({'pathParts':[h,'','',y(0x8e)]});await this[y(0xa4)][y(0xba)](d,async()=>{const z=y;await this['fsi']['template']({'srcPath':z(0x92),'destPath':i+z(0xa7),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0xaa)]['js'],k=h+'/routes',l=k['split']('/'),m=this[y(0xa4)][y(0x8d)]({'pathParts':l});await this[y(0xa4)]['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0x99):y(0xbc),'isNamedExport':!![]}),await this[y(0xa4)][y(0xa9)]({'filePath':m+'.'+j,'importName':y(0xac),'modulePath':y(0x9c),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0xa4)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x8c),'begin':[y(0x95),y(0x9f)],'replace':!![]});const n=y(0x9e),o=n[y(0xb1)]('/'),p=this[y(0xa4)][y(0x8d)]({'pathParts':o});await this[y(0xa4)][y(0xa9)]({'filePath':p+'.'+j,'importName':y(0xab),'modulePath':f?y(0x99):y(0xbc),'isNamedExport':!![]}),await this[y(0xa4)][y(0xa0)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x97),'targetString':y(0xa2),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[y(0xb1)]('/'),s=this[y(0xa4)][y(0x8d)]({'pathParts':r});await this[y(0xa4)]['injectImport']({'filePath':s+'.'+j,'importName':y(0xab),'modulePath':f?y(0x99):y(0xbc),'isNamedExport':!![]}),await this[y(0xa4)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':y(0xb8),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0xa5)](t),process['exit'](0x1);}},async function(){},a122e);
@@ -1 +1 @@
1
- (function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0x145))/0x1*(parseInt(f(0x14d))/0x2)+parseInt(f(0x146))/0x3*(-parseInt(f(0x149))/0x4)+-parseInt(f(0x148))/0x5+-parseInt(f(0x147))/0x6*(parseInt(f(0x144))/0x7)+parseInt(f(0x14a))/0x8*(parseInt(f(0x142))/0x9)+parseInt(f(0x14c))/0xa*(-parseInt(f(0x14f))/0xb)+parseInt(f(0x150))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xbca5f));function a123c(){var h=['1528741BINtpg','4088616IvRBiR','24QMprQh','2161085EkJZzm','4BXwklY','8toGlLt','search','1449460Zeebqu','2DikkfL','(((.+)+)+)+$','77jqNHgl','26537088fgioUx','9262557igdonc','toString','2077117tCdmKl'];a123c=function(){return h;};return a123c();}var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var g=a123d;return a123a[g(0x143)]()['search'](g(0x14e))[g(0x143)]()['constructor'](a123a)[g(0x14b)](g(0x14e));});a123a();function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x142;var f=c[d];return f;},a123d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0x101))/0x1*(parseInt(f(0xf8))/0x2)+parseInt(f(0xfe))/0x3*(parseInt(f(0xfd))/0x4)+-parseInt(f(0xf6))/0x5*(-parseInt(f(0xf3))/0x6)+parseInt(f(0xf2))/0x7+parseInt(f(0x100))/0x8*(parseInt(f(0xfa))/0x9)+-parseInt(f(0xfc))/0xa+-parseInt(f(0xf4))/0xb*(-parseInt(f(0xfb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xed50c));function a123c(){var i=['275AnWIVF','apply','1773795BFjYLx','toString','2vVnpGD','(((.+)+)+)+$','9pIoHvI','466404MHbjeH','18242820BiLgzN','75624PccMzY','42itjxVz','constructor','1449672Kjxeoa','64977pirggI','7622832FPdKiB','6OtslSt'];a123c=function(){return i;};return a123c();}var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0xf7)]()['search'](h(0xf9))['toString']()[h(0xff)](a123a)['search'](h(0xf9));});a123a();function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0xf2;var f=c[d];return f;},a123d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0xb3))/0x1*(-parseInt(f(0xa1))/0x2)+-parseInt(f(0xab))/0x3*(-parseInt(f(0xb2))/0x4)+-parseInt(f(0xa0))/0x5+-parseInt(f(0xb6))/0x6+-parseInt(f(0xa4))/0x7*(-parseInt(f(0xaf))/0x8)+-parseInt(f(0xa5))/0x9*(-parseInt(f(0xa9))/0xa)+parseInt(f(0xad))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x49df2));function a124c(){const k=['290689nKrVJW','550107oBCRIc','search','Esri\x20Kit\x20generated\x20successfully','constructor','40eAVrBn','apply','1517433SJFFEM','(((.+)+)+)+$','2501917JBpvAI','maka\x20g:kit:e','104wMfYfJ','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','create','4TrYubu','276353FLrBCk','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','\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','1795434mTzYEM','1815390upqoNL','4GSfvCC','toString','/foo'];a124c=function(){return k;};return a124c();}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0xa2)]()[h(0xa6)](h(0xac))[h(0xa2)]()[h(0xa8)](a124a)['search'](h(0xac));});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0xb1)]({'name':'esri','aliases':['e'],'usage':a124i(0xb4),'noNeedResource':!![],'shortDesc':a124i(0xb0),'validOpts':[''],'isPro':!![],'examples':[a124i(0xae)],'description':a124i(0xb5)},async function(){const j=a124i;return{'success':!![],'message':j(0xa7),'details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0xa3)]}};},async function(){},a124e);function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xa0;let f=c[d];return f;},a124d(a,b);}export default EsriGen;
1
+ const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x176))/0x1+-parseInt(f(0x184))/0x2+parseInt(f(0x16e))/0x3+parseInt(f(0x17a))/0x4+parseInt(f(0x175))/0x5*(-parseInt(f(0x181))/0x6)+-parseInt(f(0x183))/0x7*(-parseInt(f(0x173))/0x8)+-parseInt(f(0x171))/0x9*(parseInt(f(0x172))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xf08f2));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x17e)]()[h(0x174)](h(0x177))[h(0x17e)]()[h(0x17c)](a124a)['search']('(((.+)+)+)+$');});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x16e;let f=c[d];return f;},a124d(a,b);}a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x17f)]({'name':a124i(0x17b),'aliases':['e'],'usage':a124i(0x180),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a124i(0x178)],'description':a124i(0x170)},async function(){const j=a124i;return{'success':!![],'message':j(0x17d),'details':{'filesCreated':[j(0x16f)],'filesUpdated':[j(0x182)]}};},async function(){},a124e);function a124c(){const k=['455XiABpI','826433cDaOPv','(((.+)+)+)+$','maka\x20g:kit:e','apply','1863968LimYfl','esri','constructor','Esri\x20Kit\x20generated\x20successfully','toString','create','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','11388HXdbJN','/foo','116851wMVhvS','1618560wnMLGW','3870432oGZhrD','/foo/bar','\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','22977rPQwxb','9210kHeJpJ','832yRDrsN','search'];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(0x112))/0x1+-parseInt(p(0x114))/0x2+-parseInt(p(0x128))/0x3+-parseInt(p(0x12f))/0x4*(parseInt(p(0x10d))/0x5)+parseInt(p(0x11e))/0x6+parseInt(p(0x115))/0x7+parseInt(p(0x12a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x1a84e));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x127)]()[r(0x109)]('(((.+)+)+)+$')['toString']()['constructor'](a125a)['search']('(((.+)+)+)+$');});a125a();import{Generator}from'../../../generator.js';function a125c(){const v=['145391AsYgID','apply','388018EoaPTL','100772tFbHRx','<div\x20id=\x22map\x22>','/imports/ui/','template','FALSE','create','Generating\x20a\x20map\x20component','/imports/startup/client/templates','pathFromApp','176550rUIQGs','REACT','bright','@esri/react-arcgis','fsi','getMakaProjectConfig','/imports/ui/hooks','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','processAndRunGenerator','toString','425910PPhZnc','kit/esri/map/','2533560yCUVEZ','page','findProjectDirectory','dir','map','8456KVXJPM','.js','true','search','injectIntoFile','split','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','145jKWlMj','baseDir','appName','engines','error'];a125c=function(){return v;};return a125c();}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-0x107;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(0x11a)]({'name':a125s(0x12e),'aliases':['m'],'usage':a125s(0x10c),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x11f)],'ssr':SsrEngines[a125s(0x119)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const t=a125s;try{Log[t(0x120)](t(0x11b));const c='basic-map';await this[t(0x122)]['checkNpmPackage']([t(0x121),'esri-loader'],{'shouldInstall':!![]});const d=this[t(0x122)][t(0x12c)](),f=this[t(0x122)][t(0x123)](),g=f[t(0x110)]['ssr']===t(0x108),h=await a125f[t(0x126)](t(0x12b),[t(0x12e)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x10f)])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x10e)]?t(0x117)+b['baseDir']:t(0x124),k=this['fsi']['pathFromApp']({'pathParts':[j,b[t(0x12d)],paramCase(c),paramCase(c)]});await this['fsi']['withValue'](f,async()=>{const u=t;await this[u(0x122)][u(0x118)]({'srcPath':u(0x129)+c+u(0x107),'destPath':k+u(0x107),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x12d)]+'/'+c+'/'+c;await this[t(0x122)]['injectTemplateModule'](c,f,l);const m=h[t(0x10b)]('/'),n=this[t(0x122)][t(0x11d)]({'pathParts':m});await this[t(0x122)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x11c),'isNamedExport':!![]}),await this[t(0x122)][t(0x10a)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x125),'begin':[t(0x116),t(0x116)],'end':['</div>'],'replace':!![]});}catch(o){Log[t(0x111)](o),process['exit'](0x1);}},async function(){},a125e);
1
+ function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xec;let f=c[d];return f;},a125d(a,b);}const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0xee))/0x1+parseInt(p(0xf5))/0x2*(parseInt(p(0x114))/0x3)+-parseInt(p(0x11e))/0x4*(parseInt(p(0x118))/0x5)+parseInt(p(0xf3))/0x6+parseInt(p(0x100))/0x7*(-parseInt(p(0x104))/0x8)+-parseInt(p(0xf0))/0x9*(-parseInt(p(0x11c))/0xa)+parseInt(p(0x106))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x92a60));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x109)]()[r(0x102)](r(0x111))[r(0x109)]()[r(0x120)](a125a)['search'](r(0x111));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a125c(){const v=['split','3130080DDgcMO','withValue','2FBkCsI','true','checkNpmPackage','dir','map','esri-loader','fsi','/imports/startup/client/templates','findProjectDirectory','page','create','567wUiBav','</div>','search','/imports/startup/lib/templates','24696ddvNaV','Generate\x20an\x20Esri\x20map\x20component','17417015lAgmzG','processAndRunGenerator','Generating\x20a\x20map\x20component','toString','/imports/ui/','FALSE','engines','injectTemplateModule','baseDir','REACT','pathFromApp','(((.+)+)+)+$','.js','template','144543etDOBo','injectIntoFile','kit/esri/map/','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','23935NpasRK','exit','apply','@esri/react-arcgis','13430zermXu','\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','868KVmOGb','/imports/ui/hooks','constructor','getMakaProjectConfig','<div\x20id=\x22map\x22>','517555JrGyda','bright','1701bptKKx','error'];a125c=function(){return v;};return a125c();}import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0xff)]({'name':a125s(0xf9),'aliases':['m'],'usage':a125s(0x117),'shortDesc':a125s(0x105),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x10f)],'ssr':SsrEngines[a125s(0x10b)]},'description':a125s(0x11d)},async function(a,b){const t=a125s;try{Log[t(0xef)](t(0x108));const c='basic-map';await this['fsi'][t(0xf7)]([t(0x11b),t(0xfa)],{'shouldInstall':!![]});const d=this[t(0xfb)][t(0xfd)](),f=this[t(0xfb)][t(0xec)](),g=f[t(0x10c)]['ssr']===t(0xf6),h=await a125f[t(0x107)](t(0xfe),[t(0xf9)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x10e)]?t(0x10a)+b[t(0x10e)]:t(0x11f),k=this[t(0xfb)][t(0x110)]({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[t(0xfb)][t(0xf4)](f,async()=>{const u=t;await this['fsi'][u(0x113)]({'srcPath':u(0x116)+c+u(0x112),'destPath':k+u(0x112),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0xf8)]+'/'+c+'/'+c;await this[t(0xfb)][t(0x10d)](c,f,l);const m=h[t(0xf2)]('/'),n=this['fsi'][t(0x110)]({'pathParts':m});await this[t(0xfb)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x103):t(0xfc),'isNamedExport':!![]}),await this['fsi'][t(0x115)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0xed),t(0xed)],'end':[t(0x101)],'replace':!![]});}catch(o){Log[t(0xf1)](o),process[t(0x119)](0x1);}},async function(){},a125e);
@@ -1 +1 @@
1
- const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x190))/0x1*(parseInt(f(0x19c))/0x2)+-parseInt(f(0x19a))/0x3*(parseInt(f(0x199))/0x4)+-parseInt(f(0x194))/0x5+parseInt(f(0x197))/0x6*(parseInt(f(0x1a2))/0x7)+-parseInt(f(0x191))/0x8*(-parseInt(f(0x19d))/0x9)+-parseInt(f(0x1a3))/0xa*(parseInt(f(0x19b))/0xb)+parseInt(f(0x195))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x1b28f));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x19e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x196)]()[h(0x1a0)]('(((.+)+)+)+$')[h(0x196)]()[h(0x1a4)](a126a)[h(0x1a0)](h(0x19f));});a126a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a126i(0x192),'aliases':['k'],'usage':a126i(0x198),'shortDesc':a126i(0x1a1),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x193),'maka\x20g:k']},async function(){});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x190;let f=c[d];return f;},a126d(a,b);}export default KitGen;function a126c(){const j=['42VnDosG','371580OhZWXK','constructor','3LnEZGz','120VMjRIE','kit','maka\x20g:kit','1005050ApXlPw','6301092DyLSWC','toString','63228Ofubqh','maka\x20{generate,\x20g}:{kit}\x20<name>','730952bdHaPU','3rYvgyq','11Kbhtwc','147604jxtYXt','99144eFDBFc','apply','(((.+)+)+)+$','search','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.'];a126c=function(){return j;};return a126c();}
1
+ function a126c(){const i=['3988IZTadw','maka\x20g:kit','474mZlXcj','12858688gzgPWQ','329194aYvCNO','2600eVVhph','11uyZPBv','35962236eAhYNN','55qHxSIF','51309qIinMd','157588KEMzJr','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','maka\x20{generate,\x20g}:{kit}\x20<name>','maka\x20g:k','(((.+)+)+)+$','constructor','323628vMxKKD','create','63JXXEPA','toString','search'];a126c=function(){return i;};return a126c();}const a126h=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x1dd))/0x1+-parseInt(f(0x1d9))/0x2*(-parseInt(f(0x1db))/0x3)+parseInt(f(0x1ce))/0x4*(parseInt(f(0x1e1))/0x5)+-parseInt(f(0x1d4))/0x6*(-parseInt(f(0x1d6))/0x7)+-parseInt(f(0x1dc))/0x8+parseInt(f(0x1cd))/0x9*(-parseInt(f(0x1de))/0xa)+parseInt(f(0x1df))/0xb*(parseInt(f(0x1e0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xc6394));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const g=a126d;return a126a['toString']()[g(0x1d8)](g(0x1d2))[g(0x1d7)]()[g(0x1d3)](a126a)['search'](g(0x1d2));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a126d(a,b);}a126a();import{Generator}from'../../generator.js';const KitGen=Generator[a126h(0x1d5)]({'name':'kit','aliases':['k'],'usage':a126h(0x1d0),'shortDesc':a126h(0x1cf),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126h(0x1da),a126h(0x1d1)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x9b))/0x1*(-parseInt(f(0x9e))/0x2)+parseInt(f(0x97))/0x3*(parseInt(f(0x95))/0x4)+parseInt(f(0x96))/0x5*(-parseInt(f(0xa1))/0x6)+-parseInt(f(0xa0))/0x7+-parseInt(f(0x9d))/0x8*(-parseInt(f(0x98))/0x9)+-parseInt(f(0x9f))/0xa+-parseInt(f(0xa2))/0xb*(-parseInt(f(0x9a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xd2173));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a['toString']()['search'](h(0x99))[h(0x9c)]()['constructor'](a127a)['search'](h(0x99));});a127a();function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x94;var f=c[d];return f;},a127d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';function a127c(){var i=['5yYwfha','352743fAjeUT','330363vHVWPz','(((.+)+)+)+$','14074716aPtrnk','51531vvxzKW','toString','56EGSEJk','30YtPWmw','9826740CJIBgC','2855657ZEBEsN','6643002lsYNvv','22BKJAVZ','apply','52EISqbc'];a127c=function(){return i;};return a127c();}import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(0x12b))/0x1*(-parseInt(f(0x127))/0x2)+-parseInt(f(0x12c))/0x3*(parseInt(f(0x128))/0x4)+-parseInt(f(0x129))/0x5+parseInt(f(0x135))/0x6*(parseInt(f(0x12d))/0x7)+parseInt(f(0x12e))/0x8+-parseInt(f(0x134))/0x9+-parseInt(f(0x133))/0xa*(parseInt(f(0x132))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xb4a9c));function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x126;var f=c[d];return f;},a127d(a,b);}var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x12f)]()['search'](h(0x12a))['toString']()[h(0x130)](a127a)[h(0x126)](h(0x12a));});a127a();import'./mui.generator.js';function a127c(){var i=['apply','121scLxkt','850430TSkJFR','5663277fwOLEp','7292874BBhuHI','search','4762DaIYaV','4IeuPtc','5291245CVOcPD','(((.+)+)+)+$','595htzAJp','182787JCSZAk','7SdGVOO','6333808hqVoCk','toString','constructor'];a127c=function(){return i;};return a127c();}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1bf;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(0x1f9))/0x1+-parseInt(G(0x1d8))/0x2+parseInt(G(0x1e2))/0x3*(-parseInt(G(0x1e8))/0x4)+-parseInt(G(0x1ca))/0x5+parseInt(G(0x1bf))/0x6+parseInt(G(0x1e6))/0x7+parseInt(G(0x1ef))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xaf7dd));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x1ee)]()[I(0x1fb)](I(0x1ec))[I(0x1ee)]()[I(0x1d7)](a128a)[I(0x1fb)](I(0x1ec));});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 N=['forgot-password','AuthContext','(((.+)+)+)+$','ssr','toString','3471504vvsMss','engines','REACT','basic-register-page','Custom\x20(roll\x20your\x20own)','custom','basic-login-page','/imports/startup/client/authentication-provider','kit:auth:meteor','/imports/startup/lib/authentication-provider','959618ReGRAI','injectImport','search','login','log','force','meteor','processAndRunGenerator','MATERIAL','6306702HhFtGz','react','getMakaProjectConfig','basic-forgot-password-page','reset-password/:token','appName','kit/mui/auth/login/','error','authType','apply','kit/mui/auth/password-reset/','6686565kisICp','create','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-password-reset-page','injectTemplateModule','split','register','list','withValue','kit/mui/auth/logout/','Cleaning\x20up...','layouts','route','constructor','204064gfwtcO','/imports/ui/pages/auth','baseDir','maka\x20generate:kit:mui:frame','kit/mui/auth/forgot-password/','findProjectDirectory','maka\x20g:k:m:f','pathFromApp','/imports/ui/','fsi','3RafPlh','.js','dir','options','5131280QcxbOM','template','4078220xzpjXH','replaceAll'];a128c=function(){return N;};return a128c();}import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0x1cb)]({'name':'auth','aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a128J(0x1d5),a128J(0x1fe)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0x201)],'client':ClientEngines[a128J(0x1f1)]},'examples':[a128J(0x1db),a128J(0x1de)],'description':a128J(0x1cc)},async function(a,b){const K=a128J;try{const c=b[K(0x1fe)]||![],d=this[K(0x1e1)][K(0x1dd)](),f=this['fsi'][K(0x1c1)](),{authType:g}=await Actions[K(0x1e5)]({'type':K(0x1d1),'name':K(0x1c7),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':'Meteor\x20Accounts','value':'meteor'},{'name':K(0x1f3),'value':K(0x1f4)}]}),h=K(0x1f5),i='basic-logout-page',j=K(0x1f2),k=K(0x1cd),l=K(0x1c2),m=b[K(0x1da)]?K(0x1e0)+b[K(0x1da)]:K(0x1d9),n=this[K(0x1e1)][K(0x1df)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0x1e1)][K(0x1df)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[K(0x1e1)][K(0x1df)]({'pathParts':[m,b[K(0x1e4)],paramCase(j),paramCase(j)]}),q=this[K(0x1e1)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this['fsi']['pathFromApp']({'pathParts':[m,b[K(0x1e4)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1c4)])[K(0x1e9)]('-','\x20')};await this[K(0x1e1)][K(0x1d2)](f,async()=>{const L=K;await this[L(0x1e1)][L(0x1e7)]({'srcPath':L(0x1c5)+h+L(0x1e3),'destPath':n+L(0x1e3),'framework':L(0x1c0),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1e1)][L(0x1e7)]({'srcPath':L(0x1d3)+i+L(0x1e3),'destPath':o+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1e1)][L(0x1e7)]({'srcPath':'kit/mui/auth/register/'+j+L(0x1e3),'destPath':p+'.js','framework':L(0x1c0),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1e1)][L(0x1e7)]({'srcPath':L(0x1c9)+k+L(0x1e3),'destPath':q+L(0x1e3),'framework':L(0x1c0),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1e1)]['template']({'srcPath':L(0x1dc)+l+L(0x1e3),'destPath':r+L(0x1e3),'framework':L(0x1c0),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x1e4)]+'/'+h+'/'+h;await this[K(0x1e1)][K(0x1ce)](h,f,t);const u=''+m+b[K(0x1e4)]+'/'+i+'/'+i;await this[K(0x1e1)]['injectTemplateModule'](i,f,u);const v=''+m+b[K(0x1e4)]+'/'+j+'/'+j;await this['fsi'][K(0x1ce)](j,f,v);const w=''+m+b[K(0x1e4)]+'/'+k+'/'+k;await this[K(0x1e1)][K(0x1ce)](k,f,w);const x=''+m+b[K(0x1e4)]+'/'+l+'/'+l;await this[K(0x1e1)][K(0x1ce)](l,f,x),await a128e[K(0x200)](K(0x1d6),['basic-login-page'],{'url':K(0x1fc),'cwd':d,'config':f}),await a128e[K(0x200)](K(0x1d6),['basic-logout-page'],{'url':'logout','private':!![],'cwd':d,'config':f}),await a128e[K(0x200)](K(0x1d6),[K(0x1f2)],{'url':K(0x1d0),'cwd':d,'config':f}),await a128e[K(0x200)](K(0x1d6),['basic-password-reset-page'],{'url':K(0x1c3),'cwd':d,'config':f}),await a128e[K(0x200)](K(0x1d6),[K(0x1c2)],{'url':K(0x1ea),'cwd':d,'config':f});g===K(0x1ff)&&await a128e[K(0x200)](K(0x1f7),[],{'force':c,'cwd':d,'config':f});g===K(0x1f4)&&await a128e[K(0x200)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f[K(0x1f0)][K(0x1ed)]==='true',z=f['engines']['js'],A=this[K(0x1e1)][K(0x1df)]({'pathParts':t[K(0x1cf)]('/')});await this['fsi'][K(0x1fa)]({'filePath':A+'.'+z,'importName':K(0x1eb),'modulePath':y?K(0x1f8):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this['fsi'][K(0x1df)]({'pathParts':u[K(0x1cf)]('/')});await this[K(0x1e1)]['injectImport']({'filePath':B+'.'+z,'importName':K(0x1eb),'modulePath':y?K(0x1f8):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this['fsi'][K(0x1df)]({'pathParts':v[K(0x1cf)]('/')});await this['fsi'][K(0x1fa)]({'filePath':C+'.'+z,'importName':K(0x1eb),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this[K(0x1e1)]['pathFromApp']({'pathParts':w[K(0x1cf)]('/')});await this[K(0x1e1)]['injectImport']({'filePath':D+'.'+z,'importName':K(0x1eb),'modulePath':y?K(0x1f8):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[K(0x1e1)][K(0x1df)]({'pathParts':x[K(0x1cf)]('/')});await this[K(0x1e1)][K(0x1fa)]({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':K(0x1f6),'isNamedExport':!![]});}catch(F){Log[K(0x1c6)](F);}},async function(){const M=a128J;console[M(0x1fd)](M(0x1d4));},a128f);
1
+ const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0x128))/0x1+parseInt(G(0x127))/0x2+parseInt(G(0x13c))/0x3*(parseInt(G(0x117))/0x4)+-parseInt(G(0x114))/0x5*(-parseInt(G(0x136))/0x6)+-parseInt(G(0x133))/0x7+parseInt(G(0x134))/0x8*(parseInt(G(0x151))/0x9)+parseInt(G(0x115))/0xa*(parseInt(G(0x139))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x61c2d));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x13e)]()[I(0x12f)](I(0x146))[I(0x13e)]()['constructor'](a128a)[I(0x12f)](I(0x146));});a128a();function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x111;let f=c[d];return f;},a128d(a,b);}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(0x12e)]({'name':a128J(0x12d),'aliases':['a'],'usage':a128J(0x14a),'shortDesc':a128J(0x145),'validOpts':[a128J(0x11f),a128J(0x11e)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a128J(0x155)]},'examples':[a128J(0x130),a128J(0x113)],'description':a128J(0x142)},async function(a,b){const K=a128J;try{const c=b[K(0x11e)]||![],d=this[K(0x132)][K(0x122)](),f=this[K(0x132)]['getMakaProjectConfig'](),{authType:g}=await Actions[K(0x137)]({'type':'list','name':K(0x148),'message':K(0x156),'choices':[{'name':K(0x11c),'value':K(0x147)},{'name':K(0x11d),'value':'custom'}]}),h=K(0x157),i='basic-logout-page',j='basic-register-page',k=K(0x12c),l=K(0x14d),m=b[K(0x119)]?K(0x141)+b[K(0x119)]:'/imports/ui/pages/auth',n=this[K(0x132)][K(0x150)]({'pathParts':[m,b[K(0x144)],paramCase(h),paramCase(h)]}),o=this[K(0x132)][K(0x150)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[K(0x132)][K(0x150)]({'pathParts':[m,b[K(0x144)],paramCase(j),paramCase(j)]}),q=this['fsi']['pathFromApp']({'pathParts':[m,b[K(0x144)],paramCase(k),paramCase(k)]}),r=this[K(0x132)]['pathFromApp']({'pathParts':[m,b[K(0x144)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f['appName'])[K(0x120)]('-','\x20')};await this['fsi'][K(0x140)](f,async()=>{const L=K;await this[L(0x132)]['template']({'srcPath':L(0x112)+h+'.js','destPath':n+L(0x11b),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x149)]({'srcPath':L(0x121)+i+L(0x11b),'destPath':o+'.js','framework':L(0x13b),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x132)]['template']({'srcPath':L(0x129)+j+L(0x11b),'destPath':p+L(0x11b),'framework':L(0x13b),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x132)]['template']({'srcPath':'kit/mui/auth/password-reset/'+k+L(0x11b),'destPath':q+L(0x11b),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x132)][L(0x149)]({'srcPath':'kit/mui/auth/forgot-password/'+l+L(0x11b),'destPath':r+L(0x11b),'framework':L(0x13b),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x144)]+'/'+h+'/'+h;await this[K(0x132)][K(0x14b)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this[K(0x132)][K(0x14b)](i,f,u);const v=''+m+b[K(0x144)]+'/'+j+'/'+j;await this[K(0x132)][K(0x14b)](j,f,v);const w=''+m+b['dir']+'/'+k+'/'+k;await this[K(0x132)][K(0x14b)](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[K(0x132)][K(0x14b)](l,f,x),await a128e[K(0x14c)]('route',[K(0x157)],{'url':'login','cwd':d,'config':f}),await a128e[K(0x14c)](K(0x13f),[K(0x126)],{'url':K(0x116),'private':!![],'cwd':d,'config':f}),await a128e[K(0x14c)](K(0x13f),[K(0x143)],{'url':K(0x154),'cwd':d,'config':f}),await a128e[K(0x14c)](K(0x13f),[K(0x12c)],{'url':K(0x153),'cwd':d,'config':f}),await a128e[K(0x14c)](K(0x13f),['basic-forgot-password-page'],{'url':K(0x13a),'cwd':d,'config':f});g===K(0x147)&&await a128e[K(0x14c)](K(0x124),[],{'force':c,'cwd':d,'config':f});g===K(0x13d)&&await a128e[K(0x14c)](K(0x152),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x138)][K(0x12a)]===K(0x125),z=f[K(0x138)]['js'],A=this[K(0x132)][K(0x150)]({'pathParts':t[K(0x123)]('/')});await this['fsi'][K(0x131)]({'filePath':A+'.'+z,'importName':K(0x135),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x12b),'isNamedExport':!![]});const B=this[K(0x132)][K(0x150)]({'pathParts':u['split']('/')});await this[K(0x132)][K(0x131)]({'filePath':B+'.'+z,'importName':K(0x135),'modulePath':y?K(0x14e):K(0x12b),'isNamedExport':!![]});const C=this['fsi'][K(0x150)]({'pathParts':v[K(0x123)]('/')});await this[K(0x132)][K(0x131)]({'filePath':C+'.'+z,'importName':K(0x135),'modulePath':y?K(0x14e):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this[K(0x132)][K(0x150)]({'pathParts':w[K(0x123)]('/')});await this[K(0x132)][K(0x131)]({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?K(0x14e):K(0x12b),'isNamedExport':!![]});const E=this[K(0x132)][K(0x150)]({'pathParts':x[K(0x123)]('/')});await this[K(0x132)]['injectImport']({'filePath':E+'.'+z,'importName':K(0x135),'modulePath':y?K(0x14e):K(0x12b),'isNamedExport':!![]});}catch(F){Log[K(0x14f)](F);}},async function(){const M=a128J;console[M(0x111)](M(0x118));},a128f);function a128c(){const N=['81260JIFEYV','Cleaning\x20up...','baseDir','apply','.js','Meteor\x20Accounts','Custom\x20(roll\x20your\x20own)','force','layouts','replaceAll','kit/mui/auth/logout/','findProjectDirectory','split','kit:auth:meteor','true','basic-logout-page','30422COawqB','504708wyWplS','kit/mui/auth/register/','ssr','/imports/startup/client/authentication-provider','basic-password-reset-page','auth','create','search','maka\x20generate:kit:mui:frame','injectImport','fsi','3925621KAXVBo','1592AhDkyG','AuthContext','84AgCZjC','options','engines','6320281nWtYNH','forgot-password','react','3mMswUe','custom','toString','route','withValue','/imports/ui/','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-register-page','dir','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','(((.+)+)+)+$','meteor','authType','template','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','injectTemplateModule','processAndRunGenerator','basic-forgot-password-page','/imports/startup/lib/authentication-provider','error','pathFromApp','14643fuiHsJ','kit:auth:provider','reset-password/:token','register','REACT','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','basic-login-page','log','kit/mui/auth/login/','maka\x20g:k:m:f','190025CNoyzZ','10DyYtgj','logout'];a128c=function(){return N;};return a128c();}
@@ -1 +1 @@
1
- const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0xf9))/0x1*(parseInt(B(0x101))/0x2)+-parseInt(B(0xf0))/0x3*(-parseInt(B(0xf8))/0x4)+-parseInt(B(0xd4))/0x5*(-parseInt(B(0xde))/0x6)+parseInt(B(0xdf))/0x7*(-parseInt(B(0x10e))/0x8)+-parseInt(B(0xd3))/0x9+parseInt(B(0xdd))/0xa*(parseInt(B(0xdc))/0xb)+parseInt(B(0xd9))/0xc*(-parseInt(B(0x123))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x87e8b));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x10c)]()[D(0x11e)](D(0xd8))[D(0x10c)]()[D(0xf6)](a129a)[D(0x11e)](D(0xd8));});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';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xd3;let f=c[d];return f;},a129d(a,b);}import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a129E(0xd6),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a129E(0x106),'validOpts':[a129E(0x112),'baseDir',a129E(0xe8),a129E(0xdb)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':[a129E(0x110),a129E(0x118)],'description':a129E(0x10b)},async function(a,b){const F=a129E;try{const c=b[F(0xdb)]||![],d=F(0xe2),f=F(0xf2),g=F(0xe3),h=this[F(0xd7)][F(0x120)](),i=h[F(0x115)][F(0xfa)]===F(0x114);await this['fsi'][F(0xf7)]([F(0xec),F(0x117)],{'shouldInstall':!![]});const j=this['fsi']['findAppDirectory'](),k=a129e['join'](j,F(0x102),'ui',F(0x112)),l=this['fsi'][F(0x100)](k),m=await Actions[F(0xda)]({'type':F(0xff),'name':F(0x112),'message':F(0xe5),'choices':l});if(m[F(0x112)][F(0x10a)]===0x0){Log['error'](F(0xf4));return;}const n=b['baseDir']?F(0xe7)+b[F(0xe9)]:F(0xfd),o=this[F(0xd7)][F(0x113)]({'pathParts':[n,b[F(0xe8)],paramCase(d),paramCase(d)]}),p=this[F(0xd7)]['pathFromApp']({'pathParts':[n,b[F(0xe8)],paramCase(f),paramCase(f)]}),q=this[F(0xd7)]['pathFromApp']({'pathParts':[n,b[F(0xe8)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0xed)])[F(0x11d)]('-','\x20')};await this[F(0xd7)][F(0xe1)](h,async()=>{const G=F;await this['fsi'][G(0xf5)]({'srcPath':G(0x111)+d+G(0x11f),'destPath':o+G(0x11f),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xd7)][G(0xf5)]({'srcPath':G(0xfb)+f+G(0x11f),'destPath':p+'.js','framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xd7)][G(0xf5)]({'srcPath':G(0x11c)+g+G(0x11f),'destPath':q+G(0x11f),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0xe8)]+'/'+d+'/'+d;await this[F(0xd7)]['injectTemplateModule'](d,h,s);const t=''+n+b[F(0xe8)]+'/'+f+'/'+f;await this[F(0xd7)][F(0xfe)](f,h,t);const u=''+n+b[F(0xe8)]+'/'+g+'/'+g;await this[F(0xd7)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this['fsi'][F(0xd5)](a129e[F(0x108)](k,w),{'extensions':['jsx','tsx'],'omit':[F(0x122),F(0x109),F(0xea)]});for(const y of x){const z=a129e[F(0x108)](k,w,y);await this[F(0xd7)]['injectImport']({'filePath':z,'importName':F(0x105),'modulePath':F(0x104),'isNamedExport':![]}),await this[F(0xd7)][F(0xfc)]({'filePath':z,'importName':'Container','modulePath':F(0xee),'isNamedExport':![]}),await this[F(0xd7)]['injectImport']({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0xe4):F(0x107),'isNamedExport':!![]}),await this[F(0xd7)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x11b)+w+'\x22>',F(0x11b)+w+'-hook\x22>'],'end':[F(0xe0),F(0x11a),'{props.children}',F(0xe6)]}),await this[F(0xd7)][F(0xfc)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0xe4):F(0x107),'isNamedExport':!![]}),await this[F(0xd7)][F(0xf3)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x10d),'begin':[F(0x11b)+w+'\x22>',F(0x11b)+w+F(0x103)],'end':[F(0xe0),'{\x20this.props.children\x20}',F(0xef),F(0xe6)]}),await this[F(0xd7)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+F(0x10d),'begin':[F(0xe0),F(0x11a),F(0xef),F(0xe6)],'end':[F(0xf1)]}),await this[F(0xd7)][F(0xfc)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0xe4):F(0x107),'isNamedExport':!![]}),await this[F(0xd7)]['injectAroundString']({'filePath':z,'aboveContent':F(0x119),'belowContent':F(0xeb),'targetString':['{this.props.children}',F(0x11a),'{props.children}',F(0xe6)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x10f)](A);}},async function(){const H=a129E;console[H(0x116)]('Cleaning\x20up...');},a129f);function a129c(){const I=['</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','session','appName','@mui/material/Container','{props.children}','1217511PknKGX','</div>','basic-drawer','injectIntoFile','No\x20layouts\x20selected','template','constructor','checkMeteorPackage','4QLSFBC','731759VAZvoR','ssr','kit/mui/frame/drawers/','injectImport','/imports/ui/components','injectTemplateModule','checkbox','getDirectories','2GyxptZ','imports','-hook\x22>','@mui/material/Box','Box','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','/imports/startup/client/templates','join','tests','length','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','toString','\x20/>\x0a','16HdADct','error','maka\x20generate:kit:mui:frame','kit/mui/frame/app-bars/','layouts','pathFromApp','true','engines','log','maka:react-tracker','maka\x20g:k:m:f','<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>','{\x20this.props.children\x20}','<div\x20id=\x22','kit/mui/frame/footers/','replaceAll','search','.js','getMakaProjectConfig','apply','app-tests','1882205PqTidB','8859456ARFPWs','121700cGHRya','getFiles','frame','fsi','(((.+)+)+)+$','60ziaYCh','options','force','1016378WPByLd','80dcfbnj','210wanExN','1622908RAFJOS','{this.props.children}','withValue','basic-app-bar','basic-sticky-footer','/imports/startup/lib/templates','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','{\x20props.children\x20}','/imports/ui/','dir','baseDir','test'];a129c=function(){return I;};return a129c();}
1
+ const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0x194))/0x1+parseInt(B(0x1cc))/0x2+-parseInt(B(0x197))/0x3*(-parseInt(B(0x1a2))/0x4)+parseInt(B(0x1c0))/0x5+parseInt(B(0x1c1))/0x6*(-parseInt(B(0x1b2))/0x7)+parseInt(B(0x1a1))/0x8*(parseInt(B(0x1a6))/0x9)+parseInt(B(0x1a8))/0xa*(-parseInt(B(0x18e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x6ffb0));function a129c(){const I=['1808292GXANzB','getDirectories','/imports/startup/client/templates','appName','639TghYqe','length','2336530mEwdge','app-tests','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','injectIntoFile','@mui/material/Container','<div\x20id=\x22','findAppDirectory','{props.children}','No\x20layouts\x20selected','/imports/startup/lib/templates','21dDgmWb','options','session','{this.props.children}','test','checkMeteorPackage','/imports/ui/','imports','{\x20this.props.children\x20}','pathFromApp','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','error','.js','@mui/material/Box','3398315QlFdty','171708EOYoiY','maka\x20generate:kit:mui:frame','constructor','layouts','search','kit/mui/frame/footers/','replaceAll','withValue','MATERIAL','engines','REACT','250834OOQyKf','<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>','toString','getMakaProjectConfig','dir','apply','baseDir','fsi','tests','</div>','basic-drawer','basic-app-bar','injectTemplateModule','basic-sticky-footer','tsx','template','getFiles','jsx','maka\x20g:k:m:f','55qegMLg','injectImport','-hook\x22>','join','(((.+)+)+)+$','injectAroundString','412115PUDWKM','Cleaning\x20up...','create','3hdOChP','true','react','maka:react-tracker','{\x20props.children\x20}','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','/imports/ui/components','\x20/>\x0a','force','checkbox','4904riWdkb'];a129c=function(){return I;};return a129c();}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x1ce)]()[D(0x1c5)]('(((.+)+)+)+$')[D(0x1ce)]()[D(0x1c3)](a129a)[D(0x1c5)](D(0x192));});a129a();import{Generator}from'../../../generator.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x18a;let f=c[d];return f;},a129d(a,b);}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(0x196)]({'name':'frame','aliases':['f'],'usage':a129E(0x1bc),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':['layouts',a129E(0x1d2),a129E(0x1d0),'force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x1c9)],'client':ClientEngines[a129E(0x1cb)]},'examples':[a129E(0x1c2),a129E(0x18d)],'description':a129E(0x19c)},async function(a,b){const F=a129E;try{const c=b[F(0x19f)]||![],d=F(0x1d7),f=F(0x1d6),g=F(0x1d9),h=this['fsi'][F(0x1cf)](),i=h[F(0x1ca)]['ssr']===F(0x198);await this['fsi'][F(0x1b7)]([F(0x1b4),F(0x19a)],{'shouldInstall':!![]});const j=this[F(0x1d3)][F(0x1ae)](),k=a129e[F(0x191)](j,F(0x1b9),'ui',F(0x1c4)),l=this[F(0x1d3)][F(0x1a3)](k),m=await Actions[F(0x1b3)]({'type':F(0x1a0),'name':'layouts','message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x1c4)][F(0x1a7)]===0x0){Log[F(0x1bd)](F(0x1b0));return;}const n=b[F(0x1d2)]?F(0x1b8)+b[F(0x1d2)]:F(0x19d),o=this[F(0x1d3)]['pathFromApp']({'pathParts':[n,b[F(0x1d0)],paramCase(d),paramCase(d)]}),p=this[F(0x1d3)][F(0x1bb)]({'pathParts':[n,b[F(0x1d0)],paramCase(f),paramCase(f)]}),q=this[F(0x1d3)][F(0x1bb)]({'pathParts':[n,b[F(0x1d0)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1a5)])[F(0x1c7)]('-','\x20')};await this[F(0x1d3)][F(0x1c8)](h,async()=>{const G=F;await this['fsi'][G(0x18a)]({'srcPath':'kit/mui/frame/app-bars/'+d+G(0x1be),'destPath':o+'.js','framework':G(0x199),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1d3)][G(0x18a)]({'srcPath':'kit/mui/frame/drawers/'+f+G(0x1be),'destPath':p+'.js','framework':G(0x199),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1d3)][G(0x18a)]({'srcPath':G(0x1c6)+g+G(0x1be),'destPath':q+'.js','framework':G(0x199),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x1d0)]+'/'+d+'/'+d;await this['fsi'][F(0x1d8)](d,h,s);const t=''+n+b[F(0x1d0)]+'/'+f+'/'+f;await this[F(0x1d3)][F(0x1d8)](f,h,t);const u=''+n+b[F(0x1d0)]+'/'+g+'/'+g;await this['fsi'][F(0x1d8)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x1d3)][F(0x18b)](a129e[F(0x191)](k,w),{'extensions':[F(0x18c),F(0x1da)],'omit':[F(0x1a9),F(0x1d4),F(0x1b6)]});for(const y of x){const z=a129e[F(0x191)](k,w,y);await this[F(0x1d3)][F(0x18f)]({'filePath':z,'importName':'Box','modulePath':F(0x1bf),'isNamedExport':![]}),await this[F(0x1d3)][F(0x18f)]({'filePath':z,'importName':'Container','modulePath':F(0x1ac),'isNamedExport':![]}),await this[F(0x1d3)][F(0x18f)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x1b1):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x1d3)][F(0x1ab)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x19e),'begin':[F(0x1ad)+w+'\x22>',F(0x1ad)+w+F(0x190)],'end':[F(0x1b5),F(0x1ba),'{props.children}',F(0x19b)]}),await this[F(0x1d3)][F(0x18f)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':F(0x1a4),'isNamedExport':!![]}),await this['fsi'][F(0x1ab)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x19e),'begin':['<div\x20id=\x22'+w+'\x22>','<div\x20id=\x22'+w+F(0x190)],'end':[F(0x1b5),'{\x20this.props.children\x20}',F(0x1af),'{\x20props.children\x20}']}),await this[F(0x1d3)][F(0x1ab)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x19e),'begin':[F(0x1b5),F(0x1ba),'{props.children}',F(0x19b)],'end':[F(0x1d5)]}),await this[F(0x1d3)][F(0x18f)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':F(0x1a4),'isNamedExport':!![]}),await this['fsi'][F(0x193)]({'filePath':z,'aboveContent':F(0x1cd),'belowContent':F(0x1aa),'targetString':[F(0x1b5),F(0x1ba),'{props.children}',F(0x19b)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x1bd)](A);}},async function(){const H=a129E;console['log'](H(0x195));},a129f);
@@ -1 +1 @@
1
- const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0x1cd))/0x1*(-parseInt(g(0x1d0))/0x2)+-parseInt(g(0x1d8))/0x3+-parseInt(g(0x1b8))/0x4+-parseInt(g(0x1d4))/0x5*(-parseInt(g(0x1b9))/0x6)+-parseInt(g(0x1cb))/0x7+-parseInt(g(0x1bd))/0x8+parseInt(g(0x1d5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x753cb));function a130c(){const l=['2FLyrkX','includes','constructor','info','50470ZkjGhQ','25049718rXskdU','search','Header,\x20Footer,\x20and\x20Drawer','2645475syrmzU','maka\x20g:kit:m','1656132tctQsg','12UndZAD','frame','auth','fsi','4318832nUlLIQ','kitChoices','Material-UI\x20Kit','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','toString','apply','(((.+)+)+)+$','processAndRunGenerator','findProjectDirectory','\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','mui','No\x20MUI\x20kits\x20selected.\x20Exiting.','notice','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','1077979EIeUFr','options','333578FzhNum','kit:mui:frame','kit:mui:auth'];a130c=function(){return l;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a130d(a,b);}const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x1c2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0x1c1)]()['search'](i(0x1c3))['toString']()[i(0x1d2)](a130a)[i(0x1d6)](i(0x1c3));});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['create']({'name':a130j(0x1c7),'aliases':['m'],'usage':a130j(0x1c0),'noNeedResource':!![],'shortDesc':a130j(0x1bf),'validOpts':[''],'isPro':!![],'examples':[a130j(0x1d9)]},async function(){const k=a130j;Log[k(0x1d3)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[k(0x1c9)](k(0x1c6));const {kitChoices:a}=await Actions[k(0x1cc)]({'type':'checkbox','name':k(0x1be),'message':k(0x1ca),'choices':[{'name':k(0x1d7),'value':k(0x1ba)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':'auth'}]}),b=this['fsi'][k(0x1c5)](),c=this[k(0x1bc)]['getMakaProjectConfig']();a[k(0x1d1)](k(0x1ba))&&await a130e[k(0x1c4)](k(0x1ce),[],{'force':!![],'cwd':b,'config':c});a[k(0x1d1)](k(0x1bb))&&await a130e[k(0x1c4)](k(0x1cf),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[k(0x1d3)](k(0x1c8));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(0xf3))/0x1*(-parseInt(g(0x102))/0x2)+parseInt(g(0xf0))/0x3+-parseInt(g(0xf9))/0x4*(-parseInt(g(0x105))/0x5)+parseInt(g(0xf8))/0x6*(parseInt(g(0xed))/0x7)+-parseInt(g(0x103))/0x8+-parseInt(g(0x107))/0x9+parseInt(g(0xe3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x7013a));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0xe9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0xff)]()[i(0xea)](i(0x104))['toString']()[i(0x106)](a130a)['search']('(((.+)+)+)+$');});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xe1;let f=c[d];return f;},a130d(a,b);}function a130c(){const l=['242994aNHwiU','47276RzeeHv','frame','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','auth','fsi','toString','\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','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','2SuUWYO','1395488yQEhvZ','(((.+)+)+)+$','365CbOvGs','constructor','6731298hyVWhV','info','kit:mui:auth','3925640yMfmjB','checkbox','kit:mui:frame','includes','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','getMakaProjectConfig','apply','search','create','findProjectDirectory','63LYmDhR','Material-UI\x20Kit','options','1311189QHeYWs','length','maka\x20g:kit:m','675481ZaUBok','mui','No\x20MUI\x20kits\x20selected.\x20Exiting.','Header,\x20Footer,\x20and\x20Drawer','notice'];a130c=function(){return l;};return a130c();}import a130f from'../kit.js';const MuiGen=Generator[a130j(0xeb)]({'name':a130j(0xf4),'aliases':['m'],'usage':a130j(0xfb),'noNeedResource':!![],'shortDesc':a130j(0xee),'validOpts':[''],'isPro':!![],'examples':[a130j(0xf2)]},async function(){const k=a130j;Log[k(0xe1)](k(0x101)),Log[k(0xf7)](k(0x100));const {kitChoices:a}=await Actions[k(0xef)]({'type':k(0xe4),'name':'kitChoices','message':k(0xe7),'choices':[{'name':k(0xf6),'value':'frame'},{'name':k(0xfc),'value':k(0xfd)}]}),b=this[k(0xfe)][k(0xec)](),c=this[k(0xfe)][k(0xe8)]();a[k(0xe6)](k(0xfa))&&await a130e['processAndRunGenerator'](k(0xe5),[],{'force':!![],'cwd':b,'config':c});a[k(0xe6)](k(0xfd))&&await a130e['processAndRunGenerator'](k(0xe2),[],{'force':!![],'cwd':b,'config':c});if(a[k(0xf1)]===0x0){Log[k(0xe1)](k(0xf5));return;}},async function(){},a130f);export default MuiGen;
@@ -1 +1 @@
1
- function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x76;let f=c[d];return f;},a131d(a,b);}const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=parseInt(l(0xa4))/0x1+parseInt(l(0x90))/0x2*(-parseInt(l(0x79))/0x3)+parseInt(l(0x9c))/0x4+parseInt(l(0xaa))/0x5+parseInt(l(0x93))/0x6+parseInt(l(0xa5))/0x7+-parseInt(l(0x94))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xab8c6));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x97)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0x9e)]()[n(0x7a)](n(0x8e))['toString']()[n(0x81)](a131a)[n(0x7a)](n(0x8e));});a131a();import a131e from'path';function a131c(){const r=['setTemplate','apply','checkNpmPackage','true','pathFromProject','relative','3367884QIenoi','findAppDirectory','toString','css','none','fsi','dir','features','872041PWzCtb','442603JJhzfk','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','react','maka\x20g:l\x20web/safari','layout','5033960DTuPtC','test/test.js','.css','installNpmPackage','354BvTFaL','search','.app-tests.js','client','fileName','withValue','graphql','pathFromApp','constructor','withTranslations','withHook','className','component/component.js','warn','template/template.css','engines','withHooks','string','test','ramda','.js','(((.+)+)+)+$','template','5228oTwcWu','resourceName','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','1265646isjPor','15870880gFropB','ssr'];a131c=function(){return r;};return a131c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a131o(0xa9),'aliases':aliases,'usage':a131o(0x92),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':['withHook'],'examples':['maka\x20g:layout\x20mobile/iPhone8',a131o(0xa8)]},async function(a,b){const p=a131o,c='/imports/ui/layouts',d=this[p(0xa1)][p(0x9d)](),e=this['fsi'][p(0x80)]({'pathParts':[c,b['dir'],paramCase(b[p(0x91)]),paramCase(b['resourceName'])]}),f=this[p(0xa1)]['getMakaProjectConfig']();await this[p(0xa1)][p(0x7e)](f,async()=>{const q=p;typeof f[q(0x8f)][q(0x8b)]===q(0x8a)&&(f[q(0x8f)][q(0x8b)]=f[q(0x8f)][q(0x8b)]===q(0x99)?!![]:![],this[q(0xa1)][q(0x96)]('test',f['template']['test']));typeof f[q(0x8f)][q(0x9f)]===q(0x8a)&&(f[q(0x8f)][q(0x9f)]=f['template']['css']==='true'?!![]:![],this[q(0xa1)][q(0x96)]('css',f['template'][q(0x9f)]));typeof f[q(0x8f)]['js']===q(0x8a)&&(f['template']['js']=f[q(0x8f)]['js']===q(0x99)?!![]:![],this['fsi'][q(0x96)]('js',f[q(0x8f)]['js']));!f[q(0xa3)]&&(f[q(0xa3)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0x98)](q(0x8c))&&(Log[q(0x86)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this['fsi'][q(0x78)](q(0x8c),{'cwd':d}));if(h&&!this[q(0x98)](q(0xa7))){Log[q(0x86)](q(0xa6));return;}const i={'name':pascalCase(b[q(0x91)]),'myPath':a131e[q(0x9b)](this[q(0xa1)][q(0x9a)]({}),e),'cssCaseName':paramCase(b[q(0x91)]),'className':pascalCase(b[q(0x91)]),'camelCaseName':camelCase(b[q(0x91)]),'fileName':paramCase(b[q(0x91)]),'graphql':f[q(0x88)][q(0x7f)],'features':f[q(0xa3)],'client':f['engines'][q(0x7c)],'api':f[q(0x88)]['api'],'ssr':f['engines'][q(0x95)],'test':f[q(0x88)][q(0x8b)],'theme':f[q(0x88)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][q(0x82)]};f[q(0xa3)]?.[q(0x89)]||b[q(0x83)]?await this[q(0xa1)][q(0x8f)]({'srcPath':'hook/hook.js','destPath':e+q(0x8d),'framework':q(0xa7),'context':i,'config':f}):await this[q(0xa1)]['template']({'srcPath':q(0x85),'destPath':e+'.js','framework':q(0xa7),'context':i,'config':f});f[q(0x88)][q(0x8b)]!==q(0xa0)&&await this[q(0xa1)][q(0x8f)]({'srcPath':q(0x76),'destPath':e+q(0x7b),'framework':q(0xa7),'context':i,'config':f});f['template'][q(0x9f)]&&(await this[q(0xa1)]['template']({'srcPath':q(0x87),'destPath':e+q(0x77),'context':Object['assign']({},i,{'className':paramCase(b[q(0x91)])}),'config':f}),await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[q(0x88)]['js'],'content':'import\x20\x27./'+i[q(0x7d)]+'.'+f[q(0x88)][q(0x9f)]+'\x27;'}));const j=b[q(0xa2)]?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0x7d)]+'/'+i[q(0x7d)];await this[q(0xa1)]['injectTemplateModule'](i[q(0x84)],f,k);});});
1
+ const a131n=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0x197))/0x1+parseInt(l(0x182))/0x2*(parseInt(l(0x176))/0x3)+-parseInt(l(0x19e))/0x4*(parseInt(l(0x181))/0x5)+-parseInt(l(0x19f))/0x6*(-parseInt(l(0x1a9))/0x7)+parseInt(l(0x19c))/0x8+parseInt(l(0x174))/0x9+parseInt(l(0x19a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xe9981));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const m=a131d;return a131a['toString']()['search'](m(0x1ae))[m(0x19b)]()[m(0x187)](a131a)[m(0x1a5)](m(0x1ae));});function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x174;let f=c[d];return f;},a131d(a,b);}a131a();import a131e from'path';import{Generator}from'../generator.js';function a131c(){const q=['424244TvpjcQ','213492xIDjgd','none','api','ramda','template','.css','search','withHook','features','fileName','56WEmRdb','css','withTranslations','.app-tests.js','ssr','(((.+)+)+)+$','6645573OcxQYr','component/component.js','170445RLvGvx','Scaffolding\x20for\x20a\x20React\x20Layout.','graphql','warn','fsi','injectAtBeginningOfFile','dir','true','hook/hook.js','react','create','50ZMDXpM','40MSUlZj','resourceName','assign','string','/imports/ui/layouts','constructor','checkNpmPackage','getMakaProjectConfig','.js','theme','withHooks','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','includes','maka\x20g:layout\x20mobile/iPhone8','className','setTemplate','installNpmPackage','import\x20\x27./','engines','pathFromApp','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','1835772bTgWxr','test','pathFromProject','12589930iYlFAz','toString','3478696uZBKfk','split'];a131c=function(){return q;};return a131c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a131n(0x180)]({'name':'layout','aliases':aliases,'usage':a131n(0x18d),'shortDesc':a131n(0x177),'validOpts':[a131n(0x1a6)],'examples':[a131n(0x18f),'maka\x20g:l\x20web/safari']},async function(a,b){const o=a131n,c=o(0x186),d=this[o(0x17a)]['findAppDirectory'](),e=this['fsi'][o(0x195)]({'pathParts':[c,b[o(0x17c)],paramCase(b[o(0x183)]),paramCase(b[o(0x183)])]}),f=this[o(0x17a)][o(0x189)]();await this[o(0x17a)]['withValue'](f,async()=>{const p=o;typeof f[p(0x1a3)][p(0x198)]===p(0x185)&&(f['template'][p(0x198)]=f[p(0x1a3)][p(0x198)]===p(0x17d)?!![]:![],this[p(0x17a)]['setTemplate'](p(0x198),f[p(0x1a3)][p(0x198)]));typeof f[p(0x1a3)][p(0x1aa)]===p(0x185)&&(f[p(0x1a3)]['css']=f['template'][p(0x1aa)]===p(0x17d)?!![]:![],this[p(0x17a)][p(0x191)](p(0x1aa),f[p(0x1a3)]['css']));typeof f[p(0x1a3)]['js']===p(0x185)&&(f[p(0x1a3)]['js']=f[p(0x1a3)]['js']==='true'?!![]:![],this[p(0x17a)]['setTemplate']('js',f[p(0x1a3)]['js']));!f[p(0x1a7)]&&(f[p(0x1a7)]={});const g=b['_']?b['_'][0x0][p(0x19d)](':')[0x1]:![],h=b['_']&&aliases[p(0x18e)](g);h&&!this[p(0x188)](p(0x1a2))&&(Log[p(0x179)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[p(0x17a)][p(0x192)](p(0x1a2),{'cwd':d}));if(h&&!this[p(0x188)](p(0x17f))){Log[p(0x179)](p(0x196));return;}const i={'name':pascalCase(b[p(0x183)]),'myPath':a131e['relative'](this[p(0x17a)][p(0x199)]({}),e),'cssCaseName':paramCase(b[p(0x183)]),'className':pascalCase(b[p(0x183)]),'camelCaseName':camelCase(b[p(0x183)]),'fileName':paramCase(b[p(0x183)]),'graphql':f['engines'][p(0x178)],'features':f['features'],'client':f[p(0x194)]['client'],'api':f[p(0x194)][p(0x1a1)],'ssr':f[p(0x194)][p(0x1ad)],'test':f[p(0x194)][p(0x198)],'theme':f[p(0x194)][p(0x18b)],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][p(0x1ab)]};f[p(0x1a7)]?.[p(0x18c)]||b[p(0x1a6)]?await this[p(0x17a)][p(0x1a3)]({'srcPath':p(0x17e),'destPath':e+'.js','framework':p(0x17f),'context':i,'config':f}):await this[p(0x17a)]['template']({'srcPath':p(0x175),'destPath':e+p(0x18a),'framework':p(0x17f),'context':i,'config':f});f[p(0x194)][p(0x198)]!==p(0x1a0)&&await this[p(0x17a)][p(0x1a3)]({'srcPath':'test/test.js','destPath':e+p(0x1ac),'framework':p(0x17f),'context':i,'config':f});f['template'][p(0x1aa)]&&(await this[p(0x17a)][p(0x1a3)]({'srcPath':'template/template.css','destPath':e+p(0x1a4),'context':Object[p(0x184)]({},i,{'className':paramCase(b[p(0x183)])}),'config':f}),await this[p(0x17a)][p(0x17b)]({'filePath':e+'.'+f[p(0x194)]['js'],'content':p(0x193)+i['fileName']+'.'+f[p(0x194)][p(0x1aa)]+'\x27;'}));const j=b[p(0x17c)]?'/'+b[p(0x17c)]+'/':'/',k=''+c+j+i['fileName']+'/'+i[p(0x1a8)];await this[p(0x17a)]['injectTemplateModule'](i[p(0x190)],f,k);});});
@@ -1 +1 @@
1
- const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0xaa))/0x1+parseInt(f(0x9d))/0x2+-parseInt(f(0xa1))/0x3*(parseInt(f(0xac))/0x4)+-parseInt(f(0xae))/0x5*(-parseInt(f(0x9e))/0x6)+parseInt(f(0xa9))/0x7+parseInt(f(0xa5))/0x8*(parseInt(f(0xa2))/0x9)+-parseInt(f(0xaf))/0xa*(parseInt(f(0xa8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x30e68));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a['toString']()[h(0xa0)](h(0xab))[h(0xad)]()[h(0xa7)](a132a)[h(0xa0)](h(0xab));});function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x9d;let f=c[d];return f;},a132d(a,b);}a132a();import{Generator}from'../generator.js';function a132c(){const j=['111239qlcYBL','(((.+)+)+)+$','20kQTDjD','toString','25hKiRhV','305930CEPaiE','maka\x20g:template\x20todos/todo_item','maka\x20{generate,\x20g}:<generator>\x20<name>','117206YvwGNZ','212694YIVoQx','maka\x20g:scaffold\x20todos','search','184161WPwwsL','18lPorPc','maka\x20g:package\x20package:name','maka\x20g:route\x20todos/edit','920872QeASja','apply','constructor','55HMASNR','2137583MyeMhT'];a132c=function(){return j;};return a132c();}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a132i(0xb1),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':['maka\x20generate:scaffold\x20todos',a132i(0x9f),a132i(0xb0),a132i(0xa3),a132i(0xa4),'maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
1
+ const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0xd6))/0x1+parseInt(f(0xc8))/0x2*(-parseInt(f(0xca))/0x3)+-parseInt(f(0xd7))/0x4+parseInt(f(0xc9))/0x5+-parseInt(f(0xce))/0x6+-parseInt(f(0xd2))/0x7+-parseInt(f(0xd0))/0x8*(-parseInt(f(0xc6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x3cbc8));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0xc7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a['toString']()[h(0xd8)](h(0xd5))[h(0xcd)]()[h(0xcf)](a132a)[h(0xd8)]('(((.+)+)+)+$');});a132a();function a132c(){const j=['725064imwmgU','search','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:route\x20todos/edit','maka\x20g:template\x20todos/todo_item','4415967zfcUfS','apply','7960IpYxSD','2212065drLdFD','339KEbyFc','maka\x20generate:scaffold\x20todos','maka\x20g:package\x20package:name','toString','1548096hOGSVo','constructor','16CIGvyC','maka\x20g:api\x20trucks','308371cFIOcc','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:dbc\x20geoserver\x20--type=pgsql','(((.+)+)+)+$','241888eRWTGB'];a132c=function(){return j;};return a132c();}import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xc4;let f=c[d];return f;},a132d(a,b);}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a132i(0xd9),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0xd3),'examples':[a132i(0xcb),'maka\x20g:scaffold\x20todos',a132i(0xc5),a132i(0xcc),a132i(0xc4),a132i(0xd1),a132i(0xd4)]},function(){});export default MakaGen;
@@ -1 +1 @@
1
- const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0x1cb))/0x1+-parseInt(j(0x1d9))/0x2+-parseInt(j(0x1e9))/0x3*(parseInt(j(0x1e5))/0x4)+parseInt(j(0x1ea))/0x5+-parseInt(j(0x1dd))/0x6*(-parseInt(j(0x1ce))/0x7)+parseInt(j(0x1e8))/0x8*(parseInt(j(0x1d3))/0x9)+-parseInt(j(0x1c7))/0xa*(-parseInt(j(0x1d2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xa0131));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x1db)]()['search'](l(0x1c4))[l(0x1db)]()[l(0x1e4)](a133a)[l(0x1de)](l(0x1c4));});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-0x1c3;let f=c[d];return f;},a133d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a133m(0x1d1),'aliases':['m'],'usage':a133m(0x1cf),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a133m(0x1d5)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a133m;try{const c=this['fsi'][n(0x1d8)]();await this[n(0x1d4)][n(0x1d7)](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':b[o(0x1cd)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0x1cd)]),'noRename':!![]};let g='js';c['engines']['js']===o(0x1d6)&&(g='ts');await this['fsi'][o(0x1dc)]([o(0x1da),o(0x1e6),o(0x1d0)],{'shouldInstall':!![]}),await this[o(0x1d4)][o(0x1c6)]({'srcPath':'method/method.js','destPath':this[o(0x1d4)]['pathFromApp']({'pathParts':[o(0x1df),o(0x1e2),b[o(0x1ca)],o(0x1c5),b[o(0x1d5)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[o(0x1d5)]?'/'+b['dir']+'/':'/',i=this[o(0x1d4)][o(0x1e1)]({'pathParts':['imports',o(0x1e2),b[o(0x1ca)],o(0x1c3)+c[o(0x1cc)]['js']]});await this[o(0x1d4)][o(0x1e7)]({'filePath':i,'content':o(0x1c9)+h+d+o(0x1c8)});});}catch(d){Log[n(0x1e3)](d);}});function a133c(){const p=['maka\x20{generate,\x20g}:{method,\x20m}\x20name','mdg:validated-method','method','99bgOdbX','11392056wXXngS','fsi','dir','tsx','withValue','getMakaProjectConfig','108946TiSRBn','maka:check','toString','checkMeteorPackage','9888TNtbPy','search','imports','apply','pathFromApp','startup','error','constructor','197052dOgSzT','ddp-rate-limiter','injectAtEndOfFile','8JBfSMi','54zgyAvz','1818895vmuvSY','index.','(((.+)+)+)+$','methods','template','437870aaQMMj','-rpc-method\x27;','import\x20\x27./methods','appPathPrefix','601462fXEvab','engines','resourceName','742uZNhHx'];a133c=function(){return p;};return a133c();}
1
+ const a133m=a133d;function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xfe;let f=c[d];return f;},a133d(a,b);}(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0x10a))/0x1*(parseInt(j(0x119))/0x2)+-parseInt(j(0x121))/0x3*(parseInt(j(0x106))/0x4)+parseInt(j(0x11c))/0x5*(parseInt(j(0x109))/0x6)+-parseInt(j(0x10b))/0x7*(parseInt(j(0x116))/0x8)+parseInt(j(0x120))/0x9+-parseInt(j(0x10c))/0xa+parseInt(j(0x11e))/0xb*(parseInt(j(0x103))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x6d305));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0xff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x117)]()[l(0x101)](l(0x108))['toString']()['constructor'](a133a)[l(0x101)](l(0x108));});function a133c(){const p=['-rpc-method\x27;','(((.+)+)+)+$','340602FBKQtJ','76276CwEipW','7zdCPHf','8552660OFyjBA','dir','fsi','mdg:validated-method','checkMeteorPackage','pathFromApp','import\x20\x27./methods','tsx','getMakaProjectConfig','template','5340680aaBOuy','toString','maka:check','2WsdvVm','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','maka\x20g:method\x20todos','10HvTFhQ','method','11ouKYgb','maka\x20{generate,\x20g}:{method,\x20m}\x20name','1850355qYacMH','10233lRwKQD','injectAtEndOfFile','error','startup','resourceName','apply','appPathPrefix','search','-rpc-method.','26304888phLqsa','ddp-rate-limiter','imports','724NAxnyG'];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';Generator['create']({'name':a133m(0x11d),'aliases':['m'],'usage':a133m(0x11f),'checkWhere':!![],'shortDesc':a133m(0x11a),'validOpts':[a133m(0x10d)],'examples':[a133m(0x11b)]},async function(a,b){const n=a133m;try{const c=this[n(0x10e)][n(0x114)]();await this[n(0x10e)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0xfe)]),f={'name':b[o(0xfe)],'fileName':d,'className':pascalCase(b[o(0xfe)]),'camelCase':camelCase(b[o(0xfe)]),'noRename':!![]};let g='js';c['engines']['js']===o(0x113)&&(g='ts');await this[o(0x10e)][o(0x110)]([o(0x118),o(0x104),o(0x10f)],{'shouldInstall':!![]}),await this[o(0x10e)][o(0x115)]({'srcPath':'method/method.js','destPath':this['fsi'][o(0x111)]({'pathParts':[o(0x105),o(0x124),b[o(0x100)],'methods',b[o(0x10d)],d+o(0x102)+g]}),'context':f,'config':c});const h=b[o(0x10d)]?'/'+b[o(0x10d)]+'/':'/',i=this['fsi']['pathFromApp']({'pathParts':[o(0x105),o(0x124),b['appPathPrefix'],'index.'+c['engines']['js']]});await this[o(0x10e)][o(0x122)]({'filePath':i,'content':o(0x112)+h+d+o(0x107)});});}catch(d){Log[n(0x123)](d);}});
@@ -1 +1 @@
1
- const a134o=a134d;function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0xd9;let f=c[d];return f;},a134d(a,b);}(function(a,b){const l=a134d,c=a();while(!![]){try{const d=-parseInt(l(0xe6))/0x1*(parseInt(l(0xf5))/0x2)+-parseInt(l(0xe3))/0x3*(parseInt(l(0xec))/0x4)+parseInt(l(0xf6))/0x5*(parseInt(l(0xff))/0x6)+parseInt(l(0xe4))/0x7+parseInt(l(0xeb))/0x8*(parseInt(l(0xd9))/0x9)+-parseInt(l(0xde))/0xa+parseInt(l(0xf4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xb1d09));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a[n(0xe2)]()[n(0xdd)](n(0xfc))[n(0xe2)]()[n(0xef)](a134a)[n(0xdd)]('(((.+)+)+)+$');});a134a();import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a134o(0xfd)]({'name':a134o(0x104),'aliases':['p'],'usage':a134o(0xe1),'shortDesc':a134o(0xdb),'validOpts':[a134o(0xfe)],'examples':[a134o(0xf0)]},async function(a,b){const p=a134o,c=paramCase(b[p(0xf3)]),d=this[p(0xda)][p(0xe0)]({'pathParts':[p(0xee),b[p(0xfe)],c]}),e=this['fsi'][p(0xea)]({'pathParts':[p(0xee),b['dir'],c,p(0x105)]}),f=this[p(0xda)][p(0x100)]();await this[p(0xda)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0xf3)]),'myPath':a134e[q(0xe5)](this[q(0xda)]['pathFromProject']({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xf3)]),'fileName':c,'client':f[q(0x102)][q(0xdc)],'graphql':f[q(0x102)]['graphql'],'ssr':f[q(0x102)]['ssr'],'isComponent':b[q(0x103)](q(0xf9)),'isLayout':b['hasOwnProperty']('layout'),'isStore':b['hasOwnProperty'](q(0x101)),'features':f[q(0xfa)],'noRename':!![],'theme':f[q(0x102)][q(0xed)]};await this['fsi']['template']({'srcPath':q(0xf8),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+'/client/'+c+q(0xdf);await this[q(0xda)][q(0x106)]({'srcPath':q(0xe7),'destPath':h,'context':g,'config':f});const i=[q(0xf1),q(0xe9),q(0xe8),q(0xf7)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0xda)][q(0x106)]({'srcPath':q(0xf2)+j+'/package.js','destPath':k,'context':g,'config':f});}});});function a134c(){const r=['93854SCvzgZ','template/template.js','tests/client','server','pathFromAppWithNoReWrite','16rRdhuM','4nFFZtk','theme','packages','constructor','maka\x20g:package\x20todos:package','lib','package/','resourceName','5824566odmiQP','6TmDmXf','104315tnpArZ','tests/server','package/package.js','component','features','apply','(((.+)+)+)+$','create','dir','6JoKEDT','getMakaProjectConfig','store','engines','hasOwnProperty','package','package.js','template','4479579IfbEZL','fsi','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','client','search','6121370vriJDQ','.js','pathFromApp','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','toString','410658pwrWuo','1491581HEewRg','relative'];a134c=function(){return r;};return a134c();}
1
+ const a134o=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=parseInt(l(0x190))/0x1+parseInt(l(0x191))/0x2*(-parseInt(l(0x1a3))/0x3)+-parseInt(l(0x199))/0x4*(parseInt(l(0x1ab))/0x5)+-parseInt(l(0x1aa))/0x6+parseInt(l(0x196))/0x7*(-parseInt(l(0x194))/0x8)+-parseInt(l(0x195))/0x9*(-parseInt(l(0x19b))/0xa)+-parseInt(l(0x1a8))/0xb*(-parseInt(l(0x193))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xcc994));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a[n(0x18a)]()[n(0x192)](n(0x1a6))[n(0x18a)]()['constructor'](a134a)[n(0x192)](n(0x1a6));});a134a();import a134e from'path';import{Generator}from'../generator.js';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x181;let f=c[d];return f;},a134d(a,b);}function a134c(){const r=['layout','features','graphql','toString','fsi','tests/client','resourceName','create','theme','1235195UvehJT','39840wEuOPj','search','24oKWpiw','264aypoZr','54XEdnHg','202244xKQcrM','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','/package.js','4506848jnvCIn','packages','1170390VTGhDD','package','pathFromAppWithNoReWrite','package/','package/package.js','template','pathFromProject','noRename','21lSYjoP','.js','relative','(((.+)+)+)+$','server','9373991ZqvSzY','hasOwnProperty','3505002psSWhv','5fpQOJO','getMakaProjectConfig','dir','apply','engines','package.js','/client/'];a134c=function(){return r;};return a134c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a134o(0x18e)]({'name':a134o(0x19c),'aliases':['p'],'usage':a134o(0x197),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a134o(0x182)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a134o,c=paramCase(b[p(0x18d)]),d=this[p(0x18b)]['pathFromApp']({'pathParts':[p(0x19a),b[p(0x182)],c]}),e=this[p(0x18b)][p(0x19d)]({'pathParts':['packages',b[p(0x182)],c,p(0x185)]}),f=this[p(0x18b)][p(0x181)]();await this[p(0x18b)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0x18d)]),'myPath':a134e[q(0x1a5)](this[q(0x18b)][q(0x1a1)]({}),d),'cssCaseName':paramCase(b[q(0x18d)]),'className':pascalCase(b[q(0x18d)]),'camelCaseName':camelCase(b[q(0x18d)]),'fileName':c,'client':f['engines']['client'],'graphql':f['engines'][q(0x189)],'ssr':f['engines']['ssr'],'isComponent':b[q(0x1a9)]('component'),'isLayout':b[q(0x1a9)](q(0x187)),'isStore':b[q(0x1a9)]('store'),'features':f[q(0x188)],'noRename':!![],'theme':f[q(0x184)][q(0x18f)]};await this['fsi']['template']({'srcPath':q(0x19f),'destPath':e,'context':g,'config':f}),g[q(0x1a2)]=![];const h=d+q(0x186)+c+q(0x1a4);await this[q(0x18b)][q(0x1a0)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=['lib',q(0x1a7),q(0x18c),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+q(0x1a4);await this[q(0x18b)]['template']({'srcPath':q(0x19e)+j+q(0x198),'destPath':k,'context':g,'config':f});}});});