@maka/maka-cli 4.11.1 → 4.12.0

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 (155) 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/tool.js +1 -1
  137. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  138. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  139. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  141. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  142. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  143. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/https/https.class.js +1 -1
  145. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  146. package/bundle/obf/src/tools/log/log.class.js +1 -1
  147. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/options/options.class.js +1 -1
  149. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  150. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  151. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  153. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  154. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  155. 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 a113r=a113d;(function(a,b){const o=a113d,c=a();while(!![]){try{const d=-parseInt(o(0x169))/0x1*(-parseInt(o(0x14b))/0x2)+-parseInt(o(0x136))/0x3*(-parseInt(o(0x142))/0x4)+-parseInt(o(0x15f))/0x5*(parseInt(o(0x13b))/0x6)+parseInt(o(0x15d))/0x7+parseInt(o(0x161))/0x8+-parseInt(o(0x15b))/0x9+parseInt(o(0x135))/0xa*(-parseInt(o(0x14a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x6aa61));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a113d;if(c){const e=c[p(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const q=a113d;return a113a[q(0x160)]()[q(0x168)](q(0x143))[q(0x160)]()[q(0x157)](a113a)['search'](q(0x143));});a113a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a113e from'./auth.generator.js';function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x124;let f=c[d];return f;},a113d(a,b);}import a113f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'meteor','aliases':['m'],'usage':a113r(0x14f),'shortDesc':a113r(0x130),'validOpts':[a113r(0x12b)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a113r(0x15e)]},'description':a113r(0x158)},async function(a,b){const s=a113r;try{const c=b[s(0x12b)]||![];await this[s(0x12a)]['checkMeteorPackage']([s(0x127),s(0x13d)],{'shouldInstall':!![]});const d=this[s(0x12a)][s(0x164)](),f=this[s(0x12a)][s(0x153)](),g=f[s(0x129)][s(0x154)]===s(0x138);await a113f[s(0x12f)](s(0x162),[],{'force':c,'cwd':d,'config':f});const h=await a113f['processAndRunGenerator']('publish',[s(0x13a)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x144):'/imports/startup/client',j=this[s(0x12a)]['pathFromApp']({'pathParts':[i,'','',s(0x156)]});await this[s(0x12a)][s(0x12e)](f,async()=>{const t=s;await this['fsi'][t(0x167)]({'srcPath':t(0x12c),'destPath':j+'.js','framework':t(0x139),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x12a)][s(0x124)]({'pathParts':[i,'','',s(0x14e)]}),l=f[s(0x129)]['js'];await this[s(0x12a)][s(0x141)]({'filePath':k+'.'+l,'importName':s(0x134),'modulePath':g?s(0x16a):s(0x12d),'isNamedExport':![]}),await this['fsi'][s(0x159)]({'filePath':k+'.'+l,'content':s(0x137),'begin':'const\x20authenticateUser','replace':!![]}),await this['fsi'][s(0x159)]({'filePath':k+'.'+l,'content':s(0x165),'begin':s(0x13f),'replace':!![]}),await this[s(0x12a)][s(0x159)]({'filePath':k+'.'+l,'content':s(0x16b),'begin':s(0x140),'replace':!![]}),await this[s(0x12a)][s(0x159)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x128),'replace':!![]}),await this[s(0x12a)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x151),'begin':s(0x145),'replace':!![]}),await this[s(0x12a)][s(0x159)]({'filePath':k+'.'+l,'content':s(0x148),'begin':'const\x20registerNewUser','replace':!![]}),await this['fsi'][s(0x159)]({'filePath':k+'.'+l,'content':s(0x131),'begin':s(0x152),'replace':!![]});g&&(await this['fsi'][s(0x141)]({'filePath':k+'.'+l,'importName':s(0x150),'modulePath':s(0x13e),'isNamedExport':!![]}),await this[s(0x12a)]['injectIntoFile']({'filePath':k+'.'+l,'content':s(0x125),'begin':'export\x20const\x20AuthProvider','end':s(0x146)}));await this[s(0x12a)]['injectImport']({'filePath':h,'importName':s(0x133),'modulePath':s(0x155),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x12a)][s(0x159)]({'filePath':h,'content':s(0x166),'begin':s(0x149),'replace':!![]});const m=this[s(0x12a)][s(0x124)]({'pathParts':[s(0x163),s(0x126),s(0x15a),s(0x16c)]});await this['fsi']['injectImport']({'filePath':m+'.'+l,'importName':s(0x14d),'modulePath':'meteor/accounts-base','isNamedExport':!![]}),await this[s(0x12a)][s(0x159)]({'filePath':m+'.'+l,'content':s(0x15c),'begin':s(0x14c),'replace':!![]});}catch(n){Log[s(0x13c)](n),process[s(0x132)](0x1);}},async function(){},a113e);function a113c(){const u=['/imports/startup/lib','const\x20sendForgotPasswordEmail','return\x20\x5c(','apply','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','Meteor.publish','605gPHjbX','482YpekHC','Meteor.startup','Accounts','authentication-provider','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','useTracker','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','const\x20resetPasswordWithToken','getMakaProjectConfig','ssr','meteor/meteor','authentication-service','constructor','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','injectIntoCodeBlock','server','2476890MZfVMq','\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','4115797eRFySk','REACT','4272845nfrlfu','toString','5195320ipHPVr','kit:auth:provider','imports','findProjectDirectory','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','\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','template','search','2521gvuzfC','/imports/startup/lib/authentication-service','\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','index','pathFromApp','\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','startup','accounts-password','const\x20deauthenticateUser','engines','fsi','force','kit/auth/service/meteor-auth-service.js','/imports/startup/client/authentication-service','withValue','processAndRunGenerator','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','exit','Meteor','AuthService','142910FCSPho','1523010yiLCex','\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','true','react','auth/roles','6zSTeTB','error','alanning:roles','meteor/maka:react-tracker','const\x20authenticateToken','const\x20getUserAuthorizations','injectImport','4iIiQjs','(((.+)+)+)+$'];a113c=function(){return u;};return a113c();}
