You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

5475 line
173 KiB

  1. module.exports =
  2. /******/ (function(modules) { // webpackBootstrap
  3. /******/ // The module cache
  4. /******/ var installedModules = require('../../../../../ssr-module-cache.js');
  5. /******/
  6. /******/ // The require function
  7. /******/ function __webpack_require__(moduleId) {
  8. /******/
  9. /******/ // Check if module is in cache
  10. /******/ if(installedModules[moduleId]) {
  11. /******/ return installedModules[moduleId].exports;
  12. /******/ }
  13. /******/ // Create a new module (and put it into the cache)
  14. /******/ var module = installedModules[moduleId] = {
  15. /******/ i: moduleId,
  16. /******/ l: false,
  17. /******/ exports: {}
  18. /******/ };
  19. /******/
  20. /******/ // Execute the module function
  21. /******/ var threw = true;
  22. /******/ try {
  23. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  24. /******/ threw = false;
  25. /******/ } finally {
  26. /******/ if(threw) delete installedModules[moduleId];
  27. /******/ }
  28. /******/
  29. /******/ // Flag the module as loaded
  30. /******/ module.l = true;
  31. /******/
  32. /******/ // Return the exports of the module
  33. /******/ return module.exports;
  34. /******/ }
  35. /******/
  36. /******/
  37. /******/ // expose the modules object (__webpack_modules__)
  38. /******/ __webpack_require__.m = modules;
  39. /******/
  40. /******/ // expose the module cache
  41. /******/ __webpack_require__.c = installedModules;
  42. /******/
  43. /******/ // define getter function for harmony exports
  44. /******/ __webpack_require__.d = function(exports, name, getter) {
  45. /******/ if(!__webpack_require__.o(exports, name)) {
  46. /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
  47. /******/ }
  48. /******/ };
  49. /******/
  50. /******/ // define __esModule on exports
  51. /******/ __webpack_require__.r = function(exports) {
  52. /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  53. /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  54. /******/ }
  55. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  56. /******/ };
  57. /******/
  58. /******/ // create a fake namespace object
  59. /******/ // mode & 1: value is a module id, require it
  60. /******/ // mode & 2: merge all properties of value into the ns
  61. /******/ // mode & 4: return value when already ns object
  62. /******/ // mode & 8|1: behave like require
  63. /******/ __webpack_require__.t = function(value, mode) {
  64. /******/ if(mode & 1) value = __webpack_require__(value);
  65. /******/ if(mode & 8) return value;
  66. /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  67. /******/ var ns = Object.create(null);
  68. /******/ __webpack_require__.r(ns);
  69. /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  70. /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  71. /******/ return ns;
  72. /******/ };
  73. /******/
  74. /******/ // getDefaultExport function for compatibility with non-harmony modules
  75. /******/ __webpack_require__.n = function(module) {
  76. /******/ var getter = module && module.__esModule ?
  77. /******/ function getDefault() { return module['default']; } :
  78. /******/ function getModuleExports() { return module; };
  79. /******/ __webpack_require__.d(getter, 'a', getter);
  80. /******/ return getter;
  81. /******/ };
  82. /******/
  83. /******/ // Object.prototype.hasOwnProperty.call
  84. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  85. /******/
  86. /******/ // __webpack_public_path__
  87. /******/ __webpack_require__.p = "";
  88. /******/
  89. /******/
  90. /******/ // Load entry module and return exports
  91. /******/ return __webpack_require__(__webpack_require__.s = 38);
  92. /******/ })
  93. /************************************************************************/
  94. /******/ ({
  95. /***/ "/jkW":
  96. /***/ (function(module, exports, __webpack_require__) {
  97. "use strict";
  98. Object.defineProperty(exports, "__esModule", {
  99. value: true
  100. }); // Identify /[param]/ in route string
  101. const TEST_ROUTE = /\/\[[^/]+?\](?=\/|$)/;
  102. function isDynamicRoute(route) {
  103. return TEST_ROUTE.test(route);
  104. }
  105. exports.isDynamicRoute = isDynamicRoute;
  106. /***/ }),
  107. /***/ "0Bsm":
  108. /***/ (function(module, exports, __webpack_require__) {
  109. "use strict";
  110. var _interopRequireDefault = __webpack_require__("AroE");
  111. exports.__esModule = true;
  112. exports.default = withRouter;
  113. var _react = _interopRequireDefault(__webpack_require__("cDcd"));
  114. var _router = __webpack_require__("nOHt");
  115. function withRouter(ComposedComponent) {
  116. function WithRouterWrapper(props) {
  117. return _react.default.createElement(ComposedComponent, Object.assign({
  118. router: (0, _router.useRouter)()
  119. }, props));
  120. }
  121. WithRouterWrapper.getInitialProps = ComposedComponent.getInitialProps // This is needed to allow checking for custom getInitialProps in _app
  122. ;
  123. WithRouterWrapper.origGetInitialProps = ComposedComponent.origGetInitialProps;
  124. if (false) { var name; }
  125. return WithRouterWrapper;
  126. }
  127. /***/ }),
  128. /***/ "0G1C":
  129. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  130. "use strict";
  131. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  132. var nextjs_material_kit = __webpack_require__("eDSW");
  133. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/tooltipsStyle.js
  134. const tooltipsStyle = {
  135. tooltip: {
  136. padding: "10px 15px",
  137. minWidth: "130px",
  138. color: "#555555",
  139. lineHeight: "1.7em",
  140. background: "#FFFFFF",
  141. border: "none",
  142. borderRadius: "3px",
  143. boxShadow: "0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2)",
  144. maxWidth: "200px",
  145. textAlign: "center",
  146. fontFamily: '"Helvetica Neue",Helvetica,Arial,sans-serif',
  147. fontSize: "0.875em",
  148. fontStyle: "normal",
  149. fontWeight: "400",
  150. textShadow: "none",
  151. textTransform: "none",
  152. letterSpacing: "normal",
  153. wordBreak: "normal",
  154. wordSpacing: "normal",
  155. wordWrap: "normal",
  156. whiteSpace: "normal",
  157. lineBreak: "auto"
  158. }
  159. };
  160. /* harmony default export */ var nextjs_material_kit_tooltipsStyle = (tooltipsStyle);
  161. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/headerLinksStyle.js
  162. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
  163. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  164. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  165. const headerLinksStyle = theme => _objectSpread({
  166. list: _objectSpread({}, nextjs_material_kit["g" /* defaultFont */], {
  167. fontSize: "14px",
  168. margin: 0,
  169. paddingLeft: "0",
  170. listStyle: "none",
  171. paddingTop: "0",
  172. paddingBottom: "0",
  173. color: "inherit"
  174. }),
  175. listItem: {
  176. float: "left",
  177. color: "inherit",
  178. position: "relative",
  179. display: "block",
  180. width: "auto",
  181. margin: "0",
  182. padding: "0",
  183. [theme.breakpoints.down("sm")]: {
  184. width: "100%",
  185. "&:after": {
  186. width: "100%",
  187. content: '""',
  188. display: "block",
  189. height: "1px",
  190. backgroundColor: "#e5e5e5"
  191. }
  192. }
  193. },
  194. listItemText: {
  195. padding: "0 !important"
  196. },
  197. navLink: {
  198. color: "inherit",
  199. position: "relative",
  200. padding: "0.9375rem",
  201. fontWeight: "400",
  202. fontSize: "12px",
  203. textTransform: "uppercase",
  204. borderRadius: "3px",
  205. lineHeight: "20px",
  206. textDecoration: "none",
  207. margin: "0px",
  208. display: "inline-flex",
  209. "&:hover,&:focus": {
  210. color: "inherit",
  211. background: "rgba(200, 200, 200, 0.2)"
  212. },
  213. [theme.breakpoints.down("sm")]: {
  214. width: "calc(100% - 30px)",
  215. marginLeft: "15px",
  216. marginBottom: "8px",
  217. marginTop: "8px",
  218. textAlign: "left",
  219. "& > span:first-child": {
  220. justifyContent: "flex-start"
  221. }
  222. }
  223. },
  224. notificationNavLink: {
  225. [theme.breakpoints.down("md")]: {
  226. top: "0",
  227. margin: "5px 15px"
  228. },
  229. color: "#FFF",
  230. fontWeight: "400",
  231. fontSize: "12px",
  232. textTransform: "uppercase",
  233. lineHeight: "20px",
  234. textDecoration: "none",
  235. margin: "0px",
  236. display: "inline-flex",
  237. top: "4px"
  238. },
  239. registerNavLink: {
  240. [theme.breakpoints.down("md")]: {
  241. top: "0",
  242. margin: "5px 15px"
  243. },
  244. top: "3px",
  245. position: "relative",
  246. fontWeight: "400",
  247. fontSize: "12px",
  248. textTransform: "uppercase",
  249. lineHeight: "20px",
  250. textDecoration: "none",
  251. margin: "0px",
  252. display: "inline-flex"
  253. },
  254. navLinkActive: {
  255. color: "inherit",
  256. backgroundColor: "rgba(255, 255, 255, 0.1)"
  257. },
  258. icons: {
  259. width: "20px",
  260. height: "20px",
  261. marginRight: "3px"
  262. },
  263. socialIcons: {
  264. position: "relative",
  265. fontSize: "20px !important",
  266. marginRight: "4px"
  267. },
  268. dropdownLink: {
  269. "&,&:hover,&:focus": {
  270. color: "inherit",
  271. textDecoration: "none",
  272. display: "block",
  273. padding: "10px 20px"
  274. }
  275. }
  276. }, nextjs_material_kit_tooltipsStyle, {
  277. marginRight5: {
  278. marginRight: "5px"
  279. }
  280. });
  281. /* harmony default export */ var components_headerLinksStyle = __webpack_exports__["a"] = (headerLinksStyle);
  282. /***/ }),
  283. /***/ "0LMq":
  284. /***/ (function(module, exports) {
  285. module.exports = require("@material-ui/core/List");
  286. /***/ }),
  287. /***/ "2kat":
  288. /***/ (function(module, exports) {
  289. module.exports = require("@material-ui/icons");
  290. /***/ }),
  291. /***/ "2zww":
  292. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  293. "use strict";
  294. // EXPORTS
  295. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ CardHeader; });
  296. // EXTERNAL MODULE: external "react"
  297. var external_react_ = __webpack_require__("cDcd");
  298. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  299. // EXTERNAL MODULE: external "classnames"
  300. var external_classnames_ = __webpack_require__("K2gz");
  301. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  302. // EXTERNAL MODULE: external "@material-ui/core/styles"
  303. var styles_ = __webpack_require__("9Pu4");
  304. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  305. var nextjs_material_kit = __webpack_require__("eDSW");
  306. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/cardHeaderStyle.js
  307. const cardHeaderStyle = {
  308. cardHeader: {
  309. borderRadius: "3px",
  310. padding: "1rem 15px",
  311. marginLeft: "15px",
  312. marginRight: "15px",
  313. marginTop: "-30px",
  314. border: "0",
  315. marginBottom: "0"
  316. },
  317. cardHeaderPlain: {
  318. marginLeft: "0px",
  319. marginRight: "0px"
  320. },
  321. warningCardHeader: nextjs_material_kit["y" /* warningCardHeader */],
  322. successCardHeader: nextjs_material_kit["t" /* successCardHeader */],
  323. dangerCardHeader: nextjs_material_kit["e" /* dangerCardHeader */],
  324. infoCardHeader: nextjs_material_kit["l" /* infoCardHeader */],
  325. primaryCardHeader: nextjs_material_kit["o" /* primaryCardHeader */]
  326. };
  327. /* harmony default export */ var components_cardHeaderStyle = (cardHeaderStyle);
  328. // CONCATENATED MODULE: ./components/Card/CardHeader.js
  329. var __jsx = external_react_default.a.createElement;
  330. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  331. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  332. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  333. // nodejs library that concatenates classes
  334. // nodejs library to set properties for components
  335. // @material-ui/core components
  336. // @material-ui/icons
  337. // core components
  338. const useStyles = Object(styles_["makeStyles"])(components_cardHeaderStyle);
  339. function CardHeader(props) {
  340. const classes = useStyles();
  341. const {
  342. className,
  343. children,
  344. color,
  345. plain
  346. } = props,
  347. rest = _objectWithoutProperties(props, ["className", "children", "color", "plain"]);
  348. const cardHeaderClasses = external_classnames_default()({
  349. [classes.cardHeader]: true,
  350. [classes[color + "CardHeader"]]: color,
  351. [classes.cardHeaderPlain]: plain,
  352. [className]: className !== undefined
  353. });
  354. return __jsx("div", _extends({
  355. className: cardHeaderClasses
  356. }, rest), children);
  357. }
  358. /***/ }),
  359. /***/ "31Yn":
  360. /***/ (function(module, exports) {
  361. module.exports = require("@material-ui/core/ClickAwayListener");
  362. /***/ }),
  363. /***/ 38:
  364. /***/ (function(module, exports, __webpack_require__) {
  365. module.exports = __webpack_require__("7cGL");
  366. /***/ }),
  367. /***/ "3REV":
  368. /***/ (function(module, exports) {
  369. module.exports = require("@material-ui/icons/LocalGroceryStore");
  370. /***/ }),
  371. /***/ "4151":
  372. /***/ (function(module, exports) {
  373. module.exports = require("@material-ui/core/AppBar");
  374. /***/ }),
  375. /***/ "4D1s":
  376. /***/ (function(module, exports) {
  377. module.exports = require("@material-ui/icons/Menu");
  378. /***/ }),
  379. /***/ "6Yxu":
  380. /***/ (function(module, exports) {
  381. module.exports = require("@material-ui/core/Tab");
  382. /***/ }),
  383. /***/ "7KCV":
  384. /***/ (function(module, exports, __webpack_require__) {
  385. var _typeof = __webpack_require__("C+bE");
  386. function _getRequireWildcardCache() {
  387. if (typeof WeakMap !== "function") return null;
  388. var cache = new WeakMap();
  389. _getRequireWildcardCache = function _getRequireWildcardCache() {
  390. return cache;
  391. };
  392. return cache;
  393. }
  394. function _interopRequireWildcard(obj) {
  395. if (obj && obj.__esModule) {
  396. return obj;
  397. }
  398. if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
  399. return {
  400. "default": obj
  401. };
  402. }
  403. var cache = _getRequireWildcardCache();
  404. if (cache && cache.has(obj)) {
  405. return cache.get(obj);
  406. }
  407. var newObj = {};
  408. var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
  409. for (var key in obj) {
  410. if (Object.prototype.hasOwnProperty.call(obj, key)) {
  411. var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
  412. if (desc && (desc.get || desc.set)) {
  413. Object.defineProperty(newObj, key, desc);
  414. } else {
  415. newObj[key] = obj[key];
  416. }
  417. }
  418. }
  419. newObj["default"] = obj;
  420. if (cache) {
  421. cache.set(obj, newObj);
  422. }
  423. return newObj;
  424. }
  425. module.exports = _interopRequireWildcard;
  426. /***/ }),
  427. /***/ "7cGL":
  428. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  429. "use strict";
  430. // ESM COMPAT FLAG
  431. __webpack_require__.r(__webpack_exports__);
  432. // EXPORTS
  433. __webpack_require__.d(__webpack_exports__, "getServerSideProps", function() { return /* binding */ getServerSideProps; });
  434. // EXTERNAL MODULE: external "react"
  435. var external_react_ = __webpack_require__("cDcd");
  436. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  437. // EXTERNAL MODULE: external "classnames"
  438. var external_classnames_ = __webpack_require__("K2gz");
  439. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  440. // EXTERNAL MODULE: external "@material-ui/core/styles"
  441. var styles_ = __webpack_require__("9Pu4");
  442. // EXTERNAL MODULE: ./components/Header/Header.js + 1 modules
  443. var Header = __webpack_require__("8x5e");
  444. // EXTERNAL MODULE: ./components/Header/HeaderHonda.js
  445. var HeaderHonda = __webpack_require__("Qpk+");
  446. // EXTERNAL MODULE: ./components/Footer/FooterHonda.js
  447. var FooterHonda = __webpack_require__("9Dzl");
  448. // EXTERNAL MODULE: ./components/Parallax/Parallax.js + 1 modules
  449. var Parallax = __webpack_require__("Z2Lm");
  450. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit/pages/components.js
  451. var components = __webpack_require__("bhG4");
  452. // EXTERNAL MODULE: external "@material-ui/icons/Dashboard"
  453. var Dashboard_ = __webpack_require__("vFf/");
  454. var Dashboard_default = /*#__PURE__*/__webpack_require__.n(Dashboard_);
  455. // EXTERNAL MODULE: ./components/Grid/GridContainer.js
  456. var GridContainer = __webpack_require__("mtPR");
  457. // EXTERNAL MODULE: ./components/Grid/GridItem.js
  458. var GridItem = __webpack_require__("i4t8");
  459. // EXTERNAL MODULE: ./components/NavPills/NavPills.js + 1 modules
  460. var NavPills = __webpack_require__("SuH/");
  461. // EXTERNAL MODULE: ./components/Card/Card.js + 1 modules
  462. var Card = __webpack_require__("A2So");
  463. // EXTERNAL MODULE: ./components/Card/CardBody.js + 1 modules
  464. var CardBody = __webpack_require__("UsYt");
  465. // EXTERNAL MODULE: ./components/Card/CardHeader.js + 1 modules
  466. var CardHeader = __webpack_require__("2zww");
  467. // EXTERNAL MODULE: ./components/Typography/Quote.js + 1 modules
  468. var Quote = __webpack_require__("aIa2");
  469. // EXTERNAL MODULE: external "@material-ui/core/Grid"
  470. var Grid_ = __webpack_require__("JQ2V");
  471. var Grid_default = /*#__PURE__*/__webpack_require__.n(Grid_);
  472. // EXTERNAL MODULE: ./components/CustomButtons/Button.js + 1 modules
  473. var Button = __webpack_require__("Kg+a");
  474. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit/pages/profilePage.js
  475. var profilePage = __webpack_require__("uU2H");
  476. // EXTERNAL MODULE: external "@material-ui/core/Icon"
  477. var Icon_ = __webpack_require__("7vM9");
  478. var Icon_default = /*#__PURE__*/__webpack_require__.n(Icon_);
  479. // CONCATENATED MODULE: ./pages-sections/honda/carrer/carrer.js
  480. var __jsx = external_react_default.a.createElement;
  481. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  482. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  483. const useStyles = Object(styles_["makeStyles"])(profilePage["a" /* default */]);
  484. const DataCarrers = function (_ref) {
  485. let {
  486. backend,
  487. s1,
  488. d3,
  489. sma
  490. } = _ref,
  491. props = _objectWithoutProperties(_ref, ["backend", "s1", "d3", "sma"]);
  492. const classes = useStyles();
  493. const rest = Object.assign({}, props);
  494. const imageClasses = external_classnames_default()(classes.imgRaised, classes.imgRoundedCircle, classes.imgFluid);
  495. const navImageClasses = external_classnames_default()(classes.imgRounded, classes.imgGallery);
  496. const CarrerS1 = s1.map(data => {
  497. return __jsx(Grid_default.a, {
  498. style: {
  499. width: "600px",
  500. padding: "30px"
  501. }
  502. }, __jsx(Card["a" /* default */], null, __jsx(CardHeader["a" /* default */], {
  503. color: "info"
  504. }, __jsx("div", {
  505. align: "center"
  506. }, data.name)), __jsx(CardBody["a" /* default */], null, __jsx(Quote["a" /* default */], {
  507. text: data.name_description,
  508. author: "Post By Thamrin Group"
  509. }), "Masa Pendaftaran : ", data.start_regis, " s/d ", data.until_regis, __jsx(Button["a" /* default */], {
  510. color: "info",
  511. style: {
  512. marginLeft: "20px"
  513. },
  514. round: true,
  515. href: "/honda/carrer/carrer_details?s=" + data.id
  516. }, __jsx(Icon_default.a, {
  517. className: classes.icons
  518. }, "open_in_new"), "Detail Carrer"))));
  519. });
  520. const CarrerD3 = d3.map(data => {
  521. return __jsx(Grid_default.a, {
  522. style: {
  523. width: "600px",
  524. padding: "30px"
  525. }
  526. }, __jsx(Card["a" /* default */], null, __jsx(CardHeader["a" /* default */], {
  527. color: "info"
  528. }, data.name), __jsx(CardBody["a" /* default */], null, __jsx(Quote["a" /* default */], {
  529. text: data.name_description,
  530. author: "Post By Thamrin Group"
  531. }), "Masa Pendaftaran : ", data.start_regis, " s/d ", data.until_regis, __jsx(Button["a" /* default */], {
  532. color: "info",
  533. style: {
  534. marginLeft: "20px"
  535. },
  536. round: true,
  537. href: "/honda/carrer/carrer_details?s=" + data.id
  538. }, __jsx(Icon_default.a, {
  539. className: classes.icons
  540. }, "open_in_new"), "Detail Carrer"))));
  541. });
  542. const CarrerSMA = sma.map(data => {
  543. return __jsx(Grid_default.a, {
  544. style: {
  545. width: "600px",
  546. padding: "30px"
  547. }
  548. }, __jsx(Card["a" /* default */], null, __jsx(CardHeader["a" /* default */], {
  549. justify: "center",
  550. color: "info"
  551. }, data.name), __jsx(CardBody["a" /* default */], null, __jsx(Quote["a" /* default */], {
  552. text: data.name_description,
  553. author: "Post By Thamrin Group"
  554. }), "Masa Pendaftaran : ", data.start_regis, " s/d ", data.until_regis, __jsx(Button["a" /* default */], {
  555. color: "info",
  556. style: {
  557. marginLeft: "20px"
  558. },
  559. round: true,
  560. href: "/honda/carrer/carrer_details?s=" + data.id
  561. }, __jsx(Icon_default.a, {
  562. className: classes.icons
  563. }, "open_in_new"), "Detail Carrer"))));
  564. });
  565. return __jsx(Card["a" /* default */], {
  566. className: classes.textCenter
  567. }, __jsx("div", {
  568. align: "center"
  569. }, __jsx(CardHeader["a" /* default */], {
  570. color: "info"
  571. }, "Product")), __jsx(CardBody["a" /* default */], null, __jsx("div", {
  572. align: "center"
  573. }, __jsx("h2", null, "Carrer & Job Vacancies")), __jsx(GridContainer["a" /* default */], {
  574. justify: "center"
  575. }, __jsx(GridItem["a" /* default */], null, __jsx(NavPills["a" /* default */], {
  576. alignCenter: true,
  577. color: "primary",
  578. tabs: [{
  579. tabButton: "S1",
  580. tabIcon: Dashboard_default.a,
  581. tabContent: __jsx(GridContainer["a" /* default */], {
  582. justify: "center"
  583. }, CarrerS1)
  584. }, {
  585. tabButton: "D3",
  586. tabIcon: Dashboard_default.a,
  587. tabContent: __jsx(GridContainer["a" /* default */], {
  588. justify: "center"
  589. }, CarrerD3)
  590. }, {
  591. tabButton: "SMA / SMK ",
  592. tabIcon: Dashboard_default.a,
  593. tabContent: __jsx(GridContainer["a" /* default */], {
  594. justify: "center"
  595. }, CarrerSMA)
  596. }, {
  597. tabButton: "Recruitment Process",
  598. tabIcon: Dashboard_default.a,
  599. tabContent: __jsx(GridContainer["a" /* default */], {
  600. justify: "center"
  601. }, __jsx(GridItem["a" /* default */], null, __jsx("div", {
  602. align: "center"
  603. }, __jsx("img", {
  604. alt: "...",
  605. style: {
  606. width: "1000px",
  607. height: "800px",
  608. display: "block"
  609. },
  610. src: " https://www.yamaha-motor.co.id/uploads/career/big_img/5d305eca19dfb8171.jpg",
  611. className: navImageClasses
  612. }))))
  613. }]
  614. })))));
  615. };
  616. /* harmony default export */ var carrer = (DataCarrers);
  617. // EXTERNAL MODULE: ./api/carrer/carrer.js
  618. var carrer_carrer = __webpack_require__("940a");
  619. var carrer_default = /*#__PURE__*/__webpack_require__.n(carrer_carrer);
  620. // EXTERNAL MODULE: external "cookies"
  621. var external_cookies_ = __webpack_require__("Vjj2");
  622. var external_cookies_default = /*#__PURE__*/__webpack_require__.n(external_cookies_);
  623. // CONCATENATED MODULE: ./pages/honda/carrer/carrer.js
  624. var carrer_jsx = external_react_default.a.createElement;
  625. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  626. function carrer_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = carrer_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  627. function carrer_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  628. const carrer_useStyles = Object(styles_["makeStyles"])(components["a" /* default */]);
  629. const Carrer = function (_ref) {
  630. let {
  631. user,
  632. backend,
  633. s1,
  634. d3,
  635. sma
  636. } = _ref,
  637. props = carrer_objectWithoutProperties(_ref, ["user", "backend", "s1", "d3", "sma"]);
  638. const classes = carrer_useStyles();
  639. const rest = Object.assign({}, props);
  640. return carrer_jsx("div", null, carrer_jsx(Header["a" /* default */], _extends({
  641. rightLinks: carrer_jsx(HeaderHonda["a" /* default */], {
  642. username: user
  643. }),
  644. fixed: true,
  645. color: "info",
  646. changeColorOnScroll: {
  647. height: 400,
  648. color: "white"
  649. }
  650. }, rest)), carrer_jsx(Parallax["a" /* default */], {
  651. image: __webpack_require__("F+sf"),
  652. height: "50px"
  653. }), carrer_jsx("div", {
  654. className: external_classnames_default()(classes.main, classes.mainRaised)
  655. }, carrer_jsx(carrer, {
  656. s1: s1,
  657. d3: d3,
  658. sma: sma,
  659. backend: backend
  660. })), carrer_jsx(FooterHonda["a" /* default */], null));
  661. };
  662. /* harmony default export */ var honda_carrer_carrer = __webpack_exports__["default"] = (Carrer);
  663. async function getServerSideProps(context) {
  664. var s1 = [];
  665. var d3 = [];
  666. var sma = [];
  667. const backend = process.env.BACKEND_SERVER_URI;
  668. var {
  669. req,
  670. resp
  671. } = context;
  672. const cookies = new external_cookies_default.a(req, resp);
  673. var user = "";
  674. var userObj = (await cookies.get("user")) ? JSON.parse(await cookies.get("user")) : null;
  675. if (userObj) {
  676. let sessionId = userObj["partners_login_states"].filter(function (i) {
  677. return i.business_partner && i.business_partner.name.toUpperCase() == "HONDA";
  678. });
  679. if (sessionId.length != 0) user = userObj["username"];
  680. }
  681. var res = await carrer_default.a.GetCarrerS1Honda();
  682. if (res["STATUS"] === 1) {
  683. s1 = res["DATA"]["carrers"];
  684. }
  685. var res = await carrer_default.a.GetCarrerD3Honda();
  686. if (res["STATUS"] === 1) {
  687. d3 = res["DATA"]["carrers"];
  688. }
  689. var res = await carrer_default.a.GetCarrerSMAHonda();
  690. if (res["STATUS"] === 1) {
  691. sma = res["DATA"]["carrers"];
  692. }
  693. return {
  694. props: {
  695. user,
  696. s1,
  697. d3,
  698. sma,
  699. backend
  700. } // will be passed to the page component as props
  701. };
  702. }
  703. /***/ }),
  704. /***/ "7vM9":
  705. /***/ (function(module, exports) {
  706. module.exports = require("@material-ui/core/Icon");
  707. /***/ }),
  708. /***/ "8//M":
  709. /***/ (function(module, exports) {
  710. module.exports = require("@material-ui/core/styles/makeStyles");
  711. /***/ }),
  712. /***/ "8x5e":
  713. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  714. "use strict";
  715. // EXPORTS
  716. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Header; });
  717. // EXTERNAL MODULE: external "react"
  718. var external_react_ = __webpack_require__("cDcd");
  719. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  720. // EXTERNAL MODULE: ./node_modules/next/link.js
  721. var next_link = __webpack_require__("YFqc");
  722. var link_default = /*#__PURE__*/__webpack_require__.n(next_link);
  723. // EXTERNAL MODULE: external "classnames"
  724. var external_classnames_ = __webpack_require__("K2gz");
  725. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  726. // EXTERNAL MODULE: external "@material-ui/core/styles"
  727. var styles_ = __webpack_require__("9Pu4");
  728. // EXTERNAL MODULE: external "@material-ui/core/AppBar"
  729. var AppBar_ = __webpack_require__("4151");
  730. var AppBar_default = /*#__PURE__*/__webpack_require__.n(AppBar_);
  731. // EXTERNAL MODULE: external "@material-ui/core/Toolbar"
  732. var Toolbar_ = __webpack_require__("Ms0O");
  733. var Toolbar_default = /*#__PURE__*/__webpack_require__.n(Toolbar_);
  734. // EXTERNAL MODULE: external "@material-ui/core/IconButton"
  735. var IconButton_ = __webpack_require__("EmCc");
  736. var IconButton_default = /*#__PURE__*/__webpack_require__.n(IconButton_);
  737. // EXTERNAL MODULE: external "@material-ui/core/Button"
  738. var Button_ = __webpack_require__("Wh1t");
  739. var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
  740. // EXTERNAL MODULE: external "@material-ui/core/Hidden"
  741. var Hidden_ = __webpack_require__("Y8uC");
  742. var Hidden_default = /*#__PURE__*/__webpack_require__.n(Hidden_);
  743. // EXTERNAL MODULE: external "@material-ui/core/Drawer"
  744. var Drawer_ = __webpack_require__("Q01v");
  745. var Drawer_default = /*#__PURE__*/__webpack_require__.n(Drawer_);
  746. // EXTERNAL MODULE: external "@material-ui/icons/Menu"
  747. var Menu_ = __webpack_require__("4D1s");
  748. var Menu_default = /*#__PURE__*/__webpack_require__.n(Menu_);
  749. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  750. var nextjs_material_kit = __webpack_require__("eDSW");
  751. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/headerStyle.js
  752. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
  753. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  754. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  755. const headerStyle = {
  756. appBar: {
  757. display: "flex",
  758. border: "0",
  759. borderRadius: "3px",
  760. padding: "0.625rem 0",
  761. marginBottom: "20px",
  762. color: "#555",
  763. width: "100%",
  764. backgroundColor: "#000",
  765. boxShadow: "0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15)",
  766. transition: "all 150ms ease 0s",
  767. alignItems: "center",
  768. flexFlow: "row nowrap",
  769. justifyContent: "flex-start",
  770. position: "relative",
  771. zIndex: "unset"
  772. },
  773. absolute: {
  774. position: "absolute",
  775. zIndex: "1100"
  776. },
  777. fixed: {
  778. position: "fixed",
  779. zIndex: "1100"
  780. },
  781. container: _objectSpread({}, nextjs_material_kit["c" /* container */], {
  782. minHeight: "50px",
  783. flex: "1",
  784. alignItems: "center",
  785. justifyContent: "space-between",
  786. display: "flex",
  787. flexWrap: "nowrap"
  788. }),
  789. flex: {
  790. flex: 1
  791. },
  792. title: _objectSpread({}, nextjs_material_kit["g" /* defaultFont */], {
  793. lineHeight: "30px",
  794. fontSize: "18px",
  795. borderRadius: "3px",
  796. textTransform: "none",
  797. color: "inherit",
  798. padding: "8px 16px",
  799. letterSpacing: "unset",
  800. "&:hover,&:focus": {
  801. color: "inherit",
  802. background: "transparent"
  803. }
  804. }),
  805. appResponsive: {
  806. margin: "20px 10px"
  807. },
  808. primary: {
  809. backgroundColor: nextjs_material_kit["p" /* primaryColor */],
  810. color: "#FFFFFF",
  811. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.46)}`
  812. },
  813. info: {
  814. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  815. color: "#FFFFFF",
  816. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["m" /* infoColor */], 0.46)}`
  817. },
  818. success: {
  819. backgroundColor: nextjs_material_kit["u" /* successColor */],
  820. color: "#FFFFFF",
  821. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.46)}`
  822. },
  823. warning: {
  824. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  825. color: "#FFFFFF",
  826. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["z" /* warningColor */], 0.46)}`
  827. },
  828. danger: {
  829. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  830. color: "#FFFFFF",
  831. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["f" /* dangerColor */], 0.46)}`
  832. },
  833. rose: {
  834. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  835. color: "#FFFFFF",
  836. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["r" /* roseColor */], 0.46)}`
  837. },
  838. transparent: {
  839. backgroundColor: "transparent !important",
  840. boxShadow: "none",
  841. paddingTop: "25px",
  842. color: "#FFFFFF"
  843. },
  844. dark: {
  845. color: "#FFFFFF",
  846. backgroundColor: "#212121 !important",
  847. boxShadow: "0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 12px -5px rgba(33, 33, 33, 0.46)"
  848. },
  849. white: {
  850. border: "0",
  851. padding: "0.625rem 0",
  852. marginBottom: "20px",
  853. color: "#555",
  854. backgroundColor: "#fff !important",
  855. boxShadow: "0 4px 18px 0px rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15)"
  856. },
  857. drawerPaper: _objectSpread({
  858. border: "none",
  859. bottom: "0",
  860. transitionProperty: "top, bottom, width",
  861. transitionDuration: ".2s, .2s, .35s",
  862. transitionTimingFunction: "linear, linear, ease",
  863. width: nextjs_material_kit["h" /* drawerWidth */]
  864. }, nextjs_material_kit["a" /* boxShadow */], {
  865. position: "fixed",
  866. display: "block",
  867. top: "0",
  868. height: "100vh",
  869. right: "0",
  870. left: "auto",
  871. visibility: "visible",
  872. overflowY: "visible",
  873. borderTop: "none",
  874. textAlign: "left",
  875. paddingRight: "0px",
  876. paddingLeft: "0"
  877. }, nextjs_material_kit["w" /* transition */])
  878. };
  879. /* harmony default export */ var components_headerStyle = (headerStyle);
  880. // CONCATENATED MODULE: ./components/Header/Header.js
  881. var __jsx = external_react_default.a.createElement;
  882. // nodejs library that concatenates classes
  883. // nodejs library to set properties for components
  884. // @material-ui/core components
  885. // @material-ui/icons
  886. // core components
  887. const useStyles = Object(styles_["makeStyles"])(components_headerStyle);
  888. function Header(props) {
  889. const classes = useStyles();
  890. const [mobileOpen, setMobileOpen] = external_react_default.a.useState(false);
  891. external_react_default.a.useEffect(() => {
  892. if (props.changeColorOnScroll) {
  893. window.addEventListener("scroll", headerColorChange);
  894. }
  895. return function cleanup() {
  896. if (props.changeColorOnScroll) {
  897. window.removeEventListener("scroll", headerColorChange);
  898. }
  899. };
  900. });
  901. const handleDrawerToggle = () => {
  902. setMobileOpen(!mobileOpen);
  903. };
  904. const headerColorChange = () => {
  905. const {
  906. color,
  907. changeColorOnScroll
  908. } = props;
  909. const windowsScrollTop = window.pageYOffset;
  910. if (windowsScrollTop > changeColorOnScroll.height) {
  911. document.body.getElementsByTagName("header")[0].classList.remove(classes[color]);
  912. document.body.getElementsByTagName("header")[0].classList.add(classes[changeColorOnScroll.color]);
  913. } else {
  914. document.body.getElementsByTagName("header")[0].classList.add(classes[color]);
  915. document.body.getElementsByTagName("header")[0].classList.remove(classes[changeColorOnScroll.color]);
  916. }
  917. };
  918. const {
  919. color,
  920. rightLinks,
  921. leftLinks,
  922. brand,
  923. fixed,
  924. absolute
  925. } = props;
  926. const appBarClasses = external_classnames_default()({
  927. [classes.appBar]: true,
  928. [classes[color]]: color,
  929. [classes.absolute]: absolute,
  930. [classes.fixed]: fixed
  931. });
  932. const brandComponent = __jsx(link_default.a, {
  933. href: "/components",
  934. as: "/components"
  935. }, __jsx(Button_default.a, {
  936. className: classes.title
  937. }, brand));
  938. return __jsx(AppBar_default.a, {
  939. className: appBarClasses
  940. }, __jsx(Toolbar_default.a, {
  941. className: classes.container
  942. }, leftLinks !== undefined ? brandComponent : null, __jsx("div", {
  943. className: classes.flex
  944. }, leftLinks !== undefined ? __jsx(Hidden_default.a, {
  945. smDown: true,
  946. implementation: "css"
  947. }, leftLinks) : brandComponent), __jsx(Hidden_default.a, {
  948. smDown: true,
  949. implementation: "css"
  950. }, rightLinks), __jsx(Hidden_default.a, {
  951. mdUp: true
  952. }, __jsx(IconButton_default.a, {
  953. color: "inherit",
  954. "aria-label": "open drawer",
  955. onClick: handleDrawerToggle
  956. }, __jsx(Menu_default.a, null)))), __jsx(Hidden_default.a, {
  957. mdUp: true,
  958. implementation: "js"
  959. }, __jsx(Drawer_default.a, {
  960. variant: "temporary",
  961. anchor: "right",
  962. open: mobileOpen,
  963. classes: {
  964. paper: classes.drawerPaper
  965. },
  966. onClose: handleDrawerToggle
  967. }, __jsx("div", {
  968. className: classes.appResponsive
  969. }, leftLinks, rightLinks))));
  970. }
  971. Header.defaultProp = {
  972. color: "black"
  973. };
  974. /***/ }),
  975. /***/ "940a":
  976. /***/ (function(module, exports, __webpack_require__) {
  977. "use strict";
  978. var _apollo = _interopRequireDefault(__webpack_require__("B/3u"));
  979. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  980. async function GetCarrerS1Yamaha(token = "") {
  981. var res = await _apollo.default.query(`
  982. query {
  983. carrers(where: {category: "S1" business_partner: "1"})
  984. {
  985. id
  986. name
  987. start_regis
  988. until_regis
  989. name_description
  990. }
  991. }`, token);
  992. return res;
  993. }
  994. async function GetCarrerD3Yamaha(token = "") {
  995. var res = await _apollo.default.query(`
  996. query {
  997. carrers(where: {category: "D3" business_partner: "1"})
  998. {
  999. id
  1000. name
  1001. start_regis
  1002. until_regis
  1003. name_description
  1004. }
  1005. }`, token);
  1006. return res;
  1007. }
  1008. async function GetCarrerSMAYamaha(token = "") {
  1009. var res = await _apollo.default.query(`
  1010. query {
  1011. carrers(where: {category: "SMA" business_partner: "1"})
  1012. {
  1013. id
  1014. name
  1015. start_regis
  1016. until_regis
  1017. name_description
  1018. }
  1019. }`, token);
  1020. return res;
  1021. }
  1022. async function GetDetailCarrer(id, token = "") {
  1023. var res = await _apollo.default.query(`
  1024. query($input: ID!){
  1025. carrers(where:{id:$input})
  1026. {
  1027. name
  1028. description
  1029. category
  1030. img{
  1031. url
  1032. }
  1033. start_regis
  1034. until_regis
  1035. name_description
  1036. }
  1037. }
  1038. `, token, {
  1039. "input": id
  1040. });
  1041. return res;
  1042. }
  1043. async function GetCarrerS1Suzuki(token = "") {
  1044. var res = await _apollo.default.query(`
  1045. query {
  1046. carrers(where: {category: "S1" business_partner:"2"})
  1047. {
  1048. id
  1049. name
  1050. start_regis
  1051. until_regis
  1052. name_description
  1053. }
  1054. }`, token);
  1055. return res;
  1056. }
  1057. async function GetCarrerD3Suzuki(token = "") {
  1058. var res = await _apollo.default.query(`
  1059. query {
  1060. carrers(where: {category: "D3" business_partner:"2"})
  1061. {
  1062. id
  1063. name
  1064. start_regis
  1065. until_regis
  1066. name_description
  1067. }
  1068. }`, token);
  1069. return res;
  1070. }
  1071. async function GetCarrerSMASuzuki(token = "") {
  1072. var res = await _apollo.default.query(`
  1073. query {
  1074. carrers(where: {category: "SMA" business_partner:"2"})
  1075. {
  1076. id
  1077. name
  1078. start_regis
  1079. until_regis
  1080. name_description
  1081. }
  1082. }`, token);
  1083. return res;
  1084. }
  1085. async function GetCarrerS1Honda(token = "") {
  1086. var res = await _apollo.default.query(`
  1087. query {
  1088. carrers(where: {category: "S1" business_partner:"3"})
  1089. {
  1090. id
  1091. name
  1092. start_regis
  1093. until_regis
  1094. name_description
  1095. }
  1096. }`, token);
  1097. return res;
  1098. }
  1099. async function GetCarrerD3Honda(token = "") {
  1100. var res = await _apollo.default.query(`
  1101. query {
  1102. carrers(where: {category: "D3" business_partner:"3"})
  1103. {
  1104. id
  1105. name
  1106. start_regis
  1107. until_regis
  1108. name_description
  1109. }
  1110. }`, token);
  1111. return res;
  1112. }
  1113. async function GetCarrerSMAHonda(token = "") {
  1114. var res = await _apollo.default.query(`
  1115. query {
  1116. carrers(where: {category: "SMA" business_partner:"3"})
  1117. {
  1118. id
  1119. name
  1120. start_regis
  1121. until_regis
  1122. name_description
  1123. }
  1124. }`, token);
  1125. return res;
  1126. }
  1127. async function GetCarrerS1Hino(token = "") {
  1128. var res = await _apollo.default.query(`
  1129. query {
  1130. carrers(where: {category: "S1" business_partner:"4"})
  1131. {
  1132. id
  1133. name
  1134. start_regis
  1135. until_regis
  1136. name_description
  1137. }
  1138. }`, token);
  1139. return res;
  1140. }
  1141. async function GetCarrerD3Hino(token = "") {
  1142. var res = await _apollo.default.query(`
  1143. query {
  1144. carrers(where: {category: "D3" business_partner:"4"})
  1145. {
  1146. id
  1147. name
  1148. start_regis
  1149. until_regis
  1150. name_description
  1151. }
  1152. }`, token);
  1153. return res;
  1154. }
  1155. async function GetCarrerSMAHino(token = "") {
  1156. var res = await _apollo.default.query(`
  1157. query {
  1158. carrers(where: {category: "SMA" business_partner:"4"})
  1159. {
  1160. id
  1161. name
  1162. start_regis
  1163. until_regis
  1164. name_description
  1165. }
  1166. }`, token);
  1167. return res;
  1168. }
  1169. module.exports = {
  1170. //yamaha
  1171. GetCarrerS1Yamaha: GetCarrerS1Yamaha,
  1172. GetCarrerD3Yamaha: GetCarrerD3Yamaha,
  1173. GetCarrerSMAYamaha: GetCarrerSMAYamaha,
  1174. //suzuki
  1175. GetCarrerS1Suzuki: GetCarrerS1Suzuki,
  1176. GetCarrerD3Suzuki: GetCarrerD3Suzuki,
  1177. GetCarrerSMASuzuki: GetCarrerSMASuzuki,
  1178. //honda
  1179. GetCarrerS1Honda: GetCarrerS1Honda,
  1180. GetCarrerD3Honda: GetCarrerD3Honda,
  1181. GetCarrerSMAHonda: GetCarrerSMAHonda,
  1182. //hino
  1183. GetCarrerS1Hino: GetCarrerS1Hino,
  1184. GetCarrerD3Hino: GetCarrerD3Hino,
  1185. GetCarrerSMAHino: GetCarrerSMAHino,
  1186. GetDetailCarrer: GetDetailCarrer
  1187. };
  1188. /***/ }),
  1189. /***/ "9Dzl":
  1190. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1191. "use strict";
  1192. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Footer; });
  1193. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  1194. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  1195. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("K2gz");
  1196. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
  1197. /* harmony import */ var _material_ui_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("KKbo");
  1198. /* harmony import */ var _material_ui_core__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__);
  1199. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("9Pu4");
  1200. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__);
  1201. /* harmony import */ var _material_ui_icons_Favorite__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("Fm7H");
  1202. /* harmony import */ var _material_ui_icons_Favorite__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_material_ui_icons_Favorite__WEBPACK_IMPORTED_MODULE_4__);
  1203. /* harmony import */ var components_Grid_GridContainer_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("mtPR");
  1204. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("JQ2V");
  1205. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_6__);
  1206. /* harmony import */ var components_Grid_GridItem_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("i4t8");
  1207. /* harmony import */ var _material_ui_core_Paper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("qt1I");
  1208. /* harmony import */ var _material_ui_core_Paper__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Paper__WEBPACK_IMPORTED_MODULE_8__);
  1209. /* harmony import */ var components_Card_Card_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("A2So");
  1210. /* harmony import */ var assets_jss_nextjs_material_kit_components_footerStyle_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("oLCs");
  1211. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  1212. /*eslint-disable*/
  1213. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_3__["makeStyles"])(assets_jss_nextjs_material_kit_components_footerStyle_js__WEBPACK_IMPORTED_MODULE_10__[/* default */ "a"]);
  1214. function Footer(props) {
  1215. const classes = useStyles();
  1216. const {
  1217. whiteFont
  1218. } = props;
  1219. const footerClasses = classnames__WEBPACK_IMPORTED_MODULE_1___default()({
  1220. [classes.footer]: true,
  1221. [classes.footerWhiteFont]: whiteFont
  1222. });
  1223. const aClasses = classnames__WEBPACK_IMPORTED_MODULE_1___default()({
  1224. [classes.a]: true,
  1225. [classes.footerWhiteFont]: whiteFont
  1226. });
  1227. return __jsx(components_Grid_GridItem_js__WEBPACK_IMPORTED_MODULE_7__[/* default */ "a"], {
  1228. xs: 12
  1229. }, __jsx("br", null), __jsx("br", null), __jsx("link", {
  1230. rel: "stylesheet",
  1231. href: "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
  1232. }), __jsx("div", {
  1233. align: "center"
  1234. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["List"], {
  1235. className: classes.list
  1236. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1237. className: classes.inlineBlock
  1238. }, __jsx("a", {
  1239. href: "/honda/home",
  1240. className: classes.block
  1241. }, " Home ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1242. className: classes.inlineBlock
  1243. }, __jsx("a", {
  1244. href: "/honda/product/product",
  1245. className: classes.block
  1246. }, " Product ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1247. className: classes.inlineBlock
  1248. }, __jsx("a", {
  1249. href: "/honda/latestsnews",
  1250. className: classes.block
  1251. }, " Latest News ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1252. className: classes.inlineBlock
  1253. }, __jsx("a", {
  1254. href: "/honda/carrer",
  1255. className: classes.block
  1256. }, " Carrer ")), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1257. className: classes.inlineBlock
  1258. }, __jsx("a", {
  1259. href: "/honda/about_us/aboutus",
  1260. className: classes.block
  1261. }, " About Us ")))), __jsx("div", {
  1262. align: "center"
  1263. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["List"], {
  1264. className: classes.list
  1265. }, __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1266. className: classes.inlineBlock,
  1267. style: {
  1268. padding: "10px"
  1269. }
  1270. }, __jsx("a", {
  1271. href: "#",
  1272. class: "fa fa-facebook"
  1273. })), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1274. className: classes.inlineBlock,
  1275. style: {
  1276. padding: "10px"
  1277. }
  1278. }, __jsx("a", {
  1279. href: "#",
  1280. class: "fa fa-instagram"
  1281. })), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1282. className: classes.inlineBlock,
  1283. style: {
  1284. padding: "10px"
  1285. }
  1286. }, __jsx("a", {
  1287. href: "#",
  1288. class: "fa fa-twitter"
  1289. })), __jsx(_material_ui_core__WEBPACK_IMPORTED_MODULE_2__["ListItem"], {
  1290. className: classes.inlineBlock,
  1291. style: {
  1292. padding: "10px"
  1293. }
  1294. }, __jsx("a", {
  1295. href: "#",
  1296. class: "fa fa-youtube"
  1297. })))), __jsx("br", null), __jsx("br", null), __jsx("div", {
  1298. align: "center"
  1299. }, "\xA9 ", 1900 + new Date().getYear(), " , All Right Reserved", " ", " by", " ", " @Thamrin Brothers"), __jsx("br", null), __jsx("br", null));
  1300. }
  1301. /***/ }),
  1302. /***/ "9Pu4":
  1303. /***/ (function(module, exports) {
  1304. module.exports = require("@material-ui/core/styles");
  1305. /***/ }),
  1306. /***/ "A2So":
  1307. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1308. "use strict";
  1309. // EXPORTS
  1310. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Card; });
  1311. // EXTERNAL MODULE: external "react"
  1312. var external_react_ = __webpack_require__("cDcd");
  1313. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  1314. // EXTERNAL MODULE: external "classnames"
  1315. var external_classnames_ = __webpack_require__("K2gz");
  1316. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  1317. // EXTERNAL MODULE: external "@material-ui/core/styles"
  1318. var styles_ = __webpack_require__("9Pu4");
  1319. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/cardStyle.js
  1320. const cardStyle = {
  1321. card: {
  1322. border: "0",
  1323. marginBottom: "30px",
  1324. marginTop: "30px",
  1325. borderRadius: "6px",
  1326. color: "rgba(0, 0, 0, 0.87)",
  1327. background: "#fff",
  1328. width: "100%",
  1329. boxShadow: "0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12)",
  1330. position: "relative",
  1331. display: "flex",
  1332. flexDirection: "column",
  1333. minWidth: "0",
  1334. wordWrap: "break-word",
  1335. fontSize: ".875rem",
  1336. transition: "all 300ms linear"
  1337. },
  1338. cardPlain: {
  1339. background: "transparent",
  1340. boxShadow: "none"
  1341. },
  1342. cardCarousel: {
  1343. overflow: "hidden"
  1344. }
  1345. };
  1346. /* harmony default export */ var components_cardStyle = (cardStyle);
  1347. // CONCATENATED MODULE: ./components/Card/Card.js
  1348. var __jsx = external_react_default.a.createElement;
  1349. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  1350. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  1351. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  1352. // nodejs library that concatenates classes
  1353. // nodejs library to set properties for components
  1354. // @material-ui/core components
  1355. // @material-ui/icons
  1356. // core components
  1357. const useStyles = Object(styles_["makeStyles"])(components_cardStyle);
  1358. function Card(props) {
  1359. const classes = useStyles();
  1360. const {
  1361. className,
  1362. children,
  1363. plain,
  1364. carousel
  1365. } = props,
  1366. rest = _objectWithoutProperties(props, ["className", "children", "plain", "carousel"]);
  1367. const cardClasses = external_classnames_default()({
  1368. [classes.card]: true,
  1369. [classes.cardPlain]: plain,
  1370. [classes.cardCarousel]: carousel,
  1371. [className]: className !== undefined
  1372. });
  1373. return __jsx("div", _extends({
  1374. className: cardClasses
  1375. }, rest), children);
  1376. }
  1377. /***/ }),
  1378. /***/ "AroE":
  1379. /***/ (function(module, exports) {
  1380. function _interopRequireDefault(obj) {
  1381. return obj && obj.__esModule ? obj : {
  1382. "default": obj
  1383. };
  1384. }
  1385. module.exports = _interopRequireDefault;
  1386. /***/ }),
  1387. /***/ "B/3u":
  1388. /***/ (function(module, exports, __webpack_require__) {
  1389. "use strict";
  1390. var _client = __webpack_require__("z+8S");
  1391. var _apolloConfig = _interopRequireDefault(__webpack_require__("bx/+"));
  1392. var _crossFetch = _interopRequireDefault(__webpack_require__("CCqr"));
  1393. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  1394. function errorHandler(object) {
  1395. return object.graphQLErrors.length != 0 ? object.graphQLErrors[0].message : object.networkError && object.networkError.result ? object.networkError.result.errors.join(" ; ") : object.networkError ? object.networkError[Object.keys(object.networkError)[0]].toString() : "Fetch failed";
  1396. }
  1397. function initApollo(token) {
  1398. const httpLink = (0, _client.createHttpLink)({
  1399. uri: _apolloConfig.default.graphql_uri,
  1400. fetch: _crossFetch.default,
  1401. headers: token != "" ? {
  1402. Authorization: `Bearer ${token}`
  1403. } : null
  1404. });
  1405. return new _client.ApolloClient({
  1406. ssrMode: false,
  1407. cache: new _client.InMemoryCache({
  1408. addTypename: false
  1409. }),
  1410. link: httpLink
  1411. });
  1412. }
  1413. async function query(query, token = "", variables = {}, cache = false) {
  1414. const client = initApollo(token);
  1415. var res;
  1416. try {
  1417. var sql = await client.query({
  1418. query: (0, _client.gql)`
  1419. ${query}
  1420. `,
  1421. variables: variables,
  1422. fetchPolicy: cache ? "cache-first" : "no-cache"
  1423. });
  1424. res = {
  1425. STATUS: 1,
  1426. DATA: sql.data
  1427. };
  1428. } catch (e) {
  1429. res = {
  1430. STATUS: 0,
  1431. DATA: errorHandler(e)
  1432. };
  1433. }
  1434. return res;
  1435. }
  1436. async function mutation(mutation, token = "", variables = {}) {
  1437. const client = initApollo(token);
  1438. var res;
  1439. try {
  1440. var sql = await client.mutate({
  1441. mutation: (0, _client.gql)`
  1442. ${mutation}
  1443. `,
  1444. variables: variables
  1445. });
  1446. res = {
  1447. STATUS: 1,
  1448. DATA: sql.data
  1449. };
  1450. } catch (e) {
  1451. console.log(e.networkError.result);
  1452. res = {
  1453. STATUS: 0,
  1454. DATA: errorHandler(e)
  1455. };
  1456. }
  1457. return res;
  1458. }
  1459. module.exports = {
  1460. query: query,
  1461. mutation: mutation
  1462. };
  1463. /***/ }),
  1464. /***/ "C+bE":
  1465. /***/ (function(module, exports) {
  1466. 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); }
  1467. function _typeof(obj) {
  1468. if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
  1469. module.exports = _typeof = function _typeof(obj) {
  1470. return _typeof2(obj);
  1471. };
  1472. } else {
  1473. module.exports = _typeof = function _typeof(obj) {
  1474. return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
  1475. };
  1476. }
  1477. return _typeof(obj);
  1478. }
  1479. module.exports = _typeof;
  1480. /***/ }),
  1481. /***/ "CCqr":
  1482. /***/ (function(module, exports) {
  1483. module.exports = require("cross-fetch");
  1484. /***/ }),
  1485. /***/ "EmCc":
  1486. /***/ (function(module, exports) {
  1487. module.exports = require("@material-ui/core/IconButton");
  1488. /***/ }),
  1489. /***/ "F+sf":
  1490. /***/ (function(module, exports) {
  1491. module.exports = "/_next/static/images/carrer-aecb323ebc9b8a1d77335dbcfae8580f.png";
  1492. /***/ }),
  1493. /***/ "Fm7H":
  1494. /***/ (function(module, exports) {
  1495. module.exports = require("@material-ui/icons/Favorite");
  1496. /***/ }),
  1497. /***/ "Ilpk":
  1498. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1499. "use strict";
  1500. const imagesStyles = {
  1501. imgFluid: {
  1502. maxWidth: "100%",
  1503. height: "auto"
  1504. },
  1505. imgRounded: {
  1506. borderRadius: "6px !important"
  1507. },
  1508. imgRoundedCircle: {
  1509. borderRadius: "50% !important"
  1510. },
  1511. imgRaised: {
  1512. boxShadow: "0 5px 15px -8px rgba(0, 0, 0, 0.24), 0 8px 10px -5px rgba(0, 0, 0, 0.2)"
  1513. },
  1514. imgGallery: {
  1515. width: "100%",
  1516. marginBottom: "2.142rem"
  1517. },
  1518. imgCardTop: {
  1519. width: "100%",
  1520. borderTopLeftRadius: "calc(.25rem - 1px)",
  1521. borderTopRightRadius: "calc(.25rem - 1px)"
  1522. },
  1523. imgCardBottom: {
  1524. width: "100%",
  1525. borderBottomLeftRadius: "calc(.25rem - 1px)",
  1526. borderBottomRightRadius: "calc(.25rem - 1px)"
  1527. },
  1528. imgCard: {
  1529. width: "100%",
  1530. borderRadius: "calc(.25rem - 1px)"
  1531. },
  1532. imgCardOverlay: {
  1533. position: "absolute",
  1534. top: "0",
  1535. right: "0",
  1536. bottom: "0",
  1537. left: "0",
  1538. padding: "1.25rem"
  1539. }
  1540. };
  1541. /* harmony default export */ __webpack_exports__["a"] = (imagesStyles);
  1542. /***/ }),
  1543. /***/ "JQ2V":
  1544. /***/ (function(module, exports) {
  1545. module.exports = require("@material-ui/core/Grid");
  1546. /***/ }),
  1547. /***/ "JeXI":
  1548. /***/ (function(module, exports) {
  1549. module.exports = "/_next/static/images/honda-ac654c5a83885fa7313fc304628b1e90.png";
  1550. /***/ }),
  1551. /***/ "K2gz":
  1552. /***/ (function(module, exports) {
  1553. module.exports = require("classnames");
  1554. /***/ }),
  1555. /***/ "KKbo":
  1556. /***/ (function(module, exports) {
  1557. module.exports = require("@material-ui/core");
  1558. /***/ }),
  1559. /***/ "Kg+a":
  1560. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1561. "use strict";
  1562. // EXTERNAL MODULE: external "react"
  1563. var external_react_ = __webpack_require__("cDcd");
  1564. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  1565. // EXTERNAL MODULE: external "classnames"
  1566. var external_classnames_ = __webpack_require__("K2gz");
  1567. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  1568. // EXTERNAL MODULE: external "@material-ui/core/styles/makeStyles"
  1569. var makeStyles_ = __webpack_require__("8//M");
  1570. var makeStyles_default = /*#__PURE__*/__webpack_require__.n(makeStyles_);
  1571. // EXTERNAL MODULE: external "@material-ui/core/Button"
  1572. var Button_ = __webpack_require__("Wh1t");
  1573. var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
  1574. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  1575. var nextjs_material_kit = __webpack_require__("eDSW");
  1576. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/buttonStyle.js
  1577. const buttonStyle = {
  1578. button: {
  1579. minHeight: "auto",
  1580. minWidth: "auto",
  1581. backgroundColor: nextjs_material_kit["i" /* grayColor */],
  1582. color: "#FFFFFF",
  1583. boxShadow: "0 2px 2px 0 rgba(153, 153, 153, 0.14), 0 3px 1px -2px rgba(153, 153, 153, 0.2), 0 1px 5px 0 rgba(153, 153, 153, 0.12)",
  1584. border: "none",
  1585. borderRadius: "3px",
  1586. position: "relative",
  1587. padding: "12px 30px",
  1588. margin: ".3125rem 1px",
  1589. fontSize: "12px",
  1590. fontWeight: "400",
  1591. textTransform: "uppercase",
  1592. letterSpacing: "0",
  1593. willChange: "box-shadow, transform",
  1594. transition: "box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1), background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1)",
  1595. lineHeight: "1.42857143",
  1596. textAlign: "center",
  1597. whiteSpace: "nowrap",
  1598. verticalAlign: "middle",
  1599. touchAction: "manipulation",
  1600. cursor: "pointer",
  1601. "&:hover,&:focus": {
  1602. color: "#FFFFFF",
  1603. backgroundColor: nextjs_material_kit["i" /* grayColor */],
  1604. boxShadow: "0 14px 26px -12px rgba(153, 153, 153, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(153, 153, 153, 0.2)"
  1605. },
  1606. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1607. position: "relative",
  1608. display: "inline-block",
  1609. top: "0",
  1610. fontSize: "1.1rem",
  1611. marginRight: "4px",
  1612. verticalAlign: "middle"
  1613. },
  1614. "& svg": {
  1615. position: "relative",
  1616. display: "inline-block",
  1617. top: "0",
  1618. width: "18px",
  1619. height: "18px",
  1620. marginRight: "4px",
  1621. verticalAlign: "middle"
  1622. },
  1623. "&$justIcon": {
  1624. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1625. marginRight: "0px",
  1626. position: "absolute",
  1627. width: "100%",
  1628. transform: "none",
  1629. left: "0px",
  1630. top: "0px",
  1631. height: "100%",
  1632. lineHeight: "41px",
  1633. fontSize: "20px"
  1634. }
  1635. }
  1636. },
  1637. fullWidth: {
  1638. width: "100%"
  1639. },
  1640. primary: {
  1641. backgroundColor: nextjs_material_kit["p" /* primaryColor */],
  1642. boxShadow: `0 2px 2px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.14)}, 0 3px 1px -2px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.2)}, 0 1px 5px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.12)}`,
  1643. "&:hover,&:focus": {
  1644. backgroundColor: nextjs_material_kit["p" /* primaryColor */],
  1645. boxShadow: `0 14px 26px -12px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.42)}, 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.2)}`
  1646. }
  1647. },
  1648. info: {
  1649. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  1650. boxShadow: `0 2px 2px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["m" /* infoColor */], 0.14)}, 0 3px 1px -2px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["m" /* infoColor */], 0.2)}, 0 1px 5px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["m" /* infoColor */], 0.12)}`,
  1651. "&:hover,&:focus": {
  1652. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  1653. boxShadow: `0 14px 26px -12px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["m" /* infoColor */], 0.42)}, 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["m" /* infoColor */], 0.2)}`
  1654. }
  1655. },
  1656. success: {
  1657. backgroundColor: nextjs_material_kit["u" /* successColor */],
  1658. boxShadow: `0 2px 2px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.14)}, 0 3px 1px -2px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.2)}, 0 1px 5px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.12)}`,
  1659. "&:hover,&:focus": {
  1660. backgroundColor: nextjs_material_kit["u" /* successColor */],
  1661. boxShadow: `0 14px 26px -12px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.42)}, 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.2)}`
  1662. }
  1663. },
  1664. warning: {
  1665. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  1666. boxShadow: `0 2px 2px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["z" /* warningColor */], 0.14)}, 0 3px 1px -2px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["z" /* warningColor */], 0.2)}, 0 1px 5px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["z" /* warningColor */], 0.12)}`,
  1667. "&:hover,&:focus": {
  1668. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  1669. boxShadow: `0 14px 26px -12px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["z" /* warningColor */], 0.42)}, 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["z" /* warningColor */], 0.2)}`
  1670. }
  1671. },
  1672. danger: {
  1673. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  1674. boxShadow: `0 2px 2px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["f" /* dangerColor */], 0.14)}, 0 3px 1px -2px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["f" /* dangerColor */], 0.2)}, 0 1px 5px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["f" /* dangerColor */], 0.12)}`,
  1675. "&:hover,&:focus": {
  1676. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  1677. boxShadow: `0 14px 26px -12px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["f" /* dangerColor */], 0.42)}, 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["f" /* dangerColor */], 0.2)}`
  1678. }
  1679. },
  1680. rose: {
  1681. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  1682. boxShadow: `0 2px 2px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.14)}, 0 3px 1px -2px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.2)}, 0 1px 5px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.12)}`,
  1683. "&:hover,&:focus": {
  1684. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  1685. boxShadow: `0 14px 26px -12px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.42)}, 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.2)}`
  1686. }
  1687. },
  1688. white: {
  1689. "&,&:focus,&:hover,&:visited": {
  1690. backgroundColor: "#FFFFFF",
  1691. color: nextjs_material_kit["i" /* grayColor */]
  1692. }
  1693. },
  1694. twitter: {
  1695. backgroundColor: "#55acee",
  1696. color: "#fff",
  1697. boxShadow: "0 2px 2px 0 rgba(85, 172, 238, 0.14), 0 3px 1px -2px rgba(85, 172, 238, 0.2), 0 1px 5px 0 rgba(85, 172, 238, 0.12)",
  1698. "&:hover,&:focus,&:visited": {
  1699. backgroundColor: "#55acee",
  1700. color: "#fff",
  1701. boxShadow: "0 14px 26px -12px rgba(85, 172, 238, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(85, 172, 238, 0.2)"
  1702. }
  1703. },
  1704. facebook: {
  1705. backgroundColor: "#3b5998",
  1706. color: "#fff",
  1707. boxShadow: "0 2px 2px 0 rgba(59, 89, 152, 0.14), 0 3px 1px -2px rgba(59, 89, 152, 0.2), 0 1px 5px 0 rgba(59, 89, 152, 0.12)",
  1708. "&:hover,&:focus": {
  1709. backgroundColor: "#3b5998",
  1710. color: "#fff",
  1711. boxShadow: "0 14px 26px -12px rgba(59, 89, 152, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(59, 89, 152, 0.2)"
  1712. }
  1713. },
  1714. google: {
  1715. backgroundColor: "#dd4b39",
  1716. color: "#fff",
  1717. boxShadow: "0 2px 2px 0 rgba(221, 75, 57, 0.14), 0 3px 1px -2px rgba(221, 75, 57, 0.2), 0 1px 5px 0 rgba(221, 75, 57, 0.12)",
  1718. "&:hover,&:focus": {
  1719. backgroundColor: "#dd4b39",
  1720. color: "#fff",
  1721. boxShadow: "0 14px 26px -12px rgba(221, 75, 57, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(221, 75, 57, 0.2)"
  1722. }
  1723. },
  1724. github: {
  1725. backgroundColor: "#333333",
  1726. color: "#fff",
  1727. boxShadow: "0 2px 2px 0 rgba(51, 51, 51, 0.14), 0 3px 1px -2px rgba(51, 51, 51, 0.2), 0 1px 5px 0 rgba(51, 51, 51, 0.12)",
  1728. "&:hover,&:focus": {
  1729. backgroundColor: "#333333",
  1730. color: "#fff",
  1731. boxShadow: "0 14px 26px -12px rgba(51, 51, 51, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(51, 51, 51, 0.2)"
  1732. }
  1733. },
  1734. simple: {
  1735. "&,&:focus,&:hover,&:visited": {
  1736. color: "#FFFFFF",
  1737. background: "transparent",
  1738. boxShadow: "none"
  1739. },
  1740. "&$primary": {
  1741. "&,&:focus,&:hover,&:visited": {
  1742. color: nextjs_material_kit["p" /* primaryColor */]
  1743. }
  1744. },
  1745. "&$info": {
  1746. "&,&:focus,&:hover,&:visited": {
  1747. color: nextjs_material_kit["m" /* infoColor */]
  1748. }
  1749. },
  1750. "&$success": {
  1751. "&,&:focus,&:hover,&:visited": {
  1752. color: nextjs_material_kit["u" /* successColor */]
  1753. }
  1754. },
  1755. "&$warning": {
  1756. "&,&:focus,&:hover,&:visited": {
  1757. color: nextjs_material_kit["z" /* warningColor */]
  1758. }
  1759. },
  1760. "&$rose": {
  1761. "&,&:focus,&:hover,&:visited": {
  1762. color: nextjs_material_kit["r" /* roseColor */]
  1763. }
  1764. },
  1765. "&$danger": {
  1766. "&,&:focus,&:hover,&:visited": {
  1767. color: nextjs_material_kit["f" /* dangerColor */]
  1768. }
  1769. },
  1770. "&$twitter": {
  1771. "&,&:focus,&:hover,&:visited": {
  1772. color: "#55acee"
  1773. }
  1774. },
  1775. "&$facebook": {
  1776. "&,&:focus,&:hover,&:visited": {
  1777. color: "#3b5998"
  1778. }
  1779. },
  1780. "&$google": {
  1781. "&,&:focus,&:hover,&:visited": {
  1782. color: "#dd4b39"
  1783. }
  1784. },
  1785. "&$github": {
  1786. "&,&:focus,&:hover,&:visited": {
  1787. color: "#333333"
  1788. }
  1789. }
  1790. },
  1791. transparent: {
  1792. "&,&:focus,&:hover,&:visited": {
  1793. color: "inherit",
  1794. background: "transparent",
  1795. boxShadow: "none"
  1796. }
  1797. },
  1798. disabled: {
  1799. opacity: "0.65",
  1800. pointerEvents: "none"
  1801. },
  1802. lg: {
  1803. padding: "1.125rem 2.25rem",
  1804. fontSize: "0.875rem",
  1805. lineHeight: "1.333333",
  1806. borderRadius: "0.2rem"
  1807. },
  1808. sm: {
  1809. padding: "0.40625rem 1.25rem",
  1810. fontSize: "0.6875rem",
  1811. lineHeight: "1.5",
  1812. borderRadius: "0.2rem"
  1813. },
  1814. round: {
  1815. borderRadius: "30px"
  1816. },
  1817. block: {
  1818. width: "100% !important"
  1819. },
  1820. link: {
  1821. "&,&:hover,&:focus": {
  1822. backgroundColor: "transparent",
  1823. color: "#999999",
  1824. boxShadow: "none"
  1825. }
  1826. },
  1827. justIcon: {
  1828. paddingLeft: "12px",
  1829. paddingRight: "12px",
  1830. fontSize: "20px",
  1831. height: "41px",
  1832. minWidth: "41px",
  1833. width: "41px",
  1834. "& .fab,& .fas,& .far,& .fal,& svg,& .material-icons": {
  1835. marginRight: "0px"
  1836. },
  1837. "&$lg": {
  1838. height: "57px",
  1839. minWidth: "57px",
  1840. width: "57px",
  1841. lineHeight: "56px",
  1842. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1843. fontSize: "32px",
  1844. lineHeight: "56px"
  1845. },
  1846. "& svg": {
  1847. width: "32px",
  1848. height: "32px"
  1849. }
  1850. },
  1851. "&$sm": {
  1852. height: "30px",
  1853. minWidth: "30px",
  1854. width: "30px",
  1855. "& .fab,& .fas,& .far,& .fal,& .material-icons": {
  1856. fontSize: "17px",
  1857. lineHeight: "29px"
  1858. },
  1859. "& svg": {
  1860. width: "17px",
  1861. height: "17px"
  1862. }
  1863. }
  1864. }
  1865. };
  1866. /* harmony default export */ var components_buttonStyle = (buttonStyle);
  1867. // CONCATENATED MODULE: ./components/CustomButtons/Button.js
  1868. var __jsx = external_react_default.a.createElement;
  1869. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  1870. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  1871. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  1872. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
  1873. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  1874. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  1875. // nodejs library to set properties for components
  1876. // nodejs library that concatenates classes
  1877. // @material-ui/core components
  1878. // core components
  1879. const makeComponentStyles = makeStyles_default()(() => _objectSpread({}, components_buttonStyle));
  1880. const RegularButton = external_react_default.a.forwardRef((props, ref) => {
  1881. const {
  1882. color,
  1883. round,
  1884. children,
  1885. fullWidth,
  1886. disabled,
  1887. simple,
  1888. size,
  1889. block,
  1890. link,
  1891. justIcon,
  1892. className
  1893. } = props,
  1894. rest = _objectWithoutProperties(props, ["color", "round", "children", "fullWidth", "disabled", "simple", "size", "block", "link", "justIcon", "className"]);
  1895. const classes = makeComponentStyles();
  1896. const btnClasses = external_classnames_default()({
  1897. [classes.button]: true,
  1898. [classes[size]]: size,
  1899. [classes[color]]: color,
  1900. [classes.round]: round,
  1901. [classes.fullWidth]: fullWidth,
  1902. [classes.disabled]: disabled,
  1903. [classes.simple]: simple,
  1904. [classes.block]: block,
  1905. [classes.link]: link,
  1906. [classes.justIcon]: justIcon,
  1907. [className]: className
  1908. });
  1909. return __jsx(Button_default.a, _extends({}, rest, {
  1910. ref: ref,
  1911. classes: {
  1912. root: btnClasses
  1913. }
  1914. }), children);
  1915. });
  1916. /* harmony default export */ var Button = __webpack_exports__["a"] = (RegularButton);
  1917. /***/ }),
  1918. /***/ "Ms0O":
  1919. /***/ (function(module, exports) {
  1920. module.exports = require("@material-ui/core/Toolbar");
  1921. /***/ }),
  1922. /***/ "Osoz":
  1923. /***/ (function(module, exports) {
  1924. module.exports = require("next/dist/next-server/lib/router-context.js");
  1925. /***/ }),
  1926. /***/ "Q01v":
  1927. /***/ (function(module, exports) {
  1928. module.exports = require("@material-ui/core/Drawer");
  1929. /***/ }),
  1930. /***/ "QOEo":
  1931. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  1932. "use strict";
  1933. // EXPORTS
  1934. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ CustomDropdown; });
  1935. // EXTERNAL MODULE: external "react"
  1936. var external_react_ = __webpack_require__("cDcd");
  1937. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  1938. // EXTERNAL MODULE: external "classnames"
  1939. var external_classnames_ = __webpack_require__("K2gz");
  1940. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  1941. // EXTERNAL MODULE: external "@material-ui/core/styles"
  1942. var styles_ = __webpack_require__("9Pu4");
  1943. // EXTERNAL MODULE: external "@material-ui/core/MenuItem"
  1944. var MenuItem_ = __webpack_require__("x54t");
  1945. var MenuItem_default = /*#__PURE__*/__webpack_require__.n(MenuItem_);
  1946. // EXTERNAL MODULE: external "@material-ui/core/MenuList"
  1947. var MenuList_ = __webpack_require__("xmQw");
  1948. var MenuList_default = /*#__PURE__*/__webpack_require__.n(MenuList_);
  1949. // EXTERNAL MODULE: external "@material-ui/core/ClickAwayListener"
  1950. var ClickAwayListener_ = __webpack_require__("31Yn");
  1951. var ClickAwayListener_default = /*#__PURE__*/__webpack_require__.n(ClickAwayListener_);
  1952. // EXTERNAL MODULE: external "@material-ui/core/Paper"
  1953. var Paper_ = __webpack_require__("qt1I");
  1954. var Paper_default = /*#__PURE__*/__webpack_require__.n(Paper_);
  1955. // EXTERNAL MODULE: external "@material-ui/core/Grow"
  1956. var Grow_ = __webpack_require__("mf1M");
  1957. var Grow_default = /*#__PURE__*/__webpack_require__.n(Grow_);
  1958. // EXTERNAL MODULE: external "@material-ui/core/Divider"
  1959. var Divider_ = __webpack_require__("nybW");
  1960. var Divider_default = /*#__PURE__*/__webpack_require__.n(Divider_);
  1961. // EXTERNAL MODULE: external "@material-ui/core/Icon"
  1962. var Icon_ = __webpack_require__("7vM9");
  1963. var Icon_default = /*#__PURE__*/__webpack_require__.n(Icon_);
  1964. // EXTERNAL MODULE: external "@material-ui/core/Popper"
  1965. var Popper_ = __webpack_require__("jD8W");
  1966. var Popper_default = /*#__PURE__*/__webpack_require__.n(Popper_);
  1967. // EXTERNAL MODULE: ./components/CustomButtons/Button.js + 1 modules
  1968. var Button = __webpack_require__("Kg+a");
  1969. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  1970. var nextjs_material_kit = __webpack_require__("eDSW");
  1971. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/customDropdownStyle.js
  1972. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
  1973. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  1974. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  1975. const customDropdownStyle = theme => ({
  1976. popperClose: {
  1977. pointerEvents: "none"
  1978. },
  1979. pooperNav: {
  1980. [theme.breakpoints.down("sm")]: {
  1981. position: "static !important",
  1982. left: "unset !important",
  1983. top: "unset !important",
  1984. transform: "none !important",
  1985. willChange: "none !important",
  1986. "& > div": {
  1987. boxShadow: "none !important",
  1988. marginLeft: "1.5rem",
  1989. marginRight: "1.5rem",
  1990. transition: "none !important",
  1991. marginTop: "0px !important",
  1992. marginBottom: "5px !important",
  1993. padding: "0px !important"
  1994. }
  1995. }
  1996. },
  1997. dropdown: {
  1998. borderRadius: "3px",
  1999. border: "0",
  2000. boxShadow: "0 2px 5px 0 rgba(0, 0, 0, 0.26)",
  2001. top: "100%",
  2002. zIndex: "1000",
  2003. minWidth: "160px",
  2004. padding: "5px 0",
  2005. margin: "2px 0 0",
  2006. fontSize: "14px",
  2007. textAlign: "left",
  2008. listStyle: "none",
  2009. backgroundColor: "#fff",
  2010. backgroundClip: "padding-box"
  2011. },
  2012. menuList: {
  2013. padding: "0"
  2014. },
  2015. popperResponsive: {
  2016. zIndex: "1200",
  2017. position: "absolute !important",
  2018. [theme.breakpoints.down("sm")]: {
  2019. zIndex: "1640",
  2020. position: "static !important",
  2021. float: "none",
  2022. width: "auto",
  2023. marginTop: "0",
  2024. backgroundColor: "transparent",
  2025. border: "0",
  2026. boxShadow: "none",
  2027. color: "black"
  2028. }
  2029. },
  2030. dropdownItem: _objectSpread({}, nextjs_material_kit["g" /* defaultFont */], {
  2031. fontSize: "13px",
  2032. padding: "10px 20px",
  2033. margin: "0 5px",
  2034. borderRadius: "2px",
  2035. position: "relative",
  2036. transition: "all 150ms linear",
  2037. display: "block",
  2038. clear: "both",
  2039. fontWeight: "400",
  2040. height: "fit-content",
  2041. color: "#333",
  2042. whiteSpace: "nowrap",
  2043. minHeight: "unset"
  2044. }),
  2045. blackHover: {
  2046. "&:hover": {
  2047. boxShadow: "0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(33, 33, 33, 0.4)",
  2048. backgroundColor: "#212121",
  2049. color: "#fff"
  2050. }
  2051. },
  2052. primaryHover: {
  2053. "&:hover": _objectSpread({
  2054. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  2055. color: "#FFFFFF"
  2056. }, nextjs_material_kit["n" /* primaryBoxShadow */])
  2057. },
  2058. infoHover: {
  2059. "&:hover": _objectSpread({
  2060. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  2061. color: "#FFFFFF"
  2062. }, nextjs_material_kit["k" /* infoBoxShadow */])
  2063. },
  2064. successHover: {
  2065. "&:hover": _objectSpread({
  2066. backgroundColor: nextjs_material_kit["u" /* successColor */],
  2067. color: "#FFFFFF"
  2068. }, nextjs_material_kit["s" /* successBoxShadow */])
  2069. },
  2070. warningHover: {
  2071. "&:hover": _objectSpread({
  2072. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  2073. color: "#FFFFFF"
  2074. }, nextjs_material_kit["x" /* warningBoxShadow */])
  2075. },
  2076. dangerHover: {
  2077. "&:hover": _objectSpread({
  2078. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  2079. color: "#FFFFFF"
  2080. }, nextjs_material_kit["d" /* dangerBoxShadow */])
  2081. },
  2082. roseHover: {
  2083. "&:hover": _objectSpread({
  2084. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  2085. color: "#FFFFFF"
  2086. }, nextjs_material_kit["q" /* roseBoxShadow */])
  2087. },
  2088. dropdownItemRTL: {
  2089. textAlign: "right"
  2090. },
  2091. dropdownDividerItem: {
  2092. margin: "5px 0",
  2093. backgroundColor: "rgba(0, 0, 0, 0.12)",
  2094. height: "1px",
  2095. overflow: "hidden"
  2096. },
  2097. buttonIcon: {
  2098. width: "20px",
  2099. height: "20px"
  2100. },
  2101. caret: {
  2102. transition: "all 150ms ease-in",
  2103. display: "inline-block",
  2104. width: "0",
  2105. height: "0",
  2106. marginLeft: "4px",
  2107. verticalAlign: "middle",
  2108. borderTop: "4px solid",
  2109. borderRight: "4px solid transparent",
  2110. borderLeft: "4px solid transparent"
  2111. },
  2112. caretActive: {
  2113. transform: "rotate(180deg)"
  2114. },
  2115. caretRTL: {
  2116. marginRight: "4px"
  2117. },
  2118. dropdownHeader: {
  2119. display: "block",
  2120. padding: "0.1875rem 1.25rem",
  2121. fontSize: "0.75rem",
  2122. lineHeight: "1.428571",
  2123. color: "#777",
  2124. whiteSpace: "nowrap",
  2125. fontWeight: "inherit",
  2126. marginTop: "10px",
  2127. minHeight: "unset",
  2128. "&:hover,&:focus": {
  2129. backgroundColor: "transparent",
  2130. cursor: "auto"
  2131. }
  2132. },
  2133. noLiPadding: {
  2134. padding: "0"
  2135. }
  2136. });
  2137. /* harmony default export */ var components_customDropdownStyle = (customDropdownStyle);
  2138. // CONCATENATED MODULE: ./components/CustomDropdown/CustomDropdown.js
  2139. var __jsx = external_react_default.a.createElement;
  2140. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  2141. // nodejs library that concatenates classes
  2142. // nodejs library to set properties for components
  2143. // @material-ui/core components
  2144. // core components
  2145. const useStyles = Object(styles_["makeStyles"])(components_customDropdownStyle);
  2146. function CustomDropdown(props) {
  2147. const [anchorEl, setAnchorEl] = external_react_default.a.useState(null);
  2148. const handleClick = event => {
  2149. if (anchorEl && anchorEl.contains(event.target)) {
  2150. setAnchorEl(null);
  2151. } else {
  2152. setAnchorEl(event.currentTarget);
  2153. }
  2154. };
  2155. const handleClose = param => {
  2156. setAnchorEl(null);
  2157. if (props && props.onClick) {
  2158. props.onClick(param);
  2159. }
  2160. };
  2161. const handleCloseAway = event => {
  2162. if (anchorEl.contains(event.target)) {
  2163. return;
  2164. }
  2165. setAnchorEl(null);
  2166. };
  2167. const classes = useStyles();
  2168. const {
  2169. buttonText,
  2170. buttonIcon,
  2171. dropdownList,
  2172. buttonProps,
  2173. dropup,
  2174. dropdownHeader,
  2175. caret,
  2176. hoverColor,
  2177. left,
  2178. rtlActive,
  2179. noLiPadding,
  2180. navDropdown
  2181. } = props;
  2182. const caretClasses = external_classnames_default()({
  2183. [classes.caret]: true,
  2184. [classes.caretActive]: Boolean(anchorEl),
  2185. [classes.caretRTL]: rtlActive
  2186. });
  2187. const dropdownItem = external_classnames_default()({
  2188. [classes.dropdownItem]: true,
  2189. [classes[hoverColor + "Hover"]]: true,
  2190. [classes.noLiPadding]: noLiPadding,
  2191. [classes.dropdownItemRTL]: rtlActive
  2192. });
  2193. let icon = null;
  2194. switch (typeof buttonIcon) {
  2195. case "object":
  2196. icon = __jsx(props.buttonIcon, {
  2197. className: classes.buttonIcon
  2198. });
  2199. break;
  2200. case "string":
  2201. icon = __jsx(Icon_default.a, {
  2202. className: classes.buttonIcon
  2203. }, props.buttonIcon);
  2204. break;
  2205. default:
  2206. icon = null;
  2207. break;
  2208. }
  2209. return __jsx("div", null, __jsx("div", null, __jsx(Button["a" /* default */], _extends({
  2210. "aria-label": "Notifications",
  2211. "aria-owns": anchorEl ? "menu-list" : null,
  2212. "aria-haspopup": "true"
  2213. }, buttonProps, {
  2214. onClick: handleClick
  2215. }), icon, buttonText !== undefined ? buttonText : null, caret ? __jsx("b", {
  2216. className: caretClasses
  2217. }) : null)), __jsx(Popper_default.a, {
  2218. open: Boolean(anchorEl),
  2219. anchorEl: anchorEl,
  2220. transition: true,
  2221. disablePortal: true,
  2222. placement: dropup ? left ? "top-start" : "top" : left ? "bottom-start" : "bottom",
  2223. className: external_classnames_default()({
  2224. [classes.popperClose]: !anchorEl,
  2225. [classes.popperResponsive]: true,
  2226. [classes.pooperNav]: Boolean(anchorEl) && navDropdown
  2227. })
  2228. }, () => __jsx(Grow_default.a, {
  2229. in: Boolean(anchorEl),
  2230. id: "menu-list",
  2231. style: dropup ? {
  2232. transformOrigin: "0 100% 0"
  2233. } : {
  2234. transformOrigin: "0 0 0"
  2235. }
  2236. }, __jsx(Paper_default.a, {
  2237. className: classes.dropdown
  2238. }, __jsx(ClickAwayListener_default.a, {
  2239. onClickAway: handleCloseAway
  2240. }, __jsx(MenuList_default.a, {
  2241. role: "menu",
  2242. className: classes.menuList
  2243. }, dropdownHeader !== undefined ? __jsx(MenuItem_default.a, {
  2244. onClick: () => handleClose(dropdownHeader),
  2245. className: classes.dropdownHeader
  2246. }, dropdownHeader) : null, dropdownList.map((prop, key) => {
  2247. if (prop.divider) {
  2248. return __jsx(Divider_default.a, {
  2249. key: key,
  2250. onClick: () => handleClose("divider"),
  2251. className: classes.dropdownDividerItem
  2252. });
  2253. }
  2254. return __jsx(MenuItem_default.a, {
  2255. key: key,
  2256. onClick: () => handleClose(prop),
  2257. className: dropdownItem
  2258. }, prop);
  2259. })))))));
  2260. }
  2261. CustomDropdown.defaultProps = {
  2262. caret: true,
  2263. hoverColor: "primary"
  2264. };
  2265. /***/ }),
  2266. /***/ "Qpk+":
  2267. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2268. "use strict";
  2269. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HeaderLinks; });
  2270. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  2271. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  2272. /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("YFqc");
  2273. /* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_1__);
  2274. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("9Pu4");
  2275. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_2__);
  2276. /* harmony import */ var _material_ui_core_List__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("0LMq");
  2277. /* harmony import */ var _material_ui_core_List__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_List__WEBPACK_IMPORTED_MODULE_3__);
  2278. /* harmony import */ var _material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("c25J");
  2279. /* harmony import */ var _material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4__);
  2280. /* harmony import */ var _material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("7vM9");
  2281. /* harmony import */ var _material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5__);
  2282. /* harmony import */ var _material_ui_icons_LocalGroceryStore__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("3REV");
  2283. /* harmony import */ var _material_ui_icons_LocalGroceryStore__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_material_ui_icons_LocalGroceryStore__WEBPACK_IMPORTED_MODULE_6__);
  2284. /* harmony import */ var _material_ui_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__("2kat");
  2285. /* harmony import */ var _material_ui_icons__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_material_ui_icons__WEBPACK_IMPORTED_MODULE_7__);
  2286. /* harmony import */ var components_CustomDropdown_CustomDropdown_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__("QOEo");
  2287. /* harmony import */ var components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__("Kg+a");
  2288. /* harmony import */ var assets_jss_nextjs_material_kit_components_headerLinksStyle_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__("0G1C");
  2289. /* harmony import */ var assets_img_honda_png__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__("JeXI");
  2290. /* harmony import */ var assets_img_honda_png__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(assets_img_honda_png__WEBPACK_IMPORTED_MODULE_11__);
  2291. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  2292. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  2293. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  2294. /*eslint-disable*/
  2295. // @material-ui/core components
  2296. // @material-ui/icons
  2297. // core components
  2298. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_2__["makeStyles"])(assets_jss_nextjs_material_kit_components_headerLinksStyle_js__WEBPACK_IMPORTED_MODULE_10__[/* default */ "a"]);
  2299. function HeaderLinks(_ref) {
  2300. let {
  2301. username
  2302. } = _ref,
  2303. props = _objectWithoutProperties(_ref, ["username"]);
  2304. const classes = useStyles();
  2305. return __jsx(_material_ui_core_List__WEBPACK_IMPORTED_MODULE_3___default.a, {
  2306. className: classes.list
  2307. }, __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2308. className: classes.listItem
  2309. }, __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
  2310. href: "/honda/home"
  2311. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2312. color: "transparent",
  2313. className: classes.navLink
  2314. }, __jsx("img", {
  2315. src: assets_img_honda_png__WEBPACK_IMPORTED_MODULE_11___default.a,
  2316. width: "210px"
  2317. })))), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2318. className: classes.listItem
  2319. }, __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
  2320. href: "/honda/home"
  2321. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2322. color: "transparent",
  2323. className: classes.navLink,
  2324. style: {
  2325. marginTop: "10px"
  2326. }
  2327. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2328. className: classes.icons
  2329. }, "home"), " Home"))), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2330. className: classes.listItem
  2331. }, __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
  2332. href: "/honda/product/product"
  2333. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2334. color: "transparent",
  2335. className: classes.navLink,
  2336. style: {
  2337. marginTop: "10px"
  2338. }
  2339. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2340. className: classes.icons
  2341. }, "home"), " Product"))), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2342. className: classes.listItem,
  2343. style: {
  2344. marginTop: "10px"
  2345. }
  2346. }, __jsx(next_link__WEBPACK_IMPORTED_MODULE_1___default.a, {
  2347. href: "/honda/latest_news/latestnews"
  2348. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2349. color: "transparent",
  2350. className: classes.navLink
  2351. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2352. className: classes.icons
  2353. }, "event"), " Latest News"))), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2354. className: classes.listItem,
  2355. style: {
  2356. marginTop: "10px"
  2357. }
  2358. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2359. href: "/honda/carrer/carrer",
  2360. color: "transparent",
  2361. className: classes.navLink
  2362. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2363. className: classes.icons
  2364. }, "wallet_travel"), " Career")), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2365. className: classes.listItem,
  2366. style: {
  2367. marginTop: "10px"
  2368. }
  2369. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2370. href: "/honda/about_us/about_us",
  2371. color: "transparent",
  2372. className: classes.navLink
  2373. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2374. className: classes.icons
  2375. }, "account_balance"), " About Us")), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2376. className: classes.listItem,
  2377. style: {
  2378. marginTop: "10px"
  2379. }
  2380. }, __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2381. href: "/honda/profile/profile" // href="#"
  2382. ,
  2383. color: "transparent",
  2384. className: classes.navLink
  2385. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2386. className: classes.icons
  2387. }, "people"), " Profile")), __jsx(_material_ui_core_ListItem__WEBPACK_IMPORTED_MODULE_4___default.a, {
  2388. className: classes.listItem,
  2389. style: {
  2390. marginTop: "10px"
  2391. }
  2392. }, !username || username == "" ? __jsx(components_CustomButtons_Button_js__WEBPACK_IMPORTED_MODULE_9__[/* default */ "a"], {
  2393. href: "/honda/login",
  2394. className: classes.registerNavLink,
  2395. color: "info",
  2396. round: true
  2397. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2398. className: classes.icons
  2399. }, "input"), " Login") : __jsx(components_CustomDropdown_CustomDropdown_js__WEBPACK_IMPORTED_MODULE_8__[/* default */ "a"], {
  2400. noLiPadding: true,
  2401. navDropdown: true,
  2402. buttonText: username.length > 12 ? username.substring(0, 9) + ".." : username,
  2403. buttonProps: {
  2404. className: classes.navLink,
  2405. color: "transparent"
  2406. },
  2407. buttonIcon: _material_ui_icons__WEBPACK_IMPORTED_MODULE_7__["Person"],
  2408. dropdownList: [__jsx("div", {
  2409. onClick: async e => {
  2410. e.preventDefault();
  2411. fetch("/api/auth/logout", {
  2412. method: "POST",
  2413. headers: {
  2414. "Content-Type": "application/json"
  2415. },
  2416. body: JSON.stringify({
  2417. p: "SUZUKI"
  2418. })
  2419. }).then(res => {
  2420. //if (res.ok) {
  2421. window.location.href = "../honda/home";
  2422. /*}
  2423. else{
  2424. }*/
  2425. });
  2426. }
  2427. }, __jsx("a", {
  2428. className: classes.dropdownLink
  2429. }, __jsx(_material_ui_core_Icon__WEBPACK_IMPORTED_MODULE_5___default.a, {
  2430. className: classes.icons
  2431. }, "exit_to_app"), " ", "Logout")) // <a href="/honda/profile/profile" className={classes.dropdownLink}>Profile</a>,
  2432. ]
  2433. })));
  2434. }
  2435. /***/ }),
  2436. /***/ "QzC/":
  2437. /***/ (function(module, exports) {
  2438. module.exports = require("react-swipeable-views");
  2439. /***/ }),
  2440. /***/ "SJC6":
  2441. /***/ (function(module, exports) {
  2442. module.exports = require("@material-ui/core/Tabs");
  2443. /***/ }),
  2444. /***/ "SuH/":
  2445. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2446. "use strict";
  2447. // EXPORTS
  2448. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ NavPills; });
  2449. // EXTERNAL MODULE: external "react"
  2450. var external_react_ = __webpack_require__("cDcd");
  2451. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  2452. // EXTERNAL MODULE: external "classnames"
  2453. var external_classnames_ = __webpack_require__("K2gz");
  2454. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  2455. // EXTERNAL MODULE: external "react-swipeable-views"
  2456. var external_react_swipeable_views_ = __webpack_require__("QzC/");
  2457. var external_react_swipeable_views_default = /*#__PURE__*/__webpack_require__.n(external_react_swipeable_views_);
  2458. // EXTERNAL MODULE: external "@material-ui/core/styles"
  2459. var styles_ = __webpack_require__("9Pu4");
  2460. // EXTERNAL MODULE: external "@material-ui/core/Tabs"
  2461. var Tabs_ = __webpack_require__("SJC6");
  2462. var Tabs_default = /*#__PURE__*/__webpack_require__.n(Tabs_);
  2463. // EXTERNAL MODULE: external "@material-ui/core/Tab"
  2464. var Tab_ = __webpack_require__("6Yxu");
  2465. var Tab_default = /*#__PURE__*/__webpack_require__.n(Tab_);
  2466. // EXTERNAL MODULE: ./components/Grid/GridContainer.js
  2467. var GridContainer = __webpack_require__("mtPR");
  2468. // EXTERNAL MODULE: ./components/Grid/GridItem.js
  2469. var GridItem = __webpack_require__("i4t8");
  2470. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  2471. var nextjs_material_kit = __webpack_require__("eDSW");
  2472. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/navPillsStyle.js
  2473. const navPillsStyle = theme => ({
  2474. root: {
  2475. marginTop: "20px",
  2476. paddingLeft: "0",
  2477. marginBottom: "0",
  2478. overflow: "visible !important",
  2479. lineHeight: "24px",
  2480. textTransform: "uppercase",
  2481. fontSize: "12px",
  2482. fontWeight: "500",
  2483. position: "relative",
  2484. display: "block",
  2485. color: "inherit"
  2486. },
  2487. flexContainer: {
  2488. [theme.breakpoints.down("xs")]: {
  2489. display: "flex",
  2490. flexWrap: "wrap"
  2491. }
  2492. },
  2493. displayNone: {
  2494. display: "none !important"
  2495. },
  2496. fixed: {
  2497. overflow: "visible !important"
  2498. },
  2499. horizontalDisplay: {
  2500. display: "block"
  2501. },
  2502. pills: {
  2503. float: "left",
  2504. position: "relative",
  2505. display: "block",
  2506. borderRadius: "30px",
  2507. minWidth: "100px",
  2508. textAlign: "center",
  2509. transition: "all .3s",
  2510. padding: "10px 15px",
  2511. color: "#555555",
  2512. height: "auto",
  2513. opacity: "1",
  2514. maxWidth: "100%",
  2515. margin: "0 5px"
  2516. },
  2517. pillsWithIcons: {
  2518. borderRadius: "4px"
  2519. },
  2520. tabIcon: {
  2521. width: "30px",
  2522. height: "30px",
  2523. display: "block",
  2524. margin: "15px 0 !important",
  2525. "&, & *": {
  2526. letterSpacing: "normal !important"
  2527. }
  2528. },
  2529. horizontalPills: {
  2530. width: "100%",
  2531. float: "none !important",
  2532. "& + button": {
  2533. margin: "10px 0"
  2534. }
  2535. },
  2536. contentWrapper: {
  2537. marginTop: "20px"
  2538. },
  2539. primary: {
  2540. "&,&:hover": {
  2541. color: "#FFFFFF",
  2542. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  2543. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["p" /* primaryColor */], 0.4)}`
  2544. }
  2545. },
  2546. info: {
  2547. "&,&:hover": {
  2548. color: "#FFFFFF",
  2549. backgroundColor: nextjs_material_kit["m" /* infoColor */],
  2550. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["m" /* infoColor */], 0.4)}`
  2551. }
  2552. },
  2553. success: {
  2554. "&,&:hover": {
  2555. color: "#FFFFFF",
  2556. backgroundColor: nextjs_material_kit["u" /* successColor */],
  2557. boxShadow: `0 2px 2px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.14)}, 0 3px 1px -2px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.2)}, 0 1px 5px 0 ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["u" /* successColor */], 0.12)}`
  2558. }
  2559. },
  2560. warning: {
  2561. "&,&:hover": {
  2562. color: "#FFFFFF",
  2563. backgroundColor: nextjs_material_kit["z" /* warningColor */],
  2564. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["z" /* warningColor */], 0.4)}`
  2565. }
  2566. },
  2567. danger: {
  2568. "&,&:hover": {
  2569. color: "#FFFFFF",
  2570. backgroundColor: nextjs_material_kit["f" /* dangerColor */],
  2571. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["f" /* dangerColor */], 0.4)}`
  2572. }
  2573. },
  2574. rose: {
  2575. "&,&:hover": {
  2576. color: "#FFFFFF",
  2577. backgroundColor: nextjs_material_kit["r" /* roseColor */],
  2578. boxShadow: `0 4px 20px 0px rgba(0, 0, 0, 0.14), 0 7px 10px -5px ${Object(nextjs_material_kit["j" /* hexToRGBAlpha */])(nextjs_material_kit["r" /* roseColor */], 0.4)}`
  2579. }
  2580. },
  2581. alignCenter: {
  2582. alignItems: "center",
  2583. justifyContent: "center"
  2584. },
  2585. tabWrapper: {
  2586. color: "inherit",
  2587. position: "relative",
  2588. fontSize: "12px",
  2589. lineHeight: "24px",
  2590. fontWeight: "500",
  2591. textTransform: "uppercase",
  2592. "&,& *": {
  2593. letterSpacing: "normal"
  2594. }
  2595. }
  2596. });
  2597. /* harmony default export */ var components_navPillsStyle = (navPillsStyle);
  2598. // CONCATENATED MODULE: ./components/NavPills/NavPills.js
  2599. var __jsx = external_react_default.a.createElement;
  2600. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  2601. // nodejs library that concatenates classes
  2602. // nodejs library to set properties for components
  2603. // @material-ui/core components
  2604. // core components
  2605. const useStyles = Object(styles_["makeStyles"])(components_navPillsStyle);
  2606. function NavPills(props) {
  2607. const [active, setActive] = external_react_default.a.useState(props.active);
  2608. const handleChange = (event, active) => {
  2609. setActive(active);
  2610. };
  2611. const handleChangeIndex = index => {
  2612. setActive(index);
  2613. };
  2614. const classes = useStyles();
  2615. const {
  2616. tabs,
  2617. direction,
  2618. color,
  2619. horizontal,
  2620. alignCenter
  2621. } = props;
  2622. const flexContainerClasses = external_classnames_default()({
  2623. [classes.flexContainer]: true,
  2624. [classes.horizontalDisplay]: horizontal !== undefined
  2625. });
  2626. const tabButtons = __jsx(Tabs_default.a, {
  2627. classes: {
  2628. root: classes.root,
  2629. fixed: classes.fixed,
  2630. flexContainer: flexContainerClasses,
  2631. indicator: classes.displayNone
  2632. },
  2633. value: active,
  2634. onChange: handleChange,
  2635. centered: alignCenter
  2636. }, tabs.map((prop, key) => {
  2637. var icon = {};
  2638. if (prop.tabIcon !== undefined) {
  2639. icon["icon"] = __jsx(prop.tabIcon, {
  2640. className: classes.tabIcon
  2641. });
  2642. }
  2643. const pillsClasses = external_classnames_default()({
  2644. [classes.pills]: true,
  2645. [classes.horizontalPills]: horizontal !== undefined,
  2646. [classes.pillsWithIcons]: prop.tabIcon !== undefined
  2647. });
  2648. return __jsx(Tab_default.a, _extends({
  2649. label: prop.tabButton,
  2650. key: key
  2651. }, icon, {
  2652. classes: {
  2653. root: pillsClasses,
  2654. selected: classes[color],
  2655. wrapper: classes.tabWrapper
  2656. }
  2657. }));
  2658. }));
  2659. const tabContent = __jsx("div", {
  2660. className: classes.contentWrapper
  2661. }, __jsx(external_react_swipeable_views_default.a, {
  2662. axis: direction === "rtl" ? "x-reverse" : "x",
  2663. index: active,
  2664. onChangeIndex: handleChangeIndex
  2665. }, tabs.map((prop, key) => {
  2666. return __jsx("div", {
  2667. className: classes.tabContent,
  2668. key: key
  2669. }, prop.tabContent);
  2670. })));
  2671. return horizontal !== undefined ? __jsx(GridContainer["a" /* default */], null, __jsx(GridItem["a" /* default */], horizontal.tabsGrid, tabButtons), __jsx(GridItem["a" /* default */], horizontal.contentGrid, tabContent)) : __jsx("div", null, tabButtons, tabContent);
  2672. }
  2673. NavPills.defaultProps = {
  2674. active: 0,
  2675. color: "primary"
  2676. };
  2677. /***/ }),
  2678. /***/ "UsYt":
  2679. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2680. "use strict";
  2681. // EXPORTS
  2682. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ CardBody; });
  2683. // EXTERNAL MODULE: external "react"
  2684. var external_react_ = __webpack_require__("cDcd");
  2685. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  2686. // EXTERNAL MODULE: external "classnames"
  2687. var external_classnames_ = __webpack_require__("K2gz");
  2688. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  2689. // EXTERNAL MODULE: external "@material-ui/core/styles"
  2690. var styles_ = __webpack_require__("9Pu4");
  2691. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/cardBodyStyle.js
  2692. const cardBodyStyle = {
  2693. cardBody: {
  2694. padding: "0.9375rem 1.875rem",
  2695. flex: "1 1 auto"
  2696. }
  2697. };
  2698. /* harmony default export */ var components_cardBodyStyle = (cardBodyStyle);
  2699. // CONCATENATED MODULE: ./components/Card/CardBody.js
  2700. var __jsx = external_react_default.a.createElement;
  2701. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  2702. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  2703. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  2704. // nodejs library that concatenates classes
  2705. // nodejs library to set properties for components
  2706. // @material-ui/core components
  2707. // @material-ui/icons
  2708. // core components
  2709. const useStyles = Object(styles_["makeStyles"])(components_cardBodyStyle);
  2710. function CardBody(props) {
  2711. const classes = useStyles();
  2712. const {
  2713. className,
  2714. children
  2715. } = props,
  2716. rest = _objectWithoutProperties(props, ["className", "children"]);
  2717. const cardBodyClasses = external_classnames_default()({
  2718. [classes.cardBody]: true,
  2719. [className]: className !== undefined
  2720. });
  2721. return __jsx("div", _extends({
  2722. className: cardBodyClasses
  2723. }, rest), children);
  2724. }
  2725. /***/ }),
  2726. /***/ "Vjj2":
  2727. /***/ (function(module, exports) {
  2728. module.exports = require("cookies");
  2729. /***/ }),
  2730. /***/ "Wh1t":
  2731. /***/ (function(module, exports) {
  2732. module.exports = require("@material-ui/core/Button");
  2733. /***/ }),
  2734. /***/ "Y8uC":
  2735. /***/ (function(module, exports) {
  2736. module.exports = require("@material-ui/core/Hidden");
  2737. /***/ }),
  2738. /***/ "YFqc":
  2739. /***/ (function(module, exports, __webpack_require__) {
  2740. module.exports = __webpack_require__("cTJO")
  2741. /***/ }),
  2742. /***/ "YTqd":
  2743. /***/ (function(module, exports, __webpack_require__) {
  2744. "use strict";
  2745. Object.defineProperty(exports, "__esModule", {
  2746. value: true
  2747. }); // this isn't importing the escape-string-regex module
  2748. // to reduce bytes
  2749. function escapeRegex(str) {
  2750. return str.replace(/[|\\{}()[\]^$+*?.-]/g, '\\$&');
  2751. }
  2752. function getRouteRegex(normalizedRoute) {
  2753. // Escape all characters that could be considered RegEx
  2754. const escapedRoute = escapeRegex(normalizedRoute.replace(/\/$/, '') || '/');
  2755. const groups = {};
  2756. let groupIndex = 1;
  2757. const parameterizedRoute = escapedRoute.replace(/\/\\\[([^/]+?)\\\](?=\/|$)/g, (_, $1) => {
  2758. const isCatchAll = /^(\\\.){3}/.test($1);
  2759. groups[$1 // Un-escape key
  2760. .replace(/\\([|\\{}()[\]^$+*?.-])/g, '$1').replace(/^\.{3}/, '') // eslint-disable-next-line no-sequences
  2761. ] = {
  2762. pos: groupIndex++,
  2763. repeat: isCatchAll
  2764. };
  2765. return isCatchAll ? '/(.+?)' : '/([^/]+?)';
  2766. });
  2767. let namedParameterizedRoute; // dead code eliminate for browser since it's only needed
  2768. // while generating routes-manifest
  2769. if (true) {
  2770. namedParameterizedRoute = escapedRoute.replace(/\/\\\[([^/]+?)\\\](?=\/|$)/g, (_, $1) => {
  2771. const isCatchAll = /^(\\\.){3}/.test($1);
  2772. const key = $1 // Un-escape key
  2773. .replace(/\\([|\\{}()[\]^$+*?.-])/g, '$1').replace(/^\.{3}/, '');
  2774. return isCatchAll ? `/(?<${escapeRegex(key)}>.+?)` : `/(?<${escapeRegex(key)}>[^/]+?)`;
  2775. });
  2776. }
  2777. return Object.assign({
  2778. re: new RegExp('^' + parameterizedRoute + '(?:/)?$', 'i'),
  2779. groups
  2780. }, namedParameterizedRoute ? {
  2781. namedRegex: `^${namedParameterizedRoute}(?:/)?$`
  2782. } : {});
  2783. }
  2784. exports.getRouteRegex = getRouteRegex;
  2785. /***/ }),
  2786. /***/ "Z2Lm":
  2787. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2788. "use strict";
  2789. // EXPORTS
  2790. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Parallax; });
  2791. // EXTERNAL MODULE: external "react"
  2792. var external_react_ = __webpack_require__("cDcd");
  2793. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  2794. // EXTERNAL MODULE: external "classnames"
  2795. var external_classnames_ = __webpack_require__("K2gz");
  2796. var external_classnames_default = /*#__PURE__*/__webpack_require__.n(external_classnames_);
  2797. // EXTERNAL MODULE: external "@material-ui/core/styles"
  2798. var styles_ = __webpack_require__("9Pu4");
  2799. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/parallaxStyle.js
  2800. const parallaxStyle = theme => ({
  2801. parallax: {
  2802. height: "90vh",
  2803. maxHeight: "1000px",
  2804. overflow: "hidden",
  2805. position: "relative",
  2806. backgroundPosition: "center top",
  2807. backgroundSize: "cover",
  2808. margin: "0",
  2809. padding: "0",
  2810. border: "0",
  2811. display: "flex",
  2812. alignItems: "center"
  2813. },
  2814. filter: {
  2815. "&:before": {
  2816. background: "#212121"
  2817. },
  2818. "&:after,&:before": {
  2819. position: "absolute",
  2820. zIndex: "1",
  2821. width: "100%",
  2822. height: "100%",
  2823. display: "block",
  2824. left: "0",
  2825. top: "0",
  2826. content: "''"
  2827. }
  2828. },
  2829. small: {
  2830. height: "380px"
  2831. },
  2832. parallaxResponsive: {
  2833. [theme.breakpoints.down("md")]: {
  2834. minHeight: "660px"
  2835. }
  2836. }
  2837. });
  2838. /* harmony default export */ var components_parallaxStyle = (parallaxStyle);
  2839. // CONCATENATED MODULE: ./components/Parallax/Parallax.js
  2840. var __jsx = external_react_default.a.createElement;
  2841. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
  2842. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  2843. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  2844. // nodejs library that concatenates classes
  2845. // nodejs library to set properties for components
  2846. // @material-ui/core components
  2847. // core components
  2848. const useStyles = Object(styles_["makeStyles"])(components_parallaxStyle);
  2849. function Parallax(props) {
  2850. let windowScrollTop; // if (window.innerWidth >= 768) {
  2851. // windowScrollTop = window.pageYOffset / 3;
  2852. // } else {
  2853. // windowScrollTop = 0;
  2854. // }
  2855. const [transform, setTransform] = external_react_default.a.useState("translate3d(0,0px,0)");
  2856. external_react_default.a.useEffect(() => {
  2857. if (window.innerWidth >= 768) {
  2858. window.addEventListener("scroll", resetTransform);
  2859. }
  2860. return function cleanup() {
  2861. if (window.innerWidth >= 768) {
  2862. window.removeEventListener("scroll", resetTransform);
  2863. }
  2864. };
  2865. });
  2866. const resetTransform = () => {
  2867. var windowScrollTop = window.pageYOffset / 3;
  2868. setTransform("translate3d(0," + windowScrollTop + "px,0)");
  2869. };
  2870. const {
  2871. filter,
  2872. className,
  2873. children,
  2874. style,
  2875. image,
  2876. small,
  2877. responsive
  2878. } = props;
  2879. const classes = useStyles();
  2880. const parallaxClasses = external_classnames_default()({
  2881. [classes.parallax]: true,
  2882. [classes.filter]: filter,
  2883. [classes.small]: small,
  2884. [classes.parallaxResponsive]: responsive,
  2885. [className]: className !== undefined
  2886. });
  2887. return __jsx("div", {
  2888. className: parallaxClasses,
  2889. style: _objectSpread({}, style, {
  2890. backgroundImage: "url(" + image + ")",
  2891. transform: transform
  2892. })
  2893. }, children);
  2894. }
  2895. /***/ }),
  2896. /***/ "aIa2":
  2897. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2898. "use strict";
  2899. // EXPORTS
  2900. __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ Quote; });
  2901. // EXTERNAL MODULE: external "react"
  2902. var external_react_ = __webpack_require__("cDcd");
  2903. var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
  2904. // EXTERNAL MODULE: external "@material-ui/core/styles"
  2905. var styles_ = __webpack_require__("9Pu4");
  2906. // EXTERNAL MODULE: ./assets/jss/nextjs-material-kit.js
  2907. var nextjs_material_kit = __webpack_require__("eDSW");
  2908. // CONCATENATED MODULE: ./assets/jss/nextjs-material-kit/components/typographyStyle.js
  2909. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
  2910. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  2911. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  2912. const typographyStyle = {
  2913. defaultFontStyle: _objectSpread({}, nextjs_material_kit["g" /* defaultFont */], {
  2914. fontSize: "14px"
  2915. }),
  2916. defaultHeaderMargins: {
  2917. marginTop: "20px",
  2918. marginBottom: "10px"
  2919. },
  2920. quote: {
  2921. padding: "10px 20px",
  2922. margin: "0 0 20px",
  2923. fontSize: "17.5px",
  2924. borderLeft: "5px solid #eee"
  2925. },
  2926. quoteText: {
  2927. margin: "0 0 10px",
  2928. fontStyle: "italic"
  2929. },
  2930. quoteAuthor: {
  2931. display: "block",
  2932. fontSize: "80%",
  2933. lineHeight: "1.42857143",
  2934. color: "#777"
  2935. },
  2936. mutedText: {
  2937. color: "#777"
  2938. },
  2939. primaryText: {
  2940. color: nextjs_material_kit["p" /* primaryColor */]
  2941. },
  2942. infoText: {
  2943. color: nextjs_material_kit["m" /* infoColor */]
  2944. },
  2945. successText: {
  2946. color: nextjs_material_kit["u" /* successColor */]
  2947. },
  2948. warningText: {
  2949. color: nextjs_material_kit["z" /* warningColor */]
  2950. },
  2951. dangerText: {
  2952. color: nextjs_material_kit["f" /* dangerColor */]
  2953. },
  2954. smallText: {
  2955. fontSize: "65%",
  2956. fontWeight: "400",
  2957. lineHeight: "1",
  2958. color: "#777"
  2959. }
  2960. };
  2961. /* harmony default export */ var components_typographyStyle = (typographyStyle);
  2962. // CONCATENATED MODULE: ./components/Typography/Quote.js
  2963. var __jsx = external_react_default.a.createElement;
  2964. // nodejs library to set properties for components
  2965. // @material-ui/core components
  2966. // core components
  2967. const useStyles = Object(styles_["makeStyles"])(components_typographyStyle);
  2968. function Quote(props) {
  2969. const {
  2970. text,
  2971. author
  2972. } = props;
  2973. const classes = useStyles();
  2974. return __jsx("blockquote", {
  2975. className: classes.defaultFontStyle + " " + classes.quote
  2976. }, __jsx("p", {
  2977. className: classes.quoteText
  2978. }, text), __jsx("small", {
  2979. className: classes.quoteAuthor
  2980. }, author));
  2981. }
  2982. /***/ }),
  2983. /***/ "bhG4":
  2984. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  2985. "use strict";
  2986. /* harmony import */ var _jss_nextjs_material_kit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eDSW");
  2987. const componentsStyle = {
  2988. container: _jss_nextjs_material_kit__WEBPACK_IMPORTED_MODULE_0__[/* container */ "c"],
  2989. brand: {
  2990. color: "#FFFFFF",
  2991. textAlign: "left"
  2992. },
  2993. title: {
  2994. fontSize: "4.2rem",
  2995. fontWeight: "600",
  2996. display: "inline-block",
  2997. position: "relative"
  2998. },
  2999. subtitle: {
  3000. fontSize: "1.313rem",
  3001. maxWidth: "510px",
  3002. margin: "10px 0 0"
  3003. },
  3004. main: {
  3005. background: "#FFFFFF",
  3006. position: "relative",
  3007. zIndex: "3"
  3008. },
  3009. mainRaised: {
  3010. margin: "-60px 30px 0px",
  3011. borderRadius: "6px",
  3012. boxShadow: "0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2)",
  3013. "@media (max-width: 830px)": {
  3014. marginLeft: "10px",
  3015. marginRight: "10px"
  3016. }
  3017. },
  3018. link: {
  3019. textDecoration: "none"
  3020. },
  3021. textCenter: {
  3022. textAlign: "center"
  3023. }
  3024. };
  3025. /* harmony default export */ __webpack_exports__["a"] = (componentsStyle);
  3026. /***/ }),
  3027. /***/ "bx/+":
  3028. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3029. "use strict";
  3030. __webpack_require__.r(__webpack_exports__);
  3031. // Apollo Value Configuration
  3032. const ApolloConfig = {
  3033. graphql_uri: process.env.API_GRAPHQL_URI
  3034. };
  3035. /* harmony default export */ __webpack_exports__["default"] = (ApolloConfig);
  3036. /***/ }),
  3037. /***/ "bzos":
  3038. /***/ (function(module, exports) {
  3039. module.exports = require("url");
  3040. /***/ }),
  3041. /***/ "c25J":
  3042. /***/ (function(module, exports) {
  3043. module.exports = require("@material-ui/core/ListItem");
  3044. /***/ }),
  3045. /***/ "cDcd":
  3046. /***/ (function(module, exports) {
  3047. module.exports = require("react");
  3048. /***/ }),
  3049. /***/ "cTJO":
  3050. /***/ (function(module, exports, __webpack_require__) {
  3051. "use strict";
  3052. var _interopRequireDefault = __webpack_require__("AroE");
  3053. var _interopRequireWildcard = __webpack_require__("7KCV");
  3054. exports.__esModule = true;
  3055. exports.default = void 0;
  3056. var _react = _interopRequireWildcard(__webpack_require__("cDcd"));
  3057. var _url = __webpack_require__("bzos");
  3058. var _utils = __webpack_require__("kYf9");
  3059. var _router = _interopRequireDefault(__webpack_require__("nOHt"));
  3060. var _router2 = __webpack_require__("elyg");
  3061. function isLocal(href) {
  3062. var url = (0, _url.parse)(href, false, true);
  3063. var origin = (0, _url.parse)((0, _utils.getLocationOrigin)(), false, true);
  3064. return !url.host || url.protocol === origin.protocol && url.host === origin.host;
  3065. }
  3066. function memoizedFormatUrl(formatFunc) {
  3067. var lastHref = null;
  3068. var lastAs = null;
  3069. var lastResult = null;
  3070. return (href, as) => {
  3071. if (lastResult && href === lastHref && as === lastAs) {
  3072. return lastResult;
  3073. }
  3074. var result = formatFunc(href, as);
  3075. lastHref = href;
  3076. lastAs = as;
  3077. lastResult = result;
  3078. return result;
  3079. };
  3080. }
  3081. function formatUrl(url) {
  3082. return url && typeof url === 'object' ? (0, _utils.formatWithValidation)(url) : url;
  3083. }
  3084. var observer;
  3085. var listeners = new Map();
  3086. var IntersectionObserver = false ? undefined : null;
  3087. var prefetched = {};
  3088. function getObserver() {
  3089. // Return shared instance of IntersectionObserver if already created
  3090. if (observer) {
  3091. return observer;
  3092. } // Only create shared IntersectionObserver if supported in browser
  3093. if (!IntersectionObserver) {
  3094. return undefined;
  3095. }
  3096. return observer = new IntersectionObserver(entries => {
  3097. entries.forEach(entry => {
  3098. if (!listeners.has(entry.target)) {
  3099. return;
  3100. }
  3101. var cb = listeners.get(entry.target);
  3102. if (entry.isIntersecting || entry.intersectionRatio > 0) {
  3103. observer.unobserve(entry.target);
  3104. listeners.delete(entry.target);
  3105. cb();
  3106. }
  3107. });
  3108. }, {
  3109. rootMargin: '200px'
  3110. });
  3111. }
  3112. var listenToIntersections = (el, cb) => {
  3113. var observer = getObserver();
  3114. if (!observer) {
  3115. return () => {};
  3116. }
  3117. observer.observe(el);
  3118. listeners.set(el, cb);
  3119. return () => {
  3120. try {
  3121. observer.unobserve(el);
  3122. } catch (err) {
  3123. console.error(err);
  3124. }
  3125. listeners.delete(el);
  3126. };
  3127. };
  3128. class Link extends _react.Component {
  3129. constructor(props) {
  3130. super(props);
  3131. this.p = void 0;
  3132. this.cleanUpListeners = () => {};
  3133. this.formatUrls = memoizedFormatUrl((href, asHref) => {
  3134. return {
  3135. href: (0, _router2.addBasePath)(formatUrl(href)),
  3136. as: asHref ? (0, _router2.addBasePath)(formatUrl(asHref)) : asHref
  3137. };
  3138. });
  3139. this.linkClicked = e => {
  3140. var {
  3141. nodeName,
  3142. target
  3143. } = e.currentTarget;
  3144. if (nodeName === 'A' && (target && target !== '_self' || e.metaKey || e.ctrlKey || e.shiftKey || e.nativeEvent && e.nativeEvent.which === 2)) {
  3145. // ignore click for new tab / new window behavior
  3146. return;
  3147. }
  3148. var {
  3149. href,
  3150. as
  3151. } = this.formatUrls(this.props.href, this.props.as);
  3152. if (!isLocal(href)) {
  3153. // ignore click if it's outside our scope (e.g. https://google.com)
  3154. return;
  3155. }
  3156. var {
  3157. pathname
  3158. } = window.location;
  3159. href = (0, _url.resolve)(pathname, href);
  3160. as = as ? (0, _url.resolve)(pathname, as) : href;
  3161. e.preventDefault(); // avoid scroll for urls with anchor refs
  3162. var {
  3163. scroll
  3164. } = this.props;
  3165. if (scroll == null) {
  3166. scroll = as.indexOf('#') < 0;
  3167. } // replace state instead of push if prop is present
  3168. _router.default[this.props.replace ? 'replace' : 'push'](href, as, {
  3169. shallow: this.props.shallow
  3170. }).then(success => {
  3171. if (!success) return;
  3172. if (scroll) {
  3173. window.scrollTo(0, 0);
  3174. document.body.focus();
  3175. }
  3176. });
  3177. };
  3178. if (false) {}
  3179. this.p = props.prefetch !== false;
  3180. }
  3181. componentWillUnmount() {
  3182. this.cleanUpListeners();
  3183. }
  3184. getPaths() {
  3185. var {
  3186. pathname
  3187. } = window.location;
  3188. var {
  3189. href: parsedHref,
  3190. as: parsedAs
  3191. } = this.formatUrls(this.props.href, this.props.as);
  3192. var resolvedHref = (0, _url.resolve)(pathname, parsedHref);
  3193. return [resolvedHref, parsedAs ? (0, _url.resolve)(pathname, parsedAs) : resolvedHref];
  3194. }
  3195. handleRef(ref) {
  3196. if (this.p && IntersectionObserver && ref && ref.tagName) {
  3197. this.cleanUpListeners();
  3198. var isPrefetched = prefetched[this.getPaths().join( // Join on an invalid URI character
  3199. '%')];
  3200. if (!isPrefetched) {
  3201. this.cleanUpListeners = listenToIntersections(ref, () => {
  3202. this.prefetch();
  3203. });
  3204. }
  3205. }
  3206. } // The function is memoized so that no extra lifecycles are needed
  3207. // as per https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html
  3208. prefetch(options) {
  3209. if (!this.p || true) return; // Prefetch the JSON page if asked (only in the client)
  3210. var paths = this.getPaths(); // We need to handle a prefetch error here since we may be
  3211. // loading with priority which can reject but we don't
  3212. // want to force navigation since this is only a prefetch
  3213. _router.default.prefetch(paths[
  3214. /* href */
  3215. 0], paths[
  3216. /* asPath */
  3217. 1], options).catch(err => {
  3218. if (false) {}
  3219. });
  3220. prefetched[paths.join( // Join on an invalid URI character
  3221. '%')] = true;
  3222. }
  3223. render() {
  3224. var {
  3225. children
  3226. } = this.props;
  3227. var {
  3228. href,
  3229. as
  3230. } = this.formatUrls(this.props.href, this.props.as); // Deprecated. Warning shown by propType check. If the children provided is a string (<Link>example</Link>) we wrap it in an <a> tag
  3231. if (typeof children === 'string') {
  3232. children = _react.default.createElement("a", null, children);
  3233. } // This will return the first child, if multiple are provided it will throw an error
  3234. var child = _react.Children.only(children);
  3235. var props = {
  3236. ref: el => {
  3237. this.handleRef(el);
  3238. if (child && typeof child === 'object' && child.ref) {
  3239. if (typeof child.ref === 'function') child.ref(el);else if (typeof child.ref === 'object') {
  3240. child.ref.current = el;
  3241. }
  3242. }
  3243. },
  3244. onMouseEnter: e => {
  3245. if (child.props && typeof child.props.onMouseEnter === 'function') {
  3246. child.props.onMouseEnter(e);
  3247. }
  3248. this.prefetch({
  3249. priority: true
  3250. });
  3251. },
  3252. onClick: e => {
  3253. if (child.props && typeof child.props.onClick === 'function') {
  3254. child.props.onClick(e);
  3255. }
  3256. if (!e.defaultPrevented) {
  3257. this.linkClicked(e);
  3258. }
  3259. }
  3260. }; // If child is an <a> tag and doesn't have a href attribute, or if the 'passHref' property is
  3261. // defined, we specify the current 'href', so that repetition is not needed by the user
  3262. if (this.props.passHref || child.type === 'a' && !('href' in child.props)) {
  3263. props.href = as || href;
  3264. } // Add the ending slash to the paths. So, we can serve the
  3265. // "<page>/index.html" directly.
  3266. if (false) { var rewriteUrlForNextExport; }
  3267. return _react.default.cloneElement(child, props);
  3268. }
  3269. }
  3270. if (false) { var exact, PropTypes, warn; }
  3271. var _default = Link;
  3272. exports.default = _default;
  3273. /***/ }),
  3274. /***/ "dZ6Y":
  3275. /***/ (function(module, exports, __webpack_require__) {
  3276. "use strict";
  3277. /*
  3278. MIT License
  3279. Copyright (c) Jason Miller (https://jasonformat.com/)
  3280. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
  3281. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  3282. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  3283. */
  3284. Object.defineProperty(exports, "__esModule", {
  3285. value: true
  3286. });
  3287. function mitt() {
  3288. const all = Object.create(null);
  3289. return {
  3290. on(type, handler) {
  3291. ;
  3292. (all[type] || (all[type] = [])).push(handler);
  3293. },
  3294. off(type, handler) {
  3295. if (all[type]) {
  3296. // tslint:disable-next-line:no-bitwise
  3297. all[type].splice(all[type].indexOf(handler) >>> 0, 1);
  3298. }
  3299. },
  3300. emit(type, ...evts) {
  3301. // eslint-disable-next-line array-callback-return
  3302. ;
  3303. (all[type] || []).slice().map(handler => {
  3304. handler(...evts);
  3305. });
  3306. }
  3307. };
  3308. }
  3309. exports.default = mitt;
  3310. /***/ }),
  3311. /***/ "eDSW":
  3312. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  3313. "use strict";
  3314. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return hexToRGBAlpha; });
  3315. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return drawerWidth; });
  3316. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return transition; });
  3317. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return container; });
  3318. /* unused harmony export conatinerFluid */
  3319. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return boxShadow; });
  3320. /* unused harmony export card */
  3321. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return defaultFont; });
  3322. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return primaryColor; });
  3323. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return warningColor; });
  3324. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return dangerColor; });
  3325. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return successColor; });
  3326. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return infoColor; });
  3327. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return roseColor; });
  3328. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return grayColor; });
  3329. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return primaryBoxShadow; });
  3330. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return infoBoxShadow; });
  3331. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return successBoxShadow; });
  3332. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return warningBoxShadow; });
  3333. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return dangerBoxShadow; });
  3334. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return roseBoxShadow; });
  3335. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return warningCardHeader; });
  3336. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return successCardHeader; });
  3337. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return dangerCardHeader; });
  3338. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return infoCardHeader; });
  3339. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return primaryCardHeader; });
  3340. /* unused harmony export roseCardHeader */
  3341. /* unused harmony export cardActions */
  3342. /* unused harmony export cardHeader */
  3343. /* unused harmony export defaultBoxShadow */
  3344. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return title; });
  3345. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return cardTitle; });
  3346. /* unused harmony export cardLink */
  3347. /* unused harmony export cardSubtitle */
  3348. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
  3349. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  3350. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  3351. const hexColorToRGB = function (hexColor) {
  3352. let detectShorthand = /^#?([a-f\d])([a-f\d])([a-f\d])$/i; // #000 vs #000000
  3353. hexColor = hexColor.replace(detectShorthand, function (m, r, g, b) {
  3354. return r + r + g + g + b + b;
  3355. });
  3356. const hex_array = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hexColor); // #000000 to #ffffff
  3357. return hex_array ? {
  3358. r: parseInt(hex_array[1], 16),
  3359. // 0-255
  3360. g: parseInt(hex_array[2], 16),
  3361. // 0-255
  3362. b: parseInt(hex_array[3], 16) // 0-255
  3363. } : null;
  3364. };
  3365. const hexToRGBAlpha = function (hexColor, alpha) {
  3366. let rgb = hexColorToRGB(hexColor);
  3367. return `rgba(${rgb.r},${rgb.g},${rgb.b},${alpha})`;
  3368. };
  3369. const drawerWidth = 260;
  3370. const transition = {
  3371. transition: "all 0.33s cubic-bezier(0.685, 0.0473, 0.346, 1)"
  3372. };
  3373. const conatinerFluid = {
  3374. paddingRight: "15px",
  3375. paddingLeft: "15px",
  3376. marginRight: "auto",
  3377. marginLeft: "auto",
  3378. width: "100%"
  3379. };
  3380. const container = _objectSpread({}, conatinerFluid, {
  3381. "@media (min-width: 576px)": {
  3382. maxWidth: "540px"
  3383. },
  3384. "@media (min-width: 768px)": {
  3385. maxWidth: "720px"
  3386. },
  3387. "@media (min-width: 992px)": {
  3388. maxWidth: "960px"
  3389. },
  3390. "@media (min-width: 1200px)": {
  3391. maxWidth: "1140px"
  3392. }
  3393. });
  3394. const boxShadow = {
  3395. boxShadow: "0 10px 30px -12px rgba(0, 0, 0, 0.42), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2)"
  3396. };
  3397. const card = {
  3398. display: "inline-block",
  3399. position: "relative",
  3400. width: "100%",
  3401. margin: "25px 0",
  3402. boxShadow: "0 1px 4px 0 rgba(0, 0, 0, 0.14)",
  3403. borderRadius: "3px",
  3404. color: "rgba(0, 0, 0, 0.87)",
  3405. background: "#fff"
  3406. };
  3407. const defaultFont = {
  3408. fontFamily: '"Roboto", "Helvetica", "Arial", sans-serif',
  3409. fontWeight: "300",
  3410. lineHeight: "1.5em"
  3411. };
  3412. const primaryColor = "#212121";
  3413. const warningColor = "#ff9800";
  3414. const dangerColor = "#f44336";
  3415. const successColor = "#4caf50";
  3416. const infoColor = "#212121";
  3417. const roseColor = "#e91e63";
  3418. const grayColor = "#ffffff";
  3419. const primaryBoxShadow = {
  3420. boxShadow: `0 12px 20px -10px ${hexToRGBAlpha(primaryColor, 0.28)}, 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ${hexToRGBAlpha(primaryColor, 0.2)}`
  3421. };
  3422. const infoBoxShadow = {
  3423. boxShadow: `0 12px 20px -10px ${hexToRGBAlpha(infoColor, 0.28)}, 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ${hexToRGBAlpha(infoColor, 0.2)}`
  3424. };
  3425. const successBoxShadow = {
  3426. boxShadow: `0 12px 20px -10px ${hexToRGBAlpha(successColor, 0.28)}, 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ${hexToRGBAlpha(successColor, 0.2)}`
  3427. };
  3428. const warningBoxShadow = {
  3429. boxShadow: `0 12px 20px -10px ${hexToRGBAlpha(warningColor, 0.28)}, 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ${hexToRGBAlpha(warningColor, 0.2)}`
  3430. };
  3431. const dangerBoxShadow = {
  3432. boxShadow: `0 12px 20px -10px ${hexToRGBAlpha(dangerColor, 0.28)}, 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ${hexToRGBAlpha(dangerColor, 0.2)}`
  3433. };
  3434. const roseBoxShadow = {
  3435. boxShadow: `0 4px 20px 0px ${hexToRGBAlpha("#000", 0.14)}, 0 7px 10px -5px ${hexToRGBAlpha(roseColor, 0.4)}`
  3436. };
  3437. const warningCardHeader = _objectSpread({
  3438. color: "#fff",
  3439. background: "linear-gradient(60deg, #ffa726, #fb8c00)"
  3440. }, warningBoxShadow);
  3441. const successCardHeader = _objectSpread({
  3442. color: "#fff",
  3443. background: "linear-gradient(60deg, #66bb6a, #43a047)"
  3444. }, successBoxShadow);
  3445. const dangerCardHeader = _objectSpread({
  3446. color: "#fff",
  3447. background: "linear-gradient(60deg, #ef5350, #e53935)"
  3448. }, dangerBoxShadow);
  3449. const infoCardHeader = _objectSpread({
  3450. color: "#fff",
  3451. background: "#212121"
  3452. }, infoBoxShadow);
  3453. const primaryCardHeader = _objectSpread({
  3454. color: "#fff",
  3455. background: "linear-gradient(60deg, #ab47bc, #8e24aa)"
  3456. }, primaryBoxShadow);
  3457. const roseCardHeader = _objectSpread({
  3458. color: "#fff",
  3459. background: "linear-gradient(60deg, #ec407a, #d81b60)"
  3460. }, roseBoxShadow);
  3461. const cardActions = _objectSpread({
  3462. margin: "0 20px 10px",
  3463. paddingTop: "10px",
  3464. borderTop: "1px solid #eeeeee",
  3465. height: "auto"
  3466. }, defaultFont);
  3467. const cardHeader = {
  3468. margin: "-30px 15px 0",
  3469. borderRadius: "3px",
  3470. padding: "15px"
  3471. };
  3472. const defaultBoxShadow = {
  3473. border: "0",
  3474. borderRadius: "3px",
  3475. boxShadow: "0 10px 20px -12px rgba(0, 0, 0, 0.42), 0 3px 20px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2)",
  3476. padding: "10px 0",
  3477. transition: "all 150ms ease 0s"
  3478. };
  3479. const title = {
  3480. color: "#ffffff",
  3481. margin: "1.75rem 0 0.875rem",
  3482. textDecoration: "none",
  3483. fontWeight: "700",
  3484. fontFamily: `"Roboto Slab", "Times New Roman", serif`
  3485. };
  3486. const cardTitle = _objectSpread({}, title, {
  3487. marginTop: ".625rem"
  3488. });
  3489. const cardLink = {
  3490. "& + $cardLink": {
  3491. marginLeft: "1.25rem"
  3492. }
  3493. };
  3494. const cardSubtitle = {
  3495. marginBottom: "0",
  3496. marginTop: "-.375rem"
  3497. };
  3498. /***/ }),
  3499. /***/ "elyg":
  3500. /***/ (function(module, exports, __webpack_require__) {
  3501. "use strict";
  3502. var __importDefault = this && this.__importDefault || function (mod) {
  3503. return mod && mod.__esModule ? mod : {
  3504. "default": mod
  3505. };
  3506. };
  3507. Object.defineProperty(exports, "__esModule", {
  3508. value: true
  3509. });
  3510. const url_1 = __webpack_require__("bzos");
  3511. const mitt_1 = __importDefault(__webpack_require__("dZ6Y"));
  3512. const utils_1 = __webpack_require__("g/15");
  3513. const is_dynamic_1 = __webpack_require__("/jkW");
  3514. const route_matcher_1 = __webpack_require__("gguc");
  3515. const route_regex_1 = __webpack_require__("YTqd");
  3516. const basePath = false || '';
  3517. function addBasePath(path) {
  3518. return path.indexOf(basePath) !== 0 ? basePath + path : path;
  3519. }
  3520. exports.addBasePath = addBasePath;
  3521. function delBasePath(path) {
  3522. return path.indexOf(basePath) === 0 ? path.substr(basePath.length) || '/' : path;
  3523. }
  3524. exports.delBasePath = delBasePath;
  3525. function toRoute(path) {
  3526. return path.replace(/\/$/, '') || '/';
  3527. }
  3528. const prepareRoute = path => toRoute(!path || path === '/' ? '/index' : path);
  3529. function fetchNextData(pathname, query, isServerRender, cb) {
  3530. let attempts = isServerRender ? 3 : 1;
  3531. function getResponse() {
  3532. return fetch(utils_1.formatWithValidation({
  3533. pathname: addBasePath( // @ts-ignore __NEXT_DATA__
  3534. `/_next/data/${__NEXT_DATA__.buildId}${delBasePath(pathname)}.json`),
  3535. query
  3536. }), {
  3537. // Cookies are required to be present for Next.js' SSG "Preview Mode".
  3538. // Cookies may also be required for `getServerSideProps`.
  3539. //
  3540. // > `fetch` won’t send cookies, unless you set the credentials init
  3541. // > option.
  3542. // https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
  3543. //
  3544. // > For maximum browser compatibility when it comes to sending &
  3545. // > receiving cookies, always supply the `credentials: 'same-origin'`
  3546. // > option instead of relying on the default.
  3547. // https://github.com/github/fetch#caveats
  3548. credentials: 'same-origin'
  3549. }).then(res => {
  3550. if (!res.ok) {
  3551. if (--attempts > 0 && res.status >= 500) {
  3552. return getResponse();
  3553. }
  3554. throw new Error(`Failed to load static props`);
  3555. }
  3556. return res.json();
  3557. });
  3558. }
  3559. return getResponse().then(data => {
  3560. return cb ? cb(data) : data;
  3561. }).catch(err => {
  3562. // We should only trigger a server-side transition if this was caused
  3563. // on a client-side transition. Otherwise, we'd get into an infinite
  3564. // loop.
  3565. if (!isServerRender) {
  3566. ;
  3567. err.code = 'PAGE_LOAD_ERROR';
  3568. }
  3569. throw err;
  3570. });
  3571. }
  3572. class Router {
  3573. constructor(pathname, query, as, {
  3574. initialProps,
  3575. pageLoader,
  3576. App,
  3577. wrapApp,
  3578. Component,
  3579. err,
  3580. subscription,
  3581. isFallback
  3582. }) {
  3583. // Static Data Cache
  3584. this.sdc = {};
  3585. this.onPopState = e => {
  3586. if (!e.state) {
  3587. // We get state as undefined for two reasons.
  3588. // 1. With older safari (< 8) and older chrome (< 34)
  3589. // 2. When the URL changed with #
  3590. //
  3591. // In the both cases, we don't need to proceed and change the route.
  3592. // (as it's already changed)
  3593. // But we can simply replace the state with the new changes.
  3594. // Actually, for (1) we don't need to nothing. But it's hard to detect that event.
  3595. // So, doing the following for (1) does no harm.
  3596. const {
  3597. pathname,
  3598. query
  3599. } = this;
  3600. this.changeState('replaceState', utils_1.formatWithValidation({
  3601. pathname,
  3602. query
  3603. }), utils_1.getURL());
  3604. return;
  3605. } // Make sure we don't re-render on initial load,
  3606. // can be caused by navigating back from an external site
  3607. if (e.state && this.isSsr && e.state.as === this.asPath && url_1.parse(e.state.url).pathname === this.pathname) {
  3608. return;
  3609. } // If the downstream application returns falsy, return.
  3610. // They will then be responsible for handling the event.
  3611. if (this._bps && !this._bps(e.state)) {
  3612. return;
  3613. }
  3614. const {
  3615. url,
  3616. as,
  3617. options
  3618. } = e.state;
  3619. if (false) {}
  3620. this.replace(url, as, options);
  3621. };
  3622. this._getStaticData = asPath => {
  3623. const pathname = prepareRoute(url_1.parse(asPath).pathname);
  3624. return true && this.sdc[pathname] ? Promise.resolve(this.sdc[pathname]) : fetchNextData(pathname, null, this.isSsr, data => this.sdc[pathname] = data);
  3625. };
  3626. this._getServerData = asPath => {
  3627. let {
  3628. pathname,
  3629. query
  3630. } = url_1.parse(asPath, true);
  3631. pathname = prepareRoute(pathname);
  3632. return fetchNextData(pathname, query, this.isSsr);
  3633. }; // represents the current component key
  3634. this.route = toRoute(pathname); // set up the component cache (by route keys)
  3635. this.components = {}; // We should not keep the cache, if there's an error
  3636. // Otherwise, this cause issues when when going back and
  3637. // come again to the errored page.
  3638. if (pathname !== '/_error') {
  3639. this.components[this.route] = {
  3640. Component,
  3641. props: initialProps,
  3642. err,
  3643. __N_SSG: initialProps && initialProps.__N_SSG,
  3644. __N_SSP: initialProps && initialProps.__N_SSP
  3645. };
  3646. }
  3647. this.components['/_app'] = {
  3648. Component: App
  3649. }; // Backwards compat for Router.router.events
  3650. // TODO: Should be remove the following major version as it was never documented
  3651. this.events = Router.events;
  3652. this.pageLoader = pageLoader;
  3653. this.pathname = pathname;
  3654. this.query = query; // if auto prerendered and dynamic route wait to update asPath
  3655. // until after mount to prevent hydration mismatch
  3656. this.asPath = // @ts-ignore this is temporarily global (attached to window)
  3657. is_dynamic_1.isDynamicRoute(pathname) && __NEXT_DATA__.autoExport ? pathname : as;
  3658. this.basePath = basePath;
  3659. this.sub = subscription;
  3660. this.clc = null;
  3661. this._wrapApp = wrapApp; // make sure to ignore extra popState in safari on navigating
  3662. // back from external site
  3663. this.isSsr = true;
  3664. this.isFallback = isFallback;
  3665. if (false) {}
  3666. } // @deprecated backwards compatibility even though it's a private method.
  3667. static _rewriteUrlForNextExport(url) {
  3668. if (false) {} else {
  3669. return url;
  3670. }
  3671. }
  3672. update(route, mod) {
  3673. const Component = mod.default || mod;
  3674. const data = this.components[route];
  3675. if (!data) {
  3676. throw new Error(`Cannot update unavailable route: ${route}`);
  3677. }
  3678. const newData = Object.assign(Object.assign({}, data), {
  3679. Component,
  3680. __N_SSG: mod.__N_SSG,
  3681. __N_SSP: mod.__N_SSP
  3682. });
  3683. this.components[route] = newData; // pages/_app.js updated
  3684. if (route === '/_app') {
  3685. this.notify(this.components[this.route]);
  3686. return;
  3687. }
  3688. if (route === this.route) {
  3689. this.notify(newData);
  3690. }
  3691. }
  3692. reload() {
  3693. window.location.reload();
  3694. }
  3695. /**
  3696. * Go back in history
  3697. */
  3698. back() {
  3699. window.history.back();
  3700. }
  3701. /**
  3702. * Performs a `pushState` with arguments
  3703. * @param url of the route
  3704. * @param as masks `url` for the browser
  3705. * @param options object you can define `shallow` and other options
  3706. */
  3707. push(url, as = url, options = {}) {
  3708. return this.change('pushState', url, as, options);
  3709. }
  3710. /**
  3711. * Performs a `replaceState` with arguments
  3712. * @param url of the route
  3713. * @param as masks `url` for the browser
  3714. * @param options object you can define `shallow` and other options
  3715. */
  3716. replace(url, as = url, options = {}) {
  3717. return this.change('replaceState', url, as, options);
  3718. }
  3719. change(method, _url, _as, options) {
  3720. return new Promise((resolve, reject) => {
  3721. if (!options._h) {
  3722. this.isSsr = false;
  3723. } // marking route changes as a navigation start entry
  3724. if (utils_1.ST) {
  3725. performance.mark('routeChange');
  3726. } // If url and as provided as an object representation,
  3727. // we'll format them into the string version here.
  3728. let url = typeof _url === 'object' ? utils_1.formatWithValidation(_url) : _url;
  3729. let as = typeof _as === 'object' ? utils_1.formatWithValidation(_as) : _as;
  3730. url = addBasePath(url);
  3731. as = addBasePath(as); // Add the ending slash to the paths. So, we can serve the
  3732. // "<page>/index.html" directly for the SSR page.
  3733. if (false) {}
  3734. this.abortComponentLoad(as); // If the url change is only related to a hash change
  3735. // We should not proceed. We should only change the state.
  3736. // WARNING: `_h` is an internal option for handing Next.js client-side
  3737. // hydration. Your app should _never_ use this property. It may change at
  3738. // any time without notice.
  3739. if (!options._h && this.onlyAHashChange(as)) {
  3740. this.asPath = as;
  3741. Router.events.emit('hashChangeStart', as);
  3742. this.changeState(method, url, as, options);
  3743. this.scrollToHash(as);
  3744. Router.events.emit('hashChangeComplete', as);
  3745. return resolve(true);
  3746. }
  3747. const {
  3748. pathname,
  3749. query,
  3750. protocol
  3751. } = url_1.parse(url, true);
  3752. if (!pathname || protocol) {
  3753. if (false) {}
  3754. return resolve(false);
  3755. } // If asked to change the current URL we should reload the current page
  3756. // (not location.reload() but reload getInitialProps and other Next.js stuffs)
  3757. // We also need to set the method = replaceState always
  3758. // as this should not go into the history (That's how browsers work)
  3759. // We should compare the new asPath to the current asPath, not the url
  3760. if (!this.urlIsNew(as)) {
  3761. method = 'replaceState';
  3762. }
  3763. const route = toRoute(pathname);
  3764. const {
  3765. shallow = false
  3766. } = options;
  3767. if (is_dynamic_1.isDynamicRoute(route)) {
  3768. const {
  3769. pathname: asPathname
  3770. } = url_1.parse(as);
  3771. const routeRegex = route_regex_1.getRouteRegex(route);
  3772. const routeMatch = route_matcher_1.getRouteMatcher(routeRegex)(asPathname);
  3773. if (!routeMatch) {
  3774. const missingParams = Object.keys(routeRegex.groups).filter(param => !query[param]);
  3775. if (missingParams.length > 0) {
  3776. if (false) {}
  3777. return reject(new Error(`The provided \`as\` value (${asPathname}) is incompatible with the \`href\` value (${route}). ` + `Read more: https://err.sh/zeit/next.js/incompatible-href-as`));
  3778. }
  3779. } else {
  3780. // Merge params into `query`, overwriting any specified in search
  3781. Object.assign(query, routeMatch);
  3782. }
  3783. }
  3784. Router.events.emit('routeChangeStart', as); // If shallow is true and the route exists in the router cache we reuse the previous result
  3785. this.getRouteInfo(route, pathname, query, as, shallow).then(routeInfo => {
  3786. const {
  3787. error
  3788. } = routeInfo;
  3789. if (error && error.cancelled) {
  3790. return resolve(false);
  3791. }
  3792. Router.events.emit('beforeHistoryChange', as);
  3793. this.changeState(method, url, as, options);
  3794. if (false) {}
  3795. this.set(route, pathname, query, as, routeInfo);
  3796. if (error) {
  3797. Router.events.emit('routeChangeError', error, as);
  3798. throw error;
  3799. }
  3800. Router.events.emit('routeChangeComplete', as);
  3801. return resolve(true);
  3802. }, reject);
  3803. });
  3804. }
  3805. changeState(method, url, as, options = {}) {
  3806. if (false) {}
  3807. if (method !== 'pushState' || utils_1.getURL() !== as) {
  3808. window.history[method]({
  3809. url,
  3810. as,
  3811. options
  3812. }, // Most browsers currently ignores this parameter, although they may use it in the future.
  3813. // Passing the empty string here should be safe against future changes to the method.
  3814. // https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState
  3815. '', as);
  3816. }
  3817. }
  3818. getRouteInfo(route, pathname, query, as, shallow = false) {
  3819. const cachedRouteInfo = this.components[route]; // If there is a shallow route transition possible
  3820. // If the route is already rendered on the screen.
  3821. if (shallow && cachedRouteInfo && this.route === route) {
  3822. return Promise.resolve(cachedRouteInfo);
  3823. }
  3824. const handleError = (err, loadErrorFail) => {
  3825. return new Promise(resolve => {
  3826. if (err.code === 'PAGE_LOAD_ERROR' || loadErrorFail) {
  3827. // If we can't load the page it could be one of following reasons
  3828. // 1. Page doesn't exists
  3829. // 2. Page does exist in a different zone
  3830. // 3. Internal error while loading the page
  3831. // So, doing a hard reload is the proper way to deal with this.
  3832. window.location.href = as; // Changing the URL doesn't block executing the current code path.
  3833. // So, we need to mark it as a cancelled error and stop the routing logic.
  3834. err.cancelled = true; // @ts-ignore TODO: fix the control flow here
  3835. return resolve({
  3836. error: err
  3837. });
  3838. }
  3839. if (err.cancelled) {
  3840. // @ts-ignore TODO: fix the control flow here
  3841. return resolve({
  3842. error: err
  3843. });
  3844. }
  3845. resolve(this.fetchComponent('/_error').then(res => {
  3846. const {
  3847. page: Component
  3848. } = res;
  3849. const routeInfo = {
  3850. Component,
  3851. err
  3852. };
  3853. return new Promise(resolve => {
  3854. this.getInitialProps(Component, {
  3855. err,
  3856. pathname,
  3857. query
  3858. }).then(props => {
  3859. routeInfo.props = props;
  3860. routeInfo.error = err;
  3861. resolve(routeInfo);
  3862. }, gipErr => {
  3863. console.error('Error in error page `getInitialProps`: ', gipErr);
  3864. routeInfo.error = err;
  3865. routeInfo.props = {};
  3866. resolve(routeInfo);
  3867. });
  3868. });
  3869. }).catch(err => handleError(err, true)));
  3870. });
  3871. };
  3872. return new Promise((resolve, reject) => {
  3873. if (cachedRouteInfo) {
  3874. return resolve(cachedRouteInfo);
  3875. }
  3876. this.fetchComponent(route).then(res => resolve({
  3877. Component: res.page,
  3878. __N_SSG: res.mod.__N_SSG,
  3879. __N_SSP: res.mod.__N_SSP
  3880. }), reject);
  3881. }).then(routeInfo => {
  3882. const {
  3883. Component,
  3884. __N_SSG,
  3885. __N_SSP
  3886. } = routeInfo;
  3887. if (false) {}
  3888. return this._getData(() => __N_SSG ? this._getStaticData(as) : __N_SSP ? this._getServerData(as) : this.getInitialProps(Component, // we provide AppTree later so this needs to be `any`
  3889. {
  3890. pathname,
  3891. query,
  3892. asPath: as
  3893. })).then(props => {
  3894. routeInfo.props = props;
  3895. this.components[route] = routeInfo;
  3896. return routeInfo;
  3897. });
  3898. }).catch(handleError);
  3899. }
  3900. set(route, pathname, query, as, data) {
  3901. this.isFallback = false;
  3902. this.route = route;
  3903. this.pathname = pathname;
  3904. this.query = query;
  3905. this.asPath = as;
  3906. this.notify(data);
  3907. }
  3908. /**
  3909. * Callback to execute before replacing router state
  3910. * @param cb callback to be executed
  3911. */
  3912. beforePopState(cb) {
  3913. this._bps = cb;
  3914. }
  3915. onlyAHashChange(as) {
  3916. if (!this.asPath) return false;
  3917. const [oldUrlNoHash, oldHash] = this.asPath.split('#');
  3918. const [newUrlNoHash, newHash] = as.split('#'); // Makes sure we scroll to the provided hash if the url/hash are the same
  3919. if (newHash && oldUrlNoHash === newUrlNoHash && oldHash === newHash) {
  3920. return true;
  3921. } // If the urls are change, there's more than a hash change
  3922. if (oldUrlNoHash !== newUrlNoHash) {
  3923. return false;
  3924. } // If the hash has changed, then it's a hash only change.
  3925. // This check is necessary to handle both the enter and
  3926. // leave hash === '' cases. The identity case falls through
  3927. // and is treated as a next reload.
  3928. return oldHash !== newHash;
  3929. }
  3930. scrollToHash(as) {
  3931. const [, hash] = as.split('#'); // Scroll to top if the hash is just `#` with no value
  3932. if (hash === '') {
  3933. window.scrollTo(0, 0);
  3934. return;
  3935. } // First we check if the element by id is found
  3936. const idEl = document.getElementById(hash);
  3937. if (idEl) {
  3938. idEl.scrollIntoView();
  3939. return;
  3940. } // If there's no element with the id, we check the `name` property
  3941. // To mirror browsers
  3942. const nameEl = document.getElementsByName(hash)[0];
  3943. if (nameEl) {
  3944. nameEl.scrollIntoView();
  3945. }
  3946. }
  3947. urlIsNew(asPath) {
  3948. return this.asPath !== asPath;
  3949. }
  3950. /**
  3951. * Prefetch page code, you may wait for the data during page rendering.
  3952. * This feature only works in production!
  3953. * @param url the href of prefetched page
  3954. * @param asPath the as path of the prefetched page
  3955. */
  3956. prefetch(url, asPath = url, options = {}) {
  3957. return new Promise((resolve, reject) => {
  3958. const {
  3959. pathname,
  3960. protocol
  3961. } = url_1.parse(url);
  3962. if (!pathname || protocol) {
  3963. if (false) {}
  3964. return;
  3965. } // Prefetch is not supported in development mode because it would trigger on-demand-entries
  3966. if (false) {}
  3967. const route = delBasePath(toRoute(pathname));
  3968. Promise.all([this.pageLoader.prefetchData(url, delBasePath(asPath)), this.pageLoader[options.priority ? 'loadPage' : 'prefetch'](route)]).then(() => resolve(), reject);
  3969. });
  3970. }
  3971. async fetchComponent(route) {
  3972. let cancelled = false;
  3973. const cancel = this.clc = () => {
  3974. cancelled = true;
  3975. };
  3976. route = delBasePath(route);
  3977. const componentResult = await this.pageLoader.loadPage(route);
  3978. if (cancelled) {
  3979. const error = new Error(`Abort fetching component for route: "${route}"`);
  3980. error.cancelled = true;
  3981. throw error;
  3982. }
  3983. if (cancel === this.clc) {
  3984. this.clc = null;
  3985. }
  3986. return componentResult;
  3987. }
  3988. _getData(fn) {
  3989. let cancelled = false;
  3990. const cancel = () => {
  3991. cancelled = true;
  3992. };
  3993. this.clc = cancel;
  3994. return fn().then(data => {
  3995. if (cancel === this.clc) {
  3996. this.clc = null;
  3997. }
  3998. if (cancelled) {
  3999. const err = new Error('Loading initial props cancelled');
  4000. err.cancelled = true;
  4001. throw err;
  4002. }
  4003. return data;
  4004. });
  4005. }
  4006. getInitialProps(Component, ctx) {
  4007. const {
  4008. Component: App
  4009. } = this.components['/_app'];
  4010. const AppTree = this._wrapApp(App);
  4011. ctx.AppTree = AppTree;
  4012. return utils_1.loadGetInitialProps(App, {
  4013. AppTree,
  4014. Component,
  4015. router: this,
  4016. ctx
  4017. });
  4018. }
  4019. abortComponentLoad(as) {
  4020. if (this.clc) {
  4021. const e = new Error('Route Cancelled');
  4022. e.cancelled = true;
  4023. Router.events.emit('routeChangeError', e, as);
  4024. this.clc();
  4025. this.clc = null;
  4026. }
  4027. }
  4028. notify(data) {
  4029. this.sub(data, this.components['/_app'].Component);
  4030. }
  4031. }
  4032. exports.default = Router;
  4033. Router.events = mitt_1.default();
  4034. /***/ }),
  4035. /***/ "g/15":
  4036. /***/ (function(module, exports, __webpack_require__) {
  4037. "use strict";
  4038. Object.defineProperty(exports, "__esModule", {
  4039. value: true
  4040. });
  4041. const url_1 = __webpack_require__("bzos");
  4042. /**
  4043. * Utils
  4044. */
  4045. function execOnce(fn) {
  4046. let used = false;
  4047. let result;
  4048. return (...args) => {
  4049. if (!used) {
  4050. used = true;
  4051. result = fn(...args);
  4052. }
  4053. return result;
  4054. };
  4055. }
  4056. exports.execOnce = execOnce;
  4057. function getLocationOrigin() {
  4058. const {
  4059. protocol,
  4060. hostname,
  4061. port
  4062. } = window.location;
  4063. return `${protocol}//${hostname}${port ? ':' + port : ''}`;
  4064. }
  4065. exports.getLocationOrigin = getLocationOrigin;
  4066. function getURL() {
  4067. const {
  4068. href
  4069. } = window.location;
  4070. const origin = getLocationOrigin();
  4071. return href.substring(origin.length);
  4072. }
  4073. exports.getURL = getURL;
  4074. function getDisplayName(Component) {
  4075. return typeof Component === 'string' ? Component : Component.displayName || Component.name || 'Unknown';
  4076. }
  4077. exports.getDisplayName = getDisplayName;
  4078. function isResSent(res) {
  4079. return res.finished || res.headersSent;
  4080. }
  4081. exports.isResSent = isResSent;
  4082. async function loadGetInitialProps(App, ctx) {
  4083. var _a;
  4084. if (false) {} // when called from _app `ctx` is nested in `ctx`
  4085. const res = ctx.res || ctx.ctx && ctx.ctx.res;
  4086. if (!App.getInitialProps) {
  4087. if (ctx.ctx && ctx.Component) {
  4088. // @ts-ignore pageProps default
  4089. return {
  4090. pageProps: await loadGetInitialProps(ctx.Component, ctx.ctx)
  4091. };
  4092. }
  4093. return {};
  4094. }
  4095. const props = await App.getInitialProps(ctx);
  4096. if (res && isResSent(res)) {
  4097. return props;
  4098. }
  4099. if (!props) {
  4100. const message = `"${getDisplayName(App)}.getInitialProps()" should resolve to an object. But found "${props}" instead.`;
  4101. throw new Error(message);
  4102. }
  4103. if (false) {}
  4104. return props;
  4105. }
  4106. exports.loadGetInitialProps = loadGetInitialProps;
  4107. exports.urlObjectKeys = ['auth', 'hash', 'host', 'hostname', 'href', 'path', 'pathname', 'port', 'protocol', 'query', 'search', 'slashes'];
  4108. function formatWithValidation(url, options) {
  4109. if (false) {}
  4110. return url_1.format(url, options);
  4111. }
  4112. exports.formatWithValidation = formatWithValidation;
  4113. exports.SP = typeof performance !== 'undefined';
  4114. exports.ST = exports.SP && typeof performance.mark === 'function' && typeof performance.measure === 'function';
  4115. /***/ }),
  4116. /***/ "gguc":
  4117. /***/ (function(module, exports, __webpack_require__) {
  4118. "use strict";
  4119. Object.defineProperty(exports, "__esModule", {
  4120. value: true
  4121. });
  4122. function getRouteMatcher(routeRegex) {
  4123. const {
  4124. re,
  4125. groups
  4126. } = routeRegex;
  4127. return pathname => {
  4128. const routeMatch = re.exec(pathname);
  4129. if (!routeMatch) {
  4130. return false;
  4131. }
  4132. const decode = param => {
  4133. try {
  4134. return decodeURIComponent(param);
  4135. } catch (_) {
  4136. const err = new Error('failed to decode param');
  4137. err.code = 'DECODE_FAILED';
  4138. throw err;
  4139. }
  4140. };
  4141. const params = {};
  4142. Object.keys(groups).forEach(slugName => {
  4143. const g = groups[slugName];
  4144. const m = routeMatch[g.pos];
  4145. if (m !== undefined) {
  4146. params[slugName] = ~m.indexOf('/') ? m.split('/').map(entry => decode(entry)) : g.repeat ? [decode(m)] : decode(m);
  4147. }
  4148. });
  4149. return params;
  4150. };
  4151. }
  4152. exports.getRouteMatcher = getRouteMatcher;
  4153. /***/ }),
  4154. /***/ "i4t8":
  4155. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4156. "use strict";
  4157. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GridItem; });
  4158. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  4159. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  4160. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9Pu4");
  4161. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__);
  4162. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("JQ2V");
  4163. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__);
  4164. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  4165. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  4166. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  4167. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  4168. // nodejs library to set properties for components
  4169. // @material-ui/core components
  4170. const styles = {
  4171. grid: {
  4172. position: "relative",
  4173. width: "100%",
  4174. minHeight: "1px",
  4175. paddingRight: "15px",
  4176. paddingLeft: "15px",
  4177. flexBasis: "auto"
  4178. }
  4179. };
  4180. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__["makeStyles"])(styles);
  4181. function GridItem(props) {
  4182. const classes = useStyles();
  4183. const {
  4184. children,
  4185. className
  4186. } = props,
  4187. rest = _objectWithoutProperties(props, ["children", "className"]);
  4188. return __jsx(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default.a, _extends({
  4189. item: true
  4190. }, rest, {
  4191. className: classes.grid + " " + className
  4192. }), children);
  4193. }
  4194. GridItem.defaultProps = {
  4195. className: ""
  4196. };
  4197. /***/ }),
  4198. /***/ "jD8W":
  4199. /***/ (function(module, exports) {
  4200. module.exports = require("@material-ui/core/Popper");
  4201. /***/ }),
  4202. /***/ "kYf9":
  4203. /***/ (function(module, exports) {
  4204. module.exports = require("next/dist/next-server/lib/utils.js");
  4205. /***/ }),
  4206. /***/ "mf1M":
  4207. /***/ (function(module, exports) {
  4208. module.exports = require("@material-ui/core/Grow");
  4209. /***/ }),
  4210. /***/ "mtPR":
  4211. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4212. "use strict";
  4213. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GridContainer; });
  4214. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cDcd");
  4215. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  4216. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("9Pu4");
  4217. /* harmony import */ var _material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__);
  4218. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("JQ2V");
  4219. /* harmony import */ var _material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2__);
  4220. var __jsx = react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement;
  4221. function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  4222. function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
  4223. function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  4224. // nodejs library to set properties for components
  4225. // @material-ui/core components
  4226. const styles = {
  4227. grid: {
  4228. marginRight: "-15px",
  4229. marginLeft: "-15px",
  4230. width: "auto"
  4231. }
  4232. };
  4233. const useStyles = Object(_material_ui_core_styles__WEBPACK_IMPORTED_MODULE_1__["makeStyles"])(styles);
  4234. function GridContainer(props) {
  4235. const classes = useStyles();
  4236. const {
  4237. children,
  4238. className
  4239. } = props,
  4240. rest = _objectWithoutProperties(props, ["children", "className"]);
  4241. return __jsx(_material_ui_core_Grid__WEBPACK_IMPORTED_MODULE_2___default.a, _extends({
  4242. container: true
  4243. }, rest, {
  4244. className: classes.grid + " " + className
  4245. }), children);
  4246. }
  4247. GridContainer.defaultProps = {
  4248. className: ""
  4249. };
  4250. /***/ }),
  4251. /***/ "nOHt":
  4252. /***/ (function(module, exports, __webpack_require__) {
  4253. "use strict";
  4254. var _interopRequireWildcard = __webpack_require__("7KCV");
  4255. var _interopRequireDefault = __webpack_require__("AroE");
  4256. exports.__esModule = true;
  4257. exports.useRouter = useRouter;
  4258. exports.makePublicRouterInstance = makePublicRouterInstance;
  4259. exports.createRouter = exports.withRouter = exports.default = void 0;
  4260. var _react = _interopRequireDefault(__webpack_require__("cDcd"));
  4261. var _router2 = _interopRequireWildcard(__webpack_require__("elyg"));
  4262. exports.Router = _router2.default;
  4263. exports.NextRouter = _router2.NextRouter;
  4264. var _routerContext = __webpack_require__("Osoz");
  4265. var _withRouter = _interopRequireDefault(__webpack_require__("0Bsm"));
  4266. exports.withRouter = _withRouter.default;
  4267. /* global window */
  4268. var singletonRouter = {
  4269. router: null,
  4270. // holds the actual router instance
  4271. readyCallbacks: [],
  4272. ready(cb) {
  4273. if (this.router) return cb();
  4274. if (false) {}
  4275. }
  4276. }; // Create public properties and methods of the router in the singletonRouter
  4277. var urlPropertyFields = ['pathname', 'route', 'query', 'asPath', 'components', 'isFallback', 'basePath'];
  4278. var routerEvents = ['routeChangeStart', 'beforeHistoryChange', 'routeChangeComplete', 'routeChangeError', 'hashChangeStart', 'hashChangeComplete'];
  4279. var coreMethodFields = ['push', 'replace', 'reload', 'back', 'prefetch', 'beforePopState']; // Events is a static property on the router, the router doesn't have to be initialized to use it
  4280. Object.defineProperty(singletonRouter, 'events', {
  4281. get() {
  4282. return _router2.default.events;
  4283. }
  4284. });
  4285. urlPropertyFields.forEach(field => {
  4286. // Here we need to use Object.defineProperty because, we need to return
  4287. // the property assigned to the actual router
  4288. // The value might get changed as we change routes and this is the
  4289. // proper way to access it
  4290. Object.defineProperty(singletonRouter, field, {
  4291. get() {
  4292. var router = getRouter();
  4293. return router[field];
  4294. }
  4295. });
  4296. });
  4297. coreMethodFields.forEach(field => {
  4298. // We don't really know the types here, so we add them later instead
  4299. ;
  4300. singletonRouter[field] = function () {
  4301. var router = getRouter();
  4302. return router[field](...arguments);
  4303. };
  4304. });
  4305. routerEvents.forEach(event => {
  4306. singletonRouter.ready(() => {
  4307. _router2.default.events.on(event, function () {
  4308. var eventField = "on" + event.charAt(0).toUpperCase() + event.substring(1);
  4309. var _singletonRouter = singletonRouter;
  4310. if (_singletonRouter[eventField]) {
  4311. try {
  4312. _singletonRouter[eventField](...arguments);
  4313. } catch (err) {
  4314. // tslint:disable-next-line:no-console
  4315. console.error("Error when running the Router event: " + eventField); // tslint:disable-next-line:no-console
  4316. console.error(err.message + "\n" + err.stack);
  4317. }
  4318. }
  4319. });
  4320. });
  4321. });
  4322. function getRouter() {
  4323. if (!singletonRouter.router) {
  4324. var message = 'No router instance found.\n' + 'You should only use "next/router" inside the client side of your app.\n';
  4325. throw new Error(message);
  4326. }
  4327. return singletonRouter.router;
  4328. } // Export the singletonRouter and this is the public API.
  4329. var _default = singletonRouter; // Reexport the withRoute HOC
  4330. exports.default = _default;
  4331. function useRouter() {
  4332. return _react.default.useContext(_routerContext.RouterContext);
  4333. } // INTERNAL APIS
  4334. // -------------
  4335. // (do not use following exports inside the app)
  4336. // Create a router and assign it as the singleton instance.
  4337. // This is used in client side when we are initilizing the app.
  4338. // This should **not** use inside the server.
  4339. var createRouter = function createRouter() {
  4340. for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
  4341. args[_key] = arguments[_key];
  4342. }
  4343. singletonRouter.router = new _router2.default(...args);
  4344. singletonRouter.readyCallbacks.forEach(cb => cb());
  4345. singletonRouter.readyCallbacks = [];
  4346. return singletonRouter.router;
  4347. }; // This function is used to create the `withRouter` router instance
  4348. exports.createRouter = createRouter;
  4349. function makePublicRouterInstance(router) {
  4350. var _router = router;
  4351. var instance = {};
  4352. for (var property of urlPropertyFields) {
  4353. if (typeof _router[property] === 'object') {
  4354. instance[property] = Object.assign({}, _router[property]); // makes sure query is not stateful
  4355. continue;
  4356. }
  4357. instance[property] = _router[property];
  4358. } // Events is a static property on the router, the router doesn't have to be initialized to use it
  4359. instance.events = _router2.default.events;
  4360. coreMethodFields.forEach(field => {
  4361. instance[field] = function () {
  4362. return _router[field](...arguments);
  4363. };
  4364. });
  4365. return instance;
  4366. }
  4367. /***/ }),
  4368. /***/ "nybW":
  4369. /***/ (function(module, exports) {
  4370. module.exports = require("@material-ui/core/Divider");
  4371. /***/ }),
  4372. /***/ "oLCs":
  4373. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4374. "use strict";
  4375. /* harmony import */ var assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eDSW");
  4376. const footerStyle = {
  4377. block: {
  4378. color: "inherit",
  4379. padding: "0.9375rem",
  4380. fontWeight: "500",
  4381. fontSize: "12px",
  4382. textTransform: "uppercase",
  4383. borderRadius: "3px",
  4384. textDecoration: "none",
  4385. position: "relative",
  4386. display: "block"
  4387. },
  4388. left: {
  4389. float: "left!important",
  4390. display: "block"
  4391. },
  4392. right: {
  4393. padding: "15px 0",
  4394. margin: "0",
  4395. float: "right!important"
  4396. },
  4397. footer: {
  4398. padding: "0.9375rem 0",
  4399. textAlign: "center",
  4400. display: "flex",
  4401. zIndex: "2",
  4402. position: "relative"
  4403. },
  4404. a: {
  4405. color: assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* primaryColor */ "p"],
  4406. textDecoration: "none",
  4407. backgroundColor: "transparent"
  4408. },
  4409. footerWhiteFont: {
  4410. "&,&:hover,&:focus": {
  4411. color: "#FFFFFF"
  4412. }
  4413. },
  4414. container: assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* container */ "c"],
  4415. list: {
  4416. marginBottom: "0",
  4417. padding: "0",
  4418. marginTop: "0"
  4419. },
  4420. inlineBlock: {
  4421. display: "inline-block",
  4422. padding: "0px",
  4423. width: "auto"
  4424. },
  4425. icon: {
  4426. width: "18px",
  4427. height: "18px",
  4428. position: "relative",
  4429. top: "3px"
  4430. }
  4431. };
  4432. /* harmony default export */ __webpack_exports__["a"] = (footerStyle);
  4433. /***/ }),
  4434. /***/ "qt1I":
  4435. /***/ (function(module, exports) {
  4436. module.exports = require("@material-ui/core/Paper");
  4437. /***/ }),
  4438. /***/ "uU2H":
  4439. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  4440. "use strict";
  4441. /* harmony import */ var assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("eDSW");
  4442. /* harmony import */ var assets_jss_nextjs_material_kit_imagesStyles_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("Ilpk");
  4443. function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
  4444. function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
  4445. function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  4446. const profilePageStyle = _objectSpread({
  4447. container: assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* container */ "c"],
  4448. profile: {
  4449. textAlign: "center",
  4450. "& img": {
  4451. maxWidth: "160px",
  4452. width: "100%",
  4453. margin: "0 auto",
  4454. transform: "translate3d(0, -50%, 0)"
  4455. }
  4456. },
  4457. description: {
  4458. margin: "1.071rem auto 0",
  4459. maxWidth: "600px",
  4460. color: "#999",
  4461. textAlign: "center !important"
  4462. },
  4463. name: {
  4464. marginTop: "-80px"
  4465. }
  4466. }, assets_jss_nextjs_material_kit_imagesStyles_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"], {
  4467. main: {
  4468. background: "#FFFFFF",
  4469. position: "relative",
  4470. zIndex: "3"
  4471. },
  4472. mainRaised: {
  4473. margin: "-60px 30px 0px",
  4474. borderRadius: "6px",
  4475. boxShadow: "0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2)"
  4476. },
  4477. title: _objectSpread({}, assets_jss_nextjs_material_kit_js__WEBPACK_IMPORTED_MODULE_0__[/* title */ "v"], {
  4478. display: "inline-block",
  4479. position: "relative",
  4480. marginTop: "30px",
  4481. minHeight: "32px",
  4482. textDecoration: "none"
  4483. }),
  4484. socials: {
  4485. marginTop: "0",
  4486. width: "100%",
  4487. transform: "none",
  4488. left: "0",
  4489. top: "0",
  4490. height: "100%",
  4491. lineHeight: "41px",
  4492. fontSize: "20px",
  4493. color: "#999"
  4494. },
  4495. navWrapper: {
  4496. margin: "20px auto 50px auto",
  4497. textAlign: "center"
  4498. }
  4499. });
  4500. /* harmony default export */ __webpack_exports__["a"] = (profilePageStyle);
  4501. /***/ }),
  4502. /***/ "vFf/":
  4503. /***/ (function(module, exports) {
  4504. module.exports = require("@material-ui/icons/Dashboard");
  4505. /***/ }),
  4506. /***/ "x54t":
  4507. /***/ (function(module, exports) {
  4508. module.exports = require("@material-ui/core/MenuItem");
  4509. /***/ }),
  4510. /***/ "xmQw":
  4511. /***/ (function(module, exports) {
  4512. module.exports = require("@material-ui/core/MenuList");
  4513. /***/ }),
  4514. /***/ "z+8S":
  4515. /***/ (function(module, exports) {
  4516. module.exports = require("@apollo/client");
  4517. /***/ })
  4518. /******/ });