@maka/maka-cli 5.1.14 → 5.1.15

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 (172) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/testCmd/_index.js +1 -1
  100. package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -1
  101. package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -1
  102. package/bundle/obf/src/commands/testCmd/test.command.js +1 -1
  103. package/bundle/obf/src/commands/undo.js +1 -1
  104. package/bundle/obf/src/commands/version/_index.js +1 -1
  105. package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -1
  106. package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -1
  107. package/bundle/obf/src/commands/version/version.js +1 -1
  108. package/bundle/obf/src/error.js +1 -1
  109. package/bundle/obf/src/exec.js +1 -1
  110. package/bundle/obf/src/generator.js +1 -1
  111. package/bundle/obf/src/generators/_index.js +1 -1
  112. package/bundle/obf/src/generators/api.js +1 -1
  113. package/bundle/obf/src/generators/aws/_index.js +1 -1
  114. package/bundle/obf/src/generators/aws/aws.js +1 -1
  115. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  116. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  117. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  118. package/bundle/obf/src/generators/collection.js +1 -1
  119. package/bundle/obf/src/generators/component.js +1 -1
  120. package/bundle/obf/src/generators/config.js +1 -1
  121. package/bundle/obf/src/generators/dbc.js +1 -1
  122. package/bundle/obf/src/generators/dockerfile.js +1 -1
  123. package/bundle/obf/src/generators/hook.js +1 -1
  124. package/bundle/obf/src/generators/kits/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  126. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  127. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  128. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  130. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  131. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  132. package/bundle/obf/src/generators/kits/kit.js +1 -1
  133. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  134. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  135. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  136. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  137. package/bundle/obf/src/generators/layout.js +1 -1
  138. package/bundle/obf/src/generators/maka.gen.js +1 -1
  139. package/bundle/obf/src/generators/methods.js +1 -1
  140. package/bundle/obf/src/generators/package.js +1 -1
  141. package/bundle/obf/src/generators/page.js +1 -1
  142. package/bundle/obf/src/generators/publish.js +1 -1
  143. package/bundle/obf/src/generators/route.js +1 -1
  144. package/bundle/obf/src/generators/service.js +1 -1
  145. package/bundle/obf/src/generators/services/_index.js +1 -1
  146. package/bundle/obf/src/generators/services/openssl.js +1 -1
  147. package/bundle/obf/src/generators/services/translation.js +1 -1
  148. package/bundle/obf/src/maka.js +1 -1
  149. package/bundle/obf/src/tool.js +1 -1
  150. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  151. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  152. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  153. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  154. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  155. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  157. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  158. package/bundle/obf/src/tools/https/https.class.js +1 -1
  159. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  160. package/bundle/obf/src/tools/log/log.class.js +1 -1
  161. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  163. package/bundle/obf/src/tools/options/options.class.js +1 -1
  164. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  165. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  166. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  167. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  168. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  169. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  170. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  171. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  172. package/package.json +1 -1
