@maka/maka-cli 4.11.1 → 4.12.1

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 (157) hide show
  1. package/bundle/obf/package.json +2 -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/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/patreon.js +1 -1
  84. package/bundle/obf/src/commands/profile.js +1 -0
  85. package/bundle/obf/src/commands/proxy.js +1 -1
  86. package/bundle/obf/src/commands/reconfig.js +1 -1
  87. package/bundle/obf/src/commands/register.js +1 -1
  88. package/bundle/obf/src/commands/run/_index.js +1 -1
  89. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/run/run.command.js +1 -1
  91. package/bundle/obf/src/commands/set/_index.js +1 -1
  92. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  94. package/bundle/obf/src/commands/set/set.command.js +1 -1
  95. package/bundle/obf/src/commands/ssh.js +1 -1
  96. package/bundle/obf/src/commands/ssl.js +1 -1
  97. package/bundle/obf/src/commands/test.js +1 -1
  98. package/bundle/obf/src/commands/undo.js +1 -1
  99. package/bundle/obf/src/commands/version.js +1 -1
  100. package/bundle/obf/src/error.js +1 -1
  101. package/bundle/obf/src/exec.js +1 -1
  102. package/bundle/obf/src/generator.js +1 -1
  103. package/bundle/obf/src/generators/_index.js +1 -1
  104. package/bundle/obf/src/generators/api.js +1 -1
  105. package/bundle/obf/src/generators/collection.js +1 -1
  106. package/bundle/obf/src/generators/component.js +1 -1
  107. package/bundle/obf/src/generators/config.js +1 -1
  108. package/bundle/obf/src/generators/dbc.js +1 -1
  109. package/bundle/obf/src/generators/dockerfile.js +1 -1
  110. package/bundle/obf/src/generators/hook.js +1 -1
  111. package/bundle/obf/src/generators/kits/_index.js +1 -1
  112. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  114. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  116. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  117. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  118. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/kit.js +1 -1
  120. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  124. package/bundle/obf/src/generators/layout.js +1 -1
  125. package/bundle/obf/src/generators/maka.gen.js +1 -1
  126. package/bundle/obf/src/generators/methods.js +1 -1
  127. package/bundle/obf/src/generators/package.js +1 -1
  128. package/bundle/obf/src/generators/page.js +1 -1
  129. package/bundle/obf/src/generators/publish.js +1 -1
  130. package/bundle/obf/src/generators/route.js +1 -1
  131. package/bundle/obf/src/generators/service.js +1 -1
  132. package/bundle/obf/src/generators/services/_index.js +1 -1
  133. package/bundle/obf/src/generators/services/openssl.js +1 -1
  134. package/bundle/obf/src/generators/services/translation.js +1 -1
  135. package/bundle/obf/src/maka.js +1 -1
  136. package/bundle/obf/src/templates/meteor/api/register-api.js +1 -1
  137. package/bundle/obf/src/templates/meteor/api/register-api.js.ts +1 -1
  138. package/bundle/obf/src/tool.js +1 -1
  139. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  140. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  141. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  142. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  143. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  145. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/https/https.class.js +1 -1
  147. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  148. package/bundle/obf/src/tools/log/log.class.js +1 -1
  149. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/options/options.class.js +1 -1
  151. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  152. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  153. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  154. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  155. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  157. package/package.json +2 -1
