text: (window["webpackJsonp"] = window["webpackJsonp"] || []).push([["main"],{
  
  /***/ "./node_modules/@ionic/core/dist/esm/legacy lazy recursive ^\\.\\/.*\\.entry\\.js$ include: \\.entry\\.js$ exclude: \\.system\\.entry\\.js$":
  /*!************************************************************************************************************************************************!*\
    !*** ./node_modules/@ionic/core/dist/esm/legacy lazy ^\.\/.*\.entry\.js$ include: \.entry\.js$ exclude: \.system\.entry\.js$ namespace object ***!
    \************************************************************************************************************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  var map = {
  	"./ion-action-sheet-controller_8.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-action-sheet-controller_8.entry.js",
  		"common",
  		12
  	],
  	"./ion-action-sheet-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-action-sheet-ios.entry.js",
  		"common",
  		13
  	],
  	"./ion-action-sheet-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-action-sheet-md.entry.js",
  		"common",
  		14
  	],
  	"./ion-alert-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-alert-ios.entry.js",
  		"common",
  		15
  	],
  	"./ion-alert-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-alert-md.entry.js",
  		"common",
  		16
  	],
  	"./ion-app_8-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-app_8-ios.entry.js",
  		1,
  		"common",
  		17
  	],
  	"./ion-app_8-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-app_8-md.entry.js",
  		1,
  		"common",
  		18
  	],
  	"./ion-avatar_3-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-avatar_3-ios.entry.js",
  		"common",
  		19
  	],
  	"./ion-avatar_3-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-avatar_3-md.entry.js",
  		"common",
  		20
  	],
  	"./ion-back-button-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-back-button-ios.entry.js",
  		"common",
  		21
  	],
  	"./ion-back-button-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-back-button-md.entry.js",
  		"common",
  		22
  	],
  	"./ion-backdrop-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-backdrop-ios.entry.js",
  		0,
  		"common",
  		23
  	],
  	"./ion-backdrop-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-backdrop-md.entry.js",
  		0,
  		"common",
  		24
  	],
  	"./ion-button_2-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-button_2-ios.entry.js",
  		"common",
  		25
  	],
  	"./ion-button_2-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-button_2-md.entry.js",
  		"common",
  		26
  	],
  	"./ion-card_5-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-card_5-ios.entry.js",
  		"common",
  		27
  	],
  	"./ion-card_5-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-card_5-md.entry.js",
  		"common",
  		28
  	],
  	"./ion-checkbox-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-checkbox-ios.entry.js",
  		"common",
  		29
  	],
  	"./ion-checkbox-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-checkbox-md.entry.js",
  		"common",
  		30
  	],
  	"./ion-chip-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-chip-ios.entry.js",
  		"common",
  		31
  	],
  	"./ion-chip-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-chip-md.entry.js",
  		"common",
  		32
  	],
  	"./ion-col_3.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-col_3.entry.js",
  		33
  	],
  	"./ion-datetime_3-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-datetime_3-ios.entry.js",
  		"common",
  		34
  	],
  	"./ion-datetime_3-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-datetime_3-md.entry.js",
  		"common",
  		35
  	],
  	"./ion-fab_3-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-fab_3-ios.entry.js",
  		"common",
  		36
  	],
  	"./ion-fab_3-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-fab_3-md.entry.js",
  		"common",
  		37
  	],
  	"./ion-img.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-img.entry.js",
  		38
  	],
  	"./ion-infinite-scroll_2-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-infinite-scroll_2-ios.entry.js",
  		"common",
  		39
  	],
  	"./ion-infinite-scroll_2-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-infinite-scroll_2-md.entry.js",
  		"common",
  		40
  	],
  	"./ion-input-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-input-ios.entry.js",
  		"common",
  		41
  	],
  	"./ion-input-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-input-md.entry.js",
  		"common",
  		42
  	],
  	"./ion-item-option_3-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-item-option_3-ios.entry.js",
  		"common",
  		43
  	],
  	"./ion-item-option_3-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-item-option_3-md.entry.js",
  		"common",
  		44
  	],
  	"./ion-item_8-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-item_8-ios.entry.js",
  		"common",
  		45
  	],
  	"./ion-item_8-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-item_8-md.entry.js",
  		"common",
  		46
  	],
  	"./ion-loading-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-loading-ios.entry.js",
  		"common",
  		47
  	],
  	"./ion-loading-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-loading-md.entry.js",
  		"common",
  		48
  	],
  	"./ion-menu_4-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-menu_4-ios.entry.js",
  		0,
  		"common",
  		49
  	],
  	"./ion-menu_4-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-menu_4-md.entry.js",
  		0,
  		"common",
  		50
  	],
  	"./ion-modal-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-modal-ios.entry.js",
  		1,
  		"common",
  		51
  	],
  	"./ion-modal-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-modal-md.entry.js",
  		1,
  		"common",
  		52
  	],
  	"./ion-nav_4.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-nav_4.entry.js",
  		1,
  		"common",
  		53
  	],
  	"./ion-popover-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-popover-ios.entry.js",
  		1,
  		"common",
  		54
  	],
  	"./ion-popover-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-popover-md.entry.js",
  		1,
  		"common",
  		55
  	],
  	"./ion-progress-bar-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-progress-bar-ios.entry.js",
  		"common",
  		56
  	],
  	"./ion-progress-bar-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-progress-bar-md.entry.js",
  		"common",
  		57
  	],
  	"./ion-radio_2-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-radio_2-ios.entry.js",
  		"common",
  		58
  	],
  	"./ion-radio_2-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-radio_2-md.entry.js",
  		"common",
  		59
  	],
  	"./ion-range-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-range-ios.entry.js",
  		"common",
  		60
  	],
  	"./ion-range-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-range-md.entry.js",
  		"common",
  		61
  	],
  	"./ion-refresher_2-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-refresher_2-ios.entry.js",
  		"common",
  		62
  	],
  	"./ion-refresher_2-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-refresher_2-md.entry.js",
  		"common",
  		63
  	],
  	"./ion-reorder_2-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-reorder_2-ios.entry.js",
  		"common",
  		64
  	],
  	"./ion-reorder_2-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-reorder_2-md.entry.js",
  		"common",
  		65
  	],
  	"./ion-ripple-effect.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-ripple-effect.entry.js",
  		66
  	],
  	"./ion-route_4.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-route_4.entry.js",
  		"common",
  		67
  	],
  	"./ion-searchbar-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-searchbar-ios.entry.js",
  		"common",
  		68
  	],
  	"./ion-searchbar-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-searchbar-md.entry.js",
  		"common",
  		69
  	],
  	"./ion-segment_2-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-segment_2-ios.entry.js",
  		"common",
  		70
  	],
  	"./ion-segment_2-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-segment_2-md.entry.js",
  		"common",
  		71
  	],
  	"./ion-select_3-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-select_3-ios.entry.js",
  		"common",
  		72
  	],
  	"./ion-select_3-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-select_3-md.entry.js",
  		"common",
  		73
  	],
  	"./ion-slide_2-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-slide_2-ios.entry.js",
  		"common",
  		74
  	],
  	"./ion-slide_2-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-slide_2-md.entry.js",
  		"common",
  		75
  	],
  	"./ion-spinner.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-spinner.entry.js",
  		"common",
  		76
  	],
  	"./ion-split-pane-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-split-pane-ios.entry.js",
  		77
  	],
  	"./ion-split-pane-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-split-pane-md.entry.js",
  		78
  	],
  	"./ion-tab-bar_2-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-tab-bar_2-ios.entry.js",
  		"common",
  		79
  	],
  	"./ion-tab-bar_2-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-tab-bar_2-md.entry.js",
  		"common",
  		80
  	],
  	"./ion-tab_2.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-tab_2.entry.js",
  		"common",
  		9
  	],
  	"./ion-text.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-text.entry.js",
  		"common",
  		81
  	],
  	"./ion-textarea-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-textarea-ios.entry.js",
  		"common",
  		82
  	],
  	"./ion-textarea-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-textarea-md.entry.js",
  		"common",
  		83
  	],
  	"./ion-toast-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-toast-ios.entry.js",
  		"common",
  		84
  	],
  	"./ion-toast-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-toast-md.entry.js",
  		"common",
  		85
  	],
  	"./ion-toggle-ios.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-toggle-ios.entry.js",
  		"common",
  		86
  	],
  	"./ion-toggle-md.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-toggle-md.entry.js",
  		"common",
  		87
  	],
  	"./ion-virtual-scroll.entry.js": [
  		"./node_modules/@ionic/core/dist/esm/legacy/ion-virtual-scroll.entry.js",
  		88
  	]
  };
  function webpackAsyncContext(req) {
  	var ids = map[req];
  	if(!ids) {
  		return Promise.resolve().then(function() {
  			var e = new Error("Cannot find module '" + req + "'");
  			e.code = 'MODULE_NOT_FOUND';
  			throw e;
  		});
  	}
  	return Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {
  		var id = ids[0];
  		return __webpack_require__(id);
  	});
  }
  webpackAsyncContext.keys = function webpackAsyncContextKeys() {
  	return Object.keys(map);
  };
  webpackAsyncContext.id = "./node_modules/@ionic/core/dist/esm/legacy lazy recursive ^\\.\\/.*\\.entry\\.js$ include: \\.entry\\.js$ exclude: \\.system\\.entry\\.js$";
  module.exports = webpackAsyncContext;
  
  /***/ }),
  
  /***/ "./src/$$_lazy_route_resource lazy recursive":
  /*!**********************************************************!*\
    !*** ./src/$$_lazy_route_resource lazy namespace object ***!
    \**********************************************************/
  /*! no static exports found */
  /***/ (function(module, exports, __webpack_require__) {
  
  var map = {
  	"../tab1/tab1.module": [
  		"./src/app/pages/tab1/tab1.module.ts",
  		"tab1-tab1-module"
  	],
  	"../tab2/tab2.module": [
  		"./src/app/pages/tab2/tab2.module.ts",
  		"common",
  		"tab2-tab2-module"
  	],
  	"../tab3/tab3.module": [
  		"./src/app/pages/tab3/tab3.module.ts",
  		"tab3-tab3-module"
  	],
  	"./pages/agregar-reporte/agregar-reporte.module": [
  		"./src/app/pages/agregar-reporte/agregar-reporte.module.ts",
  		"common",
  		"pages-agregar-reporte-agregar-reporte-module"
  	],
  	"./pages/login/login.module": [
  		"./src/app/pages/login/login.module.ts",
  		"pages-login-login-module"
  	],
  	"./pages/signup/signup.module": [
  		"./src/app/pages/signup/signup.module.ts",
  		"pages-signup-signup-module"
  	],
  	"./pages/tabs/tabs.module": [
  		"./src/app/pages/tabs/tabs.module.ts",
  		"pages-tabs-tabs-module"
  	]
  };
  function webpackAsyncContext(req) {
  	var ids = map[req];
  	if(!ids) {
  		return Promise.resolve().then(function() {
  			var e = new Error("Cannot find module '" + req + "'");
  			e.code = 'MODULE_NOT_FOUND';
  			throw e;
  		});
  	}
  	return Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {
  		var id = ids[0];
  		return __webpack_require__(id);
  	});
  }
  webpackAsyncContext.keys = function webpackAsyncContextKeys() {
  	return Object.keys(map);
  };
  webpackAsyncContext.id = "./src/$$_lazy_route_resource lazy recursive";
  module.exports = webpackAsyncContext;
  
  /***/ }),
  
  /***/ "./src/app/app-routing.module.ts":
  /*!***************************************!*\
    !*** ./src/app/app-routing.module.ts ***!
    \***************************************/
  /*! exports provided: AppRoutingModule */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppRoutingModule", function() { return AppRoutingModule; });
  /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
  /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
  /* harmony import */ var _guards_auth_guard__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./guards/auth.guard */ "./src/app/guards/auth.guard.ts");
  
  
  
  
  var routes = [
      { path: '', loadChildren: './pages/tabs/tabs.module#TabsPageModule', canActivate: [_guards_auth_guard__WEBPACK_IMPORTED_MODULE_3__["AuthGuard"]] },
      { path: 'login', loadChildren: './pages/login/login.module#LoginPageModule' },
      { path: 'signup', loadChildren: './pages/signup/signup.module#SignupPageModule' },
      { path: 'add-report', loadChildren: './pages/agregar-reporte/agregar-reporte.module#AgregarReportePageModule' }
  ];
  var AppRoutingModule = /** @class */ (function () {
      function AppRoutingModule() {
      }
      AppRoutingModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([
          Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
              imports: [
                  _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"].forRoot(routes, { preloadingStrategy: _angular_router__WEBPACK_IMPORTED_MODULE_2__["PreloadAllModules"] })
              ],
              exports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterModule"]]
          })
      ], AppRoutingModule);
      return AppRoutingModule;
  }());
  
  
  
  /***/ }),
  
  /***/ "./src/app/app.component.html":
  /*!************************************!*\
    !*** ./src/app/app.component.html ***!
    \************************************/
  /*! no static exports found */
  /***/ (function(module, exports) {
  
  module.exports = "<ion-app>\r\n  <ion-router-outlet></ion-router-outlet>\r\n</ion-app>\r\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 tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
  /* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ionic/angular */ "./node_modules/@ionic/angular/dist/fesm5.js");
  /* harmony import */ var _ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ionic-native/splash-screen/ngx */ "./node_modules/@ionic-native/splash-screen/ngx/index.js");
  /* harmony import */ var _ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ionic-native/status-bar/ngx */ "./node_modules/@ionic-native/status-bar/ngx/index.js");
  
  
  
  
  
  var AppComponent = /** @class */ (function () {
      function AppComponent(platform, splashScreen, statusBar) {
          this.platform = platform;
          this.splashScreen = splashScreen;
          this.statusBar = statusBar;
          this.initializeApp();
      }
      AppComponent.prototype.initializeApp = function () {
          var _this = this;
          this.platform.ready().then(function () {
              _this.statusBar.styleDefault();
              _this.splashScreen.hide();
          });
      };
      AppComponent = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([
          Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Component"])({
              selector: 'app-root',
              template: __webpack_require__(/*! ./app.component.html */ "./src/app/app.component.html")
          }),
          tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_ionic_angular__WEBPACK_IMPORTED_MODULE_2__["Platform"],
              _ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_3__["SplashScreen"],
              _ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_4__["StatusBar"]])
      ], 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 tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
  /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/fesm5/platform-browser.js");
  /* harmony import */ var _angular_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/http */ "./node_modules/@angular/http/fesm5/http.js");
  /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
  /* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ionic/angular */ "./node_modules/@ionic/angular/dist/fesm5.js");
  /* harmony import */ var _ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ionic-native/splash-screen/ngx */ "./node_modules/@ionic-native/splash-screen/ngx/index.js");
  /* harmony import */ var _ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ionic-native/status-bar/ngx */ "./node_modules/@ionic-native/status-bar/ngx/index.js");
  /* harmony import */ var _app_routing_module__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./app-routing.module */ "./src/app/app-routing.module.ts");
  /* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./app.component */ "./src/app/app.component.ts");
  /* harmony import */ var _angular_fire_auth__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/fire/auth */ "./node_modules/@angular/fire/auth/index.js");
  /* harmony import */ var _angular_fire__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/fire */ "./node_modules/@angular/fire/index.js");
  /* harmony import */ var _angular_fire_database__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/fire/database */ "./node_modules/@angular/fire/database/index.js");
  /* harmony import */ var _angular_fire_storage__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/fire/storage */ "./node_modules/@angular/fire/storage/index.js");
  /* harmony import */ var _angular_fire_firestore__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/fire/firestore */ "./node_modules/@angular/fire/firestore/index.js");
  /* harmony import */ var src_environments_environment__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! src/environments/environment */ "./src/environments/environment.ts");
  /* harmony import */ var _ionic_native_camera_ngx__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ionic-native/camera/ngx */ "./node_modules/@ionic-native/camera/ngx/index.js");
  /* harmony import */ var _ionic_native_image_picker_ngx__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @ionic-native/image-picker/ngx */ "./node_modules/@ionic-native/image-picker/ngx/index.js");
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  var AppModule = /** @class */ (function () {
      function AppModule() {
      }
      AppModule = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([
          Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"])({
              declarations: [_app_component__WEBPACK_IMPORTED_MODULE_9__["AppComponent"]],
              entryComponents: [],
              imports: [
                  _angular_platform_browser__WEBPACK_IMPORTED_MODULE_2__["BrowserModule"],
                  _ionic_angular__WEBPACK_IMPORTED_MODULE_5__["IonicModule"].forRoot(),
                  _app_routing_module__WEBPACK_IMPORTED_MODULE_8__["AppRoutingModule"],
                  _angular_fire__WEBPACK_IMPORTED_MODULE_11__["AngularFireModule"].initializeApp(src_environments_environment__WEBPACK_IMPORTED_MODULE_15__["environment"].firebase),
                  _angular_fire_auth__WEBPACK_IMPORTED_MODULE_10__["AngularFireAuthModule"],
                  _angular_fire_database__WEBPACK_IMPORTED_MODULE_12__["AngularFireDatabaseModule"],
                  _angular_fire_storage__WEBPACK_IMPORTED_MODULE_13__["AngularFireStorageModule"],
                  _angular_fire_firestore__WEBPACK_IMPORTED_MODULE_14__["AngularFirestoreModule"],
                  _angular_http__WEBPACK_IMPORTED_MODULE_3__["HttpModule"]
              ],
              providers: [
                  _ionic_native_camera_ngx__WEBPACK_IMPORTED_MODULE_16__["Camera"],
                  _ionic_native_status_bar_ngx__WEBPACK_IMPORTED_MODULE_7__["StatusBar"],
                  _ionic_native_image_picker_ngx__WEBPACK_IMPORTED_MODULE_17__["ImagePicker"],
                  _ionic_native_splash_screen_ngx__WEBPACK_IMPORTED_MODULE_6__["SplashScreen"],
                  _angular_fire_auth__WEBPACK_IMPORTED_MODULE_10__["AngularFireAuth"],
                  { provide: _angular_router__WEBPACK_IMPORTED_MODULE_4__["RouteReuseStrategy"], useClass: _ionic_angular__WEBPACK_IMPORTED_MODULE_5__["IonicRouteStrategy"] }
              ],
              bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_9__["AppComponent"]]
          })
      ], AppModule);
      return AppModule;
  }());
  
  
  
  /***/ }),
  
  /***/ "./src/app/guards/auth.guard.ts":
  /*!**************************************!*\
    !*** ./src/app/guards/auth.guard.ts ***!
    \**************************************/
  /*! exports provided: AuthGuard */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AuthGuard", function() { return AuthGuard; });
  /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
  /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/fesm5/router.js");
  /* harmony import */ var _services_authentification_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../services/authentification.service */ "./src/app/services/authentification.service.ts");
  
  
  
  
  var AuthGuard = /** @class */ (function () {
      function AuthGuard(router, auth) {
          this.router = router;
          this.auth = auth;
      }
      AuthGuard.prototype.canActivate = function (route, state) {
          var _this = this;
          return new Promise(function (resolve, reject) {
              _this.auth.getCurrentUser().then(function (user) {
                  return resolve(true);
              }, function (err) {
                  _this.router.navigate(['login']);
                  return resolve(false);
              });
          });
      };
      AuthGuard = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([
          Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
              providedIn: 'root'
          }),
          tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"], _services_authentification_service__WEBPACK_IMPORTED_MODULE_3__["AuthentificationService"]])
      ], AuthGuard);
      return AuthGuard;
  }());
  
  
  
  /***/ }),
  
  /***/ "./src/app/services/authentification.service.ts":
  /*!******************************************************!*\
    !*** ./src/app/services/authentification.service.ts ***!
    \******************************************************/
  /*! exports provided: AuthentificationService */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AuthentificationService", function() { return AuthentificationService; });
  /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js");
  /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/fesm5/core.js");
  /* harmony import */ var _angular_fire_auth__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/fire/auth */ "./node_modules/@angular/fire/auth/index.js");
  /* harmony import */ var firebase_app__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! firebase/app */ "./node_modules/firebase/app/dist/index.cjs.js");
  /* harmony import */ var firebase_app__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(firebase_app__WEBPACK_IMPORTED_MODULE_3__);
  
  
  
  
  var AuthentificationService = /** @class */ (function () {
      function AuthentificationService(firebaseAuth) {
          this.firebaseAuth = firebaseAuth;
          this.user = firebaseAuth.authState;
      }
      AuthentificationService.prototype.getCurrentUser = function () {
          return new Promise(function (resolve, reject) {
              var user = firebase_app__WEBPACK_IMPORTED_MODULE_3__["auth"]().onAuthStateChanged(function (user) {
                  if (user) {
                      resolve(user);
                  }
                  else {
                      reject('No esta logeado');
                  }
              });
          });
      };
      AuthentificationService.prototype.signUp = function (email, password) {
          var _this = this;
          return new Promise(function (resolve, reject) {
              _this.firebaseAuth
                  .auth
                  .createUserWithEmailAndPassword(email, password)
                  .then(function (res) {
                  resolve(res);
              }, function (err) { return reject(err); });
          });
      };
      AuthentificationService.prototype.logIn = function (email, password) {
          this.firebaseAuth
              .auth
              .signInWithEmailAndPassword(email, password)
              .then(function (value) {
              return { message: 'Inicio de sesion correcto!', content: value };
          })
              .catch(function (error) {
              return { message: 'Algo salio mal!', content: error };
          });
      };
      AuthentificationService.prototype.logOut = function () {
          this.firebaseAuth.auth.signOut();
      };
      AuthentificationService = tslib__WEBPACK_IMPORTED_MODULE_0__["__decorate"]([
          Object(_angular_core__WEBPACK_IMPORTED_MODULE_1__["Injectable"])({
              providedIn: 'root'
          }),
          tslib__WEBPACK_IMPORTED_MODULE_0__["__metadata"]("design:paramtypes", [_angular_fire_auth__WEBPACK_IMPORTED_MODULE_2__["AngularFireAuth"]])
      ], AuthentificationService);
      return AuthentificationService;
  }());
  
  
  
  /***/ }),
  
  /***/ "./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: "AIzaSyAEAfxxoI7yAlL1QSFnELagz8MNzeng7TM",
          authDomain: "opravy-420df.firebaseapp.com",
          databaseURL: "https://opravy-420df.firebaseio.com",
          projectId: "opravy-420df",
          storageBucket: "opravy-420df.appspot.com",
          messagingSenderId: "898553215257",
          appId: "1:898553215257:web:47a196a05e0efdf6"
      }
  };
  /*
   * For easier debugging in development mode, you can import the following file
   * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
   *
   * This import should be commented out in production mode because it will have a negative impact
   * on performance if an error is thrown.
   */
  // 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\josh_\Desktop\OpravyApp\src\main.ts */"./src/main.ts");
  
  
  /***/ })
  
  },[[0,"runtime","vendor"]]]);
  //# sourceMappingURL=main.js.map