@maka/maka-cli 4.13.16 → 4.13.17

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 (163) 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/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/aws/_index.js +1 -1
  109. package/bundle/obf/src/generators/aws/aws.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/tool.js +1 -1
  145. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/options/options.class.js +1 -1
  157. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  158. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  163. package/package.json +1 -1
@@ -1 +1 @@
1
- const a135m=a135d;function a135c(){const p=['withValue','component/component.js','Updating\x20npm\x20packages\x20...','475OmAZMI','/imports/ui/pages','withTranslations','706279StbSCk','html','toString','component','.js','css','import\x20\x27./','(((.+)+)+)+$','injectAtBeginningOfFile','template','warn','549280lseeRF','48cBgirD','getMakaProjectConfig','none','.html','743679ZETWeY','root','apply','425852VNXipI','layout','pages','client','page','.app-tests.js','route','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','test/test.js','className','checkNpmPackage','.css','baseDir','string','template/template.css','store','resourceName','withHook','setTemplate','16SELUuZ','10sHdYgm','processAndRunGenerator','relative','engines','components','theme','Generate\x20a\x20page.','43098AoAKrc','ramda','fileName','hasOwnProperty','\x27;\x0a','features','dir','injectTemplateModule','react','test','9605321EwGLyF','true','163000VTNQSZ','fsi'];a135c=function(){return p;};return a135c();}(function(a,b){const j=a135d,c=a();while(!![]){try{const d=-parseInt(j(0x9b))/0x1+-parseInt(j(0xa3))/0x2+parseInt(j(0x9c))/0x3*(-parseInt(j(0x88))/0x4)+-parseInt(j(0x8d))/0x5*(-parseInt(j(0x7c))/0x6)+parseInt(j(0x90))/0x7*(parseInt(j(0x74))/0x8)+parseInt(j(0xa0))/0x9+parseInt(j(0x75))/0xa*(parseInt(j(0x86))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x67f57));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a135d;if(c){const e=c[k(0xa2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const l=a135d;return a135a[l(0x92)]()['search'](l(0x97))[l(0x92)]()['constructor'](a135a)['search'](l(0x97));});a135a();import a135e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a135f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x67;let f=c[d];return f;},a135d(a,b);}Generator['create']({'name':a135m(0xa7),'aliases':aliases,'usage':a135m(0x68),'shortDesc':a135m(0x7b),'validOpts':[{'name':a135m(0x6d),'values':['hooks',a135m(0x79),a135m(0xa5),'layouts']},{'name':a135m(0x72),'boolFlag':!![]}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const n=a135m,c=b[n(0x6d)]?'/imports/ui/'+b[n(0x6d)]:n(0x8e),d=this[n(0x89)]['findAppDirectory'](),e=this[n(0x89)]['pathFromApp']({'pathParts':[c,b[n(0x82)],paramCase(b[n(0x71)]),paramCase(b[n(0x71)])]}),f=this[n(0x89)][n(0x9d)]();let g='';return await this[n(0x89)][n(0x8a)](f,async()=>{const o=n;typeof f[o(0x99)][o(0x91)]===o(0x6e)&&(f[o(0x99)]['html']=f['template'][o(0x91)]===o(0x87)?!![]:![],this['fsi'][o(0x73)](o(0x91),f[o(0x99)][o(0x91)]));typeof f[o(0x99)]['test']===o(0x6e)&&(f[o(0x99)]['test']=f['template'][o(0x85)]===o(0x87)?!![]:![],this['fsi']['setTemplate'](o(0x85),f['template'][o(0x85)]));typeof f[o(0x99)][o(0x95)]===o(0x6e)&&(f[o(0x99)][o(0x95)]=f['template'][o(0x95)]==='true'?!![]:![],this['fsi'][o(0x73)](o(0x95),f[o(0x99)][o(0x95)]));typeof f[o(0x99)]['js']===o(0x6e)&&(f['template']['js']=f[o(0x99)]['js']===o(0x87)?!![]:![],this[o(0x89)]['setTemplate']('js',f[o(0x99)]['js']));!f['features']&&(f[o(0x81)]={});!b[o(0xa1)]&&!this[o(0x89)][o(0x6b)](o(0x7d))&&(Log[o(0x9a)](o(0x8c)),this[o(0x89)]['installNpmPackage'](o(0x7d),{'cwd':d}));const h={'name':pascalCase(b[o(0x71)]),'myPath':a135e[o(0x77)](this[o(0x89)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[o(0x71)]),'className':pascalCase(b[o(0x71)]),'camelCaseName':camelCase(b[o(0x71)]),'fileName':paramCase(b['resourceName']),'graphql':f[o(0x78)]['graphql'],'features':f[o(0x81)],'client':f['engines']['client'],'api':f[o(0x78)]['api'],'ssr':f[o(0x78)]['ssr'],'isStore':b[o(0x7f)](o(0x70)),'isComponent':b[o(0x7f)](o(0x93)),'isLayout':b[o(0x7f)](o(0xa4)),'withTranslations':f[o(0x81)][o(0x8f)],'test':f[o(0x78)][o(0x85)],'theme':f[o(0x78)][o(0x7a)]};f['template'][o(0x91)]&&await this[o(0x89)][o(0x99)]({'srcPath':'template/template.html','destPath':e+o(0x9f),'context':h,'config':f});f[o(0x81)]?.['withHooks']||b[o(0x72)]?await this[o(0x89)][o(0x99)]({'srcPath':'hook/hook.js','destPath':e+o(0x94),'framework':'react','context':h,'config':f}):await this['fsi'][o(0x99)]({'srcPath':o(0x8b),'destPath':e+o(0x94),'framework':o(0x84),'context':h,'config':f});f[o(0x78)][o(0x85)]!==o(0x9e)&&await this[o(0x89)][o(0x99)]({'srcPath':o(0x69),'destPath':e+o(0xa8),'framework':'react','context':h,'config':f});f['template'][o(0x95)]&&await this[o(0x89)][o(0x99)]({'srcPath':o(0x6f),'destPath':e+o(0x6c),'context':Object['assign']({},h,{'className':paramCase(b[o(0x71)])}),'config':f});f[o(0x78)][o(0xa6)]!==o(0x84)&&f[o(0x78)][o(0xa6)]!=='vanilla'?(f['template'][o(0x95)]&&await this[o(0x89)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[o(0x78)]['js'],'content':o(0x96)+h['fileName']+'.'+f[o(0x78)][o(0x91)]+o(0x80)+o(0x96)+h[o(0x7e)]+'.'+f[o(0x78)][o(0x95)]+'\x27;'}),!f[o(0x99)]['css']&&await this[o(0x89)][o(0x98)]({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+h[o(0x7e)]+'.'+f['engines'][o(0x91)]+'\x27;'})):f[o(0x99)][o(0x95)]&&await this[o(0x89)][o(0x98)]({'filePath':e+'.'+f[o(0x78)]['js'],'content':o(0x96)+h[o(0x7e)]+'.'+f[o(0x78)][o(0x95)]+'\x27;'});const i=b['dir']?'/'+b[o(0x82)]+'/':'/';g=''+c+i+h[o(0x7e)]+'/'+h[o(0x7e)],await this['fsi'][o(0x83)](h[o(0x6a)],f,g),!b[o(0xa1)]&&await a135f[o(0x76)](o(0x67),[i+b[o(0x71)]],b);}),g+'.'+f['engines']['js'];});
1
+ const a135l=a135d;(function(a,b){const j=a135d,c=a();while(!![]){try{const d=-parseInt(j(0x158))/0x1*(parseInt(j(0x141))/0x2)+parseInt(j(0x161))/0x3+parseInt(j(0x12d))/0x4*(parseInt(j(0x135))/0x5)+-parseInt(j(0x15a))/0x6*(parseInt(j(0x130))/0x7)+-parseInt(j(0x137))/0x8+parseInt(j(0x13b))/0x9*(parseInt(j(0x147))/0xa)+parseInt(j(0x131))/0xb*(parseInt(j(0x139))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x65359));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const k=a135d;return a135a['toString']()[k(0x15f)](k(0x14a))[k(0x149)]()[k(0x133)](a135a)[k(0x15f)]('(((.+)+)+)+$');});a135a();function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x129;let f=c[d];return f;},a135d(a,b);}import a135e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a135f from'../generators/maka.gen.js';function a135c(){const o=['fileName','/imports/ui/pages','928lEehHv','installNpmPackage','string','ramda','injectAtBeginningOfFile','test/test.js','1247900AFrlSv','react','toString','(((.+)+)+)+$','baseDir','hasOwnProperty','withValue','vanilla','true','client','html','test','getMakaProjectConfig','graphql','\x27;\x0a','withHook','hook/hook.js','1030dzeruK','.css','38796UkAcnj','setTemplate','page','none','pages','search','root','1178802ZUQVIc','css','Generate\x20a\x20page.','component','warn','features','injectTemplateModule','template/template.html','resourceName','relative','import\x20\x27./','withHooks','dir','Updating\x20npm\x20packages\x20...','fsi','49924MASpei','.app-tests.js','template','35lTdpNQ','1191597FNJwMm','hooks','constructor','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','145ajJVsd','className','5705272jMPHrc','assign','84dQcweS','ssr','9TOnkXN','checkNpmPackage','engines','.js'];a135c=function(){return o;};return a135c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a135l(0x15c),'aliases':aliases,'usage':a135l(0x134),'shortDesc':a135l(0x163),'validOpts':[{'name':a135l(0x14b),'values':[a135l(0x132),'components',a135l(0x15e),'layouts']},{'name':'withHook','boolFlag':!![]}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const m=a135l,c=b[m(0x14b)]?'/imports/ui/'+b[m(0x14b)]:m(0x140),d=this[m(0x12c)]['findAppDirectory'](),e=this[m(0x12c)]['pathFromApp']({'pathParts':[c,b[m(0x12a)],paramCase(b[m(0x169)]),paramCase(b[m(0x169)])]}),f=this[m(0x12c)][m(0x153)]();let g='';return await this[m(0x12c)][m(0x14d)](f,async()=>{const n=m;typeof f[n(0x12f)]['html']==='string'&&(f['template'][n(0x151)]=f[n(0x12f)][n(0x151)]===n(0x14f)?!![]:![],this[n(0x12c)][n(0x15b)](n(0x151),f[n(0x12f)]['html']));typeof f[n(0x12f)]['test']===n(0x143)&&(f[n(0x12f)][n(0x152)]=f[n(0x12f)][n(0x152)]===n(0x14f)?!![]:![],this[n(0x12c)][n(0x15b)]('test',f[n(0x12f)][n(0x152)]));typeof f[n(0x12f)][n(0x162)]===n(0x143)&&(f[n(0x12f)][n(0x162)]=f[n(0x12f)][n(0x162)]===n(0x14f)?!![]:![],this['fsi']['setTemplate'](n(0x162),f[n(0x12f)][n(0x162)]));typeof f['template']['js']===n(0x143)&&(f[n(0x12f)]['js']=f[n(0x12f)]['js']===n(0x14f)?!![]:![],this[n(0x12c)]['setTemplate']('js',f[n(0x12f)]['js']));!f['features']&&(f[n(0x166)]={});!b[n(0x160)]&&!this['fsi'][n(0x13c)](n(0x144))&&(Log[n(0x165)](n(0x12b)),this[n(0x12c)][n(0x142)](n(0x144),{'cwd':d}));const h={'name':pascalCase(b[n(0x169)]),'myPath':a135e[n(0x16a)](this[n(0x12c)]['pathFromProject']({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[n(0x169)]),'camelCaseName':camelCase(b[n(0x169)]),'fileName':paramCase(b[n(0x169)]),'graphql':f['engines'][n(0x154)],'features':f[n(0x166)],'client':f['engines'][n(0x150)],'api':f[n(0x13d)]['api'],'ssr':f[n(0x13d)][n(0x13a)],'isStore':b[n(0x14c)]('store'),'isComponent':b[n(0x14c)](n(0x164)),'isLayout':b[n(0x14c)]('layout'),'withTranslations':f[n(0x166)]['withTranslations'],'test':f['engines']['test'],'theme':f[n(0x13d)]['theme']};f['template'][n(0x151)]&&await this['fsi'][n(0x12f)]({'srcPath':n(0x168),'destPath':e+'.html','context':h,'config':f});f[n(0x166)]?.[n(0x129)]||b[n(0x156)]?await this[n(0x12c)]['template']({'srcPath':n(0x157),'destPath':e+n(0x13e),'framework':n(0x148),'context':h,'config':f}):await this['fsi']['template']({'srcPath':'component/component.js','destPath':e+n(0x13e),'framework':'react','context':h,'config':f});f[n(0x13d)][n(0x152)]!==n(0x15d)&&await this[n(0x12c)][n(0x12f)]({'srcPath':n(0x146),'destPath':e+n(0x12e),'framework':n(0x148),'context':h,'config':f});f['template']['css']&&await this[n(0x12c)]['template']({'srcPath':'template/template.css','destPath':e+n(0x159),'context':Object[n(0x138)]({},h,{'className':paramCase(b[n(0x169)])}),'config':f});f[n(0x13d)][n(0x150)]!==n(0x148)&&f[n(0x13d)]['client']!==n(0x14e)?(f[n(0x12f)][n(0x162)]&&await this[n(0x12c)][n(0x145)]({'filePath':e+'.'+f[n(0x13d)]['js'],'content':'import\x20\x27./'+h[n(0x13f)]+'.'+f[n(0x13d)][n(0x151)]+n(0x155)+n(0x16b)+h[n(0x13f)]+'.'+f[n(0x13d)][n(0x162)]+'\x27;'}),!f['template']['css']&&await this[n(0x12c)][n(0x145)]({'filePath':e+'.'+f['engines']['js'],'content':n(0x16b)+h[n(0x13f)]+'.'+f[n(0x13d)][n(0x151)]+'\x27;'})):f[n(0x12f)]['css']&&await this[n(0x12c)][n(0x145)]({'filePath':e+'.'+f[n(0x13d)]['js'],'content':n(0x16b)+h[n(0x13f)]+'.'+f[n(0x13d)][n(0x162)]+'\x27;'});const i=b[n(0x12a)]?'/'+b[n(0x12a)]+'/':'/';g=''+c+i+h[n(0x13f)]+'/'+h[n(0x13f)],await this[n(0x12c)][n(0x167)](h[n(0x136)],f,g),!b[n(0x160)]&&await a135f['processAndRunGenerator']('route',[i+b[n(0x169)]],b);}),g+'.'+f[m(0x13d)]['js'];});
@@ -1 +1 @@
1
- const a136p=a136d;(function(a,b){const m=a136d,c=a();while(!![]){try{const d=parseInt(m(0x180))/0x1*(-parseInt(m(0x179))/0x2)+-parseInt(m(0x16f))/0x3*(-parseInt(m(0x17f))/0x4)+-parseInt(m(0x16d))/0x5*(-parseInt(m(0x168))/0x6)+parseInt(m(0x18a))/0x7*(-parseInt(m(0x172))/0x8)+-parseInt(m(0x187))/0x9*(parseInt(m(0x16e))/0xa)+parseInt(m(0x181))/0xb*(-parseInt(m(0x176))/0xc)+parseInt(m(0x17e))/0xd*(parseInt(m(0x18d))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0xf2af3));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a136d;if(c){const e=c[n(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const o=a136d;return a136a['toString']()[o(0x186)](o(0x177))[o(0x17b)]()[o(0x188)](a136a)[o(0x186)](o(0x177));});a136a();function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0x167;let f=c[d];return f;},a136d(a,b);}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a136c(){const s=['2073VqaOAe','publish/publish.js','tsx','56mVlDzn','fsi','globalPublish','force','12HKaMFW','(((.+)+)+)+$','resourceName','2011620xxAlWb','dir','toString','withValue','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','1432821zuxlgu','3176JmfJon','1wNppck','514019weVIfj','publish','baseDir','apply','pathFromApp','search','2029059kfgVLv','constructor','imports','976094FCFamu','exit','import\x20\x27./publications','322OcpLEL','/imports/ui/','getMakaProjectConfig','78WPJeqw','appPathPrefix','create','error','/imports/startup/server/publications','323395jFbVNH','40GfRIIU'];a136c=function(){return s;};return a136c();}import{Log}from'../tools/log/log.class.js';Generator[a136p(0x16a)]({'name':a136p(0x182),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':a136p(0x17d),'validOpts':[a136p(0x175),a136p(0x174)],'examples':['maka\x20g:publish\x20todos']},async function(a,b){const q=a136p;try{const c=b[q(0x175)]||![],d=b['baseDir']?q(0x18e)+b[q(0x183)]:q(0x16c),f=this[q(0x173)][q(0x167)](),g=paramCase(b['resourceName']),h=this[q(0x173)][q(0x185)]({'pathParts':[d,b[q(0x17a)],'',g]});let i='js';f['engines']['js']===q(0x171)&&(i='ts');await this[q(0x173)][q(0x17c)](f,async()=>{const r=q,l={'name':b['resourceName'],'collection':pascalCase(b[r(0x178)]),'noRename':!![],'globalPublish':b[r(0x174)]};await this[r(0x173)]['template']({'srcPath':r(0x170),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0x173)][q(0x185)]({'pathParts':[q(0x189),'startup','server',b[q(0x169)],'index.'+f['engines']['js']]}),k=b[q(0x17a)]?'/'+b[q(0x17a)]+'/':'/';return await this[q(0x173)]['injectAtEndOfFile']({'filePath':j,'content':q(0x18c)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0x16b)](l),process[q(0x18b)](0x1);}});
1
+ const a136p=a136d;(function(a,b){const m=a136d,c=a();while(!![]){try{const d=parseInt(m(0xef))/0x1*(parseInt(m(0xfa))/0x2)+parseInt(m(0xec))/0x3+-parseInt(m(0xeb))/0x4+-parseInt(m(0xf7))/0x5*(parseInt(m(0x103))/0x6)+-parseInt(m(0xed))/0x7*(parseInt(m(0xfb))/0x8)+parseInt(m(0xf8))/0x9*(-parseInt(m(0xf1))/0xa)+parseInt(m(0xf4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0xdf811));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a136d;if(c){const e=c[n(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const o=a136d;return a136a[o(0xe6)]()[o(0x104)]('(((.+)+)+)+$')['toString']()[o(0xf6)](a136a)[o(0x104)](o(0xe8));});a136a();import{paramCase,pascalCase}from'change-case';function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0xe5;let f=c[d];return f;},a136d(a,b);}function a136c(){const s=['appPathPrefix','template','maka\x20g:publish\x20todos','resourceName','4226652cBOeeH','search','/imports/startup/server/publications','dir','create','getMakaProjectConfig','baseDir','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','/imports/ui/','toString','globalPublish','(((.+)+)+)+$','injectAtEndOfFile','apply','4895648zooNtp','3278502yrNhef','359345HhNaVQ','force','25vjddUS','withValue','6783410sUeweX','pathFromApp','fsi','26568344jVKWcF','publish/publish.js','constructor','5xVeuLm','9tbSWTI','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','112006UtkTOZ','216FDqNaB','startup','engines','server'];a136c=function(){return s;};return a136c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a136p(0x107)]({'name':'publish','aliases':['p'],'usage':a136p(0x10a),'shortDesc':a136p(0xf9),'validOpts':[a136p(0xee),a136p(0xe7)],'examples':[a136p(0x101)]},async function(a,b){const q=a136p;try{const c=b[q(0xee)]||![],d=b[q(0x109)]?q(0xe5)+b[q(0x109)]:q(0x105),f=this[q(0xf3)][q(0x108)](),g=paramCase(b['resourceName']),h=this['fsi'][q(0xf2)]({'pathParts':[d,b[q(0x106)],'',g]});let i='js';f[q(0xfd)]['js']==='tsx'&&(i='ts');await this['fsi'][q(0xf0)](f,async()=>{const r=q,l={'name':b[r(0x102)],'collection':pascalCase(b['resourceName']),'noRename':!![],'globalPublish':b[r(0xe7)]};await this[r(0xf3)][r(0x100)]({'srcPath':r(0xf5),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this['fsi'][q(0xf2)]({'pathParts':['imports',q(0xfc),q(0xfe),b[q(0xff)],'index.'+f[q(0xfd)]['js']]}),k=b[q(0x106)]?'/'+b[q(0x106)]+'/':'/';return await this[q(0xf3)][q(0xe9)]({'filePath':j,'content':'import\x20\x27./publications'+k+g+'\x27;'}),h+'.'+i;}catch(l){Log['error'](l),process['exit'](0x1);}});
@@ -1 +1 @@
1
- const a137B=a137d;(function(a,b){const y=a137d,c=a();while(!![]){try{const d=-parseInt(y(0x80))/0x1+parseInt(y(0x67))/0x2*(parseInt(y(0x6a))/0x3)+parseInt(y(0x77))/0x4+parseInt(y(0xa1))/0x5+-parseInt(y(0x92))/0x6*(parseInt(y(0x8c))/0x7)+parseInt(y(0x6d))/0x8*(parseInt(y(0xae))/0x9)+parseInt(y(0xb9))/0xa*(-parseInt(y(0x7a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a137c,0xddc1d));function a137c(){const J=['27QxvHKA','baseDir','/imports/ui/','maka\x20g:route\x20todosIndex\x20todos','root','routes.js','includes','pathFromProject','map','Adding\x20route\x20','imports','19944850tQbkHq','fsi','client','Route\x20','2353844ytCJrT','const\x20privateRoutes\x20=\x20(<>','ssr','3KQgFKA','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','rewriteDestinationPathForEngine','4440664hYqoYl','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','pathFromApp','withTranslations','length','hooks','dir','features','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','react','6517748kftAgv','pages','indexOf','11jjbhgz','\x20to\x20','PrivateLayout','injectAtEndOfFile','resourceName','injectAfterLineNumber','651098JBQAye','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','</Router>','templateName','search','readFileLines','newForm','toString','Valid\x20options\x20are:\x20','replace','const\x20publicRoutes\x20=\x20(<>','<Router','550081WTVUxI','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','layouts','templateContent','only','layout','102fUlLfe','(((.+)+)+)+$','private','withHook','\x20already\x20exists.\x20Skipping.','getMakaProjectConfig','maka\x20g:route\x20pages/about','route','url','withValue','join','startup','vanilla','apply','cwd','2091015NmmwEs','config','constructor','error','split','filter','<Route','lib','engines','toLowerCase','warn','maka\x20g:route\x20todosEdit\x20todos/:id/edit','route/route.js'];a137c=function(){return J;};return a137c();}const a137b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a137d;if(c){const e=c[z(0x9f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a137a=a137b(this,function(){const A=a137d;return a137a[A(0x87)]()['search'](A(0x93))[A(0x87)]()[A(0xa3)](a137a)[A(0x84)](A(0x93));});function a137d(a,b){const c=a137c();return a137d=function(d,e){d=d-0x64;let f=c[d];return f;},a137d(a,b);}a137a();import a137e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator['create']({'name':a137B(0x99),'aliases':aliases,'validOpts':[a137B(0x94),'layout',a137B(0x90),a137B(0xa0),a137B(0xa2),a137B(0xb2),a137B(0x95),'url',a137B(0xaf)],'usage':a137B(0x6b),'shortDesc':'Scaffolding\x20for\x20a\x20Route.','examples':[a137B(0xb1),a137B(0xac),a137B(0x75),'maka\x20g:route\x20pages/lists/listIndex\x20lists',a137B(0x98)]},async function(a,b){const C=a137B;try{const c=[C(0x72),'components',C(0x78),C(0x8e)];if(b[C(0xaf)]&&!c[C(0xb4)](b[C(0xaf)])){Log[C(0xa4)]('Invalid\x20directory\x20option\x20\x22'+b[C(0xaf)]+'\x22'),Log[C(0xa4)](C(0x88)+c[C(0x9c)](',\x20'));throw new UsageError();}const d=this[C(0x64)][C(0x97)]();await this[C(0x64)][C(0x9b)](d,async()=>{const D=C,f=b['private']??![];let g=b['resourceName'][D(0xa5)]('/')['pop']();if(!g){Log[D(0xa4)](D(0x8d));throw new UsageError();}g=pascalCase(g);let h=b[D(0x9a)]?'/'+b[D(0x9a)]:'/'+b[D(0x7e)];a[D(0x71)]>0x1&&(h='/'+a[D(0xa6)](function(n){return n!=='/';})[D(0x9c)]('/')[D(0xaa)]());h=h[D(0x89)](/\/\//g,'/');b['layout']&&(b['layout']=camelCase(b[D(0x91)]));const i=b[D(0xaf)]?D(0xb0)+b['baseDir']:'/imports/ui/pages',j=a137e['join'](i,b[D(0x73)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[D(0x91)]||'MasterLayout','templatePath':j,'templateName':pascalCase(g),'client':d[D(0xa9)]['client'],'newForm':![],'withTranslations':d[D(0x74)][D(0x70)]};f&&(k['layout']=D(0x7c));let l,m;if(d[D(0xa9)]['client']===D(0x76)){if(d[D(0xa9)][D(0x69)]==='true'){const r=this['fsi'][D(0x6f)]({'pathParts':[D(0xb8),'startup',D(0xa8),D(0xb3)]});l=this[D(0x64)]['rewriteDestinationPathForEngine']({'pathParts':[r],'config':d});}else{const s=this[D(0x64)][D(0x6f)]({'pathParts':[D(0xb8),D(0x9d),'client',D(0xb3)]});l=this['fsi'][D(0x6c)]({'pathParts':[s],'config':d});}const n=await this[D(0x64)]['fileContainsString'](l,g);if(n){Log[D(0xab)](D(0x66)+g+D(0x96));return;}else{const t=this[D(0x64)][D(0xb5)](l);Log['info'](D(0xb7)+g+D(0x7b)+l[D(0x89)](t,''));}const o=this[D(0x64)][D(0x85)](l)['map']((u,v)=>{const E=D;return u[E(0xb4)](E(0x81))?v+0x1:null;})[D(0xa6)](u=>u!==null);let p=this[D(0x64)]['readFileLines'](l)[D(0xb6)]((u,v)=>{const F=D;return u[F(0xb4)]('const\x20publicRoutes\x20=\x20(<>')?v+0x1:null;})[D(0xa6)](u=>u!==null),q=this['fsi']['readFileLines'](l)['map']((u,v)=>{return u['includes']('const\x20privateRoutes\x20=\x20(<>')?v+0x1:null;})[D(0xa6)](u=>u!==null);p[D(0x71)]>0x0&&q['length']>0x0&&(k[D(0x86)]=!![]);m=this[D(0x64)][D(0x8f)]({'srcPath':D(0xad),'framework':D(0x76),'context':k,'config':d});if(p[D(0x71)]>0x0||q[D(0x71)]>0x0){this['fsi'][D(0x7f)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q['length']>0x0)q=this[D(0x64)][D(0x85)](l)[D(0xb6)]((u,v)=>{const G=D;return u[G(0xb4)](G(0x68))?v+0x1:null;})[D(0xa6)](u=>u!==null),this[D(0x64)][D(0x7f)]({'filePath':l,'content':'\x09{'+k[D(0x83)]+'}','lineNumber':q[0x0]});else p[D(0x71)]>0x0?(p=this[D(0x64)]['readFileLines'](l)[D(0xb6)]((u,v)=>{const H=D;return u[H(0xb4)](H(0x8a))?v+0x1:null;})['filter'](u=>u!==null),this[D(0x64)][D(0x7f)]({'filePath':l,'content':'\x09{'+k[D(0x83)]+'}','lineNumber':p[0x0]})):Log[D(0xab)](D(0x6e)+l);}else{const u=this['fsi'][D(0x85)](l)[D(0xb6)](x=>{const I=D;return x[I(0xb4)]('\x22*\x22');}),v=u[D(0x79)](!![])>-0x1,w=v?D(0xa7):D(0x82);await this[D(0x64)]['injectIntoFile']({'filePath':l,'content':'\x0a\x09\x09'+m+'\x0a\x09\x09','begin':D(0x8b),'end':w});}}else{if(d[D(0xa9)][D(0x65)]===D(0x9e)){const x=this[D(0x64)][D(0x6f)]({'pathParts':[D(0xb8),'startup',D(0x65),'routes.js']});l=this[D(0x64)]['rewriteDestinationPathForEngine']({'pathParts':[x],'config':d}),m=this[D(0x64)]['templateContent']({'srcPath':'route/route.js','context':k}),await this['fsi'][D(0x7d)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log['error'](f);}});
1
+ const a137B=a137d;(function(a,b){const y=a137d,c=a();while(!![]){try{const d=-parseInt(y(0x1fd))/0x1+parseInt(y(0x1e3))/0x2*(parseInt(y(0x1c0))/0x3)+-parseInt(y(0x1be))/0x4*(-parseInt(y(0x208))/0x5)+-parseInt(y(0x1c7))/0x6*(-parseInt(y(0x207))/0x7)+parseInt(y(0x1c4))/0x8*(parseInt(y(0x1e4))/0x9)+parseInt(y(0x1f4))/0xa*(-parseInt(y(0x1b5))/0xb)+-parseInt(y(0x201))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a137c,0x51f61));const a137b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a137d;if(c){const e=c[z(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a137a=a137b(this,function(){const A=a137d;return a137a[A(0x1d4)]()['search'](A(0x1d3))['toString']()['constructor'](a137a)[A(0x1ee)](A(0x1d3));});a137a();import a137e from'path';function a137d(a,b){const c=a137c();return a137d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a137d(a,b);}import{Generator}from'../generator.js';function a137c(){const J=['pages','engines','rewriteDestinationPathForEngine','search','pathFromProject','private','injectIntoFile','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','layout','620gYfdSx','<Route','components','url','vanilla','PrivateLayout','replace','route/route.js','getMakaProjectConfig','396008scVrKF','pathFromApp','route','\x22*\x22','9160932RWhAYe','dir','fileContainsString','includes','config','maka\x20g:route\x20todosIndex\x20todos','21zNfend','115DsyUyb','const\x20privateRoutes\x20=\x20(<>','resourceName','split','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','error','8415SNQWZG','info','<Router','\x20already\x20exists.\x20Skipping.','</Router>','const\x20publicRoutes\x20=\x20(<>','ssr','create','cwd','101212syamZa','toLowerCase','111xjeuGQ','true','join','client','64nNvjLd','readFileLines','filter','599376OkxqYx','Route\x20','\x0a\x09\x09','startup','length','templateName','Scaffolding\x20for\x20a\x20Route.','templateContent','only','withTranslations','indexOf','/imports/ui/pages','(((.+)+)+)+$','toString','injectAtEndOfFile','imports','withHook','maka\x20g:route\x20pages/about','map','layouts','react','apply','injectAfterLineNumber','lib','baseDir','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','Valid\x20options\x20are:\x20','fsi','23994gUDSEL','244143tNohoM','routes.js','features','MasterLayout','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','warn','/imports/ui/'];a137c=function(){return J;};return a137c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a137B(0x1bc)]({'name':a137B(0x1ff),'aliases':aliases,'validOpts':[a137B(0x1f0),'layout',a137B(0x1cf),a137B(0x1bd),a137B(0x205),'root',a137B(0x1d7),'url','baseDir'],'usage':a137B(0x1b3),'shortDesc':a137B(0x1cd),'examples':[a137B(0x206),'maka\x20g:route\x20todosEdit\x20todos/:id/edit',a137B(0x1e0),'maka\x20g:route\x20pages/lists/listIndex\x20lists',a137B(0x1d8)]},async function(a,b){const C=a137B;try{const c=['hooks',C(0x1f6),C(0x1eb),C(0x1da)];if(b[C(0x1df)]&&!c[C(0x204)](b['baseDir'])){Log[C(0x1b4)]('Invalid\x20directory\x20option\x20\x22'+b[C(0x1df)]+'\x22'),Log['error'](C(0x1e1)+c['join'](',\x20'));throw new UsageError();}const d=this['fsi'][C(0x1fc)]();await this[C(0x1e2)]['withValue'](d,async()=>{const D=C,f=b['private']??![];let g=b[D(0x1b1)][D(0x1b2)]('/')['pop']();if(!g){Log['error'](D(0x1f2));throw new UsageError();}g=pascalCase(g);let h=b[D(0x1f7)]?'/'+b['url']:'/'+b[D(0x1b1)];a[D(0x1cb)]>0x1&&(h='/'+a['filter'](function(n){return n!=='/';})['join']('/')[D(0x1bf)]());h=h[D(0x1fa)](/\/\//g,'/');b['layout']&&(b['layout']=camelCase(b[D(0x1f3)]));const i=b['baseDir']?D(0x1ea)+b['baseDir']:D(0x1d2),j=a137e[D(0x1c2)](i,b[D(0x202)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[D(0x1f3)]||D(0x1e7),'templatePath':j,'templateName':pascalCase(g),'client':d[D(0x1ec)][D(0x1c3)],'newForm':![],'withTranslations':d[D(0x1e6)][D(0x1d0)]};f&&(k[D(0x1f3)]=D(0x1f9));let l,m;if(d[D(0x1ec)][D(0x1c3)]===D(0x1db)){if(d[D(0x1ec)][D(0x1bb)]===D(0x1c1)){const r=this[D(0x1e2)][D(0x1fe)]({'pathParts':[D(0x1d6),D(0x1ca),D(0x1de),D(0x1e5)]});l=this[D(0x1e2)][D(0x1ed)]({'pathParts':[r],'config':d});}else{const s=this[D(0x1e2)][D(0x1fe)]({'pathParts':[D(0x1d6),'startup',D(0x1c3),'routes.js']});l=this[D(0x1e2)][D(0x1ed)]({'pathParts':[s],'config':d});}const n=await this[D(0x1e2)][D(0x203)](l,g);if(n){Log[D(0x1e9)](D(0x1c8)+g+D(0x1b8));return;}else{const t=this[D(0x1e2)][D(0x1ef)](l);Log[D(0x1b6)]('Adding\x20route\x20'+g+'\x20to\x20'+l[D(0x1fa)](t,''));}const o=this[D(0x1e2)][D(0x1c5)](l)['map']((u,v)=>{const E=D;return u[E(0x204)](E(0x1e8))?v+0x1:null;})['filter'](u=>u!==null);let p=this[D(0x1e2)][D(0x1c5)](l)['map']((u,v)=>{const F=D;return u['includes'](F(0x1ba))?v+0x1:null;})['filter'](u=>u!==null),q=this[D(0x1e2)][D(0x1c5)](l)[D(0x1d9)]((u,v)=>{const G=D;return u[G(0x204)](G(0x1b0))?v+0x1:null;})[D(0x1c6)](u=>u!==null);p[D(0x1cb)]>0x0&&q['length']>0x0&&(k['newForm']=!![]);m=this['fsi'][D(0x1ce)]({'srcPath':'route/route.js','framework':D(0x1db),'context':k,'config':d});if(p['length']>0x0||q[D(0x1cb)]>0x0){this['fsi'][D(0x1dd)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q[D(0x1cb)]>0x0)q=this[D(0x1e2)]['readFileLines'](l)[D(0x1d9)]((u,v)=>{const H=D;return u[H(0x204)](H(0x1b0))?v+0x1:null;})[D(0x1c6)](u=>u!==null),this[D(0x1e2)]['injectAfterLineNumber']({'filePath':l,'content':'\x09{'+k[D(0x1cc)]+'}','lineNumber':q[0x0]});else p[D(0x1cb)]>0x0?(p=this[D(0x1e2)][D(0x1c5)](l)[D(0x1d9)]((u,v)=>{return u['includes']('const\x20publicRoutes\x20=\x20(<>')?v+0x1:null;})[D(0x1c6)](u=>u!==null),this[D(0x1e2)][D(0x1dd)]({'filePath':l,'content':'\x09{'+k[D(0x1cc)]+'}','lineNumber':p[0x0]})):Log[D(0x1e9)]('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+l);}else{const u=this[D(0x1e2)]['readFileLines'](l)['map'](x=>{const I=D;return x[I(0x204)](I(0x200));}),v=u[D(0x1d1)](!![])>-0x1,w=v?D(0x1f5):D(0x1b9);await this[D(0x1e2)][D(0x1f1)]({'filePath':l,'content':D(0x1c9)+m+D(0x1c9),'begin':D(0x1b7),'end':w});}}else{if(d[D(0x1ec)][D(0x1c3)]===D(0x1f8)){const x=this[D(0x1e2)][D(0x1fe)]({'pathParts':[D(0x1d6),D(0x1ca),'client','routes.js']});l=this[D(0x1e2)][D(0x1ed)]({'pathParts':[x],'config':d}),m=this['fsi']['templateContent']({'srcPath':D(0x1fb),'context':k}),await this['fsi'][D(0x1d5)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[C(0x1b4)](f);}});
@@ -1 +1 @@
1
- const a138m=a138d;(function(a,b){const j=a138d,c=a();while(!![]){try{const d=-parseInt(j(0x8a))/0x1+parseInt(j(0x80))/0x2*(parseInt(j(0x96))/0x3)+parseInt(j(0x76))/0x4*(-parseInt(j(0x82))/0x5)+-parseInt(j(0x89))/0x6+-parseInt(j(0x92))/0x7*(parseInt(j(0x85))/0x8)+-parseInt(j(0x95))/0x9+parseInt(j(0x94))/0xa*(parseInt(j(0x78))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a138c,0x24558));const a138b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a138d;if(c){const e=c[k(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a138a=a138b(this,function(){const l=a138d;return a138a[l(0x7e)]()['search'](l(0x81))['toString']()[l(0x7c)](a138a)[l(0x8c)](l(0x81));});function a138c(){const p=['(((.+)+)+)+$','1386155pbsqAf','resourceName','getMakaProjectConfig','25976KntOwl','services','error','checkNpmPackage','1445970OcgtsY','92473MNeWEJ','svc','search','fsi','service','service/logger/logger.js','maka\x20{generate,\x20g}:{service}\x20<resource-name>','pathFromApp','623AxPBdF','winston\x20setimmediate','36030LZAaFx','69282PDqAoK','9HPBKjE','withValue','imports','4CLlxuS','maka\x20g:svc\x20service-logger\x20--type=logger','3102zvGZgu','engines','logger','apply','constructor','create','toString','type','26772FhKdJH'];a138c=function(){return p;};return a138c();}a138a();function a138d(a,b){const c=a138c();return a138d=function(d,e){d=d-0x76;let f=c[d];return f;},a138d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a138m(0x7d)]({'name':a138m(0x8e),'aliases':[a138m(0x8b)],'usage':a138m(0x90),'shortDesc':'Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','requiredOpts':[{'name':a138m(0x7f),'values':[a138m(0x7a)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a138m(0x77)]},async function(a,b){const n=a138m;try{const c=this[n(0x8d)][n(0x84)]();await this[n(0x8d)][n(0x97)](c,async()=>{const o=n,d=this[o(0x8d)][o(0x91)]({}),f=paramCase(b[o(0x83)]),g={'name':pascalCase(b[o(0x83)]),'fileName':f,'camelCase':camelCase(b[o(0x83)]),'type':b[o(0x7f)],'engine':c[o(0x79)]['js'],'noRename':!![]};let h='js';c[o(0x79)]['js']==='tsx'&&(h='ts');if(b[o(0x7f)]===o(0x7a)){!this['fsi'][o(0x88)]('winston')&&await this[o(0x8d)]['installNpmPackage'](o(0x93),{'cwd':d,'msg':'Installing\x20winston'});const i=this[o(0x8d)][o(0x91)]({'pathParts':[o(0x98),'startup','lib',o(0x86),f+'.'+h]});await this[o(0x8d)]['template']({'srcPath':o(0x8f),'destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0x87)](d);}});
1
+ function a138d(a,b){const c=a138c();return a138d=function(d,e){d=d-0x108;let f=c[d];return f;},a138d(a,b);}const a138m=a138d;(function(a,b){const j=a138d,c=a();while(!![]){try{const d=parseInt(j(0x113))/0x1*(parseInt(j(0x10e))/0x2)+-parseInt(j(0x10a))/0x3*(-parseInt(j(0x11a))/0x4)+parseInt(j(0x116))/0x5+parseInt(j(0x11b))/0x6+-parseInt(j(0x117))/0x7+parseInt(j(0x109))/0x8*(parseInt(j(0x124))/0x9)+-parseInt(j(0x123))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a138c,0x96039));function a138c(){const p=['8prXdNC','939SqbBCB','startup','maka\x20{generate,\x20g}:{service}\x20<resource-name>','getMakaProjectConfig','252180qTXZmf','search','resourceName','apply','winston','6EEHwBy','services','checkNpmPackage','1667400frrCcL','871430YZbyLf','imports','(((.+)+)+)+$','13228ZGrZNL','3884406hrzUSp','engines','logger','type','svc','winston\x20setimmediate','constructor','fsi','29433440xzqhbq','8188011FvIsNg','create','lib','template','maka\x20g:svc\x20service-logger\x20--type=logger','Installing\x20winston','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','toString','error','pathFromApp','withValue'];a138c=function(){return p;};return a138c();}const a138b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a138d;if(c){const e=c[k(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a138a=a138b(this,function(){const l=a138d;return a138a[l(0x12b)]()[l(0x10f)](l(0x119))[l(0x12b)]()[l(0x121)](a138a)[l(0x10f)]('(((.+)+)+)+$');});a138a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a138m(0x125)]({'name':'service','aliases':[a138m(0x11f)],'usage':a138m(0x10c),'shortDesc':a138m(0x12a),'requiredOpts':[{'name':a138m(0x11e),'values':[a138m(0x11d)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a138m(0x128)]},async function(a,b){const n=a138m;try{const c=this[n(0x122)][n(0x10d)]();await this[n(0x122)][n(0x108)](c,async()=>{const o=n,d=this[o(0x122)][o(0x12d)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[o(0x110)]),'fileName':f,'camelCase':camelCase(b['resourceName']),'type':b[o(0x11e)],'engine':c[o(0x11c)]['js'],'noRename':!![]};let h='js';c['engines']['js']==='tsx'&&(h='ts');if(b[o(0x11e)]===o(0x11d)){!this[o(0x122)][o(0x115)](o(0x112))&&await this[o(0x122)]['installNpmPackage'](o(0x120),{'cwd':d,'msg':o(0x129)});const i=this[o(0x122)][o(0x12d)]({'pathParts':[o(0x118),o(0x10b),o(0x126),o(0x114),f+'.'+h]});await this[o(0x122)][o(0x127)]({'srcPath':'service/logger/logger.js','destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0x12c)](d);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a139d,c=a();while(!![]){try{var d=-parseInt(f(0x157))/0x1+-parseInt(f(0x154))/0x2+-parseInt(f(0x152))/0x3+parseInt(f(0x151))/0x4*(-parseInt(f(0x14b))/0x5)+-parseInt(f(0x14e))/0x6+parseInt(f(0x14d))/0x7+parseInt(f(0x150))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0xbf691));var a139b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a139d;if(c){var e=c[g(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a139a=a139b(this,function(){var h=a139d;return a139a[h(0x155)]()[h(0x14c)](h(0x153))[h(0x155)]()[h(0x156)](a139a)[h(0x14c)]('(((.+)+)+)+$');});function a139d(a,b){var c=a139c();return a139d=function(d,e){d=d-0x14b;var f=c[d];return f;},a139d(a,b);}function a139c(){var i=['constructor','282110kbLtyX','315oPZdCS','search','8994608NXGKaV','8273232wwDgSu','apply','29808984ePGgdl','35500ysvllA','3406560moqJun','(((.+)+)+)+$','1742846OgYrIA','toString'];a139c=function(){return i;};return a139c();}a139a();import'./translation.js';import'./openssl.js';
1
+ (function(a,b){var f=a139d,c=a();while(!![]){try{var d=parseInt(f(0xcb))/0x1*(parseInt(f(0xd9))/0x2)+parseInt(f(0xd7))/0x3+-parseInt(f(0xd8))/0x4*(parseInt(f(0xd5))/0x5)+parseInt(f(0xd0))/0x6*(parseInt(f(0xd3))/0x7)+parseInt(f(0xd4))/0x8+parseInt(f(0xcf))/0x9*(-parseInt(f(0xca))/0xa)+-parseInt(f(0xd6))/0xb*(parseInt(f(0xd2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0xad540));function a139d(a,b){var c=a139c();return a139d=function(d,e){d=d-0xca;var f=c[d];return f;},a139d(a,b);}var a139b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a139d;if(c){var e=c[g(0xd1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a139a=a139b(this,function(){var h=a139d;return a139a[h(0xcc)]()[h(0xcd)](h(0xda))[h(0xcc)]()[h(0xce)](a139a)['search'](h(0xda));});a139a();import'./translation.js';function a139c(){var i=['apply','9264ZoeUwC','2723lRHhhs','9975544lQKlNP','997085ZSUzJz','2101eYtbxO','2178591roFTtl','16uSBUUK','82ptYvAe','(((.+)+)+)+$','11526670ititWa','3686iGQXCo','toString','search','constructor','9VTRltd','10542mzZVUB'];a139c=function(){return i;};return a139c();}import'./openssl.js';
@@ -1 +1 @@
1
- const a140l=a140d;(function(a,b){const i=a140d,c=a();while(!![]){try{const d=-parseInt(i(0x182))/0x1+-parseInt(i(0x188))/0x2+parseInt(i(0x194))/0x3*(parseInt(i(0x178))/0x4)+-parseInt(i(0x185))/0x5+-parseInt(i(0x175))/0x6+parseInt(i(0x189))/0x7+-parseInt(i(0x176))/0x8*(-parseInt(i(0x18e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a140c,0x5c85a));const a140b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a140d;if(c){const e=c[j(0x18a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a140a=a140b(this,function(){const k=a140d;return a140a[k(0x186)]()[k(0x187)](k(0x17c))[k(0x186)]()[k(0x17a)](a140a)['search'](k(0x17c));});a140a();function a140d(a,b){const c=a140c();return a140d=function(d,e){d=d-0x175;let f=c[d];return f;},a140d(a,b);}import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a140e from'path';function a140c(){const o=['search','1249948XLPnHj','5180756irbGKC','apply','Generate\x20a\x20new\x20openssl\x20config\x20file','_keys','service','10401597zntdkL','openssl/openssl.conf','template','sslconfig','maka\x20{generate,\x20g}:sslconfig','getAppConfigPath','7107pedsow','2827674YQpTSH','8gTlsrB','withValue','348vfxZud','create','constructor','maka\x20g:sslconfig\x20--env\x20dev','(((.+)+)+)+$','error','join','getMakaProjectConfig','env','fsi','387264trkhmT','appName','getGlobalConfig','1197285YZwqen','toString'];a140c=function(){return o;};return a140c();}Generator[a140l(0x179)]({'name':a140l(0x191),'usage':a140l(0x192),'shortDesc':a140l(0x18b),'noNeedResource':!![],'requiredOpts':[a140l(0x180)],'examples':[a140l(0x17b)],'validOpts':[]},async function(a,b){const m=a140l;try{const c=await this[m(0x181)][m(0x17f)](),d=await this[m(0x181)][m(0x184)](),f=this[m(0x181)][m(0x193)](b[m(0x180)]),g=a140e[m(0x17e)](f,m(0x18c),'openssl.conf');await this['fsi'][m(0x177)](c,async()=>{const n=m,h={'app':d[n(0x183)],'noRename':!![]};await this[n(0x181)][n(0x190)]({'srcPath':n(0x18f),'destPath':g,'framework':n(0x18d),'context':h,'config':c});});}catch(h){Log[m(0x17d)](h);}});
1
+ const a140l=a140d;function a140d(a,b){const c=a140c();return a140d=function(d,e){d=d-0x72;let f=c[d];return f;},a140d(a,b);}(function(a,b){const i=a140d,c=a();while(!![]){try{const d=parseInt(i(0x80))/0x1*(parseInt(i(0x87))/0x2)+-parseInt(i(0x74))/0x3*(-parseInt(i(0x8b))/0x4)+parseInt(i(0x73))/0x5+parseInt(i(0x7d))/0x6+-parseInt(i(0x7f))/0x7+-parseInt(i(0x7c))/0x8*(parseInt(i(0x79))/0x9)+parseInt(i(0x81))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a140c,0x1ee13));const a140b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a140d;if(c){const e=c[j(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a140a=a140b(this,function(){const k=a140d;return a140a[k(0x8e)]()[k(0x89)](k(0x77))[k(0x8e)]()[k(0x84)](a140a)['search'](k(0x77));});a140a();import{Generator}from'../../generator.js';function a140c(){const o=['1150674gwAGOt','149zyNJVE','1133740sTCUuA','env','appName','constructor','service','Generate\x20a\x20new\x20openssl\x20config\x20file','38MyoTJN','fsi','search','getGlobalConfig','19392fWytrJ','join','openssl/openssl.conf','toString','openssl.conf','817505OFOXkK','51hHaarg','maka\x20{generate,\x20g}:sslconfig','sslconfig','(((.+)+)+)+$','create','36vppUGS','_keys','withValue','238624TIhaRF','288330FGqfAz','apply'];a140c=function(){return o;};return a140c();}import{Log}from'../../tools/log/log.class.js';import a140e from'path';Generator[a140l(0x78)]({'name':a140l(0x76),'usage':a140l(0x75),'shortDesc':a140l(0x86),'noNeedResource':!![],'requiredOpts':[a140l(0x82)],'examples':['maka\x20g:sslconfig\x20--env\x20dev'],'validOpts':[]},async function(a,b){const m=a140l;try{const c=await this[m(0x88)]['getMakaProjectConfig'](),d=await this[m(0x88)][m(0x8a)](),f=this[m(0x88)]['getAppConfigPath'](b[m(0x82)]),g=a140e[m(0x8c)](f,m(0x7a),m(0x72));await this[m(0x88)][m(0x7b)](c,async()=>{const n=m,h={'app':d[n(0x83)],'noRename':!![]};await this[n(0x88)]['template']({'srcPath':n(0x8d),'destPath':g,'framework':n(0x85),'context':h,'config':c});});}catch(h){Log['error'](h);}});
@@ -1 +1 @@
1
- function a141d(a,b){const c=a141c();return a141d=function(d,e){d=d-0xba;let f=c[d];return f;},a141d(a,b);}const a141A=a141d;(function(a,b){const x=a141d,c=a();while(!![]){try{const d=parseInt(x(0xdf))/0x1+-parseInt(x(0xdb))/0x2+-parseInt(x(0xd6))/0x3*(-parseInt(x(0xe9))/0x4)+-parseInt(x(0xbc))/0x5+parseInt(x(0xde))/0x6+parseInt(x(0xcf))/0x7*(-parseInt(x(0xe1))/0x8)+-parseInt(x(0xbb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a141c,0x6bb43));const a141b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a141d;if(c){const e=c[y(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a141a=a141b(this,function(){const z=a141d;return a141a[z(0xe7)]()[z(0xe8)]('(((.+)+)+)+$')[z(0xe7)]()[z(0xc5)](a141a)['search'](z(0xd8));});a141a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';function a141c(){const D=['maka\x20g:translation\x20--lang=fr','.js','maka\x20{generate,\x20g}:translation','\x0a\x20\x20Generate\x20a\x20new\x20locale\x20translation\x20file.\x0a\x0a\x20\x20\x20\x20--lang\x20\x20The\x20language\x20code\x20for\x20the\x20new\x20locale\x20file.\x20(i.e.\x20en,\x20fr,\x20de)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20must\x20be\x20the\x20two\x20character\x20language\x20code.\x0a\x20\x20','constructor','import\x20\x27../lib/services/translations/i18n\x27;\x0a','service','appName','locales','services','import\x20\x27../lib/services/translations/i18n\x27;','features.withTranslations','i18n.js','template','45549gNRqNy','apply','fsi','installNpmPackage','server','\x20}\x20from\x20\x27./','i18n/i18n.js','21GyTiQL','error','(((.+)+)+)+$','i18n/locales.js','translation','1479734fTzceE','startup','true','834702SNpdCG','853303tWOmUy','exit','96kqgoLR','readFileSync','warn','maka\x20g:translation\x20--lang=en\x20(default)','translations','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','toString','search','502672PbMhfu','i18next','withValue','grep','i18next\x20i18next-browser-languagedetector\x20react-i18next','injectAtEndOfFile','imports','injectAtBeginningOfFile','getMakaProjectConfig','isFile','lang','engines','rewriteDestinationPathForEngine','index.js','root','pathFromApp','Locale\x20already\x20exported:\x20','setProjectConfig','5468247BTWOBx','27035lvRqcZ','findAppDirectory','default\x20as\x20','maka\x20g:translation\x20--lang=de','lib'];a141c=function(){return D;};return a141c();}import a141e from'fs';Generator['create']({'name':a141A(0xda),'usage':a141A(0xc3),'aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a141A(0xf3),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':'Generate\x20a\x20new\x20locale\x20translation','description':a141A(0xc4),'examples':[a141A(0xe4),a141A(0xc1),a141A(0xbf)],'validOpts':[]},async function(a,b){const B=a141A;try{const c=this[B(0xd1)][B(0xf1)](),d=this[B(0xd1)]['getGlobalConfig'](),f=this[B(0xd1)][B(0xbd)]();await this['fsi'][B(0xeb)](c,async()=>{const C=B;try{!b[C(0xf3)]&&(b[C(0xf3)]='en');!b[C(0xf7)]&&!this[C(0xd1)]['checkNpmPackage'](C(0xea))&&(Log[C(0xe3)](C(0xe6)),this['fsi'][C(0xd2)](C(0xed),{'cwd':f}),this[C(0xd1)][C(0xba)](C(0xcc),!![]));const g=this[C(0xd1)][C(0xf8)]({'pathParts':[C(0xef),C(0xdc),'client',C(0xf6)]}),h=this[C(0xd1)]['rewriteDestinationPathForEngine']({'pathParts':[g],'config':c}),i=this[C(0xd1)][C(0xec)](a141e[C(0xe2)](h)[C(0xe7)](),C(0xcb))[0x0]&&!![];if(c['engines']['ssr']===C(0xdd)){!i&&this[C(0xd1)][C(0xf0)]({'filePath':h,'content':C(0xc6)});const t=this[C(0xd1)][C(0xf8)]({'pathParts':[C(0xef),C(0xdc),C(0xd3),C(0xf6)]}),u=this[C(0xd1)][C(0xf5)]({'pathParts':[t],'config':c}),v=this[C(0xd1)][C(0xec)](a141e['readFileSync'](u)['toString'](),C(0xcb))[0x0]&&!![];!v&&this[C(0xd1)][C(0xf0)]({'filePath':u,'content':C(0xc6)});}else!i&&this['fsi']['injectAtBeginningOfFile']({'filePath':h,'content':C(0xc6)});const j={'app':d[C(0xc8)],'config':c},k=this['fsi']['pathFromApp']({'pathParts':[C(0xef),C(0xdc),C(0xc0),C(0xca),C(0xe5),C(0xcd)]}),l=this['fsi'][C(0xf2)](this[C(0xd1)][C(0xf5)]({'pathParts':[k],'config':c}));!l&&await this[C(0xd1)][C(0xce)]({'srcPath':C(0xd5),'destPath':k,'framework':C(0xc7),'context':j,'config':c});const m=this['fsi'][C(0xf8)]({'pathParts':[C(0xef),'startup','lib',C(0xca),C(0xe5),C(0xc9),b['lang']+C(0xc2)]}),n=this[C(0xd1)][C(0xf5)]({'pathParts':[m],'config':c}),o=this[C(0xd1)]['isFile'](n);!o?await this[C(0xd1)][C(0xce)]({'srcPath':C(0xd9),'destPath':m,'framework':C(0xc7),'context':j,'config':c}):Log[C(0xe3)]('Locale\x20already\x20defined:\x20'+n);const p=this['fsi'][C(0xf8)]({'pathParts':[C(0xef),C(0xdc),C(0xc0),C(0xca),'translations',C(0xc9),'index.'+c[C(0xf4)]['js']]}),q=this['fsi'][C(0xf5)]({'pathParts':[p],'config':c}),r=this[C(0xd1)]['isFile'](q);!r&&await this['fsi'][C(0xce)]({'srcPath':'i18n/index.js','destPath':p,'framework':C(0xc7),'context':j,'config':c});const s=this[C(0xd1)][C(0xec)](a141e[C(0xe2)](p)[C(0xe7)](),C(0xbe)+b[C(0xf3)])[0x0]&&!![];!s?await this[C(0xd1)][C(0xee)]({'filePath':p,'content':'export\x20{\x20default\x20as\x20'+b[C(0xf3)]+C(0xd4)+b['lang']+'\x27;'}):Log[C(0xe3)](C(0xf9)+p);}catch(w){Log[C(0xd7)](w),process[C(0xe0)](0x1);}});}catch(g){Log['error'](g),process[B(0xe0)](0x1);}});
1
+ function a141d(a,b){const c=a141c();return a141d=function(d,e){d=d-0x1ae;let f=c[d];return f;},a141d(a,b);}const a141z=a141d;(function(a,b){const x=a141d,c=a();while(!![]){try{const d=parseInt(x(0x1b8))/0x1*(parseInt(x(0x1db))/0x2)+parseInt(x(0x1e1))/0x3+parseInt(x(0x1e9))/0x4*(-parseInt(x(0x1ee))/0x5)+-parseInt(x(0x1dd))/0x6*(parseInt(x(0x1b3))/0x7)+-parseInt(x(0x1eb))/0x8*(-parseInt(x(0x1bc))/0x9)+parseInt(x(0x1cc))/0xa+parseInt(x(0x1d7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a141c,0x380e2));const a141b=(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;};}()),a141a=a141b(this,function(){const y=a141d;return a141a[y(0x1d1)]()[y(0x1ef)](y(0x1ca))['toString']()[y(0x1b7)](a141a)[y(0x1ef)]('(((.+)+)+)+$');});a141a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a141e from'fs';Generator['create']({'name':'translation','usage':a141z(0x1d9),'aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a141z(0x1c6),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a141z(0x1f0),'description':a141z(0x1bd),'examples':['maka\x20g:translation\x20--lang=en\x20(default)',a141z(0x1c7),a141z(0x1df)],'validOpts':[]},async function(a,b){const A=a141z;try{const c=this[A(0x1c1)][A(0x1f1)](),d=this['fsi'][A(0x1f3)](),f=this[A(0x1c1)][A(0x1e4)]();await this[A(0x1c1)][A(0x1c4)](c,async()=>{const B=A;try{!b[B(0x1c6)]&&(b['lang']='en');!b[B(0x1b6)]&&!this[B(0x1c1)][B(0x1d5)](B(0x1af))&&(Log[B(0x1ed)](B(0x1cf)),this[B(0x1c1)][B(0x1d2)](B(0x1cb),{'cwd':f}),this['fsi'][B(0x1b5)](B(0x1be),!![]));const g=this[B(0x1c1)][B(0x1dc)]({'pathParts':['imports','startup',B(0x1d3),'index.js']}),h=this[B(0x1c1)][B(0x1c9)]({'pathParts':[g],'config':c}),i=this[B(0x1c1)][B(0x1bb)](a141e[B(0x1ce)](h)[B(0x1d1)](),B(0x1c3))[0x0]&&!![];if(c[B(0x1ec)][B(0x1d0)]===B(0x1b0)){!i&&this[B(0x1c1)][B(0x1f2)]({'filePath':h,'content':B(0x1e6)});const t=this[B(0x1c1)][B(0x1dc)]({'pathParts':[B(0x1c8),B(0x1ba),B(0x1e3),B(0x1b2)]}),u=this[B(0x1c1)]['rewriteDestinationPathForEngine']({'pathParts':[t],'config':c}),v=this[B(0x1c1)]['grep'](a141e[B(0x1ce)](u)[B(0x1d1)](),B(0x1c3))[0x0]&&!![];!v&&this[B(0x1c1)][B(0x1f2)]({'filePath':u,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});}else!i&&this[B(0x1c1)][B(0x1f2)]({'filePath':h,'content':B(0x1e6)});const j={'app':d['appName'],'config':c},k=this[B(0x1c1)][B(0x1dc)]({'pathParts':[B(0x1c8),'startup',B(0x1de),B(0x1ea),B(0x1da),B(0x1e2)]}),l=this[B(0x1c1)][B(0x1e0)](this[B(0x1c1)]['rewriteDestinationPathForEngine']({'pathParts':[k],'config':c}));!l&&await this['fsi']['template']({'srcPath':'i18n/i18n.js','destPath':k,'framework':B(0x1cd),'context':j,'config':c});const m=this[B(0x1c1)][B(0x1dc)]({'pathParts':['imports',B(0x1ba),B(0x1de),B(0x1ea),'translations','locales',b[B(0x1c6)]+B(0x1d8)]}),n=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[m],'config':c}),o=this[B(0x1c1)][B(0x1e0)](n);!o?await this[B(0x1c1)]['template']({'srcPath':B(0x1e7),'destPath':m,'framework':'service','context':j,'config':c}):Log[B(0x1ed)](B(0x1b1)+n);const p=this[B(0x1c1)][B(0x1dc)]({'pathParts':[B(0x1c8),B(0x1ba),B(0x1de),B(0x1ea),B(0x1da),B(0x1d6),B(0x1b4)+c[B(0x1ec)]['js']]}),q=this[B(0x1c1)][B(0x1c9)]({'pathParts':[p],'config':c}),r=this[B(0x1c1)][B(0x1e0)](q);!r&&await this[B(0x1c1)][B(0x1bf)]({'srcPath':B(0x1c5),'destPath':p,'framework':B(0x1cd),'context':j,'config':c});const s=this['fsi'][B(0x1bb)](a141e[B(0x1ce)](p)[B(0x1d1)](),B(0x1e8)+b[B(0x1c6)])[0x0]&&!![];!s?await this['fsi'][B(0x1b9)]({'filePath':p,'content':B(0x1ae)+b[B(0x1c6)]+B(0x1c0)+b[B(0x1c6)]+'\x27;'}):Log['warn'](B(0x1e5)+p);}catch(w){Log[B(0x1d4)](w),process[B(0x1c2)](0x1);}});}catch(g){Log[A(0x1d4)](g),process[A(0x1c2)](0x1);}});function a141c(){const C=['injectAtBeginningOfFile','getGlobalConfig','export\x20{\x20default\x20as\x20','i18next','true','Locale\x20already\x20defined:\x20','index.js','2429GFaSlN','index.','setProjectConfig','root','constructor','1mJOeYq','injectAtEndOfFile','startup','grep','368451WnKWOI','\x0a\x20\x20Generate\x20a\x20new\x20locale\x20translation\x20file.\x0a\x0a\x20\x20\x20\x20--lang\x20\x20The\x20language\x20code\x20for\x20the\x20new\x20locale\x20file.\x20(i.e.\x20en,\x20fr,\x20de)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20must\x20be\x20the\x20two\x20character\x20language\x20code.\x0a\x20\x20','features.withTranslations','template','\x20}\x20from\x20\x27./','fsi','exit','import\x20\x27../lib/services/translations/i18n\x27;','withValue','i18n/index.js','lang','maka\x20g:translation\x20--lang=fr','imports','rewriteDestinationPathForEngine','(((.+)+)+)+$','i18next\x20i18next-browser-languagedetector\x20react-i18next','3133080daYNAI','service','readFileSync','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','ssr','toString','installNpmPackage','client','error','checkNpmPackage','locales','115203DkuaPz','.js','maka\x20{generate,\x20g}:translation','translations','125902nibCxV','pathFromApp','7302QGZlrd','lib','maka\x20g:translation\x20--lang=de','isFile','604578rXJCKK','i18n.js','server','findAppDirectory','Locale\x20already\x20exported:\x20','import\x20\x27../lib/services/translations/i18n\x27;\x0a','i18n/locales.js','default\x20as\x20','1382988ymbOQj','services','80xRVjHV','engines','warn','5WGdzOZ','search','Generate\x20a\x20new\x20locale\x20translation','getMakaProjectConfig'];a141c=function(){return C;};return a141c();}
@@ -1 +1 @@
1
- function a142c(){const n=['url','448145ZcBgko','toString','18JhBflo','apply','43174360LZqakN','8640376rCdLYA','stringify','2015629lRCPEI','dirname','4066578yBeGQc','search','run','MAKA_COMMAND_PATH','1207544blmAdj','argv','camelizeKeys','env','parse','2aFqgLi','4048212seVmKw','NODE_NO_WARNINGS','constructor','64IFkrtO','(((.+)+)+)+$'];a142c=function(){return n;};return a142c();}const a142m=a142d;(function(a,b){const j=a142d,c=a();while(!![]){try{const d=-parseInt(j(0x73))/0x1*(parseInt(j(0x87))/0x2)+-parseInt(j(0x74))/0x3+-parseInt(j(0x77))/0x4*(parseInt(j(0x7a))/0x5)+parseInt(j(0x7c))/0x6*(-parseInt(j(0x81))/0x7)+parseInt(j(0x7f))/0x8+parseInt(j(0x83))/0x9+parseInt(j(0x7e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a142c,0xf2ca8));const a142b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a142d;if(c){const e=c[k(0x7d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a142a=a142b(this,function(){const l=a142d;return a142a[l(0x7b)]()[l(0x84)](l(0x78))[l(0x7b)]()[l(0x76)](a142a)[l(0x84)]('(((.+)+)+)+$');});a142a();import a142e from'minimist';import a142f from'os';import a142g from'path';import a142h from'humps';import a142i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a142m(0x79)]),__dirname=a142g[a142m(0x82)](__filename);global[a142m(0x86)]=__dirname;const total_memory=a142f['totalmem'](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;function a142d(a,b){const c=a142c();return a142d=function(d,e){d=d-0x6f;let f=c[d];return f;},a142d(a,b);}total_mem_in_mb=Math['floor'](total_mem_in_mb),process[a142m(0x71)]['TOOL_NODE_FLAGS']='--max-old-space-size='+total_mem_in_mb,process['env']['BROWSERSLIST_IGNORE_OLD_DATA']='1',process[a142m(0x71)][a142m(0x75)]='1';const argv=a142e(process[a142m(0x6f)]['slice'](0x2)),args=argv['_'],deepCopyArgv=JSON[a142m(0x72)](JSON[a142m(0x80)](argv));delete deepCopyArgv['_'];const opts=a142h[a142m(0x70)](deepCopyArgv);a142i[a142m(0x85)](args,opts);
1
+ const a142m=a142d;(function(a,b){const j=a142d,c=a();while(!![]){try{const d=parseInt(j(0x131))/0x1+-parseInt(j(0x118))/0x2*(-parseInt(j(0x12c))/0x3)+-parseInt(j(0x11a))/0x4+-parseInt(j(0x11c))/0x5*(-parseInt(j(0x126))/0x6)+-parseInt(j(0x124))/0x7*(parseInt(j(0x121))/0x8)+parseInt(j(0x12a))/0x9*(-parseInt(j(0x125))/0xa)+-parseInt(j(0x11b))/0xb*(-parseInt(j(0x116))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a142c,0x627fc));const a142b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a142d;if(c){const e=c[k(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a142a=a142b(this,function(){const l=a142d;return a142a[l(0x128)]()[l(0x117)]('(((.+)+)+)+$')[l(0x128)]()[l(0x115)](a142a)[l(0x117)](l(0x11d));});a142a();import a142e from'minimist';function a142d(a,b){const c=a142c();return a142d=function(d,e){d=d-0x114;let f=c[d];return f;},a142d(a,b);}import a142f from'os';import a142g from'path';import a142h from'humps';function a142c(){const n=['15zZYDbj','(((.+)+)+)+$','apply','MAKA_COMMAND_PATH','floor','1141232YPZmJg','stringify','--max-old-space-size=','14jzEnqS','50uugtJU','697470nXzYxT','camelizeKeys','toString','BROWSERSLIST_IGNORE_OLD_DATA','1033569YcfovF','NODE_NO_WARNINGS','2026389OQJMNH','totalmem','dirname','parse','TOOL_NODE_FLAGS','314748SCZLKw','argv','constructor','60WiPVui','search','2IYmKSg','url','1459944nbvJtx','635811yJwjFN'];a142c=function(){return n;};return a142c();}import a142i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a142m(0x119)]),__dirname=a142g[a142m(0x12e)](__filename);global[a142m(0x11f)]=__dirname;const total_memory=a142f[a142m(0x12d)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a142m(0x120)](total_mem_in_mb),process['env'][a142m(0x130)]=a142m(0x123)+total_mem_in_mb,process['env'][a142m(0x129)]='1',process['env'][a142m(0x12b)]='1';const argv=a142e(process[a142m(0x114)]['slice'](0x2)),args=argv['_'],deepCopyArgv=JSON[a142m(0x12f)](JSON[a142m(0x122)](argv));delete deepCopyArgv['_'];const opts=a142h[a142m(0x127)](deepCopyArgv);a142i['run'](args,opts);
@@ -1 +1 @@
1
- function a143d(a,b){const c=a143c();return a143d=function(d,e){d=d-0xd4;let f=c[d];return f;},a143d(a,b);}const a143L=a143d;(function(a,b){const I=a143d,c=a();while(!![]){try{const d=parseInt(I(0xf8))/0x1*(-parseInt(I(0xe0))/0x2)+-parseInt(I(0xf9))/0x3+-parseInt(I(0x11b))/0x4+parseInt(I(0xd7))/0x5+-parseInt(I(0x103))/0x6+-parseInt(I(0x109))/0x7+parseInt(I(0xec))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a143c,0x28c57));const a143b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a143d;if(c){const e=c[J(0xed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a143a=a143b(this,function(){const K=a143d;return a143a[K(0x113)]()[K(0xd8)]('(((.+)+)+)+$')['toString']()[K(0x105)](a143a)[K(0xd8)](K(0xee));});a143a();import a143e from'path';import a143f from'os';import a143g from'fs';const homeDir=a143f[a143L(0xf5)]();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';import{Actions}from'./tools/actions/actions.class.js';function a143c(){const a3=['includes','concat','proGenerators','homedir','getMakaProjectConfig','To\x20use\x20this\x20command,\x20\x22','1PKISSH','182538cxNaxW','_handler','experimental','match','description','platform','domainLicense','exit','getAppProjectConfigs','You\x20must\x20have\x20','326058LuTYCd','resourceName','constructor','isCommand','find','Please\x20choose\x20an\x20environment','1695134eJHBgu','parent','config','user','keys','existsSync','dir','name','length','validateMeteorInstall','toString','remapShortToLong','validateParams','fsi','usage','Please\x20choose\x20a\x20value\x20for\x20','NIE','root','762300LCRlup','shortDesc','assign','ask','map','cwd','options','proCommands','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.meteor/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','No\x20usage\x20provided.','isGenerator','No\x20description\x20provided.','help','None','win32','docker','889990nIsTEn','search','every','Please\x20provide\x20a\x20value\x20for\x20','Invalid\x20option:\x20','formatToNamedParam','findProjectDirectory','validateUserIsLoggedIn','aliases','328078WUdoNf','string','error','guest','examples','validateMakaProject','list','AppData','isPro','join','charAt','env','5607728KMVhje','apply','(((.+)+)+)+$','validateEngines','push','.meteor'];a143c=function(){return a3;};return a143c();}import{UsageError}from'./error.js';export class Tool{[a143L(0xd6)];[a143L(0x116)];['options'];['name'];['parent'];[a143L(0xfa)];constructor(){const M=a143L;this[M(0xd6)]=new Docker(),this[M(0x116)]=new FSI();}['getShortName'](a){const N=a143L;return a[N(0xea)](0x0);}[a143L(0x114)](a,b){const O=a143L,c=this[O(0xdc)](b),d={...a};for(const e of c){const f=this['getShortName'](e['name']);a[f]&&(d[e['name']]=a[f],delete d[f]);}return d;}[a143L(0xdc)](a){const P=a143L;if(a[P(0xd9)](b=>typeof b===P(0xe1)))return a[P(0x11f)](b=>({'name':b}));return a;}[a143L(0xfc)](a){const Q=a143L,b=[this[Q(0x110)]][Q(0xf3)](this[Q(0x121)][Q(0xdf)]||[]);return this['parent']&&b[Q(0xf0)](this[Q(0x10a)]),b[Q(0xf2)](a);}[a143L(0xe5)](){const R=a143L,a=this['fsi'][R(0xdd)]();return a!==![]?!![]:![];}async[a143L(0xde)](){const S=a143L,a=await this[S(0x116)]['getPro']();return a?.[S(0x10c)]&&a?.[S(0x10c)]!==S(0xe3)?!![]:![];}[a143L(0x112)](){const T=a143L,a=process[T(0xfe)]===T(0xd5);if(a){if(!a143g[T(0x10e)](a143e['join'](homeDir,T(0xe7),'Local',T(0xf1))))return![];}else{if(!a143g[T(0x10e)](a143e[T(0xe9)](homeDir,T(0xf1))))return![];}return!![];}[a143L(0xef)](a){const U=a143L,b=this[U(0x116)][U(0xf6)](),c=b['engines'],d=Object[U(0x10d)](a);if(d[U(0x111)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[U(0xe2)](U(0x102)+e+'\x20version\x20'+a[e]+'\x20installed\x20to\x20use\x20this\x20command.');throw UsageError;}}}async[a143L(0x115)](a,b,c){const V=a143L,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object[V(0x10d)](b);if(h['includes'](V(0x104))&&b[V(0x104)]===undefined&&!g){const m=await Actions[V(0x11e)]('Please\x20provide\x20a\x20resource\x20name:');b['resourceName']=m;}let i=[],j=b;if(d){i=this['formatToNamedParam'](d),j=this[V(0x114)](b,i);if(i&&i?.['length']>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object[V(0x10d)](j)[V(0xf2)](o)){if(o==='env'){const r=this['fsi'][V(0x101)]()['filter'](t=>t!=='local');r['length']===0x0&&(Log['error']('This\x20command\x20needs\x20a\x20higher\x20environment\x20to\x20run\x20(other\x20than\x20local).\x20Please\x20create\x20a\x20new\x20environment;\x20`maka\x20g:config\x20development`'),process[V(0x100)](0x1));const s=await Actions[V(0x121)]({'type':V(0xe6),'name':V(0xeb),'message':V(0x108),'choices':r});b[V(0xeb)]=s[V(0xeb)];}else{const t=p;if(t){const u=await Actions[V(0x121)]({'type':V(0xe6),'name':o,'message':V(0x118)+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[V(0x11e)](V(0xda)+o);if(v[V(0xfc)](q))b[o]=v;else{Log['error']('Invalid\x20value\x20for\x20'+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions[V(0x11e)]('Please\x20provide\x20a\x20value\x20for\x20'+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p['includes'](x)){Log[V(0xe2)]('Invalid\x20value\x20for\x20'+o+':\x20'+x);throw new UsageError();}}}}let k=this[V(0xdc)](f),l=b;if(k&&Object['keys'](k)?.[V(0x111)]>0x0){k=k['concat'](i||[]),k[V(0xf0)]({'name':V(0x104),'hidden':!![]}),k['push']({'name':V(0x127),'boolFlag':!![]}),k['push']({'name':V(0x10f),'hidden':!![]}),k[V(0xf0)]({'name':V(0x120),'hidden':!![]}),k[V(0xf0)]({'name':V(0x11a),'hidden':!![]}),k['push']({'name':V(0x10b),'hidden':!![]}),l=this['remapShortToLong'](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A[V(0xf2)](B))){const C=A;if(C){const D=await Actions[V(0x121)]({'type':V(0xe6),'name':z,'message':'Please\x20choose\x20a\x20valid\x20value\x20for\x20'+z,'choices':A});l[z]=D[z];}}if(k[V(0x111)]>0x0)for(const E of Object[V(0x10d)](l)){const F=k[V(0x107)](G=>G[V(0x110)]===E);if(!F){Log[V(0xe2)](V(0xdb)+E);throw new UsageError();}}}}if(e&&e?.[V(0x111)]>0x0)for(const G of e){if(!e[V(0xf2)](G)){Log[V(0xe2)]('Invalid\x20argument:\x20'+G);const H=await Actions[V(0x11e)]('Please\x20provide\x20a\x20valid\x20argument\x20for\x20'+G);a[a['indexOf'](G)]=H;}}return Object[V(0x11d)](j,l);}async['validateMakaSubscription'](a){const W=a143L;try{if(!a)return;const b=await this[W(0x116)]['getPro']();!b&&(Log[W(0xe2)](W(0x123)),process['exit'](0x1));const c=!b?.['roles'][W(0xf2)]('singleLicense')&&!b?.['roles']['includes'](W(0xff));if(this['isCommand'](a)){const d=W(0xf7)+a[W(0x110)]+'\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27';if(a['options']['disableAuthCheck'])return;const f=b?.[W(0x122)][W(0xf2)](a['name'])||b?.[W(0x122)][W(0xf2)](a['parent']||'')||this[W(0x121)][W(0xe8)];if(f&&c)throw d;}else{if(this[W(0x125)](a)){const g=b?.['proGenerators'][W(0xf2)](a['name'])||b?.[W(0xf4)]['includes'](a[W(0x10a)]||'');if(g&&c)throw'To\x20use\x20this\x20generator,\x20\x22'+a[W(0x110)]+'\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27';}}}catch(h){Log[W(0xe2)](h),process[W(0x100)](0x1);}}[a143L(0x106)](a){return'options'in a;}['isGenerator'](a){return!('options'in a);}[a143L(0xfd)](){const X=a143L;return this[X(0x121)][X(0xfd)]||this[X(0x121)][X(0x11c)]||X(0x126);}[a143L(0x11c)](){const Y=a143L;return this[Y(0x121)][Y(0x11c)]||Y(0x119);}[a143L(0x117)](){const Z=a143L;return this[Z(0x121)]['usage']||Z(0x124);}[a143L(0xe4)](){const a0=a143L;return this[a0(0x121)]['examples']||[];}[a143L(0xdf)](){const a1=a143L;return this[a1(0x121)]['aliases']||a1(0xd4);}[a143L(0xfb)](){const a2=a143L;return this['options'][a2(0xfb)]||![];}}
1
+ const a143K=a143d;(function(a,b){const I=a143d,c=a();while(!![]){try{const d=parseInt(I(0x112))/0x1*(parseInt(I(0x136))/0x2)+-parseInt(I(0x12f))/0x3*(-parseInt(I(0x130))/0x4)+-parseInt(I(0x100))/0x5*(parseInt(I(0x13b))/0x6)+parseInt(I(0x13e))/0x7*(-parseInt(I(0x114))/0x8)+parseInt(I(0xed))/0x9*(-parseInt(I(0x115))/0xa)+parseInt(I(0x141))/0xb*(parseInt(I(0x128))/0xc)+-parseInt(I(0x107))/0xd*(-parseInt(I(0x102))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a143c,0x30c0f));const a143b=(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;};}()),a143a=a143b(this,function(){const J=a143d;return a143a[J(0x123)]()[J(0x11c)](J(0x10d))['toString']()[J(0x113)](a143a)[J(0x11c)](J(0x10d));});a143a();import a143e from'path';import a143f from'os';import a143g from'fs';const homeDir=a143f[a143K(0xef)]();import{Docker}from'./tools/docker/docker.class.js';function a143c(){const a3=['Please\x20provide\x20a\x20value\x20for\x20','name','charAt','(((.+)+)+)+$','dir','every','\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27','parent','20XbsuGx','constructor','56pjkVYa','10kiVwmN','No\x20usage\x20provided.','push','proCommands','singleLicense','keys','match','search','concat','validateEngines','getMakaProjectConfig','Invalid\x20argument:\x20','resourceName','options','toString','ask','Local','docker','.meteor','12tkTbDf','filter','config','getPro','formatToNamedParam','string','map','3BHnUOP','1279768mQywyS','user','isPro','local','You\x20must\x20have\x20','validateMakaSubscription','25352iwyDtT','NIE','win32','join','list','769506HNKbDM','This\x20command\x20needs\x20a\x20higher\x20environment\x20to\x20run\x20(other\x20than\x20local).\x20Please\x20create\x20a\x20new\x20environment;\x20`maka\x20g:config\x20development`','disableAuthCheck','79023IuVHvY','\x20version\x20','usage','890593JUkleW','isCommand','Please\x20provide\x20a\x20valid\x20argument\x20for\x20','guest','findProjectDirectory','length','env','Invalid\x20value\x20for\x20','description','examples','roles','Please\x20choose\x20a\x20valid\x20value\x20for\x20','_handler','To\x20use\x20this\x20command,\x20\x22','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.meteor/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','Please\x20choose\x20a\x20value\x20for\x20','2329362WWPjEW','domainLicense','homedir','aliases','exit','validateParams','proGenerators','root','validateMeteorInstall','isGenerator','engines','find','cwd','existsSync','getShortName','getAppProjectConfigs','experimental','includes','fsi','10lvawPl','platform','2086aYenXm','\x20installed\x20to\x20use\x20this\x20command.','shortDesc','remapShortToLong','Please\x20choose\x20an\x20environment','12181bpXbSm','To\x20use\x20this\x20generator,\x20\x22','error'];a143c=function(){return a3;};return a143c();}function a143d(a,b){const c=a143c();return a143d=function(d,e){d=d-0xdf;let f=c[d];return f;},a143d(a,b);}import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError}from'./error.js';export class Tool{[a143K(0x126)];[a143K(0xff)];[a143K(0x122)];[a143K(0x10b)];[a143K(0x111)];[a143K(0xe9)];constructor(){const L=a143K;this[L(0x126)]=new Docker(),this[L(0xff)]=new FSI();}[a143K(0xfb)](a){const M=a143K;return a[M(0x10c)](0x0);}[a143K(0x105)](a,b){const N=a143K,c=this[N(0x12c)](b),d={...a};for(const e of c){const f=this[N(0xfb)](e[N(0x10b)]);a[f]&&(d[e[N(0x10b)]]=a[f],delete d[f]);}return d;}[a143K(0x12c)](a){const O=a143K;if(a[O(0x10f)](b=>typeof b===O(0x12d)))return a[O(0x12e)](b=>({'name':b}));return a;}[a143K(0x11b)](a){const P=a143K,b=[this['name']][P(0x11d)](this[P(0x122)][P(0xf0)]||[]);return this[P(0x111)]&&b[P(0x117)](this[P(0x111)]),b[P(0xfe)](a);}['validateMakaProject'](){const Q=a143K,a=this[Q(0xff)][Q(0xe1)]();return a!==![]?!![]:![];}async['validateUserIsLoggedIn'](){const R=a143K,a=await this[R(0xff)][R(0x12b)]();return a?.[R(0x131)]&&a?.[R(0x131)]!==R(0xe0)?!![]:![];}[a143K(0xf5)](){const S=a143K,a=process[S(0x101)]===S(0x138);if(a){if(!a143g[S(0xfa)](a143e[S(0x139)](homeDir,'AppData',S(0x125),S(0x127))))return![];}else{if(!a143g[S(0xfa)](a143e['join'](homeDir,S(0x127))))return![];}return!![];}[a143K(0x11e)](a){const T=a143K,b=this[T(0xff)][T(0x11f)](),c=b[T(0xf7)],d=Object[T(0x11a)](a);if(d[T(0xe2)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[T(0x109)](T(0x134)+e+T(0x13f)+a[e]+T(0x103));throw UsageError;}}}async[a143K(0xf2)](a,b,c){const U=a143K,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object[U(0x11a)](b);if(h[U(0xfe)](U(0x121))&&b[U(0x121)]===undefined&&!g){const m=await Actions[U(0x124)]('Please\x20provide\x20a\x20resource\x20name:');b[U(0x121)]=m;}let i=[],j=b;if(d){i=this[U(0x12c)](d),j=this[U(0x105)](b,i);if(i&&i?.[U(0xe2)]>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object['keys'](j)[U(0xfe)](o)){if(o===U(0xe3)){const r=this[U(0xff)][U(0xfc)]()[U(0x129)](t=>t!==U(0x133));r['length']===0x0&&(Log[U(0x109)](U(0x13c)),process[U(0xf1)](0x1));const s=await Actions[U(0x122)]({'type':U(0x13a),'name':U(0xe3),'message':U(0x106),'choices':r});b['env']=s[U(0xe3)];}else{const t=p;if(t){const u=await Actions[U(0x122)]({'type':U(0x13a),'name':o,'message':U(0xec)+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[U(0x124)](U(0x10a)+o);if(v[U(0x11b)](q))b[o]=v;else{Log[U(0x109)](U(0xe4)+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions['ask'](U(0x10a)+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p[U(0xfe)](x)){Log[U(0x109)](U(0xe4)+o+':\x20'+x);throw new UsageError();}}}}let k=this[U(0x12c)](f),l=b;if(k&&Object[U(0x11a)](k)?.[U(0xe2)]>0x0){k=k['concat'](i||[]),k['push']({'name':U(0x121),'hidden':!![]}),k[U(0x117)]({'name':'help','boolFlag':!![]}),k[U(0x117)]({'name':U(0x10e),'hidden':!![]}),k[U(0x117)]({'name':U(0xf9),'hidden':!![]}),k['push']({'name':U(0xf4),'hidden':!![]}),k[U(0x117)]({'name':U(0x12a),'hidden':!![]}),l=this[U(0x105)](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A['includes'](B))){const C=A;if(C){const D=await Actions[U(0x122)]({'type':U(0x13a),'name':z,'message':U(0xe8)+z,'choices':A});l[z]=D[z];}}if(k['length']>0x0)for(const E of Object[U(0x11a)](l)){const F=k[U(0xf8)](G=>G[U(0x10b)]===E);if(!F){Log[U(0x109)]('Invalid\x20option:\x20'+E);throw new UsageError();}}}}if(e&&e?.[U(0xe2)]>0x0)for(const G of e){if(!e[U(0xfe)](G)){Log['error'](U(0x120)+G);const H=await Actions['ask'](U(0xdf)+G);a[a['indexOf'](G)]=H;}}return Object['assign'](j,l);}async[a143K(0x135)](a){const V=a143K;try{if(!a)return;const b=await this[V(0xff)][V(0x12b)]();!b&&(Log[V(0x109)](V(0xeb)),process['exit'](0x1));const c=!b?.['roles'][V(0xfe)](V(0x119))&&!b?.[V(0xe7)][V(0xfe)](V(0xee));if(this[V(0x142)](a)){const d=V(0xea)+a[V(0x10b)]+V(0x110);if(a['options'][V(0x13d)])return;const f=b?.['proCommands']['includes'](a[V(0x10b)])||b?.[V(0x118)]['includes'](a[V(0x111)]||'')||this[V(0x122)][V(0x132)];if(f&&c)throw d;}else{if(this[V(0xf6)](a)){const g=b?.['proGenerators'][V(0xfe)](a['name'])||b?.[V(0xf3)][V(0xfe)](a['parent']||'');if(g&&c)throw V(0x108)+a[V(0x10b)]+V(0x110);}}}catch(h){Log[V(0x109)](h),process[V(0xf1)](0x1);}}['isCommand'](a){const W=a143K;return W(0x122)in a;}[a143K(0xf6)](a){const X=a143K;return!(X(0x122)in a);}[a143K(0xe5)](){const Y=a143K;return this[Y(0x122)][Y(0xe5)]||this[Y(0x122)][Y(0x104)]||'No\x20description\x20provided.';}[a143K(0x104)](){const Z=a143K;return this['options'][Z(0x104)]||Z(0x137);}[a143K(0x140)](){const a0=a143K;return this[a0(0x122)][a0(0x140)]||a0(0x116);}[a143K(0xe6)](){const a1=a143K;return this[a1(0x122)][a1(0xe6)]||[];}[a143K(0xf0)](){return this['options']['aliases']||'None';}[a143K(0xfd)](){const a2=a143K;return this[a2(0x122)][a2(0xfd)]||![];}}
@@ -1 +1 @@
1
- const a144i=a144d;(function(a,b){const f=a144d,c=a();while(!![]){try{const d=-parseInt(f(0x193))/0x1+parseInt(f(0x1a0))/0x2*(-parseInt(f(0x195))/0x3)+parseInt(f(0x18c))/0x4+parseInt(f(0x196))/0x5*(parseInt(f(0x18e))/0x6)+parseInt(f(0x18f))/0x7*(-parseInt(f(0x19d))/0x8)+parseInt(f(0x199))/0x9*(parseInt(f(0x197))/0xa)+parseInt(f(0x191))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a144c,0x525d8));function a144c(){const m=['703392DRDZMn','search','18xyaxhe','406833MhZQbG','confirm','12801294beDdaN','(((.+)+)+)+$','614952BOdlhY','answer','78DcLsru','519755ohgVWS','1730MdRchF','apply','13617ztqsbb','toString','input','prompt','48duDPEI','password','constructor','47090oSGTUv','ask'];a144c=function(){return m;};return a144c();}const a144b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a144d;if(c){const e=c[g(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a144a=a144b(this,function(){const h=a144d;return a144a['toString']()[h(0x18d)](h(0x192))[h(0x19a)]()[h(0x19f)](a144a)[h(0x18d)]('(((.+)+)+)+$');});a144a();import a144e from'inquirer';function a144d(a,b){const c=a144c();return a144d=function(d,e){d=d-0x18b;let f=c[d];return f;},a144d(a,b);}export class Actions{static async[a144i(0x18b)](a,b){const j=a144i,{answer:c}=await a144e['prompt']({'type':b?j(0x19e):j(0x19b),'name':j(0x194),'message':a});return c;}static async[a144i(0x190)](a,b=![]){const k=a144i,{answer:c}=await a144e[k(0x19c)]({'type':k(0x190),'name':k(0x194),'message':a,'default':b});return c;}static async['options'](a){const l=a144i,b=await a144e[l(0x19c)](a);return b;}}
1
+ function a144c(){const l=['327158aNBEKZ','search','144iXeSRy','7731AvVjOs','toString','1118956FDjQML','answer','67930uGcJpg','prompt','1272VZfZXe','password','1242312mMpaPl','ask','17130WLuotS','confirm','constructor','(((.+)+)+)+$','options','3116834Qxvhvg'];a144c=function(){return l;};return a144c();}const a144h=a144d;(function(a,b){const f=a144d,c=a();while(!![]){try{const d=-parseInt(f(0x140))/0x1+parseInt(f(0x13a))/0x2*(parseInt(f(0x142))/0x3)+parseInt(f(0x145))/0x4+parseInt(f(0x134))/0x5+parseInt(f(0x138))/0x6+-parseInt(f(0x13f))/0x7+-parseInt(f(0x136))/0x8*(-parseInt(f(0x143))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a144c,0x434ca));const a144b=(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;};}()),a144a=a144b(this,function(){const g=a144d;return a144a['toString']()[g(0x141)]('(((.+)+)+)+$')[g(0x144)]()[g(0x13c)](a144a)[g(0x141)](g(0x13d));});function a144d(a,b){const c=a144c();return a144d=function(d,e){d=d-0x133;let f=c[d];return f;},a144d(a,b);}a144a();import a144e from'inquirer';export class Actions{static async[a144h(0x139)](a,b){const i=a144h,{answer:c}=await a144e['prompt']({'type':b?i(0x137):'input','name':i(0x133),'message':a});return c;}static async[a144h(0x13b)](a,b=![]){const j=a144h,{answer:c}=await a144e[j(0x135)]({'type':j(0x13b),'name':'answer','message':a,'default':b});return c;}static async[a144h(0x13e)](a){const k=a144h,b=await a144e[k(0x135)](a);return b;}}
@@ -1 +1 @@
1
- const a145t=a145d;(function(a,b){const p=a145d,c=a();while(!![]){try{const d=parseInt(p(0x1bb))/0x1+parseInt(p(0x13e))/0x2*(-parseInt(p(0x137))/0x3)+-parseInt(p(0x16b))/0x4+parseInt(p(0x167))/0x5+parseInt(p(0xfc))/0x6*(-parseInt(p(0x14d))/0x7)+parseInt(p(0x18b))/0x8+-parseInt(p(0x181))/0x9*(-parseInt(p(0x14e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a145c,0x26f61));const a145b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a145d;if(c){const e=c[q(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a145a=a145b(this,function(){const r=a145d;return a145a[r(0x1ac)]()[r(0x16c)]('(((.+)+)+)+$')[r(0x1ac)]()[r(0x1d9)](a145a)[r(0x16c)](r(0x1cb));});a145a();import a145e from'fs';import a145f from'path';import{execSync}from'child_process';import{Actions}from'../actions/actions.class.js';import{Log}from'../log/log.class.js';import{FSI}from'../fsi/fsi.class.js';import{EC2Client,DescribeInstancesCommand,RunInstancesCommand,TerminateInstancesCommand,CreateKeyPairCommand,AuthorizeSecurityGroupIngressCommand,CreateSecurityGroupCommand,RebootInstancesCommand,DescribeVpcsCommand,DescribeKeyPairsCommand,DeleteKeyPairCommand,DescribeSecurityGroupsCommand,DeleteSecurityGroupCommand,DescribeImagesCommand,DescribeSubnetsCommand}from'@aws-sdk/client-ec2';function a145c(){const a9=['af-south-1','Reservations','parse','\x20to\x20','Key\x20Name:\x20[','Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[','Would\x20you\x20like\x20to\x20update\x20the\x20ssh.json\x20config\x20file?','tcp','ap-northeast-1','...','Prices','statusCode','timeout','tags','ec2describeKeys','exit','race','region','minCount','You\x20have\x20no\x20instances\x20created\x20by\x20maka-cli.\x20\x20Please\x20reivew\x20your\x20AWS\x20console\x20manually!!!','description','UPSERT','confirm','ap-southeast-1','HostedZones','\x20SG\x20NAME:\x20','environment','architecture','ask','env','eu-north-1','il-central-1','chooseInstance','129frdtCc','deleteKeyPair','$metadata','Availability','$response','warn','Could\x20not\x20find\x20hosted\x20zone','9112ZzYyuG','hvm','repositoryUri','Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','repositoryName','split','Pem\x20key\x20saved\x20to\x20','Name','vpcId','ebs','Error\x20fetching\x20domain\x20pricing:','Created:\x20','available','ap-southeast-2','us-west-2','1043XHusKO','1906390gBgwNy','uri','all','withSpinner','eu-west-1','eu-central-1','nextToken','Instances','ap-east-1','\x20SUBNETID:\x20','ecrDeleteRepository','\x20AZONE:\x20','GroupId','instanceId','Failed\x20to\x20decode\x20password\x20from\x20authorization\x20token','Authorization\x20token\x20is\x20missing','sgId','Error\x20linking\x20EC2\x20to\x20Route\x2053:','writeFileSync','pop','maxCount','\x20Error\x20Rason:\x20','ignore','\x20PUB_IP:\x20','Error\x20creating\x20hosted\x20zone','312320sbBkiR','Canonical*Ubuntu*18.04*','CreationDate','changeResourceRecordSets','551100bcUhYl','search','includes','Description:','No\x20images\x20found.','info','UserData','Setting\x20SG\x20ID\x20to:\x20','push','Subnets','isFile','virtualization-type','checkDomainAvailability','stop','Port\x20','Value','us-west-1','**\x20Available\x20Security\x20Groups\x20**','forEach','now','notice','getAppConfigPath','9VKyjBz','subnet-id','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','UNSUPPORTED','length','\x20VPCID:\x20','\x20NAME:\x20','send','AVAILABLE','config/ssh.json','441568pXUfhZ','\x20INSTANCE_ID:\x20','pem','getSecurityGroups','KeyName',',\x20Name:\x20','ingressRule','instance','subnet','eu-south-1','us-east-1','chmod\x20400\x20','amiId','name','fsi','VpcId','_keys','error','\x20:\x20','template','Failed\x20in\x20','CidrBlock','me-south-1','Repository\x20\x22','sa-east-1','log','terminated','Successfully\x20linked\x20EC2\x20instance\x20','Please\x20choose\x20a\x20VPC:\x20[0]\x20','route53CreateHostedZone','listAvailableSubnets','map','stringify','toString','Failed\x20to\x20create\x20repository\x20in\x20','bright','\x20CIDR:\x20','Hosted\x20zone\x20created\x20successfully!','getTime','find','sgPorts','maka-cli','ec2createSG','publicIp','Instance\x20rebooted!','trim','readFileSync','sort','204041yteFrH','key','repositories','Final\x20list\x20of\x20ECR\x20repositories:','Region:\x20','**\x20Available\x20\x20VPCs\x20**','The\x20domain\x20\x27','subnetId','Canonical*Ubuntu*20.04*','From\x20AWS:','/dev/sdh','authorizationData','[+]\x20Setting\x20VPC\x20ID\x20to:\x20','state','0.0.0.0/0','image-type','(((.+)+)+)+$','RegistrationPrice','ap-northeast-2','reason','.pem.txt','from','eu-central-2','deleteSecurityGroup','\x20opened!','\x20ENV:\x20','Description','base64','\x20DESCRIPTION:\x20','ca-central-1','constructor','ap-southeast-4','createKeyPairEC2Key','desc','status','You\x20will\x20need\x20to\x20update\x20the\x20ssh.json\x20file\x20yourself.','Error\x20saving\x20pem\x20file,\x20aborting','eu-west-3','utf8','filter','ID:\x20','ap-south-1','config','ap-south-2','chooseVPC','\x20Status\x20Code:\x20','ec2describeInstances','eu-west-2','authorizationToken','join','You\x20have\x20no\x20key-pairs,\x20please\x20create\x20one.\x20(maka\x20aws\x20create-key-pair\x20--env).','listAllEcrRepositories','eu-south-2','768JKJTGX','AvailabilityZone','getEcrLoginPassword','AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials','\x20PRIV_IP:\x20','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','file://','GroupName','getMakaProjectConfig','\x20SGID:\x20','ecrCreateRepository','ca-west-1','listAvailableAMIs','userData','No\x20ECR\x20repositories\x20found\x20across\x20all\x20specified\x20regions.','ssh.json','imageId','sgIds','apply','success','No\x20suitable\x20images\x20found\x20within\x20the\x20last\x2030\x20days.','listHostedZonesByName','SubnetId','type','chooseSecurityGroup',',\x20URI:\x20'];a145c=function(){return a9;};return a145c();}import{ECRClient,CreateRepositoryCommand,DeleteRepositoryCommand,GetAuthorizationTokenCommand,DescribeRepositoriesCommand}from'@aws-sdk/client-ecr';import{Route53,Route53Client,CreateHostedZoneCommand}from'@aws-sdk/client-route-53';import{Route53Domains,CheckDomainAvailabilityCommand,RegisterDomainCommand,ListPricesCommand}from'@aws-sdk/client-route-53-domains';function a145d(a,b){const c=a145c();return a145d=function(d,e){d=d-0xfb;let f=c[d];return f;},a145d(a,b);}const client=new EC2Client({}),route53Client=new Route53Client({}),route53=new Route53({}),route53Domains=new Route53Domains({});export class AWS{['fsi'];constructor(){const s=a145d;this[s(0x199)]=new FSI();}async[a145t(0x114)](a){const u=a145t;try{const {listIndexId:b,createdSgId:c,sgList:d}=await this[u(0x18e)](a);let f='';if(c===''){Log[u(0x17f)](u(0x17c)),d[u(0x17d)](function(h){const v=u;h[v(0x198)]===a?Log['notice']('ID:\x20'+h['id']+v(0x12f)+h[v(0x198)]+v(0x105)+h['sgId']):Log[v(0x1ae)](v(0x1e3)+h['id']+'\x20SG\x20NAME:\x20'+h[v(0x198)]+v(0x105)+h[v(0x15e)]);});const g=await Actions[u(0x132)](u(0x11b)+b+']\x20')||b[u(0x1ac)]();d[u(0x17d)](function(h){const w=u;h['id']===parseInt(g)&&(f=h[w(0x15e)],Log['success'](w(0x172)+f+'\x0a'));});}else f=c,Log[u(0x10f)](u(0x172)+f+'\x0a');if(f==='')throw new Error(u(0x183));return f;}catch(h){Log['error'](h);throw h;}}async[a145t(0x108)](){const x=a145t;let a='';try{const b=new EC2Client({}),c={'Filters':[{'Name':x(0x131),'Values':['x86_64']},{'Name':x(0x176),'Values':[x(0x13f)]},{'Name':'root-device-type','Values':[x(0x147)]},{'Name':x(0x1c8),'Values':[x(0x14a)]},{'Name':x(0x1ca),'Values':['machine']},{'Name':'description','Values':[x(0x168),x(0x1c3)]}]},d=new DescribeImagesCommand(c),{Images:f}=await b[x(0x188)](d);if(f&&f['length']>0x0){const g=new Date(),h=new Date(g[x(0x1b1)]()-0x1e*0x18*0x3c*0x3c*0x3e8),i=f[x(0x1e2)](j=>j[x(0x169)]&&!j[x(0x1d5)]?.[x(0x16d)](x(0x184))&&new Date(j['CreationDate'])>h)[x(0x1aa)](j=>({'amiId':j['ImageId'],'desc':j[x(0x1d5)],'date':j[x(0x169)]}));if(i[x(0x185)]>0x0){i[x(0x1ba)]((n,o)=>new Date(o['date'])[x(0x1b1)]()-new Date(n['date'])[x(0x1b1)]());const j=i['slice'](0x0,0x4),k=j[x(0x1aa)]((n,o)=>({'id':o,'amiId':n[x(0x197)],'desc':n[x(0x1dc)]}));k[x(0x17d)](n=>{const y=x;Log[y(0x1ae)](y(0x1e3)+n['id']+'\x20AMIID:\x20'+n[y(0x197)]+y(0x1d7)+n[y(0x1dc)]);});const l=await Actions[x(0x132)](x(0x101))||'0',m=k[x(0x1b2)](n=>n['id']===parseInt(l));if(m)a=m[x(0x197)],Log[x(0x10f)]('Setting\x20AMI\x20ID\x20to\x20'+a+x(0x19d)+m['desc']);else throw Log['error']('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');}else throw Log[x(0x19c)](x(0x110));}else throw Log['error'](x(0x16f));}catch(n){Log[x(0x19c)](n);}return a;}async[a145t(0x1a9)](){const z=a145t;let a='';try{const b=new EC2Client({}),c={},d=new DescribeSubnetsCommand(c),{Subnets:f}=await b['send'](d);if(f&&f['length']>0x0){const g=f['map']((j,k)=>({'id':k,'cidr':j[z(0x1a0)],'az':j[z(0xfd)],'subnetId':j[z(0x112)]}));g[z(0x17d)](j=>{const A=z;Log[A(0x1ae)](A(0x1e3)+j['id']+A(0x1af)+j['cidr']+A(0x159)+j['az']+A(0x157)+j[A(0x1c2)]);});const h=await Actions[z(0x132)](z(0x141))||'0',i=g[z(0x1b2)](j=>j['id']===parseInt(h));if(i)a=i[z(0x1c2)],Log[z(0x10f)]('Setting\x20Subnet\x20ID\x20to\x20'+a);else throw Log[z(0x19c)](z(0x183));}else throw Log[z(0x19c)]('No\x20subnets\x20found.');}catch(j){Log[z(0x19c)](j);}return a;}async['getSubnetCidr'](a){const B=a145t;try{const b=new EC2Client({}),c={'Filters':[{'Name':B(0x182),'Values':[a]}]},d=new DescribeSubnetsCommand(c),e=await b[B(0x188)](d);return e[B(0x174)]&&e[B(0x174)][B(0x185)]>0x0?e[B(0x174)][0x0][B(0x1a0)]||'':'';}catch(f){return Log[B(0x19c)](f),'';}}async[a145t(0x106)](a){const C=a145t;try{const b=new ECRClient({'region':a[C(0x127)]}),c={'repositoryName':a[C(0x198)]},d=new CreateRepositoryCommand(c),f=await b[C(0x188)](d);return Log['success'](C(0x1a2)+a[C(0x198)]+'\x22\x20created\x20successfully\x20in\x20'+a[C(0x127)]+'.'),f;}catch(g){Log[C(0x19c)](C(0x1ad)+a['region']+':\x20'+g);throw g;}}async[a145t(0x1ee)](a){const D=a145t,b=[D(0x195),'us-east-2',D(0x17b),D(0x14c),D(0x1e4),'ap-northeast-3',D(0x1cd),D(0x12d),D(0x14b),D(0x11e),D(0x1d8),D(0x153),D(0x152),D(0x1ea),D(0x1e0),D(0x134),D(0x1a3),D(0x116),D(0x156),D(0x1e6),'ap-southeast-3',D(0x1da),D(0x107),D(0x194),D(0xfb),D(0x1d1),D(0x1a1),'me-central-1',D(0x135)],c=[D(0x195),'us-east-2',D(0x17b),D(0x14c)],d=a===D(0x150)?b:a?a[D(0x143)](','):c;let f=[];const g=Log[D(0x151)]();for(const h of d){g['start']('Processing\x20'+h['trim']()+D(0x11f));const i=new ECRClient({'region':h[D(0x1b8)]()});try{let j=undefined;do{const k=await Promise[D(0x126)]([i[D(0x188)](new DescribeRepositoriesCommand({'nextToken':j})),new Promise(l=>setTimeout(()=>l('timeout'),0x7d0))]);if(k===D(0x122)){Log[D(0x13c)]('Timeout\x20while\x20processing\x20'+h[D(0x1b8)]()+'.');break;}else k['repositories']&&k[D(0x1bd)][D(0x185)]>0x0&&(f=f['concat'](k[D(0x1bd)][D(0x1aa)](l=>({'name':l[D(0x142)],'uri':l[D(0x140)],'region':h[D(0x1b8)]()}))));j=k[D(0x154)];}while(j);}catch(l){Log[D(0x19c)](D(0x19f)+h[D(0x1b8)]()+':\x20'+l['message']);}finally{g[D(0x178)]();}}return f[D(0x185)]>0x0?(console['log'](),Log[D(0x10f)](D(0x1be)),f[D(0x17d)](m=>{const E=D;Log[E(0x170)](E(0x1bf)+m[E(0x127)]+E(0x190)+m['name']+E(0x115)+m[E(0x14f)]);})):Log[D(0x13c)](D(0x10a)),f;}async[a145t(0x1a8)](a){const F=a145t;try{const b={'CallerReference':''+Date[F(0x17e)](),'Name':a},c=new CreateHostedZoneCommand(b);await route53Client[F(0x188)](c),Log[F(0x10f)](F(0x1b0));}catch(d){Log[F(0x19c)](F(0x166)),console[F(0x19c)](d);}}async['registerDomain'](a,b,c,d){const G=a145t;try{const e={'DomainName':b,'DurationInYears':c,'AutoRenew':d,'AdminContact':a,'RegistrantContact':a,'TechContact':a},f=new RegisterDomainCommand(e);await route53[G(0x188)](f),Log[G(0x17f)](G(0x1c1)+b+'\x27\x20has\x20been\x20registered\x20successfully.');}catch(g){Log['error']('There\x20was\x20an\x20error\x20registering\x20the\x20domain\x20name'),Log[G(0x13c)](G(0x1c4)),console[G(0x19c)](G(0x1e8)+g[G(0x13b)][G(0x121)]),console[G(0x19c)](G(0x163)+g[G(0x13b)][G(0x1ce)]);}}async[a145t(0x177)](a){const H=a145t,b={'DomainName':a},c=new CheckDomainAvailabilityCommand(b),d=await route53Domains['send'](c),e=d[H(0x13a)]===H(0x189);if(e){const f=a[H(0x143)]('.')[H(0x161)](),g={'MaxItems':0x1,'Tld':f};try{const h=new ListPricesCommand(g),i=await route53Domains[H(0x188)](h);if(i&&i[H(0x120)]&&i[H(0x120)][0x0]?.[H(0x1cc)]){const j=i['Prices'][0x0][H(0x1cc)];return{'available':e,'cost':j};}}catch(k){console[H(0x19c)](H(0x148),k);}}return{'available':e};}async['linkEC2ToRoute53'](a,b,c){const I=a145t;try{const d=await route53[I(0x111)]({'DNSName':c});if(!d?.[I(0x12e)])throw Log[I(0x19c)](I(0x13d));const e=d?.[I(0x12e)][0x0]['Id'],f={'ChangeBatch':{'Changes':[{'Action':I(0x12b),'ResourceRecordSet':{'Name':c,'Type':'A','TTL':0x12c,'ResourceRecords':[{'Value':b}]}}]},'HostedZoneId':e};await route53[I(0x16a)](f),Log[I(0x17f)](I(0x1a6)+a+I(0x119)+c);}catch(g){console[I(0x19c)](I(0x15f),g);}}async[a145t(0xfe)]({awsAccountId:a,region:b}){const J=a145t,c=new ECRClient({'region':b});try{const d=new GetAuthorizationTokenCommand({'registryIds':[a]}),f=await c[J(0x188)](d);if(!f[J(0x1c6)]||f[J(0x1c6)]['length']===0x0)throw new Error('Authorization\x20data\x20is\x20empty');const g=f[J(0x1c6)][0x0];if(!g[J(0x1eb)])throw new Error(J(0x15d));const h=g[J(0x1eb)];if(!h)throw new Error('No\x20credentials\x20returned\x20from\x20AWS\x20ECR');const i=Buffer[J(0x1d0)](h,J(0x1d6))['toString'](),j=i[J(0x143)](':')[0x1];if(!j)throw new Error(J(0x15c));return j;}catch(k){Log['error'](k);throw k;}}async[a145t(0x158)]({repoName:a,region:b}){const K=a145t,c=new ECRClient({'region':b});try{const d=new DeleteRepositoryCommand({'repositoryName':a,'force':!![]}),f=await c[K(0x188)](d);return f;}catch(g){Log[K(0x19c)](g);throw g;}}async['ec2create'](a){const L=a145t;try{const b={'BlockDeviceMappings':[{'DeviceName':L(0x1c5),'Ebs':{'VolumeSize':0x64}}],'ImageId':a[L(0x10c)],'InstanceType':a[L(0x113)],'KeyName':a[L(0x1bc)],'MaxCount':a[L(0x162)],'MinCount':a[L(0x128)],'SecurityGroupIds':a[L(0x10d)][L(0x143)](','),'SubnetId':a[L(0x193)],'TagSpecifications':[{'ResourceType':L(0x192),'Tags':a[L(0x123)]}]};a[L(0x109)]&&(b[L(0x171)]=L(0x102)+a[L(0x109)]);const c=new RunInstancesCommand(b),d=await client[L(0x188)](c);return d;}catch(f){Log[L(0x19c)](f);}}async['ec2terminateInstance'](a){const M=a145t;try{const b={'InstanceIds':[a[M(0x15b)]]},c=new TerminateInstancesCommand(b),d=await client['send'](c);return d;}catch(f){return Log[M(0x19c)](f),{};}}async['createKeyPairEC2Key']({keyName:a,env:b}){const N=a145t,c=this[N(0x199)][N(0x180)](b),d=a145f[N(0x1ec)](c,N(0x19b),a+N(0x1cf));try{const f={'KeyName':a},g=new CreateKeyPairCommand(f),h=await client[N(0x188)](g),i=h['KeyMaterial'];if(i){await this[N(0x199)]['createFile']({'filePath':d,'data':i}),execSync(N(0x196)+d,{'stdio':N(0x164)});const j=this[N(0x199)]['isFile'](d);if(j)return Log['success'](N(0x144)+d),{'keyName':a,'filePath':d};else throw new Error(N(0x1df));}else throw new Error('Error\x20generating\x20key\x20pair');}catch(k){Log[N(0x19c)](k),process[N(0x125)](0x1);}}async['ingressRule']({port:a,groupId:b}){const O=a145t,c={'GroupId':b,'IpPermissions':[{'FromPort':a,'IpProtocol':O(0x11d),'IpRanges':[{'CidrIp':O(0x1c9),'Description':''}],'ToPort':a}]},d=new AuthorizeSecurityGroupIngressCommand(c);return Log[O(0x17f)](O(0x179)+a+O(0x1d3)),await client[O(0x188)](d);}async[a145t(0x1b5)](a){const P=a145t;try{a[P(0x12a)]===''&&(a['description']=await Actions[P(0x132)](P(0x16e))||'Web\x20App');const b={'Description':a[P(0x12a)],'GroupName':a['name'],'VpcId':a[P(0x146)]},c=new CreateSecurityGroupCommand(b),d=await client[P(0x188)](c),{GroupId:f}=d;if(!d)throw new Error('AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials');f&&a[P(0x1b3)][P(0x17d)](g=>{const Q=P;this[Q(0x191)]({'port':parseInt(g),'groupId':f});}),Log[P(0x10f)](P(0x149)+f+P(0x187)+a[P(0x198)]);}catch(g){return Log[P(0x19c)](g),![];}return!![];}async[a145t(0x124)](a){const R=a145t,b=[];try{const c={},d=new DescribeKeyPairsCommand(c),f=await client[R(0x188)](d);if(!f)throw R(0xff);const {KeyPairs:g}=f;g?(g?.[R(0x17d)]((h,i)=>{const S=R;h[S(0x18f)]&&b[S(0x173)]({'id':i,'name':h[S(0x18f)]});}),b['length']>0x0&&b[R(0x17d)](h=>{const T=R;h['name']===a?.['suggestion']?Log[T(0x10f)](T(0x1e3)+h['id']+T(0x187)+h[T(0x198)]):Log['notice']('ID:\x20'+h['id']+'\x20NAME:\x20'+h[T(0x198)]);})):Log[R(0x19c)](R(0x1ed));}catch(h){Log[R(0x19c)](h);}return b;}async[a145t(0x138)](a){const U=a145t;try{const b={'KeyName':a},c=new DeleteKeyPairCommand(b);await client[U(0x188)](c);}catch(d){Log['error'](d),process[U(0x125)](0x1);}}async[a145t(0x1e9)](){const V=a145t,a=[];try{const b={'Filters':[{'Name':'tag:created-by','Values':[V(0x1b4)]}]},c=new DescribeInstancesCommand(b),d=await client[V(0x188)](c);d[V(0x117)]?.[V(0x17d)]((f,g)=>{const W=V;if(f?.[W(0x155)]){const {InstanceId:h,PublicIpAddress:i,PrivateIpAddress:j,State:k,KeyName:l,Tags:m}=f[W(0x155)][0x0],n=m?.[W(0x1b2)](({Key:o})=>o===W(0x130));a[W(0x173)]({'id':g,'instanceId':h,'privateIp':j,'publicIp':i,'status':k?.[W(0x145)],'name':l,'env':n?.[W(0x17a)]});}}),a[V(0x185)]>0x0?a[V(0x17d)](f=>{const X=V,g='ID:\x20'+f['id']+X(0x187)+f[X(0x198)]+X(0x1d4)+f[X(0x133)]+'\x20STATUS:\x20'+f[X(0x1dd)]+X(0x18c)+f[X(0x15b)]+X(0x165)+f[X(0x1b6)]+X(0x100)+f['privateIp'];if(f[X(0x1dd)]===X(0x1a5))Log[X(0x19c)](g);else f[X(0x1dd)]==='running'?Log[X(0x10f)](g):Log[X(0x17f)](g);}):Log[V(0x19c)](V(0x129));}catch(f){Log[V(0x19c)](f);}return a;}async['ec2rebootInstance'](a){const Y=a145t;try{const b={'InstanceIds':[a[Y(0x15b)]]},c=new RebootInstancesCommand(b),d=await client['send'](c);return d[Y(0x139)]['httpStatusCode']===0xc8&&Log[Y(0x10f)](Y(0x1b7)),d;}catch(f){Log[Y(0x19c)](f);}}async[a145t(0x1e7)](){const Z=a145t;let a='';Log[Z(0x17f)](Z(0x1c0));const b=new DescribeVpcsCommand({}),c=await client[Z(0x188)](b),{Vpcs:d}=c,e=[];d&&d[Z(0x17d)]((g,h)=>{const a0=Z;g['VpcId']&&g['CidrBlock']&&e[a0(0x173)]({'id':h,'vpcId':g[a0(0x19a)],'cidr':g[a0(0x1a0)]});});e[Z(0x17d)](function(g){const a1=Z;console[a1(0x1a4)](a1(0x1e3)+g['id']+a1(0x186)+g[a1(0x146)]+a1(0x1af)+g['cidr']);});const f=await Actions['ask'](Z(0x1a7))||0x0;e['forEach'](function(g){const a2=Z;g['id']==f&&(a=g[a2(0x146)],Log[a2(0x10f)](a2(0x1c7)+a+'\x0a'));});if(a==='')return Log[Z(0x19c)](Z(0x183)),'';return a;}async[a145t(0x136)](){const a3=a145t,a=await this['ec2describeInstances']();if(a[a3(0x185)]===0x0)return Log['error']('No\x20instances\x20found'),null;const b=await Actions[a3(0x132)]('[?]\x20Please\x20choose\x20an\x20instance\x20ID:\x20');!b&&(Log[a3(0x19c)]('Invalid\x20choice'),process[a3(0x125)](0x0));const c=a[a3(0x1b2)](({id:d})=>{return d==parseInt(b);})||null;return c;}async['createKeyPair']({env:a}){const a4=a145t,b=this[a4(0x199)][a4(0x104)](),{appName:c}=b,d=c+'-'+a,f=await Actions['ask'](a4(0x11a)+d+']\x20')||d,{filePath:g}=await this[a4(0x1db)]({'keyName':f,'env':a});try{const h=await Actions[a4(0x12c)](a4(0x11c),!![]);if(h)try{const i=a145f[a4(0x1ec)](a4(0x1e5),a,a4(0x10b));!this[a4(0x199)][a4(0x175)](i)&&await this[a4(0x199)][a4(0x19e)]({'srcPath':a4(0x18a),'destPath':i,'context':{'app':f}});const j=a145e[a4(0x1b9)](a145f[a4(0x1ec)]('config',a,a4(0x10b)),a4(0x1e1)),k=JSON[a4(0x118)](j);k[a4(0x18d)]=a145f['join'](a4(0x19b),f+a4(0x1cf)),a145e[a4(0x160)](a145f[a4(0x1ec)]('config',a,a4(0x10b)),JSON[a4(0x1ab)](k,null,0x2));}catch(l){Log[a4(0x19c)](l),Log[a4(0x19c)](a4(0x1de));}}catch(m){Log['error'](m),process['exit'](0x1);}return{'keyName':f,'filePath':g};}async[a145t(0x18e)](a){const a5=a145t,b=[],c={},d=new DescribeSecurityGroupsCommand(c),e=await client[a5(0x188)](d),{SecurityGroups:f}=e;f&&f[a5(0x17d)](function(i,j){const a6=a5;i['GroupName']&&i[a6(0x15a)]&&b[a6(0x173)]({'id':j,'name':i[a6(0x103)],'sgId':i['GroupId']});});let g='',h=0x0;return b[a5(0x17d)](function(i){const a7=a5;i[a7(0x198)]===a&&(g=i[a7(0x15e)],h=i['id']);}),{'sgList':b,'createdSgId':g,'listIndexId':h};}async[a145t(0x1d2)](a){const a8=a145t;try{const b={'GroupId':a},c=new DeleteSecurityGroupCommand(b);await client[a8(0x188)](c);}catch(d){Log['error'](d),process[a8(0x125)](0x1);}}}
1
+ const a145t=a145d;(function(a,b){const p=a145d,c=a();while(!![]){try{const d=parseInt(p(0x194))/0x1+-parseInt(p(0x1b0))/0x2+-parseInt(p(0x139))/0x3*(parseInt(p(0x105))/0x4)+-parseInt(p(0x12f))/0x5*(parseInt(p(0x12b))/0x6)+-parseInt(p(0x11f))/0x7*(-parseInt(p(0x114))/0x8)+parseInt(p(0x12a))/0x9+parseInt(p(0x171))/0xa*(-parseInt(p(0xda))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a145c,0x8ef4c));const a145b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a145d;if(c){const e=c[q(0x15f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a145a=a145b(this,function(){const r=a145d;return a145a[r(0x174)]()[r(0x1a0)](r(0x1b7))['toString']()[r(0xd4)](a145a)[r(0x1a0)](r(0x1b7));});a145a();import a145e from'fs';import a145f from'path';import{execSync}from'child_process';import{Actions}from'../actions/actions.class.js';import{Log}from'../log/log.class.js';import{FSI}from'../fsi/fsi.class.js';import{EC2Client,DescribeInstancesCommand,RunInstancesCommand,TerminateInstancesCommand,CreateKeyPairCommand,AuthorizeSecurityGroupIngressCommand,CreateSecurityGroupCommand,RebootInstancesCommand,DescribeVpcsCommand,DescribeKeyPairsCommand,DeleteKeyPairCommand,DescribeSecurityGroupsCommand,DeleteSecurityGroupCommand,DescribeImagesCommand,DescribeSubnetsCommand}from'@aws-sdk/client-ec2';function a145d(a,b){const c=a145c();return a145d=function(d,e){d=d-0xc7;let f=c[d];return f;},a145d(a,b);}function a145c(){const a9=['region','minCount','env','registerDomain','race','[?]\x20Please\x20choose\x20an\x20instance\x20ID:\x20','apply','ec2createSG','Setting\x20AMI\x20ID\x20to\x20','machine',',\x20URI:\x20','now','Port\x20','instance','imageId','\x27\x20has\x20been\x20registered\x20successfully.','UserData','ap-northeast-3','Canonical*Ubuntu*20.04*','Description','ecrCreateRepository','af-south-1','repositories','ap-northeast-2','6737930YXQWjB','RegistrationPrice','warn','toString','Successfully\x20linked\x20EC2\x20instance\x20','Region:\x20','Prices','eu-north-1','us-west-2','Reservations','\x20AZONE:\x20','\x20Status\x20Code:\x20','config/ssh.json','\x20Error\x20Rason:\x20','trim','ca-west-1','HostedZones','listAllEcrRepositories','\x22\x20created\x20successfully\x20in\x20','AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials','Error\x20fetching\x20domain\x20pricing:','ap-southeast-4','length','**\x20Available\x20Security\x20Groups\x20**','No\x20images\x20found.','getEcrLoginPassword','architecture','stop','privateIp','createFile','instanceId','name','CidrBlock','log','CreationDate','1022101sVIezF','\x20SG\x20NAME:\x20','route53CreateHostedZone','isFile','deleteSecurityGroup','No\x20subnets\x20found.','chooseSecurityGroup','sgId','forEach','environment','createKeyPair','eu-central-2','search','statusCode','push','find','concat','tcp','getMakaProjectConfig','ec2terminateInstance','ask','eu-west-3','Error\x20linking\x20EC2\x20to\x20Route\x2053:','ImageId','Repository\x20\x22','eu-central-1','us-east-2','reason','1618170QpoJwO','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','split','Would\x20you\x20like\x20to\x20update\x20the\x20ssh.json\x20config\x20file?','listAvailableSubnets','Setting\x20SG\x20ID\x20to:\x20','KeyName','(((.+)+)+)+$','/dev/sdh','maxCount','\x20PRIV_IP:\x20','pop','Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[','bright','ap-south-1','map','Pem\x20key\x20saved\x20to\x20','AvailabilityZone','desc','ec2rebootInstance','\x20PUB_IP:\x20','constructor','KeyMaterial','UNSUPPORTED','.pem.txt','vpcId','info','11xQbqPW','writeFileSync','sort','available','withSpinner','ebs','\x20SGID:\x20','fsi','ssh.json','running','Value','Instances','No\x20ECR\x20repositories\x20found\x20across\x20all\x20specified\x20regions.','ec2describeInstances','subnetId','ap-east-1','createKeyPairEC2Key','Failed\x20to\x20create\x20repository\x20in\x20','sgIds','tag:created-by','ap-northeast-1','subnet','cidr','ID:\x20','timeout','chmod\x20400\x20','Canonical*Ubuntu*18.04*','virtualization-type','Availability','deleteKeyPair','getSubnetCidr','\x20:\x20','\x20opened!','il-central-1','httpStatusCode','checkDomainAvailability','Created:\x20','authorizationData','Subnets','ingressRule','notice','status','start','12NyERch','No\x20instances\x20found','config','linkEC2ToRoute53','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','date','success','Setting\x20Subnet\x20ID\x20to\x20','ec2create','0.0.0.0/0','From\x20AWS:','\x20DESCRIPTION:\x20','suggestion','eu-south-1','\x20VPCID:\x20','8948904pqTejE','VpcId','error','changeResourceRecordSets','The\x20domain\x20\x27','file://','ap-southeast-3','getSecurityGroups','getAppConfigPath','eu-west-2','Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','7uhSSAL','sgPorts','No\x20credentials\x20returned\x20from\x20AWS\x20ECR','\x20NAME:\x20','**\x20Available\x20\x20VPCs\x20**','ap-south-2','eu-west-1','Error\x20saving\x20pem\x20file,\x20aborting','authorizationToken','stringify','Web\x20App','4531644iANGke','2130mCyfvc','\x20STATUS:\x20','nextToken','Failed\x20in\x20','4675dkvhDg','base64','$response','[+]\x20Setting\x20VPC\x20ID\x20to:\x20','slice','SubnetId','\x20CIDR:\x20','chooseInstance','root-device-type','chooseVPC','243879uwNlFh','getTime','us-east-1','send','$metadata','join','amiId','state','hvm','sa-east-1','maka-cli','uri','eu-south-2','x86_64','description','publicIp','userData','ap-southeast-1','\x20SUBNETID:\x20','\x20ENV:\x20','Timeout\x20while\x20processing\x20','...','Failed\x20to\x20decode\x20password\x20from\x20authorization\x20token','_keys','There\x20was\x20an\x20error\x20registering\x20the\x20domain\x20name','type','me-south-1','exit','all','utf8','readFileSync','us-west-1'];a145c=function(){return a9;};return a145c();}import{ECRClient,CreateRepositoryCommand,DeleteRepositoryCommand,GetAuthorizationTokenCommand,DescribeRepositoriesCommand}from'@aws-sdk/client-ecr';import{Route53,Route53Client,CreateHostedZoneCommand}from'@aws-sdk/client-route-53';import{Route53Domains,CheckDomainAvailabilityCommand,RegisterDomainCommand,ListPricesCommand}from'@aws-sdk/client-route-53-domains';const client=new EC2Client({}),route53Client=new Route53Client({}),route53=new Route53({}),route53Domains=new Route53Domains({});export class AWS{['fsi'];constructor(){const s=a145d;this[s(0xe1)]=new FSI();}async[a145t(0x19a)](a){const u=a145t;try{const {listIndexId:b,createdSgId:c,sgList:d}=await this[u(0x11b)](a);let f='';if(c===''){Log[u(0x102)](u(0x188)),d['forEach'](function(h){const v=u;h[v(0x190)]===a?Log['notice'](v(0xf1)+h['id']+v(0x195)+h['name']+v(0xe0)+h[v(0x19b)]):Log['bright']('ID:\x20'+h['id']+v(0x195)+h[v(0x190)]+v(0xe0)+h['sgId']);});const g=await Actions[u(0x1a8)](u(0xcb)+b+']\x20')||b['toString']();d[u(0x19c)](function(h){const w=u;h['id']===parseInt(g)&&(f=h['sgId'],Log[w(0x10b)](w(0x1b5)+f+'\x0a'));});}else f=c,Log[u(0x10b)](u(0x1b5)+f+'\x0a');if(f==='')throw new Error(u(0x1b1));return f;}catch(h){Log[u(0x116)](h);throw h;}}async['listAvailableAMIs'](){const x=a145t;let a='';try{const b=new EC2Client({}),c={'Filters':[{'Name':x(0x18b),'Values':[x(0x146)]},{'Name':x(0xf5),'Values':[x(0x141)]},{'Name':x(0x137),'Values':[x(0xdf)]},{'Name':x(0x140),'Values':[x(0xdd)]},{'Name':'image-type','Values':[x(0x162)]},{'Name':'description','Values':[x(0xf4),x(0x16b)]}]},d=new DescribeImagesCommand(c),{Images:f}=await b[x(0x13c)](d);if(f&&f[x(0x187)]>0x0){const g=new Date(),h=new Date(g['getTime']()-0x1e*0x18*0x3c*0x3c*0x3e8),i=f['filter'](j=>j['CreationDate']&&!j[x(0x16c)]?.['includes'](x(0xd6))&&new Date(j[x(0x193)])>h)['map'](j=>({'amiId':j[x(0x1ab)],'desc':j[x(0x16c)],'date':j[x(0x193)]}));if(i[x(0x187)]>0x0){i[x(0xdc)]((n,o)=>new Date(o[x(0x10a)])[x(0x13a)]()-new Date(n['date'])['getTime']());const j=i[x(0x133)](0x0,0x4),k=j[x(0xce)]((n,o)=>({'id':o,'amiId':n[x(0x13f)],'desc':n[x(0xd1)]}));k[x(0x19c)](n=>{const y=x;Log[y(0xcc)](y(0xf1)+n['id']+'\x20AMIID:\x20'+n[y(0x13f)]+y(0x110)+n['desc']);});const l=await Actions[x(0x1a8)](x(0x109))||'0',m=k[x(0x1a3)](n=>n['id']===parseInt(l));if(m)a=m[x(0x13f)],Log[x(0x10b)](x(0x161)+a+x(0xf9)+m[x(0xd1)]);else throw Log[x(0x116)](x(0x1b1));}else throw Log[x(0x116)]('No\x20suitable\x20images\x20found\x20within\x20the\x20last\x2030\x20days.');}else throw Log[x(0x116)](x(0x189));}catch(n){Log[x(0x116)](n);}return a;}async[a145t(0x1b4)](){const z=a145t;let a='';try{const b=new EC2Client({}),c={},d=new DescribeSubnetsCommand(c),{Subnets:f}=await b[z(0x13c)](d);if(f&&f[z(0x187)]>0x0){const g=f['map']((j,k)=>({'id':k,'cidr':j[z(0x191)],'az':j[z(0xd0)],'subnetId':j[z(0x134)]}));g['forEach'](j=>{const A=z;Log['bright'](A(0xf1)+j['id']+A(0x135)+j[A(0xf0)]+A(0x17b)+j['az']+A(0x14b)+j[A(0xe8)]);});const h=await Actions[z(0x1a8)](z(0x11e))||'0',i=g[z(0x1a3)](j=>j['id']===parseInt(h));if(i)a=i[z(0xe8)],Log[z(0x10b)](z(0x10c)+a);else throw Log[z(0x116)](z(0x1b1));}else throw Log[z(0x116)](z(0x199));}catch(j){Log['error'](j);}return a;}async[a145t(0xf8)](a){const B=a145t;try{const b=new EC2Client({}),c={'Filters':[{'Name':'subnet-id','Values':[a]}]},d=new DescribeSubnetsCommand(c),e=await b[B(0x13c)](d);return e['Subnets']&&e[B(0x100)][B(0x187)]>0x0?e['Subnets'][0x0][B(0x191)]||'':'';}catch(f){return Log['error'](f),'';}}async[a145t(0x16d)](a){const C=a145t;try{const b=new ECRClient({'region':a[C(0x159)]}),c={'repositoryName':a[C(0x190)]},d=new CreateRepositoryCommand(c),f=await b[C(0x13c)](d);return Log['success'](C(0x1ac)+a[C(0x190)]+C(0x183)+a[C(0x159)]+'.'),f;}catch(g){Log[C(0x116)](C(0xeb)+a[C(0x159)]+':\x20'+g);throw g;}}async[a145t(0x182)](a){const D=a145t,b=['us-east-1',D(0x1ae),D(0x158),D(0x179),D(0xcd),D(0x16a),D(0x170),D(0x14a),'ap-southeast-2',D(0xee),'ca-central-1',D(0x1ad),D(0x125),D(0x11d),D(0x1a9),D(0x178),D(0x142),D(0x16e),D(0xe9),D(0x124),D(0x11a),D(0x186),D(0x180),D(0x112),D(0x145),D(0x19f),D(0x153),'me-central-1',D(0xfb)],c=[D(0x13b),D(0x1ae),D(0x158),D(0x179)],d=a===D(0x155)?b:a?a[D(0x1b2)](','):c;let f=[];const g=Log[D(0xde)]();for(const h of d){g[D(0x104)]('Processing\x20'+h[D(0x17f)]()+D(0x14e));const i=new ECRClient({'region':h['trim']()});try{let j=undefined;do{const k=await Promise[D(0x15d)]([i['send'](new DescribeRepositoriesCommand({'nextToken':j})),new Promise(l=>setTimeout(()=>l(D(0xf2)),0x7d0))]);if(k===D(0xf2)){Log['warn'](D(0x14d)+h[D(0x17f)]()+'.');break;}else k['repositories']&&k[D(0x16f)][D(0x187)]>0x0&&(f=f[D(0x1a4)](k[D(0x16f)][D(0xce)](l=>({'name':l['repositoryName'],'uri':l['repositoryUri'],'region':h['trim']()}))));j=k[D(0x12d)];}while(j);}catch(l){Log['error'](D(0x12e)+h[D(0x17f)]()+':\x20'+l['message']);}finally{g[D(0x18c)]();}}return f[D(0x187)]>0x0?(console[D(0x192)](),Log['success']('Final\x20list\x20of\x20ECR\x20repositories:'),f[D(0x19c)](m=>{const E=D;Log[E(0xd9)](E(0x176)+m['region']+',\x20Name:\x20'+m[E(0x190)]+E(0x163)+m[E(0x144)]);})):Log[D(0x173)](D(0xe6)),f;}async[a145t(0x196)](a){const F=a145t;try{const b={'CallerReference':''+Date[F(0x164)](),'Name':a},c=new CreateHostedZoneCommand(b);await route53Client[F(0x13c)](c),Log[F(0x10b)]('Hosted\x20zone\x20created\x20successfully!');}catch(d){Log[F(0x116)]('Error\x20creating\x20hosted\x20zone'),console['error'](d);}}async[a145t(0x15c)](a,b,c,d){const G=a145t;try{const e={'DomainName':b,'DurationInYears':c,'AutoRenew':d,'AdminContact':a,'RegistrantContact':a,'TechContact':a},f=new RegisterDomainCommand(e);await route53['send'](f),Log[G(0x102)](G(0x118)+b+G(0x168));}catch(g){Log[G(0x116)](G(0x151)),Log[G(0x173)](G(0x10f)),console['error'](G(0x17c)+g['$response'][G(0x1a1)]),console[G(0x116)](G(0x17e)+g[G(0x131)][G(0x1af)]);}}async[a145t(0xfd)](a){const H=a145t,b={'DomainName':a},c=new CheckDomainAvailabilityCommand(b),d=await route53Domains['send'](c),e=d[H(0xf6)]==='AVAILABLE';if(e){const f=a['split']('.')[H(0xca)](),g={'MaxItems':0x1,'Tld':f};try{const h=new ListPricesCommand(g),i=await route53Domains['send'](h);if(i&&i[H(0x177)]&&i[H(0x177)][0x0]?.['RegistrationPrice']){const j=i['Prices'][0x0][H(0x172)];return{'available':e,'cost':j};}}catch(k){console[H(0x116)](H(0x185),k);}}return{'available':e};}async[a145t(0x108)](a,b,c){const I=a145t;try{const d=await route53['listHostedZonesByName']({'DNSName':c});if(!d?.[I(0x181)])throw Log[I(0x116)]('Could\x20not\x20find\x20hosted\x20zone');const e=d?.['HostedZones'][0x0]['Id'],f={'ChangeBatch':{'Changes':[{'Action':'UPSERT','ResourceRecordSet':{'Name':c,'Type':'A','TTL':0x12c,'ResourceRecords':[{'Value':b}]}}]},'HostedZoneId':e};await route53[I(0x117)](f),Log['notice'](I(0x175)+a+'\x20to\x20'+c);}catch(g){console['error'](I(0x1aa),g);}}async[a145t(0x18a)]({awsAccountId:a,region:b}){const J=a145t,c=new ECRClient({'region':b});try{const d=new GetAuthorizationTokenCommand({'registryIds':[a]}),f=await c['send'](d);if(!f[J(0xff)]||f[J(0xff)][J(0x187)]===0x0)throw new Error('Authorization\x20data\x20is\x20empty');const g=f[J(0xff)][0x0];if(!g[J(0x127)])throw new Error('Authorization\x20token\x20is\x20missing');const h=g[J(0x127)];if(!h)throw new Error(J(0x121));const i=Buffer['from'](h,J(0x130))[J(0x174)](),j=i[J(0x1b2)](':')[0x1];if(!j)throw new Error(J(0x14f));return j;}catch(k){Log[J(0x116)](k);throw k;}}async['ecrDeleteRepository']({repoName:a,region:b}){const K=a145t,c=new ECRClient({'region':b});try{const d=new DeleteRepositoryCommand({'repositoryName':a,'force':!![]}),f=await c[K(0x13c)](d);return f;}catch(g){Log[K(0x116)](g);throw g;}}async[a145t(0x10d)](a){const L=a145t;try{const b={'BlockDeviceMappings':[{'DeviceName':L(0xc7),'Ebs':{'VolumeSize':0x64}}],'ImageId':a[L(0x167)],'InstanceType':a[L(0x152)],'KeyName':a['key'],'MaxCount':a[L(0xc8)],'MinCount':a[L(0x15a)],'SecurityGroupIds':a[L(0xec)][L(0x1b2)](','),'SubnetId':a[L(0xef)],'TagSpecifications':[{'ResourceType':L(0x166),'Tags':a['tags']}]};a[L(0x149)]&&(b[L(0x169)]=L(0x119)+a[L(0x149)]);const c=new RunInstancesCommand(b),d=await client['send'](c);return d;}catch(f){Log[L(0x116)](f);}}async[a145t(0x1a7)](a){const M=a145t;try{const b={'InstanceIds':[a[M(0x18f)]]},c=new TerminateInstancesCommand(b),d=await client[M(0x13c)](c);return d;}catch(f){return Log[M(0x116)](f),{};}}async['createKeyPairEC2Key']({keyName:a,env:b}){const N=a145t,c=this[N(0xe1)][N(0x11c)](b),d=a145f['join'](c,N(0x150),a+'.pem.txt');try{const f={'KeyName':a},g=new CreateKeyPairCommand(f),h=await client[N(0x13c)](g),i=h[N(0xd5)];if(i){await this[N(0xe1)][N(0x18e)]({'filePath':d,'data':i}),execSync(N(0xf3)+d,{'stdio':'ignore'});const j=this[N(0xe1)][N(0x197)](d);if(j)return Log[N(0x10b)](N(0xcf)+d),{'keyName':a,'filePath':d};else throw new Error(N(0x126));}else throw new Error('Error\x20generating\x20key\x20pair');}catch(k){Log['error'](k),process[N(0x154)](0x1);}}async[a145t(0x101)]({port:a,groupId:b}){const O=a145t,c={'GroupId':b,'IpPermissions':[{'FromPort':a,'IpProtocol':O(0x1a5),'IpRanges':[{'CidrIp':O(0x10e),'Description':''}],'ToPort':a}]},d=new AuthorizeSecurityGroupIngressCommand(c);return Log[O(0x102)](O(0x165)+a+O(0xfa)),await client[O(0x13c)](d);}async[a145t(0x160)](a){const P=a145t;try{a[P(0x147)]===''&&(a['description']=await Actions[P(0x1a8)]('Description:')||P(0x129));const b={'Description':a[P(0x147)],'GroupName':a[P(0x190)],'VpcId':a[P(0xd8)]},c=new CreateSecurityGroupCommand(b),d=await client[P(0x13c)](c),{GroupId:f}=d;if(!d)throw new Error(P(0x184));f&&a[P(0x120)][P(0x19c)](g=>{const Q=P;this[Q(0x101)]({'port':parseInt(g),'groupId':f});}),Log['success'](P(0xfe)+f+P(0x122)+a[P(0x190)]);}catch(g){return Log[P(0x116)](g),![];}return!![];}async['ec2describeKeys'](a){const R=a145t,b=[];try{const c={},d=new DescribeKeyPairsCommand(c),f=await client[R(0x13c)](d);if(!f)throw R(0x184);const {KeyPairs:g}=f;g?(g?.[R(0x19c)]((h,i)=>{const S=R;h[S(0x1b6)]&&b[S(0x1a2)]({'id':i,'name':h[S(0x1b6)]});}),b[R(0x187)]>0x0&&b[R(0x19c)](h=>{const T=R;h[T(0x190)]===a?.[T(0x111)]?Log[T(0x10b)](T(0xf1)+h['id']+T(0x122)+h[T(0x190)]):Log[T(0x102)]('ID:\x20'+h['id']+T(0x122)+h['name']);})):Log[R(0x116)]('You\x20have\x20no\x20key-pairs,\x20please\x20create\x20one.\x20(maka\x20aws\x20create-key-pair\x20--env).');}catch(h){Log[R(0x116)](h);}return b;}async[a145t(0xf7)](a){const U=a145t;try{const b={'KeyName':a},c=new DeleteKeyPairCommand(b);await client[U(0x13c)](c);}catch(d){Log['error'](d),process[U(0x154)](0x1);}}async[a145t(0xe7)](){const V=a145t,a=[];try{const b={'Filters':[{'Name':V(0xed),'Values':[V(0x143)]}]},c=new DescribeInstancesCommand(b),d=await client['send'](c);d[V(0x17a)]?.[V(0x19c)]((f,g)=>{const W=V;if(f?.['Instances']){const {InstanceId:h,PublicIpAddress:i,PrivateIpAddress:j,State:k,KeyName:l,Tags:m}=f[W(0xe5)][0x0],n=m?.['find'](({Key:o})=>o===W(0x19d));a[W(0x1a2)]({'id':g,'instanceId':h,'privateIp':j,'publicIp':i,'status':k?.['Name'],'name':l,'env':n?.[W(0xe4)]});}}),a[V(0x187)]>0x0?a[V(0x19c)](f=>{const X=V,g=X(0xf1)+f['id']+X(0x122)+f[X(0x190)]+X(0x14c)+f[X(0x15b)]+X(0x12c)+f[X(0x103)]+'\x20INSTANCE_ID:\x20'+f['instanceId']+X(0xd3)+f[X(0x148)]+X(0xc9)+f[X(0x18d)];if(f[X(0x103)]==='terminated')Log[X(0x116)](g);else f['status']===X(0xe3)?Log[X(0x10b)](g):Log[X(0x102)](g);}):Log['error']('You\x20have\x20no\x20instances\x20created\x20by\x20maka-cli.\x20\x20Please\x20reivew\x20your\x20AWS\x20console\x20manually!!!');}catch(f){Log[V(0x116)](f);}return a;}async[a145t(0xd2)](a){const Y=a145t;try{const b={'InstanceIds':[a['instanceId']]},c=new RebootInstancesCommand(b),d=await client['send'](c);return d[Y(0x13d)][Y(0xfc)]===0xc8&&Log['success']('Instance\x20rebooted!'),d;}catch(f){Log[Y(0x116)](f);}}async[a145t(0x138)](){const Z=a145t;let a='';Log[Z(0x102)](Z(0x123));const b=new DescribeVpcsCommand({}),c=await client[Z(0x13c)](b),{Vpcs:d}=c,e=[];d&&d['forEach']((g,h)=>{const a0=Z;g[a0(0x115)]&&g[a0(0x191)]&&e[a0(0x1a2)]({'id':h,'vpcId':g[a0(0x115)],'cidr':g['CidrBlock']});});e[Z(0x19c)](function(g){const a1=Z;console['log']('ID:\x20'+g['id']+a1(0x113)+g[a1(0xd8)]+a1(0x135)+g[a1(0xf0)]);});const f=await Actions[Z(0x1a8)]('Please\x20choose\x20a\x20VPC:\x20[0]\x20')||0x0;e[Z(0x19c)](function(g){const a2=Z;g['id']==f&&(a=g[a2(0xd8)],Log['success'](a2(0x132)+a+'\x0a'));});if(a==='')return Log[Z(0x116)](Z(0x1b1)),'';return a;}async[a145t(0x136)](){const a3=a145t,a=await this[a3(0xe7)]();if(a[a3(0x187)]===0x0)return Log[a3(0x116)](a3(0x106)),null;const b=await Actions['ask'](a3(0x15e));!b&&(Log[a3(0x116)]('Invalid\x20choice'),process[a3(0x154)](0x0));const c=a['find'](({id:d})=>{return d==parseInt(b);})||null;return c;}async[a145t(0x19e)]({env:a}){const a4=a145t,b=this[a4(0xe1)][a4(0x1a6)](),{appName:c}=b,d=c+'-'+a,f=await Actions[a4(0x1a8)]('Key\x20Name:\x20['+d+']\x20')||d,{filePath:g}=await this[a4(0xea)]({'keyName':f,'env':a});try{const h=await Actions['confirm'](a4(0x1b3),!![]);if(h)try{const i=a145f[a4(0x13e)](a4(0x107),a,a4(0xe2));!this[a4(0xe1)][a4(0x197)](i)&&await this[a4(0xe1)]['template']({'srcPath':a4(0x17d),'destPath':i,'context':{'app':f}});const j=a145e[a4(0x157)](a145f[a4(0x13e)](a4(0x107),a,a4(0xe2)),a4(0x156)),k=JSON['parse'](j);k['pem']=a145f['join'](a4(0x150),f+a4(0xd7)),a145e[a4(0xdb)](a145f['join'](a4(0x107),a,a4(0xe2)),JSON[a4(0x128)](k,null,0x2));}catch(l){Log[a4(0x116)](l),Log[a4(0x116)]('You\x20will\x20need\x20to\x20update\x20the\x20ssh.json\x20file\x20yourself.');}}catch(m){Log[a4(0x116)](m),process[a4(0x154)](0x1);}return{'keyName':f,'filePath':g};}async[a145t(0x11b)](a){const a5=a145t,b=[],c={},d=new DescribeSecurityGroupsCommand(c),e=await client[a5(0x13c)](d),{SecurityGroups:f}=e;f&&f[a5(0x19c)](function(i,j){const a6=a5;i['GroupName']&&i['GroupId']&&b[a6(0x1a2)]({'id':j,'name':i['GroupName'],'sgId':i['GroupId']});});let g='',h=0x0;return b['forEach'](function(i){const a7=a5;i[a7(0x190)]===a&&(g=i[a7(0x19b)],h=i['id']);}),{'sgList':b,'createdSgId':g,'listIndexId':h};}async[a145t(0x198)](a){const a8=a145t;try{const b={'GroupId':a},c=new DeleteSecurityGroupCommand(b);await client[a8(0x13c)](c);}catch(d){Log[a8(0x116)](d),process[a8(0x154)](0x1);}}}
@@ -1 +1 @@
1
- (function(a,b){var k=a146d,c=a();while(!![]){try{var d=-parseInt(k(0x100))/0x1+-parseInt(k(0xf9))/0x2*(-parseInt(k(0x104))/0x3)+parseInt(k(0x101))/0x4*(-parseInt(k(0x106))/0x5)+-parseInt(k(0xf8))/0x6+parseInt(k(0x107))/0x7*(parseInt(k(0xfe))/0x8)+-parseInt(k(0xfb))/0x9+parseInt(k(0x105))/0xa*(parseInt(k(0xfc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a146c,0x865d6));export var CountryCode;(function(c){var d=(function(){var f=!![];return function(g,h){var i=f?function(){var l=a146d;if(h){var j=h[l(0x103)](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var m=a146d;return e['toString']()[m(0xfd)](m(0xff))[m(0xfa)]()[m(0x102)](e)[m(0xfd)](m(0xff));});e(),c['AC']='AC',c['AD']='AD',c['AE']='AE',c['AF']='AF',c['AG']='AG',c['AI']='AI',c['AL']='AL',c['AM']='AM',c['AN']='AN',c['AO']='AO',c['AQ']='AQ',c['AR']='AR',c['AS']='AS',c['AT']='AT',c['AU']='AU',c['AW']='AW',c['AX']='AX',c['AZ']='AZ',c['BA']='BA',c['BB']='BB',c['BD']='BD',c['BE']='BE',c['BF']='BF',c['BG']='BG',c['BH']='BH',c['BI']='BI',c['BJ']='BJ',c['BL']='BL',c['BM']='BM',c['BN']='BN',c['BO']='BO',c['BQ']='BQ',c['BR']='BR',c['BS']='BS',c['BT']='BT',c['BV']='BV',c['BW']='BW',c['BY']='BY',c['BZ']='BZ',c['CA']='CA',c['CC']='CC',c['CD']='CD',c['CF']='CF',c['CG']='CG',c['CH']='CH',c['CI']='CI',c['CK']='CK',c['CL']='CL',c['CM']='CM',c['CN']='CN',c['CO']='CO',c['CR']='CR',c['CU']='CU',c['CV']='CV',c['CW']='CW',c['CX']='CX',c['CY']='CY',c['CZ']='CZ',c['DE']='DE',c['DJ']='DJ',c['DK']='DK',c['DM']='DM',c['DO']='DO',c['DZ']='DZ',c['EC']='EC',c['EE']='EE',c['EG']='EG',c['EH']='EH',c['ER']='ER',c['ES']='ES',c['ET']='ET',c['FI']='FI',c['FJ']='FJ',c['FK']='FK',c['FM']='FM',c['FO']='FO',c['FR']='FR',c['GA']='GA',c['GB']='GB',c['GD']='GD',c['GE']='GE',c['GF']='GF',c['GG']='GG',c['GH']='GH',c['GI']='GI',c['GL']='GL',c['GM']='GM',c['GN']='GN',c['GP']='GP',c['GQ']='GQ',c['GR']='GR',c['GS']='GS',c['GT']='GT',c['GU']='GU',c['GW']='GW',c['GY']='GY',c['HK']='HK',c['HM']='HM',c['HN']='HN',c['HR']='HR',c['HT']='HT',c['HU']='HU',c['ID']='ID',c['IE']='IE',c['IL']='IL',c['IM']='IM',c['IN']='IN',c['IO']='IO',c['IQ']='IQ',c['IR']='IR',c['IS']='IS',c['IT']='IT',c['JE']='JE',c['JM']='JM',c['JO']='JO',c['JP']='JP',c['KE']='KE',c['KG']='KG',c['KH']='KH',c['KI']='KI',c['KM']='KM',c['KN']='KN',c['KP']='KP',c['KR']='KR',c['KW']='KW',c['KY']='KY',c['KZ']='KZ',c['LA']='LA',c['LB']='LB',c['LC']='LC',c['LI']='LI',c['LK']='LK',c['LR']='LR',c['LS']='LS',c['LT']='LT',c['LU']='LU',c['LV']='LV',c['LY']='LY',c['MA']='MA',c['MC']='MC',c['MD']='MD',c['ME']='ME',c['MF']='MF',c['MG']='MG',c['MH']='MH',c['MK']='MK',c['ML']='ML',c['MM']='MM',c['MN']='MN',c['MO']='MO',c['MP']='MP',c['MQ']='MQ',c['MR']='MR',c['MS']='MS',c['MT']='MT',c['MU']='MU',c['MV']='MV',c['MW']='MW',c['MX']='MX',c['MY']='MY',c['MZ']='MZ',c['NA']='NA',c['NC']='NC',c['NE']='NE',c['NF']='NF',c['NG']='NG',c['NI']='NI',c['NL']='NL',c['NO']='NO',c['NP']='NP',c['NR']='NR',c['NU']='NU',c['NZ']='NZ',c['OM']='OM',c['PA']='PA',c['PE']='PE',c['PF']='PF',c['PG']='PG',c['PH']='PH',c['PK']='PK',c['PL']='PL',c['PM']='PM',c['PN']='PN',c['PR']='PR',c['PS']='PS',c['PT']='PT',c['PW']='PW',c['PY']='PY',c['QA']='QA',c['RE']='RE',c['RO']='RO',c['RS']='RS',c['RU']='RU',c['RW']='RW',c['SA']='SA',c['SB']='SB',c['SC']='SC',c['SD']='SD',c['SE']='SE',c['SG']='SG',c['SH']='SH',c['SI']='SI',c['SJ']='SJ',c['SK']='SK',c['SL']='SL',c['SM']='SM',c['SN']='SN',c['SO']='SO',c['SR']='SR',c['SS']='SS',c['ST']='ST',c['SV']='SV',c['SX']='SX',c['SY']='SY',c['SZ']='SZ',c['TC']='TC',c['TD']='TD',c['TF']='TF',c['TG']='TG',c['TH']='TH',c['TJ']='TJ',c['TK']='TK',c['TL']='TL',c['TM']='TM',c['TN']='TN',c['TO']='TO',c['TP']='TP',c['TR']='TR',c['TT']='TT',c['TV']='TV',c['TW']='TW',c['TZ']='TZ',c['UA']='UA',c['UG']='UG',c['US']='US',c['UY']='UY',c['UZ']='UZ',c['VA']='VA',c['VC']='VC',c['VE']='VE',c['VG']='VG',c['VI']='VI',c['VN']='VN',c['VU']='VU',c['WF']='WF',c['WS']='WS',c['YE']='YE',c['YT']='YT',c['ZA']='ZA',c['ZM']='ZM',c['ZW']='ZW';}(CountryCode||(CountryCode={})));function a146d(a,b){var c=a146c();return a146d=function(d,e){d=d-0xf8;var f=c[d];return f;},a146d(a,b);}function a146c(){var n=['253310Rglnfs','1855OlABgt','1278641EzuHJb','3957156GzWtZq','48ncqJYK','toString','5128857EcIKBd','473WxMJkj','search','16wrKpjS','(((.+)+)+)+$','527371NWDEBR','2036DkkcAk','constructor','apply','130176GWcZxq'];a146c=function(){return n;};return a146c();}
1
+ function a146d(a,b){var c=a146c();return a146d=function(d,e){d=d-0x1b7;var f=c[d];return f;},a146d(a,b);}(function(a,b){var k=a146d,c=a();while(!![]){try{var d=parseInt(k(0x1b9))/0x1+-parseInt(k(0x1c2))/0x2+parseInt(k(0x1be))/0x3+-parseInt(k(0x1ba))/0x4*(parseInt(k(0x1c1))/0x5)+-parseInt(k(0x1bb))/0x6+-parseInt(k(0x1bd))/0x7+-parseInt(k(0x1bc))/0x8*(-parseInt(k(0x1b8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a146c,0x2cf6a));export var CountryCode;function a146c(){var m=['862508xvrLQT','610698uMQkNL','32UGonVc','161742EigVdF','237669gCAqnS','search','constructor','5ItvxTx','110132qDooxj','(((.+)+)+)+$','toString','832671sxLvmq','130453SRAKnk'];a146c=function(){return m;};return a146c();}(function(c){var d=(function(){var f=!![];return function(g,h){var i=f?function(){if(h){var j=h['apply'](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var l=a146d;return e['toString']()[l(0x1bf)](l(0x1c3))[l(0x1b7)]()[l(0x1c0)](e)['search'](l(0x1c3));});e(),c['AC']='AC',c['AD']='AD',c['AE']='AE',c['AF']='AF',c['AG']='AG',c['AI']='AI',c['AL']='AL',c['AM']='AM',c['AN']='AN',c['AO']='AO',c['AQ']='AQ',c['AR']='AR',c['AS']='AS',c['AT']='AT',c['AU']='AU',c['AW']='AW',c['AX']='AX',c['AZ']='AZ',c['BA']='BA',c['BB']='BB',c['BD']='BD',c['BE']='BE',c['BF']='BF',c['BG']='BG',c['BH']='BH',c['BI']='BI',c['BJ']='BJ',c['BL']='BL',c['BM']='BM',c['BN']='BN',c['BO']='BO',c['BQ']='BQ',c['BR']='BR',c['BS']='BS',c['BT']='BT',c['BV']='BV',c['BW']='BW',c['BY']='BY',c['BZ']='BZ',c['CA']='CA',c['CC']='CC',c['CD']='CD',c['CF']='CF',c['CG']='CG',c['CH']='CH',c['CI']='CI',c['CK']='CK',c['CL']='CL',c['CM']='CM',c['CN']='CN',c['CO']='CO',c['CR']='CR',c['CU']='CU',c['CV']='CV',c['CW']='CW',c['CX']='CX',c['CY']='CY',c['CZ']='CZ',c['DE']='DE',c['DJ']='DJ',c['DK']='DK',c['DM']='DM',c['DO']='DO',c['DZ']='DZ',c['EC']='EC',c['EE']='EE',c['EG']='EG',c['EH']='EH',c['ER']='ER',c['ES']='ES',c['ET']='ET',c['FI']='FI',c['FJ']='FJ',c['FK']='FK',c['FM']='FM',c['FO']='FO',c['FR']='FR',c['GA']='GA',c['GB']='GB',c['GD']='GD',c['GE']='GE',c['GF']='GF',c['GG']='GG',c['GH']='GH',c['GI']='GI',c['GL']='GL',c['GM']='GM',c['GN']='GN',c['GP']='GP',c['GQ']='GQ',c['GR']='GR',c['GS']='GS',c['GT']='GT',c['GU']='GU',c['GW']='GW',c['GY']='GY',c['HK']='HK',c['HM']='HM',c['HN']='HN',c['HR']='HR',c['HT']='HT',c['HU']='HU',c['ID']='ID',c['IE']='IE',c['IL']='IL',c['IM']='IM',c['IN']='IN',c['IO']='IO',c['IQ']='IQ',c['IR']='IR',c['IS']='IS',c['IT']='IT',c['JE']='JE',c['JM']='JM',c['JO']='JO',c['JP']='JP',c['KE']='KE',c['KG']='KG',c['KH']='KH',c['KI']='KI',c['KM']='KM',c['KN']='KN',c['KP']='KP',c['KR']='KR',c['KW']='KW',c['KY']='KY',c['KZ']='KZ',c['LA']='LA',c['LB']='LB',c['LC']='LC',c['LI']='LI',c['LK']='LK',c['LR']='LR',c['LS']='LS',c['LT']='LT',c['LU']='LU',c['LV']='LV',c['LY']='LY',c['MA']='MA',c['MC']='MC',c['MD']='MD',c['ME']='ME',c['MF']='MF',c['MG']='MG',c['MH']='MH',c['MK']='MK',c['ML']='ML',c['MM']='MM',c['MN']='MN',c['MO']='MO',c['MP']='MP',c['MQ']='MQ',c['MR']='MR',c['MS']='MS',c['MT']='MT',c['MU']='MU',c['MV']='MV',c['MW']='MW',c['MX']='MX',c['MY']='MY',c['MZ']='MZ',c['NA']='NA',c['NC']='NC',c['NE']='NE',c['NF']='NF',c['NG']='NG',c['NI']='NI',c['NL']='NL',c['NO']='NO',c['NP']='NP',c['NR']='NR',c['NU']='NU',c['NZ']='NZ',c['OM']='OM',c['PA']='PA',c['PE']='PE',c['PF']='PF',c['PG']='PG',c['PH']='PH',c['PK']='PK',c['PL']='PL',c['PM']='PM',c['PN']='PN',c['PR']='PR',c['PS']='PS',c['PT']='PT',c['PW']='PW',c['PY']='PY',c['QA']='QA',c['RE']='RE',c['RO']='RO',c['RS']='RS',c['RU']='RU',c['RW']='RW',c['SA']='SA',c['SB']='SB',c['SC']='SC',c['SD']='SD',c['SE']='SE',c['SG']='SG',c['SH']='SH',c['SI']='SI',c['SJ']='SJ',c['SK']='SK',c['SL']='SL',c['SM']='SM',c['SN']='SN',c['SO']='SO',c['SR']='SR',c['SS']='SS',c['ST']='ST',c['SV']='SV',c['SX']='SX',c['SY']='SY',c['SZ']='SZ',c['TC']='TC',c['TD']='TD',c['TF']='TF',c['TG']='TG',c['TH']='TH',c['TJ']='TJ',c['TK']='TK',c['TL']='TL',c['TM']='TM',c['TN']='TN',c['TO']='TO',c['TP']='TP',c['TR']='TR',c['TT']='TT',c['TV']='TV',c['TW']='TW',c['TZ']='TZ',c['UA']='UA',c['UG']='UG',c['US']='US',c['UY']='UY',c['UZ']='UZ',c['VA']='VA',c['VC']='VC',c['VE']='VE',c['VG']='VG',c['VI']='VI',c['VN']='VN',c['VU']='VU',c['WF']='WF',c['WS']='WS',c['YE']='YE',c['YT']='YT',c['ZA']='ZA',c['ZM']='ZM',c['ZW']='ZW';}(CountryCode||(CountryCode={})));
@@ -1 +1 @@
1
- const a147m=a147d;function a147c(){const q=['docker\x20','error','(((.+)+)+)+$','inherit','pushImage','5418780OmYtWa','964270zBdCwW','push','.amazonaws.com/','5688117ruJRSj','join','20jGHDvb','898970sRRfWu','15590kpIxTR','.dkr.ecr.','10795204tmYYlB','toString','8cFDKkc','search','tag','17534050QpBnlx','582MCVEIa','echo\x20','apply'];a147c=function(){return q;};return a147c();}function a147d(a,b){const c=a147c();return a147d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a147d(a,b);}(function(a,b){const j=a147d,c=a();while(!![]){try{const d=-parseInt(j(0x1dd))/0x1+-parseInt(j(0x1de))/0x2*(-parseInt(j(0x1e6))/0x3)+-parseInt(j(0x1dc))/0x4*(parseInt(j(0x1d7))/0x5)+parseInt(j(0x1d6))/0x6+parseInt(j(0x1e0))/0x7*(parseInt(j(0x1e2))/0x8)+parseInt(j(0x1da))/0x9+-parseInt(j(0x1e5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a147c,0xed864));const a147b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a147d;if(c){const e=c[k(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a147a=a147b(this,function(){const l=a147d;return a147a[l(0x1e1)]()[l(0x1e3)](l(0x1d3))['toString']()['constructor'](a147a)[l(0x1e3)](l(0x1d3));});a147a();import{execSync}from'child_process';import{Log}from'../log/log.class.js';export class Docker{static[a147m(0x1e4)]({imageName:a,awsAccountId:b,region:c,repoName:d}){const n=a147m;try{const f=[n(0x1e4),a,b+n(0x1df)+c+'.amazonaws.com/'+d],g='docker\x20'+f[n(0x1db)]('\x20'),h=execSync(g,{'stdio':n(0x1d4)})[n(0x1e1)]();return h;}catch(i){return Log['error'](i),'';}}static['awsLogin']({awsAccountId:a,region:b,password:c}){const o=a147m;try{const d=o(0x1cf)+c+'\x20|\x20docker\x20login\x20--username\x20AWS\x20--password-stdin\x20'+a+o(0x1df)+b+'.amazonaws.com';return execSync(d,{'stdio':'inherit'}),d;}catch(f){return Log[o(0x1d2)](f),'';}}static[a147m(0x1d5)]({awsAccountId:a,region:b,repoName:c}){const p=a147m;try{const d=[p(0x1d8),a+p(0x1df)+b+p(0x1d9)+c],f=p(0x1d1)+d['join']('\x20'),g=execSync(f,{'stdio':p(0x1d4)})[p(0x1e1)]();return g;}catch(h){return Log['error'](h),'';}}}
1
+ const a147m=a147d;(function(a,b){const j=a147d,c=a();while(!![]){try{const d=parseInt(j(0x1ff))/0x1*(parseInt(j(0x1f9))/0x2)+-parseInt(j(0x1f3))/0x3+parseInt(j(0x202))/0x4*(-parseInt(j(0x1f5))/0x5)+-parseInt(j(0x1f6))/0x6+-parseInt(j(0x1f2))/0x7+parseInt(j(0x1ef))/0x8+parseInt(j(0x1f8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a147c,0xb760e));function a147d(a,b){const c=a147c();return a147d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a147d(a,b);}const a147b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a147d;if(c){const e=c[k(0x205)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a147a=a147b(this,function(){const l=a147d;return a147a[l(0x200)]()[l(0x207)](l(0x1f0))[l(0x200)]()[l(0x1fe)](a147a)[l(0x207)]('(((.+)+)+)+$');});a147a();import{execSync}from'child_process';function a147c(){const q=['(((.+)+)+)+$','.amazonaws.com/','10276847pbKMPS','2824641evyFaL','awsLogin','8080odWnCr','87420yrkpDQ','docker\x20','14696370KcSTfp','2HghVHb','.dkr.ecr.','\x20|\x20docker\x20login\x20--username\x20AWS\x20--password-stdin\x20','tag','pushImage','constructor','564193zXjbRx','toString','push','292sHVKGz','inherit','.amazonaws.com','apply','join','search','echo\x20','error','8769608IGcUTR'];a147c=function(){return q;};return a147c();}import{Log}from'../log/log.class.js';export class Docker{static[a147m(0x1fc)]({imageName:a,awsAccountId:b,region:c,repoName:d}){const n=a147m;try{const f=['tag',a,b+'.dkr.ecr.'+c+'.amazonaws.com/'+d],g=n(0x1f7)+f[n(0x206)]('\x20'),h=execSync(g,{'stdio':n(0x203)})[n(0x200)]();return h;}catch(i){return Log['error'](i),'';}}static[a147m(0x1f4)]({awsAccountId:a,region:b,password:c}){const o=a147m;try{const d=o(0x208)+c+o(0x1fb)+a+o(0x1fa)+b+o(0x204);return execSync(d,{'stdio':o(0x203)}),d;}catch(f){return Log[o(0x1ee)](f),'';}}static[a147m(0x1fd)]({awsAccountId:a,region:b,repoName:c}){const p=a147m;try{const d=[p(0x201),a+p(0x1fa)+b+p(0x1f1)+c],f=p(0x1f7)+d[p(0x206)]('\x20'),g=execSync(f,{'stdio':p(0x203)})['toString']();return g;}catch(h){return Log[p(0x1ee)](h),'';}}}
@@ -1 +1 @@
1
- function a148d(a,b){var c=a148c();return a148d=function(d,e){d=d-0x12b;var f=c[d];return f;},a148d(a,b);}(function(a,b){var f=a148d,c=a();while(!![]){try{var d=parseInt(f(0x139))/0x1+-parseInt(f(0x132))/0x2*(parseInt(f(0x12e))/0x3)+-parseInt(f(0x135))/0x4*(parseInt(f(0x12d))/0x5)+parseInt(f(0x131))/0x6*(parseInt(f(0x134))/0x7)+-parseInt(f(0x12b))/0x8*(-parseInt(f(0x12f))/0x9)+-parseInt(f(0x133))/0xa+parseInt(f(0x130))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a148c,0xd4efc));var a148b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a148d;if(c){var e=c[g(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a148a=a148b(this,function(){var h=a148d;return a148a['toString']()[h(0x136)](h(0x13a))[h(0x12c)]()[h(0x137)](a148a)['search'](h(0x13a));});function a148c(){var i=['16037XNkknj','24LIkURn','search','constructor','apply','837454Ggydhj','(((.+)+)+)+$','87256jdqsQA','toString','250060ZntmNY','228753HKIQPj','261HqihPt','17259011uZyyFK','1878mnVYwY','38FnHaZN','8188120aMlPxp'];a148c=function(){return i;};return a148c();}a148a();export{};
1
+ (function(a,b){var f=a148d,c=a();while(!![]){try{var d=-parseInt(f(0x93))/0x1+parseInt(f(0x99))/0x2+-parseInt(f(0x95))/0x3*(parseInt(f(0x94))/0x4)+-parseInt(f(0x9b))/0x5*(-parseInt(f(0x9d))/0x6)+-parseInt(f(0x9e))/0x7*(parseInt(f(0xa0))/0x8)+parseInt(f(0x9c))/0x9*(-parseInt(f(0x9a))/0xa)+-parseInt(f(0x91))/0xb*(-parseInt(f(0x96))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a148c,0x93df3));function a148d(a,b){var c=a148c();return a148d=function(d,e){d=d-0x91;var f=c[d];return f;},a148d(a,b);}var a148b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a148d;if(c){var e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a148a=a148b(this,function(){var h=a148d;return a148a[h(0x97)]()[h(0x9f)](h(0x92))[h(0x97)]()[h(0x98)](a148a)[h(0x9f)]('(((.+)+)+)+$');});a148a();function a148c(){var i=['constructor','917294LLoAyh','260tOVzvB','289130wuZDPQ','56844OdVEzJ','114nUNAjU','13930LYwhVY','search','4856NBKkTn','apply','15791149CwsMzj','(((.+)+)+)+$','38056FNNbTv','3908060libzZu','3Qyoiwr','12BnwzuN','toString'];a148c=function(){return i;};return a148c();}export{};