@maka/maka-cli 4.2.29 → 4.2.30

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 (96) hide show
  1. package/dist/command.js +1 -1
  2. package/dist/commands/_index.js +1 -1
  3. package/dist/commands/aws/_index.js +1 -1
  4. package/dist/commands/aws/aws.command.js +1 -1
  5. package/dist/commands/aws/ci.sub.cmd.js +1 -1
  6. package/dist/commands/aws/ckp.sub.cmd.js +1 -1
  7. package/dist/commands/aws/csg.sub.cmd.js +1 -1
  8. package/dist/commands/aws/di.sub.cmd.js +1 -1
  9. package/dist/commands/aws/dkp.sub.cmd.js +1 -1
  10. package/dist/commands/aws/dsg.sub.cmd.js +1 -1
  11. package/dist/commands/aws/rbi.sub.cmd.js +1 -1
  12. package/dist/commands/aws/rkp.sub.cmd.js +1 -1
  13. package/dist/commands/aws/sth.sub.cmd.js +1 -1
  14. package/dist/commands/aws/ti.sub.cmd.js +1 -1
  15. package/dist/commands/build/_index.js +1 -1
  16. package/dist/commands/build/build.js +1 -1
  17. package/dist/commands/build/docker.sub.cmd.js +1 -1
  18. package/dist/commands/create.js +1 -1
  19. package/dist/commands/debug.js +1 -1
  20. package/dist/commands/deploy.js +1 -1
  21. package/dist/commands/game/_index.js +1 -1
  22. package/dist/commands/game/battleship.sub.cmd.js +1 -1
  23. package/dist/commands/game/play.command.js +1 -1
  24. package/dist/commands/game/pong.sub.cmd.js +1 -1
  25. package/dist/commands/game/snake.sub.cmd.js +1 -1
  26. package/dist/commands/game/tetris.sub.cmd.js +1 -1
  27. package/dist/commands/generate.js +1 -1
  28. package/dist/commands/get/_index.js +1 -1
  29. package/dist/commands/get/get.command.js +1 -1
  30. package/dist/commands/get/global.sub.cmd.js +1 -1
  31. package/dist/commands/get/local.sub.cmd.js +1 -1
  32. package/dist/commands/get/whoami.sub.cmd.js +1 -1
  33. package/dist/commands/help.js +1 -1
  34. package/dist/commands/install.js +1 -1
  35. package/dist/commands/jsdoc.js +1 -1
  36. package/dist/commands/login.js +1 -1
  37. package/dist/commands/logout.js +1 -1
  38. package/dist/commands/logs.js +1 -1
  39. package/dist/commands/maka.cmd.js +1 -1
  40. package/dist/commands/murder.js +1 -1
  41. package/dist/commands/proxy.js +1 -1
  42. package/dist/commands/reconfig.js +1 -1
  43. package/dist/commands/run/_index.js +1 -1
  44. package/dist/commands/run/docker.sub.cmd.js +1 -1
  45. package/dist/commands/run/run.command.js +1 -1
  46. package/dist/commands/set/_index.js +1 -1
  47. package/dist/commands/set/global.sub.cmd.js +1 -1
  48. package/dist/commands/set/local.sub.cmd.js +1 -1
  49. package/dist/commands/set/set.command.js +1 -1
  50. package/dist/commands/ssh.js +1 -1
  51. package/dist/commands/ssl.js +1 -1
  52. package/dist/commands/test.js +1 -1
  53. package/dist/commands/version.js +1 -1
  54. package/dist/error.js +1 -1
  55. package/dist/generator.js +1 -1
  56. package/dist/generators/_index.js +1 -1
  57. package/dist/generators/api.js +1 -1
  58. package/dist/generators/collection.js +1 -1
  59. package/dist/generators/component.js +1 -1
  60. package/dist/generators/config.js +1 -1
  61. package/dist/generators/dbc.js +1 -1
  62. package/dist/generators/dockerfile.js +1 -1
  63. package/dist/generators/hook.js +1 -1
  64. package/dist/generators/kit.js +1 -1
  65. package/dist/generators/layout.js +1 -1
  66. package/dist/generators/maka.gen.js +1 -1
  67. package/dist/generators/methods.js +1 -1
  68. package/dist/generators/package.js +1 -1
  69. package/dist/generators/page.js +1 -1
  70. package/dist/generators/publish.js +1 -1
  71. package/dist/generators/route.js +1 -1
  72. package/dist/generators/scaffold.js +1 -1
  73. package/dist/generators/service.js +1 -1
  74. package/dist/generators/services/_index.js +1 -1
  75. package/dist/generators/services/openssl.js +1 -1
  76. package/dist/generators/services/translation.js +1 -1
  77. package/dist/maka.js +1 -1
  78. package/dist/tool.js +1 -1
  79. package/dist/tools/actions/actions.class.js +1 -1
  80. package/dist/tools/actions/actions.test.js +1 -1
  81. package/dist/tools/aws/aws.class.js +1 -1
  82. package/dist/tools/aws/aws.interfaces.js +1 -1
  83. package/dist/tools/docker/docker.class.js +1 -1
  84. package/dist/tools/docker/docker.interfaces.js +1 -1
  85. package/dist/tools/fsi/fsi.class.js +1 -1
  86. package/dist/tools/fsi/fsi.interfaces.js +1 -1
  87. package/dist/tools/https/https.class.js +1 -1
  88. package/dist/tools/https/https.interface.js +1 -1
  89. package/dist/tools/log/log.class.js +1 -1
  90. package/dist/tools/log/log.interfaces.js +1 -1
  91. package/dist/tools/spawn-async/spawn-async.class.js +1 -1
  92. package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
  93. package/dist/tools/ssh/ssh.class.js +1 -1
  94. package/dist/tools/ssh/ssh.interfaces.js +1 -1
  95. package/dist/tools/ssl/ssl.class.js +1 -1
  96. package/package.json +1 -1
