@maka/maka-cli 5.0.28 → 5.0.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 (170) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/test.js +1 -1
  100. package/bundle/obf/src/commands/undo.js +1 -1
  101. package/bundle/obf/src/commands/version.js +1 -1
  102. package/bundle/obf/src/error.js +1 -1
  103. package/bundle/obf/src/exec.js +1 -1
  104. package/bundle/obf/src/generator.js +1 -1
  105. package/bundle/obf/src/generators/_index.js +1 -1
  106. package/bundle/obf/src/generators/api.js +1 -1
  107. package/bundle/obf/src/generators/aws/_index.js +1 -1
  108. package/bundle/obf/src/generators/aws/aws.js +1 -1
  109. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  112. package/bundle/obf/src/generators/collection.js +1 -1
  113. package/bundle/obf/src/generators/component.js +1 -1
  114. package/bundle/obf/src/generators/config.js +1 -1
  115. package/bundle/obf/src/generators/dbc.js +1 -1
  116. package/bundle/obf/src/generators/dockerfile.js +1 -1
  117. package/bundle/obf/src/generators/hook.js +1 -1
  118. package/bundle/obf/src/generators/kits/_index.js +1 -1
  119. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/kit.js +1 -1
  127. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  131. package/bundle/obf/src/generators/layout.js +1 -1
  132. package/bundle/obf/src/generators/maka.gen.js +1 -1
  133. package/bundle/obf/src/generators/methods.js +1 -1
  134. package/bundle/obf/src/generators/package.js +1 -1
  135. package/bundle/obf/src/generators/page.js +1 -1
  136. package/bundle/obf/src/generators/publish.js +1 -1
  137. package/bundle/obf/src/generators/route.js +1 -1
  138. package/bundle/obf/src/generators/service.js +1 -1
  139. package/bundle/obf/src/generators/services/_index.js +1 -1
  140. package/bundle/obf/src/generators/services/openssl.js +1 -1
  141. package/bundle/obf/src/generators/services/translation.js +1 -1
  142. package/bundle/obf/src/maka.js +1 -1
  143. package/bundle/obf/src/templates/meteor/api/apollo-gateway.js +2 -0
  144. package/bundle/obf/src/templates/meteor/api/apollo-gateway.js.ts +3 -1
  145. package/bundle/obf/src/templates/meteor/api/graphql-api.js +2 -0
  146. package/bundle/obf/src/templates/meteor/api/graphql-api.js.ts +2 -0
  147. package/bundle/obf/src/tool.js +1 -1
  148. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  149. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  150. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  152. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  153. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  154. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  155. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/https/https.class.js +1 -1
  157. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  158. package/bundle/obf/src/tools/log/log.class.js +1 -1
  159. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  161. package/bundle/obf/src/tools/options/options.class.js +1 -1
  162. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  163. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  164. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  165. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  166. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  167. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  168. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  169. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  170. package/package.json +1 -1
