@maka/maka-cli 4.7.11 → 4.7.12

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 (146) 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/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/tool.js +1 -1
  128. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  129. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  130. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  131. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  132. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  134. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/https/https.class.js +1 -1
  136. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  137. package/bundle/obf/src/tools/log/log.class.js +1 -1
  138. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  139. package/bundle/obf/src/tools/options/options.class.js +1 -1
  140. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  141. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  142. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  143. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  144. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  146. package/package.json +1 -1
@@ -1 +1 @@
1
- const a77y=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=parseInt(w(0xf4))/0x1*(parseInt(w(0xf8))/0x2)+-parseInt(w(0xe4))/0x3*(-parseInt(w(0xde))/0x4)+-parseInt(w(0xcf))/0x5+parseInt(w(0xd5))/0x6+-parseInt(w(0xd8))/0x7+parseInt(w(0xda))/0x8*(-parseInt(w(0xef))/0x9)+parseInt(w(0xd9))/0xa*(-parseInt(w(0xf6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x652a7));const a77b=(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;};}()),a77a=a77b(this,function(){const x=a77d;return a77a[x(0xfa)]()[x(0xc8)]('(((.+)+)+)+$')[x(0xfa)]()[x(0xcc)](a77a)[x(0xc8)](x(0xce));});a77a();import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';function a77c(){const A=['sha256','withSpinner','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','www.maka-cli.com','513sxSmGJ','maka\x20login','/api/v1/status','header','env','1JLHKDS','parse','11uhqByD','help','988360dcQlNw','Using\x20CA\x20Cert\x20','toString','error','Preflight\x20Check','search','start','success','True','constructor','password','(((.+)+)+)+$','2911005aPqOxL','Logging\x20in','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','create','email','update','4953390uGlnnN','authToken','cert','1615803ZrkvJE','2567340OYNbeb','55736oVWWQb','exit','ask','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','12OipvZp','localhost','isFile','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','login','setGlobalConfig','561513xVWjAP','https://','assign','post','cacert','failure','fsi'];a77c=function(){return A;};return a77c();}function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0xc6;let f=c[d];return f;},a77d(a,b);}const hostname=process[a77y(0xf3)]['MAKA_DEV']===a77y(0xcb)?a77y(0xdf):a77y(0xee);Command['create']({'name':a77y(0xe2),'validOpts':['email','password',a77y(0xf7),'cacert','debug'],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77y(0xd1),'examples':[a77y(0xf0),a77y(0xe1)]},async function(a,b){const z=a77y,c=Log[z(0xec)]();try{let d='';b[z(0xe8)]&&(this[z(0xea)][z(0xe0)](b[z(0xe8)])?(d=b['cacert'],Log['notice'](z(0xf9)+d)):Log[z(0xc6)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this['fsi']['getGlobalConfig']();if(f['cert']){if(this[z(0xea)]['isFile'](f[z(0xd7)]))d=f[z(0xd7)];else{Log['error'](z(0xed)+d);return;}}Log[z(0xf2)]('Logging\x20into\x20https://'+hostname);const g={'url':'https://'+hostname+z(0xf1)};b['cacert']&&Object['assign'](g,{'cert':d});c[z(0xc9)](z(0xc7));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[z(0xe9)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}if(h!==0xc8){c[z(0xe9)]();throw z(0xe5)+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c[z(0xca)]();const i=b['email']?b[z(0xd3)]:await Actions['ask']('Email:'),j=b[z(0xcd)]?b[z(0xcd)]:await Actions[z(0xdc)]('Password:\x20',!![]),k=a77e['md'][z(0xeb)][z(0xd2)]();k[z(0xd4)](j);const l=k['digest']()['toHex'](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[z(0xe8)]&&Object['assign'](m,{'cert':d});c['start'](z(0xd0));const {data:n,statusCode:o}=await HTTPS[z(0xe7)](m);if(o===0x198){c[z(0xe9)]('\x0a');throw z(0xdd)+hostname;}const p=JSON[z(0xf5)](n);if(p[z(0xd6)]){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p[z(0xd6)]},'data':{}};b['cacert']&&Object[z(0xe6)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS['post'](q),{token:t}=JSON[z(0xf5)](r);if(s===0x198)throw z(0xdd)+hostname;const u={'token':p,'hash':t};this[z(0xea)][z(0xe3)](u);}else{c[z(0xe9)]();throw p;}c[z(0xca)]();}catch(v){c[z(0xe9)](),console[z(0xc6)](v),process[z(0xdb)](0x0);}});
1
+ function a77c(){const B=['authToken','698154pitTik','post','ask','apply','get','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','search','update','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','parse','failure','header','isFile','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Logging\x20in','cert','withSpinner','toHex','error','/api/v1/status','255ZMLitJ','start','26442hYBUxw','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','702836tKbXFK','3153829KwAYXl','/api/v1/login','https://','fsi','322601LMCNzB','getGlobalConfig','MAKA_DEV','/api/v1/encodeJwt','toString','cacert','8JhuJXz','email','exit','Password:\x20','success','localhost','741015RdDIzU','assign','maka\x20login','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','digest','create','870063cEPfCi','password','(((.+)+)+)+$','constructor'];a77c=function(){return B;};return a77c();}const a77z=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=parseInt(w(0x95))/0x1+-parseInt(w(0xad))/0x2+parseInt(w(0xa8))/0x3+-parseInt(w(0x90))/0x4+-parseInt(w(0xc1))/0x5*(parseInt(w(0x8e))/0x6)+parseInt(w(0x91))/0x7*(parseInt(w(0x9b))/0x8)+-parseInt(w(0xa1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x3877b));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a77d;if(c){const e=c[x(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const y=a77d;return a77a[y(0x99)]()[y(0xb3)](y(0xaa))[y(0x99)]()[y(0xab)](a77a)[y(0xb3)]('(((.+)+)+)+$');});a77a();import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x8e;let f=c[d];return f;},a77d(a,b);}const hostname=process['env'][a77z(0x97)]==='True'?a77z(0xa0):'www.maka-cli.com';Command[a77z(0xa7)]({'name':'login','validOpts':[a77z(0x9c),'password','help',a77z(0x9a),'debug'],'usage':a77z(0xa3),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77z(0x8f),'examples':[a77z(0xa3),a77z(0xb5)]},async function(a,b){const A=a77z,c=Log[A(0xbd)]();try{let d='';b['cacert']&&(this[A(0x94)][A(0xb9)](b[A(0x9a)])?(d=b['cacert'],Log['notice']('Using\x20CA\x20Cert\x20'+d)):Log['error'](A(0xba)+d));const f=await this[A(0x94)][A(0x96)]();if(f[A(0xbc)]){if(this[A(0x94)][A(0xb9)](f[A(0xbc)]))d=f['cert'];else{Log[A(0xbf)](A(0xa4)+d);return;}}Log[A(0xb8)]('Logging\x20into\x20https://'+hostname);const g={'url':A(0x93)+hostname+A(0xc0)};b[A(0x9a)]&&Object['assign'](g,{'cert':d});c[A(0xc2)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[A(0xb1)](g);if(h===0x198){c[A(0xb7)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}if(h!==0xc8){c[A(0xb7)]();throw A(0x93)+hostname+A(0xa5);}c[A(0x9f)]();const i=b['email']?b[A(0x9c)]:await Actions[A(0xaf)]('Email:'),j=b[A(0xa9)]?b[A(0xa9)]:await Actions[A(0xaf)](A(0x9e),!![]),k=a77e['md']['sha256']['create']();k[A(0xb4)](j);const l=k[A(0xa6)]()[A(0xbe)](),m={'hostname':hostname,'path':A(0x92),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0x9a)]&&Object[A(0xa2)](m,{'cert':d});c[A(0xc2)](A(0xbb));const {data:n,statusCode:o}=await HTTPS[A(0xae)](m);if(o===0x198){c['failure']('\x0a');throw A(0xb2)+hostname;}const p=JSON['parse'](n);if(p[A(0xac)]){const q={'hostname':hostname,'path':A(0x98),'headers':{'x-auth-token':p[A(0xac)]},'data':{}};b['cacert']&&Object['assign'](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS['post'](q),{token:t}=JSON[A(0xb6)](r);if(s===0x198)throw A(0xb2)+hostname;const u={'token':p,'hash':t};this[A(0x94)]['setGlobalConfig'](u);}else{c[A(0xb7)]();throw p;}c['success']();}catch(v){c['failure'](),console[A(0xbf)](v),process[A(0x9d)](0x0);}});
@@ -1 +1 @@
1
- const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0x1a4))/0x1*(-parseInt(l(0x19d))/0x2)+parseInt(l(0x188))/0x3*(-parseInt(l(0x198))/0x4)+parseInt(l(0x1a8))/0x5+-parseInt(l(0x185))/0x6+parseInt(l(0x182))/0x7*(-parseInt(l(0x189))/0x8)+-parseInt(l(0x1a7))/0x9+-parseInt(l(0x1a9))/0xa*(-parseInt(l(0x19c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xd7b40));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a[n(0x1a0)]()['search']('(((.+)+)+)+$')[n(0x1a0)]()['constructor'](a78a)[n(0x18a)](n(0x187));});a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78o(0x186)][a78o(0x1a1)]===a78o(0x190)?'localhost':'www.maka-cli.com';function a78c(){const q=['5353090qBLTln','980RDQNzj','success','start','header','35QiAUHs','withSpinner','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','7376562NkPuPP','env','(((.+)+)+)+$','6UVNTcl','2721896qpFUvX','search','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Preflight\x20Check','get','failure','True','token','error','isFile','maka\x20logout','getGlobalConfig','/api/v1/logoutAll','https://','1084376JopGtg','exit','assign','cert','355366UIfsIp','6LewMTr','Using\x20CA\x20Cert\x20','apply','toString','MAKA_DEV','cacert','Logging\x20out','388932TduTnm','fsi','authToken','9423738gBLUFU'];a78c=function(){return q;};return a78c();}function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x182;let f=c[d];return f;},a78d(a,b);}Command['create']({'name':'logout','validOpts':[a78o(0x1a2)],'usage':a78o(0x194),'maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a78o(0x194)]},async function(a,b){const p=a78o,c=Log[p(0x183)]();try{let d='';b[p(0x1a2)]&&(this[p(0x1a5)][p(0x193)](b[p(0x1a2)])?(d=b[p(0x1a2)],Log['notice'](p(0x19e)+d)):Log[p(0x192)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[p(0x1a5)][p(0x195)]();if(f[p(0x19b)]){if(this[p(0x1a5)]['isFile'](f[p(0x19b)]))d=f['cert'];else{c[p(0x18f)]();throw Log[p(0x192)](p(0x184)+d);}}Log[p(0x1ac)]('Logging\x20out\x20of\x20https://'+hostname);const g={'url':p(0x197)+hostname+'/api/v1/status'};b[p(0x1a2)]&&Object['assign'](g,{'cert':d});c[p(0x1ab)](p(0x18d));const {statusCode:h}=await HTTPS[p(0x18e)](g);if(h===0x198){c[p(0x18f)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0x1aa)]();if(h!==0xc8){c['failure']();throw p(0x18b);}if(!f?.[p(0x191)]?.['authToken'])throw Log[p(0x192)]('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');c['start'](p(0x1a3));const i={'hostname':hostname,'path':p(0x196),'data':{},'headers':{'x-auth-token':f[p(0x191)][p(0x1a6)]}};b[p(0x1a2)]&&Object[p(0x19a)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c['failure']('\x0a');throw p(0x18c);}this['fsi']['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x1aa)]();}catch(k){k&&console[p(0x192)](k),process[p(0x199)](0x0);}});
1
+ const a78o=a78d;function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0xe8;let f=c[d];return f;},a78d(a,b);}(function(a,b){const l=a78d,c=a();while(!![]){try{const d=parseInt(l(0x10d))/0x1+parseInt(l(0x114))/0x2*(parseInt(l(0x105))/0x3)+-parseInt(l(0x101))/0x4+-parseInt(l(0x107))/0x5+parseInt(l(0x106))/0x6+parseInt(l(0x111))/0x7*(parseInt(l(0x10e))/0x8)+-parseInt(l(0xf0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x84975));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0x115)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a['toString']()[n(0xfd)](n(0xe8))[n(0xfc)]()[n(0xfb)](a78a)['search'](n(0xe8));});a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78o(0x10c)][a78o(0xe9)]===a78o(0x118)?a78o(0xee):a78o(0xec);function a78c(){const q=['assign','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','env','795284bHpHuR','608WWPhfL','Logging\x20out\x20of\x20https://','start','83027PVzbNH','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','error','57796pfLNXO','apply','get','token','True','(((.+)+)+)+$','MAKA_DEV','success','Using\x20CA\x20Cert\x20','www.maka-cli.com','create','localhost','exit','12621348jrZlfs','getGlobalConfig','/api/v1/status','fsi','logout','cacert','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','maka\x20logout','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','/api/v1/logoutAll','header','constructor','toString','search','failure','post','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','892704jSsScS','https://','Preflight\x20Check','cert','54jmTYLf','2956776FnlBhn','2705195YKOVKu','isFile'];a78c=function(){return q;};return a78c();}Command[a78o(0xed)]({'name':a78o(0xf4),'validOpts':[a78o(0xf5)],'usage':a78o(0xf7),'maxArgLength':0x2,'shortDesc':a78o(0xf6),'disableAuthCheck':!![],'examples':[a78o(0xf7)]},async function(a,b){const p=a78o,c=Log['withSpinner']();try{let d='';b[p(0xf5)]&&(this[p(0xf3)][p(0x108)](b[p(0xf5)])?(d=b['cacert'],Log['notice'](p(0xeb)+d)):Log[p(0x113)](p(0xf8)+d));const f=await this['fsi'][p(0xf1)]();if(f['cert']){if(this[p(0xf3)]['isFile'](f[p(0x104)]))d=f['cert'];else{c[p(0xfe)]();throw Log[p(0x113)](p(0x10a)+d);}}Log[p(0xfa)](p(0x10f)+hostname);const g={'url':p(0x102)+hostname+p(0xf2)};b[p(0xf5)]&&Object[p(0x109)](g,{'cert':d});c[p(0x110)](p(0x103));const {statusCode:h}=await HTTPS[p(0x116)](g);if(h===0x198){c[p(0xfe)]();throw p(0x100);}c['success']();if(h!==0xc8){c['failure']();throw p(0x10b);}if(!f?.['token']?.['authToken'])throw Log[p(0x113)](p(0x112));c[p(0x110)]('Logging\x20out');const i={'hostname':hostname,'path':p(0xf9),'data':{},'headers':{'x-auth-token':f[p(0x117)]['authToken']}};b[p(0xf5)]&&Object[p(0x109)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0xff)](i);if(j===0x198){c[p(0xfe)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[p(0xf3)]['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0xea)]();}catch(k){k&&console['error'](k),process[p(0xef)](0x0);}});
@@ -1 +1 @@
1
- const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0x85))/0x1+-parseInt(j(0x7a))/0x2+-parseInt(j(0x7f))/0x3+-parseInt(j(0x80))/0x4*(-parseInt(j(0x6d))/0x5)+parseInt(j(0x84))/0x6+-parseInt(j(0x87))/0x7+parseInt(j(0x6f))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xbc471));function a79c(){const o=['pm2\x20logs','2051648vMcKlQ','logs','constructor','parse','maka\x20logs\x20--env\x20staging','2941971yJvRxS','4419248DkpvHh','maka\x20logs\x20--env\x20dev','env','search','1270326pHPgtE','350035QSIKaJ','apply','1058218dEPWCL','5UNEGPr','create','15698736fKygLq','ssh.json','View\x20the\x20PM2\x20logs','join','(((.+)+)+)+$','verbose','readFileSync','getAppConfigPath','toString','error'];a79c=function(){return o;};return a79c();}const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x86)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0x77)]()[l(0x83)](l(0x73))[l(0x77)]()[l(0x7c)](a79a)[l(0x83)](l(0x73));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x6d;let f=c[d];return f;},a79d(a,b);}import{Log}from'../tools/log/log.class.js';Command[a79m(0x6e)]({'name':a79m(0x7b),'aliases':['l','log'],'usage':'maka\x20logs','requiredOpts':[a79m(0x82)],'mustBeInMakaProject':!![],'validOpts':[a79m(0x74)],'shortDesc':a79m(0x71),'isPro':!![],'examples':[a79m(0x81),a79m(0x7e),'maka\x20l\x20-e\x20p']},function(a,b){const n=a79m;try{const c=n(0x79),d=this['fsi'][n(0x76)](b[n(0x82)]),f=a79f[n(0x72)](d,n(0x70)),g=a79e[n(0x75)](f),h=JSON[n(0x7d)](g[n(0x77)]());Object['assign'](h,{'env':d}),SSH['sshSync'](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0x78)](i);}});
1
+ function a79c(){const o=['maka\x20logs\x20--env\x20staging','apply','74GCcHwv','create','maka\x20logs','logs','maka\x20l\x20-e\x20p','270080qrNEhX','4815yHzIJO','search','parse','34550rPTlJf','56rboCqI','log','pm2\x20logs','getAppConfigPath','5645450DIgJHz','(((.+)+)+)+$','env','maka\x20logs\x20--env\x20dev','41581UGBSRB','constructor','1674568TXbHJU','3194922hSaNkC','error','toString','readFileSync','2596503iIUjhu'];a79c=function(){return o;};return a79c();}const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=parseInt(j(0x94))/0x1*(-parseInt(j(0x9e))/0x2)+parseInt(j(0x9b))/0x3+parseInt(j(0xa3))/0x4+parseInt(j(0x90))/0x5+parseInt(j(0x97))/0x6+-parseInt(j(0x96))/0x7*(-parseInt(j(0xa8))/0x8)+parseInt(j(0xa4))/0x9*(-parseInt(j(0xa7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xd7644));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x9d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0x99)]()['search'](l(0x91))['toString']()[l(0x95)](a79a)[l(0xa5)](l(0x91));});a79a();import a79e from'fs';import a79f from'path';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x90;let f=c[d];return f;},a79d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a79m(0x9f)]({'name':a79m(0xa1),'aliases':['l',a79m(0xa9)],'usage':a79m(0xa0),'requiredOpts':[a79m(0x92)],'mustBeInMakaProject':!![],'validOpts':['verbose'],'shortDesc':'View\x20the\x20PM2\x20logs','isPro':!![],'examples':[a79m(0x93),a79m(0x9c),a79m(0xa2)]},function(a,b){const n=a79m;try{const c=n(0xaa),d=this['fsi'][n(0xab)](b['env']),f=a79f['join'](d,'ssh.json'),g=a79e[n(0x9a)](f),h=JSON[n(0xa6)](g['toString']());Object['assign'](h,{'env':d}),SSH['sshSync'](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0x98)](i);}});
@@ -1 +1 @@
1
- const a80i=a80d;function a80c(){const k=['apply','processAndRunCommand','589842fHrLdF','(((.+)+)+)+$','maka\x20<command>\x20[<args>]\x20[<opts>]','6iniCcy','exit','331396lRUuNV','625868cLWwqH','maka\x20install\x20meteor','1068732WzrzSH','1748150ConwZD','maka\x20create\x20Todo','constructor','6gnqiEr','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','306528PVFsWS','toString','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','maka','225018yWMIFn','search'];a80c=function(){return k;};return a80c();}(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0x1fb))/0x1+-parseInt(f(0x1f9))/0x2*(-parseInt(f(0x1f2))/0x3)+-parseInt(f(0x1fc))/0x4+-parseInt(f(0x1e9))/0x5+-parseInt(f(0x1ec))/0x6*(-parseInt(f(0x1e8))/0x7)+parseInt(f(0x1ee))/0x8+-parseInt(f(0x1f6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x2ae9b));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0x1f4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a[h(0x1ef)]()[h(0x1f3)](h(0x1f7))[h(0x1ef)]()[h(0x1eb)](a80a)['search'](h(0x1f7));});a80a();import{Command}from'../command.js';function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a80d(a,b);}const Maka=new Command({'name':a80i(0x1f1),'minArgLength':0x1,'shortDesc':a80i(0x1ed),'validOpts':[],'usage':a80i(0x1f8),'disableAuthCheck':!![],'examples':['maka\x20--help',a80i(0x1fd),a80i(0x1ea),'maka\x20run'],'description':a80i(0x1f0)},async function(a,b){const j=a80i;try{const c=a[0x0];a['splice'](0x0,0x1),await this[j(0x1f5)](c,a,b);}catch(d){process[j(0x1fa)](0x1);}});export default Maka;
1
+ const a80h=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=-parseInt(f(0xb9))/0x1+-parseInt(f(0xc0))/0x2*(-parseInt(f(0xb0))/0x3)+parseInt(f(0xba))/0x4*(parseInt(f(0xc1))/0x5)+-parseInt(f(0xbe))/0x6*(parseInt(f(0xb5))/0x7)+-parseInt(f(0xb6))/0x8+parseInt(f(0xaf))/0x9+parseInt(f(0xae))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x5a9c1));function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0xaa;let f=c[d];return f;},a80d(a,b);}const a80b=(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;};}()),a80a=a80b(this,function(){const g=a80d;return a80a[g(0xbb)]()[g(0xb3)](g(0xb1))[g(0xbb)]()[g(0xbd)](a80a)[g(0xb3)](g(0xb1));});a80a();function a80c(){const j=['\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','maka\x20run','644266BzzZYp','106052nsYvyb','toString','maka\x20<command>\x20[<args>]\x20[<opts>]','constructor','12jzzKQu','exit','6MLbnTu','65zMzxpc','maka\x20install\x20meteor','splice','processAndRunCommand','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','2431170DYlaZx','1088955UGceOZ','377337fLMSDZ','(((.+)+)+)+$','maka\x20create\x20Todo','search','maka\x20--help','46361EHYHsZ','459752lunWxK'];a80c=function(){return j;};return a80c();}import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a80h(0xad),'validOpts':[],'usage':a80h(0xbc),'disableAuthCheck':!![],'examples':[a80h(0xb4),a80h(0xaa),a80h(0xb2),a80h(0xb8)],'description':a80h(0xb7)},async function(a,b){const i=a80h;try{const c=a[0x0];a[i(0xab)](0x0,0x1),await this[i(0xac)](c,a,b);}catch(d){process[i(0xbf)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a81h=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0x7c))/0x1+-parseInt(f(0x83))/0x2+-parseInt(f(0x8a))/0x3+parseInt(f(0x7e))/0x4*(parseInt(f(0x7b))/0x5)+parseInt(f(0x8d))/0x6+parseInt(f(0x81))/0x7+-parseInt(f(0x82))/0x8*(-parseInt(f(0x8c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x2f3be));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var g=a81d;return a81a[g(0x86)]()[g(0x85)](g(0x7f))[g(0x86)]()[g(0x7d)](a81a)[g(0x85)]('(((.+)+)+)+$');});function a81c(){var j=['558594aZKjie','murder','search','toString','exit','maka\x20murder','Murrrrderrrrr','1111665JbWIkm','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','5301603PKUeaq','182982CQEfID','20nBXzqa','102679rWAGMi','constructor','194368ZxoUlu','(((.+)+)+)+$','create','924483jswlOu','8XojDRj'];a81c=function(){return j;};return a81c();}a81a();import{Command}from'../command.js';function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x7b;var f=c[d];return f;},a81d(a,b);}Command[a81h(0x80)]({'name':a81h(0x84),'usage':a81h(0x88),'maxArgLength':0x1,'shortDesc':a81h(0x89),'validOpts':[]},async function(){var i=a81h;try{console['log'](i(0x8b),'font-family:\x20monospace');}catch(a){console['error'](a),process[i(0x87)](0x0);}});
1
+ function a81c(){var k=['constructor','maka\x20murder','Murrrrderrrrr','3qAdwzx','15966885fTnLbt','1053102VtLVxE','toString','69158XjqEhN','font-family:\x20monospace','exit','murder','search','create','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','(((.+)+)+)+$','1326800SbePtM','5739849NlwxBH','8toyrEJ','10eAAnaG','1645132Xnklxz','2784486SdyiCV','7IxSJUO','apply','error','log'];a81c=function(){return k;};return a81c();}var a81i=a81d;function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x1f4;var f=c[d];return f;},a81d(a,b);}(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0x1f6))/0x1*(-parseInt(f(0x1fa))/0x2)+parseInt(f(0x1f8))/0x3+parseInt(f(0x206))/0x4*(-parseInt(f(0x205))/0x5)+parseInt(f(0x207))/0x6*(parseInt(f(0x208))/0x7)+-parseInt(f(0x204))/0x8*(parseInt(f(0x203))/0x9)+-parseInt(f(0x202))/0xa+parseInt(f(0x1f7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x8b232));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x209)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0x1f9)]()[h(0x1fe)](h(0x201))['toString']()[h(0x20c)](a81a)[h(0x1fe)]('(((.+)+)+)+$');});a81a();import{Command}from'../command.js';Command[a81i(0x1ff)]({'name':a81i(0x1fd),'usage':a81i(0x1f4),'maxArgLength':0x1,'shortDesc':a81i(0x1f5),'validOpts':[]},async function(){var j=a81i;try{console[j(0x20b)](j(0x200),j(0x1fb));}catch(a){console[j(0x20a)](a),process[j(0x1fc)](0x0);}});
@@ -1 +1 @@
1
- const a82o=a82d;function a82c(){const q=['\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','search','listenPort','7764IBaejG','fsi','localhost','processAndRunGenerator','18ZgtMWI','maka\x20proxy','40UkvTHK','targetHost','.key','2291436BpglMO','join','utf8','mkKeysDir','getMakaProjectConfig','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','bright','648172KPOhgY','listen','genSSC','142PPZKyS','=>\x20SSL\x20Proxy\x20forwarding\x20','4GKCkGZ','isFile','(((.+)+)+)+$','.csr','79648Jephqs','926635mHWycV','appName','targetPort','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','constructor','error','genCSR','sslconfig','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','create','3928298FWVWQa','readFileSync','2105528qixLOw','development','.crt','toString'];a82c=function(){return q;};return a82c();}(function(a,b){const m=a82d,c=a();while(!![]){try{const d=-parseInt(m(0x1b6))/0x1+-parseInt(m(0x1b0))/0x2*(parseInt(m(0x19d))/0x3)+-parseInt(m(0x1b2))/0x4*(parseInt(m(0x1b7))/0x5)+-parseInt(m(0x1a1))/0x6*(parseInt(m(0x1ad))/0x7)+-parseInt(m(0x1c3))/0x8+-parseInt(m(0x1a6))/0x9+parseInt(m(0x1a3))/0xa*(parseInt(m(0x1c1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x2cf66));const a82b=(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;};}()),a82a=a82b(this,function(){const n=a82d;return a82a[n(0x199)]()[n(0x19b)](n(0x1b4))['toString']()[n(0x1bb)](a82a)[n(0x19b)]('(((.+)+)+)+$');});a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x199;let f=c[d];return f;},a82d(a,b);}import a82h from'../generators/maka.gen.js';Command[a82o(0x1c0)]({'name':'proxy','usage':a82o(0x1a2),'mustBeInMakaProject':!![],'validOpts':['help',a82o(0x1b9),a82o(0x19c),a82o(0x1a4)],'maxArgLength':0x1,'shortDesc':a82o(0x1bf),'description':a82o(0x19a),'examples':['maka\x20proxy',a82o(0x1ab),'maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const p=a82o,c=this[p(0x19e)][p(0x1aa)](),d=p(0x1c4),e=this[p(0x19e)]['getAppConfigPath'](d),f=this[p(0x19e)][p(0x1a9)]({'configPath':e}),g=b[p(0x1b9)]?Number(b[p(0x1b9)]):0xbb8,h=b[p(0x19c)]?Number(b[p(0x19c)]):0xd73,i=b[p(0x1a4)]?b[p(0x1a4)]:p(0x19f),j=a82f[p(0x1a7)](f,c[p(0x1b8)]+p(0x1a5)),k=a82f[p(0x1a7)](f,c[p(0x1b8)]+p(0x1c5));(!this[p(0x19e)][p(0x1b3)](j)||!this[p(0x19e)]['isFile'](k))&&(await a82h[p(0x1a0)](p(0x1be),[],{'env':d}),SSL[p(0x1bd)]({'keyName':c[p(0x1b8)]+p(0x1a5),'csrName':c[p(0x1b8)]+p(0x1b5),'cwd':f}),SSL[p(0x1af)]({'keyName':c[p(0x1b8)]+p(0x1a5),'crtName':c[p(0x1b8)]+p(0x1c5),'cwd':f}));if(g===h){Log[p(0x1bc)](p(0x1ba));throw new UsageError();}const l={'ssl':{'key':a82e[p(0x1c2)](j,p(0x1a8)),'cert':a82e['readFileSync'](k,p(0x1a8))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g['createProxyServer'](l)[p(0x1ae)](Number(h)),Log[p(0x1ac)](p(0x1b1)+h+'\x20to\x20'+g);});
1
+ const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=-parseInt(m(0x12a))/0x1*(parseInt(m(0x11a))/0x2)+parseInt(m(0x112))/0x3+-parseInt(m(0x10b))/0x4+parseInt(m(0x10c))/0x5+parseInt(m(0x126))/0x6*(parseInt(m(0x117))/0x7)+parseInt(m(0x110))/0x8*(parseInt(m(0x11f))/0x9)+parseInt(m(0x106))/0xa*(-parseInt(m(0x102))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x2050a));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a['toString']()['search'](o(0x107))[o(0x109)]()[o(0x127)](a82a)[o(0x124)](o(0x107));});a82a();import a82e from'fs';function a82c(){const r=['create','25069WHgjHO','listen','join','getAppConfigPath','410CiATYC','(((.+)+)+)+$','utf8','toString','targetHost','190480ryAnwn','207670UEBiTP','mkKeysDir','.csr','appName','8OcoUbY','maka\x20proxy','782151HEugmh','getMakaProjectConfig','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','fsi','314384yWVDoG','.key','genSSC','18RFQpbh','genCSR','.crt','error','help','57411fpjlDT','isFile','apply','maka\x20proxy\x20--target-host\x20http://192.168.1.20','listenPort','search','localhost','24RsfeOe','constructor','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','readFileSync','23873SBSaOl','targetPort'];a82c=function(){return r;};return a82c();}import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x102;let f=c[d];return f;},a82d(a,b);}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a82h from'../generators/maka.gen.js';Command[a82p(0x12c)]({'name':'proxy','usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a82p(0x11e),a82p(0x12b),'listenPort',a82p(0x10a)],'maxArgLength':0x1,'shortDesc':a82p(0x114),'description':'\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','examples':[a82p(0x111),a82p(0x128),a82p(0x122)]},async function(a,b){const q=a82p,c=this[q(0x116)][q(0x113)](),d='development',e=this['fsi'][q(0x105)](d),f=this[q(0x116)][q(0x10d)]({'configPath':e}),g=b[q(0x12b)]?Number(b['targetPort']):0xbb8,h=b[q(0x123)]?Number(b[q(0x123)]):0xd73,i=b[q(0x10a)]?b[q(0x10a)]:q(0x125),j=a82f[q(0x104)](f,c['appName']+q(0x118)),k=a82f[q(0x104)](f,c[q(0x10f)]+q(0x11c));(!this['fsi'][q(0x120)](j)||!this[q(0x116)][q(0x120)](k))&&(await a82h['processAndRunGenerator']('sslconfig',[],{'env':d}),SSL[q(0x11b)]({'keyName':c[q(0x10f)]+q(0x118),'csrName':c[q(0x10f)]+q(0x10e),'cwd':f}),SSL[q(0x119)]({'keyName':c[q(0x10f)]+q(0x118),'crtName':c[q(0x10f)]+'.crt','cwd':f}));if(g===h){Log[q(0x11d)](q(0x115));throw new UsageError();}const l={'ssl':{'key':a82e['readFileSync'](j,q(0x108)),'cert':a82e[q(0x129)](k,q(0x108))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g['createProxyServer'](l)[q(0x103)](Number(h)),Log['bright']('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+'\x20to\x20'+g);});
@@ -1 +1 @@
1
- function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a83d(a,b);}const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0x1d3))/0x1*(-parseInt(n(0x1e3))/0x2)+-parseInt(n(0x1d1))/0x3*(-parseInt(n(0x1ec))/0x4)+parseInt(n(0x1cb))/0x5+-parseInt(n(0x1c7))/0x6+parseInt(n(0x1d6))/0x7*(parseInt(n(0x1d4))/0x8)+parseInt(n(0x1de))/0x9*(parseInt(n(0x1e1))/0xa)+-parseInt(n(0x1e0))/0xb*(parseInt(n(0x1e5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xe6025));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0x1dc)]()[p(0x1d2)](p(0x1dd))[p(0x1dc)]()[p(0x1c5)](a83a)[p(0x1d2)]('(((.+)+)+)+$');});a83a();import a83e from'fs';import a83f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a83c(){const s=['6513186egVoqz','join','parse','~/pm2.config.js','8801160KFmAAf','Remote\x20host\x20connection\x20successful','_keys','ses.json','getAppConfigPath','~/settings.json','181341DMahwl','search','511679HdSMgc','144BAuMqt','success','63133NXvhXR','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','fsi','maka\x20reconfig\x20--env\x20prod','assign','~/ses.json','toString','(((.+)+)+)+$','7345341bZSSYf','exit','418ikGwaU','10BkXLNP','env','4OftBcK','Checking\x20remote\x20host\x20availability','35004bgixXu','ssh','uname\x20-a','ping','ssh.json','apply','maka\x20reconfig','28UhqNzR','existsSync','scp','pm2.config.js','settings.json','constructor','sshSync'];a83c=function(){return s;};return a83c();}Command['create']({'name':'reconfig','validOpts':[''],'requiredOpts':[a83q(0x1e2)],'mustBeInMakaProject':!![],'usage':a83q(0x1eb),'isPro':!![],'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':'\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','examples':[a83q(0x1d9)]},async function(a,b){const r=a83q;try{const c=this[r(0x1d8)][r(0x1cf)](b[r(0x1e2)]),d=a83f[r(0x1c8)](c,r(0x1e9)),f=a83e['readFileSync'](d)[r(0x1dc)](),g=JSON[r(0x1c9)](f);Object[r(0x1da)](g,{'env':c}),Log['notice'](r(0x1e4));const h=SSH[r(0x1e8)](r(0x1e7),g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0x1d5)](r(0x1cc));const i=a83f[r(0x1c8)](c,r(0x1cd),r(0x1ce));if(a83e[r(0x1ed)](i)){const l={'source':i,'dest':r(0x1db),'verbose':!![]};SSH[r(0x1c2)](l,{...g});}const j=a83f[r(0x1c8)](c,r(0x1c3));SSH['scp']({'source':j,'dest':r(0x1ca),'verbose':!![]},{...g});const k=a83f[r(0x1c8)](c,r(0x1c4));SSH[r(0x1c2)]({'source':k,'dest':r(0x1d0),'verbose':!![]},{...g}),SSH[r(0x1c6)]('pm2\x20delete\x20all',g),await SSH[r(0x1e6)](r(0x1d7),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x1df)](0x0);}});
1
+ const a83p=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0x173))/0x1+-parseInt(n(0x186))/0x2+parseInt(n(0x163))/0x3*(-parseInt(n(0x16e))/0x4)+-parseInt(n(0x171))/0x5*(-parseInt(n(0x15e))/0x6)+-parseInt(n(0x169))/0x7+-parseInt(n(0x15f))/0x8*(-parseInt(n(0x162))/0x9)+parseInt(n(0x170))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x838be));const a83b=(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;};}()),a83a=a83b(this,function(){const o=a83d;return a83a[o(0x16d)]()[o(0x16f)](o(0x17b))[o(0x16d)]()['constructor'](a83a)[o(0x16f)](o(0x17b));});a83a();import a83e from'fs';import a83f from'path';function a83c(){const r=['error','ssh','notice','scp','getAppConfigPath','fsi','settings.json','assign','parse','ses.json','1884866HhFBzr','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','66wdMAKf','8KuCHZf','exit','ping','7144821bLizsA','294mBIblJ','env','Reconfigure\x20your\x20deployed\x20applications','~/pm2.config.js','ssh.json','Remote\x20host\x20connection\x20successful','27671KCXUMB','join','pm2.config.js','readFileSync','toString','13884TMVbOW','search','117200moufEn','70985IJctlr','Checking\x20remote\x20host\x20availability','863602Omcmiy','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','maka\x20reconfig\x20--env\x20prod','uname\x20-a','pm2\x20delete\x20all','success','_keys','~/ses.json','(((.+)+)+)+$'];a83c=function(){return r;};return a83c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x15c;let f=c[d];return f;},a83d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':'reconfig','validOpts':[''],'requiredOpts':[a83p(0x164)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','isPro':!![],'shortDesc':a83p(0x165),'description':a83p(0x15c),'examples':[a83p(0x175)]},async function(a,b){const q=a83p;try{const c=this[q(0x181)][q(0x180)](b[q(0x164)]),d=a83f['join'](c,q(0x167)),f=a83e[q(0x16c)](d)['toString'](),g=JSON[q(0x184)](f);Object[q(0x183)](g,{'env':c}),Log[q(0x17e)](q(0x172));const h=SSH[q(0x161)](q(0x176),g);if(!h)throw q(0x174);if(h)Log[q(0x178)](q(0x168));const i=a83f[q(0x16a)](c,q(0x179),q(0x185));if(a83e['existsSync'](i)){const l={'source':i,'dest':q(0x17a),'verbose':!![]};SSH['scp'](l,{...g});}const j=a83f['join'](c,q(0x16b));SSH[q(0x17f)]({'source':j,'dest':q(0x166),'verbose':!![]},{...g});const k=a83f['join'](c,q(0x182));SSH[q(0x17f)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH['sshSync'](q(0x177),g),await SSH[q(0x17d)](q(0x15d),{...g},{'verbose':!![]});}catch(m){console[q(0x17c)](m),process[q(0x160)](0x0);}});
@@ -1 +1 @@
1
- function a84c(){var i=['636372BefpmD','7530QPARcY','1187HNuEuC','48529puJaao','2943uwuVvY','906ZMGXRK','4lAnwSw','search','14020YtfHox','55CZXFqy','820kUsnSD','770973VkrhEy','toString','8ZTLcWG','1095141ObRzfR','apply','2660rylChf','(((.+)+)+)+$'];a84c=function(){return i;};return a84c();}function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x101;var f=c[d];return f;},a84d(a,b);}(function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x101))/0x1*(-parseInt(f(0x109))/0x2)+-parseInt(f(0x10d))/0x3*(parseInt(f(0x105))/0x4)+-parseInt(f(0x107))/0x5*(parseInt(f(0x104))/0x6)+parseInt(f(0x10a))/0x7*(-parseInt(f(0x10c))/0x8)+parseInt(f(0x103))/0x9*(parseInt(f(0x112))/0xa)+parseInt(f(0x108))/0xb*(-parseInt(f(0x111))/0xc)+parseInt(f(0x102))/0xd*(parseInt(f(0x10f))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x43f9a));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x10b)]()[h(0x106)](h(0x110))['toString']()['constructor'](a84a)[h(0x106)](h(0x110));});a84a();import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0x1cc))/0x1+parseInt(f(0x1c1))/0x2+parseInt(f(0x1ca))/0x3+parseInt(f(0x1c7))/0x4+parseInt(f(0x1c3))/0x5+parseInt(f(0x1c2))/0x6+parseInt(f(0x1c0))/0x7*(-parseInt(f(0x1c5))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x48790));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x1c6)]()['search'](h(0x1c9))['toString']()[h(0x1cb)](a84a)[h(0x1c4)](h(0x1c9));});a84a();import'./run.command.js';function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x1c0;var f=c[d];return f;},a84d(a,b);}function a84c(){var i=['search','352zbsKyy','toString','1380932xSvjBn','apply','(((.+)+)+)+$','910461yTOPgM','constructor','459730WXipKS','260869oOWcdp','1031402irCaGF','539304khJRIA','1112805WDDDIu'];a84c=function(){return i;};return a84c();}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a85m=a85d;(function(a,b){const j=a85d,c=a();while(!![]){try{const d=-parseInt(j(0x10f))/0x1+parseInt(j(0x115))/0x2*(-parseInt(j(0x114))/0x3)+parseInt(j(0x107))/0x4+parseInt(j(0x11a))/0x5*(parseInt(j(0x112))/0x6)+parseInt(j(0x126))/0x7*(-parseInt(j(0x103))/0x8)+-parseInt(j(0x11c))/0x9+parseInt(j(0x113))/0xa*(parseInt(j(0x106))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xb2f60));function a85c(){const o=['templateContent','1864795yftDuz','config/docker-compose.yaml','11887515ORpJLN','toString','PM2\x20Config\x20File:\x20','exit','inherit','docker','\x20up\x20--remove-orphans','docker-compose\x20--project-directory\x20','existsSync','apply','1715YaZGoE','createFile','44984qHTzDL','create','http://localhost','2706yUOIiN','396820HALNMC','docker-compose.yaml','notice','maka\x20run\x20docker','getMakaProjectConfig','fsi','appName','join','1202006QQjrCo','search','Docker\x20Compose\x20Path:\x20','12dysNwr','204890wyyKLQ','3755751OtIRMH','2BFkoDc','(((.+)+)+)+$','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','getAppConfigPath'];a85c=function(){return o;};return a85c();}const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a85d;if(c){const e=c[k(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const l=a85d;return a85a[l(0x11d)]()[l(0x110)](l(0x116))['toString']()['constructor'](a85a)[l(0x110)](l(0x116));});a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import a85h from'open';import{Log}from'../../tools/log/log.class.js';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x102;let f=c[d];return f;},a85d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85m(0x104)]({'name':a85m(0x121),'aliases':['d'],'shortDesc':a85m(0x117),'description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':a85m(0x10a),'isPro':!![],'validOpts':['']},async function(){const n=a85m;try{const a=this[n(0x10c)][n(0x10b)](),b=this[n(0x10c)][n(0x118)](n(0x121)),c=a85f[n(0x10e)](b,n(0x108)),d=a85f['join'](b,'pm2.config.js');Log[n(0x109)](n(0x11e)+d),Log[n(0x109)](n(0x111)+c);if(!a85g[n(0x124)](c)){const f={'app':a[n(0x10d)],'appFileCase':paramCase(a[n(0x10d)])},g=this[n(0x10c)][n(0x119)]({'srcPath':n(0x11b),'context':f})+'\x0a';this[n(0x10c)][n(0x102)]({'filePath':c,'data':g});}try{await a85h(n(0x105));}catch(h){}execSync(n(0x123)+b+n(0x122),{'stdio':n(0x120)});}catch(i){process[n(0x11f)](0x1);}},a85e);
1
+ const a85m=a85d;(function(a,b){const j=a85d,c=a();while(!![]){try{const d=parseInt(j(0x171))/0x1*(-parseInt(j(0x175))/0x2)+parseInt(j(0x176))/0x3*(parseInt(j(0x178))/0x4)+parseInt(j(0x17e))/0x5*(parseInt(j(0x183))/0x6)+-parseInt(j(0x188))/0x7+parseInt(j(0x17f))/0x8*(parseInt(j(0x187))/0x9)+-parseInt(j(0x18c))/0xa+parseInt(j(0x189))/0xb*(parseInt(j(0x17a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xcd8c2));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a85d;if(c){const e=c[k(0x17b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const l=a85d;return a85a[l(0x18b)]()[l(0x18a)]('(((.+)+)+)+$')[l(0x18b)]()['constructor'](a85a)[l(0x18a)](l(0x173));});a85a();import a85e from'./run.command.js';function a85c(){const o=['search','toString','5726970qaIUXf','http://localhost','getMakaProjectConfig','fsi','createFile','292883yZrlKw','docker-compose.yaml','(((.+)+)+)+$','\x20up\x20--remove-orphans','4DHPlXH','165pwQsxJ','existsSync','52892LFxlRo','Docker\x20Compose\x20Path:\x20','36fGUxnF','apply','create','notice','5DMQylH','98456OINukK','pm2.config.js','appName','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','3726678svRzrx','getAppConfigPath','docker','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','279mWkMZx','11490353eTTuwE','7010553beVeZR'];a85c=function(){return o;};return a85c();}function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x171;let f=c[d];return f;},a85d(a,b);}import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import a85h from'open';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85m(0x17c)]({'name':a85m(0x185),'aliases':['d'],'shortDesc':a85m(0x182),'description':a85m(0x186),'usage':'maka\x20run\x20docker','isPro':!![],'validOpts':['']},async function(){const n=a85m;try{const a=this[n(0x18f)][n(0x18e)](),b=this[n(0x18f)][n(0x184)](n(0x185)),c=a85f['join'](b,n(0x172)),d=a85f['join'](b,n(0x180));Log['notice']('PM2\x20Config\x20File:\x20'+d),Log[n(0x17d)](n(0x179)+c);if(!a85g[n(0x177)](c)){const f={'app':a[n(0x181)],'appFileCase':paramCase(a['appName'])},g=this[n(0x18f)]['templateContent']({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this[n(0x18f)][n(0x190)]({'filePath':c,'data':g});}try{await a85h(n(0x18d));}catch(h){}execSync('docker-compose\x20--project-directory\x20'+b+n(0x174),{'stdio':'inherit'});}catch(i){process['exit'](0x1);}},a85e);
@@ -1 +1 @@
1
- function a86c(){const v=['production','port','797OoLSQx','process.env','length','--production','openSync','concat','constructor','20734JvhBqr','invokeMeteorCommand','isFile','filter','autoupdate','974268IcNDEP','--settings','checkMeteorPackage','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','214eehQBK','info','boolean','notice','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','fsi','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','8hzOFFl','inspect','create','1543041ajUrcA','app','toString','findProjectDirectory','3174660QVyubR','http://localhost:','createFile','(((.+)+)+)+$','env','allowIncompatibleUpdate','Node\x20Env\x20Config:\x20','rawLogs','splice','480XAOjEq','development','join','exit','web.browser.legacy','1278510ZTIndh','--env','split','--exclude-archs','isDirectory','slice','run','350217QdYOkU','getAppConfigPath','error','Meteor\x20Settings:\x20','mobileServer','local','Run\x20your\x20Meteor\x20application','excludeArchs','.meteor','settings','warn','forEach','config','search'];a86c=function(){return v;};return a86c();}const a86s=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0x136))/0x1*(parseInt(p(0x146))/0x2)+parseInt(p(0x126))/0x3+-parseInt(p(0x142))/0x4+parseInt(p(0x162))/0x5+parseInt(p(0x15d))/0x6*(parseInt(p(0x13d))/0x7)+parseInt(p(0x14d))/0x8*(parseInt(p(0x150))/0x9)+-parseInt(p(0x154))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x20d8a));const a86b=(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;};}()),a86a=a86b(this,function(){const q=a86d;return a86a[q(0x152)]()['search'](q(0x157))[q(0x152)]()[q(0x13c)](a86a)[q(0x133)](q(0x157));});a86a();import a86e from'path';import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a86h from'open';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x120;let f=c[d];return f;},a86d(a,b);}const syncSource=function(a){const r=a86d;a86f[r(0x13a)](a,'r'),a86g[r(0x132)]({'path':a});},Run=Command[a86s(0x14f)]({'name':a86s(0x125),'mustBeInMakaProject':!![],'shortDesc':a86s(0x12c),'description':a86s(0x145),'validOpts':[a86s(0x158),a86s(0x15b),a86s(0x135),a86s(0x14e),a86s(0x12a),'verbose',a86s(0x159),'extraPackages','x',a86s(0x12d),'production','ci']},async function(a,b){const t=a86s;try{await this[t(0x14b)][t(0x144)](t(0x141),{'shouldInstall':!![]});const c=a[0x0];if(c==='ios'){const l=this['fsi'][t(0x153)](),m=a86e[t(0x15f)](l,t(0x151),t(0x12e),t(0x12b),'cordova-build');this['fsi'][t(0x123)](m)&&await rimraf(m);}!b[t(0x12d)]&&!b['x']&&(a=a[t(0x13b)]([t(0x122),t(0x161)]));if(b['mobileServer']&&typeof b[t(0x12a)]===t(0x148))throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';const d=b['env']?b[t(0x158)]:t(0x15e),f=this['fsi'][t(0x127)](d),g=a86e[t(0x15f)](f,t(0x137));let h=a86e['join'](f,'settings.json');b[t(0x12f)]?h=b[t(0x12f)]:h=a86e[t(0x15f)](f,'settings.json');this[t(0x14b)][t(0x13f)](g)?(Log['notice'](t(0x15a)+g),syncSource(g)):(Log[t(0x147)](t(0x14a)+g),this['fsi'][t(0x156)]({'filePath':g,'data':''}));this[t(0x14b)][t(0x13f)](h)?(Log[t(0x149)](t(0x129)+h),a=a['concat']([t(0x143),h])):Log[t(0x130)](t(0x14c)+h);const i=f[t(0x121)](a86e['sep']),j=i[i[t(0x138)]-0x1];j===t(0x134)&&a['push'](t(0x139));const k=process['argv'][t(0x124)](0x2)[t(0x140)](n=>n!==t(0x125))[t(0x140)](n=>n!==a[0x0]);k[t(0x131)]((n,o)=>{const u=t;n===u(0x120)&&k[u(0x15c)](o,0x2),n==='-e'&&k[u(0x15c)](o,0x2);});try{c!=='ios'&&c!=='android'&&await a86h(t(0x155)+(b[t(0x135)]||0xbb8));}catch(n){}this[t(0x14b)][t(0x13e)](t(0x125),a[t(0x13b)](k));}catch(o){Log[t(0x128)](o),process[t(0x160)](0x1);}});export default Run;
1
+ const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=parseInt(p(0x80))/0x1+-parseInt(p(0x89))/0x2+-parseInt(p(0xa0))/0x3*(parseInt(p(0xa8))/0x4)+-parseInt(p(0xad))/0x5+parseInt(p(0x94))/0x6+parseInt(p(0xa2))/0x7*(parseInt(p(0xa5))/0x8)+-parseInt(p(0xa1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x9c8b3));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x8d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a[r(0xb2)]()[r(0x8b)](r(0x9f))[r(0xb2)]()['constructor'](a86a)['search']('(((.+)+)+)+$');});a86a();function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x7b;let f=c[d];return f;},a86d(a,b);}function a86c(){const w=['settings.json','mobileServer','getAppConfigPath','allowIncompatibleUpdate','verbose','boolean','createFile','info','findProjectDirectory','(((.+)+)+)+$','3apwXIi','5075991LJnrAM','7dyKBMC','run','http://localhost:','5889912uDvfcX','openSync','exit','4403008fOzRmL','slice','error','argv','settings','2286475tVIPGA','filter','autoupdate','notice','extraPackages','toString','excludeArchs','isDirectory','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','join','ios','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','--production','config','split','905199QKYpUd','local','invokeMeteorCommand','concat','web.browser.legacy','Meteor\x20Settings:\x20','fsi','Run\x20your\x20Meteor\x20application','port','115742hafjeI','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','search','splice','apply','--exclude-archs','create','forEach','app','env','production','7078092DHJYiu','sep'];a86c=function(){return w;};return a86c();}import a86e from'path';import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a86h from'open';const syncSource=function(a){const s=a86d;a86f[s(0xa6)](a,'r'),a86g[s(0x7e)]({'path':a});},Run=Command[a86t(0x8f)]({'name':a86t(0xa3),'mustBeInMakaProject':!![],'shortDesc':a86t(0x87),'description':a86t(0x7c),'validOpts':[a86t(0x92),'rawLogs',a86t(0x88),'inspect',a86t(0x97),a86t(0x9a),a86t(0x99),a86t(0xb1),'x','excludeArchs','production','ci']},async function(a,b){const u=a86t;try{await this[u(0x86)]['checkMeteorPackage'](u(0xaf),{'shouldInstall':!![]});const c=a[0x0];if(c===u(0xb7)){const l=this[u(0x86)][u(0x9e)](),m=a86e[u(0xb6)](l,u(0x91),'.meteor',u(0x81),'cordova-build');this[u(0x86)][u(0xb4)](m)&&await rimraf(m);}!b[u(0xb3)]&&!b['x']&&(a=a[u(0x83)]([u(0x8e),u(0x84)]));if(b[u(0x97)]&&typeof b['mobileServer']===u(0x9b))throw u(0x7b);const d=b[u(0x92)]?b['env']:'development',f=this[u(0x86)][u(0x98)](d),g=a86e[u(0xb6)](f,'process.env');let h=a86e['join'](f,u(0x96));b[u(0xac)]?h=b[u(0xac)]:h=a86e[u(0xb6)](f,u(0x96));this[u(0x86)]['isFile'](g)?(Log['notice']('Node\x20Env\x20Config:\x20'+g),syncSource(g)):(Log[u(0x9d)](u(0x8a)+g),this[u(0x86)][u(0x9c)]({'filePath':g,'data':''}));this[u(0x86)]['isFile'](h)?(Log[u(0xb0)](u(0x85)+h),a=a[u(0x83)](['--settings',h])):Log['warn'](u(0xb5)+h);const i=f[u(0x7f)](a86e[u(0x95)]),j=i[i['length']-0x1];j===u(0x93)&&a['push'](u(0x7d));const k=process[u(0xab)][u(0xa9)](0x2)[u(0xae)](n=>n!=='run')[u(0xae)](n=>n!==a[0x0]);k[u(0x90)]((n,o)=>{const v=u;n==='--env'&&k[v(0x8c)](o,0x2),n==='-e'&&k[v(0x8c)](o,0x2);});try{c!==u(0xb7)&&c!=='android'&&await a86h(u(0xa4)+(b['port']||0xbb8));}catch(n){}this['fsi'][u(0x82)]('run',a['concat'](k));}catch(o){Log[u(0xaa)](o),process[u(0xa7)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a87d,c=a();while(!![]){try{var d=-parseInt(f(0xca))/0x1*(-parseInt(f(0xc7))/0x2)+parseInt(f(0xce))/0x3*(-parseInt(f(0xd5))/0x4)+-parseInt(f(0xcd))/0x5+-parseInt(f(0xc9))/0x6*(-parseInt(f(0xd2))/0x7)+-parseInt(f(0xd0))/0x8+-parseInt(f(0xcb))/0x9*(-parseInt(f(0xd4))/0xa)+-parseInt(f(0xcc))/0xb*(-parseInt(f(0xd3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x92ba6));function a87c(){var i=['137910mNXQWo','5nIqsLx','8730AikkCU','30272egMsfL','5346595dAWIYs','111597yrJbzH','(((.+)+)+)+$','4135112BCJwPc','search','266qGVACE','1044hGPVuZ','12310lSDpoR','68UcbPdD','205066cXjDZY','apply'];a87c=function(){return i;};return a87c();}var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a['toString']()[h(0xd1)](h(0xcf))['toString']()['constructor'](a87a)[h(0xd1)](h(0xcf));});a87a();function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xc7;var f=c[d];return f;},a87d(a,b);}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x108;var f=c[d];return f;},a87d(a,b);}(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0x114))/0x1+parseInt(f(0x108))/0x2*(-parseInt(f(0x110))/0x3)+-parseInt(f(0x10f))/0x4+parseInt(f(0x10c))/0x5+parseInt(f(0x10e))/0x6+-parseInt(f(0x111))/0x7+parseInt(f(0x112))/0x8*(-parseInt(f(0x109))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x8fdf1));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var g=a87d;return a87a[g(0x10d)]()['search'](g(0x10a))['toString']()[g(0x113)](a87a)[g(0x10b)](g(0x10a));});a87a();function a87c(){var h=['3648180bQIkJo','904600JPtfMM','2656707DqqrQM','1116367mbXSim','733168EpGeMu','constructor','689700vOaBwX','2bpBsDb','27QchoQB','(((.+)+)+)+$','search','4188525lZiftc','toString'];a87c=function(){return h;};return a87c();}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x192;let f=c[d];return f;},a88d(a,b);}const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0x1c1))/0x1+parseInt(h(0x193))/0x2*(-parseInt(h(0x195))/0x3)+parseInt(h(0x197))/0x4*(-parseInt(h(0x1b3))/0x5)+parseInt(h(0x1a3))/0x6+parseInt(h(0x19c))/0x7*(-parseInt(h(0x1ae))/0x8)+-parseInt(h(0x1c2))/0x9*(-parseInt(h(0x1af))/0xa)+parseInt(h(0x1ab))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x5bd27));function a88c(){const m=['boolean','fsi','toString','437234RRlPGC','Set\x20workspace:\x20','resolve','openai','constructor','exit','maka\x20set:gc\x20--insecure\x20<path>','2398860xgRJPM','One\x20or\x20the\x20other\x20buddy','setGlobalConfig','disallowInsecure','global-config','maka\x20set:global-config','light','create','8443743pxrVpr','Could\x20not\x20find\x20directory','Set\x20CA\x20Cert\x20Path:\x20','8IgIgKk','10dtXIYi','workspace','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','apply','502205cgsGhv','Set\x20color\x20pallet\x20to:\x20','success','isDirectory','Set\x20global\x20Maka-CLI\x20settings','maka\x20set:gc\x20--workspace\x20<path>','allowInsecure','help','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','Set\x20OpenAI\x20Key:\x20','Set\x20allowInsecure:\x20','cacert','(((.+)+)+)+$','pallet','508586jVshyu','6444927GmuitT','dark','15788nRGWJN','error','165sYntJC','search','20NMNsok','maka\x20set:global-config\x20--cacert\x20<path>'];a88c=function(){return m;};return a88c();}const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x19b)]()[j(0x196)](j(0x1bf))[j(0x19b)]()[j(0x1a0)](a88a)[j(0x196)](j(0x1bf));});a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a88k(0x1aa)]({'name':a88k(0x1a7),'usage':a88k(0x1a8),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x1be),'boolFlag':![]},{'name':a88k(0x1b9),'boolFlag':!![]},{'name':a88k(0x1a6),'boolFlag':!![]},{'name':'workspace','boolFlag':![]},{'name':a88k(0x19f),'boolFlag':![]},{'name':a88k(0x1ba),'boolFlag':!![]},{'name':a88k(0x1c0),'values':[a88k(0x1a9),a88k(0x192)]}],'shortDesc':a88k(0x1b7),'description':a88k(0x1b1),'examples':[a88k(0x198),a88k(0x1a2),a88k(0x1b8)]},async function(a,b){const l=a88k;try{if(b[l(0x1be)]){if(this[l(0x19a)]['isFile'](b[l(0x1be)]))await this[l(0x19a)]['setGlobalConfig']({'cert':b[l(0x1be)]}),Log[l(0x1b5)](l(0x1ad)+b[l(0x1be)]);else{const c=typeof b[l(0x1be)]===l(0x199)?l(0x1bb):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0x1be)];throw Log[l(0x194)](c);}}if(b['workspace']){const d=this[l(0x19a)][l(0x1b6)](b[l(0x1b0)]);if(d)await this[l(0x19a)]['setGlobalConfig']({'workspace':a88e[l(0x19e)](b[l(0x1b0)])}),Log[l(0x1b5)](l(0x19d)+a88e['resolve'](b[l(0x1b0)]));else throw Log['error'](l(0x1ac));}b['openai']&&(await this[l(0x19a)][l(0x1a5)]({'openai':b[l(0x19f)]}),Log[l(0x1b5)](l(0x1bc)+b[l(0x19f)]));b[l(0x1c0)]&&(await this[l(0x19a)][l(0x1a5)]({'pallet':b[l(0x1c0)]}),Log[l(0x1b5)](l(0x1b4)+b['pallet']));if(b[l(0x1b9)]){if(b['allowInsecure']&&b[l(0x1a6)])throw Log[l(0x194)](l(0x1a4));let f=b[l(0x1b9)];b[l(0x1a6)]&&(f=![]),await this[l(0x19a)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0x1b5)](l(0x1bd)+f);}process[l(0x1a1)](0x0);}catch(g){console[l(0x194)](g),process[l(0x1a1)](0x0);}},a88f);
1
+ const a88k=a88d;function a88c(){const m=['success','Set\x20workspace:\x20','(((.+)+)+)+$','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','workspace','light','3145zgsakb','dark','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','44OPZTqU','resolve','fsi','apply','maka\x20set:gc\x20--workspace\x20<path>','4090fzeMqg','516qKqkBl','pallet','411212mCLscT','7070ENHEWH','help','Set\x20global\x20Maka-CLI\x20settings','disallowInsecure','maka\x20set:global-config\x20--cacert\x20<path>','setGlobalConfig','exit','maka\x20set:global-config','9iqbble','941570JxWWJS','error','57mGdAVn','search','maka\x20set:gc\x20--insecure\x20<path>','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','allowInsecure','687228aKwwhl','openai','1576GIrddf','constructor','cacert','One\x20or\x20the\x20other\x20buddy','Set\x20allowInsecure:\x20','isFile','Set\x20color\x20pallet\x20to:\x20','isDirectory','314009UqJxGD'];a88c=function(){return m;};return a88c();}(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0x1db))/0x1+-parseInt(h(0x1ea))/0x2*(-parseInt(h(0x1cc))/0x3)+parseInt(h(0x1ed))/0x4+parseInt(h(0x1e2))/0x5*(parseInt(h(0x1eb))/0x6)+-parseInt(h(0x1ee))/0x7*(-parseInt(h(0x1d3))/0x8)+parseInt(h(0x1c9))/0x9*(-parseInt(h(0x1ca))/0xa)+parseInt(h(0x1e5))/0xb*(parseInt(h(0x1d1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x34a50));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a['toString']()[j(0x1cd)](j(0x1de))['toString']()[j(0x1d4)](a88a)[j(0x1cd)]('(((.+)+)+)+$');});a88a();import a88e from'path';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1c6;let f=c[d];return f;},a88d(a,b);}import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'global-config','usage':a88k(0x1c8),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x1d5),'boolFlag':![]},{'name':a88k(0x1d0),'boolFlag':!![]},{'name':a88k(0x1f1),'boolFlag':!![]},{'name':a88k(0x1e0),'boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':a88k(0x1ef),'boolFlag':!![]},{'name':'pallet','values':[a88k(0x1e1),a88k(0x1e3)]}],'shortDesc':a88k(0x1f0),'description':a88k(0x1df),'examples':[a88k(0x1f2),a88k(0x1ce),a88k(0x1e9)]},async function(a,b){const l=a88k;try{if(b[l(0x1d5)]){if(this['fsi'][l(0x1d8)](b['cacert']))await this[l(0x1e7)][l(0x1c6)]({'cert':b[l(0x1d5)]}),Log[l(0x1dc)]('Set\x20CA\x20Cert\x20Path:\x20'+b['cacert']);else{const c=typeof b[l(0x1d5)]==='boolean'?l(0x1cf):l(0x1e4)+b['cacert'];throw Log[l(0x1cb)](c);}}if(b[l(0x1e0)]){const d=this['fsi'][l(0x1da)](b[l(0x1e0)]);if(d)await this[l(0x1e7)][l(0x1c6)]({'workspace':a88e['resolve'](b['workspace'])}),Log[l(0x1dc)](l(0x1dd)+a88e[l(0x1e6)](b[l(0x1e0)]));else throw Log['error']('Could\x20not\x20find\x20directory');}b[l(0x1d2)]&&(await this['fsi'][l(0x1c6)]({'openai':b[l(0x1d2)]}),Log['success']('Set\x20OpenAI\x20Key:\x20'+b[l(0x1d2)]));b[l(0x1ec)]&&(await this[l(0x1e7)][l(0x1c6)]({'pallet':b[l(0x1ec)]}),Log[l(0x1dc)](l(0x1d9)+b[l(0x1ec)]));if(b[l(0x1d0)]){if(b['allowInsecure']&&b[l(0x1f1)])throw Log[l(0x1cb)](l(0x1d6));let f=b[l(0x1d0)];b['disallowInsecure']&&(f=![]),await this[l(0x1e7)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0x1dc)](l(0x1d7)+f);}process['exit'](0x0);}catch(g){console[l(0x1cb)](g),process[l(0x1c7)](0x0);}},a88f);
@@ -1 +1 @@
1
- var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x12b))/0x1+parseInt(f(0x129))/0x2*(parseInt(f(0x12f))/0x3)+parseInt(f(0x12c))/0x4+-parseInt(f(0x128))/0x5+parseInt(f(0x12d))/0x6+parseInt(f(0x131))/0x7+parseInt(f(0x134))/0x8*(-parseInt(f(0x136))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x9ad42));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a['toString']()[h(0x133)]('(((.+)+)+)+$')[h(0x130)]()[h(0x132)](a89a)[h(0x133)](h(0x138));});a89a();import a89e from'./set.command.js';function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x128;var f=c[d];return f;},a89d(a,b);}function a89c(){var k=['constructor','search','136dPWqbp','notice','541521bUucYR','maka\x20set:local-config','(((.+)+)+)+$','2393085NXvyHW','473752fdFtyY','create','106932tYAAQt','4747528pXpZjo','2897874Ddelck','apply','6LtbWUK','toString','692909hXUZva'];a89c=function(){return k;};return a89c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89i(0x12a)]({'name':'local-config','usage':a89i(0x137),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a89i;Log[j(0x135)]('Sorry,\x20not\x20implemented\x20yet');},a89e);
1
+ var a89h=a89d;function a89c(){var j=['search','constructor','local-config','notice','3387280TkAKFU','2193256RKUUcd','maka\x20set:local-config','10246761WeIWgj','580697yaOmIg','1046616aStXSO','Sorry,\x20not\x20implemented\x20yet','3981288TQBrdr','(((.+)+)+)+$','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','create','Set\x20local\x20maka\x20app\x20settings','1743532eKXQNL'];a89c=function(){return j;};return a89c();}(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x98))/0x1+-parseInt(f(0x95))/0x2+parseInt(f(0x99))/0x3+parseInt(f(0x8f))/0x4+-parseInt(f(0x94))/0x5+parseInt(f(0x9b))/0x6+parseInt(f(0x97))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x88121));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var g=a89d;return a89a['toString']()[g(0x90)]('(((.+)+)+)+$')['toString']()[g(0x91)](a89a)['search'](g(0x9c));});a89a();function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x8e;var f=c[d];return f;},a89d(a,b);}import a89e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89h(0x9e)]({'name':a89h(0x92),'usage':a89h(0x96),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89h(0x8e),'validOpts':[],'description':a89h(0x9d)},async function(){var i=a89h;Log[i(0x93)](i(0x9a));},a89e);
@@ -1 +1 @@
1
- const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0xb9))/0x1+parseInt(f(0xb3))/0x2+-parseInt(f(0xb8))/0x3+parseInt(f(0xb1))/0x4+-parseInt(f(0xbd))/0x5*(-parseInt(f(0xb6))/0x6)+-parseInt(f(0xbb))/0x7+parseInt(f(0xb5))/0x8*(-parseInt(f(0xb2))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x8b51d));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0xbe)]()[h(0xb7)](h(0xc1))['toString']()[h(0xc0)](a90a)[h(0xb7)](h(0xc1));});function a90c(){const k=['3231255IvYkJD','891602uMBJzu','create','5396153ZfaBcd','apply','2427405ydvzxx','toString','runSubCommand','constructor','(((.+)+)+)+$','findSubCommand','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','1865548cXqJla','45702ugGFYE','2165894rmzdWn','set','800ESLAnF','6YIXyWP','search'];a90c=function(){return k;};return a90c();}a90a();import{Command}from'../../command.js';const SetCommand=Command[a90i(0xba)]({'name':a90i(0xb4),'usage':'maka\x20set:<sub-command>','shortDesc':a90i(0xb0),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0xc2)](c);d&&this[j(0xbf)](c,a,b);});function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xb0;let f=c[d];return f;},a90d(a,b);}export default SetCommand;
1
+ const a90h=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0xf5))/0x1+-parseInt(f(0xfa))/0x2*(parseInt(f(0xeb))/0x3)+-parseInt(f(0xf7))/0x4*(-parseInt(f(0xec))/0x5)+-parseInt(f(0xf3))/0x6+parseInt(f(0xf4))/0x7+parseInt(f(0xef))/0x8+parseInt(f(0xf1))/0x9*(parseInt(f(0xe9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x3929e));const a90b=(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;};}()),a90a=a90b(this,function(){const g=a90d;return a90a[g(0xf6)]()['search'](g(0xed))['toString']()['constructor'](a90a)[g(0xf0)]('(((.+)+)+)+$');});function a90c(){const j=['118928TjrjeQ','search','9raKRoO','maka\x20set:<sub-command>','2134668mOxLqa','2730875kaGrdE','71948FXFUjY','toString','4lnUtyB','runSubCommand','set','6muuBws','2011970gluYLH','create','104721HNPMeP','82525TBNMNh','(((.+)+)+)+$','findSubCommand'];a90c=function(){return j;};return a90c();}function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xe9;let f=c[d];return f;},a90d(a,b);}a90a();import{Command}from'../../command.js';const SetCommand=Command[a90h(0xea)]({'name':a90h(0xf9),'usage':a90h(0xf2),'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const i=a90h,c=a[0x0],d=this[i(0xee)](c);d&&this[i(0xf8)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a91m=a91d;function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xac;let f=c[d];return f;},a91d(a,b);}(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0xca))/0x1+parseInt(j(0xc9))/0x2+parseInt(j(0xc0))/0x3*(parseInt(j(0xac))/0x4)+parseInt(j(0xc8))/0x5+parseInt(j(0xc4))/0x6+parseInt(j(0xad))/0x7*(-parseInt(j(0xae))/0x8)+-parseInt(j(0xb7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x60846));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0xbb)]()[l(0xc3)](l(0xb4))['toString']()[l(0xb6)](a91a)[l(0xc3)](l(0xb4));});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';function a91c(){const o=['580251BEERiv','ssh.json','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','search','630396NgoIEc','create','readFileSync','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','3655950fsyZNd','782472izMhOA','359661ZbPeLE','maka\x20ssh\x20--env\x20prod','12oeNtOf','11039kwUcZx','3272SiJrPC','ssh','verbose','join','parse','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','(((.+)+)+)+$','fsi','constructor','3669795MvyVJO','maka\x20ssh\x20<command>','maka\x20ssh\x20--env\x20dev','apply','toString','maka\x20ssh\x20--env\x20staging','env','length','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22'];a91c=function(){return o;};return a91c();}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0xc5)]({'name':a91m(0xaf),'usage':a91m(0xb8),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0xbd)],'validOpts':['env',a91m(0xb0)],'isPro':!![],'shortDesc':a91m(0xb3),'examples':[a91m(0xb9),a91m(0xbc),a91m(0xcb),a91m(0xc7),a91m(0xbf),a91m(0xc2)]},async function(a,b){const n=a91m;try{const c=this[n(0xb5)]['getAppConfigPath'](b[n(0xbd)]);let d='';a[n(0xbe)]>0x0&&(d=a[0x0]);const f=a91f[n(0xb1)](c,n(0xc1)),g=a91e[n(0xc6)](f)[n(0xbb)](),h=JSON[n(0xb2)](g);Object['assign'](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['verbose']});}catch(i){Log['error'](i),process['exit'](0x1);}});
1
+ const a91m=a91d;function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xeb;let f=c[d];return f;},a91d(a,b);}(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0xf7))/0x1*(-parseInt(j(0x110))/0x2)+-parseInt(j(0xf0))/0x3+parseInt(j(0x105))/0x4+-parseInt(j(0x102))/0x5*(parseInt(j(0xef))/0x6)+parseInt(j(0xf5))/0x7*(-parseInt(j(0xfb))/0x8)+parseInt(j(0x10a))/0x9*(parseInt(j(0x103))/0xa)+parseInt(j(0xfc))/0xb*(parseInt(j(0x10d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x36735));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x10c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0xf3)]()[l(0xf4)](l(0x109))['toString']()[l(0x104)](a91a)[l(0xf4)](l(0x109));});a91a();import a91e from'fs';function a91c(){const o=['1JlNGNu','assign','readFileSync','create','3039416SgAHdc','55SkMOkk','ssh','getAppConfigPath','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','parse','error','2105EItzoZ','220930ewRzDw','constructor','1041988cuwsnX','verbose','exit','join','(((.+)+)+)+$','45lxxxug','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','apply','291708NqPXci','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20dev','793522DUgLjk','env','ssh.json','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','sshSync','2442bDhEwK','344895mPQpNz','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20<command>','toString','search','7lLBnFt','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.'];a91c=function(){return o;};return a91c();}import a91f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0xfa)]({'name':a91m(0xfd),'usage':a91m(0xf2),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0xeb)],'validOpts':[a91m(0xeb),a91m(0x106)],'isPro':!![],'shortDesc':a91m(0xf6),'examples':[a91m(0x10f),a91m(0xf1),a91m(0x10e),a91m(0xed),a91m(0x10b),a91m(0xff)]},async function(a,b){const n=a91m;try{const c=this['fsi'][n(0xfe)](b['env']);let d='';a['length']>0x0&&(d=a[0x0]);const f=a91f[n(0x108)](c,n(0xec)),g=a91e[n(0xf9)](f)[n(0xf3)](),h=JSON[n(0x100)](g);Object[n(0xf8)](h,{'env':c}),SSH[n(0xee)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['verbose']});}catch(i){Log[n(0x101)](i),process[n(0x107)](0x1);}});
@@ -1 +1 @@
1
- const a92y=a92d;function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xd9;let f=c[d];return f;},a92d(a,b);}(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0x111))/0x1*(-parseInt(v(0xe0))/0x2)+parseInt(v(0xf5))/0x3+-parseInt(v(0xe8))/0x4+parseInt(v(0xec))/0x5+-parseInt(v(0xfb))/0x6*(-parseInt(v(0xed))/0x7)+-parseInt(v(0xfc))/0x8+-parseInt(v(0x108))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xad58e));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0xda)]()[x(0x105)](x(0x100))[x(0xda)]()[x(0xe4)](a92a)[x(0x105)](x(0x100));});a92a();import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';function a92c(){const A=['letsencrypt.json','.key','notice','3553336yAytvD','ssl','domains','ask','4767380ymPmlb','7QHgpYx','env','uname\x20-a','create','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','success','mkKeysDir','4053312mdVIAb','\x20--email\x20','domainNames','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','New\x20CSR\x20written\x20to\x20','apply','2490660uSFtrj','2420944PxSRPe','genCSR','Please\x20provide\x20a\x20command.','getMakaProjectConfig','(((.+)+)+)+$','appName','letsencrypt','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','search','maka\x20ssl\x20--env\x20dev\x20generate-csr','.csr','4554441dgbqeg','email','existsSync','start','[?]\x20Domains\x20to\x20register:\x20','ping','stringify','genSSC','Create\x20and\x20manage\x20your\x20SSL\x20operations.','312659yyQrMi','assign','Remote\x20host\x20connection\x20successful','fsi','exit','toString','writeFileSync','ssh','getAppConfigPath','/ssh.json','join','2SzXMah','maka\x20ssl\x20[command]','parse','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','constructor'];a92c=function(){return A;};return a92c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0xf0)]({'name':a92y(0xe9),'usage':a92y(0xe1),'validOpts':['domains',a92y(0x109)],'requiredOpts':['env'],'shortDesc':a92y(0x110),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92y(0x106),a92y(0xf8),a92y(0xf2)]},async function(a,b){const z=a92y,c=this[z(0x114)][z(0xff)](),d=this['fsi'][z(0xdd)](b[z(0xee)]),f=this['fsi'][z(0xf4)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0xfd)]({'keyName':c[z(0x101)]+z(0xe6),'csrName':c[z(0x101)]+z(0x107),'cwd':f});else{if(g==='generate-ssc'){if(!a92e['existsSync'](a92f['join'](f,c['appName']+z(0xe6))))throw z(0xe3)+a92f[z(0xdf)](f,c[z(0x101)]+z(0xe6));if(!a92e[z(0x10a)](a92f[z(0xdf)](f,c[z(0x101)]+z(0x107))))throw z(0xf1)+a92f[z(0xdf)](f,c[z(0x101)]+z(0x107));SSL[z(0x10f)]({'keyName':c['appName']+'.key','crtName':c[z(0x101)]+'.crt','cwd':f}),Log[z(0xe7)](z(0xf9)+f);}else{if(g===z(0x102)){let h=b['domains'],i=b[z(0x109)];try{const p=a92e['readFileSync'](a92f['join'](d,'letsencrypt.json'))[z(0xda)](),q=JSON[z(0xe2)](p);h=b[z(0xea)]?b[z(0xea)]:q[z(0xf7)],i=b[z(0x109)]?b[z(0x109)]:q['emailUpdate'],(!b[z(0x109)]||!b['domains'])&&Log['notice']('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON[z(0xe2)](a92e['readFileSync'](d+z(0xde))[z(0xda)]());Object[z(0x112)](j,{'env':d}),Log[z(0xe7)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0x10d)](z(0xef),j);if(!s)throw z(0x103);if(s)Log[z(0xf3)](z(0x113));}catch(t){Log['error'](t);return;}const k=Log['withSpinner']();k[z(0x10b)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0xdc)]('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH[z(0xdc)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH[z(0xdc)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[z(0xf3)]();const l=h?h:await Actions[z(0xeb)](z(0x10c)),m=i?i:await Actions['ask']('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0xdc)](z(0x104)+l+z(0xf6)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x10e)](n,null,0x2);a92e[z(0xdb)](a92f['join'](d,z(0xe5)),o);}else throw z(0xfe);}}}catch(u){console['error'](u),process[z(0xd9)](0x0);}});
1
+ const a92x=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0x15d))/0x1*(parseInt(v(0x16b))/0x2)+parseInt(v(0x168))/0x3+-parseInt(v(0x163))/0x4+parseInt(v(0x151))/0x5*(-parseInt(v(0x13d))/0x6)+parseInt(v(0x14c))/0x7*(-parseInt(v(0x152))/0x8)+parseInt(v(0x161))/0x9+parseInt(v(0x16f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xbe227));const a92b=(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;};}()),a92a=a92b(this,function(){const w=a92d;return a92a[w(0x169)]()['search'](w(0x15b))['toString']()['constructor'](a92a)[w(0x179)](w(0x15b));});a92a();function a92c(){const z=['Please\x20provide\x20a\x20command.','Email\x20to\x20use\x20for\x20auto-updates:\x20','20thzkHk','703272yfItgD','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','start','uname\x20-a','Create\x20and\x20manage\x20your\x20SSL\x20operations.','getMakaProjectConfig','sudo\x20snap\x20install\x20--classic\x20certbot','ssl','.csr','(((.+)+)+)+$','ask','21625yIeUEk','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','mkKeysDir','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','993762StkFAc','domains','2260744qxApve','stringify','generate-csr','maka\x20ssl\x20--env\x20dev\x20generate-csr','writeFileSync','4103286FupFOU','toString','genCSR','70huWTCs','Using\x20saved\x20letsencrypt\x20config','exit','.crt','6259080CodURp','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','.key','success','existsSync','fsi','email','\x20--email\x20','appName','withSpinner','search','Remote\x20host\x20connection\x20successful','generate-ssc','ping','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','1484298OqpBVu','env','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','New\x20CSR\x20written\x20to\x20','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','assign','letsencrypt','ssh','emailUpdate','readFileSync','maka\x20ssl\x20[command]','[?]\x20Domains\x20to\x20register:\x20','domainNames','parse','join','42mFLBSI','error','letsencrypt.json'];a92c=function(){return z;};return a92c();}function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x139;let f=c[d];return f;},a92d(a,b);}import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':a92x(0x159),'usage':a92x(0x147),'validOpts':['domains',a92x(0x175)],'requiredOpts':[a92x(0x13e)],'shortDesc':a92x(0x156),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92x(0x166),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a92x(0x13c)]},async function(a,b){const y=a92x,c=this[y(0x174)][y(0x157)](),d=this[y(0x174)]['getAppConfigPath'](b[y(0x13e)]),f=this[y(0x174)][y(0x15f)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x165))SSL[y(0x16a)]({'keyName':c['appName']+y(0x171),'csrName':c[y(0x177)]+y(0x15a),'cwd':f});else{if(g===y(0x13a)){if(!a92e[y(0x173)](a92f[y(0x14b)](f,c['appName']+y(0x171))))throw y(0x141)+a92f[y(0x14b)](f,c['appName']+'.key');if(!a92e['existsSync'](a92f['join'](f,c[y(0x177)]+y(0x15a))))throw y(0x13f)+a92f[y(0x14b)](f,c[y(0x177)]+'.csr');SSL['genSSC']({'keyName':c[y(0x177)]+y(0x171),'crtName':c[y(0x177)]+y(0x16e),'cwd':f}),Log['notice'](y(0x140)+f);}else{if(g===y(0x143)){let h=b['domains'],i=b[y(0x175)];try{const p=a92e[y(0x146)](a92f[y(0x14b)](d,'letsencrypt.json'))['toString'](),q=JSON[y(0x14a)](p);h=b[y(0x162)]?b['domains']:q[y(0x149)],i=b[y(0x175)]?b[y(0x175)]:q[y(0x145)],(!b['email']||!b[y(0x162)])&&Log['notice'](y(0x16c));}catch(r){}const j=JSON[y(0x14a)](a92e[y(0x146)](d+'/ssh.json')[y(0x169)]());Object[y(0x142)](j,{'env':d}),Log['notice']('Checking\x20remote\x20host\x20availability');try{const s=SSH[y(0x13b)](y(0x155),j);if(!s)throw y(0x153);if(s)Log[y(0x172)](y(0x139));}catch(t){Log['error'](t);return;}const k=Log[y(0x178)]();k[y(0x154)]('Verifying\x20Letsencrypt\x20configuration'),SSH[y(0x144)](y(0x15e),{...j}),SSH[y(0x144)](y(0x158),{...j}),SSH[y(0x144)](y(0x160),{...j}),k[y(0x172)]();const l=h?h:await Actions['ask'](y(0x148)),m=i?i:await Actions[y(0x15c)](y(0x150));SSH[y(0x144)](y(0x170)+l+y(0x176)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[y(0x164)](n,null,0x2);a92e[y(0x167)](a92f['join'](d,y(0x14e)),o);}else throw y(0x14f);}}}catch(u){console[y(0x14d)](u),process[y(0x16d)](0x0);}});
@@ -1 +1 @@
1
- function a93c(){const t=['notice','constructor','--full-app','create','--packages','748917uSTqZX','warn','error','--settings','argv','exit','once','Node\x20Env\x20Config:\x20','development','1386128ojfaDI','invokeMeteorCommand','utf8','unit','fsi','(((.+)+)+)+$','--driver-package','driver','none','settings.json','inspect','187cTlCoo','sanjo:jasmine','8947368Yxmcbm','8rLCBNO','slice','156890ogtkBq','search','port','process.env','maka\x20test\x20<opts>','Meteor\x20Settings:\x20','toString','1273557Elixod','getAppConfigPath','config.json','openSync','forEach','env','mocha','811926BZtrGF','filter','7rCAXLv','apply','splice','test','driver-package','.maka','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','testAppPath','isFile','engines','2575eBPTfF','driverPackage','join','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','17076gzvFtf','meteortesting:mocha','--driver','concat'];a93c=function(){return t;};return a93c();}const a93q=a93d;function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1dc;let f=c[d];return f;},a93d(a,b);}(function(a,b){const m=a93d,c=a();while(!![]){try{const d=parseInt(m(0x201))/0x1+-parseInt(m(0x20a))/0x2+parseInt(m(0x1e0))/0x3*(parseInt(m(0x218))/0x4)+-parseInt(m(0x1f3))/0x5*(parseInt(m(0x1f8))/0x6)+-parseInt(m(0x1e9))/0x7*(-parseInt(m(0x217))/0x8)+-parseInt(m(0x1e7))/0x9+parseInt(m(0x21a))/0xa*(parseInt(m(0x215))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xb33a9));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a[o(0x1df)]()[o(0x21b)](o(0x20f))['toString']()[o(0x1fd)](a93a)['search'](o(0x20f));});a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a93d;a93e[p(0x1e3)](a,'r'),a93g['config']({'path':a});};Command[a93q(0x1ff)]({'name':a93q(0x1ec),'mustBeInMakaProject':!![],'validOpts':[a93q(0x207),'packages',a93q(0x211),a93q(0x1f4),'unit',a93q(0x1e5),'rawLogs',a93q(0x21c),a93q(0x214),a93q(0x1f0)],'usage':a93q(0x1dd),'shortDesc':a93q(0x1f7),'examples':[]},function(a,b){const r=a93q;try{let c=this[r(0x20e)]['getAppConfigPath'](r(0x209));b[r(0x1e5)]&&(c=this['fsi'][r(0x1e1)](b[r(0x1e5)]));(!b[r(0x20d)]||!!b[r(0x207)])&&(a=a[r(0x1fb)]([r(0x1fe)]));b[r(0x20d)]&&delete b[r(0x20d)];let d=b[r(0x1ed)]||b[r(0x211)]||r(0x212);if(d==='none'){const j=JSON['parse'](a93e['readFileSync'](a93f[r(0x1f5)](this['fsi']['findProjectDirectory'](),r(0x1ee),r(0x1e2)),r(0x20c)));if(j[r(0x1f2)][r(0x1ec)]==='jasmine')d=r(0x216);else j[r(0x1f2)][r(0x1ec)]===r(0x1e6)&&(d=r(0x1f9));}if(d===r(0x212))throw r(0x1ef);(!b[r(0x1ed)]||!b['driver'])&&(a=a[r(0x1fb)]([r(0x210),d]));const f=a93f[r(0x1f5)](c,r(0x213));this[r(0x20e)][r(0x1f1)](f)?(Log[r(0x1fc)](r(0x1de)+f),a=a[r(0x1fb)]([r(0x204),f])):Log[r(0x202)](r(0x1f6)+f);const g=a93f[r(0x1f5)](c,r(0x1dc));this[r(0x20e)][r(0x1f1)](g)?(Log[r(0x1fc)](r(0x208)+g),syncSource(g)):Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[r(0x205)][r(0x219)](0x2)[r(0x1e8)](k=>k!=='--env')[r(0x1e8)](k=>k!==r(0x1ec))[r(0x1e8)](k=>k!==a[0x0]);h[r(0x1e4)]((k,l)=>{const s=r;(k==='--env'||k===s(0x1fa))&&h[s(0x1eb)](l,0x2),k===s(0x200)&&h['splice'](l,0x1);});const i=b['packages']?'test-packages':r(0x1ec);this[r(0x20e)][r(0x20b)](i,a[r(0x1fb)](h));}catch(k){console[r(0x203)](k),process[r(0x206)](0x0);}});
1
+ function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a93d(a,b);}const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x1b9))/0x1*(parseInt(m(0x1e2))/0x2)+-parseInt(m(0x1af))/0x3+parseInt(m(0x1e3))/0x4+-parseInt(m(0x1b7))/0x5*(parseInt(m(0x1ae))/0x6)+parseInt(m(0x1d7))/0x7*(parseInt(m(0x1ea))/0x8)+-parseInt(m(0x1de))/0x9+parseInt(m(0x1c6))/0xa*(parseInt(m(0x1ce))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xd6cbd));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a[o(0x1d8)]()['search'](o(0x1be))[o(0x1d8)]()[o(0x1cf)](a93a)[o(0x1c0)](o(0x1be));});a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a93d;a93e[p(0x1c8)](a,'r'),a93g[p(0x1bd)]({'path':a});};Command[a93q(0x1e4)]({'name':'test','mustBeInMakaProject':!![],'validOpts':['once',a93q(0x1bc),'driver',a93q(0x1e5),a93q(0x1d6),a93q(0x1e1),'rawLogs','port',a93q(0x1b6),a93q(0x1e6)],'usage':a93q(0x1c4),'shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const r=a93q;try{let c=this[r(0x1dd)][r(0x1bf)](r(0x1da));b['env']&&(c=this[r(0x1dd)]['getAppConfigPath'](b[r(0x1e1)]));(!b[r(0x1d6)]||!!b['once'])&&(a=a[r(0x1db)]([r(0x1bb)]));b[r(0x1d6)]&&delete b[r(0x1d6)];let d=b[r(0x1d2)]||b[r(0x1ec)]||r(0x1e9);if(d===r(0x1e9)){const j=JSON[r(0x1d3)](a93e['readFileSync'](a93f[r(0x1dc)](this[r(0x1dd)][r(0x1b1)](),r(0x1ba),'config.json'),r(0x1cd)));if(j[r(0x1c2)]['test']==='jasmine')d=r(0x1d4);else j['engines'][r(0x1d5)]===r(0x1e7)&&(d=r(0x1e8));}if(d===r(0x1e9))throw r(0x1ad);(!b['driver-package']||!b[r(0x1ec)])&&(a=a['concat']([r(0x1df),d]));const f=a93f[r(0x1dc)](c,'settings.json');this[r(0x1dd)]['isFile'](f)?(Log[r(0x1d0)]('Meteor\x20Settings:\x20'+f),a=a[r(0x1db)](['--settings',f])):Log[r(0x1cc)](r(0x1d1)+f);const g=a93f['join'](c,r(0x1eb));this['fsi'][r(0x1b3)](g)?(Log[r(0x1d0)](r(0x1e0)+g),syncSource(g)):Log[r(0x1cc)](r(0x1ca)+g);const h=process[r(0x1cb)][r(0x1d9)](0x2)[r(0x1b2)](k=>k!=='--env')[r(0x1b2)](k=>k!==r(0x1d5))[r(0x1b2)](k=>k!==a[0x0]);h[r(0x1b0)]((k,l)=>{const s=r;(k==='--env'||k===s(0x1b8))&&h[s(0x1b5)](l,0x2),k===s(0x1c1)&&h['splice'](l,0x1);});const i=b['packages']?r(0x1b4):r(0x1d5);this[r(0x1dd)][r(0x1c9)](i,a['concat'](h));}catch(k){console[r(0x1c3)](k),process[r(0x1c5)](0x0);}});function a93c(){const t=['1490VKMmwe','apply','openSync','invokeMeteorCommand','Cannot\x20find\x20Node\x20Environment\x20File:\x20','argv','warn','utf8','174449stjnhi','constructor','notice','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','driver-package','parse','sanjo:jasmine','test','unit','5509MKFhxH','toString','slice','development','concat','join','fsi','11972655EOAXBT','--driver-package','Node\x20Env\x20Config:\x20','env','572714TqJuMr','4925380MzGwAg','create','driverPackage','testAppPath','mocha','meteortesting:mocha','none','7544anyuxl','process.env','driver','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','65832koihvq','3742596BkjQUn','forEach','findProjectDirectory','filter','isFile','test-packages','splice','inspect','270mPYToD','--driver','1jUpvjO','.maka','--full-app','packages','config','(((.+)+)+)+$','getAppConfigPath','search','--packages','engines','error','maka\x20test\x20<opts>','exit'];a93c=function(){return t;};return a93c();}
@@ -1 +1 @@
1
- const a94m=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0xda))/0x1*(-parseInt(k(0xed))/0x2)+parseInt(k(0xd8))/0x3*(-parseInt(k(0xc5))/0x4)+parseInt(k(0xd9))/0x5*(-parseInt(k(0xcb))/0x6)+parseInt(k(0xc9))/0x7*(parseInt(k(0xd7))/0x8)+parseInt(k(0xca))/0x9*(parseInt(k(0xd1))/0xa)+parseInt(k(0xcc))/0xb*(parseInt(k(0xc6))/0xc)+-parseInt(k(0xe2))/0xd*(-parseInt(k(0xde))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xe54ca));function a94c(){const o=['Maka\x20','maka\x20version\x20--verbose','6050uIJBEt','replace','meteor.bat','fsi','Project\x27s\x20Meteor\x20Node\x20Version\x20','search','29608aRMWoQ','321WANNub','4017605YYfsYR','92162NziaPw','System\x27s\x20Node\x20Version\x20','maka\x20version','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','15667666NfBcyu','platform','N/A','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','39YChdpt','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','node\x20-v','create','warn','version','\x20node\x20-v','error','toString','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','isMakaProject','38XPwtjq','majestic','----------------------Project----------------------------',')\x20to\x20at\x20least\x20meteor\x27s\x20(','verbose','Project\x27s\x20Meteor\x20Version\x20','getProjectsMeteorNodeVersion','bright','57556yHVYdx','15564lMRlqo','getGlobalMeteorVersion','compareMakaToLatest','679DWDJkl','23211foxdNk','12DoixGn','4752NnsZOC','System\x27s\x20Meteor\x20Version\x20','notice'];a94c=function(){return o;};return a94c();}function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0xc5;let f=c[d];return f;},a94d(a,b);}const a94b=(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;};}()),a94a=a94b(this,function(){const l=a94d;return a94a['toString']()['search']('(((.+)+)+)+$')[l(0xea)]()['constructor'](a94a)[l(0xd6)]('(((.+)+)+)+$');});a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.7.11'};Command[a94m(0xe5)]({'name':a94m(0xe7),'aliases':['v'],'usage':a94m(0xdc),'maxArgLength':0x1,'validOpts':[a94m(0xf1)],'shortDesc':a94m(0xe1),'examples':['maka\x20v',a94m(0xdc),a94m(0xd0)],'description':a94m(0xeb)},async function(a,b){const n=a94m;try{const c=process[n(0xdf)]==='win32'?n(0xd3):'meteor';Log[n(0xee)](n(0xcf)+pjson['version']),await this['fsi']['compareMakaToLatest']();if(b[n(0xf1)]){await this[n(0xd4)][n(0xc8)](),Log[n(0xf4)]('----------------------System----------------------------');const d=this['fsi'][n(0xc7)]();Log[n(0xf4)]((n(0xcd)+d)[n(0xd2)]('\x0a',''));const f=execSync(c+n(0xe8))[n(0xea)]()[n(0xd2)](/\r?\n|\r/,'')['replace']('v','');Log[n(0xf4)](n(0xe3)+f);const g=execSync(n(0xe4))[n(0xea)]()[n(0xd2)](/\r?\n|\r/,'')['replace']('v','');a94e['gt'](f,g)?(Log['warn']('System\x27s\x20Node\x20Version\x20'+g),Log[n(0xe6)](n(0xdd)+g+n(0xf0)+f+')')):Log['bright'](n(0xdb)+g);if(this[n(0xd4)][n(0xec)]()){Log[n(0xf4)](n(0xef));const h=this[n(0xd4)]['getProjectMeteorVersion']();a94e['gt'](d,h)?(Log[n(0xe6)](n(0xf2)+h[n(0xd2)]('\x0a','')),Log[n(0xe6)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[n(0xce)]((n(0xf2)+h)[n(0xd2)]('\x0a',''));const i=await this[n(0xd4)][n(0xf3)]();i===n(0xe0)?(Log['warn'](n(0xd5)+i),Log[n(0xe6)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[n(0xf4)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log['bright']('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}}catch(j){console[n(0xe9)](j),process['exit'](0x0);}});
1
+ const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(0x1ce))/0x1*(parseInt(k(0x1eb))/0x2)+-parseInt(k(0x1e3))/0x3*(parseInt(k(0x1c6))/0x4)+-parseInt(k(0x1cd))/0x5+parseInt(k(0x1c7))/0x6+-parseInt(k(0x1c5))/0x7+parseInt(k(0x1dd))/0x8+parseInt(k(0x1e1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x858ba));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a[m(0x1cf)]()[m(0x1e6)]('(((.+)+)+)+$')[m(0x1cf)]()['constructor'](a94a)[m(0x1e6)](m(0x1c4));});function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a94d(a,b);}a94a();function a94c(){const p=['(((.+)+)+)+$','3476396PGHGym','3588176RyOmGb','5682930CrJAYP','compareMakaToLatest','getGlobalMeteorVersion','warn','verbose','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','1433010BqBWEn','6segtMr','toString','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','getProjectsMeteorNodeVersion','Maka\x20','System\x27s\x20Node\x20Version\x20','\x20node\x20-v','N/A','System\x27s\x20Meteor\x20Version\x20','maka\x20v','----------------------System----------------------------','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','Project\x27s\x20Meteor\x20Node\x20Version\x20','apply','win32','474752cIwpQV','----------------------Project----------------------------','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','Project\x27s\x20Meteor\x20Version\x20','20150739IGImwA','maka\x20version','3oKjdvB','replace','version','search','node\x20-v',')\x20to\x20at\x20least\x20meteor\x27s\x20(','meteor.bat','majestic','339398fVgxpe','bright','fsi','exit'];a94c=function(){return p;};return a94c();}import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.7.12'};Command['create']({'name':a94n(0x1e5),'aliases':['v'],'usage':a94n(0x1e2),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a94n(0x1df),'examples':[a94n(0x1d7),a94n(0x1e2),'maka\x20version\x20--verbose'],'description':a94n(0x1cc)},async function(a,b){const o=a94n;try{const c=process['platform']===o(0x1dc)?o(0x1e9):'meteor';Log[o(0x1ea)](o(0x1d2)+pjson[o(0x1e5)]),await this['fsi'][o(0x1c8)]();if(b[o(0x1cb)]){await this['fsi']['compareMakaToLatest'](),Log['bright'](o(0x1d8));const d=this[o(0x1c2)][o(0x1c9)]();Log[o(0x1c1)]((o(0x1d6)+d)[o(0x1e4)]('\x0a',''));const f=execSync(c+o(0x1d4))['toString']()[o(0x1e4)](/\r?\n|\r/,'')[o(0x1e4)]('v','');Log[o(0x1c1)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(o(0x1e7))['toString']()['replace'](/\r?\n|\r/,'')['replace']('v','');a94e['gt'](f,g)?(Log[o(0x1ca)](o(0x1d3)+g),Log[o(0x1ca)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0x1e8)+f+')')):Log[o(0x1c1)](o(0x1d3)+g);if(this['fsi']['isMakaProject']()){Log[o(0x1c1)](o(0x1de));const h=this[o(0x1c2)]['getProjectMeteorVersion']();a94e['gt'](d,h)?(Log[o(0x1ca)](o(0x1e0)+h[o(0x1e4)]('\x0a','')),Log[o(0x1ca)](o(0x1d9)+d+'\x22')):Log['notice']((o(0x1e0)+h)[o(0x1e4)]('\x0a',''));const i=await this[o(0x1c2)][o(0x1d1)]();i===o(0x1d5)?(Log[o(0x1ca)](o(0x1da)+i),Log[o(0x1ca)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0x1c1)](o(0x1da)+i),Log[o(0x1c1)](o(0x1d0));}}}catch(j){console['error'](j),process[o(0x1c3)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x98))/0x1+parseInt(f(0x92))/0x2*(-parseInt(f(0x93))/0x3)+parseInt(f(0x8e))/0x4+-parseInt(f(0x8f))/0x5*(parseInt(f(0x99))/0x6)+-parseInt(f(0x97))/0x7*(parseInt(f(0x96))/0x8)+parseInt(f(0x90))/0x9*(parseInt(f(0x91))/0xa)+-parseInt(f(0x95))/0xb*(-parseInt(f(0x9b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x6c87b));function a95c(){var i=['826716MqAlaY','275345EDfAbO','1908117ODnFJe','20MoURbK','510912AIDROX','3ElyphI','search','2688103EVfrQl','96efPNiB','426377ArrhBo','665987kXhIJQ','12RdBtNW','toString','12BvmuNr','apply','(((.+)+)+)+$'];a95c=function(){return i;};return a95c();}var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x9a)]()[h(0x94)](h(0x8d))['toString']()['constructor'](a95a)[h(0x94)](h(0x8d));});a95a();function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x8d;var f=c[d];return f;},a95d(a,b);}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ function a95c(){var i=['apply','search','563897xDPhgi','453hWcUDO','576835wcTEOo','24194WjXRaw','constructor','(((.+)+)+)+$','3808086wlQhQF','22116160WgfmEt','6858596NRpocT','7969680iklGTb','toString','9ZNOjki'];a95c=function(){return i;};return a95c();}(function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0x1db))/0x1+-parseInt(f(0x1de))/0x2*(parseInt(f(0x1dc))/0x3)+-parseInt(f(0x1d5))/0x4+parseInt(f(0x1d6))/0x5+parseInt(f(0x1e1))/0x6+parseInt(f(0x1dd))/0x7+-parseInt(f(0x1e2))/0x8*(-parseInt(f(0x1d8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xece6d));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x1d7)]()[h(0x1da)](h(0x1e0))['toString']()[h(0x1df)](a95a)[h(0x1da)](h(0x1e0));});a95a();function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x1d5;var f=c[d];return f;},a95d(a,b);}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var a96h=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x9f))/0x1*(-parseInt(f(0xa9))/0x2)+-parseInt(f(0x9d))/0x3+-parseInt(f(0x9b))/0x4+parseInt(f(0x9e))/0x5*(parseInt(f(0xa6))/0x6)+parseInt(f(0xa0))/0x7*(parseInt(f(0xa8))/0x8)+-parseInt(f(0xaa))/0x9+parseInt(f(0xa1))/0xa*(parseInt(f(0xa2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xb4902));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var g=a96d;return a96a[g(0xa5)]()[g(0xa3)](g(0xa7))[g(0xa5)]()[g(0xa4)](a96a)[g(0xa3)](g(0xa7));});a96a(),process['env'][a96h(0x9a)]=a96h(0x9c);function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x9a;var f=c[d];return f;},a96d(a,b);}function a96c(){var i=['170TjPMZj','1QXLNWn','168iHPMKw','5297350uEXBzq','55hoEQlo','search','constructor','toString','17382fDTfIM','(((.+)+)+)+$','410184eUMdTD','777766GdWVwE','5050170VcWgJT','NODE_OPTIONS','5765788RRCuDN','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','2540037zguTmY'];a96c=function(){return i;};return a96c();}import'./maka.js';
2
+ function a96c(){var i=['(((.+)+)+)+$','toString','NODE_OPTIONS','env','112CSaEBp','12mabshp','4724250PiaSBb','4573035sWojFi','459086zedwFC','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','search','796232lYJpff','1217120vYGYFZ','69yNgsEH','76032fgGMlF','88496DUVxFV'];a96c=function(){return i;};return a96c();}var a96h=a96d;function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0xef;var f=c[d];return f;},a96d(a,b);}(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0xef))/0x1+-parseInt(f(0xf2))/0x2+-parseInt(f(0xf4))/0x3*(parseInt(f(0xf5))/0x4)+-parseInt(f(0xf3))/0x5*(-parseInt(f(0xfc))/0x6)+-parseInt(f(0xfb))/0x7*(-parseInt(f(0xf6))/0x8)+parseInt(f(0xfe))/0x9+parseInt(f(0xfd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x5572a));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var g=a96d;return a96a[g(0xf8)]()[g(0xf1)](g(0xf7))[g(0xf8)]()['constructor'](a96a)[g(0xf1)](g(0xf7));});a96a(),process[a96h(0xfa)][a96h(0xf9)]=a96h(0xf0);import'./maka.js';