@maka/maka-cli 5.1.15 → 5.1.16

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 (173) hide show
  1. package/bundle/obf/package.json +1 -2
  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/testCmd/_index.js +1 -1
  100. package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -1
  101. package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -1
  102. package/bundle/obf/src/commands/testCmd/test.command.js +1 -1
  103. package/bundle/obf/src/commands/undo.js +1 -1
  104. package/bundle/obf/src/commands/uninstall.js +1 -0
  105. package/bundle/obf/src/commands/version/_index.js +1 -1
  106. package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -1
  107. package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -1
  108. package/bundle/obf/src/commands/version/version.js +1 -1
  109. package/bundle/obf/src/error.js +1 -1
  110. package/bundle/obf/src/exec.js +1 -1
  111. package/bundle/obf/src/generator.js +1 -1
  112. package/bundle/obf/src/generators/_index.js +1 -1
  113. package/bundle/obf/src/generators/api.js +1 -1
  114. package/bundle/obf/src/generators/aws/_index.js +1 -1
  115. package/bundle/obf/src/generators/aws/aws.js +1 -1
  116. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  117. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  118. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  119. package/bundle/obf/src/generators/collection.js +1 -1
  120. package/bundle/obf/src/generators/component.js +1 -1
  121. package/bundle/obf/src/generators/config.js +1 -1
  122. package/bundle/obf/src/generators/dbc.js +1 -1
  123. package/bundle/obf/src/generators/dockerfile.js +1 -1
  124. package/bundle/obf/src/generators/hook.js +1 -1
  125. package/bundle/obf/src/generators/kits/_index.js +1 -1
  126. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  127. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  128. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  131. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  132. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  133. package/bundle/obf/src/generators/kits/kit.js +1 -1
  134. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  135. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  136. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  137. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  138. package/bundle/obf/src/generators/layout.js +1 -1
  139. package/bundle/obf/src/generators/maka.gen.js +1 -1
  140. package/bundle/obf/src/generators/methods.js +1 -1
  141. package/bundle/obf/src/generators/package.js +1 -1
  142. package/bundle/obf/src/generators/page.js +1 -1
  143. package/bundle/obf/src/generators/publish.js +1 -1
  144. package/bundle/obf/src/generators/route.js +1 -1
  145. package/bundle/obf/src/generators/service.js +1 -1
  146. package/bundle/obf/src/generators/services/_index.js +1 -1
  147. package/bundle/obf/src/generators/services/openssl.js +1 -1
  148. package/bundle/obf/src/generators/services/translation.js +1 -1
  149. package/bundle/obf/src/maka.js +1 -1
  150. package/bundle/obf/src/tool.js +1 -1
  151. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  152. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  153. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  154. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  155. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  156. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  158. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  159. package/bundle/obf/src/tools/https/https.class.js +1 -1
  160. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  161. package/bundle/obf/src/tools/log/log.class.js +1 -1
  162. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  164. package/bundle/obf/src/tools/options/options.class.js +1 -1
  165. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  166. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  167. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  168. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  169. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  170. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  171. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  172. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  173. package/package.json +1 -2
