@maka/maka-cli 4.5.36 → 4.5.40

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 (138) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/jsdoc.js +1 -1
  73. package/bundle/obf/src/commands/lint.js +1 -1
  74. package/bundle/obf/src/commands/login.js +1 -1
  75. package/bundle/obf/src/commands/logout.js +1 -1
  76. package/bundle/obf/src/commands/logs.js +1 -1
  77. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  78. package/bundle/obf/src/commands/murder.js +1 -1
  79. package/bundle/obf/src/commands/proxy.js +1 -1
  80. package/bundle/obf/src/commands/reconfig.js +1 -1
  81. package/bundle/obf/src/commands/run/_index.js +1 -1
  82. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  83. package/bundle/obf/src/commands/run/run.command.js +1 -1
  84. package/bundle/obf/src/commands/set/_index.js +1 -1
  85. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  86. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/set.command.js +1 -1
  88. package/bundle/obf/src/commands/ssh.js +1 -1
  89. package/bundle/obf/src/commands/ssl.js +1 -1
  90. package/bundle/obf/src/commands/test.js +1 -1
  91. package/bundle/obf/src/commands/version.js +1 -1
  92. package/bundle/obf/src/error.js +1 -1
  93. package/bundle/obf/src/exec.js +1 -1
  94. package/bundle/obf/src/generator.js +1 -1
  95. package/bundle/obf/src/generators/_index.js +1 -1
  96. package/bundle/obf/src/generators/api.js +1 -1
  97. package/bundle/obf/src/generators/collection.js +1 -1
  98. package/bundle/obf/src/generators/component.js +1 -1
  99. package/bundle/obf/src/generators/config.js +1 -1
  100. package/bundle/obf/src/generators/dbc.js +1 -1
  101. package/bundle/obf/src/generators/dockerfile.js +1 -1
  102. package/bundle/obf/src/generators/hook.js +1 -1
  103. package/bundle/obf/src/generators/kit.js +1 -1
  104. package/bundle/obf/src/generators/layout.js +1 -1
  105. package/bundle/obf/src/generators/maka.gen.js +1 -1
  106. package/bundle/obf/src/generators/methods.js +1 -1
  107. package/bundle/obf/src/generators/package.js +1 -1
  108. package/bundle/obf/src/generators/page.js +1 -1
  109. package/bundle/obf/src/generators/publish.js +1 -1
  110. package/bundle/obf/src/generators/route.js +1 -1
  111. package/bundle/obf/src/generators/service.js +1 -1
  112. package/bundle/obf/src/generators/services/_index.js +1 -1
  113. package/bundle/obf/src/generators/services/openssl.js +1 -1
  114. package/bundle/obf/src/generators/services/translation.js +1 -1
  115. package/bundle/obf/src/maka.js +1 -1
  116. package/bundle/obf/src/templates/meteor/app/server/main.js +1 -1
  117. package/bundle/obf/src/templates/meteor/app/server/main.js.jsx +1 -1
  118. package/bundle/obf/src/templates/meteor/app/server/main.js.ts +1 -1
  119. package/bundle/obf/src/templates/meteor/app/server/main.js.tsx +1 -1
  120. package/bundle/obf/src/tool.js +1 -1
  121. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  122. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  123. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  124. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  125. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  126. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  127. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/https/https.class.js +1 -1
  129. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  130. package/bundle/obf/src/tools/log/log.class.js +1 -1
  131. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/options/options.class.js +1 -0
  133. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  134. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  136. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  137. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  138. package/package.json +1 -1
