@maka/maka-cli 4.13.4 → 4.13.6

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 (164) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/aws/_index.js +1 -1
  109. package/bundle/obf/src/generators/aws/aws.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/templates/aws/cloudformation/create-ec2-instance.template +3 -3
  145. package/bundle/obf/src/tool.js +1 -1
  146. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  148. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  150. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  152. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  153. package/bundle/obf/src/tools/https/https.class.js +1 -1
  154. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  155. package/bundle/obf/src/tools/log/log.class.js +1 -1
  156. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/options/options.class.js +1 -1
  158. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  160. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  162. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  164. package/package.json +1 -1
@@ -1 +1 @@
1
- const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x125))/0x1*(-parseInt(l(0x108))/0x2)+parseInt(l(0x10e))/0x3+-parseInt(l(0x10a))/0x4*(-parseInt(l(0x128))/0x5)+parseInt(l(0x10c))/0x6+-parseInt(l(0x127))/0x7*(parseInt(l(0xfb))/0x8)+-parseInt(l(0x116))/0x9+parseInt(l(0x101))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x6f113));function a117c(){const r=['warn','220414jkbljY','graphql','7368ZdsxhT','apply','5335200WSkjKf','react','1115817TadnAa','template','theme','error','pages','css','fsi','test','626967fmtnLB','hook/hook.js','cssCaseName','engines','notice','apollo','import\x20\x27./','layouts','hook','force','/imports/ui/','string','resourceName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','dir','8XLxobk','Creating\x20','328825PjIbUx','1465AocWRB','toString','relative','assign','components','\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','/imports/ui/components','@apollo/client','constructor','pathFromApp','setTemplate','checkNpmPackage','withValue','pathFromProject','.css','\x20hook...','none','120Edoryb','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','.js','features','template/template.css','search','3100300iCGixQ','(((.+)+)+)+$','baseDir','injectTemplateModule','fileName','maka\x20g:hook\x20cool-hook'];a117c=function(){return r;};return a117c();}function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xf4;let f=c[d];return f;},a117d(a,b);}const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x129)]()[n(0x100)](n(0x102))[n(0x129)]()[n(0x130)](a117a)[n(0x100)](n(0x102));});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['create']({'name':a117o(0x11e),'aliases':['h'],'checkWhere':![],'usage':a117o(0xfc),'shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':a117o(0x103),'values':['hooks',a117o(0x12c),a117o(0x112),a117o(0x11d)]},{'name':a117o(0x11f),'boolFlag':!![]}],'examples':[a117o(0x106)],'description':a117o(0x12d)},async function(a,b){const p=a117o;Log[p(0x11a)](p(0x126)+b[p(0x122)]+p(0xf9));try{const c=this[p(0x114)]['checkNpmPackage'](p(0x10d));if(!c){Log[p(0x111)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this['fsi']['findAppDirectory'](),f=b[p(0x103)]?p(0x120)+b[p(0x103)]:p(0x12e),g=this['fsi'][p(0x131)]({'pathParts':[f,b[p(0x124)],paramCase(b['resourceName']),paramCase(b[p(0x122)])]}),h=await this['fsi']['getMakaProjectConfig']();await this[p(0x114)][p(0xf6)](h,async()=>{const q=p;typeof h[q(0x10f)]['css']===q(0x121)&&(h[q(0x10f)][q(0x113)]=h[q(0x10f)]['css']==='true'?!![]:![],this[q(0x114)][q(0xf4)](q(0x113),h[q(0x10f)][q(0x113)]));h[q(0x119)][q(0x109)]===q(0x11b)&&!this['fsi'][q(0xf5)](q(0x12f))&&(Log[q(0x107)](q(0x123)),await this[q(0x114)]['installNpmPackage']('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x122)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[q(0x122)]),'name':pascalCase(b[q(0x122)]),'graphql':h[q(0x119)][q(0x109)],'theme':h[q(0x119)][q(0x110)],'features':h[q(0xfe)],'myPath':a117e[q(0x12a)](this['fsi'][q(0xf7)]({}),g),'fileName':paramCase(b[q(0x122)]),'isComponent':![],'isLayout':![],'withTranslations':h['features']['withTranslations']};await this[q(0x114)]['template']({'srcPath':q(0x117),'destPath':g+q(0xfd),'context':i,'config':h,'framework':'react','force':b['force']});h['template']['css']&&(await this[q(0x114)][q(0x10f)]({'srcPath':q(0xff),'destPath':g+q(0xf8),'context':Object[q(0x12b)]({},i,{'className':i[q(0x118)]}),'config':h,'force':b[q(0x11f)]}),await this[q(0x114)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[q(0x119)]['js'],'content':q(0x11c)+i[q(0x105)]+'.'+h['engines'][q(0x113)]+'\x27;'}));h[q(0x119)][q(0x115)]!==q(0xfa)&&await this[q(0x114)][q(0x10f)]({'srcPath':'test/test.js','destPath':g+'.app-tests.js','framework':'react','context':i,'config':h,'force':b[q(0x11f)]});const j=b[q(0x124)]?'/'+b[q(0x124)]+'/':'/',k=''+f+j+i[q(0x105)]+'/'+i[q(0x105)];await this[q(0x114)][q(0x104)](i['className'],h,k);});}catch(i){Log[p(0x111)](i);}});
1
+ const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0xca))/0x1+parseInt(l(0x103))/0x2+parseInt(l(0xf2))/0x3+parseInt(l(0xe5))/0x4+-parseInt(l(0xd0))/0x5+-parseInt(l(0xcc))/0x6+-parseInt(l(0xce))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xb7cc4));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a['toString']()[n(0xfa)](n(0xf3))['toString']()['constructor'](a117a)[n(0xfa)](n(0xf3));});function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xc8;let f=c[d];return f;},a117d(a,b);}a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a117c(){const r=['apply','hooks','checkNpmPackage','none','/imports/ui/','true','injectTemplateModule','.app-tests.js','react','relative','string','4480224odUmlz','(((.+)+)+)+$','error','resourceName','baseDir','theme','features','pages','search','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','engines','components','.js','template/template.css','maka\x20g:hook\x20cool-hook','warn','setTemplate','498224TOzVVY','Creating\x20','notice','findAppDirectory','css','94974MQlViY','assign','417984zNOYNf','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','6256992gkLWAC','pathFromProject','4649885hNceHp','hook','fsi','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','test','layouts','cssCaseName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','@apollo/client','installNpmPackage','\x20hook...','create','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','dir','fileName','force','hook/hook.js','test/test.js','@apollo/client\x20isomorphic-fetch','template','import\x20\x27./','3995148emqozg','getMakaProjectConfig'];a117c=function(){return r;};return a117c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117o(0xdb)]({'name':a117o(0xd1),'aliases':['h'],'checkWhere':![],'usage':a117o(0xdc),'shortDesc':a117o(0xd3),'validOpts':[{'name':a117o(0xf6),'values':[a117o(0xe8),a117o(0xfd),a117o(0xf9),a117o(0xd5)]},{'name':'force','boolFlag':!![]}],'examples':[a117o(0x100)],'description':a117o(0xcd)},async function(a,b){const p=a117o;Log[p(0x105)](p(0x104)+b[p(0xf5)]+p(0xda));try{const c=this[p(0xd2)][p(0xe9)](p(0xef));if(!c){Log[p(0xf4)](p(0xfb));throw new UsageError();}const d=this['fsi'][p(0xc8)](),f=b['baseDir']?p(0xeb)+b[p(0xf6)]:'/imports/ui/components',g=this[p(0xd2)]['pathFromApp']({'pathParts':[f,b['dir'],paramCase(b[p(0xf5)]),paramCase(b['resourceName'])]}),h=await this[p(0xd2)][p(0xe6)]();await this[p(0xd2)]['withValue'](h,async()=>{const q=p;typeof h[q(0xe3)][q(0xc9)]===q(0xf1)&&(h['template'][q(0xc9)]=h[q(0xe3)][q(0xc9)]===q(0xec)?!![]:![],this[q(0xd2)][q(0x102)]('css',h[q(0xe3)][q(0xc9)]));h[q(0xfc)]['graphql']==='apollo'&&!this[q(0xd2)]['checkNpmPackage'](q(0xd8))&&(Log[q(0x101)](q(0xd7)),await this['fsi'][q(0xd9)](q(0xe2),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0xf5)]),'camelCaseName':camelCase(b[q(0xf5)]),'className':pascalCase(b[q(0xf5)]),'name':pascalCase(b['resourceName']),'graphql':h[q(0xfc)]['graphql'],'theme':h[q(0xfc)][q(0xf7)],'features':h[q(0xf8)],'myPath':a117e[q(0xf0)](this[q(0xd2)][q(0xcf)]({}),g),'fileName':paramCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':h[q(0xf8)]['withTranslations']};await this[q(0xd2)]['template']({'srcPath':q(0xe0),'destPath':g+q(0xfe),'context':i,'config':h,'framework':q(0xef),'force':b[q(0xdf)]});h[q(0xe3)][q(0xc9)]&&(await this[q(0xd2)][q(0xe3)]({'srcPath':q(0xff),'destPath':g+'.css','context':Object[q(0xcb)]({},i,{'className':i[q(0xd6)]}),'config':h,'force':b[q(0xdf)]}),await this[q(0xd2)]['injectAtBeginningOfFile']({'filePath':g+'.'+h['engines']['js'],'content':q(0xe4)+i[q(0xde)]+'.'+h[q(0xfc)][q(0xc9)]+'\x27;'}));h[q(0xfc)][q(0xd4)]!==q(0xea)&&await this[q(0xd2)][q(0xe3)]({'srcPath':q(0xe1),'destPath':g+q(0xee),'framework':'react','context':i,'config':h,'force':b[q(0xdf)]});const j=b[q(0xdd)]?'/'+b[q(0xdd)]+'/':'/',k=''+f+j+i[q(0xde)]+'/'+i[q(0xde)];await this[q(0xd2)][q(0xed)](i['className'],h,k);});}catch(i){Log['error'](i);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xc5))/0x1+-parseInt(f(0xc0))/0x2+-parseInt(f(0xbd))/0x3*(-parseInt(f(0xbb))/0x4)+-parseInt(f(0xc3))/0x5+-parseInt(f(0xc4))/0x6*(parseInt(f(0xc1))/0x7)+parseInt(f(0xbc))/0x8*(parseInt(f(0xc6))/0x9)+parseInt(f(0xb9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xd29df));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xba)]()[h(0xbf)](h(0xc2))[h(0xba)]()[h(0xb8)](a118a)[h(0xbf)](h(0xc2));});a118a();function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xb8;var f=c[d];return f;},a118d(a,b);}import'./kit.js';import'./mui/_index.js';function a118c(){var i=['constructor','31121040CDhiKb','toString','28yQRtch','24iPVIDj','146499MFVXBG','apply','search','1405320TOaGIM','1631GUuyEm','(((.+)+)+)+$','4003885LlgYVJ','25368VQbtui','149253brsMit','139698IZJkZO'];a118c=function(){return i;};return a118c();}import'./esri/_index.js';import'./auth/_index.js';
1
+ (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x1f6))/0x1*(-parseInt(f(0x1ee))/0x2)+parseInt(f(0x1ef))/0x3*(-parseInt(f(0x1f2))/0x4)+-parseInt(f(0x1f8))/0x5*(-parseInt(f(0x1ed))/0x6)+-parseInt(f(0x1eb))/0x7*(-parseInt(f(0x1f1))/0x8)+parseInt(f(0x1fa))/0x9*(parseInt(f(0x1f4))/0xa)+parseInt(f(0x1ec))/0xb+parseInt(f(0x1fb))/0xc*(-parseInt(f(0x1f9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x623f8));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1f0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1f7)]()[h(0x1f3)]('(((.+)+)+)+$')[h(0x1f7)]()['constructor'](a118a)['search'](h(0x1f5));});a118a();function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1eb;var f=c[d];return f;},a118d(a,b);}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a118c(){var i=['6994141VuLILQ','1170zcWKHT','642pPxSYU','3tZOIjX','apply','157976kVLwYm','2580216LsRzgX','search','20JArgoG','(((.+)+)+)+$','854sXvElf','toString','2845IEYECG','2340663mUYGFA','840879oCUcOQ','12FiPuDE','7cbdowm'];a118c=function(){return i;};return a118c();}import'./auth/_index.js';
@@ -1 +1 @@
1
- (function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0xfe))/0x1*(parseInt(f(0xf5))/0x2)+-parseInt(f(0xf1))/0x3+parseInt(f(0xf2))/0x4*(-parseInt(f(0xef))/0x5)+parseInt(f(0xf0))/0x6*(-parseInt(f(0xf9))/0x7)+-parseInt(f(0xf7))/0x8*(-parseInt(f(0xfd))/0x9)+parseInt(f(0xf4))/0xa+-parseInt(f(0xfa))/0xb*(-parseInt(f(0xf8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xacabb));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0xf6)]()[h(0xf3)](h(0xfc))['toString']()['constructor'](a119a)[h(0xf3)]('(((.+)+)+)+$');});a119a();import'./auth.generator.js';import'./provider.auth.gen.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0xef;var f=c[d];return f;},a119d(a,b);}function a119c(){var i=['apply','(((.+)+)+)+$','101457JUVldq','1319903welLMy','248065NQzFAG','1178220dPMOAi','432024zDFzZp','4MufloU','search','585450HuBSJP','2WZyPYz','toString','184ZRyhrr','564OPSGTX','42MQyZpl','721127DSWpZW'];a119c=function(){return i;};return a119c();}import'./basic-meteor.auth.gen.js';
1
+ (function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x91))/0x1+parseInt(f(0x93))/0x2*(-parseInt(f(0x87))/0x3)+parseInt(f(0x88))/0x4*(-parseInt(f(0x90))/0x5)+-parseInt(f(0x92))/0x6+parseInt(f(0x8d))/0x7*(parseInt(f(0x8b))/0x8)+parseInt(f(0x89))/0x9+parseInt(f(0x8c))/0xa*(parseInt(f(0x8f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xd05be));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x8a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x85)]()[h(0x94)](h(0x86))['toString']()[h(0x8e)](a119a)[h(0x94)](h(0x86));});a119a();function a119c(){var i=['2081782jvOFXv','search','toString','(((.+)+)+)+$','3afZFZU','128GzwnkZ','36045SjcnPy','apply','37728XBlJQU','110mtuUKP','952IQtUan','constructor','3531000eUUaNO','101825pptjeb','339650ZTDXGv','7744332VtReAl'];a119c=function(){return i;};return a119c();}import'./auth.generator.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x85;var f=c[d];return f;},a119d(a,b);}import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
@@ -1 +1 @@
1
- const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=parseInt(f(0xe4))/0x1*(parseInt(f(0xdc))/0x2)+parseInt(f(0xde))/0x3+-parseInt(f(0xe3))/0x4*(parseInt(f(0xe6))/0x5)+-parseInt(f(0xe9))/0x6*(parseInt(f(0xe0))/0x7)+-parseInt(f(0xd6))/0x8+parseInt(f(0xd9))/0x9*(parseInt(f(0xe1))/0xa)+-parseInt(f(0xe5))/0xb*(-parseInt(f(0xd7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x51bed));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0xdf)]()['search'](h(0xda))['toString']()[h(0xdd)](a120a)[h(0xd8)]('(((.+)+)+)+$');});a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator[a120i(0xdb)]({'name':a120i(0xe8),'aliases':['a'],'usage':a120i(0xd3),'noNeedResource':!![],'shortDesc':a120i(0xd4),'validOpts':[''],'isPro':!![],'examples':[a120i(0xe7)],'description':a120i(0xd2)},async function(){const j=a120i;throw j(0xd5);},async function(){},a120e);function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xd2;let f=c[d];return f;},a120d(a,b);}export default AuthGen;function a120c(){const k=['22tSSEez','6065zwxdEW','maka\x20g:kit:a','auth','6GcCMHM','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','NIE','2431568pQHVct','2021604QHQbdf','search','68661jCLIkf','(((.+)+)+)+$','create','608wHdSIT','constructor','1285254ewPcvg','toString','911582bIRHtp','60aKlnqE','apply','1796vcalCp','1653qcjHub'];a120c=function(){return k;};return a120c();}
1
+ const a120h=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=parseInt(f(0xcf))/0x1+parseInt(f(0xcc))/0x2+-parseInt(f(0xd1))/0x3+-parseInt(f(0xc7))/0x4+parseInt(f(0xca))/0x5+-parseInt(f(0xc5))/0x6+-parseInt(f(0xc9))/0x7*(-parseInt(f(0xcd))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x45381));function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xc5;let f=c[d];return f;},a120d(a,b);}const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const g=a120d;return a120a[g(0xcb)]()[g(0xd0)]('(((.+)+)+)+$')[g(0xcb)]()['constructor'](a120a)[g(0xd0)](g(0xc6));});function a120c(){const j=['\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','NIE','1380054BoTItJ','(((.+)+)+)+$','184520kZkmXX','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','224pyYbpu','1520950JkTYGD','toString','146370NTJRgo','3128nDAmhN','maka\x20g:kit:a','257714OAnXFc','search','263823uVwhho'];a120c=function(){return j;};return a120c();}a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator['create']({'name':'auth','aliases':['a'],'usage':a120h(0xc8),'noNeedResource':!![],'shortDesc':a120h(0xd3),'validOpts':[''],'isPro':!![],'examples':[a120h(0xce)],'description':a120h(0xd2)},async function(){const i=a120h;throw i(0xd4);},async function(){},a120e);export default AuthGen;
@@ -1 +1 @@
1
- const a121r=a121d;function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xa3;let f=c[d];return f;},a121d(a,b);}(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0xbd))/0x1+parseInt(o(0xa4))/0x2*(-parseInt(o(0xde))/0x3)+-parseInt(o(0xca))/0x4*(parseInt(o(0xb7))/0x5)+parseInt(o(0xe2))/0x6*(parseInt(o(0xce))/0x7)+-parseInt(o(0xc0))/0x8*(-parseInt(o(0xd1))/0x9)+parseInt(o(0xa6))/0xa+-parseInt(o(0xd0))/0xb*(parseInt(o(0xad))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x57362));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0xc3)]()[q(0xb3)](q(0xab))[q(0xc3)]()['constructor'](a121a)[q(0xb3)](q(0xab));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a121c(){const u=['true','26394GMZhgy','processAndRunGenerator','injectIntoCodeBlock','authentication-provider','6LLVmDp','AuthService','4287230AUoFGV','const\x20authenticateUser','\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','server','create','(((.+)+)+)+$','fsi','823788HZoEPC','\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','imports','\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','REACT','injectImport','search','useTracker','const\x20resetPasswordWithToken','meteor/maka:react-tracker','278315RKavMh','meteor','auth/roles','engines','accounts-password','force','99676nRYbtM','findProjectDirectory','/imports/startup/lib','1356664PIlzgd','kit/auth/service/meteor-auth-service.js','Meteor.publish','toString','apply','ssr','const\x20getUserAuthorizations','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','\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','const\x20sendForgotPasswordEmail','44SwPurH','Meteor.startup','meteor/meteor','template','959FehhyQ','\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','11VNCUtL','9pcXxLr','checkMeteorPackage','meteor/accounts-base','index','/imports/startup/client/authentication-service','const\x20authenticateToken','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','Meteor','withValue','pathFromApp','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','error','262485UQrxMT','alanning:roles','exit'];a121c=function(){return u;};return a121c();}import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0xaa)]({'name':a121r(0xb8),'aliases':['m'],'usage':a121r(0xc7),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a121r(0xbc)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0xb1)]},'description':a121r(0xae)},async function(a,b){const s=a121r;try{const c=b[s(0xbc)]||![];await this[s(0xac)][s(0xd2)]([s(0xbb),s(0xdf)],{'shouldInstall':!![]});const d=this['fsi'][s(0xbe)](),f=this[s(0xac)]['getMakaProjectConfig'](),g=f[s(0xba)][s(0xc5)]===s(0xe1);await a121f[s(0xe3)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0xe3)]('publish',[s(0xb9)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0xbf):'/imports/startup/client',j=this[s(0xac)]['pathFromApp']({'pathParts':[i,'','','authentication-service']});await this[s(0xac)][s(0xd9)](f,async()=>{const t=s;await this[t(0xac)][t(0xcd)]({'srcPath':t(0xc1),'destPath':j+'.js','framework':'react','context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0xac)][s(0xda)]({'pathParts':[i,'','',s(0xa3)]}),l=f[s(0xba)]['js'];await this['fsi'][s(0xb2)]({'filePath':k+'.'+l,'importName':s(0xa5),'modulePath':g?'/imports/startup/lib/authentication-service':s(0xd5),'isNamedExport':![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0xd7),'begin':s(0xa7),'replace':!![]}),await this['fsi'][s(0xe4)]({'filePath':k+'.'+l,'content':s(0xb0),'begin':s(0xd6),'replace':!![]}),await this[s(0xac)][s(0xe4)]({'filePath':k+'.'+l,'content':s(0xcf),'begin':s(0xc6),'replace':!![]}),await this[s(0xac)][s(0xe4)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20deauthenticateUser','replace':!![]}),await this[s(0xac)][s(0xe4)]({'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(0xc9),'replace':!![]}),await this[s(0xac)][s(0xe4)]({'filePath':k+'.'+l,'content':s(0xdc),'begin':'const\x20registerNewUser','replace':!![]}),await this[s(0xac)][s(0xe4)]({'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(0xb5),'replace':!![]});g&&(await this['fsi'][s(0xb2)]({'filePath':k+'.'+l,'importName':s(0xb4),'modulePath':s(0xb6),'isNamedExport':!![]}),await this[s(0xac)]['injectIntoFile']({'filePath':k+'.'+l,'content':s(0xa8),'begin':'export\x20const\x20AuthProvider','end':'return\x20\x5c('}));await this[s(0xac)][s(0xb2)]({'filePath':h,'importName':s(0xd8),'modulePath':s(0xcc),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0xac)]['injectIntoCodeBlock']({'filePath':h,'content':s(0xc8),'begin':s(0xc2),'replace':!![]});const m=this[s(0xac)]['pathFromApp']({'pathParts':[s(0xaf),'startup',s(0xa9),s(0xd4)]});await this[s(0xac)]['injectImport']({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0xd3),'isNamedExport':!![]}),await this[s(0xac)][s(0xe4)]({'filePath':m+'.'+l,'content':s(0xdb),'begin':s(0xcb),'replace':!![]});}catch(n){Log[s(0xdd)](n),process[s(0xe0)](0x1);}},async function(){},a121e);
1
+ const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(0x1fc))/0x1+parseInt(o(0x215))/0x2*(-parseInt(o(0x1f7))/0x3)+-parseInt(o(0x209))/0x4+parseInt(o(0x224))/0x5*(parseInt(o(0x226))/0x6)+-parseInt(o(0x21c))/0x7+parseInt(o(0x20b))/0x8*(parseInt(o(0x21f))/0x9)+-parseInt(o(0x1fe))/0xa*(-parseInt(o(0x21d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x1d921));function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a121d(a,b);}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x200)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a['toString']()[q(0x1e6)](q(0x21a))[q(0x1ee)]()['constructor'](a121a)['search'](q(0x21a));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';function a121c(){const u=['Meteor','const\x20resetPasswordWithToken','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client/authentication-service','force','injectIntoFile','authentication-provider','getMakaProjectConfig','imports','4538xxssJx','index','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','fsi','/imports/startup/lib/authentication-service','(((.+)+)+)+$','REACT','1062292GGeqVd','275nyWJOj','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','621eqPDHY','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','Meteor.startup','publish','meteor','207335OyURTQ','react','12lFNLfR','accounts-password','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','true','engines','pathFromApp','search','const\x20registerNewUser','export\x20const\x20AuthProvider','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','create','const\x20authenticateToken','injectIntoCodeBlock','const\x20authenticateUser','toString','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','injectImport','const\x20deauthenticateUser','processAndRunGenerator','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','auth/roles','/imports/startup/lib','template','204Xswzvo','meteor/accounts-base','/imports/startup/client','authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','194962GwBDAV','Accounts','251920zZjctV','meteor/maka:react-tracker','apply','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','Meteor.publish','AuthService','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','const\x20getUserAuthorizations','error','return\x20\x5c(','useTracker','906132jjiyIP','withValue','15760jeGNFF'];a121c=function(){return u;};return a121c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x1ea)]({'name':a121r(0x223),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a121r(0x1ef),'validOpts':[a121r(0x210)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x21b)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20'},async function(a,b){const s=a121r;try{const c=b[s(0x210)]||![];await this['fsi']['checkMeteorPackage']([s(0x227),'alanning:roles'],{'shouldInstall':!![]});const d=this[s(0x218)]['findProjectDirectory'](),f=this[s(0x218)][s(0x213)](),g=f[s(0x22a)]['ssr']===s(0x229);await a121f[s(0x1f2)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a121f['processAndRunGenerator'](s(0x222),[s(0x1f4)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x1f5):s(0x1f9),j=this['fsi']['pathFromApp']({'pathParts':[i,'','',s(0x1fa)]});await this[s(0x218)][s(0x20a)](f,async()=>{const t=s;await this[t(0x218)][t(0x1f6)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+'.js','framework':t(0x225),'context':{},'config':f,'force':c,'ignore':![]});});const k=this['fsi'][s(0x22b)]({'pathParts':[i,'','',s(0x212)]}),l=f[s(0x22a)]['js'];await this['fsi'][s(0x1f0)]({'filePath':k+'.'+l,'importName':s(0x203),'modulePath':g?s(0x219):s(0x20f),'isNamedExport':![]}),await this[s(0x218)][s(0x1ec)]({'filePath':k+'.'+l,'content':s(0x20e),'begin':s(0x1ed),'replace':!![]}),await this[s(0x218)][s(0x1ec)]({'filePath':k+'.'+l,'content':s(0x228),'begin':s(0x1eb),'replace':!![]}),await this[s(0x218)][s(0x1ec)]({'filePath':k+'.'+l,'content':s(0x220),'begin':s(0x205),'replace':!![]}),await this[s(0x218)][s(0x1ec)]({'filePath':k+'.'+l,'content':s(0x1f3),'begin':s(0x1f1),'replace':!![]}),await this[s(0x218)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x21e),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await this['fsi'][s(0x1ec)]({'filePath':k+'.'+l,'content':s(0x204),'begin':s(0x1e7),'replace':!![]}),await this['fsi'][s(0x1ec)]({'filePath':k+'.'+l,'content':s(0x201),'begin':s(0x20d),'replace':!![]});g&&(await this['fsi'][s(0x1f0)]({'filePath':k+'.'+l,'importName':s(0x208),'modulePath':s(0x1ff),'isNamedExport':!![]}),await this[s(0x218)][s(0x211)]({'filePath':k+'.'+l,'content':s(0x1e9),'begin':s(0x1e8),'end':s(0x207)}));await this[s(0x218)][s(0x1f0)]({'filePath':h,'importName':s(0x20c),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x218)][s(0x1ec)]({'filePath':h,'content':s(0x1fb),'begin':s(0x202),'replace':!![]});const m=this[s(0x218)]['pathFromApp']({'pathParts':[s(0x214),'startup','server',s(0x216)]});await this[s(0x218)][s(0x1f0)]({'filePath':m+'.'+l,'importName':s(0x1fd),'modulePath':s(0x1f8),'isNamedExport':!![]}),await this[s(0x218)][s(0x1ec)]({'filePath':m+'.'+l,'content':s(0x217),'begin':s(0x221),'replace':!![]});}catch(n){Log[s(0x206)](n),process['exit'](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- const a122w=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0x169))/0x1+-parseInt(u(0x162))/0x2*(-parseInt(u(0x15c))/0x3)+-parseInt(u(0x150))/0x4*(-parseInt(u(0x161))/0x5)+-parseInt(u(0x173))/0x6*(parseInt(u(0x166))/0x7)+parseInt(u(0x149))/0x8*(-parseInt(u(0x168))/0x9)+parseInt(u(0x167))/0xa+parseInt(u(0x158))/0xb*(parseInt(u(0x14c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xc1523));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const v=a122d;return a122a[v(0x154)]()['search'](v(0x171))[v(0x154)]()[v(0x155)](a122a)[v(0x16d)](v(0x171));});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x140;let f=c[d];return f;},a122d(a,b);}import a122e from'./auth.generator.js';import{headerCase}from'change-case';function a122c(){const z=['8609067AXuCev','11954LYvPDp','\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','withValue','getMakaProjectConfig','search','fsi','injectImport','/imports/startup/client','(((.+)+)+)+$','useContext','582RgCGbT','/imports/startup/client/index','engines','ssr','/routes','.js','injectIntoCodeBlock','const\x20Routes','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','injectAroundString','8hULSaN','</AuthProvider>','/imports/startup/lib','3478632Lfqkvn','<AuthProvider>','authentication-provider','<Routes\x20history={history}/>','4oGhGqV','react','provider','bright','toString','constructor','/imports/startup/lib/authentication-provider','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','11IZzROQ','template','\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','force','303hzONrF','AuthContext','split','replaceAll','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','396130cQanKZ','23174TxAiqs','/imports/startup/client/authentication-provider','REACT','AuthProvider','85414ZsvJzj','14045550SOgqoE'];a122c=function(){return z;};return a122c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a122w(0x152),'aliases':['p'],'usage':a122w(0x147),'shortDesc':a122w(0x160),'validOpts':[a122w(0x15b)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122w(0x164)]},'description':a122w(0x15a)},async function(a,b){const x=a122w;try{const c=b[x(0x15b)]||![];Log[x(0x153)](x(0x157));const d=this[x(0x16e)][x(0x16c)](),f=d[x(0x141)][x(0x142)]==='true',g={'name':headerCase(d['appName'])[x(0x15f)]('-','\x20')},h=f?x(0x14b):x(0x170),i=this[x(0x16e)]['pathFromApp']({'pathParts':[h,'','',x(0x14e)]});await this[x(0x16e)][x(0x16b)](d,async()=>{const y=x;await this[y(0x16e)][y(0x159)]({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+y(0x144),'framework':y(0x151),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[x(0x141)]['js'],k=h+x(0x143),l=k[x(0x15e)]('/'),m=this[x(0x16e)]['pathFromApp']({'pathParts':l});await this[x(0x16e)][x(0x16f)]({'filePath':m+'.'+j,'importName':x(0x15d),'modulePath':f?x(0x156):x(0x163),'isNamedExport':!![]}),await this[x(0x16e)][x(0x16f)]({'filePath':m+'.'+j,'importName':x(0x172),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x16e)][x(0x145)]({'filePath':m+'.'+j,'content':x(0x16a),'begin':[x(0x146),'function\x20Routes'],'replace':!![]});const n=x(0x140),o=n[x(0x15e)]('/'),p=this[x(0x16e)]['pathFromApp']({'pathParts':o});await this[x(0x16e)][x(0x16f)]({'filePath':p+'.'+j,'importName':x(0x165),'modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x16e)][x(0x148)]({'filePath':p+'.'+j,'aboveContent':x(0x14d),'belowContent':'</AuthProvider>','targetString':'<Routes\x20history={browserHistory}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q['split']('/'),s=this[x(0x16e)]['pathFromApp']({'pathParts':r});await this['fsi']['injectImport']({'filePath':s+'.'+j,'importName':x(0x165),'modulePath':f?x(0x156):x(0x163),'isNamedExport':!![]}),await this['fsi'][x(0x148)]({'filePath':s+'.'+j,'aboveContent':x(0x14d),'belowContent':x(0x14a),'targetString':x(0x14f),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process['exit'](0x1);}},async function(){},a122e);
1
+ const a122w=a122d;function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x89;let f=c[d];return f;},a122d(a,b);}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0x96))/0x1*(-parseInt(u(0x8d))/0x2)+-parseInt(u(0x93))/0x3*(-parseInt(u(0xb7))/0x4)+parseInt(u(0xa5))/0x5*(parseInt(u(0x8f))/0x6)+parseInt(u(0xa0))/0x7*(parseInt(u(0x9b))/0x8)+parseInt(u(0xae))/0x9+-parseInt(u(0xac))/0xa+parseInt(u(0xb3))/0xb*(-parseInt(u(0x98))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xa0d9a));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const v=a122d;return a122a[v(0xb9)]()[v(0x94)]('(((.+)+)+)+$')[v(0xb9)]()[v(0xa9)](a122a)[v(0x94)]('(((.+)+)+)+$');});a122a();function a122c(){const z=['\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','10791010bYIDDH','authentication-provider','10605420uSlNPC','true','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','error','template','1661UcFXAv','create','fsi','function\x20Routes','15908SdVBQQ','injectImport','toString','injectAroundString','withValue','/imports/startup/client/authentication-provider','injectIntoCodeBlock','ssr','force','823010YgoBgA','<AuthProvider>','1721118UJaTuM','/imports/startup/client','exit','/imports/startup/client/index','810DHgSVU','search','/routes','3aBULEO','getMakaProjectConfig','257916OPOxRh','AuthContext','engines','2419696hmeeuW','const\x20Routes','split','AuthProvider','kit/auth/provider/authentication-provider.js','28kBXEEo','react','</AuthProvider>','REACT','appName','5yJmefY','/imports/startup/lib/authentication-provider','provider','<Routes\x20history={history}/>','constructor','pathFromApp'];a122c=function(){return z;};return a122c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122w(0xb4)]({'name':a122w(0xa7),'aliases':['p'],'usage':a122w(0xb0),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122w(0xa3)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const x=a122w;try{const c=b[x(0x8c)]||![];Log['bright']('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this['fsi'][x(0x97)](),f=d[x(0x9a)][x(0x8b)]===x(0xaf),g={'name':headerCase(d[x(0xa4)])['replaceAll']('-','\x20')},h=f?'/imports/startup/lib':x(0x90),i=this['fsi'][x(0xaa)]({'pathParts':[h,'','',x(0xad)]});await this[x(0xb5)][x(0xbb)](d,async()=>{const y=x;await this[y(0xb5)][y(0xb2)]({'srcPath':y(0x9f),'destPath':i+'.js','framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d[x(0x9a)]['js'],k=h+x(0x95),l=k['split']('/'),m=this[x(0xb5)][x(0xaa)]({'pathParts':l});await this['fsi'][x(0xb8)]({'filePath':m+'.'+j,'importName':x(0x99),'modulePath':f?x(0xa6):x(0x89),'isNamedExport':!![]}),await this[x(0xb5)]['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':x(0xa1),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][x(0x8a)]({'filePath':m+'.'+j,'content':x(0xab),'begin':[x(0x9c),x(0xb6)],'replace':!![]});const n=x(0x92),o=n['split']('/'),p=this[x(0xb5)]['pathFromApp']({'pathParts':o});await this[x(0xb5)]['injectImport']({'filePath':p+'.'+j,'importName':x(0x9e),'modulePath':f?x(0xa6):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0xb5)][x(0xba)]({'filePath':p+'.'+j,'aboveContent':x(0x8e),'belowContent':x(0xa2),'targetString':'<Routes\x20history={browserHistory}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[x(0x9d)]('/'),s=this[x(0xb5)]['pathFromApp']({'pathParts':r});await this[x(0xb5)][x(0xb8)]({'filePath':s+'.'+j,'importName':x(0x9e),'modulePath':f?x(0xa6):x(0x89),'isNamedExport':!![]}),await this[x(0xb5)][x(0xba)]({'filePath':s+'.'+j,'aboveContent':x(0x8e),'belowContent':x(0xa2),'targetString':x(0xa8),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0xb1)](t),process[x(0x91)](0x1);}},async function(){},a122e);
@@ -1 +1 @@
1
- (function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0xbf))/0x1*(parseInt(f(0xb9))/0x2)+-parseInt(f(0xc2))/0x3+-parseInt(f(0xba))/0x4*(parseInt(f(0xbb))/0x5)+parseInt(f(0xbd))/0x6+parseInt(f(0xc6))/0x7+-parseInt(f(0xc3))/0x8*(parseInt(f(0xc4))/0x9)+parseInt(f(0xbe))/0xa*(parseInt(f(0xbc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x73574));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0xc7)]()['search'](h(0xc5))[h(0xc7)]()[h(0xc1)](a123a)['search'](h(0xc5));});a123a();function a123c(){var i=['constructor','2538474WAaXjF','8AEuULT','2703924jTkkBp','(((.+)+)+)+$','4689279lCDuoI','toString','54QuHsiz','1916iixlbq','4470PSLRPB','1067cSsdNF','5639442gWJxCx','78670iYGecX','12061NMbLnA','apply'];a123c=function(){return i;};return a123c();}function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0xb9;var f=c[d];return f;},a123d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0x145))/0x1*(parseInt(f(0x14d))/0x2)+parseInt(f(0x146))/0x3*(-parseInt(f(0x149))/0x4)+-parseInt(f(0x148))/0x5+-parseInt(f(0x147))/0x6*(parseInt(f(0x144))/0x7)+parseInt(f(0x14a))/0x8*(parseInt(f(0x142))/0x9)+parseInt(f(0x14c))/0xa*(-parseInt(f(0x14f))/0xb)+parseInt(f(0x150))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xbca5f));function a123c(){var h=['1528741BINtpg','4088616IvRBiR','24QMprQh','2161085EkJZzm','4BXwklY','8toGlLt','search','1449460Zeebqu','2DikkfL','(((.+)+)+)+$','77jqNHgl','26537088fgioUx','9262557igdonc','toString','2077117tCdmKl'];a123c=function(){return h;};return a123c();}var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var g=a123d;return a123a[g(0x143)]()['search'](g(0x14e))[g(0x143)]()['constructor'](a123a)[g(0x14b)](g(0x14e));});a123a();function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x142;var f=c[d];return f;},a123d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0x143))/0x1*(parseInt(f(0x140))/0x2)+-parseInt(f(0x141))/0x3+-parseInt(f(0x14a))/0x4+-parseInt(f(0x153))/0x5*(parseInt(f(0x14e))/0x6)+parseInt(f(0x142))/0x7*(parseInt(f(0x154))/0x8)+-parseInt(f(0x14f))/0x9+-parseInt(f(0x151))/0xa*(-parseInt(f(0x144))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x6d2cd));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x146)]()[h(0x14d)](h(0x149))['toString']()['constructor'](a124a)['search']('(((.+)+)+)+$');});function a124c(){const k=['914vduFBw','2441910lhdBux','7eaKItv','347MlGoyn','22BreJgn','/foo','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','/foo/bar','(((.+)+)+)+$','2745408wWAais','\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','maka\x20g:kit:e','search','126SBksQP','6422355EKvPAs','create','11225330qSadSj','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','3025SOBMmm','4698528QDxwxM','apply'];a124c=function(){return k;};return a124c();}a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x150)]({'name':'esri','aliases':['e'],'usage':a124i(0x147),'noNeedResource':!![],'shortDesc':a124i(0x152),'validOpts':[''],'isPro':!![],'examples':[a124i(0x14c)],'description':a124i(0x14b)},async function(){const j=a124i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0x148)],'filesUpdated':[j(0x145)]}};},async function(){},a124e);function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x140;let f=c[d];return f;},a124d(a,b);}export default EsriGen;
1
+ const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0xb3))/0x1*(-parseInt(f(0xa1))/0x2)+-parseInt(f(0xab))/0x3*(-parseInt(f(0xb2))/0x4)+-parseInt(f(0xa0))/0x5+-parseInt(f(0xb6))/0x6+-parseInt(f(0xa4))/0x7*(-parseInt(f(0xaf))/0x8)+-parseInt(f(0xa5))/0x9*(-parseInt(f(0xa9))/0xa)+parseInt(f(0xad))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x49df2));function a124c(){const k=['290689nKrVJW','550107oBCRIc','search','Esri\x20Kit\x20generated\x20successfully','constructor','40eAVrBn','apply','1517433SJFFEM','(((.+)+)+)+$','2501917JBpvAI','maka\x20g:kit:e','104wMfYfJ','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','create','4TrYubu','276353FLrBCk','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','1795434mTzYEM','1815390upqoNL','4GSfvCC','toString','/foo'];a124c=function(){return k;};return a124c();}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0xa2)]()[h(0xa6)](h(0xac))[h(0xa2)]()[h(0xa8)](a124a)['search'](h(0xac));});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0xb1)]({'name':'esri','aliases':['e'],'usage':a124i(0xb4),'noNeedResource':!![],'shortDesc':a124i(0xb0),'validOpts':[''],'isPro':!![],'examples':[a124i(0xae)],'description':a124i(0xb5)},async function(){const j=a124i;return{'success':!![],'message':j(0xa7),'details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0xa3)]}};},async function(){},a124e);function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xa0;let f=c[d];return f;},a124d(a,b);}export default EsriGen;
@@ -1 +1 @@
1
- const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0x1d7))/0x1+-parseInt(p(0x1cc))/0x2+parseInt(p(0x1de))/0x3+parseInt(p(0x1ed))/0x4*(-parseInt(p(0x1d3))/0x5)+-parseInt(p(0x1d8))/0x6*(parseInt(p(0x1cf))/0x7)+parseInt(p(0x1e1))/0x8*(-parseInt(p(0x1d6))/0x9)+parseInt(p(0x1f2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xc5035));function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1cc;let f=c[d];return f;},a125d(a,b);}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x1e3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x1d2)]()[r(0x1f6)](r(0x1d5))[r(0x1d2)]()['constructor'](a125a)[r(0x1f6)](r(0x1d5));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a125c(){const v=['esri-loader','baseDir','/imports/startup/client/templates','getMakaProjectConfig','split','Generating\x20a\x20map\x20component','page','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','34516JjSBRq','exit','<div\x20id=\x22map\x22>','processAndRunGenerator','engines','30003790WEPJcV','fsi','.js','react','search','true','@esri/react-arcgis','/imports/ui/hooks','FALSE','3087070ZrHfuA','bright','kit/esri/map/','21yjFeyJ','/imports/ui/','pathFromApp','toString','135Dcitfu','map','(((.+)+)+)+$','369zFQjYw','358071ylrSJU','123372HUleat','basic-map','replaceAll','</div>','appName','dir','100956QHhvuF','error','Generate\x20an\x20Esri\x20map\x20component','6008OYCQPE','injectImport','apply','/imports/startup/lib/templates'];a125c=function(){return v;};return a125c();}import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a125s(0x1d4),'aliases':['m'],'usage':a125s(0x1ec),'shortDesc':a125s(0x1e0),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a125s(0x1fa)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const t=a125s;try{Log[t(0x1cd)](t(0x1ea));const c=t(0x1d9);await this[t(0x1f3)]['checkNpmPackage']([t(0x1f8),t(0x1e5)],{'shouldInstall':!![]});const d=this[t(0x1f3)]['findProjectDirectory'](),f=this[t(0x1f3)][t(0x1e8)](),g=f[t(0x1f1)]['ssr']===t(0x1f7),h=await a125f[t(0x1f0)](t(0x1eb),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x1dc)])[t(0x1da)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x1e6)]?t(0x1d0)+b[t(0x1e6)]:t(0x1f9),k=this[t(0x1f3)][t(0x1d1)]({'pathParts':[j,b[t(0x1dd)],paramCase(c),paramCase(c)]});await this['fsi']['withValue'](f,async()=>{const u=t;await this[u(0x1f3)]['template']({'srcPath':u(0x1ce)+c+'.js','destPath':k+u(0x1f4),'framework':u(0x1f5),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x1dd)]+'/'+c+'/'+c;await this[t(0x1f3)]['injectTemplateModule'](c,f,l);const m=h[t(0x1e9)]('/'),n=this['fsi'][t(0x1d1)]({'pathParts':m});await this[t(0x1f3)][t(0x1e2)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x1e4):t(0x1e7),'isNamedExport':!![]}),await this[t(0x1f3)]['injectIntoFile']({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0x1ef),t(0x1ef)],'end':[t(0x1db)],'replace':!![]});}catch(o){Log[t(0x1df)](o),process[t(0x1ee)](0x1);}},async function(){},a125e);
1
+ const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=parseInt(p(0x112))/0x1+-parseInt(p(0x114))/0x2+-parseInt(p(0x128))/0x3+-parseInt(p(0x12f))/0x4*(parseInt(p(0x10d))/0x5)+parseInt(p(0x11e))/0x6+parseInt(p(0x115))/0x7+parseInt(p(0x12a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x1a84e));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x127)]()[r(0x109)]('(((.+)+)+)+$')['toString']()['constructor'](a125a)['search']('(((.+)+)+)+$');});a125a();import{Generator}from'../../../generator.js';function a125c(){const v=['145391AsYgID','apply','388018EoaPTL','100772tFbHRx','<div\x20id=\x22map\x22>','/imports/ui/','template','FALSE','create','Generating\x20a\x20map\x20component','/imports/startup/client/templates','pathFromApp','176550rUIQGs','REACT','bright','@esri/react-arcgis','fsi','getMakaProjectConfig','/imports/ui/hooks','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','processAndRunGenerator','toString','425910PPhZnc','kit/esri/map/','2533560yCUVEZ','page','findProjectDirectory','dir','map','8456KVXJPM','.js','true','search','injectIntoFile','split','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','145jKWlMj','baseDir','appName','engines','error'];a125c=function(){return v;};return a125c();}import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x107;let f=c[d];return f;},a125d(a,b);}import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x11a)]({'name':a125s(0x12e),'aliases':['m'],'usage':a125s(0x10c),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x11f)],'ssr':SsrEngines[a125s(0x119)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const t=a125s;try{Log[t(0x120)](t(0x11b));const c='basic-map';await this[t(0x122)]['checkNpmPackage']([t(0x121),'esri-loader'],{'shouldInstall':!![]});const d=this[t(0x122)][t(0x12c)](),f=this[t(0x122)][t(0x123)](),g=f[t(0x110)]['ssr']===t(0x108),h=await a125f[t(0x126)](t(0x12b),[t(0x12e)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x10f)])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x10e)]?t(0x117)+b['baseDir']:t(0x124),k=this['fsi']['pathFromApp']({'pathParts':[j,b[t(0x12d)],paramCase(c),paramCase(c)]});await this['fsi']['withValue'](f,async()=>{const u=t;await this[u(0x122)][u(0x118)]({'srcPath':u(0x129)+c+u(0x107),'destPath':k+u(0x107),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x12d)]+'/'+c+'/'+c;await this[t(0x122)]['injectTemplateModule'](c,f,l);const m=h[t(0x10b)]('/'),n=this[t(0x122)][t(0x11d)]({'pathParts':m});await this[t(0x122)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x11c),'isNamedExport':!![]}),await this[t(0x122)][t(0x10a)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x125),'begin':[t(0x116),t(0x116)],'end':['</div>'],'replace':!![]});}catch(o){Log[t(0x111)](o),process['exit'](0x1);}},async function(){},a125e);
@@ -1 +1 @@
1
- function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xfc;let f=c[d];return f;},a126d(a,b);}const a126h=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x10a))/0x1+parseInt(f(0x101))/0x2+-parseInt(f(0x107))/0x3+parseInt(f(0x10b))/0x4*(parseInt(f(0x108))/0x5)+parseInt(f(0x103))/0x6+parseInt(f(0x104))/0x7*(-parseInt(f(0x100))/0x8)+parseInt(f(0x102))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xe1dac));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const g=a126d;return a126a[g(0xfe)]()[g(0x105)]('(((.+)+)+)+$')[g(0xfe)]()[g(0x106)](a126a)[g(0x105)](g(0x109));});a126a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a126h(0xfc),'aliases':['k'],'usage':a126h(0xff),'shortDesc':a126h(0xfd),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit','maka\x20g:k']},async function(){});export default KitGen;function a126c(){const i=['(((.+)+)+)+$','1289846HAplhx','2545836XHCnLO','kit','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','toString','maka\x20{generate,\x20g}:{kit}\x20<name>','286872EoCWEI','2261378ZRiphD','19527228gjIqmZ','722100eQMczH','287vuYSQk','search','constructor','1116075SVSwYF','5yryifs'];a126c=function(){return i;};return a126c();}
1
+ const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x190))/0x1*(parseInt(f(0x19c))/0x2)+-parseInt(f(0x19a))/0x3*(parseInt(f(0x199))/0x4)+-parseInt(f(0x194))/0x5+parseInt(f(0x197))/0x6*(parseInt(f(0x1a2))/0x7)+-parseInt(f(0x191))/0x8*(-parseInt(f(0x19d))/0x9)+-parseInt(f(0x1a3))/0xa*(parseInt(f(0x19b))/0xb)+parseInt(f(0x195))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x1b28f));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x19e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x196)]()[h(0x1a0)]('(((.+)+)+)+$')[h(0x196)]()[h(0x1a4)](a126a)[h(0x1a0)](h(0x19f));});a126a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a126i(0x192),'aliases':['k'],'usage':a126i(0x198),'shortDesc':a126i(0x1a1),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x193),'maka\x20g:k']},async function(){});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x190;let f=c[d];return f;},a126d(a,b);}export default KitGen;function a126c(){const j=['42VnDosG','371580OhZWXK','constructor','3LnEZGz','120VMjRIE','kit','maka\x20g:kit','1005050ApXlPw','6301092DyLSWC','toString','63228Ofubqh','maka\x20{generate,\x20g}:{kit}\x20<name>','730952bdHaPU','3rYvgyq','11Kbhtwc','147604jxtYXt','99144eFDBFc','apply','(((.+)+)+)+$','search','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.'];a126c=function(){return j;};return a126c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x143))/0x1*(parseInt(f(0x139))/0x2)+-parseInt(f(0x13d))/0x3*(parseInt(f(0x13e))/0x4)+-parseInt(f(0x13a))/0x5+-parseInt(f(0x13b))/0x6*(parseInt(f(0x13c))/0x7)+-parseInt(f(0x145))/0x8+parseInt(f(0x138))/0x9+parseInt(f(0x142))/0xa*(parseInt(f(0x13f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x53b2f));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x140)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x141)]()[h(0x144)]('(((.+)+)+)+$')[h(0x141)]()['constructor'](a127a)[h(0x144)]('(((.+)+)+)+$');});a127a();function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x138;var f=c[d];return f;},a127d(a,b);}import'./mui.generator.js';function a127c(){var i=['101233PCyXIe','apply','toString','1640rcBRLu','1khgzZW','search','5375720xkjpXf','3430629RkpBBg','92578FjRYTw','1334195CKLdsg','515082kCnOcm','21SuifQV','24342iFrbbp','196lnZjpR'];a127c=function(){return i;};return a127c();}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x9b))/0x1*(-parseInt(f(0x9e))/0x2)+parseInt(f(0x97))/0x3*(parseInt(f(0x95))/0x4)+parseInt(f(0x96))/0x5*(-parseInt(f(0xa1))/0x6)+-parseInt(f(0xa0))/0x7+-parseInt(f(0x9d))/0x8*(-parseInt(f(0x98))/0x9)+-parseInt(f(0x9f))/0xa+-parseInt(f(0xa2))/0xb*(-parseInt(f(0x9a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xd2173));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a['toString']()['search'](h(0x99))[h(0x9c)]()['constructor'](a127a)['search'](h(0x99));});a127a();function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x94;var f=c[d];return f;},a127d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';function a127c(){var i=['5yYwfha','352743fAjeUT','330363vHVWPz','(((.+)+)+)+$','14074716aPtrnk','51531vvxzKW','toString','56EGSEJk','30YtPWmw','9826740CJIBgC','2855657ZEBEsN','6643002lsYNvv','22BKJAVZ','apply','52EISqbc'];a127c=function(){return i;};return a127c();}import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a128I=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=parseInt(G(0x1e9))/0x1+-parseInt(G(0x1e3))/0x2+-parseInt(G(0x1f3))/0x3+-parseInt(G(0x1f8))/0x4*(parseInt(G(0x1fc))/0x5)+-parseInt(G(0x1d6))/0x6*(-parseInt(G(0x1e1))/0x7)+parseInt(G(0x1f7))/0x8*(parseInt(G(0x209))/0x9)+parseInt(G(0x20c))/0xa*(parseInt(G(0x1f6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x66245));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const H=a128d;return a128a['toString']()[H(0x1fa)](H(0x1e4))[H(0x1f4)]()['constructor'](a128a)[H(0x1fa)](H(0x1e4));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';function a128c(){const M=['custom','Meteor\x20Accounts','MATERIAL','fsi','413230sdXZhe','baseDir','login','/imports/startup/client/authentication-provider','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','template','kit/mui/auth/password-reset/','true','basic-register-page','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','81093qWBQEj','toString','route','22lJsLAW','8upAvlq','44FxNVIq','basic-logout-page','search','REACT','117070hCIvVb','/imports/ui/pages/auth','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','/imports/startup/lib/authentication-provider','auth','kit:auth:provider','log','reset-password/:token','layouts','split','/imports/ui/','kit/mui/auth/register/','basic-password-reset-page','1018161qLdlQl','injectImport','dir','883220hNSyLh','pathFromApp','kit:auth:meteor','.js','processAndRunGenerator','engines','register','create','ssr','meteor','basic-login-page','Custom\x20(roll\x20your\x20own)','12gThkQV','maka\x20g:k:m:f','logout','forgot-password','authType','injectTemplateModule','appName','basic-forgot-password-page','list','force','react','2836337EjdQpJ','AuthContext','1620854sOJuup','(((.+)+)+)+$'];a128c=function(){return M;};return a128c();}import{paramCase,headerCase}from'change-case';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1cb;let f=c[d];return f;},a128d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128I(0x1d1)]({'name':a128I(0x200),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a128I(0x1f2),'validOpts':[a128I(0x204),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128I(0x1e7)],'client':ClientEngines[a128I(0x1fb)]},'examples':['maka\x20generate:kit:mui:frame',a128I(0x1d7)],'description':a128I(0x1ed)},async function(a,b){const J=a128I;try{const c=b[J(0x1df)]||![],d=this[J(0x1e8)]['findProjectDirectory'](),f=this[J(0x1e8)]['getMakaProjectConfig'](),{authType:g}=await Actions['options']({'type':J(0x1de),'name':J(0x1da),'message':J(0x1fe),'choices':[{'name':J(0x1e6),'value':J(0x1d3)},{'name':J(0x1d5),'value':J(0x1e5)}]}),h=J(0x1d4),i=J(0x1f9),j=J(0x1f1),k='basic-password-reset-page',l=J(0x1dd),m=b[J(0x1ea)]?J(0x206)+b[J(0x1ea)]:J(0x1fd),n=this[J(0x1e8)]['pathFromApp']({'pathParts':[m,b[J(0x20b)],paramCase(h),paramCase(h)]}),o=this[J(0x1e8)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[J(0x1e8)][J(0x1cb)]({'pathParts':[m,b[J(0x20b)],paramCase(j),paramCase(j)]}),q=this['fsi'][J(0x1cb)]({'pathParts':[m,b[J(0x20b)],paramCase(k),paramCase(k)]}),r=this[J(0x1e8)][J(0x1cb)]({'pathParts':[m,b[J(0x20b)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[J(0x1dc)])['replaceAll']('-','\x20')};await this['fsi']['withValue'](f,async()=>{const K=J;await this[K(0x1e8)][K(0x1ee)]({'srcPath':'kit/mui/auth/login/'+h+'.js','destPath':n+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x1e8)][K(0x1ee)]({'srcPath':'kit/mui/auth/logout/'+i+K(0x1cd),'destPath':o+K(0x1cd),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][K(0x1ee)]({'srcPath':K(0x207)+j+K(0x1cd),'destPath':p+K(0x1cd),'framework':K(0x1e0),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x1e8)][K(0x1ee)]({'srcPath':K(0x1ef)+k+K(0x1cd),'destPath':q+K(0x1cd),'framework':K(0x1e0),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x1e8)]['template']({'srcPath':'kit/mui/auth/forgot-password/'+l+K(0x1cd),'destPath':r+'.js','framework':K(0x1e0),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0x20b)]+'/'+h+'/'+h;await this[J(0x1e8)][J(0x1db)](h,f,t);const u=''+m+b[J(0x20b)]+'/'+i+'/'+i;await this[J(0x1e8)][J(0x1db)](i,f,u);const v=''+m+b[J(0x20b)]+'/'+j+'/'+j;await this['fsi'][J(0x1db)](j,f,v);const w=''+m+b['dir']+'/'+k+'/'+k;await this[J(0x1e8)][J(0x1db)](k,f,w);const x=''+m+b[J(0x20b)]+'/'+l+'/'+l;await this[J(0x1e8)][J(0x1db)](l,f,x),await a128e[J(0x1ce)](J(0x1f5),[J(0x1d4)],{'url':J(0x1eb),'cwd':d,'config':f}),await a128e[J(0x1ce)]('route',[J(0x1f9)],{'url':J(0x1d8),'private':!![],'cwd':d,'config':f}),await a128e['processAndRunGenerator']('route',[J(0x1f1)],{'url':J(0x1d0),'cwd':d,'config':f}),await a128e[J(0x1ce)](J(0x1f5),[J(0x208)],{'url':J(0x203),'cwd':d,'config':f}),await a128e[J(0x1ce)](J(0x1f5),[J(0x1dd)],{'url':J(0x1d9),'cwd':d,'config':f});g===J(0x1d3)&&await a128e['processAndRunGenerator'](J(0x1cc),[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a128e['processAndRunGenerator'](J(0x201),[],{'force':c,'cwd':d,'config':f});const y=f[J(0x1cf)][J(0x1d2)]===J(0x1f0),z=f['engines']['js'],A=this[J(0x1e8)][J(0x1cb)]({'pathParts':t[J(0x205)]('/')});await this[J(0x1e8)][J(0x20a)]({'filePath':A+'.'+z,'importName':J(0x1e2),'modulePath':y?'/imports/startup/lib/authentication-provider':J(0x1ec),'isNamedExport':!![]});const B=this['fsi'][J(0x1cb)]({'pathParts':u['split']('/')});await this[J(0x1e8)][J(0x20a)]({'filePath':B+'.'+z,'importName':J(0x1e2),'modulePath':y?J(0x1ff):J(0x1ec),'isNamedExport':!![]});const C=this['fsi'][J(0x1cb)]({'pathParts':v[J(0x205)]('/')});await this[J(0x1e8)][J(0x20a)]({'filePath':C+'.'+z,'importName':'AuthContext','modulePath':y?J(0x1ff):J(0x1ec),'isNamedExport':!![]});const D=this[J(0x1e8)][J(0x1cb)]({'pathParts':w[J(0x205)]('/')});await this[J(0x1e8)][J(0x20a)]({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?J(0x1ff):J(0x1ec),'isNamedExport':!![]});const E=this[J(0x1e8)][J(0x1cb)]({'pathParts':x[J(0x205)]('/')});await this[J(0x1e8)][J(0x20a)]({'filePath':E+'.'+z,'importName':J(0x1e2),'modulePath':y?'/imports/startup/lib/authentication-provider':J(0x1ec),'isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const L=a128I;console[L(0x202)]('Cleaning\x20up...');},a128f);
1
+ function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1bf;let f=c[d];return f;},a128d(a,b);}const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=parseInt(G(0x1f9))/0x1+-parseInt(G(0x1d8))/0x2+parseInt(G(0x1e2))/0x3*(-parseInt(G(0x1e8))/0x4)+-parseInt(G(0x1ca))/0x5+parseInt(G(0x1bf))/0x6+parseInt(G(0x1e6))/0x7+parseInt(G(0x1ef))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xaf7dd));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x1ee)]()[I(0x1fb)](I(0x1ec))[I(0x1ee)]()[I(0x1d7)](a128a)[I(0x1fb)](I(0x1ec));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';function a128c(){const N=['forgot-password','AuthContext','(((.+)+)+)+$','ssr','toString','3471504vvsMss','engines','REACT','basic-register-page','Custom\x20(roll\x20your\x20own)','custom','basic-login-page','/imports/startup/client/authentication-provider','kit:auth:meteor','/imports/startup/lib/authentication-provider','959618ReGRAI','injectImport','search','login','log','force','meteor','processAndRunGenerator','MATERIAL','6306702HhFtGz','react','getMakaProjectConfig','basic-forgot-password-page','reset-password/:token','appName','kit/mui/auth/login/','error','authType','apply','kit/mui/auth/password-reset/','6686565kisICp','create','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-password-reset-page','injectTemplateModule','split','register','list','withValue','kit/mui/auth/logout/','Cleaning\x20up...','layouts','route','constructor','204064gfwtcO','/imports/ui/pages/auth','baseDir','maka\x20generate:kit:mui:frame','kit/mui/auth/forgot-password/','findProjectDirectory','maka\x20g:k:m:f','pathFromApp','/imports/ui/','fsi','3RafPlh','.js','dir','options','5131280QcxbOM','template','4078220xzpjXH','replaceAll'];a128c=function(){return N;};return a128c();}import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0x1cb)]({'name':'auth','aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a128J(0x1d5),a128J(0x1fe)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0x201)],'client':ClientEngines[a128J(0x1f1)]},'examples':[a128J(0x1db),a128J(0x1de)],'description':a128J(0x1cc)},async function(a,b){const K=a128J;try{const c=b[K(0x1fe)]||![],d=this[K(0x1e1)][K(0x1dd)](),f=this['fsi'][K(0x1c1)](),{authType:g}=await Actions[K(0x1e5)]({'type':K(0x1d1),'name':K(0x1c7),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':'Meteor\x20Accounts','value':'meteor'},{'name':K(0x1f3),'value':K(0x1f4)}]}),h=K(0x1f5),i='basic-logout-page',j=K(0x1f2),k=K(0x1cd),l=K(0x1c2),m=b[K(0x1da)]?K(0x1e0)+b[K(0x1da)]:K(0x1d9),n=this[K(0x1e1)][K(0x1df)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0x1e1)][K(0x1df)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[K(0x1e1)][K(0x1df)]({'pathParts':[m,b[K(0x1e4)],paramCase(j),paramCase(j)]}),q=this[K(0x1e1)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this['fsi']['pathFromApp']({'pathParts':[m,b[K(0x1e4)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1c4)])[K(0x1e9)]('-','\x20')};await this[K(0x1e1)][K(0x1d2)](f,async()=>{const L=K;await this[L(0x1e1)][L(0x1e7)]({'srcPath':L(0x1c5)+h+L(0x1e3),'destPath':n+L(0x1e3),'framework':L(0x1c0),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1e1)][L(0x1e7)]({'srcPath':L(0x1d3)+i+L(0x1e3),'destPath':o+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1e1)][L(0x1e7)]({'srcPath':'kit/mui/auth/register/'+j+L(0x1e3),'destPath':p+'.js','framework':L(0x1c0),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1e1)][L(0x1e7)]({'srcPath':L(0x1c9)+k+L(0x1e3),'destPath':q+L(0x1e3),'framework':L(0x1c0),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1e1)]['template']({'srcPath':L(0x1dc)+l+L(0x1e3),'destPath':r+L(0x1e3),'framework':L(0x1c0),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x1e4)]+'/'+h+'/'+h;await this[K(0x1e1)][K(0x1ce)](h,f,t);const u=''+m+b[K(0x1e4)]+'/'+i+'/'+i;await this[K(0x1e1)]['injectTemplateModule'](i,f,u);const v=''+m+b[K(0x1e4)]+'/'+j+'/'+j;await this['fsi'][K(0x1ce)](j,f,v);const w=''+m+b[K(0x1e4)]+'/'+k+'/'+k;await this[K(0x1e1)][K(0x1ce)](k,f,w);const x=''+m+b[K(0x1e4)]+'/'+l+'/'+l;await this[K(0x1e1)][K(0x1ce)](l,f,x),await a128e[K(0x200)](K(0x1d6),['basic-login-page'],{'url':K(0x1fc),'cwd':d,'config':f}),await a128e[K(0x200)](K(0x1d6),['basic-logout-page'],{'url':'logout','private':!![],'cwd':d,'config':f}),await a128e[K(0x200)](K(0x1d6),[K(0x1f2)],{'url':K(0x1d0),'cwd':d,'config':f}),await a128e[K(0x200)](K(0x1d6),['basic-password-reset-page'],{'url':K(0x1c3),'cwd':d,'config':f}),await a128e[K(0x200)](K(0x1d6),[K(0x1c2)],{'url':K(0x1ea),'cwd':d,'config':f});g===K(0x1ff)&&await a128e[K(0x200)](K(0x1f7),[],{'force':c,'cwd':d,'config':f});g===K(0x1f4)&&await a128e[K(0x200)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f[K(0x1f0)][K(0x1ed)]==='true',z=f['engines']['js'],A=this[K(0x1e1)][K(0x1df)]({'pathParts':t[K(0x1cf)]('/')});await this['fsi'][K(0x1fa)]({'filePath':A+'.'+z,'importName':K(0x1eb),'modulePath':y?K(0x1f8):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this['fsi'][K(0x1df)]({'pathParts':u[K(0x1cf)]('/')});await this[K(0x1e1)]['injectImport']({'filePath':B+'.'+z,'importName':K(0x1eb),'modulePath':y?K(0x1f8):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this['fsi'][K(0x1df)]({'pathParts':v[K(0x1cf)]('/')});await this['fsi'][K(0x1fa)]({'filePath':C+'.'+z,'importName':K(0x1eb),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this[K(0x1e1)]['pathFromApp']({'pathParts':w[K(0x1cf)]('/')});await this[K(0x1e1)]['injectImport']({'filePath':D+'.'+z,'importName':K(0x1eb),'modulePath':y?K(0x1f8):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[K(0x1e1)][K(0x1df)]({'pathParts':x[K(0x1cf)]('/')});await this[K(0x1e1)][K(0x1fa)]({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':K(0x1f6),'isNamedExport':!![]});}catch(F){Log[K(0x1c6)](F);}},async function(){const M=a128J;console[M(0x1fd)](M(0x1d4));},a128f);
@@ -1 +1 @@
1
- const a129D=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0x160))/0x1+parseInt(B(0x17b))/0x2+parseInt(B(0x15f))/0x3*(parseInt(B(0x155))/0x4)+parseInt(B(0x18c))/0x5*(-parseInt(B(0x1a0))/0x6)+parseInt(B(0x19d))/0x7*(-parseInt(B(0x178))/0x8)+-parseInt(B(0x165))/0x9*(parseInt(B(0x187))/0xa)+parseInt(B(0x170))/0xb*(parseInt(B(0x152))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x40251));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const C=a129d;return a129a[C(0x19c)]()[C(0x153)](C(0x159))[C(0x19c)]()[C(0x151)](a129a)[C(0x153)]('(((.+)+)+)+$');});a129a();import{Generator}from'../../../generator.js';function a129c(){const H=['{this.props.children}','<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>','<div\x20id=\x22','injectIntoFile','287485IGLIKn','injectImport','withValue','Box','test','ssr','{props.children}','@mui/material/Container','94984LwvFJm','REACT','-hook\x22>','366174nrfqPs','baseDir','</div>','react','basic-drawer','/imports/startup/client/templates','template','dir','injectAroundString','checkMeteorPackage','/imports/ui/components','kit/mui/frame/app-bars/','970NuipEp','fsi','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','replaceAll','options','55NxEHzN','No\x20layouts\x20selected','length','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','Cleaning\x20up...','basic-app-bar','checkbox','engines','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','Container','true','getDirectories','tsx','jsx','{\x20props.children\x20}','maka\x20g:k:m:f','toString','14YcHOcu','injectTemplateModule','log','211206nRztUm','/imports/ui/','force','error','constructor','492YTVHEt','search','getMakaProjectConfig','24LopAFY','pathFromApp','/imports/startup/lib/templates','session','(((.+)+)+)+$','appName','\x20/>\x0a','getFiles','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','{\x20this.props.children\x20}','110235BhKGvC','423292NtCvJQ','@mui/material/Box','layouts','MATERIAL','join','35082afjQzJ','maka\x20generate:kit:mui:frame','.js','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','frame','basic-sticky-footer','tests'];a129c=function(){return H;};return a129c();}import{Log}from'../../../tools/log/log.class.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x14f;let f=c[d];return f;},a129d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a129D(0x169),'aliases':['f'],'usage':a129D(0x18f),'shortDesc':a129D(0x189),'validOpts':[a129D(0x162),a129D(0x17c),'dir',a129D(0x14f)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129D(0x163)],'client':ClientEngines[a129D(0x179)]},'examples':[a129D(0x166),a129D(0x19b)],'description':a129D(0x15d)},async function(a,b){const E=a129D;try{const c=b[E(0x14f)]||![],d=E(0x191),f=E(0x17f),g=E(0x16a),h=this['fsi'][E(0x154)](),i=h[E(0x193)][E(0x175)]===E(0x196);await this[E(0x188)][E(0x184)]([E(0x158),'maka:react-tracker'],{'shouldInstall':!![]});const j=this[E(0x188)]['findAppDirectory'](),k=a129e['join'](j,'imports','ui',E(0x162)),l=this[E(0x188)][E(0x197)](k),m=await Actions[E(0x18b)]({'type':E(0x192),'name':'layouts','message':E(0x168),'choices':l});if(m[E(0x162)][E(0x18e)]===0x0){Log[E(0x150)](E(0x18d));return;}const n=b[E(0x17c)]?E(0x1a1)+b[E(0x17c)]:E(0x185),o=this[E(0x188)][E(0x156)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[E(0x188)][E(0x156)]({'pathParts':[n,b[E(0x182)],paramCase(f),paramCase(f)]}),q=this[E(0x188)]['pathFromApp']({'pathParts':[n,b[E(0x182)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[E(0x15a)])[E(0x18a)]('-','\x20')};await this['fsi'][E(0x172)](h,async()=>{const F=E;await this['fsi']['template']({'srcPath':F(0x186)+d+F(0x167),'destPath':o+'.js','framework':F(0x17e),'context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x188)][F(0x181)]({'srcPath':'kit/mui/frame/drawers/'+f+F(0x167),'destPath':p+F(0x167),'framework':F(0x17e),'context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x188)][F(0x181)]({'srcPath':'kit/mui/frame/footers/'+g+F(0x167),'destPath':q+F(0x167),'framework':F(0x17e),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this['fsi'][E(0x19e)](d,h,s);const t=''+n+b[E(0x182)]+'/'+f+'/'+f;await this['fsi'][E(0x19e)](f,h,t);const u=''+n+b[E(0x182)]+'/'+g+'/'+g;await this[E(0x188)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[E(0x188)][E(0x15c)](a129e[E(0x164)](k,w),{'extensions':[E(0x199),E(0x198)],'omit':['app-tests',E(0x16b),E(0x174)]});for(const y of x){const z=a129e['join'](k,w,y);await this[E(0x188)]['injectImport']({'filePath':z,'importName':E(0x173),'modulePath':E(0x161),'isNamedExport':![]}),await this[E(0x188)][E(0x171)]({'filePath':z,'importName':E(0x195),'modulePath':E(0x177),'isNamedExport':![]}),await this['fsi'][E(0x171)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?E(0x157):E(0x180),'isNamedExport':!![]}),await this[E(0x188)][E(0x16f)]({'filePath':z,'content':'<'+pascalCase(d)+E(0x15b),'begin':['<div\x20id=\x22'+w+'\x22>',E(0x16e)+w+E(0x17a)],'end':[E(0x16c),E(0x15e),'{props.children}','{\x20props.children\x20}']}),await this['fsi'][E(0x171)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi'][E(0x16f)]({'filePath':z,'content':'<'+pascalCase(f)+E(0x15b),'begin':[E(0x16e)+w+'\x22>',E(0x16e)+w+'-hook\x22>'],'end':[E(0x16c),E(0x15e),E(0x176),'{\x20props.children\x20}']}),await this[E(0x188)][E(0x16f)]({'filePath':z,'content':'<'+pascalCase(g)+E(0x15b),'begin':[E(0x16c),E(0x15e),'{props.children}',E(0x19a)],'end':[E(0x17d)]}),await this[E(0x188)]['injectImport']({'filePath':z,'importName':pascalCase(g),'modulePath':i?E(0x157):E(0x180),'isNamedExport':!![]}),await this['fsi'][E(0x183)]({'filePath':z,'aboveContent':E(0x16d),'belowContent':E(0x194),'targetString':[E(0x16c),E(0x15e),E(0x176),E(0x19a)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[E(0x150)](A);}},async function(){const G=a129D;console[G(0x19f)](G(0x190));},a129f);
1
+ const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0xf9))/0x1*(parseInt(B(0x101))/0x2)+-parseInt(B(0xf0))/0x3*(-parseInt(B(0xf8))/0x4)+-parseInt(B(0xd4))/0x5*(-parseInt(B(0xde))/0x6)+parseInt(B(0xdf))/0x7*(-parseInt(B(0x10e))/0x8)+-parseInt(B(0xd3))/0x9+parseInt(B(0xdd))/0xa*(parseInt(B(0xdc))/0xb)+parseInt(B(0xd9))/0xc*(-parseInt(B(0x123))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x87e8b));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x10c)]()[D(0x11e)](D(0xd8))[D(0x10c)]()[D(0xf6)](a129a)[D(0x11e)](D(0xd8));});a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xd3;let f=c[d];return f;},a129d(a,b);}import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a129E(0xd6),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a129E(0x106),'validOpts':[a129E(0x112),'baseDir',a129E(0xe8),a129E(0xdb)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':[a129E(0x110),a129E(0x118)],'description':a129E(0x10b)},async function(a,b){const F=a129E;try{const c=b[F(0xdb)]||![],d=F(0xe2),f=F(0xf2),g=F(0xe3),h=this[F(0xd7)][F(0x120)](),i=h[F(0x115)][F(0xfa)]===F(0x114);await this['fsi'][F(0xf7)]([F(0xec),F(0x117)],{'shouldInstall':!![]});const j=this['fsi']['findAppDirectory'](),k=a129e['join'](j,F(0x102),'ui',F(0x112)),l=this['fsi'][F(0x100)](k),m=await Actions[F(0xda)]({'type':F(0xff),'name':F(0x112),'message':F(0xe5),'choices':l});if(m[F(0x112)][F(0x10a)]===0x0){Log['error'](F(0xf4));return;}const n=b['baseDir']?F(0xe7)+b[F(0xe9)]:F(0xfd),o=this[F(0xd7)][F(0x113)]({'pathParts':[n,b[F(0xe8)],paramCase(d),paramCase(d)]}),p=this[F(0xd7)]['pathFromApp']({'pathParts':[n,b[F(0xe8)],paramCase(f),paramCase(f)]}),q=this[F(0xd7)]['pathFromApp']({'pathParts':[n,b[F(0xe8)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0xed)])[F(0x11d)]('-','\x20')};await this[F(0xd7)][F(0xe1)](h,async()=>{const G=F;await this['fsi'][G(0xf5)]({'srcPath':G(0x111)+d+G(0x11f),'destPath':o+G(0x11f),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xd7)][G(0xf5)]({'srcPath':G(0xfb)+f+G(0x11f),'destPath':p+'.js','framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xd7)][G(0xf5)]({'srcPath':G(0x11c)+g+G(0x11f),'destPath':q+G(0x11f),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0xe8)]+'/'+d+'/'+d;await this[F(0xd7)]['injectTemplateModule'](d,h,s);const t=''+n+b[F(0xe8)]+'/'+f+'/'+f;await this[F(0xd7)][F(0xfe)](f,h,t);const u=''+n+b[F(0xe8)]+'/'+g+'/'+g;await this[F(0xd7)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this['fsi'][F(0xd5)](a129e[F(0x108)](k,w),{'extensions':['jsx','tsx'],'omit':[F(0x122),F(0x109),F(0xea)]});for(const y of x){const z=a129e[F(0x108)](k,w,y);await this[F(0xd7)]['injectImport']({'filePath':z,'importName':F(0x105),'modulePath':F(0x104),'isNamedExport':![]}),await this[F(0xd7)][F(0xfc)]({'filePath':z,'importName':'Container','modulePath':F(0xee),'isNamedExport':![]}),await this[F(0xd7)]['injectImport']({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0xe4):F(0x107),'isNamedExport':!![]}),await this[F(0xd7)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x11b)+w+'\x22>',F(0x11b)+w+'-hook\x22>'],'end':[F(0xe0),F(0x11a),'{props.children}',F(0xe6)]}),await this[F(0xd7)][F(0xfc)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0xe4):F(0x107),'isNamedExport':!![]}),await this[F(0xd7)][F(0xf3)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x10d),'begin':[F(0x11b)+w+'\x22>',F(0x11b)+w+F(0x103)],'end':[F(0xe0),'{\x20this.props.children\x20}',F(0xef),F(0xe6)]}),await this[F(0xd7)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+F(0x10d),'begin':[F(0xe0),F(0x11a),F(0xef),F(0xe6)],'end':[F(0xf1)]}),await this[F(0xd7)][F(0xfc)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0xe4):F(0x107),'isNamedExport':!![]}),await this[F(0xd7)]['injectAroundString']({'filePath':z,'aboveContent':F(0x119),'belowContent':F(0xeb),'targetString':['{this.props.children}',F(0x11a),'{props.children}',F(0xe6)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x10f)](A);}},async function(){const H=a129E;console[H(0x116)]('Cleaning\x20up...');},a129f);function a129c(){const I=['</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','session','appName','@mui/material/Container','{props.children}','1217511PknKGX','</div>','basic-drawer','injectIntoFile','No\x20layouts\x20selected','template','constructor','checkMeteorPackage','4QLSFBC','731759VAZvoR','ssr','kit/mui/frame/drawers/','injectImport','/imports/ui/components','injectTemplateModule','checkbox','getDirectories','2GyxptZ','imports','-hook\x22>','@mui/material/Box','Box','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','/imports/startup/client/templates','join','tests','length','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','toString','\x20/>\x0a','16HdADct','error','maka\x20generate:kit:mui:frame','kit/mui/frame/app-bars/','layouts','pathFromApp','true','engines','log','maka:react-tracker','maka\x20g:k:m:f','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','{\x20this.props.children\x20}','<div\x20id=\x22','kit/mui/frame/footers/','replaceAll','search','.js','getMakaProjectConfig','apply','app-tests','1882205PqTidB','8859456ARFPWs','121700cGHRya','getFiles','frame','fsi','(((.+)+)+)+$','60ziaYCh','options','force','1016378WPByLd','80dcfbnj','210wanExN','1622908RAFJOS','{this.props.children}','withValue','basic-app-bar','basic-sticky-footer','/imports/startup/lib/templates','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','{\x20props.children\x20}','/imports/ui/','dir','baseDir','test'];a129c=function(){return I;};return a129c();}
@@ -1 +1 @@
1
- const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=-parseInt(g(0x207))/0x1+parseInt(g(0x1fb))/0x2+parseInt(g(0x20d))/0x3*(-parseInt(g(0x1f3))/0x4)+-parseInt(g(0x204))/0x5+-parseInt(g(0x20b))/0x6+parseInt(g(0x202))/0x7+-parseInt(g(0x1fc))/0x8*(-parseInt(g(0x1f8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x57d74));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x1fe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a['toString']()[i(0x1f6)]('(((.+)+)+)+$')[i(0x201)]()['constructor'](a130a)[i(0x1f6)](i(0x205));});a130a();import{Generator}from'../../../generator.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a130d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';function a130c(){const l=['info','4eVueqP','kitChoices','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','search','frame','5877FicOZG','auth','kit:mui:frame','795028sFjwej','29864BVVGWK','findProjectDirectory','apply','getMakaProjectConfig','kit:mui:auth','toString','770784jhhsvy','mui','3253445TokvTI','(((.+)+)+)+$','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','634614dbNeLs','fsi','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','notice','3876906zNOuqH','includes','1962075QImgnI'];a130c=function(){return l;};return a130c();}import a130f from'../kit.js';const MuiGen=Generator['create']({'name':a130j(0x203),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a130j;Log[k(0x20e)](k(0x1f5)),Log[k(0x20a)](k(0x209));const {kitChoices:a}=await Actions['options']({'type':'checkbox','name':k(0x1f4),'message':k(0x206),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':k(0x1f7)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':k(0x1f9)}]}),b=this['fsi'][k(0x1fd)](),c=this[k(0x208)][k(0x1ff)]();a['includes'](k(0x1f7))&&await a130e['processAndRunGenerator'](k(0x1fa),[],{'force':!![],'cwd':b,'config':c});a[k(0x20c)]('auth')&&await a130e['processAndRunGenerator'](k(0x200),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[k(0x20e)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');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(0x1cd))/0x1*(-parseInt(g(0x1d0))/0x2)+-parseInt(g(0x1d8))/0x3+-parseInt(g(0x1b8))/0x4+-parseInt(g(0x1d4))/0x5*(-parseInt(g(0x1b9))/0x6)+-parseInt(g(0x1cb))/0x7+-parseInt(g(0x1bd))/0x8+parseInt(g(0x1d5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x753cb));function a130c(){const l=['2FLyrkX','includes','constructor','info','50470ZkjGhQ','25049718rXskdU','search','Header,\x20Footer,\x20and\x20Drawer','2645475syrmzU','maka\x20g:kit:m','1656132tctQsg','12UndZAD','frame','auth','fsi','4318832nUlLIQ','kitChoices','Material-UI\x20Kit','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','toString','apply','(((.+)+)+)+$','processAndRunGenerator','findProjectDirectory','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','mui','No\x20MUI\x20kits\x20selected.\x20Exiting.','notice','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','1077979EIeUFr','options','333578FzhNum','kit:mui:frame','kit:mui:auth'];a130c=function(){return l;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a130d(a,b);}const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x1c2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0x1c1)]()['search'](i(0x1c3))['toString']()[i(0x1d2)](a130a)[i(0x1d6)](i(0x1c3));});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'../kit.js';const MuiGen=Generator['create']({'name':a130j(0x1c7),'aliases':['m'],'usage':a130j(0x1c0),'noNeedResource':!![],'shortDesc':a130j(0x1bf),'validOpts':[''],'isPro':!![],'examples':[a130j(0x1d9)]},async function(){const k=a130j;Log[k(0x1d3)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[k(0x1c9)](k(0x1c6));const {kitChoices:a}=await Actions[k(0x1cc)]({'type':'checkbox','name':k(0x1be),'message':k(0x1ca),'choices':[{'name':k(0x1d7),'value':k(0x1ba)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':'auth'}]}),b=this['fsi'][k(0x1c5)](),c=this[k(0x1bc)]['getMakaProjectConfig']();a[k(0x1d1)](k(0x1ba))&&await a130e[k(0x1c4)](k(0x1ce),[],{'force':!![],'cwd':b,'config':c});a[k(0x1d1)](k(0x1bb))&&await a130e[k(0x1c4)](k(0x1cf),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[k(0x1d3)](k(0x1c8));return;}},async function(){},a130f);export default MuiGen;
@@ -1 +1 @@
1
- const a131n=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=parseInt(l(0xd6))/0x1+-parseInt(l(0xd7))/0x2*(parseInt(l(0xdc))/0x3)+-parseInt(l(0xc9))/0x4+parseInt(l(0xb9))/0x5+parseInt(l(0xe0))/0x6*(parseInt(l(0xec))/0x7)+-parseInt(l(0xc5))/0x8*(-parseInt(l(0xea))/0x9)+-parseInt(l(0xd4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x33fa5));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const m=a131d;return a131a[m(0xf2)]()[m(0xc0)](m(0xba))[m(0xf2)]()['constructor'](a131a)[m(0xc0)](m(0xba));});a131a();import a131e from'path';import{Generator}from'../generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xb7;let f=c[d];return f;},a131d(a,b);}function a131c(){const q=['Scaffolding\x20for\x20a\x20React\x20Layout.','2813970VkVynS','withValue','104483nkrnAs','50MuaFHn','setTemplate','pathFromApp','warn','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','48693vaaNSx','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','none','api','6miVVPT','className','template/template.css','maka\x20g:l\x20web/safari','getMakaProjectConfig','maka\x20g:layout\x20mobile/iPhone8','string','assign','withHook','ssr','2902959rSBlvP','resourceName','2304827DZuSpa','true','.css','injectAtBeginningOfFile','test/test.js','relative','toString','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','withHooks','test','997130GUhLhF','(((.+)+)+)+$','injectTemplateModule','css','.js','react','ramda','search','template','fileName','hook/hook.js','engines','8IKxuAG','checkNpmPackage','dir','.app-tests.js','222592rGsgMV','pathFromProject','split','component/component.js','findAppDirectory','withTranslations','features','/imports/ui/layouts','fsi','client'];a131c=function(){return q;};return a131c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':'layout','aliases':aliases,'usage':a131n(0xf3),'shortDesc':a131n(0xd3),'validOpts':[a131n(0xe8)],'examples':[a131n(0xe5),a131n(0xe3)]},async function(a,b){const o=a131n,c=o(0xd0),d=this[o(0xd1)][o(0xcd)](),e=this['fsi'][o(0xd9)]({'pathParts':[c,b[o(0xc7)],paramCase(b[o(0xeb)]),paramCase(b[o(0xeb)])]}),f=this['fsi'][o(0xe4)]();await this[o(0xd1)][o(0xd5)](f,async()=>{const p=o;typeof f[p(0xc1)]['test']===p(0xe6)&&(f[p(0xc1)][p(0xb8)]=f['template'][p(0xb8)]===p(0xed)?!![]:![],this[p(0xd1)][p(0xd8)](p(0xb8),f[p(0xc1)][p(0xb8)]));typeof f[p(0xc1)][p(0xbc)]===p(0xe6)&&(f[p(0xc1)][p(0xbc)]=f[p(0xc1)][p(0xbc)]===p(0xed)?!![]:![],this[p(0xd1)][p(0xd8)](p(0xbc),f[p(0xc1)][p(0xbc)]));typeof f[p(0xc1)]['js']===p(0xe6)&&(f[p(0xc1)]['js']=f['template']['js']==='true'?!![]:![],this[p(0xd1)]['setTemplate']('js',f[p(0xc1)]['js']));!f['features']&&(f['features']={});const g=b['_']?b['_'][0x0][p(0xcb)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[p(0xc6)](p(0xbf))&&(Log[p(0xda)](p(0xdb)),this[p(0xd1)]['installNpmPackage'](p(0xbf),{'cwd':d}));if(h&&!this['checkNpmPackage']('react')){Log['warn'](p(0xdd));return;}const i={'name':pascalCase(b[p(0xeb)]),'myPath':a131e[p(0xf1)](this[p(0xd1)][p(0xca)]({}),e),'cssCaseName':paramCase(b[p(0xeb)]),'className':pascalCase(b[p(0xeb)]),'camelCaseName':camelCase(b[p(0xeb)]),'fileName':paramCase(b[p(0xeb)]),'graphql':f[p(0xc4)]['graphql'],'features':f[p(0xcf)],'client':f['engines'][p(0xd2)],'api':f[p(0xc4)][p(0xdf)],'ssr':f['engines'][p(0xe9)],'test':f[p(0xc4)]['test'],'theme':f[p(0xc4)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0xcf)][p(0xce)]};f[p(0xcf)]?.[p(0xb7)]||b[p(0xe8)]?await this[p(0xd1)][p(0xc1)]({'srcPath':p(0xc3),'destPath':e+p(0xbd),'framework':p(0xbe),'context':i,'config':f}):await this[p(0xd1)][p(0xc1)]({'srcPath':p(0xcc),'destPath':e+'.js','framework':p(0xbe),'context':i,'config':f});f[p(0xc4)][p(0xb8)]!==p(0xde)&&await this[p(0xd1)]['template']({'srcPath':p(0xf0),'destPath':e+p(0xc8),'framework':p(0xbe),'context':i,'config':f});f[p(0xc1)]['css']&&(await this[p(0xd1)][p(0xc1)]({'srcPath':p(0xe2),'destPath':e+p(0xee),'context':Object[p(0xe7)]({},i,{'className':paramCase(b[p(0xeb)])}),'config':f}),await this[p(0xd1)][p(0xef)]({'filePath':e+'.'+f[p(0xc4)]['js'],'content':'import\x20\x27./'+i['fileName']+'.'+f[p(0xc4)][p(0xbc)]+'\x27;'}));const j=b[p(0xc7)]?'/'+b['dir']+'/':'/',k=''+c+j+i[p(0xc2)]+'/'+i[p(0xc2)];await this[p(0xd1)][p(0xbb)](i[p(0xe1)],f,k);});});
1
+ function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x76;let f=c[d];return f;},a131d(a,b);}const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=parseInt(l(0xa4))/0x1+parseInt(l(0x90))/0x2*(-parseInt(l(0x79))/0x3)+parseInt(l(0x9c))/0x4+parseInt(l(0xaa))/0x5+parseInt(l(0x93))/0x6+parseInt(l(0xa5))/0x7+-parseInt(l(0x94))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xab8c6));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x97)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0x9e)]()[n(0x7a)](n(0x8e))['toString']()[n(0x81)](a131a)[n(0x7a)](n(0x8e));});a131a();import a131e from'path';function a131c(){const r=['setTemplate','apply','checkNpmPackage','true','pathFromProject','relative','3367884QIenoi','findAppDirectory','toString','css','none','fsi','dir','features','872041PWzCtb','442603JJhzfk','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','react','maka\x20g:l\x20web/safari','layout','5033960DTuPtC','test/test.js','.css','installNpmPackage','354BvTFaL','search','.app-tests.js','client','fileName','withValue','graphql','pathFromApp','constructor','withTranslations','withHook','className','component/component.js','warn','template/template.css','engines','withHooks','string','test','ramda','.js','(((.+)+)+)+$','template','5228oTwcWu','resourceName','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','1265646isjPor','15870880gFropB','ssr'];a131c=function(){return r;};return a131c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a131o(0xa9),'aliases':aliases,'usage':a131o(0x92),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':['withHook'],'examples':['maka\x20g:layout\x20mobile/iPhone8',a131o(0xa8)]},async function(a,b){const p=a131o,c='/imports/ui/layouts',d=this[p(0xa1)][p(0x9d)](),e=this['fsi'][p(0x80)]({'pathParts':[c,b['dir'],paramCase(b[p(0x91)]),paramCase(b['resourceName'])]}),f=this[p(0xa1)]['getMakaProjectConfig']();await this[p(0xa1)][p(0x7e)](f,async()=>{const q=p;typeof f[q(0x8f)][q(0x8b)]===q(0x8a)&&(f[q(0x8f)][q(0x8b)]=f[q(0x8f)][q(0x8b)]===q(0x99)?!![]:![],this[q(0xa1)][q(0x96)]('test',f['template']['test']));typeof f[q(0x8f)][q(0x9f)]===q(0x8a)&&(f[q(0x8f)][q(0x9f)]=f['template']['css']==='true'?!![]:![],this[q(0xa1)][q(0x96)]('css',f['template'][q(0x9f)]));typeof f[q(0x8f)]['js']===q(0x8a)&&(f['template']['js']=f[q(0x8f)]['js']===q(0x99)?!![]:![],this['fsi'][q(0x96)]('js',f[q(0x8f)]['js']));!f[q(0xa3)]&&(f[q(0xa3)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0x98)](q(0x8c))&&(Log[q(0x86)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this['fsi'][q(0x78)](q(0x8c),{'cwd':d}));if(h&&!this[q(0x98)](q(0xa7))){Log[q(0x86)](q(0xa6));return;}const i={'name':pascalCase(b[q(0x91)]),'myPath':a131e[q(0x9b)](this[q(0xa1)][q(0x9a)]({}),e),'cssCaseName':paramCase(b[q(0x91)]),'className':pascalCase(b[q(0x91)]),'camelCaseName':camelCase(b[q(0x91)]),'fileName':paramCase(b[q(0x91)]),'graphql':f[q(0x88)][q(0x7f)],'features':f[q(0xa3)],'client':f['engines'][q(0x7c)],'api':f[q(0x88)]['api'],'ssr':f['engines'][q(0x95)],'test':f[q(0x88)][q(0x8b)],'theme':f[q(0x88)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][q(0x82)]};f[q(0xa3)]?.[q(0x89)]||b[q(0x83)]?await this[q(0xa1)][q(0x8f)]({'srcPath':'hook/hook.js','destPath':e+q(0x8d),'framework':q(0xa7),'context':i,'config':f}):await this[q(0xa1)]['template']({'srcPath':q(0x85),'destPath':e+'.js','framework':q(0xa7),'context':i,'config':f});f[q(0x88)][q(0x8b)]!==q(0xa0)&&await this[q(0xa1)][q(0x8f)]({'srcPath':q(0x76),'destPath':e+q(0x7b),'framework':q(0xa7),'context':i,'config':f});f['template'][q(0x9f)]&&(await this[q(0xa1)]['template']({'srcPath':q(0x87),'destPath':e+q(0x77),'context':Object['assign']({},i,{'className':paramCase(b[q(0x91)])}),'config':f}),await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[q(0x88)]['js'],'content':'import\x20\x27./'+i[q(0x7d)]+'.'+f[q(0x88)][q(0x9f)]+'\x27;'}));const j=b[q(0xa2)]?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0x7d)]+'/'+i[q(0x7d)];await this[q(0xa1)]['injectTemplateModule'](i[q(0x84)],f,k);});});
@@ -1 +1 @@
1
- function a132c(){const j=['maka\x20{generate,\x20g}:<generator>\x20<name>','constructor','4379724tHkVJr','maka\x20g:scaffold\x20todos','9908vAmiCl','toString','7238ifltFR','2892115xEJFEo','apply','maka\x20g:package\x20package:name','maka\x20g:template\x20todos/todo_item','122IkKxjO','1467jnCrEu','15284390PSuZbb','6672uoGwiv','10ckdYxq','maka\x20g:dbc\x20geoserver\x20--type=pgsql','9368InpOkO','maka\x20g:route\x20todos/edit','(((.+)+)+)+$','Scaffold\x20various\x20parts\x20of\x20your\x20application','search','maka\x20g:api\x20trucks','6876576lpiyps'];a132c=function(){return j;};return a132c();}const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0x132))/0x1*(-parseInt(f(0x121))/0x2)+parseInt(f(0x122))/0x3*(-parseInt(f(0x127))/0x4)+parseInt(f(0x135))/0x5+-parseInt(f(0x124))/0x6*(-parseInt(f(0x134))/0x7)+-parseInt(f(0x12d))/0x8+parseInt(f(0x130))/0x9+-parseInt(f(0x125))/0xa*(-parseInt(f(0x123))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xf2f57));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a['toString']()[h(0x12b)](h(0x129))[h(0x133)]()[h(0x12f)](a132a)['search']('(((.+)+)+)+$');});function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x121;let f=c[d];return f;},a132d(a,b);}a132a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a132i(0x12e),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0x12a),'examples':['maka\x20generate:scaffold\x20todos',a132i(0x131),a132i(0x138),a132i(0x137),a132i(0x128),a132i(0x12c),a132i(0x126)]},function(){});export default MakaGen;
1
+ const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0xaa))/0x1+parseInt(f(0x9d))/0x2+-parseInt(f(0xa1))/0x3*(parseInt(f(0xac))/0x4)+-parseInt(f(0xae))/0x5*(-parseInt(f(0x9e))/0x6)+parseInt(f(0xa9))/0x7+parseInt(f(0xa5))/0x8*(parseInt(f(0xa2))/0x9)+-parseInt(f(0xaf))/0xa*(parseInt(f(0xa8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x30e68));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a['toString']()[h(0xa0)](h(0xab))[h(0xad)]()[h(0xa7)](a132a)[h(0xa0)](h(0xab));});function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x9d;let f=c[d];return f;},a132d(a,b);}a132a();import{Generator}from'../generator.js';function a132c(){const j=['111239qlcYBL','(((.+)+)+)+$','20kQTDjD','toString','25hKiRhV','305930CEPaiE','maka\x20g:template\x20todos/todo_item','maka\x20{generate,\x20g}:<generator>\x20<name>','117206YvwGNZ','212694YIVoQx','maka\x20g:scaffold\x20todos','search','184161WPwwsL','18lPorPc','maka\x20g:package\x20package:name','maka\x20g:route\x20todos/edit','920872QeASja','apply','constructor','55HMASNR','2137583MyeMhT'];a132c=function(){return j;};return a132c();}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a132i(0xb1),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':['maka\x20generate:scaffold\x20todos',a132i(0x9f),a132i(0xb0),a132i(0xa3),a132i(0xa4),'maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
@@ -1 +1 @@
1
- const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0x12b))/0x1*(-parseInt(j(0x146))/0x2)+parseInt(j(0x127))/0x3*(-parseInt(j(0x138))/0x4)+-parseInt(j(0x145))/0x5+parseInt(j(0x148))/0x6+parseInt(j(0x12e))/0x7*(-parseInt(j(0x132))/0x8)+parseInt(j(0x131))/0x9+-parseInt(j(0x13f))/0xa*(-parseInt(j(0x13a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xa90da));function a133c(){const p=['appPathPrefix','pathFromApp','3488562qJWwTL','8479208RyXtMw','template','injectAtEndOfFile','engines','search','withValue','4WMywBY','imports','509377dqQSpJ','maka\x20g:method\x20todos','maka\x20{generate,\x20g}:{method,\x20m}\x20name','index.','ddp-rate-limiter','970eKgxTV','startup','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','methods','(((.+)+)+)+$','create','6672065jcvMBH','1326ukIYCr','tsx','627690VOoWDK','fsi','error','apply','constructor','-rpc-method\x27;','getMakaProjectConfig','maka:check','3251265XJWhqo','method/method.js','toString','dir','1227edCIVW','checkMeteorPackage','resourceName','7rLynUr'];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(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x129)]()['search'](l(0x143))[l(0x129)]()[l(0x123)](a133a)[l(0x136)]('(((.+)+)+)+$');});a133a();function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x121;let f=c[d];return f;},a133d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133m(0x144)]({'name':'method','aliases':['m'],'usage':a133m(0x13c),'checkWhere':!![],'shortDesc':a133m(0x141),'validOpts':[a133m(0x12a)],'examples':[a133m(0x13b)]},async function(a,b){const n=a133m;try{const c=this[n(0x149)][n(0x125)]();await this[n(0x149)][n(0x137)](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[o(0x12d)]),'camelCase':camelCase(b[o(0x12d)]),'noRename':!![]};let g='js';c[o(0x135)]['js']===o(0x147)&&(g='ts');await this[o(0x149)][o(0x12c)]([o(0x126),o(0x13e),'mdg:validated-method'],{'shouldInstall':!![]}),await this['fsi'][o(0x133)]({'srcPath':o(0x128),'destPath':this[o(0x149)][o(0x130)]({'pathParts':[o(0x139),o(0x140),b[o(0x12f)],o(0x142),b[o(0x12a)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[o(0x12a)]?'/'+b['dir']+'/':'/',i=this[o(0x149)][o(0x130)]({'pathParts':[o(0x139),o(0x140),b[o(0x12f)],o(0x13d)+c['engines']['js']]});await this[o(0x149)][o(0x134)]({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0x124)});});}catch(d){Log[n(0x121)](d);}});
1
+ const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0x1cb))/0x1+-parseInt(j(0x1d9))/0x2+-parseInt(j(0x1e9))/0x3*(parseInt(j(0x1e5))/0x4)+parseInt(j(0x1ea))/0x5+-parseInt(j(0x1dd))/0x6*(-parseInt(j(0x1ce))/0x7)+parseInt(j(0x1e8))/0x8*(parseInt(j(0x1d3))/0x9)+-parseInt(j(0x1c7))/0xa*(-parseInt(j(0x1d2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xa0131));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x1db)]()['search'](l(0x1c4))[l(0x1db)]()[l(0x1e4)](a133a)[l(0x1de)](l(0x1c4));});a133a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a133d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a133m(0x1d1),'aliases':['m'],'usage':a133m(0x1cf),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a133m(0x1d5)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a133m;try{const c=this['fsi'][n(0x1d8)]();await this[n(0x1d4)][n(0x1d7)](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':b[o(0x1cd)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0x1cd)]),'noRename':!![]};let g='js';c['engines']['js']===o(0x1d6)&&(g='ts');await this['fsi'][o(0x1dc)]([o(0x1da),o(0x1e6),o(0x1d0)],{'shouldInstall':!![]}),await this[o(0x1d4)][o(0x1c6)]({'srcPath':'method/method.js','destPath':this[o(0x1d4)]['pathFromApp']({'pathParts':[o(0x1df),o(0x1e2),b[o(0x1ca)],o(0x1c5),b[o(0x1d5)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[o(0x1d5)]?'/'+b['dir']+'/':'/',i=this[o(0x1d4)][o(0x1e1)]({'pathParts':['imports',o(0x1e2),b[o(0x1ca)],o(0x1c3)+c[o(0x1cc)]['js']]});await this[o(0x1d4)][o(0x1e7)]({'filePath':i,'content':o(0x1c9)+h+d+o(0x1c8)});});}catch(d){Log[n(0x1e3)](d);}});function a133c(){const p=['maka\x20{generate,\x20g}:{method,\x20m}\x20name','mdg:validated-method','method','99bgOdbX','11392056wXXngS','fsi','dir','tsx','withValue','getMakaProjectConfig','108946TiSRBn','maka:check','toString','checkMeteorPackage','9888TNtbPy','search','imports','apply','pathFromApp','startup','error','constructor','197052dOgSzT','ddp-rate-limiter','injectAtEndOfFile','8JBfSMi','54zgyAvz','1818895vmuvSY','index.','(((.+)+)+)+$','methods','template','437870aaQMMj','-rpc-method\x27;','import\x20\x27./methods','appPathPrefix','601462fXEvab','engines','resourceName','742uZNhHx'];a133c=function(){return p;};return a133c();}
@@ -1 +1 @@
1
- const a134o=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=-parseInt(l(0xa6))/0x1*(-parseInt(l(0x98))/0x2)+parseInt(l(0x85))/0x3+-parseInt(l(0x9c))/0x4*(parseInt(l(0x96))/0x5)+-parseInt(l(0x9b))/0x6*(-parseInt(l(0x7c))/0x7)+parseInt(l(0x9d))/0x8+parseInt(l(0x8d))/0x9*(parseInt(l(0xa5))/0xa)+-parseInt(l(0xa0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x46617));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a[n(0x90)]()[n(0xa3)](n(0x8c))[n(0x90)]()[n(0x9f)](a134a)[n(0xa3)](n(0x8c));});function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x7c;let f=c[d];return f;},a134d(a,b);}a134a();function a134c(){const r=['5616864nAmIIA','maka\x20g:package\x20todos:package','hasOwnProperty','search','pathFromAppWithNoReWrite','75710vGoNAp','244614zsOPXJ','component','template','package','store','withValue','/client/','360031qRjWQG','packages','pathFromApp','pathFromProject','client','create','lib','tests/client','server','1440915DPtenw','fsi','.js','relative','noRename','dir','graphql','(((.+)+)+)+$','9QXBucU','package/package.js','features','toString','tests/server','engines','getMakaProjectConfig','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','ssr','118740GXkcGC','/package.js','2NAnkUH','resourceName','apply','12yefzgg','48JppaZu','1988184cZGedg','package/','constructor'];a134c=function(){return r;};return a134c();}import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a134o(0x81)]({'name':a134o(0xa9),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a134o(0x94),'validOpts':[a134o(0x8a)],'examples':[a134o(0xa1)]},async function(a,b){const p=a134o,c=paramCase(b[p(0x99)]),d=this[p(0x86)][p(0x7e)]({'pathParts':[p(0x7d),b[p(0x8a)],c]}),e=this[p(0x86)][p(0xa4)]({'pathParts':[p(0x7d),b[p(0x8a)],c,'package.js']}),f=this[p(0x86)][p(0x93)]();await this[p(0x86)][p(0xab)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x99)]),'myPath':a134e[q(0x88)](this[q(0x86)][q(0x7f)]({}),d),'cssCaseName':paramCase(b[q(0x99)]),'className':pascalCase(b[q(0x99)]),'camelCaseName':camelCase(b[q(0x99)]),'fileName':c,'client':f[q(0x92)][q(0x80)],'graphql':f['engines'][q(0x8b)],'ssr':f[q(0x92)][q(0x95)],'isComponent':b[q(0xa2)](q(0xa7)),'isLayout':b['hasOwnProperty']('layout'),'isStore':b['hasOwnProperty'](q(0xaa)),'features':f[q(0x8f)],'noRename':!![],'theme':f['engines']['theme']};await this[q(0x86)][q(0xa8)]({'srcPath':q(0x8e),'destPath':e,'context':g,'config':f}),g[q(0x89)]=![];const h=d+q(0xac)+c+q(0x87);await this['fsi'][q(0xa8)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[q(0x82),q(0x84),q(0x83),q(0x91)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x87);await this[q(0x86)]['template']({'srcPath':q(0x9e)+j+q(0x97),'destPath':k,'context':g,'config':f});}});});
1
+ const a134o=a134d;function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0xd9;let f=c[d];return f;},a134d(a,b);}(function(a,b){const l=a134d,c=a();while(!![]){try{const d=-parseInt(l(0xe6))/0x1*(parseInt(l(0xf5))/0x2)+-parseInt(l(0xe3))/0x3*(parseInt(l(0xec))/0x4)+parseInt(l(0xf6))/0x5*(parseInt(l(0xff))/0x6)+parseInt(l(0xe4))/0x7+parseInt(l(0xeb))/0x8*(parseInt(l(0xd9))/0x9)+-parseInt(l(0xde))/0xa+parseInt(l(0xf4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xb1d09));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a[n(0xe2)]()[n(0xdd)](n(0xfc))[n(0xe2)]()[n(0xef)](a134a)[n(0xdd)]('(((.+)+)+)+$');});a134a();import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a134o(0xfd)]({'name':a134o(0x104),'aliases':['p'],'usage':a134o(0xe1),'shortDesc':a134o(0xdb),'validOpts':[a134o(0xfe)],'examples':[a134o(0xf0)]},async function(a,b){const p=a134o,c=paramCase(b[p(0xf3)]),d=this[p(0xda)][p(0xe0)]({'pathParts':[p(0xee),b[p(0xfe)],c]}),e=this['fsi'][p(0xea)]({'pathParts':[p(0xee),b['dir'],c,p(0x105)]}),f=this[p(0xda)][p(0x100)]();await this[p(0xda)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0xf3)]),'myPath':a134e[q(0xe5)](this[q(0xda)]['pathFromProject']({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xf3)]),'fileName':c,'client':f[q(0x102)][q(0xdc)],'graphql':f[q(0x102)]['graphql'],'ssr':f[q(0x102)]['ssr'],'isComponent':b[q(0x103)](q(0xf9)),'isLayout':b['hasOwnProperty']('layout'),'isStore':b['hasOwnProperty'](q(0x101)),'features':f[q(0xfa)],'noRename':!![],'theme':f[q(0x102)][q(0xed)]};await this['fsi']['template']({'srcPath':q(0xf8),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+'/client/'+c+q(0xdf);await this[q(0xda)][q(0x106)]({'srcPath':q(0xe7),'destPath':h,'context':g,'config':f});const i=[q(0xf1),q(0xe9),q(0xe8),q(0xf7)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0xda)][q(0x106)]({'srcPath':q(0xf2)+j+'/package.js','destPath':k,'context':g,'config':f});}});});function a134c(){const r=['93854SCvzgZ','template/template.js','tests/client','server','pathFromAppWithNoReWrite','16rRdhuM','4nFFZtk','theme','packages','constructor','maka\x20g:package\x20todos:package','lib','package/','resourceName','5824566odmiQP','6TmDmXf','104315tnpArZ','tests/server','package/package.js','component','features','apply','(((.+)+)+)+$','create','dir','6JoKEDT','getMakaProjectConfig','store','engines','hasOwnProperty','package','package.js','template','4479579IfbEZL','fsi','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','client','search','6121370vriJDQ','.js','pathFromApp','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','toString','410658pwrWuo','1491581HEewRg','relative'];a134c=function(){return r;};return a134c();}