@maka/maka-cli 5.0.13 → 5.0.14

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 +2 -3
  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/tool.js +1 -1
  144. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  145. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -0
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -0
  157. package/bundle/obf/src/tools/options/options.class.js +1 -1
  158. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -0
  159. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  160. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -0
  161. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  162. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  164. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  166. package/package.json +2 -3
  167. package/bundle/obf/src/commands/patreon.js +0 -1
@@ -1 +1 @@
1
- const a114l=a114d;(function(a,b){const i=a114d,c=a();while(!![]){try{const d=parseInt(i(0x14d))/0x1+parseInt(i(0x161))/0x2+-parseInt(i(0x150))/0x3*(parseInt(i(0x149))/0x4)+-parseInt(i(0x158))/0x5+-parseInt(i(0x14b))/0x6+-parseInt(i(0x14f))/0x7+parseInt(i(0x152))/0x8*(parseInt(i(0x15b))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xd55d3));function a114c(){const o=['toString','local','config','appName','isDocker','909082hyczIL','apply','search','fsi','maka\x20g:config\x20production','(((.+)+)+)+$','Generate\x20configuration\x20settings.','916vbGjNs','create','3748224JllEQB','config/settings.json','1637787kkACGM','getMakaProjectConfig','9090571iYfKpd','17742HYuokd','error','9623816XwibuN','pathFromProject','development','ubuntu','settings.json','production','7748285dCjCDH','template','resourceName','27onLSXt'];a114c=function(){return o;};return a114c();}const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a114d;if(c){const e=c[j(0x162)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const k=a114d;return a114a[k(0x15c)]()[k(0x163)](k(0x147))[k(0x15c)]()['constructor'](a114a)['search'](k(0x147));});function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x145;let f=c[d];return f;},a114d(a,b);}a114a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a114l(0x14a)]({'name':a114l(0x15e),'usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':a114l(0x148),'validOpts':['isDocker'],'examples':[a114l(0x146)]},async function(a,b){const m=a114l;try{const c=this[m(0x145)][m(0x14e)]();await this[m(0x145)]['withValue'](c,async()=>{const n=m,d={'app':c[n(0x15f)],'appFileCase':paramCase(c[n(0x15f)]),'name':pascalCase(b[n(0x15a)]),'fileName':paramCase(b[n(0x15a)]),'camelCase':camelCase(b[n(0x15a)]),'userName':n(0x155),'isDocker':b[n(0x160)]};let e=b['resourceName'];if(e==='dev')e=n(0x154);else e==='prod'&&(e=n(0x157));const f=this[n(0x145)][n(0x153)]({'pathParts':[n(0x15e),e,n(0x156)]});await this['fsi'][n(0x159)]({'srcPath':n(0x14c),'destPath':f,'context':d,'config':c});if(e!==n(0x15d)){const g=this['fsi']['pathFromProject']({'pathParts':[n(0x15e),e,'pm2.config.js']});await this['fsi'][n(0x159)]({'srcPath':'config/pm2.config.js','destPath':g,'context':{'app':c[n(0x15f)],'isDocker':b[n(0x160)]||![]},'config':c});}if(e==='local'){const h=this[n(0x145)][n(0x153)]({'pathParts':[n(0x15e),e,'process.env']});await this[n(0x145)][n(0x159)]({'srcPath':'config/process.env','destPath':h,'context':d,'config':c});}});}catch(d){Log[m(0x151)](d);}});
1
+ const a113m=a113d;(function(a,b){const j=a113d,c=a();while(!![]){try{const d=-parseInt(j(0x186))/0x1+parseInt(j(0x185))/0x2+-parseInt(j(0x18b))/0x3*(parseInt(j(0x190))/0x4)+parseInt(j(0x17c))/0x5*(-parseInt(j(0x187))/0x6)+-parseInt(j(0x177))/0x7+parseInt(j(0x18c))/0x8*(-parseInt(j(0x18e))/0x9)+parseInt(j(0x184))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x84571));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a113d;if(c){const e=c[k(0x171)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const l=a113d;return a113a[l(0x16c)]()[l(0x188)]('(((.+)+)+)+$')[l(0x16c)]()[l(0x175)](a113a)[l(0x188)](l(0x191));});function a113c(){const o=['35INSWNm','fsi','pm2.config.js','config','config/process.env','development','appName','config/settings.json','36327200DHXuTR','35400syKOKd','342134miVPHd','746904AkXzCD','search','prod','local','521067scnAmm','37792WqVsKb','dev','1143KQGYAr','template','8tkeZzq','(((.+)+)+)+$','production','toString','maka\x20g:config\x20production','cfg','resourceName','scaffold','apply','config/pm2.config.js','ubuntu','error','constructor','getMakaProjectConfig','6632549UZVWiR','settings.json','isDocker','pathFromProject','maka\x20{generate,\x20g}:{config}\x20<name>'];a113c=function(){return o;};return a113c();}function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x16c;let f=c[d];return f;},a113d(a,b);}a113a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':'config','usage':a113m(0x17b),'shortDesc':'Generate\x20configuration\x20settings.','validOpts':['isDocker'],'examples':[a113m(0x16d)]},async function(a,b){const n=a113m;try{const c=await this[n(0x16e)][n(0x176)](),d={'app':c['appName'],'appFileCase':paramCase(c[n(0x182)]),'name':pascalCase(b['resourceName']),'fileName':paramCase(b[n(0x16f)]),'camelCase':camelCase(b[n(0x16f)]),'userName':n(0x173),'isDocker':b[n(0x179)]};let e=b[n(0x16f)];if(e===n(0x18d))e=n(0x181);else e===n(0x189)&&(e=n(0x192));const f=this['fsi'][n(0x17a)]({'pathParts':[n(0x17f),e,n(0x178)]});await this[n(0x170)][n(0x18f)]({'srcPath':n(0x183),'destPath':f,'context':d,'config':c});if(e!==n(0x18a)){const g=this[n(0x17d)][n(0x17a)]({'pathParts':[n(0x17f),e,n(0x17e)]});await this[n(0x170)][n(0x18f)]({'srcPath':n(0x172),'destPath':g,'context':{'app':c[n(0x182)],'isDocker':b[n(0x179)]||![]},'config':c});}if(e===n(0x18a)){const h=this[n(0x17d)]['pathFromProject']({'pathParts':[n(0x17f),e,'process.env']});await this[n(0x170)][n(0x18f)]({'srcPath':n(0x180),'destPath':h,'context':d,'config':c});}}catch(i){Log[n(0x174)](i);}});
@@ -1 +1 @@
1
- const a115l=a115d;(function(a,b){const i=a115d,c=a();while(!![]){try{const d=parseInt(i(0x182))/0x1+-parseInt(i(0x18f))/0x2+-parseInt(i(0x16d))/0x3+parseInt(i(0x173))/0x4+parseInt(i(0x16a))/0x5+-parseInt(i(0x170))/0x6+parseInt(i(0x17c))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xa0cab));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a115d;if(c){const e=c[j(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const k=a115d;return a115a[k(0x18d)]()[k(0x186)](k(0x18a))[k(0x18d)]()['constructor'](a115a)[k(0x186)](k(0x18a));});a115a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a115c(){const o=['error','(((.+)+)+)+$','better-sqlite3','server','toString','-dbc\x27;','975106LwloCn','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:dbc\x20azure\x20--type=mssql','checkNpmPackage','980600KnLlTT','type','dbc','3156927XYzLDZ','import\x20\x27./register-','tsx','3129216naSrPH','-dbc.','injectAtEndOfFile','1212304aJSauL','fsi','dir','pathFromApp','pgsql','mssql','dbc/conn.js','imports','startup','6556235vfSJwk','resourceName','withValue','dbc/register-dbc.js','engines','conn.','1284200FhNbyn','getMakaProjectConfig','apply','sqlite','search','create','template'];a115c=function(){return o;};return a115c();}function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x167;let f=c[d];return f;},a115d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a115l(0x187)]({'name':a115l(0x16c),'usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':[a115l(0x175)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a115l(0x16b),'values':['pgsql','mssql',a115l(0x185)]}],'examples':[a115l(0x167),a115l(0x168),'maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const m=a115l;try{const c=await this[m(0x174)][m(0x183)](),d=paramCase(b['resourceName']),f={'name':pascalCase(b['resourceName']),'fileName':paramCase(b[m(0x17d)]),'camelCase':camelCase(b[m(0x17d)]),'type':b['type'],'engine':c[m(0x180)]['js'],'noRename':!![]};await this[m(0x174)][m(0x17e)](c,async()=>{const n=m;let g='js';c[n(0x180)]['js']===n(0x16f)&&(g='ts');b['type']===n(0x177)&&await this[n(0x174)][n(0x169)]('pg',{'shouldInstall':!![]});b['type']===n(0x178)&&await this['fsi'][n(0x169)](n(0x178),{'shouldInstall':!![]});b[n(0x16b)]===n(0x185)&&await this[n(0x174)][n(0x169)](n(0x18b),{'shouldInstall':!![]});await this[n(0x174)][n(0x188)]({'srcPath':'dbc/config.js','destPath':this[n(0x174)][n(0x176)]({'pathParts':[n(0x17a),n(0x17b),n(0x18c),n(0x16c),b['dir'],d,'config.'+g]}),'context':f,'config':c}),await this[n(0x174)][n(0x188)]({'srcPath':n(0x179),'destPath':this[n(0x174)]['pathFromApp']({'pathParts':[n(0x17a),n(0x17b),n(0x18c),n(0x16c),b[n(0x175)],d,n(0x181)+g]}),'context':f,'config':c}),await this[n(0x174)][n(0x188)]({'srcPath':n(0x17f),'destPath':this['fsi'][n(0x176)]({'pathParts':[n(0x17a),n(0x17b),n(0x18c),'register-'+d+n(0x171)+g]}),'context':f,'config':c});const h=this['fsi'][n(0x176)]({'pathParts':[n(0x17a),n(0x17b),'server','index.'+c[n(0x180)]['js']]});await this[n(0x174)][n(0x172)]({'filePath':h,'content':n(0x16e)+d+n(0x18e)});});}catch(g){Log[m(0x189)](g);}});
1
+ const a114n=a114d;function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x1be;let f=c[d];return f;},a114d(a,b);}(function(a,b){const k=a114d,c=a();while(!![]){try{const d=-parseInt(k(0x1e1))/0x1+-parseInt(k(0x1c4))/0x2+parseInt(k(0x1e3))/0x3*(-parseInt(k(0x1cd))/0x4)+-parseInt(k(0x1ce))/0x5+-parseInt(k(0x1c8))/0x6+parseInt(k(0x1bf))/0x7*(-parseInt(k(0x1d1))/0x8)+parseInt(k(0x1d2))/0x9*(parseInt(k(0x1c7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0x402c1));function a114c(){const p=['101322SltVJw','startup','dir','search','pkg','getMakaProjectConfig','toString','1811887nftqwQ','checkNpmPackage','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','register-','pgsql','360294WTwdTR','injectAtEndOfFile','maka\x20g:dbc\x20geoserver\x20--type=pgsql','270oVleTP','1381152UbplEC','scaffold','pathFromApp','create','apply','12Scsbce','1422810PsUFlj','cfg','error','8HPatHp','456444oDvbUd','mssql','type','dbc','tsx','imports','index.','import\x20\x27./register-','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','(((.+)+)+)+$','sqlite','template','engines','dbc/config.js','resourceName','51419naeQSI','server'];a114c=function(){return p;};return a114c();}const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a114d;if(c){const e=c[l(0x1cc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const m=a114d;return a114a[m(0x1be)]()['search'](m(0x1db))[m(0x1be)]()['constructor'](a114a)[m(0x1e6)](m(0x1db));});a114a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a114n(0x1cb)]({'name':a114n(0x1d5),'usage':a114n(0x1c1),'shortDesc':a114n(0x1da),'validOpts':[a114n(0x1e5)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a114n(0x1d4),'values':[a114n(0x1c3),'mssql',a114n(0x1dc)]}],'examples':[a114n(0x1c6),'maka\x20g:dbc\x20azure\x20--type=mssql','maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const o=a114n;try{const c=await this[o(0x1cf)][o(0x1e8)](),d=paramCase(b['resourceName']),f={'name':pascalCase(b[o(0x1e0)]),'fileName':paramCase(b[o(0x1e0)]),'camelCase':camelCase(b[o(0x1e0)]),'type':b['type'],'engine':c[o(0x1de)]['js'],'noRename':!![]},g=b['dir']?'/'+b[o(0x1e5)]+'/':'/';let h='js';c[o(0x1de)]['js']===o(0x1d6)&&(h='ts');b[o(0x1d4)]==='pgsql'&&await this[o(0x1e7)][o(0x1c0)]('pg',{'shouldInstall':!![]});b[o(0x1d4)]==='mssql'&&await this[o(0x1e7)]['checkNpmPackage'](o(0x1d3),{'shouldInstall':!![]});b['type']==='sqlite'&&await this[o(0x1e7)][o(0x1c0)]('better-sqlite3',{'shouldInstall':!![]});await this[o(0x1c9)][o(0x1dd)]({'srcPath':o(0x1df),'destPath':this[o(0x1c9)][o(0x1ca)]({'pathParts':['imports',o(0x1e4),o(0x1e2),'dbc',g,d,'config.'+h]}),'context':f,'config':c}),await this[o(0x1c9)]['template']({'srcPath':'dbc/conn.js','destPath':this[o(0x1c9)][o(0x1ca)]({'pathParts':['imports',o(0x1e4),o(0x1e2),'dbc',g,d,'conn.'+h]}),'context':f,'config':c}),await this[o(0x1c9)][o(0x1dd)]({'srcPath':'dbc/register-dbc.js','destPath':this[o(0x1c9)]['pathFromApp']({'pathParts':[o(0x1d7),o(0x1e4),o(0x1e2),o(0x1c2)+d+'-dbc.'+h]}),'context':f,'config':c});const i=this[o(0x1c9)][o(0x1ca)]({'pathParts':[o(0x1d7),o(0x1e4),'server',o(0x1d8)+c[o(0x1de)]['js']]});await this[o(0x1c9)][o(0x1c5)]({'filePath':i,'content':o(0x1d9)+d+'-dbc\x27;'});}catch(j){Log[o(0x1d0)](j);}});
@@ -1 +1 @@
1
- const a116k=a116d;(function(a,b){const h=a116d,c=a();while(!![]){try{const d=-parseInt(h(0xbd))/0x1+parseInt(h(0xad))/0x2+parseInt(h(0xc3))/0x3+-parseInt(h(0xab))/0x4*(-parseInt(h(0xae))/0x5)+-parseInt(h(0xb4))/0x6+parseInt(h(0xb5))/0x7*(-parseInt(h(0xb7))/0x8)+parseInt(h(0xc5))/0x9*(-parseInt(h(0xb1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x4bcfc));function a116c(){const n=['fsi','dockerfile','1127259oPyBXQ','cert','2411109SCnsKQ','maka\x20g:dockerfile','search','withValue','Dockerfile','app','maka\x20{generate,\x20g}:dockerfile','getGlobalConfig','212RZuyqq','error','566726MRxCFh','50345OYlRbE','join','force','10mSbQuE','app.tar.gz','findProjectDirectory','728550VenoQL','77777BTDndt','service','296tpAIKs','constructor','apply','Generate\x20an\x20updated\x20dockerfile','docker/Dockerfile','getMakaProjectConfig','81816ScaYem','toString','(((.+)+)+)+$','appName'];a116c=function(){return n;};return a116c();}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a['toString']()['search'](j(0xbf))[j(0xbe)]()[j(0xb8)](a116a)[j(0xc7)]('(((.+)+)+)+$');});function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xa8;let f=c[d];return f;},a116d(a,b);}a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a116e from'path';Generator['create']({'name':a116k(0xc2),'usage':a116k(0xa9),'shortDesc':a116k(0xba),'validOpts':[{'name':a116k(0xb0),'boolFlag':!![]}],'noNeedResource':!![],'examples':[a116k(0xc6)]},async function(a,b){const l=a116k;try{const c=await this[l(0xc1)][l(0xbc)](),d=await this['fsi'][l(0xaa)](),f=this['fsi'][l(0xb3)]();await this[l(0xc1)][l(0xc8)](c,async()=>{const m=l,g={'app':d[m(0xc0)],'config':c,'appPath':a116e[m(0xaf)](f,m(0xa8)),'bundlePath':a116e[m(0xaf)](f,'build',m(0xb2)),'useCert':this[m(0xc1)]['isFile'](d[m(0xc4)])};await this[m(0xc1)]['template']({'srcPath':m(0xbb),'destPath':a116e[m(0xaf)](f,m(0xc9)),'framework':m(0xb6),'context':g,'config':c,'force':b[m(0xb0)]});});}catch(g){Log[l(0xac)](g);}});
1
+ const a115l=a115d;(function(a,b){const i=a115d,c=a();while(!![]){try{const d=parseInt(i(0xfc))/0x1*(parseInt(i(0xf6))/0x2)+-parseInt(i(0x102))/0x3+-parseInt(i(0xef))/0x4*(parseInt(i(0x101))/0x5)+parseInt(i(0x106))/0x6*(parseInt(i(0xf4))/0x7)+-parseInt(i(0x10a))/0x8*(-parseInt(i(0x10b))/0x9)+parseInt(i(0x107))/0xa*(parseInt(i(0x109))/0xb)+parseInt(i(0xf8))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xab5e3));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a115d;if(c){const e=c[j(0xff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const k=a115d;return a115a[k(0xec)]()['search'](k(0xfe))[k(0xec)]()[k(0xf0)](a115a)[k(0x100)](k(0xfe));});function a115c(){const n=['Dockerfile','1039008aMCaMA','template','findProjectDirectory','cfg','31997BMaBBG','fsi','(((.+)+)+)+$','apply','search','1427740gzXMPJ','1492836lQoTvf','join','build','app','22278pblhCH','150XdlyQA','isFile','288057hmkcBA','136ytjyzm','981kWrEPI','service','appName','Generate\x20an\x20updated\x20dockerfile','toString','dockerfile','getGlobalConfig','8paGfGf','constructor','force','docker/Dockerfile','scaffold','1526IRWiYE','error','30oSUfRg'];a115c=function(){return n;};return a115c();}a115a();function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0xeb;let f=c[d];return f;},a115d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a115e from'path';Generator['create']({'name':a115l(0xed),'usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':a115l(0xeb),'validOpts':[{'name':a115l(0xf1),'boolFlag':!![]}],'noNeedResource':!![],'examples':['maka\x20g:dockerfile']},async function(a,b){const m=a115l;try{const c=await this[m(0xfb)]['getMakaProjectConfig'](),d=await this[m(0xfb)][m(0xee)](),f=this[m(0xfd)][m(0xfa)](),g={'app':c[m(0x10d)],'config':c,'appPath':a115e[m(0x103)](f,m(0x105)),'bundlePath':a115e['join'](f,m(0x104),'app.tar.gz'),'useCert':d['cert']?this[m(0xfd)][m(0x108)](d['cert']):![]};await this[m(0xf3)][m(0xf9)]({'srcPath':m(0xf2),'destPath':a115e['join'](f,m(0xf7)),'framework':m(0x10c),'context':g,'config':c,'force':b[m(0xf1)]});}catch(h){Log[m(0xf5)](h);}});
@@ -1 +1 @@
1
- const a117n=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x210))/0x1*(parseInt(l(0x202))/0x2)+-parseInt(l(0x1f5))/0x3+parseInt(l(0x20b))/0x4*(parseInt(l(0x1e3))/0x5)+-parseInt(l(0x1f1))/0x6*(parseInt(l(0x1f9))/0x7)+-parseInt(l(0x214))/0x8*(parseInt(l(0x1e8))/0x9)+parseInt(l(0x1f7))/0xa*(-parseInt(l(0x217))/0xb)+parseInt(l(0x1dd))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x2a5e7));function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1dd;let f=c[d];return f;},a117d(a,b);}const a117b=(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;};}()),a117a=a117b(this,function(){const m=a117d;return a117a['toString']()[m(0x1de)](m(0x1ef))['toString']()[m(0x1e9)](a117a)[m(0x1de)](m(0x1ef));});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a117c(){const q=['string','getMakaProjectConfig','153396gRiirg','setTemplate','50990LPdIhq','css','14rBvzfq','Creating\x20','withValue','graphql','engines','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','test/test.js','@apollo/client\x20isomorphic-fetch','notice','84598okujXk','create','cssCaseName','theme','hook','assign','true','className','react','928708KScfAe','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','pages','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','installNpmPackage','7njZpcO','components','force','baseDir','1440536fDpRNO','template','fileName','451HEfkEo','checkNpmPackage','findAppDirectory','/imports/ui/','features','10457580ankYCS','search','@apollo/client','none','test','apollo','5pUPEBI','pathFromApp','resourceName','fsi','dir','9MoAghu','constructor','maka\x20g:hook\x20cool-hook','relative','.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','template/template.css','(((.+)+)+)+$','/imports/ui/components','581244qZyaDE','warn'];a117c=function(){return q;};return a117c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117n(0x203)]({'name':a117n(0x206),'aliases':['h'],'checkWhere':![],'usage':a117n(0x20e),'shortDesc':a117n(0x20c),'validOpts':[{'name':a117n(0x213),'values':['hooks',a117n(0x211),a117n(0x20d),'layouts']},{'name':a117n(0x212),'boolFlag':!![]}],'examples':[a117n(0x1ea)],'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 o=a117n;Log[o(0x201)](o(0x1fa)+b[o(0x1e5)]+'\x20hook...');try{const c=this[o(0x1e6)][o(0x218)]('react');if(!c){Log['error'](o(0x1ed));throw new UsageError();}const d=this[o(0x1e6)][o(0x219)](),f=b[o(0x213)]?o(0x21a)+b[o(0x213)]:o(0x1f0),g=this[o(0x1e6)][o(0x1e4)]({'pathParts':[f,b['dir'],paramCase(b[o(0x1e5)]),paramCase(b[o(0x1e5)])]}),h=await this[o(0x1e6)][o(0x1f4)]();await this[o(0x1e6)][o(0x1fb)](h,async()=>{const p=o;typeof h[p(0x215)][p(0x1f8)]===p(0x1f3)&&(h[p(0x215)]['css']=h[p(0x215)]['css']===p(0x208)?!![]:![],this[p(0x1e6)][p(0x1f6)](p(0x1f8),h['template'][p(0x1f8)]));h[p(0x1fd)][p(0x1fc)]===p(0x1e2)&&!this[p(0x1e6)][p(0x218)](p(0x1df))&&(Log[p(0x1f2)](p(0x1fe)),await this[p(0x1e6)][p(0x20f)](p(0x200),{'cwd':d}));const i={'cssCaseName':paramCase(b[p(0x1e5)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[p(0x1e5)]),'name':pascalCase(b[p(0x1e5)]),'graphql':h[p(0x1fd)][p(0x1fc)],'theme':h[p(0x1fd)][p(0x205)],'features':h[p(0x21b)],'myPath':a117e[p(0x1eb)](this[p(0x1e6)]['pathFromProject']({}),g),'fileName':paramCase(b[p(0x1e5)]),'isComponent':![],'isLayout':![],'withTranslations':h[p(0x21b)]['withTranslations']};await this['fsi'][p(0x215)]({'srcPath':'hook/hook.js','destPath':g+p(0x1ec),'context':i,'config':h,'framework':p(0x20a),'force':b[p(0x212)]});h[p(0x215)]['css']&&(await this[p(0x1e6)][p(0x215)]({'srcPath':p(0x1ee),'destPath':g+'.css','context':Object[p(0x207)]({},i,{'className':i[p(0x204)]}),'config':h,'force':b[p(0x212)]}),await this['fsi']['injectAtBeginningOfFile']({'filePath':g+'.'+h[p(0x1fd)]['js'],'content':'import\x20\x27./'+i[p(0x216)]+'.'+h[p(0x1fd)][p(0x1f8)]+'\x27;'}));h[p(0x1fd)][p(0x1e1)]!==p(0x1e0)&&await this[p(0x1e6)][p(0x215)]({'srcPath':p(0x1ff),'destPath':g+'.app-tests.js','framework':p(0x20a),'context':i,'config':h,'force':b[p(0x212)]});const j=b[p(0x1e7)]?'/'+b[p(0x1e7)]+'/':'/',k=''+f+j+i[p(0x216)]+'/'+i[p(0x216)];await this[p(0x1e6)]['injectTemplateModule'](i[p(0x209)],h,k);});}catch(i){Log['error'](i);}});
1
+ const a116n=a116d;(function(a,b){const l=a116d,c=a();while(!![]){try{const d=-parseInt(l(0xce))/0x1*(parseInt(l(0xc4))/0x2)+parseInt(l(0xd1))/0x3+-parseInt(l(0xb7))/0x4*(-parseInt(l(0xc2))/0x5)+parseInt(l(0xd8))/0x6*(-parseInt(l(0xd5))/0x7)+parseInt(l(0xb2))/0x8+-parseInt(l(0xb8))/0x9*(-parseInt(l(0xca))/0xa)+parseInt(l(0xd4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xe4b71));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['toString']()['search'](m(0xcf))[m(0xbc)]()[m(0xbb)](a116a)[m(0xc7)](m(0xcf));});a116a();import a116e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xa5;let f=c[d];return f;},a116d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a116c(){const p=['pkg','string','.app-tests.js','none','theme','70CaOEDE','import\x20\x27./','16358NiqYrQ','@apollo/client','cssCaseName','search','injectTemplateModule','findProjectDirectory','20AsWAcU','.js','resourceName','maka\x20g:hook\x20cool-hook','163slkhLB','(((.+)+)+)+$','graphql','2416848jDDYDH','setTemplate','dir','2364032dbQJfG','52913TEprjl','react','pages','1374pzCZRo','assign','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','scaffold','hook','engines','notice','force','apollo','layouts','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','fileName','relative','features','template','@apollo/client\x20isomorphic-fetch','6225672FoMSco','injectAtBeginningOfFile','baseDir','css','fsi','368892nLYitK','4100157dXvNug','components','test/test.js','constructor','toString'];a116c=function(){return p;};return a116c();}Generator['create']({'name':a116n(0xa6),'aliases':['h'],'checkWhere':![],'usage':a116n(0xda),'shortDesc':a116n(0xac),'validOpts':[{'name':a116n(0xb4),'values':['hooks',a116n(0xb9),a116n(0xd7),a116n(0xab)]},{'name':a116n(0xa9),'boolFlag':!![]}],'examples':[a116n(0xcd)],'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 o=a116n;Log[o(0xa8)]('Creating\x20'+b['resourceName']+'\x20hook...');try{await this[o(0xbd)]['checkNpmPackage']('react',{'shouldInstall':!![]});const c=this['fsi']['findAppDirectory'](),d=b[o(0xb4)]?'/imports/ui/'+b[o(0xb4)]:'/imports/ui/components',f=this[o(0xa5)]['pathFromApp']({'pathParts':[d,b['dir'],paramCase(b[o(0xcc)]),paramCase(b['resourceName'])]}),g=await this['cfg']['getMakaProjectConfig']();typeof g['template'][o(0xb5)]===o(0xbe)&&this['cfg'][o(0xd2)](o(0xb5),g['template']['css']);g[o(0xa7)][o(0xd0)]===o(0xaa)&&!this[o(0xbd)]['checkNpmPackage'](o(0xc5))&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[o(0xbd)]['installNpmPackage'](o(0xb1),{'cwd':c}));const h={'cssCaseName':paramCase(b[o(0xcc)]),'camelCaseName':camelCase(b[o(0xcc)]),'className':pascalCase(b[o(0xcc)]),'name':pascalCase(b['resourceName']),'graphql':g[o(0xa7)][o(0xd0)],'theme':g[o(0xa7)][o(0xc1)],'features':g['features'],'myPath':a116e[o(0xae)](this[o(0xb6)][o(0xc9)](),f),'fileName':paramCase(b[o(0xcc)]),'isComponent':![],'isLayout':![],'withTranslations':g[o(0xaf)]['withTranslations']};await this['scaffold'][o(0xb0)]({'srcPath':'hook/hook.js','destPath':f+o(0xcb),'context':h,'config':g,'framework':'react','force':b['force']});g['template'][o(0xb5)]&&(await this[o(0xa5)][o(0xb0)]({'srcPath':'template/template.css','destPath':f+'.css','context':Object[o(0xd9)]({},h,{'className':h[o(0xc6)]}),'config':g,'force':b[o(0xa9)]}),await this[o(0xa5)][o(0xb3)]({'filePath':f+'.'+g[o(0xa7)]['js'],'content':o(0xc3)+h['fileName']+'.'+g[o(0xa7)][o(0xb5)]+'\x27;'}));g[o(0xa7)]['test']!==o(0xc0)&&await this[o(0xa5)][o(0xb0)]({'srcPath':o(0xba),'destPath':f+o(0xbf),'framework':o(0xd6),'context':h,'config':g,'force':b[o(0xa9)]});const i=b['dir']?'/'+b[o(0xd3)]+'/':'/',j=''+d+i+h[o(0xad)]+'/'+h[o(0xad)];await this[o(0xa5)][o(0xc8)](h['className'],g,j);}catch(k){Log['error'](k);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xcf))/0x1+parseInt(f(0xc7))/0x2*(-parseInt(f(0xc2))/0x3)+-parseInt(f(0xc5))/0x4*(parseInt(f(0xc8))/0x5)+-parseInt(f(0xc6))/0x6+-parseInt(f(0xd0))/0x7+parseInt(f(0xca))/0x8*(parseInt(f(0xc4))/0x9)+parseInt(f(0xce))/0xa*(parseInt(f(0xc3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xcd638));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var g=a118d;return a118a[g(0xcc)]()[g(0xcb)](g(0xc9))['toString']()[g(0xcd)](a118a)[g(0xcb)](g(0xc9));});function a118c(){var h=['78LOIIMS','703115jzdYWJ','(((.+)+)+)+$','6008qxwZkr','search','toString','constructor','5090azVAsi','829796lzGUYI','6721708AjZGUq','59493IVWLXO','64504iHTWyO','15165pTJDbw','4eZPurc','4229202YxnzRd'];a118c=function(){return h;};return a118c();}a118a();import'./kit.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xc2;var f=c[d];return f;},a118d(a,b);}import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
1
+ (function(a,b){var f=a117d,c=a();while(!![]){try{var d=parseInt(f(0xff))/0x1*(-parseInt(f(0xf8))/0x2)+-parseInt(f(0xfb))/0x3+-parseInt(f(0xf6))/0x4+parseInt(f(0xf1))/0x5*(parseInt(f(0xf3))/0x6)+-parseInt(f(0xfc))/0x7*(parseInt(f(0x100))/0x8)+-parseInt(f(0xf5))/0x9+-parseInt(f(0xfa))/0xa*(-parseInt(f(0xf4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xcbf3b));var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0xf2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a[h(0xf9)]()[h(0xf7)](h(0xfe))['toString']()[h(0xfd)](a117a)[h(0xf7)](h(0xfe));});function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0xf1;var f=c[d];return f;},a117d(a,b);}a117a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';function a117c(){var i=['search','384312rsBbix','toString','3421670dLBdBM','672615bYYZmB','416675GaEDuJ','constructor','(((.+)+)+)+$','1qHaCvi','112pheorJ','1700210OArFoy','apply','18LxoWly','88uiJINY','129042ikXotV','6632104TfICAg'];a117c=function(){return i;};return a117c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0x104))/0x1+parseInt(f(0xff))/0x2*(parseInt(f(0x105))/0x3)+parseInt(f(0x108))/0x4+-parseInt(f(0x10a))/0x5+-parseInt(f(0x107))/0x6+parseInt(f(0x109))/0x7*(-parseInt(f(0x10b))/0x8)+parseInt(f(0x101))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xca93e));function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0xff;var f=c[d];return f;},a119d(a,b);}var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x106)]()[h(0x103)]('(((.+)+)+)+$')[h(0x106)]()['constructor'](a119a)[h(0x103)](h(0x102));});a119a();import'./auth.generator.js';function a119c(){var i=['6473324KPoGAt','3460177xpgCxL','7341645dgGtmD','8iWVSie','2aUrstY','apply','12342375gHXvuG','(((.+)+)+)+$','search','183645kAZssF','2157033iKFcMC','toString','6599784LBGCEo'];a119c=function(){return i;};return a119c();}import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
1
+ function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x12c;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x138))/0x1+parseInt(f(0x137))/0x2*(parseInt(f(0x12d))/0x3)+parseInt(f(0x134))/0x4+-parseInt(f(0x131))/0x5*(-parseInt(f(0x13a))/0x6)+-parseInt(f(0x133))/0x7*(parseInt(f(0x13b))/0x8)+parseInt(f(0x136))/0x9*(-parseInt(f(0x12f))/0xa)+parseInt(f(0x132))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x19da3));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x130)]()['search'](h(0x135))['toString']()[h(0x12c)](a118a)[h(0x12e)](h(0x135));});a118a();import'./auth.generator.js';function a118c(){var i=['6czCzpW','search','868520FLWyWf','toString','208495SrXDAM','480744ChUaIq','310037tROTcn','553700rqBgNc','(((.+)+)+)+$','18mFjiQq','115436nJzZTR','140475TViOsQ','apply','24SkOWoz','8GuZELa','constructor'];a118c=function(){return i;};return a118c();}import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
@@ -1 +1 @@
1
- const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0x9e))/0x1*(-parseInt(f(0x9c))/0x2)+-parseInt(f(0xa5))/0x3*(-parseInt(f(0xb3))/0x4)+-parseInt(f(0xad))/0x5+parseInt(f(0xb0))/0x6*(parseInt(f(0xa4))/0x7)+parseInt(f(0xa2))/0x8*(parseInt(f(0xa6))/0x9)+parseInt(f(0xae))/0xa*(parseInt(f(0xa8))/0xb)+-parseInt(f(0xaa))/0xc*(parseInt(f(0xb2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x7f099));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0xac)]()['search'](h(0xab))[h(0xac)]()[h(0x9d)](a120a)[h(0xaf)](h(0xab));});function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x9c;let f=c[d];return f;},a120d(a,b);}a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';function a120c(){const k=['52nhEjSU','4fPVsOm','3494PLwnQr','constructor','463AqXhrG','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','create','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','40lGHxTQ','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','1083446wDRCkE','1121163VBVhwM','1234161BBmvPs','apply','242vTGWxl','NIE','4761492OyOHST','(((.+)+)+)+$','toString','2573260weAtcW','201990kfdgmA','search','12mbABPG','auth'];a120c=function(){return k;};return a120c();}const AuthGen=Generator[a120i(0xa0)]({'name':a120i(0xb1),'aliases':['a'],'usage':a120i(0x9f),'noNeedResource':!![],'shortDesc':a120i(0xa3),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:a'],'description':a120i(0xa1)},async function(){const j=a120i;throw j(0xa9);},async function(){},a120e);export default AuthGen;
1
+ const a119i=a119d;function a119c(){const k=['auth','create','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','apply','126hGJtUZ','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','444670WQZlWb','1562472WcwMwy','3790647PmSkTH','20BOQTEw','242118QnBiUS','97101GbmQoU','search','(((.+)+)+)+$','maka\x20g:kit:a','54887myLLVz','87669idStXM','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','NIE'];a119c=function(){return k;};return a119c();}(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x19b))/0x1+parseInt(f(0x1a9))/0x2+parseInt(f(0x196))/0x3*(parseInt(f(0x1a8))/0x4)+-parseInt(f(0x1a5))/0x5+-parseInt(f(0x1a3))/0x6*(-parseInt(f(0x19a))/0x7)+parseInt(f(0x1a6))/0x8+-parseInt(f(0x1a7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x35d00));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x1a2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x19c)]()[h(0x197)](h(0x198))[h(0x19c)]()['constructor'](a119a)[h(0x197)](h(0x198));});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator[a119i(0x1a0)]({'name':a119i(0x19f),'aliases':['a'],'usage':a119i(0x19d),'noNeedResource':!![],'shortDesc':a119i(0x1a1),'validOpts':[''],'isPro':!![],'examples':[a119i(0x199)],'description':a119i(0x1a4)},async function(){const j=a119i;throw j(0x19e);},async function(){},a119e);function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x196;let f=c[d];return f;},a119d(a,b);}export default AuthGen;
@@ -1 +1 @@
1
- const a121q=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0x1d2))/0x1+parseInt(o(0x1b8))/0x2*(parseInt(o(0x1ba))/0x3)+-parseInt(o(0x1d7))/0x4+parseInt(o(0x1a9))/0x5*(parseInt(o(0x192))/0x6)+parseInt(o(0x1b9))/0x7+parseInt(o(0x1d1))/0x8+-parseInt(o(0x1a4))/0x9*(parseInt(o(0x1a0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xec724));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 p=a121d;return a121a[p(0x1ad)]()[p(0x1c6)]('(((.+)+)+)+$')[p(0x1ad)]()[p(0x1d4)](a121a)['search'](p(0x1bc));});function a121c(){const t=['.js','create','error','\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','10NrRdGx','index','template','alanning:roles','37233333blxETX','export\x20const\x20AuthProvider','engines','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','force','10FNpLXm','return\x20\x5c(','react','/imports/startup/lib','toString','const\x20resetPasswordWithToken','injectIntoFile','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','injectIntoCodeBlock','useTracker','injectImport','meteor/accounts-base','Meteor.publish','\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','true','2wAehAm','10650024jaosmn','3201447qADWyn','startup','(((.+)+)+)+$','processAndRunGenerator','AuthService','/imports/startup/lib/authentication-service','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','imports','fsi','authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','search','kit:auth:provider','const\x20authenticateToken','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','auth/roles','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','REACT','\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/authentication-service','const\x20authenticateUser','meteor/maka:react-tracker','7177320teQWVk','659794RmvKPF','meteor','constructor','Meteor.startup','pathFromApp','2907876jdXTvD','/imports/startup/client','5060850WiixYn','kit/auth/service/meteor-auth-service.js','publish','accounts-password','const\x20deauthenticateUser','findProjectDirectory','exit','Meteor','authentication-provider','const\x20sendForgotPasswordEmail'];a121c=function(){return t;};return a121c();}function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x192;let f=c[d];return f;},a121d(a,b);}a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121q(0x19d)]({'name':a121q(0x1d3),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a121q(0x1b0),'validOpts':[a121q(0x1a8)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121q(0x1cc)]},'description':a121q(0x1c0)},async function(a,b){const r=a121q;try{const c=b['force']||![];await this[r(0x1c2)]['checkMeteorPackage']([r(0x195),r(0x1a3)],{'shouldInstall':!![]});const d=this[r(0x1c2)][r(0x197)](),f=this['fsi']['getMakaProjectConfig'](),g=f[r(0x1a6)]['ssr']===r(0x1b7);await a121f[r(0x1bd)](r(0x1c7),[],{'force':c,'cwd':d,'config':f});const h=await a121f[r(0x1bd)](r(0x194),[r(0x1ca)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?r(0x1ac):r(0x1d8),j=this['fsi'][r(0x1d6)]({'pathParts':[i,'','',r(0x1c3)]});await this[r(0x1c2)]['withValue'](f,async()=>{const s=r;await this[s(0x1c2)][s(0x1a2)]({'srcPath':s(0x193),'destPath':j+s(0x19c),'framework':s(0x1ab),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[r(0x1c2)]['pathFromApp']({'pathParts':[i,'','',r(0x19a)]}),l=f[r(0x1a6)]['js'];await this[r(0x1c2)][r(0x1b3)]({'filePath':k+'.'+l,'importName':r(0x1be),'modulePath':g?r(0x1bf):r(0x1ce),'isNamedExport':![]}),await this[r(0x1c2)][r(0x1b1)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x1cf),'replace':!![]}),await this[r(0x1c2)][r(0x1b1)]({'filePath':k+'.'+l,'content':r(0x1cd),'begin':r(0x1c8),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x1b6),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x1a7),'begin':r(0x196),'replace':!![]}),await this[r(0x1c2)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x1c4),'begin':r(0x19b),'replace':!![]}),await this[r(0x1c2)][r(0x1b1)]({'filePath':k+'.'+l,'content':r(0x1c9),'begin':'const\x20registerNewUser','replace':!![]}),await this[r(0x1c2)][r(0x1b1)]({'filePath':k+'.'+l,'content':r(0x1cb),'begin':r(0x1ae),'replace':!![]});g&&(await this['fsi'][r(0x1b3)]({'filePath':k+'.'+l,'importName':r(0x1b2),'modulePath':r(0x1d0),'isNamedExport':!![]}),await this[r(0x1c2)][r(0x1af)]({'filePath':k+'.'+l,'content':r(0x1c5),'begin':r(0x1a5),'end':r(0x1aa)}));await this[r(0x1c2)][r(0x1b3)]({'filePath':h,'importName':r(0x199),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this[r(0x1c2)][r(0x1b1)]({'filePath':h,'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':r(0x1b5),'replace':!![]});const m=this[r(0x1c2)][r(0x1d6)]({'pathParts':[r(0x1c1),r(0x1bb),'server',r(0x1a1)]});await this[r(0x1c2)]['injectImport']({'filePath':m+'.'+l,'importName':'Accounts','modulePath':r(0x1b4),'isNamedExport':!![]}),await this['fsi'][r(0x1b1)]({'filePath':m+'.'+l,'content':r(0x19f),'begin':r(0x1d5),'replace':!![]});}catch(n){Log[r(0x19e)](n),process[r(0x198)](0x1);}},async function(){},a121e);
1
+ const a120q=a120d;(function(a,b){const o=a120d,c=a();while(!![]){try{const d=-parseInt(o(0x147))/0x1*(-parseInt(o(0x162))/0x2)+-parseInt(o(0x14e))/0x3*(-parseInt(o(0x172))/0x4)+-parseInt(o(0x16b))/0x5*(-parseInt(o(0x16c))/0x6)+-parseInt(o(0x171))/0x7+-parseInt(o(0x16a))/0x8*(-parseInt(o(0x186))/0x9)+-parseInt(o(0x151))/0xa*(parseInt(o(0x174))/0xb)+-parseInt(o(0x187))/0xc*(parseInt(o(0x14b))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x46b31));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const p=a120d;return a120a[p(0x146)]()['search'](p(0x164))[p(0x146)]()[p(0x142)](a120a)[p(0x17a)](p(0x164));});a120a();import{Generator}from'../../../generator.js';function a120c(){const s=['443748hHMDKk','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','Accounts','true','2733577gbxYDF','4ZySpuI','engines','11wUUaxs','pkg','ssr','force','startup','alanning:roles','search','scaffold','/imports/startup/lib/authentication-service','Meteor.publish','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','injectIntoFile','publish','/imports/startup/client/authentication-service','imports','meteor','pathFromApp','meteor/meteor','807516JgzImp','6979524ptpfqh','fsi','constructor','meteor/accounts-base','\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','error','toString','3191IIZLyQ','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','const\x20resetPasswordWithToken','auth/roles','13VKBvfb','injectIntoCodeBlock','server','824523XOHItB','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','3516610trcyxw','authentication-service','create','getMakaProjectConfig','const\x20registerNewUser','\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','.js','const\x20sendForgotPasswordEmail','meteor/maka:react-tracker','const\x20authenticateToken','const\x20deauthenticateUser','findProjectDirectory','/imports/startup/client','template','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','react','326oHOUZT','kit/auth/service/meteor-auth-service.js','(((.+)+)+)+$','injectImport','\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','useTracker','REACT','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','40XkmGXk','25KcPtVA'];a120c=function(){return s;};return a120c();}import{Log}from'../../../tools/log/log.class.js';import a120e from'./auth.generator.js';import a120f from'../../../generators/maka.gen.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x142;let f=c[d];return f;},a120d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120q(0x153)]({'name':a120q(0x183),'aliases':['m'],'usage':a120q(0x16e),'shortDesc':a120q(0x148),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120q(0x168)]},'description':a120q(0x144)},async function(a,b){const r=a120q;try{const c=b[r(0x177)]||![];await this[r(0x175)]['checkMeteorPackage'](['accounts-password',r(0x179)],{'shouldInstall':!![]});const d=this[r(0x188)][r(0x15c)](),f=await this['cfg'][r(0x154)](),g=f[r(0x173)][r(0x176)]===r(0x170);await a120f[r(0x16d)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a120f[r(0x16d)](r(0x180),[r(0x14a)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':r(0x15d),j=this[r(0x17b)]['pathFromApp']({'pathParts':[i,'','',r(0x152)]});await this['scaffold'][r(0x15e)]({'srcPath':r(0x163),'destPath':j+r(0x157),'framework':r(0x161),'context':{},'config':f,'force':c,'ignore':![]});const k=this[r(0x17b)][r(0x184)]({'pathParts':[i,'','','authentication-provider']}),l=f['engines']['js'];await this['scaffold'][r(0x165)]({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?r(0x17c):r(0x181),'isNamedExport':![]}),await this[r(0x17b)][r(0x14c)]({'filePath':k+'.'+l,'content':r(0x156),'begin':'const\x20authenticateUser','replace':!![]}),await this[r(0x17b)][r(0x14c)]({'filePath':k+'.'+l,'content':r(0x160),'begin':r(0x15a),'replace':!![]}),await this[r(0x17b)][r(0x14c)]({'filePath':k+'.'+l,'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 this[r(0x17b)][r(0x14c)]({'filePath':k+'.'+l,'content':r(0x14f),'begin':r(0x15b),'replace':!![]}),await this[r(0x17b)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x169),'begin':r(0x158),'replace':!![]}),await this[r(0x17b)][r(0x14c)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x155),'replace':!![]}),await this['scaffold'][r(0x14c)]({'filePath':k+'.'+l,'content':r(0x17e),'begin':r(0x149),'replace':!![]});g&&(await this[r(0x17b)][r(0x165)]({'filePath':k+'.'+l,'importName':r(0x167),'modulePath':r(0x159),'isNamedExport':!![]}),await this[r(0x17b)][r(0x17f)]({'filePath':k+'.'+l,'content':r(0x150),'begin':'export\x20const\x20AuthProvider','end':'return\x20\x5c('}));await this[r(0x17b)]['injectImport']({'filePath':h,'importName':r(0x15f),'modulePath':r(0x185),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold'][r(0x14c)]({'filePath':h,'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':r(0x17d),'replace':!![]});const m=this[r(0x17b)][r(0x184)]({'pathParts':[r(0x182),r(0x178),r(0x14d),'index']});await this[r(0x17b)]['injectImport']({'filePath':m+'.'+l,'importName':r(0x16f),'modulePath':r(0x143),'isNamedExport':!![]}),await this[r(0x17b)][r(0x14c)]({'filePath':m+'.'+l,'content':r(0x166),'begin':'Meteor.startup','replace':!![]});}catch(n){Log[r(0x145)](n),process['exit'](0x1);}},async function(){},a120e);
@@ -1 +1 @@
1
- const a122x=a122d;function a122c(){const A=['fsi','ssr','replaceAll','toString','872331KOSTJH','REACT','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','222980SzPgwW','3504876RiOvNo','6733720DOxYWn','injectAroundString','9EKphnQ','\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','getMakaProjectConfig','injectIntoCodeBlock','search','apply','/imports/startup/client','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','pathFromApp','\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','/imports/startup/server/index','2kGOpCS','react','error','true','engines','constructor','authentication-provider','split','77uHbXBE','AuthContext','force','const\x20PrivateRoute','44xOwsWh','appName','<AuthProvider>','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','/routes','function\x20useAuth','20tKFPKa','<AppRoutes\x20/>','injectImport','</AuthProvider>','570844HiunYd','/imports/startup/client/index','bright','template','6522496ENpzOn','/imports/startup/lib','withValue','AuthProvider','provider','(((.+)+)+)+$','kit/auth/provider/authentication-provider.js','/imports/startup/lib/authentication-provider','/imports/startup/client/authentication-provider','441744pBiqSy'];a122c=function(){return A;};return a122c();}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0xd7))/0x1*(parseInt(u(0xc1))/0x2)+-parseInt(u(0xe9))/0x3+parseInt(u(0xd3))/0x4*(-parseInt(u(0xec))/0x5)+-parseInt(u(0xe4))/0x6*(parseInt(u(0xc9))/0x7)+parseInt(u(0xdb))/0x8+-parseInt(u(0xf0))/0x9*(parseInt(u(0xee))/0xa)+-parseInt(u(0xcd))/0xb*(-parseInt(u(0xed))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x8818f));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a['toString']()[w(0xba)](w(0xe0))[w(0xe8)]()[w(0xc6)](a122a)['search']('(((.+)+)+)+$');});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xb9;let f=c[d];return f;},a122d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a122x(0xdf),'aliases':['p'],'usage':a122x(0xbd),'shortDesc':a122x(0xd0),'validOpts':[a122x(0xcb)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0xea)]},'description':a122x(0xbf)},async function(a,b){const y=a122x;try{const c=b[y(0xcb)]||![];Log[y(0xd9)](y(0xeb));const d=this[y(0xe5)][y(0xf2)](),f=d[y(0xc5)][y(0xe6)]===y(0xc4),g={'name':headerCase(d[y(0xce)])[y(0xe7)]('-','\x20')},h=f?y(0xdc):y(0xbc),i=this['fsi']['pathFromApp']({'pathParts':[h,'','',y(0xc7)]});await this[y(0xe5)][y(0xdd)](d,async()=>{const z=y;await this[z(0xe5)][z(0xda)]({'srcPath':z(0xe1),'destPath':i+'.js','framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+y(0xd1),l=k['split']('/'),m=this['fsi'][y(0xbe)]({'pathParts':l});await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':y(0xca),'modulePath':f?y(0xe2):y(0xe3),'isNamedExport':!![]}),await this['fsi'][y(0xd5)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0xc2),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0xe5)][y(0xb9)]({'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(0xd2)],'replace':!![]}),await this[y(0xe5)][y(0xb9)]({'filePath':m+'.'+j,'content':y(0xf1),'begin':[y(0xcc)],'replace':!![]});const n=y(0xd8),o=n[y(0xc8)]('/'),p=this[y(0xe5)][y(0xbe)]({'pathParts':o});await this['fsi']['injectImport']({'filePath':p+'.'+j,'importName':y(0xde),'modulePath':f?y(0xe2):y(0xe3),'isNamedExport':!![]}),await this[y(0xe5)][y(0xef)]({'filePath':p+'.'+j,'aboveContent':y(0xcf),'belowContent':y(0xd6),'targetString':y(0xd4),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0xc0),r=q[y(0xc8)]('/'),s=this['fsi'][y(0xbe)]({'pathParts':r});await this['fsi'][y(0xd5)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0xe2):y(0xe3),'isNamedExport':!![]}),await this['fsi'][y(0xef)]({'filePath':s+'.'+j,'aboveContent':y(0xcf),'belowContent':'</AuthProvider>','targetString':y(0xd4),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0xc3)](t),process['exit'](0x1);}},async function(){},a122e);
1
+ const a121w=a121d;function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x10b;let f=c[d];return f;},a121d(a,b);}(function(a,b){const u=a121d,c=a();while(!![]){try{const d=parseInt(u(0x118))/0x1+-parseInt(u(0x139))/0x2+parseInt(u(0x12c))/0x3+-parseInt(u(0x13b))/0x4+-parseInt(u(0x11a))/0x5+-parseInt(u(0x137))/0x6*(parseInt(u(0x131))/0x7)+-parseInt(u(0x12f))/0x8*(-parseInt(u(0x12e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x4b246));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(0x111)]()[v(0x12d)]('(((.+)+)+)+$')[v(0x111)]()[v(0x112)](a121a)[v(0x12d)](v(0x10f));});a121a();function a121c(){const y=['<AuthProvider>','replaceAll','template','engines','create','pathFromApp','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','split','function\x20useAuth','appName','injectIntoCodeBlock','\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','<AppRoutes\x20/>','/imports/startup/lib','scaffold','provider','1518336UPfJnT','search','9kjWFvS','6023768zuVuam','injectImport','742HkLudx','/routes','injectAroundString','/imports/startup/lib/authentication-provider','AuthContext','REACT','2778zsVWGE','react','362792jisgut','</AuthProvider>','1272128jtuYBc','true','cfg','const\x20useAuth','/imports/startup/client/index','(((.+)+)+)+$','getMakaProjectConfig','toString','constructor','authentication-provider','/imports/startup/client/authentication-provider','useContext','/imports/startup/server/index','force','150842XAYhrI','.js','2768185ngthnw'];a121c=function(){return y;};return a121c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121w(0x11f)]({'name':a121w(0x12b),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a121w(0x121),'validOpts':[a121w(0x117)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121w(0x136)]},'description':a121w(0x127)},async function(a,b){const x=a121w;try{const c=b['force']||![];Log['bright'](x(0x122));const d=await this[x(0x10c)][x(0x110)](),f=d[x(0x11e)]['ssr']===x(0x10b),g={'name':headerCase(d[x(0x125)])[x(0x11c)]('-','\x20')},h=f?x(0x129):'/imports/startup/client',i=this[x(0x12a)]['pathFromApp']({'pathParts':[h,'','',x(0x113)]});await this['scaffold'][x(0x11d)]({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+x(0x119),'framework':x(0x138),'context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+x(0x132),l=k[x(0x123)]('/'),m=this[x(0x12a)]['pathFromApp']({'pathParts':l});await this[x(0x12a)][x(0x130)]({'filePath':m+'.'+j,'importName':x(0x135),'modulePath':f?x(0x134):x(0x114),'isNamedExport':!![]}),await this[x(0x12a)]['injectImport']({'filePath':m+'.'+j,'importName':x(0x115),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold'][x(0x126)]({'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':[x(0x10d),x(0x124)],'replace':!![]}),await this['scaffold'][x(0x126)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','begin':['const\x20PrivateRoute'],'replace':!![]});const n=x(0x10e),o=n[x(0x123)]('/'),p=this[x(0x12a)][x(0x120)]({'pathParts':o});await this[x(0x12a)][x(0x130)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?x(0x134):x(0x114),'isNamedExport':!![]}),await this['scaffold'][x(0x133)]({'filePath':p+'.'+j,'aboveContent':x(0x11b),'belowContent':'</AuthProvider>','targetString':x(0x128),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x116),r=q['split']('/'),s=this[x(0x12a)]['pathFromApp']({'pathParts':r});await this[x(0x12a)][x(0x130)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?x(0x134):x(0x114),'isNamedExport':!![]}),await this[x(0x12a)][x(0x133)]({'filePath':s+'.'+j,'aboveContent':x(0x11b),'belowContent':x(0x13a),'targetString':x(0x128),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process['exit'](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- (function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0xba))/0x1+-parseInt(f(0xbd))/0x2+-parseInt(f(0xbf))/0x3*(parseInt(f(0xc3))/0x4)+parseInt(f(0xbb))/0x5+parseInt(f(0xc4))/0x6*(-parseInt(f(0xc0))/0x7)+parseInt(f(0xbc))/0x8+-parseInt(f(0xb7))/0x9*(parseInt(f(0xc2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x5f700));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0xb8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0xbe)]()[h(0xb9)](h(0xb6))[h(0xbe)]()[h(0xc1)](a123a)[h(0xb9)](h(0xb6));});a123a();import'./esri.generator.js';function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0xb6;var f=c[d];return f;},a123d(a,b);}import'./map.esri.gen.js';function a123c(){var i=['9afgIxF','5579plMFWI','constructor','2390RqTxpf','16072kVrtYy','948hlHsBq','(((.+)+)+)+$','15462dWHBpe','apply','search','369891LaDHsJ','2136185MaBmdv','5229168KBOKPS','1022560fPxlBK','toString'];a123c=function(){return i;};return a123c();}
1
+ (function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x1c8))/0x1+parseInt(f(0x1c3))/0x2*(parseInt(f(0x1c9))/0x3)+-parseInt(f(0x1c0))/0x4+-parseInt(f(0x1c2))/0x5+-parseInt(f(0x1c6))/0x6*(-parseInt(f(0x1cb))/0x7)+-parseInt(f(0x1ce))/0x8*(-parseInt(f(0x1cc))/0x9)+parseInt(f(0x1cd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xa82a7));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x1ca)]()[h(0x1c4)](h(0x1c5))['toString']()[h(0x1c1)](a122a)[h(0x1c4)](h(0x1c5));});a122a();function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x1c0;var f=c[d];return f;},a122d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';function a122c(){var i=['430503CZzkdU','3080631feReMg','toString','1074451izjZBI','1741041fGIbsJ','866290TDIVlx','40lqUTOD','2685292huPigG','constructor','6523085BDQRRM','2fQjPCI','search','(((.+)+)+)+$','6ewCTia','apply'];a122c=function(){return i;};return a122c();}
@@ -1 +1 @@
1
- const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0xc9))/0x1+parseInt(f(0xcc))/0x2*(parseInt(f(0xc7))/0x3)+parseInt(f(0xd1))/0x4*(-parseInt(f(0xce))/0x5)+parseInt(f(0xc4))/0x6*(parseInt(f(0xc6))/0x7)+parseInt(f(0xc2))/0x8*(-parseInt(f(0xd0))/0x9)+-parseInt(f(0xc1))/0xa+-parseInt(f(0xca))/0xb*(-parseInt(f(0xbc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x551b7));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a['toString']()[h(0xcf)](h(0xc8))[h(0xbf)]()[h(0xc3)](a124a)[h(0xcf)]('(((.+)+)+)+$');});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xbc;let f=c[d];return f;},a124d(a,b);}a124a();import{Generator}from'../../../generator.js';function a124c(){const k=['163050GtjegU','418RVjPeu','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','35458WflSjZ','esri','77655hrCKsd','search','3439521vdzfWk','68iofhls','252312bVAoqf','/foo','apply','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','3409910jGJjHE','8zcdbvf','constructor','342yYcUhB','create','83769vnhJlU','3ZvooXb','(((.+)+)+)+$'];a124c=function(){return k;};return a124c();}import a124e from'../kit.js';const EsriGen=Generator[a124i(0xc5)]({'name':a124i(0xcd),'aliases':['e'],'usage':a124i(0xc0),'noNeedResource':!![],'shortDesc':a124i(0xcb),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a124i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0xbd)]}};},async function(){},a124e);export default EsriGen;
1
+ const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d=parseInt(f(0x122))/0x1*(-parseInt(f(0x133))/0x2)+-parseInt(f(0x127))/0x3*(-parseInt(f(0x123))/0x4)+parseInt(f(0x12d))/0x5+parseInt(f(0x12a))/0x6+parseInt(f(0x126))/0x7+-parseInt(f(0x128))/0x8+parseInt(f(0x12b))/0x9*(parseInt(f(0x12f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x2a839));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0x132)]()[h(0x131)](h(0x130))[h(0x132)]()[h(0x125)](a123a)[h(0x131)](h(0x130));});a123a();import{Generator}from'../../../generator.js';import a123e from'../kit.js';function a123c(){const k=['constructor','322105uBFGUL','3kntrxS','1170752GiGQNQ','maka\x20g:kit:e','1083378feYpUy','9tQGgnm','apply','159585YYpgOD','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','993390GmNtnP','(((.+)+)+)+$','search','toString','2VGgcMN','esri','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','122434QwtFyU','340324bUxaBk','/foo/bar'];a123c=function(){return k;};return a123c();}const EsriGen=Generator['create']({'name':a123i(0x134),'aliases':['e'],'usage':a123i(0x121),'noNeedResource':!![],'shortDesc':a123i(0x12e),'validOpts':[''],'isPro':!![],'examples':[a123i(0x129)],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a123i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0x124)],'filesUpdated':['/foo']}};},async function(){},a123e);function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x121;let f=c[d];return f;},a123d(a,b);}export default EsriGen;
@@ -1 +1 @@
1
- const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=parseInt(p(0x151))/0x1*(parseInt(p(0x174))/0x2)+-parseInt(p(0x161))/0x3+parseInt(p(0x15d))/0x4+-parseInt(p(0x15e))/0x5*(-parseInt(p(0x154))/0x6)+-parseInt(p(0x15c))/0x7+-parseInt(p(0x14a))/0x8*(parseInt(p(0x14b))/0x9)+parseInt(p(0x16b))/0xa*(-parseInt(p(0x150))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x7c9d9));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x165)]()['search']('(((.+)+)+)+$')[r(0x165)]()[r(0x164)](a125a)[r(0x15b)](r(0x176));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a125c(){const v=['baseDir','FALSE','appName','10fcyess','page','true','checkNpmPackage','map','<div\x20id=\x22map\x22>','\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','fsi','apply','86TBFMYu','REACT','(((.+)+)+)+$','ssr','/imports/ui/','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','exit','dir','</div>','132688XVpnBc','72SqAChA','getMakaProjectConfig','pathFromApp','kit/esri/map/','.js','5582291QjfyHs','5207bSEUnC','/imports/startup/lib/templates','replaceAll','6LOcZWk','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','split','Generate\x20an\x20Esri\x20map\x20component','injectImport','processAndRunGenerator','injectIntoFile','search','656957eDTbGA','2318944SSJvzN','2946055BZFHIf','injectTemplateModule','template','445209wRAezr','create','error','constructor','toString','@esri/react-arcgis','/imports/startup/client/templates'];a125c=function(){return v;};return a125c();}import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x146;let f=c[d];return f;},a125d(a,b);}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x162)]({'name':a125s(0x16f),'aliases':['m'],'usage':a125s(0x155),'shortDesc':a125s(0x157),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x175)],'ssr':SsrEngines[a125s(0x169)]},'description':a125s(0x171)},async function(a,b){const t=a125s;try{Log['bright']('Generating\x20a\x20map\x20component');const c='basic-map';await this[t(0x172)][t(0x16e)]([t(0x166),'esri-loader'],{'shouldInstall':!![]});const d=this[t(0x172)]['findProjectDirectory'](),f=this[t(0x172)][t(0x14c)](),g=f['engines'][t(0x177)]===t(0x16d),h=await a125f[t(0x159)](t(0x16c),[t(0x16f)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x16a)])[t(0x153)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x168)]?t(0x178)+b[t(0x168)]:'/imports/ui/hooks',k=this[t(0x172)][t(0x14d)]({'pathParts':[j,b[t(0x148)],paramCase(c),paramCase(c)]});await this[t(0x172)]['withValue'](f,async()=>{const u=t;await this['fsi'][u(0x160)]({'srcPath':u(0x14e)+c+u(0x14f),'destPath':k+u(0x14f),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x148)]+'/'+c+'/'+c;await this[t(0x172)][t(0x15f)](c,f,l);const m=h[t(0x156)]('/'),n=this[t(0x172)][t(0x14d)]({'pathParts':m});await this[t(0x172)][t(0x158)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x152):t(0x167),'isNamedExport':!![]}),await this[t(0x172)][t(0x15a)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x146),'begin':[t(0x170),t(0x170)],'end':[t(0x149)],'replace':!![]});}catch(o){Log[t(0x163)](o),process[t(0x147)](0x1);}},async function(){},a125e);
1
+ const a124s=a124d;(function(a,b){const p=a124d,c=a();while(!![]){try{const d=parseInt(p(0xcf))/0x1+parseInt(p(0xca))/0x2+parseInt(p(0xc0))/0x3+-parseInt(p(0xd4))/0x4*(parseInt(p(0xc2))/0x5)+-parseInt(p(0xb1))/0x6+-parseInt(p(0xb3))/0x7+-parseInt(p(0xc3))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x79f7e));function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xa2;let f=c[d];return f;},a124d(a,b);}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a124d;if(c){const e=c[q(0xd5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const r=a124d;return a124a['toString']()['search'](r(0xc5))[r(0xcb)]()['constructor'](a124a)['search'](r(0xc5));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124s(0xa6)]({'name':a124s(0xc9),'aliases':['m'],'usage':a124s(0xb8),'shortDesc':a124s(0xb7),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a124s(0xbd)],'ssr':SsrEngines[a124s(0xb5)]},'description':a124s(0xa2)},async function(a,b){const t=a124s;try{Log[t(0xba)](t(0xb9));const c=t(0xab);await this[t(0xc4)]['checkNpmPackage'](['@esri/react-arcgis',t(0xc7)],{'shouldInstall':!![]});const d=this[t(0xbb)][t(0xaf)](),f=await this[t(0xd0)][t(0xa8)](),g=f[t(0xd3)]['ssr']===t(0xb2),h=await a124f[t(0xa9)](t(0xbf),[t(0xc9)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0xb0)])[t(0xac)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0xc6)]?t(0xd2)+b[t(0xc6)]:t(0xb4),k=this['scaffold']['pathFromApp']({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[t(0xaa)][t(0xae)]({'srcPath':t(0xd1)+c+t(0xbc),'destPath':k+'.js','framework':'react','context':i,'config':f,'force':![],'ignore':![]});const l=''+j+b[t(0xc1)]+'/'+c+'/'+c;await this['scaffold']['injectTemplateModule'](c,f,l);const m=h[t(0xbe)]('/'),n=this[t(0xaa)][t(0xa3)]({'pathParts':m});await this['scaffold'][t(0xa5)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0xcd):t(0xa4),'isNamedExport':!![]}),await this[t(0xaa)][t(0xce)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0xa7),'begin':[t(0xc8),t(0xc8)],'end':[t(0xcc)],'replace':!![]});}catch(o){Log[t(0xad)](o),process[t(0xb6)](0x1);}},async function(){},a124e);function a124c(){const u=['error','template','findProjectDirectory','appName','987024ZogUTZ','true','6205374lXziGL','/imports/ui/hooks','FALSE','exit','Generate\x20an\x20Esri\x20map\x20component','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','Generating\x20a\x20map\x20component','bright','fsi','.js','REACT','split','page','2546745Razoal','dir','29825HKhujz','1925032tuOsaF','pkg','(((.+)+)+)+$','baseDir','esri-loader','<div\x20id=\x22map\x22>','map','1657042yZApKC','toString','</div>','/imports/startup/lib/templates','injectIntoFile','119726zUNXKq','cfg','kit/esri/map/','/imports/ui/','engines','4ryXGgN','apply','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','pathFromApp','/imports/startup/client/templates','injectImport','create','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','getMakaProjectConfig','processAndRunGenerator','scaffold','basic-map','replaceAll'];a124c=function(){return u;};return a124c();}
@@ -1 +1 @@
1
- const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x8a))/0x1*(parseInt(f(0x8c))/0x2)+parseInt(f(0x83))/0x3+-parseInt(f(0x8e))/0x4*(parseInt(f(0x86))/0x5)+parseInt(f(0x88))/0x6+parseInt(f(0x84))/0x7*(-parseInt(f(0x91))/0x8)+parseInt(f(0x82))/0x9*(parseInt(f(0x89))/0xa)+parseInt(f(0x92))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x64f6a));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x80)]()['search']('(((.+)+)+)+$')[h(0x80)]()['constructor'](a126a)[h(0x8b)](h(0x8f));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x80;let f=c[d];return f;},a126d(a,b);}a126a();function a126c(){const j=['search','45842prOVcG','maka\x20g:kit','6564yjCmXR','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}\x20<name>','1432Wwjauc','17760787UqETzi','toString','create','9whGQAy','480726hKLHIZ','21532yyvDzn','kit','2195EhRAOw','apply','515388lIiLub','2592910oEUpMB','19xatwnd'];a126c=function(){return j;};return a126c();}import{Generator}from'../../generator.js';const KitGen=Generator[a126i(0x81)]({'name':a126i(0x85),'aliases':['k'],'usage':a126i(0x90),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x8d),'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(0xa1))/0x1*(-parseInt(f(0x9a))/0x2)+parseInt(f(0xaf))/0x3*(-parseInt(f(0xa6))/0x4)+parseInt(f(0x9b))/0x5*(-parseInt(f(0xab))/0x6)+-parseInt(f(0xa4))/0x7+parseInt(f(0xa3))/0x8*(parseInt(f(0xa8))/0x9)+parseInt(f(0xb0))/0xa*(parseInt(f(0xac))/0xb)+parseInt(f(0x9c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x9f8ea));function a125c(){const j=['308722oUCByj','1735eXphuo','20199972QFCICK','constructor','maka\x20{generate,\x20g}:{kit}\x20<name>','(((.+)+)+)+$','toString','1CwlQTz','maka\x20g:kit','389192GZOdyV','5211948Llmhkx','apply','2892yuCqAG','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','117PXZDJv','create','kit','11106PRjRFO','5134789gJcFyv','search','maka\x20g:k','2439OPGtSd','10OKOiPb'];a125c=function(){return j;};return a125c();}function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x9a;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(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0xa0)]()[h(0xad)](h(0x9f))[h(0xa0)]()[h(0x9d)](a125a)[h(0xad)](h(0x9f));});a125a();import{Generator}from'../../generator.js';const KitGen=Generator[a125i(0xa9)]({'name':a125i(0xaa),'aliases':['k'],'usage':a125i(0x9e),'shortDesc':a125i(0xa7),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a125i(0xa2),a125i(0xae)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(0x190))/0x1*(parseInt(f(0x195))/0x2)+parseInt(f(0x192))/0x3+-parseInt(f(0x18f))/0x4*(-parseInt(f(0x191))/0x5)+-parseInt(f(0x19a))/0x6+parseInt(f(0x199))/0x7*(-parseInt(f(0x193))/0x8)+parseInt(f(0x18e))/0x9+-parseInt(f(0x196))/0xa*(parseInt(f(0x198))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x7df0e));function a127c(){var i=['3341000bnIpgS','search','22RlKIww','5662979YrJqwH','1711974fERUsf','(((.+)+)+)+$','apply','5072499ZRonOy','324MDoDfm','25QWDSYQ','53925hqYbOW','2652102XYAPIZ','8QRUAqF','constructor','3428KMaDEr'];a127c=function(){return i;};return a127c();}var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x18d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a['toString']()[h(0x197)](h(0x19b))['toString']()[h(0x194)](a127a)[h(0x197)](h(0x19b));});a127a();function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x18d;var f=c[d];return f;},a127d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x18d;var f=c[d];return f;},a126d(a,b);}(function(a,b){var f=a126d,c=a();while(!![]){try{var d=parseInt(f(0x190))/0x1*(parseInt(f(0x191))/0x2)+parseInt(f(0x19b))/0x3*(parseInt(f(0x198))/0x4)+parseInt(f(0x197))/0x5+-parseInt(f(0x19a))/0x6*(parseInt(f(0x193))/0x7)+parseInt(f(0x195))/0x8*(parseInt(f(0x19d))/0x9)+parseInt(f(0x18e))/0xa*(-parseInt(f(0x192))/0xb)+parseInt(f(0x194))/0xc*(-parseInt(f(0x18f))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x22a3a));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var g=a126d;return a126a[g(0x18d)]()[g(0x199)](g(0x196))[g(0x18d)]()[g(0x19c)](a126a)[g(0x199)](g(0x196));});a126a();function a126c(){var h=['22314lGNOyJ','177DGGSdi','constructor','873nhaleA','toString','90TNPnUg','64831ZASxth','1ZWepIH','12170qszvlf','237171agPCOh','483gGfwsx','60gKrvIz','13544TzcTSU','(((.+)+)+)+$','1386845YHHPbP','11512JLMJRH','search'];a126c=function(){return h;};return a126c();}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0x1dc))/0x1+-parseInt(G(0x1f8))/0x2+-parseInt(G(0x20d))/0x3+parseInt(G(0x1f7))/0x4+-parseInt(G(0x1e3))/0x5*(-parseInt(G(0x212))/0x6)+-parseInt(G(0x1da))/0x7+parseInt(G(0x1d8))/0x8*(parseInt(G(0x1ef))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x72efa));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x1eb)]()[I(0x204)](I(0x203))['toString']()['constructor'](a128a)[I(0x204)](I(0x203));});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'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a128J(0x1e7),'aliases':['a'],'usage':a128J(0x205),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a128J(0x1f0),a128J(0x1df)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a128J(0x1ea)]},'examples':[a128J(0x208),a128J(0x1f6)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const K=a128J;try{const c=b[K(0x1df)]||![],d=this[K(0x1fe)][K(0x1ec)](),f=this[K(0x1fe)]['getMakaProjectConfig'](),{authType:g}=await Actions[K(0x1f1)]({'type':K(0x1e4),'name':K(0x1ee),'message':K(0x211),'choices':[{'name':K(0x1e5),'value':K(0x1dd)},{'name':K(0x1e9),'value':K(0x210)}]}),h='basic-login-page',i=K(0x20c),j=K(0x1fb),k=K(0x1fd),l='basic-forgot-password-page',m=b[K(0x202)]?K(0x1e0)+b[K(0x202)]:K(0x1fc),n=this[K(0x1fe)][K(0x1f9)]({'pathParts':[m,b[K(0x1d9)],paramCase(h),paramCase(h)]}),o=this[K(0x1fe)]['pathFromApp']({'pathParts':[m,b[K(0x1d9)],paramCase(i),paramCase(i)]}),p=this[K(0x1fe)]['pathFromApp']({'pathParts':[m,b[K(0x1d9)],paramCase(j),paramCase(j)]}),q=this[K(0x1fe)][K(0x1f9)]({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this['fsi'][K(0x1f9)]({'pathParts':[m,b[K(0x1d9)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x207)])[K(0x206)]('-','\x20')};await this[K(0x1fe)]['withValue'](f,async()=>{const L=K;await this[L(0x1fe)][L(0x1f5)]({'srcPath':'kit/mui/auth/login/'+h+L(0x20e),'destPath':n+L(0x20e),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x1f5)]({'srcPath':'kit/mui/auth/logout/'+i+L(0x20e),'destPath':o+L(0x20e),'framework':L(0x1fa),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1fe)][L(0x1f5)]({'srcPath':L(0x1e2)+j+L(0x20e),'destPath':p+L(0x20e),'framework':L(0x1fa),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1fe)][L(0x1f5)]({'srcPath':L(0x1e6)+k+L(0x20e),'destPath':q+L(0x20e),'framework':L(0x1fa),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1fe)][L(0x1f5)]({'srcPath':'kit/mui/auth/forgot-password/'+l+L(0x20e),'destPath':r+'.js','framework':L(0x1fa),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x1d9)]+'/'+h+'/'+h;await this[K(0x1fe)][K(0x1ff)](h,f,t);const u=''+m+b[K(0x1d9)]+'/'+i+'/'+i;await this[K(0x1fe)][K(0x1ff)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[K(0x1fe)]['injectTemplateModule'](j,f,v);const w=''+m+b[K(0x1d9)]+'/'+k+'/'+k;await this[K(0x1fe)][K(0x1ff)](k,f,w);const x=''+m+b[K(0x1d9)]+'/'+l+'/'+l;await this[K(0x1fe)]['injectTemplateModule'](l,f,x),await a128e['processAndRunGenerator'](K(0x1f4),[K(0x1f3)],{'route':'login','cwd':d,'config':f}),await a128e[K(0x201)]('route',[K(0x20c)],{'route':K(0x1db),'private':!![],'cwd':d,'config':f}),await a128e[K(0x201)]('route',[K(0x1fb)],{'route':'register','cwd':d,'config':f}),await a128e[K(0x201)](K(0x1f4),[K(0x1fd)],{'route':'reset-password/:token','cwd':d,'config':f}),await a128e[K(0x201)](K(0x1f4),['basic-forgot-password-page'],{'route':'forgot-password','cwd':d,'config':f});g===K(0x1dd)&&await a128e[K(0x201)](K(0x20f),[],{'force':c,'cwd':d,'config':f});g===K(0x210)&&await a128e['processAndRunGenerator'](K(0x1f2),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x214)][K(0x213)]===K(0x216),z=f[K(0x214)]['js'],A=this[K(0x1fe)]['pathFromApp']({'pathParts':t['split']('/')});await this[K(0x1fe)][K(0x209)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':K(0x1ed),'isNamedExport':!![]});const B=this['fsi'][K(0x1f9)]({'pathParts':u[K(0x200)]('/')});await this[K(0x1fe)][K(0x209)]({'filePath':B+'.'+z,'importName':K(0x1de),'modulePath':y?K(0x215):K(0x1ed),'isNamedExport':!![]});const C=this[K(0x1fe)][K(0x1f9)]({'pathParts':v[K(0x200)]('/')});await this[K(0x1fe)][K(0x209)]({'filePath':C+'.'+z,'importName':K(0x1de),'modulePath':y?K(0x215):K(0x1ed),'isNamedExport':!![]});const D=this[K(0x1fe)][K(0x1f9)]({'pathParts':w[K(0x200)]('/')});await this[K(0x1fe)][K(0x209)]({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?K(0x215):K(0x1ed),'isNamedExport':!![]});const E=this[K(0x1fe)][K(0x1f9)]({'pathParts':x['split']('/')});await this[K(0x1fe)][K(0x209)]({'filePath':E+'.'+z,'importName':K(0x1de),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x1ed),'isNamedExport':!![]});}catch(F){Log[K(0x20b)](F);}},async function(){const M=a128J;console[M(0x20a)](M(0x1e8));},a128f);function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1d8;let f=c[d];return f;},a128d(a,b);}function a128c(){const N=['apply','kit/mui/auth/register/','105YsMBRY','list','Meteor\x20Accounts','kit/mui/auth/password-reset/','auth','Cleaning\x20up...','Custom\x20(roll\x20your\x20own)','REACT','toString','findProjectDirectory','/imports/startup/client/authentication-provider','authType','9693GBKKxn','layouts','options','kit:auth:provider','basic-login-page','route','template','maka\x20g:k:m:f','3367992dBWgrZ','409026TBsoVE','pathFromApp','react','basic-register-page','/imports/ui/pages/auth','basic-password-reset-page','fsi','injectTemplateModule','split','processAndRunGenerator','baseDir','(((.+)+)+)+$','search','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','replaceAll','appName','maka\x20generate:kit:mui:frame','injectImport','log','error','basic-logout-page','2158080NJVgTa','.js','kit:auth:meteor','custom','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','143370HKiKeZ','ssr','engines','/imports/startup/lib/authentication-provider','true','8712dJgTPG','dir','4212446kETLSO','logout','520217TQECzw','meteor','AuthContext','force','/imports/ui/'];a128c=function(){return N;};return a128c();}
1
+ const a127J=a127d;(function(a,b){const G=a127d,c=a();while(!![]){try{const d=-parseInt(G(0x1e5))/0x1+-parseInt(G(0x20b))/0x2*(-parseInt(G(0x1d4))/0x3)+parseInt(G(0x1dc))/0x4*(parseInt(G(0x200))/0x5)+-parseInt(G(0x1e6))/0x6*(-parseInt(G(0x213))/0x7)+-parseInt(G(0x1f5))/0x8+-parseInt(G(0x1ec))/0x9+-parseInt(G(0x1db))/0xa*(-parseInt(G(0x202))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x58422));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a127d;if(c){const e=c[H(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const I=a127d;return a127a[I(0x1e2)]()[I(0x1f7)](I(0x1cd))[I(0x1e2)]()[I(0x1df)](a127a)[I(0x1f7)](I(0x1cd));});a127a();import{Generator}from'../../../generator.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x1cb;let f=c[d];return f;},a127d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';function a127c(){const M=['1741648LwDCvV','force','search','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','processAndRunGenerator','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','split','Cleaning\x20up...','appName','.js','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','10dAuoLo','login','566962XpOcpj','injectImport','/imports/startup/client/authentication-provider','Meteor\x20Accounts','basic-forgot-password-page','/imports/startup/lib/authentication-provider','ssr','register','dir','4dotEfJ','kit:auth:meteor','cfg','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-password-reset-page','getMakaProjectConfig','AuthContext','kit/mui/auth/register/','7beXTyX','scaffold','route','basic-login-page','(((.+)+)+)+$','fsi','apply','basic-logout-page','/imports/ui/','replaceAll','custom','751911dbqXFr','layouts','kit/mui/auth/password-reset/','meteor','injectTemplateModule','true','kit/mui/auth/logout/','60FGtOhY','737092IjqvGS','kit/mui/auth/login/','log','constructor','list','maka\x20generate:kit:mui:frame','toString','kit:auth:provider','react','457611HUpEpT','657714gDiKvR','findProjectDirectory','/imports/ui/pages/auth','engines','kit/mui/auth/forgot-password/','auth','2266812OFtUrU','template','pathFromApp','baseDir','logout','basic-register-page','create','authType','error'];a127c=function(){return M;};return a127c();}import a127f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127J(0x1f2)]({'name':a127J(0x1eb),'aliases':['a'],'usage':a127J(0x1f8),'shortDesc':a127J(0x1ff),'validOpts':[a127J(0x1d5),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':[a127J(0x1e1),'maka\x20g:k:m:f'],'description':a127J(0x20e)},async function(a,b){const K=a127J;try{const c=b[K(0x1f6)]||![],d=this[K(0x1ce)][K(0x1e7)](),f=await this[K(0x20d)][K(0x210)](),{authType:g}=await Actions['options']({'type':K(0x1e0),'name':K(0x1f3),'message':K(0x1fa),'choices':[{'name':K(0x205),'value':'meteor'},{'name':'Custom\x20(roll\x20your\x20own)','value':K(0x1d3)}]}),h=K(0x1cc),i=K(0x1d0),j=K(0x1f1),k=K(0x20f),l=K(0x206),m=b[K(0x1ef)]?K(0x1d1)+b['baseDir']:K(0x1e8),n=this[K(0x214)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0x214)][K(0x1ee)]({'pathParts':[m,b[K(0x20a)],paramCase(i),paramCase(i)]}),p=this[K(0x214)][K(0x1ee)]({'pathParts':[m,b[K(0x20a)],paramCase(j),paramCase(j)]}),q=this[K(0x214)]['pathFromApp']({'pathParts':[m,b[K(0x20a)],paramCase(k),paramCase(k)]}),r=this[K(0x214)][K(0x1ee)]({'pathParts':[m,b[K(0x20a)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1fd)])[K(0x1d2)]('-','\x20')};await this[K(0x214)]['template']({'srcPath':K(0x1dd)+h+K(0x1fe),'destPath':n+K(0x1fe),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['scaffold'][K(0x1ed)]({'srcPath':K(0x1da)+i+K(0x1fe),'destPath':o+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x214)][K(0x1ed)]({'srcPath':K(0x212)+j+K(0x1fe),'destPath':p+K(0x1fe),'framework':K(0x1e4),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x214)]['template']({'srcPath':K(0x1d6)+k+'.js','destPath':q+K(0x1fe),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x214)][K(0x1ed)]({'srcPath':K(0x1ea)+l+K(0x1fe),'destPath':r+K(0x1fe),'framework':K(0x1e4),'context':s,'config':f,'force':c,'ignore':![]});const t=''+m+b[K(0x20a)]+'/'+h+'/'+h;await this[K(0x214)][K(0x1d8)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this[K(0x214)][K(0x1d8)](i,f,u);const v=''+m+b[K(0x20a)]+'/'+j+'/'+j;await this[K(0x214)][K(0x1d8)](j,f,v);const w=''+m+b[K(0x20a)]+'/'+k+'/'+k;await this[K(0x214)]['injectTemplateModule'](k,f,w);const x=''+m+b[K(0x20a)]+'/'+l+'/'+l;await this[K(0x214)][K(0x1d8)](l,f,x),await a127e['processAndRunGenerator'](K(0x1cb),[K(0x1cc)],{'route':K(0x201),'cwd':d,'config':f}),await a127e[K(0x1f9)](K(0x1cb),[K(0x1d0)],{'route':K(0x1f0),'private':!![],'cwd':d,'config':f}),await a127e[K(0x1f9)]('route',[K(0x1f1)],{'route':K(0x209),'cwd':d,'config':f}),await a127e[K(0x1f9)](K(0x1cb),['basic-password-reset-page'],{'route':'reset-password/:token','cwd':d,'config':f}),await a127e[K(0x1f9)](K(0x1cb),[K(0x206)],{'route':'forgot-password','cwd':d,'config':f});g===K(0x1d7)&&await a127e[K(0x1f9)](K(0x20c),[],{'force':c,'cwd':d,'config':f});g===K(0x1d3)&&await a127e['processAndRunGenerator'](K(0x1e3),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x1e9)][K(0x208)]===K(0x1d9),z=f['engines']['js'],A=this['scaffold'][K(0x1ee)]({'pathParts':t[K(0x1fb)]('/')});await this[K(0x214)][K(0x203)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?K(0x207):K(0x204),'isNamedExport':!![]});const B=this[K(0x214)][K(0x1ee)]({'pathParts':u[K(0x1fb)]('/')});await this[K(0x214)][K(0x203)]({'filePath':B+'.'+z,'importName':K(0x211),'modulePath':y?K(0x207):K(0x204),'isNamedExport':!![]});const C=this[K(0x214)][K(0x1ee)]({'pathParts':v['split']('/')});await this[K(0x214)][K(0x203)]({'filePath':C+'.'+z,'importName':K(0x211),'modulePath':y?K(0x207):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this['scaffold']['pathFromApp']({'pathParts':w[K(0x1fb)]('/')});await this[K(0x214)][K(0x203)]({'filePath':D+'.'+z,'importName':K(0x211),'modulePath':y?K(0x207):K(0x204),'isNamedExport':!![]});const E=this[K(0x214)][K(0x1ee)]({'pathParts':x[K(0x1fb)]('/')});await this[K(0x214)][K(0x203)]({'filePath':E+'.'+z,'importName':K(0x211),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log[K(0x1f4)](F);}},async function(){const L=a127J;console[L(0x1de)](L(0x1fc));},a127f);
@@ -1 +1 @@
1
- const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0x8d))/0x1*(-parseInt(B(0xcb))/0x2)+-parseInt(B(0xaf))/0x3*(parseInt(B(0xc4))/0x4)+-parseInt(B(0x90))/0x5+-parseInt(B(0xb2))/0x6*(parseInt(B(0x9f))/0x7)+parseInt(B(0x96))/0x8+-parseInt(B(0xae))/0x9*(parseInt(B(0xa0))/0xa)+parseInt(B(0xcc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xd1016));function a129c(){const I=['injectIntoFile','injectImport','-hook\x22>','ssr','checkMeteorPackage','Container','basic-app-bar','react','<Outlet\x20/>','Box','app-tests','<div\x20id=\x22','3333412pWaexJ','maka\x20g:k:m:f','REACT','replaceAll','@mui/material/Container','join','toString','2BpOBAZ','51807965FmJDiw','search','/imports/ui/components','getMakaProjectConfig','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','error','kit/mui/frame/app-bars/','imports','template','@mui/material/Box','length','maka\x20generate:kit:mui:frame','22271cOOLTW','pathFromApp','<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>','5546320Gybfzk','constructor','dir','</div>','engines','<Outlet/>','1767240AWemOS','layouts','log','jsx','findAppDirectory','kit/mui/frame/footers/','tsx','kit/mui/frame/drawers/','MATERIAL','7LVJqAA','1790tBbiSP','/imports/startup/lib/templates','session','Cleaning\x20up...','fsi','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','No\x20layouts\x20selected','injectTemplateModule','(((.+)+)+)+$','create','withValue','\x20/>\x0a','tests','checkbox','32166tKvomx','3gjSTce','.js','apply','9087252Mnlywj','/imports/ui/','force','baseDir','test','/imports/startup/client/templates'];a129c=function(){return I;};return a129c();}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0xca)]()[D(0xcd)](D(0xa8))[D(0xca)]()[D(0x91)](a129a)[D(0xcd)](D(0xa8));});a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x84;let f=c[d];return f;},a129d(a,b);}import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0xa9)]({'name':'frame','aliases':['f'],'usage':a129E(0x84),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a129E(0x97),a129E(0xb5),a129E(0x92),a129E(0xb4)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x9e)],'client':ClientEngines[a129E(0xc6)]},'examples':[a129E(0x8c),a129E(0xc5)],'description':a129E(0xa5)},async function(a,b){const F=a129E;try{const c=b[F(0xb4)]||![],d=F(0xbe),f='basic-drawer',g='basic-sticky-footer',h=this[F(0xa4)][F(0xcf)](),i=h[F(0x94)][F(0xbb)]==='true';await this[F(0xa4)][F(0xbc)]([F(0xa2),'maka:react-tracker'],{'shouldInstall':!![]});const j=this['fsi'][F(0x9a)](),k=a129e[F(0xc9)](j,F(0x88),'ui',F(0x97)),l=this['fsi']['getDirectories'](k),m=await Actions['options']({'type':F(0xad),'name':F(0x97),'message':F(0x85),'choices':l});if(m[F(0x97)][F(0x8b)]===0x0){Log[F(0x86)](F(0xa6));return;}const n=b[F(0xb5)]?F(0xb3)+b[F(0xb5)]:F(0xce),o=this[F(0xa4)][F(0x8e)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[F(0xa4)][F(0x8e)]({'pathParts':[n,b[F(0x92)],paramCase(f),paramCase(f)]}),q=this[F(0xa4)][F(0x8e)]({'pathParts':[n,b[F(0x92)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h['appName'])[F(0xc7)]('-','\x20')};await this['fsi'][F(0xaa)](h,async()=>{const G=F;await this['fsi'][G(0x89)]({'srcPath':G(0x87)+d+'.js','destPath':o+G(0xb0),'framework':G(0xbf),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xa4)][G(0x89)]({'srcPath':G(0x9d)+f+G(0xb0),'destPath':p+G(0xb0),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x89)]({'srcPath':G(0x9b)+g+G(0xb0),'destPath':q+G(0xb0),'framework':G(0xbf),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x92)]+'/'+d+'/'+d;await this[F(0xa4)][F(0xa7)](d,h,s);const t=''+n+b[F(0x92)]+'/'+f+'/'+f;await this['fsi'][F(0xa7)](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this['fsi'][F(0xa7)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this['fsi']['getFiles'](a129e[F(0xc9)](k,w),{'extensions':[F(0x99),F(0x9c)],'omit':[F(0xc2),F(0xac),F(0xb6)]});for(const y of x){const z=a129e[F(0xc9)](k,w,y);await this[F(0xa4)]['injectImport']({'filePath':z,'importName':F(0xc1),'modulePath':F(0x8a),'isNamedExport':![]}),await this[F(0xa4)][F(0xb9)]({'filePath':z,'importName':F(0xbd),'modulePath':F(0xc8),'isNamedExport':![]}),await this['fsi'][F(0xb9)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':F(0xb7),'isNamedExport':!![]}),await this[F(0xa4)][F(0xb8)]({'filePath':z,'content':'<'+pascalCase(d)+F(0xab),'begin':[F(0xc3)+w+'\x22>','<div\x20id=\x22'+w+F(0xba)],'end':[F(0x95),F(0xc0)]}),await this[F(0xa4)][F(0xb9)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0xa1):F(0xb7),'isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0xab),'begin':[F(0xc3)+w+'\x22>',F(0xc3)+w+F(0xba)],'end':['<Outlet/>','<Outlet\x20/>']}),await this['fsi'][F(0xb8)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[F(0x95),F(0xc0)],'end':[F(0x93)]}),await this[F(0xa4)][F(0xb9)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0xa1):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0xa4)]['injectAroundString']({'filePath':z,'aboveContent':F(0x8f),'belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[F(0x95),F(0xc0)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x86)](A);}},async function(){const H=a129E;console[H(0x98)](H(0xa3));},a129f);
1
+ const a128D=a128d;(function(a,b){const B=a128d,c=a();while(!![]){try{const d=parseInt(B(0xf5))/0x1+parseInt(B(0x106))/0x2*(parseInt(B(0xe4))/0x3)+-parseInt(B(0xf1))/0x4*(-parseInt(B(0x127))/0x5)+-parseInt(B(0xfb))/0x6*(-parseInt(B(0x12a))/0x7)+-parseInt(B(0x126))/0x8*(parseInt(B(0xe8))/0x9)+parseInt(B(0x114))/0xa+-parseInt(B(0xea))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x63cc7));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const C=a128d;return a128a[C(0x11a)]()[C(0xe7)]('(((.+)+)+)+$')[C(0x11a)]()[C(0xe6)](a128a)[C(0xe7)](C(0x111));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a128c(){const G=['force','/imports/ui/components','298206cQhnSj','tsx','join','layouts','tests','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','1184952rBKCUe','appName','getFiles','jsx','test','react','app-tests','@mui/material/Container','error','true','ssr','6fcDCeu','/imports/startup/lib/templates','kit/mui/frame/drawers/','maka\x20generate:kit:mui:frame','<div\x20id=\x22','<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>','Cleaning\x20up...','MATERIAL','<Outlet\x20/>','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','@mui/material/Box','(((.+)+)+)+$','checkbox','</div>','3704230pkzbto','imports','/imports/ui/','findAppDirectory','\x20/>\x0a','injectAroundString','toString','dir','basic-drawer','length','basic-sticky-footer','Box','kit/mui/frame/footers/','frame','No\x20layouts\x20selected','injectImport','scaffold','maka:react-tracker','24DKJBly','5nzOmAE','injectIntoFile','replaceAll','14hUYAxY','kit/mui/frame/app-bars/','create','basic-app-bar','<Outlet/>','Container','getMakaProjectConfig','fsi','757641HupzyA','/imports/startup/client/templates','constructor','search','37899KzAsWY','-hook\x22>','18782335KnLmxZ','pathFromApp','pkg','.js','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','template','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','1230556uzxNXV','baseDir'];a128c=function(){return G;};return a128c();}import a128e from'path';import a128f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xdd;let f=c[d];return f;},a128d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128D(0xde)]({'name':a128D(0x121),'aliases':['f'],'usage':a128D(0xf0),'shortDesc':a128D(0xee),'validOpts':[a128D(0xf8),a128D(0xf2),'dir',a128D(0xf3)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128D(0x10d)],'client':ClientEngines['REACT']},'examples':[a128D(0x109),'maka\x20g:k:m:f'],'description':a128D(0x10f)},async function(a,b){const E=a128D;try{const c=b['force']||![],d=E(0xdf),f=E(0x11c),g=E(0x11e),h=await this['cfg'][E(0xe2)](),i=h['engines'][E(0x105)]===E(0x104);await this[E(0xec)]['checkMeteorPackage'](['session',E(0x125)],{'shouldInstall':!![]});const j=this['fsi'][E(0x117)](),k=a128e[E(0xf7)](j,E(0x115),'ui',E(0xf8)),l=this[E(0xe3)]['getDirectories'](k),m=await Actions['options']({'type':E(0x112),'name':'layouts','message':E(0xfa),'choices':l});if(m[E(0xf8)][E(0x11d)]===0x0){Log[E(0x103)](E(0x122));return;}const n=b[E(0xf2)]?E(0x116)+b[E(0xf2)]:E(0xf4),o=this[E(0x124)]['pathFromApp']({'pathParts':[n,b[E(0x11b)],paramCase(d),paramCase(d)]}),p=this['scaffold'][E(0xeb)]({'pathParts':[n,b[E(0x11b)],paramCase(f),paramCase(f)]}),q=this['scaffold'][E(0xeb)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[E(0xfc)])[E(0x129)]('-','\x20')};await this[E(0x124)]['template']({'srcPath':E(0xdd)+d+'.js','destPath':o+'.js','framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[E(0x124)][E(0xef)]({'srcPath':E(0x108)+f+'.js','destPath':p+E(0xed),'framework':E(0x100),'context':r,'config':h,'force':c,'ignore':![]}),await this[E(0x124)][E(0xef)]({'srcPath':E(0x120)+g+E(0xed),'destPath':q+E(0xed),'framework':E(0x100),'context':r,'config':h,'force':c,'ignore':![]});const s=''+n+b[E(0x11b)]+'/'+d+'/'+d;await this[E(0x124)]['injectTemplateModule'](d,h,s);const t=''+n+b[E(0x11b)]+'/'+f+'/'+f;await this[E(0x124)]['injectTemplateModule'](f,h,t);const u=''+n+b[E(0x11b)]+'/'+g+'/'+g;await this[E(0x124)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[E(0xe3)][E(0xfd)](a128e[E(0xf7)](k,w),{'extensions':[E(0xfe),E(0xf6)],'omit':[E(0x101),E(0xf9),E(0xff)]});for(const y of x){const z=a128e[E(0xf7)](k,w,y);await this['scaffold'][E(0x123)]({'filePath':z,'importName':E(0x11f),'modulePath':E(0x110),'isNamedExport':![]}),await this[E(0x124)][E(0x123)]({'filePath':z,'importName':E(0xe1),'modulePath':E(0x102),'isNamedExport':![]}),await this[E(0x124)][E(0x123)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':E(0xe5),'isNamedExport':!![]}),await this[E(0x124)][E(0x128)]({'filePath':z,'content':'<'+pascalCase(d)+E(0x118),'begin':[E(0x10a)+w+'\x22>',E(0x10a)+w+E(0xe9)],'end':[E(0xe0),'<Outlet\x20/>']}),await this['scaffold'][E(0x123)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?E(0x107):E(0xe5),'isNamedExport':!![]}),await this[E(0x124)][E(0x128)]({'filePath':z,'content':'<'+pascalCase(f)+E(0x118),'begin':[E(0x10a)+w+'\x22>',E(0x10a)+w+E(0xe9)],'end':['<Outlet/>','<Outlet\x20/>']}),await this[E(0x124)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+E(0x118),'begin':[E(0xe0),E(0x10e)],'end':[E(0x113)]}),await this['scaffold'][E(0x123)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?E(0x107):E(0xe5),'isNamedExport':!![]}),await this[E(0x124)][E(0x119)]({'filePath':z,'aboveContent':E(0x10b),'belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[E(0xe0),'<Outlet\x20/>'],'targetIndentAdjustment':0x6});}}}catch(A){Log[E(0x103)](A);}},async function(){const F=a128D;console['log'](F(0x10c));},a128f);
@@ -1 +1 @@
1
- function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x169;let f=c[d];return f;},a130d(a,b);}function a130c(){const k=['fsi','1378864exyaqm','No\x20MUI\x20kits\x20selected.\x20Exiting.','auth','4018045aPUigh','frame','\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','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','processAndRunGenerator','getMakaProjectConfig','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','toString','notice','kitChoices','mui','includes','search','Header,\x20Footer,\x20and\x20Drawer','(((.+)+)+)+$','413CMmZWO','8797712QJKKFi','maka\x20g:kit:m','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','kit:mui:auth','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','checkbox','findProjectDirectory','info','2983641JznXEN','2qSQtVn','55302zxvlqF','1248303xQEMIV','29864457YAvBDZ'];a130c=function(){return k;};return a130c();}const a130i=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0x173))/0x1*(parseInt(g(0x171))/0x2)+parseInt(g(0x170))/0x3+parseInt(g(0x176))/0x4+parseInt(g(0x179))/0x5+-parseInt(g(0x172))/0x6*(parseInt(g(0x188))/0x7)+parseInt(g(0x189))/0x8+-parseInt(g(0x174))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x9984d));const a130b=(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;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0x180)]()[h(0x185)](h(0x187))[h(0x180)]()['constructor'](a130a)[h(0x185)]('(((.+)+)+)+$');});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'../kit.js';const MuiGen=Generator['create']({'name':a130i(0x183),'aliases':['m'],'usage':a130i(0x16a),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a130i(0x169)]},async function(){const j=a130i;Log['info'](j(0x17f)),Log[j(0x181)](j(0x17b));const {kitChoices:a}=await Actions['options']({'type':j(0x16d),'name':j(0x182),'message':j(0x16c),'choices':[{'name':j(0x186),'value':j(0x17a)},{'name':j(0x17c),'value':j(0x178)}]}),b=this[j(0x175)][j(0x16e)](),c=this[j(0x175)][j(0x17e)]();a[j(0x184)](j(0x17a))&&await a130e['processAndRunGenerator']('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[j(0x184)](j(0x178))&&await a130e[j(0x17d)](j(0x16b),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[j(0x16f)](j(0x177));return;}},async function(){},a130f);export default MuiGen;
1
+ const a129i=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=-parseInt(g(0x1c3))/0x1+-parseInt(g(0x1b3))/0x2*(-parseInt(g(0x1d4))/0x3)+parseInt(g(0x1c6))/0x4+-parseInt(g(0x1c2))/0x5*(parseInt(g(0x1cb))/0x6)+-parseInt(g(0x1d0))/0x7+-parseInt(g(0x1be))/0x8+parseInt(g(0x1b6))/0x9*(parseInt(g(0x1b7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x827e4));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['toString']()[h(0x1bf)](h(0x1d5))[h(0x1bc)]()['constructor'](a129a)[h(0x1bf)](h(0x1d5));});a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a129d(a,b);}import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a129c(){const k=['Material-UI\x20Kit','18sIpLHL','mui','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','auth','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','5967598AEAOcU','fsi','getMakaProjectConfig','maka\x20g:kit:m','774AnGxlr','(((.+)+)+)+$','frame','7066QZollj','create','info','63XyfFhw','1325870kProov','kit:mui:auth','No\x20MUI\x20kits\x20selected.\x20Exiting.','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','cfg','toString','kit:mui:frame','3768384nFrMyP','search','notice','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','712870eEhfSQ','96068BKyoWr','options','processAndRunGenerator','2168916ezPEDY','kitChoices','includes','checkbox'];a129c=function(){return k;};return a129c();}import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';const MuiGen=Generator[a129i(0x1b4)]({'name':a129i(0x1cc),'aliases':['m'],'usage':a129i(0x1c1),'noNeedResource':!![],'shortDesc':a129i(0x1ca),'validOpts':[''],'isPro':!![],'examples':[a129i(0x1d3)]},async function(){const j=a129i;Log[j(0x1b5)](j(0x1cd)),Log[j(0x1c0)]('\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 {kitChoices:a}=await Actions[j(0x1c4)]({'type':j(0x1c9),'name':j(0x1c7),'message':j(0x1cf),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':j(0x1b2)},{'name':j(0x1ba),'value':j(0x1ce)}]}),b=this[j(0x1d1)]['findProjectDirectory'](),c=this[j(0x1bb)][j(0x1d2)]();a['includes']('frame')&&await a129e[j(0x1c5)](j(0x1bd),[],{'force':!![],'cwd':b,'config':c});a[j(0x1c8)]('auth')&&await a129e['processAndRunGenerator'](j(0x1b8),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[j(0x1b5)](j(0x1b9));return;}},async function(){},a129f);export default MuiGen;