@maka/maka-cli 4.12.17 → 4.12.18

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 (160) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/collection.js +1 -1
  109. package/bundle/obf/src/generators/component.js +1 -1
  110. package/bundle/obf/src/generators/config.js +1 -1
  111. package/bundle/obf/src/generators/dbc.js +1 -1
  112. package/bundle/obf/src/generators/dockerfile.js +1 -1
  113. package/bundle/obf/src/generators/hook.js +1 -1
  114. package/bundle/obf/src/generators/kits/_index.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  117. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/kit.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  127. package/bundle/obf/src/generators/layout.js +1 -1
  128. package/bundle/obf/src/generators/maka.gen.js +1 -1
  129. package/bundle/obf/src/generators/methods.js +1 -1
  130. package/bundle/obf/src/generators/package.js +1 -1
  131. package/bundle/obf/src/generators/page.js +1 -1
  132. package/bundle/obf/src/generators/publish.js +1 -1
  133. package/bundle/obf/src/generators/route.js +1 -1
  134. package/bundle/obf/src/generators/service.js +1 -1
  135. package/bundle/obf/src/generators/services/_index.js +1 -1
  136. package/bundle/obf/src/generators/services/openssl.js +1 -1
  137. package/bundle/obf/src/generators/services/translation.js +1 -1
  138. package/bundle/obf/src/maka.js +1 -1
  139. package/bundle/obf/src/templates/meteor/config/docker-compose.yaml +1 -1
  140. package/bundle/obf/src/templates/service/docker/Dockerfile +1 -1
  141. package/bundle/obf/src/tool.js +1 -1
  142. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  143. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  144. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  146. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  148. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/https/https.class.js +1 -1
  150. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  151. package/bundle/obf/src/tools/log/log.class.js +1 -1
  152. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  153. package/bundle/obf/src/tools/options/options.class.js +1 -1
  154. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  155. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  156. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  158. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  159. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  160. package/package.json +1 -1
