@maka/maka-cli 5.0.12 → 5.0.14

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 (167) hide show
  1. package/bundle/obf/package.json +2 -3
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/test.js +1 -1
  100. package/bundle/obf/src/commands/undo.js +1 -1
  101. package/bundle/obf/src/commands/version.js +1 -1
  102. package/bundle/obf/src/error.js +1 -1
  103. package/bundle/obf/src/exec.js +1 -1
  104. package/bundle/obf/src/generator.js +1 -1
  105. package/bundle/obf/src/generators/_index.js +1 -1
  106. package/bundle/obf/src/generators/api.js +1 -1
  107. package/bundle/obf/src/generators/aws/_index.js +1 -1
  108. package/bundle/obf/src/generators/aws/aws.js +1 -1
  109. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  112. package/bundle/obf/src/generators/collection.js +1 -1
  113. package/bundle/obf/src/generators/component.js +1 -1
  114. package/bundle/obf/src/generators/config.js +1 -1
  115. package/bundle/obf/src/generators/dbc.js +1 -1
  116. package/bundle/obf/src/generators/dockerfile.js +1 -1
  117. package/bundle/obf/src/generators/hook.js +1 -1
  118. package/bundle/obf/src/generators/kits/_index.js +1 -1
  119. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/kit.js +1 -1
  127. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  131. package/bundle/obf/src/generators/layout.js +1 -1
  132. package/bundle/obf/src/generators/maka.gen.js +1 -1
  133. package/bundle/obf/src/generators/methods.js +1 -1
  134. package/bundle/obf/src/generators/package.js +1 -1
  135. package/bundle/obf/src/generators/page.js +1 -1
  136. package/bundle/obf/src/generators/publish.js +1 -1
  137. package/bundle/obf/src/generators/route.js +1 -1
  138. package/bundle/obf/src/generators/service.js +1 -1
  139. package/bundle/obf/src/generators/services/_index.js +1 -1
  140. package/bundle/obf/src/generators/services/openssl.js +1 -1
  141. package/bundle/obf/src/generators/services/translation.js +1 -1
  142. package/bundle/obf/src/maka.js +1 -1
  143. package/bundle/obf/src/tool.js +1 -1
  144. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  145. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -0
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -0
  157. package/bundle/obf/src/tools/options/options.class.js +1 -1
  158. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -0
  159. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  160. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -0
  161. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  162. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  164. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  166. package/package.json +2 -3
  167. package/bundle/obf/src/commands/patreon.js +0 -1
