@maka/maka-cli 4.13.1 → 4.13.3

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 (159) 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/templates/meteor/project/gitignore +0 -1
  140. package/bundle/obf/src/tool.js +1 -1
  141. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  142. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  143. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  145. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  147. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/https/https.class.js +1 -1
  149. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  150. package/bundle/obf/src/tools/log/log.class.js +1 -1
  151. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/options/options.class.js +1 -1
  153. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  154. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  155. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  157. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  158. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  159. package/package.json +1 -1
@@ -1 +1 @@
1
- const a116r=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=-parseInt(o(0x137))/0x1+-parseInt(o(0x13a))/0x2+parseInt(o(0x152))/0x3*(parseInt(o(0x16b))/0x4)+parseInt(o(0x16c))/0x5+-parseInt(o(0x13b))/0x6*(-parseInt(o(0x16f))/0x7)+-parseInt(o(0x164))/0x8+parseInt(o(0x148))/0x9*(parseInt(o(0x153))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xa8397));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0x146)]()[q(0x155)]('(((.+)+)+)+$')[q(0x146)]()[q(0x15f)](a116a)['search'](q(0x16a));});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';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x137;let f=c[d];return f;},a116d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'meteor','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a116r(0x154)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20'},async function(a,b){const s=a116r;try{const c=b['force']||![];await this[s(0x166)][s(0x16e)]([s(0x143),s(0x15a)],{'shouldInstall':!![]});const d=this['fsi'][s(0x16d)](),f=this['fsi']['getMakaProjectConfig'](),g=f[s(0x162)][s(0x144)]===s(0x139);await a116f[s(0x170)](s(0x138),[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0x170)](s(0x141),[s(0x171)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':'/imports/startup/client',j=this[s(0x166)][s(0x157)]({'pathParts':[i,'','',s(0x160)]});await this[s(0x166)][s(0x145)](f,async()=>{const t=s;await this[t(0x166)]['template']({'srcPath':t(0x158),'destPath':j+t(0x156),'framework':t(0x150),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x166)][s(0x157)]({'pathParts':[i,'','',s(0x13c)]}),l=f['engines']['js'];await this[s(0x166)]['injectImport']({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?s(0x14b):s(0x14d),'isNamedExport':![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20authenticateUser','replace':!![]}),await this[s(0x166)][s(0x15c)]({'filePath':k+'.'+l,'content':s(0x168),'begin':s(0x147),'replace':!![]}),await this[s(0x166)][s(0x15c)]({'filePath':k+'.'+l,'content':s(0x14e),'begin':s(0x13f),'replace':!![]}),await this[s(0x166)][s(0x15c)]({'filePath':k+'.'+l,'content':s(0x13e),'begin':'const\x20deauthenticateUser','replace':!![]}),await this['fsi'][s(0x15c)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x151),'replace':!![]}),await this[s(0x166)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x15b),'begin':s(0x15e),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x13d),'begin':'const\x20resetPasswordWithToken','replace':!![]});g&&(await this[s(0x166)][s(0x161)]({'filePath':k+'.'+l,'importName':s(0x172),'modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await this[s(0x166)][s(0x140)]({'filePath':k+'.'+l,'content':s(0x165),'begin':s(0x159),'end':s(0x14c)}));await this[s(0x166)][s(0x161)]({'filePath':h,'importName':'Meteor','modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x166)][s(0x15c)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x14a),'replace':!![]});const m=this[s(0x166)]['pathFromApp']({'pathParts':[s(0x163),'startup','server',s(0x15d)]});await this['fsi'][s(0x161)]({'filePath':m+'.'+l,'importName':s(0x169),'modulePath':s(0x167),'isNamedExport':!![]}),await this[s(0x166)][s(0x15c)]({'filePath':m+'.'+l,'content':s(0x149),'begin':'Meteor.startup','replace':!![]});}catch(n){Log['error'](n),process[s(0x142)](0x1);}},async function(){},a116e);function a116c(){const u=['9SRhFJw','55990PomAuB','force','search','.js','pathFromApp','kit/auth/service/meteor-auth-service.js','export\x20const\x20AuthProvider','alanning:roles','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','injectIntoCodeBlock','index','const\x20registerNewUser','constructor','authentication-service','injectImport','engines','imports','9631976SGKKEY','\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','fsi','meteor/accounts-base','\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','Accounts','(((.+)+)+)+$','932776XRtdYH','3127610KxCCYb','findProjectDirectory','checkMeteorPackage','49GvbTsK','processAndRunGenerator','auth/roles','useTracker','779977Qksfnz','kit:auth:provider','true','1054050TeljbU','460098ELUsUM','authentication-provider','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','const\x20getUserAuthorizations','injectIntoFile','publish','exit','accounts-password','ssr','withValue','toString','const\x20authenticateToken','2151OWlrxv','\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','Meteor.publish','/imports/startup/lib/authentication-service','return\x20\x5c(','/imports/startup/client/authentication-service','\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','apply','react','const\x20sendForgotPasswordEmail'];a116c=function(){return u;};return a116c();}
1
+ const a116q=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=parseInt(o(0x15d))/0x1+parseInt(o(0x138))/0x2+-parseInt(o(0x12c))/0x3*(parseInt(o(0x15b))/0x4)+-parseInt(o(0x11d))/0x5*(parseInt(o(0x124))/0x6)+parseInt(o(0x11f))/0x7*(parseInt(o(0x148))/0x8)+parseInt(o(0x11c))/0x9*(-parseInt(o(0x154))/0xa)+-parseInt(o(0x150))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x86c28));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(0x119)]()[p(0x147)]('(((.+)+)+)+$')['toString']()[p(0x127)](a116a)[p(0x147)](p(0x125));});a116a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x119;let f=c[d];return f;},a116d(a,b);}import a116e from'./auth.generator.js';function a116c(){const t=['\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','REACT','true','25782wuTtlQ','withValue','const\x20getUserAuthorizations','meteor/meteor','authentication-service','alanning:roles','create','kit:auth:provider','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','fsi','const\x20authenticateToken','startup','Meteor.startup','findProjectDirectory','AuthService','search','2104mKIIph','meteor/maka:react-tracker','error','react','\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','pathFromApp','injectImport','exit','433576FFVDIb','checkMeteorPackage','/imports/startup/lib','\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','85840NLGwyP','accounts-password','return\x20\x5c(','authentication-provider','/imports/startup/client/authentication-service','\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','const\x20authenticateUser','432836yRjKGt','getMakaProjectConfig','422187JrXTNX','toString','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\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','747ZiZBIX','150XFNLtV','injectIntoCodeBlock','28455ReDhpA','force','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','.js','18420VMaIhc','(((.+)+)+)+$','const\x20deauthenticateUser','constructor','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','Accounts','/imports/startup/client','Meteor.publish','3EbJgir','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','ssr','/imports/startup/lib/authentication-service','kit/auth/service/meteor-auth-service.js','injectIntoFile','template','const\x20registerNewUser','imports'];a116c=function(){return t;};return a116c();}import a116f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a116q(0x13e)]({'name':'meteor','aliases':['m'],'usage':a116q(0x122),'shortDesc':a116q(0x12d),'validOpts':[a116q(0x120)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116q(0x136)]},'description':a116q(0x159)},async function(a,b){const r=a116q;try{const c=b[r(0x120)]||![];await this[r(0x141)][r(0x151)]([r(0x155),r(0x13d)],{'shouldInstall':!![]});const d=this[r(0x141)][r(0x145)](),f=this[r(0x141)][r(0x15c)](),g=f['engines'][r(0x12e)]===r(0x137);await a116f[r(0x121)](r(0x13f),[],{'force':c,'cwd':d,'config':f});const h=await a116f[r(0x121)]('publish',['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?r(0x152):r(0x12a),j=this[r(0x141)]['pathFromApp']({'pathParts':[i,'','',r(0x13c)]});await this[r(0x141)][r(0x139)](f,async()=>{const s=r;await this[s(0x141)][s(0x132)]({'srcPath':s(0x130),'destPath':j+s(0x123),'framework':s(0x14b),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[r(0x141)][r(0x14d)]({'pathParts':[i,'','',r(0x157)]}),l=f['engines']['js'];await this[r(0x141)][r(0x14e)]({'filePath':k+'.'+l,'importName':r(0x146),'modulePath':g?r(0x12f):r(0x158),'isNamedExport':![]}),await this['fsi'][r(0x11e)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x15a),'replace':!![]}),await this['fsi'][r(0x11e)]({'filePath':k+'.'+l,'content':r(0x14c),'begin':r(0x142),'replace':!![]}),await this[r(0x141)][r(0x11e)]({'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(0x13a),'replace':!![]}),await this[r(0x141)][r(0x11e)]({'filePath':k+'.'+l,'content':r(0x128),'begin':r(0x126),'replace':!![]}),await this['fsi'][r(0x11e)]({'filePath':k+'.'+l,'content':r(0x140),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await this[r(0x141)]['injectIntoCodeBlock']({'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(0x133),'replace':!![]}),await this[r(0x141)][r(0x11e)]({'filePath':k+'.'+l,'content':r(0x11a),'begin':'const\x20resetPasswordWithToken','replace':!![]});g&&(await this[r(0x141)][r(0x14e)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':r(0x149),'isNamedExport':!![]}),await this[r(0x141)][r(0x131)]({'filePath':k+'.'+l,'content':r(0x11b),'begin':'export\x20const\x20AuthProvider','end':r(0x156)}));await this[r(0x141)][r(0x14e)]({'filePath':h,'importName':'Meteor','modulePath':r(0x13b),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][r(0x11e)]({'filePath':h,'content':r(0x135),'begin':r(0x12b),'replace':!![]});const m=this[r(0x141)]['pathFromApp']({'pathParts':[r(0x134),r(0x143),'server','index']});await this['fsi']['injectImport']({'filePath':m+'.'+l,'importName':r(0x129),'modulePath':'meteor/accounts-base','isNamedExport':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':m+'.'+l,'content':r(0x153),'begin':r(0x144),'replace':!![]});}catch(n){Log[r(0x14a)](n),process[r(0x14f)](0x1);}},async function(){},a116e);
@@ -1 +1 @@
1
- const a117w=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=-parseInt(u(0x17b))/0x1+parseInt(u(0x194))/0x2+-parseInt(u(0x183))/0x3*(parseInt(u(0x18e))/0x4)+-parseInt(u(0x198))/0x5*(-parseInt(u(0x199))/0x6)+-parseInt(u(0x17f))/0x7+parseInt(u(0x172))/0x8*(parseInt(u(0x18d))/0x9)+-parseInt(u(0x16c))/0xa*(-parseInt(u(0x173))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x61708));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(0x18a)]()['search'](v(0x176))[v(0x18a)]()[v(0x196)](a117a)[v(0x189)](v(0x176));});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 a117c(){const z=['injectImport','15664CmSAXi','44QzfVvF','/imports/startup/server/index','<AuthProvider>','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','.js','provider','engines','491859kKGzRP','/imports/startup/lib','react','<Routes\x20history={history}/>','4157825qQsXfk','create','ssr','</AuthProvider>','16629KCyHtx','/imports/startup/lib/authentication-provider','REACT','template','/imports/startup/client','bright','search','toString','useContext','fsi','1431pYHgMn','412yAxKOW','force','function\x20Routes','replaceAll','appName','injectAroundString','38780BhkWTl','/routes','constructor','/imports/startup/client/authentication-provider','65545gnuGwI','114dgvqVD','/imports/startup/client/index','split','error','AuthContext','exit','pathFromApp','3690230rXcWdU','\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','getMakaProjectConfig','authentication-provider','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context'];a117c=function(){return z;};return a117c();}function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x167;let f=c[d];return f;},a117d(a,b);}Generator[a117w(0x180)]({'name':a117w(0x179),'aliases':['p'],'usage':a117w(0x177),'shortDesc':a117w(0x170),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117w(0x185)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const x=a117w;try{const c=b[x(0x18f)]||![];Log[x(0x188)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this['fsi'][x(0x16e)](),f=d[x(0x17a)][x(0x181)]==='true',g={'name':headerCase(d[x(0x192)])[x(0x191)]('-','\x20')},h=f?x(0x17c):x(0x187),i=this[x(0x18c)][x(0x16b)]({'pathParts':[h,'','',x(0x16f)]});await this[x(0x18c)]['withValue'](d,async()=>{const y=x;await this[y(0x18c)][y(0x186)]({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+y(0x178),'framework':y(0x17d),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[x(0x17a)]['js'],k=h+x(0x195),l=k['split']('/'),m=this[x(0x18c)][x(0x16b)]({'pathParts':l});await this[x(0x18c)][x(0x171)]({'filePath':m+'.'+j,'importName':x(0x169),'modulePath':f?x(0x184):x(0x197),'isNamedExport':!![]}),await this[x(0x18c)][x(0x171)]({'filePath':m+'.'+j,'importName':x(0x18b),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x18c)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':x(0x16d),'begin':['const\x20Routes',x(0x190)],'replace':!![]});const n=x(0x19a),o=n['split']('/'),p=this[x(0x18c)]['pathFromApp']({'pathParts':o});await this[x(0x18c)]['injectImport']({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?x(0x184):x(0x197),'isNamedExport':!![]}),await this['fsi'][x(0x193)]({'filePath':p+'.'+j,'aboveContent':x(0x175),'belowContent':x(0x182),'targetString':'<Routes\x20history={browserHistory}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x174),r=q[x(0x167)]('/'),s=this[x(0x18c)][x(0x16b)]({'pathParts':r});await this[x(0x18c)][x(0x171)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?x(0x184):x(0x197),'isNamedExport':!![]}),await this['fsi']['injectAroundString']({'filePath':s+'.'+j,'aboveContent':x(0x175),'belowContent':x(0x182),'targetString':x(0x17e),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0x168)](t),process[x(0x16a)](0x1);}},async function(){},a117e);
1
+ const a117w=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=-parseInt(u(0x1a7))/0x1*(parseInt(u(0x195))/0x2)+parseInt(u(0x18a))/0x3*(parseInt(u(0x185))/0x4)+-parseInt(u(0x188))/0x5+parseInt(u(0x17e))/0x6+parseInt(u(0x1a1))/0x7*(-parseInt(u(0x19e))/0x8)+parseInt(u(0x18e))/0x9+-parseInt(u(0x1a4))/0xa*(parseInt(u(0x178))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x35b01));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(0x1a6)]()[v(0x183)]('(((.+)+)+)+$')[v(0x1a6)]()['constructor'](a117a)[v(0x183)](v(0x18b));});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';Generator[a117w(0x190)]({'name':a117w(0x193),'aliases':['p'],'usage':a117w(0x17f),'shortDesc':a117w(0x181),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117w(0x1a3)]},'description':a117w(0x194)},async function(a,b){const x=a117w;try{const c=b['force']||![];Log[x(0x1a8)](x(0x186));const d=this[x(0x18d)][x(0x197)](),f=d[x(0x198)][x(0x184)]===x(0x1a5),g={'name':headerCase(d[x(0x196)])[x(0x1a0)]('-','\x20')},h=f?x(0x19b):'/imports/startup/client',i=this[x(0x18d)][x(0x180)]({'pathParts':[h,'','',x(0x175)]});await this[x(0x18d)]['withValue'](d,async()=>{const y=x;await this['fsi'][y(0x179)]({'srcPath':y(0x1a2),'destPath':i+y(0x174),'framework':y(0x19d),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[x(0x198)]['js'],k=h+x(0x189),l=k[x(0x18c)]('/'),m=this[x(0x18d)]['pathFromApp']({'pathParts':l});await this[x(0x18d)]['injectImport']({'filePath':m+'.'+j,'importName':x(0x1a9),'modulePath':f?x(0x187):x(0x19a),'isNamedExport':!![]}),await this[x(0x18d)][x(0x199)]({'filePath':m+'.'+j,'importName':x(0x17d),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x18d)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':x(0x17a),'begin':[x(0x17b),'function\x20Routes'],'replace':!![]});const n=x(0x18f),o=n[x(0x18c)]('/'),p=this[x(0x18d)]['pathFromApp']({'pathParts':o});await this['fsi'][x(0x199)]({'filePath':p+'.'+j,'importName':x(0x19f),'modulePath':f?'/imports/startup/lib/authentication-provider':x(0x19a),'isNamedExport':!![]}),await this['fsi'][x(0x191)]({'filePath':p+'.'+j,'aboveContent':x(0x177),'belowContent':'</AuthProvider>','targetString':x(0x17c),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[x(0x18c)]('/'),s=this[x(0x18d)][x(0x180)]({'pathParts':r});await this[x(0x18d)][x(0x199)]({'filePath':s+'.'+j,'importName':x(0x19f),'modulePath':f?x(0x187):x(0x19a),'isNamedExport':!![]}),await this[x(0x18d)][x(0x191)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0x176),'targetString':x(0x182),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0x192)](t),process[x(0x19c)](0x1);}},async function(){},a117e);function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x174;let f=c[d];return f;},a117d(a,b);}function a117c(){const z=['appName','getMakaProjectConfig','engines','injectImport','/imports/startup/client/authentication-provider','/imports/startup/lib','exit','react','16VLxZwT','AuthProvider','replaceAll','27629oJsCwI','kit/auth/provider/authentication-provider.js','REACT','30RJirqA','true','toString','82763cTOJQe','bright','AuthContext','.js','authentication-provider','</AuthProvider>','<AuthProvider>','1409749legOFM','template','\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','const\x20Routes','<Routes\x20history={browserHistory}/>','useContext','1126596MXKHxt','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','pathFromApp','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','<Routes\x20history={history}/>','search','ssr','16636PFmayb','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','/imports/startup/lib/authentication-provider','1288495JDLdZw','/routes','291EbrBkF','(((.+)+)+)+$','split','fsi','3253941CfxEyl','/imports/startup/client/index','create','injectAroundString','error','provider','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','2xIMmPy'];a117c=function(){return z;};return a117c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x7a))/0x1+parseInt(f(0x71))/0x2*(-parseInt(f(0x74))/0x3)+-parseInt(f(0x73))/0x4*(-parseInt(f(0x72))/0x5)+-parseInt(f(0x6e))/0x6*(parseInt(f(0x76))/0x7)+parseInt(f(0x75))/0x8*(-parseInt(f(0x79))/0x9)+parseInt(f(0x6f))/0xa+-parseInt(f(0x70))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x1ca0a));function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x6d;var f=c[d];return f;},a118d(a,b);}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()['search'](h(0x77))[h(0x6d)]()['constructor'](a118a)[h(0x78)]('(((.+)+)+)+$');});a118a();import'./esri.generator.js';import'./map.esri.gen.js';function a118c(){var i=['7511Adkiff','(((.+)+)+)+$','search','215451HLNcdS','154394bKIwdO','apply','toString','1158bfrFFj','1709390yWWFjn','1209483bhaksF','950FmVkaQ','1745gDTnwh','2476QalhuE','525njtTap','8dXozxy'];a118c=function(){return i;};return a118c();}
1
+ function a118c(){var i=['130dhKRXH','1423352NyhlLv','apply','search','7748408FCIUTv','toString','738122AnKjKK','11xTUZHK','9566235GFScIg','(((.+)+)+)+$','3hTHiuK','constructor','1983055oldJqZ','5542444caWxHY','12VhwGQV','243034IdCYkt'];a118c=function(){return i;};return a118c();}function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xb7;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xbe))/0x1*(-parseInt(f(0xc6))/0x2)+-parseInt(f(0xc1))/0x3*(parseInt(f(0xc4))/0x4)+parseInt(f(0xc3))/0x5+parseInt(f(0xc5))/0x6*(-parseInt(f(0xb8))/0x7)+parseInt(f(0xbb))/0x8+-parseInt(f(0xbf))/0x9+-parseInt(f(0xb7))/0xa*(-parseInt(f(0xbd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xaf881));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xbc)]()[h(0xba)](h(0xc0))[h(0xbc)]()[h(0xc2)](a118a)[h(0xba)]('(((.+)+)+)+$');});a118a();import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- function a119c(){const k=['132494Dbyhuk','4zINIAi','1308429zikEVr','47365ppDNZN','(((.+)+)+)+$','Esri\x20Kit\x20generated\x20successfully','32wJbuts','maka\x20g:kit:e','5379627BiDypw','search','/foo/bar','toString','create','8MioHjE','/foo','\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','708924jdnVfB','102udJnvS','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','constructor','5241740GnRCvF','apply','1668044SrPKJJ','esri'];a119c=function(){return k;};return a119c();}const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0xe7))/0x1*(parseInt(f(0xdc))/0x2)+-parseInt(f(0xdf))/0x3*(-parseInt(f(0xe8))/0x4)+parseInt(f(0xea))/0x5*(-parseInt(f(0xe0))/0x6)+parseInt(f(0xe5))/0x7+-parseInt(f(0xed))/0x8*(parseInt(f(0xe9))/0x9)+parseInt(f(0xe3))/0xa+-parseInt(f(0xef))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x488a8));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0xe4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0xf2)]()[h(0xf0)](h(0xeb))[h(0xf2)]()[h(0xe2)](a119a)[h(0xf0)]('(((.+)+)+)+$');});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xdb;let f=c[d];return f;},a119d(a,b);}const EsriGen=Generator[a119i(0xdb)]({'name':a119i(0xe6),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a119i(0xe1),'validOpts':[''],'isPro':!![],'examples':[a119i(0xee)],'description':a119i(0xde)},async function(){const j=a119i;return{'success':!![],'message':j(0xec),'details':{'filesCreated':[j(0xf1)],'filesUpdated':[j(0xdd)]}};},async function(){},a119e);export default EsriGen;
1
+ const a119h=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=-parseInt(f(0x1eb))/0x1*(parseInt(f(0x1e9))/0x2)+parseInt(f(0x1ec))/0x3*(-parseInt(f(0x1ed))/0x4)+parseInt(f(0x1f0))/0x5+parseInt(f(0x1e7))/0x6*(parseInt(f(0x1e2))/0x7)+parseInt(f(0x1e5))/0x8*(parseInt(f(0x1f2))/0x9)+parseInt(f(0x1e3))/0xa+-parseInt(f(0x1e4))/0xb*(parseInt(f(0x1ee))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xc1a36));const a119b=(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;};}()),a119a=a119b(this,function(){const g=a119d;return a119a[g(0x1e6)]()[g(0x1e0)]('(((.+)+)+)+$')[g(0x1e6)]()[g(0x1e1)](a119a)[g(0x1e0)](g(0x1f3));});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x1df;let f=c[d];return f;},a119d(a,b);}const EsriGen=Generator[a119h(0x1f1)]({'name':'esri','aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a119h(0x1e8),'validOpts':[''],'isPro':!![],'examples':[a119h(0x1ea)],'description':a119h(0x1df)},async function(){const i=a119h;return{'success':!![],'message':i(0x1f4),'details':{'filesCreated':['/foo/bar'],'filesUpdated':[i(0x1ef)]}};},async function(){},a119e);export default EsriGen;function a119c(){const j=['63MWaYag','(((.+)+)+)+$','Esri\x20Kit\x20generated\x20successfully','\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','search','constructor','77knXyAd','6309310hElTQg','2651407ufvatf','764792NFsRug','toString','859302FNslvm','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','70672sRSLzz','maka\x20g:kit:e','10ZqLaPY','1263zKoPhr','956MuVQoR','156JVJNyF','/foo','7525455zrkKEM','create'];a119c=function(){return j;};return a119c();}
@@ -1 +1 @@
1
- const a120s=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x131;let f=c[d];return f;},a120d(a,b);}(function(a,b){const p=a120d,c=a();while(!![]){try{const d=-parseInt(p(0x161))/0x1*(-parseInt(p(0x147))/0x2)+-parseInt(p(0x153))/0x3+-parseInt(p(0x14b))/0x4+parseInt(p(0x134))/0x5*(-parseInt(p(0x15a))/0x6)+-parseInt(p(0x140))/0x7*(parseInt(p(0x14a))/0x8)+parseInt(p(0x14f))/0x9+-parseInt(p(0x143))/0xa*(-parseInt(p(0x14e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xd8e0d));function a120c(){const v=['/imports/startup/client/templates','search','react','/imports/startup/lib/templates','<div\x20id=\x22map\x22>','dir','137238YCipdX','template','true','injectImport','processAndRunGenerator','findProjectDirectory','injectIntoFile','1FTiGKZ','engines','replaceAll','split','bright','150mSGZPu','baseDir','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','map','pathFromApp','toString','\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','esri-loader','FALSE','withValue','@esri/react-arcgis','error','43379QMeLqx','fsi','getMakaProjectConfig','20leIOjG','/imports/ui/','apply','exit','3333456ovBlPf','Generating\x20a\x20map\x20component','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','1896ZgaFhp','3439128AjbLkB','REACT','ssr','16504301iQyWEd','6897591IFCBLs','page','injectTemplateModule','Generate\x20an\x20Esri\x20map\x20component','4592745zXugJt'];a120c=function(){return v;};return a120c();}const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0x145)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a[r(0x139)]()[r(0x155)]('(((.+)+)+)+$')[r(0x139)]()['constructor'](a120a)['search']('(((.+)+)+)+$');});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['create']({'name':'map','aliases':['m'],'usage':a120s(0x149),'shortDesc':a120s(0x152),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120s(0x14c)],'ssr':SsrEngines[a120s(0x13c)]},'description':a120s(0x13a)},async function(a,b){const t=a120s;try{Log[t(0x133)](t(0x148));const c='basic-map';await this[t(0x141)]['checkNpmPackage']([t(0x13e),t(0x13b)],{'shouldInstall':!![]});const d=this[t(0x141)][t(0x15f)](),f=this[t(0x141)][t(0x142)](),g=f[t(0x162)][t(0x14d)]===t(0x15c),h=await a120f[t(0x15e)](t(0x150),[t(0x137)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[t(0x131)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x135)]?t(0x144)+b[t(0x135)]:'/imports/ui/hooks',k=this[t(0x141)][t(0x138)]({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[t(0x141)][t(0x13d)](f,async()=>{const u=t;await this[u(0x141)][u(0x15b)]({'srcPath':'kit/esri/map/'+c+'.js','destPath':k+'.js','framework':u(0x156),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x159)]+'/'+c+'/'+c;await this['fsi'][t(0x151)](c,f,l);const m=h[t(0x132)]('/'),n=this[t(0x141)][t(0x138)]({'pathParts':m});await this[t(0x141)][t(0x15d)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x157):t(0x154),'isNamedExport':!![]}),await this[t(0x141)][t(0x160)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x136),'begin':['<div\x20id=\x22map\x22>',t(0x158)],'end':['</div>'],'replace':!![]});}catch(o){Log[t(0x13f)](o),process[t(0x146)](0x1);}},async function(){},a120e);
1
+ const a120r=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=parseInt(p(0x1fd))/0x1+-parseInt(p(0x1e8))/0x2+parseInt(p(0x1ed))/0x3*(parseInt(p(0x20a))/0x4)+parseInt(p(0x1eb))/0x5*(parseInt(p(0x207))/0x6)+-parseInt(p(0x1ff))/0x7+parseInt(p(0x1e9))/0x8+-parseInt(p(0x208))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x59958));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(0x1e4)]()[q(0x1f2)](q(0x200))[q(0x1e4)]()['constructor'](a120a)[q(0x1f2)](q(0x200));});a120a();function a120c(){const u=['basic-map','toString','page','pathFromApp','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','565188JiLGJr','4498360qKHdQt','processAndRunGenerator','15xKXDZn','findProjectDirectory','66uPWVng','</div>','/imports/startup/client/templates','.js','Generating\x20a\x20map\x20component','search','fsi','REACT','create','bright','split','/imports/startup/lib/templates','/imports/ui/hooks','replaceAll','appName','withValue','663482wmJQBZ','\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','2541357xnLyoX','(((.+)+)+)+$','<div\x20id=\x22map\x22>','map','injectIntoFile','/imports/ui/','ssr','react','1228938yqmBAa','12925863TcpsRd','esri-loader','110644lfzUdY'];a120c=function(){return u;};return a120c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120e from'./esri.generator.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1e4;let f=c[d];return f;},a120d(a,b);}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(0x1f5)]({'name':a120r(0x202),'aliases':['m'],'usage':a120r(0x1e7),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120r(0x1f4)],'ssr':SsrEngines['FALSE']},'description':a120r(0x1fe)},async function(a,b){const s=a120r;try{Log[s(0x1f6)](s(0x1f1));const c=s(0x20b);await this[s(0x1f3)]['checkNpmPackage'](['@esri/react-arcgis',s(0x209)],{'shouldInstall':!![]});const d=this[s(0x1f3)][s(0x1ec)](),f=this[s(0x1f3)]['getMakaProjectConfig'](),g=f['engines'][s(0x205)]==='true',h=await a120f[s(0x1ea)](s(0x1e5),[s(0x202)],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0x1fb)])[s(0x1fa)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?s(0x204)+b['baseDir']:s(0x1f9),k=this[s(0x1f3)][s(0x1e6)]({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[s(0x1f3)][s(0x1fc)](f,async()=>{const t=s;await this[t(0x1f3)]['template']({'srcPath':'kit/esri/map/'+c+t(0x1f0),'destPath':k+t(0x1f0),'framework':t(0x206),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[s(0x1f3)]['injectTemplateModule'](c,f,l);const m=h[s(0x1f7)]('/'),n=this['fsi'][s(0x1e6)]({'pathParts':m});await this[s(0x1f3)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0x1f8):s(0x1ef),'isNamedExport':!![]}),await this[s(0x1f3)][s(0x203)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[s(0x201),s(0x201)],'end':[s(0x1ee)],'replace':!![]});}catch(o){Log['error'](o),process['exit'](0x1);}},async function(){},a120e);
@@ -1 +1 @@
1
- function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x12c;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(0x139))/0x1*(parseInt(f(0x12d))/0x2)+parseInt(f(0x13e))/0x3+-parseInt(f(0x137))/0x4*(-parseInt(f(0x136))/0x5)+-parseInt(f(0x12c))/0x6+parseInt(f(0x135))/0x7*(parseInt(f(0x140))/0x8)+parseInt(f(0x13b))/0x9*(-parseInt(f(0x130))/0xa)+parseInt(f(0x134))/0xb*(-parseInt(f(0x12e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x802ef));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0x12f)]()[h(0x133)]('(((.+)+)+)+$')[h(0x12f)]()[h(0x141)](a121a)['search'](h(0x13a));});function a121c(){const j=['Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','maka\x20g:kit','1015371dIIkbJ','kit','8JucGiK','constructor','477306aIuQtM','347938eygqBN','76656FlHzRg','toString','10fNqrFY','apply','create','search','220PyMbto','3804283xCOyRo','349940JvGOvF','20WOQRXc','maka\x20g:k','1KpthQL','(((.+)+)+)+$','6061365sGwCYn'];a121c=function(){return j;};return a121c();}a121a();import{Generator}from'../../generator.js';const KitGen=Generator[a121i(0x132)]({'name':a121i(0x13f),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a121i(0x13c),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0x13d),a121i(0x138)]},async function(){});export default KitGen;
1
+ const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=parseInt(f(0x129))/0x1*(parseInt(f(0x128))/0x2)+-parseInt(f(0x126))/0x3+-parseInt(f(0x12f))/0x4*(parseInt(f(0x11e))/0x5)+-parseInt(f(0x122))/0x6+-parseInt(f(0x12d))/0x7*(-parseInt(f(0x130))/0x8)+-parseInt(f(0x120))/0x9+parseInt(f(0x123))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x7ae76));function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x11e;let f=c[d];return f;},a121d(a,b);}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0x11f)]()['search'](h(0x121))['toString']()[h(0x124)](a121a)[h(0x12e)](h(0x121));});function a121c(){const j=['630474RrXfqs','maka\x20g:k','maka\x20g:kit','kit','18704tDZrwQ','search','38988wnQKgX','2672yicDOi','105dNaSOY','toString','2830041ueGqvD','(((.+)+)+)+$','322752YqcDCj','5495940qiEuho','constructor','apply','2988522YiWQaa','maka\x20{generate,\x20g}:{kit}\x20<name>','2qyMRCH'];a121c=function(){return j;};return a121c();}a121a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a121i(0x12c),'aliases':['k'],'usage':a121i(0x127),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0x12b),a121i(0x12a)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x15b))/0x1+parseInt(f(0x160))/0x2+-parseInt(f(0x163))/0x3*(parseInt(f(0x168))/0x4)+-parseInt(f(0x162))/0x5*(parseInt(f(0x15e))/0x6)+-parseInt(f(0x161))/0x7+parseInt(f(0x167))/0x8*(parseInt(f(0x164))/0x9)+parseInt(f(0x15d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xa58b6));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x15f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x165)]()[h(0x15c)]('(((.+)+)+)+$')[h(0x165)]()[h(0x166)](a122a)['search'](h(0x169));});function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x15b;var f=c[d];return f;},a122d(a,b);}a122a();function a122c(){var i=['apply','1058834gBYzOa','5410090UrJoWT','10mhtlii','51GljvOf','126zZnpHo','toString','constructor','724536Jygmki','247124ulfzJZ','(((.+)+)+)+$','345518BCWArb','search','12294020DzDSCb','540066urFkrP'];a122c=function(){return i;};return a122c();}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x7c))/0x1*(parseInt(f(0x75))/0x2)+-parseInt(f(0x74))/0x3+-parseInt(f(0x81))/0x4+parseInt(f(0x7d))/0x5+-parseInt(f(0x78))/0x6*(parseInt(f(0x7a))/0x7)+-parseInt(f(0x80))/0x8*(-parseInt(f(0x77))/0x9)+parseInt(f(0x7f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x492ef));function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x73;var f=c[d];return f;},a122d(a,b);}function a122c(){var i=['14OTBeLD','apply','67cEMGYp','2442785FMauTD','(((.+)+)+)+$','4916480xjSoYR','136rHofAf','722176SoXLFP','search','439578zPhuzA','15666NoBtKk','toString','197577uFzvmT','605298NCqJEw','constructor'];a122c=function(){return i;};return a122c();}var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x76)]()['search'](h(0x7e))[h(0x76)]()[h(0x79)](a122a)[h(0x73)](h(0x7e));});a122a();import'./mui.generator.js';import'./frame.mui.gen.js';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(0x1c0))/0x1+parseInt(G(0x1e6))/0x2*(parseInt(G(0x1d3))/0x3)+parseInt(G(0x1e9))/0x4+-parseInt(G(0x1c7))/0x5+parseInt(G(0x1e1))/0x6+-parseInt(G(0x1b3))/0x7+-parseInt(G(0x1df))/0x8*(parseInt(G(0x1e2))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x7edc6));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0x1d8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a[I(0x1d4)]()['search'](I(0x1c4))[I(0x1d4)]()[I(0x1cd)](a123a)[I(0x1cc)](I(0x1c4));});a123a();function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a123d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a123c(){const N=['/imports/startup/client/authentication-provider','appName','kit/mui/auth/forgot-password/','apply','basic-forgot-password-page','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','register','basic-logout-page','error','dir','8ZATCWl','log','3931746gCjCNc','7134948iRqHva','list','pathFromApp','basic-password-reset-page','1620908WLOCNB','AuthContext','custom','2626324lbUUhe','.js','findProjectDirectory','kit/mui/auth/login/','baseDir','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','getMakaProjectConfig','Cleaning\x20up...','/imports/startup/lib/authentication-provider','force','4595724LcExcy','logout','fsi','template','basic-register-page','kit/mui/auth/logout/','options','login','kit:auth:meteor','kit/mui/auth/password-reset/','engines','meteor','basic-login-page','648731SIwXWG','route','true','processAndRunGenerator','(((.+)+)+)+$','reset-password/:token','injectTemplateModule','4010655UMBKfu','auth','authType','react','layouts','search','constructor','split','kit/mui/auth/register/','injectImport','withValue','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','3zApJFy','toString'];a123c=function(){return N;};return a123c();}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['create']({'name':a123J(0x1c8),'aliases':['a'],'usage':a123J(0x1da),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a123J(0x1cb),a123J(0x1b2)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':['maka\x20generate:kit:mui:frame','maka\x20g:k:m:f'],'description':a123J(0x1ee)},async function(a,b){const K=a123J;try{const c=b[K(0x1b2)]||![],d=this['fsi'][K(0x1eb)](),f=this[K(0x1b5)][K(0x1ef)](),{authType:g}=await Actions[K(0x1b9)]({'type':K(0x1e3),'name':K(0x1c9),'message':K(0x1d2),'choices':[{'name':'Meteor\x20Accounts','value':K(0x1be)},{'name':'Custom\x20(roll\x20your\x20own)','value':K(0x1e8)}]}),h=K(0x1bf),i=K(0x1dc),j='basic-register-page',k=K(0x1e5),l=K(0x1d9),m=b[K(0x1ed)]?'/imports/ui/'+b[K(0x1ed)]:'/imports/ui/pages/auth',n=this[K(0x1b5)][K(0x1e4)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0x1b5)]['pathFromApp']({'pathParts':[m,b[K(0x1de)],paramCase(i),paramCase(i)]}),p=this[K(0x1b5)][K(0x1e4)]({'pathParts':[m,b[K(0x1de)],paramCase(j),paramCase(j)]}),q=this[K(0x1b5)][K(0x1e4)]({'pathParts':[m,b[K(0x1de)],paramCase(k),paramCase(k)]}),r=this[K(0x1b5)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1d6)])['replaceAll']('-','\x20')};await this[K(0x1b5)][K(0x1d1)](f,async()=>{const L=K;await this['fsi'][L(0x1b6)]({'srcPath':L(0x1ec)+h+L(0x1ea),'destPath':n+L(0x1ea),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':L(0x1b8)+i+L(0x1ea),'destPath':o+L(0x1ea),'framework':L(0x1ca),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x1b6)]({'srcPath':L(0x1cf)+j+L(0x1ea),'destPath':p+L(0x1ea),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1b5)][L(0x1b6)]({'srcPath':L(0x1bc)+k+L(0x1ea),'destPath':q+L(0x1ea),'framework':L(0x1ca),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1b5)][L(0x1b6)]({'srcPath':L(0x1d7)+l+L(0x1ea),'destPath':r+L(0x1ea),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x1de)]+'/'+h+'/'+h;await this[K(0x1b5)][K(0x1c6)](h,f,t);const u=''+m+b[K(0x1de)]+'/'+i+'/'+i;await this['fsi'][K(0x1c6)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[K(0x1b5)]['injectTemplateModule'](j,f,v);const w=''+m+b[K(0x1de)]+'/'+k+'/'+k;await this[K(0x1b5)][K(0x1c6)](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[K(0x1b5)][K(0x1c6)](l,f,x),await a123e['processAndRunGenerator'](K(0x1c1),[K(0x1bf)],{'url':K(0x1ba),'cwd':d,'config':f}),await a123e['processAndRunGenerator']('route',[K(0x1dc)],{'url':K(0x1b4),'private':!![],'cwd':d,'config':f}),await a123e[K(0x1c3)](K(0x1c1),[K(0x1b7)],{'url':K(0x1db),'cwd':d,'config':f}),await a123e[K(0x1c3)]('route',['basic-password-reset-page'],{'url':K(0x1c5),'cwd':d,'config':f}),await a123e['processAndRunGenerator']('route',[K(0x1d9)],{'url':'forgot-password','cwd':d,'config':f});g==='meteor'&&await a123e[K(0x1c3)](K(0x1bb),[],{'force':c,'cwd':d,'config':f});g===K(0x1e8)&&await a123e[K(0x1c3)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f[K(0x1bd)]['ssr']===K(0x1c2),z=f[K(0x1bd)]['js'],A=this['fsi'][K(0x1e4)]({'pathParts':t[K(0x1ce)]('/')});await this['fsi'][K(0x1d0)]({'filePath':A+'.'+z,'importName':K(0x1e7),'modulePath':y?K(0x1b1):K(0x1d5),'isNamedExport':!![]});const B=this[K(0x1b5)][K(0x1e4)]({'pathParts':u['split']('/')});await this['fsi'][K(0x1d0)]({'filePath':B+'.'+z,'importName':K(0x1e7),'modulePath':y?K(0x1b1):K(0x1d5),'isNamedExport':!![]});const C=this['fsi']['pathFromApp']({'pathParts':v[K(0x1ce)]('/')});await this['fsi'][K(0x1d0)]({'filePath':C+'.'+z,'importName':K(0x1e7),'modulePath':y?K(0x1b1):K(0x1d5),'isNamedExport':!![]});const D=this[K(0x1b5)]['pathFromApp']({'pathParts':w['split']('/')});await this[K(0x1b5)]['injectImport']({'filePath':D+'.'+z,'importName':K(0x1e7),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x1d5),'isNamedExport':!![]});const E=this[K(0x1b5)][K(0x1e4)]({'pathParts':x[K(0x1ce)]('/')});await this[K(0x1b5)][K(0x1d0)]({'filePath':E+'.'+z,'importName':K(0x1e7),'modulePath':y?K(0x1b1):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log[K(0x1dd)](F);}},async function(){const M=a123J;console[M(0x1e0)](M(0x1b0));},a123f);
1
+ const a123I=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=parseInt(G(0x12e))/0x1*(-parseInt(G(0x14b))/0x2)+-parseInt(G(0x117))/0x3+-parseInt(G(0x137))/0x4*(-parseInt(G(0x154))/0x5)+-parseInt(G(0x142))/0x6+parseInt(G(0x14f))/0x7+parseInt(G(0x11f))/0x8+parseInt(G(0x12a))/0x9*(parseInt(G(0x123))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x19945));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(0x145)]('(((.+)+)+)+$')[H(0x140)]()[H(0x133)](a123a)[H(0x145)]('(((.+)+)+)+$');});a123a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a123e from'../../../generators/maka.gen.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x114;let f=c[d];return f;},a123d(a,b);}import a123f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a123c(){const M=['basic-password-reset-page','kit/mui/auth/password-reset/','layouts','4SnPAJl','REACT','kit:auth:provider','injectImport','create','/imports/startup/lib/authentication-provider','options','route','appName','toString','findProjectDirectory','515214WyPxbT','kit/mui/auth/forgot-password/','.js','search','login','auth','true','injectTemplateModule','template','2qhiIrE','withValue','react','MATERIAL','28770teGiWZ','meteor','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','authType','logout','716435JYQBBL','basic-login-page','baseDir','ssr','kit/mui/auth/register/','replaceAll','213642lyeRxQ','getMakaProjectConfig','basic-logout-page','AuthContext','Meteor\x20Accounts','/imports/startup/client/authentication-provider','maka\x20generate:kit:mui:frame','basic-forgot-password-page','606312EsIbSe','processAndRunGenerator','kit:auth:meteor','engines','730Xpatfs','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','fsi','log','pathFromApp','Cleaning\x20up...','custom','6471GsIWVG','register','reset-password/:token','basic-register-page','13817veumhm','error','dir','split','maka\x20g:k:m:f','constructor'];a123c=function(){return M;};return a123c();}Generator[a123I(0x13b)]({'name':a123I(0x147),'aliases':['a'],'usage':a123I(0x151),'shortDesc':a123I(0x124),'validOpts':[a123I(0x136),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123I(0x14e)],'client':ClientEngines[a123I(0x138)]},'examples':[a123I(0x11d),a123I(0x132)],'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 J=a123I;try{const c=b['force']||![],d=this[J(0x125)][J(0x141)](),f=this[J(0x125)][J(0x118)](),{authType:g}=await Actions[J(0x13d)]({'type':'list','name':J(0x152),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':J(0x11b),'value':J(0x150)},{'name':'Custom\x20(roll\x20your\x20own)','value':J(0x129)}]}),h=J(0x155),i=J(0x119),j=J(0x12d),k=J(0x134),l=J(0x11e),m=b[J(0x156)]?'/imports/ui/'+b[J(0x156)]:'/imports/ui/pages/auth',n=this[J(0x125)][J(0x127)]({'pathParts':[m,b[J(0x130)],paramCase(h),paramCase(h)]}),o=this[J(0x125)][J(0x127)]({'pathParts':[m,b[J(0x130)],paramCase(i),paramCase(i)]}),p=this[J(0x125)][J(0x127)]({'pathParts':[m,b[J(0x130)],paramCase(j),paramCase(j)]}),q=this[J(0x125)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this['fsi'][J(0x127)]({'pathParts':[m,b['dir'],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[J(0x13f)])[J(0x116)]('-','\x20')};await this[J(0x125)][J(0x14c)](f,async()=>{const K=J;await this['fsi'][K(0x14a)]({'srcPath':'kit/mui/auth/login/'+h+K(0x144),'destPath':n+K(0x144),'framework':K(0x14d),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x125)]['template']({'srcPath':'kit/mui/auth/logout/'+i+K(0x144),'destPath':o+K(0x144),'framework':K(0x14d),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x125)]['template']({'srcPath':K(0x115)+j+K(0x144),'destPath':p+K(0x144),'framework':K(0x14d),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x125)][K(0x14a)]({'srcPath':K(0x135)+k+K(0x144),'destPath':q+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x125)][K(0x14a)]({'srcPath':K(0x143)+l+K(0x144),'destPath':r+K(0x144),'framework':K(0x14d),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b['dir']+'/'+h+'/'+h;await this[J(0x125)][J(0x149)](h,f,t);const u=''+m+b[J(0x130)]+'/'+i+'/'+i;await this[J(0x125)][J(0x149)](i,f,u);const v=''+m+b[J(0x130)]+'/'+j+'/'+j;await this[J(0x125)][J(0x149)](j,f,v);const w=''+m+b[J(0x130)]+'/'+k+'/'+k;await this[J(0x125)]['injectTemplateModule'](k,f,w);const x=''+m+b[J(0x130)]+'/'+l+'/'+l;await this[J(0x125)][J(0x149)](l,f,x),await a123e[J(0x120)](J(0x13e),['basic-login-page'],{'url':J(0x146),'cwd':d,'config':f}),await a123e[J(0x120)](J(0x13e),[J(0x119)],{'url':J(0x153),'private':!![],'cwd':d,'config':f}),await a123e[J(0x120)](J(0x13e),[J(0x12d)],{'url':J(0x12b),'cwd':d,'config':f}),await a123e[J(0x120)]('route',[J(0x134)],{'url':J(0x12c),'cwd':d,'config':f}),await a123e[J(0x120)](J(0x13e),[J(0x11e)],{'url':'forgot-password','cwd':d,'config':f});g==='meteor'&&await a123e[J(0x120)](J(0x121),[],{'force':c,'cwd':d,'config':f});g===J(0x129)&&await a123e[J(0x120)](J(0x139),[],{'force':c,'cwd':d,'config':f});const y=f[J(0x122)][J(0x114)]===J(0x148),z=f[J(0x122)]['js'],A=this[J(0x125)][J(0x127)]({'pathParts':t['split']('/')});await this[J(0x125)][J(0x13a)]({'filePath':A+'.'+z,'importName':J(0x11a),'modulePath':y?J(0x13c):J(0x11c),'isNamedExport':!![]});const B=this[J(0x125)]['pathFromApp']({'pathParts':u[J(0x131)]('/')});await this[J(0x125)][J(0x13a)]({'filePath':B+'.'+z,'importName':J(0x11a),'modulePath':y?J(0x13c):J(0x11c),'isNamedExport':!![]});const C=this[J(0x125)][J(0x127)]({'pathParts':v['split']('/')});await this['fsi'][J(0x13a)]({'filePath':C+'.'+z,'importName':J(0x11a),'modulePath':y?J(0x13c):J(0x11c),'isNamedExport':!![]});const D=this[J(0x125)][J(0x127)]({'pathParts':w[J(0x131)]('/')});await this[J(0x125)][J(0x13a)]({'filePath':D+'.'+z,'importName':J(0x11a),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[J(0x125)][J(0x127)]({'pathParts':x[J(0x131)]('/')});await this[J(0x125)][J(0x13a)]({'filePath':E+'.'+z,'importName':J(0x11a),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log[J(0x12f)](F);}},async function(){const L=a123I;console[L(0x126)](L(0x128));},a123f);
@@ -1 +1 @@
1
- const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=-parseInt(B(0x1d1))/0x1*(-parseInt(B(0x1c2))/0x2)+-parseInt(B(0x1cc))/0x3*(-parseInt(B(0x1d0))/0x4)+parseInt(B(0x1f0))/0x5+-parseInt(B(0x1bd))/0x6*(-parseInt(B(0x1c6))/0x7)+-parseInt(B(0x1ed))/0x8*(-parseInt(B(0x1f5))/0x9)+parseInt(B(0x1f4))/0xa*(-parseInt(B(0x1e5))/0xb)+-parseInt(B(0x1bb))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x4c2b4));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0x1fd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a['toString']()[D(0x1bf)](D(0x1d9))[D(0x1c5)]()['constructor'](a124a)[D(0x1bf)](D(0x1d9));});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';function a124c(){const I=['jsx','@mui/material/Box','template','-hook\x22>','true','force','/imports/ui/components','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','Cleaning\x20up...','Container','injectIntoFile','11ZmWgLX','injectImport','engines','<div\x20id=\x22','kit/mui/frame/footers/','dir','fsi','REACT','24aFifru','error','/imports/startup/client/templates','1552915VSYulF','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','baseDir','kit/mui/frame/drawers/','5687860CFuUQj','178866bscdvb','basic-drawer','appName','.js','maka:react-tracker','MATERIAL','tsx','\x20/>\x0a','apply','maka\x20generate:kit:mui:frame','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','length','test','/imports/startup/lib/templates','replaceAll','layouts','6258120UQTSkH','{this.props.children}','1734OGruvQ','{\x20this.props.children\x20}','search','log','/imports/ui/','317206jQMTsA','kit/mui/frame/app-bars/','injectAroundString','toString','7609dGJarf','checkbox','{\x20props.children\x20}','getFiles','react','{props.children}','9QwmLgF','getDirectories','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','322836hFQLXD','3SoJwDC','app-tests','pathFromApp','join','injectTemplateModule','basic-app-bar','create','withValue','(((.+)+)+)+$'];a124c=function(){return I;};return a124c();}function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1bb;let f=c[d];return f;},a124d(a,b);}import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124E(0x1d7)]({'name':'frame','aliases':['f'],'usage':a124E(0x1cf),'shortDesc':a124E(0x1f1),'validOpts':[a124E(0x204),a124E(0x1f2),a124E(0x1ea),a124E(0x1df)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0x1fa)],'client':ClientEngines[a124E(0x1ec)]},'examples':[a124E(0x1fe),'maka\x20g:k:m:f'],'description':a124E(0x1e1)},async function(a,b){const F=a124E;try{const c=b[F(0x1df)]||![],d=F(0x1d6),f=F(0x1f6),g='basic-sticky-footer',h=this[F(0x1eb)]['getMakaProjectConfig'](),i=h[F(0x1e7)]['ssr']===F(0x1de);await this['fsi']['checkMeteorPackage'](['session',F(0x1f9)],{'shouldInstall':!![]});const j=this[F(0x1eb)]['findAppDirectory'](),k=a124e[F(0x1d4)](j,'imports','ui',F(0x204)),l=this[F(0x1eb)][F(0x1cd)](k),m=await Actions['options']({'type':F(0x1c7),'name':'layouts','message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m['layouts'][F(0x200)]===0x0){Log[F(0x1ee)]('No\x20layouts\x20selected');return;}const n=b['baseDir']?F(0x1c1)+b[F(0x1f2)]:F(0x1e0),o=this['fsi'][F(0x1d3)]({'pathParts':[n,b[F(0x1ea)],paramCase(d),paramCase(d)]}),p=this[F(0x1eb)][F(0x1d3)]({'pathParts':[n,b[F(0x1ea)],paramCase(f),paramCase(f)]}),q=this[F(0x1eb)][F(0x1d3)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1f7)])[F(0x203)]('-','\x20')};await this['fsi'][F(0x1d8)](h,async()=>{const G=F;await this[G(0x1eb)]['template']({'srcPath':G(0x1c3)+d+'.js','destPath':o+G(0x1f8),'framework':G(0x1ca),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1eb)][G(0x1dc)]({'srcPath':G(0x1f3)+f+G(0x1f8),'destPath':p+G(0x1f8),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1eb)][G(0x1dc)]({'srcPath':G(0x1e9)+g+'.js','destPath':q+G(0x1f8),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x1ea)]+'/'+d+'/'+d;await this[F(0x1eb)]['injectTemplateModule'](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0x1eb)][F(0x1d5)](f,h,t);const u=''+n+b[F(0x1ea)]+'/'+g+'/'+g;await this[F(0x1eb)][F(0x1d5)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x1eb)][F(0x1c9)](a124e[F(0x1d4)](k,w),{'extensions':[F(0x1da),F(0x1fb)],'omit':[F(0x1d2),'tests',F(0x201)]});for(const y of x){const z=a124e[F(0x1d4)](k,w,y);await this[F(0x1eb)][F(0x1e6)]({'filePath':z,'importName':'Box','modulePath':F(0x1db),'isNamedExport':![]}),await this['fsi'][F(0x1e6)]({'filePath':z,'importName':F(0x1e3),'modulePath':'@mui/material/Container','isNamedExport':![]}),await this[F(0x1eb)][F(0x1e6)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x202):'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi'][F(0x1e4)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x1fc),'begin':[F(0x1e8)+w+'\x22>',F(0x1e8)+w+F(0x1dd)],'end':[F(0x1bc),F(0x1be),F(0x1cb),F(0x1c8)]}),await this[F(0x1eb)][F(0x1e6)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x202):F(0x1ef),'isNamedExport':!![]}),await this[F(0x1eb)][F(0x1e4)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x1fc),'begin':[F(0x1e8)+w+'\x22>',F(0x1e8)+w+F(0x1dd)],'end':['{this.props.children}',F(0x1be),F(0x1cb),F(0x1c8)]}),await this[F(0x1eb)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+F(0x1fc),'begin':['{this.props.children}',F(0x1be),F(0x1cb),'{\x20props.children\x20}'],'end':['</div>']}),await this[F(0x1eb)][F(0x1e6)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x202):F(0x1ef),'isNamedExport':!![]}),await this[F(0x1eb)][F(0x1c4)]({'filePath':z,'aboveContent':F(0x1ce),'belowContent':F(0x1ff),'targetString':['{this.props.children}',F(0x1be),F(0x1cb),F(0x1c8)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x1ee)](A);}},async function(){const H=a124E;console[H(0x1c0)](H(0x1e2));},a124f);
1
+ const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=parseInt(B(0x233))/0x1+parseInt(B(0x217))/0x2+parseInt(B(0x22b))/0x3+-parseInt(B(0x239))/0x4*(parseInt(B(0x22d))/0x5)+-parseInt(B(0x236))/0x6*(-parseInt(B(0x1f3))/0x7)+parseInt(B(0x222))/0x8+-parseInt(B(0x20b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x28e6e));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0x200)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a[D(0x225)]()[D(0x235)](D(0x211))['toString']()[D(0x21e)](a124a)[D(0x235)](D(0x211));});a124a();import{Generator}from'../../../generator.js';function a124c(){const I=['injectTemplateModule','-hook\x22>','injectAroundString','1560524EWpIzd','app-tests','</div>','<div\x20id=\x22','force','template','maka:react-tracker','injectImport','create','replaceAll','<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>','true','.js','apply','getMakaProjectConfig','error','\x20/>\x0a','maka\x20generate:kit:mui:frame','appName','Container','getDirectories','length','basic-sticky-footer','kit/mui/frame/drawers/','5706693QBLZHl','{\x20this.props.children\x20}','/imports/startup/lib/templates','@mui/material/Box','layouts','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','(((.+)+)+)+$','dir','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','basic-app-bar','checkMeteorPackage','/imports/startup/client/templates','373244kkkCNf','{\x20props.children\x20}','@mui/material/Container','ssr','baseDir','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','kit/mui/frame/app-bars/','constructor','/imports/ui/','tsx','withValue','2168840ZnFgYK','kit/mui/frame/footers/','react','toString','join','pathFromApp','basic-drawer','Cleaning\x20up...','No\x20layouts\x20selected','662448vaYtZN','{this.props.children}','269255ssUAQD','tests','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','session','findAppDirectory','MATERIAL','61689PMugKP','{props.children}','search','6BCLUfw','fsi','injectIntoFile','12DSglSB','jsx','engines','Box','checkbox'];a124c=function(){return I;};return a124c();}function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1f1;let f=c[d];return f;},a124d(a,b);}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';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124E(0x1fb)]({'name':'frame','aliases':['f'],'usage':a124E(0x213),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a124E(0x20f),'baseDir',a124E(0x212),a124E(0x1f7)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0x232)],'client':ClientEngines['REACT']},'examples':[a124E(0x204),'maka\x20g:k:m:f'],'description':a124E(0x210)},async function(a,b){const F=a124E;try{const c=b[F(0x1f7)]||![],d=F(0x214),f=F(0x228),g=F(0x209),h=this[F(0x237)][F(0x201)](),i=h[F(0x23b)][F(0x21a)]===F(0x1fe);await this[F(0x237)][F(0x215)]([F(0x230),F(0x1f9)],{'shouldInstall':!![]});const j=this[F(0x237)][F(0x231)](),k=a124e[F(0x226)](j,'imports','ui',F(0x20f)),l=this['fsi'][F(0x207)](k),m=await Actions['options']({'type':F(0x23d),'name':F(0x20f),'message':F(0x22f),'choices':l});if(m['layouts'][F(0x208)]===0x0){Log[F(0x202)](F(0x22a));return;}const n=b[F(0x21b)]?F(0x21f)+b[F(0x21b)]:'/imports/ui/components',o=this[F(0x237)][F(0x227)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this['fsi'][F(0x227)]({'pathParts':[n,b[F(0x212)],paramCase(f),paramCase(f)]}),q=this['fsi'][F(0x227)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x205)])[F(0x1fc)]('-','\x20')};await this[F(0x237)][F(0x221)](h,async()=>{const G=F;await this['fsi'][G(0x1f8)]({'srcPath':G(0x21d)+d+G(0x1ff),'destPath':o+G(0x1ff),'framework':G(0x224),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x1f8)]({'srcPath':G(0x20a)+f+G(0x1ff),'destPath':p+G(0x1ff),'framework':G(0x224),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x1f8)]({'srcPath':G(0x223)+g+G(0x1ff),'destPath':q+G(0x1ff),'framework':G(0x224),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x212)]+'/'+d+'/'+d;await this[F(0x237)][F(0x23e)](d,h,s);const t=''+n+b[F(0x212)]+'/'+f+'/'+f;await this[F(0x237)][F(0x23e)](f,h,t);const u=''+n+b[F(0x212)]+'/'+g+'/'+g;await this['fsi'][F(0x23e)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x237)]['getFiles'](a124e[F(0x226)](k,w),{'extensions':[F(0x23a),F(0x220)],'omit':[F(0x1f4),F(0x22e),'test']});for(const y of x){const z=a124e[F(0x226)](k,w,y);await this['fsi'][F(0x1fa)]({'filePath':z,'importName':F(0x23c),'modulePath':F(0x20e),'isNamedExport':![]}),await this[F(0x237)][F(0x1fa)]({'filePath':z,'importName':F(0x206),'modulePath':F(0x219),'isNamedExport':![]}),await this['fsi'][F(0x1fa)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x20d):F(0x216),'isNamedExport':!![]}),await this[F(0x237)][F(0x238)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x203),'begin':['<div\x20id=\x22'+w+'\x22>',F(0x1f6)+w+F(0x1f1)],'end':[F(0x22c),F(0x20c),'{props.children}','{\x20props.children\x20}']}),await this[F(0x237)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x20d):F(0x216),'isNamedExport':!![]}),await this[F(0x237)][F(0x238)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x203),'begin':[F(0x1f6)+w+'\x22>',F(0x1f6)+w+F(0x1f1)],'end':['{this.props.children}',F(0x20c),'{props.children}',F(0x218)]}),await this[F(0x237)][F(0x238)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x203),'begin':[F(0x22c),F(0x20c),F(0x234),'{\x20props.children\x20}'],'end':[F(0x1f5)]}),await this[F(0x237)][F(0x1fa)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x20d):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x237)][F(0x1f2)]({'filePath':z,'aboveContent':F(0x1fd),'belowContent':F(0x21c),'targetString':[F(0x22c),F(0x20c),'{props.children}',F(0x218)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x202)](A);}},async function(){const H=a124E;console['log'](H(0x229));},a124f);
@@ -1 +1 @@
1
- const a125i=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=parseInt(g(0x187))/0x1*(-parseInt(g(0x184))/0x2)+-parseInt(g(0x17a))/0x3+parseInt(g(0x173))/0x4*(parseInt(g(0x185))/0x5)+-parseInt(g(0x176))/0x6*(parseInt(g(0x171))/0x7)+-parseInt(g(0x189))/0x8*(parseInt(g(0x181))/0x9)+parseInt(g(0x16b))/0xa*(-parseInt(g(0x17c))/0xb)+parseInt(g(0x18a))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xd4b18));const a125b=(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;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0x178)]()[h(0x170)]('(((.+)+)+)+$')[h(0x178)]()['constructor'](a125a)[h(0x170)]('(((.+)+)+)+$');});function a125c(){const k=['findProjectDirectory','1tsgKXz','checkbox','10616sFDkHJ','38214264epDqcy','Material-UI\x20Kit','length','kitChoices','options','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','No\x20MUI\x20kits\x20selected.\x20Exiting.','30tzvQpv','create','kit:mui:auth','Header,\x20Footer,\x20and\x20Drawer','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','search','42AofyQw','frame','12MuUzbG','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','auth','639528enSLPs','notice','toString','info','1326588dlRvNv','mui','2094191sTNHFN','\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','includes','processAndRunGenerator','getMakaProjectConfig','585wlrCFo','maka\x20g:kit:m','fsi','3140398hGBEDf','1659985ZBoRql'];a125c=function(){return k;};return a125c();}a125a();function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x169;let f=c[d];return f;},a125d(a,b);}import{Generator}from'../../../generator.js';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[a125i(0x16c)]({'name':a125i(0x17b),'aliases':['m'],'usage':a125i(0x16f),'noNeedResource':!![],'shortDesc':a125i(0x18b),'validOpts':[''],'isPro':!![],'examples':[a125i(0x182)]},async function(){const j=a125i;Log['info']('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[j(0x177)](j(0x17d));const {kitChoices:a}=await Actions[j(0x18e)]({'type':j(0x188),'name':j(0x18d),'message':j(0x169),'choices':[{'name':j(0x16e),'value':j(0x172)},{'name':j(0x174),'value':j(0x175)}]}),b=this[j(0x183)][j(0x186)](),c=this['fsi'][j(0x180)]();a[j(0x17e)](j(0x172))&&await a125e[j(0x17f)]('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[j(0x17e)](j(0x175))&&await a125e[j(0x17f)](j(0x16d),[],{'force':!![],'cwd':b,'config':c});if(a[j(0x18c)]===0x0){Log[j(0x179)](j(0x16a));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(0x19b))/0x1+-parseInt(g(0x186))/0x2*(parseInt(g(0x189))/0x3)+parseInt(g(0x18a))/0x4+parseInt(g(0x17e))/0x5*(parseInt(g(0x188))/0x6)+parseInt(g(0x185))/0x7*(parseInt(g(0x198))/0x8)+-parseInt(g(0x18b))/0x9+-parseInt(g(0x190))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xa99d5));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0x194)]()[i(0x196)]('(((.+)+)+)+$')['toString']()[i(0x193)](a125a)[i(0x196)](i(0x184));});function a125c(){const l=['\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','constructor','toString','apply','search','includes','880GgjhjN','auth','findProjectDirectory','1338956nkNjdF','mui','processAndRunGenerator','frame','fsi','maka\x20g:kit:m','getMakaProjectConfig','14585fnXHAA','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','No\x20MUI\x20kits\x20selected.\x20Exiting.','kit:mui:auth','checkbox','kit:mui:frame','(((.+)+)+)+$','64288XsITyJ','2474828JxhysV','Material-UI\x20Kit','570gGPfgX','3SaAdQj','890320IPoYXd','5200965MIwEcK','info','notice','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','3388510jjGnRl','options'];a125c=function(){return l;};return a125c();}a125a();import{Generator}from'../../../generator.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x17c;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['create']({'name':a125j(0x19c),'aliases':['m'],'usage':a125j(0x18e),'noNeedResource':!![],'shortDesc':a125j(0x187),'validOpts':[''],'isPro':!![],'examples':[a125j(0x17c)]},async function(){const k=a125j;Log['info'](k(0x18f)),Log[k(0x18d)](k(0x192));const {kitChoices:a}=await Actions[k(0x191)]({'type':k(0x182),'name':'kitChoices','message':k(0x17f),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':k(0x19e)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':k(0x199)}]}),b=this[k(0x19f)][k(0x19a)](),c=this[k(0x19f)][k(0x17d)]();a['includes'](k(0x19e))&&await a125e['processAndRunGenerator'](k(0x183),[],{'force':!![],'cwd':b,'config':c});a[k(0x197)]('auth')&&await a125e[k(0x19d)](k(0x181),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[k(0x18c)](k(0x180));return;}},async function(){},a125f);export default MuiGen;
@@ -1 +1 @@
1
- const a126n=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=-parseInt(l(0x13a))/0x1*(parseInt(l(0x165))/0x2)+parseInt(l(0x147))/0x3*(-parseInt(l(0x14e))/0x4)+-parseInt(l(0x12a))/0x5*(-parseInt(l(0x163))/0x6)+-parseInt(l(0x140))/0x7+-parseInt(l(0x12d))/0x8*(-parseInt(l(0x15b))/0x9)+parseInt(l(0x12c))/0xa*(parseInt(l(0x12e))/0xb)+parseInt(l(0x138))/0xc*(parseInt(l(0x145))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x530c1));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[m(0x15d)]()[m(0x125)](m(0x139))[m(0x15d)]()['constructor'](a126a)['search'](m(0x139));});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 a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x124;let f=c[d];return f;},a126d(a,b);}const aliases=['l'];function a126c(){const q=['withTranslations','injectTemplateModule','theme','12lfJmec','(((.+)+)+)+$','305nvojVx','resourceName','features','split','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','template/template.css','4029683KsvfEs','true','pathFromProject','ssr','setTemplate','11260054FnSKjH','react','192NPGQDC','none','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','installNpmPackage','template','test/test.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','6484DXFswp','checkNpmPackage','className','.js','ramda','import\x20\x27./','warn','withValue','css','relative','includes','layout','graphql','9LaxSPy','maka\x20g:layout\x20mobile/iPhone8','toString','engines','.app-tests.js','assign','api','dir','69546JqnGqr','fsi','1268ZktyHC','injectAtBeginningOfFile','string','search','getMakaProjectConfig','withHook','fileName','/imports/ui/layouts','10VkwZns','test','50qgbcYM','1578392gAEBhZ','277871fvOqBp','create','.css','withHooks','pathFromApp','findAppDirectory','hook/hook.js'];a126c=function(){return q;};return a126c();}Generator[a126n(0x12f)]({'name':a126n(0x159),'aliases':aliases,'usage':a126n(0x13e),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a126n(0x127)],'examples':[a126n(0x15c),'maka\x20g:l\x20web/safari']},async function(a,b){const o=a126n,c=o(0x129),d=this[o(0x164)][o(0x133)](),e=this[o(0x164)][o(0x132)]({'pathParts':[c,b[o(0x162)],paramCase(b[o(0x13b)]),paramCase(b[o(0x13b)])]}),f=this['fsi'][o(0x126)]();await this[o(0x164)][o(0x155)](f,async()=>{const p=o;typeof f[p(0x14b)][p(0x12b)]===p(0x124)&&(f['template'][p(0x12b)]=f[p(0x14b)]['test']==='true'?!![]:![],this['fsi']['setTemplate'](p(0x12b),f[p(0x14b)][p(0x12b)]));typeof f[p(0x14b)][p(0x156)]===p(0x124)&&(f['template']['css']=f['template'][p(0x156)]===p(0x141)?!![]:![],this['fsi'][p(0x144)](p(0x156),f[p(0x14b)][p(0x156)]));typeof f[p(0x14b)]['js']===p(0x124)&&(f[p(0x14b)]['js']=f[p(0x14b)]['js']===p(0x141)?!![]:![],this[p(0x164)]['setTemplate']('js',f[p(0x14b)]['js']));!f[p(0x13c)]&&(f[p(0x13c)]={});const g=b['_']?b['_'][0x0][p(0x13d)](':')[0x1]:![],h=b['_']&&aliases[p(0x158)](g);h&&!this['checkNpmPackage'](p(0x152))&&(Log[p(0x154)](p(0x149)),this[p(0x164)][p(0x14a)](p(0x152),{'cwd':d}));if(h&&!this[p(0x14f)]('react')){Log[p(0x154)](p(0x14d));return;}const i={'name':pascalCase(b[p(0x13b)]),'myPath':a126e[p(0x157)](this['fsi'][p(0x142)]({}),e),'cssCaseName':paramCase(b[p(0x13b)]),'className':pascalCase(b[p(0x13b)]),'camelCaseName':camelCase(b[p(0x13b)]),'fileName':paramCase(b[p(0x13b)]),'graphql':f[p(0x15e)][p(0x15a)],'features':f[p(0x13c)],'client':f[p(0x15e)]['client'],'api':f[p(0x15e)][p(0x161)],'ssr':f[p(0x15e)][p(0x143)],'test':f[p(0x15e)][p(0x12b)],'theme':f['engines'][p(0x137)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0x13c)][p(0x135)]};f[p(0x13c)]?.[p(0x131)]||b[p(0x127)]?await this[p(0x164)]['template']({'srcPath':p(0x134),'destPath':e+p(0x151),'framework':p(0x146),'context':i,'config':f}):await this[p(0x164)]['template']({'srcPath':'component/component.js','destPath':e+p(0x151),'framework':p(0x146),'context':i,'config':f});f[p(0x15e)][p(0x12b)]!==p(0x148)&&await this[p(0x164)]['template']({'srcPath':p(0x14c),'destPath':e+p(0x15f),'framework':p(0x146),'context':i,'config':f});f['template']['css']&&(await this[p(0x164)]['template']({'srcPath':p(0x13f),'destPath':e+p(0x130),'context':Object[p(0x160)]({},i,{'className':paramCase(b[p(0x13b)])}),'config':f}),await this[p(0x164)][p(0x166)]({'filePath':e+'.'+f[p(0x15e)]['js'],'content':p(0x153)+i['fileName']+'.'+f[p(0x15e)][p(0x156)]+'\x27;'}));const j=b[p(0x162)]?'/'+b[p(0x162)]+'/':'/',k=''+c+j+i[p(0x128)]+'/'+i[p(0x128)];await this[p(0x164)][p(0x136)](i[p(0x150)],f,k);});});
1
+ function a126c(){const r=['template/template.css','template','ramda','string','className','resourceName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','fileName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','2278addIWq','maka\x20g:layout\x20mobile/iPhone8','4095335wRjJNi','ssr','true','import\x20\x27./','create','layout','/imports/ui/layouts','Scaffolding\x20for\x20a\x20React\x20Layout.','.css','react','checkNpmPackage','withHooks','engines','assign','(((.+)+)+)+$','features','fsi','pathFromProject','getMakaProjectConfig','501431KqjPDZ','constructor','pathFromApp','apply','8268790FqkKhz','split','withValue','33Sedswg','api','installNpmPackage','72280HUXvLm','6ssVBuR','.app-tests.js','.js','934UatHDf','warn','2794419uKCEtj','search','7817392NLSuzR','withHook','css','graphql','dir','injectAtBeginningOfFile','setTemplate','client','relative','test','test/test.js'];a126c=function(){return r;};return a126c();}function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x19a;let f=c[d];return f;},a126d(a,b);}const a126o=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=-parseInt(l(0x1c9))/0x1*(-parseInt(l(0x1a6))/0x2)+-parseInt(l(0x1c2))/0x3*(-parseInt(l(0x1c5))/0x4)+-parseInt(l(0x1a8))/0x5+parseInt(l(0x1c6))/0x6*(parseInt(l(0x1bb))/0x7)+-parseInt(l(0x1cd))/0x8+parseInt(l(0x1cb))/0x9+parseInt(l(0x1bf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xa4e1e));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a['toString']()[n(0x1cc)](n(0x1b6))['toString']()[n(0x1bc)](a126a)[n(0x1cc)](n(0x1b6));});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';const aliases=['l'];Generator[a126o(0x1ac)]({'name':a126o(0x1ad),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a126o(0x1af),'validOpts':[a126o(0x1ce)],'examples':[a126o(0x1a7),'maka\x20g:l\x20web/safari']},async function(a,b){const p=a126o,c=p(0x1ae),d=this[p(0x1b8)]['findAppDirectory'](),e=this[p(0x1b8)][p(0x1bd)]({'pathParts':[c,b[p(0x1d1)],paramCase(b[p(0x1a2)]),paramCase(b[p(0x1a2)])]}),f=this[p(0x1b8)][p(0x1ba)]();await this['fsi'][p(0x1c1)](f,async()=>{const q=p;typeof f[q(0x19e)][q(0x19b)]===q(0x1a0)&&(f[q(0x19e)]['test']=f['template'][q(0x19b)]===q(0x1aa)?!![]:![],this[q(0x1b8)][q(0x1d3)](q(0x19b),f[q(0x19e)][q(0x19b)]));typeof f[q(0x19e)][q(0x1cf)]===q(0x1a0)&&(f['template']['css']=f[q(0x19e)][q(0x1cf)]===q(0x1aa)?!![]:![],this[q(0x1b8)][q(0x1d3)]('css',f[q(0x19e)][q(0x1cf)]));typeof f[q(0x19e)]['js']==='string'&&(f['template']['js']=f[q(0x19e)]['js']===q(0x1aa)?!![]:![],this[q(0x1b8)][q(0x1d3)]('js',f[q(0x19e)]['js']));!f[q(0x1b7)]&&(f[q(0x1b7)]={});const g=b['_']?b['_'][0x0][q(0x1c0)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0x1b2)](q(0x19f))&&(Log[q(0x1ca)](q(0x1a5)),this[q(0x1b8)][q(0x1c4)](q(0x19f),{'cwd':d}));if(h&&!this[q(0x1b2)](q(0x1b1))){Log[q(0x1ca)](q(0x1a3));return;}const i={'name':pascalCase(b[q(0x1a2)]),'myPath':a126e[q(0x19a)](this[q(0x1b8)][q(0x1b9)]({}),e),'cssCaseName':paramCase(b[q(0x1a2)]),'className':pascalCase(b[q(0x1a2)]),'camelCaseName':camelCase(b[q(0x1a2)]),'fileName':paramCase(b[q(0x1a2)]),'graphql':f[q(0x1b4)][q(0x1d0)],'features':f['features'],'client':f['engines'][q(0x1d4)],'api':f[q(0x1b4)][q(0x1c3)],'ssr':f[q(0x1b4)][q(0x1a9)],'test':f[q(0x1b4)]['test'],'theme':f[q(0x1b4)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1b7)]['withTranslations']};f[q(0x1b7)]?.[q(0x1b3)]||b[q(0x1ce)]?await this[q(0x1b8)][q(0x19e)]({'srcPath':'hook/hook.js','destPath':e+q(0x1c8),'framework':q(0x1b1),'context':i,'config':f}):await this['fsi'][q(0x19e)]({'srcPath':'component/component.js','destPath':e+q(0x1c8),'framework':q(0x1b1),'context':i,'config':f});f[q(0x1b4)][q(0x19b)]!=='none'&&await this['fsi'][q(0x19e)]({'srcPath':q(0x19c),'destPath':e+q(0x1c7),'framework':q(0x1b1),'context':i,'config':f});f[q(0x19e)]['css']&&(await this[q(0x1b8)]['template']({'srcPath':q(0x19d),'destPath':e+q(0x1b0),'context':Object[q(0x1b5)]({},i,{'className':paramCase(b[q(0x1a2)])}),'config':f}),await this[q(0x1b8)][q(0x1d2)]({'filePath':e+'.'+f[q(0x1b4)]['js'],'content':q(0x1ab)+i['fileName']+'.'+f['engines']['css']+'\x27;'}));const j=b['dir']?'/'+b[q(0x1d1)]+'/':'/',k=''+c+j+i['fileName']+'/'+i[q(0x1a4)];await this[q(0x1b8)]['injectTemplateModule'](i[q(0x1a1)],f,k);});});
@@ -1 +1 @@
1
- const a127i=a127d;function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x116;let f=c[d];return f;},a127d(a,b);}function a127c(){const j=['maka\x20g:package\x20package:name','maka\x20generate:scaffold\x20todos','2398mbXbGR','716YbKWeB','50OKAjma','maka\x20g:api\x20trucks','apply','77536BUHqOJ','maka\x20g:scaffold\x20todos','(((.+)+)+)+$','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:dbc\x20geoserver\x20--type=pgsql','5071PruuHm','293108bPoyzs','9VAZzIW','maka\x20{generate,\x20g}:<generator>\x20<name>','generate','1580886fiUDxT','maka\x20g:template\x20todos/todo_item','16420YJfZGK','1668480Pkvuwc','maka\x20g:route\x20todos/edit','search','toString','639597cIOzsd'];a127c=function(){return j;};return a127c();}(function(a,b){const f=a127d,c=a();while(!![]){try{const d=-parseInt(f(0x122))/0x1*(parseInt(f(0x123))/0x2)+-parseInt(f(0x118))/0x3+-parseInt(f(0x12d))/0x4*(-parseInt(f(0x124))/0x5)+parseInt(f(0x11b))/0x6+parseInt(f(0x11f))/0x7+-parseInt(f(0x127))/0x8*(-parseInt(f(0x12e))/0x9)+parseInt(f(0x11a))/0xa*(parseInt(f(0x12c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x76065));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a[h(0x11e)]()[h(0x11d)](h(0x129))['toString']()['constructor'](a127a)['search'](h(0x129));});a127a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a127i(0x117),'aliases':['g'],'usage':a127i(0x116),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0x12a),'examples':[a127i(0x121),a127i(0x128),a127i(0x119),a127i(0x120),a127i(0x11c),a127i(0x125),a127i(0x12b)]},function(){});export default MakaGen;
1
+ const a127i=a127d;(function(a,b){const f=a127d,c=a();while(!![]){try{const d=parseInt(f(0x1d3))/0x1+parseInt(f(0x1c1))/0x2+-parseInt(f(0x1c7))/0x3*(parseInt(f(0x1cd))/0x4)+parseInt(f(0x1ca))/0x5*(parseInt(f(0x1c9))/0x6)+parseInt(f(0x1ce))/0x7+parseInt(f(0x1cf))/0x8*(parseInt(f(0x1be))/0x9)+-parseInt(f(0x1c2))/0xa*(parseInt(f(0x1d1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xd918f));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a[h(0x1bf)]()['search'](h(0x1cc))['toString']()[h(0x1d2)](a127a)['search'](h(0x1cc));});a127a();function a127c(){const j=['1281112GYSDBw','maka\x20g:scaffold\x20todos','23715INhvXA','toString','maka\x20{generate,\x20g}:<generator>\x20<name>','3329526abSxQq','5717590chjPzW','maka\x20generate:scaffold\x20todos','maka\x20g:dbc\x20geoserver\x20--type=pgsql','apply','Scaffold\x20various\x20parts\x20of\x20your\x20application','99ksZtRF','maka\x20g:template\x20todos/todo_item','241572WAoOqK','85SsdKHE','maka\x20g:route\x20todos/edit','(((.+)+)+)+$','112912hbgrjr','9133208ggJhXp','2696YpXbNd','maka\x20g:package\x20package:name','77CAGHSK','constructor'];a127c=function(){return j;};return a127c();}function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a127d(a,b);}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a127i(0x1c0),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0x1c6),'examples':[a127i(0x1c3),a127i(0x1bd),a127i(0x1c8),a127i(0x1d0),a127i(0x1cb),'maka\x20g:api\x20trucks',a127i(0x1c4)]},function(){});export default MakaGen;
@@ -1 +1 @@
1
- const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(0x118))/0x1+-parseInt(j(0x110))/0x2+-parseInt(j(0x10d))/0x3*(-parseInt(j(0x12c))/0x4)+parseInt(j(0x113))/0x5*(-parseInt(j(0x10b))/0x6)+parseInt(j(0x117))/0x7*(parseInt(j(0x128))/0x8)+parseInt(j(0x129))/0x9+-parseInt(j(0x108))/0xa*(-parseInt(j(0x11c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x1a408));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x12f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a['toString']()['search'](l(0x12e))[l(0x11d)]()[l(0x119)](a128a)[l(0x121)]('(((.+)+)+)+$');});function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x108;let f=c[d];return f;},a128d(a,b);}function a128c(){const p=['ddp-rate-limiter','import\x20\x27./methods','30tILnCS','engines','264399OIsoVo','index.','maka\x20{generate,\x20g}:{method,\x20m}\x20name','424832HUzxbf','dir','error','41780CeGCCZ','injectAtEndOfFile','getMakaProjectConfig','appPathPrefix','4375KfYWPZ','209989zujKig','constructor','withValue','-rpc-method\x27;','1778623qPXclj','toString','-rpc-method.','maka\x20g:method\x20todos','create','search','maka:check','methods','method/method.js','startup','checkMeteorPackage','template','1912eNhIEX','1552608vugqRi','imports','resourceName','4kjGPaV','tsx','(((.+)+)+)+$','apply','fsi','10WeaRhC'];a128c=function(){return p;};return a128c();}a128a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a128m(0x120)]({'name':'method','aliases':['m'],'usage':a128m(0x10f),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':['dir'],'examples':[a128m(0x11f)]},async function(a,b){const n=a128m;try{const c=this['fsi'][n(0x115)]();await this[n(0x130)][n(0x11a)](c,async()=>{const o=n,d=paramCase(b[o(0x12b)]),f={'name':b[o(0x12b)],'fileName':d,'className':pascalCase(b[o(0x12b)]),'camelCase':camelCase(b[o(0x12b)]),'noRename':!![]};let g='js';c[o(0x10c)]['js']===o(0x12d)&&(g='ts');await this[o(0x130)][o(0x126)]([o(0x122),o(0x109),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x130)][o(0x127)]({'srcPath':o(0x124),'destPath':this[o(0x130)]['pathFromApp']({'pathParts':[o(0x12a),'startup',b[o(0x116)],o(0x123),b[o(0x111)],d+o(0x11e)+g]}),'context':f,'config':c});const h=b[o(0x111)]?'/'+b[o(0x111)]+'/':'/',i=this[o(0x130)]['pathFromApp']({'pathParts':[o(0x12a),o(0x125),b[o(0x116)],o(0x10e)+c[o(0x10c)]['js']]});await this[o(0x130)][o(0x114)]({'filePath':i,'content':o(0x10a)+h+d+o(0x11b)});});}catch(d){Log[n(0x112)](d);}});
1
+ const a128l=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0x1cc))/0x1+parseInt(j(0x1d9))/0x2+-parseInt(j(0x1dc))/0x3+-parseInt(j(0x1e0))/0x4+-parseInt(j(0x1d3))/0x5*(-parseInt(j(0x1c3))/0x6)+parseInt(j(0x1c9))/0x7+-parseInt(j(0x1e1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x6b8db));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const k=a128d;return a128a['toString']()[k(0x1c5)]('(((.+)+)+)+$')[k(0x1d0)]()[k(0x1dd)](a128a)['search']('(((.+)+)+)+$');});a128a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a128c(){const o=['551442JfifhS','-rpc-method\x27;','search','import\x20\x27./methods','mdg:validated-method','checkMeteorPackage','3044279vlTirJ','create','withValue','500696xfYvQM','injectAtEndOfFile','startup','dir','toString','method','fsi','35cAExPf','template','resourceName','appPathPrefix','method/method.js','maka\x20g:method\x20todos','985588OsHyJM','getMakaProjectConfig','error','759924JUvJLy','constructor','methods','maka:check','2350932NIDVJZ','6321248TpTCCK','imports','tsx','pathFromApp','engines'];a128c=function(){return o;};return a128c();}function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a128d(a,b);}Generator[a128l(0x1ca)]({'name':a128l(0x1d1),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a128l(0x1cf)],'examples':[a128l(0x1d8)]},async function(a,b){const m=a128l;try{const c=this[m(0x1d2)][m(0x1da)]();await this[m(0x1d2)][m(0x1cb)](c,async()=>{const n=m,d=paramCase(b[n(0x1d5)]),f={'name':b[n(0x1d5)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[n(0x1d5)]),'noRename':!![]};let g='js';c[n(0x1e5)]['js']===n(0x1e3)&&(g='ts');await this[n(0x1d2)][n(0x1c8)]([n(0x1df),'ddp-rate-limiter',n(0x1c7)],{'shouldInstall':!![]}),await this[n(0x1d2)][n(0x1d4)]({'srcPath':n(0x1d7),'destPath':this[n(0x1d2)][n(0x1e4)]({'pathParts':[n(0x1e2),n(0x1ce),b[n(0x1d6)],n(0x1de),b['dir'],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[n(0x1cf)]?'/'+b[n(0x1cf)]+'/':'/',i=this['fsi'][n(0x1e4)]({'pathParts':['imports','startup',b['appPathPrefix'],'index.'+c[n(0x1e5)]['js']]});await this['fsi'][n(0x1cd)]({'filePath':i,'content':n(0x1c6)+h+d+n(0x1c4)});});}catch(d){Log[m(0x1db)](d);}});
@@ -1 +1 @@
1
- function a129c(){const r=['(((.+)+)+)+$','1385AkmZrp','create','177317GaNYvG','package','tests/client','11511088bRrVJU','/package.js','2096361StEouH','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','170GXmgAm','6ofiyUr','constructor','noRename','toString','7792040XhkCXd','packages','features','/client/','27gVGQNe','relative','pathFromAppWithNoReWrite','search','tests/server','pathFromApp','store','2698085xqhRdF','template','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','hasOwnProperty','ssr','639956LXcfQA','engines','client','maka\x20g:package\x20todos:package','apply','withValue','dir','getMakaProjectConfig','template/template.js','pathFromProject','fsi','package/','resourceName','lib','package.js'];a129c=function(){return r;};return a129c();}const a129o=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=parseInt(l(0x1c3))/0x1*(-parseInt(l(0x1cc))/0x2)+-parseInt(l(0x1ca))/0x3+parseInt(l(0x1b3))/0x4+parseInt(l(0x1dc))/0x5+parseInt(l(0x1cd))/0x6*(parseInt(l(0x1c5))/0x7)+-parseInt(l(0x1c8))/0x8+parseInt(l(0x1d5))/0x9*(parseInt(l(0x1d1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xc50ef));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0x1d0)]()[n(0x1d8)](n(0x1c2))[n(0x1d0)]()[n(0x1ce)](a129a)[n(0x1d8)]('(((.+)+)+)+$');});a129a();import a129e from'path';import{Generator}from'../generator.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a129d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a129o(0x1c4)]({'name':a129o(0x1c6),'aliases':['p'],'usage':a129o(0x1cb),'shortDesc':a129o(0x1de),'validOpts':[a129o(0x1b9)],'examples':[a129o(0x1b6)]},async function(a,b){const p=a129o,c=paramCase(b['resourceName']),d=this[p(0x1bd)][p(0x1da)]({'pathParts':['packages',b[p(0x1b9)],c]}),e=this[p(0x1bd)][p(0x1d7)]({'pathParts':[p(0x1d2),b['dir'],c,p(0x1c1)]}),f=this[p(0x1bd)][p(0x1ba)]();await this[p(0x1bd)][p(0x1b8)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x1bf)]),'myPath':a129e[q(0x1d6)](this['fsi'][q(0x1bc)]({}),d),'cssCaseName':paramCase(b[q(0x1bf)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x1bf)]),'fileName':c,'client':f[q(0x1b4)][q(0x1b5)],'graphql':f['engines']['graphql'],'ssr':f['engines'][q(0x1e0)],'isComponent':b[q(0x1df)]('component'),'isLayout':b[q(0x1df)]('layout'),'isStore':b[q(0x1df)](q(0x1db)),'features':f[q(0x1d3)],'noRename':!![],'theme':f[q(0x1b4)]['theme']};await this[q(0x1bd)][q(0x1dd)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[q(0x1cf)]=![];const h=d+q(0x1d4)+c+'.js';await this['fsi'][q(0x1dd)]({'srcPath':q(0x1bb),'destPath':h,'context':g,'config':f});const i=[q(0x1c0),'server',q(0x1c7),q(0x1d9)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0x1bd)][q(0x1dd)]({'srcPath':q(0x1be)+j+q(0x1c9),'destPath':k,'context':g,'config':f});}});});
1
+ function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x75;let f=c[d];return f;},a129d(a,b);}const a129o=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=parseInt(l(0x7a))/0x1*(-parseInt(l(0x82))/0x2)+-parseInt(l(0x79))/0x3*(parseInt(l(0x85))/0x4)+-parseInt(l(0x9a))/0x5+-parseInt(l(0x8e))/0x6+-parseInt(l(0x93))/0x7+parseInt(l(0x94))/0x8*(-parseInt(l(0xa2))/0x9)+-parseInt(l(0x80))/0xa*(-parseInt(l(0x8c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x20daa));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0x7c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0x8f)]()[n(0x92)](n(0x99))[n(0x8f)]()[n(0x7f)](a129a)['search'](n(0x99));});a129a();function a129c(){const r=['pathFromAppWithNoReWrite','lib','.js','tests/client','44825tXerlp','pathFromProject','33978HaKIDU','toString','fsi','features','search','791406rstapW','9616pSCBWS','packages','template/template.js','package.js','layout','(((.+)+)+)+$','220870CZRFGq','hasOwnProperty','package/package.js','template','dir','tests/server','package','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','1818uEnkCD','getMakaProjectConfig','server','maka\x20g:package\x20todos:package','package/','withValue','34410UQUajB','1DMpbwS','engines','apply','resourceName','/package.js','constructor','1840XcQoUY','relative','396122qfMYnu','graphql','noRename','4dADUBC','ssr','theme'];a129c=function(){return r;};return a129c();}import a129e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a129o(0xa0),'aliases':['p'],'usage':a129o(0xa1),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a129o(0x9e)],'examples':[a129o(0x76)]},async function(a,b){const p=a129o,c=paramCase(b[p(0x7d)]),d=this[p(0x90)]['pathFromApp']({'pathParts':[p(0x95),b[p(0x9e)],c]}),e=this[p(0x90)][p(0x88)]({'pathParts':[p(0x95),b[p(0x9e)],c,p(0x97)]}),f=this['fsi'][p(0xa3)]();await this[p(0x90)][p(0x78)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x7d)]),'myPath':a129e[q(0x81)](this['fsi'][q(0x8d)]({}),d),'cssCaseName':paramCase(b[q(0x7d)]),'className':pascalCase(b[q(0x7d)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f['engines']['client'],'graphql':f[q(0x7b)][q(0x83)],'ssr':f[q(0x7b)][q(0x86)],'isComponent':b[q(0x9b)]('component'),'isLayout':b['hasOwnProperty'](q(0x98)),'isStore':b['hasOwnProperty']('store'),'features':f[q(0x91)],'noRename':!![],'theme':f[q(0x7b)][q(0x87)]};await this[q(0x90)]['template']({'srcPath':q(0x9c),'destPath':e,'context':g,'config':f}),g[q(0x84)]=![];const h=d+'/client/'+c+'.js';await this['fsi'][q(0x9d)]({'srcPath':q(0x96),'destPath':h,'context':g,'config':f});const i=[q(0x89),q(0x75),q(0x8b),q(0x9f)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x8a);await this['fsi'][q(0x9d)]({'srcPath':q(0x77)+j+q(0x7e),'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(0xcc))/0x1*(parseInt(j(0x94))/0x2)+parseInt(j(0x8d))/0x3*(-parseInt(j(0x99))/0x4)+-parseInt(j(0xc5))/0x5*(parseInt(j(0xa4))/0x6)+-parseInt(j(0xa7))/0x7+parseInt(j(0xc3))/0x8*(parseInt(j(0xa5))/0x9)+parseInt(j(0x9e))/0xa+-parseInt(j(0xb0))/0xb*(-parseInt(j(0x8c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xca836));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a[l(0xdd)]()[l(0xa1)](l(0xab))[l(0xdd)]()[l(0xd7)](a130a)['search']('(((.+)+)+)+$');});a130a();function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x8c;let f=c[d];return f;},a130d(a,b);}function a130c(){const p=['hooks','.html','template/template.html','\x27;\x0a','html','import\x20\x27./','page','features','88576GbqVhz','engines','5WiRgsV','component/component.js','vanilla','route','true','dir','getMakaProjectConfig','1230171dOvXNu','hook/hook.js','create','setTemplate','react','components','test/test.js','theme','.js','checkNpmPackage','warn','constructor','injectTemplateModule','pathFromProject','pathFromApp','relative','layouts','toString','30069084UDawQb','48516SRZvPu','graphql','fileName','client','className','withHook','/imports/ui/pages','2xbpjgR','ramda','hasOwnProperty','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','Updating\x20npm\x20packages\x20...','4gmGUub','api','injectAtBeginningOfFile','assign','/imports/ui/','10268770iLENNG','root','pages','search','css','none','7250226PUpihZ','828YatfOK','withTranslations','8869350hYFnvd','maka\x20g:page\x20todos/todos-item','test','.app-tests.js','(((.+)+)+)+$','processAndRunGenerator','installNpmPackage','template/template.css','Generate\x20a\x20page.','11IQoyjq','string','fsi','findAppDirectory','withHooks','baseDir','template','component','withValue','apply','resourceName'];a130c=function(){return p;};return a130c();}import a130e from'path';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(0xce)]({'name':a130m(0xc1),'aliases':aliases,'usage':a130m(0x97),'shortDesc':a130m(0xaf),'validOpts':[{'name':'baseDir','values':[a130m(0xbb),a130m(0xd1),a130m(0xa0),a130m(0xdc)]},{'name':a130m(0x92),'boolFlag':!![]}],'examples':[a130m(0xa8)]},async function(a,b){const n=a130m,c=b[n(0xb5)]?n(0x9d)+b[n(0xb5)]:n(0x93),d=this[n(0xb2)][n(0xb3)](),e=this[n(0xb2)][n(0xda)]({'pathParts':[c,b[n(0xca)],paramCase(b[n(0xba)]),paramCase(b['resourceName'])]}),f=this[n(0xb2)][n(0xcb)]();let g='';return await this[n(0xb2)][n(0xb8)](f,async()=>{const o=n;typeof f['template'][o(0xbf)]==='string'&&(f['template'][o(0xbf)]=f[o(0xb6)][o(0xbf)]==='true'?!![]:![],this[o(0xb2)]['setTemplate'](o(0xbf),f['template'][o(0xbf)]));typeof f[o(0xb6)][o(0xa9)]==='string'&&(f[o(0xb6)][o(0xa9)]=f[o(0xb6)][o(0xa9)]===o(0xc9)?!![]:![],this[o(0xb2)]['setTemplate'](o(0xa9),f['template'][o(0xa9)]));typeof f['template'][o(0xa2)]==='string'&&(f[o(0xb6)][o(0xa2)]=f[o(0xb6)][o(0xa2)]===o(0xc9)?!![]:![],this[o(0xb2)][o(0xcf)](o(0xa2),f[o(0xb6)]['css']));typeof f['template']['js']===o(0xb1)&&(f[o(0xb6)]['js']=f[o(0xb6)]['js']===o(0xc9)?!![]:![],this['fsi'][o(0xcf)]('js',f['template']['js']));!f['features']&&(f[o(0xc2)]={});!b[o(0x9f)]&&!this[o(0xb2)][o(0xd5)]('ramda')&&(Log[o(0xd6)](o(0x98)),this[o(0xb2)][o(0xad)](o(0x95),{'cwd':d}));const h={'name':pascalCase(b[o(0xba)]),'myPath':a130e[o(0xdb)](this[o(0xb2)][o(0xd9)]({}),e),'cssCaseName':paramCase(b[o(0xba)]),'className':pascalCase(b[o(0xba)]),'camelCaseName':camelCase(b[o(0xba)]),'fileName':paramCase(b[o(0xba)]),'graphql':f[o(0xc4)][o(0x8e)],'features':f['features'],'client':f[o(0xc4)][o(0x90)],'api':f[o(0xc4)][o(0x9a)],'ssr':f[o(0xc4)]['ssr'],'isStore':b['hasOwnProperty']('store'),'isComponent':b['hasOwnProperty'](o(0xb7)),'isLayout':b[o(0x96)]('layout'),'withTranslations':f[o(0xc2)][o(0xa6)],'test':f[o(0xc4)]['test'],'theme':f[o(0xc4)][o(0xd3)]};f[o(0xb6)][o(0xbf)]&&await this['fsi']['template']({'srcPath':o(0xbd),'destPath':e+o(0xbc),'context':h,'config':f});f['features']?.[o(0xb4)]||b[o(0x92)]?await this[o(0xb2)][o(0xb6)]({'srcPath':o(0xcd),'destPath':e+'.js','framework':'react','context':h,'config':f}):await this[o(0xb2)][o(0xb6)]({'srcPath':o(0xc6),'destPath':e+o(0xd4),'framework':o(0xd0),'context':h,'config':f});f[o(0xc4)]['test']!==o(0xa3)&&await this[o(0xb2)][o(0xb6)]({'srcPath':o(0xd2),'destPath':e+o(0xaa),'framework':o(0xd0),'context':h,'config':f});f[o(0xb6)]['css']&&await this[o(0xb2)][o(0xb6)]({'srcPath':o(0xae),'destPath':e+'.css','context':Object[o(0x9c)]({},h,{'className':paramCase(b[o(0xba)])}),'config':f});f[o(0xc4)][o(0x90)]!==o(0xd0)&&f[o(0xc4)][o(0x90)]!==o(0xc7)?(f[o(0xb6)][o(0xa2)]&&await this[o(0xb2)][o(0x9b)]({'filePath':e+'.'+f['engines']['js'],'content':o(0xc0)+h[o(0x8f)]+'.'+f[o(0xc4)][o(0xbf)]+o(0xbe)+o(0xc0)+h[o(0x8f)]+'.'+f[o(0xc4)][o(0xa2)]+'\x27;'}),!f['template'][o(0xa2)]&&await this['fsi'][o(0x9b)]({'filePath':e+'.'+f[o(0xc4)]['js'],'content':'import\x20\x27./'+h[o(0x8f)]+'.'+f[o(0xc4)][o(0xbf)]+'\x27;'})):f['template']['css']&&await this[o(0xb2)][o(0x9b)]({'filePath':e+'.'+f[o(0xc4)]['js'],'content':o(0xc0)+h[o(0x8f)]+'.'+f['engines'][o(0xa2)]+'\x27;'});const i=b[o(0xca)]?'/'+b[o(0xca)]+'/':'/';g=''+c+i+h['fileName']+'/'+h['fileName'],await this[o(0xb2)][o(0xd8)](h[o(0x91)],f,g),!b[o(0x9f)]&&await a130f[o(0xac)](o(0xc8),[i+b[o(0xba)]],b);}),g+'.'+f[n(0xc4)]['js'];});
1
+ const a130l=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=parseInt(j(0xec))/0x1*(-parseInt(j(0xee))/0x2)+-parseInt(j(0xdc))/0x3+parseInt(j(0xd2))/0x4*(parseInt(j(0xde))/0x5)+-parseInt(j(0xca))/0x6*(parseInt(j(0xdd))/0x7)+-parseInt(j(0xce))/0x8*(parseInt(j(0xf4))/0x9)+-parseInt(j(0xe1))/0xa+parseInt(j(0xc5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x8deae));function a130c(){const o=['template/template.html','vanilla','withTranslations','features','resourceName','api','/imports/ui/pages','maka\x20g:page\x20todos/todos-item','template','findAppDirectory','.css','processAndRunGenerator','create','38559125OVvjaK','withHook','fileName','hook/hook.js','react','184638JYBAiC','.html','toString','getMakaProjectConfig','136vLOOit','root','pathFromProject','baseDir','8fTxDhj','pages','true','theme','injectAtBeginningOfFile','template/template.css','withValue','component/component.js','component','dir','2633178NQbqys','147WiuitO','1899305hEfzub','graphql','css','3754730UifViR','pathFromApp','test/test.js','search','installNpmPackage','hasOwnProperty','setTemplate','.js','\x27;\x0a','html','string','952LVoUmz','route','2222QnRxWr','page','layout','client','import\x20\x27./','fsi','384723mGQEIl','(((.+)+)+)+$','withHooks','layouts','test','Updating\x20npm\x20packages\x20...','engines'];a130c=function(){return o;};return a130c();}const a130b=(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;};}()),a130a=a130b(this,function(){const k=a130d;return a130a[k(0xcc)]()[k(0xe4)](k(0xf5))[k(0xcc)]()['constructor'](a130a)[k(0xe4)](k(0xf5));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a130f from'../generators/maka.gen.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xc0;let f=c[d];return f;},a130d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a130l(0xc4)]({'name':a130l(0xef),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a130l(0xd1),'values':['hooks','components',a130l(0xd3),a130l(0xf7)]},{'name':a130l(0xc6),'boolFlag':!![]}],'examples':[a130l(0x102)]},async function(a,b){const m=a130l,c=b[m(0xd1)]?'/imports/ui/'+b[m(0xd1)]:m(0x101),d=this['fsi'][m(0xc1)](),e=this['fsi'][m(0xe2)]({'pathParts':[c,b['dir'],paramCase(b[m(0xff)]),paramCase(b[m(0xff)])]}),f=this[m(0xf3)][m(0xcd)]();let g='';return await this[m(0xf3)][m(0xd8)](f,async()=>{const n=m;typeof f['template'][n(0xea)]===n(0xeb)&&(f[n(0xc0)][n(0xea)]=f[n(0xc0)]['html']===n(0xd4)?!![]:![],this['fsi'][n(0xe7)](n(0xea),f[n(0xc0)][n(0xea)]));typeof f[n(0xc0)][n(0xf8)]===n(0xeb)&&(f['template']['test']=f[n(0xc0)]['test']===n(0xd4)?!![]:![],this[n(0xf3)][n(0xe7)](n(0xf8),f[n(0xc0)][n(0xf8)]));typeof f[n(0xc0)]['css']===n(0xeb)&&(f[n(0xc0)]['css']=f[n(0xc0)]['css']===n(0xd4)?!![]:![],this[n(0xf3)][n(0xe7)]('css',f[n(0xc0)]['css']));typeof f[n(0xc0)]['js']===n(0xeb)&&(f[n(0xc0)]['js']=f[n(0xc0)]['js']===n(0xd4)?!![]:![],this[n(0xf3)][n(0xe7)]('js',f[n(0xc0)]['js']));!f['features']&&(f['features']={});!b[n(0xcf)]&&!this[n(0xf3)]['checkNpmPackage']('ramda')&&(Log['warn'](n(0xf9)),this['fsi'][n(0xe5)]('ramda',{'cwd':d}));const h={'name':pascalCase(b[n(0xff)]),'myPath':a130e['relative'](this[n(0xf3)][n(0xd0)]({}),e),'cssCaseName':paramCase(b[n(0xff)]),'className':pascalCase(b[n(0xff)]),'camelCaseName':camelCase(b[n(0xff)]),'fileName':paramCase(b[n(0xff)]),'graphql':f['engines'][n(0xdf)],'features':f['features'],'client':f[n(0xfa)][n(0xf1)],'api':f[n(0xfa)][n(0x100)],'ssr':f[n(0xfa)]['ssr'],'isStore':b[n(0xe6)]('store'),'isComponent':b['hasOwnProperty'](n(0xda)),'isLayout':b[n(0xe6)](n(0xf0)),'withTranslations':f[n(0xfe)][n(0xfd)],'test':f[n(0xfa)][n(0xf8)],'theme':f['engines'][n(0xd5)]};f['template']['html']&&await this[n(0xf3)][n(0xc0)]({'srcPath':n(0xfb),'destPath':e+n(0xcb),'context':h,'config':f});f[n(0xfe)]?.[n(0xf6)]||b[n(0xc6)]?await this['fsi'][n(0xc0)]({'srcPath':n(0xc8),'destPath':e+n(0xe8),'framework':n(0xc9),'context':h,'config':f}):await this[n(0xf3)][n(0xc0)]({'srcPath':n(0xd9),'destPath':e+n(0xe8),'framework':'react','context':h,'config':f});f[n(0xfa)][n(0xf8)]!=='none'&&await this[n(0xf3)][n(0xc0)]({'srcPath':n(0xe3),'destPath':e+'.app-tests.js','framework':n(0xc9),'context':h,'config':f});f['template'][n(0xe0)]&&await this[n(0xf3)][n(0xc0)]({'srcPath':n(0xd7),'destPath':e+n(0xc2),'context':Object['assign']({},h,{'className':paramCase(b[n(0xff)])}),'config':f});f['engines'][n(0xf1)]!==n(0xc9)&&f[n(0xfa)][n(0xf1)]!==n(0xfc)?(f[n(0xc0)][n(0xe0)]&&await this[n(0xf3)][n(0xd6)]({'filePath':e+'.'+f[n(0xfa)]['js'],'content':n(0xf2)+h[n(0xc7)]+'.'+f[n(0xfa)]['html']+n(0xe9)+n(0xf2)+h[n(0xc7)]+'.'+f[n(0xfa)][n(0xe0)]+'\x27;'}),!f['template'][n(0xe0)]&&await this[n(0xf3)][n(0xd6)]({'filePath':e+'.'+f[n(0xfa)]['js'],'content':n(0xf2)+h[n(0xc7)]+'.'+f['engines'][n(0xea)]+'\x27;'})):f[n(0xc0)]['css']&&await this[n(0xf3)][n(0xd6)]({'filePath':e+'.'+f[n(0xfa)]['js'],'content':n(0xf2)+h[n(0xc7)]+'.'+f[n(0xfa)][n(0xe0)]+'\x27;'});const i=b['dir']?'/'+b[n(0xdb)]+'/':'/';g=''+c+i+h['fileName']+'/'+h[n(0xc7)],await this[n(0xf3)]['injectTemplateModule'](h['className'],f,g),!b['root']&&await a130f[n(0xc3)](n(0xed),[i+b[n(0xff)]],b);}),g+'.'+f[m(0xfa)]['js'];});
@@ -1 +1 @@
1
- function a131c(){const s=['globalPublish','server','publish','index.','create','dir','7DWhknd','1811562AjgKsP','baseDir','withValue','3114712zTtqxa','pathFromApp','tsx','599231PxVnWF','resourceName','5825490zEXSSl','3157610RbsKMp','/imports/startup/server/publications','apply','/imports/ui/','3PoiOpD','search','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','2439172RszlWT','startup','getMakaProjectConfig','injectAtEndOfFile','fsi','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','10133343RhRCFH','engines','maka\x20g:publish\x20todos','toString','force','import\x20\x27./publications','imports','(((.+)+)+)+$'];a131c=function(){return s;};return a131c();}const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=parseInt(m(0x18d))/0x1+parseInt(m(0x187))/0x2+parseInt(m(0x16f))/0x3*(-parseInt(m(0x172))/0x4)+-parseInt(m(0x190))/0x5+parseInt(m(0x18f))/0x6+-parseInt(m(0x186))/0x7*(-parseInt(m(0x18a))/0x8)+-parseInt(m(0x178))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x79968));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a[o(0x17b)]()['search'](o(0x17f))[o(0x17b)]()['constructor'](a131a)[o(0x170)]('(((.+)+)+)+$');});a131a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x16e;let f=c[d];return f;},a131d(a,b);}Generator[a131p(0x184)]({'name':a131p(0x182),'aliases':['p'],'usage':a131p(0x177),'shortDesc':a131p(0x171),'validOpts':[a131p(0x17c),'globalPublish'],'examples':[a131p(0x17a)]},async function(a,b){const q=a131p;try{const c=b[q(0x17c)]||![],d=b[q(0x188)]?q(0x16e)+b[q(0x188)]:q(0x191),f=this[q(0x176)][q(0x174)](),g=paramCase(b[q(0x18e)]),h=this['fsi'][q(0x18b)]({'pathParts':[d,b[q(0x185)],'',g]});let i='js';f[q(0x179)]['js']===q(0x18c)&&(i='ts');await this[q(0x176)][q(0x189)](f,async()=>{const r=q,l={'name':b[r(0x18e)],'collection':pascalCase(b[r(0x18e)]),'noRename':!![],'globalPublish':b[r(0x180)]};await this['fsi']['template']({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0x176)][q(0x18b)]({'pathParts':[q(0x17e),q(0x173),q(0x181),b['appPathPrefix'],q(0x183)+f[q(0x179)]['js']]}),k=b[q(0x185)]?'/'+b[q(0x185)]+'/':'/';return await this[q(0x176)][q(0x175)]({'filePath':j,'content':q(0x17d)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log['error'](l),process['exit'](0x1);}});
1
+ function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xd4;let f=c[d];return f;},a131d(a,b);}const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=parseInt(m(0xf2))/0x1*(parseInt(m(0xe7))/0x2)+-parseInt(m(0xd8))/0x3+parseInt(m(0xf4))/0x4+parseInt(m(0xe2))/0x5*(-parseInt(m(0xe5))/0x6)+parseInt(m(0xee))/0x7*(-parseInt(m(0xe9))/0x8)+parseInt(m(0xe1))/0x9*(parseInt(m(0xe8))/0xa)+-parseInt(m(0xd6))/0xb*(-parseInt(m(0xf5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xded3f));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a[o(0xed)]()[o(0xdc)](o(0xda))[o(0xed)]()[o(0xec)](a131a)[o(0xdc)](o(0xda));});a131a();import{paramCase,pascalCase}from'change-case';function a131c(){const s=['8515784wyXTJB','getMakaProjectConfig','exit','constructor','toString','7EIurre','fsi','index.','startup','678rDcTSt','force','5681428Udqyss','12YJSVii','/imports/startup/server/publications','resourceName','publish/publish.js','template','17315771ntDtUT','apply','4927590QMrIzQ','tsx','(((.+)+)+)+$','engines','search','injectAtEndOfFile','publish','baseDir','appPathPrefix','117NqJYpB','25taMuMq','imports','pathFromApp','386166MSOhqi','dir','1828WTpNsv','251770Gebfty'];a131c=function(){return s;};return a131c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a131p(0xde),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[a131p(0xf3),'globalPublish'],'examples':['maka\x20g:publish\x20todos']},async function(a,b){const q=a131p;try{const c=b[q(0xf3)]||![],d=b[q(0xdf)]?'/imports/ui/'+b['baseDir']:q(0xf6),f=this[q(0xef)][q(0xea)](),g=paramCase(b[q(0xf7)]),h=this['fsi'][q(0xe4)]({'pathParts':[d,b[q(0xe6)],'',g]});let i='js';f[q(0xdb)]['js']===q(0xd9)&&(i='ts');await this[q(0xef)]['withValue'](f,async()=>{const r=q,l={'name':b['resourceName'],'collection':pascalCase(b['resourceName']),'noRename':!![],'globalPublish':b['globalPublish']};await this[r(0xef)][r(0xd5)]({'srcPath':r(0xd4),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this['fsi'][q(0xe4)]({'pathParts':[q(0xe3),q(0xf1),'server',b[q(0xe0)],q(0xf0)+f['engines']['js']]}),k=b[q(0xe6)]?'/'+b[q(0xe6)]+'/':'/';return await this[q(0xef)][q(0xdd)]({'filePath':j,'content':'import\x20\x27./publications'+k+g+'\x27;'}),h+'.'+i;}catch(l){Log['error'](l),process[q(0xeb)](0x1);}});