@@ -1 +1 @@
1
- const a118n=a118d;(function(a,b){const k=a118d,c=a();while(!![]){try{const d=parseInt(k(0xba))/0x1+parseInt(k(0xe1))/0x2+parseInt(k(0xd4))/0x3+-parseInt(k(0xe2))/0x4+parseInt(k(0xe3))/0x5+parseInt(k(0xe8))/0x6*(-parseInt(k(0xda))/0x7)+-parseInt(k(0xcc))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xb53a3));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a118d;if(c){const e=c[l(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const m=a118d;return a118a[m(0xec)]()[m(0xe9)](m(0xe0))['toString']()[m(0xe6)](a118a)['search'](m(0xe0));});a118a();import a118e from'path';import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a118n(0xee)];function a118c(){const p=['apply','28eAQOwb','error','string','/imports/ui/','injectTemplateModule','component/component.js','(((.+)+)+)+$','2560866rkMlhZ','2931004iVrWQs','4668660iSpJYF','relative','withTranslations','constructor','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','968052ptWead','search','graphql','root','toString','css','comp','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','component','pathFromApp','react','maka\x20g:comp\x20todos/todos-item','ramda','api','checkNpmPackage','738957fhiBId','engines','findProjectDirectory','theme','import\x20\x27./','template/template.css','none','/imports/ui/components','.js','template','injectAtBeginningOfFile','projectConfig','test/test.js','fileName','pkg','baseDir','assign','features','12378928XFcRVy','cssCaseName','className','scaffold','test','resourceName','cfg','.tests.js','2144010tDUsmW','setTemplate','client','create','dir'];a118c=function(){return p;};return a118c();}function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xb6;let f=c[d];return f;},a118d(a,b);}Generator[a118n(0xd7)]({'name':a118n(0xf0),'aliases':aliases,'usage':a118n(0xe7),'shortDesc':a118n(0xef),'mustBeInMakaProject':!![],'validOpts':[{'name':a118n(0xc9)}],'examples':[a118n(0xb6)]},async function(a,b){const o=a118n;try{const c=b['baseDir']?o(0xdd)+b['baseDir']:o(0xc1),d=this[o(0xcf)][o(0xf1)]({'pathParts':[c,b[o(0xd8)],kebabCase(b[o(0xd1)]),kebabCase(b['resourceName'])]}),f=this[o(0xc5)];typeof f[o(0xc3)]['test']===o(0xdc)&&this[o(0xd2)][o(0xd5)](o(0xd0),f['template'][o(0xd0)]);typeof f[o(0xc3)]['css']===o(0xdc)&&this[o(0xd2)][o(0xd5)]('css',f[o(0xc3)]['css']);typeof f[o(0xc3)]['js']===o(0xdc)&&this[o(0xd2)][o(0xd5)]('js',f['template']['js']);await this['pkg']['checkNpmPackage'](o(0xb7),{'shouldInstall':!b[o(0xeb)]}),await this[o(0xc8)][o(0xb9)](o(0xf2),{'shouldInstall':!b[o(0xeb)]});const g={'name':pascalCase(b[o(0xd1)]),'myPath':a118e[o(0xe4)](this['fsi'][o(0xbc)](),d),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[o(0xd1)]),'camelCaseName':camelCase(b[o(0xd1)]),'fileName':kebabCase(b[o(0xd1)]),'graphql':f['engines'][o(0xea)],'features':f['features'],'client':f[o(0xbb)][o(0xd6)],'api':f['engines'][o(0xb8)],'ssr':f['engines']['ssr'],'test':f[o(0xbb)][o(0xd0)],'theme':f[o(0xbb)][o(0xbd)],'isLayout':![],'isComponent':!![],'withTranslations':f[o(0xcb)][o(0xe5)]};await this[o(0xcf)][o(0xc3)]({'srcPath':o(0xdf),'destPath':d+o(0xc2),'context':g,'framework':o(0xf2),'config':f});f['engines']['test']!==o(0xc0)&&await this[o(0xcf)][o(0xc3)]({'srcPath':o(0xc6),'destPath':d+o(0xd3),'context':g,'framework':o(0xf2),'config':f});f[o(0xc3)]['css']&&(await this[o(0xcf)][o(0xc3)]({'srcPath':o(0xbf),'destPath':d+'.css','context':Object[o(0xca)]({},g,{'className':kebabCase(b[o(0xd1)])}),'config':f}),await this[o(0xcf)][o(0xc4)]({'filePath':d+'.'+f['engines']['js'],'content':o(0xbe)+g[o(0xcd)]+'.'+f[o(0xbb)][o(0xed)]+'\x27;'}));const h=b[o(0xd8)]?'/'+b[o(0xd8)]+'/':'/',i=''+c+h+g[o(0xc7)]+'/'+g[o(0xc7)];await this[o(0xcf)][o(0xde)](g[o(0xce)],f,i);}catch(j){Log[o(0xdb)](j);}});
1
+ const a119n=a119d;(function(a,b){const k=a119d,c=a();while(!![]){try{const d=-parseInt(k(0x1ae))/0x1*(-parseInt(k(0x1b2))/0x2)+-parseInt(k(0x1ca))/0x3+parseInt(k(0x1c1))/0x4*(-parseInt(k(0x1c0))/0x5)+parseInt(k(0x1c2))/0x6+-parseInt(k(0x1ac))/0x7*(parseInt(k(0x1bf))/0x8)+parseInt(k(0x1a9))/0x9*(-parseInt(k(0x1c7))/0xa)+-parseInt(k(0x1a7))/0xb*(-parseInt(k(0x1b5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x3c58a));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a119d;if(c){const e=c[l(0x1dd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const m=a119d;return a119a[m(0x1cf)]()['search'](m(0x1d8))[m(0x1cf)]()[m(0x1c9)](a119a)[m(0x1b6)](m(0x1d8));});a119a();import a119e from'path';import{camelCase,kebabCase,pascalCase}from'change-case';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a119d(a,b);}function a119c(){const p=['graphql','.css','baseDir','674356tFvckK','scaffold','.js','6967824eEyPRh','search','/imports/ui/','api','cssCaseName','template','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','resourceName','/imports/ui/components','ssr','8EsMRMO','180gujCrj','54148EtXrpK','1194894thQGhl','checkNpmPackage','react','comp','className','248980UxdXOx','dir','constructor','1187352WIBfQB','findProjectDirectory','create','withTranslations','component/component.js','toString','cfg','relative','string','engines','pathFromApp','client','projectConfig','assign','(((.+)+)+)+$','fsi','import\x20\x27./','none','fileName','apply','setTemplate','test','pkg','22PweaTG','features','135IWTrzn','css','root','1357069fatver','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','1HGNJdv'];a119c=function(){return p;};return a119c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a119n(0x1c5)];Generator[a119n(0x1cc)]({'name':'component','aliases':aliases,'usage':a119n(0x1ad),'shortDesc':a119n(0x1bb),'mustBeInMakaProject':!![],'validOpts':[{'name':a119n(0x1b1)}],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const o=a119n;try{const c=b[o(0x1b1)]?o(0x1b7)+b['baseDir']:o(0x1bd),d=this[o(0x1b3)][o(0x1d4)]({'pathParts':[c,b[o(0x1c8)],kebabCase(b[o(0x1bc)]),kebabCase(b[o(0x1bc)])]}),f=this[o(0x1d6)];typeof f['template'][o(0x1df)]==='string'&&this['cfg'][o(0x1de)](o(0x1df),f[o(0x1ba)][o(0x1df)]);typeof f['template'][o(0x1aa)]==='string'&&this['cfg']['setTemplate'](o(0x1aa),f[o(0x1ba)][o(0x1aa)]);typeof f[o(0x1ba)]['js']===o(0x1d2)&&this[o(0x1d0)]['setTemplate']('js',f[o(0x1ba)]['js']);await this[o(0x1a6)][o(0x1c3)]('ramda',{'shouldInstall':!b[o(0x1ab)]}),await this['pkg']['checkNpmPackage'](o(0x1c4),{'shouldInstall':!b['root']});const g={'name':pascalCase(b[o(0x1bc)]),'myPath':a119e[o(0x1d1)](this[o(0x1d9)][o(0x1cb)](),d),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[o(0x1bc)]),'camelCaseName':camelCase(b[o(0x1bc)]),'fileName':kebabCase(b[o(0x1bc)]),'graphql':f[o(0x1d3)][o(0x1af)],'features':f[o(0x1a8)],'client':f[o(0x1d3)][o(0x1d5)],'api':f['engines'][o(0x1b8)],'ssr':f[o(0x1d3)][o(0x1be)],'test':f['engines'][o(0x1df)],'theme':f[o(0x1d3)]['theme'],'isLayout':![],'isComponent':!![],'withTranslations':f[o(0x1a8)][o(0x1cd)]};await this['scaffold'][o(0x1ba)]({'srcPath':o(0x1ce),'destPath':d+o(0x1b4),'context':g,'framework':o(0x1c4),'config':f});f['engines'][o(0x1df)]!==o(0x1db)&&await this[o(0x1b3)][o(0x1ba)]({'srcPath':'test/test.js','destPath':d+'.tests.js','context':g,'framework':o(0x1c4),'config':f});f[o(0x1ba)]['css']&&(await this[o(0x1b3)][o(0x1ba)]({'srcPath':'template/template.css','destPath':d+o(0x1b0),'context':Object[o(0x1d7)]({},g,{'className':kebabCase(b['resourceName'])}),'config':f}),await this[o(0x1b3)]['injectAtBeginningOfFile']({'filePath':d+'.'+f[o(0x1d3)]['js'],'content':o(0x1da)+g[o(0x1b9)]+'.'+f['engines'][o(0x1aa)]+'\x27;'}));const h=b[o(0x1c8)]?'/'+b[o(0x1c8)]+'/':'/',i=''+c+h+g[o(0x1dc)]+'/'+g[o(0x1dc)];await this[o(0x1b3)]['injectTemplateModule'](g[o(0x1c6)],f,i);}catch(j){Log['error'](j);}});
@@ -1 +1 @@
1
- function a119c(){const n=['isDocker','1983234eRnYYO','projectConfig','(((.+)+)+)+$','fsi','scaffold','4884126JUJHIZ','ubuntu','3hFBPHF','Generate\x20configuration\x20settings.','48537RpDXMC','config/settings.json','5978QeZovh','pathFromProject','9152EWCPfT','688960mloIZw','resourceName','template','3290FyDILX','maka\x20g:config\x20production','3092535tWGCrQ','development','pm2.config.js','appName','prod','config/pm2.config.js','toString','2014588PPXsHo','constructor','local','config'];a119c=function(){return n;};return a119c();}const a119l=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=parseInt(j(0x15e))/0x1+-parseInt(j(0x150))/0x2+parseInt(j(0x157))/0x3*(-parseInt(j(0x14b))/0x4)+-parseInt(j(0x163))/0x5+-parseInt(j(0x155))/0x6+parseInt(j(0x15b))/0x7*(parseInt(j(0x15d))/0x8)+parseInt(j(0x159))/0x9*(parseInt(j(0x161))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x7d1b9));function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x147;let f=c[d];return f;},a119d(a,b);}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const k=a119d;return a119a[k(0x14a)]()['search'](k(0x152))[k(0x14a)]()[k(0x14c)](a119a)['search'](k(0x152));});a119a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':'config','usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':a119l(0x158),'validOpts':[a119l(0x14f)],'mustBeInMakaProject':!![],'examples':[a119l(0x162)]},async function(a,b){const m=a119l;try{const c=this[m(0x151)],d={'app':c['appName'],'appFileCase':kebabCase(c[m(0x147)]),'name':pascalCase(b[m(0x15f)]),'fileName':kebabCase(b[m(0x15f)]),'camelCase':camelCase(b['resourceName']),'userName':m(0x156),'isDocker':b[m(0x14f)]};let e=b[m(0x15f)];if(e==='dev')e=m(0x164);else e===m(0x148)&&(e='production');const f=this[m(0x153)][m(0x15c)]({'pathParts':['config',e,'settings.json']});await this['scaffold'][m(0x160)]({'srcPath':m(0x15a),'destPath':f,'context':d,'config':c});if(e!==m(0x14d)){const g=this[m(0x153)][m(0x15c)]({'pathParts':['config',e,m(0x165)]});await this['scaffold'][m(0x160)]({'srcPath':m(0x149),'destPath':g,'context':{'app':c[m(0x147)],'isDocker':b['isDocker']||![]},'config':c});}if(e==='local'){const h=this[m(0x153)][m(0x15c)]({'pathParts':[m(0x14e),e,'process.env']});await this[m(0x154)][m(0x160)]({'srcPath':'config/process.env','destPath':h,'context':d,'config':c});}}catch(i){Log['error'](i);}});
1
+ const a120m=a120d;function a120c(){const o=['constructor','739878zlGHrr','1225584eRoAzc','maka\x20{generate,\x20g}:{config}\x20<name>','resourceName','search','config/process.env','development','config/settings.json','Generate\x20configuration\x20settings.','scaffold','pathFromProject','49656uoGJGs','appName','21NiCplC','256904jspqNa','error','171732BDnqgM','toString','maka\x20g:config\x20production','projectConfig','template','config','production','dev','60QAPMSm','settings.json','308262elHUcJ','create','config/pm2.config.js','isDocker','18MFVmpQ','apply','2EgIazR','696650tnVxQL','4uhyFUN','prod','ubuntu','fsi'];a120c=function(){return o;};return a120c();}(function(a,b){const j=a120d,c=a();while(!![]){try{const d=parseInt(j(0x12a))/0x1+-parseInt(j(0x115))/0x2*(parseInt(j(0x10f))/0x3)+parseInt(j(0x117))/0x4*(-parseInt(j(0x116))/0x5)+-parseInt(j(0x11c))/0x6*(-parseInt(j(0x129))/0x7)+parseInt(j(0x127))/0x8*(parseInt(j(0x113))/0x9)+parseInt(j(0x10d))/0xa*(-parseInt(j(0x12c))/0xb)+-parseInt(j(0x11d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x31299));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a120d;if(c){const e=c[k(0x114)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const l=a120d;return a120a[l(0x12d)]()[l(0x120)]('(((.+)+)+)+$')[l(0x12d)]()[l(0x11b)](a120a)[l(0x120)]('(((.+)+)+)+$');});function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x10d;let f=c[d];return f;},a120d(a,b);}a120a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a120m(0x110)]({'name':a120m(0x131),'usage':a120m(0x11e),'shortDesc':a120m(0x124),'validOpts':['isDocker'],'mustBeInMakaProject':!![],'examples':[a120m(0x12e)]},async function(a,b){const n=a120m;try{const c=this[n(0x12f)],d={'app':c[n(0x128)],'appFileCase':kebabCase(c[n(0x128)]),'name':pascalCase(b[n(0x11f)]),'fileName':kebabCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'userName':n(0x119),'isDocker':b['isDocker']};let e=b[n(0x11f)];if(e===n(0x133))e=n(0x122);else e===n(0x118)&&(e=n(0x132));const f=this['fsi'][n(0x126)]({'pathParts':['config',e,n(0x10e)]});await this['scaffold'][n(0x130)]({'srcPath':n(0x123),'destPath':f,'context':d,'config':c});if(e!=='local'){const g=this[n(0x11a)][n(0x126)]({'pathParts':[n(0x131),e,'pm2.config.js']});await this[n(0x125)][n(0x130)]({'srcPath':n(0x111),'destPath':g,'context':{'app':c[n(0x128)],'isDocker':b[n(0x112)]||![]},'config':c});}if(e==='local'){const h=this[n(0x11a)][n(0x126)]({'pathParts':[n(0x131),e,'process.env']});await this[n(0x125)][n(0x130)]({'srcPath':n(0x121),'destPath':h,'context':d,'config':c});}}catch(i){Log[n(0x12b)](i);}});
@@ -1 +1 @@
1
- function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xc7;let f=c[d];return f;},a120d(a,b);}const a120n=a120d;(function(a,b){const k=a120d,c=a();while(!![]){try{const d=parseInt(k(0xed))/0x1+-parseInt(k(0xe4))/0x2*(-parseInt(k(0xf2))/0x3)+parseInt(k(0xd4))/0x4*(-parseInt(k(0xe6))/0x5)+parseInt(k(0xe5))/0x6*(parseInt(k(0xf6))/0x7)+-parseInt(k(0xe8))/0x8+parseInt(k(0xcb))/0x9*(-parseInt(k(0xd0))/0xa)+-parseInt(k(0xd7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x6e71a));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a120d;if(c){const e=c[l(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const m=a120d;return a120a[m(0xd5)]()['search'](m(0xf0))['toString']()['constructor'](a120a)[m(0xc7)](m(0xf0));});a120a();import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a120c(){const p=['resourceName','apply','create','engines','type','dbc/register-dbc.js','811310mxPvEQ','774eyPUyu','40jOphvT','dbc/config.js','1742080ZohZVV','dbc','maka\x20g:dbc\x20todos\x20--type=sqlite','scaffold','error','748830rPuriJ','-dbc.','startup','(((.+)+)+)+$','imports','6tnBFgb','pkg','dir','projectConfig','28567ruGDdM','search','conn.','template','index.','5517NxNKQS','injectAtEndOfFile','register-','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','checkNpmPackage','5230EZIcOf','-dbc\x27;','dbc/conn.js','better-sqlite3','333524LilRyq','toString','maka\x20g:dbc\x20azure\x20--type=mssql','4716844epqcRk','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','config.','pathFromApp','server','mssql','pgsql'];a120c=function(){return p;};return a120c();}import{Log}from'../tools/log/log.class.js';Generator[a120n(0xe0)]({'name':a120n(0xe9),'usage':a120n(0xce),'shortDesc':a120n(0xd8),'validOpts':[a120n(0xf4)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a120n(0xe2),'values':[a120n(0xdd),a120n(0xdc),'sqlite']}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql',a120n(0xd6),a120n(0xea)]},async function(a,b){const o=a120n;try{const c=this[o(0xf5)],d=kebabCase(b[o(0xde)]),f={'name':pascalCase(b[o(0xde)]),'fileName':kebabCase(b[o(0xde)]),'camelCase':camelCase(b[o(0xde)]),'type':b[o(0xe2)],'engine':c[o(0xe1)]['js'],'noRename':!![]},g=b['dir']?'/'+b[o(0xf4)]+'/':'/';let h='js';c['engines']['js']==='tsx'&&(h='ts');b[o(0xe2)]===o(0xdd)&&await this[o(0xf3)][o(0xcf)]('pg',{'shouldInstall':!![]});b[o(0xe2)]===o(0xdc)&&await this[o(0xf3)][o(0xcf)]('mssql',{'shouldInstall':!![]});b['type']==='sqlite'&&await this[o(0xf3)][o(0xcf)](o(0xd3),{'shouldInstall':!![]});await this[o(0xeb)]['template']({'srcPath':o(0xe7),'destPath':this[o(0xeb)][o(0xda)]({'pathParts':[o(0xf1),o(0xef),o(0xdb),o(0xe9),g,d,o(0xd9)+h]}),'context':f,'config':c}),await this['scaffold'][o(0xc9)]({'srcPath':o(0xd2),'destPath':this[o(0xeb)][o(0xda)]({'pathParts':[o(0xf1),'startup',o(0xdb),o(0xe9),g,d,o(0xc8)+h]}),'context':f,'config':c}),await this[o(0xeb)][o(0xc9)]({'srcPath':o(0xe3),'destPath':this['scaffold'][o(0xda)]({'pathParts':[o(0xf1),'startup',o(0xdb),o(0xcd)+d+o(0xee)+h]}),'context':f,'config':c});const i=this[o(0xeb)][o(0xda)]({'pathParts':[o(0xf1),'startup',o(0xdb),o(0xca)+c[o(0xe1)]['js']]});await this[o(0xeb)][o(0xcc)]({'filePath':i,'content':'import\x20\x27./register-'+d+o(0xd1)});}catch(j){Log[o(0xec)](j);}});
1
+ const a121n=a121d;(function(a,b){const k=a121d,c=a();while(!![]){try{const d=-parseInt(k(0x17c))/0x1+-parseInt(k(0x16c))/0x2*(-parseInt(k(0x179))/0x3)+parseInt(k(0x161))/0x4+-parseInt(k(0x160))/0x5+-parseInt(k(0x187))/0x6*(-parseInt(k(0x18c))/0x7)+parseInt(k(0x180))/0x8+parseInt(k(0x17a))/0x9*(-parseInt(k(0x16a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x8d18d));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a121d;if(c){const e=c[l(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const m=a121d;return a121a[m(0x15f)]()[m(0x172)]('(((.+)+)+)+$')[m(0x15f)]()[m(0x176)](a121a)[m(0x172)](m(0x16f));});a121a();function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x15d;let f=c[d];return f;},a121d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a121c(){const p=['-dbc.','error','injectAtEndOfFile','220sXYsjC','import\x20\x27./register-','26GRHqxo','config.','resourceName','(((.+)+)+)+$','sqlite','pkg','search','projectConfig','dbc/register-dbc.js','create','constructor','template','apply','21099zGNCgp','81342Gmnyyn','index.','541544gQcxCN','register-','better-sqlite3','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','1401624ETlNpE','pgsql','scaffold','dir','conn.','dbc','pathFromApp','6RxuSHJ','startup','checkNpmPackage','imports','server','5113752OvFMdT','dbc/config.js','dbc/conn.js','toString','2692595ejUFlT','3438656IioFEj','engines','tsx','type','mssql','maka\x20g:dbc\x20azure\x20--type=mssql'];a121c=function(){return p;};return a121c();}Generator[a121n(0x175)]({'name':a121n(0x185),'usage':a121n(0x17f),'shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a121n(0x181),'mssql',a121n(0x170)]}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql',a121n(0x166),'maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const o=a121n;try{const c=this[o(0x173)],d=kebabCase(b[o(0x16e)]),f={'name':pascalCase(b[o(0x16e)]),'fileName':kebabCase(b[o(0x16e)]),'camelCase':camelCase(b[o(0x16e)]),'type':b[o(0x164)],'engine':c[o(0x162)]['js'],'noRename':!![]},g=b[o(0x183)]?'/'+b[o(0x183)]+'/':'/';let h='js';c[o(0x162)]['js']===o(0x163)&&(h='ts');b[o(0x164)]===o(0x181)&&await this['pkg']['checkNpmPackage']('pg',{'shouldInstall':!![]});b[o(0x164)]===o(0x165)&&await this[o(0x171)][o(0x189)](o(0x165),{'shouldInstall':!![]});b[o(0x164)]===o(0x170)&&await this[o(0x171)][o(0x189)](o(0x17e),{'shouldInstall':!![]});await this[o(0x182)]['template']({'srcPath':o(0x15d),'destPath':this[o(0x182)][o(0x186)]({'pathParts':[o(0x18a),o(0x188),o(0x18b),o(0x185),g,d,o(0x16d)+h]}),'context':f,'config':c}),await this[o(0x182)][o(0x177)]({'srcPath':o(0x15e),'destPath':this[o(0x182)][o(0x186)]({'pathParts':[o(0x18a),o(0x188),'server','dbc',g,d,o(0x184)+h]}),'context':f,'config':c}),await this[o(0x182)][o(0x177)]({'srcPath':o(0x174),'destPath':this[o(0x182)][o(0x186)]({'pathParts':[o(0x18a),'startup',o(0x18b),o(0x17d)+d+o(0x167)+h]}),'context':f,'config':c});const i=this[o(0x182)]['pathFromApp']({'pathParts':[o(0x18a),o(0x188),o(0x18b),o(0x17b)+c['engines']['js']]});await this[o(0x182)][o(0x169)]({'filePath':i,'content':o(0x16b)+d+'-dbc\x27;'});}catch(j){Log[o(0x168)](j);}});
@@ -1 +1 @@
1
- const a121l=a121d;(function(a,b){const i=a121d,c=a();while(!![]){try{const d=parseInt(i(0x197))/0x1+-parseInt(i(0x1a8))/0x2+parseInt(i(0x198))/0x3*(parseInt(i(0x195))/0x4)+-parseInt(i(0x18c))/0x5+-parseInt(i(0x18e))/0x6*(-parseInt(i(0x1a1))/0x7)+-parseInt(i(0x192))/0x8*(-parseInt(i(0x196))/0x9)+-parseInt(i(0x190))/0xa*(parseInt(i(0x1a4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x74c15));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a121d;if(c){const e=c[j(0x188)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const k=a121d;return a121a[k(0x191)]()[k(0x1a3)](k(0x187))['toString']()[k(0x19e)](a121a)[k(0x1a3)]('(((.+)+)+)+$');});a121a();import{Generator}from'../generator.js';function a121c(){const n=['create','scaffold','getGlobalConfig','1994150TmAFCn','getMakaProjectConfig','6VIZppm','Generate\x20an\x20updated\x20dockerfile','9984630awxOMK','toString','168TMmNWh','isFile','join','4EzKntm','213201xvUORl','573412PCdiVm','372543weVWKo','findProjectDirectory','build','cert','maka\x20{generate,\x20g}:dockerfile','fsi','constructor','force','maka\x20g:dockerfile','5527207qdBLoh','app','search','11wHWqrZ','Dockerfile','service','docker/Dockerfile','218282OAhgzB','(((.+)+)+)+$','apply'];a121c=function(){return n;};return a121c();}import{Log}from'../tools/log/log.class.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x187;let f=c[d];return f;},a121d(a,b);}import a121e from'path';Generator[a121l(0x189)]({'name':'dockerfile','usage':a121l(0x19c),'shortDesc':a121l(0x18f),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a121l(0x19f),'boolFlag':!![]}],'examples':[a121l(0x1a0)]},async function(a,b){const m=a121l;try{const c=this['cfg'][m(0x18d)](),d=await this['cfg'][m(0x18b)](),f=this['fsi'][m(0x199)](),g={'app':c['appName'],'config':c,'appPath':a121e[m(0x194)](f,m(0x1a2)),'bundlePath':a121e[m(0x194)](f,m(0x19a),'app.tar.gz'),'useCert':d[m(0x19b)]?this[m(0x19d)][m(0x193)](d['cert']):![]};await this[m(0x18a)]['template']({'srcPath':m(0x1a7),'destPath':a121e[m(0x194)](f,m(0x1a5)),'framework':m(0x1a6),'context':g,'config':c,'force':b[m(0x19f)]});}catch(h){Log['error'](h);}});
1
+ const a122l=a122d;(function(a,b){const i=a122d,c=a();while(!![]){try{const d=-parseInt(i(0x1ee))/0x1+parseInt(i(0x1e9))/0x2+-parseInt(i(0x1e2))/0x3+-parseInt(i(0x1f5))/0x4*(-parseInt(i(0x1ed))/0x5)+parseInt(i(0x1fc))/0x6+parseInt(i(0x1ec))/0x7*(-parseInt(i(0x1e5))/0x8)+parseInt(i(0x1e1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x96266));function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1de;let f=c[d];return f;},a122d(a,b);}const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a122d;if(c){const e=c[j(0x1f4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const k=a122d;return a122a['toString']()[k(0x1fb)]('(((.+)+)+)+$')[k(0x1f9)]()[k(0x1f3)](a122a)['search'](k(0x1e3));});a122a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a122e from'path';function a122c(){const n=['cert','constructor','apply','4vaIyna','cfg','join','service','toString','Generate\x20an\x20updated\x20dockerfile','search','431220UMnAbm','app','maka\x20{generate,\x20g}:dockerfile','force','build','7347591JZzAai','713295cXEZTd','(((.+)+)+)+$','isFile','208BsBvtd','app.tar.gz','findProjectDirectory','Dockerfile','1172954NNqwdI','appName','getGlobalConfig','12649WwVvdQ','2483805mDNOvc','1071746suVFQE','scaffold','fsi','docker/Dockerfile'];a122c=function(){return n;};return a122c();}Generator['create']({'name':'dockerfile','usage':a122l(0x1de),'shortDesc':a122l(0x1fa),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a122l(0x1df),'boolFlag':!![]}],'examples':['maka\x20g:dockerfile']},async function(a,b){const m=a122l;try{const c=this[m(0x1f6)]['getMakaProjectConfig'](),d=await this[m(0x1f6)][m(0x1eb)](),f=this[m(0x1f0)][m(0x1e7)](),g={'app':c[m(0x1ea)],'config':c,'appPath':a122e[m(0x1f7)](f,m(0x1fd)),'bundlePath':a122e['join'](f,m(0x1e0),m(0x1e6)),'useCert':d['cert']?this['fsi'][m(0x1e4)](d[m(0x1f2)]):![]};await this[m(0x1ef)]['template']({'srcPath':m(0x1f1),'destPath':a122e[m(0x1f7)](f,m(0x1e8)),'framework':m(0x1f8),'context':g,'config':c,'force':b[m(0x1df)]});}catch(h){Log['error'](h);}});
@@ -1 +1 @@
1
- const a122o=a122d;(function(a,b){const l=a122d,c=a();while(!![]){try{const d=parseInt(l(0x18f))/0x1+-parseInt(l(0x1ac))/0x2*(parseInt(l(0x1bf))/0x3)+parseInt(l(0x18a))/0x4*(parseInt(l(0x19c))/0x5)+parseInt(l(0x18e))/0x6+-parseInt(l(0x1a8))/0x7*(-parseInt(l(0x1a1))/0x8)+-parseInt(l(0x195))/0x9+-parseInt(l(0x1aa))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xf13e0));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a122d;if(c){const e=c[m(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const n=a122d;return a122a[n(0x1a0)]()[n(0x1bd)](n(0x1a6))[n(0x1a0)]()[n(0x1af)](a122a)['search'](n(0x1a6));});a122a();function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x181;let f=c[d];return f;},a122d(a,b);}import a122e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a122c(){const q=['6104412pPoCUQ','layouts','hooks','react','resourceName','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','test/test.js','1852540ZjjNTp','theme','features','test','toString','6152JnQKvr','dir','/imports/ui/components','installNpmPackage','none','(((.+)+)+)+$','injectTemplateModule','12481nwPoIC','fileName','22319150LTVHsS','hook/hook.js','632YyQGpe','components','@apollo/client','constructor','className','apollo','template/template.css','warn','css','injectAtBeginningOfFile','notice','baseDir','.app-tests.js','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','findProjectDirectory','create','error','search','@apollo/client\x20isomorphic-fetch','17919HmmmkU','scaffold','cfg','\x20hook...','withTranslations','template','checkNpmPackage','pkg','maka\x20g:hook\x20cool-hook','graphql','engines','force','12PBzdSb','string','assign','fsi','9283452TyfYmJ','1755886ivXbov','pathFromApp','cssCaseName','apply','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','\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'];a122c=function(){return q;};return a122c();}import{Log}from'../tools/log/log.class.js';Generator[a122o(0x1bb)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a122o(0x19a),'shortDesc':a122o(0x1b9),'mustBeInMakaProject':!![],'validOpts':[{'name':a122o(0x1b7),'values':[a122o(0x197),a122o(0x1ad),'pages',a122o(0x196)]},{'name':a122o(0x189),'boolFlag':!![]}],'examples':[a122o(0x186)],'description':a122o(0x194)},async function(a,b){const p=a122o;Log[p(0x1b6)]('Creating\x20'+b[p(0x199)]+p(0x181));try{await this[p(0x185)][p(0x184)](p(0x198),{'shouldInstall':!![]});const c=this[p(0x18d)]['findAppDirectory'](),d=b[p(0x1b7)]?'/imports/ui/'+b['baseDir']:p(0x1a3),f=this[p(0x1c0)][p(0x190)]({'pathParts':[d,b[p(0x1a2)],kebabCase(b['resourceName']),kebabCase(b['resourceName'])]}),g=this['projectConfig'];typeof g[p(0x183)][p(0x1b4)]===p(0x18b)&&this[p(0x1c1)]['setTemplate'](p(0x1b4),g['template'][p(0x1b4)]);g['engines'][p(0x187)]===p(0x1b1)&&!this[p(0x185)][p(0x184)](p(0x1ae))&&(Log[p(0x1b3)](p(0x193)),await this['pkg'][p(0x1a4)](p(0x1be),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x199)]),'camelCaseName':camelCase(b[p(0x199)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b['resourceName']),'graphql':g['engines'][p(0x187)],'theme':g[p(0x188)][p(0x19d)],'test':g[p(0x188)][p(0x19f)],'features':g[p(0x19e)],'myPath':a122e['relative'](this[p(0x18d)][p(0x1ba)](),f),'fileName':kebabCase(b[p(0x199)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x19e)][p(0x182)]};await this[p(0x1c0)][p(0x183)]({'srcPath':p(0x1ab),'destPath':f+'.js','context':h,'config':g,'framework':p(0x198),'force':b[p(0x189)]});g[p(0x183)][p(0x1b4)]&&(await this[p(0x1c0)]['template']({'srcPath':p(0x1b2),'destPath':f+'.css','context':Object[p(0x18c)]({},h,{'className':h[p(0x191)]}),'config':g,'force':b['force']}),await this[p(0x1c0)][p(0x1b5)]({'filePath':f+'.'+g[p(0x188)]['js'],'content':'import\x20\x27./'+h[p(0x1a9)]+'.'+g[p(0x188)][p(0x1b4)]+'\x27;'}));g['engines']['test']!==p(0x1a5)&&await this[p(0x1c0)][p(0x183)]({'srcPath':p(0x19b),'destPath':f+p(0x1b8),'framework':'react','context':h,'config':g,'force':b[p(0x189)]});const i=b[p(0x1a2)]?'/'+b['dir']+'/':'/',j=''+d+i+h['fileName']+'/'+h[p(0x1a9)];await this[p(0x1c0)][p(0x1a7)](h[p(0x1b0)],g,j);}catch(k){Log[p(0x1bc)](k);}});
1
+ const a123n=a123d;(function(a,b){const l=a123d,c=a();while(!![]){try{const d=-parseInt(l(0x17e))/0x1+-parseInt(l(0x17a))/0x2+-parseInt(l(0x15f))/0x3+parseInt(l(0x15a))/0x4+-parseInt(l(0x167))/0x5+parseInt(l(0x16d))/0x6+parseInt(l(0x154))/0x7*(parseInt(l(0x15b))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xe7d86));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const m=a123d;return a123a[m(0x160)]()[m(0x181)](m(0x161))[m(0x160)]()['constructor'](a123a)[m(0x181)]('(((.+)+)+)+$');});a123a();function a123c(){const p=['\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','1694699mtTfoF','pathFromApp','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','search','template/template.css','fileName','@apollo/client\x20isomorphic-fetch','/imports/ui/','graphql','assign','pages','setTemplate','force','cfg','test','baseDir','notice','14122969vzTTnb','engines','maka\x20g:hook\x20cool-hook','.js','findAppDirectory','@apollo/client','2606468uTamKW','16jYebZG','error','react','pkg','4046283jECoaZ','toString','(((.+)+)+)+$','apollo','injectTemplateModule','scaffold','features','css','2776140mYBLEi','fsi','.app-tests.js','create','relative','dir','1862718JEgNlG','none','layouts','template','injectAtBeginningOfFile','checkNpmPackage','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','resourceName','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','components','\x20hook...','cssCaseName','string','897756uzhiWx','.css','theme'];a123c=function(){return p;};return a123c();}import a123e from'path';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x149;let f=c[d];return f;},a123d(a,b);}import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a123n(0x16a)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a123n(0x173),'shortDesc':a123n(0x175),'mustBeInMakaProject':!![],'validOpts':[{'name':a123n(0x152),'values':['hooks',a123n(0x176),a123n(0x14d),a123n(0x16f)]},{'name':a123n(0x14f),'boolFlag':!![]}],'examples':[a123n(0x156)],'description':a123n(0x17d)},async function(a,b){const o=a123n;Log[o(0x153)]('Creating\x20'+b[o(0x174)]+o(0x177));try{await this['pkg'][o(0x172)](o(0x15d),{'shouldInstall':!![]});const c=this[o(0x168)][o(0x158)](),d=b[o(0x152)]?o(0x14a)+b[o(0x152)]:'/imports/ui/components',f=this[o(0x164)][o(0x17f)]({'pathParts':[d,b[o(0x16c)],kebabCase(b[o(0x174)]),kebabCase(b[o(0x174)])]}),g=this['projectConfig'];typeof g[o(0x170)][o(0x166)]===o(0x179)&&this[o(0x150)][o(0x14e)]('css',g[o(0x170)][o(0x166)]);g[o(0x155)][o(0x14b)]===o(0x162)&&!this[o(0x15e)]['checkNpmPackage'](o(0x159))&&(Log['warn'](o(0x180)),await this[o(0x15e)]['installNpmPackage'](o(0x149),{'cwd':c}));const h={'cssCaseName':kebabCase(b[o(0x174)]),'camelCaseName':camelCase(b[o(0x174)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b[o(0x174)]),'graphql':g['engines'][o(0x14b)],'theme':g[o(0x155)][o(0x17c)],'test':g['engines'][o(0x151)],'features':g[o(0x165)],'myPath':a123e[o(0x16b)](this['fsi']['findProjectDirectory'](),f),'fileName':kebabCase(b[o(0x174)]),'isComponent':![],'isLayout':![],'withTranslations':g[o(0x165)]['withTranslations']};await this['scaffold']['template']({'srcPath':'hook/hook.js','destPath':f+o(0x157),'context':h,'config':g,'framework':o(0x15d),'force':b['force']});g[o(0x170)][o(0x166)]&&(await this[o(0x164)]['template']({'srcPath':o(0x182),'destPath':f+o(0x17b),'context':Object[o(0x14c)]({},h,{'className':h[o(0x178)]}),'config':g,'force':b[o(0x14f)]}),await this[o(0x164)][o(0x171)]({'filePath':f+'.'+g[o(0x155)]['js'],'content':'import\x20\x27./'+h['fileName']+'.'+g[o(0x155)][o(0x166)]+'\x27;'}));g[o(0x155)][o(0x151)]!==o(0x16e)&&await this[o(0x164)][o(0x170)]({'srcPath':'test/test.js','destPath':f+o(0x169),'framework':o(0x15d),'context':h,'config':g,'force':b[o(0x14f)]});const i=b[o(0x16c)]?'/'+b[o(0x16c)]+'/':'/',j=''+d+i+h['fileName']+'/'+h[o(0x183)];await this[o(0x164)][o(0x163)](h['className'],g,j);}catch(k){Log[o(0x15c)](k);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0x16c))/0x1+parseInt(f(0x172))/0x2+-parseInt(f(0x170))/0x3+parseInt(f(0x167))/0x4+parseInt(f(0x16e))/0x5*(-parseInt(f(0x16a))/0x6)+-parseInt(f(0x16f))/0x7+-parseInt(f(0x16b))/0x8*(-parseInt(f(0x16d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x1ef85));function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x167;var f=c[d];return f;},a123d(a,b);}var a123b=(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;};}()),a123a=a123b(this,function(){var g=a123d;return a123a[g(0x169)]()['search'](g(0x173))[g(0x169)]()[g(0x168)](a123a)[g(0x171)](g(0x173));});a123a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a123c(){var h=['456CjKGen','249445hJXKMJ','132237amtVFs','233075PgrwnT','1600123ansejJ','511977YXlQzr','search','234652VUkIei','(((.+)+)+)+$','215176exIkel','constructor','toString','30KQgrdx'];a123c=function(){return h;};return a123c();}import'./auth/_index.js';
1
+ (function(a,b){var f=a124d,c=a();while(!![]){try{var d=parseInt(f(0x176))/0x1*(-parseInt(f(0x179))/0x2)+parseInt(f(0x172))/0x3+parseInt(f(0x17d))/0x4*(parseInt(f(0x177))/0x5)+parseInt(f(0x178))/0x6+parseInt(f(0x170))/0x7*(parseInt(f(0x17a))/0x8)+-parseInt(f(0x171))/0x9+-parseInt(f(0x173))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x89f38));var a124b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a124d;if(c){var e=c[g(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){var h=a124d;return a124a['toString']()[h(0x17e)]('(((.+)+)+)+$')[h(0x174)]()[h(0x17b)](a124a)[h(0x17e)](h(0x175));});a124a();import'./kit.js';import'./mui/_index.js';function a124d(a,b){var c=a124c();return a124d=function(d,e){d=d-0x170;var f=c[d];return f;},a124d(a,b);}import'./esri/_index.js';import'./auth/_index.js';function a124c(){var i=['16SNodcZ','711905CdtEED','4551132cIWXAZ','67390DsfGPN','800TYAFvN','constructor','apply','4LzTZRB','search','31017JLOnXM','1859382NILXgv','238899IYSCrU','1128700JUBmOW','toString','(((.+)+)+)+$'];a124c=function(){return i;};return a124c();}
@@ -1 +1 @@
1
- function a124d(a,b){var c=a124c();return a124d=function(d,e){d=d-0xd0;var f=c[d];return f;},a124d(a,b);}(function(a,b){var f=a124d,c=a();while(!![]){try{var d=parseInt(f(0xd6))/0x1+-parseInt(f(0xd5))/0x2+parseInt(f(0xd4))/0x3*(parseInt(f(0xda))/0x4)+parseInt(f(0xde))/0x5*(-parseInt(f(0xd3))/0x6)+-parseInt(f(0xd9))/0x7*(-parseInt(f(0xdb))/0x8)+parseInt(f(0xd0))/0x9*(parseInt(f(0xd2))/0xa)+-parseInt(f(0xdf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x4c027));var a124b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a124d;if(c){var e=c[g(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){var h=a124d;return a124a[h(0xd7)]()['search'](h(0xdc))['toString']()[h(0xdd)](a124a)[h(0xd1)](h(0xdc));});a124a();import'./auth.generator.js';import'./provider.auth.gen.js';function a124c(){var i=['3890930tpkEAa','6OcEtdg','14829KWMxKY','6750zFxdDF','559695CqqRnO','toString','apply','21qvEIBf','472pBokRY','95208lKVCvF','(((.+)+)+)+$','constructor','1597905NtkxBE','10268214XsTgPx','9sirbet','search'];a124c=function(){return i;};return a124c();}import'./basic-meteor.auth.gen.js';
1
+ (function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x1c6))/0x1+-parseInt(f(0x1c9))/0x2+parseInt(f(0x1c2))/0x3*(parseInt(f(0x1cd))/0x4)+-parseInt(f(0x1c5))/0x5*(parseInt(f(0x1c3))/0x6)+parseInt(f(0x1c7))/0x7*(parseInt(f(0x1c8))/0x8)+parseInt(f(0x1c1))/0x9+-parseInt(f(0x1cb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xa15ad));var a125b=(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;};}()),a125a=a125b(this,function(){var g=a125d;return a125a['toString']()[g(0x1c4)](g(0x1ca))[g(0x1cc)]()['constructor'](a125a)[g(0x1c4)](g(0x1ca));});function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x1c1;var f=c[d];return f;},a125d(a,b);}a125a();function a125c(){var h=['7674qCrdgz','search','1010aOQUwj','1167732QTnsAj','6178179KuyhUy','8gDxOrR','2526384luffQE','(((.+)+)+)+$','5892140NHGYaj','toString','35180OdXFzt','1109556hQvMyW','204gzRzrB'];a125c=function(){return h;};return a125c();}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
@@ -1 +1 @@
1
- const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=-parseInt(f(0x1a3))/0x1*(-parseInt(f(0x1b2))/0x2)+-parseInt(f(0x1b6))/0x3+-parseInt(f(0x1af))/0x4*(-parseInt(f(0x1aa))/0x5)+parseInt(f(0x1b1))/0x6*(-parseInt(f(0x1a5))/0x7)+parseInt(f(0x1a4))/0x8*(parseInt(f(0x1b0))/0x9)+-parseInt(f(0x1b3))/0xa+parseInt(f(0x1b4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xb9274));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0x1ad)]()[h(0x1a8)](h(0x1a7))[h(0x1ad)]()[h(0x1b8)](a125a)[h(0x1a8)](h(0x1a7));});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a125d(a,b);}a125a();import{Generator}from'../../../generator.js';import a125e from'../kit.js';const AuthGen=Generator['create']({'name':a125i(0x1ae),'aliases':['a'],'usage':a125i(0x1b7),'shortDesc':a125i(0x1ab),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a125i(0x1b5)],'description':a125i(0x1a6)},async function(){const j=a125i;throw j(0x1a9);},async function(){},a125e);export default AuthGen;function a125c(){const k=['711uZKfOa','114bfXXpn','43982FHnWik','12801510qkLhrX','678117cdpvid','maka\x20g:kit:a','404091cXCNQz','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','constructor','46PghjrM','133032QGkQLK','377377hEmqWs','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','(((.+)+)+)+$','search','NIE','15POhMks','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','apply','toString','auth','1080828ycOcEw'];a125c=function(){return k;};return a125c();}
1
+ const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x11e))/0x1*(-parseInt(f(0x11d))/0x2)+parseInt(f(0x12b))/0x3+parseInt(f(0x128))/0x4+parseInt(f(0x126))/0x5+-parseInt(f(0x123))/0x6+parseInt(f(0x12c))/0x7*(-parseInt(f(0x127))/0x8)+parseInt(f(0x12e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xf3820));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a['toString']()['search'](h(0x12a))[h(0x12f)]()[h(0x12d)](a126a)[h(0x120)](h(0x12a));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x11c;let f=c[d];return f;},a126d(a,b);}a126a();import{Generator}from'../../../generator.js';import a126e from'../kit.js';function a126c(){const j=['2XefXrE','maka\x20g:kit:a','search','auth','create','11784228OgIIyC','apply','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','3448745zxIFcv','2116040QOiHNo','6940708IEfQNd','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','(((.+)+)+)+$','420030dZUsJD','49EYSDLX','constructor','6662187tUPSmM','toString','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','1507802CPAgYF'];a126c=function(){return j;};return a126c();}const AuthGen=Generator[a126i(0x122)]({'name':a126i(0x121),'aliases':['a'],'usage':a126i(0x129),'shortDesc':a126i(0x11c),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x11f)],'description':a126i(0x125)},async function(){throw'NIE';},async function(){},a126e);export default AuthGen;
@@ -1 +1 @@
1
- const a126u=a126d;(function(a,b){const s=a126d,c=a();while(!![]){try{const d=-parseInt(s(0x15b))/0x1*(parseInt(s(0x160))/0x2)+-parseInt(s(0x17b))/0x3*(parseInt(s(0x14a))/0x4)+parseInt(s(0x16a))/0x5+parseInt(s(0x17c))/0x6*(-parseInt(s(0x150))/0x7)+-parseInt(s(0x161))/0x8*(parseInt(s(0x18f))/0x9)+-parseInt(s(0x17f))/0xa+parseInt(s(0x18e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x6bb4b));const a126b=(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;};}()),a126a=a126b(this,function(){const t=a126d;return a126a[t(0x14d)]()[t(0x148)](t(0x17e))[t(0x14d)]()[t(0x152)](a126a)[t(0x148)]('(((.+)+)+)+$');});a126a();import a126e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a126f from'./auth.generator.js';import a126g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a126c(){const w=['findProjectDirectory','const\x20authenticateToken','startup','\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','pathFromApp','\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','react','force','15551QQNDhk','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/lib/authentication-service','meteor','server','102pGnPGX','72hzfxpD','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','Accounts','const\x20getUserAuthorizations','const\x20authenticateUser','AuthService','injectIntoFile','export\x20const\x20AuthProvider','create','2070465bLtWoT','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','injectImport','index','/imports/startup/client','meteor/accounts-base','kit/auth/service/meteor-auth-service.js','authentication-provider','Meteor.publish','template','const\x20registerNewUser','injectIntoCodeBlock','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','exit','publish','engines','const\x20deauthenticateUser','219RZOxaO','330BClMkA','\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','(((.+)+)+)+$','7767490albQYb','processAndRunGenerator','meteor/maka:react-tracker','useEffect\x5c(','auth/roles','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','meteor/meteor','Meteor.startup','/imports/startup/lib','imports','useTracker','Meteor','.js','/imports/startup/client/authentication-service','/imports/startup/server/publications/auth/roles.js','32986239nPpYvr','527526XgNwRI','search','\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','36464yZZJRW','const\x20sendForgotPasswordEmail','REACT','toString','error','\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','26579DzncoB','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','constructor'];a126c=function(){return w;};return a126c();}function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x148;let f=c[d];return f;},a126d(a,b);}Generator[a126u(0x169)]({'name':a126u(0x15e),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a126u(0x184),'validOpts':[a126u(0x15a)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a126u(0x14c)]},'description':a126u(0x158)},async function(a,b){const v=a126u,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[v(0x15a)]||![];await d['checkMeteorPackage'](['accounts-password'],{'shouldInstall':!![]});const i=c[v(0x153)](),j=c['findAppDirectory'](),k=g[v(0x179)]['ssr']===v(0x15e);await a126g[v(0x180)]('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a126g['processAndRunGenerator'](v(0x178),[v(0x183)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a126e['normalize'](v(0x18d)),m=k?v(0x187):v(0x16e),n=f[v(0x157)]({'pathParts':[m,'','','authentication-service']});await f[v(0x173)]({'srcPath':v(0x170),'destPath':n+v(0x18b),'framework':v(0x159),'context':{},'config':g,'force':h,'ignore':![]});const o=f[v(0x157)]({'pathParts':[m,'','',v(0x171)]}),p=g[v(0x179)]['js'];await f[v(0x16c)]({'filePath':o+'.'+p,'importName':v(0x166),'modulePath':k?v(0x15d):v(0x18c),'isNamedExport':![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x149),'begin':v(0x165),'replace':!![]}),await f[v(0x175)]({'filePath':o+'.'+p,'content':v(0x14f),'begin':v(0x154),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x15c),'begin':v(0x164),'replace':!![]}),await f[v(0x175)]({'filePath':o+'.'+p,'content':v(0x151),'begin':v(0x17a),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x16b),'begin':v(0x14b),'replace':!![]}),await f[v(0x175)]({'filePath':o+'.'+p,'content':v(0x176),'begin':v(0x174),'replace':!![]}),await f[v(0x175)]({'filePath':o+'.'+p,'content':v(0x162),'begin':'const\x20resetPasswordWithToken','replace':!![]});k&&(await f[v(0x16c)]({'filePath':o+'.'+p,'importName':v(0x189),'modulePath':v(0x181),'isNamedExport':!![]}),await f[v(0x167)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x168),'end':v(0x182)}));await f[v(0x16c)]({'filePath':l,'importName':v(0x18a),'modulePath':v(0x185),'isNamedExport':!![],'injectAtStart':!![]}),await f[v(0x175)]({'filePath':l,'content':v(0x17d),'begin':v(0x172),'replace':!![]});const q=f[v(0x157)]({'pathParts':[v(0x188),v(0x155),v(0x15f),v(0x16d)]});await f[v(0x16c)]({'filePath':q+'.'+p,'importName':v(0x163),'modulePath':v(0x16f),'isNamedExport':!![]}),await f[v(0x175)]({'filePath':q+'.'+p,'content':v(0x156),'begin':v(0x186),'replace':!![]});}catch(r){Log[v(0x14e)](r),process[v(0x177)](0x1);}},async function(){},a126f);
1
+ const a127v=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0x161))/0x1+parseInt(s(0x189))/0x2*(parseInt(s(0x196))/0x3)+parseInt(s(0x19e))/0x4+parseInt(s(0x16d))/0x5+-parseInt(s(0x19b))/0x6+parseInt(s(0x16b))/0x7*(-parseInt(s(0x19c))/0x8)+parseInt(s(0x164))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x3fa3c));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a127d;if(c){const e=c[t(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a[u(0x18a)]()[u(0x162)]('(((.+)+)+)+$')['toString']()[u(0x177)](a127a)['search'](u(0x197));});a127a();function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x161;let f=c[d];return f;},a127d(a,b);}import a127e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127f from'./auth.generator.js';function a127c(){const x=['meteor/meteor','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\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','779010TRTjsP','(((.+)+)+)+$','accounts-password','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','engines','2153310udqoKE','8kchzbg','meteor/accounts-base','1848136PVOBcG','Meteor.publish','const\x20resetPasswordWithToken','authentication-service','findProjectDirectory','injectImport','444972lAMWFi','search','startup','1570833vdnbUv','\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','meteor','/imports/startup/client','Meteor.startup','\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','2059127MVKGKx','/imports/startup/lib','2312225GHcuqJ','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','checkMeteorPackage','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\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','injectIntoCodeBlock','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','react','.js','template','constructor','injectIntoFile','AuthService','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/server/publications/auth/roles.js','Meteor','publish','authentication-provider','useEffect\x5c(','/imports/startup/client/authentication-service','const\x20getUserAuthorizations','auth/roles','error','useTracker','apply','pathFromApp','Accounts','force','2hsWyyl','toString','create','exit','normalize','REACT','export\x20const\x20AuthProvider','index','/imports/startup/lib/authentication-service','meteor/maka:react-tracker'];a127c=function(){return x;};return a127c();}import a127g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127v(0x18b)]({'name':a127v(0x166),'aliases':['m'],'usage':a127v(0x199),'shortDesc':a127v(0x170),'validOpts':[a127v(0x188)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a127v(0x18e)]},'description':a127v(0x165)},async function(a,b){const w=a127v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x188)]||![];await d[w(0x16f)]([w(0x198)],{'shouldInstall':!![]});const i=c[w(0x1a2)](),j=c['findAppDirectory'](),k=g['engines']['ssr']===w(0x166);await a127g['processAndRunGenerator']('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a127g['processAndRunGenerator'](w(0x17d),[w(0x182)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a127e[w(0x18d)](w(0x17b)),m=k?w(0x16c):w(0x167),n=f[w(0x186)]({'pathParts':[m,'','',w(0x1a1)]});await f[w(0x176)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':n+w(0x175),'framework':w(0x174),'context':{},'config':g,'force':h,'ignore':![]});const o=f['pathFromApp']({'pathParts':[m,'','',w(0x17e)]}),p=g[w(0x19a)]['js'];await f[w(0x1a3)]({'filePath':o+'.'+p,'importName':w(0x179),'modulePath':k?w(0x191):w(0x180),'isNamedExport':![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x194),'begin':'const\x20authenticateUser','replace':!![]}),await f[w(0x172)]({'filePath':o+'.'+p,'content':w(0x171),'begin':'const\x20authenticateToken','replace':!![]}),await f[w(0x172)]({'filePath':o+'.'+p,'content':w(0x17a),'begin':w(0x181),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x16e),'begin':'const\x20deauthenticateUser','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x169),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x173),'begin':'const\x20registerNewUser','replace':!![]}),await f[w(0x172)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x1a0),'replace':!![]});k&&(await f['injectImport']({'filePath':o+'.'+p,'importName':w(0x184),'modulePath':w(0x192),'isNamedExport':!![]}),await f[w(0x178)]({'filePath':o+'.'+p,'content':w(0x16a),'begin':w(0x18f),'end':w(0x17f)}));await f['injectImport']({'filePath':l,'importName':w(0x17c),'modulePath':w(0x193),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x172)]({'filePath':l,'content':w(0x195),'begin':w(0x19f),'replace':!![]});const q=f[w(0x186)]({'pathParts':['imports',w(0x163),'server',w(0x190)]});await f[w(0x1a3)]({'filePath':q+'.'+p,'importName':w(0x187),'modulePath':w(0x19d),'isNamedExport':!![]}),await f[w(0x172)]({'filePath':q+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x168),'replace':!![]});}catch(r){Log[w(0x183)](r),process[w(0x18c)](0x1);}},async function(){},a127f);
@@ -1 +1 @@
1
- const a127x=a127d;(function(a,b){const u=a127d,c=a();while(!![]){try{const d=-parseInt(u(0x118))/0x1*(parseInt(u(0x112))/0x2)+parseInt(u(0x122))/0x3+parseInt(u(0x12e))/0x4*(parseInt(u(0x139))/0x5)+parseInt(u(0x111))/0x6+-parseInt(u(0x129))/0x7+parseInt(u(0x133))/0x8+-parseInt(u(0x119))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x3d19f));function a127c(){const z=['create','/imports/startup/lib/authentication-provider','335178WnGRwX','kit/auth/provider/authentication-provider.js','const\x20useAuth','<AuthProvider>','force','<AppRoutes\x20history={history}/>','constructor','191254ZMhSRz','/imports/startup/client','\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','scaffold','injectImport','22284ATyGnp','ssr','meteor','\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','.js','3867488yGHCuJ','pathFromApp','appName','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','template','const\x20PrivateRoute','230CURggs','exit','/routes','/imports/startup/client/authentication-provider','react','REACT','injectAroundString','\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','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','apply','split','/imports/startup/server/index','/imports/startup/lib','search','injectIntoCodeBlock','164118jjnwHc','4ltgjdZ','provider','engines','AuthProvider','useContext','<AppRoutes\x20/>','64929ZXZUOI','4241970CWEqKD','toString','authentication-provider','error','(((.+)+)+)+$','/imports/startup/client/index','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context'];a127c=function(){return z;};return a127c();}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a127d;if(c){const e=c[v(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const w=a127d;return a127a['toString']()[w(0x10f)](w(0x11d))[w(0x11a)]()[w(0x128)](a127a)['search']('(((.+)+)+)+$');});a127a();import{Generator}from'../../../generator.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x10a;let f=c[d];return f;},a127d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a127e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127x(0x120)]({'name':a127x(0x113),'aliases':['p'],'usage':a127x(0x10a),'shortDesc':a127x(0x11f),'validOpts':[a127x(0x126)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127x(0x13e)]},'description':a127x(0x12b)},async function(a,b){const y=a127x;try{const c=b[y(0x126)]||![];Log['bright'](y(0x136));const {projectConfig:d}=this,f=d[y(0x114)][y(0x12f)]===y(0x130),g={'name':capitalCase(d[y(0x135)])},h=f?y(0x10e):y(0x12a),i=this[y(0x12c)][y(0x134)]({'pathParts':[h,'','',y(0x11b)]});await this[y(0x12c)][y(0x137)]({'srcPath':y(0x123),'destPath':i+y(0x132),'framework':y(0x13d),'context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+y(0x13b),l=k['split']('/'),m=this['scaffold']['pathFromApp']({'pathParts':l});await this[y(0x12c)]['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x13c),'isNamedExport':!![]}),await this[y(0x12c)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x116),'modulePath':y(0x13d),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x12c)][y(0x110)]({'filePath':m+'.'+j,'content':y(0x131),'begin':[y(0x124),'function\x20useAuth'],'replace':!![]}),await this[y(0x12c)][y(0x110)]({'filePath':m+'.'+j,'content':y(0x140),'begin':[y(0x138)],'replace':!![]});const n=y(0x11e),o=n[y(0x10c)]('/'),p=this[y(0x12c)][y(0x134)]({'pathParts':o});await this[y(0x12c)][y(0x12d)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['scaffold']['injectAroundString']({'filePath':p+'.'+j,'aboveContent':y(0x125),'belowContent':'</AuthProvider>','targetString':y(0x117),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x10d),r=q[y(0x10c)]('/'),s=this[y(0x12c)][y(0x134)]({'pathParts':r});await this[y(0x12c)][y(0x12d)]({'filePath':s+'.'+j,'importName':y(0x115),'modulePath':f?y(0x121):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x12c)][y(0x13f)]({'filePath':s+'.'+j,'aboveContent':y(0x125),'belowContent':'</AuthProvider>','targetString':y(0x127),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x11c)](t),process[y(0x13a)](0x1);}},async function(){},a127e);
1
+ const a128x=a128d;(function(a,b){const u=a128d,c=a();while(!![]){try{const d=-parseInt(u(0x1ab))/0x1+-parseInt(u(0x1a5))/0x2+-parseInt(u(0x19d))/0x3+parseInt(u(0x198))/0x4+parseInt(u(0x18d))/0x5+-parseInt(u(0x180))/0x6*(-parseInt(u(0x187))/0x7)+-parseInt(u(0x19e))/0x8*(-parseInt(u(0x188))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xe1842));function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x17e;let f=c[d];return f;},a128d(a,b);}const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a128d;if(c){const e=c[v(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const w=a128d;return a128a[w(0x1a4)]()[w(0x1a6)](w(0x18f))[w(0x1a4)]()[w(0x18a)](a128a)[w(0x1a6)]('(((.+)+)+)+$');});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a128e from'./auth.generator.js';function a128c(){const z=['search','meteor','/imports/startup/client','/imports/startup/server/index','/imports/startup/lib','1132356ZvtOPa','force','template','react','error','6FqxaYc','/imports/startup/client/index','injectIntoCodeBlock','/imports/startup/lib/authentication-provider','<AuthProvider>','scaffold','apply','1738198DBTOyh','14931153YflopL','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','constructor','REACT','<AppRoutes\x20history={history}/>','5277745WIiXKh','injectAroundString','(((.+)+)+)+$','.js','injectImport','<AppRoutes\x20/>','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','engines','split','\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','useContext','3126004BNqArG','function\x20useAuth','/imports/startup/client/authentication-provider','kit/auth/provider/authentication-provider.js','ssr','4730250JoTjLY','8ZPPlyP','const\x20PrivateRoute','</AuthProvider>','authentication-provider','pathFromApp','/routes','toString','223122glyPVo'];a128c=function(){return z;};return a128c();}import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a128x(0x193),'validOpts':[a128x(0x1ac)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a128x(0x18b)]},'description':a128x(0x196)},async function(a,b){const y=a128x;try{const c=b['force']||![];Log['bright'](y(0x189));const {projectConfig:d}=this,f=d[y(0x194)][y(0x19c)]===y(0x1a7),g={'name':capitalCase(d['appName'])},h=f?y(0x1aa):y(0x1a8),i=this[y(0x185)]['pathFromApp']({'pathParts':[h,'','',y(0x1a1)]});await this['scaffold'][y(0x1ad)]({'srcPath':y(0x19b),'destPath':i+y(0x190),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x194)]['js'],k=h+y(0x1a3),l=k[y(0x195)]('/'),m=this[y(0x185)]['pathFromApp']({'pathParts':l});await this[y(0x185)][y(0x191)]({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0x183):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x185)][y(0x191)]({'filePath':m+'.'+j,'importName':y(0x197),'modulePath':y(0x17e),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold']['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':['const\x20useAuth',y(0x199)],'replace':!![]}),await this[y(0x185)][y(0x182)]({'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':[y(0x19f)],'replace':!![]});const n=y(0x181),o=n['split']('/'),p=this[y(0x185)][y(0x1a2)]({'pathParts':o});await this[y(0x185)][y(0x191)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x183):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x185)][y(0x18e)]({'filePath':p+'.'+j,'aboveContent':y(0x184),'belowContent':y(0x1a0),'targetString':y(0x192),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1a9),r=q[y(0x195)]('/'),s=this[y(0x185)][y(0x1a2)]({'pathParts':r});await this[y(0x185)]['injectImport']({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x183):y(0x19a),'isNamedExport':!![]}),await this[y(0x185)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1a0),'targetString':y(0x18c),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x17f)](t),process['exit'](0x1);}},async function(){},a128e);
@@ -1 +1 @@
1
- (function(a,b){var f=a128d,c=a();while(!![]){try{var d=parseInt(f(0x1a5))/0x1+parseInt(f(0x1ac))/0x2*(parseInt(f(0x1aa))/0x3)+parseInt(f(0x19f))/0x4+-parseInt(f(0x1a1))/0x5+-parseInt(f(0x1a8))/0x6*(parseInt(f(0x1a7))/0x7)+parseInt(f(0x1a9))/0x8*(parseInt(f(0x1a4))/0x9)+-parseInt(f(0x1a2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xedfc3));var a128b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a128d;if(c){var e=c[g(0x1ab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){var h=a128d;return a128a[h(0x19e)]()[h(0x1a0)](h(0x1a3))[h(0x19e)]()[h(0x1a6)](a128a)[h(0x1a0)](h(0x1a3));});a128a();function a128d(a,b){var c=a128c();return a128d=function(d,e){d=d-0x19e;var f=c[d];return f;},a128d(a,b);}function a128c(){var i=['65233DYvZBB','498rXIIMy','32tqOywm','3THEThw','apply','2301554Nebpcz','toString','4612360eREzeo','search','8207415PhGIRe','25014900vPSujN','(((.+)+)+)+$','3695472UHIWKO','1944938HewsSJ','constructor'];a128c=function(){return i;};return a128c();}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(0xa4))/0x1*(parseInt(f(0xb0))/0x2)+-parseInt(f(0xa8))/0x3*(parseInt(f(0xa6))/0x4)+-parseInt(f(0xad))/0x5+parseInt(f(0xab))/0x6*(parseInt(f(0xb3))/0x7)+parseInt(f(0xb2))/0x8*(-parseInt(f(0xa9))/0x9)+parseInt(f(0xa5))/0xa*(parseInt(f(0xa3))/0xb)+parseInt(f(0xb1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xd83fe));function a129c(){var i=['388622ReHwPF','4757140JRJZQQ','68xWkXmC','search','179637bGRQlC','1884294cnTWUW','constructor','120PkERdu','toString','4501530PqIqzi','(((.+)+)+)+$','apply','2bJaBzd','28346868FxtxaI','32RirYNU','417249djAIaE','11qLCjyM'];a129c=function(){return i;};return a129c();}var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0xaf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a['toString']()[h(0xa7)](h(0xae))[h(0xac)]()[h(0xaa)](a129a)['search'](h(0xae));});a129a();function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0xa3;var f=c[d];return f;},a129d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a129i=a129d;function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x160;let f=c[d];return f;},a129d(a,b);}(function(a,b){const f=a129d,c=a();while(!![]){try{const d=-parseInt(f(0x165))/0x1+-parseInt(f(0x167))/0x2*(-parseInt(f(0x169))/0x3)+-parseInt(f(0x174))/0x4*(parseInt(f(0x168))/0x5)+-parseInt(f(0x16e))/0x6*(-parseInt(f(0x170))/0x7)+-parseInt(f(0x16a))/0x8+parseInt(f(0x172))/0x9+-parseInt(f(0x164))/0xa*(-parseInt(f(0x171))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xc29e7));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a129d;if(c){const e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const h=a129d;return a129a[h(0x162)]()[h(0x161)](h(0x160))[h(0x162)]()[h(0x16c)](a129a)[h(0x161)](h(0x160));});a129a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a129e from'../kit.js';const EsriGen=Generator[a129i(0x16f)]({'name':a129i(0x166),'aliases':['e'],'usage':a129i(0x163),'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a129i(0x16b)],'description':a129i(0x173)},async function(){throw UsageError;},async function(){},a129e);export default EsriGen;function a129c(){const j=['1270526TdPfQh','esri','70254UOpeRv','967790WEAzGD','87hrAolL','12079688rZvURi','maka\x20g:kit:e','constructor','apply','1290grYYJT','create','34755WGBWhZ','19297102ZielUE','2860920GbQIGH','\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','12NQFgXV','(((.+)+)+)+$','search','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','10YCuAYd'];a129c=function(){return j;};return a129c();}
1
+ function a130c(){const j=['2TtHHoC','apply','esri','4613580oDRsTY','(((.+)+)+)+$','48905TwlbOo','15283584XQHrla','1411758HMYqtF','761965oWDtsk','toString','2761084pEeqVt','search','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','constructor','4372417mfXKZL'];a130c=function(){return j;};return a130c();}const a130i=a130d;(function(a,b){const f=a130d,c=a();while(!![]){try{const d=parseInt(f(0x17e))/0x1*(parseInt(f(0x185))/0x2)+-parseInt(f(0x17d))/0x3+parseInt(f(0x180))/0x4+-parseInt(f(0x17b))/0x5+parseInt(f(0x188))/0x6+parseInt(f(0x184))/0x7+-parseInt(f(0x17c))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x6f146));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a130d;if(c){const e=c[g(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0x17f)]()[h(0x181)](h(0x189))[h(0x17f)]()[h(0x183)](a130a)[h(0x181)]('(((.+)+)+)+$');});a130a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a130e from'../kit.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x17b;let f=c[d];return f;},a130d(a,b);}const EsriGen=Generator['create']({'name':a130i(0x187),'aliases':['e'],'usage':a130i(0x182),'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){throw UsageError;},async function(){},a130e);export default EsriGen;
@@ -1 +1 @@
1
- const a130v=a130d;(function(a,b){const s=a130d,c=a();while(!![]){try{const d=-parseInt(s(0x19a))/0x1*(-parseInt(s(0x1bc))/0x2)+parseInt(s(0x1c0))/0x3+parseInt(s(0x196))/0x4+parseInt(s(0x1ab))/0x5*(parseInt(s(0x1be))/0x6)+parseInt(s(0x19d))/0x7*(parseInt(s(0x1a0))/0x8)+parseInt(s(0x1a5))/0x9+-parseInt(s(0x198))/0xa*(parseInt(s(0x1bb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x5f176));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a130d;if(c){const e=c[t(0x1b9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const u=a130d;return a130a[u(0x1ac)]()[u(0x1b7)]('(((.+)+)+)+$')[u(0x1ac)]()[u(0x1aa)](a130a)[u(0x1b7)](u(0x19f));});a130a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'./esri.generator.js';import a130f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x195;let f=c[d];return f;},a130d(a,b);}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a130v(0x1ae),'aliases':['m'],'usage':a130v(0x1a6),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a130v(0x1af)],'ssr':SsrEngines[a130v(0x19c)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const w=a130v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x1a7)](w(0x1a8));const h=w(0x195);await f[w(0x1b1)]([w(0x1b4),w(0x1ad)],{'shouldInstall':!![]});const i=d[w(0x1b8)](),j=c[w(0x199)][w(0x1bd)]===w(0x1b5),k=await a130f[w(0x19e)]('page',[w(0x1ae)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x197)])[w(0x1c1)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x1bf)]?w(0x1a3)+b['baseDir']:w(0x1b3),n=g['pathFromApp']({'pathParts':[m,b[w(0x1a9)],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':'kit/esri/map/'+h+w(0x1ba),'destPath':n+w(0x1ba),'framework':w(0x19b),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x1a9)]+'/'+h+'/'+h;await g[w(0x1b2)](h,c,o);const p=k[w(0x1a4)]('/'),q=g[w(0x1b6)]({'pathParts':p});await g['injectImport']({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x1b0):w(0x1c2),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x1a1),'begin':[w(0x1a2),w(0x1a2)],'end':['</div>'],'replace':!![]});}catch(r){Log['error'](r),process['exit'](0x1);}},async function(){},a130e);function a130c(){const x=['dir','constructor','7255iKLeDN','toString','esri-loader','map','REACT','/imports/startup/lib/templates','checkNpmPackage','injectTemplateModule','/imports/ui/components','@esri/react-arcgis','meteor','pathFromApp','search','findProjectDirectory','apply','.js','21363452pZVdqG','1284kJjCqO','ssr','3168sZUYZm','baseDir','508074uTozDz','replaceAll','/imports/startup/client/templates','basic-map','1176548jzgeJg','appName','10uotrqg','engines','239yohVTi','react','NONE','7EHnHrK','processAndRunGenerator','(((.+)+)+)+$','4555600JoneeD','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','<div\x20id=\x22map\x22>','/imports/ui/','split','3412035NietkV','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','bright','Generating\x20a\x20map\x20component'];a130c=function(){return x;};return a130c();}
1
+ const a131v=a131d;(function(a,b){const s=a131d,c=a();while(!![]){try{const d=-parseInt(s(0x1eb))/0x1+parseInt(s(0x1e3))/0x2+-parseInt(s(0x1e2))/0x3+-parseInt(s(0x1f8))/0x4+-parseInt(s(0x1e5))/0x5*(parseInt(s(0x1e1))/0x6)+-parseInt(s(0x201))/0x7+parseInt(s(0x20b))/0x8*(parseInt(s(0x1ea))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xdc13e));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a131d;if(c){const e=c[t(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const u=a131d;return a131a[u(0x207)]()[u(0x1e8)](u(0x211))['toString']()[u(0x1f4)](a131a)[u(0x1e8)](u(0x211));});a131a();import{Generator}from'../../../generator.js';function a131c(){const x=['injectIntoFile','(((.+)+)+)+$','map','323508vHmTpK','818271Uahxlq','1751042sISbhA','apply','115WbcyKA','REACT','ssr','search','injectTemplateModule','423hGGeBE','447188zeMTaN','bright','findProjectDirectory','/imports/ui/','exit','create','esri-loader','.js','Generating\x20a\x20map\x20component','constructor','template','<div\x20id=\x22map\x22>','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','1329176BUAcsF','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','baseDir','appName','</div>','replaceAll','react','dir','NONE','5142305GQiXEL','/imports/startup/lib/templates','pathFromApp','meteor','checkNpmPackage','Generate\x20an\x20Esri\x20map\x20component','toString','processAndRunGenerator','/imports/ui/components','page','519640PSfHiP','injectImport','engines','split','@esri/react-arcgis'];a131c=function(){return x;};return a131c();}function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a131d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a131e from'./esri.generator.js';import a131f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a131v(0x1f0)]({'name':a131v(0x212),'aliases':['m'],'usage':a131v(0x1f9),'shortDesc':a131v(0x206),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a131v(0x1e6)],'ssr':SsrEngines[a131v(0x200)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const w=a131v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x1ec)](w(0x1f3));const h='basic-map';await f[w(0x205)]([w(0x20f),w(0x1f1)],{'shouldInstall':!![]});const i=d[w(0x1ed)](),j=c[w(0x20d)][w(0x1e7)]===w(0x204),k=await a131f[w(0x208)](w(0x20a),[w(0x212)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x1fb)])[w(0x1fd)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x1fa)]?w(0x1ee)+b[w(0x1fa)]:w(0x209),n=g['pathFromApp']({'pathParts':[m,b['dir'],kebabCase(h),kebabCase(h)]});await g[w(0x1f5)]({'srcPath':'kit/esri/map/'+h+w(0x1f2),'destPath':n+w(0x1f2),'framework':w(0x1fe),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x1ff)]+'/'+h+'/'+h;await g[w(0x1e9)](h,c,o);const p=k[w(0x20e)]('/'),q=g[w(0x203)]({'pathParts':p});await g[w(0x20c)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x202):'/imports/startup/client/templates','isNamedExport':!![]}),await g[w(0x210)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x1f7),'begin':[w(0x1f6),'<div\x20id=\x22map\x22>'],'end':[w(0x1fc)],'replace':!![]});}catch(r){Log['error'](r),process[w(0x1ef)](0x1);}},async function(){},a131e);
@@ -1 +1 @@
1
- const a131i=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=-parseInt(f(0xd0))/0x1*(parseInt(f(0xdd))/0x2)+parseInt(f(0xd8))/0x3*(-parseInt(f(0xcf))/0x4)+-parseInt(f(0xd1))/0x5+-parseInt(f(0xde))/0x6+-parseInt(f(0xdb))/0x7*(parseInt(f(0xd9))/0x8)+parseInt(f(0xd5))/0x9+parseInt(f(0xdf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x42241));function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xce;let f=c[d];return f;},a131d(a,b);}const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a[h(0xe0)]()['search'](h(0xce))[h(0xe0)]()[h(0xd6)](a131a)[h(0xd2)]('(((.+)+)+)+$');});a131a();import{Generator}from'../../generator.js';const KitGen=Generator[a131i(0xda)]({'name':a131i(0xdc),'aliases':['k'],'usage':a131i(0xd3),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':['maka\x20g:kit',a131i(0xd7)]},async function(){});export default KitGen;function a131c(){const j=['1106163ALsjeX','constructor','maka\x20g:k','696093qaNrZj','566448nGVhma','create','14tObydh','kit','14pNUtGA','392664SKeZan','11713790ApMBAE','toString','(((.+)+)+)+$','4bQujND','29698aYKYal','1882000PjEvdL','search','maka\x20{generate,\x20g}:{kit}\x20<name>','apply'];a131c=function(){return j;};return a131c();}
1
+ const a132h=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0xf1))/0x1+-parseInt(f(0xef))/0x2*(parseInt(f(0xe8))/0x3)+parseInt(f(0xee))/0x4+parseInt(f(0xec))/0x5*(-parseInt(f(0xe9))/0x6)+parseInt(f(0xe7))/0x7+parseInt(f(0xf0))/0x8+parseInt(f(0xeb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xdbb39));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const g=a132d;return a132a['toString']()['search'](g(0xf5))[g(0xed)]()['constructor'](a132a)[g(0xf2)](g(0xf5));});a132a();function a132c(){const i=['toString','427100NvDWAz','2258IdgbKO','12387048BAsLcj','164292CRODoj','search','create','maka\x20g:kit','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}\x20<name>','9088709pTODcB','4581jhAbyT','9720978VyLVpw','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','10135872gItNTq','5sARHpW'];a132c=function(){return i;};return a132c();}import{Generator}from'../../generator.js';const KitGen=Generator[a132h(0xf3)]({'name':'kit','aliases':['k'],'usage':a132h(0xf6),'shortDesc':a132h(0xea),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a132h(0xf4),'maka\x20g:k']},async function(){});function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xe7;let f=c[d];return f;},a132d(a,b);}export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a132d,c=a();while(!![]){try{var d=parseInt(f(0x197))/0x1+-parseInt(f(0x19a))/0x2+-parseInt(f(0x193))/0x3*(parseInt(f(0x19d))/0x4)+parseInt(f(0x19c))/0x5*(-parseInt(f(0x19f))/0x6)+-parseInt(f(0x19b))/0x7*(-parseInt(f(0x198))/0x8)+parseInt(f(0x195))/0x9+parseInt(f(0x19e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x4f956));function a132c(){var i=['713880hweRTk','search','256226ilvuFn','1701584DLQNDq','(((.+)+)+)+$','781478qzrrmx','21GGfzah','15FFKwsf','665232ydcrVu','1977560MXyoff','576750FzUCwb','toString','3YpxcUF','apply'];a132c=function(){return i;};return a132c();}var a132b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a132d;if(c){var e=c[g(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){var h=a132d;return a132a['toString']()[h(0x196)](h(0x199))[h(0x192)]()['constructor'](a132a)[h(0x196)](h(0x199));});a132a();import'./mui.generator.js';import'./frame.mui.gen.js';function a132d(a,b){var c=a132c();return a132d=function(d,e){d=d-0x192;var f=c[d];return f;},a132d(a,b);}import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a133d,c=a();while(!![]){try{var d=-parseInt(f(0xf4))/0x1+-parseInt(f(0xea))/0x2*(-parseInt(f(0xf2))/0x3)+parseInt(f(0xe8))/0x4+parseInt(f(0xf5))/0x5*(parseInt(f(0xee))/0x6)+parseInt(f(0xf1))/0x7+-parseInt(f(0xe9))/0x8+-parseInt(f(0xef))/0x9*(parseInt(f(0xf3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xa08c0));var a133b=(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;};}()),a133a=a133b(this,function(){var g=a133d;return a133a[g(0xeb)]()[g(0xf0)](g(0xec))[g(0xeb)]()[g(0xed)](a133a)[g(0xf0)]('(((.+)+)+)+$');});function a133d(a,b){var c=a133c();return a133d=function(d,e){d=d-0xe8;var f=c[d];return f;},a133d(a,b);}a133a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a133c(){var h=['constructor','324OPPkLE','3093768yZpoOw','search','6554275EAJBgO','6cgoeKc','40GhdWFs','387715xVuOke','63610LLzjdU','2970772wcUeuy','7570456seKsWL','1000624eHTcPk','toString','(((.+)+)+)+$'];a133c=function(){return h;};return a133c();}
@@ -1 +1 @@
1
- function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xef;let f=c[d];return f;},a133d(a,b);}const a133L=a133d;(function(a,b){const I=a133d,c=a();while(!![]){try{const d=-parseInt(I(0x112))/0x1*(-parseInt(I(0x124))/0x2)+parseInt(I(0xfc))/0x3+-parseInt(I(0xf4))/0x4*(-parseInt(I(0x122))/0x5)+-parseInt(I(0x10e))/0x6*(parseInt(I(0x114))/0x7)+-parseInt(I(0x115))/0x8*(parseInt(I(0x11a))/0x9)+-parseInt(I(0x103))/0xa+-parseInt(I(0xf0))/0xb*(-parseInt(I(0x12d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xed416));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a133d;if(c){const e=c[J(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const K=a133d;return a133a['toString']()[K(0x123)](K(0x113))[K(0xfa)]()['constructor'](a133a)[K(0x123)]('(((.+)+)+)+$');});a133a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a133e from'../../../generators/maka.gen.js';import a133f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a133L(0xff),'aliases':['a'],'usage':a133L(0x100),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a133L(0x10a),'force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a133L(0x108)],'client':ClientEngines[a133L(0x129)]},'examples':[a133L(0x12c),a133L(0xf7)],'description':a133L(0xfb)},async function(a,b){const M=a133L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b['force']||![],h=d['findProjectDirectory'](),i=await Actions[M(0x106)]({'name':'authType','message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':M(0x10f),'value':M(0xf2)},{'name':M(0x121),'value':'custom'}]}),j='basic-login-page',k=M(0xf5),l=M(0x120),m=M(0x10c),n=M(0x127),o=b[M(0x119)]?M(0x12b)+b[M(0x119)]:M(0xf8),p=f['pathFromApp']({'pathParts':[o,b[M(0xfd)],kebabCase(j),kebabCase(j)]}),q=f[M(0x10b)]({'pathParts':[o,b[M(0xfd)],kebabCase(k),kebabCase(k)]}),r=f[M(0x10b)]({'pathParts':[o,b[M(0xfd)],kebabCase(l),kebabCase(l)]}),s=f[M(0x10b)]({'pathParts':[o,b[M(0xfd)],kebabCase(m),kebabCase(m)]}),t=f['pathFromApp']({'pathParts':[o,b[M(0xfd)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0xf1)])};await f[M(0x11d)]({'srcPath':M(0x109)+j+M(0x118),'destPath':p+'.js','framework':M(0xef),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x11d)]({'srcPath':M(0x101)+k+'.js','destPath':q+M(0x118),'framework':M(0xef),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x11d)]({'srcPath':'kit/mui/auth/register/'+l+M(0x118),'destPath':r+M(0x118),'framework':M(0xef),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x125)+m+M(0x118),'destPath':s+M(0x118),'framework':M(0xef),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x11d)]({'srcPath':M(0xfe)+n+'.js','destPath':t+M(0x118),'framework':M(0xef),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0xfd)]+'/'+j+'/'+j;await f[M(0x128)](j,c,v);const w=''+o+b[M(0xfd)]+'/'+k+'/'+k;await f[M(0x128)](k,c,w);const x=''+o+b[M(0xfd)]+'/'+l+'/'+l;await f[M(0x128)](l,c,x);const y=''+o+b[M(0xfd)]+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b['dir']+'/'+n+'/'+n;await f[M(0x128)](n,c,z),await a133e[M(0x105)]('route',[M(0x102)],{'route':'login','cwd':h,'config':c}),await a133e[M(0x105)](M(0x12a),[M(0xf5)],{'route':M(0x11c),'private':!![],'cwd':h,'config':c}),await a133e[M(0x105)](M(0x12a),[M(0x120)],{'route':M(0x11e),'cwd':h,'config':c}),await a133e[M(0x105)](M(0x12a),[M(0x10c)],{'route':'reset-password/:token','cwd':h,'config':c}),await a133e['processAndRunGenerator'](M(0x12a),['basic-forgot-password-page'],{'route':'forgot-password','cwd':h,'config':c});i===M(0xf2)&&await a133e['processAndRunGenerator'](M(0xf6),[],{'force':g,'cwd':h,'config':c});i===M(0x111)&&await a133e[M(0x105)]('kit:auth:provider',[],{'force':g,'cwd':h,'config':c});const A=c['engines'][M(0x10d)]===M(0xf2),B=c[M(0x11b)]['js'],C=f['pathFromApp']({'pathParts':v[M(0xf3)]('/')});await f[M(0x116)]({'filePath':C+'.'+B,'importName':M(0x110),'modulePath':A?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=f[M(0x10b)]({'pathParts':w[M(0xf3)]('/')});await f[M(0x116)]({'filePath':D+'.'+B,'importName':'AuthContext','modulePath':A?M(0x104):M(0x107),'isNamedExport':!![]});const E=f[M(0x10b)]({'pathParts':x[M(0xf3)]('/')});await f['injectImport']({'filePath':E+'.'+B,'importName':'AuthContext','modulePath':A?M(0x104):M(0x107),'isNamedExport':!![]});const F=f['pathFromApp']({'pathParts':y['split']('/')});await f[M(0x116)]({'filePath':F+'.'+B,'importName':M(0x110),'modulePath':A?M(0x104):M(0x107),'isNamedExport':!![]});const G=f[M(0x10b)]({'pathParts':z[M(0xf3)]('/')});await f[M(0x116)]({'filePath':G+'.'+B,'importName':'AuthContext','modulePath':A?M(0x104):M(0x107),'isNamedExport':!![]});}catch(H){Log[M(0x117)](H),process['exit'](0x1);}},async function(){const N=a133L;console[N(0xf9)](N(0x11f));},a133f);function a133c(){const O=['basic-logout-page','kit:auth:meteor','maka\x20g:k:m:a','/imports/ui/pages/auth','log','toString','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','5714247gBCaSO','dir','kit/mui/auth/forgot-password/','auth','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','kit/mui/auth/logout/','basic-login-page','5597140ZrXQAq','/imports/startup/lib/authentication-provider','processAndRunGenerator','select','/imports/startup/client/authentication-provider','MATERIAL','kit/mui/auth/login/','layouts','pathFromApp','basic-password-reset-page','ssr','287604wHOOSt','Meteor\x20Accounts','AuthContext','custom','3733LkeqKE','(((.+)+)+)+$','224GyyKLl','6566536sxVFNG','injectImport','error','.js','baseDir','9ZOQcTZ','engines','logout','template','register','Cleaning\x20up...','basic-register-page','Custom\x20(roll\x20your\x20own)','5DnxEIA','search','14fpeZOG','kit/mui/auth/password-reset/','apply','basic-forgot-password-page','injectTemplateModule','REACT','route','/imports/ui/','maka\x20generate:kit:mui:auth','108jscCWW','react','1705682XFnpOE','appName','meteor','split','2239116FmMfQp'];a133c=function(){return O;};return a133c();}export default a133f;
1
+ const a134L=a134d;(function(a,b){const I=a134d,c=a();while(!![]){try{const d=-parseInt(I(0x213))/0x1+-parseInt(I(0x207))/0x2+parseInt(I(0x1f7))/0x3*(parseInt(I(0x217))/0x4)+parseInt(I(0x205))/0x5*(-parseInt(I(0x212))/0x6)+parseInt(I(0x1fe))/0x7+-parseInt(I(0x21f))/0x8*(-parseInt(I(0x208))/0x9)+-parseInt(I(0x220))/0xa*(-parseInt(I(0x20d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x8fa81));function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1e9;let f=c[d];return f;},a134d(a,b);}const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a134d;if(c){const e=c[J(0x1f9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const K=a134d;return a134a[K(0x21d)]()['search'](K(0x1fd))['toString']()['constructor'](a134a)[K(0x1f3)](K(0x1fd));});a134a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a134e from'../../../generators/maka.gen.js';function a134c(){const O=['kit/mui/auth/register/','kit/mui/auth/password-reset/','maka\x20g:k:m:a','basic-logout-page','route','create','search','basic-password-reset-page','select','Cleaning\x20up...','15018ldlwEt','auth','apply','kit/mui/auth/logout/','/imports/startup/lib/authentication-provider','exit','(((.+)+)+)+$','776398vDNiZu','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','maka\x20generate:kit:mui:auth','reset-password/:token','template','basic-login-page','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','670XdsRNa','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','667808McAnOA','2829555FTFLVB','split','appName','custom','findProjectDirectory','11ENwxEF','baseDir','login','dir','MATERIAL','1932BGldsN','810532mtCpsf','Meteor\x20Accounts','pathFromApp','processAndRunGenerator','436oerQvU','.js','basic-forgot-password-page','meteor','kit:auth:provider','AuthContext','toString','react','16ogqhqv','4906430VIqQVL','Custom\x20(roll\x20your\x20own)','engines','injectImport','/imports/startup/client/authentication-provider','injectTemplateModule','error','authType','/imports/ui/','basic-register-page','force','REACT'];a134c=function(){return O;};return a134c();}import a134f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a134L(0x1f2)]({'name':a134L(0x1f8),'aliases':['a'],'usage':a134L(0x204),'shortDesc':a134L(0x1ff),'validOpts':['layouts',a134L(0x1eb)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a134L(0x211)],'client':ClientEngines[a134L(0x1ec)]},'examples':[a134L(0x200),a134L(0x1ef)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20'},async function(a,b){const M=a134L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x1eb)]||![],h=d[M(0x20c)](),i=await Actions[M(0x1f5)]({'name':M(0x227),'message':M(0x206),'choices':[{'name':M(0x214),'value':M(0x21a)},{'name':M(0x221),'value':M(0x20b)}]}),j=M(0x203),k=M(0x1f0),l=M(0x1ea),m=M(0x1f4),n=M(0x219),o=b['baseDir']?M(0x1e9)+b[M(0x20e)]:'/imports/ui/pages/auth',p=f['pathFromApp']({'pathParts':[o,b[M(0x210)],kebabCase(j),kebabCase(j)]}),q=f[M(0x215)]({'pathParts':[o,b[M(0x210)],kebabCase(k),kebabCase(k)]}),r=f['pathFromApp']({'pathParts':[o,b[M(0x210)],kebabCase(l),kebabCase(l)]}),s=f['pathFromApp']({'pathParts':[o,b[M(0x210)],kebabCase(m),kebabCase(m)]}),t=f[M(0x215)]({'pathParts':[o,b[M(0x210)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x20a)])};await f[M(0x202)]({'srcPath':'kit/mui/auth/login/'+j+M(0x218),'destPath':p+M(0x218),'framework':M(0x21e),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x202)]({'srcPath':M(0x1fa)+k+M(0x218),'destPath':q+M(0x218),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x202)]({'srcPath':M(0x1ed)+l+'.js','destPath':r+M(0x218),'framework':M(0x21e),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x1ee)+m+'.js','destPath':s+M(0x218),'framework':M(0x21e),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x202)]({'srcPath':'kit/mui/auth/forgot-password/'+n+'.js','destPath':t+'.js','framework':M(0x21e),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b['dir']+'/'+j+'/'+j;await f[M(0x225)](j,c,v);const w=''+o+b[M(0x210)]+'/'+k+'/'+k;await f[M(0x225)](k,c,w);const x=''+o+b['dir']+'/'+l+'/'+l;await f[M(0x225)](l,c,x);const y=''+o+b[M(0x210)]+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b[M(0x210)]+'/'+n+'/'+n;await f[M(0x225)](n,c,z),await a134e[M(0x216)](M(0x1f1),['basic-login-page'],{'route':M(0x20f),'cwd':h,'config':c}),await a134e[M(0x216)](M(0x1f1),['basic-logout-page'],{'route':'logout','private':!![],'cwd':h,'config':c}),await a134e[M(0x216)](M(0x1f1),[M(0x1ea)],{'route':'register','cwd':h,'config':c}),await a134e[M(0x216)](M(0x1f1),[M(0x1f4)],{'route':M(0x201),'cwd':h,'config':c}),await a134e[M(0x216)](M(0x1f1),['basic-forgot-password-page'],{'route':'forgot-password','cwd':h,'config':c});i===M(0x21a)&&await a134e[M(0x216)]('kit:auth:meteor',[],{'force':g,'cwd':h,'config':c});i===M(0x20b)&&await a134e['processAndRunGenerator'](M(0x21b),[],{'force':g,'cwd':h,'config':c});const A=c['engines']['ssr']===M(0x21a),B=c[M(0x222)]['js'],C=f[M(0x215)]({'pathParts':v[M(0x209)]('/')});await f[M(0x223)]({'filePath':C+'.'+B,'importName':M(0x21c),'modulePath':A?M(0x1fb):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=f[M(0x215)]({'pathParts':w['split']('/')});await f['injectImport']({'filePath':D+'.'+B,'importName':M(0x21c),'modulePath':A?M(0x1fb):M(0x224),'isNamedExport':!![]});const E=f[M(0x215)]({'pathParts':x[M(0x209)]('/')});await f[M(0x223)]({'filePath':E+'.'+B,'importName':M(0x21c),'modulePath':A?M(0x1fb):M(0x224),'isNamedExport':!![]});const F=f[M(0x215)]({'pathParts':y[M(0x209)]('/')});await f[M(0x223)]({'filePath':F+'.'+B,'importName':M(0x21c),'modulePath':A?M(0x1fb):M(0x224),'isNamedExport':!![]});const G=f[M(0x215)]({'pathParts':z['split']('/')});await f[M(0x223)]({'filePath':G+'.'+B,'importName':M(0x21c),'modulePath':A?M(0x1fb):M(0x224),'isNamedExport':!![]});}catch(H){Log[M(0x226)](H),process[M(0x1fc)](0x1);}},async function(){const N=a134L;console['log'](N(0x1f6));},a134f);export default a134f;
@@ -1 +1 @@
1
- function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0xe9;let f=c[d];return f;},a134d(a,b);}function a134c(){const K=['maka\x20generate:kit:mui:frame','351688OqAgRQ','maka:react-tracker','force','<div\x20id=\x22','injectIntoFile','error','tsx','15neAJKw','length','11768oVrmNG','(((.+)+)+)+$','template','imports','Cleaning\x20up...','search','979230TSBqAf','MATERIAL','tests','dir','maka\x20g:k:m:f','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','layouts','join','react','app-tests','/imports/startup/lib/templates','@mui/material/Box','basic-app-bar','/imports/startup/client/templates','-hook\x22>','frame','ssr','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','injectTemplateModule','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','100484UbuuYZ','checkMeteorPackage','REACT','baseDir','session','</div>','pathFromApp','75875jCdoUS','kit/mui/frame/drawers/','639776XgzRZH','2474577LrfrPn','getFiles','injectImport','<Outlet/>','toString','33abYgJo','<Outlet\x20/>','/imports/ui/components','apply','1253qyoore','.js','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','map','No\x20layouts\x20selected','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','102xhhhSe','\x20/>\x0a','basic-sticky-footer','log','test','constructor','meteor'];a134c=function(){return K;};return a134c();}const a134H=a134d;(function(a,b){const E=a134d,c=a();while(!![]){try{const d=parseInt(E(0x114))/0x1+-parseInt(E(0xf3))/0x2*(-parseInt(E(0x11b))/0x3)+parseInt(E(0xfc))/0x4+-parseInt(E(0xfa))/0x5*(parseInt(E(0x10c))/0x6)+parseInt(E(0x106))/0x7*(-parseInt(E(0x11d))/0x8)+parseInt(E(0xfd))/0x9+-parseInt(E(0x123))/0xa*(parseInt(E(0x102))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x36616));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a134d;if(c){const e=c[F(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const G=a134d;return a134a[G(0x101)]()[G(0x122)](G(0x11e))[G(0x101)]()[G(0x111)](a134a)[G(0x122)]('(((.+)+)+)+$');});a134a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a134e from'path';import a134f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a134H(0xee),'aliases':['f'],'usage':a134H(0xf2),'shortDesc':a134H(0x10b),'validOpts':[a134H(0x129),a134H(0xf6),a134H(0x126),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a134H(0x124)],'client':ClientEngines[a134H(0xf5)]},'examples':[a134H(0x113),a134H(0x127)],'description':a134H(0x108)},async function(a,b){const I=a134H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x116)]||![],i=I(0xeb),j='basic-drawer',k=I(0x10e),l=c['engines'][I(0xef)]===I(0x112);await f[I(0xf4)]([I(0xf7),I(0x115)],{'shouldInstall':!![]});const m=d['findAppDirectory'](),n=a134e['join'](m,I(0x120),'ui',I(0x129)),o=d['getDirectories'](n),p=o[I(0x109)](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':I(0x128),'name':I(0x129),'choices':p});if(q[I(0x11c)]===0x0){Log[I(0x119)](I(0x10a));return;}const r=b[I(0xf6)]?'/imports/ui/'+b['baseDir']:I(0x104),s=g[I(0xf9)]({'pathParts':[r,b[I(0x126)],kebabCase(i),kebabCase(i)]}),t=g[I(0xf9)]({'pathParts':[r,b[I(0x126)],kebabCase(j),kebabCase(j)]}),u=g['pathFromApp']({'pathParts':[r,b['dir'],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c['appName'])};await g['template']({'srcPath':'kit/mui/frame/app-bars/'+i+I(0x107),'destPath':s+I(0x107),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x11f)]({'srcPath':I(0xfb)+j+I(0x107),'destPath':t+I(0x107),'framework':I(0x12b),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':'kit/mui/frame/footers/'+k+I(0x107),'destPath':u+I(0x107),'framework':I(0x12b),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0x126)]+'/'+i+'/'+i;await g[I(0xf1)](i,c,w);const x=''+r+b[I(0x126)]+'/'+j+'/'+j;await g['injectTemplateModule'](j,c,x);const y=''+r+b[I(0x126)]+'/'+k+'/'+k;await g[I(0xf1)](k,c,y);for(const z of q){const A=d[I(0xfe)](a134e[I(0x12a)](n,z),{'extensions':['jsx',I(0x11a)],'omit':[I(0x12c),I(0x125),I(0x110)]});for(const B of A){const C=a134e[I(0x12a)](n,z,B);await g[I(0xff)]({'filePath':C,'importName':'Box','modulePath':I(0xea),'isNamedExport':![]}),await g[I(0xff)]({'filePath':C,'importName':'Container','modulePath':'@mui/material/Container','isNamedExport':![]}),await g[I(0xff)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0xe9):I(0xec),'isNamedExport':!![]}),await g[I(0x118)]({'filePath':C,'content':'<'+pascalCase(i)+I(0x10d),'begin':[I(0x117)+z+'\x22>','<div\x20id=\x22'+z+I(0xed)],'end':[I(0x100),I(0x103)]}),await g[I(0xff)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?I(0xe9):I(0xec),'isNamedExport':!![]}),await g[I(0x118)]({'filePath':C,'content':'<'+pascalCase(j)+'\x20/>\x0a','begin':[I(0x117)+z+'\x22>',I(0x117)+z+I(0xed)],'end':[I(0x100),'<Outlet\x20/>']}),await g[I(0x118)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x10d),'begin':['<Outlet/>',I(0x103)],'end':[I(0xf8)]}),await g[I(0xff)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0xe9):I(0xec),'isNamedExport':!![]}),await g['injectAroundString']({'filePath':C,'aboveContent':'<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','belowContent':I(0xf0),'targetString':['<Outlet/>',I(0x103)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x119)](D);}},async function(){const J=a134H;console[J(0x10f)](J(0x121));},a134f);
1
+ const a135G=a135d;(function(a,b){const E=a135d,c=a();while(!![]){try{const d=-parseInt(E(0x202))/0x1+parseInt(E(0x1e2))/0x2*(-parseInt(E(0x1e7))/0x3)+-parseInt(E(0x1ef))/0x4*(-parseInt(E(0x211))/0x5)+parseInt(E(0x1f6))/0x6*(parseInt(E(0x210))/0x7)+parseInt(E(0x203))/0x8+-parseInt(E(0x205))/0x9+parseInt(E(0x21d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x7e623));const a135b=(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;};}()),a135a=a135b(this,function(){const F=a135d;return a135a[F(0x1fb)]()[F(0x20d)](F(0x201))[F(0x1fb)]()[F(0x21a)](a135a)[F(0x20d)](F(0x201));});a135a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x1da;let f=c[d];return f;},a135d(a,b);}import a135e from'path';import a135f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a135G(0x214)]({'name':a135G(0x1e4),'aliases':['f'],'usage':a135G(0x206),'shortDesc':a135G(0x207),'validOpts':[a135G(0x209),a135G(0x1e6),a135G(0x20a),a135G(0x20e)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a135G(0x200)],'client':ClientEngines[a135G(0x1e3)]},'examples':[a135G(0x217),a135G(0x20f)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const H=a135G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b['force']||![],i='basic-app-bar',j=H(0x1db),k=H(0x216),l=c['engines']['ssr']===H(0x1dc);await f['checkMeteorPackage'](['session',H(0x1e5)],{'shouldInstall':!![]});const m=d[H(0x215)](),n=a135e['join'](m,'imports','ui','layouts'),o=d[H(0x1fd)](n),p=o[H(0x1f5)](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':H(0x219),'name':'layouts','choices':p});if(q[H(0x21c)]===0x0){Log[H(0x1fa)]('No\x20layouts\x20selected');return;}const r=b[H(0x1e6)]?H(0x1ec)+b[H(0x1e6)]:H(0x1f3),s=g[H(0x1f4)]({'pathParts':[r,b['dir'],kebabCase(i),kebabCase(i)]}),t=g['pathFromApp']({'pathParts':[r,b[H(0x20a)],kebabCase(j),kebabCase(j)]}),u=g[H(0x1f4)]({'pathParts':[r,b[H(0x20a)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0x1e8)])};await g[H(0x1dd)]({'srcPath':'kit/mui/frame/app-bars/'+i+H(0x1ed),'destPath':s+'.js','framework':H(0x1ea),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':H(0x1f2)+j+'.js','destPath':t+H(0x1ed),'framework':H(0x1ea),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x1dd)]({'srcPath':H(0x1ee)+k+H(0x1ed),'destPath':u+H(0x1ed),'framework':H(0x1ea),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[H(0x20a)]+'/'+i+'/'+i;await g['injectTemplateModule'](i,c,w);const x=''+r+b['dir']+'/'+j+'/'+j;await g[H(0x1da)](j,c,x);const y=''+r+b[H(0x20a)]+'/'+k+'/'+k;await g[H(0x1da)](k,c,y);for(const z of q){const A=d['getFiles'](a135e['join'](n,z),{'extensions':[H(0x1df),H(0x212)],'omit':['app-tests',H(0x204),'test']});for(const B of A){const C=a135e['join'](n,z,B);await g[H(0x1fc)]({'filePath':C,'importName':H(0x1e9),'modulePath':H(0x21b),'isNamedExport':![]}),await g['injectImport']({'filePath':C,'importName':H(0x20c),'modulePath':H(0x1e0),'isNamedExport':![]}),await g[H(0x1fc)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0x1eb):H(0x1f9),'isNamedExport':!![]}),await g[H(0x208)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':['<div\x20id=\x22'+z+'\x22>','<div\x20id=\x22'+z+H(0x1f7)],'end':['<Outlet/>',H(0x1ff)]}),await g['injectImport']({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0x1eb):'/imports/startup/client/templates','isNamedExport':!![]}),await g[H(0x208)]({'filePath':C,'content':'<'+pascalCase(j)+H(0x1de),'begin':['<div\x20id=\x22'+z+'\x22>',H(0x1e1)+z+H(0x1f7)],'end':[H(0x1f0),H(0x1ff)]}),await g[H(0x208)]({'filePath':C,'content':'<'+pascalCase(k)+H(0x1de),'begin':[H(0x1f0),H(0x1ff)],'end':[H(0x1f1)]}),await g[H(0x1fc)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0x1eb):H(0x1f9),'isNamedExport':!![]}),await g[H(0x213)]({'filePath':C,'aboveContent':H(0x218),'belowContent':H(0x1f8),'targetString':[H(0x1f0),H(0x1ff)],'targetIndentAdjustment':0x6});}}}catch(D){Log['error'](D);}},async function(){const I=a135G;console[I(0x1fe)](I(0x20b));},a135f);function a135c(){const J=['tests','3160368JhTYqp','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','injectIntoFile','layouts','dir','Cleaning\x20up...','Container','search','force','maka\x20g:k:m:f','378daFXIj','1190EVotEO','tsx','injectAroundString','create','findAppDirectory','basic-sticky-footer','maka\x20generate:kit:mui:frame','<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>','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','constructor','@mui/material/Box','length','11149520aDTlHd','injectTemplateModule','basic-drawer','meteor','template','\x20/>\x0a','jsx','@mui/material/Container','<div\x20id=\x22','675018OWLUll','REACT','frame','maka:react-tracker','baseDir','9QEQNhG','appName','Box','react','/imports/startup/lib/templates','/imports/ui/','.js','kit/mui/frame/footers/','8472AggwuI','<Outlet/>','</div>','kit/mui/frame/drawers/','/imports/ui/components','pathFromApp','map','2760qLLZka','-hook\x22>','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','/imports/startup/client/templates','error','toString','injectImport','getDirectories','log','<Outlet\x20/>','MATERIAL','(((.+)+)+)+$','339701MEMGYx','4617368eHzJSV'];a135c=function(){return J;};return a135c();}
@@ -1 +1 @@
1
- const a135j=a135d;(function(a,b){const g=a135d,c=a();while(!![]){try{const d=parseInt(g(0x159))/0x1+-parseInt(g(0x14e))/0x2*(parseInt(g(0x149))/0x3)+parseInt(g(0x153))/0x4*(-parseInt(g(0x164))/0x5)+-parseInt(g(0x14d))/0x6+parseInt(g(0x154))/0x7+-parseInt(g(0x160))/0x8+-parseInt(g(0x15c))/0x9*(-parseInt(g(0x157))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xb5944));function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x144;let f=c[d];return f;},a135d(a,b);}const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a135d;if(c){const e=c[h(0x151)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const i=a135d;return a135a['toString']()['search']('(((.+)+)+)+$')[i(0x158)]()[i(0x15f)](a135a)[i(0x14b)](i(0x168));});a135a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';function a135c(){const l=['findProjectDirectory','(((.+)+)+)+$','cfg','checkbox','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','auth','fsi','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','1885431SSzRIk','exit','search','error','4803576BdXtAQ','2LnALps','No\x20MUI\x20kits\x20selected.\x20Exiting.','kit:mui:auth','apply','create','461284fdnZAt','3065307ZIsMKL','\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','kit:mui:frame','28525670iaFhpf','toString','900852IkVRas','processAndRunGenerator','length','9rzIhoj','frame','Header,\x20Footer,\x20and\x20Drawer','constructor','11535152ENQmtm','notice','maka\x20g:kit:m','kitChoices','25aQnSKO','includes','Auth\x20workflow\x20(login,\x20logout,\x20etc.)'];a135c=function(){return l;};return a135c();}import a135e from'../../../generators/maka.gen.js';import a135f from'../kit.js';const MuiGen=Generator[a135j(0x152)]({'name':'mui','aliases':['m'],'usage':a135j(0x148),'resourceNameRequired':![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a135j(0x162)]},async function(){const k=a135j;try{Log['info'](k(0x145)),Log[k(0x161)](k(0x155));const a=await Actions[k(0x144)]({'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','name':k(0x163),'choices':[{'name':k(0x15e),'value':'frame'},{'name':k(0x166),'value':k(0x146)}]}),b=this[k(0x147)][k(0x167)](),c=this[k(0x169)]['getMakaProjectConfig']();a[k(0x165)](k(0x15d))&&await a135e[k(0x15a)](k(0x156),[],{'force':!![],'cwd':b,'config':c});a[k(0x165)](k(0x146))&&await a135e[k(0x15a)](k(0x150),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x15b)]===0x0){Log['info'](k(0x14f));return;}}catch(d){Log[k(0x14c)](d),process[k(0x14a)](0x1);}},async function(){},a135f);export default MuiGen;
1
+ const a136j=a136d;function a136c(){const l=['toString','maka\x20g:kit:m','kitChoices','50oBIulU','8819376ctyFGD','processAndRunGenerator','kit:mui:auth','16212JlnCBp','Header,\x20Footer,\x20and\x20Drawer','454SiIAJx','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','3247551qpidWR','mui','No\x20MUI\x20kits\x20selected.\x20Exiting.','search','auth','2083518vhXPCl','304tXFKKh','cfg','exit','38594578QbrKUN','apply','findProjectDirectory','61532ILTdDR','366FgbzKD','includes','Material-UI\x20Kit','frame','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','notice','205CnTWdB','info','(((.+)+)+)+$','create','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'];a136c=function(){return l;};return a136c();}(function(a,b){const g=a136d,c=a();while(!![]){try{const d=parseInt(g(0x1b7))/0x1*(-parseInt(g(0x1cb))/0x2)+parseInt(g(0x1d2))/0x3+parseInt(g(0x1b6))/0x4*(parseInt(g(0x1bd))/0x5)+parseInt(g(0x1c6))/0x6+parseInt(g(0x1c9))/0x7*(-parseInt(g(0x1d3))/0x8)+-parseInt(g(0x1cd))/0x9*(-parseInt(g(0x1c5))/0xa)+-parseInt(g(0x1b3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0xe083c));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a136d;if(c){const e=c[h(0x1b4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const i=a136d;return a136a[i(0x1c2)]()[i(0x1d0)](i(0x1bf))['toString']()['constructor'](a136a)[i(0x1d0)](i(0x1bf));});a136a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a136e from'../../../generators/maka.gen.js';function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a136d(a,b);}import a136f from'../kit.js';const MuiGen=Generator[a136j(0x1c0)]({'name':a136j(0x1ce),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','resourceNameRequired':![],'shortDesc':a136j(0x1b9),'validOpts':[''],'isPro':!![],'examples':[a136j(0x1c3)]},async function(){const k=a136j;try{Log[k(0x1be)](k(0x1c1)),Log[k(0x1bc)]('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const a=await Actions['checkbox']({'message':k(0x1bb),'name':k(0x1c4),'choices':[{'name':k(0x1ca),'value':k(0x1ba)},{'name':k(0x1cc),'value':k(0x1d1)}]}),b=this['fsi'][k(0x1b5)](),c=this[k(0x1b1)]['getMakaProjectConfig']();a['includes'](k(0x1ba))&&await a136e['processAndRunGenerator']('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[k(0x1b8)](k(0x1d1))&&await a136e[k(0x1c7)](k(0x1c8),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[k(0x1be)](k(0x1cf));return;}}catch(d){Log['error'](d),process[k(0x1b2)](0x1);}},async function(){},a136f);export default MuiGen;