@@ -1 +1 @@
1
- const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=-parseInt(g(0x139))/0x1+-parseInt(g(0x134))/0x2*(-parseInt(g(0x13d))/0x3)+parseInt(g(0x13c))/0x4+-parseInt(g(0x12f))/0x5+parseInt(g(0x135))/0x6+-parseInt(g(0x140))/0x7+parseInt(g(0x13f))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x85ece));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0x125)]()[i(0x142)](i(0x136))[i(0x125)]()[i(0x133)](a130a)[i(0x142)](i(0x136));});function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x122;let f=c[d];return f;},a130d(a,b);}function a130c(){const l=['auth','kit:mui:frame','frame','fsi','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','3469375jzhWXC','findProjectDirectory','apply','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','constructor','20YcRuOZ','1272774aROIzl','(((.+)+)+)+$','notice','length','312105yzqhxT','No\x20MUI\x20kits\x20selected.\x20Exiting.','mui','3842340kdPINJ','318912KfvJfZ','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','878136RwJdlJ','5536881hOTCGU','maka\x20g:kit:m','search','kitChoices','Material-UI\x20Kit','info','options','processAndRunGenerator','toString','Header,\x20Footer,\x20and\x20Drawer','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','checkbox','includes'];a130c=function(){return l;};return a130c();}a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'../kit.js';const MuiGen=Generator['create']({'name':a130j(0x13b),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a130j(0x144),'validOpts':[''],'isPro':!![],'examples':[a130j(0x141)]},async function(){const k=a130j;Log['info'](k(0x13e)),Log[k(0x137)](k(0x132));const {kitChoices:a}=await Actions[k(0x123)]({'type':k(0x128),'name':k(0x143),'message':k(0x12e),'choices':[{'name':k(0x126),'value':k(0x12c)},{'name':k(0x127),'value':k(0x12a)}]}),b=this[k(0x12d)][k(0x130)](),c=this[k(0x12d)]['getMakaProjectConfig']();a[k(0x129)](k(0x12c))&&await a130e[k(0x124)](k(0x12b),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x12a))&&await a130e[k(0x124)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0x138)]===0x0){Log[k(0x122)](k(0x13a));return;}},async function(){},a130f);export default MuiGen;
1
+ const a129i=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=-parseInt(g(0x1c3))/0x1+-parseInt(g(0x1b3))/0x2*(-parseInt(g(0x1d4))/0x3)+parseInt(g(0x1c6))/0x4+-parseInt(g(0x1c2))/0x5*(parseInt(g(0x1cb))/0x6)+-parseInt(g(0x1d0))/0x7+-parseInt(g(0x1be))/0x8+parseInt(g(0x1b6))/0x9*(parseInt(g(0x1b7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x827e4));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const h=a129d;return a129a['toString']()[h(0x1bf)](h(0x1d5))[h(0x1bc)]()['constructor'](a129a)[h(0x1bf)](h(0x1d5));});a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a129d(a,b);}import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a129c(){const k=['Material-UI\x20Kit','18sIpLHL','mui','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','auth','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','5967598AEAOcU','fsi','getMakaProjectConfig','maka\x20g:kit:m','774AnGxlr','(((.+)+)+)+$','frame','7066QZollj','create','info','63XyfFhw','1325870kProov','kit:mui:auth','No\x20MUI\x20kits\x20selected.\x20Exiting.','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','cfg','toString','kit:mui:frame','3768384nFrMyP','search','notice','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','712870eEhfSQ','96068BKyoWr','options','processAndRunGenerator','2168916ezPEDY','kitChoices','includes','checkbox'];a129c=function(){return k;};return a129c();}import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';const MuiGen=Generator[a129i(0x1b4)]({'name':a129i(0x1cc),'aliases':['m'],'usage':a129i(0x1c1),'noNeedResource':!![],'shortDesc':a129i(0x1ca),'validOpts':[''],'isPro':!![],'examples':[a129i(0x1d3)]},async function(){const j=a129i;Log[j(0x1b5)](j(0x1cd)),Log[j(0x1c0)]('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const {kitChoices:a}=await Actions[j(0x1c4)]({'type':j(0x1c9),'name':j(0x1c7),'message':j(0x1cf),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':j(0x1b2)},{'name':j(0x1ba),'value':j(0x1ce)}]}),b=this[j(0x1d1)]['findProjectDirectory'](),c=this[j(0x1bb)][j(0x1d2)]();a['includes']('frame')&&await a129e[j(0x1c5)](j(0x1bd),[],{'force':!![],'cwd':b,'config':c});a[j(0x1c8)]('auth')&&await a129e['processAndRunGenerator'](j(0x1b8),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[j(0x1b5)](j(0x1b9));return;}},async function(){},a129f);export default MuiGen;
@@ -1 +1 @@
1
- const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0xb3))/0x1+-parseInt(l(0xb6))/0x2*(parseInt(l(0xb4))/0x3)+-parseInt(l(0xb9))/0x4+-parseInt(l(0xae))/0x5*(-parseInt(l(0xad))/0x6)+-parseInt(l(0xa8))/0x7*(parseInt(l(0xa7))/0x8)+-parseInt(l(0xaa))/0x9+parseInt(l(0xa1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xb88e8));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0xab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a['toString']()['search']('(((.+)+)+)+$')[n(0xb2)]()[n(0xa5)](a131a)[n(0x94)]('(((.+)+)+)+$');});a131a();import a131e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x82;let f=c[d];return f;},a131d(a,b);}function a131c(){const r=['true','4899272MSXHuj','7iAeFcE','withHook','8283222UfEblq','apply','fileName','150juoNyY','144995gbYRMr','.app-tests.js','.js','engines','toString','216093asFlyX','3bUEJQx','relative','1585044nrHtZL','graphql','ramda','297584ZPwoTL','withHooks','resourceName','split','css','test/test.js','assign','pathFromApp','className','ssr','none','checkNpmPackage','theme','setTemplate','installNpmPackage','maka\x20g:layout\x20mobile/iPhone8','layout','import\x20\x27./','warn','search','dir','hook/hook.js','template/template.css','features','string','.css','test','withValue','includes','fsi','react','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','26467470RuAJif','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','template','getMakaProjectConfig','constructor'];a131c=function(){return r;};return a131c();}Generator['create']({'name':a131o(0x91),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a131o(0xa9)],'examples':[a131o(0x90),'maka\x20g:l\x20web/safari']},async function(a,b){const p=a131o,c='/imports/ui/layouts',d=this[p(0x9e)]['findAppDirectory'](),e=this[p(0x9e)][p(0x88)]({'pathParts':[c,b[p(0x95)],paramCase(b['resourceName']),paramCase(b[p(0x83)])]}),f=this[p(0x9e)][p(0xa4)]();await this[p(0x9e)][p(0x9c)](f,async()=>{const q=p;typeof f[q(0xa3)][q(0x9b)]===q(0x99)&&(f[q(0xa3)][q(0x9b)]=f['template'][q(0x9b)]===q(0xa6)?!![]:![],this[q(0x9e)][q(0x8e)](q(0x9b),f[q(0xa3)][q(0x9b)]));typeof f[q(0xa3)]['css']===q(0x99)&&(f[q(0xa3)][q(0x85)]=f['template'][q(0x85)]==='true'?!![]:![],this[q(0x9e)][q(0x8e)](q(0x85),f[q(0xa3)][q(0x85)]));typeof f['template']['js']==='string'&&(f[q(0xa3)]['js']=f[q(0xa3)]['js']==='true'?!![]:![],this[q(0x9e)][q(0x8e)]('js',f['template']['js']));!f[q(0x98)]&&(f['features']={});const g=b['_']?b['_'][0x0][q(0x84)](':')[0x1]:![],h=b['_']&&aliases[q(0x9d)](g);h&&!this['checkNpmPackage'](q(0xb8))&&(Log[q(0x93)](q(0xa2)),this['fsi'][q(0x8f)]('ramda',{'cwd':d}));if(h&&!this[q(0x8c)]('react')){Log[q(0x93)](q(0xa0));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a131e[q(0xb5)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0x83)]),'className':pascalCase(b[q(0x83)]),'camelCaseName':camelCase(b[q(0x83)]),'fileName':paramCase(b[q(0x83)]),'graphql':f[q(0xb1)][q(0xb7)],'features':f[q(0x98)],'client':f[q(0xb1)]['client'],'api':f[q(0xb1)]['api'],'ssr':f[q(0xb1)][q(0x8a)],'test':f[q(0xb1)][q(0x9b)],'theme':f[q(0xb1)][q(0x8d)],'isComponent':![],'isLayout':!![],'withTranslations':f['features']['withTranslations']};f[q(0x98)]?.[q(0x82)]||b[q(0xa9)]?await this[q(0x9e)][q(0xa3)]({'srcPath':q(0x96),'destPath':e+q(0xb0),'framework':q(0x9f),'context':i,'config':f}):await this[q(0x9e)]['template']({'srcPath':'component/component.js','destPath':e+q(0xb0),'framework':q(0x9f),'context':i,'config':f});f[q(0xb1)][q(0x9b)]!==q(0x8b)&&await this[q(0x9e)]['template']({'srcPath':q(0x86),'destPath':e+q(0xaf),'framework':'react','context':i,'config':f});f[q(0xa3)][q(0x85)]&&(await this[q(0x9e)][q(0xa3)]({'srcPath':q(0x97),'destPath':e+q(0x9a),'context':Object[q(0x87)]({},i,{'className':paramCase(b[q(0x83)])}),'config':f}),await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[q(0xb1)]['js'],'content':q(0x92)+i[q(0xac)]+'.'+f[q(0xb1)][q(0x85)]+'\x27;'}));const j=b[q(0x95)]?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0xac)]+'/'+i[q(0xac)];await this['fsi']['injectTemplateModule'](i[q(0x89)],f,k);});});
1
+ const a130n=a130d;(function(a,b){const l=a130d,c=a();while(!![]){try{const d=parseInt(l(0x1ba))/0x1+-parseInt(l(0x1a4))/0x2+parseInt(l(0x1b2))/0x3*(-parseInt(l(0x1a6))/0x4)+-parseInt(l(0x1c9))/0x5*(-parseInt(l(0x1c4))/0x6)+parseInt(l(0x1a9))/0x7+parseInt(l(0x1bd))/0x8*(-parseInt(l(0x1b5))/0x9)+parseInt(l(0x1a0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xccb87));function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x191;let f=c[d];return f;},a130d(a,b);}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 m=a130d;return a130a[m(0x1c7)]()[m(0x1c1)](m(0x1be))['toString']()[m(0x191)](a130a)[m(0x1c1)](m(0x1be));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a130n(0x19a)]({'name':a130n(0x19e),'aliases':aliases,'usage':a130n(0x1a5),'shortDesc':a130n(0x1b3),'validOpts':[a130n(0x1cb)],'examples':[a130n(0x1b6),a130n(0x1c0)]},async function(a,b){const o=a130n,c=o(0x198),d=this['fsi'][o(0x1cf)](),e=this[o(0x1ab)]['pathFromApp']({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b[o(0x1b9)])]}),f=await this[o(0x1a2)][o(0x19d)]();typeof f[o(0x1ce)]['test']==='string'&&this[o(0x1a2)][o(0x19c)]('test',f[o(0x1ce)][o(0x1a7)]);typeof f[o(0x1ce)]['css']==='string'&&this[o(0x1a2)][o(0x19c)](o(0x19f),f[o(0x1ce)][o(0x19f)]);typeof f[o(0x1ce)]['js']===o(0x1bb)&&this['cfg'][o(0x19c)]('js',f[o(0x1ce)]['js']);const g=b['_']?b['_'][0x0][o(0x1bc)](':')[0x1]:![],h=b['_']&&aliases[o(0x1b0)](g);h&&!this['pkg'][o(0x1cd)](o(0x19b))&&(Log[o(0x1c2)](o(0x1b7)),this[o(0x1aa)][o(0x1b8)](o(0x19b),{'cwd':d}));if(h&&!this[o(0x1aa)][o(0x1cd)](o(0x199))){Log['warn'](o(0x1d1));return;}const i={'name':pascalCase(b[o(0x1b9)]),'myPath':a130e[o(0x1a8)](this[o(0x1a1)]['findProjectDirectory'](),e),'cssCaseName':paramCase(b[o(0x1b9)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[o(0x1b9)]),'fileName':paramCase(b['resourceName']),'graphql':f[o(0x1bf)][o(0x1c8)],'features':f[o(0x1ca)],'client':f[o(0x1bf)][o(0x196)],'api':f[o(0x1bf)][o(0x1d0)],'ssr':f[o(0x1bf)]['ssr'],'test':f[o(0x1bf)][o(0x1a7)],'theme':f[o(0x1bf)][o(0x1c5)],'isComponent':![],'isLayout':!![],'withTranslations':f[o(0x1ca)][o(0x1a3)]};f[o(0x1ca)]?.[o(0x1af)]||b[o(0x1cb)]?await this[o(0x1ab)][o(0x1ce)]({'srcPath':'hook/hook.js','destPath':e+o(0x1ad),'framework':'react','context':i,'config':f}):await this[o(0x1ab)][o(0x1ce)]({'srcPath':o(0x192),'destPath':e+o(0x1ad),'framework':o(0x199),'context':i,'config':f});f[o(0x1bf)][o(0x1a7)]!==o(0x1b1)&&await this[o(0x1ab)]['template']({'srcPath':o(0x194),'destPath':e+'.app-tests.js','framework':o(0x199),'context':i,'config':f});f['template'][o(0x19f)]&&(await this['scaffold'][o(0x1ce)]({'srcPath':o(0x1cc),'destPath':e+o(0x1ae),'context':Object[o(0x1b4)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this['scaffold'][o(0x193)]({'filePath':e+'.'+f[o(0x1bf)]['js'],'content':o(0x1ac)+i[o(0x1c6)]+'.'+f[o(0x1bf)][o(0x19f)]+'\x27;'}));const j=b[o(0x195)]?'/'+b[o(0x195)]+'/':'/',k=''+c+j+i[o(0x1c6)]+'/'+i['fileName'];await this[o(0x1ab)][o(0x197)](i[o(0x1c3)],f,k);});function a130c(){const p=['24896pCknYn','test','relative','9649409lTXzeb','pkg','scaffold','import\x20\x27./','.js','.css','withHooks','includes','none','645dzcFKy','Scaffolding\x20for\x20a\x20React\x20Layout.','assign','855ctjBvl','maka\x20g:layout\x20mobile/iPhone8','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','installNpmPackage','resourceName','1248913kwVavh','string','split','17528FOXFhM','(((.+)+)+)+$','engines','maka\x20g:l\x20web/safari','search','warn','className','11652tGHKpZ','theme','fileName','toString','graphql','710rAyrPa','features','withHook','template/template.css','checkNpmPackage','template','findAppDirectory','api','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','constructor','component/component.js','injectAtBeginningOfFile','test/test.js','dir','client','injectTemplateModule','/imports/ui/layouts','react','create','ramda','setTemplate','getMakaProjectConfig','layout','css','7851360NnSZmu','fsi','cfg','withTranslations','2606920WJywJf','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>'];a130c=function(){return p;};return a130c();}
@@ -1 +1 @@
1
- const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0xb5))/0x1*(parseInt(f(0xa5))/0x2)+parseInt(f(0xba))/0x3*(-parseInt(f(0xa8))/0x4)+parseInt(f(0xa9))/0x5*(-parseInt(f(0xa7))/0x6)+-parseInt(f(0xb7))/0x7*(parseInt(f(0xb1))/0x8)+-parseInt(f(0xb9))/0x9+-parseInt(f(0xaa))/0xa*(parseInt(f(0xb6))/0xb)+parseInt(f(0xa3))/0xc*(parseInt(f(0xb2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x575e7));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0xa4)]()[h(0xb8)]('(((.+)+)+)+$')[h(0xa4)]()[h(0xae)](a132a)[h(0xb8)]('(((.+)+)+)+$');});a132a();import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xa3;let f=c[d];return f;},a132d(a,b);}function a132c(){const j=['29918QCzbSq','search','996354lXrCHS','6549elCgLs','maka\x20g:scaffold\x20todos','12doUssa','toString','249958ZDjOkR','maka\x20g:api\x20trucks','132HCzDHj','776HgfcpX','36440RStCPr','890RBNUXq','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:package\x20package:name','maka\x20g:dbc\x20geoserver\x20--type=pgsql','constructor','Scaffold\x20various\x20parts\x20of\x20your\x20application','apply','768cRIoem','22013329lkhKzq','maka\x20g:route\x20todos/edit','maka\x20generate:scaffold\x20todos','1wlVoYI','13057uOhVlm'];a132c=function(){return j;};return a132c();}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a132i(0xab),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0xaf),'examples':[a132i(0xb4),a132i(0xbb),'maka\x20g:template\x20todos/todo_item',a132i(0xac),a132i(0xb3),a132i(0xa6),a132i(0xad)]},function(){});export default MakaGen;
1
+ function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x17c;let f=c[d];return f;},a131d(a,b);}const a131i=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=parseInt(f(0x18d))/0x1+parseInt(f(0x186))/0x2+parseInt(f(0x183))/0x3*(parseInt(f(0x192))/0x4)+parseInt(f(0x187))/0x5*(parseInt(f(0x180))/0x6)+parseInt(f(0x188))/0x7*(parseInt(f(0x17f))/0x8)+-parseInt(f(0x191))/0x9+-parseInt(f(0x18b))/0xa*(parseInt(f(0x18e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xead33));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a[h(0x184)]()[h(0x185)](h(0x18a))[h(0x184)]()['constructor'](a131a)[h(0x185)](h(0x18a));});a131a();import{Generator}from'../generator.js';function a131c(){const j=['1002679BSwdtd','22463474yJpXgY','generate','apply','8293833zGoqqy','12onqfma','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:package\x20package:name','maka\x20generate:scaffold\x20todos','31384zkyctb','716922wBHquh','maka\x20g:route\x20todos/edit','maka\x20{generate,\x20g}:<generator>\x20<name>','395697zDxAxy','toString','search','3691800rBEAhQ','35rCnKsn','3367qapbsT','maka\x20g:template\x20todos/todo_item','(((.+)+)+)+$','20feyKYP','Scaffold\x20various\x20parts\x20of\x20your\x20application'];a131c=function(){return j;};return a131c();}const MakaGen=new Generator({'name':a131i(0x18f),'aliases':['g'],'usage':a131i(0x182),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a131i(0x18c),'examples':[a131i(0x17e),'maka\x20g:scaffold\x20todos',a131i(0x189),a131i(0x17d),a131i(0x181),'maka\x20g:api\x20trucks',a131i(0x17c)]},async function(){});export default MakaGen;
@@ -1 +1 @@
1
- const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0x19e))/0x1+parseInt(j(0x19d))/0x2+parseInt(j(0x198))/0x3*(-parseInt(j(0x1b3))/0x4)+-parseInt(j(0x1b2))/0x5*(-parseInt(j(0x1ae))/0x6)+parseInt(j(0x1a5))/0x7+-parseInt(j(0x1a1))/0x8*(parseInt(j(0x1ac))/0x9)+parseInt(j(0x19b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x59201));function a133c(){const p=['504870jaoiAH','12RSgFoa','maka:check','startup','ddp-rate-limiter','constructor','getMakaProjectConfig','import\x20\x27./methods','tsx','method/method.js','template','apply','113343RYtHws','method','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','2033600XiIOWn','dir','938542slrtKp','456913pIyiGT','appPathPrefix','error','517368yNCNzW','-rpc-method.','search','maka\x20{generate,\x20g}:{method,\x20m}\x20name','623714QEGwWn','resourceName','fsi','toString','pathFromApp','checkMeteorPackage','index.','18tBYinc','imports','18gEmJmp','-rpc-method\x27;','engines','mdg:validated-method'];a133c=function(){return p;};return a133c();}const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x197)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a['toString']()[l(0x1a3)]('(((.+)+)+)+$')[l(0x1a8)]()[l(0x191)](a133a)[l(0x1a3)]('(((.+)+)+)+$');});a133a();function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x18f;let f=c[d];return f;},a133d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a133m(0x199),'aliases':['m'],'usage':a133m(0x1a4),'checkWhere':!![],'shortDesc':a133m(0x19a),'validOpts':['dir'],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a133m;try{const c=this[n(0x1a7)][n(0x192)]();await this[n(0x1a7)]['withValue'](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':b[o(0x1a6)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0x1a6)]),'noRename':!![]};let g='js';c[o(0x1b0)]['js']===o(0x194)&&(g='ts');await this['fsi'][o(0x1aa)]([o(0x1b4),o(0x190),o(0x1b1)],{'shouldInstall':!![]}),await this[o(0x1a7)][o(0x196)]({'srcPath':o(0x195),'destPath':this[o(0x1a7)][o(0x1a9)]({'pathParts':[o(0x1ad),o(0x18f),b[o(0x19f)],'methods',b[o(0x19c)],d+o(0x1a2)+g]}),'context':f,'config':c});const h=b[o(0x19c)]?'/'+b['dir']+'/':'/',i=this[o(0x1a7)][o(0x1a9)]({'pathParts':[o(0x1ad),o(0x18f),b['appPathPrefix'],o(0x1ab)+c[o(0x1b0)]['js']]});await this[o(0x1a7)]['injectAtEndOfFile']({'filePath':i,'content':o(0x193)+h+d+o(0x1af)});});}catch(d){Log[n(0x1a0)](d);}});
1
+ const a132n=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x1a7))/0x1*(-parseInt(k(0x1a0))/0x2)+parseInt(k(0x199))/0x3+parseInt(k(0x197))/0x4+-parseInt(k(0x1a1))/0x5+parseInt(k(0x19e))/0x6+parseInt(k(0x1ad))/0x7+-parseInt(k(0x19a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x9eb62));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0x1ab)]()[m(0x19f)](m(0x19d))[m(0x1ab)]()[m(0x1b1)](a132a)['search'](m(0x19d));});a132a();import{Generator}from'../generator.js';function a132c(){const p=['5811911vdsOHA','imports','maka\x20{generate,\x20g}:{method,\x20m}\x20name','maka\x20g:method\x20todos','constructor','getMakaProjectConfig','index.','method/method.js','apply','dir','method','-rpc-method.','mdg:validated-method','1499584BNtXfP','scaffold','401958cmpxjj','6888456lOInAL','cfg','pkg','(((.+)+)+)+$','1789596uSZJOU','search','29334ZlNeyn','1438095keLTkt','engines','startup','appPathPrefix','resourceName','-rpc-method\x27;','11VZROsh','methods','pathFromApp','injectAtEndOfFile','toString','checkMeteorPackage'];a132c=function(){return p;};return a132c();}import{Log}from'../tools/log/log.class.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x192;let f=c[d];return f;},a132d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a132n(0x194),'aliases':['m'],'usage':a132n(0x1af),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a132n(0x193)],'examples':[a132n(0x1b0)]},async function(a,b){const o=a132n;try{const c=await this[o(0x19b)][o(0x1b2)](),d=b[o(0x193)]?'/'+b[o(0x193)]+'/':'/',f=paramCase(b[o(0x1a5)]),g={'name':b[o(0x1a5)],'fileName':f,'className':pascalCase(b[o(0x1a5)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let h='js';c['engines']['js']==='tsx'&&(h='ts');await this[o(0x19c)][o(0x1ac)](['maka:check','ddp-rate-limiter',o(0x196)],{'shouldInstall':!![]}),await this[o(0x198)]['template']({'srcPath':o(0x1b4),'destPath':this[o(0x198)][o(0x1a9)]({'pathParts':[o(0x1ae),'startup',b[o(0x1a4)],o(0x1a8),d,f+o(0x195)+h]}),'context':g,'config':c});const i=this[o(0x198)][o(0x1a9)]({'pathParts':[o(0x1ae),o(0x1a3),b[o(0x1a4)],o(0x1b3)+c[o(0x1a2)]['js']]});await this[o(0x198)][o(0x1aa)]({'filePath':i,'content':'import\x20\x27./methods'+d+f+o(0x1a6)});}catch(j){Log['error'](j);}});
@@ -1 +1 @@
1
- function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x78;let f=c[d];return f;},a134d(a,b);}const a134o=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=-parseInt(l(0x91))/0x1+-parseInt(l(0xa2))/0x2+-parseInt(l(0x9c))/0x3+parseInt(l(0x81))/0x4+parseInt(l(0x8b))/0x5+parseInt(l(0x97))/0x6+parseInt(l(0x8a))/0x7*(parseInt(l(0x82))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x34d01));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a[n(0x85)]()[n(0xa4)](n(0x93))[n(0x85)]()[n(0xa3)](a134a)['search'](n(0x93));});a134a();import a134e from'path';import{Generator}from'../generator.js';function a134c(){const r=['367582KtDSSr','constructor','search','dir','package.js','package','store','server','ssr','/package.js','pathFromAppWithNoReWrite','engines','1339112yXeTrC','8zalRQa','create','graphql','toString','theme','package/package.js','template','.js','87332GehPhX','1517730bZMWYy','fsi','noRename','maka\x20g:package\x20todos:package','hasOwnProperty','tests/server','325682vctVuP','relative','(((.+)+)+)+$','apply','pathFromProject','resourceName','1348596pLHEuR','lib','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','getMakaProjectConfig','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','449316mJsyxj','client','tests/client','template/template.js','packages','features'];a134c=function(){return r;};return a134c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a134o(0x83)]({'name':a134o(0x7a),'aliases':['p'],'usage':a134o(0x9b),'shortDesc':a134o(0x99),'validOpts':['dir'],'examples':[a134o(0x8e)]},async function(a,b){const p=a134o,c=paramCase(b[p(0x96)]),d=this[p(0x8c)]['pathFromApp']({'pathParts':[p(0xa0),b[p(0x78)],c]}),e=this[p(0x8c)][p(0x7f)]({'pathParts':[p(0xa0),b[p(0x78)],c,p(0x79)]}),f=this[p(0x8c)][p(0x9a)]();await this[p(0x8c)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0x96)]),'myPath':a134e[q(0x92)](this['fsi'][q(0x95)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x96)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f['engines'][q(0x9d)],'graphql':f[q(0x80)][q(0x84)],'ssr':f[q(0x80)][q(0x7d)],'isComponent':b[q(0x8f)]('component'),'isLayout':b[q(0x8f)]('layout'),'isStore':b[q(0x8f)](q(0x7b)),'features':f[q(0xa1)],'noRename':!![],'theme':f[q(0x80)][q(0x86)]};await this['fsi'][q(0x88)]({'srcPath':q(0x87),'destPath':e,'context':g,'config':f}),g[q(0x8d)]=![];const h=d+'/client/'+c+q(0x89);await this[q(0x8c)][q(0x88)]({'srcPath':q(0x9f),'destPath':h,'context':g,'config':f});const i=[q(0x98),q(0x7c),q(0x9e),q(0x90)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x89);await this['fsi'][q(0x88)]({'srcPath':'package/'+j+q(0x7e),'destPath':k,'context':g,'config':f});}});});
1
+ const a133p=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0x12f))/0x1+-parseInt(m(0x10f))/0x2+parseInt(m(0x128))/0x3*(-parseInt(m(0x11f))/0x4)+parseInt(m(0x120))/0x5+-parseInt(m(0x11a))/0x6*(parseInt(m(0x108))/0x7)+parseInt(m(0x10e))/0x8*(-parseInt(m(0x12b))/0x9)+parseInt(m(0x12d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xea5fb));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0x127)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0x10a)]()[o(0x12c)]('(((.+)+)+)+$')[o(0x10a)]()[o(0x116)](a133a)[o(0x12c)]('(((.+)+)+)+$');});function a133c(){const r=['10850970kcKPAR','package/package.js','noRename','theme','pathFromAppWithNoReWrite','3372620kUIreJ','2057555ZwDGho','findProjectDirectory','graphql','package','dir','cfg','pathFromApp','apply','6eDGWVS','layout','lib','6939981QFZmcB','search','49587860unnguK','engines','1293709edMCrk','ssr','hasOwnProperty','template/template.js','getMakaProjectConfig','template','/client/','.js','7xTDAIE','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','toString','store','create','relative','8kguTnO','2876194alfLoS','tests/server','tests/client','package.js','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','component','resourceName','constructor','scaffold','fsi','packages'];a133c=function(){return r;};return a133c();}a133a();import a133e from'path';import{Generator}from'../generator.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x104;let f=c[d];return f;},a133d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133p(0x10c)]({'name':a133p(0x123),'aliases':['p'],'usage':a133p(0x113),'shortDesc':a133p(0x109),'validOpts':[a133p(0x124)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const q=a133p,c=paramCase(b[q(0x115)]),d=b[q(0x124)]?'/'+b['dir']+'/':'/',e=this[q(0x117)][q(0x126)]({'pathParts':[q(0x119),d,c]}),f=this[q(0x117)][q(0x11e)]({'pathParts':[q(0x119),d,c,q(0x112)]}),g=await this[q(0x125)][q(0x104)](),h={'name':paramCase(b[q(0x115)]),'myPath':a133e[q(0x10d)](this[q(0x118)][q(0x121)](),e),'cssCaseName':paramCase(b[q(0x115)]),'className':pascalCase(b[q(0x115)]),'camelCaseName':camelCase(b[q(0x115)]),'fileName':c,'client':g[q(0x12e)]['client'],'graphql':g[q(0x12e)][q(0x122)],'ssr':g['engines'][q(0x130)],'isComponent':b[q(0x131)](q(0x114)),'isLayout':b[q(0x131)](q(0x129)),'isStore':b[q(0x131)](q(0x10b)),'features':g['features'],'noRename':!![],'theme':g[q(0x12e)][q(0x11d)]};await this[q(0x117)][q(0x105)]({'srcPath':q(0x11b),'destPath':f,'context':h,'config':g}),h[q(0x11c)]=![];const i=e+q(0x106)+c+q(0x107);await this[q(0x117)][q(0x105)]({'srcPath':q(0x132),'destPath':i,'context':h,'config':g});const j=[q(0x12a),'server',q(0x111),q(0x110)];for(const k of j){const l=e+'/'+k+'/'+c+q(0x107);await this['scaffold'][q(0x105)]({'srcPath':'package/'+k+'/package.js','destPath':l,'context':h,'config':g});}});
@@ -1 +1 @@
1
- const a135u=a135d;(function(a,b){const r=a135d,c=a();while(!![]){try{const d=-parseInt(r(0xd5))/0x1+parseInt(r(0xbd))/0x2+-parseInt(r(0xfa))/0x3*(-parseInt(r(0xdd))/0x4)+-parseInt(r(0xb0))/0x5*(-parseInt(r(0xcf))/0x6)+parseInt(r(0xe2))/0x7+-parseInt(r(0xf9))/0x8*(parseInt(r(0xfd))/0x9)+parseInt(r(0xbe))/0xa*(-parseInt(r(0xc2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x30ce2));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a135d;if(c){const e=c[s(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const t=a135d;return a135a[t(0xdc)]()[t(0xb5)](t(0xae))[t(0xdc)]()[t(0xb4)](a135a)['search'](t(0xae));});function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0xac;let f=c[d];return f;},a135d(a,b);}a135a();import a135e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a135c(){const x=['2464882cpTElJ','/imports/ui/pages','includes','findAppDirectory','string','template/template.css','split','installNpmPackage','withValue','withTranslations','test','hook/hook.js','apply','Updating\x20npm\x20packages\x20...','trim','\x22\x20element={<Component.','pathFromProject','component','/>}/>\x0a','create','startup','withHooks','</Route>','4504RXNcxI','549828eKyrHw','lib','injectAtBeginningOfFile','3897PNvZqx','routes.','api','url','<Route\x20path=\x22','setTemplate','.js','ramda','features','(((.+)+)+)+$','<Route\x20element={<PrivateRoute\x20/>}>','1110TGYyNA','ssr','client','html','constructor','search','import\x20\x27./','maka\x20g:page\x20todos/todos-item','resourceName','dir','store','assign','.css','446760jASMCH','2892970kIfUWK','template','replaceAll','fsi','11jRYBRC','layout','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','toLowerCase','<Route\x20path=\x22*\x22','checkNpmPackage','injectIntoFile','react','Generate\x20a\x20page.','slice','error','getMakaProjectConfig','substring','3534nzOidl','fileName','private','indexOf','hasOwnProperty','replace','156558MIehfB','\x27;\x0a','none','pathFromApp','true','.app-tests.js','css','toString','4XuMHNm','theme','<Route\x20index','engines','vanilla'];a135c=function(){return x;};return a135c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a135u(0xf5)]({'name':'page','aliases':aliases,'usage':a135u(0xc4),'shortDesc':a135u(0xca),'validOpts':[{'name':a135u(0xd1),'boolFlag':!![]},{'name':a135u(0x100)}],'examples':[a135u(0xb7)]},async function(a,b){const v=a135u,c=v(0xe3),d=this['fsi'][v(0xe5)](),e=b[v(0xb8)][v(0xe4)](':')?b[v(0xb8)][v(0xe8)](':')[0x0][v(0xf0)]():b['resourceName']['trim'](),f=b[v(0xb9)]['replaceAll']('/','_')+'_'+e[v(0xc0)]('/','_'),g=this[v(0xc1)][v(0xd8)]({'pathParts':[c,b[v(0xb9)],paramCase(f),paramCase(f)]}),h=this['fsi'][v(0xcd)]();let i='';return await this[v(0xc1)][v(0xea)](h,async()=>{const w=v;typeof h[w(0xbf)][w(0xb3)]===w(0xe6)&&(h[w(0xbf)][w(0xb3)]=h['template'][w(0xb3)]===w(0xd9)?!![]:![],this['fsi'][w(0x102)](w(0xb3),h[w(0xbf)][w(0xb3)]));typeof h[w(0xbf)]['test']===w(0xe6)&&(h[w(0xbf)][w(0xec)]=h[w(0xbf)][w(0xec)]==='true'?!![]:![],this['fsi'][w(0x102)](w(0xec),h[w(0xbf)][w(0xec)]));typeof h[w(0xbf)][w(0xdb)]==='string'&&(h[w(0xbf)][w(0xdb)]=h[w(0xbf)][w(0xdb)]===w(0xd9)?!![]:![],this['fsi'][w(0x102)](w(0xdb),h[w(0xbf)]['css']));typeof h[w(0xbf)]['js']==='string'&&(h[w(0xbf)]['js']=h[w(0xbf)]['js']===w(0xd9)?!![]:![],this[w(0xc1)][w(0x102)]('js',h[w(0xbf)]['js']));!h['features']&&(h[w(0xad)]={});!b['root']&&!this[w(0xc1)][w(0xc7)]('ramda')&&(Log['warn'](w(0xef)),this[w(0xc1)][w(0xe9)](w(0xac),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a135e['relative'](this['fsi'][w(0xf2)]({}),g),'cssCaseName':paramCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':paramCase(f),'graphql':h[w(0xe0)]['graphql'],'features':h['features'],'client':h[w(0xe0)][w(0xb2)],'api':h[w(0xe0)][w(0xff)],'ssr':h[w(0xe0)][w(0xb1)],'isStore':b[w(0xd3)](w(0xba)),'isComponent':b[w(0xd3)](w(0xf3)),'isLayout':b[w(0xd3)](w(0xc3)),'withTranslations':h['features'][w(0xeb)],'test':h[w(0xe0)][w(0xec)],'theme':h['engines'][w(0xde)]};h[w(0xbf)][w(0xb3)]&&await this[w(0xc1)][w(0xbf)]({'srcPath':'template/template.html','destPath':g+'.html','context':j,'config':h});h[w(0xad)]?.[w(0xf7)]?await this[w(0xc1)][w(0xbf)]({'srcPath':w(0xed),'destPath':g+w(0x103),'framework':w(0xc9),'context':j,'config':h}):await this['fsi'][w(0xbf)]({'srcPath':'component/component.js','destPath':g+'.js','framework':w(0xc9),'context':j,'config':h});h['engines'][w(0xec)]!==w(0xd7)&&await this[w(0xc1)][w(0xbf)]({'srcPath':'test/test.js','destPath':g+w(0xda),'framework':w(0xc9),'context':j,'config':h});h[w(0xbf)][w(0xdb)]&&await this['fsi']['template']({'srcPath':w(0xe7),'destPath':g+w(0xbc),'context':Object[w(0xbb)]({},j,{'className':paramCase(b[w(0xb8)])}),'config':h});h[w(0xe0)][w(0xb2)]!==w(0xc9)&&h[w(0xe0)][w(0xb2)]!==w(0xe1)?(h[w(0xbf)][w(0xdb)]&&await this[w(0xc1)][w(0xfc)]({'filePath':g+'.'+h['engines']['js'],'content':w(0xb6)+j[w(0xd0)]+'.'+h[w(0xe0)][w(0xb3)]+w(0xd6)+w(0xb6)+j[w(0xd0)]+'.'+h[w(0xe0)]['css']+'\x27;'}),!h[w(0xbf)][w(0xdb)]&&await this['fsi'][w(0xfc)]({'filePath':g+'.'+h['engines']['js'],'content':'import\x20\x27./'+j[w(0xd0)]+'.'+h['engines']['html']+'\x27;'})):h[w(0xbf)][w(0xdb)]&&await this[w(0xc1)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[w(0xe0)]['js'],'content':w(0xb6)+j[w(0xd0)]+'.'+h['engines'][w(0xdb)]+'\x27;'});const k=b['dir']?'/'+b[w(0xb9)]+'/':'/';i=''+c+k+j[w(0xd0)]+'/'+j[w(0xd0)],await this[w(0xc1)]['injectTemplateModule'](j['className'],h,i);if(!b['root']){const l=b['private']??![];if(!f){Log[w(0xcc)]('Please\x20specify\x20a\x20name\x20for\x20the\x20route.');throw new UsageError();}let m=b[w(0x100)]?b['url']:'/'+b[w(0xb9)][w(0xf0)]()+'/'+b[w(0xb8)]['trim']()[w(0xd4)](/\\/g,'/')['replace'](/\/+$/,'')[w(0xc5)]();const n=b['resourceName'][w(0xd2)](':');n!==-0x1&&(m+='/'+b[w(0xb8)][w(0xce)](0x0,n)['trim']());m['endsWith']('/')&&(m=m[w(0xcb)](0x0,-0x1));m=m[w(0xd4)](/\/\//g,'/');const o=h[w(0xe0)]['js'],p=h[w(0xe0)][w(0xb1)]===w(0xd9)?w(0xfb):w(0xb2),q=a135e['join'](d,'imports',w(0xf6),p,w(0xfe)+o);l?await this['fsi'][w(0xc8)]({'filePath':q,'content':w(0x101)+m+'\x22\x20element={<Component.'+pascalCase(f)+w(0xf4),'begin':[w(0xaf)],'end':[w(0xf8)]}):await this[w(0xc1)][w(0xc8)]({'filePath':q,'content':w(0x101)+m+w(0xf1)+pascalCase(f)+w(0xf4),'begin':[w(0xdf)],'end':[w(0xc6)]});}}),i+'.'+h[v(0xe0)]['js'];});
1
+ function a134c(){const v=['1512890LgQMNP','resourceName','replaceAll','Generate\x20a\x20page.','maka\x20g:page\x20todos/todos-item','component','3obsXvA','1997484HssaHJ','getMakaProjectConfig','21841272csEmED','create','hasOwnProperty','hook/hook.js','className','features','/>}/>\x0a','import\x20\x27./','join','lib','<Route\x20path=\x22','injectIntoFile','true','scaffold','constructor','withTranslations','store','none','</Route>','includes','cfg','setTemplate','routes.','test','toLowerCase','substring','warn','string','template','page','installNpmPackage','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','ramda','6678596IBNhrk','html','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','component/component.js','trim','4856136khfipd','split','pkg','fileName','template/template.css','url','client','withHooks','pathFromApp','error','.app-tests.js','engines','fsi','search','replace','relative','/imports/ui/pages','indexOf','injectAtBeginningOfFile','react','graphql','private','toString','ssr','root','3376675MIMHOW','(((.+)+)+)+$','findProjectDirectory','css','.js','test/test.js','assign','dir','checkNpmPackage','theme','endsWith','14021zGBYgO','2936tncCny'];a134c=function(){return v;};return a134c();}const a134t=a134d;function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0xa6;let f=c[d];return f;},a134d(a,b);}(function(a,b){const r=a134d,c=a();while(!![]){try{const d=parseInt(r(0xb4))/0x1+parseInt(r(0xbb))/0x2+-parseInt(r(0xba))/0x3*(-parseInt(r(0xde))/0x4)+parseInt(r(0xa7))/0x5+-parseInt(r(0xe3))/0x6+parseInt(r(0xb2))/0x7*(-parseInt(r(0xb3))/0x8)+-parseInt(r(0xbd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xd8267));const a134b=(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;};}()),a134a=a134b(this,function(){const s=a134d;return a134a[s(0xf9)]()[s(0xf0)](s(0xa8))['toString']()[s(0xcb)](a134a)['search']('(((.+)+)+)+$');});a134a();import a134e from'path';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=['p'];Generator[a134t(0xbe)]({'name':a134t(0xda),'aliases':aliases,'usage':a134t(0xe0),'shortDesc':a134t(0xb7),'validOpts':[{'name':a134t(0xf8),'boolFlag':!![]},{'name':a134t(0xe8)}],'examples':[a134t(0xb8)]},async function(a,b){const u=a134t,c=u(0xf3),d=this[u(0xef)]['findAppDirectory'](),e=b['resourceName'][u(0xd0)](':')?b[u(0xb5)][u(0xe4)](':')[0x0][u(0xe2)]():b[u(0xb5)]['trim'](),f=b['dir'][u(0xb6)]('/','_')+'_'+e[u(0xb6)]('/','_'),g=this['scaffold'][u(0xeb)]({'pathParts':[c,b[u(0xae)],paramCase(f),paramCase(f)]}),h=await this[u(0xd1)][u(0xbc)]();let i='';typeof h['template']['html']===u(0xd8)&&this[u(0xd1)][u(0xd2)]('html',h['template']['html']);typeof h[u(0xd9)]['test']===u(0xd8)&&this[u(0xd1)][u(0xd2)](u(0xd4),h[u(0xd9)][u(0xd4)]);typeof h[u(0xd9)]['css']==='string'&&this['cfg'][u(0xd2)](u(0xaa),h[u(0xd9)][u(0xaa)]);typeof h[u(0xd9)]['js']===u(0xd8)&&this['cfg']['setTemplate']('js',h['template']['js']);!b[u(0xa6)]&&!this[u(0xe5)][u(0xaf)]('ramda')&&(Log[u(0xd7)]('Updating\x20npm\x20packages\x20...'),this[u(0xe5)][u(0xdb)](u(0xdd),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a134e[u(0xf2)](this[u(0xef)][u(0xa9)](),g),'cssCaseName':paramCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':paramCase(f),'graphql':h[u(0xee)][u(0xf7)],'features':h[u(0xc2)],'client':h[u(0xee)][u(0xe9)],'api':h[u(0xee)]['api'],'ssr':h['engines'][u(0xfa)],'isStore':b[u(0xbf)](u(0xcd)),'isComponent':b[u(0xbf)](u(0xb9)),'isLayout':b['hasOwnProperty']('layout'),'withTranslations':h['features'][u(0xcc)],'test':h[u(0xee)]['test'],'theme':h[u(0xee)][u(0xb0)]};h[u(0xd9)][u(0xdf)]&&await this[u(0xca)][u(0xd9)]({'srcPath':'template/template.html','destPath':g+'.html','context':j,'config':h});h['features']?.[u(0xea)]?await this[u(0xca)][u(0xd9)]({'srcPath':u(0xc0),'destPath':g+u(0xab),'framework':u(0xf6),'context':j,'config':h}):await this['scaffold'][u(0xd9)]({'srcPath':u(0xe1),'destPath':g+u(0xab),'framework':u(0xf6),'context':j,'config':h});h['engines'][u(0xd4)]!==u(0xce)&&await this[u(0xca)]['template']({'srcPath':u(0xac),'destPath':g+u(0xed),'framework':u(0xf6),'context':j,'config':h});h[u(0xd9)][u(0xaa)]&&await this[u(0xca)][u(0xd9)]({'srcPath':u(0xe7),'destPath':g+'.css','context':Object[u(0xad)]({},j,{'className':paramCase(b[u(0xb5)])}),'config':h});h[u(0xee)]['client']!=='react'&&h[u(0xee)]['client']!=='vanilla'?(h['template']['css']&&await this['scaffold'][u(0xf5)]({'filePath':g+'.'+h[u(0xee)]['js'],'content':'import\x20\x27./'+j[u(0xe6)]+'.'+h['engines'][u(0xdf)]+'\x27;\x0a'+u(0xc4)+j[u(0xe6)]+'.'+h[u(0xee)]['css']+'\x27;'}),!h['template'][u(0xaa)]&&await this[u(0xca)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[u(0xee)]['js'],'content':u(0xc4)+j[u(0xe6)]+'.'+h[u(0xee)][u(0xdf)]+'\x27;'})):h[u(0xd9)][u(0xaa)]&&await this[u(0xca)][u(0xf5)]({'filePath':g+'.'+h[u(0xee)]['js'],'content':u(0xc4)+j['fileName']+'.'+h[u(0xee)][u(0xaa)]+'\x27;'});const k=b[u(0xae)]?'/'+b[u(0xae)]+'/':'/';i=''+c+k+j[u(0xe6)]+'/'+j[u(0xe6)],await this[u(0xca)]['injectTemplateModule'](j[u(0xc1)],h,i);if(!b['root']){const l=b[u(0xf8)]??![];if(!f){Log[u(0xec)](u(0xdc));throw new UsageError();}let m=b[u(0xe8)]?b[u(0xe8)]:'/'+b['dir'][u(0xe2)]()+'/'+b[u(0xb5)][u(0xe2)]()[u(0xf1)](/\\/g,'/')[u(0xf1)](/\/+$/,'')[u(0xd5)]();const n=b[u(0xb5)][u(0xf4)](':');n!==-0x1&&(m+='/'+b[u(0xb5)][u(0xd6)](0x0,n)[u(0xe2)]());m[u(0xb1)]('/')&&(m=m['slice'](0x0,-0x1));m=m['replace'](/\/\//g,'/');const o=h['engines']['js'],p=h[u(0xee)][u(0xfa)]===u(0xc9)?u(0xc6):u(0xe9),q=a134e[u(0xc5)](d,'imports','startup',p,u(0xd3)+o);l?await this['scaffold'][u(0xc8)]({'filePath':q,'content':'<Route\x20path=\x22'+m+'\x22\x20element={<Component.'+pascalCase(f)+u(0xc3),'begin':['<Route\x20element={<PrivateRoute\x20/>}>'],'end':[u(0xcf)]}):await this[u(0xca)]['injectIntoFile']({'filePath':q,'content':u(0xc7)+m+'\x22\x20element={<Component.'+pascalCase(f)+u(0xc3),'begin':['<Route\x20index'],'end':['<Route\x20path=\x22*\x22']});}});
@@ -1 +1 @@
1
- const a136p=a136d;(function(a,b){const m=a136d,c=a();while(!![]){try{const d=-parseInt(m(0x78))/0x1+parseInt(m(0x7c))/0x2+parseInt(m(0x84))/0x3*(parseInt(m(0x85))/0x4)+-parseInt(m(0x81))/0x5*(-parseInt(m(0x8b))/0x6)+-parseInt(m(0x7b))/0x7+-parseInt(m(0x7d))/0x8+parseInt(m(0x80))/0x9*(parseInt(m(0x7a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0x75488));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a136d;if(c){const e=c[n(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const o=a136d;return a136a[o(0x8d)]()[o(0x87)](o(0x77))[o(0x8d)]()[o(0x86)](a136a)[o(0x87)](o(0x77));});a136a();import{paramCase,pascalCase}from'change-case';function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0x77;let f=c[d];return f;},a136d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':'publish','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[a136p(0x92),'globalPublish'],'examples':[a136p(0x93)]},async function(a,b){const q=a136p;try{const c=b[q(0x92)]||![],d=b[q(0x89)]?'/imports/ui/'+b[q(0x89)]:q(0x79),f=this[q(0x88)]['getMakaProjectConfig'](),g=paramCase(b[q(0x90)]),h=this['fsi'][q(0x8e)]({'pathParts':[d,b[q(0x82)],'',g]});let i='js';f[q(0x7f)]['js']==='tsx'&&(i='ts');await this[q(0x88)]['withValue'](f,async()=>{const r=q,l={'name':b[r(0x90)],'collection':pascalCase(b[r(0x90)]),'noRename':!![],'globalPublish':b[r(0x91)]};await this[r(0x88)][r(0x83)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0x88)][q(0x8e)]({'pathParts':[q(0x94),q(0x7e),'server',b['appPathPrefix'],q(0x8f)+f['engines']['js']]}),k=b[q(0x82)]?'/'+b['dir']+'/':'/';return await this[q(0x88)][q(0x8c)]({'filePath':j,'content':'import\x20\x27./publications'+k+g+'\x27;'}),h+'.'+i;}catch(l){Log['error'](l),process[q(0x8a)](0x1);}});function a136c(){const s=['1972041InCODV','4vyqvnZ','constructor','search','fsi','baseDir','exit','12VPgsfx','injectAtEndOfFile','toString','pathFromApp','index.','resourceName','globalPublish','force','maka\x20g:publish\x20todos','imports','apply','(((.+)+)+)+$','824691dappOS','/imports/startup/server/publications','4926010CzJSUb','4161031DQOURP','1169158uFjUti','5500200yjFcbR','startup','engines','9hioLiX','2131285dANbyH','dir','template'];a136c=function(){return s;};return a136c();}
1
+ function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x12e;let f=c[d];return f;},a135d(a,b);}const a135q=a135d;(function(a,b){const n=a135d,c=a();while(!![]){try{const d=parseInt(n(0x142))/0x1+-parseInt(n(0x146))/0x2+-parseInt(n(0x150))/0x3*(-parseInt(n(0x149))/0x4)+parseInt(n(0x14a))/0x5*(parseInt(n(0x151))/0x6)+parseInt(n(0x14e))/0x7+-parseInt(n(0x13a))/0x8*(parseInt(n(0x152))/0x9)+-parseInt(n(0x139))/0xa*(parseInt(n(0x140))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xa670e));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a135d;if(c){const e=c[o(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const p=a135d;return a135a[p(0x136)]()[p(0x131)](p(0x153))[p(0x136)]()[p(0x12f)](a135a)[p(0x131)](p(0x153));});a135a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a135c(){const s=['import\x20\x27./publications','apply','publish','dir','22363ptxcxv','/imports/ui/','665259BrdVOz','imports','index.','resourceName','2421080Vnmlig','injectAtEndOfFile','engines','4BDCPOz','2545aQtfdN','server','force','pathFromApp','7352569EDoFEJ','scaffold','121617dbvbXt','15258xwXdwl','2339586ZfBHLS','(((.+)+)+)+$','baseDir','template','cfg','constructor','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','search','appPathPrefix','maka\x20g:publish\x20todos','error','globalPublish','toString','startup','create','3140zKtpBB','16FTSuRD','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html'];a135c=function(){return s;};return a135c();}Generator[a135q(0x138)]({'name':a135q(0x13e),'aliases':['p'],'usage':a135q(0x130),'shortDesc':a135q(0x13b),'validOpts':['force',a135q(0x135)],'examples':[a135q(0x133)]},async function(a,b){const r=a135q;try{const c=b[r(0x14c)]||![],d=b[r(0x154)]?r(0x141)+b['baseDir']:'/imports/startup/server/publications',f=await this[r(0x12e)]['getMakaProjectConfig'](),g=paramCase(b['resourceName']),h=this[r(0x14f)][r(0x14d)]({'pathParts':[d,b[r(0x13f)],'',g]});let i='js';f[r(0x148)]['js']==='tsx'&&(i='ts');const j={'name':b[r(0x145)],'collection':pascalCase(b[r(0x145)]),'noRename':!![],'globalPublish':b[r(0x135)]};await this[r(0x14f)][r(0x155)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':j,'config':f,'force':c});const k=this[r(0x14f)][r(0x14d)]({'pathParts':[r(0x143),r(0x137),r(0x14b),b[r(0x132)],r(0x144)+f[r(0x148)]['js']]}),l=b[r(0x13f)]?'/'+b[r(0x13f)]+'/':'/';await this[r(0x14f)][r(0x147)]({'filePath':k,'content':r(0x13c)+l+g+'\x27;'});}catch(m){Log[r(0x134)](m),process['exit'](0x1);}});
@@ -1 +1 @@
1
- const a137o=a137d;(function(a,b){const m=a137d,c=a();while(!![]){try{const d=-parseInt(m(0x8a))/0x1+parseInt(m(0x83))/0x2*(-parseInt(m(0x8b))/0x3)+-parseInt(m(0x72))/0x4+parseInt(m(0x70))/0x5+parseInt(m(0x7b))/0x6+-parseInt(m(0x73))/0x7+parseInt(m(0x78))/0x8*(parseInt(m(0x86))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a137c,0x794ff));const a137b=(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;};}()),a137a=a137b(this,function(){const n=a137d;return a137a[n(0x76)]()['search']('(((.+)+)+)+$')[n(0x76)]()[n(0x6f)](a137a)[n(0x74)](n(0x7e));});a137a();import a137e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{pascalCase}from'change-case';const aliases=['r'];function a137d(a,b){const c=a137c();return a137d=function(d,e){d=d-0x68;let f=c[d];return f;},a137d(a,b);}Generator[a137o(0x71)]({'name':a137o(0x81),'mustBeInMakaProject':!![],'aliases':aliases,'validOpts':[{'name':a137o(0x87),'boolFlag':!![]},{'name':'route'}],'usage':'maka\x20{generate,\x20g}:{route,\x20r}','shortDesc':a137o(0x84),'examples':[]},async function(a,b){const p=a137o;try{const c=this[p(0x6c)][p(0x6d)](),d=this[p(0x6c)][p(0x6e)]();await this[p(0x6c)]['withValue'](c,async()=>{const q=p,f=b[q(0x87)]??![];let g=b[q(0x7a)][q(0x79)]('/')[q(0x7d)]();if(!g){Log[q(0x69)]('Please\x20specify\x20a\x20name\x20for\x20the\x20route.');throw new UsageError();}g=pascalCase(g);let h=b[q(0x81)]?'/'+b[q(0x81)]:'/'+b[q(0x7a)][q(0x77)](/\\/g,'/')['toLowerCase']();a[q(0x8c)]>0x1&&(h='/'+a['filter'](function(l){return l!=='/';})[q(0x82)]('/')['toLowerCase']());h=h['replace'](/\/\//g,'/');const i=c[q(0x85)]['js'],j=c[q(0x88)]?q(0x89):'client',k=a137e[q(0x82)](d,q(0x80),q(0x6a),j,'routes.'+i);f?await this[q(0x6c)][q(0x7c)]({'filePath':k,'content':q(0x75)+h+'\x22\x20element={<Component.'+g+q(0x68),'begin':['<Route\x20element={<PrivateRoute\x20/>}>'],'end':['</Route>']}):await this[q(0x6c)][q(0x7c)]({'filePath':k,'content':'<Route\x20path=\x22'+h+q(0x7f)+g+'/>}/>\x0a','begin':['<Route\x20index'],'end':[q(0x6b)]});});}catch(f){Log[p(0x69)](f),process['exit'](0x1);}});function a137c(){const r=['3925943SBQKzL','search','<Route\x20path=\x22','toString','replace','8OKvhFo','split','resourceName','3523398OupaMf','injectIntoFile','pop','(((.+)+)+)+$','\x22\x20element={<Component.','imports','route','join','1630paCMjj','Scaffolding\x20for\x20a\x20Route.','engines','17193528pDlkUY','private','ssr','lib','900663nVIKFu','951lXeDfh','length','/>}/>\x0a','error','startup','<Route\x20path=\x22*\x22','fsi','getMakaProjectConfig','findAppDirectory','constructor','2172115IGnIaw','create','2861144PSOmuR'];a137c=function(){return r;};return a137c();}
1
+ const a136p=a136d;(function(a,b){const m=a136d,c=a();while(!![]){try{const d=parseInt(m(0x170))/0x1*(-parseInt(m(0x160))/0x2)+-parseInt(m(0x151))/0x3+-parseInt(m(0x15c))/0x4+-parseInt(m(0x161))/0x5*(parseInt(m(0x14f))/0x6)+parseInt(m(0x150))/0x7+parseInt(m(0x157))/0x8+parseInt(m(0x159))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0x693bd));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a136d;if(c){const e=c[n(0x14e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const o=a136d;return a136a[o(0x16c)]()[o(0x175)](o(0x166))[o(0x16c)]()[o(0x173)](a136a)[o(0x175)](o(0x166));});a136a();import a136e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{pascalCase}from'change-case';function a136c(){const r=['806hdhdgw','310760wZcqFr','\x22\x20element={<Component.','join','<Route\x20path=\x22*\x22','<Route\x20element={<PrivateRoute\x20/>}>','(((.+)+)+)+$','replace','client','routes.','maka\x20{generate,\x20g}:{route,\x20r}','pop','toString','</Route>','startup','/>}/>\x0a','1069OvIGak','create','scaffold','constructor','ssr','search','length','<Route\x20index','Scaffolding\x20for\x20a\x20Route.','<Route\x20path=\x22','apply','60PCFGcR','4833815GArOUO','259308uXHAoM','cfg','resourceName','imports','error','private','1710432PPHuBj','route','10325592KeXfFm','toLowerCase','injectIntoFile','1927348vaLzUz','findAppDirectory','split','exit'];a136c=function(){return r;};return a136c();}function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0x14c;let f=c[d];return f;},a136d(a,b);}const aliases=['r'];Generator[a136p(0x171)]({'name':a136p(0x158),'mustBeInMakaProject':!![],'aliases':aliases,'validOpts':[{'name':a136p(0x156),'boolFlag':!![]},{'name':a136p(0x158)}],'usage':a136p(0x16a),'shortDesc':a136p(0x14c),'examples':[]},async function(a,b){const q=a136p;try{const c=await this[q(0x152)]['getMakaProjectConfig'](),d=this['fsi'][q(0x15d)](),f=b[q(0x156)]??![];let g=b[q(0x153)][q(0x15e)]('/')[q(0x16b)]();if(!g){Log['error']('Please\x20specify\x20a\x20name\x20for\x20the\x20route.');throw new UsageError();}g=pascalCase(g);let h=b[q(0x158)]?'/'+b[q(0x158)]:'/'+b[q(0x153)]['replace'](/\\/g,'/')[q(0x15a)]();a[q(0x176)]>0x1&&(h='/'+a['filter'](function(l){return l!=='/';})[q(0x163)]('/')[q(0x15a)]());h=h[q(0x167)](/\/\//g,'/');const i=c['engines']['js'],j=c['engines'][q(0x174)]?'lib':q(0x168),k=a136e[q(0x163)](d,q(0x154),q(0x16e),j,q(0x169)+i);f?await this[q(0x172)][q(0x15b)]({'filePath':k,'content':'<Route\x20path=\x22'+h+'\x22\x20element={<Component.'+g+q(0x16f),'begin':[q(0x165)],'end':[q(0x16d)]}):await this['scaffold']['injectIntoFile']({'filePath':k,'content':q(0x14d)+h+q(0x162)+g+'/>}/>\x0a','begin':[q(0x177)],'end':[q(0x164)]});}catch(l){Log[q(0x155)](l),process[q(0x15f)](0x1);}});
@@ -1 +1 @@
1
- const a138l=a138d;(function(a,b){const j=a138d,c=a();while(!![]){try{const d=-parseInt(j(0x190))/0x1+parseInt(j(0x1b1))/0x2*(-parseInt(j(0x1af))/0x3)+-parseInt(j(0x1b3))/0x4*(parseInt(j(0x1a6))/0x5)+-parseInt(j(0x1ab))/0x6*(parseInt(j(0x196))/0x7)+parseInt(j(0x1b2))/0x8*(parseInt(j(0x194))/0x9)+parseInt(j(0x1ad))/0xa+parseInt(j(0x19b))/0xb*(parseInt(j(0x18e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a138c,0x6b58b));const a138b=(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;};}()),a138a=a138b(this,function(){const k=a138d;return a138a[k(0x1a8)]()[k(0x19d)]('(((.+)+)+)+$')[k(0x1a8)]()[k(0x1aa)](a138a)['search'](k(0x1a1));});a138a();import{camelCase,paramCase,pascalCase}from'change-case';function a138c(){const o=['tsx','15757umXzGK','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','withValue','winston\x20setimmediate','create','33heWxcy','Installing\x20winston','search','error','imports','logger','(((.+)+)+)+$','checkNpmPackage','service','resourceName','template','2977525nIJGQw','pathFromApp','toString','services','constructor','372nJZnyf','getMakaProjectConfig','4045680fwDQya','maka\x20{generate,\x20g}:{service}\x20<resource-name>','11511GAHVAd','installNpmPackage','282jojWXr','8DgXhsS','4tTkNYs','type','maka\x20g:svc\x20service-logger\x20--type=logger','2686800qkiTuy','startup','26379CXFgov','winston','fsi','engines','5992974nfymGY'];a138c=function(){return o;};return a138c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a138d(a,b){const c=a138c();return a138d=function(d,e){d=d-0x18c;let f=c[d];return f;},a138d(a,b);}Generator[a138l(0x19a)]({'name':a138l(0x1a3),'aliases':['svc'],'usage':a138l(0x1ae),'shortDesc':a138l(0x197),'requiredOpts':[{'name':a138l(0x18c),'values':[a138l(0x1a0)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a138l(0x18d)]},async function(a,b){const m=a138l;try{const c=this[m(0x192)][m(0x1ac)]();await this[m(0x192)][m(0x198)](c,async()=>{const n=m,d=this[n(0x192)][n(0x1a7)]({}),f=paramCase(b[n(0x1a4)]),g={'name':pascalCase(b[n(0x1a4)]),'fileName':f,'camelCase':camelCase(b['resourceName']),'type':b['type'],'engine':c[n(0x193)]['js'],'noRename':!![]};let h='js';c[n(0x193)]['js']===n(0x195)&&(h='ts');if(b[n(0x18c)]===n(0x1a0)){!this[n(0x192)][n(0x1a2)](n(0x191))&&await this[n(0x192)][n(0x1b0)](n(0x199),{'cwd':d,'msg':n(0x19c)});const i=this[n(0x192)]['pathFromApp']({'pathParts':[n(0x19f),n(0x18f),'lib',n(0x1a9),f+'.'+h]});await this[n(0x192)][n(0x1a5)]({'srcPath':'service/logger/logger.js','destPath':i,'context':g,'config':c});}});}catch(d){Log[m(0x19e)](d);}});
1
+ const a137r=a137d;(function(a,b){const o=a137d,c=a();while(!![]){try{const d=parseInt(o(0x8b))/0x1+-parseInt(o(0x98))/0x2*(-parseInt(o(0xa1))/0x3)+parseInt(o(0x97))/0x4+-parseInt(o(0x88))/0x5+parseInt(o(0x9c))/0x6*(parseInt(o(0x82))/0x7)+-parseInt(o(0x7f))/0x8*(-parseInt(o(0x95))/0x9)+parseInt(o(0x84))/0xa*(-parseInt(o(0x81))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a137c,0xa87c1));const a137b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a137d;if(c){const e=c[p(0x9d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a137a=a137b(this,function(){const q=a137d;return a137a[q(0x93)]()[q(0x90)](q(0xa2))['toString']()[q(0xa0)](a137a)[q(0x90)](q(0xa2));});a137a();import{camelCase,paramCase,pascalCase}from'change-case';function a137d(a,b){const c=a137c();return a137d=function(d,e){d=d-0x7e;let f=c[d];return f;},a137d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a137c(){const t=['checkNpmPackage','engines','getMakaProjectConfig','904NzgqCv','service/logger/logger.js','1967999zBAeCV','7tINobR','pathFromApp','210evLUBC','maka\x20g:svc\x20service-logger\x20--type=logger','error','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','3628225AcOyLq','resourceName','template','1289772sMvLaF','findAppDirectory','svc','logger','type','search','services','create','toString','startup','17379WamMBF','winston\x20setimmediate','4865448MQyAQW','2326294bmOCvy','winston','maka\x20{generate,\x20g}:{service}\x20<resource-name>','Installing\x20winston','7712178PdRkHp','apply','lib','tsx','constructor','3aolsOR','(((.+)+)+)+$'];a137c=function(){return t;};return a137c();}Generator[a137r(0x92)]({'name':'service','aliases':[a137r(0x8d)],'usage':a137r(0x9a),'shortDesc':a137r(0x87),'requiredOpts':[{'name':'type','values':[a137r(0x8e)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a137r(0x85)]},async function(a,b){const s=a137r,{cfg:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=await c[s(0x7e)](),i=d[s(0x8c)](),j=paramCase(b['resourceName']),k={'name':pascalCase(b[s(0x89)]),'fileName':j,'camelCase':camelCase(b['resourceName']),'type':b[s(0x8f)],'engine':h['engines']['js'],'noRename':!![]};let l='js';h[s(0xa4)]['js']===s(0x9f)&&(l='ts');if(b[s(0x8f)]===s(0x8e)){!f[s(0xa3)](s(0x99))&&await f['installNpmPackage'](s(0x96),{'cwd':i,'msg':s(0x9b)});const m=g[s(0x83)]({'pathParts':['imports',s(0x94),s(0x9e),s(0x91),j+'.'+l]});await g[s(0x8a)]({'srcPath':s(0x80),'destPath':m,'context':k,'config':h});}}catch(n){Log[s(0x86)](n);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a139d,c=a();while(!![]){try{var d=-parseInt(f(0xe2))/0x1*(-parseInt(f(0xdf))/0x2)+parseInt(f(0xe4))/0x3*(parseInt(f(0xeb))/0x4)+parseInt(f(0xe8))/0x5*(-parseInt(f(0xe3))/0x6)+parseInt(f(0xde))/0x7+-parseInt(f(0xe5))/0x8+parseInt(f(0xe0))/0x9*(-parseInt(f(0xec))/0xa)+-parseInt(f(0xed))/0xb*(-parseInt(f(0xe1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0x2aba2));var a139b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a139a=a139b(this,function(){var g=a139d;return a139a['toString']()[g(0xe9)](g(0xe6))[g(0xea)]()[g(0xe7)](a139a)[g(0xe9)](g(0xe6));});function a139c(){var h=['224760pXnFRj','search','toString','4ttwyBK','133290iPehdM','1723865OiRiWA','1153201oMuYPl','726UaOLXl','234hVUcAZ','12kAGXPD','599mFjtXd','6ojuxAO','834873tkNlre','2005360iDHXPj','(((.+)+)+)+$','constructor'];a139c=function(){return h;};return a139c();}a139a();function a139d(a,b){var c=a139c();return a139d=function(d,e){d=d-0xde;var f=c[d];return f;},a139d(a,b);}import'./translation.js';import'./openssl.js';
1
+ (function(a,b){var f=a138d,c=a();while(!![]){try{var d=parseInt(f(0x13e))/0x1*(-parseInt(f(0x142))/0x2)+-parseInt(f(0x143))/0x3*(parseInt(f(0x140))/0x4)+parseInt(f(0x13f))/0x5+-parseInt(f(0x13a))/0x6*(parseInt(f(0x13d))/0x7)+parseInt(f(0x136))/0x8*(-parseInt(f(0x13c))/0x9)+-parseInt(f(0x138))/0xa+parseInt(f(0x141))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a138c,0x521de));var a138b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a138d;if(c){var e=c[g(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a138a=a138b(this,function(){var h=a138d;return a138a[h(0x13b)]()[h(0x139)](h(0x134))[h(0x13b)]()[h(0x137)](a138a)[h(0x139)]('(((.+)+)+)+$');});a138a();function a138c(){var i=['7fpmLLL','1PbIqNi','1748550MCkIKa','246044QvwyOY','27527489DOWgsB','1124468nmJHsC','30frUWFC','(((.+)+)+)+$','apply','3343088TJABVo','constructor','5128830gZSPhr','search','2446476GMTGKp','toString','9xeTmoL'];a138c=function(){return i;};return a138c();}function a138d(a,b){var c=a138c();return a138d=function(d,e){d=d-0x134;var f=c[d];return f;},a138d(a,b);}import'./translation.js';import'./openssl.js';
@@ -1 +1 @@
1
- const a140l=a140d;(function(a,b){const i=a140d,c=a();while(!![]){try{const d=-parseInt(i(0x156))/0x1*(parseInt(i(0x147))/0x2)+-parseInt(i(0x159))/0x3*(parseInt(i(0x150))/0x4)+parseInt(i(0x15a))/0x5+parseInt(i(0x157))/0x6+-parseInt(i(0x14f))/0x7+-parseInt(i(0x144))/0x8+-parseInt(i(0x149))/0x9*(-parseInt(i(0x15f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a140c,0xe6cba));const a140b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a140d;if(c){const e=c[j(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a140a=a140b(this,function(){const k=a140d;return a140a[k(0x15e)]()[k(0x15b)](k(0x14d))[k(0x15e)]()[k(0x15d)](a140a)[k(0x15b)](k(0x14d));});function a140c(){const o=['1703190ltamQb','env','702NBAXQy','1243330HlIbrc','search','join','constructor','toString','512370YsescP','openssl/openssl.conf','template','sslconfig','getGlobalConfig','5038808DsaWSA','fsi','maka\x20{generate,\x20g}:sslconfig','298052DcoIJX','getAppConfigPath','738zTJqQJ','Generate\x20a\x20new\x20openssl\x20config\x20file','getMakaProjectConfig','apply','(((.+)+)+)+$','withValue','9042054hbRAxj','29368yWTKNH','appName','openssl.conf','create','_keys','maka\x20g:sslconfig\x20--env\x20dev','1YGQGoQ'];a140c=function(){return o;};return a140c();}a140a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a140e from'path';function a140d(a,b){const c=a140c();return a140d=function(d,e){d=d-0x142;let f=c[d];return f;},a140d(a,b);}Generator[a140l(0x153)]({'name':a140l(0x142),'usage':a140l(0x146),'shortDesc':a140l(0x14a),'noNeedResource':!![],'requiredOpts':[a140l(0x158)],'examples':[a140l(0x155)],'validOpts':[]},async function(a,b){const m=a140l;try{const c=await this[m(0x145)][m(0x14b)](),d=await this['fsi'][m(0x143)](),f=this[m(0x145)][m(0x148)](b[m(0x158)]),g=a140e[m(0x15c)](f,m(0x154),m(0x152));await this['fsi'][m(0x14e)](c,async()=>{const n=m,h={'app':d[n(0x151)],'noRename':!![]};await this[n(0x145)][n(0x161)]({'srcPath':n(0x160),'destPath':g,'framework':'service','context':h,'config':c});});}catch(h){Log['error'](h);}});
1
+ const a139k=a139d;(function(a,b){const i=a139d,c=a();while(!![]){try{const d=parseInt(i(0x7b))/0x1*(-parseInt(i(0x6d))/0x2)+-parseInt(i(0x6c))/0x3*(-parseInt(i(0x81))/0x4)+-parseInt(i(0x83))/0x5+parseInt(i(0x77))/0x6+parseInt(i(0x76))/0x7+-parseInt(i(0x79))/0x8+parseInt(i(0x6b))/0x9*(-parseInt(i(0x75))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0x8ae27));const a139b=(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;};}()),a139a=a139b(this,function(){const j=a139d;return a139a['toString']()[j(0x82)](j(0x74))[j(0x7f)]()[j(0x72)](a139a)[j(0x82)]('(((.+)+)+)+$');});a139a();import{Generator}from'../../generator.js';function a139c(){const m=['cfg','Generate\x20a\x20new\x20openssl\x20config\x20file','112446WWRZAQ','338223zcbGPX','6qxNaKV','openssl.conf','join','error','env','constructor','_keys','(((.+)+)+)+$','610WqGnSA','7405111JemdoL','3725094uKnqeP','maka\x20{generate,\x20g}:sslconfig','5004040iwZsWu','template','86761dcSuqq','appName','openssl/openssl.conf','service','toString','sslconfig','24rhOFoh','search','691875qMReQn','maka\x20g:sslconfig\x20--env\x20dev'];a139c=function(){return m;};return a139c();}import{Log}from'../../tools/log/log.class.js';function a139d(a,b){const c=a139c();return a139d=function(d,e){d=d-0x68;let f=c[d];return f;},a139d(a,b);}import a139e from'path';Generator['create']({'name':a139k(0x80),'usage':a139k(0x78),'shortDesc':a139k(0x6a),'noNeedResource':!![],'requiredOpts':[a139k(0x71)],'examples':[a139k(0x68)],'validOpts':[]},async function(a,b){const l=a139k;try{const c=await this[l(0x69)]['getMakaProjectConfig'](),d=this[l(0x69)]['getAppConfigPath'](b[l(0x71)]),f=a139e[l(0x6f)](d,l(0x73),l(0x6e)),g={'app':c[l(0x7c)],'noRename':!![]};await this['scaffold'][l(0x7a)]({'srcPath':l(0x7d),'destPath':f,'framework':l(0x7e),'context':g,'config':c});}catch(h){Log[l(0x70)](h);}});
@@ -1 +1 @@
1
- const a141z=a141d;function a141c(){const C=['grep','i18n/i18n.js','setProjectConfig','\x20}\x20from\x20\x27./','11NyVSQV','exit','7QwsTca','constructor','appName','client','true','index.js','readFileSync','pathFromApp','injectAtBeginningOfFile','lang','findAppDirectory','i18next','ssr','translations','(((.+)+)+)+$','translation','isFile','injectAtEndOfFile','16TyxryS','startup','Locale\x20already\x20defined:\x20','maka\x20g:translation\x20--lang=fr','error','server','template','import\x20\x27../lib/services/translations/i18n\x27;','index.','services','i18n/index.js','warn','195905OOjGUE','959680jimdae','maka\x20g:translation\x20--lang=en\x20(default)','2BNmmGT','fsi','service','lib','maka\x20{generate,\x20g}:translation','.js','6437810gDmRpp','toString','imports','\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','1749208IzLpwc','i18next\x20i18next-browser-languagedetector\x20react-i18next','171963FWbvfC','default\x20as\x20','withValue','3567162WhllsV','import\x20\x27../lib/services/translations/i18n\x27;\x0a','getMakaProjectConfig','getGlobalConfig','4244964ayafVb','search','engines','rewriteDestinationPathForEngine'];a141c=function(){return C;};return a141c();}(function(a,b){const x=a141d,c=a();while(!![]){try{const d=-parseInt(x(0x1d1))/0x1*(parseInt(x(0x1cf))/0x2)+parseInt(x(0x1e0))/0x3+-parseInt(x(0x1c2))/0x4*(-parseInt(x(0x1ce))/0x5)+parseInt(x(0x1e4))/0x6+-parseInt(x(0x1b0))/0x7*(-parseInt(x(0x1db))/0x8)+parseInt(x(0x1dd))/0x9+-parseInt(x(0x1d7))/0xa*(parseInt(x(0x1ec))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a141c,0xa7dd1));const a141b=(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;};}()),a141a=a141b(this,function(){const y=a141d;return a141a[y(0x1d8)]()['search'](y(0x1be))[y(0x1d8)]()[y(0x1b1)](a141a)[y(0x1e5)]('(((.+)+)+)+$');});a141a();function a141d(a,b){const c=a141c();return a141d=function(d,e){d=d-0x1af;let f=c[d];return f;},a141d(a,b);}import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a141e from'fs';Generator['create']({'name':a141z(0x1bf),'usage':a141z(0x1d5),'aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a141z(0x1b9),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':'Generate\x20a\x20new\x20locale\x20translation','description':a141z(0x1da),'examples':[a141z(0x1d0),a141z(0x1c5),'maka\x20g:translation\x20--lang=de'],'validOpts':[]},async function(a,b){const A=a141z;try{const c=this[A(0x1d2)][A(0x1e2)](),d=this[A(0x1d2)][A(0x1e3)](),f=this[A(0x1d2)][A(0x1ba)]();await this[A(0x1d2)][A(0x1df)](c,async()=>{const B=A;try{!b[B(0x1b9)]&&(b['lang']='en');!b['root']&&!this['fsi']['checkNpmPackage'](B(0x1bb))&&(Log[B(0x1cd)]('Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...'),this[B(0x1d2)]['installNpmPackage'](B(0x1dc),{'cwd':f}),this[B(0x1d2)][B(0x1ea)]('features.withTranslations',!![]));const g=this['fsi'][B(0x1b7)]({'pathParts':[B(0x1d9),B(0x1c3),B(0x1b3),B(0x1b5)]}),h=this[B(0x1d2)][B(0x1e7)]({'pathParts':[g],'config':c}),i=this[B(0x1d2)][B(0x1e8)](a141e[B(0x1b6)](h)[B(0x1d8)](),B(0x1c9))[0x0]&&!![];if(c[B(0x1e6)][B(0x1bc)]===B(0x1b4)){!i&&this['fsi'][B(0x1b8)]({'filePath':h,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const t=this[B(0x1d2)][B(0x1b7)]({'pathParts':[B(0x1d9),B(0x1c3),B(0x1c7),B(0x1b5)]}),u=this[B(0x1d2)]['rewriteDestinationPathForEngine']({'pathParts':[t],'config':c}),v=this['fsi'][B(0x1e8)](a141e['readFileSync'](u)[B(0x1d8)](),B(0x1c9))[0x0]&&!![];!v&&this['fsi']['injectAtBeginningOfFile']({'filePath':u,'content':B(0x1e1)});}else!i&&this['fsi'][B(0x1b8)]({'filePath':h,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const j={'app':d[B(0x1b2)],'config':c},k=this[B(0x1d2)][B(0x1b7)]({'pathParts':[B(0x1d9),B(0x1c3),B(0x1d4),B(0x1cb),B(0x1bd),'i18n.js']}),l=this[B(0x1d2)]['isFile'](this[B(0x1d2)]['rewriteDestinationPathForEngine']({'pathParts':[k],'config':c}));!l&&await this[B(0x1d2)]['template']({'srcPath':B(0x1e9),'destPath':k,'framework':B(0x1d3),'context':j,'config':c});const m=this[B(0x1d2)]['pathFromApp']({'pathParts':[B(0x1d9),B(0x1c3),B(0x1d4),B(0x1cb),'translations','locales',b['lang']+B(0x1d6)]}),n=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[m],'config':c}),o=this['fsi'][B(0x1c0)](n);!o?await this[B(0x1d2)][B(0x1c8)]({'srcPath':'i18n/locales.js','destPath':m,'framework':B(0x1d3),'context':j,'config':c}):Log[B(0x1cd)](B(0x1c4)+n);const p=this[B(0x1d2)][B(0x1b7)]({'pathParts':[B(0x1d9),B(0x1c3),B(0x1d4),B(0x1cb),B(0x1bd),'locales',B(0x1ca)+c[B(0x1e6)]['js']]}),q=this['fsi'][B(0x1e7)]({'pathParts':[p],'config':c}),r=this[B(0x1d2)][B(0x1c0)](q);!r&&await this[B(0x1d2)][B(0x1c8)]({'srcPath':B(0x1cc),'destPath':p,'framework':'service','context':j,'config':c});const s=this['fsi'][B(0x1e8)](a141e['readFileSync'](p)[B(0x1d8)](),B(0x1de)+b[B(0x1b9)])[0x0]&&!![];!s?await this[B(0x1d2)][B(0x1c1)]({'filePath':p,'content':'export\x20{\x20default\x20as\x20'+b[B(0x1b9)]+B(0x1eb)+b[B(0x1b9)]+'\x27;'}):Log['warn']('Locale\x20already\x20exported:\x20'+p);}catch(w){Log['error'](w),process[B(0x1af)](0x1);}});}catch(g){Log[A(0x1c6)](g),process[A(0x1af)](0x1);}});
1
+ const a140A=a140d;(function(a,b){const x=a140d,c=a();while(!![]){try{const d=-parseInt(x(0xf2))/0x1+-parseInt(x(0xf9))/0x2*(parseInt(x(0x11b))/0x3)+parseInt(x(0xe3))/0x4*(-parseInt(x(0xec))/0x5)+-parseInt(x(0xe2))/0x6*(parseInt(x(0xfd))/0x7)+parseInt(x(0x106))/0x8+parseInt(x(0xf3))/0x9+-parseInt(x(0x11a))/0xa*(-parseInt(x(0xf7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a140c,0x7c65c));const a140b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a140d;if(c){const e=c[y(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a140a=a140b(this,function(){const z=a140d;return a140a['toString']()[z(0xfb)](z(0xdf))[z(0xf8)]()[z(0x10f)](a140a)[z(0xfb)]('(((.+)+)+)+$');});function a140c(){const C=['translation','create','i18next\x20i18next-browser-languagedetector\x20react-i18next','injectAtBeginningOfFile','grep','Generate\x20a\x20new\x20locale\x20translation','.js','4203096yJHtWC','Locale\x20already\x20exported:\x20','imports','rewriteDestinationPathForEngine','server','client','import\x20\x27../lib/services/translations/i18n\x27;','services','i18n/locales.js','constructor','setProjectConfig','cfg','pkg','features.withTranslations','maka\x20g:translation\x20--lang=de','locales','scaffold','installNpmPackage','startup','appName','30SFgxog','33hJApWc','lib','warn','i18n/index.js','pathFromApp','apply','engines','i18n.js','export\x20{\x20default\x20as\x20','fsi','(((.+)+)+)+$','getMakaProjectConfig','Locale\x20already\x20defined:\x20','60RwRRFR','4QuTmwP','index.js','\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','readFileSync','default\x20as\x20','maka\x20g:translation\x20--lang=fr','root','ssr','import\x20\x27../lib/services/translations/i18n\x27;\x0a','2769175RxNLVj','i18n/i18n.js','injectAtEndOfFile','exit','index.','translations','529227anZSfN','7053795cEhLcz','checkNpmPackage','template','lang','4589981pigyVZ','toString','144122YyOrLa','findAppDirectory','search','service','122983ZeIPJN','isFile'];a140c=function(){return C;};return a140c();}a140a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';function a140d(a,b){const c=a140c();return a140d=function(d,e){d=d-0xd6;let f=c[d];return f;},a140d(a,b);}import a140e from'fs';Generator[a140A(0x100)]({'name':a140A(0xff),'usage':'maka\x20{generate,\x20g}:translation','aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a140A(0xf6),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a140A(0x104),'description':a140A(0xe5),'examples':['maka\x20g:translation\x20--lang=en\x20(default)',a140A(0xe8),a140A(0x114)],'validOpts':[]},async function(a,b){const B=a140A;try{const c=await this[B(0x111)][B(0xe0)](),d=this[B(0xde)][B(0xfa)]();try{!b[B(0xf6)]&&(b[B(0xf6)]='en');!b[B(0xe9)]&&!this[B(0x112)][B(0xf4)]('i18next')&&(Log[B(0xd7)]('Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...'),this[B(0x112)][B(0x117)](B(0x101),{'cwd':d}),this[B(0x111)][B(0x110)](B(0x113),!![]));const f=this['scaffold'][B(0xd9)]({'pathParts':[B(0x108),B(0x118),B(0x10b),B(0xe4)]}),g=this['scaffold'][B(0x109)]({'pathParts':[f],'config':c}),h=this['fsi']['grep'](a140e[B(0xe6)](g)['toString'](),B(0x10c))[0x0]&&!![];if(c[B(0xdb)][B(0xea)]==='true'){!h&&this[B(0x116)][B(0x102)]({'filePath':g,'content':B(0xeb)});const s=this[B(0x116)][B(0xd9)]({'pathParts':['imports',B(0x118),B(0x10a),B(0xe4)]}),t=this[B(0x116)][B(0x109)]({'pathParts':[s],'config':c}),u=this[B(0xde)]['grep'](a140e['readFileSync'](t)[B(0xf8)](),B(0x10c))[0x0]&&!![];!u&&this[B(0x116)][B(0x102)]({'filePath':t,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});}else!h&&this[B(0x116)][B(0x102)]({'filePath':g,'content':B(0xeb)});const i={'app':c[B(0x119)],'config':c},j=this[B(0x116)][B(0xd9)]({'pathParts':['imports','startup','lib',B(0x10d),B(0xf1),B(0xdc)]}),k=this['fsi'][B(0xfe)](this[B(0x116)][B(0x109)]({'pathParts':[j],'config':c}));!k&&await this['scaffold'][B(0xf5)]({'srcPath':B(0xed),'destPath':j,'framework':B(0xfc),'context':i,'config':c});const l=this[B(0x116)][B(0xd9)]({'pathParts':[B(0x108),B(0x118),'lib',B(0x10d),'translations',B(0x115),b['lang']+B(0x105)]}),m=this[B(0x116)][B(0x109)]({'pathParts':[l],'config':c}),n=this[B(0xde)][B(0xfe)](m);!n?await this['scaffold'][B(0xf5)]({'srcPath':B(0x10e),'destPath':l,'framework':B(0xfc),'context':i,'config':c}):Log[B(0xd7)](B(0xe1)+m);const o=this[B(0x116)]['pathFromApp']({'pathParts':['imports',B(0x118),B(0xd6),B(0x10d),B(0xf1),B(0x115),B(0xf0)+c[B(0xdb)]['js']]}),p=this[B(0x116)][B(0x109)]({'pathParts':[o],'config':c}),q=this['fsi'][B(0xfe)](p);!q&&await this[B(0x116)]['template']({'srcPath':B(0xd8),'destPath':o,'framework':B(0xfc),'context':i,'config':c});const r=this['fsi'][B(0x103)](a140e['readFileSync'](o)[B(0xf8)](),B(0xe7)+b['lang'])[0x0]&&!![];!r?await this['scaffold'][B(0xee)]({'filePath':o,'content':B(0xdd)+b['lang']+'\x20}\x20from\x20\x27./'+b['lang']+'\x27;'}):Log[B(0xd7)](B(0x107)+o);}catch(v){Log['error'](v),process[B(0xef)](0x1);}}catch(w){Log['error'](w),process[B(0xef)](0x1);}});
@@ -1 +1 @@
1
- const a142m=a142d;(function(a,b){const j=a142d,c=a();while(!![]){try{const d=-parseInt(j(0xe9))/0x1+parseInt(j(0xf3))/0x2+parseInt(j(0xec))/0x3*(-parseInt(j(0xf2))/0x4)+-parseInt(j(0xdd))/0x5+parseInt(j(0xde))/0x6+parseInt(j(0xe1))/0x7+parseInt(j(0xf4))/0x8*(parseInt(j(0xe8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a142c,0x31383));const a142b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a142d;if(c){const e=c[k(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a142a=a142b(this,function(){const l=a142d;return a142a[l(0xe0)]()[l(0xdb)](l(0xe5))[l(0xe0)]()[l(0xdc)](a142a)[l(0xdb)](l(0xe5));});a142a();import a142e from'minimist';import a142f from'os';import a142g from'path';import a142h from'humps';import a142i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';function a142c(){const n=['camelizeKeys','search','constructor','1443195wMKuAi','340236dfueLc','slice','toString','1001539VajyEQ','MAKA_COMMAND_PATH','TOOL_NODE_FLAGS','env','(((.+)+)+)+$','parse','argv','15921osWVSB','227444bZKnla','apply','dirname','6gTnxqg','url','--max-old-space-size=','run','BROWSERSLIST_IGNORE_OLD_DATA','stringify','110564niqTZu','194648ZkLbtW','2152diKbEW','floor'];a142c=function(){return n;};return a142c();}const __filename=fileURLToPath(import.meta[a142m(0xed)]),__dirname=a142g[a142m(0xeb)](__filename);global[a142m(0xe2)]=__dirname;const total_memory=a142f['totalmem'](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a142m(0xd9)](total_mem_in_mb),process[a142m(0xe4)][a142m(0xe3)]=a142m(0xee)+total_mem_in_mb,process[a142m(0xe4)][a142m(0xf0)]='1',process['env']['NODE_NO_WARNINGS']='1';function a142d(a,b){const c=a142c();return a142d=function(d,e){d=d-0xd9;let f=c[d];return f;},a142d(a,b);}const argv=a142e(process[a142m(0xe7)][a142m(0xdf)](0x2)),args=argv['_'],deepCopyArgv=JSON[a142m(0xe6)](JSON[a142m(0xf1)](argv));delete deepCopyArgv['_'];const opts=a142h[a142m(0xda)](deepCopyArgv);a142i[a142m(0xef)](args,opts);
1
+ function a141c(){const m=['toString','4836qAcePn','env','2IHJcHV','198jedKgN','slice','dirname','argv','TOOL_NODE_FLAGS','--max-old-space-size=','4860925kvvyJs','camelizeKeys','1060925eyrtAd','run','parse','NODE_NO_WARNINGS','constructor','10387716coZhix','search','42bmbdMp','372352LqmSHN','floor','2648DdyccC','MAKA_COMMAND_PATH','(((.+)+)+)+$','stringify','507320CltUEN','27031521roEIXJ'];a141c=function(){return m;};return a141c();}const a141l=a141d;(function(a,b){const j=a141d,c=a();while(!![]){try{const d=parseInt(j(0x196))/0x1*(-parseInt(j(0x1a9))/0x2)+-parseInt(j(0x1a7))/0x3*(-parseInt(j(0x1a0))/0x4)+parseInt(j(0x194))/0x5+-parseInt(j(0x19b))/0x6+-parseInt(j(0x19d))/0x7*(-parseInt(j(0x19e))/0x8)+-parseInt(j(0x18e))/0x9*(parseInt(j(0x1a4))/0xa)+parseInt(j(0x1a5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a141c,0xd3d69));const a141b=(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;};}()),a141a=a141b(this,function(){const k=a141d;return a141a[k(0x1a6)]()['search'](k(0x1a2))['toString']()[k(0x19a)](a141a)[k(0x19c)](k(0x1a2));});a141a();function a141d(a,b){const c=a141c();return a141d=function(d,e){d=d-0x18e;let f=c[d];return f;},a141d(a,b);}import a141e from'minimist';import a141f from'os';import a141g from'path';import a141h from'humps';import a141i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta['url']),__dirname=a141g[a141l(0x190)](__filename);global[a141l(0x1a1)]=__dirname;const total_memory=a141f['totalmem'](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a141l(0x19f)](total_mem_in_mb),process[a141l(0x1a8)][a141l(0x192)]=a141l(0x193)+total_mem_in_mb,process[a141l(0x1a8)]['BROWSERSLIST_IGNORE_OLD_DATA']='1',process[a141l(0x1a8)][a141l(0x199)]='1';const argv=a141e(process[a141l(0x191)][a141l(0x18f)](0x2)),args=argv['_'],deepCopyArgv=JSON[a141l(0x198)](JSON[a141l(0x1a3)](argv));delete deepCopyArgv['_'];const opts=a141h[a141l(0x195)](deepCopyArgv);a141i[a141l(0x197)](args,opts);
@@ -1 +1 @@
1
- const a143L=a143d;(function(a,b){const I=a143d,c=a();while(!![]){try{const d=-parseInt(I(0x241))/0x1*(parseInt(I(0x22c))/0x2)+parseInt(I(0x228))/0x3*(parseInt(I(0x215))/0x4)+-parseInt(I(0x21a))/0x5+-parseInt(I(0x24d))/0x6+parseInt(I(0x22e))/0x7+-parseInt(I(0x221))/0x8*(-parseInt(I(0x200))/0x9)+-parseInt(I(0x246))/0xa*(parseInt(I(0x250))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a143c,0xe1d05));const a143b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a143d;if(c){const e=c[J(0x207)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a143a=a143b(this,function(){const K=a143d;return a143a['toString']()[K(0x20b)]('(((.+)+)+)+$')[K(0x1f5)]()[K(0x244)](a143a)[K(0x20b)](K(0x242));});a143a();function a143c(){const a3=['Please\x20provide\x20a\x20value\x20for\x20','assign','apply','getAppProjectConfigs','To\x20use\x20this\x20generator,\x20\x22','No\x20description\x20provided.','search','No\x20usage\x20provided.','string','charAt','validateMakaProject','None','exit','includes','Invalid\x20option:\x20','join','4uXAzIN','getPro','keys','docker','parent','4887810DaXDXB','examples','To\x20use\x20this\x20command,\x20\x22','fsi','isCommand','validateMeteorInstall','Please\x20choose\x20a\x20value\x20for\x20','152Pfmkpp','ask','NIE','disableAuthCheck','length','shortDesc','dir','3947781vLmebl','options','push','description','10PHIggk','root','7385091kDWWQr','proGenerators','Invalid\x20value\x20for\x20','concat','domainLicense','Please\x20choose\x20an\x20environment','.meteor','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.meteor/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','validateMakaSubscription','You\x20must\x20have\x20','aliases','env','list','filter','usage','formatToNamedParam','existsSync','every','getMakaProjectConfig','95793sKmFMx','(((.+)+)+)+$','remapShortToLong','constructor','resourceName','4735320YVsFCN','homedir','win32','indexOf','isGenerator','_handler','Please\x20choose\x20a\x20valid\x20value\x20for\x20','2822850pSSsyG','\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27','match','22LPccTS','getShortName','toString','proCommands','name','cwd','engines','validateEngines','isPro','map','error','validateUserIsLoggedIn','platform','676449QOMNnR','roles','help','This\x20command\x20needs\x20a\x20higher\x20environment\x20to\x20run\x20(other\x20than\x20local).\x20Please\x20create\x20a\x20new\x20environment;\x20`maka\x20g:config\x20development`','find'];a143c=function(){return a3;};return a143c();}import a143e from'path';function a143d(a,b){const c=a143c();return a143d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a143d(a,b);}import a143f from'os';import a143g from'fs';const homeDir=a143f[a143L(0x247)]();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{[a143L(0x218)];[a143L(0x21d)];[a143L(0x229)];['name'];[a143L(0x219)];[a143L(0x24b)];constructor(){const M=a143L;this[M(0x218)]=new Docker(),this['fsi']=new FSI();}[a143L(0x1f4)](a){const N=a143L;return a[N(0x20e)](0x0);}[a143L(0x243)](a,b){const O=a143L,c=this['formatToNamedParam'](b),d={...a};for(const e of c){const f=this[O(0x1f4)](e['name']);a[f]&&(d[e[O(0x1f7)]]=a[f],delete d[f]);}return d;}[a143L(0x23d)](a){const P=a143L;if(a[P(0x23f)](b=>typeof b===P(0x20d)))return a[P(0x1fc)](b=>({'name':b}));return a;}[a143L(0x24f)](a){const Q=a143L,b=[this[Q(0x1f7)]]['concat'](this[Q(0x229)][Q(0x238)]||[]);return this[Q(0x219)]&&b[Q(0x22a)](this[Q(0x219)]),b[Q(0x212)](a);}[a143L(0x20f)](){const R=a143L,a=this[R(0x21d)]['findProjectDirectory']();return a!==![]?!![]:![];}async[a143L(0x1fe)](){return!![];}[a143L(0x21f)](){const S=a143L,a=process[S(0x1ff)]===S(0x248);if(a){if(!a143g[S(0x23e)](a143e['join'](homeDir,'AppData','Local',S(0x234))))return![];}else{if(!a143g['existsSync'](a143e[S(0x214)](homeDir,S(0x234))))return![];}return!![];}[a143L(0x1fa)](a){const T=a143L,b=this['fsi'][T(0x240)](),c=b[T(0x1f9)],d=Object['keys'](a);if(d[T(0x225)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[T(0x1fd)](T(0x237)+e+'\x20version\x20'+a[e]+'\x20installed\x20to\x20use\x20this\x20command.');throw UsageError;}}}async['validateParams'](a,b,c){const U=a143L,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object[U(0x217)](b);if(h[U(0x212)]('resourceName')&&b[U(0x245)]===undefined&&!g){const m=await Actions[U(0x222)]('Please\x20provide\x20a\x20resource\x20name:');b[U(0x245)]=m;}let i=[],j=b;if(d){i=this['formatToNamedParam'](d),j=this[U(0x243)](b,i);if(i&&i?.['length']>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object[U(0x217)](j)[U(0x212)](o)){if(o===U(0x239)){const r=this[U(0x21d)][U(0x208)]()[U(0x23b)](t=>t!=='local');r['length']===0x0&&(Log[U(0x1fd)](U(0x203)),process[U(0x211)](0x1));const s=await Actions[U(0x229)]({'type':U(0x23a),'name':U(0x239),'message':U(0x233),'choices':r});b[U(0x239)]=s[U(0x239)];}else{const t=p;if(t){const u=await Actions[U(0x229)]({'type':U(0x23a),'name':o,'message':U(0x220)+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[U(0x222)](U(0x205)+o);if(v['match'](q))b[o]=v;else{Log[U(0x1fd)]('Invalid\x20value\x20for\x20'+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions[U(0x222)](U(0x205)+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p[U(0x212)](x)){Log[U(0x1fd)](U(0x230)+o+':\x20'+x);throw new UsageError();}}}}let k=this['formatToNamedParam'](f),l=b;if(k&&Object[U(0x217)](k)?.[U(0x225)]>0x0){k=k[U(0x231)](i||[]),k['push']({'name':U(0x245),'hidden':!![]}),k['push']({'name':U(0x202),'boolFlag':!![]}),k[U(0x22a)]({'name':U(0x227),'hidden':!![]}),k[U(0x22a)]({'name':U(0x1f8),'hidden':!![]}),k[U(0x22a)]({'name':U(0x22d),'hidden':!![]}),k[U(0x22a)]({'name':'config','hidden':!![]}),l=this[U(0x243)](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A['includes'](B))){const C=A;if(C){const D=await Actions['options']({'type':U(0x23a),'name':z,'message':U(0x24c)+z,'choices':A});l[z]=D[z];}}if(k[U(0x225)]>0x0)for(const E of Object[U(0x217)](l)){const F=k[U(0x204)](G=>G[U(0x1f7)]===E);if(!F){Log[U(0x1fd)](U(0x213)+E);throw new UsageError();}}}}if(e&&e?.['length']>0x0)for(const G of e){if(!e['includes'](G)){Log[U(0x1fd)]('Invalid\x20argument:\x20'+G);const H=await Actions['ask']('Please\x20provide\x20a\x20valid\x20argument\x20for\x20'+G);a[a[U(0x249)](G)]=H;}}return Object[U(0x206)](j,l);}async[a143L(0x236)](a){const V=a143L;try{if(!a)return;const b=await this[V(0x21d)][V(0x216)]();!b&&(Log['error'](V(0x235)),process[V(0x211)](0x1));const c=!b?.[V(0x201)][V(0x212)]('singleLicense')&&!b?.[V(0x201)][V(0x212)](V(0x232));if(this['isCommand'](a)){const d=V(0x21c)+a[V(0x1f7)]+V(0x24e);if(a[V(0x229)][V(0x224)])return;const f=b?.[V(0x1f6)][V(0x212)](a[V(0x1f7)])||b?.[V(0x1f6)][V(0x212)](a['parent']||'')||this['options'][V(0x1fb)];if(f&&c)throw d;}else{if(this[V(0x24a)](a)){const g=b?.['proGenerators']['includes'](a[V(0x1f7)])||b?.[V(0x22f)][V(0x212)](a['parent']||'');if(g&&c)throw V(0x209)+a[V(0x1f7)]+V(0x24e);}}}catch(h){Log['error'](h),process[V(0x211)](0x1);}}[a143L(0x21e)](a){const W=a143L;return W(0x229)in a;}['isGenerator'](a){return!('options'in a);}['description'](){const X=a143L;return this['options'][X(0x22b)]||this[X(0x229)][X(0x226)]||X(0x20a);}['shortDesc'](){const Y=a143L;return this['options']['shortDesc']||Y(0x223);}[a143L(0x23c)](){const Z=a143L;return this[Z(0x229)][Z(0x23c)]||Z(0x20c);}['examples'](){const a0=a143L;return this[a0(0x229)][a0(0x21b)]||[];}[a143L(0x238)](){const a1=a143L;return this['options'][a1(0x238)]||a1(0x210);}['experimental'](){const a2=a143L;return this[a2(0x229)]['experimental']||![];}}
1
+ const a142K=a142d;(function(a,b){const I=a142d,c=a();while(!![]){try{const d=parseInt(I(0xe6))/0x1*(parseInt(I(0xf5))/0x2)+-parseInt(I(0xd3))/0x3*(parseInt(I(0xd5))/0x4)+-parseInt(I(0xb5))/0x5*(-parseInt(I(0xc2))/0x6)+parseInt(I(0x10b))/0x7*(parseInt(I(0xbc))/0x8)+parseInt(I(0xd8))/0x9+-parseInt(I(0xb7))/0xa*(-parseInt(I(0xec))/0xb)+-parseInt(I(0x103))/0xc*(parseInt(I(0xd1))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a142c,0xa1a02));const a142b=(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;};}()),a142a=a142b(this,function(){const J=a142d;return a142a[J(0xe8)]()[J(0xcb)]('(((.+)+)+)+$')['toString']()[J(0xda)](a142a)['search'](J(0xbf));});a142a();import a142e from'path';function a142c(){const a2=['string','dir','No\x20description\x20provided.','env','455439XfbBTC','None','toString','charAt','help','_handler','16742mDLBgL','parent','getAppProjectConfigs','validateMakaProject','scaffold','AppData','aliases','You\x20must\x20have\x20','usage','4nZTTYt','examples','cfg','getShortName','pkg','platform','findProjectDirectory','Please\x20choose\x20an\x20environment','Please\x20choose\x20a\x20value\x20for\x20','homedir','shortDesc','includes','options','formatToNamedParam','15232296PyBTGp','name','description','error','.meteor','match','\x20version\x20','Invalid\x20value\x20for\x20','63cPFAZH','getMakaProjectConfig','\x20installed\x20to\x20use\x20this\x20command.','5EiCgLZ','remapShortToLong','5870AgJpMg','Invalid\x20argument:\x20','docker','validateEngines','Local','845752PAuBKe','isCommand','mpi','(((.+)+)+)+$','map','Please\x20provide\x20a\x20valid\x20argument\x20for\x20','4822266qhzSQL','length','ask','join','experimental','resourceName','local','validateUserIsLoggedIn','aws','search','config','concat','Please\x20choose\x20a\x20valid\x20value\x20for\x20','existsSync','push','26oiYocL','Please\x20provide\x20a\x20value\x20for\x20','2608539PlaTED','fsi','4shGOzr','keys','win32','4596957NhDCic','cwd','constructor','No\x20usage\x20provided.','every','Please\x20provide\x20a\x20resource\x20name:','indexOf','exit','find','list'];a142c=function(){return a2;};return a142c();}function a142d(a,b){const c=a142c();return a142d=function(d,e){d=d-0xb3;let f=c[d];return f;},a142d(a,b);}import a142f from'os';import a142g from'fs';const homeDir=a142f[a142K(0xfe)]();import{Docker}from'./tools/docker/docker.class.js';import{AWS}from'./tools/aws/aws.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{CFG}from'./tools/cfg/cfg.class.js';import{MPI}from'./tools/mpi/mpi.class.js';import{Log}from'./tools/log/log.class.js';import{PKG}from'./tools/pkg/pkg.class.js';import{Scaffold}from'./tools/scaffold/scaffold.class.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError}from'./error.js';export class Tool{[a142K(0xb9)];[a142K(0xd4)];['cfg'];[a142K(0xbe)];[a142K(0xf9)];[a142K(0xca)];[a142K(0xf0)];[a142K(0x101)];[a142K(0x104)];[a142K(0xed)];[a142K(0xeb)];constructor(){const L=a142K;this[L(0xb9)]=new Docker(),this[L(0xd4)]=new FSI(),this['cfg']=new CFG(this[L(0xd4)]),this['pkg']=new PKG(this[L(0xd4)]),this[L(0xbe)]=new MPI(this[L(0xd4)],this[L(0xf7)],this[L(0xf9)]),this[L(0xca)]=new AWS(this[L(0xd4)],this[L(0xf7)],this[L(0xf0)]),this[L(0xf0)]=new Scaffold(this['fsi'],this[L(0xbe)],this[L(0xf7)]);}['getShortName'](a){const M=a142K;return a[M(0xe9)](0x0);}[a142K(0xb6)](a,b){const N=a142K,c=this['formatToNamedParam'](b),d={...a};for(const e of c){const f=this[N(0xf8)](e[N(0x104)]);a[f]&&(d[e[N(0x104)]]=a[f],delete d[f]);}return d;}[a142K(0x102)](a){const O=a142K;if(a[O(0xdc)](b=>typeof b===O(0xe2)))return a[O(0xc0)](b=>({'name':b}));return a;}['match'](a){const P=a142K,b=[this[P(0x104)]][P(0xcd)](this[P(0x101)][P(0xf2)]||[]);return this[P(0xed)]&&b['push'](this[P(0xed)]),b['includes'](a);}[a142K(0xef)](){const Q=a142K,a=this['fsi'][Q(0xfb)]();return a!==undefined?!![]:![];}async[a142K(0xc9)](){return!![];}['validateMeteorInstall'](){const R=a142K,a=process[R(0xfa)]===R(0xd7);if(a){if(!a142g['existsSync'](a142e['join'](homeDir,R(0xf1),R(0xbb),R(0x107))))return![];}else{if(!a142g[R(0xcf)](a142e[R(0xc5)](homeDir,R(0x107))))return![];}return!![];}async[a142K(0xba)](a){const S=a142K,b=this[S(0xf7)][S(0xb3)]();if(!b)throw MustBeInProjectError;const c=b['engines'],d=Object['keys'](a);if(d[S(0xc3)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log['error'](S(0xf3)+e+S(0x109)+a[e]+S(0xb4));throw UsageError;}}}async['validateParams'](a,b,c){const T=a142K,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object[T(0xd6)](b);if(h[T(0x100)](T(0xc7))&&b[T(0xc7)]===undefined&&!g){const m=await Actions[T(0xc4)](T(0xdd));b[T(0xc7)]=m;}let i=[],j=b;if(d){i=this['formatToNamedParam'](d),j=this['remapShortToLong'](b,i);if(i&&i?.['length']>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object['keys'](j)[T(0x100)](o)){if(o===T(0xe5)){const r=this[T(0xf7)][T(0xee)]()['filter'](t=>t!==T(0xc8));r['length']===0x0&&(Log[T(0x106)]('This\x20command\x20needs\x20a\x20higher\x20environment\x20to\x20run\x20(other\x20than\x20local).\x20Please\x20create\x20a\x20new\x20environment;\x20`maka\x20g:config\x20development`'),process[T(0xdf)](0x1));const s=await Actions[T(0x101)]({'type':T(0xe1),'name':T(0xe5),'message':T(0xfc),'choices':r});b[T(0xe5)]=s[T(0xe5)];}else{const t=p;if(t){const u=await Actions[T(0x101)]({'type':'list','name':o,'message':T(0xfd)+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[T(0xc4)]('Please\x20provide\x20a\x20value\x20for\x20'+o);if(v[T(0x108)](q))b[o]=v;else{Log[T(0x106)](T(0x10a)+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions['ask'](T(0xd2)+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p[T(0x100)](x)){Log[T(0x106)](T(0x10a)+o+':\x20'+x);throw new UsageError();}}}}let k=this['formatToNamedParam'](f),l=b;if(k&&Object[T(0xd6)](k)?.[T(0xc3)]>0x0){k=k[T(0xcd)](i||[]),k[T(0xd0)]({'name':'resourceName','hidden':!![]}),k[T(0xd0)]({'name':T(0xea),'boolFlag':!![]}),k[T(0xd0)]({'name':T(0xe3),'hidden':!![]}),k[T(0xd0)]({'name':T(0xd9),'hidden':!![]}),k[T(0xd0)]({'name':'root','hidden':!![]}),k[T(0xd0)]({'name':T(0xcc),'hidden':!![]}),l=this[T(0xb6)](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A[T(0x100)](B))){const C=A;if(C){const D=await Actions[T(0x101)]({'type':'list','name':z,'message':T(0xce)+z,'choices':A});l[z]=D[z];}}if(k[T(0xc3)]>0x0)for(const E of Object[T(0xd6)](l)){const F=k[T(0xe0)](G=>G[T(0x104)]===E);if(!F){Log[T(0x106)]('Invalid\x20option:\x20'+E);throw new UsageError();}}}}if(e&&e?.[T(0xc3)]>0x0)for(const G of e){if(!e[T(0x100)](G)){Log[T(0x106)](T(0xb8)+G);const H=await Actions['ask'](T(0xc1)+G);a[a[T(0xde)](G)]=H;}}return Object['assign'](j,l);}[a142K(0xbd)](a){const U=a142K;return U(0x101)in a;}['isGenerator'](a){const V=a142K;return!(V(0x101)in a);}[a142K(0x105)](){const W=a142K;return this[W(0x101)]['description']||this[W(0x101)][W(0xff)]||W(0xe4);}['shortDesc'](){const X=a142K;return this[X(0x101)]['shortDesc']||'NIE';}[a142K(0xf4)](){const Y=a142K;return this[Y(0x101)]['usage']||Y(0xdb);}[a142K(0xf6)](){const Z=a142K;return this[Z(0x101)][Z(0xf6)]||[];}[a142K(0xf2)](){const a0=a142K;return this[a0(0x101)][a0(0xf2)]||a0(0xe7);}[a142K(0xc6)](){const a1=a142K;return this[a1(0x101)][a1(0xc6)]||![];}}
@@ -1 +1 @@
1
- const a144h=a144d;(function(a,b){const f=a144d,c=a();while(!![]){try{const d=-parseInt(f(0x152))/0x1+-parseInt(f(0x15c))/0x2+-parseInt(f(0x156))/0x3*(-parseInt(f(0x14f))/0x4)+parseInt(f(0x15f))/0x5*(-parseInt(f(0x15d))/0x6)+-parseInt(f(0x154))/0x7*(-parseInt(f(0x159))/0x8)+parseInt(f(0x155))/0x9*(parseInt(f(0x14c))/0xa)+-parseInt(f(0x151))/0xb*(-parseInt(f(0x157))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a144c,0xece1c));const a144b=(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;};}()),a144a=a144b(this,function(){const g=a144d;return a144a[g(0x158)]()['search'](g(0x15e))[g(0x158)]()['constructor'](a144a)['search'](g(0x15e));});a144a();import a144e from'inquirer';function a144d(a,b){const c=a144c();return a144d=function(d,e){d=d-0x14c;let f=c[d];return f;},a144d(a,b);}export class Actions{static async[a144h(0x14e)](a,b){const i=a144h,{answer:c}=await a144e[i(0x150)]({'type':b?i(0x153):i(0x15a),'name':i(0x14d),'message':a});return c;}static async['confirm'](a,b=![]){const j=a144h,{answer:c}=await a144e[j(0x150)]({'type':j(0x15b),'name':j(0x14d),'message':a,'default':b});return c;}static async['options'](a){const b=await a144e['prompt'](a);return b;}}function a144c(){const k=['485110PRqwpk','answer','ask','3748OlaMYE','prompt','1474UMvPnf','1356021TIIbcy','password','168pIvZDW','81ulyxHU','4398FxtJwV','191556PcOVSP','toString','307784pjnZOM','input','confirm','3782214rWbqtR','12402QHeYTH','(((.+)+)+)+$','1585DuToDl'];a144c=function(){return k;};return a144c();}
1
+ const a143j=a143d;(function(a,b){const f=a143d,c=a();while(!![]){try{const d=-parseInt(f(0x1e5))/0x1+-parseInt(f(0x1ed))/0x2*(parseInt(f(0x1e3))/0x3)+parseInt(f(0x1eb))/0x4*(-parseInt(f(0x1e7))/0x5)+parseInt(f(0x1e6))/0x6+-parseInt(f(0x1df))/0x7+parseInt(f(0x1ef))/0x8+parseInt(f(0x1e0))/0x9*(parseInt(f(0x1f0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a143c,0x48377));function a143c(){const m=['703692ZxesVF','760985xpoJCM','answer','confirm','prompt','4dvIttb','apply','194YXRKdF','(((.+)+)+)+$','1115000TyBFzT','10xkWdGN','search','1200941CCcien','5024889msYHWL','toString','constructor','1035QLWOKE','options','161954dTAUbr'];a143c=function(){return m;};return a143c();}const a143b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a143d;if(c){const e=c[g(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a143a=a143b(this,function(){const h=a143d;return a143a[h(0x1e1)]()['search'](h(0x1ee))[h(0x1e1)]()[h(0x1e2)](a143a)[h(0x1de)]('(((.+)+)+)+$');});function a143d(a,b){const c=a143c();return a143d=function(d,e){d=d-0x1de;let f=c[d];return f;},a143d(a,b);}a143a();import a143e from'inquirer';export class Actions{static async['ask'](a,b){const i=a143d,{answer:c}=await a143e[i(0x1ea)]({'type':b?'password':'input','name':i(0x1e8),'message':a});return c;}static async[a143j(0x1e9)](a,b=![]){const k=a143j,{answer:c}=await a143e[k(0x1ea)]({'type':k(0x1e9),'name':k(0x1e8),'message':a,'default':b});return c;}static async[a143j(0x1e4)](a){const l=a143j,b=await a143e[l(0x1ea)](a);return b;}}