@@ -1 +1 @@
1
- const a116n=a116d;(function(a,b){const l=a116d,c=a();while(!![]){try{const d=parseInt(l(0xfa))/0x1+parseInt(l(0xfc))/0x2*(-parseInt(l(0xf3))/0x3)+parseInt(l(0xef))/0x4+parseInt(l(0x109))/0x5*(-parseInt(l(0xe5))/0x6)+parseInt(l(0x108))/0x7*(-parseInt(l(0x103))/0x8)+-parseInt(l(0x116))/0x9+-parseInt(l(0x101))/0xa*(-parseInt(l(0xea))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x440d9));function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xda;let f=c[d];return f;},a116d(a,b);}const a116b=(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;};}()),a116a=a116b(this,function(){const m=a116d;return a116a[m(0xe7)]()[m(0xf6)](m(0x115))[m(0xe7)]()[m(0x10e)](a116a)[m(0xf6)](m(0x115));});a116a();import a116e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a116c(){const p=['1532076uYuItm','resourceName','dir','engines','789114MbWbXo','/imports/ui/components','apollo','search','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','react','scaffold','73094FKZFnh','features','2puHtaX','template/template.css','hook','pathFromApp','warn','90ZlQABY','pkg','24WjlTQs','.css','projectConfig','force','fileName','25347DhiAbV','1390mtClUZ','template','checkNpmPackage','hooks','notice','constructor','create','test/test.js','error','@apollo/client\x20isomorphic-fetch','setTemplate','components','(((.+)+)+)+$','742896SdlwcO','graphql','.js','injectTemplateModule','fsi','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','cssCaseName','\x20hook...','injectAtBeginningOfFile','installNpmPackage','css','pages','10068ZxyUnM','layouts','toString','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','string','789019YtEqRD','hook/hook.js','baseDir','/imports/ui/','none'];a116c=function(){return p;};return a116c();}import{Log}from'../tools/log/log.class.js';Generator[a116n(0x10f)]({'name':a116n(0xfe),'aliases':['h'],'checkWhere':![],'usage':a116n(0xf7),'shortDesc':a116n(0xe8),'mustBeInMakaProject':!![],'validOpts':[{'name':'baseDir','values':[a116n(0x10c),a116n(0x114),a116n(0xe4),a116n(0xe6)]},{'name':'force','boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':a116n(0xde)},async function(a,b){const o=a116n;Log[o(0x10d)]('Creating\x20'+b['resourceName']+o(0xe0));try{await this[o(0x102)][o(0x10b)]('react',{'shouldInstall':!![]});const c=this[o(0xdd)]['findAppDirectory'](),d=b[o(0xec)]?o(0xed)+b[o(0xec)]:o(0xf4),f=this['scaffold'][o(0xff)]({'pathParts':[d,b['dir'],kebabCase(b[o(0xf0)]),kebabCase(b[o(0xf0)])]}),g=this[o(0x105)];typeof g['template'][o(0xe3)]===o(0xe9)&&this['cfg'][o(0x113)](o(0xe3),g['template'][o(0xe3)]);g[o(0xf2)][o(0xda)]===o(0xf5)&&!this[o(0x102)][o(0x10b)]('@apollo/client')&&(Log[o(0x100)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[o(0x102)][o(0xe2)](o(0x112),{'cwd':c}));const h={'cssCaseName':kebabCase(b['resourceName']),'camelCaseName':camelCase(b[o(0xf0)]),'className':pascalCase(b[o(0xf0)]),'name':pascalCase(b[o(0xf0)]),'graphql':g['engines']['graphql'],'theme':g[o(0xf2)]['theme'],'features':g[o(0xfb)],'myPath':a116e['relative'](this[o(0xdd)]['findProjectDirectory'](),f),'fileName':kebabCase(b[o(0xf0)]),'isComponent':![],'isLayout':![],'withTranslations':g[o(0xfb)]['withTranslations']};await this[o(0xf9)][o(0x10a)]({'srcPath':o(0xeb),'destPath':f+o(0xdb),'context':h,'config':g,'framework':o(0xf8),'force':b[o(0x106)]});g[o(0x10a)][o(0xe3)]&&(await this[o(0xf9)][o(0x10a)]({'srcPath':o(0xfd),'destPath':f+o(0x104),'context':Object['assign']({},h,{'className':h[o(0xdf)]}),'config':g,'force':b[o(0x106)]}),await this[o(0xf9)][o(0xe1)]({'filePath':f+'.'+g[o(0xf2)]['js'],'content':'import\x20\x27./'+h['fileName']+'.'+g[o(0xf2)][o(0xe3)]+'\x27;'}));g[o(0xf2)]['test']!==o(0xee)&&await this[o(0xf9)]['template']({'srcPath':o(0x110),'destPath':f+'.app-tests.js','framework':o(0xf8),'context':h,'config':g,'force':b['force']});const i=b[o(0xf1)]?'/'+b[o(0xf1)]+'/':'/',j=''+d+i+h[o(0x107)]+'/'+h[o(0x107)];await this['scaffold'][o(0xdc)](h['className'],g,j);}catch(k){Log[o(0x111)](k);}});
1
+ const a116o=a116d;(function(a,b){const l=a116d,c=a();while(!![]){try{const d=-parseInt(l(0xfe))/0x1+-parseInt(l(0x132))/0x2+parseInt(l(0x12f))/0x3*(-parseInt(l(0x106))/0x4)+-parseInt(l(0x10f))/0x5*(parseInt(l(0x10c))/0x6)+-parseInt(l(0x123))/0x7+-parseInt(l(0x102))/0x8*(parseInt(l(0x119))/0x9)+-parseInt(l(0xfd))/0xa*(-parseInt(l(0xfb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xe568c));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a116d;if(c){const e=c[m(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const n=a116d;return a116a[n(0x122)]()[n(0x129)](n(0xfa))[n(0x122)]()['constructor'](a116a)['search'](n(0xfa));});a116a();import a116e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';function a116c(){const q=['resourceName','graphql','(((.+)+)+)+$','26896144kicsex','.js','20hekYPv','739660AxMEUz','engines','import\x20\x27./','fileName','13336bQhJIt','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','warn','dir','92xZMVay','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','create','className','react','12criqmK','template','checkNpmPackage','718595gFTmkD','\x20hook...','pkg','installNpmPackage','none','.app-tests.js','notice','maka\x20g:hook\x20cool-hook','hook','theme','4491ZjYXZH','injectAtBeginningOfFile','test','css','scaffold','pages','string','/imports/ui/','apply','toString','4702425oAlEIT','features','withTranslations','Creating\x20','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','force','search','@apollo/client','fsi','cfg','/imports/ui/components','findAppDirectory','174915UvwGVG','baseDir','projectConfig','157654fEqHum','findProjectDirectory','relative','test/test.js'];a116c=function(){return q;};return a116c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xfa;let f=c[d];return f;},a116d(a,b);}Generator[a116o(0x109)]({'name':a116o(0x117),'aliases':['h'],'checkWhere':![],'usage':a116o(0x103),'shortDesc':a116o(0x127),'mustBeInMakaProject':!![],'validOpts':[{'name':'baseDir','values':['hooks','components',a116o(0x11e),'layouts']},{'name':a116o(0x128),'boolFlag':!![]}],'examples':[a116o(0x116)],'description':a116o(0x107)},async function(a,b){const p=a116o;Log[p(0x115)](p(0x126)+b[p(0x136)]+p(0x110));try{await this[p(0x111)][p(0x10e)]('react',{'shouldInstall':!![]});const c=this[p(0x12b)][p(0x12e)](),d=b[p(0x130)]?p(0x120)+b['baseDir']:p(0x12d),f=this['scaffold']['pathFromApp']({'pathParts':[d,b['dir'],kebabCase(b['resourceName']),kebabCase(b['resourceName'])]}),g=this[p(0x131)];typeof g['template'][p(0x11c)]===p(0x11f)&&this[p(0x12c)]['setTemplate'](p(0x11c),g[p(0x10d)][p(0x11c)]);g[p(0xff)][p(0x137)]==='apollo'&&!this[p(0x111)][p(0x10e)](p(0x12a))&&(Log[p(0x104)](p(0x108)),await this[p(0x111)][p(0x112)]('@apollo/client\x20isomorphic-fetch',{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x136)]),'camelCaseName':camelCase(b[p(0x136)]),'className':pascalCase(b[p(0x136)]),'name':pascalCase(b['resourceName']),'graphql':g[p(0xff)][p(0x137)],'theme':g['engines'][p(0x118)],'features':g[p(0x124)],'myPath':a116e[p(0x134)](this[p(0x12b)][p(0x133)](),f),'fileName':kebabCase(b[p(0x136)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x124)][p(0x125)]};await this['scaffold'][p(0x10d)]({'srcPath':'hook/hook.js','destPath':f+p(0xfc),'context':h,'config':g,'framework':p(0x10b),'force':b['force']});g[p(0x10d)]['css']&&(await this[p(0x11d)][p(0x10d)]({'srcPath':'template/template.css','destPath':f+'.css','context':Object['assign']({},h,{'className':h['cssCaseName']}),'config':g,'force':b[p(0x128)]}),await this[p(0x11d)][p(0x11a)]({'filePath':f+'.'+g[p(0xff)]['js'],'content':p(0x100)+h[p(0x101)]+'.'+g['engines'][p(0x11c)]+'\x27;'}));g[p(0xff)][p(0x11b)]!==p(0x113)&&await this[p(0x11d)][p(0x10d)]({'srcPath':p(0x135),'destPath':f+p(0x114),'framework':p(0x10b),'context':h,'config':g,'force':b[p(0x128)]});const i=b[p(0x105)]?'/'+b['dir']+'/':'/',j=''+d+i+h[p(0x101)]+'/'+h[p(0x101)];await this[p(0x11d)]['injectTemplateModule'](h[p(0x10a)],g,j);}catch(k){Log['error'](k);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a117d,c=a();while(!![]){try{var d=parseInt(f(0x14c))/0x1+parseInt(f(0x155))/0x2*(parseInt(f(0x14e))/0x3)+-parseInt(f(0x14d))/0x4+parseInt(f(0x14b))/0x5+parseInt(f(0x153))/0x6+parseInt(f(0x152))/0x7+-parseInt(f(0x14f))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x7c9f9));function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x14a;var f=c[d];return f;},a117d(a,b);}var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0x156)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a['toString']()['search']('(((.+)+)+)+$')[h(0x150)]()[h(0x151)](a117a)[h(0x154)](h(0x14a));});a117a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a117c(){var i=['985428tQBIUr','3NXUCSe','12433960tNzqOa','toString','constructor','3225943lINoev','2978700hDZAca','search','462082cHLyXm','apply','(((.+)+)+)+$','1759395iyVAMf','770840OlNDks'];a117c=function(){return i;};return a117c();}import'./auth/_index.js';
1
+ (function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(0x12c))/0x1*(-parseInt(f(0x12b))/0x2)+-parseInt(f(0x125))/0x3*(-parseInt(f(0x126))/0x4)+-parseInt(f(0x12e))/0x5*(-parseInt(f(0x12f))/0x6)+-parseInt(f(0x129))/0x7+parseInt(f(0x12d))/0x8*(parseInt(f(0x124))/0x9)+parseInt(f(0x132))/0xa+-parseInt(f(0x12a))/0xb*(parseInt(f(0x127))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x74ea3));var a117b=(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;};}()),a117a=a117b(this,function(){var g=a117d;return a117a['toString']()[g(0x131)]('(((.+)+)+)+$')[g(0x130)]()[g(0x128)](a117a)[g(0x131)]('(((.+)+)+)+$');});function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x124;var f=c[d];return f;},a117d(a,b);}function a117c(){var h=['922767HCPZbC','8vIHEMo','1200660xYPaYv','constructor','2573249xgtwmK','132RGDfQO','10NMtDuE','93809dGBLVr','16SpDfuS','1055PVjawR','11652ALMfEO','toString','search','5038510giVDCZ','221913lAqXMz'];a117c=function(){return h;};return a117c();}a117a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x198))/0x1*(-parseInt(f(0x194))/0x2)+-parseInt(f(0x19b))/0x3*(parseInt(f(0x195))/0x4)+parseInt(f(0x19f))/0x5+-parseInt(f(0x19a))/0x6*(parseInt(f(0x1a2))/0x7)+-parseInt(f(0x197))/0x8*(-parseInt(f(0x1a1))/0x9)+parseInt(f(0x199))/0xa+parseInt(f(0x1a0))/0xb*(parseInt(f(0x19d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x46318));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var g=a118d;return a118a[g(0x19e)]()['search'](g(0x19c))[g(0x19e)]()[g(0x196)](a118a)['search']('(((.+)+)+)+$');});function a118c(){var h=['(((.+)+)+)+$','12mmznQp','toString','1694460TVPBeG','1784035qudmSI','9uYWCQp','272951RsPMdN','24406vRUtvp','1125484eZBVVa','constructor','1663160Zfkeha','4KKOrDx','2986530uhFtWU','60gPnXgU','3fPLlNs'];a118c=function(){return h;};return a118c();}a118a();import'./auth.generator.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x194;var f=c[d];return f;},a118d(a,b);}import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
1
+ (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x117))/0x1+-parseInt(f(0x110))/0x2+-parseInt(f(0x116))/0x3*(-parseInt(f(0x113))/0x4)+parseInt(f(0x118))/0x5+-parseInt(f(0x115))/0x6+-parseInt(f(0x111))/0x7+parseInt(f(0x10e))/0x8*(parseInt(f(0x10d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x1e80b));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x114)]()[h(0x112)](h(0x119))[h(0x114)]()['constructor'](a118a)[h(0x112)](h(0x119));});function a118c(){var i=['toString','1171704cWQYvo','15858zOCwHL','38572EMWkHm','95030VvCgDI','(((.+)+)+)+$','5858901EUkxXp','8OVICmL','apply','451840zcrRvY','929978igOOOm','search','36xrlPnU'];a118c=function(){return i;};return a118c();}a118a();function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x10d;var f=c[d];return f;},a118d(a,b);}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
@@ -1 +1 @@
1
- function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x84;let f=c[d];return f;},a119d(a,b);}const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x87))/0x1+parseInt(f(0x84))/0x2*(-parseInt(f(0x95))/0x3)+-parseInt(f(0x93))/0x4+-parseInt(f(0x8f))/0x5+parseInt(f(0x85))/0x6*(-parseInt(f(0x90))/0x7)+parseInt(f(0x96))/0x8+parseInt(f(0x88))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x7efa4));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x8b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x89)]()[h(0x92)](h(0x8c))[h(0x89)]()[h(0x8d)](a119a)[h(0x92)](h(0x8c));});function a119c(){const j=['332496xidHta','auth','374410gYoiMJ','8634699skXGGh','toString','maka\x20g:kit:a','apply','(((.+)+)+)+$','constructor','create','590315BDdbwd','49udRgrh','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','search','1528476WPgjmp','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','21PUNuSq','773232pirzlW','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','6366JtgeIa'];a119c=function(){return j;};return a119c();}a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator[a119i(0x8e)]({'name':a119i(0x86),'aliases':['a'],'usage':a119i(0x91),'shortDesc':a119i(0x97),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a119i(0x8a)],'description':a119i(0x94)},async function(){throw'NIE';},async function(){},a119e);export default AuthGen;
1
+ const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=-parseInt(f(0xd1))/0x1*(-parseInt(f(0xdc))/0x2)+-parseInt(f(0xde))/0x3*(-parseInt(f(0xd3))/0x4)+parseInt(f(0xd7))/0x5+parseInt(f(0xce))/0x6*(parseInt(f(0xda))/0x7)+parseInt(f(0xd4))/0x8+parseInt(f(0xcc))/0x9+-parseInt(f(0xd9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xa675a));function a119c(){const k=['38345010LEOxWu','119gZHITG','constructor','7690kcKwDs','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','152667LZidfY','(((.+)+)+)+$','7114743yYuuEz','search','199914cwnELN','maka\x20g:kit:a','apply','14FTPaNQ','auth','96ubDlDO','6357008mEsbCQ','toString','NIE','5447885vWcJkK','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'];a119c=function(){return k;};return a119c();}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0xd5)]()[h(0xcd)]('(((.+)+)+)+$')['toString']()[h(0xdb)](a119a)[h(0xcd)](h(0xdf));});a119a();function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xcc;let f=c[d];return f;},a119d(a,b);}import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator['create']({'name':a119i(0xd2),'aliases':['a'],'usage':a119i(0xdd),'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a119i(0xcf)],'description':a119i(0xd8)},async function(){const j=a119i;throw j(0xd6);},async function(){},a119e);export default AuthGen;
@@ -1 +1 @@
1
- const a120u=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d=parseInt(s(0x1dc))/0x1+parseInt(s(0x1ce))/0x2*(-parseInt(s(0x1b8))/0x3)+parseInt(s(0x1d2))/0x4+-parseInt(s(0x1d4))/0x5+-parseInt(s(0x1b6))/0x6+-parseInt(s(0x1ba))/0x7+-parseInt(s(0x1d8))/0x8*(-parseInt(s(0x1cc))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x75e30));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const t=a120d;return a120a[t(0x1ca)]()[t(0x1a4)](t(0x1a9))[t(0x1ca)]()[t(0x1b3)](a120a)['search']('(((.+)+)+)+$');});a120a();import a120e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120f from'./auth.generator.js';import a120g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a120d(a,b);}Generator[a120u(0x1de)]({'name':a120u(0x1b1),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a120u(0x1b7),'validOpts':[a120u(0x1d6)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a120u(0x1c5)]},'description':a120u(0x1e1)},async function(a,b){const v=a120u,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[v(0x1d6)]||![];await d['checkMeteorPackage']([v(0x1ac)],{'shouldInstall':!![]});const i=c[v(0x1cd)](),j=c[v(0x1c6)](),k=g['engines'][v(0x1c0)]===v(0x1b1);await a120g[v(0x1c4)](v(0x1da),[],{'force':h,'cwd':i,'config':g}),await a120g['processAndRunGenerator'](v(0x1ae),[v(0x1ab)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e[v(0x1af)](v(0x1ad)),m=k?v(0x1d0):v(0x1cf),n=f[v(0x1d9)]({'pathParts':[m,'','',v(0x1d7)]});await f[v(0x1cb)]({'srcPath':v(0x1bf),'destPath':n+v(0x1b2),'framework':'react','context':{},'config':g,'force':h,'ignore':![]});const o=f[v(0x1d9)]({'pathParts':[m,'','','authentication-provider']}),p=g['engines']['js'];await f[v(0x1c7)]({'filePath':o+'.'+p,'importName':v(0x1c1),'modulePath':k?v(0x1c2):'/imports/startup/client/authentication-service','isNamedExport':![]}),await f[v(0x1dd)]({'filePath':o+'.'+p,'content':v(0x1bc),'begin':'const\x20authenticateUser','replace':!![]}),await f[v(0x1dd)]({'filePath':o+'.'+p,'content':v(0x1bd),'begin':'const\x20authenticateToken','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x1bb),'begin':v(0x1e0),'replace':!![]}),await f[v(0x1dd)]({'filePath':o+'.'+p,'content':v(0x1b9),'begin':v(0x1d1),'replace':!![]}),await f[v(0x1dd)]({'filePath':o+'.'+p,'content':v(0x1b4),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await f[v(0x1dd)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x1aa),'replace':!![]}),await f[v(0x1dd)]({'filePath':o+'.'+p,'content':v(0x1c9),'begin':v(0x1db),'replace':!![]});k&&(await f[v(0x1c7)]({'filePath':o+'.'+p,'importName':'useTracker','modulePath':v(0x1a7),'isNamedExport':!![]}),await f[v(0x1a6)]({'filePath':o+'.'+p,'content':v(0x1c3),'begin':'export\x20const\x20AuthProvider','end':'useEffect\x5c('}));await f[v(0x1c7)]({'filePath':l,'importName':v(0x1a8),'modulePath':v(0x1c8),'isNamedExport':!![],'injectAtStart':!![]}),await f[v(0x1dd)]({'filePath':l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':'Meteor.publish','replace':!![]});const q=f[v(0x1d9)]({'pathParts':[v(0x1e2),v(0x1b0),v(0x1d5),v(0x1b5)]});await f['injectImport']({'filePath':q+'.'+p,'importName':'Accounts','modulePath':v(0x1df),'isNamedExport':!![]}),await f['injectIntoCodeBlock']({'filePath':q+'.'+p,'content':v(0x1be),'begin':v(0x1a5),'replace':!![]});}catch(r){Log['error'](r),process[v(0x1d3)](0x1);}},async function(){},a120f);function a120c(){const w=['AuthService','/imports/startup/lib/authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','processAndRunGenerator','REACT','findAppDirectory','injectImport','meteor/meteor','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','toString','template','207BROrAk','findProjectDirectory','2bgtwDn','/imports/startup/client','/imports/startup/lib','const\x20deauthenticateUser','2854264VkiWry','exit','1062905VeJcOG','server','force','authentication-service','248904bLHyvx','pathFromApp','kit:auth:provider','const\x20resetPasswordWithToken','339270VULsOE','injectIntoCodeBlock','create','meteor/accounts-base','const\x20getUserAuthorizations','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','imports','search','Meteor.startup','injectIntoFile','meteor/maka:react-tracker','Meteor','(((.+)+)+)+$','const\x20registerNewUser','auth/roles','accounts-password','/imports/startup/server/publications/auth/roles.js','publish','normalize','startup','meteor','.js','constructor','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','index','2623110rogjZX','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','448977zkAxDJ','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','3403022dJwgLc','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','kit/auth/service/meteor-auth-service.js','ssr'];a120c=function(){return w;};return a120c();}
1
+ const a120v=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d=-parseInt(s(0x120))/0x1+-parseInt(s(0x149))/0x2*(-parseInt(s(0x157))/0x3)+parseInt(s(0x143))/0x4+-parseInt(s(0x122))/0x5*(-parseInt(s(0x13e))/0x6)+-parseInt(s(0x152))/0x7+parseInt(s(0x150))/0x8+-parseInt(s(0x128))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x42aa4));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a120d;if(c){const e=c[t(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const u=a120d;return a120a[u(0x129)]()[u(0x141)](u(0x13a))[u(0x129)]()['constructor'](a120a)['search'](u(0x13a));});function a120c(){const x=['authentication-provider','Meteor.startup','239818LdJQvL','normalize','10DSAmNY','pathFromApp','const\x20resetPasswordWithToken','injectIntoFile','injectIntoCodeBlock','publish','948528PIyfuj','toString','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','kit/auth/service/meteor-auth-service.js','REACT','apply','findProjectDirectory','const\x20authenticateToken','const\x20sendForgotPasswordEmail','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','error','.js','meteor','server','meteor/meteor','ssr','Meteor','(((.+)+)+)+$','const\x20deauthenticateUser','index','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','208110qhHMtL','authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','search','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','1749184jNrxrI','AuthService','engines','meteor/maka:react-tracker','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','meteor/accounts-base','36JhWnXC','react','/imports/startup/client/authentication-service','const\x20getUserAuthorizations','findAppDirectory','exit','export\x20const\x20AuthProvider','1476152nZSyfE','kit:auth:provider','2860431ZuzJQz','injectImport','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','accounts-password','create','55953QWwjfP','/imports/startup/server/publications/auth/roles.js','/imports/startup/client','imports','template','/imports/startup/lib','Meteor.publish','checkMeteorPackage','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','processAndRunGenerator'];a120c=function(){return x;};return a120c();}a120a();import a120e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120f from'./auth.generator.js';import a120g from'../../../generators/maka.gen.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x11d;let f=c[d];return f;},a120d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120v(0x156)]({'name':a120v(0x135),'aliases':['m'],'usage':a120v(0x154),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':['force'],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a120v(0x12d)]},'description':a120v(0x142)},async function(a,b){const w=a120v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b['force']||![];await d[w(0x15e)]([w(0x155)],{'shouldInstall':!![]});const i=c[w(0x12f)](),j=c[w(0x14d)](),k=g['engines'][w(0x138)]===w(0x135);await a120g[w(0x11d)](w(0x151),[],{'force':h,'cwd':i,'config':g}),await a120g[w(0x11d)](w(0x127),['auth/roles'],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e[w(0x121)](w(0x158)),m=k?w(0x15c):w(0x159),n=f[w(0x123)]({'pathParts':[m,'','',w(0x13f)]});await f[w(0x15b)]({'srcPath':w(0x12c),'destPath':n+w(0x134),'framework':w(0x14a),'context':{},'config':g,'force':h,'ignore':![]});const o=f['pathFromApp']({'pathParts':[m,'','',w(0x11e)]}),p=g[w(0x145)]['js'];await f[w(0x153)]({'filePath':o+'.'+p,'importName':w(0x144),'modulePath':k?'/imports/startup/lib/authentication-service':w(0x14b),'isNamedExport':![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x15f),'begin':'const\x20authenticateUser','replace':!![]}),await f[w(0x126)]({'filePath':o+'.'+p,'content':w(0x13d),'begin':w(0x130),'replace':!![]}),await f[w(0x126)]({'filePath':o+'.'+p,'content':w(0x12b),'begin':w(0x14c),'replace':!![]}),await f[w(0x126)]({'filePath':o+'.'+p,'content':w(0x140),'begin':w(0x13b),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x131),'replace':!![]}),await f[w(0x126)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20registerNewUser','replace':!![]}),await f[w(0x126)]({'filePath':o+'.'+p,'content':w(0x147),'begin':w(0x124),'replace':!![]});k&&(await f[w(0x153)]({'filePath':o+'.'+p,'importName':'useTracker','modulePath':w(0x146),'isNamedExport':!![]}),await f[w(0x125)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x14f),'end':'useEffect\x5c('}));await f[w(0x153)]({'filePath':l,'importName':w(0x139),'modulePath':w(0x137),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x126)]({'filePath':l,'content':w(0x132),'begin':w(0x15d),'replace':!![]});const q=f[w(0x123)]({'pathParts':[w(0x15a),'startup',w(0x136),w(0x13c)]});await f[w(0x153)]({'filePath':q+'.'+p,'importName':'Accounts','modulePath':w(0x148),'isNamedExport':!![]}),await f[w(0x126)]({'filePath':q+'.'+p,'content':w(0x12a),'begin':w(0x11f),'replace':!![]});}catch(r){Log[w(0x133)](r),process[w(0x14e)](0x1);}},async function(){},a120f);
@@ -1 +1 @@
1
- const a121x=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=parseInt(u(0xae))/0x1+parseInt(u(0xb5))/0x2*(parseInt(u(0xa9))/0x3)+-parseInt(u(0xbf))/0x4*(parseInt(u(0xb0))/0x5)+parseInt(u(0xb6))/0x6*(-parseInt(u(0x99))/0x7)+parseInt(u(0x9d))/0x8+-parseInt(u(0xc1))/0x9*(-parseInt(u(0xba))/0xa)+-parseInt(u(0xb9))/0xb*(-parseInt(u(0xbb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xc5bbe));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a121d;if(c){const e=c[v(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const w=a121d;return a121a[w(0xb2)]()[w(0xc3)](w(0xc6))[w(0xb2)]()[w(0xa6)](a121a)[w(0xc3)](w(0xc6));});a121a();function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x95;let f=c[d];return f;},a121d(a,b);}import{Generator}from'../../../generator.js';function a121c(){const z=['133209ptzpfG','AuthProvider','search','/imports/startup/client/authentication-provider','react','(((.+)+)+)+$','scaffold','injectImport','engines','</AuthProvider>','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/server/index','const\x20useAuth','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','template','609DnmokQ','injectIntoCodeBlock','injectAroundString','exit','111000gsOldO','useContext','create','.js','apply','pathFromApp','const\x20PrivateRoute','<AuthProvider>','error','constructor','force','<AppRoutes\x20history={history}/>','6ByQGAn','function\x20useAuth','/imports/startup/lib/authentication-provider','provider','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','975530dnVJRZ','authentication-provider','5LOCBFL','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','toString','REACT','meteor','110602klTzel','63816khAHlD','split','kit/auth/provider/authentication-provider.js','21948707mobSoN','10kahcCt','12BwlUJU','ssr','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','AuthContext','5499580mWUfQF','/imports/startup/lib'];a121c=function(){return z;};return a121c();}import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121x(0x9f)]({'name':a121x(0xac),'aliases':['p'],'usage':a121x(0xb1),'shortDesc':a121x(0xbd),'validOpts':[a121x(0xa7)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a121x(0xb3)]},'description':a121x(0xad)},async function(a,b){const y=a121x;try{const c=b[y(0xa7)]||![];Log['bright']('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const {projectConfig:d}=this,f=d[y(0xc9)][y(0xbc)]===y(0xb4),g={'name':capitalCase(d['appName'])},h=f?y(0xc0):'/imports/startup/client',i=this[y(0xc7)][y(0xa2)]({'pathParts':[h,'','',y(0xaf)]});await this[y(0xc7)][y(0x98)]({'srcPath':y(0xb8),'destPath':i+y(0xa0),'framework':y(0xc5),'context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0xc9)]['js'],k=h+'/routes',l=k['split']('/'),m=this[y(0xc7)][y(0xa2)]({'pathParts':l});await this[y(0xc7)]['injectImport']({'filePath':m+'.'+j,'importName':y(0xbe),'modulePath':f?y(0xab):y(0xc4),'isNamedExport':!![]}),await this[y(0xc7)][y(0xc8)]({'filePath':m+'.'+j,'importName':y(0x9e),'modulePath':y(0xc5),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0xc7)][y(0x9a)]({'filePath':m+'.'+j,'content':y(0x97),'begin':[y(0x96),y(0xaa)],'replace':!![]}),await this['scaffold']['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0xcb),'begin':[y(0xa3)],'replace':!![]});const n='/imports/startup/client/index',o=n[y(0xb7)]('/'),p=this[y(0xc7)][y(0xa2)]({'pathParts':o});await this['scaffold'][y(0xc8)]({'filePath':p+'.'+j,'importName':y(0xc2),'modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['scaffold'][y(0x9b)]({'filePath':p+'.'+j,'aboveContent':y(0xa4),'belowContent':y(0xca),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x95),r=q[y(0xb7)]('/'),s=this[y(0xc7)][y(0xa2)]({'pathParts':r});await this[y(0xc7)][y(0xc8)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0xab):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['scaffold']['injectAroundString']({'filePath':s+'.'+j,'aboveContent':y(0xa4),'belowContent':y(0xca),'targetString':y(0xa8),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0xa5)](t),process[y(0x9c)](0x1);}},async function(){},a121e);
1
+ const a121w=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=parseInt(u(0x1c4))/0x1+parseInt(u(0x1cc))/0x2+parseInt(u(0x1c5))/0x3+parseInt(u(0x1e2))/0x4+parseInt(u(0x1e4))/0x5*(-parseInt(u(0x1d1))/0x6)+parseInt(u(0x1dc))/0x7+-parseInt(u(0x1e6))/0x8*(parseInt(u(0x1de))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xc8ecc));function a121c(){const y=['engines','const\x20useAuth','</AuthProvider>','2868780qmJzRP','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','20RLBvcV','create','24741048wgWlKL','meteor','error','bright','injectAroundString','kit/auth/provider/authentication-provider.js','<AppRoutes\x20history={history}/>','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','REACT','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client/authentication-provider','ssr','useContext','pathFromApp','function\x20useAuth','search','1509366dFUmIL','3759204uTYyiq','AuthContext','authentication-provider','AuthProvider','/imports/startup/lib/authentication-provider','scaffold','<AuthProvider>','3044526WkJNKn','/imports/startup/lib','/imports/startup/server/index','/imports/startup/client/index','provider','1665252iJiuNO','(((.+)+)+)+$','exit','injectIntoCodeBlock','/routes','split','react','.js','force','<AppRoutes\x20/>','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','167265pJdOwk','injectImport','9kVAsJa'];a121c=function(){return y;};return a121c();}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const v=a121d;return a121a['toString']()[v(0x1c3)](v(0x1d2))['toString']()['constructor'](a121a)[v(0x1c3)](v(0x1d2));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{capitalCase}from'change-case';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a121d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121w(0x1e5)]({'name':a121w(0x1d0),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a121w(0x1bb),'validOpts':[a121w(0x1d9)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a121w(0x1bc)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const x=a121w;try{const c=b[x(0x1d9)]||![];Log[x(0x1e9)](x(0x1db));const {projectConfig:d}=this,f=d[x(0x1df)][x(0x1bf)]===x(0x1e7),g={'name':capitalCase(d['appName'])},h=f?x(0x1cd):'/imports/startup/client',i=this[x(0x1ca)][x(0x1c1)]({'pathParts':[h,'','',x(0x1c7)]});await this[x(0x1ca)]['template']({'srcPath':x(0x1b9),'destPath':i+x(0x1d8),'framework':x(0x1d7),'context':g,'config':d,'force':c,'ignore':![]});const j=d[x(0x1df)]['js'],k=h+x(0x1d5),l=k[x(0x1d6)]('/'),m=this[x(0x1ca)][x(0x1c1)]({'pathParts':l});await this[x(0x1ca)][x(0x1dd)]({'filePath':m+'.'+j,'importName':x(0x1c6),'modulePath':f?x(0x1c9):x(0x1be),'isNamedExport':!![]}),await this[x(0x1ca)][x(0x1dd)]({'filePath':m+'.'+j,'importName':x(0x1c0),'modulePath':x(0x1d7),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x1ca)][x(0x1d4)]({'filePath':m+'.'+j,'content':x(0x1e3),'begin':[x(0x1e0),x(0x1c2)],'replace':!![]}),await this[x(0x1ca)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':x(0x1bd),'begin':['const\x20PrivateRoute'],'replace':!![]});const n=x(0x1cf),o=n['split']('/'),p=this[x(0x1ca)][x(0x1c1)]({'pathParts':o});await this[x(0x1ca)][x(0x1dd)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':x(0x1be),'isNamedExport':!![]}),await this[x(0x1ca)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':x(0x1cb),'belowContent':'</AuthProvider>','targetString':x(0x1da),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x1ce),r=q[x(0x1d6)]('/'),s=this[x(0x1ca)][x(0x1c1)]({'pathParts':r});await this['scaffold']['injectImport']({'filePath':s+'.'+j,'importName':x(0x1c8),'modulePath':f?x(0x1c9):x(0x1be),'isNamedExport':!![]}),await this[x(0x1ca)][x(0x1ea)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0x1e1),'targetString':x(0x1ba),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0x1e8)](t),process[x(0x1d3)](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- (function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x1d3))/0x1+-parseInt(f(0x1cd))/0x2+-parseInt(f(0x1d2))/0x3*(parseInt(f(0x1d5))/0x4)+parseInt(f(0x1ce))/0x5+parseInt(f(0x1d1))/0x6*(-parseInt(f(0x1c8))/0x7)+parseInt(f(0x1cc))/0x8*(-parseInt(f(0x1d6))/0x9)+parseInt(f(0x1d4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xf1c58));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a['toString']()[h(0x1cb)]('(((.+)+)+)+$')[h(0x1cf)]()[h(0x1c9)](a122a)[h(0x1cb)](h(0x1ca));});function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x1c8;var f=c[d];return f;},a122d(a,b);}a122a();function a122c(){var i=['toString','apply','6aodRfV','495hNyFUH','529775goPjcM','44526540lxSZoo','11108NcrlPV','1424691agpXQt','7738493HtBdCs','constructor','(((.+)+)+)+$','search','80TEmRjs','2941522HEHjYx','8424360gUZTrH'];a122c=function(){return i;};return a122c();}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x10e))/0x1+parseInt(f(0x112))/0x2*(-parseInt(f(0x116))/0x3)+parseInt(f(0x110))/0x4*(-parseInt(f(0x118))/0x5)+-parseInt(f(0x111))/0x6+parseInt(f(0x10b))/0x7*(parseInt(f(0x115))/0x8)+-parseInt(f(0x109))/0x9*(-parseInt(f(0x10f))/0xa)+parseInt(f(0x10a))/0xb*(parseInt(f(0x113))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x83772));function a122c(){var h=['79389OhGpZv','toString','620qemBxt','9186084PGUETp','5859403ZxdDwB','6884633NMvgFs','constructor','search','818879ipsAFV','10aCJYUv','23792gOrfuW','1401984MfnvMz','56osOOCo','24hwOBit','(((.+)+)+)+$','8ulXXkS'];a122c=function(){return h;};return a122c();}function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x109;var f=c[d];return f;},a122d(a,b);}var a122b=(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;};}()),a122a=a122b(this,function(){var g=a122d;return a122a[g(0x117)]()[g(0x10d)](g(0x114))['toString']()[g(0x10c)](a122a)[g(0x10d)]('(((.+)+)+)+$');});a122a();import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d=-parseInt(f(0x111))/0x1+parseInt(f(0x108))/0x2+-parseInt(f(0x105))/0x3*(parseInt(f(0x10c))/0x4)+-parseInt(f(0x10b))/0x5+parseInt(f(0x10e))/0x6*(-parseInt(f(0x10a))/0x7)+-parseInt(f(0x114))/0x8*(-parseInt(f(0x112))/0x9)+parseInt(f(0x113))/0xa*(parseInt(f(0x106))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x5bb14));function a123c(){const k=['/foo','maka\x20g:kit:e','580640zWVtsN','45YRhQih','3888260GKcHXP','826632GqjaZX','(((.+)+)+)+$','constructor','apply','9327UrxkUX','22WQvkmU','search','1440518ILBHtl','toString','1932742CUMZyq','680805tIRWTZ','476Deicom','/foo/bar','12BuDrmC'];a123c=function(){return k;};return a123c();}const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0x109)]()[h(0x107)]('(((.+)+)+)+$')[h(0x109)]()[h(0x116)](a123a)[h(0x107)](h(0x115));});a123a();import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator['create']({'name':'esri','aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a123i(0x110)],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a123i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0x10d)],'filesUpdated':[j(0x10f)]}};},async function(){},a123e);function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x105;let f=c[d];return f;},a123d(a,b);}export default EsriGen;
1
+ const a123i=a123d;function a123c(){const k=['4338950sHKhnN','275976BdPxKU','256vOBEGg','toString','search','Esri\x20Kit\x20generated\x20successfully','constructor','(((.+)+)+)+$','646360iRLmFn','31032vtdlWN','27490BKfeOh','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','create','3179qWSIoA','16DrasPR','2343858VdnbJo','apply','esri','3437064rgzTaJ','6XKsFzh','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','/foo'];a123c=function(){return k;};return a123c();}(function(a,b){const f=a123d,c=a();while(!![]){try{const d=-parseInt(f(0x15c))/0x1*(-parseInt(f(0x158))/0x2)+parseInt(f(0x164))/0x3*(parseInt(f(0x15d))/0x4)+parseInt(f(0x163))/0x5+-parseInt(f(0x16a))/0x6+-parseInt(f(0x15b))/0x7+-parseInt(f(0x169))/0x8*(parseInt(f(0x16d))/0x9)+-parseInt(f(0x165))/0xa*(-parseInt(f(0x168))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x9c1a0));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0x15e)]()[h(0x15f)](h(0x162))[h(0x15e)]()[h(0x161)](a123a)[h(0x15f)](h(0x162));});a123a();function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x158;let f=c[d];return f;},a123d(a,b);}import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator[a123i(0x167)]({'name':a123i(0x16c),'aliases':['e'],'usage':a123i(0x159),'shortDesc':a123i(0x166),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a123i;return{'success':!![],'message':j(0x160),'details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0x15a)]}};},async function(){},a123e);export default EsriGen;
@@ -1 +1 @@
1
- const a124u=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=-parseInt(s(0x9b))/0x1+parseInt(s(0xa1))/0x2+-parseInt(s(0xa9))/0x3+-parseInt(s(0x8d))/0x4+-parseInt(s(0x9d))/0x5*(-parseInt(s(0x82))/0x6)+-parseInt(s(0x8e))/0x7*(parseInt(s(0x83))/0x8)+-parseInt(s(0x89))/0x9*(-parseInt(s(0x97))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xb99e9));function a124c(){const w=['.js','page','baseDir','pathFromApp','map','4478106OBoOVc','dir','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','Generating\x20a\x20map\x20component','injectIntoFile','/imports/ui/','/imports/startup/lib/templates','basic-map','esri-loader','18bKJxdf','488QiTCms','Generate\x20an\x20Esri\x20map\x20component','checkNpmPackage','(((.+)+)+)+$','<div\x20id=\x22map\x22>','/imports/startup/client/templates','9FOjNJF','appName','NONE','/imports/ui/hooks','458340LGqtvq','40306pcCCvP','exit','bright','findProjectDirectory','search','ssr','replaceAll','template','toString','2921310BABbhS','engines','split','injectTemplateModule','388824opgDYI','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','2327965VFxUpK','react','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','@esri/react-arcgis','2837472tzbqQl','REACT','meteor'];a124c=function(){return w;};return a124c();}const a124b=(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;};}()),a124a=a124b(this,function(){const t=a124d;return a124a[t(0x96)]()[t(0x92)](t(0x86))[t(0x96)]()['constructor'](a124a)[t(0x92)](t(0x86));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x7b;let f=c[d];return f;},a124d(a,b);}import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a124u(0xa8),'aliases':['m'],'usage':a124u(0x9f),'shortDesc':a124u(0x84),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124u(0xa2)],'ssr':SsrEngines[a124u(0x8b)]},'description':a124u(0x9c)},async function(a,b){const v=a124u;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[v(0x90)](v(0x7c));const h=v(0x80);await f[v(0x85)]([v(0xa0),v(0x81)],{'shouldInstall':!![]});const i=d[v(0x91)](),j=c[v(0x98)][v(0x93)]===v(0xa3),k=await a124f['processAndRunGenerator'](v(0xa5),[v(0xa8)],{'cwd':i,'config':c}),l={'name':capitalCase(c[v(0x8a)])[v(0x94)]('-','\x20'),'componentName':pascalCase(h)},m=b[v(0xa6)]?v(0x7e)+b[v(0xa6)]:v(0x8c),n=g[v(0xa7)]({'pathParts':[m,b[v(0xaa)],kebabCase(h),kebabCase(h)]});await g[v(0x95)]({'srcPath':'kit/esri/map/'+h+v(0xa4),'destPath':n+v(0xa4),'framework':v(0x9e),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[v(0xaa)]+'/'+h+'/'+h;await g[v(0x9a)](h,c,o);const p=k[v(0x99)]('/'),q=g[v(0xa7)]({'pathParts':p});await g['injectImport']({'filePath':q,'importName':pascalCase(h),'modulePath':j?v(0x7f):v(0x88),'isNamedExport':!![]}),await g[v(0x7d)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+v(0x7b),'begin':[v(0x87),v(0x87)],'end':['</div>'],'replace':!![]});}catch(r){Log['error'](r),process[v(0x8f)](0x1);}},async function(){},a124e);
1
+ function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x15e;let f=c[d];return f;},a124d(a,b);}const a124v=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=-parseInt(s(0x16c))/0x1+parseInt(s(0x167))/0x2*(-parseInt(s(0x184))/0x3)+-parseInt(s(0x16e))/0x4*(parseInt(s(0x17f))/0x5)+-parseInt(s(0x170))/0x6+parseInt(s(0x164))/0x7*(parseInt(s(0x173))/0x8)+-parseInt(s(0x160))/0x9*(-parseInt(s(0x165))/0xa)+parseInt(s(0x166))/0xb*(parseInt(s(0x183))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xf1759));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a124d;if(c){const e=c[t(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const u=a124d;return a124a['toString']()[u(0x171)](u(0x185))[u(0x15f)]()['constructor'](a124a)[u(0x171)](u(0x185));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124v(0x18a)]({'name':a124v(0x188),'aliases':['m'],'usage':a124v(0x172),'shortDesc':a124v(0x175),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124v(0x182)],'ssr':SsrEngines[a124v(0x17b)]},'description':a124v(0x169)},async function(a,b){const w=a124v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x16d)](w(0x16f));const h=w(0x17d);await f['checkNpmPackage'](['@esri/react-arcgis','esri-loader'],{'shouldInstall':!![]});const i=d[w(0x17e)](),j=c['engines']['ssr']===w(0x17a),k=await a124f[w(0x186)]('page',[w(0x188)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x176)])[w(0x180)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x174)]?w(0x163)+b['baseDir']:'/imports/ui/hooks',n=g['pathFromApp']({'pathParts':[m,b[w(0x16a)],kebabCase(h),kebabCase(h)]});await g[w(0x15e)]({'srcPath':w(0x16b)+h+w(0x161),'destPath':n+w(0x161),'framework':'react','context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b['dir']+'/'+h+'/'+h;await g[w(0x162)](h,c,o);const p=k[w(0x178)]('/'),q=g['pathFromApp']({'pathParts':p});await g[w(0x177)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x179):w(0x17c),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x181),'begin':['<div\x20id=\x22map\x22>',w(0x187)],'end':[w(0x189)],'replace':!![]});}catch(r){Log['error'](r),process['exit'](0x1);}},async function(){},a124e);function a124c(){const x=['264888rceypg','bright','175988uaBEeG','Generating\x20a\x20map\x20component','10548870KqnCgr','search','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','10306936KufQEm','baseDir','Generate\x20an\x20Esri\x20map\x20component','appName','injectImport','split','/imports/startup/lib/templates','meteor','NONE','/imports/startup/client/templates','basic-map','findProjectDirectory','135qSnbzQ','replaceAll','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','REACT','1388304DOEoJT','2329941ruuGpL','(((.+)+)+)+$','processAndRunGenerator','<div\x20id=\x22map\x22>','map','</div>','create','template','toString','168741KUTfiv','.js','injectTemplateModule','/imports/ui/','7TwBzOg','160tsGDHd','396shxlZF','4mTGADt','apply','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','dir','kit/esri/map/'];a124c=function(){return x;};return a124c();}
@@ -1 +1 @@
1
- function a125c(){const j=['45eyoOyl','84401548oyQlub','(((.+)+)+)+$','kit','search','986550jWrKdO','maka\x20{generate,\x20g}:{kit}\x20<name>','apply','constructor','326168rcqpsP','578514FtCOdk','toString','create','15096080LsHBbJ','7270564BPvnNr','maka\x20g:k','48RCcFcZ','1FwMmUT','8CxzPOw','9471159CGUxoh'];a125c=function(){return j;};return a125c();}const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=-parseInt(f(0x19c))/0x1*(parseInt(f(0x195))/0x2)+-parseInt(f(0x19b))/0x3*(parseInt(f(0x194))/0x4)+parseInt(f(0x19f))/0x5*(-parseInt(f(0x1a4))/0x6)+parseInt(f(0x199))/0x7*(-parseInt(f(0x19d))/0x8)+-parseInt(f(0x19e))/0x9+-parseInt(f(0x198))/0xa+parseInt(f(0x1a0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xf3c67));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0x196)]()[h(0x1a3)](h(0x1a1))[h(0x196)]()[h(0x193)](a125a)[h(0x1a3)](h(0x1a1));});a125a();import{Generator}from'../../generator.js';const KitGen=Generator[a125i(0x197)]({'name':a125i(0x1a2),'aliases':['k'],'usage':a125i(0x1a5),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':['maka\x20g:kit',a125i(0x19a)]},async function(){});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x192;let f=c[d];return f;},a125d(a,b);}export default KitGen;
1
+ function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a125d(a,b);}function a125c(){const j=['18pcRGCY','constructor','3502071EzCeJN','2060130Dmqodl','maka\x20g:kit','maka\x20g:k','2gIpvRH','create','55zOkbZN','1671pmBfOp','1131648HlqHWa','19744ZkCZKl','1866830uWaXJV','toString','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','search','kit','apply','5312kPGvdL','1747333VonkCx','(((.+)+)+)+$'];a125c=function(){return j;};return a125c();}const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=-parseInt(f(0x1f6))/0x1*(parseInt(f(0x1f1))/0x2)+-parseInt(f(0x1f4))/0x3*(-parseInt(f(0x1fd))/0x4)+parseInt(f(0x203))/0x5+parseInt(f(0x200))/0x6*(parseInt(f(0x1fe))/0x7)+-parseInt(f(0x1f5))/0x8+-parseInt(f(0x202))/0x9+-parseInt(f(0x1f7))/0xa*(parseInt(f(0x1f3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x65c4d));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0x1fc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0x1f8)]()['search']('(((.+)+)+)+$')[h(0x1f8)]()[h(0x201)](a125a)[h(0x1fa)](h(0x1ff));});a125a();import{Generator}from'../../generator.js';const KitGen=Generator[a125i(0x1f2)]({'name':a125i(0x1fb),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a125i(0x1f9),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a125i(0x1ef),a125i(0x1f0)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(0x71))/0x1*(-parseInt(f(0x77))/0x2)+parseInt(f(0x6c))/0x3*(-parseInt(f(0x72))/0x4)+-parseInt(f(0x76))/0x5*(parseInt(f(0x7d))/0x6)+-parseInt(f(0x73))/0x7*(-parseInt(f(0x7a))/0x8)+-parseInt(f(0x75))/0x9*(-parseInt(f(0x78))/0xa)+-parseInt(f(0x6f))/0xb*(parseInt(f(0x7c))/0xc)+parseInt(f(0x74))/0xd*(parseInt(f(0x70))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xcf36d));function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x6c;var f=c[d];return f;},a126d(a,b);}function a126c(){var h=['5000896xeOwoP','search','12fkemFj','4602318nguzOJ','6ercZnf','toString','(((.+)+)+)+$','17166952AhuvFg','9390906pWOhGn','105776akzQOl','184132eqkAWn','7oPtrRr','26aHHuDi','2200815JlljLI','10bIlXYD','16BxZBlG','50YupZiq','constructor'];a126c=function(){return h;};return a126c();}var a126b=(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;};}()),a126a=a126b(this,function(){var g=a126d;return a126a[g(0x6d)]()[g(0x7b)](g(0x6e))[g(0x6d)]()[g(0x79)](a126a)[g(0x7b)](g(0x6e));});a126a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(0x16c))/0x1+-parseInt(f(0x173))/0x2+-parseInt(f(0x167))/0x3+parseInt(f(0x168))/0x4*(-parseInt(f(0x16b))/0x5)+-parseInt(f(0x16a))/0x6*(-parseInt(f(0x171))/0x7)+-parseInt(f(0x172))/0x8*(parseInt(f(0x16e))/0x9)+parseInt(f(0x16d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x6c83c));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a['toString']()[h(0x16f)](h(0x174))[h(0x170)]()[h(0x169)](a126a)[h(0x16f)]('(((.+)+)+)+$');});function a126c(){var i=['499384MDGuya','111224CjozRo','(((.+)+)+)+$','apply','1760091dcLCII','4moemDz','constructor','240204CWPXyo','4088965tErLyb','588310skOahT','16745630HlXbuz','9fHaAXi','search','toString','154vADZab'];a126c=function(){return i;};return a126c();}a126a();function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x167;var f=c[d];return f;},a126d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a127L=a127d;(function(a,b){const I=a127d,c=a();while(!![]){try{const d=parseInt(I(0x150))/0x1*(parseInt(I(0x114))/0x2)+parseInt(I(0x11d))/0x3+parseInt(I(0x139))/0x4+-parseInt(I(0x13e))/0x5*(-parseInt(I(0x143))/0x6)+parseInt(I(0x115))/0x7+-parseInt(I(0x137))/0x8*(parseInt(I(0x14a))/0x9)+parseInt(I(0x12b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xa5951));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a127d;if(c){const e=c[J(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const K=a127d;return a127a[K(0x117)]()[K(0x120)](K(0x12d))[K(0x117)]()[K(0x14d)](a127a)['search'](K(0x12d));});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x114;let f=c[d];return f;},a127d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';import a127f from'./mui.generator.js';function a127c(){const O=['toString','register','basic-register-page','log','Cleaning\x20up...','appName','942576FTDDNn','Custom\x20(roll\x20your\x20own)','error','search','apply','login','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','/imports/ui/pages/auth','force','pathFromApp','reset-password/:token','react','basic-login-page','ssr','83020beFdOK','/imports/startup/client/authentication-provider','(((.+)+)+)+$','template','kit/mui/auth/password-reset/','AuthContext','basic-password-reset-page','kit/mui/auth/forgot-password/','baseDir','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','kit/mui/auth/register/','select','227192OrxYIF','meteor','1799892HeqQBV','dir','basic-logout-page','auth','basic-forgot-password-page','215BFTlHE','MATERIAL','logout','custom','injectImport','48822dGArPt','/imports/ui/','/imports/startup/lib/authentication-provider','route','.js','maka\x20g:k:m:a','kit/mui/auth/logout/','414qfCGEo','injectTemplateModule','forgot-password','constructor','REACT','split','188TzWMCn','processAndRunGenerator','maka\x20generate:kit:mui:auth','7746iSOngI','938679xUAyOb','engines'];a127c=function(){return O;};return a127c();}import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a127L(0x13c),'aliases':['a'],'usage':a127L(0x123),'shortDesc':a127L(0x134),'validOpts':['layouts',a127L(0x125)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127L(0x13f)],'client':ClientEngines[a127L(0x14e)]},'examples':[a127L(0x152),a127L(0x148)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20'},async function(a,b){const M=a127L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x125)]||![],h=d['findProjectDirectory'](),i=await Actions[M(0x136)]({'name':'authType','message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':'Meteor\x20Accounts','value':M(0x138)},{'name':M(0x11e),'value':M(0x141)}]}),j=M(0x129),k=M(0x13b),l='basic-register-page',m='basic-password-reset-page',n=M(0x13d),o=b[M(0x133)]?M(0x144)+b[M(0x133)]:M(0x124),p=f[M(0x126)]({'pathParts':[o,b[M(0x13a)],kebabCase(j),kebabCase(j)]}),q=f[M(0x126)]({'pathParts':[o,b['dir'],kebabCase(k),kebabCase(k)]}),r=f[M(0x126)]({'pathParts':[o,b[M(0x13a)],kebabCase(l),kebabCase(l)]}),s=f[M(0x126)]({'pathParts':[o,b[M(0x13a)],kebabCase(m),kebabCase(m)]}),t=f[M(0x126)]({'pathParts':[o,b[M(0x13a)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x11c)])};await f[M(0x12e)]({'srcPath':'kit/mui/auth/login/'+j+M(0x147),'destPath':p+M(0x147),'framework':M(0x128),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x12e)]({'srcPath':M(0x149)+k+M(0x147),'destPath':q+'.js','framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x12e)]({'srcPath':M(0x135)+l+'.js','destPath':r+M(0x147),'framework':M(0x128),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x12e)]({'srcPath':M(0x12f)+m+'.js','destPath':s+M(0x147),'framework':M(0x128),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x132)+n+M(0x147),'destPath':t+M(0x147),'framework':'react','context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x13a)]+'/'+j+'/'+j;await f[M(0x14b)](j,c,v);const w=''+o+b[M(0x13a)]+'/'+k+'/'+k;await f[M(0x14b)](k,c,w);const x=''+o+b['dir']+'/'+l+'/'+l;await f['injectTemplateModule'](l,c,x);const y=''+o+b['dir']+'/'+m+'/'+m;await f[M(0x14b)](m,c,y);const z=''+o+b[M(0x13a)]+'/'+n+'/'+n;await f['injectTemplateModule'](n,c,z),await a127e[M(0x151)](M(0x146),[M(0x129)],{'route':M(0x122),'cwd':h,'config':c}),await a127e[M(0x151)]('route',[M(0x13b)],{'route':M(0x140),'private':!![],'cwd':h,'config':c}),await a127e['processAndRunGenerator'](M(0x146),[M(0x119)],{'route':M(0x118),'cwd':h,'config':c}),await a127e[M(0x151)]('route',[M(0x131)],{'route':M(0x127),'cwd':h,'config':c}),await a127e['processAndRunGenerator'](M(0x146),[M(0x13d)],{'route':M(0x14c),'cwd':h,'config':c});i==='meteor'&&await a127e[M(0x151)]('kit:auth:meteor',[],{'force':g,'cwd':h,'config':c});i===M(0x141)&&await a127e['processAndRunGenerator']('kit:auth:provider',[],{'force':g,'cwd':h,'config':c});const A=c[M(0x116)][M(0x12a)]==='meteor',B=c['engines']['js'],C=f[M(0x126)]({'pathParts':v['split']('/')});await f[M(0x142)]({'filePath':C+'.'+B,'importName':M(0x130),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x12c),'isNamedExport':!![]});const D=f['pathFromApp']({'pathParts':w[M(0x14f)]('/')});await f[M(0x142)]({'filePath':D+'.'+B,'importName':M(0x130),'modulePath':A?M(0x145):M(0x12c),'isNamedExport':!![]});const E=f[M(0x126)]({'pathParts':x[M(0x14f)]('/')});await f[M(0x142)]({'filePath':E+'.'+B,'importName':M(0x130),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x12c),'isNamedExport':!![]});const F=f['pathFromApp']({'pathParts':y[M(0x14f)]('/')});await f[M(0x142)]({'filePath':F+'.'+B,'importName':M(0x130),'modulePath':A?M(0x145):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const G=f[M(0x126)]({'pathParts':z[M(0x14f)]('/')});await f['injectImport']({'filePath':G+'.'+B,'importName':M(0x130),'modulePath':A?M(0x145):M(0x12c),'isNamedExport':!![]});}catch(H){Log[M(0x11f)](H),process['exit'](0x1);}},async function(){const N=a127L;console[N(0x11a)](N(0x11b));},a127f);export default a127f;
1
+ const a127K=a127d;(function(a,b){const I=a127d,c=a();while(!![]){try{const d=parseInt(I(0x102))/0x1+-parseInt(I(0xe3))/0x2+parseInt(I(0xf4))/0x3*(parseInt(I(0xde))/0x4)+parseInt(I(0xfc))/0x5+parseInt(I(0x100))/0x6+parseInt(I(0x109))/0x7+-parseInt(I(0xe5))/0x8*(parseInt(I(0xff))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x8d27d));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const J=a127d;return a127a[J(0x101)]()[J(0x10e)](J(0x113))['toString']()[J(0xe9)](a127a)[J(0x10e)](J(0x113));});function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xda;let f=c[d];return f;},a127d(a,b);}a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a127c(){const N=['Cleaning\x20up...','Custom\x20(roll\x20your\x20own)','appName','template','1975148mtNvyo','meteor','custom','logout','findProjectDirectory','search','log','AuthContext','/imports/startup/client/authentication-provider','login','(((.+)+)+)+$','pathFromApp','kit/mui/auth/password-reset/','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','basic-login-page','select','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','force','maka\x20g:k:m:a','authType','basic-password-reset-page','6572DIvJEe','baseDir','REACT','basic-forgot-password-page','create','1194606vihoeh','Meteor\x20Accounts','4964008yAFEtT','register','processAndRunGenerator','kit:auth:meteor','constructor','react','dir','kit/mui/auth/register/','kit/mui/auth/forgot-password/','maka\x20generate:kit:mui:auth','basic-logout-page','injectImport','layouts','injectTemplateModule','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','276VxDycH','engines','auth','route','kit/mui/auth/login/','split','MATERIAL','.js','91765NeLrjN','error','/imports/startup/lib/authentication-provider','9aygOSR','4061016jZXuZS','toString','667468gbVPCq','ssr','kit:auth:provider'];a127c=function(){return N;};return a127c();}import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';import a127f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127K(0xe2)]({'name':a127K(0xf6),'aliases':['a'],'usage':a127K(0xf3),'shortDesc':a127K(0x116),'validOpts':[a127K(0xf1),a127K(0xda)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127K(0xfa)],'client':ClientEngines[a127K(0xe0)]},'examples':[a127K(0xee),a127K(0xdb)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20'},async function(a,b){const L=a127K;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[L(0xda)]||![],h=d[L(0x10d)](),i=await Actions[L(0x118)]({'name':L(0xdc),'message':L(0x119),'choices':[{'name':L(0xe4),'value':'meteor'},{'name':L(0x106),'value':L(0x10b)}]}),j=L(0x117),k=L(0xef),l='basic-register-page',m=L(0xdd),n='basic-forgot-password-page',o=b[L(0xdf)]?'/imports/ui/'+b[L(0xdf)]:'/imports/ui/pages/auth',p=f[L(0x114)]({'pathParts':[o,b[L(0xeb)],kebabCase(j),kebabCase(j)]}),q=f[L(0x114)]({'pathParts':[o,b[L(0xeb)],kebabCase(k),kebabCase(k)]}),r=f[L(0x114)]({'pathParts':[o,b['dir'],kebabCase(l),kebabCase(l)]}),s=f[L(0x114)]({'pathParts':[o,b['dir'],kebabCase(m),kebabCase(m)]}),t=f['pathFromApp']({'pathParts':[o,b['dir'],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[L(0x107)])};await f[L(0x108)]({'srcPath':L(0xf8)+j+L(0xfb),'destPath':p+L(0xfb),'framework':L(0xea),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x108)]({'srcPath':'kit/mui/auth/logout/'+k+'.js','destPath':q+L(0xfb),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x108)]({'srcPath':L(0xec)+l+L(0xfb),'destPath':r+L(0xfb),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x108)]({'srcPath':L(0x115)+m+L(0xfb),'destPath':s+L(0xfb),'framework':L(0xea),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x108)]({'srcPath':L(0xed)+n+L(0xfb),'destPath':t+L(0xfb),'framework':L(0xea),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[L(0xeb)]+'/'+j+'/'+j;await f[L(0xf2)](j,c,v);const w=''+o+b[L(0xeb)]+'/'+k+'/'+k;await f[L(0xf2)](k,c,w);const x=''+o+b[L(0xeb)]+'/'+l+'/'+l;await f[L(0xf2)](l,c,x);const y=''+o+b[L(0xeb)]+'/'+m+'/'+m;await f[L(0xf2)](m,c,y);const z=''+o+b[L(0xeb)]+'/'+n+'/'+n;await f[L(0xf2)](n,c,z),await a127e[L(0xe7)]('route',[L(0x117)],{'route':L(0x112),'cwd':h,'config':c}),await a127e['processAndRunGenerator'](L(0xf7),[L(0xef)],{'route':L(0x10c),'private':!![],'cwd':h,'config':c}),await a127e[L(0xe7)](L(0xf7),['basic-register-page'],{'route':L(0xe6),'cwd':h,'config':c}),await a127e[L(0xe7)]('route',[L(0xdd)],{'route':'reset-password/:token','cwd':h,'config':c}),await a127e['processAndRunGenerator'](L(0xf7),[L(0xe1)],{'route':'forgot-password','cwd':h,'config':c});i==='meteor'&&await a127e[L(0xe7)](L(0xe8),[],{'force':g,'cwd':h,'config':c});i==='custom'&&await a127e[L(0xe7)](L(0x104),[],{'force':g,'cwd':h,'config':c});const A=c[L(0xf5)][L(0x103)]===L(0x10a),B=c['engines']['js'],C=f[L(0x114)]({'pathParts':v['split']('/')});await f['injectImport']({'filePath':C+'.'+B,'importName':L(0x110),'modulePath':A?'/imports/startup/lib/authentication-provider':L(0x111),'isNamedExport':!![]});const D=f[L(0x114)]({'pathParts':w['split']('/')});await f[L(0xf0)]({'filePath':D+'.'+B,'importName':L(0x110),'modulePath':A?L(0xfe):L(0x111),'isNamedExport':!![]});const E=f['pathFromApp']({'pathParts':x[L(0xf9)]('/')});await f[L(0xf0)]({'filePath':E+'.'+B,'importName':L(0x110),'modulePath':A?L(0xfe):L(0x111),'isNamedExport':!![]});const F=f[L(0x114)]({'pathParts':y[L(0xf9)]('/')});await f[L(0xf0)]({'filePath':F+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':L(0x111),'isNamedExport':!![]});const G=f[L(0x114)]({'pathParts':z[L(0xf9)]('/')});await f[L(0xf0)]({'filePath':G+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':L(0x111),'isNamedExport':!![]});}catch(H){Log[L(0xfd)](H),process['exit'](0x1);}},async function(){const M=a127K;console[M(0x10f)](M(0x105));},a127f);export default a127f;
@@ -1 +1 @@
1
- const a128H=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d=-parseInt(E(0x1e2))/0x1+-parseInt(E(0x210))/0x2*(-parseInt(E(0x20f))/0x3)+parseInt(E(0x1fb))/0x4+-parseInt(E(0x1d6))/0x5+-parseInt(E(0x209))/0x6+-parseInt(E(0x21c))/0x7*(-parseInt(E(0x1e8))/0x8)+parseInt(E(0x1f2))/0x9*(parseInt(E(0x1e6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xbe27e));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a128d;if(c){const e=c[F(0x1f7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const G=a128d;return a128a[G(0x206)]()['search'](G(0x1f9))[G(0x206)]()[G(0x1eb)](a128a)['search'](G(0x1f9));});a128a();import{Generator}from'../../../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a128d(a,b);}function a128c(){const K=['engines','-hook\x22>','log','6966765rPnTDb','baseDir','</div>','Container','length','map','injectTemplateModule','<Outlet\x20/>','dir','<Outlet/>','injectAroundString','react','1112836sSNiXA','create','frame','tsx','10CgjErj','basic-drawer','344gQzYCv','maka\x20g:k:m:f','session','constructor','error','\x20/>\x0a','/imports/ui/components','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','ssr','/imports/startup/lib/templates','7281081AVOMIX','<div\x20id=\x22','test','Box','force','apply','getFiles','(((.+)+)+)+$','appName','3267244MBOGZj','jsx','template','imports','checkMeteorPackage','/imports/ui/','/imports/startup/client/templates','Cleaning\x20up...','pathFromApp','injectIntoFile','maka\x20generate:kit:mui:frame','toString','injectImport','findAppDirectory','371892lagOGS','meteor','basic-sticky-footer','No\x20layouts\x20selected','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','.js','5964lGDOnB','478akhuSw','layouts','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','@mui/material/Container','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','maka:react-tracker','REACT','getDirectories','join','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','basic-app-bar','MATERIAL','202853YUPzOX','@mui/material/Box'];a128c=function(){return K;};return a128c();}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'path';import a128f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128H(0x1e3)]({'name':a128H(0x1e4),'aliases':['f'],'usage':a128H(0x1ef),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a128H(0x211),a128H(0x1d7),a128H(0x1de),a128H(0x1f6)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a128H(0x21b)],'client':ClientEngines[a128H(0x216)]},'examples':[a128H(0x205),a128H(0x1e9)],'description':a128H(0x214)},async function(a,b){const I=a128H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x1f6)]||![],i=I(0x21a),j=I(0x1e7),k=I(0x20b),l=c[I(0x21e)][I(0x1f0)]===I(0x20a);await f[I(0x1ff)]([I(0x1ea),I(0x215)],{'shouldInstall':!![]});const m=d[I(0x208)](),n=a128e[I(0x218)](m,I(0x1fe),'ui',I(0x211)),o=d[I(0x217)](n),p=o[I(0x1db)](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':I(0x20d),'name':'layouts','choices':p});if(q[I(0x1da)]===0x0){Log[I(0x1ec)](I(0x20c));return;}const r=b[I(0x1d7)]?I(0x200)+b[I(0x1d7)]:I(0x1ee),s=g[I(0x203)]({'pathParts':[r,b[I(0x1de)],kebabCase(i),kebabCase(i)]}),t=g['pathFromApp']({'pathParts':[r,b[I(0x1de)],kebabCase(j),kebabCase(j)]}),u=g['pathFromApp']({'pathParts':[r,b['dir'],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x1fa)])};await g[I(0x1fd)]({'srcPath':'kit/mui/frame/app-bars/'+i+'.js','destPath':s+I(0x20e),'framework':I(0x1e1),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':'kit/mui/frame/drawers/'+j+I(0x20e),'destPath':t+I(0x20e),'framework':I(0x1e1),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x1fd)]({'srcPath':'kit/mui/frame/footers/'+k+I(0x20e),'destPath':u+I(0x20e),'framework':I(0x1e1),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b['dir']+'/'+i+'/'+i;await g[I(0x1dc)](i,c,w);const x=''+r+b[I(0x1de)]+'/'+j+'/'+j;await g[I(0x1dc)](j,c,x);const y=''+r+b['dir']+'/'+k+'/'+k;await g[I(0x1dc)](k,c,y);for(const z of q){const A=d[I(0x1f8)](a128e[I(0x218)](n,z),{'extensions':[I(0x1fc),I(0x1e5)],'omit':['app-tests','tests',I(0x1f4)]});for(const B of A){const C=a128e[I(0x218)](n,z,B);await g[I(0x207)]({'filePath':C,'importName':I(0x1f5),'modulePath':I(0x21d),'isNamedExport':![]}),await g['injectImport']({'filePath':C,'importName':I(0x1d9),'modulePath':I(0x213),'isNamedExport':![]}),await g['injectImport']({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0x1f1):I(0x201),'isNamedExport':!![]}),await g[I(0x204)]({'filePath':C,'content':'<'+pascalCase(i)+I(0x1ed),'begin':[I(0x1f3)+z+'\x22>',I(0x1f3)+z+I(0x21f)],'end':[I(0x1df),'<Outlet\x20/>']}),await g[I(0x207)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(j)+I(0x1ed),'begin':[I(0x1f3)+z+'\x22>',I(0x1f3)+z+I(0x21f)],'end':[I(0x1df),I(0x1dd)]}),await g[I(0x204)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x1ed),'begin':[I(0x1df),I(0x1dd)],'end':[I(0x1d8)]}),await g[I(0x207)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0x1f1):I(0x201),'isNamedExport':!![]}),await g[I(0x1e0)]({'filePath':C,'aboveContent':I(0x219),'belowContent':I(0x212),'targetString':[I(0x1df),I(0x1dd)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x1ec)](D);}},async function(){const J=a128H;console[J(0x1d5)](J(0x202));},a128f);
1
+ const a128G=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d=parseInt(E(0xcb))/0x1+-parseInt(E(0xc4))/0x2*(-parseInt(E(0xf0))/0x3)+-parseInt(E(0xd2))/0x4*(parseInt(E(0xbf))/0x5)+parseInt(E(0xc0))/0x6*(parseInt(E(0xc2))/0x7)+parseInt(E(0xb5))/0x8*(parseInt(E(0xaf))/0x9)+-parseInt(E(0xb4))/0xa*(-parseInt(E(0xd4))/0xb)+-parseInt(E(0xd8))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x340a3));const a128b=(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;};}()),a128a=a128b(this,function(){const F=a128d;return a128a[F(0xbe)]()[F(0xb6)]('(((.+)+)+)+$')[F(0xbe)]()[F(0xb1)](a128a)[F(0xb6)](F(0xc8));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a128c(){const J=['950CQVGvA','289208yDnclO','search','pathFromApp','.js','join','kit/mui/frame/drawers/','baseDir','/imports/ui/','basic-sticky-footer','toString','383765KSzCWR','35724uOJjcE','error','343KAyzUh','frame','7166uTToiS','dir','app-tests','Container','(((.+)+)+)+$','length','findAppDirectory','418674wtLHso','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','injectTemplateModule','checkMeteorPackage','test','session','</div>','4hjxxHL','maka\x20g:k:m:f','39490UJneVT','jsx','-hook\x22>','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','14520948HAeyTE','injectIntoFile','/imports/ui/components','getFiles','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','injectImport','maka\x20generate:kit:mui:frame','engines','basic-app-bar','tsx','<Outlet/>','template','checkbox','layouts','basic-drawer','appName','<div\x20id=\x22','Box','kit/mui/frame/app-bars/','kit/mui/frame/footers/','@mui/material/Container','ssr','<Outlet\x20/>','Cleaning\x20up...','315ePKDUH','/imports/startup/client/templates','REACT','maka:react-tracker','/imports/startup/lib/templates','18mTvUCM','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','constructor','react','MATERIAL'];a128c=function(){return J;};return a128c();}import{Actions}from'../../../tools/actions/actions.class.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xaf;let f=c[d];return f;},a128d(a,b);}import a128e from'path';import a128f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a128G(0xc3),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':a128G(0xd7),'validOpts':[a128G(0xe5),a128G(0xbb),a128G(0xc5),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a128G(0xb3)],'client':ClientEngines[a128G(0xf2)]},'examples':[a128G(0xde),a128G(0xd3)],'description':a128G(0xdc)},async function(a,b){const H=a128G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b['force']||![],i=H(0xe0),j=H(0xe6),k=H(0xbd),l=c[H(0xdf)][H(0xed)]==='meteor';await f[H(0xce)]([H(0xd0),H(0xf3)],{'shouldInstall':!![]});const m=d[H(0xca)](),n=a128e[H(0xb9)](m,'imports','ui',H(0xe5)),o=d['getDirectories'](n),p=o['map'](z=>({'name':z,'value':z})),q=await Actions[H(0xe4)]({'message':H(0xb0),'name':H(0xe5),'choices':p});if(q[H(0xc9)]===0x0){Log[H(0xc1)]('No\x20layouts\x20selected');return;}const r=b[H(0xbb)]?H(0xbc)+b['baseDir']:H(0xda),s=g['pathFromApp']({'pathParts':[r,b[H(0xc5)],kebabCase(i),kebabCase(i)]}),t=g[H(0xb7)]({'pathParts':[r,b[H(0xc5)],kebabCase(j),kebabCase(j)]}),u=g['pathFromApp']({'pathParts':[r,b['dir'],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0xe7)])};await g['template']({'srcPath':H(0xea)+i+H(0xb8),'destPath':s+H(0xb8),'framework':H(0xb2),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0xe3)]({'srcPath':H(0xba)+j+'.js','destPath':t+H(0xb8),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':H(0xeb)+k+H(0xb8),'destPath':u+H(0xb8),'framework':H(0xb2),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[H(0xc5)]+'/'+i+'/'+i;await g[H(0xcd)](i,c,w);const x=''+r+b[H(0xc5)]+'/'+j+'/'+j;await g[H(0xcd)](j,c,x);const y=''+r+b[H(0xc5)]+'/'+k+'/'+k;await g[H(0xcd)](k,c,y);for(const z of q){const A=d[H(0xdb)](a128e[H(0xb9)](n,z),{'extensions':[H(0xd5),H(0xe1)],'omit':[H(0xc6),'tests',H(0xcf)]});for(const B of A){const C=a128e[H(0xb9)](n,z,B);await g['injectImport']({'filePath':C,'importName':H(0xe9),'modulePath':'@mui/material/Box','isNamedExport':![]}),await g[H(0xdd)]({'filePath':C,'importName':H(0xc7),'modulePath':H(0xec),'isNamedExport':![]}),await g[H(0xdd)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0xf4):H(0xf1),'isNamedExport':!![]}),await g[H(0xd9)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':[H(0xe8)+z+'\x22>',H(0xe8)+z+H(0xd6)],'end':[H(0xe2),H(0xee)]}),await g[H(0xdd)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0xf4):H(0xf1),'isNamedExport':!![]}),await g[H(0xd9)]({'filePath':C,'content':'<'+pascalCase(j)+'\x20/>\x0a','begin':[H(0xe8)+z+'\x22>',H(0xe8)+z+H(0xd6)],'end':[H(0xe2),H(0xee)]}),await g[H(0xd9)]({'filePath':C,'content':'<'+pascalCase(k)+'\x20/>\x0a','begin':['<Outlet/>',H(0xee)],'end':[H(0xd1)]}),await g[H(0xdd)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0xf4):H(0xf1),'isNamedExport':!![]}),await g['injectAroundString']({'filePath':C,'aboveContent':'<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','belowContent':H(0xcc),'targetString':['<Outlet/>',H(0xee)],'targetIndentAdjustment':0x6});}}}catch(D){Log[H(0xc1)](D);}},async function(){const I=a128G;console['log'](I(0xef));},a128f);
@@ -1 +1 @@
1
- const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0x1ac))/0x1+parseInt(g(0x18f))/0x2+parseInt(g(0x190))/0x3+-parseInt(g(0x1a7))/0x4+-parseInt(g(0x195))/0x5+-parseInt(g(0x1af))/0x6*(parseInt(g(0x199))/0x7)+parseInt(g(0x1a2))/0x8*(parseInt(g(0x19b))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xbb0d6));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a[i(0x193)]()[i(0x1ad)](i(0x1a6))[i(0x193)]()[i(0x1a5)](a129a)['search'](i(0x1a6));});a129a();import{Generator}from'../../../generator.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x18e;let f=c[d];return f;},a129d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';const MuiGen=Generator[a129j(0x1ae)]({'name':'mui','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','resourceNameRequired':![],'shortDesc':a129j(0x1ab),'validOpts':[''],'isPro':!![],'examples':[a129j(0x19d)]},async function(){const k=a129j;try{Log[k(0x194)](k(0x19e)),Log['notice']('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const a=await Actions['checkbox']({'message':k(0x197),'name':'kitChoices','choices':[{'name':k(0x196),'value':'frame'},{'name':k(0x19a),'value':k(0x198)}]}),b=this[k(0x1aa)][k(0x1a1)](),c=this[k(0x1a9)][k(0x1a4)]();a[k(0x192)]('frame')&&await a129e[k(0x1a3)](k(0x19c),[],{'force':!![],'cwd':b,'config':c});a[k(0x192)](k(0x198))&&await a129e[k(0x1a3)](k(0x18e),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x19f)]===0x0){Log[k(0x194)](k(0x1a0));return;}}catch(d){Log['error'](d),process[k(0x191)](0x1);}},async function(){},a129f);function a129c(){const l=['827832iGSEWz','3314139vCbetJ','exit','includes','toString','info','6390415QVNtQt','Header,\x20Footer,\x20and\x20Drawer','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','auth','7YFnjfc','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','1431xQqzQe','kit:mui:frame','maka\x20g:kit:m','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','length','No\x20MUI\x20kits\x20selected.\x20Exiting.','findProjectDirectory','133272TqkHgd','processAndRunGenerator','getMakaProjectConfig','constructor','(((.+)+)+)+$','5923472enKXGJ','apply','cfg','fsi','Material-UI\x20Kit','237074NFWYhN','search','create','5276202bOjtJU','kit:mui:auth'];a129c=function(){return l;};return a129c();}export default MuiGen;
1
+ const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=-parseInt(g(0x1ba))/0x1+parseInt(g(0x1ad))/0x2+parseInt(g(0x1b5))/0x3*(parseInt(g(0x1c8))/0x4)+parseInt(g(0x1c0))/0x5+-parseInt(g(0x1c4))/0x6*(parseInt(g(0x1ac))/0x7)+parseInt(g(0x1b7))/0x8*(-parseInt(g(0x1ae))/0x9)+parseInt(g(0x1bb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x670e6));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0x1ab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a[i(0x1aa)]()['search'](i(0x1c5))[i(0x1aa)]()[i(0x1c2)](a129a)[i(0x1bd)]('(((.+)+)+)+$');});a129a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';function a129c(){const l=['search','create','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','31180UOuhey','kit:mui:auth','constructor','cfg','112314dnEjoA','(((.+)+)+)+$','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','maka\x20g:kit:m','20WFJsuO','length','kit:mui:frame','kitChoices','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','toString','apply','168XHhVKI','359534hhAaMb','2929779vOqZlS','processAndRunGenerator','mui','info','No\x20MUI\x20kits\x20selected.\x20Exiting.','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','notice','93741glsKQP','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','8BYWaSp','Material-UI\x20Kit','findProjectDirectory','480948KMHeus','13356150mkAwFs','includes'];a129c=function(){return l;};return a129c();}import a129f from'../kit.js';const MuiGen=Generator[a129j(0x1be)]({'name':a129j(0x1b0),'aliases':['m'],'usage':a129j(0x1b6),'resourceNameRequired':![],'shortDesc':a129j(0x1b8),'validOpts':[''],'isPro':!![],'examples':[a129j(0x1c7)]},async function(){const k=a129j;try{Log[k(0x1b1)](k(0x1bf)),Log[k(0x1b4)](k(0x1c6));const a=await Actions['checkbox']({'message':k(0x1a9),'name':k(0x1a8),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':'frame'},{'name':k(0x1b3),'value':'auth'}]}),b=this['fsi'][k(0x1b9)](),c=this[k(0x1c3)]['getMakaProjectConfig']();a[k(0x1bc)]('frame')&&await a129e[k(0x1af)](k(0x1ca),[],{'force':!![],'cwd':b,'config':c});a[k(0x1bc)]('auth')&&await a129e[k(0x1af)](k(0x1c1),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1c9)]===0x0){Log['info'](k(0x1b2));return;}}catch(d){Log['error'](d),process['exit'](0x1);}},async function(){},a129f);function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a129d(a,b);}export default MuiGen;
@@ -1 +1 @@
1
- const a130s=a130d;(function(a,b){const p=a130d,c=a();while(!![]){try{const d=-parseInt(p(0xa7))/0x1*(-parseInt(p(0x85))/0x2)+parseInt(p(0x98))/0x3*(parseInt(p(0x8f))/0x4)+-parseInt(p(0x95))/0x5*(-parseInt(p(0xbb))/0x6)+-parseInt(p(0x92))/0x7+parseInt(p(0xbc))/0x8+parseInt(p(0xb3))/0x9*(-parseInt(p(0x80))/0xa)+-parseInt(p(0x96))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xa2db2));function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x7f;let f=c[d];return f;},a130d(a,b);}const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a130d;if(c){const e=c[q(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const r=a130d;return a130a[r(0x8a)]()[r(0xad)](r(0xaf))[r(0x8a)]()[r(0x81)](a130a)['search']('(((.+)+)+)+$');});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];function a130c(){const u=['1434iEGlAi','10075184dWwLWU','className','170xzZohf','constructor','component/component.js','warn','features','1251174DjKFqs','ramda','ssr','maka\x20g:layout\x20mobile/iPhone8','withHook','toString','graphql','checkNpmPackage','css','engines','8oEcaQd','react','fileName','2536863DhuTNd','findProjectDirectory','pathFromApp','4605iZMvYb','7773370laeZPP','dir','1099026qYmmAr','injectAtBeginningOfFile','.app-tests.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','injectTemplateModule','theme','includes','assign','test','hook/hook.js','/imports/ui/layouts','template','resourceName','withHooks','split','1HPRLbO','import\x20\x27./','template/template.css','create','installNpmPackage','.css','search','.js','(((.+)+)+)+$','findAppDirectory','string','api','583227QppaGx','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','relative','client','layout','withTranslations','apply','setTemplate'];a130c=function(){return u;};return a130c();}Generator[a130s(0xaa)]({'name':a130s(0xb7),'aliases':aliases,'usage':a130s(0xb4),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a130s(0x89)],'mustBeInMakaProject':!![],'examples':[a130s(0x88),'maka\x20g:l\x20web/safari']},async function(a,b){const t=a130s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0xa2),i=d[t(0xb0)](),j=g[t(0x94)]({'pathParts':[h,b[t(0x97)],kebabCase(b[t(0xa4)]),kebabCase(b['resourceName'])]});typeof c[t(0xa3)][t(0xa0)]===t(0xb1)&&e[t(0xba)](t(0xa0),c[t(0xa3)][t(0xa0)]);typeof c[t(0xa3)]['css']===t(0xb1)&&e[t(0xba)](t(0x8d),c[t(0xa3)][t(0x8d)]);typeof c[t(0xa3)]['js']===t(0xb1)&&e[t(0xba)]('js',c[t(0xa3)]['js']);const k=b['_']?b['_'][0x0][t(0xa6)](':')[0x1]:![],l=b['_']&&aliases[t(0x9e)](k);l&&!f[t(0x8c)](t(0x86))&&(Log[t(0x83)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),f[t(0xab)](t(0x86),{'cwd':i}));if(l&&!f['checkNpmPackage'](t(0x90))){Log[t(0x83)](t(0x9b));return;}const m={'name':pascalCase(b[t(0xa4)]),'myPath':a130e[t(0xb5)](d[t(0x93)](),j),'cssCaseName':kebabCase(b[t(0xa4)]),'className':pascalCase(b[t(0xa4)]),'camelCaseName':camelCase(b[t(0xa4)]),'fileName':kebabCase(b[t(0xa4)]),'graphql':c[t(0x8e)][t(0x8b)],'features':c[t(0x84)],'client':c[t(0x8e)][t(0xb6)],'api':c[t(0x8e)][t(0xb2)],'ssr':c['engines'][t(0x87)],'test':c['engines'][t(0xa0)],'theme':c[t(0x8e)][t(0x9d)],'isComponent':![],'isLayout':!![],'withTranslations':c['features'][t(0xb8)]};c[t(0x84)]?.[t(0xa5)]||b[t(0x89)]?await g[t(0xa3)]({'srcPath':t(0xa1),'destPath':j+t(0xae),'framework':'react','context':m,'config':c}):await g[t(0xa3)]({'srcPath':t(0x82),'destPath':j+t(0xae),'framework':t(0x90),'context':m,'config':c});c[t(0x8e)][t(0xa0)]!=='none'&&await g[t(0xa3)]({'srcPath':'test/test.js','destPath':j+t(0x9a),'framework':'react','context':m,'config':c});c[t(0xa3)][t(0x8d)]&&(await g['template']({'srcPath':t(0xa9),'destPath':j+t(0xac),'context':Object[t(0x9f)]({},m,{'className':kebabCase(b[t(0xa4)])}),'config':c}),await g[t(0x99)]({'filePath':j+'.'+c['engines']['js'],'content':t(0xa8)+m['fileName']+'.'+c[t(0x8e)]['css']+'\x27;'}));const n=b[t(0x97)]?'/'+b['dir']+'/':'/',o=''+h+n+m[t(0x91)]+'/'+m['fileName'];await g[t(0x9c)](m[t(0x7f)],c,o);});
1
+ const a130s=a130d;(function(a,b){const p=a130d,c=a();while(!![]){try{const d=-parseInt(p(0x118))/0x1*(-parseInt(p(0x117))/0x2)+parseInt(p(0x132))/0x3*(-parseInt(p(0x13a))/0x4)+-parseInt(p(0x14b))/0x5+-parseInt(p(0x136))/0x6+parseInt(p(0x142))/0x7+-parseInt(p(0x144))/0x8+parseInt(p(0x12a))/0x9*(parseInt(p(0x115))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x69abe));function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x114;let f=c[d];return f;},a130d(a,b);}function a130c(){const u=['setTemplate','layout','findProjectDirectory','template','Scaffolding\x20for\x20a\x20React\x20Layout.','63lNvilg','template/template.css','ramda','split','/imports/ui/layouts','ssr','withTranslations','.js','205473fKzSbA','react','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','includes','3268056iUvYFW','resourceName','graphql','dir','36OvAXzI','className','maka\x20g:l\x20web/safari','search','import\x20\x27./','installNpmPackage','test','(((.+)+)+)+$','1827028eBVrkK','withHook','110912zcWjmk','fileName','theme','findAppDirectory','css','features','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','1682335bwlDrD','apply','create','warn','1846990HRwoLk','component/component.js','2CKMEXY','390359BgCWCB','test/test.js','.app-tests.js','none','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','string','checkNpmPackage','pathFromApp','hook/hook.js','engines','api','toString','client'];a130c=function(){return u;};return a130c();}const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a130d;if(c){const e=c[q(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const r=a130d;return a130a[r(0x123)]()[r(0x13d)]('(((.+)+)+)+$')[r(0x123)]()['constructor'](a130a)['search'](r(0x141));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator[a130s(0x14d)]({'name':a130s(0x126),'aliases':aliases,'usage':a130s(0x11c),'shortDesc':a130s(0x129),'validOpts':[a130s(0x143)],'mustBeInMakaProject':!![],'examples':['maka\x20g:layout\x20mobile/iPhone8',a130s(0x13c)]},async function(a,b){const t=a130s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0x12e),i=d[t(0x147)](),j=g[t(0x11f)]({'pathParts':[h,b[t(0x139)],kebabCase(b[t(0x137)]),kebabCase(b['resourceName'])]});typeof c[t(0x128)][t(0x140)]===t(0x11d)&&e[t(0x125)](t(0x140),c[t(0x128)][t(0x140)]);typeof c[t(0x128)][t(0x148)]===t(0x11d)&&e[t(0x125)](t(0x148),c[t(0x128)]['css']);typeof c[t(0x128)]['js']===t(0x11d)&&e[t(0x125)]('js',c[t(0x128)]['js']);const k=b['_']?b['_'][0x0][t(0x12d)](':')[0x1]:![],l=b['_']&&aliases[t(0x135)](k);l&&!f[t(0x11e)](t(0x12c))&&(Log[t(0x114)](t(0x14a)),f[t(0x13f)](t(0x12c),{'cwd':i}));if(l&&!f[t(0x11e)](t(0x133))){Log[t(0x114)](t(0x134));return;}const m={'name':pascalCase(b[t(0x137)]),'myPath':a130e['relative'](d[t(0x127)](),j),'cssCaseName':kebabCase(b[t(0x137)]),'className':pascalCase(b[t(0x137)]),'camelCaseName':camelCase(b['resourceName']),'fileName':kebabCase(b['resourceName']),'graphql':c[t(0x121)][t(0x138)],'features':c[t(0x149)],'client':c[t(0x121)][t(0x124)],'api':c['engines'][t(0x122)],'ssr':c[t(0x121)][t(0x12f)],'test':c[t(0x121)][t(0x140)],'theme':c[t(0x121)][t(0x146)],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0x149)][t(0x130)]};c[t(0x149)]?.['withHooks']||b[t(0x143)]?await g[t(0x128)]({'srcPath':t(0x120),'destPath':j+t(0x131),'framework':t(0x133),'context':m,'config':c}):await g[t(0x128)]({'srcPath':t(0x116),'destPath':j+t(0x131),'framework':t(0x133),'context':m,'config':c});c[t(0x121)]['test']!==t(0x11b)&&await g[t(0x128)]({'srcPath':t(0x119),'destPath':j+t(0x11a),'framework':t(0x133),'context':m,'config':c});c[t(0x128)][t(0x148)]&&(await g[t(0x128)]({'srcPath':t(0x12b),'destPath':j+'.css','context':Object['assign']({},m,{'className':kebabCase(b['resourceName'])}),'config':c}),await g['injectAtBeginningOfFile']({'filePath':j+'.'+c['engines']['js'],'content':t(0x13e)+m[t(0x145)]+'.'+c[t(0x121)]['css']+'\x27;'}));const n=b[t(0x139)]?'/'+b[t(0x139)]+'/':'/',o=''+h+n+m[t(0x145)]+'/'+m['fileName'];await g['injectTemplateModule'](m[t(0x13b)],c,o);});
@@ -1 +1 @@
1
- const a131h=a131d;function a131c(){const i=['maka\x20{generate,\x20g}:<generator>\x20<name>','6145536bPSFHv','maka\x20g:template\x20todos/todo_item','constructor','1415628RWDTEQ','search','8OxejEd','4385169QYLyOs','(((.+)+)+)+$','maka\x20g:scaffold\x20todos','2934854LhGNIz','10550869UGqaKj','1143034LopsEO','maka\x20g:package\x20package:name','generate','Scaffold\x20various\x20parts\x20of\x20your\x20application','toString','maka\x20g:dbc\x20geoserver\x20--type=pgsql','3716470XDqJmw','maka\x20generate:scaffold\x20todos'];a131c=function(){return i;};return a131c();}(function(a,b){const f=a131d,c=a();while(!![]){try{const d=-parseInt(f(0x1fa))/0x1+parseInt(f(0x1f8))/0x2+parseInt(f(0x1f5))/0x3+-parseInt(f(0x1ef))/0x4+-parseInt(f(0x200))/0x5+-parseInt(f(0x1f2))/0x6+parseInt(f(0x1f9))/0x7*(parseInt(f(0x1f4))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xbde27));const a131b=(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;};}()),a131a=a131b(this,function(){const g=a131d;return a131a[g(0x1fe)]()[g(0x1f3)](g(0x1f6))[g(0x1fe)]()[g(0x1f1)](a131a)['search']('(((.+)+)+)+$');});a131a();import{Generator}from'../generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a131d(a,b);}const MakaGen=new Generator({'name':a131h(0x1fc),'aliases':['g'],'usage':a131h(0x202),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a131h(0x1fd),'examples':[a131h(0x201),a131h(0x1f7),a131h(0x1f0),a131h(0x1fb),'maka\x20g:route\x20todos/edit','maka\x20g:api\x20trucks',a131h(0x1ff)]},async function(){});export default MakaGen;
1
+ const a131i=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=parseInt(f(0x12e))/0x1+parseInt(f(0x139))/0x2*(parseInt(f(0x133))/0x3)+parseInt(f(0x13d))/0x4*(-parseInt(f(0x13b))/0x5)+-parseInt(f(0x12b))/0x6+-parseInt(f(0x138))/0x7*(parseInt(f(0x12c))/0x8)+parseInt(f(0x13a))/0x9+parseInt(f(0x131))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x510b2));function a131c(){const j=['1234106kSASKj','1956861bKBZPZ','505205nQnzAL','maka\x20{generate,\x20g}:<generator>\x20<name>','4WnTZrH','generate','maka\x20g:route\x20todos/edit','3606732mzOsLy','325880AdWZsn','Scaffold\x20various\x20parts\x20of\x20your\x20application','76758NcFzMp','maka\x20g:api\x20trucks','maka\x20g:template\x20todos/todo_item','4080220mvMkem','(((.+)+)+)+$','3WmTfIG','apply','toString','constructor','search','49uoVptb'];a131c=function(){return j;};return a131c();}const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a[h(0x135)]()['search'](h(0x132))[h(0x135)]()[h(0x136)](a131a)[h(0x137)]('(((.+)+)+)+$');});a131a();function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x129;let f=c[d];return f;},a131d(a,b);}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a131i(0x129),'aliases':['g'],'usage':a131i(0x13c),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a131i(0x12d),'examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos',a131i(0x130),'maka\x20g:package\x20package:name',a131i(0x12a),a131i(0x12f),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},async function(){});export default MakaGen;
@@ -1 +1 @@
1
- function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x161;let f=c[d];return f;},a132d(a,b);}const a132n=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x16e))/0x1+parseInt(k(0x172))/0x2+parseInt(k(0x174))/0x3*(-parseInt(k(0x184))/0x4)+-parseInt(k(0x167))/0x5+parseInt(k(0x17a))/0x6+parseInt(k(0x16d))/0x7+parseInt(k(0x181))/0x8*(-parseInt(k(0x16f))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x6a43d));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0x171)]()[m(0x17c)]('(((.+)+)+)+$')['toString']()['constructor'](a132a)[m(0x17c)](m(0x161));});a132a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':'method','aliases':['m'],'usage':a132n(0x163),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a132n(0x179),'validOpts':[a132n(0x177)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const o=a132n;try{const c=this['projectConfig'],d=b[o(0x177)]?'/'+b['dir']+'/':'/',f=kebabCase(b[o(0x185)]),g={'name':b['resourceName'],'fileName':f,'className':pascalCase(b[o(0x185)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let h='js';c[o(0x166)]['js']===o(0x17d)&&(h='ts');await this['pkg'][o(0x17f)]([o(0x183),o(0x175),o(0x164)],{'shouldInstall':!![]}),await this[o(0x17b)][o(0x173)]({'srcPath':o(0x176),'destPath':this[o(0x17b)]['pathFromApp']({'pathParts':['imports',o(0x17e),b['appPathPrefix'],o(0x162),d,f+o(0x16a)+h]}),'context':g,'config':c});const i=this['scaffold'][o(0x180)]({'pathParts':[o(0x168),'startup',b[o(0x178)],o(0x170)+c[o(0x166)]['js']]});await this['scaffold'][o(0x165)]({'filePath':i,'content':o(0x182)+d+f+o(0x169)});}catch(j){Log[o(0x16b)](j);}});function a132c(){const p=['(((.+)+)+)+$','methods','maka\x20{generate,\x20g}:{method,\x20m}\x20name','mdg:validated-method','injectAtEndOfFile','engines','600460pbICwi','imports','-rpc-method\x27;','-rpc-method.','error','apply','3629864EzGLJm','628686JdkCbE','1773WdhGXI','index.','toString','825292JBDvcF','template','2271DbMHJd','ddp-rate-limiter','method/method.js','dir','appPathPrefix','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','3124266dTUFdX','scaffold','search','tsx','startup','checkMeteorPackage','pathFromApp','1256GzdDyS','import\x20\x27./methods','maka:check','1252gCmmar','resourceName'];a132c=function(){return p;};return a132c();}
1
+ const a132m=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x12c))/0x1+-parseInt(k(0x130))/0x2*(-parseInt(k(0x133))/0x3)+parseInt(k(0x13f))/0x4*(-parseInt(k(0x128))/0x5)+-parseInt(k(0x137))/0x6+parseInt(k(0x132))/0x7+parseInt(k(0x129))/0x8*(parseInt(k(0x139))/0x9)+parseInt(k(0x12e))/0xa*(parseInt(k(0x123))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x64653));const a132b=(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;};}()),a132a=a132b(this,function(){const l=a132d;return a132a[l(0x135)]()['search'](l(0x12a))['toString']()[l(0x140)](a132a)[l(0x13a)]('(((.+)+)+)+$');});a132a();import{Generator}from'../generator.js';function a132c(){const o=['resourceName','1097128BDABnS','constructor','engines','tsx','dir','template','checkMeteorPackage','appPathPrefix','mdg:validated-method','108977apvDAA','method','-rpc-method.','import\x20\x27./methods','ddp-rate-limiter','5WeqYVs','95240wCxNSu','(((.+)+)+)+$','pathFromApp','688695yHStmY','projectConfig','770sdsYIW','imports','6050gqRNuG','maka:check','3173408OBtWyK','3lWUXQD','methods','toString','startup','3427302WAdALH','create','549NfSLOg','search','method/method.js','maka\x20{generate,\x20g}:{method,\x20m}\x20name','scaffold'];a132c=function(){return o;};return a132c();}function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x11c;let f=c[d];return f;},a132d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a132m(0x138)]({'name':a132m(0x124),'aliases':['m'],'usage':a132m(0x13c),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a132m(0x11e)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a132m;try{const c=this[n(0x12d)],d=b[n(0x11e)]?'/'+b[n(0x11e)]+'/':'/',f=kebabCase(b[n(0x13e)]),g={'name':b[n(0x13e)],'fileName':f,'className':pascalCase(b[n(0x13e)]),'camelCase':camelCase(b[n(0x13e)]),'noRename':!![]};let h='js';c[n(0x11c)]['js']===n(0x11d)&&(h='ts');await this['pkg'][n(0x120)]([n(0x131),n(0x127),n(0x122)],{'shouldInstall':!![]}),await this['scaffold'][n(0x11f)]({'srcPath':n(0x13b),'destPath':this[n(0x13d)][n(0x12b)]({'pathParts':[n(0x12f),'startup',b[n(0x121)],n(0x134),d,f+n(0x125)+h]}),'context':g,'config':c});const i=this[n(0x13d)]['pathFromApp']({'pathParts':[n(0x12f),n(0x136),b[n(0x121)],'index.'+c[n(0x11c)]['js']]});await this[n(0x13d)]['injectAtEndOfFile']({'filePath':i,'content':n(0x126)+d+f+'-rpc-method\x27;'});}catch(j){Log['error'](j);}});
@@ -1 +1 @@
1
- const a133p=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0xca))/0x1+-parseInt(m(0xc0))/0x2+-parseInt(m(0xe3))/0x3+parseInt(m(0xd4))/0x4*(parseInt(m(0xdf))/0x5)+-parseInt(m(0xdb))/0x6*(-parseInt(m(0xe1))/0x7)+parseInt(m(0xc4))/0x8+parseInt(m(0xce))/0x9*(parseInt(m(0xe7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xc806d));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0xc8)]()['search']('(((.+)+)+)+$')[o(0xc8)]()[o(0xcc)](a133a)['search'](o(0xde));});a133a();function a133c(){const r=['516vbxBbR','dir','noRename','package/','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','hasOwnProperty','.js','6DiFoEy','package.js','fsi','(((.+)+)+)+$','6715uKDwge','package','5461057zGEFov','/package.js','595524OAigqf','ssr','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','component','10OsdIPW','lib','engines','create','scaffold','theme','2976526wkJvmw','client','packages','tests/client','3856520bXQNbZ','server','/client/','pathFromAppWithNoReWrite','toString','graphql','162860SSaWOu','pathFromApp','constructor','features','8169813UQrQpc','template','store','package/package.js','resourceName','apply'];a133c=function(){return r;};return a133c();}function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xbf;let f=c[d];return f;},a133d(a,b);}import a133e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a133p(0xea)]({'name':a133p(0xe0),'aliases':['p'],'usage':a133p(0xd8),'mustBeInMakaProject':!![],'shortDesc':a133p(0xe5),'validOpts':[a133p(0xd5)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const q=a133p,c=kebabCase(b[q(0xd2)]),d=b[q(0xd5)]?'/'+b[q(0xd5)]+'/':'/',e=this['scaffold'][q(0xcb)]({'pathParts':[q(0xc2),d,c]}),f=this[q(0xeb)][q(0xc7)]({'pathParts':[q(0xc2),d,c,q(0xdc)]}),g=this['projectConfig'],h={'name':kebabCase(b[q(0xd2)]),'myPath':a133e['relative'](this[q(0xdd)]['findProjectDirectory'](),e),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xd2)]),'fileName':c,'client':g[q(0xe9)][q(0xc1)],'graphql':g[q(0xe9)][q(0xc9)],'ssr':g[q(0xe9)][q(0xe4)],'isComponent':b[q(0xd9)](q(0xe6)),'isLayout':b[q(0xd9)]('layout'),'isStore':b['hasOwnProperty'](q(0xd0)),'features':g[q(0xcd)],'noRename':!![],'theme':g[q(0xe9)][q(0xbf)]};await this['scaffold'][q(0xcf)]({'srcPath':q(0xd1),'destPath':f,'context':h,'config':g}),h[q(0xd6)]=![];const i=e+q(0xc6)+c+'.js';await this[q(0xeb)][q(0xcf)]({'srcPath':'template/template.js','destPath':i,'context':h,'config':g});const j=[q(0xe8),q(0xc5),q(0xc3),'tests/server'];for(const k of j){const l=e+'/'+k+'/'+c+q(0xda);await this[q(0xeb)][q(0xcf)]({'srcPath':q(0xd7)+k+q(0xe2),'destPath':l,'context':h,'config':g});}});
1
+ function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xa6;let f=c[d];return f;},a133d(a,b);}const a133o=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0xc1))/0x1*(parseInt(m(0xb1))/0x2)+parseInt(m(0xc7))/0x3+parseInt(m(0xad))/0x4*(-parseInt(m(0xcf))/0x5)+parseInt(m(0xb4))/0x6+-parseInt(m(0xb5))/0x7*(-parseInt(m(0xbb))/0x8)+-parseInt(m(0xa9))/0x9*(-parseInt(m(0xb8))/0xa)+parseInt(m(0xb6))/0xb*(-parseInt(m(0xae))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x604fc));const a133b=(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;};}()),a133a=a133b(this,function(){const n=a133d;return a133a[n(0xbf)]()[n(0xbe)](n(0xb9))[n(0xbf)]()[n(0xaf)](a133a)[n(0xbe)]('(((.+)+)+)+$');});function a133c(){const q=['projectConfig','features','pathFromApp','102591GAikjm','template','/client/','theme','1292hpRrAa','12YbLPyk','constructor','scaffold','130Xwesze','resourceName','packages','118860ZFDHKB','14stcHDC','4719583ekmOJc','layout','530XENvIa','(((.+)+)+)+$','hasOwnProperty','12608idWwcN','tests/server','engines','search','toString','client','3937eBQBcV','template/template.js','component','package.js','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','store','722763DLWUIh','noRename','/package.js','relative','package','create','tests/client','package/','4650IzipAJ','lib','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','fsi','maka\x20g:package\x20todos:package','dir','server'];a133c=function(){return q;};return a133c();}a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a133o(0xcc)]({'name':a133o(0xcb),'aliases':['p'],'usage':a133o(0xd1),'mustBeInMakaProject':!![],'shortDesc':a133o(0xc5),'validOpts':[a133o(0xd4)],'examples':[a133o(0xd3)]},async function(a,b){const p=a133o,c=kebabCase(b[p(0xb2)]),d=b[p(0xd4)]?'/'+b[p(0xd4)]+'/':'/',e=this[p(0xb0)][p(0xa8)]({'pathParts':[p(0xb3),d,c]}),f=this[p(0xb0)]['pathFromAppWithNoReWrite']({'pathParts':[p(0xb3),d,c,p(0xc4)]}),g=this[p(0xa6)],h={'name':kebabCase(b[p(0xb2)]),'myPath':a133e[p(0xca)](this[p(0xd2)]['findProjectDirectory'](),e),'cssCaseName':kebabCase(b[p(0xb2)]),'className':pascalCase(b[p(0xb2)]),'camelCaseName':camelCase(b[p(0xb2)]),'fileName':c,'client':g['engines'][p(0xc0)],'graphql':g[p(0xbd)]['graphql'],'ssr':g['engines']['ssr'],'isComponent':b['hasOwnProperty'](p(0xc3)),'isLayout':b[p(0xba)](p(0xb7)),'isStore':b['hasOwnProperty'](p(0xc6)),'features':g[p(0xa7)],'noRename':!![],'theme':g[p(0xbd)][p(0xac)]};await this[p(0xb0)][p(0xaa)]({'srcPath':'package/package.js','destPath':f,'context':h,'config':g}),h[p(0xc8)]=![];const i=e+p(0xab)+c+'.js';await this['scaffold'][p(0xaa)]({'srcPath':p(0xc2),'destPath':i,'context':h,'config':g});const j=[p(0xd0),p(0xd5),p(0xcd),p(0xbc)];for(const k of j){const l=e+'/'+k+'/'+c+'.js';await this[p(0xb0)][p(0xaa)]({'srcPath':p(0xce)+k+p(0xc9),'destPath':l,'context':h,'config':g});}});