@maka/maka-cli 4.12.20 → 4.12.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/collection.js +1 -1
  109. package/bundle/obf/src/generators/component.js +1 -1
  110. package/bundle/obf/src/generators/config.js +1 -1
  111. package/bundle/obf/src/generators/dbc.js +1 -1
  112. package/bundle/obf/src/generators/dockerfile.js +1 -1
  113. package/bundle/obf/src/generators/hook.js +1 -1
  114. package/bundle/obf/src/generators/kits/_index.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  117. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/kit.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  127. package/bundle/obf/src/generators/layout.js +1 -1
  128. package/bundle/obf/src/generators/maka.gen.js +1 -1
  129. package/bundle/obf/src/generators/methods.js +1 -1
  130. package/bundle/obf/src/generators/package.js +1 -1
  131. package/bundle/obf/src/generators/page.js +1 -1
  132. package/bundle/obf/src/generators/publish.js +1 -1
  133. package/bundle/obf/src/generators/route.js +1 -1
  134. package/bundle/obf/src/generators/service.js +1 -1
  135. package/bundle/obf/src/generators/services/_index.js +1 -1
  136. package/bundle/obf/src/generators/services/openssl.js +1 -1
  137. package/bundle/obf/src/generators/services/translation.js +1 -1
  138. package/bundle/obf/src/maka.js +1 -1
  139. package/bundle/obf/src/templates/meteor/config/docker-compose.yaml +1 -4
  140. package/bundle/obf/src/templates/service/docker/Dockerfile +3 -0
  141. package/bundle/obf/src/tool.js +1 -1
  142. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  143. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  144. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  146. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  148. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/https/https.class.js +1 -1
  150. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  151. package/bundle/obf/src/tools/log/log.class.js +1 -1
  152. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  153. package/bundle/obf/src/tools/options/options.class.js +1 -1
  154. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  155. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  156. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  158. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  159. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  160. package/package.json +1 -1