@@ -1 +1 @@
1
- const a112r=a112d;function a112c(){const u=['const\x20resetPasswordWithToken','processAndRunGenerator','pathFromApp','startup','Meteor','6ppJgUo','react','Accounts','7467845VzRktd','\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','exit','100wAwHIf','search','meteor/accounts-base','AuthService','apply','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','Meteor.publish','250180bfUOgt','checkMeteorPackage','error','force','\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','index','authentication-provider','/imports/startup/lib/authentication-service','.js','server','getMakaProjectConfig','accounts-password','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','7369485pSlsOR','2697664zBAUZa','constructor','const\x20authenticateUser','useTracker','kit:auth:provider','alanning:roles','12710097wMFWVU','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','meteor/meteor','169497ODNWXN','const\x20sendForgotPasswordEmail','injectImport','findProjectDirectory','injectIntoCodeBlock','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client','toString','ssr','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','const\x20authenticateToken','\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','authentication-service','const\x20deauthenticateUser','auth/roles','create','meteor/maka:react-tracker','publish','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','meteor','fsi','true','20zcjXmr','1950298aZcUBM','\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','Meteor.startup','imports'];a112c=function(){return u;};return a112c();}(function(a,b){const o=a112d,c=a();while(!![]){try{const d=parseInt(o(0x12f))/0x1+-parseInt(o(0x15e))/0x2+-parseInt(o(0x146))/0x3*(parseInt(o(0x128))/0x4)+-parseInt(o(0x13c))/0x5*(-parseInt(o(0x122))/0x6)+-parseInt(o(0x125))/0x7+-parseInt(o(0x13d))/0x8+-parseInt(o(0x143))/0x9*(-parseInt(o(0x15d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0xb8c8c));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a112d;if(c){const e=c[p(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const q=a112d;return a112a[q(0x14e)]()[q(0x129)]('(((.+)+)+)+$')['toString']()[q(0x13e)](a112a)[q(0x129)]('(((.+)+)+)+$');});a112a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a112e from'./auth.generator.js';import a112f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x11f;let f=c[d];return f;},a112d(a,b);}Generator[a112r(0x156)]({'name':a112r(0x15a),'aliases':['m'],'usage':a112r(0x144),'shortDesc':a112r(0x159),'validOpts':[a112r(0x132)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a112r(0x133)},async function(a,b){const s=a112r;try{const c=b[s(0x132)]||![];await this[s(0x15b)][s(0x130)]([s(0x13a),s(0x142)],{'shouldInstall':!![]});const d=this[s(0x15b)][s(0x149)](),f=this[s(0x15b)][s(0x139)](),g=f['engines'][s(0x14f)]===s(0x15c);await a112f[s(0x163)](s(0x141),[],{'force':c,'cwd':d,'config':f});const h=await a112f[s(0x163)](s(0x158),[s(0x155)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':s(0x14d),j=this[s(0x15b)][s(0x11f)]({'pathParts':[i,'','',s(0x153)]});await this[s(0x15b)]['withValue'](f,async()=>{const t=s;await this[t(0x15b)]['template']({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0x137),'framework':t(0x123),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x15b)][s(0x11f)]({'pathParts':[i,'','',s(0x135)]}),l=f['engines']['js'];await this['fsi']['injectImport']({'filePath':k+'.'+l,'importName':s(0x12b),'modulePath':g?s(0x136):'/imports/startup/client/authentication-service','isNamedExport':![]}),await this[s(0x15b)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x150),'begin':s(0x13f),'replace':!![]}),await this[s(0x15b)][s(0x14a)]({'filePath':k+'.'+l,'content':s(0x152),'begin':s(0x151),'replace':!![]}),await this[s(0x15b)][s(0x14a)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x15b)][s(0x14a)]({'filePath':k+'.'+l,'content':s(0x13b),'begin':s(0x154),'replace':!![]}),await this[s(0x15b)][s(0x14a)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x147),'replace':!![]}),await this['fsi'][s(0x14a)]({'filePath':k+'.'+l,'content':s(0x14c),'begin':'const\x20registerNewUser','replace':!![]}),await this[s(0x15b)][s(0x14a)]({'filePath':k+'.'+l,'content':s(0x12d),'begin':s(0x162),'replace':!![]});g&&(await this[s(0x15b)][s(0x148)]({'filePath':k+'.'+l,'importName':s(0x140),'modulePath':s(0x157),'isNamedExport':!![]}),await this[s(0x15b)]['injectIntoFile']({'filePath':k+'.'+l,'content':s(0x15f),'begin':'export\x20const\x20AuthProvider','end':'return\x20\x5c('}));await this[s(0x15b)][s(0x148)]({'filePath':h,'importName':s(0x121),'modulePath':s(0x145),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x15b)][s(0x14a)]({'filePath':h,'content':s(0x14b),'begin':s(0x12e),'replace':!![]});const m=this['fsi'][s(0x11f)]({'pathParts':[s(0x161),s(0x120),s(0x138),s(0x134)]});await this['fsi'][s(0x148)]({'filePath':m+'.'+l,'importName':s(0x124),'modulePath':s(0x12a),'isNamedExport':!![]}),await this[s(0x15b)][s(0x14a)]({'filePath':m+'.'+l,'content':s(0x126),'begin':s(0x160),'replace':!![]});}catch(n){Log[s(0x131)](n),process[s(0x127)](0x1);}},async function(){},a112e);
1
+ const a113q=a113d;(function(a,b){const o=a113d,c=a();while(!![]){try{const d=-parseInt(o(0x95))/0x1+parseInt(o(0xa1))/0x2+-parseInt(o(0x91))/0x3*(-parseInt(o(0x90))/0x4)+parseInt(o(0x7d))/0x5*(parseInt(o(0x86))/0x6)+-parseInt(o(0x78))/0x7*(parseInt(o(0x7a))/0x8)+parseInt(o(0x82))/0x9+-parseInt(o(0x7b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0xaf932));const a113b=(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;};}()),a113a=a113b(this,function(){const p=a113d;return a113a[p(0x73)]()[p(0xa6)](p(0xa9))[p(0x73)]()[p(0x72)](a113a)['search']('(((.+)+)+)+$');});a113a();function a113c(){const t=['export\x20const\x20AuthProvider','635573IrHTRw','engines','useTracker','findProjectDirectory','meteor','pathFromApp','alanning:roles','return\x20\x5c(','Meteor','authentication-provider','const\x20authenticateUser','\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','2724854RwKdlV','AuthService','accounts-password','injectIntoFile','publish','search','const\x20resetPasswordWithToken','\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','(((.+)+)+)+$','const\x20getUserAuthorizations','meteor/accounts-base','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','startup','exit','fsi','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','server','const\x20registerNewUser','constructor','toString','injectImport','Meteor.startup','create','react','182fNpWVK','kit/auth/service/meteor-auth-service.js','143312scOSBL','12416420QrFCmG','const\x20sendForgotPasswordEmail','5BeWlxq','injectIntoCodeBlock','processAndRunGenerator','imports','template','10668879HaWmej','meteor/meteor','authentication-service','const\x20deauthenticateUser','2237796MJGQhg','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','const\x20authenticateToken','\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','error','Meteor.publish','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','Accounts','/imports/startup/lib/authentication-service','565236rasKcb','3ZhlRSm','kit:auth:provider','getMakaProjectConfig'];a113c=function(){return t;};return a113c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a113e from'./auth.generator.js';import a113f from'../../../generators/maka.gen.js';function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x72;let f=c[d];return f;},a113d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a113q(0x76)]({'name':a113q(0x99),'aliases':['m'],'usage':a113q(0xb0),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a113q(0xa0)},async function(a,b){const r=a113q;try{const c=b['force']||![];await this[r(0xaf)]['checkMeteorPackage']([r(0xa3),r(0x9b)],{'shouldInstall':!![]});const d=this[r(0xaf)][r(0x98)](),f=this[r(0xaf)][r(0x93)](),g=f[r(0x96)]['ssr']==='true';await a113f[r(0x7f)](r(0x92),[],{'force':c,'cwd':d,'config':f});const h=await a113f[r(0x7f)](r(0xa5),['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':'/imports/startup/client',j=this[r(0xaf)][r(0x9a)]({'pathParts':[i,'','',r(0x84)]});await this[r(0xaf)]['withValue'](f,async()=>{const s=r;await this['fsi'][s(0x81)]({'srcPath':s(0x79),'destPath':j+'.js','framework':s(0x77),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[r(0xaf)][r(0x9a)]({'pathParts':[i,'','',r(0x9e)]}),l=f['engines']['js'];await this[r(0xaf)]['injectImport']({'filePath':k+'.'+l,'importName':r(0xa2),'modulePath':g?r(0x8f):'/imports/startup/client/authentication-service','isNamedExport':![]}),await this['fsi'][r(0x7e)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x9f),'replace':!![]}),await this[r(0xaf)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x88),'replace':!![]}),await this[r(0xaf)][r(0x7e)]({'filePath':k+'.'+l,'content':r(0xa8),'begin':r(0xaa),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0xac),'begin':r(0x85),'replace':!![]}),await this[r(0xaf)][r(0x7e)]({'filePath':k+'.'+l,'content':r(0x8c),'begin':r(0x7c),'replace':!![]}),await this[r(0xaf)][r(0x7e)]({'filePath':k+'.'+l,'content':r(0x87),'begin':r(0xb2),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':r(0xa7),'replace':!![]});g&&(await this[r(0xaf)][r(0x74)]({'filePath':k+'.'+l,'importName':r(0x97),'modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await this[r(0xaf)][r(0xa4)]({'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':r(0x94),'end':r(0x9c)}));await this[r(0xaf)][r(0x74)]({'filePath':h,'importName':r(0x9d),'modulePath':r(0x83),'isNamedExport':!![],'injectAtStart':!![]}),await this[r(0xaf)][r(0x7e)]({'filePath':h,'content':r(0x89),'begin':r(0x8b),'replace':!![]});const m=this['fsi']['pathFromApp']({'pathParts':[r(0x80),r(0xad),r(0xb1),'index']});await this[r(0xaf)][r(0x74)]({'filePath':m+'.'+l,'importName':r(0x8e),'modulePath':r(0xab),'isNamedExport':!![]}),await this[r(0xaf)][r(0x7e)]({'filePath':m+'.'+l,'content':r(0x8d),'begin':r(0x75),'replace':!![]});}catch(n){Log[r(0x8a)](n),process[r(0xae)](0x1);}},async function(){},a113e);
@@ -1 +1 @@
1
- const a113w=a113d;(function(a,b){const u=a113d,c=a();while(!![]){try{const d=parseInt(u(0xa2))/0x1+parseInt(u(0xbb))/0x2+parseInt(u(0xd1))/0x3+-parseInt(u(0xb0))/0x4+parseInt(u(0xc4))/0x5+-parseInt(u(0xab))/0x6+parseInt(u(0xb1))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x7c650));const a113b=(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;};}()),a113a=a113b(this,function(){const v=a113d;return a113a['toString']()['search'](v(0xb9))[v(0xb2)]()['constructor'](a113a)[v(0xce)](v(0xb9));});a113a();function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x9e;let f=c[d];return f;},a113d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a113e from'./auth.generator.js';import{headerCase}from'change-case';function a113c(){const z=['3607352cVCFNq','3987655HQcmQN','toString','/routes','create','withValue','bright','/imports/startup/client/authentication-provider','<AuthProvider>','(((.+)+)+)+$','split','1143252GFFrqd','exit','injectImport','pathFromApp','template','/imports/startup/server/index','<Routes\x20history={browserHistory}/>','function\x20Routes','\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','3249965IOVjYB','useContext','/imports/startup/client','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','fsi','ssr','appName','replaceAll','error','REACT','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','const\x20Routes','1094487roDtpk','injectAroundString','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','AuthProvider','injectIntoCodeBlock','237809YJqecg','react','.js','</AuthProvider>','engines','authentication-provider','/imports/startup/lib/authentication-provider','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','/imports/startup/lib','5895384gkpmIm','kit/auth/provider/authentication-provider.js','AuthContext','true','force'];a113c=function(){return z;};return a113c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a113w(0xb4)]({'name':'provider','aliases':['p'],'usage':a113w(0xc7),'shortDesc':a113w(0x9f),'validOpts':[a113w(0xaf)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a113w(0xcd)]},'description':a113w(0xcf)},async function(a,b){const x=a113w;try{const c=b[x(0xaf)]||![];Log[x(0xb6)](x(0xa9));const d=this[x(0xc8)]['getMakaProjectConfig'](),f=d[x(0xa6)][x(0xc9)]===x(0xae),g={'name':headerCase(d[x(0xca)])[x(0xcb)]('-','\x20')},h=f?x(0xaa):x(0xc6),i=this[x(0xc8)][x(0xbe)]({'pathParts':[h,'','',x(0xa7)]});await this['fsi'][x(0xb5)](d,async()=>{const y=x;await this[y(0xc8)][y(0xbf)]({'srcPath':y(0xac),'destPath':i+y(0xa4),'framework':y(0xa3),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[x(0xa6)]['js'],k=h+x(0xb3),l=k['split']('/'),m=this['fsi'][x(0xbe)]({'pathParts':l});await this[x(0xc8)][x(0xbd)]({'filePath':m+'.'+j,'importName':x(0xad),'modulePath':f?x(0xa8):x(0xb7),'isNamedExport':!![]}),await this[x(0xc8)]['injectImport']({'filePath':m+'.'+j,'importName':x(0xc5),'modulePath':x(0xa3),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0xc8)][x(0xa1)]({'filePath':m+'.'+j,'content':x(0xc3),'begin':[x(0xd0),x(0xc2)],'replace':!![]});const n='/imports/startup/client/index',o=n[x(0xba)]('/'),p=this[x(0xc8)][x(0xbe)]({'pathParts':o});await this[x(0xc8)][x(0xbd)]({'filePath':p+'.'+j,'importName':x(0xa0),'modulePath':f?x(0xa8):x(0xb7),'isNamedExport':!![]}),await this[x(0xc8)][x(0x9e)]({'filePath':p+'.'+j,'aboveContent':x(0xb8),'belowContent':'</AuthProvider>','targetString':x(0xc1),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0xc0),r=q[x(0xba)]('/'),s=this[x(0xc8)][x(0xbe)]({'pathParts':r});await this[x(0xc8)][x(0xbd)]({'filePath':s+'.'+j,'importName':x(0xa0),'modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi'][x(0x9e)]({'filePath':s+'.'+j,'aboveContent':x(0xb8),'belowContent':x(0xa5),'targetString':'<Routes\x20history={history}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0xcc)](t),process[x(0xbc)](0x1);}},async function(){},a113e);
1
+ const a114w=a114d;(function(a,b){const u=a114d,c=a();while(!![]){try{const d=parseInt(u(0x9a))/0x1+parseInt(u(0xb8))/0x2+parseInt(u(0xbc))/0x3+-parseInt(u(0xa3))/0x4+-parseInt(u(0xb5))/0x5*(parseInt(u(0xae))/0x6)+-parseInt(u(0x9f))/0x7+parseInt(u(0xa5))/0x8*(parseInt(u(0xa0))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xcf6c1));const a114b=(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;};}()),a114a=a114b(this,function(){const v=a114d;return a114a[v(0xad)]()[v(0xaf)]('(((.+)+)+)+$')['toString']()['constructor'](a114a)[v(0xaf)](v(0xb9));});a114a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a114e from'./auth.generator.js';function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x95;let f=c[d];return f;},a114d(a,b);}import{headerCase}from'change-case';function a114c(){const z=['withValue','react','exit','split','fsi','347888JoTMWF','const\x20Routes','</AuthProvider>','/imports/startup/server/index','/imports/startup/lib','2101295OlXXFs','18FywKJw','engines','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','2311828kAizfE','<AuthProvider>','4002544jlEQse','/routes','AuthContext','/imports/startup/client/index','error','AuthProvider','/imports/startup/client','injectImport','toString','497682pPKijq','search','authentication-provider','/imports/startup/lib/authentication-provider','appName','getMakaProjectConfig','useContext','95TRjIcL','.js','pathFromApp','2647534AtpFbp','(((.+)+)+)+$','injectAroundString','/imports/startup/client/authentication-provider','1894335jlSrkQ','Creating\x20an\x20AuthProvider\x20and\x20AuthContext'];a114c=function(){return z;};return a114c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a114w(0xa2),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const x=a114w;try{const c=b['force']||![];Log['bright'](x(0xbd));const d=this['fsi'][x(0xb3)](),f=d[x(0xa1)]['ssr']==='true',g={'name':headerCase(d[x(0xb2)])['replaceAll']('-','\x20')},h=f?x(0x9e):x(0xab),i=this['fsi']['pathFromApp']({'pathParts':[h,'','',x(0xb0)]});await this[x(0x99)][x(0x95)](d,async()=>{const y=x;await this[y(0x99)]['template']({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+y(0xb6),'framework':y(0x96),'context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+x(0xa6),l=k[x(0x98)]('/'),m=this['fsi'][x(0xb7)]({'pathParts':l});await this[x(0x99)][x(0xac)]({'filePath':m+'.'+j,'importName':x(0xa7),'modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x99)]['injectImport']({'filePath':m+'.'+j,'importName':x(0xb4),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x99)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','begin':[x(0x9b),'function\x20Routes'],'replace':!![]});const n=x(0xa8),o=n[x(0x98)]('/'),p=this['fsi']['pathFromApp']({'pathParts':o});await this['fsi'][x(0xac)]({'filePath':p+'.'+j,'importName':x(0xaa),'modulePath':f?x(0xb1):x(0xbb),'isNamedExport':!![]}),await this[x(0x99)][x(0xba)]({'filePath':p+'.'+j,'aboveContent':x(0xa4),'belowContent':'</AuthProvider>','targetString':'<Routes\x20history={browserHistory}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x9d),r=q[x(0x98)]('/'),s=this[x(0x99)]['pathFromApp']({'pathParts':r});await this[x(0x99)][x(0xac)]({'filePath':s+'.'+j,'importName':x(0xaa),'modulePath':f?x(0xb1):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x99)][x(0xba)]({'filePath':s+'.'+j,'aboveContent':x(0xa4),'belowContent':x(0x9c),'targetString':'<Routes\x20history={history}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0xa9)](t),process[x(0x97)](0x1);}},async function(){},a114e);
@@ -1 +1 @@
1
- (function(a,b){var f=a114d,c=a();while(!![]){try{var d=parseInt(f(0x119))/0x1*(-parseInt(f(0x118))/0x2)+-parseInt(f(0x11b))/0x3*(-parseInt(f(0x11a))/0x4)+parseInt(f(0x112))/0x5+-parseInt(f(0x113))/0x6+-parseInt(f(0x114))/0x7+parseInt(f(0x11e))/0x8*(-parseInt(f(0x11f))/0x9)+parseInt(f(0x11d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0x5b713));function a114d(a,b){var c=a114c();return a114d=function(d,e){d=d-0x112;var f=c[d];return f;},a114d(a,b);}var a114b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a114d;if(c){var e=c[g(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){var h=a114d;return a114a[h(0x116)]()[h(0x115)](h(0x11c))[h(0x116)]()[h(0x117)](a114a)[h(0x115)](h(0x11c));});a114a();function a114c(){var i=['19444CwTZIS','291efLotW','(((.+)+)+)+$','7678580CMOgtZ','1073672XLHQeV','9ZreHcm','apply','3057575lvUSun','2866428NXLXSy','3768653HziVWE','search','toString','constructor','2wYJJcZ','326017eAwcgT'];a114c=function(){return i;};return a114c();}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a115d,c=a();while(!![]){try{var d=-parseInt(f(0xb9))/0x1*(-parseInt(f(0xba))/0x2)+-parseInt(f(0xbb))/0x3+-parseInt(f(0xc0))/0x4*(-parseInt(f(0xbd))/0x5)+-parseInt(f(0xbf))/0x6+-parseInt(f(0xb7))/0x7*(-parseInt(f(0xbe))/0x8)+-parseInt(f(0xb2))/0x9+-parseInt(f(0xbc))/0xa*(parseInt(f(0xb5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x3781b));var a115b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a115d;if(c){var e=c[g(0xb3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){var h=a115d;return a115a[h(0xb4)]()['search'](h(0xb6))[h(0xb4)]()[h(0xb8)](a115a)['search'](h(0xb6));});function a115c(){var i=['1nIfhIe','523506dfZYis','314400iuQtYo','90BjvtVw','925GgyXgF','8ZNovsx','60804kHruiX','8348RGOjTs','3011256TAZYQa','apply','toString','81444SRkZeK','(((.+)+)+)+$','669627MKuhIc','constructor'];a115c=function(){return i;};return a115c();}a115a();function a115d(a,b){var c=a115c();return a115d=function(d,e){d=d-0xb2;var f=c[d];return f;},a115d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a115i=a115d;function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x122;let f=c[d];return f;},a115d(a,b);}(function(a,b){const f=a115d,c=a();while(!![]){try{const d=-parseInt(f(0x127))/0x1*(parseInt(f(0x12c))/0x2)+parseInt(f(0x126))/0x3+parseInt(f(0x125))/0x4+-parseInt(f(0x124))/0x5*(-parseInt(f(0x12e))/0x6)+parseInt(f(0x134))/0x7+parseInt(f(0x12d))/0x8*(parseInt(f(0x132))/0x9)+-parseInt(f(0x12b))/0xa*(parseInt(f(0x12a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x5d57b));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a115d;if(c){const e=c[g(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const h=a115d;return a115a['toString']()[h(0x136)](h(0x131))['toString']()[h(0x12f)](a115a)['search'](h(0x131));});a115a();import{Generator}from'../../../generator.js';import a115e from'../kit.js';const EsriGen=Generator[a115i(0x123)]({'name':'esri','aliases':['e'],'usage':a115i(0x135),'noNeedResource':!![],'shortDesc':a115i(0x133),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a115i(0x130)},async function(){const j=a115i;return{'success':!![],'message':j(0x122),'details':{'filesCreated':[j(0x128)],'filesUpdated':['/foo']}};},async function(){},a115e);function a115c(){const k=['create','1676975RrJrWj','2759976cZeGXw','1370100FvMWnq','1gqHKXz','/foo/bar','apply','132YTJAWY','1560010AoYwbj','574138tsknHh','32teQEIm','12ZDRDAL','constructor','\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','(((.+)+)+)+$','1581597yCGqsD','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','146972BSUjRH','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','search','Esri\x20Kit\x20generated\x20successfully'];a115c=function(){return k;};return a115c();}export default EsriGen;
1
+ function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x8d;let f=c[d];return f;},a116d(a,b);}const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=-parseInt(f(0x98))/0x1+parseInt(f(0x95))/0x2*(parseInt(f(0x99))/0x3)+parseInt(f(0x8e))/0x4+-parseInt(f(0x9e))/0x5+-parseInt(f(0x8f))/0x6+parseInt(f(0x9d))/0x7+parseInt(f(0x97))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x1bca8));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a116d;if(c){const e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const h=a116d;return a116a[h(0x9c)]()[h(0x9b)](h(0x94))[h(0x9c)]()['constructor'](a116a)[h(0x9b)](h(0x94));});a116a();import{Generator}from'../../../generator.js';import a116e from'../kit.js';const EsriGen=Generator[a116i(0x9a)]({'name':a116i(0x90),'aliases':['e'],'usage':a116i(0x96),'noNeedResource':!![],'shortDesc':a116i(0x93),'validOpts':[''],'isPro':!![],'examples':[a116i(0x8d)],'description':'\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'},async function(){const j=a116i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0x92)]}};},async function(){},a116e);export default EsriGen;function a116c(){const k=['150AgFYos','create','search','toString','42028lwbMpy','417825HiderC','maka\x20g:kit:e','251368hVyklI','463356icWNar','esri','apply','/foo','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','(((.+)+)+)+$','2760Tiwemz','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','2783024wTEGsK','211101pJPNED'];a116c=function(){return k;};return a116c();}
@@ -1 +1 @@
1
- const a116s=a116d;(function(a,b){const p=a116d,c=a();while(!![]){try{const d=-parseInt(p(0x99))/0x1+parseInt(p(0x8a))/0x2*(-parseInt(p(0x6e))/0x3)+parseInt(p(0x8d))/0x4*(-parseInt(p(0x9a))/0x5)+parseInt(p(0x8b))/0x6+-parseInt(p(0x6c))/0x7+-parseInt(p(0x83))/0x8*(-parseInt(p(0x96))/0x9)+-parseInt(p(0x70))/0xa*(-parseInt(p(0x9e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x69d1e));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a116d;if(c){const e=c[q(0x77)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const r=a116d;return a116a[r(0x9b)]()[r(0x72)](r(0x90))[r(0x9b)]()[r(0x74)](a116a)['search'](r(0x90));});a116a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a116e from'./esri.generator.js';import a116f from'../../../generators/maka.gen.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x6c;let f=c[d];return f;},a116d(a,b);}import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';function a116c(){const v=['Generating\x20a\x20map\x20component','page','1624XfebVZ','withValue','template','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','/imports/ui/hooks','dir','4lQwCGw','350886ZWZuxZ','getMakaProjectConfig','396cdEgxH','baseDir','injectIntoFile','(((.+)+)+)+$','.js','exit','injectImport','engines','fsi','28935rLrTcV','map','appName','757166NxgWpv','11930RJwkjm','toString','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','/imports/startup/lib/templates','1595lSRTvp','@esri/react-arcgis','split','652568RXKGDT','bright','572301wumWVH','Generate\x20an\x20Esri\x20map\x20component','82100paeMpz','ssr','search','basic-map','constructor','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','/imports/ui/','apply','error','checkNpmPackage','pathFromApp','<div\x20id=\x22map\x22>','/imports/startup/client/templates','true','esri-loader','create','injectTemplateModule'];a116c=function(){return v;};return a116c();}Generator[a116s(0x7f)]({'name':'map','aliases':['m'],'usage':a116s(0x87),'shortDesc':a116s(0x6f),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines['FALSE']},'description':a116s(0x9c)},async function(a,b){const t=a116s;try{Log[t(0x6d)](t(0x81));const c=t(0x73);await this[t(0x95)][t(0x79)]([t(0x9f),t(0x7e)],{'shouldInstall':!![]});const d=this[t(0x95)]['findProjectDirectory'](),f=this[t(0x95)][t(0x8c)](),g=f[t(0x94)][t(0x71)]===t(0x7d),h=await a116f[t(0x86)](t(0x82),[t(0x97)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x98)])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x8e)]?t(0x76)+b[t(0x8e)]:t(0x88),k=this[t(0x95)][t(0x7a)]({'pathParts':[j,b[t(0x89)],paramCase(c),paramCase(c)]});await this[t(0x95)][t(0x84)](f,async()=>{const u=t;await this[u(0x95)][u(0x85)]({'srcPath':'kit/esri/map/'+c+u(0x91),'destPath':k+u(0x91),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x89)]+'/'+c+'/'+c;await this[t(0x95)][t(0x80)](c,f,l);const m=h[t(0xa0)]('/'),n=this[t(0x95)][t(0x7a)]({'pathParts':m});await this[t(0x95)][t(0x93)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x9d):t(0x7c),'isNamedExport':!![]}),await this[t(0x95)][t(0x8f)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x75),'begin':['<div\x20id=\x22map\x22>',t(0x7b)],'end':['</div>'],'replace':!![]});}catch(o){Log[t(0x78)](o),process[t(0x92)](0x1);}},async function(){},a116e);
1
+ const a117r=a117d;function a117c(){const u=['split','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','Generating\x20a\x20map\x20component','react','@esri/react-arcgis','dir','injectIntoFile','template','6PqOKrb','search','432369IyCYSI','esri-loader','Generate\x20an\x20Esri\x20map\x20component','true','.js','findProjectDirectory','/imports/startup/client/templates','create','2469712uKCbsv','5402585KQpaVr','engines','error','1283149OXdPru','pathFromApp','(((.+)+)+)+$','REACT','</div>','/imports/ui/','toString','fsi','810ivjUik','/imports/startup/lib/templates','3019926gMueJg','kit/esri/map/','appName','injectImport','map','getMakaProjectConfig','3357sQfqtC','baseDir','FALSE','bright','constructor','324qdtvpO','/imports/ui/hooks','\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','<div\x20id=\x22map\x22>','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','withValue','checkNpmPackage','ssr','basic-map','injectTemplateModule','7142112qIDlDx'];a117c=function(){return u;};return a117c();}(function(a,b){const p=a117d,c=a();while(!![]){try{const d=-parseInt(p(0x112))/0x1+-parseInt(p(0x10e))/0x2+-parseInt(p(0xec))/0x3*(parseInt(p(0xf1))/0x4)+-parseInt(p(0x10f))/0x5+-parseInt(p(0x104))/0x6*(parseInt(p(0xe6))/0x7)+parseInt(p(0xfb))/0x8+-parseInt(p(0x106))/0x9*(-parseInt(p(0x11a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xa1fd2));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 q=a117d;return a117a['toString']()['search'](q(0x114))[q(0x118)]()[q(0xf0)](a117a)[q(0x105)](q(0x114));});a117a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./esri.generator.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xe6;let f=c[d];return f;},a117d(a,b);}import a117f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117r(0x10d)]({'name':a117r(0xea),'aliases':['m'],'usage':a117r(0xfd),'shortDesc':a117r(0x108),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117r(0x115)],'ssr':SsrEngines[a117r(0xee)]},'description':a117r(0xf3)},async function(a,b){const s=a117r;try{Log[s(0xef)](s(0xfe));const c=s(0xf9);await this[s(0x119)][s(0xf7)]([s(0x100),s(0x107)],{'shouldInstall':!![]});const d=this['fsi'][s(0x10b)](),f=this[s(0x119)][s(0xeb)](),g=f[s(0x110)][s(0xf8)]===s(0x109),h=await a117f['processAndRunGenerator']('page',[s(0xea)],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0xe8)])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[s(0xed)]?s(0x117)+b['baseDir']:s(0xf2),k=this['fsi'][s(0x113)]({'pathParts':[j,b[s(0x101)],paramCase(c),paramCase(c)]});await this['fsi'][s(0xf6)](f,async()=>{const t=s;await this[t(0x119)][t(0x103)]({'srcPath':t(0xe7)+c+t(0x10a),'destPath':k+'.js','framework':t(0xff),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[s(0x101)]+'/'+c+'/'+c;await this[s(0x119)][s(0xfa)](c,f,l);const m=h[s(0xfc)]('/'),n=this[s(0x119)][s(0x113)]({'pathParts':m});await this[s(0x119)][s(0xe9)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0x11b):s(0x10c),'isNamedExport':!![]}),await this[s(0x119)][s(0x102)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0xf5),'begin':['<div\x20id=\x22map\x22>',s(0xf4)],'end':[s(0x116)],'replace':!![]});}catch(o){Log[s(0x111)](o),process['exit'](0x1);}},async function(){},a117e);
@@ -1 +1 @@
1
- const a117h=a117d;(function(a,b){const f=a117d,c=a();while(!![]){try{const d=parseInt(f(0xae))/0x1*(parseInt(f(0xa4))/0x2)+-parseInt(f(0xaf))/0x3+-parseInt(f(0xb4))/0x4*(parseInt(f(0xa7))/0x5)+-parseInt(f(0xac))/0x6+-parseInt(f(0xb1))/0x7+parseInt(f(0xaa))/0x8+parseInt(f(0xa6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x80645));function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xa4;let f=c[d];return f;},a117d(a,b);}const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const g=a117d;return a117a[g(0xad)]()[g(0xa9)]('(((.+)+)+)+$')[g(0xad)]()[g(0xab)](a117a)[g(0xa9)](g(0xb0));});a117a();import{Generator}from'../../generator.js';const KitGen=Generator[a117h(0xa8)]({'name':a117h(0xb5),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a117h(0xb3),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a117h(0xa5),a117h(0xb2)]},async function(){});function a117c(){const i=['(((.+)+)+)+$','4137847CYPASy','maka\x20g:k','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','45656ZCMvmD','kit','4cJaZMc','maka\x20g:kit','15894072NIYFET','45vXUoQq','create','search','1188712MhiSzC','constructor','974382MJqxCB','toString','216014GAGCFg','2893464GnaArJ'];a117c=function(){return i;};return a117c();}export default KitGen;
1
+ const a118i=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d=parseInt(f(0x197))/0x1+parseInt(f(0x193))/0x2*(-parseInt(f(0x18b))/0x3)+parseInt(f(0x196))/0x4+parseInt(f(0x18f))/0x5+-parseInt(f(0x198))/0x6+parseInt(f(0x199))/0x7*(-parseInt(f(0x191))/0x8)+parseInt(f(0x19a))/0x9*(parseInt(f(0x195))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x85efb));function a118c(){const j=['maka\x20g:k','69152KkxfRB','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','176RefNml','toString','10aONavr','1737720QViVAk','538129baHLEJ','1951368MOUsAn','434AGmTOa','3808368pspJUp','kit','8529vDEgVV','create','constructor','apply','1321160yeZvTB'];a118c=function(){return j;};return a118c();}const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a['toString']()['search']('(((.+)+)+)+$')[h(0x194)]()[h(0x18d)](a118a)['search']('(((.+)+)+)+$');});a118a();function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x18b;let f=c[d];return f;},a118d(a,b);}import{Generator}from'../../generator.js';const KitGen=Generator[a118i(0x18c)]({'name':a118i(0x19b),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a118i(0x192),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a118i(0x190)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- function a118c(){var i=['1379404fFqAvu','apply','532990pwqZpU','2GBIOrO','801YXmbNZ','search','2403kdmSPN','4072kTCMxk','(((.+)+)+)+$','650960irNcBu','1711367KYjfhj','toString','1722024YTwCXw','6CcHSeh'];a118c=function(){return i;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0xcc))/0x1+-parseInt(f(0xcb))/0x2*(-parseInt(f(0xd4))/0x3)+-parseInt(f(0xd6))/0x4+-parseInt(f(0xca))/0x5*(-parseInt(f(0xd5))/0x6)+-parseInt(f(0xd2))/0x7+parseInt(f(0xcf))/0x8*(parseInt(f(0xce))/0x9)+parseInt(f(0xd1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x478d2));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xd3)]()[h(0xcd)](h(0xd0))[h(0xd3)]()['constructor'](a118a)[h(0xcd)]('(((.+)+)+)+$');});a118a();function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xc9;var f=c[d];return f;},a118d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0x138))/0x1+-parseInt(f(0x12f))/0x2+-parseInt(f(0x12d))/0x3*(parseInt(f(0x136))/0x4)+-parseInt(f(0x12c))/0x5*(parseInt(f(0x12e))/0x6)+parseInt(f(0x135))/0x7+-parseInt(f(0x131))/0x8*(-parseInt(f(0x137))/0x9)+parseInt(f(0x12b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xc22f6));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x132)]()[h(0x130)](h(0x133))[h(0x132)]()['constructor'](a119a)[h(0x130)](h(0x133));});function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x12b;var f=c[d];return f;},a119d(a,b);}function a119c(){var i=['(((.+)+)+)+$','apply','3442558VovHwJ','448dpbKzE','14063940oKiTAv','347029sCBSQs','8182970kTiMyV','35GAUjyi','2373WsOttY','1027578LWAeXB','2273930nzjkTh','search','8tZyNEG','toString'];a119c=function(){return i;};return a119c();}a119a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a119J=a119d;function a119c(){const N=['.js','forgot-password','kit/mui/auth/forgot-password/','force','2899932wpujVY','constructor','react','kit/mui/auth/logout/','split','basic-register-page','10299330nqcwdh','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','basic-password-reset-page','basic-forgot-password-page','log','/imports/startup/lib/authentication-provider','authType','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','error','1138974CvxXlW','injectImport','kit/mui/auth/login/','list','custom','MATERIAL','10dFcjZg','2htBzmU','login','931344osNVEu','kit/mui/auth/register/','/imports/startup/client/authentication-provider','create','register','ssr','layouts','dir','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','baseDir','route','meteor','findProjectDirectory','3315368DPuVAx','247174KxBQLx','withValue','basic-login-page','basic-logout-page','template','appName','options','apply','5978256MrEAdu','engines','Cleaning\x20up...','logout','toString','processAndRunGenerator','kit/mui/auth/password-reset/','kit:auth:meteor','injectTemplateModule','maka\x20generate:kit:mui:frame','Custom\x20(roll\x20your\x20own)','getMakaProjectConfig','maka\x20g:k:m:f','fsi','pathFromApp','AuthContext'];a119c=function(){return N;};return a119c();}(function(a,b){const G=a119d,c=a();while(!![]){try{const d=-parseInt(G(0x119))/0x1*(parseInt(G(0xe7))/0x2)+parseInt(G(0x11b))/0x3+-parseInt(G(0xe6))/0x4+parseInt(G(0x118))/0x5*(parseInt(G(0x112))/0x6)+parseInt(G(0x103))/0x7+-parseInt(G(0xef))/0x8+parseInt(G(0x109))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x67dee));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a119d;if(c){const e=c[H(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const I=a119d;return a119a[I(0xf3)]()['search'](I(0x123))['toString']()[I(0x104)](a119a)['search'](I(0x123));});a119a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xe4;let f=c[d];return f;},a119d(a,b);}import a119e from'../../../generators/maka.gen.js';import a119f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a119J(0x11e)]({'name':'auth','aliases':['a'],'usage':a119J(0x124),'shortDesc':a119J(0x10a),'validOpts':[a119J(0x121),a119J(0x102)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a119J(0x117)],'client':ClientEngines['REACT']},'examples':[a119J(0xf8),a119J(0xfb)],'description':a119J(0x110)},async function(a,b){const K=a119J;try{const c=b[K(0x102)]||![],d=this[K(0xfc)][K(0xe5)](),f=this['fsi'][K(0xfa)](),{authType:g}=await Actions[K(0xed)]({'type':K(0x115),'name':K(0x10f),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':'Meteor\x20Accounts','value':K(0xe4)},{'name':K(0xf9),'value':K(0x116)}]}),h=K(0xe9),i=K(0xea),j=K(0x108),k=K(0x10b),l=K(0x10c),m=b['baseDir']?'/imports/ui/'+b[K(0x125)]:'/imports/ui/pages/auth',n=this['fsi']['pathFromApp']({'pathParts':[m,b[K(0x122)],paramCase(h),paramCase(h)]}),o=this['fsi']['pathFromApp']({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[K(0xfc)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this[K(0xfc)]['pathFromApp']({'pathParts':[m,b[K(0x122)],paramCase(k),paramCase(k)]}),r=this['fsi']['pathFromApp']({'pathParts':[m,b[K(0x122)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0xec)])['replaceAll']('-','\x20')};await this['fsi'][K(0xe8)](f,async()=>{const L=K;await this['fsi'][L(0xeb)]({'srcPath':L(0x114)+h+L(0xff),'destPath':n+L(0xff),'framework':L(0x105),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0xeb)]({'srcPath':L(0x106)+i+L(0xff),'destPath':o+'.js','framework':L(0x105),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xfc)][L(0xeb)]({'srcPath':L(0x11c)+j+'.js','destPath':p+L(0xff),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xfc)][L(0xeb)]({'srcPath':L(0xf5)+k+L(0xff),'destPath':q+L(0xff),'framework':L(0x105),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':L(0x101)+l+L(0xff),'destPath':r+'.js','framework':L(0x105),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x122)]+'/'+h+'/'+h;await this['fsi'][K(0xf7)](h,f,t);const u=''+m+b[K(0x122)]+'/'+i+'/'+i;await this[K(0xfc)]['injectTemplateModule'](i,f,u);const v=''+m+b[K(0x122)]+'/'+j+'/'+j;await this['fsi']['injectTemplateModule'](j,f,v);const w=''+m+b[K(0x122)]+'/'+k+'/'+k;await this['fsi'][K(0xf7)](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[K(0xfc)]['injectTemplateModule'](l,f,x),await a119e['processAndRunGenerator'](K(0x126),['basic-login-page'],{'url':K(0x11a),'cwd':d,'config':f}),await a119e['processAndRunGenerator'](K(0x126),['basic-logout-page'],{'url':K(0xf2),'private':!![],'cwd':d,'config':f}),await a119e[K(0xf4)]('route',['basic-register-page'],{'url':K(0x11f),'cwd':d,'config':f}),await a119e[K(0xf4)](K(0x126),['basic-password-reset-page'],{'url':'reset-password/:token','cwd':d,'config':f}),await a119e[K(0xf4)](K(0x126),[K(0x10c)],{'url':K(0x100),'cwd':d,'config':f});g===K(0xe4)&&await a119e[K(0xf4)](K(0xf6),[],{'force':c,'cwd':d,'config':f});g===K(0x116)&&await a119e[K(0xf4)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f[K(0xf0)][K(0x120)]==='true',z=f['engines']['js'],A=this[K(0xfc)][K(0xfd)]({'pathParts':t[K(0x107)]('/')});await this[K(0xfc)][K(0x113)]({'filePath':A+'.'+z,'importName':K(0xfe),'modulePath':y?K(0x10e):K(0x11d),'isNamedExport':!![]});const B=this[K(0xfc)][K(0xfd)]({'pathParts':u['split']('/')});await this[K(0xfc)][K(0x113)]({'filePath':B+'.'+z,'importName':K(0xfe),'modulePath':y?K(0x10e):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0xfc)][K(0xfd)]({'pathParts':v[K(0x107)]('/')});await this[K(0xfc)][K(0x113)]({'filePath':C+'.'+z,'importName':K(0xfe),'modulePath':y?K(0x10e):K(0x11d),'isNamedExport':!![]});const D=this[K(0xfc)][K(0xfd)]({'pathParts':w[K(0x107)]('/')});await this[K(0xfc)][K(0x113)]({'filePath':D+'.'+z,'importName':K(0xfe),'modulePath':y?K(0x10e):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[K(0xfc)][K(0xfd)]({'pathParts':x['split']('/')});await this[K(0xfc)][K(0x113)]({'filePath':E+'.'+z,'importName':K(0xfe),'modulePath':y?K(0x10e):K(0x11d),'isNamedExport':!![]});}catch(F){Log[K(0x111)](F);}},async function(){const M=a119J;console[M(0x10d)](M(0xf1));},a119f);
1
+ const a120J=a120d;function a120c(){const N=['login','REACT','template','kit/mui/auth/login/','/imports/startup/lib/authentication-provider','Meteor\x20Accounts','kit/mui/auth/register/','kit:auth:provider','auth','baseDir','custom','create','kit/mui/auth/logout/','search','6HuWWBl','Custom\x20(roll\x20your\x20own)','toString','kit/mui/auth/forgot-password/','replaceAll','/imports/startup/client/authentication-provider','basic-logout-page','options','54234RlOMne','getMakaProjectConfig','react','234317gpkhyQ','split','pathFromApp','/imports/ui/','20321037HWNPIt','processAndRunGenerator','appName','basic-register-page','(((.+)+)+)+$','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','basic-forgot-password-page','apply','maka\x20generate:kit:mui:frame','AuthContext','2GYutNW','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-login-page','.js','injectTemplateModule','196BjljWq','MATERIAL','235168CzYDWi','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','layouts','meteor','injectImport','force','dir','findProjectDirectory','ssr','basic-password-reset-page','8119055GDdLHW','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','logout','reset-password/:token','4085997NqdNph','fsi','Cleaning\x20up...','engines','787260gVjlCT','constructor','kit:auth:meteor','route','540lXVile'];a120c=function(){return N;};return a120c();}(function(a,b){const G=a120d,c=a();while(!![]){try{const d=parseInt(G(0x11e))/0x1*(parseInt(G(0x12c))/0x2)+parseInt(G(0xfc))/0x3+parseInt(G(0x100))/0x4+parseInt(G(0xf8))/0x5*(-parseInt(G(0x113))/0x6)+parseInt(G(0xec))/0x7*(-parseInt(G(0xee))/0x8)+parseInt(G(0x11b))/0x9*(-parseInt(G(0x104))/0xa)+parseInt(G(0x122))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xd3f63));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a120d;if(c){const e=c[H(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const I=a120d;return a120a[I(0x115)]()[I(0x112)](I(0x126))[I(0x115)]()[I(0x101)](a120a)[I(0x112)](I(0x126));});a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xe9;let f=c[d];return f;},a120d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a120e from'../../../generators/maka.gen.js';import a120f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120J(0x110)]({'name':a120J(0x10d),'aliases':['a'],'usage':a120J(0xef),'shortDesc':a120J(0x127),'validOpts':[a120J(0xf0),a120J(0xf3)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a120J(0xed)],'client':ClientEngines[a120J(0x106)]},'examples':[a120J(0x12a),'maka\x20g:k:m:f'],'description':a120J(0x12d)},async function(a,b){const K=a120J;try{const c=b['force']||![],d=this[K(0xfd)][K(0xf5)](),f=this[K(0xfd)][K(0x11c)](),{authType:g}=await Actions[K(0x11a)]({'type':'list','name':'authType','message':K(0xf9),'choices':[{'name':K(0x10a),'value':K(0xf1)},{'name':K(0x114),'value':K(0x10f)}]}),h='basic-login-page',i=K(0x119),j=K(0x125),k=K(0xf7),l=K(0x128),m=b[K(0x10e)]?K(0x121)+b[K(0x10e)]:'/imports/ui/pages/auth',n=this['fsi']['pathFromApp']({'pathParts':[m,b[K(0xf4)],paramCase(h),paramCase(h)]}),o=this[K(0xfd)]['pathFromApp']({'pathParts':[m,b[K(0xf4)],paramCase(i),paramCase(i)]}),p=this['fsi']['pathFromApp']({'pathParts':[m,b[K(0xf4)],paramCase(j),paramCase(j)]}),q=this[K(0xfd)][K(0x120)]({'pathParts':[m,b[K(0xf4)],paramCase(k),paramCase(k)]}),r=this[K(0xfd)][K(0x120)]({'pathParts':[m,b[K(0xf4)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x124)])[K(0x117)]('-','\x20')};await this[K(0xfd)]['withValue'](f,async()=>{const L=K;await this[L(0xfd)][L(0x107)]({'srcPath':L(0x108)+h+'.js','destPath':n+L(0xea),'framework':L(0x11d),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xfd)]['template']({'srcPath':L(0x111)+i+'.js','destPath':o+L(0xea),'framework':L(0x11d),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x107)]({'srcPath':L(0x10b)+j+L(0xea),'destPath':p+L(0xea),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xfd)][L(0x107)]({'srcPath':'kit/mui/auth/password-reset/'+k+'.js','destPath':q+L(0xea),'framework':L(0x11d),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xfd)][L(0x107)]({'srcPath':L(0x116)+l+L(0xea),'destPath':r+L(0xea),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b['dir']+'/'+h+'/'+h;await this['fsi'][K(0xeb)](h,f,t);const u=''+m+b[K(0xf4)]+'/'+i+'/'+i;await this['fsi'][K(0xeb)](i,f,u);const v=''+m+b[K(0xf4)]+'/'+j+'/'+j;await this[K(0xfd)][K(0xeb)](j,f,v);const w=''+m+b[K(0xf4)]+'/'+k+'/'+k;await this[K(0xfd)][K(0xeb)](k,f,w);const x=''+m+b[K(0xf4)]+'/'+l+'/'+l;await this[K(0xfd)][K(0xeb)](l,f,x),await a120e[K(0x123)](K(0x103),[K(0xe9)],{'url':K(0x105),'cwd':d,'config':f}),await a120e[K(0x123)](K(0x103),[K(0x119)],{'url':K(0xfa),'private':!![],'cwd':d,'config':f}),await a120e['processAndRunGenerator']('route',[K(0x125)],{'url':'register','cwd':d,'config':f}),await a120e[K(0x123)](K(0x103),[K(0xf7)],{'url':K(0xfb),'cwd':d,'config':f}),await a120e[K(0x123)](K(0x103),[K(0x128)],{'url':'forgot-password','cwd':d,'config':f});g===K(0xf1)&&await a120e['processAndRunGenerator'](K(0x102),[],{'force':c,'cwd':d,'config':f});g===K(0x10f)&&await a120e[K(0x123)](K(0x10c),[],{'force':c,'cwd':d,'config':f});const y=f[K(0xff)][K(0xf6)]==='true',z=f[K(0xff)]['js'],A=this[K(0xfd)][K(0x120)]({'pathParts':t['split']('/')});await this[K(0xfd)]['injectImport']({'filePath':A+'.'+z,'importName':K(0x12b),'modulePath':y?K(0x109):K(0x118),'isNamedExport':!![]});const B=this['fsi'][K(0x120)]({'pathParts':u[K(0x11f)]('/')});await this[K(0xfd)][K(0xf2)]({'filePath':B+'.'+z,'importName':K(0x12b),'modulePath':y?K(0x109):K(0x118),'isNamedExport':!![]});const C=this['fsi'][K(0x120)]({'pathParts':v[K(0x11f)]('/')});await this[K(0xfd)][K(0xf2)]({'filePath':C+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':K(0x118),'isNamedExport':!![]});const D=this[K(0xfd)][K(0x120)]({'pathParts':w[K(0x11f)]('/')});await this[K(0xfd)][K(0xf2)]({'filePath':D+'.'+z,'importName':K(0x12b),'modulePath':y?K(0x109):K(0x118),'isNamedExport':!![]});const E=this['fsi']['pathFromApp']({'pathParts':x[K(0x11f)]('/')});await this[K(0xfd)][K(0xf2)]({'filePath':E+'.'+z,'importName':K(0x12b),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x118),'isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const M=a120J;console['log'](M(0xfe));},a120f);
@@ -1 +1 @@
1
- const a120D=a120d;(function(a,b){const B=a120d,c=a();while(!![]){try{const d=-parseInt(B(0xe0))/0x1*(parseInt(B(0xfb))/0x2)+-parseInt(B(0xcd))/0x3*(-parseInt(B(0xc5))/0x4)+parseInt(B(0xed))/0x5+parseInt(B(0xf8))/0x6+parseInt(B(0xd7))/0x7*(parseInt(B(0xe6))/0x8)+-parseInt(B(0xdd))/0x9+parseInt(B(0xc4))/0xa*(-parseInt(B(0xf9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xe601d));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 C=a120d;return a120a[C(0xef)]()[C(0xd8)](C(0x100))[C(0xef)]()['constructor'](a120a)['search']('(((.+)+)+)+$');});function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xbd;let f=c[d];return f;},a120d(a,b);}function a120c(){const H=['198tbFSyh','injectIntoFile','force','length','jsx','basic-drawer','checkbox','findAppDirectory','app-tests','dir','5131DAhQyx','search','/imports/startup/client/templates','{props.children}','tests','test','2039274vXIygd','<div\x20id=\x22','{\x20this.props.children\x20}','771937GlYxhR','imports','/imports/startup/lib/templates','maka:react-tracker','MATERIAL','join','1912TUVZaB','options','pathFromApp','kit/mui/frame/app-bars/','getMakaProjectConfig','</div>','create','8556425DBWaLW','session','toString','basic-sticky-footer','@mui/material/Container','getFiles','appName','\x20/>\x0a','getDirectories','@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>','7791234NWbAoZ','22848837zmTZMD','withValue','2plrgaM','engines','kit/mui/frame/drawers/','template','baseDir','(((.+)+)+)+$','true','Cleaning\x20up...','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','layouts','fsi','checkMeteorPackage','Box','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','{\x20props.children\x20}','injectTemplateModule','-hook\x22>','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','/imports/ui/components','injectImport','injectAroundString','{this.props.children}','10avGLSV','50472kGTsNA','log','kit/mui/frame/footers/','frame','basic-app-bar','react','.js','No\x20layouts\x20selected'];a120c=function(){return H;};return a120c();}a120a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a120e from'path';import a120f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120D(0xec)]({'name':a120D(0xc8),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a120D(0x104),a120D(0xff),a120D(0xd6),a120D(0xcf)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a120D(0xe4)],'client':ClientEngines['REACT']},'examples':['maka\x20generate:kit:mui:frame','maka\x20g:k:m:f'],'description':a120D(0xbf)},async function(a,b){const E=a120D;try{const c=b[E(0xcf)]||![],d=E(0xc9),f=E(0xd2),g=E(0xf0),h=this[E(0x105)][E(0xea)](),i=h[E(0xfc)]['ssr']===E(0x101);await this['fsi'][E(0x106)]([E(0xee),E(0xe3)],{'shouldInstall':!![]});const j=this[E(0x105)][E(0xd4)](),k=a120e[E(0xe5)](j,E(0xe1),'ui','layouts'),l=this[E(0x105)][E(0xf5)](k),m=await Actions[E(0xe7)]({'type':E(0xd3),'name':'layouts','message':E(0x103),'choices':l});if(m['layouts'][E(0xd0)]===0x0){Log['error'](E(0xcc));return;}const n=b[E(0xff)]?'/imports/ui/'+b[E(0xff)]:E(0xc0),o=this[E(0x105)][E(0xe8)]({'pathParts':[n,b[E(0xd6)],paramCase(d),paramCase(d)]}),p=this[E(0x105)][E(0xe8)]({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this[E(0x105)][E(0xe8)]({'pathParts':[n,b[E(0xd6)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[E(0xf3)])['replaceAll']('-','\x20')};await this['fsi'][E(0xfa)](h,async()=>{const F=E;await this['fsi'][F(0xfe)]({'srcPath':F(0xe9)+d+F(0xcb),'destPath':o+F(0xcb),'framework':F(0xca),'context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x105)][F(0xfe)]({'srcPath':F(0xfd)+f+F(0xcb),'destPath':p+'.js','framework':F(0xca),'context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x105)][F(0xfe)]({'srcPath':F(0xc7)+g+F(0xcb),'destPath':q+'.js','framework':F(0xca),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this[E(0x105)]['injectTemplateModule'](d,h,s);const t=''+n+b[E(0xd6)]+'/'+f+'/'+f;await this[E(0x105)][E(0xbd)](f,h,t);const u=''+n+b[E(0xd6)]+'/'+g+'/'+g;await this[E(0x105)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this['fsi'][E(0xf2)](a120e[E(0xe5)](k,w),{'extensions':[E(0xd1),'tsx'],'omit':[E(0xd5),E(0xdb),E(0xdc)]});for(const y of x){const z=a120e[E(0xe5)](k,w,y);await this['fsi']['injectImport']({'filePath':z,'importName':E(0x107),'modulePath':E(0xf6),'isNamedExport':![]}),await this[E(0x105)][E(0xc1)]({'filePath':z,'importName':'Container','modulePath':E(0xf1),'isNamedExport':![]}),await this[E(0x105)][E(0xc1)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?E(0xe2):E(0xd9),'isNamedExport':!![]}),await this[E(0x105)][E(0xce)]({'filePath':z,'content':'<'+pascalCase(d)+E(0xf4),'begin':[E(0xde)+w+'\x22>',E(0xde)+w+E(0xbe)],'end':['{this.props.children}',E(0xdf),E(0xda),E(0x109)]}),await this[E(0x105)][E(0xc1)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':E(0xd9),'isNamedExport':!![]}),await this['fsi'][E(0xce)]({'filePath':z,'content':'<'+pascalCase(f)+E(0xf4),'begin':[E(0xde)+w+'\x22>',E(0xde)+w+E(0xbe)],'end':[E(0xc3),'{\x20this.props.children\x20}',E(0xda),E(0x109)]}),await this[E(0x105)][E(0xce)]({'filePath':z,'content':'<'+pascalCase(g)+E(0xf4),'begin':[E(0xc3),E(0xdf),E(0xda),E(0x109)],'end':[E(0xeb)]}),await this[E(0x105)][E(0xc1)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?E(0xe2):E(0xd9),'isNamedExport':!![]}),await this[E(0x105)][E(0xc2)]({'filePath':z,'aboveContent':E(0xf7),'belowContent':E(0x108),'targetString':[E(0xc3),E(0xdf),E(0xda),'{\x20props.children\x20}'],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const G=a120D;console[G(0xc6)](G(0x102));},a120f);
1
+ const a121E=a121d;(function(a,b){const B=a121d,c=a();while(!![]){try{const d=-parseInt(B(0x122))/0x1+parseInt(B(0xf2))/0x2+-parseInt(B(0xf0))/0x3+parseInt(B(0xec))/0x4*(-parseInt(B(0x115))/0x5)+-parseInt(B(0x10a))/0x6*(parseInt(B(0x125))/0x7)+-parseInt(B(0x11b))/0x8*(parseInt(B(0x124))/0x9)+parseInt(B(0x10b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x23c50));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a121d;if(c){const e=c[C(0x127)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const D=a121d;return a121a[D(0x105)]()[D(0x121)](D(0xf5))[D(0x105)]()['constructor'](a121a)[D(0x121)](D(0xf5));});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xe5;let f=c[d];return f;},a121d(a,b);}a121a();import{Generator}from'../../../generator.js';function a121c(){const I=['/imports/startup/lib/templates','error','getDirectories','baseDir','-hook\x22>','checkMeteorPackage','fsi','injectIntoFile','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','dir','kit/mui/frame/app-bars/','toString','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','jsx','options','{this.props.children}','1567818zdFJSv','8827390xFqpPk','join','</div>','{\x20props.children\x20}','react','engines','@mui/material/Container','findAppDirectory','ssr','REACT','461270zMrfIa','layouts','template','{\x20this.props.children\x20}','session','maka:react-tracker','40024qJeFJK','maka\x20g:k:m:f','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','frame','basic-sticky-footer','/imports/startup/client/templates','search','94083yTGfXJ','tsx','9VFEenB','7picsjv','injectAroundString','apply','\x20/>\x0a','getFiles','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','/imports/ui/','create','replaceAll','pathFromApp','Cleaning\x20up...','basic-drawer','test','length','force','{props.children}','/imports/ui/components','injectImport','8LaOpGf','log','.js','Box','838938DfPtLF','<div\x20id=\x22','176632SxfiYa','appName','maka\x20generate:kit:mui:frame','(((.+)+)+)+$','getMakaProjectConfig','withValue','injectTemplateModule','true'];a121c=function(){return I;};return a121c();}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a121e from'path';import a121f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121E(0x12c)]({'name':a121E(0x11e),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a121E(0x116),a121E(0xfd),a121E(0x103),'force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a121E(0x114)]},'examples':[a121E(0xf4),a121E(0x11c)],'description':a121E(0x102)},async function(a,b){const F=a121E;try{const c=b[F(0xe8)]||![],d='basic-app-bar',f=F(0xe5),g=F(0x11f),h=this[F(0x100)][F(0xf6)](),i=h[F(0x110)][F(0x113)]===F(0xf9);await this[F(0x100)][F(0xff)]([F(0x119),F(0x11a)],{'shouldInstall':!![]});const j=this[F(0x100)][F(0x112)](),k=a121e[F(0x10c)](j,'imports','ui',F(0x116)),l=this['fsi'][F(0xfc)](k),m=await Actions[F(0x108)]({'type':'checkbox','name':F(0x116),'message':F(0x106),'choices':l});if(m[F(0x116)][F(0xe7)]===0x0){Log[F(0xfb)]('No\x20layouts\x20selected');return;}const n=b[F(0xfd)]?F(0x12b)+b[F(0xfd)]:F(0xea),o=this[F(0x100)][F(0x12e)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[F(0x100)][F(0x12e)]({'pathParts':[n,b[F(0x103)],paramCase(f),paramCase(f)]}),q=this[F(0x100)]['pathFromApp']({'pathParts':[n,b[F(0x103)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0xf3)])[F(0x12d)]('-','\x20')};await this[F(0x100)][F(0xf7)](h,async()=>{const G=F;await this[G(0x100)][G(0x117)]({'srcPath':G(0x104)+d+G(0xee),'destPath':o+'.js','framework':G(0x10f),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x100)][G(0x117)]({'srcPath':'kit/mui/frame/drawers/'+f+'.js','destPath':p+G(0xee),'framework':G(0x10f),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x100)][G(0x117)]({'srcPath':'kit/mui/frame/footers/'+g+G(0xee),'destPath':q+'.js','framework':G(0x10f),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this[F(0x100)][F(0xf8)](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0x100)][F(0xf8)](f,h,t);const u=''+n+b[F(0x103)]+'/'+g+'/'+g;await this[F(0x100)][F(0xf8)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x100)][F(0x129)](a121e[F(0x10c)](k,w),{'extensions':[F(0x107),F(0x123)],'omit':['app-tests','tests',F(0xe6)]});for(const y of x){const z=a121e[F(0x10c)](k,w,y);await this[F(0x100)]['injectImport']({'filePath':z,'importName':F(0xef),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this['fsi']['injectImport']({'filePath':z,'importName':'Container','modulePath':F(0x111),'isNamedExport':![]}),await this['fsi'][F(0xeb)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0xfa):F(0x120),'isNamedExport':!![]}),await this[F(0x100)][F(0x101)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0xf1)+w+'\x22>','<div\x20id=\x22'+w+F(0xfe)],'end':['{this.props.children}',F(0x118),F(0xe9),F(0x10e)]}),await this[F(0x100)][F(0xeb)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0xfa):F(0x120),'isNamedExport':!![]}),await this[F(0x100)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0x128),'begin':[F(0xf1)+w+'\x22>',F(0xf1)+w+F(0xfe)],'end':[F(0x109),F(0x118),F(0xe9),F(0x10e)]}),await this[F(0x100)][F(0x101)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x128),'begin':[F(0x109),F(0x118),'{props.children}',F(0x10e)],'end':[F(0x10d)]}),await this['fsi'][F(0xeb)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':F(0x120),'isNamedExport':!![]}),await this[F(0x100)][F(0x126)]({'filePath':z,'aboveContent':F(0x11d),'belowContent':F(0x12a),'targetString':[F(0x109),F(0x118),F(0xe9),F(0x10e)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0xfb)](A);}},async function(){const H=a121E;console[H(0xed)](H(0x12f));},a121f);
@@ -1 +1 @@
1
- const a121i=a121d;(function(a,b){const g=a121d,c=a();while(!![]){try{const d=parseInt(g(0xe6))/0x1+-parseInt(g(0xd7))/0x2+-parseInt(g(0xce))/0x3+-parseInt(g(0xe7))/0x4*(parseInt(g(0xca))/0x5)+-parseInt(g(0xdd))/0x6*(parseInt(g(0xc9))/0x7)+-parseInt(g(0xd1))/0x8+-parseInt(g(0xe9))/0x9*(-parseInt(g(0xe4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x27e78));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 h=a121d;return a121a['toString']()[h(0xde)](h(0xe5))[h(0xcc)]()[h(0xdf)](a121a)[h(0xde)](h(0xe5));});a121a();import{Generator}from'../../../generator.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xc7;let f=c[d];return f;},a121d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'../../../generators/maka.gen.js';function a121c(){const k=['toString','notice','423840wxUxtC','options','No\x20MUI\x20kits\x20selected.\x20Exiting.','2143288rbWdCr','mui','kitChoices','length','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','getMakaProjectConfig','271602bLAvxl','kit:mui:auth','frame','info','checkbox','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','1074144TbMXkD','search','constructor','includes','auth','\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','processAndRunGenerator','370gohQdO','(((.+)+)+)+$','268347fZCuKl','21428lsQvxV','fsi','174051QDffYR','findProjectDirectory','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','kit:mui:frame','7IpVNiu','90OHgxIv','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'];a121c=function(){return k;};return a121c();}import a121f from'../kit.js';const MuiGen=Generator['create']({'name':a121i(0xd2),'aliases':['m'],'usage':a121i(0xc7),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const j=a121i;Log[j(0xda)](j(0xcb)),Log[j(0xcd)](j(0xe2));const {kitChoices:a}=await Actions[j(0xcf)]({'type':j(0xdb),'name':j(0xd3),'message':j(0xd5),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':j(0xd9)},{'name':j(0xdc),'value':j(0xe1)}]}),b=this[j(0xe8)][j(0xea)](),c=this[j(0xe8)][j(0xd6)]();a['includes'](j(0xd9))&&await a121e[j(0xe3)](j(0xc8),[],{'force':!![],'cwd':b,'config':c});a[j(0xe0)](j(0xe1))&&await a121e[j(0xe3)](j(0xd8),[],{'force':!![],'cwd':b,'config':c});if(a[j(0xd4)]===0x0){Log['info'](j(0xd0));return;}},async function(){},a121f);export default MuiGen;
1
+ const a122j=a122d;(function(a,b){const g=a122d,c=a();while(!![]){try{const d=parseInt(g(0x1fc))/0x1+-parseInt(g(0x1f0))/0x2+parseInt(g(0x1f5))/0x3+parseInt(g(0x1fa))/0x4+-parseInt(g(0x1f8))/0x5+-parseInt(g(0x1f4))/0x6*(-parseInt(g(0x1ef))/0x7)+-parseInt(g(0x1ff))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x8d240));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a122d;if(c){const e=c[h(0x1f7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const i=a122d;return a122a[i(0x1f3)]()['search'](i(0x207))[i(0x1f3)]()[i(0x1fb)](a122a)[i(0x1f2)](i(0x207));});a122a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a122c(){const l=['\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','create','notice','(((.+)+)+)+$','maka\x20g:kit:m','fsi','auth','No\x20MUI\x20kits\x20selected.\x20Exiting.','getMakaProjectConfig','mui','length','85043omWUNa','1188480oFSldI','findProjectDirectory','search','toString','198aCcskc','637245bqVVzF','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','apply','2353470MPGxXR','frame','3113400rlXnYY','constructor','289233ECjmcH','info','kit:mui:auth','302952jeeXHM','processAndRunGenerator','includes','Material-UI\x20Kit','kitChoices'];a122c=function(){return l;};return a122c();}import{Log}from'../../../tools/log/log.class.js';import a122e from'../../../generators/maka.gen.js';import a122f from'../kit.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1e9;let f=c[d];return f;},a122d(a,b);}const MuiGen=Generator[a122j(0x205)]({'name':a122j(0x1ed),'aliases':['m'],'usage':a122j(0x1f6),'noNeedResource':!![],'shortDesc':a122j(0x202),'validOpts':[''],'isPro':!![],'examples':[a122j(0x208)]},async function(){const k=a122j;Log[k(0x1fd)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[k(0x206)](k(0x204));const {kitChoices:a}=await Actions['options']({'type':'checkbox','name':k(0x203),'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':k(0x1f9)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':k(0x1ea)}]}),b=this[k(0x1e9)][k(0x1f1)](),c=this['fsi'][k(0x1ec)]();a[k(0x201)](k(0x1f9))&&await a122e[k(0x200)]('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[k(0x201)](k(0x1ea))&&await a122e[k(0x200)](k(0x1fe),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1ee)]===0x0){Log[k(0x1fd)](k(0x1eb));return;}},async function(){},a122f);export default MuiGen;
@@ -1 +1 @@
1
- function a122c(){const r=['This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','includes','633vXqqii','toString','api','.js','maka\x20g:layout\x20mobile/iPhone8','withTranslations','search','import\x20\x27./','relative','react','graphql','engines','.app-tests.js','35bnDNMh','166926JqEmdD','maka\x20g:l\x20web/safari','checkNpmPackage','/imports/ui/layouts','string','fsi','ramda','ssr','18VJfsjr','client','create','354Bxegky','109438lPFasp','101400UiqCMf','split','template/template.css','assign','withHook','36OFxOOG','setTemplate','.css','fileName','features','1410530HGHNWC','88792ACznil','injectTemplateModule','component/component.js','apply','Scaffolding\x20for\x20a\x20React\x20Layout.','injectAtBeginningOfFile','findAppDirectory','css','installNpmPackage','true','layout','pathFromProject','test','getMakaProjectConfig','pathFromApp','resourceName','hook/hook.js','template','(((.+)+)+)+$','11HFBhoZ','theme','3830040vNNcZa','dir','test/test.js'];a122c=function(){return r;};return a122c();}const a122o=a122d;(function(a,b){const l=a122d,c=a();while(!![]){try{const d=-parseInt(l(0x1b1))/0x1+-parseInt(l(0x1bc))/0x2*(parseInt(l(0x1e3))/0x3)+-parseInt(l(0x1c9))/0x4*(-parseInt(l(0x1b0))/0x5)+parseInt(l(0x1b9))/0x6*(-parseInt(l(0x1bd))/0x7)+-parseInt(l(0x1be))/0x8*(-parseInt(l(0x1c3))/0x9)+parseInt(l(0x1c8))/0xa*(-parseInt(l(0x1dc))/0xb)+parseInt(l(0x1de))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x207a4));function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1ae;let f=c[d];return f;},a122d(a,b);}const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a122d;if(c){const e=c[m(0x1cc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const n=a122d;return a122a[n(0x1e4)]()[n(0x1e9)]('(((.+)+)+)+$')['toString']()['constructor'](a122a)[n(0x1e9)](n(0x1db));});a122a();import a122e 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[a122o(0x1bb)]({'name':a122o(0x1d3),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a122o(0x1cd),'validOpts':[a122o(0x1c2)],'examples':[a122o(0x1e7),a122o(0x1b2)]},async function(a,b){const p=a122o,c=p(0x1b4),d=this[p(0x1b6)][p(0x1cf)](),e=this[p(0x1b6)][p(0x1d7)]({'pathParts':[c,b[p(0x1df)],paramCase(b[p(0x1d8)]),paramCase(b[p(0x1d8)])]}),f=this['fsi'][p(0x1d6)]();await this[p(0x1b6)]['withValue'](f,async()=>{const q=p;typeof f['template'][q(0x1d5)]===q(0x1b5)&&(f['template'][q(0x1d5)]=f[q(0x1da)]['test']==='true'?!![]:![],this['fsi'][q(0x1c4)]('test',f[q(0x1da)][q(0x1d5)]));typeof f[q(0x1da)][q(0x1d0)]==='string'&&(f['template']['css']=f['template']['css']===q(0x1d2)?!![]:![],this[q(0x1b6)][q(0x1c4)](q(0x1d0),f[q(0x1da)][q(0x1d0)]));typeof f[q(0x1da)]['js']===q(0x1b5)&&(f[q(0x1da)]['js']=f['template']['js']===q(0x1d2)?!![]:![],this[q(0x1b6)]['setTemplate']('js',f[q(0x1da)]['js']));!f[q(0x1c7)]&&(f[q(0x1c7)]={});const g=b['_']?b['_'][0x0][q(0x1bf)](':')[0x1]:![],h=b['_']&&aliases[q(0x1e2)](g);h&&!this['checkNpmPackage'](q(0x1b7))&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[q(0x1b6)][q(0x1d1)](q(0x1b7),{'cwd':d}));if(h&&!this[q(0x1b3)](q(0x1ec))){Log['warn'](q(0x1e1));return;}const i={'name':pascalCase(b[q(0x1d8)]),'myPath':a122e[q(0x1eb)](this[q(0x1b6)][q(0x1d4)]({}),e),'cssCaseName':paramCase(b[q(0x1d8)]),'className':pascalCase(b[q(0x1d8)]),'camelCaseName':camelCase(b[q(0x1d8)]),'fileName':paramCase(b[q(0x1d8)]),'graphql':f[q(0x1ae)][q(0x1ed)],'features':f[q(0x1c7)],'client':f['engines'][q(0x1ba)],'api':f['engines'][q(0x1e5)],'ssr':f['engines'][q(0x1b8)],'test':f[q(0x1ae)][q(0x1d5)],'theme':f[q(0x1ae)][q(0x1dd)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1c7)][q(0x1e8)]};f['features']?.['withHooks']||b[q(0x1c2)]?await this[q(0x1b6)]['template']({'srcPath':q(0x1d9),'destPath':e+q(0x1e6),'framework':q(0x1ec),'context':i,'config':f}):await this[q(0x1b6)][q(0x1da)]({'srcPath':q(0x1cb),'destPath':e+q(0x1e6),'framework':q(0x1ec),'context':i,'config':f});f[q(0x1ae)][q(0x1d5)]!=='none'&&await this[q(0x1b6)][q(0x1da)]({'srcPath':q(0x1e0),'destPath':e+q(0x1af),'framework':q(0x1ec),'context':i,'config':f});f[q(0x1da)][q(0x1d0)]&&(await this['fsi'][q(0x1da)]({'srcPath':q(0x1c0),'destPath':e+q(0x1c5),'context':Object[q(0x1c1)]({},i,{'className':paramCase(b[q(0x1d8)])}),'config':f}),await this[q(0x1b6)][q(0x1ce)]({'filePath':e+'.'+f['engines']['js'],'content':q(0x1ea)+i[q(0x1c6)]+'.'+f[q(0x1ae)]['css']+'\x27;'}));const j=b['dir']?'/'+b[q(0x1df)]+'/':'/',k=''+c+j+i[q(0x1c6)]+'/'+i[q(0x1c6)];await this['fsi'][q(0x1ca)](i['className'],f,k);});});
1
+ function a123c(){const r=['includes','constructor','resourceName','316QnNjSD','string','checkNpmPackage','react','injectTemplateModule','test','getMakaProjectConfig','withHook','1570448muvriO','component/component.js','client','Scaffolding\x20for\x20a\x20React\x20Layout.','engines','(((.+)+)+)+$','none','7867440gBLDmu','layout','setTemplate','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','dir','features','fileName','test/test.js','54075ufhVVT','maka\x20g:layout\x20mobile/iPhone8','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','.js','true','4057OxkRhF','1338354OzpPdR','apply','api','graphql','withTranslations','/imports/ui/layouts','split','42mwHhXj','import\x20\x27./','hook/hook.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','css','ramda','withHooks','injectAtBeginningOfFile','pathFromProject','7RDMzYc','template','.app-tests.js','relative','fsi','create','className','warn','1685073LGOgpe','pathFromApp','3013336qRmYbn','maka\x20g:l\x20web/safari','template/template.css','installNpmPackage'];a123c=function(){return r;};return a123c();}const a123o=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x125;let f=c[d];return f;},a123d(a,b);}(function(a,b){const l=a123d,c=a();while(!![]){try{const d=-parseInt(l(0x15e))/0x1*(-parseInt(l(0x142))/0x2)+-parseInt(l(0x139))/0x3+-parseInt(l(0x13b))/0x4+-parseInt(l(0x159))/0x5*(parseInt(l(0x128))/0x6)+parseInt(l(0x131))/0x7*(parseInt(l(0x14a))/0x8)+parseInt(l(0x15f))/0x9+parseInt(l(0x151))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x5d450));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a123d;if(c){const e=c[m(0x160)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const n=a123d;return a123a['toString']()['search'](n(0x14f))['toString']()[n(0x140)](a123a)['search'](n(0x14f));});a123a();import a123e 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[a123o(0x136)]({'name':a123o(0x152),'aliases':aliases,'usage':a123o(0x154),'shortDesc':a123o(0x14d),'validOpts':[a123o(0x149)],'examples':[a123o(0x15a),a123o(0x13c)]},async function(a,b){const p=a123o,c=p(0x126),d=this['fsi']['findAppDirectory'](),e=this[p(0x135)][p(0x13a)]({'pathParts':[c,b[p(0x155)],paramCase(b[p(0x141)]),paramCase(b[p(0x141)])]}),f=this['fsi'][p(0x148)]();await this['fsi']['withValue'](f,async()=>{const q=p;typeof f[q(0x132)][q(0x147)]===q(0x143)&&(f['template']['test']=f['template'][q(0x147)]==='true'?!![]:![],this[q(0x135)]['setTemplate']('test',f[q(0x132)][q(0x147)]));typeof f['template']['css']===q(0x143)&&(f[q(0x132)][q(0x12c)]=f[q(0x132)][q(0x12c)]===q(0x15d)?!![]:![],this[q(0x135)]['setTemplate'](q(0x12c),f[q(0x132)][q(0x12c)]));typeof f['template']['js']===q(0x143)&&(f[q(0x132)]['js']=f[q(0x132)]['js']===q(0x15d)?!![]:![],this[q(0x135)][q(0x153)]('js',f[q(0x132)]['js']));!f[q(0x156)]&&(f[q(0x156)]={});const g=b['_']?b['_'][0x0][q(0x127)](':')[0x1]:![],h=b['_']&&aliases[q(0x13f)](g);h&&!this[q(0x144)]('ramda')&&(Log[q(0x138)](q(0x15b)),this[q(0x135)][q(0x13e)](q(0x12d),{'cwd':d}));if(h&&!this[q(0x144)](q(0x145))){Log[q(0x138)](q(0x12b));return;}const i={'name':pascalCase(b[q(0x141)]),'myPath':a123e[q(0x134)](this[q(0x135)][q(0x130)]({}),e),'cssCaseName':paramCase(b[q(0x141)]),'className':pascalCase(b[q(0x141)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0x141)]),'graphql':f[q(0x14e)][q(0x162)],'features':f[q(0x156)],'client':f[q(0x14e)][q(0x14c)],'api':f[q(0x14e)][q(0x161)],'ssr':f[q(0x14e)]['ssr'],'test':f[q(0x14e)][q(0x147)],'theme':f[q(0x14e)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x156)][q(0x125)]};f[q(0x156)]?.[q(0x12e)]||b[q(0x149)]?await this[q(0x135)][q(0x132)]({'srcPath':q(0x12a),'destPath':e+q(0x15c),'framework':q(0x145),'context':i,'config':f}):await this[q(0x135)]['template']({'srcPath':q(0x14b),'destPath':e+q(0x15c),'framework':'react','context':i,'config':f});f['engines'][q(0x147)]!==q(0x150)&&await this[q(0x135)][q(0x132)]({'srcPath':q(0x158),'destPath':e+q(0x133),'framework':q(0x145),'context':i,'config':f});f[q(0x132)][q(0x12c)]&&(await this[q(0x135)][q(0x132)]({'srcPath':q(0x13d),'destPath':e+'.css','context':Object['assign']({},i,{'className':paramCase(b[q(0x141)])}),'config':f}),await this[q(0x135)][q(0x12f)]({'filePath':e+'.'+f['engines']['js'],'content':q(0x129)+i[q(0x157)]+'.'+f[q(0x14e)][q(0x12c)]+'\x27;'}));const j=b[q(0x155)]?'/'+b[q(0x155)]+'/':'/',k=''+c+j+i[q(0x157)]+'/'+i['fileName'];await this[q(0x135)][q(0x146)](i[q(0x137)],f,k);});});
@@ -1 +1 @@
1
- function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xa3;let f=c[d];return f;},a123d(a,b);}const a123i=a123d;function a123c(){const j=['2639448xjUjiD','apply','10688616JjobWk','maka\x20generate:scaffold\x20todos','maka\x20g:template\x20todos/todo_item','generate','700076dboKoe','maka\x20g:dbc\x20geoserver\x20--type=pgsql','177377wVClkW','search','3762wFRcUi','maka\x20{generate,\x20g}:<generator>\x20<name>','6139tMlmnA','1231425poEBoa','constructor','Scaffold\x20various\x20parts\x20of\x20your\x20application','3203395vUbnOE','maka\x20g:route\x20todos/edit'];a123c=function(){return j;};return a123c();}(function(a,b){const f=a123d,c=a();while(!![]){try{const d=parseInt(f(0xb4))/0x1+parseInt(f(0xb2))/0x2+parseInt(f(0xa7))/0x3+parseInt(f(0xac))/0x4+parseInt(f(0xaa))/0x5+parseInt(f(0xa4))/0x6*(-parseInt(f(0xa6))/0x7)+-parseInt(f(0xae))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x560db));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0xad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a['toString']()[h(0xa3)]('(((.+)+)+)+$')['toString']()[h(0xa8)](a123a)['search']('(((.+)+)+)+$');});a123a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a123i(0xb1),'aliases':['g'],'usage':a123i(0xa5),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a123i(0xa9),'examples':[a123i(0xaf),'maka\x20g:scaffold\x20todos',a123i(0xb0),'maka\x20g:package\x20package:name',a123i(0xab),'maka\x20g:api\x20trucks',a123i(0xb3)]},function(){});export default MakaGen;
1
+ const a124i=a124d;function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a124d(a,b);}(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0x1eb))/0x1+-parseInt(f(0x1ee))/0x2*(parseInt(f(0x1e9))/0x3)+parseInt(f(0x1f9))/0x4*(-parseInt(f(0x1ed))/0x5)+parseInt(f(0x1f7))/0x6*(-parseInt(f(0x1fb))/0x7)+parseInt(f(0x1f3))/0x8*(parseInt(f(0x1fa))/0x9)+parseInt(f(0x1e8))/0xa*(-parseInt(f(0x1f6))/0xb)+parseInt(f(0x1f5))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x7ac52));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a['toString']()[h(0x1f2)](h(0x1f0))[h(0x1ef)]()['constructor'](a124a)[h(0x1f2)]('(((.+)+)+)+$');});a124a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a124i(0x1ea),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos',a124i(0x1f4),'maka\x20g:package\x20package:name',a124i(0x1f1),'maka\x20g:api\x20trucks',a124i(0x1f8)]},function(){});export default MakaGen;function a124c(){const j=['12CajPsQ','generate','122465kQfGmo','apply','879355NZyWGT','218706oijRvP','toString','(((.+)+)+)+$','maka\x20g:route\x20todos/edit','search','8PlnOjp','maka\x20g:template\x20todos/todo_item','34252812htEFfz','11GCfSEo','281778ItIOWG','maka\x20g:dbc\x20geoserver\x20--type=pgsql','20CnYyAL','3900627ABrGTE','91UEpaeV','7351870pECiGb'];a124c=function(){return j;};return a124c();}
@@ -1 +1 @@
1
- function a124c(){const o=['import\x20\x27./methods','constructor','startup','209111iRjFWl','method/method.js','mdg:validated-method','engines','dir','withValue','152lkWKzE','tsx','imports','template','8729699GdExLe','3288942JzlOjM','33RsEqvh','ddp-rate-limiter','-rpc-method\x27;','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','methods','785eDPLRi','toString','9565yLCnjo','pathFromApp','resourceName','98260xqFhsW','-rpc-method.','index.','262rsAyqc','getMakaProjectConfig','(((.+)+)+)+$','search','appPathPrefix','maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkMeteorPackage','maka\x20g:method\x20todos','injectAtEndOfFile','16728130mvusQQ','fsi','18726lIBBEs'];a124c=function(){return o;};return a124c();}const a124l=a124d;(function(a,b){const j=a124d,c=a();while(!![]){try{const d=parseInt(j(0x10c))/0x1*(parseInt(j(0x112))/0x2)+parseInt(j(0x105))/0x3*(parseInt(j(0x10f))/0x4)+-parseInt(j(0x10a))/0x5*(parseInt(j(0x11d))/0x6)+-parseInt(j(0x121))/0x7*(parseInt(j(0xff))/0x8)+-parseInt(j(0x104))/0x9+parseInt(j(0x11b))/0xa+-parseInt(j(0x103))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xef1d4));function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xfd;let f=c[d];return f;},a124d(a,b);}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const k=a124d;return a124a[k(0x10b)]()['search'](k(0x114))['toString']()[k(0x11f)](a124a)[k(0x115)](k(0x114));});a124a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':'method','aliases':['m'],'usage':a124l(0x117),'checkWhere':!![],'shortDesc':a124l(0x108),'validOpts':['dir'],'examples':[a124l(0x119)]},async function(a,b){const m=a124l;try{const c=this['fsi'][m(0x113)]();await this[m(0x11c)][m(0xfe)](c,async()=>{const n=m,d=paramCase(b[n(0x10e)]),f={'name':b[n(0x10e)],'fileName':d,'className':pascalCase(b[n(0x10e)]),'camelCase':camelCase(b[n(0x10e)]),'noRename':!![]};let g='js';c[n(0x124)]['js']===n(0x100)&&(g='ts');await this[n(0x11c)][n(0x118)](['maka:check',n(0x106),n(0x123)],{'shouldInstall':!![]}),await this[n(0x11c)][n(0x102)]({'srcPath':n(0x122),'destPath':this[n(0x11c)][n(0x10d)]({'pathParts':['imports','startup',b[n(0x116)],n(0x109),b['dir'],d+n(0x110)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[n(0xfd)]+'/':'/',i=this[n(0x11c)][n(0x10d)]({'pathParts':[n(0x101),n(0x120),b[n(0x116)],n(0x111)+c[n(0x124)]['js']]});await this[n(0x11c)][n(0x11a)]({'filePath':i,'content':n(0x11e)+h+d+n(0x107)});});}catch(d){Log['error'](d);}});
1
+ const a125m=a125d;(function(a,b){const j=a125d,c=a();while(!![]){try{const d=parseInt(j(0x14d))/0x1*(-parseInt(j(0x15c))/0x2)+parseInt(j(0x163))/0x3*(-parseInt(j(0x155))/0x4)+-parseInt(j(0x141))/0x5+parseInt(j(0x158))/0x6*(parseInt(j(0x14b))/0x7)+-parseInt(j(0x157))/0x8*(-parseInt(j(0x15d))/0x9)+parseInt(j(0x156))/0xa*(parseInt(j(0x154))/0xb)+parseInt(j(0x15b))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xdd1e7));function a125c(){const p=['-rpc-method.','resourceName','imports','fsi','maka\x20{generate,\x20g}:{method,\x20m}\x20name','template','injectAtEndOfFile','import\x20\x27./methods','pathFromApp','7jzvHdJ','method','244147StBqaq','dir','ddp-rate-limiter','methods','index.','engines','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','640189IhtdZp','585652UEnTcu','110eGwGec','656072jLxYjJ','1708818vVRNuK','tsx','create','6071988xebWso','4SgPzZn','153XNYNAc','appPathPrefix','startup','maka:check','constructor','maka\x20g:method\x20todos','24zFtcaw','mdg:validated-method','getMakaProjectConfig','search','error','apply','toString','method/method.js','(((.+)+)+)+$','1299215EZqFzv'];a125c=function(){return p;};return a125c();}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a125d;if(c){const e=c[k(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const l=a125d;return a125a[l(0x169)]()['search']('(((.+)+)+)+$')['toString']()[l(0x161)](a125a)[l(0x166)](l(0x16b));});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x141;let f=c[d];return f;},a125d(a,b);}a125a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a125m(0x15a)]({'name':a125m(0x14c),'aliases':['m'],'usage':a125m(0x146),'checkWhere':!![],'shortDesc':a125m(0x153),'validOpts':['dir'],'examples':[a125m(0x162)]},async function(a,b){const n=a125m;try{const c=this[n(0x145)][n(0x165)]();await this[n(0x145)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0x143)]),f={'name':b[o(0x143)],'fileName':d,'className':pascalCase(b[o(0x143)]),'camelCase':camelCase(b[o(0x143)]),'noRename':!![]};let g='js';c[o(0x152)]['js']===o(0x159)&&(g='ts');await this[o(0x145)]['checkMeteorPackage']([o(0x160),o(0x14f),o(0x164)],{'shouldInstall':!![]}),await this['fsi'][o(0x147)]({'srcPath':o(0x16a),'destPath':this[o(0x145)][o(0x14a)]({'pathParts':[o(0x144),o(0x15f),b[o(0x15e)],o(0x150),b[o(0x14e)],d+o(0x142)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x14e)]+'/':'/',i=this[o(0x145)][o(0x14a)]({'pathParts':['imports',o(0x15f),b['appPathPrefix'],o(0x151)+c[o(0x152)]['js']]});await this[o(0x145)][o(0x148)]({'filePath':i,'content':o(0x149)+h+d+'-rpc-method\x27;'});});}catch(d){Log[n(0x167)](d);}});
@@ -1 +1 @@
1
- function a125c(){const q=['client','engines','1284VbRRXi','22syluVM','182111mgIJPO','pathFromProject','package.js','component','53284dRwnAP','30142tankhI','21233670kQvoHT','fsi','theme','tests/client','3782720sgSEVr','features','/client/','resourceName','packages','maka\x20g:package\x20todos:package','create','withValue','graphql','template','store','/package.js','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','220412etvmlO','275mIiAXE','package','hasOwnProperty','18kuiWuK','package/','template/template.js','toString','pathFromApp','dir','13321350BWEghs','(((.+)+)+)+$','pathFromAppWithNoReWrite','.js','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','noRename','ssr','search','constructor','layout'];a125c=function(){return q;};return a125c();}const a125n=a125d;(function(a,b){const l=a125d,c=a();while(!![]){try{const d=-parseInt(l(0xb6))/0x1+-parseInt(l(0x9e))/0x2*(parseInt(l(0xa2))/0x3)+-parseInt(l(0xba))/0x4*(parseInt(l(0x9f))/0x5)+parseInt(l(0xb4))/0x6*(-parseInt(l(0x8c))/0x7)+parseInt(l(0x91))/0x8+-parseInt(l(0xa8))/0x9+parseInt(l(0x8d))/0xa*(parseInt(l(0xb5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xb5232));function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x8c;let f=c[d];return f;},a125d(a,b);}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const m=a125d;return a125a['toString']()[m(0xaf)](m(0xa9))[m(0xa5)]()[m(0xb0)](a125a)[m(0xaf)](m(0xa9));});a125a();import a125e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a125n(0x97)]({'name':a125n(0xa0),'aliases':['p'],'usage':a125n(0x9d),'shortDesc':a125n(0xac),'validOpts':[a125n(0xa7)],'examples':[a125n(0x96)]},async function(a,b){const o=a125n,c=paramCase(b[o(0x94)]),d=this[o(0x8e)][o(0xa6)]({'pathParts':[o(0x95),b[o(0xa7)],c]}),e=this[o(0x8e)][o(0xaa)]({'pathParts':[o(0x95),b[o(0xa7)],c,o(0xb8)]}),f=this['fsi']['getMakaProjectConfig']();await this[o(0x8e)][o(0x98)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x94)]),'myPath':a125e['relative'](this['fsi'][p(0xb7)]({}),d),'cssCaseName':paramCase(b[p(0x94)]),'className':pascalCase(b[p(0x94)]),'camelCaseName':camelCase(b[p(0x94)]),'fileName':c,'client':f[p(0xb3)][p(0xb2)],'graphql':f[p(0xb3)][p(0x99)],'ssr':f['engines'][p(0xae)],'isComponent':b[p(0xa1)](p(0xb9)),'isLayout':b['hasOwnProperty'](p(0xb1)),'isStore':b[p(0xa1)](p(0x9b)),'features':f[p(0x92)],'noRename':!![],'theme':f['engines'][p(0x8f)]};await this[p(0x8e)][p(0x9a)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[p(0xad)]=![];const h=d+p(0x93)+c+'.js';await this['fsi'][p(0x9a)]({'srcPath':p(0xa4),'destPath':h,'context':g,'config':f});const i=['lib','server',p(0x90),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+p(0xab);await this[p(0x8e)][p(0x9a)]({'srcPath':p(0xa3)+j+p(0x9c),'destPath':k,'context':g,'config':f});}});});
1
+ function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xeb;let f=c[d];return f;},a126d(a,b);}const a126n=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(0x107))/0x1+-parseInt(l(0x104))/0x2*(parseInt(l(0x10e))/0x3)+-parseInt(l(0xf5))/0x4+-parseInt(l(0x106))/0x5*(parseInt(l(0xfa))/0x6)+parseInt(l(0xf2))/0x7+parseInt(l(0x112))/0x8*(parseInt(l(0x108))/0x9)+parseInt(l(0xf4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x63fc6));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(0x10f)]()[m(0x115)](m(0x105))[m(0x10f)]()['constructor'](a126a)['search'](m(0x105));});a126a();import a126e from'path';function a126c(){const q=['670797FcPgNl','engines','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','pathFromAppWithNoReWrite','lib','relative','27303UflAzW','toString','getMakaProjectConfig','/client/','32gnWUVY','package/package.js','template','search','ssr','packages','noRename','tests/server','maka\x20g:package\x20todos:package','package.js','server','theme','withValue','layout','229852uPoTjM','tests/client','16074110KMdEVc','2738308beonCw','pathFromProject','fsi','template/template.js','store','6rIweJY','.js','client','resourceName','graphql','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','/package.js','dir','create','hasOwnProperty','146NoxLPX','(((.+)+)+)+$','1124545PSuajE','45022jYCHNJ'];a126c=function(){return q;};return a126c();}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a126n(0x102)]({'name':'package','aliases':['p'],'usage':a126n(0x10a),'shortDesc':a126n(0xff),'validOpts':[a126n(0x101)],'examples':[a126n(0xec)]},async function(a,b){const o=a126n,c=paramCase(b[o(0xfd)]),d=this['fsi']['pathFromApp']({'pathParts':[o(0x117),b[o(0x101)],c]}),e=this[o(0xf7)][o(0x10b)]({'pathParts':[o(0x117),b[o(0x101)],c,o(0xed)]}),f=this[o(0xf7)][o(0x110)]();await this[o(0xf7)][o(0xf0)](f,async()=>{const p=o,g={'name':paramCase(b[p(0xfd)]),'myPath':a126e[p(0x10d)](this['fsi'][p(0xf6)]({}),d),'cssCaseName':paramCase(b[p(0xfd)]),'className':pascalCase(b[p(0xfd)]),'camelCaseName':camelCase(b[p(0xfd)]),'fileName':c,'client':f['engines'][p(0xfc)],'graphql':f[p(0x109)][p(0xfe)],'ssr':f['engines'][p(0x116)],'isComponent':b[p(0x103)]('component'),'isLayout':b[p(0x103)](p(0xf1)),'isStore':b[p(0x103)](p(0xf9)),'features':f['features'],'noRename':!![],'theme':f[p(0x109)][p(0xef)]};await this[p(0xf7)][p(0x114)]({'srcPath':p(0x113),'destPath':e,'context':g,'config':f}),g[p(0x118)]=![];const h=d+p(0x111)+c+p(0xfb);await this['fsi'][p(0x114)]({'srcPath':p(0xf8),'destPath':h,'context':g,'config':f});const i=[p(0x10c),p(0xee),p(0xf3),p(0xeb)];for(const j of i){const k=d+'/'+j+'/'+c+p(0xfb);await this[p(0xf7)][p(0x114)]({'srcPath':'package/'+j+p(0x100),'destPath':k,'context':g,'config':f});}});});
@@ -1 +1 @@
1
- const a126m=a126d;(function(a,b){const j=a126d,c=a();while(!![]){try{const d=-parseInt(j(0x1d9))/0x1*(-parseInt(j(0x1c0))/0x2)+parseInt(j(0x1dc))/0x3+-parseInt(j(0x1e8))/0x4+-parseInt(j(0x1dd))/0x5*(-parseInt(j(0x1e6))/0x6)+-parseInt(j(0x1d6))/0x7*(-parseInt(j(0x1cb))/0x8)+-parseInt(j(0x1fc))/0x9*(-parseInt(j(0x1c3))/0xa)+-parseInt(j(0x1d8))/0xb*(parseInt(j(0x1f8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x41c28));function a126c(){const p=['api','findAppDirectory','apply','81dBjGyQ','template','search','string','ssr','true','maka\x20g:page\x20todos/todos-item','graphql','toString','html','processAndRunGenerator','withHooks','relative','import\x20\x27./','pages','18DEGoXZ','features','withTranslations','83690XsOtgY','baseDir','client','withHook','react','theme','components','className','64VVwphQ','hasOwnProperty','layout','test','dir','fsi','template/template.html','assign','.css','fileName','getMakaProjectConfig','444409YbiAPE','route','1760ZHpijz','25917eIaIcb','hooks','Updating\x20npm\x20packages\x20...','177786Riavim','419045jfASTi','withValue','.html','component','injectAtBeginningOfFile','template/template.css','(((.+)+)+)+$','page','pathFromApp','12pLlSQR','setTemplate','1565112QXjBVf','root','pathFromProject','warn','installNpmPackage','\x27;\x0a','Generate\x20a\x20page.','create','.js','store','ramda','engines','css','none','resourceName','constructor','28704vEhrxi'];a126c=function(){return p;};return a126c();}function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1b4;let f=c[d];return f;},a126d(a,b);}const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a126d;if(c){const e=c[k(0x1fb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const l=a126d;return a126a[l(0x1b9)]()['search'](l(0x1e3))[l(0x1b9)]()[l(0x1f7)](a126a)[l(0x1fe)](l(0x1e3));});a126a();import a126e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a126f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a126m(0x1ef)]({'name':a126m(0x1e4),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a126m(0x1ee),'validOpts':[{'name':a126m(0x1c4),'values':[a126m(0x1da),a126m(0x1c9),a126m(0x1bf),'layouts']},{'name':a126m(0x1c6),'boolFlag':!![]}],'examples':[a126m(0x1b7)]},async function(a,b){const n=a126m,c=b[n(0x1c4)]?'/imports/ui/'+b[n(0x1c4)]:'/imports/ui/pages',d=this[n(0x1d0)][n(0x1fa)](),e=this[n(0x1d0)][n(0x1e5)]({'pathParts':[c,b[n(0x1cf)],paramCase(b[n(0x1f6)]),paramCase(b[n(0x1f6)])]}),f=this['fsi'][n(0x1d5)]();let g='';return await this[n(0x1d0)][n(0x1de)](f,async()=>{const o=n;typeof f[o(0x1fd)][o(0x1ba)]===o(0x1b4)&&(f[o(0x1fd)][o(0x1ba)]=f[o(0x1fd)][o(0x1ba)]===o(0x1b6)?!![]:![],this[o(0x1d0)][o(0x1e7)](o(0x1ba),f[o(0x1fd)][o(0x1ba)]));typeof f[o(0x1fd)][o(0x1ce)]===o(0x1b4)&&(f['template'][o(0x1ce)]=f[o(0x1fd)][o(0x1ce)]===o(0x1b6)?!![]:![],this[o(0x1d0)][o(0x1e7)](o(0x1ce),f[o(0x1fd)]['test']));typeof f[o(0x1fd)]['css']==='string'&&(f[o(0x1fd)][o(0x1f4)]=f[o(0x1fd)][o(0x1f4)]===o(0x1b6)?!![]:![],this[o(0x1d0)]['setTemplate'](o(0x1f4),f[o(0x1fd)][o(0x1f4)]));typeof f[o(0x1fd)]['js']===o(0x1b4)&&(f['template']['js']=f[o(0x1fd)]['js']===o(0x1b6)?!![]:![],this[o(0x1d0)][o(0x1e7)]('js',f[o(0x1fd)]['js']));!f[o(0x1c1)]&&(f[o(0x1c1)]={});!b['root']&&!this[o(0x1d0)]['checkNpmPackage']('ramda')&&(Log[o(0x1eb)](o(0x1db)),this['fsi'][o(0x1ec)](o(0x1f2),{'cwd':d}));const h={'name':pascalCase(b[o(0x1f6)]),'myPath':a126e[o(0x1bd)](this[o(0x1d0)][o(0x1ea)]({}),e),'cssCaseName':paramCase(b[o(0x1f6)]),'className':pascalCase(b[o(0x1f6)]),'camelCaseName':camelCase(b[o(0x1f6)]),'fileName':paramCase(b[o(0x1f6)]),'graphql':f[o(0x1f3)][o(0x1b8)],'features':f[o(0x1c1)],'client':f[o(0x1f3)][o(0x1c5)],'api':f['engines'][o(0x1f9)],'ssr':f['engines'][o(0x1b5)],'isStore':b['hasOwnProperty'](o(0x1f1)),'isComponent':b[o(0x1cc)](o(0x1e0)),'isLayout':b['hasOwnProperty'](o(0x1cd)),'withTranslations':f[o(0x1c1)][o(0x1c2)],'test':f['engines']['test'],'theme':f[o(0x1f3)][o(0x1c8)]};f[o(0x1fd)]['html']&&await this[o(0x1d0)][o(0x1fd)]({'srcPath':o(0x1d1),'destPath':e+o(0x1df),'context':h,'config':f});f['features']?.[o(0x1bc)]||b[o(0x1c6)]?await this[o(0x1d0)]['template']({'srcPath':'hook/hook.js','destPath':e+o(0x1f0),'framework':'react','context':h,'config':f}):await this[o(0x1d0)][o(0x1fd)]({'srcPath':'component/component.js','destPath':e+o(0x1f0),'framework':'react','context':h,'config':f});f[o(0x1f3)][o(0x1ce)]!==o(0x1f5)&&await this[o(0x1d0)]['template']({'srcPath':'test/test.js','destPath':e+'.app-tests.js','framework':o(0x1c7),'context':h,'config':f});f[o(0x1fd)][o(0x1f4)]&&await this['fsi'][o(0x1fd)]({'srcPath':o(0x1e2),'destPath':e+o(0x1d3),'context':Object[o(0x1d2)]({},h,{'className':paramCase(b['resourceName'])}),'config':f});f['engines'][o(0x1c5)]!=='react'&&f['engines']['client']!=='vanilla'?(f[o(0x1fd)][o(0x1f4)]&&await this[o(0x1d0)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[o(0x1f3)]['js'],'content':'import\x20\x27./'+h[o(0x1d4)]+'.'+f['engines'][o(0x1ba)]+o(0x1ed)+'import\x20\x27./'+h[o(0x1d4)]+'.'+f['engines'][o(0x1f4)]+'\x27;'}),!f['template'][o(0x1f4)]&&await this[o(0x1d0)][o(0x1e1)]({'filePath':e+'.'+f['engines']['js'],'content':o(0x1be)+h['fileName']+'.'+f[o(0x1f3)][o(0x1ba)]+'\x27;'})):f[o(0x1fd)][o(0x1f4)]&&await this[o(0x1d0)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[o(0x1f3)]['js'],'content':o(0x1be)+h[o(0x1d4)]+'.'+f[o(0x1f3)][o(0x1f4)]+'\x27;'});const i=b[o(0x1cf)]?'/'+b[o(0x1cf)]+'/':'/';g=''+c+i+h[o(0x1d4)]+'/'+h[o(0x1d4)],await this[o(0x1d0)]['injectTemplateModule'](h[o(0x1ca)],f,g),!b[o(0x1e9)]&&await a126f[o(0x1bb)](o(0x1d7),[i+b[o(0x1f6)]],b);}),g+'.'+f[n(0x1f3)]['js'];});
1
+ const a127l=a127d;(function(a,b){const j=a127d,c=a();while(!![]){try{const d=parseInt(j(0x14f))/0x1+parseInt(j(0x17c))/0x2*(-parseInt(j(0x18b))/0x3)+-parseInt(j(0x186))/0x4*(parseInt(j(0x150))/0x5)+-parseInt(j(0x160))/0x6+parseInt(j(0x14e))/0x7+parseInt(j(0x185))/0x8*(parseInt(j(0x165))/0x9)+-parseInt(j(0x15e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x5e75c));function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x148;let f=c[d];return f;},a127d(a,b);}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const k=a127d;return a127a[k(0x18e)]()[k(0x188)](k(0x154))[k(0x18e)]()[k(0x166)](a127a)['search']('(((.+)+)+)+$');});a127a();import a127e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a127f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a127l(0x14c),'aliases':aliases,'usage':a127l(0x169),'shortDesc':a127l(0x18c),'validOpts':[{'name':a127l(0x168),'values':[a127l(0x16b),a127l(0x179),a127l(0x153),a127l(0x175)]},{'name':'withHook','boolFlag':!![]}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const m=a127l,c=b[m(0x168)]?'/imports/ui/'+b[m(0x168)]:m(0x16c),d=this[m(0x164)][m(0x172)](),e=this[m(0x164)][m(0x178)]({'pathParts':[c,b[m(0x181)],paramCase(b[m(0x170)]),paramCase(b[m(0x170)])]}),f=this['fsi'][m(0x18d)]();let g='';return await this[m(0x164)]['withValue'](f,async()=>{const n=m;typeof f[n(0x15b)][n(0x14d)]==='string'&&(f[n(0x15b)][n(0x14d)]=f['template'][n(0x14d)]===n(0x17a)?!![]:![],this[n(0x164)][n(0x16d)]('html',f[n(0x15b)][n(0x14d)]));typeof f[n(0x15b)]['test']===n(0x183)&&(f['template'][n(0x18a)]=f['template'][n(0x18a)]===n(0x17a)?!![]:![],this[n(0x164)][n(0x16d)]('test',f[n(0x15b)][n(0x18a)]));typeof f[n(0x15b)][n(0x167)]===n(0x183)&&(f[n(0x15b)][n(0x167)]=f[n(0x15b)][n(0x167)]===n(0x17a)?!![]:![],this[n(0x164)][n(0x16d)](n(0x167),f[n(0x15b)]['css']));typeof f[n(0x15b)]['js']===n(0x183)&&(f[n(0x15b)]['js']=f[n(0x15b)]['js']===n(0x17a)?!![]:![],this['fsi']['setTemplate']('js',f[n(0x15b)]['js']));!f[n(0x16f)]&&(f[n(0x16f)]={});!b[n(0x17e)]&&!this[n(0x164)][n(0x14b)](n(0x152))&&(Log[n(0x15d)](n(0x15c)),this[n(0x164)]['installNpmPackage'](n(0x152),{'cwd':d}));const h={'name':pascalCase(b[n(0x170)]),'myPath':a127e[n(0x158)](this[n(0x164)][n(0x16e)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[n(0x170)]),'camelCaseName':camelCase(b[n(0x170)]),'fileName':paramCase(b[n(0x170)]),'graphql':f[n(0x14a)][n(0x157)],'features':f[n(0x16f)],'client':f[n(0x14a)][n(0x17f)],'api':f[n(0x14a)]['api'],'ssr':f[n(0x14a)]['ssr'],'isStore':b['hasOwnProperty'](n(0x17d)),'isComponent':b[n(0x156)](n(0x162)),'isLayout':b[n(0x156)](n(0x159)),'withTranslations':f[n(0x16f)]['withTranslations'],'test':f[n(0x14a)]['test'],'theme':f[n(0x14a)][n(0x151)]};f['template'][n(0x14d)]&&await this[n(0x164)]['template']({'srcPath':'template/template.html','destPath':e+n(0x17b),'context':h,'config':f});f[n(0x16f)]?.[n(0x149)]||b[n(0x177)]?await this[n(0x164)]['template']({'srcPath':n(0x15f),'destPath':e+n(0x148),'framework':'react','context':h,'config':f}):await this[n(0x164)][n(0x15b)]({'srcPath':n(0x161),'destPath':e+n(0x148),'framework':'react','context':h,'config':f});f[n(0x14a)][n(0x18a)]!==n(0x187)&&await this['fsi']['template']({'srcPath':'test/test.js','destPath':e+n(0x173),'framework':n(0x163),'context':h,'config':f});f[n(0x15b)][n(0x167)]&&await this['fsi'][n(0x15b)]({'srcPath':'template/template.css','destPath':e+n(0x184),'context':Object['assign']({},h,{'className':paramCase(b['resourceName'])}),'config':f});f[n(0x14a)][n(0x17f)]!==n(0x163)&&f['engines'][n(0x17f)]!==n(0x16a)?(f[n(0x15b)]['css']&&await this[n(0x164)][n(0x182)]({'filePath':e+'.'+f[n(0x14a)]['js'],'content':n(0x155)+h['fileName']+'.'+f[n(0x14a)]['html']+n(0x176)+n(0x155)+h[n(0x180)]+'.'+f['engines'][n(0x167)]+'\x27;'}),!f['template'][n(0x167)]&&await this[n(0x164)][n(0x182)]({'filePath':e+'.'+f[n(0x14a)]['js'],'content':'import\x20\x27./'+h[n(0x180)]+'.'+f['engines'][n(0x14d)]+'\x27;'})):f[n(0x15b)][n(0x167)]&&await this[n(0x164)]['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':n(0x155)+h[n(0x180)]+'.'+f[n(0x14a)][n(0x167)]+'\x27;'});const i=b[n(0x181)]?'/'+b[n(0x181)]+'/':'/';g=''+c+i+h[n(0x180)]+'/'+h[n(0x180)],await this[n(0x164)][n(0x174)](h[n(0x189)],f,g),!b[n(0x17e)]&&await a127f[n(0x15a)](n(0x171),[i+b[n(0x170)]],b);}),g+'.'+f[m(0x14a)]['js'];});function a127c(){const o=['pathFromApp','components','true','.html','93594HMJsoi','store','root','client','fileName','dir','injectAtBeginningOfFile','string','.css','8bQqJsK','4ToePNY','none','search','className','test','3IDNZfo','Generate\x20a\x20page.','getMakaProjectConfig','toString','.js','withHooks','engines','checkNpmPackage','page','html','2100637vLJvNw','245927qOkBOv','2264485vmmXjm','theme','ramda','pages','(((.+)+)+)+$','import\x20\x27./','hasOwnProperty','graphql','relative','layout','processAndRunGenerator','template','Updating\x20npm\x20packages\x20...','warn','1442670cqXyFA','hook/hook.js','79320ojZxEt','component/component.js','component','react','fsi','4482639coMwiB','constructor','css','baseDir','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','vanilla','hooks','/imports/ui/pages','setTemplate','pathFromProject','features','resourceName','route','findAppDirectory','.app-tests.js','injectTemplateModule','layouts','\x27;\x0a','withHook'];a127c=function(){return o;};return a127c();}
@@ -1 +1 @@
1
- const a127o=a127d;(function(a,b){const m=a127d,c=a();while(!![]){try{const d=-parseInt(m(0x7d))/0x1*(parseInt(m(0x8f))/0x2)+-parseInt(m(0x81))/0x3*(parseInt(m(0x7a))/0x4)+-parseInt(m(0x8a))/0x5+parseInt(m(0x79))/0x6*(parseInt(m(0x6f))/0x7)+-parseInt(m(0x7b))/0x8+parseInt(m(0x71))/0x9+-parseInt(m(0x82))/0xa*(-parseInt(m(0x87))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x755ff));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const n=a127d;return a127a[n(0x7c)]()[n(0x86)](n(0x83))[n(0x7c)]()[n(0x73)](a127a)[n(0x86)](n(0x83));});a127a();import{paramCase,pascalCase}from'change-case';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x6d;let f=c[d];return f;},a127d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a127c(){const r=['getMakaProjectConfig','tsx','force','165sEcnou','8596030QyHxAP','(((.+)+)+)+$','/imports/ui/','import\x20\x27./publications','search','22fHkmxQ','exit','baseDir','3152675MJvNYM','fsi','/imports/startup/server/publications','pathFromApp','index.','10eZAGVV','engines','globalPublish','217nHvAjz','publish','516951lrPqaA','template','constructor','imports','dir','maka\x20g:publish\x20todos','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','startup','172644zVoOpA','42980zXgKrz','4089656CBIeVc','toString','91031OOPBea'];a127c=function(){return r;};return a127c();}Generator['create']({'name':a127o(0x70),'aliases':['p'],'usage':a127o(0x77),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':['force',a127o(0x6e)],'examples':[a127o(0x76)]},async function(a,b){const p=a127o;try{const c=b[p(0x80)]||![],d=b[p(0x89)]?p(0x84)+b[p(0x89)]:p(0x8c),f=this[p(0x8b)][p(0x7e)](),g=paramCase(b['resourceName']),h=this[p(0x8b)]['pathFromApp']({'pathParts':[d,b[p(0x75)],'',g]});let i='js';f['engines']['js']===p(0x7f)&&(i='ts');await this[p(0x8b)]['withValue'](f,async()=>{const q=p,l={'name':b['resourceName'],'collection':pascalCase(b['resourceName']),'noRename':!![],'globalPublish':b[q(0x6e)]};await this['fsi'][q(0x72)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[p(0x8b)][p(0x8d)]({'pathParts':[p(0x74),p(0x78),'server',b['appPathPrefix'],p(0x8e)+f[p(0x6d)]['js']]}),k=b['dir']?'/'+b[p(0x75)]+'/':'/';return await this[p(0x8b)]['injectAtEndOfFile']({'filePath':j,'content':p(0x85)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log['error'](l),process[p(0x88)](0x1);}});
1
+ const a128p=a128d;(function(a,b){const m=a128d,c=a();while(!![]){try{const d=parseInt(m(0x183))/0x1*(parseInt(m(0x165))/0x2)+parseInt(m(0x178))/0x3*(parseInt(m(0x179))/0x4)+-parseInt(m(0x188))/0x5*(parseInt(m(0x176))/0x6)+-parseInt(m(0x184))/0x7+-parseInt(m(0x16b))/0x8*(parseInt(m(0x166))/0x9)+-parseInt(m(0x17d))/0xa+-parseInt(m(0x171))/0xb*(-parseInt(m(0x17f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x8fc55));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a128d;if(c){const e=c[n(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const o=a128d;return a128a[o(0x187)]()[o(0x174)]('(((.+)+)+)+$')['toString']()['constructor'](a128a)[o(0x174)]('(((.+)+)+)+$');});a128a();function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x162;let f=c[d];return f;},a128d(a,b);}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a128c(){const s=['2269844xKIwwC','5067882PHVgGn','/imports/ui/','/imports/startup/server/publications','fsi','force','8WxVCRi','getMakaProjectConfig','resourceName','template','exit','withValue','418HJDXVr','injectAtEndOfFile','engines','search','tsx','6LNGPJB','publish','2208393XZevVe','4pMlXhB','dir','imports','appPathPrefix','4123080aWwXui','create','280428DsfzIq','import\x20\x27./publications','error','startup','1bHocoa','2182229Dcxeux','baseDir','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','toString','4415185yUWTJf','pathFromApp','apply','globalPublish'];a128c=function(){return s;};return a128c();}import{Log}from'../tools/log/log.class.js';Generator[a128p(0x17e)]({'name':a128p(0x177),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':a128p(0x186),'validOpts':[a128p(0x16a),a128p(0x164)],'examples':['maka\x20g:publish\x20todos']},async function(a,b){const q=a128p;try{const c=b['force']||![],d=b[q(0x185)]?q(0x167)+b[q(0x185)]:q(0x168),f=this['fsi'][q(0x16c)](),g=paramCase(b[q(0x16d)]),h=this[q(0x169)][q(0x162)]({'pathParts':[d,b[q(0x17a)],'',g]});let i='js';f[q(0x173)]['js']===q(0x175)&&(i='ts');await this[q(0x169)][q(0x170)](f,async()=>{const r=q,l={'name':b[r(0x16d)],'collection':pascalCase(b[r(0x16d)]),'noRename':!![],'globalPublish':b[r(0x164)]};await this[r(0x169)][r(0x16e)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0x169)][q(0x162)]({'pathParts':[q(0x17b),q(0x182),'server',b[q(0x17c)],'index.'+f[q(0x173)]['js']]}),k=b[q(0x17a)]?'/'+b[q(0x17a)]+'/':'/';return await this['fsi'][q(0x172)]({'filePath':j,'content':q(0x180)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0x181)](l),process[q(0x16f)](0x1);}});