@maka/maka-cli 4.12.14 → 4.12.16

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 (158) 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/collection.js +1 -1
  109. package/bundle/obf/src/generators/component.js +1 -1
  110. package/bundle/obf/src/generators/config.js +1 -1
  111. package/bundle/obf/src/generators/dbc.js +1 -1
  112. package/bundle/obf/src/generators/dockerfile.js +1 -1
  113. package/bundle/obf/src/generators/hook.js +1 -1
  114. package/bundle/obf/src/generators/kits/_index.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  117. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/kit.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  127. package/bundle/obf/src/generators/layout.js +1 -1
  128. package/bundle/obf/src/generators/maka.gen.js +1 -1
  129. package/bundle/obf/src/generators/methods.js +1 -1
  130. package/bundle/obf/src/generators/package.js +1 -1
  131. package/bundle/obf/src/generators/page.js +1 -1
  132. package/bundle/obf/src/generators/publish.js +1 -1
  133. package/bundle/obf/src/generators/route.js +1 -1
  134. package/bundle/obf/src/generators/service.js +1 -1
  135. package/bundle/obf/src/generators/services/_index.js +1 -1
  136. package/bundle/obf/src/generators/services/openssl.js +1 -1
  137. package/bundle/obf/src/generators/services/translation.js +1 -1
  138. package/bundle/obf/src/maka.js +1 -1
  139. package/bundle/obf/src/tool.js +1 -1
  140. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  141. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  142. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  143. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  144. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  146. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/https/https.class.js +1 -1
  148. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  149. package/bundle/obf/src/tools/log/log.class.js +1 -1
  150. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/options/options.class.js +1 -1
  152. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  153. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  154. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  155. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  156. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  158. package/package.json +1 -1
