text: webpackJsonp([10],{
  
  /***/ 305:
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CaptureLoginPageModule", function() { return CaptureLoginPageModule; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ngx_translate_core__ = __webpack_require__(112);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(111);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__captureLogin__ = __webpack_require__(316);
  var __decorate = (this && this.__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 CaptureLoginPageModule = (function () {
      function CaptureLoginPageModule() {
      }
      return CaptureLoginPageModule;
  }());
  CaptureLoginPageModule = __decorate([
      Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["L" /* NgModule */])({
          declarations: [
              __WEBPACK_IMPORTED_MODULE_3__captureLogin__["a" /* CaptureLoginPage */],
          ],
          imports: [
              __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["g" /* IonicPageModule */].forChild(__WEBPACK_IMPORTED_MODULE_3__captureLogin__["a" /* CaptureLoginPage */]),
              __WEBPACK_IMPORTED_MODULE_1__ngx_translate_core__["b" /* TranslateModule */].forChild()
          ],
          exports: [
              __WEBPACK_IMPORTED_MODULE_3__captureLogin__["a" /* CaptureLoginPage */]
          ]
      })
  ], CaptureLoginPageModule);
  
  //# sourceMappingURL=captureLogin.module.js.map
  
  /***/ }),
  
  /***/ 316:
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CaptureLoginPage; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__ngx_translate_core__ = __webpack_require__(112);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(111);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_providers__ = __webpack_require__(43);
  var __decorate = (this && this.__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 = (this && this.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  
  
  
  //import { MainPage } from '../pages';
  var CaptureLoginPage = (function () {
      function CaptureLoginPage(navCtrl, user, toastCtrl, translateService) {
          var _this = this;
          this.navCtrl = navCtrl;
          this.user = user;
          this.toastCtrl = toastCtrl;
          this.translateService = translateService;
          // The account fields for the login form.
          // If you're using the username field with or without email, make
          // sure to add it to the type
          this.account = JSON.stringify({
              username: 'UserName',
              password: 'password'
          });
          this.translateService.get('LOGIN_ERROR').subscribe(function (value) {
              _this.loginErrorString = value;
          });
      }
      CaptureLoginPage.prototype.doLogin = function () {
          var _this = this;
          this.user.login(this.account).subscribe(function (resp) {
              //this.navCtrl.push(MainPage);
          }, function (err) {
              // Unable to log in
              var toast = _this.toastCtrl.create({
                  message: _this.loginErrorString,
                  duration: 3000,
                  position: 'top'
              });
              toast.present();
          });
      };
      return CaptureLoginPage;
  }());
  CaptureLoginPage = __decorate([
      Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["n" /* Component */])({
          selector: 'page-captureLogin',template:/*ion-inline-start:"C:\Users\round\Documents\facialRec\facialRec\src\pages\captureLogin\captureLogin.html"*/'<ion-content>\n\n      <div class="imageStream">\n        <div class="streamControls">\n          <div>\n            <button class="capture" (click)="doLogin()"></button>\n          </div>\n          <div class="backContainer">\n            <button class="backCtrl" (click)="goBack()"></button>\n          </div>\n        </div>\n      </div>\n\n</ion-content>\n'/*ion-inline-end:"C:\Users\round\Documents\facialRec\facialRec\src\pages\captureLogin\captureLogin.html"*/
      }),
      __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["i" /* NavController */],
          __WEBPACK_IMPORTED_MODULE_3__providers_providers__["d" /* User */],
          __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["l" /* ToastController */],
          __WEBPACK_IMPORTED_MODULE_1__ngx_translate_core__["c" /* TranslateService */]])
  ], CaptureLoginPage);
  
  //# sourceMappingURL=captureLogin.js.map
  
  /***/ })
  
  });
  //# sourceMappingURL=10.js.map