@maka/maka-cli 5.1.5 → 5.1.7

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 (171) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/test/_index.js +1 -1
  100. package/bundle/obf/src/commands/test/jest.sub.cmd.js +1 -1
  101. package/bundle/obf/src/commands/test/mocha.sub.cmd.js +1 -1
  102. package/bundle/obf/src/commands/test/test.command.js +1 -1
  103. package/bundle/obf/src/commands/undo.js +1 -1
  104. package/bundle/obf/src/commands/version.js +1 -1
  105. package/bundle/obf/src/error.js +1 -1
  106. package/bundle/obf/src/exec.js +1 -1
  107. package/bundle/obf/src/generator.js +1 -1
  108. package/bundle/obf/src/generators/_index.js +1 -1
  109. package/bundle/obf/src/generators/api.js +1 -1
  110. package/bundle/obf/src/generators/aws/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/aws.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  113. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  114. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  115. package/bundle/obf/src/generators/collection.js +1 -1
  116. package/bundle/obf/src/generators/component.js +1 -1
  117. package/bundle/obf/src/generators/config.js +1 -1
  118. package/bundle/obf/src/generators/dbc.js +1 -1
  119. package/bundle/obf/src/generators/dockerfile.js +1 -1
  120. package/bundle/obf/src/generators/hook.js +1 -1
  121. package/bundle/obf/src/generators/kits/_index.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  124. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  127. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  128. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/kit.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  132. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  133. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  134. package/bundle/obf/src/generators/layout.js +1 -1
  135. package/bundle/obf/src/generators/maka.gen.js +1 -1
  136. package/bundle/obf/src/generators/methods.js +1 -1
  137. package/bundle/obf/src/generators/package.js +1 -1
  138. package/bundle/obf/src/generators/page.js +1 -1
  139. package/bundle/obf/src/generators/publish.js +1 -1
  140. package/bundle/obf/src/generators/route.js +1 -1
  141. package/bundle/obf/src/generators/service.js +1 -1
  142. package/bundle/obf/src/generators/services/_index.js +1 -1
  143. package/bundle/obf/src/generators/services/openssl.js +1 -1
  144. package/bundle/obf/src/generators/services/translation.js +1 -1
  145. package/bundle/obf/src/maka.js +1 -1
  146. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.jsx +4 -1
  147. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.tsx +4 -1
  148. package/bundle/obf/src/tool.js +1 -1
  149. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  150. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  151. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  153. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  154. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  155. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  156. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/https/https.class.js +1 -1
  158. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  159. package/bundle/obf/src/tools/log/log.class.js +1 -1
  160. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  161. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  162. package/bundle/obf/src/tools/options/options.class.js +1 -1
  163. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  164. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  165. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  166. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  167. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  168. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  169. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  170. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  171. package/package.json +1 -1