@@ -1 +1 @@
1
- const a165z=a165d;(function(a,b){const v=a165d,c=a();while(!![]){try{const d=-parseInt(v(0x1a0))/0x1+parseInt(v(0x1b0))/0x2+-parseInt(v(0x21a))/0x3*(-parseInt(v(0x1a7))/0x4)+-parseInt(v(0x1b4))/0x5*(-parseInt(v(0x19e))/0x6)+parseInt(v(0x187))/0x7+parseInt(v(0x1bc))/0x8*(-parseInt(v(0x1a5))/0x9)+-parseInt(v(0x1f4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a165c,0xc506b));const a165b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a165d;if(c){const e=c[w(0x1fd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a165a=a165b(this,function(){const x=a165d;return a165a[x(0x20a)]()[x(0x1f6)]('(((.+)+)+)+$')['toString']()[x(0x1d5)](a165a)[x(0x1f6)]('(((.+)+)+)+$');});a165a();import a165e from'path';import a165f from'fs';import a165g from'util';import{exec}from'child_process';import a165h from'delete';function a165c(){const a7=['.js','\x20updated\x20file\x20','Dockerfile','join','apply','rewriteSourcePathForEngine()','.js.ts','createEmptyMeteorProject','type','slice','pop','alpha','--release\x20','isTemplateForEngine','copyTemplateDirectory()','error','While\x20injecting\x20','toString','splice','engineAndTypeFromfilePath','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content.','No\x20configuration\x20so\x20can\x27t\x20determine\x20engines.','isTemplateForEngine()','pathFromAppWithNoReWrite()','templateContent()','indexOf','\x5cS*$','adjustIndentation','stringify','push','True','keys','.jsx','116553xWbxNW','startsWith','readdirSync','warn','Error\x20in\x20','map','No\x20filePath\x20provided\x20to\x20injectAtBeginningOfFile()','injectAroundString','detectIndentation','includes','No\x20pathParts\x20option\x20provided','yaml','[\x5cs\x5cS]*?)(','html','concat','ico','none','4815776KnrpPs','\x20}\x20from\x20\x27','verbose','templateContent','injectTemplateModule()','template','injectAtBeginningOfFile','relative','isArray','Couldn\x27t\x20find\x20a\x20source\x20template\x20in\x20','Directory\x20','ssr','No\x20file\x20found\x20to\x20inject\x20content\x20into\x20at\x20path\x20','env','endsWith','fileContainsString','No\x20file\x20found\x20at\x20path\x20','import\x20','isDirectory','rewriteDestinationPathForEngine()','render','injectAtEndOfFile','Meteor\x20project\x20already\x20exists\x20at\x20','6AMfGmW','copyTemplateDirectory','1040816kDosFS','rewriteDestinationPathForType','pathFromApp()','injectIntoFile','platform','9mMOLLC','startup','124GvxtDp','exit','\x27;\x0a','engineAndTypeFromfilePath()','utf8','normalize','.meteor','replace','rewriteDestinationPathForEngine','1077782OEvLia','fsi','from\x20\x22','findAppDirectory','4346225CfNkez','templates','tsx','instance','engines','cwd','message','existsSync','8990624zEWtEn','some','writeSourcePath','less','injectAroundString()','injectImport','match','header','\x20doesn\x27t\x20exist','No\x20app\x20directory\x20found','forEach','templates.js','writeFileSync','base64','.tsx','pathFromTemplates','Creating\x20a\x20new\x20Meteor\x20project\x20with\x20an\x20alpha\x20release:\x20','template()','meteor','getCommonIndentSize','MAKA_DEV','trim','--minimal','readFileSync','engine','constructor','jsx','import\x20{\x20','\x20create\x20','png','injectAtBeginningOfFile()','mpi','.js.tsx','noRename','getInstance','sep','Looking\x20for\x20','calculateMode','filter','src/templates/','isFile','release','reduce','injectAfterLineNumber','repeat','pathFromTemplates()','split','css','win32','lib','rewriteSourcePathForEngine','promisify','createDirectory','createFile','pathFromApp','\x20->','3288220TVEvkm','from\x20\x27','search','injectImport()','length'];a165c=function(){return a7;};return a165c();}import a165i from'ejs';function a165d(a,b){const c=a165c();return a165d=function(d,e){d=d-0x17d;let f=c[d];return f;},a165d(a,b);}import{pascalCase}from'change-case';import{Log}from'../log/log.class.js';const errorHandler=(a,b)=>{const y=a165d;process['env'][y(0x1d0)]===y(0x217)&&Log[y(0x208)](y(0x21e)+a),b&&console[y(0x208)](b);},isWin=process[a165z(0x1a4)]===a165z(0x1ec),treeSymbol=isWin?a165z(0x1f3):'\x20┗';export class Scaffold{static ['instance'];[a165z(0x1b1)];[a165z(0x1db)];constructor(a,b){const A=a165z;this[A(0x1b1)]=a,this[A(0x1db)]=b;}static[a165z(0x1de)](a,b){const B=a165z;return!Scaffold['instance']&&(Scaffold[B(0x1b7)]=new Scaffold(a,b)),Scaffold[B(0x1b7)];}async[a165z(0x200)](a,b){const C=a165z;b['cwd']=b[C(0x1b9)]||'.';const c=a165e['join'](b[C(0x1b9)],a),d=a165e['join'](c,C(0x1ad));if(this['fsi'][C(0x199)](d))throw new Error(C(0x19d)+JSON[C(0x215)](c));const e=C(0x1d2),f=a165e[C(0x1fc)](b[C(0x1b9)]),g=a165g[C(0x1ef)](exec),h=b['release']?C(0x205)+b[C(0x1e5)]:'';b[C(0x1e5)]&&b[C(0x1e5)][C(0x17f)](C(0x204))&&(Log[C(0x21d)](C(0x1cc)+b[C(0x1e5)]),Log['warn']('Please\x20report\x20any\x20issues\x20to\x20https://github.com/maka-io/maka-cli/issues'));try{await g(this['mpi'][C(0x1ce)]+C(0x1d8)+a+'\x20'+e+'\x20'+h,{'cwd':f});}catch(k){Log[C(0x208)]('\x0a'+k[C(0x1ba)]);throw k;}const i=a165e[C(0x1fc)](f,a);if(!a165f[C(0x1bb)](i))throw new Error(C(0x191)+i+C(0x1c4));const j=a165f[C(0x21c)](i);for(const l of j){if(l!=='.git'&&l!=='.meteor'){const m=a165e[C(0x1fc)](i,l);await a165h(m,{'force':!![]});}}}[a165z(0x20c)]({filePath:a}){const D=a165z;try{const b=/\.([A-Za-z0-9.]+)$/g;let c=a[D(0x1c2)](b);c=c&&c[0x0][D(0x1ea)]('.',0x3);if(!c)return{'type':undefined,'engine':undefined};let d=c['pop'](),f=c['pop']()||d;if(d)d=d['replace']('.','');if(f)f=f[D(0x1ae)]('.','');return{'type':f,'engine':d};}catch(g){errorHandler(D(0x1aa),g),process['exit'](0x1);}}[a165z(0x1a1)]({pathParts:a,config:b}){const E=a165z;try{const c=a['join'](a165e[E(0x1df)]),d=this['engineAndTypeFromfilePath']({'filePath':c})[E(0x201)],f=b?.[E(0x1b8)][d],g=new RegExp('\x5c.'+d+E(0x213));return!d||!f?c:c['replace'](g,'.'+d);}catch(h){errorHandler('rewriteDestinationPathForType()',h),process[E(0x1a8)](0x1);}}[a165z(0x206)]({pathParts:a,config:b}){const F=a165z;try{if(!b)throw new Error(F(0x20e));const c=a[F(0x1fc)](a165e['sep']),d=this['engineAndTypeFromfilePath']({'filePath':c});if(!d[F(0x201)]||!d[F(0x1d4)])return!![];const f=b['engines'][d[F(0x201)]];if(!f)return!![];return f===d[F(0x1d4)];}catch(g){errorHandler(F(0x20f),g),process['exit'](0x1);}}[a165z(0x1be)]({pathParts:pathParts=[]}){const G=a165z;return pathParts[G(0x1fc)](a165e[G(0x1df)]);}['rewriteDestinationPathForEngine']({pathParts:pathParts=[],config:a}){const H=a165z;try{const b=pathParts[H(0x1fc)](a165e['sep']),c=this[H(0x20c)]({'filePath':b})[H(0x201)],d=a?.[H(0x1b8)][c],f=new RegExp('\x5c.'+c+H(0x213));return!c||!d?b:b['replace'](f,'.'+d);}catch(g){errorHandler(H(0x19a),g),process[H(0x1a8)](0x1);}}[a165z(0x1ee)]({pathParts:pathParts=[],framework:framework='meteor',config:a}){const I=a165z;try{const b=a165e[I(0x1ac)](pathParts[I(0x1fc)](a165e['sep']));if(!b[I(0x195)](I(0x1f9)))return b;const c='js';if(!a?.[I(0x1b8)]||!a?.[I(0x1b8)][c])return b;const d=a[I(0x1b8)][c],f=d===I(0x1b6)?[I(0x1dc),I(0x1ff),'.js']:['.js.jsx',I(0x1f9)];for(const g of f){const h=b[I(0x1ae)](/\.js$/,g),i=a165e[I(0x1fc)](I(0x1b5),framework,h),j=a165e['normalize'](a165e[I(0x1fc)](global['MAKA_COMMAND_PATH'],i));if(a165f[I(0x1bb)](j))return h;}return b;}catch(k){errorHandler(I(0x1fe),k),process[I(0x1a8)](0x1);}}[a165z(0x1cb)]({pathParts:a,framework:framework=a165z(0x1ce),config:b}){const J=a165z;try{const c=this['rewriteSourcePathForEngine']({'pathParts':a,'framework':framework,'config':b}),d=a165e[J(0x1fc)](J(0x1e3)+framework,c),f=a165e[J(0x1fc)](global['MAKA_COMMAND_PATH'],'..',d);return f;}catch(g){errorHandler(J(0x1e9),g),process[J(0x1a8)](0x1);}}['templateContent']({srcPath:a,context:b,framework:c,config:d}){const K=a165z;try{let f=this['pathFromTemplates']({'pathParts':[a],'framework':c,'config':d});const {engine:g}=this[K(0x20c)]({'filePath':f}),h=[K(0x1eb),'scss',K(0x1bf),K(0x183),'js',K(0x1d6),'ts',K(0x1b6),'json',K(0x194),K(0x181),'template'],i=[K(0x1d9),K(0x185)];if(!this[K(0x1b1)][K(0x1e4)](f)){g===K(0x1d6)&&(f=f[K(0x1ae)](K(0x219),''));g===K(0x1b6)&&(f=f[K(0x1ae)](K(0x1ca),''));if(!this['fsi'][K(0x1e4)](f))throw new Error(K(0x190)+JSON[K(0x215)](f));}const j=f[K(0x1ea)]('.'),k=a165e[K(0x1ac)](f)[K(0x1ea)](a165e[K(0x1df)]),l=k[k[K(0x1f8)]-0x1]===K(0x1fb),m=i['includes'](j[j[K(0x1f8)]-0x1]),n=a165f[K(0x1d3)](f);if(l)return a165i[K(0x19b)](n['toString'](),b)[K(0x1d1)]();if(m)return Buffer['from'](n)[K(0x20a)](K(0x1c9));if(!h[K(0x17f)](j[j[K(0x1f8)]-0x1]))return n[K(0x20a)]()[K(0x1d1)]();return a165i[K(0x19b)](n[K(0x20a)](),b||{})[K(0x1d1)]();}catch(o){errorHandler(K(0x211),o),process[K(0x1a8)](0x1);}}async['template']({srcPath:a,destPath:b,context:c,config:d,framework:f,force:force=![],ignore:ignore=![]}){const L=a165z;try{const g=[L(0x1d9),L(0x185)],h=g[L(0x17f)](a[L(0x1ea)]('.')[L(0x203)]()||''),i=this[L(0x18a)]({'srcPath':a,'context':c,'framework':f,'config':d})+'\x0a';c?.[L(0x1dd)]?b=this[L(0x1a1)]({'pathParts':[b],'config':d}):b=this[L(0x1af)]({'pathParts':[b],'config':d});const j=await this[L(0x1b1)][L(0x1f1)]({'filePath':b,'data':i,'opts':{'force':force,'isImage':h,'absolute':![],'ignore':ignore}});return j;}catch(k){errorHandler(L(0x1cd),k),process['exit'](0x1);}}async[a165z(0x19f)]({srcPath:a,destPath:b,context:c,ignore:d,keep:f,framework:g,config:h}){const M=a165z;try{const i=this[M(0x1cb)]({'pathParts':[a],'framework':g,'config':h}),j=this[M(0x1cb)]({'pathParts':[],'framework':g,'config':h}),k=n=>{const N=M;return n[N(0x1ae)](j,'');},l=n=>{const O=M;return n[O(0x1ae)](i,b);};await this[M(0x1b1)][M(0x1f0)]({'dirPath':b});const m=a165f[M(0x21c)](i);for(const n of m){try{const o=a165e['join'](i,n),p=k(o),q=l(o),r=d[M(0x21f)](t=>a165e[M(0x1ac)](t)),s=a165e['normalize'](a165e['join'](a,n));if(r[M(0x17f)](s))continue;if(this[M(0x1b1)][M(0x199)](o))await this[M(0x19f)]({'srcPath':p,'destPath':q,'context':c,'ignore':d,'keep':f,'framework':g,'config':h});else{if(this['fsi'][M(0x1e4)](o)&&this[M(0x206)]({'pathParts':[o],'config':h}))await this[M(0x18c)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h});else f[M(0x212)](a165e[M(0x1fc)](a,n))>=0x0&&this[M(0x1b1)][M(0x1e4)](o)&&(c['noRename']=!![],await this[M(0x18c)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h}),c['noRename']=![]);}}catch(t){console[M(0x208)](t),process[M(0x1a8)](0x1);}}}catch(u){errorHandler(M(0x207),u),process[M(0x1a8)](0x1);}}async[a165z(0x18d)]({filePath:a,content:b,opts:c}){const P=a165z;if(!a)throw new Error(P(0x220));try{!this['fsi'][P(0x1e4)](a)&&await this['fsi'][P(0x1f1)]({'filePath':a,'data':b});let d=a165f[P(0x1d3)](a,'utf8');d=b+'\x0a'+d,a165f['writeFileSync'](a,d),c?.['verbose']&&Log[P(0x1c3)](treeSymbol+P(0x1fa)+a165e[P(0x18e)](process[P(0x1b9)](),a));}catch(f){errorHandler(P(0x1da),f),process[P(0x1a8)](0x1);}}async[a165z(0x19c)]({filePath:a,content:b,opts:c}){const Q=a165z;try{if(!this[Q(0x1b1)][Q(0x1e4)](a))await this['fsi'][Q(0x1f1)]({'filePath':a,'data':b});else{let d=a165f[Q(0x1d3)](a,Q(0x1ab));!d[Q(0x17f)](b)&&(d=d+'\x0a'+b,a165f[Q(0x1c8)](a,d)),c?.[Q(0x189)]&&Log['header'](treeSymbol+Q(0x1fa)+a165e[Q(0x18e)](process[Q(0x1b9)](),a));}}catch(f){errorHandler('injectAtEndOfFile()',f),process[Q(0x1a8)](0x1);}}async[a165z(0x17d)]({filePath:a,aboveContent:b,belowContent:c,targetString:d,indentAdjustment:indentAdjustment=0x0,targetIndentAdjustment:targetIndentAdjustment=0x0}){const R=a165z;try{if(!this[R(0x1b1)][R(0x1e4)](a))throw Log['error'](R(0x197)+JSON[R(0x215)](a));const f=a165f[R(0x1d3)](a,'utf8'),g=f['replace'](/\r\n|\r/g,'\x0a'),h=g['split']('\x0a'),j=this['detectIndentation'](h),k=b[R(0x1ae)](/\r\n|\r/g,'\x0a')[R(0x1ea)]('\x0a'),l=c['replace'](/\r\n|\r/g,'\x0a')[R(0x1ea)]('\x0a'),m=new RegExp(Array[R(0x18f)](d)?d[R(0x1fc)]('|'):d,'i'),n=[];for(let p=0x0;p<h[R(0x1f8)];p++){const q=h[p];if(m['test'](q)){const r=this['adjustIndentation'](j,targetIndentAdjustment),s=r+q[R(0x1d1)]();k[R(0x1c6)](t=>{const S=R;!g[S(0x17f)](t[S(0x1d1)]())&&n[S(0x216)](this['adjustIndentation'](j,indentAdjustment)+t);}),n[R(0x216)](s),l[R(0x1c6)](t=>{const T=R;!g[T(0x17f)](t[T(0x1d1)]())&&n[T(0x216)](this[T(0x214)](j,indentAdjustment)+t);});}else n['push'](q);}const o=n[R(0x1fc)]('\x0a');a165f[R(0x1c8)](a,o),Log[R(0x1c3)](treeSymbol+R(0x1fa)+a165e['relative'](process[R(0x1b9)](),a));}catch(t){errorHandler(R(0x1c0),t),process['exit'](0x1);}}['adjustIndentation'](a,b){const U=a165z;if(b===0x0)return a;const c=a[U(0x1f8)]+b;return c>0x0?a[0x0][U(0x1e8)](c):'';}[a165z(0x17e)](a){const V=a165z;let b=0x0,c=0x0;a[V(0x1c6)](f=>{const W=V;if(f['startsWith']('\x20'))b++;else f[W(0x21b)]('\x09')&&c++;});const d=b>=c?'\x20':'\x09',e=this[V(0x1cf)](a,d);return d[V(0x1e8)](e);}[a165z(0x1cf)](a,b){const X=a165z,c=a[X(0x1e2)](d=>d&&d[X(0x21b)](b))[X(0x21f)](d=>{const Y=X,e=d[Y(0x1c2)](new RegExp('^'+b+'+'));return e?e[0x0][Y(0x1f8)]:0x0;});if(c[X(0x1f8)]===0x0)return 0x0;return this['calculateMode'](c);}[a165z(0x1e1)](a){const Z=a165z,b=a[Z(0x1e6)]((c,d)=>{return c[d]=(c[d]||0x0)+0x1,c;},{});return Object[Z(0x218)](b)[Z(0x1e6)]((c,d)=>{const e=b[+c],f=b[+d];return e>f?+c:+d;},0x0);}async['injectIntoCodeBlock']({filePath:a,content:b,begin:c,replace:replace=![]}){const a0=a165z;try{if(!this[a0(0x1b1)][a0(0x1e4)](a))throw new Error('File\x20not\x20found:\x20'+a);const d=a165f[a0(0x1d3)](a,a0(0x1ab)),f=d[a0(0x1ea)]('\x0a');let g=-0x1,h=-0x1,j=0x0,k=![],l=![];const m=Array['isArray'](c)?c:[c];for(let o=0x0;o<f[a0(0x1f8)];o++){const p=f[o];k&&p[a0(0x17f)]('{')&&j++;if(m[a0(0x1bd)](q=>p[a0(0x17f)](q))){g=o,k=!![],j++;continue;}if(k){p[a0(0x17f)](b[a0(0x1d1)]())&&(l=!![]);if(p[a0(0x17f)]('}')){j--;if(j===0x0){h=o;break;}}}}if(g===-0x1||h===-0x1){Log[a0(0x208)]('Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content\x20in\x20'+a),Log[a0(0x208)](a0(0x209)+b),Log[a0(0x208)](a0(0x1e0)+c);throw new Error(a0(0x20d));}if(l)return;let n=f[a0(0x202)](0x0,g+0x1);replace?(n[a0(0x216)](b[a0(0x1d1)]()),n[a0(0x216)](f[h])):(n=n[a0(0x184)](f[a0(0x202)](g+0x1,h)),n['push'](b[a0(0x1d1)]())),n=n['concat'](f[a0(0x202)](h+0x1)),a165f[a0(0x1c8)](a,n[a0(0x1fc)]('\x0a'),a0(0x1ab));}catch(q){console[a0(0x208)]('Error\x20in\x20injectIntoCodeBlock:\x20',q);throw q;}}async[a165z(0x1a3)]({filePath:a,content:c,begin:d,end:f,replace:replace=![]}){const a1=a165z;try{const g=await this[a1(0x1b1)][a1(0x196)](a,c);if(g)return;if(!this[a1(0x1b1)][a1(0x1e4)](a))throw Log['error'](a1(0x193)+JSON['stringify'](a));const h=a165f['readFileSync'](a,'utf8');if(!Array[a1(0x18f)](d))d=[d];if(!Array['isArray'](f))f=[f];let i=h,j=![];for(const k of d){for(const l of f){const m=new RegExp('('+k+a1(0x182)+l+')','i');i=h[a1(0x1ae)](m,(n,o,p)=>{return j=!![],replace?''+o+c+p:''+o+c+'\x0a'+p;});if(j)break;}if(j)break;}if(!j)throw new Error('No\x20matching\x20section\x20found.');a165f[a1(0x1c8)](a,i),Log[a1(0x1c3)](treeSymbol+a1(0x1fa)+a165e[a1(0x18e)](process['cwd'](),a));}catch(n){errorHandler('injectIntoFile()',n),process[a1(0x1a8)](0x1);}}async[a165z(0x1c1)]({filePath:a,importName:b,modulePath:c,isNamedExport:d,injectAtStart:injectAtStart=![]}){const a2=a165z;try{const f=a165f['readFileSync'](a,a2(0x1ab));let g;d?g=a2(0x1d7)+b+a2(0x188)+c+a2(0x1a9):g=a2(0x198)+b+'\x20from\x20\x27'+c+a2(0x1a9);const h=f[a2(0x1ea)]('\x0a');let j=0x0,k=![];for(const m of h){if(m['includes'](a2(0x1f5)+c+'\x27')||m[a2(0x17f)](a2(0x1b2)+c+'\x22')){const n=d?new RegExp('\x5cb'+b+'\x5cb','g'):new RegExp('import\x20'+b+'\x20from');if(m[a2(0x1c2)](n)){k=!![];break;}}}if(k)return;if(injectAtStart)for(let o=0x0;o<h['length'];o++){if(h[o][a2(0x1c2)](/^import .* from .*;$/)){j=o;break;}}else{for(let p=0x0;p<h['length'];p++){h[p][a2(0x1c2)](/^import .* from .*;$/)&&(j=p);}j++;}h[a2(0x20b)](j,0x0,g);const l=h['join']('\x0a');a165f[a2(0x1c8)](a,l,a2(0x1ab));}catch(q){errorHandler(a2(0x1f7),q),process[a2(0x1a8)](0x1);}}async['injectTemplateModule'](a,b,c){const a3=a165z;try{let d;b[a3(0x1b8)][a3(0x192)]!==a3(0x186)?d=this['pathFromApp']({'pathParts':['imports',a3(0x1a6),a3(0x1ed),a3(0x1c7)],'config':b}):d=this['pathFromApp']({'pathParts':['imports',a3(0x1a6),'client','templates.js'],'config':b});const f=this[a3(0x1af)]({'pathParts':[d],'config':b}),g='export\x20{\x20'+pascalCase(a)+'\x20}\x20from\x20\x27'+c+'\x27;',h=await this[a3(0x1b1)]['fileContainsString'](f,g);!h&&this[a3(0x19c)]({'filePath':f,'content':g+'\x0a'});}catch(i){errorHandler(a3(0x18b),i),process[a3(0x1a8)](0x1);}}[a165z(0x1e7)]({filePath:a,content:b,lineNumber:c}){const a4=a165z;try{const d=a165f['readFileSync'](a)[a4(0x20a)]()[a4(0x1ea)]('\x0a');d[a4(0x20b)](c,0x0,b);const f=d[a4(0x1fc)]('\x0a');a165f[a4(0x1c8)](a,f);}catch(g){errorHandler('injectAfterLineNumber()',g),process['exit'](0x1);}}[a165z(0x1f2)]({pathParts:a,config:b}){const a5=a165z;try{if(!a)throw new Error(a5(0x180));const c=this[a5(0x1ee)]({'pathParts':a,'config':b}),d=this['fsi'][a5(0x1b3)]();return d?a165e[a5(0x1fc)](d,c):'';}catch(f){errorHandler(a5(0x1a2),f),process[a5(0x1a8)](0x1);}}['pathFromAppWithNoReWrite']({pathParts:a,config:b}){const a6=a165z;try{const c=this[a6(0x1be)]({'pathParts':a,'config':b}),d=this[a6(0x1b1)]['findAppDirectory']();if(!d)throw new Error(a6(0x1c5));return a165e['join'](d,c);}catch(f){errorHandler(a6(0x210),f),process[a6(0x1a8)](0x1);}}}
1
+ const a165z=a165d;(function(a,b){const v=a165d,c=a();while(!![]){try{const d=parseInt(v(0xb2))/0x1*(parseInt(v(0xf5))/0x2)+-parseInt(v(0x9a))/0x3+-parseInt(v(0xd7))/0x4*(-parseInt(v(0x8b))/0x5)+-parseInt(v(0x107))/0x6*(-parseInt(v(0xd6))/0x7)+parseInt(v(0xfa))/0x8*(parseInt(v(0x6b))/0x9)+parseInt(v(0xa1))/0xa*(parseInt(v(0xe2))/0xb)+-parseInt(v(0xaf))/0xc*(parseInt(v(0x83))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a165c,0x5bc13));const a165b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a165d;if(c){const e=c[w(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a165a=a165b(this,function(){const x=a165d;return a165a[x(0x10a)]()['search'](x(0xfe))[x(0x10a)]()['constructor'](a165a)[x(0xdd)]('(((.+)+)+)+$');});a165a();import a165e from'path';function a165c(){const a6=['11eWAjAD','filter','rewriteSourcePathForEngine()','templates.js','injectAroundString()','isFile','indexOf','\x20from','test','replace','splice','\x20from\x20\x27','cwd','templateContent()','\x5cS*$','match','join','mpi','isDirectory','3830JcwfIw','engines','isTemplateForEngine','map','readFileSync','498872wPAEpJ','injectAfterLineNumber()','.tsx','injectImport','(((.+)+)+)+$','getCommonIndentSize','split','includes','.js','injectImport()','injectAtEndOfFile','html','writeSourcePath','39582rhEUWn','alpha','lib','toString','copyTemplateDirectory()','injectAtBeginningOfFile()','.meteor','detectIndentation','isTemplateForEngine()','rewriteDestinationPathForEngine','tsx','engine','from','90mZfEgP','utf8','sep','forEach','pathFromApp()','.js.ts','readdirSync','src/templates/','--release\x20','error','Looking\x20for\x20','copyTemplateDirectory','.js.tsx','No\x20configuration\x20so\x20can\x27t\x20determine\x20engines.','fsi','injectTemplateModule()','warn','length','findAppDirectory','repeat','templateContent','stringify','MAKA_COMMAND_PATH','MAKA_DEV','29914573AeFFFZ','template','True','concat','instance','[\x5cs\x5cS]*?)(','pop','normalize','2888445uHUcLn','engineAndTypeFromfilePath','pathFromAppWithNoReWrite()','promisify','rewriteDestinationPathForType','relative','No\x20app\x20directory\x20found','pathFromTemplates','yaml','from\x20\x22','injectAtBeginningOfFile','slice','\x20}\x20from\x20\x27','json','.git','1051623vuPuuw','Please\x20report\x20any\x20issues\x20to\x20https://github.com/maka-io/maka-cli/issues','getInstance','engineAndTypeFromfilePath()','render','Meteor\x20project\x20already\x20exists\x20at\x20','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content\x20in\x20','7469540CCvMhO','No\x20filePath\x20provided\x20to\x20injectAtBeginningOfFile()','\x20->','pathFromAppWithNoReWrite','injectIntoCodeBlock','startsWith','While\x20injecting\x20','client','\x20updated\x20file\x20','createDirectory','fileContainsString','templates','import\x20{\x20','win32','12aQixYl','No\x20file\x20found\x20at\x20path\x20','none','381IPeVfC','Error\x20in\x20','reduce','import\x20','existsSync','\x20create\x20','release','injectAroundString','imports','No\x20matching\x20section\x20found.','rewriteSourcePathForEngine','rewriteDestinationPathForEngine()','export\x20{\x20','platform','trim','pathFromApp','createEmptyMeteorProject','startup','\x27;\x0a','adjustIndentation','jsx','less','noRename','base64','type','--minimal','apply','keys','pathFromTemplates()','isArray','push','calculateMode','exit','endsWith','createFile','.js.jsx','371JVrdJX','4JFdxoO','template()','header','No\x20file\x20found\x20to\x20inject\x20content\x20into\x20at\x20path\x20','writeFileSync','env','search','.jsx','Directory\x20','meteor','verbose'];a165c=function(){return a6;};return a165c();}import a165f from'fs';import a165g from'util';import{exec}from'child_process';import a165h from'delete';import a165i from'ejs';import{pascalCase}from'change-case';import{Log}from'../log/log.class.js';function a165d(a,b){const c=a165c();return a165d=function(d,e){d=d-0x67;let f=c[d];return f;},a165d(a,b);}const errorHandler=(a,b)=>{const y=a165d;process['env'][y(0x82)]===y(0x85)&&Log[y(0x74)](y(0xb3)+a),b&&console[y(0x74)](b);},isWin=process[a165z(0xbf)]===a165z(0xae),treeSymbol=isWin?a165z(0xa3):'\x20┗';export class Scaffold{static [a165z(0x87)];[a165z(0x79)];[a165z(0xf3)];constructor(a,b){this['fsi']=a,this['mpi']=b;}static[a165z(0x9c)](a,b){const A=a165z;return!Scaffold[A(0x87)]&&(Scaffold[A(0x87)]=new Scaffold(a,b)),Scaffold[A(0x87)];}async[a165z(0xc2)](a,b){const B=a165z;b['cwd']=b[B(0xee)]||'.';const c=a165e['join'](b['cwd'],a),d=a165e[B(0xf2)](c,'.meteor');if(this[B(0x79)][B(0xf4)](d))throw new Error(B(0x9f)+JSON[B(0x80)](c));const e=B(0xcb),f=a165e[B(0xf2)](b[B(0xee)]),g=a165g[B(0x8e)](exec),h=b['release']?B(0x73)+b[B(0xb8)]:'';b['release']&&b[B(0xb8)][B(0x101)](B(0x108))&&(Log[B(0x7b)]('Creating\x20a\x20new\x20Meteor\x20project\x20with\x20an\x20alpha\x20release:\x20'+b[B(0xb8)]),Log[B(0x7b)](B(0x9b)));try{await g(this['mpi'][B(0xe0)]+B(0xb7)+a+'\x20'+e+'\x20'+h,{'cwd':f});}catch(k){Log[B(0x74)]('\x0a'+k['message']);throw k;}const i=a165e[B(0xf2)](f,a);if(!a165f['existsSync'](i))throw new Error(B(0xdf)+i+'\x20doesn\x27t\x20exist');const j=a165f[B(0x71)](i);for(const l of j){if(l!==B(0x99)&&l!==B(0x10d)){const m=a165e['join'](i,l);await a165h(m,{'force':!![]});}}}[a165z(0x8c)]({filePath:a}){const C=a165z;try{const b=/\.([A-Za-z0-9.]+)$/g;let c=a[C(0xf1)](b);c=c&&c[0x0]['split']('.',0x3);if(!c)return{'type':undefined,'engine':undefined};let d=c['pop'](),f=c[C(0x89)]()||d;if(d)d=d['replace']('.','');if(f)f=f['replace']('.','');return{'type':f,'engine':d};}catch(g){errorHandler(C(0x9d),g),process[C(0xd2)](0x1);}}[a165z(0x8f)]({pathParts:a,config:b}){const D=a165z;try{const c=a[D(0xf2)](a165e[D(0x6d)]),d=this[D(0x8c)]({'filePath':c})[D(0xca)],f=b?.[D(0xf6)][d],g=new RegExp('\x5c.'+d+D(0xf0));return!d||!f?c:c[D(0xeb)](g,'.'+d);}catch(h){errorHandler('rewriteDestinationPathForType()',h),process[D(0xd2)](0x1);}}['isTemplateForEngine']({pathParts:a,config:b}){const E=a165z;try{if(!b)throw new Error(E(0x78));const c=a['join'](a165e[E(0x6d)]),d=this[E(0x8c)]({'filePath':c});if(!d['type']||!d[E(0x69)])return!![];const f=b[E(0xf6)][d['type']];if(!f)return!![];return f===d['engine'];}catch(g){errorHandler(E(0x10f),g),process[E(0xd2)](0x1);}}[a165z(0x106)]({pathParts:pathParts=[]}){const F=a165z;return pathParts[F(0xf2)](a165e[F(0x6d)]);}[a165z(0x67)]({pathParts:pathParts=[],config:a}){const G=a165z;try{const b=pathParts[G(0xf2)](a165e[G(0x6d)]),c=this[G(0x8c)]({'filePath':b})[G(0xca)],d=a?.[G(0xf6)][c],f=new RegExp('\x5c.'+c+'\x5cS*$');return!c||!d?b:b[G(0xeb)](f,'.'+d);}catch(g){errorHandler(G(0xbd),g),process[G(0xd2)](0x1);}}[a165z(0xbc)]({pathParts:pathParts=[],framework:framework='meteor',config:a}){const H=a165z;try{const b=a165e[H(0x8a)](pathParts[H(0xf2)](a165e[H(0x6d)]));if(!b[H(0xd3)](H(0x102)))return b;const c='js';if(!a?.[H(0xf6)]||!a?.[H(0xf6)][c])return b;const d=a[H(0xf6)][c],f=d==='tsx'?[H(0x77),H(0x70),H(0x102)]:[H(0xd5),'.js'];for(const g of f){const h=b[H(0xeb)](/\.js$/,g),i=a165e[H(0xf2)](H(0xac),framework,h),j=a165e[H(0x8a)](a165e[H(0xf2)](global['MAKA_COMMAND_PATH'],i));if(a165f[H(0xb6)](j))return h;}return b;}catch(k){errorHandler(H(0xe4),k),process[H(0xd2)](0x1);}}['pathFromTemplates']({pathParts:a,framework:framework='meteor',config:b}){const I=a165z;try{const c=this[I(0xbc)]({'pathParts':a,'framework':framework,'config':b}),d=a165e[I(0xf2)](I(0x72)+framework,c),f=a165e['join'](global[I(0x81)],'..',d);return f;}catch(g){errorHandler(I(0xce),g),process['exit'](0x1);}}[a165z(0x7f)]({srcPath:a,context:b,framework:c,config:d}){const J=a165z;try{let f=this[J(0x92)]({'pathParts':[a],'framework':c,'config':d});const {engine:g}=this[J(0x8c)]({'filePath':f}),h=['css','scss',J(0xc7),J(0x105),'js',J(0xc6),'ts',J(0x68),J(0x98),J(0xdc),J(0x93),'template'],i=['png','ico'];if(!this['fsi'][J(0xe7)](f)){g===J(0xc6)&&(f=f['replace'](J(0xde),''));g==='tsx'&&(f=f[J(0xeb)](J(0xfc),''));if(!this[J(0x79)][J(0xe7)](f))throw new Error('Couldn\x27t\x20find\x20a\x20source\x20template\x20in\x20'+JSON[J(0x80)](f));}const j=f[J(0x100)]('.'),k=a165e[J(0x8a)](f)['split'](a165e[J(0x6d)]),l=k[k['length']-0x1]==='Dockerfile',m=i['includes'](j[j[J(0x7c)]-0x1]),n=a165f[J(0xf9)](f);if(l)return a165i[J(0x9e)](n[J(0x10a)](),b)[J(0xc0)]();if(m)return Buffer[J(0x6a)](n)['toString'](J(0xc9));if(!h[J(0x101)](j[j[J(0x7c)]-0x1]))return n[J(0x10a)]()[J(0xc0)]();return a165i[J(0x9e)](n[J(0x10a)](),b||{})[J(0xc0)]();}catch(o){errorHandler(J(0xef),o),process['exit'](0x1);}}async[a165z(0x84)]({srcPath:a,destPath:b,context:c,config:d,framework:f,force:force=![],ignore:ignore=![]}){const K=a165z;try{const g=['png','ico'],h=g[K(0x101)](a['split']('.')[K(0x89)]()||''),i=this[K(0x7f)]({'srcPath':a,'context':c,'framework':f,'config':d})+'\x0a';c?.[K(0xc8)]?b=this['rewriteDestinationPathForType']({'pathParts':[b],'config':d}):b=this[K(0x67)]({'pathParts':[b],'config':d});const j=await this['fsi'][K(0xd4)]({'filePath':b,'data':i,'opts':{'force':force,'isImage':h,'absolute':![],'ignore':ignore}});return j;}catch(k){errorHandler(K(0xd8),k),process[K(0xd2)](0x1);}}async[a165z(0x76)]({srcPath:a,destPath:b,context:c,ignore:d,keep:f,framework:g,config:h}){const L=a165z;try{const i=this[L(0x92)]({'pathParts':[a],'framework':g,'config':h}),j=this[L(0x92)]({'pathParts':[],'framework':g,'config':h}),k=n=>{const M=L;return n[M(0xeb)](j,'');},l=n=>{const N=L;return n[N(0xeb)](i,b);};await this['fsi'][L(0xaa)]({'dirPath':b});const m=a165f[L(0x71)](i);for(const n of m){try{const o=a165e[L(0xf2)](i,n),p=k(o),q=l(o),r=d[L(0xf8)](t=>a165e['normalize'](t)),s=a165e[L(0x8a)](a165e[L(0xf2)](a,n));if(r[L(0x101)](s))continue;if(this['fsi']['isDirectory'](o))await this['copyTemplateDirectory']({'srcPath':p,'destPath':q,'context':c,'ignore':d,'keep':f,'framework':g,'config':h});else{if(this[L(0x79)]['isFile'](o)&&this[L(0xf7)]({'pathParts':[o],'config':h}))await this[L(0x84)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h});else f[L(0xe8)](a165e[L(0xf2)](a,n))>=0x0&&this['fsi'][L(0xe7)](o)&&(c[L(0xc8)]=!![],await this[L(0x84)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h}),c[L(0xc8)]=![]);}}catch(t){console[L(0x74)](t),process[L(0xd2)](0x1);}}}catch(u){errorHandler(L(0x10b),u),process['exit'](0x1);}}async[a165z(0x95)]({filePath:a,content:b,opts:c}){const O=a165z;if(!a)throw new Error(O(0xa2));try{!this[O(0x79)][O(0xe7)](a)&&await this[O(0x79)]['createFile']({'filePath':a,'data':b});let d=a165f[O(0xf9)](a,'utf8');d=b+'\x0a'+d,a165f[O(0xdb)](a,d),c?.[O(0xe1)]&&Log[O(0xd9)](treeSymbol+'\x20updated\x20file\x20'+a165e[O(0x90)](process['cwd'](),a));}catch(f){errorHandler(O(0x10c),f),process[O(0xd2)](0x1);}}async[a165z(0x104)]({filePath:a,content:b,opts:c}){const P=a165z;try{if(!this[P(0x79)][P(0xe7)](a))await this['fsi'][P(0xd4)]({'filePath':a,'data':b});else{let d=a165f[P(0xf9)](a,'utf8');!d[P(0x101)](b)&&(d=d+'\x0a'+b,a165f['writeFileSync'](a,d)),c?.[P(0xe1)]&&Log['header'](treeSymbol+P(0xa9)+a165e[P(0x90)](process[P(0xee)](),a));}}catch(f){errorHandler('injectAtEndOfFile()',f),process['exit'](0x1);}}async[a165z(0xb9)]({filePath:a,aboveContent:b,belowContent:c,targetString:d,indentAdjustment:indentAdjustment=0x0,targetIndentAdjustment:targetIndentAdjustment=0x0}){const Q=a165z;try{if(!this[Q(0x79)][Q(0xe7)](a))throw Log[Q(0x74)](Q(0xb0)+JSON[Q(0x80)](a));const f=a165f[Q(0xf9)](a,Q(0x6c)),g=f[Q(0xeb)](/\r\n|\r/g,'\x0a'),h=g[Q(0x100)]('\x0a'),j=this[Q(0x10e)](h),k=b[Q(0xeb)](/\r\n|\r/g,'\x0a')[Q(0x100)]('\x0a'),l=c[Q(0xeb)](/\r\n|\r/g,'\x0a')['split']('\x0a'),m=new RegExp(Array[Q(0xcf)](d)?d['join']('|'):d,'i'),n=[];for(let p=0x0;p<h[Q(0x7c)];p++){const q=h[p];if(m[Q(0xea)](q)){const r=this[Q(0xc5)](j,targetIndentAdjustment),s=r+q[Q(0xc0)]();k[Q(0x6e)](t=>{const R=Q;!g['includes'](t[R(0xc0)]())&&n[R(0xd0)](this['adjustIndentation'](j,indentAdjustment)+t);}),n[Q(0xd0)](s),l[Q(0x6e)](t=>{const S=Q;!g['includes'](t['trim']())&&n[S(0xd0)](this[S(0xc5)](j,indentAdjustment)+t);});}else n['push'](q);}const o=n[Q(0xf2)]('\x0a');a165f[Q(0xdb)](a,o),Log['header'](treeSymbol+Q(0xa9)+a165e[Q(0x90)](process[Q(0xee)](),a));}catch(t){errorHandler(Q(0xe6),t),process[Q(0xd2)](0x1);}}[a165z(0xc5)](a,b){const T=a165z;if(b===0x0)return a;const c=a[T(0x7c)]+b;return c>0x0?a[0x0][T(0x7e)](c):'';}[a165z(0x10e)](a){const U=a165z;let b=0x0,c=0x0;a[U(0x6e)](f=>{const V=U;if(f[V(0xa6)]('\x20'))b++;else f[V(0xa6)]('\x09')&&c++;});const d=b>=c?'\x20':'\x09',e=this['getCommonIndentSize'](a,d);return d[U(0x7e)](e);}[a165z(0xff)](a,b){const W=a165z,c=a[W(0xe3)](d=>d&&d['startsWith'](b))[W(0xf8)](d=>{const X=W,e=d[X(0xf1)](new RegExp('^'+b+'+'));return e?e[0x0][X(0x7c)]:0x0;});if(c[W(0x7c)]===0x0)return 0x0;return this['calculateMode'](c);}[a165z(0xd1)](a){const Y=a165z,b=a[Y(0xb4)]((c,d)=>{return c[d]=(c[d]||0x0)+0x1,c;},{});return Object[Y(0xcd)](b)[Y(0xb4)]((c,d)=>{const e=b[+c],f=b[+d];return e>f?+c:+d;},0x0);}async[a165z(0xa5)]({filePath:a,content:b,begin:c,replace:replace=![]}){const Z=a165z;try{if(!this[Z(0x79)]['isFile'](a))throw new Error('File\x20not\x20found:\x20'+a);const d=a165f[Z(0xf9)](a,Z(0x6c)),f=d[Z(0x100)]('\x0a');let g=-0x1,h=-0x1,j=0x0,k=![],l=![];const m=Array['isArray'](c)?c:[c];for(let o=0x0;o<f[Z(0x7c)];o++){const p=f[o];k&&p[Z(0x101)]('{')&&j++;if(m['some'](q=>p[Z(0x101)](q))){g=o,k=!![],j++;continue;}if(k){p[Z(0x101)](b['trim']())&&(l=!![]);if(p[Z(0x101)]('}')){j--;if(j===0x0){h=o;break;}}}}if(g===-0x1||h===-0x1){Log[Z(0x74)](Z(0xa0)+a),Log[Z(0x74)](Z(0xa7)+b),Log[Z(0x74)](Z(0x75)+c);throw new Error('Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content.');}if(l)return;let n=f[Z(0x96)](0x0,g+0x1);replace?(n[Z(0xd0)](b[Z(0xc0)]()),n[Z(0xd0)](f[h])):(n=n[Z(0x86)](f[Z(0x96)](g+0x1,h)),n[Z(0xd0)](b['trim']())),n=n[Z(0x86)](f['slice'](h+0x1)),a165f['writeFileSync'](a,n['join']('\x0a'),'utf8');}catch(q){console[Z(0x74)]('Error\x20in\x20injectIntoCodeBlock:\x20',q);throw q;}}async['injectIntoFile']({filePath:a,content:c,begin:d,end:f,replace:replace=![]}){const a0=a165z;try{const g=await this[a0(0x79)][a0(0xab)](a,c);if(g)return;if(!this[a0(0x79)][a0(0xe7)](a))throw Log[a0(0x74)](a0(0xda)+JSON[a0(0x80)](a));const h=a165f['readFileSync'](a,'utf8');if(!Array[a0(0xcf)](d))d=[d];if(!Array['isArray'](f))f=[f];let i=h,j=![];for(const k of d){for(const l of f){const m=new RegExp('('+k+a0(0x88)+l+')','i');i=h['replace'](m,(n,o,p)=>{return j=!![],replace?''+o+c+p:''+o+c+'\x0a'+p;});if(j)break;}if(j)break;}if(!j)throw new Error(a0(0xbb));a165f[a0(0xdb)](a,i),Log[a0(0xd9)](treeSymbol+'\x20updated\x20file\x20'+a165e['relative'](process[a0(0xee)](),a));}catch(n){errorHandler('injectIntoFile()',n),process[a0(0xd2)](0x1);}}async[a165z(0xfd)]({filePath:a,importName:b,modulePath:c,isNamedExport:d,injectAtStart:injectAtStart=![]}){const a1=a165z;try{const f=a165f[a1(0xf9)](a,a1(0x6c));let g;d?g=a1(0xad)+b+a1(0x97)+c+a1(0xc4):g=a1(0xb5)+b+a1(0xed)+c+a1(0xc4);const h=f[a1(0x100)]('\x0a');let j=0x0,k=![];for(const m of h){if(m[a1(0x101)]('from\x20\x27'+c+'\x27')||m['includes'](a1(0x94)+c+'\x22')){const n=d?new RegExp('\x5cb'+b+'\x5cb','g'):new RegExp(a1(0xb5)+b+a1(0xe9));if(m[a1(0xf1)](n)){k=!![];break;}}}if(k)return;if(injectAtStart)for(let o=0x0;o<h['length'];o++){if(h[o][a1(0xf1)](/^import .* from .*;$/)){j=o;break;}}else{for(let p=0x0;p<h[a1(0x7c)];p++){h[p][a1(0xf1)](/^import .* from .*;$/)&&(j=p);}j++;}h[a1(0xec)](j,0x0,g);const l=h[a1(0xf2)]('\x0a');a165f['writeFileSync'](a,l,a1(0x6c));}catch(q){errorHandler(a1(0x103),q),process[a1(0xd2)](0x1);}}async['injectTemplateModule'](a,b,c){const a2=a165z;try{let d;b[a2(0xf6)]['ssr']!==a2(0xb1)?d=this[a2(0xc1)]({'pathParts':['imports',a2(0xc3),a2(0x109),a2(0xe5)],'config':b}):d=this['pathFromApp']({'pathParts':[a2(0xba),'startup',a2(0xa8),a2(0xe5)],'config':b});const f=this['rewriteDestinationPathForEngine']({'pathParts':[d],'config':b}),g=a2(0xbe)+pascalCase(a)+a2(0x97)+c+'\x27;',h=await this['fsi']['fileContainsString'](f,g);!h&&this['injectAtEndOfFile']({'filePath':f,'content':g+'\x0a'});}catch(i){errorHandler(a2(0x7a),i),process[a2(0xd2)](0x1);}}['injectAfterLineNumber']({filePath:a,content:b,lineNumber:c}){const a3=a165z;try{const d=a165f[a3(0xf9)](a)['toString']()[a3(0x100)]('\x0a');d[a3(0xec)](c,0x0,b);const f=d[a3(0xf2)]('\x0a');a165f[a3(0xdb)](a,f);}catch(g){errorHandler(a3(0xfb),g),process[a3(0xd2)](0x1);}}[a165z(0xc1)]({pathParts:a,config:b}){const a4=a165z;try{if(!a)throw new Error('No\x20pathParts\x20option\x20provided');const c=this[a4(0xbc)]({'pathParts':a,'config':b}),d=this[a4(0x79)][a4(0x7d)]();return d?a165e[a4(0xf2)](d,c):'';}catch(f){errorHandler(a4(0x6f),f),process[a4(0xd2)](0x1);}}[a165z(0xa4)]({pathParts:a,config:b}){const a5=a165z;try{const c=this['writeSourcePath']({'pathParts':a,'config':b}),d=this[a5(0x79)][a5(0x7d)]();if(!d)throw new Error(a5(0x91));return a165e[a5(0xf2)](d,c);}catch(f){errorHandler(a5(0x8d),f),process['exit'](0x1);}}}
@@ -1 +1 @@
1
- const a166l=a166d;(function(a,b){const j=a166d,c=a();while(!![]){try{const d=parseInt(j(0x6e))/0x1*(-parseInt(j(0x70))/0x2)+-parseInt(j(0x69))/0x3*(parseInt(j(0x7d))/0x4)+-parseInt(j(0x6f))/0x5*(parseInt(j(0x74))/0x6)+parseInt(j(0x7c))/0x7*(-parseInt(j(0x68))/0x8)+-parseInt(j(0x76))/0x9+parseInt(j(0x81))/0xa*(-parseInt(j(0x6d))/0xb)+parseInt(j(0x71))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a166c,0xa94bb));function a166c(){const r=['(((.+)+)+)+$','toString','success','2459191xafNlS','200KiWPrr','ignore','SIGINT','close','4340SEQZym','failure','cwd','disconnect','24nlUiym','6837SSfQaT','withSpinner','data','kill','10549rNvPLW','93129MErLxZ','415ggfpUQ','22WPyhOb','43891404ATwnDk','search','message','5364guxvkB','constructor','2533194aBnlRT','pid','start'];a166c=function(){return r;};return a166c();}const a166b=(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;};}()),a166a=a166b(this,function(){const k=a166d;return a166a[k(0x7a)]()[k(0x72)](k(0x79))[k(0x7a)]()[k(0x75)](a166a)['search'](k(0x79));});a166a();function a166d(a,b){const c=a166c();return a166d=function(d,e){d=d-0x68;let f=c[d];return f;},a166d(a,b);}import{spawn}from'child_process';import{Log}from'../log/log.class.js';export class SpawnAsync{static[a166l(0x6a)](a,b,c){return new Promise((d,e)=>{const m=a166d,f=Log['withSpinner'](),g=c?.[m(0x83)]||'.';c?.[m(0x73)]&&f[m(0x78)](c?.[m(0x73)]);const h=spawn(a,b,{'cwd':g,'stdio':c?.['verbose']?'inherit':m(0x7e)});process['on'](m(0x7f),()=>{const n=m,i=h[n(0x77)];i&&process[n(0x6c)](i);}),h['on'](m(0x6b),i=>{console['log'](i);}),h['on'](m(0x84),()=>{const o=m;c?.[o(0x73)]&&f[o(0x7b)](),d();}),h['on'](m(0x80),()=>{const p=m;c?.[p(0x73)]&&f[p(0x7b)](),d();}),h['on']('error',()=>{const q=m;c?.[q(0x73)]&&f[q(0x82)](),e();});});}}
1
+ const a166m=a166d;function a166d(a,b){const c=a166c();return a166d=function(d,e){d=d-0x9b;let f=c[d];return f;},a166d(a,b);}(function(a,b){const j=a166d,c=a();while(!![]){try{const d=-parseInt(j(0xa2))/0x1*(parseInt(j(0xac))/0x2)+-parseInt(j(0xaf))/0x3+parseInt(j(0x9b))/0x4*(-parseInt(j(0x9e))/0x5)+-parseInt(j(0xa3))/0x6*(-parseInt(j(0xa0))/0x7)+parseInt(j(0xa1))/0x8+parseInt(j(0xaa))/0x9+-parseInt(j(0xab))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a166c,0x1abaf));const a166b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a166d;if(c){const e=c[k(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a166a=a166b(this,function(){const l=a166d;return a166a[l(0xa5)]()[l(0xb3)]('(((.+)+)+)+$')[l(0xa5)]()['constructor'](a166a)[l(0xb3)](l(0xa9));});a166a();import{spawn}from'child_process';function a166c(){const t=['log','disconnect','pid','search','apply','3756rVLWiL','failure','close','145rVJfJd','verbose','19166zxACPj','1538224gAdrlt','4tZqLGX','264MBPnCo','cwd','toString','message','withSpinner','start','(((.+)+)+)+$','865971SsGOqn','2188680FnqAFj','500FZNDkz','kill','ignore','157149DLDTXE'];a166c=function(){return t;};return a166c();}import{Log}from'../log/log.class.js';export class SpawnAsync{static[a166m(0xa7)](a,b,c){return new Promise((d,e)=>{const n=a166d,f=Log[n(0xa7)](),g=c?.[n(0xa4)]||'.';c?.['message']&&f[n(0xa8)](c?.[n(0xa6)]);const h=spawn(a,b,{'cwd':g,'stdio':c?.[n(0x9f)]?'inherit':n(0xae)});process['on']('SIGINT',()=>{const o=n,i=h[o(0xb2)];i&&process[o(0xad)](i);}),h['on']('data',i=>{const p=n;console[p(0xb0)](i);}),h['on'](n(0xb1),()=>{const q=n;c?.[q(0xa6)]&&f['success'](),d();}),h['on'](n(0x9d),()=>{const r=n;c?.[r(0xa6)]&&f['success'](),d();}),h['on']('error',()=>{const s=n;c?.[s(0xa6)]&&f[s(0x9c)](),e();});});}}
@@ -1 +1 @@
1
- (function(a,b){var f=a167d,c=a();while(!![]){try{var d=-parseInt(f(0x148))/0x1*(parseInt(f(0x14a))/0x2)+-parseInt(f(0x14d))/0x3*(parseInt(f(0x152))/0x4)+-parseInt(f(0x14f))/0x5*(parseInt(f(0x155))/0x6)+-parseInt(f(0x14e))/0x7*(parseInt(f(0x14b))/0x8)+-parseInt(f(0x14c))/0x9+-parseInt(f(0x146))/0xa+-parseInt(f(0x149))/0xb*(-parseInt(f(0x145))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a167c,0xa3abf));function a167d(a,b){var c=a167c();return a167d=function(d,e){d=d-0x145;var f=c[d];return f;},a167d(a,b);}var a167b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a167d;if(c){var e=c[g(0x153)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a167a=a167b(this,function(){var h=a167d;return a167a['toString']()[h(0x147)](h(0x151))[h(0x150)]()[h(0x154)](a167a)[h(0x147)](h(0x151));});a167a();function a167c(){var i=['473009vZyOIh','979kyhxSZ','2lvPvyb','263776tPcHGE','8699787meIBvr','177hUgsqZ','56wAfEvL','11745KvQBEY','toString','(((.+)+)+)+$','3988vcFxUq','apply','constructor','1758kVHQYi','528036xeZksc','7953600Eisksa','search'];a167c=function(){return i;};return a167c();}export{};
1
+ (function(a,b){var f=a167d,c=a();while(!![]){try{var d=parseInt(f(0x16e))/0x1+parseInt(f(0x16b))/0x2*(parseInt(f(0x16a))/0x3)+parseInt(f(0x163))/0x4*(-parseInt(f(0x170))/0x5)+-parseInt(f(0x169))/0x6+parseInt(f(0x16f))/0x7+parseInt(f(0x165))/0x8+-parseInt(f(0x166))/0x9*(parseInt(f(0x167))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a167c,0x62cb8));function a167c(){var i=['2983180RTawlF','toString','3898290nPRrcB','33DJkIQo','56476zZraNf','search','apply','321946KmRSfe','3692493bzNIZq','20ahsqUB','(((.+)+)+)+$','254088gGvaZJ','constructor','3573776OrKoqK','9iDKkMj'];a167c=function(){return i;};return a167c();}var a167b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a167d;if(c){var e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a167a=a167b(this,function(){var h=a167d;return a167a[h(0x168)]()[h(0x16c)](h(0x162))[h(0x168)]()[h(0x164)](a167a)[h(0x16c)]('(((.+)+)+)+$');});function a167d(a,b){var c=a167c();return a167d=function(d,e){d=d-0x162;var f=c[d];return f;},a167d(a,b);}a167a();export{};
@@ -1 +1 @@
1
- const a168p=a168d;function a168d(a,b){const c=a168c();return a168d=function(d,e){d=d-0x108;let f=c[d];return f;},a168d(a,b);}(function(a,b){const m=a168d,c=a();while(!![]){try{const d=-parseInt(m(0x111))/0x1*(parseInt(m(0x119))/0x2)+parseInt(m(0x129))/0x3+parseInt(m(0x12c))/0x4+parseInt(m(0x120))/0x5*(parseInt(m(0x11d))/0x6)+-parseInt(m(0x12d))/0x7*(parseInt(m(0x118))/0x8)+-parseInt(m(0x130))/0x9+parseInt(m(0x12a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a168c,0x429f0));const a168b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a168d;if(c){const e=c[n(0x11c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a168a=a168b(this,function(){const o=a168d;return a168a[o(0x128)]()['search'](o(0x133))['toString']()[o(0x122)](a168a)[o(0x110)]('(((.+)+)+)+$');});a168a();import a168e from'path';import{execSync,spawnSync,spawn}from'child_process';import{Log}from'../log/log.class.js';function a168c(){const w=['pem','message','dest','search','412219pLhTwY','ssh','close','ping','port','stdout','ConnectTimeout=2','80kxQMdW','2Pnzfmi','stderr','scp','apply','143370IWvhEW','sshSync','user','95JdALtG','verbose','constructor','withSpinner','concat','sshVerbose','error','inherit','toString','1445499lPGIpj','3376260hKtqSn','source','1298144kxOdtl','325927TsLOqe','2>&1','ignore','4025619EqiEwL','tty','push','(((.+)+)+)+$','env','pipe','success','ssh\x20','join','host'];a168c=function(){return w;};return a168c();}export class SSH{static [a168p(0x112)]=(a,b,c)=>{return new Promise((d,e)=>{const q=a168d,f=b['user']+'@'+b[q(0x10c)],g=a168e['join'](b[q(0x134)],b[q(0x10d)]),h=c?.[q(0x131)]||![],i=c?.[q(0x125)]||![];let j=[];h&&j[q(0x132)]('-t');i&&j[q(0x132)]('-v');j=j['concat'](['-o',q(0x117),'-i',g,'-p',b[q(0x115)],f,a]);const k=Log[q(0x123)]();c?.[q(0x10e)]&&k['start'](c?.[q(0x10e)]);const l=spawn(q(0x112),j,{'stdio':c?.[q(0x121)]?q(0x127):q(0x12f)});l['on']('disconnect',()=>{c?.['message']&&k['success'](),d();}),l['on'](q(0x113),()=>{const r=q;c?.[r(0x10e)]&&k[r(0x109)](),d();}),l['on'](q(0x126),()=>{const s=q;c?.[s(0x10e)]&&k['failure'](),e();});});};static [a168p(0x11e)]=(a,b,c)=>{const t=a168p,d=b[t(0x11f)]+'@'+b['host'],e=a168e[t(0x10b)](b[t(0x134)],b['pem']),f=c?.[t(0x131)]||![],g=c?.[t(0x125)]||![],h=c?.['silentOutput']||![];let i=[];f&&i['push']('-t');g&&i[t(0x132)]('-v');i=i['concat'](['-o',t(0x117),'-i',e,'-p',b[t(0x115)][t(0x128)](),d,a]);const j=h?t(0x108):'inherit',k=spawnSync('ssh',i,{'encoding':'utf-8','stdio':[j,t(0x108),'pipe']});if(h)return{'stdout':k[t(0x116)]||'','stderr':k[t(0x11a)]||'','status':k['status']};};static[a168p(0x114)](a,b,c){const u=a168p,d=b['user']+'@'+b['host'],e=a168e['join'](b[u(0x134)],b[u(0x10d)]),f=c?.['tty']||![];let g=[];f&&g['push']('-t');g=g[u(0x124)](['-o',u(0x117),'-i',e,'-p',b[u(0x115)],d,a,u(0x12e)]);const h=u(0x10a)+g[u(0x10b)]('\x20');return execSync(h)[u(0x128)]();}static[a168p(0x11b)](a,b){const v=a168p,c=b['user']+'@'+b[v(0x10c)]+':'+a[v(0x10f)],d=a168e['join'](b[v(0x134)],b[v(0x10d)]),e=['-i',d,'-P',b['port'],a[v(0x12b)],c];spawnSync(v(0x11b),e,{'stdio':a[v(0x121)]?v(0x127):'ignore'});}}
1
+ const a168p=a168d;(function(a,b){const m=a168d,c=a();while(!![]){try{const d=-parseInt(m(0x138))/0x1+parseInt(m(0x13d))/0x2*(parseInt(m(0x141))/0x3)+-parseInt(m(0x147))/0x4+-parseInt(m(0x13a))/0x5+-parseInt(m(0x13b))/0x6+-parseInt(m(0x124))/0x7*(-parseInt(m(0x127))/0x8)+parseInt(m(0x11b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a168c,0x99cca));function a168c(){const x=['error','188293viYBPY','ignore','toString','96vJHaiJ','push','pipe','concat','silentOutput','start','port','verbose','scp','failure','user','(((.+)+)+)+$','pem','sshVerbose','host','ConnectTimeout=2','tty','102202GnBwlP','close','3925325oGtQDr','2425812fyGFGo','disconnect','590gBPlwQ','ssh','join','status','12594gzDgfO','ping','message','constructor','dest','ssh\x20','940356KzmNZE','5358798rRPuGG','sshSync','apply','2>&1','success','inherit','stdout','env'];a168c=function(){return x;};return a168c();}const a168b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a168d;if(c){const e=c[n(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a168a=a168b(this,function(){const o=a168d;return a168a[o(0x126)]()['search'](o(0x132))[o(0x126)]()[o(0x144)](a168a)['search'](o(0x132));});a168a();import a168e from'path';import{execSync,spawnSync,spawn}from'child_process';import{Log}from'../log/log.class.js';function a168d(a,b){const c=a168c();return a168d=function(d,e){d=d-0x11b;let f=c[d];return f;},a168d(a,b);}export class SSH{static [a168p(0x13e)]=(a,b,c)=>{return new Promise((d,e)=>{const q=a168d,f=b['user']+'@'+b['host'],g=a168e['join'](b['env'],b[q(0x133)]),h=c?.[q(0x137)]||![],i=c?.['sshVerbose']||![];let j=[];h&&j[q(0x128)]('-t');i&&j[q(0x128)]('-v');j=j[q(0x12a)](['-o','ConnectTimeout=2','-i',g,'-p',b[q(0x12d)],f,a]);const k=Log['withSpinner']();c?.[q(0x143)]&&k[q(0x12c)](c?.[q(0x143)]);const l=spawn(q(0x13e),j,{'stdio':c?.['verbose']?q(0x120):q(0x125)});l['on'](q(0x13c),()=>{const r=q;c?.[r(0x143)]&&k[r(0x11f)](),d();}),l['on'](q(0x139),()=>{const s=q;c?.[s(0x143)]&&k['success'](),d();}),l['on'](q(0x123),()=>{const t=q;c?.[t(0x143)]&&k[t(0x130)](),e();});});};static [a168p(0x11c)]=(a,b,c)=>{const u=a168p,d=b[u(0x131)]+'@'+b[u(0x135)],e=a168e[u(0x13f)](b[u(0x122)],b[u(0x133)]),f=c?.[u(0x137)]||![],g=c?.[u(0x134)]||![],h=c?.[u(0x12b)]||![];let i=[];f&&i['push']('-t');g&&i[u(0x128)]('-v');i=i['concat'](['-o',u(0x136),'-i',e,'-p',b[u(0x12d)][u(0x126)](),d,a]);const j=h?u(0x129):u(0x120),k=spawnSync(u(0x13e),i,{'encoding':'utf-8','stdio':[j,u(0x129),u(0x129)]});if(h)return{'stdout':k[u(0x121)]||'','stderr':k['stderr']||'','status':k[u(0x140)]};};static[a168p(0x142)](a,b,c){const v=a168p,d=b[v(0x131)]+'@'+b[v(0x135)],e=a168e[v(0x13f)](b[v(0x122)],b[v(0x133)]),f=c?.[v(0x137)]||![];let g=[];f&&g['push']('-t');g=g[v(0x12a)](['-o',v(0x136),'-i',e,'-p',b[v(0x12d)],d,a,v(0x11e)]);const h=v(0x146)+g[v(0x13f)]('\x20');return execSync(h)[v(0x126)]();}static[a168p(0x12f)](a,b){const w=a168p,c=b[w(0x131)]+'@'+b[w(0x135)]+':'+a[w(0x145)],d=a168e[w(0x13f)](b[w(0x122)],b['pem']),e=['-i',d,'-P',b[w(0x12d)],a['source'],c];spawnSync('scp',e,{'stdio':a[w(0x12e)]?w(0x120):w(0x125)});}}
@@ -1 +1 @@
1
- function a169c(){var i=['10467930GcNWNd','apply','5988954xnAaNl','13180QNjYQp','12169926FRHgld','405ZXNrwZ','6538735Vbpeeo','3602EvMhTg','constructor','410527MZrgNb','search','148apQnst','8dJDPXa'];a169c=function(){return i;};return a169c();}function a169d(a,b){var c=a169c();return a169d=function(d,e){d=d-0x103;var f=c[d];return f;},a169d(a,b);}(function(a,b){var f=a169d,c=a();while(!![]){try{var d=parseInt(f(0x10a))/0x1+parseInt(f(0x108))/0x2*(-parseInt(f(0x106))/0x3)+-parseInt(f(0x10c))/0x4*(-parseInt(f(0x104))/0x5)+-parseInt(f(0x103))/0x6+-parseInt(f(0x107))/0x7*(parseInt(f(0x10d))/0x8)+parseInt(f(0x105))/0x9+parseInt(f(0x10e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a169c,0xb2a13));var a169b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a169d;if(c){var e=c[g(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a169a=a169b(this,function(){var h=a169d;return a169a['toString']()[h(0x10b)]('(((.+)+)+)+$')['toString']()[h(0x109)](a169a)[h(0x10b)]('(((.+)+)+)+$');});a169a();export{};
1
+ (function(a,b){var f=a169d,c=a();while(!![]){try{var d=parseInt(f(0x14f))/0x1+parseInt(f(0x153))/0x2*(parseInt(f(0x159))/0x3)+parseInt(f(0x14c))/0x4*(parseInt(f(0x158))/0x5)+parseInt(f(0x14e))/0x6+parseInt(f(0x14d))/0x7*(parseInt(f(0x151))/0x8)+-parseInt(f(0x155))/0x9*(parseInt(f(0x154))/0xa)+parseInt(f(0x152))/0xb*(-parseInt(f(0x157))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a169c,0x93cc7));function a169c(){var i=['4kipZOZ','3377790NxikvV','9fEUlah','(((.+)+)+)+$','1498308OQgTxM','695qBAoXV','23631kvOaKv','search','constructor','5084cLRAbU','203YLfThG','1532970crvkzC','379981PIIVHG','apply','204016HsJFXX','55lmxxbt'];a169c=function(){return i;};return a169c();}function a169d(a,b){var c=a169c();return a169d=function(d,e){d=d-0x14b;var f=c[d];return f;},a169d(a,b);}var a169b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a169d;if(c){var e=c[g(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a169a=a169b(this,function(){var h=a169d;return a169a['toString']()[h(0x15a)](h(0x156))['toString']()[h(0x14b)](a169a)[h(0x15a)](h(0x156));});a169a();export{};
@@ -1 +1 @@
1
- const a170i=a170d;(function(a,b){const f=a170d,c=a();while(!![]){try{const d=-parseInt(f(0x6e))/0x1*(-parseInt(f(0x7a))/0x2)+-parseInt(f(0x6f))/0x3*(-parseInt(f(0x84))/0x4)+-parseInt(f(0x7d))/0x5*(-parseInt(f(0x6b))/0x6)+-parseInt(f(0x79))/0x7+parseInt(f(0x75))/0x8*(parseInt(f(0x69))/0x9)+parseInt(f(0x88))/0xa*(parseInt(f(0x7c))/0xb)+-parseInt(f(0x7b))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a170c,0xcb311));const a170b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a170d;if(c){const e=c[g(0x74)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a170a=a170b(this,function(){const h=a170d;return a170a[h(0x70)]()['search'](h(0x83))[h(0x70)]()[h(0x6c)](a170a)[h(0x89)](h(0x83));});function a170c(){const l=['20qAQrIv','search','cwd','-new','useConfig','2169mklXtR','-nodes','18quOnyt','constructor','-config','1irvPUd','3PeYRZM','toString','openssl.conf','csrName','-keyout','apply','43160CEkvPW','-newkey','genSSC','req','10851575WJsQdW','276278VuaAiq','16698528yKAlfA','935385PCfKox','1910775wfRXTa','openssl','keyName','-out','push','rsa:2048','(((.+)+)+)+$','4076692jxxuBq','genCSR','inherit','-key'];a170c=function(){return l;};return a170c();}function a170d(a,b){const c=a170c();return a170d=function(d,e){d=d-0x68;let f=c[d];return f;},a170d(a,b);}a170a();import{spawnSync}from'child_process';export class SSL{static[a170i(0x85)](a){const j=a170i,b=a['cwd']?a[j(0x8a)]:process[j(0x8a)](),c=[j(0x78),j(0x8b),j(0x76),j(0x82),j(0x6a),j(0x73),a[j(0x7f)],j(0x80),a[j(0x72)]];a[j(0x68)]&&(c[j(0x81)](j(0x6d)),c[j(0x81)](j(0x71))),a['useConfig']?spawnSync(j(0x7e),c,{'cwd':b}):spawnSync(j(0x7e),c,{'stdio':'inherit','cwd':b});}static[a170i(0x77)](a){const k=a170i,b=a[k(0x8a)]?a[k(0x8a)]:process[k(0x8a)](),c=['req','-x509','-new',k(0x87),a['keyName'],k(0x80),a['crtName']];a[k(0x68)]&&(c[k(0x81)](k(0x6d)),c['push'](k(0x71))),a['useConfig']?spawnSync(k(0x7e),c,{'cwd':b}):spawnSync('openssl',c,{'stdio':k(0x86),'cwd':b});}}
1
+ const a170i=a170d;(function(a,b){const f=a170d,c=a();while(!![]){try{const d=-parseInt(f(0x15b))/0x1+parseInt(f(0x161))/0x2+-parseInt(f(0x152))/0x3+parseInt(f(0x159))/0x4*(-parseInt(f(0x162))/0x5)+-parseInt(f(0x15d))/0x6*(-parseInt(f(0x146))/0x7)+-parseInt(f(0x154))/0x8+-parseInt(f(0x14a))/0x9*(-parseInt(f(0x14c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a170c,0x6ad8f));const a170b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a170d;if(c){const e=c[g(0x15a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a170a=a170b(this,function(){const h=a170d;return a170a['toString']()[h(0x15f)]('(((.+)+)+)+$')['toString']()['constructor'](a170a)[h(0x15f)]('(((.+)+)+)+$');});a170a();function a170c(){const l=['155wxbHkh','-newkey','40761ZeRywl','-config','openssl','genSSC','23198247pnANOz','csrName','10CBrSPs','openssl.conf','rsa:2048','cwd','-keyout','req','1637085GWfyoH','useConfig','2935904xIfkmM','push','-out','keyName','-x509','85192jKibMy','apply','774406mIjkvI','-new','138BZaJdM','genCSR','search','inherit','146924yGAwBW'];a170c=function(){return l;};return a170c();}function a170d(a,b){const c=a170c();return a170d=function(d,e){d=d-0x146;let f=c[d];return f;},a170d(a,b);}import{spawnSync}from'child_process';export class SSL{static[a170i(0x15e)](a){const j=a170i,b=a[j(0x14f)]?a[j(0x14f)]:process[j(0x14f)](),c=['req',j(0x15c),j(0x163),j(0x14e),'-nodes',j(0x150),a[j(0x157)],j(0x156),a[j(0x14b)]];a['useConfig']&&(c[j(0x155)]('-config'),c[j(0x155)](j(0x14d))),a[j(0x153)]?spawnSync(j(0x148),c,{'cwd':b}):spawnSync(j(0x148),c,{'stdio':j(0x160),'cwd':b});}static[a170i(0x149)](a){const k=a170i,b=a[k(0x14f)]?a[k(0x14f)]:process[k(0x14f)](),c=[k(0x151),k(0x158),k(0x15c),'-key',a[k(0x157)],'-out',a['crtName']];a[k(0x153)]&&(c['push'](k(0x147)),c['push'](k(0x14d))),a[k(0x153)]?spawnSync(k(0x148),c,{'cwd':b}):spawnSync(k(0x148),c,{'stdio':k(0x160),'cwd':b});}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maka/maka-cli",
3
- "version": "5.1.14",
3
+ "version": "5.1.15",
4
4
  "type": "module",
5
5
  "summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
6
6
  "description": "A command line tool for scaffolding Meteor 2.x applications using React.",