text: module.exports =
  /******/ (function(modules) { // webpackBootstrap
  /******/ 	// The module cache
  /******/ 	var installedModules = require('../../../ssr-module-cache.js');
  /******/
  /******/ 	// The require function
  /******/ 	function __webpack_require__(moduleId) {
  /******/
  /******/ 		// Check if module is in cache
  /******/ 		if(installedModules[moduleId]) {
  /******/ 			return installedModules[moduleId].exports;
  /******/ 		}
  /******/ 		// Create a new module (and put it into the cache)
  /******/ 		var module = installedModules[moduleId] = {
  /******/ 			i: moduleId,
  /******/ 			l: false,
  /******/ 			exports: {}
  /******/ 		};
  /******/
  /******/ 		// Execute the module function
  /******/ 		var threw = true;
  /******/ 		try {
  /******/ 			modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  /******/ 			threw = false;
  /******/ 		} finally {
  /******/ 			if(threw) delete installedModules[moduleId];
  /******/ 		}
  /******/
  /******/ 		// Flag the module as loaded
  /******/ 		module.l = true;
  /******/
  /******/ 		// Return the exports of the module
  /******/ 		return module.exports;
  /******/ 	}
  /******/
  /******/
  /******/ 	// expose the modules object (__webpack_modules__)
  /******/ 	__webpack_require__.m = modules;
  /******/
  /******/ 	// expose the module cache
  /******/ 	__webpack_require__.c = installedModules;
  /******/
  /******/ 	// define getter function for harmony exports
  /******/ 	__webpack_require__.d = function(exports, name, getter) {
  /******/ 		if(!__webpack_require__.o(exports, name)) {
  /******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
  /******/ 		}
  /******/ 	};
  /******/
  /******/ 	// define __esModule on exports
  /******/ 	__webpack_require__.r = function(exports) {
  /******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  /******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  /******/ 		}
  /******/ 		Object.defineProperty(exports, '__esModule', { value: true });
  /******/ 	};
  /******/
  /******/ 	// create a fake namespace object
  /******/ 	// mode & 1: value is a module id, require it
  /******/ 	// mode & 2: merge all properties of value into the ns
  /******/ 	// mode & 4: return value when already ns object
  /******/ 	// mode & 8|1: behave like require
  /******/ 	__webpack_require__.t = function(value, mode) {
  /******/ 		if(mode & 1) value = __webpack_require__(value);
  /******/ 		if(mode & 8) return value;
  /******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  /******/ 		var ns = Object.create(null);
  /******/ 		__webpack_require__.r(ns);
  /******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  /******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  /******/ 		return ns;
  /******/ 	};
  /******/
  /******/ 	// getDefaultExport function for compatibility with non-harmony modules
  /******/ 	__webpack_require__.n = function(module) {
  /******/ 		var getter = module && module.__esModule ?
  /******/ 			function getDefault() { return module['default']; } :
  /******/ 			function getModuleExports() { return module; };
  /******/ 		__webpack_require__.d(getter, 'a', getter);
  /******/ 		return getter;
  /******/ 	};
  /******/
  /******/ 	// Object.prototype.hasOwnProperty.call
  /******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  /******/
  /******/ 	// __webpack_public_path__
  /******/ 	__webpack_require__.p = "";
  /******/
  /******/
  /******/ 	// Load entry module and return exports
  /******/ 	return __webpack_require__(__webpack_require__.s = 2);
  /******/ })
  /************************************************************************/
  /******/ ({
  
  /***/ "/+P4":
  /***/ (function(module, exports, __webpack_require__) {
  
  var _Object$getPrototypeOf = __webpack_require__("Bhuq");
  
  var _Object$setPrototypeOf = __webpack_require__("TRZx");
  
  function _getPrototypeOf(o) {
    module.exports = _getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf : function _getPrototypeOf(o) {
      return o.__proto__ || _Object$getPrototypeOf(o);
    };
    return _getPrototypeOf(o);
  }
  
  module.exports = _getPrototypeOf;
  
  /***/ }),
  
  /***/ "/+oN":
  /***/ (function(module, exports) {
  
  module.exports = require("core-js/library/fn/object/get-prototype-of");
  
  /***/ }),
  
  /***/ "/HRN":
  /***/ (function(module, exports) {
  
  function _classCallCheck(instance, Constructor) {
    if (!(instance instanceof Constructor)) {
      throw new TypeError("Cannot call a class as a function");
    }
  }
  
  module.exports = _classCallCheck;
  
  /***/ }),
  
  /***/ 2:
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__("mVat");
  
  
  /***/ }),
  
  /***/ "4Q3z":
  /***/ (function(module, exports) {
  
  module.exports = require("next/router");
  
  /***/ }),
  
  /***/ "4oSG":
  /***/ (function(module, exports) {
  
  module.exports = "/_next/static/images/logo-fredoka-v4@2x-3b02020ddfaf9ff6ba12d6533364037b.png";
  
  /***/ }),
  
  /***/ "4vsW":
  /***/ (function(module, exports) {
  
  module.exports = require("node-fetch");
  
  /***/ }),
  
  /***/ "6dKc":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GuestHeader; });
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("xnum");
  /* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_head__WEBPACK_IMPORTED_MODULE_1__);
  function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
  
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
  
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
  
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
  
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
  
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
  
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
  
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
  
  
  
  var GuestHeader =
  /*#__PURE__*/
  function (_Component) {
    _inherits(GuestHeader, _Component);
  
    function GuestHeader(props) {
      _classCallCheck(this, GuestHeader);
  
      return _possibleConstructorReturn(this, _getPrototypeOf(GuestHeader).call(this, props));
    }
  
    _createClass(GuestHeader, [{
      key: "render",
      value: function render() {
        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(next_head__WEBPACK_IMPORTED_MODULE_1___default.a, null, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("meta", {
          charSet: "UTF-8"
        }), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("title", null, this.props.title || ''), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("meta", {
          name: "description",
          content: this.props.description || ''
        }), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("meta", {
          name: "viewport",
          content: "width=device-width, initial-scale=1"
        }), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("link", {
          rel: "icon",
          type: "image/png",
          href: "/static/resources/images/logo-fredokav3@2x.png"
        }));
      }
    }]);
  
    return GuestHeader;
  }(react__WEBPACK_IMPORTED_MODULE_0__["Component"]);
  
  /***/ }),
  
  /***/ "97z3":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return authenticate; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return register; });
  /* harmony import */ var js_cookie__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("vmXh");
  /* harmony import */ var js_cookie__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(js_cookie__WEBPACK_IMPORTED_MODULE_0__);
  /* harmony import */ var _redux_constants_authentication_constant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("cRSR");
  /* harmony import */ var _redux_helpers_authentication_helper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("Shr3");
  /* harmony import */ var _fragments_tools_alert_toasts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("cOit");
  
  
  
  
  function authenticate(email, password, admin, reset, router) {
    return function (dispatch) {
      Object(_redux_helpers_authentication_helper__WEBPACK_IMPORTED_MODULE_2__[/* authenticateService */ "a"])(email, password, admin).then(function (first) {
        return first;
      }).then(function (second) {
        if (second.hasOwnProperty('errors')) {
          reset();
          Object(_fragments_tools_alert_toasts__WEBPACK_IMPORTED_MODULE_3__[/* showWarning */ "b"])("Authentification échoué.");
        } else {
          if (admin === true) {
            js_cookie__WEBPACK_IMPORTED_MODULE_0___default.a.set('authentication-token', second.data.retrieveAdminAccount.authenticateToken);
            js_cookie__WEBPACK_IMPORTED_MODULE_0___default.a.set('authentication-user', JSON.stringify(second.data.retrieveAdminAccount));
          } else {
            js_cookie__WEBPACK_IMPORTED_MODULE_0___default.a.set('authentication-token', second.data.retrieveGuestAccount.authenticateToken);
            js_cookie__WEBPACK_IMPORTED_MODULE_0___default.a.set('authentication-user', JSON.stringify(second.data.retrieveGuestAccount));
          }
  
          admin === true ? router.push('/admin-dashboard') : router.push('/user-dashboard');
        }
      });
    };
  
    function request() {
      return {
        type: _redux_constants_authentication_constant__WEBPACK_IMPORTED_MODULE_1__[/* authenticationConstants */ "a"].authenticationRequest,
        user: null
      };
    }
  
    function failure() {
      return {
        type: _redux_constants_authentication_constant__WEBPACK_IMPORTED_MODULE_1__[/* authenticationConstants */ "a"].authenticationFailure,
        user: null
      };
    }
  
    function success() {
      return {
        type: _redux_constants_authentication_constant__WEBPACK_IMPORTED_MODULE_1__[/* authenticationConstants */ "a"].authenticationSuccess,
        user: user
      };
    }
  }
  function register(civility, firstname, lastname, email, password, phone, cancel) {
    return function (dispatch) {
      Object(_redux_helpers_authentication_helper__WEBPACK_IMPORTED_MODULE_2__[/* registerService */ "c"])(civility, firstname, lastname, email, password, phone).then(function (first) {
        return first;
      }).then(function (second) {
        if (second.hasOwnProperty('errors')) {
          dispatch(failure());
          Object(_fragments_tools_alert_toasts__WEBPACK_IMPORTED_MODULE_3__[/* showWarning */ "b"])("Inscription échoué.");
          cancel();
        } else {
          dispatch(success());
          cancel();
          window.location.reload();
          Object(_fragments_tools_alert_toasts__WEBPACK_IMPORTED_MODULE_3__[/* showSuccess */ "a"])("Inscription avec succès.");
        }
      });
    };
  
    function request() {
      return {
        type: _redux_constants_authentication_constant__WEBPACK_IMPORTED_MODULE_1__[/* authenticationConstants */ "a"].registerRequest
      };
    }
  
    function failure() {
      return {
        type: _redux_constants_authentication_constant__WEBPACK_IMPORTED_MODULE_1__[/* authenticationConstants */ "a"].registerFailure
      };
    }
  
    function success() {
      return {
        type: _redux_constants_authentication_constant__WEBPACK_IMPORTED_MODULE_1__[/* authenticationConstants */ "a"].registerSuccess
      };
    }
  }
  
  /***/ }),
  
  /***/ "9Jkg":
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__("fozc");
  
  /***/ }),
  
  /***/ "Bhuq":
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__("/+oN");
  
  /***/ }),
  
  /***/ "Exp3":
  /***/ (function(module, exports) {
  
  module.exports = require("antd");
  
  /***/ }),
  
  /***/ "G4lZ":
  /***/ (function(module, exports) {
  
  module.exports = require("react-facebook-login/dist/facebook-login-render-props");
  
  /***/ }),
  
  /***/ "GHQa":
  /***/ (function(module, exports) {
  
  
  
  /***/ }),
  
  /***/ "K47E":
  /***/ (function(module, exports) {
  
  function _assertThisInitialized(self) {
    if (self === void 0) {
      throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
    }
  
    return self;
  }
  
  module.exports = _assertThisInitialized;
  
  /***/ }),
  
  /***/ "KI45":
  /***/ (function(module, exports) {
  
  function _interopRequireDefault(obj) {
    return obj && obj.__esModule ? obj : {
      default: obj
    };
  }
  
  module.exports = _interopRequireDefault;
  
  /***/ }),
  
  /***/ "N9n2":
  /***/ (function(module, exports, __webpack_require__) {
  
  var _Object$create = __webpack_require__("SqZg");
  
  var setPrototypeOf = __webpack_require__("vjea");
  
  function _inherits(subClass, superClass) {
    if (typeof superClass !== "function" && superClass !== null) {
      throw new TypeError("Super expression must either be null or a function");
    }
  
    subClass.prototype = _Object$create(superClass && superClass.prototype, {
      constructor: {
        value: subClass,
        writable: true,
        configurable: true
      }
    });
    if (superClass) setPrototypeOf(subClass, superClass);
  }
  
  module.exports = _inherits;
  
  /***/ }),
  
  /***/ "Shr3":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  
  // EXTERNAL MODULE: external "js-cookie"
  var external_js_cookie_ = __webpack_require__("vmXh");
  var external_js_cookie_default = /*#__PURE__*/__webpack_require__.n(external_js_cookie_);
  
  // EXTERNAL MODULE: external "next/router"
  var router_ = __webpack_require__("4Q3z");
  var router_default = /*#__PURE__*/__webpack_require__.n(router_);
  
  // EXTERNAL MODULE: external "graphql-tag"
  var external_graphql_tag_ = __webpack_require__("txk1");
  
  // CONCATENATED MODULE: ./source/components/apollo-client/account-apollo/authentication-query.js
  
  
  var retrieveAccount = function retrieveAccount(admin) {
    var query;
  
    if (admin === true) {
      query = "mutation retrieveAdminAccount($email: String!, $password: String!) { retrieveAdminAccount(email: $email, password: $password) { firstname, lastname, token, authenticateToken, email, city, main_address, secondary_address } }";
    } else if (admin === false) {
      query = "mutation retrieveGuestAccount($email: String!, $password: String!) { retrieveGuestAccount(email: $email, password: $password) { firstname, lastname, token, authenticateToken, email, city, main_address, secondary_address } }";
    }
  
    return query;
  };
  
  var registerQuery = "mutation makeGuestAccount($civility: String!, $firstname: String!, $lastname: String!, $phone: String!, $email: String!, $password: String!) { makeGuestAccount(email: $email, password: $password, civility: $civility, firstname: $firstname, lastname: $lastname, phone: $phone) \n    { firstname, lastname, token, email } }";
  
  // EXTERNAL MODULE: external "node-fetch"
  var external_node_fetch_ = __webpack_require__("4vsW");
  var external_node_fetch_default = /*#__PURE__*/__webpack_require__.n(external_node_fetch_);
  
  // CONCATENATED MODULE: ./source/components/redux-helpers/authentication-helper.js
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return authenticateService; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return logoutService; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return registerService; });
  
  
  
  
  var hostname = 'http://10.188.109.85';
  function authenticateService(email, password, admin) {
    var authenticationQuery = retrieveAccount(admin);
    return external_node_fetch_default()(hostname + ':3000/v1/graphql-first-instance/BtL7NQwOt0R7psYw1Fyx', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
        'Accept': 'application/json'
      },
      body: JSON.stringify({
        query: authenticationQuery,
        variables: {
          email: email,
          password: password
        }
      })
    }).then(function (response) {
      return response.json();
    }).then(function (data) {
      return data;
    });
  }
  function logoutService(admin) {
    external_js_cookie_default.a.remove('authentication-token');
    external_js_cookie_default.a.remove('authentication-user');
    admin ? router_default.a.push('/admin-account') : router_default.a.push('/');
  }
  function registerService(civility, firstname, lastname, email, password, phone) {
    return external_node_fetch_default()(hostname + ':3000/v1/graphql-first-instance/BtL7NQwOt0R7psYw1Fyx', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
        'Accept': 'application/json'
      },
      body: JSON.stringify({
        query: registerQuery,
        variables: {
          civility: civility,
          firstname: firstname,
          lastname: lastname,
          email: email,
          password: password,
          phone: phone
        }
      })
    }).then(function (response) {
      return response.json();
    }).then(function (data) {
      return data;
    });
  }
  
  /***/ }),
  
  /***/ "SqZg":
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__("o5io");
  
  /***/ }),
  
  /***/ "TRZx":
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__("Wk4r");
  
  /***/ }),
  
  /***/ "TUA0":
  /***/ (function(module, exports) {
  
  module.exports = require("core-js/library/fn/object/define-property");
  
  /***/ }),
  
  /***/ "WaGi":
  /***/ (function(module, exports, __webpack_require__) {
  
  var _Object$defineProperty = __webpack_require__("hfKm");
  
  function _defineProperties(target, props) {
    for (var i = 0; i < props.length; i++) {
      var descriptor = props[i];
      descriptor.enumerable = descriptor.enumerable || false;
      descriptor.configurable = true;
      if ("value" in descriptor) descriptor.writable = true;
  
      _Object$defineProperty(target, descriptor.key, descriptor);
    }
  }
  
  function _createClass(Constructor, protoProps, staticProps) {
    if (protoProps) _defineProperties(Constructor.prototype, protoProps);
    if (staticProps) _defineProperties(Constructor, staticProps);
    return Constructor;
  }
  
  module.exports = _createClass;
  
  /***/ }),
  
  /***/ "Wk4r":
  /***/ (function(module, exports) {
  
  module.exports = require("core-js/library/fn/object/set-prototype-of");
  
  /***/ }),
  
  /***/ "XVgq":
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__("gHn/");
  
  /***/ }),
  
  /***/ "YFqc":
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__("cTJO")
  
  
  /***/ }),
  
  /***/ "Z7t5":
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__("vqFK");
  
  /***/ }),
  
  /***/ "ZDA2":
  /***/ (function(module, exports, __webpack_require__) {
  
  var _typeof = __webpack_require__("iZP3");
  
  var assertThisInitialized = __webpack_require__("K47E");
  
  function _possibleConstructorReturn(self, call) {
    if (call && (_typeof(call) === "object" || typeof call === "function")) {
      return call;
    }
  
    return assertThisInitialized(self);
  }
  
  module.exports = _possibleConstructorReturn;
  
  /***/ }),
  
  /***/ "bzos":
  /***/ (function(module, exports) {
  
  module.exports = require("url");
  
  /***/ }),
  
  /***/ "cDcd":
  /***/ (function(module, exports) {
  
  module.exports = require("react");
  
  /***/ }),
  
  /***/ "cOit":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return showWarning; });
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return showSuccess; });
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Exp3");
  /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(antd__WEBPACK_IMPORTED_MODULE_1__);
  /* harmony import */ var _static_resources_admin_account_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("o9iy");
  /* harmony import */ var _static_resources_admin_account_scss__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_static_resources_admin_account_scss__WEBPACK_IMPORTED_MODULE_2__);
  
  
  
  function showWarning(message) {
    antd__WEBPACK_IMPORTED_MODULE_1__["notification"].open({
      message: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
        className: "error-text-login"
      }, message),
      icon: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_1__["Icon"], {
        type: "warning",
        style: {
          color: '#108ee9'
        },
        className: "error-icon-login"
      }),
      className: 'notification-warning-toast'
    });
  }
  function showSuccess(message) {
    antd__WEBPACK_IMPORTED_MODULE_1__["notification"].open({
      message: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
        className: "error-text-login"
      }, message),
      icon: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_1__["Icon"], {
        type: "check-circle",
        style: {
          color: '#108ee9'
        },
        className: "error-icon-login"
      }),
      className: 'notification-warning-toast'
    });
  }
  
  /***/ }),
  
  /***/ "cRSR":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return authenticationConstants; });
  var authenticationConstants = {
    authenticationFailure: 'authenticationFailure',
    authenticationSuccess: 'authenticationSuccess',
    authenticationRequest: 'authenticationSuccess',
    registerFailure: 'registerFailure',
    registerSuccess: 'registerSuccess',
    registerRequest: 'registerRequest'
  };
  
  /***/ }),
  
  /***/ "cTJO":
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  
  /* global __NEXT_DATA__ */
  
  var _interopRequireDefault = __webpack_require__("KI45");
  
  var _stringify = _interopRequireDefault(__webpack_require__("9Jkg"));
  
  var _classCallCheck2 = _interopRequireDefault(__webpack_require__("/HRN"));
  
  var _createClass2 = _interopRequireDefault(__webpack_require__("WaGi"));
  
  var _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__("ZDA2"));
  
  var _getPrototypeOf2 = _interopRequireDefault(__webpack_require__("/+P4"));
  
  var _inherits2 = _interopRequireDefault(__webpack_require__("N9n2"));
  
  var __importStar = void 0 && (void 0).__importStar || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) {
      if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    }
    result["default"] = mod;
    return result;
  };
  
  var __importDefault = void 0 && (void 0).__importDefault || function (mod) {
    return mod && mod.__esModule ? mod : {
      "default": mod
    };
  };
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  
  var url_1 = __webpack_require__("bzos");
  
  var react_1 = __importStar(__webpack_require__("cDcd"));
  
  var prop_types_1 = __importDefault(__webpack_require__("rf6O"));
  
  var router_1 = __importStar(__webpack_require__("4Q3z"));
  
  var utils_1 = __webpack_require__("p8BD");
  
  function isLocal(href) {
    var url = url_1.parse(href, false, true);
    var origin = url_1.parse(utils_1.getLocationOrigin(), false, true);
    return !url.host || url.protocol === origin.protocol && url.host === origin.host;
  }
  
  function memoizedFormatUrl(formatFunc) {
    var lastHref = null;
    var lastAs = null;
    var lastResult = null;
    return function (href, as) {
      if (href === lastHref && as === lastAs) {
        return lastResult;
      }
  
      var result = formatFunc(href, as);
      lastHref = href;
      lastAs = as;
      lastResult = result;
      return result;
    };
  }
  
  function formatUrl(url) {
    return url && typeof url === 'object' ? utils_1.formatWithValidation(url) : url;
  }
  
  var Link =
  /*#__PURE__*/
  function (_react_1$Component) {
    (0, _inherits2.default)(Link, _react_1$Component);
  
    function Link() {
      var _this;
  
      (0, _classCallCheck2.default)(this, Link);
      _this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(Link).apply(this, arguments)); // The function is memoized so that no extra lifecycles are needed
      // as per https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html
  
      _this.formatUrls = memoizedFormatUrl(function (href, asHref) {
        return {
          href: formatUrl(href),
          as: formatUrl(asHref, true)
        };
      });
  
      _this.linkClicked = function (e) {
        var _e$currentTarget = e.currentTarget,
            nodeName = _e$currentTarget.nodeName,
            target = _e$currentTarget.target;
  
        if (nodeName === 'A' && (target && target !== '_self' || e.metaKey || e.ctrlKey || e.shiftKey || e.nativeEvent && e.nativeEvent.which === 2)) {
          // ignore click for new tab / new window behavior
          return;
        }
  
        var _this$formatUrls = _this.formatUrls(_this.props.href, _this.props.as),
            href = _this$formatUrls.href,
            as = _this$formatUrls.as;
  
        if (!isLocal(href)) {
          // ignore click if it's outside our scope
          return;
        }
  
        var pathname = window.location.pathname;
        href = url_1.resolve(pathname, href);
        as = as ? url_1.resolve(pathname, as) : href;
        e.preventDefault(); //  avoid scroll for urls with anchor refs
  
        var scroll = _this.props.scroll;
  
        if (scroll == null) {
          scroll = as.indexOf('#') < 0;
        } // replace state instead of push if prop is present
  
  
        router_1.default[_this.props.replace ? 'replace' : 'push'](href, as, {
          shallow: _this.props.shallow
        }).then(function (success) {
          if (!success) return;
  
          if (scroll) {
            window.scrollTo(0, 0);
            document.body.focus();
          }
        }).catch(function (err) {
          if (_this.props.onError) _this.props.onError(err);
        });
      };
  
      return _this;
    }
  
    (0, _createClass2.default)(Link, [{
      key: "componentDidMount",
      value: function componentDidMount() {
        this.prefetch();
      }
    }, {
      key: "componentDidUpdate",
      value: function componentDidUpdate(prevProps) {
        if ((0, _stringify.default)(this.props.href) !== (0, _stringify.default)(prevProps.href)) {
          this.prefetch();
        }
      }
    }, {
      key: "prefetch",
      value: function prefetch() {
        if (!this.props.prefetch) return;
        if (typeof window === 'undefined') return; // Prefetch the JSON page if asked (only in the client)
  
        var pathname = window.location.pathname;
  
        var _this$formatUrls2 = this.formatUrls(this.props.href, this.props.as),
            parsedHref = _this$formatUrls2.href;
  
        var href = url_1.resolve(pathname, parsedHref);
        router_1.default.prefetch(href);
      }
    }, {
      key: "render",
      value: function render() {
        var _this2 = this;
  
        var children = this.props.children;
  
        var _this$formatUrls3 = this.formatUrls(this.props.href, this.props.as),
            href = _this$formatUrls3.href,
            as = _this$formatUrls3.as; // Deprecated. Warning shown by propType check. If the childen provided is a string (<Link>example</Link>) we wrap it in an <a> tag
  
  
        if (typeof children === 'string') {
          children = react_1.default.createElement("a", null, children);
        } // This will return the first child, if multiple are provided it will throw an error
  
  
        var child = react_1.Children.only(children);
        var props = {
          onClick: function onClick(e) {
            if (child.props && typeof child.props.onClick === 'function') {
              child.props.onClick(e);
            }
  
            if (!e.defaultPrevented) {
              _this2.linkClicked(e);
            }
          }
        }; // If child is an <a> tag and doesn't have a href attribute, or if the 'passHref' property is
        // defined, we specify the current 'href', so that repetition is not needed by the user
  
        if (this.props.passHref || child.type === 'a' && !('href' in child.props)) {
          props.href = as || href;
        } // Add the ending slash to the paths. So, we can serve the
        // "<page>/index.html" directly.
  
  
        if (true) {
          if (props.href && typeof __NEXT_DATA__ !== 'undefined' && __NEXT_DATA__.nextExport) {
            props.href = router_1.Router._rewriteUrlForNextExport(props.href);
          }
        }
  
        return react_1.default.cloneElement(child, props);
      }
    }]);
    return Link;
  }(react_1.Component);
  
  if (false) { var exact, warn; }
  
  exports.default = Link;
  
  /***/ }),
  
  /***/ "fozc":
  /***/ (function(module, exports) {
  
  module.exports = require("core-js/library/fn/json/stringify");
  
  /***/ }),
  
  /***/ "gHn/":
  /***/ (function(module, exports) {
  
  module.exports = require("core-js/library/fn/symbol/iterator");
  
  /***/ }),
  
  /***/ "gkbE":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GuestFooter; });
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  /* harmony import */ var _static_resources_images_logo_fredoka_v4_2x_png__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("4oSG");
  /* harmony import */ var _static_resources_images_logo_fredoka_v4_2x_png__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_static_resources_images_logo_fredoka_v4_2x_png__WEBPACK_IMPORTED_MODULE_1__);
  function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
  
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
  
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
  
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
  
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
  
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
  
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
  
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
  
  
  
  var GuestFooter =
  /*#__PURE__*/
  function (_Component) {
    _inherits(GuestFooter, _Component);
  
    function GuestFooter(props) {
      _classCallCheck(this, GuestFooter);
  
      return _possibleConstructorReturn(this, _getPrototypeOf(GuestFooter).call(this, props));
    }
  
    _createClass(GuestFooter, [{
      key: "render",
      value: function render() {
        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment, null, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "container footer-guest mt-5"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "row d-flex flex-row"
        }, "Hello"), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "row d-flex flex-row"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-4"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("img", {
          src: _static_resources_images_logo_fredoka_v4_2x_png__WEBPACK_IMPORTED_MODULE_1___default.a,
          className: "footer-application-logo"
        })), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-8"
        }))));
      }
    }]);
  
    return GuestFooter;
  }(react__WEBPACK_IMPORTED_MODULE_0__["Component"]);
  
  /***/ }),
  
  /***/ "h74D":
  /***/ (function(module, exports) {
  
  module.exports = require("react-redux");
  
  /***/ }),
  
  /***/ "hfKm":
  /***/ (function(module, exports, __webpack_require__) {
  
  module.exports = __webpack_require__("TUA0");
  
  /***/ }),
  
  /***/ "iZP3":
  /***/ (function(module, exports, __webpack_require__) {
  
  var _Symbol$iterator = __webpack_require__("XVgq");
  
  var _Symbol = __webpack_require__("Z7t5");
  
  function _typeof2(obj) { if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
  
  function _typeof(obj) {
    if (typeof _Symbol === "function" && _typeof2(_Symbol$iterator) === "symbol") {
      module.exports = _typeof = function _typeof(obj) {
        return _typeof2(obj);
      };
    } else {
      module.exports = _typeof = function _typeof(obj) {
        return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : _typeof2(obj);
      };
    }
  
    return _typeof(obj);
  }
  
  module.exports = _typeof;
  
  /***/ }),
  
  /***/ "mVat":
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  /* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("h74D");
  /* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_redux__WEBPACK_IMPORTED_MODULE_1__);
  /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("YFqc");
  /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_2__);
  /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("4Q3z");
  /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_3__);
  /* harmony import */ var _fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("sLJp");
  /* harmony import */ var _fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_4__);
  /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("uhWA");
  /* harmony import */ var _fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__);
  /* harmony import */ var _fortawesome_free_regular_svg_icons__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("s7eq");
  /* harmony import */ var _fortawesome_free_regular_svg_icons__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fortawesome_free_regular_svg_icons__WEBPACK_IMPORTED_MODULE_6__);
  /* harmony import */ var react_facebook_login_dist_facebook_login_render_props__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("G4lZ");
  /* harmony import */ var react_facebook_login_dist_facebook_login_render_props__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react_facebook_login_dist_facebook_login_render_props__WEBPACK_IMPORTED_MODULE_7__);
  /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("Exp3");
  /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(antd__WEBPACK_IMPORTED_MODULE_8__);
  /* harmony import */ var _blueprintjs_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("ozu2");
  /* harmony import */ var _blueprintjs_core__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_blueprintjs_core__WEBPACK_IMPORTED_MODULE_9__);
  /* harmony import */ var _source_components_redux_actions_authentication_action__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("97z3");
  /* harmony import */ var _source_components_component_header_guest__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("6dKc");
  /* harmony import */ var _source_components_component_footer_guest__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__("gkbE");
  /* harmony import */ var _static_resources_guest_account_scss__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__("GHQa");
  /* harmony import */ var _static_resources_guest_account_scss__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_static_resources_guest_account_scss__WEBPACK_IMPORTED_MODULE_13__);
  function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
  
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
  
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
  
  function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
  
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
  
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
  
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
  
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  var SUserAccount =
  /*#__PURE__*/
  function (_Component) {
    _inherits(SUserAccount, _Component);
  
    function SUserAccount(props) {
      var _this;
  
      _classCallCheck(this, SUserAccount);
  
      _this = _possibleConstructorReturn(this, _getPrototypeOf(SUserAccount).call(this, props));
      _this.state = {
        register: false,
        registerCivility: 'Monsieur',
        registerFirstname: '',
        registerLastname: '',
        registerEmail: '',
        registerPhone: '',
        registerPassword: '',
        registering: false,
        loginEmail: '',
        loginPassword: '',
        loging: false
      };
      _this.onRegisterToggle = _this.onRegisterToggle.bind(_assertThisInitialized(_this));
      _this.onRegisterCivility = _this.onRegisterCivility.bind(_assertThisInitialized(_this));
      _this.onCancel = _this.onCancel.bind(_assertThisInitialized(_this));
      _this.onRegisterFirstname = _this.onRegisterFirstname.bind(_assertThisInitialized(_this));
      _this.onRegisterLastname = _this.onRegisterLastname.bind(_assertThisInitialized(_this));
      _this.onRegisterPassword = _this.onRegisterPassword.bind(_assertThisInitialized(_this));
      _this.onRegisterEmail = _this.onRegisterEmail.bind(_assertThisInitialized(_this));
      _this.onRegisterPhone = _this.onRegisterPhone.bind(_assertThisInitialized(_this));
      _this.onRegister = _this.onRegister.bind(_assertThisInitialized(_this));
      _this.onLogin = _this.onLogin.bind(_assertThisInitialized(_this));
      _this.onLoginEmail = _this.onLoginEmail.bind(_assertThisInitialized(_this));
      _this.onLoginPassword = _this.onLoginPassword.bind(_assertThisInitialized(_this));
      _this.onCancelLogin = _this.onCancelLogin.bind(_assertThisInitialized(_this));
      return _this;
    }
  
    _createClass(SUserAccount, [{
      key: "componentDidMount",
      value: function componentDidMount() {
        _fortawesome_fontawesome_svg_core__WEBPACK_IMPORTED_MODULE_4__["library"].add(_fortawesome_free_regular_svg_icons__WEBPACK_IMPORTED_MODULE_6__["far"], _fortawesome_free_regular_svg_icons__WEBPACK_IMPORTED_MODULE_6__["faPaperPlane"]);
      }
    }, {
      key: "onRegisterToggle",
      value: function onRegisterToggle(event) {
        this.setState({
          register: !this.state.register
        });
      }
    }, {
      key: "onRegisterCivility",
      value: function onRegisterCivility(event) {
        this.setState({
          registerCivility: event
        });
      }
    }, {
      key: "onRegisterFirstname",
      value: function onRegisterFirstname(event) {
        this.setState({
          registerFirstname: event.target.value
        });
      }
    }, {
      key: "onRegisterLastname",
      value: function onRegisterLastname(event) {
        this.setState({
          registerLastname: event.target.value
        });
      }
    }, {
      key: "onRegisterEmail",
      value: function onRegisterEmail(event) {
        this.setState({
          registerEmail: event.target.value
        });
      }
    }, {
      key: "onRegisterPhone",
      value: function onRegisterPhone(event) {
        this.setState({
          registerPhone: event.target.value
        });
      }
    }, {
      key: "onRegisterPassword",
      value: function onRegisterPassword(event) {
        this.setState({
          registerPassword: event.target.value
        });
      }
    }, {
      key: "onCancel",
      value: function onCancel(event) {
        this.setState({
          registering: false
        });
      }
    }, {
      key: "onLoginEmail",
      value: function onLoginEmail(event) {
        this.setState({
          loginEmail: event.target.value
        });
      }
    }, {
      key: "onLoginPassword",
      value: function onLoginPassword(event) {
        this.setState({
          loginPassword: event.target.value
        });
      }
    }, {
      key: "onCancelLogin",
      value: function onCancelLogin(event) {
        this.setState({
          loging: false
        });
      }
    }, {
      key: "onRegister",
      value: function onRegister(event) {
        this.setState({
          registering: true
        });
        var dispatch = this.props.dispatch;
        dispatch(Object(_source_components_redux_actions_authentication_action__WEBPACK_IMPORTED_MODULE_10__[/* register */ "b"])(this.state.registerCivility, this.state.registerFirstname, this.state.registerLastname, this.state.registerEmail, this.state.registerPassword, this.state.registerPhone, this.onCancel));
      }
    }, {
      key: "onLogin",
      value: function onLogin(event) {
        this.setState({
          loging: true
        });
        var dispatch = this.props.dispatch;
        dispatch(Object(_source_components_redux_actions_authentication_action__WEBPACK_IMPORTED_MODULE_10__[/* authenticate */ "a"])(this.state.loginEmail, this.state.loginPassword, false, this.onCancelLogin, next_router__WEBPACK_IMPORTED_MODULE_3___default.a));
      }
    }, {
      key: "render",
      value: function render() {
        return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment, null, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_source_components_component_header_guest__WEBPACK_IMPORTED_MODULE_11__[/* GuestHeader */ "a"], {
          title: "Muscle Feed | Mon compte",
          description: "Boutique en ligne de compl\xE9ments alimentaires et de prot\xE9ines pour la musculation \xE0 prix cass\xE9. Le meilleur de la construction musculaire : proteines, gainer, bcaa, bruleur de graisses, booster."
        }), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "d-flex flex-column justify-content-center account-login-container"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "container-fluid account-login-box d-flex flex-column justify-content-center align-items-center"
        }, this.state.register === false ? react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-12 p-0 account-login-form p-0 animated fadeInLeft"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-12 mt-1"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_8__["Input"], {
          size: "large",
          className: "cart-input",
          placeholder: "E-mail",
          onChange: this.onLoginEmail
        })), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-12 mt-1"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_8__["Input"].Password, {
          size: "large",
          className: "cart-input-password",
          placeholder: "Mot de passe",
          onChange: this.onLoginPassword
        })), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "d-flex flex-row p-0 mt-1"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-7"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(next_link__WEBPACK_IMPORTED_MODULE_2___default.a, {
          href: "/password-forgot"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
          className: "label-input forgot-password"
        }, "Mot de passe Oubli\xE9 ?"))), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-5 pl-0"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_blueprintjs_core__WEBPACK_IMPORTED_MODULE_9__["Button"], {
          intent: "primary",
          loading: this.state.loging,
          onClick: this.onLogin,
          text: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
            className: "label-input-facebook"
          }, "Se Connecter"),
          fill: true
        }))), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-12"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_8__["Divider"], null, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
          className: "label-input"
        }, "Ou"))), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-12"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_facebook_login_dist_facebook_login_render_props__WEBPACK_IMPORTED_MODULE_7___default.a, {
          appId: "1006642666192281",
          autoLoad: true,
          fields: "name,email",
          render: function render(renderProps) {
            return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_blueprintjs_core__WEBPACK_IMPORTED_MODULE_9__["Button"], {
              intent: "primary",
              text: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
                className: "label-input-facebook"
              }, "Facebook"),
              icon: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_8__["Icon"], {
                type: "facebook"
              }),
              disabled: true,
              fill: true,
              large: true
            });
          }
        })), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-12 text-center"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
          className: "label-input forgot-password",
          onClick: this.onRegisterToggle
        }, "Cr\xE9er un compte"))) : react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-12 p-0 account-register-form p-0 animated fadeInRight"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "d-flex flex-row justify-content-start"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_blueprintjs_core__WEBPACK_IMPORTED_MODULE_9__["Button"], {
          icon: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_8__["Icon"], {
            type: "left-circle"
          }),
          className: "ml-3",
          intent: "primary",
          onClick: this.onRegisterToggle
        })), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-12 mt-3"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_8__["Select"], {
          defaultValue: "Monsieur",
          size: "large",
          className: "cart-select-input",
          onChange: this.onRegisterCivility
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_8__["Select"].Option, {
          value: "Monsieur",
          className: "cart-select-input"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
          className: "cart-select-option"
        }, "Monsieur")), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_8__["Select"].Option, {
          value: "Madame",
          className: "cart-select-input"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
          className: "cart-select-option"
        }, "Madame")))), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "d-flex flex-row p-0 mt-2"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-6"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_8__["Input"], {
          size: "large",
          className: "cart-input",
          placeholder: "Pr\xE9nom",
          onChange: this.onRegisterFirstname
        })), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-6 pl-0"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_8__["Input"], {
          size: "large",
          className: "cart-input",
          placeholder: "Nom",
          onChange: this.onRegisterLastname
        }))), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-12 mt-1"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_8__["Input"], {
          size: "large",
          className: "cart-input",
          placeholder: "E-mail",
          onChange: this.onRegisterEmail
        })), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-12 mt-1"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_8__["Input"].Password, {
          size: "large",
          className: "cart-input-password",
          placeholder: "Mot de passe",
          onChange: this.onRegisterPassword
        })), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-12 mt-2"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_8__["Input"], {
          size: "large",
          className: "cart-input",
          placeholder: "T\xE9l. (+33) 7 00 00 00 00",
          onChange: this.onRegisterPhone
        })), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-12 mt-2"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("p", {
          className: "terms-text text-center"
        }, "En cliquant sur se connecter vous d\xE9clarez avoir accept\xE9 tous nos Termes & Conditions et Politique de Confidentialit\xE9. Vous recevrez un lien d'activation pour pouvoir activer votre compte.")), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("div", {
          className: "col-12 mt-1"
        }, react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_blueprintjs_core__WEBPACK_IMPORTED_MODULE_9__["Button"], {
          loading: this.state.registering,
          onClick: this.onRegister,
          intent: "primary",
          text: react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
            className: "label-input-facebook"
          }, "Suivant\xA0\xA0", react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_fortawesome_react_fontawesome__WEBPACK_IMPORTED_MODULE_5__["FontAwesomeIcon"], {
            icon: _fortawesome_free_regular_svg_icons__WEBPACK_IMPORTED_MODULE_6__["faPaperPlane"]
          })),
          large: true,
          fill: true
        }))))), react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_source_components_component_footer_guest__WEBPACK_IMPORTED_MODULE_12__[/* GuestFooter */ "a"], null));
      }
    }]);
  
    return SUserAccount;
  }(react__WEBPACK_IMPORTED_MODULE_0__["Component"]);
  
  function mapStateToProps(state) {
    return state;
  }
  
  var connectReduxUserAccount = Object(react_redux__WEBPACK_IMPORTED_MODULE_1__["connect"])(mapStateToProps)(SUserAccount);
  /* harmony default export */ __webpack_exports__["default"] = (connectReduxUserAccount);
  
  /***/ }),
  
  /***/ "o5io":
  /***/ (function(module, exports) {
  
  module.exports = require("core-js/library/fn/object/create");
  
  /***/ }),
  
  /***/ "o9iy":
  /***/ (function(module, exports) {
  
  
  
  /***/ }),
  
  /***/ "ozu2":
  /***/ (function(module, exports) {
  
  module.exports = require("@blueprintjs/core");
  
  /***/ }),
  
  /***/ "p8BD":
  /***/ (function(module, exports) {
  
  module.exports = require("next-server/dist/lib/utils");
  
  /***/ }),
  
  /***/ "rf6O":
  /***/ (function(module, exports) {
  
  module.exports = require("prop-types");
  
  /***/ }),
  
  /***/ "s7eq":
  /***/ (function(module, exports) {
  
  module.exports = require("@fortawesome/free-regular-svg-icons");
  
  /***/ }),
  
  /***/ "sLJp":
  /***/ (function(module, exports) {
  
  module.exports = require("@fortawesome/fontawesome-svg-core");
  
  /***/ }),
  
  /***/ "txk1":
  /***/ (function(module, exports) {
  
  module.exports = require("graphql-tag");
  
  /***/ }),
  
  /***/ "uhWA":
  /***/ (function(module, exports) {
  
  module.exports = require("@fortawesome/react-fontawesome");
  
  /***/ }),
  
  /***/ "vjea":
  /***/ (function(module, exports, __webpack_require__) {
  
  var _Object$setPrototypeOf = __webpack_require__("TRZx");
  
  function _setPrototypeOf(o, p) {
    module.exports = _setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) {
      o.__proto__ = p;
      return o;
    };
  
    return _setPrototypeOf(o, p);
  }
  
  module.exports = _setPrototypeOf;
  
  /***/ }),
  
  /***/ "vmXh":
  /***/ (function(module, exports) {
  
  module.exports = require("js-cookie");
  
  /***/ }),
  
  /***/ "vqFK":
  /***/ (function(module, exports) {
  
  module.exports = require("core-js/library/fn/symbol");
  
  /***/ }),
  
  /***/ "xnum":
  /***/ (function(module, exports) {
  
  module.exports = require("next/head");
  
  /***/ })
  
  /******/ });