@maka/maka-cli 5.0.27 → 5.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/test.js +1 -1
  100. package/bundle/obf/src/commands/undo.js +1 -1
  101. package/bundle/obf/src/commands/version.js +1 -1
  102. package/bundle/obf/src/error.js +1 -1
  103. package/bundle/obf/src/exec.js +1 -1
  104. package/bundle/obf/src/generator.js +1 -1
  105. package/bundle/obf/src/generators/_index.js +1 -1
  106. package/bundle/obf/src/generators/api.js +1 -1
  107. package/bundle/obf/src/generators/aws/_index.js +1 -1
  108. package/bundle/obf/src/generators/aws/aws.js +1 -1
  109. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  112. package/bundle/obf/src/generators/collection.js +1 -1
  113. package/bundle/obf/src/generators/component.js +1 -1
  114. package/bundle/obf/src/generators/config.js +1 -1
  115. package/bundle/obf/src/generators/dbc.js +1 -1
  116. package/bundle/obf/src/generators/dockerfile.js +1 -1
  117. package/bundle/obf/src/generators/hook.js +1 -1
  118. package/bundle/obf/src/generators/kits/_index.js +1 -1
  119. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/kit.js +1 -1
  127. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  131. package/bundle/obf/src/generators/layout.js +1 -1
  132. package/bundle/obf/src/generators/maka.gen.js +1 -1
  133. package/bundle/obf/src/generators/methods.js +1 -1
  134. package/bundle/obf/src/generators/package.js +1 -1
  135. package/bundle/obf/src/generators/page.js +1 -1
  136. package/bundle/obf/src/generators/publish.js +1 -1
  137. package/bundle/obf/src/generators/route.js +1 -1
  138. package/bundle/obf/src/generators/service.js +1 -1
  139. package/bundle/obf/src/generators/services/_index.js +1 -1
  140. package/bundle/obf/src/generators/services/openssl.js +1 -1
  141. package/bundle/obf/src/generators/services/translation.js +1 -1
  142. package/bundle/obf/src/maka.js +1 -1
  143. package/bundle/obf/src/templates/meteor/api/graphql-api.js +1 -1
  144. package/bundle/obf/src/tool.js +1 -1
  145. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  150. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  152. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  153. package/bundle/obf/src/tools/https/https.class.js +1 -1
  154. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  155. package/bundle/obf/src/tools/log/log.class.js +1 -1
  156. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  158. package/bundle/obf/src/tools/options/options.class.js +1 -1
  159. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  160. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  161. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  162. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  163. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  164. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  165. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  166. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  167. package/package.json +1 -1