@@ -1 +1 @@
1
- const a116r=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=parseInt(o(0xd4))/0x1+parseInt(o(0xb3))/0x2+parseInt(o(0xc7))/0x3+-parseInt(o(0xd5))/0x4*(parseInt(o(0xbb))/0x5)+-parseInt(o(0xd1))/0x6+parseInt(o(0xed))/0x7*(-parseInt(o(0xbc))/0x8)+parseInt(o(0xf6))/0x9*(parseInt(o(0xf3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x37406));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0xb5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0xca)]()[q(0xcd)](q(0xde))[q(0xca)]()[q(0xce)](a116a)[q(0xcd)](q(0xde));});a116a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a116c(){const u=['injectIntoCodeBlock','5695cWmCrY','1724936VWxMdZ','.js','export\x20const\x20AuthProvider','findProjectDirectory','kit:auth:provider','true','Meteor.startup','Meteor','getMakaProjectConfig','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','auth/roles','546876taobXx','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','meteor/accounts-base','toString','exit','const\x20sendForgotPasswordEmail','search','constructor','/imports/startup/client/authentication-service','index','1103340LeVJvE','AuthService','\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','66980wfJHPW','1028nlQCPy','engines','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','error','fsi','\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','template','\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','withValue','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','/imports/startup/lib','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','checkMeteorPackage','const\x20resetPasswordWithToken','/imports/startup/lib/authentication-service','imports','force','\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','Accounts','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','const\x20authenticateUser','/imports/startup/client','pathFromApp','14AQCbix','const\x20authenticateToken','meteor/meteor','startup','processAndRunGenerator','const\x20registerNewUser','3563860UwudLG','useTracker','const\x20deauthenticateUser','18dSLADl','alanning:roles','authentication-service','REACT','injectIntoFile','server','return\x20\x5c(','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','344226vvHTSG','const\x20getUserAuthorizations','apply','publish','meteor','injectImport','\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'];a116c=function(){return u;};return a116c();}import a116e from'./auth.generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xac;let f=c[d];return f;},a116d(a,b);}import a116f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a116r(0xb7),'aliases':['m'],'usage':a116r(0xdf),'shortDesc':a116r(0xe9),'validOpts':[a116r(0xe6)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116r(0xae)]},'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(0xe6)]||![];await this[s(0xd9)][s(0xe2)](['accounts-password',s(0xac)],{'shouldInstall':!![]});const d=this[s(0xd9)][s(0xbf)](),f=this['fsi'][s(0xc4)](),g=f[s(0xd6)]['ssr']===s(0xc1);await a116f[s(0xf1)](s(0xc0),[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0xf1)](s(0xb6),[s(0xc6)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0xe0):s(0xeb),j=this['fsi'][s(0xec)]({'pathParts':[i,'','',s(0xad)]});await this[s(0xd9)][s(0xdd)](f,async()=>{const t=s;await this['fsi'][t(0xdb)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0xbd),'framework':'react','context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0xd9)][s(0xec)]({'pathParts':[i,'','','authentication-provider']}),l=f[s(0xd6)]['js'];await this[s(0xd9)][s(0xb8)]({'filePath':k+'.'+l,'importName':s(0xd2),'modulePath':g?s(0xe4):s(0xcf),'isNamedExport':![]}),await this['fsi'][s(0xba)]({'filePath':k+'.'+l,'content':s(0xc8),'begin':s(0xea),'replace':!![]}),await this[s(0xd9)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0xb9),'begin':s(0xee),'replace':!![]}),await this[s(0xd9)][s(0xba)]({'filePath':k+'.'+l,'content':s(0xda),'begin':s(0xb4),'replace':!![]}),await this[s(0xd9)][s(0xba)]({'filePath':k+'.'+l,'content':s(0xc5),'begin':s(0xf5),'replace':!![]}),await this[s(0xd9)][s(0xba)]({'filePath':k+'.'+l,'content':s(0xd7),'begin':s(0xcc),'replace':!![]}),await this[s(0xd9)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0xe1),'begin':s(0xf2),'replace':!![]}),await this['fsi'][s(0xba)]({'filePath':k+'.'+l,'content':s(0xb2),'begin':s(0xe3),'replace':!![]});g&&(await this[s(0xd9)][s(0xb8)]({'filePath':k+'.'+l,'importName':s(0xf4),'modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await this[s(0xd9)][s(0xaf)]({'filePath':k+'.'+l,'content':s(0xe7),'begin':s(0xbe),'end':s(0xb1)}));await this[s(0xd9)][s(0xb8)]({'filePath':h,'importName':s(0xc3),'modulePath':s(0xef),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0xd9)][s(0xba)]({'filePath':h,'content':s(0xdc),'begin':'Meteor.publish','replace':!![]});const m=this[s(0xd9)][s(0xec)]({'pathParts':[s(0xe5),s(0xf0),s(0xb0),s(0xd0)]});await this[s(0xd9)][s(0xb8)]({'filePath':m+'.'+l,'importName':s(0xe8),'modulePath':s(0xc9),'isNamedExport':!![]}),await this[s(0xd9)][s(0xba)]({'filePath':m+'.'+l,'content':s(0xd3),'begin':s(0xc2),'replace':!![]});}catch(n){Log[s(0xd8)](n),process[s(0xcb)](0x1);}},async function(){},a116e);
1
+ const a116r=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=parseInt(o(0x21d))/0x1*(parseInt(o(0x209))/0x2)+parseInt(o(0x229))/0x3*(parseInt(o(0x20a))/0x4)+-parseInt(o(0x220))/0x5+parseInt(o(0x1fd))/0x6+parseInt(o(0x1fe))/0x7*(parseInt(o(0x200))/0x8)+parseInt(o(0x213))/0x9+-parseInt(o(0x21a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xbb278));function a116c(){const u=['\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','Accounts','REACT','\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','injectIntoCodeBlock','pathFromApp','43702310iANRsv','apply','force','4jeDTKa','/imports/startup/client/authentication-service','imports','3265580TxGaiL','/imports/startup/lib','\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','toString','index','constructor','auth/roles','template','alanning:roles','3VtdfKz','AuthService','engines','Meteor.startup','meteor/meteor','kit/auth/service/meteor-auth-service.js','const\x20resetPasswordWithToken','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','export\x20const\x20AuthProvider','checkMeteorPackage','const\x20registerNewUser','meteor/accounts-base','withValue','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','(((.+)+)+)+$','true','Meteor.publish','const\x20getUserAuthorizations','authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','publish','9029058lZMPlo','686iTHzUb','\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','120272qnWMNR','\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','ssr','const\x20authenticateUser','.js','const\x20sendForgotPasswordEmail','processAndRunGenerator','meteor/maka:react-tracker','useTracker','618602YBimhf','3886648iSwPoD','error','return\x20\x5c(','/imports/startup/lib/authentication-service','injectIntoFile','search','const\x20authenticateToken','injectImport','fsi','5426010kFZwJz'];a116c=function(){return u;};return a116c();}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0x21b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0x223)]()[q(0x20f)](q(0x1f6))['toString']()[q(0x225)](a116a)[q(0x20f)](q(0x1f6));});a116a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a116e from'./auth.generator.js';import a116f from'../../../generators/maka.gen.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a116d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'meteor','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a116r(0x21c)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116r(0x216)]},'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(0x21c)]||![];await this[s(0x212)][s(0x233)](['accounts-password',s(0x228)],{'shouldInstall':!![]});const d=this[s(0x212)]['findProjectDirectory'](),f=this[s(0x212)]['getMakaProjectConfig'](),g=f[s(0x22b)][s(0x202)]===s(0x1f7);await a116f[s(0x206)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0x206)](s(0x1fc),[s(0x226)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x221):'/imports/startup/client',j=this[s(0x212)][s(0x219)]({'pathParts':[i,'','',s(0x1fa)]});await this[s(0x212)][s(0x1f3)](f,async()=>{const t=s;await this[t(0x212)][t(0x227)]({'srcPath':t(0x22e),'destPath':j+t(0x204),'framework':'react','context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x212)][s(0x219)]({'pathParts':[i,'','','authentication-provider']}),l=f[s(0x22b)]['js'];await this['fsi'][s(0x211)]({'filePath':k+'.'+l,'importName':s(0x22a),'modulePath':g?s(0x20d):s(0x21e),'isNamedExport':![]}),await this[s(0x212)][s(0x218)]({'filePath':k+'.'+l,'content':s(0x1ff),'begin':s(0x203),'replace':!![]}),await this[s(0x212)][s(0x218)]({'filePath':k+'.'+l,'content':s(0x201),'begin':s(0x210),'replace':!![]}),await this[s(0x212)][s(0x218)]({'filePath':k+'.'+l,'content':s(0x1f5),'begin':s(0x1f9),'replace':!![]}),await this[s(0x212)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x1fb),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[s(0x212)][s(0x218)]({'filePath':k+'.'+l,'content':s(0x214),'begin':s(0x205),'replace':!![]}),await this[s(0x212)][s(0x218)]({'filePath':k+'.'+l,'content':s(0x230),'begin':s(0x234),'replace':!![]}),await this[s(0x212)][s(0x218)]({'filePath':k+'.'+l,'content':s(0x231),'begin':s(0x22f),'replace':!![]});g&&(await this[s(0x212)][s(0x211)]({'filePath':k+'.'+l,'importName':s(0x208),'modulePath':s(0x207),'isNamedExport':!![]}),await this['fsi'][s(0x20e)]({'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(0x232),'end':s(0x20c)}));await this[s(0x212)][s(0x211)]({'filePath':h,'importName':s(0x1f4),'modulePath':s(0x22d),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x212)][s(0x218)]({'filePath':h,'content':s(0x222),'begin':s(0x1f8),'replace':!![]});const m=this[s(0x212)][s(0x219)]({'pathParts':[s(0x21f),'startup','server',s(0x224)]});await this['fsi'][s(0x211)]({'filePath':m+'.'+l,'importName':s(0x215),'modulePath':s(0x235),'isNamedExport':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':m+'.'+l,'content':s(0x217),'begin':s(0x22c),'replace':!![]});}catch(n){Log[s(0x20b)](n),process['exit'](0x1);}},async function(){},a116e);
@@ -1 +1 @@
1
- const a117w=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=parseInt(u(0x187))/0x1*(-parseInt(u(0x17a))/0x2)+-parseInt(u(0x16a))/0x3*(-parseInt(u(0x162))/0x4)+-parseInt(u(0x15d))/0x5+parseInt(u(0x159))/0x6+-parseInt(u(0x16d))/0x7*(parseInt(u(0x15b))/0x8)+parseInt(u(0x17c))/0x9+parseInt(u(0x175))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x9330a));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const v=a117d;return a117a[v(0x16b)]()[v(0x156)](v(0x163))['toString']()[v(0x15f)](a117a)['search']('(((.+)+)+)+$');});function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x156;let f=c[d];return f;},a117d(a,b);}function a117c(){const z=['/imports/startup/client/authentication-provider','47341MFojFT','engines','AuthContext','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','/imports/startup/lib/authentication-provider','fsi','REACT','replaceAll','4382950EUloBn','withValue','bright','injectIntoCodeBlock','provider','4206zhBytb','split','1153728qsoaDh','/imports/startup/lib','true','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','getMakaProjectConfig','error','exit','kit/auth/provider/authentication-provider.js','appName','<Routes\x20history={history}/>','193AUIrfa','AuthProvider','search','function\x20Routes','/imports/startup/client','5158878curivJ','/routes','1016kMGXvi','<Routes\x20history={browserHistory}/>','1190395kUmcMP','injectImport','constructor','injectAroundString','<AuthProvider>','2717796XsiVzE','(((.+)+)+)+$','force','pathFromApp','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','ssr','.js','</AuthProvider>','3RvfESK','toString'];a117c=function(){return z;};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['create']({'name':a117w(0x179),'aliases':['p'],'usage':a117w(0x17f),'shortDesc':a117w(0x166),'validOpts':[a117w(0x164)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117w(0x173)]},'description':a117w(0x170)},async function(a,b){const x=a117w;try{const c=b[x(0x164)]||![];Log[x(0x177)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[x(0x172)][x(0x181)](),f=d[x(0x16e)][x(0x167)]===x(0x17e),g={'name':headerCase(d[x(0x185)])[x(0x174)]('-','\x20')},h=f?x(0x17d):x(0x158),i=this['fsi']['pathFromApp']({'pathParts':[h,'','','authentication-provider']});await this[x(0x172)][x(0x176)](d,async()=>{const y=x;await this[y(0x172)]['template']({'srcPath':y(0x184),'destPath':i+y(0x168),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d[x(0x16e)]['js'],k=h+x(0x15a),l=k[x(0x17b)]('/'),m=this[x(0x172)][x(0x165)]({'pathParts':l});await this[x(0x172)][x(0x15e)]({'filePath':m+'.'+j,'importName':x(0x16f),'modulePath':f?x(0x171):x(0x16c),'isNamedExport':!![]}),await this['fsi'][x(0x15e)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x172)][x(0x178)]({'filePath':m+'.'+j,'content':x(0x180),'begin':['const\x20Routes',x(0x157)],'replace':!![]});const n='/imports/startup/client/index',o=n['split']('/'),p=this['fsi']['pathFromApp']({'pathParts':o});await this['fsi']['injectImport']({'filePath':p+'.'+j,'importName':x(0x188),'modulePath':f?'/imports/startup/lib/authentication-provider':x(0x16c),'isNamedExport':!![]}),await this[x(0x172)][x(0x160)]({'filePath':p+'.'+j,'aboveContent':x(0x161),'belowContent':'</AuthProvider>','targetString':x(0x15c),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[x(0x17b)]('/'),s=this[x(0x172)][x(0x165)]({'pathParts':r});await this[x(0x172)][x(0x15e)]({'filePath':s+'.'+j,'importName':x(0x188),'modulePath':f?x(0x171):x(0x16c),'isNamedExport':!![]}),await this['fsi'][x(0x160)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0x169),'targetString':x(0x186),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0x182)](t),process[x(0x183)](0x1);}},async function(){},a117e);
1
+ function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x103;let f=c[d];return f;},a117d(a,b);}const a117x=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=-parseInt(u(0x104))/0x1*(parseInt(u(0x124))/0x2)+-parseInt(u(0x122))/0x3*(-parseInt(u(0x12c))/0x4)+-parseInt(u(0x12b))/0x5*(parseInt(u(0x136))/0x6)+parseInt(u(0x10c))/0x7*(parseInt(u(0x105))/0x8)+-parseInt(u(0x10d))/0x9*(parseInt(u(0x117))/0xa)+parseInt(u(0x126))/0xb+-parseInt(u(0x131))/0xc*(-parseInt(u(0x107))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x7cc6b));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a[w(0x128)]()['search'](w(0x11f))[w(0x128)]()[w(0x10f)](a117a)[w(0x134)]('(((.+)+)+)+$');});function a117c(){const A=['3481374rsOokm','provider','34tqKYFm','1487688EOByaU','</AuthProvider>','169lmZdnj','/imports/startup/client/index','injectAroundString','react','create','35fAhEKj','3780IRySic','bright','constructor','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','/imports/startup/lib/authentication-provider','injectIntoCodeBlock','template','force','<Routes\x20history={browserHistory}/>','replaceAll','17730VPhXII','ssr','withValue','REACT','/imports/startup/client/authentication-provider','true','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','(((.+)+)+)+$','AuthContext','apply','563529ezFZiq','fsi','24874iZccMK','appName','9709095hiegJB','/imports/startup/lib','toString','kit/auth/provider/authentication-provider.js','function\x20Routes','5qUeDXF','8NvNlxD','/imports/startup/server/index','injectImport','.js','AuthProvider','65256ixZbXf','split','<AuthProvider>','search','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'];a117c=function(){return A;};return a117c();}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(0x10b)]({'name':a117x(0x103),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a117x(0x110),'validOpts':[a117x(0x114)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117x(0x11a)]},'description':a117x(0x135)},async function(a,b){const y=a117x;try{const c=b[y(0x114)]||![];Log[y(0x10e)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[y(0x123)]['getMakaProjectConfig'](),f=d['engines'][y(0x118)]===y(0x11c),g={'name':headerCase(d[y(0x125)])[y(0x116)]('-','\x20')},h=f?y(0x127):'/imports/startup/client',i=this[y(0x123)][y(0x11d)]({'pathParts':[h,'','','authentication-provider']});await this['fsi'][y(0x119)](d,async()=>{const z=y;await this[z(0x123)][z(0x113)]({'srcPath':z(0x129),'destPath':i+z(0x12f),'framework':z(0x10a),'context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+'/routes',l=k[y(0x132)]('/'),m=this[y(0x123)][y(0x11d)]({'pathParts':l});await this[y(0x123)][y(0x12e)]({'filePath':m+'.'+j,'importName':y(0x120),'modulePath':f?y(0x111):y(0x11b),'isNamedExport':!![]}),await this[y(0x123)][y(0x12e)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x123)][y(0x112)]({'filePath':m+'.'+j,'content':y(0x11e),'begin':['const\x20Routes',y(0x12a)],'replace':!![]});const n=y(0x108),o=n['split']('/'),p=this[y(0x123)][y(0x11d)]({'pathParts':o});await this[y(0x123)][y(0x12e)]({'filePath':p+'.'+j,'importName':y(0x130),'modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x123)][y(0x109)]({'filePath':p+'.'+j,'aboveContent':y(0x133),'belowContent':'</AuthProvider>','targetString':y(0x115),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x12d),r=q[y(0x132)]('/'),s=this['fsi'][y(0x11d)]({'pathParts':r});await this[y(0x123)][y(0x12e)]({'filePath':s+'.'+j,'importName':y(0x130),'modulePath':f?y(0x111):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x123)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':y(0x133),'belowContent':y(0x106),'targetString':'<Routes\x20history={history}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process['exit'](0x1);}},async function(){},a117e);
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x80))/0x1+parseInt(f(0x85))/0x2+parseInt(f(0x7b))/0x3*(-parseInt(f(0x81))/0x4)+parseInt(f(0x7e))/0x5*(parseInt(f(0x7d))/0x6)+parseInt(f(0x84))/0x7+-parseInt(f(0x7c))/0x8+parseInt(f(0x83))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x21c6f));function a118c(){var i=['(((.+)+)+)+$','2344311tUieUl','729897ZAbBCf','367826oHoiIt','search','constructor','toString','3rybnNO','636272ihAIgM','244356hJYvot','10JXxIor','apply','153059jSjoeN','1036684LxYPMp'];a118c=function(){return i;};return a118c();}function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x78;var f=c[d];return f;},a118d(a,b);}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x7a)]()['search']('(((.+)+)+)+$')[h(0x7a)]()[h(0x79)](a118a)[h(0x78)](h(0x82));});a118a();import'./esri.generator.js';import'./map.esri.gen.js';
1
+ function a118c(){var i=['(((.+)+)+)+$','apply','523301wYrhOb','177488AArLUD','search','toString','968442fBkOZr','11602052xBhPIq','2989115jidmNY','constructor','48600SOKUWS','821582sXrgbo'];a118c=function(){return i;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x120))/0x1+-parseInt(f(0x129))/0x2+-parseInt(f(0x128))/0x3+parseInt(f(0x121))/0x4+-parseInt(f(0x126))/0x5+parseInt(f(0x124))/0x6+parseInt(f(0x125))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x4cedc));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x123)]()[h(0x122)](h(0x11e))[h(0x123)]()[h(0x127)](a118a)[h(0x122)](h(0x11e));});a118a();import'./esri.generator.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x11e;var f=c[d];return f;},a118d(a,b);}import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a119i=a119d;function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x185;let f=c[d];return f;},a119d(a,b);}(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x191))/0x1+parseInt(f(0x197))/0x2*(-parseInt(f(0x188))/0x3)+parseInt(f(0x18c))/0x4+-parseInt(f(0x196))/0x5+parseInt(f(0x185))/0x6+parseInt(f(0x198))/0x7+-parseInt(f(0x192))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xb03a8));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x190)]()['search']('(((.+)+)+)+$')[h(0x190)]()[h(0x18a)](a119a)[h(0x18e)](h(0x187));});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';function a119c(){const k=['3170979rmXiBQ','apply','7899900KkKnDY','Esri\x20Kit\x20generated\x20successfully','(((.+)+)+)+$','12kfxVzA','\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','constructor','create','3374668PgnWQS','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','search','/foo/bar','toString','282106rZlbfz','5264024ghiqkb','/foo','esri','maka\x20g:kit:e','520265DdFVyN','705766kFYHQW'];a119c=function(){return k;};return a119c();}const EsriGen=Generator[a119i(0x18b)]({'name':a119i(0x194),'aliases':['e'],'usage':a119i(0x18d),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a119i(0x195)],'description':a119i(0x189)},async function(){const j=a119i;return{'success':!![],'message':j(0x186),'details':{'filesCreated':[j(0x18f)],'filesUpdated':[j(0x193)]}};},async function(){},a119e);export default EsriGen;
1
+ function a119c(){const k=['apply','toString','/foo/bar','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','maka\x20g:kit:e','3453012WGJujb','207396SbuCWr','search','2284430owyLdh','constructor','690DscNYC','3584izAQfH','7BiKblp','esri','Esri\x20Kit\x20generated\x20successfully','3514448cXUnny','create','\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','(((.+)+)+)+$','1480472zbenzE','564492WLkeXf'];a119c=function(){return k;};return a119c();}const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x161))/0x1+parseInt(f(0x158))/0x2*(parseInt(f(0x16c))/0x3)+-parseInt(f(0x160))/0x4+-parseInt(f(0x16a))/0x5+parseInt(f(0x167))/0x6+-parseInt(f(0x159))/0x7*(parseInt(f(0x15c))/0x8)+parseInt(f(0x168))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x4b698));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x162)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x163)]()[h(0x169)](h(0x15f))['toString']()[h(0x16b)](a119a)[h(0x169)](h(0x15f));});function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x158;let f=c[d];return f;},a119d(a,b);}a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const EsriGen=Generator[a119i(0x15d)]({'name':a119i(0x15a),'aliases':['e'],'usage':a119i(0x165),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a119i(0x166)],'description':a119i(0x15e)},async function(){const j=a119i;return{'success':!![],'message':j(0x15b),'details':{'filesCreated':[j(0x164)],'filesUpdated':['/foo']}};},async function(){},a119e);export default EsriGen;
@@ -1 +1 @@
1
- const a120r=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=parseInt(p(0xc1))/0x1*(parseInt(p(0xcb))/0x2)+-parseInt(p(0xbf))/0x3+parseInt(p(0xda))/0x4*(-parseInt(p(0xc0))/0x5)+-parseInt(p(0xd3))/0x6*(parseInt(p(0xcc))/0x7)+-parseInt(p(0xbe))/0x8*(parseInt(p(0xc7))/0x9)+-parseInt(p(0xc4))/0xa+parseInt(p(0xc9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xaf51e));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const q=a120d;return a120a[q(0xb6)]()[q(0xdb)](q(0xbb))[q(0xb6)]()[q(0xd5)](a120a)[q(0xdb)](q(0xbb));});function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xaf;let f=c[d];return f;},a120d(a,b);}a120a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120e from'./esri.generator.js';import a120f from'../../../generators/maka.gen.js';function a120c(){const u=['<div\x20id=\x22map\x22>','</div>','8WTsaDf','438822QunCfl','556730ZXGNyy','1PyLSAI','Generate\x20an\x20Esri\x20map\x20component','REACT','6285820bRtHZK','Generating\x20a\x20map\x20component','create','10889082VZCJAo','baseDir','38859744lJNtGD','withValue','2012008NcVXao','686BMXPLI','/imports/startup/lib/templates','esri-loader','error','appName','FALSE','getMakaProjectConfig','71496cehpQt','/imports/ui/hooks','constructor','ssr','fsi','/imports/ui/','split','24GFslkY','search','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','/imports/startup/client/templates','basic-map','bright','engines','injectImport','exit','replaceAll','dir','checkNpmPackage','@esri/react-arcgis','pathFromApp','.js','toString','kit/esri/map/','map','page','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','(((.+)+)+)+$'];a120c=function(){return u;};return a120c();}import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120r(0xc6)]({'name':a120r(0xb8),'aliases':['m'],'usage':a120r(0xdc),'shortDesc':a120r(0xc2),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120r(0xc3)],'ssr':SsrEngines[a120r(0xd1)]},'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 s=a120r;try{Log[s(0xdf)](s(0xc5));const c=s(0xde);await this['fsi'][s(0xb2)]([s(0xb3),s(0xce)],{'shouldInstall':!![]});const d=this[s(0xd7)]['findProjectDirectory'](),f=this[s(0xd7)][s(0xd2)](),g=f[s(0xe0)][s(0xd6)]==='true',h=await a120f['processAndRunGenerator'](s(0xb9),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0xd0)])[s(0xb0)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?s(0xd8)+b[s(0xc8)]:s(0xd4),k=this[s(0xd7)][s(0xb4)]({'pathParts':[j,b[s(0xb1)],paramCase(c),paramCase(c)]});await this[s(0xd7)][s(0xca)](f,async()=>{const t=s;await this[t(0xd7)]['template']({'srcPath':t(0xb7)+c+'.js','destPath':k+t(0xb5),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[s(0xb1)]+'/'+c+'/'+c;await this[s(0xd7)]['injectTemplateModule'](c,f,l);const m=h[s(0xd9)]('/'),n=this[s(0xd7)][s(0xb4)]({'pathParts':m});await this[s(0xd7)][s(0xe1)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0xcd):s(0xdd),'isNamedExport':!![]}),await this[s(0xd7)]['injectIntoFile']({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0xba),'begin':[s(0xbc),s(0xbc)],'end':[s(0xbd)],'replace':!![]});}catch(o){Log[s(0xcf)](o),process[s(0xaf)](0x1);}},async function(){},a120e);
1
+ function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xae;let f=c[d];return f;},a120d(a,b);}function a120c(){const v=['appName','true','63DSqgPB','dir','/imports/ui/','fsi','4xeThdl','(((.+)+)+)+$','getMakaProjectConfig','toString','261110QAbQIN','ssr','template','findProjectDirectory','\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','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','map','checkNpmPackage','2uozdcX','apply','create','18bCNAVG','/imports/startup/client/templates','injectTemplateModule','baseDir','158084BkoIBr','176166XaLzga','REACT','<div\x20id=\x22map\x22>','injectIntoFile','processAndRunGenerator','Generating\x20a\x20map\x20component','2764113VIhlSt','search','440784xQZlFL','31488457xUqrHp','</div>','FALSE','injectImport','/imports/ui/hooks','replaceAll','engines','pathFromApp','3629690TPEuIg'];a120c=function(){return v;};return a120c();}const a120s=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=-parseInt(p(0xcf))/0x1*(parseInt(p(0xd6))/0x2)+-parseInt(p(0xb1))/0x3+-parseInt(p(0xc3))/0x4*(parseInt(p(0xc7))/0x5)+-parseInt(p(0xd7))/0x6+-parseInt(p(0xbf))/0x7*(parseInt(p(0xb3))/0x8)+parseInt(p(0xd2))/0x9*(-parseInt(p(0xbc))/0xa)+parseInt(p(0xb4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x751f1));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a[r(0xc6)]()['search'](r(0xc4))[r(0xc6)]()['constructor'](a120a)[r(0xb2)](r(0xc4));});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(0xd1)]({'name':a120s(0xcd),'aliases':['m'],'usage':a120s(0xcc),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120s(0xd8)],'ssr':SsrEngines[a120s(0xb6)]},'description':a120s(0xcb)},async function(a,b){const t=a120s;try{Log['bright'](t(0xb0));const c='basic-map';await this[t(0xc2)][t(0xce)](['@esri/react-arcgis','esri-loader'],{'shouldInstall':!![]});const d=this[t(0xc2)][t(0xca)](),f=this[t(0xc2)][t(0xc5)](),g=f[t(0xba)][t(0xc8)]===t(0xbe),h=await a120f[t(0xaf)]('page',['map'],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0xbd)])[t(0xb9)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0xd5)]?t(0xc1)+b['baseDir']:t(0xb8),k=this['fsi'][t(0xbb)]({'pathParts':[j,b[t(0xc0)],paramCase(c),paramCase(c)]});await this[t(0xc2)]['withValue'](f,async()=>{const u=t;await this['fsi'][u(0xc9)]({'srcPath':'kit/esri/map/'+c+'.js','destPath':k+'.js','framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0xc0)]+'/'+c+'/'+c;await this['fsi'][t(0xd4)](c,f,l);const m=h['split']('/'),n=this['fsi'][t(0xbb)]({'pathParts':m});await this[t(0xc2)][t(0xb7)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0xd3),'isNamedExport':!![]}),await this[t(0xc2)][t(0xae)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0xd9),'<div\x20id=\x22map\x22>'],'end':[t(0xb5)],'replace':!![]});}catch(o){Log['error'](o),process['exit'](0x1);}},async function(){},a120e);
@@ -1 +1 @@
1
- const a121h=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=parseInt(f(0x155))/0x1*(parseInt(f(0x15a))/0x2)+parseInt(f(0x15f))/0x3*(-parseInt(f(0x161))/0x4)+parseInt(f(0x166))/0x5+parseInt(f(0x168))/0x6+-parseInt(f(0x164))/0x7*(parseInt(f(0x162))/0x8)+parseInt(f(0x167))/0x9*(parseInt(f(0x15b))/0xa)+-parseInt(f(0x157))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xade51));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const g=a121d;return a121a['toString']()['search'](g(0x15c))[g(0x156)]()[g(0x15d)](a121a)[g(0x158)](g(0x15c));});a121a();import{Generator}from'../../generator.js';const KitGen=Generator[a121h(0x163)]({'name':a121h(0x159),'aliases':['k'],'usage':a121h(0x154),'shortDesc':a121h(0x160),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121h(0x15e),a121h(0x165)]},async function(){});function a121c(){const i=['3501jRozaq','8393610YuXcda','maka\x20{generate,\x20g}:{kit}\x20<name>','1528LQSMmK','toString','13922425BTTFiX','search','kit','374FKXoTf','32990imdWlk','(((.+)+)+)+$','constructor','maka\x20g:kit','21UrWrww','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','774808oagwHY','6038976yFTOcY','create','7bSNEwc','maka\x20g:k','5603760IxvcRF'];a121c=function(){return i;};return a121c();}function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x154;let f=c[d];return f;},a121d(a,b);}export default KitGen;
1
+ const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=-parseInt(f(0x1b3))/0x1*(-parseInt(f(0x1b5))/0x2)+parseInt(f(0x1ba))/0x3+parseInt(f(0x1ad))/0x4+parseInt(f(0x1ae))/0x5+parseInt(f(0x1bb))/0x6+parseInt(f(0x1b8))/0x7+-parseInt(f(0x1b4))/0x8*(parseInt(f(0x1aa))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xca211));function a121c(){const j=['975654CfCxgw','5781522oJrhoK','1950282PUVKyY','(((.+)+)+)+$','constructor','3962468ckvhsl','3224010ahZCVM','maka\x20g:kit','apply','toString','create','11tlAFfT','136cMIxAx','160642Ldyafn','maka\x20{generate,\x20g}:{kit}\x20<name>','search','4928224VLVDEs','kit'];a121c=function(){return j;};return a121c();}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0x1b1)]()[h(0x1b7)](h(0x1ab))['toString']()[h(0x1ac)](a121a)[h(0x1b7)](h(0x1ab));});a121a();import{Generator}from'../../generator.js';const KitGen=Generator[a121i(0x1b2)]({'name':a121i(0x1b9),'aliases':['k'],'usage':a121i(0x1b6),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0x1af),'maka\x20g:k']},async function(){});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1aa;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(0xfc))/0x1*(parseInt(f(0x101))/0x2)+-parseInt(f(0x103))/0x3+parseInt(f(0xfa))/0x4*(-parseInt(f(0xff))/0x5)+parseInt(f(0xfb))/0x6+parseInt(f(0x105))/0x7*(-parseInt(f(0xf9))/0x8)+parseInt(f(0xfe))/0x9+parseInt(f(0xfd))/0xa*(parseInt(f(0x102))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x2d123));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['toString']()[g(0x104)]('(((.+)+)+)+$')[g(0x100)]()['constructor'](a122a)[g(0x104)]('(((.+)+)+)+$');});a122a();import'./mui.generator.js';function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0xf9;var f=c[d];return f;},a122d(a,b);}import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a122c(){var h=['1851165pfAjrq','120oiiamO','toString','8YaOwtI','363088YdVgvF','810837BzZbZN','search','2144646AgKFdo','8kbklfj','51124IWQOhZ','475554DlsZtT','71987tJiMQP','150maEtgZ'];a122c=function(){return h;};return a122c();}
1
+ function a122c(){var i=['6iXhQmK','304016rTCOml','12180zgRclB','6VuWDkU','30968kalMfY','197041Zfwkif','toString','276886qxNJlp','apply','constructor','search','106232gbyqZp','1097172VzPsbn'];a122c=function(){return i;};return a122c();}(function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x148))/0x1+-parseInt(f(0x14a))/0x2+parseInt(f(0x150))/0x3*(parseInt(f(0x14e))/0x4)+parseInt(f(0x152))/0x5+-parseInt(f(0x146))/0x6*(parseInt(f(0x147))/0x7)+-parseInt(f(0x151))/0x8+parseInt(f(0x14f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x2f460));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a['toString']()[h(0x14d)]('(((.+)+)+)+$')[h(0x149)]()[h(0x14c)](a122a)[h(0x14d)]('(((.+)+)+)+$');});function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x146;var f=c[d];return f;},a122d(a,b);}a122a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=-parseInt(G(0x20b))/0x1*(parseInt(G(0x210))/0x2)+-parseInt(G(0x1eb))/0x3*(-parseInt(G(0x1e6))/0x4)+-parseInt(G(0x208))/0x5+parseInt(G(0x1e7))/0x6+-parseInt(G(0x1f1))/0x7*(parseInt(G(0x1f5))/0x8)+-parseInt(G(0x21c))/0x9+parseInt(G(0x1e5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x73768));function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1df;let f=c[d];return f;},a123d(a,b);}const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0x207)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a[I(0x211)]()['search'](I(0x1e3))[I(0x211)]()[I(0x201)](a123a)[I(0x1f6)](I(0x1e3));});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(0x20a)]({'name':a123J(0x220),'aliases':['a'],'usage':a123J(0x217),'shortDesc':a123J(0x1f0),'validOpts':[a123J(0x215),a123J(0x1f4)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123J(0x20c)],'client':ClientEngines[a123J(0x1e1)]},'examples':[a123J(0x21f),a123J(0x20f)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const K=a123J;try{const c=b['force']||![],d=this[K(0x20e)][K(0x204)](),f=this[K(0x20e)]['getMakaProjectConfig'](),{authType:g}=await Actions['options']({'type':'list','name':K(0x1ff),'message':K(0x1f8),'choices':[{'name':K(0x206),'value':K(0x219)},{'name':K(0x21d),'value':K(0x1fc)}]}),h=K(0x1f2),i=K(0x21a),j=K(0x1e9),k='basic-password-reset-page',l='basic-forgot-password-page',m=b[K(0x203)]?'/imports/ui/'+b['baseDir']:K(0x1ec),n=this[K(0x20e)][K(0x1f3)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0x20e)][K(0x1f3)]({'pathParts':[m,b[K(0x202)],paramCase(i),paramCase(i)]}),p=this[K(0x20e)][K(0x1f3)]({'pathParts':[m,b[K(0x202)],paramCase(j),paramCase(j)]}),q=this['fsi'][K(0x1f3)]({'pathParts':[m,b[K(0x202)],paramCase(k),paramCase(k)]}),r=this[K(0x20e)][K(0x1f3)]({'pathParts':[m,b[K(0x202)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1df)])['replaceAll']('-','\x20')};await this[K(0x20e)][K(0x218)](f,async()=>{const L=K;await this[L(0x20e)][L(0x216)]({'srcPath':L(0x200)+h+L(0x1e4),'destPath':n+L(0x1e4),'framework':L(0x21b),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x216)]({'srcPath':'kit/mui/auth/logout/'+i+L(0x1e4),'destPath':o+L(0x1e4),'framework':L(0x21b),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x20e)][L(0x216)]({'srcPath':L(0x1f7)+j+L(0x1e4),'destPath':p+L(0x1e4),'framework':L(0x21b),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x20e)][L(0x216)]({'srcPath':L(0x1ed)+k+L(0x1e4),'destPath':q+L(0x1e4),'framework':L(0x21b),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x20e)][L(0x216)]({'srcPath':'kit/mui/auth/forgot-password/'+l+'.js','destPath':r+'.js','framework':L(0x21b),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b['dir']+'/'+h+'/'+h;await this[K(0x20e)]['injectTemplateModule'](h,f,t);const u=''+m+b[K(0x202)]+'/'+i+'/'+i;await this[K(0x20e)][K(0x1fb)](i,f,u);const v=''+m+b[K(0x202)]+'/'+j+'/'+j;await this[K(0x20e)][K(0x1fb)](j,f,v);const w=''+m+b['dir']+'/'+k+'/'+k;await this[K(0x20e)][K(0x1fb)](k,f,w);const x=''+m+b[K(0x202)]+'/'+l+'/'+l;await this['fsi'][K(0x1fb)](l,f,x),await a123e['processAndRunGenerator']('route',[K(0x1f2)],{'url':'login','cwd':d,'config':f}),await a123e[K(0x1fe)](K(0x1ea),['basic-logout-page'],{'url':'logout','private':!![],'cwd':d,'config':f}),await a123e[K(0x1fe)]('route',[K(0x1e9)],{'url':K(0x20d),'cwd':d,'config':f}),await a123e[K(0x1fe)]('route',[K(0x1fd)],{'url':K(0x209),'cwd':d,'config':f}),await a123e[K(0x1fe)](K(0x1ea),[K(0x213)],{'url':K(0x212),'cwd':d,'config':f});g===K(0x219)&&await a123e['processAndRunGenerator']('kit:auth:meteor',[],{'force':c,'cwd':d,'config':f});g===K(0x1fc)&&await a123e[K(0x1fe)](K(0x1f9),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x21e)][K(0x205)]==='true',z=f[K(0x21e)]['js'],A=this[K(0x20e)][K(0x1f3)]({'pathParts':t['split']('/')});await this[K(0x20e)][K(0x1e0)]({'filePath':A+'.'+z,'importName':K(0x1ef),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x221),'isNamedExport':!![]});const B=this[K(0x20e)]['pathFromApp']({'pathParts':u[K(0x1fa)]('/')});await this[K(0x20e)]['injectImport']({'filePath':B+'.'+z,'importName':K(0x1ef),'modulePath':y?K(0x1ee):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0x20e)][K(0x1f3)]({'pathParts':v[K(0x1fa)]('/')});await this[K(0x20e)][K(0x1e0)]({'filePath':C+'.'+z,'importName':K(0x1ef),'modulePath':y?K(0x1ee):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this['fsi'][K(0x1f3)]({'pathParts':w[K(0x1fa)]('/')});await this[K(0x20e)][K(0x1e0)]({'filePath':D+'.'+z,'importName':K(0x1ef),'modulePath':y?K(0x1ee):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[K(0x20e)][K(0x1f3)]({'pathParts':x[K(0x1fa)]('/')});await this[K(0x20e)][K(0x1e0)]({'filePath':E+'.'+z,'importName':K(0x1ef),'modulePath':y?K(0x1ee):K(0x221),'isNamedExport':!![]});}catch(F){Log[K(0x214)](F);}},async function(){const M=a123J;console[M(0x1e2)](M(0x1e8));},a123f);function a123c(){const N=['injectImport','REACT','log','(((.+)+)+)+$','.js','18622800lquyDD','5080KlvbrT','5377740qRqchR','Cleaning\x20up...','basic-register-page','route','1209aTBHYI','/imports/ui/pages/auth','kit/mui/auth/password-reset/','/imports/startup/lib/authentication-provider','AuthContext','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','931aUvTZa','basic-login-page','pathFromApp','force','53672lyvSWa','search','kit/mui/auth/register/','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','kit:auth:provider','split','injectTemplateModule','custom','basic-password-reset-page','processAndRunGenerator','authType','kit/mui/auth/login/','constructor','dir','baseDir','findProjectDirectory','ssr','Meteor\x20Accounts','apply','476340zsOlLi','reset-password/:token','create','921977CSXBPm','MATERIAL','register','fsi','maka\x20g:k:m:f','2LHHXLi','toString','forgot-password','basic-forgot-password-page','error','layouts','template','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','withValue','meteor','basic-logout-page','react','7991118IKVOJX','Custom\x20(roll\x20your\x20own)','engines','maka\x20generate:kit:mui:frame','auth','/imports/startup/client/authentication-provider','appName'];a123c=function(){return N;};return a123c();}
1
+ const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=-parseInt(G(0x1c0))/0x1+parseInt(G(0x1f7))/0x2+parseInt(G(0x1cf))/0x3*(-parseInt(G(0x1d1))/0x4)+-parseInt(G(0x1f5))/0x5*(-parseInt(G(0x1cd))/0x6)+-parseInt(G(0x1ec))/0x7+parseInt(G(0x1f4))/0x8+-parseInt(G(0x1ee))/0x9*(parseInt(G(0x1fa))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xabae0));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a[I(0x1fe)]()['search']('(((.+)+)+)+$')[I(0x1fe)]()['constructor'](a123a)[I(0x1de)](I(0x1db));});function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1bb;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(0x1e9)]({'name':a123J(0x1bd),'aliases':['a'],'usage':a123J(0x1d8),'shortDesc':a123J(0x1d4),'validOpts':[a123J(0x1ca),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123J(0x1cc)],'client':ClientEngines[a123J(0x1f6)]},'examples':['maka\x20generate:kit:mui:frame',a123J(0x1fd)],'description':a123J(0x1f2)},async function(a,b){const K=a123J;try{const c=b[K(0x1e1)]||![],d=this[K(0x1c6)][K(0x1e3)](),f=this[K(0x1c6)]['getMakaProjectConfig'](),{authType:g}=await Actions[K(0x1ce)]({'type':K(0x1e6),'name':K(0x1f9),'message':K(0x1fc),'choices':[{'name':K(0x1fb),'value':'meteor'},{'name':K(0x1c9),'value':K(0x1d3)}]}),h=K(0x1ed),i=K(0x1be),j=K(0x1c8),k='basic-password-reset-page',l=K(0x1f1),m=b[K(0x1bc)]?K(0x1ef)+b['baseDir']:K(0x1bf),n=this[K(0x1c6)]['pathFromApp']({'pathParts':[m,b[K(0x1e0)],paramCase(h),paramCase(h)]}),o=this[K(0x1c6)]['pathFromApp']({'pathParts':[m,b[K(0x1e0)],paramCase(i),paramCase(i)]}),p=this[K(0x1c6)][K(0x1d6)]({'pathParts':[m,b[K(0x1e0)],paramCase(j),paramCase(j)]}),q=this[K(0x1c6)][K(0x1d6)]({'pathParts':[m,b[K(0x1e0)],paramCase(k),paramCase(k)]}),r=this['fsi']['pathFromApp']({'pathParts':[m,b[K(0x1e0)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1c4)])['replaceAll']('-','\x20')};await this[K(0x1c6)]['withValue'](f,async()=>{const L=K;await this['fsi'][L(0x1e4)]({'srcPath':L(0x1c5)+h+L(0x1d5),'destPath':n+'.js','framework':L(0x1f8),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':L(0x1d7)+i+L(0x1d5),'destPath':o+L(0x1d5),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1c6)]['template']({'srcPath':L(0x1e2)+j+'.js','destPath':p+L(0x1d5),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1c6)][L(0x1e4)]({'srcPath':L(0x1eb)+k+L(0x1d5),'destPath':q+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1c6)]['template']({'srcPath':L(0x1dd)+l+L(0x1d5),'destPath':r+L(0x1d5),'framework':L(0x1f8),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x1e0)]+'/'+h+'/'+h;await this[K(0x1c6)][K(0x1c7)](h,f,t);const u=''+m+b[K(0x1e0)]+'/'+i+'/'+i;await this[K(0x1c6)][K(0x1c7)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[K(0x1c6)][K(0x1c7)](j,f,v);const w=''+m+b[K(0x1e0)]+'/'+k+'/'+k;await this[K(0x1c6)][K(0x1c7)](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[K(0x1c6)]['injectTemplateModule'](l,f,x),await a123e[K(0x1bb)](K(0x1cb),[K(0x1ed)],{'url':K(0x1da),'cwd':d,'config':f}),await a123e[K(0x1bb)](K(0x1cb),['basic-logout-page'],{'url':K(0x1ff),'private':!![],'cwd':d,'config':f}),await a123e[K(0x1bb)](K(0x1cb),[K(0x1c8)],{'url':'register','cwd':d,'config':f}),await a123e[K(0x1bb)](K(0x1cb),[K(0x1c2)],{'url':K(0x1df),'cwd':d,'config':f}),await a123e[K(0x1bb)](K(0x1cb),['basic-forgot-password-page'],{'url':'forgot-password','cwd':d,'config':f});g===K(0x1c3)&&await a123e[K(0x1bb)]('kit:auth:meteor',[],{'force':c,'cwd':d,'config':f});g===K(0x1d3)&&await a123e['processAndRunGenerator']('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f[K(0x1f0)][K(0x1e5)]===K(0x1f3),z=f[K(0x1f0)]['js'],A=this[K(0x1c6)][K(0x1d6)]({'pathParts':t[K(0x1d0)]('/')});await this[K(0x1c6)][K(0x1c1)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[K(0x1c6)][K(0x1d6)]({'pathParts':u[K(0x1d0)]('/')});await this['fsi']['injectImport']({'filePath':B+'.'+z,'importName':K(0x1ea),'modulePath':y?K(0x1dc):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0x1c6)][K(0x1d6)]({'pathParts':v['split']('/')});await this['fsi'][K(0x1c1)]({'filePath':C+'.'+z,'importName':K(0x1ea),'modulePath':y?K(0x1dc):K(0x1d2),'isNamedExport':!![]});const D=this['fsi'][K(0x1d6)]({'pathParts':w['split']('/')});await this['fsi'][K(0x1c1)]({'filePath':D+'.'+z,'importName':K(0x1ea),'modulePath':y?K(0x1dc):K(0x1d2),'isNamedExport':!![]});const E=this['fsi'][K(0x1d6)]({'pathParts':x[K(0x1d0)]('/')});await this[K(0x1c6)][K(0x1c1)]({'filePath':E+'.'+z,'importName':K(0x1ea),'modulePath':y?K(0x1dc):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log[K(0x1e7)](F);}},async function(){const M=a123J;console[M(0x1e8)]('Cleaning\x20up...');},a123f);function a123c(){const N=['maka\x20g:k:m:f','toString','logout','processAndRunGenerator','baseDir','auth','basic-logout-page','/imports/ui/pages/auth','249591qrNYxK','injectImport','basic-password-reset-page','meteor','appName','kit/mui/auth/login/','fsi','injectTemplateModule','basic-register-page','Custom\x20(roll\x20your\x20own)','layouts','route','MATERIAL','48378RJpQYm','options','3ssiLzg','split','640236hRlruJ','/imports/startup/client/authentication-provider','custom','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','.js','pathFromApp','kit/mui/auth/logout/','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','apply','login','(((.+)+)+)+$','/imports/startup/lib/authentication-provider','kit/mui/auth/forgot-password/','search','reset-password/:token','dir','force','kit/mui/auth/register/','findProjectDirectory','template','ssr','list','error','log','create','AuthContext','kit/mui/auth/password-reset/','2755270XKNFMV','basic-login-page','1710ZbPdBy','/imports/ui/','engines','basic-forgot-password-page','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','true','7560768SuzpGU','85MxiAdk','REACT','1554626lclJbV','react','authType','18580TPSTUO','Meteor\x20Accounts','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?'];a123c=function(){return N;};return a123c();}
@@ -1 +1 @@
1
- const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=-parseInt(B(0x111))/0x1+parseInt(B(0xf1))/0x2*(parseInt(B(0x105))/0x3)+parseInt(B(0xfb))/0x4*(parseInt(B(0xfa))/0x5)+parseInt(B(0xf9))/0x6+parseInt(B(0xf4))/0x7+parseInt(B(0xe4))/0x8*(parseInt(B(0xf2))/0x9)+-parseInt(B(0x10f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x71876));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a[D(0xe0)]()[D(0x11d)](D(0xec))[D(0xe0)]()['constructor'](a124a)[D(0x11d)](D(0xec));});a124a();function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xd5;let f=c[d];return f;},a124d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a124e from'path';import a124f from'./mui.generator.js';function a124c(){const I=['length','getMakaProjectConfig','imports','{\x20props.children\x20}','@mui/material/Box','<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>','<div\x20id=\x22','maka\x20generate:kit:mui:frame','tsx','352017fQSuYc','baseDir','findAppDirectory','join','/imports/startup/client/templates','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','basic-drawer','checkMeteorPackage','jsx','template','10198710hZPkwB','frame','745901RCUoPD','getDirectories','layouts','kit/mui/frame/footers/','session','{this.props.children}','Container','fsi','injectAroundString','injectImport','test','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','search','replaceAll','getFiles','Cleaning\x20up...','{\x20this.props.children\x20}','error','injectTemplateModule','react','apply','ssr','basic-app-bar','@mui/material/Container','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','injectIntoFile','dir','toString','appName','</div>','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','24gaDheM','options','/imports/startup/lib/templates','withValue','tests','engines','.js','No\x20layouts\x20selected','(((.+)+)+)+$','kit/mui/frame/drawers/','kit/mui/frame/app-bars/','app-tests','\x20/>\x0a','14HECAjY','2508606oPFigz','-hook\x22>','3440927edetYB','maka:react-tracker','{props.children}','force','MATERIAL','118962MWnSuU','1465yKPrmD','844LoDWKN'];a124c=function(){return I;};return a124c();}import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a124E(0x110),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a124E(0xdd),'validOpts':[a124E(0x113),a124E(0x106),a124E(0xdf),a124E(0xf7)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0xf8)],'client':ClientEngines['REACT']},'examples':[a124E(0x103),'maka\x20g:k:m:f'],'description':a124E(0xe3)},async function(a,b){const F=a124E;try{const c=b[F(0xf7)]||![],d=F(0xdb),f=F(0x10b),g='basic-sticky-footer',h=this[F(0x118)][F(0xfd)](),i=h[F(0xe9)][F(0xda)]==='true';await this['fsi'][F(0x10c)]([F(0x115),F(0xf5)],{'shouldInstall':!![]});const j=this[F(0x118)][F(0x107)](),k=a124e['join'](j,F(0xfe),'ui','layouts'),l=this[F(0x118)][F(0x112)](k),m=await Actions[F(0xe5)]({'type':'checkbox','name':F(0x113),'message':F(0x10a),'choices':l});if(m[F(0x113)][F(0xfc)]===0x0){Log[F(0xd6)](F(0xeb));return;}const n=b[F(0x106)]?'/imports/ui/'+b['baseDir']:'/imports/ui/components',o=this[F(0x118)]['pathFromApp']({'pathParts':[n,b[F(0xdf)],paramCase(d),paramCase(d)]}),p=this['fsi']['pathFromApp']({'pathParts':[n,b[F(0xdf)],paramCase(f),paramCase(f)]}),q=this[F(0x118)]['pathFromApp']({'pathParts':[n,b[F(0xdf)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0xe1)])[F(0x11e)]('-','\x20')};await this[F(0x118)][F(0xe7)](h,async()=>{const G=F;await this[G(0x118)][G(0x10e)]({'srcPath':G(0xee)+d+G(0xea),'destPath':o+G(0xea),'framework':G(0xd8),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x118)][G(0x10e)]({'srcPath':G(0xed)+f+G(0xea),'destPath':p+G(0xea),'framework':G(0xd8),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x118)][G(0x10e)]({'srcPath':G(0x114)+g+'.js','destPath':q+G(0xea),'framework':G(0xd8),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0xdf)]+'/'+d+'/'+d;await this[F(0x118)][F(0xd7)](d,h,s);const t=''+n+b[F(0xdf)]+'/'+f+'/'+f;await this[F(0x118)][F(0xd7)](f,h,t);const u=''+n+b[F(0xdf)]+'/'+g+'/'+g;await this[F(0x118)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x118)][F(0x11f)](a124e[F(0x108)](k,w),{'extensions':[F(0x10d),F(0x104)],'omit':[F(0xef),F(0xe8),F(0x11b)]});for(const y of x){const z=a124e['join'](k,w,y);await this['fsi'][F(0x11a)]({'filePath':z,'importName':'Box','modulePath':F(0x100),'isNamedExport':![]}),await this[F(0x118)][F(0x11a)]({'filePath':z,'importName':F(0x117),'modulePath':F(0xdc),'isNamedExport':![]}),await this[F(0x118)][F(0x11a)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0xe6):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x118)][F(0xde)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x102)+w+'\x22>','<div\x20id=\x22'+w+F(0xf3)],'end':[F(0x116),F(0xd5),'{props.children}','{\x20props.children\x20}']}),await this[F(0x118)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0xe6):F(0x109),'isNamedExport':!![]}),await this['fsi'][F(0xde)]({'filePath':z,'content':'<'+pascalCase(f)+'\x20/>\x0a','begin':[F(0x102)+w+'\x22>',F(0x102)+w+F(0xf3)],'end':[F(0x116),F(0xd5),F(0xf6),F(0xff)]}),await this[F(0x118)][F(0xde)]({'filePath':z,'content':'<'+pascalCase(g)+F(0xf0),'begin':[F(0x116),F(0xd5),'{props.children}','{\x20props.children\x20}'],'end':[F(0xe2)]}),await this[F(0x118)]['injectImport']({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x118)][F(0x119)]({'filePath':z,'aboveContent':F(0x101),'belowContent':F(0x11c),'targetString':['{this.props.children}',F(0xd5),F(0xf6),F(0xff)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0xd6)](A);}},async function(){const H=a124E;console['log'](H(0x120));},a124f);
1
+ const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=parseInt(B(0x21b))/0x1+parseInt(B(0x1ed))/0x2*(-parseInt(B(0x21c))/0x3)+-parseInt(B(0x1e0))/0x4*(-parseInt(B(0x1fb))/0x5)+-parseInt(B(0x1e6))/0x6+parseInt(B(0x1ee))/0x7*(parseInt(B(0x226))/0x8)+-parseInt(B(0x21f))/0x9*(parseInt(B(0x1f0))/0xa)+parseInt(B(0x1eb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xb670b));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a[D(0x1fe)]()['search'](D(0x20d))[D(0x1fe)]()[D(0x220)](a124a)[D(0x219)](D(0x20d));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1de;let f=c[d];return f;},a124d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a124e from'path';import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a124c(){const I=['length','7512525fDcTVF','constructor','Cleaning\x20up...','checkMeteorPackage','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','error','{\x20props.children\x20}','8wwjtJl','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','engines','/imports/startup/lib/templates','{\x20this.props.children\x20}','</div>','485124LVQucB','@mui/material/Box','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','appName','pathFromApp','Box','3000696wxOZDr','log','kit/mui/frame/drawers/','\x20/>\x0a','session','3125221ddOuBe','tsx','2876942RDzhEL','9926679CkXVGi','{this.props.children}','10yRuchD','react','REACT','tests','{props.children}','MATERIAL','basic-app-bar','findAppDirectory','dir','/imports/startup/client/templates','injectTemplateModule','50DlKNQW','@mui/material/Container','frame','toString','apply','test','injectAroundString','<div\x20id=\x22','injectImport','join','Container','basic-sticky-footer','ssr','/imports/ui/','true','replaceAll','maka:react-tracker','getMakaProjectConfig','(((.+)+)+)+$','withValue','imports','layouts','.js','baseDir','No\x20layouts\x20selected','app-tests','force','fsi','injectIntoFile','<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>','search','options','605569BBxlKe','3fCRrnH','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout'];a124c=function(){return I;};return a124c();}Generator['create']({'name':a124E(0x1fd),'aliases':['f'],'usage':a124E(0x227),'shortDesc':a124E(0x21d),'validOpts':[a124E(0x210),'baseDir',a124E(0x1f8),a124E(0x215)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0x1f5)],'client':ClientEngines[a124E(0x1f2)]},'examples':['maka\x20generate:kit:mui:frame','maka\x20g:k:m:f'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const F=a124E;try{const c=b[F(0x215)]||![],d=F(0x1f6),f='basic-drawer',g=F(0x206),h=this[F(0x216)][F(0x20c)](),i=h[F(0x228)][F(0x207)]===F(0x209);await this[F(0x216)][F(0x222)]([F(0x1ea),F(0x20b)],{'shouldInstall':!![]});const j=this[F(0x216)][F(0x1f7)](),k=a124e[F(0x204)](j,F(0x20f),'ui',F(0x210)),l=this[F(0x216)]['getDirectories'](k),m=await Actions[F(0x21a)]({'type':'checkbox','name':F(0x210),'message':F(0x223),'choices':l});if(m[F(0x210)][F(0x21e)]===0x0){Log['error'](F(0x213));return;}const n=b[F(0x212)]?F(0x208)+b[F(0x212)]:'/imports/ui/components',o=this[F(0x216)][F(0x1e4)]({'pathParts':[n,b[F(0x1f8)],paramCase(d),paramCase(d)]}),p=this[F(0x216)]['pathFromApp']({'pathParts':[n,b[F(0x1f8)],paramCase(f),paramCase(f)]}),q=this[F(0x216)][F(0x1e4)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1e3)])[F(0x20a)]('-','\x20')};await this[F(0x216)][F(0x20e)](h,async()=>{const G=F;await this[G(0x216)]['template']({'srcPath':'kit/mui/frame/app-bars/'+d+'.js','destPath':o+G(0x211),'framework':G(0x1f1),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x216)]['template']({'srcPath':G(0x1e8)+f+G(0x211),'destPath':p+'.js','framework':G(0x1f1),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':'kit/mui/frame/footers/'+g+G(0x211),'destPath':q+G(0x211),'framework':G(0x1f1),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this['fsi']['injectTemplateModule'](d,h,s);const t=''+n+b[F(0x1f8)]+'/'+f+'/'+f;await this[F(0x216)][F(0x1fa)](f,h,t);const u=''+n+b[F(0x1f8)]+'/'+g+'/'+g;await this['fsi'][F(0x1fa)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x216)]['getFiles'](a124e['join'](k,w),{'extensions':['jsx',F(0x1ec)],'omit':[F(0x214),F(0x1f3),F(0x200)]});for(const y of x){const z=a124e['join'](k,w,y);await this[F(0x216)][F(0x203)]({'filePath':z,'importName':F(0x1e5),'modulePath':F(0x1e1),'isNamedExport':![]}),await this[F(0x216)][F(0x203)]({'filePath':z,'importName':F(0x205),'modulePath':F(0x1fc),'isNamedExport':![]}),await this[F(0x216)]['injectImport']({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x229):F(0x1f9),'isNamedExport':!![]}),await this[F(0x216)][F(0x217)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':['<div\x20id=\x22'+w+'\x22>',F(0x202)+w+'-hook\x22>'],'end':['{this.props.children}','{\x20this.props.children\x20}',F(0x1f4),'{\x20props.children\x20}']}),await this['fsi'][F(0x203)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x229):F(0x1f9),'isNamedExport':!![]}),await this[F(0x216)][F(0x217)]({'filePath':z,'content':'<'+pascalCase(f)+'\x20/>\x0a','begin':['<div\x20id=\x22'+w+'\x22>',F(0x202)+w+'-hook\x22>'],'end':['{this.props.children}',F(0x1de),F(0x1f4),'{\x20props.children\x20}']}),await this[F(0x216)][F(0x217)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x1e9),'begin':['{this.props.children}',F(0x1de),F(0x1f4),F(0x225)],'end':[F(0x1df)]}),await this[F(0x216)][F(0x203)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x229):'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi'][F(0x201)]({'filePath':z,'aboveContent':F(0x218),'belowContent':F(0x1e2),'targetString':[F(0x1ef),'{\x20this.props.children\x20}','{props.children}',F(0x225)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x224)](A);}},async function(){const H=a124E;console[H(0x1e7)](H(0x221));},a124f);
@@ -1 +1 @@
1
- const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=-parseInt(g(0xab))/0x1*(-parseInt(g(0x9c))/0x2)+-parseInt(g(0x98))/0x3*(parseInt(g(0x91))/0x4)+-parseInt(g(0xa0))/0x5+-parseInt(g(0xad))/0x6*(-parseInt(g(0x9e))/0x7)+-parseInt(g(0xa2))/0x8+parseInt(g(0x8c))/0x9+parseInt(g(0xa6))/0xa*(parseInt(g(0xae))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x3f4bb));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0x9d)]()[i(0x96)]('(((.+)+)+)+$')['toString']()[i(0x8d)](a125a)[i(0x96)](i(0x99));});a125a();function a125c(){const l=['Auth\x20workflow\x20(login,\x20logout,\x20etc.)','notice','Header,\x20Footer,\x20and\x20Drawer','10250THnvii','findProjectDirectory','apply','kit:mui:frame','processAndRunGenerator','195611ppMnaM','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','6wooUTB','649qusRLn','create','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','checkbox','2353617Zpdfqp','constructor','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','includes','auth','920hhvYQp','info','getMakaProjectConfig','Material-UI\x20Kit','fsi','search','frame','534VywbSF','(((.+)+)+)+$','mui','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','2EfCZjo','toString','1932539SoMbUd','length','203390fVBppI','kitChoices','3622392jAlBpH'];a125c=function(){return l;};return a125c();}import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x89;let f=c[d];return f;},a125d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator[a125j(0x89)]({'name':a125j(0x9a),'aliases':['m'],'usage':a125j(0xac),'noNeedResource':!![],'shortDesc':a125j(0x94),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a125j;Log[k(0x92)](k(0x8a)),Log[k(0xa4)](k(0x8e));const {kitChoices:a}=await Actions['options']({'type':k(0x8b),'name':k(0xa1),'message':k(0x9b),'choices':[{'name':k(0xa5),'value':k(0x97)},{'name':k(0xa3),'value':k(0x90)}]}),b=this[k(0x95)][k(0xa7)](),c=this[k(0x95)][k(0x93)]();a[k(0x8f)](k(0x97))&&await a125e['processAndRunGenerator'](k(0xa9),[],{'force':!![],'cwd':b,'config':c});a['includes']('auth')&&await a125e[k(0xaa)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0x9f)]===0x0){Log['info']('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}},async function(){},a125f);export default MuiGen;
1
+ const a125j=a125d;function a125c(){const l=['Header,\x20Footer,\x20and\x20Drawer','4164kHKTHx','66Fdrxtb','checkbox','15301AqBsOF','auth','kit:mui:auth','4196ehcrGh','115hjXWXB','No\x20MUI\x20kits\x20selected.\x20Exiting.','frame','getMakaProjectConfig','notice','1077rUuxCt','Material-UI\x20Kit','29255057qkPtNM','findProjectDirectory','info','search','constructor','13370CpdekZ','fsi','includes','apply','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','create','1362195BPEUFx','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','3768HHgCMB','243120rFyKte','10whLhMO','kitChoices','3669GzpCSH','(((.+)+)+)+$','processAndRunGenerator','maka\x20g:kit:m','mui','options','kit:mui:frame','length','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?'];a125c=function(){return l;};return a125c();}(function(a,b){const g=a125d,c=a();while(!![]){try{const d=parseInt(g(0x171))/0x1*(parseInt(g(0x17c))/0x2)+-parseInt(g(0x187))/0x3*(parseInt(g(0x181))/0x4)+-parseInt(g(0x182))/0x5*(parseInt(g(0x16e))/0x6)+parseInt(g(0x18e))/0x7*(-parseInt(g(0x16d))/0x8)+parseInt(g(0x16b))/0x9*(-parseInt(g(0x16f))/0xa)+parseInt(g(0x17e))/0xb*(parseInt(g(0x17b))/0xc)+parseInt(g(0x189))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x78c23));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a['toString']()['search'](i(0x172))['toString']()[i(0x18d)](a125a)[i(0x18c)]('(((.+)+)+)+$');});a125a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator[a125j(0x16a)]({'name':a125j(0x175),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a125j(0x188),'validOpts':[''],'isPro':!![],'examples':[a125j(0x174)]},async function(){const k=a125j;Log['info'](k(0x169)),Log[k(0x186)]('\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(0x176)]({'type':k(0x17d),'name':k(0x170),'message':k(0x179),'choices':[{'name':k(0x17a),'value':'frame'},{'name':k(0x16c),'value':k(0x17f)}]}),b=this[k(0x18f)][k(0x18a)](),c=this[k(0x18f)][k(0x185)]();a[k(0x167)](k(0x184))&&await a125e[k(0x173)](k(0x177),[],{'force':!![],'cwd':b,'config':c});a[k(0x167)](k(0x17f))&&await a125e['processAndRunGenerator'](k(0x180),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x178)]===0x0){Log[k(0x18b)](k(0x183));return;}},async function(){},a125f);function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x167;let f=c[d];return f;},a125d(a,b);}export default MuiGen;
@@ -1 +1 @@
1
- function a126c(){const r=['includes','fsi','withTranslations','withHook','search','installNpmPackage','pathFromApp','getMakaProjectConfig','test','relative','className','assign','constructor','toString','string','16990vRhiOf','12700080KmpsTR','204ZWcDnz','setTemplate','warn','352619EkpnFe','findAppDirectory','3377DevlyJ','template','engines','react','8ZOxFYm','429978VOfrTr','6atVsLZ','dir','ramda','injectAtBeginningOfFile','(((.+)+)+)+$','maka\x20g:layout\x20mobile/iPhone8','.css','test/test.js','withHooks','5484QCjTnh','layout','.app-tests.js','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','pathFromProject','4498781GrQvFq','true','withValue','30gUlmUA','apply','hook/hook.js','maka\x20g:l\x20web/safari','checkNpmPackage','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','Scaffolding\x20for\x20a\x20React\x20Layout.','.js','fileName','injectTemplateModule','features','4139577cVYFEo','resourceName','graphql','template/template.css','css'];a126c=function(){return r;};return a126c();}const a126o=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(0x218))/0x1*(parseInt(l(0x21e))/0x2)+-parseInt(l(0x21f))/0x3+-parseInt(l(0x215))/0x4*(parseInt(l(0x213))/0x5)+-parseInt(l(0x220))/0x6*(parseInt(l(0x1f1))/0x7)+parseInt(l(0x214))/0x8+-parseInt(l(0x1ff))/0x9*(parseInt(l(0x1f4))/0xa)+parseInt(l(0x21a))/0xb*(parseInt(l(0x1ec))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xc318f));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0x1f5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a[n(0x211)]()[n(0x208)](n(0x224))[n(0x211)]()[n(0x210)](a126a)['search']('(((.+)+)+)+$');});a126a();import a126e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1ec;let f=c[d];return f;},a126d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a126o(0x1ed),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a126o(0x1fa),'validOpts':[a126o(0x207)],'examples':[a126o(0x225),a126o(0x1f7)]},async function(a,b){const p=a126o,c='/imports/ui/layouts',d=this[p(0x205)][p(0x219)](),e=this[p(0x205)][p(0x20a)]({'pathParts':[c,b[p(0x221)],paramCase(b[p(0x200)]),paramCase(b[p(0x200)])]}),f=this[p(0x205)][p(0x20b)]();await this[p(0x205)][p(0x1f3)](f,async()=>{const q=p;typeof f[q(0x21b)][q(0x20c)]===q(0x212)&&(f['template'][q(0x20c)]=f['template'][q(0x20c)]===q(0x1f2)?!![]:![],this[q(0x205)][q(0x216)](q(0x20c),f[q(0x21b)][q(0x20c)]));typeof f[q(0x21b)][q(0x203)]===q(0x212)&&(f[q(0x21b)][q(0x203)]=f[q(0x21b)][q(0x203)]===q(0x1f2)?!![]:![],this[q(0x205)][q(0x216)](q(0x203),f[q(0x21b)][q(0x203)]));typeof f[q(0x21b)]['js']===q(0x212)&&(f[q(0x21b)]['js']=f[q(0x21b)]['js']===q(0x1f2)?!![]:![],this[q(0x205)][q(0x216)]('js',f[q(0x21b)]['js']));!f['features']&&(f[q(0x1fe)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases[q(0x204)](g);h&&!this[q(0x1f8)]('ramda')&&(Log[q(0x217)](q(0x1ef)),this['fsi'][q(0x209)](q(0x222),{'cwd':d}));if(h&&!this[q(0x1f8)](q(0x21d))){Log[q(0x217)](q(0x1f9));return;}const i={'name':pascalCase(b[q(0x200)]),'myPath':a126e[q(0x20d)](this[q(0x205)][q(0x1f0)]({}),e),'cssCaseName':paramCase(b[q(0x200)]),'className':pascalCase(b[q(0x200)]),'camelCaseName':camelCase(b[q(0x200)]),'fileName':paramCase(b['resourceName']),'graphql':f[q(0x21c)][q(0x201)],'features':f[q(0x1fe)],'client':f[q(0x21c)]['client'],'api':f[q(0x21c)]['api'],'ssr':f[q(0x21c)]['ssr'],'test':f[q(0x21c)][q(0x20c)],'theme':f[q(0x21c)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1fe)][q(0x206)]};f[q(0x1fe)]?.[q(0x228)]||b[q(0x207)]?await this[q(0x205)][q(0x21b)]({'srcPath':q(0x1f6),'destPath':e+'.js','framework':q(0x21d),'context':i,'config':f}):await this[q(0x205)]['template']({'srcPath':'component/component.js','destPath':e+q(0x1fb),'framework':q(0x21d),'context':i,'config':f});f['engines'][q(0x20c)]!=='none'&&await this[q(0x205)][q(0x21b)]({'srcPath':q(0x227),'destPath':e+q(0x1ee),'framework':q(0x21d),'context':i,'config':f});f[q(0x21b)]['css']&&(await this[q(0x205)][q(0x21b)]({'srcPath':q(0x202),'destPath':e+q(0x226),'context':Object[q(0x20f)]({},i,{'className':paramCase(b[q(0x200)])}),'config':f}),await this['fsi'][q(0x223)]({'filePath':e+'.'+f[q(0x21c)]['js'],'content':'import\x20\x27./'+i['fileName']+'.'+f['engines']['css']+'\x27;'}));const j=b[q(0x221)]?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0x1fc)]+'/'+i[q(0x1fc)];await this[q(0x205)][q(0x1fd)](i[q(0x20e)],f,k);});});
1
+ function a126c(){const q=['692696makKfD','dir','template/template.css','3pkEOmI','setTemplate','fileName','/imports/ui/layouts','template','5503047naZMIl','test/test.js','fsi','ramda','91165MuWlUv','1155918vUrtDF','.app-tests.js','withTranslations','withHooks','test','.css','layout','pathFromApp','split','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','withHook','8264eXGxEW','theme','8gJOGab','Scaffolding\x20for\x20a\x20React\x20Layout.','injectTemplateModule','resourceName','features','component/component.js','pathFromProject','.js','maka\x20g:layout\x20mobile/iPhone8','warn','engines','checkNpmPackage','true','maka\x20g:l\x20web/safari','injectAtBeginningOfFile','import\x20\x27./','ssr','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','string','installNpmPackage','css','1995469ECyyPw','className','api','toString','search','12MMTliM','(((.+)+)+)+$','535LpVVvN','220oiRtHZ','react','32868RuOuPY'];a126c=function(){return q;};return a126c();}const a126n=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=-parseInt(l(0x108))/0x1+parseInt(l(0xfc))/0x2*(-parseInt(l(0xff))/0x3)+-parseInt(l(0x114))/0x4*(parseInt(l(0xf8))/0x5)+parseInt(l(0x109))/0x6+parseInt(l(0x12b))/0x7*(parseInt(l(0x116))/0x8)+-parseInt(l(0xfb))/0x9*(parseInt(l(0xf9))/0xa)+-parseInt(l(0x104))/0xb*(-parseInt(l(0xf6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x3a5e6));function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xf4;let f=c[d];return f;},a126d(a,b);}const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const m=a126d;return a126a[m(0xf4)]()[m(0xf5)]('(((.+)+)+)+$')[m(0xf4)]()['constructor'](a126a)[m(0xf5)](m(0xf7));});a126a();import a126e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a126n(0x10f),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a126n(0x117),'validOpts':[a126n(0x113)],'examples':[a126n(0x11e),a126n(0x123)]},async function(a,b){const o=a126n,c=o(0x102),d=this[o(0x106)]['findAppDirectory'](),e=this[o(0x106)][o(0x110)]({'pathParts':[c,b[o(0xfd)],paramCase(b[o(0x119)]),paramCase(b[o(0x119)])]}),f=this[o(0x106)]['getMakaProjectConfig']();await this[o(0x106)]['withValue'](f,async()=>{const p=o;typeof f[p(0x103)][p(0x10d)]==='string'&&(f['template'][p(0x10d)]=f['template'][p(0x10d)]===p(0x122)?!![]:![],this['fsi']['setTemplate'](p(0x10d),f[p(0x103)]['test']));typeof f[p(0x103)][p(0x12a)]===p(0x128)&&(f[p(0x103)][p(0x12a)]=f['template'][p(0x12a)]===p(0x122)?!![]:![],this[p(0x106)]['setTemplate'](p(0x12a),f[p(0x103)][p(0x12a)]));typeof f[p(0x103)]['js']===p(0x128)&&(f[p(0x103)]['js']=f[p(0x103)]['js']==='true'?!![]:![],this['fsi'][p(0x100)]('js',f[p(0x103)]['js']));!f[p(0x11a)]&&(f['features']={});const g=b['_']?b['_'][0x0][p(0x111)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[p(0x121)](p(0x107))&&(Log[p(0x11f)](p(0x112)),this['fsi'][p(0x129)](p(0x107),{'cwd':d}));if(h&&!this[p(0x121)](p(0xfa))){Log[p(0x11f)](p(0x127));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a126e['relative'](this[p(0x106)][p(0x11c)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[p(0x119)]),'camelCaseName':camelCase(b[p(0x119)]),'fileName':paramCase(b[p(0x119)]),'graphql':f['engines']['graphql'],'features':f[p(0x11a)],'client':f['engines']['client'],'api':f['engines'][p(0x12d)],'ssr':f['engines'][p(0x126)],'test':f[p(0x120)][p(0x10d)],'theme':f[p(0x120)][p(0x115)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0x11a)][p(0x10b)]};f[p(0x11a)]?.[p(0x10c)]||b[p(0x113)]?await this[p(0x106)]['template']({'srcPath':'hook/hook.js','destPath':e+p(0x11d),'framework':p(0xfa),'context':i,'config':f}):await this['fsi'][p(0x103)]({'srcPath':p(0x11b),'destPath':e+'.js','framework':p(0xfa),'context':i,'config':f});f[p(0x120)][p(0x10d)]!=='none'&&await this['fsi'][p(0x103)]({'srcPath':p(0x105),'destPath':e+p(0x10a),'framework':p(0xfa),'context':i,'config':f});f[p(0x103)][p(0x12a)]&&(await this[p(0x106)]['template']({'srcPath':p(0xfe),'destPath':e+p(0x10e),'context':Object['assign']({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[p(0x106)][p(0x124)]({'filePath':e+'.'+f[p(0x120)]['js'],'content':p(0x125)+i[p(0x101)]+'.'+f[p(0x120)][p(0x12a)]+'\x27;'}));const j=b[p(0xfd)]?'/'+b[p(0xfd)]+'/':'/',k=''+c+j+i[p(0x101)]+'/'+i[p(0x101)];await this[p(0x106)][p(0x118)](i[p(0x12c)],f,k);});});
@@ -1 +1 @@
1
- const a127i=a127d;(function(a,b){const f=a127d,c=a();while(!![]){try{const d=-parseInt(f(0x14f))/0x1*(parseInt(f(0x13c))/0x2)+-parseInt(f(0x145))/0x3*(-parseInt(f(0x143))/0x4)+-parseInt(f(0x14d))/0x5+parseInt(f(0x14e))/0x6+parseInt(f(0x148))/0x7+-parseInt(f(0x140))/0x8*(parseInt(f(0x141))/0x9)+parseInt(f(0x149))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x25cdd));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a['toString']()['search'](h(0x13d))['toString']()[h(0x13e)](a127a)[h(0x142)](h(0x13d));});a127a();import{Generator}from'../generator.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x13c;let f=c[d];return f;},a127d(a,b);}function a127c(){const j=['maka\x20g:route\x20todos/edit','maka\x20g:package\x20package:name','maka\x20g:template\x20todos/todo_item','662880QwnsVC','228840mXgmgx','62MIJcEx','maka\x20g:scaffold\x20todos','8042hrqJcn','(((.+)+)+)+$','constructor','Scaffold\x20various\x20parts\x20of\x20your\x20application','664lFrUjB','28566cDxjgb','search','12yDGbGY','generate','161904mbXZWz','maka\x20generate:scaffold\x20todos','apply','2017064CJVkQU','3119690dcmKsH'];a127c=function(){return j;};return a127c();}const MakaGen=new Generator({'name':a127i(0x144),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0x13f),'examples':[a127i(0x146),a127i(0x150),a127i(0x14c),a127i(0x14b),a127i(0x14a),'maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
1
+ function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x152;let f=c[d];return f;},a127d(a,b);}const a127i=a127d;function a127c(){const j=['981oFtEZA','generate','apply','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:template\x20todos/todo_item','1896084hMBPVy','constructor','toString','30486JNyHwB','maka\x20g:package\x20package:name','2194787jVYtpJ','43292nSuwHB','156537FqcSXW','10690CaDkLy','maka\x20g:api\x20trucks','26QcanMm','(((.+)+)+)+$','3688520EXxmAT','Scaffold\x20various\x20parts\x20of\x20your\x20application','185pXjReP'];a127c=function(){return j;};return a127c();}(function(a,b){const f=a127d,c=a();while(!![]){try{const d=-parseInt(f(0x164))/0x1+parseInt(f(0x152))/0x2*(parseInt(f(0x160))/0x3)+-parseInt(f(0x163))/0x4*(-parseInt(f(0x156))/0x5)+-parseInt(f(0x15d))/0x6+-parseInt(f(0x162))/0x7+parseInt(f(0x154))/0x8+parseInt(f(0x157))/0x9*(parseInt(f(0x165))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x4f1d3));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a[h(0x15f)]()['search'](h(0x153))[h(0x15f)]()[h(0x15e)](a127a)['search'](h(0x153));});a127a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a127i(0x158),'aliases':['g'],'usage':a127i(0x15a),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0x155),'examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos',a127i(0x15c),a127i(0x161),'maka\x20g:route\x20todos/edit',a127i(0x166),a127i(0x15b)]},function(){});export default MakaGen;
@@ -1 +1 @@
1
- const a128l=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0x104))/0x1*(-parseInt(j(0xf5))/0x2)+parseInt(j(0x107))/0x3*(parseInt(j(0xfe))/0x4)+parseInt(j(0x108))/0x5*(-parseInt(j(0x10b))/0x6)+-parseInt(j(0xfa))/0x7*(parseInt(j(0xf2))/0x8)+-parseInt(j(0x105))/0x9+parseInt(j(0x112))/0xa+parseInt(j(0x103))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xeacbe));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const k=a128d;return a128a[k(0x10d)]()['search'](k(0xf9))[k(0x10d)]()[k(0x100)](a128a)['search']('(((.+)+)+)+$');});function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xf2;let f=c[d];return f;},a128d(a,b);}a128a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a128c(){const o=['error','checkMeteorPackage','844qqGoVU','fsi','constructor','-rpc-method\x27;','create','31311687kpmxIH','11wJvMGW','9338445luLNGJ','index.','24468LOzLpr','155mwIpJj','tsx','dir','324990gZvdey','withValue','toString','pathFromApp','-rpc-method.','method','appPathPrefix','6529490fEvzhA','imports','40PqNeAB','resourceName','import\x20\x27./methods','214282kXmhRt','template','injectAtEndOfFile','startup','(((.+)+)+)+$','508739DhFNRO','method/method.js'];a128c=function(){return o;};return a128c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a128l(0x102)]({'name':a128l(0x110),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a128l(0x10a)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const m=a128l;try{const c=this[m(0xff)]['getMakaProjectConfig']();await this['fsi'][m(0x10c)](c,async()=>{const n=m,d=paramCase(b[n(0xf3)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[n(0xf3)]),'noRename':!![]};let g='js';c['engines']['js']===n(0x109)&&(g='ts');await this[n(0xff)][n(0xfd)](['maka:check','ddp-rate-limiter','mdg:validated-method'],{'shouldInstall':!![]}),await this[n(0xff)][n(0xf6)]({'srcPath':n(0xfb),'destPath':this['fsi'][n(0x10e)]({'pathParts':[n(0x113),'startup',b[n(0x111)],'methods',b[n(0x10a)],d+n(0x10f)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b['dir']+'/':'/',i=this[n(0xff)]['pathFromApp']({'pathParts':['imports',n(0xf8),b[n(0x111)],n(0x106)+c['engines']['js']]});await this[n(0xff)][n(0xf7)]({'filePath':i,'content':n(0xf4)+h+d+n(0x101)});});}catch(d){Log[m(0xfc)](d);}});
1
+ const a128l=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0x181))/0x1*(parseInt(j(0x184))/0x2)+parseInt(j(0x168))/0x3+parseInt(j(0x188))/0x4*(parseInt(j(0x16d))/0x5)+parseInt(j(0x173))/0x6*(parseInt(j(0x17f))/0x7)+parseInt(j(0x17e))/0x8+parseInt(j(0x185))/0x9+-parseInt(j(0x16e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x21197));function a128c(){const o=['mdg:validated-method','5rHrZgt','import\x20\x27./methods','tsx','12698gBuvyw','2104299pbiUDd','dir','error','24uttEpz','appPathPrefix','index.','imports','template','173220CvhaFg','maka:check','engines','constructor','(((.+)+)+)+$','6970jyjDgx','5302790gFPEWb','method/method.js','search','-rpc-method\x27;','checkMeteorPackage','42qSlWgI','injectAtEndOfFile','ddp-rate-limiter','fsi','method','resourceName','startup','maka\x20g:method\x20todos','create','-rpc-method.','withValue','1513176Pvuzgj','145047iQndzq'];a128c=function(){return o;};return a128c();}const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const k=a128d;return a128a['toString']()[k(0x170)]('(((.+)+)+)+$')['toString']()[k(0x16b)](a128a)[k(0x170)](k(0x16c));});function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x164;let f=c[d];return f;},a128d(a,b);}a128a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a128l(0x17b)]({'name':a128l(0x177),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':['dir'],'examples':[a128l(0x17a)]},async function(a,b){const m=a128l;try{const c=this[m(0x176)]['getMakaProjectConfig']();await this[m(0x176)][m(0x17d)](c,async()=>{const n=m,d=paramCase(b[n(0x178)]),f={'name':b[n(0x178)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[n(0x178)]),'noRename':!![]};let g='js';c[n(0x16a)]['js']===n(0x183)&&(g='ts');await this[n(0x176)][n(0x172)]([n(0x169),n(0x175),n(0x180)],{'shouldInstall':!![]}),await this[n(0x176)][n(0x167)]({'srcPath':n(0x16f),'destPath':this[n(0x176)]['pathFromApp']({'pathParts':[n(0x166),'startup',b['appPathPrefix'],'methods',b[n(0x186)],d+n(0x17c)+g]}),'context':f,'config':c});const h=b[n(0x186)]?'/'+b[n(0x186)]+'/':'/',i=this[n(0x176)]['pathFromApp']({'pathParts':['imports',n(0x179),b[n(0x164)],n(0x165)+c[n(0x16a)]['js']]});await this[n(0x176)][n(0x174)]({'filePath':i,'content':n(0x182)+h+d+n(0x171)});});}catch(d){Log[m(0x187)](d);}});
@@ -1 +1 @@
1
- function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a129d(a,b);}const a129o=a129d;function a129c(){const r=['layout','hasOwnProperty','toString','pathFromAppWithNoReWrite','.js','client','noRename','1168368RDoHcv','create','constructor','withValue','tests/client','23934JSHtyL','1122060MXxFhf','store','search','(((.+)+)+)+$','7IzCwcP','packages','18077445XJmZyM','theme','lib','apply','relative','engines','3SwIxLl','resourceName','ssr','package.js','141556yKgntx','tests/server','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','package/package.js','1854715AiHFxt','template','dir','pathFromApp','package','1804492xSTocz','component','server','getMakaProjectConfig','maka\x20g:package\x20todos:package','fsi'];a129c=function(){return r;};return a129c();}(function(a,b){const l=a129d,c=a();while(!![]){try{const d=-parseInt(l(0x1e4))/0x1+-parseInt(l(0x1d4))/0x2+parseInt(l(0x1e0))/0x3*(-parseInt(l(0x1ed))/0x4)+-parseInt(l(0x1e8))/0x5+parseInt(l(0x1d3))/0x6*(parseInt(l(0x1d8))/0x7)+-parseInt(l(0x1fa))/0x8+parseInt(l(0x1da))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x53788));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0x1dd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0x1f5)]()[n(0x1d6)](n(0x1d7))[n(0x1f5)]()[n(0x1d0)](a129a)['search'](n(0x1d7));});a129a();import a129e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a129o(0x1fb)]({'name':a129o(0x1ec),'aliases':['p'],'usage':a129o(0x1e6),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a129o(0x1ea)],'examples':[a129o(0x1f1)]},async function(a,b){const p=a129o,c=paramCase(b[p(0x1e1)]),d=this[p(0x1f2)][p(0x1eb)]({'pathParts':['packages',b[p(0x1ea)],c]}),e=this['fsi'][p(0x1f6)]({'pathParts':[p(0x1d9),b[p(0x1ea)],c,p(0x1e3)]}),f=this[p(0x1f2)][p(0x1f0)]();await this[p(0x1f2)][p(0x1d1)](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a129e[q(0x1de)](this[q(0x1f2)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x1e1)]),'className':pascalCase(b[q(0x1e1)]),'camelCaseName':camelCase(b[q(0x1e1)]),'fileName':c,'client':f[q(0x1df)][q(0x1f8)],'graphql':f[q(0x1df)]['graphql'],'ssr':f[q(0x1df)][q(0x1e2)],'isComponent':b[q(0x1f4)](q(0x1ee)),'isLayout':b['hasOwnProperty'](q(0x1f3)),'isStore':b['hasOwnProperty'](q(0x1d5)),'features':f['features'],'noRename':!![],'theme':f[q(0x1df)][q(0x1db)]};await this[q(0x1f2)]['template']({'srcPath':q(0x1e7),'destPath':e,'context':g,'config':f}),g[q(0x1f9)]=![];const h=d+'/client/'+c+'.js';await this[q(0x1f2)][q(0x1e9)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[q(0x1dc),q(0x1ef),q(0x1d2),q(0x1e5)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x1f7);await this[q(0x1f2)][q(0x1e9)]({'srcPath':'package/'+j+'/package.js','destPath':k,'context':g,'config':f});}});});
1
+ const a129n=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=-parseInt(l(0x1a2))/0x1+parseInt(l(0x1a0))/0x2*(parseInt(l(0x186))/0x3)+parseInt(l(0x194))/0x4+-parseInt(l(0x193))/0x5*(-parseInt(l(0x19f))/0x6)+parseInt(l(0x19d))/0x7*(-parseInt(l(0x187))/0x8)+parseInt(l(0x196))/0x9*(parseInt(l(0x19b))/0xa)+-parseInt(l(0x1ac))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xc3430));function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x181;let f=c[d];return f;},a129d(a,b);}function a129c(){const q=['229964DbrnpT','template','78KdPiTF','2YzZeXd','resourceName','534617ligQXR','toString','package/','ssr','pathFromApp','/client/','constructor','client','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','engines','387794gDuGSY','component','lib','tests/client','fsi','layout','.js','template/template.js','features','pathFromProject','297981YpqXmT','200WwuBxk','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','packages','graphql','withValue','hasOwnProperty','store','theme','pathFromAppWithNoReWrite','getMakaProjectConfig','relative','/package.js','448925GGlnFe','2083876huFrrr','dir','9asyhvz','package','tests/server','package/package.js','package.js','4034620zrGAfn','(((.+)+)+)+$'];a129c=function(){return q;};return a129c();}const a129b=(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;};}()),a129a=a129b(this,function(){const m=a129d;return a129a['toString']()['search'](m(0x19c))[m(0x1a3)]()[m(0x1a8)](a129a)['search'](m(0x19c));});a129a();import a129e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a129n(0x197),'aliases':['p'],'usage':a129n(0x1aa),'shortDesc':a129n(0x188),'validOpts':[a129n(0x195)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const o=a129n,c=paramCase(b['resourceName']),d=this[o(0x1b0)][o(0x1a6)]({'pathParts':['packages',b[o(0x195)],c]}),e=this[o(0x1b0)][o(0x18f)]({'pathParts':[o(0x189),b[o(0x195)],c,o(0x19a)]}),f=this['fsi'][o(0x190)]();await this['fsi'][o(0x18b)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x1a1)]),'myPath':a129e[p(0x191)](this[p(0x1b0)][p(0x185)]({}),d),'cssCaseName':paramCase(b[p(0x1a1)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x1a1)]),'fileName':c,'client':f[p(0x1ab)][p(0x1a9)],'graphql':f[p(0x1ab)][p(0x18a)],'ssr':f[p(0x1ab)][p(0x1a5)],'isComponent':b[p(0x18c)](p(0x1ad)),'isLayout':b[p(0x18c)](p(0x181)),'isStore':b[p(0x18c)](p(0x18d)),'features':f[p(0x184)],'noRename':!![],'theme':f[p(0x1ab)][p(0x18e)]};await this[p(0x1b0)][p(0x19e)]({'srcPath':p(0x199),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+p(0x1a7)+c+p(0x182);await this[p(0x1b0)][p(0x19e)]({'srcPath':p(0x183),'destPath':h,'context':g,'config':f});const i=[p(0x1ae),'server',p(0x1af),p(0x198)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[p(0x1b0)][p(0x19e)]({'srcPath':p(0x1a4)+j+p(0x192),'destPath':k,'context':g,'config':f});}});});
@@ -1 +1 @@
1
- const a130l=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=parseInt(j(0x1ac))/0x1+parseInt(j(0x1a8))/0x2*(-parseInt(j(0x1c4))/0x3)+parseInt(j(0x1bf))/0x4*(parseInt(j(0x1b9))/0x5)+-parseInt(j(0x195))/0x6*(parseInt(j(0x1a3))/0x7)+parseInt(j(0x198))/0x8+parseInt(j(0x1bc))/0x9+-parseInt(j(0x1ce))/0xa*(parseInt(j(0x1ad))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x2c523));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(0x1a0)]()[k(0x1a1)](k(0x1b5))[k(0x1a0)]()[k(0x1b7)](a130a)[k(0x1a1)](k(0x1b5));});a130a();function a130c(){const o=['fileName','hooks','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','159933qtYfNL','330aTMGWZ','/imports/ui/pages','pathFromApp','/imports/ui/','theme','ssr','test','store','(((.+)+)+)+$','ramda','constructor','Updating\x20npm\x20packages\x20...','140PasVzH','page','.js','1420983kNCGZh','withValue','api','20312GaXquB','route','className','engines','vanilla','9WBNTKT','import\x20\x27./','withHook','.html','component/component.js','layouts','template/template.css','injectAtBeginningOfFile','pathFromProject','fsi','86470zyLQgy','graphql','layout','baseDir','css','getMakaProjectConfig','processAndRunGenerator','relative','pages','resourceName','findAppDirectory','components','maka\x20g:page\x20todos/todos-item','warn','checkNpmPackage','template','setTemplate','159792lchzhX','react','features','2534488MMnesZ','assign','root','html','installNpmPackage','client','create','component','toString','search','true','49Xkwhnk','string','hasOwnProperty','hook/hook.js','dir','99628GaFdQZ'];a130c=function(){return o;};return a130c();}import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a130f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x192;let f=c[d];return f;},a130d(a,b);}Generator[a130l(0x19e)]({'name':a130l(0x1ba),'aliases':aliases,'usage':a130l(0x1ab),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a130l(0x1d1),'values':[a130l(0x1aa),a130l(0x1d9),a130l(0x1d6),a130l(0x1c9)]},{'name':a130l(0x1c6),'boolFlag':!![]}],'examples':[a130l(0x1da)]},async function(a,b){const m=a130l,c=b[m(0x1d1)]?m(0x1b0)+b['baseDir']:m(0x1ae),d=this['fsi'][m(0x1d8)](),e=this[m(0x1cd)][m(0x1af)]({'pathParts':[c,b['dir'],paramCase(b[m(0x1d7)]),paramCase(b['resourceName'])]}),f=this[m(0x1cd)][m(0x1d3)]();let g='';return await this['fsi'][m(0x1bd)](f,async()=>{const n=m;typeof f[n(0x193)][n(0x19b)]===n(0x1a4)&&(f[n(0x193)][n(0x19b)]=f[n(0x193)][n(0x19b)]===n(0x1a2)?!![]:![],this[n(0x1cd)][n(0x194)](n(0x19b),f[n(0x193)][n(0x19b)]));typeof f['template'][n(0x1b3)]===n(0x1a4)&&(f['template'][n(0x1b3)]=f[n(0x193)][n(0x1b3)]===n(0x1a2)?!![]:![],this['fsi'][n(0x194)]('test',f[n(0x193)][n(0x1b3)]));typeof f[n(0x193)][n(0x1d2)]===n(0x1a4)&&(f['template'][n(0x1d2)]=f[n(0x193)][n(0x1d2)]==='true'?!![]:![],this['fsi'][n(0x194)](n(0x1d2),f[n(0x193)][n(0x1d2)]));typeof f[n(0x193)]['js']===n(0x1a4)&&(f['template']['js']=f[n(0x193)]['js']===n(0x1a2)?!![]:![],this['fsi'][n(0x194)]('js',f[n(0x193)]['js']));!f[n(0x197)]&&(f[n(0x197)]={});!b['root']&&!this['fsi'][n(0x192)](n(0x1b6))&&(Log[n(0x1db)](n(0x1b8)),this[n(0x1cd)][n(0x19c)]('ramda',{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a130e[n(0x1d5)](this['fsi'][n(0x1cc)]({}),e),'cssCaseName':paramCase(b[n(0x1d7)]),'className':pascalCase(b[n(0x1d7)]),'camelCaseName':camelCase(b[n(0x1d7)]),'fileName':paramCase(b[n(0x1d7)]),'graphql':f[n(0x1c2)][n(0x1cf)],'features':f[n(0x197)],'client':f[n(0x1c2)][n(0x19d)],'api':f[n(0x1c2)][n(0x1be)],'ssr':f['engines'][n(0x1b2)],'isStore':b[n(0x1a5)](n(0x1b4)),'isComponent':b['hasOwnProperty'](n(0x19f)),'isLayout':b[n(0x1a5)](n(0x1d0)),'withTranslations':f[n(0x197)]['withTranslations'],'test':f[n(0x1c2)]['test'],'theme':f[n(0x1c2)][n(0x1b1)]};f[n(0x193)]['html']&&await this[n(0x1cd)][n(0x193)]({'srcPath':'template/template.html','destPath':e+n(0x1c7),'context':h,'config':f});f[n(0x197)]?.['withHooks']||b[n(0x1c6)]?await this[n(0x1cd)]['template']({'srcPath':n(0x1a6),'destPath':e+n(0x1bb),'framework':n(0x196),'context':h,'config':f}):await this['fsi'][n(0x193)]({'srcPath':n(0x1c8),'destPath':e+n(0x1bb),'framework':'react','context':h,'config':f});f[n(0x1c2)][n(0x1b3)]!=='none'&&await this[n(0x1cd)]['template']({'srcPath':'test/test.js','destPath':e+'.app-tests.js','framework':n(0x196),'context':h,'config':f});f['template'][n(0x1d2)]&&await this[n(0x1cd)]['template']({'srcPath':n(0x1ca),'destPath':e+'.css','context':Object[n(0x199)]({},h,{'className':paramCase(b[n(0x1d7)])}),'config':f});f['engines']['client']!==n(0x196)&&f[n(0x1c2)][n(0x19d)]!==n(0x1c3)?(f['template']['css']&&await this[n(0x1cd)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[n(0x1c2)]['js'],'content':n(0x1c5)+h['fileName']+'.'+f[n(0x1c2)]['html']+'\x27;\x0a'+n(0x1c5)+h[n(0x1a9)]+'.'+f[n(0x1c2)][n(0x1d2)]+'\x27;'}),!f[n(0x193)][n(0x1d2)]&&await this['fsi'][n(0x1cb)]({'filePath':e+'.'+f[n(0x1c2)]['js'],'content':'import\x20\x27./'+h[n(0x1a9)]+'.'+f[n(0x1c2)][n(0x19b)]+'\x27;'})):f[n(0x193)][n(0x1d2)]&&await this[n(0x1cd)][n(0x1cb)]({'filePath':e+'.'+f[n(0x1c2)]['js'],'content':'import\x20\x27./'+h[n(0x1a9)]+'.'+f['engines'][n(0x1d2)]+'\x27;'});const i=b['dir']?'/'+b[n(0x1a7)]+'/':'/';g=''+c+i+h['fileName']+'/'+h['fileName'],await this[n(0x1cd)]['injectTemplateModule'](h[n(0x1c1)],f,g),!b[n(0x19a)]&&await a130f[n(0x1d4)](n(0x1c0),[i+b['resourceName']],b);}),g+'.'+f[m(0x1c2)]['js'];});
1
+ const a130l=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=-parseInt(j(0x1ef))/0x1+-parseInt(j(0x1af))/0x2+-parseInt(j(0x1b9))/0x3*(parseInt(j(0x1e3))/0x4)+parseInt(j(0x1b8))/0x5*(parseInt(j(0x1e2))/0x6)+parseInt(j(0x1bc))/0x7+-parseInt(j(0x1e1))/0x8+parseInt(j(0x1dc))/0x9*(parseInt(j(0x1b3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x732ec));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(0x1df)]()[k(0x1c9)](k(0x1cb))[k(0x1df)]()[k(0x1c0)](a130a)[k(0x1c9)](k(0x1cb));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a130d(a,b);}import a130f from'../generators/maka.gen.js';function a130c(){const o=['layouts','pathFromApp','import\x20\x27./','setTemplate','html','search','processAndRunGenerator','(((.+)+)+)+$','withTranslations','test','/imports/ui/pages','engines','injectAtBeginningOfFile','.js','getMakaProjectConfig','root','assign','withHook','template','component','template/template.html','injectTemplateModule','client','ramda','45WacWIn','hasOwnProperty','resourceName','toString','api','5672840WxPasG','2548494YVJOaB','364FbUqYq','pathFromProject','features','layout','/imports/ui/','vanilla','components','page','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','create','fileName','baseDir','523729hexjXx','checkNpmPackage','withValue','pages','installNpmPackage','Generate\x20a\x20page.','findAppDirectory','string','dir','.css','1867984vBCrJf','warn','.app-tests.js','none','4258900dHegaw','ssr','theme','className','relative','10SwPceY','13587RcWqoa','graphql','hook/hook.js','502635loqhtb','css','true','test/test.js','constructor','react','fsi','component/component.js'];a130c=function(){return o;};return a130c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a130l(0x1ec)]({'name':a130l(0x1ea),'aliases':aliases,'usage':a130l(0x1eb),'shortDesc':a130l(0x1f4),'validOpts':[{'name':a130l(0x1ee),'values':['hooks',a130l(0x1e9),a130l(0x1f2),a130l(0x1c4)]},{'name':'withHook','boolFlag':!![]}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const m=a130l,c=b[m(0x1ee)]?m(0x1e7)+b[m(0x1ee)]:m(0x1ce),d=this[m(0x1c2)][m(0x1ab)](),e=this[m(0x1c2)][m(0x1c5)]({'pathParts':[c,b['dir'],paramCase(b[m(0x1de)]),paramCase(b['resourceName'])]}),f=this[m(0x1c2)][m(0x1d2)]();let g='';return await this[m(0x1c2)][m(0x1f1)](f,async()=>{const n=m;typeof f[n(0x1d6)][n(0x1c8)]===n(0x1ac)&&(f[n(0x1d6)][n(0x1c8)]=f[n(0x1d6)][n(0x1c8)]==='true'?!![]:![],this[n(0x1c2)]['setTemplate'](n(0x1c8),f[n(0x1d6)]['html']));typeof f['template']['test']===n(0x1ac)&&(f[n(0x1d6)][n(0x1cd)]=f[n(0x1d6)][n(0x1cd)]===n(0x1be)?!![]:![],this[n(0x1c2)]['setTemplate']('test',f[n(0x1d6)][n(0x1cd)]));typeof f[n(0x1d6)][n(0x1bd)]===n(0x1ac)&&(f[n(0x1d6)][n(0x1bd)]=f[n(0x1d6)][n(0x1bd)]===n(0x1be)?!![]:![],this[n(0x1c2)][n(0x1c7)](n(0x1bd),f[n(0x1d6)][n(0x1bd)]));typeof f[n(0x1d6)]['js']===n(0x1ac)&&(f[n(0x1d6)]['js']=f[n(0x1d6)]['js']===n(0x1be)?!![]:![],this['fsi'][n(0x1c7)]('js',f[n(0x1d6)]['js']));!f[n(0x1e5)]&&(f[n(0x1e5)]={});!b[n(0x1d3)]&&!this[n(0x1c2)][n(0x1f0)](n(0x1db))&&(Log[n(0x1b0)]('Updating\x20npm\x20packages\x20...'),this[n(0x1c2)][n(0x1f3)]('ramda',{'cwd':d}));const h={'name':pascalCase(b[n(0x1de)]),'myPath':a130e[n(0x1b7)](this[n(0x1c2)][n(0x1e4)]({}),e),'cssCaseName':paramCase(b[n(0x1de)]),'className':pascalCase(b[n(0x1de)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'graphql':f['engines'][n(0x1ba)],'features':f['features'],'client':f['engines'][n(0x1da)],'api':f[n(0x1cf)][n(0x1e0)],'ssr':f[n(0x1cf)][n(0x1b4)],'isStore':b[n(0x1dd)]('store'),'isComponent':b[n(0x1dd)](n(0x1d7)),'isLayout':b[n(0x1dd)](n(0x1e6)),'withTranslations':f[n(0x1e5)][n(0x1cc)],'test':f[n(0x1cf)][n(0x1cd)],'theme':f[n(0x1cf)][n(0x1b5)]};f[n(0x1d6)][n(0x1c8)]&&await this['fsi'][n(0x1d6)]({'srcPath':n(0x1d8),'destPath':e+'.html','context':h,'config':f});f[n(0x1e5)]?.['withHooks']||b[n(0x1d5)]?await this[n(0x1c2)]['template']({'srcPath':n(0x1bb),'destPath':e+n(0x1d1),'framework':n(0x1c1),'context':h,'config':f}):await this[n(0x1c2)][n(0x1d6)]({'srcPath':n(0x1c3),'destPath':e+n(0x1d1),'framework':n(0x1c1),'context':h,'config':f});f[n(0x1cf)][n(0x1cd)]!==n(0x1b2)&&await this['fsi'][n(0x1d6)]({'srcPath':n(0x1bf),'destPath':e+n(0x1b1),'framework':n(0x1c1),'context':h,'config':f});f['template']['css']&&await this[n(0x1c2)][n(0x1d6)]({'srcPath':'template/template.css','destPath':e+n(0x1ae),'context':Object[n(0x1d4)]({},h,{'className':paramCase(b['resourceName'])}),'config':f});f[n(0x1cf)][n(0x1da)]!==n(0x1c1)&&f[n(0x1cf)][n(0x1da)]!==n(0x1e8)?(f[n(0x1d6)][n(0x1bd)]&&await this[n(0x1c2)][n(0x1d0)]({'filePath':e+'.'+f[n(0x1cf)]['js'],'content':n(0x1c6)+h['fileName']+'.'+f[n(0x1cf)][n(0x1c8)]+'\x27;\x0a'+n(0x1c6)+h[n(0x1ed)]+'.'+f[n(0x1cf)][n(0x1bd)]+'\x27;'}),!f[n(0x1d6)]['css']&&await this[n(0x1c2)][n(0x1d0)]({'filePath':e+'.'+f[n(0x1cf)]['js'],'content':n(0x1c6)+h['fileName']+'.'+f['engines'][n(0x1c8)]+'\x27;'})):f[n(0x1d6)][n(0x1bd)]&&await this[n(0x1c2)][n(0x1d0)]({'filePath':e+'.'+f[n(0x1cf)]['js'],'content':n(0x1c6)+h['fileName']+'.'+f[n(0x1cf)][n(0x1bd)]+'\x27;'});const i=b[n(0x1ad)]?'/'+b[n(0x1ad)]+'/':'/';g=''+c+i+h['fileName']+'/'+h[n(0x1ed)],await this['fsi'][n(0x1d9)](h[n(0x1b6)],f,g),!b[n(0x1d3)]&&await a130f[n(0x1ca)]('route',[i+b['resourceName']],b);}),g+'.'+f[m(0x1cf)]['js'];});
@@ -1 +1 @@
1
- const a131p=a131d;function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x67;let f=c[d];return f;},a131d(a,b);}(function(a,b){const m=a131d,c=a();while(!![]){try{const d=-parseInt(m(0x6c))/0x1+-parseInt(m(0x6a))/0x2+-parseInt(m(0x90))/0x3*(-parseInt(m(0x7e))/0x4)+parseInt(m(0x87))/0x5*(-parseInt(m(0x8d))/0x6)+parseInt(m(0x7c))/0x7*(parseInt(m(0x8f))/0x8)+parseInt(m(0x86))/0x9*(-parseInt(m(0x79))/0xa)+parseInt(m(0x74))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x77719));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0x76)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a['toString']()[o(0x75)]('(((.+)+)+)+$')[o(0x77)]()[o(0x7f)](a131a)[o(0x75)](o(0x8a));});a131a();function a131c(){const s=['toString','imports','50eDsCVT','injectAtEndOfFile','tsx','8659txRfrF','maka\x20g:publish\x20todos','78332lbLhBj','constructor','globalPublish','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','error','publish/publish.js','fsi','baseDir','1495890XnYkjo','35SwKkga','withValue','startup','(((.+)+)+)+$','/imports/startup/server/publications','create','797106VxWDPP','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','5240uyEBJf','129PkuTdD','resourceName','exit','publish','1318838Cuhald','import\x20\x27./publications','380416dnfdST','getMakaProjectConfig','pathFromApp','force','index.','appPathPrefix','dir','engines','18015569kiwGEE','search','apply'];a131c=function(){return s;};return a131c();}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a131p(0x8c)]({'name':a131p(0x69),'aliases':['p'],'usage':a131p(0x81),'shortDesc':a131p(0x8e),'validOpts':[a131p(0x6f),a131p(0x80)],'examples':[a131p(0x7d)]},async function(a,b){const q=a131p;try{const c=b['force']||![],d=b[q(0x85)]?'/imports/ui/'+b['baseDir']:q(0x8b),f=this['fsi'][q(0x6d)](),g=paramCase(b[q(0x67)]),h=this[q(0x84)]['pathFromApp']({'pathParts':[d,b[q(0x72)],'',g]});let i='js';f['engines']['js']===q(0x7b)&&(i='ts');await this['fsi'][q(0x88)](f,async()=>{const r=q,l={'name':b[r(0x67)],'collection':pascalCase(b[r(0x67)]),'noRename':!![],'globalPublish':b[r(0x80)]};await this[r(0x84)]['template']({'srcPath':r(0x83),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this['fsi'][q(0x6e)]({'pathParts':[q(0x78),q(0x89),'server',b[q(0x71)],q(0x70)+f[q(0x73)]['js']]}),k=b[q(0x72)]?'/'+b[q(0x72)]+'/':'/';return await this[q(0x84)][q(0x7a)]({'filePath':j,'content':q(0x6b)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0x82)](l),process[q(0x68)](0x1);}});
1
+ function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x14c;let f=c[d];return f;},a131d(a,b);}const a131o=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=-parseInt(m(0x171))/0x1+-parseInt(m(0x14d))/0x2*(parseInt(m(0x16e))/0x3)+-parseInt(m(0x16d))/0x4*(-parseInt(m(0x166))/0x5)+-parseInt(m(0x15f))/0x6*(-parseInt(m(0x16b))/0x7)+-parseInt(m(0x161))/0x8+parseInt(m(0x153))/0x9*(-parseInt(m(0x169))/0xa)+-parseInt(m(0x162))/0xb*(-parseInt(m(0x16a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xf17c8));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0x155)]()[n(0x172)](n(0x159))[n(0x155)]()[n(0x15b)](a131a)[n(0x172)](n(0x159));});a131a();function a131c(){const r=['855SLGoHT','globalPublish','toString','error','maka\x20g:publish\x20todos','import\x20\x27./publications','(((.+)+)+)+$','injectAtEndOfFile','constructor','force','server','getMakaProjectConfig','15444IIXIhH','fsi','11659512ATkICH','10338284IhfLzR','template','/imports/startup/server/publications','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','14800dHjOle','pathFromApp','create','26400QWGXLe','24QvKqCj','3689LFIkPQ','publish','1772iTJzPD','3BWzUrH','dir','imports','1317502OwGcfU','search','engines','1065194uTIzAZ','index.','exit','resourceName','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','baseDir'];a131c=function(){return r;};return a131c();}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a131o(0x168)]({'name':a131o(0x16c),'aliases':['p'],'usage':a131o(0x165),'shortDesc':a131o(0x151),'validOpts':[a131o(0x15c),a131o(0x154)],'examples':[a131o(0x157)]},async function(a,b){const p=a131o;try{const c=b[p(0x15c)]||![],d=b[p(0x152)]?'/imports/ui/'+b[p(0x152)]:p(0x164),f=this[p(0x160)][p(0x15e)](),g=paramCase(b[p(0x150)]),h=this[p(0x160)][p(0x167)]({'pathParts':[d,b[p(0x16f)],'',g]});let i='js';f[p(0x14c)]['js']==='tsx'&&(i='ts');await this[p(0x160)]['withValue'](f,async()=>{const q=p,l={'name':b[q(0x150)],'collection':pascalCase(b[q(0x150)]),'noRename':!![],'globalPublish':b[q(0x154)]};await this[q(0x160)][q(0x163)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[p(0x160)]['pathFromApp']({'pathParts':[p(0x170),'startup',p(0x15d),b['appPathPrefix'],p(0x14e)+f['engines']['js']]}),k=b[p(0x16f)]?'/'+b[p(0x16f)]+'/':'/';return await this[p(0x160)][p(0x15a)]({'filePath':j,'content':p(0x158)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[p(0x156)](l),process[p(0x14f)](0x1);}});