@maka/maka-cli 4.5.47 → 4.5.48
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.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a55h=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x1ff))/0x1*(-parseInt(f(0x203))/0x2)+parseInt(f(0x206))/0x3+parseInt(f(0x1fa))/0x4*(-parseInt(f(0x1f7))/0x5)+-parseInt(f(0x1f0))/0x6+parseInt(f(0x20e))/0x7+-parseInt(f(0x1fe))/0x8+parseInt(f(0x1ef))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x79d14));var a55b=(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;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0x210)]()[g(0x1f8)]('(((.+)+)+)+$')['toString']()['constructor'](a55a)[g(0x1f8)](g(0x1fd));});a55a();import{EventEmitter}from'events';export class AbstractScene{['rooms'];[a55h(0x209)];[a55h(0x208)];[a55h(0x1f2)];}export class AbstractRoom extends EventEmitter{[a55h(0x1ee)];[a55h(0x1f4)];['exits'];[a55h(0x1f6)];[a55h(0x211)];[a55h(0x20a)];[a55h(0x201)];}export class AbstractDoor{[a55h(0x200)];[a55h(0x1f9)];[a55h(0x1fb)];[a55h(0x1f5)];[a55h(0x1ee)];['logger'];[a55h(0x20f)];}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1ec;var f=c[d];return f;},a55d(a,b);}export class AbstractInventory{['items'];[a55h(0x208)];}export class AbstractItem{[a55h(0x1ec)];['name'];[a55h(0x1f4)];['size'];['category'];[a55h(0x1ed)];[a55h(0x1f3)];[a55h(0x205)];[a55h(0x204)];[a55h(0x20b)];}export class AbstractPlayer{[a55h(0x20c)];[a55h(0x202)];[a55h(0x212)];[a55h(0x20d)];[a55h(0x1fc)];[a55h(0x207)];}export class AbstractPuzzle{[a55h(0x208)];[a55h(0x1f1)];}function a55c(){var i=['isLocked','_maxCarryingWeight','(((.+)+)+)+$','6089528NLFPCx','428hkkavi','roomA','isStartRoom','_currentLocation','2966XXRnHZ','rating','texture','2681865gSPeWt','_logger','logger','player','roomType','weight','_playerName','_equipment','2815869MrOYXA','isLockable','toString','puzzle','_inventory','uuid','shape','name','13007466ytmlRw','2603904lTLIdJ','solved','characterLocations','color','description','unlockItemOrSolution','inventory','65VxcCTw','search','roomB','126964QjFwsR'];a55c=function(){return i;};return a55c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var k=a56d,c=a();while(!![]){try{var d=parseInt(k(
|
|
1
|
+
(function(a,b){var k=a56d,c=a();while(!![]){try{var d=parseInt(k(0x1c5))/0x1*(parseInt(k(0x1b8))/0x2)+parseInt(k(0x1c0))/0x3+parseInt(k(0x1cd))/0x4*(-parseInt(k(0x1d3))/0x5)+-parseInt(k(0x1b3))/0x6+parseInt(k(0x1d9))/0x7*(parseInt(k(0x195))/0x8)+-parseInt(k(0x1ab))/0x9+parseInt(k(0x1d4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x502a6));export var Size;(function(a){var l=a56d;a[l(0x1d2)]=l(0x1d7),a[l(0x1d6)]=l(0x1c8),a['Medium']=l(0x1b4),a['Large']=l(0x1de),a[l(0x183)]='very\x20large';}(Size||(Size={})));export var Rating;(function(a){var m=a56d;a[m(0x1cb)]=m(0x19a),a[m(0x184)]=m(0x1c2),a[m(0x1b7)]=m(0x1a3);}(Rating||(Rating={})));export var Category;(function(c){var o=a56d,d=(function(){var f=!![];return function(g,h){var i=f?function(){if(h){var j=h['apply'](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var n=a56d;return e[n(0x1bd)]()[n(0x19c)](n(0x19f))[n(0x1bd)]()['constructor'](e)['search'](n(0x19f));});e(),c['Weapon']=o(0x1a2),c[o(0x18c)]=o(0x196),c[o(0x187)]=o(0x17f),c[o(0x189)]=o(0x1a8),c['Helmet']=o(0x1d8),c['Hat']='hat',c[o(0x188)]=o(0x1ac),c['LegArmor']='leg\x20armor',c['ArmArmor']=o(0x1bb),c[o(0x1d5)]=o(0x17d),c[o(0x1d1)]=o(0x1c6),c[o(0x18d)]=o(0x198),c[o(0x1a1)]=o(0x1b1);}(Category||(Category={})));export var Shape;(function(a){var p=a56d;a[p(0x180)]='circle',a[p(0x1b9)]=p(0x1c4),a[p(0x1a0)]=p(0x1d0),a[p(0x1cc)]=p(0x19e),a[p(0x190)]=p(0x1a7),a['Rifle']='rifle';}(Shape||(Shape={})));export var Color;function a56d(a,b){var c=a56c();return a56d=function(d,e){d=d-0x17d;var f=c[d];return f;},a56d(a,b);}(function(a){var q=a56d;a[q(0x1a4)]=q(0x185),a[q(0x1b5)]='blue',a[q(0x1da)]='green',a['Yellow']=q(0x1ae),a[q(0x1a5)]='orange',a[q(0x17e)]='purple',a['Grey']=q(0x192),a[q(0x1ba)]=q(0x1aa),a[q(0x1cf)]=q(0x1b0);}(Color||(Color={})));export var Texture;(function(a){var r=a56d;a[r(0x1c7)]=r(0x1c9),a['Rough']=r(0x191),a[r(0x181)]=r(0x194),a[r(0x199)]='fuzzy',a[r(0x1b2)]='grainy',a['Metallic']=r(0x1dd);}(Texture||(Texture={})));export var RoomType;function a56c(){var u=['grey','cave','bumpy','3632YJknmE','shield','UNDERGROUND','cup','Fuzzy','common','inside','search','tower','rectangle','(((.+)+)+)+$','Triangle','Unknown','weapon','legendary','Red','Orange','MOUNTAIN','blade','gloves','down','brown','3291750UPreUF','boots','NORTH','yellow','TOWER','gold','unknown','Grainy','669816ubARjJ','medium','Blue','EAST','Legendary','30IZcmVL','Square','Brown','arm\x20armor','underground','toString','BEACH','sea','464466MHPFZv','outside','rare','DESERT','square','43553oIfPWF','book','Smooth','small','smooth','west','Common','Rectangle','268NpiuBc','WEST','Gold','triangle','Book','Tiny','46205lIFkgQ','2404080udulvt','BodyArmor','Small','tiny','helmet','5803cnGAzy','Green','mountain','DOWN','metallic','large','body\x20armor','Purple','key','Circle','Bumpy','forest','VeryLarge','Rare','red','desert','Key','Boots','Gloves','east','CAVE','Shield','Cup','beach','SOUTH','Blade','rough'];a56c=function(){return u;};return a56c();}(function(a){var s=a56d;a['INSIDE']=s(0x19b),a['OUTSIDE']=s(0x1c1),a[s(0x197)]=s(0x1bc),a[s(0x18b)]=s(0x193),a[s(0x1af)]=s(0x19d),a['FOREST']=s(0x182),a[s(0x1c3)]=s(0x186),a[s(0x1a6)]=s(0x1db),a[s(0x1be)]=s(0x18e),a['SEA']=s(0x1bf);}(RoomType||(RoomType={})));export var Direction;(function(a){var t=a56d;a[t(0x1ad)]='north',a[t(0x1b6)]=t(0x18a),a[t(0x18f)]='south',a[t(0x1ce)]=t(0x1ca),a['UP']='up',a[t(0x1dc)]=t(0x1a9);}(Direction||(Direction={})));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a57d,c=a();while(!![]){try{var d=parseInt(f(0x11f))/0x1*(-parseInt(f(0x118))/0x2)+-parseInt(f(0x120))/0x3+parseInt(f(0x11e))/0x4*(-parseInt(f(0x121))/0x5)+-parseInt(f(0x117))/0x6+parseInt(f(0x11d))/0x7*(parseInt(f(0x114))/0x8)+parseInt(f(0x113))/0x9*(parseInt(f(0x11b))/0xa)+parseInt(f(0x122))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x37ffe));var a57b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a57d;if(c){var e=c[g(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){var h=a57d;return a57a['toString']()[h(0x115)](h(0x11c))[h(0x119)]()[h(0x116)](a57a)[h(0x115)](h(0x11c));});function a57c(){var i=['1905545vdGyRH','9652214kTBQer','27AMhUGB','64256naKsec','search','constructor','1125858iNQZvE','2wADICb','toString','apply','124090eRPLLx','(((.+)+)+)+$','371mwcKfB','4lkJWgR','265339ToMGeY','830796ceujMX'];a57c=function(){return i;};return a57c();}a57a();function a57d(a,b){var c=a57c();return a57d=function(d,e){d=d-0x113;var f=c[d];return f;},a57d(a,b);}export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a58d,c=a();while(!![]){try{var d
|
|
1
|
+
function a58d(a,b){var c=a58c();return a58d=function(d,e){d=d-0x1c1;var f=c[d];return f;},a58d(a,b);}function a58c(){var i=['1JhZBsY','237461KemQan','4240010EQTnAt','apply','1316914WkRtJK','42qkkAPe','constructor','24427240BmgZwN','4455KOCxWY','toString','5952AffGPK','2803995AlvYDB','(((.+)+)+)+$','search','336212SpIroD'];a58c=function(){return i;};return a58c();}(function(a,b){var f=a58d,c=a();while(!![]){try{var d=-parseInt(f(0x1c5))/0x1*(parseInt(f(0x1c9))/0x2)+-parseInt(f(0x1c1))/0x3+-parseInt(f(0x1c4))/0x4+-parseInt(f(0x1c7))/0x5+parseInt(f(0x1ca))/0x6*(parseInt(f(0x1c6))/0x7)+parseInt(f(0x1cf))/0x8*(parseInt(f(0x1cd))/0x9)+parseInt(f(0x1cc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0x7fc18));var a58b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a58d;if(c){var e=c[g(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a58a=a58b(this,function(){var h=a58d;return a58a['toString']()[h(0x1c3)](h(0x1c2))[h(0x1ce)]()[h(0x1cb)](a58a)['search']('(((.+)+)+)+$');});a58a();export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a59G=a59d;(function(a,b){const y=a59d,c=a();while(!![]){try{const d=-parseInt(y(
|
|
1
|
+
const a59G=a59d;(function(a,b){const y=a59d,c=a();while(!![]){try{const d=-parseInt(y(0xdd))/0x1*(parseInt(y(0xd9))/0x2)+-parseInt(y(0xee))/0x3+-parseInt(y(0xdc))/0x4+parseInt(y(0x113))/0x5+-parseInt(y(0x127))/0x6+parseInt(y(0xd5))/0x7*(-parseInt(y(0x11b))/0x8)+parseInt(y(0xe3))/0x9*(parseInt(y(0x111))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a59c,0x19584));import a59e from'blessed';import{capitalCase}from'change-case';import a59f from'./game.js';import{RoomType}from'./types/enums.js';import{Player}from'./models/player.js';import{Door}from'./models/door.js';function a59d(a,b){const c=a59c();return a59d=function(d,e){d=d-0xcf;let f=c[d];return f;},a59d(a,b);}import{Logger}from'./utilities/logger.js';export async function main(c,d,e){const A=a59d,f=(function(){let h=!![];return function(i,j){const k=h?function(){if(j){const l=j['apply'](i,arguments);return j=null,l;}}:function(){};return h=![],k;};}()),g=f(this,function(){const z=a59d;return g[z(0xff)]()['search'](z(0x129))[z(0xff)]()[z(0xf5)](g)[z(0xfa)]('(((.+)+)+)+$');});g();try{const h=a59e['screen']({'smartCSR':!![],'title':A(0xe8)}),i=a59e[A(0x101)]({'top':'0%','left':A(0x115),'width':A(0xe5),'height':A(0x123),'border':{'type':A(0xea)},'label':A(0x10a),'content':A(0x121),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':A(0x102)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]}),j=t=>{const B=A,u=t[B(0xe9)]()[B(0xe4)](v=>v['name']);i['setContent'](u[B(0x104)]('\x0a')),h[B(0x125)]();};h[A(0xf7)](i);const k=a59e['box']({'top':'45%','left':A(0x115),'width':'25%','height':A(0xe5),'border':{'type':'line'},'label':A(0x114),'content':'Your\x20equipped\x20items\x20will\x20be\x20listed\x20here...','tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':A(0x102)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});h[A(0xf7)](k);const l=t=>{const C=A;k[C(0x10d)](C(0xd8)+(t[C(0xeb)]?t[C(0xeb)][C(0xf1)]:'None')+'\x0a'+('Torso:\x20'+(t['torso']?t[C(0xf6)][C(0xf1)]:C(0xdb))+'\x0a')+(C(0xde)+(t[C(0xf0)]?t[C(0xf0)][C(0xf1)]:C(0xdb))+'\x0a')+(C(0x12a)+(t[C(0x118)]?t['feet'][C(0xf1)]:C(0xdb))+'\x0a')+('Arms:\x20'+(t[C(0x122)]?t[C(0x122)][C(0xf1)]:C(0xdb))+'\x0a')+(C(0xe6)+(t[C(0xe0)]?t[C(0xe0)][C(0xf1)]:C(0xdb))+'\x0a')+('Left\x20Hand:\x20'+(t['leftHand']?t[C(0xef)]['name']:C(0xdb))+'\x0a')+(C(0xfe)+(t[C(0xf3)]?t[C(0xf3)][C(0xf1)]:C(0xdb))+'\x0a')),h[C(0x125)]();},m=a59e[A(0x101)]({'top':'70%','left':'75%','width':A(0xe5),'height':'20%','border':{'type':A(0xea)},'label':A(0xd1),'content':A(0x105),'tags':!![],'scrollable':!![],'scrollbar':{'ch':'\x20','track':{'bg':A(0x102)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![]});h[A(0xf7)](m);const n=t=>{const D=A;let u=D(0x12b)+t[D(0xf1)]+'\x0a\x0a';u+='-----\x20Exits\x20------\x0a',t[D(0x10f)]['size']>0x0?t[D(0x10f)][D(0xfb)]((v,w)=>{const E=D;if(v instanceof Door){const x=v['getOtherSide'](t);x[E(0x10e)]===RoomType[E(0xf4)]?u+=capitalCase(w)+':\x20'+x[E(0xf1)]:u+=capitalCase(w)+':\x20'+v[E(0xf1)];if(v[E(0x100)]())u+=E(0xfd);else v[E(0xe7)]()&&(u+=E(0xf9));u+='\x0a';}else u+=capitalCase(w)+'\x0a';}):u+=D(0xd6),m[D(0x10d)](u),h[D(0x125)]();},o=a59e[A(0x101)]({'id':'logBox','top':'0%','left':'0%','width':A(0x115),'height':A(0xe1),'border':{'type':'line'},'label':A(0xd3),'scrollable':!![],'alwaysScroll':!![],'scrollbar':{'ch':'\x20','track':{'bg':A(0x102)},'style':{'inverse':!![]}},'keys':!![],'mouse':!![],'tags':!![]});o[A(0x10c)](A(0xd2)),h[A(0xf7)](o);const p=a59e[A(0x11f)]({'bottom':0x0,'left':0x0,'width':A(0x117),'height':'10%','tags':!![],'border':{'type':A(0xea)},'style':{'fg':A(0x107),'border':{'fg':A(0x103)}},'keys':!![],'mouse':!![],'inputOnFocus':!![],'vi':!![]});h[A(0xf7)](p),h[A(0x10b)]([A(0x112),A(0xf8)],()=>process['exit'](0x0)),p[A(0x11e)](),h[A(0x125)]();const q=Logger[A(0xcf)](e[A(0x11a)],h),r=new Player({'playerName':c});q['write'](A(0x126));const s=a59f[A(0xcf)](r,d);o['setContent'](s['getWelcomeMessage']()),l(s['player']['equipment']),j(s[A(0x119)][A(0xd4)]),n(s['player'][A(0xd7)]),p[A(0x10b)]([A(0x108)],async()=>{const F=A,t=p[F(0x109)](),u=s[F(0x106)](t);(t[F(0xfc)]('\x20')[0x0]===F(0xf2)||F(0x11d)||F(0xec))&&(j(s[F(0x119)][F(0xd4)]),l(s[F(0x119)][F(0xe2)])),(t['split']('\x20')[0x0]==='go'||'lock'||'unlock')&&n(s[F(0x119)]['currentLocation']),t[F(0xfc)]('\x20')[0x0]==='clear'&&o['setContent'](''),u===null&&(console[F(0x116)](F(0xed)),h[F(0x125)](),q['write'](F(0x128)),process[F(0x11c)](0x0)),o[F(0x110)](u),o[F(0x120)](0x1),p[F(0xd0)](),p[F(0x11e)](),h[F(0x125)]();});}catch(t){console[A(0x116)](t),process['exit'](0x1);}}const args=process[a59G(0x124)][a59G(0xda)](0x2);function a59c(){const H=['exit','equip','focus','textbox','scroll','Your\x20items\x20will\x20be\x20listed\x20here...','arms','45%','argv','render','----->>>>>>\x20Initializing\x20Game','173706GtXwiB','<<<<<<<<---------\x20Terminating\x20game','(((.+)+)+)+$','Feet:\x20','Currently\x20in:\x20','getInstance','clearValue','\x20Map\x20','mousemove','\x20Game\x20Log\x20','inventory','259ppszkw','\x0aThere\x20are\x20no\x20exits\x20here.','currentLocation','Head:\x20','4EPyJvs','slice','None','24924aptTzM','45659ticLFB','Legs:\x20','parse','gloves','90%','equipment','9vBWGZD','map','25%','Gloves:\x20','checkIfLockable','Side\x20Quest\x20Adventure\x20Game','getAllItems','line','head','unequip','Thanks\x20for\x20playing!','322377UvCKAq','leftHand','legs','name','take','rightHand','OUTSIDE','constructor','torso','append','C-c','\x20(Unlocked)','search','forEach','split','\x20(Locked)','Right\x20Hand:\x20','toString','checkIfLocked','box','yellow','cyan','join','Available\x20exits\x20will\x20be\x20shown\x20here...','handleInput','white','enter','getValue','\x20Inventory\x20','key','removeAllListeners','setContent','roomType','exits','pushLine','4240450ucVBdL','escape','545245HNZlKu','\x20Equipment\x20','75%','log','100%','feet','player','logFilePath','42232LxJuZE'];a59c=function(){return H;};return a59c();}main(args[0x0],JSON['parse'](args[0x1]),JSON[a59G(0xdf)](args[0x2]));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a60k=a60d;(function(a,b){const h=a60d,c=a();while(!![]){try{const d
|
|
1
|
+
function a60c(){const r=['find','mkdirSync','content','toISOString','getScrollHeight','search','constructor','side-quest.log','existsSync','241084EaLwfC','Screen\x20must\x20be\x20provided\x20when\x20initializing\x20the\x20Logger\x20for\x20the\x20first\x20time.','render','type','join','ensureLogFileExists','562rUNGOW','screen','(((.+)+)+)+$','[ERROR]\x20[','2969304ESFOii','hasScreen','4733113EONPCg','36WAcUVk','instance','setContent','write','filePath','logBox','309785OYwfgw','10930000Fbwgzh','.maka','writeFileSync','error','dirname','\x20could\x20not\x20be\x20found\x20on\x20screen\x20','21cWIbpt','1314WYrMLl','The\x20logbox\x20','[INFO]\x20[','children','log','appendFileSync','getInstance','scrollTo','1028133bMsHel'];a60c=function(){return r;};return a60c();}const a60k=a60d;(function(a,b){const h=a60d,c=a();while(!![]){try{const d=-parseInt(h(0x12a))/0x1*(-parseInt(h(0x142))/0x2)+parseInt(h(0x129))/0x3*(-parseInt(h(0x13c))/0x4)+parseInt(h(0x14f))/0x5*(-parseInt(h(0x149))/0x6)+-parseInt(h(0x148))/0x7+parseInt(h(0x146))/0x8+parseInt(h(0x132))/0x9+parseInt(h(0x150))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a60c,0x74a8c));const a60b=(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;};}()),a60a=a60b(this,function(){const i=a60d;return a60a['toString']()[i(0x138)](i(0x144))['toString']()[i(0x139)](a60a)[i(0x138)](i(0x144));});a60a();import a60e from'fs';import a60f from'os';import a60g from'path';const homeDir=a60f['homedir']();function a60d(a,b){const c=a60c();return a60d=function(d,e){d=d-0x126;let f=c[d];return f;},a60d(a,b);}export class Logger{static ['instance'];['filePath'];['screen'];constructor(a,b){const j=a60d;this['filePath']=a,this['screen']=b,this[j(0x141)]();}static[a60k(0x130)](a=a60g[a60k(0x140)](homeDir,a60k(0x151),a60k(0x13a)),b){const l=a60k;if(!Logger[l(0x14a)]){if(!b)throw new Error(l(0x13d));Logger[l(0x14a)]=new Logger(a,b);}return Logger['instance'];}[a60k(0x141)](){const m=a60k,a=a60g[m(0x127)](this['filePath']);!a60e['existsSync'](a)&&a60e[m(0x134)](a,{'recursive':!![]}),!a60e[m(0x13b)](this[m(0x14d)])&&a60e[m(0x152)](this[m(0x14d)],'');}[a60k(0x14c)](a){const n=a60k,b=new Date()[n(0x136)](),c=n(0x12c)+b+']\x20'+a+'\x0a';a60e[n(0x12f)](this[n(0x14d)],c);}[a60k(0x126)](a){const o=a60k,b=new Date()[o(0x136)](),c=o(0x145)+b+']\x20'+a+'\x0a';a60e[o(0x12f)](this[o(0x14d)],c);}[a60k(0x12e)](a){const p=a60k,b=this[p(0x143)]?.[p(0x12d)][p(0x133)](c=>c[p(0x13f)]==='box'&&c['options']['id']===p(0x14e));b?(b[p(0x14b)](b[p(0x135)]+'\x0a'+a),b[p(0x131)](b[p(0x137)]()),this[p(0x143)]?.[p(0x13e)]()):this['error'](p(0x12b)+b+p(0x128)+this['screen']),this[p(0x14c)](a);}[a60k(0x147)](){const q=a60k;return!!this[q(0x143)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a61n=a61d;(function(a,b){const k=a61d,c=a();while(!![]){try{const d=-parseInt(k(
|
|
1
|
+
const a61n=a61d;(function(a,b){const k=a61d,c=a();while(!![]){try{const d=-parseInt(k(0x9f))/0x1+-parseInt(k(0xa4))/0x2*(parseInt(k(0x93))/0x3)+parseInt(k(0x9d))/0x4*(parseInt(k(0x81))/0x5)+parseInt(k(0x91))/0x6*(-parseInt(k(0xa2))/0x7)+parseInt(k(0x98))/0x8*(parseInt(k(0x88))/0x9)+parseInt(k(0xa1))/0xa+parseInt(k(0x95))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a61c,0x6c9d1));const a61b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a61d;if(c){const e=c[l(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a61a=a61b(this,function(){const m=a61d;return a61a[m(0x86)]()['search']('(((.+)+)+)+$')[m(0x86)]()['constructor'](a61a)[m(0x83)](m(0xa3));});a61a();import a61e from'path';import{spawn}from'child_process';import a61f from'./play.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{dungeonConfig,shadowrunConfig}from'./sideQuest/scenes/rooms.js';import{fileURLToPath}from'url';function a61d(a,b){const c=a61c();return a61d=function(d,e){d=d-0x80;let f=c[d];return f;},a61d(a,b);}import{dirname}from'path';const __filename=fileURLToPath(import.meta[a61n(0x90)]),__dirname=dirname(__filename);function a61c(){const q=['ask','5914640NTTIGo','119ghrHVz','(((.+)+)+)+$','40930yeLINp','apply','side-quest.log','17635BFalsd','player','search','Commoner','side-quest','toString','create','27jANViU','What\x20is\x20your\x20name?','exit','list','resolve','shadowrun','stringify','dungeon','url','298026lILwrU','fsi','21OEzJzR','sideQuestAnswer','7981512fEGxEB','Just\x20a\x20little\x20pet\x20project...\x20I\x20really\x20liked\x20the\x20Dunnet\x20game\x20that\x0a\x20\x20came\x20with\x20MacOS\x20but\x20has\x20been\x20removed.\x20\x20Just\x20messing\x20around\x20and\x20building\x0a\x20\x20out\x20a\x20similar\x20thing...','inherit','105856RSDciS','Which\x20Side-Quest\x20would\x20you\x20like\x20to\x20play?','Play\x20a\x20little\x20side-quest','log','maka\x20play:side-quest','668SWJOuR','./sideQuest/ui.js','513218pOOHsr'];a61c=function(){return q;};return a61c();}Command[a61n(0x87)]({'name':a61n(0x85),'usage':a61n(0x9c),'shortDesc':a61n(0x9a),'aliases':['sq'],'description':a61n(0x96),'validOpts':['player']},async function(a,b){const o=a61n;try{const c=this[o(0x92)]['getGlobalMakaDir'](),d=a61e['join'](c,o(0x80)),e=b[o(0x82)]?b[o(0x82)]:await Actions[o(0xa0)](o(0x89))||o(0x84),f={...b,'logFilePath':d},g={'type':o(0x8b),'name':o(0x94),'message':o(0x99),'choices':[{'name':o(0x8f),'value':dungeonConfig},{'name':o(0x8d),'value':shadowrunConfig}]},{sideQuestAnswer:h}=await Actions['options'](g);if(e&&h){const i=spawn('node',[a61e[o(0x8c)](__dirname,o(0x9e)),e,JSON[o(0x8e)](h),JSON[o(0x8e)](f)],{'stdio':o(0x97)});i['on'](o(0x8a),()=>{const p=o;console[p(0x9b)]('Thanks\x20for\x20playing!');});}}catch(j){console['log'](j);}},a61f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a62h=a62d;(function(a,b){var f=a62d,c=a();while(!![]){try{var d=-parseInt(f(0x6a))/0x1*(parseInt(f(0x6c))/0x2)+parseInt(f(0x65))/0x3+-parseInt(f(0x6d))/0x4+parseInt(f(0x76))/0x5+-parseInt(f(0x6b))/0x6+parseInt(f(0x68))/0x7+parseInt(f(0x66))/0x8*(-parseInt(f(0x6e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a62c,0xce73e));var a62b=(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;};}()),a62a=a62b(this,function(){var g=a62d;return a62a[g(0x69)]()[g(0x71)]('(((.+)+)+)+$')[g(0x69)]()['constructor'](a62a)[g(0x71)](g(0x6f));});a62a();import a62e from'./play.command.js';import{Command}from'../../command.js';function a62c(){var j=['6199285nmpMFO','2739483uKOVCd','717448BrVPJK','Play\x20Snake:\x20https://www.npmjs.com/package/command-line-snake','11580016vcRAvO','toString','1RCpAWC','2565864BKRFjZ','2795474yvZzLT','3469008jFvYig','27ZmQSye','(((.+)+)+)+$','maka\x20game:snake','search','inherit','snake','npx\x20command-line-snake','create'];a62c=function(){return j;};return a62c();}function a62d(a,b){var c=a62c();return a62d=function(d,e){d=d-0x65;var f=c[d];return f;},a62d(a,b);}import{execSync}from'child_process';Command[a62h(0x75)]({'name':a62h(0x73),'usage':a62h(0x70),'shortDesc':a62h(0x67),'validOpts':[]},async function(){var i=a62h;execSync(i(0x74),{'stdio':i(0x72)});},a62e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a63i=a63d;function a63d(a,b){var c=a63c();return a63d=function(d,e){d=d-0x115;var f=c[d];return f;},a63d(a,b);}function a63c(){var k=['6590aFrkls','1563944sDsOfE','24mrFrle','inherit','144423RDEYAc','toString','1146663WYDnOs','search','2725020cRxfwa','constructor','tetris','maka\x20game:tetris','(((.+)+)+)+$','459280iWSNHT','apply','1085382gbTZmN','create','npx\x20simple-tetris','Play\x20Tetris:\x20https://github.com/robertrypula/simple-tetris'];a63c=function(){return k;};return a63c();}(function(a,b){var f=a63d,c=a();while(!![]){try{var d=parseInt(f(0x122))/0x1+parseInt(f(0x123))/0x2+parseInt(f(0x126))/0x3+-parseInt(f(0x11c))/0x4+parseInt(f(0x117))/0x5+-parseInt(f(0x11e))/0x6+parseInt(f(0x115))/0x7*(-parseInt(f(0x124))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a63c,0x91283));var a63b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a63d;if(c){var e=c[g(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a63a=a63b(this,function(){var h=a63d;return a63a[h(0x127)]()[h(0x116)](h(0x11b))[h(0x127)]()[h(0x118)](a63a)[h(0x116)](h(0x11b));});a63a();import a63e from'./play.command.js';import{Command}from'../../command.js';import{execSync}from'child_process';Command[a63i(0x11f)]({'name':a63i(0x119),'usage':a63i(0x11a),'shortDesc':a63i(0x121),'validOpts':[]},async function(){var j=a63i;execSync(j(0x120),{'stdio':j(0x125)});},a63e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a64i=a64d;(function(a,b){const f=a64d,c=a();while(!![]){try{const d=-parseInt(f(0x18f))/0x1*(-parseInt(f(0x186))/0x2)+parseInt(f(0x19b))/0x3+parseInt(f(0x187))/0x4+-parseInt(f(0x181))/0x5+parseInt(f(0x199))/0x6*(-parseInt(f(0x191))/0x7)+-parseInt(f(0x19c))/0x8+parseInt(f(0x190))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a64c,0x5494c));function a64d(a,b){const c=a64c();return a64d=function(d,e){d=d-0x17f;let f=c[d];return f;},a64d(a,b);}const a64b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a64d;if(c){const e=c[g(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a64a=a64b(this,function(){const h=a64d;return a64a[h(0x192)]()[h(0x194)](h(0x19a))['toString']()['constructor'](a64a)[h(0x194)](h(0x19a));});a64a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a64c(){const k=['Scaffold\x20various\x20parts\x20of\x20your\x20application','Could\x20not\x20find\x20generator','apply','maka\x20g:scaffold\x20todos','maka\x20g:template\x20todos/todo_item','34763dOveeX','11531349zwEfId','7NDTcxr','toString','slice','search','error','generate','maka\x20g:api\x20trucks','findGenerator','3372714ppYCBn','(((.+)+)+)+$','933012rKNQhi','5071968XBZOZN','invoke','where','\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','Generators:','2555050ABQTLQ','maka\x20generate:scaffold\x20todos','dir','maka\x20{generate,\x20g}:<generator>\x20<name>','create','2IUDtDd','1706164uIpVLl','maka\x20g:route\x20todos/edit','help'];a64c=function(){return k;};return a64c();}import a64e from'../generators/maka.gen.js';import{UsageError}from'../error.js';Command[a64i(0x185)]({'name':a64i(0x196),'aliases':['g'],'usage':a64i(0x184),'validOpts':[a64i(0x183),a64i(0x19e),a64i(0x189)],'mustBeInMakaProject':!![],'isRoot':!![],'shortDesc':a64i(0x18a),'description':a64i(0x17f),'examples':[a64i(0x182),a64i(0x18d),a64i(0x18e),'maka\x20g:package\x20package:name',a64i(0x188),a64i(0x197),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},async function(a,b){const j=a64i,c=a[0x0],d=a64e[j(0x198)](c);if(!d){b[j(0x189)]?(Log['notice'](j(0x180)),a64e['listGenerators']()):Log[j(0x195)](j(0x18b));throw new UsageError();}await d[j(0x19d)](a[j(0x193)](0x1),b);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a65d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a65d,c=a();while(!![]){try{var d=parseInt(f(0x12e))/0x1+parseInt(f(0x130))/0x2*(parseInt(f(0x138))/0x3)+parseInt(f(0x12c))/0x4*(-parseInt(f(0x137))/0x5)+-parseInt(f(0x131))/0x6*(-parseInt(f(0x134))/0x7)+parseInt(f(0x12f))/0x8*(parseInt(f(0x12d))/0x9)+-parseInt(f(0x135))/0xa+-parseInt(f(0x132))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a65c,0x90c49));var a65b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a65d;if(c){var e=c[g(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a65a=a65b(this,function(){var h=a65d;return a65a['toString']()[h(0x136)]('(((.+)+)+)+$')['toString']()['constructor'](a65a)[h(0x136)]('(((.+)+)+)+$');});a65a();function a65c(){var i=['1086310BgZxlO','9284952IEaVkt','4206CuxKEe','1158tGvGfp','23864203rPCkmw','apply','19754LsOZQT','1647670iFBMOY','search','1385375rnKZOr','984GloGzK','8ozifHi','9BAHSAs'];a65c=function(){return i;};return a65c();}import'./get.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a65d(a,b){var c=a65c();return a65d=function(d,e){d=d-0x12c;var f=c[d];return f;},a65d(a,b);}import'./whoami.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a66i=a66d;(function(a,b){const f=a66d,c=a();while(!![]){try{const d
|
|
1
|
+
const a66i=a66d;function a66c(){const k=['6XcAibP','apply','Sub-Command\x20not\x20found','5376CdqAXY','29612ADzSaO','findSubCommand','1887605WJoULy','error','maka\x20get:<sub-command>','961176PqVssC','(((.+)+)+)+$','5548930aonQgH','1060160hlfKDo','177597iwJBkD','2632147UpLaVu','toString','runSubCommand','6dWFaYc','9OCteod','get','create','search','9acvRng'];a66c=function(){return k;};return a66c();}(function(a,b){const f=a66d,c=a();while(!![]){try{const d=parseInt(f(0x89))/0x1*(parseInt(f(0x8d))/0x2)+parseInt(f(0x92))/0x3*(parseInt(f(0x85))/0x4)+-parseInt(f(0x82))/0x5*(parseInt(f(0x93))/0x6)+parseInt(f(0x8a))/0x7+-parseInt(f(0x88))/0x8+-parseInt(f(0x8e))/0x9*(-parseInt(f(0x87))/0xa)+parseInt(f(0x80))/0xb*(-parseInt(f(0x7f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a66c,0x72632));const a66b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a66d;if(c){const e=c[g(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a66a=a66b(this,function(){const h=a66d;return a66a[h(0x8b)]()['search'](h(0x86))[h(0x8b)]()['constructor'](a66a)[h(0x91)]('(((.+)+)+)+$');});a66a();import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a66d(a,b){const c=a66c();return a66d=function(d,e){d=d-0x7e;let f=c[d];return f;},a66d(a,b);}import{UsageErrorWithSubs}from'../../error.js';const GetCommand=Command[a66i(0x90)]({'name':a66i(0x8f),'usage':a66i(0x84),'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Get\x20various\x20Maka\x20variables\x20and\x20configurations','validOpts':[]},async function(a,b){const j=a66i,c=a[0x0],d=this[j(0x81)](c);if(d)this[j(0x8c)](c,a,b);else{Log[j(0x83)](j(0x7e));throw new UsageErrorWithSubs();}});export default GetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a67i=a67d;(function(a,b){const f=a67d,c=a();while(!![]){try{const d=parseInt(f(0x130))/0x1+parseInt(f(0x133))/0x2*(-parseInt(f(0x13b))/0x3)+parseInt(f(0x142))/0x4*(-parseInt(f(0x138))/0x5)+-parseInt(f(0x132))/0x6+parseInt(f(0x140))/0x7*(parseInt(f(0x131))/0x8)+parseInt(f(0x12f))/0x9*(-parseInt(f(0x135))/0xa)+parseInt(f(0x13a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0xf15a5));function a67c(){const k=['2852316rrGDKh','86478wYxKRw','maka\x20get:global-config','5737180xwdRWg','error','toString','6871385NeELTs','create','22878218AHtHxN','57GLcSge','Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','exit','(((.+)+)+)+$','getGlobalConfig','14sHCQXZ','fsi','4DjwEhQ','search','apply','9KousIE','1475399yVtLxL','2713064FtQOFS'];a67c=function(){return k;};return a67c();}function a67d(a,b){const c=a67c();return a67d=function(d,e){d=d-0x12d;let f=c[d];return f;},a67d(a,b);}const a67b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a67d;if(c){const e=c[g(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a67a=a67b(this,function(){const h=a67d;return a67a[h(0x137)]()[h(0x12d)]('(((.+)+)+)+$')['toString']()['constructor'](a67a)[h(0x12d)](h(0x13e));});a67a();import a67e from'./get.command.js';import{Command}from'../../command.js';Command[a67i(0x139)]({'name':'global-config','usage':a67i(0x134),'aliases':['gc'],'shortDesc':a67i(0x13c),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a67i;try{const a=await this[j(0x141)][j(0x13f)]();console['log'](a),process[j(0x13d)](0x0);}catch(b){console[j(0x136)](b),process['exit'](0x0);}},a67e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a68i=a68d;(function(a,b){const f=a68d,c=a();while(!![]){try{const d
|
|
1
|
+
const a68i=a68d;(function(a,b){const f=a68d,c=a();while(!![]){try{const d=parseInt(f(0x1c1))/0x1+-parseInt(f(0x1ce))/0x2+-parseInt(f(0x1d1))/0x3+parseInt(f(0x1c9))/0x4*(-parseInt(f(0x1cf))/0x5)+-parseInt(f(0x1c7))/0x6*(-parseInt(f(0x1cb))/0x7)+-parseInt(f(0x1d3))/0x8+-parseInt(f(0x1cc))/0x9*(-parseInt(f(0x1c2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0x75e24));function a68c(){const k=['1457062dlyAEw','8635MbzZDL','toString','2070759naCxoZ','apply','6793416yiPoQF','458943uVHAsQ','71840PVlnmH','maka\x20get:local-config','constructor','(((.+)+)+)+$','log','774426GicDBi','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','212zAHuwo','local-config','49YSTApx','1854EfiBhn','create'];a68c=function(){return k;};return a68c();}const a68b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a68d;if(c){const e=c[g(0x1d2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a68a=a68b(this,function(){const h=a68d;return a68a[h(0x1d0)]()['search'](h(0x1c5))['toString']()[h(0x1c4)](a68a)['search'](h(0x1c5));});a68a();import a68e from'./get.command.js';function a68d(a,b){const c=a68c();return a68d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a68d(a,b);}import{Command}from'../../command.js';Command[a68i(0x1cd)]({'name':a68i(0x1ca),'usage':a68i(0x1c3),'mustBeInMakaProject':!![],'aliases':['lc'],'shortDesc':a68i(0x1c8),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const j=a68i,a=await this['fsi']['getProjectConfig']();console[j(0x1c6)](a);},a68e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a69c(){const l=['
|
|
1
|
+
const a69j=a69d;function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0x140;let f=c[d];return f;},a69d(a,b);}function a69c(){const l=['8DZozNu','(((.+)+)+)+$','274790gqDlWk','6137117JgoOvR','User\x20Access\x20Token:\x20\x20','getGlobalConfig','11128572NCaOqX','110QqywcY','notice','user','User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','search','26477500ITOIyX','decode','token','fsi','userId','roles','3jqPExb','exit','If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','maka\x20get:whoami','toString','362088AXIWIP','apply','16520697sEutbk','97916EvkdLS','hash','authToken','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','create'];a69c=function(){return l;};return a69c();}(function(a,b){const g=a69d,c=a();while(!![]){try{const d=parseInt(g(0x150))/0x1*(parseInt(g(0x140))/0x2)+-parseInt(g(0x155))/0x3+-parseInt(g(0x158))/0x4*(-parseInt(g(0x145))/0x5)+parseInt(g(0x144))/0x6+-parseInt(g(0x141))/0x7+parseInt(g(0x15e))/0x8*(parseInt(g(0x157))/0x9)+-parseInt(g(0x14a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0xf3265));const a69b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a69d;if(c){const e=c[h(0x156)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a69a=a69b(this,function(){const i=a69d;return a69a[i(0x154)]()[i(0x149)](i(0x15f))[i(0x154)]()['constructor'](a69a)[i(0x149)](i(0x15f));});a69a();import a69e from'./get.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a69f from'jsonwebtoken';Command[a69j(0x15d)]({'name':'whoami','usage':a69j(0x153),'shortDesc':a69j(0x152),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},async function(){const k=a69j;try{const a=await this[k(0x14d)][k(0x143)]();if(a[k(0x159)]){const b=a69f[k(0x14b)](a['hash']);Log[k(0x146)](k(0x15b)+b?.[k(0x147)]),Log[k(0x146)](k(0x148)+a['token']?.[k(0x14e)]),Log['notice'](k(0x142)+a[k(0x14c)]?.[k(0x15a)]),Log['notice'](k(0x15c)+b?.[k(0x14f)]['join'](',\x20'));}}catch(c){console['error'](c),process[k(0x151)](0x0);}},a69e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a70d(a,b){var c=a70c();return a70d=function(d,e){d=d-0x124;var f=c[d];return f;},a70d(a,b);}var a70h=a70d;(function(a,b){var f=a70d,c=a();while(!![]){try{var d=parseInt(f(0x12e))/0x1*(-parseInt(f(0x12b))/0x2)+parseInt(f(0x12c))/0x3*(-parseInt(f(0x131))/0x4)+-parseInt(f(0x124))/0x5*(parseInt(f(0x129))/0x6)+-parseInt(f(0x12f))/0x7*(-parseInt(f(0x132))/0x8)+parseInt(f(0x136))/0x9+-parseInt(f(0x12d))/0xa+parseInt(f(0x126))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0x31bc4));var a70b=(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;};}()),a70a=a70b(this,function(){var g=a70d;return a70a[g(0x134)]()[g(0x12a)](g(0x133))['toString']()[g(0x125)](a70a)[g(0x12a)](g(0x133));});a70a();function a70c(){var i=['3783190CCPatw','655CDPWOe','262899jxzXNc','Deprecated:\x20use\x20--help\x20instead','64WVaRKN','64mThAna','(((.+)+)+)+$','toString','Try,\x20maka\x20--help','2865240HkBnaX','15pntnkk','constructor','10810140SWUinF','create','help','747114mTeLrW','search','1096hkbdaL','53817XAMsOS'];a70c=function(){return i;};return a70c();}import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a70h(0x127)]({'name':a70h(0x128),'description':a70h(0x135),'aliases':['h'],'validOpts':[],'shortDesc':a70h(0x130)},async function(){throw new UsageError();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a71m=a71d;(function(a,b){const j=a71d,c=a();while(!![]){try{const d
|
|
1
|
+
const a71m=a71d;(function(a,b){const j=a71d,c=a();while(!![]){try{const d=parseInt(j(0x1e2))/0x1*(parseInt(j(0x1f5))/0x2)+-parseInt(j(0x1ff))/0x3*(-parseInt(j(0x1fd))/0x4)+parseInt(j(0x201))/0x5*(parseInt(j(0x1ef))/0x6)+parseInt(j(0x1ee))/0x7+parseInt(j(0x1d3))/0x8+-parseInt(j(0x1fc))/0x9+-parseInt(j(0x1e7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0xdb401));const a71b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a71d;if(c){const e=c[k(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a71a=a71b(this,function(){const l=a71d;return a71a[l(0x1ea)]()[l(0x1fe)](l(0x1de))['toString']()[l(0x1ec)](a71a)['search'](l(0x1de));});a71a();import a71e from'path';import a71f from'fs';import{execSync}from'child_process';import{Command}from'../command.js';function a71c(){const o=['(((.+)+)+)+$','Running\x20','logWithSpinner','maka\x20jsdoc\x20--init','1RglcJn','isFile','\x0a[+]\x20Documentation\x20written\x20to\x20','utf-8','jsdoc','9694950HkYjoi','fsi','writeFileSync','toString','docs','constructor','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','8871324KorcLq','20472UMfACV','\x20-c\x20','plugins/markdown','sep','closure','app/node_modules','662154TbgSJg','pathFromProject','maka\x20jsdoc','inherit','stop','jsdoc-config.json','logError','14893290mcqXQj','4pNKPNI','search','2496198bcXALH','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','1290RtDIXd','\x20-d\x20','app/private','1692664rpaFwa','logNotice','create','apply','join','app/packages','stringify','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','config','\x20-r\x20app','app/public'];a71c=function(){return o;};return a71c();}function a71d(a,b){const c=a71c();return a71d=function(d,e){d=d-0x1d1;let f=c[d];return f;},a71d(a,b);}Command[a71m(0x1d5)]({'name':'jsdoc','usage':'maka\x20jsdoc','mustBeInMakaProject':!![],'shortDesc':a71m(0x200),'examples':[a71m(0x1e1),a71m(0x1f7)],'validOpts':[]},function(){const n=a71m,a=a71e[n(0x1d7)](this['fsi'][n(0x1f6)]({}),n(0x1eb)+a71e[n(0x1f2)]),b=a71e[n(0x1d7)](this[n(0x1e8)][n(0x1f6)]({}),n(0x1db),n(0x1fa)),c=this[n(0x1e8)][n(0x1f6)]({}),d='jsdoc';if(!this[n(0x1e3)](b)){const g={'plugins':[n(0x1f1)],'tags':{'allowUnknownTags':!![],'dictionaries':[n(0x1e6),n(0x1f3)]},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':n(0x1da),'exclude':[n(0x1d8),n(0x1f4),n(0x1dd),n(0x1d2)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':n(0x1e5)}};a71f[n(0x1e9)](b,JSON[n(0x1d9)](g,null,0x4));}const f=this[n(0x1e0)](n(0x1df)+d);try{const h=d+n(0x1f0)+b+n(0x1dc)+a71e[n(0x1f2)]+n(0x1d1)+a;execSync(h,{'cwd':c,'stdio':n(0x1f8)}),this[n(0x1d4)](n(0x1e4)+a);}catch(i){this[n(0x1fb)](i),this[n(0x1fb)](n(0x1ed));}finally{f[n(0x1f9)]();}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a72s=a72d;(function(a,b){const p=a72d,c=a();while(!![]){try{const d
|
|
1
|
+
const a72s=a72d;(function(a,b){const p=a72d,c=a();while(!![]){try{const d=parseInt(p(0x98))/0x1*(parseInt(p(0x9e))/0x2)+-parseInt(p(0x9b))/0x3+-parseInt(p(0x84))/0x4+parseInt(p(0x91))/0x5+-parseInt(p(0x87))/0x6*(parseInt(p(0x8b))/0x7)+parseInt(p(0x93))/0x8*(parseInt(p(0x8c))/0x9)+-parseInt(p(0x80))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0x5cad6));function a72c(){const u=['8GfKQEz','/imports','service','format','lint','143265pUtgqN','eslint','push','1900620OmTyGb','fix','constructor','8KvOoty','installNpmPackage','checkNpmPackage','join','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','template','findAppDirectory','loadFormatter','eslint/eslintrc.json','isFile','notice','All\x20good!\x20:)','maka\x20lint','.eslintrc.json','1314530QgtOeW','fsi','eslint-plugin-css','Lint\x20results\x20for\x20','1863000MrHMBA','outputFixes','\x0a\x20\x20Lint\x20the\x20\x22./app/imports\x22\x20directory.\x0a\x0a\x20\x20This\x20command\x20will\x20install\x20and\x20conigure\x20ESLint\x20if\x20not\x20already\x20setup.\x0a\x0a\x20\x20You\x20can\x20find\x20the\x20eslint\x20config\x20at\x20\x22./app/.eslintrc.json\x22\x0a\x20\x20','14808IVdktV','length','lintFiles','create','329dyMCCK','3669651jCfRcA','(((.+)+)+)+$','toString','eslint-plugin-react','search','3727730gcQUDz','apply'];a72c=function(){return u;};return a72c();}function a72d(a,b){const c=a72c();return a72d=function(d,e){d=d-0x80;let f=c[d];return f;},a72d(a,b);}const a72b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a72d;if(c){const e=c[q(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a72a=a72b(this,function(){const r=a72d;return a72a[r(0x8e)]()['search'](r(0x8d))[r(0x8e)]()[r(0x9d)](a72a)[r(0x90)](r(0x8d));});a72a();import a72e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command[a72s(0x8a)]({'name':a72s(0x97),'usage':a72s(0xaa),'maxArgLength':0x1,'validOpts':[a72s(0x9c)],'mustBeInMakaProject':!![],'shortDesc':a72s(0xa2),'description':a72s(0x86),'examples':['maka\x20lint\x20--fix']},async function(a,b){const t=a72s;try{const c=this[t(0x81)][t(0xa4)](),d=this[t(0x81)][t(0xa0)](t(0x99)),f=this['fsi'][t(0xa0)](t(0x8f)),g=this[t(0x81)][t(0xa0)](t(0x82)),h=[];!d&&h[t(0x9a)](t(0x99));!f&&h[t(0x9a)](t(0x8f));!g&&h[t(0x9a)](t(0x82));h['length']>0x0&&await this['fsi'][t(0x9f)](h['join']('\x20'),{'dev':!![]});const i=this['fsi'][t(0xa7)](a72e['join'](c,t(0xab)));if(!i){const n={'noRename':!![]};await this[t(0x81)][t(0xa3)]({'srcPath':t(0xa6),'destPath':a72e['join'](c,'.eslintrc.json'),'framework':t(0x95),'context':n});}const j=new ESLint(),k=await j[t(0x89)]([a72e[t(0xa1)](c,'imports','**')]),l=await j[t(0xa5)]('stylish'),m=l[t(0x96)](k);m[t(0x88)]>0x0?Log['bright'](m):Log['success'](t(0xa9)),Log[t(0xa8)](t(0x83)+c+t(0x94)),b[t(0x9c)]?await ESLint[t(0x85)](k):Log['notice']('Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix');}catch(o){console['error'](o);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a73z=a73d;function a73d(a,b){const c=a73c();return a73d=function(d,e){d=d-0x16c;let f=c[d];return f;},a73d(a,b);}(function(a,b){const w=a73d,c=a();while(!![]){try{const d=-parseInt(w(0x179))/0x1+parseInt(w(0x195))/0x2+parseInt(w(0x19c))/0x3*(parseInt(w(0x177))/0x4)+-parseInt(w(0x16c))/0x5*(-parseInt(w(0x19d))/0x6)+-parseInt(w(0x19f))/0x7*(parseInt(w(0x1a2))/0x8)+-parseInt(w(0x181))/0x9*(-parseInt(w(0x172))/0xa)+parseInt(w(0x17c))/0xb*(-parseInt(w(0x192))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0x4ab2a));const a73b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a73d;if(c){const e=c[x(0x16e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a73a=a73b(this,function(){const y=a73d;return a73a[y(0x16d)]()[y(0x187)](y(0x18f))['toString']()['constructor'](a73a)[y(0x187)](y(0x18f));});a73a();import a73e 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 a73c(){const B=['/api/v1/login','get','search','cert','login','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','fsi','start','env','error','(((.+)+)+)+$','email','post','2364WIlido','help','Logging\x20into\x20https://','712992BrfXXC','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','/api/v1/encodeJwt','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','success','header','parse','15531iabQVo','39594PdKgsR','www.maka-cli.com','14OyZpPg','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','digest','52944LKXOIA','Using\x20CA\x20Cert\x20','isFile','password','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','maka\x20login','notice','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','275qfVNyp','toString','apply','withSpinner','assign','localhost','92740sfwjFu','ask','https://','/api/v1/status','toHex','76SeFcVg','create','399661TwOxor','update','authToken','24167RdMbLj','Preflight\x20Check','sha256','Logging\x20in','Password:\x20','324DDapGf','setGlobalConfig','cacert','failure'];a73c=function(){return B;};return a73c();}const hostname=process[a73z(0x18d)]['MAKA_DEV']==='True'?a73z(0x171):a73z(0x19e);Command['create']({'name':a73z(0x189),'validOpts':['email',a73z(0x1a5),a73z(0x193),a73z(0x183),'debug'],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a73z(0x1a0),'examples':[a73z(0x1a7),a73z(0x18a)]},async function(a,b){const A=a73z,c=Log[A(0x16f)]();try{let d='';b[A(0x183)]&&(this[A(0x18b)][A(0x1a4)](b['cacert'])?(d=b[A(0x183)],Log[A(0x1a8)](A(0x1a3)+d)):Log[A(0x18e)](A(0x1a6)+d));const f=await this[A(0x18b)]['getGlobalConfig']();if(f[A(0x188)]){if(this['fsi']['isFile'](f[A(0x188)]))d=f[A(0x188)];else{Log[A(0x18e)](A(0x198)+d);return;}}Log[A(0x19a)](A(0x194)+hostname);const g={'url':A(0x174)+hostname+A(0x175)};b[A(0x183)]&&Object['assign'](g,{'cert':d});c[A(0x18c)](A(0x17d));const {statusCode:h}=await HTTPS[A(0x186)](g);if(h===0x198){c[A(0x184)]();throw A(0x196);}if(h!==0xc8){c[A(0x184)]();throw'https://'+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c['success']();const i=b[A(0x190)]?b[A(0x190)]:await Actions[A(0x173)]('Email:'),j=b[A(0x1a5)]?b['password']:await Actions[A(0x173)](A(0x180),!![]),k=a73e['md'][A(0x17e)][A(0x178)]();k[A(0x17a)](j);const l=k[A(0x1a1)]()[A(0x176)](),m={'hostname':hostname,'path':A(0x185),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0x183)]&&Object[A(0x170)](m,{'cert':d});c[A(0x18c)](A(0x17f));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[A(0x184)]('\x0a');throw A(0x1a9)+hostname;}const p=JSON['parse'](n);if(p[A(0x17b)]){const q={'hostname':hostname,'path':A(0x197),'headers':{'x-auth-token':p['authToken']},'data':{}};b['cacert']&&Object[A(0x170)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x191)](q),{token:t}=JSON[A(0x19b)](r);if(s===0x198)throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;const u={'token':p,'hash':t};this[A(0x18b)][A(0x182)](u);}else{c['failure']();throw p;}c[A(0x199)]();}catch(v){c[A(0x184)](),console[A(0x18e)](v),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a74o=a74d;(function(a,b){const l=a74d,c=a();while(!![]){try{const d=-parseInt(l(
|
|
1
|
+
const a74o=a74d;(function(a,b){const l=a74d,c=a();while(!![]){try{const d=-parseInt(l(0xa4))/0x1*(parseInt(l(0xb0))/0x2)+parseInt(l(0xab))/0x3+parseInt(l(0x8b))/0x4+parseInt(l(0xa5))/0x5+parseInt(l(0x88))/0x6*(-parseInt(l(0xb5))/0x7)+parseInt(l(0xb1))/0x8*(-parseInt(l(0x8d))/0x9)+-parseInt(l(0xa0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0x3c8fc));const a74b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a74d;if(c){const e=c[m(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a74a=a74b(this,function(){const n=a74d;return a74a[n(0xa7)]()[n(0x97)](n(0xa9))[n(0xa7)]()[n(0x96)](a74a)[n(0x97)](n(0xa9));});function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0x87;let f=c[d];return f;},a74d(a,b);}a74a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a74c(){const q=['2JeFIft','24YFhTxs','authToken','create','Using\x20CA\x20Cert\x20','5761qShFqn','withSpinner','/api/v1/logoutAll','getGlobalConfig','fsi','Logging\x20out','888TUSMnH','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','/api/v1/status','1735348jYvveU','www.maka-cli.com','344007OucJDN','cacert','logout','notice','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','cert','MAKA_DEV','Preflight\x20Check','constructor','search','failure','maka\x20logout','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','start','isFile','token','apply','Logging\x20out\x20of\x20https://','1330970AadXMO','error','post','setGlobalConfig','216464LzbMSu','579405RpyxjZ','exit','toString','https://','(((.+)+)+)+$','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','853128XaMvDz','success','header','localhost','assign'];a74c=function(){return q;};return a74c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env'][a74o(0x94)]==='True'?a74o(0xae):a74o(0x8c);Command[a74o(0xb3)]({'name':a74o(0x8f),'validOpts':[a74o(0x8e)],'usage':a74o(0x99),'maxArgLength':0x2,'shortDesc':a74o(0x9a),'disableAuthCheck':!![],'examples':[a74o(0x99)]},async function(a,b){const p=a74o,c=Log[p(0xb6)]();try{let d='';b['cacert']&&(this['fsi']['isFile'](b[p(0x8e)])?(d=b['cacert'],Log[p(0x90)](p(0xb4)+d)):Log[p(0xa1)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[p(0xb9)][p(0xb8)]();if(f[p(0x93)]){if(this[p(0xb9)][p(0x9c)](f[p(0x93)]))d=f[p(0x93)];else{c[p(0x98)]();throw Log[p(0xa1)](p(0x89)+d);}}Log[p(0xad)](p(0x9f)+hostname);const g={'url':p(0xa8)+hostname+p(0x8a)};b[p(0x8e)]&&Object[p(0xaf)](g,{'cert':d});c[p(0x9b)](p(0x95));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[p(0x98)]();throw p(0x91);}c[p(0xac)]();if(h!==0xc8){c['failure']();throw p(0xaa);}if(!f?.['token']?.[p(0xb2)])throw Log[p(0xa1)](p(0x92));c['start'](p(0x87));const i={'hostname':hostname,'path':p(0xb7),'data':{},'headers':{'x-auth-token':f[p(0x9d)]['authToken']}};b[p(0x8e)]&&Object[p(0xaf)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0xa2)](i);if(j===0x198){c[p(0x98)]('\x0a');throw p(0x91);}this[p(0xb9)][p(0xa3)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console[p(0xa1)](k),process[p(0xa6)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a75j=a75d;function a75c(){const l=['860340jCQMFt','maka\x20l\x20-e\x20p','parse','249221aMPazU','7407103DcCyNM','461691ZUDLDX','assign','toString','constructor','sshSync','56XCcGvn','env','readFileSync','6YhJixL','maka\x20logs','verbose','10iFrowR','join','maka\x20logs\x20--env\x20staging','search','333345Hwhyfg','81306TVQJrh','pm2\x20logs','2ftKUHu','ssh.json','log','(((.+)+)+)+$','1813679jcGKBN'];a75c=function(){return l;};return a75c();}(function(a,b){const h=a75d,c=a();while(!![]){try{const d=-parseInt(h(0x115))/0x1*(parseInt(h(0x129))/0x2)+parseInt(h(0x117))/0x3+-parseInt(h(0x12e))/0x4+parseInt(h(0x126))/0x5+-parseInt(h(0x11f))/0x6*(parseInt(h(0x12d))/0x7)+parseInt(h(0x11c))/0x8*(parseInt(h(0x127))/0x9)+parseInt(h(0x122))/0xa*(parseInt(h(0x116))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0x3912e));const a75b=(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;};}()),a75a=a75b(this,function(){const i=a75d;return a75a['toString']()[i(0x125)](i(0x12c))[i(0x119)]()[i(0x11a)](a75a)[i(0x125)](i(0x12c));});a75a();import a75e from'fs';import a75f from'path';function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x115;let f=c[d];return f;},a75d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':'logs','aliases':['l',a75j(0x12b)],'usage':a75j(0x120),'requiredOpts':[a75j(0x11d)],'mustBeInMakaProject':!![],'validOpts':[a75j(0x121)],'shortDesc':'View\x20the\x20PM2\x20logs','examples':['maka\x20logs\x20--env\x20dev',a75j(0x124),a75j(0x12f)]},function(a,b){const k=a75j,c=k(0x128),d=this['fsi']['getConfigPath'](b[k(0x11d)]),e=a75f[k(0x123)](d,k(0x12a)),f=a75e[k(0x11e)](e),g=JSON[k(0x130)](f[k(0x119)]());Object[k(0x118)](g,{'env':d}),SSH[k(0x11b)](c,g,{'tty':!![],'verbose':!![]});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-
|
|
1
|
+
function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x1e0;let f=c[d];return f;},a76d(a,b);}const a76j=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=-parseInt(g(0x1e9))/0x1*(parseInt(g(0x1fb))/0x2)+-parseInt(g(0x1eb))/0x3*(-parseInt(g(0x1f5))/0x4)+parseInt(g(0x1ea))/0x5+parseInt(g(0x1fa))/0x6*(-parseInt(g(0x1f3))/0x7)+-parseInt(g(0x1f8))/0x8*(-parseInt(g(0x1f6))/0x9)+parseInt(g(0x1e0))/0xa+-parseInt(g(0x1e3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x8020c));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0x1ee)]()[i(0x1e4)](i(0x1f4))[i(0x1ee)]()['constructor'](a76a)['search']('(((.+)+)+)+$');});a76a();import{Command}from'../command.js';const Maka=new Command({'name':a76j(0x1ef),'minArgLength':0x1,'shortDesc':a76j(0x1e1),'validOpts':[],'usage':a76j(0x1f9),'disableAuthCheck':!![],'examples':[a76j(0x1f1),a76j(0x1f2),a76j(0x1e2),a76j(0x1e5)],'description':a76j(0x1e7)},async function(a,b){const k=a76j;try{const c=a[0x0],d=this[k(0x1e8)](c);d?this['runSubCommand'](c,a['slice'](0x1),b):this[k(0x1ec)][k(0x1ed)]();}catch(f){console[k(0x1f0)](f),process[k(0x1f7)](0x1);}});function a76c(){const l=['2261020eksWAr','1133562vnJyqQ','fsi','maybeProxyCommandToMeteor','toString','maka','error','maka\x20--help','maka\x20install\x20meteor','7KvBPxT','(((.+)+)+)+$','8LxnZqq','9lmlQTn','exit','1975992pwiXVA','maka\x20<command>\x20[<args>]\x20[<opts>]','347202ENkWMJ','154hexihi','3364350ORcByg','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','maka\x20create\x20Todo','3958856kFmRId','search','maka\x20run','apply','\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','findSubCommand','11023PehuCa'];a76c=function(){return l;};return a76c();}export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a77h=a77d;(function(a,b){var f=a77d,c=a();while(!![]){try{var d=parseInt(f(0x1b9))/0x1+-parseInt(f(0x1b4))/0x2+-parseInt(f(0x1bd))/0x3*(parseInt(f(0x1aa))/0x4)+-parseInt(f(0x1bc))/0x5*(-parseInt(f(0x1ae))/0x6)+parseInt(f(0x1b8))/0x7*(parseInt(f(0x1b3))/0x8)+parseInt(f(0x1ab))/0x9+-parseInt(f(0x1af))/0xa*(parseInt(f(0x1b5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xca4d5));function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x1aa;var f=c[d];return f;},a77d(a,b);}var a77b=(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;};}()),a77a=a77b(this,function(){var g=a77d;return a77a[g(0x1b2)]()['search'](g(0x1ba))['toString']()[g(0x1b0)](a77a)['search'](g(0x1ba));});function a77c(){var j=['6358532EvmLTS','14142285KrFqcg','Murrrrderrrrr','log','6fmbtpw','4270mDIFsI','constructor','maka\x20murder','toString','10930152YNroom','519094fRuBEm','77011GnPgQg','create','exit','7WMsnOr','1384677wGKGQG','(((.+)+)+)+$','%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','6724625WfkgNq','3NyXOlr'];a77c=function(){return j;};return a77c();}a77a();import{Command}from'../command.js';Command[a77h(0x1b6)]({'name':'murder','usage':a77h(0x1b1),'maxArgLength':0x1,'shortDesc':a77h(0x1ac),'validOpts':[]},async function(){var i=a77h;try{console[i(0x1ad)](i(0x1bb),'font-family:\x20monospace');}catch(a){console['error'](a),process[i(0x1b7)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=parseInt(n(
|
|
1
|
+
const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=parseInt(n(0x1dd))/0x1+parseInt(n(0x1e0))/0x2+-parseInt(n(0x1eb))/0x3+-parseInt(n(0x1d8))/0x4+parseInt(n(0x1d3))/0x5*(-parseInt(n(0x1e6))/0x6)+parseInt(n(0x1c9))/0x7*(-parseInt(n(0x1e4))/0x8)+parseInt(n(0x1d9))/0x9*(parseInt(n(0x1da))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x5e3af));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0x1e5)]()[p(0x1c1)](p(0x1d0))['toString']()[p(0x1c6)](a78a)[p(0x1c1)](p(0x1d0));});function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x1bf;let f=c[d];return f;},a78d(a,b);}a78a();import a78e from'fs';function a78c(){const s=['.crt','fsi','appName','1016KiKCBk','toString','3223032ovQCvl','getConfigPath','sslconfig','genSSC','join','302268roXpAq','genCSR','getProjectConfig','maka\x20proxy','search','bright','targetPort','localhost','.csr','constructor','create','createProxyServer','32137VZCghl','readFileSync','findGenerator','error','.key','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','apply','(((.+)+)+)+$','isFile','invoke','5aBgaat','targetHost','listen','\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','=>\x20SSL\x20Proxy\x20forwarding\x20','233024LGAdfC','69273MPriTt','2030yQlmQw','proxy','help','5482oSdXoQ','listenPort','utf8','194470wgRYjY'];a78c=function(){return s;};return a78c();}import a78f from'path';import a78g 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';import a78h from'../generators/maka.gen.js';Command[a78q(0x1c7)]({'name':a78q(0x1db),'usage':a78q(0x1c0),'mustBeInMakaProject':!![],'validOpts':[a78q(0x1dc),a78q(0x1c3),a78q(0x1de),'targetHost'],'maxArgLength':0x1,'shortDesc':a78q(0x1ce),'description':a78q(0x1d6),'examples':[a78q(0x1c0),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a78q,c=this['fsi'][r(0x1bf)](),d='development',e=this[r(0x1e2)][r(0x1e7)](d),f=this['fsi']['mkKeysDir']({'configPath':e}),g=b['targetPort']?Number(b[r(0x1c3)]):0xbb8,h=b['listenPort']?Number(b[r(0x1de)]):0xd73,i=b[r(0x1d4)]?b[r(0x1d4)]:r(0x1c4),j=a78f[r(0x1ea)](f,c[r(0x1e3)]+r(0x1cd)),k=a78f[r(0x1ea)](f,c[r(0x1e3)]+r(0x1e1));if(!this[r(0x1e2)][r(0x1d1)](j)||!this[r(0x1e2)][r(0x1d1)](k)){const m=a78h[r(0x1cb)](r(0x1e8));m&&await m[r(0x1d2)]([r(0x1e8)],{'env':d}),SSL[r(0x1ec)]({'keyName':c[r(0x1e3)]+r(0x1cd),'csrName':c['appName']+r(0x1c5),'cwd':f}),SSL[r(0x1e9)]({'keyName':c[r(0x1e3)]+'.key','crtName':c[r(0x1e3)]+r(0x1e1),'cwd':f});}if(g===h){Log[r(0x1cc)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a78e[r(0x1ca)](j,r(0x1df)),'cert':a78e[r(0x1ca)](k,r(0x1df))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[r(0x1c8)](l)[r(0x1d5)](Number(h)),Log[r(0x1c2)](r(0x1d7)+h+'\x20to\x20'+g);});
|