{
  "version": 3,
  "sources": ["../../src/qcobjects-http2-server.ts"],
  "sourcesContent": ["#!/usr/bin/env node\n/**\n * QCObjects CLI 2.4.x\n * ________________\n *\n * Author: Jean Machuca <correojean@gmail.com>\n *\n * Cross Browser Javascript Framework for MVC Patterns\n * QuickCorp/QCObjects is licensed under the\n * GNU Lesser General Public License v3.0\n * [LICENSE] (https://github.com/QuickCorp/QCObjects/blob/master/LICENSE.txt)\n *\n * Permissions of this copyleft license are conditioned on making available\n * complete source code of licensed works and modifications under the same\n * license or the GNU GPLv3. Copyright and license notices must be preserved.\n * Contributors provide an express grant of patent rights. However, a larger\n * work using the licensed work through interfaces provided by the licensed\n * work may be distributed under different terms and without source code for\n * the larger work.\n *\n * Copyright (C) 2015 Jean Machuca,<correojean@gmail.com>\n *\n * Everyone is permitted to copy and distribute verbatim copies of this\n * license document, but changing it is not allowed.\n*/\n/*eslint no-unused-vars: \"off\"*/\n/*eslint no-redeclare: \"off\"*/\n/*eslint no-empty: \"off\"*/\n/*eslint strict: \"off\"*/\n/*eslint no-mixed-operators: \"off\"*/\n/*eslint no-undef: \"off\"*/\n\nimport \"./defaultsettings\";\nimport {HTTPServer} from \"./main-http-server\";\nimport {HTTP2Server} from \"./main-http2-server\";\n\n(async () => {\n  \"use strict\";\n  const path = await import(\"path\");\n  const absolutePath = path.resolve(__dirname, \"./\");\n\n  await import(\"qcobjects\");\n  const { CONFIG, InheritClass, New, logger } = await import(\"qcobjects\");\n\n\n  class Main extends InheritClass {\n    constructor() {\n      super();\n\n      const _ServerClass_ = (CONFIG.get(\"useLegacyHTTP\", false)) ? (HTTPServer) : (HTTP2Server);\n      const app = New(_ServerClass_);\n      app.start();\n\n      logger.debug(\"initialized\");\n\n    }\n\n  }\n\n  const __main__ = new Main();\n})()\n.catch(e => console.error(e));"],
  "mappings": ";;;;;;;AAgCA,OAAO;AACP,SAAQ,kBAAiB;AACzB,SAAQ,mBAAkB;AAlC1B;AAAA;AAoCA,KAAC,YAAY;AACX;AACA,YAAM,OAAO,MAAM,OAAO,MAAM;AAChC,YAAM,eAAe,KAAK,QAAQ,WAAW,IAAI;AAEjD,YAAM,OAAO,WAAW;AACxB,YAAM,EAAE,QAAQ,cAAc,KAAK,OAAO,IAAI,MAAM,OAAO,WAAW;AAAA,MAGtE,MAAM,aAAa,aAAa;AAAA,QA7ClC,OA6CkC;AAAA;AAAA;AAAA,QAC9B,cAAc;AACZ,gBAAM;AAEN,gBAAM,gBAAiB,OAAO,IAAI,iBAAiB,KAAK,IAAM,aAAe;AAC7E,gBAAM,MAAM,IAAI,aAAa;AAC7B,cAAI,MAAM;AAEV,iBAAO,MAAM,aAAa;AAAA,QAE5B;AAAA,MAEF;AAEA,YAAM,WAAW,IAAI,KAAK;AAAA,IAC5B,GAAG,EACF,MAAM,OAAK,QAAQ,MAAM,CAAC,CAAC;AAAA;AAAA;",
  "names": []
}