@@ -1 +1 @@
1
- const a97q=a97d;(function(a,b){const o=a97d,c=a();while(!![]){try{const d=-parseInt(o(0x16e))/0x1+-parseInt(o(0x191))/0x2*(parseInt(o(0x16f))/0x3)+-parseInt(o(0x190))/0x4+parseInt(o(0x198))/0x5*(-parseInt(o(0x175))/0x6)+parseInt(o(0x18e))/0x7+-parseInt(o(0x196))/0x8*(-parseInt(o(0x182))/0x9)+parseInt(o(0x192))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0xd49e7));function a97c(){const t=['api','engines','.js','features','2568jYwTUj','graphql','cssCaseName','reflux','test/test.js','resourceName','none','imports','setTemplate','checkNpmPackage','injectAtBeginningOfFile','ramda','string','8163vkVXtz','template/template.css','injectAtEndOfFile','comp','/imports/ui/components','className','components','import\x20\x27./','baseDir','includes','\x20};\x0a','getProjectConfig','2569105RZefSO','withTranslations','1567988GNCQQu','60986eploxE','15336900LdDpHD','lib','\x27;\x0a','templates.js','7736DjuljL','assign','7285JBRGsr','dir','pages','rewriteDestinationPathForEngine','import\x20\x27','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','findAppDirectory','error','react','startup','root','fileName','client','(((.+)+)+)+$','layouts','create','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','relative','fsi','template','css','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','search','toString','hooks','Invalid\x20directory\x20option\x20\x22','theme','true','pathFromApp','test','.tests.js','586364CTWsAG','30kIKAhI','installNpmPackage'];a97c=function(){return t;};return a97c();}const a97b=(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;};}()),a97a=a97b(this,function(){const p=a97d;return a97a[p(0x166)]()[p(0x165)](p(0x1a5))[p(0x166)]()['constructor'](a97a)[p(0x165)]('(((.+)+)+)+$');});a97a();import a97e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';const aliases=[a97q(0x185)];function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x15f;let f=c[d];return f;},a97d(a,b);}Generator[a97q(0x1a7)]({'name':'component','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','shortDesc':a97q(0x15f),'validOpts':[a97q(0x18a)],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const r=a97q;try{const c=[r(0x167),r(0x188),r(0x19a),r(0x1a6)];if(b[r(0x18a)]&&!c[r(0x18b)](b[r(0x18a)])){Log[r(0x19f)](r(0x168)+b[r(0x18a)]+'\x22'),Log[r(0x19f)]('Valid\x20options\x20are:\x20'+c['join'](',\x20'));throw new UsageError();}const d=this[r(0x161)][r(0x19e)](),f=b['baseDir']?'/imports/ui/'+b['baseDir']:r(0x186),g=this[r(0x161)]['pathFromApp']({'pathParts':[f,b['dir'],paramCase(b[r(0x17a)]),paramCase(b[r(0x17a)])]}),h=await this[r(0x161)][r(0x18d)]();this['fsi']['withValue'](h,async()=>{const s=r;typeof h[s(0x162)][s(0x16c)]==='string'&&(h[s(0x162)]['test']=h[s(0x162)][s(0x16c)]===s(0x16a)?!![]:![],this[s(0x161)][s(0x17d)](s(0x16c),h[s(0x162)][s(0x16c)]));typeof h[s(0x162)][s(0x163)]===s(0x181)&&(h[s(0x162)][s(0x163)]=h[s(0x162)]['css']===s(0x16a)?!![]:![],this[s(0x161)][s(0x17d)](s(0x163),h[s(0x162)]['css']));typeof h[s(0x162)]['js']==='string'&&(h[s(0x162)]['js']=h['template']['js']===s(0x16a)?!![]:![],this[s(0x161)][s(0x17d)]('js',h['template']['js']));!h['features']&&(h[s(0x174)]={});!b[s(0x1a2)]&&!this['fsi'][s(0x17e)](s(0x180))&&(Log['warn'](s(0x19d)),await this[s(0x161)][s(0x170)]('ramda',{'cwd':d}));if(!b[s(0x1a2)]&&!this['fsi'][s(0x17e)](s(0x1a0))){Log[s(0x19f)](s(0x164));return;}const i={'name':pascalCase(b[s(0x17a)]),'myPath':a97e[s(0x160)](this[s(0x161)]['pathFromProject']({}),g),'cssCaseName':paramCase(b[s(0x17a)]),'className':pascalCase(b[s(0x17a)]),'camelCaseName':camelCase(b[s(0x17a)]),'fileName':paramCase(b['resourceName']),'graphql':h[s(0x172)][s(0x176)],'features':h['features'],'client':h['engines'][s(0x1a4)],'api':h[s(0x172)][s(0x171)],'ssr':h['engines']['ssr'],'test':h[s(0x172)][s(0x16c)],'theme':h[s(0x172)][s(0x169)],'isLayout':![],'isComponent':!![],'withTranslations':h[s(0x174)][s(0x18f)]};this[s(0x161)]['template']({'srcPath':'component/component.js','destPath':g+s(0x173),'context':i,'framework':s(0x1a0),'config':h});h['engines'][s(0x16c)]!==s(0x17b)&&this[s(0x161)]['template']({'srcPath':s(0x179),'destPath':g+s(0x16d),'context':i,'framework':s(0x1a0),'config':h});h[s(0x162)][s(0x163)]&&(this[s(0x161)][s(0x162)]({'srcPath':s(0x183),'destPath':g+'.css','context':Object[s(0x197)]({},i,{'className':paramCase(b[s(0x17a)])}),'config':h}),this[s(0x161)][s(0x17f)]({'filePath':g+'.'+h[s(0x172)]['js'],'content':s(0x189)+i[s(0x177)]+'.'+h[s(0x172)]['css']+'\x27;'}));const j=b[s(0x199)]?'/'+b[s(0x199)]+'/':'/',k=''+f+j+i[s(0x1a3)]+'/'+i[s(0x1a3)];let l;if(h[s(0x172)]['ssr']===s(0x16a)){const m=this[s(0x161)]['pathFromApp']({'pathParts':['imports',s(0x1a1),s(0x193),'templates.js']});l=this[s(0x161)][s(0x19b)]({'pathParts':[m],'config':h});}else{const n=this[s(0x161)][s(0x16b)]({'pathParts':[s(0x17c),'startup','client',s(0x195)]});l=this[s(0x161)][s(0x19b)]({'pathParts':[n],'config':h});}h[s(0x172)]['client']===s(0x1a0)||h[s(0x172)][s(0x1a4)]===s(0x178)?(h[s(0x172)]['js']==='tsx'?this[s(0x161)][s(0x17f)]({'filePath':l,'content':'import\x20{\x20'+i['className']+'\x20}\x20from\x20\x27'+k+s(0x194)}):this[s(0x161)][s(0x17f)]({'filePath':l,'content':'import\x20{\x20'+i[s(0x187)]+'\x20}\x20from\x20\x27'+k+'.'+h[s(0x172)]['js']+s(0x194)}),this[s(0x161)][s(0x184)]({'filePath':l,'content':'export\x20{\x20'+i['className']+s(0x18c)})):this[s(0x161)][s(0x184)]({'filePath':l,'content':s(0x19c)+k+'.'+h[s(0x172)]['js']+s(0x194)});});}catch(i){Log['error'](i);}});
1
+ const a97q=a97d;function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a97d(a,b);}(function(a,b){const n=a97d,c=a();while(!![]){try{const d=-parseInt(n(0x215))/0x1*(-parseInt(n(0x1f4))/0x2)+parseInt(n(0x203))/0x3*(parseInt(n(0x209))/0x4)+parseInt(n(0x1f5))/0x5*(-parseInt(n(0x22f))/0x6)+-parseInt(n(0x20b))/0x7*(-parseInt(n(0x229))/0x8)+parseInt(n(0x22d))/0x9+-parseInt(n(0x1ff))/0xa*(-parseInt(n(0x1f9))/0xb)+-parseInt(n(0x20f))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x4834f));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a97d;if(c){const e=c[o(0x21e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const p=a97d;return a97a[p(0x22a)]()['search']('(((.+)+)+)+$')[p(0x22a)]()['constructor'](a97a)[p(0x228)](p(0x1f8));});a97a();import a97e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a97c(){const t=['310sLCWVq','.css','checkNpmPackage','theme','89823iLmfxO','client','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','maka\x20g:comp\x20todos/todos-item','pathFromApp','.tests.js','72CNJZAS','rewriteDestinationPathForEngine','606494WnuUpx','className','reflux','ssr','15779784mYbnEj','features','create','engines','installNpmPackage','/imports/ui/','15YRDEFL','\x20};\x0a','getProjectConfig','assign','hooks','template/template.css','ramda','import\x20\x27./','findAppDirectory','apply','string','withValue','resourceName','test','setTemplate','injectAtEndOfFile','relative','cssCaseName','lib','search','8ezqBRh','toString','none','fsi','1592883EdDUcF','template','18CgVOXM','root','layouts','error','baseDir','\x20}\x20from\x20\x27','fileName','export\x20{\x20','warn','react','component','pathFromProject','css','\x27;\x0a','injectAtBeginningOfFile','tsx','templates.js','true','test/test.js','import\x20{\x20','startup','55920DYaAkr','173285sDBNZY','component/component.js','graphql','(((.+)+)+)+$','174845xmRgll','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','imports','withTranslations','dir','/imports/ui/components'];a97c=function(){return t;};return a97c();}import{Log}from'../tools/log/log.class.js';const aliases=['comp'];Generator[a97q(0x211)]({'name':a97q(0x1e9),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','validOpts':[{'name':a97q(0x1e3),'values':[a97q(0x219),'components','pages',a97q(0x231)]}],'examples':[a97q(0x206)]},async function(a,b){const r=a97q;try{const c=this['fsi'][r(0x21d)](),d=b[r(0x1e3)]?r(0x214)+b[r(0x1e3)]:r(0x1fe),f=this[r(0x22c)][r(0x207)]({'pathParts':[d,b['dir'],paramCase(b['resourceName']),paramCase(b[r(0x221)])]}),g=await this['fsi'][r(0x217)]();this[r(0x22c)][r(0x220)](g,async()=>{const s=r;typeof g[s(0x22e)]['test']===s(0x21f)&&(g[s(0x22e)][s(0x222)]=g[s(0x22e)][s(0x222)]===s(0x1f0)?!![]:![],this[s(0x22c)][s(0x223)](s(0x222),g['template'][s(0x222)]));typeof g[s(0x22e)][s(0x1eb)]===s(0x21f)&&(g[s(0x22e)]['css']=g[s(0x22e)][s(0x1eb)]===s(0x1f0)?!![]:![],this[s(0x22c)]['setTemplate'](s(0x1eb),g[s(0x22e)][s(0x1eb)]));typeof g['template']['js']===s(0x21f)&&(g[s(0x22e)]['js']=g[s(0x22e)]['js']==='true'?!![]:![],this[s(0x22c)][s(0x223)]('js',g[s(0x22e)]['js']));!g['features']&&(g['features']={});!b[s(0x230)]&&!this[s(0x22c)]['checkNpmPackage']('ramda')&&(Log[s(0x1e7)](s(0x1fa)),await this['fsi'][s(0x213)](s(0x21b),{'cwd':c}));if(!b[s(0x230)]&&!this[s(0x22c)][s(0x201)]('react')){Log['error'](s(0x205));return;}const h={'name':pascalCase(b[s(0x221)]),'myPath':a97e[s(0x225)](this[s(0x22c)][s(0x1ea)]({}),f),'cssCaseName':paramCase(b[s(0x221)]),'className':pascalCase(b[s(0x221)]),'camelCaseName':camelCase(b[s(0x221)]),'fileName':paramCase(b[s(0x221)]),'graphql':g[s(0x212)][s(0x1f7)],'features':g['features'],'client':g['engines'][s(0x204)],'api':g[s(0x212)]['api'],'ssr':g[s(0x212)][s(0x20e)],'test':g['engines']['test'],'theme':g[s(0x212)][s(0x202)],'isLayout':![],'isComponent':!![],'withTranslations':g[s(0x210)][s(0x1fc)]};this[s(0x22c)][s(0x22e)]({'srcPath':s(0x1f6),'destPath':f+'.js','context':h,'framework':'react','config':g});g['engines'][s(0x222)]!==s(0x22b)&&this[s(0x22c)]['template']({'srcPath':s(0x1f1),'destPath':f+s(0x208),'context':h,'framework':s(0x1e8),'config':g});g[s(0x22e)][s(0x1eb)]&&(this['fsi'][s(0x22e)]({'srcPath':s(0x21a),'destPath':f+s(0x200),'context':Object[s(0x218)]({},h,{'className':paramCase(b[s(0x221)])}),'config':g}),this[s(0x22c)][s(0x1ed)]({'filePath':f+'.'+g[s(0x212)]['js'],'content':s(0x21c)+h[s(0x226)]+'.'+g[s(0x212)][s(0x1eb)]+'\x27;'}));const i=b[s(0x1fd)]?'/'+b[s(0x1fd)]+'/':'/',j=''+d+i+h['fileName']+'/'+h[s(0x1e5)];let k;if(g[s(0x212)][s(0x20e)]===s(0x1f0)){const l=this[s(0x22c)][s(0x207)]({'pathParts':[s(0x1fb),'startup',s(0x227),s(0x1ef)]});k=this[s(0x22c)][s(0x20a)]({'pathParts':[l],'config':g});}else{const m=this[s(0x22c)][s(0x207)]({'pathParts':[s(0x1fb),s(0x1f3),s(0x204),s(0x1ef)]});k=this['fsi'][s(0x20a)]({'pathParts':[m],'config':g});}g[s(0x212)][s(0x204)]==='react'||g['engines'][s(0x204)]===s(0x20d)?(g[s(0x212)]['js']===s(0x1ee)?this[s(0x22c)][s(0x1ed)]({'filePath':k,'content':s(0x1f2)+h[s(0x20c)]+'\x20}\x20from\x20\x27'+j+s(0x1ec)}):this[s(0x22c)][s(0x1ed)]({'filePath':k,'content':s(0x1f2)+h['className']+s(0x1e4)+j+'.'+g[s(0x212)]['js']+s(0x1ec)}),this[s(0x22c)][s(0x224)]({'filePath':k,'content':s(0x1e6)+h[s(0x20c)]+s(0x216)})):this[s(0x22c)]['injectAtEndOfFile']({'filePath':k,'content':'import\x20\x27'+j+'.'+g[s(0x212)]['js']+s(0x1ec)});});}catch(h){Log[r(0x1e2)](h);}});
@@ -1 +1 @@
1
- const a98k=a98d;(function(a,b){const h=a98d,c=a();while(!![]){try{const d=parseInt(h(0x183))/0x1+-parseInt(h(0x185))/0x2*(parseInt(h(0x199))/0x3)+-parseInt(h(0x19e))/0x4+parseInt(h(0x17e))/0x5*(-parseInt(h(0x187))/0x6)+-parseInt(h(0x189))/0x7*(parseInt(h(0x197))/0x8)+parseInt(h(0x181))/0x9+parseInt(h(0x19a))/0xa*(parseInt(h(0x18e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0xc84e5));function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0x17e;let f=c[d];return f;},a98d(a,b);}function a98c(){const n=['config','appName','template','8KJQzro','config/settings.json','9HHcusH','4765700ZvVNEg','fsi','config/process.env','apply','2712728eKOmzt','5uuSoYt','settings.json','ubuntu','3150972AznqGs','isDocker','214068oMAGlp','maka\x20g:config\x20production','1085268nbMrgO','withValue','5373780qQhHbB','getProjectConfig','2481983XhWRaY','Generate\x20configuration\x20settings.','resourceName','toString','development','88rgJFcf','search','(((.+)+)+)+$','create','constructor','maka\x20{generate,\x20g}:{config}\x20<name>'];a98c=function(){return n;};return a98c();}const a98b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a98d;if(c){const e=c[i(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){const j=a98d;return a98a[j(0x18c)]()[j(0x18f)]('(((.+)+)+)+$')[j(0x18c)]()[j(0x192)](a98a)[j(0x18f)](j(0x190));});a98a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a98k(0x191)]({'name':a98k(0x194),'usage':a98k(0x193),'shortDesc':a98k(0x18a),'validOpts':[a98k(0x182)],'examples':[a98k(0x184)]},function(a,b){const l=a98k,c=this[l(0x19b)][l(0x188)]();this['fsi'][l(0x186)](c,async()=>{const m=l,d={'app':c[m(0x195)],'appFileCase':paramCase(c['appName']),'name':pascalCase(b[m(0x18b)]),'fileName':paramCase(b[m(0x18b)]),'camelCase':camelCase(b[m(0x18b)]),'userName':m(0x180),'isDocker':b[m(0x182)]};let e=a[0x0];if(e==='dev')e=m(0x18d);else e==='prod'&&(e='production');const f=this[m(0x19b)]['pathFromProject']({'pathParts':[m(0x194),e,m(0x17f)]});this['fsi']['template']({'srcPath':m(0x198),'destPath':f,'context':d,'config':c});if(!b[m(0x182)]){const g=this[m(0x19b)]['pathFromProject']({'pathParts':[m(0x194),e,'process.env']});this[m(0x19b)][m(0x196)]({'srcPath':m(0x19c),'destPath':g,'context':d,'config':c});}});});
1
+ const a98k=a98d;(function(a,b){const h=a98d,c=a();while(!![]){try{const d=parseInt(h(0x19b))/0x1*(-parseInt(h(0x18c))/0x2)+-parseInt(h(0x186))/0x3*(parseInt(h(0x189))/0x4)+-parseInt(h(0x193))/0x5+-parseInt(h(0x197))/0x6*(-parseInt(h(0x192))/0x7)+-parseInt(h(0x184))/0x8+-parseInt(h(0x18b))/0x9*(parseInt(h(0x17b))/0xa)+parseInt(h(0x18d))/0xb*(parseInt(h(0x183))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x39ea7));const a98b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a98d;if(c){const e=c[i(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){const j=a98d;return a98a[j(0x188)]()[j(0x185)](j(0x179))[j(0x188)]()[j(0x195)](a98a)[j(0x185)]('(((.+)+)+)+$');});function a98c(){const n=['isDocker','settings.json','apply','create','development','config/settings.json','6099468CcYlnS','1101744wYwRDy','search','669dPFpxm','prod','toString','3636QfKPrE','ubuntu','2481624QFrrsN','731374XvhLzJ','22kGHdAk','fsi','getProjectConfig','pathFromProject','resourceName','5831YaFllf','1182490hiNlHa','appName','constructor','dev','3162XdqtQV','withValue','config','template','1emjgFe','(((.+)+)+)+$','maka\x20g:config\x20production','10gtIItP','Generate\x20configuration\x20settings.'];a98c=function(){return n;};return a98c();}a98a();function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0x179;let f=c[d];return f;},a98d(a,b);}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a98k(0x180)]({'name':a98k(0x199),'usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':a98k(0x17c),'validOpts':['isDocker'],'examples':[a98k(0x17a)]},function(a,b){const l=a98k,c=this[l(0x18e)][l(0x18f)]();this[l(0x18e)][l(0x198)](c,async()=>{const m=l,d={'app':c[m(0x194)],'appFileCase':paramCase(c[m(0x194)]),'name':pascalCase(b[m(0x191)]),'fileName':paramCase(b[m(0x191)]),'camelCase':camelCase(b[m(0x191)]),'userName':m(0x18a),'isDocker':b[m(0x17d)]};let e=b[m(0x191)];if(e===m(0x196))e=m(0x181);else e===m(0x187)&&(e='production');const f=this[m(0x18e)]['pathFromProject']({'pathParts':['config',e,m(0x17e)]});this[m(0x18e)][m(0x19a)]({'srcPath':m(0x182),'destPath':f,'context':d,'config':c});if(!b[m(0x17d)]){const g=this['fsi'][m(0x190)]({'pathParts':[m(0x199),e,'process.env']});this[m(0x18e)][m(0x19a)]({'srcPath':'config/process.env','destPath':g,'context':d,'config':c});}});});
@@ -1 +1 @@
1
- const a99q=a99d;(function(a,b){const n=a99d,c=a();while(!![]){try{const d=-parseInt(n(0x8c))/0x1+parseInt(n(0x8e))/0x2*(parseInt(n(0x97))/0x3)+parseInt(n(0x83))/0x4+-parseInt(n(0x87))/0x5+parseInt(n(0x6c))/0x6*(parseInt(n(0x92))/0x7)+parseInt(n(0x6b))/0x8+parseInt(n(0x6e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xa0a73));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a99d;if(c){const e=c[o(0x7c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const p=a99d;return a99a[p(0x9b)]()['search'](p(0x7e))['toString']()[p(0x84)](a99a)[p(0x6d)]('(((.+)+)+)+$');});a99a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a99c(){const t=['-dbc.','DB\x20Driver','5316448dIqyKh','26760JQXNaW','search','12484737yHAeax','injectAtEndOfFile','pgsql','template','getProjectConfig','dbc/config.js',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','options','-dbc\x27;','dbc','create','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','imports','apply','sqlite','(((.+)+)+)+$','MS\x20SQL','fsi','warn','installNpmPackage','558372mLhiyf','constructor','error','Invalid\x20type\x20','6511910CnprTE','withValue','mssql','maka\x20g:dbc\x20todos\x20--type=sqlite','resourceName','775470WYObcl','dbAnswer','160730aVrXlN','maka\x20g:dbc\x20geoserver\x20--type=pgsql','pathFromApp','startup','224KIcRMo','checkNpmPackage','type','server','dir','15OiirCO','PostgreSQL','tsx','engines','toString','dbc/conn.js','(blank)','config.','better-sqlite3'];a99c=function(){return t;};return a99c();}import{Log}from'../tools/log/log.class.js';function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x66;let f=c[d];return f;},a99d(a,b);}import{Actions}from'../tools/actions/actions.class.js';Generator[a99q(0x79)]({'name':a99q(0x78),'usage':a99q(0x75),'shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':[a99q(0x94),a99q(0x96)],'examples':[a99q(0x8f),'maka\x20g:dbc\x20azure\x20--type=mssql',a99q(0x8a)]},async function(a,b){const r=a99q;try{const c=await this[r(0x80)][r(0x72)](),d=this[r(0x80)][r(0x90)]({}),f=paramCase(b[r(0x8b)]);if(!b[r(0x94)]){const h={'type':'list','name':r(0x8d),'message':r(0x6a),'choices':[{'name':r(0x98),'value':r(0x70)},{'name':r(0x7f),'value':'mssql'}]},{dbAnswer:i}=await Actions[r(0x76)](h);i&&(b[r(0x94)]=i);}const g={'name':pascalCase(b[r(0x8b)]),'fileName':paramCase(b[r(0x8b)]),'camelCase':camelCase(b[r(0x8b)]),'type':b[r(0x94)],'engine':c[r(0x9a)]['js'],'noRename':!![]};this['fsi'][r(0x88)](c,async()=>{const s=r;let j='js';c['engines']['js']===s(0x99)&&(j='ts');const k=[s(0x89),'pgsql'];if(k['indexOf'](g[s(0x94)])<0x0){const m=g['type']?g[s(0x94)]:s(0x66);Log[s(0x85)](s(0x86)+m+s(0x74));return;}b['type']===s(0x70)&&!this['fsi']['checkNpmPackage']('pg')&&(Log[s(0x81)]('Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...'),await this[s(0x80)]['installNpmPackage']('pg',{'cwd':d}));b[s(0x94)]===s(0x89)&&!this['fsi'][s(0x93)](s(0x89))&&(Log[s(0x81)](s(0x7a)),await this[s(0x80)]['installNpmPackage'](s(0x89),{'cwd':d}));b['type']===s(0x7d)&&!this[s(0x80)]['checkNpmPackage'](s(0x68))&&(Log['warn']('Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...'),await this[s(0x80)][s(0x82)](s(0x68),{'cwd':d}));this['fsi'][s(0x71)]({'srcPath':s(0x73),'destPath':this[s(0x80)]['pathFromApp']({'pathParts':[s(0x7b),s(0x91),s(0x95),s(0x78),b[s(0x96)],f,s(0x67)+j]}),'context':g,'config':c}),this[s(0x80)][s(0x71)]({'srcPath':s(0x9c),'destPath':this[s(0x80)]['pathFromApp']({'pathParts':[s(0x7b),s(0x91),s(0x95),'dbc',b[s(0x96)],f,'conn.'+j]}),'context':g,'config':c}),this[s(0x80)][s(0x71)]({'srcPath':'dbc/register-dbc.js','destPath':this[s(0x80)]['pathFromApp']({'pathParts':[s(0x7b),s(0x91),s(0x95),'register-'+f+s(0x69)+j]}),'context':g,'config':c});const l=this[s(0x80)][s(0x90)]({'pathParts':[s(0x7b),'startup','server','index.'+c[s(0x9a)]['js']]});this[s(0x80)][s(0x6f)]({'filePath':l,'content':'import\x20\x27./register-'+f+s(0x77)});});}catch(j){Log[r(0x85)](j);}});
1
+ const a99m=a99d;(function(a,b){const j=a99d,c=a();while(!![]){try{const d=parseInt(j(0x14b))/0x1*(parseInt(j(0x125))/0x2)+parseInt(j(0x14a))/0x3+-parseInt(j(0x14c))/0x4*(-parseInt(j(0x135))/0x5)+parseInt(j(0x143))/0x6+-parseInt(j(0x12c))/0x7+parseInt(j(0x120))/0x8*(parseInt(j(0x11e))/0x9)+-parseInt(j(0x133))/0xa*(parseInt(j(0x13f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xf3b4b));function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x11e;let f=c[d];return f;},a99d(a,b);}const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a99d;if(c){const e=c[k(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const l=a99d;return a99a[l(0x12a)]()['search']('(((.+)+)+)+$')['toString']()[l(0x127)](a99a)[l(0x130)]('(((.+)+)+)+$');});a99a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a99m(0x134)]({'name':a99m(0x11f),'usage':a99m(0x146),'shortDesc':a99m(0x137),'validOpts':[a99m(0x147),a99m(0x14d)],'requiredOpts':[{'name':a99m(0x147),'values':[a99m(0x129),'mssql','sqlite']}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql',a99m(0x122),a99m(0x148)]},async function(a,b){const n=a99m;try{const c=await this[n(0x13d)][n(0x12b)](),d=this[n(0x13d)][n(0x12e)]({}),f=paramCase(b[n(0x139)]),g={'name':pascalCase(b[n(0x139)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'type':b['type'],'engine':c[n(0x131)]['js'],'noRename':!![]};this[n(0x13d)][n(0x144)](c,async()=>{const o=n;let h='js';c[o(0x131)]['js']==='tsx'&&(h='ts');b[o(0x147)]==='pgsql'&&!this[o(0x13d)][o(0x14f)]('pg')&&(Log[o(0x124)](o(0x150)),await this['fsi'][o(0x123)]('pg',{'cwd':d}));b[o(0x147)]===o(0x136)&&!this[o(0x13d)][o(0x14f)](o(0x136))&&(Log[o(0x124)]('Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...'),await this[o(0x13d)][o(0x123)](o(0x136),{'cwd':d}));b[o(0x147)]===o(0x141)&&!this[o(0x13d)][o(0x14f)](o(0x149))&&(Log['warn']('Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...'),await this['fsi'][o(0x123)](o(0x149),{'cwd':d}));await this[o(0x13d)][o(0x12d)]({'srcPath':'dbc/config.js','destPath':this['fsi'][o(0x12e)]({'pathParts':[o(0x13c),o(0x13e),o(0x121),o(0x11f),b[o(0x14d)],f,o(0x140)+h]}),'context':g,'config':c}),await this['fsi']['template']({'srcPath':o(0x138),'destPath':this[o(0x13d)][o(0x12e)]({'pathParts':['imports',o(0x13e),'server',o(0x11f),b['dir'],f,o(0x12f)+h]}),'context':g,'config':c}),await this[o(0x13d)][o(0x12d)]({'srcPath':'dbc/register-dbc.js','destPath':this[o(0x13d)][o(0x12e)]({'pathParts':[o(0x13c),o(0x13e),o(0x121),o(0x13b)+f+o(0x132)+h]}),'context':g,'config':c});const i=this['fsi'][o(0x12e)]({'pathParts':['imports','startup','server',o(0x128)+c[o(0x131)]['js']]});this[o(0x13d)][o(0x142)]({'filePath':i,'content':o(0x126)+f+o(0x14e)});});}catch(h){Log[n(0x145)](h);}});function a99c(){const p=['5979631tmoKnW','template','pathFromApp','conn.','search','engines','-dbc.','3561940tsFJFt','create','10kONxri','mssql','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','dbc/conn.js','resourceName','apply','register-','imports','fsi','startup','66ttImuf','config.','sqlite','injectAtEndOfFile','4690236nPNFCP','withValue','error','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','type','maka\x20g:dbc\x20todos\x20--type=sqlite','better-sqlite3','1734174EbVPoh','4SRYdea','1285836lyBMLp','dir','-dbc\x27;','checkNpmPackage','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','2382714VqmZHr','dbc','24zZHNhS','server','maka\x20g:dbc\x20azure\x20--type=mssql','installNpmPackage','warn','596348CDLxPa','import\x20\x27./register-','constructor','index.','pgsql','toString','getProjectConfig'];a99c=function(){return p;};return a99c();}
@@ -1 +1 @@
1
- function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x158;let f=c[d];return f;},a100d(a,b);}const a100i=a100d;(function(a,b){const f=a100d,c=a();while(!![]){try{const d=parseInt(f(0x167))/0x1*(-parseInt(f(0x173))/0x2)+-parseInt(f(0x16b))/0x3*(parseInt(f(0x168))/0x4)+parseInt(f(0x178))/0x5+-parseInt(f(0x176))/0x6+parseInt(f(0x164))/0x7+-parseInt(f(0x16c))/0x8+parseInt(f(0x15a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0xd0e4c));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a100d;if(c){const e=c[g(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const h=a100d;return a100a[h(0x15d)]()[h(0x16e)](h(0x15b))['toString']()[h(0x158)](a100a)[h(0x16e)](h(0x15b));});function a100c(){const l=['app.tar.gz','cert','error','1058698keunCp','app','Dockerfile','5222064UKDiBN','Generate\x20an\x20updated\x20dockerfile','2948555jBCxoi','constructor','findProjectDirectory','8144442FODNqa','(((.+)+)+)+$','maka\x20{generate,\x20g}:dockerfile','toString','service','template','maka\x20g:dockerfile','isFile','withValue','fsi','10521784uwJyJh','docker/Dockerfile','build','1HvzIRK','439020woZRrB','appName','apply','3XzhhHR','5061480zFBPYb','getGlobalConfig','search','join'];a100c=function(){return l;};return a100c();}a100a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a100e from'path';Generator['create']({'name':'dockerfile','usage':a100i(0x15c),'shortDesc':a100i(0x177),'validOpts':[],'noResource':!![],'examples':[a100i(0x160)]},async function(){const j=a100i;try{const a=await this[j(0x163)]['getProjectConfig'](),b=await this['fsi'][j(0x16d)](),c=this[j(0x163)][j(0x159)]();this[j(0x163)][j(0x162)](a,async()=>{const k=j,d={'app':b[k(0x169)],'config':a,'appPath':a100e[k(0x16f)](c,k(0x174)),'bundlePath':a100e[k(0x16f)](c,k(0x166),k(0x170)),'useCert':this[k(0x163)][k(0x161)](b[k(0x171)])};this[k(0x163)][k(0x15f)]({'srcPath':k(0x165),'destPath':a100e[k(0x16f)](c,k(0x175)),'framework':k(0x15e),'context':d,'config':a});});}catch(d){Log[j(0x172)](d);}});
1
+ const a100h=a100d;(function(a,b){const f=a100d,c=a();while(!![]){try{const d=parseInt(f(0xbd))/0x1+parseInt(f(0xc6))/0x2+-parseInt(f(0xbf))/0x3+parseInt(f(0xd1))/0x4+-parseInt(f(0xd6))/0x5*(parseInt(f(0xbc))/0x6)+-parseInt(f(0xcc))/0x7*(parseInt(f(0xca))/0x8)+-parseInt(f(0xcf))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x64184));const a100b=(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;};}()),a100a=a100b(this,function(){const g=a100d;return a100a[g(0xc8)]()['search'](g(0xce))[g(0xc8)]()['constructor'](a100a)['search']('(((.+)+)+)+$');});a100a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a100e from'path';function a100c(){const k=['8qMMsfI','getGlobalConfig','1426901TajBiO','app.tar.gz','(((.+)+)+)+$','2487627BrmLdl','withValue','2405012yovlQW','fsi','getProjectConfig','maka\x20{generate,\x20g}:dockerfile','template','5585OkBXSP','dockerfile','Generate\x20an\x20updated\x20dockerfile','534PFJhVM','615304yXvaqD','join','708354McQEXm','appName','findProjectDirectory','service','docker/Dockerfile','error','app','18416Qjwizk','maka\x20g:dockerfile','toString','isFile'];a100c=function(){return k;};return a100c();}function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0xbc;let f=c[d];return f;},a100d(a,b);}Generator['create']({'name':a100h(0xd7),'usage':a100h(0xd4),'shortDesc':a100h(0xd8),'validOpts':[],'noResource':!![],'examples':[a100h(0xc7)]},async function(){const i=a100h;try{const a=await this[i(0xd2)][i(0xd3)](),b=await this['fsi'][i(0xcb)](),c=this[i(0xd2)][i(0xc1)]();this['fsi'][i(0xd0)](a,async()=>{const j=i,d={'app':b[j(0xc0)],'config':a,'appPath':a100e[j(0xbe)](c,j(0xc5)),'bundlePath':a100e['join'](c,'build',j(0xcd)),'useCert':this[j(0xd2)][j(0xc9)](b['cert'])};this['fsi'][j(0xd5)]({'srcPath':j(0xc3),'destPath':a100e[j(0xbe)](c,'Dockerfile'),'framework':j(0xc2),'context':d,'config':a});});}catch(d){Log[i(0xc4)](d);}});
@@ -1 +1 @@
1
- const a101s=a101d;function a101c(){const v=['Creating\x20','components','780DmQngC','imports','Invalid\x20directory\x20option\x20\x22','css','198ETkccs','export\x20{\x20','toString','283758QNrgTv','includes','2265040Oiobst','\x20};\x0a','hook/hook.js','className','2732154yeSGVo','pathFromApp','installNpmPackage','apollo','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','262324uqcMQj','assign','test','template','relative','\x27;\x0a','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','templates.js','withValue','graphql','48765skKxAC','client','true','/imports/ui/hooks','hook','string','test/test.js','react','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','warn','injectAtEndOfFile','/imports/ui/','8rPpdhn','features','\x20hook...','resourceName','9984345euOHBe','.css','fileName','Valid\x20options\x20are:\x20','import\x20{\x20','rewriteDestinationPathForEngine','startup','import\x20\x27','notice','fsi','search','error','none','@apollo/client\x20isomorphic-fetch','ssr','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','dir','constructor','setTemplate','checkNpmPackage','.js','@apollo/client','cssCaseName','8145QoKNrI','(((.+)+)+)+$','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20Hooks\x20are\x20created\x20in\x20the\x20imports/ui/hooks\x20directory\x20by\x20default,\x20but\x20can\x20be\x20created\x20in\x0a\x20\x20the\x20imports/ui/components,\x20imports/ui/pages,\x20or\x20imports/ui/layouts\x20directories\x20by\x0a\x20\x20using\x20the\x20--baseDir\x20option\x20with\x20the\x20appropriate\x20directory\x20name.\x0a\x0a\x20\x20To\x20create\x20a\x20hook\x20in\x20a\x20subdirectory\x20of\x20the\x20hooks\x20directory,\x20add\x20the\x20path\x20to\x20the\x0a\x20\x20hook\x20name.\x20For\x20example,\x20maka\x20g:hook\x20myHooks/useCoolHook\x20will\x20create\x20a\x20hook\x20in\x0a\x20\x20imports/ui/hooks/my-hooks/use-cool-hook.jsx\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','.app-tests.js','engines','template/template.css','apply','baseDir','\x20}\x20from\x20\x27','injectAtBeginningOfFile','theme','layouts','tsx'];a101c=function(){return v;};return a101c();}(function(a,b){const p=a101d,c=a();while(!![]){try{const d=parseInt(p(0x224))/0x1+-parseInt(p(0x219))/0x2+-parseInt(p(0x21f))/0x3+parseInt(p(0x21b))/0x4+-parseInt(p(0x1dc))/0x5*(parseInt(p(0x216))/0x6)+parseInt(p(0x1ec))/0x7*(parseInt(p(0x1e8))/0x8)+parseInt(p(0x203))/0x9*(-parseInt(p(0x212))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0xc5b9b));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a101d;if(c){const e=c[q(0x209)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const r=a101d;return a101a[r(0x218)]()[r(0x1f6)](r(0x204))[r(0x218)]()[r(0x1fd)](a101a)['search']('(((.+)+)+)+$');});a101a();import a101e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a101d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator['create']({'name':a101s(0x1e0),'aliases':['h'],'checkWhere':![],'usage':a101s(0x1d8),'shortDesc':a101s(0x223),'validOpts':['baseDir'],'examples':['maka\x20g:hook\x20cool-hook'],'description':a101s(0x205)},async function(a,b){const t=a101s;Log[t(0x1f4)](t(0x210)+a[0x0]+t(0x1ea));try{const c=['hooks',t(0x211),'pages',t(0x20e)];if(b[t(0x20a)]&&!c[t(0x21a)](b[t(0x20a)])){Log['error'](t(0x214)+b[t(0x20a)]+'\x22'),Log[t(0x1f7)](t(0x1ef)+c['join'](',\x20'));throw new UsageError();}const d=this[t(0x1f5)][t(0x1ff)](t(0x1e3));if(!d){Log[t(0x1f7)](t(0x1e4));throw new UsageError();}const f=this[t(0x1f5)][t(0x220)](b),g=b[t(0x20a)]?t(0x1e7)+b[t(0x20a)]:t(0x1df),h=this[t(0x1f5)][t(0x220)]({'pathParts':[g,b[t(0x1fc)],paramCase(b[t(0x1eb)]),paramCase(b[t(0x1eb)])]}),i=await this[t(0x1f5)]['getProjectConfig']();this['fsi'][t(0x1da)](i,async()=>{const u=t;typeof i[u(0x227)][u(0x215)]===u(0x1e1)&&(i[u(0x227)]['css']=i['template'][u(0x215)]==='true'?!![]:![],this[u(0x1f5)][u(0x1fe)](u(0x215),i[u(0x227)][u(0x215)]));i[u(0x207)][u(0x1db)]===u(0x222)&&!this['fsi'][u(0x1ff)](u(0x201))&&(Log[u(0x1e5)](u(0x1fb)),await this[u(0x1f5)][u(0x221)](u(0x1f9),{'cwd':f}));const j={'cssCaseName':paramCase(b['resourceName']),'camelCaseName':camelCase(b[u(0x1eb)]),'className':pascalCase(b[u(0x1eb)]),'name':pascalCase(b[u(0x1eb)]),'graphql':i[u(0x207)][u(0x1db)],'theme':i[u(0x207)][u(0x20d)],'features':i[u(0x1e9)],'myPath':a101e[u(0x228)](this[u(0x1f5)]['pathFromProject']({}),h),'fileName':paramCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':i[u(0x1e9)]['withTranslations']};this['fsi'][u(0x227)]({'srcPath':u(0x21d),'destPath':h+u(0x200),'context':j,'config':i,'framework':u(0x1e3)});i['template']['css']&&(this[u(0x1f5)][u(0x227)]({'srcPath':u(0x208),'destPath':h+u(0x1ed),'context':Object[u(0x225)]({},j,{'className':j[u(0x202)]}),'config':i}),this[u(0x1f5)][u(0x20c)]({'filePath':h+'.'+i[u(0x207)]['js'],'content':'import\x20\x27./'+j[u(0x1ee)]+'.'+i[u(0x207)][u(0x215)]+'\x27;'}));i['engines'][u(0x226)]!==u(0x1f8)&&this[u(0x1f5)][u(0x227)]({'srcPath':u(0x1e2),'destPath':h+u(0x206),'framework':u(0x1e3),'context':j,'config':i});const k=b[u(0x1fc)]?'/'+b['dir']+'/':'/',l=''+g+k+j['fileName']+'/'+j[u(0x1ee)];let m;if(i['engines'][u(0x1fa)]===u(0x1de)){const n=this[u(0x1f5)][u(0x220)]({'pathParts':[u(0x213),'startup','lib',u(0x1d9)]});m=this[u(0x1f5)][u(0x1f1)]({'pathParts':[n],'config':i});}else{const o=this[u(0x1f5)][u(0x220)]({'pathParts':[u(0x213),u(0x1f2),u(0x1dd),u(0x1d9)]});m=this[u(0x1f5)]['rewriteDestinationPathForEngine']({'pathParts':[o],'config':i});}i[u(0x207)][u(0x1dd)]==='react'?(i[u(0x207)]['js']===u(0x20f)?this['fsi'][u(0x20c)]({'filePath':m,'content':u(0x1f0)+j[u(0x21e)]+u(0x20b)+l+u(0x1d7)}):this[u(0x1f5)][u(0x20c)]({'filePath':m,'content':u(0x1f0)+j[u(0x21e)]+u(0x20b)+l+'.'+i[u(0x207)]['js']+u(0x1d7)}),this[u(0x1f5)]['injectAtEndOfFile']({'filePath':m,'content':u(0x217)+j[u(0x21e)]+u(0x21c)})):this[u(0x1f5)][u(0x1e6)]({'filePath':m,'content':u(0x1f3)+l+'.'+i[u(0x207)]['js']+u(0x1d7)});});}catch(j){Log[t(0x1f7)](j);}});
1
+ const a101r=a101d;(function(a,b){const o=a101d,c=a();while(!![]){try{const d=parseInt(o(0xbb))/0x1+parseInt(o(0xe4))/0x2*(parseInt(o(0xa0))/0x3)+parseInt(o(0xc9))/0x4*(parseInt(o(0xa2))/0x5)+parseInt(o(0xdd))/0x6+parseInt(o(0xc4))/0x7*(parseInt(o(0xe3))/0x8)+-parseInt(o(0xb3))/0x9+-parseInt(o(0xb4))/0xa*(parseInt(o(0xdb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x40152));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a101d;if(c){const e=c[p(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const q=a101d;return a101a['toString']()[q(0xe0)]('(((.+)+)+)+$')[q(0xa3)]()[q(0xb5)](a101a)[q(0xe0)]('(((.+)+)+)+$');});function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x9f;let f=c[d];return f;},a101d(a,b);}a101a();import a101e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a101c(){const u=['fsi','import\x20\x27','search','rewriteDestinationPathForEngine','engines','8fbpZCb','2gHMUax','setTemplate','client','pathFromApp','installNpmPackage','error','dir','graphql','import\x20\x27./','.js','template/template.css','882399tOjfyb','checkNpmPackage','165eWWVaz','toString','\x20};\x0a','import\x20{\x20','pages','startup','cssCaseName','imports','baseDir','theme','hook','apollo','ssr','@apollo/client\x20isomorphic-fetch','@apollo/client','getProjectConfig','fileName','4275900EZsvlv','641870lilwdK','constructor','relative','withValue','css','resourceName','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','142856dYBUyZ','\x20hook...','test','.app-tests.js','layouts','react','className','none','test/test.js','2550065nVveWT','hooks','apply','injectAtBeginningOfFile','create','51232FfOpEk','assign','withTranslations','/imports/ui/hooks','template','Creating\x20','\x20}\x20from\x20\x27','true','templates.js','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','pathFromProject','hook/hook.js','\x27;\x0a','warn','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20Hooks\x20are\x20created\x20in\x20the\x20imports/ui/hooks\x20directory\x20by\x20default,\x20but\x20can\x20be\x20created\x20in\x0a\x20\x20the\x20imports/ui/components,\x20imports/ui/pages,\x20or\x20imports/ui/layouts\x20directories\x20by\x0a\x20\x20using\x20the\x20--baseDir\x20option\x20with\x20the\x20appropriate\x20directory\x20name.\x0a\x0a\x20\x20To\x20create\x20a\x20hook\x20in\x20a\x20subdirectory\x20of\x20the\x20hooks\x20directory,\x20add\x20the\x20path\x20to\x20the\x0a\x20\x20hook\x20name.\x20For\x20example,\x20maka\x20g:hook\x20myHooks/useCoolHook\x20will\x20create\x20a\x20hook\x20in\x0a\x20\x20imports/ui/hooks/my-hooks/use-cool-hook.jsx\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','maka\x20g:hook\x20cool-hook','components','features','132vVaCkX','string','1703268ymBGot'];a101c=function(){return u;};return a101c();}Generator[a101r(0xc8)]({'name':a101r(0xac),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a101r(0xba),'validOpts':[{'name':a101r(0xaa),'values':[a101r(0xc5),a101r(0xd9),a101r(0xa6),a101r(0xbf)]}],'examples':[a101r(0xd8)],'description':a101r(0xd7)},async function(a,b){const s=a101r;Log['notice'](s(0xce)+b[s(0xb9)]+s(0xbc));try{const c=this[s(0xde)][s(0xa1)](s(0xc0));if(!c){Log[s(0xe9)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[s(0xde)][s(0xe7)](b),f=b[s(0xaa)]?'/imports/ui/'+b[s(0xaa)]:s(0xcc),g=this['fsi']['pathFromApp']({'pathParts':[f,b['dir'],paramCase(b[s(0xb9)]),paramCase(b[s(0xb9)])]}),h=await this['fsi'][s(0xb1)]();this['fsi'][s(0xb7)](h,async()=>{const t=s;typeof h[t(0xcd)]['css']===t(0xdc)&&(h[t(0xcd)][t(0xb8)]=h[t(0xcd)][t(0xb8)]===t(0xd0)?!![]:![],this[t(0xde)][t(0xe5)](t(0xb8),h[t(0xcd)][t(0xb8)]));h['engines'][t(0xeb)]===t(0xad)&&!this[t(0xde)][t(0xa1)](t(0xb0))&&(Log[t(0xd6)](t(0xd2)),await this['fsi'][t(0xe8)](t(0xaf),{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[t(0xb9)]),'name':pascalCase(b[t(0xb9)]),'graphql':h[t(0xe2)][t(0xeb)],'theme':h[t(0xe2)][t(0xab)],'features':h[t(0xda)],'myPath':a101e[t(0xb6)](this[t(0xde)][t(0xd3)]({}),g),'fileName':paramCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':h['features'][t(0xcb)]};this['fsi'][t(0xcd)]({'srcPath':t(0xd4),'destPath':g+t(0xed),'context':i,'config':h,'framework':t(0xc0)});h[t(0xcd)][t(0xb8)]&&(this[t(0xde)]['template']({'srcPath':t(0x9f),'destPath':g+'.css','context':Object[t(0xca)]({},i,{'className':i[t(0xa8)]}),'config':h}),this['fsi']['injectAtBeginningOfFile']({'filePath':g+'.'+h[t(0xe2)]['js'],'content':t(0xec)+i[t(0xb2)]+'.'+h['engines'][t(0xb8)]+'\x27;'}));h[t(0xe2)][t(0xbd)]!==t(0xc2)&&this['fsi'][t(0xcd)]({'srcPath':t(0xc3),'destPath':g+t(0xbe),'framework':'react','context':i,'config':h});const j=b[t(0xea)]?'/'+b['dir']+'/':'/',k=''+f+j+i[t(0xb2)]+'/'+i[t(0xb2)];let l;if(h[t(0xe2)][t(0xae)]==='true'){const m=this['fsi'][t(0xe7)]({'pathParts':[t(0xa9),t(0xa7),'lib',t(0xd1)]});l=this[t(0xde)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':h});}else{const n=this[t(0xde)][t(0xe7)]({'pathParts':[t(0xa9),'startup',t(0xe6),t(0xd1)]});l=this[t(0xde)][t(0xe1)]({'pathParts':[n],'config':h});}h['engines'][t(0xe6)]===t(0xc0)?(h['engines']['js']==='tsx'?this[t(0xde)][t(0xc7)]({'filePath':l,'content':t(0xa5)+i[t(0xc1)]+t(0xcf)+k+t(0xd5)}):this['fsi'][t(0xc7)]({'filePath':l,'content':t(0xa5)+i[t(0xc1)]+'\x20}\x20from\x20\x27'+k+'.'+h[t(0xe2)]['js']+t(0xd5)}),this[t(0xde)]['injectAtEndOfFile']({'filePath':l,'content':'export\x20{\x20'+i['className']+t(0xa4)})):this[t(0xde)]['injectAtEndOfFile']({'filePath':l,'content':t(0xdf)+k+'.'+h[t(0xe2)]['js']+t(0xd5)});});}catch(i){Log[s(0xe9)](i);}});
@@ -1 +1 @@
1
- function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0xde;let f=c[d];return f;},a102d(a,b);}function a102c(){const n=['search','error','9398976eVvYQq','kit','engines','(blank)','17519YiWTZx','maka\x20{generate,\x20g}:{kit}\x20<kit-name>','notice','43684PEIZgE','create','540LOqkkB','toString','fsi','maka\x20g:kit\x20--type=map','26223939mWWUcn','maka\x20g:k\x20city-map\x20--type=leaflet-map','(((.+)+)+)+$','getProjectConfig','constructor','84keeGeN','indexOf','2829534ZurZUW','4735056fkywVJ','NIE','apply','resourceName','8913471zXfMfA','type','(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','leaflet-map','login'];a102c=function(){return n;};return a102c();}const a102k=a102d;(function(a,b){const h=a102d,c=a();while(!![]){try{const d=-parseInt(h(0xe4))/0x1*(parseInt(h(0xf2))/0x2)+-parseInt(h(0xf4))/0x3+-parseInt(h(0xe7))/0x4*(parseInt(h(0xe9))/0x5)+parseInt(h(0xf5))/0x6+-parseInt(h(0xf9))/0x7+parseInt(h(0xe0))/0x8+parseInt(h(0xed))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0xb6226));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a102d;if(c){const e=c[i(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const j=a102d;return a102a[j(0xea)]()['search'](j(0xef))[j(0xea)]()[j(0xf1)](a102a)[j(0xde)](j(0xef));});a102a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a102k(0xe8)]({'name':a102k(0xe1),'aliases':['k'],'usage':a102k(0xe5),'shortDesc':a102k(0xfb),'validOpts':['type'],'examples':[a102k(0xec),a102k(0xee)]},async function(a,b){const l=a102k;try{const c=this[l(0xeb)][l(0xf0)]();this[l(0xeb)]['withValue'](c,async()=>{const m=l,d={'name':pascalCase(b[m(0xf8)]),'fileName':paramCase(b[m(0xf8)]),'camelCase':camelCase(b['resourceName']),'type':b[m(0xfa)],'engine':c[m(0xe2)]['js'],'noRename':!![]},f=[m(0xfc),'login'];if(f[m(0xf3)](d[m(0xfa)])<0x0){const g=d[m(0xfa)]?d[m(0xfa)]:m(0xe3);Log[m(0xdf)]('Invalid\x20type\x20'+g+',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument');return;}b[m(0xfa)]==='map'&&Log[m(0xe6)](m(0xf6)),b['type']===m(0xfd)&&Log[m(0xe6)](m(0xf6));});}catch(d){Log[l(0xdf)](d);}});
1
+ const a102k=a102d;(function(a,b){const h=a102d,c=a();while(!![]){try{const d=parseInt(h(0x122))/0x1*(parseInt(h(0x11d))/0x2)+-parseInt(h(0x130))/0x3*(parseInt(h(0x126))/0x4)+-parseInt(h(0x12e))/0x5+-parseInt(h(0x11f))/0x6*(parseInt(h(0x11b))/0x7)+parseInt(h(0x123))/0x8+-parseInt(h(0x121))/0x9+parseInt(h(0x132))/0xa*(parseInt(h(0x128))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0xce1e0));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a102d;if(c){const e=c[i(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const j=a102d;return a102a['toString']()[j(0x12b)](j(0x125))[j(0x115)]()[j(0x118)](a102a)['search'](j(0x125));});function a102c(){const n=['18DLVJCc','kit','6MsOXhv','map','12893895ZhQwjx','23737fhPZiN','5065192EujSgZ','create','(((.+)+)+)+$','618632pDkJZW','maka\x20g:k\x20city-map\x20--type=leaflet-map','11ihLPGU','error','apply','search','type','login','1460200OKxFXL','NIE','30oSycPI',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','44981180HmKjPr','indexOf','fsi','(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','toString','resourceName','withValue','constructor','maka\x20{generate,\x20g}:{kit}\x20<kit-name>','engines','8605583NWmUTy','(blank)'];a102c=function(){return n;};return a102c();}a102a();import{Generator}from'../generator.js';function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x114;let f=c[d];return f;},a102d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a102k(0x124)]({'name':a102k(0x11e),'aliases':['k'],'usage':a102k(0x119),'shortDesc':a102k(0x114),'validOpts':[a102k(0x12c)],'examples':['maka\x20g:kit\x20--type=map',a102k(0x127)]},async function(a,b){const l=a102k;try{const c=this['fsi']['getProjectConfig']();this[l(0x134)][l(0x117)](c,async()=>{const m=l,d={'name':pascalCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[m(0x116)]),'type':b[m(0x12c)],'engine':c[m(0x11a)]['js'],'noRename':!![]},f=['leaflet-map',m(0x12d)];if(f[m(0x133)](d['type'])<0x0){const g=d[m(0x12c)]?d[m(0x12c)]:m(0x11c);Log[m(0x129)]('Invalid\x20type\x20'+g+m(0x131));return;}b['type']===m(0x120)&&Log['notice'](m(0x12f)),b[m(0x12c)]==='login'&&Log['notice'](m(0x12f));});}catch(d){Log[l(0x129)](d);}});
@@ -1 +1 @@
1
- function a103c(){const u=['imports','className','withHooks','10719540wWWeWY','hook/hook.js','injectAtBeginningOfFile','assign','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','split','import\x20{\x20','Scaffolding\x20for\x20a\x20React\x20Layout.','2263972nWUxPU','checkNpmPackage','withHook','.css','search','fileName','css','getProjectConfig','warn','setTemplate','client','theme','.app-tests.js','startup','resourceName','templates.js','layout','.js','findAppDirectory','withValue','lib','ssr','api','tsx','import\x20\x27./','template/template.css','true','dir','engines','\x20}\x20from\x20\x27','14512Vyjcqw','includes','\x20};\x0a','features','constructor','ramda','1855742EHEgXQ','fsi','1080QIDsGq','rewriteDestinationPathForEngine','create','test','21155OPuMUE','4302pMsuyd','none','relative','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','3364apolzE','react','\x27;\x0a','apply','pathFromApp','toString','graphql','template','362pEUgwx','(((.+)+)+)+$','maka\x20g:layout\x20mobile/iPhone8','injectAtEndOfFile','431214bcybSF'];a103c=function(){return u;};return a103c();}const a103r=a103d;function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x136;let f=c[d];return f;},a103d(a,b);}(function(a,b){const o=a103d,c=a();while(!![]){try{const d=parseInt(o(0x14f))/0x1*(parseInt(o(0x157))/0x2)+parseInt(o(0x15b))/0x3+-parseInt(o(0x167))/0x4+-parseInt(o(0x14a))/0x5*(-parseInt(o(0x146))/0x6)+-parseInt(o(0x144))/0x7+parseInt(o(0x13e))/0x8*(parseInt(o(0x14b))/0x9)+-parseInt(o(0x15f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x74c21));const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a103d;if(c){const e=c[p(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const q=a103d;return a103a['toString']()[q(0x16b)](q(0x158))[q(0x154)]()[q(0x142)](a103a)['search'](q(0x158));});a103a();import a103e 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[a103r(0x148)]({'name':a103r(0x177),'aliases':aliases,'usage':a103r(0x14e),'shortDesc':a103r(0x166),'validOpts':[],'examples':[a103r(0x159),'maka\x20g:l\x20web/safari']},function(a,b){const s=a103r,c='/imports/ui/layouts',d=this[s(0x145)][s(0x179)](),e=this[s(0x145)][s(0x153)]({'pathParts':[c,b['dir'],paramCase(b[s(0x175)]),paramCase(b[s(0x175)])]}),f=this[s(0x145)][s(0x16e)]();this[s(0x145)][s(0x17a)](f,()=>{const t=s;typeof f[t(0x156)][t(0x149)]==='string'&&(f['template'][t(0x149)]=f[t(0x156)][t(0x149)]===t(0x13a)?!![]:![],this['fsi']['setTemplate']('test',f['template']['test']));typeof f['template'][t(0x16d)]==='string'&&(f[t(0x156)][t(0x16d)]=f[t(0x156)][t(0x16d)]===t(0x13a)?!![]:![],this[t(0x145)]['setTemplate'](t(0x16d),f['template']['css']));typeof f[t(0x156)]['js']==='string'&&(f['template']['js']=f[t(0x156)]['js']===t(0x13a)?!![]:![],this[t(0x145)][t(0x170)]('js',f[t(0x156)]['js']));!f[t(0x141)]&&(f[t(0x141)]={});const g=b['_']?b['_'][0x0][t(0x164)](':')[0x1]:![],h=b['_']&&aliases[t(0x13f)](g);h&&!this[t(0x168)](t(0x143))&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[t(0x145)]['installNpmPackage'](t(0x143),{'cwd':d}));if(h&&!this[t(0x168)]('react')){Log[t(0x16f)](t(0x163));return;}const i={'name':pascalCase(b[t(0x175)]),'myPath':a103e[t(0x14d)](this[t(0x145)]['pathFromProject']({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[t(0x175)]),'camelCaseName':camelCase(b[t(0x175)]),'fileName':paramCase(b['resourceName']),'graphql':f[t(0x13c)][t(0x155)],'features':f[t(0x141)],'client':f[t(0x13c)][t(0x171)],'api':f[t(0x13c)][t(0x136)],'ssr':f[t(0x13c)][t(0x17c)],'test':f[t(0x13c)][t(0x149)],'theme':f[t(0x13c)][t(0x172)],'isComponent':![],'isLayout':!![],'withTranslations':f['features']['withTranslations']};f[t(0x141)]?.[t(0x15e)]||b[t(0x169)]?this[t(0x145)][t(0x156)]({'srcPath':t(0x160),'destPath':e+t(0x178),'framework':'react','context':i,'config':f}):this['fsi'][t(0x156)]({'srcPath':'component/component.js','destPath':e+'.js','framework':t(0x150),'context':i,'config':f});f[t(0x13c)][t(0x149)]!==t(0x14c)&&this[t(0x145)][t(0x156)]({'srcPath':'test/test.js','destPath':e+t(0x173),'framework':t(0x150),'context':i,'config':f});f['template'][t(0x16d)]&&(this[t(0x145)]['template']({'srcPath':t(0x139),'destPath':e+t(0x16a),'context':Object[t(0x162)]({},i,{'className':paramCase(b[t(0x175)])}),'config':f}),this['fsi'][t(0x161)]({'filePath':e+'.'+f['engines']['js'],'content':t(0x138)+i[t(0x16c)]+'.'+f['engines'][t(0x16d)]+'\x27;'}));const j=b[t(0x13b)]?'/'+b['dir']+'/':'/',k=''+c+j+i[t(0x16c)]+'/'+i['fileName'];let l;if(f[t(0x13c)]['ssr']==='true'){const m=this[t(0x145)]['pathFromApp']({'pathParts':[t(0x15c),t(0x174),t(0x17b),'templates.js']});l=this[t(0x145)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':f});}else{const n=this[t(0x145)][t(0x153)]({'pathParts':[t(0x15c),'startup',t(0x171),t(0x176)]});l=this[t(0x145)][t(0x147)]({'pathParts':[n],'config':f});}f['engines']['client']===t(0x150)?(f[t(0x13c)]['js']===t(0x137)?this[t(0x145)][t(0x161)]({'filePath':l,'content':'import\x20{\x20'+i['className']+t(0x13d)+k+'\x27;\x0a'}):this[t(0x145)][t(0x161)]({'filePath':l,'content':t(0x165)+i[t(0x15d)]+t(0x13d)+k+'.'+f['engines']['js']+t(0x151)}),this['fsi'][t(0x15a)]({'filePath':l,'content':'export\x20{\x20'+i[t(0x15d)]+t(0x140)})):this[t(0x145)][t(0x15a)]({'filePath':l,'content':'import\x20\x27'+k+'.'+f[t(0x13c)]['js']+t(0x151)});});});
1
+ const a103r=a103d;(function(a,b){const o=a103d,c=a();while(!![]){try{const d=parseInt(o(0xae))/0x1+parseInt(o(0xb0))/0x2*(-parseInt(o(0x8f))/0x3)+-parseInt(o(0x86))/0x4+-parseInt(o(0xa3))/0x5+parseInt(o(0xb4))/0x6*(-parseInt(o(0xb6))/0x7)+parseInt(o(0x97))/0x8+parseInt(o(0x80))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x232db));const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a103d;if(c){const e=c[p(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const q=a103d;return a103a['toString']()[q(0x92)](q(0x93))[q(0x94)]()[q(0xb3)](a103a)[q(0x92)](q(0x93));});a103a();import a103e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a103c(){const u=['(((.+)+)+)+$','toString','ramda','setTemplate','759704XzCUjq','\x20}\x20from\x20\x27','rewriteDestinationPathForEngine','relative','withHook','pathFromProject','features','\x20};\x0a','split','react','import\x20{\x20','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','846315IeNLfA','\x27;\x0a','graphql','template/template.css','.css','component/component.js','startup','findAppDirectory','.app-tests.js','css','ssr','216864hQVoOa','withValue','2mWbMyD','template','className','constructor','760014RMsjcQ','withTranslations','7rNyujM','checkNpmPackage','imports','.js','create','installNpmPackage','maka\x20g:l\x20web/safari','pathFromApp','import\x20\x27','apply','api','test','injectAtEndOfFile','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','tsx','fsi','fileName','3990888KQnRgb','maka\x20g:layout\x20mobile/iPhone8','warn','assign','test/test.js','true','574716geZqAT','resourceName','engines','lib','import\x20\x27./','injectAtBeginningOfFile','none','layout','string','514671rartcs','client','dir','search'];a103c=function(){return u;};return a103c();}import{camelCase,paramCase,pascalCase}from'change-case';function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x7b;let f=c[d];return f;},a103d(a,b);}const aliases=['l'];Generator[a103r(0xba)]({'name':a103r(0x8d),'aliases':aliases,'usage':a103r(0xa2),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[],'examples':[a103r(0x81),a103r(0xbc)]},function(a,b){const s=a103r,c='/imports/ui/layouts',d=this[s(0x7e)][s(0xaa)](),e=this[s(0x7e)]['pathFromApp']({'pathParts':[c,b[s(0x91)],paramCase(b['resourceName']),paramCase(b[s(0x87)])]}),f=this[s(0x7e)]['getProjectConfig']();this['fsi'][s(0xaf)](f,()=>{const t=s;typeof f[t(0xb1)]['test']===t(0x8e)&&(f['template'][t(0xc1)]=f[t(0xb1)]['test']===t(0x85)?!![]:![],this[t(0x7e)][t(0x96)](t(0xc1),f[t(0xb1)]['test']));typeof f[t(0xb1)][t(0xac)]===t(0x8e)&&(f['template']['css']=f[t(0xb1)]['css']===t(0x85)?!![]:![],this['fsi'][t(0x96)](t(0xac),f[t(0xb1)][t(0xac)]));typeof f['template']['js']===t(0x8e)&&(f['template']['js']=f[t(0xb1)]['js']===t(0x85)?!![]:![],this['fsi'][t(0x96)]('js',f['template']['js']));!f[t(0x9d)]&&(f['features']={});const g=b['_']?b['_'][0x0][t(0x9f)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[t(0xb7)]('ramda')&&(Log[t(0x82)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[t(0x7e)][t(0xbb)](t(0x95),{'cwd':d}));if(h&&!this[t(0xb7)](t(0xa0))){Log[t(0x82)](t(0x7c));return;}const i={'name':pascalCase(b[t(0x87)]),'myPath':a103e[t(0x9a)](this['fsi'][t(0x9c)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[t(0x87)]),'camelCaseName':camelCase(b[t(0x87)]),'fileName':paramCase(b[t(0x87)]),'graphql':f['engines'][t(0xa5)],'features':f['features'],'client':f['engines'][t(0x90)],'api':f['engines'][t(0xc0)],'ssr':f['engines'][t(0xad)],'test':f[t(0x88)]['test'],'theme':f[t(0x88)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[t(0x9d)][t(0xb5)]};f['features']?.['withHooks']||b[t(0x9b)]?this[t(0x7e)][t(0xb1)]({'srcPath':'hook/hook.js','destPath':e+t(0xb9),'framework':t(0xa0),'context':i,'config':f}):this[t(0x7e)][t(0xb1)]({'srcPath':t(0xa8),'destPath':e+t(0xb9),'framework':t(0xa0),'context':i,'config':f});f['engines'][t(0xc1)]!==t(0x8c)&&this[t(0x7e)][t(0xb1)]({'srcPath':t(0x84),'destPath':e+t(0xab),'framework':'react','context':i,'config':f});f['template']['css']&&(this[t(0x7e)][t(0xb1)]({'srcPath':t(0xa6),'destPath':e+t(0xa7),'context':Object[t(0x83)]({},i,{'className':paramCase(b[t(0x87)])}),'config':f}),this[t(0x7e)][t(0x8b)]({'filePath':e+'.'+f[t(0x88)]['js'],'content':t(0x8a)+i[t(0x7f)]+'.'+f['engines']['css']+'\x27;'}));const j=b[t(0x91)]?'/'+b['dir']+'/':'/',k=''+c+j+i[t(0x7f)]+'/'+i[t(0x7f)];let l;if(f[t(0x88)][t(0xad)]===t(0x85)){const m=this[t(0x7e)][t(0xbd)]({'pathParts':[t(0xb8),t(0xa9),t(0x89),'templates.js']});l=this[t(0x7e)][t(0x99)]({'pathParts':[m],'config':f});}else{const n=this[t(0x7e)][t(0xbd)]({'pathParts':[t(0xb8),'startup',t(0x90),'templates.js']});l=this[t(0x7e)][t(0x99)]({'pathParts':[n],'config':f});}f['engines'][t(0x90)]===t(0xa0)?(f[t(0x88)]['js']===t(0x7d)?this[t(0x7e)]['injectAtBeginningOfFile']({'filePath':l,'content':t(0xa1)+i['className']+t(0x98)+k+t(0xa4)}):this[t(0x7e)]['injectAtBeginningOfFile']({'filePath':l,'content':'import\x20{\x20'+i[t(0xb2)]+t(0x98)+k+'.'+f['engines']['js']+'\x27;\x0a'}),this[t(0x7e)]['injectAtEndOfFile']({'filePath':l,'content':'export\x20{\x20'+i[t(0xb2)]+t(0x9e)})):this['fsi'][t(0x7b)]({'filePath':l,'content':t(0xbe)+k+'.'+f['engines']['js']+t(0xa4)});});});
@@ -1 +1 @@
1
- const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=-parseInt(f(0xa9))/0x1*(parseInt(f(0xa8))/0x2)+parseInt(f(0xae))/0x3*(parseInt(f(0xa6))/0x4)+parseInt(f(0xac))/0x5+parseInt(f(0xb3))/0x6+parseInt(f(0xaa))/0x7+parseInt(f(0xab))/0x8+parseInt(f(0xa4))/0x9*(-parseInt(f(0xa3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x61401));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a104d;if(c){const e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const h=a104d;return a104a['toString']()['search'](h(0xb5))[h(0xb0)]()['constructor'](a104a)[h(0xaf)](h(0xb5));});a104a();function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0xa3;let f=c[d];return f;},a104d(a,b);}function a104c(){const j=['3033745rOMqqy','maka\x20g:hook\x20cool-hook','840051UkxJUb','search','toString','maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','maka\x20generate:api\x20Trucks','4048272ZJNQva','Maka!','(((.+)+)+)+$','3190scxYsB','49104Swzenk','maka','8AoCglb','apply','2GBRJVu','367520KULyhj','3683974BAfhrB','1108352PjBdgf'];a104c=function(){return j;};return a104c();}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a104i(0xa5),'shortDesc':a104i(0xb4),'validOpts':[],'description':'\x0a\x20\x20For\x20more\x20information\x20visit:\x0a\x20\x20\x20\x20https://www.maka-cli.com\x0a\x20\x20\x20\x20https://medium.com/@maka-io\x0a\x20\x20\x20\x20https://gitter.im/meteor/meteor\x20(@maka-io)\x0a\x20\x20','usage':a104i(0xb1),'examples':[a104i(0xb2),a104i(0xad)]},function(){return null;});export default MakaGen;
1
+ const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=parseInt(f(0x7c))/0x1*(-parseInt(f(0x6d))/0x2)+-parseInt(f(0x79))/0x3+parseInt(f(0x6b))/0x4+-parseInt(f(0x73))/0x5*(parseInt(f(0x7b))/0x6)+-parseInt(f(0x78))/0x7*(parseInt(f(0x7f))/0x8)+parseInt(f(0x75))/0x9*(-parseInt(f(0x6e))/0xa)+-parseInt(f(0x6c))/0xb*(-parseInt(f(0x76))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x68b2d));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a104d;if(c){const e=c[g(0x77)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const h=a104d;return a104a[h(0x70)]()[h(0x80)](h(0x74))['toString']()[h(0x7e)](a104a)['search'](h(0x74));});function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x6b;let f=c[d];return f;},a104d(a,b);}a104a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a104i(0x7d),'shortDesc':a104i(0x7a),'validOpts':[],'description':a104i(0x72),'usage':a104i(0x71),'examples':['maka\x20generate:api\x20Trucks',a104i(0x6f)]},function(){return null;});function a104c(){const j=['885665FIKymV','685028OCOUrH','10JBjzKw','maka\x20g:hook\x20cool-hook','toString','maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','\x0a\x20\x20For\x20more\x20information\x20visit:\x0a\x20\x20\x20\x20https://www.maka-cli.com\x0a\x20\x20\x20\x20https://medium.com/@maka-io\x0a\x20\x20\x20\x20https://gitter.im/meteor/meteor\x20(@maka-io)\x0a\x20\x20','5AuMlMR','(((.+)+)+)+$','7076061GBFFfx','372xKxmLW','apply','3605hOobJn','1747038zAhNxm','Maka!','1575492fVYmdn','1OOJIpI','maka','constructor','12848OwCGDw','search','2934564QiVIDR'];a104c=function(){return j;};return a104c();}export default MakaGen;
@@ -1 +1 @@
1
- const a105m=a105d;(function(a,b){const k=a105d,c=a();while(!![]){try{const d=parseInt(k(0xe7))/0x1*(-parseInt(k(0xd1))/0x2)+-parseInt(k(0xea))/0x3*(parseInt(k(0xca))/0x4)+-parseInt(k(0xc8))/0x5+-parseInt(k(0xdb))/0x6*(-parseInt(k(0xd0))/0x7)+parseInt(k(0xcd))/0x8*(-parseInt(k(0xe8))/0x9)+parseInt(k(0xe3))/0xa*(-parseInt(k(0xe5))/0xb)+parseInt(k(0xeb))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x47cb8));function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0xc6;let f=c[d];return f;},a105d(a,b);}const a105b=(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;};}()),a105a=a105b(this,function(){const l=a105d;return a105a['toString']()[l(0xde)](l(0xe1))[l(0xd8)]()[l(0xd3)](a105a)[l(0xde)](l(0xe1));});a105a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a105m(0xda)]({'name':a105m(0xd2),'aliases':['m'],'usage':a105m(0xe9),'checkWhere':!![],'shortDesc':a105m(0xd9),'validOpts':[a105m(0xee)],'examples':['maka\x20g:method\x20todos']},function(a,b){const n=a105m;try{const c=this[n(0xf0)]['getProjectConfig']();this[n(0xf0)][n(0xe0)](c,async()=>{const o=n,d=paramCase(b[o(0xd6)]),f={'name':b[o(0xd6)],'fileName':d,'className':pascalCase(b[o(0xd6)]),'camelCase':camelCase(b[o(0xd6)]),'noRename':!![]};let g='js';c['engines']['js']===o(0xe6)&&(g='ts');const h=this[o(0xf0)][o(0xdc)]({});(!this[o(0xf0)][o(0xe2)]('check')||!this[o(0xf0)][o(0xe2)](o(0xcb))||!this['fsi'][o(0xe2)](o(0xdd)))&&(Log[o(0xc9)](o(0xd7)),this[o(0xf0)][o(0xc6)](o(0xdf),{'cwd':h}));this[o(0xf0)][o(0xef)]({'srcPath':o(0xc7),'destPath':this[o(0xf0)][o(0xdc)]({'pathParts':[o(0xe4),o(0xd5),b[o(0xed)],o(0xd4),b[o(0xee)],d+o(0xcf)+g]}),'context':f,'config':c});const i=b[o(0xee)]?'/'+b[o(0xee)]+'/':'/',j=this[o(0xf0)][o(0xdc)]({'pathParts':[o(0xe4),'startup',b[o(0xed)],o(0xec)+c['engines']['js']]});this[o(0xf0)]['injectAtEndOfFile']({'filePath':j,'content':o(0xcc)+i+d+o(0xce)});});}catch(d){Log['error'](d);}});function a105c(){const p=['ddp-rate-limiter','import\x20\x27./methods','2262864WBqOde','-rpc-method\x27;','-rpc-method.','4942NNgPJr','241006FHJLbR','method','constructor','methods','startup','resourceName','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','toString','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','create','1752CgDrnX','pathFromApp','mdg:validated-method','search','check\x20ddp-rate-limiter\x20mdg:validated-method','withValue','(((.+)+)+)+$','checkMeteorPackage','287030uGxolv','imports','220toknJo','tsx','3VjmjUn','9sJVVCU','maka\x20{generate,\x20g}:{method,\x20m}\x20name','15585MlbWUK','22790424BdXrbJ','index.','appPathPrefix','dir','template','fsi','installMeteorPackage','method/method.js','2288925ZYTARa','warn','104USbToJ'];a105c=function(){return p;};return a105c();}
1
+ const a105n=a105d;(function(a,b){const k=a105d,c=a();while(!![]){try{const d=-parseInt(k(0x172))/0x1*(parseInt(k(0x176))/0x2)+-parseInt(k(0x165))/0x3*(parseInt(k(0x177))/0x4)+parseInt(k(0x15f))/0x5+-parseInt(k(0x15e))/0x6+-parseInt(k(0x173))/0x7*(parseInt(k(0x17d))/0x8)+parseInt(k(0x175))/0x9+parseInt(k(0x157))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0xbf836));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a105d;if(c){const e=c[l(0x15a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const m=a105d;return a105a['toString']()['search'](m(0x17a))[m(0x16d)]()[m(0x16c)](a105a)['search'](m(0x17a));});a105a();function a105c(){const q=['fsi','withValue','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','method/method.js','appPathPrefix','constructor','toString','resourceName','create','engines','checkMeteorPackage','39yjsHCw','350742RdPaEO','injectAtEndOfFile','10087785jHXGnu','62506KcjkGQ','8RkuIJx','-rpc-method.','check','(((.+)+)+)+$','getProjectConfig','import\x20\x27./methods','104CQSWBR','tsx','20373780SxRQYj','dir','-rpc-method\x27;','apply','imports','warn','error','5604210maODAe','7760295sjlgYr','startup','check\x20ddp-rate-limiter\x20mdg:validated-method','pathFromApp','index.','method','1682376LWeUTm','methods'];a105c=function(){return q;};return a105c();}function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x156;let f=c[d];return f;},a105d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a105n(0x16f)]({'name':a105n(0x164),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a105n(0x158)],'examples':['maka\x20g:method\x20todos']},function(a,b){const o=a105n;try{const c=this[o(0x167)][o(0x17b)]();this['fsi'][o(0x168)](c,async()=>{const p=o,d=paramCase(b[p(0x16e)]),f={'name':b[p(0x16e)],'fileName':d,'className':pascalCase(b[p(0x16e)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[p(0x170)]['js']===p(0x156)&&(g='ts');const h=this[p(0x167)][p(0x162)]({});(!this[p(0x167)][p(0x171)](p(0x179))||!this['fsi'][p(0x171)]('ddp-rate-limiter')||!this['fsi'][p(0x171)]('mdg:validated-method'))&&(Log[p(0x15c)](p(0x169)),this[p(0x167)]['installMeteorPackage'](p(0x161),{'cwd':h}));this[p(0x167)]['template']({'srcPath':p(0x16a),'destPath':this['fsi'][p(0x162)]({'pathParts':[p(0x15b),p(0x160),b['appPathPrefix'],p(0x166),b[p(0x158)],d+p(0x178)+g]}),'context':f,'config':c});const i=b['dir']?'/'+b[p(0x158)]+'/':'/',j=this[p(0x167)][p(0x162)]({'pathParts':[p(0x15b),p(0x160),b[p(0x16b)],p(0x163)+c[p(0x170)]['js']]});this[p(0x167)][p(0x174)]({'filePath':j,'content':p(0x17c)+i+d+p(0x159)});});}catch(d){Log[o(0x15d)](d);}});
@@ -1 +1 @@
1
- const a106o=a106d;(function(a,b){const l=a106d,c=a();while(!![]){try{const d=parseInt(l(0x1f2))/0x1+-parseInt(l(0x1ea))/0x2*(parseInt(l(0x1d5))/0x3)+-parseInt(l(0x1e5))/0x4+-parseInt(l(0x1db))/0x5+-parseInt(l(0x1c9))/0x6*(parseInt(l(0x1ce))/0x7)+parseInt(l(0x1e3))/0x8+-parseInt(l(0x1f4))/0x9*(-parseInt(l(0x1f5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0xd4c0c));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a106d;if(c){const e=c[m(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const n=a106d;return a106a[n(0x1d3)]()[n(0x1d6)]('(((.+)+)+)+$')[n(0x1d3)]()[n(0x1e4)](a106a)[n(0x1d6)]('(((.+)+)+)+$');});function a106c(){const s=['ssr','forEach','template','relative','dir','2209560GziXWg','constructor','1642504gzUJrb','withValue','.js','package/package.js','/client/','2mpRdtZ','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','client','features','tests/server','fsi','lib','318375HkYPgR','hasOwnProperty','1806714rywqHX','170OEcWMJ','138pRKjFd','component','create','package/','pathFromProject','391839FOzpFS','server','template/template.js','theme','store','toString','resourceName','3762735NTsGeu','search','package','getProjectConfig','engines','apply','917370TVgHcY','package.js','packages'];a106c=function(){return s;};return a106c();}a106a();import a106e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a106d(a,b);}Generator[a106o(0x1cb)]({'name':a106o(0x1d7),'aliases':['p'],'usage':a106o(0x1ec),'shortDesc':a106o(0x1eb),'validOpts':[a106o(0x1e2)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a106o,c=paramCase(b['resourceName']),d=this[p(0x1f0)]['pathFromApp']({'pathParts':[p(0x1dd),b[p(0x1e2)],c]}),e=this[p(0x1f0)]['pathFromAppWithNoReWrite']({'pathParts':[p(0x1dd),b[p(0x1e2)],c,p(0x1dc)]}),f=this[p(0x1f0)][p(0x1d8)]();this['fsi'][p(0x1e6)](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a106e[q(0x1e1)](this[q(0x1f0)][q(0x1cd)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x1d4)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[q(0x1d9)][q(0x1ed)],'graphql':f[q(0x1d9)]['graphql'],'ssr':f[q(0x1d9)][q(0x1de)],'isComponent':b[q(0x1f3)](q(0x1ca)),'isLayout':b[q(0x1f3)]('layout'),'isStore':b[q(0x1f3)](q(0x1d2)),'features':f[q(0x1ee)],'noRename':!![],'theme':f[q(0x1d9)][q(0x1d1)]};this[q(0x1f0)][q(0x1e0)]({'srcPath':q(0x1e8),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+q(0x1e9)+c+q(0x1e7);this['fsi'][q(0x1e0)]({'srcPath':q(0x1d0),'destPath':h,'context':g,'config':f});const i=[q(0x1f1),q(0x1cf),'tests/client',q(0x1ef)];i[q(0x1df)](j=>{const r=q,k=d+'/'+j+'/'+c+'.js';this['fsi'][r(0x1e0)]({'srcPath':r(0x1cc)+j+'/package.js','destPath':k,'context':g,'config':f});});});});
1
+ const a106o=a106d;(function(a,b){const l=a106d,c=a();while(!![]){try{const d=parseInt(l(0x1f5))/0x1*(-parseInt(l(0x213))/0x2)+parseInt(l(0x201))/0x3*(-parseInt(l(0x21f))/0x4)+-parseInt(l(0x209))/0x5*(parseInt(l(0x1f4))/0x6)+-parseInt(l(0x206))/0x7+-parseInt(l(0x1f7))/0x8*(parseInt(l(0x21e))/0x9)+-parseInt(l(0x21d))/0xa*(parseInt(l(0x1fe))/0xb)+parseInt(l(0x208))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0xe1b4a));function a106c(){const s=['hasOwnProperty','getProjectConfig','228MbwTtw','apply','(((.+)+)+)+$','template','toString','9494485KcIvKc','search','106745964ctPBjM','5wKaOFy','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','engines','lib','package','resourceName','package/package.js','graphql','package.js','theme','2SdVHef','.js','constructor','dir','package/','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','tests/server','pathFromAppWithNoReWrite','client','maka\x20g:package\x20todos:package','374910bKwrgc','16495452zDEsmx','61668wKTxTJ','4292508fhlsLS','1057655mfCLWZ','create','8trtDRn','store','withValue','features','relative','tests/client','fsi','539cZmPqp'];a106c=function(){return s;};return a106c();}const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a106d;if(c){const e=c[m(0x202)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const n=a106d;return a106a[n(0x205)]()[n(0x207)]('(((.+)+)+)+$')[n(0x205)]()[n(0x215)](a106a)['search'](n(0x203));});a106a();import a106e from'path';import{Generator}from'../generator.js';function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a106d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a106o(0x1f6)]({'name':a106o(0x20d),'aliases':['p'],'usage':a106o(0x218),'shortDesc':a106o(0x20a),'validOpts':[a106o(0x216)],'examples':[a106o(0x21c)]},async function(a,b){const p=a106o,c=paramCase(b[p(0x20e)]),d=this[p(0x1fd)]['pathFromApp']({'pathParts':['packages',b[p(0x216)],c]}),e=this[p(0x1fd)][p(0x21a)]({'pathParts':['packages',b['dir'],c,p(0x211)]}),f=this['fsi'][p(0x200)]();this[p(0x1fd)][p(0x1f9)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x20e)]),'myPath':a106e[q(0x1fb)](this[q(0x1fd)]['pathFromProject']({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x20e)]),'camelCaseName':camelCase(b[q(0x20e)]),'fileName':c,'client':f[q(0x20b)][q(0x21b)],'graphql':f[q(0x20b)][q(0x210)],'ssr':f['engines']['ssr'],'isComponent':b[q(0x1ff)]('component'),'isLayout':b[q(0x1ff)]('layout'),'isStore':b[q(0x1ff)](q(0x1f8)),'features':f[q(0x1fa)],'noRename':!![],'theme':f[q(0x20b)][q(0x212)]};this[q(0x1fd)][q(0x204)]({'srcPath':q(0x20f),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+'/client/'+c+q(0x214);this['fsi'][q(0x204)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[q(0x20c),'server',q(0x1fc),q(0x219)];i['forEach'](j=>{const r=q,k=d+'/'+j+'/'+c+r(0x214);this[r(0x1fd)]['template']({'srcPath':r(0x217)+j+'/package.js','destPath':k,'context':g,'config':f});});});});
@@ -1 +1 @@
1
- const a107q=a107d;(function(a,b){const n=a107d,c=a();while(!![]){try{const d=-parseInt(n(0x8f))/0x1*(parseInt(n(0x84))/0x2)+-parseInt(n(0x7f))/0x3+-parseInt(n(0x94))/0x4*(-parseInt(n(0x9a))/0x5)+-parseInt(n(0x70))/0x6*(parseInt(n(0x7b))/0x7)+-parseInt(n(0x97))/0x8+-parseInt(n(0xbb))/0x9+parseInt(n(0xad))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xd94ad));const a107b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a107d;if(c){const e=c[o(0x7c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){const p=a107d;return a107a[p(0xb5)]()[p(0xb8)](p(0xa3))[p(0xb5)]()[p(0xaf)](a107a)[p(0xb8)](p(0xa3));});a107a();import a107e from'path';import{Generator}from'../generator.js';function a107c(){const t=['\x20}\x20from\x20\x27','features','6227766iHbKug','true','template/template.html','lib','store','template','hasOwnProperty','\x20};\x0a','css','engines','create','error','imports','className','startup','36ssGvOL','page','fileName','rewriteDestinationPathForEngine','import\x20{\x20','pages','theme','includes','hook/hook.js','layouts','withValue','1115737wneCpQ','apply','.app-tests.js','hooks','4153347jkobBx','assign','test','Updating\x20npm\x20packages\x20...','injectAtEndOfFile','2tyYorO','pathFromApp','react','export\x20{\x20','pathFromProject','warn','root','test/test.js','component','/imports/ui/','string','130967BRcpcD','client','templates.js','baseDir','import\x20\x27','100600RLYAUv','ssr','.html','4111720wNZAVY','/imports/ui/pages','dir','180petYaK','layout','fsi','Valid\x20options\x20are:\x20','installNpmPackage','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','\x27;\x0a','setTemplate','component/component.js','(((.+)+)+)+$','checkNpmPackage','resourceName','maka\x20g:page\x20todos/todos-item','withHook','html','injectAtBeginningOfFile','api','withTranslations','.js','36623300joWlfJ','none','constructor','import\x20\x27./','.css','template/template.css','tsx','ramda','toString','components','vanilla','search'];a107c=function(){return t;};return a107c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0x65;let f=c[d];return f;},a107d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a107q(0x6b)]({'name':a107q(0x71),'aliases':aliases,'usage':a107q(0x9f),'shortDesc':'Generate\x20a\x20page.','validOpts':[a107q(0x92),a107q(0xa7)],'examples':[a107q(0xa6)]},function(a,b){const r=a107q,c=[r(0x7e),r(0xb6),r(0x75),r(0x79)];if(b[r(0x92)]&&!c[r(0x77)](b['baseDir'])){Log[r(0x6c)]('Invalid\x20directory\x20option\x20\x22'+b[r(0x92)]+'\x22'),Log[r(0x6c)](r(0x9d)+c['join'](',\x20'));throw new UsageError();}const d=b[r(0x92)]?r(0x8d)+b[r(0x92)]:r(0x98),e=this[r(0x9c)][r(0x85)](b),f=this[r(0x9c)]['pathFromApp']({'pathParts':[d,b[r(0x99)],paramCase(b[r(0xa5)]),paramCase(b['resourceName'])]}),g=this['fsi']['getProjectConfig']();this[r(0x9c)][r(0x7a)](g,()=>{const s=r;typeof g[s(0x66)]['html']==='string'&&(g[s(0x66)][s(0xa8)]=g[s(0x66)][s(0xa8)]===s(0xbc)?!![]:![],this[s(0x9c)][s(0xa1)]('html',g[s(0x66)]['html']));typeof g[s(0x66)][s(0x81)]===s(0x8e)&&(g['template'][s(0x81)]=g[s(0x66)][s(0x81)]===s(0xbc)?!![]:![],this[s(0x9c)]['setTemplate'](s(0x81),g['template']['test']));typeof g[s(0x66)][s(0x69)]===s(0x8e)&&(g[s(0x66)][s(0x69)]=g['template'][s(0x69)]==='true'?!![]:![],this[s(0x9c)]['setTemplate']('css',g[s(0x66)][s(0x69)]));typeof g[s(0x66)]['js']===s(0x8e)&&(g[s(0x66)]['js']=g[s(0x66)]['js']===s(0xbc)?!![]:![],this['fsi']['setTemplate']('js',g['template']['js']));!g[s(0xba)]&&(g[s(0xba)]={});!b[s(0x8a)]&&!this[s(0x9c)][s(0xa4)](s(0xb4))&&(Log[s(0x89)](s(0x82)),this[s(0x9c)][s(0x9e)](s(0xb4),{'cwd':e}));const h={'name':pascalCase(b[s(0xa5)]),'myPath':a107e['relative'](this[s(0x9c)][s(0x88)]({}),f),'cssCaseName':paramCase(b[s(0xa5)]),'className':pascalCase(b[s(0xa5)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[s(0xa5)]),'graphql':g[s(0x6a)]['graphql'],'features':g[s(0xba)],'client':g[s(0x6a)][s(0x90)],'api':g[s(0x6a)][s(0xaa)],'ssr':g[s(0x6a)]['ssr'],'isStore':b[s(0x67)](s(0x65)),'isComponent':b[s(0x67)](s(0x8c)),'isLayout':b['hasOwnProperty'](s(0x9b)),'withTranslations':g[s(0xba)][s(0xab)],'test':g[s(0x6a)][s(0x81)],'theme':g[s(0x6a)][s(0x76)]};g[s(0x66)][s(0xa8)]&&this[s(0x9c)][s(0x66)]({'srcPath':s(0xbd),'destPath':f+s(0x96),'context':h,'config':g});g['features']?.['withHooks']||b[s(0xa7)]?this[s(0x9c)]['template']({'srcPath':s(0x78),'destPath':f+s(0xac),'framework':s(0x86),'context':h,'config':g}):this['fsi'][s(0x66)]({'srcPath':s(0xa2),'destPath':f+s(0xac),'framework':s(0x86),'context':h,'config':g});g['engines'][s(0x81)]!==s(0xae)&&this[s(0x9c)][s(0x66)]({'srcPath':s(0x8b),'destPath':f+s(0x7d),'framework':s(0x86),'context':h,'config':g});g[s(0x66)][s(0x69)]&&this['fsi'][s(0x66)]({'srcPath':s(0xb2),'destPath':f+s(0xb1),'context':Object[s(0x80)]({},h,{'className':paramCase(b[s(0xa5)])}),'config':g});g[s(0x6a)][s(0x90)]!==s(0x86)&&g[s(0x6a)][s(0x90)]!==s(0xb7)?(g[s(0x66)][s(0x69)]&&this['fsi']['injectAtBeginningOfFile']({'filePath':f+'.'+g[s(0x6a)]['js'],'content':s(0xb0)+h[s(0x72)]+'.'+g['engines'][s(0xa8)]+'\x27;\x0a'+'import\x20\x27./'+h['fileName']+'.'+g[s(0x6a)][s(0x69)]+'\x27;'}),!g[s(0x66)][s(0x69)]&&this[s(0x9c)][s(0xa9)]({'filePath':f+'.'+g[s(0x6a)]['js'],'content':s(0xb0)+h['fileName']+'.'+g[s(0x6a)][s(0xa8)]+'\x27;'})):g['template'][s(0x69)]&&this[s(0x9c)][s(0xa9)]({'filePath':f+'.'+g[s(0x6a)]['js'],'content':s(0xb0)+h[s(0x72)]+'.'+g['engines']['css']+'\x27;'});const i=b[s(0x99)]?'/'+b[s(0x99)]+'/':'/',j=''+d+i+h['fileName']+'/'+h['fileName'];let k;if(g[s(0x6a)][s(0x95)]===s(0xbc)){const l=this[s(0x9c)][s(0x85)]({'pathParts':['imports',s(0x6f),s(0xbe),s(0x91)]});k=this['fsi'][s(0x73)]({'pathParts':[l],'config':g});}else{const m=this[s(0x9c)][s(0x85)]({'pathParts':[s(0x6d),s(0x6f),'client',s(0x91)]});k=this['fsi'][s(0x73)]({'pathParts':[m],'config':g});}g[s(0x6a)][s(0x90)]==='react'?(g[s(0x6a)]['js']===s(0xb3)?this['fsi'][s(0xa9)]({'filePath':k,'content':'import\x20{\x20'+h[s(0x6e)]+s(0xb9)+j+'\x27;\x0a'}):this['fsi']['injectAtBeginningOfFile']({'filePath':k,'content':s(0x74)+h[s(0x6e)]+s(0xb9)+j+'.'+g[s(0x6a)]['js']+s(0xa0)}),this[s(0x9c)][s(0x83)]({'filePath':k,'content':s(0x87)+h[s(0x6e)]+s(0x68)})):this['fsi'][s(0x83)]({'filePath':k,'content':s(0x93)+j+'.'+g[s(0x6a)]['js']+'\x27;\x0a'});});});
1
+ const a107p=a107d;(function(a,b){const m=a107d,c=a();while(!![]){try{const d=-parseInt(m(0x1bd))/0x1*(-parseInt(m(0x198))/0x2)+parseInt(m(0x1a9))/0x3*(parseInt(m(0x1d8))/0x4)+-parseInt(m(0x1cb))/0x5*(-parseInt(m(0x183))/0x6)+-parseInt(m(0x1c2))/0x7+-parseInt(m(0x1ba))/0x8*(parseInt(m(0x1d1))/0x9)+parseInt(m(0x1ab))/0xa*(-parseInt(m(0x1cc))/0xb)+parseInt(m(0x1ae))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x377ad));const a107b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a107d;if(c){const e=c[n(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){const o=a107d;return a107a['toString']()[o(0x187)](o(0x1cf))[o(0x1c5)]()[o(0x199)](a107a)[o(0x187)]('(((.+)+)+)+$');});function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0x183;let f=c[d];return f;},a107d(a,b);}a107a();import a107e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a107c(){const s=['resourceName','test/test.js','withTranslations','relative','5cELYBS','652399FNeJng','engines','pathFromApp','(((.+)+)+)+$','react','1073988cgszSa','injectAtEndOfFile','store','Generate\x20a\x20page.','create','true','.js','1748BfetfP','499740uxSOYt','features','export\x20{\x20','.html','search','hook/hook.js','/imports/ui/','/imports/ui/pages','client','pathFromProject','test','template/template.html','template/template.css','maka\x20g:page\x20todos/todos-item','imports','ramda','vanilla','hooks','baseDir','apply','component','68sXGunG','constructor','html','css','fileName','api','dir','graphql','lib','fsi','\x27;\x0a','tsx','warn','import\x20\x27./','installNpmPackage','withHook','rewriteDestinationPathForEngine','597CQjJDL','theme','70PbFceb','Updating\x20npm\x20packages\x20...','none','10157520MhAaby','layout','import\x20\x27','checkNpmPackage','pages','template','setTemplate','root','string','hasOwnProperty','page','ssr','24apMLRa','injectAtBeginningOfFile','templates.js','10828BRSGJU','className','import\x20{\x20','layouts','\x20}\x20from\x20\x27','2691227wmwrWN','assign','withValue','toString','.app-tests.js'];a107c=function(){return s;};return a107c();}const aliases=['p'];Generator[a107p(0x1d5)]({'name':a107p(0x1b8),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a107p(0x1d4),'validOpts':[{'name':a107p(0x195),'values':[a107p(0x194),'components',a107p(0x1b2),a107p(0x1c0)]},{'name':a107p(0x1a7),'boolFlag':!![]}],'examples':[a107p(0x190)]},function(a,b){const q=a107p,c=b['baseDir']?q(0x189)+b['baseDir']:q(0x18a),d=this[q(0x1a1)][q(0x1ce)](b),e=this['fsi'][q(0x1ce)]({'pathParts':[c,b[q(0x19e)],paramCase(b[q(0x1c7)]),paramCase(b[q(0x1c7)])]}),f=this[q(0x1a1)]['getProjectConfig']();this[q(0x1a1)][q(0x1c4)](f,()=>{const r=q;typeof f['template'][r(0x19a)]==='string'&&(f[r(0x1b3)][r(0x19a)]=f[r(0x1b3)][r(0x19a)]==='true'?!![]:![],this[r(0x1a1)][r(0x1b4)](r(0x19a),f[r(0x1b3)][r(0x19a)]));typeof f['template']['test']===r(0x1b6)&&(f['template'][r(0x18d)]=f[r(0x1b3)][r(0x18d)]===r(0x1d6)?!![]:![],this[r(0x1a1)][r(0x1b4)](r(0x18d),f[r(0x1b3)]['test']));typeof f[r(0x1b3)]['css']===r(0x1b6)&&(f['template'][r(0x19b)]=f['template'][r(0x19b)]==='true'?!![]:![],this['fsi'][r(0x1b4)](r(0x19b),f[r(0x1b3)][r(0x19b)]));typeof f[r(0x1b3)]['js']===r(0x1b6)&&(f[r(0x1b3)]['js']=f[r(0x1b3)]['js']===r(0x1d6)?!![]:![],this['fsi']['setTemplate']('js',f[r(0x1b3)]['js']));!f[r(0x184)]&&(f[r(0x184)]={});!b[r(0x1b5)]&&!this[r(0x1a1)][r(0x1b1)]('ramda')&&(Log[r(0x1a4)](r(0x1ac)),this[r(0x1a1)][r(0x1a6)](r(0x192),{'cwd':d}));const g={'name':pascalCase(b['resourceName']),'myPath':a107e[r(0x1ca)](this[r(0x1a1)][r(0x18c)]({}),e),'cssCaseName':paramCase(b[r(0x1c7)]),'className':pascalCase(b[r(0x1c7)]),'camelCaseName':camelCase(b[r(0x1c7)]),'fileName':paramCase(b['resourceName']),'graphql':f[r(0x1cd)][r(0x19f)],'features':f[r(0x184)],'client':f[r(0x1cd)][r(0x18b)],'api':f[r(0x1cd)][r(0x19d)],'ssr':f[r(0x1cd)][r(0x1b9)],'isStore':b[r(0x1b7)](r(0x1d3)),'isComponent':b[r(0x1b7)](r(0x197)),'isLayout':b[r(0x1b7)](r(0x1af)),'withTranslations':f[r(0x184)][r(0x1c9)],'test':f[r(0x1cd)][r(0x18d)],'theme':f[r(0x1cd)][r(0x1aa)]};f[r(0x1b3)][r(0x19a)]&&this[r(0x1a1)]['template']({'srcPath':r(0x18e),'destPath':e+r(0x186),'context':g,'config':f});f[r(0x184)]?.['withHooks']||b['withHook']?this[r(0x1a1)][r(0x1b3)]({'srcPath':r(0x188),'destPath':e+'.js','framework':'react','context':g,'config':f}):this[r(0x1a1)][r(0x1b3)]({'srcPath':'component/component.js','destPath':e+r(0x1d7),'framework':'react','context':g,'config':f});f[r(0x1cd)][r(0x18d)]!==r(0x1ad)&&this[r(0x1a1)][r(0x1b3)]({'srcPath':r(0x1c8),'destPath':e+r(0x1c6),'framework':r(0x1d0),'context':g,'config':f});f['template'][r(0x19b)]&&this['fsi'][r(0x1b3)]({'srcPath':r(0x18f),'destPath':e+'.css','context':Object[r(0x1c3)]({},g,{'className':paramCase(b[r(0x1c7)])}),'config':f});f[r(0x1cd)][r(0x18b)]!==r(0x1d0)&&f[r(0x1cd)][r(0x18b)]!==r(0x193)?(f[r(0x1b3)]['css']&&this[r(0x1a1)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[r(0x1cd)]['js'],'content':r(0x1a5)+g[r(0x19c)]+'.'+f[r(0x1cd)][r(0x19a)]+r(0x1a2)+r(0x1a5)+g[r(0x19c)]+'.'+f[r(0x1cd)][r(0x19b)]+'\x27;'}),!f['template'][r(0x19b)]&&this[r(0x1a1)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[r(0x1cd)]['js'],'content':r(0x1a5)+g['fileName']+'.'+f['engines'][r(0x19a)]+'\x27;'})):f['template'][r(0x19b)]&&this['fsi'][r(0x1bb)]({'filePath':e+'.'+f['engines']['js'],'content':r(0x1a5)+g['fileName']+'.'+f['engines'][r(0x19b)]+'\x27;'});const h=b['dir']?'/'+b[r(0x19e)]+'/':'/',i=''+c+h+g[r(0x19c)]+'/'+g[r(0x19c)];let j;if(f[r(0x1cd)]['ssr']===r(0x1d6)){const k=this[r(0x1a1)][r(0x1ce)]({'pathParts':[r(0x191),'startup',r(0x1a0),'templates.js']});j=this[r(0x1a1)][r(0x1a8)]({'pathParts':[k],'config':f});}else{const l=this['fsi'][r(0x1ce)]({'pathParts':['imports','startup',r(0x18b),r(0x1bc)]});j=this[r(0x1a1)][r(0x1a8)]({'pathParts':[l],'config':f});}f['engines']['client']===r(0x1d0)?(f[r(0x1cd)]['js']===r(0x1a3)?this[r(0x1a1)][r(0x1bb)]({'filePath':j,'content':r(0x1bf)+g[r(0x1be)]+r(0x1c1)+i+'\x27;\x0a'}):this['fsi'][r(0x1bb)]({'filePath':j,'content':'import\x20{\x20'+g[r(0x1be)]+r(0x1c1)+i+'.'+f['engines']['js']+r(0x1a2)}),this[r(0x1a1)]['injectAtEndOfFile']({'filePath':j,'content':r(0x185)+g[r(0x1be)]+'\x20};\x0a'})):this[r(0x1a1)][r(0x1d2)]({'filePath':j,'content':r(0x1b0)+i+'.'+f['engines']['js']+r(0x1a2)});});});
@@ -1 +1 @@
1
- const a108k=a108d;function a108c(){const n=['search','149152TqsPmg','2188944VZQJIz','114530oTGcLj','4IMhCsw','resourceName','fsi','10petksk','tsx','engines','toString','14TnAZCq','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','533772Nhqstg','publish/publish.','injectAtEndOfFile','(((.+)+)+)+$','server/publish.','publish','apply','14401KClgtE','2007670IxymYl','create','341883NnlyWX'];a108c=function(){return n;};return a108c();}(function(a,b){const h=a108d,c=a();while(!![]){try{const d=-parseInt(h(0x192))/0x1*(parseInt(h(0x185))/0x2)+-parseInt(h(0x195))/0x3*(parseInt(h(0x182))/0x4)+parseInt(h(0x199))/0x5+-parseInt(h(0x18b))/0x6*(parseInt(h(0x189))/0x7)+parseInt(h(0x197))/0x8+parseInt(h(0x198))/0x9+parseInt(h(0x193))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x1db2b));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a108d;if(c){const e=c[i(0x191)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const j=a108d;return a108a[j(0x188)]()[j(0x196)]('(((.+)+)+)+$')[j(0x188)]()['constructor'](a108a)[j(0x196)](j(0x18e));});a108a();import{paramCase}from'change-case';function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x182;let f=c[d];return f;},a108d(a,b);}import{Generator}from'../generator.js';Generator[a108k(0x194)]({'name':a108k(0x190),'aliases':['p'],'usage':a108k(0x18a),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[],'examples':['maka\x20g:publish\x20todos']},async function(a,b){const l=a108k,c=this[l(0x184)]['getProjectConfig']();this[l(0x184)]['withValue'](c,async()=>{const m=l,d={'name':b['resourceName'],'collection':paramCase(b[m(0x183)]),'noRename':!![]};let e='js';c['engines']['js']===m(0x186)&&(e='ts');const f=this[m(0x184)]['rewriteDestinationPathForEngine']({'pathParts':[m(0x18f)+c[m(0x187)]['js']]}),g=this[m(0x184)]['templateContent']({'srcPath':m(0x18c)+e,'context':d,'config':c});this['fsi'][m(0x18d)]({'filePath':f,'content':'\x0a'+g});});});
1
+ const a108j=a108d;(function(a,b){const h=a108d,c=a();while(!![]){try{const d=parseInt(h(0x9c))/0x1+-parseInt(h(0xa0))/0x2*(-parseInt(h(0x9f))/0x3)+-parseInt(h(0x8a))/0x4*(-parseInt(h(0x87))/0x5)+parseInt(h(0x90))/0x6*(parseInt(h(0x9b))/0x7)+-parseInt(h(0x93))/0x8*(parseInt(h(0xa4))/0x9)+-parseInt(h(0x88))/0xa+parseInt(h(0x99))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x4e3d3));function a108c(){const m=['Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','resourceName','252258dBYKSr','12pFugLl','rewriteDestinationPathForEngine','server/publish.','maka\x20g:publish\x20todos','9MYOHcB','1691245zuzugu','3488190IpUhnW','(((.+)+)+)+$','4uzwNhS','constructor','engines','withValue','fsi','search','6jYKIqO','toString','create','4956448vwBVsc','injectAtEndOfFile','publish/publish.','getProjectConfig','publish','templateContent','3116443PPngEJ','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','202993AbfcDe','133765kHwUBZ'];a108c=function(){return m;};return a108c();}const a108b=(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;};}()),a108a=a108b(this,function(){const i=a108d;return a108a['toString']()[i(0x8f)](i(0x89))[i(0x91)]()[i(0x8b)](a108a)['search'](i(0x89));});function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x87;let f=c[d];return f;},a108d(a,b);}a108a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a108j(0x92)]({'name':a108j(0x97),'aliases':['p'],'usage':a108j(0x9a),'shortDesc':a108j(0x9d),'validOpts':[],'examples':[a108j(0xa3)]},async function(a,b){const k=a108j,c=this[k(0x8e)][k(0x96)]();this[k(0x8e)][k(0x8d)](c,async()=>{const l=k,d={'name':b[l(0x9e)],'collection':paramCase(b[l(0x9e)]),'noRename':!![]};let e='js';c[l(0x8c)]['js']==='tsx'&&(e='ts');const f=this['fsi'][l(0xa1)]({'pathParts':[l(0xa2)+c[l(0x8c)]['js']]}),g=this[l(0x8e)][l(0x98)]({'srcPath':l(0x95)+e,'context':d,'config':c});this[l(0x8e)][l(0x94)]({'filePath':f,'content':'\x0a'+g});});});
@@ -1 +1 @@
1
- const a109A=a109d;function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a109d(a,b);}(function(a,b){const x=a109d,c=a();while(!![]){try{const d=parseInt(x(0x1af))/0x1+parseInt(x(0x1ec))/0x2+parseInt(x(0x1b0))/0x3+-parseInt(x(0x1b5))/0x4*(parseInt(x(0x1ed))/0x5)+-parseInt(x(0x1df))/0x6+-parseInt(x(0x1eb))/0x7*(-parseInt(x(0x1cd))/0x8)+-parseInt(x(0x1b3))/0x9*(parseInt(x(0x1b9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xa3857));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a109d;if(c){const e=c[y(0x1b1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const z=a109d;return a109a[z(0x1d3)]()[z(0x1a8)]('(((.+)+)+)+$')['toString']()[z(0x1b8)](a109a)[z(0x1a8)](z(0x1d6));});a109a();import a109e from'path';import{Generator}from'../generator.js';function a109c(){const J=['includes','filter','1255126CZVawv','3718095rcLWgd','apply','create','9UxONuL','Valid\x20options\x20are:\x20','4iSTPfO','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','rewriteDestinationPathForEngine','constructor','25442110HBikLt','/imports/ui/','cwd','injectAtEndOfFile','templateName','client','const\x20privateRoutes\x20=\x20(<>','root','MasterLayout','baseDir','react','<Router','layout','dir','layouts','hooks','invoke','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','maka\x20g:route\x20todosIndex\x20todos','\x0a\x09\x09','72cIcbbd','pathFromApp','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','map','fsi','imports','toString','route','newForm','(((.+)+)+)+$','const\x20publicRoutes\x20=\x20(<>','injectIntoFile','ssr','length','engines','true','components','private','6290832fajytl','routes.js','route/route.js','config','findGenerator','lib','templateContent','maka\x20g:route\x20pages/lists/listIndex\x20lists','indexOf','only','features','withValue','859537xmtpYj','2267726BSJUtQ','2355035uaKuwC','readFileLines','maka\x20g:route\x20pages/about','withHook','PrivateLayout','warn','search','<Route','join','error','startup'];a109c=function(){return J;};return a109c();}import{Log}from'../tools/log/log.class.js';import a109f from'../generators/maka.gen.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a109A(0x1b2)]({'name':a109A(0x1d4),'aliases':aliases,'validOpts':[a109A(0x1de),'layout',a109A(0x1e8),a109A(0x1bb),a109A(0x1e2),a109A(0x1c0),a109A(0x1a5),'url',a109A(0x1c2)],'usage':a109A(0x1ca),'shortDesc':'Scaffolding\x20for\x20a\x20Route.','examples':[a109A(0x1cb),'maka\x20g:route\x20todosEdit\x20todos/:id/edit',a109A(0x1b6),a109A(0x1e6),a109A(0x1a4)]},function(a,b){const B=a109A;try{const c=[B(0x1c8),B(0x1dd),'pages',B(0x1c7)];if(b[B(0x1c2)]&&!c['includes'](b[B(0x1c2)])){Log[B(0x1ab)]('Invalid\x20directory\x20option\x20\x22'+b[B(0x1c2)]+'\x22'),Log[B(0x1ab)](B(0x1b4)+c[B(0x1aa)](',\x20'));throw new UsageError();}const d=this[B(0x1d1)]['getProjectConfig']();this[B(0x1d1)][B(0x1ea)](d,async()=>{const C=B,f=b['private']??![];let g=paramCase(a[0x0]),h='/'+g;a['length']>0x1&&(h='/'+a[C(0x1ae)](function(n){return n!=='/';})['join']('/')['toLowerCase']());g=camelCase(g);b[C(0x1c5)]&&(b[C(0x1c5)]=camelCase(b[C(0x1c5)]));const i=b['baseDir']?C(0x1ba)+b[C(0x1c2)]:'/imports/ui/pages',j=a109e[C(0x1aa)](i,b[C(0x1c6)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[C(0x1c5)]||C(0x1c1),'templatePath':j,'templateName':pascalCase(g),'client':d[C(0x1db)][C(0x1be)],'newForm':![],'withTranslations':d[C(0x1e9)]['withTranslations']};f&&(k['layout']=C(0x1a6));if(!b[C(0x1c0)]){const n=a109f[C(0x1e3)]('page');n&&await n[C(0x1c9)](a,b);}let l,m;if(d[C(0x1db)][C(0x1be)]===C(0x1c3)){if(d['engines'][C(0x1d9)]===C(0x1dc)){const r=this['fsi'][C(0x1ce)]({'pathParts':[C(0x1d2),'startup',C(0x1e4),C(0x1e0)]});l=this[C(0x1d1)]['rewriteDestinationPathForEngine']({'pathParts':[r],'config':d});}else{const s=this[C(0x1d1)]['pathFromApp']({'pathParts':['imports',C(0x1ac),C(0x1be),C(0x1e0)]});l=this[C(0x1d1)][C(0x1b7)]({'pathParts':[s],'config':d});}const o=this[C(0x1d1)][C(0x1ee)](l)[C(0x1d0)]((t,u)=>{const D=C;return t[D(0x1ad)](D(0x1cf))?u+0x1:null;})['filter'](t=>t!==null);let p=this[C(0x1d1)][C(0x1ee)](l)[C(0x1d0)]((t,u)=>{const E=C;return t['includes'](E(0x1d7))?u+0x1:null;})[C(0x1ae)](t=>t!==null),q=this[C(0x1d1)][C(0x1ee)](l)[C(0x1d0)]((t,u)=>{const F=C;return t[F(0x1ad)]('const\x20privateRoutes\x20=\x20(<>')?u+0x1:null;})[C(0x1ae)](t=>t!==null);p[C(0x1da)]>0x0&&q[C(0x1da)]>0x0&&(k[C(0x1d5)]=!![]);m=this[C(0x1d1)][C(0x1e5)]({'srcPath':C(0x1e1),'framework':C(0x1c3),'context':k,'config':d});if(p[C(0x1da)]>0x0||q[C(0x1da)]>0x0){this['fsi']['injectAfterLineNumber']({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q[C(0x1da)]>0x0)q=this['fsi']['readFileLines'](l)[C(0x1d0)]((t,u)=>{const G=C;return t[G(0x1ad)](G(0x1bf))?u+0x1:null;})[C(0x1ae)](t=>t!==null),this[C(0x1d1)]['injectAfterLineNumber']({'filePath':l,'content':'\x09{'+k[C(0x1bd)]+'}','lineNumber':q[0x0]});else p[C(0x1da)]>0x0?(p=this[C(0x1d1)][C(0x1ee)](l)[C(0x1d0)]((t,u)=>{const H=C;return t[H(0x1ad)]('const\x20publicRoutes\x20=\x20(<>')?u+0x1:null;})[C(0x1ae)](t=>t!==null),this[C(0x1d1)]['injectAfterLineNumber']({'filePath':l,'content':'\x09{'+k[C(0x1bd)]+'}','lineNumber':p[0x0]})):Log[C(0x1a7)]('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+l);}else{const t=this[C(0x1d1)]['readFileLines'](l)[C(0x1d0)](w=>{const I=C;return w[I(0x1ad)]('\x22*\x22');}),u=t[C(0x1e7)](!![])>-0x1,v=u?C(0x1a9):'</Router>';this[C(0x1d1)][C(0x1d8)]({'filePath':l,'content':'\x0a\x09\x09'+m+C(0x1cc),'begin':C(0x1c4),'end':v});}}else{if(d[C(0x1db)]['client']==='vanilla'){const w=this[C(0x1d1)][C(0x1ce)]({'pathParts':[C(0x1d2),C(0x1ac),C(0x1be),C(0x1e0)]});l=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[w],'config':d}),m=this[C(0x1d1)][C(0x1e5)]({'srcPath':'route/route.js','context':k}),this[C(0x1d1)][C(0x1bc)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log['error'](f);}});
1
+ const a109A=a109d;(function(a,b){const x=a109d,c=a();while(!![]){try{const d=parseInt(x(0x1e4))/0x1+parseInt(x(0x1fa))/0x2*(-parseInt(x(0x215))/0x3)+parseInt(x(0x1e2))/0x4+parseInt(x(0x203))/0x5*(-parseInt(x(0x1da))/0x6)+parseInt(x(0x1f7))/0x7+parseInt(x(0x220))/0x8*(-parseInt(x(0x1db))/0x9)+parseInt(x(0x20a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x42f96));function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x1da;let f=c[d];return f;},a109d(a,b);}const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a109d;if(c){const e=c[y(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const z=a109d;return a109a[z(0x1e6)]()[z(0x1f0)](z(0x1f1))[z(0x1e6)]()[z(0x201)](a109a)[z(0x1f0)](z(0x1f1));});a109a();import a109e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a109f from'../generators/maka.gen.js';function a109c(){const I=['PrivateLayout','filter','readFileLines','baseDir','maka\x20g:route\x20pages/lists/listIndex\x20lists','url','1254280pcyoAv','private','/imports/ui/','withTranslations','features','/imports/ui/pages','config','17502NyhvOE','27hpwShl','injectAtEndOfFile','toLowerCase','root','cwd','apply','rewriteDestinationPathForEngine','901032hALpUf','const\x20publicRoutes\x20=\x20(<>','114270oAFpkT','layout','toString','pathFromApp','fsi','vanilla','length','</Router>','join','newForm','const\x20privateRoutes\x20=\x20(<>','maka\x20g:route\x20todosEdit\x20todos/:id/edit','search','(((.+)+)+)+$','true','warn','route','client','templateName','917490sygPIa','indexOf','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','2596GoogWJ','routes.js','injectIntoFile','resourceName','map','invoke','maka\x20g:route\x20todosIndex\x20todos','constructor','Valid\x20options\x20are:\x20','415GrxHjZ','imports','includes','\x0a\x09\x09','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','findGenerator','engines','6369080JijLNn','layouts','injectAfterLineNumber','Invalid\x20directory\x20option\x20\x22','<Route','pages','withValue','dir','hooks','page','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','279waRaxy','startup','error','ssr','templateContent'];a109c=function(){return I;};return a109c();}import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator['create']({'name':a109A(0x1f4),'aliases':aliases,'validOpts':[a109A(0x221),a109A(0x1e5),'only',a109A(0x1df),a109A(0x226),a109A(0x1de),'withHook',a109A(0x21f),a109A(0x21d)],'usage':a109A(0x207),'shortDesc':'Scaffolding\x20for\x20a\x20Route.','examples':[a109A(0x200),a109A(0x1ef),'maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView',a109A(0x21e),'maka\x20g:route\x20pages/about']},function(a,b){const B=a109A;try{const c=[B(0x212),'components',B(0x20f),B(0x20b)];if(b[B(0x21d)]&&!c['includes'](b['baseDir'])){Log[B(0x217)](B(0x20d)+b['baseDir']+'\x22'),Log[B(0x217)](B(0x202)+c[B(0x1ec)](',\x20'));throw new UsageError();}const d=this[B(0x1e8)]['getProjectConfig']();this[B(0x1e8)][B(0x210)](d,async()=>{const C=B,f=b[C(0x221)]??![];let g=paramCase(b[C(0x1fd)]),h='/'+g;a[C(0x1ea)]>0x1&&(h='/'+a[C(0x21b)](function(n){return n!=='/';})[C(0x1ec)]('/')[C(0x1dd)]());g=camelCase(g);b[C(0x1e5)]&&(b[C(0x1e5)]=camelCase(b[C(0x1e5)]));const i=b[C(0x21d)]?C(0x222)+b['baseDir']:C(0x225),j=a109e[C(0x1ec)](i,b[C(0x211)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[C(0x1e5)]||'MasterLayout','templatePath':j,'templateName':pascalCase(g),'client':d[C(0x209)][C(0x1f5)],'newForm':![],'withTranslations':d[C(0x224)][C(0x223)]};f&&(k[C(0x1e5)]=C(0x21a));if(!b[C(0x1de)]){const n=a109f[C(0x208)](C(0x213));n&&await n[C(0x1ff)](a,b);}let l,m;if(d['engines'][C(0x1f5)]==='react'){if(d['engines'][C(0x218)]===C(0x1f2)){const r=this['fsi']['pathFromApp']({'pathParts':[C(0x204),'startup','lib',C(0x1fb)]});l=this[C(0x1e8)][C(0x1e1)]({'pathParts':[r],'config':d});}else{const s=this[C(0x1e8)]['pathFromApp']({'pathParts':[C(0x204),C(0x216),C(0x1f5),C(0x1fb)]});l=this[C(0x1e8)][C(0x1e1)]({'pathParts':[s],'config':d});}const o=this['fsi']['readFileLines'](l)[C(0x1fe)]((t,u)=>{const D=C;return t['includes'](D(0x214))?u+0x1:null;})[C(0x21b)](t=>t!==null);let p=this['fsi'][C(0x21c)](l)['map']((t,u)=>{const E=C;return t[E(0x205)]('const\x20publicRoutes\x20=\x20(<>')?u+0x1:null;})[C(0x21b)](t=>t!==null),q=this[C(0x1e8)][C(0x21c)](l)['map']((t,u)=>{const F=C;return t[F(0x205)]('const\x20privateRoutes\x20=\x20(<>')?u+0x1:null;})[C(0x21b)](t=>t!==null);p[C(0x1ea)]>0x0&&q[C(0x1ea)]>0x0&&(k[C(0x1ed)]=!![]);m=this['fsi'][C(0x219)]({'srcPath':'route/route.js','framework':'react','context':k,'config':d});if(p[C(0x1ea)]>0x0||q[C(0x1ea)]>0x0){this[C(0x1e8)][C(0x20c)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q['length']>0x0)q=this[C(0x1e8)][C(0x21c)](l)[C(0x1fe)]((t,u)=>{const G=C;return t[G(0x205)](G(0x1ee))?u+0x1:null;})[C(0x21b)](t=>t!==null),this[C(0x1e8)][C(0x20c)]({'filePath':l,'content':'\x09{'+k['templateName']+'}','lineNumber':q[0x0]});else p[C(0x1ea)]>0x0?(p=this[C(0x1e8)][C(0x21c)](l)['map']((t,u)=>{const H=C;return t[H(0x205)](H(0x1e3))?u+0x1:null;})['filter'](t=>t!==null),this['fsi'][C(0x20c)]({'filePath':l,'content':'\x09{'+k[C(0x1f6)]+'}','lineNumber':p[0x0]})):Log[C(0x1f3)](C(0x1f9)+l);}else{const t=this['fsi']['readFileLines'](l)[C(0x1fe)](w=>{return w['includes']('\x22*\x22');}),u=t[C(0x1f8)](!![])>-0x1,v=u?C(0x20e):C(0x1eb);this[C(0x1e8)][C(0x1fc)]({'filePath':l,'content':C(0x206)+m+C(0x206),'begin':'<Router','end':v});}}else{if(d[C(0x209)]['client']===C(0x1e9)){const w=this[C(0x1e8)][C(0x1e7)]({'pathParts':[C(0x204),C(0x216),'client',C(0x1fb)]});l=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[w],'config':d}),m=this[C(0x1e8)][C(0x219)]({'srcPath':'route/route.js','context':k}),this[C(0x1e8)][C(0x1dc)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log['error'](f);}});
@@ -1 +1 @@
1
- const a110m=a110d;(function(a,b){const j=a110d,c=a();while(!![]){try{const d=-parseInt(j(0x10e))/0x1+-parseInt(j(0x10a))/0x2*(parseInt(j(0x102))/0x3)+parseInt(j(0x112))/0x4*(-parseInt(j(0x120))/0x5)+parseInt(j(0x122))/0x6*(-parseInt(j(0x10b))/0x7)+parseInt(j(0x101))/0x8*(-parseInt(j(0x115))/0x9)+parseInt(j(0x123))/0xa+parseInt(j(0x121))/0xb*(parseInt(j(0x10c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x2ab04));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a110d;if(c){const e=c[k(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const l=a110d;return a110a[l(0x111)]()['search'](l(0x106))[l(0x111)]()['constructor'](a110a)[l(0x11e)](l(0x106));});a110a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x101;let f=c[d];return f;},a110d(a,b);}import{Log}from'../tools/log/log.class.js';function a110c(){const p=['getProjectConfig','svc','startup','services','maka\x20g:svc\x20logger','engines','search','installNpmPackage','15rJZvgv','58256qXdvNe','94260eoRMvA','3369400CyYORt','imports','2789192yfHZgL','744831ylCGNG','tsx','logger','fsi','(((.+)+)+)+$','template','apply','checkNpmPackage','2hNarUO','133ayTVZl','1872jokamI','withValue','41617KDOXTc','Installing\x20winston','winston\x20setimmediate','toString','68308AAXyLX','service/logger/logger.js','service','9OqFgnQ','resourceName','type'];a110c=function(){return p;};return a110c();}Generator['create']({'name':a110m(0x114),'aliases':[a110m(0x119)],'usage':'maka\x20{generate,\x20g}:{service}\x20[service-type]','shortDesc':'Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','validOpts':[a110m(0x117)],'validArgs':[a110m(0x104)],'maxArgLength':0x1,'minArgLength':0x1,'examples':[a110m(0x11c)]},async function(a,b){const n=a110m;try{const c=this[n(0x105)][n(0x118)]();this[n(0x105)][n(0x10d)](c,async()=>{const o=n,d=this[o(0x105)]['pathFromApp']({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[o(0x116)]),'fileName':f,'camelCase':camelCase(b[o(0x116)]),'type':a[0x0],'engine':c[o(0x11d)]['js'],'noRename':!![]};let h='js';c[o(0x11d)]['js']===o(0x103)&&(h='ts');if(a[0x0]===o(0x104)){!this[o(0x105)][o(0x109)]('winston')&&await this[o(0x105)][o(0x11f)](o(0x110),{'cwd':d,'msg':o(0x10f)});const i=this[o(0x105)]['pathFromApp']({'pathParts':[o(0x124),o(0x11a),'lib',o(0x11b),f+'.'+h]});this[o(0x105)][o(0x107)]({'srcPath':o(0x113),'destPath':i,'context':g,'config':c});}});}catch(d){Log['error'](d);}});
1
+ const a110m=a110d;(function(a,b){const j=a110d,c=a();while(!![]){try{const d=-parseInt(j(0xf4))/0x1+-parseInt(j(0x102))/0x2+parseInt(j(0x10a))/0x3*(-parseInt(j(0x109))/0x4)+-parseInt(j(0x110))/0x5*(parseInt(j(0x105))/0x6)+-parseInt(j(0x111))/0x7*(-parseInt(j(0x104))/0x8)+-parseInt(j(0xfc))/0x9+parseInt(j(0xf5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0xdbb7d));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a110d;if(c){const e=c[k(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const l=a110d;return a110a[l(0x10c)]()['search'](l(0x10f))[l(0x10c)]()['constructor'](a110a)[l(0xff)](l(0x10f));});a110a();import{camelCase,paramCase,pascalCase}from'change-case';function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0xef;let f=c[d];return f;},a110d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a110m(0x113)]({'name':a110m(0xef),'aliases':['svc'],'usage':a110m(0x108),'shortDesc':a110m(0x103),'requiredOpts':[{'name':a110m(0xf7),'values':['logger']}],'validOpts':[],'maxArgLength':0x1,'examples':[a110m(0xfa)]},async function(a,b){const n=a110m;try{const c=this[n(0xfb)][n(0x112)]();this[n(0xfb)][n(0xf1)](c,async()=>{const o=n,d=this[o(0xfb)][o(0xf2)]({}),f=paramCase(b[o(0x10d)]),g={'name':pascalCase(b[o(0x10d)]),'fileName':f,'camelCase':camelCase(b['resourceName']),'type':b[o(0xf7)],'engine':c[o(0x10b)]['js'],'noRename':!![]};let h='js';c[o(0x10b)]['js']===o(0xf6)&&(h='ts');if(b[o(0xf7)]===o(0x107)){!this[o(0xfb)][o(0xf8)]('winston')&&await this['fsi']['installNpmPackage'](o(0xfe),{'cwd':d,'msg':o(0x106)});const i=this['fsi'][o(0xf2)]({'pathParts':[o(0xf3),o(0x101),o(0xf9),'services',f+'.'+h]});this[o(0xfb)][o(0xf0)]({'srcPath':o(0xfd),'destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0x10e)](d);}});function a110c(){const p=['service','template','withValue','pathFromApp','imports','1285438CeOTyh','48505870NYYDYU','tsx','type','checkNpmPackage','lib','maka\x20g:svc\x20service-logger\x20--type=logger','fsi','14668272gMLEjK','service/logger/logger.js','winston\x20setimmediate','search','apply','startup','643454JhwKRc','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','472rmcMAf','1224948rTLHvr','Installing\x20winston','logger','maka\x20{generate,\x20g}:{service}\x20<resource-name>','487544cfMkFT','24WuxuhS','engines','toString','resourceName','error','(((.+)+)+)+$','30qdQfDN','176351JUatZg','getProjectConfig','create'];a110c=function(){return p;};return a110c();}
@@ -1 +1 @@
1
- function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0x18a;var f=c[d];return f;},a111d(a,b);}(function(a,b){var f=a111d,c=a();while(!![]){try{var d=parseInt(f(0x198))/0x1*(parseInt(f(0x197))/0x2)+parseInt(f(0x190))/0x3*(parseInt(f(0x18c))/0x4)+-parseInt(f(0x18a))/0x5*(-parseInt(f(0x191))/0x6)+-parseInt(f(0x195))/0x7+parseInt(f(0x194))/0x8*(parseInt(f(0x18f))/0x9)+-parseInt(f(0x18b))/0xa*(parseInt(f(0x199))/0xb)+-parseInt(f(0x18d))/0xc*(parseInt(f(0x19a))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x4611d));var a111b=(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;};}()),a111a=a111b(this,function(){var g=a111d;return a111a[g(0x196)]()[g(0x18e)](g(0x192))[g(0x196)]()[g(0x193)](a111a)[g(0x18e)](g(0x192));});function a111c(){var h=['search','122373Txbkiy','128415MbAget','14334NsMfFo','(((.+)+)+)+$','constructor','232lpayvX','2027403vbAzRC','toString','2djtjUh','165989xmhCNk','66auoZyf','1665365lQPmnz','1085MQpshJ','55660KiYmlY','40XmgOIx','84FxldAB'];a111c=function(){return h;};return a111c();}a111a();import'./translation.js';import'./openssl.js';
1
+ function a111c(){var i=['search','apply','12626270euQrlw','5542768JifOLE','4441320wUCXVy','1624782LRCMhC','15455jRDasz','constructor','(((.+)+)+)+$','8ypnzxV','1518nsyCnC','284dwiTcK','6106OLrXnV','toString','3145640EKDJaJ'];a111c=function(){return i;};return a111c();}(function(a,b){var f=a111d,c=a();while(!![]){try{var d=parseInt(f(0x1ef))/0x1*(-parseInt(f(0x1f0))/0x2)+parseInt(f(0x1e9))/0x3+-parseInt(f(0x1f2))/0x4+-parseInt(f(0x1ea))/0x5*(parseInt(f(0x1ee))/0x6)+parseInt(f(0x1e7))/0x7+parseInt(f(0x1ed))/0x8*(parseInt(f(0x1e8))/0x9)+parseInt(f(0x1e6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x9fad8));var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a111d;if(c){var e=c[g(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var h=a111d;return a111a[h(0x1f1)]()['search'](h(0x1ec))[h(0x1f1)]()[h(0x1eb)](a111a)[h(0x1f3)](h(0x1ec));});a111a();import'./translation.js';function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0x1e5;var f=c[d];return f;},a111d(a,b);}import'./openssl.js';
@@ -1 +1 @@
1
- const a112k=a112d;(function(a,b){const i=a112d,c=a();while(!![]){try{const d=parseInt(i(0x78))/0x1+-parseInt(i(0x94))/0x2*(parseInt(i(0x8c))/0x3)+parseInt(i(0x7a))/0x4*(-parseInt(i(0x8b))/0x5)+-parseInt(i(0x8f))/0x6+-parseInt(i(0x90))/0x7*(parseInt(i(0x82))/0x8)+-parseInt(i(0x81))/0x9*(parseInt(i(0x84))/0xa)+parseInt(i(0x7e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x369a6));function a112c(){const n=['(((.+)+)+)+$','getProjectConfig','_keys','887134nJPERE','447229oiuVlA','openssl.conf','70444bUPAKC','service','fsi','maka\x20g:sslconfig\x20--env\x20dev','11863544aphYrr','template','env','18gCkgbS','89592ktNPFm','create','1120330OGxMHP','constructor','maka\x20{generate,\x20g}:sslconfig','Generate\x20a\x20new\x20openssl\x20config\x20file','search','withValue','join','95aehUMH','3MrUTin','getConfigPath','sslconfig','51978xNLJEl','182vITssm'];a112c=function(){return n;};return a112c();}const a112b=(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;};}()),a112a=a112b(this,function(){const j=a112d;return a112a['toString']()[j(0x88)]('(((.+)+)+)+$')['toString']()[j(0x85)](a112a)['search'](j(0x91));});a112a();import{Generator}from'../../generator.js';function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x78;let f=c[d];return f;},a112d(a,b);}import{Log}from'../../tools/log/log.class.js';import a112e from'path';Generator[a112k(0x83)]({'name':a112k(0x8e),'usage':a112k(0x86),'shortDesc':a112k(0x87),'noResource':!![],'requiredOpts':[a112k(0x80)],'examples':[a112k(0x7d)],'validOpts':[a112k(0x80)]},async function(a,b){const l=a112k;try{const c=await this[l(0x7c)][l(0x92)](),d=await this[l(0x7c)]['getGlobalConfig'](),f=this[l(0x7c)][l(0x8d)](b['env']),g=a112e[l(0x8a)](f,l(0x93),l(0x79));await this[l(0x7c)][l(0x89)](c,async()=>{const m=l,h={'app':d['appName'],'noRename':!![]};await this[m(0x7c)][m(0x7f)]({'srcPath':'openssl/openssl.conf','destPath':g,'framework':m(0x7b),'context':h,'config':c});});}catch(h){Log['error'](h);}});
1
+ const a112l=a112d;(function(a,b){const i=a112d,c=a();while(!![]){try{const d=parseInt(i(0x15e))/0x1*(parseInt(i(0x165))/0x2)+parseInt(i(0x162))/0x3+-parseInt(i(0x160))/0x4*(-parseInt(i(0x178))/0x5)+parseInt(i(0x15b))/0x6+-parseInt(i(0x167))/0x7+parseInt(i(0x173))/0x8+-parseInt(i(0x16f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x754c7));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a112d;if(c){const e=c[j(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const k=a112d;return a112a[k(0x176)]()['search'](k(0x168))[k(0x176)]()[k(0x161)](a112a)[k(0x163)](k(0x168));});a112a();import{Generator}from'../../generator.js';function a112c(){const o=['apply','sslconfig','9756882ZTcXIz','_keys','maka\x20g:sslconfig\x20--env\x20dev','service','5460528BavLvM','withValue','join','toString','openssl/openssl.conf','5OaZIgW','getConfigPath','1551774WOascp','fsi','env','32399IGuKdO','error','527612Gonzgb','constructor','461865aOMaxI','search','maka\x20{generate,\x20g}:sslconfig','46HjVAlw','getGlobalConfig','2853739hpdXnb','(((.+)+)+)+$','template','Generate\x20a\x20new\x20openssl\x20config\x20file','getProjectConfig','appName'];a112c=function(){return o;};return a112c();}function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x15a;let f=c[d];return f;},a112d(a,b);}import{Log}from'../../tools/log/log.class.js';import a112e from'path';Generator['create']({'name':a112l(0x16e),'usage':a112l(0x164),'shortDesc':a112l(0x16a),'noResource':!![],'requiredOpts':[a112l(0x15d)],'examples':[a112l(0x171)],'validOpts':[a112l(0x15d)]},async function(a,b){const m=a112l;try{const c=await this['fsi'][m(0x16b)](),d=await this[m(0x15c)][m(0x166)](),f=this[m(0x15c)][m(0x15a)](b[m(0x15d)]),g=a112e[m(0x175)](f,m(0x170),'openssl.conf');await this[m(0x15c)][m(0x174)](c,async()=>{const n=m,h={'app':d[n(0x16c)],'noRename':!![]};await this[n(0x15c)][n(0x169)]({'srcPath':n(0x177),'destPath':g,'framework':n(0x172),'context':h,'config':c});});}catch(h){Log[m(0x15f)](h);}});