@maka/maka-cli 4.12.4 → 4.12.5

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
- function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x14f;let f=c[d];return f;},a116d(a,b);}const a116r=a116d;function a116c(){const u=['(((.+)+)+)+$','force','/imports/startup/client','32pBAUXV','20677086HRGAtb','injectImport','const\x20deauthenticateUser','const\x20authenticateToken','meteor/meteor','processAndRunGenerator','598587VwbyJa','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\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','const\x20registerNewUser','exit','create','const\x20resetPasswordWithToken','imports','\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','toString','injectIntoFile','2371719cPBcPx','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','export\x20const\x20AuthProvider','meteor','error','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/lib','template','fsi','meteor/accounts-base','const\x20getUserAuthorizations','authentication-provider','\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','constructor','567486yDIoIB','const\x20sendForgotPasswordEmail','/imports/startup/lib/authentication-service','Meteor.startup','authentication-service','pathFromApp','3412976lYHweZ','kit/auth/service/meteor-auth-service.js','apply','index','const\x20authenticateUser','Meteor.publish','alanning:roles','auth/roles','true','accounts-password','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','checkMeteorPackage','injectIntoCodeBlock','ssr','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','startup','\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','548653vzXmHU','useTracker','48yBfuOn','522890sLaezj','\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','\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','.js','AuthService','kit:auth:provider','Meteor'];a116c=function(){return u;};return a116c();}(function(a,b){const o=a116d,c=a();while(!![]){try{const d=parseInt(o(0x172))/0x1+-parseInt(o(0x18b))/0x2+-parseInt(o(0x17d))/0x3+-parseInt(o(0x191))/0x4+-parseInt(o(0x161))/0x5*(parseInt(o(0x160))/0x6)+parseInt(o(0x15e))/0x7*(parseInt(o(0x16b))/0x8)+parseInt(o(0x16c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x6cbbd));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0x193)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0x17b)]()['search'](q(0x168))[q(0x17b)]()[q(0x18a)](a116a)['search']('(((.+)+)+)+$');});a116a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a116e from'./auth.generator.js';import a116f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a116r(0x177)]({'name':a116r(0x180),'aliases':['m'],'usage':a116r(0x156),'shortDesc':a116r(0x173),'validOpts':[a116r(0x169)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a116r(0x162)},async function(a,b){const s=a116r;try{const c=b['force']||![];await this[s(0x185)][s(0x157)]([s(0x155),s(0x152)],{'shouldInstall':!![]});const d=this[s(0x185)]['findProjectDirectory'](),f=this[s(0x185)]['getMakaProjectConfig'](),g=f['engines'][s(0x159)]===s(0x154);await a116f[s(0x171)](s(0x166),[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0x171)]('publish',[s(0x153)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x183):s(0x16a),j=this[s(0x185)][s(0x190)]({'pathParts':[i,'','',s(0x18f)]});await this['fsi']['withValue'](f,async()=>{const t=s;await this[t(0x185)][t(0x184)]({'srcPath':t(0x192),'destPath':j+t(0x164),'framework':'react','context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x185)]['pathFromApp']({'pathParts':[i,'','',s(0x188)]}),l=f['engines']['js'];await this['fsi']['injectImport']({'filePath':k+'.'+l,'importName':s(0x165),'modulePath':g?s(0x18d):'/imports/startup/client/authentication-service','isNamedExport':![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x174),'begin':s(0x150),'replace':!![]}),await this[s(0x185)][s(0x158)]({'filePath':k+'.'+l,'content':s(0x189),'begin':s(0x16f),'replace':!![]}),await this[s(0x185)][s(0x158)]({'filePath':k+'.'+l,'content':s(0x15a),'begin':s(0x187),'replace':!![]}),await this[s(0x185)][s(0x158)]({'filePath':k+'.'+l,'content':s(0x17e),'begin':s(0x16e),'replace':!![]}),await this[s(0x185)][s(0x158)]({'filePath':k+'.'+l,'content':s(0x15b),'begin':s(0x18c),'replace':!![]}),await this[s(0x185)][s(0x158)]({'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':s(0x175),'replace':!![]}),await this[s(0x185)][s(0x158)]({'filePath':k+'.'+l,'content':s(0x182),'begin':s(0x178),'replace':!![]});g&&(await this[s(0x185)]['injectImport']({'filePath':k+'.'+l,'importName':s(0x15f),'modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await this[s(0x185)][s(0x17c)]({'filePath':k+'.'+l,'content':s(0x17a),'begin':s(0x17f),'end':'return\x20\x5c('}));await this[s(0x185)][s(0x16d)]({'filePath':h,'importName':s(0x167),'modulePath':s(0x170),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x185)][s(0x158)]({'filePath':h,'content':s(0x163),'begin':s(0x151),'replace':!![]});const m=this[s(0x185)][s(0x190)]({'pathParts':[s(0x179),s(0x15c),'server',s(0x14f)]});await this['fsi'][s(0x16d)]({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0x186),'isNamedExport':!![]}),await this[s(0x185)][s(0x158)]({'filePath':m+'.'+l,'content':s(0x15d),'begin':s(0x18e),'replace':!![]});}catch(n){Log[s(0x181)](n),process[s(0x176)](0x1);}},async function(){},a116e);
1
+ const a116r=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=-parseInt(o(0x7b))/0x1*(parseInt(o(0x80))/0x2)+parseInt(o(0xaa))/0x3+-parseInt(o(0x7e))/0x4+-parseInt(o(0x8a))/0x5*(-parseInt(o(0x7c))/0x6)+-parseInt(o(0x86))/0x7*(-parseInt(o(0x7a))/0x8)+-parseInt(o(0xb0))/0x9+parseInt(o(0x9b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xae6f4));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0x7d)]()[q(0x74)](q(0x81))[q(0x7d)]()[q(0x8b)](a116a)[q(0x74)](q(0x81));});a116a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a116e from'./auth.generator.js';function a116c(){const u=['const\x20deauthenticateUser','ssr','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','const\x20getUserAuthorizations','\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','checkMeteorPackage','imports','apply','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','injectIntoCodeBlock','accounts-password','processAndRunGenerator','2280550YcxtCH','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','Meteor.publish','withValue','getMakaProjectConfig','template','injectImport','export\x20const\x20AuthProvider','const\x20authenticateToken','/imports/startup/client/authentication-service','\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','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','const\x20sendForgotPasswordEmail','react','kit/auth/service/meteor-auth-service.js','3486408agTjRM','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client','/imports/startup/lib/authentication-service','pathFromApp','REACT','11154690cuXolA','const\x20authenticateUser','kit:auth:provider','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','error','injectIntoFile','const\x20resetPasswordWithToken','engines','alanning:roles','search','fsi','findProjectDirectory','\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','publish','.js','8VDbrlM','42RKFaSz','28320zbCKky','toString','2474224tMmgLv','Accounts','21218ZAzFeq','(((.+)+)+)+$','meteor','exit','server','force','2870539btEJjo','/imports/startup/lib','startup','authentication-service','1290YfVWmX','constructor','auth/roles','create'];a116c=function(){return u;};return a116c();}import a116f from'../../../generators/maka.gen.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x70;let f=c[d];return f;},a116d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a116r(0x8d)]({'name':a116r(0x82),'aliases':['m'],'usage':a116r(0xa6),'shortDesc':a116r(0x97),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116r(0xaf)]},'description':a116r(0xb4)},async function(a,b){const s=a116r;try{const c=b[s(0x85)]||![];await this[s(0x75)][s(0x94)]([s(0x99),s(0x73)],{'shouldInstall':!![]});const d=this[s(0x75)][s(0x76)](),f=this[s(0x75)][s(0x9f)](),g=f[s(0x72)][s(0x8f)]==='true';await a116f[s(0x9a)](s(0xb2),[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0x9a)](s(0x78),[s(0x8c)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x87):s(0xac),j=this[s(0x75)]['pathFromApp']({'pathParts':[i,'','',s(0x89)]});await this[s(0x75)][s(0x9e)](f,async()=>{const t=s;await this[t(0x75)][t(0xa0)]({'srcPath':t(0xa9),'destPath':j+t(0x79),'framework':t(0xa8),'context':{},'config':f,'force':c,'ignore':![]});});const k=this['fsi'][s(0xae)]({'pathParts':[i,'','','authentication-provider']}),l=f[s(0x72)]['js'];await this[s(0x75)][s(0xa1)]({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?s(0xad):s(0xa4),'isNamedExport':![]}),await this[s(0x75)][s(0x98)]({'filePath':k+'.'+l,'content':s(0x9c),'begin':s(0xb1),'replace':!![]}),await this['fsi'][s(0x98)]({'filePath':k+'.'+l,'content':s(0x77),'begin':s(0xa3),'replace':!![]}),await this['fsi'][s(0x98)]({'filePath':k+'.'+l,'content':s(0x93),'begin':s(0x92),'replace':!![]}),await this[s(0x75)][s(0x98)]({'filePath':k+'.'+l,'content':s(0xab),'begin':s(0x8e),'replace':!![]}),await this[s(0x75)][s(0x98)]({'filePath':k+'.'+l,'content':s(0xb5),'begin':s(0xa7),'replace':!![]}),await this['fsi'][s(0x98)]({'filePath':k+'.'+l,'content':s(0xb3),'begin':'const\x20registerNewUser','replace':!![]}),await this['fsi'][s(0x98)]({'filePath':k+'.'+l,'content':s(0x90),'begin':s(0x71),'replace':!![]});g&&(await this[s(0x75)][s(0xa1)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await this[s(0x75)][s(0x70)]({'filePath':k+'.'+l,'content':s(0x91),'begin':s(0xa2),'end':'return\x20\x5c('}));await this[s(0x75)][s(0xa1)]({'filePath':h,'importName':'Meteor','modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x75)]['injectIntoCodeBlock']({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x9d),'replace':!![]});const m=this['fsi'][s(0xae)]({'pathParts':[s(0x95),s(0x88),s(0x84),'index']});await this['fsi'][s(0xa1)]({'filePath':m+'.'+l,'importName':s(0x7f),'modulePath':'meteor/accounts-base','isNamedExport':!![]}),await this[s(0x75)][s(0x98)]({'filePath':m+'.'+l,'content':s(0xa5),'begin':'Meteor.startup','replace':!![]});}catch(n){Log[s(0xb6)](n),process[s(0x83)](0x1);}},async function(){},a116e);
@@ -1 +1 @@
1
- function a117c(){const A=['appName','provider','kit/auth/provider/authentication-provider.js','fsi','9908432qJiMwc','(((.+)+)+)+$','.js','/imports/startup/client/index','5ASlMVH','694NmTPZX','const\x20Routes','/imports/startup/lib','REACT','injectAroundString','useContext','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','create','force','5619332UyyiVg','replaceAll','30989SZMRIr','AuthContext','template','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','authentication-provider','apply','6109532EuJHKx','engines','/routes','<Routes\x20history={history}/>','10PqTGcG','AuthProvider','toString','search','function\x20Routes','split','/imports/startup/server/index','12132fTYrjc','getMakaProjectConfig','/imports/startup/client/authentication-provider','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','pathFromApp','true','/imports/startup/lib/authentication-provider','injectIntoCodeBlock','withValue','bright','react','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','exit','<AuthProvider>','333619aMunBc','</AuthProvider>','9430461aNEisk','462lZfNUg','injectImport','ssr'];a117c=function(){return A;};return a117c();}const a117x=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=-parseInt(u(0x114))/0x1+parseInt(u(0x123))/0x2*(-parseInt(u(0x13f))/0x3)+-parseInt(u(0x12c))/0x4*(-parseInt(u(0x122))/0x5)+-parseInt(u(0x117))/0x6*(-parseInt(u(0x12e))/0x7)+parseInt(u(0x11e))/0x8+parseInt(u(0x116))/0x9*(-parseInt(u(0x138))/0xa)+parseInt(u(0x134))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xb8512));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a[w(0x13a)]()[w(0x13b)](w(0x11f))['toString']()['constructor'](a117a)[w(0x13b)]('(((.+)+)+)+$');});function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x10d;let f=c[d];return f;},a117d(a,b);}a117a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117x(0x12a)]({'name':a117x(0x11b),'aliases':['p'],'usage':a117x(0x142),'shortDesc':a117x(0x111),'validOpts':[a117x(0x12b)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117x(0x126)]},'description':a117x(0x131)},async function(a,b){const y=a117x;try{const c=b[y(0x12b)]||![];Log[y(0x10f)](y(0x129));const d=this[y(0x11d)][y(0x140)](),f=d[y(0x135)][y(0x119)]===y(0x144),g={'name':headerCase(d[y(0x11a)])[y(0x12d)]('-','\x20')},h=f?y(0x125):'/imports/startup/client',i=this[y(0x11d)][y(0x143)]({'pathParts':[h,'','',y(0x132)]});await this['fsi'][y(0x10e)](d,async()=>{const z=y;await this[z(0x11d)][z(0x130)]({'srcPath':z(0x11c),'destPath':i+z(0x120),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x135)]['js'],k=h+y(0x136),l=k['split']('/'),m=this[y(0x11d)][y(0x143)]({'pathParts':l});await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':y(0x12f),'modulePath':f?y(0x145):y(0x141),'isNamedExport':!![]}),await this[y(0x11d)][y(0x118)]({'filePath':m+'.'+j,'importName':y(0x128),'modulePath':y(0x110),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x11d)][y(0x10d)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','begin':[y(0x124),y(0x13c)],'replace':!![]});const n=y(0x121),o=n[y(0x13d)]('/'),p=this[y(0x11d)]['pathFromApp']({'pathParts':o});await this[y(0x11d)][y(0x118)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x145):y(0x141),'isNamedExport':!![]}),await this[y(0x11d)][y(0x127)]({'filePath':p+'.'+j,'aboveContent':y(0x113),'belowContent':'</AuthProvider>','targetString':'<Routes\x20history={browserHistory}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x13e),r=q[y(0x13d)]('/'),s=this[y(0x11d)][y(0x143)]({'pathParts':r});await this[y(0x11d)][y(0x118)]({'filePath':s+'.'+j,'importName':y(0x139),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x141),'isNamedExport':!![]}),await this['fsi'][y(0x127)]({'filePath':s+'.'+j,'aboveContent':y(0x113),'belowContent':y(0x115),'targetString':y(0x137),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[y(0x112)](0x1);}},async function(){},a117e);
1
+ const a117w=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=parseInt(u(0x16d))/0x1+-parseInt(u(0x16b))/0x2+parseInt(u(0x196))/0x3+parseInt(u(0x190))/0x4*(parseInt(u(0x181))/0x5)+-parseInt(u(0x179))/0x6*(-parseInt(u(0x182))/0x7)+-parseInt(u(0x19f))/0x8+-parseInt(u(0x197))/0x9*(parseInt(u(0x183))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x94c67));function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x16a;let f=c[d];return f;},a117d(a,b);}const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const v=a117d;return a117a[v(0x16f)]()[v(0x178)]('(((.+)+)+)+$')['toString']()[v(0x170)](a117a)[v(0x178)](v(0x17e));});a117a();function a117c(){const z=['split','exit','search','126402amRpcp','appName','<AuthProvider>','react','useContext','(((.+)+)+)+$','REACT','withValue','5dHoptO','161EnoWwI','10lSDksS','injectImport','/imports/startup/lib','replaceAll','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','fsi','error','AuthProvider','/imports/startup/server/index','template','/routes','engines','</AuthProvider>','3315076LFqwZi','injectAroundString','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','/imports/startup/client','<Routes\x20history={history}/>','injectIntoCodeBlock','2477883GVgaDC','1419597GSKvZy','/imports/startup/client/authentication-provider','provider','force','true','kit/auth/provider/authentication-provider.js','getMakaProjectConfig','/imports/startup/client/index','4158896UfaPTs','pathFromApp','<Routes\x20history={browserHistory}/>','2392138rMFFxP','\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','343776ZjDIKE','const\x20Routes','toString','constructor','bright','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','authentication-provider','/imports/startup/lib/authentication-provider','create'];a117c=function(){return z;};return a117c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117w(0x175)]({'name':a117w(0x199),'aliases':['p'],'usage':a117w(0x187),'shortDesc':a117w(0x172),'validOpts':[a117w(0x19a)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117w(0x17f)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const x=a117w;try{const c=b[x(0x19a)]||![];Log[x(0x171)](x(0x192));const d=this[x(0x188)][x(0x19d)](),f=d[x(0x18e)]['ssr']===x(0x19b),g={'name':headerCase(d[x(0x17a)])[x(0x186)]('-','\x20')},h=f?x(0x185):x(0x193),i=this[x(0x188)][x(0x1a0)]({'pathParts':[h,'','',x(0x173)]});await this[x(0x188)][x(0x180)](d,async()=>{const y=x;await this[y(0x188)][y(0x18c)]({'srcPath':y(0x19c),'destPath':i+'.js','framework':y(0x17c),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[x(0x18e)]['js'],k=h+x(0x18d),l=k[x(0x176)]('/'),m=this[x(0x188)]['pathFromApp']({'pathParts':l});await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?x(0x174):x(0x198),'isNamedExport':!![]}),await this[x(0x188)][x(0x184)]({'filePath':m+'.'+j,'importName':x(0x17d),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x188)][x(0x195)]({'filePath':m+'.'+j,'content':x(0x16c),'begin':[x(0x16e),'function\x20Routes'],'replace':!![]});const n=x(0x19e),o=n[x(0x176)]('/'),p=this[x(0x188)]['pathFromApp']({'pathParts':o});await this[x(0x188)]['injectImport']({'filePath':p+'.'+j,'importName':x(0x18a),'modulePath':f?x(0x174):x(0x198),'isNamedExport':!![]}),await this['fsi'][x(0x191)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0x18f),'targetString':x(0x16a),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x18b),r=q[x(0x176)]('/'),s=this['fsi'][x(0x1a0)]({'pathParts':r});await this['fsi']['injectImport']({'filePath':s+'.'+j,'importName':x(0x18a),'modulePath':f?x(0x174):x(0x198),'isNamedExport':!![]}),await this['fsi'][x(0x191)]({'filePath':s+'.'+j,'aboveContent':x(0x17b),'belowContent':x(0x18f),'targetString':x(0x194),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0x189)](t),process[x(0x177)](0x1);}},async function(){},a117e);
@@ -1 +1 @@
1
- function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xa0;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0xaa))/0x1*(-parseInt(f(0xb0))/0x2)+parseInt(f(0xab))/0x3*(-parseInt(f(0xac))/0x4)+parseInt(f(0xad))/0x5*(-parseInt(f(0xa7))/0x6)+-parseInt(f(0xa4))/0x7+parseInt(f(0xa1))/0x8+-parseInt(f(0xa6))/0x9*(parseInt(f(0xaf))/0xa)+-parseInt(f(0xa8))/0xb*(-parseInt(f(0xae))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x24177));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xa9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xa5)]()[h(0xa2)](h(0xa0))[h(0xa5)]()[h(0xa3)](a118a)[h(0xa2)](h(0xa0));});a118a();import'./esri.generator.js';import'./map.esri.gen.js';function a118c(){var i=['537735FSwNDs','apply','1XgXtZb','9RcGWWw','71196XFSmpE','18545tIyCpY','156yWFnod','20SFOneo','221962QHXJBH','(((.+)+)+)+$','171688YygTdH','search','constructor','626024bftOSE','toString','1098891ResJsl','18qmLJop'];a118c=function(){return i;};return a118c();}
1
+ function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x67;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x6d))/0x1*(-parseInt(f(0x74))/0x2)+-parseInt(f(0x67))/0x3+parseInt(f(0x6b))/0x4+-parseInt(f(0x6f))/0x5+-parseInt(f(0x75))/0x6+-parseInt(f(0x72))/0x7*(parseInt(f(0x6c))/0x8)+-parseInt(f(0x69))/0x9*(-parseInt(f(0x68))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xcd156));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x71)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x6a)]()[h(0x6e)](h(0x73))[h(0x6a)]()[h(0x70)](a118a)[h(0x6e)](h(0x73));});a118a();import'./esri.generator.js';import'./map.esri.gen.js';function a118c(){var i=['2yPdcxT','search','483355oULTFB','constructor','apply','12866SOhkiI','(((.+)+)+)+$','651512UqVOLc','7411812mgShus','4896255atWsdk','7215490tElySx','63fbRtub','toString','3456484qtqQMG','6352JLQfJu'];a118c=function(){return i;};return a118c();}
@@ -1 +1 @@
1
- const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0xf9))/0x1*(-parseInt(f(0xf7))/0x2)+parseInt(f(0xec))/0x3*(-parseInt(f(0xfc))/0x4)+parseInt(f(0xe8))/0x5+parseInt(f(0xef))/0x6+-parseInt(f(0xf6))/0x7+parseInt(f(0xed))/0x8*(parseInt(f(0xf0))/0x9)+parseInt(f(0xeb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x56ef8));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0xe9)]()[h(0xfb)](h(0xee))[h(0xe9)]()['constructor'](a119a)[h(0xfb)](h(0xee));});a119a();import{Generator}from'../../../generator.js';function a119c(){const k=['maka\x20g:kit:e','74460TwZxib','toString','create','14601960qrqLSc','3pFpVpj','2398856eJYXjG','(((.+)+)+)+$','21792bXvvqK','9LgQjUL','/foo','Esri\x20Kit\x20generated\x20successfully','esri','\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','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','4270490cLhzQs','4208PWSrOd','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','307YGATcs','apply','search','665964PbDMkK'];a119c=function(){return k;};return a119c();}function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xe7;let f=c[d];return f;},a119d(a,b);}import a119e from'../kit.js';const EsriGen=Generator[a119i(0xea)]({'name':a119i(0xf3),'aliases':['e'],'usage':a119i(0xf8),'noNeedResource':!![],'shortDesc':a119i(0xf5),'validOpts':[''],'isPro':!![],'examples':[a119i(0xe7)],'description':a119i(0xf4)},async function(){const j=a119i;return{'success':!![],'message':j(0xf2),'details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0xf1)]}};},async function(){},a119e);export default EsriGen;
1
+ const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x16d))/0x1*(parseInt(f(0x161))/0x2)+parseInt(f(0x15c))/0x3*(-parseInt(f(0x164))/0x4)+-parseInt(f(0x15e))/0x5+-parseInt(f(0x16a))/0x6*(-parseInt(f(0x16e))/0x7)+-parseInt(f(0x16b))/0x8*(parseInt(f(0x167))/0x9)+-parseInt(f(0x16f))/0xa*(parseInt(f(0x170))/0xb)+parseInt(f(0x15d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x31f45));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x160)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a['toString']()[h(0x168)](h(0x166))['toString']()[h(0x15f)](a119a)[h(0x168)](h(0x166));});function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x15c;let f=c[d];return f;},a119d(a,b);}function a119c(){const k=['252huWYVk','search','Esri\x20Kit\x20generated\x20successfully','229092sGTVRt','7736OxwvvK','\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','591nWIGtR','28TtjOYz','440cIsEQr','72974YaFoii','566859iwzoTN','7741188FZcyOr','10625dMMJxt','constructor','apply','358XUsSzj','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','create','8ZuzEaG','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','(((.+)+)+)+$'];a119c=function(){return k;};return a119c();}a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const EsriGen=Generator[a119i(0x163)]({'name':'esri','aliases':['e'],'usage':a119i(0x165),'noNeedResource':!![],'shortDesc':a119i(0x162),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a119i(0x16c)},async function(){const j=a119i;return{'success':!![],'message':j(0x169),'details':{'filesCreated':['/foo/bar'],'filesUpdated':['/foo']}};},async function(){},a119e);export default EsriGen;
@@ -1 +1 @@
1
- const a120s=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x168;let f=c[d];return f;},a120d(a,b);}(function(a,b){const p=a120d,c=a();while(!![]){try{const d=parseInt(p(0x193))/0x1*(parseInt(p(0x175))/0x2)+parseInt(p(0x178))/0x3*(parseInt(p(0x172))/0x4)+parseInt(p(0x17b))/0x5+-parseInt(p(0x198))/0x6*(parseInt(p(0x184))/0x7)+parseInt(p(0x185))/0x8+-parseInt(p(0x177))/0x9+parseInt(p(0x16a))/0xa*(parseInt(p(0x194))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x268d1));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a['toString']()[r(0x195)](r(0x168))['toString']()[r(0x170)](a120a)[r(0x195)](r(0x168));});function a120c(){const v=['FALSE','2336598JpPCqn','3NicPhW','template','fsi','88900hQkSEB','injectIntoFile','getMakaProjectConfig','baseDir','true','injectTemplateModule','<div\x20id=\x22map\x22>','ssr','bright','1678292LCqpet','418352jTKxLj','engines','dir','Generate\x20an\x20Esri\x20map\x20component','pathFromApp','\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','appName','REACT','esri-loader','exit','processAndRunGenerator','checkNpmPackage','/imports/startup/client/templates','41diGXNC','2264042qYRhlh','search','Generating\x20a\x20map\x20component','@esri/react-arcgis','6wnSNnW','.js','(((.+)+)+)+$','injectImport','10eXFUQw','split','apply','page','findProjectDirectory','create','constructor','kit/esri/map/','367216LHSeSd','replaceAll','react','14126dgyOEZ'];a120c=function(){return v;};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[a120s(0x16f)]({'name':'map','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a120s(0x188),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120s(0x18d)],'ssr':SsrEngines[a120s(0x176)]},'description':a120s(0x18a)},async function(a,b){const t=a120s;try{Log[t(0x183)](t(0x196));const c='basic-map';await this[t(0x17a)][t(0x191)]([t(0x197),t(0x18e)],{'shouldInstall':!![]});const d=this['fsi'][t(0x16e)](),f=this[t(0x17a)][t(0x17d)](),g=f[t(0x186)][t(0x182)]===t(0x17f),h=await a120f[t(0x190)](t(0x16d),[t(0x18b)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x18c)])[t(0x173)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x17e)]?'/imports/ui/'+b[t(0x17e)]:'/imports/ui/hooks',k=this[t(0x17a)][t(0x189)]({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[t(0x17a)]['withValue'](f,async()=>{const u=t;await this[u(0x17a)][u(0x179)]({'srcPath':u(0x171)+c+u(0x199),'destPath':k+u(0x199),'framework':u(0x174),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x187)]+'/'+c+'/'+c;await this[t(0x17a)][t(0x180)](c,f,l);const m=h[t(0x16b)]('/'),n=this[t(0x17a)]['pathFromApp']({'pathParts':m});await this['fsi'][t(0x169)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x192),'isNamedExport':!![]}),await this[t(0x17a)][t(0x17c)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0x181),t(0x181)],'end':['</div>'],'replace':!![]});}catch(o){Log['error'](o),process[t(0x18f)](0x1);}},async function(){},a120e);
1
+ const a120s=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=-parseInt(p(0x16b))/0x1*(parseInt(p(0x149))/0x2)+parseInt(p(0x142))/0x3*(-parseInt(p(0x174))/0x4)+parseInt(p(0x144))/0x5+parseInt(p(0x155))/0x6+parseInt(p(0x145))/0x7+parseInt(p(0x146))/0x8+parseInt(p(0x165))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x36158));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a[r(0x168)]()['search'](r(0x14c))[r(0x168)]()['constructor'](a120a)[r(0x152)]('(((.+)+)+)+$');});function a120c(){const v=['Generating\x20a\x20map\x20component','ssr','search','exit','engines','1573824iSIlLE','appName','split','template','injectImport','react','basic-map','@esri/react-arcgis','checkNpmPackage','fsi','.js','</div>','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','baseDir','dir','/imports/startup/client/templates','1057734QuCgve','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','Generate\x20an\x20Esri\x20map\x20component','toString','kit/esri/map/','true','71861eDoLAI','pathFromApp','create','error','bright','processAndRunGenerator','getMakaProjectConfig','<div\x20id=\x22map\x22>','injectIntoFile','1472164rgMjLt','apply','3kjdzAj','FALSE','764995txJcbo','2081891IEFphM','1523944vPyuWc','findProjectDirectory','/imports/ui/','12NMieuD','\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','injectTemplateModule','(((.+)+)+)+$','esri-loader','map','withValue'];a120c=function(){return v;};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';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x141;let f=c[d];return f;},a120d(a,b);}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120s(0x16d)]({'name':a120s(0x14e),'aliases':['m'],'usage':a120s(0x166),'shortDesc':a120s(0x167),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a120s(0x143)]},'description':a120s(0x14a)},async function(a,b){const t=a120s;try{Log[t(0x16f)](t(0x150));const c=t(0x15b);await this[t(0x15e)][t(0x15d)]([t(0x15c),t(0x14d)],{'shouldInstall':!![]});const d=this[t(0x15e)][t(0x147)](),f=this[t(0x15e)][t(0x171)](),g=f[t(0x154)][t(0x151)]===t(0x16a),h=await a120f[t(0x170)]('page',[t(0x14e)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x156)])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?t(0x148)+b[t(0x162)]:'/imports/ui/hooks',k=this['fsi'][t(0x16c)]({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[t(0x15e)][t(0x14f)](f,async()=>{const u=t;await this[u(0x15e)][u(0x158)]({'srcPath':u(0x169)+c+u(0x15f),'destPath':k+u(0x15f),'framework':u(0x15a),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x163)]+'/'+c+'/'+c;await this[t(0x15e)][t(0x14b)](c,f,l);const m=h[t(0x157)]('/'),n=this[t(0x15e)][t(0x16c)]({'pathParts':m});await this[t(0x15e)][t(0x159)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x164),'isNamedExport':!![]}),await this[t(0x15e)][t(0x173)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x161),'begin':[t(0x172),t(0x172)],'end':[t(0x160)],'replace':!![]});}catch(o){Log[t(0x16e)](o),process[t(0x153)](0x1);}},async function(){},a120e);
@@ -1 +1 @@
1
- const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=-parseInt(f(0xb5))/0x1*(parseInt(f(0xb1))/0x2)+-parseInt(f(0xae))/0x3+-parseInt(f(0xb7))/0x4*(parseInt(f(0xa9))/0x5)+-parseInt(f(0xb3))/0x6+parseInt(f(0xaa))/0x7*(-parseInt(f(0xac))/0x8)+parseInt(f(0xb8))/0x9+parseInt(f(0xb9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x1ec39));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0xb2)]()[h(0xb0)](h(0xaf))[h(0xb2)]()['constructor'](a121a)[h(0xb0)](h(0xaf));});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xa9;let f=c[d];return f;},a121d(a,b);}a121a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':'kit','aliases':['k'],'usage':a121i(0xab),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0xad),a121i(0xb6)]},async function(){});export default KitGen;function a121c(){const j=['(((.+)+)+)+$','search','423422DnFANb','toString','108678WvrjbA','apply','1NrfIeU','maka\x20g:k','28dUZBkC','342270WOTBhd','8259820GoIkdV','112435JOJkpm','924364KKobaA','maka\x20{generate,\x20g}:{kit}\x20<name>','8dZuTwG','maka\x20g:kit','656154XnhJxj'];a121c=function(){return j;};return a121c();}
1
+ function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x187;let f=c[d];return f;},a121d(a,b);}const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=-parseInt(f(0x18c))/0x1+parseInt(f(0x18f))/0x2+parseInt(f(0x190))/0x3+-parseInt(f(0x18a))/0x4+-parseInt(f(0x18e))/0x5+parseInt(f(0x192))/0x6+-parseInt(f(0x194))/0x7*(parseInt(f(0x18d))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x58183));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a['toString']()[h(0x189)](h(0x196))[h(0x197)]()[h(0x187)](a121a)['search'](h(0x196));});function a121c(){const j=['toString','constructor','create','search','471440fpdoJT','kit','537841GBAaXr','368ncPlkO','312030LXHTDZ','1116506eivcOx','989601WiarHP','maka\x20{generate,\x20g}:{kit}\x20<name>','4273944SUCLdP','maka\x20g:k','79359rzsgeL','apply','(((.+)+)+)+$'];a121c=function(){return j;};return a121c();}a121a();import{Generator}from'../../generator.js';const KitGen=Generator[a121i(0x188)]({'name':a121i(0x18b),'aliases':['k'],'usage':a121i(0x191),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a121i(0x193)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x8b))/0x1*(-parseInt(f(0x83))/0x2)+parseInt(f(0x84))/0x3*(-parseInt(f(0x7f))/0x4)+-parseInt(f(0x89))/0x5+parseInt(f(0x82))/0x6+-parseInt(f(0x86))/0x7+-parseInt(f(0x88))/0x8*(-parseInt(f(0x87))/0x9)+parseInt(f(0x81))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xadd34));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x80)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x85)]()[h(0x7e)](h(0x8c))['toString']()[h(0x8a)](a122a)[h(0x7e)](h(0x8c));});a122a();function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x7e;var f=c[d];return f;},a122d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a122c(){var i=['(((.+)+)+)+$','search','4117768Dqvses','apply','23018350zeqsKE','8029854RYwpmQ','2AMkXCO','3mYZRwq','toString','7447594rGWTwI','470331rXybzO','8JtgjzQ','2879650ZzRaVo','constructor','311101GbznJU'];a122c=function(){return i;};return a122c();}
1
+ function a122c(){var i=['5919GidGvK','75zPRWgU','23168530KgikFX','24984pnIasI','1064XtsqRj','28744Ubusuq','10tFhNFt','constructor','toString','apply','4533320CAEHRV','120644PaISpL','2133nwTkeJ','192044myOSlK','(((.+)+)+)+$'];a122c=function(){return i;};return a122c();}(function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x1a7))/0x1+parseInt(f(0x1a2))/0x2*(parseInt(f(0x19c))/0x3)+-parseInt(f(0x1a9))/0x4*(-parseInt(f(0x19d))/0x5)+parseInt(f(0x19f))/0x6*(parseInt(f(0x1a0))/0x7)+parseInt(f(0x1a1))/0x8*(parseInt(f(0x1a8))/0x9)+parseInt(f(0x1a6))/0xa+-parseInt(f(0x19e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x6ba7d));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x1a5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x1a4)]()['search']('(((.+)+)+)+$')['toString']()[h(0x1a3)](a122a)['search'](h(0x1aa));});a122a();import'./mui.generator.js';import'./frame.mui.gen.js';function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x19c;var f=c[d];return f;},a122d(a,b);}import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=-parseInt(G(0x92))/0x1*(parseInt(G(0x9e))/0x2)+-parseInt(G(0x81))/0x3*(-parseInt(G(0x94))/0x4)+parseInt(G(0xae))/0x5*(parseInt(G(0xac))/0x6)+parseInt(G(0xb0))/0x7*(-parseInt(G(0x98))/0x8)+-parseInt(G(0x7e))/0x9+-parseInt(G(0x9b))/0xa*(parseInt(G(0x7b))/0xb)+parseInt(G(0xb2))/0xc*(parseInt(G(0xa5))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xd6095));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0x8f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a[I(0xa6)]()[I(0x90)](I(0x84))['toString']()[I(0x8a)](a123a)[I(0x90)]('(((.+)+)+)+$');});function a123c(){const N=['Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','4uHrBbS','meteor','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','layouts','1624AfDwwX','basic-register-page','log','470410zArBXn','engines','kit/mui/auth/forgot-password/','1417816yrSIkR','maka\x20g:k:m:f','/imports/startup/client/authentication-provider','pathFromApp','getMakaProjectConfig','kit/mui/auth/login/','auth','14068444pKwdSB','toString','error','ssr','authType','injectTemplateModule','force','117786bEfcVC','login','265XsHMIu','split','12635wnCVzi','kit/mui/auth/logout/','12sflQsZ','create','kit/mui/auth/password-reset/','fsi','appName','route','basic-password-reset-page','list','REACT','withValue','dir','baseDir','basic-forgot-password-page','react','basic-logout-page','template','Custom\x20(roll\x20your\x20own)','121xOFwhC','AuthContext','injectImport','10571499yIGpQa','processAndRunGenerator','kit:auth:meteor','4564341djZlVF','/imports/ui/','.js','(((.+)+)+)+$','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','forgot-password','MATERIAL','options','/imports/ui/pages/auth','constructor','reset-password/:token','basic-login-page','/imports/startup/lib/authentication-provider','custom','apply','search','Cleaning\x20up...','1bZQXxG'];a123c=function(){return N;};return a123c();}a123a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a123e from'../../../generators/maka.gen.js';import a123f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x75;let f=c[d];return f;},a123d(a,b);}Generator[a123J(0xb3)]({'name':a123J(0xa4),'aliases':['a'],'usage':a123J(0x96),'shortDesc':a123J(0x93),'validOpts':[a123J(0x97),a123J(0xab)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123J(0x87)],'client':ClientEngines[a123J(0xba)]},'examples':['maka\x20generate:kit:mui:frame',a123J(0x9f)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const K=a123J;try{const c=b['force']||![],d=this['fsi']['findProjectDirectory'](),f=this[K(0xb5)][K(0xa2)](),{authType:g}=await Actions[K(0x88)]({'type':K(0xb9),'name':K(0xa9),'message':K(0x85),'choices':[{'name':'Meteor\x20Accounts','value':K(0x95)},{'name':K(0x7a),'value':K(0x8e)}]}),h=K(0x8c),i=K(0x78),j=K(0x99),k=K(0xb8),l=K(0x76),m=b[K(0x75)]?K(0x82)+b[K(0x75)]:K(0x89),n=this['fsi'][K(0xa1)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0xb5)][K(0xa1)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[K(0xb5)][K(0xa1)]({'pathParts':[m,b[K(0xbc)],paramCase(j),paramCase(j)]}),q=this[K(0xb5)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this[K(0xb5)][K(0xa1)]({'pathParts':[m,b[K(0xbc)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0xb6)])['replaceAll']('-','\x20')};await this[K(0xb5)][K(0xbb)](f,async()=>{const L=K;await this[L(0xb5)][L(0x79)]({'srcPath':L(0xa3)+h+'.js','destPath':n+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xb5)][L(0x79)]({'srcPath':L(0xb1)+i+L(0x83),'destPath':o+L(0x83),'framework':L(0x77),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xb5)][L(0x79)]({'srcPath':'kit/mui/auth/register/'+j+L(0x83),'destPath':p+'.js','framework':L(0x77),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xb5)][L(0x79)]({'srcPath':L(0xb4)+k+L(0x83),'destPath':q+L(0x83),'framework':L(0x77),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x79)]({'srcPath':L(0x9d)+l+L(0x83),'destPath':r+L(0x83),'framework':L(0x77),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0xbc)]+'/'+h+'/'+h;await this[K(0xb5)]['injectTemplateModule'](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this['fsi'][K(0xaa)](i,f,u);const v=''+m+b[K(0xbc)]+'/'+j+'/'+j;await this['fsi']['injectTemplateModule'](j,f,v);const w=''+m+b[K(0xbc)]+'/'+k+'/'+k;await this[K(0xb5)]['injectTemplateModule'](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[K(0xb5)][K(0xaa)](l,f,x),await a123e[K(0x7f)](K(0xb7),[K(0x8c)],{'url':K(0xad),'cwd':d,'config':f}),await a123e[K(0x7f)](K(0xb7),['basic-logout-page'],{'url':'logout','private':!![],'cwd':d,'config':f}),await a123e[K(0x7f)](K(0xb7),[K(0x99)],{'url':'register','cwd':d,'config':f}),await a123e[K(0x7f)](K(0xb7),['basic-password-reset-page'],{'url':K(0x8b),'cwd':d,'config':f}),await a123e[K(0x7f)]('route',[K(0x76)],{'url':K(0x86),'cwd':d,'config':f});g===K(0x95)&&await a123e[K(0x7f)](K(0x80),[],{'force':c,'cwd':d,'config':f});g===K(0x8e)&&await a123e['processAndRunGenerator']('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f[K(0x9c)][K(0xa8)]==='true',z=f[K(0x9c)]['js'],A=this[K(0xb5)][K(0xa1)]({'pathParts':t[K(0xaf)]('/')});await this[K(0xb5)][K(0x7d)]({'filePath':A+'.'+z,'importName':K(0x7c),'modulePath':y?K(0x8d):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[K(0xb5)]['pathFromApp']({'pathParts':u[K(0xaf)]('/')});await this[K(0xb5)]['injectImport']({'filePath':B+'.'+z,'importName':'AuthContext','modulePath':y?K(0x8d):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0xb5)][K(0xa1)]({'pathParts':v[K(0xaf)]('/')});await this['fsi'][K(0x7d)]({'filePath':C+'.'+z,'importName':K(0x7c),'modulePath':y?K(0x8d):K(0xa0),'isNamedExport':!![]});const D=this['fsi'][K(0xa1)]({'pathParts':w['split']('/')});await this[K(0xb5)][K(0x7d)]({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':K(0xa0),'isNamedExport':!![]});const E=this[K(0xb5)][K(0xa1)]({'pathParts':x[K(0xaf)]('/')});await this['fsi'][K(0x7d)]({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?K(0x8d):K(0xa0),'isNamedExport':!![]});}catch(F){Log[K(0xa7)](F);}},async function(){const M=a123J;console[M(0x9a)](M(0x91));},a123f);
1
+ const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=-parseInt(G(0x14b))/0x1*(parseInt(G(0x13e))/0x2)+-parseInt(G(0x144))/0x3+-parseInt(G(0x17a))/0x4+parseInt(G(0x166))/0x5+-parseInt(G(0x179))/0x6*(-parseInt(G(0x15f))/0x7)+-parseInt(G(0x14c))/0x8*(parseInt(G(0x15a))/0x9)+parseInt(G(0x15e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x515b5));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0x17e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a['toString']()[I(0x172)](I(0x143))['toString']()[I(0x15d)](a123a)[I(0x172)](I(0x143));});a123a();function a123c(){const N=['pathFromApp','basic-forgot-password-page','engines','Meteor\x20Accounts','MATERIAL','basic-login-page','kit:auth:meteor','forgot-password','findProjectDirectory','5518269WFbFou','authType','Custom\x20(roll\x20your\x20own)','constructor','22420040mnYxSX','108108oglESf','route','baseDir','/imports/startup/client/authentication-provider','error','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','list','333160mreBBY','processAndRunGenerator','register','react','basic-password-reset-page','/imports/startup/lib/authentication-provider','log','fsi','appName','split','true','force','search','kit/mui/auth/login/','kit/mui/auth/logout/','options','logout','.js','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','12bWVNcj','2444992CBcTIt','layouts','maka\x20g:k:m:f','injectTemplateModule','apply','dir','ssr','maka\x20generate:kit:mui:frame','/imports/ui/','custom','4QKuGUB','getMakaProjectConfig','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','injectImport','template','(((.+)+)+)+$','624420xFkNzS','meteor','REACT','kit:auth:provider','withValue','basic-logout-page','replaceAll','286879CvpfZY','8Znoltu','basic-register-page','AuthContext','reset-password/:token','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?'];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';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x13e;let f=c[d];return f;},a123d(a,b);}import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'auth','aliases':['a'],'usage':a123J(0x140),'shortDesc':a123J(0x164),'validOpts':[a123J(0x17b),a123J(0x171)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123J(0x155)],'client':ClientEngines[a123J(0x146)]},'examples':[a123J(0x181),a123J(0x17c)],'description':a123J(0x178)},async function(a,b){const K=a123J;try{const c=b[K(0x171)]||![],d=this[K(0x16d)][K(0x159)](),f=this[K(0x16d)][K(0x13f)](),{authType:g}=await Actions[K(0x175)]({'type':K(0x165),'name':K(0x15b),'message':K(0x150),'choices':[{'name':K(0x154),'value':K(0x145)},{'name':K(0x15c),'value':K(0x183)}]}),h=K(0x156),i=K(0x149),j=K(0x14d),k=K(0x16a),l='basic-forgot-password-page',m=b[K(0x161)]?K(0x182)+b[K(0x161)]:'/imports/ui/pages/auth',n=this[K(0x16d)]['pathFromApp']({'pathParts':[m,b[K(0x17f)],paramCase(h),paramCase(h)]}),o=this[K(0x16d)][K(0x151)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[K(0x16d)][K(0x151)]({'pathParts':[m,b[K(0x17f)],paramCase(j),paramCase(j)]}),q=this[K(0x16d)]['pathFromApp']({'pathParts':[m,b[K(0x17f)],paramCase(k),paramCase(k)]}),r=this['fsi']['pathFromApp']({'pathParts':[m,b['dir'],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x16e)])[K(0x14a)]('-','\x20')};await this[K(0x16d)][K(0x148)](f,async()=>{const L=K;await this[L(0x16d)]['template']({'srcPath':L(0x173)+h+L(0x177),'destPath':n+L(0x177),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x16d)][L(0x142)]({'srcPath':L(0x174)+i+L(0x177),'destPath':o+L(0x177),'framework':L(0x169),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x16d)][L(0x142)]({'srcPath':'kit/mui/auth/register/'+j+'.js','destPath':p+L(0x177),'framework':L(0x169),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x16d)]['template']({'srcPath':'kit/mui/auth/password-reset/'+k+L(0x177),'destPath':q+L(0x177),'framework':L(0x169),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x16d)][L(0x142)]({'srcPath':'kit/mui/auth/forgot-password/'+l+L(0x177),'destPath':r+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x17f)]+'/'+h+'/'+h;await this[K(0x16d)]['injectTemplateModule'](h,f,t);const u=''+m+b[K(0x17f)]+'/'+i+'/'+i;await this[K(0x16d)][K(0x17d)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[K(0x16d)][K(0x17d)](j,f,v);const w=''+m+b[K(0x17f)]+'/'+k+'/'+k;await this[K(0x16d)][K(0x17d)](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[K(0x16d)][K(0x17d)](l,f,x),await a123e['processAndRunGenerator'](K(0x160),['basic-login-page'],{'url':'login','cwd':d,'config':f}),await a123e['processAndRunGenerator'](K(0x160),[K(0x149)],{'url':K(0x176),'private':!![],'cwd':d,'config':f}),await a123e[K(0x167)](K(0x160),[K(0x14d)],{'url':K(0x168),'cwd':d,'config':f}),await a123e[K(0x167)](K(0x160),['basic-password-reset-page'],{'url':K(0x14f),'cwd':d,'config':f}),await a123e[K(0x167)](K(0x160),[K(0x152)],{'url':K(0x158),'cwd':d,'config':f});g===K(0x145)&&await a123e[K(0x167)](K(0x157),[],{'force':c,'cwd':d,'config':f});g===K(0x183)&&await a123e['processAndRunGenerator'](K(0x147),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x153)][K(0x180)]===K(0x170),z=f['engines']['js'],A=this[K(0x16d)]['pathFromApp']({'pathParts':t['split']('/')});await this[K(0x16d)]['injectImport']({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':K(0x162),'isNamedExport':!![]});const B=this[K(0x16d)]['pathFromApp']({'pathParts':u[K(0x16f)]('/')});await this[K(0x16d)][K(0x141)]({'filePath':B+'.'+z,'importName':K(0x14e),'modulePath':y?K(0x16b):K(0x162),'isNamedExport':!![]});const C=this[K(0x16d)][K(0x151)]({'pathParts':v[K(0x16f)]('/')});await this['fsi'][K(0x141)]({'filePath':C+'.'+z,'importName':K(0x14e),'modulePath':y?K(0x16b):K(0x162),'isNamedExport':!![]});const D=this[K(0x16d)][K(0x151)]({'pathParts':w[K(0x16f)]('/')});await this[K(0x16d)]['injectImport']({'filePath':D+'.'+z,'importName':K(0x14e),'modulePath':y?K(0x16b):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[K(0x16d)][K(0x151)]({'pathParts':x[K(0x16f)]('/')});await this['fsi'][K(0x141)]({'filePath':E+'.'+z,'importName':K(0x14e),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log[K(0x163)](F);}},async function(){const M=a123J;console[M(0x16c)]('Cleaning\x20up...');},a123f);
@@ -1 +1 @@
1
- const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=-parseInt(B(0x1c0))/0x1+-parseInt(B(0x1b1))/0x2+parseInt(B(0x1f0))/0x3+-parseInt(B(0x1bc))/0x4*(-parseInt(B(0x1c1))/0x5)+parseInt(B(0x1ec))/0x6+-parseInt(B(0x1d8))/0x7+-parseInt(B(0x1c8))/0x8*(-parseInt(B(0x1b3))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xc718b));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a['toString']()[D(0x1bd)](D(0x1e4))[D(0x1dd)]()[D(0x1cc)](a124a)[D(0x1bd)](D(0x1e4));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1aa;let f=c[d];return f;},a124d(a,b);}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':'frame','aliases':['f'],'usage':a124E(0x1f3),'shortDesc':a124E(0x1e8),'validOpts':[a124E(0x1bf),a124E(0x1b8),'dir',a124E(0x1ea)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0x1c2)],'client':ClientEngines[a124E(0x1da)]},'examples':[a124E(0x1dc),'maka\x20g:k:m:f'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const F=a124E;try{const c=b['force']||![],d=F(0x1ca),f=F(0x1d3),g='basic-sticky-footer',h=this['fsi'][F(0x1e5)](),i=h[F(0x1ed)][F(0x1cb)]===F(0x1c4);await this[F(0x1cf)][F(0x1bb)]([F(0x1b4),'maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0x1cf)]['findAppDirectory'](),k=a124e[F(0x1ac)](j,F(0x1d7),'ui',F(0x1bf)),l=this[F(0x1cf)][F(0x1c9)](k),m=await Actions['options']({'type':F(0x1de),'name':'layouts','message':F(0x1c3),'choices':l});if(m[F(0x1bf)][F(0x1db)]===0x0){Log[F(0x1e9)]('No\x20layouts\x20selected');return;}const n=b[F(0x1b8)]?F(0x1af)+b[F(0x1b8)]:F(0x1f2),o=this[F(0x1cf)][F(0x1c5)]({'pathParts':[n,b[F(0x1c6)],paramCase(d),paramCase(d)]}),p=this[F(0x1cf)][F(0x1c5)]({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this[F(0x1cf)][F(0x1c5)]({'pathParts':[n,b[F(0x1c6)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1e0)])['replaceAll']('-','\x20')};await this['fsi'][F(0x1d1)](h,async()=>{const G=F;await this['fsi'][G(0x1d6)]({'srcPath':G(0x1b0)+d+G(0x1e6),'destPath':o+G(0x1e6),'framework':G(0x1ee),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1cf)]['template']({'srcPath':G(0x1f1)+f+G(0x1e6),'destPath':p+G(0x1e6),'framework':G(0x1ee),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x1d6)]({'srcPath':G(0x1b6)+g+G(0x1e6),'destPath':q+G(0x1e6),'framework':G(0x1ee),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x1c6)]+'/'+d+'/'+d;await this['fsi'][F(0x1ef)](d,h,s);const t=''+n+b[F(0x1c6)]+'/'+f+'/'+f;await this[F(0x1cf)]['injectTemplateModule'](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this['fsi'][F(0x1ef)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x1cf)][F(0x1d2)](a124e[F(0x1ac)](k,w),{'extensions':['jsx',F(0x1eb)],'omit':[F(0x1d0),F(0x1b2),'test']});for(const y of x){const z=a124e[F(0x1ac)](k,w,y);await this[F(0x1cf)][F(0x1d9)]({'filePath':z,'importName':F(0x1be),'modulePath':F(0x1b5),'isNamedExport':![]}),await this[F(0x1cf)][F(0x1d9)]({'filePath':z,'importName':F(0x1ad),'modulePath':'@mui/material/Container','isNamedExport':![]}),await this[F(0x1cf)][F(0x1d9)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x1e1):F(0x1d5),'isNamedExport':!![]}),await this['fsi'][F(0x1ab)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x1e3),'begin':['<div\x20id=\x22'+w+'\x22>',F(0x1e7)+w+'-hook\x22>'],'end':[F(0x1cd),'{\x20this.props.children\x20}',F(0x1df),F(0x1aa)]}),await this[F(0x1cf)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x1e1):F(0x1d5),'isNamedExport':!![]}),await this[F(0x1cf)][F(0x1ab)]({'filePath':z,'content':'<'+pascalCase(f)+'\x20/>\x0a','begin':[F(0x1e7)+w+'\x22>',F(0x1e7)+w+F(0x1b9)],'end':[F(0x1cd),F(0x1b7),F(0x1df),F(0x1aa)]}),await this[F(0x1cf)][F(0x1ab)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x1e3),'begin':[F(0x1cd),F(0x1b7),F(0x1df),'{\x20props.children\x20}'],'end':['</div>']}),await this['fsi']['injectImport']({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x1e1):F(0x1d5),'isNamedExport':!![]}),await this[F(0x1cf)][F(0x1c7)]({'filePath':z,'aboveContent':F(0x1ae),'belowContent':F(0x1ce),'targetString':[F(0x1cd),F(0x1b7),'{props.children}','{\x20props.children\x20}'],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x1e9)](A);}},async function(){const H=a124E;console[H(0x1e2)](H(0x1ba));},a124f);function a124c(){const I=['14870151fIHAHg','session','@mui/material/Box','kit/mui/frame/footers/','{\x20this.props.children\x20}','baseDir','-hook\x22>','Cleaning\x20up...','checkMeteorPackage','164ChubMJ','search','Box','layouts','1117112DoBDHJ','36610GqTulY','MATERIAL','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','true','pathFromApp','dir','injectAroundString','8WYIHzN','getDirectories','basic-app-bar','ssr','constructor','{this.props.children}','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','fsi','app-tests','withValue','getFiles','basic-drawer','apply','/imports/startup/client/templates','template','imports','8412096LazPLc','injectImport','REACT','length','maka\x20generate:kit:mui:frame','toString','checkbox','{props.children}','appName','/imports/startup/lib/templates','log','\x20/>\x0a','(((.+)+)+)+$','getMakaProjectConfig','.js','<div\x20id=\x22','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','error','force','tsx','1294266GRVRLT','engines','react','injectTemplateModule','3899778LnuJZs','kit/mui/frame/drawers/','/imports/ui/components','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','{\x20props.children\x20}','injectIntoFile','join','Container','<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>','/imports/ui/','kit/mui/frame/app-bars/','667478zImdER','tests'];a124c=function(){return I;};return a124c();}
1
+ const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=parseInt(B(0x119))/0x1+-parseInt(B(0x12c))/0x2*(-parseInt(B(0xfa))/0x3)+-parseInt(B(0x117))/0x4+-parseInt(B(0x13e))/0x5+parseInt(B(0x109))/0x6*(parseInt(B(0x100))/0x7)+parseInt(B(0x142))/0x8*(parseInt(B(0x135))/0x9)+-parseInt(B(0xfc))/0xa*(parseInt(B(0x137))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x52929));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0x107)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a[D(0x139)]()[D(0x128)](D(0x13b))['toString']()[D(0x103)](a124a)[D(0x128)](D(0x13b));});a124a();function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xf8;let f=c[d];return f;},a124d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a124e from'path';import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124E(0x112)]({'name':a124E(0x11a),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a124E(0xf9),'validOpts':[a124E(0x120),'baseDir',a124E(0x111),a124E(0x131)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':[a124E(0x108),'maka\x20g:k:m:f'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const F=a124E;try{const c=b[F(0x131)]||![],d=F(0x105),f=F(0x12a),g=F(0x106),h=this[F(0x121)][F(0x10a)](),i=h['engines'][F(0xff)]==='true';await this[F(0x121)][F(0x140)]([F(0xfe),F(0x13a)],{'shouldInstall':!![]});const j=this[F(0x121)]['findAppDirectory'](),k=a124e['join'](j,'imports','ui',F(0x120)),l=this[F(0x121)][F(0x12b)](k),m=await Actions[F(0x11e)]({'type':F(0x113),'name':'layouts','message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x120)][F(0x114)]===0x0){Log[F(0x10b)](F(0x126));return;}const n=b[F(0x134)]?F(0x13f)+b['baseDir']:'/imports/ui/components',o=this[F(0x121)][F(0x10d)]({'pathParts':[n,b[F(0x111)],paramCase(d),paramCase(d)]}),p=this[F(0x121)][F(0x10d)]({'pathParts':[n,b[F(0x111)],paramCase(f),paramCase(f)]}),q=this['fsi'][F(0x10d)]({'pathParts':[n,b[F(0x111)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x12f)])[F(0x11f)]('-','\x20')};await this['fsi'][F(0x10f)](h,async()=>{const G=F;await this[G(0x121)][G(0x10c)]({'srcPath':G(0x110)+d+'.js','destPath':o+G(0x13c),'framework':G(0xf8),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x121)][G(0x10c)]({'srcPath':G(0x10e)+f+G(0x13c),'destPath':p+G(0x13c),'framework':G(0xf8),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x121)]['template']({'srcPath':G(0x104)+g+G(0x13c),'destPath':q+'.js','framework':G(0xf8),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x111)]+'/'+d+'/'+d;await this[F(0x121)][F(0x116)](d,h,s);const t=''+n+b[F(0x111)]+'/'+f+'/'+f;await this['fsi'][F(0x116)](f,h,t);const u=''+n+b[F(0x111)]+'/'+g+'/'+g;await this['fsi'][F(0x116)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x121)][F(0x129)](a124e[F(0x124)](k,w),{'extensions':[F(0x130),'tsx'],'omit':[F(0x132),F(0x138),F(0x143)]});for(const y of x){const z=a124e[F(0x124)](k,w,y);await this['fsi']['injectImport']({'filePath':z,'importName':F(0x136),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this[F(0x121)][F(0x11b)]({'filePath':z,'importName':F(0x11c),'modulePath':F(0x133),'isNamedExport':![]}),await this[F(0x121)][F(0x11b)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x127):F(0x118),'isNamedExport':!![]}),await this[F(0x121)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+F(0x122),'begin':[F(0xfd)+w+'\x22>','<div\x20id=\x22'+w+'-hook\x22>'],'end':['{this.props.children}',F(0x123),F(0x102),F(0x12d)]}),await this[F(0x121)][F(0x11b)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x127):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x121)][F(0x125)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x122),'begin':[F(0xfd)+w+'\x22>',F(0xfd)+w+F(0x12e)],'end':[F(0xfb),F(0x123),F(0x102),'{\x20props.children\x20}']}),await this['fsi'][F(0x125)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':['{this.props.children}',F(0x123),F(0x102),F(0x12d)],'end':[F(0x141)]}),await this['fsi'][F(0x11b)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x127):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x121)]['injectAroundString']({'filePath':z,'aboveContent':F(0x11d),'belowContent':F(0x13d),'targetString':[F(0xfb),'{\x20this.props.children\x20}',F(0x102),F(0x12d)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const H=a124E;console[H(0x101)](H(0x115));},a124f);function a124c(){const I=['1322654ghhHTc','{\x20props.children\x20}','-hook\x22>','appName','jsx','force','app-tests','@mui/material/Container','baseDir','99oZFYfu','Box','1254iKuarX','tests','toString','maka:react-tracker','(((.+)+)+)+$','.js','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','1132230WGuoOJ','/imports/ui/','checkMeteorPackage','</div>','424312cVJrai','test','react','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','3KHfOOw','{this.props.children}','77960fSyvkR','<div\x20id=\x22','session','ssr','343nZoCxR','log','{props.children}','constructor','kit/mui/frame/footers/','basic-app-bar','basic-sticky-footer','apply','maka\x20generate:kit:mui:frame','7932UZSliW','getMakaProjectConfig','error','template','pathFromApp','kit/mui/frame/drawers/','withValue','kit/mui/frame/app-bars/','dir','create','checkbox','length','Cleaning\x20up...','injectTemplateModule','1196800wPLvWv','/imports/startup/client/templates','443073LdPmWE','frame','injectImport','Container','<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>','options','replaceAll','layouts','fsi','\x20/>\x0a','{\x20this.props.children\x20}','join','injectIntoFile','No\x20layouts\x20selected','/imports/startup/lib/templates','search','getFiles','basic-drawer','getDirectories'];a124c=function(){return I;};return a124c();}
@@ -1 +1 @@
1
- function a125c(){const l=['2737838hFEHfw','constructor','231HuwRMV','info','mui','Header,\x20Footer,\x20and\x20Drawer','processAndRunGenerator','options','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','toString','apply','search','getMakaProjectConfig','notice','6252392ESpUiO','55RemnKt','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','kitChoices','2839560PPBaWU','1243552lNcQQA','9uaQdBd','4300910SvDcRH','(((.+)+)+)+$','includes','fsi','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','18WihTwF','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','maka\x20g:kit:m','3316ZvDBpg','3568376dhydpz','checkbox','frame','length','Material-UI\x20Kit','create'];a125c=function(){return l;};return a125c();}const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=-parseInt(g(0x108))/0x1+-parseInt(g(0x11a))/0x2+parseInt(g(0x11c))/0x3*(-parseInt(g(0x113))/0x4)+parseInt(g(0x107))/0x5+parseInt(g(0x10f))/0x6*(parseInt(g(0x114))/0x7)+-parseInt(g(0x103))/0x8*(parseInt(g(0x109))/0x9)+parseInt(g(0x10a))/0xa*(parseInt(g(0x104))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xc0d3a));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0x123)]()[i(0x125)](i(0x10b))[i(0x123)]()[i(0x11b)](a125a)['search'](i(0x10b));});a125a();function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x103;let f=c[d];return f;},a125d(a,b);}import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator[a125j(0x119)]({'name':a125j(0x11e),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a125j(0x118),'validOpts':[''],'isPro':!![],'examples':[a125j(0x112)]},async function(){const k=a125j;Log['info'](k(0x122)),Log[k(0x127)](k(0x111));const {kitChoices:a}=await Actions[k(0x121)]({'type':k(0x115),'name':k(0x106),'message':k(0x10e),'choices':[{'name':k(0x11f),'value':'frame'},{'name':k(0x105),'value':'auth'}]}),b=this[k(0x10d)]['findProjectDirectory'](),c=this[k(0x10d)][k(0x126)]();a[k(0x10c)](k(0x116))&&await a125e['processAndRunGenerator']('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a['includes']('auth')&&await a125e[k(0x120)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0x117)]===0x0){Log[k(0x11d)](k(0x110));return;}},async function(){},a125f);export default MuiGen;
1
+ const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=-parseInt(g(0x182))/0x1*(parseInt(g(0x195))/0x2)+-parseInt(g(0x19a))/0x3+-parseInt(g(0x18e))/0x4+parseInt(g(0x1a8))/0x5*(-parseInt(g(0x190))/0x6)+parseInt(g(0x1a5))/0x7*(parseInt(g(0x18c))/0x8)+-parseInt(g(0x1a3))/0x9*(parseInt(g(0x187))/0xa)+parseInt(g(0x196))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x287d2));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0x1a6)]()[i(0x184)](i(0x19b))['toString']()[i(0x18d)](a125a)[i(0x184)](i(0x19b));});a125a();function a125c(){const l=['mui','kitChoices','info','9boPqNK','apply','246526vmBlkE','toString','kit:mui:auth','325OXNaQU','187295iGFJlV','notice','search','kit:mui:frame','frame','2000110xOJYiV','fsi','maka\x20g:kit:m','No\x20MUI\x20kits\x20selected.\x20Exiting.','processAndRunGenerator','64IFPGEg','constructor','1250708uKfTyJ','findProjectDirectory','15306HEBcEm','length','auth','includes','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','2JVBCPH','10206834ZNyaLJ','\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','options','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','533994XZAgHO','(((.+)+)+)+$','checkbox','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Material-UI\x20Kit','Header,\x20Footer,\x20and\x20Drawer'];a125c=function(){return l;};return a125c();}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';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x182;let f=c[d];return f;},a125d(a,b);}const MuiGen=Generator['create']({'name':a125j(0x1a0),'aliases':['m'],'usage':a125j(0x19d),'noNeedResource':!![],'shortDesc':a125j(0x19e),'validOpts':[''],'isPro':!![],'examples':[a125j(0x189)]},async function(){const k=a125j;Log[k(0x1a2)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[k(0x183)](k(0x197));const {kitChoices:a}=await Actions[k(0x198)]({'type':k(0x19c),'name':k(0x1a1),'message':k(0x199),'choices':[{'name':k(0x19f),'value':'frame'},{'name':k(0x194),'value':k(0x192)}]}),b=this[k(0x188)][k(0x18f)](),c=this[k(0x188)]['getMakaProjectConfig']();a[k(0x193)](k(0x186))&&await a125e[k(0x18b)](k(0x185),[],{'force':!![],'cwd':b,'config':c});a[k(0x193)]('auth')&&await a125e[k(0x18b)](k(0x1a7),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x191)]===0x0){Log['info'](k(0x18a));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(0x1fd))/0x1+parseInt(l(0x224))/0x2*(parseInt(l(0x204))/0x3)+-parseInt(l(0x1f7))/0x4*(parseInt(l(0x216))/0x5)+-parseInt(l(0x21b))/0x6*(-parseInt(l(0x221))/0x7)+-parseInt(l(0x219))/0x8+parseInt(l(0x213))/0x9*(-parseInt(l(0x201))/0xa)+-parseInt(l(0x20c))/0xb*(-parseInt(l(0x1fa))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xc8b62));function a126c(){const r=['template','injectTemplateModule','dir','fileName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','includes','layout','5866256OVGkCm','template/template.css','import\x20\x27./','4312260JOVtrJ','findAppDirectory','test','1630199CqdXvf','theme','test/test.js','engines','10ROtXRn','checkNpmPackage','resourceName','9aDqaQv','injectAtBeginningOfFile','true','assign','search','setTemplate','client','css','33Bcwzun','installNpmPackage','warn','split','hook/hook.js','create','react','8139438KRZFNj','features','getMakaProjectConfig','5gQhgPJ','fsi','pathFromApp','9509392elXqFE','Scaffolding\x20for\x20a\x20React\x20Layout.','1115466oFwlhF','apply','/imports/ui/layouts','(((.+)+)+)+$','.app-tests.js','withHook','49xnqXzP','withValue','string','248062kzpiGI','.js','ramda','toString'];a126c=function(){return r;};return a126c();}const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0x21c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a[n(0x227)]()[n(0x208)](n(0x21e))['toString']()['constructor'](a126a)[n(0x208)](n(0x21e));});a126a();import a126e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a126d(a,b);}Generator[a126o(0x211)]({'name':a126o(0x1f6),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a126o(0x21a),'validOpts':[a126o(0x220)],'examples':['maka\x20g:layout\x20mobile/iPhone8','maka\x20g:l\x20web/safari']},async function(a,b){const p=a126o,c=p(0x21d),d=this[p(0x217)][p(0x1fb)](),e=this['fsi'][p(0x218)]({'pathParts':[c,b[p(0x1f2)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),f=this[p(0x217)][p(0x215)]();await this[p(0x217)][p(0x222)](f,async()=>{const q=p;typeof f[q(0x1f0)][q(0x1fc)]===q(0x223)&&(f[q(0x1f0)][q(0x1fc)]=f['template'][q(0x1fc)]==='true'?!![]:![],this['fsi']['setTemplate'](q(0x1fc),f[q(0x1f0)]['test']));typeof f[q(0x1f0)][q(0x20b)]===q(0x223)&&(f[q(0x1f0)][q(0x20b)]=f['template'][q(0x20b)]===q(0x206)?!![]:![],this['fsi'][q(0x209)](q(0x20b),f[q(0x1f0)][q(0x20b)]));typeof f[q(0x1f0)]['js']===q(0x223)&&(f[q(0x1f0)]['js']=f[q(0x1f0)]['js']==='true'?!![]:![],this[q(0x217)][q(0x209)]('js',f['template']['js']));!f[q(0x214)]&&(f[q(0x214)]={});const g=b['_']?b['_'][0x0][q(0x20f)](':')[0x1]:![],h=b['_']&&aliases[q(0x1f5)](g);h&&!this['checkNpmPackage'](q(0x226))&&(Log[q(0x20e)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[q(0x217)][q(0x20d)](q(0x226),{'cwd':d}));if(h&&!this[q(0x202)]('react')){Log['warn'](q(0x1f4));return;}const i={'name':pascalCase(b[q(0x203)]),'myPath':a126e['relative'](this[q(0x217)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0x203)]),'className':pascalCase(b[q(0x203)]),'camelCaseName':camelCase(b[q(0x203)]),'fileName':paramCase(b[q(0x203)]),'graphql':f[q(0x200)]['graphql'],'features':f[q(0x214)],'client':f[q(0x200)][q(0x20a)],'api':f[q(0x200)]['api'],'ssr':f['engines']['ssr'],'test':f[q(0x200)][q(0x1fc)],'theme':f[q(0x200)][q(0x1fe)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x214)]['withTranslations']};f[q(0x214)]?.['withHooks']||b['withHook']?await this[q(0x217)][q(0x1f0)]({'srcPath':q(0x210),'destPath':e+q(0x225),'framework':q(0x212),'context':i,'config':f}):await this[q(0x217)][q(0x1f0)]({'srcPath':'component/component.js','destPath':e+'.js','framework':q(0x212),'context':i,'config':f});f[q(0x200)][q(0x1fc)]!=='none'&&await this[q(0x217)]['template']({'srcPath':q(0x1ff),'destPath':e+q(0x21f),'framework':q(0x212),'context':i,'config':f});f[q(0x1f0)][q(0x20b)]&&(await this['fsi'][q(0x1f0)]({'srcPath':q(0x1f8),'destPath':e+'.css','context':Object[q(0x207)]({},i,{'className':paramCase(b[q(0x203)])}),'config':f}),await this[q(0x217)][q(0x205)]({'filePath':e+'.'+f[q(0x200)]['js'],'content':q(0x1f9)+i[q(0x1f3)]+'.'+f[q(0x200)][q(0x20b)]+'\x27;'}));const j=b[q(0x1f2)]?'/'+b[q(0x1f2)]+'/':'/',k=''+c+j+i['fileName']+'/'+i['fileName'];await this[q(0x217)][q(0x1f1)](i['className'],f,k);});});
1
+ const a126n=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(0x1c4))/0x1*(parseInt(l(0x1c5))/0x2)+-parseInt(l(0x1db))/0x3+parseInt(l(0x1b7))/0x4*(parseInt(l(0x1d9))/0x5)+-parseInt(l(0x1c0))/0x6*(-parseInt(l(0x1d1))/0x7)+parseInt(l(0x1ce))/0x8+-parseInt(l(0x1b1))/0x9*(parseInt(l(0x1da))/0xa)+parseInt(l(0x1d5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x8ccaa));function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1aa;let f=c[d];return f;},a126d(a,b);}const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const m=a126d;return a126a[m(0x1df)]()[m(0x1d4)](m(0x1b9))[m(0x1df)]()['constructor'](a126a)['search']('(((.+)+)+)+$');});a126a();import a126e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a126c(){const q=['87434qApcLS','resourceName','injectAtBeginningOfFile','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','client','fileName','withHook','/imports/ui/layouts','installNpmPackage','2748352YeZVFD','hook/hook.js','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','21LmRqva','import\x20\x27./','none','search','264693SfnbOP','.css','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','className','5zwENdq','7050ucuzFy','359982qXLnGl','findAppDirectory','features','test','toString','withTranslations','relative','string','injectTemplateModule','template','dir','css','maka\x20g:layout\x20mobile/iPhone8','engines','create','5940qVuYps','.js','assign','setTemplate','layout','warn','824452QzgAJM','ramda','(((.+)+)+)+$','getMakaProjectConfig','ssr','test/test.js','Scaffolding\x20for\x20a\x20React\x20Layout.','react','true','1089078IfkKwE','theme','fsi','pathFromApp','1KNjrMy'];a126c=function(){return q;};return a126c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a126n(0x1b0)]({'name':a126n(0x1b5),'aliases':aliases,'usage':a126n(0x1d7),'shortDesc':a126n(0x1bd),'validOpts':[a126n(0x1cb)],'examples':[a126n(0x1ae),'maka\x20g:l\x20web/safari']},async function(a,b){const o=a126n,c=o(0x1cc),d=this[o(0x1c2)][o(0x1dc)](),e=this[o(0x1c2)][o(0x1c3)]({'pathParts':[c,b[o(0x1ac)],paramCase(b['resourceName']),paramCase(b[o(0x1c6)])]}),f=this[o(0x1c2)][o(0x1ba)]();await this[o(0x1c2)]['withValue'](f,async()=>{const p=o;typeof f['template'][p(0x1de)]==='string'&&(f['template'][p(0x1de)]=f['template'][p(0x1de)]==='true'?!![]:![],this[p(0x1c2)][p(0x1b4)](p(0x1de),f[p(0x1ab)][p(0x1de)]));typeof f['template'][p(0x1ad)]==='string'&&(f[p(0x1ab)][p(0x1ad)]=f['template'][p(0x1ad)]===p(0x1bf)?!![]:![],this[p(0x1c2)][p(0x1b4)](p(0x1ad),f[p(0x1ab)][p(0x1ad)]));typeof f[p(0x1ab)]['js']===p(0x1e2)&&(f[p(0x1ab)]['js']=f[p(0x1ab)]['js']===p(0x1bf)?!![]:![],this[p(0x1c2)][p(0x1b4)]('js',f[p(0x1ab)]['js']));!f[p(0x1dd)]&&(f[p(0x1dd)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this['checkNpmPackage'](p(0x1b8))&&(Log[p(0x1b6)](p(0x1d0)),this[p(0x1c2)][p(0x1cd)](p(0x1b8),{'cwd':d}));if(h&&!this['checkNpmPackage'](p(0x1be))){Log[p(0x1b6)](p(0x1c8));return;}const i={'name':pascalCase(b[p(0x1c6)]),'myPath':a126e[p(0x1e1)](this[p(0x1c2)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[p(0x1c6)]),'className':pascalCase(b[p(0x1c6)]),'camelCaseName':camelCase(b[p(0x1c6)]),'fileName':paramCase(b[p(0x1c6)]),'graphql':f['engines']['graphql'],'features':f[p(0x1dd)],'client':f[p(0x1af)][p(0x1c9)],'api':f[p(0x1af)]['api'],'ssr':f[p(0x1af)][p(0x1bb)],'test':f[p(0x1af)]['test'],'theme':f[p(0x1af)][p(0x1c1)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0x1dd)][p(0x1e0)]};f['features']?.['withHooks']||b[p(0x1cb)]?await this['fsi'][p(0x1ab)]({'srcPath':p(0x1cf),'destPath':e+p(0x1b2),'framework':p(0x1be),'context':i,'config':f}):await this[p(0x1c2)][p(0x1ab)]({'srcPath':'component/component.js','destPath':e+'.js','framework':p(0x1be),'context':i,'config':f});f[p(0x1af)]['test']!==p(0x1d3)&&await this[p(0x1c2)][p(0x1ab)]({'srcPath':p(0x1bc),'destPath':e+'.app-tests.js','framework':p(0x1be),'context':i,'config':f});f['template']['css']&&(await this[p(0x1c2)]['template']({'srcPath':'template/template.css','destPath':e+p(0x1d6),'context':Object[p(0x1b3)]({},i,{'className':paramCase(b[p(0x1c6)])}),'config':f}),await this[p(0x1c2)][p(0x1c7)]({'filePath':e+'.'+f[p(0x1af)]['js'],'content':p(0x1d2)+i['fileName']+'.'+f[p(0x1af)][p(0x1ad)]+'\x27;'}));const j=b[p(0x1ac)]?'/'+b[p(0x1ac)]+'/':'/',k=''+c+j+i['fileName']+'/'+i[p(0x1ca)];await this[p(0x1c2)][p(0x1aa)](i[p(0x1d8)],f,k);});});
@@ -1 +1 @@
1
- const a127i=a127d;function a127c(){const j=['7LbfCGG','23bCnUNM','search','19324keYhtF','maka\x20g:package\x20package:name','generate','4QkQQSN','5697hSEolG','1199944YcOduZ','(((.+)+)+)+$','2274162ftolpf','1354686rFPPCQ','apply','985011TOeqXd','toString','maka\x20g:scaffold\x20todos','374790SgxdzD','maka\x20g:api\x20trucks','maka\x20g:template\x20todos/todo_item','maka\x20{generate,\x20g}:<generator>\x20<name>','4610IHAEUt','maka\x20generate:scaffold\x20todos','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:route\x20todos/edit','constructor'];a127c=function(){return j;};return a127c();}(function(a,b){const f=a127d,c=a();while(!![]){try{const d=parseInt(f(0x15e))/0x1*(parseInt(f(0x160))/0x2)+-parseInt(f(0x151))/0x3*(-parseInt(f(0x163))/0x4)+parseInt(f(0x154))/0x5+-parseInt(f(0x14f))/0x6*(-parseInt(f(0x15d))/0x7)+-parseInt(f(0x165))/0x8+-parseInt(f(0x164))/0x9*(parseInt(f(0x158))/0xa)+-parseInt(f(0x14e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x31802));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a[h(0x152)]()['search']('(((.+)+)+)+$')[h(0x152)]()[h(0x15c)](a127a)[h(0x15f)](h(0x14d));});a127a();import{Generator}from'../generator.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x14d;let f=c[d];return f;},a127d(a,b);}const MakaGen=new Generator({'name':a127i(0x162),'aliases':['g'],'usage':a127i(0x157),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a127i(0x159),a127i(0x153),a127i(0x156),a127i(0x161),a127i(0x15b),a127i(0x155),a127i(0x15a)]},function(){});export default MakaGen;
1
+ const a127i=a127d;function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x7b;let f=c[d];return f;},a127d(a,b);}function a127c(){const j=['1791YTyfui','search','1gxJdXG','(((.+)+)+)+$','apply','maka\x20g:package\x20package:name','541986QdVeoV','generate','35qDGDia','2790716VgMCso','maka\x20g:dbc\x20geoserver\x20--type=pgsql','7854161yLbasH','maka\x20g:template\x20todos/todo_item','135944ELEHVi','maka\x20generate:scaffold\x20todos','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:route\x20todos/edit','149190fJCooL','toString','3927628dZwYFU','maka\x20g:api\x20trucks','2490471OxAnYF','Scaffold\x20various\x20parts\x20of\x20your\x20application'];a127c=function(){return j;};return a127c();}(function(a,b){const f=a127d,c=a();while(!![]){try{const d=-parseInt(f(0x87))/0x1*(-parseInt(f(0x8e))/0x2)+parseInt(f(0x83))/0x3+parseInt(f(0x81))/0x4+parseInt(f(0x8d))/0x5*(-parseInt(f(0x8b))/0x6)+parseInt(f(0x90))/0x7+parseInt(f(0x7b))/0x8+-parseInt(f(0x85))/0x9*(parseInt(f(0x7f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xb5f18));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a[h(0x80)]()[h(0x86)](h(0x88))[h(0x80)]()['constructor'](a127a)['search'](h(0x88));});a127a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a127i(0x8c),'aliases':['g'],'usage':a127i(0x7d),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0x84),'examples':[a127i(0x7c),'maka\x20g:scaffold\x20todos',a127i(0x91),a127i(0x8a),a127i(0x7e),a127i(0x82),a127i(0x8f)]},function(){});export default MakaGen;
@@ -1 +1 @@
1
- const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(0x87))/0x1*(parseInt(j(0x83))/0x2)+parseInt(j(0x73))/0x3+-parseInt(j(0x7f))/0x4+-parseInt(j(0x7a))/0x5+parseInt(j(0x75))/0x6*(parseInt(j(0x6f))/0x7)+-parseInt(j(0x82))/0x8+parseInt(j(0x85))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xef6e1));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x76)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a['toString']()[l(0x80)]('(((.+)+)+)+$')[l(0x8c)]()['constructor'](a128a)[l(0x80)](l(0x79));});a128a();function a128c(){const p=['20131290MHITRN','create','364607yrgPtX','appPathPrefix','method','pathFromApp','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','toString','-rpc-method.','resourceName','mdg:validated-method','maka\x20{generate,\x20g}:{method,\x20m}\x20name','injectAtEndOfFile','maka\x20g:method\x20todos','imports','dir','7oQVWNO','startup','methods','error','833496Yfmzvg','checkMeteorPackage','2622366gHdHdj','apply','-rpc-method\x27;','tsx','(((.+)+)+)+$','2434705MyJmps','method/method.js','fsi','withValue','template','867464oLJbnY','search','index.','7220672ztIESN','2NobVjG','engines'];a128c=function(){return p;};return a128c();}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-0x69;let f=c[d];return f;},a128d(a,b);}Generator[a128m(0x86)]({'name':a128m(0x89),'aliases':['m'],'usage':a128m(0x6a),'checkWhere':!![],'shortDesc':a128m(0x8b),'validOpts':[a128m(0x6e)],'examples':[a128m(0x6c)]},async function(a,b){const n=a128m;try{const c=this[n(0x7c)]['getMakaProjectConfig']();await this[n(0x7c)][n(0x7d)](c,async()=>{const o=n,d=paramCase(b[o(0x8e)]),f={'name':b[o(0x8e)],'fileName':d,'className':pascalCase(b[o(0x8e)]),'camelCase':camelCase(b[o(0x8e)]),'noRename':!![]};let g='js';c[o(0x84)]['js']===o(0x78)&&(g='ts');await this[o(0x7c)][o(0x74)](['maka:check','ddp-rate-limiter',o(0x69)],{'shouldInstall':!![]}),await this['fsi'][o(0x7e)]({'srcPath':o(0x7b),'destPath':this['fsi'][o(0x8a)]({'pathParts':[o(0x6d),'startup',b[o(0x88)],o(0x71),b['dir'],d+o(0x8d)+g]}),'context':f,'config':c});const h=b[o(0x6e)]?'/'+b[o(0x6e)]+'/':'/',i=this['fsi'][o(0x8a)]({'pathParts':[o(0x6d),o(0x70),b[o(0x88)],o(0x81)+c[o(0x84)]['js']]});await this['fsi'][o(0x6b)]({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0x77)});});}catch(d){Log[n(0x72)](d);}});
1
+ const a128l=a128d;function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1cc;let f=c[d];return f;},a128d(a,b);}(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0x1d6))/0x1+parseInt(j(0x1d9))/0x2+-parseInt(j(0x1d2))/0x3+-parseInt(j(0x1db))/0x4*(-parseInt(j(0x1da))/0x5)+-parseInt(j(0x1e1))/0x6*(-parseInt(j(0x1e0))/0x7)+-parseInt(j(0x1e8))/0x8*(-parseInt(j(0x1ef))/0x9)+-parseInt(j(0x1e7))/0xa*(parseInt(j(0x1ce))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x8b4d4));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const k=a128d;return a128a[k(0x1d0)]()[k(0x1dd)]('(((.+)+)+)+$')['toString']()['constructor'](a128a)[k(0x1dd)](k(0x1d7));});a128a();import{Generator}from'../generator.js';function a128c(){const o=['checkMeteorPackage','appPathPrefix','maka\x20g:method\x20todos','fsi','14930rVHpnb','594096eRqOVv','getMakaProjectConfig','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','import\x20\x27./methods','dir','-rpc-method.','maka:check','27IIaxCG','-rpc-method\x27;','methods','template','12507DBMUtp','engines','toString','method/method.js','1854627dYidXx','ddp-rate-limiter','maka\x20{generate,\x20g}:{method,\x20m}\x20name','create','913737gKKbeW','(((.+)+)+)+$','method','1197392vdqMiK','4785FJlTvM','592JzFWCT','withValue','search','resourceName','imports','9485pJgyea','4470MwvzWy','mdg:validated-method'];a128c=function(){return o;};return a128c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a128l(0x1d5)]({'name':a128l(0x1d8),'aliases':['m'],'usage':a128l(0x1d4),'checkWhere':!![],'shortDesc':a128l(0x1ea),'validOpts':['dir'],'examples':[a128l(0x1e5)]},async function(a,b){const m=a128l;try{const c=this[m(0x1e6)][m(0x1e9)]();await this['fsi'][m(0x1dc)](c,async()=>{const n=m,d=paramCase(b[n(0x1de)]),f={'name':b[n(0x1de)],'fileName':d,'className':pascalCase(b[n(0x1de)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c['engines']['js']==='tsx'&&(g='ts');await this['fsi'][n(0x1e3)]([n(0x1ee),n(0x1d3),n(0x1e2)],{'shouldInstall':!![]}),await this[n(0x1e6)][n(0x1cd)]({'srcPath':n(0x1d1),'destPath':this[n(0x1e6)]['pathFromApp']({'pathParts':[n(0x1df),'startup',b[n(0x1e4)],n(0x1cc),b[n(0x1ec)],d+n(0x1ed)+g]}),'context':f,'config':c});const h=b[n(0x1ec)]?'/'+b['dir']+'/':'/',i=this[n(0x1e6)]['pathFromApp']({'pathParts':[n(0x1df),'startup',b[n(0x1e4)],'index.'+c[n(0x1cf)]['js']]});await this['fsi']['injectAtEndOfFile']({'filePath':i,'content':n(0x1eb)+h+d+n(0x1f0)});});}catch(d){Log['error'](d);}});
@@ -1 +1 @@
1
- const a129o=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=-parseInt(l(0x203))/0x1+-parseInt(l(0x206))/0x2+parseInt(l(0x21c))/0x3*(parseInt(l(0x1fd))/0x4)+parseInt(l(0x1f8))/0x5+parseInt(l(0x212))/0x6+-parseInt(l(0x21b))/0x7+parseInt(l(0x1fa))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x3adfa));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0x1fb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0x204)]()['search'](n(0x1ff))[n(0x204)]()[n(0x20e)](a129a)[n(0x1f9)](n(0x1ff));});function a129c(){const r=['3aKHgkT','/package.js','packages','graphql','package/package.js','relative','fsi','features','pathFromAppWithNoReWrite','41170GhPPeP','search','4830880yZxaQI','apply','hasOwnProperty','162712qucyvY','client','(((.+)+)+)+$','package.js','resourceName','ssr','265178TXQwLp','toString','pathFromProject','49172VJXHlm','component','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','tests/server','theme','template','/client/','package/','constructor','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','.js','lib','684696khCtft','server','engines','noRename','layout','package','create','dir','pathFromApp','1651846OubSYp'];a129c=function(){return r;};return a129c();}a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1f0;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[a129o(0x218)]({'name':a129o(0x217),'aliases':['p'],'usage':a129o(0x20f),'shortDesc':a129o(0x208),'validOpts':[a129o(0x219)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a129o,c=paramCase(b['resourceName']),d=this['fsi'][p(0x21a)]({'pathParts':[p(0x1f1),b['dir'],c]}),e=this['fsi'][p(0x1f7)]({'pathParts':[p(0x1f1),b[p(0x219)],c,p(0x200)]}),f=this['fsi']['getMakaProjectConfig']();await this[p(0x1f5)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0x201)]),'myPath':a129e[q(0x1f4)](this[q(0x1f5)][q(0x205)]({}),d),'cssCaseName':paramCase(b[q(0x201)]),'className':pascalCase(b[q(0x201)]),'camelCaseName':camelCase(b[q(0x201)]),'fileName':c,'client':f[q(0x214)][q(0x1fe)],'graphql':f['engines'][q(0x1f2)],'ssr':f[q(0x214)][q(0x202)],'isComponent':b[q(0x1fc)](q(0x207)),'isLayout':b[q(0x1fc)](q(0x216)),'isStore':b[q(0x1fc)]('store'),'features':f[q(0x1f6)],'noRename':!![],'theme':f['engines'][q(0x20a)]};await this[q(0x1f5)][q(0x20b)]({'srcPath':q(0x1f3),'destPath':e,'context':g,'config':f}),g[q(0x215)]=![];const h=d+q(0x20c)+c+q(0x210);await this['fsi'][q(0x20b)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[q(0x211),q(0x213),'tests/client',q(0x209)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x210);await this['fsi'][q(0x20b)]({'srcPath':q(0x20d)+j+q(0x1f0),'destPath':k,'context':g,'config':f});}});});
1
+ const a129o=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=parseInt(l(0x10c))/0x1*(parseInt(l(0xf8))/0x2)+-parseInt(l(0x11f))/0x3*(-parseInt(l(0x114))/0x4)+parseInt(l(0x104))/0x5*(parseInt(l(0xf5))/0x6)+-parseInt(l(0x10e))/0x7*(-parseInt(l(0x116))/0x8)+-parseInt(l(0x101))/0x9+parseInt(l(0xfc))/0xa+parseInt(l(0xf6))/0xb*(-parseInt(l(0xfe))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x7f428));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0x111)]()['search'](n(0x110))[n(0x111)]()[n(0x121)](a129a)[n(0xfd)](n(0x110));});function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xf3;let f=c[d];return f;},a129d(a,b);}a129a();import a129e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a129c(){const r=['component','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','1647mPmgXY','engines','constructor','fsi','theme','36VpiyFi','11BormEF','client','43096SmpULh','package/package.js','lib','tests/client','4940040pqYHUd','search','29435064neLQiJ','resourceName','getMakaProjectConfig','4105233CtGyxa','package','package/','755020eMuiJd','graphql','pathFromAppWithNoReWrite','dir','/client/','packages','hasOwnProperty','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','37jFWuDO','template/template.js','7XCZSvS','layout','(((.+)+)+)+$','toString','pathFromApp','/package.js','5308vtjekO','template','4035904IrlGMk','noRename','ssr','.js','apply','create','package.js'];a129c=function(){return r;};return a129c();}Generator[a129o(0x11b)]({'name':a129o(0x102),'aliases':['p'],'usage':a129o(0x10b),'shortDesc':a129o(0x11e),'validOpts':[a129o(0x107)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a129o,c=paramCase(b[p(0xff)]),d=this[p(0xf3)][p(0x112)]({'pathParts':[p(0x109),b[p(0x107)],c]}),e=this[p(0xf3)][p(0x106)]({'pathParts':[p(0x109),b[p(0x107)],c,p(0x11c)]}),f=this[p(0xf3)][p(0x100)]();await this['fsi']['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0xff)]),'myPath':a129e['relative'](this[q(0xf3)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0xff)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xff)]),'fileName':c,'client':f[q(0x120)][q(0xf7)],'graphql':f[q(0x120)][q(0x105)],'ssr':f[q(0x120)][q(0x118)],'isComponent':b['hasOwnProperty'](q(0x11d)),'isLayout':b['hasOwnProperty'](q(0x10f)),'isStore':b[q(0x10a)]('store'),'features':f['features'],'noRename':!![],'theme':f[q(0x120)][q(0xf4)]};await this['fsi']['template']({'srcPath':q(0xf9),'destPath':e,'context':g,'config':f}),g[q(0x117)]=![];const h=d+q(0x108)+c+q(0x119);await this['fsi'][q(0x115)]({'srcPath':q(0x10d),'destPath':h,'context':g,'config':f});const i=[q(0xfa),'server',q(0xfb),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+q(0x119);await this[q(0xf3)][q(0x115)]({'srcPath':q(0x103)+j+q(0x113),'destPath':k,'context':g,'config':f});}});});
@@ -1 +1 @@
1
- const a130m=a130d;function a130c(){const p=['13553298fEIzHD','dir','root','test','fileName','vanilla','248qidBNn','pathFromProject','theme','/imports/ui/pages','\x27;\x0a','toString','358011CCcOij','none','hook/hook.js','withTranslations','9123GOcnKT','(((.+)+)+)+$','layout','resourceName','css','hasOwnProperty','.app-tests.js','import\x20\x27./','api','template/template.css','7508920CkPCpV','features','6AblsYY','client','string','graphql','withValue','getMakaProjectConfig','ramda','engines','49ntZMIH','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','route','fsi','warn','checkNpmPackage','processAndRunGenerator','html','true','search','baseDir','react','244kJVgTz','className','layouts','template/template.html','withHook','hooks','apply','maka\x20g:page\x20todos/todos-item','234604lXyfCH','.css','2257845flqQQq','1332696rTFuPw','injectAtBeginningOfFile','template','create','test/test.js','injectTemplateModule','setTemplate','findAppDirectory','.js','Updating\x20npm\x20packages\x20...'];a130c=function(){return p;};return a130c();}(function(a,b){const j=a130d,c=a();while(!![]){try{const d=-parseInt(j(0x187))/0x1*(-parseInt(j(0x1b0))/0x2)+-parseInt(j(0x1a4))/0x3*(parseInt(j(0x1c4))/0x4)+parseInt(j(0x189))/0x5+-parseInt(j(0x18a))/0x6*(-parseInt(j(0x1b8))/0x7)+-parseInt(j(0x19a))/0x8*(parseInt(j(0x1a0))/0x9)+parseInt(j(0x1ae))/0xa+-parseInt(j(0x194))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xc5d4d));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a[l(0x19f)]()[l(0x1c1)](l(0x1a5))[l(0x19f)]()['constructor'](a130a)[l(0x1c1)](l(0x1a5));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a130f from'../generators/maka.gen.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x182;let f=c[d];return f;},a130d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a130m(0x18d)]({'name':'page','aliases':aliases,'usage':a130m(0x1b9),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a130m(0x1c2),'values':[a130m(0x184),'components','pages',a130m(0x1c6)]},{'name':a130m(0x183),'boolFlag':!![]}],'examples':[a130m(0x186)]},async function(a,b){const n=a130m,c=b[n(0x1c2)]?'/imports/ui/'+b[n(0x1c2)]:n(0x19d),d=this[n(0x1bb)][n(0x191)](),e=this[n(0x1bb)]['pathFromApp']({'pathParts':[c,b[n(0x195)],paramCase(b[n(0x1a7)]),paramCase(b['resourceName'])]}),f=this['fsi'][n(0x1b5)]();let g='';return await this[n(0x1bb)][n(0x1b4)](f,async()=>{const o=n;typeof f['template'][o(0x1bf)]===o(0x1b2)&&(f[o(0x18c)]['html']=f['template'][o(0x1bf)]===o(0x1c0)?!![]:![],this['fsi'][o(0x190)](o(0x1bf),f['template'][o(0x1bf)]));typeof f[o(0x18c)][o(0x197)]===o(0x1b2)&&(f[o(0x18c)][o(0x197)]=f[o(0x18c)][o(0x197)]==='true'?!![]:![],this['fsi'][o(0x190)](o(0x197),f[o(0x18c)][o(0x197)]));typeof f[o(0x18c)][o(0x1a8)]===o(0x1b2)&&(f[o(0x18c)][o(0x1a8)]=f['template'][o(0x1a8)]===o(0x1c0)?!![]:![],this[o(0x1bb)][o(0x190)](o(0x1a8),f['template'][o(0x1a8)]));typeof f[o(0x18c)]['js']===o(0x1b2)&&(f[o(0x18c)]['js']=f['template']['js']===o(0x1c0)?!![]:![],this[o(0x1bb)][o(0x190)]('js',f[o(0x18c)]['js']));!f[o(0x1af)]&&(f[o(0x1af)]={});!b['root']&&!this['fsi'][o(0x1bd)]('ramda')&&(Log[o(0x1bc)](o(0x193)),this[o(0x1bb)]['installNpmPackage'](o(0x1b6),{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a130e['relative'](this['fsi'][o(0x19b)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[o(0x1a7)]),'camelCaseName':camelCase(b[o(0x1a7)]),'fileName':paramCase(b[o(0x1a7)]),'graphql':f[o(0x1b7)][o(0x1b3)],'features':f['features'],'client':f[o(0x1b7)][o(0x1b1)],'api':f[o(0x1b7)][o(0x1ac)],'ssr':f['engines']['ssr'],'isStore':b['hasOwnProperty']('store'),'isComponent':b[o(0x1a9)]('component'),'isLayout':b['hasOwnProperty'](o(0x1a6)),'withTranslations':f[o(0x1af)][o(0x1a3)],'test':f['engines'][o(0x197)],'theme':f['engines'][o(0x19c)]};f[o(0x18c)]['html']&&await this['fsi']['template']({'srcPath':o(0x182),'destPath':e+'.html','context':h,'config':f});f[o(0x1af)]?.['withHooks']||b['withHook']?await this[o(0x1bb)]['template']({'srcPath':o(0x1a2),'destPath':e+o(0x192),'framework':o(0x1c3),'context':h,'config':f}):await this['fsi'][o(0x18c)]({'srcPath':'component/component.js','destPath':e+o(0x192),'framework':o(0x1c3),'context':h,'config':f});f[o(0x1b7)][o(0x197)]!==o(0x1a1)&&await this[o(0x1bb)]['template']({'srcPath':o(0x18e),'destPath':e+o(0x1aa),'framework':o(0x1c3),'context':h,'config':f});f[o(0x18c)][o(0x1a8)]&&await this[o(0x1bb)][o(0x18c)]({'srcPath':o(0x1ad),'destPath':e+o(0x188),'context':Object['assign']({},h,{'className':paramCase(b[o(0x1a7)])}),'config':f});f[o(0x1b7)][o(0x1b1)]!=='react'&&f[o(0x1b7)][o(0x1b1)]!==o(0x199)?(f[o(0x18c)][o(0x1a8)]&&await this[o(0x1bb)][o(0x18b)]({'filePath':e+'.'+f[o(0x1b7)]['js'],'content':o(0x1ab)+h[o(0x198)]+'.'+f['engines'][o(0x1bf)]+o(0x19e)+o(0x1ab)+h[o(0x198)]+'.'+f[o(0x1b7)][o(0x1a8)]+'\x27;'}),!f[o(0x18c)]['css']&&await this[o(0x1bb)][o(0x18b)]({'filePath':e+'.'+f[o(0x1b7)]['js'],'content':'import\x20\x27./'+h[o(0x198)]+'.'+f['engines']['html']+'\x27;'})):f[o(0x18c)][o(0x1a8)]&&await this[o(0x1bb)][o(0x18b)]({'filePath':e+'.'+f[o(0x1b7)]['js'],'content':o(0x1ab)+h['fileName']+'.'+f[o(0x1b7)][o(0x1a8)]+'\x27;'});const i=b['dir']?'/'+b[o(0x195)]+'/':'/';g=''+c+i+h[o(0x198)]+'/'+h['fileName'],await this[o(0x1bb)][o(0x18f)](h[o(0x1c5)],f,g),!b[o(0x196)]&&await a130f[o(0x1be)](o(0x1ba),[i+b['resourceName']],b);}),g+'.'+f['engines']['js'];});
1
+ const a130m=a130d;function a130c(){const p=['warn','99DKsgzH','client','template/template.css','engines','import\x20\x27./','processAndRunGenerator','page','fileName','8teWKrD','getMakaProjectConfig','pages','relative','component/component.js','395750VZaKll','4052839LWiLQE','.app-tests.js','checkNpmPackage','component','withHook','toString','ramda','injectAtBeginningOfFile','assign','withValue','11114832ASayLF','apply','installNpmPackage','(((.+)+)+)+$','18IGIups','withHooks','2230745cSowwt','dir','layout','Updating\x20npm\x20packages\x20...','graphql','pathFromProject','true','template','api','hasOwnProperty','root','.html','baseDir','theme','findAppDirectory','hooks','\x27;\x0a','string','search','pathFromApp','className','test','css','setTemplate','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','react','create','4fZHLFn','vanilla','html','features','layouts','ssr','152227oFfvhL','store','template/template.html','fsi','6vjCyWL','test/test.js','2208924BoXaIa','hook/hook.js','21924LjAyci','resourceName','maka\x20g:page\x20todos/todos-item'];a130c=function(){return p;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1ec;let f=c[d];return f;},a130d(a,b);}(function(a,b){const j=a130d,c=a();while(!![]){try{const d=parseInt(j(0x207))/0x1*(parseInt(j(0x201))/0x2)+-parseInt(j(0x22f))/0x3*(-parseInt(j(0x20f))/0x4)+-parseInt(j(0x231))/0x5*(-parseInt(j(0x20b))/0x6)+parseInt(j(0x221))/0x7*(parseInt(j(0x21b))/0x8)+parseInt(j(0x20d))/0x9+-parseInt(j(0x220))/0xa*(parseInt(j(0x213))/0xb)+-parseInt(j(0x22b))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x4f773));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0x22c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a['toString']()[l(0x1f8)](l(0x22e))[l(0x226)]()['constructor'](a130a)['search'](l(0x22e));});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';const aliases=['p'];Generator[a130m(0x200)]({'name':a130m(0x219),'aliases':aliases,'usage':a130m(0x1fe),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a130m(0x1f2),'values':[a130m(0x1f5),'components',a130m(0x21d),a130m(0x205)]},{'name':a130m(0x225),'boolFlag':!![]}],'examples':[a130m(0x211)]},async function(a,b){const n=a130m,c=b[n(0x1f2)]?'/imports/ui/'+b[n(0x1f2)]:'/imports/ui/pages',d=this['fsi'][n(0x1f4)](),e=this[n(0x20a)][n(0x1f9)]({'pathParts':[c,b[n(0x232)],paramCase(b[n(0x210)]),paramCase(b['resourceName'])]}),f=this['fsi'][n(0x21c)]();let g='';return await this[n(0x20a)][n(0x22a)](f,async()=>{const o=n;typeof f['template'][o(0x203)]===o(0x1f7)&&(f[o(0x1ed)]['html']=f[o(0x1ed)][o(0x203)]===o(0x1ec)?!![]:![],this[o(0x20a)][o(0x1fd)](o(0x203),f[o(0x1ed)]['html']));typeof f[o(0x1ed)][o(0x1fb)]===o(0x1f7)&&(f[o(0x1ed)][o(0x1fb)]=f[o(0x1ed)][o(0x1fb)]===o(0x1ec)?!![]:![],this[o(0x20a)][o(0x1fd)](o(0x1fb),f[o(0x1ed)]['test']));typeof f[o(0x1ed)][o(0x1fc)]===o(0x1f7)&&(f[o(0x1ed)]['css']=f['template'][o(0x1fc)]==='true'?!![]:![],this['fsi'][o(0x1fd)](o(0x1fc),f[o(0x1ed)]['css']));typeof f['template']['js']===o(0x1f7)&&(f[o(0x1ed)]['js']=f[o(0x1ed)]['js']===o(0x1ec)?!![]:![],this[o(0x20a)][o(0x1fd)]('js',f[o(0x1ed)]['js']));!f[o(0x204)]&&(f[o(0x204)]={});!b['root']&&!this['fsi'][o(0x223)](o(0x227))&&(Log[o(0x212)](o(0x234)),this[o(0x20a)][o(0x22d)](o(0x227),{'cwd':d}));const h={'name':pascalCase(b[o(0x210)]),'myPath':a130e[o(0x21e)](this['fsi'][o(0x236)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[o(0x210)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[o(0x210)]),'graphql':f['engines'][o(0x235)],'features':f['features'],'client':f['engines'][o(0x214)],'api':f[o(0x216)][o(0x1ee)],'ssr':f[o(0x216)][o(0x206)],'isStore':b[o(0x1ef)](o(0x208)),'isComponent':b['hasOwnProperty'](o(0x224)),'isLayout':b[o(0x1ef)](o(0x233)),'withTranslations':f['features']['withTranslations'],'test':f['engines'][o(0x1fb)],'theme':f[o(0x216)][o(0x1f3)]};f['template'][o(0x203)]&&await this['fsi'][o(0x1ed)]({'srcPath':o(0x209),'destPath':e+o(0x1f1),'context':h,'config':f});f[o(0x204)]?.[o(0x230)]||b[o(0x225)]?await this[o(0x20a)][o(0x1ed)]({'srcPath':o(0x20e),'destPath':e+'.js','framework':'react','context':h,'config':f}):await this['fsi'][o(0x1ed)]({'srcPath':o(0x21f),'destPath':e+'.js','framework':o(0x1ff),'context':h,'config':f});f['engines'][o(0x1fb)]!=='none'&&await this['fsi'][o(0x1ed)]({'srcPath':o(0x20c),'destPath':e+o(0x222),'framework':o(0x1ff),'context':h,'config':f});f[o(0x1ed)]['css']&&await this['fsi'][o(0x1ed)]({'srcPath':o(0x215),'destPath':e+'.css','context':Object[o(0x229)]({},h,{'className':paramCase(b['resourceName'])}),'config':f});f[o(0x216)]['client']!=='react'&&f[o(0x216)][o(0x214)]!==o(0x202)?(f[o(0x1ed)][o(0x1fc)]&&await this[o(0x20a)][o(0x228)]({'filePath':e+'.'+f[o(0x216)]['js'],'content':o(0x217)+h[o(0x21a)]+'.'+f[o(0x216)][o(0x203)]+o(0x1f6)+'import\x20\x27./'+h['fileName']+'.'+f[o(0x216)][o(0x1fc)]+'\x27;'}),!f[o(0x1ed)][o(0x1fc)]&&await this[o(0x20a)][o(0x228)]({'filePath':e+'.'+f[o(0x216)]['js'],'content':'import\x20\x27./'+h[o(0x21a)]+'.'+f[o(0x216)]['html']+'\x27;'})):f[o(0x1ed)][o(0x1fc)]&&await this[o(0x20a)][o(0x228)]({'filePath':e+'.'+f[o(0x216)]['js'],'content':o(0x217)+h['fileName']+'.'+f['engines'][o(0x1fc)]+'\x27;'});const i=b[o(0x232)]?'/'+b[o(0x232)]+'/':'/';g=''+c+i+h['fileName']+'/'+h['fileName'],await this[o(0x20a)]['injectTemplateModule'](h[o(0x1fa)],f,g),!b[o(0x1f0)]&&await a130f[o(0x218)]('route',[i+b['resourceName']],b);}),g+'.'+f[n(0x216)]['js'];});
@@ -1 +1 @@
1
- const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=parseInt(m(0xb9))/0x1+-parseInt(m(0xb0))/0x2*(parseInt(m(0xc3))/0x3)+-parseInt(m(0xad))/0x4*(-parseInt(m(0xae))/0x5)+-parseInt(m(0xa5))/0x6*(-parseInt(m(0xbd))/0x7)+-parseInt(m(0xc9))/0x8+parseInt(m(0xa2))/0x9*(parseInt(m(0xb3))/0xa)+parseInt(m(0xc4))/0xb*(-parseInt(m(0xb5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x618d0));function a131c(){const s=['resourceName','3022756pjxKgB','5LjoqPn','exit','2FonRvo','baseDir','constructor','110hcfSNr','appPathPrefix','39672ujZwug','(((.+)+)+)+$','maka\x20g:publish\x20todos','publish/publish.js','462437fMVtcy','fsi','engines','publish','980oQfzCF','create','template','search','force','tsx','2093622IbIJZD','2530ExKcMr','imports','toString','getMakaProjectConfig','/imports/ui/','3538584jfbqyu','618741jdtBfF','dir','startup','13962MONHxI','apply','withValue','server','globalPublish','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','import\x20\x27./publications'];a131c=function(){return s;};return a131c();}function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xa2;let f=c[d];return f;},a131d(a,b);}const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a[o(0xc6)]()[o(0xc0)](o(0xb6))[o(0xc6)]()[o(0xb2)](a131a)[o(0xc0)](o(0xb6));});a131a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a131p(0xbe)]({'name':a131p(0xbc),'aliases':['p'],'usage':a131p(0xaa),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[a131p(0xc1),a131p(0xa9)],'examples':[a131p(0xb7)]},async function(a,b){const q=a131p;try{const c=b[q(0xc1)]||![],d=b[q(0xb1)]?q(0xc8)+b[q(0xb1)]:'/imports/startup/server/publications',f=this[q(0xba)][q(0xc7)](),g=paramCase(b[q(0xac)]),h=this[q(0xba)]['pathFromApp']({'pathParts':[d,b[q(0xa3)],'',g]});let i='js';f['engines']['js']===q(0xc2)&&(i='ts');await this[q(0xba)][q(0xa7)](f,async()=>{const r=q,l={'name':b[r(0xac)],'collection':pascalCase(b[r(0xac)]),'noRename':!![],'globalPublish':b[r(0xa9)]};await this[r(0xba)][r(0xbf)]({'srcPath':r(0xb8),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0xba)]['pathFromApp']({'pathParts':[q(0xc5),q(0xa4),q(0xa8),b[q(0xb4)],'index.'+f[q(0xbb)]['js']]}),k=b['dir']?'/'+b[q(0xa3)]+'/':'/';return await this[q(0xba)]['injectAtEndOfFile']({'filePath':j,'content':q(0xab)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log['error'](l),process[q(0xaf)](0x1);}});
1
+ const a131p=a131d;function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xee;let f=c[d];return f;},a131d(a,b);}(function(a,b){const m=a131d,c=a();while(!![]){try{const d=parseInt(m(0xfa))/0x1+parseInt(m(0x105))/0x2*(-parseInt(m(0x100))/0x3)+parseInt(m(0x109))/0x4+-parseInt(m(0x101))/0x5*(parseInt(m(0x106))/0x6)+-parseInt(m(0xef))/0x7+-parseInt(m(0x107))/0x8+parseInt(m(0xf9))/0x9*(parseInt(m(0xfc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x84ba9));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a['toString']()[o(0x10f)](o(0xfe))[o(0xf3)]()[o(0x112)](a131a)[o(0x10f)](o(0xfe));});a131a();import{paramCase,pascalCase}from'change-case';function a131c(){const s=['force','2305365SIwMxp','5vuoDWM','publish','withValue','globalPublish','2lDorzh','391470MjpTzt','5095640LHDmQM','exit','3705828EJPUvm','appPathPrefix','getMakaProjectConfig','pathFromApp','injectAtEndOfFile','/imports/startup/server/publications','search','index.','startup','constructor','dir','publish/publish.js','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','template','6567666AIijGx','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','maka\x20g:publish\x20todos','imports','toString','error','apply','engines','import\x20\x27./publications','baseDir','9vlhluh','201174FMkewn','fsi','18249190lgNSVa','resourceName','(((.+)+)+)+$'];a131c=function(){return s;};return a131c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a131p(0x102),'aliases':['p'],'usage':a131p(0x115),'shortDesc':a131p(0xf0),'validOpts':[a131p(0xff),a131p(0x104)],'examples':[a131p(0xf1)]},async function(a,b){const q=a131p;try{const c=b[q(0xff)]||![],d=b[q(0xf8)]?'/imports/ui/'+b[q(0xf8)]:q(0x10e),f=this['fsi'][q(0x10b)](),g=paramCase(b[q(0xfd)]),h=this[q(0xfb)][q(0x10c)]({'pathParts':[d,b[q(0x113)],'',g]});let i='js';f[q(0xf6)]['js']==='tsx'&&(i='ts');await this['fsi'][q(0x103)](f,async()=>{const r=q,l={'name':b[r(0xfd)],'collection':pascalCase(b[r(0xfd)]),'noRename':!![],'globalPublish':b[r(0x104)]};await this[r(0xfb)][r(0xee)]({'srcPath':r(0x114),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0xfb)][q(0x10c)]({'pathParts':[q(0xf2),q(0x111),'server',b[q(0x10a)],q(0x110)+f[q(0xf6)]['js']]}),k=b[q(0x113)]?'/'+b['dir']+'/':'/';return await this[q(0xfb)][q(0x10d)]({'filePath':j,'content':q(0xf7)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0xf4)](l),process[q(0x108)](0x1);}});