@maka/maka-cli 4.9.4 → 4.9.6

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 (150) 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/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/patreon.js +1 -1
  84. package/bundle/obf/src/commands/proxy.js +1 -1
  85. package/bundle/obf/src/commands/reconfig.js +1 -1
  86. package/bundle/obf/src/commands/register.js +1 -1
  87. package/bundle/obf/src/commands/run/_index.js +1 -1
  88. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  89. package/bundle/obf/src/commands/run/run.command.js +1 -1
  90. package/bundle/obf/src/commands/set/_index.js +1 -1
  91. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/set/set.command.js +1 -1
  94. package/bundle/obf/src/commands/ssh.js +1 -1
  95. package/bundle/obf/src/commands/ssl.js +1 -1
  96. package/bundle/obf/src/commands/test.js +1 -1
  97. package/bundle/obf/src/commands/undo.js +1 -1
  98. package/bundle/obf/src/commands/version.js +1 -1
  99. package/bundle/obf/src/error.js +1 -1
  100. package/bundle/obf/src/exec.js +1 -1
  101. package/bundle/obf/src/generator.js +1 -1
  102. package/bundle/obf/src/generators/_index.js +1 -1
  103. package/bundle/obf/src/generators/api.js +1 -1
  104. package/bundle/obf/src/generators/collection.js +1 -1
  105. package/bundle/obf/src/generators/component.js +1 -1
  106. package/bundle/obf/src/generators/config.js +1 -1
  107. package/bundle/obf/src/generators/dbc.js +1 -1
  108. package/bundle/obf/src/generators/dockerfile.js +1 -1
  109. package/bundle/obf/src/generators/hook.js +1 -1
  110. package/bundle/obf/src/generators/kits/_index.js +1 -1
  111. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  112. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  113. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/kit.js +1 -1
  115. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  117. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  118. package/bundle/obf/src/generators/layout.js +1 -1
  119. package/bundle/obf/src/generators/maka.gen.js +1 -1
  120. package/bundle/obf/src/generators/methods.js +1 -1
  121. package/bundle/obf/src/generators/package.js +1 -1
  122. package/bundle/obf/src/generators/page.js +1 -1
  123. package/bundle/obf/src/generators/publish.js +1 -1
  124. package/bundle/obf/src/generators/route.js +1 -1
  125. package/bundle/obf/src/generators/service.js +1 -1
  126. package/bundle/obf/src/generators/services/_index.js +1 -1
  127. package/bundle/obf/src/generators/services/openssl.js +1 -1
  128. package/bundle/obf/src/generators/services/translation.js +1 -1
  129. package/bundle/obf/src/maka.js +1 -1
  130. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  131. package/bundle/obf/src/tool.js +1 -1
  132. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  133. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  134. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  136. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  137. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  138. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  139. package/bundle/obf/src/tools/https/https.class.js +1 -1
  140. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  141. package/bundle/obf/src/tools/log/log.class.js +1 -1
  142. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  143. package/bundle/obf/src/tools/options/options.class.js +1 -1
  144. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  145. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  146. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  148. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  150. package/package.json +1 -1