@@ -1 +1 @@
1
- const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=parseInt(f(0x153))/0x1+parseInt(f(0x15c))/0x2*(parseInt(f(0x15a))/0x3)+parseInt(f(0x14c))/0x4*(-parseInt(f(0x15e))/0x5)+-parseInt(f(0x14e))/0x6*(-parseInt(f(0x150))/0x7)+-parseInt(f(0x14d))/0x8*(parseInt(f(0x159))/0x9)+-parseInt(f(0x15f))/0xa*(parseInt(f(0x156))/0xb)+-parseInt(f(0x157))/0xc*(-parseInt(f(0x154))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x8a16e));function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x14b;let f=c[d];return f;},a115d(a,b);}const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a115d;if(c){const e=c[g(0x160)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const h=a115d;return a115a['toString']()[h(0x14b)]('(((.+)+)+)+$')[h(0x152)]()[h(0x158)](a115a)[h(0x14b)](h(0x14f));});function a115c(){const k=['10186930uojuUD','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','319OsNzfc','12MBHyZi','constructor','9bGmiEb','153KsEJgE','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','21522NarkbF','maka\x20g:kit:a','60355IKxzEK','344900uJeYer','apply','search','52sQcVzo','2084216xzOiKO','4206jOYZGi','(((.+)+)+)+$','987kgLZbH','NIE','toString','552012ByjPfC'];a115c=function(){return k;};return a115c();}a115a();import{Generator}from'../../../generator.js';import a115e from'../kit.js';const AuthGen=Generator['create']({'name':'auth','aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','noNeedResource':!![],'shortDesc':a115i(0x15b),'validOpts':[''],'isPro':!![],'examples':[a115i(0x15d)],'description':a115i(0x155)},async function(){const j=a115i;throw j(0x151);},async function(){},a115e);export default AuthGen;
1
+ function a115c(){const k=['maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','1127292aFAkGM','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','3036680oTglSU','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','NIE','6215913quEGhr','constructor','40wJcmux','28785mxuxOW','302708yplljj','auth','11593AzPPeA','5SRAAUz','search','199544EGCYtu','27HsYsOC','76oNoKNP','apply','toString','(((.+)+)+)+$','create'];a115c=function(){return k;};return a115c();}const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=parseInt(f(0x1b5))/0x1*(-parseInt(f(0x1b1))/0x2)+parseInt(f(0x1b2))/0x3*(-parseInt(f(0x1ba))/0x4)+parseInt(f(0x1b6))/0x5*(parseInt(f(0x1aa))/0x6)+parseInt(f(0x1b3))/0x7+parseInt(f(0x1b8))/0x8*(parseInt(f(0x1b9))/0x9)+-parseInt(f(0x1ac))/0xa+parseInt(f(0x1af))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x25675));function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a115d(a,b);}const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a115d;if(c){const e=c[g(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const h=a115d;return a115a[h(0x1bc)]()[h(0x1b7)](h(0x1bd))['toString']()[h(0x1b0)](a115a)['search']('(((.+)+)+)+$');});a115a();import{Generator}from'../../../generator.js';import a115e from'../kit.js';const AuthGen=Generator[a115i(0x1a8)]({'name':a115i(0x1b4),'aliases':['a'],'usage':a115i(0x1a9),'noNeedResource':!![],'shortDesc':a115i(0x1ad),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:a'],'description':a115i(0x1ab)},async function(){const j=a115i;throw j(0x1ae);},async function(){},a115e);export default AuthGen;
@@ -1 +1 @@
1
- const a116q=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=-parseInt(o(0x82))/0x1*(parseInt(o(0x97))/0x2)+-parseInt(o(0x98))/0x3+-parseInt(o(0x99))/0x4*(-parseInt(o(0x65))/0x5)+parseInt(o(0x9b))/0x6+-parseInt(o(0xa3))/0x7*(parseInt(o(0x96))/0x8)+-parseInt(o(0x80))/0x9*(parseInt(o(0x7a))/0xa)+-parseInt(o(0x7e))/0xb*(-parseInt(o(0x73))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x8b513));const a116b=(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;};}()),a116a=a116b(this,function(){const p=a116d;return a116a[p(0x79)]()[p(0x75)](p(0x6b))[p(0x79)]()[p(0x8b)](a116a)['search']('(((.+)+)+)+$');});a116a();import{Generator}from'../../../generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x64;let f=c[d];return f;},a116d(a,b);}function a116c(){const t=['2512770LNkEEK','4308MYVrhb','engines','6795690SJyiEe','/imports/startup/client/authentication-service','meteor/accounts-base','meteor/meteor','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','authentication-service','injectIntoFile','auth/roles','28HfqCTi','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','365FCkCXt','accounts-password','const\x20getUserAuthorizations','return\x20\x5c(','alanning:roles','REACT','(((.+)+)+)+$','injectIntoCodeBlock','index','server','template','create','/imports/startup/lib','export\x20const\x20AuthProvider','41208BuEYAA','AuthService','search','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','fsi','true','toString','10480YoUWSo','getMakaProjectConfig','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','const\x20authenticateUser','6787GsFarS','meteor/maka:react-tracker','99YwgyFl','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','16851hvioAW','Meteor.publish','react','imports','Meteor','force','error','authentication-provider','publish','constructor','const\x20registerNewUser','meteor','\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','pathFromApp','.js','ssr','injectImport','processAndRunGenerator','const\x20sendForgotPasswordEmail','useTracker','2236512KtuOvX','94BIZnkH'];a116c=function(){return t;};return a116c();}import{Log}from'../../../tools/log/log.class.js';import a116e from'./auth.generator.js';import a116f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a116q(0x70)]({'name':a116q(0x8d),'aliases':['m'],'usage':a116q(0x7c),'shortDesc':a116q(0x81),'validOpts':[a116q(0x87)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116q(0x6a)]},'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 r=a116q;try{const c=b[r(0x87)]||![];await this['fsi']['checkMeteorPackage']([r(0x66),r(0x69)],{'shouldInstall':!![]});const d=this[r(0x77)]['findProjectDirectory'](),f=this[r(0x77)][r(0x7b)](),g=f[r(0x9a)][r(0x91)]===r(0x78);await a116f[r(0x93)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a116f[r(0x93)](r(0x8a),[r(0xa2)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?r(0x71):'/imports/startup/client',j=this[r(0x77)]['pathFromApp']({'pathParts':[i,'','',r(0xa0)]});await this[r(0x77)]['withValue'](f,async()=>{const s=r;await this[s(0x77)][s(0x6f)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+s(0x90),'framework':s(0x84),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[r(0x77)]['pathFromApp']({'pathParts':[i,'','',r(0x89)]}),l=f[r(0x9a)]['js'];await this[r(0x77)][r(0x92)]({'filePath':k+'.'+l,'importName':r(0x74),'modulePath':g?'/imports/startup/lib/authentication-service':r(0x9c),'isNamedExport':![]}),await this[r(0x77)][r(0x6c)]({'filePath':k+'.'+l,'content':r(0x8e),'begin':r(0x7d),'replace':!![]}),await this[r(0x77)][r(0x6c)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20authenticateToken','replace':!![]}),await this['fsi'][r(0x6c)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x67),'replace':!![]}),await this[r(0x77)][r(0x6c)]({'filePath':k+'.'+l,'content':r(0x76),'begin':'const\x20deauthenticateUser','replace':!![]}),await this['fsi'][r(0x6c)]({'filePath':k+'.'+l,'content':r(0x9f),'begin':r(0x94),'replace':!![]}),await this['fsi'][r(0x6c)]({'filePath':k+'.'+l,'content':r(0x64),'begin':r(0x8c),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'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':'const\x20resetPasswordWithToken','replace':!![]});g&&(await this[r(0x77)][r(0x92)]({'filePath':k+'.'+l,'importName':r(0x95),'modulePath':r(0x7f),'isNamedExport':!![]}),await this['fsi'][r(0xa1)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x72),'end':r(0x68)}));await this[r(0x77)]['injectImport']({'filePath':h,'importName':r(0x86),'modulePath':r(0x9e),'isNamedExport':!![],'injectAtStart':!![]}),await this[r(0x77)][r(0x6c)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x83),'replace':!![]});const m=this[r(0x77)][r(0x8f)]({'pathParts':[r(0x85),'startup',r(0x6e),r(0x6d)]});await this[r(0x77)]['injectImport']({'filePath':m+'.'+l,'importName':'Accounts','modulePath':r(0x9d),'isNamedExport':!![]}),await this[r(0x77)][r(0x6c)]({'filePath':m+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':'Meteor.startup','replace':!![]});}catch(n){Log[r(0x88)](n),process['exit'](0x1);}},async function(){},a116e);
1
+ const a116q=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=-parseInt(o(0x109))/0x1*(-parseInt(o(0xf5))/0x2)+-parseInt(o(0xf6))/0x3+parseInt(o(0x104))/0x4+parseInt(o(0xf4))/0x5+-parseInt(o(0x118))/0x6+parseInt(o(0x11b))/0x7+-parseInt(o(0x114))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xbc0da));function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xe7;let f=c[d];return f;},a116d(a,b);}const a116b=(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;};}()),a116a=a116b(this,function(){const p=a116d;return a116a[p(0xfb)]()['search'](p(0x10e))[p(0xfb)]()[p(0xe8)](a116a)[p(0xe9)](p(0x10e));});a116a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a116e from'./auth.generator.js';import a116f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a116q(0x10f),'aliases':['m'],'usage':a116q(0x110),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a116q(0x119)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116q(0x102)]},'description':a116q(0x117)},async function(a,b){const r=a116q;try{const c=b[r(0x119)]||![];await this['fsi']['checkMeteorPackage']([r(0x11a),r(0xf7)],{'shouldInstall':!![]});const d=this['fsi'][r(0x11d)](),f=this[r(0x105)][r(0x10d)](),g=f[r(0x11f)][r(0x120)]===r(0x101);await a116f[r(0x10c)](r(0xfc),[],{'force':c,'cwd':d,'config':f});const h=await a116f[r(0x10c)]('publish',[r(0x11c)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?r(0x108):r(0xe7),j=this[r(0x105)][r(0xea)]({'pathParts':[i,'','',r(0xf8)]});await this[r(0x105)][r(0x124)](f,async()=>{const s=r;await this[s(0x105)][s(0x125)]({'srcPath':s(0xfe),'destPath':j+s(0xf3),'framework':'react','context':{},'config':f,'force':c,'ignore':![]});});const k=this['fsi']['pathFromApp']({'pathParts':[i,'','',r(0xfa)]}),l=f[r(0x11f)]['js'];await this[r(0x105)][r(0x111)]({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?'/imports/startup/lib/authentication-service':'/imports/startup/client/authentication-service','isNamedExport':![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x115),'begin':r(0xfd),'replace':!![]}),await this['fsi'][r(0xf1)]({'filePath':k+'.'+l,'content':r(0xef),'begin':r(0xeb),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x127),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0xed),'begin':r(0x123),'replace':!![]}),await this[r(0x105)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x113),'begin':r(0x107),'replace':!![]}),await this[r(0x105)][r(0xf1)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x128),'replace':!![]}),await this[r(0x105)][r(0xf1)]({'filePath':k+'.'+l,'content':r(0x121),'begin':r(0x10b),'replace':!![]});g&&(await this[r(0x105)]['injectImport']({'filePath':k+'.'+l,'importName':r(0xf0),'modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await this['fsi'][r(0xec)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':r(0xf2),'end':r(0xff)}));await this[r(0x105)][r(0x111)]({'filePath':h,'importName':r(0xee),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this[r(0x105)][r(0xf1)]({'filePath':h,'content':r(0xf9),'begin':r(0x116),'replace':!![]});const m=this[r(0x105)][r(0xea)]({'pathParts':[r(0x126),r(0x103),'server',r(0x106)]});await this['fsi'][r(0x111)]({'filePath':m+'.'+l,'importName':r(0x122),'modulePath':r(0x100),'isNamedExport':!![]}),await this[r(0x105)]['injectIntoCodeBlock']({'filePath':m+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x11e),'replace':!![]});}catch(n){Log[r(0x10a)](n),process[r(0x112)](0x1);}},async function(){},a116e);function a116c(){const t=['exit','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','16944552NuHqPr','\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.publish','\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','2932038UirHCi','force','accounts-password','7902356LAAcVo','auth/roles','findProjectDirectory','Meteor.startup','engines','ssr','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','Accounts','const\x20deauthenticateUser','withValue','template','imports','const\x20getUserAuthorizations','const\x20registerNewUser','/imports/startup/client','constructor','search','pathFromApp','const\x20authenticateToken','injectIntoFile','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','Meteor','\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','useTracker','injectIntoCodeBlock','export\x20const\x20AuthProvider','.js','2051215uOqFVr','978FolYiJ','2478036jcRTop','alanning:roles','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','authentication-provider','toString','kit:auth:provider','const\x20authenticateUser','kit/auth/service/meteor-auth-service.js','return\x20\x5c(','meteor/accounts-base','true','REACT','startup','5035888dGXHaG','fsi','index','const\x20sendForgotPasswordEmail','/imports/startup/lib','2873buTlmB','error','const\x20resetPasswordWithToken','processAndRunGenerator','getMakaProjectConfig','(((.+)+)+)+$','meteor','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','injectImport'];a116c=function(){return t;};return a116c();}
@@ -1 +1 @@
1
- const a117x=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=-parseInt(u(0x82))/0x1*(parseInt(u(0x88))/0x2)+parseInt(u(0x96))/0x3+-parseInt(u(0x9f))/0x4+-parseInt(u(0x9c))/0x5*(-parseInt(u(0x81))/0x6)+parseInt(u(0x79))/0x7*(-parseInt(u(0x9a))/0x8)+-parseInt(u(0x7e))/0x9*(-parseInt(u(0xa3))/0xa)+-parseInt(u(0x90))/0xb*(parseInt(u(0xab))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x28355));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a[w(0x7a)]()['search'](w(0xa6))['toString']()[w(0x94)](a117a)['search'](w(0xa6));});function a117c(){const A=['useContext','authentication-provider','REACT','injectIntoCodeBlock','AuthProvider','41866liPQCQ','/imports/startup/client/authentication-provider','provider','replaceAll','constructor','injectImport','729888lZTeWv','kit/auth/provider/authentication-provider.js','withValue','<AuthProvider>','935664eARjLU','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','35hbwzSp','const\x20Routes','create','164984ROkFwP','error','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','pathFromApp','20380vOjlsZ','<Routes\x20history={browserHistory}/>','apply','(((.+)+)+)+$','appName','/routes','/imports/startup/server/index','/imports/startup/client','120KJxGMC','ssr','split','</AuthProvider>','function\x20Routes','14WEDHOp','toString','force','react','/imports/startup/client/index','792YXRtuU','/imports/startup/lib/authentication-provider','fsi','261006SwaqSf','16hEEFOG','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','/imports/startup/lib','\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','getMakaProjectConfig','engines','31154MAiOAL','bright','<Routes\x20history={history}/>'];a117c=function(){return A;};return a117c();}a117a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x76;let f=c[d];return f;},a117d(a,b);}Generator[a117x(0x9e)]({'name':a117x(0x92),'aliases':['p'],'usage':a117x(0x9b),'shortDesc':a117x(0x83),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117x(0x8d)]},'description':a117x(0x85)},async function(a,b){const y=a117x;try{const c=b[y(0x7b)]||![];Log[y(0x89)](y(0xa1));const d=this[y(0x80)][y(0x86)](),f=d[y(0x87)][y(0xac)]==='true',g={'name':headerCase(d[y(0xa7)])[y(0x93)]('-','\x20')},h=f?y(0x84):y(0xaa),i=this[y(0x80)][y(0xa2)]({'pathParts':[h,'','',y(0x8c)]});await this[y(0x80)][y(0x98)](d,async()=>{const z=y;await this[z(0x80)]['template']({'srcPath':z(0x97),'destPath':i+'.js','framework':z(0x7c),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x87)]['js'],k=h+y(0xa8),l=k[y(0x76)]('/'),m=this['fsi'][y(0xa2)]({'pathParts':l});await this[y(0x80)][y(0x95)]({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0x7f):y(0x91),'isNamedExport':!![]}),await this[y(0x80)][y(0x95)]({'filePath':m+'.'+j,'importName':y(0x8b),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x80)][y(0x8e)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','begin':[y(0x9d),y(0x78)],'replace':!![]});const n=y(0x7d),o=n['split']('/'),p=this[y(0x80)][y(0xa2)]({'pathParts':o});await this['fsi'][y(0x95)]({'filePath':p+'.'+j,'importName':y(0x8f),'modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x80)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':y(0x99),'belowContent':'</AuthProvider>','targetString':y(0xa4),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0xa9),r=q[y(0x76)]('/'),s=this[y(0x80)]['pathFromApp']({'pathParts':r});await this[y(0x80)]['injectImport']({'filePath':s+'.'+j,'importName':y(0x8f),'modulePath':f?y(0x7f):y(0x91),'isNamedExport':!![]}),await this['fsi']['injectAroundString']({'filePath':s+'.'+j,'aboveContent':y(0x99),'belowContent':y(0x77),'targetString':y(0x8a),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0xa0)](t),process['exit'](0x1);}},async function(){},a117e);
1
+ const a117w=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=parseInt(u(0x180))/0x1+-parseInt(u(0x19a))/0x2*(parseInt(u(0x192))/0x3)+parseInt(u(0x18e))/0x4+-parseInt(u(0x191))/0x5*(-parseInt(u(0x194))/0x6)+-parseInt(u(0x190))/0x7+parseInt(u(0x1b2))/0x8*(parseInt(u(0x187))/0x9)+parseInt(u(0x189))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xe5f05));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const v=a117d;return a117a[v(0x18d)]()[v(0x17e)](v(0x19d))[v(0x18d)]()[v(0x19e)](a117a)[v(0x17e)](v(0x19d));});a117a();function a117c(){const z=['pathFromApp','kit/auth/provider/authentication-provider.js','search','<Routes\x20history={history}/>','179922ESrBnT','useContext','AuthContext','bright','<AuthProvider>','split','true','1314504IstjZh','\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','1315900JkCkTu','/imports/startup/lib/authentication-provider','REACT','/imports/startup/server/index','toString','4571564KyednE','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','9938754taXdFt','430885FoJfBk','31026RVvgeQ','ssr','108WadYcg','injectImport','.js','fsi','injectIntoCodeBlock','authentication-provider','294yxTRbj','</AuthProvider>','AuthProvider','(((.+)+)+)+$','constructor','/imports/startup/client/authentication-provider','appName','react','getMakaProjectConfig','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','\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','injectAroundString','exit','replaceAll','withValue','template','provider','/imports/startup/client','force','error','/routes','<Routes\x20history={browserHistory}/>','const\x20Routes','48UuKnwl'];a117c=function(){return z;};return a117c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';import{headerCase}from'change-case';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x17c;let f=c[d];return f;},a117d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a117w(0x1ab),'aliases':['p'],'usage':a117w(0x18f),'shortDesc':a117w(0x1a4),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117w(0x18b)]},'description':a117w(0x1a5)},async function(a,b){const x=a117w;try{const c=b[x(0x1ad)]||![];Log[x(0x183)](x(0x1a3));const d=this[x(0x197)][x(0x1a2)](),f=d['engines'][x(0x193)]===x(0x186),g={'name':headerCase(d[x(0x1a0)])[x(0x1a8)]('-','\x20')},h=f?'/imports/startup/lib':x(0x1ac),i=this[x(0x197)]['pathFromApp']({'pathParts':[h,'','',x(0x199)]});await this['fsi'][x(0x1a9)](d,async()=>{const y=x;await this['fsi'][y(0x1aa)]({'srcPath':y(0x17d),'destPath':i+y(0x196),'framework':y(0x1a1),'context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+x(0x1af),l=k[x(0x185)]('/'),m=this['fsi'][x(0x17c)]({'pathParts':l});await this[x(0x197)]['injectImport']({'filePath':m+'.'+j,'importName':x(0x182),'modulePath':f?x(0x18a):x(0x19f),'isNamedExport':!![]}),await this[x(0x197)][x(0x195)]({'filePath':m+'.'+j,'importName':x(0x181),'modulePath':x(0x1a1),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x197)][x(0x198)]({'filePath':m+'.'+j,'content':x(0x188),'begin':[x(0x1b1),'function\x20Routes'],'replace':!![]});const n='/imports/startup/client/index',o=n[x(0x185)]('/'),p=this[x(0x197)][x(0x17c)]({'pathParts':o});await this['fsi']['injectImport']({'filePath':p+'.'+j,'importName':x(0x19c),'modulePath':f?'/imports/startup/lib/authentication-provider':x(0x19f),'isNamedExport':!![]}),await this['fsi'][x(0x1a6)]({'filePath':p+'.'+j,'aboveContent':x(0x184),'belowContent':x(0x19b),'targetString':x(0x1b0),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x18c),r=q['split']('/'),s=this['fsi'][x(0x17c)]({'pathParts':r});await this[x(0x197)][x(0x195)]({'filePath':s+'.'+j,'importName':x(0x19c),'modulePath':f?x(0x18a):x(0x19f),'isNamedExport':!![]}),await this[x(0x197)][x(0x1a6)]({'filePath':s+'.'+j,'aboveContent':x(0x184),'belowContent':x(0x19b),'targetString':x(0x17f),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0x1ae)](t),process[x(0x1a7)](0x1);}},async function(){},a117e);
@@ -1 +1 @@
1
- function a118c(){var i=['5224032Gbdrqp','4939720WIZAxu','search','428652PcWVse','3jeamVI','toString','183536gsNbLR','25ChKDAA','401134TiLXXk','1424718cVylJc','12IrtUjg','constructor','apply','1476755nCJumi'];a118c=function(){return i;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xd2))/0x1*(parseInt(f(0xd6))/0x2)+parseInt(f(0xd7))/0x3+-parseInt(f(0xd4))/0x4*(parseInt(f(0xd5))/0x5)+parseInt(f(0xd8))/0x6*(-parseInt(f(0xcd))/0x7)+parseInt(f(0xce))/0x8+parseInt(f(0xd1))/0x9+parseInt(f(0xcf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x65acb));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xd3)]()[h(0xd0)]('(((.+)+)+)+$')[h(0xd3)]()[h(0xcb)](a118a)[h(0xd0)]('(((.+)+)+)+$');});a118a();import'./esri.generator.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xcb;var f=c[d];return f;},a118d(a,b);}import'./map.esri.gen.js';
1
+ function a118c(){var i=['constructor','1146202kBcMua','toString','1406170SFTIaq','79075mkgPnL','28YRZIzf','10644008mrPWpf','3EsOQiq','apply','50779399naxDpY','12pilJac','8861220MzUjmg','9UMElFC','search','88KNAgaJ','(((.+)+)+)+$','779238ggCYlM'];a118c=function(){return i;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xea))/0x1+-parseInt(f(0xec))/0x2*(parseInt(f(0xf0))/0x3)+-parseInt(f(0xe6))/0x4*(parseInt(f(0xed))/0x5)+parseInt(f(0xe8))/0x6*(parseInt(f(0xee))/0x7)+-parseInt(f(0xef))/0x8*(parseInt(f(0xf5))/0x9)+-parseInt(f(0xf4))/0xa+parseInt(f(0xf2))/0xb*(parseInt(f(0xf3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xb0429));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xf1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xeb)]()[h(0xf6)]('(((.+)+)+)+$')[h(0xeb)]()[h(0xe9)](a118a)[h(0xf6)](h(0xe7));});a118a();import'./esri.generator.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xe6;var f=c[d];return f;},a118d(a,b);}import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a119i=a119d;function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x105;let f=c[d];return f;},a119d(a,b);}(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x109))/0x1+parseInt(f(0x119))/0x2*(-parseInt(f(0x10c))/0x3)+parseInt(f(0x10b))/0x4*(parseInt(f(0x106))/0x5)+parseInt(f(0x118))/0x6+parseInt(f(0x112))/0x7+-parseInt(f(0x115))/0x8*(parseInt(f(0x114))/0x9)+parseInt(f(0x113))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xee5f8));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x10a)]()[h(0x10e)](h(0x116))['toString']()['constructor'](a119a)['search']('(((.+)+)+)+$');});a119a();import{Generator}from'../../../generator.js';function a119c(){const k=['5796477GmEPRT','24KbPXjD','(((.+)+)+)+$','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','9452688THDMGZ','2FDEfFW','\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','164735kCEoAK','/foo/bar','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','498790eCLfQj','toString','28ViaNqH','1286115MGMgCu','maka\x20g:kit:e','search','create','/foo','apply','6013609ENWKSh','1732860fScGWH'];a119c=function(){return k;};return a119c();}import a119e from'../kit.js';const EsriGen=Generator[a119i(0x10f)]({'name':'esri','aliases':['e'],'usage':a119i(0x108),'noNeedResource':!![],'shortDesc':a119i(0x117),'validOpts':[''],'isPro':!![],'examples':[a119i(0x10d)],'description':a119i(0x105)},async function(){const j=a119i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0x107)],'filesUpdated':[j(0x110)]}};},async function(){},a119e);export default EsriGen;
1
+ const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0xa9))/0x1+-parseInt(f(0xb8))/0x2+-parseInt(f(0xb4))/0x3+-parseInt(f(0xac))/0x4+parseInt(f(0xa6))/0x5*(parseInt(f(0xa8))/0x6)+parseInt(f(0xa4))/0x7*(parseInt(f(0xb2))/0x8)+parseInt(f(0xad))/0x9*(-parseInt(f(0xa5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xb198e));function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xa3;let f=c[d];return f;},a119d(a,b);}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0xb6)]()[h(0xae)](h(0xaa))[h(0xb6)]()['constructor'](a119a)['search'](h(0xaa));});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const EsriGen=Generator[a119i(0xa3)]({'name':a119i(0xb7),'aliases':['e'],'usage':a119i(0xb0),'noNeedResource':!![],'shortDesc':a119i(0xaf),'validOpts':[''],'isPro':!![],'examples':[a119i(0xab)],'description':'\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'},async function(){const j=a119i;return{'success':!![],'message':j(0xb3),'details':{'filesCreated':[j(0xb5)],'filesUpdated':[j(0xa7)]}};},async function(){},a119e);function a119c(){const k=['2058342xLfbnL','/foo/bar','toString','esri','62536HJZwPM','create','7izbKdl','2136020cJlECH','5215bGqMVJ','/foo','1974dEYhHp','839771oigAlC','(((.+)+)+)+$','maka\x20g:kit:e','3511752lEAFbb','9solRAE','search','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','apply','10827536limfGw','Esri\x20Kit\x20generated\x20successfully'];a119c=function(){return k;};return a119c();}export default EsriGen;
@@ -1 +1 @@
1
- function a120c(){const u=['298210IELXYv','exit','replaceAll','appName','pathFromApp','basic-map','bright','getMakaProjectConfig','2942676HXieMw','<div\x20id=\x22map\x22>','search','toString','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','checkNpmPackage','dir','.js','8KUkdSN','/imports/startup/lib/templates','react','2607516GfLOSG','REACT','injectImport','error','page','withValue','(((.+)+)+)+$','constructor','esri-loader','engines','fsi','baseDir','/imports/startup/client/templates','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','injectIntoFile','\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','processAndRunGenerator','Generate\x20an\x20Esri\x20map\x20component','239306BeLrbu','ssr','create','map','Generating\x20a\x20map\x20component','153VxZgzo','FALSE','/imports/ui/hooks','true','3050736iBHnNP','755610KgqeEP','split','@esri/react-arcgis','1491VjnqXU','18104DATEqG'];a120c=function(){return u;};return a120c();}function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xff;let f=c[d];return f;},a120d(a,b);}const a120r=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=parseInt(p(0x11c))/0x1*(parseInt(p(0x107))/0x2)+-parseInt(p(0x10a))/0x3+parseInt(p(0x125))/0x4+parseInt(p(0x126))/0x5+parseInt(p(0xff))/0x6+parseInt(p(0x129))/0x7*(-parseInt(p(0x12a))/0x8)+parseInt(p(0x121))/0x9*(-parseInt(p(0x12b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x7ae20));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 q=a120d;return a120a[q(0x102)]()[q(0x101)](q(0x110))[q(0x102)]()[q(0x111)](a120a)[q(0x101)](q(0x110));});a120a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120e from'./esri.generator.js';import a120f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120r(0x11e)]({'name':a120r(0x11f),'aliases':['m'],'usage':a120r(0x117),'shortDesc':a120r(0x11b),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120r(0x10b)],'ssr':SsrEngines[a120r(0x122)]},'description':a120r(0x119)},async function(a,b){const s=a120r;try{Log[s(0x131)](s(0x120));const c=s(0x130);await this[s(0x114)][s(0x104)]([s(0x128),s(0x112)],{'shouldInstall':!![]});const d=this[s(0x114)]['findProjectDirectory'](),f=this[s(0x114)][s(0x132)](),g=f[s(0x113)][s(0x11d)]===s(0x124),h=await a120f[s(0x11a)](s(0x10e),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0x12e)])[s(0x12d)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?'/imports/ui/'+b[s(0x115)]:s(0x123),k=this[s(0x114)][s(0x12f)]({'pathParts':[j,b[s(0x105)],paramCase(c),paramCase(c)]});await this[s(0x114)][s(0x10f)](f,async()=>{const t=s;await this['fsi']['template']({'srcPath':'kit/esri/map/'+c+t(0x106),'destPath':k+t(0x106),'framework':t(0x109),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[s(0x114)]['injectTemplateModule'](c,f,l);const m=h[s(0x127)]('/'),n=this[s(0x114)][s(0x12f)]({'pathParts':m});await this[s(0x114)][s(0x10c)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0x108):s(0x116),'isNamedExport':!![]}),await this['fsi'][s(0x118)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0x103),'begin':[s(0x100),s(0x100)],'end':['</div>'],'replace':!![]});}catch(o){Log[s(0x10d)](o),process[s(0x12c)](0x1);}},async function(){},a120e);
1
+ const a120s=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=-parseInt(p(0x19d))/0x1+parseInt(p(0x19c))/0x2*(parseInt(p(0x1ad))/0x3)+parseInt(p(0x1a1))/0x4+parseInt(p(0x186))/0x5+-parseInt(p(0x196))/0x6+-parseInt(p(0x1a6))/0x7*(-parseInt(p(0x1a7))/0x8)+parseInt(p(0x18f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x7a92d));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a[r(0x1ae)]()[r(0x1af)](r(0x1a4))[r(0x1ae)]()[r(0x18b)](a120a)[r(0x1af)](r(0x1a4));});a120a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a120c(){const v=['/imports/startup/lib/templates','withValue','basic-map','apply','3386148bccgtK','template','Generating\x20a\x20map\x20component','/imports/startup/client/templates','getMakaProjectConfig','/imports/ui/','246AGHCQv','851200PmOMin','baseDir','engines','<div\x20id=\x22map\x22>','36304eSixop','map','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','(((.+)+)+)+$','Generate\x20an\x20Esri\x20map\x20component','14511qdrZCh','2064wAelzv','findProjectDirectory','replaceAll','/imports/ui/hooks','create','injectIntoFile','8667QCHYAR','toString','search','true','ssr','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','injectTemplateModule','appName','pathFromApp','error','4630385EtUPqX','FALSE','injectImport','.js','kit/esri/map/','constructor','fsi','exit','bright','830565bPNnQc','esri-loader','dir'];a120c=function(){return v;};return a120c();}import a120e from'./esri.generator.js';import a120f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x183;let f=c[d];return f;},a120d(a,b);}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120s(0x1ab)]({'name':a120s(0x1a2),'aliases':['m'],'usage':a120s(0x1b2),'shortDesc':a120s(0x1a5),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a120s(0x187)]},'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=a120s;try{Log[t(0x18e)](t(0x198));const c=t(0x194);await this['fsi']['checkNpmPackage'](['@esri/react-arcgis',t(0x190)],{'shouldInstall':!![]});const d=this[t(0x18c)][t(0x1a8)](),f=this[t(0x18c)][t(0x19a)](),g=f[t(0x19f)][t(0x1b1)]===t(0x1b0),h=await a120f['processAndRunGenerator']('page',[t(0x1a2)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x183)])[t(0x1a9)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x19e)]?t(0x19b)+b[t(0x19e)]:t(0x1aa),k=this[t(0x18c)][t(0x184)]({'pathParts':[j,b[t(0x191)],paramCase(c),paramCase(c)]});await this[t(0x18c)][t(0x193)](f,async()=>{const u=t;await this['fsi'][u(0x197)]({'srcPath':u(0x18a)+c+u(0x189),'destPath':k+u(0x189),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x191)]+'/'+c+'/'+c;await this[t(0x18c)][t(0x1b3)](c,f,l);const m=h['split']('/'),n=this[t(0x18c)][t(0x184)]({'pathParts':m});await this[t(0x18c)][t(0x188)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x192):t(0x199),'isNamedExport':!![]}),await this[t(0x18c)][t(0x1ac)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x1a3),'begin':[t(0x1a0),t(0x1a0)],'end':['</div>'],'replace':!![]});}catch(o){Log[t(0x185)](o),process[t(0x18d)](0x1);}},async function(){},a120e);
@@ -1 +1 @@
1
- const a121i=a121d;function a121c(){const j=['maka\x20g:k','460XYWXtO','3fiMMFj','98378ZBDtFV','(((.+)+)+)+$','kit','10PWuQdf','apply','constructor','1078998BJcCvh','91521OOHoEo','32kvLAjL','159550vEuYmv','toString','233710xjeiZn','1895860UtYfEg','create','1582955KcnJVD','search','maka\x20g:kit'];a121c=function(){return j;};return a121c();}function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xe1;let f=c[d];return f;},a121d(a,b);}(function(a,b){const f=a121d,c=a();while(!![]){try{const d=-parseInt(f(0xe5))/0x1+-parseInt(f(0xe3))/0x2+parseInt(f(0xed))/0x3*(parseInt(f(0xe6))/0x4)+parseInt(f(0xf1))/0x5*(parseInt(f(0xf4))/0x6)+parseInt(f(0xee))/0x7*(parseInt(f(0xe2))/0x8)+-parseInt(f(0xe1))/0x9*(parseInt(f(0xec))/0xa)+parseInt(f(0xe8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x3da4d));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0xf2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0xe4)]()[h(0xe9)](h(0xef))[h(0xe4)]()[h(0xf3)](a121a)[h(0xe9)](h(0xef));});a121a();import{Generator}from'../../generator.js';const KitGen=Generator[a121i(0xe7)]({'name':a121i(0xf0),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0xea),a121i(0xeb)]},async function(){});export default KitGen;
1
+ function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x174;let f=c[d];return f;},a121d(a,b);}const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=parseInt(f(0x176))/0x1*(-parseInt(f(0x187))/0x2)+-parseInt(f(0x183))/0x3*(-parseInt(f(0x177))/0x4)+-parseInt(f(0x182))/0x5+-parseInt(f(0x185))/0x6+-parseInt(f(0x175))/0x7*(parseInt(f(0x17a))/0x8)+parseInt(f(0x17e))/0x9*(parseInt(f(0x17f))/0xa)+parseInt(f(0x17b))/0xb*(parseInt(f(0x179))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xcb527));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0x18a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a['toString']()['search'](h(0x188))[h(0x174)]()[h(0x189)](a121a)[h(0x178)]('(((.+)+)+)+$');});a121a();import{Generator}from'../../generator.js';const KitGen=Generator[a121i(0x184)]({'name':a121i(0x186),'aliases':['k'],'usage':a121i(0x181),'shortDesc':a121i(0x17d),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0x180),a121i(0x17c)]},async function(){});export default KitGen;function a121c(){const j=['531CeFIUW','213900eDQiWe','maka\x20g:kit','maka\x20{generate,\x20g}:{kit}\x20<name>','3855225BxvZBo','1074495dbTYGc','create','9539724hLXuam','kit','7804rzFBYr','(((.+)+)+)+$','constructor','apply','toString','59941geCVZb','241dOHWvR','4cpZTJU','search','18115380qsHgSI','472Mdjsvh','22qAKqOJ','maka\x20g:k','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.'];a121c=function(){return j;};return a121c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x1b5))/0x1*(parseInt(f(0x1b6))/0x2)+parseInt(f(0x1ab))/0x3+-parseInt(f(0x1ad))/0x4*(parseInt(f(0x1b0))/0x5)+-parseInt(f(0x1ac))/0x6*(parseInt(f(0x1b3))/0x7)+-parseInt(f(0x1b1))/0x8*(-parseInt(f(0x1af))/0x9)+parseInt(f(0x1b2))/0xa*(-parseInt(f(0x1ae))/0xb)+-parseInt(f(0x1aa))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x92b82));var a122b=(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;};}()),a122a=a122b(this,function(){var g=a122d;return a122a[g(0x1a8)]()[g(0x1b4)](g(0x1a9))[g(0x1a8)]()[g(0x1b7)](a122a)['search'](g(0x1a9));});a122a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x1a8;var f=c[d];return f;},a122d(a,b);}function a122c(){var h=['6FEjpNH','52GqRKHa','11hWqPaX','549gwJUYY','202185RophxQ','38264PHLAun','1747910rTtPbs','2308271JEZtBA','search','22oVdlDW','90004IrlZjH','constructor','toString','(((.+)+)+)+$','8217348LzGQNt','3102477fNRhVJ'];a122c=function(){return h;};return a122c();}
1
+ (function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x18b))/0x1*(-parseInt(f(0x197))/0x2)+parseInt(f(0x18f))/0x3*(parseInt(f(0x195))/0x4)+parseInt(f(0x196))/0x5+parseInt(f(0x18d))/0x6*(-parseInt(f(0x190))/0x7)+-parseInt(f(0x18a))/0x8*(parseInt(f(0x194))/0x9)+parseInt(f(0x193))/0xa+parseInt(f(0x189))/0xb*(parseInt(f(0x18e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xc308d));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x192)]()[h(0x191)](h(0x199))[h(0x192)]()[h(0x18c)](a122a)['search'](h(0x199));});a122a();function a122c(){var i=['search','toString','7549750TzyVrc','5836023VsEyNO','4YBthhI','3025270pexwxl','1808158XBXpjb','apply','(((.+)+)+)+$','33EhhmAS','8cxqhxl','1akLUMM','constructor','234aFelmT','2378988McQFuN','3973731KLRoGJ','166558vxeDVK'];a122c=function(){return i;};return a122c();}import'./mui.generator.js';import'./frame.mui.gen.js';function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x189;var f=c[d];return f;},a122d(a,b);}import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=parseInt(G(0xcb))/0x1*(-parseInt(G(0xda))/0x2)+-parseInt(G(0xe7))/0x3*(parseInt(G(0xaf))/0x4)+-parseInt(G(0xb3))/0x5*(parseInt(G(0xbe))/0x6)+-parseInt(G(0xb7))/0x7+-parseInt(G(0xde))/0x8*(parseInt(G(0xc8))/0x9)+parseInt(G(0xbb))/0xa*(parseInt(G(0xeb))/0xb)+parseInt(G(0xf1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xf0da4));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a['toString']()['search']('(((.+)+)+)+$')[I(0xcc)]()[I(0xce)](a123a)[I(0xe2)](I(0xba));});a123a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xaf;let f=c[d];return f;},a123d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a123e from'../../../generators/maka.gen.js';import a123f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123J(0xd4)]({'name':a123J(0xd5),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a123J(0xb9),'validOpts':[a123J(0xb5),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a123J(0xdc)]},'examples':[a123J(0xe4),'maka\x20g:k:m:f'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const K=a123J;try{const c=b[K(0xd6)]||![],d=this[K(0xdb)][K(0xc6)](),f=this[K(0xdb)]['getMakaProjectConfig'](),{authType:g}=await Actions[K(0xec)]({'type':'list','name':'authType','message':K(0xb1),'choices':[{'name':K(0xd0),'value':K(0xd8)},{'name':K(0xe5),'value':'custom'}]}),h=K(0xbc),i=K(0xd1),j=K(0xd7),k=K(0xb6),l=K(0xd3),m=b[K(0xc4)]?K(0xf0)+b[K(0xc4)]:'/imports/ui/pages/auth',n=this[K(0xdb)][K(0xdf)]({'pathParts':[m,b[K(0xea)],paramCase(h),paramCase(h)]}),o=this['fsi'][K(0xdf)]({'pathParts':[m,b[K(0xea)],paramCase(i),paramCase(i)]}),p=this[K(0xdb)][K(0xdf)]({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this['fsi'][K(0xdf)]({'pathParts':[m,b[K(0xea)],paramCase(k),paramCase(k)]}),r=this[K(0xdb)][K(0xdf)]({'pathParts':[m,b[K(0xea)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0xc5)])[K(0xe9)]('-','\x20')};await this[K(0xdb)][K(0xe3)](f,async()=>{const L=K;await this['fsi']['template']({'srcPath':L(0xd9)+h+L(0xbd),'destPath':n+L(0xbd),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0xc3)]({'srcPath':L(0xdd)+i+'.js','destPath':o+L(0xbd),'framework':L(0xc1),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':L(0xcf)+j+L(0xbd),'destPath':p+L(0xbd),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xdb)]['template']({'srcPath':'kit/mui/auth/password-reset/'+k+L(0xbd),'destPath':q+'.js','framework':L(0xc1),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xdb)][L(0xc3)]({'srcPath':L(0xe1)+l+'.js','destPath':r+L(0xbd),'framework':L(0xc1),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0xea)]+'/'+h+'/'+h;await this[K(0xdb)][K(0xee)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this[K(0xdb)][K(0xee)](i,f,u);const v=''+m+b[K(0xea)]+'/'+j+'/'+j;await this['fsi'][K(0xee)](j,f,v);const w=''+m+b['dir']+'/'+k+'/'+k;await this[K(0xdb)][K(0xee)](k,f,w);const x=''+m+b[K(0xea)]+'/'+l+'/'+l;await this[K(0xdb)][K(0xee)](l,f,x),await a123e[K(0xca)](K(0xb0),[K(0xbc)],{'url':K(0xed),'cwd':d,'config':f}),await a123e[K(0xca)](K(0xb0),[K(0xd1)],{'url':'logout','private':!![],'cwd':d,'config':f}),await a123e['processAndRunGenerator']('route',['basic-register-page'],{'url':'register','cwd':d,'config':f}),await a123e[K(0xca)](K(0xb0),[K(0xb6)],{'url':K(0xc2),'cwd':d,'config':f}),await a123e['processAndRunGenerator'](K(0xb0),[K(0xd3)],{'url':K(0xc0),'cwd':d,'config':f});g===K(0xd8)&&await a123e[K(0xca)]('kit:auth:meteor',[],{'force':c,'cwd':d,'config':f});g===K(0xcd)&&await a123e['processAndRunGenerator'](K(0xc7),[],{'force':c,'cwd':d,'config':f});const y=f['engines'][K(0xb8)]==='true',z=f['engines']['js'],A=this[K(0xdb)][K(0xdf)]({'pathParts':t[K(0xb2)]('/')});await this['fsi'][K(0xbf)]({'filePath':A+'.'+z,'importName':K(0xe6),'modulePath':y?K(0xb4):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[K(0xdb)]['pathFromApp']({'pathParts':u[K(0xb2)]('/')});await this['fsi'][K(0xbf)]({'filePath':B+'.'+z,'importName':K(0xe6),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0xd2),'isNamedExport':!![]});const C=this[K(0xdb)]['pathFromApp']({'pathParts':v[K(0xb2)]('/')});await this[K(0xdb)][K(0xbf)]({'filePath':C+'.'+z,'importName':K(0xe6),'modulePath':y?K(0xb4):K(0xd2),'isNamedExport':!![]});const D=this['fsi']['pathFromApp']({'pathParts':w['split']('/')});await this[K(0xdb)][K(0xbf)]({'filePath':D+'.'+z,'importName':K(0xe6),'modulePath':y?K(0xb4):K(0xd2),'isNamedExport':!![]});const E=this[K(0xdb)][K(0xdf)]({'pathParts':x[K(0xb2)]('/')});await this[K(0xdb)]['injectImport']({'filePath':E+'.'+z,'importName':K(0xe6),'modulePath':y?K(0xb4):K(0xd2),'isNamedExport':!![]});}catch(F){Log[K(0xe0)](F);}},async function(){const M=a123J;console[M(0xe8)](M(0xef));},a123f);function a123c(){const N=['Custom\x20(roll\x20your\x20own)','AuthContext','75UFWLZL','log','replaceAll','dir','2230294SvMftm','options','login','injectTemplateModule','Cleaning\x20up...','/imports/ui/','45823596UJxcaT','33740ZxXbwS','route','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','split','3810xVeapQ','/imports/startup/lib/authentication-provider','layouts','basic-password-reset-page','6957139NGAocX','ssr','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','(((.+)+)+)+$','10yQESyz','basic-login-page','.js','3954CLMbYH','injectImport','forgot-password','react','reset-password/:token','template','baseDir','appName','findProjectDirectory','kit:auth:provider','234psrXLw','apply','processAndRunGenerator','428721LnSpFa','toString','custom','constructor','kit/mui/auth/register/','Meteor\x20Accounts','basic-logout-page','/imports/startup/client/authentication-provider','basic-forgot-password-page','create','auth','force','basic-register-page','meteor','kit/mui/auth/login/','6TlhlKd','fsi','REACT','kit/mui/auth/logout/','12856DvghuQ','pathFromApp','error','kit/mui/auth/forgot-password/','search','withValue','maka\x20generate:kit:mui:frame'];a123c=function(){return N;};return a123c();}
1
+ const a123I=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=parseInt(G(0x198))/0x1+parseInt(G(0x172))/0x2+parseInt(G(0x15c))/0x3*(parseInt(G(0x193))/0x4)+-parseInt(G(0x173))/0x5*(parseInt(G(0x16b))/0x6)+parseInt(G(0x159))/0x7*(-parseInt(G(0x16d))/0x8)+-parseInt(G(0x15b))/0x9*(parseInt(G(0x15f))/0xa)+-parseInt(G(0x17a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x8f348));const a123b=(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;};}()),a123a=a123b(this,function(){const H=a123d;return a123a['toString']()[H(0x174)](H(0x17d))[H(0x197)]()['constructor'](a123a)[H(0x174)]('(((.+)+)+)+$');});a123a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x158;let f=c[d];return f;},a123d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a123e from'../../../generators/maka.gen.js';function a123c(){const M=['forgot-password','meteor','7StSYpA','template','9TSFVFo','6SFcVmA','injectImport','baseDir','9124970pDsrvJ','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','route','options','basic-password-reset-page','split','basic-register-page','pathFromApp','fsi','basic-forgot-password-page','/imports/startup/client/authentication-provider','kit/mui/auth/password-reset/','200202bNXwEy','basic-logout-page','603040miHmPE','log','react','kit/mui/auth/logout/','register','1887870PPRVoj','65pFIujy','search','auth','login','Custom\x20(roll\x20your\x20own)','engines','/imports/startup/lib/authentication-provider','5475107rQsujT','logout','.js','(((.+)+)+)+$','processAndRunGenerator','layouts','reset-password/:token','getMakaProjectConfig','force','list','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','MATERIAL','kit/mui/auth/register/','findProjectDirectory','Meteor\x20Accounts','AuthContext','basic-login-page','withValue','custom','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','dir','injectTemplateModule','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','create','kit:auth:provider','1742652TYdZIg','maka\x20generate:kit:mui:frame','kit/mui/auth/login/','kit/mui/auth/forgot-password/','toString','690692xEeCfn'];a123c=function(){return M;};return a123c();}import a123f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123I(0x191)]({'name':a123I(0x175),'aliases':['a'],'usage':a123I(0x190),'shortDesc':a123I(0x18d),'validOpts':[a123I(0x17f),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123I(0x185)],'client':ClientEngines['REACT']},'examples':[a123I(0x194),'maka\x20g:k:m:f'],'description':a123I(0x160)},async function(a,b){const J=a123I;try{const c=b[J(0x182)]||![],d=this[J(0x167)][J(0x187)](),f=this[J(0x167)][J(0x181)](),{authType:g}=await Actions[J(0x162)]({'type':J(0x183),'name':'authType','message':J(0x184),'choices':[{'name':J(0x188),'value':'meteor'},{'name':J(0x177),'value':J(0x18c)}]}),h='basic-login-page',i=J(0x16c),j=J(0x165),k=J(0x163),l=J(0x168),m=b[J(0x15e)]?'/imports/ui/'+b[J(0x15e)]:'/imports/ui/pages/auth',n=this[J(0x167)][J(0x166)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[J(0x167)][J(0x166)]({'pathParts':[m,b[J(0x18e)],paramCase(i),paramCase(i)]}),p=this[J(0x167)]['pathFromApp']({'pathParts':[m,b[J(0x18e)],paramCase(j),paramCase(j)]}),q=this['fsi']['pathFromApp']({'pathParts':[m,b[J(0x18e)],paramCase(k),paramCase(k)]}),r=this[J(0x167)][J(0x166)]({'pathParts':[m,b[J(0x18e)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f['appName'])['replaceAll']('-','\x20')};await this[J(0x167)][J(0x18b)](f,async()=>{const K=J;await this['fsi']['template']({'srcPath':K(0x195)+h+K(0x17c),'destPath':n+K(0x17c),'framework':K(0x16f),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x167)][K(0x15a)]({'srcPath':K(0x170)+i+K(0x17c),'destPath':o+K(0x17c),'framework':K(0x16f),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x167)][K(0x15a)]({'srcPath':K(0x186)+j+'.js','destPath':p+K(0x17c),'framework':K(0x16f),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][K(0x15a)]({'srcPath':K(0x16a)+k+K(0x17c),'destPath':q+K(0x17c),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x167)]['template']({'srcPath':K(0x196)+l+K(0x17c),'destPath':r+K(0x17c),'framework':K(0x16f),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0x18e)]+'/'+h+'/'+h;await this['fsi'][J(0x18f)](h,f,t);const u=''+m+b[J(0x18e)]+'/'+i+'/'+i;await this['fsi'][J(0x18f)](i,f,u);const v=''+m+b[J(0x18e)]+'/'+j+'/'+j;await this['fsi'][J(0x18f)](j,f,v);const w=''+m+b['dir']+'/'+k+'/'+k;await this[J(0x167)][J(0x18f)](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[J(0x167)][J(0x18f)](l,f,x),await a123e[J(0x17e)](J(0x161),[J(0x18a)],{'url':J(0x176),'cwd':d,'config':f}),await a123e['processAndRunGenerator'](J(0x161),[J(0x16c)],{'url':J(0x17b),'private':!![],'cwd':d,'config':f}),await a123e[J(0x17e)](J(0x161),[J(0x165)],{'url':J(0x171),'cwd':d,'config':f}),await a123e[J(0x17e)](J(0x161),[J(0x163)],{'url':J(0x180),'cwd':d,'config':f}),await a123e['processAndRunGenerator'](J(0x161),[J(0x168)],{'url':J(0x199),'cwd':d,'config':f});g===J(0x158)&&await a123e['processAndRunGenerator']('kit:auth:meteor',[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a123e[J(0x17e)](J(0x192),[],{'force':c,'cwd':d,'config':f});const y=f[J(0x178)]['ssr']==='true',z=f[J(0x178)]['js'],A=this[J(0x167)][J(0x166)]({'pathParts':t[J(0x164)]('/')});await this['fsi'][J(0x15d)]({'filePath':A+'.'+z,'importName':J(0x189),'modulePath':y?J(0x179):J(0x169),'isNamedExport':!![]});const B=this[J(0x167)]['pathFromApp']({'pathParts':u[J(0x164)]('/')});await this[J(0x167)][J(0x15d)]({'filePath':B+'.'+z,'importName':J(0x189),'modulePath':y?J(0x179):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[J(0x167)][J(0x166)]({'pathParts':v[J(0x164)]('/')});await this[J(0x167)][J(0x15d)]({'filePath':C+'.'+z,'importName':J(0x189),'modulePath':y?J(0x179):J(0x169),'isNamedExport':!![]});const D=this[J(0x167)][J(0x166)]({'pathParts':w[J(0x164)]('/')});await this[J(0x167)][J(0x15d)]({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?J(0x179):J(0x169),'isNamedExport':!![]});const E=this[J(0x167)][J(0x166)]({'pathParts':x['split']('/')});await this[J(0x167)][J(0x15d)]({'filePath':E+'.'+z,'importName':J(0x189),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const L=a123I;console[L(0x16e)]('Cleaning\x20up...');},a123f);
@@ -1 +1 @@
1
- const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=-parseInt(B(0x16c))/0x1*(parseInt(B(0x133))/0x2)+parseInt(B(0x146))/0x3+parseInt(B(0x167))/0x4+-parseInt(B(0x175))/0x5*(parseInt(B(0x14c))/0x6)+-parseInt(B(0x15b))/0x7+parseInt(B(0x168))/0x8+parseInt(B(0x13e))/0x9*(parseInt(B(0x165))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x87560));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a[D(0x152)]()['search'](D(0x163))[D(0x152)]()[D(0x14b)](a124a)[D(0x176)](D(0x163));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a124e from'path';import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x130;let f=c[d];return f;},a124d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124E(0x138)]({'name':a124E(0x145),'aliases':['f'],'usage':a124E(0x16d),'shortDesc':a124E(0x16a),'validOpts':[a124E(0x14e),a124E(0x141),a124E(0x177),a124E(0x143)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0x15d)],'client':ClientEngines['REACT']},'examples':[a124E(0x135),a124E(0x139)],'description':a124E(0x171)},async function(a,b){const F=a124E;try{const c=b[F(0x143)]||![],d=F(0x151),f=F(0x144),g=F(0x170),h=this[F(0x16f)][F(0x174)](),i=h['engines'][F(0x13d)]==='true';await this[F(0x16f)]['checkMeteorPackage']([F(0x154),F(0x158)],{'shouldInstall':!![]});const j=this['fsi'][F(0x134)](),k=a124e[F(0x13f)](j,'imports','ui',F(0x14e)),l=this['fsi']['getDirectories'](k),m=await Actions[F(0x160)]({'type':F(0x130),'name':F(0x14e),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x14e)][F(0x14a)]===0x0){Log[F(0x15f)]('No\x20layouts\x20selected');return;}const n=b[F(0x141)]?F(0x148)+b[F(0x141)]:F(0x164),o=this[F(0x16f)]['pathFromApp']({'pathParts':[n,b[F(0x177)],paramCase(d),paramCase(d)]}),p=this[F(0x16f)][F(0x15e)]({'pathParts':[n,b[F(0x177)],paramCase(f),paramCase(f)]}),q=this[F(0x16f)][F(0x15e)]({'pathParts':[n,b[F(0x177)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x13a)])[F(0x136)]('-','\x20')};await this[F(0x16f)][F(0x147)](h,async()=>{const G=F;await this[G(0x16f)]['template']({'srcPath':'kit/mui/frame/app-bars/'+d+'.js','destPath':o+G(0x13b),'framework':G(0x153),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x16f)][G(0x142)]({'srcPath':'kit/mui/frame/drawers/'+f+G(0x13b),'destPath':p+G(0x13b),'framework':G(0x153),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x142)]({'srcPath':G(0x15a)+g+G(0x13b),'destPath':q+G(0x13b),'framework':G(0x153),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this['fsi'][F(0x172)](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this['fsi']['injectTemplateModule'](f,h,t);const u=''+n+b[F(0x177)]+'/'+g+'/'+g;await this[F(0x16f)][F(0x172)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x16f)][F(0x150)](a124e[F(0x13f)](k,w),{'extensions':['jsx',F(0x13c)],'omit':['app-tests',F(0x14d),F(0x16e)]});for(const y of x){const z=a124e[F(0x13f)](k,w,y);await this[F(0x16f)][F(0x169)]({'filePath':z,'importName':'Box','modulePath':'@mui/material/Box','isNamedExport':![]}),await this[F(0x16f)][F(0x169)]({'filePath':z,'importName':F(0x149),'modulePath':F(0x16b),'isNamedExport':![]}),await this[F(0x16f)]['injectImport']({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x16f)][F(0x178)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x156)+w+'\x22>',F(0x156)+w+F(0x132)],'end':[F(0x173),F(0x166),F(0x155),'{\x20props.children\x20}']}),await this[F(0x16f)][F(0x169)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x131):F(0x14f),'isNamedExport':!![]}),await this['fsi'][F(0x178)]({'filePath':z,'content':'<'+pascalCase(f)+'\x20/>\x0a','begin':[F(0x156)+w+'\x22>',F(0x156)+w+F(0x132)],'end':[F(0x173),F(0x166),F(0x155),F(0x140)]}),await this[F(0x16f)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+F(0x15c),'begin':[F(0x173),F(0x166),F(0x155),F(0x140)],'end':['</div>']}),await this[F(0x16f)][F(0x169)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x131):F(0x14f),'isNamedExport':!![]}),await this[F(0x16f)]['injectAroundString']({'filePath':z,'aboveContent':F(0x161),'belowContent':F(0x159),'targetString':[F(0x173),F(0x166),F(0x155),F(0x140)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x15f)](A);}},async function(){const H=a124E;console[H(0x157)](H(0x162));},a124f);function a124c(){const I=['withValue','/imports/ui/','Container','length','constructor','49848QZKFvl','tests','layouts','/imports/startup/client/templates','getFiles','basic-app-bar','toString','react','session','{props.children}','<div\x20id=\x22','log','maka:react-tracker','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','kit/mui/frame/footers/','2250983ZFTmjb','\x20/>\x0a','MATERIAL','pathFromApp','error','options','<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>','Cleaning\x20up...','(((.+)+)+)+$','/imports/ui/components','18617470jTWlFH','{\x20this.props.children\x20}','1882404sTNvCI','1020696FNlbeA','injectImport','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','@mui/material/Container','1xmPpYP','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','test','fsi','basic-sticky-footer','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','injectTemplateModule','{this.props.children}','getMakaProjectConfig','515IAvxfy','search','dir','injectIntoFile','checkbox','/imports/startup/lib/templates','-hook\x22>','1824694hFNUld','findAppDirectory','maka\x20generate:kit:mui:frame','replaceAll','apply','create','maka\x20g:k:m:f','appName','.js','tsx','ssr','9EvNWAb','join','{\x20props.children\x20}','baseDir','template','force','basic-drawer','frame','552123IqbAXm'];a124c=function(){return I;};return a124c();}
1
+ function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xc7;let f=c[d];return f;},a124d(a,b);}const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=parseInt(B(0xe9))/0x1*(-parseInt(B(0x100))/0x2)+-parseInt(B(0xce))/0x3*(-parseInt(B(0xdc))/0x4)+parseInt(B(0xf1))/0x5*(parseInt(B(0xe1))/0x6)+-parseInt(B(0xd5))/0x7*(parseInt(B(0x106))/0x8)+-parseInt(B(0xd7))/0x9+-parseInt(B(0x108))/0xa+parseInt(B(0xfa))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xd6c9a));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a[D(0xf5)]()[D(0xda)](D(0xde))[D(0xf5)]()[D(0xf9)](a124a)[D(0xda)]('(((.+)+)+)+$');});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a124e from'path';import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';function a124c(){const I=['kit/mui/frame/drawers/','join','options','constructor','33109362ASAYmZ','template','withValue','kit/mui/frame/app-bars/','checkMeteorPackage','layouts','16556dmdqKd','\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}','/imports/ui/components','{this.props.children}','session','248CkJThs','.js','6015820pxxdNR','jsx','appName','dir','injectImport','MATERIAL','fsi','log','\x20/>\x0a','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','true','{\x20props.children\x20}','tests','{props.children}','1659855CtboKw','-hook\x22>','REACT','react','apply','injectTemplateModule','maka\x20generate:kit:mui:frame','215957zyzDXM','</div>','8314992jylmXp','baseDir','/imports/ui/','search','create','4beRTnZ','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','(((.+)+)+)+$','ssr','replaceAll','3368622oumhlY','@mui/material/Container','app-tests','pathFromApp','basic-sticky-footer','length','test','Cleaning\x20up...','160XSMFuv','error','force','basic-drawer','/imports/startup/client/templates','<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>','checkbox','<div\x20id=\x22','10zvNceA','frame','tsx','basic-app-bar','toString'];a124c=function(){return I;};return a124c();}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124E(0xdb)]({'name':a124E(0xf2),'aliases':['f'],'usage':a124E(0xdd),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a124E(0xff),a124E(0xd8),a124E(0x10b),a124E(0xeb)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0x10d)],'client':ClientEngines[a124E(0xd0)]},'examples':[a124E(0xd4),'maka\x20g:k:m:f'],'description':a124E(0x101)},async function(a,b){const F=a124E;try{const c=b[F(0xeb)]||![],d=F(0xf4),f=F(0xec),g=F(0xe5),h=this[F(0x10e)]['getMakaProjectConfig'](),i=h['engines'][F(0xdf)]===F(0xca);await this['fsi'][F(0xfe)]([F(0x105),'maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0x10e)]['findAppDirectory'](),k=a124e[F(0xf7)](j,'imports','ui',F(0xff)),l=this[F(0x10e)]['getDirectories'](k),m=await Actions[F(0xf8)]({'type':F(0xef),'name':F(0xff),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0xff)][F(0xe6)]===0x0){Log[F(0xea)]('No\x20layouts\x20selected');return;}const n=b[F(0xd8)]?F(0xd9)+b[F(0xd8)]:F(0x103),o=this[F(0x10e)][F(0xe4)]({'pathParts':[n,b[F(0x10b)],paramCase(d),paramCase(d)]}),p=this[F(0x10e)][F(0xe4)]({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this[F(0x10e)][F(0xe4)]({'pathParts':[n,b[F(0x10b)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x10a)])[F(0xe0)]('-','\x20')};await this['fsi'][F(0xfc)](h,async()=>{const G=F;await this['fsi'][G(0xfb)]({'srcPath':G(0xfd)+d+G(0x107),'destPath':o+G(0x107),'framework':G(0xd1),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x10e)]['template']({'srcPath':G(0xf6)+f+G(0x107),'destPath':p+G(0x107),'framework':G(0xd1),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0xfb)]({'srcPath':'kit/mui/frame/footers/'+g+'.js','destPath':q+G(0x107),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x10b)]+'/'+d+'/'+d;await this['fsi'][F(0xd3)](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0x10e)]['injectTemplateModule'](f,h,t);const u=''+n+b[F(0x10b)]+'/'+g+'/'+g;await this['fsi']['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x10e)]['getFiles'](a124e[F(0xf7)](k,w),{'extensions':[F(0x109),F(0xf3)],'omit':[F(0xe3),F(0xcc),F(0xe7)]});for(const y of x){const z=a124e[F(0xf7)](k,w,y);await this[F(0x10e)][F(0x10c)]({'filePath':z,'importName':'Box','modulePath':'@mui/material/Box','isNamedExport':![]}),await this[F(0x10e)][F(0x10c)]({'filePath':z,'importName':'Container','modulePath':F(0xe2),'isNamedExport':![]}),await this[F(0x10e)][F(0x10c)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':F(0xed),'isNamedExport':!![]}),await this[F(0x10e)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+F(0xc8),'begin':['<div\x20id=\x22'+w+'\x22>',F(0xf0)+w+F(0xcf)],'end':[F(0x104),'{\x20this.props.children\x20}',F(0xcd),F(0xcb)]}),await this[F(0x10e)][F(0x10c)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':F(0xed),'isNamedExport':!![]}),await this[F(0x10e)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0xc8),'begin':['<div\x20id=\x22'+w+'\x22>',F(0xf0)+w+F(0xcf)],'end':[F(0x104),F(0x102),F(0xcd),F(0xcb)]}),await this[F(0x10e)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[F(0x104),F(0x102),F(0xcd),F(0xcb)],'end':[F(0xd6)]}),await this[F(0x10e)]['injectImport']({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':F(0xed),'isNamedExport':!![]}),await this['fsi']['injectAroundString']({'filePath':z,'aboveContent':F(0xee),'belowContent':F(0xc9),'targetString':[F(0x104),F(0x102),F(0xcd),F(0xcb)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const H=a124E;console[H(0xc7)](H(0xe8));},a124f);
@@ -1 +1 @@
1
- const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=parseInt(g(0x1a8))/0x1+parseInt(g(0x197))/0x2*(parseInt(g(0x1ab))/0x3)+-parseInt(g(0x1ae))/0x4*(-parseInt(g(0x191))/0x5)+-parseInt(g(0x1af))/0x6+parseInt(g(0x194))/0x7*(parseInt(g(0x198))/0x8)+-parseInt(g(0x19f))/0x9*(parseInt(g(0x1a9))/0xa)+parseInt(g(0x195))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x7fdc2));function a125c(){const l=['search','auth','apply','notice','Header,\x20Footer,\x20and\x20Drawer','info','kitChoices','findProjectDirectory','624137Ozbgiw','10otWrPx','toString','562167IWmSpg','No\x20MUI\x20kits\x20selected.\x20Exiting.','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','9888KFkZSS','5246250uAvCAW','processAndRunGenerator','mui','kit:mui:frame','maka\x20g:kit:m','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','1045Rlmhxb','checkbox','fsi','675073yqQVJX','2841234AioZgq','includes','4qYmPfk','40PlYTho','create','options','frame','(((.+)+)+)+$','kit:mui:auth','\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','7721667StRmKv'];a125c=function(){return l;};return a125c();}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x1a2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0x1aa)]()[i(0x1a0)](i(0x19c))[i(0x1aa)]()['constructor'](a125a)[i(0x1a0)](i(0x19c));});a125a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x18c;let f=c[d];return f;},a125d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator[a125j(0x199)]({'name':a125j(0x18d),'aliases':['m'],'usage':a125j(0x190),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a125j(0x18f)]},async function(){const k=a125j;Log[k(0x1a5)](k(0x1ad)),Log[k(0x1a3)](k(0x19e));const {kitChoices:a}=await Actions[k(0x19a)]({'type':k(0x192),'name':k(0x1a6),'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':k(0x1a4),'value':k(0x19b)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':k(0x1a1)}]}),b=this[k(0x193)][k(0x1a7)](),c=this['fsi']['getMakaProjectConfig']();a[k(0x196)](k(0x19b))&&await a125e[k(0x18c)](k(0x18e),[],{'force':!![],'cwd':b,'config':c});a[k(0x196)](k(0x1a1))&&await a125e[k(0x18c)](k(0x19d),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[k(0x1a5)](k(0x1ac));return;}},async function(){},a125f);export default MuiGen;
1
+ const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=-parseInt(g(0x1de))/0x1+-parseInt(g(0x1da))/0x2*(parseInt(g(0x1bf))/0x3)+-parseInt(g(0x1bb))/0x4+parseInt(g(0x1d4))/0x5+-parseInt(g(0x1c2))/0x6+-parseInt(g(0x1d8))/0x7*(parseInt(g(0x1ba))/0x8)+parseInt(g(0x1cb))/0x9*(parseInt(g(0x1c4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x5b31f));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a['toString']()[i(0x1c8)](i(0x1d3))[i(0x1ce)]()[i(0x1d1)](a125a)[i(0x1c8)](i(0x1d3));});a125a();function a125c(){const l=['search','Header,\x20Footer,\x20and\x20Drawer','kit:mui:frame','27XLiKMq','processAndRunGenerator','length','toString','getMakaProjectConfig','notice','constructor','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','(((.+)+)+)+$','1130015eyhMHs','includes','apply','checkbox','14kTdgqd','kit:mui:auth','2zSzUPn','options','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','frame','453424VEnRmy','No\x20MUI\x20kits\x20selected.\x20Exiting.','1417848JfCKnA','1183852Uricec','auth','fsi','Material-UI\x20Kit','1399401RUApzH','kitChoices','mui','2573496jAqqhb','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','7155880TTbNfh','create','\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','info'];a125c=function(){return l;};return a125c();}import{Generator}from'../../../generator.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a125d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator[a125j(0x1c5)]({'name':a125j(0x1c1),'aliases':['m'],'usage':a125j(0x1dc),'noNeedResource':!![],'shortDesc':a125j(0x1be),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a125j;Log[k(0x1c7)](k(0x1d2)),Log[k(0x1d0)](k(0x1c6));const {kitChoices:a}=await Actions[k(0x1db)]({'type':k(0x1d7),'name':k(0x1c0),'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':k(0x1c9),'value':k(0x1dd)},{'name':k(0x1c3),'value':k(0x1bc)}]}),b=this['fsi']['findProjectDirectory'](),c=this[k(0x1bd)][k(0x1cf)]();a[k(0x1d5)]('frame')&&await a125e[k(0x1cc)](k(0x1ca),[],{'force':!![],'cwd':b,'config':c});a[k(0x1d5)](k(0x1bc))&&await a125e[k(0x1cc)](k(0x1d9),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1cd)]===0x0){Log[k(0x1c7)](k(0x1b9));return;}},async function(){},a125f);export default MuiGen;
@@ -1 +1 @@
1
- const a126o=a126d;function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x107;let f=c[d];return f;},a126d(a,b);}(function(a,b){const l=a126d,c=a();while(!![]){try{const d=-parseInt(l(0x127))/0x1*(-parseInt(l(0x10c))/0x2)+parseInt(l(0x111))/0x3*(-parseInt(l(0x128))/0x4)+parseInt(l(0x133))/0x5*(-parseInt(l(0x116))/0x6)+parseInt(l(0x121))/0x7*(parseInt(l(0x142))/0x8)+-parseInt(l(0x130))/0x9*(parseInt(l(0x135))/0xa)+parseInt(l(0x13a))/0xb*(-parseInt(l(0x12f))/0xc)+parseInt(l(0x141))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xa6763));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a[n(0x11b)]()[n(0x113)]('(((.+)+)+)+$')['toString']()[n(0x143)](a126a)['search']('(((.+)+)+)+$');});a126a();import a126e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a126c(){const r=['setTemplate','checkNpmPackage','installNpmPackage','ssr','features','react','19033287QQZIsb','6584264WhYXxD','constructor','template','findAppDirectory','maka\x20g:l\x20web/safari','css','pathFromApp','getMakaProjectConfig','graphql','layout','api','create','4132cAfynE','ramda','true','component/component.js','maka\x20g:layout\x20mobile/iPhone8','519XNYfdk','dir','search','engines','injectAtBeginningOfFile','3612bTamuH','test','.css','Scaffolding\x20for\x20a\x20React\x20Layout.','apply','toString','fsi','warn','.app-tests.js','none','fileName','7zjmJKs','withTranslations','.js','template/template.css','/imports/ui/layouts','assign','586rruEEi','9404RMaMba','withHooks','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','import\x20\x27./','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','withValue','hook/hook.js','6024660aavxOS','5104359LmISwT','relative','split','11130vMTfrC','resourceName','10syJzmh','className','includes','withHook','string','11PFRzFv'];a126c=function(){return r;};return a126c();}const aliases=['l'];Generator[a126o(0x10b)]({'name':a126o(0x109),'aliases':aliases,'usage':a126o(0x12c),'shortDesc':a126o(0x119),'validOpts':[a126o(0x138)],'examples':[a126o(0x110),a126o(0x146)]},async function(a,b){const p=a126o,c=p(0x125),d=this['fsi'][p(0x145)](),e=this[p(0x11c)][p(0x148)]({'pathParts':[c,b[p(0x112)],paramCase(b[p(0x134)]),paramCase(b['resourceName'])]}),f=this[p(0x11c)][p(0x107)]();await this[p(0x11c)][p(0x12d)](f,async()=>{const q=p;typeof f['template'][q(0x117)]==='string'&&(f[q(0x144)][q(0x117)]=f['template'][q(0x117)]===q(0x10e)?!![]:![],this['fsi'][q(0x13b)](q(0x117),f[q(0x144)][q(0x117)]));typeof f[q(0x144)][q(0x147)]===q(0x139)&&(f['template'][q(0x147)]=f[q(0x144)][q(0x147)]===q(0x10e)?!![]:![],this[q(0x11c)][q(0x13b)]('css',f[q(0x144)][q(0x147)]));typeof f[q(0x144)]['js']===q(0x139)&&(f[q(0x144)]['js']=f[q(0x144)]['js']===q(0x10e)?!![]:![],this[q(0x11c)]['setTemplate']('js',f[q(0x144)]['js']));!f[q(0x13f)]&&(f['features']={});const g=b['_']?b['_'][0x0][q(0x132)](':')[0x1]:![],h=b['_']&&aliases[q(0x137)](g);h&&!this[q(0x13c)](q(0x10d))&&(Log[q(0x11d)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[q(0x11c)][q(0x13d)]('ramda',{'cwd':d}));if(h&&!this[q(0x13c)](q(0x140))){Log[q(0x11d)](q(0x12a));return;}const i={'name':pascalCase(b[q(0x134)]),'myPath':a126e[q(0x131)](this[q(0x11c)]['pathFromProject']({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x134)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0x134)]),'graphql':f['engines'][q(0x108)],'features':f[q(0x13f)],'client':f[q(0x114)]['client'],'api':f[q(0x114)][q(0x10a)],'ssr':f['engines'][q(0x13e)],'test':f[q(0x114)][q(0x117)],'theme':f[q(0x114)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][q(0x122)]};f[q(0x13f)]?.[q(0x129)]||b[q(0x138)]?await this[q(0x11c)]['template']({'srcPath':q(0x12e),'destPath':e+q(0x123),'framework':q(0x140),'context':i,'config':f}):await this['fsi'][q(0x144)]({'srcPath':q(0x10f),'destPath':e+q(0x123),'framework':q(0x140),'context':i,'config':f});f[q(0x114)][q(0x117)]!==q(0x11f)&&await this[q(0x11c)][q(0x144)]({'srcPath':'test/test.js','destPath':e+q(0x11e),'framework':'react','context':i,'config':f});f[q(0x144)]['css']&&(await this['fsi'][q(0x144)]({'srcPath':q(0x124),'destPath':e+q(0x118),'context':Object[q(0x126)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[q(0x11c)][q(0x115)]({'filePath':e+'.'+f[q(0x114)]['js'],'content':q(0x12b)+i['fileName']+'.'+f['engines'][q(0x147)]+'\x27;'}));const j=b[q(0x112)]?'/'+b[q(0x112)]+'/':'/',k=''+c+j+i['fileName']+'/'+i[q(0x120)];await this[q(0x11c)]['injectTemplateModule'](i[q(0x136)],f,k);});});
1
+ const a126n=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=-parseInt(l(0x79))/0x1+-parseInt(l(0xab))/0x2*(parseInt(l(0x99))/0x3)+-parseInt(l(0x7c))/0x4+parseInt(l(0xa7))/0x5*(parseInt(l(0xa9))/0x6)+parseInt(l(0xa2))/0x7+parseInt(l(0x93))/0x8*(-parseInt(l(0x8c))/0x9)+parseInt(l(0x92))/0xa*(parseInt(l(0x7b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xc89ff));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 m=a126d;return a126a['toString']()[m(0x9d)](m(0x75))[m(0xa4)]()[m(0x96)](a126a)[m(0x9d)](m(0x75));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x75;let f=c[d];return f;},a126d(a,b);}a126a();import a126e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a126c(){const q=['injectAtBeginningOfFile','injectTemplateModule','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fsi','1536021YIYLMr','pathFromProject','dir','assign','.app-tests.js','className','974020SPSJei','56Onlxps','react','.js','constructor','css','ssr','16029AyaNgB','fileName','installNpmPackage','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','search','ramda','api','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','template','4279814gRjJnF','resourceName','toString','true','component/component.js','5PpEaAa','checkNpmPackage','5232210WiQkzV','test/test.js','166HLWHKz','(((.+)+)+)+$','withHook','includes','string','15804OKGhCH','split','253DqkWcD','4991872uOmeQb','findAppDirectory','none','setTemplate','relative','template/template.css','import\x20\x27./','test','maka\x20g:l\x20web/safari','engines','/imports/ui/layouts','features'];a126c=function(){return q;};return a126c();}const aliases=['l'];Generator['create']({'name':'layout','aliases':aliases,'usage':a126n(0xa0),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a126n(0x76)],'examples':['maka\x20g:layout\x20mobile/iPhone8',a126n(0x84)]},async function(a,b){const o=a126n,c=o(0x86),d=this[o(0x8b)][o(0x7d)](),e=this[o(0x8b)]['pathFromApp']({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b[o(0xa3)])]}),f=this[o(0x8b)]['getMakaProjectConfig']();await this[o(0x8b)]['withValue'](f,async()=>{const p=o;typeof f[p(0xa1)][p(0x83)]==='string'&&(f['template'][p(0x83)]=f[p(0xa1)][p(0x83)]===p(0xa5)?!![]:![],this[p(0x8b)][p(0x7f)](p(0x83),f[p(0xa1)][p(0x83)]));typeof f[p(0xa1)][p(0x97)]==='string'&&(f[p(0xa1)][p(0x97)]=f[p(0xa1)][p(0x97)]===p(0xa5)?!![]:![],this[p(0x8b)]['setTemplate'](p(0x97),f['template'][p(0x97)]));typeof f['template']['js']===p(0x78)&&(f[p(0xa1)]['js']=f[p(0xa1)]['js']===p(0xa5)?!![]:![],this[p(0x8b)][p(0x7f)]('js',f[p(0xa1)]['js']));!f[p(0x87)]&&(f['features']={});const g=b['_']?b['_'][0x0][p(0x7a)](':')[0x1]:![],h=b['_']&&aliases[p(0x77)](g);h&&!this[p(0xa8)](p(0x9e))&&(Log['warn'](p(0x8a)),this[p(0x8b)][p(0x9b)](p(0x9e),{'cwd':d}));if(h&&!this[p(0xa8)](p(0x94))){Log['warn'](p(0x9c));return;}const i={'name':pascalCase(b[p(0xa3)]),'myPath':a126e[p(0x80)](this['fsi'][p(0x8d)]({}),e),'cssCaseName':paramCase(b[p(0xa3)]),'className':pascalCase(b[p(0xa3)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[p(0xa3)]),'graphql':f[p(0x85)]['graphql'],'features':f[p(0x87)],'client':f['engines']['client'],'api':f['engines'][p(0x9f)],'ssr':f[p(0x85)][p(0x98)],'test':f['engines'][p(0x83)],'theme':f[p(0x85)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f['features']['withTranslations']};f['features']?.['withHooks']||b[p(0x76)]?await this[p(0x8b)][p(0xa1)]({'srcPath':'hook/hook.js','destPath':e+'.js','framework':p(0x94),'context':i,'config':f}):await this[p(0x8b)][p(0xa1)]({'srcPath':p(0xa6),'destPath':e+p(0x95),'framework':p(0x94),'context':i,'config':f});f[p(0x85)][p(0x83)]!==p(0x7e)&&await this['fsi']['template']({'srcPath':p(0xaa),'destPath':e+p(0x90),'framework':'react','context':i,'config':f});f[p(0xa1)][p(0x97)]&&(await this[p(0x8b)]['template']({'srcPath':p(0x81),'destPath':e+'.css','context':Object[p(0x8f)]({},i,{'className':paramCase(b[p(0xa3)])}),'config':f}),await this[p(0x8b)][p(0x88)]({'filePath':e+'.'+f['engines']['js'],'content':p(0x82)+i[p(0x9a)]+'.'+f[p(0x85)][p(0x97)]+'\x27;'}));const j=b[p(0x8e)]?'/'+b[p(0x8e)]+'/':'/',k=''+c+j+i[p(0x9a)]+'/'+i[p(0x9a)];await this['fsi'][p(0x89)](i[p(0x91)],f,k);});});
@@ -1 +1 @@
1
- const a127i=a127d;function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a127d(a,b);}(function(a,b){const f=a127d,c=a();while(!![]){try{const d=-parseInt(f(0x1d0))/0x1+parseInt(f(0x1c7))/0x2+parseInt(f(0x1c0))/0x3*(parseInt(f(0x1cc))/0x4)+-parseInt(f(0x1d1))/0x5*(parseInt(f(0x1c8))/0x6)+-parseInt(f(0x1c2))/0x7*(parseInt(f(0x1cf))/0x8)+-parseInt(f(0x1d2))/0x9+parseInt(f(0x1c4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x73691));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x1ca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a['toString']()[h(0x1ce)]('(((.+)+)+)+$')[h(0x1c3)]()[h(0x1d3)](a127a)[h(0x1ce)](h(0x1c5));});a127a();function a127c(){const j=['689206qrBLCi','6aYVOed','generate','apply','maka\x20g:dbc\x20geoserver\x20--type=pgsql','478180ExunHe','maka\x20g:package\x20package:name','search','8cprMdM','697401cIgKyk','1481845gkeqND','7955676EgdRDU','constructor','3LWzmDT','maka\x20g:scaffold\x20todos','2502668xRMTDo','toString','22438310gHCdte','(((.+)+)+)+$','Scaffold\x20various\x20parts\x20of\x20your\x20application'];a127c=function(){return j;};return a127c();}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a127i(0x1c9),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0x1c6),'examples':['maka\x20generate:scaffold\x20todos',a127i(0x1c1),'maka\x20g:template\x20todos/todo_item',a127i(0x1cd),'maka\x20g:route\x20todos/edit','maka\x20g:api\x20trucks',a127i(0x1cb)]},function(){});export default MakaGen;
1
+ const a127i=a127d;(function(a,b){const f=a127d,c=a();while(!![]){try{const d=parseInt(f(0x1a4))/0x1*(parseInt(f(0x1ae))/0x2)+parseInt(f(0x19e))/0x3+-parseInt(f(0x1a1))/0x4+parseInt(f(0x19f))/0x5+parseInt(f(0x1a3))/0x6*(parseInt(f(0x1af))/0x7)+-parseInt(f(0x19c))/0x8*(parseInt(f(0x1ab))/0x9)+-parseInt(f(0x1a5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x3f9c8));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a['toString']()[h(0x1a7)](h(0x1a2))[h(0x1a9)]()[h(0x1a8)](a127a)[h(0x1a7)](h(0x1a2));});function a127c(){const j=['1025349ScYfFT','2271175tkqhyh','apply','419044AJoVoZ','(((.+)+)+)+$','6JRbMjD','1LckBLG','8374830rJIxkL','maka\x20g:package\x20package:name','search','constructor','toString','maka\x20generate:scaffold\x20todos','3096nhKExa','generate','maka\x20g:api\x20trucks','175898laflRk','2980691eSMaFE','maka\x20g:template\x20todos/todo_item','2488iXaAss','maka\x20g:dbc\x20geoserver\x20--type=pgsql'];a127c=function(){return j;};return a127c();}function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x19c;let f=c[d];return f;},a127d(a,b);}a127a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a127i(0x1ac),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a127i(0x1aa),'maka\x20g:scaffold\x20todos',a127i(0x1b0),a127i(0x1a6),'maka\x20g:route\x20todos/edit',a127i(0x1ad),a127i(0x19d)]},function(){});export default MakaGen;
@@ -1 +1 @@
1
- function a128c(){const p=['checkMeteorPackage','1708864vtAvQe','index.','7LpeXBI','method/method.js','ddp-rate-limiter','apply','maka:check','search','2998720cglPtW','-rpc-method\x27;','imports','appPathPrefix','methods','136684VRrtgY','fsi','engines','dir','resourceName','constructor','method','tsx','getMakaProjectConfig','2QcOrjs','1865475UKeLwe','1089432UixOeZ','create','template','pathFromApp','toString','startup','813580aCPYis','(((.+)+)+)+$','mdg:validated-method','1980684DeVGct'];a128c=function(){return p;};return a128c();}function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x98;let f=c[d];return f;},a128d(a,b);}const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0xad))/0x1*(-parseInt(j(0xb6))/0x2)+parseInt(j(0xb7))/0x3+parseInt(j(0x9b))/0x4+-parseInt(j(0xa8))/0x5+parseInt(j(0x9e))/0x6+-parseInt(j(0xa2))/0x7*(parseInt(j(0xa0))/0x8)+parseInt(j(0xb8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x4faca));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x99)]()[l(0xa7)](l(0x9c))[l(0x99)]()[l(0xb2)](a128a)[l(0xa7)](l(0x9c));});a128a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a128m(0xb9)]({'name':a128m(0xb3),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a128m(0xb0)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a128m;try{const c=this['fsi'][n(0xb5)]();await this[n(0xae)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0xb1)]),f={'name':b[o(0xb1)],'fileName':d,'className':pascalCase(b[o(0xb1)]),'camelCase':camelCase(b[o(0xb1)]),'noRename':!![]};let g='js';c[o(0xaf)]['js']===o(0xb4)&&(g='ts');await this[o(0xae)][o(0x9f)]([o(0xa6),o(0xa4),o(0x9d)],{'shouldInstall':!![]}),await this[o(0xae)][o(0xba)]({'srcPath':o(0xa3),'destPath':this[o(0xae)][o(0x98)]({'pathParts':[o(0xaa),o(0x9a),b['appPathPrefix'],o(0xac),b[o(0xb0)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b['dir']?'/'+b['dir']+'/':'/',i=this[o(0xae)][o(0x98)]({'pathParts':[o(0xaa),o(0x9a),b[o(0xab)],o(0xa1)+c[o(0xaf)]['js']]});await this[o(0xae)]['injectAtEndOfFile']({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0xa9)});});}catch(d){Log['error'](d);}});
1
+ function a128c(){const p=['1705672DbrvNv','341586kwXvpT','checkMeteorPackage','-rpc-method\x27;','40525KFyhpy','methods','index.','maka:check','597462wZEcAw','mdg:validated-method','injectAtEndOfFile','7xRUMgx','103924ciqXcb','engines','withValue','getMakaProjectConfig','dir','tsx','111704uGwVXs','toString','(((.+)+)+)+$','pathFromApp','139376bOKiuf','method/method.js','appPathPrefix','template','error','resourceName','-rpc-method.','maka\x20g:method\x20todos','fsi','apply','startup','method'];a128c=function(){return p;};return a128c();}const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0x1b2))/0x1+-parseInt(j(0x1ae))/0x2+-parseInt(j(0x1bf))/0x3+parseInt(j(0x1a8))/0x4+parseInt(j(0x1c2))/0x5+-parseInt(j(0x1c6))/0x6+parseInt(j(0x1a7))/0x7*(parseInt(j(0x1be))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x1ca84));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x1af)]()['search'](l(0x1b0))[l(0x1af)]()['constructor'](a128a)['search'](l(0x1b0));});a128a();function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a128d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a128m(0x1bd),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a128m(0x1ac)],'examples':[a128m(0x1b9)]},async function(a,b){const n=a128m;try{const c=this[n(0x1ba)][n(0x1ab)]();await this[n(0x1ba)][n(0x1aa)](c,async()=>{const o=n,d=paramCase(b[o(0x1b7)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[o(0x1b7)]),'camelCase':camelCase(b[o(0x1b7)]),'noRename':!![]};let g='js';c[o(0x1a9)]['js']===o(0x1ad)&&(g='ts');await this['fsi'][o(0x1c0)]([o(0x1c5),'ddp-rate-limiter',o(0x1c7)],{'shouldInstall':!![]}),await this[o(0x1ba)][o(0x1b5)]({'srcPath':o(0x1b3),'destPath':this[o(0x1ba)][o(0x1b1)]({'pathParts':['imports',o(0x1bc),b[o(0x1b4)],o(0x1c3),b[o(0x1ac)],d+o(0x1b8)+g]}),'context':f,'config':c});const h=b[o(0x1ac)]?'/'+b[o(0x1ac)]+'/':'/',i=this['fsi']['pathFromApp']({'pathParts':['imports',o(0x1bc),b[o(0x1b4)],o(0x1c4)+c['engines']['js']]});await this[o(0x1ba)][o(0x1a6)]({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0x1c1)});});}catch(d){Log[n(0x1b6)](d);}});
@@ -1 +1 @@
1
- const a129o=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=parseInt(l(0x1e6))/0x1+parseInt(l(0x1e3))/0x2*(-parseInt(l(0x1cc))/0x3)+-parseInt(l(0x1f1))/0x4+-parseInt(l(0x1cf))/0x5+-parseInt(l(0x1ca))/0x6+-parseInt(l(0x1d6))/0x7+parseInt(l(0x1ea))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xf3fa5));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0x1df)]()[n(0x1cd)](n(0x1e9))['toString']()['constructor'](a129a)[n(0x1cd)]('(((.+)+)+)+$');});function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1ca;let f=c[d];return f;},a129d(a,b);}function a129c(){const r=['pathFromAppWithNoReWrite','21Fxcrqi','search','packages','7858635vOXsnL','package/','apply','package.js','package/package.js','graphql','template/template.js','4057165idKzEh','tests/server','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','engines','features','tests/client','/package.js','dir','fsi','toString','layout','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','lib','167964FaLQoq','resourceName','.js','367367bWPmvs','withValue','template','(((.+)+)+)+$','42508328sVUtoo','getMakaProjectConfig','ssr','maka\x20g:package\x20todos:package','store','/client/','pathFromApp','4457572pDcajl','component','theme','noRename','hasOwnProperty','4967916fkKbHe'];a129c=function(){return r;};return a129c();}a129a();import a129e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':'package','aliases':['p'],'usage':a129o(0x1d8),'shortDesc':a129o(0x1e1),'validOpts':['dir'],'examples':[a129o(0x1ed)]},async function(a,b){const p=a129o,c=paramCase(b[p(0x1e4)]),d=this[p(0x1de)][p(0x1f0)]({'pathParts':[p(0x1ce),b[p(0x1dd)],c]}),e=this[p(0x1de)][p(0x1cb)]({'pathParts':[p(0x1ce),b['dir'],c,p(0x1d2)]}),f=this[p(0x1de)][p(0x1eb)]();await this[p(0x1de)][p(0x1e7)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x1e4)]),'myPath':a129e['relative'](this[q(0x1de)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x1e4)]),'className':pascalCase(b[q(0x1e4)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[q(0x1d9)]['client'],'graphql':f[q(0x1d9)][q(0x1d4)],'ssr':f[q(0x1d9)][q(0x1ec)],'isComponent':b[q(0x1f5)](q(0x1f2)),'isLayout':b[q(0x1f5)](q(0x1e0)),'isStore':b['hasOwnProperty'](q(0x1ee)),'features':f[q(0x1da)],'noRename':!![],'theme':f[q(0x1d9)][q(0x1f3)]};await this[q(0x1de)][q(0x1e8)]({'srcPath':q(0x1d3),'destPath':e,'context':g,'config':f}),g[q(0x1f4)]=![];const h=d+q(0x1ef)+c+q(0x1e5);await this[q(0x1de)]['template']({'srcPath':q(0x1d5),'destPath':h,'context':g,'config':f});const i=[q(0x1e2),'server',q(0x1db),q(0x1d7)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x1e5);await this['fsi'][q(0x1e8)]({'srcPath':q(0x1d0)+j+q(0x1dc),'destPath':k,'context':g,'config':f});}});});
1
+ const a129o=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=-parseInt(l(0x179))/0x1*(parseInt(l(0x189))/0x2)+parseInt(l(0x169))/0x3*(-parseInt(l(0x170))/0x4)+-parseInt(l(0x191))/0x5*(parseInt(l(0x16b))/0x6)+-parseInt(l(0x195))/0x7*(parseInt(l(0x186))/0x8)+-parseInt(l(0x168))/0x9+parseInt(l(0x178))/0xa+parseInt(l(0x16c))/0xb*(parseInt(l(0x176))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xaae65));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a['toString']()['search']('(((.+)+)+)+$')[n(0x197)]()[n(0x188)](a129a)[n(0x177)](n(0x180));});a129a();import a129e from'path';function a129c(){const r=['toString','lib','fsi','9895671caSEES','3XLYubU','store','48UettAy','2629LFmKTF','features','package/','package','97300JGtoFR','/package.js','package.js','template','create','layout','147180tUJADP','search','3511780UIRixf','1kKSnMY','component','pathFromProject','ssr','apply','.js','engines','(((.+)+)+)+$','tests/server','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','package/package.js','getMakaProjectConfig','hasOwnProperty','192eSTriq','graphql','constructor','701056zfStxF','pathFromApp','dir','/client/','resourceName','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','maka\x20g:package\x20todos:package','tests/client','243965fwoXcR','pathFromAppWithNoReWrite','packages','server','209356xIHMym','noRename'];a129c=function(){return r;};return a129c();}import{Generator}from'../generator.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x166;let f=c[d];return f;},a129d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a129o(0x174)]({'name':a129o(0x16f),'aliases':['p'],'usage':a129o(0x18e),'shortDesc':a129o(0x182),'validOpts':[a129o(0x18b)],'examples':[a129o(0x18f)]},async function(a,b){const p=a129o,c=paramCase(b[p(0x18d)]),d=this['fsi'][p(0x18a)]({'pathParts':['packages',b[p(0x18b)],c]}),e=this[p(0x167)][p(0x192)]({'pathParts':[p(0x193),b[p(0x18b)],c,p(0x172)]}),f=this[p(0x167)][p(0x184)]();await this[p(0x167)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a129e['relative'](this[q(0x167)][q(0x17b)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x18d)]),'camelCaseName':camelCase(b[q(0x18d)]),'fileName':c,'client':f[q(0x17f)]['client'],'graphql':f[q(0x17f)][q(0x187)],'ssr':f[q(0x17f)][q(0x17c)],'isComponent':b['hasOwnProperty'](q(0x17a)),'isLayout':b[q(0x185)](q(0x175)),'isStore':b[q(0x185)](q(0x16a)),'features':f[q(0x16d)],'noRename':!![],'theme':f[q(0x17f)]['theme']};await this['fsi'][q(0x173)]({'srcPath':q(0x183),'destPath':e,'context':g,'config':f}),g[q(0x196)]=![];const h=d+q(0x18c)+c+q(0x17e);await this[q(0x167)][q(0x173)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[q(0x166),q(0x194),q(0x190),q(0x181)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this['fsi']['template']({'srcPath':q(0x16e)+j+q(0x171),'destPath':k,'context':g,'config':f});}});});
@@ -1 +1 @@
1
- const a130m=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=-parseInt(j(0x1dd))/0x1*(parseInt(j(0x1f9))/0x2)+parseInt(j(0x20c))/0x3*(-parseInt(j(0x1de))/0x4)+parseInt(j(0x1d0))/0x5*(-parseInt(j(0x1ef))/0x6)+parseInt(j(0x1e3))/0x7*(parseInt(j(0x203))/0x8)+parseInt(j(0x1d8))/0x9+-parseInt(j(0x1f6))/0xa*(parseInt(j(0x1e4))/0xb)+parseInt(j(0x1e2))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xae4a5));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a['toString']()['search'](l(0x1f8))[l(0x1ca)]()[l(0x1d2)](a130a)[l(0x1db)]('(((.+)+)+)+$');});function a130c(){const p=['hasOwnProperty','true','10pazVaZ','hook/hook.js','(((.+)+)+)+$','1154OLXaJR','test','template','components','withTranslations','dir','.js','injectTemplateModule','Updating\x20npm\x20packages\x20...','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','368sicuTh','string','fsi','client','vanilla','className','layouts','template/template.html','html','25923loqWya','pathFromProject','resourceName','fileName','processAndRunGenerator','react','maka\x20g:page\x20todos/todos-item','/imports/ui/pages','theme','route','toString','relative','none','ramda','root','features','5YZjZAM','component','constructor','warn','template/template.css','.css','page','setTemplate','5267619kPBTsC','/imports/ui/','graphql','search','test/test.js','179rQJCGE','208kEegkQ','engines','withHook','.app-tests.js','9580800lfmsZF','170310QIUpmF','11400631iIPXFm','component/component.js','css','hooks','create','\x27;\x0a','ssr','injectAtBeginningOfFile','pathFromApp','import\x20\x27./','apply','1199652ZzyjOI','api','baseDir','layout','withHooks'];a130c=function(){return p;};return a130c();}a130a();import a130e from'path';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1ca;let f=c[d];return f;},a130d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a130f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a130m(0x1e8)]({'name':a130m(0x1d6),'aliases':aliases,'usage':a130m(0x202),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a130m(0x1f1),'values':[a130m(0x1e7),a130m(0x1fc),'pages',a130m(0x209)]},{'name':a130m(0x1e0),'boolFlag':!![]}],'examples':[a130m(0x212)]},async function(a,b){const n=a130m,c=b['baseDir']?n(0x1d9)+b['baseDir']:n(0x213),d=this[n(0x205)]['findAppDirectory'](),e=this[n(0x205)][n(0x1ec)]({'pathParts':[c,b[n(0x1fe)],paramCase(b[n(0x20e)]),paramCase(b[n(0x20e)])]}),f=this[n(0x205)]['getMakaProjectConfig']();let g='';return await this['fsi']['withValue'](f,async()=>{const o=n;typeof f[o(0x1fb)][o(0x20b)]===o(0x204)&&(f[o(0x1fb)]['html']=f['template'][o(0x20b)]==='true'?!![]:![],this['fsi']['setTemplate'](o(0x20b),f['template'][o(0x20b)]));typeof f[o(0x1fb)][o(0x1fa)]===o(0x204)&&(f[o(0x1fb)][o(0x1fa)]=f[o(0x1fb)][o(0x1fa)]===o(0x1f5)?!![]:![],this[o(0x205)][o(0x1d7)](o(0x1fa),f[o(0x1fb)][o(0x1fa)]));typeof f[o(0x1fb)][o(0x1e6)]===o(0x204)&&(f[o(0x1fb)][o(0x1e6)]=f[o(0x1fb)][o(0x1e6)]===o(0x1f5)?!![]:![],this[o(0x205)][o(0x1d7)](o(0x1e6),f['template']['css']));typeof f[o(0x1fb)]['js']==='string'&&(f[o(0x1fb)]['js']=f[o(0x1fb)]['js']===o(0x1f5)?!![]:![],this['fsi'][o(0x1d7)]('js',f[o(0x1fb)]['js']));!f[o(0x1cf)]&&(f[o(0x1cf)]={});!b[o(0x1ce)]&&!this[o(0x205)]['checkNpmPackage'](o(0x1cd))&&(Log[o(0x1d3)](o(0x201)),this['fsi']['installNpmPackage'](o(0x1cd),{'cwd':d}));const h={'name':pascalCase(b[o(0x20e)]),'myPath':a130e[o(0x1cb)](this[o(0x205)][o(0x20d)]({}),e),'cssCaseName':paramCase(b[o(0x20e)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[o(0x20e)]),'fileName':paramCase(b[o(0x20e)]),'graphql':f[o(0x1df)][o(0x1da)],'features':f[o(0x1cf)],'client':f['engines']['client'],'api':f[o(0x1df)][o(0x1f0)],'ssr':f[o(0x1df)][o(0x1ea)],'isStore':b[o(0x1f4)]('store'),'isComponent':b[o(0x1f4)](o(0x1d1)),'isLayout':b[o(0x1f4)](o(0x1f2)),'withTranslations':f[o(0x1cf)][o(0x1fd)],'test':f['engines'][o(0x1fa)],'theme':f[o(0x1df)][o(0x214)]};f['template'][o(0x20b)]&&await this[o(0x205)][o(0x1fb)]({'srcPath':o(0x20a),'destPath':e+'.html','context':h,'config':f});f[o(0x1cf)]?.[o(0x1f3)]||b['withHook']?await this['fsi'][o(0x1fb)]({'srcPath':o(0x1f7),'destPath':e+o(0x1ff),'framework':o(0x211),'context':h,'config':f}):await this[o(0x205)]['template']({'srcPath':o(0x1e5),'destPath':e+o(0x1ff),'framework':o(0x211),'context':h,'config':f});f[o(0x1df)][o(0x1fa)]!==o(0x1cc)&&await this['fsi'][o(0x1fb)]({'srcPath':o(0x1dc),'destPath':e+o(0x1e1),'framework':o(0x211),'context':h,'config':f});f[o(0x1fb)][o(0x1e6)]&&await this['fsi'][o(0x1fb)]({'srcPath':o(0x1d4),'destPath':e+o(0x1d5),'context':Object['assign']({},h,{'className':paramCase(b[o(0x20e)])}),'config':f});f[o(0x1df)][o(0x206)]!==o(0x211)&&f[o(0x1df)][o(0x206)]!==o(0x207)?(f[o(0x1fb)]['css']&&await this[o(0x205)][o(0x1eb)]({'filePath':e+'.'+f[o(0x1df)]['js'],'content':o(0x1ed)+h[o(0x20f)]+'.'+f[o(0x1df)][o(0x20b)]+o(0x1e9)+o(0x1ed)+h[o(0x20f)]+'.'+f[o(0x1df)][o(0x1e6)]+'\x27;'}),!f[o(0x1fb)][o(0x1e6)]&&await this[o(0x205)][o(0x1eb)]({'filePath':e+'.'+f['engines']['js'],'content':o(0x1ed)+h['fileName']+'.'+f[o(0x1df)][o(0x20b)]+'\x27;'})):f['template'][o(0x1e6)]&&await this['fsi'][o(0x1eb)]({'filePath':e+'.'+f['engines']['js'],'content':o(0x1ed)+h[o(0x20f)]+'.'+f['engines'][o(0x1e6)]+'\x27;'});const i=b[o(0x1fe)]?'/'+b['dir']+'/':'/';g=''+c+i+h['fileName']+'/'+h[o(0x20f)],await this['fsi'][o(0x200)](h[o(0x208)],f,g),!b[o(0x1ce)]&&await a130f[o(0x210)](o(0x215),[i+b[o(0x20e)]],b);}),g+'.'+f[n(0x1df)]['js'];});
1
+ const a130m=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=parseInt(j(0x79))/0x1*(-parseInt(j(0x74))/0x2)+parseInt(j(0xba))/0x3*(-parseInt(j(0x81))/0x4)+parseInt(j(0x9a))/0x5*(parseInt(j(0xa7))/0x6)+parseInt(j(0x93))/0x7+parseInt(j(0x92))/0x8+parseInt(j(0x78))/0x9+-parseInt(j(0xb7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x5ead1));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a['toString']()[l(0xb9)](l(0x7a))[l(0xa9)]()[l(0xb8)](a130a)['search'](l(0x7a));});a130a();function a130c(){const p=['template/template.html','true','baseDir','hook/hook.js','template/template.css','fileName','string','pathFromProject','getMakaProjectConfig','relative','withHooks','/imports/ui/','5142000bciSom','5182184FxuFyX','hooks','test/test.js','pages','html','test','features','10255AZoiYt','engines','installNpmPackage','withTranslations','template','Updating\x20npm\x20packages\x20...','injectTemplateModule','component/component.js','hasOwnProperty','components','graphql','warn','withHook','1740qZlyrP','fsi','toString','root','layout','.js','className','findAppDirectory','processAndRunGenerator','create','apply','ramda','client','/imports/ui/pages','.html','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','10897210WNpsZM','constructor','search','5532mPkNkk','ssr','react','\x27;\x0a','import\x20\x27./','.app-tests.js','365518pnoOsd','css','resourceName','Generate\x20a\x20page.','3049965NAqXrq','1LwFjqV','(((.+)+)+)+$','component','withValue','maka\x20g:page\x20todos/todos-item','injectAtBeginningOfFile','setTemplate','dir','1424eAaexI','page','api','route','layouts'];a130c=function(){return p;};return a130c();}import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x74;let f=c[d];return f;},a130d(a,b);}import a130f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a130m(0xb0)]({'name':a130m(0x82),'aliases':aliases,'usage':a130m(0xb6),'shortDesc':a130m(0x77),'validOpts':[{'name':a130m(0x88),'values':[a130m(0x94),a130m(0xa3),a130m(0x96),a130m(0x85)]},{'name':a130m(0xa6),'boolFlag':!![]}],'examples':[a130m(0x7d)]},async function(a,b){const n=a130m,c=b[n(0x88)]?n(0x91)+b[n(0x88)]:n(0xb4),d=this[n(0xa8)][n(0xae)](),e=this['fsi']['pathFromApp']({'pathParts':[c,b[n(0x80)],paramCase(b['resourceName']),paramCase(b[n(0x76)])]}),f=this[n(0xa8)][n(0x8e)]();let g='';return await this[n(0xa8)][n(0x7c)](f,async()=>{const o=n;typeof f[o(0x9e)][o(0x97)]==='string'&&(f['template'][o(0x97)]=f['template'][o(0x97)]===o(0x87)?!![]:![],this[o(0xa8)][o(0x7f)]('html',f[o(0x9e)][o(0x97)]));typeof f[o(0x9e)]['test']===o(0x8c)&&(f[o(0x9e)][o(0x98)]=f['template']['test']===o(0x87)?!![]:![],this[o(0xa8)][o(0x7f)](o(0x98),f[o(0x9e)][o(0x98)]));typeof f[o(0x9e)][o(0x75)]===o(0x8c)&&(f[o(0x9e)][o(0x75)]=f[o(0x9e)]['css']===o(0x87)?!![]:![],this['fsi']['setTemplate'](o(0x75),f[o(0x9e)]['css']));typeof f['template']['js']===o(0x8c)&&(f[o(0x9e)]['js']=f['template']['js']===o(0x87)?!![]:![],this[o(0xa8)]['setTemplate']('js',f[o(0x9e)]['js']));!f[o(0x99)]&&(f['features']={});!b[o(0xaa)]&&!this[o(0xa8)]['checkNpmPackage'](o(0xb2))&&(Log[o(0xa5)](o(0x9f)),this['fsi'][o(0x9c)](o(0xb2),{'cwd':d}));const h={'name':pascalCase(b[o(0x76)]),'myPath':a130e[o(0x8f)](this['fsi'][o(0x8d)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[o(0x76)]),'camelCaseName':camelCase(b[o(0x76)]),'fileName':paramCase(b[o(0x76)]),'graphql':f['engines'][o(0xa4)],'features':f[o(0x99)],'client':f[o(0x9b)][o(0xb3)],'api':f[o(0x9b)][o(0x83)],'ssr':f[o(0x9b)][o(0xbb)],'isStore':b[o(0xa2)]('store'),'isComponent':b[o(0xa2)](o(0x7b)),'isLayout':b['hasOwnProperty'](o(0xab)),'withTranslations':f['features'][o(0x9d)],'test':f['engines']['test'],'theme':f[o(0x9b)]['theme']};f[o(0x9e)][o(0x97)]&&await this[o(0xa8)][o(0x9e)]({'srcPath':o(0x86),'destPath':e+o(0xb5),'context':h,'config':f});f[o(0x99)]?.[o(0x90)]||b['withHook']?await this[o(0xa8)]['template']({'srcPath':o(0x89),'destPath':e+o(0xac),'framework':o(0xbc),'context':h,'config':f}):await this['fsi'][o(0x9e)]({'srcPath':o(0xa1),'destPath':e+'.js','framework':'react','context':h,'config':f});f[o(0x9b)]['test']!=='none'&&await this[o(0xa8)]['template']({'srcPath':o(0x95),'destPath':e+o(0xbf),'framework':o(0xbc),'context':h,'config':f});f[o(0x9e)][o(0x75)]&&await this[o(0xa8)][o(0x9e)]({'srcPath':o(0x8a),'destPath':e+'.css','context':Object['assign']({},h,{'className':paramCase(b[o(0x76)])}),'config':f});f[o(0x9b)][o(0xb3)]!=='react'&&f[o(0x9b)][o(0xb3)]!=='vanilla'?(f[o(0x9e)][o(0x75)]&&await this[o(0xa8)][o(0x7e)]({'filePath':e+'.'+f[o(0x9b)]['js'],'content':'import\x20\x27./'+h[o(0x8b)]+'.'+f[o(0x9b)][o(0x97)]+o(0xbd)+'import\x20\x27./'+h[o(0x8b)]+'.'+f['engines'][o(0x75)]+'\x27;'}),!f['template'][o(0x75)]&&await this['fsi'][o(0x7e)]({'filePath':e+'.'+f[o(0x9b)]['js'],'content':o(0xbe)+h[o(0x8b)]+'.'+f[o(0x9b)]['html']+'\x27;'})):f['template'][o(0x75)]&&await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[o(0x9b)]['js'],'content':'import\x20\x27./'+h[o(0x8b)]+'.'+f[o(0x9b)][o(0x75)]+'\x27;'});const i=b[o(0x80)]?'/'+b[o(0x80)]+'/':'/';g=''+c+i+h[o(0x8b)]+'/'+h[o(0x8b)],await this[o(0xa8)][o(0xa0)](h[o(0xad)],f,g),!b['root']&&await a130f[o(0xaf)](o(0x84),[i+b['resourceName']],b);}),g+'.'+f['engines']['js'];});
@@ -1 +1 @@
1
- function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x70;let f=c[d];return f;},a131d(a,b);}function a131c(){const s=['320djFeHA','import\x20\x27./publications','8372946NVfNvX','4515tbuXxo','search','resourceName','injectAtEndOfFile','13594wpUzeF','appPathPrefix','create','3144RDElDF','publish','899644uEPSJT','6993297YhmvwA','fsi','getMakaProjectConfig','/imports/startup/server/publications','maka\x20g:publish\x20todos','template','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','/imports/ui/','apply','pathFromApp','baseDir','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','dir','toString','tsx','exit','1073438RbDYgb','engines','constructor','withValue','index.','globalPublish','4055097ZjHbtY','(((.+)+)+)+$','force'];a131c=function(){return s;};return a131c();}const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=-parseInt(m(0x92))/0x1+parseInt(m(0x7d))/0x2+parseInt(m(0x83))/0x3+-parseInt(m(0x86))/0x4*(-parseInt(m(0x89))/0x5)+parseInt(m(0x88))/0x6+-parseInt(m(0x8d))/0x7*(parseInt(m(0x90))/0x8)+-parseInt(m(0x93))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xdfb2a));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0x75)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a[o(0x7a)]()['search'](o(0x84))['toString']()[o(0x7f)](a131a)[o(0x8a)](o(0x84));});a131a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a131p(0x8f)]({'name':a131p(0x91),'aliases':['p'],'usage':a131p(0x78),'shortDesc':a131p(0x73),'validOpts':[a131p(0x85),a131p(0x82)],'examples':[a131p(0x71)]},async function(a,b){const q=a131p;try{const c=b[q(0x85)]||![],d=b['baseDir']?q(0x74)+b[q(0x77)]:q(0x70),f=this[q(0x94)][q(0x95)](),g=paramCase(b['resourceName']),h=this[q(0x94)][q(0x76)]({'pathParts':[d,b[q(0x79)],'',g]});let i='js';f[q(0x7e)]['js']===q(0x7b)&&(i='ts');await this['fsi'][q(0x80)](f,async()=>{const r=q,l={'name':b['resourceName'],'collection':pascalCase(b[r(0x8b)]),'noRename':!![],'globalPublish':b[r(0x82)]};await this[r(0x94)][r(0x72)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this['fsi']['pathFromApp']({'pathParts':['imports','startup','server',b[q(0x8e)],q(0x81)+f[q(0x7e)]['js']]}),k=b[q(0x79)]?'/'+b[q(0x79)]+'/':'/';return await this[q(0x94)][q(0x8c)]({'filePath':j,'content':q(0x87)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log['error'](l),process[q(0x7c)](0x1);}});
1
+ const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=-parseInt(m(0x15b))/0x1+parseInt(m(0x147))/0x2+-parseInt(m(0x148))/0x3*(parseInt(m(0x140))/0x4)+parseInt(m(0x14d))/0x5+parseInt(m(0x158))/0x6*(-parseInt(m(0x145))/0x7)+parseInt(m(0x15f))/0x8*(-parseInt(m(0x146))/0x9)+parseInt(m(0x15c))/0xa*(parseInt(m(0x14f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xc4a5d));function a131c(){const s=['engines','appPathPrefix','/imports/ui/','4CaVjqy','/imports/startup/server/publications','(((.+)+)+)+$','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','toString','1830941sFbyqK','3683331wXKMEZ','160990yFRqYk','328626fslvHA','publish/publish.js','getMakaProjectConfig','imports','index.','7018935IuNhNR','force','77GVHoHh','search','maka\x20g:publish\x20todos','exit','pathFromApp','fsi','import\x20\x27./publications','injectAtEndOfFile','dir','6KXGrmb','apply','template','450059fEDxlk','1372670ZrYeOx','resourceName','baseDir','16dNJHYb','globalPublish'];a131c=function(){return s;};return a131c();}const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a['toString']()[o(0x150)]('(((.+)+)+)+$')[o(0x144)]()['constructor'](a131a)[o(0x150)](o(0x142));});function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x140;let f=c[d];return f;},a131d(a,b);}a131a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':'publish','aliases':['p'],'usage':a131p(0x143),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':['force',a131p(0x160)],'examples':[a131p(0x151)]},async function(a,b){const q=a131p;try{const c=b[q(0x14e)]||![],d=b[q(0x15e)]?q(0x163)+b[q(0x15e)]:q(0x141),f=this['fsi'][q(0x14a)](),g=paramCase(b[q(0x15d)]),h=this[q(0x154)][q(0x153)]({'pathParts':[d,b[q(0x157)],'',g]});let i='js';f[q(0x161)]['js']==='tsx'&&(i='ts');await this[q(0x154)]['withValue'](f,async()=>{const r=q,l={'name':b['resourceName'],'collection':pascalCase(b[r(0x15d)]),'noRename':!![],'globalPublish':b['globalPublish']};await this[r(0x154)][r(0x15a)]({'srcPath':r(0x149),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this['fsi'][q(0x153)]({'pathParts':[q(0x14b),'startup','server',b[q(0x162)],q(0x14c)+f[q(0x161)]['js']]}),k=b[q(0x157)]?'/'+b[q(0x157)]+'/':'/';return await this['fsi'][q(0x156)]({'filePath':j,'content':q(0x155)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log['error'](l),process[q(0x152)](0x1);}});