@maka/maka-cli 4.12.12 → 4.12.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/collection.js +1 -1
  109. package/bundle/obf/src/generators/component.js +1 -1
  110. package/bundle/obf/src/generators/config.js +1 -1
  111. package/bundle/obf/src/generators/dbc.js +1 -1
  112. package/bundle/obf/src/generators/dockerfile.js +1 -1
  113. package/bundle/obf/src/generators/hook.js +1 -1
  114. package/bundle/obf/src/generators/kits/_index.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  117. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/kit.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  127. package/bundle/obf/src/generators/layout.js +1 -1
  128. package/bundle/obf/src/generators/maka.gen.js +1 -1
  129. package/bundle/obf/src/generators/methods.js +1 -1
  130. package/bundle/obf/src/generators/package.js +1 -1
  131. package/bundle/obf/src/generators/page.js +1 -1
  132. package/bundle/obf/src/generators/publish.js +1 -1
  133. package/bundle/obf/src/generators/route.js +1 -1
  134. package/bundle/obf/src/generators/service.js +1 -1
  135. package/bundle/obf/src/generators/services/_index.js +1 -1
  136. package/bundle/obf/src/generators/services/openssl.js +1 -1
  137. package/bundle/obf/src/generators/services/translation.js +1 -1
  138. package/bundle/obf/src/maka.js +1 -1
  139. package/bundle/obf/src/tool.js +1 -1
  140. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  141. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  142. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  143. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  144. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  146. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/https/https.class.js +1 -1
  148. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  149. package/bundle/obf/src/tools/log/log.class.js +1 -1
  150. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/options/options.class.js +1 -1
  152. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  153. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  154. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  155. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  156. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  158. package/package.json +1 -1
