@maka/maka-cli 4.12.8 → 4.12.10

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 a116c(){const u=['meteor/maka:react-tracker','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','error','true','export\x20const\x20AuthProvider','REACT','.js','publish','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','Meteor.publish','meteor','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','meteor/meteor','\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','327734wvQkSd','withValue','injectImport','12hbbOoD','const\x20resetPasswordWithToken','const\x20getUserAuthorizations','checkMeteorPackage','fsi','const\x20registerNewUser','400376frLCPn','136560yZEGcu','injectIntoFile','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','6857712tvqIpa','23316AsngxS','\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','processAndRunGenerator','/imports/startup/client/authentication-service','/imports/startup/lib/authentication-service','pathFromApp','meteor/accounts-base','(((.+)+)+)+$','findProjectDirectory','233004zWtluU','alanning:roles','const\x20deauthenticateUser','getMakaProjectConfig','useTracker','accounts-password','const\x20sendForgotPasswordEmail','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','apply','startup','11476280EnxGeD','Meteor.startup','AuthService','7uUVIiM','index','imports','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','290NwcQlB','const\x20authenticateUser','toString','authentication-provider','injectIntoCodeBlock','create','constructor','force','/imports/startup/lib','Accounts','search'];a116c=function(){return u;};return a116c();}const a116r=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=-parseInt(o(0xde))/0x1+-parseInt(o(0xf5))/0x2*(-parseInt(o(0xe1))/0x3)+parseInt(o(0xe7))/0x4+parseInt(o(0x106))/0x5*(-parseInt(o(0xec))/0x6)+-parseInt(o(0x102))/0x7*(parseInt(o(0xe8))/0x8)+-parseInt(o(0xeb))/0x9+parseInt(o(0xff))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x5d282));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0x108)]()[q(0x110)](q(0xf3))['toString']()[q(0x10c)](a116a)[q(0x110)]('(((.+)+)+)+$');});function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xdc;let f=c[d];return f;},a116d(a,b);}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(0x10b)]({'name':a116r(0x11b),'aliases':['m'],'usage':a116r(0x112),'shortDesc':a116r(0xfc),'validOpts':[a116r(0x10d)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116r(0x116)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20'},async function(a,b){const s=a116r;try{const c=b[s(0x10d)]||![];await this[s(0xe5)][s(0xe4)]([s(0xfa),s(0xf6)],{'shouldInstall':!![]});const d=this[s(0xe5)][s(0xf4)](),f=this[s(0xe5)][s(0xf8)](),g=f['engines']['ssr']===s(0x114);await a116f['processAndRunGenerator']('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0xee)](s(0x118),['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x10e):'/imports/startup/client',j=this[s(0xe5)][s(0xf1)]({'pathParts':[i,'','','authentication-service']});await this[s(0xe5)][s(0xdf)](f,async()=>{const t=s;await this['fsi']['template']({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0x117),'framework':'react','context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0xe5)]['pathFromApp']({'pathParts':[i,'','',s(0x109)]}),l=f['engines']['js'];await this[s(0xe5)][s(0xe0)]({'filePath':k+'.'+l,'importName':s(0x101),'modulePath':g?s(0xf0):s(0xef),'isNamedExport':![]}),await this[s(0xe5)][s(0x10a)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x107),'replace':!![]}),await this[s(0xe5)][s(0x10a)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20authenticateToken','replace':!![]}),await this[s(0xe5)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x11c),'begin':s(0xe3),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0xea),'begin':s(0xf7),'replace':!![]}),await this[s(0xe5)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x105),'begin':s(0xfb),'replace':!![]}),await this[s(0xe5)][s(0x10a)]({'filePath':k+'.'+l,'content':s(0x119),'begin':s(0xe6),'replace':!![]}),await this[s(0xe5)][s(0x10a)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xe2),'replace':!![]});g&&(await this['fsi']['injectImport']({'filePath':k+'.'+l,'importName':s(0xf9),'modulePath':s(0x111),'isNamedExport':!![]}),await this[s(0xe5)][s(0xe9)]({'filePath':k+'.'+l,'content':s(0xdd),'begin':s(0x115),'end':'return\x20\x5c('}));await this[s(0xe5)][s(0xe0)]({'filePath':h,'importName':'Meteor','modulePath':s(0xdc),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0xe5)]['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(0x11a),'replace':!![]});const m=this[s(0xe5)][s(0xf1)]({'pathParts':[s(0x104),s(0xfe),'server',s(0x103)]});await this[s(0xe5)][s(0xe0)]({'filePath':m+'.'+l,'importName':s(0x10f),'modulePath':s(0xf2),'isNamedExport':!![]}),await this[s(0xe5)][s(0x10a)]({'filePath':m+'.'+l,'content':s(0xed),'begin':s(0x100),'replace':!![]});}catch(n){Log[s(0x113)](n),process['exit'](0x1);}},async function(){},a116e);
1
+ const a116r=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=parseInt(o(0xcb))/0x1+-parseInt(o(0xd7))/0x2+-parseInt(o(0xd4))/0x3+-parseInt(o(0xb9))/0x4+-parseInt(o(0xbd))/0x5+parseInt(o(0xd8))/0x6+parseInt(o(0xef))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x52045));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0xd9)]()[q(0xea)](q(0xdb))[q(0xd9)]()[q(0xe1)](a116a)[q(0xea)](q(0xdb));});a116a();import{Generator}from'../../../generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xb5;let f=c[d];return f;},a116d(a,b);}function a116c(){const u=['211160gwJHcu','const\x20getUserAuthorizations','authentication-provider','/imports/startup/lib/authentication-service','exit','.js','apply','engines','/imports/startup/client/authentication-service','ssr','meteor/meteor','\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','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','\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','618695RqZuZa','imports','auth/roles','meteor','create','accounts-password','Meteor.startup','const\x20registerNewUser','processAndRunGenerator','1101984SESsxl','kit/auth/service/meteor-auth-service.js','AuthService','1320158bWdZgu','953826IYvGTJ','toString','pathFromApp','(((.+)+)+)+$','Meteor','startup','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','alanning:roles','const\x20authenticateToken','constructor','export\x20const\x20AuthProvider','meteor/maka:react-tracker','injectImport','kit:auth:provider','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','injectIntoCodeBlock','authentication-service','const\x20authenticateUser','search','const\x20deauthenticateUser','\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','server','index','8329174sDHmCH','return\x20\x5c(','injectIntoFile','force','fsi','Meteor.publish','getMakaProjectConfig','\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','2247872HXoVgJ','const\x20resetPasswordWithToken','findProjectDirectory','useTracker'];a116c=function(){return u;};return a116c();}import{Log}from'../../../tools/log/log.class.js';import a116e from'./auth.generator.js';import a116f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a116r(0xcf)]({'name':a116r(0xce),'aliases':['m'],'usage':a116r(0xc9),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a116r(0xca)},async function(a,b){const s=a116r;try{const c=b[s(0xf2)]||![];await this['fsi']['checkMeteorPackage']([s(0xd0),s(0xdf)],{'shouldInstall':!![]});const d=this[s(0xb5)][s(0xbb)](),f=this['fsi'][s(0xb7)](),g=f[s(0xc4)][s(0xc6)]==='true';await a116f['processAndRunGenerator'](s(0xe5),[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0xd3)]('publish',[s(0xcd)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':'/imports/startup/client',j=this[s(0xb5)][s(0xda)]({'pathParts':[i,'','',s(0xe8)]});await this['fsi']['withValue'](f,async()=>{const t=s;await this[t(0xb5)]['template']({'srcPath':t(0xd5),'destPath':j+t(0xc2),'framework':'react','context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0xb5)][s(0xda)]({'pathParts':[i,'','',s(0xbf)]}),l=f['engines']['js'];await this[s(0xb5)][s(0xe4)]({'filePath':k+'.'+l,'importName':s(0xd6),'modulePath':g?s(0xc0):s(0xc5),'isNamedExport':![]}),await this[s(0xb5)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xe9),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0xec),'begin':s(0xe0),'replace':!![]}),await this['fsi'][s(0xe7)]({'filePath':k+'.'+l,'content':s(0xc8),'begin':s(0xbe),'replace':!![]}),await this['fsi'][s(0xe7)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xeb),'replace':!![]}),await this[s(0xb5)][s(0xe7)]({'filePath':k+'.'+l,'content':s(0xe6),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await this['fsi'][s(0xe7)]({'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(0xd2),'replace':!![]}),await this[s(0xb5)][s(0xe7)]({'filePath':k+'.'+l,'content':s(0xde),'begin':s(0xba),'replace':!![]});g&&(await this[s(0xb5)][s(0xe4)]({'filePath':k+'.'+l,'importName':s(0xbc),'modulePath':s(0xe3),'isNamedExport':!![]}),await this['fsi'][s(0xf1)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xe2),'end':s(0xf0)}));await this[s(0xb5)]['injectImport']({'filePath':h,'importName':s(0xdc),'modulePath':s(0xc7),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0xb5)][s(0xe7)]({'filePath':h,'content':s(0xb8),'begin':s(0xb6),'replace':!![]});const m=this[s(0xb5)][s(0xda)]({'pathParts':[s(0xcc),s(0xdd),s(0xed),s(0xee)]});await this['fsi'][s(0xe4)]({'filePath':m+'.'+l,'importName':'Accounts','modulePath':'meteor/accounts-base','isNamedExport':!![]}),await this[s(0xb5)]['injectIntoCodeBlock']({'filePath':m+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xd1),'replace':!![]});}catch(n){Log['error'](n),process[s(0xc1)](0x1);}},async function(){},a116e);
@@ -1 +1 @@
1
- const a117x=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=-parseInt(u(0x13a))/0x1*(-parseInt(u(0x147))/0x2)+-parseInt(u(0x16d))/0x3+parseInt(u(0x14e))/0x4+-parseInt(u(0x155))/0x5+-parseInt(u(0x137))/0x6*(parseInt(u(0x14a))/0x7)+parseInt(u(0x15a))/0x8*(-parseInt(u(0x168))/0x9)+-parseInt(u(0x13b))/0xa*(-parseInt(u(0x16b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x63554));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a[w(0x13e)]()[w(0x144)]('(((.+)+)+)+$')['toString']()[w(0x161)](a117a)['search'](w(0x14b));});function a117c(){const A=['search','force','split','226rKTyEr','bright','injectAroundString','549619dHwZmY','(((.+)+)+)+$','/imports/startup/lib','replaceAll','2517216RVqTKc','engines','injectIntoCodeBlock','<Routes\x20history={history}/>','true','authentication-provider','kit/auth/provider/authentication-provider.js','1111575oMKLIB','/routes','error','/imports/startup/client/index','const\x20Routes','1109848ZURlAt','pathFromApp','\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','exit','template','REACT','ssr','constructor','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','</AuthProvider>','/imports/startup/client','/imports/startup/lib/authentication-provider','<AuthProvider>','appName','9TWUNwk','react','function\x20Routes','5357MeNMdg','apply','549291dHaVKb','AuthProvider','6BFZOdy','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','getMakaProjectConfig','3141PmmMkV','930RNXzVi','/imports/startup/client/authentication-provider','provider','toString','AuthContext','.js','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','fsi','injectImport'];a117c=function(){return A;};return a117c();}a117a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';import{headerCase}from'change-case';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x137;let f=c[d];return f;},a117d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a117x(0x13d),'aliases':['p'],'usage':a117x(0x141),'shortDesc':a117x(0x162),'validOpts':[a117x(0x145)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117x(0x15f)]},'description':a117x(0x138)},async function(a,b){const y=a117x;try{const c=b[y(0x145)]||![];Log[y(0x148)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this['fsi'][y(0x139)](),f=d[y(0x14f)][y(0x160)]===y(0x152),g={'name':headerCase(d[y(0x167)])[y(0x14d)]('-','\x20')},h=f?y(0x14c):y(0x164),i=this['fsi'][y(0x15b)]({'pathParts':[h,'','',y(0x153)]});await this[y(0x142)]['withValue'](d,async()=>{const z=y;await this[z(0x142)][z(0x15e)]({'srcPath':z(0x154),'destPath':i+z(0x140),'framework':z(0x169),'context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+y(0x156),l=k[y(0x146)]('/'),m=this[y(0x142)][y(0x15b)]({'pathParts':l});await this[y(0x142)][y(0x143)]({'filePath':m+'.'+j,'importName':y(0x13f),'modulePath':f?y(0x165):y(0x13c),'isNamedExport':!![]}),await this[y(0x142)][y(0x143)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0x169),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x142)][y(0x150)]({'filePath':m+'.'+j,'content':y(0x15c),'begin':[y(0x159),y(0x16a)],'replace':!![]});const n=y(0x158),o=n['split']('/'),p=this[y(0x142)]['pathFromApp']({'pathParts':o});await this[y(0x142)][y(0x143)]({'filePath':p+'.'+j,'importName':y(0x16e),'modulePath':f?y(0x165):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x142)][y(0x149)]({'filePath':p+'.'+j,'aboveContent':y(0x166),'belowContent':y(0x163),'targetString':'<Routes\x20history={browserHistory}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[y(0x146)]('/'),s=this['fsi'][y(0x15b)]({'pathParts':r});await this[y(0x142)][y(0x143)]({'filePath':s+'.'+j,'importName':y(0x16e),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x13c),'isNamedExport':!![]}),await this[y(0x142)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':y(0x166),'belowContent':y(0x163),'targetString':y(0x151),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x157)](t),process[y(0x15d)](0x1);}},async function(){},a117e);
1
+ const a117x=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=parseInt(u(0x1cd))/0x1+-parseInt(u(0x1d3))/0x2+parseInt(u(0x1e8))/0x3+-parseInt(u(0x1be))/0x4*(-parseInt(u(0x1ee))/0x5)+parseInt(u(0x1bb))/0x6*(parseInt(u(0x1ed))/0x7)+-parseInt(u(0x1eb))/0x8*(parseInt(u(0x1e5))/0x9)+-parseInt(u(0x1d7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xaf02e));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a[w(0x1bf)]()['search'](w(0x1de))[w(0x1bf)]()[w(0x1ea)](a117a)['search']('(((.+)+)+)+$');});function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a117d(a,b);}function a117c(){const A=['provider','1080576NCOsLZ','.js','/imports/startup/lib/authentication-provider','fsi','7423480wXAVSx','create','/routes','template','apply','const\x20Routes','/imports/startup/client','(((.+)+)+)+$','pathFromApp','error','injectIntoCodeBlock','\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','kit/auth/provider/authentication-provider.js','<AuthProvider>','27zkvcki','ssr','/imports/startup/client/authentication-provider','2160438rBRWpd','AuthContext','constructor','2315944zYbmtj','engines','159257AuYkTj','4578485YKsiOl','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','/imports/startup/server/index','258WOJHDg','withValue','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','4OrXPGr','toString','replaceAll','force','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','injectAroundString','function\x20Routes','<Routes\x20history={history}/>','/imports/startup/lib','AuthProvider','REACT','appName','useContext','injectImport','exit','253825CeMcTW','true','split','bright','<Routes\x20history={browserHistory}/>'];a117c=function(){return A;};return a117c();}a117a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117x(0x1d8)]({'name':a117x(0x1d2),'aliases':['p'],'usage':a117x(0x1bd),'shortDesc':a117x(0x1b9),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117x(0x1c8)]},'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 y=a117x;try{const c=b[y(0x1c1)]||![];Log[y(0x1d0)](y(0x1c2));const d=this[y(0x1d6)]['getMakaProjectConfig'](),f=d[y(0x1ec)][y(0x1e6)]===y(0x1ce),g={'name':headerCase(d[y(0x1c9)])[y(0x1c0)]('-','\x20')},h=f?y(0x1c6):y(0x1dd),i=this[y(0x1d6)][y(0x1df)]({'pathParts':[h,'','','authentication-provider']});await this['fsi'][y(0x1bc)](d,async()=>{const z=y;await this[z(0x1d6)][z(0x1da)]({'srcPath':z(0x1e3),'destPath':i+z(0x1d4),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x1ec)]['js'],k=h+y(0x1d9),l=k[y(0x1cf)]('/'),m=this['fsi'][y(0x1df)]({'pathParts':l});await this[y(0x1d6)][y(0x1cb)]({'filePath':m+'.'+j,'importName':y(0x1e9),'modulePath':f?y(0x1d5):y(0x1e7),'isNamedExport':!![]}),await this[y(0x1d6)][y(0x1cb)]({'filePath':m+'.'+j,'importName':y(0x1ca),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x1d6)][y(0x1e1)]({'filePath':m+'.'+j,'content':y(0x1e2),'begin':[y(0x1dc),y(0x1c4)],'replace':!![]});const n='/imports/startup/client/index',o=n[y(0x1cf)]('/'),p=this[y(0x1d6)][y(0x1df)]({'pathParts':o});await this[y(0x1d6)]['injectImport']({'filePath':p+'.'+j,'importName':y(0x1c7),'modulePath':f?y(0x1d5):y(0x1e7),'isNamedExport':!![]}),await this['fsi'][y(0x1c3)]({'filePath':p+'.'+j,'aboveContent':y(0x1e4),'belowContent':'</AuthProvider>','targetString':y(0x1d1),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1ba),r=q[y(0x1cf)]('/'),s=this['fsi'][y(0x1df)]({'pathParts':r});await this['fsi'][y(0x1cb)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x1d5):y(0x1e7),'isNamedExport':!![]}),await this[y(0x1d6)][y(0x1c3)]({'filePath':s+'.'+j,'aboveContent':y(0x1e4),'belowContent':'</AuthProvider>','targetString':y(0x1c5),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x1e0)](t),process[y(0x1cc)](0x1);}},async function(){},a117e);
@@ -1 +1 @@
1
- function a118c(){var i=['2872818yQKzoM','(((.+)+)+)+$','7etFRPC','toString','search','47756jTwgys','6460206xRcFmX','8fVJnvv','3274390cWRpRF','20VeKCSD','26230567kcctTA','apply','constructor','119989AtXeMF','14046984KsjldB','27ygSDlc'];a118c=function(){return i;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x1ea))/0x1+parseInt(f(0x1f2))/0x2*(-parseInt(f(0x1ec))/0x3)+-parseInt(f(0x1f4))/0x4*(parseInt(f(0x1f5))/0x5)+-parseInt(f(0x1f3))/0x6*(-parseInt(f(0x1ef))/0x7)+-parseInt(f(0x1eb))/0x8+parseInt(f(0x1ed))/0x9*(parseInt(f(0x1f6))/0xa)+parseInt(f(0x1e7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xe5498));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()[h(0x1f1)](h(0x1ee))[h(0x1f0)]()[h(0x1e9)](a118a)['search']('(((.+)+)+)+$');});a118a();import'./esri.generator.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1e7;var f=c[d];return f;},a118d(a,b);}import'./map.esri.gen.js';
1
+ (function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0xfb))/0x1*(parseInt(f(0x103))/0x2)+-parseInt(f(0x102))/0x3*(parseInt(f(0xfc))/0x4)+parseInt(f(0xf8))/0x5+parseInt(f(0xf6))/0x6*(parseInt(f(0xf7))/0x7)+parseInt(f(0xfd))/0x8+-parseInt(f(0xf4))/0x9+parseInt(f(0xf5))/0xa*(-parseInt(f(0xfe))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x311ac));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xff)]()[h(0x101)]('(((.+)+)+)+$')[h(0xff)]()[h(0x100)](a118a)[h(0x101)](h(0xf9));});a118a();function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xf4;var f=c[d];return f;},a118d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';function a118c(){var i=['apply','55lzGskr','3236unhsUL','1916624bGRSIv','22VtucjS','toString','constructor','search','1227UAduFF','10030qTJJQD','1070010WBvkDS','1953020LgOULd','84174dzgTAh','91CPIYKm','1718635VYuIeZ','(((.+)+)+)+$'];a118c=function(){return i;};return a118c();}
@@ -1 +1 @@
1
- const a119i=a119d;function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x93;let f=c[d];return f;},a119d(a,b);}(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x96))/0x1+parseInt(f(0x97))/0x2*(parseInt(f(0x93))/0x3)+-parseInt(f(0xa2))/0x4*(parseInt(f(0x99))/0x5)+parseInt(f(0x9e))/0x6+-parseInt(f(0xa5))/0x7+parseInt(f(0x9a))/0x8+parseInt(f(0x9b))/0x9*(parseInt(f(0xa3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xe7a02));function a119c(){const k=['maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','/foo','4NDMaFe','6530770YLwypd','(((.+)+)+)+$','7012362pmTfcl','995052WGdtun','/foo/bar','search','1182834cUVzef','2DDBETj','Esri\x20Kit\x20generated\x20successfully','3072700emRFMK','282648rRdmoE','9CSQkcm','apply','create','2172708LLlGeM'];a119c=function(){return k;};return a119c();}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a['toString']()[h(0x95)](h(0xa4))['toString']()['constructor'](a119a)[h(0x95)]('(((.+)+)+)+$');});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const EsriGen=Generator[a119i(0x9d)]({'name':'esri','aliases':['e'],'usage':a119i(0x9f),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a119i(0xa0)},async function(){const j=a119i;return{'success':!![],'message':j(0x98),'details':{'filesCreated':[j(0x94)],'filesUpdated':[j(0xa1)]}};},async function(){},a119e);export default EsriGen;
1
+ const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x105))/0x1+-parseInt(f(0x109))/0x2+parseInt(f(0x104))/0x3*(parseInt(f(0x110))/0x4)+-parseInt(f(0x107))/0x5*(-parseInt(f(0xff))/0x6)+parseInt(f(0x10a))/0x7*(parseInt(f(0x103))/0x8)+parseInt(f(0xfe))/0x9*(parseInt(f(0x100))/0xa)+-parseInt(f(0x108))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x9b9d4));function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xfc;let f=c[d];return f;},a119d(a,b);}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x10c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x10d)]()[h(0x101)](h(0x10e))[h(0x10d)]()[h(0xfc)](a119a)[h(0x101)](h(0x10e));});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';function a119c(){const j=['maka\x20g:kit:e','153UcEjiE','10476IsALgf','628480dBoEuK','search','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','1821224VjKnCb','3TVzyKi','984359BEWOom','\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','2395GSCYna','25986312bOcdRQ','2530374DkMbdu','21mzPDkF','esri','apply','toString','(((.+)+)+)+$','create','2771628RNbhHs','constructor'];a119c=function(){return j;};return a119c();}const EsriGen=Generator[a119i(0x10f)]({'name':a119i(0x10b),'aliases':['e'],'usage':a119i(0x102),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a119i(0xfd)],'description':a119i(0x106)},async function(){return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':['/foo/bar'],'filesUpdated':['/foo']}};},async function(){},a119e);export default EsriGen;
@@ -1 +1 @@
1
- function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x87;let f=c[d];return f;},a120d(a,b);}const a120s=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=parseInt(p(0xab))/0x1+parseInt(p(0xad))/0x2*(parseInt(p(0xa1))/0x3)+-parseInt(p(0x99))/0x4*(parseInt(p(0x8a))/0x5)+-parseInt(p(0xae))/0x6+parseInt(p(0xa6))/0x7+-parseInt(p(0x88))/0x8+parseInt(p(0x8c))/0x9*(-parseInt(p(0x91))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x39b18));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0x9f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a[r(0x8e)]()['search']('(((.+)+)+)+$')['toString']()[r(0x9c)](a120a)[r(0x87)](r(0xaf));});function a120c(){const v=['injectImport','engines','esri-loader','findProjectDirectory','template','replaceAll','appName','page','search','638984UhhjjN','baseDir','55465cwZGhf','/imports/startup/client/templates','27bQzPvq','basic-map','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','.js','122340FLjttA','@esri/react-arcgis','/imports/ui/hooks','map','error','</div>','FALSE','getMakaProjectConfig','8fQINpM','fsi','create','constructor','Generating\x20a\x20map\x20component','processAndRunGenerator','apply','<div\x20id=\x22map\x22>','954777ocLofD','\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','Generate\x20an\x20Esri\x20map\x20component','true','/imports/ui/','511735QCgtzV','react','injectTemplateModule','kit/esri/map/','dir','327653MBiCms','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','2YGcXsi','2063664GEeocK','(((.+)+)+)+$','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';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120s(0x9b)]({'name':a120s(0x94),'aliases':['m'],'usage':a120s(0x8f),'shortDesc':a120s(0xa3),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a120s(0x97)]},'description':a120s(0xa2)},async function(a,b){const t=a120s;try{Log['bright'](t(0x9d));const c=t(0x8d);await this[t(0x9a)]['checkNpmPackage']([t(0x92),t(0xb3)],{'shouldInstall':!![]});const d=this[t(0x9a)][t(0xb4)](),f=this[t(0x9a)][t(0x98)](),g=f[t(0xb2)]['ssr']===t(0xa4),h=await a120f[t(0x9e)](t(0xb8),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0xb7)])[t(0xb6)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x89)]?t(0xa5)+b['baseDir']:t(0x93),k=this['fsi']['pathFromApp']({'pathParts':[j,b[t(0xaa)],paramCase(c),paramCase(c)]});await this[t(0x9a)][t(0xb0)](f,async()=>{const u=t;await this['fsi'][u(0xb5)]({'srcPath':u(0xa9)+c+u(0x90),'destPath':k+'.js','framework':u(0xa7),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[t(0x9a)][t(0xa8)](c,f,l);const m=h['split']('/'),n=this[t(0x9a)]['pathFromApp']({'pathParts':m});await this[t(0x9a)][t(0xb1)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x8b),'isNamedExport':!![]}),await this[t(0x9a)]['injectIntoFile']({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0xac),'begin':[t(0xa0),'<div\x20id=\x22map\x22>'],'end':[t(0x96)],'replace':!![]});}catch(o){Log[t(0x95)](o),process['exit'](0x1);}},async function(){},a120e);
1
+ const a120s=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x13b;let f=c[d];return f;},a120d(a,b);}(function(a,b){const p=a120d,c=a();while(!![]){try{const d=parseInt(p(0x149))/0x1*(parseInt(p(0x16c))/0x2)+parseInt(p(0x151))/0x3+-parseInt(p(0x145))/0x4*(parseInt(p(0x141))/0x5)+-parseInt(p(0x156))/0x6*(-parseInt(p(0x153))/0x7)+parseInt(p(0x140))/0x8+-parseInt(p(0x150))/0x9*(parseInt(p(0x148))/0xa)+-parseInt(p(0x165))/0xb*(-parseInt(p(0x14e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xe615f));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0x146)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a[r(0x13d)]()[r(0x169)](r(0x15b))[r(0x13d)]()[r(0x158)](a120a)[r(0x169)](r(0x15b));});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';function a120c(){const v=['REACT','/imports/startup/lib/templates','withValue','12TqxYnL','@esri/react-arcgis','18NxFvGV','435591dhftMa','template','7lUPzJs','true','engines','5035224tiQnDy','kit/esri/map/','constructor','Generating\x20a\x20map\x20component','appName','(((.+)+)+)+$','create','error','.js','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','dir','react','replaceAll','injectIntoFile','pathFromApp','15820123CkwZDz','exit','findProjectDirectory','baseDir','search','<div\x20id=\x22map\x22>','injectTemplateModule','322jFPGdL','esri-loader','map','fsi','getMakaProjectConfig','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','</div>','Generate\x20an\x20Esri\x20map\x20component','ssr','toString','FALSE','injectImport','2489656OVGoEH','5KKQzAs','processAndRunGenerator','/imports/startup/client/templates','/imports/ui/hooks','491188AgfUqa','apply','/imports/ui/','9085880JsLHnG','923iTjPvl','page'];a120c=function(){return v;};return a120c();}Generator[a120s(0x15c)]({'name':'map','aliases':['m'],'usage':a120s(0x171),'shortDesc':a120s(0x13b),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120s(0x14b)],'ssr':SsrEngines[a120s(0x13e)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const t=a120s;try{Log['bright'](t(0x159));const c='basic-map';await this['fsi']['checkNpmPackage']([t(0x14f),t(0x16d)],{'shouldInstall':!![]});const d=this['fsi'][t(0x167)](),f=this[t(0x16f)][t(0x170)](),g=f[t(0x155)][t(0x13c)]===t(0x154),h=await a120f[t(0x142)](t(0x14a),[t(0x16e)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x15a)])[t(0x162)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x168)]?t(0x147)+b[t(0x168)]:t(0x144),k=this['fsi'][t(0x164)]({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[t(0x16f)][t(0x14d)](f,async()=>{const u=t;await this[u(0x16f)][u(0x152)]({'srcPath':u(0x157)+c+'.js','destPath':k+u(0x15e),'framework':u(0x161),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x160)]+'/'+c+'/'+c;await this['fsi'][t(0x16b)](c,f,l);const m=h['split']('/'),n=this['fsi']['pathFromApp']({'pathParts':m});await this['fsi'][t(0x13f)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x14c):t(0x143),'isNamedExport':!![]}),await this[t(0x16f)][t(0x163)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x15f),'begin':[t(0x16a),t(0x16a)],'end':[t(0x172)],'replace':!![]});}catch(o){Log[t(0x15d)](o),process[t(0x166)](0x1);}},async function(){},a120e);
@@ -1 +1 @@
1
- const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=parseInt(f(0x8e))/0x1*(-parseInt(f(0x97))/0x2)+parseInt(f(0x96))/0x3+-parseInt(f(0x91))/0x4+parseInt(f(0x8f))/0x5+-parseInt(f(0x93))/0x6*(-parseInt(f(0x8d))/0x7)+-parseInt(f(0x90))/0x8+-parseInt(f(0x9d))/0x9*(-parseInt(f(0x98))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x67b6f));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0x9c)]()['search']('(((.+)+)+)+$')[h(0x9c)]()[h(0x9b)](a121a)['search'](h(0x9f));});a121a();function a121c(){const j=['maka\x20g:kit','apply','2451021QsYGyI','132606YeeDQM','10CMaHSb','create','maka\x20{generate,\x20g}:{kit}\x20<name>','constructor','toString','3969954XmsjpS','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','(((.+)+)+)+$','maka\x20g:k','474369duBSzA','4gbFBLc','110135tVLjIU','4980216HYnUkw','2852092uUVtNf','kit','66tdAJlc'];a121c=function(){return j;};return a121c();}function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x8d;let f=c[d];return f;},a121d(a,b);}import{Generator}from'../../generator.js';const KitGen=Generator[a121i(0x99)]({'name':a121i(0x92),'aliases':['k'],'usage':a121i(0x9a),'shortDesc':a121i(0x9e),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0x94),a121i(0xa0)]},async function(){});export default KitGen;
1
+ const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=-parseInt(f(0x161))/0x1+parseInt(f(0x163))/0x2*(parseInt(f(0x167))/0x3)+parseInt(f(0x165))/0x4*(parseInt(f(0x16f))/0x5)+-parseInt(f(0x16b))/0x6*(parseInt(f(0x16e))/0x7)+parseInt(f(0x16d))/0x8*(-parseInt(f(0x168))/0x9)+parseInt(f(0x169))/0xa*(parseInt(f(0x170))/0xb)+parseInt(f(0x164))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x6f9f7));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0x15d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0x16a)]()[h(0x16c)]('(((.+)+)+)+$')[h(0x16a)]()[h(0x15e)](a121a)['search'](h(0x162));});a121a();import{Generator}from'../../generator.js';function a121c(){const j=['632draJrG','72331xmEpzI','104735aPSbZX','11lpNusB','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','apply','constructor','maka\x20{generate,\x20g}:{kit}\x20<name>','kit','888540nJACCR','(((.+)+)+)+$','36ClozPW','2692980AePrKE','88fbFEWW','maka\x20g:k','67029HvkXZk','44757nnEofw','8578510yrlEMe','toString','120NQBROm','search'];a121c=function(){return j;};return a121c();}const KitGen=Generator['create']({'name':a121i(0x160),'aliases':['k'],'usage':a121i(0x15f),'shortDesc':a121i(0x171),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a121i(0x166)]},async function(){});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x15d;let f=c[d];return f;},a121d(a,b);}export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x9c))/0x1*(parseInt(f(0xa3))/0x2)+-parseInt(f(0x9f))/0x3+-parseInt(f(0x9a))/0x4*(parseInt(f(0x96))/0x5)+parseInt(f(0xa0))/0x6+-parseInt(f(0xa1))/0x7+-parseInt(f(0x98))/0x8+parseInt(f(0x97))/0x9*(parseInt(f(0x9b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x9285e));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var g=a122d;return a122a[g(0x99)]()[g(0x9e)](g(0x9d))[g(0x99)]()[g(0xa2)](a122a)[g(0x9e)](g(0x9d));});function a122c(){var h=['(((.+)+)+)+$','search','1019259WYxQSD','1295430hJCker','7430444cgQgkk','constructor','78nIvCZq','2215oXFvsL','997299YMXpMn','9127000YXSOaF','toString','7100BhHXQn','370sxohvB','9931jKwfAA'];a122c=function(){return h;};return a122c();}a122a();import'./mui.generator.js';import'./frame.mui.gen.js';function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x96;var f=c[d];return f;},a122d(a,b);}import'./auth.mui.gen.js';
1
+ function a122c(){var i=['9445oBiJXL','4787272qTUDMH','8034ssmchr','27FBqUkA','search','toString','7639uVJnkL','apply','455ANFttp','constructor','468BwAoeg','2133588NFAPkH','30MoWZRq','16423000oUZqEd','2044870CcGIMf'];a122c=function(){return i;};return a122c();}(function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x149))/0x1*(-parseInt(f(0x14f))/0x2)+parseInt(f(0x14e))/0x3+parseInt(f(0x14d))/0x4*(parseInt(f(0x143))/0x5)+-parseInt(f(0x145))/0x6*(parseInt(f(0x14b))/0x7)+parseInt(f(0x144))/0x8+-parseInt(f(0x146))/0x9*(-parseInt(f(0x151))/0xa)+-parseInt(f(0x150))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x6dbb3));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a['toString']()[h(0x147)]('(((.+)+)+)+$')[h(0x148)]()[h(0x14c)](a122a)['search']('(((.+)+)+)+$');});a122a();function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x143;var f=c[d];return f;},a122d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a123I=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xd4;let f=c[d];return f;},a123d(a,b);}function a123c(){const M=['41hJHKxs','log','split','4mVrFdb','replaceAll','force','AuthContext','dir','getMakaProjectConfig','create','fsi','layouts','kit/mui/auth/password-reset/','6394212Lwglrj','forgot-password','Custom\x20(roll\x20your\x20own)','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','330354TodGlq','reset-password/:token','MATERIAL','true','processAndRunGenerator','REACT','logout','basic-logout-page','70ousJwh','template','/imports/ui/','toString','auth','4316NbTvRW','kit/mui/auth/login/','1852535ipkiEp','appName','withValue','809095tFixZa','constructor','login','injectTemplateModule','.js','meteor','findProjectDirectory','search','custom','engines','maka\x20generate:kit:mui:frame','428320rpkfHM','/imports/startup/lib/authentication-provider','(((.+)+)+)+$','pathFromApp','list','injectImport','react','/imports/startup/client/authentication-provider','18BEWQfh','route','options','330984eyvAWE','register','baseDir','basic-register-page','basic-forgot-password-page','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','kit:auth:provider'];a123c=function(){return M;};return a123c();}(function(a,b){const G=a123d,c=a();while(!![]){try{const d=-parseInt(G(0xfc))/0x1*(parseInt(G(0xda))/0x2)+-parseInt(G(0x10d))/0x3+-parseInt(G(0xff))/0x4*(-parseInt(G(0xdc))/0x5)+parseInt(G(0xf2))/0x6*(-parseInt(G(0xdf))/0x7)+parseInt(G(0xea))/0x8+parseInt(G(0xf5))/0x9*(-parseInt(G(0xd5))/0xa)+parseInt(G(0x109))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x3173c));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const H=a123d;return a123a[H(0xd8)]()[H(0xe6)](H(0xec))[H(0xd8)]()[H(0xe0)](a123a)[H(0xe6)](H(0xec));});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';Generator[a123I(0x105)]({'name':a123I(0xd9),'aliases':['a'],'usage':a123I(0x10c),'shortDesc':a123I(0xfa),'validOpts':[a123I(0x107),a123I(0x101)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123I(0x10f)],'client':ClientEngines[a123I(0x112)]},'examples':[a123I(0xe9),'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 J=a123I;try{const c=b['force']||![],d=this[J(0x106)][J(0xe5)](),f=this[J(0x106)][J(0x104)](),{authType:g}=await Actions[J(0xf4)]({'type':J(0xee),'name':'authType','message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':'Meteor\x20Accounts','value':'meteor'},{'name':J(0x10b),'value':'custom'}]}),h='basic-login-page',i=J(0xd4),j=J(0xf8),k='basic-password-reset-page',l=J(0xf9),m=b[J(0xf7)]?J(0xd7)+b['baseDir']:'/imports/ui/pages/auth',n=this['fsi']['pathFromApp']({'pathParts':[m,b[J(0x103)],paramCase(h),paramCase(h)]}),o=this[J(0x106)]['pathFromApp']({'pathParts':[m,b[J(0x103)],paramCase(i),paramCase(i)]}),p=this[J(0x106)][J(0xed)]({'pathParts':[m,b[J(0x103)],paramCase(j),paramCase(j)]}),q=this[J(0x106)][J(0xed)]({'pathParts':[m,b[J(0x103)],paramCase(k),paramCase(k)]}),r=this[J(0x106)][J(0xed)]({'pathParts':[m,b['dir'],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[J(0xdd)])[J(0x100)]('-','\x20')};await this['fsi'][J(0xde)](f,async()=>{const K=J;await this['fsi'][K(0xd6)]({'srcPath':K(0xdb)+h+'.js','destPath':n+K(0xe3),'framework':K(0xf0),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x106)]['template']({'srcPath':'kit/mui/auth/logout/'+i+K(0xe3),'destPath':o+K(0xe3),'framework':K(0xf0),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x106)]['template']({'srcPath':'kit/mui/auth/register/'+j+'.js','destPath':p+K(0xe3),'framework':K(0xf0),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][K(0xd6)]({'srcPath':K(0x108)+k+K(0xe3),'destPath':q+K(0xe3),'framework':K(0xf0),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x106)][K(0xd6)]({'srcPath':'kit/mui/auth/forgot-password/'+l+'.js','destPath':r+'.js','framework':K(0xf0),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0x103)]+'/'+h+'/'+h;await this[J(0x106)][J(0xe2)](h,f,t);const u=''+m+b[J(0x103)]+'/'+i+'/'+i;await this[J(0x106)]['injectTemplateModule'](i,f,u);const v=''+m+b[J(0x103)]+'/'+j+'/'+j;await this[J(0x106)][J(0xe2)](j,f,v);const w=''+m+b[J(0x103)]+'/'+k+'/'+k;await this[J(0x106)]['injectTemplateModule'](k,f,w);const x=''+m+b[J(0x103)]+'/'+l+'/'+l;await this['fsi'][J(0xe2)](l,f,x),await a123e[J(0x111)](J(0xf3),['basic-login-page'],{'url':J(0xe1),'cwd':d,'config':f}),await a123e[J(0x111)]('route',['basic-logout-page'],{'url':J(0x113),'private':!![],'cwd':d,'config':f}),await a123e[J(0x111)](J(0xf3),[J(0xf8)],{'url':J(0xf6),'cwd':d,'config':f}),await a123e[J(0x111)]('route',['basic-password-reset-page'],{'url':J(0x10e),'cwd':d,'config':f}),await a123e[J(0x111)](J(0xf3),[J(0xf9)],{'url':J(0x10a),'cwd':d,'config':f});g===J(0xe4)&&await a123e[J(0x111)]('kit:auth:meteor',[],{'force':c,'cwd':d,'config':f});g===J(0xe7)&&await a123e[J(0x111)](J(0xfb),[],{'force':c,'cwd':d,'config':f});const y=f[J(0xe8)]['ssr']===J(0x110),z=f[J(0xe8)]['js'],A=this[J(0x106)]['pathFromApp']({'pathParts':t['split']('/')});await this[J(0x106)]['injectImport']({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':J(0xf1),'isNamedExport':!![]});const B=this[J(0x106)]['pathFromApp']({'pathParts':u['split']('/')});await this['fsi'][J(0xef)]({'filePath':B+'.'+z,'importName':'AuthContext','modulePath':y?J(0xeb):J(0xf1),'isNamedExport':!![]});const C=this[J(0x106)][J(0xed)]({'pathParts':v[J(0xfe)]('/')});await this[J(0x106)]['injectImport']({'filePath':C+'.'+z,'importName':J(0x102),'modulePath':y?J(0xeb):J(0xf1),'isNamedExport':!![]});const D=this['fsi'][J(0xed)]({'pathParts':w[J(0xfe)]('/')});await this[J(0x106)][J(0xef)]({'filePath':D+'.'+z,'importName':J(0x102),'modulePath':y?J(0xeb):J(0xf1),'isNamedExport':!![]});const E=this[J(0x106)][J(0xed)]({'pathParts':x['split']('/')});await this[J(0x106)][J(0xef)]({'filePath':E+'.'+z,'importName':J(0x102),'modulePath':y?J(0xeb):J(0xf1),'isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const L=a123I;console[L(0xfd)]('Cleaning\x20up...');},a123f);
1
+ function a123c(){const N=['login','engines','route','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','options','basic-register-page','kit:auth:provider','3282280ZLApXY','force','template','react','basic-forgot-password-page','/imports/ui/','findProjectDirectory','register','apply','kit/mui/auth/login/','error','.js','pathFromApp','create','/imports/startup/client/authentication-provider','kit/mui/auth/password-reset/','processAndRunGenerator','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-login-page','11133738xRGEoS','kit/mui/auth/logout/','MATERIAL','REACT','/imports/startup/lib/authentication-provider','(((.+)+)+)+$','forgot-password','injectTemplateModule','fsi','basic-password-reset-page','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','search','true','getMakaProjectConfig','maka\x20g:k:m:f','639006AhNfMu','/imports/ui/pages/auth','injectImport','63644UPqLUV','meteor','AuthContext','reset-password/:token','dir','custom','toString','3087892mmBLDf','basic-logout-page','constructor','40DbkAAj','layouts','baseDir','ssr','8355852DAJiQn','log','140940TiMpQO','Meteor\x20Accounts','kit/mui/auth/forgot-password/','split'];a123c=function(){return N;};return a123c();}const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=-parseInt(G(0x1fd))/0x1+parseInt(G(0x1c7))/0x2+parseInt(G(0x1d0))/0x3+-parseInt(G(0x200))/0x4*(-parseInt(G(0x1ca))/0x5)+-parseInt(G(0x1ce))/0x6+parseInt(G(0x1ee))/0x7+-parseInt(G(0x1db))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xd39ff));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0x1e3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a['toString']()['search'](I(0x1f3))[I(0x1c6)]()[I(0x1c9)](a123a)[I(0x1f9)]('(((.+)+)+)+$');});function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a123d(a,b);}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';Generator[a123J(0x1e8)]({'name':'auth','aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a123J(0x1f8),'validOpts':[a123J(0x1cb),a123J(0x1dc)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123J(0x1f0)],'client':ClientEngines[a123J(0x1f1)]},'examples':['maka\x20generate:kit:mui:frame',a123J(0x1fc)],'description':a123J(0x1ec)},async function(a,b){const K=a123J;try{const c=b[K(0x1dc)]||![],d=this['fsi'][K(0x1e1)](),f=this[K(0x1f6)][K(0x1fb)](),{authType:g}=await Actions[K(0x1d8)]({'type':'list','name':'authType','message':K(0x1d7),'choices':[{'name':K(0x1d1),'value':K(0x1c1)},{'name':'Custom\x20(roll\x20your\x20own)','value':K(0x1c5)}]}),h=K(0x1ed),i='basic-logout-page',j=K(0x1d9),k=K(0x1f7),l=K(0x1df),m=b[K(0x1cc)]?K(0x1e0)+b[K(0x1cc)]:K(0x1fe),n=this[K(0x1f6)][K(0x1e7)]({'pathParts':[m,b[K(0x1c4)],paramCase(h),paramCase(h)]}),o=this['fsi'][K(0x1e7)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this['fsi'][K(0x1e7)]({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this[K(0x1f6)][K(0x1e7)]({'pathParts':[m,b[K(0x1c4)],paramCase(k),paramCase(k)]}),r=this[K(0x1f6)][K(0x1e7)]({'pathParts':[m,b[K(0x1c4)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f['appName'])['replaceAll']('-','\x20')};await this[K(0x1f6)]['withValue'](f,async()=>{const L=K;await this[L(0x1f6)]['template']({'srcPath':L(0x1e4)+h+L(0x1e6),'destPath':n+L(0x1e6),'framework':L(0x1de),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1f6)][L(0x1dd)]({'srcPath':L(0x1ef)+i+'.js','destPath':o+L(0x1e6),'framework':L(0x1de),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1f6)][L(0x1dd)]({'srcPath':'kit/mui/auth/register/'+j+L(0x1e6),'destPath':p+L(0x1e6),'framework':L(0x1de),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1f6)][L(0x1dd)]({'srcPath':L(0x1ea)+k+L(0x1e6),'destPath':q+L(0x1e6),'framework':L(0x1de),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x1dd)]({'srcPath':L(0x1d2)+l+L(0x1e6),'destPath':r+L(0x1e6),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x1c4)]+'/'+h+'/'+h;await this['fsi'][K(0x1f5)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this[K(0x1f6)][K(0x1f5)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[K(0x1f6)]['injectTemplateModule'](j,f,v);const w=''+m+b[K(0x1c4)]+'/'+k+'/'+k;await this[K(0x1f6)]['injectTemplateModule'](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[K(0x1f6)][K(0x1f5)](l,f,x),await a123e[K(0x1eb)](K(0x1d6),[K(0x1ed)],{'url':K(0x1d4),'cwd':d,'config':f}),await a123e[K(0x1eb)](K(0x1d6),[K(0x1c8)],{'url':'logout','private':!![],'cwd':d,'config':f}),await a123e[K(0x1eb)](K(0x1d6),['basic-register-page'],{'url':K(0x1e2),'cwd':d,'config':f}),await a123e[K(0x1eb)](K(0x1d6),['basic-password-reset-page'],{'url':K(0x1c3),'cwd':d,'config':f}),await a123e[K(0x1eb)]('route',[K(0x1df)],{'url':K(0x1f4),'cwd':d,'config':f});g===K(0x1c1)&&await a123e[K(0x1eb)]('kit:auth:meteor',[],{'force':c,'cwd':d,'config':f});g===K(0x1c5)&&await a123e[K(0x1eb)](K(0x1da),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x1d5)][K(0x1cd)]===K(0x1fa),z=f[K(0x1d5)]['js'],A=this['fsi']['pathFromApp']({'pathParts':t[K(0x1d3)]('/')});await this['fsi'][K(0x1ff)]({'filePath':A+'.'+z,'importName':K(0x1c2),'modulePath':y?K(0x1f2):K(0x1e9),'isNamedExport':!![]});const B=this[K(0x1f6)][K(0x1e7)]({'pathParts':u['split']('/')});await this['fsi'][K(0x1ff)]({'filePath':B+'.'+z,'importName':K(0x1c2),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x1e9),'isNamedExport':!![]});const C=this[K(0x1f6)]['pathFromApp']({'pathParts':v['split']('/')});await this['fsi']['injectImport']({'filePath':C+'.'+z,'importName':K(0x1c2),'modulePath':y?K(0x1f2):K(0x1e9),'isNamedExport':!![]});const D=this[K(0x1f6)][K(0x1e7)]({'pathParts':w[K(0x1d3)]('/')});await this[K(0x1f6)][K(0x1ff)]({'filePath':D+'.'+z,'importName':K(0x1c2),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x1e9),'isNamedExport':!![]});const E=this['fsi']['pathFromApp']({'pathParts':x[K(0x1d3)]('/')});await this[K(0x1f6)][K(0x1ff)]({'filePath':E+'.'+z,'importName':K(0x1c2),'modulePath':y?K(0x1f2):K(0x1e9),'isNamedExport':!![]});}catch(F){Log[K(0x1e5)](F);}},async function(){const M=a123J;console[M(0x1cf)]('Cleaning\x20up...');},a123f);
@@ -1 +1 @@
1
- const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=parseInt(B(0x130))/0x1+parseInt(B(0xff))/0x2+parseInt(B(0x12b))/0x3*(-parseInt(B(0x103))/0x4)+-parseInt(B(0x11b))/0x5+-parseInt(B(0x115))/0x6+-parseInt(B(0x12d))/0x7*(parseInt(B(0xf5))/0x8)+parseInt(B(0x104))/0x9*(parseInt(B(0xf6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x3a421));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a[D(0x107)]()[D(0x106)](D(0xf8))['toString']()[D(0x120)](a124a)[D(0x106)]('(((.+)+)+)+$');});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-0xec;let f=c[d];return f;},a124d(a,b);}import a124e from'path';import a124f from'./mui.generator.js';function a124c(){const I=['options','No\x20layouts\x20selected','join','268744dBduCk','10803880uDBTyz','withValue','(((.+)+)+)+$','injectImport','baseDir','force','kit/mui/frame/drawers/','@mui/material/Container','@mui/material/Box','495816RoHFyv','maka\x20generate:kit:mui:frame','injectIntoFile','MATERIAL','4qtlNkS','9fnlNoq','getDirectories','search','toString','pathFromApp','test','maka\x20g:k:m:f','Box','fsi','getFiles','</div>','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','Cleaning\x20up...','ssr','REACT','checkbox','checkMeteorPackage','1268358JCMiqv','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','log','.js','{\x20this.props.children\x20}','2052975IMQzei','\x20/>\x0a','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','dir','injectTemplateModule','constructor','apply','create','template','layouts','/imports/startup/client/templates','{this.props.children}','injectAroundString','frame','-hook\x22>','tsx','1361769ayFksJ','imports','14EOzxbO','appName','react','53426XXikcV','kit/mui/frame/app-bars/','<div\x20id=\x22','/imports/startup/lib/templates','{props.children}','tests','{\x20props.children\x20}','basic-app-bar','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','engines','Container','basic-sticky-footer','error'];a124c=function(){return I;};return a124c();}import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124E(0x122)]({'name':a124E(0x128),'aliases':['f'],'usage':a124E(0x11d),'shortDesc':a124E(0xed),'validOpts':[a124E(0x124),a124E(0xfa),a124E(0x11e),a124E(0xfb)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0x102)],'client':ClientEngines[a124E(0x112)]},'examples':[a124E(0x100),a124E(0x10a)],'description':a124E(0x117)},async function(a,b){const F=a124E;try{const c=b[F(0xfb)]||![],d=F(0xec),f='basic-drawer',g=F(0xf0),h=this[F(0x10c)]['getMakaProjectConfig'](),i=h[F(0xee)][F(0x111)]==='true';await this['fsi'][F(0x114)](['session','maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0x10c)]['findAppDirectory'](),k=a124e[F(0xf4)](j,F(0x12c),'ui',F(0x124)),l=this[F(0x10c)][F(0x105)](k),m=await Actions[F(0xf2)]({'type':F(0x113),'name':F(0x124),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x124)]['length']===0x0){Log[F(0xf1)](F(0xf3));return;}const n=b[F(0xfa)]?'/imports/ui/'+b[F(0xfa)]:'/imports/ui/components',o=this[F(0x10c)]['pathFromApp']({'pathParts':[n,b[F(0x11e)],paramCase(d),paramCase(d)]}),p=this[F(0x10c)]['pathFromApp']({'pathParts':[n,b[F(0x11e)],paramCase(f),paramCase(f)]}),q=this['fsi'][F(0x108)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x12e)])['replaceAll']('-','\x20')};await this[F(0x10c)][F(0xf7)](h,async()=>{const G=F;await this['fsi']['template']({'srcPath':G(0x131)+d+G(0x119),'destPath':o+'.js','framework':G(0x12f),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x10c)][G(0x123)]({'srcPath':G(0xfc)+f+'.js','destPath':p+G(0x119),'framework':G(0x12f),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x10c)][G(0x123)]({'srcPath':'kit/mui/frame/footers/'+g+'.js','destPath':q+G(0x119),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x11e)]+'/'+d+'/'+d;await this['fsi'][F(0x11f)](d,h,s);const t=''+n+b[F(0x11e)]+'/'+f+'/'+f;await this['fsi'][F(0x11f)](f,h,t);const u=''+n+b[F(0x11e)]+'/'+g+'/'+g;await this[F(0x10c)][F(0x11f)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x10c)][F(0x10d)](a124e[F(0xf4)](k,w),{'extensions':['jsx',F(0x12a)],'omit':['app-tests',F(0x135),F(0x109)]});for(const y of x){const z=a124e[F(0xf4)](k,w,y);await this[F(0x10c)][F(0xf9)]({'filePath':z,'importName':F(0x10b),'modulePath':F(0xfe),'isNamedExport':![]}),await this['fsi']['injectImport']({'filePath':z,'importName':F(0xef),'modulePath':F(0xfd),'isNamedExport':![]}),await this[F(0x10c)][F(0xf9)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x133):F(0x125),'isNamedExport':!![]}),await this[F(0x10c)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+F(0x11c),'begin':[F(0x132)+w+'\x22>',F(0x132)+w+F(0x129)],'end':['{this.props.children}',F(0x11a),F(0x134),F(0x136)]}),await this[F(0x10c)][F(0xf9)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x133):F(0x125),'isNamedExport':!![]}),await this[F(0x10c)][F(0x101)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x11c),'begin':[F(0x132)+w+'\x22>',F(0x132)+w+F(0x129)],'end':['{this.props.children}','{\x20this.props.children\x20}',F(0x134),F(0x136)]}),await this[F(0x10c)][F(0x101)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x11c),'begin':[F(0x126),F(0x11a),F(0x134),F(0x136)],'end':[F(0x10e)]}),await this[F(0x10c)][F(0xf9)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x133):F(0x125),'isNamedExport':!![]}),await this['fsi'][F(0x127)]({'filePath':z,'aboveContent':F(0x10f),'belowContent':F(0x116),'targetString':[F(0x126),'{\x20this.props.children\x20}',F(0x134),F(0x136)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0xf1)](A);}},async function(){const H=a124E;console[H(0x118)](H(0x110));},a124f);
1
+ const a124D=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=-parseInt(B(0xe5))/0x1+parseInt(B(0x11e))/0x2*(parseInt(B(0xf6))/0x3)+parseInt(B(0xf5))/0x4+-parseInt(B(0xef))/0x5*(parseInt(B(0x117))/0x6)+-parseInt(B(0x112))/0x7*(parseInt(B(0x10e))/0x8)+parseInt(B(0x101))/0x9+parseInt(B(0x111))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xd7f6b));function a124c(){const H=['checkbox','14865966lhkijQ','-hook\x22>','injectAroundString','join','{\x20props.children\x20}','template','kit/mui/frame/footers/','injectImport','create','tsx','force','REACT','injectTemplateModule','28360kMkOoT','getFiles','replaceAll','13762540axngdo','1211gggwaN','</div>','getDirectories','\x20/>\x0a','tests','12YsVUXH','fsi','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','constructor','dir','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','<div\x20id=\x22','93064XZBGfa','{this.props.children}','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','No\x20layouts\x20selected','<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>','frame','Cleaning\x20up...','maka\x20g:k:m:f','toString','/imports/startup/lib/templates','getMakaProjectConfig','withValue','options','jsx','search','session','ssr','app-tests','.js','length','Box','{\x20this.props.children\x20}','1541037ODoHFm','@mui/material/Container','log','(((.+)+)+)+$','MATERIAL','react','appName','findAppDirectory','basic-sticky-footer','maka:react-tracker','3233045zYFRXC','test','/imports/ui/','kit/mui/frame/drawers/','@mui/material/Box','{props.children}','3168988ciPcgZ','33ZtSHUD','/imports/startup/client/templates','error','layouts','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','pathFromApp','engines','injectIntoFile','baseDir','imports'];a124c=function(){return H;};return a124c();}const a124b=(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;};}()),a124a=a124b(this,function(){const C=a124d;return a124a['toString']()[C(0xdd)](C(0xe8))[C(0xd7)]()[C(0x11a)](a124a)['search']('(((.+)+)+)+$');});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a124e from'path';import a124f from'./mui.generator.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xd1;let f=c[d];return f;},a124d(a,b);}import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124D(0x109)]({'name':a124D(0xd4),'aliases':['f'],'usage':a124D(0x11c),'shortDesc':a124D(0x119),'validOpts':['layouts',a124D(0xfe),'dir',a124D(0x10b)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124D(0xe9)],'client':ClientEngines[a124D(0x10c)]},'examples':['maka\x20generate:kit:mui:frame',a124D(0xd6)],'description':a124D(0xd1)},async function(a,b){const E=a124D;try{const c=b[E(0x10b)]||![],d='basic-app-bar',f='basic-drawer',g=E(0xed),h=this[E(0x118)][E(0xd9)](),i=h[E(0xfc)][E(0xdf)]==='true';await this[E(0x118)]['checkMeteorPackage']([E(0xde),E(0xee)],{'shouldInstall':!![]});const j=this[E(0x118)][E(0xec)](),k=a124e[E(0x104)](j,E(0xff),'ui',E(0xf9)),l=this[E(0x118)][E(0x114)](k),m=await Actions[E(0xdb)]({'type':E(0x100),'name':E(0xf9),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[E(0xf9)][E(0xe2)]===0x0){Log[E(0xf8)](E(0xd2));return;}const n=b['baseDir']?E(0xf1)+b[E(0xfe)]:'/imports/ui/components',o=this[E(0x118)]['pathFromApp']({'pathParts':[n,b[E(0x11b)],paramCase(d),paramCase(d)]}),p=this[E(0x118)][E(0xfb)]({'pathParts':[n,b[E(0x11b)],paramCase(f),paramCase(f)]}),q=this[E(0x118)][E(0xfb)]({'pathParts':[n,b[E(0x11b)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[E(0xeb)])[E(0x110)]('-','\x20')};await this['fsi'][E(0xda)](h,async()=>{const F=E;await this[F(0x118)][F(0x106)]({'srcPath':'kit/mui/frame/app-bars/'+d+F(0xe1),'destPath':o+F(0xe1),'framework':F(0xea),'context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x118)]['template']({'srcPath':F(0xf2)+f+F(0xe1),'destPath':p+F(0xe1),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x118)][F(0x106)]({'srcPath':F(0x107)+g+F(0xe1),'destPath':q+F(0xe1),'framework':F(0xea),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[E(0x11b)]+'/'+d+'/'+d;await this[E(0x118)]['injectTemplateModule'](d,h,s);const t=''+n+b[E(0x11b)]+'/'+f+'/'+f;await this[E(0x118)][E(0x10d)](f,h,t);const u=''+n+b[E(0x11b)]+'/'+g+'/'+g;await this[E(0x118)][E(0x10d)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[E(0x118)][E(0x10f)](a124e[E(0x104)](k,w),{'extensions':[E(0xdc),E(0x10a)],'omit':[E(0xe0),E(0x116),E(0xf0)]});for(const y of x){const z=a124e[E(0x104)](k,w,y);await this[E(0x118)]['injectImport']({'filePath':z,'importName':E(0xe3),'modulePath':E(0xf3),'isNamedExport':![]}),await this[E(0x118)][E(0x108)]({'filePath':z,'importName':'Container','modulePath':E(0xe6),'isNamedExport':![]}),await this[E(0x118)][E(0x108)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?E(0xd8):E(0xf7),'isNamedExport':!![]}),await this['fsi'][E(0xfd)]({'filePath':z,'content':'<'+pascalCase(d)+E(0x115),'begin':[E(0x11d)+w+'\x22>',E(0x11d)+w+E(0x102)],'end':[E(0x11f),E(0xe4),E(0xf4),E(0x105)]}),await this[E(0x118)][E(0x108)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?E(0xd8):E(0xf7),'isNamedExport':!![]}),await this[E(0x118)][E(0xfd)]({'filePath':z,'content':'<'+pascalCase(f)+E(0x115),'begin':[E(0x11d)+w+'\x22>',E(0x11d)+w+E(0x102)],'end':[E(0x11f),'{\x20this.props.children\x20}',E(0xf4),'{\x20props.children\x20}']}),await this[E(0x118)][E(0xfd)]({'filePath':z,'content':'<'+pascalCase(g)+E(0x115),'begin':['{this.props.children}',E(0xe4),E(0xf4),E(0x105)],'end':[E(0x113)]}),await this[E(0x118)][E(0x108)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?E(0xd8):E(0xf7),'isNamedExport':!![]}),await this[E(0x118)][E(0x103)]({'filePath':z,'aboveContent':E(0xd3),'belowContent':E(0xfa),'targetString':['{this.props.children}','{\x20this.props.children\x20}','{props.children}','{\x20props.children\x20}'],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[E(0xf8)](A);}},async function(){const G=a124D;console[G(0xe7)](G(0xd5));},a124f);
@@ -1 +1 @@
1
- const a125j=a125d;function a125c(){const l=['create','162kDmDjp','Header,\x20Footer,\x20and\x20Drawer','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','constructor','55315gLlvEW','auth','kitChoices','kit:mui:auth','52717yGaQPt','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','kit:mui:frame','fsi','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Material-UI\x20Kit','8549424PNoeEM','frame','apply','processAndRunGenerator','5296540czLATT','1951407BKTrsU','mui','22iZrNlt','maka\x20g:kit:m','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','26964TYQpxx','search','checkbox','368130KqvOhU','(((.+)+)+)+$','includes','toString','findProjectDirectory','getMakaProjectConfig','options','4jsdUPi','16DKGPIN','info'];a125c=function(){return l;};return a125c();}(function(a,b){const g=a125d,c=a();while(!![]){try{const d=parseInt(g(0x17b))/0x1+-parseInt(g(0x173))/0x2*(-parseInt(g(0x165))/0x3)+-parseInt(g(0x16f))/0x4*(-parseInt(g(0x177))/0x5)+parseInt(g(0x15b))/0x6+parseInt(g(0x168))/0x7+parseInt(g(0x170))/0x8*(-parseInt(g(0x160))/0x9)+parseInt(g(0x15f))/0xa*(-parseInt(g(0x162))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xbd89c));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x15d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0x16b)]()[i(0x166)](i(0x169))[i(0x16b)]()[i(0x176)](a125a)[i(0x166)](i(0x169));});a125a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'../../../generators/maka.gen.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x15a;let f=c[d];return f;},a125d(a,b);}import a125f from'../kit.js';const MuiGen=Generator[a125j(0x172)]({'name':a125j(0x161),'aliases':['m'],'usage':a125j(0x17f),'noNeedResource':!![],'shortDesc':a125j(0x15a),'validOpts':[''],'isPro':!![],'examples':[a125j(0x163)]},async function(){const k=a125j;Log[k(0x171)](k(0x17c)),Log['notice'](k(0x175));const {kitChoices:a}=await Actions[k(0x16e)]({'type':k(0x167),'name':k(0x179),'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':k(0x174),'value':k(0x15c)},{'name':k(0x164),'value':k(0x178)}]}),b=this[k(0x17e)][k(0x16c)](),c=this[k(0x17e)][k(0x16d)]();a[k(0x16a)](k(0x15c))&&await a125e[k(0x15e)](k(0x17d),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x178))&&await a125e['processAndRunGenerator'](k(0x17a),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[k(0x171)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');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(0x101))/0x1+parseInt(g(0xfd))/0x2+-parseInt(g(0xee))/0x3*(-parseInt(g(0xfc))/0x4)+parseInt(g(0xec))/0x5+parseInt(g(0xe9))/0x6*(parseInt(g(0xff))/0x7)+-parseInt(g(0xef))/0x8*(parseInt(g(0xf0))/0x9)+-parseInt(g(0xed))/0xa*(parseInt(g(0xf4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xdfbad));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x103)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a['toString']()[i(0xe3)](i(0xf2))[i(0xf9)]()[i(0x100)](a125a)[i(0xe3)](i(0xf2));});a125a();function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xe1;let f=c[d];return f;},a125d(a,b);}import{Generator}from'../../../generator.js';function a125c(){const l=['notice','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','findProjectDirectory','processAndRunGenerator','create','10074GMzzPm','Material-UI\x20Kit','auth','6811315guvuCt','29734960cvwZez','6846ifLiHY','16kEulIq','488394SYuRlI','options','(((.+)+)+)+$','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','11YPtNRU','length','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Header,\x20Footer,\x20and\x20Drawer','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','toString','frame','info','1360HfaBAq','2975188uGRkLD','maka\x20g:kit:m','1134KbOMWe','constructor','100690rbveVD','fsi','apply','mui','includes','No\x20MUI\x20kits\x20selected.\x20Exiting.','kit:mui:frame','kit:mui:auth','search'];a125c=function(){return l;};return a125c();}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(0xe8)]({'name':a125j(0x104),'aliases':['m'],'usage':a125j(0xf6),'noNeedResource':!![],'shortDesc':a125j(0xea),'validOpts':[''],'isPro':!![],'examples':[a125j(0xfe)]},async function(){const k=a125j;Log[k(0xfb)](k(0xf8)),Log[k(0xe4)]('\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');const {kitChoices:a}=await Actions[k(0xf1)]({'type':'checkbox','name':'kitChoices','message':k(0xe5),'choices':[{'name':k(0xf7),'value':k(0xfa)},{'name':k(0xf3),'value':k(0xeb)}]}),b=this[k(0x102)][k(0xe6)](),c=this[k(0x102)]['getMakaProjectConfig']();a[k(0x105)](k(0xfa))&&await a125e[k(0xe7)](k(0xe1),[],{'force':!![],'cwd':b,'config':c});a[k(0x105)]('auth')&&await a125e[k(0xe7)](k(0xe2),[],{'force':!![],'cwd':b,'config':c});if(a[k(0xf5)]===0x0){Log['info'](k(0x106));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(0xe5))/0x1*(parseInt(l(0x100))/0x2)+-parseInt(l(0xe1))/0x3*(parseInt(l(0x10f))/0x4)+parseInt(l(0xf1))/0x5+-parseInt(l(0x112))/0x6+parseInt(l(0xdd))/0x7*(-parseInt(l(0xfb))/0x8)+parseInt(l(0xe9))/0x9*(parseInt(l(0xe2))/0xa)+parseInt(l(0xf0))/0xb*(parseInt(l(0xd7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x5aa1f));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0xe4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a[n(0xf7)]()[n(0xda)](n(0xef))[n(0xf7)]()[n(0xd5)](a126a)[n(0xda)]('(((.+)+)+)+$');});a126a();import a126e from'path';import{Generator}from'../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xd1;let f=c[d];return f;},a126d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a126c(){const r=['css','hook/hook.js','(((.+)+)+)+$','66OqRGGV','2604160pgGKmi','fileName','withTranslations','template/template.css','checkNpmPackage','includes','toString','layout','maka\x20g:l\x20web/safari','withValue','6808LKzZHz','test/test.js','pathFromProject','withHook','findAppDirectory','10690yTSFRV','resourceName','none','true','getMakaProjectConfig','injectTemplateModule','engines','create','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','test','theme','string','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','.js','component/component.js','924332LVDNHW','injectAtBeginningOfFile','installNpmPackage','2190186Ffhate','client','split','dir','/imports/ui/layouts','constructor','features','1584276mXJUck','.app-tests.js','fsi','search','ssr','pathFromApp','4669nSgZmh','api','setTemplate','.css','3NifDFx','6228670qhFaJg','template','apply','75gYKHdE','graphql','ramda','maka\x20g:layout\x20mobile/iPhone8','9dpavxp','relative','warn','react'];a126c=function(){return r;};return a126c();}const aliases=['l'];Generator[a126o(0x107)]({'name':a126o(0xf8),'aliases':aliases,'usage':a126o(0x10c),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a126o(0xfe)],'examples':[a126o(0xe8),a126o(0xf9)]},async function(a,b){const p=a126o,c=p(0xd4),d=this['fsi'][p(0xff)](),e=this['fsi'][p(0xdc)]({'pathParts':[c,b[p(0xd3)],paramCase(b[p(0x101)]),paramCase(b[p(0x101)])]}),f=this['fsi'][p(0x104)]();await this[p(0xd9)][p(0xfa)](f,async()=>{const q=p;typeof f[q(0xe3)][q(0x109)]===q(0x10b)&&(f[q(0xe3)][q(0x109)]=f[q(0xe3)][q(0x109)]===q(0x103)?!![]:![],this['fsi'][q(0xdf)](q(0x109),f[q(0xe3)]['test']));typeof f[q(0xe3)]['css']===q(0x10b)&&(f['template'][q(0xed)]=f[q(0xe3)][q(0xed)]===q(0x103)?!![]:![],this[q(0xd9)][q(0xdf)]('css',f[q(0xe3)]['css']));typeof f['template']['js']===q(0x10b)&&(f[q(0xe3)]['js']=f[q(0xe3)]['js']===q(0x103)?!![]:![],this[q(0xd9)][q(0xdf)]('js',f[q(0xe3)]['js']));!f[q(0xd6)]&&(f['features']={});const g=b['_']?b['_'][0x0][q(0xd2)](':')[0x1]:![],h=b['_']&&aliases[q(0xf6)](g);h&&!this[q(0xf5)]('ramda')&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[q(0xd9)][q(0x111)](q(0xe7),{'cwd':d}));if(h&&!this[q(0xf5)](q(0xec))){Log[q(0xeb)](q(0x108));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a126e[q(0xea)](this[q(0xd9)][q(0xfd)]({}),e),'cssCaseName':paramCase(b[q(0x101)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0x101)]),'graphql':f[q(0x106)][q(0xe6)],'features':f[q(0xd6)],'client':f[q(0x106)][q(0xd1)],'api':f[q(0x106)][q(0xde)],'ssr':f['engines'][q(0xdb)],'test':f['engines'][q(0x109)],'theme':f[q(0x106)][q(0x10a)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0xd6)][q(0xf3)]};f[q(0xd6)]?.['withHooks']||b[q(0xfe)]?await this[q(0xd9)]['template']({'srcPath':q(0xee),'destPath':e+q(0x10d),'framework':q(0xec),'context':i,'config':f}):await this[q(0xd9)][q(0xe3)]({'srcPath':q(0x10e),'destPath':e+q(0x10d),'framework':'react','context':i,'config':f});f[q(0x106)][q(0x109)]!==q(0x102)&&await this['fsi']['template']({'srcPath':q(0xfc),'destPath':e+q(0xd8),'framework':q(0xec),'context':i,'config':f});f['template'][q(0xed)]&&(await this[q(0xd9)]['template']({'srcPath':q(0xf4),'destPath':e+q(0xe0),'context':Object['assign']({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[q(0xd9)][q(0x110)]({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+i['fileName']+'.'+f[q(0x106)][q(0xed)]+'\x27;'}));const j=b[q(0xd3)]?'/'+b[q(0xd3)]+'/':'/',k=''+c+j+i[q(0xf2)]+'/'+i['fileName'];await this[q(0xd9)][q(0x105)](i['className'],f,k);});});
1
+ const a126o=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(0x1e7))/0x1+-parseInt(l(0x1f8))/0x2+parseInt(l(0x1e9))/0x3*(parseInt(l(0x1df))/0x4)+parseInt(l(0x1ea))/0x5+parseInt(l(0x1db))/0x6*(parseInt(l(0x1ec))/0x7)+-parseInt(l(0x1e4))/0x8+-parseInt(l(0x1d4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xf2503));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a['toString']()[n(0x1d1)]('(((.+)+)+)+$')[n(0x201)]()['constructor'](a126a)['search'](n(0x1cf));});a126a();import a126e from'path';import{Generator}from'../generator.js';function a126c(){const r=['findAppDirectory','test/test.js','warn','import\x20\x27./','184926wQvySB','split','withTranslations','setTemplate','features','test','engines','.css','injectTemplateModule','toString','css','none','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','assign','.js','checkNpmPackage','maka\x20g:layout\x20mobile/iPhone8','withHook','getMakaProjectConfig','(((.+)+)+)+$','apply','search','graphql','fsi','30515130AnBBFp','includes','string','className','template/template.css','ramda','relative','11065854iodRmQ','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','client','react','4rOpImy','template','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','installNpmPackage','true','15059112yRnfxf','layout','dir','877138dOxxWY','component/component.js','5624898JWPZNa','8807620aBZahR','theme','7cbndUE','fileName','maka\x20g:l\x20web/safari','injectAtBeginningOfFile','/imports/ui/layouts','create','.app-tests.js','resourceName'];a126c=function(){return r;};return a126c();}import{Log}from'../tools/log/log.class.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1cb;let f=c[d];return f;},a126d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a126o(0x1f1)]({'name':a126o(0x1e5),'aliases':aliases,'usage':a126o(0x204),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a126o(0x1cd)],'examples':[a126o(0x1cc),a126o(0x1ee)]},async function(a,b){const p=a126o,c=p(0x1f0),d=this[p(0x1d3)][p(0x1f4)](),e=this[p(0x1d3)]['pathFromApp']({'pathParts':[c,b[p(0x1e6)],paramCase(b[p(0x1f3)]),paramCase(b['resourceName'])]}),f=this['fsi'][p(0x1ce)]();await this[p(0x1d3)]['withValue'](f,async()=>{const q=p;typeof f['template']['test']==='string'&&(f[q(0x1e0)][q(0x1fd)]=f[q(0x1e0)][q(0x1fd)]===q(0x1e3)?!![]:![],this[q(0x1d3)][q(0x1fb)](q(0x1fd),f['template']['test']));typeof f[q(0x1e0)][q(0x202)]===q(0x1d6)&&(f[q(0x1e0)]['css']=f[q(0x1e0)]['css']==='true'?!![]:![],this[q(0x1d3)][q(0x1fb)](q(0x202),f[q(0x1e0)][q(0x202)]));typeof f[q(0x1e0)]['js']===q(0x1d6)&&(f['template']['js']=f['template']['js']==='true'?!![]:![],this[q(0x1d3)]['setTemplate']('js',f[q(0x1e0)]['js']));!f[q(0x1fc)]&&(f[q(0x1fc)]={});const g=b['_']?b['_'][0x0][q(0x1f9)](':')[0x1]:![],h=b['_']&&aliases[q(0x1d5)](g);h&&!this[q(0x1cb)](q(0x1d9))&&(Log[q(0x1f6)](q(0x1e1)),this[q(0x1d3)][q(0x1e2)](q(0x1d9),{'cwd':d}));if(h&&!this[q(0x1cb)](q(0x1de))){Log[q(0x1f6)](q(0x1dc));return;}const i={'name':pascalCase(b[q(0x1f3)]),'myPath':a126e[q(0x1da)](this[q(0x1d3)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0x1f3)]),'className':pascalCase(b[q(0x1f3)]),'camelCaseName':camelCase(b[q(0x1f3)]),'fileName':paramCase(b['resourceName']),'graphql':f['engines'][q(0x1d2)],'features':f[q(0x1fc)],'client':f[q(0x1fe)][q(0x1dd)],'api':f['engines']['api'],'ssr':f[q(0x1fe)]['ssr'],'test':f[q(0x1fe)]['test'],'theme':f[q(0x1fe)][q(0x1eb)],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][q(0x1fa)]};f[q(0x1fc)]?.['withHooks']||b[q(0x1cd)]?await this[q(0x1d3)][q(0x1e0)]({'srcPath':'hook/hook.js','destPath':e+'.js','framework':q(0x1de),'context':i,'config':f}):await this['fsi'][q(0x1e0)]({'srcPath':q(0x1e8),'destPath':e+q(0x206),'framework':q(0x1de),'context':i,'config':f});f[q(0x1fe)][q(0x1fd)]!==q(0x203)&&await this[q(0x1d3)][q(0x1e0)]({'srcPath':q(0x1f5),'destPath':e+q(0x1f2),'framework':'react','context':i,'config':f});f[q(0x1e0)]['css']&&(await this[q(0x1d3)][q(0x1e0)]({'srcPath':q(0x1d8),'destPath':e+q(0x1ff),'context':Object[q(0x205)]({},i,{'className':paramCase(b[q(0x1f3)])}),'config':f}),await this[q(0x1d3)][q(0x1ef)]({'filePath':e+'.'+f[q(0x1fe)]['js'],'content':q(0x1f7)+i[q(0x1ed)]+'.'+f[q(0x1fe)]['css']+'\x27;'}));const j=b['dir']?'/'+b[q(0x1e6)]+'/':'/',k=''+c+j+i['fileName']+'/'+i[q(0x1ed)];await this[q(0x1d3)][q(0x200)](i[q(0x1d7)],f,k);});});
@@ -1 +1 @@
1
- const a127i=a127d;(function(a,b){const f=a127d,c=a();while(!![]){try{const d=-parseInt(f(0xff))/0x1*(-parseInt(f(0x104))/0x2)+-parseInt(f(0xfe))/0x3+-parseInt(f(0xf5))/0x4+parseInt(f(0xf6))/0x5*(-parseInt(f(0x100))/0x6)+-parseInt(f(0xfc))/0x7*(parseInt(f(0x102))/0x8)+-parseInt(f(0xf3))/0x9+parseInt(f(0xf1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x2f019));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a[h(0xfd)]()['search'](h(0xf4))[h(0xfd)]()[h(0xee)](a127a)[h(0xf8)]('(((.+)+)+)+$');});function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xee;let f=c[d];return f;},a127d(a,b);}a127a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a127i(0xf7),'aliases':['g'],'usage':a127i(0xf0),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0xf9),'examples':[a127i(0xfb),a127i(0xf2),a127i(0x101),a127i(0x103),'maka\x20g:route\x20todos/edit',a127i(0xfa),a127i(0xef)]},function(){});export default MakaGen;function a127c(){const j=['maka\x20g:package\x20package:name','2tdaOIe','apply','constructor','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20{generate,\x20g}:<generator>\x20<name>','5235640ZDwpEM','maka\x20g:scaffold\x20todos','1675269JZAoUb','(((.+)+)+)+$','75564XJGPpQ','10klBwEk','generate','search','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:api\x20trucks','maka\x20generate:scaffold\x20todos','7nDnahM','toString','593451FHcoUk','379491wYdEwY','90276KuQdSg','maka\x20g:template\x20todos/todo_item','2220616VDzrlw'];a127c=function(){return j;};return a127c();}
1
+ const a127h=a127d;(function(a,b){const f=a127d,c=a();while(!![]){try{const d=parseInt(f(0xba))/0x1*(-parseInt(f(0xc4))/0x2)+parseInt(f(0xca))/0x3*(parseInt(f(0xc9))/0x4)+parseInt(f(0xbb))/0x5+-parseInt(f(0xc1))/0x6+-parseInt(f(0xc3))/0x7+-parseInt(f(0xc0))/0x8*(parseInt(f(0xc6))/0x9)+parseInt(f(0xbc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x9fe5f));const a127b=(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;};}()),a127a=a127b(this,function(){const g=a127d;return a127a[g(0xbe)]()[g(0xb7)]('(((.+)+)+)+$')[g(0xbe)]()[g(0xbd)](a127a)[g(0xb7)]('(((.+)+)+)+$');});function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xb7;let f=c[d];return f;},a127d(a,b);}a127a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a127h(0xc2),'aliases':['g'],'usage':a127h(0xb8),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127h(0xb9),'examples':[a127h(0xc5),a127h(0xcb),a127h(0xc8),a127h(0xbf),'maka\x20g:route\x20todos/edit',a127h(0xc7),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;function a127c(){const i=['776637BPipgk','maka\x20g:api\x20trucks','maka\x20g:template\x20todos/todo_item','418112lufsbw','6SBoVAf','maka\x20g:scaffold\x20todos','search','maka\x20{generate,\x20g}:<generator>\x20<name>','Scaffold\x20various\x20parts\x20of\x20your\x20application','102293RrPcuE','1237300mwfeiQ','23195130rsOyyP','constructor','toString','maka\x20g:package\x20package:name','48KUGEgk','2735196asWeWO','generate','1587775LEpduL','18IUMOTo','maka\x20generate:scaffold\x20todos'];a127c=function(){return i;};return a127c();}
@@ -1 +1 @@
1
- function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x96;let f=c[d];return f;},a128d(a,b);}const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0x97))/0x1*(parseInt(j(0xa7))/0x2)+-parseInt(j(0xaf))/0x3+parseInt(j(0xad))/0x4+parseInt(j(0xb0))/0x5+-parseInt(j(0xa8))/0x6*(parseInt(j(0xaa))/0x7)+parseInt(j(0x9a))/0x8+-parseInt(j(0xb7))/0x9*(parseInt(j(0xa9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xc5b7a));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0xb2)]()['search']('(((.+)+)+)+$')[l(0xb2)]()[l(0xa5)](a128a)[l(0xb6)](l(0xa3));});a128a();import{Generator}from'../generator.js';function a128c(){const p=['methods','3430344zOoXdv','1610345lYyKMn','apply','toString','maka:check','index.','injectAtEndOfFile','search','9RhHDWm','error','create','fsi','187502UhzoJF','withValue','-rpc-method\x27;','11205896Ttbtbw','mdg:validated-method','appPathPrefix','import\x20\x27./methods','getMakaProjectConfig','maka\x20g:method\x20todos','pathFromApp','-rpc-method.','engines','(((.+)+)+)+$','resourceName','constructor','startup','12EkZDxj','672318JJJlQt','19063060KTDJYX','35AvjNBz','imports','dir','6288204HIQIfJ'];a128c=function(){return p;};return a128c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a128m(0xb9)]({'name':'method','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a128m(0xac)],'examples':[a128m(0x9f)]},async function(a,b){const n=a128m;try{const c=this[n(0x96)][n(0x9e)]();await this['fsi'][n(0x98)](c,async()=>{const o=n,d=paramCase(b[o(0xa4)]),f={'name':b[o(0xa4)],'fileName':d,'className':pascalCase(b[o(0xa4)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[o(0xa2)]['js']==='tsx'&&(g='ts');await this[o(0x96)]['checkMeteorPackage']([o(0xb3),'ddp-rate-limiter',o(0x9b)],{'shouldInstall':!![]}),await this[o(0x96)]['template']({'srcPath':'method/method.js','destPath':this[o(0x96)][o(0xa0)]({'pathParts':['imports',o(0xa6),b['appPathPrefix'],o(0xae),b[o(0xac)],d+o(0xa1)+g]}),'context':f,'config':c});const h=b[o(0xac)]?'/'+b[o(0xac)]+'/':'/',i=this[o(0x96)][o(0xa0)]({'pathParts':[o(0xab),o(0xa6),b[o(0x9c)],o(0xb4)+c[o(0xa2)]['js']]});await this[o(0x96)][o(0xb5)]({'filePath':i,'content':o(0x9d)+h+d+o(0x99)});});}catch(d){Log[n(0xb8)](d);}});
1
+ const a128l=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0x1f4))/0x1+parseInt(j(0x20d))/0x2*(-parseInt(j(0x211))/0x3)+parseInt(j(0x1fa))/0x4*(parseInt(j(0x1fd))/0x5)+-parseInt(j(0x1fc))/0x6+-parseInt(j(0x1f0))/0x7*(-parseInt(j(0x200))/0x8)+parseInt(j(0x204))/0x9+parseInt(j(0x202))/0xa*(parseInt(j(0x201))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x43852));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const k=a128d;return a128a['toString']()['search'](k(0x1ef))['toString']()[k(0x1fb)](a128a)[k(0x1f5)](k(0x1ef));});a128a();function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a128d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a128c(){const o=['22Spmmku','startup','method','ddp-rate-limiter','120423REaWni','import\x20\x27./methods','getMakaProjectConfig','(((.+)+)+)+$','1785AIxnTX','imports','engines','maka\x20g:method\x20todos','163010uNjbuC','search','maka:check','method/method.js','tsx','index.','220972wFypjm','constructor','2803386ddNnFg','10JcOiuY','dir','pathFromApp','3064xsxBdo','9229tenHLX','5510AirSEI','-rpc-method\x27;','3167046RjZtno','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','resourceName','create','template','mdg:validated-method','appPathPrefix','methods','fsi'];a128c=function(){return o;};return a128c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a128l(0x207)]({'name':a128l(0x20f),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a128l(0x205),'validOpts':[a128l(0x1fe)],'examples':[a128l(0x1f3)]},async function(a,b){const m=a128l;try{const c=this['fsi'][m(0x1ee)]();await this[m(0x20c)]['withValue'](c,async()=>{const n=m,d=paramCase(b['resourceName']),f={'name':b[n(0x206)],'fileName':d,'className':pascalCase(b[n(0x206)]),'camelCase':camelCase(b[n(0x206)]),'noRename':!![]};let g='js';c[n(0x1f2)]['js']===n(0x1f8)&&(g='ts');await this[n(0x20c)]['checkMeteorPackage']([n(0x1f6),n(0x210),n(0x209)],{'shouldInstall':!![]}),await this['fsi'][n(0x208)]({'srcPath':n(0x1f7),'destPath':this[n(0x20c)][n(0x1ff)]({'pathParts':[n(0x1f1),n(0x20e),b['appPathPrefix'],n(0x20b),b[n(0x1fe)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[n(0x1fe)]?'/'+b[n(0x1fe)]+'/':'/',i=this[n(0x20c)]['pathFromApp']({'pathParts':[n(0x1f1),n(0x20e),b[n(0x20a)],n(0x1f9)+c[n(0x1f2)]['js']]});await this[n(0x20c)]['injectAtEndOfFile']({'filePath':i,'content':n(0x212)+h+d+n(0x203)});});}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(0x134))/0x1+-parseInt(l(0x155))/0x2*(-parseInt(l(0x15e))/0x3)+-parseInt(l(0x152))/0x4*(parseInt(l(0x142))/0x5)+-parseInt(l(0x144))/0x6+parseInt(l(0x14f))/0x7+parseInt(l(0x15a))/0x8+parseInt(l(0x15b))/0x9*(-parseInt(l(0x157))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xce50c));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0x145)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0x14c)]()['search'](n(0x13d))[n(0x14c)]()[n(0x14e)](a129a)[n(0x13e)]('(((.+)+)+)+$');});function a129c(){const r=['package/package.js','11222072bcnkfQ','56043Falmlk','tests/server','/package.js','3378027zyeQZY','maka\x20g:package\x20todos:package','1257471wXWHki','lib','dir','hasOwnProperty','pathFromProject','tests/client','theme','ssr','relative','(((.+)+)+)+$','search','noRename','graphql','fsi','5adhlrY','.js','9929712gNbVZy','apply','withValue','package.js','create','resourceName','layout','pathFromApp','toString','template/template.js','constructor','3571204YvuBFY','package','package/','1232552Ypsqdy','engines','template','2MHcckl','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','2390yMnkRM','component'];a129c=function(){return r;};return a129c();}a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x133;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(0x148)]({'name':a129o(0x150),'aliases':['p'],'usage':a129o(0x156),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a129o(0x136)],'examples':[a129o(0x133)]},async function(a,b){const p=a129o,c=paramCase(b[p(0x149)]),d=this[p(0x141)][p(0x14b)]({'pathParts':['packages',b[p(0x136)],c]}),e=this[p(0x141)]['pathFromAppWithNoReWrite']({'pathParts':['packages',b['dir'],c,p(0x147)]}),f=this[p(0x141)]['getMakaProjectConfig']();await this[p(0x141)][p(0x146)](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a129e[q(0x13c)](this[q(0x141)][q(0x138)]({}),d),'cssCaseName':paramCase(b[q(0x149)]),'className':pascalCase(b[q(0x149)]),'camelCaseName':camelCase(b[q(0x149)]),'fileName':c,'client':f[q(0x153)]['client'],'graphql':f[q(0x153)][q(0x140)],'ssr':f['engines'][q(0x13b)],'isComponent':b['hasOwnProperty'](q(0x158)),'isLayout':b[q(0x137)](q(0x14a)),'isStore':b['hasOwnProperty']('store'),'features':f['features'],'noRename':!![],'theme':f[q(0x153)][q(0x13a)]};await this[q(0x141)]['template']({'srcPath':q(0x159),'destPath':e,'context':g,'config':f}),g[q(0x13f)]=![];const h=d+'/client/'+c+q(0x143);await this[q(0x141)][q(0x154)]({'srcPath':q(0x14d),'destPath':h,'context':g,'config':f});const i=[q(0x135),'server',q(0x139),q(0x15c)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x143);await this[q(0x141)][q(0x154)]({'srcPath':q(0x151)+j+q(0x15d),'destPath':k,'context':g,'config':f});}});});
1
+ const a129o=a129d;function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xe3;let f=c[d];return f;},a129d(a,b);}(function(a,b){const l=a129d,c=a();while(!![]){try{const d=-parseInt(l(0x10e))/0x1*(-parseInt(l(0xf0))/0x2)+-parseInt(l(0x10c))/0x3*(parseInt(l(0xfc))/0x4)+parseInt(l(0xf9))/0x5*(-parseInt(l(0xeb))/0x6)+-parseInt(l(0x105))/0x7*(-parseInt(l(0xec))/0x8)+-parseInt(l(0xed))/0x9+-parseInt(l(0x102))/0xa*(-parseInt(l(0xfa))/0xb)+parseInt(l(0x10d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x2612c));function a129c(){const r=['5qXsYvw','1811293xGNzMi','tests/server','76iyyKfX','packages','package','search','package/','package.js','10ZwszTH','client','tests/client','2926lRBMOK','pathFromAppWithNoReWrite','relative','hasOwnProperty','component','lib','ssr','48171LsKQqg','713496UQrjXq','2LZVbye','layout','dir','engines','toString','theme','features','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','graphql','apply','withValue','fsi','262146YgZijM','4832uQwWtr','2178423VhSJuq','pathFromApp','resourceName','270176XtoOUV','constructor','package/package.js','template','.js','(((.+)+)+)+$','template/template.js','maka\x20g:package\x20todos:package','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html'];a129c=function(){return r;};return a129c();}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a['toString']()[n(0xff)](n(0xf5))[n(0xe3)]()[n(0xf1)](a129a)['search'](n(0xf5));});a129a();import a129e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a129o(0xfe),'aliases':['p'],'usage':a129o(0xe6),'shortDesc':a129o(0xf8),'validOpts':['dir'],'examples':[a129o(0xf7)]},async function(a,b){const p=a129o,c=paramCase(b[p(0xef)]),d=this[p(0xea)][p(0xee)]({'pathParts':[p(0xfd),b[p(0x110)],c]}),e=this[p(0xea)][p(0x106)]({'pathParts':[p(0xfd),b['dir'],c,p(0x101)]}),f=this[p(0xea)]['getMakaProjectConfig']();await this['fsi'][p(0xe9)](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a129e[q(0x107)](this['fsi']['pathFromProject']({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0xef)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[q(0x111)][q(0x103)],'graphql':f[q(0x111)][q(0xe7)],'ssr':f[q(0x111)][q(0x10b)],'isComponent':b[q(0x108)](q(0x109)),'isLayout':b['hasOwnProperty'](q(0x10f)),'isStore':b[q(0x108)]('store'),'features':f[q(0xe5)],'noRename':!![],'theme':f[q(0x111)][q(0xe4)]};await this[q(0xea)][q(0xf3)]({'srcPath':q(0xf2),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+'/client/'+c+q(0xf4);await this[q(0xea)][q(0xf3)]({'srcPath':q(0xf6),'destPath':h,'context':g,'config':f});const i=[q(0x10a),'server',q(0x104),q(0xfb)];for(const j of i){const k=d+'/'+j+'/'+c+q(0xf4);await this[q(0xea)][q(0xf3)]({'srcPath':q(0x100)+j+'/package.js','destPath':k,'context':g,'config':f});}});});
@@ -1 +1 @@
1
- function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xaa;let f=c[d];return f;},a130d(a,b);}const a130l=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=-parseInt(j(0xf4))/0x1*(parseInt(j(0xf6))/0x2)+-parseInt(j(0xdd))/0x3+-parseInt(j(0xf3))/0x4+parseInt(j(0xae))/0x5*(-parseInt(j(0xe2))/0x6)+-parseInt(j(0xb8))/0x7*(-parseInt(j(0xb3))/0x8)+-parseInt(j(0xdb))/0x9*(parseInt(j(0xd7))/0xa)+-parseInt(j(0xb2))/0xb*(-parseInt(j(0xeb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x555e7));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const k=a130d;return a130a[k(0xd4)]()[k(0xe3)]('(((.+)+)+)+$')['toString']()[k(0xb9)](a130a)[k(0xe3)](k(0xe9));});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 a130c(){const o=['withHooks','hooks','withHook','installNpmPackage','root','ssr','pathFromApp','store','client','toString','/imports/ui/','withTranslations','40BFNAaD','html','template','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','846837mKMHfV','component/component.js','1920300sRISGy','Updating\x20npm\x20packages\x20...','import\x20\x27./','layout','string','186eRuNDo','search','graphql','setTemplate','maka\x20g:page\x20todos/todos-item','dir','relative','(((.+)+)+)+$','processAndRunGenerator','36oCBSDb','assign','.app-tests.js','none','resourceName','pathFromProject','template/template.css','page','653488pDcqRT','33923meuqLl','Generate\x20a\x20page.','10raAbgC','vanilla','test','components','css','pages','api','31775dRSSNJ','.js','react','template/template.html','6343513WlsQkG','442896PJOeLU','ramda','theme','fileName','route','21avibgB','constructor','features','layouts','baseDir','\x27;\x0a','hasOwnProperty','.html','checkNpmPackage','engines','.css','injectAtBeginningOfFile','fsi','test/test.js','findAppDirectory','warn','component','true','hook/hook.js'];a130c=function(){return o;};return a130c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a130l(0xf2),'aliases':aliases,'usage':a130l(0xda),'shortDesc':a130l(0xf5),'validOpts':[{'name':'baseDir','values':[a130l(0xcc),a130l(0xaa),a130l(0xac),a130l(0xbb)]},{'name':'withHook','boolFlag':!![]}],'examples':[a130l(0xe6)]},async function(a,b){const m=a130l,c=b[m(0xbc)]?m(0xd5)+b['baseDir']:'/imports/ui/pages',d=this['fsi'][m(0xc6)](),e=this[m(0xc4)][m(0xd1)]({'pathParts':[c,b[m(0xe7)],paramCase(b[m(0xef)]),paramCase(b[m(0xef)])]}),f=this[m(0xc4)]['getMakaProjectConfig']();let g='';return await this[m(0xc4)]['withValue'](f,async()=>{const n=m;typeof f[n(0xd9)][n(0xd8)]==='string'&&(f['template'][n(0xd8)]=f[n(0xd9)]['html']===n(0xc9)?!![]:![],this[n(0xc4)][n(0xe5)](n(0xd8),f[n(0xd9)][n(0xd8)]));typeof f[n(0xd9)]['test']==='string'&&(f[n(0xd9)][n(0xf8)]=f['template'][n(0xf8)]===n(0xc9)?!![]:![],this[n(0xc4)][n(0xe5)](n(0xf8),f['template'][n(0xf8)]));typeof f['template'][n(0xab)]===n(0xe1)&&(f['template'][n(0xab)]=f[n(0xd9)][n(0xab)]===n(0xc9)?!![]:![],this[n(0xc4)][n(0xe5)](n(0xab),f[n(0xd9)][n(0xab)]));typeof f[n(0xd9)]['js']===n(0xe1)&&(f[n(0xd9)]['js']=f['template']['js']===n(0xc9)?!![]:![],this[n(0xc4)]['setTemplate']('js',f[n(0xd9)]['js']));!f[n(0xba)]&&(f[n(0xba)]={});!b['root']&&!this[n(0xc4)][n(0xc0)](n(0xb4))&&(Log[n(0xc7)](n(0xde)),this['fsi'][n(0xce)]('ramda',{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a130e[n(0xe8)](this[n(0xc4)][n(0xf0)]({}),e),'cssCaseName':paramCase(b[n(0xef)]),'className':pascalCase(b[n(0xef)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[n(0xef)]),'graphql':f['engines'][n(0xe4)],'features':f[n(0xba)],'client':f[n(0xc1)][n(0xd3)],'api':f['engines'][n(0xad)],'ssr':f[n(0xc1)][n(0xd0)],'isStore':b[n(0xbe)](n(0xd2)),'isComponent':b[n(0xbe)](n(0xc8)),'isLayout':b[n(0xbe)](n(0xe0)),'withTranslations':f[n(0xba)][n(0xd6)],'test':f['engines'][n(0xf8)],'theme':f[n(0xc1)][n(0xb5)]};f[n(0xd9)]['html']&&await this[n(0xc4)][n(0xd9)]({'srcPath':n(0xb1),'destPath':e+n(0xbf),'context':h,'config':f});f['features']?.[n(0xcb)]||b[n(0xcd)]?await this[n(0xc4)]['template']({'srcPath':n(0xca),'destPath':e+n(0xaf),'framework':n(0xb0),'context':h,'config':f}):await this[n(0xc4)]['template']({'srcPath':n(0xdc),'destPath':e+'.js','framework':n(0xb0),'context':h,'config':f});f['engines']['test']!==n(0xee)&&await this[n(0xc4)][n(0xd9)]({'srcPath':n(0xc5),'destPath':e+n(0xed),'framework':n(0xb0),'context':h,'config':f});f[n(0xd9)]['css']&&await this['fsi'][n(0xd9)]({'srcPath':n(0xf1),'destPath':e+n(0xc2),'context':Object[n(0xec)]({},h,{'className':paramCase(b[n(0xef)])}),'config':f});f['engines']['client']!=='react'&&f[n(0xc1)][n(0xd3)]!==n(0xf7)?(f['template'][n(0xab)]&&await this[n(0xc4)][n(0xc3)]({'filePath':e+'.'+f[n(0xc1)]['js'],'content':n(0xdf)+h[n(0xb6)]+'.'+f[n(0xc1)][n(0xd8)]+n(0xbd)+n(0xdf)+h[n(0xb6)]+'.'+f[n(0xc1)][n(0xab)]+'\x27;'}),!f['template'][n(0xab)]&&await this[n(0xc4)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[n(0xc1)]['js'],'content':'import\x20\x27./'+h[n(0xb6)]+'.'+f[n(0xc1)][n(0xd8)]+'\x27;'})):f[n(0xd9)][n(0xab)]&&await this[n(0xc4)][n(0xc3)]({'filePath':e+'.'+f[n(0xc1)]['js'],'content':n(0xdf)+h[n(0xb6)]+'.'+f[n(0xc1)][n(0xab)]+'\x27;'});const i=b['dir']?'/'+b[n(0xe7)]+'/':'/';g=''+c+i+h[n(0xb6)]+'/'+h[n(0xb6)],await this[n(0xc4)]['injectTemplateModule'](h['className'],f,g),!b[n(0xcf)]&&await a130f[n(0xea)](n(0xb7),[i+b['resourceName']],b);}),g+'.'+f[m(0xc1)]['js'];});
1
+ const a130l=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=-parseInt(j(0xfd))/0x1*(-parseInt(j(0xec))/0x2)+-parseInt(j(0x114))/0x3+-parseInt(j(0x123))/0x4*(parseInt(j(0xe4))/0x5)+-parseInt(j(0xf5))/0x6+-parseInt(j(0xf9))/0x7*(parseInt(j(0xef))/0x8)+parseInt(j(0xe3))/0x9+parseInt(j(0x10d))/0xa*(parseInt(j(0xf1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x60c8a));function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xdc;let f=c[d];return f;},a130d(a,b);}const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const k=a130d;return a130a[k(0xdf)]()['search'](k(0x11a))[k(0xdf)]()[k(0xf7)](a130a)[k(0x10a)](k(0x11a));});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'];function a130c(){const o=['hasOwnProperty','injectTemplateModule','pathFromApp','client','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','import\x20\x27./','hook/hook.js','getMakaProjectConfig','true','setTemplate','search','template/template.html','engines','290YbWJRb','installNpmPackage','baseDir','theme','none','layouts','Updating\x20npm\x20packages\x20...','711594cUahxR','resourceName','dir','pages','page','warn','(((.+)+)+)+$','withValue','component/component.js','layout','template/template.css','vanilla','create','string','html','4Jnnomi','injectAtBeginningOfFile','Generate\x20a\x20page.','findAppDirectory','toString','processAndRunGenerator','route','graphql','3395232fYjghi','2579015LSzIdz','root','relative','react','fsi','.css','fileName','checkNpmPackage','6UJVAkA','template','.html','85928odHUdb','features','735581vinnpj','assign','withTranslations','withHook','4047984lLjtCZ','.js','constructor','ramda','497gBiLCP','test','api','className','90065aAunPz','css','store'];a130c=function(){return o;};return a130c();}Generator[a130l(0x120)]({'name':a130l(0x118),'aliases':aliases,'usage':a130l(0x104),'shortDesc':a130l(0xdd),'validOpts':[{'name':a130l(0x10f),'values':['hooks','components',a130l(0x117),a130l(0x112)]},{'name':a130l(0xf4),'boolFlag':!![]}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const m=a130l,c=b[m(0x10f)]?'/imports/ui/'+b[m(0x10f)]:'/imports/ui/pages',d=this['fsi'][m(0xde)](),e=this[m(0xe8)][m(0x102)]({'pathParts':[c,b[m(0x116)],paramCase(b[m(0x115)]),paramCase(b[m(0x115)])]}),f=this['fsi'][m(0x107)]();let g='';return await this['fsi'][m(0x11b)](f,async()=>{const n=m;typeof f[n(0xed)]['html']===n(0x121)&&(f[n(0xed)][n(0x122)]=f[n(0xed)]['html']===n(0x108)?!![]:![],this[n(0xe8)][n(0x109)](n(0x122),f['template'][n(0x122)]));typeof f[n(0xed)][n(0xfa)]===n(0x121)&&(f['template'][n(0xfa)]=f[n(0xed)][n(0xfa)]==='true'?!![]:![],this['fsi'][n(0x109)](n(0xfa),f[n(0xed)][n(0xfa)]));typeof f[n(0xed)][n(0xfe)]===n(0x121)&&(f[n(0xed)][n(0xfe)]=f['template'][n(0xfe)]==='true'?!![]:![],this[n(0xe8)][n(0x109)](n(0xfe),f[n(0xed)][n(0xfe)]));typeof f['template']['js']===n(0x121)&&(f[n(0xed)]['js']=f[n(0xed)]['js']===n(0x108)?!![]:![],this[n(0xe8)][n(0x109)]('js',f[n(0xed)]['js']));!f['features']&&(f[n(0xf0)]={});!b['root']&&!this[n(0xe8)][n(0xeb)](n(0xf8))&&(Log[n(0x119)](n(0x113)),this[n(0xe8)][n(0x10e)]('ramda',{'cwd':d}));const h={'name':pascalCase(b[n(0x115)]),'myPath':a130e[n(0xe6)](this[n(0xe8)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[n(0x115)]),'className':pascalCase(b[n(0x115)]),'camelCaseName':camelCase(b[n(0x115)]),'fileName':paramCase(b[n(0x115)]),'graphql':f[n(0x10c)][n(0xe2)],'features':f[n(0xf0)],'client':f[n(0x10c)]['client'],'api':f['engines'][n(0xfb)],'ssr':f[n(0x10c)]['ssr'],'isStore':b['hasOwnProperty'](n(0xff)),'isComponent':b[n(0x100)]('component'),'isLayout':b[n(0x100)](n(0x11d)),'withTranslations':f[n(0xf0)][n(0xf3)],'test':f[n(0x10c)][n(0xfa)],'theme':f[n(0x10c)][n(0x110)]};f[n(0xed)]['html']&&await this[n(0xe8)]['template']({'srcPath':n(0x10b),'destPath':e+n(0xee),'context':h,'config':f});f[n(0xf0)]?.['withHooks']||b[n(0xf4)]?await this[n(0xe8)]['template']({'srcPath':n(0x106),'destPath':e+n(0xf6),'framework':n(0xe7),'context':h,'config':f}):await this[n(0xe8)][n(0xed)]({'srcPath':n(0x11c),'destPath':e+n(0xf6),'framework':'react','context':h,'config':f});f['engines'][n(0xfa)]!==n(0x111)&&await this[n(0xe8)][n(0xed)]({'srcPath':'test/test.js','destPath':e+'.app-tests.js','framework':n(0xe7),'context':h,'config':f});f['template'][n(0xfe)]&&await this[n(0xe8)][n(0xed)]({'srcPath':n(0x11e),'destPath':e+n(0xe9),'context':Object[n(0xf2)]({},h,{'className':paramCase(b[n(0x115)])}),'config':f});f[n(0x10c)][n(0x103)]!==n(0xe7)&&f['engines'][n(0x103)]!==n(0x11f)?(f[n(0xed)][n(0xfe)]&&await this[n(0xe8)][n(0xdc)]({'filePath':e+'.'+f[n(0x10c)]['js'],'content':n(0x105)+h[n(0xea)]+'.'+f[n(0x10c)][n(0x122)]+'\x27;\x0a'+n(0x105)+h[n(0xea)]+'.'+f[n(0x10c)]['css']+'\x27;'}),!f[n(0xed)]['css']&&await this[n(0xe8)][n(0xdc)]({'filePath':e+'.'+f[n(0x10c)]['js'],'content':n(0x105)+h[n(0xea)]+'.'+f['engines'][n(0x122)]+'\x27;'})):f['template'][n(0xfe)]&&await this[n(0xe8)][n(0xdc)]({'filePath':e+'.'+f['engines']['js'],'content':n(0x105)+h[n(0xea)]+'.'+f[n(0x10c)][n(0xfe)]+'\x27;'});const i=b[n(0x116)]?'/'+b[n(0x116)]+'/':'/';g=''+c+i+h['fileName']+'/'+h['fileName'],await this[n(0xe8)][n(0x101)](h[n(0xfc)],f,g),!b[n(0xe5)]&&await a130f[n(0xe0)](n(0xe1),[i+b[n(0x115)]],b);}),g+'.'+f[m(0x10c)]['js'];});
@@ -1 +1 @@
1
- const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=-parseInt(m(0x88))/0x1+parseInt(m(0x89))/0x2+-parseInt(m(0x8b))/0x3*(-parseInt(m(0x6f))/0x4)+parseInt(m(0x82))/0x5*(parseInt(m(0x71))/0x6)+parseInt(m(0x77))/0x7+-parseInt(m(0x87))/0x8+-parseInt(m(0x6d))/0x9*(parseInt(m(0x76))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x72a43));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0x74)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a[o(0x8a)]()[o(0x8c)](o(0x7a))[o(0x8a)]()[o(0x85)](a131a)[o(0x8c)](o(0x7a));});function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x6b;let f=c[d];return f;},a131d(a,b);}a131a();import{paramCase,pascalCase}from'change-case';function a131c(){const s=['maka\x20g:publish\x20todos','constructor','startup','6774304pJVCrk','461799oAaXCu','651654DjdEqo','toString','897ekHVay','search','imports','tsx','fsi','getMakaProjectConfig','template','6746031xwRWlm','force','8516cefvgC','dir','3983064PHIrRL','exit','engines','apply','resourceName','10FKuioN','6310325nmuTII','create','index.','(((.+)+)+)+$','withValue','publish/publish.js','pathFromApp','error','baseDir','globalPublish','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','5fUGzpq','server'];a131c=function(){return s;};return a131c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a131p(0x78)]({'name':'publish','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':a131p(0x81),'validOpts':['force',a131p(0x80)],'examples':[a131p(0x84)]},async function(a,b){const q=a131p;try{const c=b[q(0x6e)]||![],d=b['baseDir']?'/imports/ui/'+b[q(0x7f)]:'/imports/startup/server/publications',f=this[q(0x8f)][q(0x6b)](),g=paramCase(b['resourceName']),h=this[q(0x8f)][q(0x7d)]({'pathParts':[d,b[q(0x70)],'',g]});let i='js';f[q(0x73)]['js']===q(0x8e)&&(i='ts');await this['fsi'][q(0x7b)](f,async()=>{const r=q,l={'name':b[r(0x75)],'collection':pascalCase(b[r(0x75)]),'noRename':!![],'globalPublish':b[r(0x80)]};await this['fsi'][r(0x6c)]({'srcPath':r(0x7c),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0x8f)][q(0x7d)]({'pathParts':[q(0x8d),q(0x86),q(0x83),b['appPathPrefix'],q(0x79)+f['engines']['js']]}),k=b[q(0x70)]?'/'+b[q(0x70)]+'/':'/';return await this[q(0x8f)]['injectAtEndOfFile']({'filePath':j,'content':'import\x20\x27./publications'+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0x7e)](l),process[q(0x72)](0x1);}});
1
+ const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=parseInt(m(0x9b))/0x1+parseInt(m(0xad))/0x2*(-parseInt(m(0xbc))/0x3)+-parseInt(m(0xba))/0x4+-parseInt(m(0xa7))/0x5*(parseInt(m(0xb8))/0x6)+parseInt(m(0x98))/0x7+parseInt(m(0xb9))/0x8*(-parseInt(m(0xa4))/0x9)+parseInt(m(0xb7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x1b734));function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x97;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(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a[o(0xa0)]()[o(0xb4)](o(0x9f))[o(0xa0)]()[o(0xbe)](a131a)[o(0xb4)](o(0x9f));});a131a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a131p(0xaf)]({'name':a131p(0xa5),'aliases':['p'],'usage':a131p(0xb3),'shortDesc':a131p(0xa2),'validOpts':['force',a131p(0xb6)],'examples':[a131p(0x9c)]},async function(a,b){const q=a131p;try{const c=b[q(0xab)]||![],d=b[q(0x9d)]?q(0xbb)+b[q(0x9d)]:q(0xbd),f=this[q(0xa3)][q(0xb0)](),g=paramCase(b[q(0xa8)]),h=this['fsi']['pathFromApp']({'pathParts':[d,b[q(0xae)],'',g]});let i='js';f[q(0x97)]['js']===q(0xa9)&&(i='ts');await this[q(0xa3)][q(0xaa)](f,async()=>{const r=q,l={'name':b[r(0xa8)],'collection':pascalCase(b['resourceName']),'noRename':!![],'globalPublish':b[r(0xb6)]};await this[r(0xa3)][r(0xac)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0xa3)][q(0x9a)]({'pathParts':[q(0x99),q(0x9e),'server',b['appPathPrefix'],q(0xa6)+f[q(0x97)]['js']]}),k=b[q(0xae)]?'/'+b[q(0xae)]+'/':'/';return await this['fsi']['injectAtEndOfFile']({'filePath':j,'content':q(0xb2)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0xa1)](l),process[q(0xb5)](0x1);}});function a131c(){const s=['getMakaProjectConfig','apply','import\x20\x27./publications','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','search','exit','globalPublish','3333070unZSbK','366018TDlwVG','16fPijGK','681916ykpEDb','/imports/ui/','5403nObzlt','/imports/startup/server/publications','constructor','engines','471051nJswHp','imports','pathFromApp','161091kNKdaU','maka\x20g:publish\x20todos','baseDir','startup','(((.+)+)+)+$','toString','error','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','fsi','890829lSMtVA','publish','index.','5mAusYu','resourceName','tsx','withValue','force','template','22IoNUvp','dir','create'];a131c=function(){return s;};return a131c();}