@@ -1 +1 @@
1
- const a116n=a116d;(function(a,b){const l=a116d,c=a();while(!![]){try{const d=parseInt(l(0x1f4))/0x1+-parseInt(l(0x21a))/0x2+parseInt(l(0x20e))/0x3*(-parseInt(l(0x22e))/0x4)+parseInt(l(0x1f5))/0x5+parseInt(l(0x225))/0x6*(-parseInt(l(0x206))/0x7)+parseInt(l(0x227))/0x8+-parseInt(l(0x224))/0x9*(-parseInt(l(0x22c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x3868e));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const m=a116d;return a116a[m(0x20d)]()['search'](m(0x211))['toString']()[m(0x201)](a116a)[m(0x231)](m(0x211));});a116a();import a116e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';function a116c(){const p=['/imports/ui/','10xcZgHD','fileName','25748bMJTjL','engines','hook/hook.js','search','scaffold','resourceName','none','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','155390LqipoI','464415jtVzEG','.js','.app-tests.js','@apollo/client','injectAtBeginningOfFile','className','\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','setTemplate','checkNpmPackage','create','string','css','constructor','apollo','features','pages','Creating\x20','1267IBWLjW','layouts','findProjectDirectory','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','dir','\x20hook...','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','toString','201nHXNtT','components','injectTemplateModule','(((.+)+)+)+$','template','pkg','notice','hook','/imports/ui/components','import\x20\x27./','error','fsi','62098YajzGY','pathFromApp','findAppDirectory','template/template.css','react','graphql','theme','hooks','cfg','assign','2783637nkkcck','9618YnuRal','warn','3407672VKYSTT','installNpmPackage','force','baseDir'];a116c=function(){return p;};return a116c();}import{Generator}from'../generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1f2;let f=c[d];return f;},a116d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a116n(0x1fe)]({'name':a116n(0x215),'aliases':['h'],'checkWhere':![],'usage':a116n(0x20c),'shortDesc':a116n(0x1f3),'mustBeInMakaProject':!![],'validOpts':[{'name':a116n(0x22a),'values':[a116n(0x221),a116n(0x20f),a116n(0x204),a116n(0x207)]},{'name':a116n(0x229),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':a116n(0x1fb)},async function(a,b){const o=a116n;Log[o(0x214)](o(0x205)+b[o(0x233)]+o(0x20b));try{await this['pkg']['checkNpmPackage'](o(0x21e),{'shouldInstall':!![]});const c=this[o(0x219)][o(0x21c)](),d=b[o(0x22a)]?o(0x22b)+b[o(0x22a)]:o(0x216),f=this[o(0x232)][o(0x21b)]({'pathParts':[d,b[o(0x20a)],kebabCase(b['resourceName']),kebabCase(b['resourceName'])]}),g=this['projectConfig'];typeof g[o(0x212)][o(0x200)]===o(0x1ff)&&this[o(0x222)][o(0x1fc)](o(0x200),g['template'][o(0x200)]);g['engines'][o(0x21f)]===o(0x202)&&!this[o(0x213)][o(0x1fd)](o(0x1f8))&&(Log[o(0x226)](o(0x209)),await this[o(0x213)][o(0x228)]('@apollo/client\x20isomorphic-fetch',{'cwd':c}));const h={'cssCaseName':kebabCase(b[o(0x233)]),'camelCaseName':camelCase(b[o(0x233)]),'className':pascalCase(b[o(0x233)]),'name':pascalCase(b[o(0x233)]),'graphql':g[o(0x22f)]['graphql'],'theme':g[o(0x22f)][o(0x220)],'features':g[o(0x203)],'myPath':a116e['relative'](this['fsi'][o(0x208)](),f),'fileName':kebabCase(b[o(0x233)]),'isComponent':![],'isLayout':![],'withTranslations':g[o(0x203)]['withTranslations']};await this[o(0x232)]['template']({'srcPath':o(0x230),'destPath':f+o(0x1f6),'context':h,'config':g,'framework':'react','force':b[o(0x229)]});g[o(0x212)][o(0x200)]&&(await this[o(0x232)]['template']({'srcPath':o(0x21d),'destPath':f+'.css','context':Object[o(0x223)]({},h,{'className':h['cssCaseName']}),'config':g,'force':b[o(0x229)]}),await this[o(0x232)][o(0x1f9)]({'filePath':f+'.'+g['engines']['js'],'content':o(0x217)+h[o(0x22d)]+'.'+g[o(0x22f)][o(0x200)]+'\x27;'}));g['engines']['test']!==o(0x1f2)&&await this[o(0x232)][o(0x212)]({'srcPath':'test/test.js','destPath':f+o(0x1f7),'framework':'react','context':h,'config':g,'force':b['force']});const i=b['dir']?'/'+b['dir']+'/':'/',j=''+d+i+h['fileName']+'/'+h[o(0x22d)];await this[o(0x232)][o(0x210)](h[o(0x1fa)],g,j);}catch(k){Log[o(0x218)](k);}});
1
+ const a116o=a116d;(function(a,b){const l=a116d,c=a();while(!![]){try{const d=-parseInt(l(0x13a))/0x1+-parseInt(l(0x122))/0x2+-parseInt(l(0x135))/0x3*(-parseInt(l(0x124))/0x4)+parseInt(l(0x13c))/0x5*(parseInt(l(0x14b))/0x6)+-parseInt(l(0x14e))/0x7+-parseInt(l(0x13b))/0x8+parseInt(l(0x140))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x38b17));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a116d;if(c){const e=c[m(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const n=a116d;return a116a['toString']()['search']('(((.+)+)+)+$')['toString']()[n(0x121)](a116a)[n(0x138)](n(0x126));});a116a();function a116c(){const q=['pages','force','none','/imports/ui/components','resourceName','hook','template/template.css','.css','error','15747fmeexc','fsi','css','search','relative','241188Vqfkga','2909728MrbNeY','90ARzrFW','className','\x20hook...','baseDir','10834686WSPYzU','pkg','layouts','@apollo/client','dir','react','.app-tests.js','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','graphql','features','.js','23022EaxwsJ','import\x20\x27./','pathFromApp','2532614qwAmqM','injectTemplateModule','hooks','maka\x20g:hook\x20cool-hook','cfg','template','test','@apollo/client\x20isomorphic-fetch','string','apollo','checkNpmPackage','scaffold','apply','constructor','609910ouYjxk','installNpmPackage','176vZMsAU','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','(((.+)+)+)+$','cssCaseName','theme','fileName','assign','engines'];a116c=function(){return q;};return a116c();}import a116e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x116;let f=c[d];return f;},a116d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a116o(0x131),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a116o(0x147),'mustBeInMakaProject':!![],'validOpts':[{'name':'baseDir','values':[a116o(0x116),'components',a116o(0x12c),a116o(0x142)]},{'name':a116o(0x12d),'boolFlag':!![]}],'examples':[a116o(0x117)],'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']('Creating\x20'+b['resourceName']+p(0x13e));try{await this['pkg'][p(0x11e)](p(0x145),{'shouldInstall':!![]});const c=this[p(0x136)]['findAppDirectory'](),d=b[p(0x13f)]?'/imports/ui/'+b['baseDir']:p(0x12f),f=this[p(0x11f)][p(0x14d)]({'pathParts':[d,b[p(0x144)],kebabCase(b[p(0x130)]),kebabCase(b[p(0x130)])]}),g=this['projectConfig'];typeof g[p(0x119)][p(0x137)]===p(0x11c)&&this[p(0x118)]['setTemplate'](p(0x137),g[p(0x119)][p(0x137)]);g[p(0x12b)][p(0x148)]===p(0x11d)&&!this[p(0x141)]['checkNpmPackage'](p(0x143))&&(Log['warn'](p(0x125)),await this[p(0x141)][p(0x123)](p(0x11b),{'cwd':c}));const h={'cssCaseName':kebabCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x130)]),'className':pascalCase(b[p(0x130)]),'name':pascalCase(b[p(0x130)]),'graphql':g['engines'][p(0x148)],'theme':g[p(0x12b)][p(0x128)],'features':g[p(0x149)],'myPath':a116e[p(0x139)](this[p(0x136)]['findProjectDirectory'](),f),'fileName':kebabCase(b[p(0x130)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x149)]['withTranslations']};await this[p(0x11f)]['template']({'srcPath':'hook/hook.js','destPath':f+p(0x14a),'context':h,'config':g,'framework':p(0x145),'force':b['force']});g[p(0x119)][p(0x137)]&&(await this[p(0x11f)]['template']({'srcPath':p(0x132),'destPath':f+p(0x133),'context':Object[p(0x12a)]({},h,{'className':h[p(0x127)]}),'config':g,'force':b['force']}),await this['scaffold']['injectAtBeginningOfFile']({'filePath':f+'.'+g[p(0x12b)]['js'],'content':p(0x14c)+h['fileName']+'.'+g[p(0x12b)][p(0x137)]+'\x27;'}));g['engines'][p(0x11a)]!==p(0x12e)&&await this[p(0x11f)][p(0x119)]({'srcPath':'test/test.js','destPath':f+p(0x146),'framework':p(0x145),'context':h,'config':g,'force':b[p(0x12d)]});const i=b['dir']?'/'+b[p(0x144)]+'/':'/',j=''+d+i+h['fileName']+'/'+h[p(0x129)];await this[p(0x11f)][p(0x14f)](h[p(0x13d)],g,j);}catch(k){Log[p(0x134)](k);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a117d,c=a();while(!![]){try{var d=parseInt(f(0x118))/0x1*(parseInt(f(0x120))/0x2)+-parseInt(f(0x119))/0x3+parseInt(f(0x11e))/0x4*(-parseInt(f(0x122))/0x5)+parseInt(f(0x11f))/0x6*(parseInt(f(0x11b))/0x7)+parseInt(f(0x115))/0x8*(parseInt(f(0x11d))/0x9)+-parseInt(f(0x11c))/0xa*(-parseInt(f(0x11a))/0xb)+-parseInt(f(0x123))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x2d602));var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0x116)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a['toString']()[h(0x124)](h(0x121))[h(0x117)]()['constructor'](a117a)[h(0x124)](h(0x121));});a117a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x115;var f=c[d];return f;},a117d(a,b);}import'./auth/_index.js';function a117c(){var i=['7SeNoAy','2386890hmbhIi','265959NAFfVZ','4pWItMt','1708662XEVZJD','2jdNLUx','(((.+)+)+)+$','1265265tRqACF','5193072UhFDmP','search','24VvXCxt','apply','toString','348965QZtEZe','268251kwSXcJ','11zqFRVE'];a117c=function(){return i;};return a117c();}
1
+ (function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(0xe6))/0x1+parseInt(f(0xdb))/0x2+-parseInt(f(0xe3))/0x3+parseInt(f(0xe2))/0x4*(-parseInt(f(0xe0))/0x5)+-parseInt(f(0xd9))/0x6*(parseInt(f(0xe5))/0x7)+parseInt(f(0xe8))/0x8*(-parseInt(f(0xdc))/0x9)+parseInt(f(0xdf))/0xa*(parseInt(f(0xdd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xd1558));var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a['toString']()[h(0xe7)](h(0xde))[h(0xe4)]()[h(0xe1)](a117a)[h(0xe7)](h(0xde));});a117a();import'./kit.js';import'./mui/_index.js';function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0xd9;var f=c[d];return f;},a117d(a,b);}import'./esri/_index.js';import'./auth/_index.js';function a117c(){var i=['5500865eiVxSe','constructor','4NEakwi','2750097RXCEgS','toString','196qTyEVZ','86530KEziXH','search','14008XgLYCb','330690CULPeP','apply','545066ueHJLg','7299sHaazv','11xMZgNH','(((.+)+)+)+$','56515820WPPzjb'];a117c=function(){return i;};return a117c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x16f))/0x1+parseInt(f(0x169))/0x2+parseInt(f(0x170))/0x3+-parseInt(f(0x167))/0x4*(parseInt(f(0x173))/0x5)+parseInt(f(0x168))/0x6*(parseInt(f(0x174))/0x7)+-parseInt(f(0x171))/0x8*(-parseInt(f(0x16c))/0x9)+-parseInt(f(0x16d))/0xa*(parseInt(f(0x16b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x8676e));function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x167;var f=c[d];return f;},a118d(a,b);}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()[h(0x175)](h(0x172))[h(0x16a)]()[h(0x16e)](a118a)[h(0x175)]('(((.+)+)+)+$');});a118a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a118c(){var i=['6YoBWbg','1881562cScCOe','toString','4510WsxUiX','9QrqgQZ','36100eTOXFq','constructor','716155uGVBiO','1638372QevUTZ','4233704IxadVu','(((.+)+)+)+$','55Gmcgoz','2224740TxZbRN','search','apply','370628yeAGTD'];a118c=function(){return i;};return a118c();}
1
+ function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x105;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x111))/0x1+parseInt(f(0x112))/0x2*(parseInt(f(0x107))/0x3)+-parseInt(f(0x110))/0x4+-parseInt(f(0x10e))/0x5+parseInt(f(0x10b))/0x6+parseInt(f(0x10a))/0x7*(-parseInt(f(0x109))/0x8)+parseInt(f(0x105))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x6d8ea));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x10c)]()['search'](h(0x106))[h(0x10c)]()[h(0x10d)](a118a)[h(0x108)](h(0x106));});a118a();import'./auth.generator.js';import'./provider.auth.gen.js';function a118c(){var i=['123dcQKTc','search','1370760xYgkvp','7Buhqvl','471930rQutGM','toString','constructor','840110otOGXn','apply','2463520SgkqKj','129535gPwhiO','39520ibxgZh','5802417EkEzFm','(((.+)+)+)+$'];a118c=function(){return i;};return a118c();}import'./basic-meteor.auth.gen.js';
@@ -1 +1 @@
1
- const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0xae))/0x1*(-parseInt(f(0xa8))/0x2)+parseInt(f(0xb8))/0x3+-parseInt(f(0xac))/0x4*(parseInt(f(0xad))/0x5)+parseInt(f(0xb1))/0x6+-parseInt(f(0xb4))/0x7+parseInt(f(0xa9))/0x8*(-parseInt(f(0xb7))/0x9)+parseInt(f(0xb2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x23391));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0xab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0xa7)]()[h(0xaa)](h(0xb5))[h(0xa7)]()['constructor'](a119a)[h(0xaa)](h(0xb5));});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';function a119c(){const j=['20284izizIj','265VeDWsD','3017heWZAR','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','create','1174332fRlKSO','4508700symhNO','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','1052611QPbpme','(((.+)+)+)+$','maka\x20g:kit:a','45iQYfmL','162948emCUGP','toString','4GbpsrU','210344uCDeAA','search','apply'];a119c=function(){return j;};return a119c();}const AuthGen=Generator[a119i(0xb0)]({'name':'auth','aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':a119i(0xaf),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a119i(0xb6)],'description':a119i(0xb3)},async function(){throw'NIE';},async function(){},a119e);function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xa7;let f=c[d];return f;},a119d(a,b);}export default AuthGen;
1
+ const a119h=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x86))/0x1*(parseInt(f(0x94))/0x2)+parseInt(f(0x95))/0x3*(-parseInt(f(0x8a))/0x4)+-parseInt(f(0x8e))/0x5+parseInt(f(0x8f))/0x6*(parseInt(f(0x87))/0x7)+-parseInt(f(0x8c))/0x8+-parseInt(f(0x90))/0x9*(-parseInt(f(0x85))/0xa)+parseInt(f(0x84))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xba68b));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['toString']()[g(0x91)](g(0x92))[g(0x8d)]()[g(0x88)](a119a)[g(0x91)](g(0x92));});a119a();function a119c(){const i=['Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','26hmjldL','3CWfpPs','13758008TkbXWW','10hhoQTe','15807mduoMG','7PVybnx','constructor','maka\x20g:kit:a','4221544QRcUPU','auth','4905888CYlkyP','toString','4964035ZRKbQa','5687988SqGxWr','9186687ebedKL','search','(((.+)+)+)+$'];a119c=function(){return i;};return a119c();}import{Generator}from'../../../generator.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x84;let f=c[d];return f;},a119d(a,b);}import a119e from'../kit.js';const AuthGen=Generator['create']({'name':a119h(0x8b),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':a119h(0x93),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a119h(0x89)],'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);export default AuthGen;
@@ -1 +1 @@
1
- function a120c(){const x=['authentication-provider','meteor/meteor','\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','/imports/startup/client','Accounts','4068687WjMOfM','10XRpEbB','injectImport','error','accounts-password','pathFromApp','template','14141328mOSlrv','export\x20const\x20AuthProvider','injectIntoFile','injectIntoCodeBlock','190mljrxp','kit/auth/service/meteor-auth-service.js','meteor/maka:react-tracker','const\x20deauthenticateUser','4tzrWko','useEffect\x5c(','search','apply','force','/imports/startup/server/publications/auth/roles.js','/imports/startup/lib','toString','/imports/startup/lib/authentication-service','700710Xtenrf','\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','publish','meteor','kit:auth:provider','findAppDirectory','const\x20authenticateToken','Meteor','startup','meteor/accounts-base','REACT','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','10zJQPwR','ssr','26559742UgMbJS','const\x20getUserAuthorizations','757374edGQDw','/imports/startup/client/authentication-service','Meteor.startup','AuthService','const\x20authenticateUser','\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\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','imports','593037zxbmcw','const\x20resetPasswordWithToken','engines','constructor','index','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','processAndRunGenerator','(((.+)+)+)+$','74510PsITIN','create','react','exit','12bBdrvA','findProjectDirectory','\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'];a120c=function(){return x;};return a120c();}const a120v=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d=parseInt(s(0x20b))/0x1*(-parseInt(s(0x218))/0x2)+parseInt(s(0x1eb))/0x3*(-parseInt(s(0x1e2))/0x4)+-parseInt(s(0x1f7))/0x5*(-parseInt(s(0x1fb))/0x6)+-parseInt(s(0x217))/0x7+-parseInt(s(0x21e))/0x8+parseInt(s(0x203))/0x9*(parseInt(s(0x1de))/0xa)+-parseInt(s(0x1f9))/0xb*(-parseInt(s(0x20f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xeb550));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a120d;if(c){const e=c[t(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const u=a120d;return a120a[u(0x1e9)]()[u(0x1e4)](u(0x20a))[u(0x1e9)]()[u(0x206)](a120a)[u(0x1e4)](u(0x20a));});a120a();import a120e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120f from'./auth.generator.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1dc;let f=c[d];return f;},a120d(a,b);}import a120g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120v(0x20c)]({'name':a120v(0x1ee),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a120v(0x1e6)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a120v(0x1f5)]},'description':a120v(0x1ec)},async function(a,b){const w=a120v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x1e6)]||![];await d['checkMeteorPackage']([w(0x21b)],{'shouldInstall':!![]});const i=c[w(0x210)](),j=c[w(0x1f0)](),k=g[w(0x205)][w(0x1f8)]===w(0x1ee);await a120g[w(0x209)](w(0x1ef),[],{'force':h,'cwd':i,'config':g}),await a120g[w(0x209)](w(0x1ed),['auth/roles'],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e['normalize'](w(0x1e7)),m=k?w(0x1e8):w(0x215),n=f[w(0x21c)]({'pathParts':[m,'','','authentication-service']});await f[w(0x21d)]({'srcPath':w(0x1df),'destPath':n+'.js','framework':w(0x20d),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x21c)]({'pathParts':[m,'','',w(0x212)]}),p=g['engines']['js'];await f['injectImport']({'filePath':o+'.'+p,'importName':w(0x1fe),'modulePath':k?w(0x1ea):w(0x1fc),'isNamedExport':![]}),await f[w(0x1dd)]({'filePath':o+'.'+p,'content':w(0x200),'begin':w(0x1ff),'replace':!![]}),await f[w(0x1dd)]({'filePath':o+'.'+p,'content':w(0x214),'begin':w(0x1f1),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x201),'begin':w(0x1fa),'replace':!![]}),await f[w(0x1dd)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x1e1),'replace':!![]}),await f[w(0x1dd)]({'filePath':o+'.'+p,'content':w(0x1f6),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x208),'begin':'const\x20registerNewUser','replace':!![]}),await f[w(0x1dd)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x204),'replace':!![]});k&&(await f[w(0x219)]({'filePath':o+'.'+p,'importName':'useTracker','modulePath':w(0x1e0),'isNamedExport':!![]}),await f[w(0x1dc)]({'filePath':o+'.'+p,'content':w(0x211),'begin':w(0x21f),'end':w(0x1e3)}));await f[w(0x219)]({'filePath':l,'importName':w(0x1f2),'modulePath':w(0x213),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x1dd)]({'filePath':l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':'Meteor.publish','replace':!![]});const q=f[w(0x21c)]({'pathParts':[w(0x202),w(0x1f3),'server',w(0x207)]});await f[w(0x219)]({'filePath':q+'.'+p,'importName':w(0x216),'modulePath':w(0x1f4),'isNamedExport':!![]}),await f[w(0x1dd)]({'filePath':q+'.'+p,'content':'\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','begin':w(0x1fd),'replace':!![]});}catch(r){Log[w(0x21a)](r),process[w(0x20e)](0x1);}},async function(){},a120f);
1
+ const a120v=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d=parseInt(s(0x199))/0x1+parseInt(s(0x1c0))/0x2+-parseInt(s(0x1aa))/0x3*(parseInt(s(0x1a1))/0x4)+-parseInt(s(0x19c))/0x5*(parseInt(s(0x1a3))/0x6)+-parseInt(s(0x18c))/0x7*(parseInt(s(0x198))/0x8)+-parseInt(s(0x1b4))/0x9+parseInt(s(0x1c5))/0xa*(parseInt(s(0x1c1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xe1a8a));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a120d;if(c){const e=c[t(0x1bd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const u=a120d;return a120a[u(0x19e)]()[u(0x1ad)](u(0x1c2))['toString']()[u(0x197)](a120a)[u(0x1ad)](u(0x1c2));});a120a();import a120e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a120c(){const x=['322399nQVOOC','(((.+)+)+)+$','findAppDirectory','meteor/meteor','1000BvRSYQ','ssr','react','const\x20resetPasswordWithToken','startup','processAndRunGenerator','injectImport','/imports/startup/server/publications/auth/roles.js','9874879eIECPg','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','engines','pathFromApp','index','export\x20const\x20AuthProvider','meteor/accounts-base','injectIntoCodeBlock','error','Meteor','meteor','constructor','8WfiLrZ','1414435yEXweZ','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client','3409195ObBgpN','/imports/startup/lib','toString','exit','auth/roles','147428QflhYr','\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','12kGhvvR','injectIntoFile','/imports/startup/client/authentication-service','Meteor.startup','\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','template','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','60kbuxuE','const\x20registerNewUser','create','search','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','Accounts','publish','const\x20authenticateToken','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','force','8121204axiaqg','\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','useEffect\x5c(','server','kit/auth/service/meteor-auth-service.js','.js','Meteor.publish','const\x20sendForgotPasswordEmail','\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','apply','meteor/maka:react-tracker','accounts-password','1985668ATfUKf'];a120c=function(){return x;};return a120c();}import a120f from'./auth.generator.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x185;let f=c[d];return f;},a120d(a,b);}import a120g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120v(0x1ac)]({'name':a120v(0x196),'aliases':['m'],'usage':a120v(0x1b2),'shortDesc':a120v(0x1ae),'validOpts':[a120v(0x1b3)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a120v(0x1a2)},async function(a,b){const w=a120v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x1b3)]||![];await d['checkMeteorPackage']([w(0x1bf)],{'shouldInstall':!![]});const i=c['findProjectDirectory'](),j=c[w(0x1c3)](),k=g[w(0x18e)][w(0x185)]==='meteor';await a120g[w(0x189)]('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a120g[w(0x189)](w(0x1b0),[w(0x1a0)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e['normalize'](w(0x18b)),m=k?w(0x19d):w(0x19b),n=f[w(0x18f)]({'pathParts':[m,'','','authentication-service']});await f[w(0x1a8)]({'srcPath':w(0x1b8),'destPath':n+w(0x1b9),'framework':w(0x186),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x18f)]({'pathParts':[m,'','','authentication-provider']}),p=g[w(0x18e)]['js'];await f[w(0x18a)]({'filePath':o+'.'+p,'importName':'AuthService','modulePath':k?'/imports/startup/lib/authentication-service':w(0x1a5),'isNamedExport':![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':w(0x1a7),'begin':'const\x20authenticateUser','replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':w(0x1b5),'begin':w(0x1b1),'replace':!![]}),await f[w(0x193)]({'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':'const\x20getUserAuthorizations','replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':w(0x18d),'begin':'const\x20deauthenticateUser','replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':w(0x1a9),'begin':w(0x1bb),'replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':w(0x19a),'begin':w(0x1ab),'replace':!![]}),await f[w(0x193)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x187),'replace':!![]});k&&(await f[w(0x18a)]({'filePath':o+'.'+p,'importName':'useTracker','modulePath':w(0x1be),'isNamedExport':!![]}),await f[w(0x1a4)]({'filePath':o+'.'+p,'content':w(0x1bc),'begin':w(0x191),'end':w(0x1b6)}));await f[w(0x18a)]({'filePath':l,'importName':w(0x195),'modulePath':w(0x1c4),'isNamedExport':!![],'injectAtStart':!![]}),await f['injectIntoCodeBlock']({'filePath':l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x1ba),'replace':!![]});const q=f[w(0x18f)]({'pathParts':['imports',w(0x188),w(0x1b7),w(0x190)]});await f[w(0x18a)]({'filePath':q+'.'+p,'importName':w(0x1af),'modulePath':w(0x192),'isNamedExport':!![]}),await f['injectIntoCodeBlock']({'filePath':q+'.'+p,'content':'\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','begin':w(0x1a6),'replace':!![]});}catch(r){Log[w(0x194)](r),process[w(0x19f)](0x1);}},async function(){},a120f);
@@ -1 +1 @@
1
- function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x16d;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(0x176))/0x1+-parseInt(u(0x186))/0x2+-parseInt(u(0x173))/0x3*(-parseInt(u(0x195))/0x4)+-parseInt(u(0x18e))/0x5*(parseInt(u(0x18f))/0x6)+-parseInt(u(0x177))/0x7*(parseInt(u(0x174))/0x8)+parseInt(u(0x18b))/0x9*(parseInt(u(0x183))/0xa)+-parseInt(u(0x17a))/0xb*(-parseInt(u(0x189))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xc1587));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(0x19a)]()['search'](v(0x170))[v(0x19a)]()[v(0x17f)](a121a)[v(0x17b)](v(0x170));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a121c(){const y=['254002gcRDjb','error','<AuthProvider>','1573dcLtWF','search','/imports/startup/lib/authentication-provider','/routes','provider','constructor','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','create','<AppRoutes\x20/>','14220xjltye','injectAroundString','force','1159868dzpkZt','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','AuthContext','66588hPqsnx','scaffold','189fJrSzJ','/imports/startup/server/index','split','5vXAwdl','6904518OtKzWr','const\x20PrivateRoute','pathFromApp','function\x20useAuth','/imports/startup/client','const\x20useAuth','4rlYnmp','\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','injectImport','injectIntoCodeBlock','\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','toString','<AppRoutes\x20history={history}/>','REACT','react','</AuthProvider>','/imports/startup/client/authentication-provider','ssr','AuthProvider','engines','bright','(((.+)+)+)+$','\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','authentication-provider','4071003PHQOAX','104yLIEZY','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','813978dZOppQ'];a121c=function(){return y;};return a121c();}import a121e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121w(0x181)]({'name':a121w(0x17e),'aliases':['p'],'usage':a121w(0x187),'shortDesc':a121w(0x180),'validOpts':[a121w(0x185)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a121w(0x19c)]},'description':a121w(0x171)},async function(a,b){const x=a121w;try{const c=b[x(0x185)]||![];Log[x(0x16f)](x(0x175));const {projectConfig:d}=this,f=d['engines'][x(0x1a0)]==='meteor',g={'name':capitalCase(d['appName'])},h=f?'/imports/startup/lib':x(0x193),i=this['scaffold'][x(0x191)]({'pathParts':[h,'','',x(0x172)]});await this['scaffold']['template']({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+'.js','framework':x(0x19d),'context':g,'config':d,'force':c,'ignore':![]});const j=d[x(0x16e)]['js'],k=h+x(0x17d),l=k[x(0x18d)]('/'),m=this['scaffold']['pathFromApp']({'pathParts':l});await this[x(0x18a)][x(0x197)]({'filePath':m+'.'+j,'importName':x(0x188),'modulePath':f?x(0x17c):x(0x19f),'isNamedExport':!![]}),await this[x(0x18a)][x(0x197)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':x(0x19d),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x18a)][x(0x198)]({'filePath':m+'.'+j,'content':x(0x196),'begin':[x(0x194),x(0x192)],'replace':!![]}),await this[x(0x18a)][x(0x198)]({'filePath':m+'.'+j,'content':x(0x199),'begin':[x(0x190)],'replace':!![]});const n='/imports/startup/client/index',o=n[x(0x18d)]('/'),p=this['scaffold'][x(0x191)]({'pathParts':o});await this[x(0x18a)]['injectImport']({'filePath':p+'.'+j,'importName':x(0x16d),'modulePath':f?x(0x17c):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x18a)][x(0x184)]({'filePath':p+'.'+j,'aboveContent':x(0x179),'belowContent':x(0x19e),'targetString':x(0x182),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x18c),r=q[x(0x18d)]('/'),s=this[x(0x18a)][x(0x191)]({'pathParts':r});await this['scaffold']['injectImport']({'filePath':s+'.'+j,'importName':x(0x16d),'modulePath':f?x(0x17c):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x18a)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':x(0x179),'belowContent':x(0x19e),'targetString':x(0x19b),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0x178)](t),process['exit'](0x1);}},async function(){},a121e);
1
+ function a121c(){const z=['toString','exit','95050zhvABz','AuthContext','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','search','injectImport','172160dUleqL','create','function\x20useAuth','apply','8jsnlbT','.js','1720968ntvefA','bright','163794AdOJXM','359204OZDAJp','<AuthProvider>','const\x20PrivateRoute','28pfhLsy','authentication-provider','41315UeYztX','scaffold','pathFromApp','/routes','useContext','injectIntoCodeBlock','/imports/startup/lib','constructor','template','/imports/startup/client/authentication-provider','<AppRoutes\x20/>','\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','force','ssr','/imports/startup/client/index','split','</AuthProvider>','kit/auth/provider/authentication-provider.js','\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','react','/imports/startup/lib/authentication-provider','AuthProvider','3878811Xhxqqy','(((.+)+)+)+$','REACT','3zFyfhC'];a121c=function(){return z;};return a121c();}const a121x=a121d;function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a121d(a,b);}(function(a,b){const u=a121d,c=a();while(!![]){try{const d=-parseInt(u(0x1eb))/0x1+-parseInt(u(0x1ca))/0x2*(-parseInt(u(0x1e8))/0x3)+-parseInt(u(0x1c7))/0x4+parseInt(u(0x1cf))/0x5+-parseInt(u(0x1c9))/0x6*(-parseInt(u(0x1cd))/0x7)+parseInt(u(0x1c5))/0x8*(parseInt(u(0x1e5))/0x9)+parseInt(u(0x1f0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x35b3c));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a121d;if(c){const e=c[v(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const w=a121d;return a121a[w(0x1e9)]()[w(0x1ee)](w(0x1e6))[w(0x1e9)]()[w(0x1d6)](a121a)[w(0x1ee)]('(((.+)+)+)+$');});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[a121x(0x1f1)]({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a121x(0x1ed),'validOpts':[a121x(0x1db)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a121x(0x1e7)]},'description':a121x(0x1da)},async function(a,b){const y=a121x;try{const c=b['force']||![];Log[y(0x1c8)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const {projectConfig:d}=this,f=d['engines'][y(0x1dc)]==='meteor',g={'name':capitalCase(d['appName'])},h=f?y(0x1d5):'/imports/startup/client',i=this[y(0x1d0)]['pathFromApp']({'pathParts':[h,'','',y(0x1ce)]});await this['scaffold'][y(0x1d7)]({'srcPath':y(0x1e0),'destPath':i+y(0x1c6),'framework':y(0x1e2),'context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+y(0x1d2),l=k[y(0x1de)]('/'),m=this[y(0x1d0)][y(0x1d1)]({'pathParts':l});await this[y(0x1d0)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x1ec),'modulePath':f?y(0x1e3):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x1d0)][y(0x1ef)]({'filePath':m+'.'+j,'importName':y(0x1d3),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold']['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':'\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','begin':['const\x20useAuth',y(0x1f2)],'replace':!![]}),await this[y(0x1d0)][y(0x1d4)]({'filePath':m+'.'+j,'content':y(0x1e1),'begin':[y(0x1cc)],'replace':!![]});const n=y(0x1dd),o=n['split']('/'),p=this['scaffold'][y(0x1d1)]({'pathParts':o});await this['scaffold']['injectImport']({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x1d8),'isNamedExport':!![]}),await this[y(0x1d0)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1df),'targetString':y(0x1d9),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[y(0x1de)]('/'),s=this[y(0x1d0)][y(0x1d1)]({'pathParts':r});await this[y(0x1d0)][y(0x1ef)]({'filePath':s+'.'+j,'importName':y(0x1e4),'modulePath':f?y(0x1e3):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['scaffold']['injectAroundString']({'filePath':s+'.'+j,'aboveContent':y(0x1cb),'belowContent':y(0x1df),'targetString':'<AppRoutes\x20history={history}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[y(0x1ea)](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- (function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x183))/0x1*(parseInt(f(0x182))/0x2)+-parseInt(f(0x181))/0x3+parseInt(f(0x184))/0x4+-parseInt(f(0x180))/0x5+parseInt(f(0x189))/0x6+parseInt(f(0x186))/0x7*(-parseInt(f(0x187))/0x8)+-parseInt(f(0x18c))/0x9*(-parseInt(f(0x188))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x37eb0));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['toString']()[g(0x18a)](g(0x185))[g(0x18b)]()['constructor'](a122a)[g(0x18a)](g(0x185));});a122a();function a122c(){var h=['804714llsgHu','search','toString','50769RhDvYN','535380qtDIUH','236730iZyZRc','159812LzKiAL','1Ubwgtp','1015364LuyjKp','(((.+)+)+)+$','13398zBZeKA','496bilTUl','400rScOsA'];a122c=function(){return h;};return a122c();}function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x180;var f=c[d];return f;},a122d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x121))/0x1*(-parseInt(f(0x11d))/0x2)+-parseInt(f(0x120))/0x3+-parseInt(f(0x128))/0x4+-parseInt(f(0x11a))/0x5*(-parseInt(f(0x124))/0x6)+parseInt(f(0x125))/0x7*(parseInt(f(0x11e))/0x8)+parseInt(f(0x11c))/0x9*(-parseInt(f(0x127))/0xa)+parseInt(f(0x11b))/0xb*(parseInt(f(0x119))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x8f80b));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a['toString']()[h(0x11f)](h(0x129))[h(0x123)]()[h(0x122)](a122a)['search'](h(0x129));});a122a();import'./esri.generator.js';function a122c(){var i=['516BeymsI','10RzJbRm','3487brOElq','9zZyhmr','171830SsJzNK','1974904VCYGPV','search','1175475cXQUhN','10OJWNtI','constructor','toString','2637282hdkBxj','28BqzSvX','apply','60090jccXZt','141624lkBWQv','(((.+)+)+)+$'];a122c=function(){return i;};return a122c();}function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x119;var f=c[d];return f;},a122d(a,b);}import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a123i=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x7f;let f=c[d];return f;},a123d(a,b);}(function(a,b){const f=a123d,c=a();while(!![]){try{const d=parseInt(f(0x93))/0x1+parseInt(f(0x8c))/0x2*(-parseInt(f(0x86))/0x3)+parseInt(f(0x95))/0x4*(parseInt(f(0x7f))/0x5)+-parseInt(f(0x89))/0x6+-parseInt(f(0x8e))/0x7*(-parseInt(f(0x8b))/0x8)+-parseInt(f(0x92))/0x9*(parseInt(f(0x8d))/0xa)+parseInt(f(0x82))/0xb*(parseInt(f(0x8a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xc0ffb));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0x90)]()[h(0x96)]('(((.+)+)+)+$')[h(0x90)]()[h(0x85)](a123a)[h(0x96)](h(0x81));});a123a();import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator[a123i(0x91)]({'name':a123i(0x8f),'aliases':['e'],'usage':a123i(0x83),'shortDesc':a123i(0x84),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a123i(0x94)],'description':a123i(0x88)},async function(){const j=a123i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0x80)]}};},async function(){},a123e);export default EsriGen;function a123c(){const k=['apply','\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','1949538bzFmYY','36060tLOlOP','4800856vikXGI','634724cFDAmw','10CPPhwm','7fqQgFV','esri','toString','create','6634593FmFWQm','1080421JxUbWS','maka\x20g:kit:e','8zaDAbM','search','630155QzSIOs','/foo','(((.+)+)+)+$','869GRVZSe','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','constructor','3ohLRSS'];a123c=function(){return k;};return a123c();}
1
+ function a123c(){const j=['566996AVEUma','esri','419764avfYTO','\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','3359363kuisVK','185800aJuZBK','/foo/bar','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','70JkCnjv','toString','search','Esri\x20Kit\x20generated\x20successfully','maka\x20g:kit:e','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','912BDFBmp','195867AENEhR','(((.+)+)+)+$','/foo','6920PkcVhv','8OmgAuo','283659zeBBBQ'];a123c=function(){return j;};return a123c();}const a123h=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x75;let f=c[d];return f;},a123d(a,b);}(function(a,b){const f=a123d,c=a();while(!![]){try{const d=parseInt(f(0x82))/0x1+parseInt(f(0x7d))/0x2+parseInt(f(0x7c))/0x3+parseInt(f(0x7f))/0x4+-parseInt(f(0x7a))/0x5*(-parseInt(f(0x76))/0x6)+parseInt(f(0x81))/0x7*(-parseInt(f(0x7b))/0x8)+parseInt(f(0x77))/0x9*(-parseInt(f(0x85))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x3c47e));const a123b=(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;};}()),a123a=a123b(this,function(){const g=a123d;return a123a[g(0x86)]()[g(0x87)]('(((.+)+)+)+$')[g(0x86)]()['constructor'](a123a)[g(0x87)](g(0x78));});a123a();import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator['create']({'name':a123h(0x7e),'aliases':['e'],'usage':a123h(0x84),'shortDesc':a123h(0x75),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a123h(0x89)],'description':a123h(0x80)},async function(){const i=a123h;return{'success':!![],'message':i(0x88),'details':{'filesCreated':[i(0x83)],'filesUpdated':[i(0x79)]}};},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(0x1d8))/0x1*(-parseInt(s(0x1bb))/0x2)+-parseInt(s(0x1d5))/0x3+parseInt(s(0x1da))/0x4+-parseInt(s(0x1bd))/0x5*(-parseInt(s(0x1d0))/0x6)+parseInt(s(0x1be))/0x7+parseInt(s(0x1e2))/0x8+-parseInt(s(0x1e9))/0x9*(-parseInt(s(0x1de))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x216bb));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a124d;if(c){const e=c[t(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const u=a124d;return a124a['toString']()['search'](u(0x1c8))[u(0x1e0)]()['constructor'](a124a)[u(0x1bf)]('(((.+)+)+)+$');});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1bb;let f=c[d];return f;},a124d(a,b);}function a124c(){const x=['apply','293346JsTSGh','template','bright','pathFromApp','injectTemplateModule','239961ofBqpM','react','@esri/react-arcgis','2ovGniV','/imports/startup/client/templates','522312pXaHNh','appName','meteor','replaceAll','557250rdfubB','\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','toString','findProjectDirectory','193624fhEFMt','split','baseDir','injectIntoFile','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','ssr','map','18cHKHGb','create','error','129634mrnxbW','NONE','5vQgeze','219730JjlVOa','search','/imports/ui/hooks','dir','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','.js','/imports/startup/lib/templates','basic-map','checkNpmPackage','<div\x20id=\x22map\x22>','(((.+)+)+)+$','</div>','processAndRunGenerator','injectImport','/imports/ui/','page','exit'];a124c=function(){return x;};return a124c();}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(0x1ea)]({'name':a124v(0x1e8),'aliases':['m'],'usage':a124v(0x1c2),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a124v(0x1bc)]},'description':a124v(0x1df)},async function(a,b){const w=a124v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x1d2)]('Generating\x20a\x20map\x20component');const h=w(0x1c5);await f[w(0x1c6)]([w(0x1d7),'esri-loader'],{'shouldInstall':!![]});const i=d[w(0x1e1)](),j=c['engines'][w(0x1e7)]===w(0x1dc),k=await a124f[w(0x1ca)](w(0x1cd),[w(0x1e8)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x1db)])[w(0x1dd)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x1e4)]?w(0x1cc)+b[w(0x1e4)]:w(0x1c0),n=g[w(0x1d3)]({'pathParts':[m,b[w(0x1c1)],kebabCase(h),kebabCase(h)]});await g[w(0x1d1)]({'srcPath':'kit/esri/map/'+h+w(0x1c3),'destPath':n+'.js','framework':w(0x1d6),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b['dir']+'/'+h+'/'+h;await g[w(0x1d4)](h,c,o);const p=k[w(0x1e3)]('/'),q=g['pathFromApp']({'pathParts':p});await g[w(0x1cb)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x1c4):w(0x1d9),'isNamedExport':!![]}),await g[w(0x1e5)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x1e6),'begin':['<div\x20id=\x22map\x22>',w(0x1c7)],'end':[w(0x1c9)],'replace':!![]});}catch(r){Log[w(0x1eb)](r),process[w(0x1ce)](0x1);}},async function(){},a124e);
1
+ const a124v=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=parseInt(s(0x7e))/0x1*(-parseInt(s(0x95))/0x2)+-parseInt(s(0x9a))/0x3+-parseInt(s(0x87))/0x4*(-parseInt(s(0x92))/0x5)+parseInt(s(0x7f))/0x6+parseInt(s(0x68))/0x7+-parseInt(s(0x93))/0x8*(parseInt(s(0x71))/0x9)+-parseInt(s(0x7b))/0xa*(parseInt(s(0x77))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x6d1c5));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a124d;if(c){const e=c[t(0x6b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const u=a124d;return a124a['toString']()['search']('(((.+)+)+)+$')['toString']()[u(0x6d)](a124a)[u(0x8a)](u(0x78));});a124a();import{Generator}from'../../../generator.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x68;let f=c[d];return f;},a124d(a,b);}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(0x6c)]({'name':a124v(0x69),'aliases':['m'],'usage':a124v(0x7d),'shortDesc':a124v(0x96),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124v(0x89)],'ssr':SsrEngines[a124v(0x6e)]},'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['bright'](w(0x83));const h=w(0x91);await f[w(0x7c)]([w(0x75),w(0x79)],{'shouldInstall':!![]});const i=d['findProjectDirectory'](),j=c[w(0x72)][w(0x74)]===w(0x8e),k=await a124f[w(0x7a)](w(0x82),[w(0x69)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x6f)])['replaceAll']('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x76)]?w(0x85)+b[w(0x76)]:w(0x6a),n=g[w(0x98)]({'pathParts':[m,b[w(0x8c)],kebabCase(h),kebabCase(h)]});await g[w(0x81)]({'srcPath':w(0x8f)+h+w(0x8d),'destPath':n+w(0x8d),'framework':w(0x84),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x8c)]+'/'+h+'/'+h;await g[w(0x97)](h,c,o);const p=k[w(0x73)]('/'),q=g[w(0x98)]({'pathParts':p});await g[w(0x8b)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?'/imports/startup/lib/templates':w(0x86),'isNamedExport':!![]}),await g[w(0x88)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x90),'begin':[w(0x80),'<div\x20id=\x22map\x22>'],'end':[w(0x70)],'replace':!![]});}catch(r){Log[w(0x94)](r),process[w(0x99)](0x1);}},async function(){},a124e);function a124c(){const x=['exit','186525FQQOVo','2253930uiHUGF','map','/imports/ui/hooks','apply','create','constructor','NONE','appName','</div>','3771rhOgcr','engines','split','ssr','@esri/react-arcgis','baseDir','55EJbShB','(((.+)+)+)+$','esri-loader','processAndRunGenerator','495500IygyPe','checkNpmPackage','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','8zfpgmd','4996416JQWLFM','<div\x20id=\x22map\x22>','template','page','Generating\x20a\x20map\x20component','react','/imports/ui/','/imports/startup/client/templates','50332gEVJkE','injectIntoFile','REACT','search','injectImport','dir','.js','meteor','kit/esri/map/','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','basic-map','185SswtIh','4648hLIdiF','error','155004JRCaTV','Generate\x20an\x20Esri\x20map\x20component','injectTemplateModule','pathFromApp'];a124c=function(){return x;};return a124c();}
@@ -1 +1 @@
1
- const a125h=a125d;function a125c(){const i=['11100530ydPRnT','737870BCeRkR','10432eVZOfg','(((.+)+)+)+$','search','120642UPFPST','maka\x20g:kit','kit','728lIjQBV','1480324DxGjNM','maka\x20{generate,\x20g}:{kit}\x20<name>','63LsCASV','3753NGKBDU','948BVipwm','221944CBzaET','toString','create'];a125c=function(){return i;};return a125c();}function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x13a;let f=c[d];return f;},a125d(a,b);}(function(a,b){const f=a125d,c=a();while(!![]){try{const d=parseInt(f(0x13d))/0x1+-parseInt(f(0x145))/0x2*(-parseInt(f(0x13a))/0x3)+-parseInt(f(0x149))/0x4+parseInt(f(0x141))/0x5+parseInt(f(0x13c))/0x6*(-parseInt(f(0x148))/0x7)+parseInt(f(0x142))/0x8*(parseInt(f(0x13b))/0x9)+-parseInt(f(0x140))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xa6dc5));const a125b=(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;};}()),a125a=a125b(this,function(){const g=a125d;return a125a[g(0x13e)]()[g(0x144)]('(((.+)+)+)+$')[g(0x13e)]()['constructor'](a125a)[g(0x144)](g(0x143));});a125a();import{Generator}from'../../generator.js';const KitGen=Generator[a125h(0x13f)]({'name':a125h(0x147),'aliases':['k'],'usage':a125h(0x14a),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a125h(0x146),'maka\x20g:k']},async function(){});export default KitGen;
1
+ const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=parseInt(f(0x14a))/0x1+parseInt(f(0x148))/0x2+parseInt(f(0x146))/0x3+-parseInt(f(0x149))/0x4+-parseInt(f(0x150))/0x5+-parseInt(f(0x151))/0x6+parseInt(f(0x156))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x55b4c));function a125c(){const j=['maka\x20g:kit','4108811hincHH','298506BYXxym','create','755644HYDSey','2441520RPrdMt','469914dAKhIT','constructor','maka\x20{generate,\x20g}:{kit}\x20<name>','maka\x20g:k','(((.+)+)+)+$','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','2689965QbzbOt','208716cJaPXq','kit','search','apply'];a125c=function(){return j;};return a125c();}function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x146;let f=c[d];return f;},a125d(a,b);}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a['toString']()[h(0x153)](h(0x14e))['toString']()[h(0x14b)](a125a)[h(0x153)](h(0x14e));});a125a();import{Generator}from'../../generator.js';const KitGen=Generator[a125i(0x147)]({'name':a125i(0x152),'aliases':['k'],'usage':a125i(0x14c),'shortDesc':a125i(0x14f),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a125i(0x155),a125i(0x14d)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x136;var f=c[d];return f;},a126d(a,b);}(function(a,b){var f=a126d,c=a();while(!![]){try{var d=parseInt(f(0x13d))/0x1*(parseInt(f(0x13c))/0x2)+-parseInt(f(0x13e))/0x3+parseInt(f(0x139))/0x4+parseInt(f(0x13b))/0x5+-parseInt(f(0x136))/0x6*(-parseInt(f(0x141))/0x7)+parseInt(f(0x138))/0x8+parseInt(f(0x13f))/0x9*(-parseInt(f(0x140))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x686b1));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a[h(0x142)]()[h(0x137)]('(((.+)+)+)+$')[h(0x142)]()['constructor'](a126a)[h(0x137)](h(0x143));});function a126c(){var i=['1751192xHMjRd','apply','3044015yoLdXK','2mpTFql','532405lsLxse','1810920cZlcRF','2097yVrMaD','34660ANmwrS','14PiuXmD','toString','(((.+)+)+)+$','171804SlBsfq','search','1621128zIJFCv'];a126c=function(){return i;};return a126c();}a126a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(0x8a))/0x1+parseInt(f(0x82))/0x2+parseInt(f(0x8f))/0x3*(-parseInt(f(0x83))/0x4)+parseInt(f(0x86))/0x5+parseInt(f(0x90))/0x6*(-parseInt(f(0x88))/0x7)+parseInt(f(0x89))/0x8*(parseInt(f(0x8b))/0x9)+parseInt(f(0x87))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x64587));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0x85)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a[h(0x8e)]()[h(0x8c)](h(0x8d))[h(0x8e)]()[h(0x84)](a126a)[h(0x8c)](h(0x8d));});function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x82;var f=c[d];return f;},a126d(a,b);}a126a();import'./mui.generator.js';import'./frame.mui.gen.js';function a126c(){var i=['14tqbkxx','164872AHndHo','372599YfjCbd','306QRdDyz','search','(((.+)+)+)+$','toString','6wTVSUb','852570IYhRnO','11406FVFOCH','1548972Fbxdrb','constructor','apply','1009730LRdXGa','9339350sOuVNo'];a126c=function(){return i;};return a126c();}import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a127K=a127d;function a127c(){const N=['pathFromApp','/imports/startup/lib/authentication-provider','276vlloZa','maka\x20g:k:m:a','(((.+)+)+)+$','basic-password-reset-page','8035560NeJiSf','error','kit/mui/auth/login/','kit/mui/auth/logout/','.js','basic-forgot-password-page','kit:auth:provider','select','AuthContext','basic-logout-page','4186joaIlt','3731632gRhXeL','7851618vwYnzq','basic-register-page','Cleaning\x20up...','injectTemplateModule','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','REACT','appName','kit/mui/auth/password-reset/','custom','meteor','1548705JucYGx','360bavSWS','react','dir','constructor','toString','kit:auth:meteor','processAndRunGenerator','template','login','baseDir','/imports/ui/','split','force','route','Custom\x20(roll\x20your\x20own)','injectImport','57236gzGPaw','7JHQAdI','ssr','kit/mui/auth/forgot-password/','18cRFxDu','/imports/ui/pages/auth','Meteor\x20Accounts','auth','basic-login-page','MATERIAL','/imports/startup/client/authentication-provider','77JddVWu','2364JNKtex','engines','layouts'];a127c=function(){return N;};return a127c();}(function(a,b){const I=a127d,c=a();while(!![]){try{const d=-parseInt(I(0x14e))/0x1*(parseInt(I(0x141))/0x2)+parseInt(I(0x16f))/0x3*(parseInt(I(0x15e))/0x4)+-parseInt(I(0x14d))/0x5+-parseInt(I(0x143))/0x6*(parseInt(I(0x15f))/0x7)+parseInt(I(0x142))/0x8*(parseInt(I(0x162))/0x9)+parseInt(I(0x173))/0xa+-parseInt(I(0x169))/0xb*(-parseInt(I(0x16a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xa69cf));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(0x152)]()['search']('(((.+)+)+)+$')[J(0x152)]()[J(0x151)](a127a)['search'](J(0x171));});a127a();function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x13a;let f=c[d];return f;},a127d(a,b);}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';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a127K(0x165),'aliases':['a'],'usage':a127K(0x147),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a127K(0x16c),a127K(0x15a)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127K(0x167)],'client':ClientEngines[a127K(0x148)]},'examples':['maka\x20generate:kit:mui:auth',a127K(0x170)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20'},async function(a,b){const L=a127K;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[L(0x15a)]||![],h=d['findProjectDirectory'](),i=await Actions[L(0x13e)]({'name':'authType','message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':L(0x164),'value':L(0x14c)},{'name':L(0x15c),'value':L(0x14b)}]}),j='basic-login-page',k=L(0x140),l=L(0x144),m='basic-password-reset-page',n='basic-forgot-password-page',o=b[L(0x157)]?L(0x158)+b[L(0x157)]:L(0x163),p=f[L(0x16d)]({'pathParts':[o,b[L(0x150)],kebabCase(j),kebabCase(j)]}),q=f[L(0x16d)]({'pathParts':[o,b[L(0x150)],kebabCase(k),kebabCase(k)]}),r=f[L(0x16d)]({'pathParts':[o,b[L(0x150)],kebabCase(l),kebabCase(l)]}),s=f[L(0x16d)]({'pathParts':[o,b[L(0x150)],kebabCase(m),kebabCase(m)]}),t=f[L(0x16d)]({'pathParts':[o,b[L(0x150)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[L(0x149)])};await f[L(0x155)]({'srcPath':L(0x175)+j+L(0x13b),'destPath':p+'.js','framework':L(0x14f),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x155)]({'srcPath':L(0x13a)+k+L(0x13b),'destPath':q+'.js','framework':L(0x14f),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x155)]({'srcPath':'kit/mui/auth/register/'+l+L(0x13b),'destPath':r+L(0x13b),'framework':L(0x14f),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':L(0x14a)+m+'.js','destPath':s+'.js','framework':L(0x14f),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':L(0x161)+n+L(0x13b),'destPath':t+L(0x13b),'framework':L(0x14f),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[L(0x150)]+'/'+j+'/'+j;await f['injectTemplateModule'](j,c,v);const w=''+o+b['dir']+'/'+k+'/'+k;await f[L(0x146)](k,c,w);const x=''+o+b[L(0x150)]+'/'+l+'/'+l;await f[L(0x146)](l,c,x);const y=''+o+b[L(0x150)]+'/'+m+'/'+m;await f[L(0x146)](m,c,y);const z=''+o+b[L(0x150)]+'/'+n+'/'+n;await f[L(0x146)](n,c,z),await a127e[L(0x154)](L(0x15b),[L(0x166)],{'route':L(0x156),'cwd':h,'config':c}),await a127e[L(0x154)](L(0x15b),[L(0x140)],{'route':'logout','private':!![],'cwd':h,'config':c}),await a127e[L(0x154)]('route',[L(0x144)],{'route':'register','cwd':h,'config':c}),await a127e[L(0x154)]('route',[L(0x172)],{'route':'reset-password/:token','cwd':h,'config':c}),await a127e[L(0x154)]('route',[L(0x13c)],{'route':'forgot-password','cwd':h,'config':c});i==='meteor'&&await a127e[L(0x154)](L(0x153),[],{'force':g,'cwd':h,'config':c});i===L(0x14b)&&await a127e[L(0x154)](L(0x13d),[],{'force':g,'cwd':h,'config':c});const A=c[L(0x16b)][L(0x160)]===L(0x14c),B=c[L(0x16b)]['js'],C=f[L(0x16d)]({'pathParts':v['split']('/')});await f[L(0x15d)]({'filePath':C+'.'+B,'importName':L(0x13f),'modulePath':A?L(0x16e):L(0x168),'isNamedExport':!![]});const D=f[L(0x16d)]({'pathParts':w[L(0x159)]('/')});await f[L(0x15d)]({'filePath':D+'.'+B,'importName':L(0x13f),'modulePath':A?'/imports/startup/lib/authentication-provider':L(0x168),'isNamedExport':!![]});const E=f[L(0x16d)]({'pathParts':x[L(0x159)]('/')});await f[L(0x15d)]({'filePath':E+'.'+B,'importName':L(0x13f),'modulePath':A?L(0x16e):L(0x168),'isNamedExport':!![]});const F=f[L(0x16d)]({'pathParts':y[L(0x159)]('/')});await f[L(0x15d)]({'filePath':F+'.'+B,'importName':L(0x13f),'modulePath':A?L(0x16e):L(0x168),'isNamedExport':!![]});const G=f[L(0x16d)]({'pathParts':z[L(0x159)]('/')});await f[L(0x15d)]({'filePath':G+'.'+B,'importName':L(0x13f),'modulePath':A?L(0x16e):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(H){Log[L(0x174)](H),process['exit'](0x1);}},async function(){const M=a127K;console['log'](M(0x145));},a127f);export default a127f;
1
+ const a127L=a127d;(function(a,b){const I=a127d,c=a();while(!![]){try{const d=-parseInt(I(0x1ce))/0x1*(-parseInt(I(0x1cc))/0x2)+-parseInt(I(0x1c7))/0x3+-parseInt(I(0x19f))/0x4+-parseInt(I(0x1c8))/0x5*(-parseInt(I(0x1af))/0x6)+-parseInt(I(0x1cb))/0x7*(parseInt(I(0x18d))/0x8)+parseInt(I(0x190))/0x9+parseInt(I(0x1b7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xb1d12));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a127d;if(c){const e=c[J(0x1a2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const K=a127d;return a127a[K(0x1b8)]()['search'](K(0x1bb))[K(0x1b8)]()[K(0x1b2)](a127a)[K(0x19e)]('(((.+)+)+)+$');});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x18b;let f=c[d];return f;},a127d(a,b);}function a127c(){const O=['route','basic-password-reset-page','77VSskpw','102668TBlrzI','kit:auth:provider','10VSyXwj','register','/imports/ui/pages/auth','628512bJdvWF','kit/mui/auth/password-reset/','/imports/startup/client/authentication-provider','4832100BkRZXu','authType','react','.js','forgot-password','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','appName','maka\x20generate:kit:mui:auth','reset-password/:token','exit','AuthContext','injectImport','custom','/imports/startup/lib/authentication-provider','search','4008728viMupi','Custom\x20(roll\x20your\x20own)','basic-logout-page','apply','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','auth','MATERIAL','findProjectDirectory','dir','maka\x20g:k:m:a','basic-forgot-password-page','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','kit/mui/auth/register/','injectTemplateModule','Meteor\x20Accounts','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','369714ndDvxy','basic-login-page','meteor','constructor','kit:auth:meteor','kit/mui/auth/forgot-password/','log','/imports/ui/','2117520NJPOgv','toString','template','engines','(((.+)+)+)+$','baseDir','split','pathFromApp','error','kit/mui/auth/login/','processAndRunGenerator','login','select','basic-register-page','Cleaning\x20up...','kit/mui/auth/logout/','253515xEFjcI','115ccwbQQ'];a127c=function(){return O;};return a127c();}import a127e from'../../../generators/maka.gen.js';import a127f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a127L(0x1a4),'aliases':['a'],'usage':a127L(0x1aa),'shortDesc':a127L(0x195),'validOpts':['layouts','force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127L(0x1a5)],'client':ClientEngines['REACT']},'examples':[a127L(0x197),a127L(0x1a8)],'description':a127L(0x1ae)},async function(a,b){const M=a127L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b['force']||![],h=d[M(0x1a6)](),i=await Actions[M(0x1c3)]({'name':M(0x191),'message':M(0x1a3),'choices':[{'name':M(0x1ad),'value':M(0x1b1)},{'name':M(0x1a0),'value':M(0x19c)}]}),j='basic-login-page',k=M(0x1a1),l=M(0x1c4),m=M(0x1ca),n='basic-forgot-password-page',o=b['baseDir']?M(0x1b6)+b[M(0x1bc)]:M(0x18c),p=f['pathFromApp']({'pathParts':[o,b[M(0x1a7)],kebabCase(j),kebabCase(j)]}),q=f['pathFromApp']({'pathParts':[o,b[M(0x1a7)],kebabCase(k),kebabCase(k)]}),r=f[M(0x1be)]({'pathParts':[o,b[M(0x1a7)],kebabCase(l),kebabCase(l)]}),s=f[M(0x1be)]({'pathParts':[o,b[M(0x1a7)],kebabCase(m),kebabCase(m)]}),t=f[M(0x1be)]({'pathParts':[o,b[M(0x1a7)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x196)])};await f[M(0x1b9)]({'srcPath':M(0x1c0)+j+M(0x193),'destPath':p+M(0x193),'framework':M(0x192),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1b9)]({'srcPath':M(0x1c6)+k+M(0x193),'destPath':q+M(0x193),'framework':M(0x192),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1b9)]({'srcPath':M(0x1ab)+l+'.js','destPath':r+M(0x193),'framework':M(0x192),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x18e)+m+M(0x193),'destPath':s+M(0x193),'framework':M(0x192),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1b9)]({'srcPath':M(0x1b4)+n+M(0x193),'destPath':t+M(0x193),'framework':'react','context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x1a7)]+'/'+j+'/'+j;await f[M(0x1ac)](j,c,v);const w=''+o+b[M(0x1a7)]+'/'+k+'/'+k;await f[M(0x1ac)](k,c,w);const x=''+o+b[M(0x1a7)]+'/'+l+'/'+l;await f[M(0x1ac)](l,c,x);const y=''+o+b[M(0x1a7)]+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b[M(0x1a7)]+'/'+n+'/'+n;await f[M(0x1ac)](n,c,z),await a127e['processAndRunGenerator'](M(0x1c9),[M(0x1b0)],{'route':M(0x1c2),'cwd':h,'config':c}),await a127e[M(0x1c1)](M(0x1c9),[M(0x1a1)],{'route':'logout','private':!![],'cwd':h,'config':c}),await a127e[M(0x1c1)]('route',['basic-register-page'],{'route':M(0x18b),'cwd':h,'config':c}),await a127e[M(0x1c1)](M(0x1c9),['basic-password-reset-page'],{'route':M(0x198),'cwd':h,'config':c}),await a127e['processAndRunGenerator'](M(0x1c9),[M(0x1a9)],{'route':M(0x194),'cwd':h,'config':c});i===M(0x1b1)&&await a127e[M(0x1c1)](M(0x1b3),[],{'force':g,'cwd':h,'config':c});i===M(0x19c)&&await a127e[M(0x1c1)](M(0x1cd),[],{'force':g,'cwd':h,'config':c});const A=c[M(0x1ba)]['ssr']==='meteor',B=c[M(0x1ba)]['js'],C=f[M(0x1be)]({'pathParts':v[M(0x1bd)]('/')});await f['injectImport']({'filePath':C+'.'+B,'importName':M(0x19a),'modulePath':A?M(0x19d):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=f[M(0x1be)]({'pathParts':w[M(0x1bd)]('/')});await f[M(0x19b)]({'filePath':D+'.'+B,'importName':M(0x19a),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x18f),'isNamedExport':!![]});const E=f[M(0x1be)]({'pathParts':x[M(0x1bd)]('/')});await f[M(0x19b)]({'filePath':E+'.'+B,'importName':M(0x19a),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x18f),'isNamedExport':!![]});const F=f[M(0x1be)]({'pathParts':y[M(0x1bd)]('/')});await f['injectImport']({'filePath':F+'.'+B,'importName':M(0x19a),'modulePath':A?M(0x19d):M(0x18f),'isNamedExport':!![]});const G=f[M(0x1be)]({'pathParts':z[M(0x1bd)]('/')});await f[M(0x19b)]({'filePath':G+'.'+B,'importName':M(0x19a),'modulePath':A?M(0x19d):M(0x18f),'isNamedExport':!![]});}catch(H){Log[M(0x1bf)](H),process[M(0x199)](0x1);}},async function(){const N=a127L;console[N(0x1b5)](N(0x1c5));},a127f);export default a127f;
@@ -1 +1 @@
1
- function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x15b;let f=c[d];return f;},a128d(a,b);}const a128H=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d=parseInt(E(0x161))/0x1+parseInt(E(0x185))/0x2*(parseInt(E(0x193))/0x3)+parseInt(E(0x18a))/0x4*(-parseInt(E(0x166))/0x5)+-parseInt(E(0x18e))/0x6*(parseInt(E(0x19e))/0x7)+parseInt(E(0x192))/0x8*(-parseInt(E(0x169))/0x9)+-parseInt(E(0x19a))/0xa*(parseInt(E(0x183))/0xb)+parseInt(E(0x196))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xbc00c));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a128d;if(c){const e=c[F(0x167)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const G=a128d;return a128a[G(0x181)]()[G(0x16f)](G(0x18f))['toString']()[G(0x191)](a128a)['search']('(((.+)+)+)+$');});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';function a128c(){const K=['app-tests','checkbox','MATERIAL','/imports/ui/','Cleaning\x20up...','search','REACT','<Outlet/>','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','injectIntoFile','maka\x20g:k:m:f','basic-sticky-footer','basic-drawer','/imports/startup/client/templates','Box','-hook\x22>','join','kit/mui/frame/drawers/','force','checkMeteorPackage','@mui/material/Container','create','jsx','toString','baseDir','11vojSDu','.js','1001498rXwWHE','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','ssr','injectTemplateModule','tests','2337612FwbaUq','meteor','appName','session','10806gnTAfP','(((.+)+)+)+$','<div\x20id=\x22','constructor','240lDHHKs','9IwMoZD','injectImport','react','2897292hOAlZF','getFiles','maka:react-tracker','imports','3484330HQHtvl','kit/mui/frame/app-bars/','\x20/>\x0a','pathFromApp','826cTZdfF','template','engines','Container','<Outlet\x20/>','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','/imports/startup/lib/templates','dir','414576WfujNm','No\x20layouts\x20selected','error','<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>','getDirectories','5kxsmnR','apply','layouts','72855MzeJvy'];a128c=function(){return K;};return a128c();}Generator[a128H(0x17f)]({'name':'frame','aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':a128H(0x172),'validOpts':[a128H(0x168),a128H(0x182),a128H(0x160),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a128H(0x16c)],'client':ClientEngines[a128H(0x170)]},'examples':['maka\x20generate:kit:mui:frame',a128H(0x174)],'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 I=a128H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x17c)]||![],i='basic-app-bar',j=I(0x176),k=I(0x175),l=c[I(0x15b)][I(0x187)]===I(0x18b);await f[I(0x17d)]([I(0x18d),I(0x198)],{'shouldInstall':!![]});const m=d['findAppDirectory'](),n=a128e['join'](m,I(0x199),'ui',I(0x168)),o=d[I(0x165)](n),p=o['map'](z=>({'name':z,'value':z})),q=await Actions[I(0x16b)]({'message':I(0x186),'name':'layouts','choices':p});if(q['length']===0x0){Log['error'](I(0x162));return;}const r=b[I(0x182)]?I(0x16d)+b[I(0x182)]:'/imports/ui/components',s=g['pathFromApp']({'pathParts':[r,b[I(0x160)],kebabCase(i),kebabCase(i)]}),t=g[I(0x19d)]({'pathParts':[r,b['dir'],kebabCase(j),kebabCase(j)]}),u=g['pathFromApp']({'pathParts':[r,b['dir'],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x18c)])};await g[I(0x19f)]({'srcPath':I(0x19b)+i+I(0x184),'destPath':s+I(0x184),'framework':I(0x195),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x19f)]({'srcPath':I(0x17b)+j+'.js','destPath':t+I(0x184),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x19f)]({'srcPath':'kit/mui/frame/footers/'+k+'.js','destPath':u+I(0x184),'framework':'react','context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b['dir']+'/'+i+'/'+i;await g[I(0x188)](i,c,w);const x=''+r+b[I(0x160)]+'/'+j+'/'+j;await g[I(0x188)](j,c,x);const y=''+r+b[I(0x160)]+'/'+k+'/'+k;await g['injectTemplateModule'](k,c,y);for(const z of q){const A=d[I(0x197)](a128e[I(0x17a)](n,z),{'extensions':[I(0x180),'tsx'],'omit':[I(0x16a),I(0x189),'test']});for(const B of A){const C=a128e[I(0x17a)](n,z,B);await g[I(0x194)]({'filePath':C,'importName':I(0x178),'modulePath':'@mui/material/Box','isNamedExport':![]}),await g['injectImport']({'filePath':C,'importName':I(0x15c),'modulePath':I(0x17e),'isNamedExport':![]}),await g[I(0x194)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0x15f):I(0x177),'isNamedExport':!![]}),await g[I(0x173)]({'filePath':C,'content':'<'+pascalCase(i)+I(0x19c),'begin':[I(0x190)+z+'\x22>',I(0x190)+z+I(0x179)],'end':['<Outlet/>',I(0x15d)]}),await g[I(0x194)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?'/imports/startup/lib/templates':I(0x177),'isNamedExport':!![]}),await g[I(0x173)]({'filePath':C,'content':'<'+pascalCase(j)+I(0x19c),'begin':[I(0x190)+z+'\x22>',I(0x190)+z+I(0x179)],'end':['<Outlet/>',I(0x15d)]}),await g[I(0x173)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x19c),'begin':['<Outlet/>',I(0x15d)],'end':['</div>']}),await g[I(0x194)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?'/imports/startup/lib/templates':I(0x177),'isNamedExport':!![]}),await g['injectAroundString']({'filePath':C,'aboveContent':I(0x164),'belowContent':I(0x15e),'targetString':[I(0x171),I(0x15d)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x163)](D);}},async function(){const J=a128H;console['log'](J(0x16e));},a128f);
1
+ function a128c(){const K=['.js','/imports/ui/','frame','checkbox','dir','baseDir','105580qvDbZR','error','@mui/material/Box','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','<Outlet/>','getDirectories','tsx','24HLLsVV','/imports/ui/components','maka\x20g:k:m:f','Container','/imports/startup/lib/templates','pathFromApp','623374qRwVKn','force','@mui/material/Container','imports','10mIVvgu','injectImport','<Outlet\x20/>','join','apply','Cleaning\x20up...','3WeCKRT','toString','tests','search','995180GBpwRP','</div>','\x20/>\x0a','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','<div\x20id=\x22','1623384VsyIZV','meteor','kit/mui/frame/drawers/','/imports/startup/client/templates','test','length','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','basic-drawer','log','map','REACT','maka:react-tracker','injectIntoFile','2805784nRnLKW','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','basic-app-bar','-hook\x22>','app-tests','injectTemplateModule','getFiles','findAppDirectory','injectAroundString','template','(((.+)+)+)+$','3094281mxWOSh','appName','No\x20layouts\x20selected','layouts','kit/mui/frame/app-bars/','react','260039JkqTTT'];a128c=function(){return K;};return a128c();}const a128H=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d=-parseInt(E(0x1ee))/0x1+parseInt(E(0x1bc))/0x2*(-parseInt(E(0x1c6))/0x3)+-parseInt(E(0x1ca))/0x4+parseInt(E(0x1f5))/0x5*(parseInt(E(0x1fc))/0x6)+parseInt(E(0x1d0))/0x7+parseInt(E(0x1dd))/0x8+parseInt(E(0x1e8))/0x9*(parseInt(E(0x1c0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x2e7b3));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a128d;if(c){const e=c[F(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const G=a128d;return a128a[G(0x1c7)]()[G(0x1c9)]('(((.+)+)+)+$')[G(0x1c7)]()['constructor'](a128a)[G(0x1c9)](G(0x1e7));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a128d(a,b);}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':a128H(0x1f1),'aliases':['f'],'usage':a128H(0x1de),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a128H(0x1eb),a128H(0x1f4),a128H(0x1f3),a128H(0x1bd)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a128H(0x1da)]},'examples':['maka\x20generate:kit:mui:frame',a128H(0x1fe)],'description':a128H(0x1f8)},async function(a,b){const I=a128H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x1bd)]||![],i=I(0x1df),j=I(0x1d7),k='basic-sticky-footer',l=c['engines']['ssr']===I(0x1d1);await f['checkMeteorPackage'](['session',I(0x1db)],{'shouldInstall':!![]});const m=d[I(0x1e4)](),n=a128e[I(0x1c3)](m,I(0x1bf),'ui',I(0x1eb)),o=d[I(0x1fa)](n),p=o[I(0x1d9)](z=>({'name':z,'value':z})),q=await Actions[I(0x1f2)]({'message':I(0x1cd),'name':I(0x1eb),'choices':p});if(q[I(0x1d5)]===0x0){Log['error'](I(0x1ea));return;}const r=b[I(0x1f4)]?I(0x1f0)+b[I(0x1f4)]:I(0x1fd),s=g['pathFromApp']({'pathParts':[r,b[I(0x1f3)],kebabCase(i),kebabCase(i)]}),t=g[I(0x1bb)]({'pathParts':[r,b['dir'],kebabCase(j),kebabCase(j)]}),u=g[I(0x1bb)]({'pathParts':[r,b['dir'],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x1e9)])};await g[I(0x1e6)]({'srcPath':I(0x1ec)+i+I(0x1ef),'destPath':s+I(0x1ef),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':I(0x1d2)+j+'.js','destPath':t+I(0x1ef),'framework':I(0x1ed),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':'kit/mui/frame/footers/'+k+I(0x1ef),'destPath':u+I(0x1ef),'framework':I(0x1ed),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0x1f3)]+'/'+i+'/'+i;await g[I(0x1e2)](i,c,w);const x=''+r+b['dir']+'/'+j+'/'+j;await g[I(0x1e2)](j,c,x);const y=''+r+b[I(0x1f3)]+'/'+k+'/'+k;await g[I(0x1e2)](k,c,y);for(const z of q){const A=d[I(0x1e3)](a128e[I(0x1c3)](n,z),{'extensions':['jsx',I(0x1fb)],'omit':[I(0x1e1),I(0x1c8),I(0x1d4)]});for(const B of A){const C=a128e['join'](n,z,B);await g['injectImport']({'filePath':C,'importName':'Box','modulePath':I(0x1f7),'isNamedExport':![]}),await g[I(0x1c1)]({'filePath':C,'importName':I(0x1b9),'modulePath':I(0x1be),'isNamedExport':![]}),await g[I(0x1c1)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?'/imports/startup/lib/templates':I(0x1d3),'isNamedExport':!![]}),await g[I(0x1dc)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':[I(0x1cf)+z+'\x22>',I(0x1cf)+z+I(0x1e0)],'end':[I(0x1f9),I(0x1c2)]}),await g['injectImport']({'filePath':C,'importName':pascalCase(j),'modulePath':l?I(0x1ba):I(0x1d3),'isNamedExport':!![]}),await g[I(0x1dc)]({'filePath':C,'content':'<'+pascalCase(j)+I(0x1cc),'begin':[I(0x1cf)+z+'\x22>',I(0x1cf)+z+I(0x1e0)],'end':[I(0x1f9),I(0x1c2)]}),await g[I(0x1dc)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x1cc),'begin':[I(0x1f9),'<Outlet\x20/>'],'end':[I(0x1cb)]}),await g['injectImport']({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0x1ba):I(0x1d3),'isNamedExport':!![]}),await g[I(0x1e5)]({'filePath':C,'aboveContent':I(0x1d6),'belowContent':I(0x1ce),'targetString':['<Outlet/>',I(0x1c2)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x1f6)](D);}},async function(){const J=a128H;console[J(0x1d8)](J(0x1c5));},a128f);
@@ -1 +1 @@
1
- const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=-parseInt(g(0x1ea))/0x1+-parseInt(g(0x1ed))/0x2*(-parseInt(g(0x1e9))/0x3)+parseInt(g(0x1fa))/0x4+parseInt(g(0x1e8))/0x5*(-parseInt(g(0x201))/0x6)+parseInt(g(0x1fc))/0x7+parseInt(g(0x1fe))/0x8*(-parseInt(g(0x1df))/0x9)+parseInt(g(0x1f6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x5f880));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a[i(0x1f8)]()['search']('(((.+)+)+)+$')[i(0x1f8)]()[i(0x1f1)](a129a)[i(0x1ff)](i(0x1e0));});a129a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a129c(){const l=['maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','cfg','209738MDGvkT','No\x20MUI\x20kits\x20selected.\x20Exiting.','processAndRunGenerator','auth','constructor','getMakaProjectConfig','notice','Material-UI\x20Kit','Header,\x20Footer,\x20and\x20Drawer','3287570ouRzSq','kit:mui:frame','toString','findProjectDirectory','2274940oYFrdQ','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','1226421TctSXf','create','8kiWwEx','search','length','1749570JbRtgS','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','info','5759802vRpmhd','(((.+)+)+)+$','apply','includes','maka\x20g:kit:m','kitChoices','frame','mui','fsi','5GtebBB','15IEsBGj','274171SxYSJh'];a129c=function(){return l;};return a129c();}function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1de;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[a129j(0x1fd)]({'name':a129j(0x1e6),'aliases':['m'],'usage':a129j(0x1eb),'resourceNameRequired':![],'shortDesc':a129j(0x1f4),'validOpts':[''],'isPro':!![],'examples':[a129j(0x1e3)]},async function(){const k=a129j;try{Log[k(0x1de)](k(0x202)),Log[k(0x1f3)]('\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(0x1fb),'name':k(0x1e4),'choices':[{'name':k(0x1f5),'value':k(0x1e5)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':'auth'}]}),b=this[k(0x1e7)][k(0x1f9)](),c=this[k(0x1ec)][k(0x1f2)]();a[k(0x1e2)](k(0x1e5))&&await a129e['processAndRunGenerator'](k(0x1f7),[],{'force':!![],'cwd':b,'config':c});a[k(0x1e2)](k(0x1f0))&&await a129e[k(0x1ef)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0x200)]===0x0){Log[k(0x1de)](k(0x1ee));return;}}catch(d){Log['error'](d),process['exit'](0x1);}},async function(){},a129f);export default MuiGen;
1
+ function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xbd;let f=c[d];return f;},a129d(a,b);}const a129i=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0xc7))/0x1*(parseInt(g(0xdd))/0x2)+-parseInt(g(0xbd))/0x3*(parseInt(g(0xc5))/0x4)+parseInt(g(0xca))/0x5*(-parseInt(g(0xd2))/0x6)+-parseInt(g(0xd7))/0x7+parseInt(g(0xd5))/0x8+-parseInt(g(0xcc))/0x9+parseInt(g(0xce))/0xa*(parseInt(g(0xc3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x22001));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const h=a129d;return a129a[h(0xd3)]()['search'](h(0xcd))[h(0xd3)]()['constructor'](a129a)[h(0xd0)]('(((.+)+)+)+$');});a129a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';function a129c(){const k=['16288IHXdti','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','293IdBWSX','Header,\x20Footer,\x20and\x20Drawer','frame','10SXMEXh','exit','228861vxioQm','(((.+)+)+)+$','324590TnERrp','cfg','search','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','715620hXgSZk','toString','info','856344YaQnTc','length','1942759KNWtVD','Material-UI\x20Kit','processAndRunGenerator','checkbox','kit:mui:frame','maka\x20g:kit:m','1676NIAytV','93pGzUcz','notice','create','\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','mui','includes','154nIBKyc','auth'];a129c=function(){return k;};return a129c();}const MuiGen=Generator[a129i(0xbf)]({'name':a129i(0xc1),'aliases':['m'],'usage':a129i(0xd1),'resourceNameRequired':![],'shortDesc':a129i(0xd8),'validOpts':[''],'isPro':!![],'examples':[a129i(0xdc)]},async function(){const j=a129i;try{Log[j(0xd4)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[j(0xbe)](j(0xc0));const a=await Actions[j(0xda)]({'message':j(0xc6),'name':'kitChoices','choices':[{'name':j(0xc8),'value':j(0xc9)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':j(0xc4)}]}),b=this['fsi']['findProjectDirectory'](),c=this[j(0xcf)]['getMakaProjectConfig']();a[j(0xc2)](j(0xc9))&&await a129e[j(0xd9)](j(0xdb),[],{'force':!![],'cwd':b,'config':c});a[j(0xc2)](j(0xc4))&&await a129e['processAndRunGenerator']('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[j(0xd6)]===0x0){Log[j(0xd4)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}}catch(d){Log['error'](d),process[j(0xcb)](0x1);}},async function(){},a129f);export default MuiGen;
@@ -1 +1 @@
1
- function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x178;let f=c[d];return f;},a130d(a,b);}const a130s=a130d;function a130c(){const u=['(((.+)+)+)+$','447083zgGohH','21125912YgiazD','css','fileName','hook/hook.js','split','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','2219316eTvOyg','assign','pathFromApp','ssr','40VDVYnc','constructor','withHooks','toString','installNpmPackage','className','warn','4214588AngCwv','withHook','includes','maka\x20g:l\x20web/safari','template','.app-tests.js','checkNpmPackage','engines','/imports/ui/layouts','theme','import\x20\x27./','create','injectAtBeginningOfFile','apply','none','features','search','dir','resourceName','template/template.css','673692NZiYXj','findAppDirectory','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','976430jcfSLj','findProjectDirectory','client','ramda','maka\x20g:layout\x20mobile/iPhone8','injectTemplateModule','test','.js','component/component.js','string','943422fdsDUF','setTemplate','react'];a130c=function(){return u;};return a130c();}(function(a,b){const p=a130d,c=a();while(!![]){try{const d=parseInt(p(0x17c))/0x1+-parseInt(p(0x1a5))/0x2+parseInt(p(0x178))/0x3+-parseInt(p(0x183))/0x4+parseInt(p(0x187))/0x5*(-parseInt(p(0x1a2))/0x6)+-parseInt(p(0x18e))/0x7+parseInt(p(0x17d))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xd1b20));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a130d;if(c){const e=c[q(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const r=a130d;return a130a[r(0x18a)]()[r(0x19e)](r(0x17b))[r(0x18a)]()[r(0x188)](a130a)[r(0x19e)](r(0x17b));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator[a130s(0x199)]({'name':'layout','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':['withHook'],'mustBeInMakaProject':!![],'examples':[a130s(0x1a9),a130s(0x191)]},async function(a,b){const t=a130s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0x196),i=d[t(0x1a3)](),j=g[t(0x185)]({'pathParts':[h,b[t(0x19f)],kebabCase(b['resourceName']),kebabCase(b[t(0x1a0)])]});typeof c[t(0x192)][t(0x1ab)]==='string'&&e[t(0x179)](t(0x1ab),c['template'][t(0x1ab)]);typeof c[t(0x192)][t(0x17e)]==='string'&&e[t(0x179)](t(0x17e),c[t(0x192)][t(0x17e)]);typeof c[t(0x192)]['js']===t(0x1ae)&&e[t(0x179)]('js',c[t(0x192)]['js']);const k=b['_']?b['_'][0x0][t(0x181)](':')[0x1]:![],l=b['_']&&aliases[t(0x190)](k);l&&!f[t(0x194)](t(0x1a8))&&(Log[t(0x18d)](t(0x182)),f[t(0x18b)]('ramda',{'cwd':i}));if(l&&!f[t(0x194)](t(0x17a))){Log['warn'](t(0x1a4));return;}const m={'name':pascalCase(b['resourceName']),'myPath':a130e['relative'](d[t(0x1a6)](),j),'cssCaseName':kebabCase(b[t(0x1a0)]),'className':pascalCase(b[t(0x1a0)]),'camelCaseName':camelCase(b[t(0x1a0)]),'fileName':kebabCase(b[t(0x1a0)]),'graphql':c[t(0x195)]['graphql'],'features':c['features'],'client':c['engines'][t(0x1a7)],'api':c[t(0x195)]['api'],'ssr':c[t(0x195)][t(0x186)],'test':c[t(0x195)][t(0x1ab)],'theme':c[t(0x195)][t(0x197)],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0x19d)]['withTranslations']};c[t(0x19d)]?.[t(0x189)]||b[t(0x18f)]?await g['template']({'srcPath':t(0x180),'destPath':j+'.js','framework':t(0x17a),'context':m,'config':c}):await g[t(0x192)]({'srcPath':t(0x1ad),'destPath':j+t(0x1ac),'framework':t(0x17a),'context':m,'config':c});c[t(0x195)]['test']!==t(0x19c)&&await g['template']({'srcPath':'test/test.js','destPath':j+t(0x193),'framework':t(0x17a),'context':m,'config':c});c[t(0x192)][t(0x17e)]&&(await g['template']({'srcPath':t(0x1a1),'destPath':j+'.css','context':Object[t(0x184)]({},m,{'className':kebabCase(b['resourceName'])}),'config':c}),await g[t(0x19a)]({'filePath':j+'.'+c[t(0x195)]['js'],'content':t(0x198)+m['fileName']+'.'+c[t(0x195)][t(0x17e)]+'\x27;'}));const n=b[t(0x19f)]?'/'+b[t(0x19f)]+'/':'/',o=''+h+n+m[t(0x17f)]+'/'+m[t(0x17f)];await g[t(0x1aa)](m[t(0x18c)],c,o);});
1
+ function a130c(){const u=['dir','pathFromApp','test/test.js','.js','6540368numDno','toString','features','maka\x20g:layout\x20mobile/iPhone8','relative','32791300bOBWTN','/imports/ui/layouts','className','injectTemplateModule','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','layout','ssr','includes','warn','graphql','create','api','none','test','withHook','react','maka\x20g:l\x20web/safari','withHooks','client','template/template.css','installNpmPackage','string','assign','findProjectDirectory','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','fileName','resourceName','checkNpmPackage','css','apply','ramda','hook/hook.js','37266KWRudO','component/component.js','7149155PWqcyd','6GiMsCm','setTemplate','84021JIAoIR','9JMEjNy','.app-tests.js','808490KymuEy','template','(((.+)+)+)+$','5108124BqFhdj','constructor','636MoBNud','withTranslations','split','Scaffolding\x20for\x20a\x20React\x20Layout.','engines'];a130c=function(){return u;};return a130c();}const a130s=a130d;(function(a,b){const p=a130d,c=a();while(!![]){try{const d=-parseInt(p(0x107))/0x1+-parseInt(p(0xd4))/0x2*(-parseInt(p(0xcf))/0x3)+-parseInt(p(0xd7))/0x4+-parseInt(p(0xce))/0x5+-parseInt(p(0xd9))/0x6*(parseInt(p(0xd1))/0x7)+-parseInt(p(0xe2))/0x8*(-parseInt(p(0xd2))/0x9)+parseInt(p(0xe7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xd8f90));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a130d;if(c){const e=c[q(0x104)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const r=a130d;return a130a[r(0xe3)]()['search'](r(0xd6))[r(0xe3)]()[r(0xd8)](a130a)['search'](r(0xd6));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xcd;let f=c[d];return f;},a130d(a,b);}const aliases=['l'];Generator[a130s(0xf1)]({'name':a130s(0xec),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a130s(0xdc),'validOpts':[a130s(0xf5)],'mustBeInMakaProject':!![],'examples':[a130s(0xe5),a130s(0xf7)]},async function(a,b){const t=a130s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0xe8),i=d['findAppDirectory'](),j=g[t(0xdf)]({'pathParts':[h,b[t(0xde)],kebabCase(b[t(0x101)]),kebabCase(b[t(0x101)])]});typeof c[t(0xd5)][t(0xf4)]===t(0xfc)&&e[t(0xd0)](t(0xf4),c['template'][t(0xf4)]);typeof c[t(0xd5)][t(0x103)]===t(0xfc)&&e[t(0xd0)](t(0x103),c[t(0xd5)][t(0x103)]);typeof c[t(0xd5)]['js']===t(0xfc)&&e[t(0xd0)]('js',c[t(0xd5)]['js']);const k=b['_']?b['_'][0x0][t(0xdb)](':')[0x1]:![],l=b['_']&&aliases[t(0xee)](k);l&&!f['checkNpmPackage'](t(0x105))&&(Log[t(0xef)](t(0xeb)),f[t(0xfb)](t(0x105),{'cwd':i}));if(l&&!f[t(0x102)](t(0xf6))){Log[t(0xef)](t(0xff));return;}const m={'name':pascalCase(b[t(0x101)]),'myPath':a130e[t(0xe6)](d[t(0xfe)](),j),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[t(0x101)]),'camelCaseName':camelCase(b[t(0x101)]),'fileName':kebabCase(b[t(0x101)]),'graphql':c[t(0xdd)][t(0xf0)],'features':c[t(0xe4)],'client':c['engines'][t(0xf9)],'api':c[t(0xdd)][t(0xf2)],'ssr':c[t(0xdd)][t(0xed)],'test':c[t(0xdd)][t(0xf4)],'theme':c['engines']['theme'],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0xe4)][t(0xda)]};c[t(0xe4)]?.[t(0xf8)]||b[t(0xf5)]?await g[t(0xd5)]({'srcPath':t(0x106),'destPath':j+'.js','framework':t(0xf6),'context':m,'config':c}):await g[t(0xd5)]({'srcPath':t(0xcd),'destPath':j+t(0xe1),'framework':t(0xf6),'context':m,'config':c});c['engines']['test']!==t(0xf3)&&await g[t(0xd5)]({'srcPath':t(0xe0),'destPath':j+t(0xd3),'framework':'react','context':m,'config':c});c['template'][t(0x103)]&&(await g['template']({'srcPath':t(0xfa),'destPath':j+'.css','context':Object[t(0xfd)]({},m,{'className':kebabCase(b[t(0x101)])}),'config':c}),await g['injectAtBeginningOfFile']({'filePath':j+'.'+c['engines']['js'],'content':'import\x20\x27./'+m[t(0x100)]+'.'+c[t(0xdd)][t(0x103)]+'\x27;'}));const n=b[t(0xde)]?'/'+b[t(0xde)]+'/':'/',o=''+h+n+m[t(0x100)]+'/'+m[t(0x100)];await g[t(0xea)](m[t(0xe9)],c,o);});
@@ -1 +1 @@
1
- const a131i=a131d;function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1db;let f=c[d];return f;},a131d(a,b);}(function(a,b){const f=a131d,c=a();while(!![]){try{const d=-parseInt(f(0x1ea))/0x1+-parseInt(f(0x1e3))/0x2*(parseInt(f(0x1e5))/0x3)+parseInt(f(0x1e1))/0x4*(parseInt(f(0x1de))/0x5)+parseInt(f(0x1db))/0x6+-parseInt(f(0x1eb))/0x7*(parseInt(f(0x1ee))/0x8)+parseInt(f(0x1f1))/0x9*(parseInt(f(0x1e7))/0xa)+parseInt(f(0x1dc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xc48c8));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a[h(0x1e2)]()[h(0x1ed)](h(0x1ef))[h(0x1e2)]()[h(0x1df)](a131a)[h(0x1ed)](h(0x1ef));});a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a131i(0x1f0),'aliases':['g'],'usage':a131i(0x1ec),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a131i(0x1e4),'examples':[a131i(0x1e0),a131i(0x1e8),'maka\x20g:template\x20todos/todo_item','maka\x20g:package\x20package:name','maka\x20g:route\x20todos/edit',a131i(0x1e9),a131i(0x1dd)]},async function(){});export default MakaGen;function a131c(){const j=['generate','269685LUWYeD','8776614bleaJE','10625846MBkYtt','maka\x20g:dbc\x20geoserver\x20--type=pgsql','5kUSXbS','constructor','maka\x20generate:scaffold\x20todos','2299232gwvaGo','toString','12dADdEu','Scaffold\x20various\x20parts\x20of\x20your\x20application','401508XLsMSH','apply','40RfXQfT','maka\x20g:scaffold\x20todos','maka\x20g:api\x20trucks','1262772KCweFg','7eMjtbu','maka\x20{generate,\x20g}:<generator>\x20<name>','search','2020568vUrPEq','(((.+)+)+)+$'];a131c=function(){return j;};return a131c();}
1
+ const a131i=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=parseInt(f(0x150))/0x1+parseInt(f(0x14d))/0x2*(-parseInt(f(0x156))/0x3)+parseInt(f(0x14e))/0x4*(parseInt(f(0x15e))/0x5)+-parseInt(f(0x158))/0x6+parseInt(f(0x14f))/0x7*(-parseInt(f(0x14c))/0x8)+-parseInt(f(0x152))/0x9*(-parseInt(f(0x159))/0xa)+parseInt(f(0x149))/0xb*(parseInt(f(0x14a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xde476));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a['toString']()[h(0x14b)](h(0x155))['toString']()['constructor'](a131a)[h(0x14b)](h(0x155));});a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a131i(0x15f),'aliases':['g'],'usage':a131i(0x160),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a131i(0x153),'examples':[a131i(0x15c),a131i(0x15d),a131i(0x154),a131i(0x157),a131i(0x15a),a131i(0x151),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},async function(){});function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x149;let f=c[d];return f;},a131d(a,b);}export default MakaGen;function a131c(){const j=['generate','maka\x20{generate,\x20g}:<generator>\x20<name>','13557863SyIpZT','12iPKuJQ','search','456gCdxPA','12KtyFWX','64hOjlMV','150521ErePnM','32334yUhxDB','maka\x20g:api\x20trucks','45WSZkxU','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:template\x20todos/todo_item','(((.+)+)+)+$','215949YnEPBZ','maka\x20g:package\x20package:name','1600122TSwvVq','2701830ivgPmv','maka\x20g:route\x20todos/edit','apply','maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos','68415YOlKqp'];a131c=function(){return j;};return a131c();}
@@ -1 +1 @@
1
- const a132n=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x179))/0x1*(-parseInt(k(0x177))/0x2)+parseInt(k(0x188))/0x3+-parseInt(k(0x199))/0x4*(-parseInt(k(0x176))/0x5)+-parseInt(k(0x17f))/0x6*(-parseInt(k(0x18b))/0x7)+-parseInt(k(0x185))/0x8*(-parseInt(k(0x192))/0x9)+-parseInt(k(0x18d))/0xa+parseInt(k(0x18a))/0xb*(-parseInt(k(0x195))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x20202));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0x180)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0x18c)]()['search'](m(0x190))[m(0x18c)]()['constructor'](a132a)[m(0x17d)]('(((.+)+)+)+$');});a132a();function a132c(){const p=['maka:check','dir','pkg','template','13592bddiYp','engines','index.','476901OPfoHt','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','563827YyeRuv','59017qfrfUe','toString','439800NgLyta','maka\x20{generate,\x20g}:{method,\x20m}\x20name','create','(((.+)+)+)+$','imports','414FVAerq','resourceName','maka\x20g:method\x20todos','96JWJbPO','checkMeteorPackage','tsx','appPathPrefix','4012mMpXPX','methods','import\x20\x27./methods','675gqWYAx','308158YyvdEv','scaffold','1tUEwrH','pathFromApp','projectConfig','method','search','startup','42rbMTVO','apply'];a132c=function(){return p;};return a132c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x174;let f=c[d];return f;},a132d(a,b);}Generator[a132n(0x18f)]({'name':a132n(0x17c),'aliases':['m'],'usage':a132n(0x18e),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a132n(0x189),'validOpts':[a132n(0x182)],'examples':[a132n(0x194)]},async function(a,b){const o=a132n;try{const c=this[o(0x17b)],d=b[o(0x182)]?'/'+b[o(0x182)]+'/':'/',f=kebabCase(b[o(0x193)]),g={'name':b['resourceName'],'fileName':f,'className':pascalCase(b[o(0x193)]),'camelCase':camelCase(b[o(0x193)]),'noRename':!![]};let h='js';c['engines']['js']===o(0x197)&&(h='ts');await this[o(0x183)][o(0x196)]([o(0x181),'ddp-rate-limiter','mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x178)][o(0x184)]({'srcPath':'method/method.js','destPath':this[o(0x178)][o(0x17a)]({'pathParts':['imports',o(0x17e),b['appPathPrefix'],o(0x174),d,f+'-rpc-method.'+h]}),'context':g,'config':c});const i=this['scaffold'][o(0x17a)]({'pathParts':[o(0x191),o(0x17e),b[o(0x198)],o(0x187)+c[o(0x186)]['js']]});await this[o(0x178)]['injectAtEndOfFile']({'filePath':i,'content':o(0x175)+d+f+'-rpc-method\x27;'});}catch(j){Log['error'](j);}});
1
+ function a132c(){const p=['apply','11187XTBAtL','resourceName','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','43432884XlwmSN','maka\x20{generate,\x20g}:{method,\x20m}\x20name','projectConfig','(((.+)+)+)+$','checkMeteorPackage','index.','template','3992045ReNpUa','12603304jaYNUH','5582946MoTCSf','12526878YszUIt','-rpc-method\x27;','maka:check','ddp-rate-limiter','import\x20\x27./methods','scaffold','pathFromApp','appPathPrefix','create','startup','61pYWsTk','engines','tsx','1388dNtVUX','35458ZBAYWK','constructor','method','imports','method/method.js'];a132c=function(){return p;};return a132c();}const a132n=a132d;function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a132d(a,b);}(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x1d0))/0x1*(parseInt(k(0x1d4))/0x2)+-parseInt(k(0x1da))/0x3*(parseInt(k(0x1d3))/0x4)+-parseInt(k(0x1e4))/0x5+-parseInt(k(0x1e6))/0x6+parseInt(k(0x1e7))/0x7+-parseInt(k(0x1e5))/0x8+parseInt(k(0x1dd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xe4705));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a['toString']()['search'](m(0x1e0))['toString']()[m(0x1d5)](a132a)['search']('(((.+)+)+)+$');});a132a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a132n(0x1ce)]({'name':a132n(0x1d6),'aliases':['m'],'usage':a132n(0x1de),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a132n(0x1dc),'validOpts':['dir'],'examples':['maka\x20g:method\x20todos']},async function(a,b){const o=a132n;try{const c=this[o(0x1df)],d=b['dir']?'/'+b['dir']+'/':'/',f=kebabCase(b[o(0x1db)]),g={'name':b[o(0x1db)],'fileName':f,'className':pascalCase(b[o(0x1db)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let h='js';c['engines']['js']===o(0x1d2)&&(h='ts');await this['pkg'][o(0x1e1)]([o(0x1c8),o(0x1c9),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x1cb)][o(0x1e3)]({'srcPath':o(0x1d8),'destPath':this[o(0x1cb)][o(0x1cc)]({'pathParts':[o(0x1d7),'startup',b[o(0x1cd)],'methods',d,f+'-rpc-method.'+h]}),'context':g,'config':c});const i=this[o(0x1cb)][o(0x1cc)]({'pathParts':[o(0x1d7),o(0x1cf),b[o(0x1cd)],o(0x1e2)+c[o(0x1d1)]['js']]});await this['scaffold']['injectAtEndOfFile']({'filePath':i,'content':o(0x1ca)+d+f+o(0x1c7)});}catch(j){Log['error'](j);}});
@@ -1 +1 @@
1
- const a133p=a133d;function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xc2;let f=c[d];return f;},a133d(a,b);}function a133c(){const r=['scaffold','create','layout','20262qRwPvP','pathFromAppWithNoReWrite','fsi','350310DVUczx','engines','.js','dir','theme','search','server','1106iJuwao','template','package/','29078eRIjkG','268695euvqZu','features','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','tests/client','apply','package/package.js','539768yJgXbX','4vndRXx','hasOwnProperty','package','9bZmLME','component','lib','1216410hjpFGA','585336rgzZOK','packages','33KPvKyI','toString','client','template/template.js','(((.+)+)+)+$','31vMmEBc','resourceName','noRename','ssr','package.js','pathFromApp'];a133c=function(){return r;};return a133c();}(function(a,b){const m=a133d,c=a();while(!![]){try{const d=-parseInt(m(0xd0))/0x1*(parseInt(m(0xe6))/0x2)+parseInt(m(0xc8))/0x3*(parseInt(m(0xc2))/0x4)+parseInt(m(0xe7))/0x5+-parseInt(m(0xd9))/0x6*(-parseInt(m(0xe3))/0x7)+-parseInt(m(0xed))/0x8*(-parseInt(m(0xc5))/0x9)+parseInt(m(0xdc))/0xa*(-parseInt(m(0xcb))/0xb)+parseInt(m(0xc9))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x87106));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0xcc)]()[o(0xe1)](o(0xcf))[o(0xcc)]()['constructor'](a133a)['search'](o(0xcf));});a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a133p(0xd7)]({'name':a133p(0xc4),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','mustBeInMakaProject':!![],'shortDesc':a133p(0xe9),'validOpts':[a133p(0xdf)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const q=a133p,c=kebabCase(b['resourceName']),d=b['dir']?'/'+b[q(0xdf)]+'/':'/',e=this[q(0xd6)][q(0xd5)]({'pathParts':[q(0xca),d,c]}),f=this[q(0xd6)][q(0xda)]({'pathParts':['packages',d,c,q(0xd4)]}),g=this['projectConfig'],h={'name':kebabCase(b[q(0xd1)]),'myPath':a133e['relative'](this[q(0xdb)]['findProjectDirectory'](),e),'cssCaseName':kebabCase(b[q(0xd1)]),'className':pascalCase(b[q(0xd1)]),'camelCaseName':camelCase(b[q(0xd1)]),'fileName':c,'client':g[q(0xdd)][q(0xcd)],'graphql':g[q(0xdd)]['graphql'],'ssr':g[q(0xdd)][q(0xd3)],'isComponent':b[q(0xc3)](q(0xc6)),'isLayout':b[q(0xc3)](q(0xd8)),'isStore':b[q(0xc3)]('store'),'features':g[q(0xe8)],'noRename':!![],'theme':g[q(0xdd)][q(0xe0)]};await this['scaffold'][q(0xe4)]({'srcPath':q(0xec),'destPath':f,'context':h,'config':g}),h[q(0xd2)]=![];const i=e+'/client/'+c+q(0xde);await this[q(0xd6)][q(0xe4)]({'srcPath':q(0xce),'destPath':i,'context':h,'config':g});const j=[q(0xc7),q(0xe2),q(0xea),'tests/server'];for(const k of j){const l=e+'/'+k+'/'+c+q(0xde);await this[q(0xd6)]['template']({'srcPath':q(0xe5)+k+'/package.js','destPath':l,'context':h,'config':g});}});
1
+ function a133c(){const r=['package.js','501839qEUmMl','relative','203690JxIFhd','noRename','findProjectDirectory','2421TxTVdP','engines','theme','template','apply','.js','6KtuCco','tests/server','/client/','5262uYUJRz','features','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','resourceName','294248xAAtrv','(((.+)+)+)+$','hasOwnProperty','scaffold','template/template.js','1375410lOCXHs','dir','toString','store','search','layout','constructor','component','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','client','2887536UhQGpp','package','lib','/package.js','27190NUcpmM','fsi','1120bAoMBj','tests/client','package/package.js','ssr','graphql','projectConfig'];a133c=function(){return r;};return a133c();}const a133p=a133d;function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x8e;let f=c[d];return f;},a133d(a,b);}(function(a,b){const m=a133d,c=a();while(!![]){try{const d=-parseInt(m(0x93))/0x1+parseInt(m(0xaa))/0x2+-parseInt(m(0x9e))/0x3*(parseInt(m(0xa5))/0x4)+-parseInt(m(0x95))/0x5+-parseInt(m(0xa1))/0x6*(-parseInt(m(0xba))/0x7)+-parseInt(m(0xb4))/0x8+parseInt(m(0x98))/0x9*(parseInt(m(0xb8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x7c379));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a['toString']()[o(0xae)](o(0xa6))[o(0xac)]()[o(0xb0)](a133a)[o(0xae)]('(((.+)+)+)+$');});a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':a133p(0xb5),'aliases':['p'],'usage':a133p(0xa3),'mustBeInMakaProject':!![],'shortDesc':a133p(0xb2),'validOpts':[a133p(0xab)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const q=a133p,c=kebabCase(b['resourceName']),d=b['dir']?'/'+b['dir']+'/':'/',e=this[q(0xa8)]['pathFromApp']({'pathParts':['packages',d,c]}),f=this[q(0xa8)]['pathFromAppWithNoReWrite']({'pathParts':['packages',d,c,q(0x92)]}),g=this[q(0x91)],h={'name':kebabCase(b[q(0xa4)]),'myPath':a133e[q(0x94)](this[q(0xb9)][q(0x97)](),e),'cssCaseName':kebabCase(b[q(0xa4)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xa4)]),'fileName':c,'client':g[q(0x99)][q(0xb3)],'graphql':g[q(0x99)][q(0x90)],'ssr':g['engines'][q(0x8f)],'isComponent':b[q(0xa7)](q(0xb1)),'isLayout':b[q(0xa7)](q(0xaf)),'isStore':b[q(0xa7)](q(0xad)),'features':g[q(0xa2)],'noRename':!![],'theme':g[q(0x99)][q(0x9a)]};await this['scaffold'][q(0x9b)]({'srcPath':q(0x8e),'destPath':f,'context':h,'config':g}),h[q(0x96)]=![];const i=e+q(0xa0)+c+q(0x9d);await this[q(0xa8)][q(0x9b)]({'srcPath':q(0xa9),'destPath':i,'context':h,'config':g});const j=[q(0xb6),'server',q(0xbb),q(0x9f)];for(const k of j){const l=e+'/'+k+'/'+c+q(0x9d);await this[q(0xa8)][q(0x9b)]({'srcPath':'package/'+k+q(0xb7),'destPath':l,'context':h,'config':g});}});