@@ -1 +1 @@
1
- const a116r=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=parseInt(o(0x19e))/0x1*(parseInt(o(0x1c9))/0x2)+parseInt(o(0x1b8))/0x3+-parseInt(o(0x1a7))/0x4*(parseInt(o(0x1d6))/0x5)+parseInt(o(0x19b))/0x6+parseInt(o(0x1c7))/0x7+parseInt(o(0x1b0))/0x8*(-parseInt(o(0x1b7))/0x9)+-parseInt(o(0x19a))/0xa*(parseInt(o(0x1a9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x5477c));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a['toString']()[q(0x1a2)]('(((.+)+)+)+$')[q(0x1cc)]()[q(0x1c3)](a116a)['search'](q(0x198));});a116a();function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x197;let f=c[d];return f;},a116d(a,b);}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 a116c(){const u=['apply','611932nRpYbK','engines','9560507NjaEcC','injectImport','template','\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','index','injectIntoCodeBlock','REACT','384NAJfSU','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','const\x20authenticateToken','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','force','882jmBiQV','1019721NSRbgK','const\x20sendForgotPasswordEmail','exit','/imports/startup/lib','\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','findProjectDirectory','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','export\x20const\x20AuthProvider','error','\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','fsi','constructor','.js','const\x20resetPasswordWithToken','/imports/startup/client','2838003Xvhrmx','meteor/meteor','18yJtgtY','withValue','return\x20\x5c(','toString','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','getMakaProjectConfig','/imports/startup/client/authentication-service','Meteor.publish','imports','meteor','meteor/maka:react-tracker','pathFromApp','20nkMeRT','react','authentication-service','create','true','/imports/startup/lib/authentication-service','(((.+)+)+)+$','server','10pJtbrf','3518586PJvUtu','meteor/accounts-base','processAndRunGenerator','55554Ajbihm','AuthService','useTracker','Meteor','search','injectIntoFile','ssr','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20'];a116c=function(){return u;};return a116c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a116r(0x1d9)]({'name':a116r(0x1d3),'aliases':['m'],'usage':a116r(0x1be),'shortDesc':a116r(0x1b3),'validOpts':[a116r(0x1b6)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116r(0x1af)]},'description':a116r(0x1a5)},async function(a,b){const s=a116r;try{const c=b['force']||![];await this[s(0x1c2)]['checkMeteorPackage'](['accounts-password','alanning:roles'],{'shouldInstall':!![]});const d=this[s(0x1c2)][s(0x1bd)](),f=this[s(0x1c2)][s(0x1cf)](),g=f['engines'][s(0x1a4)]===s(0x1da);await a116f[s(0x19d)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0x19d)]('publish',['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x1bb):s(0x1c6),j=this['fsi'][s(0x1d5)]({'pathParts':[i,'','',s(0x1d8)]});await this[s(0x1c2)][s(0x1ca)](f,async()=>{const t=s;await this[t(0x1c2)][t(0x1ab)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0x1c4),'framework':t(0x1d7),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x1c2)][s(0x1d5)]({'pathParts':[i,'','','authentication-provider']}),l=f[s(0x1a8)]['js'];await this['fsi'][s(0x1aa)]({'filePath':k+'.'+l,'importName':s(0x19f),'modulePath':g?s(0x197):s(0x1d0),'isNamedExport':![]}),await this[s(0x1c2)][s(0x1ae)]({'filePath':k+'.'+l,'content':s(0x1c1),'begin':'const\x20authenticateUser','replace':!![]}),await this[s(0x1c2)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x1bc),'begin':s(0x1b2),'replace':!![]}),await this[s(0x1c2)][s(0x1ae)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x1c2)][s(0x1ae)]({'filePath':k+'.'+l,'content':s(0x1ce),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[s(0x1c2)][s(0x1ae)]({'filePath':k+'.'+l,'content':s(0x1b1),'begin':s(0x1b9),'replace':!![]}),await this['fsi']['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':'const\x20registerNewUser','replace':!![]}),await this[s(0x1c2)][s(0x1ae)]({'filePath':k+'.'+l,'content':s(0x1b5),'begin':s(0x1c5),'replace':!![]});g&&(await this['fsi'][s(0x1aa)]({'filePath':k+'.'+l,'importName':s(0x1a0),'modulePath':s(0x1d4),'isNamedExport':!![]}),await this[s(0x1c2)][s(0x1a3)]({'filePath':k+'.'+l,'content':s(0x1b4),'begin':s(0x1bf),'end':s(0x1cb)}));await this[s(0x1c2)][s(0x1aa)]({'filePath':h,'importName':s(0x1a1),'modulePath':s(0x1c8),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x1c2)][s(0x1ae)]({'filePath':h,'content':s(0x1cd),'begin':s(0x1d1),'replace':!![]});const m=this[s(0x1c2)][s(0x1d5)]({'pathParts':[s(0x1d2),'startup',s(0x199),s(0x1ad)]});await this[s(0x1c2)][s(0x1aa)]({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0x19c),'isNamedExport':!![]}),await this[s(0x1c2)]['injectIntoCodeBlock']({'filePath':m+'.'+l,'content':s(0x1ac),'begin':'Meteor.startup','replace':!![]});}catch(n){Log[s(0x1c0)](n),process[s(0x1ba)](0x1);}},async function(){},a116e);
1
+ const a116r=a116d;function a116c(){const u=['withValue','export\x20const\x20AuthProvider','kit/auth/service/meteor-auth-service.js','useTracker','publish','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\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','constructor','\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','meteor','meteor/meteor','9563823yEEmfJ','fsi','AuthService','checkMeteorPackage','/imports/startup/client','pathFromApp','56kjrFEY','findProjectDirectory','getMakaProjectConfig','172PESGCG','362312ibQByE','119359ZAixlq','const\x20registerNewUser','engines','toString','/imports/startup/lib','react','imports','1317qeHDme','/imports/startup/client/authentication-service','Meteor','REACT','12BUhcGh','10GvwxTX','const\x20getUserAuthorizations','meteor/accounts-base','server','const\x20sendForgotPasswordEmail','injectImport','alanning:roles','\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','4751250PRuppc','processAndRunGenerator','injectIntoCodeBlock','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','Meteor.publish','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','exit','.js','accounts-password','search','(((.+)+)+)+$','create','const\x20authenticateUser','force','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','17967983BZeEhx','apply','template','6044795ahYYfb','/imports/startup/lib/authentication-service','error','startup','ssr','const\x20authenticateToken','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','injectIntoFile','kit:auth:provider'];a116c=function(){return u;};return a116c();}(function(a,b){const o=a116d,c=a();while(!![]){try{const d=-parseInt(o(0x8e))/0x1*(parseInt(o(0x99))/0x2)+parseInt(o(0x95))/0x3*(-parseInt(o(0x8c))/0x4)+parseInt(o(0xb6))/0x5+-parseInt(o(0xa2))/0x6+-parseInt(o(0x89))/0x7*(-parseInt(o(0x8d))/0x8)+-parseInt(o(0x83))/0x9*(parseInt(o(0x9a))/0xa)+parseInt(o(0xb3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x96303));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0x91)]()['search']('(((.+)+)+)+$')[q(0x91)]()[q(0x7f)](a116a)[q(0xac)](q(0xad));});a116a();function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x7c;let f=c[d];return f;},a116d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a116e from'./auth.generator.js';import a116f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a116r(0xae)]({'name':a116r(0x81),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a116r(0xbc),'validOpts':[a116r(0xb0)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116r(0x98)]},'description':a116r(0x80)},async function(a,b){const s=a116r;try{const c=b[s(0xb0)]||![];await this[s(0x84)][s(0x86)]([s(0xab),s(0xa0)],{'shouldInstall':!![]});const d=this[s(0x84)][s(0x8a)](),f=this[s(0x84)][s(0x8b)](),g=f[s(0x90)][s(0xba)]==='true';await a116f[s(0xa3)](s(0xbe),[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0xa3)](s(0x7c),['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x92):s(0x87),j=this['fsi'][s(0x88)]({'pathParts':[i,'','','authentication-service']});await this[s(0x84)][s(0xbf)](f,async()=>{const t=s;await this[t(0x84)][t(0xb5)]({'srcPath':t(0xc1),'destPath':j+t(0xaa),'framework':t(0x93),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x84)][s(0x88)]({'pathParts':[i,'','','authentication-provider']}),l=f[s(0x90)]['js'];await this[s(0x84)]['injectImport']({'filePath':k+'.'+l,'importName':s(0x85),'modulePath':g?s(0xb7):s(0x96),'isNamedExport':![]}),await this[s(0x84)][s(0xa4)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xaf),'replace':!![]}),await this['fsi'][s(0xa4)]({'filePath':k+'.'+l,'content':s(0xb1),'begin':s(0xbb),'replace':!![]}),await this[s(0x84)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x7d),'begin':s(0x9b),'replace':!![]}),await this['fsi'][s(0xa4)]({'filePath':k+'.'+l,'content':s(0xa8),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[s(0x84)][s(0xa4)]({'filePath':k+'.'+l,'content':s(0xa6),'begin':s(0x9e),'replace':!![]}),await this['fsi'][s(0xa4)]({'filePath':k+'.'+l,'content':s(0xb2),'begin':s(0x8f),'replace':!![]}),await this[s(0x84)][s(0xa4)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20resetPasswordWithToken','replace':!![]});g&&(await this[s(0x84)][s(0x9f)]({'filePath':k+'.'+l,'importName':s(0xc2),'modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await this[s(0x84)][s(0xbd)]({'filePath':k+'.'+l,'content':s(0xa1),'begin':s(0xc0),'end':'return\x20\x5c('}));await this[s(0x84)]['injectImport']({'filePath':h,'importName':s(0x97),'modulePath':s(0x82),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x84)]['injectIntoCodeBlock']({'filePath':h,'content':s(0xa5),'begin':s(0xa7),'replace':!![]});const m=this[s(0x84)][s(0x88)]({'pathParts':[s(0x94),s(0xb9),s(0x9d),'index']});await this[s(0x84)]['injectImport']({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0x9c),'isNamedExport':!![]}),await this[s(0x84)][s(0xa4)]({'filePath':m+'.'+l,'content':s(0x7e),'begin':'Meteor.startup','replace':!![]});}catch(n){Log[s(0xb8)](n),process[s(0xa9)](0x1);}},async function(){},a116e);
@@ -1 +1 @@
1
- const a117x=a117d;function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xb9;let f=c[d];return f;},a117d(a,b);}(function(a,b){const u=a117d,c=a();while(!![]){try{const d=parseInt(u(0xe8))/0x1+parseInt(u(0xc9))/0x2*(-parseInt(u(0xbe))/0x3)+-parseInt(u(0xd3))/0x4*(parseInt(u(0xe0))/0x5)+parseInt(u(0xd9))/0x6*(parseInt(u(0xbd))/0x7)+parseInt(u(0xc1))/0x8*(parseInt(u(0xf1))/0x9)+-parseInt(u(0xdd))/0xa+parseInt(u(0xe6))/0xb*(parseInt(u(0xdc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xae1b6));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0xed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a[w(0xee)]()[w(0xc0)](w(0xd5))['toString']()[w(0xea)](a117a)[w(0xc0)](w(0xd5));});a117a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';function a117c(){const A=['useContext','apply','toString','REACT','.js','17676yspKJl','pathFromApp','appName','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','injectAroundString','123991GMheUD','3XFLXAL','</AuthProvider>','search','824BgIOtJ','/imports/startup/client/authentication-provider','withValue','/imports/startup/client','split','<Routes\x20history={history}/>','AuthProvider','react','2427116hzdIKc','error','bright','/imports/startup/client/index','AuthContext','\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','true','<AuthProvider>','ssr','<Routes\x20history={browserHistory}/>','4adloKd','fsi','(((.+)+)+)+$','create','getMakaProjectConfig','template','174oclkhj','\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','/routes','12RxWiPL','7294150bdHWnu','injectImport','/imports/startup/lib/authentication-provider','6082945ZObPKz','/imports/startup/lib','kit/auth/provider/authentication-provider.js','/imports/startup/server/index','const\x20Routes','injectIntoCodeBlock','34300574xXGnRZ','force','38501ulADdO','engines','constructor','replaceAll'];a117c=function(){return A;};return a117c();}import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117x(0xd6)]({'name':'provider','aliases':['p'],'usage':a117x(0xbb),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a117x(0xe7)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117x(0xef)]},'description':a117x(0xce)},async function(a,b){const y=a117x;try{const c=b[y(0xe7)]||![];Log[y(0xcb)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this['fsi'][y(0xd7)](),f=d[y(0xe9)][y(0xd1)]===y(0xcf),g={'name':headerCase(d[y(0xba)])[y(0xeb)]('-','\x20')},h=f?y(0xe1):y(0xc4),i=this[y(0xd4)][y(0xb9)]({'pathParts':[h,'','','authentication-provider']});await this['fsi'][y(0xc3)](d,async()=>{const z=y;await this[z(0xd4)][z(0xd8)]({'srcPath':z(0xe2),'destPath':i+z(0xf0),'framework':z(0xc8),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0xe9)]['js'],k=h+y(0xdb),l=k['split']('/'),m=this[y(0xd4)]['pathFromApp']({'pathParts':l});await this[y(0xd4)][y(0xde)]({'filePath':m+'.'+j,'importName':y(0xcd),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0xc2),'isNamedExport':!![]}),await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':y(0xec),'modulePath':y(0xc8),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][y(0xe5)]({'filePath':m+'.'+j,'content':y(0xda),'begin':[y(0xe4),'function\x20Routes'],'replace':!![]});const n=y(0xcc),o=n['split']('/'),p=this[y(0xd4)][y(0xb9)]({'pathParts':o});await this[y(0xd4)][y(0xde)]({'filePath':p+'.'+j,'importName':y(0xc7),'modulePath':f?y(0xdf):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0xd4)][y(0xbc)]({'filePath':p+'.'+j,'aboveContent':y(0xd0),'belowContent':y(0xbf),'targetString':y(0xd2),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0xe3),r=q[y(0xc5)]('/'),s=this[y(0xd4)][y(0xb9)]({'pathParts':r});await this[y(0xd4)][y(0xde)]({'filePath':s+'.'+j,'importName':y(0xc7),'modulePath':f?y(0xdf):y(0xc2),'isNamedExport':!![]}),await this['fsi'][y(0xbc)]({'filePath':s+'.'+j,'aboveContent':y(0xd0),'belowContent':y(0xbf),'targetString':y(0xc6),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0xca)](t),process['exit'](0x1);}},async function(){},a117e);
1
+ const a117x=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=parseInt(u(0x209))/0x1+-parseInt(u(0x203))/0x2*(-parseInt(u(0x202))/0x3)+parseInt(u(0x1e7))/0x4+parseInt(u(0x1fc))/0x5+-parseInt(u(0x1e3))/0x6+parseInt(u(0x1e9))/0x7+-parseInt(u(0x204))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x75351));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0x20c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a['toString']()[w(0x1ef)](w(0x1f0))[w(0x1ee)]()['constructor'](a117a)[w(0x1ef)](w(0x1f0));});a117a();import{Generator}from'../../../generator.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a117d(a,b);}import{Log}from'../../../tools/log/log.class.js';function a117c(){const A=['fsi','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','</AuthProvider>','\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','3794090BjMjgI','bright','react','/imports/startup/client','pathFromApp','engines','404715qitnkX','2AderbL','8157560qoerDk','/imports/startup/client/index','/routes','create','kit/auth/provider/authentication-provider.js','561601DKnVmH','split','function\x20Routes','apply','ssr','injectImport','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','/imports/startup/client/authentication-provider','withValue','REACT','/imports/startup/server/index','/imports/startup/lib','4666182JCmCsh','replaceAll','appName','error','360188prYXdK','/imports/startup/lib/authentication-provider','5124714yZrJMz','<Routes\x20history={history}/>','.js','force','true','toString','search','(((.+)+)+)+$','template','authentication-provider','injectAroundString','<AuthProvider>','getMakaProjectConfig','injectIntoCodeBlock','\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'];a117c=function(){return A;};return a117c();}import a117e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117x(0x207)]({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a117x(0x1f9),'validOpts':[a117x(0x1ec)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117x(0x212)]},'description':a117x(0x1f7)},async function(a,b){const y=a117x;try{const c=b[y(0x1ec)]||![];Log[y(0x1fd)](y(0x20f));const d=this[y(0x1f8)][y(0x1f5)](),f=d['engines'][y(0x20d)]===y(0x1ed),g={'name':headerCase(d[y(0x1e5)])[y(0x1e4)]('-','\x20')},h=f?y(0x1e2):y(0x1ff),i=this['fsi'][y(0x200)]({'pathParts':[h,'','',y(0x1f2)]});await this[y(0x1f8)][y(0x211)](d,async()=>{const z=y;await this[z(0x1f8)][z(0x1f1)]({'srcPath':z(0x208),'destPath':i+z(0x1eb),'framework':z(0x1fe),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x201)]['js'],k=h+y(0x206),l=k[y(0x20a)]('/'),m=this['fsi'][y(0x200)]({'pathParts':l});await this[y(0x1f8)][y(0x20e)]({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x210),'isNamedExport':!![]}),await this[y(0x1f8)][y(0x20e)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][y(0x1f6)]({'filePath':m+'.'+j,'content':y(0x1fb),'begin':['const\x20Routes',y(0x20b)],'replace':!![]});const n=y(0x205),o=n[y(0x20a)]('/'),p=this[y(0x1f8)][y(0x200)]({'pathParts':o});await this['fsi'][y(0x20e)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x1e8):y(0x210),'isNamedExport':!![]}),await this[y(0x1f8)][y(0x1f3)]({'filePath':p+'.'+j,'aboveContent':y(0x1f4),'belowContent':y(0x1fa),'targetString':'<Routes\x20history={browserHistory}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x213),r=q[y(0x20a)]('/'),s=this[y(0x1f8)][y(0x200)]({'pathParts':r});await this[y(0x1f8)][y(0x20e)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x1f8)][y(0x1f3)]({'filePath':s+'.'+j,'aboveContent':y(0x1f4),'belowContent':y(0x1fa),'targetString':y(0x1ea),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x1e6)](t),process['exit'](0x1);}},async function(){},a117e);
@@ -1 +1 @@
1
- function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x178;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x17d))/0x1+-parseInt(f(0x178))/0x2*(-parseInt(f(0x186))/0x3)+parseInt(f(0x183))/0x4*(-parseInt(f(0x185))/0x5)+parseInt(f(0x17a))/0x6+-parseInt(f(0x17b))/0x7*(parseInt(f(0x17e))/0x8)+-parseInt(f(0x184))/0x9*(-parseInt(f(0x17c))/0xa)+parseInt(f(0x179))/0xb*(parseInt(f(0x17f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xa98ef));function a118c(){var h=['2458561CwXEsb','13358690yEhWWU','94977BPcTIk','8JrFJBG','36HuuTNJ','(((.+)+)+)+$','toString','constructor','311948kdTjFo','9BSWUKj','85REljVI','26658QIEWdf','search','82stZzDi','2463098ieSVJw','567246xytfHz'];a118c=function(){return h;};return a118c();}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var g=a118d;return a118a[g(0x181)]()[g(0x187)](g(0x180))[g(0x181)]()[g(0x182)](a118a)[g(0x187)](g(0x180));});a118a();import'./esri.generator.js';import'./map.esri.gen.js';
1
+ function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1f2;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x1f2))/0x1+parseInt(f(0x1f4))/0x2+parseInt(f(0x1f9))/0x3+-parseInt(f(0x1fc))/0x4*(-parseInt(f(0x1f7))/0x5)+-parseInt(f(0x1f5))/0x6+-parseInt(f(0x1f8))/0x7+-parseInt(f(0x1f6))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x36cd8));function a118c(){var i=['5sJDPKB','2279179jxfUyV','533622zCLcxP','toString','apply','1734584ohrsrp','219773WHkBWa','search','557742uCBuYn','2198412dewMCv','1549544qkilAE'];a118c=function(){return i;};return a118c();}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1fb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1fa)]()[h(0x1f3)]('(((.+)+)+)+$')[h(0x1fa)]()['constructor'](a118a)['search']('(((.+)+)+)+$');});a118a();import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x129))/0x1+parseInt(f(0x11c))/0x2+-parseInt(f(0x11d))/0x3*(-parseInt(f(0x11f))/0x4)+-parseInt(f(0x128))/0x5+parseInt(f(0x12c))/0x6+parseInt(f(0x120))/0x7*(-parseInt(f(0x130))/0x8)+parseInt(f(0x12b))/0x9*(-parseInt(f(0x11e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xa6ce9));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x12f)]()[h(0x126)](h(0x12e))['toString']()[h(0x127)](a119a)[h(0x126)](h(0x12e));});a119a();function a119c(){const k=['1336aLCORx','765044NtAEpy','Esri\x20Kit\x20generated\x20successfully','create','esri','apply','maka\x20g:kit:e','search','constructor','182815fnQVQn','938905MaRaED','/foo','783LxYmoF','1762350jJFfFp','\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','(((.+)+)+)+$','toString','8IMEUmi','2728418oBPKAP','11109ZDuwjk','345350DgMksA'];a119c=function(){return k;};return a119c();}import{Generator}from'../../../generator.js';import a119e from'../kit.js';const EsriGen=Generator[a119i(0x122)]({'name':a119i(0x123),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a119i(0x125)],'description':a119i(0x12d)},async function(){const j=a119i;return{'success':!![],'message':j(0x121),'details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0x12a)]}};},async function(){},a119e);function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x11c;let f=c[d];return f;},a119d(a,b);}export default EsriGen;
1
+ const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=-parseInt(f(0x11e))/0x1*(-parseInt(f(0x116))/0x2)+parseInt(f(0x113))/0x3*(parseInt(f(0x123))/0x4)+-parseInt(f(0x119))/0x5+parseInt(f(0x121))/0x6*(-parseInt(f(0x112))/0x7)+parseInt(f(0x118))/0x8+parseInt(f(0x11f))/0x9+-parseInt(f(0x11c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x7bb23));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a['toString']()['search'](h(0x11a))[h(0x117)]()[h(0x120)](a119a)[h(0x124)](h(0x11a));});a119a();function a119c(){const k=['create','216167MnsWWf','2534220XBIuLC','constructor','22038vTyYiu','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','4POjNuh','search','/foo','maka\x20g:kit:e','esri','apply','1687jcdpSS','1436268ZTAaHM','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','8KCkJIC','toString','7960464fAlpdS','2767245TCHhBL','(((.+)+)+)+$','Esri\x20Kit\x20generated\x20successfully','6747610biOEej'];a119c=function(){return k;};return a119c();}import{Generator}from'../../../generator.js';import a119e from'../kit.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x110;let f=c[d];return f;},a119d(a,b);}const EsriGen=Generator[a119i(0x11d)]({'name':a119i(0x110),'aliases':['e'],'usage':a119i(0x114),'noNeedResource':!![],'shortDesc':a119i(0x122),'validOpts':[''],'isPro':!![],'examples':[a119i(0x126)],'description':a119i(0x115)},async function(){const j=a119i;return{'success':!![],'message':j(0x11b),'details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0x125)]}};},async function(){},a119e);export default EsriGen;
@@ -1 +1 @@
1
- const a120r=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=parseInt(p(0x168))/0x1*(parseInt(p(0x162))/0x2)+-parseInt(p(0x187))/0x3+-parseInt(p(0x17a))/0x4+parseInt(p(0x18b))/0x5+parseInt(p(0x16b))/0x6+parseInt(p(0x16f))/0x7*(-parseInt(p(0x16d))/0x8)+parseInt(p(0x163))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x5f1e3));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(0x169)]()[q(0x161)](q(0x167))[q(0x169)]()[q(0x17f)](a120a)['search'](q(0x167));});function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x161;let f=c[d];return f;},a120d(a,b);}function a120c(){const u=['esri-loader','21JCOsjE','findProjectDirectory','/imports/startup/lib/templates','REACT','injectIntoFile','processAndRunGenerator','<div\x20id=\x22map\x22>','withValue','.js','/imports/ui/hooks','fsi','776064ucrSMb','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','FALSE','error','dir','constructor','baseDir','kit/esri/map/','\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','/imports/startup/client/templates','basic-map','page','pathFromApp','835503GlAsid','exit','</div>','true','1088885jCpwho','create','map','bright','template','search','1257598eTxqQc','4384098fHGHYC','Generating\x20a\x20map\x20component','getMakaProjectConfig','split','(((.+)+)+)+$','1LuPAJG','toString','replaceAll','1806450pvLfmP','Generate\x20an\x20Esri\x20map\x20component','2060408OpZqcy'];a120c=function(){return u;};return a120c();}a120a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120e from'./esri.generator.js';import a120f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120r(0x18c)]({'name':a120r(0x18d),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a120r(0x16c),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120r(0x172)],'ssr':SsrEngines[a120r(0x17c)]},'description':a120r(0x182)},async function(a,b){const s=a120r;try{Log[s(0x18e)](s(0x164));const c=s(0x184);await this['fsi']['checkNpmPackage'](['@esri/react-arcgis',s(0x16e)],{'shouldInstall':!![]});const d=this['fsi'][s(0x170)](),f=this['fsi'][s(0x165)](),g=f['engines']['ssr']===s(0x18a),h=await a120f[s(0x174)](s(0x185),[s(0x18d)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[s(0x16a)]('-','\x20'),'componentName':pascalCase(c)},j=b[s(0x180)]?'/imports/ui/'+b[s(0x180)]:s(0x178),k=this['fsi'][s(0x186)]({'pathParts':[j,b[s(0x17e)],paramCase(c),paramCase(c)]});await this[s(0x179)][s(0x176)](f,async()=>{const t=s;await this[t(0x179)][t(0x18f)]({'srcPath':t(0x181)+c+t(0x177),'destPath':k+t(0x177),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[s(0x17e)]+'/'+c+'/'+c;await this[s(0x179)]['injectTemplateModule'](c,f,l);const m=h[s(0x166)]('/'),n=this['fsi']['pathFromApp']({'pathParts':m});await this[s(0x179)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0x171):s(0x183),'isNamedExport':!![]}),await this[s(0x179)][s(0x173)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0x17b),'begin':[s(0x175),'<div\x20id=\x22map\x22>'],'end':[s(0x189)],'replace':!![]});}catch(o){Log[s(0x17d)](o),process[s(0x188)](0x1);}},async function(){},a120e);
1
+ const a120s=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=-parseInt(p(0x1b5))/0x1*(-parseInt(p(0x1af))/0x2)+parseInt(p(0x1c4))/0x3*(parseInt(p(0x1a6))/0x4)+-parseInt(p(0x1b4))/0x5*(-parseInt(p(0x1bd))/0x6)+parseInt(p(0x1b0))/0x7+-parseInt(p(0x198))/0x8+-parseInt(p(0x1c3))/0x9*(-parseInt(p(0x1c5))/0xa)+-parseInt(p(0x1b1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x57ab5));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a['toString']()['search'](r(0x1c7))['toString']()['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';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x198;let f=c[d];return f;},a120d(a,b);}import{paramCase,headerCase,pascalCase}from'change-case';function a120c(){const v=['15094739lgwpWP','getMakaProjectConfig','split','55NOpIfP','26419PDoPlS','fsi','withValue','pathFromApp','REACT','/imports/ui/hooks','</div>','/imports/ui/','350598uwXWap','.js','Generating\x20a\x20map\x20component','create','ssr','page','81eVgUKV','39GGOthj','437480xoRpPe','apply','(((.+)+)+)+$','2470088PrxkFb','injectTemplateModule','processAndRunGenerator','\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','map','@esri/react-arcgis','baseDir','/imports/startup/client/templates','true','error','checkNpmPackage','Generate\x20an\x20Esri\x20map\x20component','kit/esri/map/','findProjectDirectory','103904nwDrpN','injectImport','injectIntoFile','<div\x20id=\x22map\x22>','bright','FALSE','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','basic-map','engines','26vEzBUi','2257311rFuizt'];a120c=function(){return v;};return a120c();}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120s(0x1c0)]({'name':'map','aliases':['m'],'usage':a120s(0x1ac),'shortDesc':a120s(0x1a3),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120s(0x1b9)],'ssr':SsrEngines[a120s(0x1ab)]},'description':a120s(0x19b)},async function(a,b){const t=a120s;try{Log[t(0x1aa)](t(0x1bf));const c=t(0x1ad);await this[t(0x1b6)][t(0x1a2)]([t(0x19d),'esri-loader'],{'shouldInstall':!![]});const d=this['fsi'][t(0x1a5)](),f=this[t(0x1b6)][t(0x1b2)](),g=f[t(0x1ae)][t(0x1c1)]===t(0x1a0),h=await a120f[t(0x19a)](t(0x1c2),[t(0x19c)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x19e)]?t(0x1bc)+b[t(0x19e)]:t(0x1ba),k=this[t(0x1b6)][t(0x1b8)]({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[t(0x1b6)][t(0x1b7)](f,async()=>{const u=t;await this[u(0x1b6)]['template']({'srcPath':u(0x1a4)+c+u(0x1be),'destPath':k+'.js','framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[t(0x1b6)][t(0x199)](c,f,l);const m=h[t(0x1b3)]('/'),n=this[t(0x1b6)][t(0x1b8)]({'pathParts':m});await this[t(0x1b6)][t(0x1a7)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x19f),'isNamedExport':!![]}),await this[t(0x1b6)][t(0x1a8)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0x1a9),t(0x1a9)],'end':[t(0x1bb)],'replace':!![]});}catch(o){Log[t(0x1a1)](o),process['exit'](0x1);}},async function(){},a120e);
@@ -1 +1 @@
1
- function a121c(){const j=['42922vRQkQP','1092500vdvuca','1101670myQFwN','(((.+)+)+)+$','20FGfNTP','search','27wKXQNY','toString','kit','6MUHNGB','108633tEeLYd','maka\x20{generate,\x20g}:{kit}\x20<name>','132DRuQiD','create','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','apply','7570108uElVSS','25703ivOvra','278929FGHfXi','26eGllpX','8CfDLqf','16WVWpNj','maka\x20g:kit'];a121c=function(){return j;};return a121c();}const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=parseInt(f(0x87))/0x1*(-parseInt(f(0x74))/0x2)+parseInt(f(0x80))/0x3*(-parseInt(f(0x7a))/0x4)+parseInt(f(0x78))/0x5*(-parseInt(f(0x7f))/0x6)+parseInt(f(0x88))/0x7*(parseInt(f(0x8a))/0x8)+-parseInt(f(0x7c))/0x9*(parseInt(f(0x77))/0xa)+-parseInt(f(0x76))/0xb*(-parseInt(f(0x82))/0xc)+parseInt(f(0x89))/0xd*(parseInt(f(0x86))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x3804a));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0x85)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0x7d)]()[h(0x7b)]('(((.+)+)+)+$')['toString']()['constructor'](a121a)[h(0x7b)](h(0x79));});a121a();function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x74;let f=c[d];return f;},a121d(a,b);}import{Generator}from'../../generator.js';const KitGen=Generator[a121i(0x83)]({'name':a121i(0x7e),'aliases':['k'],'usage':a121i(0x81),'shortDesc':a121i(0x84),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0x75),'maka\x20g:k']},async function(){});export default KitGen;
1
+ const a121h=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=parseInt(f(0x12a))/0x1*(parseInt(f(0x123))/0x2)+parseInt(f(0x125))/0x3*(-parseInt(f(0x133))/0x4)+-parseInt(f(0x12f))/0x5+parseInt(f(0x12d))/0x6*(-parseInt(f(0x127))/0x7)+parseInt(f(0x124))/0x8*(-parseInt(f(0x128))/0x9)+parseInt(f(0x130))/0xa+parseInt(f(0x132))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xdad96));function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x122;let f=c[d];return f;},a121d(a,b);}const a121b=(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;};}()),a121a=a121b(this,function(){const g=a121d;return a121a[g(0x131)]()['search'](g(0x129))[g(0x131)]()['constructor'](a121a)[g(0x12b)](g(0x129));});function a121c(){const i=['13694088kSNSeP','39jDqUTZ','maka\x20{generate,\x20g}:{kit}\x20<name>','6994918fAxXRH','9jdGiTS','(((.+)+)+)+$','79102DgyxPy','search','maka\x20g:k','6ESUWvy','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','3199090HxrXSY','5627490LGehpm','toString','27986607KZaKEg','38572HSWOPa','kit','32zwendW'];a121c=function(){return i;};return a121c();}a121a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a121h(0x122),'aliases':['k'],'usage':a121h(0x126),'shortDesc':a121h(0x12e),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a121h(0x12c)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x1c6))/0x1+parseInt(f(0x1c8))/0x2+-parseInt(f(0x1c7))/0x3+-parseInt(f(0x1c4))/0x4+-parseInt(f(0x1c3))/0x5+parseInt(f(0x1c9))/0x6*(parseInt(f(0x1cc))/0x7)+parseInt(f(0x1ca))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x8a78a));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var g=a122d;return a122a[g(0x1cb)]()[g(0x1c5)](g(0x1cd))[g(0x1cb)]()['constructor'](a122a)['search'](g(0x1cd));});function a122c(){var h=['1489672jDabIU','search','1075751skROJC','1241478QEGylZ','1579424BqUeiM','10368dSrapH','3636488PpFozO','toString','266tcoNiU','(((.+)+)+)+$','5161330UMEJhY'];a122c=function(){return h;};return a122c();}a122a();import'./mui.generator.js';function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x1c3;var f=c[d];return f;},a122d(a,b);}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(0x1c9))/0x1*(parseInt(f(0x1b9))/0x2)+parseInt(f(0x1bb))/0x3*(parseInt(f(0x1c1))/0x4)+parseInt(f(0x1c3))/0x5*(parseInt(f(0x1c7))/0x6)+parseInt(f(0x1ba))/0x7*(-parseInt(f(0x1bf))/0x8)+parseInt(f(0x1c5))/0x9*(parseInt(f(0x1c0))/0xa)+-parseInt(f(0x1be))/0xb*(-parseInt(f(0x1c6))/0xc)+-parseInt(f(0x1bc))/0xd*(parseInt(f(0x1c4))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xecfea));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x1ca)]()[h(0x1c2)](h(0x1bd))[h(0x1ca)]()['constructor'](a122a)[h(0x1c2)](h(0x1bd));});a122a();function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x1b9;var f=c[d];return f;},a122d(a,b);}import'./mui.generator.js';function a122c(){var i=['56Mbqmvf','39520zWgSAU','7188RqWJOS','search','12035yKAbcZ','38248TOuYAG','2412QJlWXM','8519532gQeuxB','156ououRD','apply','726689qepjMF','toString','2NHweWi','1050273uTIMjH','2328KjqzGc','5655iVsYqE','(((.+)+)+)+$','22xWoKdN'];a122c=function(){return i;};return a122c();}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(0xb1))/0x1*(-parseInt(G(0xd6))/0x2)+-parseInt(G(0xd2))/0x3+parseInt(G(0x9d))/0x4*(parseInt(G(0xbf))/0x5)+-parseInt(G(0xc6))/0x6*(-parseInt(G(0xa7))/0x7)+parseInt(G(0xcc))/0x8*(-parseInt(G(0xc2))/0x9)+parseInt(G(0xa3))/0xa+-parseInt(G(0xb2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x9f716));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a['toString']()[I(0xc1)]('(((.+)+)+)+$')[I(0xa1)]()['constructor'](a123a)[I(0xc1)](I(0xac));});function a123c(){const N=['(((.+)+)+)+$','template','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','logout','apply','43853rUQIqr','11689117izFuDH','basic-login-page','create','AuthContext','kit:auth:provider','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','true','authType','log','baseDir','.js','ssr','split','1460SNSVmB','getMakaProjectConfig','search','928422vGTbTG','basic-password-reset-page','findProjectDirectory','custom','222LFpdHH','/imports/ui/pages/auth','appName','route','fsi','kit:auth:meteor','48ZYPSMw','basic-register-page','injectTemplateModule','replaceAll','meteor','/imports/startup/lib/authentication-provider','3499740mvUIHN','react','Custom\x20(roll\x20your\x20own)','dir','44nBmBRe','options','layouts','MATERIAL','force','/imports/startup/client/authentication-provider','/imports/ui/','auth','kit/mui/auth/forgot-password/','list','5876XcuHAK','processAndRunGenerator','pathFromApp','basic-logout-page','toString','reset-password/:token','8164610NDEzkl','basic-forgot-password-page','kit/mui/auth/login/','engines','244258koeDyE','kit/mui/auth/register/','maka\x20g:k:m:f','register','injectImport'];a123c=function(){return N;};return a123c();}a123a();import{Generator}from'../../../generator.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x99;let f=c[d];return f;},a123d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a123e from'../../../generators/maka.gen.js';import a123f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123J(0xb4)]({'name':a123J(0x9a),'aliases':['a'],'usage':a123J(0xb7),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a123J(0xd8),a123J(0xda)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123J(0xd9)],'client':ClientEngines['REACT']},'examples':['maka\x20generate:kit:mui:frame',a123J(0xa9)],'description':a123J(0xae)},async function(a,b){const K=a123J;try{const c=b[K(0xda)]||![],d=this[K(0xca)][K(0xc4)](),f=this['fsi'][K(0xc0)](),{authType:g}=await Actions[K(0xd7)]({'type':K(0x9c),'name':K(0xb9),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':'Meteor\x20Accounts','value':K(0xd0)},{'name':K(0xd4),'value':'custom'}]}),h=K(0xb3),i=K(0xa0),j=K(0xcd),k=K(0xc3),l=K(0xa4),m=b[K(0xbb)]?K(0x99)+b[K(0xbb)]:K(0xc7),n=this[K(0xca)][K(0x9f)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0xca)][K(0x9f)]({'pathParts':[m,b[K(0xd5)],paramCase(i),paramCase(i)]}),p=this[K(0xca)]['pathFromApp']({'pathParts':[m,b[K(0xd5)],paramCase(j),paramCase(j)]}),q=this[K(0xca)][K(0x9f)]({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this[K(0xca)][K(0x9f)]({'pathParts':[m,b[K(0xd5)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0xc8)])[K(0xcf)]('-','\x20')};await this[K(0xca)]['withValue'](f,async()=>{const L=K;await this[L(0xca)][L(0xad)]({'srcPath':L(0xa5)+h+L(0xbc),'destPath':n+'.js','framework':L(0xd3),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xca)][L(0xad)]({'srcPath':'kit/mui/auth/logout/'+i+L(0xbc),'destPath':o+L(0xbc),'framework':L(0xd3),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xca)][L(0xad)]({'srcPath':L(0xa8)+j+L(0xbc),'destPath':p+L(0xbc),'framework':L(0xd3),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xca)][L(0xad)]({'srcPath':'kit/mui/auth/password-reset/'+k+'.js','destPath':q+L(0xbc),'framework':L(0xd3),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xca)][L(0xad)]({'srcPath':L(0x9b)+l+'.js','destPath':r+L(0xbc),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b['dir']+'/'+h+'/'+h;await this[K(0xca)]['injectTemplateModule'](h,f,t);const u=''+m+b[K(0xd5)]+'/'+i+'/'+i;await this['fsi'][K(0xce)](i,f,u);const v=''+m+b[K(0xd5)]+'/'+j+'/'+j;await this[K(0xca)]['injectTemplateModule'](j,f,v);const w=''+m+b[K(0xd5)]+'/'+k+'/'+k;await this[K(0xca)][K(0xce)](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[K(0xca)]['injectTemplateModule'](l,f,x),await a123e['processAndRunGenerator'](K(0xc9),[K(0xb3)],{'url':'login','cwd':d,'config':f}),await a123e['processAndRunGenerator'](K(0xc9),[K(0xa0)],{'url':K(0xaf),'private':!![],'cwd':d,'config':f}),await a123e['processAndRunGenerator']('route',['basic-register-page'],{'url':K(0xaa),'cwd':d,'config':f}),await a123e[K(0x9e)](K(0xc9),['basic-password-reset-page'],{'url':K(0xa2),'cwd':d,'config':f}),await a123e[K(0x9e)]('route',[K(0xa4)],{'url':'forgot-password','cwd':d,'config':f});g===K(0xd0)&&await a123e['processAndRunGenerator'](K(0xcb),[],{'force':c,'cwd':d,'config':f});g===K(0xc5)&&await a123e[K(0x9e)](K(0xb6),[],{'force':c,'cwd':d,'config':f});const y=f['engines'][K(0xbd)]===K(0xb8),z=f[K(0xa6)]['js'],A=this[K(0xca)][K(0x9f)]({'pathParts':t[K(0xbe)]('/')});await this[K(0xca)]['injectImport']({'filePath':A+'.'+z,'importName':K(0xb5),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0xdb),'isNamedExport':!![]});const B=this[K(0xca)]['pathFromApp']({'pathParts':u[K(0xbe)]('/')});await this[K(0xca)][K(0xab)]({'filePath':B+'.'+z,'importName':K(0xb5),'modulePath':y?K(0xd1):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0xca)]['pathFromApp']({'pathParts':v['split']('/')});await this[K(0xca)]['injectImport']({'filePath':C+'.'+z,'importName':'AuthContext','modulePath':y?K(0xd1):K(0xdb),'isNamedExport':!![]});const D=this[K(0xca)][K(0x9f)]({'pathParts':w[K(0xbe)]('/')});await this['fsi'][K(0xab)]({'filePath':D+'.'+z,'importName':K(0xb5),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0xdb),'isNamedExport':!![]});const E=this[K(0xca)][K(0x9f)]({'pathParts':x[K(0xbe)]('/')});await this['fsi'][K(0xab)]({'filePath':E+'.'+z,'importName':K(0xb5),'modulePath':y?K(0xd1):K(0xdb),'isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const M=a123J;console[M(0xba)]('Cleaning\x20up...');},a123f);
1
+ const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=parseInt(G(0x149))/0x1+-parseInt(G(0x12b))/0x2*(parseInt(G(0x112))/0x3)+-parseInt(G(0x140))/0x4+-parseInt(G(0x113))/0x5*(-parseInt(G(0x121))/0x6)+-parseInt(G(0x146))/0x7+-parseInt(G(0x136))/0x8*(-parseInt(G(0x11f))/0x9)+-parseInt(G(0x154))/0xa*(-parseInt(G(0x14b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xf2eae));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a['toString']()[I(0x142)](I(0x131))[I(0x138)]()[I(0x148)](a123a)[I(0x142)](I(0x131));});a123a();function a123c(){const N=['template','7450476vqfPuT','basic-forgot-password-page','search','create','custom','kit/mui/auth/login/','8606388QJZZAb','engines','constructor','650574lVewdA','react','1683FRbjiC','/imports/startup/lib/authentication-provider','route','split','baseDir','apply','withValue','basic-register-page','ssr','115870oTNqsD','171fpFItH','22655gMqvZe','dir','list','kit:auth:provider','Cleaning\x20up...','forgot-password','meteor','injectImport','fsi','kit:auth:meteor','basic-password-reset-page','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','1053pykGhn','.js','1950wHTKCB','MATERIAL','maka\x20g:k:m:f','pathFromApp','auth','injectTemplateModule','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','kit/mui/auth/password-reset/','appName','error','3684orYOXp','register','processAndRunGenerator','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','getMakaProjectConfig','REACT','(((.+)+)+)+$','kit/mui/auth/forgot-password/','force','kit/mui/auth/logout/','findProjectDirectory','20248JftUQg','replaceAll','toString','logout','AuthContext','/imports/startup/client/authentication-provider','options','true','basic-logout-page'];a123c=function(){return N;};return a123c();}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';import a123f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x112;let f=c[d];return f;},a123d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123J(0x143)]({'name':a123J(0x125),'aliases':['a'],'usage':a123J(0x11e),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':['layouts',a123J(0x133)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123J(0x122)],'client':ClientEngines[a123J(0x130)]},'examples':['maka\x20generate:kit:mui:frame',a123J(0x123)],'description':a123J(0x127)},async function(a,b){const K=a123J;try{const c=b[K(0x133)]||![],d=this[K(0x11b)][K(0x135)](),f=this['fsi'][K(0x12f)](),{authType:g}=await Actions[K(0x13c)]({'type':K(0x115),'name':'authType','message':K(0x12e),'choices':[{'name':'Meteor\x20Accounts','value':K(0x119)},{'name':'Custom\x20(roll\x20your\x20own)','value':'custom'}]}),h='basic-login-page',i=K(0x13e),j='basic-register-page',k=K(0x11d),l=K(0x141),m=b[K(0x14f)]?'/imports/ui/'+b[K(0x14f)]:'/imports/ui/pages/auth',n=this[K(0x11b)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0x11b)][K(0x124)]({'pathParts':[m,b[K(0x114)],paramCase(i),paramCase(i)]}),p=this[K(0x11b)]['pathFromApp']({'pathParts':[m,b[K(0x114)],paramCase(j),paramCase(j)]}),q=this[K(0x11b)][K(0x124)]({'pathParts':[m,b[K(0x114)],paramCase(k),paramCase(k)]}),r=this[K(0x11b)][K(0x124)]({'pathParts':[m,b['dir'],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x129)])[K(0x137)]('-','\x20')};await this[K(0x11b)][K(0x151)](f,async()=>{const L=K;await this[L(0x11b)]['template']({'srcPath':L(0x145)+h+L(0x120),'destPath':n+L(0x120),'framework':L(0x14a),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x11b)][L(0x13f)]({'srcPath':L(0x134)+i+L(0x120),'destPath':o+L(0x120),'framework':L(0x14a),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x11b)]['template']({'srcPath':'kit/mui/auth/register/'+j+L(0x120),'destPath':p+L(0x120),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x11b)]['template']({'srcPath':L(0x128)+k+L(0x120),'destPath':q+L(0x120),'framework':L(0x14a),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x13f)]({'srcPath':L(0x132)+l+L(0x120),'destPath':r+L(0x120),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x114)]+'/'+h+'/'+h;await this[K(0x11b)][K(0x126)](h,f,t);const u=''+m+b[K(0x114)]+'/'+i+'/'+i;await this['fsi'][K(0x126)](i,f,u);const v=''+m+b[K(0x114)]+'/'+j+'/'+j;await this[K(0x11b)][K(0x126)](j,f,v);const w=''+m+b[K(0x114)]+'/'+k+'/'+k;await this[K(0x11b)]['injectTemplateModule'](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this['fsi']['injectTemplateModule'](l,f,x),await a123e[K(0x12d)](K(0x14d),['basic-login-page'],{'url':'login','cwd':d,'config':f}),await a123e[K(0x12d)](K(0x14d),[K(0x13e)],{'url':K(0x139),'private':!![],'cwd':d,'config':f}),await a123e['processAndRunGenerator'](K(0x14d),[K(0x152)],{'url':K(0x12c),'cwd':d,'config':f}),await a123e[K(0x12d)]('route',['basic-password-reset-page'],{'url':'reset-password/:token','cwd':d,'config':f}),await a123e['processAndRunGenerator'](K(0x14d),[K(0x141)],{'url':K(0x118),'cwd':d,'config':f});g===K(0x119)&&await a123e['processAndRunGenerator'](K(0x11c),[],{'force':c,'cwd':d,'config':f});g===K(0x144)&&await a123e[K(0x12d)](K(0x116),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x147)][K(0x153)]===K(0x13d),z=f[K(0x147)]['js'],A=this[K(0x11b)][K(0x124)]({'pathParts':t['split']('/')});await this[K(0x11b)][K(0x11a)]({'filePath':A+'.'+z,'importName':K(0x13a),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[K(0x11b)][K(0x124)]({'pathParts':u[K(0x14e)]('/')});await this['fsi'][K(0x11a)]({'filePath':B+'.'+z,'importName':K(0x13a),'modulePath':y?K(0x14c):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0x11b)]['pathFromApp']({'pathParts':v[K(0x14e)]('/')});await this[K(0x11b)][K(0x11a)]({'filePath':C+'.'+z,'importName':K(0x13a),'modulePath':y?K(0x14c):K(0x13b),'isNamedExport':!![]});const D=this[K(0x11b)][K(0x124)]({'pathParts':w['split']('/')});await this['fsi'][K(0x11a)]({'filePath':D+'.'+z,'importName':K(0x13a),'modulePath':y?K(0x14c):K(0x13b),'isNamedExport':!![]});const E=this[K(0x11b)][K(0x124)]({'pathParts':x[K(0x14e)]('/')});await this['fsi'][K(0x11a)]({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?K(0x14c):K(0x13b),'isNamedExport':!![]});}catch(F){Log[K(0x12a)](F);}},async function(){const M=a123J;console['log'](M(0x117));},a123f);
@@ -1 +1 @@
1
- const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=-parseInt(B(0xa0))/0x1*(-parseInt(B(0xc6))/0x2)+-parseInt(B(0xbf))/0x3*(-parseInt(B(0xca))/0x4)+-parseInt(B(0xc4))/0x5*(parseInt(B(0x92))/0x6)+-parseInt(B(0xcd))/0x7+-parseInt(B(0xab))/0x8*(-parseInt(B(0x9d))/0x9)+parseInt(B(0xa9))/0xa+-parseInt(B(0xa2))/0xb*(parseInt(B(0xbc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x1d819));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0x83)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a['toString']()['search'](D(0x94))[D(0xb0)]()[D(0x9a)](a124a)[D(0xbd)](D(0x94));});a124a();import{Generator}from'../../../generator.js';function a124c(){const I=['{props.children}','appName','app-tests','toString','options','join','getDirectories','{this.props.children}','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','injectIntoFile','injectImport','kit/mui/frame/drawers/','maka\x20g:k:m:f','replaceAll','injectTemplateModule','12lZIXTy','search','injectAroundString','48309JkWIZp','ssr','force','create','template','200LqlCgA','basic-drawer','30dpbfnO','test','session','{\x20props.children\x20}','44dcsvOF','baseDir','basic-sticky-footer','712390GrLRaX','jsx','REACT','<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>','apply','-hook\x22>','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','true','react','/imports/startup/lib/templates','getMakaProjectConfig','basic-app-bar','kit/mui/frame/footers/','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','/imports/startup/client/templates','maka\x20generate:kit:mui:frame','getFiles','fsi','{\x20this.props.children\x20}','3594gxZmUu','error','(((.+)+)+)+$','.js','dir','<div\x20id=\x22','log','withValue','constructor','Container','frame','630lYvKuP','kit/mui/frame/app-bars/','layouts','2591YkrkBF','pathFromApp','2775575zqJGOl','Box','tsx','</div>','@mui/material/Container','/imports/ui/components','\x20/>\x0a','2008740MfgOAX','maka:react-tracker','9376qyIEFo','checkMeteorPackage'];a124c=function(){return I;};return a124c();}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a124e from'path';import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x83;let f=c[d];return f;},a124d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124E(0xc2)]({'name':a124E(0x9c),'aliases':['f'],'usage':a124E(0xb5),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a124E(0x9f),a124E(0xcb),a124E(0x96),a124E(0xc1)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a124E(0xcf)]},'examples':[a124E(0x8e),a124E(0xb9)],'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 F=a124E;try{const c=b[F(0xc1)]||![],d=F(0x8a),f=F(0xc5),g=F(0xcc),h=this[F(0x90)][F(0x89)](),i=h['engines'][F(0xc0)]===F(0x86);await this['fsi'][F(0xac)]([F(0xc8),F(0xaa)],{'shouldInstall':!![]});const j=this['fsi']['findAppDirectory'](),k=a124e[F(0xb2)](j,'imports','ui',F(0x9f)),l=this[F(0x90)][F(0xb3)](k),m=await Actions[F(0xb1)]({'type':'checkbox','name':F(0x9f),'message':F(0x85),'choices':l});if(m[F(0x9f)]['length']===0x0){Log[F(0x93)]('No\x20layouts\x20selected');return;}const n=b[F(0xcb)]?'/imports/ui/'+b[F(0xcb)]:F(0xa7),o=this[F(0x90)][F(0xa1)]({'pathParts':[n,b[F(0x96)],paramCase(d),paramCase(d)]}),p=this[F(0x90)][F(0xa1)]({'pathParts':[n,b[F(0x96)],paramCase(f),paramCase(f)]}),q=this[F(0x90)][F(0xa1)]({'pathParts':[n,b[F(0x96)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0xae)])[F(0xba)]('-','\x20')};await this['fsi'][F(0x99)](h,async()=>{const G=F;await this[G(0x90)]['template']({'srcPath':G(0x9e)+d+G(0x95),'destPath':o+G(0x95),'framework':G(0x87),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x90)]['template']({'srcPath':G(0xb8)+f+'.js','destPath':p+'.js','framework':G(0x87),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0xc3)]({'srcPath':G(0x8b)+g+G(0x95),'destPath':q+G(0x95),'framework':G(0x87),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x96)]+'/'+d+'/'+d;await this[F(0x90)]['injectTemplateModule'](d,h,s);const t=''+n+b[F(0x96)]+'/'+f+'/'+f;await this[F(0x90)][F(0xbb)](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this[F(0x90)][F(0xbb)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x90)][F(0x8f)](a124e[F(0xb2)](k,w),{'extensions':[F(0xce),F(0xa4)],'omit':[F(0xaf),'tests',F(0xc7)]});for(const y of x){const z=a124e[F(0xb2)](k,w,y);await this[F(0x90)][F(0xb7)]({'filePath':z,'importName':F(0xa3),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this['fsi'][F(0xb7)]({'filePath':z,'importName':F(0x9b),'modulePath':F(0xa6),'isNamedExport':![]}),await this['fsi'][F(0xb7)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':F(0x8d),'isNamedExport':!![]}),await this[F(0x90)][F(0xb6)]({'filePath':z,'content':'<'+pascalCase(d)+F(0xa8),'begin':[F(0x97)+w+'\x22>',F(0x97)+w+F(0x84)],'end':[F(0xb4),F(0x91),F(0xad),F(0xc9)]}),await this[F(0x90)][F(0xb7)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':F(0x8d),'isNamedExport':!![]}),await this['fsi'][F(0xb6)]({'filePath':z,'content':'<'+pascalCase(f)+F(0xa8),'begin':['<div\x20id=\x22'+w+'\x22>','<div\x20id=\x22'+w+'-hook\x22>'],'end':[F(0xb4),F(0x91),F(0xad),F(0xc9)]}),await this[F(0x90)][F(0xb6)]({'filePath':z,'content':'<'+pascalCase(g)+F(0xa8),'begin':[F(0xb4),F(0x91),'{props.children}',F(0xc9)],'end':[F(0xa5)]}),await this[F(0x90)][F(0xb7)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x88):F(0x8d),'isNamedExport':!![]}),await this[F(0x90)][F(0xbe)]({'filePath':z,'aboveContent':F(0xd0),'belowContent':F(0x8c),'targetString':[F(0xb4),F(0x91),F(0xad),F(0xc9)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const H=a124E;console[H(0x98)]('Cleaning\x20up...');},a124f);
1
+ const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=parseInt(B(0x1f2))/0x1*(parseInt(B(0x208))/0x2)+parseInt(B(0x218))/0x3*(parseInt(B(0x212))/0x4)+-parseInt(B(0x1e6))/0x5+parseInt(B(0x1f5))/0x6*(parseInt(B(0x1f4))/0x7)+-parseInt(B(0x1ed))/0x8*(-parseInt(B(0x215))/0x9)+parseInt(B(0x206))/0xa+-parseInt(B(0x1f3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x83dd3));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a[D(0x1ec)]()[D(0x21f)](D(0x1db))[D(0x1ec)]()[D(0x21c)](a124a)[D(0x21f)](D(0x1db));});a124a();function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1d8;let f=c[d];return f;},a124d(a,b);}import{Generator}from'../../../generator.js';function a124c(){const I=['apply','baseDir','template','log','basic-sticky-footer','594260RqjYcv','engines','basic-app-bar','/imports/startup/client/templates','kit/mui/frame/app-bars/','\x20/>\x0a','toString','32pVrXHY','<div\x20id=\x22','fsi','Box','-hook\x22>','15719juwjFr','31439969pFSIpi','7672ecKGFt','5184OVBLlC','injectIntoFile','/imports/startup/lib/templates','{\x20this.props.children\x20}','dir','{props.children}','frame','withValue','{this.props.children}','layouts','MATERIAL','react','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','{\x20props.children\x20}','tests','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','.js','3943110IWoWku','test','78RoQjCx','pathFromApp','getFiles','@mui/material/Box','replaceAll','</div>','Cleaning\x20up...','findAppDirectory','join','injectImport','381256wbJuPt','force','Container','1157391ZWaJFc','getMakaProjectConfig','checkMeteorPackage','33EDEPZQ','injectTemplateModule','imports','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','constructor','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','appName','search','jsx','kit/mui/frame/drawers/','kit/mui/frame/footers/','(((.+)+)+)+$','injectAroundString','getDirectories','options','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','checkbox'];a124c=function(){return I;};return a124c();}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['create']({'name':a124E(0x1fb),'aliases':['f'],'usage':a124E(0x1df),'shortDesc':a124E(0x21b),'validOpts':[a124E(0x1fe),'baseDir',a124E(0x1f9),'force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0x1ff)],'client':ClientEngines['REACT']},'examples':['maka\x20generate:kit:mui:frame','maka\x20g:k:m:f'],'description':a124E(0x21d)},async function(a,b){const F=a124E;try{const c=b[F(0x213)]||![],d=F(0x1e8),f='basic-drawer',g=F(0x1e5),h=this[F(0x1ef)][F(0x216)](),i=h[F(0x1e7)]['ssr']==='true';await this[F(0x1ef)][F(0x217)](['session','maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0x1ef)][F(0x20f)](),k=a124e[F(0x210)](j,F(0x21a),'ui','layouts'),l=this['fsi'][F(0x1dd)](k),m=await Actions[F(0x1de)]({'type':F(0x1e0),'name':F(0x1fe),'message':F(0x204),'choices':l});if(m[F(0x1fe)]['length']===0x0){Log['error']('No\x20layouts\x20selected');return;}const n=b[F(0x1e2)]?'/imports/ui/'+b['baseDir']:'/imports/ui/components',o=this[F(0x1ef)][F(0x209)]({'pathParts':[n,b[F(0x1f9)],paramCase(d),paramCase(d)]}),p=this[F(0x1ef)][F(0x209)]({'pathParts':[n,b[F(0x1f9)],paramCase(f),paramCase(f)]}),q=this[F(0x1ef)][F(0x209)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x21e)])[F(0x20c)]('-','\x20')};await this[F(0x1ef)][F(0x1fc)](h,async()=>{const G=F;await this[G(0x1ef)][G(0x1e3)]({'srcPath':G(0x1ea)+d+G(0x205),'destPath':o+G(0x205),'framework':G(0x200),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1ef)]['template']({'srcPath':G(0x1d9)+f+G(0x205),'destPath':p+'.js','framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1ef)][G(0x1e3)]({'srcPath':G(0x1da)+g+'.js','destPath':q+G(0x205),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this[F(0x1ef)][F(0x219)](d,h,s);const t=''+n+b[F(0x1f9)]+'/'+f+'/'+f;await this[F(0x1ef)][F(0x219)](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this[F(0x1ef)][F(0x219)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x1ef)][F(0x20a)](a124e[F(0x210)](k,w),{'extensions':[F(0x1d8),'tsx'],'omit':['app-tests',F(0x203),F(0x207)]});for(const y of x){const z=a124e['join'](k,w,y);await this['fsi'][F(0x211)]({'filePath':z,'importName':F(0x1f0),'modulePath':F(0x20b),'isNamedExport':![]}),await this[F(0x1ef)][F(0x211)]({'filePath':z,'importName':F(0x214),'modulePath':'@mui/material/Container','isNamedExport':![]}),await this['fsi'][F(0x211)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x1f7):F(0x1e9),'isNamedExport':!![]}),await this['fsi'][F(0x1f6)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x1ee)+w+'\x22>','<div\x20id=\x22'+w+F(0x1f1)],'end':[F(0x1fd),F(0x1f8),F(0x1fa),'{\x20props.children\x20}']}),await this[F(0x1ef)][F(0x211)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x1f7):F(0x1e9),'isNamedExport':!![]}),await this[F(0x1ef)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0x1eb),'begin':[F(0x1ee)+w+'\x22>',F(0x1ee)+w+'-hook\x22>'],'end':[F(0x1fd),'{\x20this.props.children\x20}',F(0x1fa),'{\x20props.children\x20}']}),await this[F(0x1ef)][F(0x1f6)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x1eb),'begin':[F(0x1fd),F(0x1f8),'{props.children}',F(0x202)],'end':[F(0x20d)]}),await this['fsi']['injectImport']({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x1f7):F(0x1e9),'isNamedExport':!![]}),await this[F(0x1ef)][F(0x1dc)]({'filePath':z,'aboveContent':'<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>','belowContent':F(0x201),'targetString':['{this.props.children}',F(0x1f8),F(0x1fa),F(0x202)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const H=a124E;console[H(0x1e4)](H(0x20e));},a124f);
@@ -1 +1 @@
1
- function a125c(){const l=['887436LfVQfO','480GUqiwH','checkbox','options','(((.+)+)+)+$','frame','1125858XMCBzn','kit:mui:frame','kitChoices','236HGqxRL','Material-UI\x20Kit','\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','kit:mui:auth','1110536kAHPQH','notice','info','6401943ugtIFY','create','toString','auth','8rvgqZO','mui','includes','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','629275nbqHCS','apply','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','search','122000XHuwEs','processAndRunGenerator','length','findProjectDirectory','fsi'];a125c=function(){return l;};return a125c();}const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=-parseInt(g(0x145))/0x1+parseInt(g(0x153))/0x2*(-parseInt(g(0x14b))/0x3)+-parseInt(g(0x14a))/0x4+parseInt(g(0x140))/0x5+-parseInt(g(0x150))/0x6+-parseInt(g(0x135))/0x7+parseInt(g(0x13c))/0x8*(parseInt(g(0x138))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x1f498));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0x13a)]()[i(0x144)]('(((.+)+)+)+$')[i(0x13a)]()['constructor'](a125a)[i(0x144)](i(0x14e));});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x133;let f=c[d];return f;},a125d(a,b);}a125a();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[a125j(0x139)]({'name':a125j(0x13d),'aliases':['m'],'usage':a125j(0x142),'noNeedResource':!![],'shortDesc':a125j(0x154),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a125j;Log[k(0x137)](k(0x13f)),Log[k(0x136)](k(0x133));const {kitChoices:a}=await Actions[k(0x14d)]({'type':k(0x14c),'name':k(0x152),'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':k(0x14f)},{'name':k(0x143),'value':k(0x13b)}]}),b=this['fsi'][k(0x148)](),c=this[k(0x149)]['getMakaProjectConfig']();a[k(0x13e)](k(0x14f))&&await a125e['processAndRunGenerator'](k(0x151),[],{'force':!![],'cwd':b,'config':c});a[k(0x13e)](k(0x13b))&&await a125e[k(0x146)](k(0x134),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x147)]===0x0){Log[k(0x137)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}},async function(){},a125f);export default MuiGen;
1
+ function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1e7;let f=c[d];return f;},a125d(a,b);}const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=parseInt(g(0x1f3))/0x1+parseInt(g(0x1f2))/0x2*(parseInt(g(0x1f0))/0x3)+-parseInt(g(0x1fa))/0x4+-parseInt(g(0x1fc))/0x5*(parseInt(g(0x1fe))/0x6)+parseInt(g(0x206))/0x7*(-parseInt(g(0x203))/0x8)+parseInt(g(0x1f6))/0x9*(parseInt(g(0x1ed))/0xa)+parseInt(g(0x1f7))/0xb*(-parseInt(g(0x1ff))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xbd028));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x205)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0x1fb)]()['search'](i(0x1f1))[i(0x1fb)]()[i(0x1ef)](a125a)[i(0x202)](i(0x1f1));});a125a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';function a125c(){const l=['10030212TLyHQz','fsi','info','search','55408ApYUVo','includes','apply','679qxWItu','No\x20MUI\x20kits\x20selected.\x20Exiting.','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','mui','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','notice','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','checkbox','kit:mui:auth','Header,\x20Footer,\x20and\x20Drawer','4553030CQPIeu','processAndRunGenerator','constructor','3zmIXou','(((.+)+)+)+$','2937934suqKjR','1401038lmEbRM','auth','length','9QsZIff','11HIxGLn','maka\x20g:kit:m','getMakaProjectConfig','3131452EwImZL','toString','1302940iWoqxq','frame','6qFRecN'];a125c=function(){return l;};return a125c();}import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator['create']({'name':a125j(0x209),'aliases':['m'],'usage':a125j(0x1e9),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a125j(0x1f8)]},async function(){const k=a125j;Log[k(0x201)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[k(0x1e8)](k(0x208));const {kitChoices:a}=await Actions['options']({'type':k(0x1ea),'name':'kitChoices','message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':k(0x1ec),'value':k(0x1fd)},{'name':k(0x1e7),'value':k(0x1f4)}]}),b=this[k(0x200)]['findProjectDirectory'](),c=this['fsi'][k(0x1f9)]();a['includes'](k(0x1fd))&&await a125e['processAndRunGenerator']('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[k(0x204)](k(0x1f4))&&await a125e[k(0x1ee)](k(0x1eb),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1f5)]===0x0){Log[k(0x201)](k(0x207));return;}},async function(){},a125f);export default MuiGen;
@@ -1 +1 @@
1
- const a126o=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=-parseInt(l(0x1f3))/0x1+parseInt(l(0x1f2))/0x2+parseInt(l(0x1d3))/0x3*(-parseInt(l(0x1eb))/0x4)+parseInt(l(0x1ed))/0x5+parseInt(l(0x1d9))/0x6+parseInt(l(0x1e5))/0x7+-parseInt(l(0x1d6))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x8844d));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a[n(0x1f9)]()[n(0x1e2)]('(((.+)+)+)+$')['toString']()[n(0x1e4)](a126a)[n(0x1e2)](n(0x1c9));});a126a();import a126e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a126d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a126c(){const r=['3MxXADA','split','warn','7097000DPGFeC','.js','hook/hook.js','5286078hgpzHg','dir','withHook','apply','features','className','create','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','react','search','includes','constructor','3016125YjERBn','withValue','fileName','maka\x20g:l\x20web/safari','true','pathFromProject','1342756njbXqv','Scaffolding\x20for\x20a\x20React\x20Layout.','2823180KOrbUD','string','engines','getMakaProjectConfig','injectTemplateModule','126260eZioRb','158683NhUppQ','template','layout','api','pathFromApp','client','toString','findAppDirectory','ramda','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','assign','test','resourceName','css','installNpmPackage','(((.+)+)+)+$','ssr','setTemplate','fsi','checkNpmPackage','template/template.css','withHooks','component/component.js','injectAtBeginningOfFile','/imports/ui/layouts'];a126c=function(){return r;};return a126c();}Generator[a126o(0x1df)]({'name':a126o(0x1f5),'aliases':aliases,'usage':a126o(0x1e0),'shortDesc':a126o(0x1ec),'validOpts':[a126o(0x1db)],'examples':['maka\x20g:layout\x20mobile/iPhone8',a126o(0x1e8)]},async function(a,b){const p=a126o,c=p(0x1d2),d=this[p(0x1cc)][p(0x1fa)](),e=this[p(0x1cc)][p(0x1f7)]({'pathParts':[c,b[p(0x1da)],paramCase(b[p(0x1c6)]),paramCase(b[p(0x1c6)])]}),f=this[p(0x1cc)][p(0x1f0)]();await this['fsi'][p(0x1e6)](f,async()=>{const q=p;typeof f[q(0x1f4)][q(0x1c5)]==='string'&&(f[q(0x1f4)]['test']=f['template'][q(0x1c5)]===q(0x1e9)?!![]:![],this[q(0x1cc)][q(0x1cb)]('test',f[q(0x1f4)][q(0x1c5)]));typeof f['template'][q(0x1c7)]===q(0x1ee)&&(f[q(0x1f4)][q(0x1c7)]=f['template'][q(0x1c7)]===q(0x1e9)?!![]:![],this[q(0x1cc)][q(0x1cb)](q(0x1c7),f[q(0x1f4)][q(0x1c7)]));typeof f[q(0x1f4)]['js']===q(0x1ee)&&(f['template']['js']=f[q(0x1f4)]['js']==='true'?!![]:![],this[q(0x1cc)][q(0x1cb)]('js',f[q(0x1f4)]['js']));!f[q(0x1dd)]&&(f[q(0x1dd)]={});const g=b['_']?b['_'][0x0][q(0x1d4)](':')[0x1]:![],h=b['_']&&aliases[q(0x1e3)](g);h&&!this[q(0x1cd)](q(0x1fb))&&(Log[q(0x1d5)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this['fsi'][q(0x1c8)](q(0x1fb),{'cwd':d}));if(h&&!this['checkNpmPackage'](q(0x1e1))){Log[q(0x1d5)](q(0x1c3));return;}const i={'name':pascalCase(b[q(0x1c6)]),'myPath':a126e['relative'](this[q(0x1cc)][q(0x1ea)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x1c6)]),'camelCaseName':camelCase(b[q(0x1c6)]),'fileName':paramCase(b['resourceName']),'graphql':f['engines']['graphql'],'features':f['features'],'client':f[q(0x1ef)][q(0x1f8)],'api':f[q(0x1ef)][q(0x1f6)],'ssr':f[q(0x1ef)][q(0x1ca)],'test':f['engines'][q(0x1c5)],'theme':f[q(0x1ef)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f['features']['withTranslations']};f['features']?.[q(0x1cf)]||b[q(0x1db)]?await this['fsi'][q(0x1f4)]({'srcPath':q(0x1d8),'destPath':e+q(0x1d7),'framework':q(0x1e1),'context':i,'config':f}):await this[q(0x1cc)][q(0x1f4)]({'srcPath':q(0x1d0),'destPath':e+q(0x1d7),'framework':q(0x1e1),'context':i,'config':f});f['engines'][q(0x1c5)]!=='none'&&await this[q(0x1cc)][q(0x1f4)]({'srcPath':'test/test.js','destPath':e+'.app-tests.js','framework':q(0x1e1),'context':i,'config':f});f[q(0x1f4)][q(0x1c7)]&&(await this[q(0x1cc)][q(0x1f4)]({'srcPath':q(0x1ce),'destPath':e+'.css','context':Object[q(0x1c4)]({},i,{'className':paramCase(b[q(0x1c6)])}),'config':f}),await this[q(0x1cc)][q(0x1d1)]({'filePath':e+'.'+f[q(0x1ef)]['js'],'content':'import\x20\x27./'+i['fileName']+'.'+f[q(0x1ef)][q(0x1c7)]+'\x27;'}));const j=b[q(0x1da)]?'/'+b[q(0x1da)]+'/':'/',k=''+c+j+i[q(0x1e7)]+'/'+i[q(0x1e7)];await this[q(0x1cc)][q(0x1f1)](i[q(0x1de)],f,k);});});
1
+ const a126o=a126d;function a126c(){const r=['Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','5485VZgyaT','string','pathFromApp','apply','true','layout','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','findAppDirectory','checkNpmPackage','(((.+)+)+)+$','create','.js','ssr','9664298xbsGee','react','278oiBFKg','withHooks','fsi','9840762FvbjGh','component/component.js','theme','test','search','4501IkpMJy','withValue','getMakaProjectConfig','constructor','toString','template/template.css','setTemplate','5375265lOqBuJ','className','maka\x20g:l\x20web/safari','244717IDfWvS','import\x20\x27./','resourceName','1304pPElVn','1500ydaMCE','2079bpgyKq','template','withHook','/imports/ui/layouts','engines','maka\x20g:layout\x20mobile/iPhone8','test/test.js','api','css','client','relative','ramda','injectTemplateModule','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','46416ncACpW','dir','injectAtBeginningOfFile','features','warn'];a126c=function(){return r;};return a126c();}(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(0x1e5))/0x1*(parseInt(l(0x1dd))/0x2)+-parseInt(l(0x1ec))/0x3+parseInt(l(0x1f2))/0x4*(parseInt(l(0x1ce))/0x5)+-parseInt(l(0x1e0))/0x6+parseInt(l(0x1db))/0x7+parseInt(l(0x1c8))/0x8*(-parseInt(l(0x1f4))/0x9)+parseInt(l(0x1f3))/0xa*(parseInt(l(0x1ef))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xe2c0d));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a[n(0x1e9)]()[n(0x1e4)](n(0x1d7))[n(0x1e9)]()[n(0x1e8)](a126a)[n(0x1e4)](n(0x1d7));});a126a();import a126e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a126d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a126o(0x1d8)]({'name':a126o(0x1d3),'aliases':aliases,'usage':a126o(0x1d4),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':['withHook'],'examples':[a126o(0x1f9),a126o(0x1ee)]},async function(a,b){const p=a126o,c=p(0x1f7),d=this[p(0x1df)][p(0x1d5)](),e=this['fsi'][p(0x1d0)]({'pathParts':[c,b['dir'],paramCase(b[p(0x1f1)]),paramCase(b[p(0x1f1)])]}),f=this[p(0x1df)][p(0x1e7)]();await this[p(0x1df)][p(0x1e6)](f,async()=>{const q=p;typeof f[q(0x1f5)][q(0x1e3)]===q(0x1cf)&&(f[q(0x1f5)][q(0x1e3)]=f[q(0x1f5)]['test']==='true'?!![]:![],this[q(0x1df)]['setTemplate'](q(0x1e3),f['template'][q(0x1e3)]));typeof f[q(0x1f5)][q(0x1fc)]==='string'&&(f[q(0x1f5)][q(0x1fc)]=f[q(0x1f5)][q(0x1fc)]===q(0x1d2)?!![]:![],this['fsi'][q(0x1eb)](q(0x1fc),f[q(0x1f5)]['css']));typeof f[q(0x1f5)]['js']===q(0x1cf)&&(f[q(0x1f5)]['js']=f[q(0x1f5)]['js']===q(0x1d2)?!![]:![],this[q(0x1df)][q(0x1eb)]('js',f['template']['js']));!f[q(0x1cb)]&&(f[q(0x1cb)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0x1d6)](q(0x1c5))&&(Log[q(0x1cc)](q(0x1cd)),this[q(0x1df)]['installNpmPackage'](q(0x1c5),{'cwd':d}));if(h&&!this[q(0x1d6)](q(0x1dc))){Log[q(0x1cc)](q(0x1c7));return;}const i={'name':pascalCase(b[q(0x1f1)]),'myPath':a126e[q(0x1c4)](this[q(0x1df)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0x1f1)]),'className':pascalCase(b[q(0x1f1)]),'camelCaseName':camelCase(b[q(0x1f1)]),'fileName':paramCase(b[q(0x1f1)]),'graphql':f['engines']['graphql'],'features':f[q(0x1cb)],'client':f['engines'][q(0x1fd)],'api':f[q(0x1f8)][q(0x1fb)],'ssr':f[q(0x1f8)][q(0x1da)],'test':f['engines'][q(0x1e3)],'theme':f[q(0x1f8)][q(0x1e2)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1cb)]['withTranslations']};f['features']?.[q(0x1de)]||b[q(0x1f6)]?await this['fsi'][q(0x1f5)]({'srcPath':'hook/hook.js','destPath':e+'.js','framework':q(0x1dc),'context':i,'config':f}):await this['fsi'][q(0x1f5)]({'srcPath':q(0x1e1),'destPath':e+q(0x1d9),'framework':q(0x1dc),'context':i,'config':f});f[q(0x1f8)][q(0x1e3)]!=='none'&&await this[q(0x1df)]['template']({'srcPath':q(0x1fa),'destPath':e+'.app-tests.js','framework':q(0x1dc),'context':i,'config':f});f[q(0x1f5)][q(0x1fc)]&&(await this[q(0x1df)]['template']({'srcPath':q(0x1ea),'destPath':e+'.css','context':Object['assign']({},i,{'className':paramCase(b[q(0x1f1)])}),'config':f}),await this[q(0x1df)][q(0x1ca)]({'filePath':e+'.'+f[q(0x1f8)]['js'],'content':q(0x1f0)+i['fileName']+'.'+f['engines'][q(0x1fc)]+'\x27;'}));const j=b[q(0x1c9)]?'/'+b[q(0x1c9)]+'/':'/',k=''+c+j+i['fileName']+'/'+i['fileName'];await this[q(0x1df)][q(0x1c6)](i[q(0x1ed)],f,k);});});
@@ -1 +1 @@
1
- const a127i=a127d;(function(a,b){const f=a127d,c=a();while(!![]){try{const d=parseInt(f(0x94))/0x1+-parseInt(f(0x86))/0x2+parseInt(f(0x98))/0x3*(-parseInt(f(0x91))/0x4)+parseInt(f(0x89))/0x5+-parseInt(f(0x92))/0x6*(-parseInt(f(0x8b))/0x7)+-parseInt(f(0x97))/0x8*(parseInt(f(0x93))/0x9)+parseInt(f(0x95))/0xa*(parseInt(f(0x8e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xefa2a));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x8c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a[h(0x8a)]()['search'](h(0x87))[h(0x8a)]()[h(0x85)](a127a)[h(0x90)](h(0x87));});function a127c(){const j=['1616GRLalW','1274379NqnEOu','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:scaffold\x20todos','constructor','1380390KBqXns','(((.+)+)+)+$','maka\x20g:template\x20todos/todo_item','4205045mwCikT','toString','388087wVvFkW','apply','maka\x20{generate,\x20g}:<generator>\x20<name>','35097392YIQege','maka\x20g:api\x20trucks','search','12MvRGiM','36tTcBBA','75321CPsgZp','272331jfJKmJ','10GOMZeu','maka\x20g:route\x20todos/edit'];a127c=function(){return j;};return a127c();}a127a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a127i(0x8d),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0x83),'examples':['maka\x20generate:scaffold\x20todos',a127i(0x84),a127i(0x88),'maka\x20g:package\x20package:name',a127i(0x96),a127i(0x8f),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x83;let f=c[d];return f;},a127d(a,b);}export default MakaGen;
1
+ const a127i=a127d;function a127c(){const j=['8148767Dxgnsb','toString','93yYJFxd','search','1615590sNLuav','12NSHhen','27452rmWqFN','7YslVyU','maka\x20g:scaffold\x20todos','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:api\x20trucks','maka\x20g:package\x20package:name','maka\x20{generate,\x20g}:<generator>\x20<name>','18682JYJzmQ','958928egCNnE','283141jNlATt','apply','9xgLIYy','1552590fdSsxl','5iFsWVZ','maka\x20g:template\x20todos/todo_item','generate','(((.+)+)+)+$'];a127c=function(){return j;};return a127c();}(function(a,b){const f=a127d,c=a();while(!![]){try{const d=parseInt(f(0xec))/0x1+parseInt(f(0xea))/0x2*(-parseInt(f(0xf6))/0x3)+parseInt(f(0xfa))/0x4*(-parseInt(f(0xf0))/0x5)+-parseInt(f(0xf8))/0x6*(parseInt(f(0xfb))/0x7)+-parseInt(f(0xeb))/0x8+parseInt(f(0xee))/0x9*(-parseInt(f(0xef))/0xa)+parseInt(f(0xf4))/0xb*(parseInt(f(0xf9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x2cb4a));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0xed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a['toString']()[h(0xf7)](h(0xf3))[h(0xf5)]()['constructor'](a127a)[h(0xf7)](h(0xf3));});a127a();import{Generator}from'../generator.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xea;let f=c[d];return f;},a127d(a,b);}const MakaGen=new Generator({'name':a127i(0xf2),'aliases':['g'],'usage':a127i(0x100),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0xfd),'examples':['maka\x20generate:scaffold\x20todos',a127i(0xfc),a127i(0xf1),a127i(0xff),'maka\x20g:route\x20todos/edit',a127i(0xfe),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
@@ -1 +1 @@
1
- const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0x1f0))/0x1*(-parseInt(j(0x1ed))/0x2)+parseInt(j(0x1f5))/0x3+-parseInt(j(0x1fb))/0x4+-parseInt(j(0x1e9))/0x5*(-parseInt(j(0x208))/0x6)+parseInt(j(0x205))/0x7*(parseInt(j(0x201))/0x8)+-parseInt(j(0x1f7))/0x9*(-parseInt(j(0x1ec))/0xa)+parseInt(j(0x209))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x6a18d));function a128c(){const p=['maka:check','dir','search','maka\x20{generate,\x20g}:{method,\x20m}\x20name','index.','getMakaProjectConfig','maka\x20g:method\x20todos','1445iYBusZ','import\x20\x27./methods','method/method.js','1510pnULwD','247306KSNVLW','-rpc-method.','fsi','6JAyRrl','template','ddp-rate-limiter','(((.+)+)+)+$','checkMeteorPackage','817527UUjCqs','method','33714UOpmWm','-rpc-method\x27;','withValue','tsx','2199260GyfjjH','engines','pathFromApp','create','appPathPrefix','constructor','24nYwRwb','injectAtEndOfFile','startup','error','485877zUkCAE','imports','resourceName','8922KhVHXI','2751925MVLBbd','apply'];a128c=function(){return p;};return a128c();}const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x20a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a['toString']()[l(0x20d)](l(0x1f3))['toString']()[l(0x200)](a128a)[l(0x20d)](l(0x1f3));});function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1e9;let f=c[d];return f;},a128d(a,b);}a128a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a128m(0x1fe)]({'name':a128m(0x1f6),'aliases':['m'],'usage':a128m(0x20e),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a128m(0x20c)],'examples':[a128m(0x211)]},async function(a,b){const n=a128m;try{const c=this[n(0x1ef)][n(0x210)]();await this[n(0x1ef)][n(0x1f9)](c,async()=>{const o=n,d=paramCase(b[o(0x207)]),f={'name':b[o(0x207)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0x207)]),'noRename':!![]};let g='js';c[o(0x1fc)]['js']===o(0x1fa)&&(g='ts');await this[o(0x1ef)][o(0x1f4)]([o(0x20b),o(0x1f2),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x1ef)][o(0x1f1)]({'srcPath':o(0x1eb),'destPath':this[o(0x1ef)][o(0x1fd)]({'pathParts':[o(0x206),o(0x203),b[o(0x1ff)],'methods',b['dir'],d+o(0x1ee)+g]}),'context':f,'config':c});const h=b[o(0x20c)]?'/'+b[o(0x20c)]+'/':'/',i=this['fsi']['pathFromApp']({'pathParts':['imports','startup',b[o(0x1ff)],o(0x20f)+c[o(0x1fc)]['js']]});await this[o(0x1ef)][o(0x202)]({'filePath':i,'content':o(0x1ea)+h+d+o(0x1f8)});});}catch(d){Log[n(0x204)](d);}});
1
+ const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(0x98))/0x1+parseInt(j(0x91))/0x2*(parseInt(j(0x8e))/0x3)+-parseInt(j(0x88))/0x4+-parseInt(j(0x9b))/0x5+parseInt(j(0x86))/0x6+-parseInt(j(0x7f))/0x7*(-parseInt(j(0x99))/0x8)+parseInt(j(0x8b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x20c11));function a128c(){const p=['method','mdg:validated-method','search','160272qRBFRH','toString','426112nkFuwj','methods','create','2874438kVgMdy','maka\x20g:method\x20todos','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','288hMcSRP','-rpc-method.','pathFromApp','2890ifKkCV','method/method.js','constructor','resourceName','imports','appPathPrefix','error','24417hbnmRq','552jmYCGB','fsi','1245855hhcGic','(((.+)+)+)+$','engines','startup','injectAtEndOfFile','index.','import\x20\x27./methods','dir','tsx','withValue','2989pKCeYj','template','apply','-rpc-method\x27;'];a128c=function(){return p;};return a128c();}const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a['toString']()[l(0x85)]('(((.+)+)+)+$')[l(0x87)]()[l(0x93)](a128a)[l(0x85)](l(0x9c));});a128a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x7e;let f=c[d];return f;},a128d(a,b);}Generator[a128m(0x8a)]({'name':a128m(0x83),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a128m(0x8d),'validOpts':[a128m(0xa2)],'examples':[a128m(0x8c)]},async function(a,b){const n=a128m;try{const c=this['fsi']['getMakaProjectConfig']();await this['fsi'][n(0x7e)](c,async()=>{const o=n,d=paramCase(b[o(0x94)]),f={'name':b[o(0x94)],'fileName':d,'className':pascalCase(b[o(0x94)]),'camelCase':camelCase(b[o(0x94)]),'noRename':!![]};let g='js';c['engines']['js']===o(0xa3)&&(g='ts');await this[o(0x9a)]['checkMeteorPackage'](['maka:check','ddp-rate-limiter',o(0x84)],{'shouldInstall':!![]}),await this[o(0x9a)][o(0x80)]({'srcPath':o(0x92),'destPath':this['fsi'][o(0x90)]({'pathParts':[o(0x95),o(0x9e),b[o(0x96)],o(0x89),b[o(0xa2)],d+o(0x8f)+g]}),'context':f,'config':c});const h=b[o(0xa2)]?'/'+b[o(0xa2)]+'/':'/',i=this[o(0x9a)][o(0x90)]({'pathParts':[o(0x95),o(0x9e),b['appPathPrefix'],o(0xa0)+c[o(0x9d)]['js']]});await this[o(0x9a)][o(0x9f)]({'filePath':i,'content':o(0xa1)+h+d+o(0x82)});});}catch(d){Log[n(0x97)](d);}});
@@ -1 +1 @@
1
- const a129o=a129d;function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xb8;let f=c[d];return f;},a129d(a,b);}(function(a,b){const l=a129d,c=a();while(!![]){try{const d=-parseInt(l(0xcd))/0x1*(-parseInt(l(0xde))/0x2)+parseInt(l(0xd2))/0x3*(-parseInt(l(0xd6))/0x4)+-parseInt(l(0xd9))/0x5+parseInt(l(0xbb))/0x6+-parseInt(l(0xc9))/0x7+parseInt(l(0xd5))/0x8*(parseInt(l(0xe3))/0x9)+-parseInt(l(0xd3))/0xa*(-parseInt(l(0xc7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x98b59));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0xe1)]()[n(0xdf)](n(0xd7))[n(0xe1)]()[n(0xe4)](a129a)[n(0xdf)](n(0xd7));});function a129c(){const r=['layout','engines','pathFromAppWithNoReWrite','hasOwnProperty','23710OGIRam','search','template','toString','features','3671424yeMbei','constructor','package/package.js','store','tests/server','package','fsi','4783980briJVA','package.js','packages','withValue','apply','/package.js','noRename','resourceName','template/template.js','create','ssr','maka\x20g:package\x20todos:package','517LYqQvw','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','6194412QNxoTi','server','lib','.js','58jXitGX','component','getMakaProjectConfig','/client/','dir','3BlGBtD','176570EIcPsD','relative','16DTmYrF','2286524OHFxHM','(((.+)+)+)+$','theme','5243135InpFMa'];a129c=function(){return r;};return a129c();}a129a();import a129e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a129o(0xc4)]({'name':a129o(0xb9),'aliases':['p'],'usage':a129o(0xc8),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a129o(0xd1)],'examples':[a129o(0xc6)]},async function(a,b){const p=a129o,c=paramCase(b[p(0xc2)]),d=this[p(0xba)]['pathFromApp']({'pathParts':[p(0xbd),b[p(0xd1)],c]}),e=this[p(0xba)][p(0xdc)]({'pathParts':[p(0xbd),b[p(0xd1)],c,p(0xbc)]}),f=this[p(0xba)][p(0xcf)]();await this['fsi'][p(0xbe)](f,async()=>{const q=p,g={'name':paramCase(b[q(0xc2)]),'myPath':a129e[q(0xd4)](this['fsi']['pathFromProject']({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xc2)]),'fileName':c,'client':f[q(0xdb)]['client'],'graphql':f[q(0xdb)]['graphql'],'ssr':f[q(0xdb)][q(0xc5)],'isComponent':b[q(0xdd)](q(0xce)),'isLayout':b['hasOwnProperty'](q(0xda)),'isStore':b[q(0xdd)](q(0xe6)),'features':f[q(0xe2)],'noRename':!![],'theme':f[q(0xdb)][q(0xd8)]};await this[q(0xba)][q(0xe0)]({'srcPath':q(0xe5),'destPath':e,'context':g,'config':f}),g[q(0xc1)]=![];const h=d+q(0xd0)+c+q(0xcc);await this[q(0xba)]['template']({'srcPath':q(0xc3),'destPath':h,'context':g,'config':f});const i=[q(0xcb),q(0xca),'tests/client',q(0xb8)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0xba)][q(0xe0)]({'srcPath':'package/'+j+q(0xc0),'destPath':k,'context':g,'config':f});}});});
1
+ function a129c(){const r=['relative','(((.+)+)+)+$','10045oDyCQv','search','template','packages','dir','1113891Oagyfy','template/template.js','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','fsi','apply','toString','1556454MngGtX','package.js','client','.js','getMakaProjectConfig','620768AWGPQp','store','3876481wXwdKt','theme','features','pathFromApp','9ZtNMAG','package/package.js','/package.js','427182MIulwF','tests/server','pathFromProject','server','layout','maka\x20g:package\x20todos:package','6424136oMAuSF','resourceName','engines','package/','796ECZRat','noRename','/client/','hasOwnProperty','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html'];a129c=function(){return r;};return a129c();}const a129o=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=parseInt(l(0xab))/0x1+parseInt(l(0xb4))/0x2+-parseInt(l(0xca))/0x3+parseInt(l(0xbe))/0x4*(-parseInt(l(0xc5))/0x5)+parseInt(l(0xa6))/0x6+-parseInt(l(0xad))/0x7+parseInt(l(0xba))/0x8*(parseInt(l(0xb1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x8ba0a));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0xa5)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a129a)[n(0xc6)](n(0xc4));});a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xa5;let f=c[d];return f;},a129d(a,b);}import a129e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':'package','aliases':['p'],'usage':a129o(0xcc),'shortDesc':a129o(0xc2),'validOpts':['dir'],'examples':[a129o(0xb9)]},async function(a,b){const p=a129o,c=paramCase(b[p(0xbb)]),d=this[p(0xcd)][p(0xb0)]({'pathParts':[p(0xc8),b['dir'],c]}),e=this['fsi']['pathFromAppWithNoReWrite']({'pathParts':[p(0xc8),b[p(0xc9)],c,p(0xa7)]}),f=this[p(0xcd)][p(0xaa)]();await this[p(0xcd)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0xbb)]),'myPath':a129e[q(0xc3)](this[q(0xcd)][q(0xb6)]({}),d),'cssCaseName':paramCase(b[q(0xbb)]),'className':pascalCase(b[q(0xbb)]),'camelCaseName':camelCase(b[q(0xbb)]),'fileName':c,'client':f[q(0xbc)][q(0xa8)],'graphql':f['engines']['graphql'],'ssr':f['engines']['ssr'],'isComponent':b[q(0xc1)]('component'),'isLayout':b[q(0xc1)](q(0xb8)),'isStore':b['hasOwnProperty'](q(0xac)),'features':f[q(0xaf)],'noRename':!![],'theme':f[q(0xbc)][q(0xae)]};await this[q(0xcd)][q(0xc7)]({'srcPath':q(0xb2),'destPath':e,'context':g,'config':f}),g[q(0xbf)]=![];const h=d+q(0xc0)+c+q(0xa9);await this['fsi'][q(0xc7)]({'srcPath':q(0xcb),'destPath':h,'context':g,'config':f});const i=['lib',q(0xb7),'tests/client',q(0xb5)];for(const j of i){const k=d+'/'+j+'/'+c+q(0xa9);await this[q(0xcd)][q(0xc7)]({'srcPath':q(0xbd)+j+q(0xb3),'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(0x19f))/0x1+-parseInt(j(0x1c4))/0x2+parseInt(j(0x1c7))/0x3*(parseInt(j(0x1ad))/0x4)+parseInt(j(0x1b3))/0x5*(-parseInt(j(0x1c1))/0x6)+-parseInt(j(0x1be))/0x7*(-parseInt(j(0x1b2))/0x8)+parseInt(j(0x1b1))/0x9*(-parseInt(j(0x1ce))/0xa)+parseInt(j(0x1bd))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xdae64));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a[l(0x1b8)]()[l(0x19d)]('(((.+)+)+)+$')[l(0x1b8)]()[l(0x1bb)](a130a)[l(0x19d)]('(((.+)+)+)+$');});a130a();import a130e from'path';import{Generator}from'../generator.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x191;let f=c[d];return f;},a130d(a,b);}import{Log}from'../tools/log/log.class.js';import a130f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';function a130c(){const p=['client','true','/imports/ui/','create','getMakaProjectConfig','baseDir','html','pathFromProject','css','template/template.html','layouts','vanilla','.js','fileName','className','string','withHook','store','search','route','889192lPaOnL','maka\x20g:page\x20todos/todos-item','resourceName','injectTemplateModule','theme','root','dir','import\x20\x27./','none','checkNpmPackage','test/test.js','features','react','ramda','71332yZtOJS','hasOwnProperty','page','Generate\x20a\x20page.','729wBzIuh','11266952IWOpRk','5OCIzDA','withHooks','injectAtBeginningOfFile','findAppDirectory','assign','toString','Updating\x20npm\x20packages\x20...','withValue','constructor','apply','13820840SKKPwP','7XllExZ','pathFromApp','pages','5367948gKaAkh','ssr','engines','106602vkfpsy','fsi','.html','267LlWMDZ','template','withTranslations','template/template.css','setTemplate','test','hooks','187430ZyftZw','relative'];a130c=function(){return p;};return a130c();}const aliases=['p'];Generator[a130m(0x1d3)]({'name':a130m(0x1af),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a130m(0x1b0),'validOpts':[{'name':a130m(0x1d5),'values':[a130m(0x1cd),'components',a130m(0x1c0),a130m(0x195)]},{'name':'withHook','boolFlag':!![]}],'examples':[a130m(0x1a0)]},async function(a,b){const n=a130m,c=b[n(0x1d5)]?n(0x1d2)+b[n(0x1d5)]:'/imports/ui/pages',d=this[n(0x1c5)][n(0x1b6)](),e=this[n(0x1c5)][n(0x1bf)]({'pathParts':[c,b[n(0x1a5)],paramCase(b[n(0x1a1)]),paramCase(b[n(0x1a1)])]}),f=this[n(0x1c5)][n(0x1d4)]();let g='';return await this[n(0x1c5)][n(0x1ba)](f,async()=>{const o=n;typeof f[o(0x1c8)][o(0x191)]===o(0x19a)&&(f[o(0x1c8)][o(0x191)]=f[o(0x1c8)]['html']===o(0x1d1)?!![]:![],this[o(0x1c5)]['setTemplate']('html',f[o(0x1c8)][o(0x191)]));typeof f[o(0x1c8)]['test']===o(0x19a)&&(f[o(0x1c8)][o(0x1cc)]=f['template'][o(0x1cc)]==='true'?!![]:![],this[o(0x1c5)][o(0x1cb)](o(0x1cc),f[o(0x1c8)][o(0x1cc)]));typeof f[o(0x1c8)]['css']===o(0x19a)&&(f[o(0x1c8)][o(0x193)]=f[o(0x1c8)][o(0x193)]===o(0x1d1)?!![]:![],this['fsi']['setTemplate'](o(0x193),f['template'][o(0x193)]));typeof f[o(0x1c8)]['js']===o(0x19a)&&(f[o(0x1c8)]['js']=f[o(0x1c8)]['js']==='true'?!![]:![],this[o(0x1c5)][o(0x1cb)]('js',f[o(0x1c8)]['js']));!f['features']&&(f['features']={});!b['root']&&!this['fsi'][o(0x1a8)](o(0x1ac))&&(Log['warn'](o(0x1b9)),this[o(0x1c5)]['installNpmPackage']('ramda',{'cwd':d}));const h={'name':pascalCase(b[o(0x1a1)]),'myPath':a130e[o(0x1cf)](this[o(0x1c5)][o(0x192)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[o(0x1a1)]),'fileName':paramCase(b[o(0x1a1)]),'graphql':f[o(0x1c3)]['graphql'],'features':f['features'],'client':f[o(0x1c3)][o(0x1d0)],'api':f[o(0x1c3)]['api'],'ssr':f['engines'][o(0x1c2)],'isStore':b[o(0x1ae)](o(0x19c)),'isComponent':b[o(0x1ae)]('component'),'isLayout':b[o(0x1ae)]('layout'),'withTranslations':f[o(0x1aa)][o(0x1c9)],'test':f[o(0x1c3)][o(0x1cc)],'theme':f['engines'][o(0x1a3)]};f[o(0x1c8)][o(0x191)]&&await this[o(0x1c5)][o(0x1c8)]({'srcPath':o(0x194),'destPath':e+o(0x1c6),'context':h,'config':f});f[o(0x1aa)]?.[o(0x1b4)]||b[o(0x19b)]?await this[o(0x1c5)][o(0x1c8)]({'srcPath':'hook/hook.js','destPath':e+'.js','framework':o(0x1ab),'context':h,'config':f}):await this[o(0x1c5)][o(0x1c8)]({'srcPath':'component/component.js','destPath':e+o(0x197),'framework':o(0x1ab),'context':h,'config':f});f['engines'][o(0x1cc)]!==o(0x1a7)&&await this[o(0x1c5)][o(0x1c8)]({'srcPath':o(0x1a9),'destPath':e+'.app-tests.js','framework':o(0x1ab),'context':h,'config':f});f['template'][o(0x193)]&&await this[o(0x1c5)][o(0x1c8)]({'srcPath':o(0x1ca),'destPath':e+'.css','context':Object[o(0x1b7)]({},h,{'className':paramCase(b[o(0x1a1)])}),'config':f});f[o(0x1c3)][o(0x1d0)]!=='react'&&f[o(0x1c3)][o(0x1d0)]!==o(0x196)?(f[o(0x1c8)][o(0x193)]&&await this[o(0x1c5)][o(0x1b5)]({'filePath':e+'.'+f[o(0x1c3)]['js'],'content':o(0x1a6)+h['fileName']+'.'+f[o(0x1c3)][o(0x191)]+'\x27;\x0a'+o(0x1a6)+h[o(0x198)]+'.'+f[o(0x1c3)][o(0x193)]+'\x27;'}),!f[o(0x1c8)][o(0x193)]&&await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+h[o(0x198)]+'.'+f['engines'][o(0x191)]+'\x27;'})):f[o(0x1c8)][o(0x193)]&&await this[o(0x1c5)][o(0x1b5)]({'filePath':e+'.'+f[o(0x1c3)]['js'],'content':o(0x1a6)+h[o(0x198)]+'.'+f[o(0x1c3)][o(0x193)]+'\x27;'});const i=b['dir']?'/'+b[o(0x1a5)]+'/':'/';g=''+c+i+h['fileName']+'/'+h[o(0x198)],await this['fsi'][o(0x1a2)](h[o(0x199)],f,g),!b[o(0x1a4)]&&await a130f['processAndRunGenerator'](o(0x19e),[i+b[o(0x1a1)]],b);}),g+'.'+f['engines']['js'];});
1
+ const a130m=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=-parseInt(j(0xb7))/0x1*(-parseInt(j(0xad))/0x2)+-parseInt(j(0xb0))/0x3+parseInt(j(0xb3))/0x4*(-parseInt(j(0xc9))/0x5)+parseInt(j(0xac))/0x6+parseInt(j(0xb2))/0x7+parseInt(j(0xd8))/0x8*(parseInt(j(0xc0))/0x9)+-parseInt(j(0xa3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xe3451));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a[l(0x9b)]()['search'](l(0x9e))[l(0x9b)]()[l(0xcb)](a130a)[l(0xbe)](l(0x9e));});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';import{camelCase,paramCase,pascalCase}from'change-case';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x8d;let f=c[d];return f;},a130d(a,b);}const aliases=['p'];function a130c(){const p=['template','toString','injectTemplateModule','hook/hook.js','(((.+)+)+)+$','html','installNpmPackage','pages','client','11818700ymEKTC','dir','withTranslations','component','getMakaProjectConfig','hooks','css','relative','/imports/ui/','1740624BUVTcp','2tfrVxu','withHooks','assign','675006cecxCV','withHook','3221869zvLKfc','54484VWrAeW','ssr','string','findAppDirectory','1442614hxVEnD','processAndRunGenerator','Updating\x20npm\x20packages\x20...','className','true','maka\x20g:page\x20todos/todos-item','import\x20\x27./','search','create','9cuIgTE','/imports/ui/pages','none','hasOwnProperty','page','test','vanilla','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','fsi','510uTlveo','component/component.js','constructor','baseDir','store','injectAtBeginningOfFile','features','\x27;\x0a','.app-tests.js','Generate\x20a\x20page.','setTemplate','.html','react','fileName','theme','12273008IFHQOM','ramda','.js','pathFromProject','template/template.css','resourceName','apply','root','api','test/test.js','checkNpmPackage','graphql','engines','components','layouts'];a130c=function(){return p;};return a130c();}Generator[a130m(0xbf)]({'name':a130m(0xc4),'aliases':aliases,'usage':a130m(0xc7),'shortDesc':a130m(0xd2),'validOpts':[{'name':a130m(0xcc),'values':[a130m(0xa8),a130m(0x98),a130m(0xa1),a130m(0x99)]},{'name':'withHook','boolFlag':!![]}],'examples':[a130m(0xbc)]},async function(a,b){const n=a130m,c=b[n(0xcc)]?n(0xab)+b[n(0xcc)]:n(0xc1),d=this[n(0xc8)][n(0xb6)](),e=this[n(0xc8)]['pathFromApp']({'pathParts':[c,b[n(0xa4)],paramCase(b[n(0x90)]),paramCase(b[n(0x90)])]}),f=this[n(0xc8)][n(0xa7)]();let g='';return await this['fsi']['withValue'](f,async()=>{const o=n;typeof f[o(0x9a)]['html']===o(0xb5)&&(f['template'][o(0x9f)]=f[o(0x9a)][o(0x9f)]===o(0xbb)?!![]:![],this['fsi']['setTemplate']('html',f[o(0x9a)][o(0x9f)]));typeof f[o(0x9a)][o(0xc5)]==='string'&&(f['template'][o(0xc5)]=f['template'][o(0xc5)]===o(0xbb)?!![]:![],this[o(0xc8)][o(0xd3)](o(0xc5),f['template'][o(0xc5)]));typeof f[o(0x9a)][o(0xa9)]===o(0xb5)&&(f[o(0x9a)][o(0xa9)]=f[o(0x9a)][o(0xa9)]===o(0xbb)?!![]:![],this['fsi'][o(0xd3)](o(0xa9),f[o(0x9a)][o(0xa9)]));typeof f['template']['js']===o(0xb5)&&(f[o(0x9a)]['js']=f[o(0x9a)]['js']===o(0xbb)?!![]:![],this[o(0xc8)][o(0xd3)]('js',f['template']['js']));!f[o(0xcf)]&&(f['features']={});!b[o(0x92)]&&!this['fsi'][o(0x95)](o(0xd9))&&(Log['warn'](o(0xb9)),this[o(0xc8)][o(0xa0)](o(0xd9),{'cwd':d}));const h={'name':pascalCase(b[o(0x90)]),'myPath':a130e[o(0xaa)](this[o(0xc8)][o(0x8e)]({}),e),'cssCaseName':paramCase(b[o(0x90)]),'className':pascalCase(b[o(0x90)]),'camelCaseName':camelCase(b[o(0x90)]),'fileName':paramCase(b[o(0x90)]),'graphql':f['engines'][o(0x96)],'features':f[o(0xcf)],'client':f[o(0x97)][o(0xa2)],'api':f[o(0x97)][o(0x93)],'ssr':f[o(0x97)][o(0xb4)],'isStore':b['hasOwnProperty'](o(0xcd)),'isComponent':b[o(0xc3)](o(0xa6)),'isLayout':b['hasOwnProperty']('layout'),'withTranslations':f[o(0xcf)][o(0xa5)],'test':f[o(0x97)]['test'],'theme':f[o(0x97)][o(0xd7)]};f[o(0x9a)][o(0x9f)]&&await this[o(0xc8)]['template']({'srcPath':'template/template.html','destPath':e+o(0xd4),'context':h,'config':f});f[o(0xcf)]?.[o(0xae)]||b[o(0xb1)]?await this[o(0xc8)][o(0x9a)]({'srcPath':o(0x9d),'destPath':e+o(0x8d),'framework':o(0xd5),'context':h,'config':f}):await this[o(0xc8)][o(0x9a)]({'srcPath':o(0xca),'destPath':e+o(0x8d),'framework':o(0xd5),'context':h,'config':f});f[o(0x97)][o(0xc5)]!==o(0xc2)&&await this[o(0xc8)]['template']({'srcPath':o(0x94),'destPath':e+o(0xd1),'framework':'react','context':h,'config':f});f[o(0x9a)][o(0xa9)]&&await this[o(0xc8)]['template']({'srcPath':o(0x8f),'destPath':e+'.css','context':Object[o(0xaf)]({},h,{'className':paramCase(b['resourceName'])}),'config':f});f[o(0x97)][o(0xa2)]!=='react'&&f[o(0x97)][o(0xa2)]!==o(0xc6)?(f[o(0x9a)][o(0xa9)]&&await this['fsi'][o(0xce)]({'filePath':e+'.'+f[o(0x97)]['js'],'content':o(0xbd)+h['fileName']+'.'+f[o(0x97)][o(0x9f)]+o(0xd0)+o(0xbd)+h[o(0xd6)]+'.'+f[o(0x97)][o(0xa9)]+'\x27;'}),!f[o(0x9a)][o(0xa9)]&&await this[o(0xc8)][o(0xce)]({'filePath':e+'.'+f[o(0x97)]['js'],'content':o(0xbd)+h[o(0xd6)]+'.'+f['engines'][o(0x9f)]+'\x27;'})):f[o(0x9a)][o(0xa9)]&&await this[o(0xc8)][o(0xce)]({'filePath':e+'.'+f[o(0x97)]['js'],'content':'import\x20\x27./'+h['fileName']+'.'+f[o(0x97)][o(0xa9)]+'\x27;'});const i=b[o(0xa4)]?'/'+b['dir']+'/':'/';g=''+c+i+h[o(0xd6)]+'/'+h['fileName'],await this[o(0xc8)][o(0x9c)](h[o(0xba)],f,g),!b['root']&&await a130f[o(0xb8)]('route',[i+b['resourceName']],b);}),g+'.'+f['engines']['js'];});
@@ -1 +1 @@
1
- const a131o=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=parseInt(m(0x1c2))/0x1*(-parseInt(m(0x1e6))/0x2)+-parseInt(m(0x1d5))/0x3+-parseInt(m(0x1d4))/0x4*(parseInt(m(0x1d1))/0x5)+-parseInt(m(0x1db))/0x6*(-parseInt(m(0x1d0))/0x7)+parseInt(m(0x1e5))/0x8*(-parseInt(m(0x1cf))/0x9)+-parseInt(m(0x1df))/0xa*(-parseInt(m(0x1cc))/0xb)+parseInt(m(0x1d2))/0xc*(parseInt(m(0x1c1))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xcd8a9));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0x1c5)]()[n(0x1e7)](n(0x1cd))[n(0x1c5)]()['constructor'](a131a)['search'](n(0x1cd));});a131a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a131d(a,b);}function a131c(){const r=['getMakaProjectConfig','10aGKpsq','import\x20\x27./publications','resourceName','force','/imports/startup/server/publications','startup','71480wLnEOx','2ngWzeL','search','error','39HKCSxi','1462195mWTQMQ','dir','globalPublish','toString','imports','maka\x20g:publish\x20todos','tsx','/imports/ui/','create','baseDir','9333401uwpKEe','(((.+)+)+)+$','publish/publish.js','1197kQTfqZ','7RUVici','42015jnIftG','12851472ndgeWa','pathFromApp','288gAbaSu','3051402WmdZxZ','template','injectAtEndOfFile','engines','fsi','publish','6319428AkEIob','withValue','exit'];a131c=function(){return r;};return a131c();}import{Log}from'../tools/log/log.class.js';Generator[a131o(0x1ca)]({'name':a131o(0x1da),'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':[a131o(0x1e2),'globalPublish'],'examples':[a131o(0x1c7)]},async function(a,b){const p=a131o;try{const c=b[p(0x1e2)]||![],d=b[p(0x1cb)]?p(0x1c9)+b[p(0x1cb)]:p(0x1e3),f=this[p(0x1d9)][p(0x1de)](),g=paramCase(b[p(0x1e1)]),h=this[p(0x1d9)][p(0x1d3)]({'pathParts':[d,b[p(0x1c3)],'',g]});let i='js';f[p(0x1d8)]['js']===p(0x1c8)&&(i='ts');await this['fsi'][p(0x1dc)](f,async()=>{const q=p,l={'name':b[q(0x1e1)],'collection':pascalCase(b[q(0x1e1)]),'noRename':!![],'globalPublish':b[q(0x1c4)]};await this['fsi'][q(0x1d6)]({'srcPath':q(0x1ce),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[p(0x1d9)][p(0x1d3)]({'pathParts':[p(0x1c6),p(0x1e4),'server',b['appPathPrefix'],'index.'+f[p(0x1d8)]['js']]}),k=b['dir']?'/'+b[p(0x1c3)]+'/':'/';return await this[p(0x1d9)][p(0x1d7)]({'filePath':j,'content':p(0x1e0)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[p(0x1e8)](l),process[p(0x1dd)](0x1);}});
1
+ function a131c(){const s=['10JfDtcX','index.','10qSHwEm','error','2461624lWdNdf','2619548zLpwID','force','withValue','apply','globalPublish','engines','template','tsx','6203211SBwVSN','publish','resourceName','maka\x20g:publish\x20todos','import\x20\x27./publications','exit','dir','search','getMakaProjectConfig','1400074ekVGsU','1012173FbcfsQ','5214483vQikYs','pathFromApp','constructor','create','3124068ACNxvJ','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','(((.+)+)+)+$','fsi','3NKBWkL','/imports/ui/','injectAtEndOfFile','baseDir','toString'];a131c=function(){return s;};return a131c();}const a131p=a131d;function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a131d(a,b);}(function(a,b){const m=a131d,c=a();while(!![]){try{const d=parseInt(m(0x1aa))/0x1+-parseInt(m(0x1a9))/0x2+-parseInt(m(0x1b3))/0x3*(parseInt(m(0x1bd))/0x4)+parseInt(m(0x1ba))/0x5*(parseInt(m(0x1af))/0x6)+-parseInt(m(0x1c5))/0x7+parseInt(m(0x1bc))/0x8+-parseInt(m(0x1ab))/0x9*(-parseInt(m(0x1b8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xaac82));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a[o(0x1b7)]()[o(0x1a7)](o(0x1b1))[o(0x1b7)]()[o(0x1ad)](a131a)[o(0x1a7)](o(0x1b1));});a131a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a131p(0x1ae)]({'name':a131p(0x1c6),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':a131p(0x1b0),'validOpts':['force','globalPublish'],'examples':[a131p(0x1c8)]},async function(a,b){const q=a131p;try{const c=b[q(0x1be)]||![],d=b[q(0x1b6)]?q(0x1b4)+b[q(0x1b6)]:'/imports/startup/server/publications',f=this[q(0x1b2)][q(0x1a8)](),g=paramCase(b['resourceName']),h=this[q(0x1b2)][q(0x1ac)]({'pathParts':[d,b[q(0x1a6)],'',g]});let i='js';f[q(0x1c2)]['js']===q(0x1c4)&&(i='ts');await this['fsi'][q(0x1bf)](f,async()=>{const r=q,l={'name':b[r(0x1c7)],'collection':pascalCase(b[r(0x1c7)]),'noRename':!![],'globalPublish':b[r(0x1c1)]};await this[r(0x1b2)][r(0x1c3)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this['fsi'][q(0x1ac)]({'pathParts':['imports','startup','server',b['appPathPrefix'],q(0x1b9)+f[q(0x1c2)]['js']]}),k=b[q(0x1a6)]?'/'+b[q(0x1a6)]+'/':'/';return await this[q(0x1b2)][q(0x1b5)]({'filePath':j,'content':q(0x1c9)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0x1bb)](l),process[q(0x1a5)](0x1);}});