@@ -1 +1 @@
1
- const a115A=a115d;function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x12d;let f=c[d];return f;},a115d(a,b);}(function(a,b){const x=a115d,c=a();while(!![]){try{const d=parseInt(x(0x140))/0x1+parseInt(x(0x134))/0x2+-parseInt(x(0x14c))/0x3*(parseInt(x(0x16a))/0x4)+parseInt(x(0x14a))/0x5*(parseInt(x(0x16c))/0x6)+-parseInt(x(0x168))/0x7*(parseInt(x(0x14f))/0x8)+parseInt(x(0x142))/0x9+-parseInt(x(0x158))/0xa*(parseInt(x(0x165))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x8f507));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a115d;if(c){const e=c[y(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const z=a115d;return a115a[z(0x154)]()[z(0x15c)](z(0x12d))[z(0x154)]()[z(0x136)](a115a)[z(0x15c)]('(((.+)+)+)+$');});a115a();function a115c(){const E=['{\x20this.props.children\x20}','length','test','log','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','581727fVPWri','tsx','3525597EPxakc','join','/imports/ui/','true','engines','injectTemplateModule','apply','create','6095WQputy','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','1842OakPRE','{props.children}','appName','48jEpPNe','dir','frame','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','MATERIAL','toString','maka\x20g:k:m:f','kit/mui/frame/app-bars/','ssr','3197210bsjiBe','tests','<div\x20id=\x22','options','search','{\x20props.children\x20}','error','pathFromApp','template','react','layouts','.js','getDirectories','11HPuSgZ','maka\x20generate:kit:mui:frame','basic-app-bar','166593VEQyjr','{this.props.children}','3880dVcFCG','injectImport','126KWBNBW','kit/mui/frame/drawers/','(((.+)+)+)+$','fsi','checkbox','REACT','imports','/imports/startup/client/templates','No\x20layouts\x20selected','1292102xDJsgS','baseDir','constructor','withValue','injectIntoFile','getFiles','\x20/>\x0a'];a115c=function(){return E;};return a115c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a115e from'path';import a115f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a115A(0x149)]({'name':a115A(0x151),'aliases':['f'],'usage':a115A(0x152),'shortDesc':a115A(0x14b),'validOpts':[a115A(0x162)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a115A(0x153)],'client':ClientEngines[a115A(0x130)]},'examples':[a115A(0x166),a115A(0x155)],'description':a115A(0x13f)},async function(a,b){const B=a115A;try{const c=B(0x167),d='basic-drawer',f=this[B(0x12e)]['getMakaProjectConfig'](),g=f[B(0x146)][B(0x157)]===B(0x145);await this['fsi']['checkMeteorPackage']('session',{'shouldInstall':!![]});const h=this[B(0x12e)]['findAppDirectory'](),i=a115e[B(0x143)](h,B(0x131),'ui','layouts'),j=this[B(0x12e)][B(0x164)](i),k=await Actions[B(0x15b)]({'type':B(0x12f),'name':B(0x162),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':j});if(k[B(0x162)][B(0x13c)]===0x0){Log[B(0x15e)](B(0x133));return;}const l=b[B(0x135)]?B(0x144)+b['baseDir']:'/imports/ui/hooks',m=this[B(0x12e)]['pathFromApp']({'pathParts':[l,b[B(0x150)],paramCase(c),paramCase(c)]}),n=this['fsi'][B(0x15f)]({'pathParts':[l,b[B(0x150)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[B(0x14e)])['replaceAll']('-','\x20')};await this['fsi'][B(0x137)](f,async()=>{const C=B;await this[C(0x12e)][C(0x160)]({'srcPath':C(0x156)+c+C(0x163),'destPath':m+C(0x163),'framework':'react','context':o,'config':f,'force':![],'ignore':![]}),await this[C(0x12e)][C(0x160)]({'srcPath':C(0x16d)+d+C(0x163),'destPath':n+C(0x163),'framework':C(0x161),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0x150)]+'/'+c+'/'+c;await this[B(0x12e)][B(0x147)](c,f,p);const q=''+l+b[B(0x150)]+'/'+d+'/'+d;await this[B(0x12e)]['injectTemplateModule'](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0x12e)][B(0x139)](a115e[B(0x143)](i,s),{'extensions':['jsx',B(0x141)],'omit':['app-tests',B(0x159),B(0x13d)]});for(const u of t){const v=a115e[B(0x143)](i,s,u);await this[B(0x12e)][B(0x16b)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':B(0x132),'isNamedExport':!![]}),await this[B(0x12e)][B(0x138)]({'filePath':v,'content':'<'+pascalCase(c)+B(0x13a),'begin':['<div\x20id=\x22'+s+'\x22>',B(0x15a)+s+'-hook\x22>'],'end':[B(0x169),B(0x13b),B(0x14d),B(0x15d)]}),await this['fsi']['injectImport']({'filePath':v,'importName':pascalCase(d),'modulePath':g?'/imports/startup/lib/templates':B(0x132),'isNamedExport':!![]}),await this[B(0x12e)][B(0x138)]({'filePath':v,'content':'<'+pascalCase(d)+B(0x13a),'begin':[B(0x15a)+s+'\x22>',B(0x15a)+s+'-hook\x22>'],'end':[B(0x169),B(0x13b),B(0x14d),'{\x20props.children\x20}']});}}return!![];}catch(w){Log[B(0x15e)](w);}},async function(){const D=a115A;console[D(0x13e)]('Cleaning\x20up...');},a115f);
1
+ const a115A=a115d;(function(a,b){const x=a115d,c=a();while(!![]){try{const d=parseInt(x(0x185))/0x1+parseInt(x(0x182))/0x2*(parseInt(x(0x17a))/0x3)+-parseInt(x(0x174))/0x4*(parseInt(x(0x1a9))/0x5)+parseInt(x(0x18f))/0x6*(-parseInt(x(0x179))/0x7)+-parseInt(x(0x17d))/0x8+-parseInt(x(0x191))/0x9+parseInt(x(0x192))/0xa*(parseInt(x(0x1a5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x6d7e1));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a115d;if(c){const e=c[y(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const z=a115d;return a115a[z(0x180)]()[z(0x17b)](z(0x184))[z(0x180)]()['constructor'](a115a)[z(0x17b)](z(0x184));});a115a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a115e from'path';function a115c(){const E=['basic-drawer','<div\x20id=\x22','react','REACT','findAppDirectory','dir','/imports/ui/','{props.children}','1195548TgQppU','baseDir','7886475ujaqtH','12204590fTgDnX','true','/imports/startup/client/templates','fsi','getDirectories','pathFromApp','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','checkMeteorPackage','template','/imports/startup/lib/templates','appName','maka\x20generate:kit:mui:frame','{\x20this.props.children\x20}','withValue','{\x20props.children\x20}','{this.props.children}','tsx','kit/mui/frame/app-bars/','11ajkkxv','test','jsx','.js','5NeMWMB','maka\x20g:k:m:f','tests','getFiles','injectImport','app-tests','engines','frame','session','No\x20layouts\x20selected','basic-app-bar','injectIntoFile','-hook\x22>','/imports/ui/hooks','2252020LPQkve','join','log','kit/mui/frame/drawers/','checkbox','14bHNbvK','2196fceZmX','search','layouts','3525456nhbqwZ','length','Cleaning\x20up...','toString','injectTemplateModule','2084pVtaeU','apply','(((.+)+)+)+$','743756xCsZdS','error'];a115c=function(){return E;};return a115c();}import a115f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x16b;let f=c[d];return f;},a115d(a,b);}Generator['create']({'name':a115A(0x16d),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a115A(0x199),'validOpts':[a115A(0x17c)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a115A(0x18a)]},'examples':[a115A(0x19e),a115A(0x1aa)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const B=a115A;try{const c=B(0x170),d=B(0x187),f=this[B(0x195)]['getMakaProjectConfig'](),g=f[B(0x16c)]['ssr']===B(0x193);await this[B(0x195)][B(0x19a)](B(0x16e),{'shouldInstall':!![]});const h=this[B(0x195)][B(0x18b)](),i=a115e[B(0x175)](h,'imports','ui',B(0x17c)),j=this[B(0x195)][B(0x196)](i),k=await Actions['options']({'type':B(0x178),'name':B(0x17c),'message':B(0x198),'choices':j});if(k[B(0x17c)][B(0x17e)]===0x0){Log['error'](B(0x16f));return;}const l=b[B(0x190)]?B(0x18d)+b['baseDir']:B(0x173),m=this[B(0x195)]['pathFromApp']({'pathParts':[l,b['dir'],paramCase(c),paramCase(c)]}),n=this[B(0x195)][B(0x197)]({'pathParts':[l,b[B(0x18c)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[B(0x19d)])['replaceAll']('-','\x20')};await this[B(0x195)][B(0x1a0)](f,async()=>{const C=B;await this[C(0x195)][C(0x19b)]({'srcPath':C(0x1a4)+c+'.js','destPath':m+'.js','framework':C(0x189),'context':o,'config':f,'force':![],'ignore':![]}),await this['fsi']['template']({'srcPath':C(0x177)+d+C(0x1a8),'destPath':n+C(0x1a8),'framework':C(0x189),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0x18c)]+'/'+c+'/'+c;await this[B(0x195)][B(0x181)](c,f,p);const q=''+l+b[B(0x18c)]+'/'+d+'/'+d;await this['fsi'][B(0x181)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0x195)][B(0x1ac)](a115e[B(0x175)](i,s),{'extensions':[B(0x1a7),B(0x1a3)],'omit':[B(0x16b),B(0x1ab),B(0x1a6)]});for(const u of t){const v=a115e[B(0x175)](i,s,u);await this[B(0x195)]['injectImport']({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0x19c):B(0x194),'isNamedExport':!![]}),await this[B(0x195)][B(0x171)]({'filePath':v,'content':'<'+pascalCase(c)+'\x20/>\x0a','begin':[B(0x188)+s+'\x22>','<div\x20id=\x22'+s+B(0x172)],'end':[B(0x1a2),B(0x19f),'{props.children}',B(0x1a1)]}),await this[B(0x195)][B(0x1ad)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?B(0x19c):B(0x194),'isNamedExport':!![]}),await this[B(0x195)][B(0x171)]({'filePath':v,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':['<div\x20id=\x22'+s+'\x22>',B(0x188)+s+B(0x172)],'end':[B(0x1a2),'{\x20this.props.children\x20}',B(0x18e),'{\x20props.children\x20}']});}}return!![];}catch(w){Log[B(0x186)](w);}},async function(){const D=a115A;console[D(0x176)](D(0x17f));},a115f);
@@ -1 +1 @@
1
- const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=parseInt(f(0x9e))/0x1+parseInt(f(0x9d))/0x2+-parseInt(f(0xa5))/0x3+parseInt(f(0x9b))/0x4*(parseInt(f(0xa2))/0x5)+-parseInt(f(0x9a))/0x6*(parseInt(f(0xa9))/0x7)+-parseInt(f(0x97))/0x8+parseInt(f(0xa4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x1c134));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a116d;if(c){const e=c[g(0xa3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const h=a116d;return a116a[h(0xa1)]()[h(0xa8)]('(((.+)+)+)+$')[h(0xa1)]()['constructor'](a116a)[h(0xa8)](h(0x9f));});a116a();import{Generator}from'../../../generator.js';import a116e from'../kit.js';function a116c(){const k=['102752fLDMTz','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','241734ioPpjE','201579vjOuIe','(((.+)+)+)+$','maka\x20g:kit:m','toString','20wqdjpM','apply','340272wLWwyA','284046TSRGUo','Material-UI\x20Kit','NIE','search','14JuEMFi','1744464MGdOKG','mui','create','105810gEDbtQ'];a116c=function(){return k;};return a116c();}function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x97;let f=c[d];return f;},a116d(a,b);}const MuiGen=Generator[a116i(0x99)]({'name':a116i(0x98),'aliases':['m'],'usage':a116i(0x9c),'noNeedResource':!![],'shortDesc':a116i(0xa6),'validOpts':[''],'isPro':![],'examples':[a116i(0xa0)]},async function(){const j=a116i;throw j(0xa7);},async function(){},a116e);export default MuiGen;
1
+ const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=parseInt(f(0x123))/0x1+-parseInt(f(0x127))/0x2+-parseInt(f(0x12d))/0x3+-parseInt(f(0x11f))/0x4*(parseInt(f(0x121))/0x5)+-parseInt(f(0x126))/0x6*(-parseInt(f(0x12c))/0x7)+parseInt(f(0x12e))/0x8+-parseInt(f(0x11e))/0x9*(-parseInt(f(0x11c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xaa7a3));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a116d;if(c){const e=c[g(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const h=a116d;return a116a[h(0x128)]()[h(0x12b)](h(0x125))[h(0x128)]()[h(0x122)](a116a)[h(0x12b)](h(0x125));});a116a();import{Generator}from'../../../generator.js';import a116e from'../kit.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x11c;let f=c[d];return f;},a116d(a,b);}const MuiGen=Generator[a116i(0x129)]({'name':a116i(0x11d),'aliases':['m'],'usage':a116i(0x12a),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':![],'examples':[a116i(0x124)]},async function(){throw'NIE';},async function(){},a116e);export default MuiGen;function a116c(){const j=['29286yBHQBd','2585652BMAsPC','toString','create','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','search','553kFhwtK','1210989Uftwec','10427480dbebwe','10lSlJZE','mui','2479023UkJqQj','4dBoIOS','apply','2658115UAgfFZ','constructor','961906PRXEPd','maka\x20g:kit:m','(((.+)+)+)+$'];a116c=function(){return j;};return a116c();}
@@ -1 +1 @@
1
- const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x1dd))/0x1+parseInt(l(0x1d0))/0x2+-parseInt(l(0x1e1))/0x3+-parseInt(l(0x1ce))/0x4*(parseInt(l(0x1ec))/0x5)+parseInt(l(0x1f1))/0x6*(-parseInt(l(0x1f7))/0x7)+parseInt(l(0x1d3))/0x8+parseInt(l(0x1e5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x2c508));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x1f0)]()[n(0x1e8)](n(0x1cb))[n(0x1f0)]()[n(0x1e2)](a117a)[n(0x1e8)](n(0x1cb));});a117a();import a117e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a117c(){const r=['68FkuwCm','test/test.js','694200XLHBBK','graphql','includes','1189104shmnpk','react','test','.js','resourceName','.app-tests.js','fileName','Scaffolding\x20for\x20a\x20React\x20Layout.','ssr','checkNpmPackage','206174lqsINr','injectTemplateModule','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','dir','377214HhgbqR','constructor','import\x20\x27./','string','4961700uCzvvS','fsi','none','search','layout','template/template.css','create','89915BtxBOi','findAppDirectory','injectAtBeginningOfFile','assign','toString','105186iMlhiT','client','css','pathFromApp','withTranslations','withHooks','91ReNINx','apply','maka\x20g:layout\x20mobile/iPhone8','component/component.js','/imports/ui/layouts','withValue','true','template','setTemplate','engines','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','features','(((.+)+)+)+$','warn','withHook'];a117c=function(){return r;};return a117c();}function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a117d(a,b);}const aliases=['l'];Generator[a117o(0x1eb)]({'name':a117o(0x1e9),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a117o(0x1da),'validOpts':[],'examples':[a117o(0x1f9),'maka\x20g:l\x20web/safari']},async function(a,b){const p=a117o,c=p(0x1fb),d=this[p(0x1e6)][p(0x1ed)](),e=this[p(0x1e6)][p(0x1f4)]({'pathParts':[c,b['dir'],paramCase(b[p(0x1d7)]),paramCase(b['resourceName'])]}),f=this[p(0x1e6)]['getMakaProjectConfig']();await this[p(0x1e6)][p(0x1fc)](f,async()=>{const q=p;typeof f[q(0x1fe)][q(0x1d5)]==='string'&&(f[q(0x1fe)][q(0x1d5)]=f[q(0x1fe)][q(0x1d5)]==='true'?!![]:![],this[q(0x1e6)][q(0x1ff)](q(0x1d5),f[q(0x1fe)][q(0x1d5)]));typeof f['template'][q(0x1f3)]===q(0x1e4)&&(f['template'][q(0x1f3)]=f[q(0x1fe)][q(0x1f3)]===q(0x1fd)?!![]:![],this[q(0x1e6)]['setTemplate'](q(0x1f3),f['template'][q(0x1f3)]));typeof f[q(0x1fe)]['js']===q(0x1e4)&&(f[q(0x1fe)]['js']=f[q(0x1fe)]['js']===q(0x1fd)?!![]:![],this['fsi']['setTemplate']('js',f[q(0x1fe)]['js']));!f[q(0x1ca)]&&(f['features']={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases[q(0x1d2)](g);h&&!this['checkNpmPackage']('ramda')&&(Log[q(0x1cc)](q(0x1c9)),this[q(0x1e6)]['installNpmPackage']('ramda',{'cwd':d}));if(h&&!this[q(0x1dc)]('react')){Log[q(0x1cc)](q(0x1df));return;}const i={'name':pascalCase(b[q(0x1d7)]),'myPath':a117e['relative'](this[q(0x1e6)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0x1d7)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0x1d7)]),'graphql':f[q(0x1c8)][q(0x1d1)],'features':f[q(0x1ca)],'client':f['engines'][q(0x1f2)],'api':f[q(0x1c8)]['api'],'ssr':f['engines'][q(0x1db)],'test':f[q(0x1c8)][q(0x1d5)],'theme':f[q(0x1c8)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1ca)][q(0x1f5)]};f['features']?.[q(0x1f6)]||b[q(0x1cd)]?await this[q(0x1e6)][q(0x1fe)]({'srcPath':'hook/hook.js','destPath':e+'.js','framework':q(0x1d4),'context':i,'config':f}):await this['fsi']['template']({'srcPath':q(0x1fa),'destPath':e+q(0x1d6),'framework':q(0x1d4),'context':i,'config':f});f[q(0x1c8)][q(0x1d5)]!==q(0x1e7)&&await this[q(0x1e6)][q(0x1fe)]({'srcPath':q(0x1cf),'destPath':e+q(0x1d8),'framework':q(0x1d4),'context':i,'config':f});f['template'][q(0x1f3)]&&(await this[q(0x1e6)][q(0x1fe)]({'srcPath':q(0x1ea),'destPath':e+'.css','context':Object[q(0x1ef)]({},i,{'className':paramCase(b[q(0x1d7)])}),'config':f}),await this[q(0x1e6)][q(0x1ee)]({'filePath':e+'.'+f[q(0x1c8)]['js'],'content':q(0x1e3)+i[q(0x1d9)]+'.'+f[q(0x1c8)][q(0x1f3)]+'\x27;'}));const j=b[q(0x1e0)]?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0x1d9)]+'/'+i[q(0x1d9)];await this['fsi'][q(0x1de)](i['className'],f,k);});});
1
+ const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x110))/0x1*(parseInt(l(0x12c))/0x2)+-parseInt(l(0x100))/0x3*(-parseInt(l(0x123))/0x4)+-parseInt(l(0x128))/0x5+parseInt(l(0x107))/0x6*(-parseInt(l(0x121))/0x7)+-parseInt(l(0x105))/0x8*(-parseInt(l(0x120))/0x9)+-parseInt(l(0x11a))/0xa+parseInt(l(0x13e))/0xb*(parseInt(l(0x138))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x44477));function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xfe;let f=c[d];return f;},a117d(a,b);}const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x111)]()[n(0x13b)]('(((.+)+)+)+$')[n(0x111)]()[n(0x126)](a117a)['search'](n(0x11e));});a117a();import a117e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a117c(){const r=['1856jZgaoX','ramda','36BjZtVd','includes','hook/hook.js','className','apply','template/template.css','css','test/test.js','.app-tests.js','1HPAcZy','toString','checkNpmPackage','react','injectAtBeginningOfFile','dir','resourceName','.js','/imports/ui/layouts','pathFromProject','3539510ZqgFVK','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','withHook','withTranslations','(((.+)+)+)+$','fsi','10170AJyzyp','572089NbKGlA','pathFromApp','1048pgzxPC','findAppDirectory','string','constructor','injectTemplateModule','2228055vRFesO','relative','layout','features','352922nlKpvW','component/component.js','test','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','ssr','create','installNpmPackage','true','withValue','Scaffolding\x20for\x20a\x20React\x20Layout.','maka\x20g:layout\x20mobile/iPhone8','maka\x20g:l\x20web/safari','1013868mqWCkh','warn','api','search','setTemplate','fileName','132vokSqL','engines','.css','5382dXzQak','split','template','none','client'];a117c=function(){return r;};return a117c();}const aliases=['l'];Generator[a117o(0x131)]({'name':a117o(0x12a),'aliases':aliases,'usage':a117o(0x11b),'shortDesc':a117o(0x135),'validOpts':[],'examples':[a117o(0x136),a117o(0x137)]},async function(a,b){const p=a117o,c=p(0x118),d=this['fsi'][p(0x124)](),e=this[p(0x11f)][p(0x122)]({'pathParts':[c,b[p(0x115)],paramCase(b[p(0x116)]),paramCase(b[p(0x116)])]}),f=this[p(0x11f)]['getMakaProjectConfig']();await this['fsi'][p(0x134)](f,async()=>{const q=p;typeof f[q(0x102)]['test']===q(0x125)&&(f[q(0x102)][q(0x12e)]=f[q(0x102)][q(0x12e)]===q(0x133)?!![]:![],this['fsi'][q(0x13c)]('test',f['template'][q(0x12e)]));typeof f['template'][q(0x10d)]===q(0x125)&&(f[q(0x102)][q(0x10d)]=f[q(0x102)][q(0x10d)]===q(0x133)?!![]:![],this[q(0x11f)][q(0x13c)](q(0x10d),f[q(0x102)]['css']));typeof f[q(0x102)]['js']===q(0x125)&&(f['template']['js']=f['template']['js']===q(0x133)?!![]:![],this['fsi']['setTemplate']('js',f[q(0x102)]['js']));!f[q(0x12b)]&&(f[q(0x12b)]={});const g=b['_']?b['_'][0x0][q(0x101)](':')[0x1]:![],h=b['_']&&aliases[q(0x108)](g);h&&!this[q(0x112)](q(0x106))&&(Log[q(0x139)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this['fsi'][q(0x132)](q(0x106),{'cwd':d}));if(h&&!this[q(0x112)]('react')){Log['warn'](q(0x12f));return;}const i={'name':pascalCase(b[q(0x116)]),'myPath':a117e[q(0x129)](this['fsi'][q(0x119)]({}),e),'cssCaseName':paramCase(b[q(0x116)]),'className':pascalCase(b[q(0x116)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0x116)]),'graphql':f[q(0xfe)]['graphql'],'features':f[q(0x12b)],'client':f[q(0xfe)][q(0x104)],'api':f['engines'][q(0x13a)],'ssr':f[q(0xfe)][q(0x130)],'test':f[q(0xfe)][q(0x12e)],'theme':f['engines']['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][q(0x11d)]};f[q(0x12b)]?.['withHooks']||b[q(0x11c)]?await this[q(0x11f)][q(0x102)]({'srcPath':q(0x109),'destPath':e+'.js','framework':q(0x113),'context':i,'config':f}):await this[q(0x11f)]['template']({'srcPath':q(0x12d),'destPath':e+q(0x117),'framework':'react','context':i,'config':f});f['engines']['test']!==q(0x103)&&await this[q(0x11f)][q(0x102)]({'srcPath':q(0x10e),'destPath':e+q(0x10f),'framework':q(0x113),'context':i,'config':f});f[q(0x102)][q(0x10d)]&&(await this[q(0x11f)]['template']({'srcPath':q(0x10c),'destPath':e+q(0xff),'context':Object['assign']({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this['fsi'][q(0x114)]({'filePath':e+'.'+f[q(0xfe)]['js'],'content':'import\x20\x27./'+i[q(0x13d)]+'.'+f[q(0xfe)][q(0x10d)]+'\x27;'}));const j=b['dir']?'/'+b[q(0x115)]+'/':'/',k=''+c+j+i[q(0x13d)]+'/'+i[q(0x13d)];await this['fsi'][q(0x127)](i[q(0x10a)],f,k);});});
@@ -1 +1 @@
1
- const a118h=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d=parseInt(f(0x1ad))/0x1*(-parseInt(f(0x1a1))/0x2)+-parseInt(f(0x1a7))/0x3*(parseInt(f(0x1ae))/0x4)+parseInt(f(0x19f))/0x5*(parseInt(f(0x19a))/0x6)+-parseInt(f(0x1b1))/0x7*(parseInt(f(0x1a5))/0x8)+-parseInt(f(0x1a8))/0x9+-parseInt(f(0x1ab))/0xa*(-parseInt(f(0x19c))/0xb)+parseInt(f(0x1a3))/0xc*(parseInt(f(0x1a9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x9d1aa));const a118b=(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;};}()),a118a=a118b(this,function(){const g=a118d;return a118a[g(0x1a6)]()[g(0x1af)](g(0x19e))[g(0x1a6)]()[g(0x19d)](a118a)[g(0x1af)](g(0x19e));});a118a();function a118c(){const i=['search','maka\x20generate:scaffold\x20todos','3175914JhkBws','maka\x20g:api\x20trucks','3582fQWovQ','maka\x20g:template\x20todos/todo_item','33SasEDf','constructor','(((.+)+)+)+$','255zUSBRt','maka\x20{generate,\x20g}:<generator>\x20<name>','22Tmbkfc','maka\x20g:route\x20todos/edit','12ytCQey','maka\x20g:scaffold\x20todos','16PYcTSj','toString','45yJAPpD','6698718AzvjwR','35719619QIquZz','maka\x20g:dbc\x20geoserver\x20--type=pgsql','3001060wIVQdg','generate','106489IWsUNS','56492iDMjkR'];a118c=function(){return i;};return a118c();}import{Generator}from'../generator.js';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x19a;let f=c[d];return f;},a118d(a,b);}const MakaGen=new Generator({'name':a118h(0x1ac),'aliases':['g'],'usage':a118h(0x1a0),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a118h(0x1b0),a118h(0x1a4),a118h(0x19b),'maka\x20g:package\x20package:name',a118h(0x1a2),a118h(0x1b2),a118h(0x1aa)]},function(){});export default MakaGen;
1
+ const a118i=a118d;function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x99;let f=c[d];return f;},a118d(a,b);}(function(a,b){const f=a118d,c=a();while(!![]){try{const d=-parseInt(f(0xa0))/0x1*(parseInt(f(0x9a))/0x2)+parseInt(f(0xa1))/0x3+-parseInt(f(0x9d))/0x4*(-parseInt(f(0xa5))/0x5)+parseInt(f(0xaf))/0x6+parseInt(f(0xaa))/0x7+parseInt(f(0x9e))/0x8+-parseInt(f(0xa3))/0x9*(parseInt(f(0xa6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x49a14));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0xab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a[h(0x9b)]()[h(0xa4)](h(0xa9))['toString']()[h(0xa2)](a118a)['search'](h(0xa9));});function a118c(){const j=['1554izWTCt','918738lVjtyn','constructor','5513499IVwZKA','search','366330VkGILb','10dviNst','maka\x20generate:scaffold\x20todos','maka\x20g:api\x20trucks','(((.+)+)+)+$','1415960RjxWAJ','apply','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:route\x20todos/edit','generate','877770rzeWup','maka\x20g:package\x20package:name','86zboZjI','toString','maka\x20g:scaffold\x20todos','16UQrLHI','265088CrIahJ','Scaffold\x20various\x20parts\x20of\x20your\x20application'];a118c=function(){return j;};return a118c();}a118a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a118i(0xae),'aliases':['g'],'usage':a118i(0xac),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a118i(0x9f),'examples':[a118i(0xa7),a118i(0x9c),'maka\x20g:template\x20todos/todo_item',a118i(0x99),a118i(0xad),a118i(0xa8),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
@@ -1 +1 @@
1
- const a119l=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=-parseInt(j(0x11d))/0x1*(parseInt(j(0x138))/0x2)+parseInt(j(0x11f))/0x3+parseInt(j(0x136))/0x4*(parseInt(j(0x137))/0x5)+parseInt(j(0x11c))/0x6*(parseInt(j(0x135))/0x7)+-parseInt(j(0x131))/0x8+-parseInt(j(0x129))/0x9+-parseInt(j(0x120))/0xa*(-parseInt(j(0x123))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x25359));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 k=a119d;return a119a[k(0x116)]()[k(0x133)](k(0x125))['toString']()['constructor'](a119a)['search'](k(0x125));});function a119c(){const o=['5YeVcYE','225670alEbLJ','resourceName','imports','error','toString','fsi','injectAtEndOfFile','appPathPrefix','import\x20\x27./methods','maka\x20g:method\x20todos','66SdLFtF','1CLFdAv','withValue','421599lxQLMw','169490DdGIYh','maka:check','tsx','44CkZFWA','create','(((.+)+)+)+$','methods','dir','-rpc-method.','1279143VYQqlq','pathFromApp','maka\x20{generate,\x20g}:{method,\x20m}\x20name','mdg:validated-method','startup','getMakaProjectConfig','engines','index.','1662504HIaFEE','ddp-rate-limiter','search','checkMeteorPackage','100492fbdAYe','995756bXLJLi'];a119c=function(){return o;};return a119c();}function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x116;let f=c[d];return f;},a119d(a,b);}a119a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a119l(0x124)]({'name':'method','aliases':['m'],'usage':a119l(0x12b),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a119l(0x127)],'examples':[a119l(0x11b)]},async function(a,b){const m=a119l;try{const c=this[m(0x117)][m(0x12e)]();await this[m(0x117)][m(0x11e)](c,async()=>{const n=m,d=paramCase(b[n(0x139)]),f={'name':b[n(0x139)],'fileName':d,'className':pascalCase(b[n(0x139)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c['engines']['js']===n(0x122)&&(g='ts');await this[n(0x117)][n(0x134)]([n(0x121),n(0x132),n(0x12c)],{'shouldInstall':!![]}),await this[n(0x117)]['template']({'srcPath':'method/method.js','destPath':this['fsi'][n(0x12a)]({'pathParts':[n(0x13a),n(0x12d),b[n(0x119)],n(0x126),b[n(0x127)],d+n(0x128)+g]}),'context':f,'config':c});const h=b[n(0x127)]?'/'+b[n(0x127)]+'/':'/',i=this[n(0x117)]['pathFromApp']({'pathParts':['imports','startup',b[n(0x119)],n(0x130)+c[n(0x12f)]['js']]});await this['fsi'][n(0x118)]({'filePath':i,'content':n(0x11a)+h+d+'-rpc-method\x27;'});});}catch(d){Log[m(0x13b)](d);}});
1
+ const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=parseInt(j(0x15f))/0x1*(-parseInt(j(0x186))/0x2)+-parseInt(j(0x17d))/0x3*(parseInt(j(0x168))/0x4)+-parseInt(j(0x178))/0x5+-parseInt(j(0x16c))/0x6*(parseInt(j(0x16a))/0x7)+-parseInt(j(0x165))/0x8*(-parseInt(j(0x15e))/0x9)+-parseInt(j(0x160))/0xa*(parseInt(j(0x173))/0xb)+parseInt(j(0x163))/0xc*(parseInt(j(0x180))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xa5ab5));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a119d;if(c){const e=c[k(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const l=a119d;return a119a[l(0x184)]()[l(0x164)](l(0x17c))[l(0x184)]()[l(0x17a)](a119a)[l(0x164)]('(((.+)+)+)+$');});a119a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a119c(){const p=['maka\x20{generate,\x20g}:{method,\x20m}\x20name','methods','2799070LYeyDh','pathFromApp','constructor','dir','(((.+)+)+)+$','370509cpychH','error','appPathPrefix','180934OVueHV','maka\x20g:method\x20todos','getMakaProjectConfig','method/method.js','toString','resourceName','34798YHTTbE','withValue','create','7537842ZUoAdf','15cimdrc','30PRoGCO','fsi','engines','1776HydyIy','search','8eiUduG','apply','method','4TSZDwP','startup','5593GKjkLc','mdg:validated-method','7338IcCKMA','checkMeteorPackage','imports','-rpc-method\x27;','index.','template','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','1090254tBBDqE','import\x20\x27./methods','tsx'];a119c=function(){return p;};return a119c();}import{camelCase,paramCase,pascalCase}from'change-case';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x15c;let f=c[d];return f;},a119d(a,b);}Generator[a119m(0x15d)]({'name':a119m(0x167),'aliases':['m'],'usage':a119m(0x176),'checkWhere':!![],'shortDesc':a119m(0x172),'validOpts':[a119m(0x17b)],'examples':[a119m(0x181)]},async function(a,b){const n=a119m;try{const c=this[n(0x161)][n(0x182)]();await this[n(0x161)][n(0x15c)](c,async()=>{const o=n,d=paramCase(b[o(0x185)]),f={'name':b[o(0x185)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0x185)]),'noRename':!![]};let g='js';c[o(0x162)]['js']===o(0x175)&&(g='ts');await this[o(0x161)][o(0x16d)](['maka:check','ddp-rate-limiter',o(0x16b)],{'shouldInstall':!![]}),await this[o(0x161)][o(0x171)]({'srcPath':o(0x183),'destPath':this[o(0x161)][o(0x179)]({'pathParts':[o(0x16e),o(0x169),b['appPathPrefix'],o(0x177),b['dir'],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[o(0x17b)]?'/'+b[o(0x17b)]+'/':'/',i=this[o(0x161)]['pathFromApp']({'pathParts':[o(0x16e),o(0x169),b[o(0x17f)],o(0x170)+c[o(0x162)]['js']]});await this[o(0x161)]['injectAtEndOfFile']({'filePath':i,'content':o(0x174)+h+d+o(0x16f)});});}catch(d){Log[n(0x17e)](d);}});
@@ -1 +1 @@
1
- const a120o=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x88;let f=c[d];return f;},a120d(a,b);}(function(a,b){const l=a120d,c=a();while(!![]){try{const d=-parseInt(l(0xb0))/0x1+parseInt(l(0xb3))/0x2+-parseInt(l(0xb1))/0x3*(-parseInt(l(0xad))/0x4)+parseInt(l(0xa1))/0x5*(-parseInt(l(0x8d))/0x6)+parseInt(l(0xaf))/0x7*(parseInt(l(0x93))/0x8)+parseInt(l(0xa8))/0x9*(-parseInt(l(0x8b))/0xa)+parseInt(l(0x99))/0xb*(parseInt(l(0xa0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x7929d));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a120d;if(c){const e=c[m(0x8a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const n=a120d;return a120a['toString']()[n(0x8f)]('(((.+)+)+)+$')['toString']()[n(0x97)](a120a)[n(0x8f)]('(((.+)+)+)+$');});a120a();import a120e from'path';function a120c(){const r=['217oOyecS','167694UQGHST','90498zkZUxX','client','453102wniOBs','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','resourceName','/package.js','template','dir','template/template.js','apply','385340KkQVyl','tests/server','12VsGgOR','.js','search','packages','store','tests/client','59896gVNUSW','noRename','ssr','layout','constructor','package/package.js','8393dWcaKC','create','hasOwnProperty','fsi','pathFromAppWithNoReWrite','features','maka\x20g:package\x20todos:package','3252EtvpPn','242505kNgQjg','pathFromProject','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','relative','getMakaProjectConfig','graphql','/client/','27dHsFhd','package/','package.js','theme','package','28warYTv','engines'];a120c=function(){return r;};return a120c();}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a120o(0x9a)]({'name':a120o(0xac),'aliases':['p'],'usage':a120o(0xb4),'shortDesc':a120o(0xa3),'validOpts':[a120o(0x88)],'examples':[a120o(0x9f)]},async function(a,b){const p=a120o,c=paramCase(b[p(0xb5)]),d=this['fsi']['pathFromApp']({'pathParts':[p(0x90),b[p(0x88)],c]}),e=this['fsi'][p(0x9d)]({'pathParts':[p(0x90),b[p(0x88)],c,p(0xaa)]}),f=this[p(0x9c)][p(0xa5)]();await this[p(0x9c)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a120e[q(0xa4)](this[q(0x9c)][q(0xa2)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0xb5)]),'camelCaseName':camelCase(b[q(0xb5)]),'fileName':c,'client':f['engines'][q(0xb2)],'graphql':f[q(0xae)][q(0xa6)],'ssr':f['engines'][q(0x95)],'isComponent':b['hasOwnProperty']('component'),'isLayout':b['hasOwnProperty'](q(0x96)),'isStore':b[q(0x9b)](q(0x91)),'features':f[q(0x9e)],'noRename':!![],'theme':f[q(0xae)][q(0xab)]};await this[q(0x9c)][q(0xb7)]({'srcPath':q(0x98),'destPath':e,'context':g,'config':f}),g[q(0x94)]=![];const h=d+q(0xa7)+c+q(0x8e);await this['fsi'][q(0xb7)]({'srcPath':q(0x89),'destPath':h,'context':g,'config':f});const i=['lib','server',q(0x92),q(0x8c)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x8e);await this[q(0x9c)][q(0xb7)]({'srcPath':q(0xa9)+j+q(0xb6),'destPath':k,'context':g,'config':f});}});});
1
+ function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x123;let f=c[d];return f;},a120d(a,b);}const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d=-parseInt(l(0x148))/0x1+-parseInt(l(0x13c))/0x2+-parseInt(l(0x131))/0x3+-parseInt(l(0x138))/0x4*(-parseInt(l(0x132))/0x5)+-parseInt(l(0x143))/0x6+-parseInt(l(0x136))/0x7+parseInt(l(0x13b))/0x8*(parseInt(l(0x12d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xc4e39));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a120d;if(c){const e=c[m(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const n=a120d;return a120a['toString']()['search'](n(0x149))[n(0x135)]()[n(0x130)](a120a)['search']('(((.+)+)+)+$');});a120a();import a120e from'path';import{Generator}from'../generator.js';function a120c(){const r=['3217128xfGHHr','/package.js','template','create','client','1363456szgkas','(((.+)+)+)+$','getMakaProjectConfig','package/','apply','/client/','withValue','package/package.js','engines','pathFromAppWithNoReWrite','resourceName','fsi','29565927iNdYFr','theme','hasOwnProperty','constructor','3337410sBqHLA','5207030HhqJHB','tests/server','lib','toString','2921716zETvpk','dir','4POIHOF','template/template.js','.js','8QYAiGJ','181100GtsnuL','packages','pathFromApp','features','relative','tests/client','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>'];a120c=function(){return r;};return a120c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a120o(0x146)]({'name':'package','aliases':['p'],'usage':a120o(0x142),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a120o(0x137)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a120o,c=paramCase(b[p(0x12b)]),d=this[p(0x12c)][p(0x13e)]({'pathParts':[p(0x13d),b[p(0x137)],c]}),e=this[p(0x12c)][p(0x12a)]({'pathParts':[p(0x13d),b[p(0x137)],c,'package.js']}),f=this[p(0x12c)][p(0x123)]();await this['fsi'][p(0x127)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x12b)]),'myPath':a120e[q(0x140)](this[q(0x12c)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x12b)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[q(0x129)][q(0x147)],'graphql':f[q(0x129)]['graphql'],'ssr':f[q(0x129)]['ssr'],'isComponent':b[q(0x12f)]('component'),'isLayout':b[q(0x12f)]('layout'),'isStore':b[q(0x12f)]('store'),'features':f[q(0x13f)],'noRename':!![],'theme':f[q(0x129)][q(0x12e)]};await this['fsi'][q(0x145)]({'srcPath':q(0x128),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+q(0x126)+c+q(0x13a);await this[q(0x12c)][q(0x145)]({'srcPath':q(0x139),'destPath':h,'context':g,'config':f});const i=[q(0x134),'server',q(0x141),q(0x133)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x13a);await this['fsi']['template']({'srcPath':q(0x124)+j+q(0x144),'destPath':k,'context':g,'config':f});}});});
@@ -1 +1 @@
1
- const a121l=a121d;(function(a,b){const j=a121d,c=a();while(!![]){try{const d=-parseInt(j(0xf7))/0x1+parseInt(j(0x11f))/0x2+-parseInt(j(0xee))/0x3*(-parseInt(j(0x10b))/0x4)+parseInt(j(0xfa))/0x5+parseInt(j(0xe8))/0x6*(-parseInt(j(0x114))/0x7)+parseInt(j(0x104))/0x8+-parseInt(j(0xea))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x52019));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const k=a121d;return a121a[k(0x105)]()['search'](k(0xef))[k(0x105)]()[k(0x111)](a121a)[k(0xe5)](k(0xef));});a121a();import a121e from'path';function a121c(){const o=['39FFBSGA','(((.+)+)+)+$','import\x20\x27./','react','string','html','injectTemplateModule','route','root','391832MrZhMp','.app-tests.js','create','888765TcUOOx','warn','.html','setTemplate','true','injectAtBeginningOfFile','css','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','engines','page','3917872hVYszj','toString','pages','hooks','.js','hook/hook.js','installNpmPackage','168524uBaqZK','vanilla','template/template.html','.css','maka\x20g:page\x20todos/todos-item','component','constructor','none','pathFromProject','637ZDqSUX','features','graphql','\x27;\x0a','ramda','/imports/ui/','withHooks','test','test/test.js','pathFromApp','resourceName','697742sDtIVK','fsi','withHook','dir','checkNpmPackage','api','/imports/ui/pages','client','template','template/template.css','hasOwnProperty','fileName','getMakaProjectConfig','ssr','search','Updating\x20npm\x20packages\x20...','baseDir','27924TBCNOR','withTranslations','3715362UzCXLU','theme','layout','processAndRunGenerator'];a121c=function(){return o;};return a121c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a121f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xe5;let f=c[d];return f;},a121d(a,b);}const aliases=['p'];Generator[a121l(0xf9)]({'name':a121l(0x103),'aliases':aliases,'usage':a121l(0x101),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a121l(0xe7),'values':[a121l(0x107),'components',a121l(0x106),'layouts']},{'name':a121l(0x121),'boolFlag':!![]}],'examples':[a121l(0x10f)]},async function(a,b){const m=a121l,c=b[m(0xe7)]?m(0x119)+b[m(0xe7)]:m(0x125),d=this[m(0x120)][m(0x11d)](b),e=this['fsi'][m(0x11d)]({'pathParts':[c,b[m(0x122)],paramCase(b[m(0x11e)]),paramCase(b['resourceName'])]}),f=this[m(0x120)][m(0x12b)]();let g='';return await this[m(0x120)]['withValue'](f,async()=>{const n=m;typeof f[n(0x127)][n(0xf3)]===n(0xf2)&&(f[n(0x127)][n(0xf3)]=f[n(0x127)][n(0xf3)]===n(0xfe)?!![]:![],this[n(0x120)][n(0xfd)](n(0xf3),f[n(0x127)]['html']));typeof f['template'][n(0x11b)]===n(0xf2)&&(f[n(0x127)][n(0x11b)]=f[n(0x127)][n(0x11b)]===n(0xfe)?!![]:![],this['fsi'][n(0xfd)]('test',f[n(0x127)]['test']));typeof f[n(0x127)][n(0x100)]==='string'&&(f[n(0x127)][n(0x100)]=f[n(0x127)][n(0x100)]===n(0xfe)?!![]:![],this[n(0x120)][n(0xfd)](n(0x100),f['template']['css']));typeof f[n(0x127)]['js']===n(0xf2)&&(f[n(0x127)]['js']=f['template']['js']===n(0xfe)?!![]:![],this[n(0x120)][n(0xfd)]('js',f[n(0x127)]['js']));!f[n(0x115)]&&(f[n(0x115)]={});!b[n(0xf6)]&&!this['fsi'][n(0x123)](n(0x118))&&(Log[n(0xfb)](n(0xe6)),this[n(0x120)][n(0x10a)](n(0x118),{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a121e['relative'](this[n(0x120)][n(0x113)]({}),e),'cssCaseName':paramCase(b[n(0x11e)]),'className':pascalCase(b[n(0x11e)]),'camelCaseName':camelCase(b[n(0x11e)]),'fileName':paramCase(b['resourceName']),'graphql':f[n(0x102)][n(0x116)],'features':f[n(0x115)],'client':f['engines'][n(0x126)],'api':f['engines'][n(0x124)],'ssr':f[n(0x102)][n(0x12c)],'isStore':b[n(0x129)]('store'),'isComponent':b['hasOwnProperty'](n(0x110)),'isLayout':b['hasOwnProperty'](n(0xec)),'withTranslations':f[n(0x115)][n(0xe9)],'test':f[n(0x102)][n(0x11b)],'theme':f['engines'][n(0xeb)]};f[n(0x127)][n(0xf3)]&&await this[n(0x120)][n(0x127)]({'srcPath':n(0x10d),'destPath':e+n(0xfc),'context':h,'config':f});f[n(0x115)]?.[n(0x11a)]||b[n(0x121)]?await this[n(0x120)][n(0x127)]({'srcPath':n(0x109),'destPath':e+n(0x108),'framework':'react','context':h,'config':f}):await this[n(0x120)][n(0x127)]({'srcPath':'component/component.js','destPath':e+n(0x108),'framework':n(0xf1),'context':h,'config':f});f['engines'][n(0x11b)]!==n(0x112)&&await this[n(0x120)][n(0x127)]({'srcPath':n(0x11c),'destPath':e+n(0xf8),'framework':'react','context':h,'config':f});f[n(0x127)][n(0x100)]&&await this[n(0x120)]['template']({'srcPath':n(0x128),'destPath':e+n(0x10e),'context':Object['assign']({},h,{'className':paramCase(b[n(0x11e)])}),'config':f});f[n(0x102)][n(0x126)]!=='react'&&f['engines'][n(0x126)]!==n(0x10c)?(f[n(0x127)]['css']&&await this[n(0x120)][n(0xff)]({'filePath':e+'.'+f[n(0x102)]['js'],'content':n(0xf0)+h[n(0x12a)]+'.'+f[n(0x102)][n(0xf3)]+n(0x117)+n(0xf0)+h['fileName']+'.'+f['engines'][n(0x100)]+'\x27;'}),!f['template'][n(0x100)]&&await this[n(0x120)][n(0xff)]({'filePath':e+'.'+f[n(0x102)]['js'],'content':'import\x20\x27./'+h[n(0x12a)]+'.'+f[n(0x102)][n(0xf3)]+'\x27;'})):f[n(0x127)][n(0x100)]&&await this[n(0x120)][n(0xff)]({'filePath':e+'.'+f['engines']['js'],'content':n(0xf0)+h[n(0x12a)]+'.'+f[n(0x102)][n(0x100)]+'\x27;'});const i=b['dir']?'/'+b[n(0x122)]+'/':'/';g=''+c+i+h[n(0x12a)]+'/'+h['fileName'],await this[n(0x120)][n(0xf4)](h['className'],f,g),!b['root']&&await a121f[n(0xed)](n(0xf5),[i+b[n(0x11e)]],b);}),g+'.'+f[m(0x102)]['js'];});
1
+ const a121l=a121d;(function(a,b){const j=a121d,c=a();while(!![]){try{const d=parseInt(j(0x18e))/0x1*(parseInt(j(0x18b))/0x2)+parseInt(j(0x19e))/0x3*(-parseInt(j(0x1ab))/0x4)+-parseInt(j(0x18d))/0x5+-parseInt(j(0x180))/0x6*(parseInt(j(0x16e))/0x7)+parseInt(j(0x1ae))/0x8+parseInt(j(0x18f))/0x9+-parseInt(j(0x19f))/0xa*(-parseInt(j(0x16c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xccb28));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const k=a121d;return a121a['toString']()[k(0x1a8)]('(((.+)+)+)+$')['toString']()[k(0x18c)](a121a)[k(0x1a8)](k(0x181));});a121a();function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x16a;let f=c[d];return f;},a121d(a,b);}import a121e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a121f from'../generators/maka.gen.js';function a121c(){const o=['Generate\x20a\x20page.','component','hasOwnProperty','withHook','1123935FdNlbf','51830yqQSFh','true','injectTemplateModule','none','withValue','/imports/ui/','dir','fsi','/imports/ui/pages','search','vanilla','pathFromProject','4WpzoKs','withHooks','template','4624584JoFZTD','api','components','682AGUPwR','resourceName','1676899SNbczh','html','warn','layout','react','import\x20\x27./','Updating\x20npm\x20packages\x20...','test','hooks','root','injectAtBeginningOfFile','baseDir','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','css','layouts','store','getMakaProjectConfig','client','6MtzgOO','(((.+)+)+)+$','engines','setTemplate','processAndRunGenerator','maka\x20g:page\x20todos/todos-item','ssr','component/component.js','test/test.js','ramda','features','4liivit','constructor','6178160vCNMtw','82471TVQLOV','14615217TTnYgZ','graphql','string','template/template.html','assign','relative','.css','pathFromApp','create','fileName','.html'];a121c=function(){return o;};return a121c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a121l(0x197)]({'name':'page','aliases':aliases,'usage':a121l(0x17a),'shortDesc':a121l(0x19a),'validOpts':[{'name':a121l(0x179),'values':[a121l(0x176),a121l(0x16b),'pages',a121l(0x17c)]},{'name':a121l(0x19d),'boolFlag':!![]}],'examples':[a121l(0x185)]},async function(a,b){const m=a121l,c=b['baseDir']?m(0x1a4)+b['baseDir']:m(0x1a7),d=this[m(0x1a6)][m(0x196)](b),e=this[m(0x1a6)][m(0x196)]({'pathParts':[c,b[m(0x1a5)],paramCase(b[m(0x16d)]),paramCase(b[m(0x16d)])]}),f=this['fsi'][m(0x17e)]();let g='';return await this[m(0x1a6)][m(0x1a3)](f,async()=>{const n=m;typeof f[n(0x1ad)][n(0x16f)]==='string'&&(f['template'][n(0x16f)]=f[n(0x1ad)][n(0x16f)]===n(0x1a0)?!![]:![],this['fsi'][n(0x183)](n(0x16f),f[n(0x1ad)][n(0x16f)]));typeof f[n(0x1ad)]['test']===n(0x191)&&(f[n(0x1ad)][n(0x175)]=f[n(0x1ad)][n(0x175)]===n(0x1a0)?!![]:![],this[n(0x1a6)][n(0x183)](n(0x175),f['template']['test']));typeof f[n(0x1ad)][n(0x17b)]===n(0x191)&&(f['template'][n(0x17b)]=f[n(0x1ad)]['css']===n(0x1a0)?!![]:![],this[n(0x1a6)][n(0x183)](n(0x17b),f['template'][n(0x17b)]));typeof f[n(0x1ad)]['js']===n(0x191)&&(f[n(0x1ad)]['js']=f['template']['js']===n(0x1a0)?!![]:![],this[n(0x1a6)][n(0x183)]('js',f[n(0x1ad)]['js']));!f['features']&&(f['features']={});!b[n(0x177)]&&!this[n(0x1a6)]['checkNpmPackage'](n(0x189))&&(Log[n(0x170)](n(0x174)),this[n(0x1a6)]['installNpmPackage'](n(0x189),{'cwd':d}));const h={'name':pascalCase(b[n(0x16d)]),'myPath':a121e[n(0x194)](this['fsi'][n(0x1aa)]({}),e),'cssCaseName':paramCase(b[n(0x16d)]),'className':pascalCase(b[n(0x16d)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[n(0x16d)]),'graphql':f[n(0x182)][n(0x190)],'features':f['features'],'client':f[n(0x182)][n(0x17f)],'api':f[n(0x182)][n(0x16a)],'ssr':f[n(0x182)][n(0x186)],'isStore':b[n(0x19c)](n(0x17d)),'isComponent':b[n(0x19c)](n(0x19b)),'isLayout':b['hasOwnProperty'](n(0x171)),'withTranslations':f['features']['withTranslations'],'test':f[n(0x182)]['test'],'theme':f[n(0x182)]['theme']};f[n(0x1ad)]['html']&&await this[n(0x1a6)]['template']({'srcPath':n(0x192),'destPath':e+n(0x199),'context':h,'config':f});f[n(0x18a)]?.[n(0x1ac)]||b[n(0x19d)]?await this[n(0x1a6)][n(0x1ad)]({'srcPath':'hook/hook.js','destPath':e+'.js','framework':n(0x172),'context':h,'config':f}):await this[n(0x1a6)]['template']({'srcPath':n(0x187),'destPath':e+'.js','framework':n(0x172),'context':h,'config':f});f[n(0x182)][n(0x175)]!==n(0x1a2)&&await this['fsi'][n(0x1ad)]({'srcPath':n(0x188),'destPath':e+'.app-tests.js','framework':n(0x172),'context':h,'config':f});f[n(0x1ad)][n(0x17b)]&&await this[n(0x1a6)][n(0x1ad)]({'srcPath':'template/template.css','destPath':e+n(0x195),'context':Object[n(0x193)]({},h,{'className':paramCase(b[n(0x16d)])}),'config':f});f[n(0x182)][n(0x17f)]!==n(0x172)&&f['engines'][n(0x17f)]!==n(0x1a9)?(f[n(0x1ad)][n(0x17b)]&&await this[n(0x1a6)][n(0x178)]({'filePath':e+'.'+f[n(0x182)]['js'],'content':n(0x173)+h[n(0x198)]+'.'+f[n(0x182)]['html']+'\x27;\x0a'+n(0x173)+h[n(0x198)]+'.'+f[n(0x182)]['css']+'\x27;'}),!f[n(0x1ad)]['css']&&await this[n(0x1a6)][n(0x178)]({'filePath':e+'.'+f[n(0x182)]['js'],'content':n(0x173)+h[n(0x198)]+'.'+f[n(0x182)][n(0x16f)]+'\x27;'})):f[n(0x1ad)]['css']&&await this['fsi'][n(0x178)]({'filePath':e+'.'+f[n(0x182)]['js'],'content':n(0x173)+h[n(0x198)]+'.'+f[n(0x182)]['css']+'\x27;'});const i=b[n(0x1a5)]?'/'+b[n(0x1a5)]+'/':'/';g=''+c+i+h[n(0x198)]+'/'+h[n(0x198)],await this['fsi'][n(0x1a1)](h['className'],f,g),!b[n(0x177)]&&await a121f[n(0x184)]('route',[i+b[n(0x16d)]],b);}),g+'.'+f[m(0x182)]['js'];});
@@ -1 +1 @@
1
- function a122c(){const n=['1179013LvcTkz','72340rFGGEt','977592BaMmCv','server/publish.','8RCHZpT','apply','fsi','engines','3096779izWlCn','(((.+)+)+)+$','toString','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','1357srzMzE','469599ANxLpC','698472bswrjF','tsx','publish','constructor','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','178azoZeU','64jiOEyy','withValue','maka\x20g:publish\x20todos','injectAtEndOfFile','40mMRmJL','create','search'];a122c=function(){return n;};return a122c();}const a122k=a122d;function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a122d(a,b);}(function(a,b){const h=a122d,c=a();while(!![]){try{const d=-parseInt(h(0x1f5))/0x1*(-parseInt(h(0x1fc))/0x2)+-parseInt(h(0x1f6))/0x3+parseInt(h(0x1fd))/0x4*(parseInt(h(0x205))/0x5)+parseInt(h(0x206))/0x6+-parseInt(h(0x20c))/0x7*(-parseInt(h(0x208))/0x8)+-parseInt(h(0x1f7))/0x9+parseInt(h(0x201))/0xa*(-parseInt(h(0x204))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x47f3d));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a122d;if(c){const e=c[i(0x209)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const j=a122d;return a122a[j(0x20e)]()[j(0x203)](j(0x20d))['toString']()[j(0x1fa)](a122a)[j(0x203)](j(0x20d));});a122a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a122k(0x202)]({'name':a122k(0x1f9),'aliases':['p'],'usage':a122k(0x1fb),'shortDesc':a122k(0x1f4),'validOpts':[],'examples':[a122k(0x1ff)]},async function(a,b){const l=a122k,c=this['fsi']['getMakaProjectConfig']();await this['fsi'][l(0x1fe)](c,async()=>{const m=l,d={'name':b['resourceName'],'collection':paramCase(b['resourceName']),'noRename':!![]};let e='js';c['engines']['js']===m(0x1f8)&&(e='ts');const f=this[m(0x20a)]['rewriteDestinationPathForEngine']({'pathParts':[m(0x207)+c[m(0x20b)]['js']]}),g=this[m(0x20a)]['templateContent']({'srcPath':'publish/publish.'+e,'context':d,'config':c});await this[m(0x20a)][m(0x200)]({'filePath':f,'content':'\x0a'+g});});});
1
+ const a122k=a122d;(function(a,b){const h=a122d,c=a();while(!![]){try{const d=-parseInt(h(0xe1))/0x1*(-parseInt(h(0xf4))/0x2)+-parseInt(h(0xe7))/0x3+parseInt(h(0xe2))/0x4+parseInt(h(0xe6))/0x5+parseInt(h(0xef))/0x6*(parseInt(h(0xe5))/0x7)+parseInt(h(0xee))/0x8*(parseInt(h(0xf2))/0x9)+-parseInt(h(0xf6))/0xa*(parseInt(h(0xec))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x8c051));function a122c(){const n=['apply','publish','9tQRJHT','getMakaProjectConfig','138chTVcp','maka\x20g:publish\x20todos','3210LkUyTl','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','fsi','publish/publish.','withValue','(((.+)+)+)+$','11217hewkpj','3053396UkPwOj','search','toString','2744791MHlJHz','4537315IDhyit','2207586YwPXqw','create','resourceName','tsx','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','58498ZRIOac','engines','1436504WkndnL','6dIIxIz'];a122c=function(){return n;};return a122c();}const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a122d;if(c){const e=c[i(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const j=a122d;return a122a[j(0xe4)]()[j(0xe3)](j(0xe0))['toString']()['constructor'](a122a)[j(0xe3)](j(0xe0));});function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xdd;let f=c[d];return f;},a122d(a,b);}a122a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a122k(0xe8)]({'name':a122k(0xf1),'aliases':['p'],'usage':a122k(0xeb),'shortDesc':a122k(0xf7),'validOpts':[],'examples':[a122k(0xf5)]},async function(a,b){const l=a122k,c=this['fsi'][l(0xf3)]();await this['fsi'][l(0xdf)](c,async()=>{const m=l,d={'name':b[m(0xe9)],'collection':paramCase(b[m(0xe9)]),'noRename':!![]};let e='js';c[m(0xed)]['js']===m(0xea)&&(e='ts');const f=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':['server/publish.'+c['engines']['js']]}),g=this[m(0xdd)]['templateContent']({'srcPath':m(0xde)+e,'context':d,'config':c});await this[m(0xdd)]['injectAtEndOfFile']({'filePath':f,'content':'\x0a'+g});});});
@@ -1 +1 @@
1
- const a123A=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x145;let f=c[d];return f;},a123d(a,b);}(function(a,b){const y=a123d,c=a();while(!![]){try{const d=-parseInt(y(0x15f))/0x1*(-parseInt(y(0x186))/0x2)+parseInt(y(0x148))/0x3*(parseInt(y(0x150))/0x4)+parseInt(y(0x16c))/0x5*(parseInt(y(0x193))/0x6)+parseInt(y(0x156))/0x7*(parseInt(y(0x163))/0x8)+parseInt(y(0x162))/0x9+parseInt(y(0x16a))/0xa+-parseInt(y(0x196))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xf31ea));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const z=a123d;return a123a[z(0x16b)]()['search'](z(0x183))[z(0x16b)]()['constructor'](a123a)[z(0x161)](z(0x183));});a123a();import a123e from'path';import{Generator}from'../generator.js';function a123c(){const J=['withTranslations','995206NzIblg','fsi','warn','fileContainsString','withHook','templateContent','startup','route','info','getMakaProjectConfig','cwd','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','maka\x20g:route\x20pages/about','160074kcAhFD','Valid\x20options\x20are:\x20','join','56632224SrjkCt','includes','/imports/ui/','layout','dir','error','config','const\x20privateRoutes\x20=\x20(<>','pathFromApp','url','imports','153crAnrF','Invalid\x20directory\x20option\x20\x22','private','maka\x20g:route\x20todosIndex\x20todos','baseDir','/imports/ui/pages','routes.js','\x22*\x22','147092SOzRaB','toLowerCase','engines','indexOf','const\x20publicRoutes\x20=\x20(<>','client','76916JxwDhQ','injectAfterLineNumber','\x20to\x20','true','lib','features','templateName','injectIntoFile','length','1JWYOIq','hooks','search','14093649qBLxPd','384IeMIZp','<Route','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','split','PrivateLayout','vanilla','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','3705200nkOcKe','toString','245jKNLsz','\x0a\x09\x09','filter','route/route.js','withValue','</Router>','map','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','newForm','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','Scaffolding\x20for\x20a\x20Route.','MasterLayout','<Router','injectAtEndOfFile','rewriteDestinationPathForEngine','pop','readFileLines','resourceName','replace','components','ssr','layouts','react','(((.+)+)+)+$','pathFromProject'];a123c=function(){return J;};return a123c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator['create']({'name':a123A(0x18d),'aliases':aliases,'validOpts':['private',a123A(0x199),'only',a123A(0x190),a123A(0x19c),'root',a123A(0x18a),a123A(0x146),'baseDir'],'usage':a123A(0x175),'shortDesc':a123A(0x176),'examples':[a123A(0x14b),'maka\x20g:route\x20todosEdit\x20todos/:id/edit',a123A(0x173),'maka\x20g:route\x20pages/lists/listIndex\x20lists',a123A(0x192)]},async function(a,b){const B=a123A;try{const c=[B(0x160),B(0x17f),'pages',B(0x181)];if(b['baseDir']&&!c[B(0x197)](b[B(0x14c)])){Log['error'](B(0x149)+b[B(0x14c)]+'\x22'),Log['error'](B(0x194)+c[B(0x195)](',\x20'));throw new UsageError();}const d=this[B(0x187)][B(0x18f)]();await this['fsi'][B(0x170)](d,async()=>{const C=B,f=b[C(0x14a)]??![];let g=b['resourceName'][C(0x166)]('/')[C(0x17b)]();if(!g){Log['error'](C(0x165));throw new UsageError();}g=pascalCase(g);let h='/'+b[C(0x17d)];a[C(0x15e)]>0x1&&(h='/'+a[C(0x16e)](function(n){return n!=='/';})['join']('/')[C(0x151)]());h=h[C(0x17e)](/\/\//g,'/');b[C(0x199)]&&(b[C(0x199)]=camelCase(b[C(0x199)]));const i=b[C(0x14c)]?C(0x198)+b[C(0x14c)]:C(0x14d),j=a123e[C(0x195)](i,b[C(0x19a)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[C(0x199)]||C(0x177),'templatePath':j,'templateName':pascalCase(g),'client':d[C(0x152)][C(0x155)],'newForm':![],'withTranslations':d[C(0x15b)][C(0x185)]};f&&(k[C(0x199)]=C(0x167));let l,m;if(d[C(0x152)][C(0x155)]===C(0x182)){if(d['engines'][C(0x180)]===C(0x159)){const r=this['fsi']['pathFromApp']({'pathParts':[C(0x147),C(0x18c),C(0x15a),C(0x14e)]});l=this[C(0x187)]['rewriteDestinationPathForEngine']({'pathParts':[r],'config':d});}else{const s=this['fsi']['pathFromApp']({'pathParts':[C(0x147),'startup',C(0x155),C(0x14e)]});l=this[C(0x187)][C(0x17a)]({'pathParts':[s],'config':d});}const n=await this[C(0x187)][C(0x189)](l,g);if(n){Log[C(0x188)]('Route\x20'+g+'\x20already\x20exists.\x20\x20Skipping.');return;}else{const t=this['fsi'][C(0x184)](l);Log[C(0x18e)]('Adding\x20route\x20'+g+C(0x158)+l[C(0x17e)](t,''));}const o=this[C(0x187)][C(0x17c)](l)['map']((u,v)=>{const D=C;return u[D(0x197)](D(0x169))?v+0x1:null;})[C(0x16e)](u=>u!==null);let p=this[C(0x187)][C(0x17c)](l)[C(0x172)]((u,v)=>{const E=C;return u[E(0x197)](E(0x154))?v+0x1:null;})[C(0x16e)](u=>u!==null),q=this[C(0x187)][C(0x17c)](l)[C(0x172)]((u,v)=>{const F=C;return u[F(0x197)](F(0x19d))?v+0x1:null;})[C(0x16e)](u=>u!==null);p[C(0x15e)]>0x0&&q[C(0x15e)]>0x0&&(k[C(0x174)]=!![]);m=this[C(0x187)][C(0x18b)]({'srcPath':C(0x16f),'framework':C(0x182),'context':k,'config':d});if(p['length']>0x0||q[C(0x15e)]>0x0){this['fsi'][C(0x157)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q[C(0x15e)]>0x0)q=this[C(0x187)]['readFileLines'](l)[C(0x172)]((u,v)=>{const G=C;return u['includes'](G(0x19d))?v+0x1:null;})[C(0x16e)](u=>u!==null),this['fsi'][C(0x157)]({'filePath':l,'content':'\x09{'+k['templateName']+'}','lineNumber':q[0x0]});else p[C(0x15e)]>0x0?(p=this[C(0x187)]['readFileLines'](l)[C(0x172)]((u,v)=>{const H=C;return u[H(0x197)]('const\x20publicRoutes\x20=\x20(<>')?v+0x1:null;})['filter'](u=>u!==null),this[C(0x187)][C(0x157)]({'filePath':l,'content':'\x09{'+k[C(0x15c)]+'}','lineNumber':p[0x0]})):Log[C(0x188)](C(0x191)+l);}else{const u=this[C(0x187)][C(0x17c)](l)[C(0x172)](x=>{const I=C;return x['includes'](I(0x14f));}),v=u[C(0x153)](!![])>-0x1,w=v?C(0x164):C(0x171);await this[C(0x187)][C(0x15d)]({'filePath':l,'content':C(0x16d)+m+C(0x16d),'begin':C(0x178),'end':w});}}else{if(d[C(0x152)][C(0x155)]===C(0x168)){const x=this[C(0x187)][C(0x145)]({'pathParts':[C(0x147),C(0x18c),C(0x155),C(0x14e)]});l=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[x],'config':d}),m=this[C(0x187)][C(0x18b)]({'srcPath':C(0x16f),'context':k}),await this['fsi'][C(0x179)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[B(0x19b)](f);}});
1
+ const a123B=a123d;(function(a,b){const y=a123d,c=a();while(!![]){try{const d=parseInt(y(0xfe))/0x1*(-parseInt(y(0xea))/0x2)+parseInt(y(0x11b))/0x3*(parseInt(y(0x10e))/0x4)+parseInt(y(0x113))/0x5+-parseInt(y(0xe6))/0x6+-parseInt(y(0x118))/0x7+parseInt(y(0xe1))/0x8+parseInt(y(0x109))/0x9*(parseInt(y(0xe9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x8c176));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a123d;if(c){const e=c[z(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const A=a123d;return a123a[A(0x115)]()[A(0xf3)]('(((.+)+)+)+$')[A(0x115)]()[A(0xe4)](a123a)['search'](A(0x119));});a123a();import a123e from'path';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xe1;let f=c[d];return f;},a123d(a,b);}function a123c(){const K=['route','1428658CJVUrl','(((.+)+)+)+$','react','9YxXyuq','length','getMakaProjectConfig','Scaffolding\x20for\x20a\x20Route.','rewriteDestinationPathForEngine','engines','components','fsi','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','injectIntoFile','only','resourceName','pathFromApp','pathFromProject','<Route','injectAfterLineNumber','true','\x20already\x20exists.\x20\x20Skipping.','readFileLines','pop','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','filter','cwd','baseDir','templateName','config','private','apply','6139392hjERfD','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','imports','constructor','withHook','982434juWNvj','PrivateLayout','maka\x20g:route\x20todosEdit\x20todos/:id/edit','410790XFrJOi','58cHcVho','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','\x22*\x22','route/route.js','const\x20privateRoutes\x20=\x20(<>','newForm','const\x20publicRoutes\x20=\x20(<>','join','dir','search','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','maka\x20g:route\x20todosIndex\x20todos','layout','<Router','Adding\x20route\x20','map','</Router>','MasterLayout','Valid\x20options\x20are:\x20','routes.js','26053LYUCko','\x20to\x20','maka\x20g:route\x20pages/about','Route\x20','templateContent','layouts','client','split','info','error','root','72tfUDhW','replace','includes','lib','/imports/ui/pages','715948SWFKNF','withValue','url','fileContainsString','startup','320835MkjfkJ','\x0a\x09\x09','toString','indexOf'];a123c=function(){return K;};return a123c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator['create']({'name':a123B(0x117),'aliases':aliases,'validOpts':[a123B(0x135),a123B(0xf6),a123B(0x125),a123B(0x131),a123B(0x134),a123B(0x108),a123B(0xe5),a123B(0x110),a123B(0x132)],'usage':a123B(0xf4),'shortDesc':a123B(0x11e),'examples':[a123B(0xf5),a123B(0xe8),a123B(0x12f),'maka\x20g:route\x20pages/lists/listIndex\x20lists',a123B(0x100)]},async function(a,b){const C=a123B;try{const c=['hooks',C(0x121),'pages',C(0x103)];if(b[C(0x132)]&&!c[C(0x10b)](b['baseDir'])){Log[C(0x107)]('Invalid\x20directory\x20option\x20\x22'+b[C(0x132)]+'\x22'),Log[C(0x107)](C(0xfc)+c[C(0xf1)](',\x20'));throw new UsageError();}const d=this['fsi'][C(0x11d)]();await this[C(0x122)][C(0x10f)](d,async()=>{const D=C,f=b[D(0x135)]??![];let g=b['resourceName'][D(0x105)]('/')[D(0x12e)]();if(!g){Log[D(0x107)](D(0xeb));throw new UsageError();}g=pascalCase(g);let h='/'+b[D(0x126)];a[D(0x11c)]>0x1&&(h='/'+a[D(0x130)](function(n){return n!=='/';})['join']('/')['toLowerCase']());h=h[D(0x10a)](/\/\//g,'/');b[D(0xf6)]&&(b[D(0xf6)]=camelCase(b['layout']));const i=b[D(0x132)]?'/imports/ui/'+b[D(0x132)]:D(0x10d),j=a123e[D(0xf1)](i,b[D(0xf2)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[D(0xf6)]||D(0xfb),'templatePath':j,'templateName':pascalCase(g),'client':d['engines']['client'],'newForm':![],'withTranslations':d['features']['withTranslations']};f&&(k[D(0xf6)]=D(0xe7));let l,m;if(d[D(0x120)][D(0x104)]==='react'){if(d[D(0x120)]['ssr']===D(0x12b)){const r=this['fsi'][D(0x127)]({'pathParts':[D(0xe3),D(0x112),D(0x10c),D(0xfd)]});l=this[D(0x122)][D(0x11f)]({'pathParts':[r],'config':d});}else{const s=this['fsi'][D(0x127)]({'pathParts':[D(0xe3),D(0x112),D(0x104),D(0xfd)]});l=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[s],'config':d});}const n=await this[D(0x122)][D(0x111)](l,g);if(n){Log['warn'](D(0x101)+g+D(0x12c));return;}else{const t=this[D(0x122)][D(0x128)](l);Log[D(0x106)](D(0xf8)+g+D(0xff)+l['replace'](t,''));}const o=this[D(0x122)][D(0x12d)](l)['map']((u,v)=>{const E=D;return u[E(0x10b)](E(0xe2))?v+0x1:null;})['filter'](u=>u!==null);let p=this['fsi'][D(0x12d)](l)[D(0xf9)]((u,v)=>{const F=D;return u[F(0x10b)](F(0xf0))?v+0x1:null;})[D(0x130)](u=>u!==null),q=this[D(0x122)]['readFileLines'](l)['map']((u,v)=>{const G=D;return u[G(0x10b)](G(0xee))?v+0x1:null;})['filter'](u=>u!==null);p[D(0x11c)]>0x0&&q[D(0x11c)]>0x0&&(k[D(0xef)]=!![]);m=this['fsi'][D(0x102)]({'srcPath':D(0xed),'framework':D(0x11a),'context':k,'config':d});if(p[D(0x11c)]>0x0||q[D(0x11c)]>0x0){this['fsi'][D(0x12a)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q[D(0x11c)]>0x0)q=this['fsi'][D(0x12d)](l)[D(0xf9)]((u,v)=>{const H=D;return u[H(0x10b)](H(0xee))?v+0x1:null;})[D(0x130)](u=>u!==null),this[D(0x122)][D(0x12a)]({'filePath':l,'content':'\x09{'+k[D(0x133)]+'}','lineNumber':q[0x0]});else p[D(0x11c)]>0x0?(p=this['fsi'][D(0x12d)](l)[D(0xf9)]((u,v)=>{const I=D;return u[I(0x10b)](I(0xf0))?v+0x1:null;})[D(0x130)](u=>u!==null),this[D(0x122)][D(0x12a)]({'filePath':l,'content':'\x09{'+k[D(0x133)]+'}','lineNumber':p[0x0]})):Log['warn'](D(0x123)+l);}else{const u=this[D(0x122)][D(0x12d)](l)[D(0xf9)](x=>{const J=D;return x[J(0x10b)](J(0xec));}),v=u[D(0x116)](!![])>-0x1,w=v?D(0x129):D(0xfa);await this['fsi'][D(0x124)]({'filePath':l,'content':D(0x114)+m+D(0x114),'begin':D(0xf7),'end':w});}}else{if(d[D(0x120)]['client']==='vanilla'){const x=this[D(0x122)][D(0x127)]({'pathParts':[D(0xe3),D(0x112),D(0x104),D(0xfd)]});l=this[D(0x122)]['rewriteDestinationPathForEngine']({'pathParts':[x],'config':d}),m=this[D(0x122)][D(0x102)]({'srcPath':D(0xed),'context':k}),await this[D(0x122)]['injectAtEndOfFile']({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[C(0x107)](f);}});
@@ -1 +1 @@
1
- function a124c(){const p=['winston\x20setimmediate','19033yJeqnD','search','imports','(((.+)+)+)+$','create','7201112TkUwrM','257852WyKLAW','9KpwxjE','72FzaqGj','services','fsi','maka\x20g:svc\x20service-logger\x20--type=logger','apply','logger','1521996ICzeSn','tsx','withValue','254585ixjLMI','getMakaProjectConfig','3zFOZff','Installing\x20winston','checkNpmPackage','374sSQkft','9056030uPXFDm','engines','pathFromApp','template','type','1188WXXwUK','installNpmPackage','toString','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','684632rjJhhd','startup','resourceName'];a124c=function(){return p;};return a124c();}const a124m=a124d;(function(a,b){const j=a124d,c=a();while(!![]){try{const d=-parseInt(j(0x1b6))/0x1+-parseInt(j(0x1c0))/0x2*(-parseInt(j(0x1cd))/0x3)+parseInt(j(0x1c2))/0x4*(-parseInt(j(0x1cb))/0x5)+-parseInt(j(0x1b2))/0x6*(parseInt(j(0x1ba))/0x7)+parseInt(j(0x1bf))/0x8*(-parseInt(j(0x1c1))/0x9)+-parseInt(j(0x1ad))/0xa+-parseInt(j(0x1ac))/0xb*(-parseInt(j(0x1c8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x79186));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a124d;if(c){const e=c[k(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const l=a124d;return a124a[l(0x1b4)]()[l(0x1bb)](l(0x1bd))[l(0x1b4)]()['constructor'](a124a)['search'](l(0x1bd));});a124a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1aa;let f=c[d];return f;},a124d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a124m(0x1be)]({'name':'service','aliases':['svc'],'usage':'maka\x20{generate,\x20g}:{service}\x20<resource-name>','shortDesc':a124m(0x1b5),'requiredOpts':[{'name':'type','values':[a124m(0x1c7)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a124m(0x1c5)]},async function(a,b){const n=a124m;try{const c=this['fsi'][n(0x1cc)]();await this['fsi'][n(0x1ca)](c,async()=>{const o=n,d=this['fsi'][o(0x1af)]({}),f=paramCase(b[o(0x1b8)]),g={'name':pascalCase(b['resourceName']),'fileName':f,'camelCase':camelCase(b[o(0x1b8)]),'type':b[o(0x1b1)],'engine':c[o(0x1ae)]['js'],'noRename':!![]};let h='js';c[o(0x1ae)]['js']===o(0x1c9)&&(h='ts');if(b[o(0x1b1)]==='logger'){!this[o(0x1c4)][o(0x1ab)]('winston')&&await this[o(0x1c4)][o(0x1b3)](o(0x1b9),{'cwd':d,'msg':o(0x1aa)});const i=this['fsi'][o(0x1af)]({'pathParts':[o(0x1bc),o(0x1b7),'lib',o(0x1c3),f+'.'+h]});await this[o(0x1c4)][o(0x1b0)]({'srcPath':'service/logger/logger.js','destPath':i,'context':g,'config':c});}});}catch(d){Log['error'](d);}});
1
+ const a124m=a124d;(function(a,b){const j=a124d,c=a();while(!![]){try{const d=parseInt(j(0x187))/0x1*(-parseInt(j(0x18a))/0x2)+parseInt(j(0x18f))/0x3*(-parseInt(j(0x196))/0x4)+-parseInt(j(0x17d))/0x5*(-parseInt(j(0x192))/0x6)+-parseInt(j(0x186))/0x7+parseInt(j(0x19b))/0x8*(-parseInt(j(0x18e))/0x9)+-parseInt(j(0x19f))/0xa*(parseInt(j(0x1a1))/0xb)+parseInt(j(0x199))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xb93e7));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a124d;if(c){const e=c[k(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const l=a124d;return a124a[l(0x19d)]()[l(0x180)]('(((.+)+)+)+$')[l(0x19d)]()['constructor'](a124a)['search']('(((.+)+)+)+$');});a124a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x17d;let f=c[d];return f;},a124d(a,b);}import{Log}from'../tools/log/log.class.js';function a124c(){const p=['9dviHhm','fsi','type','192378qtmXtz','logger','pathFromApp','error','1183636YpgXap','lib','installNpmPackage','39794376VcfRnv','service/logger/logger.js','81304SJIaDw','winston','toString','maka\x20{generate,\x20g}:{service}\x20<resource-name>','310OVMkjK','checkNpmPackage','37191fEVGmU','45enbZBC','Installing\x20winston','withValue','search','resourceName','startup','winston\x20setimmediate','engines','tsx','2518474Znekem','1bdzOBQ','create','services','2479222wyFRqn','service','apply','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','225GolcOE'];a124c=function(){return p;};return a124c();}Generator[a124m(0x188)]({'name':a124m(0x18b),'aliases':['svc'],'usage':a124m(0x19e),'shortDesc':a124m(0x18d),'requiredOpts':[{'name':a124m(0x191),'values':[a124m(0x193)]}],'validOpts':[],'maxArgLength':0x1,'examples':['maka\x20g:svc\x20service-logger\x20--type=logger']},async function(a,b){const n=a124m;try{const c=this[n(0x190)]['getMakaProjectConfig']();await this[n(0x190)][n(0x17f)](c,async()=>{const o=n,d=this[o(0x190)][o(0x194)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[o(0x181)]),'fileName':f,'camelCase':camelCase(b['resourceName']),'type':b[o(0x191)],'engine':c[o(0x184)]['js'],'noRename':!![]};let h='js';c['engines']['js']===o(0x185)&&(h='ts');if(b[o(0x191)]==='logger'){!this[o(0x190)][o(0x1a0)](o(0x19c))&&await this['fsi'][o(0x198)](o(0x183),{'cwd':d,'msg':o(0x17e)});const i=this[o(0x190)][o(0x194)]({'pathParts':['imports',o(0x182),o(0x197),o(0x189),f+'.'+h]});await this[o(0x190)]['template']({'srcPath':o(0x19a),'destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0x195)](d);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0x6b))/0x1*(parseInt(f(0x73))/0x2)+-parseInt(f(0x68))/0x3+parseInt(f(0x6d))/0x4*(parseInt(f(0x6f))/0x5)+parseInt(f(0x72))/0x6+parseInt(f(0x66))/0x7*(parseInt(f(0x74))/0x8)+-parseInt(f(0x6e))/0x9*(-parseInt(f(0x6c))/0xa)+-parseInt(f(0x65))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x5a787));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x67)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0x6a)]()[h(0x71)]('(((.+)+)+)+$')['toString']()[h(0x69)](a125a)[h(0x71)](h(0x70));});a125a();function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x65;var f=c[d];return f;},a125d(a,b);}import'./translation.js';import'./openssl.js';function a125c(){var i=['4015408imEosm','2431264EtUHtI','7SrVlWP','apply','1008894xhWmZM','constructor','toString','1XWeQRj','190ZmtWLz','436fdbSJv','98721mpWqrB','4330hxktQZ','(((.+)+)+)+$','search','785808LejvyC','15620MXRzSQ'];a125c=function(){return i;};return a125c();}
1
+ function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x11f;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x123))/0x1*(parseInt(f(0x12a))/0x2)+-parseInt(f(0x127))/0x3*(parseInt(f(0x129))/0x4)+parseInt(f(0x126))/0x5+-parseInt(f(0x124))/0x6*(-parseInt(f(0x121))/0x7)+-parseInt(f(0x122))/0x8+parseInt(f(0x120))/0x9*(-parseInt(f(0x125))/0xa)+parseInt(f(0x11f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x588bf));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a['toString']()['search']('(((.+)+)+)+$')['toString']()[h(0x12c)](a125a)[h(0x12b)]('(((.+)+)+)+$');});a125a();import'./translation.js';function a125c(){var i=['98180Bxibss','search','constructor','5192330BZhEuC','5084757ceYTDM','4568018fHUnda','3715304EHjCHk','1vvDbBR','6HVhWzk','10AbDInL','3609030IlDvjF','3yZFkov','apply','2013708PXyhiJ'];a125c=function(){return i;};return a125c();}import'./openssl.js';
@@ -1 +1 @@
1
- const a126l=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d=parseInt(i(0x1cf))/0x1*(parseInt(i(0x1d3))/0x2)+-parseInt(i(0x1cd))/0x3+parseInt(i(0x1c4))/0x4*(parseInt(i(0x1c6))/0x5)+-parseInt(i(0x1c3))/0x6+-parseInt(i(0x1b9))/0x7*(parseInt(i(0x1cc))/0x8)+-parseInt(i(0x1bf))/0x9+parseInt(i(0x1d5))/0xa*(parseInt(i(0x1c7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x4a1e8));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a126d;if(c){const e=c[j(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const k=a126d;return a126a[k(0x1ce)]()['search'](k(0x1ba))[k(0x1ce)]()['constructor'](a126a)['search'](k(0x1ba));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a126d(a,b);}a126a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a126e from'path';Generator['create']({'name':a126l(0x1cb),'usage':a126l(0x1c8),'shortDesc':a126l(0x1bb),'noNeedResource':!![],'requiredOpts':[a126l(0x1c5)],'examples':[a126l(0x1c1)],'validOpts':[]},async function(a,b){const m=a126l;try{const c=await this[m(0x1d1)][m(0x1d7)](),d=await this[m(0x1d1)][m(0x1be)](),f=this[m(0x1d1)][m(0x1d6)](b['env']),g=a126e[m(0x1ca)](f,m(0x1c2),m(0x1c9));await this[m(0x1d1)][m(0x1bd)](c,async()=>{const n=m,h={'app':d[n(0x1d4)],'noRename':!![]};await this[n(0x1d1)][n(0x1c0)]({'srcPath':'openssl/openssl.conf','destPath':g,'framework':n(0x1d0),'context':h,'config':c});});}catch(h){Log[m(0x1d2)](h);}});function a126c(){const o=['167916tthmtP','env','65agNQkR','33LGJlbg','maka\x20{generate,\x20g}:sslconfig','openssl.conf','join','sslconfig','23144JTgRGj','1014279pzspDn','toString','34ovVFvJ','service','fsi','error','10768ThWcYQ','appName','2493410pSjbXs','getAppConfigPath','getMakaProjectConfig','1344OaWBpS','(((.+)+)+)+$','Generate\x20a\x20new\x20openssl\x20config\x20file','apply','withValue','getGlobalConfig','1550970AwmrQK','template','maka\x20g:sslconfig\x20--env\x20dev','_keys','644010IGadVP'];a126c=function(){return o;};return a126c();}
1
+ const a126l=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d=parseInt(i(0x123))/0x1*(parseInt(i(0x124))/0x2)+-parseInt(i(0x11f))/0x3+parseInt(i(0x117))/0x4+-parseInt(i(0x11b))/0x5*(parseInt(i(0x121))/0x6)+parseInt(i(0x10e))/0x7+-parseInt(i(0x10b))/0x8+parseInt(i(0x10f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x2581d));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a126d;if(c){const e=c[j(0x116)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const k=a126d;return a126a[k(0x11d)]()[k(0x113)](k(0x115))[k(0x11d)]()[k(0x10c)](a126a)[k(0x113)](k(0x115));});a126a();function a126c(){const o=['1504376AMaMYS','constructor','_keys','1397935wYLtlR','237906KTjqSX','create','fsi','env','search','maka\x20g:sslconfig\x20--env\x20dev','(((.+)+)+)+$','apply','827584PZeqcA','openssl/openssl.conf','Generate\x20a\x20new\x20openssl\x20config\x20file','template','5HMExPY','join','toString','getAppConfigPath','762912iVXNVs','getGlobalConfig','484896GlpmJs','openssl.conf','34823vXqVKg','14TozMfP'];a126c=function(){return o;};return a126c();}import{Generator}from'../../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x10b;let f=c[d];return f;},a126d(a,b);}import{Log}from'../../tools/log/log.class.js';import a126e from'path';Generator[a126l(0x110)]({'name':'sslconfig','usage':'maka\x20{generate,\x20g}:sslconfig','shortDesc':a126l(0x119),'noNeedResource':!![],'requiredOpts':[a126l(0x112)],'examples':[a126l(0x114)],'validOpts':[]},async function(a,b){const m=a126l;try{const c=await this[m(0x111)]['getMakaProjectConfig'](),d=await this[m(0x111)][m(0x120)](),f=this['fsi'][m(0x11e)](b[m(0x112)]),g=a126e[m(0x11c)](f,m(0x10d),m(0x122));await this[m(0x111)]['withValue'](c,async()=>{const n=m,h={'app':d['appName'],'noRename':!![]};await this[n(0x111)][n(0x11a)]({'srcPath':n(0x118),'destPath':g,'framework':'service','context':h,'config':c});});}catch(h){Log['error'](h);}});
@@ -1 +1 @@
1
- const a127A=a127d;function a127c(){const D=['true','import\x20\x27../lib/services/translations/i18n\x27;\x0a','imports','service','1158odGcoi','findAppDirectory','6FubivR','i18n.js','setProjectConfig','engines','client','4497416TzgYrO','create','export\x20{\x20default\x20as\x20','services','index.','injectAtBeginningOfFile','5968945PrqOJD','maka\x20g:translation\x20--lang=en\x20(default)','376866FozIuB','i18n/index.js','56QOqNkl','index.js','i18next','constructor','53967PMCUAP','error','lang','getMakaProjectConfig','grep','i18n/locales.js','Generate\x20a\x20new\x20locale\x20translation','locales','withValue','server','i18next\x20i18next-browser-languagedetector\x20react-i18next','ssr','template','warn','isFile','root','maka\x20g:translation\x20--lang=fr','\x0a\x20\x20Generate\x20a\x20new\x20locale\x20translation\x20file.\x0a\x0a\x20\x20\x20\x20--lang\x20\x20The\x20language\x20code\x20for\x20the\x20new\x20locale\x20file.\x20(i.e.\x20en,\x20fr,\x20de)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20must\x20be\x20the\x20two\x20character\x20language\x20code.\x0a\x20\x20','381053LYQxSl','search','apply','i18n/i18n.js','toString','readFileSync','default\x20as\x20','pathFromApp','installNpmPackage','34153QADJRn','getGlobalConfig','fsi','.js','lib','startup','checkNpmPackage','translations','rewriteDestinationPathForEngine','(((.+)+)+)+$','10SkRXfW','Locale\x20already\x20exported:\x20','23131713guqiRQ','import\x20\x27../lib/services/translations/i18n\x27;','maka\x20g:translation\x20--lang=de','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','features.withTranslations'];a127c=function(){return D;};return a127c();}(function(a,b){const x=a127d,c=a();while(!![]){try{const d=-parseInt(x(0x1e0))/0x1+-parseInt(x(0x1bb))/0x2*(-parseInt(x(0x1ce))/0x3)+-parseInt(x(0x1c0))/0x4+-parseInt(x(0x1c6))/0x5+-parseInt(x(0x1b9))/0x6*(-parseInt(x(0x1a4))/0x7)+-parseInt(x(0x1ca))/0x8*(-parseInt(x(0x1c8))/0x9)+parseInt(x(0x1ae))/0xa*(parseInt(x(0x1b0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xa90c3));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a127d;if(c){const e=c[y(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const z=a127d;return a127a[z(0x1e4)]()[z(0x1e1)](z(0x1ad))[z(0x1e4)]()[z(0x1cd)](a127a)[z(0x1e1)](z(0x1ad));});a127a();function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a127d(a,b);}import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a127e from'fs';Generator[a127A(0x1c1)]({'name':'translation','usage':'maka\x20{generate,\x20g}:translation','aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a127A(0x1d0),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a127A(0x1d4),'description':a127A(0x1df),'examples':[a127A(0x1c7),a127A(0x1de),a127A(0x1b2)],'validOpts':[]},async function(a,b){const B=a127A;try{const c=this[B(0x1a6)][B(0x1d1)](),d=this[B(0x1a6)][B(0x1a5)](),f=this['fsi'][B(0x1ba)]();await this[B(0x1a6)][B(0x1d6)](c,async()=>{const C=B;try{!b[C(0x1d0)]&&(b[C(0x1d0)]='en');!b[C(0x1dd)]&&!this['fsi'][C(0x1aa)](C(0x1cc))&&(Log[C(0x1db)](C(0x1b3)),this[C(0x1a6)][C(0x1a3)](C(0x1d8),{'cwd':f}),this['fsi'][C(0x1bd)](C(0x1b4),!![]));const g=this['fsi'][C(0x1e7)]({'pathParts':['imports','startup',C(0x1bf),'index.js']}),h=this[C(0x1a6)][C(0x1ac)]({'pathParts':[g],'config':c}),i=this[C(0x1a6)][C(0x1d2)](a127e[C(0x1e5)](h)['toString'](),C(0x1b1))[0x0]&&!![];if(c[C(0x1be)][C(0x1d9)]===C(0x1b5)){!i&&this['fsi'][C(0x1c5)]({'filePath':h,'content':C(0x1b6)});const t=this['fsi'][C(0x1e7)]({'pathParts':[C(0x1b7),'startup',C(0x1d7),C(0x1cb)]}),u=this['fsi'][C(0x1ac)]({'pathParts':[t],'config':c}),v=this[C(0x1a6)]['grep'](a127e[C(0x1e5)](u)[C(0x1e4)](),C(0x1b1))[0x0]&&!![];!v&&this[C(0x1a6)]['injectAtBeginningOfFile']({'filePath':u,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});}else!i&&this[C(0x1a6)][C(0x1c5)]({'filePath':h,'content':C(0x1b6)});const j={'app':d['appName'],'config':c},k=this[C(0x1a6)][C(0x1e7)]({'pathParts':[C(0x1b7),C(0x1a9),C(0x1a8),C(0x1c3),C(0x1ab),C(0x1bc)]}),l=this[C(0x1a6)][C(0x1dc)](this[C(0x1a6)][C(0x1ac)]({'pathParts':[k],'config':c}));!l&&await this[C(0x1a6)][C(0x1da)]({'srcPath':C(0x1e3),'destPath':k,'framework':C(0x1b8),'context':j,'config':c});const m=this['fsi'][C(0x1e7)]({'pathParts':['imports',C(0x1a9),C(0x1a8),C(0x1c3),'translations','locales',b[C(0x1d0)]+C(0x1a7)]}),n=this[C(0x1a6)][C(0x1ac)]({'pathParts':[m],'config':c}),o=this[C(0x1a6)][C(0x1dc)](n);!o?await this['fsi'][C(0x1da)]({'srcPath':C(0x1d3),'destPath':m,'framework':C(0x1b8),'context':j,'config':c}):Log[C(0x1db)]('Locale\x20already\x20defined:\x20'+n);const p=this[C(0x1a6)][C(0x1e7)]({'pathParts':['imports',C(0x1a9),C(0x1a8),C(0x1c3),C(0x1ab),C(0x1d5),C(0x1c4)+c[C(0x1be)]['js']]}),q=this[C(0x1a6)][C(0x1ac)]({'pathParts':[p],'config':c}),r=this[C(0x1a6)]['isFile'](q);!r&&await this[C(0x1a6)][C(0x1da)]({'srcPath':C(0x1c9),'destPath':p,'framework':C(0x1b8),'context':j,'config':c});const s=this[C(0x1a6)][C(0x1d2)](a127e[C(0x1e5)](p)[C(0x1e4)](),C(0x1e6)+b[C(0x1d0)])[0x0]&&!![];!s?await this['fsi']['injectAtEndOfFile']({'filePath':p,'content':C(0x1c2)+b[C(0x1d0)]+'\x20}\x20from\x20\x27./'+b[C(0x1d0)]+'\x27;'}):Log[C(0x1db)](C(0x1af)+p);}catch(w){Log[C(0x1cf)](w),process['exit'](0x1);}});}catch(g){Log[B(0x1cf)](g),process['exit'](0x1);}});
1
+ const a127A=a127d;(function(a,b){const x=a127d,c=a();while(!![]){try{const d=parseInt(x(0x1a0))/0x1+parseInt(x(0x195))/0x2+-parseInt(x(0x18c))/0x3*(-parseInt(x(0x19d))/0x4)+parseInt(x(0x1a4))/0x5+-parseInt(x(0x17e))/0x6*(parseInt(x(0x16e))/0x7)+-parseInt(x(0x18b))/0x8*(parseInt(x(0x178))/0x9)+-parseInt(x(0x187))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x49646));function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x163;let f=c[d];return f;},a127d(a,b);}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a127d;if(c){const e=c[y(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const z=a127d;return a127a[z(0x1a2)]()[z(0x176)](z(0x163))['toString']()[z(0x185)](a127a)[z(0x176)](z(0x163));});function a127c(){const D=['translation','import\x20\x27../lib/services/translations/i18n\x27;\x0a','i18next\x20i18next-browser-languagedetector\x20react-i18next','constructor','maka\x20g:translation\x20--lang=en\x20(default)','1000230JwajMs','engines','pathFromApp','services','8vqQLWX','9zilfZy','index.js','getMakaProjectConfig','grep','features.withTranslations','injectAtBeginningOfFile','import\x20\x27../lib/services/translations/i18n\x27;','readFileSync','i18n.js','360470XsCfDb','installNpmPackage','setProjectConfig','lib','\x20}\x20from\x20\x27./','client','service','exit','235724LslXlF','warn','imports','381481BwnTmb','template','toString','default\x20as\x20','1169040vBoinP','isFile','lang','fsi','locales','(((.+)+)+)+$','root','Generate\x20a\x20new\x20locale\x20translation','Locale\x20already\x20defined:\x20','startup','i18n/i18n.js','checkNpmPackage','findAppDirectory','translations','i18n/index.js','getGlobalConfig','2509157NXcJTr','error','ssr','server','Locale\x20already\x20exported:\x20','apply','i18n/locales.js','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','search','maka\x20g:translation\x20--lang=de','1919061KcnHej','rewriteDestinationPathForEngine','export\x20{\x20default\x20as\x20','i18next','index.','create','6CaEIfw','true','maka\x20g:translation\x20--lang=fr','.js'];a127c=function(){return D;};return a127c();}a127a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a127e from'fs';Generator[a127A(0x17d)]({'name':a127A(0x182),'usage':'maka\x20{generate,\x20g}:translation','aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':'lang','boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a127A(0x165),'description':'\x0a\x20\x20Generate\x20a\x20new\x20locale\x20translation\x20file.\x0a\x0a\x20\x20\x20\x20--lang\x20\x20The\x20language\x20code\x20for\x20the\x20new\x20locale\x20file.\x20(i.e.\x20en,\x20fr,\x20de)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20must\x20be\x20the\x20two\x20character\x20language\x20code.\x0a\x20\x20','examples':[a127A(0x186),a127A(0x180),a127A(0x177)],'validOpts':[]},async function(a,b){const B=a127A;try{const c=this[B(0x1a7)][B(0x18e)](),d=this[B(0x1a7)][B(0x16d)](),f=this[B(0x1a7)][B(0x16a)]();await this[B(0x1a7)]['withValue'](c,async()=>{const C=B;try{!b[C(0x1a6)]&&(b[C(0x1a6)]='en');!b[C(0x164)]&&!this[C(0x1a7)][C(0x169)](C(0x17b))&&(Log[C(0x19e)](C(0x175)),this[C(0x1a7)][C(0x196)](C(0x184),{'cwd':f}),this[C(0x1a7)][C(0x197)](C(0x190),!![]));const g=this['fsi']['pathFromApp']({'pathParts':[C(0x19f),'startup',C(0x19a),'index.js']}),h=this[C(0x1a7)][C(0x179)]({'pathParts':[g],'config':c}),i=this[C(0x1a7)]['grep'](a127e['readFileSync'](h)['toString'](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];if(c['engines'][C(0x170)]===C(0x17f)){!i&&this['fsi'][C(0x191)]({'filePath':h,'content':C(0x183)});const t=this['fsi']['pathFromApp']({'pathParts':[C(0x19f),'startup',C(0x171),C(0x18d)]}),u=this['fsi'][C(0x179)]({'pathParts':[t],'config':c}),v=this[C(0x1a7)][C(0x18f)](a127e[C(0x193)](u)[C(0x1a2)](),C(0x192))[0x0]&&!![];!v&&this['fsi'][C(0x191)]({'filePath':u,'content':C(0x183)});}else!i&&this['fsi']['injectAtBeginningOfFile']({'filePath':h,'content':C(0x183)});const j={'app':d['appName'],'config':c},k=this[C(0x1a7)]['pathFromApp']({'pathParts':[C(0x19f),'startup','lib','services','translations',C(0x194)]}),l=this[C(0x1a7)][C(0x1a5)](this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[k],'config':c}));!l&&await this[C(0x1a7)]['template']({'srcPath':C(0x168),'destPath':k,'framework':C(0x19b),'context':j,'config':c});const m=this[C(0x1a7)][C(0x189)]({'pathParts':[C(0x19f),C(0x167),C(0x198),C(0x18a),'translations','locales',b['lang']+C(0x181)]}),n=this[C(0x1a7)][C(0x179)]({'pathParts':[m],'config':c}),o=this[C(0x1a7)][C(0x1a5)](n);!o?await this[C(0x1a7)]['template']({'srcPath':C(0x174),'destPath':m,'framework':'service','context':j,'config':c}):Log[C(0x19e)](C(0x166)+n);const p=this[C(0x1a7)]['pathFromApp']({'pathParts':[C(0x19f),C(0x167),C(0x198),C(0x18a),C(0x16b),C(0x1a8),C(0x17c)+c[C(0x188)]['js']]}),q=this[C(0x1a7)][C(0x179)]({'pathParts':[p],'config':c}),r=this[C(0x1a7)][C(0x1a5)](q);!r&&await this[C(0x1a7)][C(0x1a1)]({'srcPath':C(0x16c),'destPath':p,'framework':C(0x19b),'context':j,'config':c});const s=this[C(0x1a7)]['grep'](a127e[C(0x193)](p)[C(0x1a2)](),C(0x1a3)+b[C(0x1a6)])[0x0]&&!![];!s?await this[C(0x1a7)]['injectAtEndOfFile']({'filePath':p,'content':C(0x17a)+b[C(0x1a6)]+C(0x199)+b['lang']+'\x27;'}):Log[C(0x19e)](C(0x172)+p);}catch(w){Log[C(0x16f)](w),process[C(0x19c)](0x1);}});}catch(g){Log[B(0x16f)](g),process[B(0x19c)](0x1);}});
@@ -1 +1 @@
1
- const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(0x145))/0x1*(-parseInt(j(0x148))/0x2)+parseInt(j(0x157))/0x3+parseInt(j(0x151))/0x4*(parseInt(j(0x147))/0x5)+-parseInt(j(0x14b))/0x6+parseInt(j(0x149))/0x7+-parseInt(j(0x150))/0x8+-parseInt(j(0x14a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x6f3d5));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x14c)]()[l(0x15a)]('(((.+)+)+)+$')[l(0x14c)]()[l(0x144)](a128a)[l(0x15a)](l(0x14d));});a128a();import a128e from'minimist';import a128f from'os';import a128g from'path';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x143;let f=c[d];return f;},a128d(a,b);}import a128h from'humps';import a128i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a128m(0x146)]),__dirname=a128g['dirname'](__filename);global[a128m(0x156)]=__dirname;const total_memory=a128f['totalmem'](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math['floor'](total_mem_in_mb),process[a128m(0x14e)]['TOOL_NODE_FLAGS']=a128m(0x155)+total_mem_in_mb,process[a128m(0x14e)][a128m(0x152)]='1',process[a128m(0x14e)][a128m(0x158)]='1';const argv=a128e(process['argv'][a128m(0x14f)](0x2)),args=argv['_'],deepCopyArgv=JSON[a128m(0x143)](JSON[a128m(0x153)](argv));delete deepCopyArgv['_'];const opts=a128h[a128m(0x154)](deepCopyArgv);function a128c(){const n=['toString','(((.+)+)+)+$','env','slice','7036792ZTsLwT','32RUcCUw','BROWSERSLIST_IGNORE_OLD_DATA','stringify','camelizeKeys','--max-old-space-size=','MAKA_COMMAND_PATH','2514195jMYtXu','NODE_NO_WARNINGS','run','search','apply','parse','constructor','126807XRbNkE','url','192910AEFmZE','6XBFAjM','6329435BZdfaB','9634131xHTJid','153912oiPCcR'];a128c=function(){return n;};return a128c();}a128i[a128m(0x159)](args,opts);
1
+ const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0xa9))/0x1+-parseInt(j(0xa3))/0x2*(parseInt(j(0x97))/0x3)+parseInt(j(0x96))/0x4+parseInt(j(0x9d))/0x5+parseInt(j(0xaf))/0x6*(-parseInt(j(0xad))/0x7)+-parseInt(j(0x98))/0x8+parseInt(j(0x9b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xad05b));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x9a)]()[l(0x9c)]('(((.+)+)+)+$')['toString']()[l(0xa7)](a128a)['search'](l(0xac));});a128a();import a128e from'minimist';import a128f from'os';function a128c(){const n=['slice','(((.+)+)+)+$','7EyBNzI','argv','3039540SuqWai','camelizeKeys','3776704xZzwuI','1662umfnLj','7033184MJUpjd','BROWSERSLIST_IGNORE_OLD_DATA','toString','2265489azfBgU','search','5203535maqwrC','--max-old-space-size=','parse','apply','floor','MAKA_COMMAND_PATH','3054bwuSEh','run','url','env','constructor','TOOL_NODE_FLAGS','703791fANpZT','NODE_NO_WARNINGS'];a128c=function(){return n;};return a128c();}import a128g from'path';import a128h from'humps';import a128i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a128m(0xa5)]),__dirname=a128g['dirname'](__filename);global[a128m(0xa2)]=__dirname;const total_memory=a128f['totalmem'](),total_mem_in_kb=total_memory/0x400;function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x95;let f=c[d];return f;},a128d(a,b);}let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a128m(0xa1)](total_mem_in_mb),process['env'][a128m(0xa8)]=a128m(0x9e)+total_mem_in_mb,process[a128m(0xa6)][a128m(0x99)]='1',process[a128m(0xa6)][a128m(0xaa)]='1';const argv=a128e(process[a128m(0xae)][a128m(0xab)](0x2)),args=argv['_'],deepCopyArgv=JSON[a128m(0x9f)](JSON['stringify'](argv));delete deepCopyArgv['_'];const opts=a128h[a128m(0x95)](deepCopyArgv);a128i[a128m(0xa4)](args,opts);
@@ -19,6 +19,6 @@
19
19
  "type": "git"
20
20
  },
21
21
  "devDependencies": {
22
- "@maka/maka-cli": "^4.9.4"
22
+ "@maka/maka-cli": "^4.9.6"
23
23
  }
24
24
  }
@@ -1 +1 @@
1
- const a129L=a129d;(function(a,b){const I=a129d,c=a();while(!![]){try{const d=parseInt(I(0x14f))/0x1+parseInt(I(0x164))/0x2+-parseInt(I(0x171))/0x3*(-parseInt(I(0x15a))/0x4)+parseInt(I(0x16e))/0x5*(parseInt(I(0x155))/0x6)+-parseInt(I(0x149))/0x7+parseInt(I(0x16b))/0x8+-parseInt(I(0x167))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xd693d));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a129d;if(c){const e=c[J(0x156)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const K=a129d;return a129a[K(0x146)]()[K(0x182)]('(((.+)+)+)+$')['toString']()[K(0x159)](a129a)[K(0x182)](K(0x16f));});a129a();import a129e from'path';import a129f from'os';import a129g from'fs';const homeDir=a129f[a129L(0x142)]();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';function a129c(){const a2=['getShortName','remapShortToLong','35021934vJqJni','\x20installed\x20to\x20use\x20this\x20command.','name','find','11321912SrDNZe','includes','You\x20must\x20have\x20','50cbzTVR','(((.+)+)+)+$','match','4920tpHeUh','validateParams','map','engines','concat','indexOf','AppData','every','env','roles','push','.meteor','getMakaProjectConfig','validateEngines','join','\x20version\x20','aliases','search','usage','validateMeteorInstall','Invalid\x20value\x20for\x20','isGenerator','getPro','description','examples','domainLicense','keys','proGenerators','singleLicense','fsi','parent','To\x20use\x20this\x20generator,\x20\x22','ask','list','homedir','Please\x20provide\x20a\x20valid\x20argument\x20for\x20','_handler','NIE','toString','string','validateMakaProject','5247214omLLDL','validateMakaSubscription','formatToNamedParam','charAt','Please\x20choose\x20a\x20value\x20for\x20','assign','1375494gufqGu','No\x20description\x20provided.','Please\x20provide\x20a\x20resource\x20name:','isCommand','exit','error','81870tqMAOr','apply','None','findProjectDirectory','constructor','2956IAoKeY','Invalid\x20argument:\x20','length','docker','Please\x20choose\x20a\x20valid\x20value\x20for\x20','resourceName','proCommands','options','No\x20usage\x20provided.','existsSync','2761388yiJndJ'];a129c=function(){return a2;};return a129c();}import{Log}from'./tools/log/log.class.js';import{Actions}from'./tools/actions/actions.class.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x13f;let f=c[d];return f;},a129d(a,b);}import{UsageError}from'./error.js';export class Tool{['docker'];['fsi'];[a129L(0x161)];[a129L(0x169)];[a129L(0x18f)];[a129L(0x144)];constructor(){const M=a129L;this[M(0x15d)]=new Docker(),this[M(0x18e)]=new FSI();}[a129L(0x165)](a){const N=a129L;return a[N(0x14c)](0x0);}[a129L(0x166)](a,b){const O=a129L,c=this[O(0x14b)](b),d={...a};for(const e of c){const f=this[O(0x165)](e[O(0x169)]);a[f]&&(d[e[O(0x169)]]=a[f],delete d[f]);}return d;}[a129L(0x14b)](a){const P=a129L;if(a[P(0x178)](b=>typeof b===P(0x147)))return a[P(0x173)](b=>({'name':b}));return a;}['match'](a){const Q=a129L,b=[this[Q(0x169)]][Q(0x175)](this[Q(0x161)][Q(0x181)]||[]);return this[Q(0x18f)]&&b['push'](this[Q(0x18f)]),b[Q(0x16c)](a);}[a129L(0x148)](){const R=a129L,a=this['fsi'][R(0x158)]();return a!==![]?!![]:![];}[a129L(0x184)](){const S=a129L;let a=a129e['join'](homeDir,S(0x17c));const b=process['platform']==='win32';if(b){a=a129e[S(0x17f)](homeDir,S(0x177),'Local',S(0x17c));if(!a129g[S(0x163)](a))return![];}else{if(!a129g[S(0x163)](a))return![];}return!![];}[a129L(0x17e)](a){const T=a129L,b=this[T(0x18e)][T(0x17d)](),c=b[T(0x174)],d=Object[T(0x18b)](a);if(d[T(0x15c)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[T(0x154)](T(0x16d)+e+T(0x180)+a[e]+T(0x168));throw UsageError;}}}async[a129L(0x172)](a,b,c){const U=a129L,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object['keys'](b);if(h[U(0x16c)](U(0x15f))&&b[U(0x15f)]===undefined&&!g){const m=await Actions[U(0x140)](U(0x151));b[U(0x15f)]=m;}let i=[],j=b;if(d){i=this['formatToNamedParam'](d),j=this[U(0x166)](b,i);if(i&&i?.[U(0x15c)]>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object['keys'](j)[U(0x16c)](o)){if(o===U(0x179)){const r=this[U(0x18e)]['getAppProjectConfigs'](),s=await Actions[U(0x161)]({'type':U(0x141),'name':U(0x179),'message':'Please\x20choose\x20an\x20environment','choices':r});b['env']=s['env'];}else{const t=p;if(t){const u=await Actions[U(0x161)]({'type':'list','name':o,'message':U(0x14d)+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[U(0x140)]('Please\x20provide\x20a\x20value\x20for\x20'+o);if(v[U(0x170)](q))b[o]=v;else{Log[U(0x154)](U(0x185)+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions[U(0x140)]('Please\x20provide\x20a\x20value\x20for\x20'+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p[U(0x16c)](x)){Log[U(0x154)](U(0x185)+o+':\x20'+x);throw new UsageError();}}}}let k=this[U(0x14b)](f),l=b;if(k&&Object['keys'](k)?.[U(0x15c)]>0x0){k=k['concat'](i||[]),k['push']({'name':U(0x15f),'hidden':!![]}),k[U(0x17b)]({'name':'help','boolFlag':!![]}),k[U(0x17b)]({'name':'dir','hidden':!![]}),k[U(0x17b)]({'name':'cwd','hidden':!![]}),k['push']({'name':'root','hidden':!![]}),k[U(0x17b)]({'name':'config','hidden':!![]}),l=this['remapShortToLong'](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A[U(0x16c)](B))){const C=A;if(C){const D=await Actions[U(0x161)]({'type':U(0x141),'name':z,'message':U(0x15e)+z,'choices':A});l[z]=D[z];}}if(k['length']>0x0)for(const E of Object[U(0x18b)](l)){const F=k[U(0x16a)](G=>G[U(0x169)]===E);if(!F){Log[U(0x154)]('Invalid\x20option:\x20'+E);throw new UsageError();}}}}if(e&&e?.[U(0x15c)]>0x0)for(const G of e){if(!e[U(0x16c)](G)){Log[U(0x154)](U(0x15b)+G);const H=await Actions['ask'](U(0x143)+G);a[a[U(0x176)](G)]=H;}}return Object[U(0x14e)](j,l);}async[a129L(0x14a)](a){const V=a129L;try{if(!a)return;const b=await this[V(0x18e)][V(0x187)]();!b&&(Log[V(0x154)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.meteor/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[V(0x153)](0x1));const c=!b?.[V(0x17a)][V(0x16c)](V(0x18d))&&!b?.[V(0x17a)]['includes'](V(0x18a));if(this[V(0x152)](a)){const d='To\x20use\x20this\x20command,\x20\x22'+a[V(0x169)]+'\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27';if(a[V(0x161)]['disableAuthCheck'])return;const f=b?.[V(0x160)][V(0x16c)](a[V(0x169)])||b?.[V(0x160)][V(0x16c)](a[V(0x18f)]||'')||this['options']['isPro'];if(f&&c)throw d;}else{if(this[V(0x186)](a)){const g=b?.[V(0x18c)][V(0x16c)](a['name'])||b?.[V(0x18c)]['includes'](a[V(0x18f)]||'');if(g&&c)throw V(0x13f)+a[V(0x169)]+'\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27';}}}catch(h){Log[V(0x154)](h),process[V(0x153)](0x1);}}[a129L(0x152)](a){return'options'in a;}[a129L(0x186)](a){const W=a129L;return!(W(0x161)in a);}[a129L(0x188)](){const X=a129L;return this['options'][X(0x188)]||this[X(0x161)]['shortDesc']||X(0x150);}['shortDesc'](){const Y=a129L;return this['options']['shortDesc']||Y(0x145);}[a129L(0x183)](){const Z=a129L;return this[Z(0x161)][Z(0x183)]||Z(0x162);}[a129L(0x189)](){const a0=a129L;return this[a0(0x161)][a0(0x189)]||[];}[a129L(0x181)](){const a1=a129L;return this['options'][a1(0x181)]||a1(0x157);}}
1
+ const a129L=a129d;(function(a,b){const I=a129d,c=a();while(!![]){try{const d=-parseInt(I(0xed))/0x1+parseInt(I(0xe7))/0x2+-parseInt(I(0x128))/0x3*(parseInt(I(0x107))/0x4)+parseInt(I(0xe6))/0x5*(parseInt(I(0x10b))/0x6)+-parseInt(I(0xe8))/0x7*(parseInt(I(0x111))/0x8)+parseInt(I(0xd1))/0x9*(parseInt(I(0x127))/0xa)+parseInt(I(0x117))/0xb*(parseInt(I(0xeb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x1cb46));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a129d;if(c){const e=c[J(0xe1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const K=a129d;return a129a[K(0x122)]()[K(0xf8)](K(0x119))['toString']()[K(0xf9)](a129a)['search'](K(0x119));});a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xcd;let f=c[d];return f;},a129d(a,b);}function a129c(){const a2=['(((.+)+)+)+$','fsi','config','keys','No\x20usage\x20provided.','homedir','Please\x20choose\x20an\x20environment','To\x20use\x20this\x20command,\x20\x22','cwd','toString','env','getMakaProjectConfig','win32','isCommand','20RTNPub','66819unYNES','Local','list','findProjectDirectory','parent','466146oHUpfF','isGenerator','error','includes','options','find','.meteor','length','every','To\x20use\x20this\x20generator,\x20\x22','aliases','Please\x20provide\x20a\x20valid\x20argument\x20for\x20','join','existsSync','roles','getPro','apply','map','string','Please\x20choose\x20a\x20value\x20for\x20','match','1270JtCskq','345158kqvGim','7WllzcZ','usage','validateEngines','8952tibAoI','indexOf','112936aDhWAc','proCommands','resourceName','remapShortToLong','formatToNamedParam','dir','examples','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.meteor/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','ask','getShortName','root','search','constructor','concat','NIE','engines','platform','Invalid\x20value\x20for\x20','\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27','singleLicense','_handler','AppData','description','No\x20description\x20provided.','help','isPro','32xbaASv','disableAuthCheck','Please\x20provide\x20a\x20resource\x20name:','validateMakaProject','996vpeTmZ','getAppProjectConfigs','Please\x20provide\x20a\x20value\x20for\x20','shortDesc','Invalid\x20argument:\x20','proGenerators','1359928OLYLfl','docker','push','name','You\x20must\x20have\x20','exit','3839AIJMnL','Please\x20choose\x20a\x20valid\x20value\x20for\x20'];a129c=function(){return a2;};return a129c();}import a129e from'path';import a129f from'os';import a129g from'fs';const homeDir=a129f[a129L(0x11e)]();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError}from'./error.js';export class Tool{['docker'];[a129L(0x11a)];['options'];[a129L(0x114)];[a129L(0xd0)];[a129L(0x101)];constructor(){const M=a129L;this[M(0x112)]=new Docker(),this[M(0x11a)]=new FSI();}['getShortName'](a){return a['charAt'](0x0);}[a129L(0xf0)](a,b){const N=a129L,c=this[N(0xf1)](b),d={...a};for(const e of c){const f=this[N(0xf6)](e[N(0x114)]);a[f]&&(d[e[N(0x114)]]=a[f],delete d[f]);}return d;}[a129L(0xf1)](a){const O=a129L;if(a[O(0xd9)](b=>typeof b===O(0xe3)))return a[O(0xe2)](b=>({'name':b}));return a;}[a129L(0xe5)](a){const P=a129L,b=[this['name']]['concat'](this[P(0xd5)][P(0xdb)]||[]);return this[P(0xd0)]&&b[P(0x113)](this[P(0xd0)]),b[P(0xd4)](a);}[a129L(0x10a)](){const Q=a129L,a=this['fsi'][Q(0xcf)]();return a!==![]?!![]:![];}['validateMeteorInstall'](){const R=a129L;let a=a129e[R(0xdd)](homeDir,R(0xd7));const b=process[R(0xfd)]===R(0x125);if(b){a=a129e[R(0xdd)](homeDir,R(0x102),R(0xcd),R(0xd7));if(!a129g['existsSync'](a))return![];}else{if(!a129g[R(0xde)](a))return![];}return!![];}[a129L(0xea)](a){const S=a129L,b=this[S(0x11a)][S(0x124)](),c=b[S(0xfc)],d=Object[S(0x11c)](a);if(d[S(0xd8)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[S(0xd3)](S(0x115)+e+'\x20version\x20'+a[e]+'\x20installed\x20to\x20use\x20this\x20command.');throw UsageError;}}}async['validateParams'](a,b,c){const T=a129L,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object[T(0x11c)](b);if(h[T(0xd4)](T(0xef))&&b[T(0xef)]===undefined&&!g){const m=await Actions[T(0xf5)](T(0x109));b[T(0xef)]=m;}let i=[],j=b;if(d){i=this[T(0xf1)](d),j=this[T(0xf0)](b,i);if(i&&i?.[T(0xd8)]>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object[T(0x11c)](j)[T(0xd4)](o)){if(o==='env'){const r=this[T(0x11a)][T(0x10c)](),s=await Actions['options']({'type':T(0xce),'name':'env','message':T(0x11f),'choices':r});b[T(0x123)]=s[T(0x123)];}else{const t=p;if(t){const u=await Actions[T(0xd5)]({'type':'list','name':o,'message':T(0xe4)+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[T(0xf5)](T(0x10d)+o);if(v[T(0xe5)](q))b[o]=v;else{Log['error'](T(0xfe)+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions['ask'](T(0x10d)+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p[T(0xd4)](x)){Log['error']('Invalid\x20value\x20for\x20'+o+':\x20'+x);throw new UsageError();}}}}let k=this['formatToNamedParam'](f),l=b;if(k&&Object[T(0x11c)](k)?.['length']>0x0){k=k[T(0xfa)](i||[]),k[T(0x113)]({'name':T(0xef),'hidden':!![]}),k['push']({'name':T(0x105),'boolFlag':!![]}),k[T(0x113)]({'name':T(0xf2),'hidden':!![]}),k['push']({'name':T(0x121),'hidden':!![]}),k['push']({'name':T(0xf7),'hidden':!![]}),k[T(0x113)]({'name':T(0x11b),'hidden':!![]}),l=this['remapShortToLong'](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A[T(0xd4)](B))){const C=A;if(C){const D=await Actions[T(0xd5)]({'type':T(0xce),'name':z,'message':T(0x118)+z,'choices':A});l[z]=D[z];}}if(k[T(0xd8)]>0x0)for(const E of Object[T(0x11c)](l)){const F=k[T(0xd6)](G=>G[T(0x114)]===E);if(!F){Log[T(0xd3)]('Invalid\x20option:\x20'+E);throw new UsageError();}}}}if(e&&e?.['length']>0x0)for(const G of e){if(!e[T(0xd4)](G)){Log[T(0xd3)](T(0x10f)+G);const H=await Actions[T(0xf5)](T(0xdc)+G);a[a[T(0xec)](G)]=H;}}return Object['assign'](j,l);}async['validateMakaSubscription'](a){const U=a129L;try{if(!a)return;const b=await this[U(0x11a)][U(0xe0)]();!b&&(Log[U(0xd3)](U(0xf4)),process['exit'](0x1));const c=!b?.[U(0xdf)][U(0xd4)](U(0x100))&&!b?.[U(0xdf)]['includes']('domainLicense');if(this[U(0x126)](a)){const d=U(0x120)+a[U(0x114)]+U(0xff);if(a[U(0xd5)][U(0x108)])return;const f=b?.['proCommands'][U(0xd4)](a[U(0x114)])||b?.[U(0xee)][U(0xd4)](a['parent']||'')||this[U(0xd5)][U(0x106)];if(f&&c)throw d;}else{if(this[U(0xd2)](a)){const g=b?.[U(0x110)][U(0xd4)](a['name'])||b?.[U(0x110)]['includes'](a[U(0xd0)]||'');if(g&&c)throw U(0xda)+a[U(0x114)]+U(0xff);}}}catch(h){Log[U(0xd3)](h),process[U(0x116)](0x1);}}['isCommand'](a){const V=a129L;return V(0xd5)in a;}[a129L(0xd2)](a){const W=a129L;return!(W(0xd5)in a);}['description'](){const X=a129L;return this[X(0xd5)][X(0x103)]||this[X(0xd5)][X(0x10e)]||X(0x104);}[a129L(0x10e)](){const Y=a129L;return this[Y(0xd5)][Y(0x10e)]||Y(0xfb);}[a129L(0xe9)](){const Z=a129L;return this[Z(0xd5)]['usage']||Z(0x11d);}[a129L(0xf3)](){const a0=a129L;return this[a0(0xd5)][a0(0xf3)]||[];}['aliases'](){const a1=a129L;return this[a1(0xd5)][a1(0xdb)]||'None';}}
@@ -1 +1 @@
1
- function a130c(){const k=['password','constructor','options','24ohdGgJ','834295ZQznhd','1230278xERpJb','toString','input','4224830pEdYWB','(((.+)+)+)+$','58882BLPypM','confirm','10872TANQQv','673110ndeJiM','search','23518yvUuVZ','answer','42duQQEa','ask','8nveRka','147VWJzYo','2374362NYVVit'];a130c=function(){return k;};return a130c();}const a130h=a130d;(function(a,b){const f=a130d,c=a();while(!![]){try{const d=parseInt(f(0xd6))/0x1+parseInt(f(0xc6))/0x2*(-parseInt(f(0xd0))/0x3)+-parseInt(f(0xd5))/0x4*(-parseInt(f(0xc9))/0x5)+-parseInt(f(0xcd))/0x6*(parseInt(f(0xd7))/0x7)+-parseInt(f(0xcf))/0x8*(-parseInt(f(0xd1))/0x9)+-parseInt(f(0xc4))/0xa+parseInt(f(0xcb))/0xb*(parseInt(f(0xc8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xb67ef));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const g=a130d;return a130a['toString']()['search'](g(0xc5))[g(0xc2)]()[g(0xd3)](a130a)[g(0xca)](g(0xc5));});a130a();import a130e from'inquirer';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xc2;let f=c[d];return f;},a130d(a,b);}export class Actions{static async[a130h(0xce)](a,b){const i=a130h,{answer:c}=await a130e['prompt']({'type':b?i(0xd2):i(0xc3),'name':i(0xcc),'message':a});return c;}static async[a130h(0xc7)](a,b=![]){const j=a130h,{answer:c}=await a130e['prompt']({'type':j(0xc7),'name':j(0xcc),'message':a,'default':b});return c;}static async[a130h(0xd4)](a){const b=await a130e['prompt'](a);return b;}}
1
+ const a130i=a130d;(function(a,b){const f=a130d,c=a();while(!![]){try{const d=parseInt(f(0xe6))/0x1+-parseInt(f(0xf1))/0x2+-parseInt(f(0xf8))/0x3*(-parseInt(f(0xf6))/0x4)+parseInt(f(0xf2))/0x5+-parseInt(f(0xe5))/0x6*(parseInt(f(0xec))/0x7)+parseInt(f(0xed))/0x8*(parseInt(f(0xe8))/0x9)+-parseInt(f(0xeb))/0xa*(parseInt(f(0xee))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x493c1));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a130d;if(c){const e=c[g(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0xe7)]()[h(0xf5)]('(((.+)+)+)+$')['toString']()['constructor'](a130a)[h(0xf5)](h(0xef));});a130a();function a130c(){const m=['287qhIMwk','8PfKqLu','187PoNpMK','(((.+)+)+)+$','confirm','203644TDbVsN','2245510uplJec','apply','ask','search','104212feTacZ','answer','69udOwKA','options','85494wcIiAL','405685hRcign','toString','3056517EjYdyk','input','prompt','475070pErePR'];a130c=function(){return m;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xe5;let f=c[d];return f;},a130d(a,b);}import a130e from'inquirer';export class Actions{static async[a130i(0xf4)](a,b){const j=a130i,{answer:c}=await a130e[j(0xea)]({'type':b?'password':j(0xe9),'name':j(0xf7),'message':a});return c;}static async[a130i(0xf0)](a,b=![]){const k=a130i,{answer:c}=await a130e[k(0xea)]({'type':'confirm','name':k(0xf7),'message':a,'default':b});return c;}static async[a130i(0xf9)](a){const l=a130i,b=await a130e[l(0xea)](a);return b;}}