Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

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