@maka/maka-cli 4.13.14 → 4.13.15

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 a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a117d(a,b);}(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x1bb))/0x1+-parseInt(l(0x1f1))/0x2*(parseInt(l(0x1f6))/0x3)+-parseInt(l(0x1ed))/0x4+parseInt(l(0x1ef))/0x5*(-parseInt(l(0x1f7))/0x6)+parseInt(l(0x1d4))/0x7+-parseInt(l(0x1c7))/0x8+parseInt(l(0x1bf))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x4a2c2));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x1f3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x1e1)]()[n(0x1ee)](n(0x1cd))[n(0x1e1)]()[n(0x1c4)](a117a)[n(0x1ee)](n(0x1cd));});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117o(0x1be)]({'name':a117o(0x1ea),'aliases':['h'],'checkWhere':![],'usage':a117o(0x1c5),'shortDesc':a117o(0x1c8),'validOpts':[{'name':a117o(0x1d0),'values':['hooks',a117o(0x1ce),a117o(0x1eb),a117o(0x1db)]},{'name':a117o(0x1e3),'boolFlag':!![]}],'examples':[a117o(0x1f4)],'description':a117o(0x1d1)},async function(a,b){const p=a117o;Log[p(0x1bd)]('Creating\x20'+b[p(0x1d6)]+p(0x1f5));try{const c=this[p(0x1dc)][p(0x1f0)](p(0x1e7));if(!c){Log[p(0x1cf)](p(0x1cb));throw new UsageError();}const d=this[p(0x1dc)]['findAppDirectory'](),f=b[p(0x1d0)]?'/imports/ui/'+b['baseDir']:p(0x1e9),g=this[p(0x1dc)]['pathFromApp']({'pathParts':[f,b[p(0x1e0)],paramCase(b[p(0x1d6)]),paramCase(b[p(0x1d6)])]}),h=await this[p(0x1dc)]['getMakaProjectConfig']();await this[p(0x1dc)][p(0x1cc)](h,async()=>{const q=p;typeof h[q(0x1ca)]['css']==='string'&&(h['template'][q(0x1d8)]=h[q(0x1ca)]['css']==='true'?!![]:![],this[q(0x1dc)][q(0x1c3)]('css',h[q(0x1ca)][q(0x1d8)]));h['engines'][q(0x1c9)]===q(0x1f2)&&!this[q(0x1dc)][q(0x1f0)](q(0x1d9))&&(Log[q(0x1e8)](q(0x1b9)),await this[q(0x1dc)][q(0x1d5)](q(0x1c0),{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[q(0x1d6)]),'name':pascalCase(b[q(0x1d6)]),'graphql':h[q(0x1e5)][q(0x1c9)],'theme':h[q(0x1e5)][q(0x1e2)],'features':h['features'],'myPath':a117e[q(0x1df)](this[q(0x1dc)]['pathFromProject']({}),g),'fileName':paramCase(b[q(0x1d6)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x1de)]['withTranslations']};await this[q(0x1dc)][q(0x1ca)]({'srcPath':q(0x1d2),'destPath':g+q(0x1e4),'context':i,'config':h,'framework':q(0x1e7),'force':b[q(0x1e3)]});h[q(0x1ca)][q(0x1d8)]&&(await this[q(0x1dc)][q(0x1ca)]({'srcPath':q(0x1c1),'destPath':g+q(0x1ec),'context':Object[q(0x1b8)]({},i,{'className':i[q(0x1da)]}),'config':h,'force':b[q(0x1e3)]}),await this[q(0x1dc)][q(0x1e6)]({'filePath':g+'.'+h[q(0x1e5)]['js'],'content':q(0x1d3)+i[q(0x1c6)]+'.'+h[q(0x1e5)][q(0x1d8)]+'\x27;'}));h['engines']['test']!==q(0x1dd)&&await this[q(0x1dc)]['template']({'srcPath':q(0x1ba),'destPath':g+q(0x1c2),'framework':q(0x1e7),'context':i,'config':h,'force':b['force']});const j=b[q(0x1e0)]?'/'+b['dir']+'/':'/',k=''+f+j+i[q(0x1c6)]+'/'+i['fileName'];await this[q(0x1dc)][q(0x1d7)](i[q(0x1bc)],h,k);});}catch(i){Log[p(0x1cf)](i);}});function a117c(){const r=['@apollo/client','cssCaseName','layouts','fsi','none','features','relative','dir','toString','theme','force','.js','engines','injectAtBeginningOfFile','react','warn','/imports/ui/components','hook','pages','.css','1487232ZBbQEW','search','17505kLXFxg','checkNpmPackage','860278byNjeF','apollo','apply','maka\x20g:hook\x20cool-hook','\x20hook...','3ZclVNJ','846hdMffQ','assign','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','test/test.js','257012GkaOBv','className','notice','create','17578359FqLvRL','@apollo/client\x20isomorphic-fetch','template/template.css','.app-tests.js','setTemplate','constructor','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','fileName','1390448ifAFCh','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','graphql','template','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','withValue','(((.+)+)+)+$','components','error','baseDir','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','hook/hook.js','import\x20\x27./','539455eRoYbV','installNpmPackage','resourceName','injectTemplateModule','css'];a117c=function(){return r;};return a117c();}
1
+ const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0xeb))/0x1+parseInt(l(0xec))/0x2+parseInt(l(0xd9))/0x3*(parseInt(l(0xf9))/0x4)+-parseInt(l(0xe5))/0x5+-parseInt(l(0xe3))/0x6*(parseInt(l(0xc5))/0x7)+parseInt(l(0xf7))/0x8*(parseInt(l(0xf6))/0x9)+parseInt(l(0xcb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x85d83));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a['toString']()[n(0xf8)](n(0xc9))['toString']()[n(0xe8)](a117a)[n(0xf8)]('(((.+)+)+)+$');});a117a();import a117e from'path';function a117c(){const r=['fileName','layouts','injectAtBeginningOfFile','.css','theme','relative','force','7509519lxkotA','8iCAabZ','search','24jJdpaz','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','string','/imports/ui/components','className','baseDir','create','7WGLWAq','.js','fsi','notice','(((.+)+)+)+$','warn','8787020BuTkds','template','resourceName','withTranslations','Creating\x20','.app-tests.js','engines','components','graphql','test/test.js','template/template.css','import\x20\x27./','test','cssCaseName','66678lweVHj','injectTemplateModule','findAppDirectory','pathFromProject','css','apollo','\x20hook...','hook/hook.js','hooks','withValue','1590234FSzBzQ','react','5408000adpIdk','checkNpmPackage','error','constructor','@apollo/client\x20isomorphic-fetch','apply','315754bqAfab','728342egCAxm','true','dir'];a117c=function(){return r;};return a117c();}function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xc1;let f=c[d];return f;},a117d(a,b);}import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117o(0xc4)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':a117o(0xc3),'values':[a117o(0xe1),a117o(0xd2),'pages',a117o(0xf0)]},{'name':'force','boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const p=a117o;Log[p(0xc8)](p(0xcf)+b[p(0xcd)]+p(0xdf));try{const c=this[p(0xc7)][p(0xe6)](p(0xe4));if(!c){Log[p(0xe7)](p(0xfa));throw new UsageError();}const d=this['fsi'][p(0xdb)](),f=b[p(0xc3)]?'/imports/ui/'+b[p(0xc3)]:p(0xc1),g=this['fsi']['pathFromApp']({'pathParts':[f,b[p(0xee)],paramCase(b[p(0xcd)]),paramCase(b['resourceName'])]}),h=await this['fsi']['getMakaProjectConfig']();await this[p(0xc7)][p(0xe2)](h,async()=>{const q=p;typeof h[q(0xcc)][q(0xdd)]===q(0xfb)&&(h[q(0xcc)]['css']=h['template'][q(0xdd)]===q(0xed)?!![]:![],this[q(0xc7)]['setTemplate'](q(0xdd),h[q(0xcc)][q(0xdd)]));h[q(0xd1)]['graphql']===q(0xde)&&!this[q(0xc7)][q(0xe6)]('@apollo/client')&&(Log[q(0xca)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[q(0xc7)]['installNpmPackage'](q(0xe9),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0xcd)]),'camelCaseName':camelCase(b[q(0xcd)]),'className':pascalCase(b[q(0xcd)]),'name':pascalCase(b[q(0xcd)]),'graphql':h[q(0xd1)][q(0xd3)],'theme':h['engines'][q(0xf3)],'features':h['features'],'myPath':a117e[q(0xf4)](this[q(0xc7)][q(0xdc)]({}),g),'fileName':paramCase(b[q(0xcd)]),'isComponent':![],'isLayout':![],'withTranslations':h['features'][q(0xce)]};await this['fsi'][q(0xcc)]({'srcPath':q(0xe0),'destPath':g+q(0xc6),'context':i,'config':h,'framework':q(0xe4),'force':b[q(0xf5)]});h[q(0xcc)][q(0xdd)]&&(await this[q(0xc7)][q(0xcc)]({'srcPath':q(0xd5),'destPath':g+q(0xf2),'context':Object['assign']({},i,{'className':i[q(0xd8)]}),'config':h,'force':b[q(0xf5)]}),await this[q(0xc7)][q(0xf1)]({'filePath':g+'.'+h[q(0xd1)]['js'],'content':q(0xd6)+i['fileName']+'.'+h[q(0xd1)][q(0xdd)]+'\x27;'}));h['engines'][q(0xd7)]!=='none'&&await this[q(0xc7)]['template']({'srcPath':q(0xd4),'destPath':g+q(0xd0),'framework':q(0xe4),'context':i,'config':h,'force':b[q(0xf5)]});const j=b[q(0xee)]?'/'+b[q(0xee)]+'/':'/',k=''+f+j+i[q(0xef)]+'/'+i['fileName'];await this[q(0xc7)][q(0xda)](i[q(0xc2)],h,k);});}catch(i){Log[p(0xe7)](i);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x107))/0x1+-parseInt(f(0x100))/0x2+-parseInt(f(0xfa))/0x3+parseInt(f(0xfc))/0x4*(-parseInt(f(0x103))/0x5)+parseInt(f(0x101))/0x6*(-parseInt(f(0xf9))/0x7)+-parseInt(f(0x102))/0x8*(-parseInt(f(0xfe))/0x9)+parseInt(f(0x104))/0xa*(parseInt(f(0xff))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x1febc));function a118c(){var i=['680991rpdUjL','toString','2012bxGTkZ','(((.+)+)+)+$','9fagIoz','1794661afLSTm','49966HKCDGU','399174HkPoQu','372824oYHFQn','415okpfZE','30aFpSrf','search','apply','88008JaUBcG','21cmgliN'];a118c=function(){return i;};return a118c();}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xfb)]()[h(0x105)](h(0xfd))[h(0xfb)]()['constructor'](a118a)[h(0x105)](h(0xfd));});a118a();import'./kit.js';import'./mui/_index.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xf9;var f=c[d];return f;},a118d(a,b);}import'./esri/_index.js';import'./auth/_index.js';
1
+ (function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x1e6))/0x1+parseInt(f(0x1ed))/0x2+parseInt(f(0x1ea))/0x3*(-parseInt(f(0x1e5))/0x4)+-parseInt(f(0x1e3))/0x5*(parseInt(f(0x1ef))/0x6)+parseInt(f(0x1e1))/0x7+-parseInt(f(0x1e7))/0x8+-parseInt(f(0x1eb))/0x9*(parseInt(f(0x1ec))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x82648));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1e4)]()[h(0x1e8)](h(0x1e2))[h(0x1e4)]()[h(0x1ee)](a118a)[h(0x1e8)](h(0x1e2));});function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1e1;var f=c[d];return f;},a118d(a,b);}a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a118c(){var i=['189shhBUn','70430ZvFPAu','1543432WLQHeF','constructor','258CrqRQD','6131818sSvayK','(((.+)+)+)+$','60910IKQKxA','toString','2442772TZkMqu','756991iyfwbC','4705368QbJIXu','search','apply','3TwTkRj'];a118c=function(){return i;};return a118c();}import'./auth/_index.js';
@@ -1 +1 @@
1
- (function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0x142))/0x1+-parseInt(f(0x136))/0x2*(parseInt(f(0x13b))/0x3)+-parseInt(f(0x13c))/0x4+parseInt(f(0x13f))/0x5*(parseInt(f(0x143))/0x6)+parseInt(f(0x141))/0x7+-parseInt(f(0x140))/0x8*(parseInt(f(0x137))/0x9)+parseInt(f(0x13d))/0xa*(parseInt(f(0x144))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xa2466));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var g=a119d;return a119a[g(0x138)]()['search'](g(0x13a))[g(0x138)]()[g(0x13e)](a119a)[g(0x139)]('(((.+)+)+)+$');});function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x136;var f=c[d];return f;},a119d(a,b);}a119a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a119c(){var h=['15aIyiID','5355128fCjzVv','1387743AplDyi','7996MoLxAN','1849044oLtpOq','618277MWAsLf','6896CvLBQe','9VLWQZV','toString','search','(((.+)+)+)+$','15FZDtuZ','2715080kFpxvZ','160BWhqBA','constructor'];a119c=function(){return h;};return a119c();}
1
+ (function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x1d1))/0x1*(parseInt(f(0x1d3))/0x2)+-parseInt(f(0x1d4))/0x3+-parseInt(f(0x1cd))/0x4*(-parseInt(f(0x1cb))/0x5)+-parseInt(f(0x1cc))/0x6*(-parseInt(f(0x1c4))/0x7)+-parseInt(f(0x1d2))/0x8*(parseInt(f(0x1ca))/0x9)+parseInt(f(0x1cf))/0xa*(parseInt(f(0x1d0))/0xb)+parseInt(f(0x1c6))/0xc*(parseInt(f(0x1c8))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xdbb33));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x1d5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x1ce)]()[h(0x1c5)](h(0x1c9))[h(0x1ce)]()[h(0x1c7)](a119a)[h(0x1c5)]('(((.+)+)+)+$');});a119a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x1c4;var f=c[d];return f;},a119d(a,b);}function a119c(){var i=['98417awNFSP','739913yuEpAC','2645488gluZlC','2gpsIrT','3965565ZBocOI','apply','14qmtWXs','search','12KCMbKp','constructor','780156aKZJGM','(((.+)+)+)+$','9uNSdKQ','712235TgtrHy','3876732unwZIq','8xcfGdE','toString','1850LRxdcL'];a119c=function(){return i;};return a119c();}
@@ -1 +1 @@
1
- const a120i=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a120d(a,b);}(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0x1d2))/0x1+parseInt(f(0x1d1))/0x2*(parseInt(f(0x1cb))/0x3)+parseInt(f(0x1cf))/0x4*(parseInt(f(0x1c3))/0x5)+parseInt(f(0x1ce))/0x6*(-parseInt(f(0x1d5))/0x7)+-parseInt(f(0x1c7))/0x8+-parseInt(f(0x1cc))/0x9*(parseInt(f(0x1d8))/0xa)+parseInt(f(0x1cd))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x29223));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0x1c2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0x1c4)]()[h(0x1ca)](h(0x1c6))[h(0x1c4)]()[h(0x1d6)](a120a)['search']('(((.+)+)+)+$');});a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator[a120i(0x1d7)]({'name':a120i(0x1c8),'aliases':['a'],'usage':a120i(0x1d3),'noNeedResource':!![],'shortDesc':a120i(0x1c9),'validOpts':[''],'isPro':!![],'examples':[a120i(0x1d0)],'description':a120i(0x1d4)},async function(){const j=a120i;throw j(0x1c5);},async function(){},a120e);export default AuthGen;function a120c(){const k=['(((.+)+)+)+$','1555680fcmYMb','auth','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','search','89277AyrIoP','9uUDzqj','8200819wtAybT','66zyfgiH','1138316XbMrxT','maka\x20g:kit:a','2BfupKs','274590cmteBS','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','122738SyaVtM','constructor','create','2294600sMOETG','apply','5hJCNNO','toString','NIE'];a120c=function(){return k;};return a120c();}
1
+ function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x18c;let f=c[d];return f;},a120d(a,b);}const a120h=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=parseInt(f(0x196))/0x1*(-parseInt(f(0x193))/0x2)+-parseInt(f(0x197))/0x3+-parseInt(f(0x19d))/0x4+-parseInt(f(0x191))/0x5+parseInt(f(0x194))/0x6+-parseInt(f(0x198))/0x7+parseInt(f(0x19b))/0x8*(parseInt(f(0x19e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x75763));function a120c(){const j=['\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','auth','27824312AutjVP','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','2814000qAKSca','9Oryaaz','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','create','(((.+)+)+)+$','NIE','constructor','3129035kUScOT','search','772VrWqEc','455298nKgHYc','maka\x20g:kit:a','653peDjWn','1617168GbNXTE','6666646inufsv'];a120c=function(){return j;};return a120c();}const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const g=a120d;return a120a['toString']()[g(0x192)]('(((.+)+)+)+$')['toString']()[g(0x190)](a120a)[g(0x192)](g(0x18e));});a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator[a120h(0x18d)]({'name':a120h(0x19a),'aliases':['a'],'usage':a120h(0x18c),'noNeedResource':!![],'shortDesc':a120h(0x19c),'validOpts':[''],'isPro':!![],'examples':[a120h(0x195)],'description':a120h(0x199)},async function(){const i=a120h;throw i(0x18f);},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(0xf5))/0x1*(-parseInt(o(0x116))/0x2)+parseInt(o(0xfb))/0x3+parseInt(o(0xf3))/0x4*(parseInt(o(0x122))/0x5)+-parseInt(o(0x12d))/0x6+parseInt(o(0x11a))/0x7*(parseInt(o(0x11e))/0x8)+parseInt(o(0x119))/0x9*(-parseInt(o(0xf4))/0xa)+-parseInt(o(0xfe))/0xb*(-parseInt(o(0x11c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xe9497));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x124)]()[q(0xf8)](q(0xff))['toString']()[q(0x104)](a121a)[q(0xf8)](q(0xff));});a121a();import{Generator}from'../../../generator.js';function a121c(){const u=['react','REACT','/imports/startup/client/authentication-service','return\x20\x5c(','index','force','const\x20resetPasswordWithToken','1006170fNyxce','const\x20authenticateUser','.js','processAndRunGenerator','checkMeteorPackage','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','const\x20deauthenticateUser','548LFpFfB','1071740Obosji','167txnEXo','startup','injectIntoFile','search','error','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','5063184OOCbFo','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','AuthService','65890aFtgWF','(((.+)+)+)+$','auth/roles','engines','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','findProjectDirectory','constructor','Accounts','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','kit/auth/service/meteor-auth-service.js','meteor/meteor','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','apply','accounts-password','create','meteor/accounts-base','injectIntoCodeBlock','imports','publish','server','kit:auth:provider','const\x20authenticateToken','/imports/startup/lib','13466iXaMYj','const\x20sendForgotPasswordEmail','pathFromApp','117yPnQAW','73374KSSyRn','authentication-service','2472dyTACu','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','328LtzHqU','meteor/maka:react-tracker','Meteor.startup','fsi','10565oTqWRR','/imports/startup/lib/authentication-service','toString','injectImport'];a121c=function(){return u;};return a121c();}import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xee;let f=c[d];return f;},a121d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x10d)]({'name':'meteor','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a121r(0x11d),'validOpts':[a121r(0x12b)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x127)]},'description':a121r(0x10a)},async function(a,b){const s=a121r;try{const c=b[s(0x12b)]||![];await this['fsi'][s(0xf0)]([s(0x10c),'alanning:roles'],{'shouldInstall':!![]});const d=this[s(0x121)][s(0x103)](),f=this[s(0x121)]['getMakaProjectConfig'](),g=f[s(0x101)]['ssr']==='true';await a121f['processAndRunGenerator'](s(0x113),[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0xef)](s(0x111),[s(0x100)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x115):'/imports/startup/client',j=this[s(0x121)][s(0x118)]({'pathParts':[i,'','',s(0x11b)]});await this[s(0x121)]['withValue'](f,async()=>{const t=s;await this[t(0x121)]['template']({'srcPath':t(0x108),'destPath':j+t(0xee),'framework':t(0x126),'context':{},'config':f,'force':c,'ignore':![]});});const k=this['fsi'][s(0x118)]({'pathParts':[i,'','','authentication-provider']}),l=f[s(0x101)]['js'];await this[s(0x121)][s(0x125)]({'filePath':k+'.'+l,'importName':s(0xfd),'modulePath':g?s(0x123):s(0x128),'isNamedExport':![]}),await this['fsi'][s(0x10f)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x12e),'replace':!![]}),await this['fsi'][s(0x10f)]({'filePath':k+'.'+l,'content':s(0xf1),'begin':s(0x114),'replace':!![]}),await this[s(0x121)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x106),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x121)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xf2),'replace':!![]}),await this[s(0x121)][s(0x10f)]({'filePath':k+'.'+l,'content':s(0x107),'begin':s(0x117),'replace':!![]}),await this['fsi'][s(0x10f)]({'filePath':k+'.'+l,'content':s(0x102),'begin':'const\x20registerNewUser','replace':!![]}),await this[s(0x121)][s(0x10f)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x12c),'replace':!![]});g&&(await this[s(0x121)][s(0x125)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0x11f),'isNamedExport':!![]}),await this[s(0x121)][s(0xf7)]({'filePath':k+'.'+l,'content':s(0xfa),'begin':'export\x20const\x20AuthProvider','end':s(0x129)}));await this[s(0x121)][s(0x125)]({'filePath':h,'importName':'Meteor','modulePath':s(0x109),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x121)][s(0x10f)]({'filePath':h,'content':s(0xfc),'begin':'Meteor.publish','replace':!![]});const m=this['fsi']['pathFromApp']({'pathParts':[s(0x110),s(0xf6),s(0x112),s(0x12a)]});await this[s(0x121)][s(0x125)]({'filePath':m+'.'+l,'importName':s(0x105),'modulePath':s(0x10e),'isNamedExport':!![]}),await this[s(0x121)]['injectIntoCodeBlock']({'filePath':m+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x120),'replace':!![]});}catch(n){Log[s(0xf9)](n),process['exit'](0x1);}},async function(){},a121e);
1
+ const a121r=a121d;function a121c(){const u=['AuthService','143094epSIZE','1078740LPsdBi','const\x20getUserAuthorizations','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','injectIntoCodeBlock','/imports/startup/client','auth/roles','meteor/accounts-base','alanning:roles','authentication-service','1649440NzmVOE','findProjectDirectory','processAndRunGenerator','3983817vBZwnB','toString','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','42oMujRV','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\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','14fBusIL','meteor/maka:react-tracker','const\x20authenticateUser','const\x20resetPasswordWithToken','force','imports','meteor','Meteor','fsi','react','\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','4859667qXWYlm','pathFromApp','155292nDqKqd','true','withValue','accounts-password','startup','template','/imports/startup/client/authentication-service','constructor','const\x20deauthenticateUser','injectImport','4zxZiBU','2810585ANpfrq','apply','engines','/imports/startup/lib','search','REACT','authentication-provider','8qnSebK','/imports/startup/lib/authentication-service','Meteor.startup','publish','(((.+)+)+)+$','\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','checkMeteorPackage','const\x20sendForgotPasswordEmail','create','index','error','getMakaProjectConfig','1837hnJVaC','.js'];a121c=function(){return u;};return a121c();}(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0x98))/0x1*(-parseInt(o(0xac))/0x2)+parseInt(o(0xa6))/0x3*(-parseInt(o(0xc3))/0x4)+-parseInt(o(0xc4))/0x5+parseInt(o(0x99))/0x6*(parseInt(o(0xa9))/0x7)+-parseInt(o(0xcb))/0x8*(-parseInt(o(0xb7))/0x9)+-parseInt(o(0xa3))/0xa+parseInt(o(0xd7))/0xb*(parseInt(o(0xb9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xb08f8));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0xa7)]()[q(0xc8)](q(0xcf))[q(0xa7)]()[q(0xc0)](a121a)['search'](q(0xcf));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x98;let f=c[d];return f;},a121d(a,b);}import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0xd3)]({'name':a121r(0xb2),'aliases':['m'],'usage':a121r(0x9b),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a121r(0xb0)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0xc9)]},'description':a121r(0xb6)},async function(a,b){const s=a121r;try{const c=b['force']||![];await this[s(0xb4)][s(0xd1)]([s(0xbc),s(0xa1)],{'shouldInstall':!![]});const d=this[s(0xb4)][s(0xa4)](),f=this[s(0xb4)][s(0xd6)](),g=f[s(0xc6)]['ssr']===s(0xba);await a121f[s(0xa5)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0xa5)](s(0xce),[s(0x9f)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0xc7):s(0x9e),j=this[s(0xb4)]['pathFromApp']({'pathParts':[i,'','',s(0xa2)]});await this[s(0xb4)][s(0xbb)](f,async()=>{const t=s;await this[t(0xb4)][t(0xbe)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0xd8),'framework':t(0xb5),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0xb4)][s(0xb8)]({'pathParts':[i,'','',s(0xca)]}),l=f[s(0xc6)]['js'];await this[s(0xb4)][s(0xc2)]({'filePath':k+'.'+l,'importName':s(0xd9),'modulePath':g?s(0xcc):s(0xbf),'isNamedExport':![]}),await this[s(0xb4)][s(0x9d)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xae),'replace':!![]}),await this[s(0xb4)][s(0x9d)]({'filePath':k+'.'+l,'content':'\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','begin':'const\x20authenticateToken','replace':!![]}),await this[s(0xb4)][s(0x9d)]({'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':s(0x9a),'replace':!![]}),await this[s(0xb4)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x9c),'begin':s(0xc1),'replace':!![]}),await this['fsi'][s(0x9d)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xd2),'replace':!![]}),await this[s(0xb4)][s(0x9d)]({'filePath':k+'.'+l,'content':s(0xa8),'begin':'const\x20registerNewUser','replace':!![]}),await this[s(0xb4)][s(0x9d)]({'filePath':k+'.'+l,'content':s(0xaa),'begin':s(0xaf),'replace':!![]});g&&(await this[s(0xb4)][s(0xc2)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0xad),'isNamedExport':!![]}),await this[s(0xb4)]['injectIntoFile']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':'export\x20const\x20AuthProvider','end':'return\x20\x5c('}));await this[s(0xb4)][s(0xc2)]({'filePath':h,'importName':s(0xb3),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this[s(0xb4)][s(0x9d)]({'filePath':h,'content':s(0xd0),'begin':'Meteor.publish','replace':!![]});const m=this[s(0xb4)][s(0xb8)]({'pathParts':[s(0xb1),s(0xbd),'server',s(0xd4)]});await this[s(0xb4)]['injectImport']({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0xa0),'isNamedExport':!![]}),await this[s(0xb4)][s(0x9d)]({'filePath':m+'.'+l,'content':s(0xab),'begin':s(0xcd),'replace':!![]});}catch(n){Log[s(0xd5)](n),process['exit'](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- const a122x=a122d;function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xf3;let f=c[d];return f;},a122d(a,b);}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0x117))/0x1*(-parseInt(u(0x106))/0x2)+-parseInt(u(0x120))/0x3*(-parseInt(u(0x11d))/0x4)+-parseInt(u(0x128))/0x5+-parseInt(u(0x126))/0x6*(-parseInt(u(0x121))/0x7)+-parseInt(u(0x11b))/0x8*(-parseInt(u(0x125))/0x9)+parseInt(u(0x12a))/0xa*(parseInt(u(0xf9))/0xb)+-parseInt(u(0xf7))/0xc*(parseInt(u(0xfa))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x738a0));function a122c(){const A=['/imports/startup/lib/authentication-provider','toString','getMakaProjectConfig','fsi','withValue','replaceAll','/imports/startup/client/authentication-provider','1432092rTmivN','split','7255545pGgQJy','39ZyzRrm','create','apply','kit/auth/provider/authentication-provider.js','bright','appName','<Routes\x20history={history}/>','/routes','template','authentication-provider','exit','useContext','11334gfeXwj','engines','AuthProvider','function\x20Routes','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','.js','injectAroundString','ssr','AuthContext','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','react','/imports/startup/server/index','force','/imports/startup/client','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','injectImport','search','143pkZaMN','<AuthProvider>','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','const\x20Routes','27704BZYLln','<Routes\x20history={browserHistory}/>','4QXVojt','pathFromApp','</AuthProvider>','1192185sWjGUb','67039yGzENI','true','(((.+)+)+)+$','/imports/startup/client/index','396RovxEP','498mBPJcb','error','1813005ZwCXEq','injectIntoCodeBlock','10GDdqZX'];a122c=function(){return A;};return a122c();}const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0x12c)]()[w(0x116)](w(0x123))[w(0x12c)]()['constructor'](a122a)[w(0x116)]('(((.+)+)+)+$');});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122x(0xfb)]({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a122x(0x10f),'validOpts':[a122x(0x112)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a122x(0x114)},async function(a,b){const y=a122x;try{const c=b[y(0x112)]||![];Log[y(0xfe)](y(0x119));const d=this[y(0xf3)][y(0x12d)](),f=d[y(0x107)][y(0x10d)]===y(0x122),g={'name':headerCase(d[y(0xff)])[y(0xf5)]('-','\x20')},h=f?'/imports/startup/lib':y(0x113),i=this[y(0xf3)][y(0x11e)]({'pathParts':[h,'','',y(0x103)]});await this[y(0xf3)][y(0xf4)](d,async()=>{const z=y;await this[z(0xf3)][z(0x102)]({'srcPath':z(0xfd),'destPath':i+z(0x10b),'framework':z(0x110),'context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+y(0x101),l=k['split']('/'),m=this[y(0xf3)][y(0x11e)]({'pathParts':l});await this['fsi'][y(0x115)]({'filePath':m+'.'+j,'importName':y(0x10e),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0xf6),'isNamedExport':!![]}),await this[y(0xf3)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x105),'modulePath':y(0x110),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][y(0x129)]({'filePath':m+'.'+j,'content':y(0x10a),'begin':[y(0x11a),y(0x109)],'replace':!![]});const n=y(0x124),o=n[y(0xf8)]('/'),p=this[y(0xf3)]['pathFromApp']({'pathParts':o});await this[y(0xf3)][y(0x115)]({'filePath':p+'.'+j,'importName':y(0x108),'modulePath':f?y(0x12b):y(0xf6),'isNamedExport':!![]}),await this[y(0xf3)][y(0x10c)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x11f),'targetString':y(0x11c),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x111),r=q[y(0xf8)]('/'),s=this['fsi'][y(0x11e)]({'pathParts':r});await this[y(0xf3)][y(0x115)]({'filePath':s+'.'+j,'importName':y(0x108),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0xf6),'isNamedExport':!![]}),await this[y(0xf3)][y(0x10c)]({'filePath':s+'.'+j,'aboveContent':y(0x118),'belowContent':'</AuthProvider>','targetString':y(0x100),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x127)](t),process[y(0x104)](0x1);}},async function(){},a122e);
1
+ function a122c(){const A=['pathFromApp','split','force','template','authentication-provider','withValue','react','replaceAll','\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','</AuthProvider>','getMakaProjectConfig','14526bfkLcf','39327882rMIbKf','72166sYfCwG','14KHFYlP','injectIntoCodeBlock','11yVTrEw','function\x20Routes','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','/imports/startup/client/authentication-provider','/imports/startup/server/index','injectImport','.js','/imports/startup/lib/authentication-provider','kit/auth/provider/authentication-provider.js','constructor','12ySNxYd','AuthContext','2052132XHkamT','engines','(((.+)+)+)+$','toString','111369YaUMjo','AuthProvider','error','ssr','appName','useContext','1000850BdEEoZ','provider','<Routes\x20history={history}/>','/routes','<AuthProvider>','7609105HSTPHN','\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','7624HbRgvS','/imports/startup/lib','<Routes\x20history={browserHistory}/>','/imports/startup/client','search','apply','injectAroundString','fsi'];a122c=function(){return A;};return a122c();}const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0xf7))/0x1*(-parseInt(u(0xf4))/0x2)+-parseInt(u(0x107))/0x3*(parseInt(u(0x101))/0x4)+-parseInt(u(0x112))/0x5+parseInt(u(0x103))/0x6*(parseInt(u(0xf5))/0x7)+parseInt(u(0x114))/0x8*(-parseInt(u(0xf2))/0x9)+parseInt(u(0x10d))/0xa+parseInt(u(0xf3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xc126a));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x119)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a['toString']()['search'](w(0x105))[w(0x106)]()[w(0x100)](a122a)[w(0x118)](w(0x105));});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-0xed;let f=c[d];return f;},a122d(a,b);}Generator['create']({'name':a122x(0x10e),'aliases':['p'],'usage':a122x(0xf9),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a122x(0x11e)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a122x(0xef)},async function(a,b){const y=a122x;try{const c=b[y(0x11e)]||![];Log['bright']('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[y(0x11b)][y(0xf1)](),f=d['engines'][y(0x10a)]==='true',g={'name':headerCase(d[y(0x10b)])[y(0xee)]('-','\x20')},h=f?y(0x115):y(0x117),i=this[y(0x11b)][y(0x11c)]({'pathParts':[h,'','',y(0x120)]});await this[y(0x11b)][y(0x121)](d,async()=>{const z=y;await this['fsi'][z(0x11f)]({'srcPath':z(0xff),'destPath':i+z(0xfd),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x104)]['js'],k=h+y(0x110),l=k[y(0x11d)]('/'),m=this[y(0x11b)][y(0x11c)]({'pathParts':l});await this[y(0x11b)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x102),'modulePath':f?y(0xfe):y(0xfa),'isNamedExport':!![]}),await this[y(0x11b)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x10c),'modulePath':y(0xed),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x11b)][y(0xf6)]({'filePath':m+'.'+j,'content':y(0x113),'begin':['const\x20Routes',y(0xf8)],'replace':!![]});const n='/imports/startup/client/index',o=n[y(0x11d)]('/'),p=this[y(0x11b)][y(0x11c)]({'pathParts':o});await this[y(0x11b)][y(0xfc)]({'filePath':p+'.'+j,'importName':y(0x108),'modulePath':f?y(0xfe):y(0xfa),'isNamedExport':!![]}),await this['fsi']['injectAroundString']({'filePath':p+'.'+j,'aboveContent':y(0x111),'belowContent':y(0xf0),'targetString':y(0x116),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0xfb),r=q['split']('/'),s=this[y(0x11b)][y(0x11c)]({'pathParts':r});await this[y(0x11b)][y(0xfc)]({'filePath':s+'.'+j,'importName':y(0x108),'modulePath':f?y(0xfe):y(0xfa),'isNamedExport':!![]}),await this['fsi'][y(0x11a)]({'filePath':s+'.'+j,'aboveContent':y(0x111),'belowContent':y(0xf0),'targetString':y(0x10f),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x109)](t),process['exit'](0x1);}},async function(){},a122e);
@@ -1 +1 @@
1
- (function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0x175))/0x1*(parseInt(f(0x16f))/0x2)+-parseInt(f(0x174))/0x3+-parseInt(f(0x173))/0x4+parseInt(f(0x179))/0x5*(parseInt(f(0x17b))/0x6)+-parseInt(f(0x171))/0x7+parseInt(f(0x16e))/0x8+-parseInt(f(0x177))/0x9*(-parseInt(f(0x17a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xb2770));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0x170)]()[h(0x178)](h(0x172))['toString']()['constructor'](a123a)[h(0x178)]('(((.+)+)+)+$');});function a123c(){var i=['1795129iPxvYh','(((.+)+)+)+$','1886460hJhHcK','3035289sJnyPI','3bgTgMf','apply','9bVLtvD','search','3802615eYFTlX','2693130VHhblM','6ZKwCpE','3580296yoAGdQ','662296KbJVnc','toString'];a123c=function(){return i;};return a123c();}function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x16e;var f=c[d];return f;},a123d(a,b);}a123a();import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0xb4))/0x1+parseInt(f(0xba))/0x2+parseInt(f(0xb8))/0x3+parseInt(f(0xbd))/0x4+parseInt(f(0xb6))/0x5*(parseInt(f(0xb5))/0x6)+parseInt(f(0xb7))/0x7*(-parseInt(f(0xbc))/0x8)+-parseInt(f(0xc1))/0x9*(-parseInt(f(0xb3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x954e8));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0xb9)]()[h(0xbf)](h(0xc0))['toString']()[h(0xbb)](a123a)[h(0xbf)](h(0xc0));});function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0xb3;var f=c[d];return f;},a123d(a,b);}a123a();import'./esri.generator.js';function a123c(){var i=['toString','664886zitcbn','constructor','16PRmRia','3746812tbxLFo','apply','search','(((.+)+)+)+$','9279JxmxEX','8390ihAaQO','1050094PndnCQ','1506uRpiEN','3410ducXhG','3117135qUslYQ','740781hRpptq'];a123c=function(){return i;};return a123c();}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(0xfc))/0x1+-parseInt(f(0xfe))/0x2*(parseInt(f(0xf9))/0x3)+-parseInt(f(0xf5))/0x4+parseInt(f(0x100))/0x5+parseInt(f(0x103))/0x6+parseInt(f(0xfd))/0x7*(-parseInt(f(0x105))/0x8)+parseInt(f(0x104))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x48228));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a['toString']()['search'](h(0xfb))[h(0xf6)]()[h(0x106)](a124a)[h(0xf7)]('(((.+)+)+)+$');});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0xf4)]({'name':'esri','aliases':['e'],'usage':a124i(0xf3),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a124i(0xfa)},async function(){const j=a124i;return{'success':!![],'message':j(0xf8),'details':{'filesCreated':[j(0xff)],'filesUpdated':[j(0x102)]}};},async function(){},a124e);function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xf3;let f=c[d];return f;},a124d(a,b);}function a124c(){const k=['280964HStiYX','/foo/bar','148260gwQXBs','apply','/foo','2801076sTywTm','3674412oKVKAK','1298488AgPQcj','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','create','211856MaWcre','toString','search','Esri\x20Kit\x20generated\x20successfully','6bWmfvR','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','(((.+)+)+)+$','211559zPvRlV','21lGTXUv'];a124c=function(){return k;};return a124c();}export default EsriGen;
1
+ function a124c(){const k=['(((.+)+)+)+$','4629zTMLjc','2582598YzGXFH','1266145dAnPdU','Esri\x20Kit\x20generated\x20successfully','4819549vOrthy','search','apply','maka\x20g:kit:e','646582SRvpZA','esri','4364712fQnwQn','\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','32192544FUgOuA','create','1006tbmXyU','/foo/bar','toString','Starting\x20point\x20for\x20generating\x20Esri\x20Maps'];a124c=function(){return k;};return a124c();}const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0x19d))/0x1+parseInt(f(0x190))/0x2*(-parseInt(f(0x195))/0x3)+-parseInt(f(0x19f))/0x4+parseInt(f(0x197))/0x5+-parseInt(f(0x196))/0x6+-parseInt(f(0x199))/0x7+parseInt(f(0x18e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x9d574));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x192)]()[h(0x19a)]('(((.+)+)+)+$')['toString']()['constructor'](a124a)[h(0x19a)](h(0x194));});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x18d;let f=c[d];return f;},a124d(a,b);}a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x18f)]({'name':a124i(0x19e),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a124i(0x193),'validOpts':[''],'isPro':!![],'examples':[a124i(0x19c)],'description':a124i(0x18d)},async function(){const j=a124i;return{'success':!![],'message':j(0x198),'details':{'filesCreated':[j(0x191)],'filesUpdated':['/foo']}};},async function(){},a124e);export default EsriGen;
@@ -1 +1 @@
1
- const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=parseInt(p(0x15b))/0x1*(-parseInt(p(0x170))/0x2)+-parseInt(p(0x159))/0x3+parseInt(p(0x164))/0x4*(-parseInt(p(0x17e))/0x5)+parseInt(p(0x16d))/0x6*(parseInt(p(0x17c))/0x7)+-parseInt(p(0x15d))/0x8+-parseInt(p(0x15a))/0x9+parseInt(p(0x16b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x57685));function a125c(){const v=['template','replaceAll','pathFromApp','</div>','injectIntoFile','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','22258510XmgQab','appName','102EwCrKd','split','checkNpmPackage','18lPzyfW','findProjectDirectory','page','/imports/startup/client/templates','create','.js','react','withValue','search','@esri/react-arcgis','Generating\x20a\x20map\x20component','getMakaProjectConfig','244741NzBGPo','bright','605pjFqEi','apply','basic-map','/imports/ui/','fsi','constructor','(((.+)+)+)+$','toString','esri-loader','2106405fjSUJI','5350338ycpQOG','36127Pnyyuz','baseDir','3101272VCrWVb','FALSE','true','exit','map','dir','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','14968UdyskE'];a125c=function(){return v;};return a125c();}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x157)]()[r(0x178)](r(0x156))[r(0x157)]()[r(0x155)](a125a)['search'](r(0x156));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x153;let f=c[d];return f;},a125d(a,b);}import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x174)]({'name':'map','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a125s(0x15e)]},'description':a125s(0x163)},async function(a,b){const t=a125s;try{Log[t(0x17d)](t(0x17a));const c=t(0x180);await this[t(0x154)][t(0x16f)]([t(0x179),t(0x158)],{'shouldInstall':!![]});const d=this['fsi'][t(0x171)](),f=this[t(0x154)][t(0x17b)](),g=f['engines']['ssr']===t(0x15f),h=await a125f['processAndRunGenerator'](t(0x172),[t(0x161)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x16c)])[t(0x166)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x15c)]?t(0x153)+b[t(0x15c)]:'/imports/ui/hooks',k=this[t(0x154)][t(0x167)]({'pathParts':[j,b[t(0x162)],paramCase(c),paramCase(c)]});await this[t(0x154)][t(0x177)](f,async()=>{const u=t;await this['fsi'][u(0x165)]({'srcPath':'kit/esri/map/'+c+u(0x175),'destPath':k+u(0x175),'framework':u(0x176),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x162)]+'/'+c+'/'+c;await this[t(0x154)]['injectTemplateModule'](c,f,l);const m=h[t(0x16e)]('/'),n=this['fsi']['pathFromApp']({'pathParts':m});await this[t(0x154)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x173),'isNamedExport':!![]}),await this[t(0x154)][t(0x169)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x16a),'begin':['<div\x20id=\x22map\x22>','<div\x20id=\x22map\x22>'],'end':[t(0x168)],'replace':!![]});}catch(o){Log['error'](o),process[t(0x160)](0x1);}},async function(){},a125e);
1
+ const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=parseInt(p(0x19e))/0x1+-parseInt(p(0x1c1))/0x2*(parseInt(p(0x1ac))/0x3)+-parseInt(p(0x198))/0x4*(-parseInt(p(0x1a3))/0x5)+-parseInt(p(0x1b3))/0x6*(parseInt(p(0x1b0))/0x7)+parseInt(p(0x1b7))/0x8+parseInt(p(0x1c0))/0x9*(-parseInt(p(0x1c2))/0xa)+parseInt(p(0x1b1))/0xb*(parseInt(p(0x1bb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x8d37a));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x1a8)]()[r(0x1b5)](r(0x1c8))[r(0x1a8)]()[r(0x1b6)](a125a)['search'](r(0x1c8));});a125a();import{Generator}from'../../../generator.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x196;let f=c[d];return f;},a125d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a125s(0x1ba),'aliases':['m'],'usage':a125s(0x1a9),'shortDesc':a125s(0x19f),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a125s(0x19b)]},'description':a125s(0x1a0)},async function(a,b){const t=a125s;try{Log[t(0x197)]('Generating\x20a\x20map\x20component');const c='basic-map';await this[t(0x1b8)][t(0x1a5)]([t(0x1c7),t(0x1bc)],{'shouldInstall':!![]});const d=this[t(0x1b8)][t(0x1a1)](),f=this[t(0x1b8)][t(0x1c6)](),g=f[t(0x1b9)][t(0x1ae)]==='true',h=await a125f[t(0x1a2)]('page',[t(0x1ba)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x1c3)])[t(0x19c)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x1af)]?'/imports/ui/'+b[t(0x1af)]:t(0x1aa),k=this[t(0x1b8)][t(0x1bf)]({'pathParts':[j,b[t(0x1b4)],paramCase(c),paramCase(c)]});await this[t(0x1b8)][t(0x1a7)](f,async()=>{const u=t;await this[u(0x1b8)][u(0x19a)]({'srcPath':u(0x199)+c+u(0x1a4),'destPath':k+u(0x1a4),'framework':u(0x19d),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x1b4)]+'/'+c+'/'+c;await this[t(0x1b8)][t(0x196)](c,f,l);const m=h['split']('/'),n=this[t(0x1b8)][t(0x1bf)]({'pathParts':m});await this[t(0x1b8)][t(0x1bd)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x1ad):t(0x1b2),'isNamedExport':!![]}),await this[t(0x1b8)]['injectIntoFile']({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0x1ab),t(0x1ab)],'end':[t(0x1be)],'replace':!![]});}catch(o){Log[t(0x1c4)](o),process[t(0x1a6)](0x1);}},async function(){},a125e);function a125c(){const v=['injectTemplateModule','bright','4MVfbuz','kit/esri/map/','template','FALSE','replaceAll','react','832690BdZKni','Generate\x20an\x20Esri\x20map\x20component','\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','findProjectDirectory','processAndRunGenerator','2689255OWncBu','.js','checkNpmPackage','exit','withValue','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','/imports/ui/hooks','<div\x20id=\x22map\x22>','309747swuAzC','/imports/startup/lib/templates','ssr','baseDir','14xrMODt','356499IwOeMu','/imports/startup/client/templates','1027602tXXVya','dir','search','constructor','3678504wqGnnJ','fsi','engines','map','132XrARcv','esri-loader','injectImport','</div>','pathFromApp','3834STockF','14VPbBav','12750tTqOOX','appName','error','apply','getMakaProjectConfig','@esri/react-arcgis','(((.+)+)+)+$'];a125c=function(){return v;};return a125c();}
@@ -1 +1 @@
1
- const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x197))/0x1+parseInt(f(0x196))/0x2+parseInt(f(0x18e))/0x3+parseInt(f(0x192))/0x4*(parseInt(f(0x194))/0x5)+parseInt(f(0x19b))/0x6*(-parseInt(f(0x191))/0x7)+parseInt(f(0x195))/0x8+parseInt(f(0x193))/0x9*(-parseInt(f(0x199))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xbfd72));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a['toString']()[h(0x18b)](h(0x18a))[h(0x18c)]()['constructor'](a126a)[h(0x18b)]('(((.+)+)+)+$');});a126a();import{Generator}from'../../generator.js';const KitGen=Generator[a126i(0x18d)]({'name':a126i(0x190),'aliases':['k'],'usage':a126i(0x19a),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x198),'maka\x20g:k']},async function(){});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x18a;let f=c[d];return f;},a126d(a,b);}export default KitGen;function a126c(){const j=['18487EalerC','326272eOUKuR','261JLqkYs','5VWvkrp','8171176bgtjAd','3131926ofgcUg','883219ljnepn','maka\x20g:kit','1116510niGJNa','maka\x20{generate,\x20g}:{kit}\x20<name>','462BNLgVw','(((.+)+)+)+$','search','toString','create','2024601MzbrCX','apply','kit'];a126c=function(){return j;};return a126c();}
1
+ const a126i=a126d;function a126c(){const j=['create','2NJsuZU','8832jONjfb','8NLNUSt','maka\x20g:kit','70407FbUgrJ','12885EXiaeT','1113FmCTCr','10biBPKu','12boscOU','(((.+)+)+)+$','363750ixRKIP','apply','toString','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','kit','6837479FXXizG','search','598842RWpvXD','1066761oRKust'];a126c=function(){return j;};return a126c();}(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x12a))/0x1*(parseInt(f(0x125))/0x2)+parseInt(f(0x129))/0x3*(-parseInt(f(0x127))/0x4)+-parseInt(f(0x11b))/0x5+-parseInt(f(0x122))/0x6+-parseInt(f(0x117))/0x7*(parseInt(f(0x126))/0x8)+-parseInt(f(0x123))/0x9*(parseInt(f(0x118))/0xa)+-parseInt(f(0x120))/0xb*(-parseInt(f(0x119))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x1d852));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x11c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x11d)]()['search'](h(0x11a))[h(0x11d)]()['constructor'](a126a)[h(0x121)](h(0x11a));});a126a();import{Generator}from'../../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x117;let f=c[d];return f;},a126d(a,b);}const KitGen=Generator[a126i(0x124)]({'name':a126i(0x11f),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a126i(0x11e),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x128),'maka\x20g:k']},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x18c))/0x1+-parseInt(f(0x18a))/0x2*(parseInt(f(0x186))/0x3)+-parseInt(f(0x18e))/0x4+-parseInt(f(0x18b))/0x5*(-parseInt(f(0x188))/0x6)+-parseInt(f(0x184))/0x7+-parseInt(f(0x189))/0x8*(-parseInt(f(0x190))/0x9)+parseInt(f(0x18f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xd9096));function a127c(){var h=['19736YaKsYC','2YszDAM','5GscWwk','1353712Krobas','(((.+)+)+)+$','6817312bouHXo','21852660vlsAby','2331gLYtGE','toString','11657016hCLLrP','constructor','4627785ouGrOc','search','9739572WLfAsn'];a127c=function(){return h;};return a127c();}var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var g=a127d;return a127a[g(0x191)]()['search'](g(0x18d))[g(0x191)]()[g(0x185)](a127a)[g(0x187)]('(((.+)+)+)+$');});function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x184;var f=c[d];return f;},a127d(a,b);}a127a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x1b4;var f=c[d];return f;},a127d(a,b);}(function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(0x1b5))/0x1+-parseInt(f(0x1bc))/0x2+-parseInt(f(0x1c0))/0x3*(-parseInt(f(0x1b4))/0x4)+-parseInt(f(0x1ba))/0x5*(parseInt(f(0x1be))/0x6)+-parseInt(f(0x1b9))/0x7+-parseInt(f(0x1bf))/0x8*(parseInt(f(0x1c2))/0x9)+parseInt(f(0x1b6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x33eb3));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x1bb)]()[h(0x1bd)](h(0x1b7))['toString']()[h(0x1b8)](a127a)[h(0x1bd)](h(0x1b7));});a127a();import'./mui.generator.js';function a127c(){var i=['6bSvnJQ','17744OodpGV','75693JonqhQ','apply','288hhnkMy','28qiGXVa','238124CncMKm','11352200tdpQfh','(((.+)+)+)+$','constructor','2680531sdLHAn','58135GaXyGd','toString','791036cubYkA','search'];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-0x1c0;let f=c[d];return f;},a128d(a,b);}const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0x1d7))/0x1*(-parseInt(G(0x1e4))/0x2)+-parseInt(G(0x1f5))/0x3+-parseInt(G(0x1ee))/0x4*(-parseInt(G(0x1e1))/0x5)+-parseInt(G(0x1dc))/0x6*(parseInt(G(0x1e0))/0x7)+-parseInt(G(0x1f1))/0x8+parseInt(G(0x1fb))/0x9*(parseInt(G(0x1f6))/0xa)+-parseInt(G(0x1f9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x7c1de));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x1f2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x1ca)]()[I(0x1db)](I(0x1ec))[I(0x1ca)]()[I(0x1f7)](a128a)[I(0x1db)](I(0x1ec));});a128a();function a128c(){const N=['.js','authType','template','kit/mui/auth/logout/','kit/mui/auth/forgot-password/','split','1477cATMGg','kit:auth:meteor','appName','basic-register-page','search','17208eeAbUv','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-forgot-password-page','create','994QqvITq','15rGfram','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','injectTemplateModule','478wMlTDn','basic-logout-page','dir','kit/mui/auth/register/','basic-login-page','ssr','log','basic-password-reset-page','(((.+)+)+)+$','getMakaProjectConfig','1109996WoasuA','custom','engines','1969440WXdSsz','apply','processAndRunGenerator','findProjectDirectory','1348992sLWECy','2190yoUuVv','constructor','fsi','3208491mwsBqH','register','29493rBKhkG','/imports/startup/lib/authentication-provider','Meteor\x20Accounts','pathFromApp','layouts','/imports/startup/client/authentication-provider','MATERIAL','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','REACT','replaceAll','react','auth','login','/imports/ui/pages/auth','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','route','toString','Custom\x20(roll\x20your\x20own)','injectImport','Cleaning\x20up...','AuthContext','meteor','force'];a128c=function(){return N;};return a128c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0x1df)]({'name':a128J(0x1c5),'aliases':['a'],'usage':a128J(0x1c8),'shortDesc':a128J(0x1c1),'validOpts':[a128J(0x1ff),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0x1c0)],'client':ClientEngines[a128J(0x1c2)]},'examples':['maka\x20generate:kit:mui:frame','maka\x20g:k:m:f'],'description':a128J(0x1dd)},async function(a,b){const K=a128J;try{const c=b[K(0x1d0)]||![],d=this['fsi'][K(0x1f4)](),f=this[K(0x1f8)][K(0x1ed)](),{authType:g}=await Actions['options']({'type':'list','name':K(0x1d2),'message':K(0x1e2),'choices':[{'name':K(0x1fd),'value':K(0x1cf)},{'name':K(0x1cb),'value':K(0x1ef)}]}),h=K(0x1e8),i='basic-logout-page',j=K(0x1da),k=K(0x1eb),l='basic-forgot-password-page',m=b['baseDir']?'/imports/ui/'+b['baseDir']:K(0x1c7),n=this[K(0x1f8)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0x1f8)][K(0x1fe)]({'pathParts':[m,b[K(0x1e6)],paramCase(i),paramCase(i)]}),p=this[K(0x1f8)][K(0x1fe)]({'pathParts':[m,b[K(0x1e6)],paramCase(j),paramCase(j)]}),q=this[K(0x1f8)][K(0x1fe)]({'pathParts':[m,b[K(0x1e6)],paramCase(k),paramCase(k)]}),r=this[K(0x1f8)]['pathFromApp']({'pathParts':[m,b[K(0x1e6)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1d9)])[K(0x1c3)]('-','\x20')};await this[K(0x1f8)]['withValue'](f,async()=>{const L=K;await this[L(0x1f8)]['template']({'srcPath':'kit/mui/auth/login/'+h+L(0x1d1),'destPath':n+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1f8)][L(0x1d3)]({'srcPath':L(0x1d4)+i+L(0x1d1),'destPath':o+L(0x1d1),'framework':L(0x1c4),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1f8)][L(0x1d3)]({'srcPath':L(0x1e7)+j+'.js','destPath':p+L(0x1d1),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1f8)][L(0x1d3)]({'srcPath':'kit/mui/auth/password-reset/'+k+L(0x1d1),'destPath':q+L(0x1d1),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1f8)][L(0x1d3)]({'srcPath':L(0x1d5)+l+'.js','destPath':r+L(0x1d1),'framework':L(0x1c4),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x1e6)]+'/'+h+'/'+h;await this[K(0x1f8)][K(0x1e3)](h,f,t);const u=''+m+b[K(0x1e6)]+'/'+i+'/'+i;await this['fsi'][K(0x1e3)](i,f,u);const v=''+m+b[K(0x1e6)]+'/'+j+'/'+j;await this['fsi'][K(0x1e3)](j,f,v);const w=''+m+b[K(0x1e6)]+'/'+k+'/'+k;await this[K(0x1f8)][K(0x1e3)](k,f,w);const x=''+m+b[K(0x1e6)]+'/'+l+'/'+l;await this[K(0x1f8)]['injectTemplateModule'](l,f,x),await a128e[K(0x1f3)](K(0x1c9),[K(0x1e8)],{'url':K(0x1c6),'cwd':d,'config':f}),await a128e[K(0x1f3)](K(0x1c9),[K(0x1e5)],{'url':'logout','private':!![],'cwd':d,'config':f}),await a128e['processAndRunGenerator'](K(0x1c9),['basic-register-page'],{'url':K(0x1fa),'cwd':d,'config':f}),await a128e[K(0x1f3)](K(0x1c9),[K(0x1eb)],{'url':'reset-password/:token','cwd':d,'config':f}),await a128e['processAndRunGenerator'](K(0x1c9),[K(0x1de)],{'url':'forgot-password','cwd':d,'config':f});g===K(0x1cf)&&await a128e['processAndRunGenerator'](K(0x1d8),[],{'force':c,'cwd':d,'config':f});g===K(0x1ef)&&await a128e[K(0x1f3)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f[K(0x1f0)][K(0x1e9)]==='true',z=f[K(0x1f0)]['js'],A=this['fsi'][K(0x1fe)]({'pathParts':t[K(0x1d6)]('/')});await this['fsi'][K(0x1cc)]({'filePath':A+'.'+z,'importName':K(0x1ce),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x200),'isNamedExport':!![]});const B=this[K(0x1f8)][K(0x1fe)]({'pathParts':u['split']('/')});await this[K(0x1f8)][K(0x1cc)]({'filePath':B+'.'+z,'importName':K(0x1ce),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x200),'isNamedExport':!![]});const C=this[K(0x1f8)][K(0x1fe)]({'pathParts':v['split']('/')});await this[K(0x1f8)]['injectImport']({'filePath':C+'.'+z,'importName':K(0x1ce),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x200),'isNamedExport':!![]});const D=this[K(0x1f8)][K(0x1fe)]({'pathParts':w['split']('/')});await this[K(0x1f8)][K(0x1cc)]({'filePath':D+'.'+z,'importName':K(0x1ce),'modulePath':y?K(0x1fc):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[K(0x1f8)]['pathFromApp']({'pathParts':x['split']('/')});await this[K(0x1f8)][K(0x1cc)]({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?K(0x1fc):K(0x200),'isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const M=a128J;console[M(0x1ea)](M(0x1cd));},a128f);
1
+ const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0xe0))/0x1*(-parseInt(G(0xaf))/0x2)+parseInt(G(0xe8))/0x3+-parseInt(G(0xc8))/0x4*(parseInt(G(0xe6))/0x5)+parseInt(G(0xd0))/0x6*(parseInt(G(0xbc))/0x7)+-parseInt(G(0xd5))/0x8*(parseInt(G(0xb5))/0x9)+-parseInt(G(0xa7))/0xa*(-parseInt(G(0xc1))/0xb)+-parseInt(G(0xae))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xa191d));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0xdc)]()['search'](I(0xa6))[I(0xdc)]()[I(0xc6)](a128a)[I(0xcd)](I(0xa6));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xa5;let f=c[d];return f;},a128d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';function a128c(){const N=['injectImport','Custom\x20(roll\x20your\x20own)','MATERIAL','split','9LqBCZg','appName','Cleaning\x20up...','log','/imports/startup/lib/authentication-provider','basic-forgot-password-page','basic-register-page','112595LaPdTC','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-login-page','withValue','replaceAll','6496600RNRsoB','custom','dir','.js','route','constructor','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','8ZIrIyo','/imports/startup/client/authentication-provider','injectTemplateModule','engines','maka\x20generate:kit:mui:frame','search','create','react','42iWmlYc','pathFromApp','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','kit/mui/auth/register/','maka\x20g:k:m:f','249512kYtMCb','fsi','ssr','apply','baseDir','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','/imports/ui/pages/auth','toString','kit:auth:provider','login','kit/mui/auth/password-reset/','9bdyYQr','kit/mui/auth/login/','force','basic-logout-page','Meteor\x20Accounts','meteor','1993555mbdFjT','basic-password-reset-page','1082607JBSFPJ','processAndRunGenerator','findProjectDirectory','reset-password/:token','(((.+)+)+)+$','20YizhYZ','true','AuthContext','kit:auth:meteor','template','forgot-password','getMakaProjectConfig','10312764tuvRuW','154474ngrEnS','kit/mui/auth/forgot-password/'];a128c=function(){return N;};return a128c();}import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0xce)]({'name':'auth','aliases':['a'],'usage':a128J(0xd2),'shortDesc':a128J(0xda),'validOpts':['layouts',a128J(0xe2)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0xb3)],'client':ClientEngines['REACT']},'examples':[a128J(0xcc),a128J(0xd4)],'description':a128J(0xbd)},async function(a,b){const K=a128J;try{const c=b['force']||![],d=this['fsi'][K(0xea)](),f=this[K(0xd6)][K(0xad)](),{authType:g}=await Actions['options']({'type':'list','name':'authType','message':K(0xc7),'choices':[{'name':K(0xe4),'value':K(0xe5)},{'name':K(0xb2),'value':'custom'}]}),h=K(0xbe),i=K(0xe3),j=K(0xbb),k=K(0xe7),l=K(0xba),m=b[K(0xd9)]?'/imports/ui/'+b[K(0xd9)]:K(0xdb),n=this['fsi'][K(0xd1)]({'pathParts':[m,b[K(0xc3)],paramCase(h),paramCase(h)]}),o=this['fsi'][K(0xd1)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[K(0xd6)][K(0xd1)]({'pathParts':[m,b[K(0xc3)],paramCase(j),paramCase(j)]}),q=this[K(0xd6)][K(0xd1)]({'pathParts':[m,b[K(0xc3)],paramCase(k),paramCase(k)]}),r=this['fsi'][K(0xd1)]({'pathParts':[m,b[K(0xc3)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0xb6)])[K(0xc0)]('-','\x20')};await this[K(0xd6)][K(0xbf)](f,async()=>{const L=K;await this[L(0xd6)][L(0xab)]({'srcPath':L(0xe1)+h+L(0xc4),'destPath':n+L(0xc4),'framework':L(0xcf),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':'kit/mui/auth/logout/'+i+'.js','destPath':o+L(0xc4),'framework':L(0xcf),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xd6)]['template']({'srcPath':L(0xd3)+j+L(0xc4),'destPath':p+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xd6)][L(0xab)]({'srcPath':L(0xdf)+k+L(0xc4),'destPath':q+L(0xc4),'framework':L(0xcf),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xd6)]['template']({'srcPath':L(0xb0)+l+L(0xc4),'destPath':r+L(0xc4),'framework':L(0xcf),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0xc3)]+'/'+h+'/'+h;await this[K(0xd6)][K(0xca)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this[K(0xd6)][K(0xca)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[K(0xd6)][K(0xca)](j,f,v);const w=''+m+b[K(0xc3)]+'/'+k+'/'+k;await this[K(0xd6)]['injectTemplateModule'](k,f,w);const x=''+m+b[K(0xc3)]+'/'+l+'/'+l;await this['fsi'][K(0xca)](l,f,x),await a128e[K(0xe9)](K(0xc5),[K(0xbe)],{'url':K(0xde),'cwd':d,'config':f}),await a128e['processAndRunGenerator'](K(0xc5),[K(0xe3)],{'url':'logout','private':!![],'cwd':d,'config':f}),await a128e[K(0xe9)](K(0xc5),['basic-register-page'],{'url':'register','cwd':d,'config':f}),await a128e[K(0xe9)](K(0xc5),[K(0xe7)],{'url':K(0xa5),'cwd':d,'config':f}),await a128e[K(0xe9)](K(0xc5),[K(0xba)],{'url':K(0xac),'cwd':d,'config':f});g==='meteor'&&await a128e[K(0xe9)](K(0xaa),[],{'force':c,'cwd':d,'config':f});g===K(0xc2)&&await a128e['processAndRunGenerator'](K(0xdd),[],{'force':c,'cwd':d,'config':f});const y=f[K(0xcb)][K(0xd7)]===K(0xa8),z=f[K(0xcb)]['js'],A=this[K(0xd6)][K(0xd1)]({'pathParts':t['split']('/')});await this[K(0xd6)][K(0xb1)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?K(0xb9):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[K(0xd6)][K(0xd1)]({'pathParts':u[K(0xb4)]('/')});await this[K(0xd6)][K(0xb1)]({'filePath':B+'.'+z,'importName':K(0xa9),'modulePath':y?K(0xb9):K(0xc9),'isNamedExport':!![]});const C=this[K(0xd6)][K(0xd1)]({'pathParts':v['split']('/')});await this[K(0xd6)]['injectImport']({'filePath':C+'.'+z,'importName':K(0xa9),'modulePath':y?K(0xb9):K(0xc9),'isNamedExport':!![]});const D=this[K(0xd6)][K(0xd1)]({'pathParts':w[K(0xb4)]('/')});await this[K(0xd6)][K(0xb1)]({'filePath':D+'.'+z,'importName':K(0xa9),'modulePath':y?K(0xb9):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[K(0xd6)]['pathFromApp']({'pathParts':x[K(0xb4)]('/')});await this[K(0xd6)][K(0xb1)]({'filePath':E+'.'+z,'importName':K(0xa9),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0xc9),'isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const M=a128J;console[M(0xb8)](M(0xb7));},a128f);
@@ -1 +1 @@
1
- const a129E=a129d;function a129c(){const I=['dir','join','8nOByoO','/imports/startup/lib/templates','options','tsx','Container','maka:react-tracker','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','maka\x20g:k:m:f','MATERIAL','tests','injectIntoFile','Box','basic-app-bar','{\x20this.props.children\x20}','test','length','baseDir','\x20/>\x0a','16UxnnSF','injectImport','true','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','9722700IDOMlF','frame','21096020MkpaoE','imports','error','search','maka\x20generate:kit:mui:frame','checkbox','178378xEBAcL','injectTemplateModule','11788441oqYpec','355497xmqUaC','session','/imports/ui/components','template','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','40yLmJOz','{this.props.children}','</div>','jsx','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','withValue','{props.children}','force','kit/mui/frame/drawers/','6192695zaOAXj','apply','20pANEJp','log','appName','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','create','<div\x20id=\x22','layouts','@mui/material/Container','getFiles','-hook\x22>','kit/mui/frame/footers/','/imports/startup/client/templates','REACT','/imports/ui/','fsi','getDirectories','(((.+)+)+)+$','pathFromApp','kit/mui/frame/app-bars/','react','replaceAll','.js','engines','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','{\x20props.children\x20}','1209591uABlpB','checkMeteorPackage'];a129c=function(){return I;};return a129c();}(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0x160))/0x1*(-parseInt(B(0x154))/0x2)+-parseInt(B(0x115))/0x3*(parseInt(B(0x125))/0x4)+-parseInt(B(0x123))/0x5+parseInt(B(0x158))/0x6+parseInt(B(0x114))/0x7*(-parseInt(B(0x142))/0x8)+parseInt(B(0x13e))/0x9*(-parseInt(B(0x11a))/0xa)+parseInt(B(0x15a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xdecd9));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a['toString']()[D(0x15d)](D(0x135))['toString']()['constructor'](a129a)[D(0x15d)](D(0x135));});function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x113;let f=c[d];return f;},a129d(a,b);}a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0x129)]({'name':a129E(0x159),'aliases':['f'],'usage':a129E(0x119),'shortDesc':a129E(0x11e),'validOpts':['layouts',a129E(0x152),a129E(0x140),a129E(0x121)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x14a)],'client':ClientEngines[a129E(0x131)]},'examples':[a129E(0x15e),a129E(0x149)],'description':a129E(0x13c)},async function(a,b){const F=a129E;try{const c=b[F(0x121)]||![],d=F(0x14e),f='basic-drawer',g='basic-sticky-footer',h=this[F(0x133)]['getMakaProjectConfig'](),i=h[F(0x13b)]['ssr']===F(0x156);await this[F(0x133)][F(0x13f)]([F(0x116),F(0x147)],{'shouldInstall':!![]});const j=this[F(0x133)]['findAppDirectory'](),k=a129e[F(0x141)](j,F(0x15b),'ui',F(0x12b)),l=this[F(0x133)][F(0x134)](k),m=await Actions[F(0x144)]({'type':F(0x15f),'name':F(0x12b),'message':F(0x128),'choices':l});if(m[F(0x12b)][F(0x151)]===0x0){Log[F(0x15c)]('No\x20layouts\x20selected');return;}const n=b['baseDir']?F(0x132)+b[F(0x152)]:F(0x117),o=this['fsi'][F(0x136)]({'pathParts':[n,b[F(0x140)],paramCase(d),paramCase(d)]}),p=this['fsi'][F(0x136)]({'pathParts':[n,b[F(0x140)],paramCase(f),paramCase(f)]}),q=this[F(0x133)][F(0x136)]({'pathParts':[n,b[F(0x140)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x127)])[F(0x139)]('-','\x20')};await this[F(0x133)][F(0x11f)](h,async()=>{const G=F;await this[G(0x133)][G(0x118)]({'srcPath':G(0x137)+d+G(0x13a),'destPath':o+G(0x13a),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x133)][G(0x118)]({'srcPath':G(0x122)+f+G(0x13a),'destPath':p+'.js','framework':G(0x138),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x133)][G(0x118)]({'srcPath':G(0x12f)+g+G(0x13a),'destPath':q+G(0x13a),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x140)]+'/'+d+'/'+d;await this[F(0x133)][F(0x113)](d,h,s);const t=''+n+b[F(0x140)]+'/'+f+'/'+f;await this[F(0x133)][F(0x113)](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this[F(0x133)][F(0x113)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x133)][F(0x12d)](a129e[F(0x141)](k,w),{'extensions':[F(0x11d),F(0x145)],'omit':['app-tests',F(0x14b),F(0x150)]});for(const y of x){const z=a129e['join'](k,w,y);await this[F(0x133)][F(0x155)]({'filePath':z,'importName':F(0x14d),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this['fsi'][F(0x155)]({'filePath':z,'importName':F(0x146),'modulePath':F(0x12c),'isNamedExport':![]}),await this['fsi'][F(0x155)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':F(0x130),'isNamedExport':!![]}),await this[F(0x133)][F(0x14c)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':['<div\x20id=\x22'+w+'\x22>',F(0x12a)+w+F(0x12e)],'end':[F(0x11b),F(0x14f),F(0x120),F(0x13d)]}),await this[F(0x133)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x143):F(0x130),'isNamedExport':!![]}),await this[F(0x133)][F(0x14c)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x153),'begin':['<div\x20id=\x22'+w+'\x22>',F(0x12a)+w+F(0x12e)],'end':[F(0x11b),F(0x14f),F(0x120),F(0x13d)]}),await this[F(0x133)][F(0x14c)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x153),'begin':[F(0x11b),F(0x14f),'{props.children}',F(0x13d)],'end':[F(0x11c)]}),await this[F(0x133)][F(0x155)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':F(0x130),'isNamedExport':!![]}),await this[F(0x133)]['injectAroundString']({'filePath':z,'aboveContent':F(0x148),'belowContent':F(0x157),'targetString':[F(0x11b),'{\x20this.props.children\x20}',F(0x120),'{\x20props.children\x20}'],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x15c)](A);}},async function(){const H=a129E;console[H(0x126)]('Cleaning\x20up...');},a129f);
1
+ const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0x133))/0x1+parseInt(B(0x13e))/0x2*(parseInt(B(0x13b))/0x3)+parseInt(B(0x11c))/0x4*(-parseInt(B(0x114))/0x5)+-parseInt(B(0x152))/0x6*(parseInt(B(0x122))/0x7)+-parseInt(B(0x12d))/0x8*(parseInt(B(0x139))/0x9)+-parseInt(B(0x13a))/0xa*(-parseInt(B(0x156))/0xb)+parseInt(B(0x153))/0xc*(parseInt(B(0x123))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x1cb74));function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x10f;let f=c[d];return f;},a129d(a,b);}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x14a)]()[D(0x130)](D(0x119))[D(0x14a)]()[D(0x140)](a129a)['search'](D(0x119));});a129a();import{Generator}from'../../../generator.js';function a129c(){const H=['options','frame','jsx','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','pathFromApp','711DDFFax','10dHUWfB','153DTEBRj','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','basic-sticky-footer','1492RfcxnS','imports','constructor','.js','length','baseDir','engines','checkMeteorPackage','Box','join','No\x20layouts\x20selected','appName','toString','-hook\x22>','template','\x20/>\x0a','/imports/startup/client/templates','{\x20this.props.children\x20}','{props.children}','react','5928tqzMRC','180xKusBz','injectAroundString','getFiles','2237631blJRLo','/imports/ui/components','/imports/ui/','@mui/material/Container','fsi','layouts','force','<div\x20id=\x22','injectIntoFile','5HMiBuA','dir','{\x20props.children\x20}','Container','checkbox','(((.+)+)+)+$','<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>','getDirectories','1464bnflHe','</div>','true','/imports/startup/lib/templates','findAppDirectory','kit/mui/frame/drawers/','1421GSTsng','37063woLqMA','{this.props.children}','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','ssr','replaceAll','injectImport','MATERIAL','kit/mui/frame/app-bars/','kit/mui/frame/footers/','maka\x20generate:kit:mui:frame','1832OLnOcr','apply','basic-drawer','search','@mui/material/Box','injectTemplateModule','52409pMxqro'];a129c=function(){return H;};return a129c();}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a129E(0x135),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a129E(0x137),'validOpts':['layouts',a129E(0x143),a129E(0x115),a129E(0x111)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x129)],'client':ClientEngines['REACT']},'examples':[a129E(0x12c),'maka\x20g:k:m:f'],'description':a129E(0x125)},async function(a,b){const F=a129E;try{const c=b[F(0x111)]||![],d='basic-app-bar',f=F(0x12f),g=F(0x13d),h=this['fsi']['getMakaProjectConfig'](),i=h[F(0x144)][F(0x126)]===F(0x11e);await this[F(0x10f)][F(0x145)](['session','maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0x10f)][F(0x120)](),k=a129e[F(0x147)](j,F(0x13f),'ui','layouts'),l=this[F(0x10f)][F(0x11b)](k),m=await Actions[F(0x134)]({'type':F(0x118),'name':F(0x110),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x110)][F(0x142)]===0x0){Log['error'](F(0x148));return;}const n=b[F(0x143)]?F(0x158)+b[F(0x143)]:F(0x157),o=this[F(0x10f)][F(0x138)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[F(0x10f)][F(0x138)]({'pathParts':[n,b[F(0x115)],paramCase(f),paramCase(f)]}),q=this[F(0x10f)][F(0x138)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x149)])[F(0x127)]('-','\x20')};await this['fsi']['withValue'](h,async()=>{const G=F;await this[G(0x10f)][G(0x14c)]({'srcPath':G(0x12a)+d+G(0x141),'destPath':o+G(0x141),'framework':G(0x151),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x14c)]({'srcPath':G(0x121)+f+G(0x141),'destPath':p+G(0x141),'framework':G(0x151),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x10f)][G(0x14c)]({'srcPath':G(0x12b)+g+G(0x141),'destPath':q+G(0x141),'framework':G(0x151),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this['fsi'][F(0x132)](d,h,s);const t=''+n+b[F(0x115)]+'/'+f+'/'+f;await this[F(0x10f)][F(0x132)](f,h,t);const u=''+n+b[F(0x115)]+'/'+g+'/'+g;await this[F(0x10f)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x10f)][F(0x155)](a129e[F(0x147)](k,w),{'extensions':[F(0x136),'tsx'],'omit':['app-tests','tests','test']});for(const y of x){const z=a129e[F(0x147)](k,w,y);await this['fsi'][F(0x128)]({'filePath':z,'importName':F(0x146),'modulePath':F(0x131),'isNamedExport':![]}),await this[F(0x10f)][F(0x128)]({'filePath':z,'importName':F(0x117),'modulePath':F(0x159),'isNamedExport':![]}),await this['fsi'][F(0x128)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x11f):F(0x14e),'isNamedExport':!![]}),await this[F(0x10f)][F(0x113)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x112)+w+'\x22>',F(0x112)+w+'-hook\x22>'],'end':[F(0x124),F(0x14f),'{props.children}',F(0x116)]}),await this['fsi']['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x11f):F(0x14e),'isNamedExport':!![]}),await this[F(0x10f)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0x14d),'begin':['<div\x20id=\x22'+w+'\x22>',F(0x112)+w+F(0x14b)],'end':[F(0x124),F(0x14f),F(0x150),F(0x116)]}),await this[F(0x10f)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+F(0x14d),'begin':[F(0x124),'{\x20this.props.children\x20}',F(0x150),'{\x20props.children\x20}'],'end':[F(0x11d)]}),await this[F(0x10f)][F(0x128)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x11f):F(0x14e),'isNamedExport':!![]}),await this['fsi'][F(0x154)]({'filePath':z,'aboveContent':F(0x11a),'belowContent':F(0x13c),'targetString':['{this.props.children}',F(0x14f),F(0x150),F(0x116)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){console['log']('Cleaning\x20up...');},a129f);
@@ -1 +1 @@
1
- const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=-parseInt(g(0x1ee))/0x1*(parseInt(g(0x1e8))/0x2)+-parseInt(g(0x201))/0x3*(parseInt(g(0x1f4))/0x4)+-parseInt(g(0x1e2))/0x5*(parseInt(g(0x200))/0x6)+-parseInt(g(0x1da))/0x7*(-parseInt(g(0x1f2))/0x8)+-parseInt(g(0x1ec))/0x9+-parseInt(g(0x1e4))/0xa+parseInt(g(0x1fb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xe13ed));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0x1e1)]()[i(0x1f5)](i(0x1ef))['toString']()[i(0x1dd)](a130a)[i(0x1f5)](i(0x1ef));});function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1da;let f=c[d];return f;},a130d(a,b);}function a130c(){const l=['5368SwxAAM','search','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','notice','info','Material-UI\x20Kit','Header,\x20Footer,\x20and\x20Drawer','54961027NkflcK','includes','maka\x20g:kit:m','No\x20MUI\x20kits\x20selected.\x20Exiting.','auth','18714LBqYlu','1083AozMcj','763WwoGXI','fsi','checkbox','constructor','kitChoices','findProjectDirectory','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','toString','1515zqAjoQ','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','17882470GasYjk','apply','mui','processAndRunGenerator','36bPHJLI','create','kit:mui:frame','kit:mui:auth','7038495rLQUqn','length','45006SaYCym','(((.+)+)+)+$','frame','options','54024ehyWvj','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?'];a130c=function(){return l;};return a130c();}a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'../kit.js';const MuiGen=Generator[a130j(0x1e9)]({'name':a130j(0x1e6),'aliases':['m'],'usage':a130j(0x1f6),'noNeedResource':!![],'shortDesc':a130j(0x1f9),'validOpts':[''],'isPro':!![],'examples':[a130j(0x1fd)]},async function(){const k=a130j;Log[k(0x1f8)](k(0x1e0)),Log[k(0x1f7)]('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const {kitChoices:a}=await Actions[k(0x1f1)]({'type':k(0x1dc),'name':k(0x1de),'message':k(0x1f3),'choices':[{'name':k(0x1fa),'value':k(0x1f0)},{'name':k(0x1e3),'value':k(0x1ff)}]}),b=this[k(0x1db)][k(0x1df)](),c=this['fsi']['getMakaProjectConfig']();a[k(0x1fc)]('frame')&&await a130e[k(0x1e7)](k(0x1ea),[],{'force':!![],'cwd':b,'config':c});a[k(0x1fc)](k(0x1ff))&&await a130e[k(0x1e7)](k(0x1eb),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1ed)]===0x0){Log[k(0x1f8)](k(0x1fe));return;}},async function(){},a130f);export default MuiGen;
1
+ const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=-parseInt(g(0x145))/0x1+-parseInt(g(0x157))/0x2*(-parseInt(g(0x13f))/0x3)+parseInt(g(0x144))/0x4+parseInt(g(0x13c))/0x5+parseInt(g(0x15c))/0x6*(-parseInt(g(0x14a))/0x7)+parseInt(g(0x151))/0x8*(-parseInt(g(0x15a))/0x9)+parseInt(g(0x13e))/0xa*(parseInt(g(0x143))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x4ec8d));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0x153)]()[i(0x156)](i(0x15f))[i(0x153)]()[i(0x154)](a130a)[i(0x156)](i(0x15f));});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a130c(){const l=['findProjectDirectory','7zqUWPz','kitChoices','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','auth','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','getMakaProjectConfig','30840oTmNMQ','create','toString','constructor','fsi','search','51262nAFVCT','options','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','180GokmVl','checkbox','3360558YEhjoo','info','Material-UI\x20Kit','(((.+)+)+)+$','969110IOOjyE','apply','193990gSyFgS','42XxJzEg','includes','frame','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','11GEzhXP','2508696oROCfD','239335pBEnQz','length','No\x20MUI\x20kits\x20selected.\x20Exiting.','kit:mui:frame'];a130c=function(){return l;};return a130c();}import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'../kit.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x13c;let f=c[d];return f;},a130d(a,b);}const MuiGen=Generator[a130j(0x152)]({'name':'mui','aliases':['m'],'usage':a130j(0x14f),'noNeedResource':!![],'shortDesc':a130j(0x15e),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a130j;Log['info'](k(0x142)),Log['notice'](k(0x14c));const {kitChoices:a}=await Actions[k(0x158)]({'type':k(0x15b),'name':k(0x14b),'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':k(0x141)},{'name':k(0x159),'value':k(0x14d)}]}),b=this[k(0x155)][k(0x149)](),c=this['fsi'][k(0x150)]();a[k(0x140)](k(0x141))&&await a130e['processAndRunGenerator'](k(0x148),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x14d))&&await a130e[k(0x14e)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0x146)]===0x0){Log[k(0x15d)](k(0x147));return;}},async function(){},a130f);export default MuiGen;
@@ -1 +1 @@
1
- const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=parseInt(l(0x122))/0x1*(-parseInt(l(0x127))/0x2)+-parseInt(l(0x134))/0x3+parseInt(l(0x132))/0x4+-parseInt(l(0x147))/0x5+parseInt(l(0x14a))/0x6*(parseInt(l(0x121))/0x7)+parseInt(l(0x14c))/0x8*(-parseInt(l(0x110))/0x9)+-parseInt(l(0x125))/0xa*(-parseInt(l(0x140))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xee87b));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0x141)]()[n(0x11b)](n(0x12a))[n(0x141)]()[n(0x144)](a131a)['search'](n(0x12a));});a131a();import a131e from'path';import{Generator}from'../generator.js';function a131c(){const r=['fsi','pathFromProject','2817120QcCmds','hook/hook.js','dir','4152lvgfzC','className','9294088XDAUUK','injectAtBeginningOfFile','9KyKIWQ','Scaffolding\x20for\x20a\x20React\x20Layout.','test','injectTemplateModule','assign','string','withHook','react','template/template.css','split','client','search','fileName','theme','component/component.js','/imports/ui/layouts','findAppDirectory','3311WiefaZ','70064YgYbUs','pathFromApp','apply','30VksDCm','test/test.js','8jHWJwR','withValue','features','(((.+)+)+)+$','setTemplate','engines','checkNpmPackage','installNpmPackage','maka\x20g:l\x20web/safari','.js','template','1961376LnjWwY','.app-tests.js','194760wRhoGd','resourceName','.css','graphql','warn','ramda','relative','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','true','api','import\x20\x27./','css','8175640ozqMkb','toString','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','maka\x20g:layout\x20mobile/iPhone8','constructor'];a131c=function(){return r;};return a131c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x110;let f=c[d];return f;},a131d(a,b);}Generator['create']({'name':'layout','aliases':aliases,'usage':a131o(0x13b),'shortDesc':a131o(0x111),'validOpts':['withHook'],'examples':[a131o(0x143),a131o(0x12f)]},async function(a,b){const p=a131o,c=p(0x11f),d=this[p(0x145)][p(0x120)](),e=this[p(0x145)][p(0x123)]({'pathParts':[c,b[p(0x149)],paramCase(b[p(0x135)]),paramCase(b[p(0x135)])]}),f=this[p(0x145)]['getMakaProjectConfig']();await this[p(0x145)][p(0x128)](f,async()=>{const q=p;typeof f[q(0x131)][q(0x112)]===q(0x115)&&(f[q(0x131)][q(0x112)]=f[q(0x131)][q(0x112)]===q(0x13c)?!![]:![],this[q(0x145)][q(0x12b)](q(0x112),f[q(0x131)][q(0x112)]));typeof f[q(0x131)]['css']===q(0x115)&&(f[q(0x131)][q(0x13f)]=f[q(0x131)]['css']===q(0x13c)?!![]:![],this[q(0x145)][q(0x12b)]('css',f['template'][q(0x13f)]));typeof f['template']['js']==='string'&&(f[q(0x131)]['js']=f[q(0x131)]['js']===q(0x13c)?!![]:![],this[q(0x145)][q(0x12b)]('js',f['template']['js']));!f[q(0x129)]&&(f[q(0x129)]={});const g=b['_']?b['_'][0x0][q(0x119)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0x12d)](q(0x139))&&(Log['warn'](q(0x142)),this['fsi'][q(0x12e)]('ramda',{'cwd':d}));if(h&&!this[q(0x12d)](q(0x117))){Log[q(0x138)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b[q(0x135)]),'myPath':a131e[q(0x13a)](this[q(0x145)][q(0x146)]({}),e),'cssCaseName':paramCase(b[q(0x135)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x135)]),'fileName':paramCase(b['resourceName']),'graphql':f[q(0x12c)][q(0x137)],'features':f[q(0x129)],'client':f[q(0x12c)][q(0x11a)],'api':f[q(0x12c)][q(0x13d)],'ssr':f[q(0x12c)]['ssr'],'test':f[q(0x12c)][q(0x112)],'theme':f[q(0x12c)][q(0x11d)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x129)]['withTranslations']};f[q(0x129)]?.['withHooks']||b[q(0x116)]?await this['fsi'][q(0x131)]({'srcPath':q(0x148),'destPath':e+q(0x130),'framework':q(0x117),'context':i,'config':f}):await this['fsi']['template']({'srcPath':q(0x11e),'destPath':e+q(0x130),'framework':q(0x117),'context':i,'config':f});f['engines'][q(0x112)]!=='none'&&await this[q(0x145)][q(0x131)]({'srcPath':q(0x126),'destPath':e+q(0x133),'framework':'react','context':i,'config':f});f[q(0x131)][q(0x13f)]&&(await this['fsi'][q(0x131)]({'srcPath':q(0x118),'destPath':e+q(0x136),'context':Object[q(0x114)]({},i,{'className':paramCase(b[q(0x135)])}),'config':f}),await this[q(0x145)][q(0x14d)]({'filePath':e+'.'+f[q(0x12c)]['js'],'content':q(0x13e)+i[q(0x11c)]+'.'+f[q(0x12c)][q(0x13f)]+'\x27;'}));const j=b[q(0x149)]?'/'+b[q(0x149)]+'/':'/',k=''+c+j+i[q(0x11c)]+'/'+i[q(0x11c)];await this[q(0x145)][q(0x113)](i[q(0x14b)],f,k);});});
1
+ const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0x1df))/0x1+parseInt(l(0x1de))/0x2*(parseInt(l(0x20a))/0x3)+-parseInt(l(0x1d6))/0x4+parseInt(l(0x205))/0x5*(parseInt(l(0x1d8))/0x6)+-parseInt(l(0x1d9))/0x7*(parseInt(l(0x1eb))/0x8)+-parseInt(l(0x1f4))/0x9*(-parseInt(l(0x1e1))/0xa)+-parseInt(l(0x1f8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x5982f));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a['toString']()[n(0x203)](n(0x1e8))['toString']()[n(0x20c)](a131a)[n(0x203)]('(((.+)+)+)+$');});a131a();import a131e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a131d(a,b);}Generator['create']({'name':'layout','aliases':aliases,'usage':a131o(0x1f9),'shortDesc':a131o(0x1f6),'validOpts':[a131o(0x1ed)],'examples':[a131o(0x1fc),a131o(0x1f2)]},async function(a,b){const p=a131o,c=p(0x1ef),d=this[p(0x1e9)]['findAppDirectory'](),e=this['fsi'][p(0x200)]({'pathParts':[c,b[p(0x20e)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),f=this[p(0x1e9)]['getMakaProjectConfig']();await this['fsi']['withValue'](f,async()=>{const q=p;typeof f['template']['test']===q(0x1db)&&(f[q(0x209)][q(0x1f1)]=f[q(0x209)][q(0x1f1)]===q(0x1dc)?!![]:![],this[q(0x1e9)]['setTemplate'](q(0x1f1),f[q(0x209)][q(0x1f1)]));typeof f['template']['css']===q(0x1db)&&(f[q(0x209)][q(0x1ee)]=f['template'][q(0x1ee)]==='true'?!![]:![],this[q(0x1e9)][q(0x1dd)](q(0x1ee),f[q(0x209)]['css']));typeof f[q(0x209)]['js']===q(0x1db)&&(f[q(0x209)]['js']=f[q(0x209)]['js']===q(0x1dc)?!![]:![],this[q(0x1e9)][q(0x1dd)]('js',f[q(0x209)]['js']));!f[q(0x1e3)]&&(f[q(0x1e3)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0x207)](q(0x1e7))&&(Log[q(0x1f3)](q(0x1f7)),this[q(0x1e9)]['installNpmPackage'](q(0x1e7),{'cwd':d}));if(h&&!this['checkNpmPackage'](q(0x20f))){Log[q(0x1f3)](q(0x1e0));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a131e[q(0x201)](this['fsi'][q(0x1ea)]({}),e),'cssCaseName':paramCase(b[q(0x1e6)]),'className':pascalCase(b[q(0x1e6)]),'camelCaseName':camelCase(b[q(0x1e6)]),'fileName':paramCase(b['resourceName']),'graphql':f[q(0x1ec)][q(0x208)],'features':f[q(0x1e3)],'client':f[q(0x1ec)][q(0x1f0)],'api':f[q(0x1ec)][q(0x202)],'ssr':f[q(0x1ec)][q(0x204)],'test':f['engines'][q(0x1f1)],'theme':f[q(0x1ec)][q(0x20b)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1e3)][q(0x20d)]};f[q(0x1e3)]?.[q(0x1f5)]||b[q(0x1ed)]?await this[q(0x1e9)][q(0x209)]({'srcPath':q(0x1e4),'destPath':e+q(0x1e2),'framework':q(0x20f),'context':i,'config':f}):await this[q(0x1e9)][q(0x209)]({'srcPath':q(0x1d7),'destPath':e+q(0x1e2),'framework':q(0x20f),'context':i,'config':f});f[q(0x1ec)][q(0x1f1)]!==q(0x1fa)&&await this[q(0x1e9)][q(0x209)]({'srcPath':'test/test.js','destPath':e+'.app-tests.js','framework':q(0x20f),'context':i,'config':f});f[q(0x209)][q(0x1ee)]&&(await this['fsi'][q(0x209)]({'srcPath':'template/template.css','destPath':e+'.css','context':Object[q(0x1fb)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[q(0x1e9)][q(0x206)]({'filePath':e+'.'+f['engines']['js'],'content':q(0x1ff)+i['fileName']+'.'+f[q(0x1ec)][q(0x1ee)]+'\x27;'}));const j=b[q(0x20e)]?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0x1e5)]+'/'+i[q(0x1e5)];await this[q(0x1e9)][q(0x1fe)](i[q(0x1fd)],f,k);});});function a131c(){const r=['912748fcWAvD','component/component.js','32136imBRro','107121IemnLn','apply','string','true','setTemplate','1416958eFJfad','279060SXeSZu','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','2325390pczPRo','.js','features','hook/hook.js','fileName','resourceName','ramda','(((.+)+)+)+$','fsi','pathFromProject','248NODBXt','engines','withHook','css','/imports/ui/layouts','client','test','maka\x20g:l\x20web/safari','warn','18crjnqz','withHooks','Scaffolding\x20for\x20a\x20React\x20Layout.','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','4617734bbRRCP','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','none','assign','maka\x20g:layout\x20mobile/iPhone8','className','injectTemplateModule','import\x20\x27./','pathFromApp','relative','api','search','ssr','555iyjMgm','injectAtBeginningOfFile','checkNpmPackage','graphql','template','3epWKoM','theme','constructor','withTranslations','dir','react'];a131c=function(){return r;};return a131c();}
@@ -1 +1 @@
1
- function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x124;let f=c[d];return f;},a132d(a,b);}const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0x135))/0x1+parseInt(f(0x136))/0x2*(-parseInt(f(0x134))/0x3)+-parseInt(f(0x139))/0x4+-parseInt(f(0x128))/0x5*(parseInt(f(0x12f))/0x6)+parseInt(f(0x127))/0x7*(-parseInt(f(0x126))/0x8)+-parseInt(f(0x125))/0x9*(parseInt(f(0x137))/0xa)+parseInt(f(0x130))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x38c6e));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0x12c)]()[h(0x138)](h(0x131))[h(0x12c)]()[h(0x12e)](a132a)[h(0x138)](h(0x131));});a132a();import{Generator}from'../generator.js';function a132c(){const j=['(((.+)+)+)+$','maka\x20g:scaffold\x20todos','maka\x20generate:scaffold\x20todos','3FDnFxe','206683SSIQvq','300478HcVaXH','189470SaYiat','search','784320KSEzpZ','maka\x20g:dbc\x20geoserver\x20--type=pgsql','144PCKKdz','24IYgxmU','552223drIOOX','35uYLKEd','maka\x20g:route\x20todos/edit','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:api\x20trucks','toString','apply','constructor','395574AfYtRe','15108676GspqjJ'];a132c=function(){return j;};return a132c();}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a132i(0x12a),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a132i(0x133),a132i(0x132),'maka\x20g:template\x20todos/todo_item','maka\x20g:package\x20package:name',a132i(0x129),a132i(0x12b),a132i(0x124)]},function(){});export default MakaGen;
1
+ const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x105))/0x1*(parseInt(f(0x107))/0x2)+-parseInt(f(0x10e))/0x3+parseInt(f(0x10c))/0x4+-parseInt(f(0x10d))/0x5+-parseInt(f(0x108))/0x6*(-parseInt(f(0x106))/0x7)+parseInt(f(0x10b))/0x8+-parseInt(f(0x100))/0x9*(-parseInt(f(0xff))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x801d6));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x104)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0xfd)]()['search'](h(0x102))['toString']()[h(0xfb)](a132a)[h(0x101)](h(0x102));});a132a();function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xf8;let f=c[d];return f;},a132d(a,b);}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a132i(0xf9),'aliases':['g'],'usage':a132i(0x10a),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0xfa),'examples':[a132i(0xfe),'maka\x20g:scaffold\x20todos',a132i(0x103),a132i(0x109),a132i(0xf8),a132i(0xfc),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});function a132c(){const j=['63918XQybpx','search','(((.+)+)+)+$','maka\x20g:template\x20todos/todo_item','apply','7MreEgN','287LdBpCy','241756mNARNE','142896bGYOJi','maka\x20g:package\x20package:name','maka\x20{generate,\x20g}:<generator>\x20<name>','2388144udARZI','3456360HJvuTq','3262065rCzHvq','2541759REowJj','maka\x20g:route\x20todos/edit','generate','Scaffold\x20various\x20parts\x20of\x20your\x20application','constructor','maka\x20g:api\x20trucks','toString','maka\x20generate:scaffold\x20todos','1030MpJmGj'];a132c=function(){return j;};return a132c();}export default MakaGen;
@@ -1 +1 @@
1
- const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0x1dc))/0x1*(-parseInt(j(0x1be))/0x2)+-parseInt(j(0x1c2))/0x3*(parseInt(j(0x1dd))/0x4)+parseInt(j(0x1c4))/0x5*(-parseInt(j(0x1bf))/0x6)+-parseInt(j(0x1ce))/0x7+parseInt(j(0x1d6))/0x8+parseInt(j(0x1c1))/0x9*(-parseInt(j(0x1e0))/0xa)+parseInt(j(0x1da))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xf281e));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x1e1)]()[l(0x1d4)](l(0x1ca))[l(0x1e1)]()['constructor'](a133a)[l(0x1d4)]('(((.+)+)+)+$');});a133a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a133d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133m(0x1ba)]({'name':a133m(0x1de),'aliases':['m'],'usage':a133m(0x1bb),'checkWhere':!![],'shortDesc':a133m(0x1c5),'validOpts':[a133m(0x1bc)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a133m;try{const c=this[n(0x1cd)][n(0x1cc)]();await this[n(0x1cd)][n(0x1c3)](c,async()=>{const o=n,d=paramCase(b[o(0x1d3)]),f={'name':b[o(0x1d3)],'fileName':d,'className':pascalCase(b[o(0x1d3)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[o(0x1c7)]['js']===o(0x1c8)&&(g='ts');await this['fsi'][o(0x1bd)]([o(0x1cb),o(0x1d0),o(0x1c6)],{'shouldInstall':!![]}),await this['fsi']['template']({'srcPath':'method/method.js','destPath':this['fsi'][o(0x1df)]({'pathParts':[o(0x1d2),o(0x1d8),b[o(0x1e2)],o(0x1d1),b[o(0x1bc)],d+o(0x1c9)+g]}),'context':f,'config':c});const h=b[o(0x1bc)]?'/'+b[o(0x1bc)]+'/':'/',i=this[o(0x1cd)][o(0x1df)]({'pathParts':[o(0x1d2),o(0x1d8),b['appPathPrefix'],o(0x1d9)+c[o(0x1c7)]['js']]});await this[o(0x1cd)][o(0x1db)]({'filePath':i,'content':o(0x1c0)+h+d+o(0x1d5)});});}catch(d){Log[n(0x1d7)](d);}});function a133c(){const p=['index.','43981707OmUtbw','injectAtEndOfFile','69809ROtwlZ','80ICPAFE','method','pathFromApp','930080JqNyyp','toString','appPathPrefix','create','maka\x20{generate,\x20g}:{method,\x20m}\x20name','dir','checkMeteorPackage','30edSSLe','144SWaVsb','import\x20\x27./methods','36PARQDt','7269IcYCuN','withValue','408515HxSjwT','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','mdg:validated-method','engines','tsx','-rpc-method.','(((.+)+)+)+$','maka:check','getMakaProjectConfig','fsi','12192054jUtffp','apply','ddp-rate-limiter','methods','imports','resourceName','search','-rpc-method\x27;','567392IoLkmH','error','startup'];a133c=function(){return p;};return a133c();}
1
+ const a133m=a133d;function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x15c;let f=c[d];return f;},a133d(a,b);}(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0x162))/0x1+parseInt(j(0x15e))/0x2+-parseInt(j(0x166))/0x3+-parseInt(j(0x183))/0x4+parseInt(j(0x17c))/0x5+parseInt(j(0x175))/0x6*(-parseInt(j(0x17b))/0x7)+parseInt(j(0x176))/0x8*(-parseInt(j(0x15d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x26a6f));function a133c(){const p=['import\x20\x27./methods','1267nPdgyl','235125okGkPO','checkMeteorPackage','create','constructor','tsx','pathFromApp','(((.+)+)+)+$','223240GHWSWA','maka\x20g:method\x20todos','2598723fbQEsM','622690nKnlDb','maka:check','injectAtEndOfFile','method','312488QugfwW','maka\x20{generate,\x20g}:{method,\x20m}\x20name','index.','dir','59772jmFXZe','engines','imports','appPathPrefix','startup','template','fsi','mdg:validated-method','toString','resourceName','method/method.js','-rpc-method\x27;','-rpc-method.','apply','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','4908YEQZEq','8BxxbNI','methods','withValue','search'];a133c=function(){return p;};return a133c();}const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x16e)]()[l(0x179)](l(0x182))[l(0x16e)]()[l(0x17f)](a133a)[l(0x179)]('(((.+)+)+)+$');});a133a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133m(0x17e)]({'name':a133m(0x161),'aliases':['m'],'usage':a133m(0x163),'checkWhere':!![],'shortDesc':a133m(0x174),'validOpts':[a133m(0x165)],'examples':[a133m(0x15c)]},async function(a,b){const n=a133m;try{const c=this['fsi']['getMakaProjectConfig']();await this[n(0x16c)][n(0x178)](c,async()=>{const o=n,d=paramCase(b[o(0x16f)]),f={'name':b[o(0x16f)],'fileName':d,'className':pascalCase(b[o(0x16f)]),'camelCase':camelCase(b[o(0x16f)]),'noRename':!![]};let g='js';c[o(0x167)]['js']===o(0x180)&&(g='ts');await this[o(0x16c)][o(0x17d)]([o(0x15f),'ddp-rate-limiter',o(0x16d)],{'shouldInstall':!![]}),await this[o(0x16c)][o(0x16b)]({'srcPath':o(0x170),'destPath':this[o(0x16c)][o(0x181)]({'pathParts':[o(0x168),o(0x16a),b[o(0x169)],o(0x177),b['dir'],d+o(0x172)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x165)]+'/':'/',i=this[o(0x16c)][o(0x181)]({'pathParts':[o(0x168),o(0x16a),b[o(0x169)],o(0x164)+c[o(0x167)]['js']]});await this['fsi'][o(0x160)]({'filePath':i,'content':o(0x17a)+h+d+o(0x171)});});}catch(d){Log['error'](d);}});
@@ -1 +1 @@
1
- const a134o=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=parseInt(l(0xa8))/0x1*(parseInt(l(0xa6))/0x2)+-parseInt(l(0xb0))/0x3+-parseInt(l(0xb2))/0x4+-parseInt(l(0xae))/0x5+parseInt(l(0x88))/0x6*(-parseInt(l(0xa3))/0x7)+-parseInt(l(0x8c))/0x8+parseInt(l(0xaf))/0x9*(parseInt(l(0xa0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x1e3c6));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0x8b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a[n(0x8f)]()['search']('(((.+)+)+)+$')[n(0x8f)]()[n(0xab)](a134a)[n(0xa7)]('(((.+)+)+)+$');});a134a();import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x88;let f=c[d];return f;},a134d(a,b);}function a134c(){const r=['resourceName','792096YwzxjO','474OrAEjO','create','theme','apply','943832VkfdZE','server','pathFromApp','toString','engines','withValue','lib','package/package.js','.js','layout','features','dir','tests/server','client','packages','/client/','pathFromProject','package/','graphql','pathFromAppWithNoReWrite','400ExODis','hasOwnProperty','tests/client','6769rjngTw','fsi','relative','714rJRrBI','search','554QKzLyF','template','package','constructor','maka\x20g:package\x20todos:package','getMakaProjectConfig','649630uSJues','137727tVFjZg','491190naBumz'];a134c=function(){return r;};return a134c();}Generator[a134o(0x89)]({'name':a134o(0xaa),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a134o(0x97)],'examples':[a134o(0xac)]},async function(a,b){const p=a134o,c=paramCase(b[p(0xb1)]),d=this[p(0xa4)][p(0x8e)]({'pathParts':[p(0x9a),b[p(0x97)],c]}),e=this[p(0xa4)][p(0x9f)]({'pathParts':[p(0x9a),b[p(0x97)],c,'package.js']}),f=this[p(0xa4)][p(0xad)]();await this[p(0xa4)][p(0x91)](f,async()=>{const q=p,g={'name':paramCase(b[q(0xb1)]),'myPath':a134e[q(0xa5)](this[q(0xa4)][q(0x9c)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xb1)]),'fileName':c,'client':f[q(0x90)][q(0x99)],'graphql':f['engines'][q(0x9e)],'ssr':f[q(0x90)]['ssr'],'isComponent':b[q(0xa1)]('component'),'isLayout':b[q(0xa1)](q(0x95)),'isStore':b[q(0xa1)]('store'),'features':f[q(0x96)],'noRename':!![],'theme':f['engines'][q(0x8a)]};await this[q(0xa4)]['template']({'srcPath':q(0x93),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+q(0x9b)+c+q(0x94);await this[q(0xa4)][q(0xa9)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[q(0x92),q(0x8d),q(0xa2),q(0x98)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0xa4)][q(0xa9)]({'srcPath':q(0x9d)+j+'/package.js','destPath':k,'context':g,'config':f});}});});
1
+ const a134n=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=parseInt(l(0x8c))/0x1*(-parseInt(l(0x8b))/0x2)+parseInt(l(0x80))/0x3*(parseInt(l(0x9d))/0x4)+parseInt(l(0x9e))/0x5+parseInt(l(0x85))/0x6+parseInt(l(0x94))/0x7+-parseInt(l(0x89))/0x8*(-parseInt(l(0x97))/0x9)+parseInt(l(0x9a))/0xa*(-parseInt(l(0x72))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x54e19));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const m=a134d;return a134a[m(0x7e)]()['search'](m(0x96))['toString']()['constructor'](a134a)[m(0x7d)]('(((.+)+)+)+$');});a134a();function a134c(){const q=['resourceName','4471922irzeUR','packages','(((.+)+)+)+$','9YEdrUe','getMakaProjectConfig','withValue','230OyWfak','server','pathFromApp','48916ARzPeP','1115745GldNKy','512413EChKCo','graphql','noRename','client','relative','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','create','/client/','pathFromProject','maka\x20g:package\x20todos:package','package/package.js','search','toString','.js','129SzHPPp','package/','theme','template','store','2204106SjmJpe','tests/server','engines','hasOwnProperty','1822312TXBRJQ','layout','56390tmktWI','20MdGgAw','dir','fsi','package','tests/client','component','/package.js'];a134c=function(){return q;};return a134c();}import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x72;let f=c[d];return f;},a134d(a,b);}Generator[a134n(0x78)]({'name':a134n(0x8f),'aliases':['p'],'usage':a134n(0x77),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a134n(0x8d)],'examples':[a134n(0x7b)]},async function(a,b){const o=a134n,c=paramCase(b[o(0x93)]),d=this['fsi'][o(0x9c)]({'pathParts':[o(0x95),b[o(0x8d)],c]}),e=this[o(0x8e)]['pathFromAppWithNoReWrite']({'pathParts':[o(0x95),b[o(0x8d)],c,'package.js']}),f=this['fsi'][o(0x98)]();await this[o(0x8e)][o(0x99)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x93)]),'myPath':a134e[p(0x76)](this[p(0x8e)][p(0x7a)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[p(0x93)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[p(0x87)][p(0x75)],'graphql':f['engines'][p(0x73)],'ssr':f['engines']['ssr'],'isComponent':b['hasOwnProperty'](p(0x91)),'isLayout':b[p(0x88)](p(0x8a)),'isStore':b[p(0x88)](p(0x84)),'features':f['features'],'noRename':!![],'theme':f['engines'][p(0x82)]};await this['fsi'][p(0x83)]({'srcPath':p(0x7c),'destPath':e,'context':g,'config':f}),g[p(0x74)]=![];const h=d+p(0x79)+c+p(0x7f);await this[p(0x8e)][p(0x83)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=['lib',p(0x9b),p(0x90),p(0x86)];for(const j of i){const k=d+'/'+j+'/'+c+p(0x7f);await this['fsi'][p(0x83)]({'srcPath':p(0x81)+j+p(0x92),'destPath':k,'context':g,'config':f});}});});