@maka/maka-cli 5.0.31 → 5.0.32

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 (168) 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/service/eslint/babelrc +16 -1
  144. package/bundle/obf/src/templates/service/eslint/config.eslint.js +29 -33
  145. package/bundle/obf/src/tool.js +1 -1
  146. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  148. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  150. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  151. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  153. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  154. package/bundle/obf/src/tools/https/https.class.js +1 -1
  155. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  156. package/bundle/obf/src/tools/log/log.class.js +1 -1
  157. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  158. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  159. package/bundle/obf/src/tools/options/options.class.js +1 -1
  160. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  161. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  162. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  163. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  164. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  166. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  167. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  168. package/package.json +1 -1
@@ -1 +1 @@
1
- function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x198;let f=c[d];return f;},a116d(a,b);}function a116c(){const q=['fsi','components','apollo','assign','@apollo/client\x20isomorphic-fetch','@apollo/client','120EvwQmt','string','.js','6342880YdyVpe','graphql','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','checkNpmPackage','pkg','withTranslations','features','cfg','injectAtBeginningOfFile','hooks','notice','force','error','installNpmPackage','176348rqnXNW','baseDir','2495470tpSiBp','(((.+)+)+)+$','warn','.css','create','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','/imports/ui/components','projectConfig','none','10JRDEfW','pathFromApp','className','react','\x20hook...','.app-tests.js','test','/imports/ui/','hook/hook.js','apply','567jKCxnh','import\x20\x27./','scaffold','toString','relative','fileName','css','search','16812bcmeWP','cssCaseName','resourceName','setTemplate','1148814gmAPky','dir','4896072fQzUwb','template','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','7035rwBBfl','engines','template/template.css'];a116c=function(){return q;};return a116c();}const a116o=a116d;(function(a,b){const l=a116d,c=a();while(!![]){try{const d=-parseInt(l(0x1cd))/0x1+parseInt(l(0x1b7))/0x2*(parseInt(l(0x1d2))/0x3)+-parseInt(l(0x1ac))/0x4*(-parseInt(l(0x19b))/0x5)+-parseInt(l(0x1c9))/0x6*(-parseInt(l(0x1c1))/0x7)+parseInt(l(0x19e))/0x8+-parseInt(l(0x1cf))/0x9+parseInt(l(0x1ae))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x9dcd8));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a116d;if(c){const e=c[m(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const n=a116d;return a116a['toString']()[n(0x1c8)]('(((.+)+)+)+$')[n(0x1c4)]()['constructor'](a116a)[n(0x1c8)](n(0x1af));});a116a();import a116e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a116o(0x1b2)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a116o(0x1b3),'shortDesc':a116o(0x1d1),'mustBeInMakaProject':!![],'validOpts':[{'name':a116o(0x1ad),'values':[a116o(0x1a7),a116o(0x1d6),'pages','layouts']},{'name':a116o(0x1a9),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':'\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'},async function(a,b){const p=a116o;Log[p(0x1a8)]('Creating\x20'+b['resourceName']+p(0x1bb));try{await this[p(0x1a2)]['checkNpmPackage']('react',{'shouldInstall':!![]});const c=this[p(0x1d5)]['findAppDirectory'](),d=b['baseDir']?p(0x1be)+b[p(0x1ad)]:p(0x1b4),f=this[p(0x1c3)][p(0x1b8)]({'pathParts':[d,b['dir'],kebabCase(b[p(0x1cb)]),kebabCase(b['resourceName'])]}),g=this[p(0x1b5)];typeof g[p(0x1d0)]['css']===p(0x19c)&&this[p(0x1a5)][p(0x1cc)]('css',g[p(0x1d0)][p(0x1c7)]);g[p(0x1d3)][p(0x19f)]===p(0x1d7)&&!this['pkg'][p(0x1a1)](p(0x19a))&&(Log[p(0x1b0)](p(0x1a0)),await this['pkg'][p(0x1ab)](p(0x199),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x1cb)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[p(0x1cb)]),'name':pascalCase(b[p(0x1cb)]),'graphql':g[p(0x1d3)]['graphql'],'theme':g['engines']['theme'],'features':g[p(0x1a4)],'myPath':a116e[p(0x1c5)](this[p(0x1d5)]['findProjectDirectory'](),f),'fileName':kebabCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x1a4)][p(0x1a3)]};await this[p(0x1c3)]['template']({'srcPath':p(0x1bf),'destPath':f+p(0x19d),'context':h,'config':g,'framework':'react','force':b[p(0x1a9)]});g[p(0x1d0)][p(0x1c7)]&&(await this['scaffold']['template']({'srcPath':p(0x1d4),'destPath':f+p(0x1b1),'context':Object[p(0x198)]({},h,{'className':h[p(0x1ca)]}),'config':g,'force':b[p(0x1a9)]}),await this[p(0x1c3)][p(0x1a6)]({'filePath':f+'.'+g['engines']['js'],'content':p(0x1c2)+h[p(0x1c6)]+'.'+g[p(0x1d3)]['css']+'\x27;'}));g[p(0x1d3)][p(0x1bd)]!==p(0x1b6)&&await this[p(0x1c3)]['template']({'srcPath':'test/test.js','destPath':f+p(0x1bc),'framework':p(0x1ba),'context':h,'config':g,'force':b['force']});const i=b[p(0x1ce)]?'/'+b[p(0x1ce)]+'/':'/',j=''+d+i+h[p(0x1c6)]+'/'+h[p(0x1c6)];await this[p(0x1c3)]['injectTemplateModule'](h[p(0x1b9)],g,j);}catch(k){Log[p(0x1aa)](k);}});
1
+ const a116o=a116d;(function(a,b){const l=a116d,c=a();while(!![]){try{const d=-parseInt(l(0x1ea))/0x1+-parseInt(l(0x1bf))/0x2+-parseInt(l(0x1d0))/0x3+-parseInt(l(0x1b6))/0x4*(parseInt(l(0x1de))/0x5)+parseInt(l(0x1bc))/0x6+-parseInt(l(0x1d5))/0x7*(parseInt(l(0x1c9))/0x8)+parseInt(l(0x1ed))/0x9*(parseInt(l(0x1d2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xde332));function a116c(){const q=['Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fileName','dir','layouts','baseDir','string','cssCaseName','173043gkIeSb','(((.+)+)+)+$','pathFromApp','9fhlwau','warn','create','search','hook/hook.js','relative','@apollo/client\x20isomorphic-fetch','Creating\x20','resourceName','apollo','4rUCoQm','maka\x20g:hook\x20cool-hook','hooks','injectAtBeginningOfFile','className','scaffold','6172470qREiMU','projectConfig','pkg','2065644vyerQC','graphql','@apollo/client','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','error','engines','installNpmPackage','.app-tests.js','import\x20\x27./','pages','128uuFOHd','.js','fsi','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','/imports/ui/','checkNpmPackage','withTranslations','2677461OksEoH','setTemplate','42658600iGIeHc','hook','toString','350539TEqVvX','.css','force','test/test.js','none','react','assign','cfg','injectTemplateModule','7424455zScrHU','css','apply','features','template'];a116c=function(){return q;};return a116c();}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a116d;if(c){const e=c[m(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const n=a116d;return a116a[n(0x1d4)]()[n(0x1f0)](n(0x1eb))[n(0x1d4)]()['constructor'](a116a)[n(0x1f0)](n(0x1eb));});a116a();import a116e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';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-0x1b0;let f=c[d];return f;},a116d(a,b);}Generator[a116o(0x1ef)]({'name':a116o(0x1d3),'aliases':['h'],'checkWhere':![],'usage':a116o(0x1c2),'shortDesc':a116o(0x1cc),'mustBeInMakaProject':!![],'validOpts':[{'name':'baseDir','values':[a116o(0x1b8),'components',a116o(0x1c8),a116o(0x1e6)]},{'name':'force','boolFlag':!![]}],'examples':[a116o(0x1b7)],'description':'\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'},async function(a,b){const p=a116o;Log['notice'](p(0x1b3)+b['resourceName']+'\x20hook...');try{await this['pkg'][p(0x1ce)](p(0x1da),{'shouldInstall':!![]});const c=this['fsi']['findAppDirectory'](),d=b[p(0x1e7)]?p(0x1cd)+b[p(0x1e7)]:'/imports/ui/components',f=this[p(0x1bb)][p(0x1ec)]({'pathParts':[d,b[p(0x1e5)],kebabCase(b[p(0x1b4)]),kebabCase(b[p(0x1b4)])]}),g=this[p(0x1bd)];typeof g[p(0x1e2)][p(0x1df)]===p(0x1e8)&&this[p(0x1dc)][p(0x1d1)]('css',g['template']['css']);g['engines'][p(0x1c0)]===p(0x1b5)&&!this[p(0x1be)][p(0x1ce)](p(0x1c1))&&(Log[p(0x1ee)](p(0x1e3)),await this[p(0x1be)][p(0x1c5)](p(0x1b2),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x1b4)]),'camelCaseName':camelCase(b[p(0x1b4)]),'className':pascalCase(b[p(0x1b4)]),'name':pascalCase(b[p(0x1b4)]),'graphql':g[p(0x1c4)]['graphql'],'theme':g[p(0x1c4)]['theme'],'features':g[p(0x1e1)],'myPath':a116e[p(0x1b1)](this[p(0x1cb)]['findProjectDirectory'](),f),'fileName':kebabCase(b[p(0x1b4)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x1e1)][p(0x1cf)]};await this[p(0x1bb)][p(0x1e2)]({'srcPath':p(0x1b0),'destPath':f+p(0x1ca),'context':h,'config':g,'framework':p(0x1da),'force':b[p(0x1d7)]});g['template'][p(0x1df)]&&(await this[p(0x1bb)][p(0x1e2)]({'srcPath':'template/template.css','destPath':f+p(0x1d6),'context':Object[p(0x1db)]({},h,{'className':h[p(0x1e9)]}),'config':g,'force':b[p(0x1d7)]}),await this[p(0x1bb)][p(0x1b9)]({'filePath':f+'.'+g[p(0x1c4)]['js'],'content':p(0x1c7)+h[p(0x1e4)]+'.'+g[p(0x1c4)][p(0x1df)]+'\x27;'}));g['engines']['test']!==p(0x1d9)&&await this[p(0x1bb)][p(0x1e2)]({'srcPath':p(0x1d8),'destPath':f+p(0x1c6),'framework':p(0x1da),'context':h,'config':g,'force':b[p(0x1d7)]});const i=b[p(0x1e5)]?'/'+b[p(0x1e5)]+'/':'/',j=''+d+i+h[p(0x1e4)]+'/'+h[p(0x1e4)];await this['scaffold'][p(0x1dd)](h[p(0x1ba)],g,j);}catch(k){Log[p(0x1c3)](k);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(0x126))/0x1*(-parseInt(f(0x127))/0x2)+-parseInt(f(0x11e))/0x3*(-parseInt(f(0x12c))/0x4)+-parseInt(f(0x11c))/0x5*(-parseInt(f(0x11b))/0x6)+-parseInt(f(0x11d))/0x7*(parseInt(f(0x128))/0x8)+parseInt(f(0x124))/0x9*(-parseInt(f(0x129))/0xa)+parseInt(f(0x125))/0xb*(parseInt(f(0x122))/0xc)+parseInt(f(0x121))/0xd*(parseInt(f(0x120))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xd4e13));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(0x123)](g(0x12a))[g(0x11f)]()[g(0x12b)](a117a)[g(0x123)](g(0x12a));});a117a();import'./kit.js';import'./mui/_index.js';function a117c(){var h=['41206ncXeYd','1521913IlZhHw','2MvQYCH','4461112FkLrIQ','4399070PPpXsu','(((.+)+)+)+$','constructor','1288VIOslr','24YRESQq','57220aNfUGU','7OhScKf','7077nVJIxh','toString','2814NtQeHp','24388XJZPBo','144RzMkvs','search','27ojMflI'];a117c=function(){return h;};return a117c();}import'./esri/_index.js';function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x11b;var f=c[d];return f;},a117d(a,b);}import'./auth/_index.js';
1
+ (function(a,b){var f=a117d,c=a();while(!![]){try{var d=parseInt(f(0x1ef))/0x1+-parseInt(f(0x1f1))/0x2+parseInt(f(0x1f0))/0x3+parseInt(f(0x1ec))/0x4+-parseInt(f(0x1ea))/0x5*(parseInt(f(0x1e9))/0x6)+-parseInt(f(0x1f2))/0x7+parseInt(f(0x1e7))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x67772));var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a[h(0x1e8)]()[h(0x1eb)](h(0x1ee))[h(0x1e8)]()['constructor'](a117a)[h(0x1eb)](h(0x1ee));});function a117c(){var i=['(((.+)+)+)+$','3739qEshKa','567936hFsVVZ','675964mgvZfj','5106479ZhoJtH','11195648KdxkSm','toString','576AlXuXX','29930uZFeZT','search','1893688gLzggp','apply'];a117c=function(){return i;};return a117c();}a117a();function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x1e7;var f=c[d];return f;},a117d(a,b);}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(0x18f))/0x2)+-parseInt(f(0x19a))/0x3*(parseInt(f(0x192))/0x4)+-parseInt(f(0x19c))/0x5*(-parseInt(f(0x196))/0x6)+parseInt(f(0x194))/0x7+parseInt(f(0x191))/0x8*(-parseInt(f(0x195))/0x9)+-parseInt(f(0x19b))/0xa+parseInt(f(0x193))/0xb*(parseInt(f(0x190))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xa98b0));function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x18e;var f=c[d];return f;},a118d(a,b);}function a118c(){var i=['1apuZiJ','constructor','3vDIkYH','3751600tjoKeW','5930ctHlxI','(((.+)+)+)+$','apply','691294nwKWuZ','6876elQVCw','89272hZZIXn','3807640HAgwls','46079zNjtkO','3822336sQTLnm','954ecHUcy','3054lzLYzV','search'];a118c=function(){return i;};return a118c();}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()['search'](h(0x19d))['toString']()[h(0x199)](a118a)[h(0x197)](h(0x19d));});a118a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
1
+ function a118c(){var i=['435879abSJPt','657496QMQnEZ','toString','4270BfVaoB','apply','search','542568RfOSOn','30055jwrDna','2648Sckfia','66rXhPmM','95735QwxQGe','(((.+)+)+)+$','159776Ltbkro'];a118c=function(){return i;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x83))/0x1+-parseInt(f(0x85))/0x2+parseInt(f(0x8c))/0x3+-parseInt(f(0x87))/0x4+parseInt(f(0x80))/0x5*(parseInt(f(0x82))/0x6)+parseInt(f(0x89))/0x7*(parseInt(f(0x81))/0x8)+parseInt(f(0x86))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x26689));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x8a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()[h(0x8b)](h(0x84))[h(0x88)]()['constructor'](a118a)['search'](h(0x84));});a118a();import'./auth.generator.js';import'./provider.auth.gen.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x80;var f=c[d];return f;},a118d(a,b);}import'./basic-meteor.auth.gen.js';
@@ -1 +1 @@
1
- const a119h=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0xd3))/0x1*(-parseInt(f(0xd7))/0x2)+-parseInt(f(0xd9))/0x3*(parseInt(f(0xdd))/0x4)+-parseInt(f(0xe2))/0x5*(-parseInt(f(0xde))/0x6)+parseInt(f(0xdc))/0x7*(parseInt(f(0xda))/0x8)+parseInt(f(0xe6))/0x9*(-parseInt(f(0xdb))/0xa)+parseInt(f(0xe0))/0xb+-parseInt(f(0xe1))/0xc*(-parseInt(f(0xd8))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x601d1));function a119c(){const j=['NIE','(((.+)+)+)+$','maka\x20g:kit:a','9882xsKjCy','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','4hfJnDP','search','auth','toString','383316eEFRPh','65YhVJSf','21phneZe','16bKmDDX','4380LbGbvT','2184539oNljmT','165868crUpZQ','6KMbwlg','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','4714050IncSJq','1480200VMwzRq','1310260TurIBd'];a119c=function(){return j;};return a119c();}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const g=a119d;return a119a[g(0xd6)]()[g(0xd4)](g(0xe4))[g(0xd6)]()['constructor'](a119a)['search']('(((.+)+)+)+$');});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator['create']({'name':a119h(0xd5),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':a119h(0xe7),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a119h(0xe5)],'description':a119h(0xdf)},async function(){const i=a119h;throw i(0xe3);},async function(){},a119e);function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xd3;let f=c[d];return f;},a119d(a,b);}export default AuthGen;
1
+ function a119c(){const j=['397539nwUaLX','maka\x20g:kit:a','148WNfmyH','search','9449510VOLNAO','35244mgmmIh','32KAVBHy','apply','12493KblaSt','(((.+)+)+)+$','toString','245YcpCzz','4692104QSPFwU','4740620ktASFG','4534404lLqbmL','auth','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>'];a119c=function(){return j;};return a119c();}const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x147))/0x1*(-parseInt(f(0x141))/0x2)+parseInt(f(0x14d))/0x3+parseInt(f(0x14b))/0x4+parseInt(f(0x14a))/0x5*(parseInt(f(0x144))/0x6)+-parseInt(f(0x143))/0x7+-parseInt(f(0x145))/0x8*(parseInt(f(0x13f))/0x9)+parseInt(f(0x14c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xf2fd6));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x146)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a['toString']()[h(0x142)](h(0x148))[h(0x149)]()['constructor'](a119a)['search']('(((.+)+)+)+$');});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator['create']({'name':a119i(0x14e),'aliases':['a'],'usage':a119i(0x13e),'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a119i(0x140)],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){throw'NIE';},async function(){},a119e);function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x13e;let f=c[d];return f;},a119d(a,b);}export default AuthGen;
@@ -1 +1 @@
1
- const a120v=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d=-parseInt(s(0x12b))/0x1+-parseInt(s(0x135))/0x2+parseInt(s(0x128))/0x3*(parseInt(s(0x119))/0x4)+parseInt(s(0x130))/0x5+parseInt(s(0x144))/0x6+-parseInt(s(0x126))/0x7*(-parseInt(s(0x154))/0x8)+-parseInt(s(0x122))/0x9*(parseInt(s(0x127))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x88331));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a120d;if(c){const e=c[t(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const u=a120d;return a120a['toString']()[u(0x12c)](u(0x141))[u(0x115)]()['constructor'](a120a)['search'](u(0x141));});a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x115;let f=c[d];return f;},a120d(a,b);}import a120e from'path';import{Generator}from'../../../generator.js';function a120c(){const x=['injectImport','findAppDirectory','45AyDeTz','AuthService','kit:auth:provider','engines','6561842YQcIQb','2585430sIhGIn','309xXfOxE','injectIntoCodeBlock','index','247529ZTrkfj','search','authentication-provider','/imports/startup/client/authentication-service','const\x20sendForgotPasswordEmail','3157080bcbgHI','exit','force','meteor','injectIntoFile','765508yXDtTC','export\x20const\x20AuthProvider','findProjectDirectory','/imports/startup/client','accounts-password','meteor/meteor','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','Accounts','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\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','authentication-service','meteor/maka:react-tracker','(((.+)+)+)+$','.js','const\x20registerNewUser','3117096OfbPyg','\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','const\x20authenticateToken','\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','create','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','pathFromApp','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','normalize','/imports/startup/lib','publish','react','processAndRunGenerator','server','const\x20authenticateUser','checkMeteorPackage','8btitwS','useTracker','template','\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','toString','/imports/startup/lib/authentication-service','meteor/accounts-base','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','15244zNzoTw','\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','auth/roles','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','apply','kit/auth/service/meteor-auth-service.js','Meteor'];a120c=function(){return x;};return a120c();}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';Generator[a120v(0x148)]({'name':a120v(0x133),'aliases':['m'],'usage':a120v(0x13b),'shortDesc':a120v(0x14b),'validOpts':[a120v(0x132)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a120v(0x11a)},async function(a,b){const w=a120v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b['force']||![];await d[w(0x153)]([w(0x139)],{'shouldInstall':!![]});const i=c[w(0x137)](),j=c[w(0x121)](),k=g[w(0x125)]['ssr']==='meteor';await a120g[w(0x150)](w(0x124),[],{'force':h,'cwd':i,'config':g}),await a120g[w(0x150)](w(0x14e),[w(0x11b)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e[w(0x14c)]('/imports/startup/server/publications/auth/roles.js'),m=k?w(0x14d):w(0x138),n=f[w(0x14a)]({'pathParts':[m,'','',w(0x13f)]});await f[w(0x156)]({'srcPath':w(0x11e),'destPath':n+w(0x142),'framework':w(0x14f),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x14a)]({'pathParts':[m,'','',w(0x12d)]}),p=g['engines']['js'];await f[w(0x120)]({'filePath':o+'.'+p,'importName':w(0x123),'modulePath':k?w(0x116):w(0x12e),'isNamedExport':![]}),await f[w(0x129)]({'filePath':o+'.'+p,'content':'\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','begin':w(0x152),'replace':!![]}),await f[w(0x129)]({'filePath':o+'.'+p,'content':'\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','begin':w(0x146),'replace':!![]}),await f[w(0x129)]({'filePath':o+'.'+p,'content':w(0x145),'begin':'const\x20getUserAuthorizations','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x149),'begin':'const\x20deauthenticateUser','replace':!![]}),await f[w(0x129)]({'filePath':o+'.'+p,'content':w(0x118),'begin':w(0x12f),'replace':!![]}),await f[w(0x129)]({'filePath':o+'.'+p,'content':w(0x11c),'begin':w(0x143),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x13d),'begin':'const\x20resetPasswordWithToken','replace':!![]});k&&(await f[w(0x120)]({'filePath':o+'.'+p,'importName':w(0x155),'modulePath':w(0x140),'isNamedExport':!![]}),await f[w(0x134)]({'filePath':o+'.'+p,'content':w(0x13e),'begin':w(0x136),'end':'useEffect\x5c('}));await f['injectImport']({'filePath':l,'importName':w(0x11f),'modulePath':w(0x13a),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x129)]({'filePath':l,'content':w(0x147),'begin':'Meteor.publish','replace':!![]});const q=f[w(0x14a)]({'pathParts':['imports','startup',w(0x151),w(0x12a)]});await f[w(0x120)]({'filePath':q+'.'+p,'importName':w(0x13c),'modulePath':w(0x117),'isNamedExport':!![]}),await f[w(0x129)]({'filePath':q+'.'+p,'content':w(0x157),'begin':'Meteor.startup','replace':!![]});}catch(r){Log['error'](r),process[w(0x131)](0x1);}},async function(){},a120f);
1
+ const a120v=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d=parseInt(s(0x136))/0x1*(parseInt(s(0x142))/0x2)+-parseInt(s(0x12f))/0x3+-parseInt(s(0x144))/0x4*(parseInt(s(0x159))/0x5)+parseInt(s(0x151))/0x6+-parseInt(s(0x13c))/0x7+parseInt(s(0x141))/0x8+parseInt(s(0x13d))/0x9*(parseInt(s(0x160))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x71071));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a120d;if(c){const e=c[t(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const u=a120d;return a120a['toString']()[u(0x13b)](u(0x149))['toString']()[u(0x135)](a120a)[u(0x13b)](u(0x149));});a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x124;let f=c[d];return f;},a120d(a,b);}function a120c(){const x=['3056490PWiniL','server','force','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','injectIntoFile','export\x20const\x20AuthProvider','.js','17019330VNmTBa','const\x20sendForgotPasswordEmail','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','accounts-password','meteor/meteor','useTracker','injectIntoCodeBlock','const\x20deauthenticateUser','startup','normalize','/imports/startup/client','\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','checkMeteorPackage','useEffect\x5c(','1735083UMRRtG','const\x20authenticateToken','authentication-service','exit','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','/imports/startup/lib','constructor','1PUHUMq','auth/roles','injectImport','imports','Meteor.startup','search','4973094MHnQEj','9RoLSqc','kit/auth/service/meteor-auth-service.js','\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\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','1474624pUXKsb','803134ActVlq','engines','4rIpYXt','meteor','processAndRunGenerator','Meteor','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','(((.+)+)+)+$','/imports/startup/client/authentication-service','meteor/accounts-base','const\x20registerNewUser','pathFromApp','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\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','const\x20resetPasswordWithToken','451404IBFlCv','\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','const\x20getUserAuthorizations','apply','authentication-provider','react','\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','const\x20authenticateUser'];a120c=function(){return x;};return a120c();}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';Generator['create']({'name':a120v(0x145),'aliases':['m'],'usage':a120v(0x133),'shortDesc':a120v(0x14e),'validOpts':[a120v(0x15b)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a120v(0x152)},async function(a,b){const w=a120v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b['force']||![];await d[w(0x12d)]([w(0x124)],{'shouldInstall':!![]});const i=c['findProjectDirectory'](),j=c['findAppDirectory'](),k=g[w(0x143)]['ssr']==='meteor';await a120g[w(0x146)]('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a120g[w(0x146)]('publish',[w(0x137)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e[w(0x12a)]('/imports/startup/server/publications/auth/roles.js'),m=k?w(0x134):w(0x12b),n=f[w(0x14d)]({'pathParts':[m,'','',w(0x131)]});await f['template']({'srcPath':w(0x13e),'destPath':n+w(0x15f),'framework':w(0x156),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x14d)]({'pathParts':[m,'','',w(0x155)]}),p=g[w(0x143)]['js'];await f[w(0x138)]({'filePath':o+'.'+p,'importName':'AuthService','modulePath':k?'/imports/startup/lib/authentication-service':w(0x14a),'isNamedExport':![]}),await f[w(0x127)]({'filePath':o+'.'+p,'content':w(0x13f),'begin':w(0x158),'replace':!![]}),await f[w(0x127)]({'filePath':o+'.'+p,'content':'\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','begin':w(0x130),'replace':!![]}),await f[w(0x127)]({'filePath':o+'.'+p,'content':'\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','begin':w(0x153),'replace':!![]}),await f[w(0x127)]({'filePath':o+'.'+p,'content':w(0x148),'begin':w(0x128),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x15c),'begin':w(0x161),'replace':!![]}),await f[w(0x127)]({'filePath':o+'.'+p,'content':w(0x162),'begin':w(0x14c),'replace':!![]}),await f[w(0x127)]({'filePath':o+'.'+p,'content':w(0x140),'begin':w(0x150),'replace':!![]});k&&(await f[w(0x138)]({'filePath':o+'.'+p,'importName':w(0x126),'modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await f[w(0x15d)]({'filePath':o+'.'+p,'content':w(0x12c),'begin':w(0x15e),'end':w(0x12e)}));await f[w(0x138)]({'filePath':l,'importName':w(0x147),'modulePath':w(0x125),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x127)]({'filePath':l,'content':w(0x14f),'begin':'Meteor.publish','replace':!![]});const q=f['pathFromApp']({'pathParts':[w(0x139),w(0x129),w(0x15a),'index']});await f[w(0x138)]({'filePath':q+'.'+p,'importName':'Accounts','modulePath':w(0x14b),'isNamedExport':!![]}),await f['injectIntoCodeBlock']({'filePath':q+'.'+p,'content':w(0x157),'begin':w(0x13a),'replace':!![]});}catch(r){Log['error'](r),process[w(0x132)](0x1);}},async function(){},a120f);
@@ -1 +1 @@
1
- function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xb0;let f=c[d];return f;},a121d(a,b);}const a121w=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=parseInt(u(0xd6))/0x1*(-parseInt(u(0xdf))/0x2)+parseInt(u(0xe0))/0x3*(parseInt(u(0xe1))/0x4)+-parseInt(u(0xc9))/0x5*(parseInt(u(0xc3))/0x6)+-parseInt(u(0xc2))/0x7*(-parseInt(u(0xd9))/0x8)+parseInt(u(0xb9))/0x9+-parseInt(u(0xc8))/0xa*(parseInt(u(0xc1))/0xb)+parseInt(u(0xcf))/0xc*(parseInt(u(0xbd))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x23487));function a121c(){const y=['Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','search','(((.+)+)+)+$','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','2WRcpDF','5262qQRUVt','92VyIcKA','pathFromApp','<AppRoutes\x20/>','/imports/startup/server/index','.js','template','injectAroundString','const\x20PrivateRoute','scaffold','<AppRoutes\x20history={history}/>','meteor','ssr','error','const\x20useAuth','1967886VZXMpl','injectIntoCodeBlock','/imports/startup/client/authentication-provider','provider','2171728xJInbj','\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/index','create','13695zYAuPh','6349GjUdJz','5388RPhxgF','function\x20useAuth','kit/auth/provider/authentication-provider.js','/imports/startup/lib/authentication-provider','split','750UmhpYm','1340qvxjet','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','authentication-provider','react','\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','appName','24eyBqGI','AuthContext','/routes','\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','toString','injectImport','bright','133597BzYhzM','engines','exit','168ednfIy','force'];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[v(0xd3)]()[v(0xdc)](v(0xdd))['toString']()['constructor'](a121a)[v(0xdc)](v(0xdd));});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';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121w(0xc0)]({'name':a121w(0xbc),'aliases':['p'],'usage':a121w(0xca),'shortDesc':a121w(0xdb),'validOpts':[a121w(0xda)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a121w(0xcd)},async function(a,b){const x=a121w;try{const c=b[x(0xda)]||![];Log[x(0xd5)](x(0xde));const {projectConfig:d}=this,f=d[x(0xd7)][x(0xb6)]===x(0xb5),g={'name':capitalCase(d[x(0xce)])},h=f?'/imports/startup/lib':'/imports/startup/client',i=this[x(0xb3)][x(0xe2)]({'pathParts':[h,'','',x(0xcb)]});await this[x(0xb3)][x(0xb0)]({'srcPath':x(0xc5),'destPath':i+x(0xe5),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});const j=d[x(0xd7)]['js'],k=h+x(0xd1),l=k['split']('/'),m=this['scaffold'][x(0xe2)]({'pathParts':l});await this[x(0xb3)][x(0xd4)]({'filePath':m+'.'+j,'importName':x(0xd0),'modulePath':f?x(0xc6):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0xb3)]['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':x(0xcc),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold'][x(0xba)]({'filePath':m+'.'+j,'content':x(0xd2),'begin':[x(0xb8),x(0xc4)],'replace':!![]}),await this[x(0xb3)][x(0xba)]({'filePath':m+'.'+j,'content':x(0xbe),'begin':[x(0xb2)],'replace':!![]});const n=x(0xbf),o=n['split']('/'),p=this[x(0xb3)][x(0xe2)]({'pathParts':o});await this[x(0xb3)]['injectImport']({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?x(0xc6):x(0xbb),'isNamedExport':!![]}),await this[x(0xb3)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':x(0xe3),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0xe4),r=q[x(0xc7)]('/'),s=this[x(0xb3)]['pathFromApp']({'pathParts':r});await this[x(0xb3)]['injectImport']({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0xb3)][x(0xb1)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':x(0xb4),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0xb7)](t),process[x(0xd8)](0x1);}},async function(){},a121e);
1
+ const a121x=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=parseInt(u(0x182))/0x1*(parseInt(u(0x185))/0x2)+-parseInt(u(0x183))/0x3+parseInt(u(0x17a))/0x4*(parseInt(u(0x18b))/0x5)+parseInt(u(0x186))/0x6+parseInt(u(0x180))/0x7*(parseInt(u(0x16c))/0x8)+parseInt(u(0x169))/0x9+-parseInt(u(0x163))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x37078));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a121d;if(c){const e=c[v(0x15d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const w=a121d;return a121a[w(0x18d)]()['search']('(((.+)+)+)+$')[w(0x18d)]()['constructor'](a121a)[w(0x17b)](w(0x177));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x15d;let f=c[d];return f;},a121d(a,b);}import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a121c(){const z=['<AuthProvider>','/imports/startup/lib/authentication-provider','8467680kYBzIE','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','authentication-provider','AuthProvider','provider','force','2855475qgaMRF','</AuthProvider>','appName','94184injzhu','scaffold','ssr','engines','split','exit','/imports/startup/client/authentication-provider','useContext','/imports/startup/client/index','<AppRoutes\x20/>','REACT','(((.+)+)+)+$','injectImport','\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','12TgbBGN','search','AuthContext','/imports/startup/client','meteor','/imports/startup/server/index','77Jpvtio','injectIntoCodeBlock','1UKfyNu','771183hUrVgm','bright','851998XPzOAU','1685190zbbteK','error','kit/auth/provider/authentication-provider.js','react','create','292645CZoUcl','injectAroundString','toString','apply','pathFromApp','const\x20useAuth','function\x20useAuth'];a121c=function(){return z;};return a121c();}Generator[a121x(0x18a)]({'name':a121x(0x167),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a121x(0x164),'validOpts':[a121x(0x168)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a121x(0x176)]},'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 y=a121x;try{const c=b[y(0x168)]||![];Log[y(0x184)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const {projectConfig:d}=this,f=d[y(0x16f)][y(0x16e)]===y(0x17e),g={'name':capitalCase(d[y(0x16b)])},h=f?'/imports/startup/lib':y(0x17d),i=this[y(0x16d)][y(0x15e)]({'pathParts':[h,'','',y(0x165)]});await this[y(0x16d)]['template']({'srcPath':y(0x188),'destPath':i+'.js','framework':'react','context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x16f)]['js'],k=h+'/routes',l=k[y(0x170)]('/'),m=this[y(0x16d)][y(0x15e)]({'pathParts':l});await this[y(0x16d)][y(0x178)]({'filePath':m+'.'+j,'importName':y(0x17c),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x172),'isNamedExport':!![]}),await this[y(0x16d)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x173),'modulePath':y(0x189),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x16d)][y(0x181)]({'filePath':m+'.'+j,'content':y(0x179),'begin':[y(0x15f),y(0x160)],'replace':!![]}),await this[y(0x16d)][y(0x181)]({'filePath':m+'.'+j,'content':'\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','begin':['const\x20PrivateRoute'],'replace':!![]});const n=y(0x174),o=n[y(0x170)]('/'),p=this['scaffold']['pathFromApp']({'pathParts':o});await this['scaffold'][y(0x178)]({'filePath':p+'.'+j,'importName':y(0x166),'modulePath':f?y(0x162):y(0x172),'isNamedExport':!![]}),await this[y(0x16d)][y(0x18c)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x16a),'targetString':y(0x175),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x17f),r=q['split']('/'),s=this[y(0x16d)][y(0x15e)]({'pathParts':r});await this[y(0x16d)][y(0x178)]({'filePath':s+'.'+j,'importName':y(0x166),'modulePath':f?y(0x162):y(0x172),'isNamedExport':!![]}),await this[y(0x16d)][y(0x18c)]({'filePath':s+'.'+j,'aboveContent':y(0x161),'belowContent':y(0x16a),'targetString':'<AppRoutes\x20history={history}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x187)](t),process[y(0x171)](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- (function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x15f))/0x1*(parseInt(f(0x15a))/0x2)+-parseInt(f(0x15c))/0x3+-parseInt(f(0x167))/0x4+-parseInt(f(0x159))/0x5*(parseInt(f(0x162))/0x6)+parseInt(f(0x15e))/0x7*(-parseInt(f(0x158))/0x8)+parseInt(f(0x15b))/0x9*(parseInt(f(0x165))/0xa)+parseInt(f(0x166))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xdf277));function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x158;var f=c[d];return f;},a122d(a,b);}function a122c(){var i=['apply','toString','830gBltAe','71679938DkcCvR','7157372OxMmRI','556152tAfUUD','178610kDqDla','2442112AWWyfo','79515NHkpKF','3890313UUNwFF','search','28uMATlT','1UbZEAI','(((.+)+)+)+$','constructor','294OLyQuY'];a122c=function(){return i;};return a122c();}var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x164)]()[h(0x15d)](h(0x160))['toString']()[h(0x161)](a122a)[h(0x15d)](h(0x160));});a122a();import'./esri.generator.js';import'./map.esri.gen.js';
1
+ function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x1cf;var f=c[d];return f;},a122d(a,b);}function a122c(){var h=['282174dJjxyC','(((.+)+)+)+$','2523069UjFnny','31249880SJgklw','constructor','toString','search','980782rTouHA','4dEbToJ','8BAHEOb','213715gECqxA','2581355fqPOfI','14zcGyty','4882656KMddik','11cUDJmX'];a122c=function(){return h;};return a122c();}(function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x1d8))/0x1+parseInt(f(0x1dd))/0x2*(-parseInt(f(0x1d1))/0x3)+parseInt(f(0x1d9))/0x4*(parseInt(f(0x1db))/0x5)+-parseInt(f(0x1cf))/0x6+-parseInt(f(0x1dc))/0x7+parseInt(f(0x1da))/0x8*(parseInt(f(0x1d3))/0x9)+parseInt(f(0x1d4))/0xa*(parseInt(f(0x1d0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x98ea7));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(0x1d6)]()[g(0x1d7)](g(0x1d2))['toString']()[g(0x1d5)](a122a)['search']('(((.+)+)+)+$');});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(0x114))/0x1+-parseInt(f(0x109))/0x2*(parseInt(f(0x113))/0x3)+-parseInt(f(0x104))/0x4*(parseInt(f(0x10b))/0x5)+parseInt(f(0x103))/0x6+-parseInt(f(0x111))/0x7+parseInt(f(0x116))/0x8+parseInt(f(0x10e))/0x9*(parseInt(f(0x10d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x210e0));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a['toString']()[h(0x10a)](h(0x110))[h(0x10f)]()[h(0x115)](a123a)[h(0x10a)](h(0x110));});a123a();import{Generator}from'../../../generator.js';function a123c(){const k=['9900RBJrJe','toString','(((.+)+)+)+$','176554gUZdeg','esri','405063qqlytT','156544dGJYjT','constructor','1588992NnYjcB','/foo','330570PtpdpQ','212Jqaebi','apply','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','create','/foo/bar','4tbICyC','search','20115ooIrcp','Esri\x20Kit\x20generated\x20successfully','4970Jmgcxo'];a123c=function(){return k;};return a123c();}import a123e from'../kit.js';const EsriGen=Generator[a123i(0x107)]({'name':a123i(0x112),'aliases':['e'],'usage':a123i(0x106),'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','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(0x10c),'details':{'filesCreated':[j(0x108)],'filesUpdated':[j(0x102)]}};},async function(){},a123e);function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x102;let f=c[d];return f;},a123d(a,b);}export default EsriGen;
1
+ const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d=-parseInt(f(0x1da))/0x1+-parseInt(f(0x1d5))/0x2+parseInt(f(0x1e5))/0x3+-parseInt(f(0x1dc))/0x4+-parseInt(f(0x1e1))/0x5*(parseInt(f(0x1de))/0x6)+-parseInt(f(0x1d6))/0x7*(-parseInt(f(0x1e2))/0x8)+parseInt(f(0x1d2))/0x9*(parseInt(f(0x1d9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x85056));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0x1e3)]()[h(0x1d4)]('(((.+)+)+)+$')[h(0x1e3)]()['constructor'](a123a)[h(0x1d4)]('(((.+)+)+)+$');});function a123c(){const k=['1188537mEgELX','/foo/bar','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','4021902BvCLuO','\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','search','824972uDvGgV','7HbkAPV','maka\x20g:kit:e','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','20oGjzzy','544546giDphU','apply','315444ZUogWM','/foo','198UnjWnB','create','Esri\x20Kit\x20generated\x20successfully','100865ZqUWbB','7652168wGisdw','toString','esri'];a123c=function(){return k;};return a123c();}a123a();function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1d2;let f=c[d];return f;},a123d(a,b);}import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator[a123i(0x1df)]({'name':a123i(0x1e4),'aliases':['e'],'usage':a123i(0x1d8),'shortDesc':a123i(0x1e7),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a123i(0x1d7)],'description':a123i(0x1d3)},async function(){const j=a123i;return{'success':!![],'message':j(0x1e0),'details':{'filesCreated':[j(0x1e6)],'filesUpdated':[j(0x1dd)]}};},async function(){},a123e);export default EsriGen;
@@ -1 +1 @@
1
- const a124v=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=-parseInt(s(0x11b))/0x1+-parseInt(s(0x12a))/0x2+parseInt(s(0x11e))/0x3*(parseInt(s(0x10b))/0x4)+parseInt(s(0x12e))/0x5*(parseInt(s(0x132))/0x6)+parseInt(s(0x128))/0x7*(-parseInt(s(0x115))/0x8)+parseInt(s(0x121))/0x9+parseInt(s(0x10d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x6d083));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a124d;if(c){const e=c[t(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const u=a124d;return a124a[u(0x111)]()[u(0x125)](u(0x10f))[u(0x111)]()[u(0x129)](a124a)[u(0x125)](u(0x10f));});a124a();function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x10a;let f=c[d];return f;},a124d(a,b);}function a124c(){const x=['dir','312123xEhwlH','constructor','1238726AoVeZB','<div\x20id=\x22map\x22>','exit','injectImport','5zqTSck','template','\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','react','2093892VOhpRk','.js','188EuArnx','create','5201250Amoglj','pathFromApp','(((.+)+)+)+$','basic-map','toString','/imports/startup/lib/templates','baseDir','REACT','152MJChOi','Generating\x20a\x20map\x20component','esri-loader','/imports/ui/hooks','engines','split','317093MLNVKi','page','apply','55290XaVNvs','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','kit/esri/map/','4454325jFqYHJ','NONE','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','search','map'];a124c=function(){return x;};return a124c();}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(0x10c)]({'name':a124v(0x126),'aliases':['m'],'usage':a124v(0x124),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124v(0x114)],'ssr':SsrEngines[a124v(0x122)]},'description':a124v(0x130)},async function(a,b){const w=a124v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log['bright'](w(0x116));const h=w(0x110);await f['checkNpmPackage'](['@esri/react-arcgis',w(0x117)],{'shouldInstall':!![]});const i=d['findProjectDirectory'](),j=c[w(0x119)]['ssr']==='meteor',k=await a124f[w(0x123)](w(0x11c),[w(0x126)],{'cwd':i,'config':c}),l={'name':capitalCase(c['appName'])['replaceAll']('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x113)]?'/imports/ui/'+b[w(0x113)]:w(0x118),n=g[w(0x10e)]({'pathParts':[m,b[w(0x127)],kebabCase(h),kebabCase(h)]});await g[w(0x12f)]({'srcPath':w(0x120)+h+'.js','destPath':n+w(0x10a),'framework':w(0x131),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x127)]+'/'+h+'/'+h;await g['injectTemplateModule'](h,c,o);const p=k[w(0x11a)]('/'),q=g['pathFromApp']({'pathParts':p});await g[w(0x12d)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x112):'/imports/startup/client/templates','isNamedExport':!![]}),await g['injectIntoFile']({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x11f),'begin':[w(0x12b),w(0x12b)],'end':['</div>'],'replace':!![]});}catch(r){Log['error'](r),process[w(0x12c)](0x1);}},async function(){},a124e);
1
+ function a124c(){const x=['/imports/ui/','1621696ZNkSYL','create','/imports/startup/client/templates','pathFromApp','296901odpFhz','exit','esri-loader','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','dir','bright','toString','374152NGKdup','baseDir','engines','apply','appName','processAndRunGenerator','615185eXpyxz','231118YkBqdj','error','constructor','map','search','20Zyntlx','@esri/react-arcgis','/imports/startup/lib/templates','.js','544964NTfLgj','REACT','</div>','injectTemplateModule','6BHVTuG','196OqRUVZ','checkNpmPackage','react','page','replaceAll','findProjectDirectory','2217wnbpIs','<div\x20id=\x22map\x22>','(((.+)+)+)+$'];a124c=function(){return x;};return a124c();}const a124v=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=parseInt(s(0x12d))/0x1+parseInt(s(0x126))/0x2+-parseInt(s(0x141))/0x3*(-parseInt(s(0x13b))/0x4)+-parseInt(s(0x12c))/0x5*(parseInt(s(0x13a))/0x6)+-parseInt(s(0x136))/0x7+-parseInt(s(0x145))/0x8+parseInt(s(0x149))/0x9*(parseInt(s(0x132))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x1c82e));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a124d;if(c){const e=c[t(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const u=a124d;return a124a[u(0x125)]()[u(0x131)](u(0x143))[u(0x125)]()[u(0x12f)](a124a)[u(0x131)](u(0x143));});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';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x121;let f=c[d];return f;},a124d(a,b);}Generator[a124v(0x146)]({'name':a124v(0x130),'aliases':['m'],'usage':a124v(0x122),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124v(0x137)],'ssr':SsrEngines['NONE']},'description':'\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'},async function(a,b){const w=a124v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x124)]('Generating\x20a\x20map\x20component');const h='basic-map';await f[w(0x13c)]([w(0x133),w(0x121)],{'shouldInstall':!![]});const i=d[w(0x140)](),j=c[w(0x128)]['ssr']==='meteor',k=await a124f[w(0x12b)](w(0x13e),[w(0x130)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x12a)])[w(0x13f)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x127)]?w(0x144)+b[w(0x127)]:'/imports/ui/hooks',n=g[w(0x148)]({'pathParts':[m,b[w(0x123)],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':'kit/esri/map/'+h+w(0x135),'destPath':n+'.js','framework':w(0x13d),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x123)]+'/'+h+'/'+h;await g[w(0x139)](h,c,o);const p=k['split']('/'),q=g['pathFromApp']({'pathParts':p});await g['injectImport']({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x134):w(0x147),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':q,'content':'\x0a<'+pascalCase(h)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[w(0x142),w(0x142)],'end':[w(0x138)],'replace':!![]});}catch(r){Log[w(0x12e)](r),process[w(0x14a)](0x1);}},async function(){},a124e);
@@ -1 +1 @@
1
- const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=parseInt(f(0x1bd))/0x1*(parseInt(f(0x1c0))/0x2)+parseInt(f(0x1c3))/0x3+-parseInt(f(0x1b9))/0x4+parseInt(f(0x1b7))/0x5+-parseInt(f(0x1bc))/0x6+parseInt(f(0x1b3))/0x7+parseInt(f(0x1b6))/0x8*(-parseInt(f(0x1ba))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x81f1b));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0x1b5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0x1bb)]()[h(0x1c2)](h(0x1b8))[h(0x1bb)]()['constructor'](a125a)['search'](h(0x1b8));});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a125d(a,b);}a125a();import{Generator}from'../../generator.js';const KitGen=Generator[a125i(0x1c1)]({'name':a125i(0x1b4),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a125i(0x1bf),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a125i(0x1be),'maka\x20g:k']},async function(){});export default KitGen;function a125c(){const j=['create','search','1513446wCkaPz','6787662QsRSIn','kit','apply','743592LlHaps','1862330HucHkk','(((.+)+)+)+$','1307272GuoDyH','81hzkrhX','toString','3846750PaZXed','1zTbMrv','maka\x20g:kit','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','980242zruYhY'];a125c=function(){return j;};return a125c();}
1
+ const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=-parseInt(f(0x103))/0x1*(parseInt(f(0x10b))/0x2)+parseInt(f(0x102))/0x3+-parseInt(f(0x109))/0x4*(-parseInt(f(0x108))/0x5)+parseInt(f(0x101))/0x6*(parseInt(f(0x106))/0x7)+parseInt(f(0x10c))/0x8+-parseInt(f(0x107))/0x9+parseInt(f(0x10a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xeb502));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0x104)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a['toString']()[h(0x112)](h(0x10d))[h(0x113)]()['constructor'](a125a)[h(0x112)](h(0x10d));});a125a();import{Generator}from'../../generator.js';const KitGen=Generator[a125i(0x10e)]({'name':a125i(0x10f),'aliases':['k'],'usage':a125i(0x105),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a125i(0x110),a125i(0x111)]},async function(){});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x101;let f=c[d];return f;},a125d(a,b);}export default KitGen;function a125c(){const j=['1488850rAtpdb','2HqRpCp','12122848yzpdAz','(((.+)+)+)+$','create','kit','maka\x20g:kit','maka\x20g:k','search','toString','1703652GnBHdZ','2523921YlnEFv','1293863MWXhud','apply','maka\x20{generate,\x20g}:{kit}\x20<name>','14CTEXcV','13162428IiZtJI','92395mBLwzp','140EFPWFR'];a125c=function(){return j;};return a125c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(0x97))/0x1*(-parseInt(f(0x9a))/0x2)+-parseInt(f(0x93))/0x3*(parseInt(f(0x9e))/0x4)+-parseInt(f(0x9d))/0x5*(-parseInt(f(0x92))/0x6)+parseInt(f(0x98))/0x7+parseInt(f(0x94))/0x8+parseInt(f(0x96))/0x9+parseInt(f(0x91))/0xa*(-parseInt(f(0x99))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x8cbbe));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a['toString']()[h(0x9f)](h(0x9b))[h(0x9c)]()['constructor'](a126a)[h(0x9f)](h(0x9b));});a126a();import'./mui.generator.js';function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x91;var f=c[d];return f;},a126d(a,b);}function a126c(){var i=['apply','7255134IvJjYT','3479IWweZR','3823372WQcAIo','22ZVMxcU','214JvnWgP','(((.+)+)+)+$','toString','570eJZwEa','15852IeDgKL','search','14373230GNdAYf','58674cxoqid','123VNBVBX','6193552USUgsw'];a126c=function(){return i;};return a126c();}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ function a126c(){var i=['138610HpoFbI','4081WcbtOW','2263382OwaSJW','758891SRnwMU','search','(((.+)+)+)+$','568332mDtNsN','152nJcLlk','apply','1662460DUzNqA','5415776EmaIVx','toString','761440UWVKhD','3BsJfdd','66NAijuk'];a126c=function(){return i;};return a126c();}(function(a,b){var f=a126d,c=a();while(!![]){try{var d=parseInt(f(0xd2))/0x1+-parseInt(f(0xd7))/0x2*(parseInt(f(0xd3))/0x3)+-parseInt(f(0xd0))/0x4+-parseInt(f(0xcf))/0x5+parseInt(f(0xd4))/0x6*(-parseInt(f(0xd8))/0x7)+parseInt(f(0xcd))/0x8*(-parseInt(f(0xdb))/0x9)+-parseInt(f(0xd5))/0xa*(-parseInt(f(0xd6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xa948d));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a['toString']()[h(0xd9)](h(0xda))[h(0xd1)]()['constructor'](a126a)[h(0xd9)](h(0xda));});a126a();function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0xcd;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 a127K=a127d;function a127c(){const N=['basic-password-reset-page','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','baseDir','REACT','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','50oMcHeT','1893864zrsoLh','forgot-password','exit','toString','47025nLCKUf','custom','error','125079yRInay','kit/mui/auth/register/','findProjectDirectory','/imports/ui/','injectImport','reset-password/:token','engines','logout','layouts','injectTemplateModule','basic-register-page','split','Cleaning\x20up...','kit:auth:provider','template','MATERIAL','basic-forgot-password-page','dir','maka\x20generate:kit:mui:auth','1580460dlncbg','maka\x20g:k:m:a','meteor','230BRLXYR','select','AuthContext','pathFromApp','kit/mui/auth/forgot-password/','processAndRunGenerator','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','basic-login-page','58516uMTvaq','kit/mui/auth/password-reset/','basic-logout-page','8gdmOcN','(((.+)+)+)+$','route','Meteor\x20Accounts','510056ZyRTKE','.js','auth','appName','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','/imports/ui/pages/auth','react','kit/mui/auth/logout/','search','208503nradBf','login','/imports/startup/lib/authentication-provider','/imports/startup/client/authentication-provider','kit:auth:meteor'];a127c=function(){return N;};return a127c();}(function(a,b){const I=a127d,c=a();while(!![]){try{const d=parseInt(I(0xf6))/0x1+-parseInt(I(0xde))/0x2+-parseInt(I(0xf9))/0x3+-parseInt(I(0xd7))/0x4*(parseInt(I(0xf1))/0x5)+-parseInt(I(0x10c))/0x6+-parseInt(I(0xf2))/0x7*(-parseInt(I(0xda))/0x8)+-parseInt(I(0xe7))/0x9*(-parseInt(I(0x10f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x2327d));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(0xf5)]()[J(0xe6)](J(0xdb))[J(0xf5)]()['constructor'](a127a)[J(0xe6)](J(0xdb));});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';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';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xd7;let f=c[d];return f;},a127d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a127K(0xe0),'aliases':['a'],'usage':a127K(0xf0),'shortDesc':a127K(0xe2),'validOpts':[a127K(0x101),'force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127K(0x108)],'client':ClientEngines[a127K(0xef)]},'examples':[a127K(0x10b),a127K(0x10d)],'description':a127K(0x115)},async function(a,b){const L=a127K;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b['force']||![],h=d[L(0xfb)](),i=await Actions[L(0x110)]({'name':'authType','message':L(0xed),'choices':[{'name':L(0xdd),'value':L(0x10e)},{'name':'Custom\x20(roll\x20your\x20own)','value':L(0xf7)}]}),j=L(0x116),k=L(0xd9),l=L(0x103),m=L(0xec),n=L(0x109),o=b[L(0xee)]?L(0xfc)+b[L(0xee)]:L(0xe3),p=f[L(0x112)]({'pathParts':[o,b['dir'],kebabCase(j),kebabCase(j)]}),q=f[L(0x112)]({'pathParts':[o,b[L(0x10a)],kebabCase(k),kebabCase(k)]}),r=f[L(0x112)]({'pathParts':[o,b[L(0x10a)],kebabCase(l),kebabCase(l)]}),s=f[L(0x112)]({'pathParts':[o,b[L(0x10a)],kebabCase(m),kebabCase(m)]}),t=f[L(0x112)]({'pathParts':[o,b['dir'],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[L(0xe1)])};await f[L(0x107)]({'srcPath':'kit/mui/auth/login/'+j+L(0xdf),'destPath':p+L(0xdf),'framework':L(0xe4),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x107)]({'srcPath':L(0xe5)+k+L(0xdf),'destPath':q+L(0xdf),'framework':L(0xe4),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':L(0xfa)+l+'.js','destPath':r+L(0xdf),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':L(0xd8)+m+L(0xdf),'destPath':s+L(0xdf),'framework':L(0xe4),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x107)]({'srcPath':L(0x113)+n+L(0xdf),'destPath':t+L(0xdf),'framework':L(0xe4),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[L(0x10a)]+'/'+j+'/'+j;await f[L(0x102)](j,c,v);const w=''+o+b[L(0x10a)]+'/'+k+'/'+k;await f[L(0x102)](k,c,w);const x=''+o+b[L(0x10a)]+'/'+l+'/'+l;await f['injectTemplateModule'](l,c,x);const y=''+o+b[L(0x10a)]+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b[L(0x10a)]+'/'+n+'/'+n;await f[L(0x102)](n,c,z),await a127e['processAndRunGenerator']('route',[L(0x116)],{'route':L(0xe8),'cwd':h,'config':c}),await a127e[L(0x114)](L(0xdc),[L(0xd9)],{'route':L(0x100),'private':!![],'cwd':h,'config':c}),await a127e[L(0x114)](L(0xdc),['basic-register-page'],{'route':'register','cwd':h,'config':c}),await a127e[L(0x114)]('route',[L(0xec)],{'route':L(0xfe),'cwd':h,'config':c}),await a127e[L(0x114)](L(0xdc),['basic-forgot-password-page'],{'route':L(0xf3),'cwd':h,'config':c});i==='meteor'&&await a127e[L(0x114)](L(0xeb),[],{'force':g,'cwd':h,'config':c});i===L(0xf7)&&await a127e[L(0x114)](L(0x106),[],{'force':g,'cwd':h,'config':c});const A=c[L(0xff)]['ssr']===L(0x10e),B=c['engines']['js'],C=f['pathFromApp']({'pathParts':v[L(0x104)]('/')});await f[L(0xfd)]({'filePath':C+'.'+B,'importName':'AuthContext','modulePath':A?L(0xe9):L(0xea),'isNamedExport':!![]});const D=f[L(0x112)]({'pathParts':w[L(0x104)]('/')});await f['injectImport']({'filePath':D+'.'+B,'importName':'AuthContext','modulePath':A?L(0xe9):L(0xea),'isNamedExport':!![]});const E=f[L(0x112)]({'pathParts':x[L(0x104)]('/')});await f[L(0xfd)]({'filePath':E+'.'+B,'importName':L(0x111),'modulePath':A?'/imports/startup/lib/authentication-provider':L(0xea),'isNamedExport':!![]});const F=f[L(0x112)]({'pathParts':y[L(0x104)]('/')});await f[L(0xfd)]({'filePath':F+'.'+B,'importName':'AuthContext','modulePath':A?L(0xe9):L(0xea),'isNamedExport':!![]});const G=f[L(0x112)]({'pathParts':z['split']('/')});await f['injectImport']({'filePath':G+'.'+B,'importName':'AuthContext','modulePath':A?L(0xe9):L(0xea),'isNamedExport':!![]});}catch(H){Log[L(0xf8)](H),process[L(0xf4)](0x1);}},async function(){const M=a127K;console['log'](M(0x105));},a127f);export default a127f;
1
+ const a127L=a127d;(function(a,b){const I=a127d,c=a();while(!![]){try{const d=-parseInt(I(0x1af))/0x1*(-parseInt(I(0x1b9))/0x2)+parseInt(I(0x1da))/0x3+parseInt(I(0x1cd))/0x4+parseInt(I(0x1e3))/0x5*(-parseInt(I(0x1ae))/0x6)+parseInt(I(0x1bf))/0x7+-parseInt(I(0x1c9))/0x8+-parseInt(I(0x1e7))/0x9*(parseInt(I(0x1e1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x625cf));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a127d;if(c){const e=c[J(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const K=a127d;return a127a[K(0x1ec)]()[K(0x1bd)](K(0x1cb))['toString']()[K(0x1b1)](a127a)[K(0x1bd)](K(0x1cb));});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-0x1ad;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=['.js','3957030TkbcNk','REACT','Custom\x20(roll\x20your\x20own)','baseDir','injectImport','kit:auth:meteor','forgot-password','kit/mui/auth/password-reset/','error','kit/mui/auth/forgot-password/','235128wSzsUz','select','(((.+)+)+)+$','register','905320xmTbtZ','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','basic-logout-page','MATERIAL','engines','force','kit/mui/auth/login/','processAndRunGenerator','template','custom','ssr','login','pathFromApp','847116gLImLy','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','kit/mui/auth/register/','kit/mui/auth/logout/','Meteor\x20Accounts','basic-login-page','findProjectDirectory','640MNtBru','/imports/ui/','19725nGaVnU','dir','apply','meteor','44865WLCdxE','maka\x20generate:kit:mui:auth','appName','react','/imports/startup/lib/authentication-provider','toString','injectTemplateModule','774XoAPZq','186239XRPqFy','create','constructor','reset-password/:token','Cleaning\x20up...','exit','/imports/startup/client/authentication-provider','route','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','basic-forgot-password-page','2wDkDMd','authType','split','AuthContext','search'];a127c=function(){return O;};return a127c();}import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127L(0x1b0)]({'name':'auth','aliases':['a'],'usage':a127L(0x1ce),'shortDesc':a127L(0x1b7),'validOpts':['layouts',a127L(0x1d2)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127L(0x1d0)],'client':ClientEngines[a127L(0x1c0)]},'examples':[a127L(0x1e8),'maka\x20g:k:m:a'],'description':a127L(0x1db)},async function(a,b){const M=a127L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x1d2)]||![],h=d[M(0x1e0)](),i=await Actions[M(0x1ca)]({'name':M(0x1ba),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':M(0x1de),'value':M(0x1e6)},{'name':M(0x1c1),'value':M(0x1d6)}]}),j=M(0x1df),k=M(0x1cf),l='basic-register-page',m='basic-password-reset-page',n=M(0x1b8),o=b[M(0x1c2)]?M(0x1e2)+b['baseDir']:'/imports/ui/pages/auth',p=f[M(0x1d9)]({'pathParts':[o,b[M(0x1e4)],kebabCase(j),kebabCase(j)]}),q=f[M(0x1d9)]({'pathParts':[o,b[M(0x1e4)],kebabCase(k),kebabCase(k)]}),r=f[M(0x1d9)]({'pathParts':[o,b[M(0x1e4)],kebabCase(l),kebabCase(l)]}),s=f[M(0x1d9)]({'pathParts':[o,b[M(0x1e4)],kebabCase(m),kebabCase(m)]}),t=f[M(0x1d9)]({'pathParts':[o,b[M(0x1e4)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x1e9)])};await f[M(0x1d5)]({'srcPath':M(0x1d3)+j+'.js','destPath':p+'.js','framework':M(0x1ea),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1d5)]({'srcPath':M(0x1dd)+k+M(0x1be),'destPath':q+M(0x1be),'framework':M(0x1ea),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1d5)]({'srcPath':M(0x1dc)+l+M(0x1be),'destPath':r+M(0x1be),'framework':M(0x1ea),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1d5)]({'srcPath':M(0x1c6)+m+M(0x1be),'destPath':s+M(0x1be),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1d5)]({'srcPath':M(0x1c8)+n+'.js','destPath':t+M(0x1be),'framework':'react','context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x1e4)]+'/'+j+'/'+j;await f[M(0x1ad)](j,c,v);const w=''+o+b[M(0x1e4)]+'/'+k+'/'+k;await f[M(0x1ad)](k,c,w);const x=''+o+b[M(0x1e4)]+'/'+l+'/'+l;await f[M(0x1ad)](l,c,x);const y=''+o+b[M(0x1e4)]+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b[M(0x1e4)]+'/'+n+'/'+n;await f['injectTemplateModule'](n,c,z),await a127e['processAndRunGenerator'](M(0x1b6),[M(0x1df)],{'route':M(0x1d8),'cwd':h,'config':c}),await a127e[M(0x1d4)](M(0x1b6),[M(0x1cf)],{'route':'logout','private':!![],'cwd':h,'config':c}),await a127e['processAndRunGenerator'](M(0x1b6),['basic-register-page'],{'route':M(0x1cc),'cwd':h,'config':c}),await a127e[M(0x1d4)]('route',['basic-password-reset-page'],{'route':M(0x1b2),'cwd':h,'config':c}),await a127e[M(0x1d4)](M(0x1b6),[M(0x1b8)],{'route':M(0x1c5),'cwd':h,'config':c});i==='meteor'&&await a127e[M(0x1d4)](M(0x1c4),[],{'force':g,'cwd':h,'config':c});i===M(0x1d6)&&await a127e[M(0x1d4)]('kit:auth:provider',[],{'force':g,'cwd':h,'config':c});const A=c[M(0x1d1)][M(0x1d7)]===M(0x1e6),B=c[M(0x1d1)]['js'],C=f[M(0x1d9)]({'pathParts':v[M(0x1bb)]('/')});await f[M(0x1c3)]({'filePath':C+'.'+B,'importName':M(0x1bc),'modulePath':A?M(0x1eb):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=f[M(0x1d9)]({'pathParts':w[M(0x1bb)]('/')});await f[M(0x1c3)]({'filePath':D+'.'+B,'importName':M(0x1bc),'modulePath':A?M(0x1eb):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=f[M(0x1d9)]({'pathParts':x[M(0x1bb)]('/')});await f[M(0x1c3)]({'filePath':E+'.'+B,'importName':M(0x1bc),'modulePath':A?M(0x1eb):M(0x1b5),'isNamedExport':!![]});const F=f[M(0x1d9)]({'pathParts':y['split']('/')});await f[M(0x1c3)]({'filePath':F+'.'+B,'importName':M(0x1bc),'modulePath':A?M(0x1eb):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const G=f['pathFromApp']({'pathParts':z[M(0x1bb)]('/')});await f[M(0x1c3)]({'filePath':G+'.'+B,'importName':M(0x1bc),'modulePath':A?M(0x1eb):M(0x1b5),'isNamedExport':!![]});}catch(H){Log[M(0x1c7)](H),process[M(0x1b4)](0x1);}},async function(){const N=a127L;console['log'](N(0x1b3));},a127f);export default a127f;
@@ -1 +1 @@
1
- const a128H=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d=parseInt(E(0x139))/0x1+-parseInt(E(0x143))/0x2*(-parseInt(E(0x14b))/0x3)+parseInt(E(0x144))/0x4*(parseInt(E(0x162))/0x5)+-parseInt(E(0x13a))/0x6*(parseInt(E(0x135))/0x7)+parseInt(E(0x14a))/0x8+-parseInt(E(0x148))/0x9+parseInt(E(0x156))/0xa*(-parseInt(E(0x146))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xc706e));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a128d;if(c){const e=c[F(0x153)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const G=a128d;return a128a[G(0x147)]()['search'](G(0x168))[G(0x147)]()['constructor'](a128a)['search']('(((.+)+)+)+$');});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a128c(){const K=['injectIntoFile','force','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','<Outlet/>','(((.+)+)+)+$','/imports/ui/components','<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>','baseDir','getFiles','test','/imports/startup/lib/templates','kit/mui/frame/footers/','</div>','kit/mui/frame/drawers/','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','/imports/startup/client/templates','.js','template','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-sticky-footer','-hook\x22>','Cleaning\x20up...','maka:react-tracker','app-tests','create','REACT','@mui/material/Container','410788fXwqWb','jsx','checkMeteorPackage','react','1438318eAPwXY','42PLCBHE','appName','getDirectories','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','injectTemplateModule','MATERIAL','checkbox','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','dir','2QLcQVM','36HhyBDN','engines','11RhMwzr','toString','1999827oItIPZ','join','3289576wRjIBV','4686261NHRfAu','/imports/ui/','No\x20layouts\x20selected','<Outlet\x20/>','pathFromApp','maka\x20generate:kit:mui:frame','ssr','injectAroundString','apply','\x20/>\x0a','map','26523920LCEslj','findAppDirectory','frame','@mui/material/Box','error','injectImport','tests','length','kit/mui/frame/app-bars/','layouts','imports','Container','382775NYjQtF','<div\x20id=\x22'];a128c=function(){return K;};return a128c();}import a128e from'path';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x130;let f=c[d];return f;},a128d(a,b);}import a128f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128H(0x132)]({'name':a128H(0x158),'aliases':['f'],'usage':a128H(0x141),'shortDesc':a128H(0x172),'validOpts':['layouts','baseDir',a128H(0x142),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a128H(0x13f)],'client':ClientEngines[a128H(0x133)]},'examples':[a128H(0x150),'maka\x20g:k:m:f'],'description':a128H(0x176)},async function(a,b){const I=a128H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x165)]||![],i='basic-app-bar',j='basic-drawer',k=I(0x177),l=c[I(0x145)][I(0x151)]==='meteor';await f[I(0x137)](['session',I(0x130)],{'shouldInstall':!![]});const m=d[I(0x157)](),n=a128e[I(0x149)](m,I(0x160),'ui',I(0x15f)),o=d[I(0x13c)](n),p=o[I(0x155)](z=>({'name':z,'value':z})),q=await Actions[I(0x140)]({'message':I(0x13d),'name':I(0x15f),'choices':p});if(q[I(0x15d)]===0x0){Log[I(0x15a)](I(0x14d));return;}const r=b[I(0x16b)]?I(0x14c)+b[I(0x16b)]:I(0x169),s=g['pathFromApp']({'pathParts':[r,b['dir'],kebabCase(i),kebabCase(i)]}),t=g[I(0x14f)]({'pathParts':[r,b[I(0x142)],kebabCase(j),kebabCase(j)]}),u=g[I(0x14f)]({'pathParts':[r,b[I(0x142)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x13b)])};await g[I(0x175)]({'srcPath':I(0x15e)+i+I(0x174),'destPath':s+I(0x174),'framework':I(0x138),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x175)]({'srcPath':I(0x171)+j+I(0x174),'destPath':t+I(0x174),'framework':I(0x138),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x175)]({'srcPath':I(0x16f)+k+'.js','destPath':u+I(0x174),'framework':I(0x138),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b['dir']+'/'+i+'/'+i;await g['injectTemplateModule'](i,c,w);const x=''+r+b[I(0x142)]+'/'+j+'/'+j;await g[I(0x13e)](j,c,x);const y=''+r+b[I(0x142)]+'/'+k+'/'+k;await g['injectTemplateModule'](k,c,y);for(const z of q){const A=d[I(0x16c)](a128e['join'](n,z),{'extensions':[I(0x136),'tsx'],'omit':[I(0x131),I(0x15c),I(0x16d)]});for(const B of A){const C=a128e[I(0x149)](n,z,B);await g['injectImport']({'filePath':C,'importName':'Box','modulePath':I(0x159),'isNamedExport':![]}),await g[I(0x15b)]({'filePath':C,'importName':I(0x161),'modulePath':I(0x134),'isNamedExport':![]}),await g['injectImport']({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0x16e):I(0x173),'isNamedExport':!![]}),await g[I(0x164)]({'filePath':C,'content':'<'+pascalCase(i)+I(0x154),'begin':['<div\x20id=\x22'+z+'\x22>','<div\x20id=\x22'+z+I(0x178)],'end':[I(0x167),'<Outlet\x20/>']}),await g[I(0x15b)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?I(0x16e):I(0x173),'isNamedExport':!![]}),await g[I(0x164)]({'filePath':C,'content':'<'+pascalCase(j)+I(0x154),'begin':[I(0x163)+z+'\x22>',I(0x163)+z+I(0x178)],'end':[I(0x167),I(0x14e)]}),await g[I(0x164)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x154),'begin':[I(0x167),I(0x14e)],'end':[I(0x170)]}),await g['injectImport']({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0x16e):I(0x173),'isNamedExport':!![]}),await g[I(0x152)]({'filePath':C,'aboveContent':I(0x16a),'belowContent':I(0x166),'targetString':[I(0x167),I(0x14e)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x15a)](D);}},async function(){const J=a128H;console['log'](J(0x179));},a128f);
1
+ const a128G=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d=parseInt(E(0x182))/0x1*(parseInt(E(0x192))/0x2)+-parseInt(E(0x170))/0x3*(parseInt(E(0x177))/0x4)+parseInt(E(0x16a))/0x5*(parseInt(E(0x15e))/0x6)+-parseInt(E(0x18f))/0x7*(-parseInt(E(0x167))/0x8)+parseInt(E(0x183))/0x9+-parseInt(E(0x160))/0xa+parseInt(E(0x17b))/0xb*(-parseInt(E(0x17d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x434b1));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(0x179)]()[F(0x159)]('(((.+)+)+)+$')[F(0x179)]()[F(0x187)](a128a)[F(0x159)](F(0x169));});function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x14e;let f=c[d];return f;},a128d(a,b);}a128a();import{Generator}from'../../../generator.js';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['create']({'name':'frame','aliases':['f'],'usage':a128G(0x16b),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a128G(0x172),a128G(0x185),a128G(0x156),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a128G(0x176)],'client':ClientEngines[a128G(0x188)]},'examples':[a128G(0x15b),a128G(0x162)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const H=a128G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[H(0x186)]||![],i=H(0x175),j=H(0x15d),k='basic-sticky-footer',l=c[H(0x157)][H(0x161)]==='meteor';await f['checkMeteorPackage']([H(0x180),H(0x158)],{'shouldInstall':!![]});const m=d[H(0x16c)](),n=a128e[H(0x153)](m,H(0x18b),'ui','layouts'),o=d[H(0x18a)](n),p=o[H(0x15a)](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','name':'layouts','choices':p});if(q[H(0x178)]===0x0){Log[H(0x15f)]('No\x20layouts\x20selected');return;}const r=b[H(0x185)]?'/imports/ui/'+b[H(0x185)]:H(0x181),s=g[H(0x168)]({'pathParts':[r,b[H(0x156)],kebabCase(i),kebabCase(i)]}),t=g[H(0x168)]({'pathParts':[r,b['dir'],kebabCase(j),kebabCase(j)]}),u=g['pathFromApp']({'pathParts':[r,b[H(0x156)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0x17c)])};await g['template']({'srcPath':H(0x166)+i+H(0x16f),'destPath':s+H(0x16f),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x174)]({'srcPath':H(0x171)+j+H(0x16f),'destPath':t+H(0x16f),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x174)]({'srcPath':H(0x16d)+k+H(0x16f),'destPath':u+H(0x16f),'framework':H(0x154),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[H(0x156)]+'/'+i+'/'+i;await g[H(0x18e)](i,c,w);const x=''+r+b[H(0x156)]+'/'+j+'/'+j;await g[H(0x18e)](j,c,x);const y=''+r+b[H(0x156)]+'/'+k+'/'+k;await g[H(0x18e)](k,c,y);for(const z of q){const A=d['getFiles'](a128e[H(0x153)](n,z),{'extensions':[H(0x190),H(0x17e)],'omit':[H(0x18d),H(0x163),H(0x14f)]});for(const B of A){const C=a128e[H(0x153)](n,z,B);await g[H(0x189)]({'filePath':C,'importName':H(0x155),'modulePath':H(0x16e),'isNamedExport':![]}),await g[H(0x189)]({'filePath':C,'importName':'Container','modulePath':H(0x151),'isNamedExport':![]}),await g[H(0x189)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0x17a):H(0x150),'isNamedExport':!![]}),await g[H(0x164)]({'filePath':C,'content':'<'+pascalCase(i)+H(0x152),'begin':['<div\x20id=\x22'+z+'\x22>',H(0x14e)+z+H(0x17f)],'end':[H(0x15c),H(0x165)]}),await g[H(0x189)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0x17a):H(0x150),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(j)+'\x20/>\x0a','begin':[H(0x14e)+z+'\x22>',H(0x14e)+z+H(0x17f)],'end':['<Outlet/>',H(0x165)]}),await g[H(0x164)]({'filePath':C,'content':'<'+pascalCase(k)+H(0x152),'begin':[H(0x15c),H(0x165)],'end':[H(0x191)]}),await g[H(0x189)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0x17a):H(0x150),'isNamedExport':!![]}),await g[H(0x184)]({'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(0x18c),'targetString':[H(0x15c),H(0x165)],'targetIndentAdjustment':0x6});}}}catch(D){Log[H(0x15f)](D);}},async function(){const I=a128G;console['log'](I(0x173));},a128f);function a128c(){const J=['map','maka\x20generate:kit:mui:frame','<Outlet/>','basic-drawer','6NEelil','error','390160MGOKiu','ssr','maka\x20g:k:m:f','tests','injectIntoFile','<Outlet\x20/>','kit/mui/frame/app-bars/','16SLWDRx','pathFromApp','(((.+)+)+)+$','2676430Lavyfr','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','findAppDirectory','kit/mui/frame/footers/','@mui/material/Box','.js','183147CbVXXc','kit/mui/frame/drawers/','layouts','Cleaning\x20up...','template','basic-app-bar','MATERIAL','36YEllex','length','toString','/imports/startup/lib/templates','2604173qBdENm','appName','36cTkdiU','tsx','-hook\x22>','session','/imports/ui/components','357591bcCoXE','1563894sMiIBP','injectAroundString','baseDir','force','constructor','REACT','injectImport','getDirectories','imports','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','app-tests','injectTemplateModule','1776866IdDTeg','jsx','</div>','2ZCFzyD','<div\x20id=\x22','test','/imports/startup/client/templates','@mui/material/Container','\x20/>\x0a','join','react','Box','dir','engines','maka:react-tracker','search'];a128c=function(){return J;};return a128c();}
@@ -1 +1 @@
1
- const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0x7c))/0x1+parseInt(g(0x8b))/0x2*(-parseInt(g(0x7e))/0x3)+-parseInt(g(0x6e))/0x4+-parseInt(g(0x86))/0x5*(-parseInt(g(0x89))/0x6)+parseInt(g(0x8a))/0x7+-parseInt(g(0x84))/0x8+-parseInt(g(0x76))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xe2cf5));function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x6d;let f=c[d];return f;},a129d(a,b);}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0x6f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a[i(0x87)]()[i(0x77)](i(0x81))[i(0x87)]()[i(0x82)](a129a)[i(0x77)](i(0x81));});a129a();function a129c(){const l=['5934807YnzRUn','search','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Material-UI\x20Kit','fsi','kit:mui:frame','909493eVRtqa','findProjectDirectory','64167uRxHFi','No\x20MUI\x20kits\x20selected.\x20Exiting.','notice','(((.+)+)+)+$','constructor','create','13651936cIibUI','error','7299180qZWmqx','toString','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','6DvTqbR','11170061AtPhZo','28mrEzmE','processAndRunGenerator','1482712vQMcEI','apply','exit','length','getMakaProjectConfig','info','mui','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?'];a129c=function(){return l;};return a129c();}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';import a129f from'../kit.js';const MuiGen=Generator[a129j(0x83)]({'name':a129j(0x74),'aliases':['m'],'usage':a129j(0x78),'resourceNameRequired':![],'shortDesc':a129j(0x79),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a129j;try{Log[k(0x73)](k(0x88)),Log[k(0x80)]('\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(0x75),'name':'kitChoices','choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':'frame'},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':'auth'}]}),b=this[k(0x7a)][k(0x7d)](),c=this['cfg'][k(0x72)]();a['includes']('frame')&&await a129e[k(0x6d)](k(0x7b),[],{'force':!![],'cwd':b,'config':c});a['includes']('auth')&&await a129e[k(0x6d)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0x71)]===0x0){Log[k(0x73)](k(0x7f));return;}}catch(d){Log[k(0x85)](d),process[k(0x70)](0x1);}},async function(){},a129f);export default MuiGen;
1
+ const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=-parseInt(g(0x144))/0x1*(-parseInt(g(0x139))/0x2)+-parseInt(g(0x13a))/0x3+-parseInt(g(0x14c))/0x4*(-parseInt(g(0x12b))/0x5)+parseInt(g(0x13f))/0x6*(-parseInt(g(0x13e))/0x7)+parseInt(g(0x13c))/0x8+parseInt(g(0x142))/0x9+-parseInt(g(0x14b))/0xa*(parseInt(g(0x138))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x23948));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a[i(0x14d)]()[i(0x12e)]('(((.+)+)+)+$')[i(0x14d)]()[i(0x134)](a129a)[i(0x12e)]('(((.+)+)+)+$');});a129a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x12b;let f=c[d];return f;},a129d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';const MuiGen=Generator['create']({'name':a129j(0x141),'aliases':['m'],'usage':a129j(0x133),'resourceNameRequired':![],'shortDesc':a129j(0x149),'validOpts':[''],'isPro':!![],'examples':[a129j(0x12f)]},async function(){const k=a129j;try{Log[k(0x131)](k(0x13d)),Log[k(0x12d)](k(0x148));const a=await Actions['checkbox']({'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','name':'kitChoices','choices':[{'name':k(0x145),'value':'frame'},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':k(0x146)}]}),b=this[k(0x137)][k(0x14e)](),c=this[k(0x147)][k(0x140)]();a[k(0x136)]('frame')&&await a129e['processAndRunGenerator']('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[k(0x136)](k(0x146))&&await a129e[k(0x13b)](k(0x12c),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x132)]===0x0){Log[k(0x131)](k(0x14a));return;}}catch(d){Log[k(0x135)](d),process[k(0x143)](0x1);}},async function(){},a129f);export default MuiGen;function a129c(){const l=['maka\x20g:kit:m','apply','info','length','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','constructor','error','includes','fsi','22JhpywO','2jBexyU','723681frHozl','processAndRunGenerator','666072UZWxuM','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','28zRJnbo','310404oVrPPR','getMakaProjectConfig','mui','1356588poNuSE','exit','270821fzqnBV','Header,\x20Footer,\x20and\x20Drawer','auth','cfg','\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','Material-UI\x20Kit','No\x20MUI\x20kits\x20selected.\x20Exiting.','681860YWQEOe','2444mvCeBl','toString','findProjectDirectory','1845yvykOP','kit:mui:auth','notice','search'];a129c=function(){return l;};return a129c();}
@@ -1 +1 @@
1
- const a130s=a130d;(function(a,b){const p=a130d,c=a();while(!![]){try{const d=parseInt(p(0xbb))/0x1*(parseInt(p(0xc5))/0x2)+parseInt(p(0xa7))/0x3+parseInt(p(0xb8))/0x4*(-parseInt(p(0xa6))/0x5)+parseInt(p(0xc1))/0x6*(parseInt(p(0xcf))/0x7)+-parseInt(p(0xa0))/0x8*(parseInt(p(0xbf))/0x9)+-parseInt(p(0xa9))/0xa+parseInt(p(0xb7))/0xb*(parseInt(p(0x99))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x7af4b));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a130d;if(c){const e=c[q(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const r=a130d;return a130a[r(0xcd)]()['search'](r(0xac))[r(0xcd)]()[r(0xa8)](a130a)[r(0xaa)](r(0xac));});a130a();import a130e from'path';import{Generator}from'../generator.js';function a130c(){const u=['2hHAhym','findProjectDirectory','maka\x20g:layout\x20mobile/iPhone8','maka\x20g:l\x20web/safari','string','create','test','relative','toString','template','35JXtFKz','react','withHooks','24KGrkpy','includes','api','resourceName','css','features','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','48Syqjhk','import\x20\x27./','engines','none','split','.css','430bmKadl','393021fyOaMb','constructor','885490SLekGu','search','fileName','(((.+)+)+)+$','dir','setTemplate','assign','hook/hook.js','component/component.js','injectAtBeginningOfFile','findAppDirectory','apply','/imports/ui/layouts','withHook','7959226HfvxET','36296uDVFpl','.app-tests.js','ssr','152543mYCrbc','pathFromApp','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','template/template.css','733608eOQmpf','warn','157116XnyDid','ramda','.js','injectTemplateModule'];a130c=function(){return u;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x98;let f=c[d];return f;},a130d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator[a130s(0xca)]({'name':'layout','aliases':aliases,'usage':a130s(0xbd),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a130s(0xb6)],'mustBeInMakaProject':!![],'examples':[a130s(0xc7),a130s(0xc8)]},async function(a,b){const t=a130s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0xb5),i=d[t(0xb3)](),j=g[t(0xbc)]({'pathParts':[h,b[t(0xad)],kebabCase(b[t(0x9c)]),kebabCase(b[t(0x9c)])]});typeof c[t(0xce)][t(0xcb)]==='string'&&e[t(0xae)](t(0xcb),c[t(0xce)][t(0xcb)]);typeof c[t(0xce)]['css']===t(0xc9)&&e['setTemplate'](t(0x9d),c[t(0xce)][t(0x9d)]);typeof c[t(0xce)]['js']===t(0xc9)&&e[t(0xae)]('js',c['template']['js']);const k=b['_']?b['_'][0x0][t(0xa4)](':')[0x1]:![],l=b['_']&&aliases[t(0x9a)](k);l&&!f['checkNpmPackage'](t(0xc2))&&(Log[t(0xc0)](t(0x9f)),f['installNpmPackage']('ramda',{'cwd':i}));if(l&&!f['checkNpmPackage'](t(0xd0))){Log[t(0xc0)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const m={'name':pascalCase(b[t(0x9c)]),'myPath':a130e[t(0xcc)](d[t(0xc6)](),j),'cssCaseName':kebabCase(b[t(0x9c)]),'className':pascalCase(b[t(0x9c)]),'camelCaseName':camelCase(b['resourceName']),'fileName':kebabCase(b[t(0x9c)]),'graphql':c[t(0xa2)]['graphql'],'features':c[t(0x9e)],'client':c['engines']['client'],'api':c['engines'][t(0x9b)],'ssr':c[t(0xa2)][t(0xba)],'test':c[t(0xa2)][t(0xcb)],'theme':c[t(0xa2)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':c['features']['withTranslations']};c['features']?.[t(0x98)]||b[t(0xb6)]?await g[t(0xce)]({'srcPath':t(0xb0),'destPath':j+t(0xc3),'framework':t(0xd0),'context':m,'config':c}):await g[t(0xce)]({'srcPath':t(0xb1),'destPath':j+t(0xc3),'framework':t(0xd0),'context':m,'config':c});c[t(0xa2)][t(0xcb)]!==t(0xa3)&&await g['template']({'srcPath':'test/test.js','destPath':j+t(0xb9),'framework':'react','context':m,'config':c});c[t(0xce)][t(0x9d)]&&(await g[t(0xce)]({'srcPath':t(0xbe),'destPath':j+t(0xa5),'context':Object[t(0xaf)]({},m,{'className':kebabCase(b['resourceName'])}),'config':c}),await g[t(0xb2)]({'filePath':j+'.'+c[t(0xa2)]['js'],'content':t(0xa1)+m[t(0xab)]+'.'+c['engines'][t(0x9d)]+'\x27;'}));const n=b[t(0xad)]?'/'+b[t(0xad)]+'/':'/',o=''+h+n+m[t(0xab)]+'/'+m[t(0xab)];await g[t(0xc4)](m['className'],c,o);});
1
+ const a130s=a130d;(function(a,b){const p=a130d,c=a();while(!![]){try{const d=-parseInt(p(0x15e))/0x1+-parseInt(p(0x13a))/0x2*(parseInt(p(0x15a))/0x3)+-parseInt(p(0x13f))/0x4+-parseInt(p(0x14b))/0x5+-parseInt(p(0x149))/0x6+-parseInt(p(0x161))/0x7*(-parseInt(p(0x164))/0x8)+-parseInt(p(0x150))/0x9*(-parseInt(p(0x169))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x2d238));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(0x13d)]()[r(0x147)](r(0x13e))[r(0x13d)]()[r(0x16d)](a130a)[r(0x147)](r(0x13e));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a130c(){const u=['hook/hook.js','16GCuRbw','react','Scaffolding\x20for\x20a\x20React\x20Layout.','template','relative','10swszzV','maka\x20g:layout\x20mobile/iPhone8','.app-tests.js','dir','constructor','withHooks','component/component.js','2dGJNzm','injectAtBeginningOfFile','css','toString','(((.+)+)+)+$','1156744gmpAQb','findProjectDirectory','ramda','none','injectTemplateModule','string','layout','engines','search','template/template.css','1292484oaVZVg','features','995250QLSEYq','apply','.css','withTranslations','theme','9377271ynLDyJ','/imports/ui/layouts','setTemplate','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','fileName','client','.js','test','withHook','import\x20\x27./','1066641ZTiPOU','resourceName','warn','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','126912iEJFxQ','className','maka\x20g:l\x20web/safari','1151773KUVVDM','checkNpmPackage'];a130c=function(){return u;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x13a;let f=c[d];return f;},a130d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a130s(0x145),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a130s(0x166),'validOpts':['withHook'],'mustBeInMakaProject':!![],'examples':[a130s(0x16a),a130s(0x160)]},async function(a,b){const t=a130s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0x151),i=d['findAppDirectory'](),j=g['pathFromApp']({'pathParts':[h,b['dir'],kebabCase(b['resourceName']),kebabCase(b[t(0x15b)])]});typeof c[t(0x167)]['test']==='string'&&e[t(0x152)]('test',c[t(0x167)]['test']);typeof c[t(0x167)][t(0x13c)]==='string'&&e[t(0x152)](t(0x13c),c[t(0x167)][t(0x13c)]);typeof c[t(0x167)]['js']===t(0x144)&&e['setTemplate']('js',c[t(0x167)]['js']);const k=b['_']?b['_'][0x0]['split'](':')[0x1]:![],l=b['_']&&aliases['includes'](k);l&&!f['checkNpmPackage'](t(0x141))&&(Log[t(0x15c)](t(0x15d)),f['installNpmPackage'](t(0x141),{'cwd':i}));if(l&&!f[t(0x162)](t(0x165))){Log['warn'](t(0x153));return;}const m={'name':pascalCase(b[t(0x15b)]),'myPath':a130e[t(0x168)](d[t(0x140)](),j),'cssCaseName':kebabCase(b[t(0x15b)]),'className':pascalCase(b[t(0x15b)]),'camelCaseName':camelCase(b[t(0x15b)]),'fileName':kebabCase(b[t(0x15b)]),'graphql':c[t(0x146)]['graphql'],'features':c[t(0x14a)],'client':c[t(0x146)][t(0x155)],'api':c[t(0x146)]['api'],'ssr':c[t(0x146)]['ssr'],'test':c[t(0x146)][t(0x157)],'theme':c['engines'][t(0x14f)],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0x14a)][t(0x14e)]};c[t(0x14a)]?.[t(0x16e)]||b[t(0x158)]?await g[t(0x167)]({'srcPath':t(0x163),'destPath':j+'.js','framework':t(0x165),'context':m,'config':c}):await g[t(0x167)]({'srcPath':t(0x16f),'destPath':j+t(0x156),'framework':t(0x165),'context':m,'config':c});c[t(0x146)][t(0x157)]!==t(0x142)&&await g[t(0x167)]({'srcPath':'test/test.js','destPath':j+t(0x16b),'framework':t(0x165),'context':m,'config':c});c['template'][t(0x13c)]&&(await g['template']({'srcPath':t(0x148),'destPath':j+t(0x14d),'context':Object['assign']({},m,{'className':kebabCase(b['resourceName'])}),'config':c}),await g[t(0x13b)]({'filePath':j+'.'+c[t(0x146)]['js'],'content':t(0x159)+m[t(0x154)]+'.'+c[t(0x146)][t(0x13c)]+'\x27;'}));const n=b[t(0x16c)]?'/'+b['dir']+'/':'/',o=''+h+n+m['fileName']+'/'+m[t(0x154)];await g[t(0x143)](m[t(0x15f)],c,o);});
@@ -1 +1 @@
1
- function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x162;let f=c[d];return f;},a131d(a,b);}const a131i=a131d;function a131c(){const j=['maka\x20g:template\x20todos/todo_item','Scaffold\x20various\x20parts\x20of\x20your\x20application','toString','20682cMzFeV','1201975lCzYwa','253QLdqLm','apply','maka\x20generate:scaffold\x20todos','7956gNDrLO','(((.+)+)+)+$','42678SbhfKI','maka\x20g:scaffold\x20todos','constructor','maka\x20g:dbc\x20geoserver\x20--type=pgsql','7vHfcbw','292964Xfnvds','808veAgXX','search','469737RRKugg','4BpTlVQ','maka\x20{generate,\x20g}:<generator>\x20<name>','generate','128950gMBrfy','maka\x20g:package\x20package:name'];a131c=function(){return j;};return a131c();}(function(a,b){const f=a131d,c=a();while(!![]){try{const d=parseInt(f(0x172))/0x1*(-parseInt(f(0x16a))/0x2)+parseInt(f(0x169))/0x3+parseInt(f(0x166))/0x4+-parseInt(f(0x173))/0x5+-parseInt(f(0x179))/0x6*(-parseInt(f(0x165))/0x7)+parseInt(f(0x167))/0x8*(-parseInt(f(0x177))/0x9)+parseInt(f(0x16d))/0xa*(parseInt(f(0x174))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x27aab));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a[h(0x171)]()[h(0x168)](h(0x178))[h(0x171)]()[h(0x163)](a131a)[h(0x168)]('(((.+)+)+)+$');});a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a131i(0x16c),'aliases':['g'],'usage':a131i(0x16b),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a131i(0x170),'examples':[a131i(0x176),a131i(0x162),a131i(0x16f),a131i(0x16e),'maka\x20g:route\x20todos/edit','maka\x20g:api\x20trucks',a131i(0x164)]},async function(){});export default MakaGen;
1
+ function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xa1;let f=c[d];return f;},a131d(a,b);}const a131h=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=parseInt(f(0xaf))/0x1+parseInt(f(0xa4))/0x2*(-parseInt(f(0xa6))/0x3)+parseInt(f(0xab))/0x4+-parseInt(f(0xaa))/0x5*(-parseInt(f(0xa1))/0x6)+parseInt(f(0xb4))/0x7+-parseInt(f(0xac))/0x8+-parseInt(f(0xa5))/0x9*(parseInt(f(0xb0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x54bfb));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(0xb2)]()[g(0xae)](g(0xb1))[g(0xb2)]()[g(0xa2)](a131a)[g(0xae)](g(0xb1));});a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a131h(0xa8),'examples':[a131h(0xa9),a131h(0xad),a131h(0xa7),a131h(0xa3),'maka\x20g:route\x20todos/edit',a131h(0xb5),a131h(0xb3)]},async function(){});function a131c(){const i=['(((.+)+)+)+$','toString','maka\x20g:dbc\x20geoserver\x20--type=pgsql','2943976PZHcZf','maka\x20g:api\x20trucks','36EnIWrw','constructor','maka\x20g:package\x20package:name','290216uNCUOq','36kGXdym','6QkNZxW','maka\x20g:template\x20todos/todo_item','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20generate:scaffold\x20todos','215375cTiVsi','613260PXSkSx','2767536qhAkEu','maka\x20g:scaffold\x20todos','search','477588xphtqq','816580CWkJTQ'];a131c=function(){return i;};return a131c();}export default MakaGen;
@@ -1 +1 @@
1
- const a132m=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x1bf))/0x1*(-parseInt(k(0x1c0))/0x2)+parseInt(k(0x1c9))/0x3+-parseInt(k(0x1c2))/0x4+parseInt(k(0x1c1))/0x5*(parseInt(k(0x1cb))/0x6)+-parseInt(k(0x1d1))/0x7+-parseInt(k(0x1c7))/0x8+-parseInt(k(0x1c4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xf2a7c));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(0x1c8)]()[l(0x1c5)]('(((.+)+)+)+$')['toString']()[l(0x1ca)](a132a)[l(0x1c5)](l(0x1b4));});a132a();function a132c(){const o=['16254117XuTBqG','search','engines','8752208srlwQF','toString','3428643cRYkUQ','constructor','24DwQXSn','ddp-rate-limiter','-rpc-method.','imports','checkMeteorPackage','mdg:validated-method','3866870tQdwRG','maka\x20{generate,\x20g}:{method,\x20m}\x20name','appPathPrefix','pkg','methods','method','injectAtEndOfFile','(((.+)+)+)+$','pathFromApp','-rpc-method\x27;','maka\x20g:method\x20todos','template','tsx','index.','scaffold','projectConfig','import\x20\x27./methods','dir','13Foqqfo','228638XzxXYX','2315465KsJrWl','140140wcMGie','resourceName'];a132c=function(){return o;};return a132c();}function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a132d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':a132m(0x1d6),'aliases':['m'],'usage':a132m(0x1d2),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a132m(0x1be)],'examples':[a132m(0x1b7)]},async function(a,b){const n=a132m;try{const c=this[n(0x1bc)],d=b[n(0x1be)]?'/'+b[n(0x1be)]+'/':'/',f=kebabCase(b[n(0x1c3)]),g={'name':b[n(0x1c3)],'fileName':f,'className':pascalCase(b[n(0x1c3)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let h='js';c[n(0x1c6)]['js']===n(0x1b9)&&(h='ts');await this[n(0x1d4)][n(0x1cf)](['maka:check',n(0x1cc),n(0x1d0)],{'shouldInstall':!![]}),await this[n(0x1bb)][n(0x1b8)]({'srcPath':'method/method.js','destPath':this[n(0x1bb)][n(0x1b5)]({'pathParts':[n(0x1ce),'startup',b[n(0x1d3)],n(0x1d5),d,f+n(0x1cd)+h]}),'context':g,'config':c});const i=this[n(0x1bb)][n(0x1b5)]({'pathParts':[n(0x1ce),'startup',b[n(0x1d3)],n(0x1ba)+c[n(0x1c6)]['js']]});await this[n(0x1bb)][n(0x1b3)]({'filePath':i,'content':n(0x1bd)+d+f+n(0x1b6)});}catch(j){Log['error'](j);}});
1
+ const a132n=a132d;function a132c(){const p=['checkMeteorPackage','tsx','mdg:validated-method','1781432XPggNo','injectAtEndOfFile','startup','(((.+)+)+)+$','141153SXEQBR','method/method.js','toString','imports','apply','methods','appPathPrefix','pkg','ddp-rate-limiter','maka:check','7rWGbqn','import\x20\x27./methods','14794956nyUFEe','index.','48178QmIzcC','268676DCmJOp','dir','resourceName','create','maka\x20g:method\x20todos','scaffold','search','-rpc-method.','-rpc-method\x27;','method','error','18jrXSFT','5PVYVUd','template','15qubyJD','maka\x20{generate,\x20g}:{method,\x20m}\x20name','4916346bpbDes','engines','8539110Xuqrhc'];a132c=function(){return p;};return a132c();}(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x178))/0x1+-parseInt(k(0x15d))/0x2*(parseInt(k(0x16c))/0x3)+parseInt(k(0x15e))/0x4*(-parseInt(k(0x16a))/0x5)+-parseInt(k(0x16e))/0x6*(-parseInt(k(0x182))/0x7)+-parseInt(k(0x174))/0x8*(-parseInt(k(0x169))/0x9)+parseInt(k(0x170))/0xa+-parseInt(k(0x184))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x6c9e1));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0x17a)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a132a)[m(0x164)](m(0x177));});a132a();function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x15d;let f=c[d];return f;},a132d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a132n(0x161)]({'name':a132n(0x167),'aliases':['m'],'usage':a132n(0x16d),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a132n(0x15f)],'examples':[a132n(0x162)]},async function(a,b){const o=a132n;try{const c=this['projectConfig'],d=b[o(0x15f)]?'/'+b[o(0x15f)]+'/':'/',f=kebabCase(b[o(0x160)]),g={'name':b[o(0x160)],'fileName':f,'className':pascalCase(b[o(0x160)]),'camelCase':camelCase(b[o(0x160)]),'noRename':!![]};let h='js';c[o(0x16f)]['js']===o(0x172)&&(h='ts');await this[o(0x17f)][o(0x171)]([o(0x181),o(0x180),o(0x173)],{'shouldInstall':!![]}),await this[o(0x163)][o(0x16b)]({'srcPath':o(0x179),'destPath':this[o(0x163)]['pathFromApp']({'pathParts':['imports',o(0x176),b[o(0x17e)],o(0x17d),d,f+o(0x165)+h]}),'context':g,'config':c});const i=this[o(0x163)]['pathFromApp']({'pathParts':[o(0x17b),o(0x176),b['appPathPrefix'],o(0x185)+c[o(0x16f)]['js']]});await this[o(0x163)][o(0x175)]({'filePath':i,'content':o(0x183)+d+f+o(0x166)});}catch(j){Log[o(0x168)](j);}});
@@ -1 +1 @@
1
- const a133p=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=-parseInt(m(0x193))/0x1*(-parseInt(m(0x188))/0x2)+parseInt(m(0x1ae))/0x3+-parseInt(m(0x1b0))/0x4*(parseInt(m(0x1a5))/0x5)+parseInt(m(0x18c))/0x6*(-parseInt(m(0x196))/0x7)+parseInt(m(0x1a9))/0x8+-parseInt(m(0x1ab))/0x9*(-parseInt(m(0x194))/0xa)+parseInt(m(0x1b3))/0xb*(-parseInt(m(0x18d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x733c3));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0x1a7)]()[o(0x1a1)](o(0x1b1))[o(0x1a7)]()[o(0x192)](a133a)[o(0x1a1)](o(0x1b1));});a133a();import a133e from'path';function a133c(){const r=['7443xJIELi','pathFromApp','ssr','2614230yuQGqt','store','1374724yGYDox','(((.+)+)+)+$','noRename','11ukQRWQ','create','/client/','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','graphql','engines','/package.js','471326IlBHQH','lib','projectConfig','features','1084662HuHXgZ','16804212KTYhMs','pathFromAppWithNoReWrite','findProjectDirectory','packages','.js','constructor','4ULeqYJ','5110CpLfJr','dir','35lEiGrx','theme','server','apply','layout','package.js','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','resourceName','template','tests/server','hasOwnProperty','search','client','component','package/package.js','5cqivKE','tests/client','toString','scaffold','7066088JGMBFm','package'];a133c=function(){return r;};return a133c();}import{Generator}from'../generator.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x185;let f=c[d];return f;},a133d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a133p(0x1b4)]({'name':a133p(0x1aa),'aliases':['p'],'usage':a133p(0x1b6),'mustBeInMakaProject':!![],'shortDesc':a133p(0x19c),'validOpts':[a133p(0x195)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const q=a133p,c=kebabCase(b[q(0x19d)]),d=b[q(0x195)]?'/'+b['dir']+'/':'/',e=this[q(0x1a8)][q(0x1ac)]({'pathParts':[q(0x190),d,c]}),f=this['scaffold'][q(0x18e)]({'pathParts':['packages',d,c,q(0x19b)]}),g=this[q(0x18a)],h={'name':kebabCase(b[q(0x19d)]),'myPath':a133e['relative'](this['fsi'][q(0x18f)](),e),'cssCaseName':kebabCase(b[q(0x19d)]),'className':pascalCase(b[q(0x19d)]),'camelCaseName':camelCase(b[q(0x19d)]),'fileName':c,'client':g['engines'][q(0x1a2)],'graphql':g[q(0x186)][q(0x185)],'ssr':g[q(0x186)][q(0x1ad)],'isComponent':b['hasOwnProperty'](q(0x1a3)),'isLayout':b['hasOwnProperty'](q(0x19a)),'isStore':b[q(0x1a0)](q(0x1af)),'features':g[q(0x18b)],'noRename':!![],'theme':g[q(0x186)][q(0x197)]};await this[q(0x1a8)][q(0x19e)]({'srcPath':q(0x1a4),'destPath':f,'context':h,'config':g}),h[q(0x1b2)]=![];const i=e+q(0x1b5)+c+q(0x191);await this[q(0x1a8)][q(0x19e)]({'srcPath':'template/template.js','destPath':i,'context':h,'config':g});const j=[q(0x189),q(0x198),q(0x1a6),q(0x19f)];for(const k of j){const l=e+'/'+k+'/'+c+q(0x191);await this[q(0x1a8)][q(0x19e)]({'srcPath':'package/'+k+q(0x187),'destPath':l,'context':h,'config':g});}});
1
+ const a133p=a133d;function a133c(){const r=['1711062MOIute','package','projectConfig','template','findProjectDirectory','hasOwnProperty','pathFromAppWithNoReWrite','create','918VyIOvX','packages','/package.js','702766iiyOVm','tests/client','relative','package/package.js','noRename','12930eKWwJF','1963059rAiZSK','apply','174cyFuqp','theme','resourceName','(((.+)+)+)+$','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','layout','/client/','1270287kiAVJs','template/template.js','ssr','store','engines','130HzgorA','29532sxKcfN','toString','server','7151056KdOVDH','dir','component','scaffold','maka\x20g:package\x20todos:package','search'];a133c=function(){return r;};return a133c();}(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0x6b))/0x1+-parseInt(m(0x89))/0x2+parseInt(m(0x73))/0x3*(parseInt(m(0x80))/0x4)+parseInt(m(0x70))/0x5*(-parseInt(m(0x68))/0x6)+-parseInt(m(0x71))/0x7+-parseInt(m(0x83))/0x8+parseInt(m(0x7a))/0x9*(parseInt(m(0x7f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x83eab));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0x72)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0x81)]()[o(0x88)](o(0x76))[o(0x81)]()['constructor'](a133a)['search'](o(0x76));});a133a();import a133e from'path';import{Generator}from'../generator.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x65;let f=c[d];return f;},a133d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a133p(0x67)]({'name':a133p(0x8a),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','mustBeInMakaProject':!![],'shortDesc':a133p(0x77),'validOpts':[a133p(0x84)],'examples':[a133p(0x87)]},async function(a,b){const q=a133p,c=kebabCase(b[q(0x75)]),d=b[q(0x84)]?'/'+b[q(0x84)]+'/':'/',e=this[q(0x86)]['pathFromApp']({'pathParts':[q(0x69),d,c]}),f=this[q(0x86)][q(0x66)]({'pathParts':[q(0x69),d,c,'package.js']}),g=this[q(0x8b)],h={'name':kebabCase(b[q(0x75)]),'myPath':a133e[q(0x6d)](this['fsi'][q(0x8d)](),e),'cssCaseName':kebabCase(b[q(0x75)]),'className':pascalCase(b[q(0x75)]),'camelCaseName':camelCase(b[q(0x75)]),'fileName':c,'client':g[q(0x7e)]['client'],'graphql':g[q(0x7e)]['graphql'],'ssr':g[q(0x7e)][q(0x7c)],'isComponent':b[q(0x65)](q(0x85)),'isLayout':b['hasOwnProperty'](q(0x78)),'isStore':b[q(0x65)](q(0x7d)),'features':g['features'],'noRename':!![],'theme':g[q(0x7e)][q(0x74)]};await this[q(0x86)][q(0x8c)]({'srcPath':q(0x6e),'destPath':f,'context':h,'config':g}),h[q(0x6f)]=![];const i=e+q(0x79)+c+'.js';await this[q(0x86)]['template']({'srcPath':q(0x7b),'destPath':i,'context':h,'config':g});const j=['lib',q(0x82),q(0x6c),'tests/server'];for(const k of j){const l=e+'/'+k+'/'+c+'.js';await this[q(0x86)][q(0x8c)]({'srcPath':'package/'+k+q(0x6a),'destPath':l,'context':h,'config':g});}});