@@ -1 +1 @@
1
- const a117m=a117d;(function(a,b){const k=a117d,c=a();while(!![]){try{const d=parseInt(k(0xb0))/0x1+-parseInt(k(0xc4))/0x2*(parseInt(k(0xc5))/0x3)+-parseInt(k(0xc7))/0x4*(parseInt(k(0xae))/0x5)+-parseInt(k(0xcb))/0x6+parseInt(k(0xd0))/0x7+parseInt(k(0xb4))/0x8+parseInt(k(0xb3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xd9ce5));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const l=a117d;return a117a['toString']()[l(0xc0)]('(((.+)+)+)+$')[l(0xc8)]()['constructor'](a117a)['search'](l(0xb5));});a117a();import{camelCase,kebabCase,pascalCase}from'change-case';function a117c(){const o=['6mToopO','1089759RdGLaB','scaffold','4AvzeUF','toString','template','imports','2535930RwBVpz','error','dbc/register-dbc.js','pkg','projectConfig','4947019LMLYqM','index.','tsx','server','better-sqlite3','engines','sqlite','dbc/conn.js','pgsql','dbc','6955405QguKJr','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','1583319lOMFwn','-dbc.','pathFromApp','9824598pGkAFN','3311760cUaunG','(((.+)+)+)+$','create','checkNpmPackage','type','mssql','dbc/config.js','startup','config.','register-','resourceName','dir','search','-dbc\x27;','maka\x20g:dbc\x20todos\x20--type=sqlite','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.'];a117c=function(){return o;};return a117c();}import{Generator}from'../generator.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xaa;let f=c[d];return f;},a117d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a117m(0xb6)]({'name':a117m(0xad),'usage':a117m(0xaf),'shortDesc':a117m(0xc3),'validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':['pgsql',a117m(0xb9),'sqlite']}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:dbc\x20azure\x20--type=mssql',a117m(0xc2)]},async function(a,b){const n=a117m;try{const c=this[n(0xcf)],d=kebabCase(b[n(0xbe)]),f={'name':pascalCase(b[n(0xbe)]),'fileName':kebabCase(b[n(0xbe)]),'camelCase':camelCase(b[n(0xbe)]),'type':b[n(0xb8)],'engine':c['engines']['js'],'noRename':!![]},g=b[n(0xbf)]?'/'+b[n(0xbf)]+'/':'/';let h='js';c['engines']['js']===n(0xd2)&&(h='ts');b['type']===n(0xac)&&await this[n(0xce)][n(0xb7)]('pg',{'shouldInstall':!![]});b[n(0xb8)]===n(0xb9)&&await this[n(0xce)][n(0xb7)](n(0xb9),{'shouldInstall':!![]});b[n(0xb8)]===n(0xaa)&&await this[n(0xce)][n(0xb7)](n(0xd4),{'shouldInstall':!![]});await this[n(0xc6)][n(0xc9)]({'srcPath':n(0xba),'destPath':this[n(0xc6)][n(0xb2)]({'pathParts':[n(0xca),n(0xbb),n(0xd3),n(0xad),g,d,n(0xbc)+h]}),'context':f,'config':c}),await this[n(0xc6)][n(0xc9)]({'srcPath':n(0xab),'destPath':this[n(0xc6)]['pathFromApp']({'pathParts':[n(0xca),'startup',n(0xd3),n(0xad),g,d,'conn.'+h]}),'context':f,'config':c}),await this[n(0xc6)][n(0xc9)]({'srcPath':n(0xcd),'destPath':this[n(0xc6)]['pathFromApp']({'pathParts':[n(0xca),n(0xbb),'server',n(0xbd)+d+n(0xb1)+h]}),'context':f,'config':c});const i=this[n(0xc6)][n(0xb2)]({'pathParts':['imports',n(0xbb),n(0xd3),n(0xd1)+c[n(0xd5)]['js']]});await this['scaffold']['injectAtEndOfFile']({'filePath':i,'content':'import\x20\x27./register-'+d+n(0xc1)});}catch(j){Log[n(0xcc)](j);}});
1
+ const a117n=a117d;(function(a,b){const k=a117d,c=a();while(!![]){try{const d=-parseInt(k(0xa7))/0x1+parseInt(k(0xbc))/0x2*(parseInt(k(0xc2))/0x3)+parseInt(k(0xa5))/0x4*(-parseInt(k(0xad))/0x5)+-parseInt(k(0xbd))/0x6*(parseInt(k(0xb2))/0x7)+parseInt(k(0xa2))/0x8*(-parseInt(k(0xb8))/0x9)+-parseInt(k(0xa6))/0xa*(parseInt(k(0x96))/0xb)+parseInt(k(0xb4))/0xc*(parseInt(k(0xab))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x3c99b));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a117d;if(c){const e=c[l(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a['toString']()[m(0xc1)]('(((.+)+)+)+$')[m(0x9b)]()[m(0x9d)](a117a)['search'](m(0xa3));});a117a();function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x8f;let f=c[d];return f;},a117d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a117c(){const p=['register-','config.','projectConfig','207914jyxLwa','dir','84FgVSWT','maka\x20g:dbc\x20azure\x20--type=mssql','pgsql','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','134523oGjgKU','maka\x20g:dbc\x20geoserver\x20--type=pgsql','create','pathFromApp','2QkUAmE','84HdaqNZ','better-sqlite3','import\x20\x27./register-','type','search','1262043FtwfCY','server','tsx','conn.','dbc','mssql','maka\x20g:dbc\x20todos\x20--type=sqlite','resourceName','868153ZBoefw','startup','scaffold','index.','-dbc\x27;','toString','apply','constructor','dbc/config.js','error','pkg','dbc/register-dbc.js','256vGUjkJ','(((.+)+)+)+$','template','342004IKTRKu','50GsfnGn','291323XtKttW','imports','sqlite','injectAtEndOfFile','3408067lWRdKw','checkNpmPackage','25PBeRMy','engines'];a117c=function(){return p;};return a117c();}Generator[a117n(0xba)]({'name':a117n(0x92),'usage':a117n(0xb7),'shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':[a117n(0xb3)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a117n(0xc0),'values':[a117n(0xb6),a117n(0x93),a117n(0xa9)]}],'examples':[a117n(0xb9),a117n(0xb5),a117n(0x94)]},async function(a,b){const o=a117n;try{const c=this[o(0xb1)],d=kebabCase(b[o(0x95)]),f={'name':pascalCase(b[o(0x95)]),'fileName':kebabCase(b[o(0x95)]),'camelCase':camelCase(b['resourceName']),'type':b['type'],'engine':c['engines']['js'],'noRename':!![]},g=b[o(0xb3)]?'/'+b[o(0xb3)]+'/':'/';let h='js';c[o(0xae)]['js']===o(0x90)&&(h='ts');b['type']===o(0xb6)&&await this[o(0xa0)]['checkNpmPackage']('pg',{'shouldInstall':!![]});b[o(0xc0)]===o(0x93)&&await this['pkg'][o(0xac)](o(0x93),{'shouldInstall':!![]});b['type']===o(0xa9)&&await this['pkg']['checkNpmPackage'](o(0xbe),{'shouldInstall':!![]});await this[o(0x98)][o(0xa4)]({'srcPath':o(0x9e),'destPath':this[o(0x98)][o(0xbb)]({'pathParts':[o(0xa8),o(0x97),o(0x8f),'dbc',g,d,o(0xb0)+h]}),'context':f,'config':c}),await this['scaffold'][o(0xa4)]({'srcPath':'dbc/conn.js','destPath':this[o(0x98)][o(0xbb)]({'pathParts':[o(0xa8),o(0x97),o(0x8f),'dbc',g,d,o(0x91)+h]}),'context':f,'config':c}),await this[o(0x98)][o(0xa4)]({'srcPath':o(0xa1),'destPath':this['scaffold'][o(0xbb)]({'pathParts':[o(0xa8),o(0x97),o(0x8f),o(0xaf)+d+'-dbc.'+h]}),'context':f,'config':c});const i=this['scaffold']['pathFromApp']({'pathParts':[o(0xa8),'startup',o(0x8f),o(0x99)+c[o(0xae)]['js']]});await this['scaffold'][o(0xaa)]({'filePath':i,'content':o(0xbf)+d+o(0x9a)});}catch(j){Log[o(0x9f)](j);}});
@@ -1 +1 @@
1
- function a118c(){const n=['44CpCWTS','error','fsi','46wABkzI','apply','(((.+)+)+)+$','13916480fRNVij','force','Dockerfile','50307qMPtUn','cfg','app.tar.gz','search','689915tZOtGm','toString','docker/Dockerfile','57669876AnFwnU','findProjectDirectory','join','dockerfile','19134lRZnMa','scaffold','getMakaProjectConfig','1883CWJhIP','template','cert','create','maka\x20{generate,\x20g}:dockerfile','1529007xIMYpn','2731473ZpGHkx','50rZiiWL','Generate\x20an\x20updated\x20dockerfile'];a118c=function(){return n;};return a118c();}const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d=parseInt(i(0xec))/0x1*(-parseInt(i(0xe6))/0x2)+-parseInt(i(0xdf))/0x3+-parseInt(i(0xe3))/0x4*(parseInt(i(0xf0))/0x5)+parseInt(i(0xf7))/0x6*(-parseInt(i(0xda))/0x7)+-parseInt(i(0xe9))/0x8+parseInt(i(0xe0))/0x9*(parseInt(i(0xe1))/0xa)+parseInt(i(0xf3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xeed51));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a118d;if(c){const e=c[j(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const k=a118d;return a118a[k(0xf1)]()['search'](k(0xe8))['toString']()['constructor'](a118a)[k(0xef)](k(0xe8));});a118a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xda;let f=c[d];return f;},a118d(a,b);}import a118e from'path';Generator[a118l(0xdd)]({'name':a118l(0xf6),'usage':a118l(0xde),'shortDesc':a118l(0xe2),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118l(0xea),'boolFlag':!![]}],'examples':['maka\x20g:dockerfile']},async function(a,b){const m=a118l;try{const c=this['cfg'][m(0xf9)](),d=await this[m(0xed)]['getGlobalConfig'](),f=this[m(0xe5)][m(0xf4)](),g={'app':c['appName'],'config':c,'appPath':a118e[m(0xf5)](f,'app'),'bundlePath':a118e[m(0xf5)](f,'build',m(0xee)),'useCert':d['cert']?this[m(0xe5)]['isFile'](d[m(0xdc)]):![]};await this[m(0xf8)][m(0xdb)]({'srcPath':m(0xf2),'destPath':a118e[m(0xf5)](f,m(0xeb)),'framework':'service','context':g,'config':c,'force':b[m(0xea)]});}catch(h){Log[m(0xe4)](h);}});
1
+ const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d=-parseInt(i(0x103))/0x1*(-parseInt(i(0x120))/0x2)+-parseInt(i(0xff))/0x3*(-parseInt(i(0x11e))/0x4)+parseInt(i(0x110))/0x5+parseInt(i(0x104))/0x6+-parseInt(i(0x10a))/0x7*(-parseInt(i(0x111))/0x8)+-parseInt(i(0x115))/0x9+parseInt(i(0x117))/0xa*(-parseInt(i(0x102))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x91205));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a118d;if(c){const e=c[j(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const k=a118d;return a118a[k(0x11d)]()[k(0x100)](k(0x105))[k(0x11d)]()['constructor'](a118a)['search'](k(0x105));});a118a();import{Generator}from'../generator.js';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xff;let f=c[d];return f;},a118d(a,b);}import{Log}from'../tools/log/log.class.js';import a118e from'path';function a118c(){const n=['4cZkrmG','Dockerfile','6BhrKzy','search','findProjectDirectory','187FpwWYx','204613YBuDqd','3659682FddDEL','(((.+)+)+)+$','app','service','getMakaProjectConfig','maka\x20g:dockerfile','350owxtWX','join','dockerfile','appName','cert','cfg','5707285XbmOWs','58096nLVmtY','apply','maka\x20{generate,\x20g}:dockerfile','app.tar.gz','1202724leowpU','create','1311510RuHpqE','scaffold','force','getGlobalConfig','isFile','build','toString','867820HfVFSY','fsi'];a118c=function(){return n;};return a118c();}Generator[a118l(0x116)]({'name':a118l(0x10c),'usage':a118l(0x113),'shortDesc':'Generate\x20an\x20updated\x20dockerfile','resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118l(0x119),'boolFlag':!![]}],'examples':[a118l(0x109)]},async function(a,b){const m=a118l;try{const c=this[m(0x10f)][m(0x108)](),d=await this[m(0x10f)][m(0x11a)](),f=this[m(0x11f)][m(0x101)](),g={'app':c[m(0x10d)],'config':c,'appPath':a118e[m(0x10b)](f,m(0x106)),'bundlePath':a118e[m(0x10b)](f,m(0x11c),m(0x114)),'useCert':d[m(0x10e)]?this[m(0x11f)][m(0x11b)](d[m(0x10e)]):![]};await this[m(0x118)]['template']({'srcPath':'docker/Dockerfile','destPath':a118e[m(0x10b)](f,m(0x121)),'framework':m(0x107),'context':g,'config':c,'force':b[m(0x119)]});}catch(h){Log['error'](h);}});
@@ -1 +1 @@
1
- const a119o=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d=parseInt(l(0xa1))/0x1*(-parseInt(l(0xa8))/0x2)+-parseInt(l(0x7d))/0x3+-parseInt(l(0x8a))/0x4*(-parseInt(l(0xa6))/0x5)+parseInt(l(0x8c))/0x6*(-parseInt(l(0x77))/0x7)+parseInt(l(0x83))/0x8*(-parseInt(l(0x93))/0x9)+parseInt(l(0x74))/0xa+-parseInt(l(0x99))/0xb*(-parseInt(l(0x6e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x27c59));function a119c(){const q=['802040ERSRtx','fileName','baseDir','relative','pages','.css','withTranslations','1199620onMwoV','hook/hook.js','464070cNMOpS','/imports/ui/','Creating\x20','test/test.js','resourceName','@apollo/client\x20isomorphic-fetch','import\x20\x27./','9xycVNl','engines','graphql','error','hooks','search','11CxAWpO','fsi','force','(((.+)+)+)+$','toString','/imports/ui/components','findProjectDirectory','cfg','31612EtAiJh','layouts','@apollo/client','components','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','5OlVcNB','apply','2YcuKWy','\x20hook...','setTemplate','maka\x20g:hook\x20cool-hook','constructor','css','injectAtBeginningOfFile','661956nrtsLN','pkg','className','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','dir','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','2288420PHLmDb','template/template.css','hook','14vWeeMh','notice','.js','pathFromApp','template','scaffold','403344sYJrby','assign','react','\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','features','checkNpmPackage'];a119c=function(){return q;};return a119c();}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a119d;if(c){const e=c[m(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const n=a119d;return a119a[n(0x9d)]()[n(0x98)](n(0x9c))[n(0x9d)]()[n(0xac)](a119a)['search'](n(0x9c));});a119a();import a119e from'path';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x6c;let f=c[d];return f;},a119d(a,b);}import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a119o(0x76),'aliases':['h'],'checkWhere':![],'usage':a119o(0x73),'shortDesc':a119o(0x71),'mustBeInMakaProject':!![],'validOpts':[{'name':a119o(0x85),'values':[a119o(0x97),a119o(0xa4),a119o(0x87),a119o(0xa2)]},{'name':a119o(0x9b),'boolFlag':!![]}],'examples':[a119o(0xab)],'description':a119o(0x80)},async function(a,b){const p=a119o;Log[p(0x78)](p(0x8e)+b[p(0x90)]+p(0xa9));try{await this[p(0x6f)]['checkNpmPackage'](p(0x7f),{'shouldInstall':!![]});const c=this['fsi']['findAppDirectory'](),d=b[p(0x85)]?p(0x8d)+b[p(0x85)]:p(0x9e),f=this['scaffold'][p(0x7a)]({'pathParts':[d,b['dir'],kebabCase(b[p(0x90)]),kebabCase(b['resourceName'])]}),g=this['projectConfig'];typeof g[p(0x7b)]['css']==='string'&&this[p(0xa0)][p(0xaa)](p(0x6c),g['template']['css']);g[p(0x94)][p(0x95)]==='apollo'&&!this[p(0x6f)][p(0x82)](p(0xa3))&&(Log['warn'](p(0xa5)),await this[p(0x6f)]['installNpmPackage'](p(0x91),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x90)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[p(0x90)]),'name':pascalCase(b[p(0x90)]),'graphql':g[p(0x94)]['graphql'],'theme':g['engines']['theme'],'test':g['engines']['test'],'features':g[p(0x81)],'myPath':a119e[p(0x86)](this[p(0x9a)][p(0x9f)](),f),'fileName':kebabCase(b[p(0x90)]),'isComponent':![],'isLayout':![],'withTranslations':g['features'][p(0x89)]};await this[p(0x7c)]['template']({'srcPath':p(0x8b),'destPath':f+p(0x79),'context':h,'config':g,'framework':'react','force':b['force']});g[p(0x7b)][p(0x6c)]&&(await this[p(0x7c)]['template']({'srcPath':p(0x75),'destPath':f+p(0x88),'context':Object[p(0x7e)]({},h,{'className':h['cssCaseName']}),'config':g,'force':b[p(0x9b)]}),await this[p(0x7c)][p(0x6d)]({'filePath':f+'.'+g[p(0x94)]['js'],'content':p(0x92)+h[p(0x84)]+'.'+g[p(0x94)][p(0x6c)]+'\x27;'}));g[p(0x94)]['test']!=='none'&&await this[p(0x7c)][p(0x7b)]({'srcPath':p(0x8f),'destPath':f+'.app-tests.js','framework':p(0x7f),'context':h,'config':g,'force':b[p(0x9b)]});const i=b['dir']?'/'+b[p(0x72)]+'/':'/',j=''+d+i+h[p(0x84)]+'/'+h['fileName'];await this['scaffold']['injectTemplateModule'](h[p(0x70)],g,j);}catch(k){Log[p(0x96)](k);}});
1
+ const a119o=a119d;function a119c(){const q=['4190924jouOtY','3307062FeXezR','fsi','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','maka\x20g:hook\x20cool-hook','injectAtBeginningOfFile','apply','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','react','css','1042347xEtWfQ','2023JXwWdc','1161747zvvuDq','none','resourceName','withTranslations','graphql','projectConfig','1016041UjQrhd','test/test.js','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','@apollo/client\x20isomorphic-fetch','@apollo/client','warn','findProjectDirectory','error','engines','import\x20\x27./','24vMHhzj','5lHFMxZ','pages','cssCaseName','336uBqtvB','test','\x20hook...','template/template.css','checkNpmPackage','constructor','30EPGsil','injectTemplateModule','/imports/ui/','template','apollo','.js','baseDir','.app-tests.js','features','setTemplate','scaffold','toString','fileName','cfg','create','findAppDirectory','1074161mxtTMd','(((.+)+)+)+$','force','Creating\x20','dir','theme','search','className','relative','notice','2jNqeAH','30936opLLME','pkg'];a119c=function(){return q;};return a119c();}(function(a,b){const l=a119d,c=a();while(!![]){try{const d=-parseInt(l(0x110))/0x1+parseInt(l(0x11a))/0x2*(-parseInt(l(0xe4))/0x3)+-parseInt(l(0xda))/0x4*(-parseInt(l(0xf7))/0x5)+parseInt(l(0x11b))/0x6*(-parseInt(l(0xe5))/0x7)+parseInt(l(0xf6))/0x8*(-parseInt(l(0xe6))/0x9)+parseInt(l(0x100))/0xa*(parseInt(l(0xdb))/0xb)+-parseInt(l(0xfa))/0xc*(-parseInt(l(0xec))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xccdc6));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a119d;if(c){const e=c[m(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const n=a119d;return a119a['toString']()[n(0x116)](n(0x111))[n(0x10b)]()[n(0xff)](a119a)[n(0x116)](n(0x111));});a119a();function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xd9;let f=c[d];return f;},a119d(a,b);}import a119e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a119o(0x10e)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a119o(0xe1),'shortDesc':a119o(0xee),'mustBeInMakaProject':!![],'validOpts':[{'name':a119o(0x106),'values':['hooks','components',a119o(0xf8),'layouts']},{'name':'force','boolFlag':!![]}],'examples':[a119o(0xde)],'description':a119o(0xdd)},async function(a,b){const p=a119o;Log[p(0x119)](p(0x113)+b[p(0xe8)]+p(0xfc));try{await this['pkg'][p(0xfe)](p(0xe2),{'shouldInstall':!![]});const c=this[p(0xdc)][p(0x10f)](),d=b[p(0x106)]?p(0x102)+b[p(0x106)]:'/imports/ui/components',f=this[p(0x10a)]['pathFromApp']({'pathParts':[d,b[p(0x114)],kebabCase(b[p(0xe8)]),kebabCase(b['resourceName'])]}),g=this[p(0xeb)];typeof g['template'][p(0xe3)]==='string'&&this[p(0x10d)][p(0x109)](p(0xe3),g[p(0x103)][p(0xe3)]);g['engines']['graphql']===p(0x104)&&!this[p(0xd9)][p(0xfe)](p(0xf0))&&(Log[p(0xf1)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[p(0xd9)]['installNpmPackage'](p(0xef),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0xe8)]),'camelCaseName':camelCase(b[p(0xe8)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b[p(0xe8)]),'graphql':g['engines'][p(0xea)],'theme':g[p(0xf4)][p(0x115)],'test':g[p(0xf4)]['test'],'features':g[p(0x108)],'myPath':a119e[p(0x118)](this[p(0xdc)][p(0xf2)](),f),'fileName':kebabCase(b[p(0xe8)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x108)][p(0xe9)]};await this[p(0x10a)]['template']({'srcPath':'hook/hook.js','destPath':f+p(0x105),'context':h,'config':g,'framework':'react','force':b['force']});g[p(0x103)][p(0xe3)]&&(await this['scaffold'][p(0x103)]({'srcPath':p(0xfd),'destPath':f+'.css','context':Object['assign']({},h,{'className':h[p(0xf9)]}),'config':g,'force':b[p(0x112)]}),await this[p(0x10a)][p(0xdf)]({'filePath':f+'.'+g[p(0xf4)]['js'],'content':p(0xf5)+h[p(0x10c)]+'.'+g[p(0xf4)][p(0xe3)]+'\x27;'}));g[p(0xf4)][p(0xfb)]!==p(0xe7)&&await this[p(0x10a)]['template']({'srcPath':p(0xed),'destPath':f+p(0x107),'framework':p(0xe2),'context':h,'config':g,'force':b[p(0x112)]});const i=b['dir']?'/'+b[p(0x114)]+'/':'/',j=''+d+i+h[p(0x10c)]+'/'+h['fileName'];await this[p(0x10a)][p(0x101)](h[p(0x117)],g,j);}catch(k){Log[p(0xf3)](k);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a120d,c=a();while(!![]){try{var d=parseInt(f(0xe9))/0x1*(parseInt(f(0xe8))/0x2)+-parseInt(f(0xed))/0x3+-parseInt(f(0xf2))/0x4*(-parseInt(f(0xef))/0x5)+-parseInt(f(0xf5))/0x6+-parseInt(f(0xee))/0x7+-parseInt(f(0xf1))/0x8*(-parseInt(f(0xe7))/0x9)+parseInt(f(0xf3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x34a98));var a120b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a120d;if(c){var e=c[g(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){var h=a120d;return a120a['toString']()['search'](h(0xec))[h(0xf0)]()[h(0xf4)](a120a)[h(0xeb)](h(0xec));});a120a();function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0xe7;var f=c[d];return f;},a120d(a,b);}function a120c(){var i=['1869410aywqOQ','constructor','1934286gctCqb','904176MXkTdk','106WwLOnt','2386CkDiiz','apply','search','(((.+)+)+)+$','631911ZwjZED','1391404jWJzhM','15InvVuR','toString','32EgJwCz','309652kNdvTu'];a120c=function(){return i;};return a120c();}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
1
+ (function(a,b){var f=a120d,c=a();while(!![]){try{var d=-parseInt(f(0xa8))/0x1*(parseInt(f(0xa1))/0x2)+-parseInt(f(0xa2))/0x3+-parseInt(f(0xa6))/0x4*(parseInt(f(0xa5))/0x5)+parseInt(f(0xac))/0x6+parseInt(f(0xa0))/0x7*(-parseInt(f(0xab))/0x8)+parseInt(f(0xa4))/0x9*(-parseInt(f(0xaa))/0xa)+parseInt(f(0xae))/0xb*(parseInt(f(0xa9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x58c0a));var a120b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a120d;if(c){var e=c[g(0xad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){var h=a120d;return a120a[h(0xa3)]()['search'](h(0x9f))[h(0xa3)]()[h(0xa7)](a120a)['search'](h(0x9f));});a120a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a120c(){var i=['5751099oQnJZM','845ESaTRy','5132bFgXav','constructor','281PMrWET','6404232rINBwN','10ZBWYRc','62728vOUMCA','1742100FEBKBq','apply','44eKMPYo','(((.+)+)+)+$','406cCUQSX','1802jAHpQV','1493301JfvYSi','toString'];a120c=function(){return i;};return a120c();}function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0x9f;var f=c[d];return f;},a120d(a,b);}import'./auth/_index.js';
@@ -1 +1 @@
1
- (function(a,b){var f=a121d,c=a();while(!![]){try{var d=-parseInt(f(0x91))/0x1*(parseInt(f(0x8a))/0x2)+-parseInt(f(0x8c))/0x3*(parseInt(f(0x8f))/0x4)+-parseInt(f(0x93))/0x5+-parseInt(f(0x94))/0x6+parseInt(f(0x90))/0x7+-parseInt(f(0x97))/0x8+parseInt(f(0x8d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xd64b8));var a121b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a121d;if(c){var e=c[g(0x8b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){var h=a121d;return a121a[h(0x8e)]()[h(0x95)](h(0x92))[h(0x8e)]()[h(0x96)](a121a)['search'](h(0x92));});function a121c(){var i=['constructor','728096cTXtbd','38SaNXaK','apply','3CFpECi','17293950qfFqAi','toString','4007420xIhyGD','8887571SQwPYI','2030yUKCSW','(((.+)+)+)+$','1465590bxmNij','5333376DjzVpz','search'];a121c=function(){return i;};return a121c();}a121a();import'./auth.generator.js';import'./provider.auth.gen.js';function a121d(a,b){var c=a121c();return a121d=function(d,e){d=d-0x8a;var f=c[d];return f;},a121d(a,b);}import'./basic-meteor.auth.gen.js';
1
+ (function(a,b){var f=a121d,c=a();while(!![]){try{var d=parseInt(f(0x154))/0x1+parseInt(f(0x14b))/0x2*(parseInt(f(0x155))/0x3)+parseInt(f(0x157))/0x4+parseInt(f(0x152))/0x5*(-parseInt(f(0x14c))/0x6)+-parseInt(f(0x14e))/0x7+parseInt(f(0x153))/0x8*(parseInt(f(0x151))/0x9)+-parseInt(f(0x14f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x288e8));var a121b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a121d;if(c){var e=c[g(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){var h=a121d;return a121a[h(0x14d)]()['search'](h(0x14a))[h(0x14d)]()[h(0x156)](a121a)['search'](h(0x14a));});a121a();function a121c(){var i=['8sQqtuj','103697XbuicA','803427bAlwpP','constructor','395388qSQdme','(((.+)+)+)+$','2rUwNIP','870EnXVQZ','toString','362929OiQEkB','763900LNDkBS','apply','668466wNcekk','8630ODCXnt'];a121c=function(){return i;};return a121c();}import'./auth.generator.js';function a121d(a,b){var c=a121c();return a121d=function(d,e){d=d-0x14a;var f=c[d];return f;},a121d(a,b);}import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
@@ -1 +1 @@
1
- const a122i=a122d;(function(a,b){const f=a122d,c=a();while(!![]){try{const d=parseInt(f(0x1b1))/0x1*(-parseInt(f(0x1b4))/0x2)+parseInt(f(0x1b2))/0x3+-parseInt(f(0x1a2))/0x4+-parseInt(f(0x1a8))/0x5*(-parseInt(f(0x1a4))/0x6)+-parseInt(f(0x1aa))/0x7*(parseInt(f(0x1a1))/0x8)+-parseInt(f(0x1b0))/0x9+parseInt(f(0x1af))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x7a58f));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a122d;if(c){const e=c[g(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const h=a122d;return a122a[h(0x1ae)]()[h(0x1a0)](h(0x1ab))[h(0x1ae)]()[h(0x1a5)](a122a)[h(0x1a0)](h(0x1ab));});function a122c(){const k=['802380bTVmAZ','maka\x20g:kit:a','5600EjYrQf','(((.+)+)+)+$','apply','auth','toString','20260790xSaTvF','3544227sIbGmg','4rZSHRI','1049337LsykGR','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','373244BsNEpP','search','1704emhyZL','3539936oVkLXN','create','12EeKvrx','constructor','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','NIE'];a122c=function(){return k;};return a122c();}a122a();function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1a0;let f=c[d];return f;},a122d(a,b);}import{Generator}from'../../../generator.js';import a122e from'../kit.js';const AuthGen=Generator[a122i(0x1a3)]({'name':a122i(0x1ad),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':a122i(0x1b3),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a122i(0x1a9)],'description':a122i(0x1a6)},async function(){const j=a122i;throw j(0x1a7);},async function(){},a122e);export default AuthGen;
1
+ const a122i=a122d;function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x11b;let f=c[d];return f;},a122d(a,b);}(function(a,b){const f=a122d,c=a();while(!![]){try{const d=-parseInt(f(0x125))/0x1+parseInt(f(0x130))/0x2*(parseInt(f(0x127))/0x3)+parseInt(f(0x12d))/0x4*(parseInt(f(0x121))/0x5)+parseInt(f(0x124))/0x6*(parseInt(f(0x126))/0x7)+parseInt(f(0x12f))/0x8*(parseInt(f(0x128))/0x9)+-parseInt(f(0x131))/0xa+parseInt(f(0x120))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x844ec));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a122d;if(c){const e=c[g(0x11c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const h=a122d;return a122a[h(0x11b)]()[h(0x12b)]('(((.+)+)+)+$')[h(0x11b)]()[h(0x11d)](a122a)[h(0x12b)](h(0x123));});a122a();import{Generator}from'../../../generator.js';import a122e from'../kit.js';const AuthGen=Generator[a122i(0x12c)]({'name':a122i(0x11e),'aliases':['a'],'usage':a122i(0x129),'shortDesc':a122i(0x11f),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a122i(0x122)],'description':a122i(0x12e)},async function(){const j=a122i;throw j(0x12a);},async function(){},a122e);function a122c(){const k=['search','create','1532TOMewo','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','272kTtDmk','184914pjxAPZ','5758890pANIJq','toString','apply','constructor','auth','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','2622741jUpQAc','790EfTPBz','maka\x20g:kit:a','(((.+)+)+)+$','6CBwJKK','330407BNKPGI','1501178ISerbW','9rkqAiL','174033wqrGyq','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','NIE'];a122c=function(){return k;};return a122c();}export default AuthGen;
@@ -1 +1 @@
1
- const a123u=a123d;(function(a,b){const s=a123d,c=a();while(!![]){try{const d=-parseInt(s(0x100))/0x1+-parseInt(s(0x10f))/0x2+parseInt(s(0x117))/0x3+parseInt(s(0x115))/0x4*(parseInt(s(0x12f))/0x5)+-parseInt(s(0x121))/0x6*(parseInt(s(0xf5))/0x7)+-parseInt(s(0xf2))/0x8*(parseInt(s(0x114))/0x9)+parseInt(s(0x132))/0xa*(parseInt(s(0x12b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x7b06b));function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xf2;let f=c[d];return f;},a123d(a,b);}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 t=a123d;return a123a[t(0xfd)]()[t(0x130)]('(((.+)+)+)+$')[t(0xfd)]()[t(0x113)](a123a)['search']('(((.+)+)+)+$');});a123a();import a123e from'path';import{Generator}from'../../../generator.js';function a123c(){const w=['normalize','export\x20const\x20AuthProvider','REACT','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','const\x20registerNewUser','toString','processAndRunGenerator','injectIntoFile','564045EYYqGJ','const\x20sendForgotPasswordEmail','\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','meteor/meteor','const\x20getUserAuthorizations','injectImport','\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','injectIntoCodeBlock','findAppDirectory','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','Meteor.publish','/imports/startup/lib','auth/roles','react','checkMeteorPackage','1491944xlXQXn','Meteor','Accounts','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','constructor','9HQUJnj','84gSXcfB','publish','1596825ClSGAc','/imports/startup/client','useTracker','Meteor.startup','\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','index','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','startup','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','const\x20resetPasswordWithToken','6NAemkC','meteor','accounts-password','const\x20authenticateUser','/imports/startup/server/publications/auth/roles.js','const\x20authenticateToken','/imports/startup/lib/authentication-service','create','engines','.js','44066OESfzb','authentication-service','error','ssr','121705FjZZMw','search','\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','4990CUUJVP','findProjectDirectory','meteor/accounts-base','exit','\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','3201128LwzUcV','pathFromApp','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','5798499oTojlK','kit/auth/service/meteor-auth-service.js','force'];a123c=function(){return w;};return a123c();}import{Log}from'../../../tools/log/log.class.js';import a123f from'./auth.generator.js';import a123g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123u(0x128)]({'name':a123u(0x122),'aliases':['m'],'usage':a123u(0x112),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a123u(0xf7)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a123u(0xfa)]},'description':a123u(0x136)},async function(a,b){const v=a123u,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[v(0xf7)]||![];await d[v(0x10e)]([v(0x123)],{'shouldInstall':!![]});const i=c[v(0x133)](),j=c[v(0x108)](),k=g[v(0x129)][v(0x12e)]===v(0x122);await a123g['processAndRunGenerator']('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a123g[v(0xfe)](v(0x116),[v(0x10c)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e[v(0xf8)](v(0x125)),m=k?v(0x10b):v(0x118),n=f['pathFromApp']({'pathParts':[m,'','',v(0x12c)]});await f['template']({'srcPath':v(0xf6),'destPath':n+v(0x12a),'framework':v(0x10d),'context':{},'config':g,'force':h,'ignore':![]});const o=f[v(0xf3)]({'pathParts':[m,'','','authentication-provider']}),p=g[v(0x129)]['js'];await f['injectImport']({'filePath':o+'.'+p,'importName':'AuthService','modulePath':k?v(0x127):'/imports/startup/client/authentication-service','isNamedExport':![]}),await f[v(0x107)]({'filePath':o+'.'+p,'content':v(0x106),'begin':v(0x124),'replace':!![]}),await f[v(0x107)]({'filePath':o+'.'+p,'content':v(0x11d),'begin':v(0x126),'replace':!![]}),await f[v(0x107)]({'filePath':o+'.'+p,'content':v(0x102),'begin':v(0x104),'replace':!![]}),await f[v(0x107)]({'filePath':o+'.'+p,'content':v(0x11f),'begin':'const\x20deauthenticateUser','replace':!![]}),await f[v(0x107)]({'filePath':o+'.'+p,'content':v(0x109),'begin':v(0x101),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':v(0xfc),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0xf4),'begin':v(0x120),'replace':!![]});k&&(await f[v(0x105)]({'filePath':o+'.'+p,'importName':v(0x119),'modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await f[v(0xff)]({'filePath':o+'.'+p,'content':v(0x11b),'begin':v(0xf9),'end':'useEffect\x5c('}));await f[v(0x105)]({'filePath':l,'importName':v(0x110),'modulePath':v(0x103),'isNamedExport':!![],'injectAtStart':!![]}),await f['injectIntoCodeBlock']({'filePath':l,'content':v(0x131),'begin':v(0x10a),'replace':!![]});const q=f[v(0xf3)]({'pathParts':['imports',v(0x11e),'server',v(0x11c)]});await f[v(0x105)]({'filePath':q+'.'+p,'importName':v(0x111),'modulePath':v(0x134),'isNamedExport':!![]}),await f['injectIntoCodeBlock']({'filePath':q+'.'+p,'content':v(0xfb),'begin':v(0x11a),'replace':!![]});}catch(r){Log[v(0x12d)](r),process[v(0x135)](0x1);}},async function(){},a123f);
1
+ const a123v=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xaa;let f=c[d];return f;},a123d(a,b);}(function(a,b){const s=a123d,c=a();while(!![]){try{const d=-parseInt(s(0xc2))/0x1+-parseInt(s(0xd1))/0x2*(-parseInt(s(0xdb))/0x3)+parseInt(s(0xb0))/0x4*(-parseInt(s(0xbd))/0x5)+-parseInt(s(0xac))/0x6*(-parseInt(s(0xc1))/0x7)+parseInt(s(0xce))/0x8+parseInt(s(0xd8))/0x9+-parseInt(s(0xc6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x65ef2));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a123d;if(c){const e=c[t(0xdc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const u=a123d;return a123a[u(0xc0)]()['search'](u(0xdf))['toString']()['constructor'](a123a)[u(0xdd)](u(0xdf));});a123a();import a123e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a123f from'./auth.generator.js';import a123g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a123c(){const x=['template','export\x20const\x20AuthProvider','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','/imports/startup/server/publications/auth/roles.js','accounts-password','Accounts','/imports/startup/lib','const\x20resetPasswordWithToken','checkMeteorPackage','REACT','const\x20authenticateToken','index','825735idBLzQ','meteor/accounts-base','AuthService','toString','14sSHyCm','583581kswZnV','injectImport','normalize','Meteor','12112430ewtPWU','imports','injectIntoCodeBlock','\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','server','const\x20authenticateUser','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','auth/roles','6601928YOsruO','useEffect\x5c(','findAppDirectory','1573898VoLKuw','\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','force','engines','\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','startup','react','7507242IfXNYk','publish','pathFromApp','3rnbuWb','apply','search','/imports/startup/client','(((.+)+)+)+$','create','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','ssr','const\x20deauthenticateUser','const\x20registerNewUser','const\x20getUserAuthorizations','.js','1279818apRxBJ','exit','authentication-provider','/imports/startup/client/authentication-service','16DIUdCI'];a123c=function(){return x;};return a123c();}Generator[a123v(0xe0)]({'name':'meteor','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a123v(0xb3),'validOpts':['force'],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a123v(0xba)]},'description':a123v(0xcc)},async function(a,b){const w=a123v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0xd3)]||![];await d[w(0xb9)]([w(0xb5)],{'shouldInstall':!![]});const i=c['findProjectDirectory'](),j=c[w(0xd0)](),k=g[w(0xd4)][w(0xe4)]==='meteor';await a123g['processAndRunGenerator']('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a123g['processAndRunGenerator'](w(0xd9),[w(0xcd)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e[w(0xc4)](w(0xb4)),m=k?w(0xb7):w(0xde),n=f['pathFromApp']({'pathParts':[m,'','','authentication-service']});await f[w(0xb1)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':n+w(0xab),'framework':w(0xd7),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0xda)]({'pathParts':[m,'','',w(0xae)]}),p=g[w(0xd4)]['js'];await f['injectImport']({'filePath':o+'.'+p,'importName':w(0xbf),'modulePath':k?'/imports/startup/lib/authentication-service':w(0xaf),'isNamedExport':![]}),await f[w(0xc8)]({'filePath':o+'.'+p,'content':w(0xc9),'begin':w(0xcb),'replace':!![]}),await f[w(0xc8)]({'filePath':o+'.'+p,'content':w(0xd2),'begin':w(0xbb),'replace':!![]}),await f[w(0xc8)]({'filePath':o+'.'+p,'content':w(0xd5),'begin':w(0xaa),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':w(0xe5),'replace':!![]}),await f[w(0xc8)]({'filePath':o+'.'+p,'content':w(0xe3),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await f[w(0xc8)]({'filePath':o+'.'+p,'content':w(0xe2),'begin':w(0xe6),'replace':!![]}),await f[w(0xc8)]({'filePath':o+'.'+p,'content':w(0xe1),'begin':w(0xb8),'replace':!![]});k&&(await f[w(0xc3)]({'filePath':o+'.'+p,'importName':'useTracker','modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await f['injectIntoFile']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':w(0xb2),'end':w(0xcf)}));await f['injectImport']({'filePath':l,'importName':w(0xc5),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await f[w(0xc8)]({'filePath':l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':'Meteor.publish','replace':!![]});const q=f[w(0xda)]({'pathParts':[w(0xc7),w(0xd6),w(0xca),w(0xbc)]});await f['injectImport']({'filePath':q+'.'+p,'importName':w(0xb6),'modulePath':w(0xbe),'isNamedExport':!![]}),await f[w(0xc8)]({'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':'Meteor.startup','replace':!![]});}catch(r){Log['error'](r),process[w(0xad)](0x1);}},async function(){},a123f);
@@ -1 +1 @@
1
- const a124x=a124d;function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x17a;let f=c[d];return f;},a124d(a,b);}(function(a,b){const u=a124d,c=a();while(!![]){try{const d=-parseInt(u(0x185))/0x1+-parseInt(u(0x1af))/0x2+-parseInt(u(0x188))/0x3*(parseInt(u(0x1aa))/0x4)+parseInt(u(0x1a2))/0x5*(-parseInt(u(0x199))/0x6)+-parseInt(u(0x192))/0x7+parseInt(u(0x1a9))/0x8*(-parseInt(u(0x191))/0x9)+parseInt(u(0x1ab))/0xa*(parseInt(u(0x196))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x6fa59));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a124d;if(c){const e=c[v(0x1ae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const w=a124d;return a124a[w(0x187)]()[w(0x17f)](w(0x17c))[w(0x187)]()['constructor'](a124a)[w(0x17f)](w(0x17c));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./auth.generator.js';function a124c(){const z=['/imports/startup/client/authentication-provider','1356tocpvm','\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','react','useContext','function\x20useAuth','create','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','\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','kit/auth/provider/authentication-provider.js','14005FUkNIU','split','injectAroundString','/imports/startup/lib','injectIntoCodeBlock','/routes','bright','16ggNEYQ','8JfeDkX','33733340jovfDH','template','appName','apply','1382444CUARrM','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','\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','injectImport','error','(((.+)+)+)+$','provider','force','search','</AuthProvider>','const\x20useAuth','/imports/startup/lib/authentication-provider','pathFromApp','AuthContext','477776gXjOsp','AuthProvider','toString','273138UQqPSu','engines','/imports/startup/client/index','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','<AuthProvider>','<AppRoutes\x20history={history}/>','authentication-provider','.js','<AppRoutes\x20/>','2551455KszIeu','2554461mzpgdP','REACT','scaffold','meteor','11TDoIUA','/imports/startup/server/index'];a124c=function(){return z;};return a124c();}import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124x(0x19e)]({'name':a124x(0x17d),'aliases':['p'],'usage':a124x(0x18b),'shortDesc':a124x(0x19f),'validOpts':[a124x(0x17e)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124x(0x193)]},'description':a124x(0x19a)},async function(a,b){const y=a124x;try{const c=b[y(0x17e)]||![];Log[y(0x1a8)](y(0x1b0));const {projectConfig:d}=this,f=d[y(0x189)]['ssr']===y(0x195),g={'name':capitalCase(d[y(0x1ad)])},h=f?y(0x1a5):'/imports/startup/client',i=this[y(0x194)][y(0x183)]({'pathParts':[h,'','',y(0x18e)]});await this[y(0x194)][y(0x1ac)]({'srcPath':y(0x1a1),'destPath':i+y(0x18f),'framework':y(0x19b),'context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x189)]['js'],k=h+y(0x1a7),l=k[y(0x1a3)]('/'),m=this[y(0x194)][y(0x183)]({'pathParts':l});await this[y(0x194)][y(0x17a)]({'filePath':m+'.'+j,'importName':y(0x184),'modulePath':f?y(0x182):y(0x198),'isNamedExport':!![]}),await this[y(0x194)][y(0x17a)]({'filePath':m+'.'+j,'importName':y(0x19c),'modulePath':y(0x19b),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x194)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x1a0),'begin':[y(0x181),y(0x19d)],'replace':!![]}),await this[y(0x194)][y(0x1a6)]({'filePath':m+'.'+j,'content':y(0x1b1),'begin':['const\x20PrivateRoute'],'replace':!![]});const n=y(0x18a),o=n['split']('/'),p=this['scaffold']['pathFromApp']({'pathParts':o});await this[y(0x194)][y(0x17a)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x182):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x194)][y(0x1a4)]({'filePath':p+'.'+j,'aboveContent':y(0x18c),'belowContent':y(0x180),'targetString':y(0x190),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x197),r=q[y(0x1a3)]('/'),s=this[y(0x194)][y(0x183)]({'pathParts':r});await this['scaffold'][y(0x17a)]({'filePath':s+'.'+j,'importName':y(0x186),'modulePath':f?y(0x182):y(0x198),'isNamedExport':!![]}),await this[y(0x194)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x180),'targetString':y(0x18d),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x17b)](t),process['exit'](0x1);}},async function(){},a124e);
1
+ const a124x=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=-parseInt(u(0x1e1))/0x1*(parseInt(u(0x1e8))/0x2)+-parseInt(u(0x1e6))/0x3*(parseInt(u(0x1fc))/0x4)+parseInt(u(0x1f1))/0x5+parseInt(u(0x203))/0x6*(-parseInt(u(0x1dc))/0x7)+-parseInt(u(0x205))/0x8+parseInt(u(0x1ff))/0x9+-parseInt(u(0x1ef))/0xa*(-parseInt(u(0x1db))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x1f047));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a124d;if(c){const e=c[v(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const w=a124d;return a124a[w(0x1f4)]()[w(0x204)]('(((.+)+)+)+$')[w(0x1f4)]()[w(0x1d4)](a124a)[w(0x204)](w(0x1df));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1d1;let f=c[d];return f;},a124d(a,b);}Generator[a124x(0x1d1)]({'name':'provider','aliases':['p'],'usage':a124x(0x1fb),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124x(0x1d8)]},'description':a124x(0x1d3)},async function(a,b){const y=a124x;try{const c=b[y(0x1e5)]||![];Log[y(0x1eb)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const {projectConfig:d}=this,f=d[y(0x202)]['ssr']===y(0x200),g={'name':capitalCase(d[y(0x1d6)])},h=f?y(0x1f6):y(0x1f7),i=this[y(0x1e7)][y(0x201)]({'pathParts':[h,'','',y(0x1f3)]});await this[y(0x1e7)][y(0x1ec)]({'srcPath':y(0x1e9),'destPath':i+'.js','framework':y(0x1ed),'context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x202)]['js'],k=h+y(0x1d9),l=k[y(0x1e3)]('/'),m=this['scaffold'][y(0x201)]({'pathParts':l});await this['scaffold']['injectImport']({'filePath':m+'.'+j,'importName':y(0x1ee),'modulePath':f?y(0x1d7):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x1e7)][y(0x1f2)]({'filePath':m+'.'+j,'importName':y(0x1e0),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x1e7)][y(0x1dd)]({'filePath':m+'.'+j,'content':y(0x1f9),'begin':[y(0x1fe),'function\x20useAuth'],'replace':!![]}),await this[y(0x1e7)][y(0x1dd)]({'filePath':m+'.'+j,'content':y(0x1d5),'begin':['const\x20PrivateRoute'],'replace':!![]});const n=y(0x1da),o=n[y(0x1e3)]('/'),p=this['scaffold'][y(0x201)]({'pathParts':o});await this[y(0x1e7)][y(0x1f2)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x1d7):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['scaffold'][y(0x1d2)]({'filePath':p+'.'+j,'aboveContent':y(0x1f5),'belowContent':y(0x1f0),'targetString':y(0x1e4),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1de),r=q['split']('/'),s=this['scaffold'][y(0x201)]({'pathParts':r});await this[y(0x1e7)]['injectImport']({'filePath':s+'.'+j,'importName':y(0x1fa),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x1fd),'isNamedExport':!![]}),await this['scaffold'][y(0x1d2)]({'filePath':s+'.'+j,'aboveContent':y(0x1f5),'belowContent':y(0x1f0),'targetString':y(0x1ea),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x1f8)](t),process['exit'](0x1);}},async function(){},a124e);function a124c(){const z=['4iYPDNa','/imports/startup/client/authentication-provider','const\x20useAuth','1930176bHTEVC','meteor','pathFromApp','engines','12eHCUOY','search','104352ZENIcr','create','injectAroundString','\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','constructor','\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','appName','/imports/startup/lib/authentication-provider','REACT','/routes','/imports/startup/client/index','36597aIQOvh','559811gxzyux','injectIntoCodeBlock','/imports/startup/server/index','(((.+)+)+)+$','useContext','3634IQgEEI','apply','split','<AppRoutes\x20/>','force','329979CBbLId','scaffold','28gQhgSU','kit/auth/provider/authentication-provider.js','<AppRoutes\x20history={history}/>','bright','template','react','AuthContext','710zFITIA','</AuthProvider>','51125rgJykm','injectImport','authentication-provider','toString','<AuthProvider>','/imports/startup/lib','/imports/startup/client','error','\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','AuthProvider','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}'];a124c=function(){return z;};return a124c();}
@@ -1 +1 @@
1
- function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0xb0;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0xb9))/0x1*(-parseInt(f(0xbc))/0x2)+parseInt(f(0xb7))/0x3+-parseInt(f(0xb3))/0x4+parseInt(f(0xbb))/0x5*(-parseInt(f(0xb0))/0x6)+-parseInt(f(0xbd))/0x7+-parseInt(f(0xb1))/0x8+parseInt(f(0xb4))/0x9*(parseInt(f(0xb5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x822d8));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0xb8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a['toString']()[h(0xb6)](h(0xba))[h(0xb2)]()['constructor'](a125a)[h(0xb6)](h(0xba));});a125a();import'./esri.generator.js';import'./map.esri.gen.js';function a125c(){var i=['1839435XIVELb','apply','7588eLGXgM','(((.+)+)+)+$','95AcThpD','170oeaLBX','6440434OjtJuC','114438vBrFWq','4779392zdkLFr','toString','2659840monBzs','63NRqMxu','2599880zXlmco','search'];a125c=function(){return i;};return a125c();}
1
+ function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x135;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0x139))/0x1*(parseInt(f(0x13a))/0x2)+parseInt(f(0x142))/0x3*(-parseInt(f(0x13c))/0x4)+-parseInt(f(0x135))/0x5*(parseInt(f(0x140))/0x6)+-parseInt(f(0x137))/0x7*(parseInt(f(0x13b))/0x8)+-parseInt(f(0x143))/0x9+parseInt(f(0x144))/0xa*(-parseInt(f(0x136))/0xb)+parseInt(f(0x146))/0xc*(parseInt(f(0x13d))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x3634e));function a125c(){var i=['5188235xtNoLt','(((.+)+)+)+$','constructor','172548lKgabx','search','63vZIOtp','2738439kdbmtj','4341170NiOvHN','apply','48sSliRL','35cEVuqu','11NcwRsi','86135EPdAGD','toString','37xrlIvU','12382yNVjaJ','8WIvcqd','36816HHNRlP'];a125c=function(){return i;};return a125c();}var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x145)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0x138)]()['search'](h(0x13e))[h(0x138)]()[h(0x13f)](a125a)[h(0x141)]('(((.+)+)+)+$');});a125a();import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a126i=a126d;function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x102;let f=c[d];return f;},a126d(a,b);}function a126c(){const j=['24IyxWhu','4921170XFWiDM','4TmNRUj','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','21GFsHCS','3573700GlvWdT','apply','toString','search','create','27awszhM','25488YEHlqu','esri','844520defIGx','\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','(((.+)+)+)+$','9wLbeYr','923494LfRWxl','maka\x20g:kit:e','constructor','5017680wlPTin','375892QHUIiK'];a126c=function(){return j;};return a126c();}(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x108))/0x1+-parseInt(f(0x10e))/0x2*(-parseInt(f(0x10d))/0x3)+parseInt(f(0x115))/0x4*(parseInt(f(0x114))/0x5)+-parseInt(f(0x111))/0x6+-parseInt(f(0x117))/0x7*(-parseInt(f(0x10a))/0x8)+parseInt(f(0x107))/0x9*(-parseInt(f(0x102))/0xa)+parseInt(f(0x112))/0xb*(parseInt(f(0x113))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xc859c));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x103)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x104)]()[h(0x105)](h(0x10c))[h(0x104)]()[h(0x110)](a126a)[h(0x105)](h(0x10c));});a126a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a126e from'../kit.js';const EsriGen=Generator[a126i(0x106)]({'name':a126i(0x109),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','shortDesc':a126i(0x116),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x10f)],'description':a126i(0x10b)},async function(){throw UsageError;},async function(){},a126e);export default EsriGen;
1
+ const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x140))/0x1+parseInt(f(0x154))/0x2*(parseInt(f(0x142))/0x3)+parseInt(f(0x14c))/0x4+parseInt(f(0x14b))/0x5+-parseInt(f(0x14f))/0x6*(-parseInt(f(0x150))/0x7)+parseInt(f(0x141))/0x8*(parseInt(f(0x145))/0x9)+parseInt(f(0x14e))/0xa*(-parseInt(f(0x146))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xd1156));function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x140;let f=c[d];return f;},a126d(a,b);}const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x153)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x14d)]()[h(0x152)](h(0x144))[h(0x14d)]()[h(0x147)](a126a)[h(0x152)](h(0x144));});a126a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a126e from'../kit.js';function a126c(){const j=['5214956xaLqlz','toString','10xXjznr','1972902pxuVAh','21yyyWYe','esri','search','apply','92OCPsAM','1164169WPCymj','43560DuiOZo','75021vIqUiR','maka\x20g:kit:e','(((.+)+)+)+$','2367xcipmZ','64517013qZBZza','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','\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','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','3424365CEBOHY'];a126c=function(){return j;};return a126c();}const EsriGen=Generator['create']({'name':a126i(0x151),'aliases':['e'],'usage':a126i(0x148),'shortDesc':a126i(0x14a),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x143)],'description':a126i(0x149)},async function(){throw UsageError;},async function(){},a126e);export default EsriGen;
@@ -1 +1 @@
1
- const a127v=a127d;function a127c(){const x=['processAndRunGenerator','NONE','baseDir','injectImport','apply','page','894802HYgpwu','exit','1856972NYXErn','.js','injectIntoFile','@esri/react-arcgis','engines','/imports/startup/lib/templates','(((.+)+)+)+$','constructor','dir','bright','2465648GDaJbC','split','458388SptaSs','Generating\x20a\x20map\x20component','1626GcNWMV','toString','template','7477884qXUrqN','/imports/ui/','100fhfHth','</div>','replaceAll','map','ssr','Generate\x20an\x20Esri\x20map\x20component','search','3yVsxOu','157806McuiBh','16135kBqphG','error','basic-map','checkNpmPackage','21JIuusk','react','2aycEDC','pathFromApp'];a127c=function(){return x;};return a127c();}(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0x10b))/0x1*(-parseInt(s(0x103))/0x2)+parseInt(s(0x127))/0x3*(parseInt(s(0x10d))/0x4)+-parseInt(s(0x129))/0x5*(parseInt(s(0x11b))/0x6)+parseInt(s(0x101))/0x7*(parseInt(s(0x117))/0x8)+-parseInt(s(0x11e))/0x9+parseInt(s(0x120))/0xa*(-parseInt(s(0x128))/0xb)+parseInt(s(0x119))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x737b1));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a127d;if(c){const e=c[t(0x109)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a['toString']()[u(0x126)](u(0x113))[u(0x11c)]()[u(0x114)](a127a)[u(0x126)]('(((.+)+)+)+$');});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127e from'./esri.generator.js';import a127f from'../../../generators/maka.gen.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xfe;let f=c[d];return f;},a127d(a,b);}import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a127v(0x123),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a127v(0x125),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a127v(0x106)]},'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=a127v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x116)](w(0x11a));const h=w(0xff);await f[w(0x100)]([w(0x110),'esri-loader'],{'shouldInstall':!![]});const i=d['findProjectDirectory'](),j=c[w(0x111)][w(0x124)]==='meteor',k=await a127f[w(0x105)](w(0x10a),[w(0x123)],{'cwd':i,'config':c}),l={'name':capitalCase(c['appName'])[w(0x122)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x107)]?w(0x11f)+b['baseDir']:'/imports/ui/components',n=g[w(0x104)]({'pathParts':[m,b[w(0x115)],kebabCase(h),kebabCase(h)]});await g[w(0x11d)]({'srcPath':'kit/esri/map/'+h+w(0x10e),'destPath':n+'.js','framework':w(0x102),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x115)]+'/'+h+'/'+h;await g['injectTemplateModule'](h,c,o);const p=k[w(0x118)]('/'),q=g[w(0x104)]({'pathParts':p});await g[w(0x108)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x112):'/imports/startup/client/templates','isNamedExport':!![]}),await g[w(0x10f)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':['<div\x20id=\x22map\x22>','<div\x20id=\x22map\x22>'],'end':[w(0x121)],'replace':!![]});}catch(r){Log[w(0xfe)](r),process[w(0x10c)](0x1);}},async function(){},a127e);
1
+ const a127u=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0x74))/0x1*(parseInt(s(0x8a))/0x2)+parseInt(s(0x7d))/0x3*(-parseInt(s(0x87))/0x4)+-parseInt(s(0x9f))/0x5*(-parseInt(s(0x73))/0x6)+parseInt(s(0x93))/0x7+-parseInt(s(0x7a))/0x8+parseInt(s(0x80))/0x9*(parseInt(s(0x84))/0xa)+-parseInt(s(0x89))/0xb*(-parseInt(s(0xa1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xafc6c));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const t=a127d;return a127a[t(0x79)]()[t(0x90)](t(0x91))['toString']()[t(0x7e)](a127a)['search'](t(0x91));});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127e from'./esri.generator.js';import a127f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x72;let f=c[d];return f;},a127d(a,b);}function a127c(){const w=['appName','processAndRunGenerator','react','engines','injectTemplateModule','pathFromApp','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','</div>','baseDir','134885tdoaDn','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','5374932QoLjgL','<div\x20id=\x22map\x22>','114QnXYPk','3rJhaHQ','dir','bright','/imports/ui/components','.js','toString','5125048RkhXIn','Generating\x20a\x20map\x20component','template','78HGeVCe','constructor','create','891hKioeX','meteor','map','injectImport','52130xhdjLm','/imports/startup/lib/templates','@esri/react-arcgis','25732ZDdnZW','split','11iBbMKS','600210wQVPXL','exit','REACT','replaceAll','ssr','basic-map','search','(((.+)+)+)+$','error','6661361URzEsk','page','checkNpmPackage'];a127c=function(){return w;};return a127c();}Generator[a127u(0x7f)]({'name':a127u(0x82),'aliases':['m'],'usage':a127u(0x9c),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127u(0x8c)],'ssr':SsrEngines['NONE']},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const v=a127u;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[v(0x76)](v(0x7b));const h=v(0x8f);await f[v(0x95)]([v(0x86),'esri-loader'],{'shouldInstall':!![]});const i=d['findProjectDirectory'](),j=c[v(0x99)][v(0x8e)]===v(0x81),k=await a127f[v(0x97)](v(0x94),[v(0x82)],{'cwd':i,'config':c}),l={'name':capitalCase(c[v(0x96)])[v(0x8d)]('-','\x20'),'componentName':pascalCase(h)},m=b[v(0x9e)]?'/imports/ui/'+b[v(0x9e)]:v(0x77),n=g[v(0x9b)]({'pathParts':[m,b[v(0x75)],kebabCase(h),kebabCase(h)]});await g[v(0x7c)]({'srcPath':'kit/esri/map/'+h+v(0x78),'destPath':n+v(0x78),'framework':v(0x98),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[v(0x75)]+'/'+h+'/'+h;await g[v(0x9a)](h,c,o);const p=k[v(0x88)]('/'),q=g[v(0x9b)]({'pathParts':p});await g[v(0x83)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?v(0x85):'/imports/startup/client/templates','isNamedExport':!![]}),await g['injectIntoFile']({'filePath':q,'content':'\x0a<'+pascalCase(h)+v(0xa0),'begin':[v(0x72),'<div\x20id=\x22map\x22>'],'end':[v(0x9d)],'replace':!![]});}catch(r){Log[v(0x92)](r),process[v(0x8b)](0x1);}},async function(){},a127e);
@@ -1 +1 @@
1
- function a128c(){const j=['57463esVSKY','17273772aSOgLZ','1509520LLwdaj','constructor','32hwotcJ','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','maka\x20g:k','18rVDpNq','22796iOKYrN','66BNTqUB','toString','2749150sEfDfY','7554728NHgkGO','create','maka\x20{generate,\x20g}:{kit}\x20<name>','205077kdwhhU','kit','search','1BBclLQ','apply','22dfEmCC','maka\x20g:kit'];a128c=function(){return j;};return a128c();}const a128i=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=parseInt(f(0x1ad))/0x1*(-parseInt(f(0x1a3))/0x2)+-parseInt(f(0x1aa))/0x3*(parseInt(f(0x19f))/0x4)+-parseInt(f(0x19d))/0x5+-parseInt(f(0x1a4))/0x6*(-parseInt(f(0x19b))/0x7)+-parseInt(f(0x1a7))/0x8+parseInt(f(0x1a2))/0x9*(-parseInt(f(0x1a6))/0xa)+-parseInt(f(0x1af))/0xb*(-parseInt(f(0x19c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x96204));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a128d;if(c){const e=c[g(0x1ae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const h=a128d;return a128a['toString']()['search']('(((.+)+)+)+$')[h(0x1a5)]()[h(0x19e)](a128a)[h(0x1ac)]('(((.+)+)+)+$');});a128a();import{Generator}from'../../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x19b;let f=c[d];return f;},a128d(a,b);}const KitGen=Generator[a128i(0x1a8)]({'name':a128i(0x1ab),'aliases':['k'],'usage':a128i(0x1a9),'shortDesc':a128i(0x1a0),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a128i(0x1b0),a128i(0x1a1)]},async function(){});export default KitGen;
1
+ const a128h=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=parseInt(f(0x1a4))/0x1+-parseInt(f(0x197))/0x2+-parseInt(f(0x199))/0x3*(parseInt(f(0x19b))/0x4)+parseInt(f(0x196))/0x5+-parseInt(f(0x19a))/0x6+parseInt(f(0x1a0))/0x7+-parseInt(f(0x1a3))/0x8*(-parseInt(f(0x19e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x919ed));function a128c(){const i=['create','41550NEYtds','5482578pgRExz','184aQpUSw','toString','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','9HOVZsc','(((.+)+)+)+$','6332466zoNFmY','maka\x20g:k','kit','4327824bshkYH','107760NNuGPg','search','3414305WlSLIK','177826rUNYle'];a128c=function(){return i;};return a128c();}const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const g=a128d;return a128a[g(0x19c)]()[g(0x195)](g(0x19f))[g(0x19c)]()['constructor'](a128a)[g(0x195)](g(0x19f));});a128a();import{Generator}from'../../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x195;let f=c[d];return f;},a128d(a,b);}const KitGen=Generator[a128h(0x198)]({'name':a128h(0x1a2),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a128h(0x19d),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':['maka\x20g:kit',a128h(0x1a1)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a129d,c=a();while(!![]){try{var d=parseInt(f(0x7b))/0x1*(-parseInt(f(0x76))/0x2)+-parseInt(f(0x73))/0x3+parseInt(f(0x74))/0x4+parseInt(f(0x71))/0x5*(-parseInt(f(0x77))/0x6)+-parseInt(f(0x75))/0x7+-parseInt(f(0x79))/0x8+parseInt(f(0x7d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x62766));function a129c(){var i=['1997348xnahBu','3942855GVZkDg','2HLTXrc','189474maoRdj','search','4983000macMPF','constructor','36263ylRchO','(((.+)+)+)+$','13498965iGrPdZ','apply','50oZWMIA','toString','173181vNpdxe'];a129c=function(){return i;};return a129c();}function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x70;var f=c[d];return f;},a129d(a,b);}var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0x70)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a[h(0x72)]()[h(0x78)](h(0x7c))['toString']()[h(0x7a)](a129a)[h(0x78)](h(0x7c));});a129a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a129d,c=a();while(!![]){try{var d=parseInt(f(0x1eb))/0x1+parseInt(f(0x1ec))/0x2*(parseInt(f(0x1f4))/0x3)+-parseInt(f(0x1ef))/0x4+parseInt(f(0x1ee))/0x5*(-parseInt(f(0x1ed))/0x6)+parseInt(f(0x1e9))/0x7*(parseInt(f(0x1f0))/0x8)+-parseInt(f(0x1e8))/0x9+parseInt(f(0x1ea))/0xa*(parseInt(f(0x1f3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xe8867));var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a[h(0x1e7)]()[h(0x1f2)](h(0x1f5))[h(0x1e7)]()['constructor'](a129a)['search']('(((.+)+)+)+$');});function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x1e7;var f=c[d];return f;},a129d(a,b);}a129a();import'./mui.generator.js';import'./frame.mui.gen.js';function a129c(){var i=['toString','11826900IdKTPX','11518829qIilFu','3042100scbxEF','1751984XVNTRU','331654qOnpYa','7572774vtvhed','5DahYUr','6332800RqSEuS','8sBWvyg','apply','search','44wagqCw','9SEnWOb','(((.+)+)+)+$'];a129c=function(){return i;};return a129c();}import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- function a130c(){const N=['5092465xvmSvt','kit/mui/auth/logout/','2257192iRjcxz','/imports/ui/pages/auth','kit/mui/auth/forgot-password/','template','kit/mui/auth/password-reset/','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','injectTemplateModule','5002680uGrQFi','pathFromApp','route','.js','maka\x20generate:kit:mui:auth','react','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','exit','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','(((.+)+)+)+$','meteor','authType','Cleaning\x20up...','kit/mui/auth/login/','102020dpbEBb','processAndRunGenerator','error','engines','2veThDG','597690LlTMiz','kit:auth:provider','dir','toString','kit/mui/auth/register/','basic-login-page','injectImport','MATERIAL','baseDir','search','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','Custom\x20(roll\x20your\x20own)','login','2087490vpCGDt','/imports/startup/client/authentication-provider','/imports/startup/lib/authentication-provider','kit:auth:meteor','constructor','AuthContext','layouts','basic-password-reset-page','register','split','basic-register-page','basic-forgot-password-page','ssr','6737296pEAqoi','auth','custom','force','reset-password/:token'];a130c=function(){return N;};return a130c();}const a130K=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d=-parseInt(I(0xf5))/0x1*(-parseInt(I(0xf9))/0x2)+-parseInt(I(0x107))/0x3+parseInt(I(0xe7))/0x4+-parseInt(I(0x119))/0x5+-parseInt(I(0xfa))/0x6+parseInt(I(0x11b))/0x7+parseInt(I(0x114))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xabb8a));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const J=a130d;return a130a['toString']()['search'](J(0xf0))[J(0xfd)]()[J(0x10b)](a130a)[J(0x103)](J(0xf0));});a130a();function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xe3;let f=c[d];return f;},a130d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a130K(0x115),'aliases':['a'],'usage':a130K(0x104),'shortDesc':a130K(0xe5),'validOpts':[a130K(0x10d),'force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a130K(0x101)],'client':ClientEngines['REACT']},'examples':[a130K(0xeb),'maka\x20g:k:m:a'],'description':a130K(0xef)},async function(a,b){const L=a130K;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[L(0x117)]||![],h=d['findProjectDirectory'](),i=await Actions['select']({'name':L(0xf2),'message':L(0xed),'choices':[{'name':'Meteor\x20Accounts','value':L(0xf1)},{'name':L(0x105),'value':L(0x116)}]}),j=L(0xff),k='basic-logout-page',l=L(0x111),m=L(0x10e),n=L(0x112),o=b[L(0x102)]?'/imports/ui/'+b['baseDir']:L(0x11c),p=f[L(0xe8)]({'pathParts':[o,b[L(0xfc)],kebabCase(j),kebabCase(j)]}),q=f[L(0xe8)]({'pathParts':[o,b[L(0xfc)],kebabCase(k),kebabCase(k)]}),r=f[L(0xe8)]({'pathParts':[o,b['dir'],kebabCase(l),kebabCase(l)]}),s=f[L(0xe8)]({'pathParts':[o,b['dir'],kebabCase(m),kebabCase(m)]}),t=f['pathFromApp']({'pathParts':[o,b['dir'],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c['appName'])};await f['template']({'srcPath':L(0xf4)+j+'.js','destPath':p+'.js','framework':L(0xec),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0xe3)]({'srcPath':L(0x11a)+k+'.js','destPath':q+L(0xea),'framework':L(0xec),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0xe3)]({'srcPath':L(0xfe)+l+L(0xea),'destPath':r+'.js','framework':L(0xec),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0xe3)]({'srcPath':L(0xe4)+m+L(0xea),'destPath':s+L(0xea),'framework':L(0xec),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':L(0x11d)+n+'.js','destPath':t+L(0xea),'framework':L(0xec),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[L(0xfc)]+'/'+j+'/'+j;await f['injectTemplateModule'](j,c,v);const w=''+o+b[L(0xfc)]+'/'+k+'/'+k;await f['injectTemplateModule'](k,c,w);const x=''+o+b[L(0xfc)]+'/'+l+'/'+l;await f[L(0xe6)](l,c,x);const y=''+o+b[L(0xfc)]+'/'+m+'/'+m;await f[L(0xe6)](m,c,y);const z=''+o+b[L(0xfc)]+'/'+n+'/'+n;await f[L(0xe6)](n,c,z),await a130e[L(0xf6)](L(0xe9),[L(0xff)],{'route':L(0x106),'cwd':h,'config':c}),await a130e[L(0xf6)](L(0xe9),['basic-logout-page'],{'route':'logout','private':!![],'cwd':h,'config':c}),await a130e['processAndRunGenerator'](L(0xe9),[L(0x111)],{'route':L(0x10f),'cwd':h,'config':c}),await a130e[L(0xf6)](L(0xe9),['basic-password-reset-page'],{'route':L(0x118),'cwd':h,'config':c}),await a130e[L(0xf6)](L(0xe9),[L(0x112)],{'route':'forgot-password','cwd':h,'config':c});i==='meteor'&&await a130e[L(0xf6)](L(0x10a),[],{'force':g,'cwd':h,'config':c});i===L(0x116)&&await a130e['processAndRunGenerator'](L(0xfb),[],{'force':g,'cwd':h,'config':c});const A=c[L(0xf8)][L(0x113)]==='meteor',B=c['engines']['js'],C=f['pathFromApp']({'pathParts':v[L(0x110)]('/')});await f['injectImport']({'filePath':C+'.'+B,'importName':L(0x10c),'modulePath':A?L(0x109):L(0x108),'isNamedExport':!![]});const D=f[L(0xe8)]({'pathParts':w[L(0x110)]('/')});await f[L(0x100)]({'filePath':D+'.'+B,'importName':L(0x10c),'modulePath':A?L(0x109):L(0x108),'isNamedExport':!![]});const E=f[L(0xe8)]({'pathParts':x[L(0x110)]('/')});await f[L(0x100)]({'filePath':E+'.'+B,'importName':'AuthContext','modulePath':A?L(0x109):L(0x108),'isNamedExport':!![]});const F=f[L(0xe8)]({'pathParts':y[L(0x110)]('/')});await f['injectImport']({'filePath':F+'.'+B,'importName':L(0x10c),'modulePath':A?L(0x109):L(0x108),'isNamedExport':!![]});const G=f['pathFromApp']({'pathParts':z[L(0x110)]('/')});await f[L(0x100)]({'filePath':G+'.'+B,'importName':L(0x10c),'modulePath':A?L(0x109):L(0x108),'isNamedExport':!![]});}catch(H){Log[L(0xf7)](H),process[L(0xee)](0x1);}},async function(){const M=a130K;console['log'](M(0xf3));},a130f);export default a130f;
1
+ const a130L=a130d;function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xd8;let f=c[d];return f;},a130d(a,b);}(function(a,b){const I=a130d,c=a();while(!![]){try{const d=parseInt(I(0xdc))/0x1*(-parseInt(I(0xdd))/0x2)+parseInt(I(0xf6))/0x3*(parseInt(I(0xf2))/0x4)+parseInt(I(0xeb))/0x5*(-parseInt(I(0x119))/0x6)+parseInt(I(0xfe))/0x7+-parseInt(I(0xda))/0x8*(-parseInt(I(0xf1))/0x9)+parseInt(I(0x117))/0xa+parseInt(I(0xf7))/0xb*(-parseInt(I(0xf5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xe00fe));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a[K(0xfd)]()[K(0x103)](K(0x105))['toString']()['constructor'](a130a)['search'](K(0x105));});a130a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';function a130c(){const O=['react','basic-forgot-password-page','apply','68193nkPlSZ','144ocuErM','basic-logout-page','layouts','24hEvNcX','78681kpJMve','13127059ZzEeYr','injectTemplateModule','template','forgot-password','logout','basic-login-page','toString','10408482Qafhhu','baseDir','log','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','AuthContext','search','Cleaning\x20up...','(((.+)+)+)+$','kit/mui/auth/forgot-password/','REACT','MATERIAL','force','Meteor\x20Accounts','/imports/ui/pages/auth','processAndRunGenerator','engines','auth','kit/mui/auth/logout/','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','appName','injectImport','authType','Custom\x20(roll\x20your\x20own)','register','10964490SfDYPA','split','18OIwgJJ','.js','maka\x20generate:kit:mui:auth','1392sLuDYA','dir','1jrCVzA','903386heWubF','/imports/startup/client/authentication-provider','route','meteor','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','findProjectDirectory','ssr','custom','exit','kit/mui/auth/register/','/imports/ui/','pathFromApp','select','basic-register-page','1816260EbvTWs','kit/mui/auth/login/','kit/mui/auth/password-reset/'];a130c=function(){return O;};return a130c();}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a130L(0x10e),'aliases':['a'],'usage':a130L(0xe1),'shortDesc':a130L(0x111),'validOpts':[a130L(0xf4),'force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a130L(0x108)],'client':ClientEngines[a130L(0x107)]},'examples':[a130L(0xd9),'maka\x20g:k:m:a'],'description':a130L(0x101)},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x109)]||![],h=d[M(0xe2)](),i=await Actions[M(0xe9)]({'name':M(0x114),'message':M(0x110),'choices':[{'name':M(0x10a),'value':M(0xe0)},{'name':M(0x115),'value':'custom'}]}),j=M(0xfc),k=M(0xf3),l=M(0xea),m='basic-password-reset-page',n=M(0xef),o=b[M(0xff)]?M(0xe7)+b[M(0xff)]:M(0x10b),p=f[M(0xe8)]({'pathParts':[o,b['dir'],kebabCase(j),kebabCase(j)]}),q=f[M(0xe8)]({'pathParts':[o,b[M(0xdb)],kebabCase(k),kebabCase(k)]}),r=f[M(0xe8)]({'pathParts':[o,b[M(0xdb)],kebabCase(l),kebabCase(l)]}),s=f[M(0xe8)]({'pathParts':[o,b[M(0xdb)],kebabCase(m),kebabCase(m)]}),t=f['pathFromApp']({'pathParts':[o,b[M(0xdb)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x112)])};await f[M(0xf9)]({'srcPath':M(0xec)+j+M(0xd8),'destPath':p+'.js','framework':M(0xee),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xf9)]({'srcPath':M(0x10f)+k+'.js','destPath':q+'.js','framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xf9)]({'srcPath':M(0xe6)+l+'.js','destPath':r+M(0xd8),'framework':M(0xee),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0xed)+m+'.js','destPath':s+'.js','framework':M(0xee),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xf9)]({'srcPath':M(0x106)+n+M(0xd8),'destPath':t+M(0xd8),'framework':M(0xee),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0xdb)]+'/'+j+'/'+j;await f[M(0xf8)](j,c,v);const w=''+o+b['dir']+'/'+k+'/'+k;await f['injectTemplateModule'](k,c,w);const x=''+o+b[M(0xdb)]+'/'+l+'/'+l;await f['injectTemplateModule'](l,c,x);const y=''+o+b['dir']+'/'+m+'/'+m;await f[M(0xf8)](m,c,y);const z=''+o+b['dir']+'/'+n+'/'+n;await f['injectTemplateModule'](n,c,z),await a130e[M(0x10c)](M(0xdf),[M(0xfc)],{'route':'login','cwd':h,'config':c}),await a130e['processAndRunGenerator'](M(0xdf),[M(0xf3)],{'route':M(0xfb),'private':!![],'cwd':h,'config':c}),await a130e[M(0x10c)]('route',[M(0xea)],{'route':M(0x116),'cwd':h,'config':c}),await a130e['processAndRunGenerator'](M(0xdf),['basic-password-reset-page'],{'route':'reset-password/:token','cwd':h,'config':c}),await a130e[M(0x10c)](M(0xdf),[M(0xef)],{'route':M(0xfa),'cwd':h,'config':c});i===M(0xe0)&&await a130e[M(0x10c)]('kit:auth:meteor',[],{'force':g,'cwd':h,'config':c});i===M(0xe4)&&await a130e['processAndRunGenerator']('kit:auth:provider',[],{'force':g,'cwd':h,'config':c});const A=c[M(0x10d)][M(0xe3)]==='meteor',B=c[M(0x10d)]['js'],C=f['pathFromApp']({'pathParts':v[M(0x118)]('/')});await f[M(0x113)]({'filePath':C+'.'+B,'importName':M(0x102),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0xde),'isNamedExport':!![]});const D=f[M(0xe8)]({'pathParts':w[M(0x118)]('/')});await f[M(0x113)]({'filePath':D+'.'+B,'importName':M(0x102),'modulePath':A?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=f[M(0xe8)]({'pathParts':x[M(0x118)]('/')});await f['injectImport']({'filePath':E+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':M(0xde),'isNamedExport':!![]});const F=f[M(0xe8)]({'pathParts':y['split']('/')});await f[M(0x113)]({'filePath':F+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':M(0xde),'isNamedExport':!![]});const G=f[M(0xe8)]({'pathParts':z['split']('/')});await f[M(0x113)]({'filePath':G+'.'+B,'importName':M(0x102),'modulePath':A?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(H){Log['error'](H),process[M(0xe5)](0x1);}},async function(){const N=a130L;console[N(0x100)](N(0x104));},a130f);export default a130f;
@@ -1 +1 @@
1
- function a131c(){const J=['Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','checkbox','jsx','MATERIAL','/imports/startup/client/templates','baseDir','<Outlet\x20/>','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','react','@mui/material/Container','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','pathFromApp','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','layouts','session','kit/mui/frame/footers/','length','(((.+)+)+)+$','tests','log','790113ZpizFB','force','5dOmOCG','toString','maka\x20g:k:m:f','10sgvUxQ','template','/imports/startup/lib/templates','4091301myihYc','2248530ujTJZj','imports','app-tests','constructor','2385588raHokW','.js','6dNMzYf','</div>','@mui/material/Box','12362911nXlKOK','<div\x20id=\x22','test','getDirectories','error','-hook\x22>','/imports/ui/','<Outlet/>','join','tsx','injectIntoFile','map','No\x20layouts\x20selected','Container','frame','149390bqVCjl','ssr','injectImport','findAppDirectory','create','engines','injectTemplateModule','67936PIGHkh','meteor','35REGgUi','search','maka\x20generate:kit:mui:frame','\x20/>\x0a','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','dir','REACT','Cleaning\x20up...'];a131c=function(){return J;};return a131c();}const a131G=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=-parseInt(E(0xbf))/0x1*(-parseInt(E(0xf3))/0x2)+parseInt(E(0xe4))/0x3+-parseInt(E(0xf1))/0x4*(-parseInt(E(0xe6))/0x5)+-parseInt(E(0xed))/0x6+-parseInt(E(0xc8))/0x7*(-parseInt(E(0xc6))/0x8)+parseInt(E(0xec))/0x9+-parseInt(E(0xe9))/0xa*(parseInt(E(0xf6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x4ac9b));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const F=a131d;return a131a[F(0xe7)]()[F(0xc9)](F(0xe1))['toString']()[F(0xf0)](a131a)[F(0xc9)](F(0xe1));});a131a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xb5;let f=c[d];return f;},a131d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a131e from'path';import a131f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a131G(0xc3)]({'name':a131G(0xbe),'aliases':['f'],'usage':a131G(0xcc),'shortDesc':a131G(0xd0),'validOpts':[a131G(0xdd),'baseDir',a131G(0xcd),a131G(0xe5)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a131G(0xd3)],'client':ClientEngines[a131G(0xce)]},'examples':[a131G(0xca),a131G(0xe8)],'description':a131G(0xda)},async function(a,b){const H=a131G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[H(0xe5)]||![],i='basic-app-bar',j='basic-drawer',k='basic-sticky-footer',l=c[H(0xc4)][H(0xc0)]===H(0xc7);await f['checkMeteorPackage']([H(0xde),'maka:react-tracker'],{'shouldInstall':!![]});const m=d[H(0xc2)](),n=a131e[H(0xb8)](m,H(0xee),'ui','layouts'),o=d[H(0xf9)](n),p=o[H(0xbb)](z=>({'name':z,'value':z})),q=await Actions[H(0xd1)]({'message':H(0xdc),'name':H(0xdd),'choices':p});if(q[H(0xe0)]===0x0){Log['error'](H(0xbc));return;}const r=b[H(0xd5)]?H(0xb6)+b[H(0xd5)]:'/imports/ui/components',s=g[H(0xdb)]({'pathParts':[r,b[H(0xcd)],kebabCase(i),kebabCase(i)]}),t=g[H(0xdb)]({'pathParts':[r,b[H(0xcd)],kebabCase(j),kebabCase(j)]}),u=g[H(0xdb)]({'pathParts':[r,b[H(0xcd)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c['appName'])};await g[H(0xea)]({'srcPath':'kit/mui/frame/app-bars/'+i+H(0xf2),'destPath':s+H(0xf2),'framework':H(0xd8),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':'kit/mui/frame/drawers/'+j+'.js','destPath':t+'.js','framework':H(0xd8),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0xea)]({'srcPath':H(0xdf)+k+'.js','destPath':u+'.js','framework':'react','context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b['dir']+'/'+i+'/'+i;await g[H(0xc5)](i,c,w);const x=''+r+b[H(0xcd)]+'/'+j+'/'+j;await g['injectTemplateModule'](j,c,x);const y=''+r+b[H(0xcd)]+'/'+k+'/'+k;await g[H(0xc5)](k,c,y);for(const z of q){const A=d['getFiles'](a131e[H(0xb8)](n,z),{'extensions':[H(0xd2),H(0xb9)],'omit':[H(0xef),H(0xe2),H(0xf8)]});for(const B of A){const C=a131e[H(0xb8)](n,z,B);await g['injectImport']({'filePath':C,'importName':'Box','modulePath':H(0xf5),'isNamedExport':![]}),await g[H(0xc1)]({'filePath':C,'importName':H(0xbd),'modulePath':H(0xd9),'isNamedExport':![]}),await g[H(0xc1)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0xeb):H(0xd4),'isNamedExport':!![]}),await g[H(0xba)]({'filePath':C,'content':'<'+pascalCase(i)+H(0xcb),'begin':[H(0xf7)+z+'\x22>',H(0xf7)+z+H(0xb5)],'end':[H(0xb7),H(0xd6)]}),await g[H(0xc1)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0xeb):'/imports/startup/client/templates','isNamedExport':!![]}),await g[H(0xba)]({'filePath':C,'content':'<'+pascalCase(j)+H(0xcb),'begin':['<div\x20id=\x22'+z+'\x22>',H(0xf7)+z+H(0xb5)],'end':[H(0xb7),H(0xd6)]}),await g[H(0xba)]({'filePath':C,'content':'<'+pascalCase(k)+H(0xcb),'begin':[H(0xb7),H(0xd6)],'end':[H(0xf4)]}),await g[H(0xc1)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?'/imports/startup/lib/templates':H(0xd4),'isNamedExport':!![]}),await g['injectAroundString']({'filePath':C,'aboveContent':'<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','belowContent':H(0xd7),'targetString':[H(0xb7),H(0xd6)],'targetIndentAdjustment':0x6});}}}catch(D){Log[H(0xfa)](D);}},async function(){const I=a131G;console[I(0xe3)](I(0xcf));},a131f);
1
+ const a131H=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=-parseInt(E(0x13d))/0x1*(-parseInt(E(0x15f))/0x2)+-parseInt(E(0x154))/0x3+-parseInt(E(0x131))/0x4*(parseInt(E(0x16f))/0x5)+parseInt(E(0x14c))/0x6+-parseInt(E(0x163))/0x7+-parseInt(E(0x12f))/0x8*(parseInt(E(0x136))/0x9)+parseInt(E(0x16d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xf3305));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a131d;if(c){const e=c[F(0x156)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const G=a131d;return a131a[G(0x14a)]()['search']('(((.+)+)+)+$')[G(0x14a)]()[G(0x16e)](a131a)['search'](G(0x134));});a131a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x12d;let f=c[d];return f;},a131d(a,b);}function a131c(){const K=['join','checkMeteorPackage','frame','31PUNEVP','layouts','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','.js','engines','@mui/material/Box','getFiles','injectIntoFile','appName','baseDir','No\x20layouts\x20selected','length','injectImport','toString','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','7185840WPYnCt','Box','getDirectories','basic-app-bar','REACT','<div\x20id=\x22','</div>','dir','1702935HTzhVF','log','apply','maka\x20generate:kit:mui:frame','Cleaning\x20up...','<Outlet\x20/>','ssr','/imports/startup/lib/templates','test','react','create','77324awOvaQ','findAppDirectory','session','\x20/>\x0a','13590325TZFmFW','map','Container','-hook\x22>','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','injectTemplateModule','/imports/startup/client/templates','maka\x20g:k:m:f','<Outlet/>','25032160uULexV','constructor','5971865YiQEff','tests','pathFromApp','error','799136YmEQsY','kit/mui/frame/drawers/','4EDRhtH','<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>','kit/mui/frame/app-bars/','(((.+)+)+)+$','@mui/material/Container','18vQFMwM','/imports/ui/','tsx','template'];a131c=function(){return K;};return a131c();}import a131e from'path';import a131f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a131H(0x15e)]({'name':a131H(0x13c),'aliases':['f'],'usage':a131H(0x14b),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':['layouts',a131H(0x146),'dir','force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a131H(0x150)]},'examples':[a131H(0x157),a131H(0x16b)],'description':a131H(0x13f)},async function(a,b){const I=a131H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b['force']||![],i=I(0x14f),j='basic-drawer',k='basic-sticky-footer',l=c[I(0x141)][I(0x15a)]==='meteor';await f[I(0x13b)]([I(0x161),'maka:react-tracker'],{'shouldInstall':!![]});const m=d[I(0x160)](),n=a131e[I(0x13a)](m,'imports','ui','layouts'),o=d[I(0x14e)](n),p=o[I(0x164)](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':I(0x167),'name':I(0x13e),'choices':p});if(q[I(0x148)]===0x0){Log[I(0x12e)](I(0x147));return;}const r=b[I(0x146)]?I(0x137)+b[I(0x146)]:'/imports/ui/components',s=g[I(0x12d)]({'pathParts':[r,b[I(0x153)],kebabCase(i),kebabCase(i)]}),t=g[I(0x12d)]({'pathParts':[r,b[I(0x153)],kebabCase(j),kebabCase(j)]}),u=g[I(0x12d)]({'pathParts':[r,b[I(0x153)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x145)])};await g[I(0x139)]({'srcPath':I(0x133)+i+I(0x140),'destPath':s+'.js','framework':I(0x15d),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':I(0x130)+j+I(0x140),'destPath':t+I(0x140),'framework':I(0x15d),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x139)]({'srcPath':'kit/mui/frame/footers/'+k+I(0x140),'destPath':u+I(0x140),'framework':I(0x15d),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0x153)]+'/'+i+'/'+i;await g[I(0x169)](i,c,w);const x=''+r+b[I(0x153)]+'/'+j+'/'+j;await g['injectTemplateModule'](j,c,x);const y=''+r+b[I(0x153)]+'/'+k+'/'+k;await g[I(0x169)](k,c,y);for(const z of q){const A=d[I(0x143)](a131e[I(0x13a)](n,z),{'extensions':['jsx',I(0x138)],'omit':['app-tests',I(0x170),I(0x15c)]});for(const B of A){const C=a131e['join'](n,z,B);await g[I(0x149)]({'filePath':C,'importName':I(0x14d),'modulePath':I(0x142),'isNamedExport':![]}),await g[I(0x149)]({'filePath':C,'importName':I(0x165),'modulePath':I(0x135),'isNamedExport':![]}),await g[I(0x149)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0x15b):I(0x16a),'isNamedExport':!![]}),await g[I(0x144)]({'filePath':C,'content':'<'+pascalCase(i)+I(0x162),'begin':[I(0x151)+z+'\x22>',I(0x151)+z+'-hook\x22>'],'end':[I(0x16c),I(0x159)]}),await g[I(0x149)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await g[I(0x144)]({'filePath':C,'content':'<'+pascalCase(j)+I(0x162),'begin':[I(0x151)+z+'\x22>',I(0x151)+z+I(0x166)],'end':[I(0x16c),I(0x159)]}),await g[I(0x144)]({'filePath':C,'content':'<'+pascalCase(k)+'\x20/>\x0a','begin':[I(0x16c),'<Outlet\x20/>'],'end':[I(0x152)]}),await g[I(0x149)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?'/imports/startup/lib/templates':I(0x16a),'isNamedExport':!![]}),await g['injectAroundString']({'filePath':C,'aboveContent':I(0x132),'belowContent':I(0x168),'targetString':[I(0x16c),'<Outlet\x20/>'],'targetIndentAdjustment':0x6});}}}catch(D){Log['error'](D);}},async function(){const J=a131H;console[J(0x155)](J(0x158));},a131f);
@@ -1 +1 @@
1
- const a132j=a132d;(function(a,b){const g=a132d,c=a();while(!![]){try{const d=-parseInt(g(0x186))/0x1+-parseInt(g(0x187))/0x2+parseInt(g(0x19f))/0x3+-parseInt(g(0x195))/0x4+-parseInt(g(0x19a))/0x5+-parseInt(g(0x184))/0x6*(parseInt(g(0x19d))/0x7)+parseInt(g(0x18d))/0x8*(parseInt(g(0x18b))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x7de47));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a132d;if(c){const e=c[h(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const i=a132d;return a132a[i(0x18c)]()['search'](i(0x194))[i(0x18c)]()[i(0x197)](a132a)[i(0x19b)](i(0x194));});a132a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';function a132c(){const l=['kitChoices','422835ISIKhI','search','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','1679195nRxvNI','getMakaProjectConfig','2742093VxAtaN','kit:mui:auth','processAndRunGenerator','mui','info','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','findProjectDirectory','fsi','24wpfxIr','error','584184zXTFyY','1530724kEomko','frame','Material-UI\x20Kit','No\x20MUI\x20kits\x20selected.\x20Exiting.','54gDZxZt','toString','3444496AUfmND','maka\x20g:kit:m','kit:mui:frame','includes','auth','apply','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','(((.+)+)+)+$','2352380ZNTlhD','checkbox','constructor','cfg'];a132c=function(){return l;};return a132c();}import a132e from'../../../generators/maka.gen.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x17f;let f=c[d];return f;},a132d(a,b);}import a132f from'../kit.js';const MuiGen=Generator['create']({'name':a132j(0x17f),'aliases':['m'],'usage':a132j(0x181),'resourceNameRequired':![],'shortDesc':a132j(0x189),'validOpts':[''],'isPro':!![],'examples':[a132j(0x18e)]},async function(){const k=a132j;try{Log[k(0x180)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log['notice']('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const a=await Actions[k(0x196)]({'message':k(0x193),'name':k(0x199),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':'frame'},{'name':k(0x19c),'value':k(0x191)}]}),b=this[k(0x183)][k(0x182)](),c=this[k(0x198)][k(0x19e)]();a[k(0x190)](k(0x188))&&await a132e['processAndRunGenerator'](k(0x18f),[],{'force':!![],'cwd':b,'config':c});a[k(0x190)](k(0x191))&&await a132e[k(0x1a1)](k(0x1a0),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[k(0x180)](k(0x18a));return;}}catch(d){Log[k(0x185)](d),process['exit'](0x1);}},async function(){},a132f);export default MuiGen;
1
+ const a132j=a132d;(function(a,b){const g=a132d,c=a();while(!![]){try{const d=-parseInt(g(0xf2))/0x1*(parseInt(g(0x103))/0x2)+parseInt(g(0xf0))/0x3*(parseInt(g(0xfa))/0x4)+-parseInt(g(0xfd))/0x5+-parseInt(g(0x106))/0x6+-parseInt(g(0xeb))/0x7+-parseInt(g(0x107))/0x8*(parseInt(g(0xee))/0x9)+-parseInt(g(0x10a))/0xa*(-parseInt(g(0x10e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x4ff72));function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xe9;let f=c[d];return f;},a132d(a,b);}const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a132d;if(c){const e=c[h(0xfe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const i=a132d;return a132a[i(0xed)]()['search'](i(0xea))[i(0xed)]()[i(0xf1)](a132a)[i(0x102)](i(0xea));});a132a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a132e from'../../../generators/maka.gen.js';import a132f from'../kit.js';function a132c(){const l=['search','2JAAupb','create','length','1466970sXcHGf','16fXSopL','kit:mui:frame','mui','10CFgCDU','exit','getMakaProjectConfig','fsi','11290015JHmuoi','findProjectDirectory','(((.+)+)+)+$','4417bSVLnv','kitChoices','toString','46746pNIfhf','Header,\x20Footer,\x20and\x20Drawer','39yOYdNP','constructor','180102pAtZKa','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','kit:mui:auth','includes','processAndRunGenerator','\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','checkbox','frame','12644HyPBJm','error','No\x20MUI\x20kits\x20selected.\x20Exiting.','1521520BQAxqr','apply','cfg','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','info'];a132c=function(){return l;};return a132c();}const MuiGen=Generator[a132j(0x104)]({'name':a132j(0x109),'aliases':['m'],'usage':a132j(0x100),'resourceNameRequired':![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a132j;try{Log[k(0x101)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log['notice'](k(0xf7));const a=await Actions[k(0xf8)]({'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','name':k(0xec),'choices':[{'name':k(0xef),'value':k(0xf9)},{'name':k(0xf3),'value':'auth'}]}),b=this[k(0x10d)][k(0xe9)](),c=this[k(0xff)][k(0x10c)]();a[k(0xf5)](k(0xf9))&&await a132e[k(0xf6)](k(0x108),[],{'force':!![],'cwd':b,'config':c});a['includes']('auth')&&await a132e[k(0xf6)](k(0xf4),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x105)]===0x0){Log[k(0x101)](k(0xfc));return;}}catch(d){Log[k(0xfb)](d),process[k(0x10b)](0x1);}},async function(){},a132f);export default MuiGen;
@@ -1 +1 @@
1
- const a133r=a133d;(function(a,b){const p=a133d,c=a();while(!![]){try{const d=parseInt(p(0x12e))/0x1+parseInt(p(0x150))/0x2*(-parseInt(p(0x138))/0x3)+-parseInt(p(0x15d))/0x4+parseInt(p(0x15f))/0x5*(-parseInt(p(0x142))/0x6)+-parseInt(p(0x130))/0x7+parseInt(p(0x160))/0x8+parseInt(p(0x137))/0x9*(parseInt(p(0x155))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x2ad8f));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const q=a133d;return a133a[q(0x143)]()[q(0x13c)](q(0x145))[q(0x143)]()[q(0x14a)](a133a)[q(0x13c)](q(0x145));});a133a();function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x12d;let f=c[d];return f;},a133d(a,b);}import a133e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator[a133r(0x14d)]({'name':'layout','aliases':aliases,'usage':a133r(0x12d),'shortDesc':a133r(0x141),'validOpts':[a133r(0x136)],'mustBeInMakaProject':!![],'examples':['maka\x20g:layout\x20mobile/iPhone8',a133r(0x134)]},async function(a,b){const s=a133r,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=s(0x147),i=d[s(0x133)](),j=g[s(0x15e)]({'pathParts':[h,b[s(0x140)],kebabCase(b[s(0x135)]),kebabCase(b[s(0x135)])]});typeof c['template'][s(0x139)]===s(0x13a)&&e[s(0x154)](s(0x139),c[s(0x15a)][s(0x139)]);typeof c[s(0x15a)]['css']===s(0x13a)&&e[s(0x154)]('css',c['template'][s(0x13d)]);typeof c[s(0x15a)]['js']===s(0x13a)&&e['setTemplate']('js',c[s(0x15a)]['js']);const k=b['_']?b['_'][0x0]['split'](':')[0x1]:![],l=b['_']&&aliases[s(0x152)](k);l&&!f[s(0x14e)]('ramda')&&(Log[s(0x148)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),f['installNpmPackage']('ramda',{'cwd':i}));if(l&&!f[s(0x14e)](s(0x146))){Log[s(0x148)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const m={'name':pascalCase(b[s(0x135)]),'myPath':a133e['relative'](d['findProjectDirectory'](),j),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[s(0x135)]),'camelCaseName':camelCase(b[s(0x135)]),'fileName':kebabCase(b[s(0x135)]),'graphql':c[s(0x15c)]['graphql'],'features':c[s(0x15b)],'client':c[s(0x15c)][s(0x12f)],'api':c[s(0x15c)][s(0x13f)],'ssr':c[s(0x15c)][s(0x144)],'test':c[s(0x15c)][s(0x139)],'theme':c[s(0x15c)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':c[s(0x15b)][s(0x156)]};c[s(0x15b)]?.[s(0x158)]||b[s(0x136)]?await g[s(0x15a)]({'srcPath':s(0x151),'destPath':j+'.js','framework':s(0x146),'context':m,'config':c}):await g[s(0x15a)]({'srcPath':s(0x149),'destPath':j+s(0x13b),'framework':s(0x146),'context':m,'config':c});c['engines'][s(0x139)]!==s(0x14c)&&await g[s(0x15a)]({'srcPath':s(0x159),'destPath':j+'.app-tests.js','framework':s(0x146),'context':m,'config':c});c[s(0x15a)][s(0x13d)]&&(await g[s(0x15a)]({'srcPath':s(0x13e),'destPath':j+s(0x14f),'context':Object['assign']({},m,{'className':kebabCase(b['resourceName'])}),'config':c}),await g[s(0x131)]({'filePath':j+'.'+c[s(0x15c)]['js'],'content':s(0x132)+m[s(0x14b)]+'.'+c[s(0x15c)]['css']+'\x27;'}));const n=b[s(0x140)]?'/'+b[s(0x140)]+'/':'/',o=''+h+n+m[s(0x14b)]+'/'+m[s(0x14b)];await g[s(0x157)](m[s(0x153)],c,o);});function a133c(){const t=['withTranslations','injectTemplateModule','withHooks','test/test.js','template','features','engines','139228OjYudv','pathFromApp','42815lfFUnE','1959832nrvvzA','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','268993yQWcTR','client','823354iLbCuR','injectAtBeginningOfFile','import\x20\x27./','findAppDirectory','maka\x20g:l\x20web/safari','resourceName','withHook','93573gywOwY','2547iWKmZN','test','string','.js','search','css','template/template.css','api','dir','Scaffolding\x20for\x20a\x20React\x20Layout.','24UFuVEp','toString','ssr','(((.+)+)+)+$','react','/imports/ui/layouts','warn','component/component.js','constructor','fileName','none','create','checkNpmPackage','.css','578boGzbS','hook/hook.js','includes','className','setTemplate','90RFYcMB'];a133c=function(){return t;};return a133c();}
1
+ const a133s=a133d;function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a133d(a,b);}(function(a,b){const p=a133d,c=a();while(!![]){try{const d=parseInt(p(0x1e7))/0x1*(-parseInt(p(0x1ff))/0x2)+-parseInt(p(0x1e0))/0x3+parseInt(p(0x1e4))/0x4*(parseInt(p(0x1f9))/0x5)+parseInt(p(0x1d8))/0x6*(-parseInt(p(0x1e9))/0x7)+parseInt(p(0x1e6))/0x8*(parseInt(p(0x1f7))/0x9)+parseInt(p(0x1dd))/0xa*(parseInt(p(0x1ce))/0xb)+parseInt(p(0x1e3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x98723));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a133d;if(c){const e=c[q(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const r=a133d;return a133a[r(0x1eb)]()[r(0x1fa)]('(((.+)+)+)+$')[r(0x1eb)]()[r(0x1f0)](a133a)[r(0x1fa)]('(((.+)+)+)+$');});a133a();import a133e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a133c(){const u=['assign','theme','.css','withHook','45HWznjg','apply','20qMqSjP','search','template','ramda','checkNpmPackage','.js','30ljxEhB','import\x20\x27./','dir','includes','findAppDirectory','test/test.js','68233GxmSBJ','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','setTemplate','findProjectDirectory','Scaffolding\x20for\x20a\x20React\x20Layout.','relative','features','/imports/ui/layouts','test','layout','6qiELIZ','css','warn','fileName','injectTemplateModule','170VvBkPf','split','resourceName','589302XYdTto','engines','injectAtBeginningOfFile','16840836bTWIGN','235732IYoHrv','string','448696OcWche','64333rkUOJu','component/component.js','1674211AyYwOQ','hook/hook.js','toString','installNpmPackage','react','client','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','constructor','graphql','className'];a133c=function(){return u;};return a133c();}import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a133s(0x1d7),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a133s(0x1d2),'validOpts':['withHook'],'mustBeInMakaProject':!![],'examples':['maka\x20g:layout\x20mobile/iPhone8','maka\x20g:l\x20web/safari']},async function(a,b){const t=a133s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0x1d5),i=d[t(0x203)](),j=g['pathFromApp']({'pathParts':[h,b[t(0x201)],kebabCase(b['resourceName']),kebabCase(b[t(0x1df)])]});typeof c[t(0x1fb)]['test']===t(0x1e5)&&e[t(0x1d0)]('test',c[t(0x1fb)][t(0x1d6)]);typeof c[t(0x1fb)][t(0x1d9)]==='string'&&e[t(0x1d0)](t(0x1d9),c['template'][t(0x1d9)]);typeof c[t(0x1fb)]['js']===t(0x1e5)&&e[t(0x1d0)]('js',c[t(0x1fb)]['js']);const k=b['_']?b['_'][0x0][t(0x1de)](':')[0x1]:![],l=b['_']&&aliases[t(0x202)](k);l&&!f[t(0x1fd)]('ramda')&&(Log[t(0x1da)](t(0x1cf)),f[t(0x1ec)](t(0x1fc),{'cwd':i}));if(l&&!f[t(0x1fd)](t(0x1ed))){Log['warn'](t(0x1ef));return;}const m={'name':pascalCase(b['resourceName']),'myPath':a133e[t(0x1d3)](d[t(0x1d1)](),j),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[t(0x1df)]),'camelCaseName':camelCase(b[t(0x1df)]),'fileName':kebabCase(b[t(0x1df)]),'graphql':c[t(0x1e1)][t(0x1f1)],'features':c[t(0x1d4)],'client':c[t(0x1e1)][t(0x1ee)],'api':c[t(0x1e1)]['api'],'ssr':c[t(0x1e1)]['ssr'],'test':c[t(0x1e1)][t(0x1d6)],'theme':c['engines'][t(0x1f4)],'isComponent':![],'isLayout':!![],'withTranslations':c['features']['withTranslations']};c[t(0x1d4)]?.['withHooks']||b[t(0x1f6)]?await g[t(0x1fb)]({'srcPath':t(0x1ea),'destPath':j+t(0x1fe),'framework':t(0x1ed),'context':m,'config':c}):await g[t(0x1fb)]({'srcPath':t(0x1e8),'destPath':j+t(0x1fe),'framework':'react','context':m,'config':c});c[t(0x1e1)][t(0x1d6)]!=='none'&&await g[t(0x1fb)]({'srcPath':t(0x1cd),'destPath':j+'.app-tests.js','framework':t(0x1ed),'context':m,'config':c});c[t(0x1fb)][t(0x1d9)]&&(await g['template']({'srcPath':'template/template.css','destPath':j+t(0x1f5),'context':Object[t(0x1f3)]({},m,{'className':kebabCase(b[t(0x1df)])}),'config':c}),await g[t(0x1e2)]({'filePath':j+'.'+c[t(0x1e1)]['js'],'content':t(0x200)+m[t(0x1db)]+'.'+c[t(0x1e1)][t(0x1d9)]+'\x27;'}));const n=b[t(0x201)]?'/'+b[t(0x201)]+'/':'/',o=''+h+n+m[t(0x1db)]+'/'+m[t(0x1db)];await g[t(0x1dc)](m[t(0x1f2)],c,o);});
@@ -1 +1 @@
1
- function a134c(){const j=['1343036WkKXXq','apply','maka\x20g:api\x20trucks','531eLRnrK','Scaffold\x20various\x20parts\x20of\x20your\x20application','1740PPHGCd','maka\x20g:route\x20todos/edit','maka\x20g:dbc\x20geoserver\x20--type=pgsql','1853272odyaQw','generate','24234zcOUhI','search','maka\x20g:scaffold\x20todos','maka\x20g:template\x20todos/todo_item','77tbQCRC','toString','constructor','1527717qogPtF','(((.+)+)+)+$','maka\x20{generate,\x20g}:<generator>\x20<name>','700416vpzdFG','maka\x20g:package\x20package:name','2885680GCAYRq'];a134c=function(){return j;};return a134c();}const a134i=a134d;function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x13a;let f=c[d];return f;},a134d(a,b);}(function(a,b){const f=a134d,c=a();while(!![]){try{const d=-parseInt(f(0x141))/0x1*(parseInt(f(0x143))/0x2)+-parseInt(f(0x14f))/0x3+parseInt(f(0x13e))/0x4+parseInt(f(0x13d))/0x5+-parseInt(f(0x148))/0x6*(-parseInt(f(0x14c))/0x7)+parseInt(f(0x146))/0x8+parseInt(f(0x13b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x482ae));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a134d;if(c){const e=c[g(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const h=a134d;return a134a['toString']()[h(0x149)](h(0x150))[h(0x14d)]()[h(0x14e)](a134a)[h(0x149)](h(0x150));});a134a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a134i(0x147),'aliases':['g'],'usage':a134i(0x13a),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a134i(0x142),'examples':['maka\x20generate:scaffold\x20todos',a134i(0x14a),a134i(0x14b),a134i(0x13c),a134i(0x144),a134i(0x140),a134i(0x145)]},async function(){});export default MakaGen;
1
+ const a134i=a134d;(function(a,b){const f=a134d,c=a();while(!![]){try{const d=-parseInt(f(0x191))/0x1+parseInt(f(0x19e))/0x2+-parseInt(f(0x194))/0x3*(parseInt(f(0x192))/0x4)+parseInt(f(0x19f))/0x5+parseInt(f(0x1a3))/0x6+-parseInt(f(0x18e))/0x7*(parseInt(f(0x195))/0x8)+parseInt(f(0x19c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xa07ef));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a134d;if(c){const e=c[g(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const h=a134d;return a134a['toString']()[h(0x193)]('(((.+)+)+)+$')[h(0x19a)]()[h(0x196)](a134a)[h(0x193)](h(0x1a1));});a134a();function a134c(){const j=['toString','maka\x20g:route\x20todos/edit','8546076UNtvCz','maka\x20g:template\x20todos/todo_item','767862bJSGvz','677330hdBFiW','maka\x20g:dbc\x20geoserver\x20--type=pgsql','(((.+)+)+)+$','maka\x20generate:scaffold\x20todos','5633754ekXrWg','31171qiZAeC','apply','generate','1262229BQeLIn','1721644eursWK','search','3FAHPuU','104fEwaCe','constructor','maka\x20g:scaffold\x20todos','maka\x20g:package\x20package:name','maka\x20g:api\x20trucks'];a134c=function(){return j;};return a134c();}import{Generator}from'../generator.js';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x18e;let f=c[d];return f;},a134d(a,b);}const MakaGen=new Generator({'name':a134i(0x190),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a134i(0x1a2),a134i(0x197),a134i(0x19d),a134i(0x198),a134i(0x19b),a134i(0x199),a134i(0x1a0)]},async function(){});export default MakaGen;
@@ -1 +1 @@
1
- const a135n=a135d;function a135c(){const p=['-rpc-method\x27;','startup','(((.+)+)+)+$','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','scaffold','3656991kVMtsM','7078520LJYkKj','method','pkg','constructor','index.','projectConfig','resourceName','imports','pathFromApp','371558OWsuMD','apply','5265827TfxrEM','search','injectAtEndOfFile','mdg:validated-method','2882604kvldsd','methods','engines','-rpc-method.','appPathPrefix','maka:check','6033744blwwiV','16gsTJUJ','method/method.js','import\x20\x27./methods','toString','maka\x20g:method\x20todos','dir','6051076SbrwBR'];a135c=function(){return p;};return a135c();}(function(a,b){const k=a135d,c=a();while(!![]){try{const d=parseInt(k(0x110))/0x1+parseInt(k(0x116))/0x2+-parseInt(k(0x106))/0x3+-parseInt(k(0x100))/0x4+parseInt(k(0x107))/0x5+-parseInt(k(0xf9))/0x6+parseInt(k(0x112))/0x7*(parseInt(k(0xfa))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xf3170));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a135d;if(c){const e=c[l(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const m=a135d;return a135a[m(0xfd)]()[m(0x113)](m(0x103))[m(0xfd)]()[m(0x10a)](a135a)[m(0x113)](m(0x103));});a135a();import{Generator}from'../generator.js';function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0xf5;let f=c[d];return f;},a135d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':a135n(0x108),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a135n(0x104),'validOpts':[a135n(0xff)],'examples':[a135n(0xfe)]},async function(a,b){const o=a135n;try{const c=this[o(0x10c)],d=b['dir']?'/'+b[o(0xff)]+'/':'/',f=kebabCase(b[o(0x10d)]),g={'name':b[o(0x10d)],'fileName':f,'className':pascalCase(b[o(0x10d)]),'camelCase':camelCase(b[o(0x10d)]),'noRename':!![]};let h='js';c['engines']['js']==='tsx'&&(h='ts');await this[o(0x109)]['checkMeteorPackage']([o(0xf8),'ddp-rate-limiter',o(0x115)],{'shouldInstall':!![]}),await this[o(0x105)]['template']({'srcPath':o(0xfb),'destPath':this[o(0x105)][o(0x10f)]({'pathParts':[o(0x10e),o(0x102),b['appPathPrefix'],o(0x117),d,f+o(0xf6)+h]}),'context':g,'config':c});const i=this[o(0x105)][o(0x10f)]({'pathParts':[o(0x10e),o(0x102),b[o(0xf7)],o(0x10b)+c[o(0xf5)]['js']]});await this[o(0x105)][o(0x114)]({'filePath':i,'content':o(0xfc)+d+f+o(0x101)});}catch(j){Log['error'](j);}});
1
+ function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a135d(a,b);}const a135n=a135d;(function(a,b){const k=a135d,c=a();while(!![]){try{const d=-parseInt(k(0x1e8))/0x1+-parseInt(k(0x1ed))/0x2*(-parseInt(k(0x1e0))/0x3)+parseInt(k(0x1d6))/0x4*(-parseInt(k(0x1e4))/0x5)+-parseInt(k(0x1e5))/0x6*(-parseInt(k(0x1e2))/0x7)+parseInt(k(0x1d0))/0x8+parseInt(k(0x1e9))/0x9+parseInt(k(0x1d3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xc760a));function a135c(){const p=['397070twrTcn','3344112IdLpfa','resourceName','apply','-rpc-method.','1734wAzKOI','projectConfig','create','error','appPathPrefix','template','index.','ddp-rate-limiter','dir','pkg','scaffold','905080jbFrAP','startup','maka\x20g:method\x20todos','5011760kswvnY','maka:check','search','12WpEyBk','tsx','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','engines','pathFromApp','maka\x20{generate,\x20g}:{method,\x20m}\x20name','injectAtEndOfFile','imports','constructor','methods','1359gUPMiw','toString','7lElFil','mdg:validated-method','2468895aMnMGZ','7898562ixPxxH','(((.+)+)+)+$','-rpc-method\x27;'];a135c=function(){return p;};return a135c();}const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a135d;if(c){const e=c[l(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const m=a135d;return a135a[m(0x1e1)]()['search']('(((.+)+)+)+$')[m(0x1e1)]()[m(0x1de)](a135a)[m(0x1d5)](m(0x1e6));});a135a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a135n(0x1ef)]({'name':'method','aliases':['m'],'usage':a135n(0x1db),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a135n(0x1d8),'validOpts':[a135n(0x1cd)],'examples':[a135n(0x1d2)]},async function(a,b){const o=a135n;try{const c=this[o(0x1ee)],d=b[o(0x1cd)]?'/'+b[o(0x1cd)]+'/':'/',f=kebabCase(b['resourceName']),g={'name':b[o(0x1ea)],'fileName':f,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0x1ea)]),'noRename':!![]};let h='js';c[o(0x1d9)]['js']===o(0x1d7)&&(h='ts');await this[o(0x1ce)]['checkMeteorPackage']([o(0x1d4),o(0x1cc),o(0x1e3)],{'shouldInstall':!![]}),await this[o(0x1cf)][o(0x1ca)]({'srcPath':'method/method.js','destPath':this[o(0x1cf)][o(0x1da)]({'pathParts':['imports',o(0x1d1),b[o(0x1c9)],o(0x1df),d,f+o(0x1ec)+h]}),'context':g,'config':c});const i=this[o(0x1cf)][o(0x1da)]({'pathParts':[o(0x1dd),o(0x1d1),b['appPathPrefix'],o(0x1cb)+c[o(0x1d9)]['js']]});await this[o(0x1cf)][o(0x1dc)]({'filePath':i,'content':'import\x20\x27./methods'+d+f+o(0x1e7)});}catch(j){Log[o(0x1f0)](j);}});