@@ -1 +1 @@
1
- const a67az=a67d;(function(a,b){const aw=a67d,c=a();while(!![]){try{const d=parseInt(aw(0x1e1))/0x1+-parseInt(aw(0x1d9))/0x2+-parseInt(aw(0x1d3))/0x3+parseInt(aw(0x1e0))/0x4*(parseInt(aw(0x1d1))/0x5)+parseInt(aw(0x1c5))/0x6*(-parseInt(aw(0x1c1))/0x7)+parseInt(aw(0x1cc))/0x8+-parseInt(aw(0x1d0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0x3c643));const a67b=(function(){let a=!![];return function(b,c){const d=a?function(){const ax=a67d;if(ax(0x1ea)===ax(0x1ea)){if(c){if(ax(0x1f3)!==ax(0x1d2)){const e=c['apply'](b,arguments);return c=null,e;}else c(d);}}else h[ax(0x1e5)]?i(j[ax(0x1cb)]):k(l[ax(0x1cb)])[ax(0x1ed)](m,n);}:function(){};return a=![],d;};}()),a67a=a67b(this,function(){const ay=a67d;return a67a[ay(0x1e8)]()['search']('(((.+)+)+)+$')['toString']()[ay(0x1d5)](a67a)[ay(0x1e2)]('(((.+)+)+)+$');});a67a();var __awaiter=this&&this[a67az(0x1da)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const aE=a67d;function h(k){const aA=a67d;try{j(d[aA(0x1cf)](k));}catch(l){if('yJDZA'===aA(0x1c3)){const n=g?function(){const aB=aA;if(n){const u=q[aB(0x1c7)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else g(l);}}function i(k){const aC=a67d;try{j(d[aC(0x1f2)](k));}catch(l){g(l);}}function j(k){const aD=a67d;k[aD(0x1e5)]?f(k[aD(0x1cb)]):e(k[aD(0x1cb)])[aD(0x1ed)](h,i);}j((d=d['apply'](a,b||[]))[aE(0x1cf)]());});};import a67av from'path';function a67d(a,b){const c=a67c();return a67d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a67d(a,b);}function a67c(){const aI=['value','261640QeunFy','noRename','packages','next','1013850jKADGV','2103025LvdLzA','UxlRk','549570USsGZz','tests/client','constructor','graphql','/client/','component','429062VMsPWC','__awaiter','fsi','lib','package','template','package/','4BEXtJP','435057XkxaoV','search','withValue','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','done','pathFromProject','getProjectConfig','toString','server','luoPp','.js','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','then','layout','theme','package.js','hasOwnProperty','throw','nAkGN','7VkNtnB','store','JZyim','maka\x20g:package\x20todos:package','783798JoaGqm','resourceName','apply','dir','client','engines'];a67c=function(){return aI;};return a67c();}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a67az(0x1dd),'aliases':['p'],'usage':a67az(0x1ec),'description':a67az(0x1e4),'examples':[a67az(0x1c4)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const aF=a67d,c=paramCase(b['resourceName']),d=this[aF(0x1db)]['pathFromApp']({'pathParts':[aF(0x1ce),b[aF(0x1c8)],c]}),e=this[aF(0x1db)]['pathFromAppWithNoReWrite']({'pathParts':[aF(0x1ce),b['dir'],c,aF(0x1f0)]}),f=this[aF(0x1db)][aF(0x1e7)]();this[aF(0x1db)][aF(0x1e3)](f,()=>__awaiter(this,void 0x0,void 0x0,function*(){const aG=aF,g={'name':paramCase(b[aG(0x1c6)]),'myPath':a67av['relative'](this[aG(0x1db)][aG(0x1e6)]({}),d),'cssCaseName':paramCase(b[aG(0x1c6)]),'className':pascalCase(b[aG(0x1c6)]),'camelCaseName':camelCase(b[aG(0x1c6)]),'fileName':c,'client':f[aG(0x1ca)][aG(0x1c9)],'graphql':f['engines'][aG(0x1d6)],'ssr':f[aG(0x1ca)]['ssr'],'isComponent':b['hasOwnProperty'](aG(0x1d8)),'isLayout':b['hasOwnProperty'](aG(0x1ee)),'isStore':b[aG(0x1f1)](aG(0x1c2)),'features':f['features'],'noRename':!![],'theme':f[aG(0x1ca)][aG(0x1ef)]};this['fsi']['template']({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[aG(0x1cd)]=![];const h=d+aG(0x1d7)+c+aG(0x1eb);this[aG(0x1db)][aG(0x1de)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[aG(0x1dc),aG(0x1e9),aG(0x1d4),'tests/server'];i['forEach'](j=>{const aH=aG,k=d+'/'+j+'/'+c+aH(0x1eb);this[aH(0x1db)]['template']({'srcPath':aH(0x1df)+j+'/package.js','destPath':k,'context':g,'config':f});});}));});});
1
+ const a67aE=a67d;function a67d(a,b){const c=a67c();return a67d=function(d,e){d=d-0xec;let f=c[d];return f;},a67d(a,b);}(function(a,b){const ay=a67d,c=a();while(!![]){try{const d=-parseInt(ay(0x11b))/0x1*(-parseInt(ay(0x116))/0x2)+parseInt(ay(0x114))/0x3*(-parseInt(ay(0xed))/0x4)+-parseInt(ay(0x12b))/0x5*(-parseInt(ay(0x10f))/0x6)+-parseInt(ay(0x10d))/0x7+-parseInt(ay(0x124))/0x8*(-parseInt(ay(0xf8))/0x9)+-parseInt(ay(0xfe))/0xa+-parseInt(ay(0x11c))/0xb*(parseInt(ay(0xf2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0x753db));const a67b=(function(){let a=!![];return function(b,c){const d=a?function(){const az=a67d;if(az(0x113)!==az(0x113))return s(this,void 0x0,void 0x0,function*(){const aA=az,a5=K(L[aA(0xfb)]),a6=this[aA(0x118)][aA(0xf3)]({'pathParts':['packages',M[aA(0x122)],a5]}),a7=this[aA(0x118)][aA(0x119)]({'pathParts':[aA(0x11f),N[aA(0x122)],a5,'package.js']}),a8=this[aA(0x118)][aA(0xfa)]();this[aA(0x118)]['withValue'](a8,()=>a5(this,void 0x0,void 0x0,function*(){const aB=aA,at={'name':ae(af['resourceName']),'myPath':ag[aB(0x12d)](this['fsi'][aB(0x104)]({}),a6),'cssCaseName':ah(ai[aB(0xfb)]),'className':aj(ak[aB(0xfb)]),'camelCaseName':al(am[aB(0xfb)]),'fileName':a5,'client':a8[aB(0xf4)]['client'],'graphql':a8[aB(0xf4)][aB(0x110)],'ssr':a8['engines'][aB(0x125)],'isComponent':an[aB(0x111)](aB(0x11d)),'isLayout':ao[aB(0x111)](aB(0xf9)),'isStore':ap[aB(0x111)](aB(0x107)),'features':a8[aB(0xf6)],'noRename':!![],'theme':a8[aB(0xf4)][aB(0x127)]};this[aB(0x118)][aB(0x120)]({'srcPath':aB(0x11e),'destPath':a7,'context':at,'config':a8}),at[aB(0xef)]=![];const au=a6+'/client/'+a5+aB(0x128);this[aB(0x118)]['template']({'srcPath':aB(0x112),'destPath':au,'context':at,'config':a8});const av=[aB(0xf7),aB(0x123),aB(0xfc),aB(0x11a)];av[aB(0xf1)](aw=>{const aC=aB,ax=a6+'/'+aw+'/'+a5+aC(0x128);this['fsi']['template']({'srcPath':'package/'+aw+aC(0x10e),'destPath':ax,'context':at,'config':a8});});}));});else{if(c){const f=c[az(0x100)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a67a=a67b(this,function(){const aD=a67d;return a67a[aD(0x115)]()[aD(0xec)](aD(0x10a))[aD(0x115)]()['constructor'](a67a)[aD(0xec)](aD(0x10a));});a67a();var __awaiter=this&&this[a67aE(0x121)]||function(a,b,c,d){function e(f){if('VeEei'!=='VeEei'){if(e){const h=i['apply'](j,arguments);return k=null,h;}}else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const aK=a67d;function h(k){const aF=a67d;if('xhqMN'!==aF(0x129))try{j(d['next'](k));}catch(l){if('uLjWk'!==aF(0xfd)){const n=r(s[aF(0xfb)]),o=this[aF(0x118)][aF(0xf3)]({'pathParts':[aF(0x11f),t['dir'],n]}),p=this[aF(0x118)][aF(0x119)]({'pathParts':[aF(0x11f),u[aF(0x122)],n,aF(0xff)]}),q=this[aF(0x118)]['getProjectConfig']();this[aF(0x118)][aF(0x12c)](q,()=>n(this,void 0x0,void 0x0,function*(){const aG=aF,aa={'name':V(W[aG(0xfb)]),'myPath':X[aG(0x12d)](this[aG(0x118)][aG(0x104)]({}),o),'cssCaseName':Y(Z[aG(0xfb)]),'className':a0(a1[aG(0xfb)]),'camelCaseName':a2(a3[aG(0xfb)]),'fileName':n,'client':q[aG(0xf4)]['client'],'graphql':q[aG(0xf4)]['graphql'],'ssr':q[aG(0xf4)][aG(0x125)],'isComponent':a4[aG(0x111)](aG(0x11d)),'isLayout':a5['hasOwnProperty'](aG(0xf9)),'isStore':a6['hasOwnProperty'](aG(0x107)),'features':q[aG(0xf6)],'noRename':!![],'theme':q[aG(0xf4)]['theme']};this['fsi'][aG(0x120)]({'srcPath':aG(0x11e),'destPath':p,'context':aa,'config':q}),aa[aG(0xef)]=![];const ab=o+aG(0xf0)+n+aG(0x128);this['fsi']['template']({'srcPath':aG(0x112),'destPath':ab,'context':aa,'config':q});const ac=[aG(0xf7),aG(0x123),'tests/client','tests/server'];ac['forEach'](ad=>{const aH=aG,ae=o+'/'+ad+'/'+n+aH(0x128);this[aH(0x118)][aH(0x120)]({'srcPath':'package/'+ad+'/package.js','destPath':ae,'context':aa,'config':q});});}));}else g(l);}else c(d);}function i(k){const aI=a67d;if(aI(0x109)!==aI(0x109))c(d);else try{j(d[aI(0x108)](k));}catch(m){if(aI(0xf5)!==aI(0x106))g(m);else try{i(j[aI(0x10b)](k));}catch(o){m(o);}}}function j(k){const aJ=a67d;k[aJ(0x10c)]?f(k['value']):e(k[aJ(0x102)])[aJ(0xee)](h,i);}j((d=d[aK(0x100)](a,b||[]))[aK(0x10b)]());});};import a67av from'path';function a67c(){const aO=['PkUkj','package/','15eGkVWR','withValue','relative','search','163052FBLVWE','then','noRename','/client/','forEach','106644FioWEo','pathFromApp','engines','xoPeX','features','lib','9ghmmHQ','layout','getProjectConfig','resourceName','tests/client','uLjWk','2202590Bhcqgi','package.js','apply','create','value','wvolx','pathFromProject','package','pwWsy','store','throw','oXNNM','(((.+)+)+)+$','next','done','5249839AXFmlM','/package.js','1312902TobFZn','graphql','hasOwnProperty','template/template.js','igqMA','15oLvZPj','toString','674kRxHHz','constructor','fsi','pathFromAppWithNoReWrite','tests/server','1928GXbSmm','143akfUDb','component','package/package.js','packages','template','__awaiter','dir','server','3708912JYapoH','ssr','maka\x20g:package\x20todos:package','theme','.js'];a67c=function(){return aO;};return a67c();}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a67aE(0x101)]({'name':a67aE(0x105),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','description':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','examples':[a67aE(0x126)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const aL=a67d,c=paramCase(b[aL(0xfb)]),d=this[aL(0x118)][aL(0xf3)]({'pathParts':[aL(0x11f),b[aL(0x122)],c]}),e=this[aL(0x118)][aL(0x119)]({'pathParts':['packages',b[aL(0x122)],c,aL(0xff)]}),f=this[aL(0x118)][aL(0xfa)]();this[aL(0x118)][aL(0x12c)](f,()=>__awaiter(this,void 0x0,void 0x0,function*(){const aM=aL;if(aM(0x103)==='XKToy')return c[aM(0x115)]()[aM(0xec)]('(((.+)+)+)+$')['toString']()[aM(0x117)](d)[aM(0xec)](aM(0x10a));else{const h={'name':paramCase(b[aM(0xfb)]),'myPath':a67av[aM(0x12d)](this[aM(0x118)][aM(0x104)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[aM(0xfb)]),'camelCaseName':camelCase(b[aM(0xfb)]),'fileName':c,'client':f[aM(0xf4)]['client'],'graphql':f['engines'][aM(0x110)],'ssr':f[aM(0xf4)]['ssr'],'isComponent':b[aM(0x111)]('component'),'isLayout':b[aM(0x111)]('layout'),'isStore':b[aM(0x111)](aM(0x107)),'features':f[aM(0xf6)],'noRename':!![],'theme':f[aM(0xf4)][aM(0x127)]};this[aM(0x118)][aM(0x120)]({'srcPath':aM(0x11e),'destPath':e,'context':h,'config':f}),h[aM(0xef)]=![];const i=d+aM(0xf0)+c+'.js';this['fsi']['template']({'srcPath':'template/template.js','destPath':i,'context':h,'config':f});const j=[aM(0xf7),aM(0x123),'tests/client',aM(0x11a)];j[aM(0xf1)](k=>{const aN=aM,l=d+'/'+k+'/'+c+'.js';this['fsi']['template']({'srcPath':aN(0x12a)+k+'/package.js','destPath':l,'context':h,'config':f});});}}));});});
@@ -1 +1 @@
1
- const a68N=a68d;(function(a,b){const J=a68d,c=a();while(!![]){try{const d=parseInt(J(0x1ac))/0x1*(parseInt(J(0x1bc))/0x2)+parseInt(J(0x1cd))/0x3+-parseInt(J(0x18d))/0x4*(-parseInt(J(0x1d5))/0x5)+-parseInt(J(0x1be))/0x6*(-parseInt(J(0x1ba))/0x7)+parseInt(J(0x1ca))/0x8+parseInt(J(0x1da))/0x9*(parseInt(J(0x19c))/0xa)+parseInt(J(0x184))/0xb*(-parseInt(J(0x181))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0x36c4a));const a68b=(function(){let a=!![];return function(b,c){const K=a68d;if('uGrun'===K(0x18b))return c[K(0x1d2)]()[K(0x191)](K(0x1c0))['toString']()[K(0x18a)](d)[K(0x191)](K(0x1c0));else{const e=a?function(){const L=K;if(c){const f=c[L(0x1bf)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a68a=a68b(this,function(){const M=a68d;return a68a[M(0x1d2)]()[M(0x191)](M(0x1c0))[M(0x1d2)]()[M(0x18a)](a68a)['search'](M(0x1c0));});function a68d(a,b){const c=a68c();return a68d=function(d,e){d=d-0x17d;let f=c[d];return f;},a68d(a,b);}a68a();import a68I from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a68c(){const Q=['IwOVK','engines','withValue','ScfaH','import\x20\x27./','css','test/test.js','startup','create','2122584GhxTsy','onIqx','assign','844386MDYEVa','relative','/imports/ui/pages','client','LpoPs','toString','export\x20{\x20','imports','19365PYsCLQ','hook/hook.js','injectAtBeginningOfFile','emIMf','eMZHs','1062EwUrwQ','setTemplate','import\x20\x27','injectAtEndOfFile','true','10692276oGpXvR','template','fsi','11FiVFFi','template/template.css','GHtGz','test','lib','hasOwnProperty','constructor','iRhGE','GKZkI','92cmyrSj','ramda','.css','import\x20{\x20','search','string','Generate\x20a\x20page.','eCMSn','api','component/component.js','warn','withTranslations','root','rewriteDestinationPathForEngine','\x27;\x0a','15400BbpWSK','AYArQ','pathFromApp','fileName','pathFromProject','withHooks','tsx','layout','className','yPkIU','ZXXYH','theme','.app-tests.js','templates.js','dkzwh','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','2383vcueDc','RmEFU','cryOy','gZHmc','.js','html','dir','nyGpa','getProjectConfig','vanilla','features','store','react','graphql','288890OuTHQN','\x20}\x20from\x20\x27','146xFCdES','resourceName','18gNFjpU','apply','(((.+)+)+)+$'];a68c=function(){return Q;};return a68c();}const aliases=['p'];Generator[a68N(0x1c9)]({'name':'page','aliases':aliases,'usage':a68N(0x1ab),'description':a68N(0x193),'examples':['maka\x20g:page\x20todos/todos-item']},function(a,b){const O=a68N;let c=O(0x1cf);const d=this['fsi'][O(0x19e)](b),e=this[O(0x183)][O(0x19e)]({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),f=this['fsi'][O(0x1b4)]();this[O(0x183)][O(0x1c3)](f,()=>{const P=O;if('MquJq'==='MquJq'){var g;typeof f['template'][P(0x1b1)]===P(0x192)&&(f['template'][P(0x1b1)]=f[P(0x182)]['html']===P(0x180)?!![]:![],this['fsi']['setTemplate'](P(0x1b1),f[P(0x182)]['html']));typeof f[P(0x182)][P(0x187)]===P(0x192)&&(f[P(0x182)][P(0x187)]=f['template'][P(0x187)]===P(0x180)?!![]:![],this[P(0x183)][P(0x17d)](P(0x187),f[P(0x182)][P(0x187)]));typeof f[P(0x182)][P(0x1c6)]==='string'&&(P(0x1b3)==='oqtqp'?this[P(0x183)][P(0x182)]({'srcPath':'template/template.css','destPath':g+'.css','context':h[P(0x1cc)]({},i,{'className':j(k['resourceName'])}),'config':l}):(f[P(0x182)][P(0x1c6)]=f[P(0x182)][P(0x1c6)]===P(0x180)?!![]:![],this[P(0x183)][P(0x17d)](P(0x1c6),f[P(0x182)][P(0x1c6)])));typeof f[P(0x182)]['js']===P(0x192)&&(f[P(0x182)]['js']=f[P(0x182)]['js']==='true'?!![]:![],this[P(0x183)][P(0x17d)]('js',f[P(0x182)]['js']));if(!f[P(0x1b6)]){if(P(0x1c4)!==P(0x1d8))f[P(0x1b6)]={};else{const n=this[P(0x183)][P(0x19e)]({'pathParts':[P(0x1d4),'startup',P(0x1d0),P(0x1a9)]});c=this[P(0x183)]['rewriteDestinationPathForEngine']({'pathParts':[n],'config':d});}}!b[P(0x199)]&&!this[P(0x183)]['checkNpmPackage']('ramda')&&(Log[P(0x197)]('Updating\x20npm\x20packages\x20...'),this[P(0x183)]['installNpmPackage'](P(0x18e),{'cwd':d}));const h={'name':pascalCase(b[P(0x1bd)]),'myPath':a68I[P(0x1ce)](this['fsi'][P(0x1a0)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[P(0x1bd)]),'camelCaseName':camelCase(b[P(0x1bd)]),'fileName':paramCase(b['resourceName']),'graphql':f[P(0x1c2)][P(0x1b9)],'features':f[P(0x1b6)],'client':f[P(0x1c2)][P(0x1d0)],'api':f[P(0x1c2)][P(0x195)],'ssr':f[P(0x1c2)]['ssr'],'isStore':b[P(0x189)](P(0x1b7)),'isComponent':b[P(0x189)]('component'),'isLayout':b['hasOwnProperty'](P(0x1a3)),'withTranslations':f[P(0x1b6)][P(0x198)],'test':f['engines'][P(0x187)],'theme':f[P(0x1c2)][P(0x1a7)]};f[P(0x182)][P(0x1b1)]&&(P(0x1d1)===P(0x1c1)?this[P(0x183)][P(0x1d7)]({'filePath':g+'.'+h['engines']['js'],'content':P(0x1c5)+i[P(0x19f)]+'.'+j[P(0x1c2)][P(0x1b1)]+P(0x19b)+'import\x20\x27./'+k[P(0x19f)]+'.'+l[P(0x1c2)]['css']+'\x27;'}):this[P(0x183)][P(0x182)]({'srcPath':'template/template.html','destPath':e+'.html','context':h,'config':f}));((g=f['features'])===null||g===void 0x0?void 0x0:g[P(0x1a1)])||b['withHook']?P(0x1aa)===P(0x1ae)?this[P(0x183)][P(0x17f)]({'filePath':d,'content':P(0x17e)+e+'.'+f[P(0x1c2)]['js']+P(0x19b)}):this[P(0x183)]['template']({'srcPath':P(0x1d6),'destPath':e+P(0x1b0),'framework':'react','context':h,'config':f}):P(0x1ad)!==P(0x1ad)?(d['template']['js']=e[P(0x182)]['js']===P(0x180)?!![]:![],this['fsi']['setTemplate']('js',f[P(0x182)]['js'])):this[P(0x183)]['template']({'srcPath':P(0x196),'destPath':e+P(0x1b0),'framework':'react','context':h,'config':f});f['engines'][P(0x187)]!=='none'&&(P(0x19d)!=='KVMso'?this[P(0x183)][P(0x182)]({'srcPath':P(0x1c7),'destPath':e+P(0x1a8),'framework':P(0x1b8),'context':h,'config':f}):this[P(0x183)]['template']({'srcPath':P(0x1c7),'destPath':d+P(0x1a8),'framework':P(0x1b8),'context':e,'config':f}));if(f[P(0x182)][P(0x1c6)]){if('GHtGz'===P(0x186))this['fsi'][P(0x182)]({'srcPath':P(0x185),'destPath':e+P(0x18f),'context':Object[P(0x1cc)]({},h,{'className':paramCase(b['resourceName'])}),'config':f});else{const s=d[P(0x1bf)](e,arguments);return f=null,s;}}f['engines'][P(0x1d0)]!==P(0x1b8)&&f[P(0x1c2)][P(0x1d0)]!==P(0x1b5)?(f['template'][P(0x1c6)]&&this[P(0x183)][P(0x1d7)]({'filePath':e+'.'+f[P(0x1c2)]['js'],'content':P(0x1c5)+h['fileName']+'.'+f[P(0x1c2)][P(0x1b1)]+P(0x19b)+'import\x20\x27./'+h[P(0x19f)]+'.'+f[P(0x1c2)]['css']+'\x27;'}),!f[P(0x182)][P(0x1c6)]&&(P(0x18c)===P(0x194)?(d[P(0x182)][P(0x187)]=e[P(0x182)]['test']===P(0x180)?!![]:![],this[P(0x183)]['setTemplate'](P(0x187),f[P(0x182)][P(0x187)])):this[P(0x183)][P(0x1d7)]({'filePath':e+'.'+f['engines']['js'],'content':P(0x1c5)+h['fileName']+'.'+f[P(0x1c2)][P(0x1b1)]+'\x27;'}))):P(0x1a6)===P(0x1af)?f['template']['css']&&this['fsi'][P(0x1d7)]({'filePath':k+'.'+l['engines']['js'],'content':'import\x20\x27./'+m[P(0x19f)]+'.'+n[P(0x1c2)]['css']+'\x27;'}):f[P(0x182)][P(0x1c6)]&&this[P(0x183)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[P(0x1c2)]['js'],'content':P(0x1c5)+h[P(0x19f)]+'.'+f['engines'][P(0x1c6)]+'\x27;'});const i=b[P(0x1b2)]?'/'+b[P(0x1b2)]+'/':'/',j=''+c+i+h[P(0x19f)]+'/'+h['fileName'];let k;if(f[P(0x1c2)]['ssr']==='true'){if(P(0x1a5)!=='qkcux'){const u=this[P(0x183)]['pathFromApp']({'pathParts':[P(0x1d4),'startup',P(0x188),P(0x1a9)]});k=this[P(0x183)][P(0x19a)]({'pathParts':[u],'config':f});}else m[P(0x182)][P(0x1c6)]&&this[P(0x183)][P(0x1d7)]({'filePath':y+'.'+z[P(0x1c2)]['js'],'content':P(0x1c5)+A['fileName']+'.'+B[P(0x1c2)]['html']+P(0x19b)+P(0x1c5)+C['fileName']+'.'+D[P(0x1c2)][P(0x1c6)]+'\x27;'}),!t[P(0x182)][P(0x1c6)]&&this[P(0x183)][P(0x1d7)]({'filePath':E+'.'+F[P(0x1c2)]['js'],'content':P(0x1c5)+G[P(0x19f)]+'.'+H[P(0x1c2)]['html']+'\x27;'});}else{const w=this[P(0x183)][P(0x19e)]({'pathParts':[P(0x1d4),P(0x1c8),P(0x1d0),P(0x1a9)]});k=this[P(0x183)]['rewriteDestinationPathForEngine']({'pathParts':[w],'config':f});}f[P(0x1c2)][P(0x1d0)]===P(0x1b8)?(f['engines']['js']===P(0x1a2)?P(0x1d9)!==P(0x1cb)?this[P(0x183)]['injectAtBeginningOfFile']({'filePath':k,'content':P(0x190)+h[P(0x1a4)]+P(0x1bb)+j+P(0x19b)}):(d['template'][P(0x1b1)]=e[P(0x182)][P(0x1b1)]===P(0x180)?!![]:![],this['fsi'][P(0x17d)]('html',f['template'][P(0x1b1)])):this[P(0x183)]['injectAtBeginningOfFile']({'filePath':k,'content':P(0x190)+h[P(0x1a4)]+'\x20}\x20from\x20\x27'+j+'.'+f['engines']['js']+'\x27;\x0a'}),this[P(0x183)][P(0x17f)]({'filePath':k,'content':P(0x1d3)+h['className']+'\x20};\x0a'})):this['fsi'][P(0x17f)]({'filePath':k,'content':'import\x20\x27'+j+'.'+f['engines']['js']+'\x27;\x0a'});}else d[P(0x182)]['css']=e[P(0x182)][P(0x1c6)]===P(0x180)?!![]:![],this[P(0x183)]['setTemplate']('css',f['template'][P(0x1c6)]);});});
1
+ const a68M=a68d;(function(a,b){const J=a68d,c=a();while(!![]){try{const d=parseInt(J(0xa0))/0x1+-parseInt(J(0x83))/0x2+-parseInt(J(0x76))/0x3+-parseInt(J(0x96))/0x4*(-parseInt(J(0x81))/0x5)+-parseInt(J(0x8f))/0x6*(-parseInt(J(0x91))/0x7)+parseInt(J(0x7f))/0x8+parseInt(J(0xbf))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0x60189));function a68d(a,b){const c=a68c();return a68d=function(d,e){d=d-0x70;let f=c[d];return f;},a68d(a,b);}function a68c(){const P=['hasOwnProperty','import\x20{\x20','css','tsx','template/template.css','.js','310824BplLLu','YjMCj','14LViaVa','startup','VjvRY','fileName','checkNpmPackage','1384gXHXxV','.html','TGSSC','warn','\x27;\x0a','withHook','/imports/ui/pages','lgcfz','VTZFF','withHooks','428082iIAGke','\x20}\x20from\x20\x27','vanilla','graphql','search','hook/hook.js','fAsSH','test/test.js','engines','maka\x20g:page\x20todos/todos-item','withValue','glaqZ','iEUGq','hMmLQ','getProjectConfig','page','Generate\x20a\x20page.','bQaEv','react','imports','html','import\x20\x27./','injectAtBeginningOfFile','ramda','test','resourceName','theme','lib','templates.js','template','ixORf','2512665DGQAql','client','imTGX','ZWdNc','(((.+)+)+)+$','import\x20\x27','setTemplate','pathFromProject','className','Updating\x20npm\x20packages\x20...','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','pathFromApp','apply','true','withTranslations','injectAtEndOfFile','toString','export\x20{\x20','CmBCH','\x20};\x0a','.css','2159538CEMJTN','api','constructor','fsi','assign','features','component/component.js','rewriteDestinationPathForEngine','store','561832qUxGsz','dir','6815opKRqf','LXxtQ','478494xUGbME','string','ssr','relative','none','.app-tests.js'];a68c=function(){return P;};return a68c();}const a68b=(function(){let a=!![];return function(b,c){const d=a?function(){const K=a68d;if(c){if(K(0x73)===K(0x73)){const e=c[K(0xcb)](b,arguments);return c=null,e;}else d[K(0xbd)]['js']=e[K(0xbd)]['js']===K(0xcc)?!![]:![],this[K(0x79)][K(0xc5)]('js',f[K(0xbd)]['js']);}}:function(){};return a=![],d;};}()),a68a=a68b(this,function(){const L=a68d;return a68a[L(0x71)]()[L(0xa4)](L(0xc3))['toString']()[L(0x78)](a68a)['search'](L(0xc3));});a68a();import a68I from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a68M(0xaf),'aliases':aliases,'usage':a68M(0xc9),'description':a68M(0xb0),'examples':[a68M(0xa9)]},function(a,b){const N=a68M;let c=N(0x9c);const d=this['fsi']['pathFromApp'](b),e=this[N(0x79)][N(0xca)]({'pathParts':[c,b[N(0x80)],paramCase(b['resourceName']),paramCase(b[N(0xb9)])]}),f=this[N(0x79)][N(0xae)]();this[N(0x79)][N(0xaa)](f,()=>{const O=N;var g;typeof f[O(0xbd)][O(0xb4)]===O(0x84)&&(O(0xbe)==='ixORf'?(f[O(0xbd)][O(0xb4)]=f[O(0xbd)][O(0xb4)]==='true'?!![]:![],this[O(0x79)][O(0xc5)]('html',f[O(0xbd)]['html'])):this[O(0x79)][O(0xb6)]({'filePath':e+'.'+f['engines']['js'],'content':O(0xb5)+g[O(0x94)]+'.'+h[O(0xa8)][O(0x8b)]+'\x27;'}));typeof f[O(0xbd)][O(0xb8)]==='string'&&(O(0xa6)===O(0xb1)?this[O(0x79)][O(0xbd)]({'srcPath':O(0x7c),'destPath':d+'.js','framework':O(0xb2),'context':e,'config':f}):(f[O(0xbd)]['test']=f['template'][O(0xb8)]===O(0xcc)?!![]:![],this['fsi'][O(0xc5)]('test',f[O(0xbd)][O(0xb8)])));typeof f['template']['css']===O(0x84)&&(O(0x98)!==O(0x98)?b[O(0x7b)]={}:(f[O(0xbd)][O(0x8b)]=f[O(0xbd)][O(0x8b)]===O(0xcc)?!![]:![],this['fsi'][O(0xc5)]('css',f[O(0xbd)][O(0x8b)])));typeof f['template']['js']==='string'&&(f[O(0xbd)]['js']=f[O(0xbd)]['js']===O(0xcc)?!![]:![],this[O(0x79)][O(0xc5)]('js',f['template']['js']));!f['features']&&(f[O(0x7b)]={});!b['root']&&!this[O(0x79)][O(0x95)](O(0xb7))&&(Log[O(0x99)](O(0xc8)),this[O(0x79)]['installNpmPackage'](O(0xb7),{'cwd':d}));const h={'name':pascalCase(b[O(0xb9)]),'myPath':a68I[O(0x86)](this[O(0x79)][O(0xc6)]({}),e),'cssCaseName':paramCase(b[O(0xb9)]),'className':pascalCase(b[O(0xb9)]),'camelCaseName':camelCase(b[O(0xb9)]),'fileName':paramCase(b[O(0xb9)]),'graphql':f[O(0xa8)][O(0xa3)],'features':f['features'],'client':f['engines'][O(0xc0)],'api':f['engines'][O(0x77)],'ssr':f['engines']['ssr'],'isStore':b[O(0x89)](O(0x7e)),'isComponent':b[O(0x89)]('component'),'isLayout':b[O(0x89)]('layout'),'withTranslations':f['features'][O(0xcd)],'test':f['engines'][O(0xb8)],'theme':f[O(0xa8)][O(0xba)]};f[O(0xbd)]['html']&&this['fsi'][O(0xbd)]({'srcPath':'template/template.html','destPath':e+O(0x97),'context':h,'config':f});((g=f[O(0x7b)])===null||g===void 0x0?void 0x0:g[O(0x9f)])||b[O(0x9b)]?this[O(0x79)]['template']({'srcPath':O(0xa5),'destPath':e+O(0x8e),'framework':'react','context':h,'config':f}):O(0xab)==='cSRUZ'?this[O(0x79)][O(0xb6)]({'filePath':e+'.'+f[O(0xa8)]['js'],'content':'import\x20\x27./'+g['fileName']+'.'+h['engines'][O(0xb4)]+'\x27;'}):this[O(0x79)][O(0xbd)]({'srcPath':'component/component.js','destPath':e+O(0x8e),'framework':'react','context':h,'config':f});if(f['engines']['test']!==O(0x87)){if(O(0x93)==='VjvRY')this[O(0x79)]['template']({'srcPath':O(0xa7),'destPath':e+O(0x88),'framework':O(0xb2),'context':h,'config':f});else{const q=this['fsi'][O(0xca)]({'pathParts':['imports',O(0x92),'client','templates.js']});c=this[O(0x79)][O(0x7d)]({'pathParts':[q],'config':d});}}f[O(0xbd)][O(0x8b)]&&this['fsi'][O(0xbd)]({'srcPath':O(0x8d),'destPath':e+O(0x75),'context':Object[O(0x7a)]({},h,{'className':paramCase(b[O(0xb9)])}),'config':f});if(f[O(0xa8)][O(0xc0)]!=='react'&&f['engines'][O(0xc0)]!==O(0xa2)){if('lKzab'!==O(0x82)){if(f[O(0xbd)][O(0x8b)]){if(O(0xad)!=='kOQwK')this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[O(0xa8)]['js'],'content':O(0xb5)+h['fileName']+'.'+f[O(0xa8)][O(0xb4)]+O(0x9a)+O(0xb5)+h[O(0x94)]+'.'+f[O(0xa8)][O(0x8b)]+'\x27;'});else{const r=d[O(0xcb)](e,arguments);return f=null,r;}}!f['template']['css']&&this[O(0x79)]['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':O(0xb5)+h[O(0x94)]+'.'+f['engines']['html']+'\x27;'});}else this['fsi'][O(0xbd)]({'srcPath':O(0xa7),'destPath':d+O(0x88),'framework':O(0xb2),'context':e,'config':f});}else O(0x9d)!==O(0xc1)?f['template'][O(0x8b)]&&this[O(0x79)][O(0xb6)]({'filePath':e+'.'+f['engines']['js'],'content':O(0xb5)+h[O(0x94)]+'.'+f[O(0xa8)][O(0x8b)]+'\x27;'}):this[O(0x79)][O(0xb6)]({'filePath':e,'content':'import\x20{\x20'+f[O(0xc7)]+O(0xa1)+g+'.'+h[O(0xa8)]['js']+O(0x9a)});const i=b[O(0x80)]?'/'+b['dir']+'/':'/',j=''+c+i+h[O(0x94)]+'/'+h[O(0x94)];let k;if(f[O(0xa8)][O(0x85)]===O(0xcc)){if('sUxaZ'==='sUxaZ'){const t=this[O(0x79)][O(0xca)]({'pathParts':[O(0xb3),O(0x92),O(0xbb),'templates.js']});k=this[O(0x79)][O(0x7d)]({'pathParts':[t],'config':f});}else this[O(0x79)][O(0xbd)]({'srcPath':O(0xa5),'destPath':d+'.js','framework':'react','context':e,'config':f});}else{if(O(0xac)===O(0x90))this[O(0x79)][O(0x70)]({'filePath':d,'content':O(0xc4)+e+'.'+f[O(0xa8)]['js']+O(0x9a)});else{const w=this['fsi'][O(0xca)]({'pathParts':[O(0xb3),O(0x92),O(0xc0),O(0xbc)]});k=this[O(0x79)][O(0x7d)]({'pathParts':[w],'config':f});}}f['engines'][O(0xc0)]===O(0xb2)?(f[O(0xa8)]['js']===O(0x8c)?this[O(0x79)][O(0xb6)]({'filePath':k,'content':O(0x8a)+h[O(0xc7)]+O(0xa1)+j+O(0x9a)}):this[O(0x79)][O(0xb6)]({'filePath':k,'content':'import\x20{\x20'+h['className']+O(0xa1)+j+'.'+f[O(0xa8)]['js']+O(0x9a)}),this[O(0x79)][O(0x70)]({'filePath':k,'content':O(0x72)+h[O(0xc7)]+O(0x74)})):O(0x9e)!==O(0xc2)?this[O(0x79)][O(0x70)]({'filePath':k,'content':O(0xc4)+j+'.'+f[O(0xa8)]['js']+'\x27;\x0a'}):(d['template'][O(0xb4)]=e[O(0xbd)]['html']===O(0xcc)?!![]:![],this['fsi'][O(0xc5)]('html',f['template'][O(0xb4)]));});});
@@ -1 +1 @@
1
- const a69I=a69d;function a69c(){const Q=['fsi','injectAtEndOfFile','51NtfcmS','43272PYjiwU','5882bgjgTb','IQFNZ','next','templateContent','YhkeT','1169665RAdtvC','engines','maka\x20g:publish\x20todos','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','rewriteDestinationPathForEngine','withValue','760WaDoTp','search','constructor','throw','949075SDiryI','__awaiter','publish/publish.','create','getProjectConfig','toString','yOAdY','tsx','2454552QjxFxY','18986HWlUlp','resourceName','done','1545156KmZhSO','oqeQg','6MyqtBo','pEkml','server/publish.','7872MAgQyN','value','qSurs','apply','(((.+)+)+)+$','24kwenoM'];a69c=function(){return Q;};return a69c();}(function(a,b){const D=a69d,c=a();while(!![]){try{const d=parseInt(D(0x192))/0x1*(parseInt(D(0x194))/0x2)+-parseInt(D(0x185))/0x3+parseInt(D(0x1ab))/0x4+parseInt(D(0x1a3))/0x5*(-parseInt(D(0x187))/0x6)+parseInt(D(0x199))/0x7*(-parseInt(D(0x18f))/0x8)+parseInt(D(0x193))/0x9*(-parseInt(D(0x19f))/0xa)+parseInt(D(0x182))/0xb*(parseInt(D(0x18a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0x4f2e5));const a69b=(function(){let a=!![];return function(b,c){const d=a?function(){const E=a69d;if(E(0x18c)!==E(0x195)){if(c){if(E(0x1a9)===E(0x1a9)){const e=c[E(0x18d)](b,arguments);return c=null,e;}else return f(this,void 0x0,void 0x0,function*(){const F=E,p=this[F(0x190)][F(0x1a7)]();this[F(0x190)][F(0x19e)](p,()=>p(this,void 0x0,void 0x0,function*(){const G=F,z={'name':s[G(0x183)],'collection':t(u[G(0x183)]),'noRename':!![]};let A='js';p[G(0x19a)]['js']===G(0x1aa)&&(A='ts');const B=this[G(0x190)]['rewriteDestinationPathForEngine']({'pathParts':[G(0x189)+p[G(0x19a)]['js']]}),C=this[G(0x190)][G(0x197)]({'srcPath':'publish/publish.'+A,'context':z,'config':p});this[G(0x190)]['injectAtEndOfFile']({'filePath':B,'content':'\x0a'+C});}));});}}else d(e['next'](f));}:function(){};return a=![],d;};}()),a69a=a69b(this,function(){const H=a69d;return a69a[H(0x1a8)]()[H(0x1a0)](H(0x18e))['toString']()[H(0x1a1)](a69a)[H(0x1a0)](H(0x18e));});a69a();var __awaiter=this&&this[a69I(0x1a4)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const J=a69d;J(0x186)===J(0x186)?g(f):c(d);});}return new(c||(c=Promise))(function(f,g){const N=a69d;function h(k){const K=a69d;try{j(d[K(0x196)](k));}catch(l){g(l);}}function i(k){const L=a69d;if('WIhoI'==='WIhoI')try{j(d[L(0x1a2)](k));}catch(l){if(L(0x188)!==L(0x188)){if(l){const n=i[L(0x18d)](j,arguments);return k=null,n;}}else g(l);}else try{i(j[L(0x1a2)](k));}catch(o){m(o);}}function j(k){const M=a69d;k[M(0x184)]?f(k[M(0x18b)]):e(k[M(0x18b)])['then'](h,i);}j((d=d[N(0x18d)](a,b||[]))[N(0x196)]());});};import{paramCase}from'change-case';import{Generator}from'../generator.js';function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0x182;let f=c[d];return f;},a69d(a,b);}Generator[a69I(0x1a6)]({'name':'publish','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','description':a69I(0x19c),'examples':[a69I(0x19b)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const O=a69d;if(O(0x198)===O(0x198)){const c=this[O(0x190)][O(0x1a7)]();this[O(0x190)][O(0x19e)](c,()=>__awaiter(this,void 0x0,void 0x0,function*(){const P=O,d={'name':b[P(0x183)],'collection':paramCase(b[P(0x183)]),'noRename':!![]};let e='js';c[P(0x19a)]['js']===P(0x1aa)&&(e='ts');const f=this['fsi'][P(0x19d)]({'pathParts':[P(0x189)+c[P(0x19a)]['js']]}),g=this[P(0x190)][P(0x197)]({'srcPath':P(0x1a5)+e,'context':d,'config':c});this['fsi'][P(0x191)]({'filePath':f,'content':'\x0a'+g});}));}else return f instanceof g?h:new i(function(m){m(k);});});});
1
+ const a69C=a69d;function a69c(){const J=['4936NJgvdh','injectAtEndOfFile','server/publish.','20565Tbtsfn','resourceName','MRxWZ','2561172RbZGrw','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','yYWVm','16719010gbXYAw','gkyVi','search','pNPae','throw','getProjectConfig','next','633770kNTzWw','gQCvi','FOYYE','templateContent','apply','(((.+)+)+)+$','then','withValue','done','3703314snoSxM','publish/publish.','engines','dNHbX','toString','value','ewMYH','yeymV','create','publish','fsi','5XwJEbi','6123724OejpoA','__awaiter','56SgfrDV','1171782fVwnzE'];a69c=function(){return J;};return a69c();}(function(a,b){const z=a69d,c=a();while(!![]){try{const d=parseInt(z(0xe7))/0x1+-parseInt(z(0xdd))/0x2+parseInt(z(0xc7))/0x3+parseInt(z(0xd3))/0x4*(parseInt(z(0xd2))/0x5)+parseInt(z(0xd6))/0x6*(-parseInt(z(0xd5))/0x7)+-parseInt(z(0xd7))/0x8*(parseInt(z(0xda))/0x9)+parseInt(z(0xe0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0xc7c39));const a69b=(function(){let a=!![];return function(b,c){const d=a?function(){const A=a69d;if(c){const e=c[A(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a69a=a69b(this,function(){const B=a69d;return a69a[B(0xcb)]()[B(0xe2)](B(0xec))['toString']()['constructor'](a69a)['search'](B(0xec));});function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0xc7;let f=c[d];return f;},a69d(a,b);}a69a();var __awaiter=this&&this[a69C(0xd4)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const G=a69d;function h(k){const D=a69d;if(D(0xca)!==D(0xe3))try{j(d[D(0xe6)](k));}catch(l){'ndJqk'!==D(0xce)?g(l):c(d);}else h[D(0xef)]?i(j[D(0xcc)]):k(l[D(0xcc)])['then'](m,n);}function i(k){const E=a69d;if(E(0xe1)===E(0xcd)){const n=g?function(){if(n){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else try{if(E(0xdc)!=='MRxWZ')return f instanceof g?h:new i(function(n){n(k);});else j(d[E(0xe4)](k));}catch(n){E(0xe8)!==E(0xe8)?c(d):g(n);}}function j(k){const F=a69d;'yYWVm'===F(0xdf)?k[F(0xef)]?f(k[F(0xcc)]):e(k[F(0xcc)])[F(0xed)](h,i):d(e[F(0xe4)](f));}j((d=d['apply'](a,b||[]))[G(0xe6)]());});};import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a69C(0xcf)]({'name':a69C(0xd0),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','description':a69C(0xde),'examples':['maka\x20g:publish\x20todos']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a69d,c=this[H(0xd1)][H(0xe5)]();this[H(0xd1)][H(0xee)](c,()=>__awaiter(this,void 0x0,void 0x0,function*(){const I=H;if('FOYYE'!==I(0xe9)){const e=d['apply'](e,arguments);return f=null,e;}else{const e={'name':b[I(0xdb)],'collection':paramCase(b[I(0xdb)]),'noRename':!![]};let f='js';c['engines']['js']==='tsx'&&(f='ts');const g=this[I(0xd1)]['rewriteDestinationPathForEngine']({'pathParts':[I(0xd9)+c[I(0xc9)]['js']]}),h=this['fsi'][I(0xea)]({'srcPath':I(0xc8)+f,'context':e,'config':c});this[I(0xd1)][I(0xd8)]({'filePath':g,'content':'\x0a'+h});}}));});});
@@ -1 +1 @@
1
- const a70K=a70d;function a70d(a,b){const c=a70c();return a70d=function(d,e){d=d-0x69;let f=c[d];return f;},a70d(a,b);}function a70c(){const U=['(((.+)+)+)+$','uFNZR','Ogpzs','route/route.js','/imports/ui/pages','filter','newForm','aeJPy','GJLkI','page','kkTEH','templateContent','Vvuyg','pathFromApp','14CQgQsP','zEbLs','1919091lyvjhH','templateName','create','tFugi','EazSd','const\x20privateRoutes\x20=\x20(<>','toLowerCase','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','then','90305KekYfk','2697390IKSugl','apply','ssr','injectAtEndOfFile','value','readFileLines','138NbgDTz','next','<Router','startup','const\x20publicRoutes\x20=\x20(<>','includes','maka\x20g:route\x20todosIndex\x20todos','toString','uThAI','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','lib','RAQbv','5984wyDHHz','AMgFv','308012YtVsLX','PrivateLayout','injectAfterLineNumber','private','layout','LyXPa','map','features','fQCAR','throw','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','10ScalOH','\x0a\x09\x09','xIkLl','YieTh','1816NAUSOp','length','rewriteDestinationPathForEngine','react','maka\x20g:route\x20lists/listIndex\x20lists','QkaAH','config','YjLQk','withTranslations','</Router>','withHook','injectIntoFile','constructor','join','3735976keGFzr','engines','fsi','search','client','386Wkqfou','hiFbE','routes.js','imports','Scaffolding\x20for\x20a\x20Route.','findGenerator','error','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','true','done','root','10992cBPvlz','indexOf','qmtMs','igOko','AyqwD'];a70c=function(){return U;};return a70c();}(function(a,b){const A=a70d,c=a();while(!![]){try{const d=-parseInt(A(0x9f))/0x1*(-parseInt(A(0x8c))/0x2)+parseInt(A(0xbf))/0x3+-parseInt(A(0x7d))/0x4+-parseInt(A(0xc8))/0x5*(-parseInt(A(0x6f))/0x6)+parseInt(A(0xbd))/0x7*(-parseInt(A(0x9a))/0x8)+parseInt(A(0x69))/0x9*(-parseInt(A(0x88))/0xa)+parseInt(A(0x7b))/0xb*(parseInt(A(0xaa))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0x90d21));const a70b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a70d;if(c){if(B(0xb9)==='kkTEH'){const e=c[B(0x6a)](b,arguments);return c=null,e;}else c(d);}}:function(){};return a=![],d;};}()),a70a=a70b(this,function(){const C=a70d;return a70a[C(0x76)]()[C(0x9d)](C(0xaf))[C(0x76)]()[C(0x98)](a70a)[C(0x9d)](C(0xaf));});a70a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const D=a70d;if(D(0xac)===D(0x85))d(e[D(0x70)](f));else return f instanceof c?f:new c(function(h){const E=D;E(0x77)==='bonem'?(f=this[E(0x9c)][E(0x6e)](g)[E(0x83)]((m,n)=>{const F=E;return m[F(0x74)]('const\x20privateRoutes\x20=\x20(<>')?n+0x1:null;})['filter'](l=>l!==null),this[E(0x9c)][E(0x7f)]({'filePath':h,'content':'\x09{'+i['templateName']+'}','lineNumber':j[0x0]})):h(f);});}return new(c||(c=Promise))(function(f,g){const J=a70d;function h(k){const G=a70d;if(G(0x7c)===G(0xbb))c='/'+d[G(0xb4)](function(m){return m!=='/';})[G(0x99)]('/')[G(0xc5)]();else try{j(d[G(0x70)](k));}catch(m){'GXtJo'===G(0xb7)?b['layout']=G(0x7e):g(m);}}function i(k){const H=a70d;try{j(d[H(0x86)](k));}catch(l){g(l);}}function j(k){const I=a70d;I(0xbe)===I(0x8b)?d(e[I(0x86)](f)):k[I(0xa8)]?f(k[I(0x6d)]):e(k[I(0x6d)])[I(0xc7)](h,i);}j((d=d[J(0x6a)](a,b||[]))[J(0x70)]());});};import a70u from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a70v from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a70K(0xc1)]({'name':'route','aliases':aliases,'validOpts':[a70K(0x80),'layout','only','cwd',a70K(0x92),a70K(0xa9),a70K(0x96)],'usage':a70K(0x78),'description':a70K(0xa3),'examples':[a70K(0x75),'maka\x20g:route\x20todosEdit\x20todos/:id/edit',a70K(0x87),a70K(0x90)]},function(a,b){const L=a70K;try{if('igOko'===L(0xad)){const c=this[L(0x9c)]['getProjectConfig']();this['fsi']['withValue'](c,()=>__awaiter(this,void 0x0,void 0x0,function*(){const M=L;var d;let f=(d=b[M(0x80)])!==null&&d!==void 0x0?d:![],g=paramCase(a[0x0]),h='/'+g;a['length']>0x1&&(h='/'+a[M(0xb4)](function(m){return m!=='/';})[M(0x99)]('/')[M(0xc5)]());g=camelCase(g);if(b[M(0x81)]){if('FMAeU'!==M(0x93))b[M(0x81)]=camelCase(b[M(0x81)]);else return c['includes'](M(0xc4))?d+0x1:null;}let i=a70u[M(0x99)](M(0xb3),g,g),j={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[M(0x81)]||'MasterLayout','templatePath':i,'templateName':pascalCase(g),'client':c[M(0x9b)][M(0x9e)],'newForm':![],'withTranslations':c[M(0x84)][M(0x94)]};f&&(j[M(0x81)]=M(0x7e));if(!b[M(0xa9)]){const n=a70v[M(0xa4)](M(0xb8));n&&(yield n['invoke'](a,b));}let k,l;if(c[M(0x9b)][M(0x9e)]===M(0x8f)){if(M(0xb0)!=='lYhyz'){if(c[M(0x9b)][M(0x6b)]===M(0xa7)){const r=this[M(0x9c)]['pathFromApp']({'pathParts':[M(0xa2),M(0x72),M(0x79),M(0xa1)]});k=this['fsi'][M(0x8e)]({'pathParts':[r],'config':c});}else{const s=this['fsi'][M(0xbc)]({'pathParts':[M(0xa2),M(0x72),'client','routes.js']});k=this[M(0x9c)][M(0x8e)]({'pathParts':[s],'config':c});}let o=this[M(0x9c)][M(0x6e)](k)[M(0x83)]((t,u)=>{const N=M;return t['includes'](N(0xa6))?u+0x1:null;})[M(0xb4)](t=>t!==null),p=this[M(0x9c)][M(0x6e)](k)['map']((t,u)=>{const O=M;if(O(0x82)===O(0x8a))h[O(0xa8)]?i(j[O(0x6d)]):k(l['value'])[O(0xc7)](m,n);else return t['includes'](O(0x73))?u+0x1:null;})['filter'](t=>t!==null),q=this[M(0x9c)][M(0x6e)](k)['map']((t,u)=>{const P=M;if('tFugi'!==P(0xc2)){if(e){const w=i[P(0x6a)](j,arguments);return k=null,w;}}else return t[P(0x74)](P(0xc4))?u+0x1:null;})[M(0xb4)](t=>t!==null);p[M(0x8d)]>0x0&&q[M(0x8d)]>0x0&&(j[M(0xb5)]=!![]);l=this[M(0x9c)]['templateContent']({'srcPath':M(0xb2),'framework':'react','context':j,'config':c});if(p[M(0x8d)]>0x0||q[M(0x8d)]>0x0){if(M(0x7a)!==M(0x7a)){const u=this[M(0x9c)][M(0xbc)]({'pathParts':[M(0xa2),M(0x72),M(0x9e),M(0xa1)]});c=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[u],'config':d});}else{this[M(0x9c)][M(0x7f)]({'filePath':k,'content':l,'lineNumber':o[0x0]});if(f&&q[M(0x8d)]>0x0)'AyqwD'===M(0xae)?(q=this[M(0x9c)][M(0x6e)](k)['map']((u,v)=>{const Q=M;return Q(0xb1)!==Q(0xb6)?u[Q(0x74)](Q(0xc4))?v+0x1:null:c['includes'](Q(0x73))?d+0x1:null;})[M(0xb4)](u=>u!==null),this[M(0x9c)][M(0x7f)]({'filePath':k,'content':'\x09{'+j[M(0xc0)]+'}','lineNumber':q[0x0]})):c['error'](d);else p[M(0x8d)]>0x0?(p=this[M(0x9c)][M(0x6e)](k)[M(0x83)]((v,w)=>{const R=M;if('EazSd'===R(0xc3))return v[R(0x74)]('const\x20publicRoutes\x20=\x20(<>')?w+0x1:null;else try{i(j[R(0x86)](k));}catch(y){m(y);}})[M(0xb4)](v=>v!==null),this[M(0x9c)][M(0x7f)]({'filePath':k,'content':'\x09{'+j[M(0xc0)]+'}','lineNumber':p[0x0]})):Log['warn'](M(0xc6)+k);}}else{let v=this[M(0x9c)][M(0x6e)](k)['map'](y=>{const S=M;return y[S(0x74)]('\x22*\x22');}),w=v['indexOf'](!![])>-0x1,x=w?'<Route':M(0x95);this[M(0x9c)]['injectIntoFile']({'filePath':k,'content':M(0x89)+l+M(0x89),'begin':M(0x71),'end':x});}}else{const z=this[M(0x9c)]['pathFromApp']({'pathParts':[M(0xa2),M(0x72),M(0x9e),M(0xa1)]});g=this[M(0x9c)]['rewriteDestinationPathForEngine']({'pathParts':[z],'config':h}),i=this[M(0x9c)]['templateContent']({'srcPath':M(0xb2),'context':j}),this[M(0x9c)][M(0x6c)]({'filePath':k,'content':'\x0a'+l});}}else{if(c[M(0x9b)][M(0x9e)]==='vanilla'){const z=this['fsi']['pathFromApp']({'pathParts':[M(0xa2),'startup',M(0x9e),M(0xa1)]});k=this[M(0x9c)]['rewriteDestinationPathForEngine']({'pathParts':[z],'config':c}),l=this[M(0x9c)][M(0xba)]({'srcPath':M(0xb2),'context':j}),this[M(0x9c)]['injectAtEndOfFile']({'filePath':k,'content':'\x0a'+l});}}}));}else try{i(j[L(0x70)](k));}catch(f){m(f);}}catch(f){if(L(0x91)===L(0xa0)){let j=this[L(0x9c)]['readFileLines'](d)['map'](m=>{const T=L;return m[T(0x74)]('\x22*\x22');}),k=j[L(0xab)](!![])>-0x1,l=k?'<Route':L(0x95);this['fsi'][L(0x97)]({'filePath':f,'content':L(0x89)+f+L(0x89),'begin':L(0x71),'end':l});}else Log[L(0xa5)](f);}});
1
+ const a70F=a70d;(function(a,b){const B=a70d,c=a();while(!![]){try{const d=-parseInt(B(0x102))/0x1+-parseInt(B(0xf5))/0x2+parseInt(B(0xda))/0x3*(-parseInt(B(0x11c))/0x4)+parseInt(B(0xdf))/0x5*(-parseInt(B(0x11d))/0x6)+parseInt(B(0xf3))/0x7*(-parseInt(B(0xf6))/0x8)+-parseInt(B(0x10a))/0x9*(-parseInt(B(0x112))/0xa)+parseInt(B(0xd4))/0xb*(parseInt(B(0xdc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0xd059c));function a70d(a,b){const c=a70c();return a70d=function(d,e){d=d-0xc5;let f=c[d];return f;},a70d(a,b);}const a70b=(function(){let a=!![];return function(b,c){const C=a70d;if(C(0xe4)==='VnTRa'){const d=a?function(){const D=C;if(D(0xec)===D(0xfa))return f instanceof g?h:new i(function(m){m(k);});else{if(c){const f=c[D(0xd8)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else c['warn'](C(0xe7)+d);};}()),a70a=a70b(this,function(){const E=a70d;return a70a['toString']()['search'](E(0xd9))[E(0x118)]()[E(0xfb)](a70a)['search'](E(0xd9));});a70a();var __awaiter=this&&this[a70F(0xd2)]||function(a,b,c,d){function e(f){const G=a70d;if(G(0x107)!=='bULNv')return f instanceof c?f:new c(function(g){g(f);});else b[G(0xf0)]=!![];}return new(c||(c=Promise))(function(f,g){function h(k){const H=a70d;try{if('bYRbw'!==H(0xde))return c['includes'](H(0x108))?d+0x1:null;else j(d[H(0xf9)](k));}catch(m){if(H(0xdd)==='CtRjV')g(m);else{const o=this['fsi']['pathFromApp']({'pathParts':[H(0xef),H(0xed),H(0xe8),'routes.js']});c=this[H(0xf2)][H(0xcd)]({'pathParts':[o],'config':d});}}}function i(k){const I=a70d;try{I(0x10b)==='ecaFs'?j(d['throw'](k)):h['done']?i(j[I(0xc8)]):k(l[I(0xc8)])[I(0xd3)](m,n);}catch(m){g(m);}}function j(k){const J=a70d;if('XlrAw'!==J(0xe0))k[J(0x109)]?f(k[J(0xc8)]):e(k[J(0xc8)])[J(0xd3)](h,i);else return b[J(0x10f)](J(0x116));}j((d=d['apply'](a,b||[]))['next']());});};import a70u from'path';import{Generator}from'../generator.js';function a70c(){const R=['done','3123YfpvHH','ecaFs','warn','withHook','routes.js','includes','only','oHcRk','6620PLkfym','root','maka\x20g:route\x20todosIndex\x20todos','MasterLayout','\x22*\x22','maka\x20g:route\x20lists/listIndex\x20lists','toString','map','</Router>','filter','33456TfxIfG','76716gyawsR','injectAtEndOfFile','config','readFileLines','templateName','value','react','lib','withTranslations','ZRsuP','rewriteDestinationPathForEngine','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','<Route','toLowerCase','__awaiter','then','23870561drBSJi','length','\x0a\x09\x09','injectIntoFile','apply','(((.+)+)+)+$','129tswoVf','pathFromApp','24JIgZuz','CtRjV','bYRbw','455pUbmwN','FGXIa','injectAfterLineNumber','HBHNT','create','VnTRa','route/route.js','error','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','client','<Router','layout','templateContent','FzVjH','startup','invoke','imports','newForm','indexOf','fsi','7ybDOOZ','true','2695980kGmkaF','4220656HnEgAt','features','PrivateLayout','next','IdBCg','constructor','join','vanilla','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','const\x20publicRoutes\x20=\x20(<>','maka\x20g:route\x20todosEdit\x20todos/:id/edit','eARBW','317662DkWFYX','engines','NYIJV','getProjectConfig','private','flxXQ','const\x20privateRoutes\x20=\x20(<>'];a70c=function(){return R;};return a70c();}import{Log}from'../tools/log/log.class.js';import a70v from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a70F(0xe3)]({'name':'route','aliases':aliases,'validOpts':[a70F(0x106),a70F(0xea),a70F(0x110),'cwd',a70F(0xc5),a70F(0x113),a70F(0x10d)],'usage':a70F(0xce),'description':'Scaffolding\x20for\x20a\x20Route.','examples':[a70F(0x114),a70F(0x100),a70F(0xcf),a70F(0x117)]},function(a,b){const K=a70F;try{const c=this['fsi'][K(0x105)]();this[K(0xf2)]['withValue'](c,()=>__awaiter(this,void 0x0,void 0x0,function*(){const L=K;var d;let f=(d=b['private'])!==null&&d!==void 0x0?d:![],g=paramCase(a[0x0]),h='/'+g;a['length']>0x1&&(h='/'+a['filter'](function(m){return m!=='/';})[L(0xfc)]('/')[L(0xd1)]());g=camelCase(g);b[L(0xea)]&&(b[L(0xea)]=camelCase(b[L(0xea)]));let i=a70u[L(0xfc)]('/imports/ui/pages',g,g),j={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[L(0xea)]||L(0x115),'templatePath':i,'templateName':pascalCase(g),'client':c[L(0x103)][L(0xe8)],'newForm':![],'withTranslations':c[L(0xf7)][L(0xcb)]};f&&(j[L(0xea)]=L(0xf8));if(!b['root']){const m=a70v['findGenerator']('page');if(m){if(L(0xe2)!==L(0x101))yield m[L(0xee)](a,b);else return c[L(0x10f)]('const\x20privateRoutes\x20=\x20(<>')?d+0x1:null;}}let k,l;if(c[L(0x103)][L(0xe8)]===L(0xc9)){if('yZlvA'==='yZlvA'){if(c[L(0x103)]['ssr']===L(0xf4)){const r=this[L(0xf2)][L(0xdb)]({'pathParts':[L(0xef),'startup',L(0xca),L(0x10e)]});k=this[L(0xf2)][L(0xcd)]({'pathParts':[r],'config':c});}else{const s=this[L(0xf2)][L(0xdb)]({'pathParts':[L(0xef),L(0xed),L(0xe8),L(0x10e)]});k=this['fsi'][L(0xcd)]({'pathParts':[s],'config':c});}let o=this[L(0xf2)]['readFileLines'](k)[L(0x119)]((t,u)=>{const M=L;return t['includes'](M(0xfe))?u+0x1:null;})[L(0x11b)](t=>t!==null),p=this['fsi'][L(0xc6)](k)['map']((t,u)=>{const N=L;return t[N(0x10f)](N(0xff))?u+0x1:null;})[L(0x11b)](t=>t!==null),q=this['fsi']['readFileLines'](k)[L(0x119)]((t,u)=>{return t['includes']('const\x20privateRoutes\x20=\x20(<>')?u+0x1:null;})['filter'](t=>t!==null);p[L(0xd5)]>0x0&&q[L(0xd5)]>0x0&&(j[L(0xf0)]=!![]);l=this[L(0xf2)][L(0xeb)]({'srcPath':L(0xe5),'framework':'react','context':j,'config':c});if(p[L(0xd5)]>0x0||q['length']>0x0){this['fsi'][L(0xe1)]({'filePath':k,'content':l,'lineNumber':o[0x0]});if(f&&q[L(0xd5)]>0x0)L(0xcc)===L(0xcc)?(q=this[L(0xf2)][L(0xc6)](k)[L(0x119)]((t,u)=>{const O=L;return t[O(0x10f)](O(0x108))?u+0x1:null;})['filter'](t=>t!==null),this[L(0xf2)][L(0xe1)]({'filePath':k,'content':'\x09{'+j['templateName']+'}','lineNumber':q[0x0]})):c(d);else p[L(0xd5)]>0x0?(p=this[L(0xf2)][L(0xc6)](k)[L(0x119)]((u,v)=>{const P=L;return u['includes'](P(0xff))?v+0x1:null;})[L(0x11b)](u=>u!==null),this[L(0xf2)][L(0xe1)]({'filePath':k,'content':'\x09{'+j[L(0xc7)]+'}','lineNumber':p[0x0]})):Log[L(0x10c)](L(0xe7)+k);}else{let u=this[L(0xf2)][L(0xc6)](k)[L(0x119)](x=>{const Q=L;if(Q(0x104)!==Q(0x104))c[Q(0xe6)](d);else return x[Q(0x10f)]('\x22*\x22');}),v=u[L(0xf1)](!![])>-0x1,w=v?L(0xd0):L(0x11a);this[L(0xf2)][L(0xd7)]({'filePath':k,'content':L(0xd6)+l+L(0xd6),'begin':L(0xe9),'end':w});}}else d(e[L(0xf9)](f));}else{if(c[L(0x103)][L(0xe8)]===L(0xfd)){if(L(0x111)==='oHcRk'){const y=this['fsi'][L(0xdb)]({'pathParts':['imports','startup','client','routes.js']});k=this[L(0xf2)]['rewriteDestinationPathForEngine']({'pathParts':[y],'config':c}),l=this[L(0xf2)][L(0xeb)]({'srcPath':'route/route.js','context':j}),this[L(0xf2)]['injectAtEndOfFile']({'filePath':k,'content':'\x0a'+l});}else{const A=this[L(0xf2)]['pathFromApp']({'pathParts':[L(0xef),L(0xed),L(0xe8),'routes.js']});g=this[L(0xf2)][L(0xcd)]({'pathParts':[A],'config':h}),i=this[L(0xf2)]['templateContent']({'srcPath':L(0xe5),'context':j}),this[L(0xf2)][L(0x11e)]({'filePath':k,'content':'\x0a'+l});}}}}));}catch(d){Log[K(0xe6)](d);}});
@@ -1 +1 @@
1
- function a71d(a,b){const c=a71c();return a71d=function(d,e){d=d-0x80;let f=c[d];return f;},a71d(a,b);}const a71A=a71d;(function(a,b){const v=a71d,c=a();while(!![]){try{const d=-parseInt(v(0x91))/0x1*(-parseInt(v(0x8c))/0x2)+-parseInt(v(0x90))/0x3+-parseInt(v(0x8d))/0x4*(-parseInt(v(0xa5))/0x5)+parseInt(v(0x8a))/0x6*(parseInt(v(0x87))/0x7)+-parseInt(v(0xa1))/0x8+-parseInt(v(0x8f))/0x9*(parseInt(v(0x89))/0xa)+parseInt(v(0x9d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0x19513));const a71b=(function(){let a=!![];return function(b,c){const w=a71d;if(w(0x98)!=='xLiwR'){const e=g?function(){const x=w;if(e){const u=q[x(0x93)](r,arguments);return s=null,u;}}:function(){};return l=![],e;}else{const e=a?function(){const y=w;if(y(0x99)!=='VXevO')h[y(0x80)]?i(j[y(0x92)]):k(l[y(0x92)])[y(0x9e)](m,n);else{if(c){const g=c[y(0x93)](b,arguments);return c=null,g;}}}:function(){};return a=![],e;}};}()),a71a=a71b(this,function(){const z=a71d;return a71a[z(0xa3)]()[z(0x83)](z(0x84))['toString']()[z(0x96)](a71a)['search'](z(0x84));});a71a();var __awaiter=this&&this[a71A(0x8e)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const E=a71d;function h(k){const B=a71d;try{if(B(0x97)===B(0x97))j(d['next'](k));else try{i(j['next'](k));}catch(m){m(m);}}catch(m){g(m);}}function i(k){const C=a71d;try{j(d[C(0xa0)](k));}catch(l){C(0x81)!=='Qtlfu'?g(l):d(l['throw'](f));}}function j(k){const D=a71d;D(0x9a)!=='raclp'?k[D(0x80)]?f(k[D(0x92)]):e(k[D(0x92)])[D(0x9e)](h,i):d(e[D(0x85)](f));}j((d=d[E(0x93)](a,b||[]))[E(0x85)]());});};import a71u from'../generators/maka.gen.js';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a71c(){const G=['6694PqtiQK','92xyqpsA','__awaiter','19296npFckh','540219MmUiyU','19dqwcaY','value','apply','invoke','oaqPN','constructor','DEkhr','xLiwR','VXevO','BtfTq','error','findGenerator','1325390pjmGNL','then','route','throw','248536OIeGpv','api','toString','scaffold','24805CNTudb','done','UrFhv','QLKNy','search','(((.+)+)+)+$','next','ZYZbt','413AVnpzT','maka\x20{generate,\x20g}:{scaffold,\x20s}\x20[path/]<name>','730PbKeZg','17610FkamSY','page'];a71c=function(){return G;};return a71c();}Generator['create']({'name':a71A(0xa4),'usage':a71A(0x88),'description':'Scaffolding\x20for\x20a\x20complete\x20resource\x20(route,\x20page,\x20and\x20API)','examples':['maka\x20g:scaffold\x20todos']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a71d;if('FWLfp'!==F(0x86))try{const c=a71u[F(0x9c)](F(0x9f));c&&(yield c[F(0x94)](a,b));const d=a71u['findGenerator'](F(0x8b));if(d){if(F(0x82)!==F(0x95))yield d['invoke'](a,b);else return f instanceof g?h:new i(function(m){m(k);});}const f=a71u[F(0x9c)](F(0xa2));f&&(yield f['invoke'](a,b));}catch(h){Log[F(0x9b)](h);}else c(d);});});
1
+ const a71y=a71d;function a71d(a,b){const c=a71c();return a71d=function(d,e){d=d-0x9e;let f=c[d];return f;},a71d(a,b);}(function(a,b){const v=a71d,c=a();while(!![]){try{const d=-parseInt(v(0xc3))/0x1+parseInt(v(0xc2))/0x2*(parseInt(v(0xbb))/0x3)+-parseInt(v(0xb9))/0x4+parseInt(v(0x9e))/0x5*(-parseInt(v(0xc1))/0x6)+-parseInt(v(0xac))/0x7+parseInt(v(0xa1))/0x8*(parseInt(v(0xae))/0x9)+parseInt(v(0xb1))/0xa*(parseInt(v(0xa8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0xc8242));const a71b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a71d;if(c){if(w(0xad)!==w(0xb4)){const e=c[w(0xa0)](b,arguments);return c=null,e;}else return f instanceof g?h:new i(function(m){m(k);});}}:function(){};return a=![],d;};}()),a71a=a71b(this,function(){const x=a71d;return a71a['toString']()[x(0x9f)](x(0xba))[x(0xc0)]()[x(0xa4)](a71a)['search'](x(0xba));});a71a();var __awaiter=this&&this[a71y(0xb0)]||function(a,b,c,d){function e(f){const z=a71d;if('YChnA'===z(0xb7))return f instanceof c?f:new c(function(g){g(f);});else{const h=d['apply'](e,arguments);return f=null,h;}}return new(c||(c=Promise))(function(f,g){const D=a71d;function h(k){const A=a71d;if(A(0xa5)!==A(0xa5))c(d);else try{j(d['next'](k));}catch(m){g(m);}}function i(k){const B=a71d;if(B(0xb6)!==B(0xbd))try{j(d[B(0xa2)](k));}catch(l){g(l);}else c(d);}function j(k){const C=a71d;k[C(0xb5)]?f(k[C(0xa3)]):e(k[C(0xa3)])[C(0xaf)](h,i);}j((d=d['apply'](a,b||[]))[D(0xa9)]());});};import a71u from'../generators/maka.gen.js';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a71y(0xaa)]({'name':'scaffold','usage':a71y(0xb3),'description':'Scaffolding\x20for\x20a\x20complete\x20resource\x20(route,\x20page,\x20and\x20API)','examples':[a71y(0xbe)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a71d;try{if(E(0xbf)===E(0xbf)){const c=a71u[E(0xb2)](E(0xab));c&&(yield c[E(0xbc)](a,b));const d=a71u['findGenerator'](E(0xc4));d&&(yield d[E(0xbc)](a,b));const f=a71u[E(0xb2)](E(0xb8));f&&(yield f[E(0xbc)](a,b));}else return c['toString']()[E(0x9f)](E(0xba))[E(0xc0)]()['constructor'](d)[E(0x9f)](E(0xba));}catch(h){E(0xa6)!==E(0xa6)?c[E(0xa7)](d):Log[E(0xa7)](h);}});});function a71c(){const F=['(((.+)+)+)+$','62817IhFgcY','invoke','NdACJ','maka\x20g:scaffold\x20todos','irAhk','toString','18942PqdKFg','70OfzyPi','344338rFLhxO','page','1670xopdmQ','search','apply','5068824jQuGgo','throw','value','constructor','szdjB','uTGKx','error','154UZdnMi','next','create','route','6006392FgrPHm','XGIbJ','9eabiwz','then','__awaiter','1606030HhnAMp','findGenerator','maka\x20{generate,\x20g}:{scaffold,\x20s}\x20[path/]<name>','tyTAZ','done','FDhxd','YChnA','api','2153200NHtpww'];a71c=function(){return F;};return a71c();}
@@ -1 +1 @@
1
- const a72y=a72d;(function(a,b){const u=a72d,c=a();while(!![]){try{const d=-parseInt(u(0x162))/0x1+parseInt(u(0x159))/0x2+-parseInt(u(0x164))/0x3+-parseInt(u(0x154))/0x4+-parseInt(u(0x15c))/0x5*(parseInt(u(0x14b))/0x6)+parseInt(u(0x14e))/0x7*(parseInt(u(0x15a))/0x8)+parseInt(u(0x14f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0xd5233));function a72c(){const E=['lib','(((.+)+)+)+$','FeIHj','1594572PLtdWo','error','4032393Izuqzl','getProjectConfig','fsi','fmlXJ','imports','constructor','template','maka\x20{generate,\x20g}:{service}\x20[service-type]','withValue','winston','done','TVETJ','Installing\x20winston','pathFromApp','maka\x20g:svc\x20logger','throw','search','installNpmPackage','6BXQyYw','apply','checkNpmPackage','140xnkweX','28577241TnpIUF','__awaiter','tsx','value','engines','5076856KaWSNJ','resourceName','YYWES','toString','winston\x20setimmediate','3436732lSRjqy','436344KptxmQ','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','4517735vfzJmc','service','Aocwy'];a72c=function(){return E;};return a72c();}const a72b=(function(){let a=!![];return function(b,c){const v=a72d;if(v(0x156)!=='GyPgm'){const d=a?function(){const w=v;if('kuaNi'!=='kuaNi')return f instanceof g?h:new i(function(m){m(k);});else{if(c){if(w(0x15e)===w(0x15e)){const f=c[w(0x14c)](b,arguments);return c=null,f;}else{const h=d['apply'](e,arguments);return f=null,h;}}}}:function(){};return a=![],d;}else return c['toString']()[v(0x174)](v(0x160))[v(0x157)]()[v(0x169)](d)['search'](v(0x160));};}()),a72a=a72b(this,function(){const x=a72d;return a72a['toString']()[x(0x174)]('(((.+)+)+)+$')[x(0x157)]()[x(0x169)](a72a)['search']('(((.+)+)+)+$');});a72a();var __awaiter=this&&this[a72y(0x150)]||function(a,b,c,d){function e(f){const z=a72d;if(z(0x161)===z(0x161))return f instanceof c?f:new c(function(g){g(f);});else h[z(0x16e)]?i(j[z(0x152)]):k(l[z(0x152)])['then'](m,n);}return new(c||(c=Promise))(function(f,g){const B=a72d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const A=a72d;k[A(0x16e)]?f(k[A(0x152)]):e(k[A(0x152)])['then'](h,i);}j((d=d[B(0x14c)](a,b||[]))['next']());});};import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a72d(a,b){const c=a72c();return a72d=function(d,e){d=d-0x14a;let f=c[d];return f;},a72d(a,b);}Generator['create']({'name':a72y(0x15d),'aliases':['svc'],'usage':a72y(0x16b),'description':a72y(0x15b),'validArgs':['logger'],'maxArgLength':0x1,'minArgLength':0x1,'examples':[a72y(0x172)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const C=a72d;try{const c=this[C(0x166)][C(0x165)]();this[C(0x166)][C(0x16c)](c,()=>__awaiter(this,void 0x0,void 0x0,function*(){const D=C;if(D(0x167)===D(0x167)){const d=this[D(0x166)][D(0x171)]({}),f=paramCase(b[D(0x155)]),g={'name':pascalCase(b[D(0x155)]),'fileName':f,'camelCase':camelCase(b[D(0x155)]),'type':a[0x0],'engine':c[D(0x153)]['js'],'noRename':!![]};let h='js';c['engines']['js']===D(0x151)&&(h='ts');if(a[0x0]==='logger'){!this[D(0x166)][D(0x14d)](D(0x16d))&&(yield this['fsi'][D(0x14a)](D(0x158),{'cwd':d,'msg':D(0x170)}));let i=this['fsi']['pathFromApp']({'pathParts':[D(0x168),'startup',D(0x15f),'services',f+'.'+h]});this['fsi'][D(0x16a)]({'srcPath':'service/logger/logger.js','destPath':i,'context':g,'config':c});}}else b='ts';}));}catch(d){if(C(0x16f)==='sfyzP')try{i(j[C(0x173)](k));}catch(g){m(g);}else Log[C(0x163)](d);}});});
1
+ const a72w=a72d;(function(a,b){const u=a72d,c=a();while(!![]){try{const d=-parseInt(u(0x17b))/0x1*(parseInt(u(0x167))/0x2)+-parseInt(u(0x179))/0x3+-parseInt(u(0x165))/0x4*(parseInt(u(0x193))/0x5)+parseInt(u(0x172))/0x6+-parseInt(u(0x195))/0x7+-parseInt(u(0x188))/0x8+parseInt(u(0x192))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0xc0b59));function a72c(){const E=['value','2018kpiGCL','checkNpmPackage','service/logger/logger.js','OtUre','search','services','create','then','template','logger','RAZAZ','4223562WYwFcP','apply','ZFvgH','installNpmPackage','(((.+)+)+)+$','Installing\x20winston','throw','339648kgrbvC','imports','401OAyDdg','service','getProjectConfig','xERus','withValue','done','constructor','winston','svc','error','toString','__awaiter','MifWZ','7081632hOhVEA','engines','fsi','next','maka\x20g:svc\x20logger','COuSg','TDidA','xUFar','resourceName','lib','25859691RWxIyb','160mueTCh','startup','5025636hgmJda','83364joGHgy'];a72c=function(){return E;};return a72c();}const a72b=(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;};}()),a72a=a72b(this,function(){const v=a72d;return a72a[v(0x185)]()['search'](v(0x176))['toString']()[v(0x181)](a72a)[v(0x16b)](v(0x176));});a72a();var __awaiter=this&&this[a72w(0x186)]||function(a,b,c,d){function e(f){const x=a72d;if(x(0x174)!==x(0x18f))return f instanceof c?f:new c(function(g){g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){const B=a72d;function h(k){const y=a72d;if('OtUre'===y(0x16a))try{j(d[y(0x18b)](k));}catch(l){'cYJzM'!=='tWyup'?g(l):h[y(0x180)]?i(j[y(0x166)]):k(l['value'])[y(0x16e)](m,n);}else try{i(j[y(0x18b)](k));}catch(o){m(o);}}function i(k){const z=a72d;try{j(d[z(0x178)](k));}catch(l){if(z(0x17e)===z(0x17e))g(l);else{if(l){const n=i[z(0x173)](j,arguments);return k=null,n;}}}}function j(k){const A=a72d;k['done']?f(k[A(0x166)]):e(k[A(0x166)])[A(0x16e)](h,i);}j((d=d['apply'](a,b||[]))[B(0x18b)]());});};import{camelCase,paramCase,pascalCase}from'change-case';function a72d(a,b){const c=a72c();return a72d=function(d,e){d=d-0x165;let f=c[d];return f;},a72d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a72w(0x16d)]({'name':a72w(0x17c),'aliases':[a72w(0x183)],'usage':'maka\x20{generate,\x20g}:{service}\x20[service-type]','description':'Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','validArgs':[a72w(0x170)],'maxArgLength':0x1,'minArgLength':0x1,'examples':[a72w(0x18c)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const C=a72d;try{const c=this[C(0x18a)][C(0x17d)]();this[C(0x18a)][C(0x17f)](c,()=>__awaiter(this,void 0x0,void 0x0,function*(){const D=C,d=this[D(0x18a)]['pathFromApp']({}),f=paramCase(b[D(0x190)]),g={'name':pascalCase(b[D(0x190)]),'fileName':f,'camelCase':camelCase(b[D(0x190)]),'type':a[0x0],'engine':c[D(0x189)]['js'],'noRename':!![]};let h='js';c[D(0x189)]['js']==='tsx'&&(D(0x171)!==D(0x18e)?h='ts':c(d));if(a[0x0]==='logger'){if(D(0x187)!==D(0x18d)){!this[D(0x18a)][D(0x168)](D(0x182))&&(yield this[D(0x18a)][D(0x175)]('winston\x20setimmediate',{'cwd':d,'msg':D(0x177)}));let j=this[D(0x18a)]['pathFromApp']({'pathParts':[D(0x17a),D(0x194),D(0x191),D(0x16c),f+'.'+h]});this[D(0x18a)][D(0x16f)]({'srcPath':D(0x169),'destPath':j,'context':g,'config':c});}else d(e[D(0x18b)](f));}}));}catch(d){Log[C(0x184)](d);}});});
@@ -1 +1 @@
1
- (function(a,b){var u=a73d,c=a();while(!![]){try{var d=-parseInt(u(0x91))/0x1+-parseInt(u(0x8d))/0x2+-parseInt(u(0x99))/0x3*(parseInt(u(0x92))/0x4)+parseInt(u(0x94))/0x5+parseInt(u(0x96))/0x6*(-parseInt(u(0x98))/0x7)+parseInt(u(0x97))/0x8*(parseInt(u(0x9a))/0x9)+parseInt(u(0x93))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0x4ae70));function a73c(){var x=['12UkdJWj','1896633pmDnBL','search','830256YzvdSP','toString','constructor','(((.+)+)+)+$','411614jlWcJL','164876UVimcv','9915820eVnYGb','2889125JQqXtp','apply','84vOMyPI','8ezetKv','240863WEcxHb'];a73c=function(){return x;};return a73c();}function a73d(a,b){var c=a73c();return a73d=function(d,e){d=d-0x8d;var f=c[d];return f;},a73d(a,b);}var a73b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a73d;if(c){var e=c[v(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a73a=a73b(this,function(){var w=a73d;return a73a[w(0x8e)]()[w(0x9b)](w(0x90))[w(0x8e)]()[w(0x8f)](a73a)[w(0x9b)](w(0x90));});a73a();import'./translation.js';import'./openssl.js';
1
+ (function(a,b){var u=a73d,c=a();while(!![]){try{var d=parseInt(u(0x77))/0x1+-parseInt(u(0x80))/0x2*(-parseInt(u(0x75))/0x3)+-parseInt(u(0x7c))/0x4*(-parseInt(u(0x7a))/0x5)+-parseInt(u(0x7e))/0x6+parseInt(u(0x78))/0x7+-parseInt(u(0x76))/0x8+-parseInt(u(0x7d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0x3ccea));function a73d(a,b){var c=a73c();return a73d=function(d,e){d=d-0x75;var f=c[d];return f;},a73d(a,b);}var a73b=(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;};}()),a73a=a73b(this,function(){var v=a73d;return a73a[v(0x7b)]()[v(0x7f)](v(0x79))['toString']()['constructor'](a73a)[v(0x7f)](v(0x79));});a73a();import'./translation.js';function a73c(){var w=['search','914488Pcojyq','3xjMlsd','367368VlbAZF','294284IqXZWl','2827230isDTSN','(((.+)+)+)+$','955860SSUiyB','toString','4tlyFtl','8072541EcvZeX','927924HUxQsp'];a73c=function(){return w;};return a73c();}import'./openssl.js';
@@ -1 +1 @@
1
- const a74E=a74d;(function(a,b){const v=a74d,c=a();while(!![]){try{const d=parseInt(v(0x14a))/0x1+-parseInt(v(0x13c))/0x2*(parseInt(v(0x15e))/0x3)+parseInt(v(0x157))/0x4*(-parseInt(v(0x150))/0x5)+parseInt(v(0x15c))/0x6+-parseInt(v(0x14f))/0x7*(parseInt(v(0x146))/0x8)+-parseInt(v(0x154))/0x9+-parseInt(v(0x136))/0xa*(-parseInt(v(0x15d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0x8cf1b));function a74c(){const I=['getGlobalConfig','10dlsvKJ','apply','toString','EIaKw','search','fsi','318814uMEeia','wBfyx','service','openssl.conf','openssl/openssl.conf','hvTxT','create','error','appName','PLmCa','3408376BbEeFA','value','sslconfig','getConfigPath','951286mGOKCL','ZkHpL','KrSLA','env','getProjectConfig','7eGYVNZ','45rcipEo','NPiMF','maka\x20g:sslconfig\x20--env\x20dev','then','492426vxbgDW','OEQrH','join','175260JZfeZt','(((.+)+)+)+$','BuvYG','NBPeO','constructor','2849610lMqvMf','7301910rTWKxn','12EYWRBX','withValue','next','cwmrb'];a74c=function(){return I;};return a74c();}const a74b=(function(){let a=!![];return function(b,c){const w=a74d;if(w(0x14c)!==w(0x14c)){if(e){const e=i['apply'](j,arguments);return k=null,e;}}else{const e=a?function(){const x=w;if(x(0x161)!==x(0x159)){if(c){const f=c[x(0x137)](b,arguments);return c=null,f;}}else try{i(j['throw'](k));}catch(h){m(h);}}:function(){};return a=![],e;}};}()),a74a=a74b(this,function(){const y=a74d;return a74a[y(0x138)]()[y(0x13a)](y(0x158))[y(0x138)]()['constructor'](a74a)[y(0x13a)](y(0x158));});a74a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const z=a74d;if('lBeol'!==z(0x13d))return f instanceof c?f:new c(function(g){g(f);});else d(e[z(0x160)](f));}return new(c||(c=Promise))(function(f,g){const D=a74d;function h(k){const A=a74d;try{j(d[A(0x160)](k));}catch(l){A(0x15a)===A(0x15a)?g(l):h['done']?i(j[A(0x147)]):k(l[A(0x147)])[A(0x153)](m,n);}}function i(k){const B=a74d;try{if(B(0x139)!==B(0x139))return c[B(0x138)]()['search'](B(0x158))[B(0x138)]()[B(0x15b)](d)['search']('(((.+)+)+)+$');else j(d['throw'](k));}catch(m){g(m);}}function j(k){const C=a74d;k['done']?f(k['value']):e(k[C(0x147)])[C(0x153)](h,i);}j((d=d[D(0x137)](a,b||[]))[D(0x160)]());});};import{Generator}from'../../generator.js';function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0x135;let f=c[d];return f;},a74d(a,b);}import{Log}from'../../tools/log/log.class.js';import a74u from'path';Generator[a74E(0x142)]({'name':a74E(0x148),'usage':'maka\x20{generate,\x20g}:sslconfig','description':'Generate\x20a\x20new\x20openssl\x20config\x20file','noResource':!![],'requiredOpts':[a74E(0x14d)],'examples':[a74E(0x152)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a74d;if('MGNKQ'!==F(0x155))try{if(F(0x14b)===F(0x14b)){const c=yield this[F(0x13b)][F(0x14e)](),d=yield this[F(0x13b)][F(0x135)](),f=this[F(0x13b)][F(0x149)](b[F(0x14d)]),g=a74u[F(0x156)](f,'_keys',F(0x13f));yield this[F(0x13b)][F(0x15f)](c,()=>__awaiter(this,void 0x0,void 0x0,function*(){const G=F;if(G(0x141)==='hvTxT'){let h={'app':d[G(0x144)],'noRename':!![]};yield this['fsi']['template']({'srcPath':G(0x140),'destPath':g,'framework':G(0x13e),'context':h,'config':c});}else c(d);}));}else{const i=g?function(){const H=F;if(i){const u=q[H(0x137)](r,arguments);return s=null,u;}}:function(){};return l=![],i;}}catch(i){if(F(0x145)!==F(0x151))Log[F(0x143)](i);else return f instanceof g?h:new i(function(m){m(k);});}else c(d);});});
1
+ const a74z=a74d;(function(a,b){const v=a74d,c=a();while(!![]){try{const d=parseInt(v(0x169))/0x1*(parseInt(v(0x180))/0x2)+-parseInt(v(0x173))/0x3*(-parseInt(v(0x16d))/0x4)+-parseInt(v(0x171))/0x5+parseInt(v(0x18a))/0x6*(-parseInt(v(0x189))/0x7)+parseInt(v(0x168))/0x8*(parseInt(v(0x18b))/0x9)+parseInt(v(0x170))/0xa+-parseInt(v(0x18d))/0xb*(parseInt(v(0x183))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0x1d7db));const a74b=(function(){let a=!![];return function(b,c){const w=a74d;if(w(0x162)===w(0x191)){if(e){const e=i['apply'](j,arguments);return k=null,e;}}else{const e=a?function(){const x=w;if(c){const f=c[x(0x190)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a74a=a74b(this,function(){const y=a74d;return a74a['toString']()[y(0x163)](y(0x18f))[y(0x17c)]()['constructor'](a74a)['search'](y(0x18f));});a74a();var __awaiter=this&&this[a74z(0x16c)]||function(a,b,c,d){function e(f){const A=a74d;if(A(0x181)===A(0x181))return f instanceof c?f:new c(function(g){g(f);});else{const h=g?function(){const B=A;if(h){const u=q[B(0x190)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}}return new(c||(c=Promise))(function(f,g){const F=a74d;function h(k){const C=a74d;if(C(0x17e)!==C(0x17e))try{i(j['next'](k));}catch(m){m(m);}else try{j(d[C(0x188)](k));}catch(m){'pkCLz'===C(0x174)?d(m[C(0x172)](f)):g(m);}}function i(k){const D=a74d;try{j(d[D(0x172)](k));}catch(l){D(0x178)!==D(0x18c)?g(l):c[D(0x16b)](d);}}function j(k){const E=a74d;if('KLeYG'!==E(0x186))k['done']?f(k[E(0x167)]):e(k[E(0x167)])[E(0x166)](h,i);else try{i(j[E(0x172)](k));}catch(m){m(m);}}j((d=d[F(0x190)](a,b||[]))[F(0x188)]());});};function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0x161;let f=c[d];return f;},a74d(a,b);}import{Generator}from'../../generator.js';function a74c(){const I=['1211RirVvw','3444Hljgkh','42318TdKziL','Qewyg','338833FyKWlX','maka\x20g:sslconfig\x20--env\x20dev','(((.+)+)+)+$','apply','ESeKY','join','gLxYE','search','_keys','DJdIi','then','value','360DQWDwn','3LXylaA','withValue','error','__awaiter','7716NcMUnS','openssl.conf','template','1825710tQYRwy','1030745wSdLHF','throw','63pDYgrK','cBFEJ','Generate\x20a\x20new\x20openssl\x20config\x20file','wKdCd','ldytu','PUnpJ','getGlobalConfig','openssl/openssl.conf','maka\x20{generate,\x20g}:sslconfig','toString','env','ucPxr','appName','117596plrzkn','VlQBj','create','72KOegBI','sslconfig','getConfigPath','KAYVE','fsi','next'];a74c=function(){return I;};return a74c();}import{Log}from'../../tools/log/log.class.js';import a74u from'path';Generator[a74z(0x182)]({'name':a74z(0x184),'usage':a74z(0x17b),'description':a74z(0x175),'noResource':!![],'requiredOpts':['env'],'examples':[a74z(0x18e)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a74d;if('QmUvi'==='ixBeQ')c(d);else try{const d=yield this[G(0x187)]['getProjectConfig'](),f=yield this[G(0x187)][G(0x179)](),g=this[G(0x187)][G(0x185)](b[G(0x17d)]),h=a74u[G(0x161)](g,G(0x164),G(0x16e));yield this[G(0x187)][G(0x16a)](d,()=>__awaiter(this,void 0x0,void 0x0,function*(){const H=G;if(H(0x165)===H(0x176)){const j=d['apply'](e,arguments);return f=null,j;}else{let j={'app':f[H(0x17f)],'noRename':!![]};yield this[H(0x187)][H(0x16f)]({'srcPath':H(0x17a),'destPath':h,'framework':'service','context':j,'config':d});}}));}catch(i){'wulaL'===G(0x177)?d(i[G(0x188)](f)):Log[G(0x16b)](i);}});});
@@ -1 +1 @@
1
- const a75G=a75d;function a75c(){const J=['startup','import\x20\x27../lib/services/translations/i18n\x27;\x0a','root','features.withTranslations','getProjectConfig','\x20}\x20from\x20\x27./','kcdsN','ssr','index.','service','elKqz','exit','i18next','49442DUOsit','TQfNG','index.js','fsi','default\x20as\x20','i18n/i18n.js','bUUZf','1315206VgaYaP','constructor','findProjectDirectory','injectAtBeginningOfFile','639GTZnpf','pathFromApp','Locale\x20already\x20defined:\x20','102568fITRyz','i18n/locales.js','apply','i18next\x20i18next-browser-languagedetector\x20react-i18next','services','uvFYW','1433631yOdTnR','LQYPc','OveNQ','i18n.js','translations','651YXUCiN','5ndFrvP','i18n/index.js','server','template','maka\x20g:translation\x20--lang=fr','locales','findAppDirectory','YrqiU','maka\x20{generate,\x20g}:translation\x20--lang=<language>','withValue','.js','(((.+)+)+)+$','4746OmZzGN','error','rewriteDestinationPathForEngine','translation','readFileSync','13241120JzGeuF','warn','search','toString','engines','i18n','export\x20{\x20default\x20as\x20','grep','468356rQLICY','checkNpmPackage','injectAtEndOfFile','import\x20\x27../lib/services/translations/i18n\x27;','installNpmPackage','maka\x20g:translation\x20--lang=en\x20(default)','lang','lib','imports'];a75c=function(){return J;};return a75c();}function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0xbf;let f=c[d];return f;},a75d(a,b);}(function(a,b){const C=a75d,c=a();while(!![]){try{const d=-parseInt(C(0xc7))/0x1+parseInt(C(0xce))/0x2+-parseInt(C(0xdb))/0x3+parseInt(C(0xfa))/0x4*(parseInt(C(0xe1))/0x5)+-parseInt(C(0xed))/0x6*(-parseInt(C(0xe0))/0x7)+-parseInt(C(0xd5))/0x8*(parseInt(C(0xd2))/0x9)+parseInt(C(0xf2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0xb3625));const a75b=(function(){let a=!![];return function(b,c){const D=a75d;if('kcdsN'===D(0xc0)){const d=a?function(){const E=D;if(c){const e=c[E(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else!c&&this[D(0xca)][D(0xd1)]({'filePath':e,'content':D(0x104)});};}()),a75a=a75b(this,function(){const F=a75d;return a75a[F(0xf5)]()['search']('(((.+)+)+)+$')[F(0xf5)]()[F(0xcf)](a75a)[F(0xf4)](F(0xec));});a75a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a75u from'fs';Generator['create']({'name':a75G(0xf0),'usage':a75G(0xe9),'aliases':[a75G(0xf7)],'description':'Generate\x20a\x20new\x20locale\x20translation','noResource':!![],'examples':[a75G(0xff),a75G(0xe5),'maka\x20g:translation\x20--lang=de']},function(a,b){const H=a75G;try{const c=this[H(0xca)][H(0x107)](),d=this[H(0xca)]['getGlobalConfig'](),f=this[H(0xca)][H(0xd0)](),g=this[H(0xca)][H(0xe7)]();this[H(0xca)][H(0xea)](c,()=>{const I=H;try{!b['lang']&&(b[I(0x100)]='en');!b[I(0x105)]&&!this[I(0xca)][I(0xfb)](I(0xc6))&&(Log[I(0xf3)]('Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...'),this['fsi'][I(0xfe)](I(0xd8),{'cwd':g}),this[I(0xca)]['setProjectConfig'](I(0x106),!![]));const h=this[I(0xca)][I(0xd3)]({'pathParts':[I(0x102),I(0x103),'client',I(0xc9)]}),i=this[I(0xca)][I(0xef)]({'pathParts':[h],'config':c}),j=this['fsi'][I(0xf9)](a75u[I(0xf1)](i)[I(0xf5)](),I(0xfd))[0x0]&&!![];if(c[I(0xf6)][I(0xc1)]==='true'){if(I(0xc8)===I(0xdc))d['error'](e),f[I(0xc5)](0x1);else{!j&&this['fsi']['injectAtBeginningOfFile']({'filePath':i,'content':I(0x104)});const v=this[I(0xca)][I(0xd3)]({'pathParts':[I(0x102),'startup',I(0xe3),I(0xc9)]}),w=this['fsi'][I(0xef)]({'pathParts':[v],'config':c}),x=this[I(0xca)][I(0xf9)](a75u[I(0xf1)](w)[I(0xf5)](),I(0xfd))[0x0]&&!![];!x&&this[I(0xca)][I(0xd1)]({'filePath':w,'content':I(0x104)});}}else!j&&this[I(0xca)]['injectAtBeginningOfFile']({'filePath':i,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});let k={'app':d['appName'],'config':c};const l=this['fsi'][I(0xd3)]({'pathParts':['imports',I(0x103),I(0x101),I(0xd9),I(0xdf),I(0xde)]}),m=this[I(0xca)]['isFile'](this[I(0xca)][I(0xef)]({'pathParts':[l],'config':c}));!m&&(I(0xcd)!==I(0xcd)?b[I(0x100)]='en':this[I(0xca)]['template']({'srcPath':I(0xcc),'destPath':l,'framework':I(0xc3),'context':k,'config':c}));const n=this[I(0xca)][I(0xd3)]({'pathParts':[I(0x102),I(0x103),'lib',I(0xd9),I(0xdf),I(0xe6),b[I(0x100)]+I(0xeb)]}),o=this['fsi'][I(0xef)]({'pathParts':[n],'config':c}),p=this['fsi']['isFile'](o);!p?this[I(0xca)][I(0xe4)]({'srcPath':I(0xd6),'destPath':n,'framework':I(0xc3),'context':k,'config':c}):Log[I(0xf3)](I(0xd4)+o);const q=this[I(0xca)][I(0xd3)]({'pathParts':['imports',I(0x103),I(0x101),I(0xd9),I(0xdf),'locales',I(0xc2)+c[I(0xf6)]['js']]}),r=this[I(0xca)][I(0xef)]({'pathParts':[q],'config':c}),s=this[I(0xca)]['isFile'](r);!s&&this[I(0xca)][I(0xe4)]({'srcPath':I(0xe2),'destPath':q,'framework':I(0xc3),'context':k,'config':c});const t=this[I(0xca)][I(0xf9)](a75u[I(0xf1)](q)[I(0xf5)](),I(0xcb)+b[I(0x100)])[0x0]&&!![];!t?I(0xe8)==='YrqiU'?this[I(0xca)][I(0xfc)]({'filePath':q,'content':I(0xf8)+b[I(0x100)]+I(0xbf)+b[I(0x100)]+'\x27;'}):this[I(0xca)][I(0xe4)]({'srcPath':I(0xe2),'destPath':d,'framework':'service','context':e,'config':f}):'jFmSh'!==I(0xc4)?Log[I(0xf3)]('Locale\x20already\x20exported:\x20'+q):this[I(0xca)][I(0xd1)]({'filePath':b,'content':I(0x104)});}catch(B){Log[I(0xee)](B),process[I(0xc5)](0x1);}});}catch(h){if(H(0xda)===H(0xdd)){if(h){const j=i['apply'](j,arguments);return k=null,j;}}else Log[H(0xee)](h),process[H(0xc5)](0x1);}});
1
+ const a75H=a75d;(function(a,b){const E=a75d,c=a();while(!![]){try{const d=parseInt(E(0x126))/0x1*(-parseInt(E(0x11f))/0x2)+parseInt(E(0x108))/0x3*(parseInt(E(0x146))/0x4)+parseInt(E(0x130))/0x5+parseInt(E(0x113))/0x6+parseInt(E(0x107))/0x7+parseInt(E(0x136))/0x8*(parseInt(E(0x12c))/0x9)+-parseInt(E(0x116))/0xa*(parseInt(E(0x138))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0x7938f));const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a75d;if(c){const e=c[F(0x109)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const G=a75d;return a75a[G(0x12e)]()[G(0x122)](G(0x10d))[G(0x12e)]()[G(0x135)](a75a)['search'](G(0x10d));});function a75c(){const K=['1cvsSvj','warn','IdNpg','lib','index.js','readFileSync','43713OAoWJY','client','toString','exit','3030755hZCIWC','maka\x20g:translation\x20--lang=en\x20(default)','injectAtBeginningOfFile','service','IGxnL','constructor','1576lyfxLY','export\x20{\x20default\x20as\x20','22403051OyWtkq','.js','i18n/i18n.js','imports','lang','default\x20as\x20','injectAtEndOfFile','import\x20\x27../lib/services/translations/i18n\x27;\x0a','rewriteDestinationPathForEngine','maka\x20g:translation\x20--lang=fr','Generate\x20a\x20new\x20locale\x20translation','pathFromApp','i18n','locales','244sJpwCI','vFgAH','oFNbL','Tmmrw','findProjectDirectory','appName','getProjectConfig','getGlobalConfig','i18next','server','isFile','translation','true','\x20}\x20from\x20\x27./','i18n/index.js','XqtEk','6814878JNErSf','21801shVUlO','apply','root','YfxXE','Locale\x20already\x20defined:\x20','(((.+)+)+)+$','grep','maka\x20g:translation\x20--lang=de','import\x20\x27../lib/services/translations/i18n\x27;','i18n/locales.js','findAppDirectory','2453136lgoVUB','ssr','fsi','10tBcqFq','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','services','error','index.','startup','Locale\x20already\x20exported:\x20','translations','create','1711018CKCsTm','setProjectConfig','template','search','jvHMM','engines','i18n.js'];a75c=function(){return K;};return a75c();}a75a();import{Generator}from'../../generator.js';function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0xfe;let f=c[d];return f;},a75d(a,b);}import{Log}from'../../tools/log/log.class.js';import a75u from'fs';Generator[a75H(0x11e)]({'name':a75H(0x102),'usage':'maka\x20{generate,\x20g}:translation\x20--lang=<language>','aliases':[a75H(0x144)],'description':a75H(0x142),'noResource':!![],'examples':[a75H(0x131),a75H(0x141),a75H(0x10f)]},function(a,b){const I=a75H;try{const c=this[I(0x115)][I(0x14c)](),d=this['fsi'][I(0xfe)](),f=this[I(0x115)][I(0x14a)](),g=this['fsi'][I(0x112)]();this['fsi']['withValue'](c,()=>{const J=I;try{!b[J(0x13c)]&&(J(0x128)===J(0x147)?b[J(0x13c)]='en':b[J(0x13c)]='en');if(!b[J(0x10a)]&&!this[J(0x115)]['checkNpmPackage'](J(0xff))){if(J(0x10b)===J(0x10b))Log[J(0x127)](J(0x117)),this['fsi']['installNpmPackage']('i18next\x20i18next-browser-languagedetector\x20react-i18next',{'cwd':g}),this[J(0x115)][J(0x120)]('features.withTranslations',!![]);else{!e&&this[J(0x115)][J(0x132)]({'filePath':i,'content':J(0x13f)});const w=this[J(0x115)][J(0x143)]({'pathParts':[J(0x13b),J(0x11b),J(0x100),J(0x12a)]}),x=this[J(0x115)][J(0x140)]({'pathParts':[w],'config':g}),y=this[J(0x115)][J(0x10e)](h[J(0x12b)](x)[J(0x12e)](),J(0x110))[0x0]&&!![];!y&&this['fsi'][J(0x132)]({'filePath':x,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});}}const h=this[J(0x115)][J(0x143)]({'pathParts':['imports',J(0x11b),J(0x12d),J(0x12a)]}),i=this[J(0x115)][J(0x140)]({'pathParts':[h],'config':c}),j=this[J(0x115)]['grep'](a75u['readFileSync'](i)[J(0x12e)](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];if(c[J(0x124)][J(0x114)]===J(0x103)){!j&&(J(0x134)!==J(0x134)?this[J(0x115)][J(0x132)]({'filePath':b,'content':J(0x13f)}):this['fsi'][J(0x132)]({'filePath':i,'content':J(0x13f)}));const w=this[J(0x115)][J(0x143)]({'pathParts':[J(0x13b),'startup',J(0x100),J(0x12a)]}),x=this['fsi'][J(0x140)]({'pathParts':[w],'config':c}),y=this[J(0x115)][J(0x10e)](a75u[J(0x12b)](x)[J(0x12e)](),J(0x110))[0x0]&&!![];!y&&(J(0x123)!==J(0x106)?this[J(0x115)][J(0x132)]({'filePath':x,'content':J(0x13f)}):c[J(0x127)](J(0x10c)+d));}else!j&&this[J(0x115)][J(0x132)]({'filePath':i,'content':J(0x13f)});let k={'app':d[J(0x14b)],'config':c};const l=this[J(0x115)][J(0x143)]({'pathParts':[J(0x13b),J(0x11b),J(0x129),J(0x118),J(0x11d),J(0x125)]}),m=this[J(0x115)][J(0x101)](this[J(0x115)][J(0x140)]({'pathParts':[l],'config':c}));!m&&this[J(0x115)][J(0x121)]({'srcPath':J(0x13a),'destPath':l,'framework':J(0x133),'context':k,'config':c});const n=this['fsi'][J(0x143)]({'pathParts':[J(0x13b),J(0x11b),'lib',J(0x118),J(0x11d),J(0x145),b['lang']+J(0x139)]}),o=this[J(0x115)][J(0x140)]({'pathParts':[n],'config':c}),p=this['fsi'][J(0x101)](o);!p?this['fsi'][J(0x121)]({'srcPath':J(0x111),'destPath':n,'framework':J(0x133),'context':k,'config':c}):Log['warn']('Locale\x20already\x20defined:\x20'+o);const q=this['fsi']['pathFromApp']({'pathParts':[J(0x13b),J(0x11b),J(0x129),J(0x118),J(0x11d),J(0x145),J(0x11a)+c[J(0x124)]['js']]}),r=this[J(0x115)][J(0x140)]({'pathParts':[q],'config':c}),s=this[J(0x115)][J(0x101)](r);!s&&this[J(0x115)][J(0x121)]({'srcPath':J(0x105),'destPath':q,'framework':J(0x133),'context':k,'config':c});const t=this['fsi']['grep'](a75u[J(0x12b)](q)['toString'](),J(0x13d)+b['lang'])[0x0]&&!![];!t?J(0x148)!==J(0x148)?this[J(0x115)][J(0x13e)]({'filePath':d,'content':J(0x137)+e[J(0x13c)]+J(0x104)+f[J(0x13c)]+'\x27;'}):this[J(0x115)][J(0x13e)]({'filePath':q,'content':J(0x137)+b['lang']+J(0x104)+b[J(0x13c)]+'\x27;'}):Log[J(0x127)](J(0x11c)+q);}catch(C){'Tmmrw'===J(0x149)?(Log[J(0x119)](C),process[J(0x12f)](0x1)):(d[J(0x119)](C),f['exit'](0x1));}});}catch(h){Log['error'](h),process[I(0x12f)](0x1);}});
package/dist/maka.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env -S node --experimental-modules --no-warnings --experimental-json-modules
2
- function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0xf0;let f=c[d];return f;},a76d(a,b);}const a76C=a76d;(function(a,b){const z=a76d,c=a();while(!![]){try{const d=parseInt(z(0xf3))/0x1+-parseInt(z(0xfe))/0x2+-parseInt(z(0xf5))/0x3*(-parseInt(z(0xfd))/0x4)+parseInt(z(0xf7))/0x5+parseInt(z(0xfa))/0x6+-parseInt(z(0xf0))/0x7*(-parseInt(z(0xf8))/0x8)+-parseInt(z(0x101))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x86e9e));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const A=a76d;if(c){const e=c[A(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const B=a76d;return a76a['toString']()['search'](B(0x100))[B(0xf1)]()['constructor'](a76a)['search'](B(0x100));});function a76c(){const D=['80fOCUUZ','1814264pIwPPb','env','(((.+)+)+)+$','22023972ygiqpJ','slice','--max-old-space-size=','parse','dirname','7375004wvFxge','toString','TOOL_NODE_FLAGS','651018YievnD','camelizeKeys','76974JPBEFH','totalmem','5461305vSofUm','8zxbGYK','apply','3581010QMYBYa','url','argv'];a76c=function(){return D;};return a76c();}a76a();import a76u from'minimist';import a76v from'os';import a76w from'path';import a76x from'humps';import a76y from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a76C(0xfb)]),__dirname=a76w[a76C(0x105)](__filename);global['MAKA_COMMAND_PATH']=__dirname;let total_memory=a76v[a76C(0xf6)](),total_mem_in_kb=total_memory/0x400,total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math['floor'](total_mem_in_mb),process[a76C(0xff)][a76C(0xf2)]=a76C(0x103)+total_mem_in_mb,process[a76C(0xff)]['BROWSERSLIST_IGNORE_OLD_DATA']='1';const argv=a76u(process[a76C(0xfc)][a76C(0x102)](0x2)),args=argv['_'],deepCopyArgv=JSON[a76C(0x104)](JSON['stringify'](argv));delete deepCopyArgv['_'];const opts=a76x[a76C(0xf4)](deepCopyArgv);a76y['run'](args,opts);
2
+ const a76C=a76d;(function(a,b){const z=a76d,c=a();while(!![]){try{const d=parseInt(z(0xff))/0x1*(parseInt(z(0xed))/0x2)+-parseInt(z(0xf2))/0x3+parseInt(z(0xf0))/0x4*(-parseInt(z(0x100))/0x5)+-parseInt(z(0x102))/0x6*(-parseInt(z(0xf1))/0x7)+-parseInt(z(0xf5))/0x8*(-parseInt(z(0xeb))/0x9)+parseInt(z(0x103))/0xa+-parseInt(z(0x106))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x452b8));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const A=a76d;if(c){const e=c[A(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const B=a76d;return a76a[B(0xf3)]()['search'](B(0xf4))[B(0xf3)]()[B(0xfb)](a76a)[B(0xec)](B(0xf4));});function a76c(){const D=['slice','2884497lPaPJb','207ZGLAnB','search','2WANIqI','BROWSERSLIST_IGNORE_OLD_DATA','MAKA_COMMAND_PATH','887116JKepoy','259hSmhUZ','1562148OjwSjX','toString','(((.+)+)+)+$','57512GziCXI','--max-old-space-size=','run','floor','TOOL_NODE_FLAGS','argv','constructor','apply','totalmem','parse','335057YLREoZ','5QHndxh','camelizeKeys','69846PCMXDn','3569210JoOgsJ','env'];a76c=function(){return D;};return a76c();}a76a();import a76u from'minimist';import a76v from'os';import a76w from'path';import a76x from'humps';import a76y from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta['url']),__dirname=a76w['dirname'](__filename);function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0xeb;let f=c[d];return f;},a76d(a,b);}global[a76C(0xef)]=__dirname;let total_memory=a76v[a76C(0xfd)](),total_mem_in_kb=total_memory/0x400,total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a76C(0xf8)](total_mem_in_mb),process[a76C(0x104)][a76C(0xf9)]=a76C(0xf6)+total_mem_in_mb,process[a76C(0x104)][a76C(0xee)]='1';const argv=a76u(process[a76C(0xfa)][a76C(0x105)](0x2)),args=argv['_'],deepCopyArgv=JSON[a76C(0xfe)](JSON['stringify'](argv));delete deepCopyArgv['_'];const opts=a76x[a76C(0x101)](deepCopyArgv);a76y[a76C(0xf7)](args,opts);
package/dist/tool.js CHANGED
@@ -1 +1 @@
1
- (function(a,b){var v=a77d,c=a();while(!![]){try{var d=parseInt(v(0x124))/0x1*(-parseInt(v(0x126))/0x2)+parseInt(v(0x125))/0x3+parseInt(v(0x12b))/0x4+parseInt(v(0x11f))/0x5+parseInt(v(0x129))/0x6+parseInt(v(0x11c))/0x7*(parseInt(v(0x123))/0x8)+-parseInt(v(0x11d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xaae4d));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a77d;if(w(0x128)===w(0x128)){if(c){if(w(0x11e)!==w(0x122)){var e=c[w(0x121)](b,arguments);return c=null,e;}else{var g=g?function(){var x=w;if(g){var u=q[x(0x121)](r,arguments);return s=null,u;}}:function(){};return l=![],g;}}}else return c[w(0x11b)]()[w(0x127)](w(0x12a))[w(0x11b)]()['constructor'](d)[w(0x127)](w(0x12a));}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var y=a77d;return a77a[y(0x11b)]()[y(0x127)](y(0x12a))[y(0x11b)]()[y(0x120)](a77a)['search']('(((.+)+)+)+$');});a77a();import{Docker}from'./tools/docker/docker.class.js';function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x11b;var f=c[d];return f;},a77d(a,b);}import{FSI}from'./tools/fsi/fsi.class.js';export class Tool{constructor(){this['docker']=new Docker(),this['fsi']=new FSI();}}function a77c(){var z=['KttIe','5563850zRrKVK','constructor','apply','zpGPt','8etKOwP','1110701QcodYR','2808051RgUrnu','2qIHCBX','search','EtMyT','5425776OPcEPM','(((.+)+)+)+$','5569600yJgANS','toString','7733831WlOwqG','32756706GeWdHT'];a77c=function(){return z;};return a77c();}
1
+ (function(a,b){var u=a77d,c=a();while(!![]){try{var d=parseInt(u(0x117))/0x1*(-parseInt(u(0x112))/0x2)+-parseInt(u(0x11a))/0x3*(-parseInt(u(0x109))/0x4)+parseInt(u(0x10f))/0x5*(-parseInt(u(0x11b))/0x6)+-parseInt(u(0x114))/0x7*(-parseInt(u(0x116))/0x8)+-parseInt(u(0x118))/0x9+parseInt(u(0x10a))/0xa+parseInt(u(0x10e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xc5351));var a77b=(function(){var a=!![];return function(b,c){var v=a77d;if(v(0x110)!==v(0x10c)){var d=a?function(){var w=v;if(c){if(w(0x113)!==w(0x113)){if(e){var g=i[w(0x108)](j,arguments);return k=null,g;}}else{var e=c[w(0x108)](b,arguments);return c=null,e;}}}:function(){};return a=![],d;}else{var f=d['apply'](e,arguments);return f=null,f;}};}()),a77a=a77b(this,function(){var x=a77d;return a77a['toString']()[x(0x115)](x(0x111))[x(0x10d)]()[x(0x10b)](a77a)[x(0x115)]('(((.+)+)+)+$');});function a77c(){var z=['constructor','mKOlj','toString','18919857faGTKJ','2562730GWWhZJ','aYuBp','(((.+)+)+)+$','40umPqld','DbXdG','774361JhPmXR','search','72iIfRNP','49517vnokVf','13027581rZmuFN','fsi','21mWDDBz','18JFNpCu','apply','312244EZRgqU','15212270ZQSYEo'];a77c=function(){return z;};return a77c();}function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x108;var f=c[d];return f;},a77d(a,b);}a77a();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';export class Tool{constructor(){var y=a77d;this['docker']=new Docker(),this[y(0x119)]=new FSI();}}
@@ -1 +1 @@
1
- const a78y=a78d;(function(a,b){const v=a78d,c=a();while(!![]){try{const d=parseInt(v(0x1d7))/0x1+-parseInt(v(0x1e5))/0x2+parseInt(v(0x1d3))/0x3*(parseInt(v(0x1de))/0x4)+-parseInt(v(0x1f1))/0x5*(parseInt(v(0x1db))/0x6)+-parseInt(v(0x1e3))/0x7*(parseInt(v(0x1d9))/0x8)+parseInt(v(0x1e9))/0x9*(-parseInt(v(0x1ee))/0xa)+parseInt(v(0x1eb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x4705b));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a78d;if(c){const e=c[w(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const x=a78d;return a78a[x(0x1d1)]()[x(0x1dd)](x(0x1e6))['toString']()[x(0x1e2)](a78a)['search'](x(0x1e6));});a78a();var __awaiter=this&&this[a78y(0x1d6)]||function(a,b,c,d){function e(f){const z=a78d;if(z(0x1ea)!==z(0x1ea))c(d);else return f instanceof c?f:new c(function(h){const A=z;if(A(0x1d2)===A(0x1e7))try{i(j[A(0x1d5)](k));}catch(j){m(j);}else h(f);});}return new(c||(c=Promise))(function(f,g){const E=a78d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){const B=a78d;if('zTpwj'!==B(0x1e0)){if(e){const m=i[B(0x1df)](j,arguments);return k=null,m;}}else try{j(d[B(0x1d5)](k));}catch(m){if(B(0x1e8)==='LJiAA'){const o=g?function(){const C=B;if(o){const u=q[C(0x1df)](r,arguments);return s=null,u;}}:function(){};return l=![],o;}else g(m);}}function j(k){const D=a78d;k[D(0x1da)]?f(k[D(0x1ed)]):e(k[D(0x1ed)])[D(0x1ec)](h,i);}j((d=d[E(0x1df)](a,b||[]))[E(0x1d4)]());});};import a78u from'inquirer';export class Actions{constructor(){}static['ask'](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a78d,{answer:c}=yield a78u[F(0x1ef)]({'type':b?F(0x1e4):F(0x1dc),'name':F(0x1d0),'message':a});return c;});}static[a78y(0x1f0)](a,b=![]){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a78d;if('cEaQp'!==G(0x1e1)){const {answer:c}=yield a78u[G(0x1ef)]({'type':G(0x1f0),'name':G(0x1d0),'message':a,'default':b});return c;}else h['done']?i(j['value']):k(l[G(0x1ed)])[G(0x1ec)](m,n);});}static[a78y(0x1d8)](a){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a78d,b=yield a78u[H(0x1ef)](a);return b;});}}function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a78d(a,b);}function a78c(){const I=['search','124wdbXDd','apply','zTpwj','pNkgL','constructor','7bfgoXb','password','960896zRdiIr','(((.+)+)+)+$','UUweM','Pkavq','18HknTPe','SYRqx','8831196jcbWKW','then','value','258130lGUuHd','prompt','confirm','25eBgCKl','answer','toString','qCzEH','20439ytQKkn','next','throw','__awaiter','529633ageCIw','options','1709808RUcVeB','done','608358DkDQnZ','input'];a78c=function(){return I;};return a78c();}
1
+ const a78y=a78d;(function(a,b){const v=a78d,c=a();while(!![]){try{const d=-parseInt(v(0x1de))/0x1+-parseInt(v(0x1d9))/0x2*(parseInt(v(0x1cf))/0x3)+parseInt(v(0x1dc))/0x4*(parseInt(v(0x1c4))/0x5)+parseInt(v(0x1c1))/0x6+-parseInt(v(0x1dd))/0x7+-parseInt(v(0x1d2))/0x8+-parseInt(v(0x1d1))/0x9*(-parseInt(v(0x1c6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x97c82));const a78b=(function(){let a=!![];return function(b,c){const w=a78d;if(w(0x1d3)!==w(0x1cd)){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else c(d);};}()),a78a=a78b(this,function(){const x=a78d;return a78a[x(0x1d4)]()['search'](x(0x1d8))['toString']()[x(0x1bf)](a78a)[x(0x1d7)]('(((.+)+)+)+$');});function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x1be;let f=c[d];return f;},a78d(a,b);}a78a();var __awaiter=this&&this[a78y(0x1cb)]||function(a,b,c,d){function e(f){const z=a78d;if(z(0x1db)===z(0x1db))return f instanceof c?f:new c(function(g){const A=z;'qEzsv'===A(0x1ca)?c(d):g(f);});else try{i(j[z(0x1c5)](k));}catch(h){m(h);}}return new(c||(c=Promise))(function(f,g){const E=a78d;function h(k){const B=a78d;if(B(0x1d5)===B(0x1d5))try{j(d[B(0x1c8)](k));}catch(l){g(l);}else c(d);}function i(k){const C=a78d;if('sewSA'===C(0x1da))return f instanceof g?h:new i(function(m){m(k);});else try{C(0x1c3)===C(0x1c3)?j(d[C(0x1c5)](k)):d(e[C(0x1c5)](f));}catch(n){g(n);}}function j(k){const D=a78d;k[D(0x1c2)]?f(k[D(0x1be)]):e(k[D(0x1be)])[D(0x1df)](h,i);}j((d=d[E(0x1c0)](a,b||[]))[E(0x1c8)]());});};import a78u from'inquirer';function a78c(){const J=['options','Tnrxn','__awaiter','answer','OAlya','password','2036163XCrtlw','ask','536454ieKTNh','7468952migIzp','NkEkq','toString','gTfbG','prompt','search','(((.+)+)+)+$','2ufafmj','ctRic','mHntT','4aFaYnN','6871179derVYw','887189DGGUpv','then','value','constructor','apply','4543962oyjjsd','done','mBfCO','931895gSUzvK','throw','530kzUebJ','confirm','next'];a78c=function(){return J;};return a78c();}export class Actions{constructor(){}static[a78y(0x1d0)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a78d,{answer:c}=yield a78u[F(0x1d6)]({'type':b?F(0x1ce):'input','name':F(0x1cc),'message':a});return c;});}static[a78y(0x1c7)](a,b=![]){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a78d,{answer:c}=yield a78u[G(0x1d6)]({'type':G(0x1c7),'name':G(0x1cc),'message':a,'default':b});return c;});}static[a78y(0x1c9)](a){return __awaiter(this,void 0x0,void 0x0,function*(){const I=a78d;if('jOywY'!=='jOywY'){const c=g?function(){const H=a78d;if(c){const u=q[H(0x1c0)](r,arguments);return s=null,u;}}:function(){};return l=![],c;}else{const c=yield a78u[I(0x1d6)](a);return c;}});}}
@@ -1 +1 @@
1
- const a79z=a79d;function a79c(){const H=['done','248439ndbBKL','value','ask','FNsui','next','works','frPKW','toString','bnsOq','sPvDU','81695aXQhzW','qbXWo','(((.+)+)+)+$','Password:\x20','constructor','__awaiter','log','throw','353302UCjjbJ','219989cwgQgq','Actions\x20Test','apply','4734948KStHbu','104WchoaS','5739688hNdXTV','5339635hXbdgN','search'];a79c=function(){return H;};return a79c();}(function(a,b){const v=a79d,c=a();while(!![]){try{const d=parseInt(v(0xd3))/0x1+parseInt(v(0xd2))/0x2+-parseInt(v(0xdc))/0x3+parseInt(v(0xd7))/0x4*(-parseInt(v(0xca))/0x5)+-parseInt(v(0xd6))/0x6+parseInt(v(0xd9))/0x7+parseInt(v(0xd8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x8da19));const a79b=(function(){let a=!![];return function(b,c){const w=a79d;if(w(0xe2)!==w(0xe2)){if(e){const e=i[w(0xd5)](j,arguments);return k=null,e;}}else{const e=a?function(){const x=w;if(c){const f=c[x(0xd5)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a79a=a79b(this,function(){const y=a79d;return a79a[y(0xe3)]()[y(0xda)](y(0xcc))[y(0xe3)]()[y(0xce)](a79a)['search'](y(0xcc));});a79a();var __awaiter=this&&this[a79z(0xcf)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const D=a79d;function h(k){const A=a79d;try{j(d[A(0xe0)](k));}catch(l){if('RLggT'==='RLggT')g(l);else try{i(j[A(0xe0)](k));}catch(o){m(o);}}}function i(k){const B=a79d;if(B(0xc9)!==B(0xe4))try{j(d[B(0xd1)](k));}catch(l){if('BmMwL'!==B(0xcb))g(l);else{const n=d[B(0xd5)](l,arguments);return f=null,n;}}else d(e[B(0xd1)](f));}function j(k){const C=a79d;'FNsui'!==C(0xdf)?c(d):k[C(0xdb)]?f(k[C(0xdd)]):e(k[C(0xdd)])['then'](h,i);}j((d=d[D(0xd5)](a,b||[]))['next']());});};import a79u from'chai';const {expect}=a79u;function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0xc9;let f=c[d];return f;},a79d(a,b);}import{describe,it}from'mocha';import{Actions}from'./actions.class.js';describe(a79z(0xd4),function(){const E=a79z;it(E(0xe1),function(a){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a79d;if('WBfYG'!=='WBfYG'){const c=g?function(){const F=a79d;if(c){const u=q[F(0xd5)](r,arguments);return s=null,u;}}:function(){};return l=![],c;}else{const c=yield Actions[G(0xde)](G(0xcd),!![]);console[G(0xd0)](c),a();}});});});
1
+ const a79y=a79d;(function(a,b){const v=a79d,c=a();while(!![]){try{const d=-parseInt(v(0x18e))/0x1+-parseInt(v(0x185))/0x2+parseInt(v(0x192))/0x3+parseInt(v(0x18b))/0x4+parseInt(v(0x183))/0x5*(-parseInt(v(0x19a))/0x6)+parseInt(v(0x197))/0x7+parseInt(v(0x190))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x4f769));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a79d;if(w(0x189)==='rrEmI')h[w(0x191)]?i(j[w(0x18a)]):k(l['value'])[w(0x199)](m,n);else{if(c){const f=c[w(0x18d)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const x=a79d;return a79a[x(0x19d)]()[x(0x194)](x(0x195))[x(0x19d)]()[x(0x182)](a79a)[x(0x194)](x(0x195));});function a79c(){const F=['apply','547405VBBIsg','ask','6309064mEMomJ','done','705306oSRUZK','kzzvw','search','(((.+)+)+)+$','Actions\x20Test','2905308YVvqoj','IltVE','then','6DlCuiR','__awaiter','jGKFK','toString','constructor','2521345riGtgK','next','1233936PIMMMh','Password:\x20','log','throw','FUaWR','value','2221376HPgAMW','works'];a79c=function(){return F;};return a79c();}a79a();var __awaiter=this&&this[a79y(0x19b)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const C=a79d;function h(k){const z=a79d;try{'TusWR'==='FNjem'?c(d):j(d[z(0x184)](k));}catch(m){g(m);}}function i(k){const A=a79d;if(A(0x198)!==A(0x193))try{if('yQSOo'!==A(0x19c))j(d[A(0x188)](k));else{if(e){const m=i[A(0x18d)](j,arguments);return k=null,m;}}}catch(m){g(m);}else try{i(j[A(0x188)](k));}catch(o){m(o);}}function j(k){const B=a79d;k['done']?f(k['value']):e(k['value'])[B(0x199)](h,i);}j((d=d['apply'](a,b||[]))[C(0x184)]());});};function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x182;let f=c[d];return f;},a79d(a,b);}import a79u from'chai';const {expect}=a79u;import{describe,it}from'mocha';import{Actions}from'./actions.class.js';describe(a79y(0x196),function(){const D=a79y;it(D(0x18c),function(a){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a79d,b=yield Actions[E(0x18f)](E(0x186),!![]);console[E(0x187)](b),a();});});});