text: (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["main"],{
  
  /***/ "./src/$$_lazy_route_resource lazy recursive":
  /*!**********************************************************!*\
    !*** ./src/$$_lazy_route_resource lazy namespace object ***!
    \**********************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  function webpackEmptyAsyncContext(req) {
  	// Here Promise.resolve().then() is used instead of new Promise() to prevent
  	// uncaught exception popping up in devtools
  	return Promise.resolve().then(function() {
  		var e = new Error('Cannot find module "' + req + '".');
  		e.code = 'MODULE_NOT_FOUND';
  		throw e;
  	});
  }
  webpackEmptyAsyncContext.keys = function() { return []; };
  webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
  module.exports = webpackEmptyAsyncContext;
  webpackEmptyAsyncContext.id = "./src/$$_lazy_route_resource lazy recursive";
  
  /***/ }),
  
  /***/ "./src/app/app.component.css":
  /*!***********************************!*\
    !*** ./src/app/app.component.css ***!
    \***********************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = ".login {\r\n    height: 50vh;\r\n    margin-top: 20vh;\r\n}\r\n\r\nfooter {\r\n    height: 10vh;\r\n    color: white;\r\n    padding-top: 4vh; \r\n}\r\n\r\n.profile {\r\n    margin-top: 5vh;\r\n    height: 80vh;\r\n}\r\n\r\n.img-profile {\r\n    width: 80px !important;\r\n    height: 80px !important;\r\n    z-index: 0 !important;\r\n}"
  
  /***/ }),
  
  /***/ "./src/app/app.component.html":
  /*!************************************!*\
    !*** ./src/app/app.component.html ***!
    \************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = "<!--The content below is only a placeholder and can be replaced.-->\n\n<app-nav-bar></app-nav-bar>\n<app-home></app-home>\n<div *ngIf=\"login==false\" >\n    <div class=\"container login\">\n        <h2 class=\"text-center mx-auto\" >Autenticación</h2>\n        <p class=\"mx-auto\" >\n            Para poder usar esta aplicación debe de iniciar sesión con \n            los siguiente proveedor:\n        </p>\n        <button (click)=\"loginGoogle()\" class=\"btn btn-secondary btn-block\" >{{button}}</button>\n    </div>\n</div>\n<div *ngIf=\"login==true\" >\n        <div id=\"perfil\" class=\"container profile\" >\n            <h2 class=\"text-center\" > Perfil </h2>\n            <div class=\"row\">\n                <div class=\"col-3\">\n                    <img class=\"img-profile\" src=\"{{user.photoURL}}\" alt=\"foto\"/>\n                </div>\n                <div class=\"col-9\" >\n                    <br/>\n                    <p><b>Nombre:</b> {{user.displayName}} </p>\n                    <br/>\n                    <p><b>Email</b>: {{user.email}}</p>\n                    <br/>\n                    <p><b>Mensajes Publicos:</b> {{publico}} </p>\n                    <br/>\n                    <p><b>Mensajes Privados:</b> {{privado}}</p>\n                </div>\n            </div>\n            <button (click)=\"signOutGoogle()\" class=\"btn btn-danger btn-block\" >Sign Out</button>\n        </div>\n        <app-form-message email={{email}} ></app-form-message>\n        <br>\n        <app-list-message></app-list-message>\n\n</div>\n<footer class=\"bg-dark text-center\">\n    <p>By Arles Cerrato</p>\n</footer>\n\n"
  
  /***/ }),
  
  /***/ "./src/app/app.component.ts":
  /*!**********************************!*\
    !*** ./src/app/app.component.ts ***!
    \**********************************/
  /*! exports provided: AppComponent */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppComponent", function() { return AppComponent; });
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
  /* harmony import */ var angularfire2_auth__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! angularfire2/auth */ "./node_modules/angularfire2/auth/index.js");
  /* harmony import */ var firebase_app__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! firebase/app */ "./node_modules/firebase/app/dist/index.cjs.js");
  /* harmony import */ var firebase_app__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(firebase_app__WEBPACK_IMPORTED_MODULE_2__);
  /* harmony import */ var angularfire2_database__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! angularfire2/database */ "./node_modules/angularfire2/database/index.js");
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (undefined && undefined.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  
  
  
  var AppComponent = /** @class */ (function () {
      function AppComponent(afAuth, database) {
          var _this = this;
          this.afAuth = afAuth;
          this.database = database;
          this.login = false;
          this.user = null;
          this.button = "Google";
          this.afAuth.authState.subscribe(function (user) {
              if (!user) {
                  _this.user = null;
                  _this.login = false;
                  _this.email = "";
                  return;
              }
              _this.user = user;
              _this.login = true;
              _this.email = user.uid;
              /*database.database.ref(`/usuarios/${this.email}`).on('value', snapshot => {
                this.privado = snapshot.val().private
                this.publico = snapshot.val().public
              })*/
              database.object('/usuarios/' + _this.email).valueChanges().forEach(function (doc) {
                  _this.privado = doc["private"];
                  _this.publico = doc["public"];
              });
          });
      }
      AppComponent.prototype.loginGoogle = function () {
          this.afAuth.auth.signInWithPopup(new firebase_app__WEBPACK_IMPORTED_MODULE_2__["auth"].GoogleAuthProvider());
      };
      AppComponent.prototype.signOutGoogle = function () {
          this.afAuth.auth.signOut();
      };
      AppComponent = __decorate([
          Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
              selector: 'app-root',
              template: __webpack_require__(/*! ./app.component.html */ "./src/app/app.component.html"),
              styles: [__webpack_require__(/*! ./app.component.css */ "./src/app/app.component.css")]
          }),
          __metadata("design:paramtypes", [angularfire2_auth__WEBPACK_IMPORTED_MODULE_1__["AngularFireAuth"], angularfire2_database__WEBPACK_IMPORTED_MODULE_3__["AngularFireDatabase"]])
      ], AppComponent);
      return AppComponent;
  }());
  
  
  
  /***/ }),
  
  /***/ "./src/app/app.module.ts":
  /*!*******************************!*\
    !*** ./src/app/app.module.ts ***!
    \*******************************/
  /*! exports provided: AppModule */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppModule", function() { return AppModule; });
  /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/fesm5/platform-browser.js");
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
  /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../environments/environment */ "./src/environments/environment.ts");
  /* harmony import */ var angularfire2__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! angularfire2 */ "./node_modules/angularfire2/index.js");
  /* harmony import */ var angularfire2_database__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! angularfire2/database */ "./node_modules/angularfire2/database/index.js");
  /* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./app.component */ "./src/app/app.component.ts");
  /* harmony import */ var _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./nav-bar/nav-bar.component */ "./src/app/nav-bar/nav-bar.component.ts");
  /* harmony import */ var _menu_menu_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./menu/menu.component */ "./src/app/menu/menu.component.ts");
  /* harmony import */ var _home_home_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./home/home.component */ "./src/app/home/home.component.ts");
  /* harmony import */ var angularfire2_auth__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! angularfire2/auth */ "./node_modules/angularfire2/auth/index.js");
  /* harmony import */ var _form_message_form_message_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./form-message/form-message.component */ "./src/app/form-message/form-message.component.ts");
  /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/fesm5/forms.js");
  /* harmony import */ var _list_message_list_message_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./list-message/list-message.component */ "./src/app/list-message/list-message.component.ts");
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  
  
  
  
  
  
  
  
  
  
  
  
  
  var AppModule = /** @class */ (function () {
      function AppModule() {
      }
      AppModule = __decorate([
          Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
              declarations: [
                  _app_component__WEBPACK_IMPORTED_MODULE_5__["AppComponent"],
                  _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_6__["NavBarComponent"],
                  _menu_menu_component__WEBPACK_IMPORTED_MODULE_7__["MenuComponent"],
                  _home_home_component__WEBPACK_IMPORTED_MODULE_8__["HomeComponent"],
                  _form_message_form_message_component__WEBPACK_IMPORTED_MODULE_10__["FormMessageComponent"],
                  _list_message_list_message_component__WEBPACK_IMPORTED_MODULE_12__["ListMessageComponent"]
              ],
              imports: [
                  _angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"],
                  _angular_forms__WEBPACK_IMPORTED_MODULE_11__["FormsModule"],
                  angularfire2__WEBPACK_IMPORTED_MODULE_3__["AngularFireModule"].initializeApp(_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].firebase),
                  angularfire2_database__WEBPACK_IMPORTED_MODULE_4__["AngularFireDatabaseModule"],
                  angularfire2_auth__WEBPACK_IMPORTED_MODULE_9__["AngularFireAuthModule"]
              ],
              providers: [],
              bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_5__["AppComponent"]]
          })
      ], AppModule);
      return AppModule;
  }());
  
  
  
  /***/ }),
  
  /***/ "./src/app/form-message/form-message.component.css":
  /*!*********************************************************!*\
    !*** ./src/app/form-message/form-message.component.css ***!
    \*********************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = ""
  
  /***/ }),
  
  /***/ "./src/app/form-message/form-message.component.html":
  /*!**********************************************************!*\
    !*** ./src/app/form-message/form-message.component.html ***!
    \**********************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = "<div id=\"mensaje\" class=\"container container-message animated bounceInDown\" >\n    <hr/>\n    <br/>\n    <h2 class=\"text-center\">Agregar Mensaje</h2>\n    <br/>\n    <form >\n        <div class=\"form-group\" >\n            <label>Titulo</label>\n            <input type=\"text\" class=\"form-control\" [(ngModel)]=\"form.titulo\" name=\"titulo\" placeholder=\"Agrega un titulo\" />\n        </div>\n        <div class=\"form-group\" >\n            <label>Mensaje</label>\n            <textarea rows=\"4\" [(ngModel)]=\"form.mensaje\" placeholder=\"Agregue mensaje\" class=\"form-control\" cols=\"50\" name=\"mensaje\" >\n\n            </textarea>\n        </div>\n        <div class=\"form-group\">\n            <label>Estado</label>\n                <select [(ngModel)]=\"form.estado\" name=\"estado\" class=\"form-control\" >\n                    <option value=\"publico\">Publico</option>\n                    <option value=\"privado\">Privado</option>\n                </select>\n            </div>\n        <button class=\"btn btn-primary\" type=\"submit\" (click)=\"submit()\" >Enviar</button>\n    </form>\n    <hr/>\n</div>"
  
  /***/ }),
  
  /***/ "./src/app/form-message/form-message.component.ts":
  /*!********************************************************!*\
    !*** ./src/app/form-message/form-message.component.ts ***!
    \********************************************************/
  /*! exports provided: FormMessageComponent */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FormMessageComponent", function() { return FormMessageComponent; });
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
  /* harmony import */ var angularfire2_database__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! angularfire2/database */ "./node_modules/angularfire2/database/index.js");
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (undefined && undefined.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  
  var FormMessageComponent = /** @class */ (function () {
      function FormMessageComponent(database) {
          this.database = database;
          this.form = {
              titulo: "",
              mensaje: "",
              estado: ""
          };
      }
      FormMessageComponent.prototype.ngOnInit = function () {
      };
      FormMessageComponent.prototype.submit = function () {
          this.database.database.ref("mensaje").push({
              titulo: this.form.titulo,
              mensaje: this.form.mensaje,
              estado: this.form.estado,
              correo: this.email
          });
          fetch("https://us-central1-forexa-b161c.cloudfunctions.net/counter?uid=" + this.email)
              .then(function (res) {
              console.log(res);
          })
              .catch(function (err) {
              console.log(err);
          });
      };
      __decorate([
          Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"])(),
          __metadata("design:type", String)
      ], FormMessageComponent.prototype, "email", void 0);
      FormMessageComponent = __decorate([
          Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
              selector: 'app-form-message',
              template: __webpack_require__(/*! ./form-message.component.html */ "./src/app/form-message/form-message.component.html"),
              styles: [__webpack_require__(/*! ./form-message.component.css */ "./src/app/form-message/form-message.component.css")]
          }),
          __metadata("design:paramtypes", [angularfire2_database__WEBPACK_IMPORTED_MODULE_1__["AngularFireDatabase"]])
      ], FormMessageComponent);
      return FormMessageComponent;
  }());
  
  
  
  /***/ }),
  
  /***/ "./src/app/home/home.component.css":
  /*!*****************************************!*\
    !*** ./src/app/home/home.component.css ***!
    \*****************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = ".principal {\r\n    padding: 0;\r\n    display: flex;\r\n    align-items: center;\r\n    height: 100vh;\r\n    background: url(Star.jpg) no-repeat center;\r\n    background-size: cover;\r\n}\r\n\r\n.center {\r\n    margin: auto;\r\n    text-align: center;\r\n    background: rgba(0, 0, 0, 0.5);\r\n    color: white;\r\n    widows: 200px;\r\n}"
  
  /***/ }),
  
  /***/ "./src/app/home/home.component.html":
  /*!******************************************!*\
    !*** ./src/app/home/home.component.html ***!
    \******************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = "<div class=\"principal\" >\n    <div class=\"center p-2\">\n        <h1 className=\"text-center\" >Bienvenido a ForeX</h1>\n        <p className=\"text-center\">\n            Esta aplicación web es exclusivamente para la \n            clase de Experiencia de usuario de la Universidad \n            Tecnologica de Honduras (Unitec).\n        </p>\n    </div>\n  </div>"
  
  /***/ }),
  
  /***/ "./src/app/home/home.component.ts":
  /*!****************************************!*\
    !*** ./src/app/home/home.component.ts ***!
    \****************************************/
  /*! exports provided: HomeComponent */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "HomeComponent", function() { return HomeComponent; });
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (undefined && undefined.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  var HomeComponent = /** @class */ (function () {
      function HomeComponent() {
      }
      HomeComponent.prototype.ngOnInit = function () {
      };
      HomeComponent = __decorate([
          Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
              selector: 'app-home',
              template: __webpack_require__(/*! ./home.component.html */ "./src/app/home/home.component.html"),
              styles: [__webpack_require__(/*! ./home.component.css */ "./src/app/home/home.component.css")]
          }),
          __metadata("design:paramtypes", [])
      ], HomeComponent);
      return HomeComponent;
  }());
  
  
  
  /***/ }),
  
  /***/ "./src/app/list-message/list-message.component.css":
  /*!*********************************************************!*\
    !*** ./src/app/list-message/list-message.component.css ***!
    \*********************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = ".img-card {\r\n    font-size: 100px !important;\r\n    width: 100px;\r\n    height: 100px;\r\n    display: inline;\r\n    text-align: center;\r\n}\r\n\r\n.card {\r\n    width: 70% !important;\r\n    margin: auto;\r\n}"
  
  /***/ }),
  
  /***/ "./src/app/list-message/list-message.component.html":
  /*!**********************************************************!*\
    !*** ./src/app/list-message/list-message.component.html ***!
    \**********************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = "<h2 class=\"text-center m-4\" >Lista de Mensajes</h2>\n<div *ngFor=\"let message of messages | async\" >\n  <div class=\"container-fluid text-center\" >\n      <div class=\"card\">                    \n          <div class=\"card-body\">\n              <h5 class=\"card-title text-center\">Titulo: {{message.title}}</h5>\n              <div class=\"container text-center\" >\n                  <i class=\"img-card fas fa-envelope-square\"></i>\n              </div>\n              <p>Correo: {{message.correo}}</p>\n              <p>Estado: {{message.estado}}</p>\n              <br/>\n              <p>Mensaje: {{message.mensaje}}</p>\n          </div>\n      </div>\n      <br/>\n  </div>\n</div>\n"
  
  /***/ }),
  
  /***/ "./src/app/list-message/list-message.component.ts":
  /*!********************************************************!*\
    !*** ./src/app/list-message/list-message.component.ts ***!
    \********************************************************/
  /*! exports provided: ListMessageComponent */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ListMessageComponent", function() { return ListMessageComponent; });
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
  /* harmony import */ var angularfire2_database__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! angularfire2/database */ "./node_modules/angularfire2/database/index.js");
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (undefined && undefined.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  
  var ListMessageComponent = /** @class */ (function () {
      function ListMessageComponent(database) {
          this.messages = database.list('/mensaje').valueChanges();
      }
      ListMessageComponent.prototype.ngOnInit = function () {
      };
      ListMessageComponent = __decorate([
          Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
              selector: 'app-list-message',
              template: __webpack_require__(/*! ./list-message.component.html */ "./src/app/list-message/list-message.component.html"),
              styles: [__webpack_require__(/*! ./list-message.component.css */ "./src/app/list-message/list-message.component.css")]
          }),
          __metadata("design:paramtypes", [angularfire2_database__WEBPACK_IMPORTED_MODULE_1__["AngularFireDatabase"]])
      ], ListMessageComponent);
      return ListMessageComponent;
  }());
  
  
  
  /***/ }),
  
  /***/ "./src/app/menu/menu.component.css":
  /*!*****************************************!*\
    !*** ./src/app/menu/menu.component.css ***!
    \*****************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = ""
  
  /***/ }),
  
  /***/ "./src/app/menu/menu.component.html":
  /*!******************************************!*\
    !*** ./src/app/menu/menu.component.html ***!
    \******************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = "<p>\n  menu works!\n</p>\n"
  
  /***/ }),
  
  /***/ "./src/app/menu/menu.component.ts":
  /*!****************************************!*\
    !*** ./src/app/menu/menu.component.ts ***!
    \****************************************/
  /*! exports provided: MenuComponent */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "MenuComponent", function() { return MenuComponent; });
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (undefined && undefined.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  var MenuComponent = /** @class */ (function () {
      function MenuComponent() {
      }
      MenuComponent.prototype.ngOnInit = function () {
      };
      MenuComponent = __decorate([
          Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
              selector: 'app-menu',
              template: __webpack_require__(/*! ./menu.component.html */ "./src/app/menu/menu.component.html"),
              styles: [__webpack_require__(/*! ./menu.component.css */ "./src/app/menu/menu.component.css")]
          }),
          __metadata("design:paramtypes", [])
      ], MenuComponent);
      return MenuComponent;
  }());
  
  
  
  /***/ }),
  
  /***/ "./src/app/nav-bar/nav-bar.component.css":
  /*!***********************************************!*\
    !*** ./src/app/nav-bar/nav-bar.component.css ***!
    \***********************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = ".navbar {\r\n    width: 100% !important;\r\n    z-index: 100;\r\n}"
  
  /***/ }),
  
  /***/ "./src/app/nav-bar/nav-bar.component.html":
  /*!************************************************!*\
    !*** ./src/app/nav-bar/nav-bar.component.html ***!
    \************************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = "<nav class=\"navbar navbar-expand-lg navbar-dark bg-dark position-fixed\">\n    <a class=\"navbar-brand\" href=\"#\">ForeX</a>\n  </nav>"
  
  /***/ }),
  
  /***/ "./src/app/nav-bar/nav-bar.component.ts":
  /*!**********************************************!*\
    !*** ./src/app/nav-bar/nav-bar.component.ts ***!
    \**********************************************/
  /*! exports provided: NavBarComponent */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NavBarComponent", function() { return NavBarComponent; });
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
  var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (undefined && undefined.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  var NavBarComponent = /** @class */ (function () {
      function NavBarComponent() {
      }
      NavBarComponent.prototype.ngOnInit = function () {
      };
      NavBarComponent = __decorate([
          Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
              selector: 'app-nav-bar',
              template: __webpack_require__(/*! ./nav-bar.component.html */ "./src/app/nav-bar/nav-bar.component.html"),
              styles: [__webpack_require__(/*! ./nav-bar.component.css */ "./src/app/nav-bar/nav-bar.component.css")]
          }),
          __metadata("design:paramtypes", [])
      ], NavBarComponent);
      return NavBarComponent;
  }());
  
  
  
  /***/ }),
  
  /***/ "./src/environments/environment.ts":
  /*!*****************************************!*\
    !*** ./src/environments/environment.ts ***!
    \*****************************************/
  /*! exports provided: environment */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "environment", function() { return environment; });
  // This file can be replaced during build by using the `fileReplacements` array.
  // `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.
  // The list of file replacements can be found in `angular.json`.
  var environment = {
      production: false,
      firebase: {
          apiKey: "AIzaSyDL2ObyRJoYyjKRows4daBTfxIaU_reuH0",
          authDomain: "forexa-b161c.firebaseapp.com",
          databaseURL: "https://forexa-b161c.firebaseio.com",
          projectId: "forexa-b161c",
          storageBucket: "forexa-b161c.appspot.com",
          messagingSenderId: "290634341456"
      }
  };
  /*
   * In development mode, to ignore zone related error stack frames such as
   * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can
   * import the following file, but please comment it out in production mode
   * because it will have performance impact when throw error
   */
  // import 'zone.js/dist/zone-error';  // Included with Angular CLI.
  
  
  /***/ }),
  
  /***/ "./src/main.ts":
  /*!*********************!*\
    !*** ./src/main.ts ***!
    \*********************/
  /*! no exports provided */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
  /* harmony import */ var _angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser-dynamic */ "./node_modules/@angular/platform-browser-dynamic/fesm5/platform-browser-dynamic.js");
  /* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./app/app.module */ "./src/app/app.module.ts");
  /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./environments/environment */ "./src/environments/environment.ts");
  
  
  
  
  if (_environments_environment__WEBPACK_IMPORTED_MODULE_3__["environment"].production) {
      Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["enableProdMode"])();
  }
  Object(_angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_1__["platformBrowserDynamic"])().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_2__["AppModule"])
      .catch(function (err) { return console.log(err); });
  
  
  /***/ }),
  
  /***/ 0:
  /*!***************************!*\
    !*** multi ./src/main.ts ***!
    \***************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__(/*! C:\Users\arles\Documents\WebSites\Angular\examen-ux\src\main.ts */"./src/main.ts");
  
  
  /***/ })
  
  },[[0,"runtime","vendor"]]]);
  //# sourceMappingURL=main.js.map