@@ -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 a114x=a114d;(function(a,b){const u=a114d,c=a();while(!![]){try{const d=parseInt(u(0x1d7))/0x1*(-parseInt(u(0x1f8))/0x2)+parseInt(u(0x1e3))/0x3*(parseInt(u(0x1f5))/0x4)+parseInt(u(0x1ec))/0x5+parseInt(u(0x1e4))/0x6*(parseInt(u(0x1ce))/0x7)+-parseInt(u(0x1e9))/0x8+parseInt(u(0x1f1))/0x9+-parseInt(u(0x1de))/0xa*(parseInt(u(0x1e6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xd7f30));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a114d;if(c){const e=c[v(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const w=a114d;return a114a[w(0x1d3)]()[w(0x1ef)](w(0x1f7))[w(0x1d3)]()[w(0x1da)](a114a)['search'](w(0x1f7));});function a114c(){const A=['/imports/startup/client/authentication-provider','/imports/startup/lib/authentication-provider','/routes','11271351nXnHBT','apply','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','provider','react','toString','<Routes\x20history={browserHistory}/>','<Routes\x20history={history}/>','</AuthProvider>','193857KSgGkM','exit','\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','constructor','create','/imports/startup/server/index','pathFromApp','920mOiUPE','const\x20Routes','useContext','replaceAll','engines','20073ClLPHa','6EXJpvu','fsi','421157RgFUNe','AuthProvider','/imports/startup/client/index','2173880yxGTHa','split','/imports/startup/client','5850240kkDSuY','injectIntoCodeBlock','<AuthProvider>','search','function\x20Routes','12566133SBVIIN','injectImport','injectAroundString','getMakaProjectConfig','532SinfLm','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','(((.+)+)+)+$','4qYunZg','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','force'];a114c=function(){return A;};return a114c();}a114a();function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a114d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a114e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a114x(0x1db)]({'name':a114x(0x1d1),'aliases':['p'],'usage':a114x(0x1d0),'shortDesc':a114x(0x1f6),'validOpts':[a114x(0x1fa)],'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 y=a114x;try{const c=b[y(0x1fa)]||![];Log['bright'](y(0x1f9));const d=this[y(0x1e5)][y(0x1f4)](),f=d['engines']['ssr']==='true',g={'name':headerCase(d['appName'])[y(0x1e1)]('-','\x20')},h=f?'/imports/startup/lib':y(0x1eb),i=this['fsi']['pathFromApp']({'pathParts':[h,'','','authentication-provider']});await this['fsi']['withValue'](d,async()=>{const z=y;await this[z(0x1e5)]['template']({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+'.js','framework':z(0x1d2),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x1e2)]['js'],k=h+y(0x1fd),l=k['split']('/'),m=this[y(0x1e5)]['pathFromApp']({'pathParts':l});await this[y(0x1e5)]['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0x1fc):y(0x1fb),'isNamedExport':!![]}),await this[y(0x1e5)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x1e0),'modulePath':y(0x1d2),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][y(0x1ed)]({'filePath':m+'.'+j,'content':y(0x1d9),'begin':[y(0x1df),y(0x1f0)],'replace':!![]});const n=y(0x1e8),o=n[y(0x1ea)]('/'),p=this[y(0x1e5)][y(0x1dd)]({'pathParts':o});await this[y(0x1e5)]['injectImport']({'filePath':p+'.'+j,'importName':y(0x1e7),'modulePath':f?y(0x1fc):y(0x1fb),'isNamedExport':!![]}),await this[y(0x1e5)][y(0x1f3)]({'filePath':p+'.'+j,'aboveContent':y(0x1ee),'belowContent':y(0x1d6),'targetString':y(0x1d4),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1dc),r=q[y(0x1ea)]('/'),s=this[y(0x1e5)]['pathFromApp']({'pathParts':r});await this[y(0x1e5)][y(0x1f2)]({'filePath':s+'.'+j,'importName':y(0x1e7),'modulePath':f?y(0x1fc):y(0x1fb),'isNamedExport':!![]}),await this[y(0x1e5)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':y(0x1ee),'belowContent':y(0x1d6),'targetString':y(0x1d5),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[y(0x1d8)](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 a115d(a,b){var c=a115c();return a115d=function(d,e){d=d-0x8e;var f=c[d];return f;},a115d(a,b);}(function(a,b){var f=a115d,c=a();while(!![]){try{var d=-parseInt(f(0x99))/0x1*(-parseInt(f(0x94))/0x2)+-parseInt(f(0x90))/0x3+-parseInt(f(0x91))/0x4+parseInt(f(0x9b))/0x5+-parseInt(f(0x93))/0x6*(-parseInt(f(0x9a))/0x7)+-parseInt(f(0x96))/0x8*(parseInt(f(0x98))/0x9)+-parseInt(f(0x9c))/0xa*(parseInt(f(0x8f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xb0c3e));var a115b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a115d;if(c){var e=c[g(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){var h=a115d;return a115a[h(0x95)]()[h(0x97)]('(((.+)+)+)+$')[h(0x95)]()[h(0x8e)](a115a)[h(0x97)](h(0x9d));});function a115c(){var i=['10xvLXFj','(((.+)+)+)+$','constructor','10848629HEwnRk','5550mfkjhE','902544xauSXy','apply','24wdVszh','2799634qcejQL','toString','9790440GfFRmj','search','9zmceTn','1iSsqHY','2218020elqnJe','2471515WrwPRG'];a115c=function(){return i;};return a115c();}a115a();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 a116c(){const k=['esri','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','create','toString','(((.+)+)+)+$','constructor','search','16vapvmn','/foo/bar','7842180MQEogW','356694mNyEVD','21817020VhehuA','1367437DbOwbU','/foo','5146960RwWrKK','4kRRTQq','6158529JfxOJn','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','7seBfxl','apply','4692837VngOWj'];a116c=function(){return k;};return a116c();}const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=parseInt(f(0x205))/0x1+-parseInt(f(0x203))/0x2+-parseInt(f(0x1f8))/0x3*(parseInt(f(0x1f3))/0x4)+-parseInt(f(0x207))/0x5+-parseInt(f(0x202))/0x6*(parseInt(f(0x1f6))/0x7)+parseInt(f(0x200))/0x8*(parseInt(f(0x1f4))/0x9)+parseInt(f(0x204))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xccbfd));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a116d;if(c){const e=c[g(0x1f7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const h=a116d;return a116a[h(0x1fc)]()[h(0x1ff)](h(0x1fd))[h(0x1fc)]()[h(0x1fe)](a116a)['search'](h(0x1fd));});a116a();import{Generator}from'../../../generator.js';import a116e from'../kit.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a116d(a,b);}const EsriGen=Generator[a116i(0x1fb)]({'name':a116i(0x1f9),'aliases':['e'],'usage':a116i(0x1f5),'noNeedResource':!![],'shortDesc':a116i(0x1fa),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'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':[j(0x201)],'filesUpdated':[j(0x206)]}};},async function(){},a116e);export default EsriGen;
@@ -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
+ function a117c(){const v=['FALSE','bright','28PrEcEs','replaceAll','findProjectDirectory','/imports/ui/','constructor','764343yoopXU','react','create','1554763PyYtvo','.js','10642296IawMwq','7799235xhlMKk','esri-loader','</div>','<div\x20id=\x22map\x22>','(((.+)+)+)+$','page','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','5742230rpPggh','1802964brdrRh','ssr','kit/esri/map/','dir','checkNpmPackage','basic-map','template','961730dNXzKN','Generate\x20an\x20Esri\x20map\x20component','search','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','@esri/react-arcgis','/imports/ui/hooks','6ZoFtra','exit','/imports/startup/client/templates','getMakaProjectConfig','withValue','9UVkioP','fsi','appName','REACT','true','error','baseDir','injectIntoFile','Generating\x20a\x20map\x20component','\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','injectImport','pathFromApp','apply','map','toString'];a117c=function(){return v;};return a117c();}const a117s=a117d;(function(a,b){const p=a117d,c=a();while(!![]){try{const d=-parseInt(p(0x1eb))/0x1+-parseInt(p(0x1e4))/0x2+parseInt(p(0x20c))/0x3*(parseInt(p(0x207))/0x4)+parseInt(p(0x212))/0x5+parseInt(p(0x1f1))/0x6*(parseInt(p(0x20f))/0x7)+parseInt(p(0x211))/0x8*(-parseInt(p(0x1f6))/0x9)+parseInt(p(0x1e3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xe6fe3));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a117d;if(c){const e=c[q(0x202)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const r=a117d;return a117a[r(0x204)]()[r(0x1ed)](r(0x1e0))[r(0x204)]()[r(0x20b)](a117a)[r(0x1ed)](r(0x1e0));});a117a();function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1de;let f=c[d];return f;},a117d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./esri.generator.js';import a117f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117s(0x20e)]({'name':a117s(0x203),'aliases':['m'],'usage':a117s(0x1ee),'shortDesc':a117s(0x1ec),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117s(0x1f9)],'ssr':SsrEngines[a117s(0x205)]},'description':a117s(0x1ff)},async function(a,b){const t=a117s;try{Log[t(0x206)](t(0x1fe));const c=t(0x1e9);await this[t(0x1f7)][t(0x1e8)]([t(0x1ef),t(0x213)],{'shouldInstall':!![]});const d=this[t(0x1f7)][t(0x209)](),f=this[t(0x1f7)][t(0x1f4)](),g=f['engines'][t(0x1e5)]===t(0x1fa),h=await a117f['processAndRunGenerator'](t(0x1e1),[t(0x203)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x1f8)])[t(0x208)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x1fc)]?t(0x20a)+b[t(0x1fc)]:t(0x1f0),k=this[t(0x1f7)]['pathFromApp']({'pathParts':[j,b[t(0x1e7)],paramCase(c),paramCase(c)]});await this[t(0x1f7)][t(0x1f5)](f,async()=>{const u=t;await this[u(0x1f7)][u(0x1ea)]({'srcPath':u(0x1e6)+c+u(0x210),'destPath':k+u(0x210),'framework':u(0x20d),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x1e7)]+'/'+c+'/'+c;await this[t(0x1f7)]['injectTemplateModule'](c,f,l);const m=h['split']('/'),n=this['fsi'][t(0x201)]({'pathParts':m});await this[t(0x1f7)][t(0x200)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x1f3),'isNamedExport':!![]}),await this['fsi'][t(0x1fd)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x1e2),'begin':[t(0x1df),t(0x1df)],'end':[t(0x1de)],'replace':!![]});}catch(o){Log[t(0x1fb)](o),process[t(0x1f2)](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
+ function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xef;let f=c[d];return f;},a118d(a,b);}const a118i=a118d;function a118c(){const j=['search','3HHGXzs','3403840nlhhnC','3023948LIbosV','13470327BbKLAe','18QShdHe','maka\x20g:kit','create','9086096ngKGKg','apply','1584450tUxsEH','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','12075xqGgcl','maka\x20g:k','kit','constructor','1007059PMjPmb','(((.+)+)+)+$'];a118c=function(){return j;};return a118c();}(function(a,b){const f=a118d,c=a();while(!![]){try{const d=parseInt(f(0xef))/0x1+parseInt(f(0xfb))/0x2+parseInt(f(0xf2))/0x3*(parseInt(f(0xf4))/0x4)+parseInt(f(0xf3))/0x5+-parseInt(f(0xf6))/0x6*(-parseInt(f(0xfd))/0x7)+-parseInt(f(0xf9))/0x8+-parseInt(f(0xf5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x949ed));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a['toString']()['search'](h(0xf0))['toString']()[h(0x100)](a118a)[h(0xf1)](h(0xf0));});a118a();import{Generator}from'../../generator.js';const KitGen=Generator[a118i(0xf8)]({'name':a118i(0xff),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a118i(0xfc),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a118i(0xf7),a118i(0xfe)]},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(0xcc))/0x1*(parseInt(f(0xd2))/0x2)+-parseInt(f(0xc3))/0x3*(parseInt(f(0xcf))/0x4)+-parseInt(f(0xc6))/0x5+parseInt(f(0xc7))/0x6+-parseInt(f(0xd0))/0x7*(parseInt(f(0xcb))/0x8)+parseInt(f(0xc8))/0x9+-parseInt(f(0xd1))/0xa*(-parseInt(f(0xc4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xc0327));function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0xc3;var f=c[d];return f;},a119d(a,b);}var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a['toString']()[h(0xcd)]('(((.+)+)+)+$')[h(0xce)]()[h(0xca)](a119a)[h(0xcd)](h(0xc9));});a119a();function a119c(){var i=['(((.+)+)+)+$','constructor','8aTTpwW','250095kURDdf','search','toString','1484108bRKySd','10123309UtsiAn','14290CRjiAS','12BFibqo','3qNROqY','3553USWAEP','apply','7160765NUYcPb','8219370xMHuJO','6341166WciZvU'];a119c=function(){return i;};return a119c();}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 a120I=a120d;function a120c(){const M=['516972smcrkA','baseDir','kit/mui/auth/password-reset/','AuthContext','authType','basic-register-page','.js','options','/imports/ui/pages/auth','search','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','Custom\x20(roll\x20your\x20own)','367617RggCqW','/imports/startup/client/authentication-provider','64324eTLPAK','forgot-password','Meteor\x20Accounts','list','react','/imports/startup/lib/authentication-provider','pathFromApp','Cleaning\x20up...','basic-forgot-password-page','custom','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','getMakaProjectConfig','kit/mui/auth/forgot-password/','replaceAll','11yTSXXU','308009JoVCyJ','ssr','16PWDfpR','basic-password-reset-page','register','5DAFMNI','log','REACT','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','withValue','6180010bgrIgD','maka\x20g:k:m:f','toString','layouts','auth','injectImport','332238XuavIJ','fsi','meteor','route','basic-login-page','MATERIAL','error','template','kit/mui/auth/register/','dir','processAndRunGenerator','68823ikeiQT','(((.+)+)+)+$','14LOFCCU','basic-logout-page','injectTemplateModule','split','login','kit/mui/auth/login/','reset-password/:token','create','force'];a120c=function(){return M;};return a120c();}(function(a,b){const G=a120d,c=a();while(!![]){try{const d=-parseInt(G(0x179))/0x1+-parseInt(G(0x189))/0x2+-parseInt(G(0x1ab))/0x3+parseInt(G(0x1ad))/0x4*(-parseInt(G(0x17e))/0x5)+-parseInt(G(0x19f))/0x6*(-parseInt(G(0x196))/0x7)+parseInt(G(0x17b))/0x8*(parseInt(G(0x194))/0x9)+-parseInt(G(0x183))/0xa*(-parseInt(G(0x178))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x2f167));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 H=a120d;return a120a[H(0x185)]()['search'](H(0x195))[H(0x185)]()['constructor'](a120a)[H(0x1a8)]('(((.+)+)+)+$');});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'../../../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';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x16d;let f=c[d];return f;},a120d(a,b);}Generator[a120I(0x19d)]({'name':a120I(0x187),'aliases':['a'],'usage':a120I(0x181),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a120I(0x186),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a120I(0x18e)],'client':ClientEngines[a120I(0x180)]},'examples':['maka\x20generate:kit:mui:frame',a120I(0x184)],'description':a120I(0x174)},async function(a,b){const J=a120I;try{const c=b[J(0x19e)]||![],d=this[J(0x18a)]['findProjectDirectory'](),f=this['fsi'][J(0x175)](),{authType:g}=await Actions[J(0x1a6)]({'type':J(0x16d),'name':J(0x1a3),'message':J(0x1a9),'choices':[{'name':J(0x1af),'value':J(0x18b)},{'name':J(0x1aa),'value':J(0x173)}]}),h=J(0x18d),i=J(0x197),j=J(0x1a4),k=J(0x17c),l=J(0x172),m=b['baseDir']?'/imports/ui/'+b[J(0x1a0)]:J(0x1a7),n=this[J(0x18a)]['pathFromApp']({'pathParts':[m,b[J(0x192)],paramCase(h),paramCase(h)]}),o=this[J(0x18a)][J(0x170)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[J(0x18a)]['pathFromApp']({'pathParts':[m,b[J(0x192)],paramCase(j),paramCase(j)]}),q=this[J(0x18a)][J(0x170)]({'pathParts':[m,b[J(0x192)],paramCase(k),paramCase(k)]}),r=this['fsi'][J(0x170)]({'pathParts':[m,b[J(0x192)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f['appName'])[J(0x177)]('-','\x20')};await this[J(0x18a)][J(0x182)](f,async()=>{const K=J;await this[K(0x18a)][K(0x190)]({'srcPath':K(0x19b)+h+K(0x1a5),'destPath':n+K(0x1a5),'framework':K(0x16e),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][K(0x190)]({'srcPath':'kit/mui/auth/logout/'+i+K(0x1a5),'destPath':o+K(0x1a5),'framework':K(0x16e),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x18a)][K(0x190)]({'srcPath':K(0x191)+j+'.js','destPath':p+K(0x1a5),'framework':K(0x16e),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x18a)][K(0x190)]({'srcPath':K(0x1a1)+k+K(0x1a5),'destPath':q+K(0x1a5),'framework':K(0x16e),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x18a)]['template']({'srcPath':K(0x176)+l+K(0x1a5),'destPath':r+K(0x1a5),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b['dir']+'/'+h+'/'+h;await this[J(0x18a)][J(0x198)](h,f,t);const u=''+m+b[J(0x192)]+'/'+i+'/'+i;await this['fsi'][J(0x198)](i,f,u);const v=''+m+b[J(0x192)]+'/'+j+'/'+j;await this['fsi'][J(0x198)](j,f,v);const w=''+m+b[J(0x192)]+'/'+k+'/'+k;await this[J(0x18a)][J(0x198)](k,f,w);const x=''+m+b[J(0x192)]+'/'+l+'/'+l;await this['fsi'][J(0x198)](l,f,x),await a120e[J(0x193)](J(0x18c),[J(0x18d)],{'url':J(0x19a),'cwd':d,'config':f}),await a120e[J(0x193)](J(0x18c),[J(0x197)],{'url':'logout','private':!![],'cwd':d,'config':f}),await a120e[J(0x193)](J(0x18c),[J(0x1a4)],{'url':J(0x17d),'cwd':d,'config':f}),await a120e[J(0x193)](J(0x18c),[J(0x17c)],{'url':J(0x19c),'cwd':d,'config':f}),await a120e['processAndRunGenerator']('route',[J(0x172)],{'url':J(0x1ae),'cwd':d,'config':f});g===J(0x18b)&&await a120e[J(0x193)]('kit:auth:meteor',[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a120e[J(0x193)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f['engines'][J(0x17a)]==='true',z=f['engines']['js'],A=this['fsi'][J(0x170)]({'pathParts':t[J(0x199)]('/')});await this[J(0x18a)][J(0x188)]({'filePath':A+'.'+z,'importName':J(0x1a2),'modulePath':y?'/imports/startup/lib/authentication-provider':J(0x1ac),'isNamedExport':!![]});const B=this[J(0x18a)][J(0x170)]({'pathParts':u[J(0x199)]('/')});await this[J(0x18a)][J(0x188)]({'filePath':B+'.'+z,'importName':'AuthContext','modulePath':y?J(0x16f):J(0x1ac),'isNamedExport':!![]});const C=this[J(0x18a)][J(0x170)]({'pathParts':v['split']('/')});await this[J(0x18a)][J(0x188)]({'filePath':C+'.'+z,'importName':'AuthContext','modulePath':y?J(0x16f):J(0x1ac),'isNamedExport':!![]});const D=this[J(0x18a)][J(0x170)]({'pathParts':w[J(0x199)]('/')});await this[J(0x18a)][J(0x188)]({'filePath':D+'.'+z,'importName':J(0x1a2),'modulePath':y?J(0x16f):J(0x1ac),'isNamedExport':!![]});const E=this['fsi'][J(0x170)]({'pathParts':x[J(0x199)]('/')});await this['fsi']['injectImport']({'filePath':E+'.'+z,'importName':J(0x1a2),'modulePath':y?J(0x16f):J(0x1ac),'isNamedExport':!![]});}catch(F){Log[J(0x18f)](F);}},async function(){const L=a120I;console[L(0x17f)](L(0x171));},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(0x108))/0x1*(-parseInt(B(0x138))/0x2)+parseInt(B(0x12e))/0x3*(parseInt(B(0x100))/0x4)+-parseInt(B(0x13e))/0x5*(parseInt(B(0x110))/0x6)+-parseInt(B(0x119))/0x7*(parseInt(B(0x147))/0x8)+-parseInt(B(0x11f))/0x9+parseInt(B(0x10e))/0xa+-parseInt(B(0x105))/0xb*(parseInt(B(0x14b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xc7bfc));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a121d;if(c){const e=c[C(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const D=a121d;return a121a['toString']()[D(0x120)](D(0x122))[D(0x13d)]()[D(0x124)](a121a)['search'](D(0x122));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x100;let f=c[d];return f;},a121d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';function a121c(){const I=['Cleaning\x20up...','log','frame','3781130mcTSla','<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>','47790nGFosE','basic-app-bar','{this.props.children}','options','app-tests','{\x20this.props.children\x20}','basic-sticky-footer','basic-drawer','No\x20layouts\x20selected','1372063HvVxCt','-hook\x22>','{props.children}','findAppDirectory','@mui/material/Container','join','4414392qiixIm','search','tests','(((.+)+)+)+$','\x20/>\x0a','constructor','tsx','Box','pathFromApp','dir','template','injectIntoFile','ssr','force','Container','21057RUfWTu','error','getMakaProjectConfig','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','checkMeteorPackage','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','<div\x20id=\x22','apply','</div>','jsx','20UeWcTT','maka\x20generate:kit:mui:frame','{\x20props.children\x20}','baseDir','create','toString','245hctgGc','maka\x20g:k:m:f','kit/mui/frame/drawers/','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','.js','react','injectImport','injectAroundString','/imports/startup/lib/templates','8EUVHbk','checkbox','layouts','fsi','9624120lFCchX','session','516zZMIqB','kit/mui/frame/app-bars/','/imports/startup/client/templates','imports','/imports/ui/components','11wjZksu','appName','injectTemplateModule','141340IDDFbd','test','REACT'];a121c=function(){return I;};return a121c();}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(0x13c)]({'name':a121E(0x10d),'aliases':['f'],'usage':a121E(0x131),'shortDesc':a121E(0x133),'validOpts':[a121E(0x149),a121E(0x13b),a121E(0x128),'force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a121E(0x10a)]},'examples':[a121E(0x139),a121E(0x13f)],'description':a121E(0x141)},async function(a,b){const F=a121E;try{const c=b[F(0x12c)]||![],d=F(0x111),f=F(0x117),g=F(0x116),h=this[F(0x14a)][F(0x130)](),i=h['engines'][F(0x12b)]==='true';await this[F(0x14a)][F(0x132)]([F(0x14c),'maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0x14a)][F(0x11c)](),k=a121e[F(0x11e)](j,F(0x103),'ui',F(0x149)),l=this[F(0x14a)]['getDirectories'](k),m=await Actions[F(0x113)]({'type':F(0x148),'name':'layouts','message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x149)]['length']===0x0){Log[F(0x12f)](F(0x118));return;}const n=b[F(0x13b)]?'/imports/ui/'+b['baseDir']:F(0x104),o=this['fsi'][F(0x127)]({'pathParts':[n,b[F(0x128)],paramCase(d),paramCase(d)]}),p=this[F(0x14a)]['pathFromApp']({'pathParts':[n,b[F(0x128)],paramCase(f),paramCase(f)]}),q=this['fsi']['pathFromApp']({'pathParts':[n,b[F(0x128)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x106)])['replaceAll']('-','\x20')};await this['fsi']['withValue'](h,async()=>{const G=F;await this[G(0x14a)]['template']({'srcPath':G(0x101)+d+G(0x142),'destPath':o+'.js','framework':G(0x143),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x14a)][G(0x129)]({'srcPath':G(0x140)+f+G(0x142),'destPath':p+G(0x142),'framework':G(0x143),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x14a)]['template']({'srcPath':'kit/mui/frame/footers/'+g+G(0x142),'destPath':q+'.js','framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x128)]+'/'+d+'/'+d;await this[F(0x14a)]['injectTemplateModule'](d,h,s);const t=''+n+b[F(0x128)]+'/'+f+'/'+f;await this['fsi'][F(0x107)](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this['fsi'][F(0x107)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x14a)]['getFiles'](a121e['join'](k,w),{'extensions':[F(0x137),F(0x125)],'omit':[F(0x114),F(0x121),F(0x109)]});for(const y of x){const z=a121e[F(0x11e)](k,w,y);await this[F(0x14a)][F(0x144)]({'filePath':z,'importName':F(0x126),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this[F(0x14a)][F(0x144)]({'filePath':z,'importName':F(0x12d),'modulePath':F(0x11d),'isNamedExport':![]}),await this[F(0x14a)][F(0x144)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x146):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x14a)][F(0x12a)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x123),'begin':['<div\x20id=\x22'+w+'\x22>','<div\x20id=\x22'+w+F(0x11a)],'end':[F(0x112),F(0x115),'{props.children}',F(0x13a)]}),await this[F(0x14a)][F(0x144)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x146):F(0x102),'isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+'\x20/>\x0a','begin':[F(0x134)+w+'\x22>',F(0x134)+w+F(0x11a)],'end':[F(0x112),F(0x115),F(0x11b),F(0x13a)]}),await this[F(0x14a)][F(0x12a)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[F(0x112),F(0x115),F(0x11b),'{\x20props.children\x20}'],'end':[F(0x136)]}),await this[F(0x14a)][F(0x144)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x146):F(0x102),'isNamedExport':!![]}),await this['fsi'][F(0x145)]({'filePath':z,'aboveContent':F(0x10f),'belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[F(0x112),'{\x20this.props.children\x20}',F(0x11b),'{\x20props.children\x20}'],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x12f)](A);}},async function(){const H=a121E;console[H(0x10c)](H(0x10b));},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(0x175))/0x1*(-parseInt(g(0x179))/0x2)+parseInt(g(0x17d))/0x3*(-parseInt(g(0x177))/0x4)+parseInt(g(0x16e))/0x5*(-parseInt(g(0x17c))/0x6)+parseInt(g(0x182))/0x7+-parseInt(g(0x181))/0x8+parseInt(g(0x180))/0x9*(parseInt(g(0x170))/0xa)+-parseInt(g(0x171))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xb2d47));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a122d;if(c){const e=c[h(0x17e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const i=a122d;return a122a[i(0x173)]()['search'](i(0x187))[i(0x173)]()['constructor'](a122a)[i(0x186)](i(0x187));});function a122c(){const l=['1343768WSAZGC','8969779ccjdUm','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','getMakaProjectConfig','length','search','(((.+)+)+)+$','frame','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','kitChoices','No\x20MUI\x20kits\x20selected.\x20Exiting.','Material-UI\x20Kit','auth','options','1311545RHeeGz','kit:mui:auth','96220oQaTQW','17165973OwduWV','includes','toString','Header,\x20Footer,\x20and\x20Drawer','1fIcxMm','maka\x20g:kit:m','16DuSoQf','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','2363950BbHXhG','info','kit:mui:frame','6ezLRKr','187521hlzaYE','apply','fsi','477AbHxBk'];a122c=function(){return l;};return a122c();}a122a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x166;let f=c[d];return f;},a122d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a122e from'../../../generators/maka.gen.js';import a122f from'../kit.js';const MuiGen=Generator['create']({'name':'mui','aliases':['m'],'usage':a122j(0x168),'noNeedResource':!![],'shortDesc':a122j(0x16b),'validOpts':[''],'isPro':!![],'examples':[a122j(0x176)]},async function(){const k=a122j;Log[k(0x17a)](k(0x178)),Log['notice']('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const {kitChoices:a}=await Actions[k(0x16d)]({'type':'checkbox','name':k(0x169),'message':k(0x183),'choices':[{'name':k(0x174),'value':k(0x166)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':k(0x16c)}]}),b=this[k(0x17f)]['findProjectDirectory'](),c=this['fsi'][k(0x184)]();a[k(0x172)](k(0x166))&&await a122e[k(0x167)](k(0x17b),[],{'force':!![],'cwd':b,'config':c});a[k(0x172)](k(0x16c))&&await a122e['processAndRunGenerator'](k(0x16f),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x185)]===0x0){Log[k(0x17a)](k(0x16a));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
+ const a123o=a123d;(function(a,b){const l=a123d,c=a();while(!![]){try{const d=-parseInt(l(0x1fb))/0x1*(-parseInt(l(0x1ff))/0x2)+-parseInt(l(0x1e8))/0x3*(-parseInt(l(0x1f0))/0x4)+parseInt(l(0x1f1))/0x5*(parseInt(l(0x1de))/0x6)+-parseInt(l(0x1ef))/0x7+parseInt(l(0x1e4))/0x8*(parseInt(l(0x1d5))/0x9)+parseInt(l(0x1dc))/0xa+parseInt(l(0x1e5))/0xb*(-parseInt(l(0x1d0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x96b89));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a123d;if(c){const e=c[m(0x202)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const n=a123d;return a123a['toString']()[n(0x1f3)](n(0x1ec))[n(0x1fe)]()['constructor'](a123a)['search'](n(0x1ec));});a123a();function a123c(){const r=['4153840UVBPHt','ssr','12eBdcof','hook/hook.js','theme','import\x20\x27./','component/component.js','.css','1112ZrPgnR','11dBMFLm','findAppDirectory','none','51945zQklqI','string','withValue','resourceName','(((.+)+)+)+$','test/test.js','create','2308593RAxXhw','116ixwteR','18470OrTtxO','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','search','css','installNpmPackage','checkNpmPackage','setTemplate','getMakaProjectConfig','template/template.css','warn','704187udEqvg','relative','graphql','toString','2DcSifH','className','split','apply','injectTemplateModule','features','ramda','includes','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fileName','engines','assign','client','pathFromProject','layout','template','fsi','11033916gKmSgi','maka\x20g:l\x20web/safari','dir','withHooks','.js','15381aBazVv','test','api','.app-tests.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','react','true'];a123c=function(){return r;};return a123c();}import a123e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a123d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a123o(0x1ee)]({'name':a123o(0x1cd),'aliases':aliases,'usage':a123o(0x1f2),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':['withHook'],'examples':['maka\x20g:layout\x20mobile/iPhone8',a123o(0x1d1)]},async function(a,b){const p=a123o,c='/imports/ui/layouts',d=this[p(0x1cf)][p(0x1e6)](),e=this['fsi']['pathFromApp']({'pathParts':[c,b[p(0x1d2)],paramCase(b[p(0x1eb)]),paramCase(b[p(0x1eb)])]}),f=this[p(0x1cf)][p(0x1f8)]();await this[p(0x1cf)][p(0x1ea)](f,async()=>{const q=p;typeof f[q(0x1ce)]['test']===q(0x1e9)&&(f[q(0x1ce)][q(0x1d6)]=f[q(0x1ce)]['test']===q(0x1db)?!![]:![],this['fsi']['setTemplate'](q(0x1d6),f[q(0x1ce)][q(0x1d6)]));typeof f[q(0x1ce)][q(0x1f4)]==='string'&&(f[q(0x1ce)][q(0x1f4)]=f[q(0x1ce)][q(0x1f4)]===q(0x1db)?!![]:![],this[q(0x1cf)][q(0x1f7)](q(0x1f4),f[q(0x1ce)][q(0x1f4)]));typeof f[q(0x1ce)]['js']===q(0x1e9)&&(f['template']['js']=f[q(0x1ce)]['js']==='true'?!![]:![],this[q(0x1cf)][q(0x1f7)]('js',f[q(0x1ce)]['js']));!f[q(0x1c4)]&&(f[q(0x1c4)]={});const g=b['_']?b['_'][0x0][q(0x201)](':')[0x1]:![],h=b['_']&&aliases[q(0x1c6)](g);h&&!this[q(0x1f6)](q(0x1c5))&&(Log[q(0x1fa)](q(0x1c7)),this[q(0x1cf)][q(0x1f5)](q(0x1c5),{'cwd':d}));if(h&&!this[q(0x1f6)]('react')){Log['warn'](q(0x1d9));return;}const i={'name':pascalCase(b[q(0x1eb)]),'myPath':a123e[q(0x1fc)](this[q(0x1cf)][q(0x1cc)]({}),e),'cssCaseName':paramCase(b[q(0x1eb)]),'className':pascalCase(b[q(0x1eb)]),'camelCaseName':camelCase(b[q(0x1eb)]),'fileName':paramCase(b[q(0x1eb)]),'graphql':f[q(0x1c9)][q(0x1fd)],'features':f[q(0x1c4)],'client':f[q(0x1c9)][q(0x1cb)],'api':f['engines'][q(0x1d7)],'ssr':f[q(0x1c9)][q(0x1dd)],'test':f[q(0x1c9)][q(0x1d6)],'theme':f[q(0x1c9)][q(0x1e0)],'isComponent':![],'isLayout':!![],'withTranslations':f['features']['withTranslations']};f[q(0x1c4)]?.[q(0x1d3)]||b['withHook']?await this[q(0x1cf)][q(0x1ce)]({'srcPath':q(0x1df),'destPath':e+'.js','framework':q(0x1da),'context':i,'config':f}):await this[q(0x1cf)][q(0x1ce)]({'srcPath':q(0x1e2),'destPath':e+q(0x1d4),'framework':'react','context':i,'config':f});f['engines'][q(0x1d6)]!==q(0x1e7)&&await this[q(0x1cf)]['template']({'srcPath':q(0x1ed),'destPath':e+q(0x1d8),'framework':q(0x1da),'context':i,'config':f});f[q(0x1ce)][q(0x1f4)]&&(await this[q(0x1cf)][q(0x1ce)]({'srcPath':q(0x1f9),'destPath':e+q(0x1e3),'context':Object[q(0x1ca)]({},i,{'className':paramCase(b[q(0x1eb)])}),'config':f}),await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':q(0x1e1)+i['fileName']+'.'+f[q(0x1c9)][q(0x1f4)]+'\x27;'}));const j=b[q(0x1d2)]?'/'+b[q(0x1d2)]+'/':'/',k=''+c+j+i[q(0x1c8)]+'/'+i[q(0x1c8)];await this[q(0x1cf)][q(0x203)](i[q(0x200)],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(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x1bb))/0x1*(-parseInt(f(0x1c2))/0x2)+parseInt(f(0x1c8))/0x3*(-parseInt(f(0x1be))/0x4)+-parseInt(f(0x1c4))/0x5*(parseInt(f(0x1c7))/0x6)+-parseInt(f(0x1c1))/0x7+-parseInt(f(0x1ba))/0x8+parseInt(f(0x1c9))/0x9+parseInt(f(0x1b7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x4b1af));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x1b9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a['toString']()['search'](h(0x1c3))[h(0x1ca)]()[h(0x1bc)](a124a)[h(0x1c5)](h(0x1c3));});a124a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a124i(0x1b6),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a124i(0x1bf),'examples':['maka\x20generate:scaffold\x20todos',a124i(0x1b8),'maka\x20g:template\x20todos/todo_item',a124i(0x1c0),a124i(0x1c6),a124i(0x1bd),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a124d(a,b);}export default MakaGen;function a124c(){const j=['maka\x20g:scaffold\x20todos','apply','3656056ClfZWU','1ELyUWC','constructor','maka\x20g:api\x20trucks','4ZewGvR','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:package\x20package:name','632380RAFyHu','983266GSBoFV','(((.+)+)+)+$','2028700lCOYdd','search','maka\x20g:route\x20todos/edit','6HjMLra','1727427pQAvkm','2109816uCzBdX','toString','generate','20937360cMwfvp'];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(0xbf))/0x1+-parseInt(j(0xdf))/0x2*(parseInt(j(0xd3))/0x3)+-parseInt(j(0xd0))/0x4+-parseInt(j(0xcc))/0x5*(-parseInt(j(0xc8))/0x6)+parseInt(j(0xd9))/0x7*(-parseInt(j(0xd2))/0x8)+-parseInt(j(0xe3))/0x9+-parseInt(j(0xc3))/0xa*(-parseInt(j(0xce))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x8f58b));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a125d;if(c){const e=c[k(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const l=a125d;return a125a['toString']()['search']('(((.+)+)+)+$')[l(0xcd)]()[l(0xdb)](a125a)[l(0xda)](l(0xc9));});a125a();function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xbd;let f=c[d];return f;},a125d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a125c(){const p=['maka:check','fsi','2569977jqQkFW','getMakaProjectConfig','create','653485spyshw','withValue','tsx','apply','10030bjJkNt','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','method','import\x20\x27./methods','-rpc-method.','642PcMqiI','(((.+)+)+)+$','dir','engines','25405rHBldm','toString','27731LnInTd','-rpc-method\x27;','1791408PIRrrd','pathFromApp','88584xgZhLF','268701eKZHMK','imports','methods','resourceName','method/method.js','checkMeteorPackage','581Pruzsi','search','constructor','maka\x20g:method\x20todos','injectAtEndOfFile','startup','4dHIFnx','error'];a125c=function(){return p;};return a125c();}Generator[a125m(0xbe)]({'name':a125m(0xc5),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a125m(0xc4),'validOpts':[a125m(0xca)],'examples':[a125m(0xdc)]},async function(a,b){const n=a125m;try{const c=this[n(0xe2)][n(0xbd)]();await this[n(0xe2)][n(0xc0)](c,async()=>{const o=n,d=paramCase(b[o(0xd6)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0xd6)]),'noRename':!![]};let g='js';c[o(0xcb)]['js']===o(0xc1)&&(g='ts');await this[o(0xe2)][o(0xd8)]([o(0xe1),'ddp-rate-limiter','mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0xe2)]['template']({'srcPath':o(0xd7),'destPath':this['fsi'][o(0xd1)]({'pathParts':[o(0xd4),o(0xde),b['appPathPrefix'],o(0xd5),b[o(0xca)],d+o(0xc7)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0xca)]+'/':'/',i=this[o(0xe2)][o(0xd1)]({'pathParts':['imports',o(0xde),b['appPathPrefix'],'index.'+c[o(0xcb)]['js']]});await this[o(0xe2)][o(0xdd)]({'filePath':i,'content':o(0xc6)+h+d+o(0xcf)});});}catch(d){Log[n(0xe0)](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
+ const a126n=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(0x1fc))/0x1*(parseInt(l(0x1e9))/0x2)+parseInt(l(0x1d8))/0x3*(parseInt(l(0x1e0))/0x4)+parseInt(l(0x1e2))/0x5+-parseInt(l(0x1eb))/0x6*(parseInt(l(0x1da))/0x7)+-parseInt(l(0x1df))/0x8*(parseInt(l(0x1e6))/0x9)+-parseInt(l(0x1d4))/0xa+parseInt(l(0x1db))/0xb*(-parseInt(l(0x1f3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x69b6b));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(0x1e3)]()['search'](m(0x1f4))[m(0x1e3)]()['constructor'](a126a)[m(0x1dc)](m(0x1f4));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1d1;let f=c[d];return f;},a126d(a,b);}a126a();import a126e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a126n(0x1e1)]({'name':a126n(0x1d6),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a126n(0x1ed)],'examples':[a126n(0x1ee)]},async function(a,b){const o=a126n,c=paramCase(b[o(0x1e8)]),d=this[o(0x1e5)][o(0x1f7)]({'pathParts':[o(0x1d9),b[o(0x1ed)],c]}),e=this['fsi'][o(0x1f0)]({'pathParts':[o(0x1d9),b[o(0x1ed)],c,o(0x1d5)]}),f=this[o(0x1e5)][o(0x1d1)]();await this[o(0x1e5)][o(0x1ec)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x1e8)]),'myPath':a126e[p(0x1e4)](this[p(0x1e5)][p(0x1d2)]({}),d),'cssCaseName':paramCase(b[p(0x1e8)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x1e8)]),'fileName':c,'client':f[p(0x1f9)][p(0x1e7)],'graphql':f[p(0x1f9)][p(0x1d7)],'ssr':f['engines']['ssr'],'isComponent':b[p(0x1ea)](p(0x1ef)),'isLayout':b['hasOwnProperty'](p(0x1fa)),'isStore':b['hasOwnProperty'](p(0x1d3)),'features':f['features'],'noRename':!![],'theme':f[p(0x1f9)]['theme']};await this[p(0x1e5)]['template']({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[p(0x1f8)]=![];const h=d+p(0x1de)+c+'.js';await this[p(0x1e5)][p(0x1f2)]({'srcPath':p(0x1f1),'destPath':h,'context':g,'config':f});const i=[p(0x1dd),'server',p(0x1f5),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this['fsi']['template']({'srcPath':p(0x1f6)+j+p(0x1fb),'destPath':k,'context':g,'config':f});}});});function a126c(){const q=['store','7877790vvDGPy','package.js','package','graphql','4170wnGCbp','packages','7HjLMIA','124344FUoDjZ','search','lib','/client/','8equdPg','2224VQJhlq','create','3555700tffydA','toString','relative','fsi','5763681CsrJCG','client','resourceName','16UxABSI','hasOwnProperty','66126otmPrf','withValue','dir','maka\x20g:package\x20todos:package','component','pathFromAppWithNoReWrite','template/template.js','template','48kyIPBd','(((.+)+)+)+$','tests/client','package/','pathFromApp','noRename','engines','layout','/package.js','54181aItdIh','getMakaProjectConfig','pathFromProject'];a126c=function(){return q;};return a126c();}
@@ -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 a127m=a127d;(function(a,b){const j=a127d,c=a();while(!![]){try{const d=parseInt(j(0x143))/0x1+-parseInt(j(0x130))/0x2*(-parseInt(j(0x14c))/0x3)+parseInt(j(0x149))/0x4*(parseInt(j(0x156))/0x5)+parseInt(j(0x159))/0x6+-parseInt(j(0x15d))/0x7*(-parseInt(j(0x12c))/0x8)+-parseInt(j(0x174))/0x9*(-parseInt(j(0x146))/0xa)+-parseInt(j(0x13f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xeadbf));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a127d;if(c){const e=c[k(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const l=a127d;return a127a[l(0x163)]()[l(0x145)]('(((.+)+)+)+$')[l(0x163)]()[l(0x170)](a127a)[l(0x145)]('(((.+)+)+)+$');});a127a();import a127e from'path';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x12b;let f=c[d];return f;},a127d(a,b);}function a127c(){const p=['layouts','component','layout','855672pgYmgd','test/test.js','search','914280KRzdYR','.html','client','2181544REAnke','hooks','hasOwnProperty','3jKiaNY','checkNpmPackage','.js','dir','withValue','pathFromProject','import\x20\x27./','resourceName','installNpmPackage','injectTemplateModule','5RdiBia','page','/imports/ui/pages','10701996XENxev','engines','setTemplate','/imports/ui/','3055843caDBvS','none','template/template.html','.app-tests.js','test','processAndRunGenerator','toString','fsi','getMakaProjectConfig','withHook','pages','Generate\x20a\x20page.','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','true','string','template/template.css','pathFromApp','baseDir','root','constructor','route','withTranslations','ssr','171CYwaEy','components','24jPUrzs','html','fileName','findAppDirectory','2780094GpUYUB','css','maka\x20g:page\x20todos/todos-item','template','graphql','react','apply','store','\x27;\x0a','.css','api','ramda','features','injectAtBeginningOfFile','assign','73255237MwGMAj'];a127c=function(){return p;};return a127c();}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':a127m(0x157),'aliases':aliases,'usage':a127m(0x169),'shortDesc':a127m(0x168),'validOpts':[{'name':a127m(0x16e),'values':[a127m(0x14a),a127m(0x12b),a127m(0x167),a127m(0x140)]},{'name':a127m(0x166),'boolFlag':!![]}],'examples':[a127m(0x132)]},async function(a,b){const n=a127m,c=b['baseDir']?n(0x15c)+b[n(0x16e)]:n(0x158),d=this['fsi'][n(0x12f)](),e=this[n(0x164)][n(0x16d)]({'pathParts':[c,b['dir'],paramCase(b[n(0x153)]),paramCase(b['resourceName'])]}),f=this[n(0x164)][n(0x165)]();let g='';return await this[n(0x164)][n(0x150)](f,async()=>{const o=n;typeof f[o(0x133)][o(0x12d)]==='string'&&(f[o(0x133)][o(0x12d)]=f['template']['html']===o(0x16a)?!![]:![],this['fsi']['setTemplate'](o(0x12d),f[o(0x133)]['html']));typeof f[o(0x133)][o(0x161)]==='string'&&(f[o(0x133)][o(0x161)]=f[o(0x133)]['test']===o(0x16a)?!![]:![],this[o(0x164)][o(0x15b)](o(0x161),f[o(0x133)][o(0x161)]));typeof f[o(0x133)][o(0x131)]===o(0x16b)&&(f[o(0x133)][o(0x131)]=f['template']['css']===o(0x16a)?!![]:![],this[o(0x164)]['setTemplate']('css',f['template'][o(0x131)]));typeof f[o(0x133)]['js']===o(0x16b)&&(f[o(0x133)]['js']=f[o(0x133)]['js']===o(0x16a)?!![]:![],this[o(0x164)][o(0x15b)]('js',f[o(0x133)]['js']));!f[o(0x13c)]&&(f[o(0x13c)]={});!b[o(0x16f)]&&!this[o(0x164)][o(0x14d)]('ramda')&&(Log['warn']('Updating\x20npm\x20packages\x20...'),this['fsi'][o(0x154)](o(0x13b),{'cwd':d}));const h={'name':pascalCase(b[o(0x153)]),'myPath':a127e['relative'](this[o(0x164)][o(0x151)]({}),e),'cssCaseName':paramCase(b[o(0x153)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'graphql':f[o(0x15a)][o(0x134)],'features':f[o(0x13c)],'client':f[o(0x15a)][o(0x148)],'api':f[o(0x15a)][o(0x13a)],'ssr':f[o(0x15a)][o(0x173)],'isStore':b['hasOwnProperty'](o(0x137)),'isComponent':b[o(0x14b)](o(0x141)),'isLayout':b[o(0x14b)](o(0x142)),'withTranslations':f[o(0x13c)][o(0x172)],'test':f[o(0x15a)][o(0x161)],'theme':f['engines']['theme']};f['template'][o(0x12d)]&&await this[o(0x164)][o(0x133)]({'srcPath':o(0x15f),'destPath':e+o(0x147),'context':h,'config':f});f[o(0x13c)]?.['withHooks']||b[o(0x166)]?await this['fsi']['template']({'srcPath':'hook/hook.js','destPath':e+o(0x14e),'framework':o(0x135),'context':h,'config':f}):await this['fsi']['template']({'srcPath':'component/component.js','destPath':e+'.js','framework':'react','context':h,'config':f});f['engines'][o(0x161)]!==o(0x15e)&&await this[o(0x164)][o(0x133)]({'srcPath':o(0x144),'destPath':e+o(0x160),'framework':'react','context':h,'config':f});f[o(0x133)][o(0x131)]&&await this[o(0x164)][o(0x133)]({'srcPath':o(0x16c),'destPath':e+o(0x139),'context':Object[o(0x13e)]({},h,{'className':paramCase(b[o(0x153)])}),'config':f});f[o(0x15a)]['client']!==o(0x135)&&f[o(0x15a)][o(0x148)]!=='vanilla'?(f[o(0x133)][o(0x131)]&&await this[o(0x164)][o(0x13d)]({'filePath':e+'.'+f[o(0x15a)]['js'],'content':o(0x152)+h['fileName']+'.'+f[o(0x15a)][o(0x12d)]+o(0x138)+'import\x20\x27./'+h[o(0x12e)]+'.'+f[o(0x15a)][o(0x131)]+'\x27;'}),!f['template'][o(0x131)]&&await this[o(0x164)][o(0x13d)]({'filePath':e+'.'+f[o(0x15a)]['js'],'content':o(0x152)+h[o(0x12e)]+'.'+f[o(0x15a)][o(0x12d)]+'\x27;'})):f[o(0x133)][o(0x131)]&&await this[o(0x164)][o(0x13d)]({'filePath':e+'.'+f[o(0x15a)]['js'],'content':o(0x152)+h['fileName']+'.'+f[o(0x15a)][o(0x131)]+'\x27;'});const i=b[o(0x14f)]?'/'+b[o(0x14f)]+'/':'/';g=''+c+i+h[o(0x12e)]+'/'+h['fileName'],await this[o(0x164)][o(0x155)](h['className'],f,g),!b['root']&&await a127f[o(0x162)](o(0x171),[i+b['resourceName']],b);}),g+'.'+f['engines']['js'];});
@@ -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 a128c(){const s=['index.','publish','(((.+)+)+)+$','/imports/startup/server/publications','/imports/ui/','2560572nuXAKY','4386032HSQdfm','dir','constructor','import\x20\x27./publications','search','fsi','force','31389GOSGvc','injectAtEndOfFile','getMakaProjectConfig','resourceName','server','appPathPrefix','withValue','884BppBMV','4358944cwcfbE','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','6093vNwVJr','create','globalPublish','baseDir','pathFromApp','21155mMZYZL','62PWnwwU','apply','tsx','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','2527914WWUCnI','toString','13180btTFlS','publish/publish.js'];a128c=function(){return s;};return a128c();}function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x123;let f=c[d];return f;},a128d(a,b);}(function(a,b){const m=a128d,c=a();while(!![]){try{const d=parseInt(m(0x12b))/0x1*(parseInt(m(0x13b))/0x2)+-parseInt(m(0x123))/0x3+-parseInt(m(0x132))/0x4*(-parseInt(m(0x13a))/0x5)+parseInt(m(0x13f))/0x6+-parseInt(m(0x124))/0x7+parseInt(m(0x133))/0x8+-parseInt(m(0x135))/0x9*(parseInt(m(0x141))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x7a897));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a128d;if(c){const e=c[n(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const o=a128d;return a128a[o(0x140)]()['search']('(((.+)+)+)+$')[o(0x140)]()[o(0x126)](a128a)[o(0x128)](o(0x145));});a128a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a128p(0x136)]({'name':a128p(0x144),'aliases':['p'],'usage':a128p(0x134),'shortDesc':a128p(0x13e),'validOpts':[a128p(0x12a),a128p(0x137)],'examples':['maka\x20g:publish\x20todos']},async function(a,b){const q=a128p;try{const c=b[q(0x12a)]||![],d=b[q(0x138)]?q(0x147)+b[q(0x138)]:q(0x146),f=this['fsi'][q(0x12d)](),g=paramCase(b[q(0x12e)]),h=this[q(0x129)][q(0x139)]({'pathParts':[d,b[q(0x125)],'',g]});let i='js';f['engines']['js']===q(0x13d)&&(i='ts');await this[q(0x129)][q(0x131)](f,async()=>{const r=q,l={'name':b[r(0x12e)],'collection':pascalCase(b[r(0x12e)]),'noRename':!![],'globalPublish':b[r(0x137)]};await this[r(0x129)]['template']({'srcPath':r(0x142),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0x129)]['pathFromApp']({'pathParts':['imports','startup',q(0x12f),b[q(0x130)],q(0x143)+f['engines']['js']]}),k=b[q(0x125)]?'/'+b['dir']+'/':'/';return await this[q(0x129)][q(0x12c)]({'filePath':j,'content':q(0x127)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log['error'](l),process['exit'](0x1);}});