@@ -1 +1 @@
1
- const a116r=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=parseInt(o(0x132))/0x1*(parseInt(o(0x115))/0x2)+parseInt(o(0x131))/0x3+parseInt(o(0x12f))/0x4+parseInt(o(0x135))/0x5+parseInt(o(0x13e))/0x6*(-parseInt(o(0x11f))/0x7)+-parseInt(o(0x105))/0x8*(parseInt(o(0x134))/0x9)+-parseInt(o(0x13c))/0xa*(parseInt(o(0x12c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x77665));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0x12a)]()['search'](q(0xff))['toString']()[q(0x122)](a116a)[q(0x116)](q(0xff));});a116a();import{Generator}from'../../../generator.js';function a116c(){const u=['\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','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','const\x20getUserAuthorizations','const\x20deauthenticateUser','\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','checkMeteorPackage','kit/auth/service/meteor-auth-service.js','AuthService','fsi','kit:auth:provider','1894LJuNPd','search','engines','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','const\x20registerNewUser','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','Accounts','.js','alanning:roles','index','4291sDfgQe','pathFromApp','\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','constructor','meteor','startup','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','REACT','create','const\x20resetPasswordWithToken','auth/roles','toString','Meteor.publish','11FcTFbI','authentication-provider','apply','1977908duaEDw','publish','2064510FqfUnD','540gwfTCM','template','423369WpFEoq','881825vUUuRJ','withValue','true','\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','force','error','getMakaProjectConfig','11289620pCFwnq','processAndRunGenerator','168FbBXdD','const\x20sendForgotPasswordEmail','injectImport','/imports/startup/lib','meteor/accounts-base','const\x20authenticateUser','findProjectDirectory','accounts-password','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','(((.+)+)+)+$','Meteor','exit','/imports/startup/client','imports','meteor/maka:react-tracker','40csHlBn','\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','injectIntoCodeBlock','Meteor.startup','meteor/meteor'];a116c=function(){return u;};return a116c();}import{Log}from'../../../tools/log/log.class.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xf8;let f=c[d];return f;},a116d(a,b);}import a116e from'./auth.generator.js';import a116f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a116r(0x127)]({'name':a116r(0x123),'aliases':['m'],'usage':a116r(0x10b),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116r(0x126)]},'description':a116r(0x10a)},async function(a,b){const s=a116r;try{const c=b[s(0x139)]||![];await this[s(0x113)][s(0x110)]([s(0xfd),s(0x11d)],{'shouldInstall':!![]});const d=this[s(0x113)][s(0xfc)](),f=this['fsi'][s(0x13b)](),g=f[s(0x117)]['ssr']===s(0x137);await a116f[s(0x13d)](s(0x114),[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0x13d)](s(0x130),[s(0x129)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0xf9):s(0x102),j=this[s(0x113)]['pathFromApp']({'pathParts':[i,'','','authentication-service']});await this[s(0x113)][s(0x136)](f,async()=>{const t=s;await this['fsi'][t(0x133)]({'srcPath':t(0x111),'destPath':j+t(0x11c),'framework':'react','context':{},'config':f,'force':c,'ignore':![]});});const k=this['fsi'][s(0x120)]({'pathParts':[i,'','',s(0x12d)]}),l=f[s(0x117)]['js'];await this[s(0x113)][s(0xf8)]({'filePath':k+'.'+l,'importName':s(0x112),'modulePath':g?'/imports/startup/lib/authentication-service':'/imports/startup/client/authentication-service','isNamedExport':![]}),await this[s(0x113)][s(0x107)]({'filePath':k+'.'+l,'content':s(0x118),'begin':s(0xfb),'replace':!![]}),await this[s(0x113)][s(0x107)]({'filePath':k+'.'+l,'content':s(0x106),'begin':'const\x20authenticateToken','replace':!![]}),await this['fsi'][s(0x107)]({'filePath':k+'.'+l,'content':s(0x10c),'begin':s(0x10d),'replace':!![]}),await this[s(0x113)][s(0x107)]({'filePath':k+'.'+l,'content':s(0x11a),'begin':s(0x10e),'replace':!![]}),await this[s(0x113)][s(0x107)]({'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(0x13f),'replace':!![]}),await this['fsi'][s(0x107)]({'filePath':k+'.'+l,'content':s(0x125),'begin':s(0x119),'replace':!![]}),await this['fsi'][s(0x107)]({'filePath':k+'.'+l,'content':s(0xfe),'begin':s(0x128),'replace':!![]});g&&(await this[s(0x113)]['injectImport']({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0x104),'isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':k+'.'+l,'content':s(0x138),'begin':'export\x20const\x20AuthProvider','end':'return\x20\x5c('}));await this[s(0x113)][s(0xf8)]({'filePath':h,'importName':s(0x100),'modulePath':s(0x109),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x113)][s(0x107)]({'filePath':h,'content':s(0x10f),'begin':s(0x12b),'replace':!![]});const m=this[s(0x113)]['pathFromApp']({'pathParts':[s(0x103),s(0x124),'server',s(0x11e)]});await this[s(0x113)][s(0xf8)]({'filePath':m+'.'+l,'importName':s(0x11b),'modulePath':s(0xfa),'isNamedExport':!![]}),await this[s(0x113)][s(0x107)]({'filePath':m+'.'+l,'content':s(0x121),'begin':s(0x108),'replace':!![]});}catch(n){Log[s(0x13a)](n),process[s(0x101)](0x1);}},async function(){},a116e);
1
+ function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x176;let f=c[d];return f;},a116d(a,b);}function a116c(){const u=['132324sXIPbB','kit/auth/service/meteor-auth-service.js','const\x20authenticateToken','const\x20authenticateUser','Meteor.startup','\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','const\x20deauthenticateUser','true','const\x20getUserAuthorizations','withValue','processAndRunGenerator','.js','meteor/accounts-base','toString','checkMeteorPackage','startup','auth/roles','4162797WxuzvU','injectIntoFile','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','imports','force','const\x20registerNewUser','REACT','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/lib/authentication-service','Accounts','\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','8LpifqP','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','Meteor','return\x20\x5c(','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','316446tRFJvT','ssr','const\x20sendForgotPasswordEmail','4203980JtXGEP','const\x20resetPasswordWithToken','pathFromApp','Meteor.publish','findProjectDirectory','373740evZqKg','apply','exit','fsi','(((.+)+)+)+$','\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','engines','/imports/startup/lib','1849610NamuKo','15165972CEuDUW','injectImport','server','35RXntJe','index','injectIntoCodeBlock','2wVWKyW','\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','search','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','meteor/meteor','react','/imports/startup/client','template'];a116c=function(){return u;};return a116c();}const a116r=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=-parseInt(o(0x1a8))/0x1*(-parseInt(o(0x191))/0x2)+parseInt(o(0x181))/0x3+parseInt(o(0x194))/0x4+-parseInt(o(0x199))/0x5+parseInt(o(0x1b0))/0x6*(parseInt(o(0x1a5))/0x7)+parseInt(o(0x18c))/0x8*(-parseInt(o(0x1a2))/0x9)+-parseInt(o(0x1a1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xe0bad));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0x17d)]()[q(0x1aa)](q(0x19d))['toString']()['constructor'](a116a)['search']('(((.+)+)+)+$');});a116a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a116e from'./auth.generator.js';import a116f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'meteor','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a116r(0x18d),'validOpts':[a116r(0x185)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116r(0x187)]},'description':a116r(0x1b5)},async function(a,b){const s=a116r;try{const c=b[s(0x185)]||![];await this[s(0x19c)][s(0x17e)](['accounts-password','alanning:roles'],{'shouldInstall':!![]});const d=this[s(0x19c)][s(0x198)](),f=this[s(0x19c)]['getMakaProjectConfig'](),g=f['engines'][s(0x192)]===s(0x177);await a116f[s(0x17a)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0x17a)]('publish',[s(0x180)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x1a0):s(0x1ae),j=this['fsi'][s(0x196)]({'pathParts':[i,'','','authentication-service']});await this['fsi'][s(0x179)](f,async()=>{const t=s;await this[t(0x19c)][t(0x1af)]({'srcPath':t(0x1b1),'destPath':j+t(0x17b),'framework':t(0x1ad),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x19c)][s(0x196)]({'pathParts':[i,'','','authentication-provider']}),l=f[s(0x19f)]['js'];await this[s(0x19c)][s(0x1a3)]({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?s(0x189):'/imports/startup/client/authentication-service','isNamedExport':![]}),await this[s(0x19c)][s(0x1a7)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x1b3),'replace':!![]}),await this[s(0x19c)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x19e),'begin':s(0x1b2),'replace':!![]}),await this[s(0x19c)]['injectIntoCodeBlock']({'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':s(0x178),'replace':!![]}),await this[s(0x19c)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x183),'begin':s(0x176),'replace':!![]}),await this[s(0x19c)][s(0x1a7)]({'filePath':k+'.'+l,'content':s(0x190),'begin':s(0x193),'replace':!![]}),await this[s(0x19c)][s(0x1a7)]({'filePath':k+'.'+l,'content':s(0x1ab),'begin':s(0x186),'replace':!![]}),await this[s(0x19c)][s(0x1a7)]({'filePath':k+'.'+l,'content':s(0x188),'begin':s(0x195),'replace':!![]});g&&(await this[s(0x19c)]['injectImport']({'filePath':k+'.'+l,'importName':'useTracker','modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await this['fsi'][s(0x182)]({'filePath':k+'.'+l,'content':s(0x1a9),'begin':'export\x20const\x20AuthProvider','end':s(0x18f)}));await this[s(0x19c)][s(0x1a3)]({'filePath':h,'importName':s(0x18e),'modulePath':s(0x1ac),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][s(0x1a7)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x197),'replace':!![]});const m=this['fsi'][s(0x196)]({'pathParts':[s(0x184),s(0x17f),s(0x1a4),s(0x1a6)]});await this[s(0x19c)][s(0x1a3)]({'filePath':m+'.'+l,'importName':s(0x18a),'modulePath':s(0x17c),'isNamedExport':!![]}),await this['fsi'][s(0x1a7)]({'filePath':m+'.'+l,'content':s(0x18b),'begin':s(0x1b4),'replace':!![]});}catch(n){Log['error'](n),process[s(0x19b)](0x1);}},async function(){},a116e);
@@ -1 +1 @@
1
- const a117x=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=-parseInt(u(0x183))/0x1+-parseInt(u(0x194))/0x2+parseInt(u(0x173))/0x3*(parseInt(u(0x174))/0x4)+-parseInt(u(0x199))/0x5+parseInt(u(0x180))/0x6*(-parseInt(u(0x197))/0x7)+parseInt(u(0x177))/0x8*(parseInt(u(0x172))/0x9)+parseInt(u(0x178))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x886b6));function a117c(){const A=['authentication-provider','kit/auth/provider/authentication-provider.js','\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','<Routes\x20history={history}/>','pathFromApp','/imports/startup/client/authentication-provider','error','2438046sqPNln','9zvpCoj','57648ScaiCX','fsi','toString','16fDgBFT','10676560RmFQIo','/imports/startup/client','getMakaProjectConfig','split','template','bright','injectImport','constructor','6JGboVq','search','/imports/startup/lib/authentication-provider','48307iDZdiz','withValue','exit','function\x20Routes','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','/imports/startup/server/index','appName','injectIntoCodeBlock','</AuthProvider>','/imports/startup/lib','AuthProvider','.js','provider','create','force','engines','const\x20Routes','1104994iKTPSZ','injectAroundString','AuthContext','1677683zljyQI','apply','1267165bkpKCo','(((.+)+)+)+$','useContext','replaceAll','ssr','react','<AuthProvider>'];a117c=function(){return A;};return a117c();}const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a['toString']()[w(0x181)](w(0x19a))[w(0x176)]()[w(0x17f)](a117a)[w(0x181)](w(0x19a));});a117a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x168;let f=c[d];return f;},a117d(a,b);}import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117x(0x190)]({'name':a117x(0x18f),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a117x(0x191)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a117x(0x16d)},async function(a,b){const y=a117x;try{const c=b['force']||![];Log[y(0x17d)](y(0x187));const d=this[y(0x175)][y(0x17a)](),f=d[y(0x192)][y(0x168)]==='true',g={'name':headerCase(d[y(0x189)])[y(0x19c)]('-','\x20')},h=f?y(0x18c):y(0x179),i=this[y(0x175)][y(0x16f)]({'pathParts':[h,'','',y(0x16b)]});await this[y(0x175)][y(0x184)](d,async()=>{const z=y;await this['fsi'][z(0x17c)]({'srcPath':z(0x16c),'destPath':i+z(0x18e),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x192)]['js'],k=h+'/routes',l=k['split']('/'),m=this[y(0x175)]['pathFromApp']({'pathParts':l});await this[y(0x175)][y(0x17e)]({'filePath':m+'.'+j,'importName':y(0x196),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x170),'isNamedExport':!![]}),await this[y(0x175)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x19b),'modulePath':y(0x169),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x175)][y(0x18a)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','begin':[y(0x193),y(0x186)],'replace':!![]});const n='/imports/startup/client/index',o=n[y(0x17b)]('/'),p=this[y(0x175)][y(0x16f)]({'pathParts':o});await this[y(0x175)][y(0x17e)]({'filePath':p+'.'+j,'importName':y(0x18d),'modulePath':f?y(0x182):y(0x170),'isNamedExport':!![]}),await this[y(0x175)][y(0x195)]({'filePath':p+'.'+j,'aboveContent':y(0x16a),'belowContent':y(0x18b),'targetString':'<Routes\x20history={browserHistory}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x188),r=q[y(0x17b)]('/'),s=this[y(0x175)][y(0x16f)]({'pathParts':r});await this[y(0x175)][y(0x17e)]({'filePath':s+'.'+j,'importName':y(0x18d),'modulePath':f?y(0x182):y(0x170),'isNamedExport':!![]}),await this[y(0x175)][y(0x195)]({'filePath':s+'.'+j,'aboveContent':y(0x16a),'belowContent':y(0x18b),'targetString':y(0x16e),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x171)](t),process[y(0x185)](0x1);}},async function(){},a117e);
1
+ const a117x=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=parseInt(u(0x7a))/0x1+parseInt(u(0x8b))/0x2+-parseInt(u(0x85))/0x3*(parseInt(u(0x83))/0x4)+-parseInt(u(0x7c))/0x5*(-parseInt(u(0x80))/0x6)+parseInt(u(0x6e))/0x7+parseInt(u(0x96))/0x8+-parseInt(u(0x79))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x92f4b));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0x67)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a['toString']()[w(0x7d)](w(0x8f))[w(0x6c)]()['constructor'](a117a)[w(0x7d)]('(((.+)+)+)+$');});a117a();import{Generator}from'../../../generator.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x65;let f=c[d];return f;},a117d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a117c(){const A=['818381JNLEqd','engines','758630JXsZkr','search','const\x20Routes','kit/auth/provider/authentication-provider.js','30tLrVvo','withValue','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','32srsHIJ','/routes','161871MYvPfe','fsi','/imports/startup/lib/authentication-provider','true','.js','getMakaProjectConfig','1839028XybmAO','injectImport','pathFromApp','authentication-provider','(((.+)+)+)+$','appName','/imports/startup/lib','react','template','injectAroundString','bright','8913272WcutUt','<Routes\x20history={history}/>','AuthProvider','apply','</AuthProvider>','force','function\x20Routes','\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','toString','<AuthProvider>','4790366xubQFy','\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','injectIntoCodeBlock','exit','split','/imports/startup/client/index','<Routes\x20history={browserHistory}/>','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','replaceAll','useContext','error','29352915XJWPnj'];a117c=function(){return A;};return a117c();}Generator['create']({'name':'provider','aliases':['p'],'usage':a117x(0x82),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a117x(0x6b)},async function(a,b){const y=a117x;try{const c=b[y(0x69)]||![];Log[y(0x95)](y(0x75));const d=this['fsi'][y(0x8a)](),f=d[y(0x7b)]['ssr']===y(0x88),g={'name':headerCase(d[y(0x90)])[y(0x76)]('-','\x20')},h=f?y(0x91):'/imports/startup/client',i=this[y(0x86)][y(0x8d)]({'pathParts':[h,'','',y(0x8e)]});await this[y(0x86)][y(0x81)](d,async()=>{const z=y;await this[z(0x86)][z(0x93)]({'srcPath':z(0x7f),'destPath':i+z(0x89),'framework':z(0x92),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x7b)]['js'],k=h+y(0x84),l=k[y(0x72)]('/'),m=this['fsi'][y(0x8d)]({'pathParts':l});await this[y(0x86)]['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0x87):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x86)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x77),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x86)][y(0x70)]({'filePath':m+'.'+j,'content':y(0x6f),'begin':[y(0x7e),y(0x6a)],'replace':!![]});const n=y(0x73),o=n['split']('/'),p=this[y(0x86)][y(0x8d)]({'pathParts':o});await this[y(0x86)]['injectImport']({'filePath':p+'.'+j,'importName':y(0x66),'modulePath':f?y(0x87):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi'][y(0x94)]({'filePath':p+'.'+j,'aboveContent':y(0x6d),'belowContent':y(0x68),'targetString':y(0x74),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[y(0x72)]('/'),s=this[y(0x86)][y(0x8d)]({'pathParts':r});await this[y(0x86)][y(0x8c)]({'filePath':s+'.'+j,'importName':y(0x66),'modulePath':f?y(0x87):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi'][y(0x94)]({'filePath':s+'.'+j,'aboveContent':y(0x6d),'belowContent':y(0x68),'targetString':y(0x65),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x78)](t),process[y(0x71)](0x1);}},async function(){},a117e);
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x1bd))/0x1*(-parseInt(f(0x1be))/0x2)+-parseInt(f(0x1b6))/0x3*(-parseInt(f(0x1b7))/0x4)+parseInt(f(0x1ba))/0x5+parseInt(f(0x1b9))/0x6*(-parseInt(f(0x1bf))/0x7)+-parseInt(f(0x1b5))/0x8+-parseInt(f(0x1b3))/0x9+parseInt(f(0x1bc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xd392a));function a118c(){var i=['2586FeLVEP','5394860wjKXjX','(((.+)+)+)+$','20879470sYdXDZ','4822gPXjNV','6xxFKFj','23016SyackF','constructor','11442519dHeTaD','apply','3554624Msknyd','5382WIDmfx','1824maRbPe','search'];a118c=function(){return i;};return a118c();}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1b4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()[h(0x1b8)]('(((.+)+)+)+$')['toString']()[h(0x1b2)](a118a)[h(0x1b8)](h(0x1bb));});function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1b2;var f=c[d];return f;},a118d(a,b);}a118a();import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x73))/0x1+parseInt(f(0x6e))/0x2*(-parseInt(f(0x71))/0x3)+-parseInt(f(0x72))/0x4+-parseInt(f(0x6d))/0x5*(parseInt(f(0x78))/0x6)+-parseInt(f(0x74))/0x7+-parseInt(f(0x79))/0x8*(parseInt(f(0x6c))/0x9)+-parseInt(f(0x7a))/0xa*(-parseInt(f(0x6f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x7ab56));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var g=a118d;return a118a[g(0x75)]()[g(0x70)](g(0x77))['toString']()[g(0x76)](a118a)['search'](g(0x77));});a118a();function a118c(){var h=['100012nmtIau','22uPKgHc','search','6fLhNkw','896948BPjmPI','825660huNSev','1258362zQzbAF','toString','constructor','(((.+)+)+)+$','5039904ZaWvRk','40QCfXXs','17350140acLMnH','1435959pPWiqe','5LNPNAB'];a118c=function(){return h;};return a118c();}function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x6c;var f=c[d];return f;},a118d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=-parseInt(f(0x14c))/0x1+-parseInt(f(0x148))/0x2+parseInt(f(0x149))/0x3*(parseInt(f(0x144))/0x4)+parseInt(f(0x140))/0x5+parseInt(f(0x154))/0x6+-parseInt(f(0x14a))/0x7*(parseInt(f(0x151))/0x8)+-parseInt(f(0x152))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x7f76b));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x145)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x14b)]()[h(0x147)](h(0x155))[h(0x14b)]()[h(0x146)](a119a)[h(0x147)]('(((.+)+)+)+$');});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const EsriGen=Generator[a119i(0x14f)]({'name':a119i(0x141),'aliases':['e'],'usage':a119i(0x150),'noNeedResource':!![],'shortDesc':a119i(0x14d),'validOpts':[''],'isPro':!![],'examples':[a119i(0x14e)],'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=a119i;return{'success':!![],'message':j(0x142),'details':{'filesCreated':[j(0x153)],'filesUpdated':[j(0x143)]}};},async function(){},a119e);export default EsriGen;function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x140;let f=c[d];return f;},a119d(a,b);}function a119c(){const k=['apply','constructor','search','264192MIPzzl','13047qgQrZb','49btSGxy','toString','223946kJIbBZ','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','maka\x20g:kit:e','create','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','621952vHluGc','3462444xoOBgT','/foo/bar','171600OKXEPq','(((.+)+)+)+$','4695500gCzyLy','esri','Esri\x20Kit\x20generated\x20successfully','/foo','772aPnCDF'];a119c=function(){return k;};return a119c();}
1
+ const a119h=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x118))/0x1*(-parseInt(f(0x120))/0x2)+parseInt(f(0x11e))/0x3+-parseInt(f(0x119))/0x4+-parseInt(f(0x124))/0x5+parseInt(f(0x11c))/0x6*(-parseInt(f(0x11b))/0x7)+parseInt(f(0x122))/0x8*(parseInt(f(0x116))/0x9)+parseInt(f(0x125))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x1d42a));function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x116;let f=c[d];return f;},a119d(a,b);}const a119b=(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;};}()),a119a=a119b(this,function(){const g=a119d;return a119a['toString']()[g(0x117)](g(0x126))[g(0x11a)]()[g(0x11d)](a119a)[g(0x117)]('(((.+)+)+)+$');});a119a();function a119c(){const j=['\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','81672qkEMDT','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','719565optXEX','5347780dfZabO','(((.+)+)+)+$','/foo/bar','create','maka\x20g:kit:e','81ZPAemg','search','382fXLdzL','862220SroWed','toString','355922hKoZcM','18UpcgIm','constructor','539313bXylcb','esri','914VFnypr'];a119c=function(){return j;};return a119c();}import{Generator}from'../../../generator.js';import a119e from'../kit.js';const EsriGen=Generator[a119h(0x128)]({'name':a119h(0x11f),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a119h(0x123),'validOpts':[''],'isPro':!![],'examples':[a119h(0x129)],'description':a119h(0x121)},async function(){const i=a119h;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[i(0x127)],'filesUpdated':['/foo']}};},async function(){},a119e);export default EsriGen;
@@ -1 +1 @@
1
- const a120r=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=parseInt(p(0xbf))/0x1+parseInt(p(0x94))/0x2+parseInt(p(0xab))/0x3*(-parseInt(p(0xa1))/0x4)+-parseInt(p(0xad))/0x5+parseInt(p(0xbb))/0x6*(-parseInt(p(0xb2))/0x7)+parseInt(p(0xa2))/0x8+parseInt(p(0x9b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x67398));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const q=a120d;return a120a[q(0x99)]()[q(0xa8)]('(((.+)+)+)+$')[q(0x99)]()[q(0xba)](a120a)['search'](q(0xaa));});a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x91;let f=c[d];return f;},a120d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120e from'./esri.generator.js';function a120c(){const u=['/imports/ui/hooks','6421320lCaWCL','Generating\x20a\x20map\x20component','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','.js','error','appName','4zMFZij','926888ocStXp','Generate\x20an\x20Esri\x20map\x20component','injectTemplateModule','map','esri-loader','split','search','pathFromApp','(((.+)+)+)+$','344982dICSWd','template','4199000yGYbGz','getMakaProjectConfig','baseDir','engines','exit','264698cJdlBS','injectImport','</div>','FALSE','bright','dir','/imports/ui/','create','constructor','66ZfqvcD','kit/esri/map/','fsi','true','610460mcwMcs','basic-map','checkNpmPackage','page','707510XxhUcl','@esri/react-arcgis','replaceAll','<div\x20id=\x22map\x22>','ssr','toString'];a120c=function(){return u;};return a120c();}import a120f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120r(0xb9)]({'name':a120r(0xa5),'aliases':['m'],'usage':a120r(0x9d),'shortDesc':a120r(0xa3),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a120r(0xb5)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const s=a120r;try{Log[s(0xb6)](s(0x9c));const c=s(0x91);await this[s(0xbd)][s(0x92)]([s(0x95),s(0xa6)],{'shouldInstall':!![]});const d=this['fsi']['findProjectDirectory'](),f=this['fsi'][s(0xae)](),g=f[s(0xb0)][s(0x98)]===s(0xbe),h=await a120f['processAndRunGenerator'](s(0x93),[s(0xa5)],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0xa0)])[s(0x96)]('-','\x20'),'componentName':pascalCase(c)},j=b[s(0xaf)]?s(0xb8)+b[s(0xaf)]:s(0x9a),k=this[s(0xbd)][s(0xa9)]({'pathParts':[j,b[s(0xb7)],paramCase(c),paramCase(c)]});await this[s(0xbd)]['withValue'](f,async()=>{const t=s;await this[t(0xbd)][t(0xac)]({'srcPath':t(0xbc)+c+t(0x9e),'destPath':k+'.js','framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[s(0xbd)][s(0xa4)](c,f,l);const m=h[s(0xa7)]('/'),n=this['fsi']['pathFromApp']({'pathParts':m});await this[s(0xbd)][s(0xb3)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[s(0xbd)]['injectIntoFile']({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':['<div\x20id=\x22map\x22>',s(0x97)],'end':[s(0xb4)],'replace':!![]});}catch(o){Log[s(0x9f)](o),process[s(0xb1)](0x1);}},async function(){},a120e);
1
+ const a120s=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x175;let f=c[d];return f;},a120d(a,b);}(function(a,b){const p=a120d,c=a();while(!![]){try{const d=-parseInt(p(0x194))/0x1+-parseInt(p(0x18c))/0x2*(parseInt(p(0x17e))/0x3)+-parseInt(p(0x178))/0x4*(parseInt(p(0x198))/0x5)+parseInt(p(0x17c))/0x6+parseInt(p(0x176))/0x7+parseInt(p(0x187))/0x8*(parseInt(p(0x1a7))/0x9)+-parseInt(p(0x18e))/0xa*(-parseInt(p(0x192))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x272ef));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a[r(0x1a5)]()['search'](r(0x17a))[r(0x1a5)]()[r(0x196)](a120a)[r(0x19c)]('(((.+)+)+)+$');});a120a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120e from'./esri.generator.js';import a120f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';function a120c(){const v=['146404GZBHRX','pathFromApp','constructor','create','36710iePfMw','split','injectIntoFile','ssr','search','appName','fsi','map','apply','withValue','/imports/startup/client/templates','\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','Generating\x20a\x20map\x20component','toString','/imports/ui/hooks','12843jteOUl','/imports/startup/lib/templates','basic-map','604107oGVPDC','baseDir','20MMMBRh','findProjectDirectory','(((.+)+)+)+$','</div>','1679580XPiAAh','Generate\x20an\x20Esri\x20map\x20component','225KjZfpx','exit','<div\x20id=\x22map\x22>','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','dir','esri-loader','injectImport','template','page','544FMnaKb','injectTemplateModule','FALSE','true','replaceAll','3448IkohgE','bright','96420zuHKRH','getMakaProjectConfig','@esri/react-arcgis','/imports/ui/','11Tbpwec','REACT'];a120c=function(){return v;};return a120c();}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120s(0x197)]({'name':'map','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a120s(0x17d),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120s(0x193)],'ssr':SsrEngines[a120s(0x189)]},'description':a120s(0x1a3)},async function(a,b){const t=a120s;try{Log[t(0x18d)](t(0x1a4));const c=t(0x175);await this[t(0x19e)]['checkNpmPackage']([t(0x190),t(0x183)],{'shouldInstall':!![]});const d=this['fsi'][t(0x179)](),f=this[t(0x19e)][t(0x18f)](),g=f['engines'][t(0x19b)]===t(0x18a),h=await a120f['processAndRunGenerator'](t(0x186),[t(0x19f)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x19d)])[t(0x18b)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x177)]?t(0x191)+b[t(0x177)]:t(0x1a6),k=this[t(0x19e)][t(0x195)]({'pathParts':[j,b[t(0x182)],paramCase(c),paramCase(c)]});await this[t(0x19e)][t(0x1a1)](f,async()=>{const u=t;await this['fsi'][u(0x185)]({'srcPath':'kit/esri/map/'+c+'.js','destPath':k+'.js','framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[t(0x19e)][t(0x188)](c,f,l);const m=h[t(0x199)]('/'),n=this[t(0x19e)]['pathFromApp']({'pathParts':m});await this[t(0x19e)][t(0x184)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x1a8):t(0x1a2),'isNamedExport':!![]}),await this['fsi'][t(0x19a)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x181),'begin':['<div\x20id=\x22map\x22>',t(0x180)],'end':[t(0x17b)],'replace':!![]});}catch(o){Log['error'](o),process[t(0x17f)](0x1);}},async function(){},a120e);
@@ -1 +1 @@
1
- const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=parseInt(f(0xad))/0x1+parseInt(f(0xae))/0x2*(parseInt(f(0xb4))/0x3)+parseInt(f(0xba))/0x4+-parseInt(f(0xb3))/0x5+-parseInt(f(0xb6))/0x6*(parseInt(f(0xbe))/0x7)+parseInt(f(0xb0))/0x8+-parseInt(f(0xbd))/0x9*(parseInt(f(0xb2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x993ff));function a121c(){const j=['1064147fSOWjc','186875yiqNGk','2XRlwXI','(((.+)+)+)+$','9702864mAXaoq','search','36280eeajvt','5404605uGusuM','2719452qeTZhY','toString','6BFrUdS','maka\x20g:k','kit','apply','2600368fUAiah','maka\x20g:kit','maka\x20{generate,\x20g}:{kit}\x20<name>','2718wghyks'];a121c=function(){return j;};return a121c();}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0xb5)]()['search'](h(0xaf))[h(0xb5)]()['constructor'](a121a)[h(0xb1)](h(0xaf));});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xad;let f=c[d];return f;},a121d(a,b);}a121a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a121i(0xb8),'aliases':['k'],'usage':a121i(0xbc),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0xbb),a121i(0xb7)]},async function(){});export default KitGen;
1
+ const a121i=a121d;function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xe0;let f=c[d];return f;},a121d(a,b);}(function(a,b){const f=a121d,c=a();while(!![]){try{const d=parseInt(f(0xf1))/0x1+-parseInt(f(0xe0))/0x2*(-parseInt(f(0xf4))/0x3)+parseInt(f(0xf2))/0x4*(parseInt(f(0xe3))/0x5)+parseInt(f(0xee))/0x6+parseInt(f(0xe9))/0x7+parseInt(f(0xec))/0x8*(-parseInt(f(0xf3))/0x9)+-parseInt(f(0xe8))/0xa*(parseInt(f(0xea))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xecf97));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0xe5)]()[h(0xe1)](h(0xe2))[h(0xe5)]()[h(0xe4)](a121a)[h(0xe1)](h(0xe2));});a121a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a121i(0xe6),'aliases':['k'],'usage':a121i(0xe7),'shortDesc':a121i(0xf0),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0xed),a121i(0xef)]},async function(){});export default KitGen;function a121c(){const j=['maka\x20{generate,\x20g}:{kit}\x20<name>','3870EhNVap','3947573JJMcGX','56793UKOPbV','apply','2908712CWRukS','maka\x20g:kit','2391816MkYjpl','maka\x20g:k','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','1909463CabFKG','8dJJKbd','27qkOprP','3AEsJEw','1974850UdMayc','search','(((.+)+)+)+$','500080NGkXAj','constructor','toString','kit'];a121c=function(){return j;};return a121c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x1ed))/0x1*(-parseInt(f(0x1f6))/0x2)+-parseInt(f(0x1f0))/0x3+-parseInt(f(0x1f2))/0x4*(parseInt(f(0x1fa))/0x5)+-parseInt(f(0x1fb))/0x6+parseInt(f(0x1ee))/0x7*(-parseInt(f(0x1f7))/0x8)+parseInt(f(0x1f5))/0x9+parseInt(f(0x1f9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x6fdd3));function a122c(){var i=['toString','7958440OdkdlX','235uTlJxn','634080aeLnrL','136880pKdONj','211883BfRrbi','(((.+)+)+)+$','187248cfsmRL','constructor','964lYyFlH','apply','search','4426992jVitES','2MoVSDN','208SyFWZz'];a122c=function(){return i;};return a122c();}var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x1f3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x1f8)]()['search'](h(0x1ef))[h(0x1f8)]()[h(0x1f1)](a122a)[h(0x1f4)](h(0x1ef));});a122a();import'./mui.generator.js';function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x1ed;var f=c[d];return f;},a122d(a,b);}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0xc9))/0x1*(-parseInt(f(0xcc))/0x2)+parseInt(f(0xc4))/0x3*(-parseInt(f(0xc6))/0x4)+-parseInt(f(0xca))/0x5*(parseInt(f(0xbf))/0x6)+-parseInt(f(0xcd))/0x7+-parseInt(f(0xc0))/0x8*(parseInt(f(0xc8))/0x9)+-parseInt(f(0xc3))/0xa*(-parseInt(f(0xc7))/0xb)+parseInt(f(0xc1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x791cd));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0xbe)]()[h(0xcb)]('(((.+)+)+)+$')[h(0xbe)]()[h(0xc2)](a122a)['search'](h(0xce));});a122a();import'./mui.generator.js';import'./frame.mui.gen.js';function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0xbe;var f=c[d];return f;},a122d(a,b);}function a122c(){var i=['295980vGOlFS','search','262vWnJTJ','1519987jxVvhc','(((.+)+)+)+$','toString','96XDaRjr','7544zHsPHx','38713896DibCrT','constructor','141090jGGsFY','3hbLwAN','apply','2167076eHDquQ','583PptRIh','7767OdExoE','7313BXRunv'];a122c=function(){return i;};return a122c();}import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- function a123c(){const N=['getMakaProjectConfig','reset-password/:token','basic-register-page','5375412GxVfaK','Meteor\x20Accounts','kit/mui/auth/register/','constructor','error','injectTemplateModule','31lRUARQ','authType','basic-logout-page','meteor','Cleaning\x20up...','kit/mui/auth/logout/','log','(((.+)+)+)+$','register','baseDir','basic-login-page','template','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','search','kit:auth:provider','basic-password-reset-page','kit/mui/auth/forgot-password/','custom','processAndRunGenerator','137552XctHFQ','route','options','apply','fsi','logout','/imports/startup/lib/authentication-provider','REACT','6jyNbHv','layouts','force','true','AuthContext','kit/mui/auth/password-reset/','injectImport','login','14502MJMEjj','kit:auth:meteor','/imports/startup/client/authentication-provider','engines','basic-forgot-password-page','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','219450iSdCtt','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','8DcNGaC','create','2837910zlgSDY','pathFromApp','split','findProjectDirectory','564487jNSTpE','dir','Custom\x20(roll\x20your\x20own)','.js','264NIyDne','appName','withValue','toString','react','1495870uLWMsV','/imports/ui/pages/auth'];a123c=function(){return N;};return a123c();}const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=parseInt(G(0x146))/0x1*(parseInt(G(0x124))/0x2)+-parseInt(G(0x11c))/0x3*(-parseInt(G(0x114))/0x4)+-parseInt(G(0x13b))/0x5+parseInt(G(0x12e))/0x6+-parseInt(G(0x132))/0x7*(parseInt(G(0x12c))/0x8)+-parseInt(G(0x140))/0x9+parseInt(G(0x12a))/0xa*(parseInt(G(0x136))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x4d2eb));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a[I(0x139)]()[I(0x10e)](I(0x14d))['toString']()[I(0x143)](a123a)[I(0x10e)](I(0x14d));});a123a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a123e from'../../../generators/maka.gen.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x10b;let f=c[d];return f;},a123d(a,b);}import a123f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123J(0x12d)]({'name':'auth','aliases':['a'],'usage':a123J(0x10d),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a123J(0x11d),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a123J(0x11b)]},'examples':['maka\x20generate:kit:mui:frame','maka\x20g:k:m:f'],'description':a123J(0x129)},async function(a,b){const K=a123J;try{const c=b[K(0x11e)]||![],d=this[K(0x118)][K(0x131)](),f=this[K(0x118)][K(0x13d)](),{authType:g}=await Actions[K(0x116)]({'type':'list','name':K(0x147),'message':K(0x12b),'choices':[{'name':K(0x141),'value':'meteor'},{'name':K(0x134),'value':K(0x112)}]}),h=K(0x10b),i=K(0x148),j='basic-register-page',k='basic-password-reset-page',l=K(0x128),m=b[K(0x14f)]?'/imports/ui/'+b[K(0x14f)]:K(0x13c),n=this[K(0x118)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0x118)][K(0x12f)]({'pathParts':[m,b[K(0x133)],paramCase(i),paramCase(i)]}),p=this[K(0x118)]['pathFromApp']({'pathParts':[m,b[K(0x133)],paramCase(j),paramCase(j)]}),q=this[K(0x118)][K(0x12f)]({'pathParts':[m,b[K(0x133)],paramCase(k),paramCase(k)]}),r=this['fsi']['pathFromApp']({'pathParts':[m,b[K(0x133)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x137)])['replaceAll']('-','\x20')};await this[K(0x118)][K(0x138)](f,async()=>{const L=K;await this['fsi'][L(0x10c)]({'srcPath':'kit/mui/auth/login/'+h+'.js','destPath':n+L(0x135),'framework':L(0x13a),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x118)]['template']({'srcPath':L(0x14b)+i+L(0x135),'destPath':o+L(0x135),'framework':L(0x13a),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x118)][L(0x10c)]({'srcPath':L(0x142)+j+L(0x135),'destPath':p+L(0x135),'framework':L(0x13a),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x118)][L(0x10c)]({'srcPath':L(0x121)+k+'.js','destPath':q+L(0x135),'framework':L(0x13a),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x118)][L(0x10c)]({'srcPath':L(0x111)+l+'.js','destPath':r+L(0x135),'framework':L(0x13a),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x133)]+'/'+h+'/'+h;await this['fsi'][K(0x145)](h,f,t);const u=''+m+b[K(0x133)]+'/'+i+'/'+i;await this['fsi'][K(0x145)](i,f,u);const v=''+m+b[K(0x133)]+'/'+j+'/'+j;await this[K(0x118)][K(0x145)](j,f,v);const w=''+m+b[K(0x133)]+'/'+k+'/'+k;await this[K(0x118)][K(0x145)](k,f,w);const x=''+m+b[K(0x133)]+'/'+l+'/'+l;await this['fsi']['injectTemplateModule'](l,f,x),await a123e[K(0x113)](K(0x115),[K(0x10b)],{'url':K(0x123),'cwd':d,'config':f}),await a123e[K(0x113)](K(0x115),['basic-logout-page'],{'url':K(0x119),'private':!![],'cwd':d,'config':f}),await a123e[K(0x113)](K(0x115),[K(0x13f)],{'url':K(0x14e),'cwd':d,'config':f}),await a123e[K(0x113)](K(0x115),[K(0x110)],{'url':K(0x13e),'cwd':d,'config':f}),await a123e[K(0x113)](K(0x115),[K(0x128)],{'url':'forgot-password','cwd':d,'config':f});g===K(0x149)&&await a123e[K(0x113)](K(0x125),[],{'force':c,'cwd':d,'config':f});g===K(0x112)&&await a123e[K(0x113)](K(0x10f),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x127)]['ssr']===K(0x11f),z=f[K(0x127)]['js'],A=this[K(0x118)][K(0x12f)]({'pathParts':t[K(0x130)]('/')});await this[K(0x118)][K(0x122)]({'filePath':A+'.'+z,'importName':K(0x120),'modulePath':y?K(0x11a):K(0x126),'isNamedExport':!![]});const B=this[K(0x118)][K(0x12f)]({'pathParts':u[K(0x130)]('/')});await this['fsi']['injectImport']({'filePath':B+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':K(0x126),'isNamedExport':!![]});const C=this[K(0x118)]['pathFromApp']({'pathParts':v[K(0x130)]('/')});await this[K(0x118)][K(0x122)]({'filePath':C+'.'+z,'importName':K(0x120),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x126),'isNamedExport':!![]});const D=this[K(0x118)]['pathFromApp']({'pathParts':w[K(0x130)]('/')});await this[K(0x118)][K(0x122)]({'filePath':D+'.'+z,'importName':K(0x120),'modulePath':y?K(0x11a):K(0x126),'isNamedExport':!![]});const E=this[K(0x118)]['pathFromApp']({'pathParts':x[K(0x130)]('/')});await this['fsi'][K(0x122)]({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?K(0x11a):K(0x126),'isNamedExport':!![]});}catch(F){Log[K(0x144)](F);}},async function(){const M=a123J;console[M(0x14c)](M(0x14a));},a123f);
1
+ const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=-parseInt(G(0x152))/0x1*(-parseInt(G(0x124))/0x2)+-parseInt(G(0x159))/0x3*(parseInt(G(0x156))/0x4)+-parseInt(G(0x120))/0x5*(parseInt(G(0x13f))/0x6)+parseInt(G(0x158))/0x7*(-parseInt(G(0x11c))/0x8)+parseInt(G(0x140))/0x9*(parseInt(G(0x13d))/0xa)+-parseInt(G(0x132))/0xb+-parseInt(G(0x134))/0xc*(-parseInt(G(0x130))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x67330));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a['toString']()[I(0x13a)](I(0x133))['toString']()[I(0x144)](a123a)[I(0x13a)]('(((.+)+)+)+$');});a123a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a123e from'../../../generators/maka.gen.js';function a123c(){const N=['426424yAmmNq','injectImport','true','route','43455MuauZj','/imports/startup/lib/authentication-provider','react','kit:auth:provider','3868CIYpKc','injectTemplateModule','Custom\x20(roll\x20your\x20own)','list','basic-register-page','baseDir','kit:auth:meteor','kit/mui/auth/logout/','meteor','engines','pathFromApp','appName','5027659dabKqp','fsi','5728657ueUjer','(((.+)+)+)+$','72hBekZv','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','/imports/ui/','Cleaning\x20up...','auth','split','search','MATERIAL','custom','1130SCnrwa','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','330qPEPrG','3285GcwwFJ','basic-logout-page','REACT','getMakaProjectConfig','constructor','maka\x20g:k:m:f','ssr','basic-forgot-password-page','basic-password-reset-page','findProjectDirectory','apply','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','kit/mui/auth/login/','login','AuthContext','log','kit/mui/auth/register/','create','93AOaIQg','processAndRunGenerator','force','/imports/ui/pages/auth','1412TDOBYJ','dir','42deMwKf','6801vPUGgc','basic-login-page','replaceAll','/imports/startup/client/authentication-provider','template','kit/mui/auth/password-reset/','maka\x20generate:kit:mui:frame','error','kit/mui/auth/forgot-password/','.js','forgot-password'];a123c=function(){return N;};return a123c();}import a123f from'./mui.generator.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x113;let f=c[d];return f;},a123d(a,b);}import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123J(0x151)]({'name':a123J(0x138),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a123J(0x13e),'validOpts':['layouts',a123J(0x154)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123J(0x13b)],'client':ClientEngines[a123J(0x142)]},'examples':[a123J(0x117),a123J(0x145)],'description':a123J(0x14b)},async function(a,b){const K=a123J;try{const c=b[K(0x154)]||![],d=this[K(0x131)][K(0x149)](),f=this[K(0x131)][K(0x143)](),{authType:g}=await Actions['options']({'type':K(0x127),'name':'authType','message':K(0x135),'choices':[{'name':'Meteor\x20Accounts','value':'meteor'},{'name':K(0x126),'value':'custom'}]}),h=K(0x15a),i=K(0x141),j='basic-register-page',k=K(0x148),l=K(0x147),m=b[K(0x129)]?K(0x136)+b[K(0x129)]:K(0x155),n=this[K(0x131)]['pathFromApp']({'pathParts':[m,b[K(0x157)],paramCase(h),paramCase(h)]}),o=this[K(0x131)][K(0x12e)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[K(0x131)]['pathFromApp']({'pathParts':[m,b[K(0x157)],paramCase(j),paramCase(j)]}),q=this[K(0x131)][K(0x12e)]({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this[K(0x131)][K(0x12e)]({'pathParts':[m,b[K(0x157)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x12f)])[K(0x113)]('-','\x20')};await this[K(0x131)]['withValue'](f,async()=>{const L=K;await this[L(0x131)][L(0x115)]({'srcPath':L(0x14c)+h+L(0x11a),'destPath':n+L(0x11a),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x115)]({'srcPath':L(0x12b)+i+L(0x11a),'destPath':o+L(0x11a),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x131)]['template']({'srcPath':L(0x150)+j+L(0x11a),'destPath':p+L(0x11a),'framework':L(0x122),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x131)][L(0x115)]({'srcPath':L(0x116)+k+L(0x11a),'destPath':q+'.js','framework':L(0x122),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x131)]['template']({'srcPath':L(0x119)+l+L(0x11a),'destPath':r+L(0x11a),'framework':L(0x122),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x157)]+'/'+h+'/'+h;await this[K(0x131)][K(0x125)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this['fsi'][K(0x125)](i,f,u);const v=''+m+b[K(0x157)]+'/'+j+'/'+j;await this['fsi'][K(0x125)](j,f,v);const w=''+m+b[K(0x157)]+'/'+k+'/'+k;await this['fsi'][K(0x125)](k,f,w);const x=''+m+b[K(0x157)]+'/'+l+'/'+l;await this[K(0x131)]['injectTemplateModule'](l,f,x),await a123e[K(0x153)](K(0x11f),['basic-login-page'],{'url':K(0x14d),'cwd':d,'config':f}),await a123e[K(0x153)](K(0x11f),[K(0x141)],{'url':'logout','private':!![],'cwd':d,'config':f}),await a123e[K(0x153)](K(0x11f),[K(0x128)],{'url':'register','cwd':d,'config':f}),await a123e[K(0x153)](K(0x11f),['basic-password-reset-page'],{'url':'reset-password/:token','cwd':d,'config':f}),await a123e[K(0x153)](K(0x11f),[K(0x147)],{'url':K(0x11b),'cwd':d,'config':f});g===K(0x12c)&&await a123e['processAndRunGenerator'](K(0x12a),[],{'force':c,'cwd':d,'config':f});g===K(0x13c)&&await a123e[K(0x153)](K(0x123),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x12d)][K(0x146)]===K(0x11e),z=f[K(0x12d)]['js'],A=this['fsi'][K(0x12e)]({'pathParts':t[K(0x139)]('/')});await this[K(0x131)][K(0x11d)]({'filePath':A+'.'+z,'importName':K(0x14e),'modulePath':y?K(0x121):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[K(0x131)][K(0x12e)]({'pathParts':u[K(0x139)]('/')});await this[K(0x131)][K(0x11d)]({'filePath':B+'.'+z,'importName':K(0x14e),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x114),'isNamedExport':!![]});const C=this[K(0x131)][K(0x12e)]({'pathParts':v[K(0x139)]('/')});await this['fsi'][K(0x11d)]({'filePath':C+'.'+z,'importName':K(0x14e),'modulePath':y?K(0x121):K(0x114),'isNamedExport':!![]});const D=this['fsi'][K(0x12e)]({'pathParts':w[K(0x139)]('/')});await this['fsi'][K(0x11d)]({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?K(0x121):K(0x114),'isNamedExport':!![]});const E=this[K(0x131)][K(0x12e)]({'pathParts':x[K(0x139)]('/')});await this['fsi'][K(0x11d)]({'filePath':E+'.'+z,'importName':K(0x14e),'modulePath':y?K(0x121):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log[K(0x118)](F);}},async function(){const M=a123J;console[M(0x14f)](M(0x137));},a123f);
@@ -1 +1 @@
1
- function a124c(){const I=['(((.+)+)+)+$','jsx','/imports/ui/components','<div\x20id=\x22','session','kit/mui/frame/footers/','join','engines','apply','1112684LYMEqe','basic-sticky-footer','maka:react-tracker','search','2628770FfYTRP','create','basic-app-bar','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','ssr','3157756dswaPq','@mui/material/Box','93512MeDyBj','length','dir','Cleaning\x20up...','getFiles','76074TcJhfY','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','/imports/ui/','findAppDirectory','injectIntoFile','imports','baseDir','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','error','/imports/startup/lib/templates','833142AetVmV','maka\x20g:k:m:f','template','tests','test','replaceAll','withValue','280QojrCa','Box','{props.children}','pathFromApp','injectTemplateModule','MATERIAL','3waybcS','-hook\x22>','/imports/startup/client/templates','.js','fsi','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','</div>','log','basic-drawer','checkbox','injectAroundString','\x20/>\x0a','toString','{this.props.children}','constructor','<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>','force','injectImport','@mui/material/Container','{\x20props.children\x20}','265BTVPXu','33488983msIaHo','9NjXodM','{\x20this.props.children\x20}','layouts','react','options'];a124c=function(){return I;};return a124c();}const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=parseInt(B(0x204))/0x1+-parseInt(B(0x1ea))/0x2*(-parseInt(B(0x211))/0x3)+parseInt(B(0x1f3))/0x4+-parseInt(B(0x225))/0x5*(-parseInt(B(0x1fa))/0x6)+-parseInt(B(0x20b))/0x7*(-parseInt(B(0x1f5))/0x8)+parseInt(B(0x227))/0x9*(parseInt(B(0x1ee))/0xa)+-parseInt(B(0x226))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x8313e));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0x234)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a['toString']()['search'](D(0x22c))[D(0x21d)]()[D(0x21f)](a124a)[D(0x1ed)]('(((.+)+)+)+$');});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a124e from'path';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a124d(a,b);}import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124E(0x1ef)]({'name':'frame','aliases':['f'],'usage':a124E(0x1f1),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a124E(0x229),'baseDir',a124E(0x1f7),a124E(0x221)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0x210)],'client':ClientEngines['REACT']},'examples':['maka\x20generate:kit:mui:frame',a124E(0x205)],'description':a124E(0x1fb)},async function(a,b){const F=a124E;try{const c=b['force']||![],d=F(0x1f0),f=F(0x219),g=F(0x1eb),h=this[F(0x215)]['getMakaProjectConfig'](),i=h[F(0x233)][F(0x1f2)]==='true';await this['fsi']['checkMeteorPackage']([F(0x230),F(0x1ec)],{'shouldInstall':!![]});const j=this[F(0x215)][F(0x1fd)](),k=a124e['join'](j,F(0x1ff),'ui','layouts'),l=this[F(0x215)]['getDirectories'](k),m=await Actions[F(0x22b)]({'type':F(0x21a),'name':F(0x229),'message':F(0x201),'choices':l});if(m[F(0x229)][F(0x1f6)]===0x0){Log[F(0x202)]('No\x20layouts\x20selected');return;}const n=b[F(0x200)]?F(0x1fc)+b[F(0x200)]:F(0x22e),o=this['fsi'][F(0x20e)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[F(0x215)]['pathFromApp']({'pathParts':[n,b[F(0x1f7)],paramCase(f),paramCase(f)]}),q=this[F(0x215)][F(0x20e)]({'pathParts':[n,b[F(0x1f7)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h['appName'])[F(0x209)]('-','\x20')};await this[F(0x215)][F(0x20a)](h,async()=>{const G=F;await this[G(0x215)]['template']({'srcPath':'kit/mui/frame/app-bars/'+d+G(0x214),'destPath':o+G(0x214),'framework':G(0x22a),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x215)][G(0x206)]({'srcPath':'kit/mui/frame/drawers/'+f+G(0x214),'destPath':p+G(0x214),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x206)]({'srcPath':G(0x231)+g+G(0x214),'destPath':q+'.js','framework':G(0x22a),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this['fsi'][F(0x20f)](d,h,s);const t=''+n+b[F(0x1f7)]+'/'+f+'/'+f;await this[F(0x215)][F(0x20f)](f,h,t);const u=''+n+b[F(0x1f7)]+'/'+g+'/'+g;await this[F(0x215)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x215)][F(0x1f9)](a124e[F(0x232)](k,w),{'extensions':[F(0x22d),'tsx'],'omit':['app-tests',F(0x207),F(0x208)]});for(const y of x){const z=a124e[F(0x232)](k,w,y);await this['fsi'][F(0x222)]({'filePath':z,'importName':F(0x20c),'modulePath':F(0x1f4),'isNamedExport':![]}),await this[F(0x215)][F(0x222)]({'filePath':z,'importName':'Container','modulePath':F(0x223),'isNamedExport':![]}),await this[F(0x215)]['injectImport']({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x203):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x215)][F(0x1fe)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x21c),'begin':[F(0x22f)+w+'\x22>',F(0x22f)+w+F(0x212)],'end':['{this.props.children}',F(0x228),'{props.children}',F(0x224)]}),await this['fsi'][F(0x222)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x203):F(0x213),'isNamedExport':!![]}),await this[F(0x215)][F(0x1fe)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x21c),'begin':[F(0x22f)+w+'\x22>','<div\x20id=\x22'+w+'-hook\x22>'],'end':[F(0x21e),F(0x228),F(0x20d),F(0x224)]}),await this[F(0x215)][F(0x1fe)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x21c),'begin':[F(0x21e),F(0x228),'{props.children}',F(0x224)],'end':[F(0x217)]}),await this[F(0x215)][F(0x222)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':F(0x213),'isNamedExport':!![]}),await this[F(0x215)][F(0x21b)]({'filePath':z,'aboveContent':F(0x220),'belowContent':F(0x216),'targetString':[F(0x21e),'{\x20this.props.children\x20}',F(0x20d),F(0x224)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const H=a124E;console[H(0x218)](H(0x1f8));},a124f);
1
+ const a124E=a124d;function a124c(){const I=['Box','/imports/startup/lib/templates','7izHhoP','1324688NretOt','4014153jNSkcV','apply','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','<div\x20id=\x22','/imports/ui/','maka\x20generate:kit:mui:frame','engines','injectTemplateModule','log','layouts','{this.props.children}','{\x20this.props.children\x20}','template','tests','708sYxkTW','appName','ssr','<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>','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','withValue','true','-hook\x22>','basic-app-bar','.js','2197320kQMItV','maka\x20g:k:m:f','jsx','join','injectAroundString','Container','search','1779234nFiRgF','toString','frame','pathFromApp','kit/mui/frame/footers/','getMakaProjectConfig','kit/mui/frame/app-bars/','force','No\x20layouts\x20selected','getFiles','imports','test','{\x20props.children\x20}','baseDir','checkMeteorPackage','app-tests','/imports/startup/client/templates','</div>','fsi','options','replaceAll','getDirectories','REACT','{props.children}','findAppDirectory','10TkuCMr','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','\x20/>\x0a','MATERIAL','injectIntoFile','error','injectImport','8809196qWeIqh','react','4eQOTgR','10295ZqBqzs','session','dir','constructor','239114juzzoV','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'];a124c=function(){return I;};return a124c();}function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x13e;let f=c[d];return f;},a124d(a,b);}(function(a,b){const B=a124d,c=a();while(!![]){try{const d=-parseInt(B(0x14d))/0x1*(parseInt(B(0x152))/0x2)+parseInt(B(0x177))/0x3+parseInt(B(0x166))/0x4*(parseInt(B(0x14e))/0x5)+parseInt(B(0x170))/0x6*(parseInt(B(0x156))/0x7)+-parseInt(B(0x157))/0x8+-parseInt(B(0x158))/0x9*(-parseInt(B(0x144))/0xa)+-parseInt(B(0x14b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x4f5f4));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a[D(0x178)]()[D(0x176)]('(((.+)+)+)+$')[D(0x178)]()[D(0x151)](a124a)[D(0x176)]('(((.+)+)+)+$');});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a124e from'path';import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a124E(0x179),'aliases':['f'],'usage':a124E(0x145),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a124E(0x161),'baseDir',a124E(0x150),a124E(0x17e)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0x147)],'client':ClientEngines[a124E(0x141)]},'examples':[a124E(0x15d),a124E(0x171)],'description':a124E(0x153)},async function(a,b){const F=a124E;try{const c=b[F(0x17e)]||![],d=F(0x16e),f='basic-drawer',g='basic-sticky-footer',h=this['fsi'][F(0x17c)](),i=h[F(0x15e)][F(0x168)]===F(0x16c);await this['fsi'][F(0x185)]([F(0x14f),'maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0x189)][F(0x143)](),k=a124e[F(0x173)](j,F(0x181),'ui',F(0x161)),l=this[F(0x189)][F(0x140)](k),m=await Actions[F(0x13e)]({'type':'checkbox','name':'layouts','message':F(0x16a),'choices':l});if(m[F(0x161)]['length']===0x0){Log['error'](F(0x17f));return;}const n=b[F(0x184)]?F(0x15c)+b[F(0x184)]:'/imports/ui/components',o=this[F(0x189)][F(0x17a)]({'pathParts':[n,b[F(0x150)],paramCase(d),paramCase(d)]}),p=this['fsi'][F(0x17a)]({'pathParts':[n,b[F(0x150)],paramCase(f),paramCase(f)]}),q=this[F(0x189)][F(0x17a)]({'pathParts':[n,b[F(0x150)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x167)])[F(0x13f)]('-','\x20')};await this['fsi'][F(0x16b)](h,async()=>{const G=F;await this['fsi']['template']({'srcPath':G(0x17d)+d+G(0x16f),'destPath':o+G(0x16f),'framework':G(0x14c),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x189)][G(0x164)]({'srcPath':'kit/mui/frame/drawers/'+f+'.js','destPath':p+G(0x16f),'framework':G(0x14c),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':G(0x17b)+g+G(0x16f),'destPath':q+G(0x16f),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x150)]+'/'+d+'/'+d;await this[F(0x189)]['injectTemplateModule'](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0x189)][F(0x15f)](f,h,t);const u=''+n+b[F(0x150)]+'/'+g+'/'+g;await this[F(0x189)][F(0x15f)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x189)][F(0x180)](a124e['join'](k,w),{'extensions':[F(0x172),'tsx'],'omit':[F(0x186),F(0x165),F(0x182)]});for(const y of x){const z=a124e[F(0x173)](k,w,y);await this[F(0x189)][F(0x14a)]({'filePath':z,'importName':F(0x154),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this[F(0x189)][F(0x14a)]({'filePath':z,'importName':F(0x175),'modulePath':'@mui/material/Container','isNamedExport':![]}),await this[F(0x189)][F(0x14a)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x189)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+F(0x146),'begin':['<div\x20id=\x22'+w+'\x22>',F(0x15b)+w+F(0x16d)],'end':[F(0x162),F(0x163),F(0x142),F(0x183)]}),await this[F(0x189)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x189)][F(0x148)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x146),'begin':[F(0x15b)+w+'\x22>',F(0x15b)+w+F(0x16d)],'end':[F(0x162),F(0x163),F(0x142),'{\x20props.children\x20}']}),await this[F(0x189)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[F(0x162),F(0x163),F(0x142),'{\x20props.children\x20}'],'end':[F(0x188)]}),await this[F(0x189)][F(0x14a)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x155):F(0x187),'isNamedExport':!![]}),await this[F(0x189)][F(0x174)]({'filePath':z,'aboveContent':F(0x169),'belowContent':F(0x15a),'targetString':[F(0x162),'{\x20this.props.children\x20}','{props.children}',F(0x183)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x149)](A);}},async function(){const H=a124E;console[H(0x160)]('Cleaning\x20up...');},a124f);
@@ -1 +1 @@
1
- const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=-parseInt(g(0xd0))/0x1*(parseInt(g(0xd7))/0x2)+parseInt(g(0xe2))/0x3*(parseInt(g(0xc5))/0x4)+parseInt(g(0xce))/0x5*(parseInt(g(0xdd))/0x6)+-parseInt(g(0xd8))/0x7+parseInt(g(0xda))/0x8*(parseInt(g(0xe5))/0x9)+parseInt(g(0xdc))/0xa+-parseInt(g(0xcb))/0xb*(parseInt(g(0xe1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xd3b07));function a125c(){const l=['mui','425183OLMBIZ','search','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','185rkfAaq','(((.+)+)+)+$','173149AsGIDj','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','processAndRunGenerator','No\x20MUI\x20kits\x20selected.\x20Exiting.','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','toString','kit:mui:frame','2hhUehb','11927041KeYKgx','frame','8jFcjHf','includes','2256810ApGszD','99282RtdgCW','getMakaProjectConfig','info','findProjectDirectory','96QFNBgU','48ecfUDi','notice','Header,\x20Footer,\x20and\x20Drawer','14747067qbiIKz','auth','options','144208BgNYfS','checkbox','maka\x20g:kit:m','apply','kitChoices'];a125c=function(){return l;};return a125c();}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0xd5)]()[i(0xcc)]('(((.+)+)+)+$')['toString']()['constructor'](a125a)[i(0xcc)](i(0xcf));});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xc4;let f=c[d];return f;},a125d(a,b);}a125a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator['create']({'name':a125j(0xca),'aliases':['m'],'usage':a125j(0xcd),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a125j(0xc7)]},async function(){const k=a125j;Log[k(0xdf)](k(0xd1)),Log[k(0xe3)]('\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(0xc4)]({'type':k(0xc6),'name':k(0xc9),'message':k(0xd4),'choices':[{'name':k(0xe4),'value':k(0xd9)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':k(0xe6)}]}),b=this['fsi'][k(0xe0)](),c=this['fsi'][k(0xde)]();a[k(0xdb)](k(0xd9))&&await a125e[k(0xd2)](k(0xd6),[],{'force':!![],'cwd':b,'config':c});a[k(0xdb)](k(0xe6))&&await a125e[k(0xd2)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[k(0xdf)](k(0xd3));return;}},async function(){},a125f);export default MuiGen;
1
+ const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=parseInt(g(0x1e0))/0x1+-parseInt(g(0x1d4))/0x2+parseInt(g(0x1d5))/0x3+parseInt(g(0x1de))/0x4+parseInt(g(0x1e2))/0x5+-parseInt(g(0x1e3))/0x6+-parseInt(g(0x1d7))/0x7*(parseInt(g(0x1ce))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x9406c));function a125c(){const l=['2493940RjpdhV','fsi','96629WSAKVB','notice','2111525iyhzzG','3834888VNNovJ','length','Material-UI\x20Kit','findProjectDirectory','No\x20MUI\x20kits\x20selected.\x20Exiting.','includes','options','kit:mui:auth','checkbox','(((.+)+)+)+$','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','89216NiEkjV','\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','toString','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','apply','create','5144GtxzGW','1253619OdgWGH','auth','196BRinwz','kit:mui:frame','search','processAndRunGenerator','info','getMakaProjectConfig','frame'];a125c=function(){return l;};return a125c();}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x1d2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0x1d0)]()[i(0x1d9)](i(0x1cc))[i(0x1d0)]()['constructor'](a125a)[i(0x1d9)](i(0x1cc));});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a125d(a,b);}a125a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator[a125j(0x1d3)]({'name':'mui','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a125j(0x1e5),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a125j;Log['info'](k(0x1d1)),Log[k(0x1e1)](k(0x1cf));const {kitChoices:a}=await Actions[k(0x1c9)]({'type':k(0x1cb),'name':'kitChoices','message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':k(0x1dd)},{'name':k(0x1cd),'value':k(0x1d6)}]}),b=this[k(0x1df)][k(0x1e6)](),c=this[k(0x1df)][k(0x1dc)]();a[k(0x1e8)]('frame')&&await a125e[k(0x1da)](k(0x1d8),[],{'force':!![],'cwd':b,'config':c});a['includes']('auth')&&await a125e[k(0x1da)](k(0x1ca),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1e4)]===0x0){Log[k(0x1db)](k(0x1e7));return;}},async function(){},a125f);export default MuiGen;
@@ -1 +1 @@
1
- function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x14f;let f=c[d];return f;},a126d(a,b);}const a126n=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(0x178))/0x1+-parseInt(l(0x177))/0x2+parseInt(l(0x165))/0x3*(-parseInt(l(0x153))/0x4)+parseInt(l(0x155))/0x5*(parseInt(l(0x150))/0x6)+-parseInt(l(0x161))/0x7+parseInt(l(0x15a))/0x8*(-parseInt(l(0x17f))/0x9)+-parseInt(l(0x15f))/0xa*(-parseInt(l(0x176))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xdf1a2));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(0x158)]()[m(0x17a)](m(0x189))[m(0x158)]()[m(0x169)](a126a)[m(0x17a)](m(0x189));});a126a();function a126c(){const q=['api','2703813uNjUqp','create','pathFromApp','string','36ldHpJG','theme','dir','maka\x20g:l\x20web/safari','constructor','resourceName','engines','react','hook/hook.js','assign','client','withHook','includes','test','setTemplate','Scaffolding\x20for\x20a\x20React\x20Layout.','withValue','242umdsHA','1377414uvdxRz','386808NvPSRm','layout','search','css','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','true','import\x20\x27./','2724273blcFMQ','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','/imports/ui/layouts','maka\x20g:layout\x20mobile/iPhone8','ssr','fsi','features','checkNpmPackage','findAppDirectory','ramda','(((.+)+)+)+$','className','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','174koDYwA','pathFromProject','none','353316MtosCx','.app-tests.js','166660FmsnVv','template','withHooks','toString','warn','48TcRwQy','graphql','installNpmPackage','.js','fileName','1596130RCFLph'];a126c=function(){return q;};return a126c();}import a126e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a126n(0x162)]({'name':a126n(0x179),'aliases':aliases,'usage':a126n(0x17c),'shortDesc':a126n(0x174),'validOpts':['withHook'],'examples':[a126n(0x182),a126n(0x168)]},async function(a,b){const o=a126n,c=o(0x181),d=this['fsi'][o(0x187)](),e=this[o(0x184)][o(0x163)]({'pathParts':[c,b[o(0x167)],paramCase(b[o(0x16a)]),paramCase(b[o(0x16a)])]}),f=this[o(0x184)]['getMakaProjectConfig']();await this[o(0x184)][o(0x175)](f,async()=>{const p=o;typeof f[p(0x156)]['test']===p(0x164)&&(f['template'][p(0x172)]=f[p(0x156)]['test']===p(0x17d)?!![]:![],this[p(0x184)][p(0x173)](p(0x172),f[p(0x156)][p(0x172)]));typeof f[p(0x156)]['css']==='string'&&(f[p(0x156)][p(0x17b)]=f[p(0x156)][p(0x17b)]===p(0x17d)?!![]:![],this['fsi'][p(0x173)](p(0x17b),f['template'][p(0x17b)]));typeof f['template']['js']===p(0x164)&&(f['template']['js']=f['template']['js']===p(0x17d)?!![]:![],this[p(0x184)][p(0x173)]('js',f[p(0x156)]['js']));!f[p(0x185)]&&(f['features']={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases[p(0x171)](g);h&&!this['checkNpmPackage'](p(0x188))&&(Log[p(0x159)](p(0x14f)),this[p(0x184)][p(0x15c)](p(0x188),{'cwd':d}));if(h&&!this[p(0x186)](p(0x16c))){Log[p(0x159)](p(0x180));return;}const i={'name':pascalCase(b[p(0x16a)]),'myPath':a126e['relative'](this[p(0x184)][p(0x151)]({}),e),'cssCaseName':paramCase(b[p(0x16a)]),'className':pascalCase(b[p(0x16a)]),'camelCaseName':camelCase(b[p(0x16a)]),'fileName':paramCase(b[p(0x16a)]),'graphql':f[p(0x16b)][p(0x15b)],'features':f['features'],'client':f[p(0x16b)][p(0x16f)],'api':f['engines'][p(0x160)],'ssr':f[p(0x16b)][p(0x183)],'test':f[p(0x16b)][p(0x172)],'theme':f['engines'][p(0x166)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0x185)]['withTranslations']};f[p(0x185)]?.[p(0x157)]||b[p(0x170)]?await this[p(0x184)]['template']({'srcPath':p(0x16d),'destPath':e+p(0x15d),'framework':p(0x16c),'context':i,'config':f}):await this[p(0x184)]['template']({'srcPath':'component/component.js','destPath':e+'.js','framework':'react','context':i,'config':f});f[p(0x16b)][p(0x172)]!==p(0x152)&&await this[p(0x184)][p(0x156)]({'srcPath':'test/test.js','destPath':e+p(0x154),'framework':'react','context':i,'config':f});f['template'][p(0x17b)]&&(await this['fsi']['template']({'srcPath':'template/template.css','destPath':e+'.css','context':Object[p(0x16e)]({},i,{'className':paramCase(b[p(0x16a)])}),'config':f}),await this[p(0x184)]['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':p(0x17e)+i[p(0x15e)]+'.'+f[p(0x16b)][p(0x17b)]+'\x27;'}));const j=b['dir']?'/'+b[p(0x167)]+'/':'/',k=''+c+j+i[p(0x15e)]+'/'+i['fileName'];await this[p(0x184)]['injectTemplateModule'](i[p(0x18a)],f,k);});});
1
+ const a126o=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(0x112))/0x1+-parseInt(l(0x11f))/0x2*(-parseInt(l(0x133))/0x3)+parseInt(l(0x13d))/0x4*(parseInt(l(0x121))/0x5)+-parseInt(l(0x13e))/0x6+parseInt(l(0x10d))/0x7+parseInt(l(0x114))/0x8*(parseInt(l(0x129))/0x9)+-parseInt(l(0x116))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xec5ba));function a126c(){const r=['injectAtBeginningOfFile','2601916LcDiiR','6597600jXoEaM','test','getMakaProjectConfig','string','.js','graphql','css','ssr','test/test.js','includes','component/component.js','assign','react','relative','maka\x20g:l\x20web/safari','constructor','split','8636859aCGlup','setTemplate','resourceName','hook/hook.js','fsi','1239409VKJkGe','findAppDirectory','127016ldzhda','features','32030530kJmFux','.app-tests.js','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','warn','template','dir','checkNpmPackage','Scaffolding\x20for\x20a\x20React\x20Layout.','layout','6YObmGF','apply','5AHcEsW','(((.+)+)+)+$','pathFromProject','true','/imports/ui/layouts','withHooks','installNpmPackage','toString','171SOZrWO','create','search','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','withHook','maka\x20g:layout\x20mobile/iPhone8','ramda','fileName','client','1845387lXRNhn','import\x20\x27./','withTranslations','className','withValue','engines','injectTemplateModule','template/template.css','none'];a126c=function(){return r;};return a126c();}function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xfd;let f=c[d];return f;},a126d(a,b);}const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a[n(0x128)]()[n(0x12b)](n(0x122))[n(0x128)]()[n(0x10b)](a126a)[n(0x12b)]('(((.+)+)+)+$');});a126a();import a126e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a126o(0x12a)]({'name':a126o(0x11e),'aliases':aliases,'usage':a126o(0x12d),'shortDesc':a126o(0x11d),'validOpts':[a126o(0x12e)],'examples':[a126o(0x12f),a126o(0x10a)]},async function(a,b){const p=a126o,c=p(0x125),d=this['fsi'][p(0x113)](),e=this[p(0x111)]['pathFromApp']({'pathParts':[c,b[p(0x11b)],paramCase(b[p(0x10f)]),paramCase(b[p(0x10f)])]}),f=this[p(0x111)][p(0xfe)]();await this[p(0x111)][p(0x137)](f,async()=>{const q=p;typeof f[q(0x11a)]['test']===q(0xff)&&(f[q(0x11a)][q(0xfd)]=f[q(0x11a)][q(0xfd)]===q(0x124)?!![]:![],this['fsi'][q(0x10e)](q(0xfd),f[q(0x11a)][q(0xfd)]));typeof f[q(0x11a)][q(0x102)]===q(0xff)&&(f['template']['css']=f[q(0x11a)][q(0x102)]===q(0x124)?!![]:![],this['fsi']['setTemplate']('css',f[q(0x11a)][q(0x102)]));typeof f[q(0x11a)]['js']===q(0xff)&&(f[q(0x11a)]['js']=f['template']['js']===q(0x124)?!![]:![],this[q(0x111)][q(0x10e)]('js',f['template']['js']));!f[q(0x115)]&&(f[q(0x115)]={});const g=b['_']?b['_'][0x0][q(0x10c)](':')[0x1]:![],h=b['_']&&aliases[q(0x105)](g);h&&!this[q(0x11c)](q(0x130))&&(Log[q(0x119)](q(0x118)),this[q(0x111)][q(0x127)](q(0x130),{'cwd':d}));if(h&&!this['checkNpmPackage'](q(0x108))){Log[q(0x119)](q(0x12c));return;}const i={'name':pascalCase(b[q(0x10f)]),'myPath':a126e[q(0x109)](this[q(0x111)][q(0x123)]({}),e),'cssCaseName':paramCase(b[q(0x10f)]),'className':pascalCase(b[q(0x10f)]),'camelCaseName':camelCase(b[q(0x10f)]),'fileName':paramCase(b[q(0x10f)]),'graphql':f['engines'][q(0x101)],'features':f['features'],'client':f['engines'][q(0x132)],'api':f[q(0x138)]['api'],'ssr':f[q(0x138)][q(0x103)],'test':f[q(0x138)][q(0xfd)],'theme':f[q(0x138)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x115)][q(0x135)]};f[q(0x115)]?.[q(0x126)]||b[q(0x12e)]?await this[q(0x111)][q(0x11a)]({'srcPath':q(0x110),'destPath':e+q(0x100),'framework':q(0x108),'context':i,'config':f}):await this['fsi'][q(0x11a)]({'srcPath':q(0x106),'destPath':e+q(0x100),'framework':q(0x108),'context':i,'config':f});f['engines'][q(0xfd)]!==q(0x13b)&&await this[q(0x111)][q(0x11a)]({'srcPath':q(0x104),'destPath':e+q(0x117),'framework':q(0x108),'context':i,'config':f});f['template']['css']&&(await this['fsi'][q(0x11a)]({'srcPath':q(0x13a),'destPath':e+'.css','context':Object[q(0x107)]({},i,{'className':paramCase(b[q(0x10f)])}),'config':f}),await this[q(0x111)][q(0x13c)]({'filePath':e+'.'+f['engines']['js'],'content':q(0x134)+i[q(0x131)]+'.'+f['engines'][q(0x102)]+'\x27;'}));const j=b[q(0x11b)]?'/'+b[q(0x11b)]+'/':'/',k=''+c+j+i[q(0x131)]+'/'+i[q(0x131)];await this[q(0x111)][q(0x139)](i[q(0x136)],f,k);});});
@@ -1 +1 @@
1
- const a127i=a127d;(function(a,b){const f=a127d,c=a();while(!![]){try{const d=parseInt(f(0xe9))/0x1*(-parseInt(f(0xe3))/0x2)+-parseInt(f(0xf9))/0x3+parseInt(f(0xe6))/0x4*(-parseInt(f(0xf8))/0x5)+parseInt(f(0xe7))/0x6+-parseInt(f(0xf6))/0x7*(-parseInt(f(0xf4))/0x8)+parseInt(f(0xe8))/0x9+-parseInt(f(0xee))/0xa*(-parseInt(f(0xeb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xf3534));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0xf1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a[h(0xfb)]()[h(0xf2)](h(0xf0))[h(0xfb)]()[h(0xea)](a127a)[h(0xf2)](h(0xf0));});a127a();import{Generator}from'../generator.js';function a127c(){const j=['9262dlmnYD','maka\x20g:scaffold\x20todos','maka\x20g:api\x20trucks','6650cwsoPX','generate','(((.+)+)+)+$','apply','search','maka\x20g:route\x20todos/edit','169848thlvKo','Scaffold\x20various\x20parts\x20of\x20your\x20application','259tTpXXQ','maka\x20g:package\x20package:name','99805eyLUNN','2821488laWKVj','maka\x20generate:scaffold\x20todos','toString','1350532NUZNHa','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:template\x20todos/todo_item','44zAixzW','6985338nXdszG','2900637rwSrxV','1yafmGJ','constructor'];a127c=function(){return j;};return a127c();}function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xe3;let f=c[d];return f;},a127d(a,b);}const MakaGen=new Generator({'name':a127i(0xef),'aliases':['g'],'usage':a127i(0xe4),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0xf5),'examples':[a127i(0xfa),a127i(0xec),a127i(0xe5),a127i(0xf7),a127i(0xf3),a127i(0xed),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
1
+ const a127h=a127d;(function(a,b){const f=a127d,c=a();while(!![]){try{const d=parseInt(f(0x181))/0x1*(-parseInt(f(0x17c))/0x2)+parseInt(f(0x186))/0x3+-parseInt(f(0x182))/0x4+parseInt(f(0x187))/0x5+parseInt(f(0x178))/0x6*(-parseInt(f(0x188))/0x7)+-parseInt(f(0x18c))/0x8*(-parseInt(f(0x183))/0x9)+-parseInt(f(0x180))/0xa*(-parseInt(f(0x18d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x9f194));function a127c(){const i=['maka\x20g:route\x20todos/edit','maka\x20generate:scaffold\x20todos','100URKOva','64558QVvJIs','822072IqlwBM','10206YZuwZe','maka\x20g:package\x20package:name','generate','1784160FoGEHo','4276795WuaAUW','7kAtBsB','Scaffold\x20various\x20parts\x20of\x20your\x20application','toString','maka\x20g:scaffold\x20todos','2104IbxaUl','445973UBJcrh','maka\x20{generate,\x20g}:<generator>\x20<name>','6229998BweKvv','(((.+)+)+)+$','maka\x20g:template\x20todos/todo_item','search','8EINJqw','maka\x20g:api\x20trucks'];a127c=function(){return i;};return a127c();}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const g=a127d;return a127a[g(0x18a)]()[g(0x17b)](g(0x179))['toString']()['constructor'](a127a)[g(0x17b)](g(0x179));});a127a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a127h(0x185),'aliases':['g'],'usage':a127h(0x18e),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127h(0x189),'examples':[a127h(0x17f),a127h(0x18b),a127h(0x17a),a127h(0x184),a127h(0x17e),a127h(0x17d),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x178;let f=c[d];return f;},a127d(a,b);}export default MakaGen;
@@ -1 +1 @@
1
- const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(0x101))/0x1+parseInt(j(0x10b))/0x2+parseInt(j(0xf9))/0x3+-parseInt(j(0xfe))/0x4+parseInt(j(0x115))/0x5*(-parseInt(j(0x11b))/0x6)+parseInt(j(0x10e))/0x7*(-parseInt(j(0x114))/0x8)+parseInt(j(0x100))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x47552));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x116)]()[l(0x118)]('(((.+)+)+)+$')[l(0x116)]()[l(0x107)](a128a)[l(0x118)](l(0xf8));});a128a();import{Generator}from'../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xf8;let f=c[d];return f;},a128d(a,b);}function a128c(){const p=['search','create','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','386418NPypmz','-rpc-method.','apply','method/method.js','(((.+)+)+)+$','66057ReeszG','engines','-rpc-method\x27;','withValue','checkMeteorPackage','1099580RiyaMr','startup','10999809ZDMgTM','467127mTFoAM','fsi','getMakaProjectConfig','maka:check','ddp-rate-limiter','index.','constructor','appPathPrefix','maka\x20{generate,\x20g}:{method,\x20m}\x20name','resourceName','722142ajTbhy','method','methods','61152kpWSck','tsx','dir','imports','template','mdg:validated-method','464dJHbbn','5fBIaEJ','toString','pathFromApp'];a128c=function(){return p;};return a128c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a128m(0x119)]({'name':a128m(0x10c),'aliases':['m'],'usage':a128m(0x109),'checkWhere':!![],'shortDesc':a128m(0x11a),'validOpts':[a128m(0x110)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a128m;try{const c=this[n(0x102)][n(0x103)]();await this['fsi'][n(0xfc)](c,async()=>{const o=n,d=paramCase(b[o(0x10a)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[o(0x10a)]),'camelCase':camelCase(b[o(0x10a)]),'noRename':!![]};let g='js';c['engines']['js']===o(0x10f)&&(g='ts');await this[o(0x102)][o(0xfd)]([o(0x104),o(0x105),o(0x113)],{'shouldInstall':!![]}),await this[o(0x102)][o(0x112)]({'srcPath':o(0x11e),'destPath':this['fsi'][o(0x117)]({'pathParts':[o(0x111),'startup',b[o(0x108)],o(0x10d),b[o(0x110)],d+o(0x11c)+g]}),'context':f,'config':c});const h=b[o(0x110)]?'/'+b[o(0x110)]+'/':'/',i=this['fsi']['pathFromApp']({'pathParts':[o(0x111),o(0xff),b[o(0x108)],o(0x106)+c[o(0xfa)]['js']]});await this[o(0x102)]['injectAtEndOfFile']({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0xfb)});});}catch(d){Log['error'](d);}});
1
+ const a128m=a128d;function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x96;let f=c[d];return f;},a128d(a,b);}(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(0xa6))/0x1*(-parseInt(j(0xa0))/0x2)+parseInt(j(0xb8))/0x3+-parseInt(j(0xbd))/0x4*(-parseInt(j(0xaa))/0x5)+-parseInt(j(0xa4))/0x6+-parseInt(j(0x96))/0x7*(parseInt(j(0xbe))/0x8)+-parseInt(j(0xa1))/0x9*(parseInt(j(0xb5))/0xa)+-parseInt(j(0xb6))/0xb*(-parseInt(j(0xae))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x7432a));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0xa9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0xbb)]()[l(0xb1)](l(0xbc))[l(0xbb)]()[l(0x9d)](a128a)[l(0xb1)](l(0xbc));});a128a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a128m(0xb3),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a128m(0xb4),'validOpts':['dir'],'examples':[a128m(0xa8)]},async function(a,b){const n=a128m;try{const c=this[n(0xaf)][n(0xba)]();await this[n(0xaf)][n(0x97)](c,async()=>{const o=n,d=paramCase(b[o(0x9c)]),f={'name':b[o(0x9c)],'fileName':d,'className':pascalCase(b[o(0x9c)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c['engines']['js']===o(0x9f)&&(g='ts');await this[o(0xaf)]['checkMeteorPackage']([o(0x99),o(0xa3),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0xaf)][o(0x9b)]({'srcPath':'method/method.js','destPath':this[o(0xaf)][o(0xb7)]({'pathParts':['imports','startup',b['appPathPrefix'],o(0xac),b['dir'],d+o(0xb9)+g]}),'context':f,'config':c});const h=b[o(0x9e)]?'/'+b[o(0x9e)]+'/':'/',i=this['fsi'][o(0xb7)]({'pathParts':[o(0x98),o(0xa7),b[o(0xab)],o(0xb0)+c[o(0xb2)]['js']]});await this['fsi'][o(0xa5)]({'filePath':i,'content':o(0xa2)+h+d+o(0x9a)});});}catch(d){Log[n(0xad)](d);}});function a128c(){const p=['-rpc-method\x27;','template','resourceName','constructor','dir','tsx','2qDHjPx','36kAHuNS','import\x20\x27./methods','ddp-rate-limiter','3038256oqmCta','injectAtEndOfFile','149662nmFKQf','startup','maka\x20g:method\x20todos','apply','35EjRecy','appPathPrefix','methods','error','12612pbWmqe','fsi','index.','search','engines','method','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','222490HGKHSA','1386IGCEaI','pathFromApp','2813400KcaUBm','-rpc-method.','getMakaProjectConfig','toString','(((.+)+)+)+$','628yNIaHE','92104ZScdwL','91mPmvbY','withValue','imports','maka:check'];a128c=function(){return p;};return a128c();}
@@ -1 +1 @@
1
- const a129n=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=parseInt(l(0x1ac))/0x1*(parseInt(l(0x1a3))/0x2)+-parseInt(l(0x19f))/0x3*(-parseInt(l(0x196))/0x4)+-parseInt(l(0x19c))/0x5*(-parseInt(l(0x1ab))/0x6)+parseInt(l(0x1be))/0x7+-parseInt(l(0x1ad))/0x8+parseInt(l(0x1b0))/0x9*(parseInt(l(0x19e))/0xa)+-parseInt(l(0x1a7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x7afaf));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const m=a129d;return a129a[m(0x1b2)]()[m(0x198)](m(0x190))[m(0x1b2)]()[m(0x19b)](a129a)[m(0x198)](m(0x190));});a129a();import a129e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a129n(0x199),'aliases':['p'],'usage':a129n(0x1b7),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a129n(0x1a0)],'examples':[a129n(0x1ba)]},async function(a,b){const o=a129n,c=paramCase(b[o(0x197)]),d=this['fsi'][o(0x191)]({'pathParts':[o(0x194),b[o(0x1a0)],c]}),e=this['fsi'][o(0x1b6)]({'pathParts':[o(0x194),b[o(0x1a0)],c,o(0x1b3)]}),f=this['fsi'][o(0x1bf)]();await this[o(0x19d)][o(0x193)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x197)]),'myPath':a129e['relative'](this[p(0x19d)][p(0x1bd)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[p(0x197)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[p(0x1a6)][p(0x192)],'graphql':f[p(0x1a6)][p(0x1b9)],'ssr':f[p(0x1a6)][p(0x1a1)],'isComponent':b['hasOwnProperty'](p(0x1bb)),'isLayout':b[p(0x1a5)](p(0x19a)),'isStore':b[p(0x1a5)](p(0x1bc)),'features':f[p(0x1b1)],'noRename':!![],'theme':f['engines'][p(0x1a9)]};await this['fsi'][p(0x1a2)]({'srcPath':p(0x1a8),'destPath':e,'context':g,'config':f}),g[p(0x1af)]=![];const h=d+p(0x1ae)+c+p(0x1b4);await this['fsi'][p(0x1a2)]({'srcPath':p(0x1a4),'destPath':h,'context':g,'config':f});const i=[p(0x195),p(0x1aa),p(0x1b8),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[p(0x19d)][p(0x1a2)]({'srcPath':p(0x1b5)+j+'/package.js','destPath':k,'context':g,'config':f});}});});function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x190;let f=c[d];return f;},a129d(a,b);}function a129c(){const q=['lib','1428DLpNXM','resourceName','search','package','layout','constructor','42465ZLRKan','fsi','470KqldNI','1242xctlve','dir','ssr','template','107138Feuylv','template/template.js','hasOwnProperty','engines','12913230QijhwQ','package/package.js','theme','server','342zKjlQd','6yDVbEr','4140912QaQSyk','/client/','noRename','71262GiNLgu','features','toString','package.js','.js','package/','pathFromAppWithNoReWrite','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','tests/client','graphql','maka\x20g:package\x20todos:package','component','store','pathFromProject','6088684OVApRe','getMakaProjectConfig','(((.+)+)+)+$','pathFromApp','client','withValue','packages'];a129c=function(){return q;};return a129c();}
1
+ const a129n=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=-parseInt(l(0x1e0))/0x1*(parseInt(l(0x1e5))/0x2)+-parseInt(l(0x1c9))/0x3+-parseInt(l(0x1d4))/0x4+-parseInt(l(0x1c3))/0x5*(parseInt(l(0x1dc))/0x6)+-parseInt(l(0x1e2))/0x7*(parseInt(l(0x1d7))/0x8)+parseInt(l(0x1d6))/0x9+parseInt(l(0x1d1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xc7788));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const m=a129d;return a129a[m(0x1de)]()[m(0x1e4)](m(0x1cb))[m(0x1de)]()[m(0x1c6)](a129a)[m(0x1e4)]('(((.+)+)+)+$');});function a129c(){const q=['package.js','(((.+)+)+)+$','create','package','dir','package/package.js','store','32387940hyRuqD','fsi','pathFromApp','495640XnpUnb','engines','11382192SSmSiw','11632WFCFpD','getMakaProjectConfig','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','packages','50958DinAPj','tests/server','toString','resourceName','8563ytQMxE','lib','6202FexztI','/client/','search','152PYSzwP','ssr','tests/client','.js','template','layout','graphql','235AfCqZJ','relative','pathFromProject','constructor','features','hasOwnProperty','3673011iwcjFF'];a129c=function(){return q;};return a129c();}a129a();import a129e from'path';import{Generator}from'../generator.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a129d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a129n(0x1cc)]({'name':a129n(0x1cd),'aliases':['p'],'usage':a129n(0x1d9),'shortDesc':a129n(0x1da),'validOpts':['dir'],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const o=a129n,c=paramCase(b[o(0x1df)]),d=this[o(0x1d2)][o(0x1d3)]({'pathParts':[o(0x1db),b['dir'],c]}),e=this[o(0x1d2)]['pathFromAppWithNoReWrite']({'pathParts':[o(0x1db),b[o(0x1ce)],c,o(0x1ca)]}),f=this['fsi'][o(0x1d8)]();await this[o(0x1d2)]['withValue'](f,async()=>{const p=o,g={'name':paramCase(b[p(0x1df)]),'myPath':a129e[p(0x1c4)](this[p(0x1d2)][p(0x1c5)]({}),d),'cssCaseName':paramCase(b[p(0x1df)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x1df)]),'fileName':c,'client':f[p(0x1d5)]['client'],'graphql':f['engines'][p(0x1c2)],'ssr':f[p(0x1d5)][p(0x1bd)],'isComponent':b[p(0x1c8)]('component'),'isLayout':b[p(0x1c8)](p(0x1c1)),'isStore':b[p(0x1c8)](p(0x1d0)),'features':f[p(0x1c7)],'noRename':!![],'theme':f[p(0x1d5)]['theme']};await this['fsi'][p(0x1c0)]({'srcPath':p(0x1cf),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+p(0x1e3)+c+'.js';await this[p(0x1d2)][p(0x1c0)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[p(0x1e1),'server',p(0x1be),p(0x1dd)];for(const j of i){const k=d+'/'+j+'/'+c+p(0x1bf);await this[p(0x1d2)]['template']({'srcPath':'package/'+j+'/package.js','destPath':k,'context':g,'config':f});}});});
@@ -1 +1 @@
1
- const a130m=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=-parseInt(j(0x20f))/0x1+parseInt(j(0x213))/0x2*(-parseInt(j(0x1fa))/0x3)+-parseInt(j(0x212))/0x4+parseInt(j(0x20d))/0x5*(parseInt(j(0x1f1))/0x6)+-parseInt(j(0x207))/0x7+parseInt(j(0x209))/0x8*(-parseInt(j(0x204))/0x9)+-parseInt(j(0x202))/0xa*(-parseInt(j(0x226))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xc4722));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a[l(0x1fd)]()[l(0x224)](l(0x1f8))['toString']()[l(0x1f0)](a130a)[l(0x224)](l(0x1f8));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a130f from'../generators/maka.gen.js';function a130c(){const p=['hasOwnProperty','withHooks','withValue','warn','search','maka\x20g:page\x20todos/todos-item','11mbccQW','features','/imports/ui/','layouts','import\x20\x27./','html','hook/hook.js','vanilla','/imports/ui/pages','.js','ramda','store','installNpmPackage','.css','engines','className','apply','component/component.js','constructor','4308xZRkgn','test','pathFromProject','resourceName','graphql','setTemplate','react','(((.+)+)+)+$','template','3072mIjPIz','dir','relative','toString','template/template.html','fileName','injectAtBeginningOfFile','Updating\x20npm\x20packages\x20...','42351070qOzYTn','findAppDirectory','153CRqukl','withTranslations','getMakaProjectConfig','10541797RmzoMO','fsi','511064ndokgZ','.app-tests.js','true','route','10720jTqril','template/template.css','1250761nenIen','baseDir','\x27;\x0a','4033320NbBOVA','232jrlmeX','css','component','client','hooks','assign','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','Generate\x20a\x20page.','create','processAndRunGenerator','api','string','withHook'];a130c=function(){return p;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a130d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a130m(0x21b)]({'name':'page','aliases':aliases,'usage':a130m(0x219),'shortDesc':a130m(0x21a),'validOpts':[{'name':a130m(0x210),'values':[a130m(0x217),'components','pages',a130m(0x229)]},{'name':a130m(0x21f),'boolFlag':!![]}],'examples':[a130m(0x225)]},async function(a,b){const n=a130m,c=b[n(0x210)]?n(0x228)+b[n(0x210)]:n(0x22e),d=this[n(0x208)][n(0x203)](),e=this[n(0x208)]['pathFromApp']({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b[n(0x1f4)])]}),f=this[n(0x208)][n(0x206)]();let g='';return await this[n(0x208)][n(0x222)](f,async()=>{const o=n;typeof f['template'][o(0x22b)]===o(0x21e)&&(f[o(0x1f9)][o(0x22b)]=f[o(0x1f9)][o(0x22b)]===o(0x20b)?!![]:![],this[o(0x208)]['setTemplate'](o(0x22b),f[o(0x1f9)]['html']));typeof f['template'][o(0x1f2)]==='string'&&(f[o(0x1f9)][o(0x1f2)]=f[o(0x1f9)][o(0x1f2)]==='true'?!![]:![],this[o(0x208)]['setTemplate'](o(0x1f2),f[o(0x1f9)]['test']));typeof f[o(0x1f9)][o(0x214)]===o(0x21e)&&(f['template'][o(0x214)]=f[o(0x1f9)][o(0x214)]===o(0x20b)?!![]:![],this[o(0x208)][o(0x1f6)](o(0x214),f[o(0x1f9)][o(0x214)]));typeof f['template']['js']===o(0x21e)&&(f[o(0x1f9)]['js']=f['template']['js']===o(0x20b)?!![]:![],this['fsi']['setTemplate']('js',f[o(0x1f9)]['js']));!f['features']&&(f['features']={});!b['root']&&!this[o(0x208)]['checkNpmPackage'](o(0x230))&&(Log[o(0x223)](o(0x201)),this[o(0x208)][o(0x232)](o(0x230),{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a130e[o(0x1fc)](this[o(0x208)][o(0x1f3)]({}),e),'cssCaseName':paramCase(b[o(0x1f4)]),'className':pascalCase(b[o(0x1f4)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[o(0x1f4)]),'graphql':f[o(0x1ec)][o(0x1f5)],'features':f[o(0x227)],'client':f['engines'][o(0x216)],'api':f[o(0x1ec)][o(0x21d)],'ssr':f[o(0x1ec)]['ssr'],'isStore':b[o(0x220)](o(0x231)),'isComponent':b['hasOwnProperty'](o(0x215)),'isLayout':b['hasOwnProperty']('layout'),'withTranslations':f['features'][o(0x205)],'test':f[o(0x1ec)][o(0x1f2)],'theme':f[o(0x1ec)]['theme']};f[o(0x1f9)][o(0x22b)]&&await this['fsi'][o(0x1f9)]({'srcPath':o(0x1fe),'destPath':e+'.html','context':h,'config':f});f[o(0x227)]?.[o(0x221)]||b[o(0x21f)]?await this[o(0x208)][o(0x1f9)]({'srcPath':o(0x22c),'destPath':e+'.js','framework':o(0x1f7),'context':h,'config':f}):await this[o(0x208)][o(0x1f9)]({'srcPath':o(0x1ef),'destPath':e+o(0x22f),'framework':'react','context':h,'config':f});f['engines']['test']!=='none'&&await this[o(0x208)][o(0x1f9)]({'srcPath':'test/test.js','destPath':e+o(0x20a),'framework':o(0x1f7),'context':h,'config':f});f['template'][o(0x214)]&&await this[o(0x208)][o(0x1f9)]({'srcPath':o(0x20e),'destPath':e+o(0x1eb),'context':Object[o(0x218)]({},h,{'className':paramCase(b[o(0x1f4)])}),'config':f});f['engines'][o(0x216)]!=='react'&&f[o(0x1ec)]['client']!==o(0x22d)?(f[o(0x1f9)][o(0x214)]&&await this[o(0x208)][o(0x200)]({'filePath':e+'.'+f['engines']['js'],'content':o(0x22a)+h[o(0x1ff)]+'.'+f[o(0x1ec)][o(0x22b)]+o(0x211)+o(0x22a)+h[o(0x1ff)]+'.'+f[o(0x1ec)][o(0x214)]+'\x27;'}),!f['template'][o(0x214)]&&await this[o(0x208)]['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':o(0x22a)+h['fileName']+'.'+f[o(0x1ec)][o(0x22b)]+'\x27;'})):f[o(0x1f9)][o(0x214)]&&await this[o(0x208)][o(0x200)]({'filePath':e+'.'+f[o(0x1ec)]['js'],'content':'import\x20\x27./'+h[o(0x1ff)]+'.'+f[o(0x1ec)][o(0x214)]+'\x27;'});const i=b[o(0x1fb)]?'/'+b[o(0x1fb)]+'/':'/';g=''+c+i+h[o(0x1ff)]+'/'+h[o(0x1ff)],await this[o(0x208)]['injectTemplateModule'](h[o(0x1ed)],f,g),!b['root']&&await a130f[o(0x21c)](o(0x20c),[i+b[o(0x1f4)]],b);}),g+'.'+f[n(0x1ec)]['js'];});
1
+ const a130m=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=parseInt(j(0x7c))/0x1*(-parseInt(j(0x9b))/0x2)+parseInt(j(0x86))/0x3+parseInt(j(0x91))/0x4+-parseInt(j(0x6c))/0x5+parseInt(j(0x83))/0x6+parseInt(j(0x98))/0x7*(parseInt(j(0x73))/0x8)+parseInt(j(0xa4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x5e47d));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0x8f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a[l(0x6b)]()[l(0x90)](l(0x8a))[l(0x6b)]()[l(0xa0)](a130a)[l(0x90)](l(0x8a));});function a130c(){const p=['warn','installNpmPackage','engines','16elogKp','true','/imports/ui/','.css','import\x20\x27./','setTemplate','dir','api','components','5uNegzV','Updating\x20npm\x20packages\x20...','pathFromApp','store','layout','processAndRunGenerator','template/template.css','292260SIDyiS','component/component.js','Generate\x20a\x20page.','1904694dMEyBs','fsi','withValue','pathFromProject','(((.+)+)+)+$','assign','injectTemplateModule','getMakaProjectConfig','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','apply','search','365684ZCnQCp','hasOwnProperty','string','vanilla','.html','features','template/template.html','2269533GsUqUn','client','html','175572YJHnPR','none','injectAtBeginningOfFile','test/test.js','withHook','constructor','create','react','resourceName','567324wDWgzY','fileName','relative','.app-tests.js','className','test','hook/hook.js','ramda','ssr','css','toString','3307000LrQeTT','baseDir','component','template'];a130c=function(){return p;};return a130c();}a130a();import a130e from'path';import{Generator}from'../generator.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x68;let f=c[d];return f;},a130d(a,b);}import{Log}from'../tools/log/log.class.js';import a130f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a130m(0xa1)]({'name':'page','aliases':aliases,'usage':a130m(0x8e),'shortDesc':a130m(0x85),'validOpts':[{'name':a130m(0x6d),'values':['hooks',a130m(0x7b),'pages','layouts']},{'name':a130m(0x9f),'boolFlag':!![]}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const n=a130m,c=b[n(0x6d)]?n(0x75)+b[n(0x6d)]:'/imports/ui/pages',d=this[n(0x87)]['findAppDirectory'](),e=this[n(0x87)][n(0x7e)]({'pathParts':[c,b[n(0x79)],paramCase(b[n(0xa3)]),paramCase(b[n(0xa3)])]}),f=this[n(0x87)][n(0x8d)]();let g='';return await this[n(0x87)][n(0x88)](f,async()=>{const o=n;typeof f[o(0x6f)][o(0x9a)]===o(0x93)&&(f[o(0x6f)][o(0x9a)]=f['template']['html']==='true'?!![]:![],this[o(0x87)][o(0x78)](o(0x9a),f[o(0x6f)][o(0x9a)]));typeof f['template']['test']==='string'&&(f[o(0x6f)][o(0xa9)]=f['template'][o(0xa9)]==='true'?!![]:![],this[o(0x87)][o(0x78)](o(0xa9),f[o(0x6f)]['test']));typeof f[o(0x6f)][o(0x6a)]===o(0x93)&&(f['template'][o(0x6a)]=f['template']['css']==='true'?!![]:![],this['fsi'][o(0x78)](o(0x6a),f[o(0x6f)][o(0x6a)]));typeof f[o(0x6f)]['js']===o(0x93)&&(f[o(0x6f)]['js']=f[o(0x6f)]['js']===o(0x74)?!![]:![],this['fsi'][o(0x78)]('js',f[o(0x6f)]['js']));!f['features']&&(f[o(0x96)]={});!b['root']&&!this['fsi']['checkNpmPackage'](o(0x68))&&(Log[o(0x70)](o(0x7d)),this[o(0x87)][o(0x71)](o(0x68),{'cwd':d}));const h={'name':pascalCase(b[o(0xa3)]),'myPath':a130e[o(0xa6)](this[o(0x87)][o(0x89)]({}),e),'cssCaseName':paramCase(b[o(0xa3)]),'className':pascalCase(b[o(0xa3)]),'camelCaseName':camelCase(b[o(0xa3)]),'fileName':paramCase(b[o(0xa3)]),'graphql':f[o(0x72)]['graphql'],'features':f[o(0x96)],'client':f['engines'][o(0x99)],'api':f[o(0x72)][o(0x7a)],'ssr':f['engines'][o(0x69)],'isStore':b[o(0x92)](o(0x7f)),'isComponent':b[o(0x92)](o(0x6e)),'isLayout':b[o(0x92)](o(0x80)),'withTranslations':f[o(0x96)]['withTranslations'],'test':f[o(0x72)]['test'],'theme':f['engines']['theme']};f[o(0x6f)][o(0x9a)]&&await this[o(0x87)][o(0x6f)]({'srcPath':o(0x97),'destPath':e+o(0x95),'context':h,'config':f});f[o(0x96)]?.['withHooks']||b[o(0x9f)]?await this[o(0x87)][o(0x6f)]({'srcPath':o(0xaa),'destPath':e+'.js','framework':o(0xa2),'context':h,'config':f}):await this[o(0x87)][o(0x6f)]({'srcPath':o(0x84),'destPath':e+'.js','framework':o(0xa2),'context':h,'config':f});f[o(0x72)][o(0xa9)]!==o(0x9c)&&await this[o(0x87)]['template']({'srcPath':o(0x9e),'destPath':e+o(0xa7),'framework':'react','context':h,'config':f});f['template']['css']&&await this[o(0x87)]['template']({'srcPath':o(0x82),'destPath':e+o(0x76),'context':Object[o(0x8b)]({},h,{'className':paramCase(b[o(0xa3)])}),'config':f});f[o(0x72)][o(0x99)]!==o(0xa2)&&f[o(0x72)][o(0x99)]!==o(0x94)?(f[o(0x6f)][o(0x6a)]&&await this[o(0x87)]['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':o(0x77)+h[o(0xa5)]+'.'+f['engines'][o(0x9a)]+'\x27;\x0a'+o(0x77)+h[o(0xa5)]+'.'+f['engines'][o(0x6a)]+'\x27;'}),!f[o(0x6f)][o(0x6a)]&&await this[o(0x87)]['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+h[o(0xa5)]+'.'+f[o(0x72)][o(0x9a)]+'\x27;'})):f[o(0x6f)][o(0x6a)]&&await this['fsi'][o(0x9d)]({'filePath':e+'.'+f['engines']['js'],'content':o(0x77)+h[o(0xa5)]+'.'+f[o(0x72)]['css']+'\x27;'});const i=b['dir']?'/'+b[o(0x79)]+'/':'/';g=''+c+i+h[o(0xa5)]+'/'+h['fileName'],await this[o(0x87)][o(0x8c)](h[o(0xa8)],f,g),!b['root']&&await a130f[o(0x81)]('route',[i+b[o(0xa3)]],b);}),g+'.'+f[n(0x72)]['js'];});
@@ -1 +1 @@
1
- const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=-parseInt(m(0x128))/0x1+parseInt(m(0x12d))/0x2+-parseInt(m(0x125))/0x3+parseInt(m(0x111))/0x4*(parseInt(m(0x120))/0x5)+parseInt(m(0x121))/0x6*(parseInt(m(0x127))/0x7)+parseInt(m(0x123))/0x8*(-parseInt(m(0x12c))/0x9)+parseInt(m(0x10b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x52667));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a[o(0x110)]()['search'](o(0x11f))[o(0x110)]()[o(0x12a)](a131a)['search'](o(0x11f));});a131a();function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x10b;let f=c[d];return f;},a131d(a,b);}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a131c(){const s=['fsi','baseDir','(((.+)+)+)+$','5bpavcu','21102LVJtuD','publish/publish.js','8cRMjmM','maka\x20g:publish\x20todos','115932OnTcQH','publish','637vYpxdJ','660080bvmuxX','template','constructor','server','2211453DadqiY','673200GBJSLk','5149990wxEqLX','withValue','startup','appPathPrefix','error','toString','441224iyaKFX','imports','engines','/imports/startup/server/publications','index.','import\x20\x27./publications','dir','force','globalPublish','apply','create','resourceName'];a131c=function(){return s;};return a131c();}import{Log}from'../tools/log/log.class.js';Generator[a131p(0x11b)]({'name':a131p(0x126),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[a131p(0x118),a131p(0x119)],'examples':[a131p(0x124)]},async function(a,b){const q=a131p;try{const c=b['force']||![],d=b[q(0x11e)]?'/imports/ui/'+b[q(0x11e)]:q(0x114),f=this['fsi']['getMakaProjectConfig'](),g=paramCase(b[q(0x11c)]),h=this[q(0x11d)]['pathFromApp']({'pathParts':[d,b[q(0x117)],'',g]});let i='js';f[q(0x113)]['js']==='tsx'&&(i='ts');await this['fsi'][q(0x10c)](f,async()=>{const r=q,l={'name':b[r(0x11c)],'collection':pascalCase(b[r(0x11c)]),'noRename':!![],'globalPublish':b['globalPublish']};await this[r(0x11d)][r(0x129)]({'srcPath':r(0x122),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0x11d)]['pathFromApp']({'pathParts':[q(0x112),q(0x10d),q(0x12b),b[q(0x10e)],q(0x115)+f[q(0x113)]['js']]}),k=b[q(0x117)]?'/'+b[q(0x117)]+'/':'/';return await this[q(0x11d)]['injectAtEndOfFile']({'filePath':j,'content':q(0x116)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0x10f)](l),process['exit'](0x1);}});
1
+ const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=-parseInt(m(0x17d))/0x1+-parseInt(m(0x170))/0x2*(parseInt(m(0x171))/0x3)+parseInt(m(0x166))/0x4+parseInt(m(0x163))/0x5*(parseInt(m(0x17c))/0x6)+parseInt(m(0x174))/0x7*(-parseInt(m(0x17b))/0x8)+-parseInt(m(0x16d))/0x9*(parseInt(m(0x172))/0xa)+parseInt(m(0x186))/0xb*(parseInt(m(0x169))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x1b39d));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a[o(0x168)]()['search'](o(0x178))[o(0x168)]()[o(0x16e)](a131a)['search'](o(0x178));});function a131c(){const s=['7HPfldX','globalPublish','server','create','(((.+)+)+)+$','getMakaProjectConfig','exit','1667480MovgFV','6ZEjnkZ','36730kbrZuj','injectAtEndOfFile','imports','/imports/startup/server/publications','publish','tsx','/imports/ui/','maka\x20g:publish\x20todos','error','11eBLrBJ','import\x20\x27./publications','resourceName','apply','779555uRfPKu','fsi','engines','78896BrJexW','dir','toString','6412164DDaVpT','template','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','9QVxliH','constructor','baseDir','2EGruso','462963ZFmqmT','1989790rsGLfV','startup'];a131c=function(){return s;};return a131c();}a131a();function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x163;let f=c[d];return f;},a131d(a,b);}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a131p(0x177)]({'name':a131p(0x181),'aliases':['p'],'usage':a131p(0x16b),'shortDesc':a131p(0x16c),'validOpts':['force','globalPublish'],'examples':[a131p(0x184)]},async function(a,b){const q=a131p;try{const c=b['force']||![],d=b[q(0x16f)]?q(0x183)+b[q(0x16f)]:q(0x180),f=this[q(0x164)][q(0x179)](),g=paramCase(b[q(0x188)]),h=this[q(0x164)]['pathFromApp']({'pathParts':[d,b['dir'],'',g]});let i='js';f[q(0x165)]['js']===q(0x182)&&(i='ts');await this[q(0x164)]['withValue'](f,async()=>{const r=q,l={'name':b[r(0x188)],'collection':pascalCase(b[r(0x188)]),'noRename':!![],'globalPublish':b[r(0x175)]};await this['fsi'][r(0x16a)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0x164)]['pathFromApp']({'pathParts':[q(0x17f),q(0x173),q(0x176),b['appPathPrefix'],'index.'+f['engines']['js']]}),k=b['dir']?'/'+b[q(0x167)]+'/':'/';return await this['fsi'][q(0x17e)]({'filePath':j,'content':q(0x187)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0x185)](l),process[q(0x17a)](0x1);}});