@maka/maka-cli 5.0.31 → 5.0.32

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 (168) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/test.js +1 -1
  100. package/bundle/obf/src/commands/undo.js +1 -1
  101. package/bundle/obf/src/commands/version.js +1 -1
  102. package/bundle/obf/src/error.js +1 -1
  103. package/bundle/obf/src/exec.js +1 -1
  104. package/bundle/obf/src/generator.js +1 -1
  105. package/bundle/obf/src/generators/_index.js +1 -1
  106. package/bundle/obf/src/generators/api.js +1 -1
  107. package/bundle/obf/src/generators/aws/_index.js +1 -1
  108. package/bundle/obf/src/generators/aws/aws.js +1 -1
  109. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  112. package/bundle/obf/src/generators/collection.js +1 -1
  113. package/bundle/obf/src/generators/component.js +1 -1
  114. package/bundle/obf/src/generators/config.js +1 -1
  115. package/bundle/obf/src/generators/dbc.js +1 -1
  116. package/bundle/obf/src/generators/dockerfile.js +1 -1
  117. package/bundle/obf/src/generators/hook.js +1 -1
  118. package/bundle/obf/src/generators/kits/_index.js +1 -1
  119. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/kit.js +1 -1
  127. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  131. package/bundle/obf/src/generators/layout.js +1 -1
  132. package/bundle/obf/src/generators/maka.gen.js +1 -1
  133. package/bundle/obf/src/generators/methods.js +1 -1
  134. package/bundle/obf/src/generators/package.js +1 -1
  135. package/bundle/obf/src/generators/page.js +1 -1
  136. package/bundle/obf/src/generators/publish.js +1 -1
  137. package/bundle/obf/src/generators/route.js +1 -1
  138. package/bundle/obf/src/generators/service.js +1 -1
  139. package/bundle/obf/src/generators/services/_index.js +1 -1
  140. package/bundle/obf/src/generators/services/openssl.js +1 -1
  141. package/bundle/obf/src/generators/services/translation.js +1 -1
  142. package/bundle/obf/src/maka.js +1 -1
  143. package/bundle/obf/src/templates/service/eslint/babelrc +16 -1
  144. package/bundle/obf/src/templates/service/eslint/config.eslint.js +29 -33
  145. package/bundle/obf/src/tool.js +1 -1
  146. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  148. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  150. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  151. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  153. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  154. package/bundle/obf/src/tools/https/https.class.js +1 -1
  155. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  156. package/bundle/obf/src/tools/log/log.class.js +1 -1
  157. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  158. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  159. package/bundle/obf/src/tools/options/options.class.js +1 -1
  160. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  161. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  162. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  163. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  164. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  166. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  167. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  168. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(a,b){var k=a145d,c=a();while(!![]){try{var d=-parseInt(k(0x15a))/0x1*(-parseInt(k(0x158))/0x2)+-parseInt(k(0x15c))/0x3+-parseInt(k(0x14f))/0x4+parseInt(k(0x156))/0x5+-parseInt(k(0x159))/0x6+-parseInt(k(0x157))/0x7*(-parseInt(k(0x153))/0x8)+parseInt(k(0x150))/0x9*(parseInt(k(0x152))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a145c,0x60b21));export var CountryCode;function a145c(){var n=['toString','(((.+)+)+)+$','1385180FBbWKc','413IeFDIt','158eGLUip','965916jaOUXZ','4341QRwUJR','search','1557831RauOMo','apply','1211280lKjOaZ','3129804uGfBzA','constructor','20uAvPVh','8632lakphp'];a145c=function(){return n;};return a145c();}function a145d(a,b){var c=a145c();return a145d=function(d,e){d=d-0x14f;var f=c[d];return f;},a145d(a,b);}(function(c){var d=(function(){var f=!![];return function(g,h){var i=f?function(){var l=a145d;if(h){var j=h[l(0x15d)](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var m=a145d;return e[m(0x154)]()[m(0x15b)](m(0x155))[m(0x154)]()[m(0x151)](e)['search'](m(0x155));});e(),c['AC']='AC',c['AD']='AD',c['AE']='AE',c['AF']='AF',c['AG']='AG',c['AI']='AI',c['AL']='AL',c['AM']='AM',c['AN']='AN',c['AO']='AO',c['AQ']='AQ',c['AR']='AR',c['AS']='AS',c['AT']='AT',c['AU']='AU',c['AW']='AW',c['AX']='AX',c['AZ']='AZ',c['BA']='BA',c['BB']='BB',c['BD']='BD',c['BE']='BE',c['BF']='BF',c['BG']='BG',c['BH']='BH',c['BI']='BI',c['BJ']='BJ',c['BL']='BL',c['BM']='BM',c['BN']='BN',c['BO']='BO',c['BQ']='BQ',c['BR']='BR',c['BS']='BS',c['BT']='BT',c['BV']='BV',c['BW']='BW',c['BY']='BY',c['BZ']='BZ',c['CA']='CA',c['CC']='CC',c['CD']='CD',c['CF']='CF',c['CG']='CG',c['CH']='CH',c['CI']='CI',c['CK']='CK',c['CL']='CL',c['CM']='CM',c['CN']='CN',c['CO']='CO',c['CR']='CR',c['CU']='CU',c['CV']='CV',c['CW']='CW',c['CX']='CX',c['CY']='CY',c['CZ']='CZ',c['DE']='DE',c['DJ']='DJ',c['DK']='DK',c['DM']='DM',c['DO']='DO',c['DZ']='DZ',c['EC']='EC',c['EE']='EE',c['EG']='EG',c['EH']='EH',c['ER']='ER',c['ES']='ES',c['ET']='ET',c['FI']='FI',c['FJ']='FJ',c['FK']='FK',c['FM']='FM',c['FO']='FO',c['FR']='FR',c['GA']='GA',c['GB']='GB',c['GD']='GD',c['GE']='GE',c['GF']='GF',c['GG']='GG',c['GH']='GH',c['GI']='GI',c['GL']='GL',c['GM']='GM',c['GN']='GN',c['GP']='GP',c['GQ']='GQ',c['GR']='GR',c['GS']='GS',c['GT']='GT',c['GU']='GU',c['GW']='GW',c['GY']='GY',c['HK']='HK',c['HM']='HM',c['HN']='HN',c['HR']='HR',c['HT']='HT',c['HU']='HU',c['ID']='ID',c['IE']='IE',c['IL']='IL',c['IM']='IM',c['IN']='IN',c['IO']='IO',c['IQ']='IQ',c['IR']='IR',c['IS']='IS',c['IT']='IT',c['JE']='JE',c['JM']='JM',c['JO']='JO',c['JP']='JP',c['KE']='KE',c['KG']='KG',c['KH']='KH',c['KI']='KI',c['KM']='KM',c['KN']='KN',c['KP']='KP',c['KR']='KR',c['KW']='KW',c['KY']='KY',c['KZ']='KZ',c['LA']='LA',c['LB']='LB',c['LC']='LC',c['LI']='LI',c['LK']='LK',c['LR']='LR',c['LS']='LS',c['LT']='LT',c['LU']='LU',c['LV']='LV',c['LY']='LY',c['MA']='MA',c['MC']='MC',c['MD']='MD',c['ME']='ME',c['MF']='MF',c['MG']='MG',c['MH']='MH',c['MK']='MK',c['ML']='ML',c['MM']='MM',c['MN']='MN',c['MO']='MO',c['MP']='MP',c['MQ']='MQ',c['MR']='MR',c['MS']='MS',c['MT']='MT',c['MU']='MU',c['MV']='MV',c['MW']='MW',c['MX']='MX',c['MY']='MY',c['MZ']='MZ',c['NA']='NA',c['NC']='NC',c['NE']='NE',c['NF']='NF',c['NG']='NG',c['NI']='NI',c['NL']='NL',c['NO']='NO',c['NP']='NP',c['NR']='NR',c['NU']='NU',c['NZ']='NZ',c['OM']='OM',c['PA']='PA',c['PE']='PE',c['PF']='PF',c['PG']='PG',c['PH']='PH',c['PK']='PK',c['PL']='PL',c['PM']='PM',c['PN']='PN',c['PR']='PR',c['PS']='PS',c['PT']='PT',c['PW']='PW',c['PY']='PY',c['QA']='QA',c['RE']='RE',c['RO']='RO',c['RS']='RS',c['RU']='RU',c['RW']='RW',c['SA']='SA',c['SB']='SB',c['SC']='SC',c['SD']='SD',c['SE']='SE',c['SG']='SG',c['SH']='SH',c['SI']='SI',c['SJ']='SJ',c['SK']='SK',c['SL']='SL',c['SM']='SM',c['SN']='SN',c['SO']='SO',c['SR']='SR',c['SS']='SS',c['ST']='ST',c['SV']='SV',c['SX']='SX',c['SY']='SY',c['SZ']='SZ',c['TC']='TC',c['TD']='TD',c['TF']='TF',c['TG']='TG',c['TH']='TH',c['TJ']='TJ',c['TK']='TK',c['TL']='TL',c['TM']='TM',c['TN']='TN',c['TO']='TO',c['TP']='TP',c['TR']='TR',c['TT']='TT',c['TV']='TV',c['TW']='TW',c['TZ']='TZ',c['UA']='UA',c['UG']='UG',c['US']='US',c['UY']='UY',c['UZ']='UZ',c['VA']='VA',c['VC']='VC',c['VE']='VE',c['VG']='VG',c['VI']='VI',c['VN']='VN',c['VU']='VU',c['WF']='WF',c['WS']='WS',c['YE']='YE',c['YT']='YT',c['ZA']='ZA',c['ZM']='ZM',c['ZW']='ZW';}(CountryCode||(CountryCode={})));
1
+ (function(a,b){var k=a145d,c=a();while(!![]){try{var d=parseInt(k(0x1eb))/0x1+parseInt(k(0x1f4))/0x2+parseInt(k(0x1ec))/0x3+parseInt(k(0x1ed))/0x4+parseInt(k(0x1f3))/0x5+parseInt(k(0x1ea))/0x6+-parseInt(k(0x1f0))/0x7*(parseInt(k(0x1ef))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a145c,0xe0645));function a145d(a,b){var c=a145c();return a145d=function(d,e){d=d-0x1ea;var f=c[d];return f;},a145d(a,b);}export var CountryCode;(function(c){var d=(function(){var f=!![];return function(g,h){var i=f?function(){if(h){var j=h['apply'](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var l=a145d;return e[l(0x1f2)]()[l(0x1f1)](l(0x1ee))[l(0x1f2)]()['constructor'](e)['search'](l(0x1ee));});e(),c['AC']='AC',c['AD']='AD',c['AE']='AE',c['AF']='AF',c['AG']='AG',c['AI']='AI',c['AL']='AL',c['AM']='AM',c['AN']='AN',c['AO']='AO',c['AQ']='AQ',c['AR']='AR',c['AS']='AS',c['AT']='AT',c['AU']='AU',c['AW']='AW',c['AX']='AX',c['AZ']='AZ',c['BA']='BA',c['BB']='BB',c['BD']='BD',c['BE']='BE',c['BF']='BF',c['BG']='BG',c['BH']='BH',c['BI']='BI',c['BJ']='BJ',c['BL']='BL',c['BM']='BM',c['BN']='BN',c['BO']='BO',c['BQ']='BQ',c['BR']='BR',c['BS']='BS',c['BT']='BT',c['BV']='BV',c['BW']='BW',c['BY']='BY',c['BZ']='BZ',c['CA']='CA',c['CC']='CC',c['CD']='CD',c['CF']='CF',c['CG']='CG',c['CH']='CH',c['CI']='CI',c['CK']='CK',c['CL']='CL',c['CM']='CM',c['CN']='CN',c['CO']='CO',c['CR']='CR',c['CU']='CU',c['CV']='CV',c['CW']='CW',c['CX']='CX',c['CY']='CY',c['CZ']='CZ',c['DE']='DE',c['DJ']='DJ',c['DK']='DK',c['DM']='DM',c['DO']='DO',c['DZ']='DZ',c['EC']='EC',c['EE']='EE',c['EG']='EG',c['EH']='EH',c['ER']='ER',c['ES']='ES',c['ET']='ET',c['FI']='FI',c['FJ']='FJ',c['FK']='FK',c['FM']='FM',c['FO']='FO',c['FR']='FR',c['GA']='GA',c['GB']='GB',c['GD']='GD',c['GE']='GE',c['GF']='GF',c['GG']='GG',c['GH']='GH',c['GI']='GI',c['GL']='GL',c['GM']='GM',c['GN']='GN',c['GP']='GP',c['GQ']='GQ',c['GR']='GR',c['GS']='GS',c['GT']='GT',c['GU']='GU',c['GW']='GW',c['GY']='GY',c['HK']='HK',c['HM']='HM',c['HN']='HN',c['HR']='HR',c['HT']='HT',c['HU']='HU',c['ID']='ID',c['IE']='IE',c['IL']='IL',c['IM']='IM',c['IN']='IN',c['IO']='IO',c['IQ']='IQ',c['IR']='IR',c['IS']='IS',c['IT']='IT',c['JE']='JE',c['JM']='JM',c['JO']='JO',c['JP']='JP',c['KE']='KE',c['KG']='KG',c['KH']='KH',c['KI']='KI',c['KM']='KM',c['KN']='KN',c['KP']='KP',c['KR']='KR',c['KW']='KW',c['KY']='KY',c['KZ']='KZ',c['LA']='LA',c['LB']='LB',c['LC']='LC',c['LI']='LI',c['LK']='LK',c['LR']='LR',c['LS']='LS',c['LT']='LT',c['LU']='LU',c['LV']='LV',c['LY']='LY',c['MA']='MA',c['MC']='MC',c['MD']='MD',c['ME']='ME',c['MF']='MF',c['MG']='MG',c['MH']='MH',c['MK']='MK',c['ML']='ML',c['MM']='MM',c['MN']='MN',c['MO']='MO',c['MP']='MP',c['MQ']='MQ',c['MR']='MR',c['MS']='MS',c['MT']='MT',c['MU']='MU',c['MV']='MV',c['MW']='MW',c['MX']='MX',c['MY']='MY',c['MZ']='MZ',c['NA']='NA',c['NC']='NC',c['NE']='NE',c['NF']='NF',c['NG']='NG',c['NI']='NI',c['NL']='NL',c['NO']='NO',c['NP']='NP',c['NR']='NR',c['NU']='NU',c['NZ']='NZ',c['OM']='OM',c['PA']='PA',c['PE']='PE',c['PF']='PF',c['PG']='PG',c['PH']='PH',c['PK']='PK',c['PL']='PL',c['PM']='PM',c['PN']='PN',c['PR']='PR',c['PS']='PS',c['PT']='PT',c['PW']='PW',c['PY']='PY',c['QA']='QA',c['RE']='RE',c['RO']='RO',c['RS']='RS',c['RU']='RU',c['RW']='RW',c['SA']='SA',c['SB']='SB',c['SC']='SC',c['SD']='SD',c['SE']='SE',c['SG']='SG',c['SH']='SH',c['SI']='SI',c['SJ']='SJ',c['SK']='SK',c['SL']='SL',c['SM']='SM',c['SN']='SN',c['SO']='SO',c['SR']='SR',c['SS']='SS',c['ST']='ST',c['SV']='SV',c['SX']='SX',c['SY']='SY',c['SZ']='SZ',c['TC']='TC',c['TD']='TD',c['TF']='TF',c['TG']='TG',c['TH']='TH',c['TJ']='TJ',c['TK']='TK',c['TL']='TL',c['TM']='TM',c['TN']='TN',c['TO']='TO',c['TP']='TP',c['TR']='TR',c['TT']='TT',c['TV']='TV',c['TW']='TW',c['TZ']='TZ',c['UA']='UA',c['UG']='UG',c['US']='US',c['UY']='UY',c['UZ']='UZ',c['VA']='VA',c['VC']='VC',c['VE']='VE',c['VG']='VG',c['VI']='VI',c['VN']='VN',c['VU']='VU',c['WF']='WF',c['WS']='WS',c['YE']='YE',c['YT']='YT',c['ZA']='ZA',c['ZM']='ZM',c['ZW']='ZW';}(CountryCode||(CountryCode={})));function a145c(){var m=['toString','96630FYFtgu','920832TBblhZ','10451418eyEPAV','1217887zRyOaz','2980131CRHqGm','3167676SOFpFR','(((.+)+)+)+$','34445752ewTwpC','7fuCqiU','search'];a145c=function(){return m;};return a145c();}
@@ -1 +1 @@
1
- const a146w=a146d;(function(a,b){const t=a146d,c=a();while(!![]){try{const d=-parseInt(t(0x8b))/0x1*(-parseInt(t(0xca))/0x2)+-parseInt(t(0xcf))/0x3+-parseInt(t(0xcb))/0x4+parseInt(t(0xad))/0x5*(parseInt(t(0xe0))/0x6)+parseInt(t(0x7a))/0x7*(-parseInt(t(0x9b))/0x8)+parseInt(t(0xa6))/0x9*(-parseInt(t(0xa7))/0xa)+parseInt(t(0xd7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a146c,0xb8d9a));const a146b=(function(){let a=!![];return function(b,c){const d=a?function(){const u=a146d;if(c){const e=c[u(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a146a=a146b(this,function(){const v=a146d;return a146a[v(0x83)]()[v(0x9e)](v(0x8d))['toString']()[v(0xc0)](a146a)[v(0x9e)](v(0x8d));});function a146d(a,b){const c=a146c();return a146d=function(d,e){d=d-0x69;let f=c[d];return f;},a146d(a,b);}a146a();function a146c(){const T=['mocha','html','1qtRkAK','withValidation','(((.+)+)+)+$','getEnvSettings()','config','delGlobalConfigHash()','No\x20configuration:\x20','getGlobalConfig','readFileSync','react','tsx','withValidation()','engines','checkConfigExists()','parse','charAt','224FZGXRY','writeFileSync','/.maka/global-config.json\x20file\x20is\x20not\x20valid\x20JSON.\x20Your\x20global-config.json\x20has\x20been\x20removed.\x20\x20Please\x20re-run\x20your\x20last\x20command.','search','true','apply','\x20to\x20','isFile','includes','length','No\x20maka\x20project\x20config\x20file\x20found.','363483tiettP','90uXaXwW','pathFromProject','authToken','exit',',\x20consider\x20running\x20\x22maka\x20g:config\x20','getEnvSettings','35ZwOton','Not\x20in\x20a\x20maka\x20project','assign','defaultValue','No\x20global\x20config\x20file\x20','defaultValue()','setTemplate','setEngine()','deeperAssign','writeToFile','stringify','setProjectConfig()','vanilla','\x20in\x20','instance','env','Unsupported\x20js\x20engine:\x20','withValue','.maka','constructor','attemptAutoLogin','Unsupported\x20client\x20engine:\x20','setGlobalConfig()','join','min','config.json','startsWith','token','getInstance','1680286sXfjyR','9512ipEjqP','No\x20app\x20name\x20present\x20in\x20./maka/config.json.','.meteor','cert','4093503APluHM','getMeteorInstallPath','css','delGlobalConfig','Are\x20you\x20sure\x20you\x20are\x20in\x20a\x20maka\x20project?','setEngine','checkGlobalConfigExists()','app','21036466IKLrgB','getAppConfigPath','settings.json','utf8','True','less','rest','getEnvFromShorthand','existsSync','346998gInCml','setEnvSettings','appName','forEach','Unsupported\x20api\x20engine:\x20','www.maka-cli.com','jsx','api','scss','homedir','Unsupported\x20css\x20engine:\x20','Environment\x20argument\x20provided,\x20but\x20its\x20value\x20is\x20not\x20recognized.','client','Error\x20in\x20','theme','findProjectDirectory','createFile','MAKA_DEV','material','getEnvFromShorthand()','getAppProjectConfigs()','fsi','setTemplate()','167468xhOBAT','global-config.json','string','undefined','Environemnt\x20argument\x20provided,\x20but\x20its\x20value\x20is\x20not\x20recognized.','setProjectConfig','sync','error','Unsupported\x20theme\x20engine:\x20','toString','warn','/api/v1/encodeJwt','Unsupported\x20html\x20engine:\x20','none','getMakaProjectConfig()'];a146c=function(){return T;};return a146c();}import a146e from'fs';import a146f from'path';import a146g from'os';import a146h from'delete';import{Log}from'../log/log.class.js';import{HTTPS}from'../https/https.class.js';const GLOBAL_CONFIG=a146w(0x7b),PROJECT_CONFIG=a146w(0xc6),homeDir=a146g[a146w(0x6c)](),errorHandler=(a,b)=>{const x=a146w;process[x(0xbc)][x(0x74)]===x(0xdb)&&Log[x(0x81)](x(0x70)+a),b&&console[x(0x81)](b);};export class CFG{static [a146w(0xbb)];[a146w(0x78)];constructor(a){this['fsi']=a;}static[a146w(0xc9)](a){const y=a146w;return!CFG[y(0xbb)]&&(CFG[y(0xbb)]=new CFG(a)),CFG[y(0xbb)];}['getAppProjectConfigs'](){const z=a146w;try{const a=this[z(0x78)][z(0x72)]();if(a===undefined)throw Log['error'](z(0xae));else{if(typeof a===z(0x7c)){const b=a146f['join'](a,z(0x8f)),c=a146e['readdirSync'](b)['filter'](d=>!d[z(0xc7)]('.'));return c;}}return[];}catch(d){errorHandler(z(0x77),d),process['exit'](0x1);}}[a146w(0xde)](a){const A=a146w;try{if(!a||typeof a!=='string')throw A(0x6e);const b=this['getAppProjectConfigs']();function c(h,k){const B=A,l=[],m=h[B(0xa4)],n=k[B(0xa4)];for(let o=0x0;o<=m;o++){l[o]=[o];}for(let p=0x0;p<=n;p++){l[0x0][p]=p;}for(let q=0x1;q<=m;q++){for(let r=0x1;r<=n;r++){const s=h[q-0x1]===k[r-0x1]?0x0:0x1;l[q][r]=Math[B(0xc5)](l[q-0x1][r]+0x1,l[q][r-0x1]+0x1,l[q-0x1][r-0x1]+s);}}return l[m][n];}let d=Infinity,f='';const g=a[A(0x9a)](0x0);return b[A(0xe3)](h=>{if(h['charAt'](0x0)===g){const i=c(a,h);i<d&&(d=i,f=h);}}),f!==''?f:a;}catch(h){errorHandler(A(0x76),h),process['exit'](0x1);}}['checkGlobalConfigExists'](){const C=a146w;try{const a=a146f['join'](homeDir,'.meteor',C(0xbf),GLOBAL_CONFIG),b=a146e[C(0xdf)](a);if(!b)throw Log['error'](C(0xb1)+a);return a;}catch(c){errorHandler(C(0xd5),c),process['exit'](0x1);}}['checkConfigExists'](a){const D=a146w;try{if(!a||typeof a!==D(0x7c))throw D(0x7e);const b=this[D(0xde)](a),c=this[D(0x78)][D(0xa8)]({'pathParts':[D(0x8f),b]}),d=a146e[D(0xdf)](c);if(!d)return![];return!![];}catch(f){errorHandler(D(0x98),f),process[D(0xaa)](0x1);}}[a146w(0xd8)](a){const E=a146w;try{if(!a||typeof a!==E(0x7c))throw E(0x7e);const b=this[E(0xde)](a),c=this[E(0x78)][E(0xa8)]({'pathParts':[E(0x8f),b]}),d=a146e[E(0xdf)](c);if(!d)throw Log['error'](E(0x91)+b+E(0xab)+b+'\x22');return c;}catch(f){errorHandler('getAppConfigPath()',f),process[E(0xaa)](0x1);}}[a146w(0xac)](a){const F=a146w;try{const b=this[F(0xd8)](a),c=a146e['readFileSync'](a146f[F(0xc4)](b,'settings.json'),F(0xda));return c[F(0x83)]();}catch(d){errorHandler(F(0x8e),d),process[F(0xaa)](0x1);}}[a146w(0xe1)](a,b,c){const G=a146w;try{const d=this[G(0xd8)](a),f=a146e[G(0x93)](a146f[G(0xc4)](d,G(0xd9)),G(0xda)),g=JSON[G(0x99)](f[G(0x83)]());g[b]=c;const h=JSON['stringify'](g,null,0x2);a146e[G(0x9c)](a146f[G(0xc4)](d,G(0xd9)),h),Log['success']('Successfully\x20set\x20'+b+G(0xa1)+c+G(0xba)+a146f['resolve'](d));}catch(i){errorHandler('setEnvSettings()',i),process[G(0xaa)](0x1);}}['getMakaProjectConfig'](){const H=a146w;try{const a=this[H(0x78)][H(0xa8)]({'pathParts':[H(0xbf),PROJECT_CONFIG]}),b=this[H(0x78)][H(0xa2)](a);if(!b){Log[H(0x81)](H(0xd3));throw Log[H(0x81)](H(0xa5));}const c=JSON[H(0x99)](a146e['readFileSync'](a,'utf8'));return!c[H(0xe2)]&&(Log[H(0x84)](H(0xcc)),c['appName']=H(0xd6)),c;}catch(d){errorHandler(H(0x88),d),process[H(0xaa)](0x1);}}['delGlobalConfigHash'](){const I=a146w;try{const a=a146f[I(0xc4)](this[I(0x78)][I(0xd0)](),I(0xbf),GLOBAL_CONFIG),b=JSON[I(0x99)](a146e[I(0x93)](a)['toString']()),c=JSON['stringify'](b,null,0x2);return this[I(0x78)]['writeToFile']({'filePath':a,'data':c,'opts':{'absolute':!![],'silent':!![]}}),b;}catch(d){errorHandler(I(0x90),d),process[I(0xaa)](0x1);}}[a146w(0xd2)](){const J=a146w;try{const a=a146f[J(0xc4)](this['fsi'][J(0xd0)](),J(0xbf),GLOBAL_CONFIG);a146h[J(0x80)](a,{'force':!![]});}catch(b){errorHandler('delGlobalConfig()',b),process['exit'](0x1);}}async[a146w(0x92)](){const K=a146w;try{const a=a146f[K(0xc4)](homeDir,K(0xbf));a146e['existsSync'](a)&&a146h['sync'](a,{'force':!![]});const b=a146f[K(0xc4)](this[K(0x78)][K(0xd0)](),K(0xbf),GLOBAL_CONFIG);if(!this['fsi'][K(0xa2)](b)){const c={'token':{'authToken':'','userId':'','when':''}},d=JSON[K(0xb7)](c,null,0x2);await this[K(0x78)][K(0x73)]({'filePath':b,'data':d,'opts':{'force':!![],'silent':!![]}});}return JSON['parse'](a146e[K(0x93)](b)[K(0x83)]());}catch(f){f instanceof SyntaxError?(this[K(0xd2)](),Log['error']('Your\x20'+this[K(0x78)][K(0xd0)]()+K(0x9d))):console[K(0x81)](f),process['exit'](0x1);}}[a146w(0x7f)](a,b){const L=a146w;try{const c=this['fsi'][L(0xa8)]({'pathParts':[L(0xbf),PROJECT_CONFIG]});let d=JSON[L(0x99)](a146e['readFileSync'](c,L(0xda)));const f=this[L(0x78)]['deepen']({[a]:b});d=this['fsi'][L(0xb5)](d,f);const g=JSON[L(0xb7)](d,null,0x2);a146e[L(0x9c)](c,g);}catch(h){errorHandler(L(0xb8),h),process[L(0xaa)](0x1);}}async['setGlobalConfig'](a){const M=a146w;try{const b=a146f[M(0xc4)](homeDir,M(0xcd),M(0xbf),GLOBAL_CONFIG);if(!this[M(0x78)][M(0xa2)](b)){const f=JSON[M(0xb7)](a,null,0x2);await this[M(0x78)][M(0x73)]({'filePath':b,'data':f,'opts':{'force':!![],'silent':!![]}});}const c=await this[M(0x92)]();Object['assign'](c,{...a});const d=JSON[M(0xb7)](c,null,0x2);this[M(0x78)][M(0xb6)]({'filePath':b,'data':d,'opts':{'absolute':!![],'silent':!![]}});}catch(g){errorHandler(M(0xc3),g),process['exit'](0x1);}}async[a146w(0xc1)](){const N=a146w,a=await this['getGlobalConfig'](),b=a?.[N(0xc8)],c=a?.[N(0xce)];if(b?.[N(0xa9)]){const d={'hostname':N(0xe5),'path':N(0x85),'headers':{'x-auth-token':b[N(0xa9)]},'data':{}};c&&Object[N(0xaf)](d,{'cert':c});const {data:e,statusCode:f}=await HTTPS['post'](d),{token:g}=JSON[N(0x99)](e);g&&f!==0x198&&this['setGlobalConfig'](a);}}[a146w(0xb3)](a,b){const O=a146w;try{const c=this[O(0x78)][O(0xa8)]({'pathParts':['.maka',PROJECT_CONFIG]}),d=JSON['parse'](a146e[O(0x93)](c,'utf8'));d['template'][a]=b;const f=JSON[O(0xb7)](d,null,0x2);a146e['writeFileSync'](c,f);}catch(g){errorHandler(O(0x79),g),process[O(0xaa)](0x1);}}[a146w(0xd4)](a,b){const P=a146w;try{const c=this[P(0x78)][P(0xa8)]({'pathParts':[P(0xbf),PROJECT_CONFIG]}),d=JSON[P(0x99)](a146e['readFileSync'](c,P(0xda)));d['engine'][a]=b;const f=JSON[P(0xb7)](d,null,0x2);a146e['writeFileSync'](c,f);}catch(g){errorHandler(P(0xb4),g),process['exit'](0x1);}}['defaultValue'](a,b){const Q=a146w;try{return typeof a===Q(0x7d)?b:a;}catch(c){errorHandler(Q(0xb2),c);}}async[a146w(0xbe)](a,b){const R=a146w;try{let c=null;return this[R(0x8c)](a),c=await b(),c;}catch(d){errorHandler('withValue()',d),process[R(0xaa)](0x1);}}[a146w(0x8c)](a){const S=a146w;try{const b={'html':[S(0x8a)],'js':['js',S(0x69),'ts',S(0x95)],'css':['css',S(0x6b),S(0xdc),'none'],'api':[S(0xdd),S(0x87)],'test':[S(0x89),S(0x87)],'client':[S(0x94),S(0xb9)],'graphql':['apollo'],'ssr':[S(0x9f),'false'],'theme':[S(0x75),S(0x87)]},c=a[S(0x97)]=this[S(0xb0)](a[S(0x97)],{});if(c[S(0x8a)]&&!b[S(0x8a)][S(0xa3)](c[S(0x8a)]))throw new Error(S(0x86)+c[S(0x8a)]);if(c['js']&&!b['js']['includes'](c['js']))throw new Error(S(0xbd)+c['js']);if(c[S(0xd1)]&&!b[S(0xd1)][S(0xa3)](c[S(0xd1)]))throw new Error(S(0x6d)+c[S(0xd1)]);if(c[S(0x6a)]&&!b[S(0x6a)][S(0xa3)](c[S(0x6a)]))throw new Error(S(0xe4)+c[S(0x6a)]);if(c['client']&&!b[S(0x6f)][S(0xa3)](c[S(0x6f)]))throw new Error(S(0xc2)+c['client']);if(c[S(0x71)]&&!b[S(0x71)][S(0xa3)](c[S(0x71)]))throw new Error(S(0x82)+c[S(0x71)]);return c[S(0x8a)]=this[S(0xb0)](c[S(0x8a)],S(0x8a)),c['js']=this[S(0xb0)](c['js'],'js'),c[S(0xd1)]=this[S(0xb0)](c['css'],S(0xd1)),c[S(0x6f)]=this[S(0xb0)](c[S(0x6f)],S(0x94)),c[S(0x6a)]=this[S(0xb0)](c[S(0x6a)],S(0x87)),c['theme']=this[S(0xb0)](c[S(0x71)],'none'),a;}catch(d){errorHandler(S(0x96),d),process[S(0xaa)](0x1);}}}
1
+ const a146w=a146d;(function(a,b){const t=a146d,c=a();while(!![]){try{const d=parseInt(t(0x15f))/0x1*(-parseInt(t(0x12d))/0x2)+-parseInt(t(0x15c))/0x3*(-parseInt(t(0x179))/0x4)+-parseInt(t(0x16b))/0x5*(-parseInt(t(0x145))/0x6)+-parseInt(t(0x175))/0x7+parseInt(t(0x110))/0x8+parseInt(t(0x181))/0x9+-parseInt(t(0x12c))/0xa*(parseInt(t(0x163))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a146c,0xc05d7));const a146b=(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;};}()),a146a=a146b(this,function(){const u=a146d;return a146a[u(0x116)]()['search'](u(0x124))[u(0x116)]()[u(0x139)](a146a)[u(0x159)](u(0x124));});a146a();function a146c(){const S=['isFile','theme','config','assign','min','pathFromProject','Unsupported\x20client\x20engine:\x20','search','exit','Error\x20in\x20','12wWkyZm','material','checkConfigExists','5ANtnsv','Successfully\x20set\x20','template','delGlobalConfigHash','11gZheaz','getMakaProjectConfig','getEnvSettings','readFileSync','scss','\x20in\x20','string','.maka','5sexJwj','withValue()','www.maka-cli.com','true','utf8','delGlobalConfigHash()','deepen','setProjectConfig','Environment\x20argument\x20provided,\x20but\x20its\x20value\x20is\x20not\x20recognized.','Unsupported\x20js\x20engine:\x20','1733137VSXrxR','length','mocha','includes','959120yXQnAs','engine','stringify','settings.json','charAt','warn','Environemnt\x20argument\x20provided,\x20but\x20its\x20value\x20is\x20not\x20recognized.','Unsupported\x20css\x20engine:\x20','669105sGKsax','apollo','false','getEnvSettings()','getAppConfigPath','join','createFile','Unsupported\x20html\x20engine:\x20','Not\x20in\x20a\x20maka\x20project','setTemplate()','css','instance','11500536AnNRRy','getMeteorInstallPath','setGlobalConfig','setGlobalConfig()','app','getGlobalConfig','toString','react','vanilla','error','True','deeperAssign','jsx','html','setEnvSettings()','getEnvFromShorthand','attemptAutoLogin','authToken','Your\x20','sync','(((.+)+)+)+$','getEnvFromShorthand()','api','withValidation()','No\x20global\x20config\x20file\x20','existsSync','checkConfigExists()','post','7625010PLUMCp','510902caGFyc','.meteor','/.maka/global-config.json\x20file\x20is\x20not\x20valid\x20JSON.\x20Your\x20global-config.json\x20has\x20been\x20removed.\x20\x20Please\x20re-run\x20your\x20last\x20command.','No\x20configuration:\x20','defaultValue()','defaultValue','checkGlobalConfigExists()','No\x20maka\x20project\x20config\x20file\x20found.','delGlobalConfig','token','getInstance','rest','constructor','resolve','parse','Are\x20you\x20sure\x20you\x20are\x20in\x20a\x20maka\x20project?','startsWith','appName','readdirSync','getMakaProjectConfig()','none','withValidation','getAppConfigPath()','client','3625452MOUjuJ','findProjectDirectory','/api/v1/encodeJwt','filter','success','Unsupported\x20api\x20engine:\x20','writeToFile','fsi','setProjectConfig()','tsx','withValue','engines','getAppProjectConfigs'];a146c=function(){return S;};return a146c();}import a146e from'fs';import a146f from'path';function a146d(a,b){const c=a146c();return a146d=function(d,e){d=d-0x108;let f=c[d];return f;},a146d(a,b);}import a146g from'os';import a146h from'delete';import{Log}from'../log/log.class.js';import{HTTPS}from'../https/https.class.js';const GLOBAL_CONFIG='global-config.json',PROJECT_CONFIG='config.json',homeDir=a146g['homedir'](),errorHandler=(a,b)=>{const v=a146d;process['env']['MAKA_DEV']===v(0x11a)&&Log['error'](v(0x15b)+a),b&&console['error'](b);};export class CFG{static [a146w(0x10f)];[a146w(0x14c)];constructor(a){this['fsi']=a;}static[a146w(0x137)](a){const x=a146w;return!CFG[x(0x10f)]&&(CFG[x(0x10f)]=new CFG(a)),CFG[x(0x10f)];}[a146w(0x151)](){const y=a146w;try{const a=this[y(0x14c)][y(0x146)]();if(a===undefined)throw Log[y(0x119)](y(0x10c));else{if(typeof a==='string'){const b=a146f[y(0x109)](a,y(0x154)),c=a146e[y(0x13f)](b)[y(0x148)](d=>!d[y(0x13d)]('.'));return c;}}return[];}catch(d){errorHandler('getAppProjectConfigs()',d),process['exit'](0x1);}}[a146w(0x11f)](a){const z=a146w;try{if(!a||typeof a!==z(0x169))throw z(0x173);const b=this[z(0x151)]();function c(h,k){const A=z,l=[],m=h[A(0x176)],n=k[A(0x176)];for(let o=0x0;o<=m;o++){l[o]=[o];}for(let p=0x0;p<=n;p++){l[0x0][p]=p;}for(let q=0x1;q<=m;q++){for(let r=0x1;r<=n;r++){const s=h[q-0x1]===k[r-0x1]?0x0:0x1;l[q][r]=Math[A(0x156)](l[q-0x1][r]+0x1,l[q][r-0x1]+0x1,l[q-0x1][r-0x1]+s);}}return l[m][n];}let d=Infinity,f='';const g=a[z(0x17d)](0x0);return b['forEach'](h=>{if(h['charAt'](0x0)===g){const i=c(a,h);i<d&&(d=i,f=h);}}),f!==''?f:a;}catch(h){errorHandler(z(0x125),h),process[z(0x15a)](0x1);}}['checkGlobalConfigExists'](){const B=a146w;try{const a=a146f['join'](homeDir,'.meteor',B(0x16a),GLOBAL_CONFIG),b=a146e[B(0x129)](a);if(!b)throw Log[B(0x119)](B(0x128)+a);return a;}catch(c){errorHandler(B(0x133),c),process[B(0x15a)](0x1);}}[a146w(0x15e)](a){const C=a146w;try{if(!a||typeof a!=='string')throw C(0x17f);const b=this[C(0x11f)](a),c=this[C(0x14c)][C(0x157)]({'pathParts':[C(0x154),b]}),d=a146e[C(0x129)](c);if(!d)return![];return!![];}catch(f){errorHandler(C(0x12a),f),process['exit'](0x1);}}[a146w(0x108)](a){const D=a146w;try{if(!a||typeof a!==D(0x169))throw D(0x17f);const b=this['getEnvFromShorthand'](a),c=this['fsi'][D(0x157)]({'pathParts':[D(0x154),b]}),d=a146e[D(0x129)](c);if(!d)throw Log['error'](D(0x130)+b+',\x20consider\x20running\x20\x22maka\x20g:config\x20'+b+'\x22');return c;}catch(f){errorHandler(D(0x143),f),process['exit'](0x1);}}[a146w(0x165)](a){const E=a146w;try{const b=this[E(0x108)](a),c=a146e[E(0x166)](a146f[E(0x109)](b,E(0x17c)),'utf8');return c[E(0x116)]();}catch(d){errorHandler(E(0x184),d),process[E(0x15a)](0x1);}}['setEnvSettings'](a,b,c){const F=a146w;try{const d=this[F(0x108)](a),f=a146e[F(0x166)](a146f[F(0x109)](d,F(0x17c)),F(0x16f)),g=JSON[F(0x13b)](f[F(0x116)]());g[b]=c;const h=JSON[F(0x17b)](g,null,0x2);a146e['writeFileSync'](a146f[F(0x109)](d,F(0x17c)),h),Log[F(0x149)](F(0x160)+b+'\x20to\x20'+c+F(0x168)+a146f[F(0x13a)](d));}catch(i){errorHandler(F(0x11e),i),process['exit'](0x1);}}[a146w(0x164)](){const G=a146w;try{const a=this['fsi'][G(0x157)]({'pathParts':[G(0x16a),PROJECT_CONFIG]}),b=this[G(0x14c)][G(0x152)](a);if(!b){Log[G(0x119)](G(0x13c));throw Log[G(0x119)](G(0x134));}const c=JSON[G(0x13b)](a146e[G(0x166)](a,'utf8'));return!c[G(0x13e)]&&(Log[G(0x17e)]('No\x20app\x20name\x20present\x20in\x20./maka/config.json.'),c[G(0x13e)]=G(0x114)),c;}catch(d){errorHandler(G(0x140),d),process[G(0x15a)](0x1);}}[a146w(0x162)](){const H=a146w;try{const a=a146f['join'](this[H(0x14c)][H(0x111)](),'.maka',GLOBAL_CONFIG),b=JSON[H(0x13b)](a146e['readFileSync'](a)['toString']()),c=JSON['stringify'](b,null,0x2);return this['fsi']['writeToFile']({'filePath':a,'data':c,'opts':{'absolute':!![],'silent':!![]}}),b;}catch(d){errorHandler(H(0x170),d),process[H(0x15a)](0x1);}}[a146w(0x135)](){const I=a146w;try{const a=a146f[I(0x109)](this[I(0x14c)]['getMeteorInstallPath'](),I(0x16a),GLOBAL_CONFIG);a146h[I(0x123)](a,{'force':!![]});}catch(b){errorHandler('delGlobalConfig()',b),process['exit'](0x1);}}async[a146w(0x115)](){const J=a146w;try{const a=a146f[J(0x109)](homeDir,J(0x16a));a146e[J(0x129)](a)&&a146h[J(0x123)](a,{'force':!![]});const b=a146f['join'](this[J(0x14c)][J(0x111)](),J(0x16a),GLOBAL_CONFIG);if(!this[J(0x14c)][J(0x152)](b)){const c={'token':{'authToken':'','userId':'','when':''}},d=JSON[J(0x17b)](c,null,0x2);await this[J(0x14c)][J(0x10a)]({'filePath':b,'data':d,'opts':{'force':!![],'silent':!![]}});}return JSON[J(0x13b)](a146e[J(0x166)](b)['toString']());}catch(f){f instanceof SyntaxError?(this[J(0x135)](),Log[J(0x119)](J(0x122)+this[J(0x14c)][J(0x111)]()+J(0x12f))):console[J(0x119)](f),process[J(0x15a)](0x1);}}[a146w(0x172)](a,b){const K=a146w;try{const c=this[K(0x14c)][K(0x157)]({'pathParts':[K(0x16a),PROJECT_CONFIG]});let d=JSON[K(0x13b)](a146e['readFileSync'](c,K(0x16f)));const f=this['fsi'][K(0x171)]({[a]:b});d=this[K(0x14c)][K(0x11b)](d,f);const g=JSON[K(0x17b)](d,null,0x2);a146e['writeFileSync'](c,g);}catch(h){errorHandler(K(0x14d),h),process['exit'](0x1);}}async[a146w(0x112)](a){const L=a146w;try{const b=a146f[L(0x109)](homeDir,L(0x12e),'.maka',GLOBAL_CONFIG);if(!this[L(0x14c)][L(0x152)](b)){const f=JSON['stringify'](a,null,0x2);await this[L(0x14c)][L(0x10a)]({'filePath':b,'data':f,'opts':{'force':!![],'silent':!![]}});}const c=await this[L(0x115)]();Object[L(0x155)](c,{...a});const d=JSON[L(0x17b)](c,null,0x2);this[L(0x14c)][L(0x14b)]({'filePath':b,'data':d,'opts':{'absolute':!![],'silent':!![]}});}catch(g){errorHandler(L(0x113),g),process[L(0x15a)](0x1);}}async[a146w(0x120)](){const M=a146w,a=await this[M(0x115)](),b=a?.[M(0x136)],c=a?.['cert'];if(b?.[M(0x121)]){const d={'hostname':M(0x16d),'path':M(0x147),'headers':{'x-auth-token':b[M(0x121)]},'data':{}};c&&Object[M(0x155)](d,{'cert':c});const {data:e,statusCode:f}=await HTTPS[M(0x12b)](d),{token:g}=JSON[M(0x13b)](e);g&&f!==0x198&&this['setGlobalConfig'](a);}}['setTemplate'](a,b){const N=a146w;try{const c=this[N(0x14c)][N(0x157)]({'pathParts':[N(0x16a),PROJECT_CONFIG]}),d=JSON[N(0x13b)](a146e[N(0x166)](c,N(0x16f)));d[N(0x161)][a]=b;const f=JSON[N(0x17b)](d,null,0x2);a146e['writeFileSync'](c,f);}catch(g){errorHandler(N(0x10d),g),process[N(0x15a)](0x1);}}['setEngine'](a,b){const O=a146w;try{const c=this['fsi'][O(0x157)]({'pathParts':[O(0x16a),PROJECT_CONFIG]}),d=JSON[O(0x13b)](a146e[O(0x166)](c,O(0x16f)));d[O(0x17a)][a]=b;const f=JSON[O(0x17b)](d,null,0x2);a146e['writeFileSync'](c,f);}catch(g){errorHandler('setEngine()',g),process[O(0x15a)](0x1);}}[a146w(0x132)](a,b){const P=a146w;try{return typeof a==='undefined'?b:a;}catch(c){errorHandler(P(0x131),c);}}async[a146w(0x14f)](a,b){const Q=a146w;try{let c=null;return this[Q(0x142)](a),c=await b(),c;}catch(d){errorHandler(Q(0x16c),d),process[Q(0x15a)](0x1);}}['withValidation'](a){const R=a146w;try{const b={'html':[R(0x11d)],'js':['js',R(0x11c),'ts',R(0x14e)],'css':['css',R(0x167),'less',R(0x141)],'api':[R(0x138),R(0x141)],'test':[R(0x177),R(0x141)],'client':[R(0x117),R(0x118)],'graphql':[R(0x182)],'ssr':[R(0x16e),R(0x183)],'theme':[R(0x15d),R(0x141)]},c=a[R(0x150)]=this['defaultValue'](a[R(0x150)],{});if(c['html']&&!b['html']['includes'](c[R(0x11d)]))throw new Error(R(0x10b)+c['html']);if(c['js']&&!b['js'][R(0x178)](c['js']))throw new Error(R(0x174)+c['js']);if(c['css']&&!b[R(0x10e)][R(0x178)](c['css']))throw new Error(R(0x180)+c[R(0x10e)]);if(c[R(0x126)]&&!b['api'][R(0x178)](c[R(0x126)]))throw new Error(R(0x14a)+c[R(0x126)]);if(c[R(0x144)]&&!b['client']['includes'](c[R(0x144)]))throw new Error(R(0x158)+c[R(0x144)]);if(c[R(0x153)]&&!b[R(0x153)][R(0x178)](c[R(0x153)]))throw new Error('Unsupported\x20theme\x20engine:\x20'+c[R(0x153)]);return c[R(0x11d)]=this[R(0x132)](c[R(0x11d)],R(0x11d)),c['js']=this[R(0x132)](c['js'],'js'),c['css']=this[R(0x132)](c[R(0x10e)],R(0x10e)),c[R(0x144)]=this[R(0x132)](c[R(0x144)],'react'),c[R(0x126)]=this[R(0x132)](c[R(0x126)],R(0x141)),c['theme']=this[R(0x132)](c[R(0x153)],R(0x141)),a;}catch(d){errorHandler(R(0x127),d),process[R(0x15a)](0x1);}}}
@@ -1 +1 @@
1
- const a147m=a147d;(function(a,b){const j=a147d,c=a();while(!![]){try{const d=parseInt(j(0x6f))/0x1*(-parseInt(j(0x7f))/0x2)+-parseInt(j(0x87))/0x3*(parseInt(j(0x74))/0x4)+-parseInt(j(0x7c))/0x5+-parseInt(j(0x84))/0x6*(parseInt(j(0x7d))/0x7)+parseInt(j(0x71))/0x8+parseInt(j(0x6c))/0x9*(parseInt(j(0x6e))/0xa)+parseInt(j(0x79))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a147c,0x388c7));const a147b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a147d;if(c){const e=c[k(0x80)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a147a=a147b(this,function(){const l=a147d;return a147a[l(0x6d)]()[l(0x83)](l(0x82))[l(0x6d)]()[l(0x77)](a147a)[l(0x83)](l(0x82));});a147a();import{execSync}from'child_process';function a147d(a,b){const c=a147c();return a147d=function(d,e){d=d-0x6c;let f=c[d];return f;},a147d(a,b);}import{Log}from'../log/log.class.js';function a147c(){const q=['952910tREeRR','2rmjpzT','tag','3554840jUqwrh','push','join','16FYBONH','.amazonaws.com','error','constructor','echo\x20','649506LhtVfw','.dkr.ecr.','inherit','394145lXfyBh','7FFEmiF','pushImage','30958vVbZTl','apply','.amazonaws.com/','(((.+)+)+)+$','search','2425368kOdHHA','docker\x20','awsLogin','32727arQOMh','27LtruSu','toString'];a147c=function(){return q;};return a147c();}export class Docker{static[a147m(0x70)]({imageName:a,awsAccountId:b,region:c,repoName:d}){const n=a147m;try{const f=[n(0x70),a,b+n(0x7a)+c+n(0x81)+d],g=n(0x85)+f['join']('\x20'),h=execSync(g,{'stdio':n(0x7b)})[n(0x6d)]();return h;}catch(i){return Log[n(0x76)](i),'';}}static[a147m(0x86)]({awsAccountId:a,region:b,password:c}){const o=a147m;try{const d=o(0x78)+c+'\x20|\x20docker\x20login\x20--username\x20AWS\x20--password-stdin\x20'+a+o(0x7a)+b+o(0x75);return execSync(d,{'stdio':o(0x7b)}),d;}catch(f){return Log[o(0x76)](f),'';}}static[a147m(0x7e)]({awsAccountId:a,region:b,repoName:c}){const p=a147m;try{const d=[p(0x72),a+p(0x7a)+b+'.amazonaws.com/'+c],f=p(0x85)+d[p(0x73)]('\x20'),g=execSync(f,{'stdio':p(0x7b)})[p(0x6d)]();return g;}catch(h){return Log[p(0x76)](h),'';}}}
1
+ function a147c(){const p=['pushImage','.dkr.ecr.','18286gqbLQb','awsLogin','inherit','join','search','(((.+)+)+)+$','toString','tag','125880qRdIJQ','.amazonaws.com','1235705YMRGjg','2576RGcsjf','490180sVaeWp','constructor','10598axYzhj','823968YQlTdS','docker\x20','echo\x20','error','330792oDUaje','\x20|\x20docker\x20login\x20--username\x20AWS\x20--password-stdin\x20'];a147c=function(){return p;};return a147c();}const a147m=a147d;(function(a,b){const j=a147d,c=a();while(!![]){try{const d=parseInt(j(0x1ba))/0x1+parseInt(j(0x1b2))/0x2+-parseInt(j(0x1ab))/0x3+parseInt(j(0x1af))/0x4+parseInt(j(0x1ad))/0x5+-parseInt(j(0x1b6))/0x6+parseInt(j(0x1b1))/0x7*(-parseInt(j(0x1ae))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a147c,0x3493c));function a147d(a,b){const c=a147c();return a147d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a147d(a,b);}const a147b=(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;};}()),a147a=a147b(this,function(){const k=a147d;return a147a['toString']()['search'](k(0x1bf))[k(0x1c0)]()[k(0x1b0)](a147a)[k(0x1be)](k(0x1bf));});a147a();import{execSync}from'child_process';import{Log}from'../log/log.class.js';export class Docker{static['tag']({imageName:a,awsAccountId:b,region:c,repoName:d}){const l=a147d;try{const f=[l(0x1c1),a,b+'.dkr.ecr.'+c+'.amazonaws.com/'+d],g=l(0x1b3)+f['join']('\x20'),h=execSync(g,{'stdio':l(0x1bc)})['toString']();return h;}catch(i){return Log[l(0x1b5)](i),'';}}static[a147m(0x1bb)]({awsAccountId:a,region:b,password:c}){const n=a147m;try{const d=n(0x1b4)+c+n(0x1b7)+a+n(0x1b9)+b+n(0x1ac);return execSync(d,{'stdio':n(0x1bc)}),d;}catch(f){return Log['error'](f),'';}}static[a147m(0x1b8)]({awsAccountId:a,region:b,repoName:c}){const o=a147m;try{const d=['push',a+o(0x1b9)+b+'.amazonaws.com/'+c],f=o(0x1b3)+d[o(0x1bd)]('\x20'),g=execSync(f,{'stdio':o(0x1bc)})[o(0x1c0)]();return g;}catch(h){return Log['error'](h),'';}}}
@@ -1 +1 @@
1
- function a148d(a,b){var c=a148c();return a148d=function(d,e){d=d-0x1c2;var f=c[d];return f;},a148d(a,b);}(function(a,b){var f=a148d,c=a();while(!![]){try{var d=-parseInt(f(0x1c6))/0x1+-parseInt(f(0x1c2))/0x2+-parseInt(f(0x1c3))/0x3+parseInt(f(0x1c9))/0x4+parseInt(f(0x1ca))/0x5+parseInt(f(0x1cc))/0x6+parseInt(f(0x1c8))/0x7*(parseInt(f(0x1c7))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a148c,0x8da74));var a148b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a148d;if(c){var e=c[g(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a148a=a148b(this,function(){var h=a148d;return a148a[h(0x1c4)]()[h(0x1cd)](h(0x1c5))[h(0x1c4)]()['constructor'](a148a)[h(0x1cd)](h(0x1c5));});a148a();function a148c(){var i=['9051XAbegk','4133496StcOft','5087040zTpwGH','apply','52722WCbFpF','search','1165954LqJslc','2646348tzLlAp','toString','(((.+)+)+)+$','354323AqlEeH','2104DHkEIf'];a148c=function(){return i;};return a148c();}export{};
1
+ (function(a,b){var f=a148d,c=a();while(!![]){try{var d=parseInt(f(0x12c))/0x1+-parseInt(f(0x127))/0x2*(parseInt(f(0x129))/0x3)+parseInt(f(0x123))/0x4*(parseInt(f(0x126))/0x5)+-parseInt(f(0x125))/0x6*(-parseInt(f(0x12d))/0x7)+parseInt(f(0x124))/0x8+parseInt(f(0x12f))/0x9*(-parseInt(f(0x12e))/0xa)+parseInt(f(0x128))/0xb*(parseInt(f(0x131))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a148c,0x594fa));var a148b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a148d;if(c){var e=c[g(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a148a=a148b(this,function(){var h=a148d;return a148a['toString']()[h(0x12a)](h(0x130))['toString']()['constructor'](a148a)[h(0x12a)](h(0x130));});a148a();function a148d(a,b){var c=a148c();return a148d=function(d,e){d=d-0x123;var f=c[d];return f;},a148d(a,b);}function a148c(){var i=['33183BMUJlv','1498VyQURk','225490hvvuFs','252uPjNPF','(((.+)+)+)+$','69036scgYvg','65444ENBFeU','3543200moMkXQ','5034ysLyel','40eRbIar','2ApBCjZ','1441ACQukH','1628910oErOGF','search','apply'];a148c=function(){return i;};return a148c();}export{};
@@ -1 +1 @@
1
- const a149q=a149d;(function(a,b){const n=a149d,c=a();while(!![]){try{const d=-parseInt(n(0xe6))/0x1+-parseInt(n(0x15c))/0x2*(parseInt(n(0xe3))/0x3)+-parseInt(n(0x13b))/0x4*(-parseInt(n(0x177))/0x5)+-parseInt(n(0x141))/0x6+parseInt(n(0x135))/0x7+-parseInt(n(0x125))/0x8+parseInt(n(0x171))/0x9*(parseInt(n(0x169))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a149c,0x660df));const a149b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a149d;if(c){const e=c[o(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a149a=a149b(this,function(){const p=a149d;return a149a[p(0xeb)]()[p(0x166)](p(0xf8))['toString']()[p(0x137)](a149a)[p(0x166)](p(0xf8));});a149a();import a149e from'path';import a149f from'net';function a149d(a,b){const c=a149c();return a149d=function(d,e){d=d-0xe3;let f=c[d];return f;},a149d(a,b);}import a149g from'@maka/tar';import a149h from'fs';import a149i from'os';import a149j from'delete';import{exec}from'child_process';import a149k from'latest-version';import a149l from'semver';import{promises as a149m}from'fs';import{Log}from'../log/log.class.js';import{Actions}from'../actions/actions.class.js';import{Progress}from'../progress/progress.class.js';const pjson={'version':a149q(0xec)},PROJECT_CONFIG='config.json',GLOBAL_CACHE=a149q(0x118),homeDir=a149i[a149q(0xf3)](),errorHandler=(a,b)=>{const r=a149q;process[r(0x116)][r(0x10a)]==='True'&&Log[r(0x109)](r(0x184)+a),b&&console[r(0x109)](b);};function a149c(){const aa=['MAKA_DEV','promises','METEOR@','info','findAppDirectory','push','getCachedResult','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20init\x20npm\x20into.','msg','message','AppData','writeFile','env','replace','cache.json','code','createFile','\x20already\x20exists.\x20Do\x20you\x20want\x20to\x20overwrite\x20it?','readFileLines','listening','_keys','Cannot\x20write\x20data\x20to\x20a\x20directory','writeToFile','isMakaProject','readFileLines()','cwd','compareMakaToLatest','5219456siSMPt','level','\x20is\x20already\x20in\x20use,\x20exiting\x20...','apply','pathFromProject','findProjectDirectory','data','File\x20not\x20written','\x20created\x20file\x20','sep','app','Created\x20','omit','isArray','File\x20exists\x20at\x20that\x20location','findDirectoryUp()','4183690ZtrPYz','bright','constructor','base64','deeperAssign','utf-8','372412wruMvP','createFile()','checkPortInUse','isImage','findProjectDirectory()','from','2024364gVOxtb','readFile','getGlobalMakaDir','pipe','initNpm','release','relative','forEach','extname',').*$','@maka/maka-cli','writeFileSync','getDirectories()','silent','saveInit()','.maka','resolve','.node_version.txt','directoryEntries','Extracting','saveInit','match','grep()','start','confirm','length','findDirectoryUp','720268zFGRSv','createDirectory','getProjectsMeteorNodeVersion','readFileSync','getDirectories','build','writeToFile()','getFiles','isDirectory','split','search','object','join','28150DMefmt','mkdirSync','statSync','parse','npm\x20init\x20-f\x20','force','filter','getProjectsMeteorNodeVersion()','6543zlJDWc','\x20is\x20already\x20in\x20use,\x20try\x20another?\x20[yN]','verbose','fileContainsString','Port\x20','Please\x20update\x20with:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20npm\x20i\x20-g\x20@maka/maka-cli@latest\x0a\x0a\x20\x20\x20\x20\x20\x20','5UFIBPL','meteor','Uh-oh,\x20the\x20directory\x20is\x20not\x20a\x20directory\x20','size','getAvailablePort','createReadStream','includes','local','getUserDataDirectory','getLatestMakaVersion','instance','readdirSync','pathFromProject()','Error\x20in\x20','\x20...\x0a','dirname','platform','stringify','6MmSrdE','findAppDirectory()','success','609169IkXhxZ','existsSync','singleLine','once','Updated\x20file\x20','toString','5.0.31','exit','entries','getMeteorInstallPath','grep','failure','complete','homedir','warn','mkKeysDir','ignore','sync','(((.+)+)+)+$','appName','string','Latest\x20version\x20of\x20maka-cli\x20is\x20','close','.meteor','meteorCommand','isFile','version','shift','Invalid\x20directory','utf8','listen','pop','Local','unlink','win32','error'];a149c=function(){return aa;};return a149c();}export class FSI{static ['instance'];[a149q(0xf9)];constructor(){}static['getInstance'](){const s=a149q;return!FSI[s(0x181)]&&(FSI[s(0x181)]=new FSI()),FSI[s(0x181)];}[a149q(0x17f)](){const t=a149q,a=process[t(0x187)]===t(0x108);return a?a149e['join'](homeDir,t(0x114),'Local'):a149e[t(0x168)](homeDir);}['getMeteorInstallPath'](){const u=a149q,a=process[u(0x187)]==='win32';return a?a149e[u(0x168)](homeDir,u(0x114),u(0x106),u(0xfd)):a149e[u(0x168)](homeDir,u(0xfd));}[a149q(0xfe)](){const v=a149q;return a149e[v(0x168)](this[v(0xef)](),v(0x178));}[a149q(0x160)](a){const w=a149q;try{return a149h['readdirSync'](a)[w(0x16f)](b=>{const x=w;return a149h[x(0x16b)](a149e['join'](a,b))[x(0x164)]();});}catch(b){errorHandler(w(0x14d),b),process[w(0xed)](0x1);}}async[a149q(0x11a)]({filePath:a,data:b,opts:c}){const y=a149q,d=c?.['absolute']?a149e['join'](process[y(0x123)](),a):a149e[y(0x147)](process[y(0x123)](),a);try{const f=a149e['normalize'](a)[y(0x165)](a149e[y(0x12e)]);f[y(0x105)]();const g=f['join'](a149e[y(0x12e)]),h=!this[y(0x164)](g);h&&await this[y(0x15d)]({'dirPath':g,'force':c?.[y(0x16e)],'silent':c?.['silent']});if(this[y(0xff)](a)&&!c?.[y(0x16e)]){const i=await Actions[y(0x159)](a+y(0x11b));if(!i){if(c?.[y(0xf6)])return;else throw{'msg':y(0x12c),'level':y(0x10d),'verbose':!![]};}else await a149m[y(0x107)](a);}if(c?.[y(0x13e)]){const j=Buffer[y(0x140)](b,y(0x138));await a149m[y(0x115)](a,j);}else await a149m['writeFile'](a,b);!c?.[y(0x14e)]&&Log['bright'](y(0x12d)+d);}catch(k){k?.[y(0x173)]?k[y(0x126)]===y(0x10d)?Log[y(0x109)](k[y(0x112)]):errorHandler(y(0x13c),k[y(0x112)]):errorHandler('createFile()',k);}}[a149q(0x163)](a,b){const z=a149q;try{const c=a149h['readdirSync'](a)[z(0x16f)](d=>{const A=z,f=a149e[A(0x168)](a,d);if(this[A(0x164)](f))return![];if(b?.['omit']){const g=Array[A(0x132)](b['omit'])?b['omit']:[b[A(0x131)]];for(const h of g){if(d['includes'](h))return![];}}if(b?.['extensions']){const i=a149e[A(0x149)](f);if(!i)return![];if(!b['extensions'][A(0x17d)](i[A(0x117)]('.','')))return![];return!![];}return!![];});return c;}catch(d){errorHandler('getFiles()',d),process[z(0xed)](0x1);}}[a149q(0xf5)]({configPath:a}){const B=a149q;if(!this['isDirectory'](a))throw B(0x102);const b=a149e['join'](a,B(0x11e));try{a149h['statSync'](b);}catch(c){Log[B(0xf4)](c[B(0x113)]),a149h[B(0x16a)](b,{'recursive':!![]});}return b;}[a149q(0x120)]({filePath:a,data:b,opts:c}){const C=a149q,d=c?.['absolute']?a149e[C(0x168)](process[C(0x123)](),a):a149e[C(0x147)](process[C(0x123)](),a);try{if(this['isDirectory'](a))throw Log['error'](C(0x11f));a149h[C(0x14c)](a,b),!c?.[C(0x14e)]&&Log[C(0x136)](C(0xea)+d);}catch(f){errorHandler(C(0x162),f);}}async[a149q(0x15d)]({dirPath:a,force:b,silent:c}){const D=a149q;if(!a)throw Log[D(0x109)]('No\x20directory\x20path\x20provided');try{b&&a149j[D(0xf7)](a);if(this[D(0xff)](a))throw Log[D(0x109)](D(0x133));const d=this['isDirectory'](a);if(!d){a149h[D(0x16a)](a,{'recursive':!![]});if(!this[D(0x164)](a))throw D(0x179)+a;!c&&Log[D(0xe5)](D(0x130)+a149e['relative'](process[D(0x123)](),a));}}catch(f){errorHandler('createDirectory()',f);}}[a149q(0x15b)]({predicate:a,startPath:b}){const E=a149q;try{let c=b||process['cwd']();while(c){if(a(c))break;const d=a149e[E(0x186)](c);d===c?c=undefined:c=d;}return c;}catch(f){errorHandler(E(0x134),f),process[E(0xed)](0x1);}}['findProjectDirectory'](a=process['cwd']()){const F=a149q;try{const b=this[F(0x15b)]({'predicate':c=>{const G=F;return this[G(0xff)](a149e['join'](c,G(0x150),PROJECT_CONFIG));},'startPath':a||process[F(0x123)]()});if(!b)return'';return b;}catch(c){errorHandler(F(0x13f),c),process[F(0xed)](0x1);}}[a149q(0x10e)](a=process['cwd']()){const H=a149q;try{const b=this['findProjectDirectory'](a);return b&&typeof b===H(0xfa)?a149e['join'](b,H(0x12f)):'';}catch(c){errorHandler(H(0xe4),c),process['exit'](0x1);}}[a149q(0x129)]({pathParts:a}){const I=a149q;try{const b=a?.[I(0x168)](a149e[I(0x12e)]),c=this[I(0x12a)]();return c&&typeof c===I(0xfa)?a149e['join'](c,b||''):'';}catch(d){errorHandler(I(0x183),d),process[I(0xed)](0x1);}}['isFile'](a){const J=a149q;try{const b=a149e[J(0x151)](a),c=a149h[J(0x16b)](b);return c['isFile']();}catch(d){return![];}}[a149q(0x164)](a){const K=a149q;try{const b=a149h[K(0x16b)](a);return b[K(0x164)]();}catch(c){return![];}}[a149q(0x11c)](a){const L=a149q;try{const b=a149h['readFileSync'](a,L(0x103)),c=b[L(0x165)](/\r*\n\r*/);while(c[L(0x15a)]){const d=c[c[L(0x15a)]-0x1];if(d[L(0x156)](/\S/))break;c['pop']();}return c;}catch(f){errorHandler(L(0x122),f),process[L(0xed)](0x1);}}['getProjectMeteorVersion'](){const M=a149q;try{const a=this[M(0x129)]({'pathParts':[M(0x12f),M(0xfd),M(0x146)]}),b=a149h['readFileSync'](a,'utf8');let c=b['replace'](M(0x10c),'')[M(0x117)]('\x0a','');const d=c['split']('.')[M(0x15a)];return d<0x3&&(c=c+'.0'),c;}catch(f){errorHandler('getProjectMeteorVersion()',f),process[M(0xed)](0x1);}}async[a149q(0x15e)](){const N=a149q;try{const a=this[N(0x129)]({'pathParts':['app','.meteor',N(0x17e),'build',N(0x152)]});if(!this['isFile'](a))return'N/A';else{const b=this[N(0x129)]({'pathParts':[N(0x12f),'.meteor',N(0x17e),N(0x161),N(0x152)]}),c=a149h[N(0x15f)](b,N(0x103)),d=c[N(0x117)]('v','')[N(0x117)]('\x0a','');return d;}}catch(f){errorHandler(N(0x170),f),process[N(0xed)](0x1);}}async[a149q(0x180)](){const O=a149q,a=await a149k(O(0x14b));return a;}async[a149q(0x124)](){const P=a149q,a=await this['getLatestMakaVersion']();a149l['gt'](a,pjson[P(0x100)])&&(Log[P(0xf4)](P(0xfb)+a),Log[P(0xf4)](P(0x176)));return;}['directoryEntries'](a){const Q=a149q;try{let b=[];const c=a149h[Q(0x182)](a);for(const d of c){const f=a149e[Q(0x168)](a,d);b[Q(0x10f)](f),this[Q(0x164)](f)&&(b=b['concat'](this[Q(0x153)](f)));}return b;}catch(g){errorHandler('directoryEntries()',g),process[Q(0xed)](0x1);}}[a149q(0x121)](){const R=a149q,a=this[R(0x12a)]();return a!==''?!![]:![];}[a149q(0xf0)](a,b){const S=a149q;try{const c=new RegExp('^.*('+b+S(0x14a),'mg'),d=a[S(0x156)](c);return d||[];}catch(f){errorHandler(S(0x157),f),process[S(0xed)](0x1);}}async[a149q(0x174)](a,b){const T=a149q;try{if(a149h[T(0xe7)](a)===![])return![];const c=await a149h[T(0x10b)][T(0x142)](a,T(0x103));return c['includes'](b);}catch(d){console[T(0x109)]('Error\x20reading\x20file:\x20'+d);throw d;}}[a149q(0x110)](a){const U=a149q,b=a149e[U(0x168)](this[U(0xef)](),'.maka',GLOBAL_CACHE);try{const c=JSON[U(0x16c)](a149h[U(0x15f)](b,U(0x13a)));return c[a]||null;}catch(d){return null;}}['cacheResult'](a,b){const V=a149q,c=a149e['join'](this[V(0xef)](),V(0x150),GLOBAL_CACHE);try{const d=JSON['parse'](a149h[V(0x15f)](c,V(0x13a)));d[a]=b,a149h[V(0x14c)](c,JSON[V(0x188)](d));}catch(f){const g={[a]:b};a149h[V(0x14c)](c,JSON[V(0x188)](g));}}[a149q(0x143)](){const W=a149q;return a149e[W(0x168)](this['getMeteorInstallPath'](),W(0x150));}async[a149q(0x155)](a,b){const X=a149q;try{const c=JSON[X(0x188)](a,null,0x2);await this[X(0x11a)]({'filePath':b,'data':c,'opts':{'force':!![]}});}catch(d){errorHandler(X(0x14f),d),process[X(0xed)](0x1);}}['deepen'](a){const Y=a149q,b={};for(const c in a){const d=c[Y(0x165)]('.');let e=b;while(d?.['length']>0x1){const f=d?.[Y(0x101)]();f&&(e=e[f]=e[f]||{});}e[d[0x0]]=a[c];}return b;}[a149q(0x139)](c,d){const Z=a149q;return Object[Z(0xee)](d)[Z(0x148)](([e,f])=>c[e]=f&&typeof f===Z(0x167)?this['deeperAssign'](c[e]=c[e]||{},f):f),c;}[a149q(0x145)](a){return new Promise((b,c)=>{const a0=a149d;a=a||{},a[a0(0x123)]=a[a0(0x123)]||'.';if(!a['isSelfTest']){const d=this['findAppDirectory'](a[a0(0x123)]);if(!d)Log[a0(0x109)](a0(0x111)),c();else{const f=Log['withSpinner']();try{f[a0(0x158)]('Setting\x20up\x20the\x20npm\x20packages'),exec(a0(0x16d),{'cwd':d},g=>{const a1=a0;g&&(Log['error']('\x0a'+g[a1(0x113)]),c(),process['exit'](0x1)),f[a1(0xe5)](),b();});}catch(g){Log['error'](g),f[a0(0xf1)](),c();}}}});}async['checkPortInUse'](a){return new Promise((b,c)=>{const a2=a149d,d=a149f['createServer']();d[a2(0xe9)]('error',async e=>{const a3=a2;if(e[a3(0x119)]==='EADDRINUSE'){const f=await Actions[a3(0x159)](a3(0x175)+a+a3(0x172),![]);!f&&(Log['error'](a3(0x175)+a+a3(0x127)),process[a3(0xed)](0x1)),Log[a3(0xe8)](a3(0x175)+a+'\x20is\x20already\x20in\x20use,\x20trying\x20'+(a+0x64)+a3(0x185)),b(!![]);}else c(e);}),d['once'](a2(0x11d),()=>{const a4=a2;d[a4(0xfc)](),b(![]);}),d[a2(0x104)](a,'0.0.0.0');});}async[a149q(0x17b)](a){const a5=a149q;while(await this[a5(0x13d)](a)){a+=0x64;}return a;}async['extractTarGz'](a,b){const a7=a149q;function c(g){const a6=a149d,h=a149h[a6(0x16b)](g);return h[a6(0x17a)];}const d=process['platform']==='win32'?'>':'📦',e=c(a),f=new Progress(e,a7(0x154),d);return new Promise((g,h)=>{const a8=a7;a149h[a8(0x17c)](a)['on'](a8(0x12b),i=>{f['update'](i['length']);})[a8(0x144)](a149g['x']({'gzip':!![],'cwd':b}))['on']('end',()=>{const a9=a8;f[a9(0xf2)](),g();})['on'](a8(0x109),i=>{h(i);});});}}
1
+ const a149q=a149d;(function(a,b){const n=a149d,c=a();while(!![]){try{const d=parseInt(n(0x1a7))/0x1*(parseInt(n(0x163))/0x2)+-parseInt(n(0x1f2))/0x3+parseInt(n(0x1d8))/0x4*(parseInt(n(0x15d))/0x5)+parseInt(n(0x1e9))/0x6+-parseInt(n(0x1d7))/0x7+parseInt(n(0x16a))/0x8+-parseInt(n(0x197))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a149c,0xf342e));function a149d(a,b){const c=a149c();return a149d=function(d,e){d=d-0x15b;let f=c[d];return f;},a149d(a,b);}const a149b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a149d;if(c){const e=c[o(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a149a=a149b(this,function(){const p=a149d;return a149a[p(0x1b8)]()[p(0x1ae)]('(((.+)+)+)+$')['toString']()[p(0x183)](a149a)[p(0x1ae)](p(0x15e));});a149a();import a149e from'path';import a149f from'net';import a149g from'@maka/tar';import a149h from'fs';function a149c(){const aa=['version','getProjectMeteorVersion()','pathFromProject()','extname','sep','Local','string','info','extractTarGz','meteorCommand','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20init\x20npm\x20into.','getLatestMakaVersion','release','getProjectMeteorVersion','Updated\x20file\x20','grep','readFileSync','createDirectory()','instance','directoryEntries()','Latest\x20version\x20of\x20maka-cli\x20is\x20','.meteor','close','constructor','filter','Error\x20reading\x20file:\x20','writeToFile','withSpinner','length','force','app','\x20is\x20already\x20in\x20use,\x20try\x20another?\x20[yN]','forEach','readdirSync','utf-8','isFile','saveInit','createFile()','absolute','dirname','omit','.maka','listening','8362017Nfavhw','win32','N/A','deeperAssign','Uh-oh,\x20the\x20directory\x20is\x20not\x20a\x20directory\x20','exit','createFile','deepen','isMakaProject','split','existsSync','npm\x20init\x20-f\x20','fileContainsString','findProjectDirectory','@maka/maka-cli','True','5062aWeUcx','local','Port\x20','replace','createReadStream','includes','File\x20exists\x20at\x20that\x20location','search','getFiles','update','Created\x20','findDirectoryUp','bright','error','\x20is\x20already\x20in\x20use,\x20exiting\x20...','once','isDirectory','toString','findAppDirectory','pathFromProject','meteor','parse','_keys','cwd','apply','statSync','mkdirSync','writeFileSync','message','platform','saveInit()','findProjectDirectory()','Invalid\x20directory','object','success','env','readFile','createDirectory','join','METEOR@','compareMakaToLatest','readFileLines()','File\x20not\x20written','listen','stringify','pop','Error\x20in\x20','config.json','12189737VGDpsf','1912lwTCXB','ignore','.node_version.txt','sync','getGlobalMakaDir','warn','match','getProjectsMeteorNodeVersion','\x20is\x20already\x20in\x20use,\x20trying\x20','Cannot\x20write\x20data\x20to\x20a\x20directory','isImage','complete','push','isArray','singleLine','size','getUserDataDirectory','5821518kxwGgN','homedir','resolve','MAKA_DEV','end','AppData','verbose','unlink','EADDRINUSE','2309508PSJrgN','^.*(','silent','checkPortInUse','isSelfTest','extensions','msg','7805ujfTEi','(((.+)+)+)+$','getMeteorInstallPath','relative','appName','normalize','542hWKdhm','pipe','\x20...\x0a','writeFile','utf8','data','initNpm','10788200xUUugQ','\x20created\x20file\x20'];a149c=function(){return aa;};return a149c();}import a149i from'os';import a149j from'delete';import{exec}from'child_process';import a149k from'latest-version';import a149l from'semver';import{promises as a149m}from'fs';import{Log}from'../log/log.class.js';import{Actions}from'../actions/actions.class.js';import{Progress}from'../progress/progress.class.js';const pjson={'version':'5.0.31'},PROJECT_CONFIG=a149q(0x1d6),GLOBAL_CACHE='cache.json',homeDir=a149i[a149q(0x1ea)](),errorHandler=(a,b)=>{const r=a149q;process[r(0x1ca)][r(0x1ec)]===r(0x1a6)&&Log['error'](r(0x1d5)+a),b&&console['error'](b);};export class FSI{static [a149q(0x17e)];[a149q(0x161)];constructor(){}static['getInstance'](){const s=a149q;return!FSI[s(0x17e)]&&(FSI['instance']=new FSI()),FSI['instance'];}[a149q(0x1e8)](){const t=a149q,a=process['platform']===t(0x198);return a?a149e[t(0x1cd)](homeDir,t(0x1ee),t(0x171)):a149e['join'](homeDir);}['getMeteorInstallPath'](){const u=a149q,a=process[u(0x1c4)]===u(0x198);return a?a149e[u(0x1cd)](homeDir,u(0x1ee),u(0x171),u(0x181)):a149e[u(0x1cd)](homeDir,u(0x181));}[a149q(0x175)](){const v=a149q;return a149e[v(0x1cd)](this[v(0x15f)](),v(0x1bb));}['getDirectories'](a){const w=a149q;try{return a149h[w(0x18d)](a)[w(0x184)](b=>{const x=w;return a149h[x(0x1c0)](a149e[x(0x1cd)](a,b))[x(0x1b7)]();});}catch(b){errorHandler('getDirectories()',b),process[w(0x19c)](0x1);}}async[a149q(0x19d)]({filePath:a,data:b,opts:c}){const y=a149q,d=c?.[y(0x192)]?a149e[y(0x1cd)](process[y(0x1be)](),a):a149e[y(0x160)](process[y(0x1be)](),a);try{const f=a149e[y(0x162)](a)[y(0x1a0)](a149e[y(0x170)]);f[y(0x1d4)]();const g=f['join'](a149e[y(0x170)]),h=!this[y(0x1b7)](g);h&&await this[y(0x1cc)]({'dirPath':g,'force':c?.[y(0x189)],'silent':c?.[y(0x1f4)]});if(this[y(0x18f)](a)&&!c?.['force']){const i=await Actions['confirm'](a+'\x20already\x20exists.\x20Do\x20you\x20want\x20to\x20overwrite\x20it?');if(!i){if(c?.[y(0x1d9)])return;else throw{'msg':y(0x1d1),'level':y(0x173),'verbose':!![]};}else await a149m[y(0x1f0)](a);}if(c?.[y(0x1e2)]){const j=Buffer['from'](b,'base64');await a149m[y(0x166)](a,j);}else await a149m[y(0x166)](a,b);!c?.[y(0x1f4)]&&Log[y(0x1b3)](y(0x16b)+d);}catch(k){k?.[y(0x1ef)]?k['level']===y(0x173)?Log[y(0x1b4)](k[y(0x15c)]):errorHandler('createFile()',k[y(0x15c)]):errorHandler(y(0x191),k);}}[a149q(0x1af)](a,b){const A=a149q;try{const c=a149h['readdirSync'](a)['filter'](d=>{const z=a149d,f=a149e[z(0x1cd)](a,d);if(this[z(0x1b7)](f))return![];if(b?.[z(0x194)]){const g=Array[z(0x1e5)](b[z(0x194)])?b['omit']:[b[z(0x194)]];for(const h of g){if(d['includes'](h))return![];}}if(b?.['extensions']){const i=a149e[z(0x16f)](f);if(!i)return![];if(!b[z(0x15b)][z(0x1ac)](i[z(0x1aa)]('.','')))return![];return!![];}return!![];});return c;}catch(d){errorHandler('getFiles()',d),process[A(0x19c)](0x1);}}['mkKeysDir']({configPath:a}){const B=a149q;if(!this[B(0x1b7)](a))throw B(0x1c7);const b=a149e['join'](a,B(0x1bd));try{a149h[B(0x1c0)](b);}catch(c){Log[B(0x1dd)](c['message']),a149h[B(0x1c1)](b,{'recursive':!![]});}return b;}[a149q(0x186)]({filePath:a,data:b,opts:c}){const C=a149q,d=c?.['absolute']?a149e[C(0x1cd)](process[C(0x1be)](),a):a149e[C(0x160)](process[C(0x1be)](),a);try{if(this[C(0x1b7)](a))throw Log['error'](C(0x1e1));a149h[C(0x1c2)](a,b),!c?.[C(0x1f4)]&&Log[C(0x1b3)](C(0x17a)+d);}catch(f){errorHandler('writeToFile()',f);}}async[a149q(0x1cc)]({dirPath:a,force:b,silent:c}){const D=a149q;if(!a)throw Log[D(0x1b4)]('No\x20directory\x20path\x20provided');try{b&&a149j[D(0x1db)](a);if(this[D(0x18f)](a))throw Log[D(0x1b4)](D(0x1ad));const d=this[D(0x1b7)](a);if(!d){a149h[D(0x1c1)](a,{'recursive':!![]});if(!this['isDirectory'](a))throw D(0x19b)+a;!c&&Log[D(0x1c9)](D(0x1b1)+a149e['relative'](process[D(0x1be)](),a));}}catch(f){errorHandler(D(0x17d),f);}}['findDirectoryUp']({predicate:a,startPath:b}){const E=a149q;try{let c=b||process['cwd']();while(c){if(a(c))break;const d=a149e[E(0x193)](c);d===c?c=undefined:c=d;}return c;}catch(f){errorHandler('findDirectoryUp()',f),process['exit'](0x1);}}['findProjectDirectory'](a=process[a149q(0x1be)]()){const F=a149q;try{const b=this[F(0x1b2)]({'predicate':c=>{const G=F;return this['isFile'](a149e[G(0x1cd)](c,G(0x195),PROJECT_CONFIG));},'startPath':a||process[F(0x1be)]()});if(!b)return'';return b;}catch(c){errorHandler(F(0x1c6),c),process[F(0x19c)](0x1);}}['findAppDirectory'](a=process[a149q(0x1be)]()){const H=a149q;try{const b=this[H(0x1a4)](a);return b&&typeof b===H(0x172)?a149e['join'](b,H(0x18a)):'';}catch(c){errorHandler('findAppDirectory()',c),process[H(0x19c)](0x1);}}['pathFromProject']({pathParts:a}){const I=a149q;try{const b=a?.[I(0x1cd)](a149e[I(0x170)]),c=this[I(0x1a4)]();return c&&typeof c===I(0x172)?a149e[I(0x1cd)](c,b||''):'';}catch(d){errorHandler(I(0x16e),d),process[I(0x19c)](0x1);}}[a149q(0x18f)](a){const J=a149q;try{const b=a149e[J(0x1eb)](a),c=a149h['statSync'](b);return c[J(0x18f)]();}catch(d){return![];}}[a149q(0x1b7)](a){const K=a149q;try{const b=a149h['statSync'](a);return b[K(0x1b7)]();}catch(c){return![];}}['readFileLines'](a){const L=a149q;try{const b=a149h[L(0x17c)](a,L(0x167)),c=b[L(0x1a0)](/\r*\n\r*/);while(c['length']){const d=c[c[L(0x188)]-0x1];if(d[L(0x1de)](/\S/))break;c[L(0x1d4)]();}return c;}catch(f){errorHandler(L(0x1d0),f),process[L(0x19c)](0x1);}}[a149q(0x179)](){const M=a149q;try{const a=this[M(0x1ba)]({'pathParts':[M(0x18a),M(0x181),M(0x178)]}),b=a149h[M(0x17c)](a,M(0x167));let c=b[M(0x1aa)](M(0x1ce),'')[M(0x1aa)]('\x0a','');const d=c[M(0x1a0)]('.')[M(0x188)];return d<0x3&&(c=c+'.0'),c;}catch(f){errorHandler(M(0x16d),f),process[M(0x19c)](0x1);}}async[a149q(0x1df)](){const N=a149q;try{const a=this[N(0x1ba)]({'pathParts':[N(0x18a),N(0x181),N(0x1a8),'build',N(0x1da)]});if(!this[N(0x18f)](a))return N(0x199);else{const b=this['pathFromProject']({'pathParts':[N(0x18a),N(0x181),N(0x1a8),'build',N(0x1da)]}),c=a149h['readFileSync'](b,N(0x167)),d=c['replace']('v','')[N(0x1aa)]('\x0a','');return d;}}catch(f){errorHandler('getProjectsMeteorNodeVersion()',f),process['exit'](0x1);}}async[a149q(0x177)](){const O=a149q,a=await a149k(O(0x1a5));return a;}async[a149q(0x1cf)](){const P=a149q,a=await this[P(0x177)]();a149l['gt'](a,pjson[P(0x16c)])&&(Log['warn'](P(0x180)+a),Log[P(0x1dd)]('Please\x20update\x20with:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20npm\x20i\x20-g\x20@maka/maka-cli@latest\x0a\x0a\x20\x20\x20\x20\x20\x20'));return;}['directoryEntries'](a){const Q=a149q;try{let b=[];const c=a149h['readdirSync'](a);for(const d of c){const f=a149e[Q(0x1cd)](a,d);b[Q(0x1e4)](f),this[Q(0x1b7)](f)&&(b=b['concat'](this['directoryEntries'](f)));}return b;}catch(g){errorHandler(Q(0x17f),g),process['exit'](0x1);}}[a149q(0x19f)](){const R=a149q,a=this[R(0x1a4)]();return a!==''?!![]:![];}[a149q(0x17b)](a,b){const S=a149q;try{const c=new RegExp(S(0x1f3)+b+').*$','mg'),d=a[S(0x1de)](c);return d||[];}catch(f){errorHandler('grep()',f),process[S(0x19c)](0x1);}}async[a149q(0x1a3)](a,b){const T=a149q;try{if(a149h[T(0x1a1)](a)===![])return![];const c=await a149h['promises'][T(0x1cb)](a,T(0x167));return c[T(0x1ac)](b);}catch(d){console[T(0x1b4)](T(0x185)+d);throw d;}}['getCachedResult'](a){const U=a149q,b=a149e['join'](this[U(0x15f)](),'.maka',GLOBAL_CACHE);try{const c=JSON[U(0x1bc)](a149h[U(0x17c)](b,U(0x18e)));return c[a]||null;}catch(d){return null;}}['cacheResult'](a,b){const V=a149q,c=a149e[V(0x1cd)](this[V(0x15f)](),V(0x195),GLOBAL_CACHE);try{const d=JSON['parse'](a149h[V(0x17c)](c,'utf-8'));d[a]=b,a149h['writeFileSync'](c,JSON[V(0x1d3)](d));}catch(f){const g={[a]:b};a149h['writeFileSync'](c,JSON[V(0x1d3)](g));}}[a149q(0x1dc)](){const W=a149q;return a149e['join'](this[W(0x15f)](),W(0x195));}async[a149q(0x190)](a,b){const X=a149q;try{const c=JSON[X(0x1d3)](a,null,0x2);await this[X(0x19d)]({'filePath':b,'data':c,'opts':{'force':!![]}});}catch(d){errorHandler(X(0x1c5),d),process[X(0x19c)](0x1);}}[a149q(0x19e)](a){const b={};for(const c in a){const d=c['split']('.');let e=b;while(d?.['length']>0x1){const f=d?.['shift']();f&&(e=e[f]=e[f]||{});}e[d[0x0]]=a[c];}return b;}[a149q(0x19a)](c,d){const Y=a149q;return Object['entries'](d)[Y(0x18c)](([e,f])=>c[e]=f&&typeof f===Y(0x1c8)?this['deeperAssign'](c[e]=c[e]||{},f):f),c;}[a149q(0x169)](a){return new Promise((b,c)=>{const Z=a149d;a=a||{},a['cwd']=a[Z(0x1be)]||'.';if(!a[Z(0x1f6)]){const d=this[Z(0x1b9)](a[Z(0x1be)]);if(!d)Log[Z(0x1b4)](Z(0x176)),c();else{const f=Log[Z(0x187)]();try{f['start']('Setting\x20up\x20the\x20npm\x20packages'),exec(Z(0x1a2),{'cwd':d},g=>{const a0=Z;g&&(Log['error']('\x0a'+g[a0(0x1c3)]),c(),process['exit'](0x1)),f[a0(0x1c9)](),b();});}catch(g){Log['error'](g),f['failure'](),c();}}}});}async[a149q(0x1f5)](a){return new Promise((b,c)=>{const a1=a149d,d=a149f['createServer']();d[a1(0x1b6)](a1(0x1b4),async e=>{const a2=a1;if(e['code']===a2(0x1f1)){const f=await Actions['confirm'](a2(0x1a9)+a+a2(0x18b),![]);!f&&(Log[a2(0x1b4)]('Port\x20'+a+a2(0x1b5)),process[a2(0x19c)](0x1)),Log[a2(0x1e6)]('Port\x20'+a+a2(0x1e0)+(a+0x64)+a2(0x165)),b(!![]);}else c(e);}),d['once'](a1(0x196),()=>{const a3=a1;d[a3(0x182)](),b(![]);}),d[a1(0x1d2)](a,'0.0.0.0');});}async['getAvailablePort'](a){const a4=a149q;while(await this[a4(0x1f5)](a)){a+=0x64;}return a;}async[a149q(0x174)](a,b){const a6=a149q;function c(g){const a5=a149d,h=a149h['statSync'](g);return h[a5(0x1e7)];}const d=process[a6(0x1c4)]==='win32'?'>':'📦',e=c(a),f=new Progress(e,'Extracting',d);return new Promise((g,h)=>{const a7=a6;a149h[a7(0x1ab)](a)['on'](a7(0x168),i=>{const a8=a7;f[a8(0x1b0)](i[a8(0x188)]);})[a7(0x164)](a149g['x']({'gzip':!![],'cwd':b}))['on'](a7(0x1ed),()=>{const a9=a7;f[a9(0x1e3)](),g();})['on']('error',i=>{h(i);});});}}
@@ -1 +1 @@
1
- var a150l=a150d;(function(a,b){var k=a150d,c=a();while(!![]){try{var d=-parseInt(k(0x183))/0x1+-parseInt(k(0x172))/0x2+-parseInt(k(0x16e))/0x3*(parseInt(k(0x170))/0x4)+parseInt(k(0x189))/0x5+parseInt(k(0x181))/0x6+-parseInt(k(0x17b))/0x7+parseInt(k(0x16c))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a150c,0xb6c04));export const supportedEngines={'html':[a150l(0x176)],'js':['js','jsx','ts','tsx'],'css':[a150l(0x18c),a150l(0x177),a150l(0x186),a150l(0x18a)],'api':[a150l(0x16a),'none'],'test':[a150l(0x168),a150l(0x174),a150l(0x18a)],'client':[a150l(0x175),a150l(0x16b)],'graphql':[a150l(0x185)],'ssr':[!![],![]],'theme':[a150l(0x179),a150l(0x18a)]};export var HtmlEngines;(function(a){var m=a150l;a[m(0x17d)]='html';}(HtmlEngines||(HtmlEngines={})));export var JsEngines;(function(a){var n=a150l;a['JS']='js',a[n(0x180)]='jsx',a['TS']='ts',a[n(0x17f)]=n(0x16f);}(JsEngines||(JsEngines={})));export var CssEngines;(function(a){var o=a150l;a[o(0x17c)]=o(0x18c),a[o(0x184)]=o(0x177),a[o(0x18b)]=o(0x186),a[o(0x178)]=o(0x18a);}(CssEngines||(CssEngines={})));export var ApiEngines;(function(a){var p=a150l;a[p(0x167)]=p(0x16a),a[p(0x178)]='none';}(ApiEngines||(ApiEngines={})));export var TestEngines;(function(a){var q=a150l;a[q(0x173)]='jasmine',a['MOCHA']='mocha',a[q(0x178)]='none';}(TestEngines||(TestEngines={})));export var ClientEngines;(function(c){var s=a150l,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 r=a150d;return e['toString']()[r(0x18d)](r(0x17a))[r(0x182)]()['constructor'](e)['search'](r(0x17a));});e(),c[s(0x188)]=s(0x175),c[s(0x187)]=s(0x16b);}(ClientEngines||(ClientEngines={})));function a150c(){var w=['3531198GOYMES','toString','268614ndmkXg','LESS','apollo','scss','VANILLA','REACT','1281120EKsPau','none','SCSS','css','search','REST','jasmine','APOLLO','rest','vanilla','22845376GPeLXz','meteor','57HyBfGo','tsx','284444mfNDDY','MATERIAL','560138YZnnuV','JASMINE','mocha','react','html','less','NONE','material','(((.+)+)+)+$','7364623kXplUS','CSS','HTML','METEOR','TSX','JSX'];a150c=function(){return w;};return a150c();}function a150d(a,b){var c=a150c();return a150d=function(d,e){d=d-0x167;var f=c[d];return f;},a150d(a,b);}export var GraphqlEngines;(function(a){var t=a150l;a['NONE']=t(0x18a),a[t(0x169)]=t(0x185);}(GraphqlEngines||(GraphqlEngines={})));export var SsrEngines;(function(a){var u=a150l;a[u(0x178)]='none',a[u(0x17e)]=u(0x16d);}(SsrEngines||(SsrEngines={})));export var ThemeEngines;(function(a){var v=a150l;a[v(0x171)]='material',a[v(0x178)]=v(0x18a);}(ThemeEngines||(ThemeEngines={})));
1
+ var a150l=a150d;(function(a,b){var k=a150d,c=a();while(!![]){try{var d=parseInt(k(0x195))/0x1+parseInt(k(0x17e))/0x2*(parseInt(k(0x18a))/0x3)+-parseInt(k(0x19d))/0x4*(parseInt(k(0x18d))/0x5)+parseInt(k(0x183))/0x6*(-parseInt(k(0x19b))/0x7)+-parseInt(k(0x179))/0x8+parseInt(k(0x18b))/0x9+parseInt(k(0x191))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a150c,0xbc0f5));export const supportedEngines={'html':[a150l(0x18c)],'js':['js',a150l(0x188),'ts','tsx'],'css':['css','less',a150l(0x17d),a150l(0x17a)],'api':[a150l(0x199),a150l(0x17a)],'test':[a150l(0x17c),a150l(0x198),a150l(0x17a)],'client':['react',a150l(0x186)],'graphql':[a150l(0x187)],'ssr':[!![],![]],'theme':[a150l(0x181),a150l(0x17a)]};export var HtmlEngines;(function(a){var m=a150l;a[m(0x182)]=m(0x18c);}(HtmlEngines||(HtmlEngines={})));export var JsEngines;(function(a){var n=a150l;a['JS']='js',a[n(0x184)]=n(0x188),a['TS']='ts',a[n(0x19c)]=n(0x197);}(JsEngines||(JsEngines={})));export var CssEngines;(function(a){var o=a150l;a[o(0x18f)]=o(0x19f),a[o(0x196)]=o(0x189),a['SCSS']=o(0x17d),a['NONE']=o(0x17a);}(CssEngines||(CssEngines={})));export var ApiEngines;(function(a){var p=a150l;a[p(0x19e)]='rest',a[p(0x194)]=p(0x17a);}(ApiEngines||(ApiEngines={})));export var TestEngines;(function(a){var q=a150l;a[q(0x17b)]=q(0x17c),a['MOCHA']=q(0x198),a[q(0x194)]=q(0x17a);}(TestEngines||(TestEngines={})));export var ClientEngines;(function(a){var r=a150l;a[r(0x17f)]='react',a[r(0x190)]=r(0x186);}(ClientEngines||(ClientEngines={})));function a150d(a,b){var c=a150c();return a150d=function(d,e){d=d-0x179;var f=c[d];return f;},a150d(a,b);}export var GraphqlEngines;(function(a){var s=a150l;a[s(0x194)]=s(0x17a),a['APOLLO']=s(0x187);}(GraphqlEngines||(GraphqlEngines={})));export var SsrEngines;function a150c(){var w=['mocha','rest','constructor','1897ZSPGvk','TSX','1922116OBtJHZ','REST','css','9644712diWvur','none','JASMINE','jasmine','scss','2oQsKkH','REACT','meteor','material','HTML','14436xOoeem','JSX','(((.+)+)+)+$','vanilla','apollo','jsx','less','2580612nfJjcf','7052805ByxJBw','html','10kAZiTA','search','CSS','VANILLA','7177440ItfIvQ','toString','METEOR','NONE','1227373HupQrl','LESS','tsx'];a150c=function(){return w;};return a150c();}(function(c){var u=a150l,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 t=a150d;return e[t(0x192)]()['search']('(((.+)+)+)+$')[t(0x192)]()[t(0x19a)](e)[t(0x18e)](t(0x185));});e(),c[u(0x194)]='none',c[u(0x193)]=u(0x180);}(SsrEngines||(SsrEngines={})));export var ThemeEngines;(function(a){var v=a150l;a['MATERIAL']=v(0x181),a['NONE']='none';}(ThemeEngines||(ThemeEngines={})));
@@ -1 +1 @@
1
- const a151t=a151d;(function(a,b){const q=a151d,c=a();while(!![]){try{const d=parseInt(q(0x9c))/0x1*(-parseInt(q(0x7e))/0x2)+-parseInt(q(0x95))/0x3+parseInt(q(0x8a))/0x4*(-parseInt(q(0x93))/0x5)+-parseInt(q(0xa6))/0x6+parseInt(q(0x9f))/0x7*(parseInt(q(0x73))/0x8)+parseInt(q(0x71))/0x9*(-parseInt(q(0x99))/0xa)+-parseInt(q(0x87))/0xb*(-parseInt(q(0x80))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a151c,0x41a03));const a151b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a151d;if(c){const e=c[r(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a151a=a151b(this,function(){const s=a151d;return a151a['toString']()[s(0xa2)](s(0x6e))['toString']()[s(0x8e)](a151a)[s(0xa2)](s(0x6e));});a151a();function a151d(a,b){const c=a151c();return a151d=function(d,e){d=d-0x6d;let f=c[d];return f;},a151d(a,b);}function a151c(){const Q=['finish','error','1719490mTPLxk','/v1/engines/davinci/completions','request','139OqzUKq','data','length','415240UrxDDe','update','timeout','search','application/json','checkAvailability','createWriteStream','1938822zZGiBz','apply','post','(((.+)+)+)+$','assign','NODE_NO_WARNINGS','18VsSzhH','MAKA_DEV','64YtNKSB','downloadFile','location','get','True','askGPT','env','Redirected\x20response\x20without\x20Location\x20header','pathname','Request\x20timeout','toString','6296iwnSvf','then','2618496mxKtyG','hostname','HEAD','destroy','readFileSync','catch','statusMessage','77KDdGtq','POST','NODE_TLS_REJECT_UNAUTHORIZED','20VLUEVp','application/octet-stream','write','BAD\x20RETURN','constructor','end','No\x20content','headers','statusCode','216935jEfuqU','Bearer\x20','1235013oldjEY','close'];a151c=function(){return Q;};return a151c();}import a151e from'https';import a151f from'fs';import{Progress}from'../progress/progress.class.js';const TIMEOUT=0x493e0;process[a151t(0x79)][a151t(0x89)]=process[a151t(0x79)][a151t(0x72)]==='True'?'0':'1',process[a151t(0x79)][a151t(0x70)]=process['env'][a151t(0x72)]===a151t(0x77)?'1':'0';export class HTTPS{static async['post']({hostname:a,path:b,data:c,headers:d,cert:e,timeout:f}){const u=a151t,g=JSON['stringify'](c),h={'Content-Type':'application/json','Content-Length':g[u(0x9e)]};Object[u(0x6f)](h,d);const i={'hostname':a,'port':0x1bb,'path':b,'method':u(0x88),'headers':h,'timeout':f?f:TIMEOUT};return e&&Object[u(0x6f)](i,{'cert':a151f[u(0x84)](e)}),new Promise((j,k)=>{const x=u,l=a151e['request'](i,m=>{const v=a151d;let n='';m['on'](v(0x9d),o=>{n+=o['toString']();}),m['on']('end',()=>{const w=v;m[w(0x92)]===0x12d&&m[w(0x91)][w(0x75)]?this['post']({'hostname':new URL(m['headers'][w(0x75)])[w(0x81)],'path':new URL(m[w(0x91)][w(0x75)])[w(0x7b)],'data':c,'headers':d,'cert':e})[w(0x7f)](j)['catch'](k):(!n&&j({'statusCode':0xcc,'statusMessage':m[w(0x86)]||'BAD\x20RETURN','data':JSON['stringify']({'message':w(0x90)})}),j({'statusCode':m[w(0x92)]||0x1f4,'statusMessage':m[w(0x86)]||w(0x8d),'data':n}));});});l['on']('error',m=>{k(m);}),l['on'](x(0xa1),()=>{const y=x;l[y(0x83)](),k({'statusCode':0x198,'statusMessage':'Request\x20timeout'});}),l['write'](g),l[x(0x8f)]();});}static[a151t(0x76)]({url:a,headers:b,cert:c,timeout:d}){const z=a151t,e={'Content-Type':z(0xa3)};Object[z(0x6f)](e,b);const f={'headers':e,'timeout':d?d:TIMEOUT};return c&&Object[z(0x6f)](f,{'cert':a151f['readFileSync'](c)}),new Promise((g,h)=>{const A=z,i=a151e[A(0x76)](a,f,j=>{const B=A;let k='';j['on'](B(0x9d),l=>{k+=l['toString']();}),j['on']('end',()=>{const C=B;j[C(0x92)]===0x12d&&j[C(0x91)]['location']?this[C(0x76)]({'url':j[C(0x91)][C(0x75)],'headers':b,'cert':c})[C(0x7f)](g)[C(0x85)](h):g({'statusCode':j['statusCode']||0x1f4,'statusMessage':j['statusMessage']||'BAD\x20RETURN','data':k});});});i['on'](A(0x98),j=>{h(j);}),i['on'](A(0xa1),()=>{const D=A;i[D(0x83)](),h({'statusCode':0x198,'statusMessage':D(0x7c)});});});}static['downloadFile']({url:a,headers:b,cert:c,destPath:d,timeout:e}){const E=a151t,f={'Content-Type':E(0x8b)};Object[E(0x6f)](f,b);const g={'headers':f,'timeout':e?e:TIMEOUT};return c&&Object[E(0x6f)](g,{'cert':a151f[E(0x84)](c)}),new Promise((h,i)=>{const J=E,j=l=>{const F=a151d;if(l['statusCode']===0x12e||l['statusCode']===0x12d){if(!l['headers'][F(0x75)])return i(new Error(F(0x7a)));return this[F(0x74)]({'url':l[F(0x91)][F(0x75)],'headers':b,'cert':c,'destPath':d})['then'](h)[F(0x85)](i);}if(l[F(0x92)]&&(l[F(0x92)]<0xc8||l['statusCode']>=0x12c))return i(new Error('Request\x20Failed\x20with\x20Status\x20Code:\x20'+l[F(0x92)]));const m=parseInt(l[F(0x91)]['content-length'],0xa),n=new Progress(m),o=a151f[F(0xa5)](d);l['on'](F(0x9d),p=>{const G=F;n[G(0xa0)](p[G(0x9e)]),o[G(0x8c)](p);}),l['on'](F(0x8f),()=>{const H=F;o[H(0x8f)](),n['complete']();}),o['on'](F(0x97),()=>{const I=F;o[I(0x96)]();}),o['on'](F(0x96),h);},k=a151e[J(0x76)](a,g,j);k['on'](J(0x98),l=>{i(l);}),k['on'](J(0xa1),()=>{const K=J;k[K(0x83)](),i({'statusCode':0x198,'statusMessage':K(0x7c)});});});}static[a151t(0xa4)]({url:a,headers:b,cert:c,maxRedirects:maxRedirects=0x5,timeout:d}){const L=a151t,e={'Content-Type':L(0xa3)};Object[L(0x6f)](e,b);const f={'method':L(0x82),'headers':e,'timeout':d?d:TIMEOUT};return c&&Object[L(0x6f)](f,{'cert':a151f[L(0x84)](c)}),new Promise((g,h)=>{const M=L,i=a151e[M(0x9b)](a,f,j=>{const N=M;if(j[N(0x92)]&&(j['statusCode']>=0xc8&&j[N(0x92)]<0x12c))g(!![]);else j['statusCode']&&(j[N(0x92)]>=0x12c&&j['statusCode']<0x190)&&j[N(0x91)][N(0x75)]?maxRedirects<=0x0?g(![]):this[N(0xa4)]({'url':new URL(j[N(0x91)][N(0x75)],a)[N(0x7d)](),'headers':b,'cert':c,'maxRedirects':maxRedirects-0x1})[N(0x7f)](g)[N(0x85)](h):g(![]);});i['on']('error',j=>{h(j);}),i['on'](M(0xa1),()=>{const O=M;i[O(0x83)](),h({'statusCode':0x198,'statusMessage':'Request\x20timeout'});}),i[M(0x8f)]();});}static async[a151t(0x78)]({prompt:a,openApiKey:b,certPath:c}){const P=a151t,d={'prompt':a,'max_tokens':0x96},e={'Authorization':P(0x94)+b},f=await this[P(0x6d)]({'hostname':'api.openai.com','path':P(0x9a),'data':d,'headers':e,'cert':c});return f;}}
1
+ const a151t=a151d;(function(a,b){const q=a151d,c=a();while(!![]){try{const d=parseInt(q(0xf2))/0x1+-parseInt(q(0xf7))/0x2*(-parseInt(q(0xe2))/0x3)+-parseInt(q(0xfa))/0x4+parseInt(q(0x106))/0x5*(-parseInt(q(0xd9))/0x6)+-parseInt(q(0xe1))/0x7*(-parseInt(q(0xee))/0x8)+parseInt(q(0xeb))/0x9+parseInt(q(0xe7))/0xa*(parseInt(q(0xdb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a151c,0xe8a64));const a151b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a151d;if(c){const e=c[r(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a151a=a151b(this,function(){const s=a151d;return a151a[s(0x102)]()[s(0xd7)](s(0xfd))['toString']()['constructor'](a151a)[s(0xd7)](s(0xfd));});a151a();import a151e from'https';import a151f from'fs';import{Progress}from'../progress/progress.class.js';function a151c(){const S=['catch','1231013ILStsv','3SQXfJu','createWriteStream','assign','NODE_NO_WARNINGS','content-length','260DypZTt','downloadFile','True','pathname','1438227Uroadx','length','No\x20content','40mWBizM','HEAD','data','close','821554NjgVFq','MAKA_DEV','end','then','Bearer\x20','2021542ajZXvQ','BAD\x20RETURN','headers','7424520oXZbta','statusCode','hostname','(((.+)+)+)+$','api.openai.com','statusMessage','complete','destroy','toString','write','get','stringify','8515sktIfY','application/octet-stream','post','apply','error','readFileSync','env','location','finish','Request\x20timeout','search','request','930szvxiw','application/json','85294IMLJce','POST','update','timeout','checkAvailability'];a151c=function(){return S;};return a151c();}const TIMEOUT=0x493e0;function a151d(a,b){const c=a151c();return a151d=function(d,e){d=d-0xce;let f=c[d];return f;},a151d(a,b);}process[a151t(0xd3)]['NODE_TLS_REJECT_UNAUTHORIZED']=process[a151t(0xd3)][a151t(0xf3)]===a151t(0xe9)?'0':'1',process[a151t(0xd3)][a151t(0xe5)]=process[a151t(0xd3)][a151t(0xf3)]==='True'?'1':'0';export class HTTPS{static async[a151t(0xcf)]({hostname:a,path:b,data:c,headers:d,cert:e,timeout:f}){const u=a151t,g=JSON[u(0x105)](c),h={'Content-Type':'application/json','Content-Length':g[u(0xec)]};Object[u(0xe4)](h,d);const i={'hostname':a,'port':0x1bb,'path':b,'method':u(0xdc),'headers':h,'timeout':f?f:TIMEOUT};return e&&Object[u(0xe4)](i,{'cert':a151f['readFileSync'](e)}),new Promise((j,k)=>{const y=u,l=a151e['request'](i,m=>{const v=a151d;let n='';m['on'](v(0xf0),o=>{const w=v;n+=o[w(0x102)]();}),m['on'](v(0xf4),()=>{const x=v;m[x(0xfb)]===0x12d&&m[x(0xf9)]['location']?this[x(0xcf)]({'hostname':new URL(m[x(0xf9)][x(0xd4)])[x(0xfc)],'path':new URL(m[x(0xf9)][x(0xd4)])[x(0xea)],'data':c,'headers':d,'cert':e})[x(0xf5)](j)['catch'](k):(!n&&j({'statusCode':0xcc,'statusMessage':m[x(0xff)]||'BAD\x20RETURN','data':JSON[x(0x105)]({'message':x(0xed)})}),j({'statusCode':m['statusCode']||0x1f4,'statusMessage':m[x(0xff)]||'BAD\x20RETURN','data':n}));});});l['on'](y(0xd1),m=>{k(m);}),l['on'](y(0xde),()=>{const z=y;l[z(0x101)](),k({'statusCode':0x198,'statusMessage':z(0xd6)});}),l[y(0x103)](g),l['end']();});}static[a151t(0x104)]({url:a,headers:b,cert:c,timeout:d}){const A=a151t,e={'Content-Type':'application/json'};Object[A(0xe4)](e,b);const f={'headers':e,'timeout':d?d:TIMEOUT};return c&&Object['assign'](f,{'cert':a151f[A(0xd2)](c)}),new Promise((g,h)=>{const B=A,i=a151e[B(0x104)](a,f,j=>{const C=B;let k='';j['on'](C(0xf0),l=>{const D=C;k+=l[D(0x102)]();}),j['on'](C(0xf4),()=>{const E=C;j[E(0xfb)]===0x12d&&j['headers'][E(0xd4)]?this[E(0x104)]({'url':j[E(0xf9)][E(0xd4)],'headers':b,'cert':c})[E(0xf5)](g)[E(0xe0)](h):g({'statusCode':j['statusCode']||0x1f4,'statusMessage':j['statusMessage']||E(0xf8),'data':k});});});i['on'](B(0xd1),j=>{h(j);}),i['on']('timeout',()=>{const F=B;i[F(0x101)](),h({'statusCode':0x198,'statusMessage':F(0xd6)});});});}static[a151t(0xe8)]({url:a,headers:b,cert:c,destPath:d,timeout:e}){const G=a151t,f={'Content-Type':G(0xce)};Object[G(0xe4)](f,b);const g={'headers':f,'timeout':e?e:TIMEOUT};return c&&Object['assign'](g,{'cert':a151f[G(0xd2)](c)}),new Promise((h,i)=>{const L=G,j=l=>{const H=a151d;if(l['statusCode']===0x12e||l[H(0xfb)]===0x12d){if(!l[H(0xf9)][H(0xd4)])return i(new Error('Redirected\x20response\x20without\x20Location\x20header'));return this['downloadFile']({'url':l['headers'][H(0xd4)],'headers':b,'cert':c,'destPath':d})['then'](h)[H(0xe0)](i);}if(l[H(0xfb)]&&(l[H(0xfb)]<0xc8||l[H(0xfb)]>=0x12c))return i(new Error('Request\x20Failed\x20with\x20Status\x20Code:\x20'+l['statusCode']));const m=parseInt(l[H(0xf9)][H(0xe6)],0xa),n=new Progress(m),o=a151f[H(0xe3)](d);l['on'](H(0xf0),p=>{const I=H;n[I(0xdd)](p[I(0xec)]),o[I(0x103)](p);}),l['on'](H(0xf4),()=>{const J=H;o[J(0xf4)](),n[J(0x100)]();}),o['on'](H(0xd5),()=>{const K=H;o[K(0xf1)]();}),o['on'](H(0xf1),h);},k=a151e[L(0x104)](a,g,j);k['on']('error',l=>{i(l);}),k['on'](L(0xde),()=>{const M=L;k[M(0x101)](),i({'statusCode':0x198,'statusMessage':M(0xd6)});});});}static[a151t(0xdf)]({url:a,headers:b,cert:c,maxRedirects:maxRedirects=0x5,timeout:d}){const N=a151t,e={'Content-Type':N(0xda)};Object[N(0xe4)](e,b);const f={'method':N(0xef),'headers':e,'timeout':d?d:TIMEOUT};return c&&Object['assign'](f,{'cert':a151f[N(0xd2)](c)}),new Promise((g,h)=>{const O=N,i=a151e[O(0xd8)](a,f,j=>{const P=O;if(j[P(0xfb)]&&(j[P(0xfb)]>=0xc8&&j['statusCode']<0x12c))g(!![]);else j['statusCode']&&(j['statusCode']>=0x12c&&j[P(0xfb)]<0x190)&&j[P(0xf9)][P(0xd4)]?maxRedirects<=0x0?g(![]):this['checkAvailability']({'url':new URL(j[P(0xf9)][P(0xd4)],a)[P(0x102)](),'headers':b,'cert':c,'maxRedirects':maxRedirects-0x1})[P(0xf5)](g)[P(0xe0)](h):g(![]);});i['on'](O(0xd1),j=>{h(j);}),i['on']('timeout',()=>{const Q=O;i[Q(0x101)](),h({'statusCode':0x198,'statusMessage':Q(0xd6)});}),i[O(0xf4)]();});}static async['askGPT']({prompt:a,openApiKey:b,certPath:c}){const R=a151t,d={'prompt':a,'max_tokens':0x96},e={'Authorization':R(0xf6)+b},f=await this[R(0xcf)]({'hostname':R(0xfe),'path':'/v1/engines/davinci/completions','data':d,'headers':e,'cert':c});return f;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a152d,c=a();while(!![]){try{var d=parseInt(f(0x140))/0x1+-parseInt(f(0x141))/0x2*(parseInt(f(0x146))/0x3)+parseInt(f(0x143))/0x4+parseInt(f(0x144))/0x5+-parseInt(f(0x142))/0x6+parseInt(f(0x13f))/0x7+-parseInt(f(0x147))/0x8*(parseInt(f(0x145))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a152c,0xb0f8d));function a152d(a,b){var c=a152c();return a152d=function(d,e){d=d-0x13d;var f=c[d];return f;},a152d(a,b);}var a152b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a152d;if(c){var e=c[g(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a152a=a152b(this,function(){var h=a152d;return a152a[h(0x149)]()['search'](h(0x148))[h(0x149)]()['constructor'](a152a)[h(0x13e)]('(((.+)+)+)+$');});a152a();function a152c(){var i=['apply','search','6100633blPyUN','492457NOlfrn','6DOZYLz','362076uraxIu','2276200RNCRsx','826010pktGYS','141714tOagNU','856371QhMnzC','232gfwcYT','(((.+)+)+)+$','toString'];a152c=function(){return i;};return a152c();}export{};
1
+ function a152d(a,b){var c=a152c();return a152d=function(d,e){d=d-0x1ac;var f=c[d];return f;},a152d(a,b);}(function(a,b){var f=a152d,c=a();while(!![]){try{var d=-parseInt(f(0x1b4))/0x1*(parseInt(f(0x1ad))/0x2)+-parseInt(f(0x1ba))/0x3*(-parseInt(f(0x1ae))/0x4)+-parseInt(f(0x1b8))/0x5+-parseInt(f(0x1ac))/0x6*(-parseInt(f(0x1b5))/0x7)+-parseInt(f(0x1b6))/0x8+-parseInt(f(0x1af))/0x9*(-parseInt(f(0x1b2))/0xa)+-parseInt(f(0x1b9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a152c,0x84b1c));var a152b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a152d;if(c){var e=c[g(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a152a=a152b(this,function(){var h=a152d;return a152a['toString']()[h(0x1b1)]('(((.+)+)+)+$')[h(0x1b7)]()[h(0x1b3)](a152a)[h(0x1b1)](h(0x1bb));});a152a();export{};function a152c(){var i=['40mxNIdL','constructor','29387gWjYRZ','79072NWGUvk','2708624BuNTOe','toString','516910zAdQfU','5900015POhFzt','3YwUJxu','(((.+)+)+)+$','384rCLyHQ','4pnnCUM','3112940HrDBPO','178731qxWbhR','apply','search'];a152c=function(){return i;};return a152c();}
@@ -1 +1 @@
1
- const a153o=a153d;(function(a,b){const k=a153d,c=a();while(!![]){try{const d=-parseInt(k(0x108))/0x1+-parseInt(k(0xdc))/0x2*(-parseInt(k(0xe1))/0x3)+-parseInt(k(0x10f))/0x4+-parseInt(k(0x10d))/0x5+-parseInt(k(0x10a))/0x6*(-parseInt(k(0xf7))/0x7)+parseInt(k(0xd4))/0x8+parseInt(k(0xd3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a153c,0x1f170));import*as a153e from'single-line-log2';import a153f from'cli-color';import a153g from'cli-cursor';import a153h from'elegant-spinner';function a153c(){const N=['toString','<value>','search','apply','198374KocGwk','majestic','colorMode','length','[--','6RHHLov','show','stdout','trim','cyan','Usage:\x20','utf8','singleLine','readFileSync','message','forEach','whiteBright','black','map','info','singleLineSuccess','bold','cyanBright','yellowBright','constructor','All\x20commands\x20accept\x20the\x20--help\x20or\x20-h\x20flag\x20for\x20more\x20information','hide','16219inXqrF','join','file','header','greenBright','name','notice','values','magenta','magentaBright','warn','usage','LIGHT','success','colors','hidden','DARK','41227cjonWi','yellow','564FxMHdp','boolFlag','error','879845wMaRyl','bright','503236oysDIC','(((.+)+)+)+$','Examples:','\x20>\x20','350631Gisnxi','121744WSkCYw','red','This\x20command\x20is\x20experimental\x20and\x20may\x20not\x20be\x20fully\x20functional.','log'];a153c=function(){return N;};return a153c();}import a153i from'fs';import{camelCase}from'change-case';function a153d(a,b){const c=a153c();return a153d=function(d,e){d=d-0xd0;let f=c[d];return f;},a153d(a,b);}const check='✔',cross='✘';export var ColorMode;(function(c){const n=a153d,d=(function(){let f=!![];return function(g,h){const i=f?function(){const l=a153d;if(h){const j=h[l(0xdb)](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){const m=a153d;return e[m(0xd8)]()[m(0xda)](m(0xd0))[m(0xd8)]()[m(0xf4)](e)[m(0xda)](m(0xd0));});e(),c[c[n(0x107)]=0x0]=n(0x107),c[c[n(0x103)]=0x1]='LIGHT';}(ColorMode||(ColorMode={})));const DarkColors={'success':a153f[a153o(0xfb)],'warn':a153f[a153o(0xf3)],'notice':a153f['cyanBright'],'error':a153f[a153o(0xd5)][a153o(0xf1)],'header':a153f['blackBright'],'bright':a153f[a153o(0xec)],'info':a153f[a153o(0xf2)],'majestic':a153f[a153o(0x100)]},LightColors={'success':a153f['green'],'warn':a153f[a153o(0x109)],'notice':a153f[a153o(0xe5)],'error':a153f[a153o(0xd5)],'header':a153f[a153o(0xed)],'bright':a153f[a153o(0xed)],'info':a153f[a153o(0xe5)],'majestic':a153f[a153o(0xff)]},formatOptionalOpts=a=>{const p=a153o;return a[p(0xee)](b=>{const q=p;if(typeof b==='object'){if(b?.[q(0x106)])return'';if(b[q(0x10b)])return q(0xe0)+camelCase(b[q(0xfc)])+']';return'[--'+camelCase(b[q(0xfc)])+'='+(b?.[q(0xfe)]?b[q(0xfe)][q(0xf8)]('|'):q(0xd9))+']';}return b?q(0xe0)+camelCase(b)+']':'';})[p(0xf8)]('\x20');},formatRequiredOpts=a=>{const r=a153o;return a[r(0xee)](b=>{const s=r;if(typeof b==='object'){if(b?.[s(0x106)])return'';if(b[s(0x10b)])return'--'+camelCase(b[s(0xfc)]);return'--'+camelCase(b[s(0xfc)])+'='+(b?.[s(0xfe)]?b[s(0xfe)][s(0xf8)]('|'):'<value>');}return'--'+camelCase(b);})[r(0xf8)]('\x20');};export class Log{static [a153o(0xde)]=ColorMode[a153o(0x107)];static get['colors'](){const t=a153o;return Log[t(0xde)]===ColorMode['DARK']?DarkColors:LightColors;}static['setColorMode'](a){const u=a153o;Log[u(0xde)]=a;}static['success'](a){const v=a153o;a&&console[v(0xd7)](Log[v(0x105)][v(0x104)](a));}static[a153o(0x101)](a){const w=a153o;a&&console['log'](Log[w(0x105)][w(0x101)](a));}static['notice'](a){const x=a153o;a&&console[x(0xd7)](Log[x(0x105)][x(0xfd)](a));}static[a153o(0x10c)](a){const y=a153o;a&&console[y(0xd7)](Log[y(0x105)][y(0x10c)](a));}static[a153o(0xfa)](a){const z=a153o;a&&console[z(0xd7)](Log[z(0x105)][z(0xfa)](a));}static[a153o(0x10e)](a){const A=a153o;a&&console[A(0xd7)](Log[A(0x105)]['bright'](a));}static[a153o(0xef)](a){const B=a153o;a&&console['log'](Log[B(0x105)][B(0xef)](a));}static[a153o(0xdd)](a){const C=a153o;a&&console[C(0xd7)](Log[C(0x105)][C(0xdd)](a));}static[a153o(0x102)](a,b,c,d,e,f,g){const D=a153o,h=a153f['blackBright'];g&&Log[D(0x101)](D(0xd6)),Log[D(0x10e)](d),b&&b[D(0xdf)]>0x0&&(Log[D(0x10e)](h(D(0xd1))),b[D(0xeb)](i=>{const E=D;Log[E(0x10e)](E(0xd2)+i);})),a&&(Log[D(0xfa)]('\x0aManual:'),Log[D(0xfd)]('\x20\x20'+a[D(0xe4)]()+'\x0a')),c&&Log[D(0x10e)](h(D(0xe6))+c+'\x20'+formatRequiredOpts(e)+'\x20'+formatOptionalOpts(f)+'\x0a'),Log[D(0xfa)]('For\x20more\x20information,\x20visit\x20https://www.maka-cli.com'),Log[D(0xfa)](D(0xf5));}static['withSpinner'](a=''){const F=a153o;a153g[F(0xf6)]();const b=a153h();a153g[F(0xf6)]();let c;return{'start'(d){d&&(a=d),c=setInterval(function(){const G=a153d;a153e['stdout'](a153f[G(0xe5)](b())+'\x20'+d);},0x5a);},'success'(d=''){const H=F;clearInterval(c),a153e['stdout'](a153f['greenBright'](check)+'\x20'+a+'\x20'+d),console[H(0xd7)](),a153g[H(0xe2)]();},'failure'(d=''){const I=F;clearInterval(c),a153e['stdout'](a153f['red'][I(0xf1)](cross)+'\x20'+a+'\x20'+d),console[I(0xd7)](),a153g[I(0xe2)]();},'stop'(){const J=F;clearInterval(c),a153g[J(0xe2)]();}};}static[a153o(0xe8)](a){const K=a153o;a153e[K(0xe3)](a);}static[a153o(0xf0)](a){const L=a153o;a153e[L(0xe3)](a153f['greenBright'](check)+'\x20'+a);}static[a153o(0xf9)](a){const M=a153o;try{const b=a153i[M(0xe9)](a,M(0xe7));console['log'](a153f[M(0xec)](b));}catch(c){console['error'](a153f[M(0xd5)]('Error\x20reading\x20file:\x20'+c[M(0xea)]));}}}
1
+ const a153o=a153d;(function(a,b){const k=a153d,c=a();while(!![]){try{const d=parseInt(k(0x1c4))/0x1+-parseInt(k(0x1f1))/0x2*(parseInt(k(0x1f6))/0x3)+parseInt(k(0x1fb))/0x4*(parseInt(k(0x1cc))/0x5)+parseInt(k(0x1ec))/0x6*(-parseInt(k(0x1f8))/0x7)+-parseInt(k(0x1d3))/0x8*(-parseInt(k(0x1c7))/0x9)+parseInt(k(0x1ee))/0xa+-parseInt(k(0x1d4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a153c,0x3c44b));import*as a153e from'single-line-log2';import a153f from'cli-color';import a153g from'cli-cursor';import a153h from'elegant-spinner';function a153c(){const K=['bright','magenta','greenBright','singleLineSuccess','\x0aManual:','utf8','stdout','error','Usage:\x20','object','(((.+)+)+)+$','toString','warn','majestic','withSpinner','trim','colors','header','singleLine','bold','black','Error\x20reading\x20file:\x20','whiteBright','66IoSKgf','notice','2790490SnDfky','hide','join','21254VJenRr','search','cyan','yellowBright','green','51eraGtG','forEach','268373MhjSBM','LIGHT','red','12UxZdmA','\x20>\x20','log','map','apply','blackBright','magentaBright','success','This\x20command\x20is\x20experimental\x20and\x20may\x20not\x20be\x20fully\x20functional.','Examples:','colorMode','DARK','108806hOHUoJ','[--','usage','1713258IORuOy','constructor','values','length','For\x20more\x20information,\x20visit\x20https://www.maka-cli.com','398065zdMHMv','name','cyanBright','boolFlag','info','show','<value>','16kxFHqZ','1739881UZNATK'];a153c=function(){return K;};return a153c();}import a153i from'fs';import{camelCase}from'change-case';const check='✔',cross='✘';export var ColorMode;(function(c){const n=a153d,d=(function(){let f=!![];return function(g,h){const i=f?function(){const l=a153d;if(h){const j=h[l(0x1ff)](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){const m=a153d;return e[m(0x1e0)]()[m(0x1f2)](m(0x1df))[m(0x1e0)]()[m(0x1c8)](e)[m(0x1f2)]('(((.+)+)+)+$');});e(),c[c['DARK']=0x0]=n(0x1c3),c[c[n(0x1f9)]=0x1]='LIGHT';}(ColorMode||(ColorMode={})));function a153d(a,b){const c=a153c();return a153d=function(d,e){d=d-0x1be;let f=c[d];return f;},a153d(a,b);}const DarkColors={'success':a153f['greenBright'],'warn':a153f[a153o(0x1f4)],'notice':a153f[a153o(0x1ce)],'error':a153f['red'][a153o(0x1e8)],'header':a153f[a153o(0x200)],'bright':a153f[a153o(0x1eb)],'info':a153f[a153o(0x1ce)],'majestic':a153f[a153o(0x1be)]},LightColors={'success':a153f[a153o(0x1f5)],'warn':a153f['yellow'],'notice':a153f[a153o(0x1f3)],'error':a153f[a153o(0x1fa)],'header':a153f[a153o(0x1e9)],'bright':a153f['black'],'info':a153f['cyan'],'majestic':a153f[a153o(0x1d6)]},formatOptionalOpts=a=>{const p=a153o;return a[p(0x1fe)](b=>{const q=p;if(typeof b===q(0x1de)){if(b?.['hidden'])return'';if(b[q(0x1cf)])return q(0x1c5)+camelCase(b[q(0x1cd)])+']';return q(0x1c5)+camelCase(b[q(0x1cd)])+'='+(b?.['values']?b[q(0x1c9)][q(0x1f0)]('|'):'<value>')+']';}return b?q(0x1c5)+camelCase(b)+']':'';})['join']('\x20');},formatRequiredOpts=a=>{return a['map'](b=>{const r=a153d;if(typeof b===r(0x1de)){if(b?.['hidden'])return'';if(b['boolFlag'])return'--'+camelCase(b['name']);return'--'+camelCase(b['name'])+'='+(b?.[r(0x1c9)]?b[r(0x1c9)]['join']('|'):r(0x1d2));}return'--'+camelCase(b);})['join']('\x20');};export class Log{static [a153o(0x1c2)]=ColorMode[a153o(0x1c3)];static get['colors'](){return Log['colorMode']===ColorMode['DARK']?DarkColors:LightColors;}static['setColorMode'](a){const s=a153o;Log[s(0x1c2)]=a;}static[a153o(0x1bf)](a){const t=a153o;a&&console[t(0x1fd)](Log['colors'][t(0x1bf)](a));}static['warn'](a){const u=a153o;a&&console[u(0x1fd)](Log[u(0x1e5)][u(0x1e1)](a));}static[a153o(0x1ed)](a){const v=a153o;a&&console[v(0x1fd)](Log['colors'][v(0x1ed)](a));}static[a153o(0x1dc)](a){const w=a153o;a&&console['log'](Log[w(0x1e5)][w(0x1dc)](a));}static[a153o(0x1e6)](a){const x=a153o;a&&console['log'](Log['colors'][x(0x1e6)](a));}static[a153o(0x1d5)](a){const y=a153o;a&&console[y(0x1fd)](Log[y(0x1e5)][y(0x1d5)](a));}static[a153o(0x1d0)](a){const z=a153o;a&&console[z(0x1fd)](Log['colors'][z(0x1d0)](a));}static['majestic'](a){const A=a153o;a&&console[A(0x1fd)](Log[A(0x1e5)][A(0x1e2)](a));}static[a153o(0x1c6)](a,b,c,d,e,f,g){const B=a153o,h=a153f[B(0x200)];g&&Log[B(0x1e1)](B(0x1c0)),Log[B(0x1d5)](d),b&&b[B(0x1ca)]>0x0&&(Log[B(0x1d5)](h(B(0x1c1))),b[B(0x1f7)](i=>{const C=B;Log[C(0x1d5)](C(0x1fc)+i);})),a&&(Log['header'](B(0x1d9)),Log[B(0x1ed)]('\x20\x20'+a[B(0x1e4)]()+'\x0a')),c&&Log[B(0x1d5)](h(B(0x1dd))+c+'\x20'+formatRequiredOpts(e)+'\x20'+formatOptionalOpts(f)+'\x0a'),Log[B(0x1e6)](B(0x1cb)),Log['header']('All\x20commands\x20accept\x20the\x20--help\x20or\x20-h\x20flag\x20for\x20more\x20information');}static[a153o(0x1e3)](a=''){const D=a153o;a153g[D(0x1ef)]();const b=a153h();a153g[D(0x1ef)]();let c;return{'start'(d){d&&(a=d),c=setInterval(function(){const E=a153d;a153e[E(0x1db)](a153f['cyan'](b())+'\x20'+d);},0x5a);},'success'(d=''){const F=D;clearInterval(c),a153e['stdout'](a153f[F(0x1d7)](check)+'\x20'+a+'\x20'+d),console[F(0x1fd)](),a153g[F(0x1d1)]();},'failure'(d=''){const G=D;clearInterval(c),a153e['stdout'](a153f[G(0x1fa)]['bold'](cross)+'\x20'+a+'\x20'+d),console['log'](),a153g[G(0x1d1)]();},'stop'(){const H=D;clearInterval(c),a153g[H(0x1d1)]();}};}static[a153o(0x1e7)](a){a153e['stdout'](a);}static[a153o(0x1d8)](a){const I=a153o;a153e[I(0x1db)](a153f[I(0x1d7)](check)+'\x20'+a);}static['file'](a){const J=a153o;try{const b=a153i['readFileSync'](a,J(0x1da));console[J(0x1fd)](a153f[J(0x1eb)](b));}catch(c){console['error'](a153f['red'](J(0x1ea)+c['message']));}}}
@@ -1 +1 @@
1
- (function(a,b){var f=a154d,c=a();while(!![]){try{var d=parseInt(f(0x177))/0x1+parseInt(f(0x179))/0x2+parseInt(f(0x183))/0x3*(-parseInt(f(0x176))/0x4)+-parseInt(f(0x17a))/0x5*(parseInt(f(0x181))/0x6)+-parseInt(f(0x17d))/0x7*(parseInt(f(0x17e))/0x8)+parseInt(f(0x180))/0x9*(parseInt(f(0x17b))/0xa)+parseInt(f(0x175))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a154c,0x2af1c));var a154b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a154d;if(c){var e=c[g(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a154a=a154b(this,function(){var h=a154d;return a154a['toString']()[h(0x182)]('(((.+)+)+)+$')[h(0x17c)]()[h(0x174)](a154a)[h(0x182)](h(0x178));});a154a();function a154c(){var i=['820kqvVGl','10gNwIKY','toString','28581XMHceb','336FxvSSj','apply','1082637gmLoOs','4548FUabnJ','search','27wyLHVr','constructor','154055bNXacw','21724sLdzwZ','274271wrWciQ','(((.+)+)+)+$','224016DpYlIe'];a154c=function(){return i;};return a154c();}function a154d(a,b){var c=a154c();return a154d=function(d,e){d=d-0x174;var f=c[d];return f;},a154d(a,b);}export{};
1
+ function a154c(){var h=['toString','2985850JJMQna','9406692XQoZQh','2194824aNDJxk','126UFGfwk','constructor','search','409032cXOQBC','6iDVFjW','2712VrZQmT','1101484aEnJRs','2417325LIieid'];a154c=function(){return h;};return a154c();}function a154d(a,b){var c=a154c();return a154d=function(d,e){d=d-0x18d;var f=c[d];return f;},a154d(a,b);}(function(a,b){var f=a154d,c=a();while(!![]){try{var d=-parseInt(f(0x190))/0x1+parseInt(f(0x193))/0x2+-parseInt(f(0x18d))/0x3*(-parseInt(f(0x192))/0x4)+parseInt(f(0x194))/0x5*(parseInt(f(0x191))/0x6)+parseInt(f(0x196))/0x7+parseInt(f(0x198))/0x8+-parseInt(f(0x197))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a154c,0x4b876));var a154b=(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;};}()),a154a=a154b(this,function(){var g=a154d;return a154a[g(0x195)]()['search']('(((.+)+)+)+$')[g(0x195)]()[g(0x18e)](a154a)[g(0x18f)]('(((.+)+)+)+$');});a154a();export{};
@@ -1 +1 @@
1
- const a155u=a155d;(function(a,b){const q=a155d,c=a();while(!![]){try{const d=-parseInt(q(0xd9))/0x1+-parseInt(q(0xbd))/0x2+parseInt(q(0x8e))/0x3+parseInt(q(0xf3))/0x4*(-parseInt(q(0xc2))/0x5)+parseInt(q(0xa3))/0x6*(parseInt(q(0xb9))/0x7)+-parseInt(q(0x8d))/0x8*(-parseInt(q(0xe2))/0x9)+parseInt(q(0xd3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a155c,0xe9254));const a155b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a155d;if(c){const e=c[r(0xa2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a155a=a155b(this,function(){const s=a155d;return a155a['toString']()['search'](s(0xd0))[s(0xbe)]()[s(0x9d)](a155a)['search']('(((.+)+)+)+$');});a155a();import a155e from'path';import a155f from'fs';import a155g from'os';import{execSync}from'child_process';function a155c(){const G=['npm','argv','utf8','App.info({\x0a','16tjkwKY','2196078QYnNoS','claim','RELEASE','run','platform','write','add','authorized','\x20--release\x20','A\x20mobile-config.js\x20already\x20exists,\x20not\x20over\x20writing','mongo','list-platforms','existsSync','Patching\x20ios-sim\x20and\x20cordova','success','constructor','replace','maybeProxyCommandToMeteor','cordova-build','slice','apply','414DJVVfd','finish','--port','indexOf','findProjectDirectory','string','App\x20name?\x20[','env','test-packages','//\x20https://docs.meteor.com/api/mobile-config.html\x0a','confirm','--inspect','invokeMeteorCommand','ios','pkg','getInstance','setMeteorReleaseVersion','node','readFileSync','search','cordova@latest','list-sites','33999DxFHZr','Mobile\x20app\x20configuration\x20written\x20to\x20','mkdirSync','fsi','3348592JSrWJA','toString','configure-android','Don\x27t\x20forget\x20these\x20commands:\x20\x0a\x20sudo\x20xcode-select\x20-s\x20/Applications/Xcode.app/Contents/Developer\x20\x0a\x20sudo\x20gem\x20install\x20cocoapods\x20\x0a\x20sudo\x20xcodebuild\x20-license\x20accept\x20\x0a\x20brew\x20install\x20ios-deploy','publish-for-arch','95hByYEw','add-platform','inherit','--ssl','PORT','getMeteorReleaseVersion()','trim','BIND_IP','//\x20For\x20more\x20information\x20on\x20mobile\x20config,\x20visit:\x0a','meteor','ask','install-sdk','\x09version:\x20\x270.0.1\x27,\x0a','--exclude-archs','(((.+)+)+)+$','split','findAppDirectory','24108160KPhYXD','length','meteor.bat','.meteor','--mobile-server','cordova-plugin-meteor-webapp','671130LSAfwx','includes','concat','exit','\x09name:\x20\x27','\x09id:\x20\x27com.meteor.maka.','getMeteorExePath','appName','logout','6574644gaHXOr','local','app','join','end','reset','error','setMeteorReleaseVersion()','logs','invokeMeteorCommand()','Run\x20\x22maka\x20--help\x22\x20for\x20a\x20list\x20of\x20commands','login','A\x20mobile-config.js\x20file\x20already\x20exists,\x20overwrite?\x20[yN]','instance','publish','Error\x20in\x20','Meteor','344972GsoSMR','});\x0a','cfg','AppData','splice','remove-platform','publish-release','dirname','open','Meteor\x20release\x20version\x20set\x20to\x20','3000','shell','--raw-logs','isFile','installNpmPackage','isMeteorInstalled','getAvailablePort','True','plugins'];a155c=function(){return G;};return a155c();}import{pascalCase}from'change-case';import{Log}from'../log/log.class.js';import{Actions}from'../actions/actions.class.js';import{MustBeInProjectError}from'../../error.js';function a155d(a,b){const c=a155c();return a155d=function(d,e){d=d-0x87;let f=c[d];return f;},a155d(a,b);}const homeDir=a155g['homedir'](),errorHandler=(a,b)=>{const t=a155d;process[t(0xaa)]['MAKA_DEV']===t(0x87)&&Log[t(0xe8)](t(0xf1)+a),b&&console['error'](b);};export class MPI{static ['instance'];[a155u(0xbc)];['cfg'];[a155u(0xb1)];[a155u(0xcb)];constructor(a,b,c){const v=a155u;this[v(0xbc)]=a,this[v(0xf5)]=b,this[v(0xb1)]=c;const d=this[v(0xdf)](),e=this['getMeteorReleaseVersion']();this[v(0xcb)]=e?d+v(0x96)+e:d;}static[a155u(0xb2)](a,b,c){const w=a155u;return!MPI[w(0xef)]&&(MPI[w(0xef)]=new MPI(a,b,c)),MPI['instance'];}[a155u(0xdf)](){const x=a155u,a=process[x(0x92)]==='win32';return a?a155e[x(0xe5)](homeDir,x(0xf6),'Local',x(0xd6),x(0xd5)):a155e[x(0xe5)](homeDir,x(0xd6),x(0xcb));}[a155u(0x102)](){const y=a155u;try{const a=this[y(0xdf)]();return this['fsi']['isFile'](a);}catch(b){return![];}}[a155u(0xb3)](a){const z=a155u;try{const b=a155e['join'](homeDir,z(0xd6),z(0x90)),c=a155e[z(0xfa)](b);!a155f[z(0x9a)](c)&&a155f[z(0xbb)](c,{'recursive':!![]}),a155f['writeFileSync'](b,a,z(0x8b)),Log[z(0x9c)](z(0xfc)+a+'\x20in\x20'+b);}catch(d){errorHandler(z(0xe9),d),process[z(0xdc)](0x1);}}['getMeteorReleaseVersion'](){const A=a155u;try{const a=a155e[A(0xe5)](homeDir,A(0xd6),'RELEASE');if(a155f[A(0x9a)](a)){const b=a155f[A(0xb5)](a,'utf8')[A(0xc8)]();return b;}else return null;}catch(c){return errorHandler(A(0xc7),c),null;}}['getGlobalMeteorVersion'](){const B=a155u;let a=execSync(this['meteor']+'\x20--version')[B(0xbe)]()[B(0x9e)](B(0xf2),'')[B(0xc8)]();const b=a[B(0xd1)]('.')[B(0xd4)];return b<0x3&&(a=a+'.0'),a;}async[a155u(0x9f)](){const C=a155u;try{const a=[C(0xfb),C(0x89),C(0x91),'update',C(0x94),'remove','list',C(0xc3),C(0xcd),C(0xf8),C(0x99),C(0xbf),'build',C(0xfe),C(0x98),C(0xe7),C(0xea),C(0x95),C(0x8f),C(0xed),C(0xe1),'whoami',C(0xab),'admin',C(0xb8),C(0xf9),C(0xf0),C(0xc1),C(0xb6),'show',C(0xb4)],b=process[C(0x8a)][C(0xa1)](0x2),c=b[0x0],d=b[C(0xa1)](0x1);if(!a['includes'](c)){Log[C(0xe8)]('Command\x20not\x20found');throw Log[C(0xe8)](C(0xec));}if(c==='add-platform'){const f=this[C(0xbc)][C(0xd2)](),g=this['cfg']['getMakaProjectConfig']();if(!g)throw MustBeInProjectError;const h=a155e[C(0xe5)](f,'mobile-config.js');let i=![];a155f[C(0x9a)](h)&&(i=await Actions[C(0xad)](C(0xee),![]));if(typeof f===C(0xa8)){const j=this[C(0xbc)][C(0x100)](h);if(!j||i){const k=await Actions[C(0xcc)](C(0xa9)+g[C(0xe0)]+']')||g[C(0xe0)],l=a155f['createWriteStream'](h,{'flags':'w'});l['on'](C(0xfb),function(){const D=C;l[D(0x93)](D(0xca)),l['write'](D(0xac)),l[D(0x93)](D(0x8c)),l[D(0x93)](D(0xde)+pascalCase(g['appName'])+'\x27,\x0a'),l[D(0x93)](D(0xdd)+k+'\x27,\x0a'),l[D(0x93)](D(0xce)),l[D(0x93)](D(0xf4)),l[D(0xe6)]();}),l['on'](C(0xa4),function(){const E=C;Log['success'](E(0xba)+h);});}else Log['warn'](C(0x97));}if(d[0x0]===C(0xb0)){const m=this[C(0xbc)][C(0xa7)]();if(typeof m===C(0xa8)){await this[C(0xaf)](c,d);const n=a155e[C(0xe5)](m,C(0xe4),C(0xd6),C(0xe3),C(0xa0),C(0x88),C(0xd8));if(n){const o=['ios-sim@latest',C(0xb7)];await this[C(0xb1)][C(0x101)](o['join']('\x20'),{'cwd':f,'dev':!![],'msg':C(0x9b)}),Log['notice'](C(0xc0));}}process[C(0xdc)](0x0);}}await this[C(0xaf)](c,d),process[C(0xdc)](0x0);}catch(p){errorHandler('maybeProxyCommandToMeteor()',p),process[C(0xdc)](0x1);}}async[a155u(0xaf)](a,b){const F=a155u;try{const c=this['fsi'][F(0xa7)]();if(!c)throw new MustBeInProjectError();if(a===F(0x91)){const f=b[F(0xa6)]('-p');f>0x0&&(b[f]=F(0xa5));const g=b[F(0xa6)]('--port');if(f>0x0){let m=parseInt(b[f+0x1],0xa);m=await this['fsi']['getAvailablePort'](m),b[f+0x1]=m[F(0xbe)]();}else{if(g>0x0){let n=parseInt(b[g+0x1],0xa);n=await this[F(0xbc)][F(0x103)](n),b[g+0x1]=n[F(0xbe)]();}else{let o=parseInt(F(0xfd),0xa);o=await this['fsi'][F(0x103)](o),b=b[F(0xdb)](['--port',o['toString']()]);}}const h=b[F(0xa6)]('-r');h>0x0&&(b[h]=F(0xff));const i=b['indexOf']('-i');i>0x0&&(b[i]=F(0xae));const j=b[F(0xa6)]('-x');j>0x0&&(b[j]=F(0xcf));const k=b[F(0xa6)]('-m');k>0x0&&(b[k]=F(0xd7));const l=b['indexOf'](F(0xc5));l>0x0&&b[F(0xf7)](l,0x1),process[F(0xaa)]['PORT']&&!b[F(0xda)]('--port')&&(b=b[F(0xdb)]([F(0xa5),process[F(0xaa)][F(0xc6)]])),process['env'][F(0xc9)]&&!b[F(0xda)]('--port')&&(b=b[F(0xdb)]([F(0xa5),process[F(0xaa)]['BIND_IP']]));}const d=[a][F(0xdb)](b);a===F(0xf0)?execSync(this[F(0xcb)]+'\x20'+d[F(0xe5)]('\x20'),{'stdio':F(0xc4)}):execSync(this[F(0xcb)]+'\x20'+d[F(0xe5)]('\x20'),{'stdio':F(0xc4),'cwd':this['fsi'][F(0xd2)]()});}catch(p){errorHandler(F(0xeb),p),process['exit'](0x1);}}}
1
+ const a155t=a155d;(function(a,b){const q=a155d,c=a();while(!![]){try{const d=parseInt(q(0xe1))/0x1*(parseInt(q(0xe4))/0x2)+parseInt(q(0x12c))/0x3+-parseInt(q(0x100))/0x4*(parseInt(q(0x10a))/0x5)+-parseInt(q(0x10b))/0x6*(-parseInt(q(0x11e))/0x7)+parseInt(q(0xf8))/0x8*(parseInt(q(0x133))/0x9)+-parseInt(q(0x10f))/0xa*(-parseInt(q(0xeb))/0xb)+-parseInt(q(0xe6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a155c,0x6dd52));const a155b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a155d;if(c){const e=c[r(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a155a=a155b(this,function(){const s=a155d;return a155a[s(0xec)]()[s(0xf2)](s(0xd8))[s(0xec)]()[s(0x127)](a155a)[s(0xf2)]('(((.+)+)+)+$');});a155a();import a155e from'path';import a155f from'fs';import a155g from'os';function a155c(){const G=['mobile-config.js','1jFmHgs','argv','length','1500932CXZowK','fsi','19274712OmttEk','list','3000','open','logs','3263590xwTAFL','toString','add-platform','writeFileSync','admin','platform','meteor.bat','search','Meteor','homedir','plugins','isFile','remove','12488RhTdju','setMeteorReleaseVersion()','installNpmPackage','add','shell','run','\x27,\x0a','success','128TweGVR','Meteor\x20release\x20version\x20set\x20to\x20','list-sites','getInstance','\x09id:\x20\x27com.meteor.maka.','error','exit','npm','apply','findAppDirectory','124175URcGcI','18yTednj','//\x20https://docs.meteor.com/api/mobile-config.html\x0a','local','Error\x20in\x20','10BDLZLc','update','includes','MAKA_DEV','concat','logout','write','--inspect','configure-android','existsSync','--ssl','authorized','--port','pkg','True','1650061eLlebP','ios-sim@latest','win32','ask','AppData','invokeMeteorCommand','whoami','env','app','constructor','node','mkdirSync','\x09name:\x20\x27','getMeteorReleaseVersion','1327308gyMAjI','warn','maybeProxyCommandToMeteor','findProjectDirectory','instance','PORT','A\x20mobile-config.js\x20file\x20already\x20exists,\x20overwrite?\x20[yN]','3771QWjUIm','Local','Mobile\x20app\x20configuration\x20written\x20to\x20','inherit','utf8','meteor','.meteor','join','getMeteorExePath','Run\x20\x22maka\x20--help\x22\x20for\x20a\x20list\x20of\x20commands','\x09version:\x20\x270.0.1\x27,\x0a','cfg','--mobile-server','dirname','build','appName','end','publish','install-sdk','createWriteStream','splice','getAvailablePort','isMeteorInstalled','mongo','A\x20mobile-config.js\x20already\x20exists,\x20not\x20over\x20writing','list-platforms','trim','});\x0a','App.info({\x0a','Command\x20not\x20found','publish-for-arch','login','BIND_IP','reset','confirm','cordova@latest','claim','getMeteorReleaseVersion()','string','finish','slice','ios','maybeProxyCommandToMeteor()','(((.+)+)+)+$','publish-release','getMakaProjectConfig','--raw-logs','Patching\x20ios-sim\x20and\x20cordova','indexOf','getGlobalMeteorVersion','invokeMeteorCommand()'];a155c=function(){return G;};return a155c();}import{execSync}from'child_process';function a155d(a,b){const c=a155c();return a155d=function(d,e){d=d-0xc2;let f=c[d];return f;},a155d(a,b);}import{pascalCase}from'change-case';import{Log}from'../log/log.class.js';import{Actions}from'../actions/actions.class.js';import{MustBeInProjectError}from'../../error.js';const homeDir=a155g[a155t(0xf4)](),errorHandler=(a,b)=>{const u=a155t;process[u(0x125)][u(0x112)]===u(0x11d)&&Log[u(0x105)](u(0x10e)+a),b&&console['error'](b);};export class MPI{static ['instance'];['fsi'];[a155t(0x13e)];[a155t(0x11c)];[a155t(0x138)];constructor(a,b,c){const v=a155t;this[v(0xe5)]=a,this['cfg']=b,this[v(0x11c)]=c;const d=this['getMeteorExePath'](),e=this[v(0x12b)]();this[v(0x138)]=e?''+d:d;}static[a155t(0x103)](a,b,c){const w=a155t;return!MPI[w(0x130)]&&(MPI[w(0x130)]=new MPI(a,b,c)),MPI[w(0x130)];}[a155t(0x13b)](){const x=a155t,a=process[x(0xf0)]===x(0x120);return a?a155e['join'](homeDir,x(0x122),x(0x134),'.meteor',x(0xf1)):a155e['join'](homeDir,x(0x139),x(0x138));}[a155t(0xc3)](){const y=a155t;try{const a=this['getMeteorExePath']();return this[y(0xe5)][y(0xf6)](a);}catch(b){return![];}}['setMeteorReleaseVersion'](a){const z=a155t;try{const b=a155e[z(0x13a)](homeDir,z(0x139),'RELEASE'),c=a155e[z(0x140)](b);!a155f[z(0x118)](c)&&a155f[z(0x129)](c,{'recursive':!![]}),a155f[z(0xee)](b,a,z(0x137)),Log[z(0xff)](z(0x101)+a+'\x20in\x20'+b);}catch(d){errorHandler(z(0xf9),d),process['exit'](0x1);}}[a155t(0x12b)](){const A=a155t;try{const a=a155e[A(0x13a)](homeDir,'.meteor','RELEASE');if(a155f[A(0x118)](a)){const b=a155f['readFileSync'](a,'utf8')[A(0xc7)]();return b;}else return null;}catch(c){return errorHandler(A(0xd2),c),null;}}[a155t(0xde)](){const B=a155t;let a=execSync(this[B(0x138)]+'\x20--version')[B(0xec)]()['replace'](B(0xf3),'')[B(0xc7)]();const b=a['split']('.')[B(0xe3)];return b<0x3&&(a=a+'.0'),a;}async[a155t(0x12e)](){const C=a155t;try{const a=[C(0xe9),C(0x107),C(0xfd),C(0x110),C(0xfb),C(0xf7),C(0xe7),C(0xed),C(0x145),'remove-platform',C(0xc6),C(0x117),C(0x141),C(0xfc),C(0xc4),C(0xce),C(0xea),C(0x11a),C(0xd1),C(0xcc),C(0x114),C(0x124),'test-packages',C(0xef),C(0x102),C(0xd9),C(0x144),C(0xcb),C(0xf2),'show',C(0x128)],b=process[C(0xe2)]['slice'](0x2),c=b[0x0],d=b[C(0xd5)](0x1);if(!a[C(0x111)](c)){Log[C(0x105)](C(0xca));throw Log['error'](C(0x13c));}if(c===C(0xed)){const f=this[C(0xe5)][C(0x109)](),g=this['cfg'][C(0xda)]();if(!g)throw MustBeInProjectError;const h=a155e['join'](f,C(0xe0));let i=![];a155f[C(0x118)](h)&&(i=await Actions[C(0xcf)](C(0x132),![]));if(typeof f===C(0xd3)){const j=this[C(0xe5)][C(0xf6)](h);if(!j||i){const k=await Actions[C(0x121)]('App\x20name?\x20['+g[C(0x142)]+']')||g['appName'],l=a155f[C(0x146)](h,{'flags':'w'});l['on'](C(0xe9),function(){const D=C;l['write']('//\x20For\x20more\x20information\x20on\x20mobile\x20config,\x20visit:\x0a'),l['write'](D(0x10c)),l[D(0x115)](D(0xc9)),l[D(0x115)](D(0x104)+pascalCase(g['appName'])+D(0xfe)),l[D(0x115)](D(0x12a)+k+'\x27,\x0a'),l['write'](D(0x13d)),l[D(0x115)](D(0xc8)),l[D(0x143)]();}),l['on'](C(0xd4),function(){const E=C;Log['success'](E(0x135)+h);});}else Log[C(0x12d)](C(0xc5));}if(d[0x0]===C(0xd6)){const m=this[C(0xe5)]['findProjectDirectory']();if(typeof m===C(0xd3)){await this[C(0x123)](c,d);const n=a155e[C(0x13a)](m,C(0x126),'.meteor',C(0x10d),'cordova-build',C(0xf5),'cordova-plugin-meteor-webapp');if(n){const o=[C(0x11f),C(0xd0)];await this['pkg'][C(0xfa)](o[C(0x13a)]('\x20'),{'cwd':f,'dev':!![],'msg':C(0xdc)}),Log['notice']('Don\x27t\x20forget\x20these\x20commands:\x20\x0a\x20sudo\x20xcode-select\x20-s\x20/Applications/Xcode.app/Contents/Developer\x20\x0a\x20sudo\x20gem\x20install\x20cocoapods\x20\x0a\x20sudo\x20xcodebuild\x20-license\x20accept\x20\x0a\x20brew\x20install\x20ios-deploy');}}process[C(0x106)](0x0);}}await this[C(0x123)](c,d),process[C(0x106)](0x0);}catch(p){errorHandler(C(0xd7),p),process[C(0x106)](0x1);}}async['invokeMeteorCommand'](a,b){const F=a155t;try{const c=this['fsi'][F(0x12f)]();if(!c)throw new MustBeInProjectError();if(a==='run'){const f=b[F(0xdd)]('-p');f>0x0&&(b[f]=F(0x11b));const g=b[F(0xdd)](F(0x11b));if(f>0x0){let m=parseInt(b[f+0x1],0xa);m=await this[F(0xe5)][F(0xc2)](m),b[f+0x1]=m[F(0xec)]();}else{if(g>0x0){let n=parseInt(b[g+0x1],0xa);n=await this['fsi'][F(0xc2)](n),b[g+0x1]=n['toString']();}else{let o=parseInt(F(0xe8),0xa);o=await this[F(0xe5)][F(0xc2)](o),b=b[F(0x113)]([F(0x11b),o[F(0xec)]()]);}}const h=b[F(0xdd)]('-r');h>0x0&&(b[h]=F(0xdb));const i=b[F(0xdd)]('-i');i>0x0&&(b[i]=F(0x116));const j=b[F(0xdd)]('-x');j>0x0&&(b[j]='--exclude-archs');const k=b[F(0xdd)]('-m');k>0x0&&(b[k]=F(0x13f));const l=b[F(0xdd)](F(0x119));l>0x0&&b[F(0x147)](l,0x1),process[F(0x125)][F(0x131)]&&!b[F(0x111)]('--port')&&(b=b[F(0x113)]([F(0x11b),process[F(0x125)]['PORT']])),process['env'][F(0xcd)]&&!b[F(0x111)](F(0x11b))&&(b=b[F(0x113)]([F(0x11b),process[F(0x125)][F(0xcd)]]));}const d=[a][F(0x113)](b);a===F(0x144)?execSync(this['meteor']+'\x20'+d[F(0x13a)]('\x20'),{'stdio':F(0x136)}):execSync(this[F(0x138)]+'\x20'+d[F(0x13a)]('\x20'),{'stdio':'inherit','cwd':this[F(0xe5)]['findAppDirectory']()});}catch(p){errorHandler(F(0xdf),p),process['exit'](0x1);}}}
@@ -1 +1 @@
1
- function a156d(a,b){const c=a156c();return a156d=function(d,e){d=d-0xd6;let f=c[d];return f;},a156d(a,b);}const a156i=a156d;(function(a,b){const g=a156d,c=a();while(!![]){try{const d=-parseInt(g(0xec))/0x1+parseInt(g(0xe5))/0x2+-parseInt(g(0xe1))/0x3+-parseInt(g(0xe0))/0x4+parseInt(g(0xf1))/0x5*(parseInt(g(0xd7))/0x6)+parseInt(g(0xdc))/0x7*(parseInt(g(0xf0))/0x8)+-parseInt(g(0xdd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a156c,0x5bb41));const a156b=(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;};}()),a156a=a156b(this,function(){const h=a156d;return a156a['toString']()[h(0xed)](h(0xdb))[h(0xdf)]()[h(0xe4)](a156a)[h(0xed)]('(((.+)+)+)+$');});function a156c(){const n=['toString','2134144GjOIgp','603861kUvCqf','handleRequiredOptions','opts','constructor','1053670HgNqvo','inputOpts','Please\x20choose\x20a\x20value\x20for\x20','Please\x20choose\x20a\x20valid\x20value\x20for\x20','ask','validOpts','requiredOpts','426394SnYkbC','search','Please\x20provide\x20a\x20valid\x20value\x20for\x20','handleOptions','4004344gHVsQG','30pZpbbV','map','693240zzMrDL','includes','handleValidOptions','length','(((.+)+)+)+$','7ffNyzj','1654056wRQhvq','Please\x20provide\x20a\x20value\x20for\x20'];a156c=function(){return n;};return a156c();}a156a();import{Actions}from'../actions/actions.class.js';export class OptionHandler{['inputOpts'];[a156i(0xe3)];[a156i(0xeb)];['validOpts'];constructor(){const j=a156i;this[j(0xe6)]=[],this['opts']={},this['requiredOpts']=[],this[j(0xea)]=[];}async[a156i(0xef)](a,b,c){const k=a156i;this[k(0xe6)]=a,this[k(0xeb)]=b,this[k(0xea)]=c,await this['handleRequiredOptions'](),await this[k(0xd9)]();}async[a156i(0xe2)](){const l=a156i;if(this[l(0xeb)]?.['length']>0x0)for(const a of this[l(0xeb)]){let b=!![];const {name:c,values:d}=typeof a==='string'?{'name':a,'values':undefined}:a;if(!this['inputOpts'][l(0xd8)](c)){const e=d?await Actions['select']({'name':c,'message':l(0xe7)+c,'choices':d[l(0xd6)](f=>({'name':f,'value':f}))}):await Actions[l(0xe9)](l(0xde)+c);this[l(0xe3)][c]=e,b=d?d[l(0xd8)](this[l(0xe3)][c]):!![];}else b=d?d[l(0xd8)](this[l(0xe3)][c]):!![];if(!b)throw new Error('Invalid\x20value\x20for\x20'+c+':\x20'+this[l(0xe3)][c]);}}async[a156i(0xd9)](){const m=a156i;if(this['validOpts']?.[m(0xda)]>0x0)for(const a of this[m(0xea)]){const {name:b,values:c}=typeof a==='string'?{'name':a,'values':undefined}:a,d=this[m(0xe3)][b];if(d!==undefined&&(!c||!c[m(0xd8)](d))){const e=c?await Actions['select']({'name':b,'message':m(0xe8)+b,'choices':c[m(0xd6)](f=>({'name':f,'value':f}))}):await Actions['ask'](m(0xee)+b);this['opts'][b]=e;}}}}
1
+ const a156j=a156d;(function(a,b){const g=a156d,c=a();while(!![]){try{const d=-parseInt(g(0x111))/0x1*(parseInt(g(0x115))/0x2)+parseInt(g(0x10f))/0x3+parseInt(g(0x10c))/0x4+parseInt(g(0xfe))/0x5+-parseInt(g(0x10a))/0x6*(parseInt(g(0x101))/0x7)+-parseInt(g(0x104))/0x8*(parseInt(g(0x11a))/0x9)+parseInt(g(0x119))/0xa*(-parseInt(g(0x10d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a156c,0xc5cc9));function a156d(a,b){const c=a156c();return a156d=function(d,e){d=d-0xfd;let f=c[d];return f;},a156d(a,b);}const a156b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a156d;if(c){const e=c[h(0x11b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a156a=a156b(this,function(){const i=a156d;return a156a['toString']()[i(0x103)](i(0x10e))['toString']()[i(0x112)](a156a)[i(0x103)](i(0x10e));});a156a();import{Actions}from'../actions/actions.class.js';function a156c(){const o=['select','Please\x20provide\x20a\x20value\x20for\x20','length','includes','1058358iEjHEa','Please\x20provide\x20a\x20valid\x20value\x20for\x20','3015160pSCjKP','5569223GEdots','(((.+)+)+)+$','2661777KmVAhR','Please\x20choose\x20a\x20value\x20for\x20','142627HIJzoQ','constructor','ask','Please\x20choose\x20a\x20valid\x20value\x20for\x20','2tswLne','handleRequiredOptions','opts','requiredOpts','10FslRQz','163089aYoDxD','apply','validOpts','8072790rGVZuk','map','Invalid\x20value\x20for\x20','49WjodxH','inputOpts','search','248AercQI','handleValidOptions'];a156c=function(){return o;};return a156c();}export class OptionHandler{[a156j(0x102)];[a156j(0x117)];[a156j(0x118)];['validOpts'];constructor(){const k=a156j;this[k(0x102)]=[],this[k(0x117)]={},this['requiredOpts']=[],this[k(0xfd)]=[];}async['handleOptions'](a,b,c){const l=a156j;this[l(0x102)]=a,this[l(0x118)]=b,this['validOpts']=c,await this[l(0x116)](),await this[l(0x105)]();}async[a156j(0x116)](){const m=a156j;if(this[m(0x118)]?.['length']>0x0)for(const a of this[m(0x118)]){let b=!![];const {name:c,values:d}=typeof a==='string'?{'name':a,'values':undefined}:a;if(!this[m(0x102)][m(0x109)](c)){const e=d?await Actions[m(0x106)]({'name':c,'message':m(0x110)+c,'choices':d['map'](f=>({'name':f,'value':f}))}):await Actions[m(0x113)](m(0x107)+c);this[m(0x117)][c]=e,b=d?d[m(0x109)](this[m(0x117)][c]):!![];}else b=d?d['includes'](this['opts'][c]):!![];if(!b)throw new Error(m(0x100)+c+':\x20'+this[m(0x117)][c]);}}async[a156j(0x105)](){const n=a156j;if(this[n(0xfd)]?.[n(0x108)]>0x0)for(const a of this[n(0xfd)]){const {name:b,values:c}=typeof a==='string'?{'name':a,'values':undefined}:a,d=this[n(0x117)][b];if(d!==undefined&&(!c||!c[n(0x109)](d))){const e=c?await Actions['select']({'name':b,'message':n(0x114)+b,'choices':c[n(0xff)](f=>({'name':f,'value':f}))}):await Actions['ask'](n(0x10b)+b);this[n(0x117)][b]=e;}}}}
@@ -1 +1 @@
1
- const a157q=a157d;(function(a,b){const m=a157d,c=a();while(!![]){try{const d=parseInt(m(0x144))/0x1*(-parseInt(m(0x141))/0x2)+parseInt(m(0x13c))/0x3*(parseInt(m(0x11c))/0x4)+-parseInt(m(0x11d))/0x5+parseInt(m(0x117))/0x6*(-parseInt(m(0x157))/0x7)+-parseInt(m(0x163))/0x8+-parseInt(m(0x14d))/0x9+-parseInt(m(0x110))/0xa*(-parseInt(m(0x15e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a157c,0x19365));const a157b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a157d;if(c){const e=c[n(0x151)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a157a=a157b(this,function(){const o=a157d;return a157a['toString']()[o(0x12c)](o(0x113))[o(0x15f)]()[o(0x132)](a157a)['search'](o(0x113));});a157a();import a157e from'path';import a157f from'fs';import{exec}from'child_process';import{Log}from'../log/log.class.js';import{SpawnAsync}from'../spawn-async/spawn-async.class.js';const errorHandler=(a,b)=>{const p=a157d;process[p(0x142)]['MAKA_DEV']===p(0x153)&&Log[p(0x114)](p(0x128)+a),b&&console[p(0x114)](b);};export class PKG{static ['instance'];[a157q(0x138)];[a157q(0x125)];constructor(a){const r=a157q;this[r(0x138)]=a,this[r(0x125)]=a[r(0x145)]();}static[a157q(0x13a)](a){const s=a157q;return!PKG[s(0x139)]&&(PKG['instance']=new PKG(a)),PKG[s(0x139)];}['installMeteorPackage'](a,b){return new Promise((c,d)=>{const t=a157d;b=b||{},b[t(0x11f)]=b[t(0x11f)]||this[t(0x138)][t(0x111)]();if(!b['isSelfTest']){const f=Log[t(0x15d)](),g=this[t(0x138)][t(0x111)](b[t(0x11f)]);if(!g)Log[t(0x114)](t(0x148)+JSON['stringify'](a)+t(0x136)),d();else try{if(a['split']('\x20')[t(0x14e)]>0x1){const h=a[t(0x156)]('\x20');for(const i of h){const j=this['fsi'][t(0x111)](b[t(0x11f)]),k=a157f[t(0x127)](a157e['join'](j,t(0x12a),t(0x124)),t(0x152));k[t(0x135)](i[t(0x156)]('@')[0x0])===-0x1&&a157f[t(0x158)](a157e['join'](j,t(0x12a),'packages'),i+'\x0a');}}f[t(0x11e)]('Installing\x20meteor\x20packages'),exec(this['meteor']+t(0x13e)+a+t(0x126),{'cwd':g},l=>{const u=t;l&&(Log[u(0x114)]('\x0a'+l['message']),d(),process[u(0x122)](0x1)),f['success'](),c();});}catch(l){Log['error'](l),f['failure'](),d();}}});}[a157q(0x120)](a,b){return new Promise((c,d)=>{const v=a157d;b=b||{},b['cwd']=b[v(0x11f)]||'.';if(!b[v(0x140)]){const f=this[v(0x138)]['findAppDirectory'](b[v(0x11f)]);if(!f)Log[v(0x114)]('Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20remove\x20meteor\x20package\x20'+JSON[v(0x112)](a)+v(0x165)),d();else{const g=Log['withSpinner']();try{g['start'](v(0x15c)),exec(this['meteor']+v(0x134)+a,{'cwd':f},h=>{const w=v;h&&(Log[w(0x114)]('\x0a'+h[w(0x143)]),d(),process[w(0x122)](0x1)),g[w(0x121)](),c();});}catch(h){Log[v(0x114)](h),g[v(0x129)](),d();}}}});}async['checkMeteorPackage'](a,b){const x=a157q;try{const c=this['fsi']['findAppDirectory']();if(!c)return Log[x(0x114)]('Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20check\x20for\x20Meteor\x20package(s)\x20'+JSON[x(0x112)](a)+x(0x118)),![];const d=a157f[x(0x127)](a157e[x(0x155)](c,x(0x12a),x(0x124)),x(0x131))[x(0x156)]('\x0a')[x(0x15a)](Boolean);typeof a===x(0x116)&&(a=[a]);const f=[];for(const g of a){const h=d[x(0x149)](g);!h&&f[x(0x159)](g);}if(b[x(0x12b)]&&f[x(0x14e)]>0x0){const i=f['join']('\x20');await this['installMeteorPackage'](i,b);}return f['length']===0x0;}catch(j){errorHandler('checkMeteorPackage()',j),process[x(0x122)](0x1);}}async[a157q(0x15b)](a){const y=a157q;try{const b=this[y(0x138)]['findAppDirectory'](a[y(0x11f)]);if(!b)Log[y(0x114)](y(0x160));else{const c=this['fsi'][y(0x161)](a157e[y(0x155)](b,y(0x147)));!c&&(Log[y(0x14f)]('Cannot\x20find\x20your\x20node_modules\x20folder.'),await SpawnAsync[y(0x15d)](this['meteor'],[y(0x13f),y(0x146)],{'cwd':b,'message':y(0x164)}));const d=this[y(0x138)][y(0x161)](a157e[y(0x155)](b,y(0x147)));if(!d)throw Log[y(0x114)](y(0x13d));}}catch(f){errorHandler('setupNpm()',f),process['exit'](0x1);}}async[a157q(0x14c)](a,b){const z=a157q;try{b=b||{},b[z(0x11f)]=this['fsi'][z(0x111)]();if(b['isSelfTest'])return![];const c=b[z(0x11f)];if(!c)return Log[z(0x114)]('Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20check\x20for\x20NPM\x20package(s)\x20'+JSON[z(0x112)](a)+z(0x118)),![];const d=JSON[z(0x14b)](a157f[z(0x127)](a157e[z(0x155)](c,'package.json'))['toString']());!d['dependencies']&&(d['dependencies']={});!d[z(0x154)]&&(d[z(0x154)]={});const f=[];typeof a==='string'&&(a=[a]);for(const g of a){const h=d[z(0x133)][g]||d[z(0x154)][g];!h&&f[z(0x159)](g);}if(b[z(0x12b)]&&f[z(0x14e)]>0x0){await this['installNpmPackage'](f[z(0x155)]('\x20'),b);const i=JSON[z(0x14b)](a157f[z(0x127)](a157e[z(0x155)](c,z(0x123)))[z(0x15f)]());for(const j of f){if(!(i[z(0x133)][j]||i[z(0x154)][j]))return![];}}return f[z(0x14e)]===0x0;}catch(k){errorHandler(z(0x130),k),process['exit'](0x1);}}async[a157q(0x150)](){const A=a157q;try{const a=this[A(0x138)][A(0x111)]();if(!a){Log[A(0x114)](A(0x119));return;}const b=a157f['existsSync'](a157e['join'](a,A(0x147)));if(!b){const g=process['cwd']();await this[A(0x15b)]({'cwd':a157e[A(0x155)](g,A(0x137))});}const c=JSON[A(0x14b)](a157f[A(0x127)](a157e[A(0x155)](a,A(0x123)))[A(0x15f)]()),d=Object[A(0x162)]({...c[A(0x133)],...c[A(0x154)]}),f=[];for(const h of d){!a157f[A(0x13b)](a157e['join'](a,A(0x147),h))&&f[A(0x159)](h);}f[A(0x14e)]>0x0?(Log[A(0x14f)]('Missing\x20dependencies\x20detected:\x20'+f[A(0x155)](',\x20')+A(0x12d)),await this[A(0x11b)](f['join']('\x20'),{'shouldInstall':!![]})):Log[A(0x121)](A(0x115));}catch(i){errorHandler(A(0x12f),i),process[A(0x122)](0x1);}}[a157q(0x11b)](a,b){return new Promise((c,d)=>{const B=a157d;b=b||{},b[B(0x11f)]=b[B(0x11f)]||this[B(0x138)]['findAppDirectory']();const f=b[B(0x12e)]?b['msg']:B(0x14a)+(b['dev']?'developer\x20':'')+B(0x11a);if(!b[B(0x140)]){const g=this[B(0x138)]['findAppDirectory'](b[B(0x11f)]);if(!g)Log['error'](B(0x166)+JSON[B(0x112)](a)+'\x20into.'),d();else{const h=Log['withSpinner']();try{b[B(0x167)]?(h['start'](f),exec('npm\x20i\x20--save-dev\x20-q\x20'+a,{'cwd':g},i=>{const C=B;i&&(Log['error']('\x0a'+i[C(0x143)]),d(),process[C(0x122)](0x1)),h['success'](),c();})):(h[B(0x11e)](f),exec('npm\x20i\x20--save\x20-q\x20'+a,{'cwd':g},i=>{const D=B;i&&(Log['error']('\x0a'+i[D(0x143)]),d(),process[D(0x122)](0x1)),h[D(0x121)](),c();}));}catch(i){Log[B(0x114)](i),d();}}}});}}function a157d(a,b){const c=a157c();return a157d=function(d,e){d=d-0x110;let f=c[d];return f;},a157d(a,b);}function a157c(){const E=['env','message','7280kBzHFe','meteorCommand','install','node_modules','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20install\x20meteor\x20package\x20','includes','Installing\x20','parse','checkNpmPackage','1736163gqKzsk','length','warn','ensureAllDependenciesInstalled','apply','utf8','True','devDependencies','join','split','3248ynSrjQ','appendFileSync','push','filter','setupNpm','Removing\x20insecure\x20meteor\x20packages','withSpinner','66ryHeTc','toString','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20initalize\x20npm.','isDirectory','keys','540944NEspFx','Installing\x20npm\x20dependencies','\x20from.','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20install\x20NPM\x20package\x20','dev','1019190wlxobE','findAppDirectory','stringify','(((.+)+)+)+$','error','All\x20dependencies\x20are\x20installed.','string','1650VEEHHp','\x20is/are\x20present.','Couldn\x27t\x20find\x20an\x20app\x20directory.','npm\x20packages','installNpmPackage','474508FtogzG','429335HbYmYa','start','cwd','removeMeteorPackage','success','exit','package.json','packages','meteor','\x20--allow-incompatible-update','readFileSync','Error\x20in\x20','failure','.meteor','shouldInstall','search','.\x20Installing...','msg','ensureAllDependenciesInstalled()','checkNpmPackage()','utf-8','constructor','dependencies','\x20remove\x20','indexOf','\x20into.','app','fsi','instance','getInstance','existsSync','3kWGLzB','Could\x20not\x20install\x20npm\x20dependencies','\x20add\x20','npm','isSelfTest','42dbDPKO'];a157c=function(){return E;};return a157c();}
1
+ const a157q=a157d;function a157d(a,b){const c=a157c();return a157d=function(d,e){d=d-0x1de;let f=c[d];return f;},a157d(a,b);}(function(a,b){const m=a157d,c=a();while(!![]){try{const d=-parseInt(m(0x1ed))/0x1+-parseInt(m(0x1e4))/0x2+parseInt(m(0x239))/0x3+-parseInt(m(0x1f9))/0x4*(-parseInt(m(0x1e2))/0x5)+-parseInt(m(0x22e))/0x6+parseInt(m(0x216))/0x7*(parseInt(m(0x1e3))/0x8)+parseInt(m(0x204))/0x9*(parseInt(m(0x21c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a157c,0x604a8));const a157b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a157d;if(c){const e=c[n(0x1e7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a157a=a157b(this,function(){const o=a157d;return a157a[o(0x20c)]()[o(0x1df)](o(0x227))[o(0x20c)]()['constructor'](a157a)[o(0x1df)](o(0x227));});a157a();import a157e from'path';import a157f from'fs';import{exec}from'child_process';import{Log}from'../log/log.class.js';function a157c(){const E=['cwd','npm\x20packages','app','\x20into.','stringify','MAKA_DEV','.meteor','Could\x20not\x20install\x20npm\x20dependencies','package.json','devDependencies','1266918QPNoEl','parse','search','Installing\x20npm\x20dependencies','installNpmPackage','15QWwaho','56vfmioT','765908dvsePi','push','readFileSync','apply','failure','dependencies','checkNpmPackage','checkNpmPackage()','env','234085AQHlru','Installing\x20meteor\x20packages','packages','.\x20Installing...','split','npm','Cannot\x20find\x20your\x20node_modules\x20folder.','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20initalize\x20npm.','instance','All\x20dependencies\x20are\x20installed.','dev','msg','210732GtSOAH','fsi','checkMeteorPackage()','meteor','exit','isDirectory','string','\x20is/are\x20present.','\x20remove\x20','Missing\x20dependencies\x20detected:\x20','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20install\x20NPM\x20package\x20','1245339YrJVpX','meteorCommand','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20remove\x20meteor\x20package\x20','getInstance','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20check\x20for\x20Meteor\x20package(s)\x20','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20install\x20meteor\x20package\x20','warn','existsSync','toString','includes','shouldInstall','success','developer\x20','start','\x20add\x20','filter','Installing\x20','installMeteorPackage','677509ocwCFf','indexOf','npm\x20i\x20--save-dev\x20-q\x20','\x20from.','appendFileSync','checkMeteorPackage','10FFosAt','message','removeMeteorPackage','length','join','withSpinner','node_modules','setupNpm','Removing\x20insecure\x20meteor\x20packages','utf8','ensureAllDependenciesInstalled()','(((.+)+)+)+$','keys','error','isSelfTest','Couldn\x27t\x20find\x20an\x20app\x20directory.','findAppDirectory','install','2308728AVYHYJ'];a157c=function(){return E;};return a157c();}import{SpawnAsync}from'../spawn-async/spawn-async.class.js';const errorHandler=(a,b)=>{const p=a157d;process[p(0x1ec)][p(0x234)]==='True'&&Log[p(0x229)]('Error\x20in\x20'+a),b&&console[p(0x229)](b);};export class PKG{static ['instance'];['fsi'];[a157q(0x1fc)];constructor(a){const r=a157q;this['fsi']=a,this['meteor']=a[r(0x205)]();}static[a157q(0x207)](a){const s=a157q;return!PKG[s(0x1f5)]&&(PKG[s(0x1f5)]=new PKG(a)),PKG['instance'];}[a157q(0x215)](a,b){return new Promise((c,d)=>{const t=a157d;b=b||{},b['cwd']=b[t(0x22f)]||this['fsi']['findAppDirectory']();if(!b[t(0x22a)]){const f=Log[t(0x221)](),g=this[t(0x1fa)][t(0x22c)](b['cwd']);if(!g)Log['error'](t(0x209)+JSON[t(0x233)](a)+t(0x232)),d();else try{if(a[t(0x1f1)]('\x20')['length']>0x1){const h=a['split']('\x20');for(const i of h){const j=this[t(0x1fa)][t(0x22c)](b['cwd']),k=a157f[t(0x1e6)](a157e['join'](j,t(0x235),t(0x1ef)),t(0x225));k[t(0x217)](i[t(0x1f1)]('@')[0x0])===-0x1&&a157f[t(0x21a)](a157e[t(0x220)](j,'.meteor','packages'),i+'\x0a');}}f[t(0x211)](t(0x1ee)),exec(this[t(0x1fc)]+t(0x212)+a+'\x20--allow-incompatible-update',{'cwd':g},l=>{const u=t;l&&(Log[u(0x229)]('\x0a'+l[u(0x21d)]),d(),process['exit'](0x1)),f[u(0x20f)](),c();});}catch(l){Log[t(0x229)](l),f[t(0x1e8)](),d();}}});}[a157q(0x21e)](a,b){return new Promise((c,d)=>{const v=a157d;b=b||{},b[v(0x22f)]=b[v(0x22f)]||'.';if(!b[v(0x22a)]){const f=this[v(0x1fa)]['findAppDirectory'](b[v(0x22f)]);if(!f)Log[v(0x229)](v(0x206)+JSON['stringify'](a)+v(0x219)),d();else{const g=Log[v(0x221)]();try{g[v(0x211)](v(0x224)),exec(this[v(0x1fc)]+v(0x201)+a,{'cwd':f},h=>{const w=v;h&&(Log['error']('\x0a'+h[w(0x21d)]),d(),process[w(0x1fd)](0x1)),g[w(0x20f)](),c();});}catch(h){Log[v(0x229)](h),g[v(0x1e8)](),d();}}}});}async[a157q(0x21b)](a,b){const x=a157q;try{const c=this[x(0x1fa)]['findAppDirectory']();if(!c)return Log[x(0x229)](x(0x208)+JSON['stringify'](a)+x(0x200)),![];const d=a157f[x(0x1e6)](a157e[x(0x220)](c,x(0x235),x(0x1ef)),'utf-8')[x(0x1f1)]('\x0a')[x(0x213)](Boolean);typeof a===x(0x1ff)&&(a=[a]);const f=[];for(const g of a){const h=d[x(0x20d)](g);!h&&f[x(0x1e5)](g);}if(b[x(0x20e)]&&f[x(0x21f)]>0x0){const i=f[x(0x220)]('\x20');await this['installMeteorPackage'](i,b);}return f[x(0x21f)]===0x0;}catch(j){errorHandler(x(0x1fb),j),process['exit'](0x1);}}async['setupNpm'](a){const y=a157q;try{const b=this[y(0x1fa)][y(0x22c)](a['cwd']);if(!b)Log[y(0x229)](y(0x1f4));else{const c=this[y(0x1fa)][y(0x1fe)](a157e['join'](b,y(0x222)));!c&&(Log[y(0x20a)](y(0x1f3)),await SpawnAsync['withSpinner'](this[y(0x1fc)],[y(0x1f2),y(0x22d)],{'cwd':b,'message':y(0x1e0)}));const d=this[y(0x1fa)][y(0x1fe)](a157e[y(0x220)](b,y(0x222)));if(!d)throw Log[y(0x229)](y(0x236));}}catch(f){errorHandler('setupNpm()',f),process['exit'](0x1);}}async[a157q(0x1ea)](a,b){const z=a157q;try{b=b||{},b['cwd']=this[z(0x1fa)][z(0x22c)]();if(b[z(0x22a)])return![];const c=b[z(0x22f)];if(!c)return Log[z(0x229)]('Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20check\x20for\x20NPM\x20package(s)\x20'+JSON[z(0x233)](a)+z(0x200)),![];const d=JSON['parse'](a157f[z(0x1e6)](a157e[z(0x220)](c,z(0x237)))[z(0x20c)]());!d['dependencies']&&(d[z(0x1e9)]={});!d[z(0x238)]&&(d[z(0x238)]={});const f=[];typeof a===z(0x1ff)&&(a=[a]);for(const g of a){const h=d[z(0x1e9)][g]||d[z(0x238)][g];!h&&f[z(0x1e5)](g);}if(b[z(0x20e)]&&f['length']>0x0){await this[z(0x1e1)](f['join']('\x20'),b);const i=JSON[z(0x1de)](a157f['readFileSync'](a157e[z(0x220)](c,z(0x237)))[z(0x20c)]());for(const j of f){if(!(i['dependencies'][j]||i[z(0x238)][j]))return![];}}return f[z(0x21f)]===0x0;}catch(k){errorHandler(z(0x1eb),k),process[z(0x1fd)](0x1);}}async['ensureAllDependenciesInstalled'](){const A=a157q;try{const a=this[A(0x1fa)][A(0x22c)]();if(!a){Log[A(0x229)](A(0x22b));return;}const b=a157f['existsSync'](a157e[A(0x220)](a,A(0x222)));if(!b){const g=process['cwd']();await this[A(0x223)]({'cwd':a157e['join'](g,A(0x231))});}const c=JSON['parse'](a157f[A(0x1e6)](a157e[A(0x220)](a,A(0x237)))[A(0x20c)]()),d=Object[A(0x228)]({...c[A(0x1e9)],...c[A(0x238)]}),f=[];for(const h of d){!a157f[A(0x20b)](a157e['join'](a,'node_modules',h))&&f[A(0x1e5)](h);}f[A(0x21f)]>0x0?(Log['warn'](A(0x202)+f['join'](',\x20')+A(0x1f0)),await this[A(0x1e1)](f[A(0x220)]('\x20'),{'shouldInstall':!![]})):Log[A(0x20f)](A(0x1f6));}catch(i){errorHandler(A(0x226),i),process[A(0x1fd)](0x1);}}[a157q(0x1e1)](a,b){return new Promise((c,d)=>{const B=a157d;b=b||{},b['cwd']=b[B(0x22f)]||this[B(0x1fa)][B(0x22c)]();const f=b[B(0x1f8)]?b[B(0x1f8)]:B(0x214)+(b['dev']?B(0x210):'')+B(0x230);if(!b[B(0x22a)]){const g=this[B(0x1fa)][B(0x22c)](b[B(0x22f)]);if(!g)Log[B(0x229)](B(0x203)+JSON['stringify'](a)+B(0x232)),d();else{const h=Log[B(0x221)]();try{b[B(0x1f7)]?(h['start'](f),exec(B(0x218)+a,{'cwd':g},i=>{const C=B;i&&(Log[C(0x229)]('\x0a'+i[C(0x21d)]),d(),process[C(0x1fd)](0x1)),h[C(0x20f)](),c();})):(h[B(0x211)](f),exec('npm\x20i\x20--save\x20-q\x20'+a,{'cwd':g},i=>{const D=B;i&&(Log['error']('\x0a'+i[D(0x21d)]),d(),process[D(0x1fd)](0x1)),h[D(0x20f)](),c();}));}catch(i){Log[B(0x229)](i),d();}}}});}}
@@ -1 +1 @@
1
- const a158i=a158d;(function(a,b){const f=a158d,c=a();while(!![]){try{const d=-parseInt(f(0x117))/0x1+-parseInt(f(0x12b))/0x2+parseInt(f(0x115))/0x3+-parseInt(f(0x11c))/0x4*(-parseInt(f(0x116))/0x5)+-parseInt(f(0x127))/0x6*(-parseInt(f(0x12d))/0x7)+-parseInt(f(0x120))/0x8+parseInt(f(0x128))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a158c,0x4b659));const a158b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a158d;if(c){const e=c[g(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a158a=a158b(this,function(){const h=a158d;return a158a['toString']()[h(0x11b)](h(0x118))['toString']()[h(0x124)](a158a)['search']('(((.+)+)+)+$');});a158a();import{Log}from'../log/log.class.js';const isWin=process['platform']===a158i(0x111),downArrow=isWin?'<':'↓';function a158d(a,b){const c=a158c();return a158d=function(d,e){d=d-0x10e;let f=c[d];return f;},a158d(a,b);}export class Progress{[a158i(0x126)];['current'];[a158i(0x10e)];['lastLoggedProgress'];['dlMessage'];[a158i(0x10f)];constructor(a,b=a158i(0x129),c=downArrow){const j=a158i;this[j(0x126)]=a,this[j(0x125)]=0x0,this[j(0x10e)]=0x28,this['lastLoggedProgress']=0x0,this[j(0x110)]=b,this[j(0x10f)]=Log[j(0x114)]['majestic'](c);}[a158i(0x12a)](a){const k=a158i;this[k(0x125)]+=a,this[k(0x123)]();}[a158i(0x122)](){const l=a158i;this[l(0x125)]=this['total'],this[l(0x123)](),Log[l(0x11d)]('');}['draw'](){const m=a158i,a=Math[m(0x11a)](0x64,Math[m(0x113)](this[m(0x125)]/this[m(0x126)]*0x64));if(a!==this[m(0x112)]){this[m(0x112)]=a;const b=Math[m(0x113)](a/0x64*this['width']),c=this[m(0x10e)]-b,d=''+Log[m(0x114)][m(0x11e)]('█')[m(0x11f)](b)+'░'[m(0x11f)](c),e=this[m(0x10f)]+'\x20'+this['dlMessage']+m(0x119)+d+']\x20'+a+'%';Log[m(0x121)](e);}}}function a158c(){const n=['round','colors','148488DKaGTn','5545NuFPPV','19030lekwSP','(((.+)+)+)+$',':\x20[','min','search','556sGUSup','singleLineSuccess','success','repeat','2245960NIEzKn','singleLine','complete','draw','constructor','current','total','12ClbUCy','4838013wDgJGN','Downloading','update','791424pSvZfM','apply','920878WJlAgF','width','graphic','dlMessage','win32','lastLoggedProgress'];a158c=function(){return n;};return a158c();}
1
+ const a158i=a158d;(function(a,b){const f=a158d,c=a();while(!![]){try{const d=parseInt(f(0x79))/0x1+parseInt(f(0x8f))/0x2+parseInt(f(0x85))/0x3+-parseInt(f(0x94))/0x4*(parseInt(f(0x8d))/0x5)+parseInt(f(0x7d))/0x6+-parseInt(f(0x87))/0x7+-parseInt(f(0x84))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a158c,0xb0b39));const a158b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a158d;if(c){const e=c[g(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a158a=a158b(this,function(){const h=a158d;return a158a['toString']()[h(0x7c)](h(0x93))['toString']()['constructor'](a158a)[h(0x7c)]('(((.+)+)+)+$');});function a158d(a,b){const c=a158c();return a158d=function(d,e){d=d-0x77;let f=c[d];return f;},a158d(a,b);}a158a();import{Log}from'../log/log.class.js';function a158c(){const n=['singleLineSuccess','round','win32','update','total','lastLoggedProgress','11983160BVEKFi','1303158IrXKmI','complete','6922146MLCSIl','width','dlMessage','platform','graphic','Downloading','3123265IoRuVN',':\x20[','2720134cBwdty','current','draw','apply','(((.+)+)+)+$','4CFYfEU','repeat','success','1163848jeLKiH','colors','min','search','5261364FrsjBq'];a158c=function(){return n;};return a158c();}const isWin=process[a158i(0x8a)]===a158i(0x80),downArrow=isWin?'<':'↓';export class Progress{[a158i(0x82)];[a158i(0x90)];['width'];['lastLoggedProgress'];[a158i(0x89)];[a158i(0x8b)];constructor(a,b=a158i(0x8c),c=downArrow){const j=a158i;this[j(0x82)]=a,this[j(0x90)]=0x0,this[j(0x88)]=0x28,this[j(0x83)]=0x0,this['dlMessage']=b,this[j(0x8b)]=Log['colors']['majestic'](c);}[a158i(0x81)](a){const k=a158i;this['current']+=a,this[k(0x91)]();}[a158i(0x86)](){const l=a158i;this['current']=this[l(0x82)],this[l(0x91)](),Log[l(0x7e)]('');}[a158i(0x91)](){const m=a158i,a=Math[m(0x7b)](0x64,Math[m(0x7f)](this[m(0x90)]/this[m(0x82)]*0x64));if(a!==this[m(0x83)]){this['lastLoggedProgress']=a;const b=Math[m(0x7f)](a/0x64*this[m(0x88)]),c=this['width']-b,d=''+Log[m(0x7a)][m(0x78)]('█')[m(0x77)](b)+'░'['repeat'](c),e=this['graphic']+'\x20'+this[m(0x89)]+m(0x8e)+d+']\x20'+a+'%';Log['singleLine'](e);}}}